:root {
  --fg: #1a1a1a;
  --bg: #fafafa;
  --accent: #0066cc;
  --muted: #666;
  --code-bg: #f0f0f0;
}
@media (prefers-color-scheme: dark) {
  :root {
    --fg: #e6e6e6;
    --bg: #121212;
    --accent: #6bb0ff;
    --muted: #aaa;
    --code-bg: #1e1e1e;
  }
}
* { box-sizing: border-box; }
html { font-size: 17px; }
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
  max-width: 38rem;
  margin: 2rem auto;
  padding: 0 1rem;
}
header h1 { font-size: 1.4rem; margin: 0 0 2rem; }
header a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.25; }
a { color: var(--accent); }
article header time { color: var(--muted); display: block; margin-bottom: 0.5rem; }
ul.tags { list-style: none; padding: 0; display: inline; }
ul.tags li { display: inline; margin-right: 0.5rem; }
ul.tags li::before { content: "#"; }
code { background: var(--code-bg); padding: 0.1em 0.3em; border-radius: 3px; font-size: 0.95em; }
pre { background: var(--code-bg); padding: 1rem; overflow-x: auto; border-radius: 4px; }
pre code { background: none; padding: 0; }
img { max-width: 100%; height: auto; }
ul.post-list { list-style: none; padding: 0; }
ul.post-list li { margin-bottom: 0.75rem; }
ul.post-list time { color: var(--muted); display: inline-block; width: 7rem; font-variant-numeric: tabular-nums; }
footer { margin-top: 4rem; padding-top: 1rem; border-top: 1px solid var(--muted); color: var(--muted); font-size: 0.9rem; }
