:root {
  --bg: #ede8e0;
  --ink: #1c241c;
  --muted: #5c665c;
  --olive: #3d5c3a;
  --olive-deep: #2a4028;
  --card: #f7f3ec;
  --line: rgba(28, 36, 28, 0.12);
  --font: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: "Avenir Next", "Segoe UI", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(61, 92, 58, 0.12), transparent),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(61, 92, 58, 0.08), transparent),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
}

a {
  color: var(--olive-deep);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  max-width: 44rem;
  margin: 0 auto;
}

.brand {
  font-family: var(--font);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--olive-deep);
  text-decoration: none;
  letter-spacing: -0.02em;
}

nav {
  display: flex;
  gap: 1rem;
}

nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
}

nav a[aria-current="page"],
nav a:hover {
  color: var(--olive-deep);
}

.hero,
.doc {
  max-width: 40rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0 0 0.75rem;
}

.hero h1 {
  font-family: var(--font);
  font-size: clamp(2.5rem, 8vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  color: var(--olive-deep);
}

.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 28rem;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.button {
  display: inline-block;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  background: var(--olive);
  color: #f7f3ec;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.button.ghost {
  background: transparent;
  color: var(--olive-deep);
  box-shadow: inset 0 0 0 1.5px var(--olive);
}

.doc h1 {
  font-family: var(--font);
  font-size: 2.25rem;
  margin: 0 0 0.35rem;
  color: var(--olive-deep);
}

.doc h2 {
  font-family: var(--font);
  font-size: 1.35rem;
  margin: 2rem 0 0.5rem;
}

.doc h3 {
  font-size: 1.05rem;
  margin: 1.25rem 0 0.35rem;
}

.meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0;
}

footer {
  max-width: 44rem;
  margin: 0 auto;
  padding: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

footer a {
  text-decoration: none;
}
