:root {
  color-scheme: light;
  --ink: #17211b;
  --muted: #59655e;
  --paper: #f4f2e9;
  --surface: #fffdf7;
  --green: #1e5637;
  --green-dark: #123c26;
  --lime: #cbe86b;
  --line: #d8d8ca;
  --shadow: 0 18px 50px rgb(24 48 32 / 9%);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 85% 5%, rgb(203 232 107 / 18%), transparent 28rem),
    var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

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

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

.site-header,
footer,
main {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: var(--green);
  color: white;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

nav,
footer div {
  display: flex;
  align-items: center;
  gap: 26px;
}

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

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

.hero {
  padding: 110px 0 120px;
  max-width: 930px;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 28px;
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 780;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.lead {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--green);
  border-radius: 999px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgb(30 86 55 / 15%);
}

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

.button.secondary {
  background: transparent;
  color: var(--green);
}

.section {
  padding: 96px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 50px;
}

.section-heading p,
.prose,
.card p {
  color: var(--muted);
}

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

.card {
  min-height: 260px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.card-number {
  display: inline-block;
  margin-bottom: 55px;
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
  font-weight: 750;
}

.card p { margin-bottom: 0; }

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 8vw, 110px);
}

.prose p:first-child { margin-top: 0; }
.prose p { font-size: 1.05rem; }
.text-link { font-weight: 750; }

.callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.callout h2 { max-width: 700px; margin-bottom: 0; }

footer {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.policy-page {
  max-width: 900px;
}

.policy-hero {
  padding: 94px 0 65px;
  border-bottom: 1px solid var(--line);
}

.policy-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(3rem, 7vw, 5.5rem);
}

.effective-date {
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.9rem;
}

.policy-content {
  padding: 34px 0 100px;
}

.policy-content section {
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}

.policy-content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.03em;
}

.policy-content p,
.policy-content li {
  color: #3f4b44;
}

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

code {
  padding: 0.15em 0.35em;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #eae9df;
  color: var(--green-dark);
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .site-header {
    padding: 16px 0;
    align-items: flex-start;
  }

  .brand > span:last-child { display: none; }
  nav { flex-wrap: wrap; justify-content: flex-end; gap: 12px 18px; }
  .hero { padding: 80px 0 90px; }
  .card-grid, .split { grid-template-columns: 1fr; }
  .card { min-height: auto; }
  .card-number { margin-bottom: 35px; }
  .callout, footer { align-items: flex-start; flex-direction: column; }
  footer { padding: 30px 0; }
}

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