/* SaaSToAgent final v1. Project-specific direction: #F7F2E9 components;
   orange is capped at 5%, used only as ink/linework on neutral components.
   Indigo components never contain orange. No orange surfaces or gradients. */
@font-face {
  font-family: "Instrument Sans";
  src: url("/_legacy-assets/healthcare-ai/assets/instrument-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --paper: #FBF8F1;
  --panel: #F7F2E9;
  --ink: #202028;
  --muted: #626269;
  --indigo: #515CA2;
  --indigo-hover: #454F8E;
  --indigo-pressed: #3B447A;
  --orange: #EC5A35;
  --rule: #DED9D0;
  --control-border: #626269;
  --error: #B42318;
  --font: "Instrument Sans", Arial, sans-serif;
  --pad: clamp(24px, 4.5vw, 64px);
  --sec-y: clamp(88px, 7.5vw, 120px);
  --radius: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img, video { max-width: 100%; display: block; }
svg { max-width: 100%; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; }
button:disabled { opacity: .5; cursor: not-allowed; }
[hidden] { display: none !important; }
::selection { background: var(--indigo); color: white; }
.wrap { width: min(1280px, calc(100% - var(--pad) * 2)); margin-inline: auto; }
.narrow { max-width: 900px; }

h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: var(--font); font-weight: 500; text-wrap: balance; }
h1 { font-size: clamp(56px, 5.6vw, 80px); line-height: 1.02; letter-spacing: -.04em; }
h2 { font-size: clamp(40px, 4vw, 56px); line-height: 1.08; letter-spacing: -.04em; }
h3 { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.15; letter-spacing: -.025em; }
h4 { font-size: 22px; line-height: 1.25; letter-spacing: -.02em; }
p { margin: 0 0 24px; }
p:last-child { margin-bottom: 0; }
b, strong { font-weight: 600; }
.lede, .story-lede { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 65ch; }
.body-copy { color: var(--muted); max-width: 68ch; }
.eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 24px; color: var(--indigo); font-size: 12px; font-weight: 500; line-height: 1.4; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 4px; height: 4px; flex: none; border-radius: 50%; background: currentColor; }
.meta { color: var(--muted); font-size: 12px; font-weight: 500; line-height: 1.4; letter-spacing: .06em; text-transform: uppercase; }
.sec { padding-block: var(--sec-y); border-top: 1px solid var(--rule); }
.sec-head, .story-intro { max-width: 840px; margin-bottom: 48px; }
.sec-head h2, .story-intro h2, .why-grid h2 { margin-bottom: 24px; }
.sec-cta { margin-top: 32px; }
.story-foot { max-width: 70ch; margin-top: 24px; font-size: 16px; color: var(--muted); }
.story-lede .em { color: var(--ink); font-style: normal; }

/* Controls use indigo only; numerical accents live on neutral components. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; max-width: 100%; padding: 12px 24px; border: 1px solid transparent; border-radius: 999px; font-size: 15px; font-weight: 500; line-height: 1.4; text-align: center; text-decoration: none; transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease; }
.btn-primary { background: var(--indigo); color: white; }
.btn-primary:hover { background: var(--indigo-hover); }
.btn-primary:active { background: var(--indigo-pressed); }
.btn-ghost { background: transparent; color: var(--indigo); border-color: var(--indigo); }
.btn-ghost:hover { background: var(--panel); border-color: var(--indigo-hover); color: var(--indigo-hover); }
.btn-light { background: var(--paper); color: var(--indigo); }
.btn-light:hover { background: var(--panel); }
.btn .arw { flex: none; font-size: 18px; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.text-link { color: var(--indigo); font-size: 15px; font-weight: 500; }
.spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid #ffffff66; border-top-color: white; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Header keeps the same destinations available at mobile widths. */
.skip-link { position: fixed; top: 8px; left: var(--pad); z-index: 100; padding: 12px 24px; border-radius: 999px; background: var(--ink); color: white; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.topbar { position: sticky; top: 0; z-index: 60; background: var(--paper); border-bottom: 1px solid var(--rule); }
.topbar .wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; }
.brand { display: inline-flex; align-items: center; gap: 16px; flex: none; text-decoration: none; }
.brand-logo { width: 32px; height: 32px; flex: none; }
.brand-name { font-size: 20px; font-weight: 600; letter-spacing: -.035em; }
.brand-tag { padding-left: 16px; border-left: 1px solid var(--rule); color: var(--muted); font-size: 12px; }
.topnav { display: flex; align-items: center; gap: 24px; }
.topnav .navlink { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 14px; font-weight: 500; text-decoration: none; }
.topnav .navlink:hover { color: var(--indigo); }
.topbar .btn { padding-inline: 20px; font-size: 14px; }
.menu-toggle { display: none; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--control-border); border-radius: 50%; background: transparent; color: var(--ink); }

/* Hero: short promise first, detailed industry context below. */
.hero { padding-block: var(--sec-y) 64px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(320px, .9fr); gap: 64px; align-items: center; }
.hero h1 { margin-bottom: 32px; }
.hero h1 .hl { color: var(--indigo); }
.hero .lede { margin-bottom: 32px; max-width: 60ch; }
.hero .btn-row { margin-bottom: 32px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 12px 24px; list-style: none; margin: 0; padding: 24px 0 0; border-top: 1px solid var(--rule); }
.hero-note li { display: flex; align-items: baseline; gap: 8px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.hero-note li::before { content: "✓"; color: var(--indigo); }

/* Resource card uses neutral artwork, so its indigo CTA stays the focus. */
.wp { border: 1px solid var(--rule); border-radius: var(--radius); background: var(--panel); overflow: hidden; }
.wp-art { position: relative; padding: 56px 24px 24px; border-bottom: 1px solid var(--rule); }
.wp-badge { position: absolute; top: 20px; left: 24px; color: var(--muted); font-size: 12px; font-weight: 500; }
.wp-doc { display: block; width: 228px; height: 150px; margin-inline: auto; }
.wp-body { padding: 32px; }
.wp-body h3 { margin-bottom: 16px; font-size: 28px; }
.wp-sub { margin-bottom: 24px; color: var(--muted); font-size: 16px; }
.wp-bullets { display: grid; gap: 12px; list-style: none; margin: 0 0 24px; padding: 20px 0; border-block: 1px solid var(--rule); }
.wp-bullets li { position: relative; padding-left: 24px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.wp-bullets li::before { content: "✓"; position: absolute; left: 0; color: var(--ink); }
.wp-form { display: grid; gap: 16px; }
.wp-field { display: none; }
.wp.is-open .wp-field { display: grid; gap: 8px; }
.wp-field label { font-size: 14px; font-weight: 500; }
.wp-field input { width: 100%; min-height: 48px; border: 1px solid var(--control-border); border-radius: 10px; padding: 12px 16px; background: var(--paper); color: var(--ink); font-size: 16px; }
.wp-field input[aria-invalid="true"] { border-color: var(--error); }
.wp-msg { margin: 0; font-size: 14px; }
.wp-msg:empty { display: none; }
.wp-msg[data-state="error"] { color: var(--error); }
.wp-msg[data-state="success"] { color: var(--indigo); }
.wp-legal { color: var(--muted); font-size: 12px; line-height: 1.5; }

/* Trust markers. Review numbers are orange on cream, never on indigo. */
.strip { padding-block: 48px; border-block: 1px solid var(--rule); }
.strip-head { max-width: 760px; margin-bottom: 32px; }
.strip-h { font-size: 32px; line-height: 1.15; letter-spacing: -.025em; }
.strip-in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) repeat(2, minmax(0, .9fr)); gap: 16px; align-items: stretch; }
.tb { display: flex; align-items: center; gap: 12px; position: relative; padding: 24px 16px; min-width: 0; border: 1px solid var(--rule); border-radius: 12px; background: var(--panel); text-decoration: none; }
.tb-ico { flex: none; display: grid; place-items: center; width: 24px; color: var(--indigo); }
.tb-txt { min-width: 0; }
.tb-txt strong { display: block; font-size: 14px; line-height: 1.4; font-weight: 500; }
.tb-txt > span:not(.stars):not(.rate) { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.4; }
a.tb:hover { border-color: var(--control-border); }
.tb-sep { display: none; }
.tb-rev { flex-wrap: wrap; }
.tb-rev .tb-ico { width: 48px; }
.tb-rev .rate { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.tb-rev .rate b { font-size: 28px; font-weight: 500; line-height: 1.15; color: var(--orange); }
.tb-rev .rate em { font-size: 12px; font-style: normal; color: var(--muted); }
.tb-rev .ext { position: absolute; top: 12px; right: 12px; color: var(--muted); }
.stars, .rev-stars { display: flex; gap: 2px; color: var(--orange); margin-top: 8px; }
.lg { display: block; width: 100%; height: 24px; object-fit: contain; }
.lg-fb { display: none; }
.no-img .lg { display: none; }
.no-img .lg-fb { display: block; }

/* Comparison and architecture keep a single neutral surface language. */
.dr { overflow: hidden; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--panel); }
.dr-head, .dr-row { display: grid; grid-template-columns: 160px 1fr 1fr; }
.dr-head { border-bottom: 1px solid var(--rule); }
.dr-head span { padding: 20px 24px; font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.dr-head .h-demo { color: var(--muted); }
.dr-head .h-gov { color: var(--indigo); }
.dr-row { border-bottom: 1px solid var(--rule); }
.dr-row:last-child { border: 0; }
.dr-row > div { padding: 24px; font-size: 16px; line-height: 1.6; }
.dr-dim { font-weight: 500; }
.dr-demo { border-inline: 1px solid var(--rule); color: var(--muted); }
.why-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.why-points { display: grid; gap: 24px; margin-top: 32px; }
.why-point { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 16px; }
.why-point .pi { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--panel); color: var(--indigo); }
.why-point svg { width: 24px; height: 24px; }
.why-point h4 { margin-bottom: 8px; font-size: 20px; }
.why-point p { font-size: 16px; color: var(--muted); }
.orbit { display: block; width: 100%; max-width: 480px; margin-inline: auto; }
.beliefs-head { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--rule); }
.beliefs-h { max-width: 40ch; margin-bottom: 32px; }
.principles { border-top: 1px solid var(--rule); }
.principle { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 24px; padding-block: 24px; border-bottom: 1px solid var(--rule); }
.principle .num { color: var(--orange); font-size: 24px; font-weight: 500; line-height: 1.3; font-variant-numeric: tabular-nums; }
.principle p { max-width: 72ch; }
.stack { overflow: hidden; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--panel); }
.layer { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; padding: 32px; border-bottom: 1px solid var(--rule); }
.layer:last-child { border: 0; }
.layer-name { font-size: 24px; font-weight: 500; line-height: 1.15; letter-spacing: -.02em; }
.layer-name small { display: block; margin-top: 12px; color: var(--muted); font-size: 12px; font-weight: 500; line-height: 1.4; letter-spacing: .06em; text-transform: uppercase; }
.layer p { color: var(--muted); font-size: 16px; max-width: 70ch; }
.stack-note { color: var(--muted); font-size: 14px; margin-top: 24px; max-width: 80ch; }
.parts, .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.part, .chip { padding: 8px 16px; border: 1px solid var(--rule); border-radius: 999px; background: var(--panel); color: var(--muted); font-size: 12px; }

/* Orange sequences belong to neutral workflow and decision components. */
.flowmap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 32px; padding: 24px; border: 1px solid var(--rule); border-radius: 12px; background: var(--panel); }
.flowmap span { font-size: 12px; font-weight: 500; line-height: 1.4; }
.flowmap i { color: var(--orange); font-style: normal; }
.flowmap .fm-gov { color: var(--ink); }
.slices { display: grid; gap: 24px; }
.slice { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 24px; padding: 32px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--panel); }
.slice-n { color: var(--orange); font-size: 32px; font-weight: 500; line-height: 1.15; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.slice h3 { margin-bottom: 16px; }
.slice > div > p { max-width: 75ch; margin-bottom: 24px; color: var(--muted); font-size: 16px; }
.ba { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: start; padding-top: 24px; border-top: 1px solid var(--rule); }
.ba-col span { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.ba-now span { color: var(--muted); }
.ba-col p { margin: 0; font-size: 16px; color: var(--muted); }
.ba-arw { color: var(--orange); }
.decisions { position: relative; list-style: none; margin: 0; padding: 0; }
.decisions::before { content: ""; position: absolute; top: 24px; bottom: 48px; left: 23px; width: 1px; background: var(--rule); }
.dec { position: relative; min-height: 48px; padding: 0 0 40px 80px; }
.dec:last-child { padding-bottom: 0; }
.dec-n { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--rule); border-radius: 50%; background: var(--panel); color: var(--orange); font-size: 24px; font-weight: 500; }
.dec .ph-lab { color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.dec h4 { margin: 8px 0 12px; font-size: 24px; }
.dec p { max-width: 72ch; color: var(--muted); font-size: 16px; }

/* Proof: indigo feature statement followed by neutral, inspectable evidence. */
.nflag { margin-bottom: 40px; border-radius: var(--radius); background: var(--indigo); }
.nflag-copy { padding: clamp(32px, 5vw, 64px); }
.nflag .eyebrow { color: var(--paper); }
.nflag h2 { max-width: 26ch; color: var(--paper); margin-bottom: 24px; }
.nflag-copy p:not(.eyebrow) { max-width: 64ch; color: var(--paper); margin-bottom: 32px; }
.proof { margin: 0 0 32px; }
.proof-lead { max-width: 75ch; margin-bottom: 32px; }
.proof-lead h3 { margin-bottom: 16px; }
.proof-lead p { color: var(--muted); font-size: 16px; }
.shot-fig { margin: 0; display: flex; flex-direction: column; height: 100%; }
.shot { border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; background: var(--panel); }
.shot-bar { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--rule); }
.shot-dots { display: flex; gap: 4px; flex: none; }
.shot-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.shot-label { font-size: 12px; color: var(--muted); }
.shot-media img { width: 100%; height: auto; }
.shot-fig figcaption, .caption { margin-top: 16px; color: var(--muted); font-size: 14px; line-height: 1.6; max-width: 80ch; }
.shot-fig figcaption b { color: var(--ink); }
.proof-hero { margin-bottom: 32px; }
.proof-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.story { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; gap: 1px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--rule); margin-bottom: 32px; }
.story-step { padding: 32px; background: var(--panel); }
.story-n { display: inline-block; margin-bottom: 16px; color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.story-step p { font-size: 16px; color: var(--muted); }
.story-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-bottom: 32px; }
.story-stats div { padding: 24px; border: 1px solid var(--rule); border-radius: 12px; background: var(--panel); }
.story-stats b { display: block; color: var(--orange); font-size: 40px; font-weight: 500; letter-spacing: -.04em; line-height: 1.08; font-variant-numeric: tabular-nums; }
.story-stats span { display: block; margin-top: 12px; color: var(--muted); font-size: 12px; font-weight: 500; }
.story-quote { margin: 0 0 32px; padding: 32px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--panel); }
.story-quote p { max-width: 72ch; margin-bottom: 24px; font-size: 24px; line-height: 1.4; letter-spacing: -.02em; }
.story-quote footer { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; font-size: 14px; }
.story-quote span { color: var(--muted); }
.player { overflow: hidden; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--ink); }
.player video { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: var(--ink); }

/* Large indigo areas are deliberate and contain no orange accents. */
.gov { padding: clamp(32px, 5vw, 64px); border-radius: var(--radius); background: var(--indigo); color: var(--paper); }
.gov .eyebrow, .gov h2, .gov h4 { color: var(--paper); }
.gov h2 { max-width: 26ch; margin-bottom: 24px; }
.gov-quote { max-width: 65ch; margin-bottom: 48px; padding-left: 24px; border-left: 1px solid var(--paper); font-size: 20px; }
.gov-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 48px; border-top: 1px solid #fbf8f166; padding-top: 32px; }
.gov-cell h4 { margin-bottom: 16px; font-size: 24px; }
.gov-cell p { font-size: 16px; }
.gov-cell .links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; }
.gov-cell .links a { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; padding: 8px 16px; border: 1px solid var(--paper); border-radius: 999px; font-size: 14px; font-weight: 500; text-decoration: none; }
.gov-cell .links a:hover { background: var(--paper); color: var(--indigo); }
.gov :focus-visible, .band :focus-visible, .nflag :focus-visible { outline-color: var(--paper); }
.band { background: var(--indigo); color: var(--paper); }
.band-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; padding-block: 64px; }
.collage { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ph { overflow: hidden; aspect-ratio: 4 / 3; border-radius: 12px; background: var(--panel); }
.ph img, .ph svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph .ph-fb { display: none; }
.ph.no-img img { display: none; }
.ph.no-img .ph-fb { display: block; }
.band-copy h2 { color: var(--paper); margin-bottom: 24px; }
.band-copy p { color: var(--paper); margin-bottom: 32px; }

/* Reviews are neutral cards with small orange rating marks. */
.rev-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 40px; }
.rev-nav { display: flex; gap: 8px; flex: none; }
.rev-btn { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--control-border); border-radius: 50%; background: var(--panel); color: var(--ink); transition: background-color 150ms ease; }
.rev-btn:hover { background: var(--paper); }
.rev-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 24px) / 2); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; padding: 4px 4px 16px; margin-inline: -4px; }
.rev-track::-webkit-scrollbar { display: none; }
.rev-card { display: flex; flex-direction: column; padding: 32px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--panel); scroll-snap-align: start; }
.rev-tag { align-self: flex-start; color: var(--muted); margin-bottom: 16px; font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.rev-stars { margin: 0 0 24px; }
.rev-quote-t { margin-bottom: 16px; font-size: 28px; }
.rev-body { flex: 1; margin-bottom: 32px; font-size: 16px; color: var(--muted); }
.rev-person { display: flex; align-items: center; gap: 16px; padding-top: 24px; border-top: 1px solid var(--rule); }
.rev-av { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--rule); border-radius: 50%; color: var(--ink); font-size: 14px; font-weight: 500; flex: none; }
.rev-meta strong { display: block; font-size: 16px; font-weight: 500; line-height: 1.4; }
.rev-meta span { display: block; color: var(--muted); font-size: 12px; line-height: 1.5; margin-top: 8px; }
.rev-dots { display: flex; flex-wrap: wrap; justify-content: center; margin-top: 16px; }
.rev-dots button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; padding: 0; }
.rev-dots button::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.rev-dots button.on::before { width: 20px; border-radius: 999px; background: var(--ink); }

.spec-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.spec { display: flex; align-items: center; gap: 12px; padding: 20px; border: 1px solid var(--rule); border-radius: 12px; background: var(--panel); font-size: 16px; line-height: 1.4; }
.spec .sd { width: 4px; height: 4px; border-radius: 50%; background: var(--indigo); flex: none; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.duo-card { display: flex; flex-direction: column; align-items: flex-start; padding: 40px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--panel); }
.duo-tag { color: var(--indigo); margin-bottom: 24px; font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.duo-flag { padding: 6px 12px; border: 1px solid var(--rule); border-radius: 999px; margin-bottom: 16px; font-size: 12px; font-weight: 500; }
.duo-card h3 { margin-bottom: 24px; }
.duo-card p { color: var(--muted); font-size: 16px; }
.duo-list { flex: 1; display: grid; gap: 12px; list-style: none; margin: 0 0 32px; padding: 0; }
.duo-list li { position: relative; padding-left: 24px; color: var(--muted); font-size: 16px; }
.duo-list li::before { content: "✓"; position: absolute; left: 0; color: var(--indigo); }
.duo-list b { color: var(--ink); }
.duo-card .btn { margin-top: auto; }
.duo-accent .btn-light { background: var(--indigo); color: white; }
.duo-accent .btn-light:hover { background: var(--indigo-hover); }
.faq { border-top: 1px solid var(--rule); max-width: 960px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { position: relative; list-style: none; padding: 24px 56px 24px 0; font-size: 24px; font-weight: 500; line-height: 1.3; letter-spacing: -.02em; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; top: 24px; right: 8px; color: var(--indigo); font-size: 24px; }
.faq details[open] summary::after { content: "−"; }
.faq .ans { max-width: 72ch; padding: 0 48px 32px 0; color: var(--muted); font-size: 16px; }
.stats { padding-block: 64px; border-block: 1px solid var(--rule); background: var(--panel); }
.stats-head { max-width: 780px; margin-bottom: 48px; }
.stats .eyebrow { color: var(--muted); }
.stats-head h2 { font-size: 40px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.stat b { display: block; color: var(--orange); font-size: 64px; font-weight: 500; line-height: 1.02; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 16px; font-size: 16px; color: var(--muted); max-width: 25ch; }
.final { padding-block: var(--sec-y); text-align: center; background: var(--indigo); color: var(--paper); }
.final h2 { max-width: 22ch; margin: 0 auto 24px; color: var(--paper); }
.final .lede { max-width: 65ch; margin: 0 auto 32px; color: var(--paper); }
.final .btn-row { justify-content: center; margin-bottom: 24px; }
.final .btn-primary { background: var(--paper); color: var(--indigo); }
.final .btn-primary:hover { background: var(--panel); }
.final .meta { line-height: 1.6; color: var(--paper); }
.final :focus-visible { outline-color: var(--paper); }

/* Footer and mobile resource bar use the same cream surface tokens. */
.foot { padding-block: 64px 32px; border-top: 1px solid var(--rule); background: var(--panel); }
.foot-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 64px; }
.foot-tag { max-width: 34ch; color: var(--muted); font-size: 16px; }
.foot-social { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.foot-social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--control-border); border-radius: 50%; color: var(--muted); }
.foot-social a:hover { color: var(--indigo); border-color: var(--indigo); }
.foot-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.foot-badges a { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; padding: 8px 12px; border: 1px solid var(--control-border); border-radius: 10px; font-size: 12px; font-weight: 500; text-decoration: none; }
.foot-badge-logo { width: 56px; height: 20px; object-fit: contain; }
.foot-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.foot-cols h4 { margin-bottom: 16px; font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.foot-cols a { display: inline-block; color: var(--muted); font-size: 14px; line-height: 1.5; text-decoration: none; }
.foot-cols a:hover, .foot-legal a:hover { color: var(--indigo); text-decoration: underline; }
.foot-disc { max-width: 110ch; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 12px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 16px 24px; margin-top: 24px; color: var(--muted); font-size: 12px; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 24px; }
.foot-legal a { text-decoration: none; }
.wp-bar { position: fixed; z-index: 70; bottom: 0; left: 0; right: 0; display: none; align-items: center; gap: 16px; padding: 16px 24px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--rule); background: var(--panel); box-shadow: 0 -8px 24px #2020280a; }
.wp-bar.is-visible { display: flex; }
.wp-bar-txt { flex: 1; min-width: 0; }
.wp-bar-txt strong { display: block; font-size: 14px; font-weight: 500; line-height: 1.4; }
.wp-bar-txt span { display: block; color: var(--muted); font-size: 12px; line-height: 1.4; }
.wp-bar .btn { flex: none; padding-inline: 20px; font-size: 14px; }
.wp-bar-close { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 1px solid var(--control-border); border-radius: 50%; background: transparent; color: var(--ink); font-size: 24px; }

@media (min-width: 1024px) { .wp-bar.is-visible { display: none; } }
@media (max-width: 1199px) {
  .brand-tag { display: none; }
  .topnav { gap: 16px; }
  .hero-grid { gap: 40px; grid-template-columns: minmax(0, 1.4fr) minmax(320px, 1fr); }
  .strip-in { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .spec-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-top { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 1023px) {
  :root { --sec-y: 88px; }
  .topbar .wrap { min-height: 72px; }
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .topnav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 8px; padding: 24px; border: 1px solid var(--rule); border-radius: 0 0 16px 16px; background: var(--panel); box-shadow: 0 12px 24px #20202810; }
  .topnav.is-open { display: flex; }
  .topnav { max-height: calc(100dvh - 72px); overflow-y: auto; }
  .topnav .navlink { padding: 8px; font-size: 16px; }
  .hero-grid { grid-template-columns: minmax(0, 1.3fr) minmax(280px, 1fr); gap: 32px; align-items: start; }
  h1 { font-size: 56px; }
  .wp-body { padding: 24px; }
  .wp-art { padding-inline: 16px; }
  .why-grid, .band-in { grid-template-columns: 1fr; gap: 48px; }
  .orbit { max-width: 440px; }
  .collage { max-width: 640px; }
  .spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .duo-card { padding: 32px; }
  .story-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  :root { --pad: 24px; --sec-y: 64px; }
  html { scroll-padding-top: 88px; }
  body { font-size: 16px; }
  h1 { font-size: clamp(42px, 7.5vw, 56px); }
  h2 { font-size: clamp(32px, 5.8vw, 44px); }
  h3 { font-size: 24px; }
  .sec-head, .story-intro { margin-bottom: 32px; }
  .hero { padding-bottom: 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero h1 { max-width: 16ch; }
  .hero .lede, .story-lede, .lede { font-size: 16px; }
  .hero .btn-row { gap: 24px; }
  .wp { width: 100%; max-width: 520px; }
  .wp-art { padding-top: 56px; }
  .strip { padding-block: 40px; }
  .strip-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip-h { font-size: 28px; }
  .strip .eyebrow { max-width: 36ch; }
  .dr-head { display: none; }
  .dr-row { grid-template-columns: 1fr; }
  .dr-row > div { border: 0; padding: 16px 24px; }
  .dr-row .dr-dim { padding-top: 24px; padding-bottom: 8px; font-size: 20px; }
  .dr-row .dr-gov { padding-bottom: 24px; }
  .dr-demo::before, .dr-gov::before { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
  .dr-demo::before { content: "In the demo"; color: var(--muted); }
  .dr-gov::before { content: "Under review"; color: var(--indigo); }
  .beliefs-head { margin-top: 40px; }
  .principle { grid-template-columns: 32px minmax(0, 1fr); gap: 16px; }
  .layer { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
  .layer-name small { margin-top: 8px; }
  .slice { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
  .ba { grid-template-columns: 1fr; gap: 24px; }
  .ba-arw { display: none; }
  .dec { padding-left: 64px; padding-bottom: 32px; }
  .dec h4 { font-size: 24px; }
  .proof-row, .story, .gov-grid, .duo { grid-template-columns: 1fr; }
  .story-step, .story-quote, .duo-card { padding: 24px; }
  .story-quote p { font-size: 20px; }
  .story-stats { gap: 16px; }
  .story-stats div { padding: 24px 16px; }
  .gov-quote { font-size: 18px; margin-bottom: 32px; }
  .gov-grid { gap: 32px; }
  .band-in { padding-block: 48px; }
  .rev-top { flex-wrap: wrap; align-items: flex-start; gap: 24px; margin-bottom: 24px; }
  .rev-track { grid-auto-columns: 100%; }
  .rev-card { padding: 24px; }
  .rev-quote-t { font-size: 24px; }
  .spec { padding: 16px; font-size: 14px; }
  .faq summary { font-size: 20px; }
  .faq .ans { padding-right: 0; }
  .stats { padding-block: 48px; }
  .stats-head h2 { font-size: 32px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .stat b { font-size: 48px; }
  .stat span { font-size: 14px; }
  .foot { padding-top: 48px; padding-bottom: 120px; }
  .foot-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot-cols a { padding-block: 4px; }
  .wp-bar { gap: 8px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
  .wp-bar-txt strong { font-size: 12px; }
  .wp-bar-txt span { display: none; }
  .wp-bar .btn { padding-inline: 16px; }
}
@media (max-width: 399px) {
  :root { --pad: 20px; }
  .brand { gap: 16px; }
  .brand-name { font-size: 18px; }
  .strip-in, .spec-grid { grid-template-columns: 1fr; }
  .btn { padding-inline: 20px; font-size: 14px; }
  .story-stats b { font-size: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  html, .rev-track { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
