:root {
  --bg: #f6f6f4;
  --surface: #ffffff;
  --text: #1c1c1a;
  --muted: #5f5f5a;
  --accent: #0a6cf2;
  --warn-bg: #fff4d6;
  --warn-text: #6b4e00;
  --border: #e3e3de;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121211;
    --surface: #1c1c1b;
    --text: #ececea;
    --muted: #a3a39e;
    --accent: #5aa2ff;
    --warn-bg: #3a3014;
    --warn-text: #f3d98a;
    --border: #2e2e2c;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
main, header, footer { max-width: 44rem; margin: 0 auto; padding: 0 1rem; }
header { padding-top: 2.5rem; }
header a.brand { color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.25rem; }
h1 { font-size: 2rem; line-height: 1.2; margin: 1.5rem 0 0.75rem; }
h2 { font-size: 1.2rem; margin: 2rem 0 0.5rem; }
p, li { color: var(--text); }
.muted { color: var(--muted); }
a { color: var(--accent); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 1rem 1.25rem; margin: 1rem 0; }
.draft { background: var(--warn-bg); color: var(--warn-text); border-radius: 12px; padding: 0.75rem 1rem; margin: 1rem 0; font-size: 0.95rem; }
ul { padding-left: 1.25rem; }
footer { padding-top: 2rem; padding-bottom: 3rem; color: var(--muted); font-size: 0.9rem; }
footer a { color: var(--muted); margin-right: 1rem; }
