/* proxo.ai — every hex here is a value in docs/brand/tokens.json (pinned by
   tests/unit/test_marketing_site_build.py). Components use ROLES, never hexes. */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/PlusJakartaSans-Variable.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --blue: #13212D; --blue-500: #253049; --blue-400: #333E5C; --blue-300: #405072;
  --blue-200: #6F84A3; --blue-150: #B3CBE2; --blue-100: #CEE4F7; --blue-50: #F3F8FD; --blue-950: #0C151D;
  --warning: #FFC107;
  /* off-book (tokens.json marketing): gold marks the Trust Center; -ink is its text shade on the canvas */
  --gold: #D4AF37; --gold-ink: #8A6A12;

  --ink: #13212D; --muted: #383838; --faint: #666666;
  --canvas: #FCFCFC; --surface: #FFFFFF; --surface-elevated: #F6F6F6;
  --line: #7A7A7A; --line-subtle: #D9D9D9;
  --accent: #405072; --on-accent: #FFFFFF; --accent-soft: #CEE4F7;

  /* pure light (founder option A, 2026-11-24): in light mode the band is a light
     surface — one light page, no navy/light checkerboard. The tokens point at the
     role tokens, so dark resolves back to its navy palette via :root.dark below. */
  --band: var(--surface); --band-ink: var(--ink); --band-muted: var(--muted); --band-line: var(--line-subtle);
  --band-raised: var(--surface-elevated); --band-accent: var(--accent); --band-on-accent: var(--on-accent);
  /* a selected row on band-raised (the calculator's cheapest plan): a surface paired with its ink */
  --band-highlight: var(--accent-soft); --band-on-highlight: var(--ink);

  /* light-only tints and the header toggle's icon (it shows the mode it switches TO) */
  --tint: var(--blue-50); --chart-pending: var(--blue-150);
  --icon-sun: none; --icon-moon: block;

  --radius: 20px; --radius-sm: 12px;
  --wrap: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

/* Dark is the visitor's explicit choice (html.dark, set by assets/js/theme.js from the
   same localStorage key the app uses). Light is the DEFAULT — with no stored choice
   theme.js sets html.light and the OS preference is never consulted (founder decision
   2026-11-23, D1=A). Pinned by test_marketing_site_build.py. */
:root.dark {
    --ink: #FFFFFF; --muted: #B4B4B4; --faint: #A3A3A3;
    --canvas: #13212D; --surface: #13212D; --surface-elevated: #253049;
    --line: #6F84A3; --line-subtle: #333E5C;
    --accent: #CEE4F7; --on-accent: #13212D; --accent-soft: #405072; --gold-ink: var(--gold);
    --band: #0C151D; --band-highlight: var(--blue-400);
    --tint: var(--blue-500); --chart-pending: var(--blue-300);
    --icon-sun: block; --icon-moon: none;
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--canvas); color: var(--ink);
  font: 400 1.0625rem/1.6 "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.025em; line-height: 1.08; font-weight: 650; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.band :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--band-accent); }

:root { --gutter: clamp(32px, 6vw, 64px); }
.wrap { width: min(var(--wrap), 100% - clamp(32px, 6vw, 64px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 50; background: var(--band-accent); color: var(--band-on-accent); font-weight: 600; text-decoration: none; padding: 10px 18px; border-radius: 999px; outline: 2px solid var(--band-ink); outline-offset: 2px; }
main:focus { outline: none; }

/* long unbroken strings (URLs, emails) wrap instead of forcing sideways scroll */
.prose, .prose a, h1, h2, h3, h4, .card, .plan, .btn, .contact-list a, .facts dd { overflow-wrap: anywhere; }
.prose table, .prose th, .prose td, .compare th, .compare td { overflow-wrap: normal; }

/* ── buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 1rem; text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-secondary { border-color: var(--accent); color: var(--accent); }
.btn-trust { background: var(--gold); border-color: var(--gold); color: var(--blue); }
.band .btn-primary, .site-header .btn-primary { background: var(--band-accent); color: var(--band-on-accent); }
.band .btn-secondary { border-color: var(--band-accent); color: var(--band-ink); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 0.9375rem; }
/* labels wrap when text spacing or a small screen leaves no room; the header CTA stays on one line */
@media (max-width: 480px) {
  .btn { white-space: normal; text-align: center; min-width: 0; padding-block: 10px; }
}
/* header breakpoints are em: in a media query em is the browser's initial font size, so the
   layout switches follow the user's text size (480px = 30em, 600px = 37.5em at the default 16px) */
@media (max-width: 37.5em) { .btn-sm { min-height: 44px; } }
.arrow::after { content: "→"; transition: transform .2s var(--ease); }
.btn:hover .arrow::after, a:hover > .arrow::after { transform: translateX(3px); }

/* ── offer bar (assets/js/deal-bar.js) ───────────────────────────────────── */
/* Hidden unless a deal is live. It sits above the sticky header and scrolls away with the page. */
.deal-bar { background: var(--blue-100); color: var(--blue); font-size: 0.9375rem; line-height: 1.4; }
.deal-bar[hidden] { display: none; }
.deal-row { display: flex; align-items: center; gap: 4px 20px; min-height: 3rem; padding-block: 6px; }
.deal-copy { margin-right: auto; overflow-wrap: anywhere; }
.deal-ends { display: inline-flex; align-items: center; gap: .5em; white-space: nowrap; margin-right: .5em; }
.deal-cta { flex: none; background: var(--blue); color: var(--blue-100); }
.deal-close {
  all: unset; cursor: pointer; flex: none; min-height: 44px; min-width: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: underline; text-underline-offset: 3px;
}
.deal-bar :focus-visible { outline: 2px solid var(--band-on-accent); outline-offset: 3px; border-radius: 6px; }
@media (max-width: 45em) {
  .deal-row { flex-wrap: wrap; }
  .deal-copy { flex: 1 1 100%; }
  .deal-cta { margin-right: auto; }
}

/* ── header ──────────────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--band); color: var(--band-ink); border-bottom: 1px solid var(--band-line); }
.header-row { display: flex; align-items: center; gap: 32px; min-height: 4.25rem; }
.brand { display: inline-flex; align-items: center; min-height: 44px; flex: none; }
.brand img { height: 24px; width: auto; max-width: none; object-fit: contain; }
/* the lockup swaps between the two approved fills with the theme: navy on light, offwhite on dark */
.logo-dark { display: none; }
:root.dark .logo-light { display: none; }
:root.dark .logo-dark { display: block; }
.nav-desktop { display: flex; gap: 28px; margin-right: auto; }
.nav-desktop a, .link-quiet { color: var(--band-muted); text-decoration: none; font-weight: 500; font-size: 0.9375rem; }
.nav-desktop a:hover, .nav-desktop a[aria-current="page"], .link-quiet:hover { color: var(--band-ink); }
.nav-desktop a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; } /* the current page is not marked by colour alone */
.nav-desktop a { display: inline-flex; align-items: center; min-height: 44px; }
/* the Trust Center is gold wherever the band carries it: header, drawer, footer */
.nav-desktop a.nav-trust, .nav-mobile nav a.nav-trust, .site-footer nav a.nav-trust { color: var(--gold-ink); }
.nav-desktop a.nav-trust:hover, .nav-mobile nav a.nav-trust:hover, .site-footer nav a.nav-trust:hover { text-decoration: underline; text-underline-offset: 6px; }
.header-cta { display: flex; align-items: center; gap: 20px; min-width: 0; }
.header-cta .link-quiet { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 8px; margin-inline: -8px; white-space: nowrap; }
.nav-mobile { display: none; flex: none; }
/* theme toggle: JS-armed like .billing-toggle (inert without site.js), but its 44px box is
   reserved from the first paint so the header never shifts when the script lands */
.theme-toggle { visibility: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 10px; background: none; color: var(--band-muted); cursor: pointer; font: inherit; }
.js .theme-toggle { visibility: visible; min-width: 44px; min-height: 44px; }
.theme-toggle:hover { color: var(--band-ink); }
.theme-toggle svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .icon-sun { display: var(--icon-sun); }
.theme-toggle .icon-moon { display: var(--icon-moon); }

@media (max-width: 51.25em) {
  .nav-desktop { display: none; }
  .header-row { gap: 12px; }
  .header-cta { margin-left: auto; gap: 16px; }
  .nav-mobile { display: block; }
  .nav-mobile summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; }
  .nav-mobile summary::-webkit-details-marker { display: none; }
  .nav-mobile summary span { display: block; width: 22px; height: 2px; background: var(--band-ink); border-radius: 2px; transition: transform .2s var(--ease); }
  .nav-mobile[open] summary span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-mobile[open] summary span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav-mobile nav { position: absolute; left: 0; right: 0; top: 4.25rem; background: var(--band); border-bottom: 1px solid var(--band-line); padding: 8px calc(var(--gutter) / 2) 20px; display: grid; gap: 4px; max-height: calc(100dvh - 4.25rem); overflow-y: auto; }
  .nav-mobile nav a:not(.btn) { padding: 12px 0; color: var(--band-ink); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--band-line); }
  .nav-mobile nav .btn { margin-top: 12px; }
  .header-cta .theme-toggle { display: none; }
  .nav-mobile nav .theme-toggle-row { justify-content: flex-start; width: 100%; padding: 12px 0; border-radius: 0; border-bottom: 1px solid var(--band-line); color: var(--band-ink); font-weight: 500; font-size: 1rem; }
}

@media (max-width: 32.5em) {
  .header-row { gap: 8px; }
  .brand img { height: 20px; }
  .header-cta .link-quiet { display: none; }
}

/* ── sections ────────────────────────────────────────────────────────────── */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-tight { padding: clamp(48px, 7vw, 80px) 0; }
.section-strip { padding: clamp(24px, 3vw, 36px) 0; }
.section + .section-join { padding-top: 0; } /* two unbanded sections share one 128px gap, not two */
.section-strip + .section { padding-top: clamp(40px, 6vw, 72px); }
.band { background: var(--band); color: var(--band-ink); }
.band .lede, .band .muted { color: var(--band-muted); }
.eyebrow { font-size: 0.8125rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 18px; }
.band .eyebrow { color: var(--accent); }
.display { font-size: clamp(2.75rem, 7.4vw, 5.5rem); font-weight: 680; letter-spacing: -0.035em; }
.h2 { font-size: clamp(2rem, 4.6vw, 3.375rem); }
.h3 { font-size: 1.3125rem; letter-spacing: -0.015em; line-height: 1.25; }
.hush { color: var(--faint); }
.band .hush { color: var(--band-muted); }
.nowrap { white-space: nowrap; }
.lede { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); color: var(--muted); max-width: 40ch; margin-top: 24px; }
.muted { color: var(--muted); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.center { text-align: center; margin-inline: auto; }
.center .lede { margin-inline: auto; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.center .cta-row { justify-content: center; }
.fineprint { margin-top: 16px; font-size: 0.875rem; color: var(--faint); }
.band .fineprint { color: var(--band-muted); }

/* ── hero ────────────────────────────────────────────────────────────────── */
.hero { padding: clamp(64px, 9vw, 112px) 0 0; overflow: hidden; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: -40% -20% auto; height: 900px; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--blue-300) 55%, transparent), transparent);
  opacity: .55;
}
.hero .wrap { position: relative; }
.hero-copy { max-width: 820px; }
.hero .lede { max-width: 46ch; }
.hero-stage { margin-top: clamp(56px, 8vw, 88px); position: relative; }

/* ── product mock ────────────────────────────────────────────────────────── */
.mock {
  background: var(--surface); color: var(--ink); border-radius: var(--radius) var(--radius) 0 0;
  border: 1px solid var(--line-subtle); border-bottom: 0;
  box-shadow: 0 -1px 0 color-mix(in srgb, var(--blue-100) 30%, transparent), 0 40px 120px -30px rgb(0 0 0 / .55);
  display: grid; grid-template-columns: 210px 1fr; min-height: 440px; overflow: hidden;
}
.mock-side { background: var(--surface-elevated); border-right: 1px solid var(--line-subtle); padding: 20px 14px; display: grid; align-content: start; gap: 4px; font-size: 0.875rem; }
.mock-side img { height: 18px; width: auto; margin: 4px 8px 18px; }
.mock-side span { padding: 8px 10px; border-radius: 10px; color: var(--muted); }
.mock-side span[aria-current] { background: var(--accent-soft); color: var(--ink); font-weight: 600; }
.mock-main { padding: 22px 26px; display: grid; gap: 18px; align-content: start; min-width: 0; }
.mock-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 0.8125rem; color: var(--faint); }
.mock-bar b { color: var(--ink); font-size: 1.125rem; margin-right: auto; font-weight: 650; }
.mock-entity { border: 1px solid var(--line-subtle); border-radius: 999px; padding: 4px 12px; color: var(--muted); }
.mock-entity.is-active { background: var(--ink); border-color: var(--ink); color: var(--canvas); }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mock-stat { border: 1px solid var(--line-subtle); border-radius: var(--radius-sm); padding: 14px 16px; display: grid; gap: 4px; }
.mock-stat span { font-size: 0.8125rem; color: var(--faint); }
.mock-stat strong { font-size: clamp(1.125rem, 2.2vw, 1.625rem); font-weight: 650; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.mock-stat-net { background: var(--tint); }
.mock-panel { border: 1px solid var(--line-subtle); border-radius: var(--radius-sm); overflow: hidden; }
.mock-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; font-weight: 600; font-size: 0.875rem; border-bottom: 1px solid var(--line-subtle); }
.mock-badge { background: var(--accent); color: var(--on-accent); border-radius: 999px; min-width: 24px; text-align: center; font-size: 0.75rem; padding: 2px 8px; }
.mock-list { list-style: none; margin: 0; padding: 0; }
.mock-row { display: grid; grid-template-columns: 1fr auto auto auto; gap: 14px; align-items: center; padding: 11px 16px; font-size: 0.875rem; border-top: 1px solid var(--line-subtle); }
.mock-row:first-child { border-top: 0; }
.mock-vendor { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-tag { color: var(--faint); font-size: 0.8125rem; }
.mock-amt { font-variant-numeric: tabular-nums; font-weight: 600; }
.chip { font-size: 0.75rem; font-weight: 600; border-radius: 999px; padding: 3px 10px; }
.chip-pending { background: var(--warning); color: var(--blue); }
.chip-approved { background: var(--accent-soft); color: var(--ink); }

@media (max-width: 820px) {
  .mock { grid-template-columns: 1fr; min-height: 0; }
  .mock-side { display: none; }
  .mock-main { padding: 16px; }
  .mock-row { grid-template-columns: 1fr auto; }
  .mock-row .mock-tag, .mock-row .chip { display: none; }
}
@media (max-width: 520px) {
  .mock-stats { grid-template-columns: 1fr 1fr; }
  .mock-stat-net { grid-column: 1 / -1; }
}

/* ── interactive demo host (frontend/src/demo, in a shadow root) ────────── */
.demo-host { position: relative; }
.demo-host[data-mounting]:not([data-ready]) { visibility: hidden; }
/* The frame GROWS with the screen it shows: the page is the only scroller. `overflow: clip`
   rounds the corners without making a scroll container; min-height keeps tab switches calm.
   Flex lets the shadow root's frame fill that min-height. */
.demo-host[data-ready] {
  display: flex; flex-direction: column; min-height: 640px; overflow: clip; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line-subtle);
  box-shadow: 0 40px 120px -30px rgb(0 0 0 / .55);
}
.demo-full[data-ready] { min-height: 700px; box-shadow: 0 30px 80px -40px rgb(0 0 0 / .35); }
.hero-stage .mock { border-radius: var(--radius); border-bottom: 1px solid var(--line-subtle); }
.demo-caption { padding: 20px 0 48px; text-align: center; color: var(--band-muted); font-size: 0.9375rem; }
.demo-caption a { color: var(--band-accent); font-weight: 600; text-decoration: none; margin-left: 6px; white-space: nowrap; }
.demo-page-hero { padding-bottom: 32px; }
.demo-stage { padding-bottom: clamp(56px, 8vw, 96px); scroll-margin-top: 5.5rem; }
.demo-tips { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; color: var(--muted); font-size: 0.9375rem; }
.demo-tips b { color: var(--ink); }
@media (max-width: 820px) {
  .demo-tips { grid-template-columns: 1fr; }
}

/* ── logo strip ──────────────────────────────────────────────────────────── */
.works-with { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 40px; color: var(--faint); font-size: 0.9375rem; }
.works-with strong { color: var(--ink); font-weight: 600; font-size: 1.0625rem; }

/* ── pillars ─────────────────────────────────────────────────────────────── */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-subtle); border: 1px solid var(--line-subtle); border-radius: var(--radius); overflow: hidden; }
.pillar { background: var(--surface); padding: clamp(24px, 3vw, 36px); display: grid; gap: 12px; align-content: start; }
.pillar .num { font-size: 0.8125rem; font-weight: 650; color: var(--accent); font-variant-numeric: tabular-nums; }
.pillar p { color: var(--muted); }
@media (min-width: 901px) { .pillar .h3 { min-height: 2.5em; } } /* two lines, so card bodies align across the row */
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .pillars { grid-template-columns: 1fr; } }

/* ── split feature ───────────────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split-top { align-items: start; }
.ai-rates { margin-top: clamp(56px, 8vw, 104px); }
.split-top .lede { margin-top: 0; }
.stack > * + * { margin-top: 16px; }
.after-hero { padding-top: 0; }
.split-rev .split-copy { order: 2; }
.split-copy .lede { max-width: 38ch; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--muted); }
.ticks li::before { content: ""; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; background: var(--accent-soft) center / 10px no-repeat; box-shadow: inset 0 0 0 5px var(--accent-soft), inset 0 0 0 9px var(--accent); }
.band .ticks li { color: var(--band-muted); }
.band .ticks li::before { background: var(--band-raised); box-shadow: inset 0 0 0 5px var(--band-raised), inset 0 0 0 9px var(--band-accent); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split-rev .split-copy { order: 0; } }

.card { background: var(--surface); border: 1px solid var(--line-subtle); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); }
.band .card { background: var(--band-raised); border-color: var(--band-line); color: var(--band-ink); }

/* approval scene */
.approval { display: grid; gap: 18px; }
.approval-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.approval-row .who { font-weight: 600; font-size: 1.1875rem; margin-right: auto; }
.approval-row .amt { font-size: 1.75rem; font-weight: 650; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.approval-meta { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; font-size: 0.9375rem; padding: 16px 0; border-block: 1px solid var(--band-line); }
.approval-meta dt { color: var(--band-muted); }
.approval-meta dd { margin: 0; }
.approval-actions { display: flex; gap: 10px; }
.state { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.875rem; border-radius: 999px; padding: 6px 14px; background: var(--warning); color: var(--blue); }
.state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.approval[data-state="approved"] .state { background: var(--band-accent); }

/* entity chart */
.entity-chart { width: 100%; height: auto; overflow: visible; }
.ec-label { fill: var(--ink); font-size: 17px; font-weight: 600; }
.ec-value { fill: var(--muted); font-size: 17px; font-variant-numeric: tabular-nums; }
.ec-approved { fill: var(--accent); }
.ec-pending { fill: var(--chart-pending); }
.legend { display: flex; gap: 20px; margin-top: 20px; font-size: 0.875rem; color: var(--faint); }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; background: var(--accent); }
.legend span + span::before { background: var(--chart-pending); }

/* statement scan */
.scan { display: grid; gap: 0; font-size: 0.875rem; }
.scan-doc { border: 1px dashed var(--line); border-radius: var(--radius-sm); padding: 18px; display: flex; gap: 14px; align-items: center; color: var(--muted); }
.scan-doc b { color: var(--ink); }
.scan-doc i { width: 34px; height: 42px; border-radius: 6px; border: 1.5px solid var(--line); position: relative; flex: none; }
.scan-doc i::after { content: ""; position: absolute; inset: 10px 7px auto; height: 14px; background: repeating-linear-gradient(var(--line-subtle) 0 2px, transparent 2px 5px); }
.scan-arrow { justify-self: center; height: 34px; width: 2px; background: linear-gradient(var(--line-subtle), var(--accent)); margin: 4px 0; }
.scan-rows { border: 1px solid var(--line-subtle); border-radius: var(--radius-sm); overflow: hidden; }
.scan-rows div { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; padding: 11px 16px; border-top: 1px solid var(--line-subtle); font-variant-numeric: tabular-nums; }
.scan-rows div:first-child { border-top: 0; color: var(--faint); font-size: 0.75rem; text-transform: uppercase; letter-spacing: .08em; }
.scan-rows .conf { color: var(--accent); font-weight: 600; }

/* ── pricing ─────────────────────────────────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
@media (max-width: 1100px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { text-align: left; min-width: 0; display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 14px; border: 1px solid var(--line-subtle); border-radius: var(--radius); background: var(--surface); padding: 30px; }
.plan-featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.plan .h3 { font-size: 1.1875rem; letter-spacing: -0.025em; line-height: 1.08; } /* the former plain h3 look */
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; } /* the period/tax suffix drops below a wide figure */
.price strong { white-space: nowrap; flex: none; font-size: 2.875rem; font-weight: 680; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.price span { color: var(--faint); }
/* a live deal (assets/js/deal-bar.js): the regular price struck through beside the deal price */
.price .price-was { font-size: 1.5rem; font-weight: 500; letter-spacing: 0; text-decoration: line-through; }
.price .deal-note { flex: 1 1 100%; color: inherit; font-size: 0.875rem; }
/* the deal called out around the site: the Pricing nav links, the billing-period buttons and
   the pricing page's countdown. All added or shown by deal-bar.js, only while a deal is live. */
.deal-tag {
  display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; vertical-align: middle;
  background: var(--band-accent); color: var(--band-on-accent);
  font-size: 0.75rem; font-weight: 700; line-height: 1.5; white-space: nowrap;
}
.deal-chip { margin-left: 6px; font-size: 0.8125rem; font-weight: 700; color: var(--accent); white-space: nowrap; }
.billing-toggle button[aria-pressed="true"] .deal-chip { color: inherit; }
.deal-hero {
  max-width: 34rem; margin: 0 auto 28px; padding: 20px 24px; border-radius: 16px;
  background: var(--band-accent); color: var(--band-on-accent);
}
.deal-hero[hidden] { display: none; }
.deal-hero-title { font-size: 1.25rem; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.deal-hero-ends { margin-top: 6px; font-size: 0.875rem; }
.deal-hero-clock { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.deal-hero-unit {
  display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 4.25rem; padding: 10px 6px;
  border-radius: 10px; background: var(--band-on-accent); color: var(--band-accent); font-size: 0.75rem;
}
@media (max-width: 480px) { .deal-hero-unit { min-width: 3.5rem; } }
/* phone: the chip takes a line of its own under the period's name, so neither wraps mid-phrase */
@media (max-width: 480px) { .deal-chip { display: block; margin-left: 0; } }
.price .price-text { font-size: 1.75rem; line-height: 1.6; }
.plan .muted { font-size: 0.9375rem; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; align-content: start; gap: 10px; font-size: 0.9375rem; }
.plan li { padding-left: 26px; position: relative; color: var(--muted); }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.plan .btn { width: 100%; }
.annual { font-size: 0.875rem; color: var(--faint); }
@media (min-width: 641px) and (max-width: 900px) {
  .plan { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); grid-template-rows: none; column-gap: 32px; align-content: start; }
  .plan > * { grid-column: 1; }
  .plan ul { grid-column: 2; grid-row: 1 / span 5; align-self: start; }
}
@media (max-width: 640px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

.billing-toggle { display: none; padding: 4px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); margin-bottom: 40px; }
.billing-toggle button { border: 0; background: none; font: inherit; font-size: 0.9375rem; font-weight: 600; color: var(--muted); padding: 8px 18px; border-radius: 999px; cursor: pointer; text-wrap: balance; }
@media (max-width: 480px) { .billing-toggle button { padding-inline: 12px; } }
.billing-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--canvas); }
.price [data-annual], [data-billing="annual"] .price [data-monthly] { display: none; }
[data-billing="annual"] .price [data-annual] { display: inline; }
.js .billing-toggle { display: inline-flex; }
@media (max-width: 820px) { .billing-toggle button { min-height: 44px; } }

.calc { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.calc-field { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 12px 10px; font-weight: 600; }
.calc-field + .calc-field { margin-top: 24px; }
.calc-label { display: flex; align-items: baseline; gap: 10px; }
.calc-label small { font-weight: 400; color: var(--faint); }
.calc output { font-size: 1.375rem; font-variant-numeric: tabular-nums; color: var(--accent); }
.calc-results { margin-top: 28px; }
.calc input[type="range"] { grid-column: 1 / -1; width: 100%; height: 44px; margin-block: -14px; accent-color: var(--accent); -webkit-appearance: none; appearance: none; background: transparent; }
/* the track is --line (AA boundary), never the native pale grey; vendor pseudos stay in separate rules */
.calc input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: var(--line); }
.calc input[type="range"]::-moz-range-track { height: 6px; border-radius: 999px; background: var(--line); }
.calc input[type="range"]::-moz-range-progress { height: 6px; border-radius: 999px; background: var(--accent); }
.calc input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; box-sizing: border-box; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: var(--accent); border: 2px solid var(--surface); }
.calc input[type="range"]::-moz-range-thumb { box-sizing: border-box; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); border: 2px solid var(--surface); }
.calc-results { display: grid; gap: 12px; }
.calc-result { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 22px; border: 1px solid var(--line-subtle); border-radius: var(--radius-sm); }
.calc-result strong { font-size: 1.75rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.calc-total { display: inline-flex; align-items: baseline; gap: 2px; }
.calc-result .per { color: var(--faint); font-size: 0.9375rem; }
.calc-note, .calc-hint { margin-top: 14px; font-size: 0.875rem; color: var(--faint); }
.calc-note[hidden] { display: none; }
/* ── the flip clock (assets/js/deal-bar.js): one card per digit, in the bar's own two colours
   inverted (navy tile, light-blue digit). A card is split at its middle line: the static upper half
   shows the new digit, the static lower half the old one; the old upper half (.flip-fall) falls and
   the new lower half (.flip-rise) rises to meet it. The digit is drawn from data-d. ───────────── */
.flip-clock { display: inline-flex; align-items: center; gap: .35em; }
.flip-unit { display: inline-flex; align-items: baseline; gap: .15em; }
.flip-unit[hidden] { display: none; }
.flip-pair { display: inline-flex; gap: 2px; }
.flip-label { font-size: .75em; font-weight: 600; }
.flip {
  --flip-h: 1.55em;
  position: relative; display: inline-block; width: .95em; height: var(--flip-h); perspective: 9em;
  border-radius: 3px; background: var(--band-on-accent); color: var(--band-accent);
  font-weight: 700; font-variant-numeric: tabular-nums;
}
.flip-top, .flip-bottom, .flip-fall, .flip-rise {
  position: absolute; left: 0; right: 0; height: 50%; overflow: hidden; background: var(--band-on-accent);
  backface-visibility: hidden;
}
.flip-top, .flip-fall { top: 0; border-radius: 3px 3px 0 0; transform-origin: bottom; }
.flip-bottom, .flip-rise { bottom: 0; border-radius: 0 0 3px 3px; transform-origin: top; }
.flip-top::before, .flip-fall::before, .flip-bottom::before, .flip-rise::before {
  content: attr(data-d); position: absolute; left: 0; right: 0; height: 200%; line-height: var(--flip-h); text-align: center;
}
.flip-top::before, .flip-fall::before { top: 0; }
.flip-bottom::before, .flip-rise::before { top: -100%; }
/* the thin split line across the middle, the same light blue at low strength */
.flip::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--band-accent); opacity: .35; }
.flip-fall, .flip-rise { visibility: hidden; }
.flip.is-flipping .flip-fall { visibility: visible; animation: flip-fall .26s ease-in forwards; }
.flip.is-flipping .flip-rise { visibility: visible; animation: flip-rise .26s .26s ease-out both; }
@keyframes flip-fall { from { transform: rotateX(0); } to { transform: rotateX(-90deg); } }
@keyframes flip-rise { from { transform: rotateX(90deg); } to { transform: rotateX(0); } }
@media (prefers-reduced-motion: reduce) {
  .flip.is-flipping .flip-fall, .flip.is-flipping .flip-rise { animation: none; visibility: hidden; }
}
@media (forced-colors: active) {
  .flip, .flip-top, .flip-bottom, .flip-fall, .flip-rise { background: Canvas; color: CanvasText; border: 1px solid CanvasText; }
}
/* the bar's cards are a touch smaller than the pricing page's */
.deal-bar .flip { --flip-h: 1.45em; width: .9em; font-size: 1.05rem; }
.deal-hero .flip { --flip-h: 1.45em; width: .85em; font-size: 1.75rem; }
.deal-hero .flip-pair { gap: 3px; }
/* inside the pricing page's navy boxes the cards take the raised navy, so each digit reads as its own card */
.deal-hero .flip, .deal-hero .flip-top, .deal-hero .flip-bottom, .deal-hero .flip-fall, .deal-hero .flip-rise { background: var(--band-raised); }
@media (max-width: 480px) { .deal-hero .flip { font-size: 1.375rem; } }

/* a calculator row under a live deal (assets/js/deal-bar.js): the regular total struck through
   beside the deal total, and what it becomes on a line of its own */
.calc-result.calc-deal { flex-wrap: wrap; }
.calc-result .price-was { font-size: 1.125rem; font-weight: 500; letter-spacing: 0; text-decoration: line-through; margin-right: 6px; }
.calc-result .deal-note { flex: 1 1 100%; margin-top: 4px; color: inherit; font-size: 0.875rem; }
.calc-hint a { color: var(--accent); }
/* a highlight always sets its text colour with its background: inherited text is the context's
   (white on the band) and vanishes on a light tint (H-21; check_site.py calc_contrast_problems) */
.calc-result.best { border-color: var(--accent); background: var(--tint); color: var(--ink); }
/* on /pricing the calculator sits on the navy band (the security page's rhythm): the card is
   band-raised, so every accent inside it switches to the band palette */
.band .calc-label small, .band .calc-result .per, .band .calc-note, .band .calc-hint { color: var(--band-muted); }
.band .calc output, .band .calc-hint a { color: var(--band-accent); }
.band .calc input[type="range"] { accent-color: var(--band-accent); }
.band .calc input[type="range"]::-webkit-slider-runnable-track, .band .calc input[type="range"]::-moz-range-track { background: var(--blue-200); }
.band .calc input[type="range"]::-moz-range-progress, .band .calc input[type="range"]::-webkit-slider-thumb, .band .calc input[type="range"]::-moz-range-thumb { background: var(--band-accent); }
.band .calc input[type="range"]::-webkit-slider-thumb, .band .calc input[type="range"]::-moz-range-thumb { border-color: var(--band-raised); }
.band .calc-result { border-color: var(--band-line); }
.band .calc-result.best { border-color: var(--band-accent); background: var(--band-highlight); color: var(--band-on-highlight); }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }

.compare { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.compare th, .compare td { padding: 14px 12px; border-bottom: 1px solid var(--line-subtle); text-align: center; }
/* phones: the table scrolls sideways; the row label stays put and a right-edge shadow says
   there is more until the end of the scroll (the canvas-coloured cover is scroll-attached) */
.compare th:first-child, .compare td:first-child { text-align: left; position: sticky; left: 0; z-index: 1; background: var(--canvas); box-shadow: 1px 0 0 var(--line-subtle); }
@media (max-width: 37.5em) {
  .compare th, .compare td { padding: 12px 8px; }
  .compare th[scope="row"] { width: 9.5rem; white-space: normal; }
}
.compare thead th { font-size: 0.875rem; color: var(--faint); font-weight: 600; }
.compare td.yes::before { content: "✓"; color: var(--accent); font-weight: 700; }
.compare td.no::before { content: "—"; color: var(--faint); }
.table-scroll { overflow-x: auto; position: relative;
  background:
    linear-gradient(to left, var(--canvas) 35%, transparent) right / 40px 100% no-repeat local,
    linear-gradient(to left, color-mix(in srgb, var(--ink) 16%, transparent), transparent) right / 24px 100% no-repeat scroll; }

.faq { display: grid; gap: 0; border-top: 1px solid var(--line-subtle); }
.faq details { border-bottom: 1px solid var(--line-subtle); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-weight: 600; font-size: 1.125rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 1.5rem; font-weight: 400; color: var(--faint); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 68ch; }

/* ── grids ───────────────────────────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plans > *, .grid-2 > *, .grid-3 > *, .pillars > *, .split > *, .calc > *, .footer-grid > * { min-width: 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.feature { display: grid; gap: 10px; align-content: start; }
.feature p { color: var(--muted); }
.band .feature p { color: var(--band-muted); }
.icon { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--ink); display: grid; place-items: center; margin-bottom: 8px; }
.band .icon { background: var(--band-raised); color: var(--band-accent); }
.icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* spec sheet */
.spec { display: grid; grid-template-columns: auto 1fr; gap: 0 24px; margin: 0; font-size: 0.9375rem; }
.spec dt, .spec dd { padding: 14px 0; border-top: 1px solid var(--line-subtle); }
.spec dt:first-of-type, .spec dd:first-of-type { border-top: 0; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; font-weight: 600; }
.band .spec dt, .band .spec dd { border-top-color: var(--band-line); }
.band .spec dt { color: var(--band-muted); }
@media (max-width: 520px) { .spec { grid-template-columns: 1fr; } .spec dd { border-top: 0; padding-top: 0; } }

/* ── page hero (sub-pages) ───────────────────────────────────────────────── */
.page-hero { padding: clamp(64px, 9vw, 112px) 0 clamp(48px, 6vw, 72px); }
.page-hero .display { font-size: clamp(2.5rem, 6vw, 4.5rem); }

/* ── contact ─────────────────────────────────────────────────────────────── */
.contact-list { display: grid; gap: 16px; }
.contact-list .card { display: grid; gap: 6px; align-content: start; position: relative; }
.contact-list a { font-weight: 600; font-size: 1.1875rem; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.contact-list a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.contact-list a:focus-visible { outline: none; }
.contact-list a:focus-visible::after { outline: 2px solid var(--accent); outline-offset: 3px; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 10px 28px; margin: 0; }
.facts dt { color: var(--faint); }
.facts dd { margin: 0; }
.facts dd a { display: inline-block; padding-block: 1px; margin-block: -1px; }
@media (max-width: 600px) { .facts dd a { padding-block: 11px; margin-block: -11px; } }

/* ── prose (legal) ───────────────────────────────────────────────────────── */
.prose { max-width: 760px; font-size: 1rem; line-height: 1.7; }
.prose h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); margin-bottom: 12px; }
.prose h2 { font-size: 1.5rem; margin: 48px 0 12px; letter-spacing: -0.015em; line-height: 1.25; }
.prose h3 { font-size: 1.125rem; margin: 32px 0 8px; letter-spacing: -0.01em; line-height: 1.3; }
.prose p, .prose ul, .prose ol, .prose table { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--accent); text-underline-offset: 3px; }
.trust-link { color: var(--gold-ink); text-underline-offset: 3px; }
.band .trust-link { color: var(--gold-ink); }
.prose table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 0.875rem; display: table; }
.prose th, .prose td { border: 1px solid var(--line-subtle); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose th { background: var(--surface-elevated); }
.prose .align-center { text-align: center; } .prose .align-right { text-align: right; }
.prose hr { border: 0; border-top: 1px solid var(--line-subtle); margin: 40px 0; }
.prose blockquote { margin: 0 0 16px; padding-left: 16px; border-left: 3px solid var(--accent-soft); color: var(--muted); }
.doc-meta { color: var(--muted); font-size: 1rem; margin-bottom: 40px; }
.prose h2, .prose h3 { scroll-margin-top: 5.5rem; }
.prose-doc > p, .prose-doc > ul, .prose-doc > ol, .prose-doc > blockquote { max-width: 46ch; }
.doc-toc-box { margin: 0 0 32px; border: 1px solid var(--line-subtle); border-radius: var(--radius-sm); padding: 0 20px; }
.doc-toc-box summary { cursor: pointer; display: flex; align-items: center; min-height: 44px; font-weight: 600; }
.doc-toc ol { list-style: none; margin: 0 0 12px; padding: 0; columns: 2 280px; column-gap: 32px; }
.doc-toc li { break-inside: avoid; margin: 0; }
.doc-toc li + li { margin-top: 0; }
.doc-toc a { display: block; padding-block: 5px; }
@media (min-width: 821px) { .doc-toc-box summary { display: none; } .doc-toc-box { padding-top: 16px; } }
@media (max-width: 820px) { .doc-toc a { display: flex; align-items: center; min-height: 44px; } }
.back-top { margin: 48px 0 0; }
.back-top a { display: inline-flex; align-items: center; min-height: 44px; }
.jump { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -16px 0 8px; font-size: 0.9375rem; }
.jump span { color: var(--muted); font-weight: 600; margin-right: 4px; }
.prose .jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-weight: 600; text-decoration: none; }
.prose .jump a:hover { border-color: var(--accent); color: var(--accent); }
.help-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 20px; margin-top: 24px; }
.help-links span { color: var(--muted); font-size: 0.9375rem; }
.help-links .link-quiet { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }
.help-links .link-quiet:hover { color: var(--ink); }

/* ── footer ──────────────────────────────────────────────────────────────── */
.site-footer { background: var(--band); color: var(--band-ink); border-top: 1px solid var(--band-line); padding: 64px 0 32px; font-size: 0.9375rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand img { height: 22px; width: auto; }
.footer-brand p { color: var(--band-muted); margin-top: 16px; }
.site-footer nav { display: grid; gap: 10px; align-content: start; }
.site-footer .footer-title { line-height: 1.08; font-size: 0.8125rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; font-weight: 650; }
.site-footer nav a { color: var(--band-muted); text-decoration: none; }
.site-footer nav a:hover { color: var(--band-ink); }
/* Cookie settings opens the consent panel: a button styled as a footer link */
.site-footer nav .footer-link { all: unset; color: var(--band-muted); cursor: pointer; }
.site-footer nav .footer-link:hover { color: var(--band-ink); }
.site-footer nav .footer-link:focus-visible { outline: 2px solid var(--band-accent); outline-offset: 3px; border-radius: 6px; }
.footer-base { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--band-line); color: var(--band-muted); font-size: 0.875rem; }
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; }
  .site-footer nav { gap: 0; }
  .site-footer nav a, .site-footer nav .footer-link { display: flex; align-items: center; min-height: 44px; }
}

/* ── motion (JS-armed only: content is never hidden without JS) ──────────── */
.js .reveal { opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.in { opacity: 1; transform: none; }
.d1 { --i: 1; } .d2 { --i: 2; } .d3 { --i: 3; } .d4 { --i: 4; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}

/* ── forced colours (Windows High Contrast): system keywords only, never a hex ── */
@media (forced-colors: active) {
  .btn, .btn-primary, .btn-secondary, .btn-trust { border-color: ButtonText; }
  .nav-mobile summary span { background: CanvasText; }
  .billing-toggle button { border: 2px solid ButtonText; }
  .theme-toggle { border: 1px solid ButtonText; }
  .deal-bar { border-bottom: 1px solid CanvasText; }
  .billing-toggle button[aria-pressed="true"] { border-color: Highlight; background: Highlight; color: HighlightText; forced-color-adjust: none; }
  .mock-entity.is-active, .mock-side span[aria-current] { outline: 2px solid Highlight; }
  .calc input[type="range"] { forced-color-adjust: auto; }
  .calc input[type="range"]::-webkit-slider-runnable-track, .calc input[type="range"]::-moz-range-track { background: CanvasText; }
  .calc input[type="range"]::-moz-range-progress { background: Highlight; }
  .calc input[type="range"]::-webkit-slider-thumb { background: Highlight; border-color: Canvas; }
  .calc input[type="range"]::-moz-range-thumb { background: Highlight; border-color: Canvas; }
}

/* ── print: black on white, no chrome, link targets spelled out ──────────── */
@media print {
  body, .page-hero, .prose { background: white; color: black; }
  body { font-size: 11pt; }
  .deal-bar, .deal-hero, .site-header, .site-footer, .skip, .doc-toc-box, .doc-toc, .back-top { display: none; }
  .prose { max-width: none; font-size: 11pt; }
  .prose a { color: black; }
  .prose a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.9em; word-break: break-all; }
  .prose h1, .prose h2, .prose h3 { break-after: avoid; color: black; }
  .prose table { display: table; min-width: 0; }
  .table-scroll { overflow: visible; }
  .prose th { background: white; }
  .prose th, .prose td { border-color: black; }
}

.qb-mark { display: block; margin-bottom: 24px; }
.qb-mark img { display: block; height: auto; max-width: 120px; }
/* Intuit's two approved, byte-pinned variants toggle with the SITE theme (classes),
   never the OS — same pattern as the app's QuickbooksPanel. Blueberry on light,
   White on dark (docs/agents/intuit-review.md); the artwork itself is never recoloured. */
.qb-mark .qb-dark { display: none; }
:root.dark .qb-mark .qb-light { display: none; }
:root.dark .qb-mark .qb-dark { display: block; }

/* ── cookie consent (assets/js/gtag.js; Cookie Notice) ───────────────────── */
/* A non-modal panel that never blocks the page. Two layers (founder 2026-11-23):
   Accept all and Reject all are the same size, side by side; only Accept carries
   the accent; Reject all is the quiet button (no outline, muted text) but stays
   on the first screen, one click. Cookie settings holds a toggle per purpose. */
.cookie-consent {
  position: fixed; z-index: 40; right: 16px; bottom: 16px; left: 16px;
  max-width: 440px; margin-left: auto;
  background: var(--surface-elevated); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: 0 12px 32px rgb(0 0 0 / .2);
  font-size: 0.9375rem; line-height: 1.5;
}
.cookie-consent[hidden] { display: none; }
.cookie-consent:focus { outline: none; }
.cookie-consent:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.cookie-consent-inner { display: grid; gap: 10px; padding: 20px; }
.cookie-consent-inner[hidden] { display: none; }
.cookie-consent-inner:focus { outline: none; }
.cookie-consent-title { font-weight: 650; font-size: 1rem; }
.cookie-consent a { text-underline-offset: 3px; }
.cookie-consent-gpc { color: var(--muted); }
.cookie-consent-gpc[hidden] { display: none; }
.cookie-consent-toggles { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.cookie-consent-toggles[hidden], .cookie-consent-toggles li[hidden] { display: none; }
.cookie-consent-toggles label { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; padding: 6px 0; cursor: pointer; }
.cookie-consent-toggles strong { display: block; }
.cookie-consent-toggles input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); cursor: pointer; }
.cookie-consent-toggles input:disabled { cursor: not-allowed; }
.cookie-consent-toggles input:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.cookie-consent-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 4px; }
.cookie-consent-actions .btn { flex: 1 1 140px; font: inherit; font-weight: 600; cursor: pointer; }
.cookie-consent-actions .btn-secondary { background: none; }
.cookie-consent-actions .btn-quiet { background: none; border-color: transparent; color: var(--muted); }
.cookie-consent-actions .btn-quiet:hover { color: var(--ink); border-color: var(--line); }
.cookie-consent-actions .btn-quiet:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.cookie-consent-link {
  all: unset; cursor: pointer; color: var(--muted); text-decoration: underline; text-underline-offset: 3px;
  min-height: 44px; display: inline-flex; align-items: center; padding-inline: 4px;
}
.cookie-consent-link[hidden], .cookie-consent-actions .btn[hidden] { display: none; }
.cookie-consent-link:hover { color: var(--ink); }
.cookie-consent-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
@media print { .cookie-consent { display: none; } }

/* ── plan picker (bd Application-kozug.1): the deal bar's Sign Up overlay ───────
   Three plans at the deal's price (assets/js/deal-bar.js fills every figure through
   `priced`), each handing off to the app's get-started. Tokens only, rem text sizes,
   44px touch targets, a focus trap and ESC in the script, reduced-motion and
   forced-colors honoured. Nothing is stored. */
.plan-picker { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 1rem; }
.plan-picker[hidden] { display: none; }
.plan-picker-backdrop { position: absolute; inset: 0; background: rgba(19, 33, 45, 0.55); }
.plan-picker-panel {
  position: relative; width: min(56rem, 100%); max-height: calc(100vh - 2rem); overflow-y: auto;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line-subtle);
  border-radius: 14px; padding: 1.5rem; box-shadow: 0 18px 50px rgba(19, 33, 45, 0.28);
}
body:has(.plan-picker:not([hidden])) { overflow: hidden; }
.picker-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.picker-title { margin: 0; font-size: 1.375rem; font-weight: 650; }
.picker-close {
  all: unset; cursor: pointer; min-height: 44px; min-width: 44px; display: inline-flex;
  align-items: center; justify-content: center; color: var(--muted);
  text-decoration: underline; text-underline-offset: 3px;
}
.picker-close:hover { color: var(--ink); }
.picker-sub { margin: .5rem 0 0; color: var(--muted); font-size: 0.9375rem; overflow-wrap: anywhere; }
.picker-toggle { display: inline-flex; gap: 4px; margin-top: 1rem; padding: 4px; border: 1px solid var(--line-subtle); border-radius: 10px; background: var(--surface-elevated); }
.picker-interval {
  all: unset; cursor: pointer; min-height: 44px; padding: 0 1rem; display: inline-flex;
  align-items: center; border-radius: 8px; font-weight: 600; color: var(--muted);
}
.picker-interval.is-active { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(19, 33, 45, .18); }
.picker-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.25rem; }
.picker-plan { display: flex; flex-direction: column; gap: .5rem; padding: 1.25rem; border: 1px solid var(--line-subtle); border-radius: 12px; background: var(--surface); }
.picker-plan-featured { border-color: var(--accent); }
.picker-plan-name { margin: 0; font-size: 1.125rem; font-weight: 650; }
.picker-price { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: .35rem; }
.picker-price strong { font-size: 1.5rem; white-space: nowrap; }
.picker-was { color: var(--faint); text-decoration: line-through; font-size: 1rem; }
.picker-was[hidden] { display: none; }
.picker-per { color: var(--muted); font-size: 0.875rem; }
.picker-allowance { margin: 0; color: var(--muted); font-size: 0.875rem; }
.picker-cta { margin-top: auto; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.picker-note { margin: 1rem 0 0; color: var(--faint); font-size: 0.8125rem; }
.picker-close:focus-visible, .picker-interval:focus-visible, .picker-cta:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
@media (max-width: 48em) {
  .picker-plans { grid-template-columns: 1fr; }
  .plan-picker-panel { padding: 1.25rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .plan-picker-panel { animation: picker-in .18s ease-out; }
  @keyframes picker-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}
@media (forced-colors: active) {
  .plan-picker-backdrop { background: Canvas; }
  .plan-picker-panel { background: Canvas; color: CanvasText; border: 1px solid CanvasText; }
  .picker-interval.is-active { border: 1px solid Highlight; }
  .picker-cta { border: 1px solid ButtonText; }
}
@media print { .plan-picker { display: none; } }

.picker-trial { margin: .75rem 0 0; text-align: center; font-size: 0.9375rem; }
.picker-trial a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.picker-trial span { display: block; margin-top: .25rem; color: var(--muted); font-size: 0.8125rem; }
