:root {
  --ink: #122625;
  --ink-soft: #49615f;
  --ink-faint: #6f817f;
  --paper: #f6f4ef;
  --paper-deep: #ece9e0;
  --surface: #fffefb;
  --surface-soft: #eef5f3;
  --teal: #0c5a56;
  --teal-bright: #187873;
  --teal-deep: #073c39;
  --aqua: #bde1dc;
  --aqua-soft: #e1f1ee;
  --amber: #bd7826;
  --amber-soft: #f7e8d0;
  --red: #9a3e35;
  --red-soft: #f8e4e0;
  --line: #d9ded9;
  --line-strong: #b9c6c2;
  --shadow-sm: 0 4px 18px rgba(20, 50, 47, .07);
  --shadow-md: 0 18px 55px rgba(13, 48, 45, .11);
  --shadow-lg: 0 35px 90px rgba(13, 48, 45, .17);
  --radius-sm: .75rem;
  --radius: 1.2rem;
  --radius-lg: 1.8rem;
  --radius-xl: 2.5rem;
  --shell: 75rem;
  --shell-narrow: 54rem;
  --header-height: 5.1rem;
  --serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 1.5rem); max-width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  max-width: 100%;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: rgba(12, 90, 86, .35); text-underline-offset: .18em; }
a:hover { text-decoration-color: currentColor; }
button, input, select { font: inherit; }
button { color: inherit; }
::selection { background: var(--aqua); color: var(--teal-deep); }

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  padding: .65rem 1rem;
  border-radius: .5rem;
  background: var(--ink);
  color: white;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid #e4a24d; outline-offset: 3px; }

.shell { width: min(calc(100% - 2.2rem), var(--shell)); margin-inline: auto; }
.shell--narrow { width: min(calc(100% - 2.2rem), var(--shell-narrow)); margin-inline: auto; }
.section { padding: clamp(4rem, 7vw, 7rem) 0; }
.section--tight { padding: clamp(2.8rem, 5vw, 4.5rem) 0; }
.section--surface { background: var(--surface); border-block: 1px solid var(--line); }
.section--dark { background: var(--teal-deep); color: white; }
.section--soft { background: var(--surface-soft); }

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 100;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(185, 198, 194, .55);
  background: rgba(246, 244, 239, .9);
  backdrop-filter: blur(16px) saturate(140%);
  transition: box-shadow .2s ease, background .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(13, 48, 45, .08); background: rgba(255, 254, 251, .94); }
.site-header__inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .72rem; color: var(--teal-deep); text-decoration: none; }
.brand__mark { width: 2.7rem; height: 2.7rem; color: var(--teal); flex: 0 0 auto; }
.brand__text { display: grid; line-height: 1.1; gap: .23rem; }
.brand__text strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; }
.brand__text small { color: var(--ink-soft); font-size: .68rem; letter-spacing: .015em; white-space: nowrap; }
.primary-nav { display: flex; align-items: center; gap: .35rem; }
.primary-nav a {
  position: relative;
  padding: .72rem .85rem;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: .91rem;
  font-weight: 650;
  text-decoration: none;
}
.primary-nav a:hover { color: var(--teal-deep); background: rgba(225, 241, 238, .7); }
.primary-nav a[aria-current="page"] { color: var(--teal-deep); background: var(--aqua-soft); }
.menu-button {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid var(--line-strong);
  border-radius: .8rem;
  background: var(--surface);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.menu-button svg { width: 1.45rem; height: 1.45rem; }

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 8.5rem) 0 clamp(4rem, 7vw, 7rem);
  background:
    radial-gradient(circle at 82% 16%, rgba(189, 225, 220, .85), transparent 30rem),
    radial-gradient(circle at 15% 80%, rgba(247, 232, 208, .7), transparent 26rem),
    linear-gradient(135deg, #f9f8f4, #edf4f1 65%, #e7efed);
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  width: 28rem;
  height: 28rem;
  border: 1px solid rgba(12, 90, 86, .13);
  border-radius: 50%;
  right: -8rem;
  top: -12rem;
  box-shadow: 0 0 0 5rem rgba(12, 90, 86, .025), 0 0 0 10rem rgba(12, 90, 86, .018);
}
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(20rem, .75fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.hero__copy { max-width: 45rem; }
.eyebrow, .section-heading__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: .9rem;
  color: var(--teal);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.2;
  text-transform: uppercase;
}
.hero h1, .page-hero h1 {
  max-width: 14ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 6.4rem);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: .96;
}
.hero h1 em { color: var(--teal); font-style: normal; }
.hero__lead {
  max-width: 42rem;
  margin: 1.6rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  line-height: 1.55;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 1rem 1.4rem; margin-top: 2rem; color: var(--ink-soft); font-size: .86rem; }
.hero__trust span { display: inline-flex; align-items: center; gap: .42rem; }
.hero__trust svg { width: 1rem; height: 1rem; color: var(--teal); }

.hero-panel {
  position: relative;
  border: 1px solid rgba(12, 90, 86, .16);
  border-radius: var(--radius-xl);
  padding: 1.2rem;
  background: rgba(255, 254, 251, .82);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px);
}
.hero-panel__top { padding: 1.2rem 1.2rem 1.35rem; }
.hero-panel__top span { color: var(--teal); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hero-panel__top h2 { margin: .45rem 0 .4rem; font-family: var(--serif); font-size: 1.8rem; letter-spacing: -.025em; line-height: 1.08; }
.hero-panel__top p { margin: 0; color: var(--ink-soft); font-size: .92rem; }
.hero-panel__list { display: grid; gap: .65rem; }
.hero-panel__item {
  display: grid;
  grid-template-columns: 2.4rem 1fr auto;
  gap: .8rem;
  align-items: center;
  padding: .92rem 1rem;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: var(--surface);
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.hero-panel__item:hover { transform: translateY(-2px); border-color: var(--teal-bright); box-shadow: var(--shadow-sm); }
.hero-panel__item > svg:first-child { width: 1.35rem; color: var(--teal); justify-self: center; }
.hero-panel__item > svg:last-child { width: 1.05rem; color: var(--ink-faint); }
.hero-panel__item strong { display: block; font-size: .92rem; }
.hero-panel__item small { display: block; color: var(--ink-faint); font-size: .76rem; line-height: 1.35; }

.button {
  display: inline-flex;
  min-height: 3.1rem;
  align-items: center;
  justify-content: center;
  gap: .62rem;
  padding: .77rem 1.12rem;
  border: 1px solid transparent;
  border-radius: .85rem;
  font-size: .91rem;
  font-weight: 750;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: transform .17s ease, background .17s ease, box-shadow .17s ease, border-color .17s ease;
}
.button:hover { transform: translateY(-1px); }
.button__icon { width: 1.05rem; height: 1.05rem; }
.button--primary { color: white; background: var(--teal); box-shadow: 0 8px 24px rgba(12, 90, 86, .2); }
.button--primary:hover { background: var(--teal-deep); box-shadow: 0 11px 30px rgba(12, 90, 86, .26); }
.button--secondary { color: var(--teal-deep); border-color: var(--line-strong); background: rgba(255,255,255,.8); }
.button--secondary:hover { border-color: var(--teal); background: white; }
.button--ghost { color: var(--teal); background: transparent; padding-inline: .45rem; }
.button--ghost:hover { background: var(--aqua-soft); }
.button--danger { color: white; background: var(--red); }
.button[disabled], .button[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

.section-heading { max-width: 45rem; margin-bottom: 2.2rem; }
.section-heading--center { margin-inline: auto; text-align: center; }
.section-heading--compact { margin-bottom: 1.4rem; }
.section-heading h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.1rem, 4.5vw, 3.7rem); line-height: 1.04; letter-spacing: -.04em; }
.section-heading p { margin: 1rem 0 0; color: var(--ink-soft); font-size: 1.04rem; }
.section-heading--compact h2 { font-size: clamp(1.75rem, 3vw, 2.45rem); }

.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); overflow: hidden; }
.stat { padding: 1.6rem; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; color: var(--teal-deep); font-family: var(--serif); font-size: 2rem; line-height: 1; }
.stat span { display: block; margin-top: .5rem; color: var(--ink-soft); font-size: .78rem; line-height: 1.35; }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature-card, .path-card, .guide-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.feature-card:hover, .path-card:hover, .guide-card:hover { transform: translateY(-3px); border-color: rgba(12, 90, 86, .45); box-shadow: var(--shadow-md); }
.feature-card__icon, .path-card__icon { display: grid; width: 3rem; height: 3rem; place-items: center; border-radius: 1rem; color: var(--teal); background: var(--aqua-soft); }
.feature-card__icon svg, .path-card__icon svg { width: 1.45rem; height: 1.45rem; }
.feature-card h3, .path-card h3, .guide-card h3 { margin: 1.05rem 0 .55rem; font-family: var(--serif); font-size: 1.55rem; line-height: 1.1; letter-spacing: -.025em; }
.feature-card p, .path-card p, .guide-card p { margin: 0; color: var(--ink-soft); font-size: .91rem; }
.card-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: auto; padding-top: 1.2rem; color: var(--teal); font-size: .84rem; font-weight: 750; }
.card-link svg { width: 1rem; height: 1rem; }
.card-kicker { color: var(--teal); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.guide-card__meta { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .9rem; }

.pill { display: inline-flex; align-items: center; min-height: 1.65rem; padding: .25rem .55rem; border-radius: 999px; background: var(--paper-deep); color: var(--ink-soft); font-size: .68rem; font-weight: 700; line-height: 1; }
.pill--teal { color: var(--teal-deep); background: var(--aqua-soft); }
.pill--amber { color: #76430d; background: var(--amber-soft); }
.pill--outline { border: 1px solid var(--line-strong); background: transparent; }

.callout-band { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(18rem, .65fr); gap: 2rem; align-items: center; border-radius: var(--radius-xl); padding: clamp(2rem, 5vw, 4rem); background: var(--teal-deep); color: white; box-shadow: var(--shadow-lg); overflow: hidden; position: relative; }
.callout-band::after { content: ""; position: absolute; width: 20rem; height: 20rem; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); right: -7rem; bottom: -10rem; box-shadow: 0 0 0 4rem rgba(255,255,255,.025), 0 0 0 8rem rgba(255,255,255,.018); }
.callout-band h2 { margin: 0; max-width: 18ch; font-family: var(--serif); font-size: clamp(2rem, 4.5vw, 3.5rem); line-height: 1.02; letter-spacing: -.04em; }
.callout-band p { margin: 1rem 0 0; max-width: 44rem; color: rgba(255,255,255,.76); }
.callout-band__actions { position: relative; z-index: 1; display: flex; flex-direction: column; gap: .7rem; align-items: stretch; }
.callout-band .button--primary { color: var(--teal-deep); background: white; }
.callout-band .button--secondary { color: white; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.08); }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .85rem; counter-reset: step; }
.process-card { position: relative; padding: 1.45rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); counter-increment: step; }
.process-card::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: 1rem; color: var(--teal); font-family: var(--serif); font-size: 1.6rem; }
.process-card h3 { margin: 0 0 .45rem; font-size: .98rem; }
.process-card p { margin: 0; color: var(--ink-soft); font-size: .82rem; }

.page-hero { padding: clamp(3.2rem, 7vw, 6.2rem) 0; border-bottom: 1px solid var(--line); background: linear-gradient(145deg, #faf9f6, #eaf2f0); }
.page-hero--article { padding-bottom: clamp(2.8rem, 5vw, 4.2rem); }
.page-hero h1 { max-width: 18ch; font-size: clamp(2.65rem, 5.5vw, 4.9rem); }
.page-hero__deck { max-width: 47rem; margin: 1.25rem 0 0; color: var(--ink-soft); font-size: clamp(1.05rem, 1.9vw, 1.23rem); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .42rem; align-items: center; margin-bottom: 1.5rem; color: var(--ink-faint); font-size: .76rem; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb__separator { opacity: .55; }
.evidence-stamp { display: inline-flex; max-width: 38rem; align-items: center; gap: .75rem; margin-top: 1.5rem; border: 1px solid rgba(12, 90, 86, .17); border-radius: .9rem; padding: .7rem .85rem; background: rgba(255,255,255,.62); color: var(--ink-soft); font-size: .76rem; line-height: 1.35; }
.evidence-stamp__icon { display: grid; width: 2rem; height: 2rem; flex: 0 0 auto; place-items: center; border-radius: .6rem; color: var(--teal); background: var(--aqua-soft); }
.evidence-stamp__icon svg { width: 1.1rem; height: 1.1rem; }
.evidence-stamp strong, .evidence-stamp span span { display: block; }

.article-layout { display: grid; grid-template-columns: 13rem minmax(0, 46rem); gap: 3.2rem; justify-content: center; padding-block: clamp(3rem, 6vw, 6rem); }
.article-toc { position: sticky; top: calc(var(--header-height) + 1.5rem); align-self: start; display: grid; gap: .4rem; padding-right: 1rem; }
.article-toc > span { margin-bottom: .45rem; color: var(--ink); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.article-toc a { padding: .35rem 0; color: var(--ink-soft); font-size: .76rem; line-height: 1.35; text-decoration: none; }
.article-toc a:hover { color: var(--teal); }
.prose { min-width: 0; }
.prose p { color: var(--ink-soft); }
.prose a { color: var(--teal); }
.article-intro { margin-bottom: 2.5rem; border-left: 3px solid var(--teal); padding-left: 1.3rem; }
.article-intro p:first-child { margin-top: 0; color: var(--ink); font-size: 1.12rem; }
.article-section { padding: 1.7rem 0; border-top: 1px solid var(--line); }
.article-section h2 { margin: 0 0 1rem; font-family: var(--serif); font-size: clamp(1.65rem, 3vw, 2.25rem); line-height: 1.12; letter-spacing: -.03em; }
.article-section p { margin: .85rem 0; }
.check-list { display: grid; gap: .7rem; margin: 1rem 0; padding: 0; list-style: none; }
.check-list li { display: grid; grid-template-columns: 1.25rem 1fr; gap: .7rem; align-items: start; color: var(--ink-soft); }
.check-list svg { width: 1.15rem; height: 1.15rem; margin-top: .22rem; color: var(--teal); }
.bottom-line { display: grid; grid-template-columns: 3.2rem 1fr; gap: 1rem; margin: 2rem 0; border: 1px solid rgba(12, 90, 86, .2); border-radius: var(--radius-lg); padding: 1.5rem; background: var(--aqua-soft); }
.bottom-line > span { display: grid; width: 3.2rem; height: 3.2rem; place-items: center; border-radius: 1rem; color: white; background: var(--teal); }
.bottom-line > span svg { width: 1.5rem; height: 1.5rem; }
.bottom-line h2 { margin: 0; font-family: var(--serif); font-size: 1.45rem; }
.bottom-line p { margin: .35rem 0 0; color: var(--ink-soft); }
.related-guides { margin: 2.6rem 0; }
.related-guides h2 { font-family: var(--serif); font-size: 1.8rem; }
.related-guides__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.related-guides a { display: flex; align-items: center; justify-content: space-between; gap: .8rem; border: 1px solid var(--line); border-radius: .9rem; padding: .85rem; color: var(--ink); background: var(--surface); font-size: .78rem; font-weight: 700; text-decoration: none; }
.related-guides a:hover { border-color: var(--teal); }
.related-guides svg { width: .95rem; height: .95rem; color: var(--teal); flex: 0 0 auto; }
.references { margin-top: 3.2rem; padding-top: 2.5rem; border-top: 2px solid var(--ink); }
.reference-list { display: grid; gap: .8rem; padding-left: 1.3rem; }
.reference-list li { padding-left: .45rem; color: var(--ink-faint); }
.reference-list a { display: inline; color: var(--ink); font-weight: 700; line-height: 1.35; }
.reference-list span { display: block; margin-top: .22rem; color: var(--ink-faint); font-size: .72rem; }
.external-icon { display: inline; width: .8rem; height: .8rem; vertical-align: -.08em; }

/* Treatment explorer */
.explorer-shell { padding: 2.3rem 0 7rem; }
.explorer-intro { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: end; margin-bottom: 1.5rem; }
.explorer-intro p { max-width: 48rem; margin: 0; color: var(--ink-soft); }
.filter-panel { position: sticky; top: var(--header-height); z-index: 30; margin-bottom: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem; background: rgba(255, 254, 251, .94); box-shadow: var(--shadow-sm); backdrop-filter: blur(12px); }
.filter-panel__row { display: grid; grid-template-columns: minmax(12rem, 1fr) repeat(2, minmax(9rem, .45fr)) auto; gap: .7rem; align-items: end; }
.input-group { display: grid; gap: .3rem; }
.input-group label { color: var(--ink-soft); font-size: .67rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.input-group input, .input-group select {
  width: 100%;
  min-height: 2.7rem;
  border: 1px solid var(--line-strong);
  border-radius: .7rem;
  padding: .55rem .72rem;
  color: var(--ink);
  background: white;
}
.search-input { position: relative; }
.search-input svg { position: absolute; left: .72rem; top: 50%; width: 1rem; height: 1rem; color: var(--ink-faint); transform: translateY(-50%); pointer-events: none; }
.search-input input { padding-left: 2.2rem; }
.filter-count { margin-top: .7rem; color: var(--ink-faint); font-size: .73rem; }
.treatment-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.treatment-card { position: relative; display: flex; min-width: 0; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.35rem; background: var(--surface); box-shadow: var(--shadow-sm); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.treatment-card:hover { transform: translateY(-2px); border-color: rgba(12, 90, 86, .4); box-shadow: var(--shadow-md); }
.treatment-card.is-selected { border-color: var(--teal); box-shadow: 0 0 0 2px rgba(12, 90, 86, .12), var(--shadow-md); }
.treatment-card[hidden] { display: none; }
.treatment-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: .7rem; }
.treatment-card__family { color: var(--teal); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.treatment-card h2 { margin: .55rem 0 .55rem; font-family: var(--serif); font-size: 1.55rem; line-height: 1.06; letter-spacing: -.025em; }
.treatment-card__summary { margin: 0 0 1rem; color: var(--ink-soft); font-size: .84rem; }
.treatment-card__facts { display: grid; gap: .55rem; margin-top: auto; }
.treatment-card__fact { display: grid; grid-template-columns: 5.4rem 1fr; gap: .65rem; padding-top: .55rem; border-top: 1px solid var(--line); font-size: .72rem; line-height: 1.35; }
.treatment-card__fact span:first-child { color: var(--ink-faint); font-weight: 700; }
.treatment-card__actions { display: grid; grid-template-columns: 1fr auto; gap: .55rem; margin-top: 1rem; }
.compare-toggle { display: inline-flex; min-height: 2.55rem; align-items: center; justify-content: center; gap: .45rem; border: 1px solid var(--line-strong); border-radius: .7rem; padding: .55rem .75rem; color: var(--teal-deep); background: white; font-size: .75rem; font-weight: 750; cursor: pointer; }
.compare-toggle:hover { border-color: var(--teal); }
.compare-toggle svg { width: 1rem; height: 1rem; flex: 0 0 auto; }
.compare-toggle[aria-pressed="true"] { color: white; border-color: var(--teal); background: var(--teal); }
.treatment-card__actions .button { min-height: 2.55rem; padding: .55rem .7rem; font-size: .75rem; }

.compare-tray { position: fixed; z-index: 80; left: 50%; bottom: 1rem; width: min(calc(100% - 2rem), 70rem); border: 1px solid rgba(255,255,255,.25); border-radius: 1.2rem; padding: .9rem; color: white; background: rgba(7, 60, 57, .96); box-shadow: var(--shadow-lg); transform: translate(-50%, calc(100% + 2rem)); opacity: 0; pointer-events: none; transition: transform .25s ease, opacity .25s ease; backdrop-filter: blur(14px); }
.compare-tray.is-visible { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.compare-tray__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: center; }
.compare-tray__selected { display: flex; min-width: 0; flex-wrap: wrap; gap: .4rem; }
.compare-chip { display: inline-flex; align-items: center; gap: .4rem; max-width: 13rem; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: .35rem .55rem; background: rgba(255,255,255,.09); font-size: .7rem; line-height: 1.15; }
.compare-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.compare-chip button { border: 0; padding: 0; color: white; background: transparent; cursor: pointer; }
.compare-chip svg { width: .8rem; height: .8rem; }
.compare-tray__actions { display: flex; gap: .5rem; }
.compare-tray .button { min-height: 2.55rem; }
.compare-tray .button--primary { color: var(--teal-deep); background: white; }
.compare-tray .button--secondary { color: white; border-color: rgba(255,255,255,.35); background: transparent; }

.compare-dialog { width: min(calc(100% - 2rem), 76rem); max-height: calc(100vh - 2rem); border: 0; border-radius: var(--radius-lg); padding: 0; background: var(--paper); box-shadow: var(--shadow-lg); }
.compare-dialog::backdrop { background: rgba(6, 29, 28, .72); backdrop-filter: blur(4px); }
.compare-dialog__header { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding: 1.1rem 1.25rem; background: rgba(246,244,239,.96); }
.compare-dialog__header h2 { margin: 0; font-family: var(--serif); font-size: 1.7rem; }
.icon-button { display: grid; width: 2.6rem; height: 2.6rem; flex: 0 0 auto; place-items: center; border: 1px solid var(--line-strong); border-radius: .75rem; background: var(--surface); cursor: pointer; }
.icon-button svg { width: 1.15rem; height: 1.15rem; }
.compare-dialog__body { padding: 1.25rem; overflow: auto; }
.comparison-table { width: 100%; border-collapse: separate; border-spacing: .55rem; table-layout: fixed; }
.comparison-table th, .comparison-table td { min-width: 12rem; border: 1px solid var(--line); border-radius: .8rem; padding: .8rem; text-align: left; vertical-align: top; background: var(--surface); font-size: .74rem; line-height: 1.4; overflow-wrap: anywhere; }
.comparison-table thead th { color: var(--teal-deep); font-family: var(--serif); font-size: 1.05rem; }
.comparison-table th:first-child { width: 9.5rem; min-width: 9.5rem; color: var(--ink-faint); font-family: var(--sans); font-size: .68rem; letter-spacing: .05em; text-transform: uppercase; background: transparent; border-color: transparent; }
.comparison-table tbody th { color: var(--ink-soft); font-weight: 800; background: var(--paper-deep); }
.compare-dialog__footer { display: flex; justify-content: space-between; gap: .7rem; border-top: 1px solid var(--line); padding: 1rem 1.25rem; background: var(--surface); }
.empty-state { grid-column: 1 / -1; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); padding: 3rem; text-align: center; color: var(--ink-soft); }

/* Navigator */
.navigator-wrap { padding: 2.6rem 0 7rem; }
.navigator-shell { display: grid; grid-template-columns: 13rem minmax(0, 47rem); gap: 2.5rem; justify-content: center; align-items: start; }
.navigator-sidebar { position: sticky; top: calc(var(--header-height) + 1.5rem); }
.navigator-progress { display: grid; gap: .65rem; }
.progress-step { display: grid; grid-template-columns: 1.75rem 1fr; gap: .65rem; align-items: center; color: var(--ink-faint); font-size: .72rem; line-height: 1.25; }
.progress-step__number { display: grid; width: 1.75rem; height: 1.75rem; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; font-size: .65rem; font-weight: 800; background: var(--surface); }
.progress-step.is-active { color: var(--teal-deep); font-weight: 750; }
.progress-step.is-active .progress-step__number { color: white; border-color: var(--teal); background: var(--teal); }
.progress-step.is-complete .progress-step__number { color: var(--teal); border-color: var(--teal); background: var(--aqua-soft); }
.privacy-note { margin-top: 1.5rem; border: 1px solid var(--line); border-radius: .9rem; padding: .85rem; color: var(--ink-soft); background: var(--surface); font-size: .7rem; line-height: 1.45; }
.privacy-note svg { display: inline; width: .9rem; height: .9rem; margin-right: .25rem; color: var(--teal); vertical-align: -.12em; }
.navigator-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.35rem, 4vw, 2.4rem); background: var(--surface); box-shadow: var(--shadow-md); }
.navigator-step[hidden] { display: none; }
.navigator-step__kicker { color: var(--teal); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.navigator-step h2 { margin: .6rem 0 .7rem; font-family: var(--serif); font-size: clamp(1.9rem, 4vw, 2.75rem); line-height: 1.06; letter-spacing: -.035em; }
.navigator-step > p { margin: 0 0 1.5rem; color: var(--ink-soft); }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.choice-grid--single { grid-template-columns: 1fr; }
.choice { position: relative; display: flex; min-height: 5.2rem; align-items: flex-start; gap: .8rem; border: 1px solid var(--line-strong); border-radius: 1rem; padding: 1rem; background: white; cursor: pointer; transition: border-color .15s ease, background .15s ease, box-shadow .15s ease; }
.choice:hover { border-color: var(--teal-bright); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice__marker { display: grid; width: 1.3rem; height: 1.3rem; flex: 0 0 auto; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; margin-top: .1rem; }
.choice--check .choice__marker { border-radius: .35rem; }
.choice__marker::after { content: ""; width: .55rem; height: .55rem; border-radius: inherit; background: transparent; }
.choice:has(input:checked) { border-color: var(--teal); background: var(--aqua-soft); box-shadow: 0 0 0 2px rgba(12, 90, 86, .08); }
.choice:has(input:checked) .choice__marker { border-color: var(--teal); }
.choice:has(input:checked) .choice__marker::after { background: var(--teal); }
.choice strong { display: block; font-size: .88rem; line-height: 1.25; }
.choice small { display: block; margin-top: .25rem; color: var(--ink-soft); font-size: .72rem; line-height: 1.4; }
.navigator-actions { display: flex; justify-content: space-between; gap: .7rem; margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.navigator-actions__right { display: flex; gap: .6rem; margin-left: auto; }
.navigator-error { min-height: 1.3rem; margin: .75rem 0 0; color: var(--red); font-size: .75rem; font-weight: 650; }
.alert-box { display: grid; grid-template-columns: 2.8rem 1fr; gap: .9rem; border: 1px solid #e8b9b2; border-radius: 1rem; padding: 1.1rem; background: var(--red-soft); }
.alert-box > svg { width: 1.45rem; height: 1.45rem; margin: .25rem auto 0; color: var(--red); }
.alert-box h3 { margin: 0; font-size: .95rem; }
.alert-box p { margin: .35rem 0 0; color: #713a35; font-size: .79rem; }
.result-header { margin-bottom: 1.5rem; }
.result-header h2 { margin-bottom: .8rem; }
.result-header p { color: var(--ink-soft); }
.result-grid { display: grid; gap: .85rem; }
.result-lane { border: 1px solid var(--line); border-radius: 1rem; padding: 1.15rem; background: white; }
.result-lane__top { display: flex; justify-content: space-between; gap: .7rem; align-items: flex-start; }
.result-lane h3 { margin: 0; font-family: var(--serif); font-size: 1.35rem; line-height: 1.08; }
.result-lane__family { color: var(--teal); font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.result-lane p { margin: .55rem 0 0; color: var(--ink-soft); font-size: .8rem; }
.result-lane ul { margin: .75rem 0 0; padding-left: 1.15rem; color: var(--ink-soft); font-size: .75rem; }
.result-lane__link { display: inline-flex; align-items: center; gap: .4rem; margin-top: .8rem; color: var(--teal); font-size: .75rem; font-weight: 750; text-decoration: none; }
.result-lane__link svg { width: .9rem; height: .9rem; }
.missing-info { margin: 1rem 0; border: 1px solid #e5d0a6; border-radius: 1rem; padding: 1.05rem; background: #fbf2df; }
.missing-info h3 { margin: 0; font-size: .9rem; }
.missing-info ul { margin: .55rem 0 0; padding-left: 1.1rem; color: #6d5125; font-size: .75rem; }
.result-disclaimer { margin-top: 1rem; color: var(--ink-faint); font-size: .7rem; }

/* Provider zero-state */
.provider-zero { display: grid; grid-template-columns: 1fr .85fr; gap: 2rem; align-items: start; }
.provider-zero__main, .provider-zero__aside { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 4vw, 2.2rem); background: var(--surface); box-shadow: var(--shadow-sm); }
.provider-zero h2 { margin: 0; font-family: var(--serif); font-size: 2rem; }
.provider-zero p { color: var(--ink-soft); }
.verification-stack { display: grid; gap: .65rem; margin-top: 1.4rem; }
.verification-row { display: grid; grid-template-columns: 2rem 1fr; gap: .75rem; align-items: start; }
.verification-row__index { display: grid; width: 2rem; height: 2rem; place-items: center; border-radius: .65rem; color: var(--teal); background: var(--aqua-soft); font-size: .7rem; font-weight: 800; }
.verification-row strong { display: block; font-size: .82rem; }
.verification-row span { display: block; color: var(--ink-soft); font-size: .72rem; }
.capability-list { display: grid; gap: .55rem; padding: 0; list-style: none; }
.capability-list li { display: flex; gap: .5rem; align-items: flex-start; color: var(--ink-soft); font-size: .77rem; }
.capability-list svg { width: 1rem; height: 1rem; margin-top: .15rem; color: var(--teal); flex: 0 0 auto; }

/* Source library and trust pages */
.source-library { display: grid; gap: .85rem; }
.source-card { display: grid; grid-template-columns: 10rem 1fr auto; gap: 1rem; align-items: start; border: 1px solid var(--line); border-radius: 1rem; padding: 1rem; background: var(--surface); }
.source-card__type { color: var(--teal); font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.source-card h2 { margin: 0; font-size: .92rem; line-height: 1.35; }
.source-card p { margin: .25rem 0 0; color: var(--ink-faint); font-size: .7rem; }
.source-card .button { min-height: 2.3rem; padding: .45rem .65rem; font-size: .7rem; }
.policy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.policy-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; background: var(--surface); }
.policy-card h2 { margin: 0 0 .65rem; font-family: var(--serif); font-size: 1.5rem; }
.policy-card p, .policy-card li { color: var(--ink-soft); font-size: .82rem; }
.policy-card ul { margin: .65rem 0 0; padding-left: 1.15rem; }

.notice { display: grid; grid-template-columns: 2rem 1fr; gap: .8rem; border: 1px solid #e5d0a6; border-radius: 1rem; padding: 1rem; background: #fbf2df; }
.notice svg { width: 1.2rem; height: 1.2rem; margin-top: .1rem; color: #976019; }
.notice strong { display: block; }
.notice p { margin: .2rem 0 0; color: #6d5125; font-size: .78rem; }

.site-footer { padding: 4rem 0 1.2rem; color: rgba(255,255,255,.82); background: #0a302e; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr repeat(3, .72fr); gap: 2.3rem; }
.site-footer .brand { color: white; }
.site-footer .brand__text small { color: rgba(255,255,255,.58); }
.site-footer__brand p { max-width: 31rem; color: rgba(255,255,255,.62); font-size: .78rem; }
.site-footer h2 { margin: .25rem 0 .8rem; color: white; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.site-footer__grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; }
.site-footer a:not(.brand) { margin: .2rem 0; color: rgba(255,255,255,.72); font-size: .78rem; text-decoration: none; }
.site-footer a:hover { color: white; }
.site-footer__note { color: rgba(255,255,255,.48); font-size: .67rem; line-height: 1.45; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; border-top: 1px solid rgba(255,255,255,.12); padding-top: 1rem; color: rgba(255,255,255,.48); font-size: .66rem; }

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero-panel { max-width: 43rem; }
  .card-grid, .treatment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-grid, .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .callout-band { grid-template-columns: 1fr; }
  .callout-band__actions { flex-direction: row; }
  .article-layout { grid-template-columns: minmax(0, 46rem); }
  .article-toc { position: static; display: flex; overflow-x: auto; padding: .75rem; border: 1px solid var(--line); border-radius: .85rem; background: var(--surface); }
  .article-toc > span { flex: 0 0 auto; margin: 0 .4rem 0 0; }
  .article-toc a { flex: 0 0 auto; padding: 0 .5rem; }
  .navigator-shell { grid-template-columns: minmax(0, 47rem); }
  .navigator-sidebar { position: static; }
  .navigator-progress { grid-template-columns: repeat(7, 1fr); gap: .3rem; }
  .progress-step { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .progress-step span:last-child { display: none; }
  .privacy-note { margin-top: .8rem; }
  .provider-zero { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1.4fr repeat(2, 1fr); }
  .site-footer__grid > div:last-child { grid-column: 2 / 4; }
}

@media (max-width: 760px) {
  :root { --header-height: 4.4rem; }
  .shell, .shell--narrow { width: min(calc(100% - 1.35rem), var(--shell)); }
  .site-header__inner { min-height: var(--header-height); }
  .brand__mark { width: 2.3rem; height: 2.3rem; }
  .brand__text strong { font-size: 1.12rem; }
  .brand__text small { display: none; }
  .menu-button { display: inline-flex; }
  .primary-nav { position: fixed; inset: var(--header-height) 0 auto 0; display: grid; align-content: start; gap: .25rem; height: calc(100vh - var(--header-height)); padding: 1rem; background: var(--paper); visibility: hidden; clip-path: inset(0 0 0 100%); opacity: 0; pointer-events: none; transition: clip-path .22s ease, opacity .22s ease, visibility 0s linear .22s; }
  .primary-nav.is-open { visibility: visible; clip-path: inset(0); opacity: 1; pointer-events: auto; transition-delay: 0s; }
  .primary-nav a { border: 1px solid var(--line); border-radius: .85rem; padding: 1rem; background: var(--surface); font-size: 1rem; }
  .hero { padding-top: 3.7rem; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.6rem); }
  .hero__lead { font-size: 1rem; }
  .hero__actions, .callout-band__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .button, .callout-band .button { width: 100%; }
  .hero__trust { display: grid; gap: .55rem; }
  .hero-panel { padding: .75rem; border-radius: 1.7rem; }
  .hero-panel__top { padding: 1rem; }
  .stat-strip, .card-grid, .card-grid--2, .treatment-grid, .process-grid, .policy-grid { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .page-hero { padding: 2.8rem 0; }
  .page-hero h1 { font-size: clamp(2.55rem, 12vw, 3.8rem); }
  .article-layout { gap: 1.2rem; padding-block: 2.4rem; }
  .article-toc { display: none; }
  .article-intro { padding-left: 1rem; }
  .bottom-line { grid-template-columns: 1fr; }
  .related-guides__grid { grid-template-columns: 1fr; }
  .explorer-intro { grid-template-columns: 1fr; }
  .filter-panel { top: calc(var(--header-height) - 1px); padding: .7rem; border-radius: 0 0 1rem 1rem; margin-inline: -.68rem; }
  .filter-panel__row { grid-template-columns: 1fr 1fr; }
  .filter-panel__row .input-group:first-child { grid-column: 1 / -1; }
  .filter-panel__row .button { width: 100%; }
  .treatment-card__fact { grid-template-columns: 4.8rem 1fr; }
  .compare-tray { bottom: .5rem; width: calc(100% - 1rem); border-radius: 1rem; }
  .compare-tray__inner { grid-template-columns: 1fr; gap: .65rem; }
  .compare-tray__selected { flex-wrap: nowrap; overflow-x: auto; }
  .compare-tray__actions { display: grid; grid-template-columns: 1fr 1fr; }
  .compare-dialog { width: calc(100% - .75rem); max-height: calc(100vh - .75rem); }
  .compare-dialog__body { padding: .7rem; }
  .comparison-table { display: block; }
  .comparison-table thead, .comparison-table tbody, .comparison-table tr, .comparison-table th, .comparison-table td { display: block; width: 100%; min-width: 0; }
  .comparison-table thead tr { display: grid; gap: .45rem; margin-bottom: .9rem; }
  .comparison-table thead th:first-child { display: none; }
  .comparison-table tbody tr { margin-bottom: .9rem; border: 1px solid var(--line); border-radius: .85rem; padding: .5rem; background: var(--paper-deep); }
  .comparison-table tbody th { border: 0; background: transparent; padding: .4rem .5rem; }
  .comparison-table tbody td { margin-top: .35rem; }
  .comparison-table tbody td::before { content: attr(data-treatment); display: block; margin-bottom: .25rem; color: var(--teal); font-size: .64rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
  .compare-dialog__footer { flex-direction: column; }
  .navigator-progress { grid-template-columns: repeat(7, 1fr); }
  .choice-grid { grid-template-columns: 1fr; }
  .navigator-card { padding: 1.1rem; }
  .navigator-actions { flex-wrap: wrap; }
  .navigator-actions .button { flex: 1 1 auto; }
  .source-card { grid-template-columns: 1fr; }
  .source-card .button { justify-self: start; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .site-footer__brand { grid-column: 1 / -1; }
  .site-footer__grid > div:last-child { grid-column: 1 / -1; }
  .site-footer__bottom { flex-direction: column; gap: .25rem; }
}

@media (max-width: 430px) {
  .filter-panel__row { grid-template-columns: 1fr; }
  .filter-panel__row .input-group:first-child { grid-column: auto; }
  .treatment-card__actions { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__brand, .site-footer__grid > div:last-child { grid-column: auto; }
}

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

@media print {
  .site-header, .site-footer, .article-toc, .filter-panel, .compare-tray, .button, .navigator-sidebar { display: none !important; }
  body { background: white; color: black; }
  .page-hero { background: white; padding: 1rem 0; }
  .article-layout { display: block; padding: 1rem 0; }
  .shell, .shell--narrow { width: 100%; }
  a { color: black; text-decoration: none; }
}
