:root {
  color-scheme: light;
  --ink: #18251f;
  --muted: #617069;
  --paper: #fbfdf9;
  --surface: rgba(255, 255, 255, 0.84);
  --line: #dfe8e1;
  --green: #1e8f61;
  --green-dark: #116341;
  --mint: #dff5e9;
  --gold: #f3b652;
  --shadow: 0 18px 55px rgba(24, 65, 45, 0.1);
  --radius: 24px;
  font-family: Inter, ui-rounded, "SF Pro Rounded", "SF Pro Display", -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(104, 211, 154, 0.22), transparent 34rem),
    radial-gradient(circle at 95% 18%, rgba(243, 182, 82, 0.13), transparent 28rem),
    var(--paper);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--green-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

a:focus-visible {
  outline: 3px solid rgba(30, 143, 97, 0.35);
  outline-offset: 4px;
  border-radius: 6px;
}

.site-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  color: white;
  background: linear-gradient(145deg, #36b77c, #14794e);
  box-shadow: 0 9px 22px rgba(30, 143, 97, 0.25);
  font-size: 1.3rem;
  font-weight: 900;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.site-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--green-dark);
  background: var(--mint);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(240px, 0.55fr);
  gap: 36px;
  align-items: end;
  padding: 72px 0 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

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

h1 {
  max-width: 780px;
  font-size: clamp(2.75rem, 7vw, 5.8rem);
}

.document-hero h1 {
  font-size: clamp(2.55rem, 6vw, 5rem);
}

.hero-copy {
  max-width: 740px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.updated-card {
  padding: 22px;
  border: 1px solid rgba(30, 143, 97, 0.16);
  border-radius: 22px;
  background: rgba(223, 245, 233, 0.7);
}

.updated-card span {
  display: block;
  color: var(--green-dark);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.updated-card strong {
  display: block;
  margin-top: 7px;
  font-size: 1.02rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 8px 0 72px;
}

.card {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--surface);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.card:hover {
  border-color: rgba(30, 143, 97, 0.45);
  box-shadow: 0 22px 62px rgba(24, 65, 45, 0.14);
  transform: translateY(-4px);
}

.card-number {
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.card h2 {
  margin-top: 22px;
  font-size: 1.5rem;
}

.card p {
  margin: 13px 0 24px;
  color: var(--muted);
  font-size: 0.96rem;
}

.card-action {
  margin-top: auto;
  color: var(--green-dark);
  font-size: 0.88rem;
  font-weight: 800;
}

.document-layout {
  display: grid;
  grid-template-columns: minmax(180px, 0.26fr) minmax(0, 0.74fr);
  gap: 42px;
  align-items: start;
  padding-bottom: 80px;
}

.toc {
  position: sticky;
  top: 24px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.toc strong {
  display: block;
  margin-bottom: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.toc a {
  display: block;
  padding: 5px 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
  text-decoration: none;
}

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

.document {
  padding: clamp(26px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.document section + section {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.document h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.document h3 {
  margin-top: 28px;
  font-size: 1.08rem;
  letter-spacing: -0.015em;
}

.document p,
.document li {
  color: #394840;
}

.document p {
  margin: 14px 0 0;
}

.document ul {
  margin: 14px 0 0;
  padding-left: 1.25em;
}

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

.notice {
  margin: 28px 0 0;
  padding: 18px 20px;
  border-left: 4px solid var(--green);
  border-radius: 5px 16px 16px 5px;
  background: var(--mint);
  color: #254536;
}

.support-panel {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 30px;
}

.support-option {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
}

.support-option h2 {
  font-size: 1.25rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 18px;
  padding: 0 20px;
  border-radius: 999px;
  color: white;
  background: var(--green-dark);
  font-weight: 800;
  text-decoration: none;
}

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

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  color: inherit;
}

@media (max-width: 820px) {
  .hero,
  .document-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 24px;
    padding-top: 44px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
  }

  .toc a {
    display: inline-block;
    margin-right: 14px;
  }
}

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

  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
  }

  .site-nav a {
    padding-left: 0;
    padding-right: 16px;
    background: transparent !important;
  }

  .support-panel {
    grid-template-columns: 1fr;
  }

  .document {
    border-radius: 22px;
  }
}

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

  .card {
    transition: none;
  }
}
