/* Vitalwire site. Palette C1 and Manrope from brand guide v0. Deliberately light-only, like the printed brand. */
@font-face {
  font-family: 'Manrope';
  src: url('manrope-var.woff') format('woff');
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --cobalt: #2343C4;
  --cobalt-dark: #1A35A3;
  --cobalt-50: #EEF1FC;
  --night: #0F1B3D;
  --mint: #1E9C78;
  --mint-50: #E4F4EE;
  --paper: #F5F7FC;
  --white: #FFFFFF;
  --ink: #0E1530;
  --muted: #47506E;
  --line: #DCE1EE;
  --mist: #E7EBF7;
  --light-cobalt: #93A6FF;
  --light-mint: #5FD8B4;
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --wrap: 1160px;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--cobalt); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--light-cobalt); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; color: var(--night); text-wrap: balance; letter-spacing: -0.02em; }
h1 { font-weight: 800; font-size: clamp(36px, 5.4vw, 60px); line-height: 1.04; }
h2 { font-weight: 800; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; }
h3 { font-weight: 700; font-size: 19px; line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--cobalt); }
.lede { font-size: 19px; color: var(--muted); max-width: 60ch; }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }

/* preview banner */
.preview { background: var(--night); color: var(--mist); font-size: 13.5px; }
.preview .wrap { padding-block: 9px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.preview b { color: var(--light-mint); font-weight: 700; }

/* header */
/* not sticky: the logo must never sit over the ACI research section (CO-014, CO-019) */
.site-header { position: relative; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 68px; padding-top: env(safe-area-inset-top, 0px); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; min-width: 0; }
.brand img { height: 30px; width: auto; display: block; }
.brand .descriptor { font-size: 12.5px; color: var(--muted); font-weight: 500; line-height: 1.25; max-width: 210px; padding-left: 14px; border-left: 1px solid var(--line); }
.nav { margin-left: auto; display: flex; gap: 22px; align-items: center; }
.nav a { color: var(--night); text-decoration: none; font-size: 15px; font-weight: 600; }
.nav a:hover { color: var(--cobalt); }
.btn { display: inline-flex; align-items: center; gap: 8px; font: 700 15.5px/1 var(--font); padding: 14px 20px; border-radius: 10px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; }
.btn-primary { background: var(--cobalt); color: var(--white); }
.btn-primary:hover { background: var(--cobalt-dark); }
.btn-ghost { background: transparent; color: var(--night); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--night); }
.nav .btn { padding: 11px 16px; font-size: 14.5px; }
.nav a.btn-primary, .nav a.btn-primary:hover { color: var(--white); }
@media (max-width: 960px) { .nav a:not(.btn), .brand .descriptor { display: none; } }

/* hero */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 104px); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 22px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.works-with { display: flex; gap: 10px 18px; flex-wrap: wrap; align-items: center; font-size: 14px; color: var(--muted); margin-top: 8px; }
.works-with b { color: var(--night); font-weight: 700; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

/* chat mock */
.mock { background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 60px -30px rgba(15, 27, 61, .28), 0 2px 6px rgba(15, 27, 61, .05); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--mist); display: block; }
.mock-bar span { margin-left: 8px; font-weight: 600; }
.mock-body { padding: 22px; display: grid; gap: 16px; }
.bubble-user { justify-self: end; background: var(--cobalt-50); color: var(--night); padding: 12px 16px; border-radius: 14px 14px 4px 14px; font-weight: 600; font-size: 15.5px; max-width: 85%; }
.answer { display: grid; gap: 12px; font-size: 15px; color: var(--ink); }
.quote { margin: 0; border-left: 3px solid var(--mint); background: var(--mint-50); border-radius: 0 10px 10px 0; padding: 14px 16px; font-size: 15.5px; line-height: 1.55; color: var(--ink); }
.skel { height: 9px; border-radius: 5px; background: #C8E6DB; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 12.5px; font-weight: 700; color: var(--night); background: var(--mist); border-radius: 999px; padding: 5px 10px; }
.chip.ok { background: var(--mint-50); color: #136B52; }
.small-note { font-size: 12.5px; color: var(--muted); }

/* statement */
.statement { background: var(--white); border-block: 1px solid var(--line); }
.intended { background: var(--night); color: var(--mist); border-radius: 20px; padding: clamp(26px, 4vw, 44px); display: grid; gap: 14px; font-size: clamp(18px, 2vw, 22px); line-height: 1.5; font-weight: 500; }
.intended .eyebrow { color: var(--light-mint); }
.cards { display: grid; gap: 16px; grid-template-columns: repeat(4, 1fr); margin-top: 22px; }
@media (max-width: 1000px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: grid; gap: 10px; align-content: start; }
.card p { color: var(--muted); font-size: 16px; }
.card .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--cobalt-50); display: grid; place-items: center; }

/* steps infographic */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: grid; gap: 12px; align-content: start; position: relative; }
.step .n { font-size: 13px; font-weight: 800; color: var(--cobalt); letter-spacing: .08em; }
.step p { color: var(--muted); font-size: 15.5px; }
.step svg.art { width: 100%; height: 110px; display: block; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* demo */
.demo { background: var(--night); color: var(--mist); }
.demo h2 { color: var(--white); }
.demo .lede { color: #B9C2DE; }
.demo .eyebrow { color: var(--light-mint); }
.demo-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; align-items: stretch; }
.video { aspect-ratio: 16 / 9; max-width: 100%; border-radius: 16px; background: linear-gradient(135deg, #16244F, #0B1022); border: 1px solid #26305A; display: grid; place-items: center; text-align: center; padding: 24px; position: relative; overflow: hidden; }
.video .play { width: 72px; height: 72px; border-radius: 50%; background: var(--cobalt); display: grid; place-items: center; margin: 0 auto 14px; }
.video p { color: #B9C2DE; font-size: 15px; max-width: 40ch; margin: 0 auto; }
.doc { background: var(--white); color: var(--ink); border-radius: 16px; padding: 22px; display: grid; gap: 12px; align-content: start; }
.doc-head { display: grid; gap: 4px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.doc-head b { font-size: 16px; color: var(--night); }
.doc-head span { font-size: 13px; color: var(--muted); }
.doc .skel { background: var(--mist); }
.doc .hl { background: var(--mint-50); border-left: 3px solid var(--mint); padding: 10px 12px; border-radius: 0 8px 8px 0; display: grid; gap: 8px; }
.doc .hl .skel { background: #BFE3D6; }
@media (max-width: 900px) { .demo-grid { grid-template-columns: 1fr; } }

/* tiers */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tier { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: grid; gap: 12px; align-content: start; }
.tier .lvl { font-size: 13px; font-weight: 800; color: var(--cobalt); letter-spacing: .08em; text-transform: uppercase; }
.tier p { color: var(--muted); font-size: 15.5px; }
.tier svg { width: 100%; height: 120px; display: block; }
.no-patient { margin-top: 18px; display: flex; gap: 18px; align-items: center; background: var(--cobalt); color: var(--white); border-radius: 18px; padding: 22px 26px; }
.no-patient p { color: #DCE3FF; font-size: 16px; }
.no-patient b { color: var(--white); font-size: 18px; display: block; margin-bottom: 2px; }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; } .no-patient { flex-direction: column; align-items: flex-start; } }

/* update cycle */
.cycle { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.cycle svg { width: 100%; height: auto; display: block; max-width: 520px; margin: 0 auto; }
.cycle-list { display: grid; gap: 14px; counter-reset: c; }
.cycle-list div { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; }
.cycle-list span { width: 36px; height: 36px; border-radius: 50%; background: var(--cobalt-50); color: var(--cobalt); font-weight: 800; display: grid; place-items: center; }
.cycle-list p { color: var(--muted); }
.cycle-list b { color: var(--night); display: block; }
@media (max-width: 900px) { .cycle { grid-template-columns: 1fr; } }

/* audiences */
.aud { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.aud .card { background: var(--white); }
@media (max-width: 900px) { .aud { grid-template-columns: 1fr; } }

/* roadmap */
.road { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; position: relative; }
.stage { border-radius: 20px; padding: clamp(24px, 3.5vw, 36px); display: grid; gap: 12px; align-content: start; border: 1px solid var(--line); background: var(--white); }
.stage.now { background: var(--cobalt); color: #DCE3FF; border-color: var(--cobalt); }
.stage.now h3 { color: var(--white); }
.status { justify-self: start; font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; padding: 6px 11px; }
.now .status { background: var(--white); color: var(--cobalt); }
.later .status { background: var(--mist); color: var(--night); }
.stage h3 { font-size: 24px; }
.later p { color: var(--muted); }
.pending { font-size: 12.5px; font-weight: 600; color: #8A5A00; background: #FFF3D6; border-radius: 6px; padding: 4px 8px; justify-self: start; }
@media (max-width: 760px) { .road { grid-template-columns: 1fr; } }

/* about */
.about { display: grid; grid-template-columns: 220px 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.portrait { width: 220px; height: 220px; max-width: 100%; border-radius: 24px; background: var(--cobalt-50); border: 1px dashed var(--light-cobalt); display: grid; place-items: center; text-align: center; color: var(--cobalt); font-weight: 700; font-size: 14px; padding: 16px; }
.about-copy { display: grid; gap: 16px; max-width: 64ch; }
.about-copy p { color: var(--ink); }
.facts { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 700px) { .about { grid-template-columns: 1fr; } }

/* contact */
.contact { background: var(--white); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 26px; display: grid; gap: 14px; align-content: start; }
.email-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.email { font-size: clamp(20px, 2.4vw, 26px); font-weight: 800; color: var(--night); letter-spacing: -0.01em; user-select: all; word-break: break-all; }
.copy-btn { font: 700 14px/1 var(--font); padding: 10px 14px; border-radius: 8px; border: 1.5px solid var(--line); background: var(--white); color: var(--night); cursor: pointer; }
.form-slot { border: 1.5px dashed var(--line); border-radius: 12px; padding: 18px; display: grid; gap: 10px; color: var(--muted); font-size: 15px; }
.form-slot .fake { height: 40px; border-radius: 8px; background: var(--white); border: 1px solid var(--line); }
.contact-grid:has(> :only-child) { grid-template-columns: 1fr; max-width: 560px; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

/* footer */
.site-footer { background: var(--night); color: #B9C2DE; padding-block: 48px calc(36px + env(safe-area-inset-bottom, 0px)); font-size: 14.5px; }
.site-footer .wrap { display: grid; gap: 22px; }
.foot-top { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; }
.foot-top img { height: 30px; width: auto; display: block; }
.foot-top .descriptor { color: var(--mist); font-weight: 500; }
.ref-line { color: var(--white); font-weight: 600; }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-links a { color: var(--mist); }
.foot-meta { border-top: 1px solid #26305A; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* legal pages */
.legal { padding-block: 64px 96px; }
.legal .wrap { max-width: 760px; display: grid; gap: 18px; }
.legal h2 { font-size: 24px; margin-top: 18px; }
.legal p, .legal li { color: var(--muted); }

/* v2 additions */
.ph { display: inline-block; font-size: 12.5px; font-weight: 600; color: #7A4F00; background: #FFF3D6; border-radius: 6px; padding: 3px 8px; line-height: 1.4; }
.ph-dark { color: #3A2600; background: #FFD98A; border-radius: 4px; padding: 0 5px; font-weight: 700; }
.mock-cap { margin: 0; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
figure.mock { margin: 0; }
.doc-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.doc-tabs button { font: 700 13px/1 var(--font); padding: 8px 12px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--night); cursor: pointer; }
.doc-tabs button[aria-selected="true"] { background: var(--night); color: var(--white); border-color: var(--night); }
.g { display: grid; gap: 12px; }
.doc blockquote { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink); }
.doc blockquote.hl { background: var(--mint-50); border-left: 3px solid var(--mint); padding: 12px 14px; border-radius: 0 8px 8px 0; display: block; }
.doc blockquote.plain { padding: 0 2px; color: var(--muted); font-size: 14.5px; }
.doc .sys { font-size: 13.5px; color: var(--night); background: var(--cobalt-50); border-radius: 8px; padding: 10px 12px; font-weight: 600; }
.doc .source { font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; }
.tracks { display: grid; gap: 22px; }
.track { display: grid; grid-template-columns: 200px 1fr; gap: 16px; align-items: center; }
.track-name { font-weight: 800; color: var(--night); font-size: 18px; }
.track-bar { display: block; border-radius: 999px; padding: 14px 20px; font-weight: 700; font-size: 15px; }
.track-bar.now { background: var(--cobalt); color: var(--white); width: 100%; }
.track-bar.research { background: var(--white); color: var(--night); border: 2px dashed var(--light-cobalt); width: 72%; }
@media (max-width: 640px) { .track { grid-template-columns: 1fr; gap: 8px; } .track-bar.research { width: 100%; } }
.research-copy { max-width: 70ch; font-size: 18px; color: var(--ink); display: grid; gap: 14px; }
.biz { color: #B9C2DE; }
.portrait-fig { margin: 0; display: grid; gap: 10px; }
.portrait-img { width: 220px; max-width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; display: block; }
.portrait-fig figcaption { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.alt-block { margin-top: 28px; max-width: 70ch; border: 2px dashed #E0A93A; background: #FFFBF0; border-radius: 16px; padding: 22px 24px; display: grid; gap: 12px; }
.alt-block p { color: var(--ink); font-size: 17px; }
.alt-tag { justify-self: start; font-size: 12.5px; font-weight: 800; color: #7A4F00; background: #FFE7A8; border-radius: 6px; padding: 4px 9px; letter-spacing: .02em; }
.alt-h { font-size: 22px; }
.tagline { font-size: clamp(17px, 1.8vw, 20px); font-weight: 700; color: var(--night); letter-spacing: -0.01em; display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.tagline::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--mint); display: inline-block; }
