:root {
  color-scheme: dark;
  --paper: #f5f2ee;
  --muted: #c3bdb9;
  --red: #ff341e;
  --line: #ffffff2a;
  --display: "Bahnschrift Condensed", "Arial Narrow", "Segoe UI", sans-serif;
  font: 100%/1.55 "Segoe UI", system-ui, sans-serif;
  background: #131313;
  color: var(--paper);
}
* { box-sizing: border-box; }
body, figure, h1, h2, h3, p, dl, dd { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 3px solid white; outline-offset: 5px; }
.wrap { width: min(81rem, 90%); margin-inline: auto; }
.mast { background: #111; border-bottom: 1px solid var(--line); }
.mast-inner { min-height: 4.1rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.brand { display: flex; gap: .7rem; align-items: center; font-weight: 750; text-decoration: none; }
.brand img { width: 2.5rem; height: auto; }
.guide-link { text-underline-offset: .32em; text-decoration-color: #817a75; }
.guide-link:hover { text-decoration-color: var(--red); }
.hero { position: relative; isolation: isolate; overflow: hidden; background: #101011; border-bottom: 1px solid var(--line); }
.arena { position: absolute; z-index: -1; inset: 0 0 0 35%; }
.arena img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 52% 55%; }
.arena::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #101011, transparent 37%), linear-gradient(0deg, #100e10bf, transparent 30%); }
.arena figcaption { position: absolute; z-index: 1; bottom: 1.65rem; right: max(5vw, (100vw - 81rem) / 2); font-size: .875rem; font-weight: 600; text-shadow: 0 1px 5px #000; }
.arena figcaption span { color: #ff6a50; padding: 0 .45rem; }
.hero-inner { padding-block: clamp(2.8rem, 5vw, 5.7rem); }
.intro { max-width: min(32rem, 47%); }
.crest { display: block; width: clamp(10rem, 17vw, 18rem); height: auto; margin: 0 0 .9rem -.2rem; }
h1, h2 { font-family: var(--display); font-weight: 850; line-height: 1; letter-spacing: -.055em; }
h1 { font-size: clamp(2.5rem, 4.6vw, 4.9rem); }
.lead { margin-top: 1.25rem; font-weight: 650; font-size: clamp(1.1rem, 1.5vw, 1.45rem); line-height: 1.35; }
.copy { max-width: 35ch; margin-top: .5rem; color: var(--muted); }
.download { display: inline-block; margin-top: 1.65rem; padding: .83rem 2.35rem .87rem 1.7rem; border: 0; background: var(--red); color: #100e0e; font: inherit; font-weight: 750; cursor: pointer; clip-path: polygon(0 0,100% 0,calc(100% - .8rem) 100%,0 100%); }
.download:hover { background: #ff6951; }
.download:focus-visible { background: #fff; outline: none; text-decoration: underline; }
.meta { margin-top: .55rem; font-size: .875rem; color: var(--muted); }
.guide { padding-block: clamp(2.2rem,4vw,4rem) 4rem; }
h2 { font-size: clamp(2rem, 3.2vw, 3rem); }
.instructions { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5%; margin-top: 1.6rem; }
.instructions > div { border-top: 1px solid var(--line); padding-top: 1.1rem; }
h3 { font-family: var(--display); font-weight: 650; font-size: 1.25rem; line-height: 1.25; }
.instructions p, .controls { margin-top: .6rem; color: var(--muted); }
code { color: var(--paper); font-size: .95em; }
.controls > div { display: flex; align-items: baseline; gap: .8rem; }
.controls dt { min-width: 8.5rem; }
kbd { font: .85rem ui-monospace, Consolas, monospace; color: var(--paper); }
@media (max-width: 50rem) {
  .hero { display: flex; flex-direction: column; }
  .hero-inner { order: -1; padding-block: 2.4rem; }
  .intro { max-width: none; }
  .crest { width: 9.5rem; }
  .arena { position: relative; inset: auto; z-index: auto; }
  .arena img { height: clamp(13rem, 48vw, 23rem); }
  .arena::after { background: linear-gradient(0deg,#100e109c, transparent 34%); }
  .arena figcaption { bottom: .85rem; }
  .instructions { grid-template-columns: 1fr; gap: 1.35rem; }
}
