@font-face {
  font-family: "Inter Tight";
  src: url("fonts/inter-tight.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* The app's Ember palette (ui/design/Tokens.kt) */
  --night: #0e0b0a;
  --raised: #1a1513;
  --high: #241d1a;
  --line: rgba(255, 255, 255, 0.10);
  --glass: rgba(255, 255, 255, 0.06);
  --paper: #f7f1ec;
  --muted: rgba(247, 241, 236, 0.64);
  --ink: #1b1412;
  --amber: #ffb347;
  --coral: #ff5a36;
  --crimson: #c81e3a;
  --coral-soft: #ff9b7a;
  --green: #3ddc97;
  --ember: linear-gradient(135deg, #ffb347, #ff5a36 55%, #c81e3a);
  --radius: 28px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--paper);
  font: 17px/1.55 "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--coral-soft); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--paper); color: var(--night); padding: 8px 14px; border-radius: 999px; z-index: 10; }

/* Header */
header.top {
  position: sticky; top: 0; z-index: 5;
  background: rgba(14, 11, 10, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
header.top .wrap { display: flex; align-items: center; gap: 22px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--paper); text-decoration: none; font-weight: 650; font-size: 19px; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
nav.sections { display: flex; gap: 20px; margin-left: auto; }
nav.sections a { color: var(--muted); text-decoration: none; font-size: 15px; }
nav.sections a:hover { color: var(--paper); }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  background: #fff; color: var(--ink); font-weight: 650; text-decoration: none; font-size: 15px;
}
.pill:hover { filter: brightness(1.08); }
.pill.ghost { background: rgba(255, 255, 255, 0.10); color: var(--paper); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 40px; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70%; height: 120%;
  background: radial-gradient(closest-side, rgba(255, 90, 54, 0.18), rgba(255, 179, 71, 0.06) 55%, transparent 75%);
  pointer-events: none;
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; position: relative; }
h1 { font-size: clamp(38px, 5.4vw, 62px); line-height: 1.04; letter-spacing: -0.025em; margin: 0 0 18px; font-weight: 700; }
h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 14px; font-weight: 700; }
h3 { font-size: 20px; margin: 0 0 6px; font-weight: 650; }
.lead { font-size: 20px; color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.play {
  display: inline-flex; align-items: center; gap: 12px;
  background: #000; color: #fff; text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 12px; padding: 9px 18px 9px 14px;
}
.play svg { width: 26px; height: 28px; }
.play small { display: block; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.85; }
.play strong { display: block; font-size: 20px; font-weight: 600; line-height: 1.1; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 15px; }
.ticks li::before { content: "✓"; color: var(--amber); font-weight: 700; margin-right: 7px; }
.hero-shot { border-radius: 28px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--line); max-width: min(430px, 100%); justify-self: end; }

/* Sections */
section { padding: 84px 0; scroll-margin-top: 64px; }
section.alt { background: var(--raised); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.intro { max-width: 40em; margin-bottom: 40px; }
.intro p { color: var(--muted); font-size: 19px; margin: 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li {
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
}
.steps li::before {
  counter-increment: step; content: counter(step);
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--ember); color: var(--ink); font-weight: 700; margin-bottom: 14px;
}
.steps p { color: var(--muted); margin: 0; }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature + .feature { margin-top: 96px; }
.feature.flip .feature-text { order: 2; }
.feature-shot { border-radius: 26px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px var(--line); max-width: min(460px, 100%); }
.feature.flip .feature-shot { justify-self: start; }
.feature:not(.flip) .feature-shot { justify-self: end; }
.feature-text p { color: var(--muted); margin: 0 0 16px; }
.list { list-style: none; padding: 0; margin: 0; }
.list li { padding: 10px 0 10px 30px; position: relative; border-top: 1px solid var(--line); color: var(--muted); }
.list li strong { color: var(--paper); font-weight: 600; }
.list li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 9px; height: 9px; border-radius: 50%; background: var(--ember); }

/* The glowing card: privacy */
.glow {
  background: linear-gradient(180deg, rgba(255, 90, 54, 0.14), rgba(255, 179, 71, 0.03) 70%), var(--raised);
  border: 1px solid rgba(255, 155, 122, 0.35); border-radius: 36px; padding: 44px;
  box-shadow: 0 0 90px rgba(255, 90, 54, 0.16);
}
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 32px; margin-top: 28px; }
.grid3 p { color: var(--muted); margin: 0; font-size: 16px; }

/* Plans */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.plan { background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.plan .price { font-size: 15px; color: var(--muted); margin: 0 0 18px; }
.plan .price strong { color: var(--paper); font-size: 30px; font-weight: 700; margin-right: 6px; }

/* FAQ */
.faq { max-width: 780px; }
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 36px 16px 0; font-weight: 600; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 24px; color: var(--coral-soft); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 0 0 16px; }

.cta { text-align: center; }
.cta p { color: var(--muted); font-size: 19px; margin: 0 0 26px; }

footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; }
footer a { color: var(--muted); }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer .legal { flex-basis: 100%; font-size: 12px; opacity: 0.7; }

/* Policy pages */
.doc { max-width: 760px; padding: 56px 22px 80px; margin: 0 auto; }
.doc h1 { font-size: clamp(34px, 4.4vw, 46px); }
.doc h2 { font-size: 24px; margin: 40px 0 10px; }
.doc p, .doc li { color: var(--muted); }
.doc strong { color: var(--paper); }
.doc .meta { color: var(--muted); margin-bottom: 28px; }
.doc .short { background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 26px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-top: 1px solid var(--line); color: var(--muted); }
.doc th { color: var(--paper); font-weight: 600; }
.doc code { font-size: 14px; color: var(--paper); }

@media (max-width: 880px) {
  nav.sections { display: none; }
  header.top .pill { margin-left: auto; }
  .hero { padding-top: 44px; }
  .hero .wrap, .feature { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero-shot, .feature-shot, .feature:not(.flip) .feature-shot, .feature.flip .feature-shot { justify-self: center; }
  .feature.flip .feature-text { order: 0; }
  .steps, .grid3, .plans { grid-template-columns: minmax(0, 1fr); }
  .lead { font-size: 18px; }
  .glow { padding: 28px; }
  section { padding: 64px 0; }
}
