:root {
  --paper: #f6f4ef;
  --ink: #1f2326;
  --muted: #5b6166;
  --rule: #d9d5cc;
  --slate: #3d4a52;
  --measure: 38rem;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #16191b;
    --ink: #e8e6e1;
    --muted: #a3a8ac;
    --rule: #2e3336;
    --slate: #9fb0ba;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1.0625rem/1.65 var(--sans);
}

.wrap {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 1rem;
}

header.masthead {
  padding: 4.5rem 0 2.5rem;
  border-bottom: 1px solid var(--rule);
}

.wordmark {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 9vw, 3.6rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.05;
  margin: 0;
}

.wordmark a { color: inherit; text-decoration: none; }

.rule-mark {
  display: block;
  width: 3rem;
  height: 3px;
  background: var(--slate);
  margin: 1.25rem 0 1.25rem;
}

.lede {
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.45;
  color: var(--ink);
  margin: 0;
}

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

main section {
  padding: 2rem 0;
  border-bottom: 1px solid var(--rule);
}

h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.45rem;
  margin: 0 0 0.75rem;
}

p { margin: 0 0 0.9rem; }
p:last-child { margin-bottom: 0; }

ul { margin: 0; padding-left: 1.2rem; }
li { margin: 0.35rem 0; }

a { color: var(--slate); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }

footer {
  padding: 2rem 0 3.5rem;
  font-size: 0.875rem;
  color: var(--muted);
}

footer p { margin: 0 0 0.5rem; }
