:root {
  --bg: #ffffff;
  --text: #16181d;
  --muted: #5d6270;
  --border: #e3e5ea;
  --accent: #1f6feb;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0f13;
    --text: #eceef2;
    --muted: #9aa0ad;
    --border: #262a33;
    --accent: #6ea2ff;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

main {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 16px 64px;
}

h1 { font-size: 2.2rem; line-height: 1.2; margin: 0 0 8px; }
h2 { font-size: 1.25rem; margin: 32px 0 8px; }
p, li { color: var(--text); }
.lead { font-size: 1.15rem; color: var(--muted); margin-top: 0; }
.muted { color: var(--muted); font-size: 0.95rem; }
a { color: var(--accent); }
ul { padding-left: 1.2rem; }

nav {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
}
nav a { text-decoration: none; }
