:root { color-scheme: dark; --ink: #e6e6e9; --muted: #9b9ba4; --line: #2a2a30; --bg: #0e0e10; --card: #151518; }
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.65 system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--ink); text-decoration-color: #5a5a63; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }

.bar { border-bottom: 1px solid var(--line); }
.bar div { max-width: 52rem; margin: 0 auto; padding: .9rem 1.25rem; display: flex; align-items: center; gap: .6rem; }
.bar svg { width: 24px; height: 24px; }
.bar b { font-weight: 600; letter-spacing: -.01em; }
.bar nav { margin-left: auto; display: flex; gap: 1.5rem; font-size: .9rem; }
.bar nav a { color: var(--muted); text-decoration: none; }
.bar nav a:hover { color: var(--ink); }

main { max-width: 52rem; margin: 2.5rem auto 4rem; padding: 2.75rem 3rem; background: var(--card); border: 1px solid var(--line); border-radius: 10px; }
@media (max-width: 40rem) { main { margin: 0; border-radius: 0; border-width: 0 0 1px; padding: 1.75rem 1.25rem; } }

h1 { margin: 0 0 .4rem; font-size: 1.85rem; line-height: 1.2; font-weight: 600; letter-spacing: -.02em; }
.meta { margin: 0 0 1.75rem; color: var(--muted); font-size: .92rem; }
.meta a { color: var(--muted); }
.lead { margin: 0; padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); }

.toc { margin: 1.75rem 0 0; padding: 1rem 1.25rem 1rem 2.6rem; border: 1px solid var(--line); border-radius: 8px; font-size: .92rem; columns: 2; column-gap: 2rem; color: var(--muted); }
.toc li { break-inside: avoid; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--ink); }
@media (max-width: 40rem) { .toc { columns: 1; } }

main { counter-reset: section; }
section { scroll-margin-top: 1rem; }
section > h2 { counter-increment: section; margin: 2.5rem 0 .6rem; font-size: 1.1rem; font-weight: 600; }
section > h2::before { content: counter(section) "."; display: inline-block; min-width: 1.9rem; color: var(--muted); font-weight: 400; }
section p { margin: .5rem 0; }

.picker { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.picker li { padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 8px; margin-bottom: .6rem; }
.picker a { font-weight: 600; text-decoration: none; }
.picker span { color: var(--muted); font-size: .9rem; margin-left: .75rem; }
html:not(.js) .needs-site, html:not(.js) .needs-no-site { display: none; }
.no-site .needs-site { display: none; }
body:not(.no-site) .needs-no-site { display: none; }

