:root { --bg: #fff; --text: #1f2328; --muted: #59636e; --line: #d1d9e0; --accent: #0b57d0; --raised: #f6f8fa; }
@media (prefers-color-scheme: dark) { :root { --bg: #0d1117; --text: #e6edf3; --muted: #9198a1; --line: #30363d; --accent: #79a8ff; --raised: #161b22; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
main, header, footer { max-width: 760px; margin: 0 auto; padding: 0 20px; }
header { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
header a.brand { font-weight: 700; color: var(--text); text-decoration: none; }
nav a { margin-left: 16px; }
a { color: var(--accent); }
h1 { font-size: 30px; line-height: 1.25; margin: 32px 0 8px; }
h2 { font-size: 20px; margin: 32px 0 8px; }
.muted { color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 24px 0; }
.card { border: 1px solid var(--line); border-radius: 10px; padding: 18px; background: var(--raised); }
.card h2 { margin-top: 0; }
footer { margin-top: 48px; padding-top: 16px; padding-bottom: 32px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
code { background: var(--raised); padding: 1px 5px; border-radius: 4px; }
