:root {
  --ink: #18231f;
  --muted: #64716b;
  --paper: #fbfaf6;
  --surface: #ffffff;
  --sage: #557262;
  --sage-dark: #2f5142;
  --sage-soft: #e7eee8;
  --sand: #efe8db;
  --line: #dde4dc;
  --shadow: 0 24px 70px rgba(30, 45, 39, 0.14);
  --serif: "Libre Baskerville", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  color: #fff;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(251, 250, 246, 0.94);
  color: var(--ink);
  box-shadow: 0 8px 32px rgba(24, 35, 31, 0.08);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--sage-dark);
  color: #fff;
  font-family: var(--serif);
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.94rem;
  font-weight: 700;
}

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

.nav-cta {
  padding: 10px 16px;
  border: 1px solid currentColor;
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  padding: 9px 14px;
  font: inherit;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(22, 31, 28, 0.86), rgba(22, 31, 28, 0.44) 46%, rgba(22, 31, 28, 0.08)),
    linear-gradient(0deg, rgba(22, 31, 28, 0.28), rgba(22, 31, 28, 0));
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 40px));
  margin-left: clamp(20px, 7vw, 96px);
  padding-top: 74px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #dbe9df;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  font-family: var(--serif);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 680px;
  font-size: clamp(3rem, 8vw, 6.7rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 4.2rem);
}

h3 {
  margin: 0 0 10px;
  font-size: 1.04rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 610px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.06rem, 2vw, 1.34rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--sage-dark);
  color: #fff;
  box-shadow: 0 14px 34px rgba(31, 55, 45, 0.24);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.78);
  color: #fff;
}

.notice {
  width: min(1120px, calc(100% - 40px));
  margin: -42px auto 0;
  position: relative;
  z-index: 2;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--muted);
}

.notice strong {
  color: var(--ink);
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0;
}

.intro-grid,
.split-section,
.care-layout,
.doctor-panel,
.sources {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
}

.section p {
  color: var(--muted);
  font-size: 1.03rem;
}

.stat-panel {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.stat-panel div {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.stat-panel div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.stat-number,
.stat-label {
  display: block;
}

.stat-number {
  color: var(--sage-dark);
  font-family: var(--serif);
  font-size: 2.4rem;
  line-height: 1;
}

.stat-label {
  margin-top: 6px;
  color: var(--muted);
  font-weight: 700;
}

.cards {
  display: grid;
  gap: 16px;
}

.cards.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-column: 1 / -1;
}

.card {
  min-height: 210px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.muted {
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100vw - 1120px) / 2));
  background: var(--sage-soft);
}

.section-heading {
  max-width: 760px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 42px;
  background: rgba(85, 114, 98, 0.28);
}

.timeline-item {
  padding: 28px;
  background: #f8fbf7;
}

.timeline-item span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--sage-dark);
  font-family: var(--serif);
  font-size: 2rem;
}

.care-list {
  display: grid;
  gap: 14px;
}

.care-list article {
  padding: 24px;
  border-left: 4px solid var(--sage);
  background: var(--surface);
  box-shadow: 0 18px 44px rgba(30, 45, 39, 0.08);
}

.doctor-panel {
  padding: 44px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
}

.doctor-panel .eyebrow,
.doctor-panel p {
  color: #d9e5dd;
}

.doctor-panel .button {
  justify-self: end;
  background: #fff;
  color: var(--ink);
}

.faq {
  padding-top: 86px;
}

.accordion {
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
  background: transparent;
}

summary {
  cursor: pointer;
  padding: 24px 0;
  color: var(--ink);
  font-weight: 800;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  float: right;
  color: var(--sage-dark);
}

details[open] summary::after {
  content: "-";
}

details p {
  max-width: 760px;
  margin-top: -8px;
  padding-bottom: 24px;
}

.sources {
  align-items: start;
  padding-top: 40px;
}

.sources ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sources li + li {
  margin-top: 12px;
}

.sources a {
  color: var(--sage-dark);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 36px clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
  background: #fff;
}

.site-footer p {
  max-width: 520px;
  margin: 10px 0 0;
  color: var(--muted);
}

.footer-note {
  text-align: right;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 12px;
  }

  .nav-cta {
    border-radius: 8px;
  }

  .hero {
    min-height: 650px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(22, 31, 28, 0.88), rgba(22, 31, 28, 0.54));
  }

  .intro-grid,
  .split-section,
  .care-layout,
  .doctor-panel,
  .sources {
    grid-template-columns: 1fr;
  }

  .cards.three,
  .timeline {
    grid-template-columns: 1fr;
  }

  .doctor-panel .button {
    justify-self: start;
  }

  .site-footer {
    flex-direction: column;
  }

  .footer-note {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 14px 16px;
  }

  .hero {
    min-height: 640px;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin-left: 16px;
  }

  h1 {
    font-size: 3.2rem;
  }

  .button {
    width: 100%;
  }

  .notice,
  .section {
    width: calc(100% - 32px);
  }

  .section {
    padding: 70px 0;
  }

  .muted {
    width: 100%;
    padding-inline: 16px;
  }

  .doctor-panel {
    padding: 28px;
  }
}
