:root {
  --bg: #0b1020;
  --bg-2: #121b33;
  --panel: rgba(18, 27, 51, 0.92);
  --panel-2: rgba(26, 40, 73, 0.96);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f2f7ff;
  --muted: #a9b7d7;
  --cyan: #53d9ff;
  --lime: #8dff6f;
  --gold: #ffd85c;
  --orange: #ff9255;
  --red: #ff636f;
  --violet: #8777ff;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
  --shadow-hard: 0 14px 0 rgba(7, 11, 22, 0.48);
  --radius: 26px;
  --max: 1440px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font: 16px/1.65 "IBM Plex Sans", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 14%, rgba(83, 217, 255, 0.18), transparent 20%),
    radial-gradient(circle at 82% 8%, rgba(141, 255, 111, 0.16), transparent 18%),
    radial-gradient(circle at 75% 72%, rgba(255, 216, 92, 0.14), transparent 20%),
    linear-gradient(180deg, #0a1020 0%, #0d1427 34%, #0a1020 100%);
  overflow-x: hidden;
  position: relative;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 88%);
}

body::after {
  opacity: 0.3;
  background:
    radial-gradient(circle at 18% 24%, rgba(83, 217, 255, 0.22) 0 10px, transparent 10px),
    radial-gradient(circle at 72% 36%, rgba(141, 255, 111, 0.18) 0 12px, transparent 12px),
    radial-gradient(circle at 56% 78%, rgba(255, 216, 92, 0.18) 0 14px, transparent 14px);
  background-size: 260px 260px, 300px 300px, 320px 320px;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 18px;
  top: -48px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--cyan);
  color: #08111d;
  font-weight: 700;
  z-index: 20;
}

.skip-link:focus {
  top: 16px;
}

.page-shell {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 16px 20px 90px;
}

.topbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(12, 18, 35, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.topbar-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  height: 62px;
  padding: 0 10px;
  border-radius: 18px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(83, 217, 255, 0.18), rgba(83, 217, 255, 0.04)),
    var(--panel-2);
  box-shadow: var(--shadow-hard), var(--shadow);
  color: var(--cyan);
  font-family: "Teko", Impact, sans-serif;
  font-size: 1.55rem;
  letter-spacing: 0.08em;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong,
.headline,
.section-head h2,
.stage-copy h2,
.info-card h2,
.faq-card h3,
.system-card h3 {
  font-family: "Teko", Impact, sans-serif;
  letter-spacing: 0.03em;
}

.brand-copy strong {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 0.9;
}

.brand-copy small {
  font-size: 0.76rem;
}

.brand-copy small,
.card-kicker,
.eyebrow,
.stat-label,
.screen-chip,
.signal-pill,
.ticker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.brand-copy small,
.crumbs,
.lead,
.panel p,
.system-card p,
.info-card p,
.faq-card p,
.control-card p,
.stack-list span,
.link-card span {
  color: var(--muted);
}

.crumbs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  font-weight: 600;
}

.nav-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  align-items: center;
}

.nav-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nav-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-status-pill--cyan {
  border-color: rgba(83, 217, 255, 0.24);
  color: var(--cyan);
}

.nav-status-pill--lime {
  border-color: rgba(141, 255, 111, 0.24);
  color: var(--lime);
}

.nav-status-pill--gold {
  border-color: rgba(255, 216, 92, 0.24);
  color: var(--gold);
}

.nav-status-pill--red {
  border-color: rgba(255, 99, 111, 0.24);
  color: var(--red);
}

.nav-chip,
.btn,
.link-card,
.footer-link {
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.nav-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 7px 12px;
  border: 2px solid var(--line-strong);
  border-radius: 16px;
  font-weight: 800;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow-hard);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.nav-chip--cyan {
  border-color: rgba(83, 217, 255, 0.34);
  background: linear-gradient(180deg, rgba(83, 217, 255, 0.2), rgba(83, 217, 255, 0.08));
}

.nav-chip--lime {
  border-color: rgba(141, 255, 111, 0.34);
  background: linear-gradient(180deg, rgba(141, 255, 111, 0.18), rgba(141, 255, 111, 0.08));
}

.nav-chip--gold {
  border-color: rgba(255, 216, 92, 0.34);
  background: linear-gradient(180deg, rgba(255, 216, 92, 0.16), rgba(255, 216, 92, 0.08));
}

.nav-chip--ghost {
  background: rgba(255, 255, 255, 0.04);
}

.nav-chip--action {
  border-color: rgba(0, 255, 65, 0.4);
  background:
    linear-gradient(180deg, rgba(0, 255, 65, 0.24), rgba(255, 49, 49, 0.12)),
    rgba(255, 255, 255, 0.05);
  box-shadow:
    var(--shadow-hard),
    0 0 20px rgba(0, 255, 65, 0.15);
  animation: spin-chip-nudge 0.8s ease 3.8s 1 both;
}

.nav-chip:hover,
.btn:hover,
.link-card:hover,
.footer-link:hover,
.sticky-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 0 rgba(7, 11, 22, 0.34);
}

.ticker {
  overflow: hidden;
  margin-bottom: 10px;
  border: 1px solid rgba(83, 217, 255, 0.16);
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(83, 217, 255, 0.08), rgba(141, 255, 111, 0.08), rgba(255, 216, 92, 0.08)),
    rgba(255, 255, 255, 0.03);
  font-size: 0.74rem;
  font-weight: 700;
}

.ticker-track {
  display: flex;
  gap: 28px;
  width: max-content;
  padding: 10px 14px;
  animation: ticker-move 28s linear infinite;
}

.ticker-track span::after {
  content: "//";
  margin-left: 28px;
  color: rgba(83, 217, 255, 0.88);
}

@keyframes ticker-move {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes spin-chip-nudge {
  0%,
  100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-5px) scale(1.01);
  }
  60% {
    transform: translateY(1px);
  }
}

.hero {
  margin-bottom: 24px;
}

.hero-grid {
  display: grid;
  gap: 22px;
  margin-top: 18px;
}

.section-anchor {
  display: block;
  position: relative;
  top: -110px;
  visibility: hidden;
}

.hero-grid--home {
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
}

.hero-grid--detail {
  grid-template-columns: minmax(0, 1.16fr) minmax(320px, 0.84fr);
}

.hero-copy,
.hero-stack,
.content-main,
.content-side {
  min-width: 0;
}

.eyebrow-row,
.cta-row,
.signal-row,
.stage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.stage-actions {
  justify-content: flex-end;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.74rem;
  font-weight: 800;
}

.eyebrow--alert {
  border-color: rgba(255, 99, 111, 0.3);
  background: rgba(255, 99, 111, 0.12);
}

.headline {
  margin: 14px 0 12px;
  font-size: clamp(3.4rem, 8vw, 6rem);
  line-height: 0.9;
}

.page-detail .headline {
  font-size: clamp(3.8rem, 8vw, 6.6rem);
}

.lead {
  max-width: 58rem;
  margin: 0 0 18px;
  font-size: clamp(1.02rem, 1.8vw, 1.24rem);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 12px 20px;
  border: 2px solid var(--line-strong);
  border-radius: 18px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--shadow-hard);
  text-align: center;
  appearance: none;
  -webkit-appearance: none;
}

.btn--primary {
  border-color: rgba(83, 217, 255, 0.36);
  background: linear-gradient(180deg, rgba(83, 217, 255, 0.36), rgba(83, 217, 255, 0.16));
}

.btn--secondary {
  border-color: rgba(141, 255, 111, 0.34);
  background: linear-gradient(180deg, rgba(141, 255, 111, 0.28), rgba(141, 255, 111, 0.12));
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
}

.btn--block {
  width: 100%;
}

.signal-row {
  margin-top: 16px;
}

.signal-pill {
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
  font-weight: 800;
}

.hero-stack,
.stack-list,
.link-stack {
  display: grid;
  gap: 14px;
}

.info-card,
.panel,
.system-card,
.stat-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    var(--panel);
  box-shadow: var(--shadow);
}

.info-card::before,
.panel::before,
.system-card::before,
.stat-card::before,
.stage-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 30%);
}

.info-card,
.panel {
  padding: 22px;
}

.info-card--cyan {
  border-color: rgba(83, 217, 255, 0.22);
}

.info-card--lime {
  border-color: rgba(141, 255, 111, 0.22);
}

.info-card--gold {
  border-color: rgba(255, 216, 92, 0.22);
}

.card-kicker {
  display: inline-flex;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  font-weight: 700;
}

.info-card h2,
.section-head h2 {
  margin: 6px 0 8px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.92;
}

.system-card h3,
.faq-card h3 {
  margin: 4px 0 8px;
  font-size: 1.7rem;
  line-height: 0.94;
}

.stage-shell {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(83, 217, 255, 0.16);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(83, 217, 255, 0.1), rgba(141, 255, 111, 0.08) 45%, rgba(255, 216, 92, 0.06)),
    rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow);
}

.stage-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.stage-copy {
  min-width: 0;
  max-width: 54rem;
}

.stage-copy .card-kicker {
  margin-bottom: 0;
}

.stage-copy p {
  margin: 4px 0 0;
  color: var(--muted);
}

.stat-rack {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.stat-card {
  padding: 14px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    var(--panel-2);
}

.stat-label {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.68rem;
  font-weight: 700;
}

.stat-card strong {
  font-size: 0.95rem;
  line-height: 1.35;
}

.cabinet {
  padding: 12px;
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(83, 217, 255, 0.06), rgba(0, 0, 0, 0.14)),
    rgba(5, 9, 18, 0.8);
}

.cabinet-toplights {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
}

.cabinet-toplights span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--cyan), var(--lime));
  box-shadow: 0 0 12px rgba(83, 217, 255, 0.4);
}

.stage-screen {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: clamp(360px, 48vw, 720px);
  border-radius: 22px;
  border: 3px solid rgba(255, 255, 255, 0.08);
  background: #000;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.04);
}

.page-home .stage-screen {
  min-height: clamp(380px, 50vw, 760px);
}

.stage-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.05)),
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.05) 0,
      rgba(255, 255, 255, 0.05) 1px,
      transparent 1px,
      transparent 4px
    );
  mix-blend-mode: screen;
}

.screen-chip {
  position: absolute;
  top: 14px;
  z-index: 2;
  padding: 8px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 16, 32, 0.82);
  font-size: 0.68rem;
  font-weight: 800;
}

.screen-chip--left {
  left: 14px;
}

.screen-chip--right {
  right: 14px;
}

.game-frame {
  display: block;
  width: 100%;
  height: 100%;
  background: #000;
}

.stage-screen:fullscreen {
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  border-radius: 0;
  border: 0;
}

.stage-screen:fullscreen .game-frame {
  width: 100%;
  height: 100%;
}

.systems-grid,
.content-layout,
.control-grid,
.faq-grid {
  display: grid;
  gap: 18px;
}

.systems-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 28px;
}

.systems-grid--detail {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 0;
}

.system-card {
  padding: 20px;
  border-radius: 22px;
}

.section-head {
  display: grid;
  gap: 2px;
  margin-bottom: 12px;
}

.loop-list,
.tier-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.loop-list span,
.tier-grid span {
  display: inline-flex;
  align-items: center;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  font-weight: 700;
}

.hud-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.hud-list div,
.stack-list div,
.link-card,
.control-card,
.faq-card {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.content-layout {
  grid-template-columns: minmax(0, 1.14fr) minmax(300px, 0.86fr);
  align-items: start;
}

.content-layout--detail {
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
}

.content-main,
.content-side {
  display: grid;
  gap: 18px;
}

.panel--compact {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(16, 24, 45, 0.95);
}

.bullet-list {
  margin: 14px 0 0;
  padding-left: 20px;
}

.bullet-list li + li {
  margin-top: 10px;
}

.control-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.keycap-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.keycap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(83, 217, 255, 0.18), rgba(255, 255, 255, 0.04)),
    var(--panel-2);
  font-weight: 800;
  box-shadow: inset 0 -6px 0 rgba(0, 0, 0, 0.18);
}

.keycap--wide {
  min-width: 112px;
}

.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stack-list {
  display: grid;
  gap: 12px;
}

.stack-list div {
  display: grid;
  gap: 3px;
}

.stack-list strong,
.link-card strong,
.control-card strong {
  display: block;
  margin-bottom: 4px;
}

.link-stack {
  display: grid;
  gap: 12px;
}

.link-card {
  display: block;
}

.footer-note {
  color: rgba(255, 255, 255, 0.64);
  font-weight: 600;
  margin: 0;
}

.footer-disclaimer {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.84rem;
  font-weight: 600;
}

.site-footer {
  margin-top: 30px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    rgba(10, 16, 31, 0.96);
  box-shadow: var(--shadow);
}

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

.footer-metric {
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.footer-metric-label {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-metric strong {
  font-size: 0.96rem;
  line-height: 1.35;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(220px, 0.46fr));
  gap: 14px;
}

.footer-panel {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    rgba(16, 24, 45, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.footer-brand {
  margin-bottom: 0;
}

.footer-brand .brand-icon {
  min-width: 64px;
  height: 64px;
  border-radius: 18px;
  font-size: 1.55rem;
}

.footer-brand .brand-copy strong {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
}

.footer-brand-block,
.footer-column {
  min-width: 0;
}

.footer-brand-block {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-title {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-stat-list {
  display: grid;
  gap: 10px;
}

.footer-stat {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.04);
}

.footer-stat strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
  line-height: 1.25;
}

.footer-stat span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
  line-height: 1.45;
}

.footer-link-list {
  display: grid;
  gap: 10px;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.footer-link--button {
  cursor: pointer;
  text-align: left;
  appearance: none;
  -webkit-appearance: none;
}

.signal-row--footer {
  margin-top: 0;
}

.footer-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 18px;
  margin-top: 14px;
  padding: 14px 4px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  font-weight: 600;
}

.footer-bar a {
  color: var(--cyan);
}

.footer-meta-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 16px;
}

.footer-meta-links a {
  color: var(--cyan);
}

.legal-layout {
  display: grid;
  gap: 18px;
}

.legal-hero h1 {
  margin: 6px 0 0;
  font-family: "Teko", Impact, sans-serif;
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 0.92;
  letter-spacing: 0.03em;
}

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

.sticky-play {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 20;
  padding: 14px 20px;
  border: 2px solid rgba(83, 217, 255, 0.28);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(83, 217, 255, 0.28), rgba(83, 217, 255, 0.12));
  color: var(--text);
  font-weight: 900;
  box-shadow: var(--shadow-hard);
  transform: translateY(120px);
  opacity: 0;
  transition: transform 220ms ease, opacity 220ms ease, box-shadow 180ms ease;
  cursor: pointer;
}

.sticky-play.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 1220px) {
  .topbar,
  .stage-bar,
  .content-layout,
  .content-layout--detail,
  .hero-grid--home,
  .hero-grid--detail {
    display: grid;
    grid-template-columns: 1fr;
  }

  .nav-row {
    justify-content: flex-start;
  }

  .systems-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal-grid {
    grid-template-columns: 1fr;
  }

  .stat-rack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-topline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  .page-shell {
    padding: 14px 14px 96px;
  }

  .topbar {
    grid-template-columns: 1fr;
  }

  .topbar-main {
    display: grid;
    gap: 10px;
  }

  .brand-icon {
    min-width: 72px;
    height: 72px;
    font-size: 1.7rem;
  }

  .headline {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  .legal-hero h1 {
    font-size: clamp(2.7rem, 12vw, 4.2rem);
  }

  .systems-grid,
  .systems-grid--detail,
  .control-grid,
  .faq-grid,
  .stat-rack,
  .footer-topline {
    grid-template-columns: 1fr;
  }

  .panel,
  .info-card,
  .system-card,
  .stage-shell {
    padding: 18px;
  }

  .cabinet {
    padding: 12px;
  }

  .stage-screen {
    min-height: 220px;
  }

  .screen-chip {
    display: none;
  }

  .footer-panel {
    padding: 16px;
  }

  .footer-link {
    min-height: 44px;
  }

  .footer-meta-links {
    justify-content: flex-start;
  }

  .sticky-play {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
