:root {
  --ink: #1f2a26;
  --muted: #5b6863;
  --paper: #f6f4ee;
  --panel: #ffffff;
  --line: #dcd8cc;
  --accent: #2f5d50;
  --accent-soft: #e4ece6;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e8ece8;
    --muted: #a6b2ad;
    --paper: #141a18;
    --panel: #1c2421;
    --line: #2e3a36;
    --accent: #8cc2ad;
    --accent-soft: #22302b;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

h1, h2, h3 {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

a { color: var(--accent); text-underline-offset: 3px; }

.container { max-width: 760px; margin: 0 auto; padding: 0 22px; }

.topbar { border-bottom: 1px solid var(--line); }
.topbar .container {
  display: flex; flex-wrap: wrap; gap: 12px 24px;
  align-items: center; justify-content: space-between;
  padding-top: 18px; padding-bottom: 18px;
}
.wordmark {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 1.35rem; font-weight: 600; color: var(--ink); text-decoration: none;
}
.menu { display: flex; gap: 20px; font-size: 0.95rem; }
.menu a { color: var(--muted); text-decoration: none; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--accent); }

.intro { padding: 72px 0 40px; }
.intro h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin: 0 0 16px; }
.intro p { font-size: 1.15rem; color: var(--muted); margin: 0; max-width: 34em; }

.pillars {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px; margin: 8px 0 56px;
}
.pillar {
  background: var(--panel); border: 1px solid var(--line);
  border-left: 4px solid var(--accent); border-radius: 6px; padding: 18px 20px;
}
.pillar h2 { font-size: 1.1rem; margin: 0 0 6px; }
.pillar p { margin: 0; color: var(--muted); font-size: 0.97rem; }

.page { padding: 48px 0 64px; }
.page h1 { font-size: 2.1rem; margin: 0 0 6px; }
.page .updated { color: var(--muted); margin: 0 0 32px; font-size: 0.95rem; }
.page h2 { font-size: 1.3rem; margin: 36px 0 8px; }

.note {
  background: var(--accent-soft); border-radius: 6px; padding: 16px 20px; margin: 24px 0;
}

address { font-style: normal; }

.bottombar { border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--muted); }
.bottombar .container { padding-top: 24px; padding-bottom: 32px; }
.bottombar p { margin: 4px 0; }
.bottombar a { color: var(--muted); }
