:root {
  color-scheme: dark;
  --bg: #0a0f0d;
  --paper: #f1e8d6;
  --ink: #18130b;
  --muted: #5c5340;
  --clay: #b6552f;
  --green: #1c5a44;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
a { color: var(--green); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--clay); outline-offset: 4px; border-radius: 2px; }
.shell { width: min(100% - 28px, 760px); margin: 28px auto; }
.site-head, main, .site-foot { background: var(--paper); border: 1px solid #cfc1a8; }
.site-head { padding: 18px clamp(20px, 5vw, 44px); border-bottom: 4px solid var(--clay); }
.brand { color: var(--ink); font-weight: 900; letter-spacing: .04em; text-decoration: none; text-transform: uppercase; }
main { padding: clamp(28px, 7vw, 58px) clamp(20px, 7vw, 58px); border-top: 0; border-bottom: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; line-height: 1.15; }
h1 { margin: 0 0 8px; font-size: clamp(2rem, 7vw, 3.25rem); }
h2 { margin: 2.25rem 0 .7rem; font-size: clamp(1.35rem, 4vw, 1.75rem); }
p, li { max-width: 68ch; }
.updated { margin: 0 0 2rem; color: var(--muted); font-size: .9rem; }
.summary { margin: 1.5rem 0 2.5rem; padding: 1rem 1.2rem; border-left: 4px solid var(--clay); background: #e6dac4; }
.summary strong { display: block; margin-bottom: .35rem; }
.summary ul { margin: .25rem 0 0; padding-left: 1.25rem; }
.notice { padding: 1rem 1.2rem; border: 1px solid #bdac8f; background: #eadfca; }
.site-foot { padding: 18px clamp(20px, 5vw, 44px); font-size: .875rem; color: var(--muted); }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 8px; }
.back { display: inline-block; margin-top: 2.5rem; font-weight: 800; }
@media (max-width: 520px) { .shell { width: 100%; margin: 0; } .site-head, main, .site-foot { border-left: 0; border-right: 0; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
