/* Omni Health Supply. Tokens first; everything else reads from them. */
:root {
  --ink: #0A1E46;
  --ink-2: #26395C;
  --slate: #50657A;
  --teal: #0B5563;
  --teal-2: #0E6C7D;
  --teal-deep: #083F4A;
  --aqua: #22C7D6;
  --aqua-soft: #D5F4F7;
  --pale: #F2FAFB;
  --white: #FFFFFF;
  --line: #D6E6EA;
  --line-2: #E7F1F3;
  --ok: #0C8A6A;
  --bad: #B3364A;
  --display: "Sora", system-ui, sans-serif;
  --body: "Hanken Grotesk", system-ui, sans-serif;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --shadow: 0 1px 2px rgba(10, 30, 70, .06), 0 18px 40px -18px rgba(10, 30, 70, .28);
  --shadow-soft: 0 1px 2px rgba(10, 30, 70, .05), 0 10px 24px -14px rgba(10, 30, 70, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; color: var(--ink); }
h1 { font-size: clamp(2.45rem, 4.9vw, 4.1rem); line-height: 1.05; font-weight: 700; letter-spacing: -.032em; }
h2 { font-size: clamp(1.85rem, 3.1vw, 2.6rem); line-height: 1.12; font-weight: 700; letter-spacing: -.025em; }
h3 { font-size: 1.22rem; line-height: 1.3; font-weight: 600; letter-spacing: -.012em; }
h4 { font-size: 1rem; line-height: 1.35; font-weight: 600; }
p { margin: 0; }
a { color: var(--teal); text-underline-offset: .18em; }
a:hover { color: var(--teal-2); }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; border-radius: 4px; }
.num { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 16px; color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 1rem/1 var(--body);
  color: #fff; background: var(--teal);
  padding: 15px 24px; border-radius: 999px; border: 0;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease;
}
.btn:hover { background: var(--teal-deep); color: #fff; }
.btn-sm { padding: 11px 18px; font-size: .95rem; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { background: var(--pale); color: var(--ink); }
.btn-light { background: #fff; color: var(--teal-deep); }
.btn-light:hover { background: var(--aqua-soft); color: var(--teal-deep); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Header */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; }
.brand { display: inline-flex; border-radius: 6px; }
.brand img { height: 46px; width: auto; }
.nav-menu ul { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-menu a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-menu a:not(.btn):hover { color: var(--teal); }
.nav-menu a:not(.btn)[aria-current="page"] { border-bottom-color: var(--aqua); }
.nav-toggle { display: none; font: 600 .95rem/1 var(--body); color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 10px 16px; cursor: pointer; }

/* Sections */
.section { padding: 112px 0; }
.section-pale { background: var(--pale); border-block: 1px solid var(--line-2); }
.section-head { max-width: 780px; margin-bottom: 56px; }
.section-head p { margin-top: 18px; color: var(--ink-2); font-size: 1.14rem; max-width: 40em; }
.section-head-row { display: flex; justify-content: space-between; align-items: end; gap: 32px; max-width: none; }
.section-head-row > div { max-width: 760px; }
.lede { font-size: 1.2rem; color: var(--ink-2); margin-top: 22px; max-width: 33em; }
.text-link { font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--aqua); padding-bottom: 2px; white-space: nowrap; }
.text-link:hover { border-bottom-color: var(--teal); }

/* Hero */
.hero { position: relative; padding: 56px 0 104px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 78% 38%, rgba(34, 199, 214, .16), transparent 40%),
    linear-gradient(180deg, #fff 0%, #fff 60%, var(--pale) 100%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 3.5vw, 3rem); line-height: 1.07; max-width: 14em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-facts { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 0; max-width: 32em; border-top: 1px solid var(--line); }
.hero-facts li { display: flex; gap: 14px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: .98rem; }
.hero-facts li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 2px; background: var(--aqua); transform: translateY(-2px); }

/* The label stage */
.rx { position: relative; }
.rx-switch {
  display: inline-grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 5px;
  background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-soft);
  margin: 0 0 18px;
}
.rx-opt {
  display: grid; gap: 3px; text-align: left; cursor: pointer;
  background: transparent; border: 0; border-radius: 11px; padding: 10px 18px 11px;
  font: 500 .84rem/1.2 var(--body); color: var(--slate);
  transition: background-color .2s ease, color .2s ease;
}
.rx-opt strong { font: 700 1.12rem/1 var(--display); color: var(--ink); letter-spacing: -.01em; }
.rx-opt:hover { background: var(--pale); }
.rx-opt[aria-checked="true"] { background: var(--teal); color: #CFEFF2; }
.rx-opt[aria-checked="true"] strong { color: #fff; }
.rx-hint { display: inline-block; margin-left: 14px; color: var(--slate); font-size: .9rem; vertical-align: middle; }

.rx-stage {
  position: relative; border-radius: var(--r-lg); padding: 34px 34px 30px;
  background:
    radial-gradient(circle at 1px 1px, rgba(11, 85, 99, .11) 1px, transparent 1.4px) 0 0 / 18px 18px,
    linear-gradient(160deg, #F6FCFD 0%, #E9F7F9 100%);
  border: 1px solid var(--line);
  min-height: 560px;
}
.rx-art { position: absolute; top: -26px; right: 22px; width: 150px; height: 210px; pointer-events: none; }
.rx-art svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .45s ease, transform .45s ease; }
.rx-art svg.is-off { opacity: 0; transform: translateY(10px) scale(.96); }

.rx-label {
  position: relative; z-index: 1; width: min(100%, 470px); margin-top: 72px;
  background: var(--white); border-radius: 12px; box-shadow: var(--shadow);
  border: 1px solid #CFE1E5; overflow: hidden;
  font-variant-numeric: tabular-nums;
}
.rx-label::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 7px; background: var(--aqua); transition: background-color .4s ease; }
.rx[data-pathway="b"] .rx-label::before { background: var(--teal); }
.rx-label-in { padding: 20px 22px 18px 30px; }
.rx-head { display: flex; justify-content: space-between; gap: 14px; align-items: start; }
.rx-facility { font: 600 .98rem/1.25 var(--display); letter-spacing: -.01em; }
.rx-facility-line { color: var(--slate); font-size: .8rem; margin-top: 3px; }
.rx-pill { flex: none; font: 700 .8rem/1 var(--display); padding: 6px 9px; border-radius: 6px; border: 1.5px solid var(--teal); color: var(--teal); }
.rx-perf { height: 0; border-top: 1.5px dashed #C3D8DD; margin: 15px -22px 15px -30px; }
.rx-product { font: 700 1.38rem/1.15 var(--display); letter-spacing: -.02em; }
.rx-product-line { color: var(--ink-2); font-size: .92rem; margin-top: 4px; }
.rx-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 18px; margin: 16px 0 0; }
.rx-fields div { min-width: 0; }
.rx-fields .wide { grid-column: 1 / -1; }
.rx-fields dt { color: var(--slate); font-size: .74rem; line-height: 1.2; }
.rx-fields dd { margin: 2px 0 0; font-size: .92rem; font-weight: 600; line-height: 1.3; color: var(--ink); }
.rx-tests { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; list-style: none; padding: 0; }
.rx-tests li { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; padding: 5px 9px 5px 7px; border-radius: 6px; background: #E7F7F2; color: #0B6B53; }
.rx-tests li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3.2 6.2l1.8 1.8 3.8-4' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.rx-foot { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: end; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.rx-code { display: grid; gap: 4px; }
.rx-code svg { width: 148px; height: 34px; }
.rx-code span { font-size: .74rem; color: var(--slate); letter-spacing: .02em; }
.rx-reg { font-size: .76rem; line-height: 1.4; color: var(--ink-2); }
.rx-compounded { font-weight: 700; color: var(--ink); }

.rx-facts { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 8px; position: relative; z-index: 1; }
.rx-facts li { display: flex; gap: 10px; align-items: baseline; font-size: .96rem; color: var(--ink-2); }
.rx-facts li::before { content: ""; flex: none; width: 14px; height: 2px; background: var(--teal); transform: translateY(-4px); }

[data-rx] { transition: opacity .22s ease, transform .22s ease; transition-delay: calc(var(--i, 0) * 28ms); }
.rx.is-swapping [data-rx] { opacity: 0; transform: translateY(4px); }

/* Print-in on load: the label feeds out of the printer once. */
.rx-label.is-printing { animation: print 1s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes print {
  from { clip-path: inset(0 0 100% 0); transform: translateY(-14px); }
  to { clip-path: inset(0 0 0 0); transform: none; }
}

/* Spec tables (503A vs 503B, label fields, standards) */
.spec { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-soft); border: 1px solid var(--line); }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 18px 22px; border-bottom: 1px solid var(--line-2); font-size: .98rem; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.spec thead th { background: var(--ink); color: #fff; font: 600 1rem/1.3 var(--display); border-bottom: 0; }
.spec thead th span { display: block; font: 400 .86rem/1.4 var(--body); color: #B9C8E2; margin-top: 3px; }
.spec tbody th { width: 22%; font-weight: 600; color: var(--ink); background: #FBFEFE; }
.spec td { color: var(--ink-2); }
.spec .tag { display: inline-block; font-size: .8rem; font-weight: 600; padding: 3px 8px; border-radius: 6px; background: var(--aqua-soft); color: var(--teal-deep); margin: 2px 4px 2px 0; white-space: nowrap; }
.spec .tag-muted { background: #EEF2F6; color: var(--slate); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-md); }
.table-note { margin-top: 16px; color: var(--slate); font-size: .92rem; max-width: 60em; }

/* Formulary index */
.formulary { border-top: 2px solid var(--ink); }
.formulary-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.7fr) minmax(0, .8fr); gap: 28px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.formulary-row h3 { font-size: 1.15rem; }
.formulary-row p { color: var(--ink-2); font-size: .98rem; }
.formulary-forms { display: flex; flex-wrap: wrap; gap: 6px; }
.formulary-forms span { font-size: .86rem; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); background: #fff; }
.formulary-path { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.formulary-path span { font: 700 .78rem/1 var(--display); padding: 6px 8px; border-radius: 6px; background: var(--ink); color: #fff; }
.formulary-path span.alt { background: var(--teal); }
.formulary-path span.sup { background: var(--aqua-soft); color: var(--teal-deep); }
.formulary-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.7fr) minmax(0, .8fr); gap: 28px; padding: 12px 0; color: var(--slate); font-size: .86rem; border-bottom: 1px solid var(--line); }
.formulary-head span:last-child { text-align: right; }

/* Split feature blocks */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 72px; align-items: center; }
.split-rev > :first-child { order: 2; }
.split h2 { max-width: 14em; }
.split .lede { font-size: 1.12rem; }
.checks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 32px; color: var(--ink-2); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--aqua-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.6 10.4l2.9 2.9 5.9-6.3' fill='none' stroke='%230B5563' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat;
}
.checks strong { color: var(--ink); font-weight: 600; }

/* Steps: a real sequence */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 0; counter-reset: step; border-top: 1px solid var(--line); }
.steps li { counter-increment: step; padding: 24px 24px 4px 0; position: relative; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--teal); color: #fff; font: 700 .9rem/1 var(--display); margin-bottom: 16px;
}
.steps li::after { content: ""; position: absolute; top: 40px; left: 44px; right: 12px; height: 1.5px; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 11px); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.05rem; }
.steps p { margin-top: 8px; color: var(--ink-2); font-size: .96rem; }

/* Mockups: shared window chrome */
.mock { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow); overflow: hidden; font-variant-numeric: tabular-nums; }
.mock-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line-2); background: #FAFDFD; }
.mock-dots { display: flex; gap: 6px; }
.mock-dots i { width: 9px; height: 9px; border-radius: 50%; background: #D9E4E7; }
.mock-url { flex: 1; font-size: .78rem; color: var(--slate); background: #fff; border: 1px solid var(--line-2); border-radius: 6px; padding: 4px 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-body { padding: 22px; }
.mock-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.mock-title h4 { font-size: 1.02rem; }
.mock-title span { font-size: .8rem; color: var(--slate); }
.mock-tabs { display: flex; gap: 4px; padding: 4px; background: var(--pale); border-radius: 10px; margin-bottom: 16px; width: max-content; max-width: 100%; }
.mock-tabs span { font-size: .82rem; font-weight: 600; padding: 7px 12px; border-radius: 7px; color: var(--slate); }
.mock-tabs span.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(10, 30, 70, .12); }
.mock-lines { display: grid; gap: 0; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; }
.mock-line { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line-2); font-size: .88rem; }
.mock-line:last-child { border-bottom: 0; }
.mock-line b { display: block; font-weight: 600; color: var(--ink); }
.mock-line small { color: var(--slate); font-size: .78rem; }
.mock-chip { font-size: .74rem; font-weight: 700; padding: 4px 8px; border-radius: 6px; white-space: nowrap; }
.chip-a { background: #E6ECFB; color: #23409C; }
.chip-b { background: var(--aqua-soft); color: var(--teal-deep); }
.chip-cold { background: #E3F1FB; color: #1F5C8E; }
.chip-ok { background: #E7F7F2; color: #0B6B53; }
.mock-qty { color: var(--ink-2); font-weight: 600; }
.mock-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.mock-meta div { background: var(--pale); border-radius: 10px; padding: 12px 14px; }
.mock-meta dt { font-size: .74rem; color: var(--slate); }
.mock-meta dd { margin: 3px 0 0; font-size: .9rem; font-weight: 600; }
.mock-track { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 18px; }
.mock-track span { display: grid; gap: 7px; font-size: .74rem; color: var(--slate); }
.mock-track span::before { content: ""; height: 5px; border-radius: 3px; background: var(--line); }
.mock-track span.done::before { background: var(--teal); }
.mock-track span.now::before { background: linear-gradient(90deg, var(--teal) 55%, var(--line) 55%); }
.mock-track span.done, .mock-track span.now { color: var(--ink); font-weight: 600; }

/* Certificate of analysis */
.coa { background: var(--white); color: var(--ink); border-radius: var(--r-md); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); overflow: hidden; font-variant-numeric: tabular-nums; }
.coa-head { display: flex; justify-content: space-between; gap: 16px; padding: 20px 22px 16px; border-bottom: 1px solid var(--line-2); }
.coa-head h4 { font-size: 1.05rem; }
.coa-head p { font-size: .8rem; color: var(--slate); margin-top: 3px; }
.coa-stamp { flex: none; align-self: start; font: 700 .78rem/1 var(--display); color: var(--ok); border: 1.5px solid var(--ok); border-radius: 6px; padding: 7px 9px; }
.coa-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-bottom: 1px solid var(--line-2); }
.coa-meta div { padding: 12px 22px; border-right: 1px solid var(--line-2); }
.coa-meta div:last-child { border-right: 0; }
.coa-meta dt { font-size: .72rem; color: var(--slate); }
.coa-meta dd { margin: 3px 0 0; font-size: .88rem; font-weight: 600; }
.coa table { width: 100%; border-collapse: collapse; font-size: .84rem; }
.coa th, .coa td { text-align: left; padding: 10px 22px; border-bottom: 1px solid var(--line-2); }
.coa thead th { font-weight: 600; color: var(--slate); font-size: .76rem; background: #FAFDFD; }
.coa td.pass { color: var(--ok); font-weight: 700; }
.coa-sign { display: flex; justify-content: space-between; gap: 12px; padding: 14px 22px 18px; font-size: .8rem; color: var(--slate); }
.coa-sign b { color: var(--ink); font-weight: 600; }

/* Dark band (quality) */
.band-dark { background: var(--teal-deep); color: #CDE6EA; padding: 112px 0; position: relative; overflow: hidden; }
.band-dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(34, 199, 214, .22), transparent 45%); pointer-events: none; }
.band-dark .wrap { position: relative; }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark .lede { color: #CDE6EA; }
.band-dark .checks li { color: #CDE6EA; }
.band-dark .checks strong { color: #fff; }
.band-dark .checks li::before { background-color: rgba(34, 199, 214, .2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.6 10.4l2.9 2.9 5.9-6.3' fill='none' stroke='%2322C7D6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.band-dark a:not(.btn) { color: #8FE6EE; }

/* Network */
.network { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.network-item { display: grid; grid-template-rows: auto auto 1fr auto; gap: 14px; padding: 30px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.network-item img { height: 40px; width: auto; }
.network-item p { color: var(--ink-2); }
.network-item ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.network-item li { padding: 11px 0; border-bottom: 1px solid var(--line-2); font-size: .96rem; color: var(--ink-2); display: flex; justify-content: space-between; gap: 16px; }
.network-item li b { color: var(--ink); font-weight: 600; text-align: right; }
.network-item li b.num { white-space: nowrap; }
.network-item .text-link { justify-self: start; }

/* CTA */
.cta { padding: 96px 0; background: var(--pale); border-top: 1px solid var(--line-2); }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 40px; align-items: center; }
.cta h2 { max-width: 16em; }
.cta p { margin-top: 14px; color: var(--ink-2); max-width: 38em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Page header (inner pages) */
.page-head { padding: 72px 0 72px; background: linear-gradient(180deg, #fff 0%, var(--pale) 100%); border-bottom: 1px solid var(--line-2); position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(34, 199, 214, .16), transparent 62%); pointer-events: none; }
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { font-size: clamp(2.3rem, 4.4vw, 3.6rem); max-width: 15em; }
.page-head .lede { max-width: 38em; }
.page-head-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; align-items: end; }
.page-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.page-index li { border-bottom: 1px solid var(--line); }
.page-index a { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; text-decoration: none; color: var(--ink); font-weight: 500; }
.page-index a span { color: var(--slate); font-weight: 400; font-size: .92rem; }
.page-index a:hover { color: var(--teal); }

/* Pathway detail blocks */
.pathway { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; padding: 96px 0; border-bottom: 1px solid var(--line); }
.pathway:last-of-type { border-bottom: 0; }
.pathway > div:first-child { position: sticky; top: 110px; align-self: start; }
.pathway-id { font: 800 clamp(3.4rem, 7vw, 5.6rem)/0.9 var(--display); letter-spacing: -.05em; color: var(--teal); }
.pathway-id.alt { color: var(--ink); }
.pathway h2 { margin-top: 18px; max-width: 12em; }
.pathway .lede { font-size: 1.1rem; }
.pathway dl, .pathway-dl { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.pathway dl div, .pathway-dl div { display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr); gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.pathway dt, .pathway-dl dt { font-weight: 600; color: var(--ink); }
.pathway dd, .pathway-dl dd { margin: 0; color: var(--ink-2); }

/* Facts list (inline, not tiles) */
.facts-line { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); margin-top: 48px; }
.facts-line div { padding: 22px 24px 4px 0; }
.facts-line div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.facts-line b { display: block; font: 700 1.6rem/1.1 var(--display); letter-spacing: -.02em; color: var(--ink); }
.facts-line span { display: block; margin-top: 8px; color: var(--ink-2); font-size: .96rem; }

/* Grid of short definitions */
.defs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.defs > div { padding: 28px 28px 30px 0; border-bottom: 1px solid var(--line); }
.defs > div:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.defs h3 { font-size: 1.08rem; }
.defs p { margin-top: 10px; color: var(--ink-2); font-size: .98rem; }
.defs-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.defs-2 > div:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
.defs-2 > div:nth-child(2n) { padding-left: 28px; border-left: 1px solid var(--line); }

/* Traceability chain */
.chain { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; counter-reset: link; }
.chain li { counter-increment: link; position: relative; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 14px 18px; }
.chain li::before { content: counter(link); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--aqua-soft); color: var(--teal-deep); font: 700 .78rem/1 var(--display); margin-bottom: 12px; }
.chain li::after { content: ""; position: absolute; right: -10px; top: 27px; width: 10px; height: 2px; background: var(--teal); }
.chain li:last-child::after { display: none; }
.chain b { display: block; font: 600 .95rem/1.25 var(--display); }
.chain span { display: block; margin-top: 6px; font-size: .84rem; color: var(--slate); line-height: 1.4; }
.chain code { font: 600 .78rem/1 var(--body); color: var(--teal-deep); background: var(--pale); border-radius: 4px; padding: 3px 5px; display: inline-block; margin-top: 10px; }

/* Supplement spec sheet */
.sheet { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow); overflow: hidden; font-variant-numeric: tabular-nums; }
.sheet-head { padding: 20px 22px; display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line-2); background: linear-gradient(120deg, #F3FBFC, #fff); }
.sheet-head h4 { font-size: 1.08rem; }
.sheet-head p { font-size: .82rem; color: var(--slate); margin-top: 3px; }
.sheet-status { align-self: start; font-size: .76rem; font-weight: 700; color: var(--teal-deep); background: var(--aqua-soft); border-radius: 6px; padding: 6px 9px; white-space: nowrap; }
.sheet table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.sheet th, .sheet td { text-align: left; padding: 10px 22px; border-bottom: 1px solid var(--line-2); }
.sheet thead th { font-size: .76rem; color: var(--slate); font-weight: 600; background: #FAFDFD; }
.sheet td:last-child, .sheet th:last-child { text-align: right; }
.sheet-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sheet-grid div { padding: 12px 22px; border-right: 1px solid var(--line-2); }
.sheet-grid div:last-child { border-right: 0; }
.sheet-grid dt { font-size: .72rem; color: var(--slate); }
.sheet-grid dd { margin: 3px 0 0; font-size: .88rem; font-weight: 600; }

/* Forms */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); gap: 64px; align-items: start; padding: 72px 0 112px; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px; box-shadow: var(--shadow-soft); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field label, .field legend { font-weight: 600; font-size: .95rem; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--slate); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--body); color: var(--ink);
  padding: 13px 14px; border-radius: 10px; border: 1.5px solid #CADBE0; background: #fff;
  transition: border-color .15s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(34, 199, 214, .28); }
.field [aria-invalid="true"] { border-color: var(--bad); }
.field-hint { font-size: .85rem; color: var(--slate); }
fieldset.field { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.choice { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border: 1.5px solid #CADBE0; border-radius: 10px; cursor: pointer; font-size: .96rem; }
.choice input { width: 18px; height: 18px; accent-color: var(--teal); margin: 0; flex: none; }
.choice:has(input:checked) { border-color: var(--teal); background: var(--pale); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { display: none; margin: 0 0 18px; padding: 12px 14px; border-radius: 10px; background: #FBEDEF; color: var(--bad); font-weight: 600; font-size: .95rem; }
.form-error.on { display: block; }
.form-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 8px; }
.form-actions p { color: var(--slate); font-size: .88rem; }
.form-done { display: none; text-align: left; }
.form-done.on { display: block; }
.form-done h2 { font-size: 1.8rem; }
.form-done p { margin-top: 12px; color: var(--ink-2); }
.form-done-mark { width: 52px; height: 52px; border-radius: 50%; background: var(--aqua-soft); display: grid; place-items: center; margin-bottom: 20px; }
.aside h2 { font-size: 1.4rem; }
.aside .steps { --n: 1; border-top: 0; }
.aside .steps li { padding: 0 0 22px 48px; }
.aside .steps li::before { position: absolute; left: 0; top: 0; margin: 0; }
.aside .steps li::after { left: 15px; top: 38px; bottom: 4px; right: auto; width: 1.5px; height: auto; background: repeating-linear-gradient(180deg, var(--line) 0 6px, transparent 6px 11px); display: block; }
.aside .steps li:last-child::after { display: none; }
.aside-box { margin-top: 28px; padding: 22px; border-radius: var(--r-md); background: var(--pale); border: 1px solid var(--line-2); }
.aside-box p { color: var(--ink-2); font-size: .95rem; }
.aside-box p + p { margin-top: 10px; }

/* Prose (privacy) */
.prose { max-width: 46em; padding: 64px 0 112px; }
.prose h2 { font-size: 1.45rem; margin-top: 44px; }
.prose p, .prose li { color: var(--ink-2); }
.prose p { margin-top: 14px; }
.prose ul { margin: 14px 0 0; padding-left: 1.2em; }
.prose li { margin-top: 8px; }

/* 404 */
.notfound { padding: 120px 0 140px; }
.notfound .rx-label { margin: 0 0 40px; max-width: 420px; }

/* Footer */
.foot { background: var(--pale); padding: 56px 0 40px; color: var(--ink-2); font-size: .95rem; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 48px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.foot-brand img { height: 40px; width: auto; }
.foot-brand a { font-weight: 600; }
.foot-brand p { margin-top: 14px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.foot-cols h2 { font: 600 .95rem/1.3 var(--display); color: var(--ink); margin-bottom: 12px; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-cols a { color: var(--ink-2); text-decoration: none; }
.foot-cols a:hover { color: var(--teal); text-decoration: underline; }
.foot-reg { margin-top: 28px; font-size: .86rem; line-height: 1.6; color: var(--slate); max-width: 72em; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 24px; font-size: .88rem; color: var(--slate); }
.foot-bottom a { color: var(--slate); }

/* Responsive */
@media (max-width: 1080px) {
  .hero-grid, .split, .pathway, .page-head-grid { grid-template-columns: 1fr; gap: 48px; }
  .pathway > div:first-child { position: static; }
  .split-rev > :first-child { order: 0; }
  .hero h1 { max-width: 14em; }
  .rx-stage { min-height: 0; }
  .chain { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .chain li:nth-child(3)::after { display: none; }
  .cta-inner { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu { position: absolute; top: 78px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(10, 30, 70, .3); display: none; }
  .nav.open .nav-menu { display: block; }
  .nav-menu ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; }
  .nav-menu li { border-bottom: 1px solid var(--line-2); }
  .nav-menu li:last-child { border-bottom: 0; padding-top: 14px; }
  .nav-menu a:not(.btn) { display: block; padding: 14px 4px; border-bottom: 0; }
  .nav-menu .btn { width: 100%; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(2n)::after { display: none; }
  .defs, .defs-2 { grid-template-columns: 1fr; }
  .defs > div, .defs-2 > div { padding: 24px 0 !important; border-left: 0 !important; }
  .network { grid-template-columns: 1fr; }
  .formulary-head { display: none; }
  .section-head-row { flex-direction: column; align-items: flex-start; }
  .formulary-row { grid-template-columns: 1fr; gap: 12px; }
  .formulary-path { justify-content: flex-start; }
  .foot-top { grid-template-columns: 1fr; }
  .facts-line { grid-template-columns: 1fr; }
  .facts-line div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 620px) {
  body { font-size: 1rem; }
  .section, .band-dark { padding: 80px 0; }
  .hero { padding: 32px 0 72px; }
  .brand img { height: 36px; }
  .rx-switch { display: grid; width: 100%; }
  .rx-hint { display: block; margin: 0 0 14px; }
  .rx-stage { padding: 22px 16px 22px; }
  .rx-art { width: 104px; height: 146px; right: 10px; top: -14px; }
  .rx-label { margin-top: 64px; }
  .rx-label-in { padding: 16px 16px 16px 24px; }
  .rx-perf { margin: 13px -16px 13px -24px; }
  .rx-fields { grid-template-columns: 1fr 1fr; gap: 10px 12px; }
  .rx-foot { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li::after { display: none; }
  .chain { grid-template-columns: 1fr 1fr; }
  .chain li::after { display: none; }
  .pathway { padding: 64px 0; }
  .pathway dl div, .pathway-dl div { grid-template-columns: 1fr; gap: 4px; }
  .form { padding: 24px 18px; }
  .form-row, .choices { grid-template-columns: 1fr; }
  .form-row { gap: 0; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .coa-meta div, .sheet-grid div { padding: 10px 12px; }
  .coa th, .coa td, .sheet th, .sheet td { padding: 9px 14px; }
  .mock-body { padding: 16px; }
  .mock-meta { grid-template-columns: 1fr; }
  .mock-track { gap: 4px; }
  .mock-track span { font-size: .6rem; }
  .spec, .spec tbody, .spec tr, .spec th, .spec td { display: block; width: 100%; }
  .spec thead { display: none; }
  .spec tbody tr { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
  .spec tbody tr:last-child { border-bottom: 0; }
  .spec tbody th { grid-column: 1 / -1; width: auto; padding: 14px 16px 6px; border-bottom: 0; background: #FBFEFE; }
  .spec td { padding: 6px 16px 16px; font-size: .92rem; border-bottom: 0; background: #FBFEFE; }
  .spec td + td { border-left: 1px solid var(--line-2); }
  .spec td[data-col]::before { content: attr(data-col); display: block; font: 700 .78rem/1.2 var(--display); color: var(--teal); margin-bottom: 4px; }
  .network-item { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}

/* Small additions */
.rx-controls { display: flex; align-items: center; flex-wrap: wrap; }
.rx-sample { position: relative; z-index: 1; margin-top: 14px; font-size: .8rem; color: var(--slate); }
.cta-white { background: var(--white); }
.more { margin-top: 28px; }

.defs-tight { margin-top: 36px; }
.aside .steps { margin-top: 24px; }
.steps-3 { --n: 3; row-gap: 12px; }
.steps-3 li:nth-child(3n)::after { display: none; }
@media (max-width: 900px) {
  .steps-3 li:nth-child(3n)::after { display: block; }
  .steps-3 li:nth-child(2n)::after { display: none; }
}
@media (max-width: 620px) {
  .steps-3 li::after { display: none !important; }
  .spec-3 tbody tr { grid-template-columns: 1fr; }
  .spec-3 td + td { border-left: 0; border-top: 1px solid var(--line-2); padding-top: 12px; }
}
