/* ==========================================================================
   SelfHealth — design system
   White ground · orange #E8820E single accent · editorial serif display.
   Matches the Physicians Reference Guides and the 2026 partner decks.
   ========================================================================== */

/* ---------- tokens ---------------------------------------------------- */
:root {
  color-scheme: light;

  /* ink */
  --ink:          #14181d;
  --ink-2:        #3d454f;
  --ink-3:        #666f7b;
  --ink-4:        #97a0ab;

  /* ground */
  --paper:        #ffffff;
  --paper-2:      #f7f8f9;
  --paper-3:      #eff1f3;
  --paper-warm:   #fdf9f3;

  /* rules */
  --rule:         #e4e7eb;
  --rule-2:       #cfd4da;
  --rule-ink:     #14181d;

  /* accent — the single brand colour */
  --accent:       #e8820e;   /* fills, rules, graphic accents */
  --accent-text:  #b35a00;   /* 4.8:1 on white — use for ANY orange text */
  --accent-deep:  #96490b;   /* hover on accent-text */
  --accent-wash:  #fdf1e2;   /* tint blocks */
  --accent-line:  #f4c68a;

  /* semantic */
  --caution:      #8a5a00;
  --caution-wash: #fdf6e7;

  /* type */
  --f-display: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --f-sans:    "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --f-mono:    "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* spacing scale */
  --s-1: 4px;   --s-2: 8px;   --s-3: 12px;  --s-4: 16px;
  --s-5: 24px;  --s-6: 32px;  --s-7: 48px;  --s-8: 64px;
  --s-9: 96px;  --s-10: 128px;

  --wrap: 1200px;
  --wrap-narrow: 780px;
  --gutter: 20px;

  --radius: 3px;
  --radius-lg: 6px;

  --dur: 200ms;
  --ease: cubic-bezier(.22,.61,.36,1);
}

@media (min-width: 768px)  { :root { --gutter: 32px; } }
@media (min-width: 1100px) { :root { --gutter: 40px; } }

/* ---------- reset ----------------------------------------------------- */
*, *::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(--ink);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5, h6, p, figure, blockquote, ul, ol, dl { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }

/* visible, consistent focus */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--accent-text);
  outline-offset: 2px;
  border-radius: 2px;
}

::selection { background: var(--accent-wash); color: var(--ink); }

/* ---------- type ------------------------------------------------------ */
.display,
h1.display, h2.display, h3.display {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.018em;
  color: var(--ink);
  text-wrap: balance;
}

.d-hero   { font-size: clamp(2.6rem, 6.2vw, 4.6rem); }
.d-1      { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.d-2      { font-size: clamp(1.65rem, 3vw, 2.35rem); }
.d-3      { font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.15; }

.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: block;
}
.eyebrow--accent { color: var(--accent-text); }

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 62ch;
  text-wrap: pretty;
}

.body   { color: var(--ink-2); max-width: 68ch; text-wrap: pretty; }
.small  { font-size: 14px; line-height: 1.55; color: var(--ink-3); }
.fine   { font-size: 12.5px; line-height: 1.5; color: var(--ink-3); max-width: 92ch; }
.fine a, .small a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 2px; }

.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.num  { font-variant-numeric: tabular-nums; }

strong, b { font-weight: 600; color: var(--ink); }
em { font-style: italic; }

.u-accent { color: var(--accent-text); }
.u-center { text-align: center; }
/* Narrow measure, but flush left with the header and every other section.
   Only a block that also asks to be centred gets the auto margins. */
.u-narrow { max-width: var(--wrap-narrow); }
.u-narrow.u-center { margin-inline: auto; }
.u-mt-3 { margin-top: var(--s-3); }
.u-mt-4 { margin-top: var(--s-4); }
.u-mt-5 { margin-top: var(--s-5); }
.u-mt-6 { margin-top: var(--s-6); }
.u-mt-7 { margin-top: var(--s-7); }

/* ---------- layout ---------------------------------------------------- */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: clamp(48px, 8vw, 96px); }
.section--tight { padding-block: clamp(36px, 5vw, 60px); }
.section--tint { background: var(--paper-2); }
.section--warm { background: var(--paper-warm); }
.section--ink  { background: var(--ink); color: #fff; }
.section--ink .display,
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink .lede, .section--ink .body { color: #c4cad2; }
.section--ink .eyebrow { color: #8f9aa8; }
.section--rule-top { border-top: 1px solid var(--rule); }

.section-head { max-width: 760px; }
.section-head .display { margin-top: var(--s-3); }
.section-head .lede { margin-top: var(--s-4); }

/* minmax(0,1fr) rather than 1fr: a bare 1fr track refuses to shrink below its
   min-content, which let a long price/badge row push the whole grid past the
   viewport on a 375px screen. */
.grid { display: grid; gap: var(--s-5); }
.g-2, .g-3, .g-4 { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 520px) { .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); } }
@media (min-width: 720px) {
  .g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 980px) { .g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.split { display: grid; gap: var(--s-6); align-items: start; grid-template-columns: minmax(0, 1fr); }
.split > * { min-width: 0; }
.grid > * { min-width: 0; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 6vw, 88px); }
  .split--wide-left { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); }
  .split--wide-right { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .split--sticky > :last-child { position: sticky; top: 104px; }
}

/* ---------- header ---------------------------------------------------- */
.hdr {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--rule);
}
.hdr__bar { display: flex; align-items: center; gap: var(--s-5); height: 68px; }
@media (min-width: 900px) { .hdr__bar { height: 76px; } }

.hdr__mark { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: 0 0 auto; }
.hdr__mark img { height: 26px; width: auto; }
@media (min-width: 900px) { .hdr__mark img { height: 29px; } }

.hdr__nav { display: none; margin-left: auto; align-items: center; gap: 2px; }
@media (min-width: 1000px) { .hdr__nav { display: flex; } }
.hdr__nav a {
  font-size: 15px; font-weight: 500; color: var(--ink-2);
  text-decoration: none; padding: 9px 13px; border-radius: var(--radius);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
  white-space: nowrap;
}
.hdr__nav a:hover { color: var(--ink); background: var(--paper-2); }
.hdr__nav a[aria-current="page"] { color: var(--ink); }
.hdr__nav a[aria-current="page"]::after {
  content: ""; display: block; height: 2px; background: var(--accent);
  margin-top: 5px; border-radius: 2px;
}

/* Specialties dropdown ------------------------------------------------ */
.hdr__has-sub { position: relative; }
.hdr__has-sub > a { display: inline-flex; align-items: center; gap: 5px; }
.hdr__sub {
  position: absolute; top: calc(100% + 6px); left: -8px; z-index: 70;
  background: var(--paper); border: 1px solid var(--rule);
  border-radius: var(--radius-lg); box-shadow: 0 12px 34px rgba(20,24,29,.13);
  padding: 8px; min-width: 250px;
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity 160ms var(--ease), transform 160ms var(--ease), visibility 160ms;
}
.hdr__has-sub:hover .hdr__sub,
.hdr__has-sub:focus-within .hdr__sub { opacity: 1; visibility: visible; transform: none; }
.hdr__sub a {
  display: block; padding: 9px 12px; font-size: 14.5px; white-space: nowrap;
  border-radius: var(--radius);
}
.hdr__sub a::after { display: none; }
.drawer__group {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .13em;
  text-transform: uppercase; color: var(--ink-3);
  padding: 22px 0 6px; border-bottom: 1px solid var(--rule);
}
.drawer a.drawer__sub { font-size: 16px; padding-left: 14px; color: var(--ink-2); }

.hdr .hdr__cta { display: none; margin-left: var(--s-4); }
@media (min-width: 1000px) { .hdr .hdr__cta { display: inline-flex; } }

.hdr__burger {
  margin-left: auto; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; background: none; border: 1px solid var(--rule);
  border-radius: var(--radius); cursor: pointer; color: var(--ink);
}
@media (min-width: 1000px) { .hdr__burger { display: none; } }

.drawer {
  display: none; position: fixed; inset: 68px 0 0; z-index: 55;
  background: var(--paper); overflow-y: auto;
  padding: var(--s-5) var(--gutter) var(--s-8);
  border-top: 1px solid var(--rule);
}
.drawer[data-open="true"] { display: block; }
@media (min-width: 1000px) { .drawer { display: none !important; } }
.drawer a {
  display: block; padding: 15px 0; font-size: 19px; font-weight: 500;
  color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule);
}
.drawer .btn { margin-top: var(--s-5); width: 100%; justify-content: center; border-bottom: 0; }

/* announcement strip */
.strip {
  background: var(--ink); color: #fff; font-size: 13px;
  padding: 9px 0; text-align: center;
}
.strip__more { display: none; }
@media (min-width: 720px) { .strip__more { display: inline; } }
.strip a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.strip .mono { color: var(--accent); }

/* ---------- buttons --------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 12px 24px;
  font-family: var(--f-sans); font-size: 15.5px; font-weight: 600;
  letter-spacing: .005em; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; border-radius: var(--radius);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease),
              color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn:active { transform: translateY(1px); }

/* orange fill carries INK text — white on #E8820E is only 2.75:1 */
.btn--primary { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.btn--primary:hover { background: #d5760a; border-color: #d5760a; }

.btn--ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--ink:hover { background: #262d36; border-color: #262d36; }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--rule-2); }
.btn--ghost:hover { border-color: var(--ink); background: var(--paper-2); }

.btn--onink { background: #fff; color: var(--ink); border-color: #fff; }
.btn--onink:hover { background: #eceef1; border-color: #eceef1; }

.btn--ghost-onink { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--ghost-onink:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.btn--lg { min-height: 54px; padding: 15px 30px; font-size: 16.5px; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; font-size: 15px; color: var(--accent-text);
  text-decoration: none; border-bottom: 1px solid var(--accent-line); padding-bottom: 2px;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.link-arrow:hover { color: var(--accent-deep); border-color: var(--accent-text); }
.link-arrow svg { transition: transform var(--dur) var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- hero ------------------------------------------------------ */
.hero { padding-block: clamp(44px, 7vw, 92px); position: relative; }
.hero--rule { border-bottom: 1px solid var(--rule); }
.hero__grid { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 940px) {
  .hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(40px, 5vw, 80px); }
}
.hero .d-hero { margin-top: var(--s-4); }
.hero .lede { margin-top: var(--s-5); }
.hero .btn-row { margin-top: var(--s-6); }

.hero__art { position: relative; }
.hero__art img { width: 100%; border-radius: var(--radius-lg); }

.rule-accent { width: 56px; height: 3px; background: var(--accent); border-radius: 2px; }

/* funnel-page hero badge */
.audience-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--ink); color: #fff;
  font-family: var(--f-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 100px;
}
.audience-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- stats ----------------------------------------------------- */
.stats { display: grid; gap: var(--s-5); }
@media (min-width: 700px) { .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); } }
@media (min-width: 560px) { .stats--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 860px) { .stats--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.stat { border-top: 2px solid var(--ink); padding-top: var(--s-4); }
.stat--accent { border-top-color: var(--accent); }
.stat__fig {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(2.1rem, 4vw, 3rem); line-height: 1; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.stat__label {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .13em;
  text-transform: uppercase; color: var(--ink-3); margin-top: var(--s-3);
}
.stat__note { font-size: 14px; color: var(--ink-2); margin-top: var(--s-3); line-height: 1.5; }
.section--ink .stat { border-top-color: var(--accent); }
.section--ink .stat__label { color: #8f9aa8; }
.section--ink .stat__note { color: #c4cad2; }

/* ---------- cards ----------------------------------------------------- */
.card {
  background: var(--paper); border: 1px solid var(--rule);
  border-radius: var(--radius-lg); padding: var(--s-5);
  display: flex; flex-direction: column; gap: var(--s-3);
}
.card--tint { background: var(--paper-2); border-color: transparent; }
.card--pad { padding: var(--s-6); }
.card :is(h2, h3, h4) { font-family: var(--f-display); font-weight: 400; font-size: 1.32rem; line-height: 1.2; letter-spacing: -.012em; }
.card p { color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.card__icon { color: var(--accent-text); }
.card--link { text-decoration: none; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.card--link:hover { border-color: var(--rule-2); box-shadow: 0 2px 14px rgba(20,24,29,.06); }

/* numbered steps */
.steps { display: grid; gap: var(--s-5); counter-reset: step; }
@media (min-width: 800px) { .steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); } }
@media (min-width: 800px) { .steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-5); } }
.step { border-top: 1px solid var(--rule-2); padding-top: var(--s-4); }
.step__n {
  font-family: var(--f-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .1em; color: var(--accent-text);
}
.step :is(h2, h3, h4) { font-family: var(--f-display); font-weight: 400; font-size: 1.28rem; line-height: 1.18; margin-top: var(--s-3); letter-spacing: -.012em; }
.step p { font-size: 15px; color: var(--ink-2); margin-top: var(--s-3); line-height: 1.55; }
.step__tag {
  display: inline-block; margin-top: var(--s-3);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-3);
  border: 1px solid var(--rule); border-radius: 100px; padding: 4px 10px;
}

/* ---------- tables ---------------------------------------------------- */
.table-scroll { min-width: 0; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
@media (min-width: 900px) { .table-scroll { margin-inline: 0; padding-inline: 0; } }

table.data {
  width: 100%; border-collapse: collapse; font-size: 15px;
  font-variant-numeric: tabular-nums; min-width: 560px;
}
table.data caption { text-align: left; font-size: 14px; color: var(--ink-3); padding-bottom: var(--s-3); }
table.data th {
  background: var(--ink); color: #fff; text-align: left; font-weight: 600;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  padding: 12px 14px; white-space: nowrap;
}
table.data th:first-child { border-top-left-radius: var(--radius); }
table.data th:last-child  { border-top-right-radius: var(--radius); }
table.data td { padding: 13px 14px; border-bottom: 1px solid var(--rule); vertical-align: top; }
table.data tbody tr:nth-child(even) { background: var(--paper-2); }
table.data tbody tr.is-lead { background: var(--accent-wash); }
table.data tbody tr.is-lead td { font-weight: 500; }
table.data td.num, table.data th.num { text-align: right; }
table.data td:first-child { font-weight: 500; color: var(--ink); }
.table-note { font-size: 13px; color: var(--ink-3); margin-top: var(--s-4); line-height: 1.55; max-width: 92ch; }

/* ---------- the economics strip (01/02/03/04) ------------------------- */
.econ { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 560px) { .econ { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 860px) { .econ { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.econ__cell { background: var(--paper); padding: var(--s-5); }
.econ__cell:last-child { background: var(--accent-wash); }
.econ__n { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; color: var(--ink-3); }
.econ__k { font-size: 14px; color: var(--ink-2); margin-top: var(--s-3); }
.econ__v {
  font-family: var(--f-display); font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1;
  letter-spacing: -.02em; margin-top: var(--s-2); font-variant-numeric: tabular-nums;
}
/* Inside a hero column the strip is ~45% of the page, so 4-up crushes it. */
.hero__art .econ { grid-template-columns: repeat(2, 1fr); }
.hero__art .econ__cell { padding: var(--s-4); }
.hero__art .econ__k { font-size: 13px; min-height: 2.6em; }
.hero__art .econ__v { font-size: clamp(1.5rem, 2.4vw, 2rem); }

/* ---------- notice / limitation box ----------------------------------- */
.notice {
  border-left: 3px solid var(--accent);
  background: var(--paper-2);
  padding: var(--s-5) var(--s-5) var(--s-5) var(--s-5);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.notice__k {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .13em;
  text-transform: uppercase; color: var(--accent-text);
}
.notice p { margin-top: var(--s-3); color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }
.notice--ink { background: #1c2128; border-left-color: var(--accent); }
.notice--ink p { color: #c4cad2; }

/* is / is-not two-column */
.isnot { display: grid; gap: var(--s-5); }
@media (min-width: 800px) { .isnot { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-7); } }
.isnot__col h3 {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .13em;
  text-transform: uppercase; padding-bottom: var(--s-3);
  border-bottom: 2px solid var(--ink);
}
.isnot__col--no h3 { border-bottom-color: var(--rule-2); color: var(--ink-3); }
.isnot ul { margin-top: var(--s-4); display: grid; gap: var(--s-4); }
.isnot li { font-size: 15.5px; line-height: 1.55; color: var(--ink-2); padding-left: 22px; position: relative; }
.isnot li strong { display: block; color: var(--ink); margin-bottom: 3px; }
.isnot__col--yes li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 9px; height: 9px; border-radius: 50%; background: var(--accent);
}
.isnot__col--no li::before {
  content: ""; position: absolute; left: 0; top: 13px;
  width: 11px; height: 1.5px; background: var(--ink-4);
}

/* ---------- comparison table (us vs at-home monitoring) --------------- */
.vs { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 620px; }
.vs th { text-align: left; padding: 14px; vertical-align: bottom; }
.vs thead th:nth-child(1) { width: 20%; }
.vs thead th:nth-child(2), .vs thead th:nth-child(3) { width: 40%; }
.vs__lbl { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.vs__name { font-family: var(--f-display); font-size: 1.3rem; font-weight: 400; letter-spacing: -.012em; margin-top: 6px; display: block; }
.vs thead th.is-us { border-bottom: 3px solid var(--accent); }
.vs thead th.is-them { border-bottom: 1px solid var(--rule-2); }
.vs tbody th {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 500; border-bottom: 1px solid var(--rule); vertical-align: top;
  padding-top: 18px;
}
.vs tbody td { padding: 18px 14px; border-bottom: 1px solid var(--rule); vertical-align: top; line-height: 1.5; }
.vs td.is-us { background: var(--accent-wash); color: var(--ink); font-weight: 500; }
.vs td.is-them { color: var(--ink-3); }

/* ---------- kit / panel cards ----------------------------------------- */
.kit {
  border: 1px solid var(--rule); border-radius: var(--radius-lg);
  padding: var(--s-5); display: flex; flex-direction: column;
  background: var(--paper); text-decoration: none;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.kit:hover { border-color: var(--rule-2); box-shadow: 0 4px 18px rgba(20,24,29,.07); }
.kit__img { background: var(--paper-2); border-radius: var(--radius); aspect-ratio: 4/3; display: grid; place-items: center; padding: var(--s-4); }
.kit__img img { max-height: 100%; width: auto; object-fit: contain; }
.kit__name { font-family: var(--f-display); font-size: 1.2rem; font-weight: 400; letter-spacing: -.01em; margin-top: var(--s-4); }
.kit__meta { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-top: var(--s-2); }
.kit__desc { font-size: 14.5px; color: var(--ink-2); margin-top: var(--s-3); line-height: 1.5; flex: 1; }
.kit__foot {
  margin-top: var(--s-4); padding-top: var(--s-3); border-top: 1px solid var(--rule);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline;
  gap: var(--s-2) var(--s-3);
}
.kit__price { font-family: var(--f-display); font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.tag {
  display: inline-block; font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; padding: 4px 8px; border-radius: 100px;
  border: 1px solid var(--rule-2); color: var(--ink-3);
}
.tag--draw { border-color: var(--accent-line); color: var(--accent-deep); background: var(--accent-wash); }

/* ---------- FAQ / objections (details, fails visible) ----------------- */
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-size: 17px; font-weight: 500; color: var(--ink); line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 27px;
  width: 11px; height: 11px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3);
  transform: rotate(45deg); transition: transform var(--dur) var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 30px; }
.faq__a { padding: 0 0 22px; color: var(--ink-2); font-size: 15.5px; line-height: 1.6; max-width: 78ch; }
.faq__a p + p { margin-top: var(--s-3); }
.faq__a .concede {
  display: inline-block; font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent-deep); background: var(--accent-wash);
  border: 1px solid var(--accent-line); border-radius: 100px; padding: 3px 9px; margin-bottom: 10px;
}

/* ---------- forms ----------------------------------------------------- */
.form { display: grid; gap: var(--s-4); }
.form__row { display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field .req { color: var(--accent-text); }
.field .hint { font-size: 13px; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  background: var(--paper); border: 1px solid var(--rule-2); border-radius: var(--radius);
  font-size: 16px; color: var(--ink);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field textarea { min-height: 108px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent-text); box-shadow: 0 0 0 3px var(--accent-wash); outline: none;
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #b3261e; }
.field .err { font-size: 13px; color: #b3261e; font-weight: 500; }
.field .err:empty { display: none; }
.choice-grid { display: grid; gap: var(--s-2); }
@media (min-width: 560px) { .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.choice {
  display: flex; align-items: center; gap: 10px; padding: 13px 14px; cursor: pointer;
  border: 1px solid var(--rule-2); border-radius: var(--radius); font-size: 15px;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.choice:hover { border-color: var(--ink-4); }
.choice input { width: 18px; height: 18px; min-height: 0; accent-color: var(--accent-text); flex: 0 0 auto; }
.choice:has(input:checked) { border-color: var(--accent-text); background: var(--accent-wash); }
.form__foot { display: grid; gap: var(--s-4); margin-top: var(--s-2); }
.form-status { font-size: 15px; font-weight: 500; padding: 14px 16px; border-radius: var(--radius); }
.form-status:empty { display: none; }
.form-status[data-state="ok"]  { background: #edf7ee; color: #1e5128; border: 1px solid #bcdcc0; }
.form-status[data-state="err"] { background: #fdecea; color: #8c1d18; border: 1px solid #f3c2bd; }

/* ---------- provider strip / logos ------------------------------------ */
.marks { display: flex; flex-wrap: wrap; gap: var(--s-5) var(--s-7); align-items: center; }
.mark {
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-3);
  display: inline-flex; align-items: center; gap: 8px;
}
.mark svg { color: var(--accent-text); flex: 0 0 auto; }

/* ---------- CTA band -------------------------------------------------- */
.cta-band { background: var(--ink); color: #fff; }
.cta-band .display { color: #fff; }
.cta-band .lede { color: #c4cad2; }
.cta-band__inner { display: grid; gap: var(--s-6); align-items: center; padding-block: clamp(48px, 7vw, 84px); }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: var(--s-8); } }
.cta-band .btn-row { margin-top: var(--s-5); }
.cta-band .eyebrow, .cta-band .eyebrow--accent { color: #9aa4b1; }

/* ---------- footer ---------------------------------------------------- */
.ftr { border-top: 1px solid var(--rule); padding-block: var(--s-8) var(--s-6); background: var(--paper-2); }
.ftr__grid { display: grid; gap: var(--s-6); }
@media (min-width: 560px) and (max-width: 759px) { .ftr__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 760px) { .ftr__grid { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: var(--s-6); } }
.ftr__mark img { height: 26px; }
.ftr h2 { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3); }
.ftr ul { margin-top: var(--s-4); display: grid; gap: 11px; }
.ftr a { font-size: 14.5px; color: var(--ink-2); text-decoration: none; }
.ftr a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.ftr__legal { margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--rule); }
.ftr__legal p { font-size: 12.5px; color: var(--ink-3); line-height: 1.6; max-width: 100ch; }
.ftr__legal p + p { margin-top: var(--s-3); }

/* ---------- reveal — FAILS VISIBLE ------------------------------------
   Nothing is hidden by CSS alone. JS adds .js-reveal-ready to <html>,
   which is the only thing that enables the hidden start state. If the
   script never runs, every section renders normally.
   -------------------------------------------------------------------- */
.js-reveal-ready .reveal { opacity: 0; transform: translateY(14px); }
.js-reveal-ready .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity 460ms var(--ease), transform 460ms var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  .js-reveal-ready .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- misc ------------------------------------------------------ */
.skip {
  position: absolute; top: 0; left: 0; z-index: 200;
  width: 1px; height: 1px; overflow: hidden; white-space: nowrap;
  clip-path: inset(50%);
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 var(--radius) 0;
}
.skip:focus { width: auto; height: auto; clip-path: none; }

.hr { border: 0; border-top: 1px solid var(--rule); margin-block: var(--s-7); }

.callout-rule { border-left: 2px solid var(--accent); padding-left: var(--s-4); }

.checklist { display: grid; gap: var(--s-3); }
.checklist li { display: flex; gap: 11px; font-size: 15.5px; color: var(--ink-2); line-height: 1.55; }
.checklist svg { flex: 0 0 auto; margin-top: 4px; color: var(--accent-text); }

.pill-row { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.pill {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em;
  border: 1px solid var(--rule-2); border-radius: 100px; padding: 6px 12px; color: var(--ink-2);
}
.pill--on { border-color: var(--accent); background: var(--accent-wash); color: var(--accent-deep); }

.analyte-grid { display: grid; gap: var(--s-2) var(--s-5); }
@media (min-width: 620px) { .analyte-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .analyte-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Stacked on narrow screens — several meta strings are a full sentence and a
   side-by-side row either wraps badly or blows the grid track out. */
.analyte {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 15px;
}
.analyte b { font-weight: 500; flex: 1 1 auto; min-width: 0; }
.analyte span { color: var(--ink-3); font-size: 13.5px; flex: 0 1 auto; min-width: 0; }
@media (min-width: 620px) {
  .analyte { flex-direction: row; justify-content: space-between; align-items: baseline; gap: var(--s-4); }
  .analyte span { text-align: right; }
}
.analyte--add b { color: var(--accent-text); }

.figure-note { font-size: 13px; color: var(--ink-3); margin-top: var(--s-3); }

.quote {
  font-family: var(--f-display); font-weight: 400; font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  line-height: 1.3; letter-spacing: -.015em; color: var(--ink);
}
.quote + .quote-src { margin-top: var(--s-4); font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }

@media print {
  .hdr, .drawer, .strip, .cta-band, .btn { display: none !important; }
  body { font-size: 11pt; }
}


/* ---------- specialty index ------------------------------------------ */
.spec-grid { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule);
             border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 640px) { .spec-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1000px) { .spec-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.spec {
  background: var(--paper); padding: var(--s-5); text-decoration: none;
  display: flex; flex-direction: column; gap: 10px;
  transition: background var(--dur) var(--ease);
}
.spec:hover { background: var(--paper-2); }
.spec__ico { color: var(--accent-text); }
.spec :is(h2, h3) { font-family: var(--f-display); font-weight: 400; font-size: 1.24rem;
           letter-spacing: -.012em; line-height: 1.15; }
.spec p { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; flex: 1; }
.spec__panels {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-3);
  padding-top: 11px; border-top: 1px solid var(--rule);
}

/* ---------- video ----------------------------------------------------- */
.vid-grid { display: grid; gap: var(--s-5); }
@media (min-width: 760px) { .vid-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.vid { border: 1px solid var(--rule); border-radius: var(--radius-lg); overflow: hidden;
       background: var(--paper); }
.vid video { width: 100%; display: block; background: var(--ink); aspect-ratio: 16/9; }
.vid__cap { padding: var(--s-4) var(--s-5) var(--s-5); }
.vid__k { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em;
          text-transform: uppercase; color: var(--accent-text); }
.vid__t { font-family: var(--f-display); font-size: 1.12rem; margin-top: 7px; line-height: 1.25; }
.vid__d { font-size: 14px; color: var(--ink-2); margin-top: 7px; line-height: 1.5; }

/* ---------- poster download ------------------------------------------- */
.poster-grid { display: grid; gap: var(--s-5); }
@media (min-width: 620px) { .poster-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1000px) { .poster-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.poster { border: 1px solid var(--rule); border-radius: var(--radius-lg); overflow: hidden;
          display: flex; flex-direction: column; background: var(--paper); }
.poster__img { background: var(--paper-2); padding: var(--s-4); }
.poster__img img { width: 100%; border: 1px solid var(--rule); border-radius: 2px;
                   box-shadow: 0 2px 10px rgba(20,24,29,.07); }
.poster__body { padding: 0 var(--s-5) var(--s-5); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.poster__body :is(h2, h3) { font-family: var(--f-display); font-weight: 400; font-size: 1.16rem; }
.poster__body p { font-size: 14px; color: var(--ink-2); line-height: 1.5; flex: 1; }
.poster__dl { display: flex; flex-wrap: wrap; gap: 8px; }
.poster__dl a {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase;
  border: 1px solid var(--rule-2); border-radius: 100px; padding: 7px 13px;
  text-decoration: none; color: var(--ink-2);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.poster__dl a:hover { border-color: var(--accent-text); color: var(--accent-text); }

/* ---------- two-panel spotlight on specialty pages -------------------- */
.duo { display: grid; gap: var(--s-5); }
@media (min-width: 800px) { .duo { grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--s-6); } }
.duo__card { border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: var(--s-6);
             display: flex; flex-direction: column; gap: var(--s-3); }
.duo__card--lead { border-color: var(--accent-line); background: var(--accent-wash); }
.duo__rank { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .13em;
             text-transform: uppercase; color: var(--accent-deep); }
.duo__name { font-family: var(--f-display); font-size: 1.6rem; font-weight: 400;
             letter-spacing: -.015em; line-height: 1.1; }
.duo__why { font-size: 15.5px; color: var(--ink-2); line-height: 1.55; }
.duo__econ { display: flex; flex-wrap: wrap; gap: var(--s-4); padding-top: var(--s-4);
             border-top: 1px solid var(--rule); margin-top: auto; }
.duo__econ div { font-size: 13px; color: var(--ink-3); }
.duo__econ b { display: block; font-family: var(--f-display); font-size: 1.3rem;
               color: var(--ink); font-weight: 400; font-variant-numeric: tabular-nums; }
