  /* Tokens mirror lib/app_tokens.dart so the site and app stay one brand. */
  :root {
    --bg: #0C1014;
    --bg-deep: #050507;
    --card: #171C23;
    --raised: #2A3240;
    --red: #E34234;
    --red-top: #F0503F;
    --red-bottom: #D5301F;
    --red-faint: #4C1F1E;
    --text: #FCFCFC;
    --text-2: #9AA7B6;
    --text-3: #6B7A8D;
    --rank: #9FACB8;
    --gold: #E4C57C;
    --green: #34C77B;
    --line: rgba(255,255,255,.08);
    --radius: 18px;
    --max: 1160px;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
    overflow-x: hidden;
  }
  a { color: inherit; text-decoration: none; }
  img { max-width: 100%; display: block; }
  .wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

  /* ---------- Nav ---------- */
  .nav {
    position: sticky; top: 0; z-index: 20;
    background: rgba(12,16,20,.78);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid var(--line);
  }
  .nav .wrap { display: flex; align-items: center; gap: 32px; height: 64px; }
  .brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
  .brand img { height: 24px; width: auto; }
  .nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 14px; color: var(--text-2); font-weight: 500; }
  .nav-links a:hover { color: var(--text); }
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 44px; padding: 0 20px; border-radius: 999px;
    font-weight: 700; font-size: 15px; white-space: nowrap;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  }
  .btn-primary {
    background: linear-gradient(180deg, var(--red-top), var(--red-bottom));
    box-shadow: 0 8px 24px -8px rgba(213,48,31,.65), inset 0 1px 0 rgba(255,255,255,.18);
  }
  .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -8px rgba(213,48,31,.8), inset 0 1px 0 rgba(255,255,255,.18); }
  .nav .btn { height: 38px; padding: 0 16px; font-size: 14px; }

  /* ---------- Store buttons ---------- */
  .stores { display: flex; gap: 12px; flex-wrap: wrap; }
  .store {
    display: inline-flex; align-items: center; gap: 12px;
    height: 56px; padding: 0 22px 0 18px; border-radius: 14px;
    background: var(--text); color: #0b0d10;
    transition: transform .15s ease;
  }
  .store:hover { transform: translateY(-2px); }
  .store svg { width: 24px; height: 24px; flex: none; }
  .store small { display: block; font-size: 11px; font-weight: 500; line-height: 1.1; opacity: .7; }
  .store b { display: block; font-size: 18px; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
  .store.dark { background: var(--card); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }

  /* ---------- Hero ---------- */
  .hero { position: relative; padding: 88px 0 72px; overflow: hidden; }
  .hero::before {
    content: ""; position: absolute; inset: -20% -10% auto auto; width: 820px; height: 820px;
    background: radial-gradient(closest-side, rgba(227,66,52,.28), transparent 70%);
    pointer-events: none;
  }
  .hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; position: relative; }
  .eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 600; color: var(--text-2);
    padding: 6px 12px 6px 8px; border-radius: 999px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line);
  }
  .eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(52,199,123,.18); }
  h1 {
    font-size: clamp(42px, 6.4vw, 76px); line-height: 1.02; letter-spacing: -.045em;
    font-weight: 900; margin: 22px 0 20px;
  }
  h1 .red { color: var(--red); }
  .lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--text-2); max-width: 520px; margin: 0 0 34px; }
  .hero-note { margin-top: 18px; font-size: 13px; color: var(--text-3); }

  /* ---------- Phone mock (built in HTML, mirrors current app UI) ---------- */
  .phone-stage { position: relative; display: flex; justify-content: center; }
  .phone {
    width: 320px; aspect-ratio: 9 / 19.2; border-radius: 48px; padding: 12px;
    background: linear-gradient(160deg, #2a2f37, #101317);
    box-shadow: 0 40px 80px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.08), inset 0 0 0 1px rgba(255,255,255,.05);
    position: relative; z-index: 2;
  }
  .screen {
    height: 100%; border-radius: 38px; overflow: hidden; background: var(--bg-deep);
    display: flex; flex-direction: column; position: relative;
  }
  .notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #000; z-index: 3; }
  .scr-head { padding: 48px 18px 10px; }
  .scr-title { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
  .tabs { display: flex; gap: 6px; margin-top: 12px; }
  .tab { font-size: 11px; font-weight: 600; padding: 6px 11px; border-radius: 999px; color: var(--text-3); background: rgba(255,255,255,.04); }
  .tab.on { background: var(--text); color: #0b0d10; }
  .rows { padding: 4px 12px; display: flex; flex-direction: column; gap: 6px; }
  .row {
    display: grid; grid-template-columns: 18px 38px 1fr auto; gap: 10px; align-items: center;
    padding: 8px; border-radius: 12px; background: #131519;
  }
  .row .n { font-size: 13px; font-weight: 700; color: var(--rank); text-align: center; }
  .poster { width: 38px; height: 54px; border-radius: 6px; }
  .row .t { font-size: 12.5px; font-weight: 700; line-height: 1.2; }
  .row .m { font-size: 10.5px; color: var(--text-3); margin-top: 2px; }
  .score {
    width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
    font-size: 12px; font-weight: 800;
    background: conic-gradient(var(--red) calc(var(--p) * 1%), rgba(255,255,255,.08) 0);
    position: relative;
  }
  .score::before { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: #131519; }
  .score span { position: relative; }
  .scr-nav {
    margin-top: auto; height: 62px; display: flex; justify-content: space-around; align-items: center;
    background: linear-gradient(180deg, #1F252C, #161A1F); border-top: 1px solid var(--line);
  }
  .scr-nav i { width: 20px; height: 20px; border-radius: 6px; background: rgba(255,255,255,.18); }
  .scr-nav i.on { background: var(--red); }

  /* Floating cards around the phone */
  .float {
    position: absolute; z-index: 3; background: rgba(23,28,35,.92); backdrop-filter: blur(10px);
    border-radius: 16px; padding: 12px 14px; box-shadow: 0 20px 40px -12px rgba(0,0,0,.6), inset 0 0 0 1px var(--line);
    font-size: 13px;
  }
  .float.toast { left: -64px; top: 47%; display: flex; gap: 10px; align-items: center; }
  .float.toast .big { font-size: 22px; font-weight: 900; color: var(--gold); letter-spacing: -.03em; }
  .float.toast small { display: block; color: var(--text-3); font-size: 11px; }
  .float.match { right: -6px; bottom: 18%; width: 190px; }
  .float.match .pct { font-size: 26px; font-weight: 900; color: var(--green); letter-spacing: -.03em; }
  .avatars { display: flex; margin-bottom: 6px; }
  .avatars i { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #171C23; margin-left: -8px; }
  .avatars i:first-child { margin-left: 0; }

  /* ---------- Stat strip ---------- */
  .stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.015); }
  .stats .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
  .stat { padding: 30px 24px; text-align: center; }
  .stat + .stat { border-left: 1px solid var(--line); }
  .stat b { display: block; font-size: clamp(28px, 3.4vw, 40px); font-weight: 900; letter-spacing: -.04em; }
  .stat span { color: var(--text-3); font-size: 14px; font-weight: 500; }

  /* ---------- Sections ---------- */
  section { padding: 110px 0; }
  .kicker { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
  h2 { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.05; letter-spacing: -.035em; font-weight: 900; margin: 12px 0 16px; }
  .sub { color: var(--text-2); font-size: 18px; max-width: 560px; margin: 0; }
  .center { text-align: center; }
  .center .sub { margin: 0 auto; }

  .features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
  .feat {
    background: linear-gradient(180deg, #151a21, #11151a); border-radius: var(--radius); padding: 28px;
    box-shadow: inset 0 0 0 1px var(--line); position: relative; overflow: hidden;
  }
  .feat .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--red-faint); color: var(--red); margin-bottom: 20px; }
  .feat .ico svg { width: 22px; height: 22px; }
  .feat h3 { font-size: 20px; letter-spacing: -.02em; margin: 0 0 8px; }
  .feat p { color: var(--text-2); margin: 0; font-size: 15px; }
  .feat .demo { margin-top: 22px; }

  /* rating slider demo */
  .slider { height: 8px; border-radius: 999px; background: rgba(255,255,255,.08); position: relative; }
  .slider .fill { position: absolute; inset: 0 auto 0 0; width: 87%; border-radius: inherit; background: linear-gradient(90deg, var(--red-bottom), var(--red-top)); }
  .slider .knob { position: absolute; left: 87%; top: 50%; width: 22px; height: 22px; border-radius: 50%; background: var(--text); transform: translate(-50%, -50%); box-shadow: 0 2px 10px rgba(0,0,0,.5); }
  .slider-labels { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12px; color: var(--text-3); }
  .slider-labels b { color: var(--text); font-size: 14px; }

  /* mini list demo */
  .mini { display: flex; flex-direction: column; gap: 6px; }
  .mini div { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.03); }
  .mini em { font-style: normal; color: var(--rank); width: 14px; }
  .mini span { margin-left: auto; color: var(--text-3); font-weight: 500; font-size: 12px; }

  /* ---------- Split sections ---------- */
  .split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
  .split.flip > :first-child { order: 2; }
  .checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
  .checks li { display: flex; gap: 12px; color: var(--text-2); font-size: 16px; }
  .checks li::before {
    content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
    background: var(--red-faint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%23E34234' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat;
  }

  /* For You card */
  .rec {
    border-radius: 26px; overflow: hidden; max-width: 440px; margin: 0 auto; width: 100%;
    background: #101317; box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -30px rgba(0,0,0,.8);
  }
  .rec-art { height: 220px; position: relative; background:
      radial-gradient(120% 90% at 20% 10%, #3a5a7a 0%, transparent 60%),
      radial-gradient(90% 80% at 90% 80%, #7a2a24 0%, transparent 60%),
      linear-gradient(135deg, #1b2533, #0c1014); }
  .rec-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, #101317); }
  .rec-art .tag { position: absolute; left: 20px; top: 20px; z-index: 1; font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 999px; background: rgba(0,0,0,.45); backdrop-filter: blur(6px); }
  .rec-body { padding: 4px 24px 24px; }
  .rec-body h4 { font-size: 24px; letter-spacing: -.03em; margin: 0 0 4px; }
  .rec-body .why { color: var(--text-2); font-size: 14px; margin: 10px 0 18px; }
  .friends-line { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-2); padding-top: 16px; border-top: 1px solid var(--line); }
  .chips { display: flex; gap: 6px; flex-wrap: wrap; }
  .chip { font-size: 12px; font-weight: 600; color: var(--text-2); padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.05); }

  /* ---------- CTA ---------- */
  .cta {
    position: relative; overflow: hidden; border-radius: 32px; padding: 80px 40px; text-align: center;
    background: radial-gradient(80% 120% at 50% 0%, rgba(227,66,52,.35), transparent 60%), linear-gradient(180deg, #171C23, #0f1216);
    box-shadow: inset 0 0 0 1px var(--line);
  }
  .cta img.mark { height: 56px; width: auto; margin: 0 auto 26px; }
  .cta .stores { justify-content: center; margin-top: 34px; }

  /* ---------- Footer ---------- */
  footer { padding: 56px 0 48px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 14px; }
  footer .wrap { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
  footer nav { display: flex; gap: 22px; flex-wrap: wrap; margin-left: auto; }
  footer a:hover { color: var(--text); }
  .social { display: flex; gap: 10px; }
  .social a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.05); }
  .social svg { width: 16px; height: 16px; fill: currentColor; }

  /* ---------- Reveal ---------- */
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
  .reveal.in { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
  }

  /* ---------- Responsive ---------- */
  @media (max-width: 960px) {
    .hero { padding: 56px 0 40px; }
    .hero .wrap, .split { grid-template-columns: 1fr; gap: 56px; }
    .split.flip > :first-child { order: 0; }
    .hero-copy { text-align: center; }
    .hero-copy .lede { margin-left: auto; margin-right: auto; }
    .hero-copy .stores { justify-content: center; }
    .features { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .nav .btn { margin-left: auto; }
    section { padding: 80px 0; }
  }
  @media (max-width: 560px) {
    .wrap { padding: 0 16px; }
    .phone { width: 280px; }
    .float.toast { left: -4px; }
    .float.match { right: -4px; width: 170px; }
    .stats .wrap { grid-template-columns: 1fr; }
    .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
    .stat { padding: 22px 16px; }
    .store { flex: 1 1 100%; justify-content: center; }
    .cta { padding: 56px 20px; border-radius: 24px; }
    footer nav { margin-left: 0; }
  }

  /* ---------- Document pages (privacy, help) ---------- */
  .doc { padding: 72px 0 96px; }
  .doc .wrap { max-width: 760px; }
  .doc h1 { font-size: clamp(36px, 5vw, 52px); margin: 10px 0 8px; }
  .doc .meta { color: var(--text-3); font-size: 14px; margin: 0 0 40px; }
  .doc h2 { font-size: 22px; letter-spacing: -.02em; margin: 44px 0 12px; scroll-margin-top: 84px; }
  .doc h3 { font-size: 17px; margin: 28px 0 8px; }
  .doc p, .doc li { color: var(--text-2); font-size: 16px; line-height: 1.7; }
  .doc ul { padding-left: 22px; margin: 0 0 16px; }
  .doc li { margin: 6px 0; }
  .doc li strong { color: var(--text); }
  .doc a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
  .doc a.btn { color: var(--text); text-decoration: none; }
  .toc { background: var(--card); border-radius: var(--radius); padding: 20px 24px; box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 8px; }
  .toc b { display: block; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 10px; }
  .toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }
  .toc li { font-size: 14px; margin: 4px 0; break-inside: avoid; }
  .toc a { color: var(--text-2); text-decoration: none; }
  .toc a:hover { color: var(--text); }
  .cards { display: grid; gap: 14px; margin: 8px 0 8px; }
  .card { background: var(--card); border-radius: var(--radius); padding: 24px; box-shadow: inset 0 0 0 1px var(--line); }
  .card h2 { margin-top: 0; }
  .card p:last-child { margin-bottom: 0; }
  .steps { counter-reset: s; list-style: none; padding: 0 !important; }
  .steps li { counter-increment: s; position: relative; padding-left: 36px; }
  .steps li::before { content: counter(s); position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: var(--red); background: var(--red-faint); }
  details { border-top: 1px solid var(--line); padding: 16px 0; }
  details:last-of-type { border-bottom: 1px solid var(--line); }
  summary { cursor: pointer; font-weight: 700; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
  summary::-webkit-details-marker { display: none; }
  summary::after { content: "+"; color: var(--text-3); font-weight: 400; font-size: 22px; line-height: 1; }
  details[open] summary::after { content: "–"; }
  details p { margin: 10px 0 0; }
  @media (max-width: 560px) {
    .doc { padding: 48px 0 72px; }
    .toc ol { columns: 1; }
    .card { padding: 20px; }
  }
