/* Landing page. Builds on tokens.css only. */

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: var(--r-ctl); }
.skip:focus { top: 12px; }

/* ---------- nav: quiet, adapts to the sheet under it ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 40; color: var(--fog); transition: color var(--d-mid) var(--ease-state), background-color var(--d-mid) var(--ease-state), border-color var(--d-mid) var(--ease-state); border-bottom: 1px solid transparent; }
.nav-in { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; height: 68px; display: flex; align-items: center; gap: var(--s8); }
.nav.is-solid { background: rgb(11 12 14 / .72); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom-color: var(--line-d); }
.nav[data-tone="paper"] { color: var(--ink); }
.nav[data-tone="paper"].is-solid { background: rgb(245 244 240 / .8); border-bottom-color: var(--line); }
.nav[data-tone="paper"] .btn { --bg: var(--ink); --fg: var(--paper); }
.nav[data-tone="night"] .btn { --bg: var(--fog); --fg: var(--night); }
.nav .brand, .foot .brand, .theatre .brand, .brand { display: inline-flex; align-items: center; gap: 10px; font: 500 17px/1 var(--sans); letter-spacing: -.02em; text-decoration: none; color: inherit; }
.nav .brand, .theatre .brand { color: inherit; }
.brand-mark { width: 22px; height: 22px; }
.nav-links { display: flex; gap: var(--s6); margin-left: auto; }
.nav-links a { font-size: 14px; text-decoration: none; opacity: .72; transition: opacity var(--d-fast) var(--ease-state); }
.nav-links a:hover { opacity: 1; }
.nav-menu { display: none; width: 44px; height: 44px; place-items: center; padding: 0; margin-right: -10px; border: 0; background: transparent; color: inherit; cursor: pointer; }
.nav-menu svg { width: 18px; height: 18px; }
.nav-sheet { border-top: 1px solid var(--line-d); background: var(--night); padding: 8px var(--gutter) 16px; display: grid; }
.nav[data-tone="paper"] .nav-sheet { background: var(--paper); border-top-color: var(--line); }
.nav-sheet[hidden] { display: none; }
.nav-sheet a { min-height: 48px; display: flex; align-items: center; color: inherit; text-decoration: none; font-size: 17px; border-bottom: 1px solid var(--line-d); }
.nav[data-tone="paper"] .nav-sheet a { border-bottom-color: var(--line); }
@media (max-width: 900px) { .nav-links { display: none; } .nav-in > .btn { margin-left: auto; } .nav-menu { display: grid; } .nav-in { gap: var(--s3); } }
@media (min-width: 901px) { .nav-sheet { display: none !important; } }

/* ---------- the stage: sticky 3D behind hero + stations ---------- */
.stage { position: relative; background: var(--night); }
.stage-pin { position: sticky; top: 0; background: var(--night); height: 100vh; height: 100dvh; overflow: hidden; z-index: 0; }
.stage .pipe { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.4s var(--ease); }
.stage .pipe.is-ready { opacity: 1; }
/* complete without WebGL: a quiet floor light, no blobs */
.pipe-fallback { position: absolute; inset: auto 0 0; height: 46%; background: linear-gradient(180deg, transparent, #121316 70%); }
.stage.has-3d .pipe-fallback { display: none; }
.stage > section { position: relative; z-index: 1; }
.hero { margin-top: -100vh; margin-top: -100dvh; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; padding: 120px 0 112px; }
.hero-in { max-width: var(--max); }
.hero-eyebrow { color: var(--fog-2); margin: 0 0 var(--s6); display: flex; align-items: center; gap: 10px; }
.hero-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--line-d2); }
.hero h1 { max-width: 11ch; margin: 0 0 var(--s8); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero h1 .line > span { display: inline-block; }
.hero-lede { max-width: 34rem; margin: 0 0 var(--s8); color: var(--fog-2); }
.hero-meta { list-style: none; padding: 0; margin: var(--s5) 0 0; display: flex; flex-wrap: wrap; gap: 6px 20px; color: var(--fog-3); }
.hero-meta li { display: flex; align-items: center; gap: 8px; }
.hero-meta li + li::before { content: ''; width: 3px; height: 3px; border-radius: 50%; background: var(--fog-3); margin-right: 12px; }
.hero-meta .linkish { color: var(--fog-2); font: inherit; }
.hero-guide { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); display: grid; justify-items: center; gap: 6px; text-align: center; }
.hero-down { display: inline-flex; align-items: center; gap: 8px; color: var(--fog-2); text-decoration: none; padding: 6px 14px; border-radius: var(--r-pill); background: rgb(11 12 14 / .72); border: 1px solid var(--line-d); }
.hero-down svg { width: 14px; height: 14px; flex: none; }
.hero-down:hover { color: var(--fog); border-color: var(--line-d2); }
.hero-screen-note { display: none; margin: 0; color: var(--fog-3); }

/* scan form: one instrument-like bar */
.scan { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 4px; max-width: 620px; padding: 5px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: rgb(18 19 22 / .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: border-color var(--d-fast) var(--ease-state); }
.scan:focus-within { border-color: var(--fog-2); }
.scan-url, .scan-trade { min-height: 46px; border: 0; background: transparent; color: var(--fog); outline: none; }
.scan-url:focus-visible, .scan-trade:focus-visible { box-shadow: inset 0 0 0 2px var(--fog-2); border-radius: var(--r-pill); }
.scan-url { padding: 0 8px 0 20px; font-size: 16px; min-width: 0; }
.scan-url::placeholder { color: var(--fog-3); }
.scan-trade { padding: 0 28px 0 14px; font-size: 14px; color: var(--fog-2); border-left: 1px solid var(--line-d); border-radius: 0; cursor: pointer; appearance: none; -webkit-appearance: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 6.5L8 10l3.5-3.5' fill='none' stroke='%23999' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 8px center / 14px; }
.scan-trade option { color: var(--fog); background: var(--night-2); } /* the native list follows the dark colour scheme here, so the text must be light */
.scan .btn { min-height: 46px; }
.form-error { min-height: 1.4em; margin: 8px 0 0 20px; color: var(--signal); font-size: 14px; }
.form-error:empty { min-height: 0; margin: 0; }
@media (max-width: 640px) {
  .scan { grid-template-columns: 1fr 1fr; border-radius: var(--r-panel); padding: 6px; }
  .scan-url { grid-column: 1 / -1; padding-left: 14px; border-bottom: 1px solid var(--line-d); }
  .scan-trade { border-left: 0; padding-left: 14px; }
  .scan .btn { width: 100%; }
}

/* HUD over the canvas */
.hud { position: absolute; inset: auto var(--gutter) 24px; display: flex; justify-content: space-between; align-items: end; gap: var(--s6); pointer-events: none; opacity: 0; transition: opacity 1s var(--ease); }
.stage.has-3d .hud { opacity: 1; }
.hud p { margin: 0; color: var(--fog-3); max-width: 48ch; }
.hud .fig { color: var(--fog-2); margin-right: 6px; }
.hud-left { position: relative; min-width: 0; flex: 1; max-width: 480px; }
.hud-cap { transition: opacity var(--d-mid) var(--ease-state); }
.stage.past-hero .hud-cap { opacity: 0; pointer-events: none; position: absolute; inset: auto auto 0 0; }
.hud-rail { display: grid; gap: 6px; padding: 10px 14px; border-radius: var(--r-card); background: rgb(11 12 14 / .82); border: 1px solid var(--line-d); opacity: 0; transform: translateY(6px); transition: opacity var(--d-mid) var(--ease-state), transform var(--d-mid) var(--ease-state); }
.stage.past-hero .hud-rail { opacity: 1; transform: none; }
.hud-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; font: 400 11px/1.2 var(--mono); color: var(--fog-3); }
.hud-steps span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color var(--d-fast) var(--ease-state); }
.hud-steps i { font-style: normal; color: var(--signal); }
.hud-steps span.is-active { color: var(--fog); }
.hud-steps span.is-sealed { color: var(--fog-2); }
.hud-steps span.is-sealed i { color: var(--ok-d); }
.hud-bar { height: 2px; background: var(--line-d2); border-radius: 2px; overflow: hidden; position: relative; }
.hud-bar i { display: block; width: 100%; height: 100%; background: var(--fog); transform-origin: left; transform: scaleX(0); }
.hud-guide { color: var(--fog-2) !important; font-size: 12px; line-height: 1.35; max-width: none !important; }
.hud-count b { color: var(--signal); font-weight: 500; margin-left: 8px; }
.hud-count { padding: 8px 14px; border-radius: var(--r-pill); background: rgb(11 12 14 / .82); border: 1px solid var(--line-d); white-space: nowrap; }
.callout { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: var(--r-pill); background: rgb(11 12 14 / .82); border: 1px solid var(--line-d); opacity: 0; transform: translate(-50%, calc(-100% - 28px)); transition: opacity var(--d-mid) var(--ease-state); pointer-events: none; white-space: nowrap; }
.callout.is-on { opacity: 1; }
.callout::after { content: ''; position: absolute; left: 50%; top: 100%; width: 1px; height: 22px; background: var(--line-d2); }
.callout.is-sealed .leak-mark { border-color: var(--fog-3); }
.callout.is-sealed .leak-mark::after { display: none; }
@media (max-width: 760px) {
  .hero-meta { gap: 4px 0; } .hero-meta .js-sim-stat { display: none !important; } .hero-meta li + li::before { margin: 0 10px; }
  .hud-cap { display: none; }
  .hud { inset: auto var(--gutter) 12px; flex-direction: row; align-items: center; gap: 8px; }
  .hud-left { max-width: none; }
  .hud-rail { padding: 8px 12px; gap: 5px; }
  .hud-guide { font-size: 11px; }
  .hud-count { display: none; }
  .callout { padding: 6px 10px; gap: 8px; }
  .callout::after { height: 14px; }
  .th-left h2 { font-size: 28px; }
}

/* four stations */
.station { --seal: 0; min-height: 140vh; display: flex; align-items: center; }
.station-card { width: min(460px, 100%); padding: var(--s8); border-radius: var(--r-panel); background: rgb(14 15 18 / .84); border: 1px solid var(--line-d); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.station-n { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; color: var(--fog-3); margin: 0 0 var(--s5); }
.station-meter { height: 2px; background: var(--line-d2); border-radius: 2px; overflow: hidden; position: relative; }
.station-meter i { display: block; width: 100%; height: 100%; background: var(--signal); transform-origin: left; transform: scaleX(var(--seal, 0)); }
.station.is-sealed .station-meter i { background: var(--ok-d); }
.station-state::before { content: attr(data-off); color: var(--signal); }
.station.is-sealed .station-state::before { content: attr(data-on); color: var(--ok-d); }
.station h3 { font-size: clamp(32px, 3.6vw, 52px); margin: 0 0 var(--s4); }
.station .t-lede { font-size: 17px; margin: 0 0 var(--s5); }
.station-find { border-top: 1px solid var(--line-d); padding-top: var(--s4); }
.station-find p { margin: 0 0 var(--s3); }
.station-ex { display: flex; gap: 12px; align-items: baseline; font-size: 16px; line-height: 1.45; }
.station-ex .leak-mark { transform: translateY(1px); }
.station.is-sealed .station-ex .leak-mark { border-color: var(--fog-3); }
.station.is-sealed .station-ex .leak-mark::after { display: none; }
.station-fix { display: grid; gap: 4px; font-size: 15px; color: var(--fog-2); padding-left: 22px; }
.station-checks { margin: var(--s4) 0 0; padding-top: var(--s4); border-top: 1px solid var(--line-d); line-height: 1.6; }
.station-guide { margin: var(--s4) 0 0; padding-top: var(--s3); border-top: 1px dashed var(--line-d); color: var(--fog-2); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.station-guide::before { content: attr(data-off); }
.station-guide::after { content: '↓'; color: var(--signal); font-size: 13px; }
.station.is-sealed .station-guide { color: var(--fog-3); }
.station.is-sealed .station-guide::before { content: attr(data-on); }
.station.is-sealed .station-guide::after { content: '✓'; color: var(--ok-d); }
.station-end { min-height: 120vh; align-items: flex-start; padding-top: 20vh; }
.stage.is-end .hud, .stage.is-end .callout { opacity: 0; }
.pipe-pause { position: fixed; z-index: 20; top: 84px; right: var(--gutter); width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border-radius: 50%; border: 1px solid var(--line-d2); background: rgb(11 12 14 / .6); color: var(--fog-2); cursor: pointer; opacity: 0; visibility: hidden; transition: opacity var(--d-mid) var(--ease-state), visibility 0s linear var(--d-mid); }
.pipe-pause[hidden] { display: none; }
.stage.in-view .pipe-pause { opacity: 1; visibility: visible; transition-delay: 0s; }
.pipe-pause svg { width: 16px; height: 16px; }
.pipe-pause:hover { color: var(--fog); border-color: var(--fog-3); }
.pipe-pause .i-play, .pipe-pause[aria-pressed="true"] .i-pause { display: none; }
.pipe-pause[aria-pressed="true"] .i-play { display: block; }
@media (max-width: 760px) { .pipe-pause { top: 80px; right: var(--gutter); } }
.stage:not(.has-3d) .station { min-height: auto; padding: 96px 0; }
.stage:not(.has-3d) .hero-guide, .stage:not(.has-3d) .station-guide, .stage:not(.has-3d) .station-meter { display: none; }
.end-in { max-width: 640px; }
.end-in h3 { margin: 0 0 var(--s6); }
.end-in .t-lede { margin: 0 0 var(--s8); max-width: 30rem; }
@media (max-width: 760px) {
  .station { align-items: flex-start; padding: 36vh 0 18vh; padding: 36dvh 0 18dvh; min-height: 155vh; }
  .station:not(.station-end) > .wrap { position: sticky; top: 36vh; top: 36dvh; }
  .station-card { padding: var(--s5); }
}

/* ---------- paper sheets ---------- */
.sheet { position: relative; padding: var(--section) 0; }
.sheet-2 { background: var(--paper-2); }
.sheet.night { background: var(--night); }
.head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
@media (min-width: 1100px) {
  .sheet > .wrap:not(.faq-wrap):not(.community) > .head { max-width: none; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); column-gap: clamp(48px, 6vw, 112px); align-items: end; }
  .sheet > .wrap:not(.faq-wrap):not(.community) > .head .head-n { grid-column: 1 / -1; }
  .sheet > .wrap:not(.faq-wrap):not(.community) > .head h2 { margin: 0; }
  .sheet > .wrap:not(.faq-wrap):not(.community) > .head .t-lede { padding-bottom: 6px; }
}
.head-n { margin: 0 0 var(--s5); display: flex; align-items: center; gap: 10px; }
.head-n::before { content: ''; width: 24px; height: 1px; background: currentColor; opacity: .5; }
.head h2 { margin: 0 0 var(--s6); }
.head .t-lede { margin: 0; max-width: 40rem; }
.src { margin: var(--s8) 0 0; font-size: 13px; color: var(--ink-3); max-width: 72ch; }
.est { display: inline-block; margin-left: 8px; padding: 2px 8px; border: 1px solid var(--line-2); border-radius: var(--r-pill); font: 400 11px/1.4 var(--mono); color: var(--ink-3); }

/* segmented control */
.seg, .mods-filter { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--paper); }
.seg button, .mods-filter button { min-height: 36px; padding: 0 14px; border: 0; border-radius: var(--r-pill); background: transparent; color: var(--ink-2); font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background-color var(--d-fast) var(--ease-state), color var(--d-fast) var(--ease-state); }
.seg button:hover, .mods-filter button:hover { color: var(--ink); }
.seg button[aria-pressed="true"], .mods-filter button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.mods-filter button span { font: 400 12px/1 var(--mono); opacity: .6; }

/* ---------- what we check ---------- */
.mods-filter { margin-bottom: var(--s8); }
.mods { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.mods-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.mods-list > li { border-bottom: 1px solid var(--line); }
.mod { width: 100%; display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 4px; border: 0; background: none; text-align: left; cursor: pointer; transition: background-color var(--d-fast) var(--ease-state); }
.mod:hover { background: rgb(18 18 17 / .03); }
.mod-title { font-weight: 500; font-size: 16px; letter-spacing: -.01em; }
.mod-q { grid-column: 2; font-size: 14px; color: var(--ink-2); }
.mod .mono { grid-row: 1; grid-column: 3; }
.mods-list > li.is-on .mod { background: var(--paper-2); }
.mods-list > li.is-on .mod-title { color: var(--ink); }
.mod-detail { position: sticky; top: 96px; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-panel); background: var(--night); color: var(--fog); --ink-2: var(--fog-2); --ink-3: var(--fog-3); --line: var(--line-d); min-height: 420px; }
.mod-detail h3 { font-size: 28px; letter-spacing: -.025em; font-weight: 460; margin: 0 0 var(--s3); }
.mod-detail .mod-big { font-size: 18px; color: var(--fog-2); margin: 0 0 var(--s6); }
.mod-detail .mod-h { display: block; font: 400 12px/1 var(--mono); color: var(--fog-3); margin: var(--s6) 0 var(--s3); }
.mod-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.mod-checks li { display: flex; gap: 10px; align-items: baseline; font-size: 15px; }
.mod-checks li::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--fog-3); transform: translateY(-3px); flex: none; }
.mod-ex { display: flex; gap: 12px; align-items: baseline; margin: 0; font-size: 16px; }
.mod-fix { margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid var(--line-d); }
.mod-fix p { margin: 0 0 var(--s3); font-size: 16px; }
.chip-s { display: inline-block; margin-right: 6px; padding: 3px 10px; border-radius: var(--r-pill); border: 1px solid var(--line-2); font: 400 12px/1.4 var(--mono); color: var(--ink-2); }
.mod-tag { font: 400 12px/1 var(--mono); color: var(--fog-3); }
.mod-more { padding: 0 4px 20px 34px; }
.mod-more h3, .mod-more .mod-tag { display: none; }
.mod-more .mod-h { display: block; font: 400 12px/1 var(--mono); color: var(--ink-3); margin: var(--s4) 0 var(--s2); }
.mod-more .mod-checks li::before { background: var(--ink-3); }
.mod-more .mod-fix { border-top-color: var(--line); }
.ai-chat { margin-top: var(--s5); display: grid; gap: 8px; }
.bubble { padding: 12px 14px; border-radius: 14px; font-size: 14px; line-height: 1.5; }
.bubble.q { justify-self: end; background: var(--night-3); max-width: 80%; }
.bubble.a { background: var(--night-2); border: 1px solid var(--line-d); }
.bubble.a ol { margin: 6px 0; padding-left: 20px; }
.bubble .missing { display: flex; gap: 8px; align-items: baseline; color: var(--signal); font-size: 13px; margin-top: 4px; }
@media (max-width: 900px) { .mods { grid-template-columns: 1fr; } .mod-detail { display: none; } }

/* ---------- sample report preview ---------- */
.preview-track { height: 260vh; }
.preview-sticky { position: sticky; top: 0; height: 100vh; height: 100dvh; display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: center; padding: 96px 0 40px; }
.preview-notes { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s6); }
.pnote { display: grid; grid-template-columns: 28px 1fr; gap: 12px; transition: opacity var(--d-mid) var(--ease-state); }
.pnote:not(.is-on) b, .pnote:not(.is-on) p { color: var(--ink-3); }
.pnote b, .pnote p { transition: color var(--d-mid) var(--ease-state); }
.pnote .mono { color: var(--ink-3); padding-top: 3px; }
.pnote b { display: block; font-weight: 500; margin-bottom: 4px; }
.pnote p { margin: 0; color: var(--ink-2); font-size: 15px; }
.device { height: min(74vh, 720px); border-radius: var(--r-panel); background: var(--paper); border: 1px solid var(--line-2); box-shadow: 0 1px 2px rgb(0 0 0 / .04), 0 24px 48px -12px rgb(0 0 0 / .12); display: flex; flex-direction: column; overflow: hidden; }
.device-bar { display: flex; align-items: center; gap: var(--s4); padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.device-bar .mono:nth-child(2) { flex: 1; text-align: center; color: var(--ink-2); }
.device-dots { display: flex; gap: 6px; }
.device-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--paper-3); }
.device-screen { position: relative; flex: 1; overflow: hidden; }
.device-inner { will-change: transform; padding: 28px 32px 48px; }
.js .device-inner .rv, .device-inner .rv { opacity: 1; transform: none; } /* the preview is never revealed by scroll; beats the later .js .rv */
.preview-static .preview-track { height: auto; }
.preview-static .preview-sticky { position: relative; height: auto; }
.preview-static .device-screen { overflow: auto; }
/* Phones: the same scrubbed preview. The device fills the screen, one note at a time sits under it, room left for the sticky scan button. */
@media (max-width: 900px) {
  .preview-track { height: 300vh; }
  .preview-sticky { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; align-items: stretch; gap: var(--s4); padding: 80px 0 92px; }
  .preview-sticky .device { order: 1; height: auto; min-height: 0; }
  .preview-notes { order: 2; grid-template-columns: 1fr; min-height: 4.6em; }
  .preview-notes .pnote { grid-area: 1 / 1; opacity: 0; transform: translateY(6px); transition: opacity var(--d-mid) var(--ease-state), transform var(--d-mid) var(--ease-state); }
  .preview-notes .pnote.is-on { opacity: 1; transform: none; }
  .pnote:not(.is-on) b, .pnote:not(.is-on) p { color: inherit; }
  .device-inner { padding: 20px 18px 40px; }
  .preview-static .preview-track { height: auto; }
  .preview-static .preview-sticky { padding: 0; }
  .preview-static .device { height: 70vh; }
  .preview-static .preview-notes .pnote { grid-area: auto; opacity: 1; transform: none; }
  .preview-static .device-screen { -webkit-overflow-scrolling: touch; }
}

/* ---------- calculator ---------- */
.calc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.calc-controls { display: grid; gap: var(--s8); }
.calc-row .top { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s4); margin-bottom: var(--s3); }
.calc-row label { font-size: 15px; color: var(--ink-2); }
.calc-row output { font: 500 18px/1 var(--mono); }
.range { --p: .5; width: 100%; height: 24px; margin: 0; background: transparent; appearance: none; -webkit-appearance: none; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--ink) calc(var(--p) * 100%), var(--line-2) 0); }
.range::-moz-range-track { height: 2px; border-radius: 2px; background: var(--line-2); }
.range::-moz-range-progress { height: 2px; background: var(--ink); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -8px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--ink); transition: transform var(--d-fast) var(--ease-state); }
.range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--ink); }
.range:active::-webkit-slider-thumb { transform: scale(1.15); }
.night .range::-webkit-slider-thumb { background: var(--night); border-color: var(--fog); }
.night .range::-moz-range-thumb { background: var(--night); border-color: var(--fog); }
.calc-out { padding: clamp(24px, 3vw, 40px); border-radius: var(--r-panel); background: var(--night-2); border: 1px solid var(--line-d); }
.calc-out > .mono { margin: 0 0 var(--s3); }
.calc-big { margin: 0; font-size: clamp(56px, 7vw, 104px); line-height: 1; letter-spacing: -.05em; font-weight: 400; color: var(--signal); }
.per { margin: var(--s3) 0 var(--s8); color: var(--fog-2); }
.per b { color: var(--fog); font-weight: 500; }
.leak-split { list-style: none; margin: 0 0 var(--s8); padding: 0; display: grid; gap: var(--s4); }
.leak-split li { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-size: 14px; color: var(--fog-2); }
.leak-split b { font: 500 14px/1 var(--mono); color: var(--fog); }
.leak-split i { grid-column: 1 / -1; height: 2px; background: var(--line-d); position: relative; overflow: hidden; }
.leak-split i::after { content: ''; position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--w, 0)); background: var(--fog-2); transition: transform var(--d-slow) var(--ease); }
.leak-split li.is-top i::after { background: var(--signal); }
.win { padding-top: var(--s6); border-top: 1px solid var(--line-d); }
.win-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s4); margin-bottom: var(--s4); font-size: 14px; }
.win-head b { font: 500 20px/1 var(--mono); color: var(--fog); }
.bars { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; height: 96px; align-items: end; }
.bars span { position: relative; height: 100%; display: flex; align-items: end; outline-offset: 2px; }
.bars b { width: 100%; height: calc(var(--h, 0) * 100%); background: var(--fog-3); border-radius: 2px 2px 0 0; transition: height var(--d-slow) var(--ease); }
.bars span:last-child b { background: var(--fog); }
.bars span:hover::after, .bars span:focus::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 6px 10px; border-radius: 8px; background: var(--night-3); font: 400 12px/1 var(--mono); color: var(--fog); z-index: 2; }
.bars-axis { display: flex; justify-content: space-between; margin-top: 8px; }
.calc-note { margin: var(--s6) 0 0; font-size: 13px; color: var(--fog-3); line-height: 1.6; }
@media (max-width: 900px) { .calc-grid { grid-template-columns: 1fr; } }

/* ---------- tricks ---------- */
.tricks-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s4); margin-bottom: var(--s8); }
.sort { display: inline-flex; align-items: center; gap: 12px; }
.sort .input { min-height: 44px; width: auto; border-radius: var(--r-pill); padding: 0 36px 0 16px; appearance: none; -webkit-appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 6.5L8 10l3.5-3.5' fill='none' stroke='%23777' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 12px center / 14px; }
.tricks { list-style: none; margin: 0; padding: 0 1px 1px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.trick { background: var(--paper); border: 1px solid var(--line); margin: 0 -1px -1px 0; padding: var(--s6); display: flex; flex-direction: column; gap: var(--s3); }
.trick-chips { display: flex; flex-wrap: nowrap; align-items: center; gap: 6px; min-width: 0; }
.trick-chips .chip-s { margin-right: 0; flex: none; white-space: nowrap; }
/* the second tag gives way to the impact meter: it shrinks, fades at the edge, and shows in full on hover or focus */
.trick-chips .chip-fit { flex: 0 1 auto; min-width: 48px; display: inline-flex; position: relative; }
.chip-fit .chip-t { overflow: hidden; white-space: nowrap; min-width: 0; }
.chip-fit.is-cut .chip-t { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 20px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 20px), transparent); }
.chip-fit.is-cut { cursor: default; }
.chip-fit.is-cut:hover::after, .chip-fit.is-cut:focus-visible::after { content: attr(data-full); position: absolute; z-index: 3; left: -1px; top: -1px; padding: 3px 10px; border: 1px solid var(--ink-3); border-radius: var(--r-pill); background: var(--paper); color: var(--ink); font: inherit; white-space: nowrap; box-shadow: 0 4px 12px rgb(0 0 0 / .08); animation: chip-in var(--d-fast) var(--ease-state); }
.chip-fit.is-cut:focus-visible { outline-offset: 2px; }
@keyframes chip-in { from { opacity: 0; } }
.trick-chips .impact { flex: none; }
.impact { display: inline-flex; align-items: flex-end; gap: 2px; margin-left: auto; height: 12px; }
.impact::before { content: 'Impact'; font: 400 11px/1 var(--mono); color: var(--ink-3); margin-right: 6px; align-self: center; }
.impact i { width: 3px; border-radius: 1px; background: var(--line-2); }
.impact i:nth-child(1) { height: 5px; } .impact i:nth-child(2) { height: 8px; } .impact i:nth-child(3) { height: 12px; }
.trick[data-imp="1"] .impact i:nth-child(-n+1), .trick[data-imp="2"] .impact i:nth-child(-n+2), .trick[data-imp="3"] .impact i { background: var(--ink); }
.trick h3 { font-size: 18px; font-weight: 500; letter-spacing: -.015em; line-height: 1.25; margin-top: var(--s2); }
.trick > p { margin: 0; font-size: 15px; color: var(--ink-2); }
.trick details { font-size: 14px; }
.trick summary { cursor: pointer; color: var(--ink); font-weight: 500; list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.trick summary::-webkit-details-marker { display: none; }
.trick summary::after { content: '+'; font-family: var(--mono); color: var(--ink-3); }
.trick details[open] summary::after { content: '-'; }
.trick details ol { margin: 10px 0 0; padding-left: 18px; color: var(--ink-2); display: grid; gap: 6px; }
.trick-foot { margin-top: auto; padding-top: var(--s3); display: flex; justify-content: space-between; align-items: center; gap: var(--s3); }
.factory { font: 400 12px/1 var(--mono); color: var(--ink-3); }
.add { min-height: 36px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: transparent; font-size: 13px; cursor: pointer; transition: background-color var(--d-fast) var(--ease-state), color var(--d-fast) var(--ease-state), border-color var(--d-fast) var(--ease-state); }
.add:hover { border-color: var(--ink); }
.add .add-on { display: none; }
.add[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.add[aria-pressed="true"] .add-on { display: inline; }
.add[aria-pressed="true"] .add-off { display: none; }
.tray { position: sticky; bottom: 16px; z-index: 5; margin-top: var(--s6); display: none; }
.tray.has { display: block; }
.tray-in { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); padding: 12px 12px 12px 20px; border-radius: var(--r-pill); background: var(--night); color: var(--fog); box-shadow: 0 12px 32px rgb(0 0 0 / .18); }
.tray-in b { display: block; font-weight: 500; font-size: 15px; }
.tray-in .muted { color: var(--fog-2); font-size: 13px; }
.tray .btn { --bg: var(--fog); --fg: var(--night); }
@media (max-width: 1000px) { .tricks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tricks { grid-template-columns: minmax(0, 1fr); } .tray-in { border-radius: var(--r-panel); flex-direction: column; align-items: stretch; } }

/* ---------- results ---------- */
.cases-empty { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.cases-empty h3 { font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -.03em; font-weight: 460; margin-bottom: var(--s4); }
.cases-empty p { color: var(--ink-2); margin-bottom: var(--s6); }
.proof { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.proof li { display: grid; grid-template-columns: 1fr 80px 40px 80px; gap: 12px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.proof b { font: 400 13px/1 var(--mono); color: var(--ink-3); text-align: center; padding: 6px 0; border: 1px dashed var(--line-2); border-radius: 8px; }
.proof i { height: 1px; background: var(--line-2); }
.tag-sim { display: inline-block; padding: 2px 8px; border-radius: var(--r-pill); border: 1px dashed var(--line-2); font: 400 11px/1.4 var(--mono); color: var(--ink-3); vertical-align: middle; }
.case-tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: var(--s6); }
.case-tabs button { min-height: 44px; padding: 8px 16px; border-radius: var(--r-ctl); border: 1px solid var(--line); background: transparent; text-align: left; cursor: pointer; display: grid; }
.case-tabs button small { font: 400 12px/1.3 var(--mono); color: var(--ink-3); }
.case-tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.case-tabs button[aria-selected="true"] small { color: rgb(245 244 240 / .6); }
.case { padding: clamp(20px, 3vw, 36px); border-radius: var(--r-panel); background: var(--paper); border: 1px solid var(--line); }
.case-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s6); margin-bottom: var(--s6); }
.case-head h3 { font-size: 28px; font-weight: 460; letter-spacing: -.03em; }
.case-head p { margin: 4px 0 0; }
.case-head blockquote { margin: 0; max-width: 36ch; font-size: 15px; color: var(--ink-2); }
.case-head cite { display: block; margin-top: 6px; font: normal 400 12px/1 var(--mono); color: var(--ink-3); }
.ba-ctl { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; font: 400 12px/1 var(--mono); color: var(--ink-3); margin-bottom: var(--s6); }
.ba-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.ba-m { background: var(--paper); padding: var(--s5); display: grid; gap: 6px; }
.ba-m > span { font-size: 13px; color: var(--ink-2); }
.ba-m b { font: 400 28px/1 var(--sans); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.ba-m small { font: 400 12px/1 var(--mono); color: var(--ink-3); }
.ba-m i { height: 2px; background: var(--line); margin-top: 6px; overflow: hidden; }
.ba-m u { display: block; height: 100%; background: var(--ink); transform-origin: left; }
.case-foot { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s8); margin-top: var(--s8); }
.case-foot .mod-h { display: block; font: 400 12px/1 var(--mono); color: var(--ink-3); margin-bottom: var(--s3); }
.case-tl { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.case-tl li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; }
.case-tl span { display: inline-block; min-width: 64px; font: 400 12px/1 var(--mono); color: var(--ink-3); }
.cc { display: grid; grid-template-columns: 110px 1fr auto; gap: 12px; align-items: center; font-size: 14px; margin-bottom: 8px; }
.cc i { height: 6px; border-radius: 3px; background: var(--ink); width: var(--w); }
.cc-agency i { background: var(--ink-3); }
.cc b { font: 500 14px/1 var(--mono); }
@media (max-width: 800px) { .cases-empty, .case-foot { grid-template-columns: 1fr; } .proof li { grid-template-columns: 1fr 64px 24px 64px; } }

/* ---------- prices ---------- */
.price-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
.pcol { padding: clamp(24px, 2.6vw, 32px); border-radius: var(--r-panel); border: 1px solid var(--line); background: var(--paper); display: flex; flex-direction: column; gap: var(--s5); }
.pcol > .mono { margin: 0; }
.pcol-price { margin: 0; display: grid; gap: 6px; }
.pcol-price > .tnum { font-size: 40px; letter-spacing: -.04em; line-height: 1; font-weight: 420; }
.pcol-price .muted { font-size: 14px; }
.pcol ul { list-style: none; margin: 0; padding: var(--s5) 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 15px; color: var(--ink-2); }
.pcol li { display: flex; gap: 10px; }
.pcol li::before { content: ''; flex: none; width: 4px; height: 4px; border-radius: 50%; background: var(--ink-3); transform: translateY(10px); }
.pcol .btn { margin-top: auto; align-self: flex-start; }
.pcol-dfy { background: var(--night); color: var(--fog); border-color: var(--night); --ink-2: var(--fog-2); --ink-3: var(--fog-3); --line: var(--line-d); --line-2: var(--line-d2); }
.pcol-dfy .btn { --bg: var(--fog); --fg: var(--night); }
.pcol-dfy .tag-sim { color: var(--fog-3); border-color: var(--line-d2); }
.cost-chart { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); margin-top: clamp(48px, 6vw, 80px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); }
.cost-controls { display: grid; gap: var(--s8); align-content: start; }
.cost-totals { display: grid; gap: var(--s4); }
.cost-totals > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.cost-totals .num { font: 500 18px/1 var(--mono); }
.keep { margin: 0; font-size: 15px; color: var(--ink-2); }
.keep b { color: var(--ink); font-weight: 500; }
.chart { margin: 0; }
.chart-plot { position: relative; margin-top: var(--s4); outline-offset: 4px; }
.chart-plot svg { width: 100%; height: auto; overflow: visible; }
.chart-plot .g { stroke: var(--line); }
.chart-plot .ax { font: 400 11px var(--mono); fill: var(--ink-3); }
.chart-plot .ln { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart-plot .dl { font: 500 12px var(--sans); fill: var(--ink-2); }
.chart-plot .xh { opacity: 0; transition: opacity var(--d-fast); }
.chart-plot .xh line { stroke: var(--line-2); }
.chart-plot .xh circle { stroke: var(--paper); stroke-width: 2; }
.chart-plot .tip { position: absolute; top: 0; transform: translateX(12px); padding: 10px 12px; border-radius: 10px; background: var(--night); color: var(--fog); font-size: 13px; opacity: 0; pointer-events: none; display: grid; gap: 4px; min-width: 180px; transition: opacity var(--d-fast); }
.chart-plot .tip.on { opacity: 1; }
.chart-plot .tip.flip { transform: translateX(calc(-100% - 12px)); }
.chart-plot .tip span { display: grid; grid-template-columns: 10px 1fr auto; gap: 8px; align-items: center; color: var(--fog-2); }
.chart-plot .tip i { width: 10px; height: 2px; }
.chart-plot .tip b { color: var(--fog); font-family: var(--mono); font-weight: 500; }
.chart-legend { display: flex; gap: var(--s5); margin-top: var(--s4); font-size: 13px; color: var(--ink-2); }
.chart-legend span { display: inline-flex; align-items: center; gap: 8px; }
.chart-legend i { width: 16px; height: 2px; }
.chart-legend i.dash { background-image: linear-gradient(90deg, currentColor 50%, transparent 0) !important; background-size: 6px 2px; }
.menu { margin-top: var(--s6); }
.menu ul { list-style: none; padding: 0; margin: var(--s3) 0; display: grid; gap: 8px; }
.menu li { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; font-size: 14px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.menu .ag { color: var(--ink-3); font-family: var(--mono); font-size: 12px; }
@media (max-width: 1000px) { .price-cols { grid-template-columns: 1fr; } .cost-chart { grid-template-columns: 1fr; } }

/* ---------- ads quiz ---------- */
.ads .head { margin-bottom: var(--s10); }
.quiz { max-width: 760px; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-panel); background: var(--paper); border: 1px solid var(--line); }
.quiz-progress { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-bottom: var(--s8); }
.quiz-progress i { height: 2px; background: var(--line-2); transition: background-color var(--d-mid) var(--ease-state); }
.quiz-progress i.on { background: var(--ink); }
.quiz-n { font: 400 12px/1 var(--mono); color: var(--ink-3); margin: 0 0 var(--s3); }
.quiz h3 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.03em; font-weight: 460; margin-bottom: var(--s6); }
.quiz-a { display: grid; gap: 8px; }
.opt { min-height: 52px; padding: 0 20px; border-radius: var(--r-ctl); border: 1px solid var(--line-2); background: transparent; text-align: left; font-size: 16px; cursor: pointer; transition: border-color var(--d-fast) var(--ease-state), background-color var(--d-fast) var(--ease-state); }
.opt:hover { border-color: var(--ink); background: var(--paper-2); }
.quiz-back { margin-top: var(--s5); font-size: 14px; color: var(--ink-2); }
.verdict .status { margin-bottom: var(--s4); }
.verdict .why { margin: 0 0 var(--s6); padding-left: 18px; display: grid; gap: 8px; color: var(--ink-2); }
.adplan { padding-top: var(--s6); border-top: 1px solid var(--line); }
.adplan .mod-h { display: block; font: 400 12px/1 var(--mono); color: var(--ink-3); margin-bottom: var(--s4); }
.adplan ol { margin: 0; padding-left: 18px; display: grid; gap: 10px; font-size: 15px; color: var(--ink-2); }
.adplan b { color: var(--ink); font-weight: 500; }
.quiz-end { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s5); margin-top: var(--s8); }

/* ---------- founder ---------- */
/* founder: press strip, sticky portrait, his-way ledger */
.press { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: var(--s6) clamp(32px, 6vw, 96px); align-items: end; padding-bottom: var(--s12); margin-bottom: var(--s16); border-bottom: 1px solid var(--line-d); }
.press-k { grid-column: 1 / -1; margin: 0; }
.press-q { margin: 0; }
.press-q p { margin: 0 0 var(--s3); font-size: clamp(24px, 2.6vw, 36px); line-height: 1.15; letter-spacing: -.03em; font-weight: 420; text-wrap: balance; }
.press-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--line-d); border-left: 1px solid var(--line-d); }
.press-list li { flex: 1 1 33.33%; border-right: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); }
.press-list a { display: flex; align-items: center; min-height: 52px; padding: 0 var(--s4); color: var(--fog-2); text-decoration: none; font-size: 15px; letter-spacing: -.01em; transition: color var(--d-fast) var(--ease-state), background var(--d-fast) var(--ease-state); }
.press-list a:hover { color: var(--fog); background: var(--night-2); }
.press-list a::after { content: ""; width: 6px; height: 6px; margin-left: auto; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; opacity: .5; }
.founder { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.founder-photo { margin: 0; position: sticky; top: 104px; }
.founder-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: var(--r-panel); background: var(--night-2); }
.founder-photo figcaption { display: grid; gap: 4px; margin-top: var(--s4); }
.founder-photo figcaption b { font-weight: 500; }
.founder-in { color: var(--fog); text-decoration: underline; text-decoration-color: var(--line-d2); text-underline-offset: 4px; justify-self: start; padding: 8px 0; }
.founder-in:hover { text-decoration-color: currentColor; }
.founder-copy h2 { margin: 0 0 var(--s5); }
.founder-copy .t-lede { margin: 0 0 var(--s8); }
.founder-copy > p.muted { max-width: 62ch; }
.pull { margin: 0 0 var(--s8); padding-left: var(--s5); border-left: 2px solid var(--signal); }
.pull p { margin: 0 0 var(--s2); font-size: clamp(20px, 1.9vw, 26px); line-height: 1.3; letter-spacing: -.02em; }
.way-title { font-size: 20px; font-weight: 500; letter-spacing: -.02em; margin: var(--s12) 0 var(--s4); }
.way { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-d); }
.way li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 4px var(--s6); padding: var(--s4) 0; border-bottom: 1px solid var(--line-d); }
.way b { grid-row: span 2; font-weight: 500; font-size: 15px; }
.way-old { color: var(--fog-3); font-size: 14px; text-decoration-color: rgb(255 91 31 / .7); text-decoration-thickness: 1.5px; }
.way-new { color: var(--fog); font-size: 15px; line-height: 1.5; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: var(--s10) 0; background: var(--line-d); border: 1px solid var(--line-d); border-radius: var(--r-card); overflow: hidden; }
.facts > div { background: var(--night); padding: var(--s5); }
.facts .fact-live { grid-column: 1 / -1; display: flex; align-items: baseline; gap: var(--s3) var(--s6); flex-wrap: wrap; }
.fact-live dt { font-size: clamp(36px, 4vw, 52px) !important; margin: 0 !important; display: flex; align-items: center; gap: var(--s3); }
.fact-live dd { max-width: 34ch; }
.fact-live a { color: var(--fog); text-underline-offset: 3px; text-decoration-color: var(--line-d2); }
.live-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; letter-spacing: 0; color: var(--signal); border: 1px solid rgb(255 91 31 / .4); border-radius: var(--r-pill); padding: 3px 8px; }
.live-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); }
.facts dt { font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -.035em; line-height: 1; margin-bottom: 8px; font-weight: 420; }
.facts dd { margin: 0; font-size: 13px; color: var(--fog-2); }
.creed { font-size: clamp(20px, 1.9vw, 26px); line-height: 1.3; letter-spacing: -.02em; margin: var(--s10) 0 var(--s6); max-width: 30ch; text-wrap: balance; }
.promise { font-size: 17px; margin: 0 0 var(--s5); }
.founder-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.call-note { margin: var(--s4) 0 0; }
.creds { margin: var(--s8) 0 0; padding-top: var(--s4); border-top: 1px solid var(--line-d); line-height: 1.6; }
@media (max-width: 900px) {
  .press { grid-template-columns: 1fr; margin-bottom: var(--s12); padding-bottom: var(--s10); }
  .press-list li { flex-basis: 50%; }
  .founder { grid-template-columns: 1fr; }
  .founder-photo { position: relative; top: 0; max-width: 420px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts > div:last-child { grid-column: 1 / -1; }
  .way li { grid-template-columns: 1fr; }
  .way b { grid-row: auto; font-size: 13px; color: var(--fog-2); font-family: var(--mono); font-weight: 400; }
}

/* everywhere they look: profiles on the left light places on the right */
.every { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: start; margin-top: var(--s12); }
.every-k { margin: 0 0 var(--s3); }
.every-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.every-btn { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px var(--s4); text-align: left; padding: 14px var(--s3) 14px var(--s4); background: none; border: 0; border-bottom: 1px solid var(--line); color: var(--ink); font: inherit; cursor: pointer; position: relative; transition: background var(--d-fast) var(--ease-state); }
.every-btn::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 2px; background: var(--signal); transform: scaleY(0); transition: transform var(--d-fast) var(--ease-state); }
.every-btn b { font-weight: 500; font-size: 16px; }
.every-fix { grid-column: 1; color: var(--ink-2); font-size: 14px; line-height: 1.45; }
.every-meta { grid-column: 2; grid-row: 1; align-self: center; font-size: 12px; color: var(--ink-2); } /* readable at every step of the build-up, not only when pressed */
.every-feeds { grid-column: 1 / -1; display: none; margin-top: 6px; color: var(--ink); font-size: 13px; font-weight: 500; }
.every-feeds::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); margin-right: 8px; vertical-align: 1px; }
.every-btn[aria-pressed="true"] .every-meta, .every-btn.is-step .every-meta { color: var(--ink-2); }
.every-btn[aria-pressed="true"] .every-feeds { display: block; }
.every-btn:hover { background: rgb(18 18 17 / .03); }
.every-btn[aria-pressed="true"], .every-btn.is-step { background: rgb(18 18 17 / .04); }
.every-btn[aria-pressed="true"]::before, .every-btn.is-step::before { transform: none; }
.every-out { position: sticky; top: 104px; background: var(--night); color: var(--fog); border-radius: var(--r-panel); padding: clamp(20px, 3vw, 32px); }
.every-count { margin: 0 0 var(--s6); display: flex; align-items: baseline; gap: var(--s3); flex-wrap: wrap; }
.every-count b { font-size: clamp(48px, 6vw, 80px); line-height: .9; letter-spacing: -.05em; font-weight: 420; color: var(--signal); }
.every-count span { color: var(--fog-2); font-size: 15px; }
.every-groups { display: grid; gap: var(--s5); }
.every-g p { margin: 0 0 var(--s2); color: var(--fog-3); }
.every-g ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.place { padding: 6px 12px; border-radius: var(--r-pill); border: 1px solid var(--line-d); color: var(--fog-3); font-size: 14px; transition: color .3s var(--ease-state), border-color .3s var(--ease-state), background .3s var(--ease-state), opacity .3s var(--ease-state); }
.place.is-on { color: var(--fog); border-color: var(--line-d2); background: var(--night-2); }
.place.is-on::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); margin-right: 8px; vertical-align: 1px; }
.every-out.has-focus .place:not(.is-hit) { opacity: .35; }
.every-out.has-focus .place.is-hit { border-color: var(--signal); }
.ways { margin-top: var(--s16); border-top: 1px solid var(--line-2); }
.ways-row { display: grid; grid-template-columns: 160px minmax(0, 1fr) minmax(0, 1fr); gap: var(--s6); padding: var(--s4) 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.5; }
.ways-row b { font-weight: 500; }
.ways-row > span:nth-child(2) { color: var(--ink-3); }
.ways-head { padding: var(--s3) 0; font-size: 12px; }
#everywhere .src { margin-top: var(--s5); }
@media (max-width: 900px) {
  .every { grid-template-columns: 1fr; }
  .every-out { position: static; order: -1; padding: 16px; }
  .every-count { margin-bottom: var(--s3); }
  .every-count b { font-size: 44px; }
  .every-groups { gap: var(--s3); }
  .place { font-size: 13px; padding: 4px 10px; }
  .every-g p { font-size: 11px; margin-bottom: 4px; }
  .ways-row { grid-template-columns: 1fr 1fr; gap: 4px var(--s4); }
  .ways-row b { grid-column: 1 / -1; }
  .ways-head > span:first-child { display: none; }
}

/* ---------- emailed ---------- */
.emailed { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); }
.emailed-steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.emailed-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 4px 12px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.emailed-steps .mono { grid-row: span 2; padding-top: 3px; }
.emailed-steps b { font-weight: 500; }
.emailed-steps p { margin: 0; color: var(--ink-2); font-size: 15px; }
.never { padding: var(--s6); border-radius: var(--r-panel); background: var(--paper-2); }
.never b { font-weight: 500; }
.never ul { list-style: none; margin: var(--s4) 0 0; padding: 0; display: grid; gap: 10px; font-size: 15px; color: var(--ink-2); }
.never li { display: flex; gap: 12px; align-items: baseline; }
.never li::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--ink-3); transform: translateY(0); position: relative; top: 1px; }
.open-report { margin-top: var(--s6); }
.open-report label { display: block; font-weight: 500; margin-bottom: var(--s3); }
.open-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.open-row .btn { min-height: 48px; }
.open-report .form-error { margin-left: 0; color: var(--signal-ink); }
@media (max-width: 900px) { .emailed { grid-template-columns: 1fr; } }

/* ---------- community ---------- */
.community { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.community .head { margin: 0; }
.community .head .t-lede { margin-bottom: var(--s8); }
.res { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.res li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.res .mono { padding-top: 3px; }
.res b { font-weight: 500; }
.res p { margin: 4px 0 0; font-size: 15px; color: var(--ink-2); }
.quotes { margin-top: var(--s8); display: grid; gap: var(--s4); }
.quotes blockquote { margin: 0; padding-left: var(--s4); border-left: 1px solid var(--line-2); color: var(--ink-2); }
.quotes cite { display: block; margin-top: 6px; font: normal 400 12px/1 var(--mono); color: var(--ink-3); }
@media (max-width: 900px) { .community { grid-template-columns: 1fr; } }

/* ---------- faq ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-wrap .head { position: sticky; top: 104px; margin: 0; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--s5); padding: 20px 0; font-size: 17px; font-weight: 500; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 400 18px/1 var(--mono); color: var(--ink-3); transition: transform var(--d-mid) var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--ink-2); max-width: 62ch; }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; } .faq-wrap .head { position: relative; top: 0; } }

/* ---------- final + footer ---------- */
.final-in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.final h2 { font-size: clamp(44px, 6.4vw, 100px); }
.final-side .t-lede { margin: 0 0 var(--s6); }
.final .scan { grid-template-columns: minmax(0, 1fr) auto; }
.final .scan-trade { display: none; }
.foot { padding: var(--s16) 0 var(--s12); border-top: 1px solid var(--line-d); }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s10); font-size: 14px; }
.foot-in b { display: block; font-weight: 500; margin-bottom: var(--s3); }
.foot-in p { margin: 0 0 var(--s3); line-height: 1.7; }
.foot-in a { text-decoration: none; color: var(--fog-2); }
.foot-in a:hover { color: var(--fog); }
.foot .brand { margin-bottom: var(--s4); color: var(--fog); }
@media (max-width: 900px) { .final-in, .foot-in { grid-template-columns: 1fr; } }

.mscan { position: fixed; left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 30; display: none; box-shadow: 0 12px 32px rgb(0 0 0 / .24); transform: translateY(140%); transition: transform var(--d-slow) var(--ease); }
.mscan.is-on { transform: none; }
.mscan.on-night { --bg: var(--fog); --fg: var(--night); background: var(--fog); color: var(--night); }
@media (max-width: 760px) { .mscan { display: inline-flex; } }

/* ---------- live scan theatre ---------- */
.theatre { position: fixed; inset: 0; z-index: 60; background: var(--night); overflow: auto; }
.theatre-in { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; min-height: 100%; display: flex; flex-direction: column; padding: var(--s5) 0 var(--s8); }
.th-top { display: flex; justify-content: space-between; align-items: center; height: 56px; margin-bottom: var(--s8); }
.th-main { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); flex: 1; }
.th-left h2 { font-size: clamp(28px, 2.8vw, 40px); margin: var(--s2) 0 var(--s6); overflow-wrap: anywhere; }
.th-gauge { width: min(280px, 70vw); margin: 0 0 var(--s3); }
.stages { list-style: none; margin: var(--s8) 0 0; padding: 0; border-top: 1px solid var(--line-d); }
.stages li { display: grid; grid-template-columns: 18px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line-d); font-size: 15px; color: var(--fog-3); transition: color var(--d-mid) var(--ease-state); }
.stages li i { width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--fog-3); }
.stages li em { font: normal 400 12px/1 var(--mono); color: var(--fog-3); }
.stages li[data-state="start"] { color: var(--fog); }
.stages li[data-state="start"] i { border-color: var(--fog); background: var(--fog); animation: blink 1s steps(2) infinite; }
.stages li[data-state="done"] { color: var(--fog-2); }
.stages li[data-state="done"] i { background: var(--fog-2); border-color: var(--fog-2); }
.stages li[data-state="skip"] i { border-style: dashed; }
@keyframes blink { 50% { opacity: .3; } }
.th-stations { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-d); border: 1px solid var(--line-d); border-radius: var(--r-card); overflow: hidden; margin-bottom: var(--s5); }
.th-st { background: var(--night); padding: 14px 16px; display: grid; gap: 8px; }
.th-st b { font-weight: 500; font-size: 14px; min-height: 2.5em; }
.th-st .meter { height: 2px; background: var(--line-d); position: relative; overflow: hidden; }
.th-st .meter u { position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--v, 0)); background: var(--signal); transition: transform var(--d-slow) var(--ease); }
.th-st .mono { color: var(--fog-3); }
.feed { list-style: none; margin: 0; padding: 0; max-height: 58vh; overflow: hidden; mask-image: linear-gradient(180deg, #000 70%, transparent); -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); }
.feed li { display: grid; grid-template-columns: 14px 1fr auto; gap: 4px 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line-d); animation: feed-in var(--d-slow) var(--ease) both; }
.feed li b { font-weight: 500; font-size: 15px; }
.feed li .status { grid-column: 3; grid-row: 1; }
.feed li p { grid-column: 2 / -1; margin: 0; font-size: 13px; color: var(--fog-3); }
@keyframes feed-in { from { opacity: 0; transform: translateY(-8px); } }
.theatre-msg { margin-top: var(--s6); padding: var(--s5); border-radius: var(--r-card); border: 1px solid var(--line-d2); }
.theatre-msg p { margin: 0 0 var(--s3); }
.theatre-done { position: sticky; bottom: 16px; z-index: 2; box-shadow: 0 0 0 16px var(--night); margin-top: var(--s6); display: flex; align-items: center; justify-content: space-between; gap: var(--s5); padding: var(--s5) var(--s6); border-radius: var(--r-panel); background: var(--night-3); border: 1px solid var(--line-d); }
.theatre-done p { margin: 0; }
@media (max-width: 900px) { .th-main { grid-template-columns: 1fr; } .th-stations { grid-template-columns: 1fr 1fr; } }

/* gauge (shared by theatre) */
.gauge { position: relative; }
.gauge svg { width: 100%; height: auto; overflow: visible; }
.gauge .g-track { fill: none; stroke: var(--line-d2); stroke-width: 1; }
.gauge .g-tick { stroke: var(--fog-3); stroke-width: 1; }
.gauge .g-arc { fill: none; stroke: var(--fog); stroke-width: 2; stroke-linecap: round; }
.gauge .g-loss { fill: none; stroke: var(--signal); stroke-width: 2; stroke-linecap: round; }
.gauge .g-needle { stroke: var(--fog); stroke-width: 1.5; stroke-linecap: round; transform-origin: 100px 100px; }
.gauge .g-num { position: absolute; left: 0; right: 0; bottom: 4%; text-align: center; }
.gauge .g-num b { display: block; font-size: 56px; font-weight: 400; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.gauge .g-num span { font: 400 12px/1 var(--mono); color: var(--fog-3); }

/* ---------- entrance (only when JS runs; content never stays hidden) ---------- */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity var(--d-slow) var(--ease) var(--d, 0s), transform var(--d-slow) var(--ease) var(--d, 0s); }
.js .rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; } .stages li[data-state="start"] i { animation: none; } .feed li { animation: none; } }

/* audit round 1 fixes */
@media (max-width: 760px) {
  .ba-m:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .btn-sm, .seg button, .mods-filter button, .add { min-height: 44px; }
  .trick summary { min-height: 44px; display: inline-flex; align-items: center; }
  .js-demo { padding: 12px 0; }
  .station { min-height: 155vh; align-items: flex-start; padding: 36vh 0 18vh; padding: 36dvh 0 18dvh; }
  .station-checks { display: none; }
  .station-end { align-items: flex-start; padding: 30vh 0 0; }
  .station .t-lede { font-size: 15px; margin-bottom: var(--s4); }
  .station h3 { font-size: clamp(28px, 7.5vw, 34px); margin-bottom: var(--s3); }
}

.tricks-more { display: flex; justify-content: center; margin-top: var(--s8); }
.tricks-more .btn[hidden] { display: none; }

/* growth add-ons: two monthly offers on night, tenets above */
.tenets { list-style: none; margin: var(--s12) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6); }
.tenets li { border-top: 1px solid var(--line-d2); padding-top: var(--s4); }
.tenets span { color: var(--signal); font-size: 12px; }
.tenets b { display: block; font-weight: 500; font-size: 17px; margin: var(--s2) 0 var(--s1); }
.tenets p { margin: 0; color: var(--fog-2); font-size: 14px; line-height: 1.5; }
.addons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5); margin-top: var(--s12); }
.addon { display: flex; flex-direction: column; gap: var(--s6); padding: clamp(20px, 3vw, 36px); border: 1px solid var(--line-d); border-radius: var(--r-panel); background: var(--night-2); }
.addon-ads { border-color: rgb(255 91 31 / .35); }
.addon-top p { margin: 0; }
.addon h3 { margin: var(--s2) 0 var(--s4); font-size: clamp(24px, 2.2vw, 30px); font-weight: 450; letter-spacing: -.03em; }
.addon-price { display: flex; align-items: baseline; gap: var(--s3); flex-wrap: wrap; }
.addon-price b { font-size: clamp(40px, 4vw, 56px); font-weight: 420; letter-spacing: -.045em; line-height: 1; }
.addon-price span { color: var(--fog-2); font-size: 14px; max-width: 30ch; }
.addon-for { color: var(--fog-2); margin-top: var(--s4) !important; font-size: 15px; line-height: 1.5; }
.est { font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--fog-3); }
.addon-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-d); flex: 1; }
.addon-list li { display: grid; gap: 2px; padding: 12px 0 12px 20px; border-bottom: 1px solid var(--line-d); position: relative; }
.addon-list li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); }
.addon-list b { font-weight: 500; font-size: 15px; }
.addon-list span { color: var(--fog-2); font-size: 14px; line-height: 1.5; }
.addon .btn { align-self: flex-start; }
#growth .src { margin-top: var(--s6); }
@media (max-width: 900px) {
  .tenets, .addons { grid-template-columns: 1fr; }
  .tenets { gap: var(--s4); margin-top: var(--s8); }
  .addons { margin-top: var(--s8); }
  .addon .btn { align-self: stretch; text-align: center; justify-content: center; }
}

/* founder: career timeline, AI work, certificates */
.career-lede { max-width: 62ch; margin: 0 0 var(--s5); }
.career { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-d); }
.career li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: var(--s6); padding: var(--s4) 0; border-bottom: 1px solid var(--line-d); }
.career-y { font-size: 12px; padding-top: 3px; }
.career b { font-weight: 500; font-size: 16px; display: block; }
.career-o { display: block; color: var(--fog-2); font-size: 14px; margin-top: 2px; }
.career p { margin: var(--s2) 0 0; color: var(--fog); font-size: 15px; line-height: 1.5; max-width: 60ch; }
.ai-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line-d); border: 1px solid var(--line-d); border-radius: var(--r-card); overflow: hidden; }
.ai-grid li { background: var(--night); padding: var(--s5); }
.ai-grid b { font-weight: 500; font-size: 16px; display: flex; align-items: center; gap: var(--s2); }
.ai-grid b::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); flex: none; }
.ai-grid p { margin: var(--s2) 0 0; color: var(--fog-2); font-size: 14px; line-height: 1.5; }
.certs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s6); border-top: 1px solid var(--line-d); }
.certs a { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line-d); color: var(--fog); text-decoration: none; min-height: 44px; }
.certs a:hover b { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-d2); }
.certs b { font-weight: 500; font-size: 15px; }
.certs span { font-size: 12px; }
@media (max-width: 900px) {
  .career li { grid-template-columns: 1fr; gap: 4px; }
  .ai-grid, .certs { grid-template-columns: 1fr; }
}

/* done for you: the optional care plan line, set apart from the setup items */
#dfy-list .dfy-care { list-style: none; padding-left: 0; display: grid; gap: 4px; margin-top: var(--s3); padding-top: var(--s3); border-top: 1px solid var(--line); }
#dfy-list .dfy-care b { font-weight: 500; }
#dfy-list .dfy-care span { color: var(--ink-2); font-size: 14px; line-height: 1.5; }
#dfy-list .dfy-care::before, #dfy-list .dfy-care::marker { content: none; display: none; }

/* how we work: four steps beside the client app */
.how { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.how-steps { list-style: none; counter-reset: how; margin: var(--s10) 0 0; padding: 0; border-top: 1px solid var(--line-2); }
.how-steps li { counter-increment: how; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 4px var(--s4); padding: var(--s5) 0; border-bottom: 1px solid var(--line); }
.how-steps li::before { content: counter(how); grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font: 500 14px/1 var(--sans); color: var(--ink); }
.how-steps b { font-weight: 500; font-size: 18px; letter-spacing: -.015em; }
.how-steps p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.55; max-width: 58ch; }
.how-app { margin: 0; display: grid; justify-items: center; gap: var(--s5); }
.phone { width: min(320px, 78vw); padding: 10px; border-radius: 44px; background: #0b0c0e; box-shadow: 0 30px 60px -20px rgb(18 18 17 / .35), inset 0 0 0 1px rgb(255 255 255 / .08); }
.phone img { display: block; width: 100%; height: auto; border-radius: 34px; }
.how-app figcaption { display: grid; gap: 4px; max-width: 34ch; text-align: center; }
.how-app figcaption b { font-weight: 500; }
.how-app figcaption span { color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.how-app figcaption a { color: var(--ink); font-size: 14px; text-underline-offset: 3px; padding: 8px 0; }
@media (max-width: 900px) { .how { grid-template-columns: 1fr; } .how-steps { margin-top: var(--s8); } }

/* Market: footer picker and the one-line time-zone hint */
.foot-markets a { display: inline-block; padding: 1px 0; }
.foot-markets a[aria-current="page"] { color: var(--fog); }
.foot-markets a[aria-current="page"]::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); margin-right: 8px; vertical-align: 2px; }
.market-hint { display: flex; align-items: center; justify-content: center; gap: var(--s4); padding: 10px 16px; font-size: 14px; line-height: 1.4; border-bottom: 1px solid var(--line-d); position: absolute; inset: 0 0 auto; z-index: 41; }
/* while the hint is on screen the fixed nav and pause button translate below it (transform avoids layout shift) */
.nav { top: 0; transform: translateY(var(--hint-off, 0px)); }
.pipe-pause { top: 84px; transform: translateY(var(--hint-off, 0px)); }
.hero { padding-top: 128px; }
.market-hint[hidden] { display: none; }
.market-hint p { margin: 0; color: var(--fog-2); }
.market-hint a { color: var(--fog); text-underline-offset: 3px; }
.market-hint-x { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: var(--fog-2); cursor: pointer; }
.market-hint-x:hover { color: var(--fog); background: var(--line-d); }
.market-hint-x svg { width: 14px; height: 14px; }
@media (max-width: 1100px) and (min-width: 901px) { .foot-in { grid-template-columns: 1fr 1fr; } }

/* Phones: filter chips scroll sideways in one row instead of wrapping inside a pill */
@media (max-width: 640px) {
  .seg, .mods-filter { display: flex; flex-wrap: nowrap; max-width: 100%; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .seg::-webkit-scrollbar, .mods-filter::-webkit-scrollbar { display: none; }
  .seg button, .mods-filter button { flex: none; white-space: nowrap; }
  .seg button:last-child, .mods-filter button:last-child { margin-right: 32px; }
}
/* Phones: footer links big enough for a thumb, and clear of the sticky scan button */
@media (max-width: 900px) {
  .foot { padding-bottom: calc(var(--s12) + 88px); }
  .foot-in p a { display: inline-block; padding: 6px 0; }
}

/* Before and after: real cases, labels, source notes, and local-only drafts (engine/cases.json) */
.case-label { margin: 0 0 6px; font: 400 12px/1.3 var(--mono); color: var(--ink-3); }
.ba-notes { margin: var(--s3) 0 0; font-size: 12px; line-height: 1.5; }
.case-more { display: inline-block; margin-top: var(--s4); font: 500 14px/1.2 var(--sans); color: var(--ink); text-underline-offset: 3px; }
.case-tabs button.is-draft { border-style: dashed; }
.case-draft { margin: 0 0 var(--s5); padding: var(--s3) var(--s4); border: 1px dashed var(--warn); border-radius: var(--r-ctl); font-size: 14px; color: var(--ink-2); }
.case-draft b { color: var(--warn); font-weight: 500; }

/* #how: who does what. Landing final: the done-for-you path beside the scan. */
.how-split { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid var(--line-2); }
.how-split div { display: grid; gap: var(--s2); align-content: start; padding: var(--s6) var(--s6) var(--s6) 0; }
.how-split div + div { padding: var(--s6) 0 var(--s6) var(--s6); border-left: 1px solid var(--line); }
.how-split dt { font-size: 14px; line-height: 1.2; color: var(--ink-3); }
.how-split dd { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); max-width: 38ch; }
.how-split .how-split-fig { margin-bottom: var(--s1); font: 460 clamp(26px, 2.4vw, 34px)/1.05 var(--sans); letter-spacing: -.035em; color: var(--ink); }
.final-or { margin: var(--s6) 0 0; padding-top: var(--s5); border-top: 1px solid var(--line-d2); color: var(--fog-2); font-size: 15px; line-height: 1.6; }
.final-or .linkish { color: var(--fog); font: inherit; text-decoration-color: var(--line-d2); padding: 6px 0; }
@media (max-width: 560px) { .how-split { grid-template-columns: minmax(0, 1fr); } .how-split div { padding-right: 0; } .how-split div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

/* Case panels: both columns always carry content (what was done | your 90 days, measuring, sources). */
.case-foot { align-items: start; }
.case-side { display: grid; gap: var(--s8); align-content: start; }
.case-side > div > .mod-h { padding-bottom: var(--s3); border-bottom: 1px solid var(--line); margin-bottom: var(--s4); }
.case-foot .case-tl { gap: var(--s3); line-height: 1.5; }
.case-measure { margin: 0; display: grid; gap: var(--s3); font-size: 14px; line-height: 1.5; }
.case-measure div { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr); gap: var(--s4); }
.case-measure dt { color: var(--ink); }
.case-measure dd { margin: 0; color: var(--ink-2); }
.case-src { margin: 0; display: flex; flex-wrap: wrap; gap: var(--s1) var(--s5); font-size: 14px; }
.case-src a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: .22em; padding: 6px 0; }
.case-src a:hover { text-decoration-color: currentColor; }
.case-next p { margin: 0 0 var(--s5); font-size: 15px; line-height: 1.55; color: var(--ink-2); max-width: 46ch; }
.case-tabs button.is-progress { border-style: dashed; border-color: var(--ink-3); }
.ba-wip { height: 2px; background: repeating-linear-gradient(90deg, var(--ink-3) 0 6px, transparent 6px 12px); }
.ba-m.is-wip b { color: var(--ink-3); }
.ba-m.is-wip i { background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px); }
@media (max-width: 560px) { .case-measure div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* ---------- phone polish (21 Nov 2026): reading size, rhythm, thumbs. Desktop is untouched. ---------- */
/* founder's one-line answer promise: keep it a plain line, never the #promise grid that shares the class name */
/* founder: career, AI work and certificates fold on phones (home.js closes it); the summary is phone-only */
.founder-fold > summary { display: none; }
.quiz h3 { line-height: 1.15; }

@media (max-width: 359px) { .hero-meta { grid-template-columns: max-content !important; } }
/* sliders: a 44px touch strip and a bigger thumb wherever the pointer is a finger */
@media (pointer: coarse) {
  .range { height: 44px; }
  .range::-webkit-slider-thumb { width: 26px; height: 26px; margin-top: -12px; }
  .range::-moz-range-thumb { width: 24px; height: 24px; }
  .calc-row .top { margin-bottom: 0; }
}

@media (max-width: 760px) {
  /* one rhythm: sections breathe the same, heads sit close to what they introduce */
  .sheet { padding: 72px 0; }
  .head { margin-bottom: var(--s10); }
  .head h2 { margin-bottom: var(--s5); }
  .head-n { margin-bottom: var(--s4); }
  .src { margin-top: var(--s6); line-height: 1.6; }

  /* hero: fits a phone, the meta reads as two clean pairs, the pause button keeps its own corner */
  .hero { padding-top: 114px; padding-bottom: 32px; justify-content: flex-start; }
  .hero-guide { position: relative; left: auto; bottom: auto; transform: none; width: min(var(--max), 100% - 2 * var(--gutter)); margin: var(--s3) auto 0; justify-items: start; text-align: left; gap: 6px; }
  .hero-down { width: 100%; justify-content: space-between; padding: 9px 14px; color: var(--fog); background: rgb(18 19 22 / .84); }
  .hero-screen-note { display: block; padding-left: 4px; color: var(--fog-2); line-height: 1.4; text-shadow: 0 0 6px var(--night), 0 0 2px var(--night); }
  .hero-eyebrow { padding-right: 52px; margin-bottom: var(--s3); }
  .hero h1 { margin-bottom: var(--s4); }
  .hero-lede { font-size: 16px; line-height: 1.48; margin-bottom: var(--s4); }
  .hero-meta { display: grid; grid-template-columns: repeat(2, max-content); gap: 0 24px; margin-top: var(--s2); }
  .hero-meta li { width: auto !important; min-height: 24px; }
  /* the pipe passes behind this line on most phones: a night-coloured halo keeps it legible without a panel */
  .hero-meta { color: var(--fog-2); text-shadow: 0 0 6px var(--night), 0 0 2px var(--night), 0 0 12px var(--night); }
  .nav .brand { min-height: 44px; }
  .tenets, .addons, .tricks, .price-cols, .calc-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-meta li + li::before { display: none; }
  .hero-meta .linkish { display: inline-flex; align-items: center; min-height: 44px; }
  /* the lost-customer counter waits until the hero is read; it sat on the hero links */
  .stage:not(.past-hero) .hud { opacity: 0; }

  /* body copy at 16px, secondary lines at 15px, nothing under 13px but true fine print */
  .how-steps p, .emailed-steps p, .trick > p, .res p, .pnote p, .addon-for, .how-split dd, .case-next p, .way-new, .career p, .never ul, .pcol ul, .mod-fix p { font-size: 16px; line-height: 1.55; }
  .addon-list span, .ai-grid p, .tenets p, .every-fix, .case-tl, .case-measure, .mod-checks li, .cc-more, .cc-plan, .confident-line { font-size: 15px; line-height: 1.55; }
  .facts dd, .p90-figs dd, .cc-who, .case-head blockquote { font-size: 14px; line-height: 1.45; }
  .every-g p { font-size: 12px; }
  .calc-note { font-size: 13px; }

  /* lists with a number or year column: a narrower column gives the words the width */
  .how-steps li { grid-template-columns: 40px minmax(0, 1fr); column-gap: var(--s3); }
  .emailed-steps li { grid-template-columns: 32px 1fr; }
  .how-steps { margin-top: var(--s8); }

  /* calculator: sliders sit closer, the result follows straight on */
  .calc-controls { gap: var(--s5); }
  .calc-grid { gap: var(--s8); }
  .calc-out { padding: var(--s6) var(--s5); }

  /* results: case tabs in an even two-column grid instead of a ragged pile */
  .case-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .case-tabs button { width: 100%; min-height: 56px; padding: 8px 12px; }
  .case { padding: var(--s5) var(--s4); }
  .ba-m { padding: var(--s4); }
  .ba-m b { font-size: 24px; }
  .case-more, .cc-src a, .case-src a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; }
  .cc-src { gap: 0 var(--s5); }

  /* founder: the heading and the promise first, then his face, then the detail */
  .founder { row-gap: 0; }
  .founder-copy { display: contents; }
  .founder-copy > * { order: 2; }
  .founder-copy > .head-n, .founder-copy > h2, .founder-copy > .t-lede { order: 0; }
  .founder-photo { order: 1; margin: 0 0 var(--s10); max-width: none; }
  .founder-photo img { aspect-ratio: 1 / 1; object-position: 50% 22%; }
  .founder-in { display: inline-flex; align-items: center; min-height: 44px; padding: 0; }
  .press { margin-bottom: var(--s10); padding-bottom: var(--s8); }
  .press-list a { min-height: 48px; padding: 0 var(--s3); }
  .way-title { margin-top: var(--s10); }
  .founder-fold > summary { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); min-height: 60px; margin-top: 0; border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); font-size: 17px; font-weight: 500; letter-spacing: -.01em; list-style: none; cursor: pointer; }
  .founder-fold > summary::-webkit-details-marker { display: none; }
  .founder-fold > summary small { display: block; font: 400 12px/1.4 var(--mono); color: var(--fog-3); margin-top: 4px; }
  .founder-fold > summary { padding: var(--s3) 0; }
  .founder-fold > summary::after { content: '+'; font: 400 20px/1 var(--mono); color: var(--fog-3); transition: transform var(--d-mid) var(--ease); }
  .founder-fold[open] > summary::after { transform: rotate(45deg); }
  .founder-fold > .way-title:first-of-type { margin-top: var(--s8); }
  .creed { margin-top: var(--s10); }

  /* prices: the full menu reads as name and price, with the agency figure under it */
  .menu li { grid-template-columns: minmax(0, 1fr) auto; gap: 2px var(--s4); padding-bottom: 10px; }
  .menu li .ag { grid-column: 1 / -1; }
  .pcol { padding: var(--s6) var(--s5); }

  /* tricks: tighter cards, the plan button sits with the card it belongs to */
  .trick { padding: var(--s5); gap: var(--s2); }
  .trick-foot { padding-top: var(--s2); }
  .trick-foot .add { flex: none; white-space: nowrap; }

  /* final block: sized so each written line fits a phone, no stray one-word lines */
  .final h2 { font-size: clamp(32px, 9.4vw, 44px); }
  .final-or .linkish { padding: 12px 0; margin: -12px 0; vertical-align: baseline; }
  .how-app figcaption a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; }
  .foot-in p a { padding: 10px 0; }

  /* the sticky scan button: shows on the way back up, steps aside while reading down; the nav button gives way to it */
  .nav.mscan-on .nav-in > .btn { opacity: 0; pointer-events: none; transition: opacity var(--d-mid) var(--ease-state); }
  .nav .nav-in > .btn { transition: opacity var(--d-mid) var(--ease-state), background-color var(--d-fast) var(--ease-state), color var(--d-fast) var(--ease-state); }
}

/* promise: the day-90 promise (engine/guarantee.mjs fills the words). The result leads; the dates sit beside it. */
.promise-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); border-top: 2px solid var(--ink); }
.promise-grid > div { padding: var(--s8) var(--s8) var(--s8) 0; display: grid; gap: var(--s5); align-content: start; }
.promise-grid > div + div { padding: var(--s8) 0 var(--s8) var(--s8); border-left: 1px solid var(--line-2); }
.promise-h { margin: 0; font: 500 15px/1.3 var(--sans); color: var(--ink-3); }
.promise-days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line-2); }
.promise-days li { display: grid; gap: var(--s2); padding: 0 var(--s4) var(--s5) 0; }
.promise-days li + li { padding-left: var(--s5); border-left: 1px solid var(--line); }
.promise-days li + li .t-meta { color: var(--ink); font-weight: 500; }
.promise-days b { font: 460 clamp(22px, 2.2vw, 30px)/1.1 var(--sans); letter-spacing: -.03em; color: var(--ink); text-wrap: balance; }
.promise-line { margin: 0; font: 460 clamp(19px, 1.6vw, 22px)/1.4 var(--sans); letter-spacing: -.015em; color: var(--ink); max-width: 34ch; text-wrap: pretty; }
.promise-fine { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink-3); max-width: 52ch; }
.promise-list { list-style: none; margin: 0; padding: 0; }
.promise-list li { position: relative; padding: 12px 0 12px 22px; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.45; color: var(--ink-2); }
.promise-list li::before { content: ''; position: absolute; left: 0; top: 19px; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); }
.promise-ask { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 5fr); gap: var(--s6); padding: var(--s6) 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.promise-ask ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--s3) var(--s5); }
.promise-ask li { font-size: 15px; line-height: 1.5; color: var(--ink-2); padding-left: 14px; border-left: 2px solid var(--line-2); }
.promise-foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4) var(--s6); margin-top: var(--s8); }
.promise-foot p { margin: 0; flex: 1 1 320px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.promise-foot .linkish { min-height: 44px; font-size: 15px; color: var(--ink-2); }
#how .how-steps a, .pcol-dfy li a { color: inherit; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: .22em; }
@media (max-width: 860px) {
  .promise-grid { grid-template-columns: minmax(0, 1fr); }
  .promise-grid > div, .promise-grid > div + div { padding: var(--s6) 0; border-left: 0; }
  .promise-grid > div + div { border-top: 1px solid var(--line-2); }
  .promise-ask { grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
}
@media (max-width: 560px) {
  .promise-days b { font-size: 21px; }
  .promise-line { font-size: 18px; }
  .promise-foot { flex-direction: column; align-items: stretch; }
  .promise-foot p { flex: none; }
  .promise-ask ul { grid-template-columns: minmax(0, 1fr); }
  .promise-foot .btn { width: 100%; }
}
