:root {
  --bg: #0a0a0a; --text: #ececec; --muted: #a3a3a3; --line: #262626; --link: #ffffff;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh;
}
a { color: var(--link); text-decoration-color: color-mix(in srgb, var(--link) 45%, transparent); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
header.site, main, footer.site { width: 100%; max-width: 720px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
header.site { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
header.site .name { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; color: var(--text); font-weight: 650; text-decoration: none; letter-spacing: -0.01em; }
header.site nav { display: flex; gap: 6px; }
header.site nav a { display: inline-flex; align-items: center; min-height: 40px; color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 8px; }
header.site nav a:hover, header.site nav a[aria-current=page] { color: var(--text); background: color-mix(in srgb, var(--text) 7%, transparent); }
main { flex: 1; padding-top: 36px; padding-bottom: 48px; }
main.home { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
h1 { font-size: 2rem; line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 6px; }
h2 { font-size: 1.15rem; margin: 2em 0 0.4em; }
p, ul { margin: 0 0 1em; }
ul { padding-left: 1.25em; }
li { margin-bottom: 0.4em; }
.updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 2em; }
footer.site { border-top: 1px solid var(--line); padding-top: 20px; padding-bottom: 28px; color: var(--muted); font-size: 0.9rem; }
footer.site p { margin: 0; }
footer.site a { color: var(--muted); }
@media (max-width: 480px) {
  body { font-size: 16px; }
  h1 { font-size: 1.65rem; }
  main { padding-top: 28px; }
}
