/* =====================================================================
   CLIPPER pre-order site  -  site.css
   Page layer on top of app-tokens.css + components.css (both copied
   verbatim from work/design). Tokens only: no raw colours here.
   Sections: 1 page frame  2 section parts  3 sections  4 modal  5 legal pages
   ===================================================================== */

/* the app's two weights: 400 and 600, never 700 (app equivalent: .t-strong) */
b, strong { font-weight: 600; }

/* ---------- 1. page frame ---------- */
/* No scroll-padding: with it, Chrome "scrolls into view" sticky-header controls on focus.
   Hash jumps land under the header through scroll-margin instead. */
html { scroll-padding-top: 0; }
.slide, .prose [id], .page [id] { scroll-margin-top: var(--site-header-h); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
/* focus moved by Tab / Shift+Tab never lands under the sticky header (WCAG 2.4.11) */
.site-main :is(a, button, summary, input, [tabindex]), .site-footer a, .page :is(a, button, summary, input) { scroll-margin-top: calc(var(--site-header-h) + var(--s-4)); }
/* inline links in running text: underlined, not colour alone */
.c-choice__text a, .prose a, .site-banner__text a, .faq .c-more__body a, .thanks p a, .withdraw a { text-decoration: underline; text-underline-offset: 3px; }
.ic { width: 16px; height: 16px; flex: none; }

.site-header { isolation: isolate; }
.site-header__in { min-width: 0; }
.site-brand { min-width: 0; flex: 0 1 auto; }
.site-header__cta { flex: none; }

.ph { color: var(--warn-ink); background: var(--warn-soft); border-radius: var(--r-xs); padding: 0 3px; white-space: normal; overflow-wrap: anywhere; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.c-plan__note .ph { white-space: nowrap; }   /* short price notes like [incl. VAT] stay on one line */

.site-banner .site-wrap { display: flex; align-items: center; gap: var(--s-3); min-height: 44px; padding-top: var(--s-1-5); padding-bottom: var(--s-1-5); }
.site-banner { font-size: var(--fs-sm); line-height: var(--lh-sm); }
.site-banner__icon { color: var(--bunsen); display: inline-flex; }
.site-banner__text { flex: 1; min-width: 0; }
.site-banner__text a { font-weight: 600; white-space: nowrap; }
.site-banner .c-btn { flex: none; }
.soon-dismissed #soonBanner, .checkout-on #soonBanner { display: none; }
@media (max-width: 600px) {
  .site-banner__more, .site-banner__text a { display: none; }
  #soonBanner { padding-top: 0; padding-bottom: 0; }
  #soonBanner .site-wrap { align-items: center; min-height: 0; padding-top: var(--s-1); padding-bottom: var(--s-1); }
}

/* ---------- 2. slide parts ---------- */
.slide {
  position: relative; display: flex; flex-direction: column; justify-content: flex-start;
  padding: var(--s-16) 0; border-bottom: 1px solid var(--line);
}
#s-01 { padding-top: var(--s-10); }
.slide > .site-wrap { width: 100%; }
.slide__over { display: flex; align-items: center; gap: var(--s-2); margin-bottom: var(--s-3); font-size: var(--fs-xs); line-height: var(--lh-xs); font-weight: 600; color: var(--ink-soft); }
.slide__title { font-family: var(--font-serif); font-size: var(--fs-2xl); line-height: var(--lh-2xl); font-weight: 600; text-wrap: balance; max-width: 30ch; }
.slide__title--xl { font-size: var(--fs-2xl); line-height: var(--lh-2xl); }  /* = the app's page h1; prices stay the biggest numbers */
.slide__sub { margin-top: var(--s-3); color: var(--ink-soft); font-size: var(--fs-lg); line-height: var(--lh-lg); max-width: 62ch; }
.slide__head { margin-bottom: var(--s-8); }
.slide__fine { font-size: var(--fs-xs); line-height: var(--lh-xs); color: var(--ink-soft); max-width: 80ch; }
.slide__kicker { font-family: var(--font-serif); font-size: var(--fs-xl); line-height: var(--lh-xl); font-weight: 600; }
.slide__split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: var(--s-10); align-items: center; }
.slide__split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.slide__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); }
.slide__foot { margin-top: var(--s-6); display: grid; gap: var(--s-2); }
.slide__actions.slide__foot { display: flex; }
p.slide__foot { display: block; }

/* device frame: the app window (.site-window) only, no stock device frames */
.shot { margin: 0; min-width: 0; }
.shot .site-window__bar { gap: 6px; }
.shot__img { display: block; width: 100%; height: auto; background: var(--panel2); }
@media (max-width: 700px) { .site-window .shot__img { cursor: zoom-in; } }
.shot figcaption { margin-top: var(--s-2); font-size: var(--fs-xs); line-height: var(--lh-xs); color: var(--ink-soft); }
.shot__zoom { display: block; color: inherit; }
.shot--narrow { max-width: 440px; width: 100%; }

/* ---------- 3. slides ---------- */
/* 01 cover */
.cover { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: var(--s-10); align-items: center; }
.cover__copy { display: grid; gap: var(--s-5); justify-items: start; }
.cover__eyebrow { margin-bottom: 0; }
.cover__clip { display: none; }
.slide__over > span:last-child { min-width: 0; }
.cover__title { font-size: var(--fs-hero); line-height: var(--lh-hero); }
.cover__under { display: grid; gap: var(--s-1); }
.cover__copy > * { max-width: 100%; }
.cover .slide__actions .c-badge { white-space: normal; height: auto; min-height: 24px; padding-top: 4px; padding-bottom: 4px; line-height: var(--lh-xs); }
.cover__meta { display: flex; align-items: flex-start; gap: var(--s-2); font-size: var(--fs-sm); color: var(--ink-soft); }
.cover__meta .ic { color: var(--ink-soft); margin-top: 2px; }

/* 02 problem */
.beats { list-style: none; margin: var(--s-6) 0 0; padding: 0; display: grid; gap: var(--s-3); counter-reset: beat; }
.beats li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: var(--s-3); align-items: start; padding: var(--s-4) var(--s-5); border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: var(--fs-lg); line-height: var(--lh-lg); counter-increment: beat; }
.beats li::before { content: counter(beat); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line-3); color: var(--ink-soft); font-size: var(--fs-xs); font-weight: 600; font-variant-numeric: tabular-nums; }
.vod { padding: var(--s-5); }
.vod__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); margin-bottom: var(--s-4); font-size: var(--fs-sm); }
.vod__time { font-variant-numeric: tabular-nums; color: var(--ink-soft); }
.vod > svg { width: 100%; height: auto; }
.vod__line { fill: none; stroke: var(--line-3); stroke-width: 1.5; }
.vod__peak { fill: none; stroke: var(--bunsen); stroke-width: 2; }
.vod__base { stroke: var(--line); stroke-width: 1; }
.vod__tick { stroke: var(--line); stroke-width: 1; }
.vod__mark { fill: var(--bunsen); }
.vod__lab { fill: var(--ink-soft); font-family: var(--font-sans); font-size: 11px; }
.vod__foot { display: flex; justify-content: space-between; margin-top: var(--s-2); font-size: var(--fs-xs); color: var(--ink-soft); font-variant-numeric: tabular-nums; }

/* 03 solution */
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); margin: var(--s-6) 0 var(--s-5); }
.kpis .c-kpi__value { font-size: var(--fs-4xl); line-height: var(--lh-4xl); }

/* 04 how it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-3); }
.steps .c-card { height: 100%; display: grid; align-content: start; gap: var(--s-2); }
.steps__num { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); }
.steps__n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--bunsen-soft); color: var(--bunsen); font-size: var(--fs-xs); font-weight: 600; font-variant-numeric: tabular-nums; }
.steps__n .ic { width: 14px; height: 14px; }
.steps .c-card__title { margin-top: var(--s-1); }
.steps p { font-size: var(--fs-sm); line-height: var(--lh-sm); color: var(--ink-soft); }
.how__next { margin-top: var(--s-3); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); padding: var(--s-3) var(--s-4); border: 1px dashed var(--line-3); border-radius: var(--r); font-size: var(--fs-sm); line-height: var(--lh-sm); color: var(--ink-soft); }
.how__next b { color: var(--ink); }
.how__strip { margin-top: var(--s-6); max-width: 880px; }

/* 05 detection */
.signals { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
.signal { display: grid; gap: var(--s-2); align-content: start; }
.signal__head { display: flex; align-items: center; gap: var(--s-2); }
.signal__name { font-weight: 600; flex: 1; min-width: 0; }
.signal__w { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink); font-size: var(--fs-sm); }
.signal p { font-size: var(--fs-sm); line-height: var(--lh-sm); color: var(--ink-soft); }
.signal .c-bar { height: 4px; }
.signal .c-bar > i { width: var(--val); }
.signals__more { display: none; }
.w30 { --val: 30%; } .w20 { --val: 20%; } .w15 { --val: 15%; } .w10 { --val: 10%; } .w5 { --val: 5%; }
.detect { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: var(--s-8); align-items: start; }
.detect__side { display: grid; gap: var(--s-4); }

/* 06 auto-edit */
.edit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--s-10); align-items: center; }
.feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4) var(--s-6); }
.feats li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: var(--s-3); align-items: start; }
.feats .c-card__icon { width: 32px; height: 32px; }
.feats b { display: block; font-weight: 600; }
.feats li > div > span { display: block; font-size: var(--fs-sm); line-height: var(--lh-sm); color: var(--ink-soft); }
.feats__toggle { display: none; margin-top: var(--s-4); }

/* 07 tour */
.tour .c-tabs { margin-bottom: 0; }
.tour .c-tabpanel { padding-top: var(--s-5); }
.tour__panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 280px); gap: var(--s-8); align-items: start; }
.tour__cap { display: grid; gap: var(--s-2); padding-top: var(--s-2); }
.tour__cap h3 { font-family: var(--font-serif); font-size: var(--fs-xl); line-height: var(--lh-xl); }
.tour__cap p { color: var(--ink-soft); }

/* 08 who */
.who .c-card { display: grid; gap: var(--s-3); align-content: start; }
.who__plats { display: flex; gap: var(--s-2); }
.who__plats .c-platmark { width: 32px; height: 32px; }
.who__plats .c-platmark svg { width: 18px; height: 18px; }
.who p { color: var(--ink-soft); }
.rights { margin-top: var(--s-5); }

/* 09 pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); max-width: 920px; }
.c-plan.is-soon { background: var(--panel2); }
.c-plan .c-btn { width: 100%; }
.c-plan__status { font-size: var(--fs-sm); line-height: var(--lh-sm); color: var(--warn-ink); font-weight: 600; }
.c-plan__price .c-plan__note { margin-left: var(--s-2); }
.pricing__after { margin-top: var(--s-5); color: var(--ink-soft); }

/* 10 founder */
.math { display: grid; gap: 0; padding: 0; overflow: hidden; }
.math__row { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: var(--s-4); align-items: baseline; padding: var(--s-5) var(--s-6); border-top: 1px solid var(--line); }
.math__row:first-child { border-top: 0; }
.math__row.is-key { background: var(--bunsen-soft); }
.math__when { font-size: var(--fs-sm); font-weight: 600; color: var(--ink-soft); }
.math__big { font-size: var(--fs-4xl); line-height: var(--lh-4xl); font-weight: 600; font-variant-numeric: tabular-nums; }
.math__eq { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-1) var(--s-2); font-variant-numeric: tabular-nums; }
.math__eq .t-strike { font-size: var(--fs-lg); }
.math__minus { color: var(--ink-soft); font-size: var(--fs-sm); }
.math__val { display: block; }
.math__lab { display: block; font-size: var(--fs-sm); line-height: var(--lh-sm); color: var(--ink-soft); }
.math__row.is-key .math__big { color: var(--bunsen); }
.promises { list-style: none; margin: var(--s-6) 0; padding: 0; display: grid; gap: var(--s-2); }
.promises li { display: flex; gap: var(--s-2); align-items: flex-start; }
.promises .ic { margin-top: 3px; color: var(--ok); }

/* 11 roadmap */
.road { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-3); }
.road li { position: relative; display: grid; gap: var(--s-2); align-content: start; padding-top: var(--s-6); }
.road li::before { content: ""; position: absolute; top: 6px; left: 0; right: calc(var(--s-3) * -1); height: 1px; background: var(--line-3); }
.road li:last-child::before { right: 0; }
.road li::after { content: ""; position: absolute; top: 0; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--panel); border: 2px solid var(--line-4); }
.road li.is-now::after { border-color: var(--bunsen); background: var(--bunsen); }
.road li.is-target::after { border-color: var(--bunsen); }
.road h3 { font-family: var(--font-serif); font-size: var(--fs-lg); line-height: var(--lh-lg); }
.road p { font-size: var(--fs-sm); line-height: var(--lh-sm); color: var(--ink-soft); }
.road .c-badge { justify-self: start; }

/* 12 FAQ */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s-8); align-items: start; }
.faq__col > .c-more:last-child { border-bottom: 1px solid var(--line); }
.faq .c-more > summary { min-height: 48px; padding: var(--s-2) 2px; }
.faq .c-more__body { padding-bottom: var(--s-4); font-size: var(--fs-sm); line-height: var(--lh-sm); }
.faq__after { margin-top: var(--s-5); display: grid; gap: var(--s-1); }
.faq__list { margin: 0; padding-left: var(--s-5); display: grid; gap: var(--s-1-5); }

/* 13 final */
.final { display: grid; justify-items: center; text-align: center; gap: var(--s-5); max-width: 760px; margin: 0 auto; }
.final .slide__over { justify-content: center; margin-bottom: 0; }
.final .slide__title { max-width: 24ch; }
.final .slide__actions { justify-content: center; }

/* footer */
.site-footer__legal { margin-top: var(--s-6); display: grid; gap: var(--s-1); font-size: var(--fs-xs); line-height: var(--lh-xs); }
.site-footer__links { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); }
.site-footer__links small { display: block; font-size: var(--fs-micro); }
.site-footer .site-brand { margin-bottom: var(--s-2); }

/* ---------- 4. modal (= app .c-modal: head, body, hairline foot with right-aligned actions; bottom sheet on phones) ---------- */
.c-modal { width: min(520px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--panel); color: var(--ink); box-shadow: var(--shadow); overflow-x: hidden; overflow-y: auto; }
.c-modal[open] { animation: c-fade-in var(--dur-3) var(--ease-out); }
.c-modal::backdrop { background: var(--scrim); }
.c-modal__head { display: flex; align-items: flex-start; gap: var(--s-3); padding: var(--s-5) var(--s-6) 0; }
.c-modal__title { font-family: var(--font-serif); font-size: 21px; line-height: 28px; font-weight: 600; flex: 1; }
.c-modal__close { margin: -6px -10px 0 0; }
.c-modal__body { padding: var(--s-4) var(--s-6) var(--s-6); display: grid; gap: var(--s-4); }
.c-modal__body > * { min-width: 0; }
.c-modal__body > p { color: var(--ink-soft); }
.c-modal__foot { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: var(--s-2); padding: var(--s-3) var(--s-6); border-top: 1px solid var(--line); position: sticky; bottom: 0; background: var(--panel); }   /* actions stay in reach while a long form scrolls */
.c-modal .c-field + .c-field { margin-top: 0; }
.os-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-2); border: 0; padding: 0; margin: 0; min-width: 0; }
.os-pick legend { padding: 0; margin-bottom: var(--s-1-5); }
.os-pick .c-rcard { flex-direction: row; align-items: center; gap: var(--s-2); padding: var(--s-2-5) var(--s-3); }
.os-pick .c-rcard:has(input:checked) { padding: calc(var(--s-2-5) - 1px) calc(var(--s-3) - 1px); }
/* form controls need a 3:1 boundary (WCAG 1.4.11); scoped to the modal so the app tokens stay verbatim */
.c-modal .c-input, .c-modal .os-pick .c-rcard:not(:has(input:checked)) { border-color: color-mix(in srgb, var(--ink) 48%, var(--line)); }
.c-modal .c-check, .c-modal .c-radio { border-color: color-mix(in srgb, var(--ink) 55%, var(--line)); }
.c-modal .c-check:checked, .c-modal .c-radio:checked { border-color: var(--bunsen); }
.plan-fixed { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-2) var(--s-3); padding: var(--s-3) var(--s-4); border-radius: var(--r-md); background: var(--panel2); font-size: var(--fs-sm); }
.plan-fixed b { font-family: var(--font-serif); font-size: var(--fs-lg); }
.plan-fixed .c-badge { white-space: normal; height: auto; min-height: 22px; padding-top: 4px; padding-bottom: 4px; line-height: var(--lh-xs); }
.mini-math { font-variant-numeric: tabular-nums; font-size: var(--fs-sm); color: var(--ink); padding: var(--s-3) var(--s-4); border-radius: var(--r-md); background: var(--panel2); }
.form-error { margin: 0; }

/* ---------- 5. legal / simple pages ---------- */
.page { padding-top: var(--s-12); padding-bottom: var(--s-16); }
.prose { max-width: 72ch; }
.prose h1 { margin-bottom: var(--s-2); }
.prose h2 { margin: var(--s-8) 0 var(--s-3); }
.prose h3 { margin: var(--s-6) 0 var(--s-2); }
.prose p, .prose ul, .prose ol, .prose table { margin: 0 0 var(--s-3); }
.prose ul, .prose ol { padding-left: var(--s-6); display: grid; gap: var(--s-1-5); }
.prose li { padding-left: 2px; min-width: 0; }
.prose .c-table-wrap { margin-bottom: var(--s-4); }
.prose .c-notice { margin-bottom: var(--s-6); }
.prose .meta { color: var(--ink-soft); font-size: var(--fs-sm); }
.page__nav { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-6); }
.thanks { max-width: 640px; display: grid; gap: var(--s-5); }
.thanks ol { margin: 0; padding-left: var(--s-6); display: grid; gap: var(--s-2); }
.withdraw { margin: var(--s-4) 0 var(--s-6); display: grid; gap: var(--s-4); max-width: 520px; }
.withdraw .c-field + .c-field { margin-top: 0; }
.withdraw__done { display: grid; gap: var(--s-2); }
.site-header__jump { display: none; }

/* ---------- account page + join dialog ---------- */
.acct { max-width: 620px; }
.acct__view { display: grid; gap: var(--s-4); }
.acct__view[hidden] { display: none; }
.acct__title { margin: 0; }
.acct__view h1:focus, .acct__view h2:focus, .join .c-modal__title:focus { outline: none; }
.acct__card, .acct__founder { display: grid; gap: var(--s-3); }
.acct__founder { border-color: var(--bunsen); }
.acct__founder .c-badge { justify-self: start; white-space: normal; height: auto; min-height: 24px; }
.acct__h { margin: 0; font-family: var(--font-serif); font-size: var(--fs-xl); line-height: var(--lh-xl); font-weight: 600; }
.acct__form { display: grid; gap: var(--s-4); }
.acct__form .c-field + .c-field { margin-top: 0; }
.acct__actions { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; margin: 0; }
.acct__danger { color: var(--danger); }
.acct__confirm .c-notice__body { display: grid; gap: var(--s-2); }
.acct__confirm .c-notice__body p { margin: 0; }
.acct p a, .join a { text-decoration: underline; text-underline-offset: 3px; }
.site-header__login { white-space: nowrap; }
.join__spots { font-size: var(--fs-sm); color: var(--ink-soft); }
.join [data-join-view] { display: block; }
.join [data-join-view][hidden] { display: none; }
.c-modal__body .c-field + .c-field { margin-top: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .slide { padding: var(--s-12) 0; }
  .cover, .slide__split, .slide__split--even, .detect, .edit, .tour__panel { grid-template-columns: minmax(0, 1fr); gap: var(--s-8); }
  .road { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6) var(--s-3); }
  .road li:nth-child(2)::before { right: 0; }
  .faq { grid-template-columns: minmax(0, 1fr); }
  .faq__col + .faq__col > .c-more:first-child { border-top: 0; }
  .faq__col:first-child > .c-more:last-child { border-bottom: 0; }
  .edit > .shot { order: 2; }
  /* phones: the hero picture is a finished clip, right under the h1; the dashboard lives in the tour */
  .cover__shot { display: none; }
  .cover__clip { display: block; width: 100%; max-width: 200px; }
  .site-header__jump { display: inline-flex; }
  /* founder slide: the price table comes before the promises and the button */
  .founder { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .founder__copy { display: contents; }
  .founder__copy > * { order: 1; }
  .founder__copy > .promises, .founder__copy > .slide__actions { order: 3; }
  .founder__side { order: 2; margin-top: var(--s-6); }
}
@media (max-width: 700px) {
  .slide { padding: var(--s-10) 0; }
  .slide__title--xl { font-size: var(--fs-2xl); line-height: var(--lh-2xl); }
  .slide__sub { font-size: var(--fs-md); line-height: var(--lh-md); }
  .cover__title { font-size: var(--fs-hero); line-height: var(--lh-hero); }
  .kpis { grid-template-columns: minmax(0, 1fr); gap: var(--s-2); }
  .kpis .c-kpi { flex-direction: row; align-items: baseline; gap: var(--s-3); }
  .kpis .c-kpi__value { font-size: var(--fs-3xl); line-height: var(--lh-3xl); min-width: 72px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .feats, .plans { grid-template-columns: minmax(0, 1fr); }
  .signals { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); }
  .signal p { display: none; }
  .signals__more { display: block; margin-top: var(--s-3); }
  .signals__more ul { margin: 0; padding-left: var(--s-5); display: grid; gap: var(--s-2); font-size: var(--fs-sm); line-height: var(--lh-sm); }
  .feats:not(.is-open) .feats__extra { display: none; }
  .feats__toggle { display: inline-flex; }
  .road { grid-template-columns: minmax(0, 1fr); }
  .road li::before { display: none; }
  .road li { padding: 0 0 0 var(--s-8); }
  .road li::after { top: 4px; }
  .math__row { grid-template-columns: minmax(0, 1fr); gap: var(--s-1); padding: var(--s-4); }
  .math__big { font-size: var(--fs-3xl); line-height: var(--lh-3xl); }
  .os-pick .c-rcard { padding: var(--s-2) var(--s-2-5); gap: var(--s-1-5); }
  .os-pick .c-rcard:has(input:checked) { padding: calc(var(--s-2) - 1px) calc(var(--s-2-5) - 1px); }
  .site-header__cta { padding: 0 var(--s-3); }
  .site-header__cta, .site-header__jump, .site-theme { --btn-h: var(--h-lg); }   /* 44px, = the app's phone Pause button */
  .site-banner .site-wrap { align-items: flex-start; }
  .tour .c-tabs { flex-wrap: wrap; gap: var(--s-1) var(--s-4); overflow: visible; }
  .c-modal { width: 100%; max-width: none; margin: auto 0 0; border-radius: var(--r-xl) var(--r-xl) 0 0; border-bottom: 0; max-height: calc(100dvh - 24px); }
  .c-modal__head { padding: var(--s-4) var(--s-4) 0; }
  .c-modal__body { padding: var(--s-3) var(--s-4) var(--s-5); }
  .c-modal__foot { padding: var(--s-3) var(--s-4) calc(var(--s-3) + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 480px) {
  .site-header__in { gap: var(--s-3); }
  .site-header__end { gap: var(--s-1-5); }
}
/* small phones: the extra "Pricing" link goes (the page and the CTA already lead there), so the header keeps an even gutter */
@media (max-width: 430px) {
  .site-header__jump { display: none; }

/* ---------- account page + join dialog ---------- */
.acct { max-width: 620px; }
.acct__view { display: grid; gap: var(--s-4); }
.acct__view[hidden] { display: none; }
.acct__title { margin: 0; }
.acct__view h1:focus, .acct__view h2:focus, .join .c-modal__title:focus { outline: none; }
.acct__card, .acct__founder { display: grid; gap: var(--s-3); }
.acct__founder { border-color: var(--bunsen); }
.acct__founder .c-badge { justify-self: start; white-space: normal; height: auto; min-height: 24px; }
.acct__h { margin: 0; font-family: var(--font-serif); font-size: var(--fs-xl); line-height: var(--lh-xl); font-weight: 600; }
.acct__form { display: grid; gap: var(--s-4); }
.acct__form .c-field + .c-field { margin-top: 0; }
.acct__actions { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; margin: 0; }
.acct__danger { color: var(--danger); }
.acct__confirm .c-notice__body { display: grid; gap: var(--s-2); }
.acct__confirm .c-notice__body p { margin: 0; }
.acct p a, .join a { text-decoration: underline; text-underline-offset: 3px; }
.site-header__login { white-space: nowrap; }
.join__spots { font-size: var(--fs-sm); color: var(--ink-soft); }
.join [data-join-view] { display: block; }
.join [data-join-view][hidden] { display: none; }
.c-modal__body .c-field + .c-field { margin-top: 0; }
}
@media (max-width: 400px) {
  .os-pick { gap: var(--s-1-5); grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 0.8fr); }   /* "Windows" is the longest label */
  .os-pick .c-rcard { padding: var(--s-2); gap: var(--s-1-5); }
  .os-pick .c-rcard:has(input:checked) { padding: calc(var(--s-2) - 1px); }
}
@media (max-width: 359px) {
  .os-pick .c-rcard { gap: var(--s-1); padding-left: var(--s-1-5); padding-right: var(--s-1-5); }
  .os-pick .c-rcard:has(input:checked) { padding-left: calc(var(--s-1-5) - 1px); padding-right: calc(var(--s-1-5) - 1px); }
}
@media (max-width: 339px) {
  .site-header .site-brand__text { display: none; }
}

/* in-page nav: the rail's active-row style for the section you're on.
   Each link reserves its bold width (hidden ::after copy of data-label), so the active weight never shifts its neighbours. */
.site-nav a[data-label] { display: inline-grid; align-content: center; justify-items: center; }
.site-nav a[data-label]::after { content: attr(data-label); font-weight: 600; height: 0; visibility: hidden; overflow: hidden; pointer-events: none; user-select: none; }
.site-nav a[aria-current="location"] { background: var(--bunsen-soft); color: var(--bunsen); font-weight: 600; }
