:root {
  color-scheme: light;
  --ink: #17221d;
  --muted: #59665f;
  --paper: #f6f8f2;
  --card: #ffffff;
  --accent: #276749;
  --accent-dark: #164c35;
  --line: #dce5dc;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 80% 5%, #dceedd 0, transparent 32rem),
    var(--paper);
  line-height: 1.65;
}
a { color: inherit; }
.shell { width: min(70rem, calc(100% - 2rem)); margin: 0 auto; }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.5rem;
}
.brand { font-size: 1.2rem; font-weight: 800; text-decoration: none; letter-spacing: -.02em; }
.nav-links { display: flex; gap: 1rem; font-size: .9rem; }
.nav-links a { color: var(--muted); text-decoration: none; }
.hero { padding: 5rem 0 3rem; }
.eyebrow { color: var(--accent); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
h1 { max-width: 12ch; margin: .5rem 0 1rem; font-size: clamp(3rem, 11vw, 6.5rem); line-height: .95; letter-spacing: -.06em; }
.lead { max-width: 38rem; font-size: clamp(1.2rem, 4vw, 1.65rem); color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.button {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: 0 1.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  font-weight: 700;
  text-decoration: none;
}
.button.primary { border-color: var(--accent); color: #fff; background: var(--accent); }
.button:hover, .button:focus-visible { border-color: var(--accent-dark); transform: translateY(-1px); }
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 2rem 0 5rem;
}
.feature {
  min-height: 10rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: rgba(255,255,255,.78);
}
.feature span { display: block; color: var(--accent); font-size: .8rem; font-weight: 800; }
.feature h2 { margin: .5rem 0; font-size: 1.25rem; }
.feature p { margin: 0; color: var(--muted); }
.document { max-width: 48rem; padding: 3rem 0 6rem; }
.document h1 { max-width: none; font-size: clamp(2.4rem, 8vw, 4rem); }
.document h2 { margin-top: 2.2rem; }
.document p, .document li { color: var(--muted); }
footer { padding: 1.5rem 0 2.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
footer .shell { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }

@media (min-width: 42rem) {
  .shell { width: min(70rem, calc(100% - 4rem)); }
  .hero { padding: 8rem 0 5rem; }
  .features { grid-template-columns: repeat(2, 1fr); }
}

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