:root {
  --bg: #0f1115;
  --fg: #e8e6e3;
  --muted: #9a9790;
  --line: #262a33;
  --accent: #e0b64a;
  --max: 720px;
}
@media (prefers-color-scheme: light) {
  :root { --bg: #faf9f6; --fg: #1a1a1a; --muted: #6b6860; --line: #e2dfd8; --accent: #9a6f0a; }
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--fg); }
body {
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  padding: 0 16px;
}
main { max-width: var(--max); margin: 0 auto; padding: 64px 0 96px; }
header { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 48px; }
header a.home { font-weight: 700; text-decoration: none; color: var(--fg); letter-spacing: 0.02em; }
nav a { color: var(--muted); text-decoration: none; margin-left: 20px; }
nav a:hover, a:hover { color: var(--accent); }
h1 { font-size: 2rem; line-height: 1.15; margin: 0 0 12px; }
h2 { font-size: 1.25rem; margin: 40px 0 12px; }
p { margin: 0 0 16px; }
.muted { color: var(--muted); }
a { color: var(--fg); text-decoration-color: var(--line); text-underline-offset: 3px; }
ul.cards { list-style: none; padding: 0; margin: 0; }
ul.cards li { border-top: 1px solid var(--line); padding: 20px 0; }
ul.cards li:last-child { border-bottom: 1px solid var(--line); }
ul.cards a.title { font-size: 1.1rem; font-weight: 600; text-decoration: none; }
ul.cards .tags { color: var(--muted); font-size: 0.9rem; margin-top: 6px; }
footer { margin-top: 64px; color: var(--muted); font-size: 0.9rem; }
