:root {
  --ink: #102018;
  --muted: #526159;
  --paper: #f7f5ed;
  --surface: #fffef8;
  --brand: #296b49;
  --brand-dark: #123e29;
  --brand-soft: #e9f1e9;
  --line: #d7dbd2;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
a { color: inherit; }
a:focus-visible { outline: 3px solid #a14d00; outline-offset: 4px; }
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 10px 14px;
  background: var(--surface);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header,
footer {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 24px clamp(20px, 5vw, 64px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  font-weight: 780;
  letter-spacing: -.02em;
  text-decoration: none;
}
.mark {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 11px;
}
.site-header nav,
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.site-header nav a,
footer nav a {
  color: var(--muted);
  font-weight: 650;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.site-header nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration-thickness: 3px;
}

main { min-height: calc(100vh - 220px); }
.hero,
.section,
.document {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding-right: clamp(20px, 5vw, 64px);
  padding-left: clamp(20px, 5vw, 64px);
}
.hero { padding-top: clamp(72px, 11vw, 150px); padding-bottom: clamp(90px, 12vw, 170px); }
.section { padding-top: clamp(72px, 9vw, 112px); padding-bottom: clamp(72px, 9vw, 112px); border-top: 1px solid var(--line); }
.eyebrow {
  color: var(--brand);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
h1,
.section-heading h2 {
  max-width: 850px;
  font-family: ui-serif, Georgia, serif;
  font-weight: 650;
  letter-spacing: -.055em;
  line-height: .98;
  text-wrap: balance;
}
h1 { margin: 18px 0 24px; font-size: clamp(3rem, 8vw, 6.6rem); }
.section-heading h2 { margin: 16px 0 0; font-size: clamp(2.25rem, 5vw, 4.4rem); }
.lede { max-width: 740px; color: var(--muted); font-size: clamp(1.1rem, 2.2vw, 1.4rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 26px; margin-top: 38px; }
.button {
  display: inline-block;
  padding: 13px 20px;
  border-radius: 999px;
  background: var(--brand-dark);
  color: #fff;
  font-weight: 760;
  text-decoration: none;
  transition: transform .18s ease, background-color .18s ease;
}
.button:hover { background: var(--brand); transform: translateY(-2px); }
.text-link { color: var(--brand-dark); font-weight: 750; text-underline-offset: 5px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 58px; }
.feature {
  min-height: 250px;
  padding: clamp(24px, 3.5vw, 38px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
}
.feature-number,
.card-number { color: var(--brand); font-size: .78rem; font-weight: 800; letter-spacing: .12em; }
.feature h3 { margin: 54px 0 8px; font-family: ui-serif, Georgia, serif; font-size: 1.65rem; line-height: 1.12; }
.feature p,
.card p { color: var(--muted); }
.overlap-note {
  max-width: 760px;
  margin: 22px 0 0;
  padding: 22px 24px;
  border-radius: 0 16px 16px 0;
  border-left: 5px solid var(--brand);
  background: var(--brand-soft);
}

.resources { border-top: 0; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 58px; }
.card {
  min-height: 300px;
  padding: clamp(24px, 3.5vw, 38px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease;
}
.card:hover { border-color: var(--brand); transform: translateY(-4px); }
.card h3 { margin: 54px 0 8px; font-family: ui-serif, Georgia, serif; font-size: 1.75rem; line-height: 1.1; }
.card-link { display: inline-block; margin-top: 18px; color: var(--brand-dark); font-weight: 750; }

.document { max-width: 920px; padding-top: clamp(64px, 9vw, 112px); padding-bottom: clamp(82px, 10vw, 130px); }
.document h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
.document-meta { color: var(--muted); }
.document article { margin-top: 64px; }
.document h2 {
  margin: 52px 0 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: ui-serif, Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.15;
}
.document h3 { margin: 34px 0 8px; font-size: 1.1rem; }
.document p,
.document li { max-width: 74ch; color: #263b30; }
.document ul,
.document ol { padding-left: 1.3rem; }
.notice {
  margin: 36px 0;
  padding: 22px 24px;
  border-left: 5px solid var(--brand);
  border-radius: 0 16px 16px 0;
  background: var(--brand-soft);
}

footer {
  align-items: flex-start;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .85rem;
}
footer > div { max-width: 430px; }
footer p { margin: 0; }
footer p + p { margin-top: 4px; }

@media (max-width: 840px) {
  .feature-grid,
  .cards { grid-template-columns: 1fr; }
  .feature,
  .card { min-height: 0; }
  footer { flex-wrap: wrap; }
}
@media (max-width: 660px) {
  .site-header { align-items: flex-start; flex-direction: column; gap: 14px; }
  .site-header nav { width: 100%; justify-content: space-between; gap: 8px 12px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  footer { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f3f5ef;
    --muted: #b5c0b9;
    --paper: #0d1711;
    --surface: #15231b;
    --brand: #83c79d;
    --brand-dark: #d1f2dd;
    --brand-soft: #1b3224;
    --line: #33443a;
    color-scheme: dark;
  }
  .button { background: #d1f2dd; color: #123e29; }
  .button:hover { background: #83c79d; }
  .document p,
  .document li { color: #d7ded9; }
}
