:root {
  --ink: #eafcff;
  --muted: #a9c2cd;
  --cyan: #47edff;
  --cyan-soft: #8ff7ff;
  --pink: #ff5dcb;
  --yellow: #fff58a;
  --green: #75ef73;
  --panel: #080d1de8;
  --panel-strong: #0b1227f5;
  --line: #34dff05c;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: #02040c;
}

body {
  min-width: 280px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 11% 6%, #184a8842 0, transparent 26rem),
    radial-gradient(circle at 88% 24%, #8e27803d 0, transparent 31rem),
    radial-gradient(circle, #ffffff 0 1px, transparent 1.5px) 17px 23px / 113px 127px,
    radial-gradient(circle, #8ff7ff 0 1px, transparent 1.5px) 71px 44px / 173px 149px,
    linear-gradient(180deg, #02040c, #070c20 46%, #02040c);
  color: var(--ink);
  font: 16px/1.6 "Trebuchet MS", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, transparent 49.8%, #00d9ff08 50%, transparent 50.2%);
  content: "";
  pointer-events: none;
}

img {
  max-width: 100%;
}

a {
  color: var(--cyan-soft);
  text-underline-offset: .22em;
}

a:hover {
  color: var(--yellow);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-180%);
  border-radius: 6px;
  background: var(--yellow);
  color: #02040c;
  font-weight: 800;
}

.skip-link:focus {
  transform: none;
}

.content-width {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: #020611ed;
  box-shadow: 0 10px 35px #0008;
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  width: min(calc(100% - 32px), 1320px);
  min-height: 82px;
  margin-inline: auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}

.brand:hover {
  color: #fff;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px #00d9ff66);
}

.brand span {
  display: none;
}

.brand strong {
  font: 900 21px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.brand small {
  margin-top: 7px;
  color: var(--pink);
  font: 900 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .19em;
  text-transform: uppercase;
  text-shadow: 0 0 8px #ff5dcb;
}

.primary-nav {
  display: flex;
  min-width: 0;
  margin-left: auto;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(10px, 1.25vw, 22px);
}

.primary-nav a {
  position: relative;
  padding: 30px 0 25px;
  color: #cce4ea;
  font-size: clamp(11px, 1vw, 14px);
  font-weight: 800;
  letter-spacing: .025em;
  text-decoration: none;
  white-space: nowrap;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 17px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  background: var(--cyan);
  box-shadow: 0 0 9px var(--cyan);
  content: "";
  transition: transform .18s ease;
}

.primary-nav a:hover,
.primary-nav a.active {
  color: #fff;
}

.primary-nav a:hover::after,
.primary-nav a.active::after {
  transform: scaleX(1);
}

.primary-nav .leaderboard-link {
  padding: 10px 13px;
  border: 1px solid #ff5dcb88;
  border-radius: 4px;
  color: #ff9ee7;
}

.primary-nav .leaderboard-link::after {
  display: none;
}

.primary-nav .leaderboard-link:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  box-shadow: 0 0 13px #ff5dcb44;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  margin-left: auto;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #091025;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: var(--cyan-soft);
  transition: transform .18s, opacity .18s;
}

.hero {
  display: grid;
  min-height: 650px;
  padding-block: clamp(62px, 8vw, 105px);
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, .98fr);
  align-items: center;
  gap: clamp(38px, 6vw, 86px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font: 900 12px/1.35 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .17em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(49px, 6.2vw, 88px);
  line-height: .94;
  letter-spacing: -.055em;
  text-shadow: 0 0 9px #fff3, 0 0 34px #00d9ff26;
}

h1 span {
  color: transparent;
  background: linear-gradient(90deg, var(--cyan), #c1f9ff 46%, var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  font-size: .74em;
  letter-spacing: -.04em;
  text-shadow: none;
}

.hero-wordmark {
  display: grid;
  width: min(100%, 660px);
  margin: 0;
  gap: 6px;
  line-height: 1;
  text-shadow: none;
}

.hero-wordmark-title {
  justify-self: center;
  color: #aebcc2;
  background: none;
  font: 900 italic clamp(18px, 2.25vw, 27px)/.9 Arial Black, Arial, sans-serif;
  letter-spacing: .17em;
  text-align: center;
  text-shadow: -1px -1px 0 #f7fdff, 1px 1px 0 #39586a, 0 2px 0 #102631, 0 4px 5px #000c;
  text-transform: uppercase;
}

.hero-wordmark img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 10px #00d9ff99) drop-shadow(0 8px 9px #000b);
}

.hero-intro {
  max-width: 650px;
  margin: 28px 0 0;
  color: #c6dce3;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  margin-top: 34px;
  align-items: center;
  gap: 24px;
}

.mode-selector {
  margin-top: 34px;
}

.mode-selector-label {
  margin: 0 0 14px;
  color: #8ff7ff;
  font: 900 15px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .2em;
  text-shadow: 0 0 12px #00d9ff99;
  text-transform: uppercase;
}

.mode-actions {
  margin-top: 0;
}

/* Homepage mode choices share one dark neon panel, so the colourful crests
   stay legible instead of fighting a bright cyan background. */
.hero-actions > .play-button {
  width: 163px;
  height: 116px;
  min-height: 116px;
  padding: 8px;
  box-sizing: border-box;
  flex: 0 0 163px;
  background: linear-gradient(145deg, #10284a, #030b18 72%);
  box-shadow: 0 0 22px #00d9ff55, inset 0 0 20px #00d9ff16;
  color: #e9fdff;
}

.hero-actions > .play-button:hover {
  box-shadow: 0 0 34px #00d9ffaa, inset 0 0 20px #00d9ff2a;
  color: #ffffff;
}

.play-button {
  display: inline-flex;
  min-height: 58px;
  padding: 14px 28px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border: 2px solid var(--cyan);
  border-radius: 7px;
  background: linear-gradient(135deg, #00d9ff, #68f3ff);
  box-shadow: 0 0 22px #00d9ff55, inset 0 0 18px #fff5;
  color: #020813;
  font: 900 17px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .18s, box-shadow .18s;
}

.play-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 34px #00d9ffaa, inset 0 0 18px #fff8;
  color: #020813;
}

.versus-play-button {
  position: relative;
  overflow: hidden;
}

.versus-play-button img {
  display: block;
  width: 156px;
  height: 104px;
  max-width: 100%;
  object-fit: contain;
}

.multiplayer-play-button img {
  width: 108px;
  height: 108px;
}

/* Online multiplayer is visible as a planned mode, but is intentionally
   muted until the live service is ready. */
.multiplayer-play-button {
  filter: grayscale(.18) saturate(.78) brightness(.9);
  transition: filter .18s, transform .18s, box-shadow .18s;
}

.multiplayer-play-button:hover,
.multiplayer-play-button:focus-visible,
.multiplayer-play-button.is-active {
  filter: grayscale(.55) saturate(.45) brightness(.7);
}

.coming-soon-note {
  position: absolute;
  inset: auto 8px 8px;
  padding: 5px 7px;
  border: 1px solid #8ea1b7aa;
  border-radius: 4px;
  background: #030812e8;
  color: #d7e0eb;
  font: 800 10px/1.15 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .04em;
  opacity: 0;
  pointer-events: none;
  text-align: center;
  text-transform: uppercase;
  transform: translateY(5px);
  transition: opacity .18s, transform .18s;
}

.multiplayer-play-button:hover .coming-soon-note,
.multiplayer-play-button:focus-visible .coming-soon-note,
.multiplayer-play-button.is-active .coming-soon-note {
  opacity: 1;
  transform: translateY(0);
}

.solo-play-button img {
  width: 108px;
  height: 108px;
}

.text-link {
  font-weight: 800;
  text-decoration: none;
}

.mode-guide-link {
  display: inline-flex;
  margin-top: 20px;
}

.hero-facts {
  display: flex;
  margin: 27px 0 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 10px 24px;
  color: #829aa7;
  font-size: 13px;
  list-style: none;
}

.hero-facts li::before {
  margin-right: 8px;
  color: var(--green);
  content: "✓";
}

.hero-art {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid #00d9ff6b;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 40%, #064c6975 0, transparent 42%),
    linear-gradient(160deg, #08152c, #02040c 72%);
  box-shadow: 0 0 60px #00d9ff1f, inset 0 0 50px #00d9ff18;
}

.hero-art::after {
  position: absolute;
  inset: auto 8% 5%;
  height: 24%;
  transform: perspective(220px) rotateX(54deg);
  border: 1px solid #00d9ff58;
  background:
    linear-gradient(#00d9ff2d 1px, transparent 1px),
    linear-gradient(90deg, #00d9ff2d 1px, transparent 1px);
  background-size: 24px 24px;
  content: "";
  mask-image: linear-gradient(to top, #000, transparent);
}

.hero-art img {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: min(91%, 550px);
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 25px 30px #000b);
}

.arena-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(#00d9ff10 1px, transparent 1px),
    linear-gradient(90deg, #00d9ff10 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle, #000 0, transparent 73%);
}

.portal-ring {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 72%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 3px solid #31eaff;
  border-radius: 50%;
  box-shadow:
    0 0 12px #fff,
    0 0 35px #00d9ff,
    inset 0 0 25px #00d9ff;
  opacity: .42;
}

.section-block {
  padding-block: clamp(45px, 7vw, 82px);
}

.section-heading {
  display: flex;
  margin-bottom: 28px;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-heading.compact {
  margin-bottom: 20px;
}

.section-heading h2,
.about-panel h2,
.final-cta h2,
.content-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.section-heading > a,
.section-heading.compact a {
  flex: 0 0 auto;
  font-weight: 800;
  text-decoration: none;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.info-card {
  position: relative;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(145deg, #0b1226e8, #050914eb);
  box-shadow: inset 0 0 24px #00d9ff0b;
}

.step-card {
  min-height: 296px;
}

.step-number {
  position: absolute;
  top: 18px;
  right: 18px;
  color: #637b87;
  font: 800 12px ui-monospace, monospace;
  letter-spacing: .1em;
}

.step-card h3,
.feature-grid h3 {
  margin: 20px 0 8px;
  color: #fff;
  font-size: 20px;
  line-height: 1.2;
}

.step-card p,
.feature-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.orb-icon,
.cube-icon,
.mini-portal,
.missile-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
}

.orb-icon {
  width: 31px;
  height: 31px;
  margin: 12px 0 23px 9px;
  border: 4px solid #ff7979;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 9px #fff, 0 0 24px #ff2c4d;
}

.cube-icon {
  position: relative;
  margin-top: 4px;
  transform: rotate(30deg) skew(-4deg);
  border: 2px solid var(--cyan-soft);
  background: linear-gradient(135deg, #9efbff55, #101d42);
  box-shadow: 0 0 18px #00d9ff55;
}

.cube-icon::before,
.cube-icon::after {
  position: absolute;
  background: #8ff7ff66;
  content: "";
}

.cube-icon::before {
  top: 50%;
  right: 0;
  left: 0;
  height: 1px;
}

.cube-icon::after {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
}

.mini-portal {
  margin-top: 4px;
  border: 4px double var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px #fff, 0 0 23px #00d9ff, inset 0 0 18px #b84dff;
}

.missile-icon {
  color: var(--pink);
  font-size: 48px;
  text-shadow: 0 0 14px #ff5dcb;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.control-list {
  display: grid;
  gap: 14px;
}

.control-list > div {
  display: grid;
  padding-bottom: 14px;
  border-bottom: 1px solid #8ff7ff20;
  grid-template-columns: minmax(130px, .8fr) 1.2fr;
  align-items: center;
  gap: 18px;
}

.control-list p {
  display: grid;
  margin: 0;
}

.control-list small {
  margin-top: 2px;
  color: var(--muted);
}

.key-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

kbd {
  display: inline-grid;
  min-width: 31px;
  min-height: 31px;
  padding: 4px 6px;
  place-items: center;
  border: 1px solid #8ff7ff88;
  border-bottom-width: 3px;
  border-radius: 4px;
  background: #020711;
  color: #fff;
  font: 700 13px ui-monospace, monospace;
  box-shadow: 0 0 8px #00d9ff22;
}

kbd.wide {
  min-width: 104px;
}

.touch-symbol {
  color: var(--cyan);
  font-size: 38px;
  text-shadow: 0 0 12px #00d9ff;
}

.card-note {
  margin: 18px 0 0;
  color: #8098a3;
  font-size: 13px;
}

.score-list {
  display: grid;
  margin: 0;
}

.score-list div {
  display: flex;
  padding: 13px 0;
  border-bottom: 1px solid #8ff7ff20;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.score-list dt {
  color: #cce4ea;
}

.score-list dd {
  margin: 0;
  font: 900 19px ui-monospace, monospace;
}

.positive {
  color: var(--green);
}

.negative {
  color: #ff7a91;
}

.feature-band {
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, #07152aa8, #120823a8, #07152aa8);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--line);
}

.feature-grid article {
  min-height: 232px;
  padding: 28px;
  background: #050a18;
}

.feature-grid article > span {
  color: var(--cyan);
  font-size: 36px;
  text-shadow: 0 0 14px #00d9ff;
}

.tip-list {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 13px;
  list-style: none;
}

.tip-list li {
  position: relative;
  padding-left: 27px;
  color: #c7dce2;
}

.tip-list li::before {
  position: absolute;
  left: 0;
  color: var(--cyan);
  content: "✦";
}

.faq-preview details {
  border-bottom: 1px solid #8ff7ff2b;
}

.faq-preview summary {
  padding: 13px 25px 13px 0;
  color: #e9fbff;
  font-weight: 800;
  cursor: pointer;
}

.faq-preview p {
  margin: 0;
  padding: 0 0 14px;
  color: var(--muted);
}

.about-panel {
  display: grid;
  grid-template-columns: .95fr 1.3fr;
  align-items: center;
  gap: 34px 70px;
}

.about-panel > p {
  margin: 0;
  color: #bdd3da;
  font-size: 17px;
}

.about-links {
  display: flex;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: 14px 34px;
}

.about-links a {
  font-weight: 800;
  text-decoration: none;
}

.final-cta {
  padding-block: clamp(64px, 9vw, 105px);
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 110%, #00d9ff3b, transparent 38%),
    #030713;
  text-align: center;
}

.final-cta h2 {
  margin-bottom: 30px;
}

.site-footer {
  border-top: 1px solid #8ff7ff26;
  background: #01030a;
}

.site-footer .content-width {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer p {
  margin: 0;
  color: #718995;
  font-size: 13px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 26px;
}

.site-footer a {
  color: #9db4be;
  font-size: 13px;
  text-decoration: none;
}

/* Shared layout for the detailed information pages. */
.content-hero {
  padding-block: clamp(64px, 9vw, 112px) clamp(40px, 6vw, 70px);
  border-bottom: 1px solid var(--line);
  background: radial-gradient(circle at 20% 20%, #00d9ff1f, transparent 32rem);
}

.content-hero .lede {
  max-width: 760px;
  margin: 23px 0 0;
  color: #bdd3da;
  font-size: clamp(17px, 2vw, 21px);
}

.article-layout {
  display: grid;
  padding-block: clamp(42px, 7vw, 80px);
  grid-template-columns: minmax(0, 1fr) 270px;
  align-items: start;
  gap: 56px;
}

.article-content {
  min-width: 0;
}

.article-content section {
  margin-bottom: 56px;
  scroll-margin-top: 110px;
}

.article-content h2 {
  margin: 0 0 17px;
  color: #fff;
  font-size: clamp(27px, 3.7vw, 40px);
  line-height: 1.15;
}

.article-content h3 {
  margin: 30px 0 9px;
  color: var(--cyan-soft);
  font-size: 20px;
}

.article-content p,
.article-content li {
  color: #bed2d9;
}

.article-content p {
  max-width: 780px;
}

.article-content ul,
.article-content ol {
  display: grid;
  max-width: 780px;
  padding-left: 24px;
  gap: 10px;
}

.article-callout {
  margin: 28px 0;
  padding: 22px 24px;
  border-left: 4px solid var(--pink);
  background: #ff5dcb0e;
  color: #e9d4e5;
}

.page-index {
  position: sticky;
  top: 108px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #060b19e8;
}

.page-index strong {
  display: block;
  margin-bottom: 11px;
  color: #fff;
  font: 900 12px ui-monospace, monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.page-index a {
  display: block;
  padding: 7px 0;
  color: #9cb7c1;
  font-size: 14px;
  text-decoration: none;
}

.page-index a:hover {
  color: var(--yellow);
}

.data-table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  color: var(--cyan);
  font: 800 12px ui-monospace, monospace;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.data-table td {
  color: #c7d9df;
}

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

.screenshot-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #060b18;
}

.screenshot-card figure {
  margin: 0;
}

.screenshot-visual {
  position: relative;
  display: grid;
  min-height: 280px;
  overflow: hidden;
  place-items: center;
  background:
    linear-gradient(#00d9ff16 1px, transparent 1px),
    linear-gradient(90deg, #00d9ff16 1px, transparent 1px),
    radial-gradient(circle, #0d3a5e, #030611 70%);
  background-size: 22px 22px, 22px 22px, auto;
}

.screenshot-visual img {
  width: min(78%, 330px);
  filter: drop-shadow(0 18px 20px #000);
}

.screenshot-card figcaption {
  padding: 20px;
}

.screenshot-card h2 {
  margin: 0 0 7px;
  font-size: 22px;
}

.screenshot-card p {
  margin: 0;
  color: var(--muted);
}

.timeline {
  position: relative;
  margin-left: 8px;
  padding-left: 34px;
  border-left: 1px solid #00d9ff66;
}

.timeline article {
  position: relative;
  margin-bottom: 42px;
}

.timeline article::before {
  position: absolute;
  top: 7px;
  left: -41px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  background: #030713;
  box-shadow: 0 0 10px #00d9ff;
  content: "";
}

.timeline time {
  color: var(--pink);
  font: 800 12px ui-monospace, monospace;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.timeline h2 {
  margin-top: 8px;
}

@media (max-width: 1120px) {
  .header-inner {
    width: min(calc(100% - 24px), 1320px);
    gap: 18px;
  }

.brand img {
    width: 48px;
    height: 48px;
  }

  .brand strong {
    font-size: 17px;
  }

  .brand small {
    font-size: 10px;
  }

  .primary-nav {
    gap: 11px;
  }

  .primary-nav a {
    font-size: 11px;
  }

  .hero {
    grid-template-columns: 1fr .85fr;
  }

  .hero-art {
    min-height: 440px;
  }

  .step-grid,
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1200px) {
  body.menu-open {
    overflow: hidden;
  }

  .header-inner {
    min-height: 72px;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .primary-nav {
    position: fixed;
    top: 72px;
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100dvh - 72px);
    padding: 16px 22px 28px;
    overflow-y: auto;
    align-items: stretch;
    background: #020611fa;
    box-shadow: 0 25px 45px #000b;
  }

  .primary-nav.open {
    display: grid;
  }

  .primary-nav a,
  .primary-nav .leaderboard-link {
    padding: 14px 5px;
    border: 0;
    border-bottom: 1px solid #8ff7ff21;
    border-radius: 0;
    font-size: 15px;
  }

  .primary-nav a::after {
    display: none;
  }
}

@media (max-width: 860px) {
  body.menu-open {
    overflow: hidden;
  }

  .header-inner {
    min-height: 72px;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .primary-nav {
    position: fixed;
    top: 72px;
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100dvh - 72px);
    padding: 16px 22px 28px;
    overflow-y: auto;
    align-items: stretch;
    background: #020611fa;
    box-shadow: 0 25px 45px #000b;
  }

  .primary-nav.open {
    display: grid;
  }

  .primary-nav a,
  .primary-nav .leaderboard-link {
    padding: 14px 5px;
    border: 0;
    border-bottom: 1px solid #8ff7ff21;
    border-radius: 0;
    font-size: 15px;
  }

  .primary-nav a::after {
    display: none;
  }

  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-width: 0;
    text-align: center;
  }

  .hero-intro {
    margin-inline: auto;
  }

  .hero-actions,
  .hero-facts {
    justify-content: center;
  }

  .hero-art {
    min-height: min(70vw, 540px);
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .page-index {
    position: static;
    grid-row: 1;
  }
}

@media (max-width: 660px) {
  .content-width {
    width: min(calc(100% - 26px), var(--content));
  }

  .brand img {
    width: 45px;
    height: 45px;
  }

  .hero {
    padding-block: 46px 30px;
    gap: 38px;
  }

  h1 {
    font-size: clamp(43px, 15vw, 66px);
  }

  .hero-intro {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
    justify-items: stretch;
  }

  .play-button {
    width: 100%;
  }

  .versus-play-button {
    width: 100%;
    flex-basis: auto;
  }

  .hero-art {
    min-height: min(92vw, 470px);
    border-radius: 12px;
  }

  .section-heading {
    display: grid;
    align-items: start;
  }

  .section-heading > a {
    width: fit-content;
  }

  .step-grid,
  .feature-grid,
  .split-section,
  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .step-card {
    min-height: 0;
  }

  .control-list > div {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .feature-grid article {
    min-height: 0;
  }

  .about-panel {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .site-footer .content-width {
    padding-block: 25px;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .article-layout {
    gap: 32px;
  }

  .data-table {
    display: block;
    overflow-x: auto;
    font-size: 13px;
  }

  .screenshot-visual {
    min-height: 230px;
  }
}

@media (max-width: 420px) {
  .header-inner {
    width: calc(100% - 18px);
  }

  .brand strong {
    font-size: 15px;
  }

  .brand small {
    margin-top: 5px;
    font-size: 9px;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .hero-facts {
    display: grid;
    justify-content: start;
    text-align: left;
  }

  .info-card {
    padding: 21px 18px;
  }

  .section-heading h2,
  .about-panel h2,
  .final-cta h2,
  .content-hero h1 {
    font-size: 30px;
  }
}

@media (max-height: 520px) and (orientation: landscape) {
  .site-header {
    position: relative;
  }

  .primary-nav {
    top: 72px;
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    min-height: 0;
    padding-block: 34px;
    grid-template-columns: 1.15fr .85fr;
    text-align: left;
  }

  .hero-copy {
    text-align: left;
  }

  .hero h1 {
    font-size: clamp(42px, 8vw, 62px);
  }

  .hero-intro {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.5;
  }

  .hero-actions {
    display: flex;
    margin-top: 20px;
    justify-content: flex-start;
  }

  .hero-facts {
    display: none;
  }

  .hero-art {
    min-height: 330px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }
}
