:root {
  color-scheme: light;
  --cream: #fbf7ef;
  --paper: #fffdf8;
  --ink: #302c27;
  --muted: #756f67;
  --green: #477f61;
  --green-dark: #315f47;
  --green-soft: #e7f0e9;
  --coral: #f17154;
  --line: #e6dfd4;
  --shadow: 0 24px 70px rgba(56, 72, 60, 0.12);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--cream);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 90% 5%, rgba(71, 127, 97, 0.13), transparent 28rem),
    var(--cream);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--green-dark);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--green);
}

.site-header,
.site-footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header {
  min-height: 92px;
  border-bottom: 1px solid rgba(48, 44, 39, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand img {
  border-radius: 12px;
  box-shadow: 0 5px 16px rgba(49, 95, 71, 0.18);
}

nav {
  display: flex;
  gap: 8px;
}

nav a {
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
}

nav a:hover,
nav a.active {
  color: var(--green-dark);
  background: rgba(71, 127, 97, 0.09);
}

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

.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(50px, 8vw, 110px);
  padding: 90px 0 70px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.lede,
.summary {
  color: var(--muted);
  font-size: clamp(1.08rem, 2.1vw, 1.32rem);
  line-height: 1.55;
}

.lede {
  max-width: 650px;
  margin: 28px 0 0;
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 15px;
  font-size: 0.96rem;
  font-weight: 750;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

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

.button.primary {
  color: white;
  background: var(--green);
  box-shadow: 0 12px 28px rgba(49, 95, 71, 0.2);
}

.button.primary:hover {
  color: white;
  background: var(--green-dark);
}

.button.secondary {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 253, 248, 0.78);
}

.mascot-card {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(71, 127, 97, 0.15);
  border-radius: 42% 58% 51% 49% / 54% 43% 57% 46%;
  background:
    radial-gradient(circle at 45% 45%, #ffffff 0, #f5eee1 52%, #e6dccc 100%);
  box-shadow: var(--shadow);
}

.mascot-card img {
  position: relative;
  z-index: 2;
  width: 68%;
  border-radius: 28%;
  box-shadow: 0 28px 60px rgba(48, 44, 39, 0.22);
  transform: rotate(2deg);
}

.orbit {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(71, 127, 97, 0.22);
  border-radius: 50%;
}

.orbit-one {
  width: 82%;
  height: 36%;
  transform: rotate(-27deg);
}

.orbit-two {
  width: 36%;
  height: 82%;
  transform: rotate(27deg);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  margin-bottom: 40px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 253, 248, 0.72);
}

.trust-strip div {
  display: grid;
  gap: 5px;
  padding: 24px;
}

.trust-strip div + div {
  border-left: 1px solid var(--line);
}

.trust-strip strong {
  font-size: 1rem;
}

.trust-strip span,
.medical-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.medical-note {
  max-width: 780px;
  margin: 0 auto 90px;
  text-align: center;
}

.document-shell {
  width: min(860px, calc(100% - 40px));
  margin: 70px auto 100px;
}

.document {
  padding: clamp(28px, 7vw, 74px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: var(--shadow);
}

.document-heading {
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line);
}

.document-heading h1 {
  font-size: clamp(2.7rem, 8vw, 4.8rem);
}

.updated {
  margin: 16px 0 0;
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 720;
}

.summary {
  margin: 26px 0 0;
}

.document section {
  padding-top: 38px;
}

.document h2 {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 4vw, 1.85rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.document h3 {
  margin: 28px 0 6px;
  font-size: 1.08rem;
  line-height: 1.35;
}

.document p {
  margin: 10px 0;
  color: #514c46;
}

.document ul {
  padding-left: 1.3em;
}

.document li {
  margin: 8px 0;
  color: #514c46;
}

.provider-list a {
  white-space: nowrap;
}

.support-document .document-heading .button {
  margin-top: 24px;
}

.contact-line {
  font-size: 0.94rem;
}

details {
  border-top: 1px solid var(--line);
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  padding: 19px 2px;
  cursor: pointer;
  font-weight: 760;
  line-height: 1.35;
}

details p {
  padding: 0 2px 20px;
}

.support-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  margin-top: 42px;
  padding: 28px !important;
  border-radius: 22px;
  background: var(--green-soft);
}

.support-card h2 {
  max-width: 480px;
}

.site-footer {
  min-height: 110px;
  border-top: 1px solid rgba(48, 44, 39, 0.09);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer div {
  display: flex;
  gap: 20px;
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .site-header,
  .site-footer,
  .home,
  .document-shell {
    width: min(100% - 28px, 680px);
  }

  .site-header {
    min-height: 76px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 52px;
    padding: 68px 0 54px;
  }

  .mascot-card {
    width: min(82vw, 430px);
    margin: 0 auto;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-strip div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .document-shell {
    margin-top: 34px;
  }

  .document {
    border-radius: 25px;
  }

  .support-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 440px) {
  .brand span {
    display: none;
  }

  nav a {
    padding-inline: 10px;
  }

  .actions,
  .actions .button,
  .support-document .document-heading .button,
  .support-card .button {
    width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
