:root {
  --ink: #182422;
  --muted: #5b6865;
  --line: #d8e1dd;
  --paper: #fbfcf8;
  --white: #ffffff;
  --teal: #0f4b46;
  --teal-2: #dcefe8;
  --blue: #315f93;
  --coral: #b74347;
  --yellow: #f2c75c;
  --shadow: 0 18px 60px rgba(24, 36, 34, 0.12);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 252, 248, 0.9);
  border-bottom: 1px solid rgba(216, 225, 221, 0.85);
  backdrop-filter: blur(14px);
}

.prelaunch-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 20px;
  border-bottom: 1px solid rgba(15, 75, 70, 0.16);
  background: linear-gradient(90deg, #edf7f1, #f8f5df);
  color: #33433f;
  font-size: 0.9rem;
  text-align: center;
}

.prelaunch-banner strong {
  flex: 0 0 auto;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--teal);
  color: var(--white);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 850;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 8px 22px rgba(15, 75, 70, 0.14);
}

.brand-mark svg {
  width: 38px;
  height: 38px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.94rem;
  color: var(--muted);
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-actions {
  display: flex;
  gap: 10px;
}

.mobile-nav {
  display: none;
}

.mobile-nav summary {
  position: relative;
  z-index: 103;
  width: 44px;
  height: 44px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--teal);
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-nav-icon,
.mobile-nav-icon svg {
  width: 23px;
  height: 23px;
  display: block;
}

.mobile-nav .menu-close-icon,
.mobile-nav[open] .menu-open-icon {
  display: none;
}

.mobile-nav[open] .menu-close-icon {
  display: block;
}

.mobile-nav[open] summary {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

.mobile-nav-backdrop {
  display: none;
}

.mobile-nav-panel {
  position: fixed;
  top: 72px;
  left: 14px;
  right: 14px;
  z-index: 102;
  width: auto;
  max-height: calc(100dvh - 86px);
  overflow-y: auto;
  padding: 16px;
  display: none;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 24px 80px rgba(24, 36, 34, 0.3);
}

.mobile-nav[open] .mobile-nav-panel {
  display: grid;
}

.mobile-nav-panel > a:not(.button) {
  min-height: 48px;
  padding: 12px 11px;
  display: flex;
  align-items: center;
  border-radius: 6px;
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}

.mobile-nav-panel > a:not(.button):hover,
.mobile-nav-panel > a:not(.button):focus-visible {
  background: var(--teal-2);
}

.mobile-nav-primary {
  width: 100%;
  min-height: 50px;
  margin-bottom: 7px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(15, 75, 70, 0.24);
}

.button.secondary {
  background: var(--white);
  color: var(--teal);
  border-color: var(--line);
}

.button.coral {
  background: var(--coral);
  color: var(--white);
}

.button.ghost {
  color: var(--teal);
  background: transparent;
  border-color: var(--line);
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 76px 20px;
}

.section.tight {
  padding: 42px 20px;
}

.section-title {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin-bottom: 30px;
}

.eyebrow {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-review-note {
  margin: -10px 0 22px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.55rem, 5vw, 5.3rem);
  line-height: 0.98;
  letter-spacing: 0;
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: 0;
  margin-bottom: 0;
}

h3 {
  font-size: 1.15rem;
  line-height: 1.2;
}

.lead {
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  color: var(--muted);
  max-width: 680px;
}

.small {
  font-size: 0.92rem;
  color: var(--muted);
}

.hero {
  min-height: calc(100vh - 70px);
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 34%;
  background: linear-gradient(180deg, rgba(251, 252, 248, 0), var(--paper));
  z-index: 1;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 64px 20px 86px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.9fr);
  gap: 38px;
  align-items: center;
}

.hero-copy {
  padding-top: 18px;
}

.hero-media {
  position: relative;
  min-height: 510px;
}

.hero-media img,
.hero-media video {
  height: 510px;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.home-hero .hero-media {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.home-hero .hero-media video {
  box-shadow: none;
  display: block;
}

.hero-panel {
  position: absolute;
  left: -24px;
  bottom: 26px;
  width: min(330px, calc(100% - 22px));
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.hero-panel strong {
  display: block;
  margin-bottom: 4px;
}

.hero-actions,
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.center-actions {
  justify-content: center;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.card.highlight {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.card.highlight .small,
.card.highlight p {
  color: rgba(255, 255, 255, 0.78);
}

.card .icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal-2);
  color: var(--teal);
  margin-bottom: 16px;
}

.icon svg {
  width: 20px;
  height: 20px;
}

.step-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: steps;
}

.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 56px 22px 22px;
  counter-increment: steps;
}

.step::before {
  content: counter(steps);
  position: absolute;
  top: 18px;
  left: 22px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--coral);
  color: var(--white);
  font-weight: 850;
  font-size: 0.86rem;
}

.band {
  background: var(--teal-2);
  border-block: 1px solid rgba(15, 75, 70, 0.12);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 40px;
  align-items: start;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 12px;
}

.checklist li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
}

.checklist li::before {
  content: "";
  margin-top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: inset 0 0 0 5px var(--teal-2);
}

.treatment-section {
  scroll-margin-top: 84px;
}

.treatment-compact {
  max-width: 980px;
}

.treatment-compact h2 {
  max-width: 760px;
  margin-top: 10px;
}

.treatment-compact .lead {
  margin-top: 18px;
}

.treatment-points {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.treatment-points li {
  min-height: 76px;
  padding: 16px 17px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-weight: 780;
  box-shadow: 0 10px 28px rgba(24, 36, 34, 0.06);
}

.treatment-points li::before {
  content: "";
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border-radius: 50%;
  background: var(--teal-2);
  box-shadow: inset 0 0 0 6px var(--teal);
}

.entry-rail {
  display: grid;
  gap: 12px;
}

.entry-link {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  min-height: 72px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  text-decoration: none;
}

.entry-link:hover {
  border-color: var(--teal);
  box-shadow: 0 10px 30px rgba(15, 75, 70, 0.08);
}

.price {
  display: grid;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 18px 48px rgba(15, 75, 70, 0.08);
}

.price strong {
  font-size: 2.6rem;
  line-height: 1;
}

.calculator-hero {
  padding-top: 68px;
}

.calculator {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.72fr);
  gap: 28px;
  align-items: start;
}

.calculator-form,
.calculator-results {
  background: linear-gradient(180deg, var(--white), rgba(255, 255, 255, 0.88));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 18px 55px rgba(24, 36, 34, 0.08);
}

.calculator-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 24px;
  align-content: start;
}

.calculator-example-note {
  grid-column: 1 / -1;
  margin: 0;
}

.calculator-noscript {
  grid-column: 1 / -1;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.article .calculator-embedded {
  grid-template-columns: 1fr;
  gap: 18px;
  margin: 24px 0 36px;
}

.article .calculator-embedded .calculator-form,
.article .calculator-embedded .calculator-results {
  padding: 22px;
}

.calc-group,
.range-field {
  display: grid;
  gap: 12px;
}

.product-group,
.calc-divider {
  grid-column: 1 / -1;
}

.calc-label,
.range-field > span {
  color: var(--ink);
  font-weight: 850;
}

.range-field > span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  line-height: 1.25;
}

.range-field b {
  color: var(--teal);
  font-size: 1.02rem;
  white-space: nowrap;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 6px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(220, 239, 232, 0.52);
}

.segment {
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-weight: 850;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.segment:hover {
  background: rgba(255, 255, 255, 0.76);
}

.segment.active {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
  box-shadow: 0 9px 20px rgba(15, 75, 70, 0.18);
}

.segment:focus-visible,
.range-field input[type="range"]:focus-visible {
  outline: 3px solid rgba(49, 95, 147, 0.22);
  outline-offset: 3px;
}

.range-field input[type="range"] {
  --range-progress: 0%;
  appearance: none;
  width: 100%;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--teal) 0 var(--range-progress, 0%),
    rgba(216, 225, 221, 0.95) var(--range-progress, 0%) 100%
  );
  cursor: pointer;
}

.range-field input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 28px;
  height: 28px;
  border: 6px solid var(--teal);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 8px 18px rgba(15, 75, 70, 0.2);
}

.range-field input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 6px solid var(--teal);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 8px 18px rgba(15, 75, 70, 0.2);
}

.calc-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.calc-divider::before,
.calc-divider::after {
  content: "";
  height: 1px;
  background: var(--line);
}

.calculator-results {
  display: grid;
  gap: 18px;
}

.calculator-cta {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.saving-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.saving-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--paper);
}

.saving-card span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
  margin-bottom: 6px;
}

.saving-card strong {
  display: block;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  line-height: 1.05;
}

.primary-saving {
  background: linear-gradient(135deg, var(--teal), #1a5361);
  color: var(--white);
  border-color: var(--teal);
  padding: 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.primary-saving span,
.primary-saving .small {
  color: rgba(255, 255, 255, 0.78);
}

.primary-saving strong {
  font-size: clamp(2rem, 4vw, 3.15rem);
}

.calc-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.calc-comparison div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 15px;
  background: rgba(220, 239, 232, 0.38);
}

.calc-comparison span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 750;
  margin-bottom: 5px;
}

.calc-comparison strong {
  display: block;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  line-height: 1.08;
}

.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
}

.article-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 46px 20px 80px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
}

.article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 54px);
}

.article h1 {
  font-size: clamp(2.1rem, 4.2vw, 4.1rem);
  line-height: 1.02;
}

.article h2 {
  font-size: clamp(1.55rem, 2vw, 2.25rem);
  margin-top: 34px;
  margin-bottom: 12px;
}

.article ul {
  padding-left: 20px;
}

.article-byline {
  color: var(--teal);
  font-weight: 850;
  margin-bottom: 18px;
}

.keypoints {
  background: var(--teal-2);
  border: 1px solid rgba(15, 75, 70, 0.16);
  border-radius: var(--radius);
  padding: 22px;
  margin: 26px 0;
}

.article h3 {
  font-size: 1.06rem;
  margin: 0 0 8px;
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 30px;
}

.article .savings-examples {
  grid-template-columns: 1fr;
}

.evidence-tile {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: #fffefa;
}

.evidence-tile span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.evidence-tile p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.evidence-strong {
  border-color: rgba(15, 75, 70, 0.24);
  background: linear-gradient(180deg, #f8fdf9 0%, #edf7f1 100%);
}

.evidence-moderate {
  border-color: rgba(49, 95, 147, 0.24);
  background: linear-gradient(180deg, #fbfdff 0%, #eef5fb 100%);
}

.evidence-early {
  border-color: rgba(228, 86, 88, 0.22);
  background: linear-gradient(180deg, #fffdfa 0%, #fff2ec 100%);
}

.evidence-chart {
  margin: 30px 0;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(251, 252, 248, 0.96)),
    repeating-linear-gradient(90deg, rgba(216, 225, 221, 0.4) 0 1px, transparent 1px 20%);
}

.chart-head {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.chart-title {
  font-size: clamp(1.18rem, 1.6vw, 1.55rem);
  line-height: 1.2;
  font-weight: 900;
  color: var(--ink);
}

.chart-head p,
.chart-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 760;
}

.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.chart-legend i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dot-color);
  box-shadow: 0 0 0 3px rgba(24, 36, 34, 0.06);
}

.chart-row {
  display: grid;
  grid-template-columns: minmax(165px, 0.82fr) minmax(0, 1.4fr);
  gap: 16px;
  padding: 15px 0;
  border-top: 1px solid rgba(216, 225, 221, 0.9);
}

.chart-label {
  display: grid;
  align-content: start;
  gap: 4px;
}

.chart-label b {
  line-height: 1.28;
}

.chart-label span {
  color: var(--muted);
  font-size: 0.88rem;
}

.chart-series {
  display: grid;
  gap: 8px;
}

.chart-bar {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr) 58px;
  gap: 10px;
  align-items: center;
}

.chart-bar-name {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 760;
  line-height: 1.15;
}

.chart-track {
  position: relative;
  height: 15px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(216, 225, 221, 0.76);
}

.chart-fill {
  display: block;
  width: var(--bar-width);
  height: 100%;
  border-radius: 999px;
  background: var(--bar-color);
  box-shadow: inset 0 -1px 0 rgba(24, 36, 34, 0.16);
}

.chart-value {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 850;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.chart-note {
  padding-top: 12px;
  border-top: 1px solid rgba(216, 225, 221, 0.9);
}

.article-callout {
  margin: 24px 0;
  padding: 20px;
  border-left: 5px solid var(--coral);
  border-radius: var(--radius);
  background: #fff8f5;
}

.article-callout p {
  margin-bottom: 0;
}

.references {
  margin-top: 38px;
  padding-top: 4px;
}

.references ol {
  display: grid;
  gap: 12px;
  padding-left: 24px;
}

.references li {
  padding-left: 4px;
}

.references a {
  color: var(--teal);
  font-weight: 850;
}

.references li span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.93rem;
}

.sidebar {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 14px;
}

.site-footer {
  background: var(--ink);
  color: var(--white);
  margin-top: 0;
}

.site-footer .brand-mark-bg {
  fill: #e7f3ed;
}

.site-footer .brand-mark-path {
  stroke: #0f4b46;
}

.footer-descriptor {
  max-width: 44rem;
  color: rgba(255, 255, 255, 0.72);
}

.prelaunch-help-card,
.prelaunch-sidebar {
  border-color: rgba(15, 75, 70, 0.18);
  background: linear-gradient(180deg, #ffffff, #f0f7f3);
}

.prelaunch-help-card .button,
.prelaunch-sidebar .button {
  margin-top: 8px;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.footer-inner a {
  color: rgba(255, 255, 255, 0.82);
}

.footer-privacy {
  margin-top: 18px;
}

.footer-privacy button {
  margin: 5px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.footer-privacy button:hover,
.footer-privacy button:focus-visible {
  color: var(--white);
}

.notice {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
  padding: 18px 20px;
  max-width: 1180px;
  margin: 0 auto;
}

.consent-banner {
  position: fixed;
  z-index: 1000;
  right: 18px;
  bottom: 18px;
  left: 18px;
  max-height: calc(100vh - 36px);
  overflow: auto;
  border: 1px solid rgba(15, 75, 70, 0.24);
  border-radius: 18px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(24, 36, 34, 0.24);
}

.consent-banner[hidden] {
  display: none;
}

.consent-banner-inner {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.consent-banner h2 {
  margin: 0 0 8px;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.consent-banner p {
  max-width: 760px;
  margin: 0 0 8px;
  color: var(--muted);
}

.consent-banner a {
  color: var(--teal);
  font-weight: 750;
}

.consent-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 10px;
  width: fit-content;
  justify-self: start;
}

.consent-choice {
  min-height: 46px;
  padding: 10px 16px;
  border: 2px solid var(--teal);
  border-radius: 999px;
  background: var(--white);
  color: var(--teal);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.consent-choice:hover,
.consent-choice:focus-visible {
  background: var(--teal-2);
}

.consent-choice[data-consent-choice="granted"] {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(15, 75, 70, 0.2);
}

.consent-choice[data-consent-choice="granted"]:hover,
.consent-choice[data-consent-choice="granted"]:focus-visible {
  background: #093a36;
}

.privacy-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 72px 20px 88px;
}

.privacy-page h1 {
  margin-top: 12px;
}

.privacy-page h1,
.privacy-page h2,
.privacy-page th,
.privacy-page td {
  overflow-wrap: anywhere;
}

.privacy-page h2 {
  margin-top: 36px;
}

.privacy-page .card {
  margin-top: 24px;
}

.privacy-page table {
  width: 100%;
  margin-top: 18px;
  border-collapse: collapse;
}

.privacy-page th,
.privacy-page td {
  padding: 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.privacy-page th {
  background: var(--teal-2);
}

@media (max-width: 980px) {
  .nav {
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
    white-space: nowrap;
  }

  .hero-inner,
  .split,
  .calculator,
  .article-shell {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    min-height: 340px;
  }

  .hero-media img,
  .hero-media video {
    height: 390px;
  }

  .hero-panel {
    left: 18px;
  }

  .grid.cols-4,
  .step-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid.cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .saving-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sidebar {
    position: static;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--paper);
    backdrop-filter: none;
  }

  .nav {
    flex-wrap: nowrap;
    padding: 10px 14px;
    gap: 10px;
  }

  .prelaunch-banner {
    align-items: flex-start;
    gap: 8px;
    padding: 9px 14px;
    font-size: 0.78rem;
    line-height: 1.35;
    text-align: left;
  }

  .prelaunch-banner strong {
    margin-top: 1px;
    font-size: 0.64rem;
  }

  .brand {
    font-size: 0.95rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-mark svg {
    width: 33px;
    height: 33px;
  }

  .nav-actions {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .mobile-nav {
    display: block;
    margin-left: auto;
  }

  .mobile-nav-backdrop {
    position: fixed;
    inset: 65px 0 0;
    z-index: 101;
    width: auto;
    height: auto;
    padding: 0;
    border: 0;
    background: rgba(24, 36, 34, 0.52);
    cursor: default;
  }

  .mobile-nav[open] .mobile-nav-backdrop {
    display: block;
  }

  .section {
    padding: 56px 16px;
  }

  .hero-inner {
    padding: 36px 16px 64px;
  }

  .hero-media img,
  .hero-media video {
    height: 300px;
  }

  .hero-panel {
    position: static;
    width: 100%;
    margin-top: 12px;
  }

  .grid.cols-2,
  .grid.cols-3,
  .grid.cols-4,
  .step-list,
  .calculator-form,
  .saving-grid,
  .calc-comparison,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .calculator-form,
  .calculator-results {
    padding: 20px;
  }

  .article .calculator-embedded .calculator-form,
  .article .calculator-embedded .calculator-results {
    padding: 17px;
  }

  .segmented {
    border-radius: var(--radius);
  }

  .segment {
    min-height: 44px;
    border-radius: 6px;
  }

  .treatment-section {
    padding: 40px 16px;
  }

  .treatment-compact .lead {
    margin-top: 14px;
  }

  .treatment-points {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 20px;
  }

  .treatment-points li {
    min-height: 56px;
    padding: 11px 14px;
  }

  .range-field > span {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .button {
    width: 100%;
  }

  .consent-banner {
    right: 10px;
    bottom: 10px;
    left: 10px;
    max-height: calc(100vh - 20px);
  }

  .consent-banner-inner,
  .consent-actions {
    grid-template-columns: 1fr;
  }

  .consent-actions {
    width: 100%;
  }

  .consent-banner-inner {
    gap: 18px;
    padding: 18px;
  }

  .privacy-page {
    padding-top: 48px;
  }

  .privacy-page table,
  .privacy-page thead,
  .privacy-page tbody,
  .privacy-page tr,
  .privacy-page th,
  .privacy-page td {
    display: block;
  }

  .privacy-page thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .privacy-page tr {
    margin-top: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
  }

  .privacy-page td {
    border: 0;
    border-bottom: 1px solid var(--line);
  }

  .privacy-page td:last-child {
    border-bottom: 0;
  }

  .evidence-grid {
    grid-template-columns: 1fr;
  }

  .evidence-chart {
    padding: 16px;
  }

  .chart-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .chart-bar {
    grid-template-columns: 82px minmax(0, 1fr) 50px;
    gap: 8px;
  }

  .chart-bar-name,
  .chart-value {
    font-size: 0.78rem;
  }

  .hero-actions,
  .action-row {
    width: 100%;
  }
}

/* ===== Standalone intake flow (starta.html) ===== */

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.intake-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 15%, rgba(220, 239, 232, 0.92), transparent 28rem),
    radial-gradient(circle at 92% 86%, rgba(242, 199, 92, 0.16), transparent 30rem),
    var(--paper);
}

.intake-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(rgba(15, 75, 70, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 75, 70, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

.intake-skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
  transform: translateY(-160%);
}

.intake-skip:focus {
  transform: translateY(0);
}

.intake-header {
  width: min(1180px, 100%);
  min-height: 76px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.intake-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.intake-brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 8px 20px rgba(15, 75, 70, 0.14);
}

.intake-brand-mark svg {
  width: 38px;
  height: 38px;
}

.intake-close {
  padding: 8px 2px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 750;
  text-underline-offset: 4px;
}

.intake-close:hover {
  color: var(--teal);
}

.intake-progress-shell {
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
  height: 5px;
  overflow: hidden;
  background: rgba(15, 75, 70, 0.1);
}

.intake-progress-bar {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(90deg, var(--teal), #2e8276);
  box-shadow: 0 0 18px rgba(15, 75, 70, 0.26);
  transition: width 280ms ease;
}

.intake-main {
  min-height: calc(100vh - 81px);
  display: grid;
  align-items: center;
}

@supports (height: 100dvh) {
  .intake-page {
    min-height: 100dvh;
  }

  .intake-main {
    min-height: calc(100dvh - 81px);
  }
}

.intake-app {
  width: 100%;
}

.intake-screen {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: clamp(42px, 8vh, 94px) 24px 70px;
  animation: intake-enter 260ms ease both;
}

.intake-screen h1 {
  max-width: 720px;
  margin: 10px 0 14px;
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.intake-screen h1:focus {
  outline: none;
}

.intake-intro {
  width: min(820px, 100%);
}

.intake-eyebrow {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.intake-lead,
.intake-description {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}

.intake-description:empty {
  display: none;
}

.intake-local-note,
.intake-clinical-note {
  max-width: 680px;
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid rgba(15, 75, 70, 0.17);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 16px 40px rgba(24, 36, 34, 0.06);
}

.intake-local-note strong,
.intake-clinical-note strong {
  color: var(--teal);
}

.intake-local-note p,
.intake-clinical-note p {
  margin: 5px 0 0;
  color: var(--muted);
}

.intake-local-note-strong {
  border-color: rgba(228, 86, 88, 0.24);
  background: rgba(255, 248, 245, 0.92);
}

.intake-fineprint {
  max-width: 680px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.88rem;
}

.intake-options {
  display: grid;
  gap: 10px;
  margin: 30px 0 0;
  padding: 0;
  border: 0;
}

.intake-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.intake-option > input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.intake-option-body {
  min-height: 62px;
  padding: 12px 16px 12px 12px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(15, 75, 70, 0.19);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(24, 36, 34, 0.035);
  transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.intake-option:hover .intake-option-body {
  border-color: rgba(15, 75, 70, 0.48);
  transform: translateY(-1px);
  box-shadow: 0 13px 30px rgba(15, 75, 70, 0.09);
}

.intake-option > input:focus-visible + .intake-option-body {
  outline: 3px solid rgba(49, 95, 147, 0.27);
  outline-offset: 3px;
}

.intake-option > input:checked + .intake-option-body {
  border-color: var(--teal);
  background: var(--teal-2);
  box-shadow: inset 0 0 0 1px var(--teal), 0 12px 30px rgba(15, 75, 70, 0.11);
}

.intake-shortcut {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(15, 75, 70, 0.2);
  border-radius: 6px;
  background: var(--white);
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 900;
}

.intake-option > input:checked + .intake-option-body .intake-shortcut {
  border-color: var(--teal);
  background: var(--teal);
  color: var(--white);
}

.intake-option-copy {
  display: grid;
  gap: 2px;
}

.intake-option-copy strong {
  line-height: 1.3;
}

.intake-option-copy small {
  color: var(--muted);
  line-height: 1.35;
}

.intake-checkmark {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(15, 75, 70, 0.22);
  border-radius: 50%;
  color: transparent;
  font-size: 0.8rem;
  font-weight: 950;
}

.intake-option > input:checked + .intake-option-body .intake-checkmark {
  border-color: var(--teal);
  background: var(--teal);
  color: var(--white);
}

.intake-selection-help {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.intake-field {
  max-width: 680px;
  display: grid;
  gap: 8px;
  margin-top: 30px;
  color: var(--ink);
  font-weight: 800;
}

.intake-field input,
.intake-field textarea {
  width: 100%;
  border: 1px solid rgba(15, 75, 70, 0.26);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  box-shadow: inset 0 1px 2px rgba(24, 36, 34, 0.04);
  font-size: 1.1rem;
  font-weight: 600;
}

.intake-field input {
  min-height: 58px;
  padding: 0 16px;
}

.intake-field textarea {
  min-height: 138px;
  padding: 14px 16px;
  resize: vertical;
}

.intake-field input:focus-visible,
.intake-field textarea:focus-visible {
  border-color: var(--blue);
  outline: 3px solid rgba(49, 95, 147, 0.22);
  outline-offset: 2px;
}

.intake-input-with-suffix {
  max-width: 350px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(15, 75, 70, 0.26);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.9);
}

.intake-input-with-suffix:focus-within {
  border-color: var(--blue);
  outline: 3px solid rgba(49, 95, 147, 0.22);
  outline-offset: 2px;
}

.intake-input-with-suffix input {
  border: 0;
  border-radius: 0;
  background: transparent;
  outline: 0;
  box-shadow: none;
}

.intake-input-with-suffix input:focus-visible {
  outline: 0;
}

.intake-input-with-suffix > span {
  padding: 0 16px;
  color: var(--muted);
  font-size: 0.94rem;
}

.intake-measurements {
  max-width: 680px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.intake-error {
  max-width: 680px;
  margin: 18px 0 0;
  padding: 12px 14px;
  border-left: 4px solid var(--coral);
  border-radius: 5px;
  background: rgba(228, 86, 88, 0.08);
  color: #8a242d;
  font-weight: 800;
}

.intake-actions {
  max-width: 680px;
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.intake-actions-split {
  justify-content: space-between;
}

.intake-continue-group {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.intake-button {
  min-height: 50px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition: background 150ms ease, border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.intake-button:hover {
  transform: translateY(-1px);
}

.intake-button:focus-visible,
.intake-link-button:focus-visible,
.intake-close:focus-visible,
.intake-brand:focus-visible {
  outline: 3px solid rgba(49, 95, 147, 0.27);
  outline-offset: 3px;
}

.intake-button-primary {
  border-color: var(--teal);
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(15, 75, 70, 0.2);
}

.intake-button-primary:hover {
  background: #0b3e3a;
}

.intake-button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.78);
  color: var(--teal);
}

.intake-button-secondary:hover {
  border-color: rgba(15, 75, 70, 0.35);
  background: var(--white);
}

.intake-key-hint {
  color: var(--muted);
  font-size: 0.82rem;
  white-space: nowrap;
}

.intake-key-hint kbd,
.intake-selection-help kbd {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 850;
}

.intake-summary-list {
  max-width: 680px;
  display: grid;
  gap: 0;
  margin: 32px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.82);
}

.intake-summary-list > div {
  padding: 16px 18px;
  display: grid;
  grid-template-columns: minmax(130px, 0.4fr) minmax(0, 1fr);
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.intake-summary-list > div:last-child {
  border-bottom: 0;
}

.intake-summary-list dt {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.intake-summary-list dd {
  margin: 0;
  font-weight: 750;
}

.intake-summary-list dd small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-weight: 500;
}

.intake-summary-actions {
  align-items: center;
}

.intake-link-button {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.intake-noscript {
  max-width: 680px;
  margin: 20px auto;
  padding: 18px;
  border: 1px solid var(--coral);
  border-radius: 8px;
  background: var(--white);
}

@keyframes intake-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .intake-header {
    min-height: 66px;
    padding: 12px 16px;
  }

  .intake-brand-mark {
    width: 34px;
    height: 34px;
  }

  .intake-main {
    min-height: calc(100dvh - 71px);
    align-items: start;
  }

  .intake-screen {
    padding: 42px 16px 48px;
  }

  .intake-screen h1 {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }

  .intake-option-body {
    grid-template-columns: 29px minmax(0, 1fr) 24px;
    gap: 10px;
    padding-right: 12px;
  }

  .intake-shortcut {
    width: 28px;
    height: 28px;
  }

  .intake-measurements,
  .intake-summary-list > div {
    grid-template-columns: 1fr;
  }

  .intake-measurements {
    gap: 0;
  }

  .intake-actions-split {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .intake-actions-split .intake-button,
  .intake-actions-split .intake-continue-group,
  .intake-continue-group .intake-button,
  .intake-summary-actions .intake-button {
    width: 100%;
  }

  .intake-continue-group {
    display: grid;
    justify-items: center;
  }

  .intake-summary-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .intake-summary-list > div {
    gap: 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intake-screen {
    animation: none;
  }

  .intake-progress-bar,
  .intake-button,
  .intake-option-body {
    transition: none;
  }
}

/* ===== Content discovery, trust and utility pages ===== */

.intake-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 42px;
  align-items: center;
  margin-block: 76px 0;
  padding: clamp(34px, 5vw, 58px);
  border-radius: 12px;
  background:
    radial-gradient(circle at 88% 16%, rgba(242, 199, 92, 0.2), transparent 17rem),
    var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}

.intake-teaser h2 {
  max-width: 760px;
}

.intake-teaser .lead,
.intake-teaser .small {
  color: rgba(255, 255, 255, 0.72);
}

.intake-teaser-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.intake-teaser-meta span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  font-weight: 800;
}

.intake-teaser-action {
  display: grid;
  gap: 14px;
  align-content: center;
}

.intake-teaser-action .button {
  min-height: 54px;
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.authority-card {
  display: block;
  color: var(--ink);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.authority-card:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 75, 70, 0.42);
  box-shadow: 0 16px 38px rgba(15, 75, 70, 0.1);
}

.authority-card b {
  color: var(--teal);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
}

.breadcrumbs a {
  color: var(--teal);
  text-underline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 999;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 16px;
  margin: -4px 0 22px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.article-meta .article-byline {
  margin: 0;
  color: var(--teal);
}

.article h2[id] {
  scroll-margin-top: 102px;
}

.article-toc,
.sidebar-toc {
  border: 1px solid rgba(15, 75, 70, 0.18);
  border-radius: var(--radius);
  background: rgba(220, 239, 232, 0.42);
}

.article-toc {
  display: none;
  margin: 24px 0;
  padding: 20px;
}

.article-toc h2 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.article-toc ol,
.sidebar-toc ol {
  margin: 0;
  padding-left: 20px;
}

.article-toc li,
.sidebar-toc li {
  margin: 7px 0;
}

.article-toc a,
.sidebar-toc a,
.sidebar-related a {
  color: var(--teal);
  text-underline-offset: 3px;
}

.sidebar-toc {
  padding: 19px;
}

.sidebar-toc h3 {
  margin-bottom: 10px;
}

.sidebar-toc ol {
  font-size: 0.9rem;
}

.sidebar-related {
  border-left: 4px solid var(--teal);
}

.article-related {
  margin-top: 46px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.article-related .section-title {
  margin-bottom: 22px;
}

.article-related .section-title h2 {
  margin: 0;
}

.article-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.article-related-grid .article-card {
  min-height: 0;
  padding: 18px;
}

.article-related-grid .article-card h3 {
  font-size: 1rem;
}

.article-related-grid .article-card p {
  display: none;
}

.article-pagination {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0 34px;
}

.article-pagination a {
  min-height: 96px;
  padding: 15px;
  display: grid;
  align-content: start;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
}

.article-pagination a:hover {
  border-color: var(--teal);
  background: rgba(220, 239, 232, 0.35);
}

.article-pagination span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.article-pagination b {
  font-size: 0.9rem;
  line-height: 1.3;
}

.article-series-link {
  text-align: center;
}

.article-cta {
  margin-bottom: 0;
}

.article-card {
  display: flex;
  min-height: 270px;
  flex-direction: column;
  color: var(--ink);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.article-card:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 75, 70, 0.42);
  box-shadow: 0 18px 42px rgba(15, 75, 70, 0.1);
}

.article-card h3 {
  margin-top: 13px;
}

.article-card p {
  flex: 1;
}

.article-card b {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--teal);
}

.article-card b svg {
  width: 16px;
  height: 16px;
}

.article-hub-hero {
  display: block;
  padding-top: 86px;
}

.article-hub-hero h1 {
  margin-top: 12px;
}

.hub-count {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.article-search {
  max-width: 720px;
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 14px;
  align-items: center;
}

.article-search > span {
  grid-column: 1 / -1;
  color: var(--ink);
  font-weight: 850;
}

.article-search input {
  width: 100%;
  min-height: 50px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}

.article-search input:focus {
  outline: 3px solid rgba(15, 75, 70, 0.18);
  border-color: var(--teal);
}

.article-search small {
  color: var(--muted);
  font-weight: 750;
  white-space: nowrap;
}

.featured-paths {
  padding-top: 24px;
}

.path-card {
  display: flex;
  flex-direction: column;
  color: var(--ink);
  text-decoration: none;
  border-top: 5px solid var(--teal);
}

.path-card p {
  flex: 1;
  color: var(--muted);
}

.path-card b {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--teal);
}

.path-card b svg {
  width: 17px;
  height: 17px;
}

.path-card:hover {
  transform: translateY(-3px);
  border-color: var(--coral);
  box-shadow: 0 18px 42px rgba(15, 75, 70, 0.1);
}

.topic-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}

.topic-links a {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--teal);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.topic-links a:hover {
  border-color: var(--teal);
}

.article-cluster {
  scroll-margin-top: 86px;
  border-top: 1px solid var(--line);
}

.article-cluster:nth-of-type(even) {
  background: linear-gradient(180deg, rgba(220, 239, 232, 0.28), transparent 70%);
}

.not-found {
  min-height: 100vh;
  max-width: 900px;
  margin: 0 auto;
  padding: 12vh 24px 80px;
  display: grid;
  align-content: center;
  background: radial-gradient(circle at 75% 20%, var(--teal-2), transparent 25rem);
}

@supports (height: 100dvh) {
  .not-found {
    min-height: 100dvh;
  }
}

.not-found h1 {
  max-width: 850px;
}

@media (max-width: 980px) {
  .article-toc {
    display: block;
  }

  .sidebar-toc {
    display: none;
  }
}

@media (max-width: 760px) {
  .article-meta {
    display: grid;
    gap: 4px;
  }

  .article-toc {
    display: block;
  }

  .sidebar-toc {
    display: none;
  }

  .article-related-grid,
  .article-pagination {
    grid-template-columns: 1fr;
  }

  .article-pagination > span:empty {
    display: none;
  }

  .article-series-link {
    text-align: left;
  }

  .article-search {
    grid-template-columns: 1fr;
  }

  .article-search small {
    justify-self: start;
  }

  .intake-teaser {
    grid-template-columns: 1fr;
    gap: 28px;
    margin: 46px 16px 0;
    padding: 32px 22px;
  }

  .intake-teaser-action .button {
    width: 100%;
  }

  .article-hub-hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 56px;
  }

  .article-card {
    min-height: auto;
  }
}
