/* Schema Clinic public site - "Clinical diagnostic report" design system (2026-11-19).
   Teal + lime from the logo, clinical status colours, IBM Plex Sans / Plex Mono.
   Mobile-first: base rules are for phones, min-width queries enhance upwards. */
:root {
  /* Brand */
  --teal: #0f8a8f;          /* logo teal - rules, dial, decoration (not small text) */
  --teal-600: #0d7a7e;      /* buttons (5.1:1 with white) */
  --teal-700: #0b6e72;      /* links and teal text (6:1 on white) */
  --teal-800: #0a5c5f;
  --teal-50: #eef7f7;
  --teal-100: #d5ecec;
  --lime: #84cc16;          /* logo lime - pass/healthy accent */
  --lime-300: #bef264;
  --lime-50: #f3fbe4;
  --lime-800: #3f6212;      /* pass text (8:1 on lime-50) */
  /* Ink and surfaces */
  --ink: #0b3b3d;           /* headings, footer */
  --ink-2: #0e4a4d;
  --text: #1f3638;
  --muted: #47605f;         /* 6.4:1 on white */
  --soft: #5a7271;          /* 5:1 on white */
  --line: #d3e0e0;
  --line-2: #e5eded;
  --bg: #ffffff;
  --bg-2: #f5f8f8;          /* very light cool grey */
  --bg-3: #ebf2f2;
  --grid: rgba(15, 138, 143, .075);
  /* Clinical status */
  --bad: #b42318; --bad-bg: #fde8e6; --bad-line: #f5c2bd;
  --warn: #8a4b08; --warn-bg: #fdf1d6; --warn-line: #f1d48f;
  --ok: var(--lime-800); --ok-bg: var(--lime-50); --ok-line: #cfe9a0;
  --info: var(--teal-700); --info-bg: var(--teal-50); --info-line: var(--teal-100);
  /* Type */
  --sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  /* Shape */
  --r: 4px; --r-sm: 2px;
  --max: 1200px;
  --gutter: 16px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { font-family: var(--sans); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-700); text-decoration: none; }
a:hover { color: var(--teal-800); text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--teal-700); outline-offset: 3px; border-radius: var(--r-sm); }
strong, b { font-weight: 600; }
h1, h2, h3 { color: var(--ink); font-weight: 600; line-height: 1.2; letter-spacing: -.012em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 300; font-family: var(--mono); font-size: 13px; }
.skip:focus { left: 8px; color: #fff; }
.mono { font-family: var(--mono); }
.grid-paper { background-color: #fff; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 24px 24px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 12px 20px; border-radius: var(--r); font-family: var(--sans); font-weight: 600; font-size: 15px; line-height: 1.2; border: 1px solid transparent; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; text-decoration: none !important; }
.btn-primary { background: var(--teal-600); border-color: var(--teal-600); color: #fff; }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-primary::after { content: ''; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); margin-left: -2px; }
.btn-line { background: #fff; border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-sm { min-height: 40px; padding: 9px 16px; font-size: 14px; }
.btn-sm::after { display: none; }

/* ---------- Labels, tags, pills ---------- */
.label { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-700); }
.label::before { content: ''; width: 8px; height: 8px; background: var(--lime); flex: none; }
.tag { display: inline-block; font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border: 1px solid var(--line); border-radius: var(--r-sm); color: var(--muted); background: #fff; line-height: 1.5; }
.tag.teal { color: var(--teal-700); border-color: var(--teal-100); background: var(--teal-50); }
.pill { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: var(--r-sm); border: 1px solid; white-space: nowrap; line-height: 1.4; }
.pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.bad { color: var(--bad); background: var(--bad-bg); border-color: var(--bad-line); }
.pill.warn { color: var(--warn); background: var(--warn-bg); border-color: var(--warn-line); }
.pill.ok { color: var(--ok); background: var(--ok-bg); border-color: var(--ok-line); }
.pill.info { color: var(--info); background: var(--info-bg); border-color: var(--info-line); }

/* ---------- Utility bar + header ---------- */
.util { background: var(--ink); color: #b9d3d3; font-family: var(--mono); font-size: 12px; letter-spacing: .02em; }
.util .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 34px; }
.util a { color: #e3f1f1; }
.util a:hover { color: #fff; }
.util-links { display: none; gap: 20px; }
.util-ecg { display: inline-flex; align-items: center; gap: 10px; }
.util-ecg svg { width: 46px; height: 14px; flex: none; }

.site-header { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 100; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; color: var(--ink); letter-spacing: -.01em; text-decoration: none !important; }
.brand img { width: 34px; height: 34px; }
.brand span { color: var(--teal-700); font-weight: 500; }
.brand:hover { color: var(--ink); }
.menu-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; background: #fff; border: 1px solid var(--ink); border-radius: var(--r); color: var(--ink); font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.menu-btn i { position: relative; width: 16px; height: 2px; background: currentColor; display: block; }
.menu-btn i::before, .menu-btn i::after { content: ''; position: absolute; left: 0; width: 16px; height: 2px; background: currentColor; transition: transform .2s; }
.menu-btn i::before { top: -5px; } .menu-btn i::after { top: 5px; }
.site-header.open .menu-btn i { background: transparent; }
.site-header.open .menu-btn i::before { transform: translateY(5px) rotate(45deg); }
.site-header.open .menu-btn i::after { transform: translateY(-5px) rotate(-45deg); }

/* Mobile nav panel */
.nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 2px solid var(--ink); padding: 4px var(--gutter) 20px; max-height: calc(100vh - 100px); overflow-y: auto; }
.site-header.open .nav { display: block; }
.nav > a:not(.btn), .dd > button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 50px; padding: 0; border: 0; border-bottom: 1px solid var(--line); background: none; font-family: var(--sans); font-size: 16px; font-weight: 500; color: var(--ink); cursor: pointer; text-align: left; text-decoration: none; }
.nav > a.on, .dd.on > button { color: var(--teal-700); }
.dd > button svg { width: 12px; height: 12px; transition: transform .2s; }
.dd-menu { display: none; padding: 6px 0 10px; border-bottom: 1px solid var(--line); }
.dd.open .dd-menu { display: block; }
.dd.open > button svg { transform: rotate(180deg); }
.dd-menu a { display: block; padding: 9px 0 9px 14px; border-left: 2px solid var(--line); color: var(--text); font-size: 15px; font-weight: 500; text-decoration: none; }
.dd-menu a small { display: block; font-family: var(--mono); font-size: 11.5px; color: var(--soft); font-weight: 400; letter-spacing: .01em; margin-top: 1px; }
.dd-menu a:hover { border-left-color: var(--teal); color: var(--teal-700); background: var(--bg-2); }
.nav .btn { width: 100%; margin-top: 16px; }

/* ---------- Hero (home) ---------- */
.hero { border-bottom: 1px solid var(--line); padding: 40px 0 48px; }
.hero-grid { display: grid; gap: 40px; }
.hero h1 { font-size: 36px; line-height: 1.1; letter-spacing: -.025em; margin: 16px 0 18px; font-weight: 600; }
.hero h1 em { font-style: normal; color: var(--teal-700); background: linear-gradient(transparent 70%, rgba(132, 204, 22, .35) 70%); }
.lede { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 580px; }
.hero-ctas { display: flex; flex-direction: column; gap: 10px; margin: 26px 0 26px; }
.vitals { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--line); list-style: none; }
.vitals li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 13px; color: var(--muted); }
.vitals b { color: var(--ink); font-weight: 600; }
.tick { display: inline-grid; place-items: center; width: 18px; height: 18px; background: var(--lime-50); border: 1px solid var(--ok-line); color: var(--lime-800); font-size: 11px; font-weight: 700; flex: none; }

/* Patient-chart report card */
.chart { position: relative; background: #fff; border: 1px solid var(--ink); border-radius: var(--r); box-shadow: 6px 6px 0 var(--teal-100); font-size: 14px; }
.chart-clip { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); width: 96px; height: 16px; background: var(--ink); border-radius: 3px 3px 0 0; }
.chart-clip::after { content: ''; position: absolute; left: 50%; top: 4px; transform: translateX(-50%); width: 30px; height: 5px; border-radius: 3px; background: var(--teal); }
.chart-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 18px 16px 12px; border-bottom: 1px solid var(--ink); }
.chart-title { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); font-weight: 600; }
.chart-sub { font-family: var(--mono); font-size: 11.5px; color: var(--soft); margin-top: 2px; }
.chart-id { font-family: var(--mono); font-size: 11px; color: var(--soft); text-align: right; white-space: nowrap; }
.chart-meta { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.chart-meta div { padding: 9px 12px; border-right: 1px solid var(--line); }
.chart-meta div:last-child { border-right: 0; }
.chart-meta small { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }
.chart-meta b { font-family: var(--mono); font-size: 18px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.chart-meta .bad b { color: var(--bad); } .chart-meta .warn b { color: var(--warn); } .chart-meta .ok b { color: var(--ok); }
.chart-vitals { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 12px 12px; }
.dial { position: relative; width: 120px; }
.dial svg { width: 120px; height: 72px; display: block; }
.dial-val { position: absolute; left: 0; right: 0; top: 40px; text-align: center; font-family: var(--mono); line-height: 1; }
.dial-val b { font-size: 26px; font-weight: 600; color: var(--ink); }
.dial-val small { font-size: 11px; color: var(--soft); }
.dial-cap { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); text-align: center; margin-top: 6px; }
.ecg { width: 100%; height: 64px; display: block; }
.ecg path { fill: none; stroke: var(--teal); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 0; animation: ecg 2.4s ease-out both; }
@keyframes ecg { from { stroke-dashoffset: 600; } to { stroke-dashoffset: 0; } }
.findings { list-style: none; }
.findings li { display: grid; grid-template-columns: 78px 1fr; align-items: center; gap: 10px; padding: 9px 16px; border-bottom: 1px solid var(--line-2); }
.findings li:last-child { border-bottom: 0; }
.findings .pill { justify-self: start; }
.findings code { background: none; border: 0; padding: 0; color: var(--ink); font-weight: 600; font-size: 12.5px; }
.findings .src { display: none; font-family: var(--mono); font-size: 11px; color: var(--soft); white-space: nowrap; }
.findings .what { font-size: 13px; color: var(--text); line-height: 1.35; }
.findings .what span { color: var(--muted); }
.chart-foot { display: flex; justify-content: space-between; gap: 12px; padding: 10px 16px; border-top: 1px solid var(--ink); background: var(--bg-2); font-family: var(--mono); font-size: 11px; color: var(--soft); border-radius: 0 0 var(--r) var(--r); }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section.tint { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.paper { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background-color: var(--bg-2); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 24px 24px; }
.sec-head { display: grid; gap: 14px; margin-bottom: 36px; padding-top: 14px; border-top: 2px solid var(--ink); }
.sec-head .num { font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-700); }
.sec-head h2 { font-size: 28px; line-height: 1.18; letter-spacing: -.02em; max-width: 760px; }
.sec-head p { font-size: 17px; color: var(--muted); max-width: 720px; }
.sec-head.center { text-align: left; }
.sec-head p a { text-decoration: underline; text-underline-offset: 3px; }

/* Ledger: ruled grid of cells sharing borders (replaces floating cards) */
.ledger { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: #fff; }
.ledger > * { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 24px 22px; background: #fff; }
.ledger h3 { font-size: 18px; margin: 12px 0 8px; line-height: 1.3; }
.ledger p { color: var(--muted); font-size: 15px; }
.ledger .cell-ico { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: var(--r-sm); margin-bottom: 14px; }
.ledger .cell-ico svg { width: 20px; height: 20px; }
.ledger .bad { color: var(--bad); } .ledger .warn { color: var(--warn); } .ledger .info { color: var(--teal-700); }
a.cell { display: block; color: inherit; text-decoration: none; position: relative; transition: background-color .15s; }
a.cell:hover { background: var(--teal-50); color: inherit; text-decoration: none; }
a.cell:hover h3 { color: var(--teal-700); text-decoration: underline; text-underline-offset: 3px; }
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: .04em; color: var(--teal-700); }

/* Feature rows with "specimen" figures */
.split { display: grid; gap: 28px; align-items: center; }
.split + .split { margin-top: 56px; padding-top: 56px; border-top: 1px dashed var(--line); }
.split h3 { font-size: 24px; line-height: 1.22; letter-spacing: -.015em; margin: 10px 0 12px; }
.split h3 + p, .split p + p { margin-top: 0; }
.split p { color: var(--muted); margin-bottom: 12px; }
.checks, .split ul { list-style: none; display: grid; gap: 0; margin-top: 12px; border-top: 1px solid var(--line); }
.checks li, .split li { position: relative; padding: 9px 0 9px 30px; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--text); }
.checks li::before, .split li::before { content: ''; position: absolute; left: 2px; top: 13px; width: 16px; height: 16px; background: var(--lime-50); border: 1px solid var(--ok-line); }
.checks li::after, .split li::after { content: ''; position: absolute; left: 7px; top: 15px; width: 5px; height: 9px; border-right: 2px solid var(--lime-800); border-bottom: 2px solid var(--lime-800); transform: rotate(45deg); }
.fig { margin: 0; border: 1px solid var(--ink); border-radius: var(--r); background: #fff; overflow: hidden; }
.fig-bar { display: flex; justify-content: space-between; gap: 12px; padding: 7px 12px; border-bottom: 1px solid var(--ink); background: var(--bg-2); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }
.fig-bar i { font-style: normal; display: inline-flex; gap: 5px; }
.fig-bar i::before, .fig-bar i::after { content: ''; width: 7px; height: 7px; border: 1px solid var(--soft); border-radius: 50%; }

/* Vertical timeline steps */
.timeline { list-style: none; counter-reset: step; position: relative; }
.timeline li { position: relative; padding: 0 0 30px 64px; counter-increment: step; }
.timeline li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 44px; height: 44px; display: grid; place-items: center; background: #fff; border: 1px solid var(--ink); font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--ink); z-index: 1; }
.timeline li::after { content: ''; position: absolute; left: 22px; top: 44px; bottom: 0; width: 1px; background: repeating-linear-gradient(to bottom, var(--teal) 0 4px, transparent 4px 8px); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::after { display: none; }
.timeline li:last-child::before { background: var(--lime-50); border-color: var(--lime-800); color: var(--lime-800); }
.timeline h3 { font-size: 18px; padding-top: 9px; margin-bottom: 4px; }
.timeline p { color: var(--muted); font-size: 15.5px; }
.steps-layout { display: grid; gap: 32px; }

/* Pricing - prescription sheets */
.price-grid { display: grid; gap: 20px; max-width: 860px; }
.price { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px 22px 24px; }
.price.best { border: 1px solid var(--ink); box-shadow: 6px 6px 0 var(--lime-300); }
.price.best::before { content: ''; position: absolute; top: -1px; left: -1px; right: -1px; height: 5px; background: var(--teal); border-radius: var(--r) var(--r) 0 0; }
.price-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.price h3 { font-size: 22px; }
.price .tagline { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--soft); margin-top: 2px; }
.price .tag { color: var(--lime-800); background: var(--lime-50); border-color: var(--ok-line); }
.price .amt { font-family: var(--mono); font-size: 40px; font-weight: 600; color: var(--ink); letter-spacing: -.03em; margin: 16px 0 4px; line-height: 1.1; }
.price .amt small { font-size: 14px; font-weight: 400; color: var(--soft); letter-spacing: 0; }
.price ul { list-style: none; margin: 14px 0 22px; border-top: 1px solid var(--line); }
.price li { position: relative; padding: 9px 0 9px 26px; border-bottom: 1px dotted var(--line); font-size: 15px; }
.price li::before { content: ''; position: absolute; left: 3px; top: 15px; width: 5px; height: 9px; border-right: 2px solid var(--lime-800); border-bottom: 2px solid var(--lime-800); transform: rotate(45deg); }
.price .btn { width: 100%; }
.price-note { color: var(--soft); font-size: 14px; margin-top: 18px; font-family: var(--mono); }

/* ---------- Code ---------- */
code { font-family: var(--mono); font-size: .86em; background: var(--teal-50); color: var(--teal-800); padding: 1px 5px; border: 1px solid var(--teal-100); border-radius: var(--r-sm); overflow-wrap: anywhere; }
pre.code, .prose pre, .content-page .card pre { position: relative; background: #f7fafa; color: var(--ink); border: 1px solid var(--line); border-left: 3px solid var(--teal); border-radius: 0 var(--r) var(--r) 0; padding: 30px 18px 16px; overflow-x: auto; font-family: var(--mono); font-size: 13px; line-height: 1.65; margin: 20px 0; tab-size: 2; background-image: linear-gradient(to bottom, var(--bg-3) 0 22px, transparent 22px); }
pre.code::before, .prose pre::before, .content-page .card pre::before { content: 'JSON-LD'; content: 'JSON-LD' / ''; position: absolute; top: 3px; left: 12px; font-size: 10.5px; letter-spacing: .1em; color: var(--soft); }
pre code, pre.code code { font-family: inherit; font-size: inherit; background: none; color: inherit; padding: 0; border: 0; overflow-wrap: normal; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; margin: 22px 0; border: 1px solid var(--ink); border-radius: var(--r); background: #fff; }
table.cmp, .prose table, .content-page .card table { width: 100%; border-collapse: collapse; font-size: 14.5px; background: #fff; }
table.cmp th, table.cmp td, .prose table th, .prose table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.cmp td + td, table.cmp th + th { border-left: 1px solid var(--line-2); }
table.cmp thead th, .prose table thead th { background: var(--bg-2); font-family: var(--mono); font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); border-bottom: 1px solid var(--ink); white-space: nowrap; }
table.cmp tbody tr:last-child td { border-bottom: 0; }
table.cmp tbody tr:hover td { background: var(--bg-2); }
table.cmp .us { background: var(--teal-50); }
table.cmp tbody tr:hover td.us { background: var(--teal-100); }
table.cmp thead .us { color: var(--teal-800); background: var(--teal-100); }
.y, .n { font-weight: 600; white-space: nowrap; }
.y { color: var(--ok); } .n { color: var(--bad); }
.y::before, .n::before { display: inline-block; width: 1.1em; font-family: var(--mono); }
.y::before { content: '\2713'; content: '\2713' / ''; }
.n::before { content: '\00D7'; content: '\00D7' / ''; }
.table-wrap.wide { max-width: 940px; }

/* ---------- FAQ (ruled) ---------- */
.faq { max-width: 860px; border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: grid; grid-template-columns: 1fr 28px; gap: 16px; align-items: center; padding: 16px 0; font-weight: 600; color: var(--ink); font-size: 16.5px; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--line); font-family: var(--mono); font-size: 16px; color: var(--teal-700); font-weight: 400; }
.faq details[open] summary::after { content: '\2212'; border-color: var(--teal); background: var(--teal-50); }
.faq summary:hover { color: var(--teal-700); }
.faq details > div { padding: 0 44px 18px 0; color: var(--muted); }
.faq details > div p + p { margin-top: 10px; }
.faq details > div a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Referral / CTA panel ---------- */
.cta { position: relative; display: grid; gap: 20px; padding: 32px 22px 28px; background: #fff; border: 1px solid var(--ink); border-radius: var(--r); overflow: hidden; }
.cta::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, var(--teal) 0 70%, var(--lime) 70% 100%); }
.cta h2 { font-size: 26px; line-height: 1.2; letter-spacing: -.02em; }
.cta p { color: var(--muted); margin-top: 8px; }
.cta .btn { background: var(--teal-600); border-color: var(--teal-600); color: #fff; justify-self: start; }
.cta .btn:hover { background: var(--ink); border-color: var(--ink); }
.cta-ecg { display: none; position: absolute; right: 0; bottom: 0; width: 46%; height: 70px; opacity: .55; pointer-events: none; }
.cta-ecg path { fill: none; stroke: var(--teal-100); stroke-width: 2; }

/* ---------- Inner page header ---------- */
.page-hero { padding: 32px 0 36px; border-bottom: 1px solid var(--line); background-color: #fff; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 24px 24px; background-position: -1px -1px; }
.page-hero h1 { font-size: 32px; line-height: 1.14; letter-spacing: -.022em; max-width: 880px; margin: 14px 0 14px; }
.page-hero p { font-size: 17.5px; color: var(--muted); max-width: 760px; }
.page-hero p a { text-decoration: underline; text-underline-offset: 3px; }
.crumbs { font-family: var(--mono); font-size: 12px; color: var(--soft); letter-spacing: .02em; margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs a { color: var(--teal-700); }
.crumbs .sep { color: var(--line); padding: 0 8px; }

/* Error-report header for /guides/fix/... */
.report-head { margin-top: 4px; border: 1px solid var(--ink); border-radius: var(--r); background: #fff; max-width: 920px; overflow: hidden; }
.report-head .rh-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; padding: 8px 14px; background: var(--ink); color: #cfe3e3; font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; }
.report-head .rh-bar b { color: #fff; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; }
.report-head .rh-bar b::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #f59e0b; box-shadow: 0 0 0 3px rgba(245,158,11,.25); }
.report-head .rh-body { padding: 18px 16px 20px; border-left: 4px solid var(--bad); }
.report-head h1 { margin: 0 0 12px; font-size: 28px; }
.report-head p { font-size: 17px; }

/* ---------- Guide article ---------- */
.article { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 28px; padding-bottom: 64px; }
.article > .aside { display: contents; }
.article .toc { order: 0; }
.article > .prose, .article > .main-col { order: 1; min-width: 0; }
.article .side-cta, .article .toc.related { order: 2; }
.prose { font-size: 17px; max-width: 740px; }
.prose > * + * { margin-top: 16px; }
.prose h2 { font-size: 25px; line-height: 1.22; letter-spacing: -.018em; margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--line); scroll-margin-top: 20px; counter-increment: h2; }
.prose.numbered { counter-reset: h2; }
.prose.numbered h2::before { content: counter(h2, decimal-leading-zero) ' \2014 '; content: counter(h2, decimal-leading-zero) ' \2014 ' / ''; display: block; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; color: var(--teal-700); margin-bottom: 8px; }
.prose h3 { font-size: 19px; margin-top: 30px; }
.prose p, .prose li { color: var(--text); }
.prose ul, .prose ol { padding-left: 22px; }
.prose ul li::marker { color: var(--teal); }
.prose ol li::marker { font-family: var(--mono); font-size: .9em; color: var(--teal-700); font-weight: 600; }
.prose li + li { margin-top: 7px; }
.prose a { text-decoration: underline; text-decoration-color: rgba(15,138,143,.45); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: currentColor; }
.prose img { border: 1px solid var(--line); border-radius: var(--r); }
.byline { font-family: var(--mono); font-size: 12.5px; color: var(--soft); padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.byline a { color: var(--teal-700); }

/* "Short answer" as a Diagnosis box */
.answer { position: relative; margin-top: 26px !important; padding: 26px 20px 18px; background: var(--teal-50); border: 1px solid var(--teal-100); border-left: 4px solid var(--teal); border-radius: 0 var(--r) var(--r) 0; }
.answer::before { content: 'Diagnosis'; content: 'Diagnosis' / ''; position: absolute; top: -11px; left: 14px; padding: 2px 8px; background: var(--ink); color: #fff; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.answer p { color: var(--ink) !important; }
.answer p + p { margin-top: 10px; }
.answer b:first-child { font-family: var(--mono); font-size: .82em; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-800); margin-right: 4px; }

/* Callouts */
.callout { position: relative; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--teal); border-radius: 0 var(--r) var(--r) 0; padding: 30px 18px 16px; }
.callout::before { content: 'Note'; content: 'Note' / ''; position: absolute; top: 9px; left: 18px; font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-700); }
.callout.warn { background: #fffbf2; border-color: var(--warn-line); border-left-color: #d97706; }
.callout.warn::before { content: 'Caution'; content: 'Caution' / ''; color: var(--warn); }
.callout p { margin: 0; }
.callout p + p { margin-top: 8px; }

/* Contents column */
.toc { border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.toc summary, .toc .toc-h { display: flex; align-items: center; justify-content: space-between; min-height: 46px; padding: 0 14px; font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); cursor: pointer; list-style: none; background: var(--bg-2); border-radius: var(--r); }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: '+'; font-size: 16px; color: var(--teal-700); font-weight: 400; }
.toc[open] summary { border-bottom: 1px solid var(--line); border-radius: var(--r) var(--r) 0 0; }
.toc[open] summary::after { content: '\2212'; }
.toc ol { list-style: none; counter-reset: toc; padding: 8px 0; }
.toc li { counter-increment: toc; }
.toc a { display: grid; grid-template-columns: 26px 1fr; gap: 4px; padding: 7px 14px; color: var(--muted); font-size: 14px; line-height: 1.38; border-left: 2px solid transparent; text-decoration: none; }
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--mono); font-size: 11px; color: var(--soft); padding-top: 2px; }
.toc.plain a { grid-template-columns: minmax(0, 1fr); }
.toc.plain a::before { display: none; }
.toc .toc-h { cursor: default; border-bottom: 1px solid var(--line); border-radius: var(--r) var(--r) 0 0; }
.toc a:hover, .toc a.on { color: var(--teal-700); border-left-color: var(--teal); background: var(--teal-50); }
.side-cta { border: 1px solid var(--ink); border-radius: var(--r); padding: 18px; background: #fff; position: relative; overflow: hidden; }
.side-cta::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--teal) 0 70%, var(--lime) 70%); }
.side-cta h2 { font-size: 17px; margin: 4px 0 6px; }
.side-cta p { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.side-cta .btn { width: 100%; }

/* Related reading (ruled list) */
.related-list { list-style: none; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr); }
.related-list a { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 16px 4px; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.related-list a:hover { background: var(--teal-50); }
.related-list a:hover h3 { color: var(--teal-700); text-decoration: underline; text-underline-offset: 3px; }
.related-list .tag { justify-self: start; grid-column: 1 / -1; }
.related-list h3 { font-size: 17px; line-height: 1.35; }
.related-list p { grid-column: 1; color: var(--muted); font-size: 14.5px; }
.related-list .arr { grid-column: 2; grid-row: 2 / span 2; align-self: center; font-family: var(--mono); color: var(--teal-700); }

/* ---------- Guide hub - ruled index ---------- */
.hub { display: grid; gap: 0; }
.hub-group { display: grid; gap: 18px; padding: 36px 0; border-top: 2px solid var(--ink); scroll-margin-top: 12px; }
.hub-group:first-child { padding-top: 24px; }
.hub-meta .num { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--teal-700); text-transform: uppercase; }
.hub-meta h2 { font-size: 24px; margin: 6px 0 8px; letter-spacing: -.015em; }
.hub-meta p { color: var(--muted); font-size: 15.5px; }
.hub-meta .count { display: inline-block; margin-top: 12px; }
.index { list-style: none; counter-reset: idx; border-top: 1px solid var(--line); }
.index li { counter-increment: idx; border-bottom: 1px solid var(--line); }
.index a { display: grid; grid-template-columns: 34px 1fr 20px; gap: 2px 12px; padding: 14px 6px 14px 0; color: inherit; text-decoration: none; transition: background-color .15s; }
.index a::before { content: counter(idx, decimal-leading-zero); grid-row: 1 / span 2; font-family: var(--mono); font-size: 12px; color: var(--soft); padding-top: 3px; }
.index a::after { content: '\2192'; grid-column: 3; grid-row: 1 / span 2; align-self: center; font-family: var(--mono); color: var(--teal-700); transition: transform .15s; }
.index a:hover { background: var(--teal-50); }
.index a:hover::after { transform: translateX(3px); }
.index a:hover .t { color: var(--teal-700); text-decoration: underline; text-underline-offset: 3px; }
.index .t { font-weight: 600; color: var(--ink); line-height: 1.35; font-size: 16px; }
.index .d { grid-column: 2; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.index.fix .t::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--bad); margin-right: 9px; vertical-align: 2px; }
.badge { display: inline-block; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-700); background: var(--teal-50); border: 1px solid var(--teal-100); padding: 2px 8px; border-radius: var(--r-sm); }

/* ---------- Free tools ---------- */
.tool { border: 1px solid var(--ink); border-radius: var(--r); background: #fff; overflow: hidden; }
.tool-bar { display: flex; justify-content: space-between; gap: 10px; padding: 9px 16px; background: var(--ink); color: #cfe3e3; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; }
.tool-bar b { color: #fff; font-weight: 500; }
.tool-body { padding: 8px 16px 20px; }
.tool label { display: block; font-family: var(--mono); font-weight: 600; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin: 16px 0 6px; }
.tool input, .tool select, .tool textarea { width: 100%; font: inherit; font-size: 16px; padding: 10px 12px; min-height: 44px; border: 1px solid #b8cccc; border-radius: var(--r); background: #fff; color: var(--text); }
.tool textarea { font-family: var(--mono); font-size: 13px; line-height: 1.6; min-height: 260px; background: #f7fafa; }
.tool input:focus, .tool select:focus, .tool textarea:focus { outline: none; border-color: var(--teal-700); box-shadow: 0 0 0 3px var(--teal-100); }
.tool .row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 14px; }
.tool .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.results { margin-top: 18px; border-top: 1px solid var(--line); }
.results:empty { border-top: 0; }
.res { display: grid; grid-template-columns: 90px 1fr; gap: 12px; align-items: start; padding: 10px 2px; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.res .pill { justify-self: start; margin-top: 1px; }

/* ---------- Blog hub ---------- */
.shelf { margin-top: 48px; }
.shelf-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; padding: 12px 0; border-top: 2px solid var(--ink); }
.shelf-head h2 { font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.shelf-head .key { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11.5px; color: var(--soft); }
.shelf-head .key::before { content: ''; width: 10px; height: 10px; border: 1px solid currentColor; }
.shelf-head.ess .key::before { background: var(--teal); border-color: var(--teal); }
.shelf-head.rec .key::before { background: #f59e0b; border-color: #d97706; }
.shelf-head.opt .key::before { background: var(--bg-3); border-color: var(--soft); }
.shelf-head.rr .key::before { background: var(--lime); border-color: var(--lime-800); }
.specimens { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.specimen { display: flex; flex-direction: column; padding: 22px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; color: inherit; text-decoration: none; transition: background-color .15s; }
.specimen:hover { background: var(--teal-50); color: inherit; text-decoration: none; }
.specimen:hover h3 { color: var(--teal-700); text-decoration: underline; text-underline-offset: 3px; }
.specimen .tag { align-self: flex-start; }
.specimen .tag.ess { color: #fff; background: var(--teal-700); border-color: var(--teal-700); }
.specimen .tag.rec { color: var(--warn); background: var(--warn-bg); border-color: var(--warn-line); }
.specimen .tag.rr { color: var(--lime-800); background: var(--lime-50); border-color: var(--ok-line); }
.specimen h3 { font-size: 19px; margin: 14px 0 8px; }
.specimen p { font-size: 14.5px; color: var(--muted); flex: 1; }

/* ---------- Content pages: blog posts and policies as a report sheet ---------- */
.content-page main { background-color: var(--bg-2); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 24px 24px; }
.content-page .container { max-width: 880px; margin: 0 auto; padding: 28px var(--gutter) 64px; }
.content-page .card { position: relative; background: #fff; border: 1px solid var(--ink); border-radius: var(--r); padding: 32px 20px 28px; box-shadow: 6px 6px 0 var(--teal-100); }
.content-page .card::before { content: ''; position: absolute; inset: -1px -1px auto -1px; height: 5px; background: linear-gradient(90deg, var(--teal) 0 70%, var(--lime) 70%); border-radius: var(--r) var(--r) 0 0; }
.content-page .card h1 { font-size: 30px; line-height: 1.18; letter-spacing: -.02em; color: var(--ink); margin: 6px 0 18px; font-weight: 600; }
.content-page .card h2 { font-size: 22px; color: var(--ink); margin: 38px 0 10px; padding-top: 16px; border-top: 1px solid var(--line); letter-spacing: -.012em; }
.content-page .card h2:first-child, .content-page .card .last-updated + h2 { margin-top: 18px; }
.content-page .card h3 { font-size: 17.5px; color: var(--ink); margin: 24px 0 8px; }
.content-page .card p { margin: 12px 0; color: var(--text); font-size: 16.5px; }
.content-page .card ul, .content-page .card ol { margin: 12px 0 12px 22px; color: var(--text); }
.content-page .card li { margin: 7px 0; }
.content-page .card li::marker { color: var(--teal); }
.content-page .card a { text-decoration: underline; text-decoration-color: rgba(15,138,143,.45); text-underline-offset: 3px; }
.content-page .card th, .content-page .card td { border-bottom: 1px solid var(--line); padding: 10px; text-align: left; vertical-align: top; }
.content-page .last-updated { font-family: var(--mono); font-size: 12px; color: var(--soft); letter-spacing: .02em; padding-bottom: 14px; border-bottom: 1px dashed var(--line); margin-bottom: 8px !important; }
.content-page .last-updated strong { font-weight: 600; text-transform: uppercase; letter-spacing: .08em; padding: 1px 6px; border: 1px solid; border-radius: var(--r-sm); }
.cls-ess { color: var(--teal-800); background: var(--teal-50); }
.cls-rec { color: var(--warn); background: var(--warn-bg); }
.cls-opt { color: var(--muted); background: var(--bg-2); }
.post-nav { font-family: var(--mono); font-size: 12.5px; margin: 0 0 6px !important; }
.post-nav a { text-decoration: none !important; }
.post-by { font-family: var(--mono); font-size: 12px !important; color: var(--soft) !important; margin: 0 0 4px !important; }
.post-foot { margin-top: 36px !important; padding-top: 18px; border-top: 1px solid var(--ink); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #b9d3d3; font-size: 14.5px; }
.footer a { color: #e6f3f3; }
.footer a:hover { color: #fff; }
.foot-ecg { display: block; width: 100%; height: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.foot-ecg path { fill: none; stroke: rgba(132, 204, 22, .55); stroke-width: 1.5; }
.foot-top { display: grid; gap: 28px; padding: 40px 0 32px; border-bottom: 1px solid rgba(255,255,255,.12); }
.foot-about .brand { color: #fff; margin-bottom: 14px; }
.foot-about .brand span { color: var(--lime-300); }
.foot-about p { max-width: 440px; }
.foot-about p + p { margin-top: 12px; }
.foot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; }
.footer h2, .footer .foot-h { font-family: var(--mono); color: var(--lime-300); font-size: 11.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer ul { list-style: none; display: grid; gap: 4px; }
.footer li a { display: inline-block; padding: 3px 0; }
.foot-base { display: flex; flex-direction: column; gap: 10px; padding: 20px 0 28px; font-family: var(--mono); font-size: 12px; color: #9fbdbd; }

/* ---------- Motion + print ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- >= 600px ---------- */
@media (min-width: 600px) {
  :root { --gutter: 24px; }
  .hero-ctas { flex-direction: row; flex-wrap: wrap; }
  .vitals { grid-template-columns: repeat(3, auto); justify-content: start; column-gap: 28px; border-bottom: 1px solid var(--line); }
  .vitals li { border-bottom: 0; }
  .findings li { grid-template-columns: 84px 1fr auto; }
  .findings .src { display: block; }
  .ledger, .specimens { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr 1fr; }
  .tool .row { grid-template-columns: 1fr 1fr; }
  .foot-cols { grid-template-columns: repeat(4, 1fr); }
  .foot-base { flex-direction: row; justify-content: space-between; }
  .util-links { display: flex; }
  .cta { grid-template-columns: 1fr auto; align-items: center; padding: 40px 36px; }
  .cta .btn { justify-self: end; position: relative; z-index: 1; }
  .cta-ecg { display: block; }
  .content-page .card { padding: 44px 44px 36px; }
  .related-list { grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .report-head .rh-body { padding: 22px 24px 24px; }
}

/* ---------- >= 1000px ---------- */
@media (min-width: 1000px) {
  :root { --gutter: 32px; }
  .menu-btn { display: none; }
  .nav { display: flex !important; position: static; align-items: center; gap: 28px; padding: 0; border: 0; background: none; max-height: none; overflow: visible; }
  .nav > a:not(.btn), .dd > button { position: relative; width: auto; min-height: 68px; border: 0; font-size: 15px; color: var(--text); gap: 6px; }
  .nav > a:not(.btn)::after, .dd > button::after { content: ''; position: absolute; left: 0; right: 0; bottom: 18px; height: 2px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
  .nav > a:not(.btn):hover, .dd > button:hover, .dd:focus-within > button { color: var(--ink); }
  .nav > a:not(.btn):hover::after, .nav > a.on::after, .dd > button:hover::after, .dd.on > button::after, .dd:hover > button::after, .dd.open > button::after { transform: scaleX(1); }
  .dd { position: relative; }
  .dd-menu { position: absolute; top: calc(100% - 1px); left: 50%; transform: translateX(-50%); width: 660px; padding: 0; background: #fff; border: 1px solid var(--ink); border-top: 3px solid var(--teal); border-radius: 0 0 var(--r) var(--r); box-shadow: 8px 8px 0 rgba(11, 59, 61, .08); z-index: 200; }
  .dd:hover .dd-menu, .dd:focus-within .dd-menu, .dd.open .dd-menu { display: grid; grid-template-columns: 1fr 1fr; }
  .dd-menu a { border-left: 0; border-bottom: 1px solid var(--line-2); padding: 12px 18px; font-size: 14.5px; }
  .dd-menu a:nth-child(odd) { border-right: 1px solid var(--line-2); }
  .dd-menu a:hover { background: var(--teal-50); }
  .nav .btn { width: auto; margin: 0 0 0 4px; }

  .hero { padding: 64px 0 72px; background-image: linear-gradient(90deg, #fff 0 54%, transparent 54%), linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 100% 100%, 24px 24px, 24px 24px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
  .hero h1 { font-size: 52px; }
  .chart-head { padding: 22px 20px 14px; }
  .findings li, .chart-vitals, .chart-foot { padding-left: 20px; padding-right: 20px; }
  .chart-vitals { grid-template-columns: 132px 1fr; }

  .section { padding: 88px 0; }
  .sec-head { grid-template-columns: 220px 1fr; column-gap: 40px; row-gap: 10px; margin-bottom: 44px; }
  .sec-head .num { grid-row: 1 / span 2; padding-top: 8px; }
  .sec-head h2 { font-size: 36px; }
  .ledger.three { grid-template-columns: repeat(3, 1fr); }
  .sec-head ~ .faq, .sec-head ~ .price-grid, .sec-head ~ .price-note, .sec-head ~ .table-wrap, .sec-head ~ p { margin-left: 260px; max-width: none; }
  .specimens { grid-template-columns: repeat(3, 1fr); }
  .ledger > * { padding: 28px 26px; }
  .split { grid-template-columns: 1fr 1.15fr; gap: 56px; }
  .split.rev > :first-child { order: 2; }
  .split + .split { margin-top: 72px; padding-top: 72px; }
  .steps-layout { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
  .steps-layout .sec-head { grid-template-columns: minmax(0, 1fr); position: sticky; top: 24px; }
  .steps-layout .sec-head .num { grid-row: auto; padding-top: 0; }
  .price-grid { gap: 28px; }
  .price { padding: 30px 28px 28px; }
  .cta { padding: 48px 48px; }
  .cta h2 { font-size: 30px; }

  .page-hero { padding: 44px 0 52px; }
  .page-hero h1 { font-size: 44px; }
  .report-head h1 { font-size: 36px; }

  .article { grid-template-columns: 264px minmax(0, 1fr); column-gap: 56px; padding-top: 44px; padding-bottom: 80px; align-items: start; }
  .article > .aside { display: grid; gap: 18px; position: sticky; top: 20px; align-self: start; grid-column: 1; grid-row: 1; max-height: calc(100vh - 40px); overflow-y: auto; padding-right: 2px; }
  .article > .prose, .article > .main-col { grid-column: 2; grid-row: 1; }
  .toc summary { cursor: default; pointer-events: none; }
  .toc summary::after { display: none; }

  .hub-group { grid-template-columns: 300px 1fr; column-gap: 56px; padding: 44px 0; }
  .hub-meta { position: sticky; top: 20px; align-self: start; }
  .index.two { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }

  .foot-top { grid-template-columns: 1fr 2fr; gap: 56px; padding: 56px 0 44px; }
}
@media (min-width: 1200px) {
  .hero h1 { font-size: 56px; }
}

@media print {
  .util, .site-header, .footer, .aside, .cta { display: none !important; }
  .article { display: block; }
}
