:root {
  color-scheme: light;
  --ink: #12211a;
  --muted: #526158;
  --paper: #f6f5ef;
  --surface: #ffffff;
  --line: #d8ddd8;
  --green: #145c41;
  --green-dark: #0c3b2a;
  --gold: #c89437;
  --max: 72rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  line-height: 1.65;
}

a { color: var(--green-dark); text-underline-offset: 0.18em; }
a:hover { color: var(--green); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
code { display: inline; overflow-wrap: anywhere; word-break: break-all; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: white;
  padding: 0.6rem 0.9rem;
  z-index: 10;
}
.skip-link:focus { top: 1rem; }

header {
  border-bottom: 1px solid var(--line);
  background: rgba(246, 245, 239, 0.97);
}

.nav {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  min-height: 4.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.wordmark {
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

nav ul { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
nav a { font-family: ui-sans-serif, system-ui, sans-serif; font-size: 0.92rem; font-weight: 650; }

main { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; }

.hero { padding: 6rem 0 4.5rem; max-width: 57rem; }
.eyebrow {
  color: var(--green);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

h1, h2, h3 { line-height: 1.12; }
h1 { font-size: clamp(2.8rem, 7vw, 5.7rem); letter-spacing: -0.045em; margin: 0; max-width: 14ch; }
h2 { font-size: clamp(1.75rem, 4vw, 2.7rem); letter-spacing: -0.025em; margin-top: 0; }
h3 { font-family: ui-sans-serif, system-ui, sans-serif; font-size: 1.02rem; margin: 0 0 0.6rem; }
.lede { color: var(--muted); font-size: clamp(1.18rem, 2.2vw, 1.48rem); margin: 1.6rem 0 0; max-width: 46rem; }

.status {
  border-left: 4px solid var(--gold);
  background: #fffaf0;
  margin-top: 2.2rem;
  max-width: 46rem;
  padding: 1rem 1.2rem;
}

.section { border-top: 1px solid var(--line); padding: 4rem 0; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.card { background: var(--surface); border: 1px solid var(--line); min-height: 12rem; padding: 1.5rem; }
.card p { color: var(--muted); margin: 0; }
.number { color: var(--green); font-family: ui-sans-serif, system-ui, sans-serif; font-size: 0.8rem; font-weight: 800; margin-bottom: 2rem; }

.measure { max-width: 48rem; }
.measure li + li { margin-top: 0.75rem; }
.policy-hero { padding: 4.5rem 0 3rem; max-width: 52rem; }
.policy-hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
.updated { color: var(--muted); font-family: ui-sans-serif, system-ui, sans-serif; font-size: 0.92rem; }

.callout { background: var(--green-dark); color: white; margin: 1.5rem 0; padding: 1.5rem; }
.callout a { color: white; }

footer { background: var(--ink); color: #e5ece7; margin-top: 3rem; }
.footer-inner {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem 0;
}
footer a { color: white; }

@media (max-width: 760px) {
  .nav { align-items: flex-start; flex-direction: column; gap: 0.6rem; padding: 1rem 0; }
  nav ul { gap: 1rem; flex-wrap: wrap; }
  .hero { padding: 4.5rem 0 3.5rem; }
  .grid { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .number { margin-bottom: 1rem; }
  .footer-inner { flex-direction: column; }
}

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