:root {
  --bg: #ffffff;
  --fg: #1a1a1a;
  --muted: #5f6368;
  --accent: #0b5fff;
  --rule: #e6e6e6;
  --max: 42rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111214;
    --fg: #e8e8e8;
    --muted: #9aa0a6;
    --accent: #7aa7ff;
    --rule: #2a2c30;
  }
}
* { box-sizing: border-box; }
html { font-size: 17px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.site-header, main, .site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1rem;
}
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 1rem 1.5rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.site-name { font-weight: 600; color: var(--fg); margin-right: auto; }
.site-header nav a { color: var(--muted); margin-left: 1rem; }
.site-header nav a:first-child { margin-left: 0; }
main { padding-bottom: 3rem; }
h1, h2, h3 { line-height: 1.25; margin: 2rem 0 0.75rem; }
h1 { font-size: 1.9rem; }
h2 { font-size: 1.3rem; }
.lede { font-size: 1.25rem; margin: 0.5rem 0 1.5rem; }
.muted { color: var(--muted); }
.record dt { font-weight: 600; margin-top: 1.5rem; }
.record dd { margin: 0.25rem 0 0; }
.record .dates { color: var(--muted); font-weight: 400; margin-left: 0.5rem; }
.post-list { list-style: none; padding: 0; }
.post-list li { margin: 0 0 1.25rem; }
.post-list time { display: block; color: var(--muted); font-size: 0.9rem; }
.post-list p { margin: 0.25rem 0 0; }
.post-meta { color: var(--muted); }
.post-sources { border-top: 1px solid var(--rule); margin-top: 2.5rem; padding-top: 1rem; }
.post-sources h2 { font-size: 1rem; margin-top: 0; }
blockquote { border-left: 3px solid var(--rule); margin: 1.5rem 0; padding: 0 1rem; color: var(--muted); }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.92em; }
pre { overflow-x: auto; padding: 1rem; border: 1px solid var(--rule); border-radius: 4px; }
.site-footer { border-top: 1px solid var(--rule); padding-top: 1.25rem; padding-bottom: 2.5rem; color: var(--muted); font-size: 0.92rem; }
.site-footer p { margin: 0.35rem 0; }
