:root {
  --bg: #faf8f4;
  --fg: #1e1c1a;
  --muted: #6b6560;
  --accent: #7a4a2b;
  --rule: #d9d2c7;
  --measure: 38rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #191715;
    --fg: #e6e1da;
    --muted: #9a938b;
    --accent: #d09a6e;
    --rule: #3a3530;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
  max-width: var(--measure);
  background: var(--bg);
  color: var(--fg);
  font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
  font-size: 1.05rem;
  line-height: 1.6;
}

header h1 {
  font-size: 1.6rem;
  font-weight: normal;
  font-style: italic;
  margin: 0 0 0.25rem;
}

header p.tagline {
  margin: 0;
  color: var(--muted);
}

h2 {
  font-size: 1.1rem;
  font-weight: normal;
  font-style: italic;
  /* Space, no rule: the section break is the gap itself. The old
     padding-top went with the border it sat under -- kept without it,
     it just stacked dead space on top of this margin. */
  margin: 2.5rem 0 0.75rem;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

pre {
  overflow-x: auto;
  padding: 0.9rem 1rem;
  border: 1px solid var(--rule);
  border-radius: 4px;
  font-size: 0.82rem;
  line-height: 1.5;
}

code {
  font-family: ui-monospace, "IBM Plex Mono", Menlo, monospace;
}

footer {
  margin-top: 3rem;
  color: var(--muted);
  font-size: 0.9rem;
}
