@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Rajdhani"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/rajdhani-600-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Rajdhani"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/rajdhani-700-latin.woff2") format("woff2");
}

/* Relay web: shared styles for the homepage, guides and dashboard.
   Dark by default (the brand), light theme via [data-theme="light"].
   Motion is limited to short color transitions on hover. */

:root {
  color-scheme: dark;
  --bg: #0a0e13;
  --bg-2: #0d1319;
  --surface: #111920;
  --surface-2: #16202a;
  --surface-3: #1c2833;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #e8eef2;
  --text-2: #a8b5bf;
  --muted: #74838f;
  --accent: #49d6cd;
  --accent-2: #27a8a1;
  --accent-ink: #04211f;
  --accent-wash: rgba(73, 214, 205, 0.10);
  --accent-line: rgba(73, 214, 205, 0.35);
  --good: #2fbf71;
  --good-wash: rgba(47, 191, 113, 0.12);
  --warn: #fab219;
  --warn-wash: rgba(250, 178, 25, 0.12);
  --bad: #ef5b5b;
  --bad-wash: rgba(239, 91, 91, 0.12);
  --grid: #1f2a34;
  --axis: #34424f;
  /* chart series (validated for this surface, see features/web/README) */
  --series-1: #27a8a1;
  --series-2: #d95926;
  --series-3: #9085e9;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 12px 32px rgba(0, 0, 0, 0.28);
  --radius: 14px;
  --radius-sm: 10px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Rajdhani", "Inter", system-ui, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f7f8;
  --bg-2: #eef2f4;
  --surface: #ffffff;
  --surface-2: #f6f9fa;
  --surface-3: #edf2f4;
  --border: rgba(12, 28, 38, 0.10);
  --border-strong: rgba(12, 28, 38, 0.18);
  --text: #0c1419;
  --text-2: #43525d;
  --muted: #687781;
  --accent: #0d8a84;
  --accent-2: #1f9e97;
  --accent-ink: #ffffff;
  --accent-wash: rgba(13, 138, 132, 0.09);
  --accent-line: rgba(13, 138, 132, 0.35);
  --good: #13863f;
  --good-wash: rgba(19, 134, 63, 0.10);
  --warn: #9a6400;
  --warn-wash: rgba(250, 178, 25, 0.16);
  --bad: #c83434;
  --bad-wash: rgba(200, 52, 52, 0.09);
  --grid: #e4eaed;
  --axis: #c3ccd2;
  --series-1: #1f9e97;
  --series-2: #eb6834;
  --series-3: #4a3aa7;
  --shadow: 0 1px 2px rgba(12, 28, 38, 0.05), 0 10px 28px rgba(12, 28, 38, 0.07);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 15px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.15; letter-spacing: -0.01em; }
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; }
code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.1em 0.4em;
}
hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .container { padding: 0 16px; } }

.muted { color: var(--muted); }
.text-2 { color: var(--text-2); }
.strong { font-weight: 600; color: var(--text); }
.num { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--accent); }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px;
  border-radius: 10px; border: 1px solid var(--border-strong);
  background: var(--surface-2); color: var(--text);
  font: 600 14px/1 var(--font); cursor: pointer; white-space: nowrap;
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}
.btn:hover { text-decoration: none; background: var(--surface-3); border-color: var(--accent-line); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-2); border-color: var(--accent-2); color: var(--accent-ink); }
.btn-ghost { background: transparent; }
.btn-sm { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.btn svg { width: 18px; height: 18px; }
.btn.is-disabled { opacity: 0.55; pointer-events: none; }
.icon-btn {
  display: inline-grid; place-items: center; width: 36px; height: 36px;
  border-radius: 9px; border: 1px solid var(--border); background: transparent;
  color: var(--text-2); cursor: pointer; transition: background-color 120ms ease, color 120ms ease;
}
.icon-btn:hover { background: var(--surface-2); color: var(--text); }
.icon-btn svg { width: 18px; height: 18px; }

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--border-strong); }
.brand span { font: 700 22px/1 var(--display); letter-spacing: 0.14em; }
.site-nav { display: flex; gap: 4px; margin-left: 8px; }
.site-nav a {
  color: var(--text-2); font-weight: 500; font-size: 14px;
  padding: 8px 12px; border-radius: 8px; transition: color 120ms ease, background-color 120ms ease;
}
.site-nav a:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
@media (max-width: 900px) { .site-nav { display: none; } }
@media (max-width: 520px) { .header-actions .btn-ghost { display: none; } }

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative; overflow: hidden;
  padding: 72px 0 56px;
  background:
    radial-gradient(900px 420px at 78% -10%, var(--accent-wash), transparent 70%),
    radial-gradient(700px 360px at -10% 110%, rgba(144, 133, 233, 0.07), transparent 70%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 65%);
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero.no-stats .container { grid-template-columns: minmax(0, 760px); }
.hero h1 { font-size: clamp(38px, 5vw, 58px); margin: 0 0 18px; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero h1 .line { display: block; text-wrap: balance; }
.hero .lede { font-size: 18px; color: var(--text-2); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; color: var(--muted); font-size: 13px; }
.hero-notes span { display: inline-flex; align-items: center; gap: 6px; }
.hero-notes svg { width: 16px; height: 16px; color: var(--accent); }
@media (max-width: 900px) {
  .hero { padding: 48px 0 40px; }
  .hero .container { grid-template-columns: 1fr; gap: 32px; }
}

.live-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  box-shadow: var(--shadow); padding: 22px;
}
.live-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.live-head h2 { font: 600 15px/1.2 var(--font); margin: 0; color: var(--text-2); }
.live-dot { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--good); font-weight: 600; }
.live-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 3px var(--good-wash); }
.live-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.live-stat { background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; }
.live-stat b { display: block; font-size: 26px; font-weight: 650; line-height: 1.15; letter-spacing: -0.01em; }
.live-stat span { font-size: 12px; color: var(--muted); }
.live-foot { margin-top: 16px; }
.live-foot .label { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.spark { width: 100%; height: 56px; }
.spark-bar { fill: var(--series-1); opacity: 0.55; }
.spark-bar.today { opacity: 1; }

/* ------------------------------------------------------------------ sections */
.section { padding: 80px 0; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 42px); margin: 0 0 10px; }
.section-head p { color: var(--text-2); font-size: 17px; margin: 0; }
@media (max-width: 640px) { .section { padding: 56px 0; } }

.trust { padding: 22px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-2); }
.trust .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust-item { display: flex; gap: 12px; align-items: flex-start; }
.trust-item svg { flex: 0 0 auto; width: 22px; height: 22px; color: var(--accent); margin-top: 2px; }
.trust-item b { display: block; font-size: 14px; }
.trust-item span { font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .trust .container { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .trust .container { grid-template-columns: 1fr; } }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.card h3 { font-size: 19px; margin-bottom: 6px; }
.card-icon {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px;
  background: var(--accent-wash); color: var(--accent); margin-bottom: 16px; border: 1px solid var(--accent-line);
}
.card-icon svg { width: 22px; height: 22px; }
.card-icon.orange { background: rgba(217, 89, 38, 0.12); color: #ef7d4d; border-color: rgba(217, 89, 38, 0.35); }
.card-icon.violet { background: rgba(144, 133, 233, 0.12); color: #a79ef0; border-color: rgba(144, 133, 233, 0.35); }
:root[data-theme="light"] .card-icon.orange { color: #c2461a; }
:root[data-theme="light"] .card-icon.violet { color: #4a3aa7; }
.price-from { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.price-from b { color: var(--text); font-size: 22px; font-weight: 650; margin-right: 4px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; color: var(--text-2); font-size: 14px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%2349d6cd' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}

/* ------------------------------------------------------------------ tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th {
  text-align: left; font-weight: 600; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--muted); background: var(--surface-2); padding: 11px 14px; border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
th.num { text-align: right; }
td { padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: var(--surface-2); }
tr.best td { background: var(--accent-wash); }
tr.best td:first-child { box-shadow: inset 3px 0 0 var(--accent); }

.badge {
  display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px;
  border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap;
  border: 1px solid var(--border); color: var(--text-2); background: var(--surface-2);
}
.badge.good { color: var(--good); background: var(--good-wash); border-color: transparent; }
.badge.bad { color: var(--bad); background: var(--bad-wash); border-color: transparent; }
.badge.warn { color: var(--warn); background: var(--warn-wash); border-color: transparent; }
.badge.accent { color: var(--accent); background: var(--accent-wash); border-color: transparent; }
.badge.neutral { color: var(--muted); }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.plain::before { display: none; }

.tier-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 10px; vertical-align: 0; }
.tier-budget { background: #b08d57; }
.tier-standard { background: #9aa7b1; }
.tier-premium { background: #e0b84a; }
.tier-stricken { background: #9085e9; }

/* ------------------------------------------------------------------ tabs */
.tabs { display: inline-flex; padding: 4px; gap: 4px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); margin-bottom: 18px; }
.tabs button {
  border: 0; background: transparent; color: var(--text-2); font: 600 14px/1 var(--font);
  padding: 10px 16px; border-radius: 9px; cursor: pointer; transition: background-color 120ms ease, color 120ms ease;
}
.tabs button[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); }
.tab-panel + .tab-panel { margin-top: 18px; }
.js .tab-panel + .tab-panel { margin-top: 0; }
.pricing-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; font-size: 14px; color: var(--text-2); }
.pricing-note svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--accent); margin-top: 2px; }

/* ------------------------------------------------------------------ planner */
.planner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 20px; align-items: start; }
@media (max-width: 900px) { .planner { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label, .field .label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.field-row { display: flex; gap: 12px; align-items: center; }
.input {
  height: 44px; width: 100%; padding: 0 14px; border-radius: 10px;
  border: 1px solid var(--border-strong); background: var(--surface-2); color: var(--text);
  font: 500 16px/1 var(--font); font-variant-numeric: tabular-nums;
}
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-wash); }
.input.narrow { width: 130px; flex: 0 0 auto; }
input[type="range"] { width: 100%; accent-color: var(--accent); height: 28px; }
.segmented { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: 11px; background: var(--surface-2); border: 1px solid var(--border); }
.segmented button {
  border: 0; border-radius: 8px; background: transparent; color: var(--text-2);
  font: 600 14px/1 var(--font); padding: 10px 8px; cursor: pointer;
}
.segmented button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); }
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; color: var(--text-2); }
.switch input { appearance: none; -webkit-appearance: none; width: 40px; height: 24px; border-radius: 999px; background: var(--surface-3); border: 1px solid var(--border-strong); position: relative; cursor: pointer; margin: 0; transition: background-color 120ms ease; }
.switch input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--text-2); transition: transform 120ms ease; }
.switch input:checked { background: var(--accent); border-color: var(--accent); }
.switch input:checked::after { transform: translateX(16px); background: var(--accent-ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px;
  padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border-strong);
  background: var(--surface-2); color: var(--text); cursor: pointer; font: 600 14px/1.2 var(--font);
  transition: border-color 120ms ease, background-color 120ms ease;
}
.chip small { font-weight: 500; font-size: 12px; color: var(--muted); }
.chip:hover { border-color: var(--accent-line); }
.chip[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-wash); }
.chip.done { opacity: 0.55; }
.quote { position: sticky; top: 88px; }
.quote-total { font-size: 44px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; margin: 4px 0 2px; }
.quote-lines { display: grid; gap: 10px; margin: 18px 0; padding: 16px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.quote-line { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--text-2); }
.quote-line b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.command {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-family: var(--mono); font-size: 14px; padding: 10px 12px; border-radius: 10px;
  background: var(--bg); border: 1px dashed var(--border-strong); color: var(--text);
}
.command button { flex: 0 0 auto; }
.command span { min-width: 0; overflow-wrap: anywhere; }
.command b { color: var(--accent); font-weight: 700; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.field-pair .field { margin-bottom: 0; }
.field-pair.single { grid-template-columns: 1fr; }
.field-pair + .field { margin-top: 18px; }
.field-hint { font-size: 12.5px; color: var(--muted); margin: 0; }
.field-hint.bad { color: var(--bad); }
.field-hint code { font-size: 12px; white-space: nowrap; }
.quote .field-hint { margin-top: 10px; }
.btn-block { width: 100%; height: 46px; font-size: 15px; }
.btn-block[disabled] { opacity: 0.6; cursor: default; }
.field-hint.good { color: var(--good); }
.or-label { display: block; margin-top: 20px; }
@media (max-width: 520px) { .field-pair { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ steps */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 16px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; font-size: 14px; color: var(--text-2); }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px;
  background: var(--surface-3); border: 1px solid var(--border-strong); color: var(--text); font-weight: 700; font-size: 13px;
}
.steps b { color: var(--text); display: block; font-size: 15px; margin-bottom: 2px; }
.role-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.role-head .card-icon { margin: 0; }
.role-head h3 { margin: 0; }

.rules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.rules li { display: flex; gap: 12px; padding: 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); font-size: 14px; color: var(--text-2); }
.rules li b { color: var(--text); display: block; }
.rules svg { flex: 0 0 auto; width: 20px; height: 20px; color: var(--accent); margin-top: 2px; }
@media (max-width: 640px) { .rules { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ faq */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 16px 18px; font-weight: 600;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: "-"; }
.faq details > div { padding: 0 18px 16px; color: var(--text-2); font-size: 14px; }
.faq details > div p:last-child { margin: 0; }

.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 36px; border-radius: 20px; border: 1px solid var(--accent-line);
  background: radial-gradient(600px 240px at 90% 0%, var(--accent-wash), transparent 70%), var(--surface);
}
.cta-band h2 { font-size: 32px; margin: 0 0 6px; }
.cta-band p { margin: 0; color: var(--text-2); }

/* ------------------------------------------------------------------ footer */
.site-footer { border-top: 1px solid var(--border); padding: 48px 0 36px; margin-top: 80px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.footer-grid h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14px; }
.footer-grid a { color: var(--text-2); }
.footer-grid a:hover { color: var(--text); }
.m-0 { margin: 0 !important; }
.footer-blurb { margin-top: 14px; max-width: 320px; }
.footer-note.flat { margin: 0; border: 0; padding: 0; }
.footer-note { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ------------------------------------------------------------------ docs pages */
.doc-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; padding: 48px 0 24px; }
.doc-nav { position: sticky; top: 88px; align-self: start; display: grid; gap: 2px; }
.doc-nav .label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin: 0 0 8px 10px; }
.doc-nav a { color: var(--text-2); padding: 7px 10px; border-radius: 8px; font-size: 14px; }
.doc-nav a:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
.doc-nav a[aria-current="page"] { background: var(--accent-wash); color: var(--accent); font-weight: 600; }
@media (max-width: 860px) {
  .doc-layout { grid-template-columns: 1fr; gap: 24px; padding-top: 28px; }
  .doc-nav { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .doc-nav .label { display: none; }
  .doc-nav a { border: 1px solid var(--border); }
}
.prose { max-width: 760px; font-size: 16px; color: var(--text-2); }
.prose h1 { font-size: clamp(34px, 4vw, 46px); color: var(--text); margin-bottom: 20px; }
.prose h2 { font-size: 28px; color: var(--text); margin: 40px 0 12px; }
.prose h3 { font-size: 19px; color: var(--text); margin: 28px 0 10px; }
.prose h4 { font-size: 16px; color: var(--text); margin: 22px 0 8px; }
.prose strong { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin: 0.3em 0; }
.prose pre { background: var(--bg-2); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; overflow-x: auto; font-size: 13px; }
.prose pre code { background: none; border: 0; padding: 0; }
.prose blockquote { margin: 1em 0; padding: 12px 16px; border-left: 3px solid var(--accent); background: var(--accent-wash); border-radius: 0 10px 10px 0; }
.prose blockquote p { margin: 0; color: var(--text); }
.prose .table-wrap { margin: 1em 0 1.5em; }

/* ------------------------------------------------------------------ 404 */
.center-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 48px 16px; }
.center-page h1 { font-size: 64px; margin: 0; color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
