:root {
  --bg: #fafafa;
  --fg: #1a1a1a;
  --accent: #2563eb;
  --muted: #6b7280;
  --border: #e5e7eb;
  --max-width: 800px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0f0f;
    --fg: #e5e5e5;
    --accent: #60a5fa;
    --muted: #9ca3af;
    --border: #1f1f1f;
  }
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.7;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem;
}
header { padding: 1rem 0; border-bottom: 1px solid var(--border); }
.logo { font-size: 1.3rem; font-weight: 700; text-decoration: none; color: var(--accent); }
main { padding: 2rem 0; }
h1 { font-size: 2rem; margin-bottom: 0.5rem; line-height: 1.2; }
h2 { font-size: 1.5rem; margin-top: 2rem; margin-bottom: 0.75rem; }
h3 { font-size: 1.2rem; margin-top: 1.5rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }
a { color: var(--accent); }
ul, ol { margin-left: 1.5rem; margin-bottom: 1rem; }
li { margin-bottom: 0.5rem; }
code { background: var(--border); padding: 0.15rem 0.4rem; border-radius: 4px; font-size: 0.9em; }
pre { background: var(--border); padding: 1rem; border-radius: 8px; overflow-x: auto; margin-bottom: 1rem; }
pre code { background: none; padding: 0; }
blockquote { border-left: 3px solid var(--accent); padding-left: 1rem; color: var(--muted); margin-bottom: 1rem; }
table { width: 100%; border-collapse: collapse; margin-bottom: 1rem; }
th, td { border: 1px solid var(--border); padding: 0.5rem; text-align: left; }
th { background: var(--border); font-weight: 600; }
.post-meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 2rem; }
.post-list { list-style: none; margin: 0; }
.post-list li { padding: 1rem 0; border-bottom: 1px solid var(--border); }
.post-list a { text-decoration: none; }
.post-list h2 { margin-top: 0; font-size: 1.3rem; }
footer { padding: 2rem 0; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.85rem; text-align: center; }
