:root {
  color-scheme: dark;
  --background: #180c14;
  --surface: #2a1722;
  --text: #f7e9e1;
  --muted: #c3a9b8;
  --gold: #efd09e;
  --border: #634450;
  --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--text); background: radial-gradient(ellipse at top left, #54243b, transparent 65%), var(--background); font: 16px/1.85 system-ui, sans-serif; }
a { color: var(--gold); text-underline-offset: 4px; overflow-wrap: anywhere; transition: color .15s ease; }
a:hover { color: #fff4db; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
.site-header { max-width: 1100px; margin: auto; padding: 28px; display: flex; justify-content: space-between; align-items: center; gap: 24px; border-bottom: 1px solid var(--border); }
.brand { font: 24px/1.4 Georgia, serif; text-decoration: none; }
.brand span { display: block; color: var(--muted); font: 10px/2 system-ui, sans-serif; letter-spacing: .14em; }
nav { display: flex; gap: 24px; }
main { max-width: 900px; padding: 48px 24px; margin: auto; }
.document-heading { margin-bottom: 36px; }
.eyebrow { color: var(--gold); letter-spacing: .2em; font-size: 12px; }
h1 { font-size: clamp(32px, 6vw, 52px); line-height: 1.3; margin: 16px 0; }
h1 span { display: block; font: 28px/1.5 Georgia, serif; color: var(--gold); }
.updated, .document-heading p, footer { color: var(--muted); }
.content-card { margin-bottom: 24px; padding: clamp(24px, 5vw, 48px); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 24px 64px #09030735; }
h2 { color: var(--gold); margin-top: 0; }
h3 { font-size: 19px; line-height: 1.5; margin-top: 32px; }
p { margin: 12px 0; overflow-wrap: anywhere; }
footer { text-align: center; padding: 20px 24px 40px; font-size: 13px; }
@media (max-width: 480px) { .site-header { padding: 22px; flex-wrap: wrap; } main { padding: 32px 16px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } a { transition: none; } }
