/* Clozure marketing site — hand-written from apps/web/src/theme/index.ts tokens.
   blue-6 #228be6 / blue-7 #1971c2 (primary), clozure-5 #20c997 (brand teal), wordmark ink #0f172a,
   wordmark stitch #0ea5e9, radius md = 8px, Inter (self-hosted).
   Colour carries meaning on this page: blue = the clinic side, teal = the manufacturer side. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;
  --paper: #ffffff;
  --surface: #f8fafc;
  --ink: #0f172a;
  --text: #1e293b;
  --muted: #475569;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --blue: #228be6;
  --blue-deep: #1971c2;      /* 4.9:1 on white — buttons and links */
  --blue-tint: #e7f5ff;
  --teal: #20c997;
  --teal-deep: #087f5b;      /* 5.0:1 on white — manufacturer-side text */
  --teal-tint: #e6fcf5;
  --stitch: #0ea5e9;
  --warn: #c2410c;           /* 5.2:1 on white */
  --warn-fill: #e8590c;
  --radius: 8px;
  --gutter: 16px;
  --measure: 60ch;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0f172a;
    --surface: #16213a;
    --ink: #f1f5f9;
    --text: #e2e8f0;
    --muted: #94a3b8;
    --line: #273449;
    --line-strong: #3b4a63;
    --blue: #4dabf7;
    --blue-deep: #74c0fc;
    --blue-tint: #14263f;
    --teal: #38d9a9;
    --teal-deep: #63e6be;
    --teal-tint: #0f2a26;
    --stitch: #38bdf8;
    --warn: #ffa94d;
    --warn-fill: #fd7e14;
  }
}
:root[data-theme="dark"] {
  --paper: #0f172a;
  --surface: #16213a;
  --ink: #f1f5f9;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --line: #273449;
  --line-strong: #3b4a63;
  --blue: #4dabf7;
  --blue-deep: #74c0fc;
  --blue-tint: #14263f;
  --teal: #38d9a9;
  --teal-deep: #63e6be;
  --teal-tint: #0f2a26;
  --stitch: #38bdf8;
  --warn: #ffa94d;
  --warn-fill: #fd7e14;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--stitch); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { color: var(--ink); font-weight: 650; letter-spacing: -0.025em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(34px, 7.4vw, 62px); line-height: 1.04; letter-spacing: -0.035em; }
h2 { font-size: clamp(27px, 4.2vw, 40px); line-height: 1.12; }
h3 { font-size: 22px; line-height: 1.25; letter-spacing: -0.015em; }
p { margin: 0; max-width: var(--measure); }
p + p { margin-top: 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 650; color: var(--ink); }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 64px 0; }
.section-head { max-width: 44ch; margin-bottom: 36px; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 18px; }
.lede { font-size: 19px; color: var(--muted); }
.after { margin-top: 16px; font-size: 15px; color: var(--muted); max-width: 52ch; }

/* The audience tag. Sentence case, coloured by side: this is information, not an eyebrow. */
.who { display: block; font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.side-clinic .who, .audience-clinic .who { color: var(--blue-deep); }
.side-mfr .who, .audience-mfr .who { color: var(--teal-deep); }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.site-header .wrap { display: flex; align-items: center; gap: 12px 24px; min-height: 60px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; flex: none; }
.brand svg { height: 26px; width: auto; }
.wordmark-ink { fill: var(--ink); }
.wordmark-stitch { stroke: var(--stitch); }
.site-nav { display: flex; gap: 4px 18px; margin-left: auto; font-size: 15px; white-space: nowrap; }
.site-nav a { color: var(--text); text-decoration: none; padding: 4px 0; font-weight: 500; }
.site-nav a:hover { color: var(--blue-deep); }
.nav-more { display: none; }

/* Audience pages */
.site-nav a[aria-current] { color: var(--blue-deep); }
.page-hero { padding: 48px 0 44px; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 18ch; }
.page-hero .lede { margin-top: 16px; color: var(--text); max-width: 50ch; }
.hero-clinic .who { color: var(--blue-deep); }
.hero-mfr .who { color: var(--teal-deep); }
.pilot-aside { padding: 22px; border: 1px solid var(--line); border-left-width: 3px; border-radius: var(--radius); align-self: start; }
.aside-clinic { border-left-color: var(--blue-deep); }
.aside-mfr { border-left-color: var(--teal-deep); }
.pilot-aside h3 { font-size: 18px; }
.plain-list { margin-top: 12px; display: grid; gap: 8px; font-size: 15px; color: var(--muted); }
.plain-list li { padding-left: 20px; position: relative; }
.plain-list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 10px; height: 2px; border-radius: 1px; background: var(--line-strong); }
.link-clinic { display: inline-block; margin-top: 14px; font-weight: 600; color: var(--blue-deep); }
.distributors { background: var(--surface); }
.distributors .section-head { max-width: 40ch; }
.benefits.three { margin-top: 0; max-width: none; }
.benefits.three li::before { background: var(--teal-deep); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 48px; padding: 10px 20px; border-radius: var(--radius);
  font: inherit; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background-color 120ms ease, border-color 120ms ease;
}
.btn-primary { background: var(--blue-deep); color: #fff; }
.btn-primary:hover { background: var(--ink); color: #fff; }
.btn-primary.btn-mfr { background: var(--teal-deep); }
.btn-primary.btn-mfr:hover { background: var(--ink); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .btn-primary { color: #0b1220; }
  :root:not([data-theme="light"]) .btn-primary:hover { background: #fff; color: #0b1220; }
}
:root[data-theme="dark"] .btn-primary { color: #0b1220; }
:root[data-theme="dark"] .btn-primary:hover { background: #fff; color: #0b1220; }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-quiet:hover { border-color: var(--ink); color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta-row .btn { flex: 1 1 auto; }
@media (min-width: 480px) { .cta-row .btn { flex: 0 1 auto; } }

/* Hero */
.hero { padding: 36px 0 44px; background: var(--paper); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; gap: 28px; }
.hero .lede { margin-top: 16px; color: var(--text); font-size: 18px; max-width: 46ch; }
.hero .fold { display: none; margin-top: 16px; font-size: 14px; color: var(--muted); max-width: 46ch; }
.hero .cta-row { margin-top: 24px; }

/* The checklist card — a live rendering of the order compliance page, and the one thing that moves. */
.checklist {
  position: relative;
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 18px; width: 100%; max-width: 520px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 32px -16px rgba(15, 23, 42, 0.18);
}
.checklist-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.checklist-top h2 { font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.checklist-count { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.checklist-count strong { color: var(--warn); font-size: 20px; }
.checklist.is-complete .checklist-count strong { color: var(--teal-deep); }
.bar { height: 6px; border-radius: 3px; background: var(--line); margin: 12px 0 4px; overflow: hidden; }
.bar > i { display: block; height: 100%; width: 70%; background: var(--warn-fill); border-radius: 3px; transition: width 600ms ease, background-color 400ms ease; }
.checklist.is-complete .bar > i { width: 100%; background: var(--teal); }
.checklist ul { margin-top: 10px; }
.checklist li {
  display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 15px; color: var(--ink);
  border-top: 1px solid var(--line);
}
.checklist li:first-child { border-top: 0; }
.checklist li .tick {
  flex: none; width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid var(--line-strong); position: relative; transition: background-color 250ms ease, border-color 250ms ease;
}
.checklist li .tick::after {
  content: ""; position: absolute; left: 5px; top: 2px; width: 5px; height: 9px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); opacity: 0;
}
.checklist li.met .tick { background: var(--teal); border-color: var(--teal); }
.checklist li.met .tick::after { opacity: 1; }
.checklist li .state { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--warn); white-space: nowrap; }
.checklist li.met .state { color: var(--teal-deep); }
.checklist-foot { margin-top: 12px; font-size: 13px; color: var(--muted); }

/* Two doors */
.doors { padding: 24px 0 0; }
.doors .wrap { display: grid; gap: 12px; }
.door {
  display: grid; gap: 8px; align-content: start;
  padding: 20px; border-radius: var(--radius); text-decoration: none; color: var(--text);
  border: 1px solid var(--line); border-top-width: 3px; background: var(--paper);
  transition: border-color 120ms ease;
}
.door-clinic { border-top-color: var(--blue-deep); }
.door-mfr { border-top-color: var(--teal-deep); }
.door:hover { border-color: var(--ink); color: var(--text); }
.door-who { font-size: 20px; font-weight: 650; color: var(--ink); letter-spacing: -0.015em; }
.door-what { font-size: 15px; color: var(--muted); }
.door-go { font-size: 15px; font-weight: 600; margin-top: 4px; }
.door-clinic .door-go { color: var(--blue-deep); }
.door-mfr .door-go { color: var(--teal-deep); }
.door:hover .door-go { text-decoration: underline; text-underline-offset: 3px; }

/* The seam — clinic on the left, manufacturer on the right, stitched together. */
.seam-section { padding-top: 72px; }
.seam { position: relative; display: grid; gap: 40px; }
.seam::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 11px; width: 0;
  border-left: 2px dashed var(--line-strong);
}
.step { position: relative; padding-left: 40px; }
.step .stitch {
  position: absolute; left: 0; top: 6px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--stitch); display: grid; place-content: center; gap: 3px;
}
.step .stitch::before, .step .stitch::after { content: ""; width: 10px; height: 2px; border-radius: 1px; background: var(--stitch); }
.side-clinic .stitch { border-color: var(--blue-deep); }
.side-clinic .stitch::before, .side-clinic .stitch::after { background: var(--blue-deep); }
.side-mfr .stitch { border-color: var(--teal-deep); }
.side-mfr .stitch::before, .side-mfr .stitch::after { background: var(--teal-deep); }
.step-body { display: grid; gap: 10px; }
.step .icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); margin-bottom: 2px; }
.step .icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.side-clinic .icon { color: var(--blue-deep); }
.side-mfr .icon { color: var(--teal-deep); }
.handoff { margin-top: 6px; padding-top: 10px; border-top: 1px dashed var(--line-strong); font-size: 15px; color: var(--ink); max-width: 42ch; }
.handoff span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 2px; }
.step-body .who { margin-bottom: 0; }
.step-body p { color: var(--muted); font-size: 16px; }
.step-body .shot { margin-top: 8px; }

/* Screenshots are pre-cropped assets (assets/img/crop-*.png) cut on the UI's own card edges with 16px padding. */
.shot { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.shot img { width: 100%; }
.shot figcaption { font-size: 13px; color: var(--muted); padding: 8px 12px; border-top: 1px solid var(--line); background: var(--surface); }
/* Audience sections */
.audience { border-top: 1px solid var(--line); }
.audience-clinic { background: var(--surface); }
.audience .wrap { display: grid; gap: 32px; }
.audience h2 { max-width: 20ch; }
.benefits { margin-top: 24px; display: grid; gap: 14px; max-width: var(--measure); }
.benefits li { padding-left: 24px; position: relative; font-size: 16px; color: var(--muted); }
.benefits li::before { content: ""; position: absolute; left: 0; top: 11px; width: 12px; height: 2px; border-radius: 1px; }
.audience-clinic .benefits li::before { background: var(--blue-deep); }
.audience-mfr .benefits li::before { background: var(--teal-deep); }
.benefits strong { display: inline; }
.audience-shots { display: grid; gap: 16px; align-content: start; }

/* Stat */
.stat-grid { display: grid; gap: 28px; }
.figure { display: grid; gap: 8px; align-content: start; }
.figure .num { font-size: clamp(56px, 10vw, 84px); line-height: 1; font-weight: 650; letter-spacing: -0.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.figure .cap { font-size: 15px; color: var(--muted); max-width: 26ch; }
.stat-copy p { color: var(--text); }
.stat-copy .source { margin-top: 16px; font-size: 13px; color: var(--muted); }
.stat-copy .source a { color: inherit; }

/* Compliance posture */
.posture { background: var(--ink); color: #cbd5e1; }
.posture .wrap { display: grid; gap: 28px; }
.posture h2 { color: #f8fafc; font-size: clamp(22px, 3vw, 28px); max-width: 30ch; }
.posture .mechanisms { display: grid; gap: 12px; }
.posture .mechanisms li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; max-width: 48ch; }
.stitch-mark { flex: none; margin-top: 9px; width: 16px; display: grid; gap: 3px; }
.stitch-mark::before, .stitch-mark::after { content: ""; height: 2px; border-radius: 1px; background: #38bdf8; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .posture { background: var(--surface); } }
:root[data-theme="dark"] .posture { background: var(--surface); }

/* Pilot CTA */
.pilot-cta .wrap { display: grid; gap: 32px; }
.pilot-main p { margin-top: 16px; }
.pilot-mfr { padding: 22px; border: 1px solid var(--line); border-left: 3px solid var(--teal-deep); border-radius: var(--radius); align-self: start; }
.pilot-mfr h3 { font-size: 18px; }
.pilot-mfr p { margin-top: 10px; font-size: 15px; color: var(--muted); }
.link-mfr { display: inline-block; margin-top: 14px; font-weight: 600; color: var(--teal-deep); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.site-footer a { color: inherit; }

/* Pilot page */
.doc { padding: 40px 0 64px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); }
.doc h2 { font-size: 22px; margin-top: 40px; }
.doc p { margin-top: 12px; max-width: none; }
.doc .facts { margin-top: 20px; border-top: 1px solid var(--line); }
.doc .facts div { display: grid; grid-template-columns: 1fr; gap: 2px 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.doc .facts dt { color: var(--muted); font-size: 14px; }
.doc .facts dd { margin: 0; color: var(--ink); }
.doc ul.plain { margin-top: 12px; display: grid; gap: 8px; }
.doc ul.plain li { padding-left: 22px; position: relative; }
.doc ul.plain li::before { content: ""; position: absolute; left: 0; top: 11px; width: 12px; height: 2px; border-radius: 1px; background: var(--teal); }
.doc ul.not li::before { background: var(--line-strong); }
.doc .cta-row { margin-top: 32px; }

/* QR sheet */
.qr-sheet { min-height: 100vh; display: grid; place-items: center; padding: 32px var(--gutter); background: #fff; color: #0f172a; }
.qr-card { display: grid; justify-items: center; text-align: center; gap: 24px; max-width: 460px; }
.qr-card .brand svg { height: 44px; }
.qr-card .qr { width: min(72vw, 300px); height: auto; }
.qr-card .tag { font-size: 20px; color: #334155; }
.qr-card .url { font-size: 24px; font-weight: 600; letter-spacing: -0.01em; color: #0f172a; }
.qr-foot { margin-top: 40px; font-size: 13px; color: #64748b; text-align: center; max-width: 52ch; }
@media print {
  .qr-sheet { min-height: auto; padding: 0; }
  .qr-foot, .no-print { display: none; }
  .qr-card .qr { width: 7cm; }
}

/* Motion: the checklist is the one thing that moves on the page. */
@media (prefers-reduced-motion: reduce) {
  .bar > i, .checklist li .tick { transition: none; }
}

/* Phone header: the wordmark keeps its row, the four section links take a full row beneath it
   (nowrap links plus the wordmark overflow 375px otherwise). */
@media (max-width: 639.98px) {
  .site-header .wrap { flex-wrap: wrap; row-gap: 6px; }
  .site-nav { flex-basis: 100%; margin-left: 0; gap: 4px 16px; font-size: 14px; }
}
/* Breakpoints */
@media (min-width: 640px) {
  .nav-more { display: inline; }
  .hero .fold { display: block; }
  .doors .wrap { grid-template-columns: 1fr 1fr; gap: 16px; }
  .doc .facts div { grid-template-columns: 200px 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat-copy { grid-column: 1 / -1; }
}
@media (min-width: 768px) {
  :root { --gutter: 24px; }
  .section { padding: 88px 0; }
  .hero { padding: 64px 0 64px; }
  .doors { padding-top: 32px; }
  .door { padding: 24px 26px; }
  .audience-shots { grid-template-columns: 1fr 1fr; }
  .posture .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
  .posture h2 { font-size: 28px; }
}
@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 56px; }
  .checklist { justify-self: end; }
  .audience .wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
  .audience-shots { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr 1.4fr; gap: 40px; align-items: start; }
  .stat-copy { grid-column: auto; }
  .pilot-cta .wrap { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 56px; align-items: start; }
  .benefits.three { grid-template-columns: 1fr 1fr 1fr; gap: 28px; }
  .page-hero { padding: 72px 0 64px; }

  /* The seam goes down the middle; steps alternate sides and overlap by half a row. */
  .seam { grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; column-gap: 80px; row-gap: 0; }
  .seam::before { left: 50%; margin-left: -1px; }
  .step { padding-left: 0; padding-bottom: 44px; }
  .step:nth-child(1) { grid-column: 1; grid-row: 1 / span 2; }
  .step:nth-child(2) { grid-column: 2; grid-row: 2 / span 2; }
  .step:nth-child(3) { grid-column: 1; grid-row: 3 / span 2; }
  .step:nth-child(4) { grid-column: 2; grid-row: 4 / span 2; padding-bottom: 0; }
  .step .stitch { top: 4px; }
  .side-clinic .stitch { left: auto; right: -52px; }
  .side-mfr .stitch { left: -52px; }
  .step-body p { max-width: 42ch; }
}
@media (min-width: 1024px) {
  .seam { column-gap: 112px; }
  .side-clinic .stitch { right: -68px; }
  .side-mfr .stitch { left: -68px; }
}

/* v4: full-product audience pages */
.flow-section.alt, .features.alt { background: var(--surface); }
.flow-section .section-head, .features .section-head, .trust .section-head { max-width: 52ch; }
.flow { display: grid; gap: 44px; }
.flow-row { display: grid; gap: 18px; align-items: center; }
.flow-copy h3 { font-size: 22px; letter-spacing: -0.012em; max-width: 24ch; }
.flow-copy p { margin-top: 10px; color: var(--muted); font-size: 16px; max-width: 46ch; }
.flow-copy .plain-list { margin-top: 14px; }
.flow-row .shot { align-self: center; }
.feature-grid { display: grid; gap: 14px; margin-top: 8px; }
.feature { display: grid; gap: 10px; align-content: start; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.feature .icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); }
.feature .icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 18px; letter-spacing: -0.01em; }
.feature p { font-size: 15px; color: var(--muted); }
.side-clinic .feature .icon { color: var(--blue-deep); }
.side-mfr .feature .icon { color: var(--teal-deep); }
.features .shot { margin-top: 28px; }
.trust { border-top: 1px solid var(--line); }
.trust-grid .feature { background: var(--surface); }
.posture-line { margin-top: 24px; font-size: 15px; color: var(--muted); max-width: 60ch; }
.why { background: var(--ink); color: #fff; }
.why h2 { color: #fff; max-width: 20ch; }
.why p { margin-top: 14px; color: rgba(255,255,255,0.82); font-size: 17px; max-width: 52ch; }
.why-grid { display: grid; gap: 32px; align-items: start; }
.why-stat { padding: 24px; border: 1px solid rgba(255,255,255,0.18); border-left: 3px solid var(--teal); border-radius: var(--radius); }
.why-stat .why-num { margin: 0; font-size: clamp(48px, 8vw, 72px); line-height: 1; font-weight: 650; letter-spacing: -0.04em; color: #fff; font-variant-numeric: tabular-nums; }
.why-stat p { font-size: 15px; }
.why-stat a { color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .why { background: var(--surface); } }
@media (min-width: 768px) {
  .feature-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .why-grid { grid-template-columns: 3fr 2fr; gap: 48px; }
}
@media (min-width: 900px) {
  .flow-row { grid-template-columns: 5fr 7fr; gap: 40px; }
  .flow-row:nth-child(even) .flow-copy { order: 2; }
  .flow { gap: 56px; }
}
@media (min-width: 1024px) {
  .feature-grid { grid-template-columns: 1fr 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
}

/* v5: four-page IA */
.door-both { border-top-color: var(--ink); }
.door-both .door-go { color: var(--ink); }
.hero-both .who { color: var(--ink); }
.pair { display: grid; gap: 20px; }
.pair > div { padding: 24px; border: 1px solid var(--line); border-left-width: 3px; border-radius: var(--radius); }
.pair-clinic { border-left-color: var(--blue-deep); }
.pair-mfr { border-left-color: var(--teal-deep); }
.pair-clinic .who { color: var(--blue-deep); }
.pair-mfr .who { color: var(--teal-deep); }
.pair .benefits { margin-top: 12px; max-width: none; }
.pair-clinic .benefits li::before { background: var(--blue-deep); }
.pair-mfr .benefits li::before { background: var(--teal-deep); }
.side-both .feature .icon { color: var(--ink); }
.pointer { background: var(--surface); border-top: 1px solid var(--line); }
.pointer-box { padding: 28px; border: 1px solid var(--line); border-left: 3px solid var(--teal-deep); border-radius: var(--radius); background: var(--bg); max-width: 72ch; }
.pointer-box .who { color: var(--teal-deep); }
.pointer-box p { margin-top: 12px; color: var(--muted); }
.pointer-box .link-mfr { display: inline-block; margin-top: 14px; }
@media (min-width: 768px) { .pair { grid-template-columns: 1fr 1fr; gap: 24px; } }
@media (min-width: 900px) { .doors.three .wrap { grid-template-columns: 1fr 1fr 1fr; } }
.contrast { border-top: 1px solid var(--line); }
.contrast-list { display: grid; gap: 12px; margin-top: 8px; }
.contrast-list li { display: grid; gap: 6px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.contrast-list .before { color: var(--muted); font-size: 15px; text-decoration: line-through; text-decoration-color: var(--line-strong); text-decoration-thickness: 1px; }
.contrast-list .after- { color: var(--ink); font-size: 16px; }
@media (min-width: 768px) { .contrast-list li { grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; } }

/* v6: simplicity + compliance round (2026-10-10). Hand-built illustrations in the site's own style replace most
   screenshots: the static wound checklist (clinics), the clinic-to-queue handoff card (manufacturers, connected),
   the decision strip (connected). Five crop-* files remain in use. */
.gap { border-bottom: 1px solid var(--line); }
.gap-grid { display: grid; gap: 32px; align-items: center; }
.gap-copy h2 { max-width: 16ch; }
.gap-copy p { margin-top: 14px; color: var(--muted); font-size: 18px; max-width: 46ch; }
.proof-lines { margin-top: 22px; display: grid; gap: 12px; max-width: 46ch; }
.proof-lines li { position: relative; padding-left: 24px; font-size: 16px; color: var(--ink); }
.proof-lines li::before { content: ""; position: absolute; left: 0; top: 11px; width: 12px; height: 2px; border-radius: 1px; background: var(--blue-deep); }
.checklist.static .checklist-top h3 { font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.checklist.static .bar > i { transition: none; }
.checklist li .row-text { flex: 1; display: grid; gap: 2px; min-width: 0; }
.checklist li .fix { font-size: 13px; font-weight: 600; color: var(--blue-deep); }
.checklist li.open { align-items: flex-start; }
.checklist li.open .tick { margin-top: 2px; border-color: var(--warn); }
.checklist li.open .state { margin-top: 1px; }
.shot-single { margin-top: 28px; max-width: 640px; }
.trust-list { display: grid; gap: 18px; }
.trust-list li { position: relative; padding-left: 24px; font-size: 16px; color: var(--muted); max-width: 52ch; }
.trust-list li::before { content: ""; position: absolute; left: 0; top: 11px; width: 12px; height: 2px; border-radius: 1px; background: var(--blue-deep); }
.trust-list strong { display: block; color: var(--ink); margin-bottom: 2px; }

/* The desks: who signs, and what a documented order means at each desk. */
.desks { border-top: 1px solid var(--line); }
.desks .section-head { max-width: 56ch; }
.desk-grid { display: grid; gap: 16px; }
.desk { padding: 22px; border: 1px solid var(--line); border-top: 3px solid var(--teal-deep); border-radius: var(--radius); }
.desk .who { color: var(--teal-deep); margin-bottom: 4px; }
.desk h3 { font-size: 19px; letter-spacing: -0.01em; }
.desk ul { margin-top: 12px; display: grid; gap: 8px; }
.desk li { position: relative; padding-left: 20px; font-size: 15px; color: var(--muted); }
.desk li::before { content: ""; position: absolute; left: 0; top: 10px; width: 10px; height: 2px; border-radius: 1px; background: var(--line-strong); }

/* The handoff card: what the clinic record holds on the left, what lands in the manufacturer queue on the right. */
.handoff-card {
  margin-top: 40px; display: grid; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: var(--paper); overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 32px -16px rgba(15, 23, 42, 0.18);
}
.handoff-card.compact { margin-top: 0; }
.handoff-side { padding: 18px; display: grid; gap: 8px; align-content: start; }
.handoff-clinic { border-top: 3px solid var(--blue-deep); }
.handoff-mfr { border-top: 3px solid var(--teal-deep); }
.handoff-clinic .who { color: var(--blue-deep); }
.handoff-mfr .who { color: var(--teal-deep); }
.handoff-side .who { margin-bottom: 0; font-size: 14px; }
.handoff-title { font-size: 15px; font-weight: 600; color: var(--ink); }
.handoff-side li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 14px; }
.handoff-side li span { color: var(--muted); }
.handoff-side li em { font-style: normal; color: var(--ink); text-align: right; }
.chip { display: inline-block; justify-self: start; margin-top: 6px; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.chip-ok { background: var(--teal-tint); color: var(--teal-deep); }
.chip-wait { background: rgba(232, 89, 12, 0.12); color: var(--warn); }
.handoff-stitch { position: relative; height: 32px; }
.handoff-stitch::before { content: ""; position: absolute; left: 18px; right: 18px; top: 50%; border-top: 2px dashed var(--line-strong); }
.handoff-stitch::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 24px; height: 24px; margin: -12px 0 0 -12px;
  border-radius: 50%; background: var(--paper); border: 2px solid var(--stitch);
}
.handoff-caption { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* The decision strip: the three things a reviewer can do with an IVR. */
.decision-card {
  padding: 18px; display: grid; gap: 12px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--paper);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 32px -16px rgba(15, 23, 42, 0.18);
}
.decision-head { font-size: 14px; font-weight: 600; color: var(--muted); }
.decision-row { display: flex; flex-wrap: wrap; gap: 8px; }
.decision-row li { padding: 8px 14px; border-radius: var(--radius); border: 1px solid var(--line-strong); font-size: 14px; font-weight: 600; color: var(--ink); }
.decision-row .d-ok { background: var(--teal-tint); color: var(--teal-deep); border-color: transparent; }
.decision-row .d-no { color: var(--warn); }
.decision-row .d-ask { color: var(--blue-deep); }
.decision-card p { font-size: 14px; color: var(--muted); }

.shot-pair { margin-top: 28px; display: grid; gap: 16px; align-items: start; }

@media (min-width: 768px) {
  .handoff-card { grid-template-columns: 1fr 44px 1fr; }
  .handoff-stitch { height: auto; }
  .handoff-stitch::before { left: 50%; right: auto; top: 18px; bottom: 18px; border-top: 0; border-left: 2px dashed var(--line-strong); }
  .shot-pair { grid-template-columns: 1fr 1fr; }
  .trust-list { grid-template-columns: 1fr 1fr; gap: 24px 40px; }
}
@media (min-width: 900px) {
  .gap-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; }
  .checklist.static { justify-self: end; }
  .desk-grid { grid-template-columns: 1fr 1fr 1fr; }
}

/* v7 (2026-10-10): real 2x screenshots from frozen-DOM captures of staging; wide-shot layout; desk list
   replaces the three-card desk kit; the clinic opener stacks head, shot, proof lines. */
.shot-wide { margin-top: 28px; }
.shot-wide img { width: 100%; height: auto; display: block; }
.shot-single { max-width: 700px; }
.proof-lines.three { margin-top: 24px; display: grid; gap: 12px 32px; max-width: none; }
.flow-row.stack { grid-template-columns: 1fr; }
.flow-row.stack .flow-copy { max-width: 60ch; order: 0; }
.flow-row.stack .shot { order: 1; }
.desk-list { margin-top: 28px; display: grid; gap: 20px 32px; list-style: none; padding: 0; }
.desk-list li { padding-top: 14px; border-top: 2px solid var(--teal-deep); }
.desk-list .who { margin-bottom: 6px; }
.desk-list p { font-size: 16px; color: var(--text); }
@media (min-width: 768px) {
  .desk-list { grid-template-columns: 1fr 1fr 1fr; }
}
@media (min-width: 900px) {
  .proof-lines.three { grid-template-columns: 1fr 1fr 1fr; }
}

/* Round 8 (UX review, 2026-10-10) */
.visit-close { margin-top: 20px; max-width: 52ch; font-size: 18px; line-height: 1.5; color: var(--ink); }
.shot-tight { max-width: 520px; }
.shot-tight img { width: 100%; height: auto; display: block; }

/* Round 9 (presentation pass, 2026-10-10): heroes carry a visual, shots float, features lose their boxes */
h2 { font-size: clamp(28px, 4.4vw, 44px); letter-spacing: -0.03em; }
.section-head { margin-bottom: 40px; }
.section-head p { font-size: 19px; }
.page-hero { border-bottom: 0; }
.hero-clinic { background: linear-gradient(180deg, var(--paper) 0%, var(--blue-tint) 100%); }
.hero-mfr { background: linear-gradient(180deg, var(--paper) 0%, var(--teal-tint) 100%); }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-visual { margin: 0; min-width: 0; }
.hero-visual picture { display: block; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 1px 2px rgba(15,23,42,.06), 0 28px 56px -24px rgba(15,23,42,.4); }
.hero-visual img { display: block; width: 100%; height: auto; }
.hero-visual figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }
.shot { border: 0; background: none; overflow: visible; }
.shot picture { display: block; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 1px 2px rgba(15,23,42,.06), 0 24px 48px -24px rgba(15,23,42,.35); }
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption { border: 0; background: none; padding: 12px 2px 0; font-size: 14px; }
.feature-grid { gap: 32px 36px; margin-top: 12px; }
.feature { padding: 18px 0 0; border: 0; border-top: 2px solid var(--line-strong); border-radius: 0; background: transparent; gap: 8px; }
.side-clinic .feature { border-top-color: var(--blue-deep); }
.side-mfr .feature { border-top-color: var(--teal-deep); }
.feature .icon { width: auto; height: auto; border: 0; background: none; border-radius: 0; display: inline-flex; }
.feature .icon svg { width: 24px; height: 24px; }
.side-clinic .feature .icon { color: var(--blue-deep); }
.side-mfr .feature .icon { color: var(--teal-deep); }
.feature p { font-size: 15.5px; }
.contrast { background: var(--surface); border-top: 0; }
.gap { border-bottom: 0; }
.desks { border-top: 0; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; }
  .page-hero { padding: 80px 0; }
}
.hero-grid h1 { font-size: clamp(34px, 5.2vw, 54px); max-width: none; }
.hero-visual img { -webkit-mask-image: linear-gradient(90deg, #000 72%, rgba(0,0,0,0) 100%); mask-image: linear-gradient(90deg, #000 72%, rgba(0,0,0,0) 100%); }

/* Round 10 (2026-10-10): the site is light-only (product screenshots are light; dark glared). One view per page. */
.gap .proof-lines.three { margin-top: 8px; }

/* Round 11 (2026-10-10): softer page tone + a background rhythm so sections read as bands */
:root[data-theme="light"] { --paper: #f6f8fb; --surface: #eaeff5; --line: #dbe2ea; --line-strong: #c3ccd8; --card: #ffffff; }
.site-header { background: var(--card); }
.checklist, .door, .pilot-aside, .pointer-box, .why-stat { background: var(--card); }
.why-stat { background: transparent; }
.hero-visual picture, .shot picture { background: var(--card); }
.hero-clinic { background: linear-gradient(180deg, var(--card) 0%, var(--blue-tint) 100%); }
.hero-mfr { background: linear-gradient(180deg, var(--card) 0%, var(--teal-tint) 100%); }
.contrast { background: color-mix(in srgb, var(--blue-tint) 55%, var(--paper)); }
.features.alt { background: color-mix(in srgb, var(--teal-tint) 50%, var(--paper)); }
.pointer { background: var(--surface); border-top: 0; }
.trust { background: var(--ink); color: #cbd5e1; border-top: 0; }
.trust h2, .trust-list strong { color: #f8fafc; }
.trust-list li { color: rgba(255,255,255,0.78); }
.trust-list li::before { background: var(--blue); }
.trust .posture-line { color: rgba(255,255,255,0.7); }
.pilot-cta { background: var(--paper); border-top: 1px solid var(--line); }
.stat { background: var(--surface); margin-top: 40px; }
.pair-section { border-top: 1px solid var(--line); }
.hero { background: var(--card); }
.doors { background: var(--card); padding-bottom: 48px; }

/* Round 12 (2026-10-10): header Log in button; pilot page in bands */
.site-nav .nav-login { padding: 7px 14px; border: 1px solid var(--line-strong); border-radius: 6px; color: var(--ink); line-height: 1; }
.site-nav .nav-login:hover { border-color: var(--ink); color: var(--ink); }
.pilot-page { padding: 0; }
.pilot-page .wrap { max-width: 1120px; }
.pilot-page .lede { max-width: 50ch; margin-top: 16px; color: var(--text); }
.pilot-page .section h2 { margin-top: 0; font-size: clamp(26px, 3.6vw, 34px); }
.pilot-page .section > .wrap > p, .pilot-page .pair-grid p { max-width: 60ch; font-size: 17px; color: var(--muted); }
.pilot-page ul.plain { margin-top: 18px; max-width: 64ch; gap: 10px; }
.pilot-page ul.plain li { font-size: 17px; color: var(--text); }
.pilot-facts { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 8px 24px 12px; box-shadow: 0 1px 2px rgba(15,23,42,.06), 0 24px 48px -24px rgba(15,23,42,.35); }
.pilot-facts .facts { margin-top: 0; border-top: 0; }
.pilot-facts .facts div:last-child { border-bottom: 0; }
.pilot-facts .facts dd { font-size: 15px; }
.pair-grid { display: grid; gap: 40px; }
.band-dark { background: var(--ink); color: #cbd5e1; }
.band-dark h2 { color: #f8fafc; }
.band-dark .wrap > p { color: rgba(255,255,255,0.78); }
.band-dark ul.plain li { color: rgba(255,255,255,0.88); }
.band-dark ul.plain li::before { background: rgba(255,255,255,0.35); }
.pilot-page .pilot-cta .cta-row { margin-top: 20px; }
@media (min-width: 900px) {
  .pair-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .pilot-facts .facts div { grid-template-columns: 110px 1fr; }
}
.pilot-page .band-dark > .wrap > p { color: rgba(255,255,255,0.8); }
.pilot-page .pilot-cta .wrap { display: block; }
@media (max-width: 639.98px) {
  .site-header .wrap { position: relative; }
  .site-nav .nav-login { position: absolute; right: var(--gutter); top: 12px; padding: 6px 12px; font-size: 14px; }
}

/* Round 14 (2026-10-10): the two audience heroes are HTML cards, not screenshots, and each plays the mechanism once.
   Clinic: the open wound-level row is set, and the count moves. Manufacturer: the three signals read in from the
   form, then Approve is ready. Reduced motion shows the clinic card open and the review card ready. */
.hero-card {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 20px 22px 22px; width: 100%; max-width: 640px; color: var(--ink);
  box-shadow: 0 1px 2px rgba(15,23,42,.06), 0 28px 56px -24px rgba(15,23,42,.4);
}
.hero-clinic .hero-card { border-left: 4px solid var(--warn-fill); }
.hero-mfr .hero-card { border-top: 4px solid var(--teal-deep); }
.hc-top { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; }
.hc-title { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; margin: 0; }
.hc-meta { font-size: 14px; color: var(--muted); }
.pill { display: inline-block; padding: 4px 10px; border-radius: 6px; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; line-height: 1.2; white-space: nowrap; }
.pill-warn { background: #fff1e6; color: var(--warn); }
.pill-teal { background: var(--teal-tint); color: var(--teal-deep); }
.hc-count { margin-top: 14px; font-size: 21px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
.hc-count strong { color: var(--warn); font-variant-numeric: tabular-nums; transition: color 400ms ease; }
.wound-card.is-set .hc-count strong { color: var(--teal-deep); }
.hero-card .bar { margin: 12px 0 10px; }
.hc-sub { font-size: 14.5px; color: var(--muted); line-height: 1.45; }
.hc-note { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.wc-section { margin-top: 18px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.wc-section-head { display: flex; align-items: baseline; gap: 10px; padding: 9px 14px; background: var(--surface); font-size: 13.5px; }
.wc-section-head strong { font-weight: 700; }
.wc-section-head span { color: var(--muted); }
.wc-row { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 8px 12px; padding: 14px; transition: background-color 300ms ease; }
.wc-row.open { background: #fff5f5; }
.wc-row.met { background: var(--card); }
.wc-row .row-text { flex: 1 1 200px; display: grid; gap: 3px; min-width: 0; }
.wc-name { font-size: 15.5px; font-weight: 600; }
.wc-req { font-size: 13px; color: var(--muted); }
.hero-card .tick {
  flex: none; width: 18px; height: 18px; border-radius: 50%; margin-top: 2px;
  border: 1.5px solid var(--line-strong); position: relative; transition: background-color 250ms ease, border-color 250ms ease;
}
.hero-card .tick::after {
  content: ""; position: absolute; left: 5px; top: 2px; width: 5px; height: 9px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); opacity: 0; transition: opacity 200ms ease;
}
.wc-row.open .tick { border-color: var(--warn); }
.wc-row.met .tick, .signals li.met .tick { background: var(--teal); border-color: var(--teal); }
.wc-row.met .tick::after, .signals li.met .tick::after { opacity: 1; }
.wc-btn {
  display: inline-flex; align-items: center; margin-left: auto; padding: 7px 12px; border-radius: 6px;
  background: var(--blue-deep); color: #fff; font-size: 13.5px; font-weight: 600; line-height: 1; white-space: nowrap;
  transition: background-color 150ms ease, transform 150ms ease, opacity 250ms ease;
}
.wc-btn.is-pressed { background: var(--ink); transform: scale(.96); }
.wc-row.met .wc-btn { display: none; }
.wc-state { display: none; margin-left: auto; font-size: 13px; font-weight: 600; color: var(--teal-deep); white-space: nowrap; }
.wc-row.met .wc-state { display: inline; }
.signals { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.signals li {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 8px; font-size: 14.5px; font-weight: 500;
  border: 1px solid var(--line); background: var(--paper); color: var(--muted);
  transition: background-color 300ms ease, border-color 300ms ease, color 300ms ease;
}
.signals li .tick { margin-top: 0; width: 16px; height: 16px; }
.signals li .tick::after { left: 4px; top: 1px; width: 4px; height: 8px; }
.signals li.met { background: var(--teal-tint); border-color: #b2f2dd; color: var(--ink); }
.decisions { margin-top: 16px; display: grid; gap: 8px; }
.decision { display: grid; gap: 6px; align-items: center; }
@media (min-width: 560px) { .decision { grid-template-columns: 172px 1fr; gap: 14px; } }
.dbtn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 8px 14px; border-radius: 8px;
  font-size: 14.5px; font-weight: 600; white-space: nowrap; transition: background-color 350ms ease, color 350ms ease, box-shadow 350ms ease;
}
.drule { font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.drule strong { color: var(--ink); font-weight: 600; }
.dbtn-approve { background: var(--teal-tint); color: var(--teal-deep); }
.review-card.is-ready .dbtn-approve { background: var(--teal-deep); color: #fff; box-shadow: 0 6px 16px -8px rgba(8,127,91,.6); }
.dbtn-deny { background: #fff5f5; color: #c92a2a; }
.dbtn-info { background: var(--blue-tint); color: var(--blue-deep); }
@media (prefers-reduced-motion: reduce) {
  .hero-card .tick, .hero-card .tick::after, .wc-row, .wc-btn, .signals li, .dbtn, .hc-count strong { transition: none; }
}
