/* ---------------------------------------------------------------- tokens */

:root {
  /* Warm, soft and photography-led. Hazel owns pale lemon in this market, so
     this sits on honey and bone -- adjacent in feel, distinct in hue. */
  --bone: #fdfbf6;
  --honey-pale: #f7efd7;
  --honey-mid: #f2e3b8;
  --honey: #e9b949;
  --honey-deep: #d6a32f;
  --cream-sunk: #f3ecdd;

  --ink: #191612;
  --ink-soft: #57503f;
  --ink-faint: #8d8474;
  --rule: #e6ddc9;

  --forest: #2c4234;
  --forest-deep: #1f3026;
  --clay: #c4704a;

  --bg: var(--bone);
  --bg-raised: #ffffff;
  --accent: var(--clay);
  --on-dark: #f4efe2;
  --on-dark-soft: #b9c4ba;
  --focus: #1a5fb4;

  --measure: 66ch;
  --rail: 220px;
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-pill: 999px;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --step-0: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem);
  --step-2: clamp(1.5rem, 1.25rem + 1vw, 2.1rem);
  --step-3: clamp(1.9rem, 1.5rem + 1.7vw, 2.9rem);
  --step-4: clamp(2.4rem, 1.7rem + 3.4vw, 4.2rem);

  --gap-section: clamp(3.5rem, 8vw, 7rem);

  --shadow-sm: 0 1px 2px rgba(25,22,18,.05), 0 4px 14px rgba(25,22,18,.04);
  --shadow-md: 0 2px 8px rgba(25,22,18,.06), 0 18px 44px rgba(25,22,18,.09);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bone: #16140f;
    --honey-pale: #221d14;
    --honey-mid: #2b2417;
    --honey: #e9b949;
    --honey-deep: #f0c766;
    --cream-sunk: #1e1a13;
    --ink: #f3eee2;
    --ink-soft: #c2b9a5;
    --ink-faint: #8f8676;
    --rule: #332c20;
    --forest: #1b291f;
    --forest-deep: #131d16;
    --clay: #e08a63;
    --bg-raised: #1e1a14;
    --on-dark: #f3eee2;
    --on-dark-soft: #a8b3a8;
    --focus: #7cb0f5;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
    --shadow-md: 0 18px 44px rgba(0,0,0,.5);
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

.skip { position: absolute; left: -9999px; background: var(--ink); color: var(--bone); padding: .75rem 1.25rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

.wrap { width: min(100% - 2.5rem, 1180px); margin-inline: auto; }

h1, h2, h3 { text-wrap: balance; }

.eyebrow {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 1rem;
}

.section-head { margin-bottom: 2.5rem; max-width: 30ch; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.1;
  margin: 0;
}

/* ---------------------------------------------------------------- header */

.site-header {
  background: color-mix(in srgb, var(--bone) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 40;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 74px;
}

.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--ink); text-decoration: none; }

.brand-mark {
  width: 26px; height: 26px; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, var(--honey), var(--clay) 70%, var(--forest));
  flex: none;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -.02em;
  white-space: nowrap;
}

.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav ul { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: .93rem;
  font-weight: 500;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--ink); }

.nav-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

@media (max-width: 1140px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; inset: 74px 0 auto 0;
    background: var(--bone);
    border-bottom: 1px solid var(--rule);
    padding: .5rem 0 1.5rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .site-nav[data-open="true"] { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; width: min(100% - 2.5rem, 1180px); margin-inline: auto; }
  .site-nav li { border-bottom: 1px solid var(--rule); }
  .site-nav a { display: block; padding: .9rem 0; font-size: 1.05rem; }
  .header-cta { width: min(100% - 2.5rem, 1180px); margin-inline: auto; }
}

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .9rem 1.75rem;
  border-radius: var(--r-pill);
  font-weight: 600; font-size: .98rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: transform .12s ease, background .14s ease, border-color .14s ease;
}
.btn:active { transform: translateY(1px); }
.btn--sm { padding: .6rem 1.25rem; font-size: .9rem; }

.btn--primary { background: var(--honey); color: #191612; }
.btn--primary:hover { background: var(--honey-deep); }

.btn--quiet { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--quiet:hover { background: var(--ink); color: var(--bone); }

/* ------------------------------------------------------------------ hero */

.hero { background: var(--honey-pale); }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr .82fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(3rem, 7vw, 5.5rem);
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: var(--step-4);
  line-height: 1.0;
  letter-spacing: -.035em;
  font-weight: 500;
  margin: 0 0 1.35rem;
}

.hero-lead {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0 0 2.25rem;
  max-width: 36ch;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.hero-note { margin: 1.25rem 0 0; font-size: .875rem; color: var(--ink-faint); }

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-lg);
}

.media-placeholder {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 20% 10%, var(--honey), transparent 60%),
    radial-gradient(110% 100% at 85% 90%, var(--clay), transparent 62%),
    var(--honey-mid);
}
.mp-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(25,22,18,.1); }
.mp-ring--1 { inset: 12% 14% 40% 10%; }
.mp-ring--2 { inset: 30% 8% 16% 22%; }
.mp-ring--3 { inset: 46% 30% 8% 8%; }

/* ----------------------------------------------------------------- strip */

.strip { background: var(--bone); border-bottom: 1px solid var(--rule); }
.strip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2.5rem;
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
}
.strip-item h2 {
  font-size: .78rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 .6rem;
}
.strip-item p { margin: 0; color: var(--ink-soft); font-size: .96rem; line-height: 1.55; }

/* ------------------------------------------------------------------ band */

.band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: var(--honey-pale);
  margin-block: var(--gap-section);
}
@media (max-width: 860px) { .band { grid-template-columns: 1fr; } }

.band-media img {
  width: 100%; height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.band-copy {
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4.5rem);
  align-self: center;
  max-width: 34rem;
}
.band-copy h2 {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 1rem;
}
.band-copy p { color: var(--ink-soft); margin: 0 0 1.75rem; }

/* ------------------------------------------------------------- page head */

.page-head {
  background: var(--honey-pale);
  padding-block: 1.5rem clamp(2.5rem, 5vw, 3.75rem);
}

.page-head-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-top: 1.5rem;
}
.page-head-grid:has(.page-head-media) { grid-template-columns: 1.25fr .75fr; }
@media (max-width: 900px) {
  .page-head-grid:has(.page-head-media) { grid-template-columns: 1fr; }
}

.page-head h1 {
  font-family: var(--font-display);
  font-size: var(--step-3);
  line-height: 1.05;
  letter-spacing: -.03em;
  font-weight: 500;
  margin: 0 0 1rem;
  max-width: 20ch;
}

.page-head .standfirst {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
  max-width: 54ch;
}

.page-head-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--r-md);
}

.page-head-meta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(25,22,18,.12);
}
.page-head .meta { margin: 0; font-size: .85rem; color: var(--ink-faint); }

.page-tools { display: flex; gap: .5rem; }
.tool {
  background: transparent;
  border: 1px solid rgba(25,22,18,.2);
  color: var(--ink);
  border-radius: var(--r-pill);
  padding: .4rem 1.1rem;
  font: inherit; font-size: .82rem; font-weight: 500;
  cursor: pointer;
  transition: background .14s ease, border-color .14s ease;
}
.tool:hover { background: rgba(25,22,18,.06); border-color: var(--ink); }

.breadcrumbs { font-size: .85rem; color: var(--ink-faint); }
.breadcrumbs a { color: var(--ink-faint); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumbs span { margin-inline: .45rem; opacity: .5; }

/* ---------------------------------------------------------------- layout */

.layout { padding-block: clamp(2.5rem, 6vw, 4rem); }

.layout--with-rail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--rail);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.layout > * { min-width: 0; }

@media (max-width: 960px) {
  .layout--with-rail { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .rail { order: -1; margin-bottom: 2.5rem; }
}

.rail { position: sticky; top: 100px; }

/* ----------------------------------------------------------------- prose */

.prose { max-width: var(--measure); }

.prose h2 {
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1.15;
  letter-spacing: -.022em;
  font-weight: 500;
  margin: 3.5rem 0 1rem;
  scroll-margin-top: 100px;
}
.prose > h2:first-child { margin-top: 0; }

.prose h3 { font-size: var(--step-1); font-weight: 600; margin: 2.5rem 0 .7rem; scroll-margin-top: 100px; letter-spacing: -.01em; }
.prose h4 { font-size: 1.05rem; font-weight: 600; margin: 2rem 0 .5rem; color: var(--ink-soft); }

.prose p { margin: 0 0 1.35rem; }
.prose ul, .prose ol { margin: 0 0 1.45rem; padding-left: 1.4rem; }
.prose li { margin-bottom: .6rem; }
.prose li::marker { color: var(--honey-deep); }

.prose hr { border: 0; border-top: 1px solid var(--rule); margin: 3rem 0; }

.prose blockquote {
  margin: 2rem 0;
  padding: .25rem 0 .25rem 1.4rem;
  border-left: 3px solid var(--honey);
  color: var(--ink-soft);
  font-size: 1.05em;
}
.prose blockquote p:last-child { margin-bottom: 0; }

.prose code { font-size: .9em; background: var(--cream-sunk); padding: .15em .4em; border-radius: 4px; }

/* ------------------------------------------------------------- takeaways */

.takeaways {
  margin: 0 0 3rem;
  padding: 1.75rem 2rem;
  border-radius: var(--r-md);
  background: var(--honey-pale);
}
.takeaways h2 {
  font-family: var(--font-body) !important;
  font-size: .75rem !important;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 1rem !important;
}
.takeaways ul { margin: 0; padding-left: 1.2rem; }
.takeaways li { margin-bottom: .7rem; }
.takeaways li:last-child { margin-bottom: 0; }
.takeaways li::marker { color: var(--honey-deep); }

/* --------------------------------------------------------------- callouts */

.callout {
  margin: 2.5rem 0;
  padding: 1.6rem 1.85rem;
  border-radius: var(--r-md);
  background: var(--bg-raised);
  border: 1px solid var(--rule);
}
.callout p:last-child, .callout ul:last-child, .callout ol:last-child { margin-bottom: 0; }

.callout--note { background: var(--cream-sunk); border-color: transparent; }
.callout--important { background: var(--honey-pale); border-color: transparent; }

.callout--seek-help {
  background: var(--forest);
  border-color: transparent;
  color: var(--on-dark);
}
.callout--seek-help a { color: var(--honey); }
.callout--seek-help::before {
  content: "When to see a doctor";
  display: block;
  font-weight: 600; font-size: .72rem;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--honey);
  margin-bottom: .8rem;
}

/* ---------------------------------------------------------------- tables */

.table-wrap {
  overflow-x: auto;
  margin: 2.5rem 0;
  border-radius: var(--r-md);
  border: 1px solid var(--rule);
}
.prose table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: .9rem 1.15rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prose th {
  font-weight: 600; font-size: .74rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-faint);
  background: var(--cream-sunk);
}
.prose tbody tr:last-child td { border-bottom: 0; }

/* ------------------------------------------------------------------- toc */

.toc { border-left: 2px solid var(--rule); padding-left: 1.25rem; }
.toc h2 {
  font-size: .72rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 .9rem;
}
.toc ul { list-style: none; margin: 0; padding: 0; }
.toc li { margin-bottom: .6rem; }
.toc a { color: var(--ink-soft); text-decoration: none; font-size: .89rem; line-height: 1.4; display: block; }
.toc a:hover { color: var(--ink); }
.toc a[aria-current] { color: var(--ink); font-weight: 600; }

@media (max-width: 960px) {
  .toc { border-left: 0; padding: 1.5rem 1.75rem; background: var(--cream-sunk); border-radius: var(--r-md); }
}

/* ------------------------------------------------------------------- faq */

.faq { max-width: var(--measure); margin: 0 0 var(--gap-section); }
.faq h2 {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 500;
  letter-spacing: -.022em;
  margin: 0 0 1.75rem;
}

.faq-list { border-top: 1px solid var(--rule); }

.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 2.5rem 1.25rem 0;
  font-weight: 600;
  font-size: 1.05rem;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: .5rem; top: 1.65rem;
  width: 10px; height: 10px;
  border-right: 2px solid var(--ink-faint);
  border-bottom: 2px solid var(--ink-faint);
  transform: rotate(45deg);
  transition: transform .18s ease;
}
.faq-item[open] summary::after { transform: rotate(-135deg); top: 1.9rem; }
.faq-item summary:hover { color: var(--clay); }
.faq-answer { padding: 0 2.5rem 1.5rem 0; color: var(--ink-soft); }
.faq-answer p { margin: 0; }

/* ----------------------------------------------------------------- cards */

.cards-section { background: var(--honey-pale); padding-block: var(--gap-section); }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }

.card {
  display: block;
  padding: 1.85rem;
  border-radius: var(--r-md);
  background: var(--bg-raised);
  text-decoration: none;
  color: var(--ink);
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card h3 { font-family: var(--font-display); font-size: 1.28rem; font-weight: 500; margin: 0 0 .6rem; letter-spacing: -.015em; }
.card p { margin: 0 0 1.1rem; color: var(--ink-soft); font-size: .94rem; line-height: 1.55; }
.card-meta { font-size: .78rem; color: var(--ink-faint); letter-spacing: .04em; text-transform: uppercase; }

/* --------------------------------------------------------------- related */

.related { max-width: var(--measure); margin-bottom: var(--gap-section); padding-top: 2.25rem; border-top: 1px solid var(--rule); }
.related h2 {
  font-size: .72rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 1.1rem;
}
.related ul { list-style: none; margin: 0; padding: 0; }
.related li { margin-bottom: .7rem; }
.related a { font-weight: 500; }

/* --------------------------------------------------------------- checker */

.checker {
  margin: 0 0 var(--gap-section);
  padding: clamp(1.75rem, 4vw, 3.25rem);
  border-radius: var(--r-lg);
  background: var(--bg-raised);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--rule);
}
.checker-head { max-width: 56ch; margin-bottom: 2.5rem; }
.checker h2 {
  font-family: var(--font-display);
  font-size: var(--step-2); font-weight: 500;
  margin: 0 0 .85rem; letter-spacing: -.022em;
}
.checker-head p { color: var(--ink-soft); margin: 0; }

#checker-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.75rem 2.5rem;
}
.checker-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .5rem; }

.checker fieldset { border: 0; margin: 0; padding: 0; }
.checker legend {
  font-weight: 600; font-size: .72rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-faint);
  padding: 0; margin-bottom: .85rem;
}

.check {
  display: flex; align-items: flex-start; gap: .7rem;
  padding: .55rem .7rem;
  border-radius: var(--r-sm);
  cursor: pointer;
  font-size: .95rem;
}
.check:hover { background: var(--cream-sunk); }
.check input { margin-top: .28rem; width: 1.05rem; height: 1.05rem; accent-color: var(--clay); flex: none; }
.check span { line-height: 1.45; }

.checker .btn--quiet { border-color: var(--rule); }
.checker .btn--quiet:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); }

#checker-result { margin-top: 2.5rem; padding-top: 2.25rem; border-top: 1px solid var(--rule); }
#checker-result h3 { font-family: var(--font-display); font-size: var(--step-2); font-weight: 500; margin: 0 0 1rem; letter-spacing: -.022em; }
#checker-result h4 { font-size: .96rem; font-weight: 600; margin: 1.85rem 0 .6rem; }
#checker-result > ul { padding-left: 1.3rem; }
#checker-result > ul li { margin-bottom: .5rem; }

.summary-box {
  background: var(--honey-pale);
  border-radius: var(--r-md);
  padding: 1.6rem 1.85rem;
  margin-bottom: 1.5rem;
}
.summary-box ul { margin: .4rem 0 0; padding-left: 1.25rem; }
.summary-box li { margin-bottom: .35rem; }

/* --------------------------------------------------------------- closing */

.closing { background: var(--forest); color: var(--on-dark); }
.closing-inner {
  padding-block: clamp(3.5rem, 8vw, 6rem);
  max-width: 44rem;
}
.closing .eyebrow { color: var(--honey); }
.closing h2 {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.028em;
  margin: 0 0 1rem;
}
.closing p { color: var(--on-dark-soft); margin: 0 0 2rem; font-size: var(--step-1); max-width: 38ch; }
.closing-actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.closing .btn--quiet { border-color: rgba(244,239,226,.45); color: var(--on-dark); }
.closing .btn--quiet:hover { background: var(--on-dark); color: var(--forest); border-color: var(--on-dark); }

/* ---------------------------------------------------------------- footer */

.site-footer {
  background: var(--forest-deep);
  color: var(--on-dark);
  padding-block: 4rem 2.25rem;
  font-size: .95rem;
}

.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 2.25rem; } }

.footer-about .brand-name { display: block; margin-bottom: .7rem; color: var(--on-dark); }
.footer-about p { margin: 0; color: var(--on-dark-soft); max-width: 34ch; }

.site-footer h2 {
  font-size: .72rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--honey);
  margin: 0 0 1rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .65rem; }
.site-footer nav a { color: var(--on-dark-soft); text-decoration: none; }
.site-footer nav a:hover { color: var(--on-dark); text-decoration: underline; }

.disclaimer {
  border-radius: var(--r-md);
  background: rgba(0,0,0,.22);
  padding: 1.6rem 1.85rem;
  font-size: .87rem; line-height: 1.6;
  color: var(--on-dark-soft);
}
.disclaimer p { margin: 0 0 .85rem; }
.disclaimer p:last-child { margin-bottom: 0; }
.disclaimer strong { color: var(--on-dark); }
.disclaimer a { color: var(--honey); }

.copyright { margin: 2.25rem 0 0; font-size: .82rem; color: var(--on-dark-soft); opacity: .65; }

/* ----------------------------------------------------------------- print */

@media print {
  .site-header, .site-nav, .hero-actions, .toc, .rail, .related, .closing,
  .nav-toggle, .checker-actions, .page-tools, .strip, .band, .hero-media,
  .page-head-media { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .page-head, .site-footer, .takeaways, .callout--seek-help { background: #fff !important; color: #000 !important; }
  .callout--seek-help::before { color: #000 !important; }
  .wrap { width: 100%; }
  .layout--with-rail { display: block; }
  .faq-item summary::after { display: none; }
  .faq-answer { display: block !important; }
}

/* ======================================================================
   Clinic components
   ====================================================================== */

.btn--lg { padding: 1.05rem 2.25rem; font-size: 1.05rem; }

/* ----------------------------------------------------------------- steps */

.steps { padding-block: var(--gap-section); }

.step-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  counter-reset: step;
}

.step {
  background: var(--bg-raised);
  border-radius: var(--r-md);
  padding: 2rem 1.85rem;
  border: 1px solid var(--rule);
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.1rem; height: 2.1rem;
  border-radius: 50%;
  background: var(--honey);
  color: #191612;
  font-weight: 600; font-size: .95rem;
  margin-bottom: 1rem;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 1.22rem; font-weight: 500;
  letter-spacing: -.015em;
  margin: 0 0 .6rem;
}
.step p { margin: 0; color: var(--ink-soft); font-size: .96rem; line-height: 1.6; }

/* --------------------------------------------------------- symptom grid */

.symptom-grid-section { background: var(--honey-pale); padding-block: var(--gap-section); }

.symptom-grid { display: flex; flex-wrap: wrap; gap: .7rem; }
.symptom-grid a {
  display: inline-block;
  padding: .8rem 1.4rem;
  background: var(--bg-raised);
  border-radius: var(--r-pill);
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: .98rem;
  border: 1px solid transparent;
  transition: border-color .14s ease, transform .14s ease;
}
.symptom-grid a:hover { border-color: var(--ink); transform: translateY(-2px); }

/* --------------------------------------------------------------- doctors */

.doctors-block { padding-block: var(--gap-section); }

.assurance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.assurance h3 {
  font-size: .8rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 .7rem;
}
.assurance p { margin: 0; color: var(--ink-soft); font-size: .96rem; line-height: 1.6; }

/* --------------------------------------------------------------- pricing */

.pricing-block { background: var(--honey-pale); padding-block: var(--gap-section); }

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.price-card {
  background: var(--bg-raised);
  border-radius: var(--r-lg);
  padding: 2.25rem 2rem;
}
.price-label {
  font-size: .78rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 .9rem;
}
.price-amount {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1;
  margin: 0 0 1rem;
}
.price-period { font-size: 1.1rem; color: var(--ink-faint); letter-spacing: 0; }
.price-detail { margin: 0; color: var(--ink-soft); font-size: .98rem; line-height: 1.6; }
.price-note { margin: 0; font-size: .9rem; color: var(--ink-faint); }

/* ------------------------------------------------------- article credits */

.credits { margin: 0; }
.byline, .reviewed { margin: 0; font-size: .85rem; color: var(--ink-soft); }
.byline { margin-bottom: .25rem; }
.reviewed strong { color: var(--ink); font-weight: 600; }

/* ------------------------------------------------- related / hub listing */

.hub-articles { padding-block: 1rem var(--gap-section); }
.hub-articles > h2 {
  font-family: var(--font-display);
  font-size: var(--step-2); font-weight: 500;
  letter-spacing: -.022em;
  margin: 0 0 1.75rem;
}

.rel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.rel-card {
  display: block;
  background: var(--bg-raised);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: 1.6rem 1.75rem;
  text-decoration: none;
  color: var(--ink);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.rel-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.rel-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 500;
  letter-spacing: -.015em;
  margin: 0 0 .5rem;
}
.rel-card p { margin: 0; color: var(--ink-soft); font-size: .92rem; line-height: 1.55; }

.related { max-width: none; border-top: 0; padding-top: 0; }
.related > h2 {
  font-family: var(--font-display);
  font-size: var(--step-2); font-weight: 500;
  letter-spacing: -.022em; text-transform: none;
  color: var(--ink);
  margin: 0 0 1.75rem;
}

.empty { color: var(--ink-faint); font-style: italic; }

/* ------------------------------------------------------------ inline CTA */

.inline-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: var(--honey-pale);
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: var(--gap-section);
}
.inline-cta-copy { max-width: 46ch; }
.inline-cta h2 {
  font-family: var(--font-display);
  font-size: var(--step-2); font-weight: 500;
  letter-spacing: -.022em;
  margin: 0 0 .7rem;
}
.inline-cta p { margin: 0; color: var(--ink-soft); }

.rail-cta {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: var(--honey-pale);
  border-radius: var(--r-md);
}
.rail-cta h2 {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 500;
  letter-spacing: -.015em;
  margin: 0 0 .5rem;
  text-transform: none; color: var(--ink);
}
.rail-cta p { margin: 0 0 1rem; font-size: .9rem; color: var(--ink-soft); line-height: 1.5; }

/* ====================================================== symptom check ==== */

.check-page { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.check-app { max-width: 46rem; margin-inline: auto; }

.check-intro h1 {
  font-family: var(--font-display);
  font-size: var(--step-3); font-weight: 500;
  letter-spacing: -.03em; line-height: 1.05;
  margin: 0 0 1rem;
}
.check-intro .standfirst {
  font-size: var(--step-1); color: var(--ink-soft);
  margin: 0 0 2rem; line-height: 1.5;
}

.check-points { list-style: none; margin: 0 0 2.5rem; padding: 0; }
.check-points li {
  padding: 1rem 0 1rem 1.75rem;
  border-bottom: 1px solid var(--rule);
  position: relative;
  color: var(--ink-soft);
}
.check-points li::before {
  content: "";
  position: absolute; left: 0; top: 1.5rem;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--honey);
}
.check-points strong { color: var(--ink); }

.check-note { margin: 1.25rem 0 0; font-size: .85rem; color: var(--ink-faint); }

/* progress */

.check-quiz, .check-result { scroll-margin-top: 96px; }
.check-progress { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.check-progress-bar {
  height: 6px;
  background: var(--cream-sunk);
  border-radius: var(--r-pill);
  overflow: hidden;
}
.check-progress-fill {
  height: 100%;
  width: 0;
  background: var(--honey);
  border-radius: var(--r-pill);
  transition: width .25s ease;
}
.check-progress-text {
  margin: .7rem 0 0;
  font-size: .8rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-faint);
}

/* question */

.check-question { min-height: 20rem; }
.check-question-title {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1.1;
  margin: 0 0 .75rem;
}
.check-question-help { margin: 0 0 2rem; color: var(--ink-soft); }

.check-options { display: grid; gap: .7rem; }

.check-option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 1.15rem 1.5rem;
  border-radius: var(--r-md);
  border: 1.5px solid var(--rule);
  background: var(--bg-raised);
  color: var(--ink);
  font: inherit;
  font-size: 1.05rem;
  cursor: pointer;
  transition: border-color .12s ease, background .12s ease, transform .12s ease;
}
.check-option:hover { border-color: var(--ink); transform: translateY(-1px); }
.check-option.is-selected { border-color: var(--honey-deep); background: var(--honey-pale); font-weight: 600; }

.check-nav { margin-top: 2.25rem; }

/* result */

.result-head { margin-bottom: 2.5rem; }
.check-result-title {
  font-family: var(--font-display);
  font-size: var(--step-3); font-weight: 500;
  letter-spacing: -.03em; line-height: 1.05;
  margin: 0 0 .9rem;
}
.check-result .standfirst { font-size: var(--step-1); color: var(--ink-soft); margin: 0; line-height: 1.5; }

.result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.1rem;
  margin-bottom: 2.5rem;
}
.result-card {
  background: var(--bg-raised);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: 1.5rem;
}
.result-card h3 {
  font-size: .78rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 .6rem;
}
.result-level {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 500;
  letter-spacing: -.02em;
  margin: 0 0 .85rem;
}
.result-meter {
  height: 6px;
  background: var(--cream-sunk);
  border-radius: var(--r-pill);
  overflow: hidden;
  margin-bottom: 1rem;
}
.result-meter span { display: block; height: 100%; background: var(--honey); border-radius: var(--r-pill); }
.result-card--moderate .result-meter span { background: var(--honey-deep); }
.result-card--marked .result-meter span { background: var(--clay); }
.result-text { margin: 0 0 .75rem; font-size: .92rem; color: var(--ink-soft); line-height: 1.55; }
.result-blurb { margin: 0; font-size: .85rem; color: var(--ink-faint); line-height: 1.5; }

.result-flagged { margin-bottom: 2rem; }
.result-flagged .summary-box h3 { margin: 0 0 .6rem; font-size: 1.05rem; }

.result-disclaimer { margin-bottom: 2.5rem; }

.result-questions { margin-bottom: 2.5rem; }
.result-questions h2 {
  font-family: var(--font-display);
  font-size: var(--step-2); font-weight: 500;
  letter-spacing: -.022em;
  margin: 0 0 1rem;
}
.result-questions ul { padding-left: 1.3rem; margin: 0; }
.result-questions li { margin-bottom: .6rem; color: var(--ink-soft); }

.result-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: var(--gap-section); }

/* capture */

.capture {
  background: var(--forest);
  color: var(--on-dark);
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: var(--gap-section);
}
.capture .eyebrow { color: var(--honey); }
.capture h2 {
  font-family: var(--font-display);
  font-size: var(--step-2); font-weight: 500;
  letter-spacing: -.022em;
  margin: 0 0 .8rem;
}
.capture-copy p { color: var(--on-dark-soft); margin: 0 0 2rem; max-width: 52ch; }

.capture-form { max-width: 34rem; }
.field { margin-bottom: 1.25rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .5rem; }
.field input[type="email"] {
  width: 100%;
  padding: .9rem 1.1rem;
  border-radius: var(--r-sm);
  border: 1.5px solid rgba(244,239,226,.3);
  background: rgba(0,0,0,.2);
  color: var(--on-dark);
  font: inherit;
  font-size: 1.05rem;
}
.field input[type="email"]::placeholder { color: rgba(244,239,226,.4); }
.field input[type="email"]:focus { border-color: var(--honey); outline: none; }

.field-error { margin: .5rem 0 0; font-size: .88rem; color: #ffb4a2; }

.field--check { margin-bottom: 1.75rem; }
.consent { display: flex; gap: .75rem; align-items: flex-start; font-weight: 400; font-size: .9rem; line-height: 1.55; cursor: pointer; }
.consent input { margin-top: .25rem; width: 1.1rem; height: 1.1rem; accent-color: var(--honey); flex: none; }
.consent span { color: var(--on-dark-soft); }
.consent a { color: var(--honey); }

.capture-status { margin: 1rem 0 0; font-size: .9rem; color: var(--on-dark-soft); }
.capture-status.is-error { color: #ffb4a2; }

.capture-done h3 {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 500;
  margin: 0 0 .6rem;
}
.capture-done p { margin: 0; color: var(--on-dark-soft); }

/* next steps */

.result-next { margin-bottom: var(--gap-section); }
.result-next h2 {
  font-family: var(--font-display);
  font-size: var(--step-2); font-weight: 500;
  letter-spacing: -.022em;
  margin: 0 0 1.5rem;
}
.next-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.next-card {
  background: var(--bg-raised);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: 1.75rem;
}
.next-card--ours { background: var(--honey-pale); border-color: transparent; }
.next-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 500;
  letter-spacing: -.015em;
  margin: 0 0 .6rem;
}
.next-card p { margin: 0 0 1.1rem; color: var(--ink-soft); font-size: .94rem; line-height: 1.55; }
.next-card p:last-child { margin-bottom: 0; }

@media print {
  .no-print, .check-intro, .check-quiz, .check-progress { display: none !important; }
  .result-card, .next-card, .summary-box { border: 1px solid #ccc !important; background: #fff !important; }
  .result-meter { display: none; }
}
