/* Tiller page CSS: the client's fonts, the palette from start.mjs brand, and what sits inside the visuals.
   The kit's own files are never edited. */

/* IBM Plex Sans (variable: weight 400-700, width 85-100) and IBM Plex Mono 400/500, served from this site.
   Licence: SIL Open Font License 1.1, see ../fonts/OFL.txt */
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400 700; font-stretch: 85% 100%; font-display: swap;
  src: url("../fonts/ibm-plex-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400 700; font-stretch: 85% 100%; font-display: swap;
  src: url("../fonts/ibm-plex-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/ibm-plex-mono-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/ibm-plex-mono-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/ibm-plex-mono-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/ibm-plex-mono-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* the palette exactly as `start.mjs brand` printed it (bg, ink, accent, surface, muted are the client's) */
:root {
  --p-bg: #f1ece0; --p-surface: #faf7f0; --p-ink: #1b2327; --p-muted: #475055;
  --p-accent: #bf3117; --p-accent-ink: #f1ece0; --p-action: #bf3117; --p-action-ink: #f1ece0;
  --p-inv-bg: #1b2327; --p-inv-surface: #272f32; --p-inv-ink: #f1ece0; --p-inv-muted: #989994;
  --p-inv-accent: #f1ece0; --p-inv-accent-ink: #1b2327; --p-inv-action: #f1ece0; --p-inv-action-ink: #1b2327;
  --font-display: "IBM Plex Sans", system-ui, sans-serif;
  --font-text: "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --display-weight: 500;
  --display-tracking: -0.025em;
  --display-tracking-xl: -0.035em;
  --ly-scale: 0.98;
  /* the product's own marks inside the example: hairlines on chart-buff paper */
  --t-hair: color-mix(in oklab, var(--p-ink) 16%, transparent);
  --t-found: #2f6b4a;
}

h1, h2, h3 { text-wrap: balance; }

/* the honeypot field no person fills in: out of sight and out of the tab order */
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* ---------------------------------------------------------------- hero: the collage's pieces */
.hero__eyebrow { font: 500 var(--t-small)/1.4 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s-5); }
.hero__lead { font-size: var(--t-lead); color: var(--ink); max-width: 46ch; }
.hero__proof { font-size: var(--t-small); color: var(--muted); }
.hero__text { display: grid; gap: var(--s-6); align-content: start; }
.hero__text > .hero__eyebrow { margin-bottom: calc(var(--s-6) * -1 + var(--s-3)); }
.hero__art > .ly-piece--main.shot { border-radius: var(--r-sm); overflow: hidden; background: var(--p-surface);
  box-shadow: 0 0 0 1px var(--t-hair), 0 24px 60px -30px rgb(27 35 39 / .45); }
.shot img, .shot-in img { display: block; width: 100%; height: auto; max-width: none; }
.hero__art > .ly-piece--note { left: var(--s-8); bottom: var(--s-8); width: 340px; z-index: 2; }
.t-note { background: var(--p-surface); color: var(--p-ink); border-radius: var(--r-sm); padding: var(--s-4) var(--s-5);
  box-shadow: 0 0 0 1px var(--t-hair), 0 18px 40px -24px rgb(27 35 39 / .5); display: grid; gap: var(--s-2); font-size: 14px; line-height: 1.45; }
.t-note__row { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.t-note__title { font-weight: 500; }
.t-note q { font-family: var(--font-mono); font-size: 13px; quotes: "\201C" "\201D"; }
.t-note__src { font-family: var(--font-mono); font-size: 12px; color: var(--p-muted); }
.t-chip { display: inline-flex; align-items: center; gap: 6px; font: 500 12px/1 var(--font-mono); padding: 5px 8px; border-radius: 2px; border: 1px solid currentColor; white-space: nowrap; }
.t-chip--found { color: var(--t-found); }
.t-chip--miss { color: var(--p-accent); }
/* a phone: the hero keeps to one screen (tested 1 Dec: the eyebrow pushes it to 1.03 screens at 390, so it waits for 640px) */
@media (max-width: 639px) {
  .hero__text { gap: var(--s-3); }
  .hero__text > .hero__eyebrow { display: none; }
  .hero__lead { font-size: 16px; line-height: 1.5; }
}
@media (max-width: 1279px) { .hero__art > .ly-piece--note { left: var(--s-6); bottom: var(--s-6); width: 300px; } }

/* ---------------------------------------------------------------- problem: the statement */
#problem .mo-wh__text { font: var(--display-weight) clamp(28px, 2.2vw + 12px, 44px)/1.22 var(--font-display); letter-spacing: var(--display-tracking); max-width: 30ch; margin-top: var(--s-7); }
#problem .problem__end { margin-top: var(--s-7); font-size: var(--t-lead); color: var(--muted); max-width: 52ch; }

/* ---------------------------------------------------------------- proof: the diagram and the live example */
#proof .proof__diagram { margin-top: var(--s-7); --p-h: 280px; }
/* under 1280 the live example below carries the section alone: the two together run past two screens, and the diagram's labels need more width than a phone gives */
@media (max-width: 1279px) { #proof .proof__diagram { display: none; } }
/* 640 to 1279: the head and the example stack in the section's two screens instead of starting the example on the
   second screen's top, which the narrower example (taller there) would overrun */
@media (min-width: 640px) and (max-width: 1279px) {
  main > section#proof.g2 > .wrap { display: flex; flex-direction: column; row-gap: var(--s-7); }
  main > section#proof.g2 > .wrap > * { align-self: stretch; }
}
.try-line { font: 500 var(--t-small)/1.4 var(--font-mono); color: var(--muted); }

.app.ui { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); margin-top: var(--s-5);
  background: transparent; color: var(--p-ink); border: 1px solid color-mix(in oklab, var(--p-ink) 28%, transparent); border-radius: var(--r-sm);
  font-size: 14px; line-height: 1.5; }
.app > .app__pane { position: relative; min-width: 0; min-height: 0; }
.app > .app__pane + .app__pane { border-left: 1px solid var(--t-hair); }
.app__head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); padding: var(--s-4) var(--s-5); border-bottom: 1px solid var(--t-hair); }
.app__title { font-weight: 500; font-size: 15px; margin: 0; }
.app__tag { font: 500 12px/1 var(--font-mono); color: var(--p-muted); border: 1px dashed var(--t-hair); padding: 5px 8px; border-radius: 2px; }
.app__list-title { font: 500 12px/1.3 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--p-muted); margin: 0; }
.claims { list-style: none; margin: 0; padding: 0; }
.claims li + li { border-top: 1px solid var(--t-hair); }
.claim-row { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--s-3); width: 100%; text-align: left; padding: var(--s-3) var(--s-5);
  background: none; border: 0; color: inherit; font: inherit; cursor: pointer; min-height: 44px; transition: background-color .15s ease; }
.claim-row:hover { background: color-mix(in oklab, var(--p-ink) 5%, transparent); }
.claim-row[aria-pressed="true"] { background: color-mix(in oklab, var(--p-accent) 9%, transparent); box-shadow: inset 3px 0 0 var(--p-accent); }
.claim-row__n { font: 500 13px/1.6 var(--font-mono); color: var(--p-muted); }
.claim-row__text { display: grid; gap: 4px; }
.claim-row__quote { font-size: 13px; }
.claim-row__state { font: 400 12px/1.4 var(--font-mono); color: var(--p-muted); }
.claim-row__state.is-miss { color: var(--p-accent); }

.mail { padding: var(--s-4) var(--s-5) var(--s-5); display: grid; gap: var(--s-4); }
.mail__subject { font-size: 13px; color: var(--p-muted); margin: 0; }
.mail__subject b { color: var(--p-ink); font-weight: 500; }
.mail__body p { margin: 0 0 var(--s-2); max-width: 74ch; }
.claim { color: inherit; padding: 0 1px; cursor: pointer; border-radius: 1px;
  text-decoration: underline; text-decoration-color: var(--p-accent); text-decoration-thickness: 1.5px; text-underline-offset: 3px; transition: background-color .15s ease; }
.claim:hover { background: color-mix(in oklab, var(--p-accent) 8%, transparent); }
.claim.is-on { background: color-mix(in oklab, var(--p-accent) 16%, transparent); }
.claim--struck { text-decoration: line-through; text-decoration-color: var(--p-accent); color: var(--p-muted); }
.source { border: 1px solid var(--t-hair); border-radius: 2px; padding: var(--s-3) var(--s-4); display: grid; gap: var(--s-2); background: var(--p-surface); }
.source__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); flex-wrap: wrap; }
.source__label { font: 500 12px/1.3 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--p-muted); }
.source__where, .source__note { font-size: 13px; color: var(--p-muted); margin: 0; }
.source__where span { font-family: var(--font-mono); }
.source__quote { font-family: var(--font-mono); font-size: 13px; margin: 0; }
.mail__actions { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.mail__btn { display: inline-flex; align-items: center; font: 500 13px/1 var(--font-text); min-height: 36px; padding: 0 var(--s-4); border-radius: 2px; border: 1px solid var(--t-hair); background: var(--p-surface); color: var(--p-ink); cursor: default; }
.mail__btn--go { font-weight: 600; }
@media (min-width: 1024px) and (max-width: 1279px) { .app.ui { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
@media (max-width: 1023px) {
  .app.ui { grid-template-columns: minmax(0, 1fr); }
  .app > .app__pane + .app__pane { border-left: 0; border-top: 1px solid var(--t-hair); }
  .claims { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .claims li + li { border-top: 0; }
  .claims li { border-top: 1px solid var(--t-hair); }
}
/* a phone: the claims list stays as one row of six numbered 44px buttons; the claim's words stay in the button's name */
@media (max-width: 639px) {
  .app__pane--list .app__head { padding: var(--s-3) var(--s-4); }
  .claims { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .claims li { border-top: 0; }
  .claims li + li { border-left: 1px solid var(--t-hair); }
  .claim-row { grid-template-columns: 1fr; place-items: center; padding: 0; min-height: 44px; }
  .claim-row[aria-pressed="true"] { box-shadow: inset 0 -3px 0 var(--p-accent); }
  .claim-row__n { font-size: 14px; color: var(--p-ink); }
  .claim-row__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .app > .app__pane + .app__pane { border-top: 1px solid var(--t-hair); }
  .mail__btn { padding: 0 var(--s-3); white-space: nowrap; }
  .mail { padding: var(--s-4); }
  .app__head { padding: var(--s-4); }
}

/* ---------------------------------------------------------------- screenshot frames (how, control, improve, today) */
.frame.shot-frame { background: color-mix(in oklab, var(--p-ink) 6%, var(--p-bg)); }
.frame > .shot-in { position: absolute; z-index: 1; border-radius: var(--r-sm); overflow: hidden; background: var(--p-surface);
  box-shadow: 0 0 0 1px var(--t-hair), 0 24px 60px -34px rgb(27 35 39 / .5); }
.frame > .shot-in--corner { left: var(--s-8); top: var(--s-8); width: calc(100% - var(--s-8) + 28px + 160px); }
.frame > .shot-in--over { right: var(--s-6); bottom: var(--s-6); width: 58%; z-index: 2; }
.frame > .shot-in--wide { left: 50%; top: var(--s-8); width: min(1080px, calc(100% - 2 * var(--s-8))); transform: translateX(-50%); }
@media (max-width: 1279px) { .frame > .shot-in--over { display: none; } }
@media (max-width: 1023px) {
  .frame > .shot-in--corner { left: var(--s-6); top: var(--s-6); width: calc(100% - var(--s-6) + 120px); }
  .frame > .shot-in--wide { top: var(--s-6); width: calc(100% - 2 * var(--s-6)); }
}
@media (max-width: 639px) {
  .frame > .shot-in--corner { left: var(--s-4); top: var(--s-4); width: calc(100% - var(--s-4) + 160px); }
  .frame > .shot-in--wide { left: var(--s-4); top: var(--s-4); width: calc(100% + 240px); transform: none; }
}
.ground-inverse .frame.shot-frame { background: var(--p-inv-surface); border-color: rgb(241 236 224 / .12); }

/* how: the four steps as a numbered list */
.steps-list { list-style: none; margin: var(--s-7) 0 0; padding: 0; display: grid; gap: var(--s-5); counter-reset: st; }
.steps-list li { display: grid; gap: var(--s-2); }
.steps-list .step-num { font-family: var(--font-mono); font-size: 14px; margin-right: var(--s-3); vertical-align: 2px; }
.steps-list h3 { font: 500 var(--t-lead)/1.4 var(--font-text); letter-spacing: 0; margin: 0; }
.steps-list p { margin: 0; color: var(--muted); }

/* control: the four points */
.points { list-style: none; margin: var(--s-7) 0 0; padding: 0; display: grid; gap: var(--s-4); }
.points li { padding-top: var(--s-4); border-top: 1px solid var(--line); }
.points li:first-child { border-top: 0; padding-top: 0; }

/* improve and today: the words beside or above the frame */
.body-col > p + p { margin-top: var(--s-4); }
.body-col p { font-size: var(--t-lead); }
:is(#improve, #today) .frame { margin-top: var(--s-7); }
#improve .improve__frame, #today .today__frame { height: clamp(300px, 52svh, 520px); }
@media (max-width: 639px) { #improve .improve__frame, #today .today__frame { height: 300px; } }
/* a phone: the Desk’s note is a wide strip, so it is drawn at its set width (the kit caps a frame’s child at 100%) and cut by the frame’s right edge */
@media (max-width: 639px) { #today .frame > .shot-in--wide { max-width: none; } }
/* the questions: two columns of four under the heading, one column on a phone */
.faq-cols { margin-top: var(--s-7); row-gap: 0; align-items: start; }
@media (max-width: 1023px) { .faq-cols > .faq + .faq > .faq__item:first-child { padding-top: var(--s-5); } }

/* the close: the sign-up form on the footer's dark ground */
.signup-form { margin-top: var(--s-2); align-items: start; column-gap: var(--gutter); }
/* the one action keeps the flare red on the dark grounds too (the hero, the footer): one button look on the whole page */
:is(.footer--dark, .ground-inverse) .signup-form { --action: var(--p-action); --action-ink: var(--p-action-ink); }
/* ...but the focus ring inside the form is drawn in the light ink: red on the dark ground is 2.8:1 */
:is(.footer--dark, .ground-inverse) .signup-form :focus-visible { outline-color: var(--p-inv-ink); }
html :is(.footer--dark, .ground-inverse) .signup-form .field input:focus { border-color: var(--p-inv-ink); box-shadow: 0 0 0 1px var(--p-inv-ink), 0 0 0 4px rgb(241 236 224 / .22); }
/* the form keeps its own room above the footer's links: on a short window (1440x720) the close grows past
   one screen instead of the form line running into the links (the kit fixes it at one screen) */
footer.closing { height: auto; min-height: calc(var(--h, 1) * 100svh); display: flex; flex-direction: column; }
footer.closing > .wrap { flex: 1 0 auto; height: auto; grid-template-rows: auto auto; align-content: space-between; }
footer.closing > .wrap > .closing__links { padding-top: var(--s-6); border-top: 1px solid rgb(241 236 224 / .12); }
.signup-form .field__label { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-3); }
.signup-form .field__tag { font: 400 12px/1 var(--font-mono); color: var(--muted); }
.signup-form .btn-row .btn { width: 100%; justify-content: center; }
.signup-note { font-size: var(--t-small); color: var(--muted); }

.signup-note a { color: inherit; }
.closing__cta .signup-lede { max-width: 72ch; font-size: var(--t-body); color: var(--muted); }


/* plain inner pages */
.plain { padding-block: calc(var(--bar, 64px) + var(--s-9)) var(--s-9); min-height: 70svh; }
.plain .wrap > * { max-width: 68ch; }
.plain h1 { font-size: clamp(36px, 3vw + 16px, 56px); margin-bottom: var(--s-6); }
.plain h2 { font-size: var(--t-lead); margin: var(--s-7) 0 var(--s-3); }
.plain p + p { margin-top: var(--s-3); }

@media (prefers-reduced-motion: reduce) {
  .claim, .claim-row { transition: none; }
}

/* a control reached by Tab or find-in-page stops below the fixed bar (section jumps keep the kit's own offset) */
:is(a, button, input, textarea, select, [tabindex], .claim) { scroll-margin-top: calc(var(--nav, 72px) + var(--s-4)); }
.claim, .claim-row, .btn { touch-action: manipulation; }

/* ================================================================ round two: the glass header (nav.js)
   A floating pill, centred, 16px from the top (12px on a phone). The kit's .nav is a full-width fixed strip:
   here the strip is transparent and lets the pointer through; only the pill, the button, the skip link and
   the sheet take it. The glass takes the tone of the ground under it (data-tone, set by nav.js; the page
   sets the first one): paper or ink. Its fill is dense enough that the words pass contrast without the blur,
   and a browser with no backdrop filter gets a solid surface. */
.nav.gh { --gh-h: 52px; --gh-top: 16px; height: calc(var(--gh-h) + var(--gh-top)); background: none; border: 0; pointer-events: none;
  --gh-fill: rgb(250 247 240 / .78); --gh-solid: #faf7f0; --gh-ink: #1b2327; --gh-line: rgb(27 35 39 / .14); --gh-hi: rgb(255 255 255 / .75);
  --gh-shadow: 0 10px 30px -14px rgb(27 35 39 / .45), 0 1px 2px rgb(27 35 39 / .08); color: var(--gh-ink); --ink: var(--gh-ink); --accent: var(--p-accent); }
.nav.gh[data-tone="ink"] { --gh-fill: rgb(27 35 39 / .74); --gh-solid: #272f32; --gh-ink: #f1ece0; --gh-line: rgb(241 236 224 / .16); --gh-hi: rgb(255 255 255 / .14);
  --gh-shadow: 0 12px 34px -14px rgb(0 0 0 / .7); --accent: var(--p-inv-ink); }
@media (max-width: 639px) { .nav.gh { --gh-h: 50px; --gh-top: 12px; } }
.gh > .skip-link { pointer-events: auto; top: calc(var(--gh-top) + var(--gh-h) / 2); }
.gh__row { position: absolute; top: var(--gh-top); left: 0; right: 0; display: flex; justify-content: center; align-items: center; gap: 8px; padding-inline: 12px; }
.gh__bar, .gh__act { position: relative; pointer-events: auto; height: var(--gh-h); border-radius: 999px; isolation: isolate; }
/* the glass: a translucent fill, the blur behind it, a hairline with a lighter top edge, a soft shadow */
.gh__bar, .gh__act { background: var(--gh-fill); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: inset 0 0 0 1px var(--gh-line), inset 0 1px 0 var(--gh-hi), var(--gh-shadow); transition: background-color .3s ease, box-shadow .3s ease; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .gh__bar, .gh__act { background: var(--gh-solid); } }
.gh__bar { display: flex; align-items: center; overflow: hidden; padding-right: 6px; flex: none; white-space: nowrap; }
.gh__act { display: flex; align-items: center; padding: 5px; flex: none; transform-origin: left center; border-radius: calc(var(--r-btn) + 5px); }
.gh__act.is-aside { visibility: hidden; position: absolute; }
/* (part B) the bar's copy of the action takes the page's one button shape (the checker's same-action): only its size is smaller */
.gh__cta.btn { height: calc(var(--gh-h) - 10px); border-radius: var(--r-btn); padding-inline: var(--s-5); font-size: 15px; }
.gh__logo.nav__logo { height: calc(var(--gh-h) - 12px); min-height: 0; margin-left: 6px; padding: 0 var(--s-3) 0 12px; border-radius: 999px; font-size: 20px; color: var(--gh-ink); }
.gh__logo .mark { width: 20px; height: 20px; }
.gh__links { display: flex; align-items: center; gap: 2px; padding-right: var(--s-2); }
.gh__link { position: relative; display: inline-flex; align-items: center; height: 40px; padding: 0 12px; border-radius: 999px; font: 500 15px/1 var(--font-text); color: var(--gh-ink); text-decoration: none; transition: background-color .2s ease; }
.gh__link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 9px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.gh__link:hover::after, .gh__link:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.gh__link:hover { background: color-mix(in oklab, var(--gh-ink) 7%, transparent); }
.gh :focus-visible { outline: 2px solid var(--gh-ink); outline-offset: 2px; }
/* inside the pill the ring is drawn inward: the pill clips what lies past its edge */
.gh > .skip-link:focus { background: var(--gh-solid); color: var(--gh-ink); border: 0; outline: 2px solid var(--gh-ink); outline-offset: 2px; }
.gh__act :focus-visible { outline-offset: 3px; }
/* the folded circle: a button with the mark; shown once the page is scrolled (nav.js) */
.gh__fold { flex: none; display: inline-grid; place-items: center; width: calc(var(--gh-h) - 8px); height: calc(var(--gh-h) - 8px); padding: 0; margin: 0 4px; border: 0; border-radius: 50%;
  background: none; color: var(--gh-ink); cursor: pointer; }
.gh__fold[hidden] { display: none; }
.gh__fold .mark { width: 20px; height: 20px; }
.gh__fold:hover .mark { transform: scale(1.08); }
.gh__fold .mark { transition: transform .2s ease; }
.gh[data-fold]:not([data-fold="top"]) .gh__logo { margin-left: 0; padding-left: 4px; }
.gh[data-fold]:not([data-fold="top"]) .gh__logo .mark { display: none; }
.gh.is-folded .gh__bar { width: var(--gh-h); padding: 0; }
.gh.is-folded :is(.gh__logo, .gh__links, .gh__toggle) { visibility: hidden; }
/* the menu button and the full-screen sheet (under 1024px); hidden until nav.js runs */
.gh__toggle { flex: none; display: none; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; color: var(--gh-ink); cursor: pointer; }
.gh__toggle .gh__cross { display: none; }
.gh__toggle.is-open .gh__cross { display: inline; }
.gh__toggle.is-open .gh__bars { display: none; }
.gh__sheet { position: fixed; inset: 0; z-index: -1; pointer-events: auto; display: grid; align-content: start; overflow-y: auto; overscroll-behavior: contain;
  padding: calc(var(--gh-top) + var(--gh-h) + var(--s-7)) var(--gut) var(--s-7); color: var(--gh-ink);
  background: var(--gh-fill); -webkit-backdrop-filter: blur(26px) saturate(1.4); backdrop-filter: blur(26px) saturate(1.4); }
.gh[data-tone="paper"] .gh__sheet { background: rgb(250 247 240 / .94); }
.gh[data-tone="ink"] .gh__sheet { background: rgb(27 35 39 / .94); }
.gh__sheet[hidden] { display: none; }
.gh__sheet nav { display: grid; }
.gh__sheet a { display: flex; align-items: center; min-height: 60px; border-bottom: 1px solid var(--gh-line); font: 500 28px/1.1 var(--font-display); letter-spacing: -0.02em; color: var(--gh-ink); text-decoration: none; }
html.gh-locked { overflow: hidden; }
@media (max-width: 1023px) {
  html.gh-js .gh__links { display: none; }
  html.gh-js .gh__toggle:not([hidden]) { display: inline-grid; }
  .gh__bar { padding-right: 4px; }
}
/* scripts off: the links stay in the bar at every width (a phone scrolls them sideways) */
@media (max-width: 1023px) {
  html:not(.gh-js) .gh__bar { max-width: calc(100vw - 24px); }
  html:not(.gh-js) .gh__links { overflow-x: auto; scrollbar-width: none; }
  html:not(.gh-js) .gh__act { display: none; }
}
@media (max-width: 639px) {
  .gh__logo.nav__logo { font-size: 18px; padding-left: 10px; height: calc(var(--gh-h) - 6px); margin-left: 3px; }
  .gh__fold { width: calc(var(--gh-h) - 6px); height: calc(var(--gh-h) - 6px); margin: 0 3px; }
  .gh__cta.btn { font-size: 14px; padding-inline: var(--s-4); height: calc(var(--gh-h) - 6px); }
  .gh__act { padding: 3px; }
}
/* the bar's copy of the action carries no glyph, so its label sits in the middle */
html[data-buttons] .gh__cta.btn::after { display: none; }
@media (max-width: 359px) { .gh .gh__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } }
/* every anchor target clears the floating bar (sections keep the kit's own top padding, which is taller) */
[id] { scroll-margin-top: calc(var(--gh-top, 16px) + var(--gh-h, 52px) + var(--s-4)); }
main > section[id], footer[id] { scroll-margin-top: 0; }

/* ================================================================ round two: the hero (hero.js, orb.js)
   Dark, one screen: the words and the sign-up field on the left, the moving figure on the right with its
   glass chip and pause control, the real screenshot and the evidence card in front of its lower edge. */
main > .hero.hero--figure { position: relative; isolation: isolate; overflow: clip; padding-top: calc(var(--gh-top, 16px) + var(--gh-h, 52px) + var(--hgap)); }
/* the ember glow: soft light in the red's family at the edge of a dark ground, CSS only */
.hero--figure::before, .ember::before { content: ""; position: absolute; z-index: -1; pointer-events: none; }
.hero--figure::before { inset: auto -20% -45% 25%; height: 90%;
  background: radial-gradient(closest-side, rgb(191 49 23 / .30), rgb(191 49 23 / .10) 55%, transparent 100%); }
/* the same glow for the page's other dark grounds (#control, the close): add class "ember" to the section */
.ember { position: relative; isolation: isolate; overflow: clip; }
.ember::before { inset: auto -15% -40% 35%; height: 80%; background: radial-gradient(closest-side, rgb(191 49 23 / .22), transparent); }
.hero--figure .hx { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); height: 100%; align-items: start; }
.hx__text { grid-column: 1 / span 6; align-self: start; display: grid; gap: var(--s-5); align-content: start; }
.hx__text > h1 { margin: 0; }
.hero--figure .hero__eyebrow { color: var(--muted); margin: 0; }
.hero--figure .hero__lead { color: var(--ink); max-width: 44ch; margin: 0; }
.hx-w { display: inline-block; overflow: clip; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.hx-w__in { display: inline-block; will-change: transform; }

/* the hero's form: one field and the button in a glass row */
.hx-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-3); max-width: 560px; margin-top: var(--s-2); }
.hx-form > * { grid-column: 1; }
.hx-form .field { display: grid; gap: var(--s-2); }
.hx-form .field__label { font: 500 var(--t-small)/1.3 var(--font-text); color: var(--ink); }
.hx-form__row { display: flex; gap: 6px; padding: 6px; border-radius: calc(var(--r-btn) + 6px);
  background: rgb(241 236 224 / .07); box-shadow: inset 0 0 0 1px rgb(241 236 224 / .16), inset 0 1px 0 rgb(255 255 255 / .08);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); }
.hx-form__row:focus-within { box-shadow: inset 0 0 0 1px rgb(241 236 224 / .5), 0 0 0 4px rgb(241 236 224 / .12); }
html .hero--figure .hx-form .hx-form__row input { flex: 1 1 auto; min-width: 0; height: var(--btn-h); border: 0; box-shadow: none; background: transparent; color: var(--ink);
  padding: 0 var(--s-3); font: 400 16px/1 var(--font-text); outline: none; }
html .hero--figure .hx-form .hx-form__row input:focus { border: 0; box-shadow: none; }
html .hero--figure .hx-form .hx-form__row input:focus-visible { outline: 2px solid var(--p-inv-ink); outline-offset: 2px; border-radius: var(--r-sm); }
.hx-form__row input::placeholder { color: var(--p-inv-muted); opacity: 1; }
.hx-form__row input[aria-invalid="true"] { color: var(--ink); }
.hx-form__row .btn { flex: none; }
.hx-form .signup-note { font-size: var(--t-small); color: var(--muted); max-width: 52ch; margin: 0; }
.hx-form .form__status:empty { display: none; }
.hx-form .field__error { color: #f4a48f; }

/* the figure column: a size container, so the figure and its cards scale with the room the hero has */
.hx__fig { grid-column: 7 / span 6; position: relative; height: 100%; min-height: 0; container-type: size;
  --orb: min(520px, 100cqw, 70cqh); --orb-x: calc((100cqw - var(--orb)) / 2); }
.hx-orb { position: absolute; top: 0; right: var(--orb-x); width: var(--orb); aspect-ratio: 1;
  background: radial-gradient(closest-side, rgb(238 122 53 / .16), rgb(191 49 23 / .08) 55%, transparent 72%); border-radius: 50%; }
.hx-orb canvas, .hx-orb .orb-still { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* the five stages: plain text for screen readers once the chip runs, a visible list with scripts off */
.hx-stages { list-style: none; margin: 0; padding: 0; }
html.hx-figure-on .hx-stages { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
html:not(.hx-figure-on) .hx-stages { position: absolute; z-index: 2; left: max(0px, calc(var(--orb-x) - 8px)); top: calc(var(--orb) * .1); display: grid; gap: 6px; font-size: 14px; color: var(--ink);
  padding: var(--s-3) var(--s-4); border-radius: var(--r-md); background: rgb(27 35 39 / .72); box-shadow: inset 0 0 0 1px rgb(241 236 224 / .14); }
html:not(.hx-figure-on) .hx-chip { display: none; }
.hx-stages__role, .hx-chip__role { font-family: var(--font-mono); font-weight: 500; }
/* the chip: the stage's name and line in glass, over the figure's lower left */
.hx-chip { position: absolute; z-index: 2; left: max(0px, calc(var(--orb-x) - 8px)); top: calc(var(--orb) * .1); display: grid; grid-template-columns: auto; gap: 4px;
  max-width: 300px; padding: 12px 16px 13px; border-radius: var(--r-md); color: var(--ink);
  background: rgb(27 35 39 / .62); box-shadow: inset 0 0 0 1px rgb(241 236 224 / .16), inset 0 1px 0 rgb(255 255 255 / .1), 0 14px 34px -18px rgb(0 0 0 / .8);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); }
.hx-chip__role { font-size: 13px; letter-spacing: .02em; color: #f6c7a8; }
.hx-chip__line { font-size: 15px; line-height: 1.35; }
.hx-chip__dots { display: flex; gap: 5px; margin-bottom: 4px; }
.hx-chip__dots i { width: 14px; height: 3px; border-radius: 2px; background: rgb(241 236 224 / .22); transition: background-color .3s ease; }
.hx-chip__dots i.is-on { background: #ee7a35; }
/* the pause control: the kit's disc, on the figure's upper right */
button.loop-pause.hx-pause { position: absolute; top: calc(var(--orb) * .08); right: calc(var(--orb-x) + var(--orb) * .08); z-index: 3; color: var(--ink); background: rgb(27 35 39 / .7);
  border: 1px solid rgb(241 236 224 / .22); opacity: 1; }
.hx-pause .hx-pause__play { display: none; }
.hx-pause.is-paused .hx-pause__play { display: block; }
.hx-pause.is-paused .hx-pause__pause { display: none; }
html:not(.hx-figure-on) .hx-pause { display: none; }
/* the real screenshot and the evidence card, in front of the figure's lower edge */
.hx-shot { position: absolute; left: 0; bottom: 0; z-index: 2; width: clamp(220px, 44cqw, 300px); height: min(44cqh, 340px); overflow: hidden;
  border-radius: var(--r-md); background: var(--p-surface); box-shadow: 0 0 0 1px rgb(241 236 224 / .14), 0 28px 60px -24px rgb(0 0 0 / .85); }
.hx-shot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.hx-note.t-note { position: absolute; right: 0; bottom: var(--s-6); z-index: 3; width: min(330px, 50cqw); border-radius: var(--r-md);
  box-shadow: 0 0 0 1px rgb(27 35 39 / .1), 0 24px 50px -22px rgb(0 0 0 / .85); }
.hx-note .t-chip { border-radius: 999px; }
.hx-note .t-note__row { flex-wrap: wrap; row-gap: 6px; }

/* 1024 to 1279: a little less room */
@media (min-width: 1024px) and (max-width: 1279px) {
  .hx__text { grid-column: 1 / span 7; }
  .hx__fig { grid-column: 8 / span 5; }
  .hx-note.t-note { width: min(320px, 72cqw); }
  .hx-note .t-note__src { overflow-wrap: anywhere; }
  .hero--figure h1 { font-size: clamp(40px, 4.2vw, 54px); }
}
/* 640 to 1023: the words, then the figure in the room left under them */
@media (max-width: 1023px) {
  .hero--figure .hx { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); row-gap: var(--s-6); align-items: stretch; }
  .hx__text, .hx__fig { grid-column: 1; }
  .hx__fig { --orb: min(460px, 100cqw, 100cqh); --orb-x: calc((100cqw - var(--orb)) / 2); }
  .hx-shot { width: clamp(200px, 32cqw, 250px); height: min(78cqh, 320px); }
  .hx-note.t-note { display: none; }
  .hx-chip { left: auto; right: 0; top: auto; bottom: var(--s-5); }
}
/* a phone: the figure is a still glow behind the top of the hero and takes no room; the field and the
   button stay on the first screen */
@media (max-width: 639px) {
  .hero--figure .hx { grid-template-rows: auto; }
  .hx__fig { position: absolute; inset: 0; z-index: -1; container-type: normal; pointer-events: none; }
  .hx-orb { width: min(220px, 56vw); top: -24px; right: calc(50% - min(110px, 28vw)); opacity: .7; }
  .hx-chip, .hx-shot, .hx-note.t-note, button.loop-pause.hx-pause, html:not(.hx-figure-on) .hx-stages { display: none; }
  /* the words sit at the foot of the first screen, the glow above them */
  .hero--figure > .wrap > .hx { height: auto; margin-top: auto; }
  .hx__text { gap: var(--s-4); align-content: end; }
  .hero--figure .hero__eyebrow { display: none; }
  .hero--figure .hero__lead { font-size: 16px; line-height: 1.5; }
  .hx-form__row { flex-direction: column; }
  .hx-form__row .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .gh__bar, .gh__act, .gh__link, .gh__link::after, .gh__fold .mark, .hx-chip__dots i { transition: none; }
}

/* the first paint before the page's scripts arrive (the kit's head line sets html.m-enter, and m-enter-done
   700ms later): the header row and the hero's two cards wait, so nothing shows at rest and then jumps back
   to its start; nav.js and hero.js take them from there. No script, reduced motion: never held. */
@media screen and (prefers-reduced-motion: no-preference) {
  html.m-enter:not(.m-enter-done):not(.gh-js) .gh__row { opacity: 0; }
  html.m-enter:not(.m-enter-done, [data-motion="off"]) .hero--figure[data-enter]:not(.is-entering, .is-entered) :is(.hx-shot, .hx-note) { opacity: 0; }
}

/* ================================================================ round two, part B: the sections below the hero
   One motion per section (sections.js; the words never move). Everything here reads whole with scripts off:
   html.sx-js, html.how-js and .pf-pre are set by the scripts, and only the scripts set a start state. */

/* #problem: "a real reason to write" carries an underline, drawn word by word as the word-highlight moment lights
   each word (it runs back with the moment). With scripts off or before the moment mounts it is a plain underline. */
#problem:not(.mo-wh) .mo-wh__text strong { font-weight: inherit; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: .075em; text-underline-offset: .16em; }
#problem.mo-wh .mo-wh__text strong .mo-w { position: relative; }
#problem.mo-wh .mo-wh__text strong .mo-w::after { content: ""; position: absolute; left: 0; right: -.3em; bottom: .02em; height: max(2px, .07em); background: var(--accent); border-radius: 2px;
  transform-origin: left center; transition: transform .42s var(--m-ease-enter, cubic-bezier(.22,1,.36,1)); }
#problem.mo-wh .mo-wh__text strong .mo-w:last-child::after { right: 0; }
#problem.mo-wh .mo-wh__text strong .mo-w:not(.is-on)::after { transform: scaleX(0); }

/* #proof: the claims are marked one after another, then the sceptic's line goes through the award sentence */
.claim { transition: text-decoration-color .35s ease, background-color .15s ease, color .35s ease; }
.claim--struck s { text-decoration-color: var(--p-accent); transition: text-decoration-color .35s ease; }
.pf-pre .claim:not(.is-marked), .pf-pre .claim--struck:not(.is-marked) s { text-decoration-color: transparent; }
.pf-pre .claim--struck:not(.is-marked) { color: var(--p-ink); }
.claim-row__state { display: block; }
/* under the example: one line and the action */
.proof__cta { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4) var(--s-6); flex-wrap: wrap; margin-top: var(--s-5); }
.proof__cta p { margin: 0; font-size: var(--t-lead); }
@media (max-width: 639px) { .proof__cta .btn { width: 100%; justify-content: center; } }

/* #how: the four steps are buttons; each shows its own screen in the frame beside them, and the rail fills to it */
.grid.how { align-items: stretch; }
.how__list { position: relative; margin-top: var(--s-7); padding-right: var(--s-7); }
.how__rail { position: absolute; right: 0; top: var(--s-3); bottom: var(--s-3); width: 2px; border-radius: 2px; background: var(--line); overflow: hidden; display: none; }
.how__rail > i { position: absolute; inset: 0; background: var(--accent); transform-origin: 50% 0; transform: scaleY(.1); }
html.how-js .how__rail { display: block; }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.how-step { position: relative; padding: var(--s-3) 0; }
.how-step h3 { margin: 0; font: 500 var(--t-lead)/1.35 var(--font-text); letter-spacing: 0; }
.how-step__btn { display: inline-flex; align-items: baseline; gap: var(--s-3); min-height: 32px; margin: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.how-step__btn::after { content: ""; position: absolute; inset: 0; }
.how-step .step-num { flex: none; font: 500 14px/1 var(--font-mono); color: var(--muted); }
.how-step p { margin: var(--s-1) 0 0; color: var(--muted); }
html.how-js .how-step:not(.is-on) h3 { color: var(--muted); }
html.how-js .how-step:not(.is-on):hover h3 { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
html.how-js .how-step.is-on .step-num { color: var(--accent); }
html.how-js .how-step.is-on p { color: var(--ink); }
.how__frame { --ratio: 0px; align-self: start; aspect-ratio: 5 / 4; min-height: 0; padding: 0; }
.how__frame > .how-shot { position: absolute; left: var(--s-7); top: var(--s-7); width: calc(100% - var(--s-7) + 48px); }
html.how-js .how__frame > .how-shot:not(.is-on, .is-leaving) { visibility: hidden; }
/* scripts off: the four screens side by side in pairs, all of them shown */
html:not(.how-js) .how__frame { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); padding: var(--s-5); align-content: center; }
html:not(.how-js) .how__frame > .how-shot { position: relative; left: auto; top: auto; width: auto; }
html:not(.how-js) .how__frame::before { display: none; }
@media (max-width: 1023px) {
  .grid.how > * { grid-column: 1 / -1; }
  .how__frame { min-height: 0; height: auto; aspect-ratio: 16 / 11; }
  .how__frame > .how-shot { left: var(--s-5); top: var(--s-5); width: calc(100% - var(--s-5) + 40px); }
}
@media (max-width: 639px) {
  .how__list { margin-top: var(--s-5); }
  .how-step { padding: var(--s-2) 0; }
  .how-step__btn { min-height: 44px; align-items: center; }
  .how__list { padding-right: var(--s-5); }
  .how__frame { aspect-ratio: 5 / 4; }
  .how__frame > .how-shot { left: var(--s-4); top: var(--s-4); width: calc(100% + 120px); }
}

/* #control: the screenshot, and the send gate strip under it */
.grid.control { align-items: start; }
.control__right { display: grid; gap: var(--s-6); align-content: start; }
.control__frame { height: clamp(260px, 36svh, 360px); }
.gate { display: grid; gap: var(--s-3); }
.gate__title { margin: 0; font: 500 var(--t-small)/1.3 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.gate__track { --tick: 24px; --pad: var(--s-4); position: relative; display: flex; align-items: flex-start; padding: var(--pad); border-radius: var(--r-md);
  background: var(--p-inv-surface); box-shadow: inset 0 0 0 1px rgb(241 236 224 / .12); }
/* the line the message travels along, through the five checks into the outbox */
.gate__track::before { content: ""; position: absolute; left: var(--pad); right: var(--pad); top: calc(var(--pad) + var(--tick) / 2); height: 1px; background: rgb(241 236 224 / .28); }
.gate__checks { flex: 5 1 0; min-width: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.gate__check, .gate__end { position: relative; display: grid; justify-items: center; align-content: start; gap: var(--s-2); text-align: center; font-size: 13px; line-height: 1.3; color: var(--ink); padding-inline: 4px; }
.gate__end { flex: 1.4 1 0; min-width: 0; margin: 0; font-weight: 500; }
.gate__tick, .gate__box { width: var(--tick); height: var(--tick); overflow: visible; }
.gate__ring { fill: var(--p-inv-surface); stroke: rgb(241 236 224 / .5); stroke-width: 1.5; }
.gate__mark { fill: none; stroke: #ee7a35; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gate__check.is-waiting .gate__ring { fill: none; stroke: rgb(241 236 224 / .3); }
.gate__box { fill: var(--p-inv-surface); stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; transform-box: fill-box; transform-origin: center; }
.gate__chip { position: absolute; top: calc(var(--tick) / 2 - 14px); left: calc(50% - var(--tick) / 2 - 36px); width: 28px; height: 28px; display: grid; place-items: center;
  border-radius: 8px; background: #ee7a35; color: var(--p-inv-bg); box-shadow: 0 6px 16px -6px rgb(0 0 0 / .7); }
.gate__chip svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
/* under 1280 the column is too narrow for five labels in a row: the strip runs down the page instead */
@media (max-width: 1279px) {
  .gate__track { flex-direction: column; align-items: stretch; gap: var(--s-3); }
  .gate__track::before { left: auto; right: calc(var(--pad) + var(--tick) / 2); top: var(--pad); bottom: var(--pad); width: 1px; height: auto; }
  .gate__checks { grid-template-columns: minmax(0, 1fr); gap: var(--s-3); }
  .gate__check, .gate__end { grid-template-columns: minmax(0, 1fr) var(--tick); justify-items: start; align-items: center; text-align: left; gap: var(--s-3); padding: 0; }
  .gate__check > svg, .gate__end > svg { grid-column: 2; grid-row: 1; }
  .gate__check > span, .gate__end > span:not(.gate__chip) { grid-column: 1; grid-row: 1; }
  .gate__chip { top: -34px; left: auto; right: calc(var(--tick) / 2 - 14px); }
  .gate__end { margin-top: 34px; }
}

/* #improve: a line sweeps across the before side, which dims behind it, and the after side lights (sections.js).
   The marks sit over the two columns of the screenshot (its before/after boxes start 36% down; the seam is at 49.9%). */
.improve__shot { position: absolute; }
.sweep { display: none; position: absolute; inset: 36.3% 0 0 0; pointer-events: none; }
html.sx-js .sweep { display: block; }
.sweep > i { position: absolute; top: 0; bottom: 0; }
.sweep__before { left: 0; width: 49.9%; background: rgb(250 247 240 / .5); }
.sweep__after { left: 49.9%; right: 0; background: rgb(250 247 240 / .62); opacity: 0; }
.sweep__line { left: calc(49.9% - 1px); width: 2px; background: var(--p-accent); box-shadow: 0 0 14px rgb(191 49 23 / .45); }

#faq { height: auto; min-height: 100svh; }
#faq .faq-cols { margin-top: 0; align-items: start; row-gap: var(--s-6); }
/* #faq: native details, each opening on a spring (sections.js) with its marker turning; the first is open.
   The kit keeps every answer of a .faq open (its system.js opens them for good); the brief asks for questions that
   open and close, so these columns are .qa, drawn as the kit draws its FAQ rows. */
.qa > details { display: grid; gap: var(--s-2); padding: var(--s-3) 0; border-bottom: 1px solid var(--line); }
.qa > details:first-child { padding-top: 0; }
.qa > details > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 44px; }
.qa > details > summary::-webkit-details-marker { display: none; }
.qa > details > summary h3 { margin: 0; font: 500 var(--t-lead)/1.4 var(--font-text); letter-spacing: 0; }
.qa > details > summary:focus-visible { outline: 2px solid var(--action); outline-offset: 4px; border-radius: 2px; }
.qa > details > summary:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.qa .faq__a p { margin: 0; color: var(--ink); max-width: 64ch; }
.faq__mark { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; transition: transform .38s var(--m-ease-enter, cubic-bezier(.22,1,.36,1)); }
.qa > details[open]:not(.is-closing) .faq__mark { transform: rotate(45deg); }
@media (max-width: 639px) { .qa > details { padding: var(--s-2) 0; } }

/* #today: three status lines, each with its dot (lit: running; hollow: not yet) */
.today__head { display: grid; align-content: start; gap: var(--s-6); }
.status { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.status__line { position: relative; width: fit-content; max-width: 100%; padding-right: 26px; font: 500 14px/1.4 var(--font-mono); color: var(--ink); }
.status__dot { position: absolute; right: 0; top: calc(.7em - 8px); width: 16px; height: 16px; overflow: visible; }
.status__ring { fill: none; stroke: var(--muted); stroke-width: 1.5; }
.status__line.is-lit .status__ring { stroke: var(--t-found); }
.status__fill { fill: var(--t-found); transform-box: fill-box; transform-origin: center; }

/* the close: the words and what happens next, the figure, the form */
.closing__cta.cx { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--s-6); align-items: start; }
.cx__words { grid-column: 1 / span 5; }
.cx__fig { grid-column: 6 / span 3; align-self: start; display: grid; place-items: center; }
.cx__form { grid-column: 9 / span 4; }
.cx__form.form { grid-template-columns: minmax(0, 1fr); }
.cx__form.form > * { grid-column: 1 / -1; }
.cx-orb { position: relative; width: min(100%, 300px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(238 122 53 / .2), rgb(191 49 23 / .08) 55%, transparent 72%); }
.cx-orb canvas, .cx-orb .orb-still { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.next { list-style: none; margin: var(--s-3) 0 0; padding: 0; display: grid; gap: var(--s-3); }
.next li { display: flex; align-items: center; gap: var(--s-3); color: var(--ink); }
.next__n { flex: none; width: 28px; height: 28px; overflow: visible; }
.next__n circle { fill: none; stroke: #ee7a35; stroke-width: 1.5; }
.next__n text { fill: var(--ink); font: 500 13px var(--font-mono); }
@media (max-width: 1023px) {
  .cx__words { grid-column: 1 / -1; }
  .cx__fig { display: none; }
  .cx__form { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  #problem.mo-wh .mo-wh__text strong .mo-w::after, .claim, .claim--struck s, .how-step, .faq__mark { transition: none; }
}


/* (part B) whole screens below 1280px: a section whose content runs past one screen takes two (the kit's --h on a
   tablet, --hm on a phone), measured on 2 Dec at 820x1180, 768x1024 and 390x844; the near misses are trimmed instead */
@media (min-width: 640px) and (max-width: 799px) {
  #how, #control, #today, footer#signup { --h: 2; }
}
@media (min-width: 800px) and (max-width: 1023px) {
  .how__frame { aspect-ratio: 16 / 10; }
  .how__list { margin-top: var(--s-5); }
  .control__frame { height: 260px; }
}
@media (max-width: 639px) {
  #how, #control, #today, footer#signup { --hm: 2; }
  footer#signup { --h: 2; }
  #improve .improve__frame { height: 260px; }
  #faq .faq-cols { row-gap: var(--s-3); }
  .qa > details { gap: var(--s-1); }
  .qa > details > summary h3 { font-size: 17px; line-height: 1.35; }
  .proof__cta p { font-size: var(--t-body); }
  .proof__cta { margin-top: var(--s-4); gap: var(--s-3); }
  .proof__example .app.ui { margin-top: var(--s-3); }
}
/* the close's form: the "Optional" tag sits right after its label, not on the far edge */
.signup-form .field__label { justify-content: flex-start; }
