:root {
  --bg: #f6f4ef;
  --ink: #1c1b19;
  --muted: #6b675f;
  --line: #dcd7cc;
  --accent: #2f5d50;
  --max: 40rem;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141412;
    --ink: #ecebe6;
    --muted: #a19d93;
    --line: #2c2b27;
    --accent: #8cc4b2;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; width: 100%; max-width: var(--max); margin: 0 auto; padding: 4.5rem 1.25rem 3rem; }
.eyebrow {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
h1 { font-weight: 500; font-size: clamp(2.4rem, 7vw, 3.6rem); line-height: 1.05; letter-spacing: -0.02em; margin: 0.6rem 0 1.25rem; }
h2 { font-weight: 600; font-size: 1.2rem; margin: 2.4rem 0 0.5rem; }
p, li { color: var(--ink); }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 32rem; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
a { color: var(--accent); text-underline-offset: 0.2em; }
ul { padding-left: 1.2rem; }
footer {
  width: 100%; max-width: var(--max); margin: 0 auto; padding: 1.5rem 1.25rem 2.5rem;
  border-top: 1px solid var(--line);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 0.85rem; color: var(--muted);
  display: flex; gap: 1.25rem; flex-wrap: wrap;
}
footer a { color: var(--muted); }
.small { font-size: 0.9rem; color: var(--muted); }
