:root { color-scheme: dark; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #16120F;
  color: #E2D9C9;
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: #F4F1EA; text-underline-offset: 3px; }
a:hover { opacity: .85; }
a:focus-visible, summary:focus-visible { outline: 3px solid #F4F1EA; outline-offset: 3px; }
.bar { border-bottom: 1px solid #2E2A27; background: rgba(22,18,15,.92); }
.bar-in { max-width: 820px; margin: 0 auto; padding: 14px clamp(20px, 5vw, 32px); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; font: 400 24px/1 "Bebas Neue", Impact, "Arial Narrow", sans-serif; letter-spacing: .06em; color: #F4F1EA; text-decoration: none; }
.back { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; color: #D3CCC3; }
main { max-width: 820px; margin: 0 auto; padding: clamp(32px, 6vw, 72px) clamp(20px, 5vw, 32px) 64px; }
h1 { margin: 0 0 8px; font: 400 clamp(36px, 6vw, 56px)/1.05 "Instrument Serif", Georgia, "Times New Roman", serif; color: #F4F1EA; }
h2 { margin: 40px 0 10px; font: 400 clamp(24px, 3.4vw, 30px)/1.15 "Instrument Serif", Georgia, "Times New Roman", serif; color: #F4F1EA; }
p, li { margin: 0 0 12px; }
ul, ol { padding-left: 22px; margin: 0 0 12px; }
.meta { margin: 0 0 28px; font-size: 14px; color: #B5ADA3; }
.note { margin: 0 0 28px; padding: 14px 16px; background: #1A1614; border-left: 3px solid #B4492A; font-size: 15px; color: #D3CCC3; }
mark.todo { background: #F2D35B; color: #16120F; padding: 1px 5px; border-radius: 3px; font-weight: 600; font-size: .94em; }
table { width: 100%; border-collapse: collapse; margin: 0 0 16px; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid #2E2A27; }
th { background: #1A1614; color: #F4F1EA; font-weight: 600; }
footer { max-width: 820px; margin: 0 auto; padding: 24px clamp(20px, 5vw, 32px) 48px; border-top: 1px solid #2E2A27; font-size: 14px; color: #B5ADA3; display: flex; flex-wrap: wrap; gap: 8px 24px; }
footer a { display: inline-flex; align-items: center; min-height: 44px; color: #D3CCC3; }
@media (max-width: 560px) { th, td { padding: 8px; } table { font-size: 14px; } }
