:root {
  color-scheme: light dark;
  --canvas: #f7f5ef;
  --surface: #fffdf8;
  --ink: #22231f;
  --muted: #66685f;
  --line: #d9d6ca;
  --clay: #c85f3c;
  --clay-strong: #9d462c;
  --clay-tint: #f3ddd4;
  --moss: #3f7455;
  --content: 1160px;
  --reading: 700px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--canvas);
  font-family: ui-rounded, "SF Pro Rounded", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 86% 2%, color-mix(in srgb, var(--clay-tint) 70%, transparent) 0, transparent 34rem),
    var(--canvas);
  font-size: 17px;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration-color: color-mix(in srgb, var(--clay) 65%, transparent);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--clay-strong);
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--clay) 55%, transparent);
  outline-offset: 4px;
  border-radius: 4px;
}

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

.site-header {
  min-height: 88px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 760;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  display: block;
  border-radius: 10px;
}

nav,
footer div {
  display: flex;
  gap: 26px;
}

nav a,
footer a {
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
}

nav a[aria-current="page"],
footer a[aria-current="page"] {
  color: var(--ink);
}

.hero,
.principles,
.support-shell,
.policy-shell {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.hero {
  max-width: 980px;
  margin-block: clamp(84px, 14vw, 168px) clamp(108px, 18vw, 210px);
  text-align: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--clay-strong);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  margin-bottom: 28px;
  font-size: clamp(48px, 8vw, 92px);
  font-weight: 780;
}

h2 {
  font-size: clamp(34px, 5vw, 56px);
}

h3 {
  margin-bottom: 10px;
  font-size: 23px;
}

.lede {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(19px, 2.8vw, 25px);
  line-height: 1.55;
}

.actions {
  margin-top: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 16px;
  background: var(--clay);
  color: #fffaf6;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 9px 24px color-mix(in srgb, var(--clay) 22%, transparent);
}

.button:hover {
  background: var(--clay-strong);
  color: white;
}

.text-link {
  font-weight: 750;
  text-decoration: none;
}

.principles {
  padding-block: clamp(70px, 10vw, 120px);
  border-top: 1px solid var(--line);
}

.principles > div:first-child {
  max-width: 720px;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 54px;
}

.principle-grid article,
.summary-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: color-mix(in srgb, var(--surface) 84%, transparent);
}

.principle-grid article {
  padding: 28px;
}

.principle-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.number {
  display: block;
  margin-bottom: 42px;
  color: var(--clay);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.policy-shell {
  display: grid;
  grid-template-columns: minmax(250px, 0.75fr) minmax(0, 1.55fr);
  gap: clamp(50px, 9vw, 120px);
  padding-block: clamp(70px, 10vw, 120px);
}

.policy-summary {
  align-self: start;
  position: sticky;
  top: 34px;
}

.policy-summary h1,
.support-intro h1 {
  font-size: clamp(42px, 6vw, 66px);
}

.policy-summary > p:nth-of-type(2) {
  color: var(--muted);
}

.summary-card {
  margin-top: 34px;
  padding: 24px;
}

.summary-card ul {
  margin-bottom: 0;
  padding-left: 21px;
  color: var(--muted);
}

.policy-content {
  max-width: var(--reading);
}

.policy-content section + section {
  margin-top: 66px;
  padding-top: 2px;
}

.policy-content h2,
.faq h2 {
  margin-bottom: 22px;
  font-size: clamp(28px, 4vw, 38px);
}

.policy-content h3 {
  margin-top: 28px;
  font-size: 20px;
}

.policy-content p,
.policy-content li {
  color: var(--muted);
}

.policy-content li + li {
  margin-top: 8px;
}

.support-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(56px, 10vw, 130px);
  padding-block: clamp(80px, 12vw, 140px);
}

.support-intro {
  align-self: start;
}

.support-intro .lede {
  margin-inline: 0;
  font-size: 20px;
}

.support-intro .button {
  margin-top: 30px;
}

.faq details {
  border-top: 1px solid var(--line);
  padding-block: 24px;
}

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

.faq summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 19px;
  font-weight: 720;
}

.faq details p {
  max-width: 620px;
  margin: 16px 0 0;
  color: var(--muted);
}

footer {
  min-height: 110px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 760px) {
  .site-header,
  footer,
  .hero,
  .principles,
  .support-shell,
  .policy-shell {
    width: min(calc(100% - 28px), var(--content));
  }

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

  nav {
    gap: 16px;
  }

  .hero {
    text-align: left;
  }

  .hero .lede {
    margin-inline: 0;
  }

  .actions {
    justify-content: flex-start;
  }

  .principle-grid,
  .policy-shell,
  .support-shell {
    grid-template-columns: 1fr;
  }

  .number {
    margin-bottom: 22px;
  }

  .policy-summary {
    position: static;
  }

  footer {
    padding-block: 26px;
    gap: 18px;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #171a17;
    --surface: #262924;
    --ink: #e8e6d9;
    --muted: #abada1;
    --line: #3c4039;
    --clay: #e87a57;
    --clay-strong: #f08d6d;
    --clay-tint: #472b21;
    --moss: #63ab7d;
  }

  .button {
    color: #171a17;
  }
}

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