:root {
  color-scheme: light;
  --ink: #16231c;
  --muted: #58665e;
  --paper: #f6f4ee;
  --panel: rgba(255, 255, 255, 0.72);
  --line: #d9ddd7;
  --accent: #246b4a;
  --accent-soft: #dcecdf;
  --max: 70rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 4%, rgba(188, 217, 194, 0.7), transparent 25rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }

.site-header,
main,
.site-footer {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
}

.brand {
  color: var(--ink);
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
}

nav { display: flex; gap: 1rem; flex-wrap: wrap; }
nav a { font-size: 0.94rem; font-weight: 650; text-decoration: none; }

.hero { padding: clamp(4rem, 10vw, 8rem) 0 4rem; }
.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1, h2, h3 { line-height: 1.16; letter-spacing: -0.035em; }
h1 { max-width: 13ch; margin: 0; font-size: clamp(2.6rem, 8vw, 5.6rem); }
h2 { margin-top: 0; font-size: clamp(1.55rem, 3vw, 2.3rem); }
h3 { margin-bottom: 0.4rem; font-size: 1.08rem; }

.lede { max-width: 42rem; margin: 1.5rem 0 0; color: var(--muted); font-size: clamp(1.1rem, 2.2vw, 1.35rem); }
.actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 2rem; }
.button {
  display: inline-flex;
  padding: 0.72rem 1rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-weight: 750;
  text-decoration: none;
}
.button.primary { color: white; background: var(--accent); }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 0 0 5rem;
}

.card,
.document {
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--panel);
  box-shadow: 0 1rem 3rem rgba(31, 55, 42, 0.06);
}

.card { padding: 1.35rem; }
.card p { margin: 0; color: var(--muted); }

.document { max-width: 52rem; margin: 3rem auto 5rem; padding: clamp(1.4rem, 5vw, 3.5rem); }
.document h1 { max-width: none; font-size: clamp(2.2rem, 6vw, 4rem); }
.document h2 { margin-top: 2.25rem; }
.document p, .document li { color: #35463c; }
.document .updated { color: var(--muted); font-size: 0.92rem; }
.document ul { padding-left: 1.25rem; }
.notice {
  margin: 2rem 0;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--accent);
  border-radius: 0.35rem;
  background: var(--accent-soft);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
.site-footer p { margin: 0; }
.site-footer div { display: flex; gap: 1rem; flex-wrap: wrap; }

@media (max-width: 48rem) {
  .site-header, .site-footer { align-items: flex-start; flex-direction: column; }
  .grid { grid-template-columns: 1fr; }
}
