/* VICTR landing v2 — design system from landingv2/stitch_export/DESIGN.md
   Light is primary. Dark follows the team dark palette and switches on
   system preference (prefers-color-scheme). Sharp 0px corners, flat tonal
   layers, hairline dividers, no shadows. */

/* ---------- tokens ---------- */
:root {
  /* light (primary) — GREIGE canvas (team-agreed). A warm-neutral paper, low
     enough in chroma that it never casts green/pink on any monitor. */
  --bg:           #E9E8E6;   /* greige paper */
  --panel:        #DEDDDA;   /* level 1: panels */
  --card:         #F4F3F1;   /* level 2: cards / brightest */
  --ink:          #0B0B0D;   /* primary text */
  --muted:        #45403A;   /* secondary text — darkened for contrast (over aurora) */
  --muted-2:      #615A50;   /* tertiary / captions — darkened for legibility */
  --hairline:     #D2D1CE;   /* 1px dividers */
  --band-amt:     9%;        /* section-band lift strength (light) */
  --radius:       6px;       /* CONTROLS — buttons, likert/choice cards, fields (matches app) */
  --radius-card:  10px;      /* display CARDS — price card, check items (matches app) */
  --accent:       #1D4ED8;   /* calm blue (light theme) — team chose blue for light */
  /* Accent for TEXT/icons. Same colour in light; lifted in dark, where the
     brand red measures 2.12:1 on the page background and fails AA. */
  --accent-ink:   #1D4ED8;
  /* PPCS severity ramp. Semantic, deliberately NOT the brand accent. */
  --sev-low:      #8C857A;
  --sev-mod:      #C0463A;
  --sev-high:     #A52121;
  /* Danger/progress signal pair. Matched on perceptual contrast so neither
     shouts over the other: Lc 70.6 vs 70.8 on the light ground. */
  --risk:         #A52121;   /* 6.04:1, Lc 70.6 */
  --gain:         #166534;   /* 5.82:1, Lc 70.8 */
  --accent-bright:#2563EB;   /* hover */
  --accent-deep:  #1E3A8A;
  --on-accent:    #F7F3E8;   /* text on accent */
  --chip-bg:      #E0DBCB;
  --chip-ink:     #5A554D;
  --field-focus:  #0B0B0D;

  /* pricing pie slices — light theme is BLUE-anchored (the light brand accent
     is blue, not red), so the pie follows it: a blue → navy ramp + warm neutrals.
     A red ramp here read as "dark-theme colors" dropped onto the blue light theme.
     VAT stays a muted warm grey (it's tax, not spend); donation keeps a small
     gold accent so the 1% sliver is still legible. */
  --pie-marketing:#2563EB; --pie-team:#1E3A8A; --pie-vat:#A8A39A;
  --pie-psych:#5E9BD1;     --pie-tech:#B7C9E8; --pie-donation:#C9A86A;

  /* effects — light primary: RED-ANCHORED, mirroring the dark theme.
     Same blood-red glow as dark (just the bg/text inverted to light), so it can
     NEVER go khaki/green (that came from the amber hue) and stays controlled on
     any monitor's gamut. Kept low-opacity & deep so the haze reads as red heat,
     not pink. The only chroma on the page is the one brand red. */
  --aurora-opacity: 0.24;             /* strong glow (team-agreed) */
  /* Colour of every ambient wash on the page (.aurora, .hero::before). Light
     keeps the accent: the "reads like an adult site" feedback was about dark
     mode, where an accent-coloured wash is the whole problem. See the dark
     block for the reasoning. --aurora-1/2/3 lived here and were never read by
     any rule; this replaces them. */
  --wash: var(--accent);
  --glass:   91%;   /* panels / price card surface opacity */
  --glass-2: 87%;   /* gut-check items */

  /* Nebula Sans is the app's UI face; the landing was still on Inter, which
     made the site and the product read as two different things. */
  --font-display: "Nebula Sans", ui-sans-serif, system-ui, sans-serif;
  /* Young Serif, matching the app (b3ska picked it 2026-08-31). Fraunces stays
     loaded for the one real italic cut the hero uses — Young Serif has no
     italic, and shearing this slab at 76px looks broken. */
  --font-serif:   "Young Serif", Georgia, "Times New Roman", serif;

  --maxw: 1200px;
  --gutter: 24px;
  --margin: 64px;

  --s-xs: 4px;  --s-sm: 12px; --s-md: 24px;
  --s-lg: 48px; --s-xl: 80px;
}
/* Young Serif sets OLD-STYLE figures by default: "17.5%" renders with the 1 and
   7 at different heights and the 5 dropping below the baseline, which reads as
   broken sizing rather than as a style. Fraunces defaulted to lining, so nothing
   here ever had to ask. Inherited from the root so every serif numeral on every
   page is covered — the sans already sets lining figures, so this changes only
   the serif. Any rule that sets font-variant-numeric itself must repeat
   `lining-nums`, since the property replaces rather than merges. */
:root { font-variant-numeric: lining-nums; }


/* dark tokens, shared by the system default and the manual override */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg:           #0B0B0D;   /* warm dark, not black */
    --panel:        #15161A;   /* surface */
    --card:         #15161A;
    /* Deliberately not the brightest bone available. At #F1ECE4 body text sits
       at APCA Lc -95.6, and spending every last point of contrast maximises
       halation — the bloom astigmatic eyes get from bright text on near-black,
       worst at night, which is when this product gets used. Lc -90.5 is still
       well clear of the readable threshold. */
    --ink:          #E9E4DC;   /* 15.54:1, Lc -90.5 */
    /* Ramp runs ink -90.5 > muted -75 > muted-2 -60. Was #A5A095 at Lc -50.8,
       which left secondary text DIMMER than the tertiary token below it once
       that was lifted off the floor. */
    --muted:        #D1CAC3;   /* 12.12:1, Lc -74.9 */
    /* Was #8C857A: 5.39:1 passes WCAG AA, but APCA puts it at Lc -37, and WCAG
       is known to overstate contrast on dark grounds. It carries 11-13px
       captions, so it was compliant on paper and genuinely hard to read. */
    --muted-2:      #B7B1AA;   /* 9.25:1, Lc -60.4 */
    --hairline:     #1F1E1B;
    --accent:       #D97757;   /* Clay, the app's dark accent (b3ska 2026-09-28: was blood red #8B1A1A) */
    --accent-bright:#E5977C;
    --accent-ink:   #E5977C;
    --accent-deep:  #B85C3E;
    /* Severity reds read fine on light paper but collapse on near-black:
       sev-high measured 2.56:1 / Lc -17.3 — essentially invisible — while
       carrying a 44px band name and a 12px label. Lifted so the result screen
       is legible. Independent of whatever hue dark mode ends up with. */
    --sev-low:      #B7B1AA;   /* 9.25:1, Lc -60.4 */
    --risk:         #F08A8A;   /* 8.15:1, Lc -54.6, chroma .125 */
    --gain:         #7FC79D;   /* 9.89:1, Lc -63.8, chroma .095 — under the red, so it stays calm */
    --sev-mod:      #E8A0A0;   /* 9.33:1, Lc -60.9 */
    --sev-high:     #F08A8A;   /* 8.15:1, Lc -54.6 */
    --on-accent:    #1A1210;   /* dark ink on coral; white on it is ~3:1 */
    --chip-bg:      #1F1E1B;
    /* 12-13px labels on --chip-bg: Lc -49 was well under the small-text floor. */
    --chip-ink:     #D1CAC3;   /* 10.28:1 on #1F1E1B, Lc -73.3 */
    --field-focus:  #F1ECE4;
    --band-amt:     4%;          /* dark: keep the section band near-black, not grey */
    --pie-marketing:#D97757; --pie-team:#C0463A; --pie-vat:#8C857A;
    --pie-psych:#D98A5A;     --pie-tech:#8A4A33; --pie-donation:#D9C2A8;
    /* dark: warm neutral glow, more translucent glass */
    --aurora-opacity: 0.62;
    /* NOT var(--accent). A brand-red wash over 60% of a near-black viewport is
       what made dark mode read as an adult site: chroma integrates over area,
       so the same pigment that is disciplined on a 48px button is ambient
       threat across the page. Warm near-neutral instead — it renders at about
       C 0.007 where the red rendered at C 0.078, so the atmosphere survives and
       the colour does not. Red stays on buttons, marks and illustration. */
    --wash: #3A322A;
    --glass:   70%;
    --glass-2: 60%;
  }
}
:root[data-theme="dark"] {
  --bg:           #0B0B0D;
  --panel:        #15161A;
  --card:         #15161A;
  --ink:          #E9E4DC;   /* 15.54:1, Lc -90.5 — see prefers-dark block */
  --muted:        #D1CAC3;   /* 12.12:1, Lc -74.9 — see prefers-dark block */
  --muted-2:      #B7B1AA;   /*  9.25:1, Lc -60.4 — see prefers-dark block */
  --hairline:     #1F1E1B;
  --accent:       #D97757;   /* Clay, the app's dark accent (b3ska 2026-09-28: was blood red #8B1A1A) */
  --accent-bright:#E5977C;
  --accent-ink:   #E5977C;
  --accent-deep:  #B85C3E;
  --sev-low:      #B7B1AA;   /* see prefers-dark block */
  --risk:         #F08A8A;   /* see prefers-dark block */
  --gain:         #7FC79D;
  --sev-mod:      #E8A0A0;
  --sev-high:     #F08A8A;
  --on-accent:    #1A1210;   /* dark ink on coral; white on it is ~3:1 */
  --chip-bg:      #1F1E1B;
  --chip-ink:     #D1CAC3;   /* 10.28:1 on #1F1E1B, Lc -73.3 */
  --field-focus:  #F1ECE4;
  --band-amt:     4%;          /* dark: keep the section band near-black, not grey */
  --pie-marketing:#D97757; --pie-team:#C0463A; --pie-vat:#8C857A;
  --pie-psych:#D98A5A;     --pie-tech:#8A4A33; --pie-donation:#D9C2A8;
  --aurora-opacity: 0.62;
  --wash: #3A322A;   /* see the prefers-dark block above for why this is not --accent */
  --glass:   70%;
  --glass-2: 60%;
}
/* :root[data-theme="light"] falls through to the light defaults above */

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
body {
  position: relative;            /* anchors the full-height .aurora flow layer */
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--accent); color: var(--on-accent); }

/* ---------- layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--margin); }
.section { padding: var(--s-xl) 0; }
/* panel tint is painted by a feathered ::before (see EFFECTS) so sections melt
   into one another — no hard color seam, no divider line. */
.eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--font-serif); letter-spacing: -0.02em; line-height: 1.15; }
/* Young Serif has no italic cut. Left to default, the hero's <em>and</em> gets
   a synthetic oblique — the browser shearing a slab this heavy, at 76px, where
   it is the most looked-at word on the site. The emphasis is already carried by
   the line break, so the roman is the honest answer. */
h1 em, h2 em, h3 em { font-style: normal; }
.display { font-size: clamp(40px, 7vw, 76px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.04; }
.headline { font-size: clamp(28px, 4.4vw, 46px); font-weight: 600; letter-spacing: -0.02em; }
.subhead  { font-size: clamp(20px, 2.6vw, 30px); font-weight: 500; letter-spacing: -0.01em; }
.lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.6; color: var(--muted); max-width: 68ch; font-weight: 400; }
.body { font-size: 17px; line-height: 1.65; color: var(--muted); }
.cap  { font-family: var(--font-display); font-size: 11px; letter-spacing: 0.06em; color: var(--muted-2); }
/* Fraunces carries all display-scale headings; body/lead/labels stay sans/mono */
.display, .headline, .subhead, .team .big, .waitlist-title,
.result .band-name, .screen .qtext { font-family: var(--font-serif); }

/* ---------- buttons ---------- */
.btn {
  /* justify-content matters once a button is stretched wider than its label,
     which the age-gate grid does (1fr 1fr). Without it the text sits against
     the left padding instead of in the middle. */
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 500; font-size: 16px;
  letter-spacing: -0.01em; padding: 15px 28px; border-radius: var(--radius, 6px);
  transition: background .18s ease, color .18s ease, border-color .18s ease;
  /* buttons rendered as <a> (parents/blog pages) otherwise pick up the UA underline;
     on the homepage they are <button>, which is why this went unnoticed */
  text-decoration: none;
  /* Same reason, second symptom: <button> defaults to line-height:normal (~1.15)
     while <a> inherits body's 1.6, so identical padding produced 50px on index
     and 55.6px on the subpages. Pin it so both render the same height. */
  line-height: 1.25;
}
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-bright); }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn--lg { padding: 18px 34px; font-size: 17px; }
.btn--block { width: 100%; justify-content: center; }
.btn:disabled { opacity: .4; cursor: not-allowed; }
/* base row for button groups — without this, .cta-rows outside .hero/.result
   (e.g. the intake age gate) lost their flex layout, so the buttons collapsed
   against each other with no gap. .hero/.result keep their own overrides. */
.cta-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.micro { font-family: var(--font-display); font-size: 16px; letter-spacing: 0.02em; color: var(--muted-2); }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--margin);
  /* TRANSPARENT over the hero (no bar at the top), then fades to a near-solid
     frosted bar once scrolled (.is-solid, toggled by JS). Near-solid so text
     scrolling underneath can't ghost through it. No hard divider line — a soft
     shadow does the separation. */
  background: transparent;
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.topbar.is-solid {
  /* fully opaque once scrolled — nothing ghosts through it */
  background: var(--bg);
  box-shadow: 0 6px 24px -18px color-mix(in srgb, var(--ink) 60%, transparent);
}
.wordmark { font-family: var(--font-serif); font-weight: 600; font-size: 32px; line-height: 1.25; letter-spacing: 0.02em; text-decoration: none; }
.wordmark .nr { color: inherit; }
.topbar nav { display: flex; align-items: center; gap: 28px; }
/* :not(.btn) matters. On index the CTA is a <button> so it escapes this rule,
   but on about/blog/parents it's an <a class="btn btn--primary"> — and
   `.topbar nav a` (0,1,2) outranks `.btn--primary` (0,1,0), so the CTA was
   inheriting muted link colour at 15px instead of its own styling. */
.topbar nav a:not(.btn) { font-size: 15px; color: var(--muted); text-decoration: none; transition: color .15s; }
.topbar nav a:not(.btn):hover { color: var(--ink); }
/* Deliberately NOT styling [aria-current] on desktop. Only about/blog/parents
   carry it (index has no page-level current item), so highlighting it made the
   subpage headers look different from the homepage — the exact inconsistency
   this was meant to remove. The mobile panel keeps its marker at :244. */
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: none; border-radius: var(--radius, 6px); color: var(--ink); background: transparent; transition: background .15s, color .15s; }
.theme-toggle:hover { color: var(--accent-ink); background: transparent; }
.theme-toggle svg { display: block; }

/* ---------- language switch (built by i18n.js) ---------- */
.lang-toggle {
  display: inline-flex; align-items: center; gap: 7px;
  height: 38px; padding: 0 10px;
  border: 1px solid var(--hairline); border-radius: var(--radius, 6px);
  color: var(--ink); background: transparent;
  font: inherit; font-size: 13px; font-weight: 600; letter-spacing: .02em;
  cursor: pointer; transition: color .15s, border-color .15s;
}
.lang-toggle:hover { color: var(--accent-ink); border-color: var(--accent-ink); }
.lang-toggle svg { display: block; border-radius: 2px; }

/* ---------- mobile nav (built by nav.js) ----------
   Hidden entirely on desktop, where the real links are visible in the bar. */
.nav-toggle {
  display: none;
  align-items: center; justify-content: center;
  width: 38px; height: 38px; border: none; border-radius: var(--radius, 6px);
  color: var(--ink); background: transparent;
}
.nav-panel { display: none; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-panel {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg);
    border-top: 1px solid var(--hairline);
    box-shadow: 0 18px 40px -24px color-mix(in srgb, var(--ink) 70%, transparent);
    padding: 6px 0 10px;
  }
  .topbar.nav-open .nav-panel { display: block; }
  /* the panel is taller than a phone screen: scroll it, not the page behind
     (90px ≈ bar height with headroom, so the language switch stays reachable) */
  .nav-panel { max-height: calc(100dvh - 90px); overflow-y: auto; overscroll-behavior: contain; }
  html:has(.topbar.nav-open) { overflow: hidden; }
  /* the bar itself must be solid while the panel is open, or the page shows
     through the gap between them */
  .topbar.nav-open { background: var(--bg); }
  .nav-panel a {
    display: block;
    padding: 15px var(--margin);
    font-size: 17px; color: var(--ink); text-decoration: none;
    border-bottom: 1px solid var(--hairline);
  }
  .nav-panel a:last-child { border-bottom: none; }
  .nav-panel a[aria-current="page"] { color: var(--accent-ink); }
}

/* ---------- hero ---------- */
/* Top padding is deliberately small: on a 1280x700 laptop the old 140px pushed
   the CTA under the fold, so the first screen showed a headline and no way to
   act on it. Budget on that viewport is roughly 72px bar + 240px headline +
   100px lead + 80px CTA, which leaves about 56px of room at the top. */
.hero { padding: clamp(32px, 4.5vw, 56px) 0 clamp(28px, 5vw, 56px); }
/* Tighten the hero -> "sound familiar?" seam: the hero is a centered 100vh box,
   so its bottom padding + the next section's top padding stacked into a large
   dead gap under the CTA. Trimmed both sides. */
/* Top was already trimmed to tighten the hero seam. Bottom trimmed to match now
   that the closing paragraph is gone — an 80px tail under a short block read as
   leftover space rather than rhythm. */
#check { padding-top: clamp(24px, 4vw, 44px); padding-bottom: clamp(24px, 4vw, 44px); }
/* 66px max + 20ch: the headline sits on 4 lines on a laptop, not 5 (11 Oct, Nicolaas) */
.hero .display { font-size: clamp(40px, 6vw, 66px); max-width: 20ch; }
.hero .lead { margin-top: 18px; }
/* was --s-lg (48px): 30px keeps the button in the same eyeful as the sentence
   that earns it, and buys back the height the fold needs */
.hero .cta-row { margin-top: 30px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

/* Hero goes two-column so the product is visible at the top of the page rather
   than only in the features section further down. */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.hero-shot { margin: 0; display: flex; justify-content: flex-end; }

/* ---------- phone frame ----------
   Drawn in CSS rather than shipped as a PNG bezel: stays sharp at any size,
   inverts with the theme, and costs nothing to download. */
.phone { position: relative; }

/* Ambient glow behind the device, in the theme accent. Purely decorative. */
.phone-glow {
  position: absolute; z-index: 0; inset: 6% -18% 2%;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(60% 50% at 50% 45%, color-mix(in srgb, var(--accent) 42%, transparent), transparent 70%);
  filter: blur(38px); opacity: .55;
}

/* The rim is what sells it as hardware: a brushed-metal gradient with a bright
   inner hairline for the light catching the polished edge, over a dark body. */
.phone-rim {
  position: relative; z-index: 1;
  padding: 8px;
  border-radius: 46px;
  background:
    linear-gradient(145deg, #6f7278 0%, #23252a 16%, #4a4d54 34%, #1a1c20 58%, #55585f 78%, #202227 100%);
  box-shadow:
    0 40px 80px -34px rgb(0 0 0 / .65),
    0 6px 22px -10px rgb(0 0 0 / .5),
    0 0 0 1px rgb(255 255 255 / .10) inset;
}
.phone-screen {
  position: relative;
  border-radius: 38px;
  overflow: hidden;
  background: var(--bg);
  line-height: 0;                    /* kill the inline-image gap */
  box-shadow: 0 0 0 2px #0a0a0c;     /* the black gap between glass and frame */
}
.phone-shot { position: relative; }

/* Hardware buttons. Small, but their absence is part of what reads as "flat
   rectangle" rather than "phone". */
.phone-btn {
  position: absolute; z-index: 2; width: 3px; border-radius: 2px;
  background: linear-gradient(180deg, #55585f, #212327);
}
.phone-btn--silent { left: -2px; top: 15%;   height: 4.0%; }
.phone-btn--volup  { left: -2px; top: 21.5%; height: 7.0%; }
.phone-btn--voldn  { left: -2px; top: 30%;   height: 7.0%; }
.phone-btn--power  { right: -2px; top: 24%;  height: 11%; }

/* iOS status bar. Uses the page background so it reads as part of the app. */
.phone-status {
  position: relative; z-index: 3;
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 26px 5px;
  /* Sampled from the top edge of the screenshots themselves, not var(--bg).
     The page background is warm greige while the app screenshot is not, so a
     --bg strip sat above the screen as a visibly different band. Mirrors the
     same theme triple as the .shot-* swap below, so the strip always matches
     whichever screenshot is showing.

     These ARE the app's own bg tokens, so they must be re-sampled whenever the
     shots change palette. 2026-09-04: the dark value was #3a1012, a maroon left
     over from when the app's dark theme was blood-red — against the clay shot
     (#1c1818) it read as a red bar sitting on top of the phone. Now:
       light = ocean bg #e8ebee   dark = clay bg #1c1818 */
  background: #e8ebee; color: var(--ink);
  line-height: 1;
}
@media (prefers-color-scheme: dark) { .phone-status { background: #1c1818; } }
:root[data-theme="dark"]  .phone-status { background: #1c1818; }
:root[data-theme="light"] .phone-status { background: #e8ebee; }
.ps-time { font-size: 12px; font-weight: 600; letter-spacing: .01em; }
/* The SVGs are drawn at real iOS point sizes, but this mock phone is far
   narrower than a real one, so at 1:1 they took 29% of the bar (a real device
   is ~17%) and ran under the Dynamic Island — which is black, so the signal
   bars simply disappeared into it. Scaling from the right keeps the layout
   width unchanged while pulling the group clear of the island. */
.ps-icons { display: inline-flex; align-items: center; gap: 5px; transform: scale(.8); transform-origin: right center; }
.ps-icons svg { display: block; }
.phone-island {
  position: absolute; left: 50%; transform: translateX(-50%); top: 4px;
  width: 22%; height: 18px; border-radius: 999px;
  /* pure black + a hairline: at #0a0a0c it disappeared entirely against the
     dark theme's #0B0B0D background */
  background: #000;
  box-shadow: 0 0 0 1px rgb(255 255 255 / .07);
}

/* Home indicator. Last small thing that distinguishes an iPhone screenshot from
   a rounded rectangle. */
.phone-screen::after {
  content: ""; position: absolute; z-index: 5;
  left: 50%; transform: translateX(-50%); bottom: 7px;
  width: 34%; height: 4px; border-radius: 999px;
  background: var(--ink); opacity: .32; pointer-events: none;
}

/* Glass. A single soft diagonal sheen — enough to read as a screen under light,
   not so much that it obscures the UI underneath. */
.phone-glare {
  position: absolute; z-index: 4; inset: 0; pointer-events: none;
  background: linear-gradient(118deg, rgb(255 255 255 / .16) 0%, rgb(255 255 255 / .05) 22%, transparent 42%);
  mix-blend-mode: screen;
}
/* No notch/island: the screenshot has no status bar, so a drawn island lands on
   top of "Welcome back" instead of in empty space. The bezel alone reads as a
   phone; a floating black pill over the copy reads as a bug. */

/* Label for assistive tech only. There was no such utility in this stylesheet,
   and without one the labels rendered as visible text across the screenshot. */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* Hotspots over the two things the screenshot is advertising. Percentages of
   the screen box, so they track the image at every width. */
.hot {
  position: absolute; z-index: 2;
  display: flex; align-items: center; justify-content: flex-end;
  padding: 0 10px;
  border: 1.5px solid transparent; border-radius: 10px;
  background: transparent; cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease;
  -webkit-tap-highlight-color: transparent;
}
/* Re-derived 2026-09-04 against home-*.png, which now come from the REAL home
   screen ((app)/index.tsx via /shots?view=home) rather than the /preview
   approximation. Measured from the app's own DOM at the capture viewport
   (430x932); index.html warns the hotspots are tied to the screenshot, so
   retaking one means re-measuring, not nudging.

   The urge button moved a long way — it is in the pinned footer now, not
   mid-page, so 43.1% -> 80.4%.

   .hot--lesson is GONE. It pointed at a "today's lesson" card that the
   redesigned home does not show at that position; the daily items live in a
   TODAY checklist further down. It had no element in index.html either — it
   was a rule with nothing to style. If a second hotspot is wanted, the "why"
   card is the obvious target (top 35.8%, height 40%). */
.hot--urge   { left: 5.6%; width: 88.8%; top: 80.4%;  height: 6.3%; }
.hot:hover, .hot:focus-visible {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  outline: none;
}
.hot-label {
  opacity: 0; transform: translateY(2px);
  transition: opacity .18s ease, transform .18s ease;
  font-family: var(--font-display); font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; line-height: 1;
  padding: 5px 8px; border-radius: 5px;
  background: var(--accent); color: var(--on-accent, #fff);
}
.hot:hover .hot-label, .hot:focus-visible .hot-label { opacity: 1; transform: none; }

/* ---------- urge dialog ---------- */
.urge-dialog {
  /* the stylesheet's global margin reset kills <dialog>'s default `margin:auto`,
     which is what centres it — put it back explicitly */
  margin: auto;
  position: relative;                /* anchors the close button */
  width: min(560px, calc(100vw - 32px));
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--hairline); border-radius: 10px;
  background: var(--card); color: var(--ink);
}
.urge-dialog::backdrop { background: rgb(0 0 0 / .55); backdrop-filter: blur(2px); }
.urge-dialog h3 { margin: 10px 0 14px; font-size: clamp(22px, 3vw, 30px); }
.urge-dialog .body { margin-bottom: 16px; }
.urge-close {
  position: absolute; top: 12px; right: 14px;
  background: none; border: 0; cursor: pointer;
  font-size: 26px; line-height: 1; color: var(--muted-2);
}
.urge-close:hover { color: var(--ink); }
.urge-steps { margin: 0 0 18px; padding-left: 20px; }
.urge-steps li { margin-bottom: 12px; font-size: 16px; line-height: 1.65; color: var(--muted); }
.urge-steps strong { color: var(--ink); }

@media (max-width: 900px) {
  .phone-rim { padding: 5px; border-radius: 32px; }
  .phone-screen { border-radius: 27px; }
  .phone-status { padding: 6px 16px 4px; }
  .ps-time { font-size: 9px; }
  /* 34% left only ~2.6px between the island and the signal bars at 320px. They
     are both near-black, so a collision hides the bars instead of looking
     broken — worth the margin. */
  .phone-island { height: 12px; top: 3px; width: 24%; }
  .ps-icons { gap: 3px; transform: scale(.72); transform-origin: right center; }
  .phone-glow { filter: blur(24px); opacity: .4; }
}

.hero-shot img {
  display: block;
  /* Height-capped, not width-capped: the hero is a centred 100dvh box, so a
     fixed-width phone taller than the viewport gets its bottom cropped on any
     laptop screen. Let height lead and derive the width. The frame supplies the
     border, radius and shadow now, so the image itself carries none. */
  width: auto; height: auto;
  max-width: 100%; max-height: min(660px, 62vh);
}
@media (max-width: 900px) {
  /* Stack, and cap the shot so the CTA stays reachable without a long scroll.
     The hero is min-height:100dvh, so an uncapped image would push the button
     well past the fold on a phone — the one thing this change must not do. */
  .hero-grid { grid-template-columns: 1fr; gap: clamp(22px, 6vw, 36px); }
  .hero-shot { max-width: 210px; margin: 0 auto; }
}

/* ---------- feature pictograms ----------
   Drawn to the visual-system spec from the design board: 1.5 stroke, butt caps,
   miter joins, no corner radius. currentColor so they invert with the theme. */

/* ---------- in-app screenshot showcase ----------
   Two columns on desktop, stacked on mobile. The shot sits in a hairline frame
   on the card tone so it reads as a product surface, not a floating jpeg. */
.appshot {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px); align-items: center;
  margin-top: var(--s-xl);
}
.appshot-fig { margin: 0; }
.appshot-fig img {
  display: block; width: 100%; height: auto;
  border: 1px solid var(--hairline);
  background: var(--card);
}
.appshot-copy .eyebrow { display: block; margin-bottom: 12px; }
.appshot-copy h3 {
  font-size: clamp(21px, 2.6vw, 28px); font-weight: 600;
  letter-spacing: -0.02em; line-height: 1.2;
}
.appshot-copy .body { margin-top: 14px; max-width: 46ch; }
/* Alternate the image side so consecutive shots don't march down one edge. */
.appshot--rev .appshot-fig { order: 2; }
.appshot--rev .appshot-copy { order: 1; }
@media (max-width: 860px) {
  .appshot { grid-template-columns: 1fr; gap: 24px; }
  /* On mobile the image always leads, regardless of desktop side. */
  .appshot-fig, .appshot--rev .appshot-fig { order: -1; }
  .appshot--rev .appshot-copy { order: 0; }
}

/* ---------- design concepts band ----------
   Copy on the left, the three dark phone renders on the right. The renders are
   dark by nature, so they sit on the card tone rather than the page tone. */
.concepts {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 5vw, 56px); align-items: center;
  margin-top: var(--s-xl);
  padding-top: var(--s-xl);
  border-top: 1px solid var(--hairline);
}
.concepts-head .eyebrow { display: block; margin-bottom: 12px; }
.concepts-head h3 {
  font-size: clamp(21px, 2.6vw, 28px); font-weight: 600;
  letter-spacing: -0.02em; line-height: 1.2;
}
.concepts-head .body { margin-top: 14px; max-width: 44ch; }
.concepts-fig { margin: 0; }
.concepts-fig img { display: block; width: 100%; height: auto; }
.concepts-fig .cap { display: block; margin-top: 12px; }

/* Phone shots, three up. Each .shot holds a light and a dark capture of the
   same screen; only the one matching the reader's theme is shown, so the
   screenshots never look pasted in from the opposite mode. */
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2.2vw, 26px); }
.shots .shot { margin: 0; }
.shots img { border-radius: 8px; border: 1px solid var(--hairline); }
.shots .cap { grid-column: 1 / -1; }
/* NB: these must be scoped to .shots. A bare `.shot-dark` (0,1,0) loses to
   `.concepts-fig img` (0,1,1) above, which made BOTH captures show whenever no
   data-theme was set — i.e. for every first-time visitor. */
img.shot-dark { display: none; }
@media (prefers-color-scheme: dark) {
  img.shot-dark  { display: block; }
  img.shot-light { display: none; }
}
:root[data-theme="dark"]  .shot-dark  { display: block; }
:root[data-theme="dark"]  .shot-light { display: none; }
:root[data-theme="light"] .shot-light { display: block; }
:root[data-theme="light"] .shot-dark  { display: none; }
@media (max-width: 720px) {
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shots .shot:last-of-type { display: none; }
}
@media (max-width: 860px) {
  .concepts { grid-template-columns: 1fr; gap: 22px; }
}

/* ---------- full-width pull quote ----------
   The site's own slogan set large. No attribution: it is ours, not a member's. */
.bigquote {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: clamp(48px, 9vw, 104px) 0;
}
/* Horizontal: one line on desktop, wrapping naturally on narrow screens. */
.bigquote blockquote { margin: 0; max-width: none; }
.bigquote blockquote p {
  font-family: var(--font-serif);
  /* a notch up from 4.4vw/52px: this line is the tagline, and it was reading
     smaller than the section headings above it */
  font-size: clamp(28px, 5.2vw, 62px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 700;
  text-wrap: balance;
}
/* Each word dims until scroll lights it. Opacity rather than colour so it works
   in both themes without a second variable. */
.bigquote .w {
  color: var(--ink);
  opacity: .42; /* was .16: unreadable if you stop scrolling */
  transition: opacity .35s ease;
}
.bigquote .w.lit { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .bigquote .w { opacity: 1; transition: none; }
}

/* ---------- "as featured in" press bar ----------
   Text wordmarks rather than logo images: we hold no licensed logo assets, and
   type-set marks avoid hotlinking someone else's brand file. Muted by default,
   full ink on hover, so it reads as quiet credibility rather than a billboard. */
.featured {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: clamp(22px, 3.5vw, 34px) 0;
}
.featured .wrap {
  display: flex; align-items: center; gap: clamp(20px, 4vw, 54px);
  flex-wrap: wrap; justify-content: center;
}
.featured-label {
  font-family: var(--font-display); font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2);
  white-space: nowrap;
}
.featured-logos {
  display: flex; align-items: center; gap: clamp(22px, 4.5vw, 56px);
  flex-wrap: wrap; justify-content: center;
  list-style: none; margin: 0; padding: 0;
}
.featured-logos .fl-mark {
  color: var(--muted); opacity: .78;
  transition: opacity .25s ease, color .25s ease;
  white-space: nowrap;
  text-decoration: none;
}
.featured-logos .fl:hover .fl-mark,
.featured-logos a.fl-mark:focus-visible { opacity: 1; color: var(--ink); }
/* A linked mark is verifiable press — hint that it's clickable on hover. */
.featured-logos a.fl-mark:hover { text-decoration: underline; text-underline-offset: 4px; }
/* Each mark is type-set to echo the outlet's own identity. */
.featured-logos .fl--radio .fl-mark {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(15px, 1.9vw, 19px); letter-spacing: -0.015em;
}
.featured-logos .fl--paper .fl-mark {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(17px, 2.1vw, 22px); letter-spacing: -0.01em;
}
@media (max-width: 620px) {
  .featured .wrap { gap: 14px; }
  .featured-logos { gap: 20px; }
}

/* ---------- for-parents stat row ---------- */
/* Three survey figures, hairline-separated like the features grid so the
   section reads as part of the same system. Collapses to one column on mobile. */
/* Separate rounded cards rather than one hairline grid. The old 1px-gap-over-a
   tinted-background trick cannot round its cells: the corners belong to the
   grid, not to the boxes, so each cell has to carry its own border. */
.parent-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: var(--s-lg);
}
.parent-stats .pstat {
  background: var(--bg); padding: 26px 22px;
  border: 1px solid var(--hairline); border-radius: 10px;
  display: flex; flex-direction: column; gap: 10px;
}
.parent-stats .pnum {
  font-family: var(--font-display); font-size: clamp(30px, 4vw, 40px);
  font-weight: 600; letter-spacing: -0.02em; color: var(--accent-ink); line-height: 1;
}
.parent-stats .plabel { color: var(--muted); font-size: 15px; line-height: 1.5; }
.parent-stats .plabel em { font-style: normal; color: var(--ink); font-weight: 600; }
#parents .cap { display: block; margin-top: 14px; }
#parents .subhead { margin-top: var(--s-lg); }
#parents .cta-row { margin-top: var(--s-lg); }
/* Larger section label on the parents page — it is the page's identity here,
   not a small tag above a section, so it carries more weight. */
#parents .eyebrow {
  font-size: clamp(14px, 1.8vw, 18px);
  letter-spacing: 0.12em;
  color: var(--accent-ink);
  display: block;
  margin-bottom: 14px;
}

/* ---- parents page rhythm ----
   One consistent measure for prose, one consistent gap between blocks. The page
   was reading as an undifferentiated column; these give it a spine. */
/* Hero runs as two columns on desktop: the argument on the left, the age scale
   on the right. Without it the text column (62ch) left half the viewport empty. */
#parents .p-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
#parents .p-hero-text { max-width: 62ch; }
#parents .p-hero-vis { width: 100%; }
@media (max-width: 900px) {
  #parents .p-hero { grid-template-columns: 1fr; gap: var(--s-lg); }
  #parents .p-hero-vis { max-width: 400px; }
}
#parents .p-hero .lead { margin-top: 18px; }
#parents .p-hero .body { margin-top: 16px; }
#parents .body, #parents .lead { max-width: 62ch; }
#parents .p-block { margin-top: var(--s-xl); }
#parents .p-block .subhead { margin-top: 0; }
#parents .parent-stats { margin-top: var(--s-xl); }

/* Pull quote: the emotional centre of the page, given room to breathe. */
#parents .p-quote {
  margin: var(--s-xl) 0 0;
  padding: 28px 0 28px 26px;
  border-left: 2px solid var(--accent);
  max-width: 56ch;
}
#parents .p-quote p {
  font-size: clamp(21px, 2.6vw, 28px);
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
}
#parents .p-quote .cap { display: block; margin-top: 14px; }
/* scroll-linked word reveal, same treatment as the home page pull quote */
#parents .p-quote .w { color: var(--ink); opacity: .42; transition: opacity .35s ease; }
#parents .p-quote .w.lit { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  #parents .p-quote .w { opacity: 1; transition: none; }
}

/* Commitment note: visually set apart so the 18+ position reads as a stance,
   not as more body copy. */
#parents .p-note {
  border: 1px solid var(--hairline);
  padding: clamp(22px, 3vw, 32px);
  background: var(--card);
}
#parents .p-note .body:first-of-type { margin-top: 12px; }
/* .body carries no margin of its own, so stacked paragraphs were butting up
   against each other and reading as one dense block. Space them. */
#parents .body + .body { margin-top: 18px; }
#parents .p-note .body { line-height: 1.7; }

/* The "why" note runs two columns on desktop: the argument, and the iceberg
   that argues the same thing visually. Diagram column is capped at 340px so it
   stays a companion to the prose rather than competing with it. */
#parents .p-why {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}
#parents .p-why-vis { width: 100%; }
@media (max-width: 900px) {
  #parents .p-why { grid-template-columns: 1fr; gap: var(--s-lg); }
  #parents .p-why-vis { max-width: 360px; margin: 0 auto; }
}

#parents .p-cta { margin-top: var(--s-xl); }
#parents .p-cta .lead { margin-bottom: 18px; }
#parents .back-link { display: inline-block; margin-top: var(--s-lg); }

/* "What parents asked for" — ranked feature list, hairline rows. */
.parent-wants { margin-top: var(--s-md); border-top: 1px solid var(--hairline); }
.parent-wants .pwant {
  display: flex; align-items: baseline; gap: 20px;
  padding: 18px 2px; border-bottom: 1px solid var(--hairline);
}
.parent-wants .pwlabel { color: var(--ink); font-size: 17px; line-height: 1.5; font-style: italic; }
@media (max-width: 560px) {
  .parent-wants .pwant { gap: 14px; padding: 15px 2px; }
  .parent-wants .pwlabel { font-size: 15px; }
}
@media (max-width: 860px) {
  .parent-stats { grid-template-columns: 1fr; }
}

/* ---------- two-column ("you already know") ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-xl); align-items: start; }
.split .headline { max-width: 14ch; }

/* ---------- features ---------- */
.features-intro { margin-top: 14px; margin-bottom: var(--s-lg); max-width: 62ch; }

/* ---- feature ladder: one feature per row, picture alternating sides ---- */
.ladder { display: flex; flex-direction: column; gap: clamp(32px, 5vw, 64px); }
.rung {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 56px); align-items: center;
}
/* every second row puts the picture first, so the eye zig-zags down the page */
.rung:nth-child(even) .rung-media { order: -1; }
.rung-copy h3 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 600; line-height: 1.15; letter-spacing: -0.015em; }
/* 46ch, not 40: the descriptions run to two or three sentences now */
.rung-copy p { margin-top: 12px; color: var(--muted); font-size: 17px; line-height: 1.6; max-width: 46ch; }
/* the evidence each feature rests on — a label, not a link: this section is not
   an exit point, and the science page is one click away in the nav. */
.rung-sci {
  display: inline-block; margin-top: 16px; font-family: var(--font-display);
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-ink);
}
/* Honest status per feature card (11 Oct brief): ready vs still being built. */
.rung-status {
  display: inline-block; align-self: flex-start; width: fit-content; margin-bottom: 10px; padding: 3px 9px; border-radius: 999px;
  font-family: var(--font-display); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid var(--hairline); color: var(--muted);
}
.rung-status.is-ready { border-color: var(--accent-ink); color: var(--accent-ink); }
.rung-media { display: flex; justify-content: center; align-items: center; }
.rung-shot { width: 100%; max-width: 240px; height: auto; border: 1px solid var(--hairline); border-radius: 10px; }
.rung-face { width: 100%; max-width: 210px; height: auto; }
/* Real photographs. Height is EXPLICIT, not an aspect-ratio: these are portrait
   phone shots and the img carries width/height attributes, so leaving the height
   to be derived let the box resolve tall and narrow, and object-fit: cover then
   zoomed into a vertical strip. A fixed box crops predictably instead. */
.rung-photo {
  display: block; width: 100%; max-width: 300px; height: 210px;
  object-fit: cover; object-position: 50% 40%;
  border: 1px solid var(--hairline); border-radius: 10px;
}
/* two people standing: keep the faces, drop the floor */
.rung-photo--pair { object-position: 50% 26%; }
/* Landscape capture of the coach conversation. Wider box than the portrait
   shots because the source is 2.1:1 — squeezing it into 4:3 would have cut the
   bubbles in half. The crop drops the back button and the message composer and
   keeps the disclaimer line plus the exchange. */
.rung-chat {
  display: block; width: 100%; max-width: 380px; height: 150px;
  /* Crop from the TOP, not 20% down. This rung's whole claim is "Not a
     therapist, and it says so" — the line that says so is the disclosure bar
     at the very top of the coach screen, and a 20% offset cropped it out. */
  object-fit: cover; object-position: 50% 0%;
  border: 1px solid var(--hairline); border-radius: 10px;
}
/* stand-in for the rows with no real capture yet — a panel, not a fake screen */
.rung-glyph {
  width: 100%; max-width: 260px; aspect-ratio: 4 / 3; display: grid; place-items: center;
  background: var(--card); border: 1px solid var(--hairline); border-radius: 10px;
}
.rung-glyph svg { width: 56px; height: 56px; fill: none; stroke: var(--accent-ink); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }

/* Drawn panels for the two features with no honest capture. Deliberately
   diagrams, not fake screenshots: no phone frame, no status bar, no invented
   usernames. They show what the feature does without claiming to be a photo
   of a build that does it. Everything is theme-token driven. */
.rung-art {
  width: 100%; max-width: 300px; aspect-ratio: 4 / 3;
  background: var(--card); border: 1px solid var(--hairline); border-radius: 10px;
  display: grid; place-items: center; overflow: hidden;
}
.rung-art svg { width: 100%; height: 100%; display: block; }
.rung-art .art-line rect { fill: var(--bg); stroke: var(--hairline); stroke-width: 1; }
.rung-art .art-line path { stroke: var(--muted-2); stroke-width: 3; stroke-linecap: round; opacity: .5; }
.rung-art .art-frame { fill: none; stroke: var(--accent-ink); stroke-width: 1.4; stroke-dasharray: 4 3; opacity: .8; }
.rung-art .art-blur-a { fill: var(--muted-2); opacity: .3; }
.rung-art .art-blur-b { fill: var(--muted-2); opacity: .45; }
.rung-art .art-tag {
  font-family: var(--font-display); font-size: 11px; letter-spacing: .14em;
  fill: var(--accent-ink); font-weight: 600;
}
.rung-art .art-bubble-you path { fill: var(--accent); }
.rung-art .art-bubble-coach path { fill: var(--bg); stroke: var(--hairline); stroke-width: 1; }
.rung-art .art-said path { stroke: var(--on-accent); stroke-width: 3.4; stroke-linecap: round; opacity: .85; }
.rung-art .art-heard path { stroke: var(--muted-2); stroke-width: 3.4; stroke-linecap: round; opacity: .55; }
.rung-art .art-dot { fill: var(--accent-ink); }
@media (max-width: 860px) {
  .rung { grid-template-columns: 1fr; gap: 18px; }
  .rung:nth-child(even) .rung-media { order: 0; }   /* stacked: text always first */
  .rung-media { justify-content: flex-start; }
}

/* ---- feature rail (approved scroll treatment "E") -------------------------
   The seven rungs above, laid sideways: a native horizontal scroller with CSS
   snap points, sitting inside the normal vertical flow. Deliberately NOT a
   pinned scroll-jack — the page never stops scrolling down, the rail is only
   swiped. `overflow-x` + `scroll-snap-type` means the browser does the
   scrolling: no library, no scroll listener, nothing per frame.

   The whole treatment lives inside `prefers-reduced-motion: no-preference`.
   Under `reduce` none of it applies and the original vertical ladder renders
   instead, with all seven features visible at once and nothing behind a
   gesture. That matters here more than on most sites: a reader managing
   compulsion should never be made to swipe to find the thing that helps.

   The rail-head is hidden until the ladder is actually a rail, so a
   reduced-motion or no-JS reader is never told to swipe something static. */
.rail-head { display: none; }
.rail-progress { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .rail-head {
    display: flex; align-items: center; gap: 16px;
    margin-bottom: 14px; min-height: 18px;
  }
  .rail-hint {
    flex: 0 0 auto; font-size: 11px; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--muted-2);
  }
  /* the position hairline. Only shown once the observer is driving it —
     a bar that can never move is worse than no bar. */
  .rail-head .railbar { display: none; }
  .rail-head.is-live .railbar {
    display: block; position: relative; flex: 1 1 auto;
    height: 2px; background: var(--hairline); overflow: hidden;
  }
  .rail-progress {
    display: block; position: relative; height: 2px; margin-top: 4px;
    background: var(--hairline); overflow: hidden;
  }
  .railbar span {
    position: absolute; inset: 0; background: var(--accent-ink);
    transform: scaleX(0.08); transform-origin: 0 50%;
    will-change: transform;
    transition: transform .35s cubic-bezier(.2, .7, .2, 1);
  }
  .rail-progress span { transition: none; }  /* follows scroll every frame */

  .ladder.rail {
    display: grid; grid-auto-flow: column;
    grid-auto-columns: min(340px, 78vw);
    gap: 16px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    /* bleed to the wrap's gutter so the next card is visibly cut off — that
       edge is the affordance, the "Swipe →" label is only the confirmation */
    scroll-padding-inline: var(--margin);
    padding: 4px var(--margin) 20px;
    margin-inline: calc(var(--margin) * -1);
    scrollbar-width: none;
  }
  .ladder.rail::-webkit-scrollbar { display: none; }
  .ladder.rail:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; }

  .ladder.rail .rung {
    scroll-snap-align: start;
    display: flex; flex-direction: column; align-items: stretch; gap: 14px;
    background: var(--card); border: 1px solid var(--hairline);
    border-radius: 10px; padding: 18px;
  }
  /* the zig-zag is a property of the vertical ladder; in a rail every card is
     built the same way round, picture first (it is second in source order) */
  .ladder.rail .rung .rung-media,
  .ladder.rail .rung:nth-child(even) .rung-media { order: -1; }
  .ladder.rail .rung-media {
    justify-content: center; flex: 0 0 auto; height: 150px;
    border: 1px solid var(--hairline); border-radius: 10px;
    background: var(--bg); overflow: hidden;
  }
  .ladder.rail .rung-copy { display: flex; flex-direction: column; flex: 1; }
  .ladder.rail .rung-copy h3 { font-size: 19px; }
  .ladder.rail .rung-copy p { margin-top: 8px; font-size: 15px; max-width: none; flex: 1; }
  .ladder.rail .rung-sci { margin-top: 14px; }
  /* one media box height for every card, so the copy starts on the same line
     across the rail whatever the source image happens to be. Phone captures
     and the portrait are contained (cropping a phone screen to a 150px band
     shows a sliver of nothing); the photographs are cropped. */
  .ladder.rail .rung-shot,
  .ladder.rail .rung-face,
  .ladder.rail .rung-photo,
  .ladder.rail .rung-chat {
    max-width: 100%; width: 100%; height: 150px;
    border: 0; border-radius: 0; object-fit: cover;
  }
  .ladder.rail .rung-shot,
  .ladder.rail .rung-face { object-fit: contain; }
  .ladder.rail .rung-art,
  .ladder.rail .rung-glyph {
    max-width: 100%; width: 100%; height: 150px; aspect-ratio: auto;
    border: 0; border-radius: 0;
  }
}

.science { margin-top: var(--s-xl); text-align: center; }
.science p { font-size: 17px; color: var(--muted); max-width: 56ch; margin: 0 auto; }
.science .cap { display: block; margin-top: 12px; }

/* ---------- pricing ---------- */
/* margin-top 0: the heading now lives in the left column, so the grid starts
   where the section starts and the card lines up with "Honest pricing." */
.pricing-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--s-xl); align-items: start; }
.pricing-grid .headline { margin-bottom: var(--s-md); }
.commitments { list-style: none; margin-top: var(--s-md); }
.commitments li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--hairline); font-size: 17px; color: var(--ink); }
.commitments li::before { content: ""; flex: none; width: 14px; height: 14px; margin-top: 6px; border: 1.5px solid var(--accent); position: relative; }
.commitments li .tick { position: absolute; }
.price-card { position: relative; background: var(--card); border: 1px solid var(--hairline); border-radius: var(--radius-card, 10px); padding: 40px 36px; transition: border-color .2s ease, opacity .5s ease, transform .5s ease; }
.price-card:hover { border-color: var(--accent); }
.price-card.reveal-init { opacity: 0; transform: translateY(16px); }
.price-card.in { opacity: 1; transform: none; }
.price-card .eyebrow { display: block; margin-bottom: 18px; }
.price-display { display: flex; align-items: baseline; flex-wrap: wrap; gap: 14px; margin-bottom: 10px; }
.price-old { position: relative; font-family: var(--font-serif); font-size: 30px; font-weight: 600; color: var(--muted-2); }
/* DORMANT since 2026-08-11: the price card was pulled from index.html while the
   price is undecided, so nothing on any live page uses .price-* right now. Kept
   rather than deleted because the removal is explicitly "for now" and a price is
   expected; put the card markup back and this styling still works. Delete the
   whole .price-* group if the card is ever dropped for good. */
.price-old::after { content: ""; position: absolute; left: -2px; top: 52%; height: 2px; width: calc(100% + 4px); background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s ease .35s; }
.price-card.in .price-old::after { transform: scaleX(1); }
.price-now { font-family: var(--font-serif); font-size: 56px; font-weight: 700; line-height: 1; letter-spacing: -0.03em; color: var(--ink); }
.price-per { font-size: 20px; font-weight: 600; color: var(--muted-2); margin-left: 1px; }
/* the reassurance line inside the card, under the button: small, and it keeps
   the PPCS-6 link so the claim is checkable from where the ask is made */
.card-note { margin-top: 16px; font-size: 14px; line-height: 1.5; color: var(--muted-2); }
/* founding-spot counter: quiet, factual, hidden until the number arrives */
.spots { margin-top: 14px; font-family: var(--font-display); font-size: 13px; letter-spacing: .04em; color: var(--muted-2); }
.spots strong { color: var(--accent-ink); font-weight: 600; }
.price-badge { align-self: center; font-family: var(--font-display); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; background: var(--accent); color: var(--on-accent); padding: 6px 10px; }
.price-amount { font-size: 52px; font-weight: 700; letter-spacing: -0.03em; }
.price-amount span { font-size: 18px; font-weight: 400; color: var(--muted-2); letter-spacing: 0; }
.waitlist-title { font-size: 34px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.price-card .desc { color: var(--muted); margin: 10px 0 28px; }
.where { margin-top: var(--s-lg); }
/* footnote under the pie — .cap sets the type, this only spaces it */
.where > .cap { display: block; margin-top: 18px; }
.where h3, .where h4 { font-family: var(--font-display); font-size: 11px; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 18px; }
.where p { color: var(--muted); font-size: 16px; max-width: 60ch; }

/* where-your-money pie */
/* max-width, because the block is no longer held in by a pricing-grid column:
   left free, the legend's 1fr name column would push each percentage to the
   far right of the page. */
.where .pie-row { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; max-width: 720px; }
/* ---- segmented donut: each wedge is an SVG arc that draws on in sequence
   (staggered by --d) when an IO adds .drawn on scroll-in. A thin gap between
   wedges (arc trimmed ~2.5u) shows the page through for a clean segmented look,
   with a €10 label in the hole. Reduced motion / no-JS: shown fully via the
   media query below. ---- */
.where .pie { flex: none; width: 184px; height: 184px; display: block; }
.where .pie .seg {
  fill: none;
  stroke-width: 13;
  stroke-linecap: butt;
  /* one dash of length --arc, hidden by an equal offset; .drawn slides it to 0
     so each wedge sweeps in from its start angle, one after another. */
  stroke-dasharray: var(--arc) 999;
  stroke-dashoffset: var(--arc);
  transition: stroke-dashoffset .6s cubic-bezier(.3,.7,.2,1) var(--d);
}
.where .pie.drawn .seg { stroke-dashoffset: 0; }
.where .pie-center {
  font-family: var(--font-display); font-weight: 700; font-size: 20px;
  fill: currentColor; opacity: 0; transition: opacity .5s ease .62s;
}
.where .pie.drawn .pie-center { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .where .pie .seg { stroke-dashoffset: 0; }
  .where .pie-center { opacity: 1; }
}
.where .legend { display: flex; flex-direction: column; gap: 18px; flex: 1; min-width: 190px; }
/* Two rows per entry: swatch / name / percent on the first, and a plain-language
   note underneath spanning the full width. The note is what makes the chart
   transparent rather than decorative. */
.where .legend-row {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  align-items: center;
  column-gap: 11px; row-gap: 3px;
}
.where .legend-sw   { grid-column: 1; grid-row: 1; }
.where .legend-name { grid-column: 2; grid-row: 1; }
.where .legend-pct  { grid-column: 3; grid-row: 1; }
.where .legend-note {
  grid-column: 2 / 4; grid-row: 2;
  font-size: 13px; line-height: 1.45; color: var(--muted-2);
}
.where .legend-row.is-tax .legend-note { opacity: .85; }
.where .legend-sw { width: 12px; height: 12px; }
.where .legend-name { font-family: var(--font-display); font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.where .legend-pct { font-family: var(--font-serif); font-size: 16px; font-weight: 600; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.where .legend-row.is-tax .legend-name, .where .legend-row.is-tax .legend-pct { color: var(--muted-2); }
.where .where-foot { font-family: var(--font-display); font-size: 10px; letter-spacing: 0.04em; color: var(--muted-2); margin-top: 20px; }

/* ---------- team ---------- */
.team .big { font-size: clamp(28px, 4.6vw, 48px); font-weight: 600; letter-spacing: -0.02em; max-width: 18ch; line-height: 1.12; }
.team .body { margin-top: var(--s-md); max-width: 62ch; }
.team a.link { color: var(--accent-ink); text-decoration: none; border-bottom: 1px solid var(--accent); font-weight: 500; }
.team a.link:hover { color: var(--accent-bright); }
.team-roster {
  margin-top: var(--s-lg);
  position: relative;
  padding-left: 26px;                  /* clears the "since day one" thread */
}
/* --- "Since day one" thread: a thin vertical line down the LEFT edge that
   draws down as the team section scrolls past. Track is faint; the fill is
   accent and its height = var(--team-progress) * 100%. An IIFE sets
   --team-progress (0→1) on scroll. Under reduced motion the JS bails and the
   fallback below renders the line fully drawn. --- */
.team-roster::before {
  content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
}
.team-roster .team-thread {
  position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px;
  pointer-events: none; overflow: visible;
}
.team-roster .team-thread::before {
  content: ""; position: absolute; left: 0; top: 0; width: 2px;
  height: calc(var(--team-progress, 0) * 100%);
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--accent) 85%, transparent),
    var(--accent));
}
/* node dot per member row, aligned with each member's vertical centre */
.team-roster .team-node {
  position: absolute; left: -3px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--bg); border: 2px solid color-mix(in srgb, var(--accent) 40%, transparent);
  transition: border-color .25s ease, background .25s ease;
}
.team-roster .team-node.lit {
  background: var(--accent); border-color: var(--accent);
}
@media (prefers-reduced-motion: reduce) {
  /* line fully drawn, all nodes lit, no scroll tracking */
  .team-roster .team-thread::before { height: 100%; }
  .team-roster .team-node { background: var(--accent); border-color: var(--accent); }
}
.member {
  display: grid; grid-template-columns: 128px 1fr auto; gap: var(--s-md);
  align-items: center; padding: var(--s-md); border-bottom: 1px solid var(--hairline);
  border-left: 3px solid transparent;
  transition: background .2s ease, border-left-color .2s ease;
}
.member:hover { background: var(--card); border-left-color: var(--accent-ink); }
.member .mono-tile {
  width: 48px; height: 48px; background: var(--accent); color: var(--on-accent);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: 0;
  transition: background .2s ease;
}
.member:hover .mono-tile { background: var(--accent-bright); }
/* team face photos — colour cutouts on a transparent bg (site shows through).
   Colour since 2026-09-30; the PNGs come from _src_team/process_colour.py. */
.member .m-photo {
  width: 128px; height: 156px; display: block; align-self: end;
  object-fit: contain; object-position: bottom;   /* grounded on the row's bottom line, never cropped */
  margin-bottom: calc(-1 * var(--s-md));           /* sit flush ON the divider, no floating gap */
  /* They "develop" into focus as the roster scrolls in: dim and soft by
     default, full brightness and contrast once .in lands, staggered per member
     via --i. Deliberately NO grayscale anywhere: the page reads as a room full
     of people, and a grey default would also be what no-JS visitors see
     forever, since .in is added by script. Under reduced motion the global
     `transition:none` rule paints the end state at once. */
  filter: brightness(0.9) contrast(0.95);
  opacity: 0.6;
  transition: filter .85s ease, opacity .85s ease, transform .2s ease;
}
.team-roster.in .member .m-photo {
  filter: none;
  opacity: 1;
  transition: filter .9s ease calc(var(--i) * 110ms),
              opacity .9s ease calc(var(--i) * 110ms), transform .2s ease;
}
.member:hover .m-photo { filter: brightness(1.03) contrast(1.04); opacity: 1; }
/* Grid items default to min-width:auto, so this 1fr text column refused to
   shrink below its content and pushed the row past narrow viewports (horizontal
   scroll on small phones). min-width:0 lets it shrink so the name/bio wrap. */
.member .m-text { min-width: 0; }
.member .m-name { font-size: 19px; font-weight: 600; }
/* LinkedIn link on a founder's name: inherits the name's styling, only hints
   on hover/focus so the roster stays typographically calm. */
.member .m-name .m-link { color: inherit; text-decoration: none; }
.member .m-name .m-link:hover,
.member .m-name .m-link:focus-visible { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.member .m-bio { color: var(--muted); font-size: 15px; line-height: 1.55; margin-top: 4px; max-width: 54ch; text-wrap: pretty; }
.member .m-role {
  font-family: var(--font-display); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted-2); white-space: nowrap; padding-top: 4px;
  transition: color .2s ease;
}
.member:hover .m-role { color: var(--accent-ink); }
.team-roster.will-animate .member { opacity: 0; transform: translateY(12px); }
.team-roster.in .member {
  opacity: 1; transform: none;
  transition: background .2s ease, border-left-color .2s ease,
              opacity .5s ease calc(var(--i) * 70ms), transform .5s ease calc(var(--i) * 70ms);
}
@media (max-width: 860px) {
  .member { grid-template-columns: 108px 1fr; }
  /* On its own line here, so let a long role wrap instead of forcing width. */
  .member .m-role { grid-column: 2; padding-top: 0; margin-top: 6px; white-space: normal; }
}
/* Narrow phones: side by side left the bio about 200px wide, roughly 25
   characters a line, which read as a ribbon rather than a paragraph. Stack the
   photo above instead and give the text the full column, ~50% more measure.
   The face still sits directly above its name so the pairing stays obvious. */
@media (max-width: 480px) {
  .team-roster { padding-left: 14px; }
  .member {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-left: 10px; padding-right: 10px;
  }
  .member .m-photo {
    width: 78px; height: 96px;
    align-self: start;
    margin-bottom: 0;            /* no longer straddling the divider */
  }
  /* the 860px rule parks this in column 2, which would invent a second column here */
  .member .m-role { grid-column: 1; margin-top: 8px; }
  .member .m-bio { max-width: none; }
}

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 2fr; gap: var(--s-xl); margin-top: 0; }
.faq-list { }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-q { width: 100%; text-align: left; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 24px 0; font-size: 19px; font-weight: 500; cursor: pointer; list-style: none; transition: color .2s ease; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover { color: var(--accent-ink); }
.faq-item[open] .faq-q { color: var(--accent-ink); }
.faq-q .plus { font-family: var(--font-display); color: var(--accent-ink); flex: none; transition: transform .2s; }
.faq-item[open] .plus { transform: rotate(45deg); }
.faq-a { padding: 0 0 24px; color: var(--muted); font-size: 16px; max-width: 64ch; }
.faq-list.will-animate .faq-item { opacity: 0; transform: translateY(10px); }
.faq-list.in .faq-item {
  opacity: 1; transform: none;
  transition: opacity .5s ease calc(var(--i) * 60ms), transform .5s ease calc(var(--i) * 60ms);
}

/* ---------- footer ---------- */
.footer { padding: var(--s-lg) 0; }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: var(--s-md); flex-wrap: wrap; }
.footer .meta { color: var(--muted-2); font-size: 14px; margin-top: 6px; }
/* company / legal identification strip, sits under the footer row on every page */
.legal-strip { margin-top: var(--s-md); padding-top: 18px; border-top: 1px solid var(--hairline); }
.footer .legal-strip .meta { font-size: 13px; margin-top: 4px; }

/* ====================================================================
   INTAKE OVERLAY
   ==================================================================== */
.intake {
  position: fixed; inset: 0; z-index: 100; background: var(--bg);
  display: none; flex-direction: column;
  opacity: 0; transition: opacity .25s ease;
}
.intake.open { display: flex; opacity: 1; }
.intake-head { display: flex; align-items: center; justify-content: space-between; padding: 18px var(--margin); border-bottom: 1px solid var(--hairline); }
.intake-close { font-family: var(--font-display); font-size: 12px; letter-spacing: 0.08em; color: var(--muted-2); text-transform: uppercase; background: transparent; border: 0; cursor: pointer; }
.intake-close:hover { color: var(--ink); }
/* clickable wordmark — doubles as a close/return-home control */
.intake-brand { background: transparent; border: 0; cursor: pointer; color: var(--ink); padding: 0; transition: opacity .15s ease; }
.intake-brand:hover { opacity: .65; }
.intake-brand:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

/* ---- glowing progress line: spans the whole top edge, fills as you advance ---- */
.intake-progress {
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: color-mix(in srgb, var(--hairline) 70%, transparent);
  z-index: 2; overflow: visible;
}
.intake-progress i {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--accent) 55%, transparent),
    var(--accent) 70%, var(--accent-bright));
  box-shadow: 0 0 8px 0 color-mix(in srgb, var(--accent) 70%, transparent),
              0 0 16px 0 color-mix(in srgb, var(--accent) 38%, transparent);
  transition: width .5s cubic-bezier(.4,.8,.3,1);
}
@media (prefers-reduced-motion: reduce) { .intake-progress i { transition: none; box-shadow: none; } }

/* ---- dopamine FX: spark burst on a pressed answer, button pop, progress flare ----
   Particle layer is fixed & non-interactive; particles are spawned/cleaned up by JS.
   Colours follow the theme accent (blue in light, red in dark) so it stays on-brand. */
#spark-layer { position: fixed; inset: 0; z-index: 9999; pointer-events: none; overflow: hidden; }
.spark {
  position: fixed; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px 1px color-mix(in srgb, var(--accent) 65%, transparent);
  animation: sparkFly 640ms cubic-bezier(.15,.85,.4,1) forwards;
  will-change: transform, opacity;
}
.spark--bright { background: var(--accent-bright); box-shadow: 0 0 9px 1px color-mix(in srgb, var(--accent-bright) 70%, transparent); }
.spark--gold   { width: 6px; height: 6px; background: #E0B860; box-shadow: 0 0 8px 1px rgba(224,184,96,.6); }
@keyframes sparkFly {
  0%   { transform: translate(0,0) scale(1); opacity: 1; }
  65%  { opacity: 1; }
  100% { transform: translate(var(--dx,0), var(--dy,0)) scale(.15); opacity: 0; }
}

/* answer button "pop" when pressed — square likert pops a touch harder than the
   full-width choice rows (which stay subtle so they never overflow on mobile). */
@keyframes btnPop     { 0% { transform: scale(1); } 38% { transform: scale(1.07); } 100% { transform: scale(1); } }
@keyframes btnPopSoft { 0% { transform: scale(1); } 38% { transform: scale(1.02); } 100% { transform: scale(1); } }
.likert-btn.is-pop { animation: btnPop 280ms ease; }
.choice.is-pop     { animation: btnPopSoft 280ms ease; transform-origin: center; }

/* progress bar: a touch taller for presence, and a glow flare on each completed step */
.intake-progress { height: 3px; }
.intake-progress i.is-pulse { animation: progPulse 600ms ease; }
@keyframes progPulse {
  0%   { box-shadow: 0 0 8px 0  color-mix(in srgb, var(--accent) 70%, transparent), 0 0 16px 0 color-mix(in srgb, var(--accent) 38%, transparent); }
  35%  { box-shadow: 0 0 18px 2px color-mix(in srgb, var(--accent) 95%, transparent), 0 0 36px 7px color-mix(in srgb, var(--accent) 60%, transparent); }
  100% { box-shadow: 0 0 8px 0  color-mix(in srgb, var(--accent) 70%, transparent), 0 0 16px 0 color-mix(in srgb, var(--accent) 38%, transparent); }
}
@media (prefers-reduced-motion: reduce) {
  #spark-layer { display: none; }
  .spark, .likert-btn.is-pop, .choice.is-pop, .intake-progress i.is-pulse { animation: none; }
}

.intake-body { flex: 1; overflow-y: auto; display: flex; align-items: safe center; justify-content: center; padding: var(--s-lg) var(--margin); }
.screen { width: 100%; max-width: 680px; margin: 0 auto; animation: fade .35s ease; text-align: center; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.screen .qnum { font-family: var(--font-display); font-size: 12px; letter-spacing: 0.1em; color: var(--accent-ink); text-transform: uppercase; }
.screen .qtext { font-size: clamp(24px, 3.6vw, 36px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; margin-top: 14px; }
.screen .qsub { color: var(--muted); margin-top: 14px; font-size: 17px; max-width: 56ch; margin-left: auto; margin-right: auto; }
/* Centre the in-screen button rows (Begin, age choices). Scoped to .screen so
   the hero / result rows are untouched. */
.screen .cta-row { justify-content: center; }
/* Age gate: two exactly-equal buttons (a 2-col grid guarantees identical width;
   align-items:stretch equalises height), centred and capped so they don't
   sprawl wide on desktop. */
.screen .cta-row.cta-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}
.screen .cta-row.cta-choices .btn { min-width: 0; }

/* likert */
.likert { margin-top: var(--s-lg); }
.likert-row { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; min-width: 0; }
.likert-btn {
  /* min-width:0 is load-bearing: as aspect-ratio grid items the default
     min-width:auto lets WebKit (iOS) keep the squares at their intrinsic size,
     so 7 of them overflow the row and clip the questionnaire on iPhone. Letting
     them shrink below square keeps the whole scale on screen. */
  min-width: 0;
  aspect-ratio: 1 / 1; border: 1px solid var(--hairline); background: var(--card);
  border-radius: var(--radius, 6px);
  font-family: var(--font-display); font-size: 15px; color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s, border-color .15s;
}
.likert-btn:hover { border-color: var(--ink); color: var(--ink); }
.likert-btn.sel { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.likert-labels { display: flex; justify-content: space-between; margin-top: 12px; }
.likert-labels span { font-family: var(--font-display); font-size: 11px; letter-spacing: 0.04em; color: var(--muted-2); text-transform: uppercase; }
.likert-labels span:nth-child(2) { color: var(--muted); }

/* choice (multi / single) */
.choices { margin-top: var(--s-lg); display: flex; flex-direction: column; gap: 10px; }
.choice {
  display: flex; align-items: center; gap: 16px; width: 100%; text-align: left;
  padding: 18px 20px; border: 1px solid var(--hairline); background: var(--card);
  border-radius: var(--radius, 6px);
  font-size: 17px; transition: border-color .15s, background .15s;
}
.choice:hover { border-color: var(--ink); }
.choice .box { flex: none; width: 18px; height: 18px; border: 1.5px solid var(--muted-2); display: grid; place-items: center; }
.choice.sel { border-color: var(--accent); }
.choice.sel .box { border-color: var(--accent); background: var(--accent); }
.choice.sel .box::after { content: ""; width: 9px; height: 5px; border-left: 1.5px solid var(--on-accent); border-bottom: 1.5px solid var(--on-accent); transform: rotate(-45deg) translateY(-1px); }
.choice.single .box { border-radius: 0; }

/* email / field */
.field { margin-top: var(--s-lg); }
.field label { display: block; font-family: var(--font-display); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 10px; }
.field input {
  width: 100%; background: transparent; border: none; border-bottom: 1px solid var(--hairline);
  font-family: var(--font-display); font-size: 22px; color: var(--ink); padding: 10px 2px; border-radius: 0;
}
.field input:focus { outline: none; border-bottom-color: var(--field-focus); }
.field input::placeholder { color: var(--muted-2); }
.field .note { font-size: 13px; color: var(--muted-2); margin-top: 12px; }
.consent { margin-top: var(--s-md); display: flex; flex-direction: column; gap: 12px; }
.consent-row { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); line-height: 1.5; cursor: pointer; }
.consent-row input { margin-top: 3px; flex: none; width: 16px; height: 16px; accent-color: var(--accent-ink); }
.inline-link { color: var(--accent-ink); text-decoration: underline; }

/* Back and Continue sit together, bottom right. They were pinned to opposite
   ends by space-between, which on a wide screen put ~1200px between the two
   controls of the same decision: the hand has to cross the whole window to
   correct an answer, and Back stops reading as part of this question at all.
   Paired, with Back first, so the destructive-ish one is not under the thumb
   that is reaching for Continue. */
.intake-foot { padding: 20px var(--margin); border-top: 1px solid var(--hairline); display: flex; justify-content: flex-end; align-items: center; gap: 20px; }
.back-link { font-family: var(--font-display); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); }
.back-link:hover { color: var(--ink); }
.back-link[hidden] { visibility: hidden; }

/* result */
.result .band { font-family: var(--font-display); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-ink); }
.result .band-name { font-size: clamp(32px, 5vw, 52px); font-weight: 700; letter-spacing: -0.03em; margin-top: 10px; }
.result .lead-driver { margin-top: var(--s-md); font-size: 18px; color: var(--muted); max-width: 58ch; }
.result .driver-tag { display: inline-block; font-family: var(--font-display); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; background: var(--chip-bg); color: var(--chip-ink); padding: 6px 12px; margin-top: var(--s-md); }
.result .what-next { margin-top: var(--s-lg); border-top: 1px solid var(--hairline); padding-top: var(--s-md); }
.result .what-next p { color: var(--muted); max-width: 58ch; }
.result .cta-row { margin-top: var(--s-lg); }
/* Flushed left with the body prose below it. It was centred while everything
   under it is left-aligned, which read as a stray line rather than the standing
   disclaimer for the screen. This is now the ONLY place the not-a-diagnosis
   point is made: the per-band copy used to repeat it and no longer does. */
.result .screen-disclaimer { font-family: var(--font-display); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); margin-bottom: var(--s-sm); text-align: left; }

/* ---- result v2: severity ring + elaborated condition ---- */
.result.sev-low  { --sev: var(--sev-low); }
.result.sev-mod  { --sev: var(--sev-mod); }
.result.sev-high { --sev: var(--sev-high); }
.result .res-head { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-top: 4px; }
.result .ring { position: relative; flex: none; width: 150px; height: 150px; }
.result .ring svg { width: 150px; height: 150px; transform: rotate(-90deg); }
.result .ring .track { fill: none; stroke: var(--hairline); stroke-width: 9; }
.result .ring .prog { fill: none; stroke: var(--sev); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 408; stroke-dashoffset: 408; transition: stroke-dashoffset 1s ease; }
.result .ring .ring-num { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.result .ring .ring-num b { font-family: var(--font-serif); font-size: 42px; font-weight: 700; line-height: 1; letter-spacing: -0.03em; color: var(--ink); }
.result .ring .ring-num span { font-family: var(--font-display); font-size: 12px; color: var(--muted-2); margin-top: 4px; }
/* The band name reads in the brand accent, not the severity colour. Red on
   "a strong pull" landed as an alarm about the man; the ring beside it still
   carries the severity, which is where that signal belongs. */
.result .res-band .band-name { color: var(--accent-ink); font-family: var(--font-serif); font-size: clamp(30px, 5vw, 44px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; margin-top: 6px; }
/* Body prose on the result screen is left-aligned. .screen centres everything by
   default, which is right for a one-line question and wrong for a five-line
   paragraph: centred multi-line text is ragged on both edges and has no fixed
   left margin for the eye to return to. The block stays centred in the column,
   only the text inside is flushed left. */
.result .res-interp { margin: 26px auto 0; font-size: 18px; line-height: 1.6; color: var(--ink); max-width: 60ch; text-align: left; }
.result .res-aside { margin: 14px auto 0; font-size: 15px; line-height: 1.55; color: var(--muted); max-width: 58ch; text-align: left; }
.result .res-pattern p.res-nopattern { text-align: left; }
.result .res-pattern { margin-top: 28px; border-top: 1px solid var(--hairline); padding-top: 22px; }
.result .res-pattern h4 { font-family: var(--font-display); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); margin: 0 0 16px; }
.result .res-pattern ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.result .res-pattern li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: baseline; }
.result .res-pattern .pc { font-family: var(--font-display); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sev); white-space: nowrap; }
.result .res-pattern .pd { color: var(--muted); font-size: 16px; line-height: 1.5; }
.result .res-why { margin-top: 26px; border-left: 2px solid var(--sev); padding: 4px 0 4px 18px; }
.result .res-why p { color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 58ch; margin: 0; }
.result .res-why strong { color: var(--ink); }
/* Stakes block on the result screen. Two columns so cost and change are read
   against each other rather than in sequence; on narrow screens they stack and
   the cost column stays first, because it is the one that earns the second. */
/* The result screen centres its prose; centred body text inside two columns and
   a bordered quote reads badly, so this block opts out and keeps only its
   heading and the scroll cue centred. */
.result .res-stakes { margin-top: 30px; border-top: 1px solid var(--hairline); padding-top: 24px; text-align: left; }
.result .res-stakes h4 {
  font-family: var(--font-display); font-size: 12px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2);
  text-align: center; margin: 0 0 20px;
}
.result .stake-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 44px); }
@media (max-width: 720px) { .result .stake-cols { grid-template-columns: 1fr; gap: 24px; } }
.result .stake-lab {
  display: block; font-family: var(--font-display); font-size: 12px; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase; margin-bottom: 10px;
}
/* Red for the cost of standing still, green for what moving gets you. Applied
   to the label, the rule above it and the figures inside, never to a block
   background — a red panel on this page reads as the thing we were told our
   dark mode already looked like. */
.result .stake--cost { --sig: var(--risk); }
.result .stake--gain { --sig: var(--gain); }
.result .stake { border-top: 2px solid var(--sig); padding-top: 14px; }
.result .stake .stake-lab { color: var(--sig); }
.result .stake li strong { color: var(--sig); font-weight: 700; }
/* The headline figure, set large enough to be read before the sentence around
   it. Inline rather than a separate stat block so it still scans as one claim.
   line-height is pinned so the oversized glyphs do not open up the paragraph. */
.result .stat-num {
  font-family: var(--font-serif); font-size: 1.75em; font-weight: 700;
  letter-spacing: -0.02em; line-height: 0.9; color: var(--sig);
  vertical-align: -0.06em;
}
/* The control-group number carries the opposite meaning to the column it sits
   in: this is what doing nothing got them, so it takes the risk colour. */
.result .stat-against { color: var(--risk) !important; }
.result .stake ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.result .stake li { color: var(--muted); font-size: 15px; line-height: 1.6; }
.result .stake li em { color: var(--ink); font-style: italic; }
/* Superscript citation markers: readable as links, never big enough to break
   the line rhythm of the claim they sit on. */
.result .stake-ref {
  font-size: 10px; vertical-align: super; margin-left: 2px; padding: 0 1px;
  color: var(--accent-ink); text-decoration: none; font-weight: 600;
}
.result .stake-ref:hover, .result .stake-ref:focus-visible { text-decoration: underline; }

.result .stake-quotes { margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.result .stake-quotes blockquote {
  margin: 0; padding-left: 16px; border-left: 2px solid var(--hairline);
  color: var(--ink); font-size: 16px; line-height: 1.55; text-wrap: pretty;
}
.result .stake-quotes figcaption { color: var(--muted-2); font-size: 12.5px; line-height: 1.5; }

.result .stake-note {
  margin-top: 22px; color: var(--muted); font-size: 15px; line-height: 1.6;
  border-left: 2px solid var(--hairline); padding-left: 16px;
}
.result .stake-note strong { color: var(--ink); }
.result .stake-src { margin-top: 16px; color: var(--muted-2); font-size: 12px; line-height: 1.55; }

/* The cue down to the plan. A nudge, not a countdown. */
/* Was a muted label with a hairline under it. On a phone that read as ornament,
   so nobody pressed it and some did not realise there was more below at all.
   Now an outlined button at readable size: obviously a thing you can press. */
.result .res-jump {
  display: block; margin: 30px auto 0; padding: 14px 26px;
  font-family: var(--font-display); font-size: 15px; font-weight: 600; letter-spacing: .02em;
  color: var(--accent-ink); background: transparent;
  border: 1.5px solid var(--accent-ink); border-radius: 999px;
  cursor: pointer; transition: background .18s ease, color .18s ease;
}
.result .res-jump:hover { background: var(--accent-ink); color: var(--bg); }
.result .res-jump:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.result .res-jump span { display: inline-block; margin-left: 6px; }

/* Clean-bill copy: same weight as the interpretation above it, not a footnote.
   A man being told he does not have a problem should not have to squint at it. */
.result .res-nopattern { color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 58ch; margin: 0 auto; }
.result .res-clean { color: var(--muted); font-size: 16px; line-height: 1.65; max-width: 60ch; margin: 0 auto 14px; text-align: left; }
.result .res-clean:last-child { margin-bottom: 0; }
.result .res-clean em { color: var(--ink); font-style: italic; }

/* Plan screen. Left-aligned throughout: this is a document a man reads and acts
   on, not a result to absorb at a glance. */
.plan { text-align: left; }
.plan .qnum, .plan .qtext, .plan .qsub { text-align: left; }
.plan .qsub { max-width: 60ch; }
.plan-block { margin-top: 30px; border-top: 1px solid var(--hairline); padding-top: 20px; }
.plan-block h4 {
  font-family: var(--font-display); font-size: 12px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin: 0 0 12px;
}
.plan-block p { color: var(--muted); font-size: 16px; line-height: 1.65; max-width: 62ch; margin: 0; }
.plan-block p strong { color: var(--ink); }
.plan-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.plan-list li { display: grid; gap: 3px; max-width: 62ch; }
.plan-key { color: var(--ink); font-size: 15px; font-weight: 600; }
.plan-val { color: var(--muted); font-size: 15px; line-height: 1.6; }
.plan-foot { margin-top: 30px; color: var(--muted-2); font-size: 14px; line-height: 1.6; max-width: 62ch; }

/* Did it save? The one thing on this screen that is about us rather than him,
   so it stays a quiet line rather than a banner — but it does have to be
   legible, because "I answered all that and I have no idea if it went
   anywhere" is its own small distress. Green and red are the standard signal
   here and nothing else on this screen competes for them. */
.plan-saved {
  margin: 14px 0 0; padding: 12px 14px; border-radius: 6px;
  border: 1px solid var(--hairline); background: color-mix(in srgb, var(--ink) 4%, transparent);
  color: var(--muted); font-size: 15px; line-height: 1.6; max-width: 62ch;
}
.plan-saved strong { color: var(--ink); }
.plan-saved.is-ok  { border-color: color-mix(in srgb, #2E7D32 45%, var(--hairline)); }
.plan-saved.is-bad { border-color: color-mix(in srgb, #C62828 55%, var(--hairline)); }
/* A button that reads as a link: this is a retry, not a second call to action,
   and styling it as a button would compete with the plan itself. */
.link-btn {
  background: none; border: 0; padding: 0; font: inherit; cursor: pointer;
  color: var(--accent-ink); text-decoration: underline;
}

/* ---- conversion block on the result screen ---------------------------------
   Three jobs: show him he is nearly through something he already started, make
   the offer concrete enough to evaluate, and give him one thing he can do
   tonight. Colour is used only on the progress marks and the if-then line; the
   rest carries its weight through type and space, because a screen that shouts
   at a man who just admitted something hard reads as a sales page. */
.result .res-offer { margin-top: 34px; border-top: 1px solid var(--hairline); padding-top: 26px; text-align: left; }

/* Endowed progress: two of three already done. */
.result .res-steps {
  list-style: none; margin: 0 0 22px; padding: 0;
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
}
.result .res-steps li {
  display: flex; align-items: center; gap: 7px;
  font-family: var(--font-display); font-size: 11px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2);
}
.result .res-steps li::before {
  content: ""; width: 14px; height: 14px; border-radius: 50%;
  border: 1.5px solid var(--muted-2); flex: none;
}
.result .res-steps li.done { color: var(--gain); }
.result .res-steps li.done::before {
  border-color: var(--gain); background: var(--gain);
  /* tick, drawn with a mask so it inherits the token in both themes */
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3.4 7.2l2.4 2.4 4.8-5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat, linear-gradient(#000, #000);
  -webkit-mask-composite: destination-out; mask-composite: exclude;
}
.result .res-steps li + li::after { content: none; }

.result .offer-lead { color: var(--muted); font-size: 17px; line-height: 1.6; max-width: 60ch; margin: 0 0 20px; }
.result .offer-lead strong { color: var(--ink); }

.result .offer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 560px) { .result .offer-grid { grid-template-columns: 1fr; } }
.result .offer-tile {
  display: grid; grid-template-columns: 22px 1fr; grid-template-rows: auto auto;
  column-gap: 12px; row-gap: 2px; align-items: start;
  border: 1px solid var(--hairline); border-radius: 10px; padding: 14px 16px;
  background: var(--card);
}
.result .ot-icon { width: 22px; height: 22px; grid-row: 1 / span 2; color: var(--accent-ink); margin-top: 2px; }
.result .ot-lab  { color: var(--ink); font-size: 15px; font-weight: 600; }
.result .ot-note { color: var(--muted-2); font-size: 13.5px; line-height: 1.45; }

/* The if-then plan. Given the most visual weight on the screen after the score,
   because it is the one thing here he can act on without us. */
.result .res-commit {
  margin-top: 26px; border: 1px solid var(--gain); border-radius: 12px;
  padding: 20px 22px; text-align: left;
}
.result .res-commit h4 {
  font-family: var(--font-display); font-size: 12px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--gain); margin: 0 0 10px;
}
.result .commit-intro { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 0 0 12px; max-width: 60ch; }
.result .commit-line {
  color: var(--ink); font-size: clamp(17px, 2.2vw, 20px); line-height: 1.45;
  margin: 0; max-width: 58ch;
}
.result .commit-line strong { color: var(--gain); font-weight: 700; }
.result .commit-note { color: var(--muted-2); font-size: 13px; line-height: 1.5; margin: 12px 0 0; }

.result .cta-row--convert { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 30px; }
.result .cta-row--convert .btn { width: 100%; }
.result .cta-micro { color: var(--muted-2); font-size: 13px; text-align: center; }

.result .res-next { margin-top: 26px; }
.result .res-next p { color: var(--muted); font-size: 17px; max-width: 58ch; }
@media (prefers-reduced-motion: reduce) { .result .ring .prog { transition: none; } }

/* ---------- gut-check (interactive self-diagnosis) ---------- */
.gutcheck { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: var(--s-xl); align-items: start; }
.gutcheck-intro .eyebrow { display: block; margin-bottom: var(--s-md); }
.gutcheck-intro .headline { margin-bottom: var(--s-md); }
.gutcheck-intro .body { max-width: 40ch; }

.gutcheck-tally { margin-top: var(--s-lg); display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 12px; }
.tally-num { font-family: var(--font-serif); font-size: 60px; font-weight: 700; line-height: 1; color: var(--accent-ink); font-variant-numeric: lining-nums tabular-nums; }
.tally-of { font-family: var(--font-display); font-size: 16px; letter-spacing: 0.04em; color: var(--muted-2); }
.tally-msg { flex-basis: 100%; margin-top: 10px; font-family: var(--font-display); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); transition: color .2s ease; }
.gutcheck-tally[data-on] .tally-msg { color: var(--accent-ink); }

.checklist { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.check-item {
  width: 100%; display: flex; align-items: center; gap: 18px; text-align: left;
  background: var(--card); border: 1px solid var(--hairline); border-left: 3px solid var(--hairline);
  padding: 20px 22px; border-radius: var(--radius-card, 10px); color: var(--muted);
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.check-item:hover { border-color: var(--ink); transform: translateX(3px); }
.check-item:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* The outline is an SVG rect rather than a CSS border, so it can stroke itself
   on when the row enters (see "SCROLL TREATMENT · TICK" at the bottom of this
   file). Same 22px box, same 1.5px line, same colours — the rect is inset .75
   in a 0 0 22 22 viewBox, which is exactly where the old border sat. Everything
   that used to set border-color now sets stroke. */
.check-box {
  flex: none; width: 22px; height: 22px;
  position: relative; transition: background .18s ease;
}
.check-box .box-draw { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.check-box .box-line { fill: none; stroke: var(--muted-2); stroke-width: 1.5; transition: stroke .18s ease; }
.check-item:hover .box-line { stroke: var(--ink); }
.check-box::after {
  content: ""; position: absolute; left: 7px; top: 3px; width: 5px; height: 10px;
  border: solid var(--on-accent); border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0); transition: transform .15s ease;
}
.check-text { flex: 1; font-family: var(--font-display); font-size: 18px; line-height: 1.3; }
/* The answer a ticked item earns. Sibling of the button, so aria-pressed alone
   reveals it — no JS, and nothing for the tally script to keep in sync.
   padding-left matches where .check-text starts: 3px left border + 22px padding
   + 22px box + 18px gap. Miss the border and it sits 3px proud of the option. */
.check-answer {
  display: none; margin: 10px 0 2px; padding-left: 65px;
  font-family: var(--font-display); font-size: 15px; line-height: 1.55; color: var(--accent-ink);
}
.check-item[aria-pressed="true"] + .check-answer { display: block; }

.check-item[aria-pressed="true"] {
  background: color-mix(in srgb, var(--accent) 7%, var(--card));
  border-left-color: var(--accent-ink); color: var(--ink);
}
.check-item[aria-pressed="true"] .check-box { background: var(--accent); }
.check-item[aria-pressed="true"] .box-line { stroke: var(--accent); }
.check-item[aria-pressed="true"] .check-box::after { transform: rotate(45deg) scale(1); }
/* The .checklist.will-animate / .in rise used to live here. Removed with the
   tick treatment: the rows are not supposed to move, only the boxes are. */

/* ====================================================================
   EFFECTS & MOTION — animated aurora atmosphere, frosted glass, blur-in
   reveals, hero load-in, hover micro-interactions. Theme-aware throughout.
   ==================================================================== */

/* ---- aurora: slow drifting glow blobs behind everything ----
   NOTE: deliberately NO `filter: blur()` — large blur on a fixed/composited
   layer renders as a flat GRAY BOX on iOS Safari. The radial gradients are
   soft on their own (multi-stop, fading within-hue to avoid a gray midtone),
   so we get the same look without the bug. Intensity via --aurora-opacity. */
/* VERTICAL FLOW glow. One document-tall layer (absolute → anchored to the page,
   so it scrolls WITH the content and never smears across seams like the old
   `fixed` version did). A column of overlapping soft glows runs top→bottom and
   meanders only gently left↔right (≈42–58%), so it reads as one continuous
   vertical flow with very subtle horizontal change — not chopped per-section.
   Brightest at the hero (top) and the CTA/footer (bottom). Colour = --accent. */
.aurora {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none; overflow: hidden;
  opacity: var(--aurora-opacity, 0.5);
  background:
    radial-gradient(46vmax 34vmax at 43% 5%,   color-mix(in srgb, var(--wash) 72%, transparent), transparent 62%),
    radial-gradient(40vmax 30vmax at 57% 19%,  color-mix(in srgb, var(--wash) 36%, transparent), transparent 64%),
    radial-gradient(44vmax 32vmax at 44% 34%,  color-mix(in srgb, var(--wash) 32%, transparent), transparent 64%),
    radial-gradient(40vmax 30vmax at 56% 50%,  color-mix(in srgb, var(--wash) 30%, transparent), transparent 64%),
    radial-gradient(44vmax 32vmax at 45% 66%,  color-mix(in srgb, var(--wash) 32%, transparent), transparent 64%),
    radial-gradient(40vmax 30vmax at 57% 82%,  color-mix(in srgb, var(--wash) 38%, transparent), transparent 64%),
    radial-gradient(50vmax 38vmax at 50% 99%,  color-mix(in srgb, var(--wash) 58%, transparent), transparent 62%);
  background-repeat: no-repeat;
}
.aurora span { display: none; }  /* flow now lives on the .aurora background itself */
@keyframes drift-a { to { transform: translate(20vw, 12vh) scale(1.2); } }
@keyframes drift-b { to { transform: translate(-16vw, -10vh) scale(1.12); } }
@keyframes drift-c { to { transform: translate(-12vw, 16vh) scale(1.28); } }

/* lift all real content above the aurora. NOTE: topbar is intentionally NOT
   listed here — it keeps its own `position: sticky` (z-index:40) so it stays
   pinned to the top of every section. Forcing it relative here would let it
   scroll away. */
main, .footer { position: relative; z-index: 1; }
.hero { position: relative; }

/* ---- hero aurora: slow ambient accent glow drifting BEHIND the hero copy,
   echoing the app. Two soft radial-gradients in --accent at low opacity, sits
   below .wrap (z-index 0 < content's z-index 1) and never intercepts clicks.
   Theme-aware via --accent. Drift animation is gated by the global
   prefers-reduced-motion rule (which kills all `animation`), leaving it static. */
.hero::before {
  content: ""; position: absolute; inset: -10% -5% 0;
  z-index: 0; pointer-events: none;
  background:
    radial-gradient(38vmax 30vmax at 28% 30%, color-mix(in srgb, var(--wash) 28%, transparent), transparent 60%),
    radial-gradient(34vmax 28vmax at 74% 64%, color-mix(in srgb, var(--wash) 20%, transparent), transparent 62%);
  filter: blur(8px);
  opacity: .9;
  animation: heroDrift 27s ease-in-out infinite alternate;
  will-change: transform;
}
.hero > .wrap { position: relative; z-index: 1; }
@keyframes heroDrift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to   { transform: translate3d(3%, 2%, 0) scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none; transform: none; }
}


/* ---- frosted glass: panels + key cards refract the aurora behind them ----
   Panel tint lives on a ::before layer whose top & bottom edges are FEATHERED
   to transparent, so the tinted band fades into the surrounding canvas instead
   of butting against it with a hard line. Content stays fully crisp (it's not
   in the ::before). The feather sits in the section's padding zone, well clear
   of the text. */
/* Sectional gray bands REMOVED — they chopped the page into chunks and blocked
   the vertical glow flow. Sections now flow on the clean canvas with the glow
   running through them; local containment comes from the inner cards (checklist
   items, pricing card), not a full-section band. */
.section--panel { position: relative; }
.section--panel > * { position: relative; z-index: 1; }
.price-card {
  background: color-mix(in srgb, var(--card) var(--glass), transparent);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  backdrop-filter: blur(16px) saturate(120%);
}
.check-item {
  background: color-mix(in srgb, var(--card) var(--glass-2), transparent);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

/* ---- hero copy uses the same scroll-reveal as everything else, so it
   replays whenever the hero (re)enters view — not just on first load ---- */
.hero .lead.r-in    { transition-delay: .10s; }
.hero .cta-row.r-in { transition-delay: .20s; }

/* ---- generic blur-in reveal (JS adds .r-pre then .r-in on scroll) ---- */
/* NOTE: no `filter: blur()` here — it gray-boxes on iOS Safari. Fade + rise only. */
.r-pre { opacity: 0; transform: translateY(24px); }
.r-in  {
  opacity: 1; transform: none;
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
}

/* ---- richer hover micro-interactions ---- */
/* --mx/--my carry the magnetic-hover nudge (set by an IIFE on pointer-fine
   devices only); they default to 0 so non-magnetic states are unaffected. The
   transform composes the magnetic offset, the hover lift, and the press scale.
   Press feedback (:active) springs to ~0.96 with a snappy curve. */
.btn--primary {
  --mx: 0px; --my: 0px; --lift: 0px; --press: 1;
  transform: translate3d(var(--mx), calc(var(--my) + var(--lift)), 0) scale(var(--press));
  transition: background .18s ease,
              transform .22s cubic-bezier(.34,1.56,.64,1),
              box-shadow .25s ease;
}
.btn--primary:hover { --lift: -2px;
  box-shadow: 0 10px 34px color-mix(in srgb, var(--accent) 42%, transparent);
}
.btn--primary:active { --press: .96; transition: transform .09s cubic-bezier(.34,1.56,.64,1); }
/* while magnetic JS is tracking the pointer, follow it instantly (no lag) */
.btn--primary.is-magnetic { transition: background .18s ease, box-shadow .25s ease; }
@media (prefers-reduced-motion: reduce) {
  .btn--primary { transform: none; }
}
.price-card { transition: border-color .2s ease, transform .35s cubic-bezier(.2,.7,.2,1),
              opacity .5s ease, box-shadow .35s ease; }
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 50px color-mix(in srgb, var(--accent) 22%, transparent);
}

/* ---- accessibility: no motion, no blur-in, quiet aurora ---- */
@media (prefers-reduced-motion: reduce) {
  .aurora span { animation: none !important; }
  .r-pre { opacity: 1; transform: none; filter: none; }
}

/* ---- side scroll-spy: calm section ticks on the right edge ---- */
.spynav {
  position: fixed; right: 22px; top: 50%; transform: translateY(-50%);
  z-index: 40; display: flex; flex-direction: column; gap: 16px; align-items: flex-end;
}
.spynav__dot { position: relative; display: block; padding: 5px 0; cursor: pointer; }
/* Drawn at its longest (34px) and scaled DOWN, so the length change is a
   transform rather than an animated width. The active tick changes on scroll,
   so a width transition here relayouts the nav on a scroll-driven signal.
   transform-origin is right because margin-left:auto pins the right edge —
   scaling from there is pixel-identical to the width animation it replaces. */
.spynav__line {
  display: block; width: 34px; height: 2px; margin-left: auto;
  background: var(--muted-2); opacity: .45;
  transform: scaleX(0.4706); transform-origin: 100% 50%;
  transition: transform .32s cubic-bezier(.2,.7,.2,1), background .25s ease, opacity .25s ease;
}
.spynav__dot:hover .spynav__line { transform: scaleX(0.8824); opacity: 1; }
.spynav__dot.is-active .spynav__line { transform: scaleX(1); opacity: 1; background: var(--accent); }
.spynav__label {
  position: absolute; right: 24px; top: 50%; transform: translateY(-50%) translateX(6px);
  font-family: var(--font-display); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted-2); white-space: nowrap; pointer-events: none;
  opacity: 0; transition: opacity .25s ease, transform .25s ease, color .25s ease;
}
.spynav__dot:hover .spynav__label { opacity: 1; transform: translateY(-50%); color: var(--ink); }
.spynav__dot.is-active .spynav__label { color: var(--accent-ink); }
@media (max-width: 980px) { .spynav { display: none; } }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  :root { --margin: 24px; }
  /* Hide the nav links on mobile, never the CTA — the unscoped version of this
     rule also matched the <a class="btn"> CTA on subpages, so "Join the
     waitlist" was invisible on phones everywhere except index. */
  .topbar nav a:not(.btn) { display: none; }
  /* Links hide here, leaving the toggle + CTA. Send the (borderless) toggle to
     the far right, past the CTA, with clear space around it; keep the CTA
     compact so the wordmark + CTA + toggle all fit and breathe. */
  .topbar nav { gap: 22px; }
  .topbar nav .theme-toggle { order: 2; }
  /* Three controls plus the wordmark is tight on a 360px phone: drop to the
     flag alone, which is the part that reads as "language" anyway. */
  .topbar nav { gap: 14px; }
  .lang-toggle { padding: 0 8px; }
  .lang-toggle span { display: none; }
  .topbar nav .btn--primary { padding: 11px 18px; font-size: 14px; }
  .gutcheck { grid-template-columns: 1fr; gap: var(--s-lg); }
  /* Stacked, the CTA sits between the counter and the list, so revealing it
     pushed the list down and shoved the row you just tapped off screen.
     `display: contents` promotes the intro's children to grid items so the
     CTA can be ordered after the checklist on phones only. */
  .gutcheck-intro { display: contents; }
  .gutcheck-intro > * { order: 0; }
  .checklist { order: 1; }
  .gutcheck > .gutcheck-cta, .gutcheck-intro > .gutcheck-cta { order: 2; }
  .gutcheck-intro .body { max-width: none; }
  .check-text { font-size: 16px; }
  .split, .pricing-grid, .faq-grid { grid-template-columns: 1fr; gap: var(--s-lg); }
  .likert-row { gap: 6px; }
  .likert-btn { font-size: 13px; }
}
@media (max-width: 560px) {
  /* Phone top bar: the wordmark + CTA + toggle were colliding on narrow
     screens (32px wordmark left no room, so the red CTA overlapped the logo).
     Shrink the wordmark, compact the CTA, and tighten the gap so all three fit
     on one line and sit evenly: logo left, CTA + toggle right, vertically
     centred (align-items already centre). */
  /* Extra top headroom: inside iOS / Telegram in-app webviews the sticky bar
     can ride a few px under the browser chrome mid-scroll and shave the top off
     the wordmark. The asymmetric top padding keeps the letters clear of the cut. */
  .topbar { padding: 20px var(--margin) 14px; }
  .wordmark { font-size: 25px; }
  .topbar nav { gap: 12px; }
  .topbar nav .btn--primary { padding: 9px 14px; font-size: 13px; white-space: nowrap; }
  .topbar nav .theme-toggle { width: 34px; height: 34px; }
}

/* ====================================================================
   CONTINUOUS FLOW — no scroll-snap, no forced full-screen panels. Sections
   flow into one another with generous breathing room and reveal (fade/slide)
   as they enter view, so the page reads as one smooth scroll instead of
   discrete screens. Buttery native scrolling on phone; topbar always visible.
   The hero alone keeps full-viewport presence as the opening statement. */
html {
  scroll-padding-top: 76px;            /* in-page anchor jumps clear the sticky topbar */
}
.hero {
  min-height: 100vh;
  min-height: 100dvh;                  /* mobile: track the dynamic viewport (URL bar) */
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Clip the hero glow horizontally: .hero::before uses inset:-10% -5% 0, so its
     soft radial bleeds ~5% past the right edge. It's pointer-events:none, so it's
     invisible but still widens the document → a few px of phantom sideways scroll
     on phones. overflow-x:clip trims it without making a scroll container. */
  overflow-x: clip;
}
/* sections keep their existing .section vertical rhythm (var(--s-xl) padding) */

/* ============================================================
   BLOG — index cards + long-form article
   Used by /blog.html and /blog/*.html. Deliberately narrow measure
   (68ch) for reading; everything else inherits the site tokens.
   ============================================================ */

/* --- index --- */
.blog-list { margin-top: var(--s-lg); display: grid; gap: 18px; }
.postcard {
  display: block;
  text-decoration: none;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  background: color-mix(in srgb, var(--card) var(--glass), transparent);
  padding: clamp(22px, 3.4vw, 34px);
  transition: border-color .18s ease, transform .18s ease;
}
.postcard:hover { border-color: var(--accent); transform: translateY(-2px); }
.postcard .pc-kicker {
  font-family: var(--font-display); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent-ink);
}
.postcard .pc-title {
  margin-top: 12px;
  font-size: clamp(22px, 3vw, 32px); font-weight: 600; letter-spacing: -0.02em;
  color: var(--ink); text-wrap: balance;
}
.postcard .pc-dek { margin-top: 12px; color: var(--muted); font-size: 17px; line-height: 1.6; max-width: 62ch; }
.postcard .pc-meta {
  margin-top: 18px; font-family: var(--font-display); font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2);
}

/* --- article --- */
.post { max-width: 68ch; margin: 0 auto; }
.post-head { padding-bottom: var(--s-md); }
.post-head h1 {
  margin-top: 14px;
  font-size: clamp(32px, 5.4vw, 56px); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.06; text-wrap: balance;
}
.post-head .post-dek {
  margin-top: 20px; font-size: clamp(18px, 2vw, 21px); line-height: 1.55;
  color: var(--muted); font-weight: 400;
}
.post-head .post-meta {
  margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--hairline);
  font-family: var(--font-display); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted-2);
}
.post h2 {
  margin-top: clamp(44px, 6vw, 68px);
  font-size: clamp(23px, 3vw, 30px); font-weight: 600; letter-spacing: -0.02em;
  text-wrap: balance;
}
.post p { margin-top: 18px; font-size: 18px; line-height: 1.72; color: var(--muted); }
.post p strong { color: var(--ink); font-weight: 600; }
.post p a { color: var(--accent-ink); }
/* first paragraph after a heading sits tighter to it */
.post h2 + p { margin-top: 14px; }

/* pull quote */
.post-quote {
  margin: clamp(40px, 5vw, 60px) 0 0;
  padding: 0 0 0 clamp(20px, 3vw, 32px);
  border-left: 2px solid var(--accent);
}
.post-quote p {
  margin: 0;
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(24px, 3.6vw, 36px); line-height: 1.18;
  letter-spacing: -0.02em; color: var(--ink);
}
.post-quote cite {
  display: block; margin-top: 16px; font-style: normal;
  font-family: var(--font-display); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted-2);
}

/* figure */
.post-fig { margin: clamp(40px, 5vw, 60px) 0 0; }
.post-fig img {
  display: block; width: 100%; height: auto;
  border-radius: var(--radius-card); border: 1px solid var(--hairline);
}

/* Hand-drawn inline diagrams. Everything is keyed to the theme tokens, so they
   invert with the page instead of sitting on a white rectangle in dark mode. */
.dia { display: block; width: 100%; height: auto; overflow: visible; }
.dia .organ  { fill: var(--ink); fill-opacity: .045; stroke: var(--ink); stroke-opacity: .3; stroke-width: 2; }
.dia .fold   { fill: none; stroke: var(--ink); stroke-opacity: .17; stroke-width: 1.6; stroke-linecap: round; }
.dia .tract  { fill: none; stroke: var(--accent); stroke-width: 3.5; stroke-linecap: round; }
.dia .ah     { fill: var(--accent); }
.dia .dot    { fill: var(--accent); fill-opacity: .5; }
.dia .node   { fill: var(--accent); }
.dia .node-halo { fill: var(--accent); fill-opacity: .14; }
.dia .leader { fill: none; stroke: var(--ink); stroke-opacity: .3; stroke-width: 1; }
.dia .lab    { fill: var(--ink); font-family: var(--font-display); font-size: 13px; letter-spacing: .06em; }
.dia .lab-sub, .dia .lab-sm, .dia .tick, .dia .axis-lab {
  fill: var(--muted-2); font-family: var(--font-display); font-size: 12px; letter-spacing: .02em;
}
.dia .tick, .dia .axis-lab { font-size: 11px; letter-spacing: .05em; }
.dia .marker-lab { fill: var(--ink); }
.dia .grid   { stroke: var(--ink); stroke-opacity: .11; stroke-width: 1; }
.dia .axis   { stroke: var(--ink); stroke-opacity: .3; stroke-width: 1.2; }
.dia .series { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.dia .pt     { fill: var(--accent); }
.dia .marker { stroke: var(--ink); stroke-opacity: .38; stroke-width: 1.5; stroke-dasharray: 5 5; }
.dia .frame   { fill: none; stroke: var(--ink); stroke-opacity: .28; stroke-width: 1.4; }
.dia .divider { stroke: var(--ink); stroke-opacity: .28; stroke-width: 1.4; }
.dia .band    { fill: var(--accent); fill-opacity: .09; }
/* A band that has to be read as a range, not felt as a tint: at .09 on the dark
   theme it was invisible, which left its figure floating free of the ages it
   belongs to. */
.dia .band--range { fill-opacity: .3; }
.dia .big     { fill: var(--ink); font-family: var(--font-display); font-size: 44px; font-weight: 700; letter-spacing: -0.03em; }
/* secondary headline figure: same weight, stepped down so two big numerals in
   one chart read as primary and supporting rather than competing. */
.dia .big--sm { font-size: 30px; }
/* the SVGs are drawn at a fixed 760-unit width; below that the mono labels get
   too small to read, so give the figure a horizontal scroll rather than shrink */
@media (max-width: 560px) {
  .post-fig:has(.dia) { overflow-x: auto; }
  .post-fig .dia { width: 560px; }
}
.post-fig figcaption { margin-top: 12px; font-family: var(--font-display); font-size: 11px; letter-spacing: 0.06em; color: var(--muted-2); line-height: 1.6; }

/* callout (the analogy / the aside) */
.post-callout {
  margin: clamp(40px, 5vw, 60px) 0 0;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  background: color-mix(in srgb, var(--card) var(--glass-2), transparent);
}
.post-callout .pc-lab {
  font-family: var(--font-display); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted-2);
}
.post-callout p { margin-top: 10px; font-size: 17px; }

/* symptom chips */
.post-chips { margin: 28px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.post-chips li {
  font-family: var(--font-display); font-size: 13px; letter-spacing: 0.02em;
  color: var(--chip-ink); background: var(--chip-bg);
  border-radius: var(--radius); padding: 9px 14px;
}

/* end matter: disclaimer, sources, CTA */
.post-end { margin-top: clamp(56px, 7vw, 88px); padding-top: var(--s-md); border-top: 1px solid var(--hairline); }
.post-end h3 { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.post-end h3 + p, .post-end ol { margin-top: 10px; }
.post-end p, .post-end li { font-size: 14px; line-height: 1.6; color: var(--muted-2); }
.post-end ol { padding-left: 20px; }
.post-end li { margin-top: 8px; }
.post-end a { color: var(--accent-ink); }
.post-cta {
  margin-top: var(--s-lg); padding-top: var(--s-md); border-top: 1px solid var(--hairline);
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px;
}
.post-cta .lead { margin: 0; flex: 1 1 260px; }

@media (max-width: 640px) {
  .post p { font-size: 17px; }
  body { font-size: 16px; }
}

/* ============================================================
   PARENT WAITLIST FORM (/parents.html)
   Small self-contained form. parents.html does not load app.js,
   so this is styled from the shared tokens only.
   ============================================================ */

/* [hidden] is display:none in the UA sheet, which any author display rule
   silently outranks — .cta-row sets display:flex, so hiding it from JS did
   nothing. Scoped to .cta-row on purpose: a blanket [hidden] rule would break
   .back-link[hidden], which uses visibility to keep its layout space. */
.cta-row[hidden] { display: none; }

/* Under-18 outcome in the age gate: signposting, not a wall. */
.u18 { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--hairline); max-width: 60ch; }
.u18 .u18-lead { margin-top: 18px; }
.u18-links { list-style: none; margin: 14px 0 22px; padding: 0; }
.u18-links li { padding: 12px 0; border-bottom: 1px solid var(--hairline); }
.u18-links li:first-child { border-top: 1px solid var(--hairline); }
.u18-links a { font-size: 17px; font-weight: 500; }
.u18-links span {
  display: block; margin-top: 5px;
  font-family: var(--font-display); font-size: 12px; letter-spacing: .03em; color: var(--muted-2);
}
.u18 .u18-parent { margin-top: 22px; }
.u18-cta { justify-content: center; margin-top: 14px; }

/* Gut-check CTA: revealed as soon as one box is ticked. */
.gutcheck-cta { margin-top: 26px; animation: gutCtaIn .32s ease both; }
.gutcheck-cta-line { font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 42ch; margin-bottom: 18px; }
.gutcheck-cta[hidden] { display: none; }
@keyframes gutCtaIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .gutcheck-cta { animation: none; } }

.pform {
  margin-top: var(--s-md);
  max-width: 560px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  background: color-mix(in srgb, var(--card) var(--glass), transparent);
  padding: clamp(24px, 3.4vw, 34px);
}
.pf-row { margin-top: 22px; }
.pf-row:first-child { margin-top: 0; }
.pf-lab {
  display: block; margin-bottom: 9px;
  font-family: var(--font-display); font-size: 11px; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--muted-2);
}
.pf-input, .pf-select {
  width: 100%; font-family: inherit; font-size: 16px; color: var(--ink);
  background: var(--bg); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 13px 14px;
  transition: border-color .15s ease;
}
.pf-input:focus, .pf-select:focus { outline: none; border-color: var(--field-focus); }
.pf-input::placeholder { color: var(--muted-2); }

/* one row per child: relation + age band */
.pf-kid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; align-items: center; }
.pf-kid .pf-kidno {
  grid-column: 1 / -1; margin-bottom: 2px;
  font-family: var(--font-display); font-size: 11px; letter-spacing: 0.06em; color: var(--muted-2);
}
@media (max-width: 460px) { .pf-kid { grid-template-columns: 1fr; } }

.pf-check {
  display: flex; gap: 12px; align-items: flex-start;
  margin-top: 26px; font-size: 14px; line-height: 1.55; color: var(--muted);
  cursor: pointer;
}
.pf-check input { margin-top: 3px; width: 17px; height: 17px; flex: none; accent-color: var(--accent-ink); cursor: pointer; }
.pf-check a { color: var(--accent-ink); }

.pf-fs { border: 0; padding: 0; min-width: 0; }
.pf-fs .pf-lab { padding: 0; }
.pf-hint { margin: -2px 0 10px; font-size: 13px; line-height: 1.5; color: var(--muted-2); }
.pf-select + .pf-hint { margin: 9px 0 0; }
.pf-opt { display: flex; gap: 11px; align-items: flex-start; margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--ink); cursor: pointer; }
.pf-opt input { margin-top: 3px; width: 17px; height: 17px; flex: none; accent-color: var(--accent-ink); cursor: pointer; }
textarea.pf-input { resize: vertical; min-height: 84px; }

.pform .pf-submit { margin-top: 26px; }
.pf-msg { margin-top: 14px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.pf-msg.is-err { color: var(--accent-ink); }
.pf-note { margin-top: 16px; font-family: var(--font-display); font-size: 11px; letter-spacing: 0.05em; color: var(--muted-2); line-height: 1.7; }

/* ============================================================
   HERO PROOF STRIP + OFFER LINE
   The credibility slot above the headline, and the offer restated
   under the CTA ("lead with the offer" — it was buried in pricing).
   ============================================================ */
.hero-proof {
  list-style: none; margin: 0 0 22px; padding: 0;
  display: flex; flex-wrap: wrap; gap: 10px 14px;
}
.hero-proof li {
  font-family: var(--font-display); font-size: 12px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted-2);
  display: inline-flex; align-items: center;
}
/* Hairline separators between claims, not bullets. Trailing (::after on all but
   the last) rather than leading: the strip wraps to two lines now that the hero
   shares its row with the phone, and a leading separator orphaned at the start
   of line two reads as a mistake. A trailing one reads as "continues below". */
.hero-proof li:not(:last-child)::after {
  content: ""; width: 1px; height: 11px; margin-left: 14px;
  background: var(--hairline);
}

/* the displaced hero paragraph, given its own beat below the fold */
.creed { padding: var(--s-lg) 0 var(--s-xl); }
.creed-lead {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(22px, 3.2vw, 34px); line-height: 1.25;
  letter-spacing: -0.02em; color: var(--ink); max-width: 26ch;
  text-wrap: balance;
}
.creed-body {
  margin-top: 20px; font-size: 17px; line-height: 1.7;
  color: var(--muted); max-width: 58ch;
}
@media (max-width: 640px) {
  /* The claims wrap to their own lines on a phone, and the inline separator then
     renders as a stray tick indenting lines 2 and 3. Stack them properly. */
  .hero-proof { flex-direction: column; gap: 7px; }
  .hero-proof li { font-size: 11px; }
  .hero-proof li + li::before { display: none; }
}

/* creed: text left, the symptom diagram right (it was a lot of empty space) */
.creed-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  gap: clamp(28px, 5vw, 72px); align-items: center;
}
.creed-vis { width: 100%; }
/* scroll-linked word reveal, same treatment as the pull quote */
.creed-lead .w { color: var(--ink); opacity: .42; transition: opacity .35s ease; }
.creed-lead .w.lit { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .creed-lead .w { opacity: 1; transition: none; }
}
@media (max-width: 900px) {
  .creed-grid { grid-template-columns: 1fr; gap: var(--s-lg); }
  .creed-vis { max-width: 360px; }
}

/* the symptom diagram */
.dia .berg-tip  { fill: var(--accent); fill-opacity: .22; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; }
.dia .berg-mass { fill: url(#bergDeepGrad); stroke: var(--ink); stroke-opacity: .34; stroke-width: 2; stroke-linejoin: round; }
.dia .berg-g0 { stop-color: var(--ink); stop-opacity: .13; }
.dia .berg-g1 { stop-color: var(--ink); stop-opacity: .03; }
/* facet planes + fissures: they read as ice rather than as a flat blob, and
   sit under the labels in document order so nothing fights the text */
.dia .berg-face { fill: var(--ink); fill-opacity: .07; }
.dia .berg-face--deep { fill-opacity: .045; }
.dia .berg-tipface { fill: var(--accent); fill-opacity: .22; }
.dia .berg-crev { fill: none; stroke: var(--ink); stroke-opacity: .18; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.dia .berg-txt  { fill: var(--muted); font-size: 15px; font-weight: 700; letter-spacing: .01em; }
.dia .waterline { stroke: var(--ink); stroke-opacity: .35; stroke-width: 1.5; stroke-dasharray: 6 5; }

/* --- the iceberg builds itself, once, on entry ---------------------------
   The point of the graphic is that the mass below dwarfs the tip above, so
   the reveal is built to be READ, not just faded on: the tip is uncovered
   upward out of the water in half a second, then the mass is uncovered
   DOWNWARD from the same waterline and keeps going for more than twice as
   long. Same mechanic on both sides; the difference in how long it takes IS
   the argument. Do not "tighten" the mass to match the tip.

   The berg is UNCOVERED, never grown. The first version of this scaled the
   tip and the mass on Y from the waterline, which distorts a solid shape
   along one axis — the silhouette squashed and stretched its way in and read
   as unfolding paper. Here the only things that move are the two clip rects
   (.rv-tip / .rv-mass, in the SVG's <defs>): the paths are drawn at their
   true, final geometry in every single frame and a moving edge exposes them.
   Translation only, so there is no origin to get wrong and no proportion to
   distort.

   Resting state (no class) is the FINISHED diagram: both rects are authored
   at their end position, so translate(0) — the default — is the uncovered
   iceberg. With JS off, without IntersectionObserver, or under reduced motion
   the class is never added and the diagram renders complete. The inline
   script sits directly after the </svg> so .berg-anim lands during parse,
   before first paint, and the start state cannot flash.

   Only transform and opacity move. Nothing here reflows, and the <text>
   labels are opacity-only on purpose: they carry a rotate() presentation
   attribute that any CSS transform would silently wipe out. */
.dia.berg-anim .berg-cap,
.dia.berg-anim .lab,
.dia.berg-anim .berg-txt,
.dia.berg-anim .waterline { opacity: 0; }

/* Start positions. The tip window (y -20..142) is pushed down below the
   waterline so it covers none of the tip; the mass window (y 139..520) is
   pulled up above it so it covers none of the mass. Both animate back to
   translate(0), which is where they are authored. */
.dia.berg-anim .rv-tip  { transform: translateY(162px); }
.dia.berg-anim .rv-mass { transform: translateY(-381px); }
.dia.berg-anim .waterline { transform-box: view-box; transform: scaleX(0); transform-origin: 210px 140px; }

@keyframes bergFade { from { opacity: 0; } to { opacity: 1; } }
/* The tip's window travels UP: its bottom edge is parked at the waterline and
   its TOP edge sweeps from the waterline up to the peak, so the tip surfaces
   out of the water. */
@keyframes bergUncoverUp   { from { transform: translateY(162px); }  to { transform: translateY(0); } }
/* The mass's window travels DOWN: its top edge is parked at the waterline and
   its BOTTOM edge sweeps down to the keel. The two windows leave the waterline
   in opposite directions, so the diagram opens outward from the surface. */
@keyframes bergUncoverDown { from { transform: translateY(-381px); } to { transform: translateY(0); } }
@keyframes bergLine {
  from { opacity: 0; transform: scaleX(0); }
  to   { opacity: 1; transform: scaleX(1); }
}

/* beat 1 (0.00s) the caption, then the tip breaks the surface */
.dia.berg-anim.berg-run .berg-cap { animation: bergFade .5s ease forwards; }
.dia.berg-anim.berg-run .rv-tip { animation: bergUncoverUp .55s cubic-bezier(.22,.9,.3,1) forwards; }
/* beat 2 (0.50s) name it, and rule the waterline under it */
.dia.berg-anim.berg-run .lab       { animation: bergFade .45s ease .5s forwards; }
.dia.berg-anim.berg-run .waterline { animation: bergLine .5s cubic-bezier(.4,0,.2,1) .45s forwards; }
/* beat 3 (0.80s) the mass. Deliberately 1.4s against the tip's 0.55s, on a
   curve that is NOT front-loaded, so it is still visibly descending long after
   the tip finished. That contrast is the whole reveal — do not "tighten" it. */
.dia.berg-anim.berg-run .rv-mass { animation: bergUncoverDown 1.4s cubic-bezier(.3,.15,.2,1) .8s forwards; }
/* beat 4 (1.15s) drivers surface top-to-bottom, each just after the ice front
   passes its depth, so the eye keeps travelling down. nth-of-type counts <text>
   siblings: 1 = top cap, 2 = THE PORN USE, 3-7 = the drivers, 8 = bottom cap. */
.dia.berg-anim.berg-run .berg-txt { animation: bergFade .5s ease forwards; }
.dia.berg-anim.berg-run .berg-txt:nth-of-type(3) { animation-delay: 1.15s; }
.dia.berg-anim.berg-run .berg-txt:nth-of-type(4) { animation-delay: 1.30s; }
.dia.berg-anim.berg-run .berg-txt:nth-of-type(5) { animation-delay: 1.45s; }
.dia.berg-anim.berg-run .berg-txt:nth-of-type(6) { animation-delay: 1.65s; }
.dia.berg-anim.berg-run .berg-txt:nth-of-type(7) { animation-delay: 1.85s; }
/* beat 5 (2.20s) the payoff caption lands last */
.dia.berg-anim.berg-run .berg-cap--deep { animation-delay: 2.2s; }

/* Belt and braces: the script already declines to add .berg-anim under
   reduced motion, this covers the setting being flipped after load. */
@media (prefers-reduced-motion: reduce) {
  .dia.berg-anim .berg-cap,
  .dia.berg-anim .lab,
  .dia.berg-anim .berg-txt,
  .dia.berg-anim .waterline { opacity: 1; animation: none; }
  .dia.berg-anim .rv-tip,
  .dia.berg-anim .rv-mass,
  .dia.berg-anim .waterline { transform: none; animation: none; }
}

/* ---------- About: vision statement ---------- */
/* Closes the About page. Three columns rather than stacked paragraphs: the
   copy is the same, but a lone 62ch column of it read as a wall of text and
   wasted the right half of the page. */
.vision { padding: var(--s-xl) 0 var(--s-lg); border-top: 1px solid var(--hairline); }
.vision-label { display: block; color: var(--accent-ink); margin-bottom: 18px; }
.vision-lead {
  margin: 0; max-width: 20ch;
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(27px, 4.2vw, 44px); line-height: 1.14;
  letter-spacing: -0.025em; color: var(--ink);
  text-wrap: balance;
}
.vision-intro {
  margin: 20px 0 0; max-width: 46ch;
  font-size: 17px; line-height: 1.7; color: var(--muted);
}
.vision-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 4vw, 64px); align-items: center;
}
/* The lead is two sentences now, so the 20ch cap that suited a single short
   statement would break it into a narrow stack inside its own column. */
.vision-grid .vision-lead { max-width: none; font-size: clamp(25px, 3.2vw, 36px); }
.vision-art { margin: 0; }
.vision-art svg { display: block; width: 100%; height: auto; }
@media (max-width: 860px) {
  .vision-grid { grid-template-columns: 1fr; }
}
/* scroll-linked word reveal, same treatment as the home page creed */
.vision-lead .w { color: var(--ink); opacity: .42; transition: opacity .35s ease; }
.vision-lead .w.lit { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .vision-lead .w { opacity: 1; transition: none; }
}

/* ============ SCIENCE PAGE ============================================== */
/* Reuses #parents' block rhythm (.p-block, .p-note, .p-cta) via the shared
   section wrapper; only the evidence-specific pieces are new. Left-aligned
   throughout: this is a document to be read and checked, not scanned. */
#science .sci-hero { max-width: 68ch; }
#science .sci-hero .lead { margin-top: 18px; }
#science .p-block { margin-top: var(--s-xl); }
#science .p-block .subhead { margin-top: 0; }
#science .body, #science .lead { max-width: 66ch; }
#science .body + .body { margin-top: 16px; }
#science .p-note {
  border: 1px solid var(--hairline);
  padding: clamp(22px, 3vw, 32px);
  background: var(--card);
}

/* Numbered evidence items. The number is set large and quiet so the list reads
   as a structure rather than as prose with bullets. */
#science .sci-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 30px; }
#science .sci-item { border-top: 1px solid var(--hairline); padding-top: 20px; }
#science .sci-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 10px; }
#science .sci-num {
  font-family: var(--font-serif); font-size: 26px; font-weight: 700;
  color: var(--muted-2); line-height: 1; letter-spacing: -0.02em; flex: none;
}
#science .sci-item h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; margin: 0; }
#science .sci-item p { color: var(--muted); font-size: 16px; line-height: 1.65; max-width: 64ch; margin: 0; }
#science .sci-item p + p { margin-top: 12px; }
#science .sci-item strong { color: var(--ink); }

/* The caveat under a finding. Deliberately not styled as a warning: it is part
   of the evidence, not an exception to it. */
#science .sci-caveat {
  border-left: 2px solid var(--hairline); padding-left: 14px;
  font-size: 15px !important; color: var(--muted-2) !important;
}

/* Superscript citation markers, same treatment as the intake result screen. */
#science .sci-ref {
  font-size: 10px; vertical-align: super; margin-left: 2px; padding: 0 1px;
  color: var(--accent-ink); text-decoration: none; font-weight: 600;
}
#science .sci-ref:hover, #science .sci-ref:focus-visible { text-decoration: underline; }

/* The claims we refuse to make. */
#science .sci-nots { display: grid; gap: 22px; margin-top: 22px; }
#science .sci-not-claim {
  display: block; font-size: 17px; font-weight: 600; color: var(--ink);
  margin-bottom: 6px;
}
#science .sci-not p { color: var(--muted); font-size: 15.5px; line-height: 1.6; max-width: 64ch; margin: 0; }
#science .sci-not strong { color: var(--ink); }

#science .sci-refs { color: var(--muted-2); font-size: 14px; line-height: 1.6; padding-left: 22px; display: grid; gap: 10px; }
#science .sci-refs li { max-width: 72ch; }
#science .sci-refs li:target { color: var(--ink); }

#science .p-cta { margin-top: var(--s-xl); }

/* ---- science page diagrams ---------------------------------------------
   Copy and figure side by side on desktop, stacked on mobile. Diagrams use the
   same severity/signal tokens as the rest of the site so they follow the theme
   without a second palette. */
#science .sci-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: clamp(24px, 4vw, 48px); align-items: start; }
#science .sci-grid--tight { grid-template-columns: minmax(0, 1fr) minmax(0, 230px); gap: clamp(20px, 3vw, 36px); }
@media (max-width: 780px) {
  #science .sci-grid, #science .sci-grid--tight { grid-template-columns: 1fr; }
  #science .sci-fig { max-width: 340px; }
}
#science .sci-fig { margin: 0; }
#science .sci-fig--wide { margin-top: 34px; border-top: 1px solid var(--hairline); padding-top: 24px; max-width: 560px; }
#science .sci-fig figcaption { color: var(--muted-2); font-size: 12.5px; line-height: 1.5; margin-top: 10px; }
#science .sci-fig-head {
  font-family: var(--font-display); font-size: 12px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin: 0 0 14px;
}

/* 100-square prevalence grid */
#science .sci-dot { fill: var(--ink); fill-opacity: .09; }
#science .sci-dot--on { fill: var(--risk); fill-opacity: .45; }
#science .sci-dot--hi { fill: var(--risk); fill-opacity: 1; }
#science .sci-key { fill: var(--muted-2); font-family: var(--font-display); font-size: 11px; }
#science .sci-key--hi { fill: var(--muted); }
/* Legend swatches must carry the same two opacities as the grid, or the two
   rows look identical and the nesting (5 of the 13) is invisible. */
#science .sci-key-mark { fill: var(--risk); fill-opacity: .45; }
#science .sci-key--hi .sci-key-mark { fill-opacity: 1; }

/* trial bars */
#science .sci-bar--gain { fill: var(--gain); }
#science .sci-bar--flat { fill: var(--ink); fill-opacity: .22; }
#science .sci-base { stroke: var(--ink); stroke-opacity: .3; stroke-width: 1; }
#science .sci-bar-val { fill: var(--gain); font-family: var(--font-serif); font-size: 15px; font-weight: 700; }
#science .sci-bar-val--flat { fill: var(--muted-2); }
#science .sci-bar-lab { fill: var(--muted-2); font-family: var(--font-display); font-size: 10px; letter-spacing: .04em; }
#science .sci-bar-lab--n { fill: var(--muted-2); opacity: .8; }

/* effect-size ruler */
#science .sci-band { fill: var(--muted-2); font-family: var(--font-display); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; opacity: .75; }
#science .sci-pt--gain { fill: var(--gain); }
#science .sci-pt--flat { fill: var(--muted-2); }
#science .sci-pt-lab { fill: var(--ink); font-family: var(--font-display); font-size: 11px; font-weight: 600; }
#science .sci-pt-lab--num { fill: var(--gain); font-family: var(--font-serif); font-size: 16px; font-weight: 700; }
#science .sci-pt-lab--flat { fill: var(--muted-2); font-weight: 500; }

/* Phone mockup on the science page. Drawn in the same token palette as the
   diagrams so it reads as an illustration, which is what it is. */
#science .sci-phone .ph-body { fill: var(--ink); fill-opacity: .07; stroke: var(--ink); stroke-opacity: .18; stroke-width: 1; }
#science .sci-phone .ph-screen { fill: var(--bg); }
#science .sci-phone .ph-card { fill: var(--ink); fill-opacity: .05; stroke: var(--hairline); stroke-width: 1; }
#science .sci-phone .ph-avatar { fill: var(--gain); fill-opacity: .5; }
#science .sci-phone .ph-eyebrow { fill: var(--muted-2); font-family: var(--font-display); font-size: 6px; letter-spacing: .12em; }
#science .sci-phone .ph-name { fill: var(--ink); font-family: var(--font-display); font-size: 8px; font-weight: 600; }
#science .sci-phone .ph-meta { fill: var(--muted-2); font-family: var(--font-display); font-size: 6.5px; }
#science .sci-phone .ph-bar-bg { fill: var(--ink); fill-opacity: .1; }
#science .sci-phone .ph-bar { fill: var(--gain); }
#science .sci-phone .ph-btn { fill: var(--accent); }
#science .sci-phone .ph-btn--ghost { fill: none; stroke: var(--hairline); stroke-width: 1; }
#science .sci-phone .ph-btn-lab { fill: var(--on-accent); font-family: var(--font-display); font-size: 7px; font-weight: 600; }
#science .sci-phone .ph-btn-lab--ghost { fill: var(--muted); }
#science .sci-phone .ph-foot { fill: var(--muted-2); font-family: var(--font-display); font-size: 6.5px; }

/* ====================================================================
   SCROLL TREATMENTS
   Section-specific behaviours, one per section, added 2026-08-30.
   Every one follows the house pattern already used by the price pie
   (index.html, pie.classList.add('drawn')) and the iceberg (.berg-anim
   above): resting CSS is the FINISHED state and a class opts INTO the
   animation, added by an IntersectionObserver that disconnects the element
   after the first entry. With JS off, without IntersectionObserver, or
   under prefers-reduced-motion the class is never added and the page
   renders exactly as it did before any of this existed.

   Nothing here is gated behind @supports (animation-timeline: scroll()).
   Two earlier mocks were, and the whole block silently no-op'd on a
   reviewer's browser. Transform, opacity and stroke-dashoffset only.
   ==================================================================== */

/* ---- SCROLL TREATMENT · STATEMENT (hero headline) -------------------
   Each .ln clips; each .ln-i inside it is the text, which rises into the
   clip. Nothing else in the hero moves — .lead and .cta-row were removed
   from the generic blur-in list only for the headline, they still fade in
   on their own. Two beats, staggered by --i.

   Not the mock's page-colour rectangle: the mock's background was flat, and
   this hero has the aurora gradient behind it, where a --bg rectangle
   sliding across reads as a grey slab (screenshotted before it was
   changed). A clip has no colour to get wrong.

   Resting (.ln-i without .ln-anim on the h1): no transform at all, i.e.
   the headline is simply the headline. -------------------------------- */
.ln {
  display: block; width: fit-content; max-width: 100%;
  position: relative; overflow: hidden;
  /* overflow:hidden would clip the descenders in "quit porn"; the negative
     margin gives the padding back so the h1 box is the same height it was
     before the split (1440: 237px, 390: 166px — measured both ways). */
  padding-bottom: 0.06em; margin-bottom: -0.06em;
}
.ln-i { display: block; }
/* .ln-anim is added by the inline script under the <h1>, during parse, so
   the clipped state is what paints first — never a visible headline that
   then snaps back under the clip. */
.ln-anim .ln-i {
  transform: translate3d(0, 110%, 0); will-change: transform;
  transition: transform .85s cubic-bezier(.33, 0, .15, 1);
  transition-delay: calc(var(--i, 0) * 110ms);
}
.ln-anim .ln.in .ln-i { transform: none; will-change: auto; }

/* ---- SCROLL TREATMENT · TICK (symptom checklist) --------------------
   Each row's checkbox outline strokes itself on as that row enters,
   staggered by the --i already on every <li>. The rows do not move or
   fade. The box ends EMPTY: filling it is the visitor's job, and the
   tally counts aria-pressed, not this.
   Resting (.checklist without .tick-draw): dashoffset 0, a drawn box. -- */
.checklist.tick-draw .box-line {
  stroke-dasharray: 100; stroke-dashoffset: 100;
  transition: stroke-dashoffset .55s cubic-bezier(.65, 0, .35, 1), stroke .18s ease;
  transition-delay: calc(var(--i, 0) * 70ms);
}
.checklist.tick-draw li.in .box-line { stroke-dashoffset: 0; }

/* ---- accessibility: both finish, neither moves --------------------- */
@media (prefers-reduced-motion: reduce) {
  /* Belt and braces: the three scripts already bail before adding their
     class, so these only matter if the preference is switched on after
     load. */
  .ln-anim .ln-i { transform: none !important; transition: none !important; }
  .checklist.tick-draw .box-line { stroke-dashoffset: 0 !important; transition: none !important; }
}

/* Price card: the regular price after the founding year, so the card alone
   answers "what does it cost". */
.price-then { margin: 6px 0 0; font-size: 15px; color: var(--muted, inherit); }

/* Parents header CTA: the long label pushed the page 38px wider than a
   phone and shoved the theme toggle off-screen. */
.cta-short { display: none; }
@media (max-width: 480px) {
  .cta-long { display: none; }
  .cta-short { display: inline; }
}

/* ---- Founder block (11 Oct brief, batch 5): a face and his own words before the features ---- */
.founder-wrap { display: grid; justify-items: start; gap: 18px; max-width: 720px; }
.founder-photo { width: 120px; height: auto; }
.founder-quote { margin: 0; }
.founder-quote blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(20px, 4.6vw, 26px); line-height: 1.35; }
.founder-quote blockquote p { margin: 0; }
.founder-quote figcaption { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.founder-quote figcaption span { color: var(--muted); font-size: 14px; }
.founder-team { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; min-height: 44px; color: var(--accent-ink); text-decoration: none; font-weight: 600; }
.founder-team:hover span:last-child { text-decoration: underline; }
.founder-faces { display: inline-flex; flex: none; }
.founder-faces img { width: 44px; height: 44px; object-fit: cover; object-position: 50% 20%; border-radius: 50%; border: 2px solid var(--bg); background: var(--card); }
.founder-faces img + img { margin-left: -12px; }
.founder-press { margin: 0; }

/* ---- 11 Oct audit, batch 6 ---- */
/* Result: the research folds behind one toggle */
.res-evidence { margin-top: 28px; border-top: 1px solid var(--hairline); }
.res-evidence > summary {
  display: flex; align-items: center; min-height: 44px; cursor: pointer;
  font-family: var(--font-display); font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-ink); list-style: none;
}
.res-evidence > summary::-webkit-details-marker { display: none; }
.res-evidence > summary::after { content: "+"; margin-left: 10px; font-size: 18px; }
.res-evidence[open] > summary::after { content: "\2212"; }
/* Tap targets: every header control and the urge hotspot reach 44px */
.theme-toggle, .nav-toggle { width: 44px; height: 44px; }
.lang-toggle { height: 44px; }
.topbar nav .btn--primary { min-height: 44px; }
.lang-label b { font-weight: 800; }
.lang-toggle .lang-label { font-weight: 500; }
@media (max-width: 900px) {
  .lang-toggle .lang-label { display: inline; }
}
.lang-toggle--panel { display: none; }
@media (max-width: 560px) {
  .topbar nav .theme-toggle { width: 44px; height: 44px; }
  .topbar nav .lang-toggle { display: none; }
  .nav-panel .lang-toggle--panel { display: inline-flex; margin: 8px var(--margin) 0; }
}
.hot--urge { top: 83.55%; min-height: 44px; transform: translateY(-50%); }
/* Carousel buttons: only where there is a mouse */
.rail-nav { display: none; gap: 8px; margin-left: auto; }
.rail-btn {
  width: 44px; height: 44px; border: 1px solid var(--hairline); border-radius: 50%;
  background: transparent; color: var(--ink); font-size: 18px; cursor: pointer;
}
.rail-btn:hover { border-color: var(--accent-ink); color: var(--accent-ink); }
/* Any device with a mouse gets the buttons, including touchscreen laptops,
   which report a coarse primary pointer. */
@media (any-pointer: fine) and (prefers-reduced-motion: no-preference) {
  .rail-nav { display: inline-flex; }
  .ladder.rail { cursor: grab; }
  .ladder.rail.is-dragging { cursor: grabbing; user-select: none; }
  .ladder.rail.is-dragging img { pointer-events: none; }
}

/* Logo strip: big monochrome logos, nothing else */
.proof-strip { padding-block: 40px; }
.proof { list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 32px 24px; }
.proof li { flex: 0 1 calc(50% - 12px); display: flex; justify-content: center; }
@media (min-width: 900px) { .proof li { flex: 1 1 0; } }
.proof a { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--muted); align-items: center; justify-content: center; min-height: 64px; }
.proof span { font-size: 13px; letter-spacing: .04em; text-align: center; }
.proof img { height: 56px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .85; transition: opacity .15s, filter .15s; }
.proof a:hover img { filter: none; opacity: 1; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .proof img { filter: grayscale(1) invert(1) brightness(1.4); } }
:root[data-theme="dark"] .proof img { filter: grayscale(1) invert(1) brightness(1.4); }


/* Carousel drift: sub-pixel part of the auto-scroll (see the rail script in index.html) */
.ladder.rail > * { translate: var(--drift, 0px) 0; }

/* Headline on 3 set lines from laptop width up (11 Oct, Nicolaas):
   For men who want to / regain control over porn & / lead a meaningful life. */
.br-wide { display: none; }
@media (min-width: 1100px) {
  /* English only: the Bulgarian lines are longer, so they keep wrapping */
  html:not([lang="bg"]) .br-wide { display: inline; }
  /* the long middle line is ~12 font-sizes wide and the column ~56vw, capped at 716px */
  html:not([lang="bg"]) .hero .display { max-width: none; white-space: nowrap; font-size: min(4.5vw, 57px); }
}
/* First screen pulled up so the logo row shows on load (13 Oct, Nicolaas).
   No sizes change: the hero just stops being a full-screen box with its content
   centred in the middle, and the spacing around it tightens. */
@media (min-width: 901px) {
  /* screen minus topbar (86) minus the logo row (~110): content centred in what is left */
  .hero { min-height: calc(100dvh - 196px); padding-top: clamp(20px, 3vh, 40px); padding-bottom: 0; }
  .proof-strip { padding-block: clamp(4px, 1.2vh, 24px) clamp(24px, 4vh, 40px); }
}

/* about.html: Our vision + the vision line are h2, team names h3, for structure
   only (13 Oct brief). This undoes the global h1-h3 look so nothing moves; the
   class rules (.vision-label, .vision-lead, .m-name) still set the real style. */
:is(h2, h3):where(.vision-label, .vision-lead, .m-name) { font-family: inherit; letter-spacing: inherit; line-height: inherit; font-size: inherit; font-weight: inherit; margin: 0; }

/* 404 page */
.notfound { min-height: 55vh; }
.notfound-links { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 18px; }
.notfound-links a { display: inline-flex; min-height: 44px; align-items: center; }

/* <picture> wrappers for WebP: the img keeps behaving as the direct child it was */
picture.pic { display: contents; }

/* quiz.html: the self-check landing page */
.quiz-wrap { max-width: 760px; }
.quiz-page .subhead { margin-top: var(--s-lg); }
.quiz-page .body { margin-top: 12px; }
.quiz-small { margin-top: 14px; }
.quiz-refs { margin-top: var(--s-lg); font-size: 14px; }

/* Blog articles (13 Oct brief, 7-9): numbered source links, the "catch" box
   (same look as the science page), the short-answer box, FAQ questions and
   the author box. */
.post-ref { font-size: 11px; vertical-align: super; line-height: 0; margin-left: 1px; padding: 0 2px;
  color: var(--accent-ink); text-decoration: none; font-weight: 600; }
.post-ref:hover, .post-ref:focus-visible { text-decoration: underline; }
.post-caveat { border-left: 2px solid var(--hairline); padding-left: 14px; font-size: 16px; color: var(--muted-2); }
.post-short { margin-top: clamp(28px, 4vw, 40px); border-color: var(--accent-ink); }
.post-q { font-size: 19px; margin-top: 28px; }
.post-author { margin-top: var(--s-lg); padding-top: 18px; border-top: 1px solid var(--hairline); font-size: 15px; color: var(--muted-2); }
.post-author p { margin: 0; }
.post-author p + p { margin-top: 4px; }

/* ---- 15 Oct brief ---- */
/* Hero: the search-phrase line under the lead. Reads as part of the lead, not a second headline. */
.hero .hero-sub { margin-top: 12px; font-family: var(--font-display); font-size: clamp(16px, 1.4vw, 19px); font-weight: 600; line-height: 1.4; color: var(--ink); max-width: 46ch; letter-spacing: 0; }
/* Three doors under the hero */
.doors .headline { margin-bottom: 22px; }
.doors-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 760px) { .doors-grid { grid-template-columns: 1fr; } }
.door { display: flex; flex-direction: column; gap: 8px; text-align: left; padding: 22px; min-height: 44px;
  border: 1px solid var(--hairline); border-radius: var(--radius-card); background: color-mix(in srgb, var(--card) 70%, transparent);
  color: var(--ink); text-decoration: none; font: inherit; cursor: pointer; transition: border-color .15s; }
.door:hover, .door:focus-visible, .door--choose[open] { border-color: var(--accent-ink); }
.door--choose > summary { list-style: none; display: flex; flex-direction: column; gap: 8px; cursor: pointer; }
.door--choose > summary::-webkit-details-marker { display: none; }
.door-title { font-family: var(--font-serif); font-size: 22px; line-height: 1.2; }
.door-sub { color: var(--muted); font-size: 15px; line-height: 1.45; }
.door-choices { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.door-choices .btn { min-height: 44px; }
.urge-dialog .cta-row { align-items: center; gap: 16px; flex-wrap: wrap; }
.urge-steps--page { margin-top: 28px; font-size: 18px; }
.urge-steps--page li + li { margin-top: 14px; }
.urge-bookmark { margin-top: 32px; }
/* Guides (15 Oct brief) */
.post-next { margin-top: var(--s-lg); padding: 18px 22px; border: 1px solid var(--hairline); border-radius: var(--radius-card); }
.post-next .pc-lab { font-family: var(--font-display); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.post-next ul { margin: 10px 0 0; padding-left: 18px; }
.post-next li + li { margin-top: 6px; }
.post-close { margin-top: 28px; }
.post ol.post-steps li + li { margin-top: 10px; }
/* compare page (draft) */
.cmp-wrap { overflow-x: auto; margin-top: 24px; }
.cmp { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15px; }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--hairline); }
.cmp thead th { font-family: var(--font-display); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); }
.draft-banner { border: 1px dashed var(--accent-ink); padding: 12px 14px; border-radius: var(--radius-card); }
mark.draft-check { background: #ffe58a; color: #000; padding: 0 3px; }
/* partners share form */
.share-form { margin-top: 16px; display: grid; gap: 10px; }
.share-form textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px; border: 1px solid var(--hairline); border-radius: var(--radius-card); background: var(--card); color: var(--ink); }
.share-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
/* Header dropdowns (15 Oct brief, part 5.1) */
.nav-dd { position: relative; }
.nav-dd-btn { font: inherit; font-size: 15px; color: var(--muted); background: none; border: 0; padding: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.nav-dd-btn::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.nav-dd-btn:hover, .nav-dd.is-current .nav-dd-btn { color: var(--ink); }
.nav-dd-menu { display: none; position: absolute; top: 100%; left: -14px; min-width: 250px; padding: 8px; z-index: 50;
  background: var(--card); border: 1px solid var(--hairline); border-radius: var(--radius-card); box-shadow: 0 12px 32px rgba(0,0,0,.12); }
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu, .nav-dd.open .nav-dd-menu { display: grid; }
.topbar nav .nav-dd-menu a:not(.btn) { display: block; padding: 9px 10px; border-radius: 6px; color: var(--ink); }
.topbar nav .nav-dd-menu a:not(.btn):hover { background: color-mix(in srgb, var(--accent) 8%, transparent); }
.topbar nav .nav-dd-menu a[aria-current="page"] { color: var(--accent-ink); }
.nav-panel-group { padding: 14px var(--margin) 4px; font-family: var(--font-display); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.nav-panel a.nav-panel-sub { padding-left: calc(var(--margin) + 12px); }
@media (max-width: 860px) { .topbar nav .nav-dd { display: none; } }
/* Seven nav items no longer fit with the full gap between the phone and laptop widths */
@media (min-width: 861px) and (max-width: 1100px) {
  .topbar nav { gap: 14px; }
  .topbar nav a:not(.btn), .nav-dd-btn { font-size: 14px; }
  .topbar nav .lang-toggle .lang-label { display: none; }
}
/* Footer guides column */
.footer-guides .footer-h { font-family: var(--font-display); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.footer-guides .footer-h a { color: var(--muted-2); text-decoration: none; }
.footer-guides ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; font-size: 14px; }
/* Seasonal banner (nav.js, off by default) */
.season-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; padding: 10px var(--margin);
  background: var(--accent); color: #fff; font-size: 15px; text-align: center; position: relative; z-index: 39; }
.season-bar .btn { background: #fff; color: var(--accent); min-height: 40px; padding: 8px 16px; font-size: 14px; }
/* Lists inside articles (the older posts only used chips) */
.post ul:not(.post-chips):not(.blog-list), .post ol:not(.urge-steps) { padding-left: 22px; margin: 16px 0 0; }
.post ul:not(.post-chips) li, .post ol li { margin-top: 8px; line-height: 1.6; color: var(--muted); }
.post li strong { color: var(--ink); }
.post-end ol li { color: inherit; }
/* Calmer hero (15 Oct, Nicolaas: "too cluttered"). One short lead, the search line
   reads as its quiet continuation instead of a bold second headline, and the logo
   row steps back so the headline and the button carry the screen. */
.hero .lead { margin-top: 22px; }
.hero .hero-sub { margin-top: 6px; font-family: var(--font-body, inherit); font-weight: 400; font-size: inherit; color: var(--muted); }
.hero .hero-sub { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.5; max-width: 52ch; }
.hero .cta-row { margin-top: 34px; }
.proof img { opacity: .55; }
.proof a:hover img { opacity: 1; }
.proof span { font-size: 12px; color: var(--muted-2); letter-spacing: .05em; }
/* Lead and search line flow as one paragraph: two short sentences, one calm block */
.hero .lead, .hero .hero-sub { display: inline; margin: 0; font-size: clamp(18px, 2vw, 21px); line-height: 1.6; color: var(--muted); font-weight: 400; }
.hero .hero-sub::before { content: " "; }
.hero h1.display { margin-bottom: 24px; }

/* Zoomed-out hero (16 Oct, Nicolaas: "more palatable to the eyes", logos lower).
   Headline and phone about a fifth smaller, more air between the parts, and the
   logo row smaller, quieter and further down. */
.hero .display { font-size: clamp(32px, 5vw, 54px); }
@media (min-width: 1100px) { html:not([lang="bg"]) .hero .display { font-size: min(3.7vw, 46px); } }
@media (min-width: 901px) { .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 250px); } }
.hero h1.display { margin-bottom: 30px; }
.hero .cta-row { margin-top: 40px; }
@media (max-width: 900px) { .hero-shot { max-width: 180px; } }
@media (min-width: 901px) { .proof-strip { padding-top: clamp(40px, 8vh, 80px); } }
.proof img { height: 44px; opacity: .45; }

/* Sticky quiz bar, under 768px only (audit item 3). Plain fade. */
.sticky-quiz { display: none; }
@media (max-width: 767px) {
  .sticky-quiz { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--bg);
    border-top: 1px solid var(--hairline); opacity: 0; pointer-events: none; transition: opacity .2s ease; }
  .sticky-quiz.show { opacity: 1; pointer-events: auto; }
  .sticky-quiz .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .sticky-quiz { transition: none; } }

/* Feature cards as one vertical column under 600px (audit item 4): the rail hid
   four of the seven cards on a phone. Same cards, same order, no sideways scroll. */
@media (max-width: 599px) and (prefers-reduced-motion: no-preference) {
  .ladder.rail { display: flex; flex-direction: column; overflow: visible; scroll-snap-type: none;
    padding: 0; margin-inline: 0; }
  .ladder.rail > * { translate: none; }
}

/* Crossroads logo is light-on-navy: invert it and multiply so the navy slab drops out on the light page */
.proof img[src$="crossroads.webp"], .proof img[src$="plnt.webp"] { filter: grayscale(1) invert(1); mix-blend-mode: multiply; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .proof img[src$="crossroads.webp"], :root:not([data-theme="light"]) .proof img[src$="plnt.webp"] { filter: grayscale(1); mix-blend-mode: normal; } }
:root[data-theme="dark"] .proof img[src$="crossroads.webp"], :root[data-theme="dark"] .proof img[src$="plnt.webp"] { filter: grayscale(1); mix-blend-mode: normal; }

/* site-wide "About VICTR" boilerplate, sits above the footer on every page */
.about-winnr { padding: var(--s-lg) 0 0; position: relative; z-index: 1; }
.about-winnr-h { font-family: var(--font-display); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; margin: 0 0 8px; }
.about-winnr p { max-width: 68ch; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

/* about page: H2 over the team roster (keeps H3 member names under an H2) */
.team-h { font-family: var(--font-display); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; margin: 40px 0 0; }
.about-entity { margin-top: 32px; }
.post-head .post-meta a { color: inherit; }
.proof-h { font-family: var(--font-display); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; text-align: center; margin: 0 0 20px; }
.doors-lead { max-width: 60ch; margin: 12px 0 28px; color: var(--muted); }
.gut-lead { max-width: 44ch; margin: 12px 0 0; color: var(--muted); }
@media (max-width: 700px) { .gutcheck-intro .headline { margin-bottom: 0; } .gut-lead { margin-top: 8px; } }

/* money pie probing: the hovered slice stays solid, the others dim */
.where .pie .seg { cursor: pointer; transition: stroke-dashoffset .6s cubic-bezier(.3,.7,.2,1) var(--d), opacity .15s; }
.where .pie.is-probing .seg:not(.on) { opacity: .3; }
.where .legend-row { cursor: default; transition: opacity .15s; }
.where .legend-row:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.where .legend:has(.on) .legend-row:not(.on) { opacity: .55; }
/* Language picker once a page has more than two languages (i18n.js makeSelect) */
select.lang-select { appearance: none; -webkit-appearance: none; padding: 0 28px 0 12px; max-width: 150px;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23888' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 10px center; }
select.lang-select option { color: #111; background: #fff; }
.nav-panel select.lang-toggle--panel { display: none; }
@media (max-width: 560px) { .nav-panel select.lang-toggle--panel { display: inline-block; margin: 8px var(--margin) 0; } }


/* Plan line typed over the hero screenshot, in the gap under the "why" card
   headline. Positions are percentages of home-*.png, so retaking it means
   re-checking. Sized in cqw so it scales with the phone. */
.phone-shot { container-type: inline-size; }
.shot-plan {
  position: absolute; z-index: 1; margin: 0; pointer-events: none;
  left: 15%; width: 72%; top: 64.8%;
  font-family: var(--font-display); font-weight: 500;
  font-size: 3.7cqw; line-height: 1.25; color: var(--muted);
}

/* Erasmus Enterprise stamp: portrait, black on transparent. Existing .proof filters make it white on dark. */
.proof img[src$="erasmus.webp"] { height: 76px; }

/* Logo row drifts like the feature rail but the other way (12 Nov, Nicolaas):
   starts at the right end, glides right until the first logo. Reduced motion keeps the static wrapped grid. */
@media (prefers-reduced-motion: no-preference) {
  .proof { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; overscroll-behavior-x: contain;
    gap: 24px; padding-inline: var(--margin); margin-inline: calc(var(--margin) * -1); scrollbar-width: none; }
  .proof::-webkit-scrollbar { display: none; }
  .proof li { flex: 0 0 min(220px, 56vw); }
  .proof > * { translate: var(--drift, 0px) 0; }
}

/* launch countdown: one rounded box, big numbers, label under each */
.launch { margin-top: 12px; }
.launch-l { display: block; margin-bottom: 8px; font-family: var(--font-display); font-size: 13px; letter-spacing: .04em; color: var(--muted-2); }
.cd-box { display: inline-flex; align-items: flex-start; gap: clamp(8px, 2.4vw, 14px); padding: 10px clamp(12px, 3vw, 18px); background: var(--card); border: 1px solid var(--hairline); border-radius: 14px; font-variant-numeric: tabular-nums; }
.cd-u { display: flex; flex-direction: column; align-items: center; min-width: 2ch; }
.cd-u b { font-family: var(--font-display); font-size: clamp(20px, 5.5vw, 26px); font-weight: 500; line-height: 1.05; color: var(--ink); }
.cd-u span { margin-top: 2px; font-size: 11px; color: var(--muted-2); }
.cd-sep { align-self: flex-start; width: 4px; height: 14px; margin-top: 7px; background: radial-gradient(circle, var(--muted-2) 2px, transparent 2.5px) 0 0 / 4px 7px; opacity: .6; }

.plan-preorder { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--hairline); display: grid; gap: 14px; justify-items: start; }
.plan-preorder .btn { text-decoration: none; }
.plan-preorder .plan-preorder-note { color: var(--muted-2); font-size: 14px; }
.plan-prices { margin: 0; padding-left: 18px; color: var(--muted-2); font-size: 15px; }

.screen .choice-cont { margin-top: 22px; justify-content: flex-start; }

/* Pick-several screens: compact, so every option and Continue fit without scrolling,
   and Continue is pinned to the bottom of the view if the window is still too short. */
.screen--compact .qtext { font-size: clamp(22px, 3vw, 28px); margin-top: 8px; }
.screen--compact .qsub { margin-top: 6px; font-size: 15px; }
.screen--compact .choices { margin-top: 16px; gap: 8px; }
.screen--compact .choice { padding: 11px 16px; font-size: 16px; }
.screen--multi .choice-cont { position: sticky; bottom: 0; z-index: 2; margin-top: 8px; padding: 12px 0; background: var(--bg); }
.screen--multi .choice-cont .btn { width: 100%; }

/* Email screen: the offer at a glance. */
.email-offer { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 1px; margin: 22px auto 0; max-width: 520px; border: 1px solid var(--hairline); border-radius: 12px; background: var(--hairline); overflow: hidden; }
.eo-cell { background: var(--card); padding: 14px 8px 12px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.eo-cell b { font-family: var(--font-display); font-size: clamp(26px, 5vw, 34px); font-weight: 600; line-height: 1; color: var(--accent-ink); }
.eo-cell span { font-size: 12px; line-height: 1.3; color: var(--muted); text-align: center; }
.eo-note { margin: 10px 0 0; font-size: 13px; color: var(--muted-2); }
.screen .field .note { font-size: 12px; margin-top: 8px; }
.eo-cell[hidden] { display: none; }
.screen--compact .choice span[style*="display:block"] { font-size: 12px !important; margin-top: 1px !important; }
.intake-head { gap: 16px; }
.intake-head { padding-top: 38px; } /* room for the percentage tag that rides the bar */
.intake-pct {
  position: absolute; top: 6px; left: max(calc(var(--p, 0%) - 6px), 56px); transform: translateX(-100%);
  padding: 2px 9px; border-radius: 999px; background: var(--accent); color: var(--on-accent);
  font-family: var(--font-display); font-size: 14px; font-weight: 700; letter-spacing: 0.02em; line-height: 1.5;
  font-variant-numeric: tabular-nums; pointer-events: none;
  transition: left .5s cubic-bezier(.4,.8,.3,1), opacity .2s;
}
@media (prefers-reduced-motion: reduce) { .intake-pct { transition: none; } }

/* Hero yes / no question: one line of text, two buttons. */
.hero-q { margin-top: 26px; max-width: 520px; }
.hero-q-text { margin: 0; font-size: 18px; line-height: 1.35; color: var(--ink); }
.hero-q-yn { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; margin-top: 14px; }
.hero-q-yn .btn { min-width: 84px; }
.hero-q-note { font-size: 12px; color: var(--muted-2); }
/* Email screen teaser */
.eo-teaser { margin: 16px auto 0; max-width: 520px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.eo-teaser b { display: inline-block; padding: 1px 10px; margin: 0 4px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent-ink); font-weight: 600; }
.intake-foot { gap: 12px; }
.eo-teaser span:last-child { display: block; margin-top: 4px; }

/* "Calculating" screen between the email and the score. */
.calc { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.calc-ring { position: relative; width: 148px; height: 148px; }
.calc-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.calc-bg { fill: none; stroke: var(--hairline); stroke-width: 7; }
.calc-fg { fill: none; stroke: var(--accent); stroke-width: 7; stroke-linecap: round; }
.calc-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: 30px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.calc-line { margin: 0; min-height: 1.5em; font-size: 18px; color: var(--muted); }

/* 2026-11-26: the fixed-px time and icons collided with the Dynamic Island
   whenever the 62vh cap made the phone narrow. The island alone reads as an
   iPhone; the clock and battery were decoration that kept breaking. */
.ps-time, .ps-icons { visibility: hidden; }
