/* HostCrust landing page. Design tokens from design-system/hostcrust (MASTER.md + pages/landing.md). */

/* Self-hosted variable fonts (16 Nov 2026). Served from /fonts/ under the strict CSP (font-src 'self');
   no third-party font host. Variable weight axes cover every weight the site uses. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("/fonts/jetbrains-mono.woff2") format("woff2");
}
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 200 720;
  font-display: swap;
  src: url("/fonts/newsreader.woff2") format("woff2");
}

:root {
  --navy-950: #020617;
  --navy-900: #0f172a;
  --navy-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;

  --accent: #0369a1;        /* links, accents (5.9:1 on white) */
  --cta: #075985;           /* button background (7.5:1 with white text) */
  --cta-hover: #0c4a6e;
  --accent-soft: #e0f2fe;
  --focus: #0ea5e9;

  --ok: #047857;
  --ok-on-dark: #34d399;
  --error: #b91c1c;
  --error-soft: #fef2f2;

  --todo-bg: #fffbeb;
  --todo-border: #b45309;
  --todo-text: #92400e;

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --font-serif: "Newsreader", Georgia, "Times New Roman", serif;

  /* v3 upgrade (16 Nov 2026): named accents used by the new components. The sky/emerald
     values below match --accent/--ok and keep every existing contrast ratio. */
  --ink: #0b1220;           /* near-black primary button + terminal body */
  --ink-hover: #111c33;
  --sky: #0284c7;
  --sky-700: #0369a1;
  --emerald: #059669;
  --emerald-50: #ecfdf5;
  --emerald-100: #a7f3d0;
  --amber-400: #fbbf24;

  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 10px 30px -12px rgba(15, 23, 42, 0.18), 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 34px 70px -24px rgba(2, 32, 71, 0.34);
  --shadow-xl: 0 24px 48px -12px rgba(2, 6, 23, 0.35);

  --header-h: 64px;
  --ea-h: 0px;             /* status bar removed 16 Nov 2026 (sign-up open to all) */
  --container: 1200px;

  --z-header: 30;
  --z-consent: 40;
  --z-debug: 50;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--ea-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--navy-950);
  background:
    radial-gradient(1100px 520px at 50% -170px, #eaf3fc 0, rgba(234, 243, 252, 0) 62%),
    #fbfcfe;
  background-attachment: fixed, scroll;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { line-height: 1.15; margin: 0; color: var(--navy-900); letter-spacing: -0.015em; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); font-weight: 750; letter-spacing: -0.025em; }
h3 { font-size: 1.125rem; font-weight: 650; }
p { margin: 0; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--cta-hover); }
strong { font-weight: 650; }
ul[role="list"], ol[role="list"] { list-style: none; margin: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.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;
}
.muted { color: var(--slate-600); }
.nowrap { white-space: nowrap; }
.small { font-size: 0.875rem; }

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--navy-900); color: var(--white); padding: 10px 14px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; color: var(--white); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--space-lg); }
.container-narrow { max-width: 820px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0 1.375rem;
  font: inherit; font-weight: 650; font-size: 1rem; line-height: 1.2;
  border-radius: 10px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}
.btn-sm { min-height: 44px; padding: 0 1rem; font-size: 0.9375rem; }
.btn-lg { min-height: 52px; padding: 0 1.5rem; font-size: 1.0625rem; }
.btn-primary { background: var(--ink); color: var(--white); box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--ink-hover); color: var(--white); box-shadow: var(--shadow-lg); transform: translateY(-1px); }
.btn-ghost { background: var(--white); color: var(--navy-900); border-color: var(--slate-300); }
.btn-ghost:hover { border-color: var(--navy-900); color: var(--navy-900); }
.btn-light { background: var(--white); color: var(--navy-900); }
.btn-light:hover { background: var(--accent-soft); color: var(--navy-900); }
.btn-light:focus-visible { outline-color: var(--white); }
.btn[disabled] { opacity: 0.7; cursor: progress; }
.linklike {
  background: none; border: 0; padding: 0; font: inherit; color: var(--accent);
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--slate-200);
}
.header-inner { display: flex; align-items: center; gap: var(--space-lg); height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none; color: var(--navy-900); margin-right: auto; }
.brand-mark { width: 26px; height: 26px; fill: none; stroke: var(--cta); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.brand-glyph { width: 30px; height: 30px; flex: none; display: block; border-radius: 7px; }
.brand-accent { color: var(--accent); }
.brand-name { font-weight: 800; font-size: 1.125rem; letter-spacing: -0.02em; }
.brand-tag {
  font-size: 0.75rem; font-weight: 600; color: var(--slate-600);
  border: 1px solid var(--slate-200); border-radius: 999px; padding: 2px 8px;
}
.site-nav { display: none; gap: var(--space-lg); align-items: center; }
.site-nav a { color: var(--slate-700); text-decoration: none; font-weight: 550; font-size: 0.9375rem; padding: 10px 2px; }
.site-nav a:hover { color: var(--navy-900); text-decoration: underline; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: var(--space-2xl) 0 var(--space-3xl);
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(3, 105, 161, 0.08), transparent 60%),
    linear-gradient(var(--slate-50), var(--white));
  border-bottom: 1px solid var(--slate-200);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.045) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
}
.hero-grid { position: relative; display: grid; gap: var(--space-2xl); align-items: center; }

.status-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.875rem; font-weight: 600; color: var(--slate-700);
  background: var(--white); border: 1px solid var(--slate-200); border-radius: 999px;
  padding: 6px 12px; margin-bottom: var(--space-lg); box-shadow: var(--shadow-sm);
}
.status-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(4, 120, 87, 0.15); }

/* One headline at launch (the A/B headline test is removed). */
.headline { font-size: clamp(2.125rem, 1.35rem + 3.3vw, 3.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.07; }
.hl-main { display: block; }
.hl-sub { display: block; margin-top: 0.4em; font-size: 0.62em; line-height: 1.2; font-weight: 700; color: var(--cta); letter-spacing: -0.02em; }

.hero-def { margin-top: var(--space-md); font-size: 1.25rem; line-height: 1.45; font-weight: 600; color: var(--slate-800, #1e293b); max-width: 40rem; }
.prose-terms h3 { margin-top: 2rem; font-size: 1.125rem; }
.prose-terms h3:first-child { margin-top: 0; }
.prose-terms p { margin-top: 0.5rem; line-height: 1.6; color: var(--slate-700); }
.lede { margin-top: var(--space-lg); font-size: 1.1875rem; line-height: 1.6; color: var(--slate-700); max-width: 38rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--space-md); margin-top: var(--space-xl); }
.cta-note { margin-top: var(--space-md); font-size: 0.9375rem; color: var(--slate-600); }

/* Receipt illustration */
.receipt {
  margin: 0; background: var(--navy-900); color: var(--slate-200);
  border: 1px solid var(--navy-800); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl); overflow: hidden;
  font-family: var(--font-mono); font-size: 0.8125rem;
}
.receipt-top {
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-md);
  padding: 12px 18px; background: var(--navy-950); border-bottom: 1px solid var(--navy-800);
}
.receipt-title { color: var(--slate-300); }
.receipt-flag {
  font-family: var(--font-sans); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.02em;
  color: #fde68a; border: 1px solid rgba(253, 230, 138, 0.5); border-radius: 999px; padding: 2px 8px;
}
.receipt-body { margin: 0; padding: 14px 18px 6px; }
.receipt-body > div {
  display: grid; grid-template-columns: 7.5rem 1fr; gap: 12px;
  padding: 7px 0; border-bottom: 1px dashed rgba(148, 163, 184, 0.22);
}
.receipt-body > div:last-child { border-bottom: 0; }
.receipt-body dt { color: var(--slate-400); }
.receipt-body dd { margin: 0; color: var(--slate-100); overflow-wrap: anywhere; }
.receipt-body dd.ok { color: var(--ok-on-dark); display: flex; gap: 6px; align-items: flex-start; }
.receipt-body dd.ok .icon { width: 1.1em; height: 1.1em; margin-top: 0.15em; stroke-width: 2.25; }
.receipt figcaption {
  font-family: var(--font-sans); font-size: 0.8125rem; color: var(--slate-400);
  padding: 10px 18px 14px; border-top: 1px solid var(--navy-800);
}

/* ---------- Sections ---------- */
.section { padding: var(--space-3xl) 0; }
.section-alt { background: var(--slate-50); border-top: 1px solid var(--slate-200); border-bottom: 1px solid var(--slate-200); }
.section-head { max-width: 46rem; margin-bottom: var(--space-2xl); }
.eyebrow {
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: var(--space-sm);
}
.section-lede { margin-top: var(--space-md); color: var(--slate-700); font-size: 1.125rem; }

.cards { display: grid; gap: var(--space-lg); grid-template-columns: 1fr; }
.card {
  background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius);
  padding: var(--space-lg); box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: var(--space-sm); }
.card p { color: var(--slate-700); }
.card-icon {
  display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: var(--space-md);
  border-radius: 10px; background: var(--accent-soft); color: var(--cta);
}
.card-icon .icon { width: 22px; height: 22px; }

/* Steps */
.steps { display: grid; gap: var(--space-md); grid-template-columns: 1fr; counter-reset: none; }
.step {
  position: relative; background: var(--white); border: 1px solid var(--slate-200);
  border-radius: var(--radius); padding: var(--space-lg);
}
.step h3 { display: flex; align-items: center; gap: 0.5rem; margin: var(--space-sm) 0 var(--space-xs); }
.step p { color: var(--slate-700); font-size: 0.9875rem; }
.step-icon { color: var(--cta); display: inline-flex; }
.step-icon .icon { width: 26px; height: 26px; }
.step-num {
  display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--navy-900); color: var(--white); font-size: 0.8125rem; font-weight: 700;
}

/* Pricing */
.pricing-wrap { display: grid; gap: var(--space-lg); grid-template-columns: 1fr; align-items: stretch; }
.table-scroll { overflow-x: auto; border: 1px solid var(--slate-200); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.price-table { width: 100%; border-collapse: collapse; font-size: 0.9875rem; }
.price-table th, .price-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--slate-200); vertical-align: top; }
.price-table tbody tr:last-child th, .price-table tbody tr:last-child td { border-bottom: 0; }
.price-table thead th { background: var(--slate-50); font-size: 0.9375rem; color: var(--navy-900); }
.price-table tbody th { font-weight: 600; color: var(--navy-900); white-space: nowrap; }
.price-table td strong { font-size: 1.125rem; color: var(--navy-900); }
.th-sub { display: block; font-weight: 500; font-size: 0.8125rem; color: var(--slate-600); }
.price-alt {
  display: flex; flex-direction: column; justify-content: center; gap: var(--space-sm);
  border: 1px solid var(--slate-200); border-left: 4px solid var(--cta); border-radius: var(--radius);
  padding: var(--space-lg); background: var(--white); box-shadow: var(--shadow-sm);
}
.price-alt-label { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.price-alt-value { font-size: 1.25rem; color: var(--navy-900); line-height: 1.35; }
.price-alt-value strong { font-size: 1.625rem; }
.fineprint { margin-top: var(--space-lg); font-size: 0.9375rem; color: var(--slate-600); max-width: 52rem; }

/* Trust / placeholders */
.qa h3 { margin-bottom: var(--space-sm); }
/* "Planned" / "Not yet" labels on the trust answers */
.fact-tag {
  display: inline-block; margin-bottom: var(--space-sm); padding: 2px 10px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase;
}
.fact-planned { background: var(--accent-soft); color: var(--cta); }     /* about 7:1 */
.fact-notyet { background: var(--slate-100); color: var(--slate-700); }  /* about 9:1 */
.todo {
  background: var(--todo-bg); color: var(--todo-text);
  border: 2px dashed var(--todo-border); border-radius: var(--radius-sm);
  padding: 12px 14px; font-size: 0.9375rem;
}
.todo p { color: var(--todo-text); }
.todo-tag {
  font-size: 0.75rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 4px;
}
.todo-inline { display: inline; padding: 1px 6px; border-width: 1px; font-size: 0.875rem; }
.todo-dark { margin-top: var(--space-lg); }

/* FAQ */
.faq { border-top: 1px solid var(--slate-200); }
.faq details { border-bottom: 1px solid var(--slate-200); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-md);
  min-height: 56px; padding: 14px 0; cursor: pointer; list-style: none;
  font-weight: 650; font-size: 1.0625rem; color: var(--navy-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--cta); }
.faq .chev { transition: transform 200ms ease; color: var(--slate-600); }
.faq details[open] .chev { transform: rotate(180deg); }
.faq-body { padding: 0 0 var(--space-lg); color: var(--slate-700); max-width: 44rem; }
.faq-body p + p { margin-top: var(--space-sm); }

/* Final CTA band */
.cta-band { background: var(--navy-900); color: var(--slate-200); }
.cta-band h2 { color: var(--white); }
.cta-band p { color: var(--slate-300); margin-top: var(--space-sm); }
.cta-band-inner { display: grid; gap: var(--space-xl); align-items: center; }
.ticks { margin-top: var(--space-lg); display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--slate-100); }
.ticks .icon { color: var(--ok-on-dark); margin-top: 0.2em; stroke-width: 2.25; }
.cta-band .cta-note { color: var(--slate-400); }
.cta-band .todo, .cta-band .todo p { color: var(--todo-text); }

/* Footer */
.site-footer { padding: var(--space-xl) 0; border-top: 1px solid var(--slate-200); font-size: 0.9375rem; color: var(--slate-600); }
.footer-inner { display: flex; flex-direction: column; gap: var(--space-sm); }

.noscript {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: var(--z-consent);
  background: var(--white); border: 1px solid var(--slate-300); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow-md);
}

/* ---------- Consent banner ---------- */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: var(--z-consent);
  max-width: 560px; margin-left: auto;
  background: var(--white); border: 1px solid var(--slate-300); border-radius: var(--radius);
  padding: var(--space-md) var(--space-lg); box-shadow: var(--shadow-md);
  display: grid; gap: var(--space-md); font-size: 0.9375rem;
}
.consent[hidden] { display: none; }
.consent-actions { display: flex; gap: var(--space-sm); flex-wrap: wrap; }

/* ---------- Form questions (survey and talk pages) ---------- */
.q { border: 0; margin: 0; padding: var(--space-md) 0; border-bottom: 1px solid var(--slate-100); min-width: 0; }
.q legend { float: left; width: 100%; }  /* removes the extra gap browsers leave under a fieldset legend */
.q legend + * { clear: both; }
.q legend, .legend-like {
  display: block; padding: 0; margin-bottom: var(--space-sm);
  font-weight: 650; color: var(--navy-900); font-size: 1rem; line-height: 1.4;
}
.qn {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 4px; margin-right: 6px;
  border-radius: 6px; background: var(--slate-100); color: var(--slate-700); font-size: 0.75rem; font-weight: 700; vertical-align: 1px;
}
.hint { font-size: 0.875rem; color: var(--slate-600); margin: -2px 0 var(--space-sm); }
.sublabel { display: block; font-size: 0.9375rem; font-weight: 600; color: var(--slate-700); margin: var(--space-sm) 0 6px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px;
  border: 1px solid var(--slate-300); border-radius: 10px; background: var(--white);
  font-size: 0.9375rem; line-height: 1.3; color: var(--navy-900);
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}
.chip:hover span { border-color: var(--slate-600); }
.chip input:checked + span { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
.chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.chip-check span::before {
  content: ""; width: 14px; height: 14px; margin-right: 8px; flex: none;
  border: 1.5px solid currentColor; border-radius: 4px;
}
.chip-check input:checked + span::before {
  background: var(--white); border-color: var(--white);
  box-shadow: inset 0 0 0 3px var(--navy-900);
}

input[type="text"], input[type="email"], input[type="number"], textarea, select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--navy-950);
  background: var(--white); border: 1px solid var(--slate-300); border-radius: 10px;
  min-height: 46px; padding: 10px 12px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
textarea { min-height: 88px; resize: vertical; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: none; border-color: var(--cta); box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.35); }
.reveal { margin-top: var(--space-sm); max-width: 28rem; }
.select-wrap { position: relative; max-width: 22rem; }
.select-wrap select { -webkit-appearance: none; appearance: none; padding-right: 40px; cursor: pointer; }
.select-wrap .icon { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--slate-600); }
#email { max-width: 28rem; }

input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--error); }
.is-invalid .chip span { border-color: #f87171; }
.field-error {
  display: flex; gap: 6px; align-items: center; margin-top: 8px;
  font-size: 0.875rem; font-weight: 600; color: var(--error);
}
.field-error[hidden] { display: none; }
.form-summary {
  margin-top: var(--space-md); padding: 12px 14px; border-radius: var(--radius-sm);
  background: var(--error-soft); color: var(--error); font-weight: 600; font-size: 0.9375rem;
  border: 1px solid #fecaca;
}
.form-summary[hidden] { display: none; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.apply-done { padding: var(--space-2xl) var(--space-lg); text-align: center; display: grid; justify-items: center; gap: var(--space-md); }
.apply-done[hidden] { display: none; }
.apply-done h2 { font-size: 1.5rem; }
.apply-done h2:focus { outline: none; }
.apply-done p { color: var(--slate-700); max-width: 30rem; }
.done-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #d1fae5; color: var(--ok); }
.done-icon .icon { width: 28px; height: 28px; stroke-width: 2.25; }

/* ---------- Debug panel (?debug=1) ---------- */
.debug-panel {
  position: fixed; left: 12px; bottom: 12px; z-index: var(--z-debug);
  width: min(420px, calc(100vw - 24px)); max-height: 40vh; overflow: auto;
  background: var(--navy-950); color: var(--slate-200); border-radius: var(--radius-sm);
  font: 12px/1.5 var(--font-mono); padding: 10px 12px; box-shadow: var(--shadow-xl);
}
.debug-panel b { color: #fde68a; font-weight: 700; }
.debug-panel .sent { color: var(--ok-on-dark); }
.debug-panel .blocked { color: #fca5a5; }

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .cards-concept, .cards-trust { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .site-nav { display: flex; }
}
@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step { padding: var(--space-md); }
  .section { padding: 5.5rem 0; }
}
@media (min-width: 1024px) {
  .hero { padding: var(--space-3xl) 0 5.5rem; }
  .hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: var(--space-3xl); }
  .cards-concept { grid-template-columns: repeat(3, 1fr); }
  .cards-trust { grid-template-columns: repeat(3, 1fr); }
  .pricing-wrap { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
  .cta-band-inner { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .cta-band-action { justify-self: end; text-align: right; }
}

/* Small phones: full-screen form */
@media (max-width: 639px) {
  .container { padding: 0 var(--space-md); }
  .price-table th, .price-table td { padding: 12px 10px; }
  .price-table tbody th { white-space: normal; }
  .receipt-body > div { grid-template-columns: 6.25rem 1fr; }
  .brand-tag { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Privacy notice (simple document page) ---------- */
.doc h1 { font-size: clamp(2rem, 1.4rem + 2vw, 2.75rem); font-weight: 800; letter-spacing: -0.03em; margin: var(--space-xl) 0 var(--space-sm); }
.doc h2 { font-size: 1.375rem; margin: var(--space-xl) 0 var(--space-sm); }
.doc h3 { font-size: 1.0625rem; margin: var(--space-lg) 0 var(--space-xs); }
.doc p, .doc li { color: var(--slate-700); }
.doc p + p { margin-top: var(--space-sm); }
.doc ul { padding-left: 1.25rem; margin: var(--space-sm) 0; }
.doc code { font-family: var(--font-mono); font-size: 0.9em; background: var(--slate-100); padding: 1px 5px; border-radius: 4px; }

/* ---------- Talk to a human ---------- */
.talk-note { margin-top: var(--space-sm); font-size: 0.9375rem; color: var(--slate-600); max-width: 38rem; }
.talk-note-form {
  max-width: none; margin-top: var(--space-md); padding: 12px 14px;
  background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: var(--radius-sm); color: var(--slate-700);
}
.talk { font-weight: 650; white-space: nowrap; }
.cta-band .talk { color: #7dd3fc; }            /* sky-300 on navy, about 10:1 */
.cta-band .talk:hover { color: var(--white); }
/* Placeholder links (data-todo). The badge disappears once data-todo is removed from the link. */
a[data-todo]::after {
  content: "link to confirm"; display: inline-block; margin-left: 6px; padding: 0 6px;
  font-size: 0.75rem; font-weight: 700; line-height: 1.6; text-decoration: none;
  color: var(--todo-text); background: var(--todo-bg);
  border: 1px dashed var(--todo-border); border-radius: 4px;
}
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: var(--z-debug);
  width: max-content; max-width: calc(100vw - 32px);
  background: var(--navy-900); color: var(--white); border-radius: var(--radius-sm);
  padding: 12px 16px; font-size: 0.9375rem; box-shadow: var(--shadow-md);
}
.toast[hidden] { display: none; }

/* ---------- Next steps (after the survey or a talk request) ---------- */
.next-steps { display: grid; gap: 10px; width: 100%; max-width: 34rem; text-align: left; margin: var(--space-sm) 0; }
.next-step {
  display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px;
  border: 1px solid var(--slate-300); border-radius: var(--radius); background: var(--white);
  color: var(--navy-900); text-decoration: none; cursor: pointer;
  transition: border-color 200ms ease, background-color 200ms ease;
}
.next-step:hover { border-color: var(--cta); background: var(--slate-50); color: var(--navy-900); }
.next-steps li:first-child .next-step { border: 2px solid var(--cta); }
.next-num {
  display: inline-grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 50%;
  background: var(--navy-900); color: var(--white); font-size: 0.8125rem; font-weight: 700;
}
.next-text { display: grid; gap: 2px; }
.next-title { font-weight: 650; line-height: 1.35; }
.next-desc { font-size: 0.875rem; color: var(--slate-600); line-height: 1.45; }
.next-step[data-todo]::after { align-self: center; flex: none; }
.apply-done { overflow-y: auto; }

/* ---------- Survey page (/survey) ---------- */
.survey-title { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: var(--space-sm); }
.survey-privacy { margin-top: var(--space-sm); }
.survey-next { margin-top: var(--space-2xl); }
.survey-next h2 { font-size: 1.375rem; margin-bottom: var(--space-md); }
.survey-next .next-steps { max-width: none; }
.next-step-static { cursor: default; }
.next-step-static:hover { border-color: var(--slate-300); background: var(--white); }
.next-step-static .next-num { background: var(--slate-600); }

/* ---------- Survey and talk request pages (full-page forms) ---------- */
.form-page .form-intro { margin-bottom: var(--space-lg); }
.s-part { margin-top: var(--space-2xl); }
.s-part > h2 {
  display: flex; align-items: center; gap: 10px; font-size: 1.25rem;
  padding-bottom: var(--space-sm); border-bottom: 2px solid var(--navy-900);
}
.part-letter {
  display: inline-grid; place-items: center; width: 28px; height: 28px; flex: none;
  border-radius: var(--radius-sm); background: var(--navy-900); color: var(--white); font-size: 0.875rem;
}
.s-part .q:last-child { border-bottom: 0; }
.field { display: grid; gap: 6px; padding: var(--space-md) 0; border-bottom: 1px solid var(--slate-100); }
.field .legend-like { margin: 0; }
.field input, .field textarea { max-width: 34rem; }
.opt { font-weight: 500; color: var(--slate-600); }

.money { position: relative; display: inline-flex; align-items: center; }
.money-sign { position: absolute; left: 12px; color: var(--slate-600); pointer-events: none; }
.money input { width: 8.5rem; padding-left: 26px; }
.money-unit { margin-left: 8px; font-size: 0.875rem; color: var(--slate-600); }
input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
input[type="number"]::-webkit-outer-spin-button, input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.split { display: grid; gap: 8px; margin-top: var(--space-sm); }
.split-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center;
  padding: 10px 12px; border: 1px solid var(--slate-200); border-radius: var(--radius-sm); background: var(--white);
}
.split-row .money input { width: 6.5rem; }
.split-name { display: block; font-weight: 650; color: var(--navy-900); }
.split-desc { display: block; font-size: 0.875rem; color: var(--slate-600); }
.split-total {
  position: sticky; bottom: 0; margin-top: var(--space-sm); padding: 10px 12px;
  border-radius: var(--radius-sm); background: var(--navy-900); color: var(--white); font-weight: 650;
}
.split-total.is-ok { background: var(--ok); }
.split-total.is-over { background: var(--error); }

.price-list { display: grid; gap: var(--space-md); margin-top: var(--space-sm); }
.price-q { display: grid; gap: 6px; }
.price-q label { font-weight: 600; color: var(--slate-700); }
.band {
  margin-top: var(--space-md); padding: 12px 14px; border-radius: var(--radius-sm);
  background: var(--accent-soft); color: var(--navy-900);
}
.band strong { color: var(--navy-900); }

.form-actions { display: grid; gap: var(--space-md); padding-top: var(--space-xl); }
.form-actions .btn { width: 100%; }
@media (min-width: 640px) {
  .form-actions { grid-template-columns: auto 1fr; align-items: center; }
  .form-actions .btn { width: auto; }
}
.page-done { margin-top: var(--space-xl); padding: var(--space-2xl) var(--space-lg); border: 1px solid var(--slate-200); border-radius: var(--radius-lg); background: var(--slate-50); }
.page-done:focus-within h2:focus { outline: none; }
.page-done .next-steps { margin-left: auto; margin-right: auto; }

/* ---------- Legal and payment lines (owner rule R12: the legal entity is named only in these) ---------- */
.legal-line { color: var(--slate-700); }

/* ---------- Early-access bar in the sticky header ("Early access · Free for up to 3 servers") ---------- */
.early-access {
  height: var(--ea-h); line-height: var(--ea-h); margin: 0; padding: 0 var(--space-md);
  background: var(--navy-900); color: var(--white); text-align: center;
  font-size: 0.8125rem; font-weight: 650; letter-spacing: 0.02em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ea-dot {
  display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%;
  background: var(--ok-on-dark); vertical-align: 1px;
}

/* ------------------------------------------------------------------ /proof (Patch Proof) */
.proof-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: var(--space-md) 0 var(--space-sm); }
.proof-facts span {
  padding: 4px 12px; border-radius: 999px; background: #d1fae5; color: var(--ok);
  font-size: 0.8125rem; font-weight: 700;
}
.proof-step { padding: var(--space-xl) 0; border-top: 1px solid var(--slate-200); }
.proof-step h2, .proof-result > h2 { display: flex; align-items: center; gap: 0.6rem; font-size: 1.375rem; margin-bottom: var(--space-md); }
.proof-step p + p, .proof-step pre + p { margin-top: var(--space-sm); }
.proof-result h3, .proof-cta h3 { font-size: 1.125rem; margin: var(--space-lg) 0 var(--space-sm); }
.code-block {
  margin: var(--space-md) 0; padding: var(--space-md); overflow-x: auto; border-radius: var(--radius);
  background: var(--navy-900); color: #e2e8f0; font-size: 0.875rem; line-height: 1.55;
}
.code-block code { background: none; color: inherit; padding: 0; white-space: pre; }
code, .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; }
p code, li code, td code, th code, label code { font-size: 0.875em; background: var(--slate-100); padding: 1px 5px; border-radius: 4px; }
textarea.mono { font-size: 0.8125rem; min-height: 200px; max-width: 100%; }
.proof-script summary { cursor: pointer; color: var(--accent); font-weight: 600; margin-top: var(--space-sm); }
.proof-script .code-block { max-height: 28rem; }
.proof-result { padding: var(--space-xl) 0; border-top: 1px solid var(--slate-200); }
.proof-result[hidden] { display: none; }
.proof-result > h2:focus { outline: none; }
.proof-meta { color: var(--slate-700); }
.proof-tiles { display: grid; gap: var(--space-md); grid-template-columns: repeat(2, minmax(0, 1fr)); margin: var(--space-lg) 0 var(--space-sm); }
@media (min-width: 760px) { .proof-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.proof-tile {
  display: grid; gap: 6px; padding: var(--space-md); border-radius: var(--radius);
  border: 1px solid var(--slate-200); background: var(--white); box-shadow: var(--shadow-sm);
}
.tile-num { font-size: 1.75rem; font-weight: 800; line-height: 1.1; color: var(--navy-900); }
.tile-label { font-size: 0.8125rem; color: var(--slate-700); }
.tile-open { border-top: 4px solid var(--error); }
.tile-notrunning { border-top: 4px solid #b45309; }
.tile-backport { border-top: 4px solid var(--accent); }
.tile-nofix { border-top: 4px solid var(--slate-400); }
.proof-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.proof-table th, .proof-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--slate-100); vertical-align: top; }
.proof-table thead th { background: var(--slate-50); font-size: 0.8125rem; color: var(--slate-700); }
.proof-table tbody th { font-weight: 600; }
.proof-warnings { margin: var(--space-md) 0 0 1.25rem; color: var(--slate-700); font-size: 0.9375rem; }
.proof-warnings[hidden], #open-block[hidden], #notrunning-block[hidden], #open-more[hidden] { display: none; }
.proof-download { margin-top: var(--space-xl); display: grid; gap: var(--space-sm); justify-items: start; }
.proof-download code { word-break: break-all; }
.proof-cta { margin-top: var(--space-xl); padding: var(--space-lg); border-radius: var(--radius); background: var(--slate-50); border: 1px solid var(--slate-200); }
.proof-cta h3 { margin-top: 0; }
.proof-cta p + p { margin-top: var(--space-md); }
.proof-cta .btn + .btn { margin-left: var(--space-sm); }

/* Patch Proof on the homepage: menu item, hero tag, section */
.site-nav a.nav-proof {
  color: var(--ok); font-weight: 700; padding: 6px 12px; border-radius: 999px;
  background: #d1fae5; text-decoration: none;
}
.site-nav a.nav-proof:hover { background: #a7f3d0; color: #065f46; text-decoration: none; }
.proof-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.proof-note a { font-weight: 600; }
.free-tag {
  padding: 2px 10px; border-radius: 999px; background: #d1fae5; color: var(--ok);
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
}
.proof-band { border-top: 1px solid var(--slate-200); }
.proof-band-grid { display: grid; gap: var(--space-2xl); align-items: center; }
@media (min-width: 900px) { .proof-band-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } }
.proof-points { list-style: none; margin: var(--space-lg) 0 0; padding: 0; display: grid; gap: var(--space-sm); }
.proof-points li { display: flex; gap: 10px; align-items: flex-start; color: var(--slate-700); }
.proof-points .icon { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--ok); stroke-width: 2.25; }
.proof-band-cta { margin: var(--space-xl) 0 var(--space-sm); }
.proof-example {
  margin: 0; padding: var(--space-lg); border-radius: var(--radius); background: var(--navy-900); color: #e2e8f0;
  box-shadow: var(--shadow-sm);
}
.proof-example figcaption { font-size: 0.8125rem; font-weight: 700; color: var(--ok-on-dark); text-transform: uppercase; letter-spacing: 0.04em; }
.proof-example dl { margin: var(--space-md) 0; display: grid; gap: var(--space-md); }
.proof-example dl div { padding: var(--space-md); border-radius: var(--radius); background: rgba(255, 255, 255, 0.06); }
.proof-example dt { font-size: 0.875rem; color: var(--slate-300); }
.proof-example dd { margin: 4px 0 0; font-size: 1rem; color: var(--white); }
.proof-example dd strong { font-size: 1.5rem; font-weight: 800; color: var(--white); }
.proof-example code { background: rgba(255, 255, 255, 0.1); color: inherit; }
.proof-example .muted { color: var(--slate-400); }

/* ------------------------------------------------------------------ Launch page (landing-launch draft) */
/* Grid children with long code lines must be allowed to shrink, or they push the page sideways on phones. */
.cards > *, .proof-band-grid > *, .setup-grid > *, .price-cards > * { min-width: 0; }

/* How it works: six steps, then the two setup commands */
.setup-grid { display: grid; gap: var(--space-lg); margin-top: var(--space-2xl); }
.setup {
  background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius);
  padding: var(--space-lg); box-shadow: var(--shadow-sm);
}
.setup-title { display: flex; align-items: center; gap: 0.5rem; }
.setup-title .icon { color: var(--cta); }
.setup .code-block { margin: var(--space-md) 0 var(--space-sm); font-size: 0.8125rem; }
@media (min-width: 1024px) { .setup-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Features (v1 only) and "coming next" */
@media (min-width: 640px) { .cards-features, .cards-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .cards-features { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.coming-next {
  margin-top: var(--space-2xl); padding: var(--space-lg); border-radius: var(--radius);
  border: 1px dashed var(--slate-300); background: var(--slate-50);
}
.coming-next h3 { margin-bottom: var(--space-md); }
.coming-note { font-weight: 500; font-size: 0.9375rem; color: var(--slate-600); }
.coming-next .next-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--space-md); }
.next-chips li {
  padding: 6px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--slate-300);
  color: var(--slate-700); font-size: 0.9375rem; font-weight: 550;
}

/* Pricing cards */
.price-cards { display: grid; gap: var(--space-lg); align-items: stretch; }
.price-card {
  display: flex; flex-direction: column; gap: var(--space-sm);
  background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg); box-shadow: var(--shadow-sm);
}
.price-card-main { border: 2px solid var(--cta); box-shadow: var(--shadow-md); }
.price-name { font-size: 0.8125rem; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.price-amount { color: var(--slate-700); }
.price-amount strong { font-size: 3rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--navy-900); margin-right: 4px; }
.price-scope { font-weight: 650; color: var(--navy-900); }
.price-card .ticks-list { display: grid; gap: 8px; margin: var(--space-sm) 0 var(--space-lg); }
.ticks-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--slate-700); }
.ticks-list .icon { color: var(--ok); margin-top: 0.2em; stroke-width: 2.25; }
.price-card .btn { margin-top: auto; }
.price-examples { display: grid; gap: var(--space-sm); align-content: start; }
.price-table caption { text-align: left; padding: 12px 16px 0; font-weight: 700; color: var(--navy-900); }
.price-table td, .price-table th { font-variant-numeric: tabular-nums; }
@media (min-width: 768px) { .price-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .price-examples { grid-column: 1 / -1; max-width: 26rem; } }
@media (min-width: 1100px) { .price-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } .price-examples { grid-column: auto; max-width: none; } }

/* Free tools */
.tool-status {
  display: inline-block; margin-bottom: var(--space-sm); padding: 2px 10px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase;
}
.tool-live { background: #d1fae5; color: var(--ok); }               /* about 5.9:1 */
.tool-soon { background: var(--slate-100); color: var(--slate-700); }
.tool-title { font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.5rem); margin-bottom: var(--space-sm); }
.tool-feature > p { color: var(--slate-700); }
.tool-feature .code-block, .tool-card .code-block { font-size: 0.8125rem; }
.tool-links { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin: var(--space-md) 0 var(--space-sm); }
.cards-tools { margin-top: var(--space-2xl); }
.tool-card { display: flex; flex-direction: column; }
.tool-card h3 { font-family: var(--font-mono); font-size: 1.0625rem; }
.tool-card .tool-links { margin-top: auto; padding-top: var(--space-sm); }

/* Trust: three groups of answers, each with a label */
.trust-group { font-size: 1.25rem; margin: var(--space-2xl) 0 var(--space-md); }
.trust-group:first-of-type { margin-top: 0; }
.qa h4 { font-size: 1.0625rem; font-weight: 650; line-height: 1.3; color: var(--navy-900); margin: 0 0 var(--space-sm); }
.fact-v1 { background: #d1fae5; color: var(--ok); }                  /* about 5.9:1 */
.fact-no { background: var(--slate-100); color: var(--slate-700); }
.fact-next { background: #fef3c7; color: #92400e; }                  /* about 6.4:1 */

/* Talk page: the early-access mode swaps the intro (js/talk.js) */
[data-mode][hidden] { display: none; }

/* Privacy notice: the DRAFT section for the app (owner and lawyer review) */
.draft-section {
  margin: var(--space-2xl) 0; padding: var(--space-lg); border-radius: var(--radius);
  background: var(--todo-bg); border: 2px dashed var(--todo-border);
}
.draft-section h2 { margin-top: var(--space-sm); }
.draft-tag {
  display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--white);
  border: 1px solid var(--todo-border); color: var(--todo-text);
  font-size: 0.75rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
}
.doc .draft-section p, .doc .draft-section li { color: var(--navy-900); }
/* Install commands on the home page wrap, so the whole command is visible (copying keeps it one line). */
.setup .code-block code, .tool-feature .code-block code, .tool-card .code-block code { white-space: pre-wrap; overflow-wrap: anywhere; }
.tool-card .tool-status { align-self: flex-start; }
.tool-feature .proof-points { margin: var(--space-md) 0; }

/* Interim build (landing-interim): four steps, a single setup card, the allowlist figure, rolling-out cards */
@media (min-width: 640px) { .steps-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.setup-grid > :only-child { grid-column: 1 / -1; }
.receipt-code { margin: 0; padding: 16px 18px; overflow-x: auto; font-size: 0.875rem; line-height: 1.65; color: var(--slate-100); }
.receipt-code code { white-space: pre-wrap; overflow-wrap: anywhere; font-family: var(--font-mono); }
.receipt-code .c { color: var(--slate-400); }
.receipt-code .k { color: #7dd3fc; }
.receipt-code .v { color: var(--ok-on-dark); }
.receipt-code .off { color: #fca5a5; }
.price-note {
  margin-top: var(--space-md); display: inline-block; padding: 8px 14px; border-radius: var(--radius-sm);
  background: #d1fae5; color: #065f46; font-weight: 650;
}
.rolling-card .tool-status { align-self: flex-start; }
.rolling-card { display: flex; flex-direction: column; }
.receipt-flag { white-space: nowrap; flex: none; }
.receipt-top { flex-wrap: wrap; row-gap: 6px; }

/* ---------- Guides (/guides/): article pages built by tools/build-content.py ---------- */
.guide { padding: var(--space-xl) 0 var(--space-3xl); }
.crumbs { font-size: 0.875rem; color: var(--slate-600); margin-bottom: var(--space-md); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--slate-400); }
.guide h1 { font-size: clamp(1.875rem, 1.3rem + 2.2vw, 2.75rem); font-weight: 780; letter-spacing: -0.03em; }
.guide-meta { margin-top: var(--space-sm); font-size: 0.875rem; color: var(--slate-600); }
.guide-meta span + span::before { content: "·"; margin: 0 8px; color: var(--slate-400); }
.short-answer {
  margin: var(--space-lg) 0; padding: var(--space-md) var(--space-lg); border-left: 4px solid var(--accent);
  background: var(--accent-soft); border-radius: 0 var(--radius) var(--radius) 0; color: var(--navy-900);
}
.short-answer p + p, .short-answer p + ul, .short-answer ul + p { margin-top: var(--space-sm); }
.short-answer ul { margin: 0; padding-left: 1.25rem; }
.toc { margin: var(--space-lg) 0; padding: var(--space-md) var(--space-lg); border: 1px solid var(--slate-200); border-radius: var(--radius); background: var(--slate-50); }
.toc h2 { font-size: 0.9375rem; letter-spacing: 0; font-weight: 700; color: var(--slate-700); }
.toc ol { margin: var(--space-sm) 0 0; padding-left: 1.25rem; font-size: 0.9375rem; }
.toc li + li { margin-top: 4px; }
.prose { color: var(--navy-950); }
.prose > * + * { margin-top: var(--space-md); }
.prose h2 { margin-top: var(--space-2xl); font-size: clamp(1.375rem, 1.1rem + 1.1vw, 1.75rem); font-weight: 740; }
.prose h3 { margin-top: var(--space-xl); font-size: 1.1875rem; }
.prose h2 + *, .prose h3 + * { margin-top: var(--space-sm); }
.prose ul, .prose ol { padding-left: 1.4rem; margin-bottom: 0; }
.prose li + li { margin-top: 6px; }
.prose .code-block { margin: var(--space-md) 0; }
.prose .code-block + p { margin-top: var(--space-sm); }
.prose .note { padding: var(--space-md); border-radius: var(--radius); background: var(--slate-50); border: 1px solid var(--slate-200); font-size: 0.9875rem; }
.prose .note-warn { background: var(--todo-bg); border-color: var(--todo-border); }
.prose .table-scroll { margin: var(--space-md) 0; }
.guide-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.guide-table th, .guide-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--slate-200); vertical-align: top; }
.guide-table thead th { background: var(--slate-50); color: var(--navy-900); font-size: 0.875rem; }
.guide-table tbody tr:last-child th, .guide-table tbody tr:last-child td { border-bottom: 0; }
.guide-table tbody th { font-weight: 600; color: var(--navy-900); }
.tested { margin-top: var(--space-2xl); padding: var(--space-md) var(--space-lg); border: 1px solid var(--slate-200); border-radius: var(--radius); font-size: 0.9375rem; color: var(--slate-700); }
.tested strong { color: var(--navy-900); }
.guide-cta { margin-top: var(--space-2xl); padding: var(--space-lg); border-radius: var(--radius-lg); background: var(--navy-900); color: var(--slate-200); }
.guide-cta h2 { color: var(--white); font-size: 1.375rem; margin: 0; }
.guide-cta p { margin-top: var(--space-sm); }
.guide-cta .cta-row { margin-top: var(--space-md); display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.guide-cta a:not(.btn) { color: var(--ok-on-dark); }
.guide-faq { margin-top: var(--space-2xl); }
.guide-faq h2 { margin-bottom: var(--space-md); }
.sources { margin-top: var(--space-2xl); font-size: 0.9375rem; }
.sources ol { padding-left: 1.4rem; margin: var(--space-sm) 0 0; }
.sources li + li { margin-top: 4px; }
.sources li { overflow-wrap: anywhere; }
.related { margin-top: var(--space-2xl); }
.related ul { list-style: none; padding: 0; margin: var(--space-sm) 0 0; display: grid; gap: var(--space-sm); }
@media (min-width: 640px) { .related ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.related a { display: block; padding: 12px 14px; border: 1px solid var(--slate-200); border-radius: var(--radius); text-decoration: none; font-weight: 600; }
.related a:hover { border-color: var(--accent); background: var(--accent-soft); }
.related .rel-desc { display: block; margin-top: 2px; font-weight: 400; font-size: 0.875rem; color: var(--slate-600); }
.guides-hub .hub-section + .hub-section { margin-top: var(--space-2xl); }
.guides-hub h2 { font-size: 1.375rem; }
.guides-hub ul { list-style: none; padding: 0; margin: var(--space-md) 0 0; display: grid; gap: var(--space-sm); }
@media (min-width: 760px) { .guides-hub ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.guides-hub a { display: block; height: 100%; padding: 14px 16px; border: 1px solid var(--slate-200); border-radius: var(--radius); text-decoration: none; font-weight: 650; }
.guides-hub a:hover { border-color: var(--accent); background: var(--accent-soft); }
.guides-hub .rel-desc { display: block; margin-top: 4px; font-weight: 400; font-size: 0.9375rem; color: var(--slate-600); }
.prose p code, .prose li code, .prose td code, .short-answer code, .faq-body code { overflow-wrap: anywhere; }

/* ---------- Tool pages (/tools/) ---------- */
.tool-page .eyebrow { margin-bottom: var(--space-sm); }
.tool-tagline { margin-top: var(--space-sm); font-size: 1.1875rem; color: var(--slate-700); }
.tool-install { margin-top: var(--space-lg); }
.tool-install .code-block { margin: 0; }
.tool-install .cta-row { margin-top: var(--space-md); display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.tool-facts { margin: var(--space-lg) 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--space-sm); }
.tool-facts div { padding: 10px 12px; border: 1px solid var(--slate-200); border-radius: var(--radius); background: var(--slate-50); }
.tool-facts dt { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--slate-600); }
.tool-facts dd { margin: 2px 0 0; font-size: 0.9375rem; color: var(--navy-900); overflow-wrap: anywhere; }
.prose figure.diagram { margin: var(--space-lg) 0; padding: var(--space-md); border: 1px solid var(--slate-200); border-radius: var(--radius); background: var(--white); }
.prose figure.diagram svg { display: block; width: 100%; height: auto; }
.prose figure.diagram figcaption { margin-top: var(--space-sm); font-size: 0.875rem; color: var(--slate-600); }

/* ---------- Best-of pages (/best/) ---------- */
.disclosure { margin: var(--space-md) 0; padding: 12px 16px; border: 1px solid var(--slate-200); border-radius: var(--radius); background: var(--slate-50); font-size: 0.9375rem; color: var(--slate-700); }
.badge-ours { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--cta); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.02em; vertical-align: middle; }
.picks-top { list-style: none; padding: 0; margin: var(--space-md) 0 0; display: grid; gap: var(--space-sm); }
@media (min-width: 760px) { .picks-top { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.picks-top a { display: block; height: 100%; padding: 14px 16px; border: 1px solid var(--slate-200); border-radius: var(--radius); text-decoration: none; font-weight: 650; }
.picks-top a:hover { border-color: var(--accent); background: var(--accent-soft); }
.picks-top .rel-desc { display: block; margin-top: 4px; font-weight: 400; font-size: 0.9375rem; color: var(--slate-600); }
.pick-rank { display: inline-grid; place-items: center; min-width: 1.75rem; height: 1.75rem; margin-right: 6px; border-radius: 999px; background: var(--navy-900); color: var(--white); font-size: 0.875rem; font-weight: 700; }
.pick { margin-top: var(--space-xl); padding: var(--space-lg); border: 1px solid var(--slate-200); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.pick h3 { margin: 0; font-size: 1.3125rem; }
.pick-best { margin-top: var(--space-sm); }
.pick-verdict { margin-top: var(--space-sm); }
.pick-verdict p + p { margin-top: var(--space-sm); }
.pick-facts { margin: var(--space-md) 0 0; display: grid; gap: var(--space-sm); grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.pick-facts div { padding: 8px 12px; border-radius: var(--radius-sm); background: var(--slate-50); }
.pick-facts dt { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--slate-600); }
.pick-facts dd { margin: 2px 0 0; font-size: 0.9375rem; overflow-wrap: anywhere; }
.pick-pc { margin-top: var(--space-md); display: grid; gap: var(--space-md); }
@media (min-width: 640px) { .pick-pc { grid-template-columns: 1fr 1fr; } }
.pick-pc h4 { margin: 0; font-size: 0.9375rem; }
.pick-pc ul { margin: 6px 0 0; padding-left: 1.2rem; font-size: 0.9375rem; }
.pick-pc li + li { margin-top: 4px; }
.pick-tested { margin-top: var(--space-md); font-size: 0.9375rem; }
.pick-link { margin-top: var(--space-sm); font-size: 0.9375rem; }
/* Diagrams keep readable text on phones: below 640px they scroll sideways inside the figure instead of shrinking. */
@media (max-width: 639px) {
  .prose figure.diagram { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .prose figure.diagram svg { min-width: 560px; }
}
/* Rank numbers come from counters so a ranking renumbers itself when an unapproved item is left out. */
.ranking { counter-reset: rank; }
.ranking .pick { counter-increment: rank; }
.ranking .pick-rank::before { content: counter(rank); }
.picks-top { counter-reset: pick; }
.picks-top li { counter-increment: pick; }
.picks-top .pick-rank::before { content: counter(pick); }
.pick h3 .pick-rank { margin-right: 10px; }

/* One header on every page (tools/site-header.html). Keep it on one line at laptop widths.
   The nav carries seven links (Product, How it works, Pricing, Security | Guides, Best tools,
   Free tools), so the row tightens between 900px and 1259px. */
.site-nav a, .brand-tag, .header-inner .btn { white-space: nowrap; }
.site-nav a[aria-current="page"] { color: var(--navy-900); font-weight: 700; }
@media (min-width: 900px) and (max-width: 1259px) {
  .site-nav { gap: 0.85rem; }
  .site-nav a { font-size: 0.8125rem; padding: 10px 1px; }
  .brand-tag { display: none; }
  .nav-divider { display: none; }
}

/* ---------- Explainer video in "How it works" (phase "video"; media/explainer/ is the source) ---------- */
.explainer { margin: var(--space-2xl) 0 0; min-width: 0; }
.explainer-title { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-bottom: var(--space-md); }
.explainer-title .icon { color: var(--cta); }
.explainer-meta { font-size: 0.9375rem; font-weight: 550; color: var(--slate-600); }
.explainer-frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden;
  background: var(--navy-900); border: 1px solid var(--navy-800); border-radius: var(--radius-lg); box-shadow: var(--shadow-xl);
}
.explainer-video { display: block; width: 100%; height: 100%; object-fit: contain; background: var(--navy-900); }
/* The big play button sits over the empty right side of the poster (the title is on the left, up to about 79%). */
.explainer-play {
  position: absolute; left: 88%; top: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 84px; height: 84px; padding: 0;
  border: 0; border-radius: 50%; cursor: pointer;
  background: var(--white); color: var(--cta); box-shadow: 0 10px 30px rgba(2, 6, 23, 0.45);
  transition: background-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
}
.explainer-play .icon { width: 36px; height: 36px; margin-left: 5px; fill: currentColor; stroke: currentColor; }
.explainer-play:hover { background: var(--accent-soft); color: var(--cta-hover); }
.explainer-play:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 50%; }
.explainer-play[hidden] { display: none; }
.explainer-cap { margin-top: var(--space-sm); font-size: 0.9375rem; color: var(--slate-600); }
.explainer-text { margin-top: var(--space-sm); border-top: 1px solid var(--slate-200); border-bottom: 1px solid var(--slate-200); }
.explainer-text summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-md);
  min-height: 48px; cursor: pointer; list-style: none; font-weight: 650; color: var(--navy-900);
}
.explainer-text summary::-webkit-details-marker { display: none; }
.explainer-text summary:hover { color: var(--cta); }
.explainer-text .chev { transition: transform 200ms ease; color: var(--slate-600); }
.explainer-text[open] .chev { transform: rotate(180deg); }
.explainer-text ol { margin: 0 0 var(--space-lg); padding-left: 1.25rem; display: grid; gap: var(--space-sm); color: var(--slate-700); max-width: 46rem; }
@media (max-width: 639px) {
  .explainer-play { width: 64px; height: 64px; }
  .explainer-play .icon { width: 28px; height: 28px; margin-left: 4px; }
}

/* --- Header nav grouping + accessible mobile menu + Roadmap tiers (15 Nov 2026) --- */
.nav-divider { display: none; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; padding: 0;
  border: 1px solid var(--slate-200); border-radius: 10px;
  background: #fff; color: var(--navy-900); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; display: block; }
.nav-toggle .nav-toggle-x { display: none; }
.nav-toggle[aria-expanded="true"] > svg { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-x { display: block; }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav-divider { display: inline-block; width: 1px; height: 18px; background: var(--slate-200); margin: 0 0.15rem; }
}
@media (max-width: 899px) {
  .site-header.nav-open .site-nav {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--slate-200);
    padding: var(--space-md); gap: 2px; box-shadow: 0 10px 24px rgba(2, 6, 23, 0.10);
  }
  .site-header.nav-open .site-nav a { padding: 12px 10px; border-radius: 8px; font-size: 1rem; }
  .site-header.nav-open .site-nav a:hover { background: var(--slate-50); text-decoration: none; }
  .site-header.nav-open .nav-divider { display: none; }
}
.roadmap-tier { margin-top: var(--space-xl); }
.roadmap-tier:first-of-type { margin-top: 0; }
.roadmap-tier-title { display: flex; align-items: center; gap: 0.5rem; font-size: 1.0625rem; font-weight: 700; color: var(--navy-900); margin: 0 0 var(--space-md); }
.roadmap-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.roadmap-dot-now { background: var(--ok); }
.roadmap-dot-soon { background: #d97706; }
.roadmap-dot-later { background: var(--slate-400); }

/* ================================================================================
   v3 DESIGN UPGRADE (16 Nov 2026) — new components layered on the existing system.
   Theming (fonts, depth, background, ink buttons) is done in the tokens above, so
   every page already benefits. The classes below are NEW (no collision with the
   existing vocabulary) and are used by the home hero and the dedicated pages
   /how-it-works/, /pricing/, /product/, /security/. All CSP-safe: no inline code.
   ================================================================================ */

/* Card gets a subtle lift on hover (applies site-wide, including guides/tools/best). */
.card { transition: transform 180ms ease, box-shadow 200ms ease, border-color 200ms ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--slate-300); }

/* Section kicker + display helpers */
.kicker { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--sky-700); }
.display { font-size: clamp(2.5rem, 1.55rem + 3.7vw, 3.9rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
.display .u, .hl-main .u { background: linear-gradient(90deg, var(--sky-700), var(--emerald)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.serif { font-family: var(--font-serif); font-weight: 500; letter-spacing: -0.01em; }
.micro { margin-top: var(--space-md); font-size: 0.92rem; color: var(--slate-600); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.micro .c { color: var(--emerald); display: inline-flex; }
.micro .sep { color: var(--slate-300); }

/* Collision-free responsive card grids for the dedicated pages */
.grid-cards { display: grid; gap: var(--space-lg); grid-template-columns: 1fr; }
@media (min-width: 680px) { .grid-cards.g2, .grid-cards.g3, .grid-cards.g4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-cards.g3 { grid-template-columns: repeat(3, 1fr); } .grid-cards.g4 { grid-template-columns: repeat(4, 1fr); } }

/* Emerald icon chip used on the new cards (distinct from .card-icon's sky chip) */
.chip-ic { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--emerald-50); border: 1px solid var(--emerald-100); color: var(--emerald); margin-bottom: var(--space-md); }
.chip-ic .icon { width: 20px; height: 20px; }

/* ---------- Animated terminal (replaces the static receipt look; CSS-only, CSP-safe) ---------- */
.term {
  margin: 0; background: linear-gradient(180deg, #0c1322, #0a101e);
  border: 1px solid #243147; border-radius: var(--radius-lg);
  box-shadow: 0 0 0 1px rgba(5, 150, 105, 0.12), var(--shadow-lg);
  overflow: hidden; font-family: var(--font-mono); color: #cbd5e1;
}
.term-bar { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-bottom: 1px solid #1e293b; background: rgba(255, 255, 255, 0.02); }
.term-bar .d { width: 11px; height: 11px; border-radius: 50%; }
.term-bar .d1 { background: #ff5f57; } .term-bar .d2 { background: #febc2e; } .term-bar .d3 { background: #28c840; }
.term-bar .name { margin-left: 8px; font-size: 0.76rem; color: #64748b; }
.term-body { padding: 16px; font-size: 0.8rem; line-height: 1.95; min-height: 300px; }
.term-body .ln { display: block; opacity: 1; white-space: pre-wrap; }
.term .p { color: #34d399; } .term .k { color: #38bdf8; } .term .cmt { color: #5b6b86; }
.term .off { color: var(--amber-400); } .term .mut { color: #64748b; } .term .em { color: #e2e8f0; }
.okline { display: inline-flex; align-items: center; gap: 6px; color: #34d399; }
.okline .icon { width: 1em; height: 1em; stroke-width: 2.5; }
.term .hl { display: block; background: rgba(251, 191, 36, 0.08); margin: 0 -16px; padding: 0 16px; border-left: 2px solid var(--amber-400); }
.cursor { display: inline-block; width: 8px; height: 1.05em; background: #34d399; vertical-align: -2px; }
/* One-time staggered type-in when JS is on; fully visible without JS. */
.js .term-body .ln { opacity: 0; transform: translateY(3px); animation: term-ln 0.4s ease forwards; }
.js .term-body .ln:nth-child(1) { animation-delay: 0.15s; } .js .term-body .ln:nth-child(2) { animation-delay: 0.42s; }
.js .term-body .ln:nth-child(3) { animation-delay: 0.69s; } .js .term-body .ln:nth-child(4) { animation-delay: 0.96s; }
.js .term-body .ln:nth-child(5) { animation-delay: 1.23s; } .js .term-body .ln:nth-child(6) { animation-delay: 1.5s; }
.js .term-body .ln:nth-child(7) { animation-delay: 1.77s; } .js .term-body .ln:nth-child(8) { animation-delay: 2.04s; }
.js .term-body .ln:nth-child(9) { animation-delay: 2.31s; } .js .term-body .ln:nth-child(10) { animation-delay: 2.58s; }
.js .term-body .ln:nth-child(11) { animation-delay: 2.85s; } .js .term-body .ln:nth-child(12) { animation-delay: 3.12s; }
.js .term-body .ln:nth-child(13) { animation-delay: 3.39s; } .js .term-body .ln:nth-child(14) { animation-delay: 3.66s; }
.js .cursor { animation: blink 1s steps(1) infinite; }
@keyframes term-ln { to { opacity: 1; transform: none; } }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Stat chip (Newsreader figure) ---------- */
.stat { margin-top: var(--space-lg); display: inline-flex; align-items: center; gap: 14px; background: var(--white); border: 1px solid var(--slate-200); border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-sm); }
.stat .big { font-family: var(--font-serif); font-size: 1.9rem; line-height: 1; font-weight: 500; }
.stat .open { color: var(--navy-900); } .stat .ok { color: var(--emerald); } .stat .arrow { color: var(--slate-400); }
.stat .cap { font-size: 0.82rem; color: var(--slate-600); max-width: 14rem; }

/* ---------- Definition pairs (what-it-means blocks) ---------- */
.term-defs { display: grid; gap: var(--space-lg); margin-top: var(--space-xl); }
@media (min-width: 760px) { .term-defs { grid-template-columns: repeat(2, 1fr); } }
.term-def { border-left: 3px solid var(--emerald); padding-left: 16px; }
.term-def h3 { font-size: 1rem; } .term-def p { color: var(--slate-600); font-size: 0.92rem; margin-top: 6px; }

/* ---------- Six-step loop (how it works) ---------- */
.loop { display: grid; gap: 14px; margin-top: var(--space-xl); }
@media (min-width: 760px) { .loop { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .loop { grid-template-columns: repeat(6, 1fr); } }
.loop .step-c { background: var(--white); border: 1px solid var(--slate-200); border-radius: 14px; padding: 16px 15px; box-shadow: var(--shadow-sm); transition: transform 180ms ease, box-shadow 200ms ease; }
.loop .step-c:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.loop .step-c h3 { font-size: 0.95rem; margin-top: 12px; }
.loop .step-c p { font-size: 0.8rem; color: var(--slate-600); margin-top: 6px; }
.numb { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--navy-900); color: #fff; font-weight: 700; font-size: 0.9rem; }
.loop .step-c:last-child .numb { background: var(--emerald); }

/* ---------- Pricing strip ---------- */
.pstrip { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-lg); display: grid; gap: 18px; padding: 26px; align-items: center; box-shadow: var(--shadow-md); }
@media (min-width: 760px) { .pstrip { grid-template-columns: 1fr auto; } }
.pstrip .big { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; color: var(--navy-900); }
.pstrip .small { color: var(--slate-600); margin-top: 4px; font-size: 0.94rem; }

/* ---------- Inline code line (dark, mono) ---------- */
.codeline { margin-top: var(--space-md); font-family: var(--font-mono); background: var(--ink); color: #cbd5e1; border-radius: 10px; padding: 12px 14px; font-size: 0.8rem; overflow-x: auto; white-space: nowrap; }
.codeline .p { color: #34d399; }
.vs { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--slate-400); }

/* ---------- Reveal-on-scroll (progressive enhancement; visible without JS) ---------- */
.js .rise { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .rise.in { opacity: 1; transform: none; }
.js .rise.d1 { transition-delay: 0.06s; } .js .rise.d2 { transition-delay: 0.13s; } .js .rise.d3 { transition-delay: 0.2s; } .js .rise.d4 { transition-delay: 0.27s; }

@media (prefers-reduced-motion: reduce) {
  .js .rise, .js .term-body .ln { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
  .js .cursor { animation: none; }
  .card:hover, .loop .step-c:hover, .btn-primary:hover { transform: none; }
  html { scroll-behavior: auto; }
}

/* ================================================================================
   Dedicated marketing pages (16 Nov 2026): /product/, /how-it-works/, /pricing/,
   /security/. Built on the shared vocabulary above; only the helpers below are new.
   ================================================================================ */

/* Centered section head (dedicated-page heroes and section intros) */
.center-head { margin-left: auto; margin-right: auto; text-align: center; max-width: 50rem; }
.center-head .lede, .center-head .section-lede { margin-left: auto; margin-right: auto; }

/* Eyebrow pill with a status dot (dedicated-page heroes) */
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: var(--space-md);
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase;
  color: var(--sky-700); background: var(--white); border: 1px solid var(--slate-200);
  padding: 7px 13px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.eyebrow-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--emerald); flex: none; }

/* Two-column check list (what-you-get) */
.checks2 { display: grid; gap: 12px; margin-top: var(--space-lg); padding: 0; list-style: none; }
@media (min-width: 680px) { .checks2 { grid-template-columns: 1fr 1fr; } }
.checks2 li { display: flex; gap: 10px; align-items: flex-start; color: var(--slate-700); }
.checks2 .icon { color: var(--emerald); flex: none; margin-top: 0.15em; stroke-width: 2.25; }

/* Yes / no cells in a comparison table (.price-table reused as the frame) */
.cmp-y { color: var(--emerald); display: inline-flex; }
.cmp-y .icon { stroke-width: 2.5; }
.cmp-n { color: var(--slate-400); }
.gap-top { margin-top: var(--space-xl); }

/* Sky variant of the emerald icon chip (for product/security feature cards) */
.chip-ic.sky { background: var(--accent-soft); border-color: #bae6fd; color: var(--cta); }

/* Dedicated-page hero: reuse .hero, but allow a single centered column */
.hero-solo .hero-grid { grid-template-columns: 1fr; }
@media (min-width: 1024px) { .hero-solo .hero-grid { grid-template-columns: 1fr; } }
