:root {
  --bg: #ffffff; --surface: #f5f5f7; --text: #111114; --muted: #5b5b66; --line: #e3e3e8; --accent: #2f6bff;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0c0c0f; --surface: #17171c; --text: #f2f2f5; --muted: #a3a3b0; --line: #2a2a33; --accent: #7aa2ff; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
a { color: var(--accent); }
header.top { border-bottom: 1px solid var(--line); }
header.top .in, main, footer .in { max-width: 760px; margin: 0 auto; padding: 0 20px; }
header.top .in { display: flex; align-items: center; gap: 12px; height: 64px; }
header.top img { width: 36px; height: 36px; border-radius: 9px; }
header.top .brand { font-weight: 650; font-size: 18px; color: var(--text); text-decoration: none; margin-right: auto; }
header.top nav a { margin-left: 18px; text-decoration: none; font-size: 15px; color: var(--muted); }
header.top nav a[aria-current="page"] { color: var(--text); font-weight: 600; }
main { padding-top: 36px; padding-bottom: 56px; }
h1 { font-size: 34px; line-height: 1.15; margin: 0 0 8px; letter-spacing: -0.02em; }
h2 { font-size: 22px; margin: 40px 0 8px; letter-spacing: -0.01em; }
h3 { font-size: 17px; margin: 24px 0 4px; }
p, li { color: var(--text); }
.lede { font-size: 19px; color: var(--muted); margin: 0 0 24px; }
.updated { color: var(--muted); font-size: 15px; margin: 0 0 28px; }
ul { padding-left: 22px; }
li { margin: 6px 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin: 20px 0; }
.card p:first-child { margin-top: 0; } .card p:last-child, .card ul:last-child { margin-bottom: 0; }
table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15.5px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }
.scroll { overflow-x: auto; }
.hero { text-align: center; padding: 28px 0 8px; }
.hero img { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.hero h1 { font-size: 42px; margin-top: 22px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 28px 0; }
.grid .card { margin: 0; } .grid h3 { margin-top: 0; } .grid p { color: var(--muted); font-size: 15.5px; margin: 4px 0 0; }
.btn { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; padding: 11px 20px; border-radius: 999px; font-weight: 600; }
@media (prefers-color-scheme: dark) { .btn { color: #0c0c0f; } }
footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 14.5px; }
footer .in { padding-top: 22px; padding-bottom: 34px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer a { color: var(--muted); }
details { border-bottom: 1px solid var(--line); padding: 12px 0; }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 10px 0 2px; }
@media (max-width: 520px) { h1 { font-size: 28px; } .hero h1 { font-size: 34px; } header.top nav a { margin-left: 12px; } }
