/* Hallmark · shape: evidence walk-through (hero, the loop, the sample report, the hint ladder, safety, plans, questions, apply) · genre: editorial · theme: custom · job: join · idea: "Help tonight, then dated evidence of what a child can do alone" · vibe: "calm sky, navy bands, honest evidence"
 * paper: #f7faff · accent: #0b5fa5 · display: Lexend · body: Figtree · hero: the slogan beside one phone playing the tutor's hints, a sample evidence card at its side · nav: wordmark left, five page links, log in and one action, a full-screen sheet under 840px · footer: identity block beside the contact address, a four-list site map (product, trust, company, legal), the AI line, the legal line · imagery: the product built as labelled samples (the pilot has no family data to show yet) · signature: the dated evidence row filling in, tick by tick
 * axes: cool sky paper/geometric sans/deep sky blue · posture: committed · contrast: pass · fold: pass · copy: verbatim (founder-approved mockups, tightened) · v2.0.0 */
/* Hallmark · palette changed 2026-11-13 by founder decision: the warm paper, beige and taupe neutrals became the cool sky palette (paper #f7faff, paper-2 #e8f1fd, card and sheet #ffffff, line #d6e3f5, line-strong #6d7fa0, teal #3fc5f0, teal-deep #0b5fa5, teal-ink #03243f, teal-wash #dcefff); navy, gold, violet and amber are unchanged. Every text pair re-checked to WCAG AA (see FINDINGS) */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R3 V4 · weakest: R, the approved mockups carry a lot on each screen; cut the eyebrows, the mono labels, the icon tiles, the browser chrome and three of the four phone frames */
/* Hallmark · waive 38iii · the underline sits once, on the hero h1 only · "without us" is the point of the slogan and the approved mockup marks it */
/* Hallmark · dismissed 3 · the plan columns carry a name and a price, with ticks inside a list and no icon tile above a heading */
/* Hallmark · answered F4 · the teal button is the same primary on the navy bands, where a navy fill would vanish */
/* Hallmark · answered F7 · the pills that remain are tags (Sample, the stage, AI tutor) and drawn product buttons; the cards are one family so the dark screens and the report sheet stand apart */
/* Hallmark · dismissed 42 · the footer's four lists are the site map the Menu button jumps to when scripts are off, so every page is listed there by kind; it has no social row */
/* Hallmark · dismissed 59 · the founder-approved home page has these twelve parts, each a different composition */
/* Hallmark · waive 59 · one seam only, between the pricing title and its plans · the plans answer the title, and a wider gap would cut the three prices off from it */
/* Hallmark · waive 78 · the documents only (privacy notice, terms, cookies and accessibility statements, the glossary, evidence and limits), each read top to bottom · their headings are the questions inside a document, set at reading size */
/* Hallmark · dismissed 77 · the legal and reference documents, the questions page, the contact page, the thank-you page and the page-not-found page are single documents, not landing pages */
/* Hallmark · waive 47b · one phone frame a page, the tutor chat built inside · the hero plays the hint sequence in that frame */

/* The brand faces, served from this site (no request to Google). Variable fonts, latin subset,
   all open licence (OFL; fonts/OFL-*.txt). The two "fallback" faces are Arial stretched to the
   width and height of Lexend and Figtree, so text holds its place while the real files load. */
@font-face { font-family: "Lexend"; src: url("fonts/lexend.woff2") format("woff2"); font-weight: 500 700; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("fonts/caveat.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Lexend fallback"; src: local("Arial"); size-adjust: 113.1%; ascent-override: 88.4%; descent-override: 22.1%; line-gap-override: 0%; }
@font-face { font-family: "Figtree fallback"; src: local("Arial"); size-adjust: 101.5%; ascent-override: 93.6%; descent-override: 24.6%; line-gap-override: 0%; }

:root {
  color-scheme: light;

  /* Paper and ink */
  --color-paper: #f7faff;
  --color-paper-2: #e8f1fd;
  --color-card: #ffffff;
  --color-line: #d6e3f5;
  --color-line-strong: #6d7fa0;
  --color-ink: #121a2e;
  --color-muted: #4a546e;
  /* The navy bands and the product screens */
  --color-night: #0b1020;
  --color-night-2: #131a2b;
  --color-night-3: #1a2338;
  --color-night-blue: #24406b;
  --color-night-line: #2a3757;
  --color-night-edge: #5a6a92;
  --color-night-ink: #e8edf6;
  --color-night-muted: #a9b5cf;
  --color-on-night: #fbfdff;
  --color-device: #05070f;
  /* Teal: help and links. Gold: retained. Violet: the checks that count. Amber: not yet. */
  --color-teal: #3fc5f0;
  --color-teal-deep: #0b5fa5;
  --color-teal-ink: #03243f;
  --color-teal-wash: #dcefff;
  --color-gold: #f5c044;
  --color-gold-ink: #3a2b05;
  --color-gold-deep: #7a5600;
  --color-gold-wash: #fbefcb;
  --color-violet: #a99bff;
  --color-violet-deep: #4f3fd0;
  --color-violet-wash: #e9e5ff;
  --color-check: #171233;
  --color-check-2: #201a45;
  --color-check-line: #4a3f99;
  --color-check-muted: #c2b9f5;
  --color-amber: #8a4b00;
  --color-amber-night: #ffb866;
  /* The copybook page a child's working is written on */
  --color-sheet: #ffffff;
  --color-sheet-ink: #1b2336;
  --color-sheet-rule: #c9d6ec;
  --color-sheet-margin: #f0a8a8;
  --color-error-night: #ff8a80;
  --color-accent: var(--color-teal-deep);
  --color-accent-ink: var(--color-card);
  --color-focus: var(--color-teal-deep);
  --shadow-raised: 0 1px 2px rgb(18 26 46 / 0.06), 0 12px 32px rgb(18 26 46 / 0.08);
  --shadow-deep: 0 2px 4px rgb(11 16 32 / 0.1), 0 30px 70px rgb(11 16 32 / 0.24);

  --font-display: "Lexend", "Lexend fallback", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Figtree", "Figtree fallback", ui-sans-serif, system-ui, sans-serif;
  --font-hand: "Caveat", cursive;

  /* Type steps (docs/design/responsive-foundation.md section 5), fluid from 320 to 1240 wide */
  --text-caption: 0.75rem;
  --text-small: clamp(0.875rem, 0.8533rem + 0.1087vw, 0.9375rem);
  --text-body: clamp(1rem, 0.9565rem + 0.2174vw, 1.125rem);
  --text-body-lg: clamp(1.125rem, 1.0815rem + 0.2174vw, 1.25rem);
  --text-heading: clamp(1.25rem, 1.163rem + 0.4348vw, 1.5rem);
  --text-title: clamp(1.5rem, 1.3696rem + 0.6522vw, 1.875rem);
  --text-display-lg: clamp(2rem, 1.7391rem + 1.3043vw, 2.75rem);
  --text-page: clamp(2.5rem, 1.8913rem + 3.0435vw, 4.25rem);
  --text-hero: clamp(2.75rem, 2.0543rem + 3.4783vw, 4.75rem);

  --space-3xs: 0.125rem;
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-md2: 1.25rem;
  --space-lg: 1.5rem;
  --space-lg2: 2rem;
  --space-xl: 2.5rem;
  --space-xl2: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-gutter: clamp(1rem, 0.4783rem + 2.6087vw, 2.5rem);
  --space-section-s: clamp(3.5rem, 2.6304rem + 4.3478vw, 6rem);
  --space-section: clamp(4.5rem, 3.6304rem + 4.3478vw, 7rem);
  --space-section-l: clamp(5rem, 3.9565rem + 5.2174vw, 8rem);

  --container-site: 72rem;
  --container-reading: 65ch;
  --size-control: 3.25rem;
  --size-control-sm: 2.75rem;
  --size-target: 3rem;
  --size-header: 4rem;
  --size-header-stuck: 4rem;
  --size-phone: 18.25rem;

  --radius-sm: 0.5rem;
  --radius-control: 0.75rem;
  --radius-card: 1.25rem;
  --radius-panel: 1.5rem;
  --radius-device: 2.5rem;
  --radius-pill: 999px;

  --dur-micro: 150ms;
  --dur-short: 220ms;
  --dur-long: 420ms;
  --dur-fill: 640ms;
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);

  --z-base: 0;
  --z-raised: 2;
  --z-sticky: 10;
  --z-nav: 20;
  --z-sheet: 30;
  --z-skip-link: 60;
}

/* ---- Base ------------------------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-padding-top: var(--space-3xl); scrollbar-color: var(--color-muted) var(--color-paper); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-body); line-height: 1.55; -webkit-font-smoothing: antialiased; caret-color: var(--color-accent); }
::selection { background: var(--color-teal-wash); color: var(--color-ink); }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 600; font-synthesis: none; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
a { color: var(--color-accent); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
strong, b { font-weight: 600; }
svg { display: block; flex: none; }
button, input, select { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.band-dark :focus-visible, .menu :focus-visible, .phone-frame :focus-visible { outline-color: var(--color-teal); }
@media (hover: hover) { a:hover { color: var(--color-ink); } }
a:active { color: var(--color-ink); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--space-md); top: var(--space-md); z-index: var(--z-skip-link); padding: var(--space-sm) var(--space-md); border-radius: var(--radius-control); background: var(--color-night); color: var(--color-on-night); font-weight: 600; transform: translateY(-300%); }
.skip:focus-visible { transform: none; }
.wrap { container-type: inline-size; width: 100%; max-width: var(--container-site); margin-inline: auto; padding-inline: max(var(--space-gutter), env(safe-area-inset-left, 0px)) max(var(--space-gutter), env(safe-area-inset-right, 0px)); }
.icon { width: 1.25em; height: 1.25em; }
.when-narrow { display: none; }

/* Type roles */
.h-display { font-size: var(--text-hero); line-height: 1.02; letter-spacing: -0.035em; max-width: 11ch; }
.h-page { font-size: var(--text-page); line-height: 1.04; letter-spacing: -0.035em; max-width: 16ch; }
.h-section { font-size: var(--text-display-lg); line-height: 1.1; letter-spacing: -0.025em; max-width: 20ch; }
.h-title { font-size: var(--text-heading); line-height: 1.2; letter-spacing: -0.015em; }
.lede { font-size: var(--text-body-lg); line-height: 1.55; color: var(--color-muted); max-width: 52ch; }
.lede--hero { font-size: var(--text-heading); line-height: 1.4; max-width: 30ch; }
.fineprint { font-size: var(--text-small); color: var(--color-muted); max-width: var(--container-reading); }
.fineprint--wide { max-width: 75ch; }
.violet { color: var(--color-violet); font-weight: 600; }

/* A fact the founder has still to give: shown only in a preview build. */
.fill { padding: 0 var(--space-2xs); border: 1px dashed currentColor; border-radius: var(--radius-sm); font-weight: 600; color: var(--color-amber); background: var(--color-gold-wash); }
.sample { display: inline-flex; align-items: center; padding: var(--space-2xs) var(--space-sm); border-radius: var(--radius-pill); background: var(--color-gold); color: var(--color-gold-ink); font-size: var(--text-small); font-weight: 600; line-height: 1.3; white-space: nowrap; }
.stage { display: inline-flex; align-items: center; padding: var(--space-3xs) var(--space-sm); border: 1.5px solid currentColor; border-radius: var(--radius-pill); font-size: var(--text-small); font-weight: 600; line-height: 1.4; white-space: nowrap; }
.stage--retained { border-color: var(--color-gold); background: var(--color-gold); color: var(--color-gold-ink); }
.stage--verified { background: var(--color-teal-wash); color: var(--color-teal-deep); }
.stage--practising { border-style: dashed; color: var(--color-muted); }
.ai-tag { display: inline-flex; align-items: center; gap: var(--space-2xs); padding: var(--space-3xs) var(--space-xs); border: 1.5px solid var(--color-teal); border-radius: var(--radius-pill); color: var(--color-teal); font-size: var(--text-caption); font-weight: 600; white-space: nowrap; }

/* ---- Controls -------------------------------------------------------------------------------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: var(--size-control); padding: 0 var(--space-lg); border: 2px solid var(--color-night); border-radius: var(--radius-pill); background: var(--color-night); color: var(--color-on-night); font-family: var(--font-body); font-size: var(--text-body); font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:active { transform: translateY(1px); color: var(--color-on-night); }
.btn--ghost { background: transparent; color: var(--color-ink); border-color: var(--color-ink); }
.btn--ghost:active { color: var(--color-ink); }
.btn--ghost-dark { background: transparent; color: var(--color-night-ink); border-color: var(--color-night-edge); }
.btn--teal { background: var(--color-teal); border-color: var(--color-teal); color: var(--color-teal-ink); }
.btn--teal:active { color: var(--color-teal-ink); }
.btn--sm { min-height: var(--size-control-sm); padding: 0 var(--space-md); font-size: var(--text-small); }
.btn--full { display: flex; width: 100%; }
.btn:disabled, .btn[aria-busy="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
@media (hover: hover) {
  .btn:hover { background: var(--color-night-blue); border-color: var(--color-night-blue); color: var(--color-on-night); }
  .btn--ghost:hover { background: var(--color-ink); border-color: var(--color-ink); color: var(--color-on-night); }
  .btn--ghost-dark:hover { background: var(--color-night-3); border-color: var(--color-night-ink); color: var(--color-on-night); }
  .btn--teal:hover { background: var(--color-on-night); border-color: var(--color-on-night); color: var(--color-teal-ink); }
  .btn:disabled:hover { background: var(--color-night); border-color: var(--color-night); }
}
/* A finger gets 48px even where the button draws at 44. */
@media (pointer: coarse) { .btn--sm::after { content: ""; position: absolute; inset: calc(var(--space-2xs) * -1); } }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }

.ticks { display: grid; gap: var(--space-sm); }
.ticks li { display: flex; gap: var(--space-sm); align-items: flex-start; }
.ticks .icon { margin-top: 0.2em; color: var(--color-teal-deep); stroke-width: 2.5; }
.ticks--no .icon { color: var(--color-amber); }
.ticks--violet .icon { color: var(--color-violet-deep); }
.ticks--dark .icon { color: var(--color-teal); }

/* ---- Header and menu ------------------------------------------------------------------------- */
.top-mark { position: absolute; top: 0; left: 0; width: 1px; height: var(--space-lg); pointer-events: none; }
.site-header { position: relative; z-index: var(--z-nav); background: var(--color-paper); border-bottom: 1px solid var(--color-line); }
.site-header::after { content: ""; position: absolute; inset: 0; z-index: -1; box-shadow: var(--shadow-raised); opacity: 0; pointer-events: none; transition: opacity var(--dur-short) var(--ease-out); }
.site-header.is-stuck::after { opacity: 1; }
.site-header__row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); min-height: var(--size-header); padding-top: env(safe-area-inset-top, 0px); }
.wordmark { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: var(--size-control-sm); color: var(--color-ink); font-family: var(--font-display); font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; transform-origin: left center; transition: transform var(--dur-short) var(--ease-out); }
.wordmark:active { color: var(--color-ink); }
.wordmark--dark, .wordmark--dark:active { color: var(--color-night-ink); }
.logo { width: 1.625rem; height: 1.625rem; }
.logo__low { fill: currentColor; }
.logo__high { fill: var(--color-teal-deep); }
.wordmark--dark .logo__high { fill: var(--color-teal); }
.site-nav { display: none; align-items: center; gap: var(--space-2xs); }
.site-nav a, .site-header__login { display: inline-flex; align-items: center; min-height: var(--size-target); padding: 0 var(--space-sm); color: var(--color-ink); font-size: var(--text-body); font-weight: 400; text-decoration: none; white-space: nowrap; }
.site-nav a { box-shadow: inset 0 -2px 0 transparent; transition: box-shadow var(--dur-short) var(--ease-out); }
.site-nav a[aria-current="page"] { font-weight: 600; box-shadow: inset 0 -2px 0 var(--color-teal-deep); }
@media (hover: hover) { .site-nav a:hover, .site-header__login:hover { box-shadow: inset 0 -2px 0 var(--color-ink); } }
.site-nav a:active, .site-header__login:active { color: var(--color-teal-deep); }
.site-header__login { display: none; box-shadow: inset 0 -2px 0 transparent; transition: box-shadow var(--dur-short) var(--ease-out); }
.site-header__actions { display: flex; align-items: center; gap: var(--space-xs); }
.site-header .btn--sm { padding: 0 var(--space-sm); }
.site-header .when-wide { display: none; }
.site-header .when-narrow { display: inline; }
@media (max-width: 22.4375rem) { .menu-open .icon { display: none; } }
@media (min-width: 26rem) { .site-header__login { display: inline-flex; } }
@media (min-width: 37.5rem) {
  .wordmark { gap: var(--space-sm); font-size: 1.25rem; }
  .logo { width: 1.875rem; height: 1.875rem; }
  .site-header .btn--sm { padding: 0 var(--space-md); }
  .site-header .when-wide { display: inline; }
  .site-header .when-narrow { display: none; }
}
@media (min-width: 52.5rem) {
  .site-nav { display: flex; }
  .menu-open { display: none; }
}
/* Five links, Log in and the action share the row from 840: until 1024 they draw a step smaller. */
@media (min-width: 52.5rem) and (max-width: 63.9375rem) {
  .site-nav a, .site-header__login { padding: 0 var(--space-xs); font-size: var(--text-small); }
  .site-header .when-wide { display: none; }
  .site-header .when-narrow { display: inline; }
}
/* From 840 wide (and not on a short window) the header follows the page. It is 76px tall at rest
   and sticks 12px above the top edge, so it settles to 64px without animating its height. */
@media (min-width: 52.5rem) and (min-height: 30rem) {
  .site-header { position: sticky; top: calc(var(--space-sm) * -1); }
  .site-header__row { padding-top: var(--space-sm); min-height: calc(var(--size-header) + var(--space-sm)); }
  .site-header.is-stuck .wordmark { transform: scale(0.92); }
}

.menu { position: fixed; inset: 0; z-index: var(--z-sheet); width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: env(safe-area-inset-top, 0px) max(var(--space-md), env(safe-area-inset-right, 0px)) max(var(--space-lg), env(safe-area-inset-bottom, 0px)) max(var(--space-md), env(safe-area-inset-left, 0px)); border: 0; background: var(--color-night); color: var(--color-night-ink); overflow-y: auto; }
.menu[open] { display: flex; flex-direction: column; animation: menu-in var(--dur-short) var(--ease-out); }
.menu.is-closing { animation: menu-out var(--dur-micro) var(--ease-in) forwards; }
.menu::backdrop { background: var(--color-night); }
.menu__top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); min-height: var(--size-header); border-bottom: 1px solid var(--color-night-line); }
.menu__nav { padding-top: var(--space-sm); }
.menu__list li { border-bottom: 1px solid var(--color-night-line); }
.menu__list a { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); min-height: 3.5rem; color: var(--color-on-night); font-family: var(--font-display); font-size: var(--text-heading); font-weight: 600; letter-spacing: -0.02em; text-decoration: none; }
.menu__list a[aria-current="page"] { color: var(--color-teal); }
.menu__list a[aria-current="page"] span { box-shadow: inset 0 -2px 0 var(--color-teal); }
.menu__list .icon { color: var(--color-teal); transition: transform var(--dur-short) var(--ease-out); }
.menu__list a:active .icon { transform: translateX(var(--space-2xs)); }
@media (hover: hover) { .menu__list a:hover { color: var(--color-teal); } .menu__list a:hover .icon { transform: translateX(var(--space-2xs)); } .menu__login:hover { color: var(--color-teal); } }
.menu__login { display: inline-flex; align-items: center; min-height: 3.5rem; margin-top: var(--space-xs); color: var(--color-night-ink); font-size: var(--text-body-lg); font-weight: 600; text-decoration-color: var(--color-night-edge); text-underline-offset: 0.3em; }
.menu__login:active { color: var(--color-teal); }
.menu__foot { margin-top: auto; padding-top: var(--space-lg2); }
.menu__slogan { margin-top: var(--space-md2); color: var(--color-on-night); font-family: var(--font-display); font-size: var(--text-heading); font-weight: 600; letter-spacing: -0.015em; }
.menu__ai { display: flex; gap: var(--space-xs); margin-top: var(--space-xs); color: var(--color-night-muted); font-size: var(--text-small); }
.menu__ai .icon { margin-top: 0.15em; color: var(--color-teal); }
.menu[open] .menu__list li { animation: rise var(--dur-long) var(--ease-out) backwards; }
.menu[open] .menu__list li:nth-child(2) { animation-delay: 40ms; }
.menu[open] .menu__list li:nth-child(3) { animation-delay: 80ms; }
.menu[open] .menu__list li:nth-child(n + 4) { animation-delay: 120ms; }
.menu-is-open { overflow-y: hidden; }
@keyframes menu-in { from { opacity: 0; transform: translateY(calc(var(--space-sm) * -1)); } }
@keyframes menu-out { to { opacity: 0; transform: translateY(calc(var(--space-sm) * -1)); } }
@keyframes rise { from { opacity: 0; transform: translateY(var(--space-sm)); } }

/* ---- Sections -------------------------------------------------------------------------------- */
.section { padding-block: var(--space-section); }
.section--tint { background: var(--color-paper-2); }
.band-dark { background: var(--color-night); color: var(--color-night-ink); }
.band-dark .h-page, .band-dark .h-section, .band-dark h3 { color: var(--color-on-night); }
.band-dark .lede { color: var(--color-night-muted); }
.band-dark a { color: var(--color-teal); }
.head-row { display: grid; gap: var(--space-md2) var(--space-2xl); align-items: end; margin-bottom: var(--space-xl); }
.head-row__link { font-size: var(--text-body); font-weight: 600; }
.head-row__link a { display: inline-flex; align-items: center; min-height: var(--size-target); }
.split { display: grid; gap: var(--space-xl) var(--space-2xl); align-items: center; }
.split__text { display: grid; gap: var(--space-md2); }
@media (min-width: 52.5rem) {
  .head-row { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); margin-bottom: var(--space-xl2); }
  .split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .split--wide-visual { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
}

/* ---- Hero ------------------------------------------------------------------------------------ */
.hero { padding-block: var(--space-xl) var(--space-2xl); }
.hero__grid { display: grid; gap: var(--space-xl2) var(--space-xl); align-items: center; }
.hero__text { display: grid; gap: var(--space-lg); justify-items: start; }
.hero__mark { white-space: nowrap; box-shadow: inset 0 -0.18em 0 var(--color-teal); }
.hero__note { font-size: var(--text-small); color: var(--color-muted); }
.hero__visual { margin: 0; min-width: 0; }
.hero__stage { display: flex; flex-direction: column; align-items: center; }
.hero__caption { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-2xs) var(--space-md); min-height: var(--size-target); margin-top: var(--space-xs); font-size: var(--text-small); color: var(--color-muted); }
.replay { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: var(--size-target); padding: 0 var(--space-sm); border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--color-teal-deep); font-size: var(--text-small); font-weight: 600; text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.replay:active { transform: translateY(1px); }
.replay:disabled { opacity: 0.55; cursor: not-allowed; }
@media (hover: hover) { .replay:hover { background: var(--color-paper-2); } }
@media (min-width: 37.5rem) {
  .hero__stage { flex-direction: row; align-items: flex-end; justify-content: center; }
}
@media (min-width: 75rem) {
  .hero { padding-block: var(--space-xl2) var(--space-2xl); }
  .hero__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: var(--space-lg2); }
}

/* The one device frame on the page, and the product screens drawn inside it and beside the steps. */
.phone-frame { position: relative; z-index: var(--z-base); flex: none; width: var(--size-phone); max-width: 100%; padding: var(--space-xs); border-radius: var(--radius-device); background: var(--color-device); box-shadow: var(--shadow-deep); }
.phone-frame .screen { border-radius: var(--space-lg2); padding-top: var(--space-xl); }
.phone-frame::before { content: ""; position: absolute; z-index: var(--z-raised); top: var(--space-md); left: 50%; width: 4.75rem; height: var(--space-md2); margin-left: -2.375rem; border-radius: var(--radius-control); background: var(--color-device); }
.screen { position: relative; display: grid; gap: var(--space-sm); align-content: start; width: var(--size-phone); max-width: 100%; padding: var(--space-md); border-radius: var(--radius-panel); background: var(--color-night); color: var(--color-night-ink); font-size: 0.875rem; line-height: 1.45; overflow: hidden; }
.step__show > .screen { box-shadow: var(--shadow-deep); }
.screen--check { background: var(--color-check); }
.screen__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-xs); }
.screen__name { font-family: var(--font-display); font-weight: 600; }
.screen__count { color: var(--color-violet); font-size: var(--text-caption); font-weight: 600; }
.q { padding: var(--space-sm); border: 1px solid var(--color-night-line); border-radius: var(--radius-control); background: var(--color-night-2); }
.q--check { border-color: var(--color-check-line); background: var(--color-check-2); }
.q__n { font-size: var(--text-caption); color: var(--color-night-muted); }
.q--check .q__n { color: var(--color-violet); }
.q__text { font-family: var(--font-display); font-size: 1.0625rem; font-weight: 600; line-height: 1.35; }
.working { padding: var(--space-xs) var(--space-sm) var(--space-xs) var(--space-md2); border-radius: var(--radius-sm); background: var(--color-sheet); box-shadow: inset 3px 0 0 var(--color-sheet-margin); color: var(--color-sheet-ink); }
.hand { border-bottom: 1px solid var(--color-sheet-rule); font-family: var(--font-hand); font-size: 1.375rem; font-weight: 600; line-height: 1.35; }
.working__note { margin-top: var(--space-2xs); font-size: var(--text-caption); color: var(--color-muted); }
.chat { position: relative; display: grid; gap: var(--space-xs); }
.bubble { justify-self: start; max-width: 88%; padding: var(--space-xs) var(--space-sm); border: 1px solid var(--color-night-line); border-radius: var(--space-2xs) var(--space-md) var(--space-md) var(--space-md); background: var(--color-night-3); color: var(--color-night-ink); }
.bubble--child { justify-self: end; max-width: 80%; border-color: var(--color-teal); border-radius: var(--space-md) var(--space-2xs) var(--space-md) var(--space-md); background: var(--color-teal); color: var(--color-teal-ink); font-weight: 600; }
.bubble__who { display: flex; align-items: center; gap: var(--space-2xs); margin-bottom: var(--space-3xs); color: var(--color-teal); font-size: var(--text-caption); font-weight: 600; }
.bubble__note { margin-top: var(--space-2xs); color: var(--color-night-muted); font-size: var(--text-caption); }
.composer { display: flex; align-items: center; justify-content: space-between; gap: var(--space-xs); padding: var(--space-2xs) var(--space-2xs) var(--space-2xs) var(--space-md); border: 1px solid var(--color-night-line); border-radius: var(--radius-control); background: var(--color-night-2); color: var(--color-night-muted); }
.composer__hint { display: inline-flex; align-items: center; min-height: var(--space-lg2); padding: 0 var(--space-sm); border: 1px solid var(--color-night-line); border-radius: var(--radius-sm); background: var(--color-night-3); color: var(--color-night-ink); font-size: var(--text-caption); font-weight: 600; }
.seen { display: flex; align-items: center; gap: var(--space-2xs); color: var(--color-night-muted); font-size: var(--text-caption); }
.lockline { display: flex; align-items: center; gap: var(--space-xs); padding: var(--space-sm); border: 1.5px solid var(--color-check-line); border-radius: var(--radius-control); background: var(--color-check); color: var(--color-violet); font-size: 0.875rem; font-weight: 600; }
.answer { display: flex; align-items: center; gap: var(--space-2xs); padding: var(--space-sm); border: 1px solid var(--color-check-line); border-radius: var(--radius-control); background: var(--color-night); font-family: var(--font-display); font-size: 1.125rem; }
.answer__caret { width: 2px; height: 1.125rem; background: var(--color-gold); }
.screen__action { display: flex; align-items: center; justify-content: center; min-height: var(--space-xl2); border-radius: var(--radius-pill); background: var(--color-teal); color: var(--color-teal-ink); font-weight: 600; }
.screen__action--gold { background: var(--color-gold); color: var(--color-gold-ink); }
.screen__foot { color: var(--color-check-muted); font-size: var(--text-caption); }
.typing { position: absolute; left: 0; top: 0; display: flex; gap: var(--space-2xs); padding: var(--space-sm); border: 1px solid var(--color-night-line); border-radius: var(--space-2xs) var(--space-md) var(--space-md) var(--space-md); background: var(--color-night-3); }
.typing i { width: var(--space-xs); height: var(--space-xs); border-radius: 50%; background: var(--color-teal); animation: typing 900ms var(--ease-out) infinite; }
.typing i:nth-child(2) { animation-delay: 150ms; }
.typing i:nth-child(3) { animation-delay: 300ms; }
@keyframes typing { 0%, 70%, 100% { opacity: 0.3; transform: none; } 35% { opacity: 1; transform: translateY(calc(var(--space-3xs) * -1)); } }

.mini-report { position: relative; z-index: var(--z-raised); flex: none; width: 17rem; max-width: 100%; margin-top: calc(var(--space-md) * -1); padding: var(--space-md2); border-radius: var(--radius-card); background: var(--color-card); box-shadow: var(--shadow-deep); }
.mini-report__top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-xs); margin-bottom: var(--space-xs); font-size: var(--text-small); color: var(--color-muted); }
.mini-report__skill { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
.mini-report__who { margin-bottom: var(--space-sm); font-size: var(--text-small); color: var(--color-muted); }
.mini-report__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-xs); margin-top: var(--space-sm); padding-top: var(--space-sm); border-top: 1px solid var(--color-line); font-size: var(--text-small); line-height: 1.35; }
.rungs { display: flex; justify-content: space-between; gap: var(--space-3xs); }
.rung { display: grid; justify-items: center; white-space: nowrap; gap: var(--space-2xs); font-size: var(--text-caption); color: var(--color-muted); }
.rung__mark, .ev__mark, .tl__mark { display: inline-flex; align-items: center; justify-content: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; }
.rung--pass .rung__mark, .ev--pass .ev__mark { background: var(--color-teal-deep); color: var(--color-card); }
.rung--notyet .rung__mark, .ev--notyet .ev__mark { border: 2px solid var(--color-amber); border-radius: var(--radius-sm); color: var(--color-amber); }
.rung__mark .icon, .ev__mark .icon { width: 0.875rem; height: 0.875rem; stroke-width: 3; }
@media (min-width: 37.5rem) {
  .mini-report { margin: 0 0 var(--space-xl2) calc(var(--space-md2) * -1); }
}

/* ---- Home: facts, the problem, the loop ------------------------------------------------------ */
.facts { border-block: 1px solid var(--color-line); }
.facts__list { display: grid; gap: 0 var(--space-lg2); padding-block: var(--space-xs); }
.facts__list li { display: flex; align-items: center; gap: var(--space-sm); padding-block: var(--space-sm); font-size: var(--text-small); line-height: 1.35; color: var(--color-muted); }
.facts__list li + li { border-top: 1px solid var(--color-line); }
.facts__list .icon { width: 1.5rem; height: 1.5rem; color: var(--color-teal-deep); }
.facts__name { color: var(--color-ink); font-size: var(--text-body); font-weight: 600; }
@media (min-width: 37.5rem) {
  .facts__list { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: var(--space-md); }
  .facts__list li + li { border-top: 0; }
}
@media (min-width: 52.5rem) { .facts__list { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: var(--space-lg); } }

.problem__grid { display: grid; gap: var(--space-lg2) var(--space-2xl); align-items: start; }
.problem__say { max-width: 30ch; }
.compare-pair { display: grid; gap: var(--space-md); }
@media (min-width: 52.5rem) { .problem__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); } .problem__say { grid-column: 1 / -1; margin-bottom: var(--space-md); } .compare-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.says { display: grid; gap: var(--space-xs); align-content: start; padding: var(--space-lg); border: 1px solid var(--color-line); border-radius: var(--radius-card); background: var(--color-card); }
.says__who { font-size: var(--text-small); font-weight: 600; color: var(--color-muted); }
.says__what { font-family: var(--font-display); font-size: var(--text-heading); font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; }
.says__more { color: var(--color-muted); }
.says--ours { border-color: var(--color-night); background: var(--color-night); color: var(--color-night-ink); }
.says--ours .says__who { color: var(--color-teal); }
.says--ours .says__what { color: var(--color-on-night); }
.says--ours .says__more { color: var(--color-night-muted); }

.loop { display: grid; gap: var(--space-sm); counter-reset: loop; }
.loop__step { display: grid; grid-template-rows: auto auto auto 1fr; gap: var(--space-xs); padding: var(--space-md2); border: 1px solid var(--color-night-line); border-radius: var(--radius-card); background: var(--color-night-2); counter-increment: loop; }
.loop__step::before { content: counter(loop, decimal-leading-zero); color: var(--color-teal); font-family: var(--font-display); font-size: var(--text-heading); font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.2; }
.loop__step--counts { border-color: var(--color-check-line); }
.loop__step--counts::before { color: var(--color-violet); }
.loop__step h3 { font-size: 1.25rem; letter-spacing: -0.015em; line-height: 1.2; }
.loop__step > p { color: var(--color-night-muted); font-size: var(--text-small); }
.loop__show { display: grid; gap: var(--space-2xs); align-self: end; margin-top: var(--space-xs); font-size: 0.875rem; }
.loop__show .bubble { max-width: 100%; }
.loop__show .hand { border-bottom: 0; }
.form-old, .form-new { padding: var(--space-xs) var(--space-sm); border: 1px solid var(--color-check-line); border-radius: var(--radius-sm); background: var(--color-check); color: var(--color-night-muted); line-height: 1.4; }
.form-new { border-color: var(--color-violet); color: var(--color-night-ink); }
.days { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2xs); }
.days span { display: grid; justify-items: center; padding: var(--space-xs) 0; border: 1px solid var(--color-check-line); border-radius: var(--radius-sm); background: var(--color-check); color: var(--color-violet); font-size: var(--text-caption); }
.days b { color: var(--color-night-ink); font-family: var(--font-display); font-size: 1.25rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.loop__end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-xs) var(--space-md); margin-top: var(--space-md); padding: var(--space-md) var(--space-lg); border-radius: var(--radius-card); background: var(--color-teal); color: var(--color-teal-ink); }
.loop__end p { display: flex; align-items: center; gap: var(--space-sm); font-family: var(--font-display); font-size: var(--text-heading); font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.loop__end a, .band-dark .loop__end a { display: inline-flex; align-items: center; min-height: var(--size-target); color: var(--color-teal-ink); font-weight: 600; }
.loop__end :focus-visible { outline-color: var(--color-teal-ink); }
@media (min-width: 37.5rem) { .loop { grid-template-columns: repeat(2, minmax(0, 1fr)); } .loop__step:last-child { grid-column: 1 / -1; } }
@container (min-width: 62rem) { .loop { grid-template-columns: repeat(5, minmax(0, 1fr)); } .loop__step:last-child { grid-column: auto; } }

/* ---- The sample evidence report -------------------------------------------------------------- */
.sheet { position: relative; padding: var(--space-md2); border-radius: var(--radius-card); background: var(--color-card); box-shadow: var(--shadow-deep); container-type: inline-size; overflow: hidden; }
.sheet__top { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-sm); padding-bottom: var(--space-md); border-bottom: 1px solid var(--color-line); }
.sheet__kind { font-size: var(--text-small); color: var(--color-muted); }
.sheet__who { font-family: var(--font-display); font-size: var(--text-heading); font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; }
.sheet__sum { display: flex; gap: var(--space-sm); align-items: flex-start; max-width: 70ch; padding-block: var(--space-md); }
.pin, .notes__n { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--color-gold); color: var(--color-gold-ink); font-size: var(--text-small); font-weight: 600; line-height: 1; text-decoration: none; font-variant-numeric: tabular-nums; }
.pin { transition: transform var(--dur-micro) var(--ease-out); }
.pin:active { color: var(--color-gold-ink); transform: scale(0.92); }
@media (hover: hover) { .pin:hover { color: var(--color-gold-ink); transform: scale(1.12); } }
.evidence th { text-align: left; vertical-align: top; }
.evidence thead th { padding: var(--space-xs); border-bottom: 1px solid var(--color-line); font-size: var(--text-small); font-weight: 400; color: var(--color-muted); white-space: nowrap; }
.evidence tbody th { max-width: 13rem; padding: var(--space-md) var(--space-xs); font-size: var(--text-body); font-weight: 600; line-height: 1.35; }
.evidence td { padding: var(--space-md) var(--space-xs); vertical-align: top; }
.evidence tbody tr + tr { border-top: 1px solid var(--color-line); }
.ev { display: inline-grid; gap: var(--space-2xs); justify-items: start; }
.ev__row { display: inline-flex; align-items: center; gap: var(--space-2xs); min-height: 1.5rem; }
.ev__when { font-size: var(--text-small); font-weight: 400; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ev--notyet .ev__when { color: var(--color-amber); }
.ev--due .ev__when { color: var(--color-muted); }
.ev--due .ev__mark { border: 2px dashed var(--color-muted); }
.ev--none .ev__mark { width: var(--space-xs); height: var(--space-xs); margin: var(--space-xs); background: var(--color-line-strong); }
@container (max-width: 54rem) {
  .evidence thead { display: none; }
  .evidence, .evidence tbody, .evidence tr, .evidence tbody th, .evidence td { display: block; }
  .evidence tbody tr { padding-block: var(--space-md); }
  .evidence tbody th { max-width: none; padding: 0 0 var(--space-xs); }
  .evidence td { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); padding: var(--space-xs) 0; border-top: 1px solid var(--color-line); }
  .evidence td::before { content: attr(data-th); font-size: var(--text-small); color: var(--color-muted); }
  .ev { display: inline-flex; flex-direction: row-reverse; align-items: center; gap: var(--space-xs); }
}
.notes { display: grid; gap: var(--space-md2); margin-block: var(--space-lg2) var(--space-lg); }
.notes li { display: flex; gap: var(--space-sm); align-items: flex-start; font-size: var(--text-small); color: var(--color-muted); scroll-margin-top: var(--space-3xl); }
.notes__n { width: 1.75rem; height: 1.75rem; }
.notes__name { color: var(--color-ink); font-size: var(--text-body); font-weight: 600; line-height: 1.35; }
.notes li:target .notes__name { box-shadow: inset 0 -0.4em 0 var(--color-gold-wash); }
@media (min-width: 37.5rem) { .sheet { padding: var(--space-lg); } .notes { grid-template-columns: repeat(2, minmax(0, 1fr)); } .notes li:last-child { grid-column: 1 / -1; } }
@container (min-width: 62rem) { .notes { grid-template-columns: repeat(5, minmax(0, 1fr)); } .notes li:last-child { grid-column: auto; } }

/* ---- The hint ladder, safety, plans in brief, questions --------------------------------------- */
.hints__body { display: grid; gap: var(--space-lg2) var(--space-2xl); align-items: center; }
.willwont { display: grid; gap: var(--space-lg) var(--space-xl); }
.willwont__head { margin-bottom: var(--space-sm); font-family: var(--font-body); font-size: var(--text-body); font-weight: 600; }
.willwont__head--will { color: var(--color-teal-deep); }
.willwont__head--wont { color: var(--color-amber); }
@media (min-width: 37.5rem) { .willwont { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container (min-width: 60rem) { .hints__body { grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); } .willwont { grid-template-columns: minmax(0, 1fr); } }
.ladder { padding: var(--space-md2) var(--space-md2) 0; border-radius: var(--radius-panel); background: var(--color-night); color: var(--color-night-ink); box-shadow: var(--shadow-deep); overflow: hidden; }
.ladder__top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); margin-bottom: var(--space-md2); }
.ladder__name { font-family: var(--font-display); font-size: 1.0625rem; font-weight: 600; }
.ladder__steps { display: grid; gap: var(--space-xs); padding-bottom: var(--space-md2); }
.ladder__step { padding: var(--space-sm) var(--space-md); border-radius: var(--radius-control); font-size: var(--text-small); line-height: 1.4; }
.ladder__n { font-size: var(--text-caption); font-weight: 600; }
.ladder__what { font-family: var(--font-display); font-size: 1.0625rem; font-weight: 600; line-height: 1.25; }
.ladder__step--1 { width: 70%; background: var(--color-night-3); }
.ladder__step--2 { width: 82%; background: var(--color-night-blue); color: var(--color-on-night); }
.ladder__step--3 { width: 94%; background: var(--color-teal); color: var(--color-teal-ink); }
.ladder__step--none { border: 2px dashed var(--color-night-edge); color: var(--color-night-muted); }
.ladder__step--none .icon { margin-bottom: var(--space-2xs); color: var(--color-night-ink); }
.ladder__step--none .ladder__what { color: var(--color-night-ink); }
@media (min-width: 37.5rem) {
  .ladder { padding: var(--space-lg) var(--space-lg) 0; }
  .ladder__steps { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; gap: var(--space-xs); padding-bottom: 0; }
  .ladder__step { width: auto; border-radius: var(--radius-control) var(--radius-control) 0 0; }
  .ladder__step--1 { min-height: 8.25rem; }
  .ladder__step--2 { min-height: 11rem; }
  .ladder__step--3 { min-height: 13.75rem; }
  .ladder__step--none { min-height: 16.5rem; border-bottom: 0; }
}

.points { display: grid; gap: var(--space-lg) var(--space-lg2); }
.points li { padding-top: var(--space-md2); border-top: 2px solid var(--color-ink); }
.points h3 { display: flex; align-items: flex-start; gap: var(--space-xs); margin-bottom: var(--space-xs); font-size: var(--text-heading); letter-spacing: -0.015em; line-height: 1.25; }
.points .icon { margin-top: 0.1em; color: var(--color-teal-deep); }
.points p { color: var(--color-muted); }
@media (min-width: 37.5rem) { .points { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container (min-width: 62rem) { .points { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.minis { display: grid; gap: var(--space-md); }
.mini { display: grid; gap: var(--space-xs); align-content: start; padding: var(--space-lg); border: 1px solid var(--color-line); border-radius: var(--radius-card); background: var(--color-card); color: var(--color-muted); }
.mini--open { border: 2px solid var(--color-night); }
.mini h3 { color: var(--color-ink); font-size: 1.125rem; }
.price { color: var(--color-muted); font-size: var(--text-body); }
.price__n { color: var(--color-ink); font-family: var(--font-display); font-size: 2.5rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums lining-nums; }
.price--big .price__n { font-size: 3.5rem; letter-spacing: -0.04em; font-variant-numeric: tabular-nums lining-nums; }
.mini__state { margin-top: var(--space-xs); font-size: var(--text-small); font-weight: 600; }
.mini__state--open { color: var(--color-teal-deep); }
.plans-brief__end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-md) var(--space-lg2); margin-top: var(--space-lg); color: var(--color-muted); }
@media (min-width: 52.5rem) { .minis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.founder__grid { display: grid; gap: var(--space-md2); }
.founder__quotes { display: grid; align-content: center; padding: var(--space-lg2); border: 2px dashed var(--color-line-strong); border-radius: var(--radius-card); color: var(--color-muted); }
.founder__note { display: grid; gap: var(--space-md); align-content: center; min-height: 15rem; padding: var(--space-lg2); border: 1px solid var(--color-line); border-radius: var(--radius-card); background: var(--color-card); }
.founder__story { font-family: var(--font-display); font-size: var(--text-heading); font-weight: 600; letter-spacing: -0.015em; line-height: 1.35; }
.founder__name { color: var(--color-muted); }

.faq__grid { display: grid; gap: var(--space-lg2) var(--space-2xl); }
.faq__grid > :first-child { display: grid; gap: var(--space-md2); align-content: start; }
.faq__list { border-top: 1px solid var(--color-line); }
.faq__list details { border-bottom: 1px solid var(--color-line); }
.faq__list summary, .switch__panel summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: 4rem; padding-block: var(--space-xs); font-family: var(--font-display); font-size: var(--text-heading); font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; list-style: none; cursor: pointer; }
.faq__list summary::-webkit-details-marker, .switch__panel summary::-webkit-details-marker { display: none; }
.faq__list summary .icon, .switch__panel summary .icon { width: 1.375rem; height: 1.375rem; color: var(--color-teal-deep); transition: transform var(--dur-short) var(--ease-out); }
details[open] > summary .icon { transform: rotate(45deg); }
.faq__list summary:active, .switch__panel summary:active { color: var(--color-teal-deep); }
@media (hover: hover) { .faq__list summary:hover, .switch__panel summary:hover { color: var(--color-teal-deep); } }
.faq__list details p { max-width: 64ch; padding-bottom: var(--space-md2); color: var(--color-muted); }
.faq__list details[open] p { animation: rise var(--dur-long) var(--ease-out); }
@media (min-width: 52.5rem) { .faq__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); } }

/* ---- Apply (the closing band and its form) ---------------------------------------------------- */
.apply { padding-block: var(--space-section-l); scroll-margin-top: var(--space-xl); }
.apply__grid { display: grid; gap: var(--space-xl) var(--space-2xl); align-items: start; }
.apply__text { display: grid; gap: var(--space-md2); }
.apply .h-section { font-size: var(--text-page); max-width: 12ch; line-height: 1.06; }
.ticks--dark { margin-top: var(--space-xs); font-size: var(--text-body); }
.signup { display: grid; gap: var(--space-md); width: 100%; max-width: 30rem; padding: var(--space-md2); border: 1px solid var(--color-night-line); border-radius: var(--radius-panel); background: var(--color-night-2); }
.field { display: grid; gap: var(--space-xs); }
.field label { font-size: var(--text-small); font-weight: 600; }
.optional { font-weight: 400; color: var(--color-night-muted); }
.field input, .field select { width: 100%; min-height: var(--size-control); padding: 0 var(--space-md); border: 1.5px solid var(--color-night-edge); border-radius: var(--radius-control); background: var(--color-night); color: var(--color-night-ink); font-size: 1.0625rem; transition: background-color var(--dur-short) var(--ease-out); }
.field select { appearance: none; padding-right: var(--space-xl2); }
.select { position: relative; display: block; }
.select .icon { position: absolute; right: var(--space-md); top: 50%; margin-top: -0.625em; color: var(--color-night-muted); pointer-events: none; }
.field input:focus-visible, .field select:focus-visible { outline-offset: 2px; }
.field input[aria-invalid="true"] { border-color: var(--color-error-night); }
.field input:disabled, .field select:disabled { opacity: 0.55; cursor: not-allowed; }
@media (hover: hover) { .field input:hover, .field select:hover { background: var(--color-night-3); } }
.consent { display: flex; align-items: flex-start; gap: var(--space-sm); min-height: var(--size-target); color: var(--color-night-muted); font-size: var(--text-small); line-height: 1.5; cursor: pointer; }
.consent input { flex: none; width: 1.5rem; height: 1.5rem; margin: 0; accent-color: var(--color-teal); cursor: pointer; }
.consent a { color: var(--color-teal); white-space: nowrap; }
.trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.signup__help { min-height: 1lh; font-size: var(--text-small); font-weight: 600; color: var(--color-night-ink); }
.signup__help.is-error { color: var(--color-error-night); }
.signup__help.is-done { color: var(--color-teal); }
.signup__note { font-size: var(--text-small); color: var(--color-night-muted); }
@media (min-width: 37.5rem) { .signup { padding: var(--space-lg2); } }
@media (min-width: 52.5rem) { .apply__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } .signup { justify-self: end; } }

/* ---- Footer ---------------------------------------------------------------------------------- */
.site-footer { padding-block: var(--space-2xl) max(var(--space-xl), env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--color-night-line); font-size: var(--text-body); }
.site-footer__grid { display: grid; gap: var(--space-xl) var(--space-xl2); grid-template-areas: "brand" "nav" "contact"; }
.site-footer__brand { grid-area: brand; }
.site-footer__nav { grid-area: nav; }
.site-footer__contact { grid-area: contact; }
.site-footer__slogan { margin-top: var(--space-sm); color: var(--color-night-ink); font-family: var(--font-display); font-size: var(--text-heading); font-weight: 600; letter-spacing: -0.015em; }
.site-footer__what { max-width: 38ch; margin-top: var(--space-sm); color: var(--color-night-muted); }
.site-footer__nav { display: grid; gap: var(--space-lg); padding-block: var(--space-lg2); border-block: 1px solid var(--color-night-line); }
.site-footer__head { margin-bottom: var(--space-xs); color: var(--color-night-muted); font-family: var(--font-body); font-size: var(--text-small); font-weight: 400; }
.site-footer__nav a, .site-footer__contact a { display: inline-flex; align-items: center; min-height: var(--size-target); color: var(--color-night-ink); text-decoration-color: var(--color-night-edge); text-underline-offset: 0.25em; overflow-wrap: anywhere; }
.site-footer__nav a[aria-current="page"] { text-decoration-color: var(--color-teal); text-decoration-thickness: 2px; }
.site-footer a:active { color: var(--color-teal); }
@media (hover: hover) { .site-footer a:hover { color: var(--color-teal); } }
.site-footer__contact p { color: var(--color-night-ink); line-height: 1.7; }
.site-footer__ai { display: flex; gap: var(--space-sm); align-items: flex-start; margin-top: var(--space-xl2); padding: var(--space-md2) var(--space-lg); border: 1px solid var(--color-night-line); border-radius: var(--radius-card); background: var(--color-night-2); color: var(--color-night-ink); }
.site-footer__ai span { max-width: 75ch; }
.site-footer__ai .icon { margin-top: 0.15em; color: var(--color-teal); }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-xs) var(--space-lg2); margin-top: var(--space-lg); color: var(--color-night-muted); font-size: var(--text-small); }
@media (min-width: 37.5rem) { .site-footer__grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); grid-template-areas: "brand contact" "nav nav"; } .site-footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); } .site-footer__contact a { white-space: nowrap; } }
@media (min-width: 52.5rem) { .site-footer__nav { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---- How it works ---------------------------------------------------------------------------- */
.page-hero { padding-block: var(--space-2xl); }
.page-hero__grid { display: grid; gap: var(--space-xl) var(--space-2xl); align-items: end; }
.page-hero .lede { margin-top: var(--space-lg); }
.page-hero--plans { padding-bottom: var(--space-xl2); }
.plans { padding-bottom: var(--space-section); }
.step-index { border-bottom: 1px solid var(--color-line); counter-reset: idx; }
.step-index li { border-top: 1px solid var(--color-line); counter-increment: idx; }
.step-index a { display: flex; align-items: center; gap: var(--space-md); min-height: var(--size-target); color: var(--color-ink); font-weight: 600; text-decoration: none; transition: transform var(--dur-short) var(--ease-out); }
.step-index a::before { content: counter(idx, decimal-leading-zero); color: var(--color-teal-deep); font-size: var(--text-small); font-variant-numeric: tabular-nums; }
.step-index__counts a::before { color: var(--color-violet-deep); }
.step-index a:active { color: var(--color-teal-deep); }
@media (hover: hover) { .step-index a:hover { color: var(--color-teal-deep); transform: translateX(var(--space-2xs)); } }
@media (min-width: 52.5rem) { .page-hero__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }

.steps { padding-bottom: var(--space-section-s); }
.steps__list { counter-reset: step; }
.step:first-child { border-top: 0; padding-top: var(--space-2xl); }
.step { display: grid; gap: var(--space-xl) var(--space-2xl); align-items: center; padding-block: var(--space-2xl); border-top: 1px solid var(--color-line); counter-increment: step; scroll-margin-top: var(--space-xl); }
.step__text { display: grid; gap: var(--space-md2); }
.step__text::before { content: counter(step, decimal-leading-zero); color: var(--color-teal-deep); font-family: var(--font-display); font-size: var(--text-page); font-weight: 600; letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.step--counts .step__text::before { color: var(--color-violet-deep); }
.step__counts { display: inline-flex; align-items: center; justify-self: start; gap: var(--space-xs); padding: var(--space-2xs) var(--space-sm); border-radius: var(--radius-pill); background: var(--color-violet-wash); color: var(--color-violet-deep); font-size: var(--text-small); font-weight: 600; }
.step__show { display: flex; justify-content: center; min-width: 0; }
@media (min-width: 52.5rem) {
  .step { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .step--flip .step__text { order: 2; }
}
.timeline { width: 100%; max-width: 28.75rem; padding: var(--space-lg); border-radius: var(--radius-panel); background: var(--color-card); box-shadow: var(--shadow-deep); }
.timeline__top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-xs); margin-bottom: var(--space-lg); }
.timeline__skill { font-family: var(--font-display); font-size: 1.0625rem; font-weight: 600; }
.timeline__list { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-2xs); }
.timeline__list::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 1.0625rem; height: 2px; background: var(--color-violet-deep); }
.tl { position: relative; display: grid; justify-items: center; gap: var(--space-2xs); text-align: center; }
.tl__mark { width: 2.25rem; height: 2.25rem; background: var(--color-violet-deep); color: var(--color-card); box-shadow: 0 0 0 var(--space-2xs) var(--color-card); }
.tl--due .tl__mark { border: 2px dashed var(--color-violet-deep); background: var(--color-card); color: var(--color-violet-deep); }
.tl__mark .icon { width: 1.125rem; height: 1.125rem; stroke-width: 2.5; }
.tl__name { margin-top: var(--space-2xs); font-size: var(--text-small); font-weight: 600; line-height: 1.2; }
.tl__when { font-size: var(--text-caption); color: var(--color-muted); font-variant-numeric: tabular-nums; }
.timeline__foot { margin-top: var(--space-lg); padding-top: var(--space-md); border-top: 1px solid var(--color-line); font-size: var(--text-small); color: var(--color-muted); }

.views__table th { text-align: left; vertical-align: top; }
.views__table thead th { padding: var(--space-sm) var(--space-md2); font-family: var(--font-display); font-size: 1.0625rem; font-weight: 600; white-space: nowrap; }
.views__table thead .icon { display: inline-block; margin-right: var(--space-xs); vertical-align: -0.2em; }
.views__table thead th:first-child, .views__table tbody th { padding-left: 0; }
.views__table tbody th { padding: var(--space-md2) var(--space-md2) var(--space-md2) 0; border-top: 1px solid var(--color-line); font-weight: 600; white-space: nowrap; }
.views__table td { padding: var(--space-md2); border-top: 1px solid var(--color-line); vertical-align: top; }
.views__counts th { color: var(--color-violet-deep); }
.views__you { background: var(--color-card); }
.views__table thead .views__you { border-radius: var(--radius-control) var(--radius-control) 0 0; }
@media (max-width: 52.4375rem) {
  .views__table thead { display: none; }
  .views__table, .views__table tbody, .views__table tr, .views__table tbody th, .views__table td { display: block; }
  .views__table tr { padding-block: var(--space-md); border-top: 1px solid var(--color-line); }
  .views__table tbody th { padding: 0 0 var(--space-xs); border-top: 0; font-family: var(--font-display); font-size: var(--text-heading); white-space: normal; }
  .views__table td { padding: var(--space-xs) 0; border-top: 0; }
  .views__table td.views__you { margin-top: var(--space-xs); padding: var(--space-sm) var(--space-md); border-radius: var(--radius-control); }
  .views__table td::before { content: attr(data-th); display: block; font-size: var(--text-small); font-weight: 600; color: var(--color-muted); }
}

.stages-band { padding-bottom: 0; }
.stages { display: grid; gap: var(--space-xs); padding-bottom: var(--space-xl2); }
.stages__step { padding: var(--space-md) var(--space-md2); border-radius: var(--radius-control); background: var(--color-night-3); color: var(--color-night-muted); font-size: var(--text-small); }
.stages__step h3 { margin-bottom: var(--space-2xs); color: var(--color-night-ink); font-size: var(--text-heading); letter-spacing: -0.015em; }
.stages__step--1 { width: 64%; }
.stages__step--2 { width: 73%; }
.stages__step--3 { width: 82%; background: var(--color-night-blue); color: var(--color-night-ink); }
.stages__step--4 { width: 91%; background: var(--color-teal); color: var(--color-teal-ink); }
.stages__step--5 { background: var(--color-gold); color: var(--color-gold-ink); }
.band-dark .stages__step--4 h3 { color: var(--color-teal-ink); }
.band-dark .stages__step--5 h3 { color: var(--color-gold-ink); }
@media (min-width: 52.5rem) {
  .stages { grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; padding-bottom: 0; }
  .stages__step { width: auto; border-radius: var(--radius-card) var(--radius-card) 0 0; }
  .stages__step--1 { min-height: 6rem; }
  .stages__step--2 { min-height: 8.5rem; }
  .stages__step--3 { min-height: 11rem; }
  .stages__step--4 { min-height: 14.5rem; }
  .stages__step--5 { min-height: 18rem; }
}

.limits__pair { display: grid; gap: var(--space-md); }
.limits__col { display: grid; gap: var(--space-md2); align-content: start; padding: var(--space-lg); border: 1px solid var(--color-line); border-radius: var(--radius-card); background: var(--color-card); }
.limits__col--not { background: var(--color-paper-2); }
.words { display: grid; gap: var(--space-lg) var(--space-lg2); margin-top: var(--space-xl2); }
.words > div { padding-top: var(--space-md2); border-top: 2px solid var(--color-ink); }
.words dt { margin-bottom: var(--space-xs); font-family: var(--font-display); font-size: var(--text-heading); font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.words dd { color: var(--color-muted); }
@media (min-width: 52.5rem) { .limits__pair { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg); } .limits__col { padding: var(--space-lg2); } .words { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---- Plans and pricing ------------------------------------------------------------------------ */
.notice { display: flex; align-items: flex-start; gap: var(--space-sm); max-width: 46rem; margin-bottom: var(--space-lg2); padding: var(--space-sm) var(--space-md); border-radius: var(--radius-control); background: var(--color-gold-wash); color: var(--color-gold-ink); font-size: var(--text-body); font-weight: 400; }
.notice .icon { margin-top: 0.2em; color: var(--color-gold-deep); }
.plan-cards { display: grid; gap: var(--space-md2); margin-bottom: var(--space-lg); }
.plan { display: grid; grid-template-rows: auto auto auto auto 1fr; gap: var(--space-md); padding: var(--space-lg); border: 1px solid var(--color-line); border-radius: var(--radius-panel); background: var(--color-card); }
.plan--open { border: 2px solid var(--color-night); }
.plan__top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-xs); min-height: var(--space-lg2); }
.plan__name { font-size: var(--text-heading); letter-spacing: -0.015em; }
.plan__flag { display: inline-flex; padding: var(--space-2xs) var(--space-sm); border-radius: var(--radius-pill); background: var(--color-gold-wash); color: var(--color-gold-deep); font-size: var(--text-small); font-weight: 600; white-space: nowrap; }
.plan__flag--open { background: var(--color-night); color: var(--color-on-night); }
.plan__sub { color: var(--color-muted); }
.plan__end { display: grid; gap: var(--space-xs); align-content: start; min-height: 5.5rem; font-size: var(--text-small); color: var(--color-muted); text-align: center; }
.plan__later { display: flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: var(--size-control); border: 1.5px dashed var(--color-line-strong); border-radius: var(--radius-control); color: var(--color-muted); font-size: var(--text-body); font-weight: 600; }
@media (min-width: 52.5rem) { .plan-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } .plan { padding: var(--space-lg2) var(--space-lg) var(--space-lg); } .plan__sub { min-height: 3.25em; } }

.compare__narrow { display: none; }
.plan-table th { text-align: left; vertical-align: top; }
.plan-table thead th { padding: var(--space-md); vertical-align: bottom; background: var(--color-paper-2); font-size: var(--text-small); font-weight: 400; color: var(--color-muted); }
.plan-table thead th:first-child { padding-left: 0; width: 31%; }
.plan-table__name { display: block; color: var(--color-ink); font-family: var(--font-display); font-size: var(--text-heading); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.plan-table__price { display: block; white-space: nowrap; }
.plan-table thead .plan-table__open { border-radius: var(--radius-control) var(--radius-control) 0 0; background: var(--color-night); color: var(--color-night-muted); }
.plan-table thead .plan-table__open .plan-table__name { color: var(--color-on-night); }
.plan-table tbody th { padding: var(--space-sm) var(--space-md) var(--space-sm) 0; border-top: 1px solid var(--color-line); font-weight: 600; line-height: 1.45; }
.plan-table td { padding: var(--space-sm) var(--space-md); border-top: 1px solid var(--color-line); vertical-align: top; line-height: 1.45; }
.plan-table td.plan-table__open { background: var(--color-teal-wash); }
.plan-table .plan-table__group th { padding: var(--space-lg2) 0 var(--space-xs); border-top: 0; color: var(--color-teal-deep); font-size: var(--text-small); font-weight: 600; }
.yn { display: inline-flex; align-items: center; gap: var(--space-xs); font-weight: 600; }
.yn .icon { width: 1.375rem; height: 1.375rem; padding: var(--space-2xs); border-radius: 50%; stroke-width: 3; }
.yn--yes .icon { background: var(--color-teal-deep); color: var(--color-card); }
.yn--no { font-weight: 400; color: var(--color-muted); }
@media (min-width: 52.5rem) and (min-height: 30rem) { .plan-table thead th { position: sticky; top: var(--size-header-stuck); z-index: var(--z-sticky); } }
@media (max-width: 52.4375rem) {
  .compare__wide { display: none; }
  .compare__narrow { display: grid; gap: var(--space-lg2); }
}
.switch__tabs { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: var(--space-2xs); border: 1px solid var(--color-line); border-radius: var(--radius-pill); background: var(--color-card); }
.switch__tab { position: relative; z-index: var(--z-raised); min-height: var(--size-target); border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--color-ink); font-size: var(--text-body); font-weight: 600; cursor: pointer; transition: color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.switch__tab[aria-selected="true"] { color: var(--color-on-night); }
.switch__tab:active { transform: scale(0.97); }
.switch__tab:disabled { opacity: 0.55; cursor: not-allowed; }
.switch__thumb { position: absolute; top: var(--space-2xs); bottom: var(--space-2xs); left: var(--space-2xs); width: calc((100% - var(--space-xs)) / 3); border-radius: var(--radius-pill); background: var(--color-night); transform: translateX(calc(var(--at, 0) * 100%)); transition: transform var(--dur-short) var(--ease-out); }
.switch__panel { display: grid; gap: var(--space-sm); }
.switch__head { font-size: var(--text-heading); letter-spacing: -0.015em; }
.switch__panel details { padding-inline: var(--space-md2); border: 1px solid var(--color-line); border-radius: var(--radius-card); background: var(--color-card); }
.switch__panel summary small { display: block; font-family: var(--font-body); font-size: var(--text-small); font-weight: 400; letter-spacing: 0; color: var(--color-muted); }
.switch__panel dl > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-md); padding-block: var(--space-sm); border-top: 1px solid var(--color-line); font-size: var(--text-small); line-height: 1.4; }
.switch__panel dt { font-weight: 600; }
.switch__panel dd { text-align: right; }
.switch__panel dd .yn { justify-content: flex-end; }
.js .switch__panel.is-on { animation: rise var(--dur-long) var(--ease-out); }

.extra-list { display: grid; gap: var(--space-md2); }
.extra { display: grid; gap: var(--space-md); align-content: start; padding: var(--space-lg); border: 1px solid var(--color-line); border-radius: var(--radius-card); background: var(--color-card); }
.extra > p { color: var(--color-muted); }
.extra--later { border: 2px dashed var(--color-line-strong); background: transparent; }
.extra__top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-xs) var(--space-md); }
.extra h3 { display: flex; align-items: center; gap: var(--space-sm); font-size: var(--text-heading); letter-spacing: -0.015em; }
.extra__price { color: var(--color-teal-deep); font-size: var(--text-small); font-weight: 600; font-variant-numeric: tabular-nums; }
.extra--later .extra__price { color: var(--color-gold-deep); }
.extra .ticks { font-size: var(--text-small); }
@media (min-width: 52.5rem) { .extra-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg); } .extra { padding: var(--space-lg2); } }

.grinds__fair { max-width: 48ch; padding: var(--space-md) var(--space-md2); border: 1px solid var(--color-night-line); border-radius: var(--radius-control); background: var(--color-night-2); color: var(--color-night-ink); }
.bars { display: grid; gap: var(--space-lg); }
.bar__top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-2xs) var(--space-md); margin-bottom: var(--space-xs); font-weight: 600; }
.bar__n { color: var(--color-on-night); font-family: var(--font-display); font-size: var(--text-heading); font-variant-numeric: tabular-nums; }
.bar__track { height: 1.75rem; border-radius: var(--radius-sm); background: var(--color-night-3); overflow: hidden; }
.bar__fill { height: 100%; border-radius: var(--radius-sm); background: var(--color-night-edge); transform: scaleX(var(--bar, 1)); transform-origin: left center; }
.bar__fill--annual { background: var(--color-teal); }
.bar__fill--founding { background: var(--color-gold); }
.bar__note { margin-top: var(--space-xs); color: var(--color-night-muted); font-size: var(--text-small); }

/* ---- The privacy notice and the thank-you page ------------------------------------------------- */
.doc { padding-block: var(--space-2xl) var(--space-section); }
.doc__grid { display: grid; gap: var(--space-lg2) var(--space-2xl); align-items: start; }
.doc__head { display: grid; gap: var(--space-md); color: var(--color-muted); }
.doc__head .h-page { color: var(--color-ink); }
.doc__col { display: grid; gap: var(--space-md); }
.doc__col > h2:first-child { margin-top: 0; }
.doc .h-display { max-width: none; }
@media (min-width: 52.5rem) { .doc__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); } }
.doc__col > * { max-width: var(--container-reading); }
.doc h2 { margin-top: var(--space-lg); font-size: var(--text-heading); letter-spacing: -0.015em; }
.next { display: grid; counter-reset: next; border-bottom: 1px solid var(--color-line); }
.next li { display: flex; align-items: baseline; gap: var(--space-md); padding-block: var(--space-md); border-top: 1px solid var(--color-line); font-family: var(--font-display); font-size: var(--text-heading); font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; counter-increment: next; }
.next li::before { content: counter(next, decimal-leading-zero); color: var(--color-teal-deep); font-size: var(--text-small); font-variant-numeric: tabular-nums; }
.doc ul { display: grid; gap: var(--space-xs); padding-left: var(--space-md2); list-style: disc; }

/* ---- Reading pages: chapters, terms, lists of contents ------------------------------------------ */
.updated { font-size: var(--text-small); color: var(--color-muted); }
.notice--draft { margin-bottom: 0; }
.page-hero .notice--draft { margin-top: var(--space-lg); }
.page-hero .updated { margin-top: var(--space-md); }
.page-hero .actions { margin-top: var(--space-lg); }
.chapters { display: grid; gap: var(--space-section-s); }
.chapter { display: grid; gap: var(--space-lg) var(--space-2xl); align-items: start; scroll-margin-top: var(--space-xl); }
.chapter__body { display: grid; gap: var(--space-md2); min-width: 0; }
.chapter__body > * { max-width: var(--container-reading); }
.chapter__body .lede { max-width: var(--container-reading); }
.chapter__body > ul:not([class]), .term ul:not([class]) { display: grid; gap: var(--space-xs); padding-left: var(--space-md2); list-style: disc; }
.chapter__body > .wide { max-width: none; }
@media (min-width: 52.5rem) { .chapter { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); } }
.pull { padding-top: var(--space-md2); border-top: 2px solid var(--color-ink); font-family: var(--font-display); font-size: var(--text-title); font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.textlink { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: var(--size-target); font-weight: 600; white-space: nowrap; }
.textlink .icon { transition: transform var(--dur-short) var(--ease-out); }
@media (hover: hover) { .textlink:hover .icon { transform: translateX(var(--space-2xs)); } }
.linkrow { display: flex; flex-wrap: wrap; gap: 0 var(--space-lg2); }
.limits__more { margin-top: var(--space-lg); }

/* Facts in rows: a name, then what is true of it. Used for the terms of an offer and "at a glance". */
.rows > div { display: grid; gap: var(--space-2xs) var(--space-lg); padding-block: var(--space-md); border-top: 1px solid var(--color-line); }
.rows > div:last-child { border-bottom: 1px solid var(--color-line); }
.rows dt { font-weight: 600; }
.rows dd { color: var(--color-muted); }
@media (min-width: 37.5rem) { .rows > div { grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); } }
.terms { padding: var(--space-lg); border: 2px solid var(--color-night); border-radius: var(--radius-card); background: var(--color-card); }
.terms .rows > div:first-child { border-top: 0; padding-top: 0; }
.terms .rows > div:last-child { border-bottom: 0; padding-bottom: 0; }
@media (min-width: 37.5rem) { .terms { padding: var(--space-lg2); } }

.toc, .doc .toc { display: block; padding-left: 0; list-style: none; border-bottom: 1px solid var(--color-line); }
.toc li { border-top: 1px solid var(--color-line); }
.toc a { display: flex; align-items: center; min-height: var(--size-target); color: var(--color-ink); font-weight: 600; text-decoration: none; }
.toc a:active { color: var(--color-teal-deep); }
@media (hover: hover) { .toc a:hover { color: var(--color-teal-deep); } }
@media (min-width: 26rem) and (max-width: 52.4375rem) { .toc, .doc .toc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--space-lg); } }
@media (min-width: 52.5rem) { .doc .toc--two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--space-lg); } }
/* The list of contents follows the page only on a window tall enough to show all of it. */
@media (min-width: 52.5rem) and (min-height: 56rem) { .doc__head--stick { position: sticky; top: var(--space-lg); } }
.doc__col > .notice { margin-bottom: 0; }

.term { display: grid; gap: var(--space-sm); padding-block: var(--space-lg2); border-top: 1px solid var(--color-line); scroll-margin-top: var(--space-lg); }
.term:first-child { border-top: 0; padding-top: 0; }
.doc .term h2 { margin-top: 0; font-size: var(--text-title); letter-spacing: -0.02em; }
.term:target h2 { box-shadow: inset 0 -0.4em 0 var(--color-gold-wash); justify-self: start; }
.term__def { font-size: var(--text-body-lg); }
.term__not { color: var(--color-muted); }

.faq-groups { display: grid; gap: var(--space-section-s); }
.faq-groups .faq__grid { scroll-margin-top: var(--space-xl); }
.faq__list details a { font-weight: 600; white-space: nowrap; }

/* ---- Safety, about, contact, the full sample report ------------------------------------------- */
.card-screen { width: 100%; max-width: 28.75rem; padding: var(--space-lg); border-radius: var(--radius-panel); background: var(--color-card); color: var(--color-ink); box-shadow: var(--shadow-deep); }
.card-screen__top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-xs); margin-bottom: var(--space-md); }
.card-screen__name { font-family: var(--font-display); font-size: 1.0625rem; font-weight: 600; }
.card-screen__rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-3xs) var(--space-md); align-items: center; padding-block: var(--space-sm); border-top: 1px solid var(--color-line); }
.card-screen__what { font-weight: 600; line-height: 1.3; }
.card-screen__meta { grid-column: 1; font-size: var(--text-small); color: var(--color-muted); }
.card-screen__act { grid-column: 2; grid-row: 1 / span 2; font-size: var(--text-small); font-weight: 600; color: var(--color-teal-deep); white-space: nowrap; }
.card-screen__off { grid-column: 2; grid-row: 1 / span 2; padding: var(--space-3xs) var(--space-sm); border: 1.5px solid var(--color-line-strong); border-radius: var(--radius-pill); font-size: var(--text-small); font-weight: 600; color: var(--color-muted); }
.card-screen__foot { padding-top: var(--space-md); border-top: 1px solid var(--color-line); font-size: var(--text-small); color: var(--color-muted); }
.shown { display: grid; gap: var(--space-sm); justify-items: center; min-width: 0; }
.shown .fineprint { text-align: center; }
.split--top { align-items: start; }
.steps4 { display: grid; gap: 0; counter-reset: s4; border-bottom: 1px solid var(--color-line); }
.steps4 li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-2xs) var(--space-md); padding-block: var(--space-md); border-top: 1px solid var(--color-line); counter-increment: s4; }
.steps4 li::before { content: counter(s4, decimal-leading-zero); grid-row: 1 / span 2; color: var(--color-teal-deep); font-family: var(--font-display); font-size: var(--text-heading); font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.3; }
.steps4 h3 { font-size: var(--text-heading); letter-spacing: -0.015em; line-height: 1.3; }
.steps4 p { grid-column: 2; color: var(--color-muted); }
.words--flush { margin-top: 0; }
.worry { margin-top: var(--space-xl2); padding-top: var(--space-lg2); border-top: 1px solid var(--color-line); }
@media (min-width: 37.5rem) { .loop--four .loop__step:last-child { grid-column: auto; } }
@container (min-width: 62rem) { .loop--four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.mini .textlink { justify-self: start; white-space: normal; overflow-wrap: anywhere; }
.contact__who { display: grid; gap: var(--space-xs); margin-top: var(--space-xl); padding-top: var(--space-lg); border-top: 1px solid var(--color-line); }
.contact__who .lede { max-width: var(--container-reading); color: var(--color-ink); }
.lost { padding-block: var(--space-2xl) var(--space-section); }
.lost .lede { margin-block: var(--space-lg) var(--space-xl); }
@media (min-width: 52.5rem) { .toc--across { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 var(--space-lg); } }
.page-hero .plan__later { padding: var(--space-xs) var(--space-md); text-align: center; }
.apply__text .updated { color: var(--color-night-muted); }
.portrait { display: block; width: 100%; max-width: 20rem; height: auto; aspect-ratio: 1; border-radius: var(--radius-card); object-fit: cover; background: var(--color-paper-2); }
.portrait--todo { display: grid; place-items: center; padding: var(--space-md); border: 2px dashed var(--color-line-strong); text-align: center; }
.founder__grid--photo { align-items: center; }
@media (min-width: 52.5rem) { .founder__grid--photo { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); } }
.sheet__banner { margin: calc(var(--space-md2) * -1) calc(var(--space-md2) * -1) var(--space-md2); padding: var(--space-sm) var(--space-md2); background: var(--color-gold-wash); color: var(--color-gold-ink); font-size: var(--text-small); font-weight: 600; }
.sheet__line { display: flex; gap: var(--space-sm); align-items: flex-start; max-width: 70ch; padding-block: var(--space-sm); }
.sheet__line + .sheet__line { padding-top: 0; }
.sheet__open { margin-top: var(--space-md); border: 1px solid var(--color-line); border-radius: var(--radius-control); background: var(--color-paper); }
.sheet__open summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); min-height: var(--size-target); padding: var(--space-xs) var(--space-md); font-weight: 600; list-style: none; cursor: pointer; }
.sheet__open summary::-webkit-details-marker { display: none; }
.sheet__open summary > span { display: flex; align-items: center; gap: var(--space-sm); }
.sheet__open summary .icon { color: var(--color-teal-deep); transition: transform var(--dur-short) var(--ease-out); }
.sheet__open summary:active { color: var(--color-teal-deep); }
@media (hover: hover) { .sheet__open summary:hover { color: var(--color-teal-deep); } }
.sheet__open .rows { padding: 0 var(--space-md) var(--space-xs); }
.sheet__open .rows > div:last-child { border-bottom: 0; }
.sheet__ask { margin-top: var(--space-md); padding: var(--space-md); border-radius: var(--radius-control); background: var(--color-teal-wash); color: var(--color-teal-ink); }
.sheet__ask b { display: block; font-size: var(--text-small); }
.sheet__foot { display: grid; gap: var(--space-2xs); margin-top: var(--space-md); padding-top: var(--space-md); border-top: 1px solid var(--color-line); font-size: var(--text-small); color: var(--color-muted); }
@media (min-width: 37.5rem) { .sheet__banner { margin: calc(var(--space-lg) * -1) calc(var(--space-lg) * -1) var(--space-lg); padding-inline: var(--space-lg); } }
@container (min-width: 62rem) { .notes--full { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.howto { display: grid; gap: var(--space-xs); padding-left: var(--space-lg); list-style: decimal; }
.apply--hero { padding-block: var(--space-2xl); }
/* A page hero hands straight on to its first section: one gap between them, not two. */
.page-hero + .section, .apply--hero + .section { padding-top: var(--space-2xl); }
.apply--hero .h-page { max-width: 12ch; }

/* ---- Motion ---------------------------------------------------------------------------------- */
/* Everything above is the finished page. The rules below hide a thing before it is revealed, and
   they apply only once site.js has added both classes to <html>: `js` (the script ran) and
   `motion` (the visitor has not asked for reduced motion). Without them nothing is ever hidden. */
[data-reveal-group] > :nth-child(2) { --i: 1; }
[data-reveal-group] > :nth-child(3) { --i: 2; }
[data-reveal-group] > :nth-child(4) { --i: 3; }
[data-reveal-group] > :nth-child(5) { --i: 4; }
.js.motion [data-reveal] { opacity: 0; transform: translateY(var(--space-md)); }
.js.motion [data-reveal].is-in { opacity: 1; transform: none; transition: opacity var(--dur-long) var(--ease-out) calc(var(--i, 0) * 80ms), transform var(--dur-long) var(--ease-out) calc(var(--i, 0) * 80ms); }
/* The dated marks in a sample report fill in one after another, in reading order. */
.js.motion [data-fill-group] :is(.ev__mark, .ev__when, .rung__mark, .tl__mark) { opacity: 0; transform: scale(0.5); }
.js.motion [data-fill-group].is-filled :is(.ev__mark, .ev__when, .rung__mark, .tl__mark) { opacity: 1; transform: none; transition: opacity var(--dur-short) var(--ease-out) calc(var(--n, 0) * 45ms), transform var(--dur-long) var(--ease-out) calc(var(--n, 0) * 45ms); }
.js.motion .bar[data-reveal] .bar__fill { transform: scaleX(0); }
.js.motion .bar[data-reveal].is-in .bar__fill { transform: scaleX(var(--bar, 1)); transition: transform var(--dur-fill) var(--ease-out) calc(var(--i, 0) * 80ms + 120ms); }
/* A product screen waits under a calm placeholder until it comes into view. */
.js.motion [data-skeleton] { opacity: 1; transform: none; }
.js.motion [data-skeleton]::before, .js.motion [data-skeleton]::after { content: ""; position: absolute; inset: 0; z-index: var(--z-raised); pointer-events: none; transition: opacity var(--dur-long) var(--ease-out); }
.js.motion [data-skeleton]::before { background: var(--color-night-3); }
.js.motion .sheet[data-skeleton]::before { background: var(--color-paper-2); }
.js.motion [data-skeleton]::after { width: 45%; background: linear-gradient(100deg, transparent, var(--color-night-edge), transparent); opacity: 0.35; transform: translateX(-110%); }
.js.motion .sheet[data-skeleton]::after { background: linear-gradient(100deg, transparent, var(--color-card), transparent); opacity: 0.9; }
.js.motion [data-skeleton].is-loading::after { animation: sheen 900ms var(--ease-out); }
.js.motion [data-skeleton].is-in::before, .js.motion [data-skeleton].is-in::after { opacity: 0; }
@keyframes sheen { from { transform: translateX(-110%); } to { transform: translateX(330%); } }
/* The hero's tutor chat plays once: each message waits its turn. */
.js.motion [data-chat] [data-chat-step] { opacity: 0; transform: translateY(var(--space-xs)); }
.js.motion [data-chat] [data-chat-step].is-shown { opacity: 1; transform: none; transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-long) var(--ease-out); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  [data-reveal], [data-chat-step], [data-fill-group] :is(.ev__mark, .ev__when, .rung__mark, .tl__mark) { opacity: 1 !important; transform: none !important; }
  .bar .bar__fill { transform: scaleX(var(--bar, 1)) !important; }
  [data-skeleton]::before, [data-skeleton]::after { display: none !important; }
}
@media print {
  .site-header, .menu, .skip, .replay { display: none; }
  [data-reveal], [data-chat-step] { opacity: 1 !important; transform: none !important; }
}

/* Bar lengths, written by build.mjs from source/offer.yaml: each plan's yearly price over the dearest year of grinds. */
.bar__fill--annual { --bar: 0.1104; }
.bar__fill--founding { --bar: 0.0733; }
