:root { color-scheme: light dark; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; background: #f5f7fa; color: #172235; }
* { box-sizing: border-box; }
body { margin: 0; }
header, main, footer { max-width: 820px; margin: auto; padding: 24px; }
header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid #d9e0e9; }
header strong { font-size: 1.2rem; }
nav { display: flex; flex-wrap: wrap; gap: 20px; }
main { padding-top: 36px; padding-bottom: 48px; }
h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); line-height: 1.2; letter-spacing: -.025em; }
h2 { font-size: 1.25rem; line-height: 1.35; margin-top: 32px; }
a { color: #0068cc; text-underline-offset: 3px; overflow-wrap: anywhere; }
p, li { overflow-wrap: break-word; }
ul, ol { padding-left: 24px; }
li + li { margin-top: 8px; }
.muted, footer { color: #586779; font-size: .95rem; }
.notice { padding: 18px 22px; background: #e8eff9; border-radius: 16px; }
footer { border-top: 1px solid #d9e0e9; }
@media (prefers-color-scheme: dark) {
  :root { background: #11161e; color: #e9eef6; }
  header, footer { border-color: #303b4a; }
  a { color: #78b9ff; }
  .muted, footer { color: #a5b2c3; }
  .notice { background: #1d2a3c; }
}
