:root {
  --bg: #fbfaf6;
  --fg: #23221f;
  --muted: #76726a;
  --accent: #4f6b3a;
  --rule: #e4e0d6;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #191a17;
    --fg: #e6e3da;
    --muted: #9b978d;
    --accent: #a9c38f;
    --rule: #2f302b;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0 auto;
  max-width: 40rem;
  padding: 2.5rem 1.25rem 3rem;
  font: 1.125rem/1.65 "Iowan Old Style", Charter, "Bitstream Charter", Georgia, "Times New Roman", serif;
  color: var(--fg);
  background: var(--bg);
}
a { color: var(--accent); text-underline-offset: 0.15em; }
header.site {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem 1.5rem;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--rule);
}
.brand { color: var(--fg); text-decoration: none; font-weight: 600; letter-spacing: 0.01em; }
nav a { margin-left: 1rem; font-size: 0.95rem; }
nav a:first-child { margin-left: 0; }
h1 { font-size: 1.75rem; line-height: 1.25; margin: 0 0 0.25rem; }
h2 { font-size: 1.15rem; margin: 2rem 0 0.5rem; color: var(--muted); }
.meta, time { color: var(--muted); font-size: 0.9rem; }
.meta { margin-top: 0; margin-bottom: 1.75rem; }
.lede { color: var(--muted); margin-top: 0; }
ul.posts, ul.archive { list-style: none; padding: 0; }
ul.posts li { margin: 0 0 1.75rem; }
ul.posts li > a { font-size: 1.2rem; font-weight: 600; text-decoration: none; }
ul.posts li > time { display: block; }
ul.posts p { margin: 0.35rem 0 0; }
ul.archive li { margin: 0.35rem 0; }
ul.archive time { display: inline-block; min-width: 4.5rem; }
.back { margin-top: 2.5rem; font-size: 0.95rem; }
footer.site {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.85rem;
}
