:root {
  --bg: #f7f7f5;
  --surface: #ffffff;
  --text: #1c1c1a;
  --muted: #5f5f5a;
  --border: #e3e3de;
  --accent: #2f5bd3;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161615;
    --surface: #1f1f1d;
    --text: #ececea;
    --muted: #a5a59f;
    --border: #33332f;
    --accent: #7ea0ff;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
header, main, footer { max-width: 760px; margin: 0 auto; padding: 0 16px; }
header { padding-top: 40px; }
header .brand { font-weight: 700; font-size: 1.05rem; color: var(--text); text-decoration: none; }
nav { margin-top: 8px; display: flex; gap: 16px; flex-wrap: wrap; font-size: .95rem; }
a { color: var(--accent); }
main { padding-top: 24px; padding-bottom: 32px; }
h1 { font-size: 1.9rem; line-height: 1.25; margin: 0 0 12px; }
h2 { font-size: 1.2rem; margin: 32px 0 8px; }
.lead { font-size: 1.1rem; color: var(--muted); margin-top: 0; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 20px; margin: 20px 0; }
ul { padding-left: 20px; }
.meta { color: var(--muted); font-size: .9rem; }
footer { border-top: 1px solid var(--border); padding-top: 16px; padding-bottom: 40px; color: var(--muted); font-size: .9rem; }
footer a { margin-right: 16px; }
h3 { font-size: 1rem; margin: 20px 0 6px; }
