:root {
  --bg: #f7f7f5;
  --surface: #ffffff;
  --text: #1a1a1a;
  --muted: #5b5850;
  --rule: #dcd9d2;
  --gold: #8a6d2f;
  --link: #6b5220;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131313;
    --surface: #1c1b1b;
    --text: #ecebe8;
    --muted: #a19d94;
    --rule: #2f2d2a;
    --gold: #c8a96e;
    --link: #d9bd85;
  }
}
* { 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, sans-serif;
}
main, header.site, footer.site { max-width: 46rem; margin: 0 auto; padding: 0 1rem; }
header.site { padding-top: 2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--rule); }
header.site a.brand {
  font: 400 2rem/1 "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  letter-spacing: 0.06em;
  color: var(--gold);
  text-decoration: none;
}
nav.site { margin-top: 0.5rem; }
nav.site a { margin-right: 1rem; color: var(--link); }
h1 { font: 400 2.2rem/1.15 Georgia, "Times New Roman", serif; margin: 2rem 0 0.25rem; }
h2 { font-size: 1.25rem; margin: 2.25rem 0 0.5rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
h3 { font-size: 1.05rem; margin: 1.5rem 0 0.25rem; }
p, li { max-width: 68ch; }
a { color: var(--link); text-underline-offset: 0.15em; }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.meta { color: var(--muted); margin: 0 0 1.5rem; }
.summary { background: var(--surface); border: 1px solid var(--rule); border-left: 4px solid var(--gold); padding: 0.75rem 1rem; margin: 1.5rem 0; }
.summary p { margin: 0.4rem 0; }
.table-wrap { overflow-x: auto; margin: 1rem 0; }
table { border-collapse: collapse; width: 100%; min-width: 34rem; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--rule); }
th { color: var(--muted); font-weight: 600; }
footer.site { margin-top: 3rem; padding-top: 1rem; padding-bottom: 3rem; border-top: 1px solid var(--rule); color: var(--muted); font-size: 0.9rem; }
.button { display: inline-block; background: var(--gold); color: #131313; padding: 0.7rem 1.1rem; text-decoration: none; font-weight: 600; }
.button:focus-visible { outline: 3px solid var(--text); outline-offset: 2px; }
