:root { color-scheme: light dark; font-family: system-ui, -apple-system, sans-serif; line-height: 1.65; color: #1c2633; background: #f7f6f2; }
body { max-width: 780px; margin: auto; padding: 40px 24px 72px; }
header { padding-bottom: 24px; border-bottom: 1px solid #d4d2cb; }
.brand { color: #8b4700; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; font-size: .8rem; }
h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.15; margin: 12px 0; letter-spacing: -.03em; }
h2 { font-size: 1.3rem; margin-top: 32px; }
a { color: #945000; text-underline-offset: .2em; }
nav { display: flex; gap: 24px; margin-top: 20px; flex-wrap: wrap; }
small, footer { color: #515b67; }
footer { margin-top: 40px; padding-top: 20px; border-top: 1px solid #d4d2cb; font-size: .9rem; }
code { overflow-wrap: anywhere; }
li { margin: 8px 0; }
details { margin-top: 32px; padding: 20px; border: 1px solid #d4d2cb; border-radius: 14px; }
summary { cursor: pointer; font-weight: 650; }
@media (prefers-color-scheme: dark) {
  :root { color: #eceef2; background: #14181f; }
  a, .brand { color: #f6b560; }
  small, footer { color: #bac1cb; }
  header, footer, details { border-color: #38414d; }
}
