:root {
  color-scheme: dark;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  background: #101117;
  color: #f7f8f8;
  line-height: 1.6;
  --text-secondary: #b9bfd0;
  --border: #292d3a;
  --accent: #b5baff;
}

* { box-sizing: border-box; }
body { max-width: 1080px; padding: 0 clamp(18px, 5vw, 56px); margin: auto; }
a { color: var(--accent); text-underline-offset: .2em; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
header, footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 0; }
header { border-bottom: 1px solid var(--border); }
footer { color: var(--text-secondary); border-top: 1px solid var(--border); font-size: .9rem; }
nav { display: flex; gap: 18px; flex-wrap: wrap; }
nav a, .brand { text-decoration: none; }
nav a:hover, nav a[aria-current="page"], .brand:hover { text-decoration: underline; }
.brand { color: inherit; font-weight: 650; }
main { padding: clamp(36px, 7vw, 74px) 0 54px; }
.document { max-width: 730px; }
.eyebrow { color: var(--accent); font-size: .9rem; font-weight: 650; letter-spacing: .04em; margin-top: 0; }
h1, h2 { line-height: 1.2; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 6vw, 3.7rem); letter-spacing: -.04em; margin: 0 0 16px; }
h2 { font-size: 1.3rem; margin: 32px 0 10px; }
.intro { font-size: clamp(1.1rem, 2.1vw, 1.3rem); max-width: 62ch; }
.note { padding: 12px 18px; color: var(--text-secondary); border: 1px solid var(--border); border-radius: 8px; background: #161823; }
.caption { color: var(--text-secondary); font-size: .9rem; }
video { width: 100%; display: block; aspect-ratio: 8 / 5; background: #08090d; border: 1px solid var(--border); border-radius: 10px; }
dl { margin: 20px 0; }
dl div { display: flex; align-items: baseline; gap: 8px 18px; padding: 6px 0; flex-wrap: wrap; }
dt { font-weight: 600; min-width: 7ch; }
dd { margin: 0; overflow-wrap: anywhere; }

@media print {
  @page { size: A4; margin: 16mm 18mm; }
  :root { color-scheme: light; background: white; color: #171922; font-size: 10.5pt; line-height: 1.45; --border: #d6d9e4; --text-secondary: #30374a; --accent: #262f7b; }
  body, main { padding: 0; max-width: none; }
  header, footer { display: none; }
  h1 { font-size: 28pt; }
  h2 { font-size: 13pt; margin-top: 17px; break-after: avoid; }
  .note { background: transparent; }
  dl, p { break-inside: avoid; }
}
