:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #111827;
  background: #f8fafc;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
header, nav, main { width: min(720px, calc(100% - 32px)); margin-inline: auto; }
header { padding-top: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #0f172a; text-decoration: none; font-size: 18px; font-weight: 800; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
nav { display: flex; flex-wrap: wrap; gap: 8px 16px; padding-block: 24px; border-bottom: 1px solid #cbd5e1; }
main { padding-block: 36px 64px; }
h1 { margin: 0; font-size: clamp(26px, 5vw, 36px); line-height: 1.2; color: #0f172a; }
h2 { margin: 32px 0 8px; font-size: 19px; line-height: 1.35; color: #0f172a; }
p, li { font-size: 15px; line-height: 1.65; color: #475569; }
li + li { margin-top: 6px; }
a { color: #9a3412; font-weight: 700; text-underline-offset: 3px; }
a:hover { color: #7c2d12; }
a:focus-visible { outline: 3px solid #c2410c; outline-offset: 3px; border-radius: 4px; }
.updated { margin-top: 10px; color: #64748b; font-size: 13px; font-weight: 600; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 10; padding: 10px 14px; background: #fff; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

@media (max-width: 520px) {
  header, nav, main { width: min(100% - 24px, 720px); }
  header { padding-top: 20px; }
  nav { gap: 10px 14px; padding-block: 20px; }
  main { padding-block: 28px 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
