:root {
  --bg: #f7f3ec;
  --surface: #efe8dc;
  --text: #1f2a24;
  --muted: #5b655f;
  --accent: #2f4a3a;
  --accent-2: #c8733a;
  --rule: #d9cfbf;
  --mark: #f3d9a4;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141a17;
    --surface: #1c2420;
    --text: #ece6da;
    --muted: #a3aba6;
    --accent: #9cc4a8;
    --accent-2: #e0915a;
    --rule: #2e3833;
    --mark: #5a4a26;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
h1, h2, .brand span { font-family: ui-serif, Georgia, "Times New Roman", serif; font-weight: 600; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: 1.35rem; margin: 1.6em 0 .4em; }
a { color: var(--accent); }
header.top, main, footer { max-width: 960px; margin: 0 auto; padding: 0 20px; }
header.top { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; padding-top: 22px; padding-bottom: 22px; }
.brand { display: flex; gap: 10px; align-items: center; text-decoration: none; color: var(--text); font-size: 1.2rem; }
nav { display: flex; gap: 18px; flex-wrap: wrap; }
nav a { color: var(--muted); text-decoration: none; }
nav a:hover, nav a[aria-current] { color: var(--text); }
nav a[aria-current] { border-bottom: 2px solid var(--accent-2); }
main { padding-bottom: 48px; }
.hero { padding: 48px 0 40px; border-bottom: 1px solid var(--rule); }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; color: var(--muted); margin: 0 0 12px; }
.eyebrow a { color: inherit; }
.lede { font-size: 1.2rem; max-width: 40em; color: var(--muted); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.button { display: inline-block; padding: 10px 18px; border-radius: 6px; background: var(--accent); color: var(--bg); text-decoration: none; font-weight: 600; }
.button.quiet { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.grid { display: grid; gap: 28px; padding: 32px 0; border-bottom: 1px solid var(--rule); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid h2 { margin-top: 0; }
.grid p { margin: 0; color: var(--muted); }
h2.section { margin-top: 36px; }
.posts { list-style: none; padding: 0; margin: 0; }
.posts li { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.posts a { font-weight: 600; font-size: 1.1rem; }
.posts span { display: block; color: var(--muted); }
.prose { max-width: 40em; padding-top: 24px; }
.prose li { margin: .3em 0; }
mark.todo { background: var(--mark); color: var(--text); padding: 0 .2em; }
footer { border-top: 1px solid var(--rule); padding-top: 20px; padding-bottom: 40px; color: var(--muted); font-size: .85rem; }
footer .legal { max-width: 48em; }
