:root { color-scheme: light dark; --fg:#111; --bg:#fff; --muted:#6b6b6b; --line:#e5e5e5; }
@media (prefers-color-scheme: dark) { :root { --fg:#f2f2f2; --bg:#0d0d0d; --muted:#9a9a9a; --line:#2a2a2a; } }
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--fg); font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; line-height: 1.55; }
a { color: inherit; text-underline-offset: 3px; }
@media (prefers-color-scheme: dark) { img.logo { filter: invert(1); } }
footer { color: var(--muted); font-size: 14px; }
/* home */
.home { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; gap: 28px; }
.home img.logo { width: 260px; max-width: 64vw; height: auto; }
.home p { margin: 0; color: var(--muted); font-size: 15px; }
.home nav a { font-size: 15px; }
.home footer { position: absolute; bottom: 24px; left: 0; right: 0; }
/* article */
.page { max-width: 760px; margin: 0 auto; padding: 32px 20px 56px; }
.page header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.page header img.logo { width: 140px; height: auto; display: block; }
.page header a.back { font-size: 14px; color: var(--muted); }
.page h1 { font-size: 30px; line-height: 1.2; margin: 36px 0 12px; font-weight: 600; letter-spacing: -0.01em; }
.page .lead { color: var(--muted); font-size: 17px; margin: 0 0 8px; }
.page h2 { font-size: 19px; margin: 40px 0 12px; font-weight: 600; }
.page ul { margin: 0; padding-left: 20px; }
.page li { margin: 0 0 12px; }
.page li strong { font-weight: 600; }
.page footer { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); }
