  :root {
    --bg: #0c0d10;
    --surface: #14161c;
    --surface-light: #1e222b;
    --border: #2a2f3a;
    --text: #f2f3f5;
    --text-secondary: #aeb4c0;
    --text-muted: #8c94a6;
    --accent: #06b6d4;
  --brand-dot: #00c2f6;   /* the cyan of the dot in the app's header wordmark */
    --accent-light: #22d3ee;
    --amber: #ffb020;
    --success: #3ddc97;
    --pr: #ffc93a;

    --font-display: 'Space Mono', monospace;
    --font-body: 'Plus Jakarta Sans', -apple-system, system-ui, sans-serif;
    --font-stat: 'Bebas Neue', 'Space Mono', monospace;

    --radius: 16px;
    --maxw: 1120px;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  /* Ambient background — very subtle, not a glow overload */
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
      radial-gradient(900px 500px at 80% -10%, rgba(6,182,212,0.08), transparent 60%),
      radial-gradient(700px 400px at 0% 10%, rgba(255,176,32,0.05), transparent 55%);
    pointer-events: none;
  }

  a { color: inherit; text-decoration: none; }

  .container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
  }

  .eyebrow {
    font-family: var(--font-display);
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
  }

  h1, h2, h3 { line-height: 1.1; }

  .section-title {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--amber);
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 14px;
  }
  .section-sub {
    color: var(--text-secondary);
    font-size: 18px;
    max-width: 640px;
  }

  /* ---------- NAV ---------- */
  header.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
    border-bottom: 1px solid transparent;
  }
  header.nav.scrolled {
    background: rgba(12,13,16,0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
  }
  .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
  }
  .nav-badges { display: flex; align-items: center; gap: 10px; }
  .nav-badge img { height: 32px; display: block; opacity: 0.88; transition: opacity .2s ease, transform .15s ease; }
  /* Google Play PNG ships with built-in transparent padding (41/250 per side) — scale + trim to match */
  .nav-badge img.gplay { height: 48px; margin: -8px; }
  .nav-badge:hover img { opacity: 1; transform: translateY(-1px); }

  .wordmark {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    color: var(--amber);
    letter-spacing: 1px;
    display: inline-flex;
    align-items: baseline;
  }
  /* Matches the app header: a circle 0.25em across, sitting on the text baseline. */
  .wordmark .brand-dot {
    width: 0.25em;
    height: 0.25em;
    margin-left: 0.1em;
    border-radius: 50%;
    background: var(--brand-dot);
  }
  .nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: #04222a;
    font-weight: 700;
    font-size: 15px;
    padding: 11px 18px;
    border-radius: 999px;
    min-height: 44px;
    transition: background .2s ease, transform .15s ease;
  }
  .nav-cta:hover { background: var(--accent-light); transform: translateY(-1px); }

  /* ---------- HERO ---------- */
  .hero {
    padding: 96px 0 40px;
  }
  .hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
  }
  .hero h1 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--amber);
    font-size: clamp(40px, 6.4vw, 68px);
    letter-spacing: -1px;
    /* sparing glow #1 */
    text-shadow: 0 0 40px rgba(255,176,32,0.18);
  }
  .hero h1 .accent { color: var(--accent); text-shadow: 0 0 40px rgba(6,182,212,0.22); }
  .hero p.lead {
    margin-top: 18px;
    font-size: 20px;
    line-height: 1.65;
    color: var(--text-secondary);
    max-width: 560px;
  }
  .hero-cta-row {
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
  }
  .badge-link {
    display: inline-block;
    border-radius: 12px;
    transition: transform .15s ease, filter .2s ease;
    /* sparing glow #2 — primary CTA only */
    filter: drop-shadow(0 0 22px rgba(6,182,212,0.30));
  }
  .badge-link:hover { transform: translateY(-2px); filter: drop-shadow(0 0 28px rgba(6,182,212,0.45)); }
  /*
     Both badges are sized from one variable so they never wrap onto two lines, however
     narrow the screen. The Google PNG ships with its own transparent padding, so it needs
     1.482x the Apple badge's height and a negative margin to crop that padding back off —
     keeping those two as ratios of --badge-h preserves the tuned desktop look (56 / 83 / -13)
     while letting both shrink together on a phone. At 320px the pair takes ~250px of the
     ~272px available inside the container padding.
  */
  .badge-link img { height: var(--badge-h); display: block; }
  .badge-link img.gplay {
    height: calc(var(--badge-h) * 1.482);
    margin: calc(var(--badge-h) * -0.232);
  }
  .store-badges {
    --badge-h: clamp(36px, 12vw, 56px);
    display: inline-flex;
    align-items: center;
    gap: 14px;
    flex-wrap: nowrap;
  }

  .hero-trial {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 28px;
    background: rgba(61,220,151,0.10);
    border: 1px solid rgba(61,220,151,0.30);
    border-radius: 999px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 700;
    color: var(--success);
  }
  .hero-trial > span { text-align: center; }
  .hero-trial .nowrap { white-space: nowrap; }


  /* Phone image (already contains device frame) */
  .phone-img {
    justify-self: center;
    display: block;
    width: 300px;
    max-width: 100%;
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.55)) drop-shadow(0 0 60px rgba(6,182,212,0.13));
  }
  .row .media .phone-img {
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.45));
  }

  /* ---------- TRUST STRIP ---------- */
  .strip {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(20,22,28,0.5);
    padding: 22px 0;
  }
  .strip-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
  }
  .chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--surface-light);
    border: 1px solid var(--border);
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
  }
  .chip svg { width: 16px; height: 16px; }

  /* ---------- SECTIONS ---------- */
  section { padding: 88px 0; }
  .section-head { text-align: center; max-width: 740px; margin: 0 auto 56px; }
  .section-head .section-sub { margin: 0 auto; }

  /* Feature grid */
  .features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: transform .2s ease, border-color .2s ease;
  }
  .card:hover { transform: translateY(-4px); border-color: rgba(6,182,212,0.35); }
  .card .ico {
    width: 46px; height: 46px;
    border-radius: 12px;
    display: grid; place-items: center;
    background: rgba(6,182,212,0.12);
    margin-bottom: 18px;
    font-size: 22px;
  }
  .card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
  .card p { color: var(--text-secondary); font-size: 15px; }
  .tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
  }
  .tag.free { color: var(--success); background: rgba(61,220,151,0.13); }
  .tag.pro  { color: var(--amber);   background: rgba(255,176,32,0.13); }
  .card .tag { position: absolute; top: 20px; right: 20px; }

  /* Deep-dive rows */
  .deepdive { display: grid; gap: 110px; }
  .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
  }
  .row.reverse .copy { order: 2; }
  .row.reverse .media { order: 1; }
  .row .copy .badges { display: flex; gap: 8px; margin-bottom: 14px; }
  .row .copy h2 { font-size: clamp(26px, 3.4vw, 34px); margin-bottom: 16px; font-weight: 800; }
  .row .copy p { color: var(--text-secondary); font-size: 17px; }
  .row .copy ul { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
  .row .copy li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-secondary); font-size: 16px; }
  .row .copy li svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--success); }
  .row .media { display: flex; justify-content: center; }

  /* Trust block */
  .trust-block {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    border-top: 1px solid var(--border);
    padding-top: 48px;
  }
  .trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
  }
  .trust-item svg { flex: none; }
  @media (max-width: 700px) {
    .trust-block { grid-template-columns: 1fr 1fr; }
  }

  /* Free vs Pro comparison */
  .plans {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
  }
  .plan {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 34px;
  }
  .plan.pro {
    border-color: rgba(255,176,32,0.45);
    background:
      radial-gradient(420px 200px at 50% -10%, rgba(255,176,32,0.08), transparent 70%),
      var(--surface);
  }
  .plan .plan-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
  .plan h3 { font-family: var(--font-display); font-size: 24px; font-weight: 700; }
  .plan.free h3 { color: var(--success); }
  .plan.pro h3 { color: var(--amber); }
  .plan .price { font-size: 14px; font-weight: 700; color: var(--text-muted); }
  .plan .price-note { display: block; font-size: 12px; font-weight: 500; color: var(--text-muted); opacity: 0.8; margin-top: 2px; text-align: right; }
  .trial-badge {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    background: rgba(255,176,32,0.10);
    border: 1px solid rgba(255,176,32,0.30);
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--amber);
    margin-bottom: 18px;
    line-height: 1.5;
  }
  .trial-badge svg { flex: none; margin-top: 1px; }
  .plan > p.tagline { color: var(--text-secondary); font-size: 15px; margin-bottom: 22px; }
  .plan ul { list-style: none; display: grid; gap: 12px; }
  .plan li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text-secondary); }
  .plan li svg { flex: none; width: 19px; height: 19px; margin-top: 2px; }
  .plan.free li svg { color: var(--success); }
  .plan.pro li svg { color: var(--amber); }

  /* Gallery */
  .gallery {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 8px 4px 24px;
    scroll-snap-type: x mandatory;
  }
  .gallery .shot {
    flex: 0 0 auto;
    width: 240px;
    scroll-snap-align: center;
  }
  .gallery .shot img {
    width: 100%; display: block;
    border-radius: 0;
  }
  .gallery::-webkit-scrollbar { height: 8px; }
  .gallery::-webkit-scrollbar-thumb { background: var(--border); border-radius: 999px; }
  .shot-caption {
    margin-top: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.4;
  }

  /* Testimonials */
  #testimonials[hidden] { display: none !important; }
  .t-rail {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 8px 4px 24px;
    scroll-snap-type: x mandatory;
  }
  .t-card {
    flex: 0 0 auto;
    width: min(340px, 82vw);
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
  }
  .t-stars { color: var(--pr); letter-spacing: 3px; font-size: 15px; margin-bottom: 12px; }
  .t-title { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
  .t-body {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .t-meta {
    margin-top: auto;
    padding-top: 16px;
    font-family: var(--font-display);
    font-size: 13px;
    color: var(--text-muted);
  }
  .t-rail::-webkit-scrollbar { height: 8px; }
  .t-rail::-webkit-scrollbar-thumb { background: var(--border); border-radius: 999px; }
  .t-source { text-align: center; font-size: 13px; color: var(--text-muted); }
  .t-source a { color: var(--text-secondary); }
  /* Position dots are a mobile affordance; on wider screens several cards are visible at once. */
  .t-dots { display: none; }

  @media (max-width: 700px) {
    /* Break out of the container's 24px gutter, which otherwise leaves the next card exactly
       off-screen — the rail then looks like a single static card. */
    .t-rail {
      margin-left: -24px;
      margin-right: -24px;
      padding-left: 24px;
      padding-right: 24px;
      scroll-padding-left: 24px;
      padding-bottom: 16px;
    }
    .t-card {
      width: 78vw;
      scroll-snap-align: start;
    }
    /* The dots say where you are, so the scrollbar is just noise here. */
    .t-rail { scrollbar-width: none; }
    .t-rail::-webkit-scrollbar { display: none; }
    .t-dots {
      display: flex;
      justify-content: center;
      gap: 8px;
    }
    .t-source { margin-top: 16px; }
    .t-dots span {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--border);
      transition: background .2s ease, transform .2s ease;
    }
    .t-dots span.on {
      background: var(--accent);
      transform: scale(1.2);
    }
  }

  /* Privacy band */
  .privacy {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 56px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
  }
  .privacy h2 { font-size: clamp(26px, 3.4vw, 34px); font-weight: 800; margin-bottom: 16px; }
  .privacy p { color: var(--text-secondary); font-size: 17px; }
  .privacy .pgrid { display: grid; gap: 14px; }
  .privacy .pitem {
    display: flex; gap: 12px; align-items: center;
    background: var(--surface-light);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 16px;
    font-weight: 600; font-size: 15px;
  }
  .privacy .pitem svg { color: var(--accent); width: 20px; height: 20px; flex: none; }

  /* Final CTA */
  .final {
    text-align: center;
    background:
      radial-gradient(600px 300px at 50% 0%, rgba(6,182,212,0.10), transparent 70%),
      var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 100px 32px;
  }
  .final h2 {
    font-family: var(--font-display);
    color: var(--amber);
    font-size: clamp(30px, 4.4vw, 46px);
    font-weight: 700;
    margin-bottom: 48px;
  }
  .final .store-badges { display: flex; justify-content: center; }
  .final .fineprint { margin-top: 36px; color: var(--text-muted); font-size: 13px; }

  /* Footer */
  footer {
    border-top: 1px solid var(--border);
    padding: 40px 0;
    margin-top: 40px;
  }
  .foot-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    color: var(--text-muted);
    font-size: 14px;
  }
  .foot-inner a:hover { color: var(--accent); }
  .foot-badge {
    margin-top: 20px;
    display: flex;
    justify-content: center;
  }
  .foot-badge img { display: block; max-width: 100%; height: auto; }

  /* Reveal on scroll */
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.in { opacity: 1; transform: none; }

  /* ---------- ADAPTIVE ENGINE + VIZ ---------- */
  #engine .section-head { margin-bottom: 64px; }

  .viz-stack { width: 100%; max-width: 440px; }
  .viz {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    /* sparing glow on viz cards */
    box-shadow: 0 0 40px rgba(6,182,212,0.05);
  }
  .viz + .viz { margin-top: 18px; }
  .viz-label {
    font-family: var(--font-display);
    font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  }
  .viz-label span { letter-spacing: 0.5px; text-transform: none; font-size: 11px; }
  .viz-cap { margin-top: 16px; font-size: 12.5px; color: var(--text-muted); line-height: 1.5; }

  /* Progression decision cards */
  .lift {
    display: flex; align-items: center; gap: 12px;
    background: var(--surface-light);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 14px;
  }
  .lift + .lift { margin-top: 10px; }
  .lift-main { flex: 1; min-width: 0; }
  .lift-name { font-size: 14px; font-weight: 700; color: var(--text); }
  .lift-name span { color: var(--text-muted); font-weight: 600; font-size: 12px; }
  .lift-note { font-size: 12px; color: var(--text-secondary); margin-top: 3px; }
  .reptrack { margin-top: 9px; height: 5px; border-radius: 999px; background: var(--border); position: relative; overflow: hidden; }
  .reptrack > i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; }
  .decision {
    flex: none; font-family: var(--font-display); font-weight: 700; font-size: 13px;
    padding: 7px 11px; border-radius: 9px; white-space: nowrap;
  }
  .decision.up   { color: var(--success); background: rgba(61,220,151,0.13); }
  .decision.hold { color: var(--text-secondary); background: rgba(255,255,255,0.05); }
  .decision.down { color: var(--amber); background: rgba(255,176,32,0.13); }

  /* Mesocycle volume bars */
  .meso { display: flex; align-items: flex-end; gap: 9px; height: 120px; }
  .meso .wk { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; justify-content: flex-end; }
  .meso .bar {
    width: 100%; border-radius: 6px 6px 0 0;
    background: linear-gradient(180deg, var(--accent-light), var(--accent));
    box-shadow: 0 0 16px rgba(6,182,212,0.22);
  }
  .meso .wk.deload .bar {
    background: linear-gradient(180deg, var(--amber), #d98e12);
    box-shadow: 0 0 16px rgba(255,176,32,0.28);
  }
  .meso .lbl { font-size: 10px; color: var(--text-muted); font-family: var(--font-display); }

  /* Deload gauge */
  .gauge { position: relative; height: 14px; border-radius: 999px; background: var(--surface-light); border: 1px solid var(--border); overflow: hidden; }
  .gauge > i {
    position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px;
    background: linear-gradient(90deg, var(--success), var(--amber));
    box-shadow: 0 0 14px rgba(255,176,32,0.28);
  }
  .gauge-ticks { position: relative; height: 16px; margin-top: 6px; }
  .gauge-ticks span { position: absolute; transform: translateX(-50%); font-size: 10px; color: var(--text-muted); font-family: var(--font-display); white-space: nowrap; }
  .seg-legend { display: flex; flex-wrap: wrap; gap: 7px 14px; margin-top: 16px; }
  .seg-legend span { font-size: 11.5px; color: var(--text-secondary); display: inline-flex; align-items: center; gap: 6px; }
  .seg-legend i { width: 8px; height: 8px; border-radius: 2px; flex: none; }

  /* Smart rest card */
  .rest-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
  .rest-num { font-family: var(--font-stat); font-size: 56px; line-height: 0.9; color: var(--accent-light); text-shadow: 0 0 24px rgba(34,211,238,0.25); }
  .rest-num small { font-family: var(--font-body); font-size: 18px; color: var(--accent-light); font-weight: 600; }
  .rest-class { text-align: right; font-size: 13px; font-weight: 700; color: var(--text-secondary); line-height: 1.4; }
  .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
  .rchip { font-size: 11.5px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--surface-light); border: 1px solid var(--border); color: var(--text-secondary); }
  .rchip.up { color: var(--amber); border-color: rgba(255,176,32,0.30); background: rgba(255,176,32,0.08); }
  .rchip.on { color: var(--success); border-color: rgba(61,220,151,0.30); background: rgba(61,220,151,0.08); }
  .rchip.off { opacity: 0.5; text-decoration: line-through; }

  /* Volume target bands */
  .vbar { margin-top: 13px; }
  .vbar:first-of-type { margin-top: 0; }
  .vbar-head { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 6px; }
  .vbar-head b { color: var(--text); font-weight: 700; }
  .vbar-head span { color: var(--text-muted); }
  .vtrack { position: relative; height: 10px; border-radius: 999px; background: var(--surface-light); border: 1px solid var(--border); }
  .vband { position: absolute; top: 0; bottom: 0; background: rgba(6,182,212,0.16); border-left: 1px solid rgba(6,182,212,0.45); border-right: 1px solid rgba(6,182,212,0.45); }
  .vmark { position: absolute; top: -3px; bottom: -3px; width: 3px; border-radius: 2px; background: var(--success); box-shadow: 0 0 10px rgba(61,220,151,0.5); }
  .vmark.under { background: var(--amber); box-shadow: 0 0 10px rgba(255,176,32,0.5); }

  /* Goal cards (general level) */
  .goals-head { text-align: center; max-width: 680px; margin: 96px auto 40px; }
  .goals-head h3 { font-family: var(--font-display); font-weight: 700; color: var(--amber); font-size: clamp(22px, 3vw, 30px); margin-bottom: 14px; }
  .goals-head p { color: var(--text-secondary); font-size: 17px; }

  /* Science / research grounding */
  .science-row { margin-top: 110px; }
  .science-acc {
    margin-top: 40px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
  }
  .science-acc summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    font-family: var(--font-display);
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent-light);
  }
  .science-acc summary::-webkit-details-marker { display: none; }
  .science-acc summary:hover { color: var(--accent); }
  .science-acc .acc-chev {
    flex: none; width: 18px; height: 18px;
    transition: transform 0.25s ease;
    color: var(--text-muted);
  }
  .science-acc[open] .acc-chev { transform: rotate(180deg); }
  .science-acc-body { padding: 4px 24px 24px; border-top: 1px solid var(--border); }
  .science-acc-body .acc-lead {
    color: var(--text); font-weight: 600; font-size: 15px; margin: 18px 0 14px;
  }
  .ref-list {
    list-style: none; display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 48px;
  }
  .ref-list li {
    color: var(--text-secondary); font-size: 14.5px; line-height: 1.6;
    padding-left: 16px; position: relative;
  }
  .ref-list li::before {
    content: ""; position: absolute; left: 0; top: 9px;
    width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  }
  .ref-list li b { color: var(--text); font-weight: 600; }
  .ref-list li i { font-style: italic; color: var(--text-muted); }
  .ref-disc {
    margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border);
    color: var(--text-muted); font-size: 12.5px; line-height: 1.5;
  }
  .science-viz { width: 100%; max-width: 440px; }
  .science-svg { width: 100%; height: auto; display: block; }
  /* Single-column references on narrow screens — placed after the base rule so source order wins */
  @media (max-width: 700px) {
    .ref-list { grid-template-columns: 1fr; gap: 16px; }
    .science-acc summary { padding: 14px 16px; }
    .science-acc-body { padding: 4px 16px 20px; }
  }

  .goals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .goal {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: transform .2s ease, border-color .2s ease;
  }
  .goal:hover { transform: translateY(-4px); border-color: rgba(6,182,212,0.35); }
  .goal .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; }
  .goal h4 { font-size: 19px; font-weight: 800; margin-bottom: 10px; }
  .goal p { color: var(--text-secondary); font-size: 15px; }
  /* per-goal accent (palette only) */
  .goal.s .ico { background: rgba(255,176,32,0.12); }
  .goal.s h4 { color: var(--amber); }
  .goal.g .ico { background: rgba(6,182,212,0.12); }
  .goal.g h4 { color: var(--accent-light); }
  .goal.h .ico { background: rgba(61,220,151,0.13); }
  .goal.h h4 { color: var(--success); }

  /* Founder / trainer */
  .founder {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 44px;
    align-items: center;
  }
  .founder-photo { width: 280px; }
  .founder-photo img {
    width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top;
    border-radius: 14px; display: block;
    border: 1px solid var(--border);
    box-shadow: 0 0 50px rgba(6,182,212,0.08);
  }
  .founder-copy blockquote {
    font-size: clamp(19px, 2.4vw, 25px);
    line-height: 1.45; font-weight: 600; color: var(--text);
    margin: 14px 0 22px;
  }
  .founder-name { font-family: var(--font-display); font-weight: 700; color: var(--amber); font-size: 18px; }
  .founder-name span { display: block; font-family: var(--font-body); font-weight: 600; color: var(--text-muted); font-size: 14px; margin-top: 4px; }

  /* ---------- RESPONSIVE ---------- */
  @media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .hero p.lead { margin-left: auto; margin-right: auto; }
    .hero-cta-row { justify-content: center; }
    .features { grid-template-columns: repeat(2, 1fr); }
    .goals { grid-template-columns: 1fr; }
    .goals-head { margin-top: 64px; }
    .row, .privacy, .plans { grid-template-columns: 1fr; gap: 32px; }
    .row.reverse .copy, .row.reverse .media { order: initial; }
    .privacy { padding: 36px; }
    .deepdive { gap: 72px; }
  }
  @media (max-width: 560px) {
    section { padding: 56px 0; }
    .features { grid-template-columns: 1fr; }
    .hero { padding: 64px 0 24px; }
    .final { padding: 64px 24px; }
    .final h2 { margin-bottom: 32px; }
    .final .fineprint { margin-top: 24px; }
    .phone-img { width: 100%; }
    .privacy { padding: 28px; }
    .plan { padding: 24px; }
  }
  @media (max-width: 480px) {
    .nav-badge img { height: 26px; }
    .nav-badge img.gplay { height: 39px; margin: -6px; }
  }
  @media (max-width: 760px) {
    .founder { grid-template-columns: 1fr; gap: 28px; padding: 28px; text-align: center; }
    .founder-photo { width: 200px; margin: 0 auto; }
  }

  @media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
  }

  :focus-visible { outline: 2px solid var(--accent-light); outline-offset: 3px; border-radius: 6px; }

/* Shared multipage navigation */
header.nav { background: var(--bg); }
header.nav.scrolled { border-bottom-color: transparent; }
.nav-inner { gap: 20px; }
.wordmark, .nav-badges { flex-shrink: 0; }
.site-navigation {
  background: transparent;
  padding-top: 16px;
}
.bottom-navigation {
  padding-top: 0;
  margin-bottom: 40px;
}
#top.home-page { scroll-margin-top: 84px; }
.site-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.site-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) / 2);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  color: var(--accent-light);
  background: var(--surface-light);
  transition: color .15s ease;
}
.site-links a:hover {
  color: var(--amber);
}
.site-links a[aria-current="page"] {
  color: var(--amber);
  background: var(--surface-light);
  border-color: var(--amber);
}
.page-shell { min-height: 60vh; padding-top: 72px; padding-bottom: 72px; }
.skip-link {
  position: fixed; top: 8px; left: 16px; z-index: 100;
  transform: translateY(-150%); padding: 12px 16px;
  background: var(--surface); color: var(--text);
}
.skip-link:focus { transform: translateY(0); }
#top { scroll-margin-top: 162px; }
@media (max-width: 600px) {
  .site-links a { padding: 10px 8px; }
  .page-shell { padding-top: 48px; }
  #top { scroll-margin-top: 228px; }
}
@media (max-width: 380px) {
  .nav-inner { padding-left: 16px; padding-right: 16px; gap: 8px; }
  .nav-inner .wordmark { font-size: 20px; }
  .nav-badges { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-links a { transition: none; }
}
