/* WAD Commander press page: a DOS text-mode terminal.
   Palette and title bar follow the app (apps/wadcmd/src/theme.scss, index.scss);
   everything else borrows from text-mode tools: double-line windows with
   dithered shadows, Norton Commander panels, a Turbo Vision dialog and ANSI art.
   All type is the app's CP437 console font. */

@font-face { font-family: "cp437"; src: url("../fonts/cp437.woff") format("woff"); font-display: swap; }

:root {
  color-scheme: dark;
  /* DOS/EGA palette, identical to the app */
  --dos-black: #000000;
  --dos-blue: #0000aa;
  --dos-green: #00aa00;
  --dos-cyan: #00aaaa;
  --dos-red: #aa0000;
  --dos-magenta: #aa00aa;
  --dos-brown: #aa5500;
  --dos-light-gray: #aaaaaa;
  --dos-dark-gray: #555555;
  --dos-bright-blue: #5555ff;
  --dos-bright-green: #55ff55;
  --dos-bright-cyan: #55ffff;
  --dos-bright-red: #ff5555;
  --dos-bright-magenta: #ff55ff;
  --dos-yellow: #ffff55;
  --dos-white: #ffffff;

  --bg: var(--dos-black);
  --bg-alt: #080808;
  --text: var(--dos-light-gray);
  --bright: var(--dos-white);
  --dim: #6e6e6e;
  --faint: #3a3a3a;
  --amber: var(--dos-yellow);
  --edge: var(--dos-light-gray);
  /* ░ dither used for text-mode drop shadows */
  --dither: repeating-conic-gradient(#3d3d3d 0 25%, transparent 0 50%) 0 0 / 4px 4px;

  --font: "cp437", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --titlebar-h: 48px;
  --fbar-h: 40px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--titlebar-h) + 24px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 22px/1.35 var(--font); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: normal; color: var(--bright); line-height: 1.05; }
strong, b { font-weight: normal; color: var(--bright); }
pre { margin: 0; font: inherit; }
code { font: inherit; color: var(--dos-bright-cyan); }
::selection { color: var(--dos-black); background: var(--amber); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
[hidden] { display: none !important; }

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); border: 0; white-space: nowrap; }
.skip-link { position: fixed; z-index: 100; top: -80px; left: 16px; padding: 8px 14px; background: var(--amber); color: var(--dos-black); text-decoration: none; }
.skip-link:focus { top: 8px; }
/* The page sits in a presentational table so that print can repeat the title
   bar at the top of every page: only a real <thead> does that. On screen the
   table generates no boxes, and the sticky title bar behaves as before. */
.frame, .frame > thead, .frame > tbody, .frame > * > tr, .frame > * > tr > td { display: contents; }
/* Printed pages (.sheet) are wrappers without boxes on screen. Platform and FAQ
   are split into two blocks each so print can start a page between them; on
   screen they join without a seam (the second block starts at the pillars' row gap). */
.sheet { display: contents; }
#platform { padding-bottom: 0; }
.section.platform-more { padding-top: 64px; }
#kit { padding-bottom: 0; }
.section.faq-section { padding-top: 0; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.cursor { color: var(--amber); animation: blink 1.1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ── Title bar (the app's desktop title bar) ───────────────────────────── */
.titlebar {
  position: sticky; top: 0; z-index: 50;
  height: var(--titlebar-h);
  display: flex; align-items: center; gap: 18px;
  padding: 0 max(12px, env(safe-area-inset-right)) 0 max(12px, env(safe-area-inset-left));
  background: var(--dos-light-gray); color: #262626;
  border: 1px solid #e6e6e6;
  box-shadow: inset -1px -2px 0 #808080, 0 2px 0 var(--dos-black);
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; text-decoration: none; white-space: nowrap; font-size: 22px; color: #1a1a1a; }
.brand img { width: 32px; height: 32px; image-rendering: pixelated; }
.brand b { font-size: 20px; color: #545454; border: 1px solid #969696; padding: 0 6px; }
.titlebar-rule { flex: 1; min-width: 24px; height: 13px; background: repeating-linear-gradient(0deg, transparent 0 2px, #949494 2px 3px, transparent 3px 4px); }
.titlebar-path {
  display: flex; align-items: center; min-width: 0; max-width: 44ch; height: 30px; padding: 0 10px;
  background: var(--dos-black); color: var(--dos-light-gray);
  border: 1px solid #6b6b6b; border-right-color: #e0e0e0; border-bottom-color: #e0e0e0;
  font-size: 19px; white-space: nowrap; overflow: hidden;
}
.titlebar-path b { color: var(--bright); }
.titlebar-button {
  display: none; place-items: center; width: 34px; height: 34px; padding: 0; cursor: pointer;
  border: 1px solid #8c8c8c; background: #cccccc; color: #2e2e2e;
  box-shadow: inset 1px 1px #e6e6e6, inset -1px -1px #828282;
}
.titlebar-button svg { width: 18px; height: 18px; }

/* ── Buttons: text-mode buttons with a hard shadow ─────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 46px; padding: 8px 20px;
  font: 22px/1 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer; text-shadow: none;
  color: var(--dos-black); background: var(--dos-light-gray); border: 0;
  box-shadow: 6px 6px 0 #333;
  transition: background .12s;
}
.btn:hover { background: var(--dos-white); }
.btn:active { transform: translate(6px, 6px); box-shadow: none; }
.btn--play { background: var(--amber); }
.btn--play:hover { background: #ffffaa; }
.btn--dark { color: var(--amber); background: var(--dos-black); box-shadow: 6px 6px 0 #555; }
.btn--dark:hover { background: #1f1f1f; }
.btn--lg { min-height: 56px; padding: 12px 26px; font-size: 24px; }
.btn--sm { min-height: 32px; padding: 4px 12px; font-size: 20px; box-shadow: 3px 3px 0 #555; }
.btn--sm:active { transform: translate(3px, 3px); }
.btn .cursor { color: inherit; margin-left: -8px; }

/* Until the launch, a play button loads like a DOS installer (press.js): a CP437
   bar and a T-minus count over the grayed button, which keeps its size and link */
[data-play].is-loading { display: inline-grid; place-items: center; }
.is-loading > .loading-label, .is-loading > .loading { grid-area: 1 / 1; }
.is-loading > .loading-label { visibility: hidden; }
.loading { display: inline-flex; align-items: center; gap: .5em; white-space: nowrap; }
.loading-bar b { font-weight: normal; color: inherit; }
.loading-bar i { font-style: normal; animation: blink 1s steps(1) infinite; }
.loading-bar span { color: #555; }

/* Until the launch, press.js sets .is-prelaunch: the release date sticker on the
   PLAY art, and the scan windows' titles say when */
.when-prelaunch, .is-prelaunch .when-live { display: none; }
.is-prelaunch .when-prelaunch { display: revert; }
.play-art { position: relative; width: 100%; max-width: 413px; }
.release-sticker { position: absolute; z-index: 1; right: -13%; top: -48%; width: 34%; rotate: 12deg; }
.is-prelaunch .release-sticker { display: block; }
.release-sticker svg { display: block; width: 100%; height: auto; }
.release-sticker text { font-family: var(--font); }
.fkey > .is-loading { display: grid; place-items: center start; }

/* ── Function-key bar (Norton Commander) ───────────────────────────────── */
.fbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; align-items: stretch;
  height: calc(var(--fbar-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--dos-black); border-top: 1px solid #333;
}
.fbar-status { display: flex; align-items: center; gap: 10px; flex-shrink: 0; padding: 0 16px; color: var(--text); font-size: 19px; white-space: nowrap; }
.status-light { width: 6px; height: 6px; background: var(--dos-bright-green); box-shadow: 0 0 8px rgba(85, 255, 85, .45); }
.fkey { display: flex; flex: 1; align-items: center; min-width: 0; text-decoration: none; font-size: 20px; white-space: nowrap; }
.fkey > b { flex-shrink: 0; padding: 0 3px 0 9px; }
.fkey > span { flex: 1; display: flex; align-items: center; align-self: stretch; margin: 5px 2px 5px 0; padding: 0 8px; min-width: 0; overflow: hidden; background: var(--dos-cyan); color: var(--dos-black); }
.fkey:hover > span, .fkey[aria-current="true"] > span { background: var(--dos-bright-cyan); }
.fkey--play { flex: 1.2; }
.fkey--play > span { background: var(--amber); }
.fkey--play:hover > span { background: #ffffaa; }

/* ── Mobile menu ───────────────────────────────────────────────────────── */
.menu {
  position: fixed; z-index: 49; top: var(--titlebar-h); left: 0; right: 0;
  max-height: calc(100dvh - var(--titlebar-h)); overflow-y: auto;
  padding: 12px 16px 20px; background: var(--dos-blue); color: var(--dos-bright-cyan);
  border: 4px double var(--dos-bright-cyan); border-top: 0;
}
.menu a { display: flex; align-items: center; gap: 14px; padding: 10px 8px; font-size: 22px; text-decoration: none; }
.menu a b { width: 1.6em; color: var(--dos-black); background: var(--dos-cyan); text-align: center; }
.menu a:hover, .menu a[aria-current="true"] { background: var(--dos-cyan); color: var(--dos-black); }
.menu .btn { width: 100%; margin-top: 12px; }

/* ── Text-mode building blocks ─────────────────────────────────────────── */
.prompt { margin-bottom: 28px; font-size: 20px; color: var(--dim); overflow-wrap: anywhere; }
.prompt b { color: var(--text); }

/* Double-line window with a centered title and a ░ drop shadow. */
.win {
  --win-bg: var(--bg);
  position: relative;
  padding: 30px 26px 24px;
  background: var(--win-bg);
  border: 4px double var(--edge);
}
.win::before, .win::after { content: ""; position: absolute; pointer-events: none; background: var(--dither); }
.win::before { top: 8px; right: -18px; width: 14px; bottom: -18px; }
.win::after { left: 8px; right: -4px; bottom: -18px; height: 14px; }
.win-title {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -58%);
  max-width: calc(100% - 4ch); padding: 0 1ch;
  font-size: 20px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  color: var(--bright); background: var(--win-bg);
}
.section--alt .win { --win-bg: var(--bg-alt); }

/* Single-line box */
.box { padding: 18px 20px 20px; border: 2px solid var(--dos-dark-gray); }
.box h3 { display: flex; align-items: center; gap: 12px; font-size: 23px; }
.box p { margin-top: 10px; font-size: 20px; line-height: 1.5; }
.glyph { color: var(--amber); }
/* The CP437 ■ is drawn 0.17em below the middle of the capitals: lift it level with the text */
.sq { position: relative; top: -0.17em; }

/* ANSI shade band: ░▒▓█▓▒░ */
.shade { height: 30px; overflow: hidden; white-space: nowrap; text-align: center; font-size: 22px; line-height: 30px; color: #262626; user-select: none; }
.shade::before { content: "░░░░░░░░░▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓█████████▓▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒░░░░░░░░░░░░░░░░░░▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓█████████▓▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒░░░░░░░░░░░░░░░░░░▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓█████████▓▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒░░░░░░░░░░░░░░░░░░▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓█████████▓▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒░░░░░░░░░"; }

/* ── Sections ──────────────────────────────────────────────────────────── */
main { padding-bottom: var(--fbar-h); }
.section { padding: clamp(56px, 8vw, 112px) 0; }
.section--alt { background: var(--bg-alt); }
.section-head { margin-bottom: clamp(40px, 5vw, 60px); }
.section-title { font-size: clamp(34px, 4.4vw, 52px); max-width: 24ch; }
.lede { margin-top: 20px; max-width: 62ch; font-size: clamp(19px, 1.6vw, 21px); }
.prose { max-width: 62ch; }
.prose p { margin-top: 1.1em; }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero { position: relative; isolation: isolate; padding: clamp(36px, 6vw, 80px) 0 clamp(48px, 7vw, 88px); overflow: hidden; }
.bootlog {
  /* Behind the floppy, so the copy on the left stays clean */
  position: absolute; top: 0; bottom: 0; left: 50%; right: 0; z-index: -1;
  padding: 26px var(--gutter) 0 0;
  font-size: 18px; line-height: 1.45; color: #2e2e2e;
  white-space: pre; overflow: hidden; pointer-events: none; user-select: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 96%);
  mask-image: linear-gradient(to bottom, #000 55%, transparent 96%);
}
.bootlog b { color: #454545; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero-copy { container-type: inline-size; text-shadow: 0 0 6px #000, 0 0 2px #000; }
.hero-copy .prompt { margin-bottom: 22px; }
/* ANSI art: SVG drawn from the CP437 glyphs by ansi-art.mjs, as wide as its
   column up to the size it had as 24px text (53 columns × 0.390625em). */
.banner { display: block; width: 100%; max-width: 497px; height: auto; margin-bottom: 26px; }
.hero h1 { font-size: clamp(40px, 5.6vw, 70px); line-height: 0.95; max-width: 16ch; }
.hero .lede { margin-top: 22px; max-width: 54ch; color: var(--text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 34px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 26px; font-size: 19px; color: var(--dim); }
.hero-note span:not(:last-child)::after { content: "│"; margin-left: 12px; color: #333; }

.floppy { position: relative; margin: 0; display: grid; justify-items: center; }
.floppy canvas, .floppy img { width: 100%; max-width: 480px; aspect-ratio: 1; image-rendering: pixelated; }
.floppy canvas { cursor: grab; touch-action: none; }
.floppy canvas:active { cursor: grabbing; }
.floppy img { padding: 12%; }
.floppy figcaption { margin-top: -4px; font-size: 18px; color: var(--dim); }

.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: clamp(40px, 6vw, 72px) 0 0; border: 4px double var(--dos-dark-gray); background: var(--bg);
}
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 18px 22px 16px; border-left: 2px solid #262626; }
.stat:first-child { border-left: 0; }
.stat dt { font-size: 18px; line-height: 1.3; color: var(--dim); text-transform: uppercase; }
.stat dd { margin: 0 0 6px; font-size: clamp(38px, 4.4vw, 56px); line-height: 1; color: var(--amber); }

/* ── About ─────────────────────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 72px); align-items: start; }
.readme { margin-top: 10px; }
.readme ul { list-style: none; margin: 0; padding: 0; }
.readme li { display: grid; grid-template-columns: 1.6em 1fr; padding: 6px 0; line-height: 1.35; color: var(--bright); }
.readme li::before { content: "►"; color: var(--amber); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin: clamp(64px, 8vw, 96px) 0 0; padding: 0; }
.step { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-items: baseline; align-content: start; }
.step .step-glyph { font-size: 25px; line-height: 1.3; color: var(--amber); }
.step h4 { margin: 0; font-size: 25px; line-height: 1.3; }
.step p:not(.step-glyph) { grid-column: 1 / -1; margin-top: 12px; font-size: 20px; }

/* ── Platform ──────────────────────────────────────────────────────────── */
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px 48px; }
.pillar h4 { display: flex; align-items: baseline; gap: 14px; font-size: clamp(25px, 2.6vw, 30px); }
.pillar .num { flex-shrink: 0; color: var(--amber); }
.pillar > p { margin-top: 14px; }
.bullets { list-style: none; margin: 18px 0 0; padding: 0; }
.bullets li { display: grid; grid-template-columns: 1.6em 1fr; padding: 4px 0; font-size: 20px; line-height: 1.45; color: var(--bright); }
.bullets li::before { content: "■"; position: relative; top: -0.17em; color: var(--dos-cyan); }

/* ── Story ───────────────────────────────────────────────────────────── */
.story-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 40px; }
.story-block h4 { font-size: clamp(25px, 2.6vw, 30px); }
.story-block > p { margin-top: 14px; }
.history dl { margin: 16px 0 0; }
.history .row { display: grid; grid-template-columns: 5ch minmax(0, 1fr); gap: 1ch; padding: 6px 0; }
.history dt { color: var(--amber); }
.history dd { margin: 0; color: var(--bright); }
.history dl + p { margin-top: 12px; }
.founder h4 { font-size: clamp(30px, 3.2vw, 40px); }
.founder-role { margin-top: 8px; color: var(--dos-bright-cyan); }

/* ── CTA band ──────────────────────────────────────────────────────────── */
.cta-band { padding: clamp(40px, 5vw, 60px) 0; background: var(--dos-light-gray); color: #1f1f1f; border-top: 4px double var(--dos-white); border-bottom: 4px double #555; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.cta-band h2 { color: var(--dos-black); font-size: clamp(28px, 3.4vw, 42px); }
.cta-band p { margin-top: 8px; color: #333; }

/* ── Community ─────────────────────────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

/* ── WADCMD+ ───────────────────────────────────────────────────────────── */
.plus { background: radial-gradient(ellipse 60% 70% at 85% 40%, rgba(0, 0, 170, .28), transparent 70%), var(--bg); }
.plus-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.plus-intro { container-type: inline-size; }
.plus-title { margin: 0; }
.banner--plus { max-width: 524px; margin: 0; }
.plus-tagline { margin: 16px 0 24px; font-size: clamp(22px, 2.2vw, 27px); color: var(--amber); }
.plus-intro > p + p { margin-top: 1em; }
.plus-prices { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 30px; }
.plus-prices p { position: relative; display: flex; flex-direction: column; gap: 6px; min-width: 9.5ch; padding: 12px 20px 10px; border: 4px double var(--amber); }
/* A label on the box's top border, like a window title: 12 × $4.99 = $59.88, so yearly saves 16.5% */
.plus-prices .save { position: absolute; top: 0; left: 50%; transform: translate(-50%, -60%); padding: 0 1ch; font-style: normal; font-size: 17px; white-space: nowrap; color: var(--dos-bright-green); background: var(--bg); }
.plus-prices b { font-size: clamp(34px, 3.4vw, 44px); line-height: 1; color: var(--amber); }
.plus-prices span { font-size: 18px; color: var(--text); }

/* Turbo Vision dialog */
.dialog {
  position: relative; padding: 34px 24px 20px;
  background: var(--dos-light-gray); color: var(--dos-black);
  border: 4px double var(--dos-white); outline: 6px solid var(--dos-light-gray);
  margin: 6px;
}
.dialog::before, .dialog::after { content: ""; position: absolute; pointer-events: none; background: var(--dither); }
.dialog::before { top: 4px; right: -26px; width: 14px; bottom: -26px; }
.dialog::after { left: 4px; right: -12px; bottom: -26px; height: 14px; }
.dialog-title { position: absolute; top: 0; left: 50%; transform: translate(-50%, -58%); padding: 0 1ch; font-size: 21px; white-space: nowrap; color: var(--dos-black); background: var(--dos-light-gray); }
.compare { width: 100%; border-collapse: collapse; font-size: 20px; line-height: 1.35; }
.compare th, .compare td { padding: 8px 12px; text-align: left; vertical-align: middle; border-bottom: 2px solid #8a8a8a; }
.compare thead th { color: var(--dos-white); background: var(--dos-dark-gray); border-bottom: 0; }
.compare tbody th { font-weight: normal; color: var(--dos-black); }
.compare td { text-align: center; width: 5.5em; }
.compare thead th:nth-child(n + 2) { text-align: center; }
.compare th:last-child, .compare td:last-child { color: var(--amber); background: var(--dos-blue); border-bottom-color: #0000cc; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare tfoot th, .compare tfoot td { border-top: 4px double var(--dos-dark-gray); border-bottom: 0; }
.compare tfoot th { font-weight: normal; color: var(--dos-black); }
.compare tfoot td { line-height: 1.25; white-space: nowrap; }
.compare .is-plus th { color: var(--dos-blue); }
.dialog-foot { margin-top: 14px; font-size: 18px; color: #333; }

/* ── Supported games: Norton Commander panels ──────────────────────────── */
.nc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; }
.nc-panel { position: relative; padding: 28px 20px 20px; background: var(--dos-blue); color: var(--dos-white); border: 4px double var(--dos-bright-cyan); }
.nc-title { position: absolute; top: 0; left: 50%; transform: translate(-50%, -58%); max-width: calc(100% - 3ch); padding: 0 1ch; font-size: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--amber); background: var(--dos-blue); }
.nc-panel p { font-size: 20px; line-height: 1.5; }
.nc-note { margin-top: 12px; padding-top: 10px; border-top: 2px solid var(--dos-bright-cyan); color: var(--dos-bright-cyan); font-size: 19px !important; }
.footnote { margin-top: 22px; font-size: 18px; color: var(--dim); }
.notice { margin-top: 44px; }
.notice p { font-size: 20px; }

/* ── Technology ────────────────────────────────────────────────────────── */
.tech-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.dir { padding: 26px 0 8px; }
.dir table { width: 100%; border-collapse: collapse; font-size: 20px; line-height: 1.35; }
.dir caption { padding: 0 22px 12px; text-align: left; color: var(--dim); }
.dir th, .dir td { padding: 5px 12px; text-align: left; vertical-align: top; }
.dir th:first-child { padding-left: 22px; }
.dir thead th { color: var(--dim); border-bottom: 2px solid #262626; }
.dir tbody th { font-weight: normal; color: var(--bright); white-space: nowrap; }
.dir td:last-child { color: var(--text); }
.dir tfoot td { padding: 12px 22px 14px; color: var(--dim); border-top: 2px solid #262626; }
.tech-cards { display: grid; gap: 16px; }

/* ── Fact sheet ────────────────────────────────────────────────────────── */
.facts-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.factsheet dl { margin: 0; }
.factsheet .row { display: grid; grid-template-columns: 13ch minmax(0, 1fr); gap: 0 1ch; padding: 5px 0; }
.factsheet dt { overflow: hidden; white-space: nowrap; color: var(--dim); }
.factsheet dt::after { content: " ................................"; color: #333; }
.factsheet dd { margin: 0; color: var(--bright); }
.factsheet dd a { color: var(--dos-bright-cyan); text-underline-offset: 4px; }
.factsheet dd a:hover { color: var(--amber); }
.brand-notes p { font-size: 20px; }
.brand-notes p + p { margin-top: 12px; }
.palette { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 10px; margin-top: 22px; }
.swatch { font-size: 17px; color: var(--dim); }
.swatch i { display: block; height: 40px; margin-bottom: 6px; border: 2px solid #333; }

/* ── Press kit ─────────────────────────────────────────────────────────── */
.kit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.logo-tile { display: flex; flex-direction: column; padding: 26px 0 0; }
.logo-tile .preview { display: flex; align-items: center; justify-content: center; height: 220px; margin: 0 20px; padding: 18px; overflow: hidden; background: repeating-conic-gradient(#121212 0 25%, #1a1a1a 0 50%) 0 0 / 16px 16px; }
.logo-tile .preview img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.logo-tile .preview img[src$=".png"] { image-rendering: pixelated; }
/* The wordmark is a square, mostly black canvas: fill the preview width */
.logo-tile .preview--cover { padding: 0; background: #000; }
.logo-tile .preview--cover img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
.logo-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 20px 18px; font-size: 18px; color: var(--dim); }
.dl-group { display: flex; gap: 8px; }
.dl { padding: 2px 10px; font-size: 19px; color: var(--dos-black); background: var(--dos-cyan); text-decoration: none; }
.dl:hover { background: var(--dos-bright-cyan); }

.boiler { margin-top: 64px; }
.boiler-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.boiler-tabs button { padding: 3px 12px; font: 18px var(--font); color: var(--text); background: transparent; border: 0; cursor: pointer; }
.boiler-tabs button::before { content: "[ "; color: var(--dim); }
.boiler-tabs button::after { content: " ]"; color: var(--dim); }
.boiler-tabs button[aria-selected="true"] { color: var(--dos-black); background: var(--dos-light-gray); }
.boiler-tabs button[aria-selected="true"]::before, .boiler-tabs button[aria-selected="true"]::after { color: #444; }
.boiler-tabs button:hover { color: var(--amber); }
.boiler-tabs button[aria-selected="true"]:hover { color: var(--dos-black); }
.boiler-text { max-width: 76ch; color: var(--bright); white-space: pre-line; -webkit-user-select: all; user-select: all; }
/* The PDF, for those who look: a quiet DOS prompt under the descriptions */
.prompt--pdf { margin: 40px 0 0; }
.prompt--pdf a { color: var(--text); text-decoration: none; }
.prompt--pdf a:hover, .prompt--pdf a:focus-visible { color: var(--amber); text-decoration: underline; text-underline-offset: 4px; }
.boiler-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; padding-top: 14px; border-top: 2px solid #262626; font-size: 18px; color: var(--dim); }
.copied { color: var(--dos-bright-green); }

/* ── FAQ ───────────────────────────────────────────────────────────────── */
.faq { max-width: 920px; margin-top: clamp(72px, 9vw, 112px); }
.faq .section-title { margin-bottom: 30px; }
.faq details { border-bottom: 2px solid #262626; }
.faq summary { display: flex; gap: 1ch; padding: 14px 0; font-size: 22px; line-height: 1.3; color: var(--bright); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "[+]"; flex-shrink: 0; color: var(--amber); }
.faq details[open] summary::before { content: "[-]"; }
.faq summary:hover { color: var(--amber); }
.faq details > div { padding: 0 0 18px 4ch; }

/* ── Contact / final CTA ───────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: stretch; }
.contact .section-title { margin-bottom: 14px; }
.contact-list { list-style: none; margin: 22px 0 0; padding: 0; }
.contact-list a { display: grid; grid-template-columns: 10ch minmax(0, 1fr); gap: 1ch; padding: 6px 8px; margin: 0 -8px; text-decoration: none; }
.contact-list a:hover { color: var(--dos-black); background: var(--dos-cyan); }
.contact-list b { font-weight: normal; color: var(--dim); }
.contact-list span { color: var(--bright); overflow-wrap: anywhere; }
.contact-list a:hover b, .contact-list a:hover span { color: var(--dos-black); }

.terminal {
  position: relative; container-type: inline-size;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 22px;
  padding: clamp(24px, 4vw, 40px);
  background: var(--dos-black); border: 4px double var(--dos-dark-gray);
}
.terminal::after { content: ""; pointer-events: none; position: absolute; inset: 0; opacity: .14; background: repeating-linear-gradient(to bottom, transparent 0 2px, #000 2px 3px); }
.terminal-log { font-size: 19px; color: var(--dim); white-space: pre-wrap; }
.terminal-log b { color: var(--bright); }
.terminal-log .dim { color: #3f3f3f; }
.banner--play { max-width: 413px; margin: 0; }

/* ── Footer ────────────────────────────────────────────────────────────── */
.footer { padding: 0 0 calc(var(--fbar-h) + 36px); background: var(--bg-alt); }
.shade--footer { margin-bottom: 36px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer .brand { color: var(--bright); }
.footer .brand b { color: var(--text); border-color: #555; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 20px; }
.footer-links a { color: var(--text); text-decoration: none; }
.footer-links a:hover { color: var(--amber); }
.footer-dev { display: flex; align-items: center; gap: 14px; font-size: 17px; color: var(--dim); text-decoration: none; }
.footer-dev img { width: auto; height: 52px; }
.footer-dev:hover { color: var(--amber); }
.legal { margin-top: 26px; padding-top: 20px; border-top: 2px solid #1f1f1f; font-size: 17px; line-height: 1.6; color: var(--dim); }
.legal p + p { margin-top: 8px; }

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .nc, .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fbar-status { display: none; }
}
@media (max-width: 960px) {
  .hero-grid, .about-grid, .story-grid, .plus-grid, .tech-grid, .facts-grid, .contact-grid, .pillars { grid-template-columns: minmax(0, 1fr); }
  .plus-prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .plus-prices p { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 12px; padding: 18px 22px 14px; }
  .floppy { order: -1; }
  .bootlog { left: 0; bottom: auto; height: 460px; padding-left: var(--gutter); }
  .floppy canvas, .floppy img { max-width: 340px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 2px solid #262626; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 44px; }
}
@media (max-width: 900px) {
  :root { --fbar-h: 0px; }
  .fbar, .titlebar-path { display: none; }
  .titlebar-button { display: grid; }
  .titlebar { gap: 12px; }
}
@media (max-width: 640px) {
  :root { --titlebar-h: 52px; }
  body { font-size: 20px; }
  .brand > span { display: none; }
  .bootlog { font-size: 13px; }
  .hero h1 { font-size: 38px; }
  .hero-actions .btn, .cta-band .btn { width: 100%; }
  .release-sticker { right: -4%; top: -40%; width: 32%; }
  .nc, .cards, .kit-grid { grid-template-columns: minmax(0, 1fr); }
  .win { padding: 28px 18px 20px; }
  .win::before { right: -12px; width: 8px; bottom: -12px; }
  .win::after { bottom: -12px; height: 8px; }
  .plus-prices { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .plus-prices p { padding: 18px 18px 14px; }
  .plus-prices b { font-size: 40px; }
  .dialog { padding: 30px 8px 14px; margin: 4px 8px 22px 4px; outline-width: 4px; }
  .dialog::before { right: -18px; width: 8px; bottom: -18px; }
  .dialog::after { right: -10px; bottom: -18px; height: 8px; }
  .compare { font-size: 16px; }
  .compare th, .compare td { padding: 8px 5px; }
  .compare th:first-child { padding-left: 8px; }
  .compare td { width: 3.4em; }
  .dialog-foot { font-size: 16px; padding: 0 8px; }
  .factsheet .row { grid-template-columns: minmax(0, 1fr); }
  .factsheet dt::after { content: none; }
  .contact-list a { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .dir table { font-size: 18px; }
  .dir th, .dir td { padding: 4px 8px; }
  .dir th:first-child { padding-left: 14px; }
  .faq summary { font-size: 22px; }
  .faq details > div { padding-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cursor, .loading-bar i { animation: none; }
  .btn { transition: none; }
}
/* ── Print and PDF: a color brochure ─────────────────────────────────────
   Printing (or Save as PDF) lays the page out as an A4 brochure in the site's
   colors and CP437 type. Every printed page is a .sheet of fixed height: its
   content is arranged to fill it, and it ends with a page strip. The site's
   title bar repeats above every sheet (a real <thead>, see .frame). Nothing on
   paper looks like a link: buttons and navigation are hidden, and the way in is
   the "SCAN TO PLAY" QR code. The layout is zoomed (0.66), not re-sized, so the
   desktop grids stay intact; print-color-adjust keeps every background even
   when the print dialog's "Background graphics" option is off. */
.print-only { display: none; }
@page { size: A4; margin: 12mm 16mm; background: #000; }
@media print {
  *, *::before, *::after { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  :root {
    --fbar-h: 0px;
    --gutter: 0px;
    /* One sheet: the A4 area inside the margins, less the title bar. Checked
       against Chrome's output: taller and every sheet spills onto a new page. */
    --sheet-h: 398mm;
    --footer-h: 64mm;
  }
  html { zoom: 0.66; background: #000; scroll-behavior: auto; }
  body { background: #000; counter-reset: sheet; }
  a { text-decoration: none; }
  .print-only { display: revert; }
  .cursor { animation: none; opacity: 1; }

  /* Nothing that only works on a screen */
  .btn, .hero-actions, .footer-links, .titlebar-button, .fbar, .menu, .skip-link, .cta-band,
  .shade:not(.shade--footer), .boiler-tabs, .boiler-foot, .prompt--pdf, .logo-meta .dl-group, .logo-meta .dl,
  .floppy canvas, .floppy [data-floppy-fallback], .floppy figcaption { display: none !important; }

  /* The title bar repeats at the top of every page: only a <thead> does that */
  .frame { display: table; width: 100%; table-layout: fixed; border-collapse: collapse; }
  .frame > thead { display: table-header-group; }
  .frame > tbody { display: table-row-group; }
  .frame > * > tr { display: table-row; }
  .frame > * > tr > td { display: table-cell; padding: 0; vertical-align: top; }
  .titlebar { position: static; margin-bottom: 30px; }
  .titlebar-path { display: flex; }
  .titlebar-path b { display: none; }
  .titlebar-url { display: flex; align-items: center; flex-shrink: 0; font-size: 20px; color: #1a1a1a; }

  /* Sheets: one printed page each, filled top to bottom */
  main { padding: 0; }
  .sheet { position: relative; display: flex; flex-direction: column; height: var(--sheet-h); overflow: hidden; break-before: page; counter-increment: sheet; }
  .sheet--cover { break-before: auto; }
  .sheet > .section, .sheet > .hero { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; padding: 0; background: none; overflow: visible; }
  .sheet > .platform-more, .sheet > .platform-more > .wrap { flex: none; } /* a flex-basis of 0 would collapse it */
  .section > .wrap { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; }
  /* The page strip at the foot of every inside page */
  .sheet::after {
    content: "C:\\WADCMD\\PRESS>  WAD COMMANDER · PRESS KIT 2026 · press.wadcmd.com";
    flex: none; margin-top: 26px; padding-top: 12px; border-top: 2px solid #262626;
    font-size: 17px; line-height: 26px; color: var(--dim);
  }
  .sheet::before {
    content: counter(sheet, decimal-leading-zero);
    position: absolute; right: 0; bottom: 0; padding: 0 10px;
    font-size: 17px; line-height: 26px; color: var(--dos-black); background: var(--dos-cyan);
  }
  .sheet--cover::before, .sheet--cover::after, .sheet--last::before, .sheet--last::after { content: none; }

  /* Rhythm */
  .prompt { margin-bottom: 16px; }
  .section-head { margin-bottom: 30px; }
  .section-title { max-width: 30ch; font-size: 58px; }
  .lede { max-width: 72ch; font-size: 24px; line-height: 1.5; }

  /* Text-mode windows: the frame sits a little inside the box, so the title on
     its top border stays within the box. */
  .win { border: 0; padding-top: 44px; box-shadow: 14px 14px 0 #262626; }
  .win::before {
    content: ""; position: absolute; inset: 10px 0 0; width: auto; height: auto;
    background: none; border: 4px double var(--edge); pointer-events: none;
  }
  .win::after { display: none; }
  .win-title { top: 0; transform: translateX(-50%); z-index: 1; }
  .dir, .logo-tile { padding-top: 40px; }
  .nc-panel { border: 0; padding-top: 44px; background: linear-gradient(var(--dos-blue), var(--dos-blue)) 0 10px / 100% calc(100% - 10px) no-repeat; }
  .nc-panel::before { content: ""; position: absolute; inset: 10px 0 0; border: 4px double var(--dos-bright-cyan); pointer-events: none; }
  .nc-title { top: 0; transform: translateX(-50%); z-index: 1; }
  .terminal { box-shadow: 14px 14px 0 #262626; }
  .terminal::after { display: none; } /* no scanlines over the QR code */

  /* "SCAN TO PLAY": a window with the QR code and the address under it */
  .scan { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 48px 32px 26px; }
  .scan .qr { display: block; width: 200px; height: 200px; background: #fff; }
  .scan p { font-size: 28px; line-height: 1; color: var(--amber); }

  /* 01 Cover */
  .hero { position: relative; }
  .bootlog { top: 0; left: 50%; right: 0; bottom: auto; height: 58%; padding: 2mm 0 0; font-size: 19px; color: #2e2e2e; }
  .bootlog b { color: #4a4a4a; }
  .hero-grid { flex: 1 1 0; min-height: 0; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: center; }
  .hero-copy .prompt { margin-bottom: 20px; }
  .hero h1 { font-size: 84px; max-width: none; }
  .hero .lede { font-size: 25px; max-width: 44ch; margin-top: 28px; }
  .hero-note { margin-top: 30px; font-size: 18px; }
  .floppy { order: 0; }
  .floppy .floppy-print { display: block; width: 100%; max-width: 470px; height: auto; aspect-ratio: auto; padding: 0; margin: 0 auto; image-rendering: pixelated; }
  .cover-bottom { display: grid; grid-template-columns: minmax(0, 1fr) 330px; grid-template-areas: "stats scan" "foot foot"; gap: 34px 40px; }
  .cover-bottom .stats { grid-area: stats; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
  .cover-bottom .stat { justify-content: center; padding: 22px 28px; border-left: 2px solid #262626; border-top: 2px solid #262626; }
  .cover-bottom .stat:nth-child(odd) { border-left: 0; }
  .cover-bottom .stat:nth-child(-n + 2) { border-top: 0; }
  .cover-bottom .stat dd { font-size: 64px; }
  .cover-bottom .scan { grid-area: scan; margin: 0 14px 14px 0; }
  .cover-foot { grid-area: foot; display: flex; justify-content: space-between; gap: 24px; padding-top: 14px; border-top: 2px solid #262626; font-size: 18px; color: var(--dim); text-transform: uppercase; }
  .cover-foot span:nth-child(2) { color: var(--amber); }

  /* 02 About */
  .about-grid { flex: 1 1 0; min-height: 0; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: stretch; }
  .about-grid .prose p { font-size: 31px; line-height: 1.5; }
  .readme { margin: 0 14px 14px 0; display: flex; flex-direction: column; }
  .readme ul { flex: 1; display: flex; flex-direction: column; justify-content: space-evenly; }
  .readme li { font-size: 23px; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 40px 14px 14px 0; gap: 40px; }

  /* 03 Story: four windows filling the page */
  .story-grid { flex: 1 1 0; min-height: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 40px; margin: 0 14px 14px 0; }
  .story-block h4 { font-size: 31px; }
  .story-block > p, .history dd { font-size: 26px; line-height: 1.5; }
  .history dt { font-size: 26px; }
  .founder h4 { font-size: 46px; }
  .founder-role { font-size: 24px; line-height: 1.5; }

  /* 04–05 Platform and community */
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 34px 40px; }
  .pillar h4 { font-size: 27px; }
  .pillar > p { font-size: 21px; line-height: 1.45; }
  .pillar .bullets li { font-size: 19px; padding: 1px 0; }
  #platform .pillars { flex: 1 1 0; min-height: 0; margin-right: 14px; row-gap: 28px; }
  .platform-more .pillars { margin-right: 14px; }
  .pillar > p { margin-top: 10px; }
  .bullets { margin-top: 12px; }
  #community { margin-top: 52px; }
  .cards { flex: 1 1 0; min-height: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; }
  .cards .box { padding: 18px 20px; }
  .cards .box h3 { font-size: 22px; }
  .cards .box p { font-size: 20px; line-height: 1.45; }

  /* 06 WADCMD+ */
  .plus { background: none; }
  .plus-grid { flex: 1 1 0; min-height: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: stretch; gap: 44px; }
  .plus-intro { display: flex; flex-direction: column; padding-bottom: 22px; } /* the dialog frame ends 22px above the grid */
  .plus-intro > p { font-size: 24px; line-height: 1.5; }
  .plus-tagline { font-size: 30px; }
  .plus-prices { display: flex; flex-direction: column; flex-wrap: nowrap; gap: 30px; margin-top: auto; padding-top: 30px; }
  .plus-prices p { flex: none; flex-direction: row; align-items: baseline; justify-content: space-between; gap: 20px; padding: 26px 30px 22px; }
  .plus-prices b { font-size: 76px; }
  .plus-prices span { font-size: 26px; }
  .plus-prices .save { font-size: 21px; }
  .dialog { display: flex; flex-direction: column; margin: 6px 28px 28px 6px; }
  .compare { flex: 1; font-size: 18px; }
  .compare th, .compare td { padding: 6px 12px; }

  /* 07 Supported games */
  .nc { flex: 1 1 0; min-height: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 36px 24px; }
  .nc-panel { padding: 50px 26px 24px; }
  .nc-panel p { font-size: 22px; line-height: 1.45; }
  .nc-note { font-size: 19px !important; }
  .notice { margin: 40px 14px 14px 0; }

  /* 08 Technology */
  .tech-grid { flex: 1 1 0; min-height: 0; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: stretch; gap: 44px; }
  .dir { display: flex; flex-direction: column; margin: 0 14px 14px 0; }
  .dir table { flex: 1; }
  .tech-cards { grid-auto-rows: 1fr; }
  .tech-cards .box h3 { font-size: 24px; }
  .tech-cards .box p { font-size: 21px; }
  .dir table { font-size: 21px; }

  /* 09 Fact sheet */
  .facts-grid { flex: 1 1 0; min-height: 0; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: stretch; gap: 48px; }
  .factsheet { display: flex; flex-direction: column; margin: 0 14px 14px 0; }
  .factsheet dl { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
  .brandbox { display: flex; flex-direction: column; margin: 0 14px 14px 0; }
  .brand-notes { display: flex; flex-direction: column; gap: 22px; }
  .brand-notes p { font-size: 24px; line-height: 1.5; }
  .brand-notes p + p { margin-top: 0; }
  .palette { margin-top: auto; padding-top: 28px; gap: 18px 12px; }
  .swatch { font-size: 17px; }
  .swatch i { height: 80px; }
  .factsheet dd a { color: var(--bright); }
  .factsheet .row { padding: 3px 0; }

  /* 10 Press kit */
  .kit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-right: 14px; }
  .logo-tile .preview { height: 150px; }
  .logo-meta { padding: 12px 20px 16px; }
  .boiler { flex: 1 1 0; min-height: 0; margin: 16px 14px 14px 0; display: flex; flex-direction: column; justify-content: space-evenly; }
  .boiler-text[hidden] { display: block !important; }
  .boiler-text { max-width: none; }
  .boiler-text + .boiler-text { padding-top: 10px; border-top: 2px solid #262626; }
  .boiler-text::before { display: block; margin-bottom: 4px; color: var(--amber); }
  #boiler-short::before { content: "SHORT"; }
  #boiler-medium::before { content: "MEDIUM"; }
  #boiler-long::before { content: "LONG"; }

  /* 11 FAQ: every answer shown (press.js also opens them on beforeprint),
     the spare space shared equally before each question */
  .faq { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; margin: 0; max-width: none; }
  .faq .section-title { margin-bottom: 10px; }
  .faq details { margin-top: auto; border-color: #262626; }
  .faq details:last-child { margin-bottom: auto; }
  .faq details::details-content { content-visibility: visible; }
  .faq details > div { display: block; }
  .faq summary { font-size: 23px; }
  .faq summary::before { content: "[-]"; }

  /* 12 Back page: contact and the QR code side by side, the PLAY screen below,
     the site footer (with the developer's logo) at the foot of the page */
  .sheet--last { height: calc(var(--sheet-h) - var(--footer-h)); }
  .contact-grid {
    flex: 1 1 0; min-height: 0; margin-right: 14px;
    grid-template-columns: minmax(0, 1fr) 390px; grid-template-rows: auto minmax(0, 1fr);
    grid-template-areas: "contact scan" "play play"; gap: 48px;
  }
  .contact { grid-area: contact; margin: 0; }
  .contact .section-title { font-size: 64px; margin-bottom: 18px; }
  .contact > p { font-size: 25px; line-height: 1.5; }
  .contact-list a { font-size: 25px; padding: 12px 0; margin: 0; grid-template-columns: 11ch minmax(0, 1fr); }
  .contact-grid > .scan { grid-area: scan; }
  .scan .qr { width: 240px; height: 240px; }
  .terminal { grid-area: play; justify-content: center; align-items: center; gap: 34px; padding: 0; margin: 0; border: 0; background: none; box-shadow: none; text-align: center; }
  .terminal-log { align-self: center; text-align: left; font-size: 19px; }
  .banner--play, .play-art { max-width: 825px; }
  .terminal-copy { max-width: 52ch; font-size: 27px; line-height: 1.5; color: var(--bright); }
  .footer { display: flex; flex-direction: column; justify-content: flex-end; height: var(--footer-h); padding: 0; background: none; break-inside: avoid; }
  .footer-dev { gap: 18px; font-size: 18px; }
  .footer-dev img { height: 64px; }
  .shade--footer { margin-bottom: 26px; }
}
