/* Infinite Hands site (see marketing/DESIGN.md). Direction: C "Stage" with a B-style landing.
   Layout concept: a stage of full-height slides; message first, product as proof, ink with one gold spark. */
:root {
  --bg: #F6F6F3; --bg-2: #EEEDE8; --surface: #FFFFFF; --raised: #FAFAF8;
  --ink: #121316; --ink-2: #55575E; --ink-3: #8B8D93;
  --line: #E2E1DB; --line-2: #D2D1CA;
  --accent: #E3A433; --accent-ink: #9A6608; --accent-soft: #F7EBD2;
  --good: #1F7A4A; --good-soft: #E2F1E8; --live: #D2452B;
  --on-ink: #F6F6F3;
  --mark-bg: #EFEDE6;
  --glow-a: rgb(227 164 51 / .20); --glow-b: rgb(80 110 160 / .10);
  --sh-1: 0 1px 2px rgb(18 19 22 / .06);
  --sh-2: 0 1px 2px rgb(18 19 22 / .05), 0 8px 24px -10px rgb(18 19 22 / .14);
  --sh-win: 0 1px 1px rgb(18 19 22 / .04), 0 24px 48px -18px rgb(18 19 22 / .16), 0 64px 120px -48px rgb(18 19 22 / .22);
  --hi: inset 0 1px 0 rgb(255 255 255 / .7);

  --f-sans: "Mona Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
  --f-it: "Instrument Serif", "Times New Roman", serif;
  --f-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --t-hero: clamp(2.6rem, 1rem + 5.4vw, 5.6rem);
  --t-h2: clamp(2rem, 1.05rem + 3vw, 3.4rem);
  --t-h3: 1.1875rem;
  --t-lede: clamp(1.0625rem, .96rem + .4vw, 1.25rem);
  --t-small: .875rem;
  --t-label: .72rem;

  --r-chip: 6px; --r-ctl: 10px; --r-card: 14px; --r-win: 18px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1200px;

  --glide: cubic-bezier(.16, 1, .3, 1);
  --settle: cubic-bezier(.25, 1, .5, 1);
  --sweep: cubic-bezier(.65, 0, .35, 1);
  --exit: cubic-bezier(.5, 0, .75, 0);
  --nudge: cubic-bezier(.34, 1.4, .64, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B0C0F; --bg-2: #111317; --surface: #15171C; --raised: #1B1E24;
    --ink: #EEEDEA; --ink-2: #A3A49F; --ink-3: #6D6F74;
    --line: #23262C; --line-2: #30333A;
    --accent: #F0B84A; --accent-ink: #F3C468; --accent-soft: #2A2215;
    --good: #6BCB8F; --good-soft: #13291C; --live: #FF7A5C;
    --on-ink: #0B0C0F; --mark-bg: #262931;
    --glow-a: rgb(240 184 74 / .13); --glow-b: rgb(90 130 200 / .10);
    --sh-1: 0 1px 2px rgb(0 0 0 / .4);
    --sh-2: inset 0 1px 0 rgb(255 255 255 / .05), 0 10px 30px -12px rgb(0 0 0 / .7);
    --sh-win: inset 0 1px 0 rgb(255 255 255 / .07), 0 30px 80px -24px rgb(0 0 0 / .8), 0 0 0 1px rgb(255 255 255 / .02);
    --hi: inset 0 1px 0 rgb(255 255 255 / .06);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0B0C0F; --bg-2: #111317; --surface: #15171C; --raised: #1B1E24;
  --ink: #EEEDEA; --ink-2: #A3A49F; --ink-3: #6D6F74;
  --line: #23262C; --line-2: #30333A;
  --accent: #F0B84A; --accent-ink: #F3C468; --accent-soft: #2A2215;
  --good: #6BCB8F; --good-soft: #13291C; --live: #FF7A5C;
  --on-ink: #0B0C0F; --mark-bg: #262931;
  --glow-a: rgb(240 184 74 / .13); --glow-b: rgb(90 130 200 / .10);
  --sh-1: 0 1px 2px rgb(0 0 0 / .4);
  --sh-2: inset 0 1px 0 rgb(255 255 255 / .05), 0 10px 30px -12px rgb(0 0 0 / .7);
  --sh-win: inset 0 1px 0 rgb(255 255 255 / .07), 0 30px 80px -24px rgb(0 0 0 / .8), 0 0 0 1px rgb(255 255 255 / .02);
  --hi: inset 0 1px 0 rgb(255 255 255 / .06);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 420 1rem/1.55 var(--f-sans); letter-spacing: -.003em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4, p { margin: 0; }
h1, h2 { text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.it { font-family: var(--f-it); font-style: italic; font-weight: 400; letter-spacing: -.01em; font-size: 1.06em; color: var(--accent-ink); }
.mono, .num { font-family: var(--f-mono); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.label { font: 500 var(--t-label)/1.2 var(--f-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.ph { font-family: var(--f-mono); font-size: .86em; color: var(--accent-ink); background: var(--accent-soft); padding: .05em .35em; border-radius: 4px; }

/* Header */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 30; padding-top: env(safe-area-inset-top, 0px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
}
.hdr .wrap { display: flex; align-items: center; gap: 28px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 1.02rem/1 var(--f-sans); letter-spacing: -.02em; white-space: nowrap; }
.brand svg { width: 30px; height: 18px; flex: none; }
.brand .knot { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.brand .spark { fill: var(--accent); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { font-size: .9rem; color: var(--ink-2); text-decoration: none; transition: color .16s var(--settle); }
.nav a:hover { color: var(--ink); }
.hdr-cta { display: flex; align-items: center; gap: 10px; }
.progress { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); }
.progress i { position: absolute; inset: 0; background: var(--ink); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.theme {
  width: 34px; height: 34px; display: inline-grid; place-items: center; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-2); background: transparent; color: var(--ink-2); transition: color .16s var(--settle), border-color .16s var(--settle);
}
.theme:hover { color: var(--ink); border-color: var(--ink-3); }
.theme svg { width: 15px; height: 15px; }
@media (max-width: 860px) { .nav, .hdr-cta .signin { display: none; } .hdr-cta { margin-left: auto; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px;
  border-radius: var(--r-ctl); border: 1px solid transparent; text-decoration: none; cursor: pointer; white-space: nowrap;
  font: 550 .95rem/1 var(--f-sans); letter-spacing: -.01em;
  transition: transform .16s var(--settle), background-color .16s var(--settle), border-color .16s var(--settle), color .16s var(--settle);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.985); }
.btn-ink { background: var(--ink); color: var(--on-ink); }
.btn-ink:hover { background: color-mix(in srgb, var(--ink) 86%, var(--accent)); }
.btn-line { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--ink-3); background: var(--raised); }
.btn-sm { min-height: 34px; padding: 0 14px; font-size: .85rem; border-radius: 8px; }
.btn .arr { transition: transform .16s var(--settle); }
.btn:hover .arr { transform: translateX(2px); }

/* Stage chrome */
.slide { position: relative; min-height: 100svh; display: flex; align-items: center; padding-block: 96px 72px; }
.counter {
  position: fixed; left: var(--gutter); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 25;
  font: 500 .72rem/1 var(--f-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3);
  display: flex; gap: 10px; align-items: center; font-variant-numeric: tabular-nums;
}
.counter b { color: var(--ink); font-weight: 500; }
/* Counter and rail carry their own backing so they read over any band. */
.counter { background: color-mix(in srgb, var(--surface) 86%, transparent); border: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.counter { padding: 7px 12px; border-radius: 99px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
.rail { right: calc(var(--gutter) - 20px); }
.counter .sep { width: 18px; height: 1px; background: var(--line-2); }
.rail { position: fixed; right: calc(var(--gutter) - 8px); top: 50%; transform: translateY(-50%); z-index: 25; display: flex; flex-direction: column; gap: 4px; }
.rail a { display: flex; align-items: center; justify-content: flex-end; gap: 10px; height: 22px; text-decoration: none; color: var(--ink-3); font: 500 .66rem/1 var(--f-mono); letter-spacing: .09em; text-transform: uppercase; }
.rail a span { opacity: 0; transform: translateX(4px); transition: opacity .26s var(--settle), transform .26s var(--settle); }
.rail a i { width: 14px; height: 1px; background: var(--line-2); transition: width .26s var(--settle), background-color .26s var(--settle); }
.rail a[aria-current="true"] { color: var(--ink); }
.rail a[aria-current="true"] i { width: 26px; background: var(--ink); }
.rail a[aria-current="true"] span, .rail a:hover span { opacity: 1; transform: none; }
.cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); font: 500 .68rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cue i { width: 1px; height: 28px; background: linear-gradient(var(--ink-3), transparent); transform-origin: top; }
/* Phones: one screen is one slide. Slides fill the screen and snap one at a time. */
@media (max-width: 640px) {
  html { scroll-snap-type: y mandatory; }
  .slide { min-height: 100svh; scroll-snap-align: start; scroll-snap-stop: always; padding-block: 64px 54px; }
}
/* Between phone and wide desktop the rail shows ticks only, so its labels never sit on content. */
@media (max-width: 1360px) { .rail a span { display: none; } }
@media (max-width: 860px) {
  .rail, .cue { display: none; }
  .counter { left: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); padding: 7px 10px; border-radius: 99px; background: color-mix(in srgb, var(--surface) 88%, transparent); border: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
}

/* Bird marks */
.mk { --s: 24px; width: var(--s); height: var(--s); flex: none; border-radius: 999px; display: inline-block; overflow: hidden; box-shadow: 0 0 0 1px var(--line); background: var(--mark-bg); }
/* Role marks: ink outline, one gold detail (.a fill, .as stroke), solid ink (.f), eyes (.e gold, .eb pale). */
.mk svg { width: 100%; height: 100%; display: block; color: var(--ink); fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mk svg .a { fill: var(--accent); stroke: var(--accent); stroke-width: .6; }
.mk svg .as { stroke: var(--accent); }
.mk svg .f { fill: currentColor; }
.mk svg .e { fill: var(--accent); stroke: none; }
.mk svg .eb { fill: var(--mark-bg); stroke: none; }
.mk.sm { --s: 18px; } .mk.md { --s: 28px; } .mk.lg { --s: 52px; }
/* Clay birds: the icon brings its own paper circle and outline. In dark mode a thin paper ring keeps it from floating. */
.mk.clay { background: transparent; box-shadow: none; }
.mk.clay img { width: 100%; height: 100%; display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mk.clay { background: #EFEDE6; box-shadow: 0 0 0 1.5px #EFEDE6; } }
:root[data-theme="dark"] .mk.clay { background: #EFEDE6; box-shadow: 0 0 0 1.5px #EFEDE6; }

/* Product UI */
.win { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-win); box-shadow: var(--sh-win); overflow: hidden; position: relative; font-size: 13px; line-height: 1.4; }
.win-bar { height: 38px; display: flex; align-items: center; gap: 12px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--raised); }
.win-bar .dots { display: flex; gap: 6px; }
.win-bar .dots i { width: 9px; height: 9px; border-radius: 99px; background: var(--line-2); }
.win-bar .t { font: 500 11.5px/1 var(--f-mono); color: var(--ink-3); letter-spacing: .02em; }
.win-bar .cost { margin-left: auto; font: 500 11.5px/1 var(--f-mono); color: var(--ink-2); display: inline-flex; gap: 8px; align-items: center; font-variant-numeric: tabular-nums; }
.meter { width: 54px; height: 4px; border-radius: 9px; background: var(--line); overflow: hidden; display: inline-block; }
.meter i { display: block; height: 100%; width: calc(var(--v, 0) * 100%); background: var(--good); border-radius: 9px; }
.win-body { display: grid; grid-template-columns: 196px minmax(0, 1fr); }
.side { border-right: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; background: var(--surface); }
.side .label { padding: 0 8px 8px; font-size: 10px; }
.member { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 9px; align-items: center; padding: 6px 8px; border-radius: 8px; }
.member .mk { grid-row: span 2; }
.member b { font-weight: 560; font-size: 12.5px; letter-spacing: -.005em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.member small { font: 400 10.5px/1.2 var(--f-mono); color: var(--ink-3); white-space: nowrap; }
.member.on { background: var(--raised); box-shadow: inset 0 0 0 1px var(--line); }
.member small.g { color: var(--good); }
.main { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.main-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.main-h b { font-size: 16px; font-weight: 620; letter-spacing: -.02em; }
.tag { font: 500 9.5px/1 var(--f-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); border: 1px solid var(--line); border-radius: 99px; padding: 4px 8px; white-space: nowrap; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.kpi { border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.kpi .v { font: 550 17px/1.1 var(--f-mono); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpi .l { font-size: 10.5px; color: var(--ink-3); line-height: 1.25; }
.needs { display: flex; align-items: center; gap: 12px; border-radius: 12px; padding: 12px 12px 12px 14px; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); }
.needs .k { font: 500 9.5px/1 var(--f-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--accent-ink); }
.needs b { display: block; font-size: 13.5px; font-weight: 600; letter-spacing: -.01em; margin: 4px 0 3px; }
.needs .m { font: 400 11px/1.3 var(--f-mono); color: var(--ink-2); }
.needs > div { flex: 1; min-width: 0; }
.needs .btn { flex: none; }
.feed { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.feed li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 2px; border-top: 1px solid var(--line); }
.feed li span:nth-child(2) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.feed .c { font: 500 11.5px/1 var(--f-mono); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.feed .ok { color: var(--good); }
.chip-live { display: inline-flex; align-items: center; gap: 6px; font: 500 10.5px/1 var(--f-mono); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.chip-live i { width: 6px; height: 6px; border-radius: 9px; background: var(--live); box-shadow: 0 0 0 3px color-mix(in srgb, var(--live) 22%, transparent); }
@media (prefers-reduced-motion: no-preference) { .chip-live i { animation: pulse 2s var(--settle) infinite; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.call {
  position: absolute; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px;
  background: var(--ink); color: var(--on-ink); border-radius: 14px; box-shadow: var(--sh-2);
}
.call .mk { box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 70%, transparent); }
.call b { font-size: 12px; font-weight: 600; display: block; }
.call .chip-live { color: color-mix(in srgb, var(--on-ink) 70%, transparent); }

/* Small doc + chat pieces used on slides 3 and 4 */
.doc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--sh-2); padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.doc dl { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 7px 12px; margin: 0; font-size: 13px; }
.doc dt { font: 500 10px/1.6 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.doc dd { margin: 0; color: var(--ink); }
.run { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 12.5px; padding: 7px 0; border-top: 1px solid var(--line); }
.run:first-child { border-top: 0; }
.sess { font: 500 10px/1 var(--f-mono); padding: 4px 6px; border-radius: 5px; background: var(--bg-2); color: var(--ink-2); }
.pass { font: 500 11px/1 var(--f-mono); color: var(--good); }
.bub { padding: 10px 13px; border-radius: 14px; font-size: 13.5px; line-height: 1.45; max-width: 34ch; }
.bub.me { background: var(--ink); color: var(--on-ink); border-bottom-right-radius: 4px; margin-left: auto; }
.bub.them { background: var(--bg-2); color: var(--ink); border-bottom-left-radius: 4px; }
.signed { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--good); background: var(--good-soft); border-radius: 10px; padding: 10px 12px; }

@media (max-width: 640px) {
  .win:not(.fixed) .win-body { grid-template-columns: minmax(0, 1fr); }
  .win:not(.fixed) .side { flex-direction: row; gap: 4px; padding: 10px; border-right: 0; border-bottom: 1px solid var(--line); overflow: hidden; }
  .win:not(.fixed) .side .label, .win:not(.fixed) .member b, .win:not(.fixed) .member small { display: none; }
  .win:not(.fixed) .member { padding: 3px; grid-template-columns: auto; }
  .win:not(.fixed) .member .mk { grid-row: auto; }
  .win:not(.fixed) .member.on { box-shadow: inset 0 0 0 1px var(--line-2); }
  .win:not(.fixed) .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .win:not(.fixed) .main { padding: 14px; }
  .win:not(.fixed) .win-bar .t { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .15s !important; scroll-behavior: auto !important; }
}

/* ================= Site chrome ================= */
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--on-ink); padding: 10px 14px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -1.5px 0 var(--accent); }
.menu-btn { display: none; height: 34px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); font: 550 .85rem/1 var(--f-sans); cursor: pointer; }
.sheet { position: fixed; inset: 60px 0 auto 0; z-index: 29; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 22px; box-shadow: var(--sh-2); }
.sheet nav { display: flex; flex-direction: column; }
.sheet nav a { padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 1.1rem; font-weight: 560; letter-spacing: -.015em; }
.sheet .btn-row { display: flex; gap: 10px; margin-top: 16px; }
@media (max-width: 860px) { .menu-btn { display: inline-flex; align-items: center; } .hdr-cta .btn-ink { display: none; } }
@media (min-width: 861px) { .sheet { display: none !important; } }

.foot { border-top: 1px solid var(--line); padding-block: 48px 40px; background: var(--bg); position: relative; z-index: 2; }
.foot .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot p { color: var(--ink-2); font-size: .9rem; max-width: 34ch; margin-top: 12px; }
.foot h4, .foot .fh { margin: 0 0 12px; font: 500 var(--t-label)/1.2 var(--f-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.foot ul a { color: var(--ink-2); text-decoration: none; font-size: .92rem; }
.foot ul a:hover { color: var(--ink); }
.foot .fine { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; border-top: 1px solid var(--line); font: 400 .76rem/1.5 var(--f-mono); color: var(--ink-3); }
@media (max-width: 760px) { .foot .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot .wrap > div:first-child { grid-column: 1 / -1; } }

/* ================= Shared page parts ================= */
.w { display: inline-block; padding-bottom: .14em; margin-bottom: -.14em; }
main { display: block; }
.slide > .wrap { position: relative; z-index: 1; }
.sec-h { display: flex; flex-direction: column; gap: 14px; max-width: 780px; margin-bottom: clamp(28px, 5vh, 52px); }
.sec-h.center { margin-inline: auto; align-items: center; text-align: center; }
.sec-h h2, .h2 { font-size: var(--t-h2); font-weight: 620; line-height: 1.02; letter-spacing: -.036em; }
.sec-h h2 .it, .h2 .it, .page-hero h1 .it { display: block; margin-top: .04em; }
.lede { font-size: var(--t-lede); line-height: 1.5; color: var(--ink-2); max-width: 56ch; }
.center .lede { margin-inline: auto; }
.page-hero h1 { font-size: clamp(2.5rem, 1rem + 4vw, 4.4rem); font-weight: 640; line-height: .98; letter-spacing: -.044em; max-width: 16ch; }
.page-hero .wrap { display: flex; flex-direction: column; gap: 20px; }
.page-hero.center .wrap { align-items: center; text-align: center; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.note { font: 400 .78rem/1.5 var(--f-mono); color: var(--ink-3); }
.note a { color: var(--ink-2); }
.more { font-size: .92rem; color: var(--ink-2); }
.more a { color: var(--ink); text-underline-offset: .2em; }
.g2, .g3, .g4 { display: grid; gap: clamp(12px, 1.6vw, 20px); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .g2 { grid-template-columns: minmax(0, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(16px, 2vw, 22px); display: flex; flex-direction: column; gap: 10px; box-shadow: var(--hi); min-width: 0; }
.card h3 { font-size: var(--t-h3); font-weight: 600; letter-spacing: -.015em; line-height: 1.25; }
.card p { color: var(--ink-2); font-size: .93rem; }
.card .k, .kicker { font: 500 .68rem/1.2 var(--f-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--accent-ink); }
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rows > li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.rows > li > .n { grid-row: span 2; font: 500 .78rem/1.7 var(--f-mono); color: var(--accent-ink); }
.rows > li b { font-weight: 600; letter-spacing: -.01em; }
.rows > li span:not(.n) { color: var(--ink-2); font-size: .94rem; }
.kv { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 8px 14px; margin: 0; font-size: .93rem; }
.kv dt { font: 500 .68rem/1.7 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.kv dd { margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--line-2); background: color-mix(in srgb, var(--surface) 70%, transparent); font-size: .84rem; font-weight: 520; white-space: nowrap; }
.chip .mk { margin-left: -7px; }
.chip i { width: 6px; height: 6px; border-radius: 9px; background: var(--good); }
.band { background: var(--bg-2); }
.ink { --bg: #111216; --bg-2: #17191e; --surface: #1a1c22; --raised: #202329; --ink: #EEEDEA; --ink-2: #A9AAA5; --ink-3: #74767B; --line: #2a2d34; --line-2: #383b43; --accent-ink: #F3C468; --accent-soft: #2A2215; --good: #6BCB8F; --good-soft: #13291C; --on-ink: #0B0C0F; --mark-bg: #262931; background: var(--bg); color: var(--ink); color-scheme: dark; }
.quote { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.quote p { font: 400 clamp(1.25rem, 1rem + .8vw, 1.6rem)/1.3 var(--f-it); font-style: italic; letter-spacing: -.01em; color: var(--ink); max-width: none; }
.quote footer { font: 500 .75rem/1.3 var(--f-mono); color: var(--ink-3); letter-spacing: .04em; }
details.qa { border-bottom: 1px solid var(--line); }
details.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 0; font-weight: 580; font-size: 1.02rem; letter-spacing: -.01em; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: "+"; font: 400 1.3rem/1 var(--f-mono); color: var(--ink-3); transition: transform .26s var(--settle); }
details.qa[open] summary::after { transform: rotate(45deg); }
details.qa .a { padding: 0 0 18px; color: var(--ink-2); max-width: 68ch; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label, .field legend { font-size: .88rem; font-weight: 560; padding: 0; }
.field .hint { font-size: .8rem; color: var(--ink-3); }
.field input, .field textarea, .field select { font: inherit; font-size: .98rem; color: var(--ink); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-ctl); padding: 11px 13px; min-height: 44px; transition: border-color .16s var(--settle), box-shadow .16s var(--settle); }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink-3); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
fieldset.field { border: 0; margin: 0; padding: 0; }
.opt { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--line-2); cursor: pointer; font-size: .88rem; user-select: none; }
.opt input { accent-color: var(--ink); margin: 0; }
.opt:has(input:checked) { border-color: var(--ink); background: var(--raised); }
.mock-tag { font: 500 .66rem/1 var(--f-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent-soft); border-radius: 99px; padding: 5px 8px; align-self: flex-start; }

@media (max-width: 640px) {
  .sec-h { margin-bottom: 20px; gap: 12px; }
  .page-hero h1 { font-size: clamp(2.3rem, 1rem + 6vw, 3rem); }
  .rows > li { padding: 12px 0; }
}

/* Intro pre-states exist only while motion runs; a safety class reveals everything. If the scripts never arrive
   (a CDN that hangs), the CSS-only reveal below shows the page anyway. */
html.motion .page-hero [data-in], html.motion .page-hero h1 { opacity: 0; }
html.settled .page-hero [data-in], html.settled .page-hero h1 { opacity: 1 !important; }
@keyframes ih-safe { to { opacity: 1; } }
html.motion .page-hero [data-in], html.motion .page-hero h1 { animation: ih-safe 0s linear 4.5s forwards; }
.counter:empty { display: none; }
/* Shown only without JavaScript: a plain header, since site.js builds the real one. */
.nojs-hdr { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding: 18px var(--gutter); border-bottom: 1px solid var(--line); font-size: .9rem; }
.nojs-hdr a { color: var(--ink-2); text-decoration: none; }
.nojs-hdr a:first-child { color: var(--ink); font-weight: 600; margin-right: auto; }

/* The rail has no box: white with difference blending reads as ink on light grounds and as white on dark bands. */
.rail { mix-blend-mode: difference; }
.rail a { color: rgb(255 255 255 / .5); }
.rail a i { background: rgb(255 255 255 / .4); }
.rail a[aria-current="true"] { color: #fff; }
.rail a[aria-current="true"] i { background: #fff; }

/* Short phones (375 x 667 and the like): tighter type and spacing so a slide still fits one screen. */
@media (max-width: 640px) and (max-height: 740px) {
  :root { --t-h2: clamp(1.65rem, 1rem + 3.2vw, 2rem); --t-lede: .98rem; --t-h3: 1.05rem; }
  .slide { padding-block: 58px 50px; }
  .page-hero h1 { font-size: clamp(2.05rem, 1rem + 5.5vw, 2.5rem); }
  .page-hero .wrap { gap: 14px; }
  .sec-h { margin-bottom: 14px; gap: 8px; }
  .lede { line-height: 1.42; }
  .card { padding: 12px 14px; gap: 6px; }
  .card p { font-size: .88rem; line-height: 1.4; }
  .rows > li { padding: 9px 0; }
  .g2, .g3, .g4 { gap: 10px; }
  .btn { min-height: 42px; }
}
/* A slide that still cannot fit (set by site.js) scrolls freely inside itself instead of fighting the snap. */
@media (max-width: 640px) { .slide.tall { scroll-snap-align: none; scroll-snap-stop: normal; } }
