/* ==========================================================================
   Silicon Arcade
   Hand-written, no build step. Edit and re-upload.
   ========================================================================== */

:root {
  /* The room: lit surfaces */
  --bone:      #fdf4e3;
  --bone-2:    #f5e7cd;
  --card:      #fffaf0;

  /* Ink */
  --ink:       #22143f;
  --ink-2:     #4c3d6b;
  --ink-3:     #7d6d99;

  /* The room: dark surfaces */
  --room:      #1e1140;
  --room-2:    #150c2e;
  --room-3:    #120a26;
  --room-line: #3d2a72;
  --room-tile: #5b4a86;
  --on-room:   #fff8ea;
  --on-room-2: #c3b6dd;
  --on-room-3: #9d8fc2;

  /* Neon. The -ink variants are the same hues darkened for use on bone. */
  --amber:        #ffbf1f;
  --magenta:      #ff2d78;
  --magenta-ink:  #d9126c;
  --cyan:         #22e0f0;
  --cyan-ink:     #0d8fa0;
  --lime:         #8ef04a;

  /* The game screen runs on period arcade primaries, deliberately
     independent of the palette above. */
  --g-red:    #f0281e;
  --g-blue:   #3060ff;
  --g-green:  #2ad84a;
  --g-white:  #fff4e0;

  --sign:  "Press Start 2P", "Courier New", monospace;
  --body:  "Chakra Petch", "Segoe UI", system-ui, sans-serif;
  --mono:  "JetBrains Mono", "Consolas", ui-monospace, monospace;

  --pad: 44px;
  --rule: 4px solid var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }

a { color: var(--magenta-ink); text-decoration: none; }
a:hover { color: #a80d51; text-decoration: underline; }

:focus-visible {
  outline: 3px solid var(--magenta);
  outline-offset: 3px;
}

h1, h2, h3 { margin: 0; line-height: 1.16; font-weight: 700; }
p { margin: 0; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--bone);
  padding: 12px 20px;
  font-family: var(--mono);
}
.skip-link:focus { left: 0; }

.wrap { padding-left: var(--pad); padding-right: var(--pad); }

/* --------------------------------------------------------------------------
   Arcade carpet — the geometric band top and bottom
   -------------------------------------------------------------------------- */

.carpet {
  height: 16px;
  background-color: var(--room);
  background-repeat: repeat-x;
  background-size: 90px 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='16'%3E%3Cpath d='M0 12 L12 3 L24 12 L36 3 L48 12' stroke='%23ff2d78' stroke-width='2.5' fill='none' opacity='.85'/%3E%3Ccircle cx='62' cy='8' r='3' fill='%2322e0f0' opacity='.8'/%3E%3Cpath d='M74 12 L80 3 L86 12 Z' fill='%23ffbf1f' opacity='.8'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   Marquee
   -------------------------------------------------------------------------- */

.marquee { background: var(--room-2); }

.bulbs {
  height: 14px;
  background-size: 28px 100%;
  background-image:
    radial-gradient(circle at 14px 50%, rgba(255, 233, 168, .35) 0 9px, rgba(255, 233, 168, 0) 10px),
    radial-gradient(circle at 14px 50%, #fff3cf 0 3.5px, rgba(255, 243, 207, 0) 4px);
}

@media (prefers-reduced-motion: no-preference) {
  .bulbs { animation: chase 1.4s steps(2, end) infinite; }
  @keyframes chase {
    from { background-position: 0 0, 0 0; }
    to   { background-position: 28px 0, 28px 0; }
  }
}

.marquee__plate {
  background: linear-gradient(180deg, #2d1a5c 0%, #1a0f3a 100%);
  border-top: 3px solid var(--room-line);
  border-bottom: 3px solid var(--room-line);
  padding: 24px var(--pad);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
}

.marquee__cab { flex-shrink: 0; opacity: .9; }

.marquee__name {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.marquee__title {
  font-family: var(--sign);
  font-size: clamp(15px, 2.5vw, 32px);
  letter-spacing: .02em;
  color: var(--on-room);
  text-shadow: 3px 0 0 var(--magenta), -3px 0 0 var(--cyan), 0 0 26px rgba(255, 45, 120, .5);
}
.marquee__title span { white-space: nowrap; }

.marquee__tag {
  font-size: clamp(10px, 1.1vw, 14px);
  font-weight: 600;
  letter-spacing: .36em;
  text-transform: uppercase;
  color: var(--amber);
}

/* --------------------------------------------------------------------------
   Score-strip navigation
   -------------------------------------------------------------------------- */

.nav {
  background: var(--room-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px var(--pad);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .16em;
}

.nav__score { color: var(--magenta); white-space: nowrap; }
.nav__hi    { color: var(--amber);   white-space: nowrap; }
.nav__score b, .nav__hi b { color: var(--on-room); font-weight: 400; }

.nav__links { display: flex; gap: 32px; }
.nav__links a { color: var(--cyan); }
.nav__links a:hover { color: var(--on-room); text-decoration: none; }

/* --------------------------------------------------------------------------
   Shared section furniture
   -------------------------------------------------------------------------- */

.section { padding: 56px var(--pad); border-top: var(--rule); }
.section--bone { background: var(--bone); }
.section--bone2 { background: var(--bone-2); }
.section--room { background: var(--room); }

.eyebrow {
  font-family: var(--sign);
  font-size: 11px;
  line-height: 1.6;
  display: block;
}
.eyebrow--magenta { color: var(--magenta-ink); }
.eyebrow--cyan    { color: var(--cyan-ink); }
.eyebrow--amber   { color: var(--amber); }

.section__head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; }
.section__head h2 { font-size: clamp(24px, 3vw, 31px); }
.section__head p { font-size: 16px; color: var(--ink-2); max-width: 660px; }

.section--room .section__head h2 { color: var(--on-room); }

/* Buttons ------------------------------------------------------------------ */

.btn {
  display: inline-block;
  font-family: var(--sign);
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  border: 3px solid var(--ink);
  cursor: pointer;
}
.btn:hover { text-decoration: none; transform: translate(2px, 2px); }
.btn:active { transform: translate(6px, 6px); box-shadow: none !important; }
.btn { transition: transform .06s ease-out, box-shadow .06s ease-out; }
@media (prefers-reduced-motion: reduce) {
  .btn, .btn:hover, .btn:active { transform: none; transition: none; }
}

.btn--coin {
  background: var(--amber);
  color: var(--ink);
  padding: 18px 24px;
  box-shadow: 6px 6px 0 var(--ink);
}
.btn--coin:hover { box-shadow: 4px 4px 0 var(--ink); color: var(--ink); }

.btn--free {
  background: var(--bone);
  color: var(--ink);
  padding: 18px 24px;
  box-shadow: 6px 6px 0 var(--cyan);
}
.btn--free:hover { box-shadow: 4px 4px 0 var(--cyan); color: var(--ink); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  background: var(--bone);
  padding: 56px var(--pad) 52px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 46px;
  align-items: start;
}

.hero__copy { display: flex; flex-direction: column; gap: 26px; padding-top: 6px; }

.hero__flags { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.chip {
  background: var(--magenta-ink);
  color: var(--bone);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  padding: 5px 10px;
}

.hero__meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: #6b5c86;
}

.hero h1 {
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: -.018em;
  text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--magenta-ink); }

.hero__lede {
  font-size: clamp(16px, 1.6vw, 18.5px);
  line-height: 1.56;
  color: var(--ink-2);
  max-width: 470px;
}

code, .code {
  font-family: var(--mono);
  background: #f0e2c6;
  color: var(--ink);
  padding: 1px 5px;
  font-size: .92em;
}

.hero__actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding-top: 4px; }

.hero__note {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--ink-3);
}

/* The cabinet ------------------------------------------------------------- */

.cabinet {
  background: linear-gradient(180deg, #2d1a5c 0%, #1a0f3a 100%);
  border: var(--rule);
  border-radius: 6px;
  padding: 14px;
  box-shadow: 10px 10px 0 rgba(34, 20, 63, .16);
}

.cabinet__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 12px;
  border-radius: 2px;
}
.cabinet__bar--screen { background: var(--magenta); }
.cabinet__bar--code   { background: var(--cyan); margin-top: 12px; }

.cabinet__bar b {
  font-family: var(--sign);
  font-size: 9px;
  font-weight: 400;
  line-height: 1.5;
}
.cabinet__bar span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
}
.cabinet__bar--screen b, .cabinet__bar--screen span { color: var(--on-room); }
.cabinet__bar--code b,   .cabinet__bar--code span   { color: #0d2a30; }

.screen {
  position: relative;
  background: #080703;
  margin-top: 10px;
  border: 3px solid #0d0721;
  border-radius: 4px;
  overflow: hidden;
  padding: 14px 20px;
}
.screen::before,
.screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.screen::before {
  background: radial-gradient(80% 70% at 50% 45%, rgba(120, 170, 255, .15), rgba(0, 0, 0, 0) 72%);
}
.screen::after {
  background:
    repeating-linear-gradient(to bottom, rgba(0,0,0,.36) 0 1px, rgba(0,0,0,0) 1px 3px),
    radial-gradient(115% 90% at 50% 50%, rgba(0,0,0,0) 55%, rgba(0,0,0,.62) 100%);
}

.screen__hud {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono);
  /* The cabinet narrows to ~240px on a phone; a fixed size would clip
     the right-hand readout. Small HUD type is period-correct anyway. */
  font-size: clamp(7.5px, 1.15vw, 11.5px);
  letter-spacing: .16em;
  white-space: nowrap;
}
.screen__hud .p1   { color: var(--g-red); }
.screen__hud .hi   { color: var(--g-white); }
.screen__hud .lvl  { color: var(--g-green); }

.screen__art { position: relative; display: block; width: 100%; height: auto; margin-top: 6px; }

.listing {
  background: var(--room-3);
  border: 3px solid #0d0721;
  border-radius: 4px;
  margin-top: 10px;
  padding: 15px 17px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.72;
  color: var(--on-room-2);
  overflow-x: auto;
}
/* No ligatures: the whole point of this panel is that it is the real
   source text, and JetBrains Mono would render != as a single glyph. */
.listing, .listing pre, code { font-variant-ligatures: none; }
.listing pre { margin: 0; font: inherit; }
.listing .c  { color: #7a6b9e; }
.listing .k  { color: var(--magenta); }
.listing .f  { color: var(--amber); }
.listing .t  { color: var(--cyan); }
.listing .n  { color: var(--lime); }

/* --------------------------------------------------------------------------
   Score strip
   -------------------------------------------------------------------------- */

.scores {
  background: var(--room);
  border-top: var(--rule);
  border-bottom: var(--rule);
  padding: 26px var(--pad);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}
.scores div { display: flex; flex-direction: column; gap: 8px; }
.scores b {
  font-family: var(--sign);
  font-size: clamp(17px, 2vw, 24px);
  font-weight: 400;
}
.scores span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: #a698c9;
}
.scores .s1 b { color: var(--amber);   text-shadow: 0 0 18px rgba(255,191,31,.55); }
.scores .s2 b { color: var(--cyan);    text-shadow: 0 0 18px rgba(34,224,240,.55); }
.scores .s3 b { color: var(--magenta); text-shadow: 0 0 18px rgba(255,45,120,.55); }
.scores .s4 b { color: var(--lime);    text-shadow: 0 0 18px rgba(142,240,74,.5); }

/* --------------------------------------------------------------------------
   Premise
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.split__head { display: flex; flex-direction: column; gap: 14px; }
.split__head h2 { font-size: clamp(24px, 3vw, 31px); }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }

.card {
  background: var(--card);
  border: 3px solid var(--ink);
  display: flex;
  flex-direction: column;
}
.card__edge { height: 10px; }
.card__body { padding: 20px; display: flex; flex-direction: column; gap: 11px; }
.card__no { font-family: var(--sign); font-size: 11px; color: var(--ink-3); }
.card h3 { font-size: 18px; }
.card p { font-size: 14.5px; line-height: 1.58; color: var(--ink-2); }

.card--a { box-shadow: 6px 6px 0 var(--amber); }
.card--a .card__edge { background: var(--amber); }
.card--b { box-shadow: 6px 6px 0 var(--magenta); }
.card--b .card__edge { background: var(--magenta); }
.card--c { box-shadow: 6px 6px 0 var(--cyan); }
.card--c .card__edge { background: var(--cyan); }

/* --------------------------------------------------------------------------
   Stage select
   -------------------------------------------------------------------------- */

.stages { position: relative; overflow: hidden; }
.stages::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .14;
  background-size: 150px 120px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='120'%3E%3Cpath d='M0 90 L20 55 L40 90 L60 55 L80 90' stroke='%23ff2d78' stroke-width='4' fill='none'/%3E%3Ccircle cx='108' cy='34' r='10' fill='%2322e0f0'/%3E%3Cpath d='M120 104 L134 78 L148 104 Z' fill='%23ffbf1f'/%3E%3Crect x='16' y='12' width='14' height='14' fill='%238ef04a'/%3E%3Ccircle cx='66' cy='16' r='5' fill='%23fff8ea'/%3E%3C/svg%3E");
}
.stages > * { position: relative; }

.stages__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 30px;
}
.stages__head p { font-size: 14px; color: #b6a8d6; padding-bottom: 5px; }

.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }

.stage {
  background: var(--room-2);
  border: 2px solid var(--room-tile);
  border-radius: 3px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-height: 108px;
}
.stage--first { border-color: var(--amber); }
.stage--boss  { border-color: var(--magenta); }

.stage__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.stage__no {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--room-tile);
}
.stage--first .stage__no { color: var(--amber); }
.stage--boss .stage__no  { color: var(--magenta); }
.stage__tag { font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; color: #6f5f94; }
.stage__name { font-size: 15px; line-height: 1.32; font-weight: 600; color: var(--on-room); }
.stage__hint { font-family: var(--mono); font-size: 11px; color: var(--on-room-3); }

.stages__more {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--on-room-3);
}

/* --------------------------------------------------------------------------
   Proof
   -------------------------------------------------------------------------- */

.proof { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 50px; align-items: center; }
.proof__copy { display: flex; flex-direction: column; gap: 16px; }
.proof__copy h2 { font-size: clamp(24px, 3vw, 31px); line-height: 1.18; }
.proof__copy p { font-size: 16px; line-height: 1.62; color: var(--ink-2); max-width: 540px; }
.proof__copy .fine { font-size: 13.5px; color: var(--ink-3); }

.terminal {
  background: var(--room-3);
  border: var(--rule);
  border-radius: 4px;
  overflow: hidden;
  font-family: var(--mono);
  box-shadow: 8px 8px 0 rgba(34, 20, 63, .16);
}
.terminal__bar {
  padding: 11px 16px;
  background: var(--room);
  font-size: 10.5px;
  letter-spacing: .14em;
  color: var(--lime);
}
.terminal dl { margin: 0; padding: 16px; display: flex; flex-direction: column; gap: 10px; font-size: 12.5px; }
.terminal .row { display: flex; justify-content: space-between; gap: 16px; }
.terminal dt { color: var(--on-room-2); }
.terminal dd { margin: 0; color: var(--on-room); }
.terminal dd.pass { color: var(--lime); }

/* --------------------------------------------------------------------------
   Machines
   -------------------------------------------------------------------------- */

.machine {
  background: var(--card);
  border: 3px solid var(--ink);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: center;
  text-align: center;
  min-height: 250px;
}
.machine h3 { font-size: 18px; line-height: 1.2; }
.machine p { font-size: 13.5px; line-height: 1.48; color: var(--ink-2); }
.machine__status {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  color: var(--ink);
}
.machine--a { box-shadow: 6px 6px 0 var(--amber); }
.machine--b { box-shadow: 6px 6px 0 var(--cyan); }
.machine--c { box-shadow: 6px 6px 0 var(--magenta); }
.machine--d { box-shadow: 6px 6px 0 var(--lime); }

/* --------------------------------------------------------------------------
   Editions
   -------------------------------------------------------------------------- */

.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }

.tier {
  background: var(--card);
  border: 3px solid var(--ink);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  min-height: 268px;
}
.tier__label { font-family: var(--sign); font-size: 10px; line-height: 1.6; }
.tier__price { font-size: 36px; font-weight: 700; }
.tier p { font-size: 14.5px; line-height: 1.56; color: var(--ink-2); }
.tier .cta {
  margin-top: auto;
  display: block;
  text-align: center;
  padding: 11px;
  font-family: var(--sign);
  font-size: 10px;
  line-height: 1.6;
  border: 3px solid var(--ink);
  color: var(--ink);
}
.tier .cta:hover { background: var(--ink); color: var(--bone); text-decoration: none; }

.tier--free { box-shadow: 6px 6px 0 var(--cyan); }
.tier--free .tier__label { color: var(--cyan-ink); }

.tier--book {
  background: var(--ink);
  box-shadow: 6px 6px 0 var(--magenta);
}
.tier--book .tier__label { color: var(--amber); }
.tier--book .tier__price { color: var(--on-room); }
.tier--book p { color: var(--on-room-2); }
.tier--book em { font-style: normal; color: var(--on-room); }
.tier--book .cta {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink);
}
.tier--book .cta:hover { background: var(--on-room); border-color: var(--on-room); color: var(--ink); }

.tier--shop { box-shadow: 6px 6px 0 var(--amber); }
.tier--shop .tier__label { color: var(--magenta-ink); }

/* --------------------------------------------------------------------------
   Sign-up
   -------------------------------------------------------------------------- */

.signup {
  background: var(--room);
  border-top: var(--rule);
  padding: 50px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  flex-wrap: wrap;
}
.signup__copy { display: flex; flex-direction: column; gap: 12px; }
.signup__copy h2 {
  font-family: var(--sign);
  font-size: clamp(14px, 1.8vw, 19px);
  line-height: 1.5;
  font-weight: 400;
  color: var(--amber);
  text-shadow: 2px 0 0 var(--magenta), -2px 0 0 var(--cyan);
}
.signup__copy p { font-size: 15.5px; color: var(--on-room-2); max-width: 560px; line-height: 1.5; }

.signup form { display: flex; gap: 12px; flex-wrap: wrap; }
.signup input[type="email"] {
  background: var(--room-3);
  border: 3px solid var(--room-line);
  padding: 14px 18px;
  width: 230px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--on-room);
}
.signup input[type="email"]::placeholder { color: #6f5f94; }
.signup button {
  background: var(--amber);
  color: var(--ink);
  border: 3px solid var(--amber);
  padding: 14px 24px;
  font-family: var(--sign);
  font-size: 11px;
  box-shadow: 5px 5px 0 var(--magenta);
  cursor: pointer;
}
.signup button:hover { box-shadow: 3px 3px 0 var(--magenta); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.foot {
  background: var(--room-3);
  padding: 20px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: #6f5f94;
}
.foot a { color: #6f5f94; }
.foot a:hover { color: var(--on-room-2); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
  .proof { grid-template-columns: minmax(0, 1fr) 360px; gap: 36px; }
  .split { grid-template-columns: 280px minmax(0, 1fr); gap: 36px; }
  /* The hand-set line breaks are tuned for the full-width hero; below
     that, let text-wrap: balance find the breaks instead. */
  .hero h1 br { display: none; }
}

@media (max-width: 1000px) {
  :root { --pad: 28px; }

  .hero { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero__lede { max-width: none; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .proof { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiers { grid-template-columns: minmax(0, 1fr); }
  .tier { min-height: 0; }
  .scores { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .stages__head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .stages__head p { padding-bottom: 0; }
  .marquee__cab { display: none; }
  .nav__links { gap: 20px; }
}

@media (max-width: 720px) {
  .nav { flex-wrap: wrap; justify-content: center; gap: 10px 20px; }
  .nav__links { order: 3; width: 100%; justify-content: center; flex-wrap: wrap; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .machine { min-height: 0; }
}

@media (max-width: 560px) {
  :root { --pad: 18px; }

  .section, .hero { padding-top: 42px; padding-bottom: 42px; }
  .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .scores { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .marquee__title { display: flex; flex-direction: column; gap: 10px; }
  .marquee__plate { padding-left: 18px; padding-right: 18px; }
  .hero__actions { flex-direction: column; align-items: stretch; gap: 22px; }
  .btn { width: 100%; }
  .screen { padding: 10px 12px; }
  .screen__hud { letter-spacing: .06em; gap: 6px; }
  .cabinet { padding: 10px; }
  .signup form { width: 100%; }
  .signup input[type="email"] { width: 100%; }
  .signup button { width: 100%; }
  .listing { font-size: 10.5px; }
  .foot { justify-content: flex-start; }
}

/* --------------------------------------------------------------------------
   Print — the arcade does not survive a laser printer, so hand it plain paper
   -------------------------------------------------------------------------- */

@media print {
  .carpet, .bulbs, .stages::before, .screen::after { display: none; }
  body { background: #fff; color: #000; }
  .section, .hero, .scores, .signup, .foot { border: 0; background: #fff; }
  .card, .tier, .machine, .cabinet { box-shadow: none; }
}
