/* CellHash marketing site · shared styles
   Tokens follow the Europe & UK seed deck. Light by default, dark on system preference or data-theme="dark". */

:root {
  color-scheme: light;
  --bg: #F4F5FA;
  --surface: #FFFFFF;
  --surface-2: #EEF0F7;
  --line: #E1E4EE;
  --line-strong: #C9CEDD;
  --ink: #171A26;
  --ink-2: #4B5068;
  --ink-3: #7A8097;
  --accent: #4F46E5;
  --accent-fill: #4F46E5;
  --accent-ink: #FFFFFF;
  --accent-soft: rgba(79,70,229,.10);
  --good: #0F9D8A;
  --good-soft: rgba(15,157,138,.12);
  --warn: #B77700;
  --warn-soft: rgba(183,119,0,.12);
  --bad: #D9442F;
  --bad-soft: rgba(217,68,47,.12);
  --paper: #FFFFFF;
  --paper-ink: #111111;
  --shadow: 0 24px 60px rgba(23,26,38,.14);
  --shadow-sm: 0 6px 18px rgba(23,26,38,.08);
  --display: "Plus Jakarta Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --body: "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  --radius: 12px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1140px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #101219; --surface: #171A24; --surface-2: #1E2231;
    --line: #2A2F41; --line-strong: #3A4058;
    --ink: #EEF0F6; --ink-2: #B4B9CC; --ink-3: #7F869C;
    --accent: #8B90F7; --accent-fill: #6366F1; --accent-soft: rgba(99,102,241,.16);
    --good: #14B8A6; --good-soft: rgba(20,184,166,.16);
    --warn: #E0A100; --warn-soft: rgba(224,161,0,.16);
    --bad: #F0654A; --bad-soft: rgba(240,101,74,.16);
    --shadow: 0 24px 60px rgba(0,0,0,.45);
    --shadow-sm: 0 6px 18px rgba(0,0,0,.35);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #101219; --surface: #171A24; --surface-2: #1E2231;
  --line: #2A2F41; --line-strong: #3A4058;
  --ink: #EEF0F6; --ink-2: #B4B9CC; --ink-3: #7F869C;
  --accent: #8B90F7; --accent-fill: #6366F1; --accent-soft: rgba(99,102,241,.16);
  --good: #14B8A6; --good-soft: rgba(20,184,166,.16);
  --warn: #E0A100; --warn-soft: rgba(224,161,0,.16);
  --bad: #F0654A; --bad-soft: rgba(240,101,74,.16);
  --shadow: 0 24px 60px rgba(0,0,0,.45);
  --shadow-sm: 0 6px 18px rgba(0,0,0,.35);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; letter-spacing: -0.02em; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(34px, 5vw, 60px); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(26px, 3.2vw, 40px); font-weight: 800; }
h3 { font-size: clamp(18px, 1.6vw, 22px); font-weight: 700; }
h4 { font-size: 16px; font-weight: 700; }
p { margin: 0; }
p + p { margin-top: 12px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; display: block; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.lede { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--ink-2); }
.small { font-size: 13.5px; color: var(--ink-3); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .10em; text-transform: uppercase; color: var(--ink-3); }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--accent-fill); border-radius: 2px; }
.ph { background: var(--warn-soft); color: var(--warn); border-radius: 4px; padding: 0 5px; font-weight: 600; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -0.01em; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand svg { width: 28px; height: 28px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 8px 12px; border-radius: 8px; color: var(--ink-2); font-weight: 500; font-size: 15px; }
.nav a:hover { background: var(--surface-2); color: var(--ink); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav .cta { margin-left: 8px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--ink); border-radius: 8px; padding: 8px 10px; cursor: pointer; }
.theme-btn { background: none; border: 1px solid var(--line); color: var(--ink-2); border-radius: 8px; width: 38px; height: 38px; display: grid; place-items: center; cursor: pointer; }
.theme-btn:hover { background: var(--surface-2); color: var(--ink); }
.theme-btn svg { width: 18px; height: 18px; }
.header-right { display: flex; align-items: center; gap: 8px; }
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; align-items: stretch; background: var(--surface); border-bottom: 1px solid var(--line); padding: 10px var(--gutter) 16px; box-shadow: var(--shadow-sm); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; font-size: 16px; }
  .nav .cta { margin-left: 0; margin-top: 6px; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border-radius: 10px; font-weight: 600; font-size: 15px; line-height: 1.2; border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: transform .12s ease, background .12s ease, border-color .12s ease; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn.primary { background: var(--accent-fill); color: var(--accent-ink); }
.btn.primary:hover { background: color-mix(in srgb, var(--accent-fill) 88%, black); }
.btn.secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn.secondary:hover { background: var(--surface-2); }
.btn.ghost { background: transparent; color: var(--accent); }
.btn.lg { padding: 15px 24px; font-size: 16px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.tight { padding: clamp(40px, 5vw, 64px) 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }
.cols { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.cols.center { align-items: center; }
@media (max-width: 880px) { .cols { grid-template-columns: 1fr; } }

/* ---------- hero ---------- */
.hero { padding: clamp(56px, 9vw, 120px) 0 clamp(48px, 7vw, 88px); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -40% -20% auto; height: 120%; background: radial-gradient(60% 50% at 70% 30%, var(--accent-soft), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { max-width: 15ch; }
.hero .lede { margin-top: 20px; }
.hero .btn-row { margin-top: 28px; }
.hero .meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; } .hero h1 { max-width: none; } }

/* ---------- countdown ---------- */
.countdown { display: grid; gap: 10px; }
.countdown .big { font-family: var(--display); font-weight: 800; font-size: clamp(44px, 7vw, 92px); letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--ink); }
.countdown .big small { font-size: .35em; font-weight: 700; color: var(--ink-2); letter-spacing: -0.01em; margin-left: 8px; }
.countdown .cap { font-size: 15px; color: var(--ink-2); }
.count-units { display: flex; gap: 10px; flex-wrap: wrap; }
.count-unit { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; min-width: 84px; display: grid; gap: 2px; }
.count-unit b { font-family: var(--display); font-size: 28px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1; }
.count-unit span { font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); font-weight: 600; }
.countdown-page .big { font-size: clamp(72px, 16vw, 200px); }

/* ---------- passport label (paper, always) ---------- */
.label { background: var(--paper); color: var(--paper-ink); border-radius: 8px; padding: 20px 22px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; max-width: 520px; border: 1px solid rgba(0,0,0,.08); transform: rotate(-1.5deg); }
.label .lbl-title { font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #333; }
.label .bpan { font-family: var(--mono); font-weight: 600; font-size: clamp(12px, 1.3vw, 15px); letter-spacing: .02em; margin: 6px 0 10px; color: #111; word-break: break-all; }
.label .specs { display: grid; grid-template-columns: repeat(2, max-content); gap: 3px 22px; font-size: 12px; color: #333; }
.label .specs b { color: #111; font-weight: 600; }
.label .qr { width: 112px; height: 112px; display: grid; place-items: center; }
.label .qr svg { width: 112px; height: 112px; }
.label .foot { grid-column: 1 / -1; font-size: 10.5px; color: #555; border-top: 1px solid #e5e5e5; padding-top: 8px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 520px) { .label { grid-template-columns: 1fr; transform: none; } .label .specs { grid-template-columns: 1fr; } }

/* ---------- chips ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; line-height: 1.5; white-space: nowrap; }
.chip.good { background: var(--good-soft); color: var(--good); }
.chip.warn { background: var(--warn-soft); color: var(--warn); }
.chip.bad { background: var(--bad-soft); color: var(--bad); }
.chip.neutral { background: var(--surface-2); color: var(--ink-2); }
.chip.accent { background: var(--accent-soft); color: var(--accent); }

/* ---------- tiles / cards ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 20px; display: grid; gap: 8px; align-content: start; }
.tile .big { font-family: var(--display); font-size: clamp(28px, 2.8vw, 38px); font-weight: 800; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.tile .cap { font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.tile .src { font-size: 11.5px; color: var(--ink-3); }
.tile.lift { border-color: var(--accent-fill); background: var(--accent-soft); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; display: grid; gap: 12px; align-content: start; }
.card .icon { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.card .icon svg { width: 20px; height: 20px; }
.card p { color: var(--ink-2); font-size: 15px; }
.card .num { font-family: var(--mono); color: var(--accent); font-weight: 600; font-size: 13px; }
.card.feature h3 { font-size: 18px; }

/* ---------- lists ---------- */
.list { display: grid; gap: 12px; }
.list li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; font-size: 15.5px; color: var(--ink-2); }
.list li b { color: var(--ink); font-weight: 600; }
.list li .mk { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; margin-top: 2px; font-size: 11px; font-weight: 700; }
.list li .mk.good { background: var(--good-soft); color: var(--good); }
.list li .mk.acc { background: var(--accent-soft); color: var(--accent); }
.list li .mk.warn { background: var(--warn-soft); color: var(--warn); }
.list li .mk.dot { width: 6px; height: 6px; margin: 10px 7px 0; background: var(--ink-3); }

/* ---------- key/value ---------- */
.kv { display: grid; grid-template-columns: max-content 1fr; column-gap: 20px; border-top: 1px solid var(--line); }
.kv > div { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.kv > div:nth-child(odd) { color: var(--ink); font-weight: 600; }
.kv > div:nth-child(even) { color: var(--ink-2); }
@media (max-width: 520px) { .kv { grid-template-columns: 1fr; } .kv > div:nth-child(odd) { border-bottom: 0; padding-bottom: 2px; } }

/* ---------- tables ---------- */
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.grid { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 620px; }
table.grid th, table.grid td { text-align: left; padding: 12px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.grid th { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
table.grid td:first-child { font-weight: 600; color: var(--ink); }
table.grid td { color: var(--ink-2); }
table.grid .hl td { background: var(--accent-soft); }

/* ---------- timeline ---------- */
.timeline { display: grid; gap: 0; border-left: 2px solid var(--line); margin-left: 8px; }
.timeline li { position: relative; padding: 0 0 22px 26px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-strong); }
.timeline li.now::before { background: var(--accent-fill); border-color: var(--accent-fill); box-shadow: 0 0 0 4px var(--accent-soft); }
.timeline li.done::before { background: var(--good); border-color: var(--good); }
.timeline .when { font-family: var(--mono); font-size: 12.5px; color: var(--accent); font-weight: 600; }
.timeline .what { font-weight: 600; color: var(--ink); margin-top: 2px; }
.timeline .why { font-size: 14px; color: var(--ink-2); margin-top: 2px; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 8px; align-content: start; counter-increment: step; position: relative; }
.step::before { content: counter(step, decimal-leading-zero); font-family: var(--mono); font-size: 13px; color: var(--accent); font-weight: 600; }
.step h3 { font-size: 17px; }
.step p { font-size: 14.5px; color: var(--ink-2); }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 28px 26px; display: grid; gap: 18px; align-content: start; }
.plan.featured { border-color: var(--accent-fill); box-shadow: 0 0 0 4px var(--accent-soft); }
.plan .name { font-family: var(--display); font-weight: 800; font-size: 20px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.plan .price { font-family: var(--display); font-weight: 800; font-size: 34px; letter-spacing: -0.02em; line-height: 1; }
.plan .price small { font-size: 14px; font-weight: 500; color: var(--ink-2); letter-spacing: 0; margin-left: 4px; }
.plan .limit { font-size: 14px; color: var(--ink-2); }
.plan .list li { font-size: 14.5px; }
.plan .btn { width: 100%; }

/* ---------- callout ---------- */
.callout { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent-fill); border-radius: 10px; padding: 18px 20px; font-size: 14.5px; color: var(--ink-2); }
.callout b { color: var(--ink); }
.callout.warn { border-left-color: var(--warn); }
.callout.good { border-left-color: var(--good); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--accent-fill), color-mix(in srgb, var(--accent-fill) 70%, #0EA5E9)); color: #fff; border-radius: 20px; padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: 1.3fr auto; gap: 28px; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); margin-top: 10px; max-width: 56ch; }
.cta-band .btn.primary { background: #fff; color: var(--accent-fill); }
.cta-band .btn.primary:hover { background: #f1f1ff; }
.cta-band .btn.secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- readiness check ---------- */
.rc-progress { height: 6px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.rc-progress > div { height: 100%; background: var(--accent-fill); width: 0; transition: width .25s ease; }
.rc-q { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 14px; }
.rc-q .tags { display: flex; gap: 6px; flex-wrap: wrap; }
.rc-q h3 { font-size: 18px; }
.rc-q p { font-size: 14.5px; color: var(--ink-2); }
.rc-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.rc-opts label { border: 1px solid var(--line-strong); border-radius: 10px; padding: 12px; text-align: center; cursor: pointer; font-weight: 600; font-size: 14.5px; background: var(--bg); transition: border-color .12s, background .12s; }
.rc-opts label:hover { background: var(--surface-2); }
.rc-opts input { position: absolute; opacity: 0; pointer-events: none; }
.rc-opts input:checked + span { color: var(--accent); }
.rc-opts label:has(input:checked) { border-color: var(--accent-fill); background: var(--accent-soft); }
.rc-opts label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 480px) { .rc-opts { grid-template-columns: 1fr; } }
.rc-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.rc-result { display: grid; gap: 24px; }
.score-ring { width: 160px; height: 160px; position: relative; }
.score-ring svg { width: 160px; height: 160px; transform: rotate(-90deg); }
.score-ring circle { fill: none; stroke-width: 12; stroke-linecap: round; }
.score-ring .track { stroke: var(--surface-2); }
.score-ring .bar { stroke: var(--accent-fill); stroke-dasharray: 440; stroke-dashoffset: 440; transition: stroke-dashoffset .8s ease; }
.score-ring .val { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 36px; letter-spacing: -0.02em; }
.gap-list { display: grid; gap: 10px; }
.gap { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.gap .status { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; margin-top: 1px; }
.gap .status.ok { background: var(--good-soft); color: var(--good); }
.gap .status.part { background: var(--warn-soft); color: var(--warn); }
.gap .status.miss { background: var(--bad-soft); color: var(--bad); }
.gap b { display: block; font-size: 15px; }
.gap span { font-size: 13.5px; color: var(--ink-2); }

/* ---------- forms ---------- */
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.form input, .form select, .form textarea { font: inherit; padding: 11px 12px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }

/* ---------- prose ---------- */
.prose { max-width: 72ch; display: grid; gap: 16px; }
.prose h2 { font-size: clamp(22px, 2.4vw, 28px); margin-top: 20px; }
.prose h3 { margin-top: 10px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding: 48px 0 32px; margin-top: clamp(40px, 6vw, 80px); }
.site-footer .top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
.site-footer h4 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.site-footer ul { display: grid; gap: 8px; }
.site-footer a { color: var(--ink-2); font-size: 14.5px; }
.site-footer a:hover { color: var(--ink); }
.site-footer .blurb { font-size: 14px; color: var(--ink-2); max-width: 36ch; margin-top: 12px; }
.site-footer .bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 32px; padding-top: 20px; font-size: 13px; color: var(--ink-3); }
@media (max-width: 820px) { .site-footer .top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .site-footer .top { grid-template-columns: 1fr; } }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(28px, 4vw, 48px); }
.page-hero h1 { font-size: clamp(32px, 4.4vw, 52px); max-width: 20ch; }
.page-hero .lede { margin-top: 16px; }

/* ---------- segment anchors ---------- */
.segment { scroll-margin-top: 80px; }
.pill-nav { display: flex; gap: 8px; flex-wrap: wrap; }
.pill-nav a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ink-2); font-size: 14px; font-weight: 600; background: var(--surface); }
.pill-nav a:hover { text-decoration: none; background: var(--surface-2); color: var(--ink); }

/* ---------- utilities ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }
.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 20px; } .mt-3 { margin-top: 32px; } .mt-4 { margin-top: 48px; }
.center { text-align: center; }
