:root {
  --bg: #f6f2ea;
  --ink: #1f1c18;
  --muted: #5c574f;
  --line: #d8d0c4;
  --paper: #fffdf8;
  --accent: #3d5a45;
  --accent-ink: #f6f2ea;
  --max: 42rem;
  --wide: 56rem;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  font-size: 1.125rem;
  line-height: 1.6;
}

.wrap {
  width: min(var(--wide), calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header,
.site-footer {
  background: var(--paper);
  border-color: var(--line);
}

.site-header {
  border-bottom: 1px solid var(--line);
}

.site-header .wrap,
.site-footer .wrap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  font-weight: 650;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: inherit;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
}

nav a,
.site-footer a {
  color: var(--accent);
}

main {
  flex: 1;
  padding: 3rem 0 4rem;
}

.hero h1,
.prose h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  font-weight: 600;
}

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

.lede {
  color: var(--muted);
  font-size: 1.2rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  display: inline-block;
  padding: 0.65rem 1rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
}

.button-quiet {
  background: transparent;
  color: var(--accent);
}

.prose {
  max-width: var(--max);
}

.prose h2 {
  margin-top: 2.25rem;
  font-size: 1.35rem;
}

.prose dt {
  margin-top: 1.25rem;
  font-weight: 650;
}

.prose dd {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85em;
}

.site-footer {
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--muted);
}

.site-footer .wrap {
  flex-direction: column;
}

@media (max-width: 640px) {
  .site-header .wrap {
    flex-direction: column;
  }
}
