:root {
  color-scheme: light;
  --ink: #052d38;
  --forest: #0b4553;
  --fern: #d3efec;
  --paper: #fff8ee;
  --amber: #ffc653;
  --white: #fff;
  --line: #9fc9c4;
}
* { box-sizing: border-box; }
html { font-size: 100%; scroll-padding-top: 1.5rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.75 Verdana, Geneva, sans-serif; }
a { color: var(--forest); text-underline-offset: .18em; text-decoration-thickness: .08em; overflow-wrap: anywhere; }
a:hover { text-decoration-thickness: .15em; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; }
.wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -100px; padding: 10px 16px; background: var(--white); z-index: 5; }
.skip:focus { top: 10px; }
.header { background: var(--forest); color: var(--paper); }
.header-inner { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 18px; }
.brand { text-decoration: none; color: inherit; font: bold 1.8rem/1.1 Georgia, 'Times New Roman', serif; white-space: nowrap; }
.brand small { display: block; font: .7rem/1.5 Verdana, Geneva, sans-serif; margin-top: .4rem; }
.nav { display: flex; gap: clamp(12px, 3vw, 30px); flex-wrap: wrap; }
.nav a { color: inherit; padding-block: 8px; }
.nav a[aria-current] { text-decoration-thickness: .15em; }
.header a:focus-visible { outline-color: var(--amber); }
.hero { padding: clamp(48px, 7vw, 92px) 0 64px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(220px, .6fr); gap: 48px; align-items: end; }
h1, h2, h3 { font-family: Georgia, 'Times New Roman', serif; line-height: 1.12; }
h1 { font-size: clamp(2.4rem, 6vw, 4.7rem); letter-spacing: -.035em; margin: 0 0 24px; }
h2 { font-size: clamp(1.55rem, 3vw, 2rem); margin: 2.6rem 0 1rem; }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.2rem; }
.lead { font-size: clamp(1.05rem, 2vw, 1.2rem); max-width: 60ch; }
.trail-note { border-left: 8px solid var(--amber); padding: 10px 0 10px 22px; max-width: 31ch; }
.trail-note strong { font: bold 1.5rem/1.25 Georgia, 'Times New Roman', serif; display: block; margin-bottom: 10px; }
.trail-note p { margin: 0; }
.notice { background: var(--fern); padding: 22px 26px; margin-bottom: 40px; border-left: 5px solid var(--forest); }
.notice p { margin: 0; }
.notice strong { display: block; margin-bottom: .4rem; }
.button { display: inline-block; margin: 8px 16px 0 0; padding: 12px 22px; color: var(--paper); background: var(--forest); border: 2px solid var(--forest); text-decoration: none; font-weight: bold; }
.button.secondary { color: var(--forest); background: transparent; }
.button:hover { text-decoration: underline; }
.gameplay { border-top: 2px solid var(--forest); padding: 32px 0 44px; }
.gameplay h2 { margin: 0 0 22px; }
.gameplay-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 24px; }
.gameplay figure { margin: 0; min-width: 0; }
.gameplay video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; background: var(--ink); border-radius: 8px; }
.gameplay figcaption { padding-top: 12px; }
.gameplay h3 { margin: 0 0 6px; }
.gameplay p { margin: 0; font-size: .94rem; }
.feature-strip { border-top: 2px solid var(--forest); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; padding: 36px 0 54px; }
.feature-strip h2 { margin-top: 0; font-size: 1.65rem; }
.feature-strip p { margin: 0; }
.page-title { max-width: 810px; padding-block: 58px 26px; }
.page-title h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); }
.updated { margin-top: -.5rem; font-size: .9rem; }
.document-layout { display: grid; grid-template-columns: 220px minmax(0, 760px); gap: 54px; padding-bottom: 72px; align-items: start; }
.toc { border-top: 2px solid var(--forest); padding-top: 18px; font-size: .88rem; }
.toc strong { display: block; margin-bottom: 10px; }
.toc a { display: block; margin-bottom: 12px; }
article { min-width: 0; }
article h2:first-child { margin-top: 0; }
article ul, article ol { padding-left: 1.3rem; margin-block: 0 1.4rem; }
article li { margin-bottom: .55rem; }
.definition { background: var(--white); border: 1px solid var(--line); padding: 20px 24px; }
details { border-top: 1px solid var(--line); padding: 16px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: bold; line-height: 1.5; }
details p:first-of-type { margin-top: 16px; }
details p:last-child { margin-bottom: 0; }
.contact { margin: 50px 0 60px; padding: 28px 0 0; border-top: 2px solid var(--forest); max-width: 75ch; }
.contact h2 { margin-top: 0; }
.footer { color: var(--paper); background: var(--forest); }
.footer-inner { padding-block: 30px; display: flex; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.footer p { margin: 0; }
.footer a { color: inherit; }
.footer a:focus-visible { outline-color: var(--amber); }
.footer small { display: block; }
@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { align-items: flex-start; flex-direction: column; gap: 16px; }
  .nav { gap: 24px; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding-top: 40px; }
  .trail-note { max-width: none; }
  .feature-strip { grid-template-columns: 1fr; gap: 30px; }
  .document-layout { grid-template-columns: 1fr; gap: 36px; }
  .toc { display: flex; flex-wrap: wrap; gap: 6px 20px; }
  .toc strong { width: 100%; }
  .toc a { margin: 0; padding-block: 6px; }
  .page-title { padding-top: 38px; }
  .notice { padding: 18px; }
}
@media print {
  .header, .footer, .toc, .skip, .button { display: none; }
  .wrap { width: 100%; }
  .document-layout { display: block; }
  body { background: white; font-size: 11pt; }
  h1 { font-size: 25pt; }
  a { color: black; }
}
