:root { color-scheme: light; --navy: #00365f; }
* { box-sizing: border-box; }
body { margin: 0; color: #182d3c; background: #fff; font: 1.05rem/1.6 system-ui, sans-serif; overflow-wrap: anywhere; }
header, main, footer { max-width: 70rem; padding: 1.25rem; margin: auto; }
header { border-bottom: .35rem solid var(--navy); }
h1, h2, h3, h4 { line-height: 1.25; color: var(--navy); }
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { margin-top: 2rem; }
a { color: var(--navy); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .18em; }
a:focus-visible, button:focus-visible, select:focus-visible, video:focus-visible { outline: 3px solid #955100; outline-offset: 3px; }
button, select, .button, nav a, #player-controls a { display: inline-block; min-height: 44px; padding: .65rem .85rem; font: inherit; border: 1px solid var(--navy); border-radius: .35rem; background: white; color: var(--navy); }
button { cursor: pointer; }
button[aria-pressed="true"] { background: var(--navy); color: white; }
.section-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: .65rem; padding: 0; list-style: none; }
.section-links a { display: block; height: 100%; text-decoration: none; font-weight: 650; }
.section-links span { display: block; font-weight: 400; font-size: .95rem; }
video, .yt iframe { width: 100%; aspect-ratio: 16 / 9; display: block; background: #000; border: 0; }
#player-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
#chapter-links ul { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; }
.guide-section { border-top: 2px solid #d3dee6; margin-top: 2rem; }
article { padding: .5rem 0 1rem; border-bottom: 1px solid #d3dee6; }
li { margin-bottom: .65rem; }
dt { font-weight: 700; margin-top: .8rem; }
dd { margin: .2rem 0 1rem; }
.warning, .notice { border-left: .35rem solid #885000; padding: 1rem; background: #fff4df; }
.note { padding: 1rem; background: #edf4f8; }
.revision { font-weight: 650; }
.size { white-space: nowrap; font-size: .95rem; }
#downloads a, .guide-section p a { display: inline-block; padding: .5rem 0; min-height: 44px; }
.skip { position: absolute; left: -10000px; }
.skip:focus { left: 1rem; top: 1rem; background: white; padding: 1rem; z-index: 10; }
[hidden] { display: none !important; }
footer { border-top: 1px solid #d3dee6; font-size: .95rem; }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
@media print { video, .yt, #player-controls, #chapter-links, .section-links { display: none; } .guide-section[hidden] { display: block !important; } }

#view > section > h2 { margin-top: 0; }
@media (max-width: 40rem) {
  header, main { padding: .75rem 1rem; }
  header p, header h1 { margin: .35rem 0; }
  header h1 { font-size: 1.8rem; }
  header .notice { padding: .5rem; }
}

.section-kicker { font-size: .95rem; font-weight: 400; margin-top: .25rem; }
