:root {
  --font-geist-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --font-geist-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --void: #02070d;
  --void-soft: #071019;
  --panel: rgba(7, 17, 25, 0.78);
  --panel-solid: #08131c;
  --mint: #2eff91;
  --mint-soft: #9effca;
  --amber: #ffa62e;
  --danger: #ff3352;
  --blue: #3cc8ff;
  --text: #f4fff9;
  --muted: #8ba49a;
  --line: rgba(109, 255, 183, 0.18);
  --page: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--void);
}

body {
  margin: 0;
  background: var(--void);
  color: var(--text);
  font-family: var(--font-geist-mono), ui-monospace, SFMono-Regular, Menlo, monospace;
  -webkit-font-smoothing: antialiased;
}

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

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

::selection {
  color: #00170c;
  background: var(--mint);
}

.site-shell {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 8%, rgba(37, 123, 113, 0.15), transparent 29rem),
    radial-gradient(circle at 8% 38%, rgba(17, 91, 161, 0.1), transparent 28rem),
    var(--void);
}

.site-shell::before {
  position: fixed;
  z-index: -2;
  inset: 0;
  opacity: 0.38;
  background-image:
    radial-gradient(circle at 15% 18%, white 0 1px, transparent 1.4px),
    radial-gradient(circle at 73% 12%, rgba(46, 255, 145, 0.8) 0 1px, transparent 1.4px),
    radial-gradient(circle at 35% 71%, white 0 0.8px, transparent 1.2px),
    radial-gradient(circle at 87% 62%, rgba(60, 200, 255, 0.8) 0 1px, transparent 1.5px);
  background-size: 210px 220px, 320px 300px, 170px 190px, 370px 330px;
  content: "";
  pointer-events: none;
}

.site-shell::after {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(79, 168, 135, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 168, 135, 0.028) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
  content: "";
  pointer-events: none;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  color: var(--void);
  background: var(--mint);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.section-frame,
.nav-shell {
  width: var(--page);
  margin-inline: auto;
}

.nav-shell {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 84px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  width: fit-content;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.brand-mark {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border: 1px solid rgba(46, 255, 145, 0.46);
  color: var(--mint);
  background: rgba(46, 255, 145, 0.07);
  box-shadow: inset 0 0 12px rgba(46, 255, 145, 0.1), 0 0 18px rgba(46, 255, 145, 0.1);
  transform: rotate(45deg);
}

.brand-mark + span {
  white-space: nowrap;
}

.nav-shell nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-self: end;
}

.language-picker {
  position: relative;
  display: flex;
  align-items: center;
}

.language-picker select {
  width: 150px;
  min-height: 37px;
  padding: 8px 28px 8px 11px;
  border: 1px solid rgba(46, 255, 145, 0.28);
  border-radius: 0;
  color: var(--mint-soft);
  background: var(--void-soft);
  font: 650 10px/1.2 var(--font-geist-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.language-picker select:hover,
.language-picker select:focus-visible {
  border-color: rgba(46, 255, 145, 0.72);
  outline: 1px solid rgba(46, 255, 145, 0.24);
  outline-offset: 2px;
}

.nav-shell nav a,
.nav-cta {
  position: relative;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.nav-shell nav a::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 1px;
  background: var(--mint);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  content: "";
}

.nav-shell nav a:hover,
.nav-shell nav a:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible {
  color: var(--mint-soft);
}

.nav-shell nav a:hover::after,
.nav-shell nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-cta {
  justify-self: end;
  padding: 10px 13px;
  border: 1px solid rgba(46, 255, 145, 0.28);
  color: var(--mint);
}

.hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
  min-height: calc(100vh - 84px);
  padding-block: 60px 76px;
}

.hero-copy {
  position: relative;
  z-index: 3;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--mint);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.19em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-block;
  margin-right: 5px;
  font-size: 8px;
  animation: signalPulse 1.8s ease-in-out infinite;
}

h1,
h2,
h3,
p,
dl,
dd {
  margin-top: 0;
}

h1 {
  max-width: 690px;
  margin-bottom: 27px;
  font-family: var(--font-geist-sans), system-ui, sans-serif;
  font-size: clamp(64px, 8.1vw, 124px);
  font-weight: 900;
  letter-spacing: -0.085em;
  line-height: 0.78;
  text-transform: uppercase;
}

h1 span {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 255, 249, 0.74);
}

h1 .hero-trace {
  display: inline;
  color: var(--text);
  -webkit-text-stroke: 0;
}

.hero-deck {
  max-width: 600px;
  margin-bottom: 31px;
  color: #b3c6be;
  font-family: var(--font-geist-sans), system-ui, sans-serif;
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  min-height: 51px;
  padding: 0 20px;
  border: 1px solid transparent;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #00140a;
  background: var(--mint);
  box-shadow: 0 0 34px rgba(46, 255, 145, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 0 38px rgba(46, 255, 145, 0.32);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.15);
  color: #c7d6d0;
  background: rgba(255, 255, 255, 0.025);
}

.app-store-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  min-height: 51px;
  padding: 6px 15px 6px 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text);
  background: rgba(0, 0, 0, 0.78);
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.035), 0 0 28px rgba(60, 200, 255, 0.09);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.app-store-link:hover,
.app-store-link:focus-visible {
  border-color: rgba(46, 255, 145, 0.52);
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.045), 0 0 32px rgba(46, 255, 145, 0.16);
  transform: translateY(-2px);
}

.app-store-link svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  fill: currentColor;
}

.app-store-link span {
  display: grid;
  gap: 1px;
  font-family: var(--font-geist-sans), system-ui, sans-serif;
  font-size: 18px;
  font-weight: 780;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
}

.app-store-link small {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 590px;
  margin: 43px 0 0;
  padding-top: 21px;
  border-top: 1px solid var(--line);
}

.hero-stats div {
  padding-right: 16px;
}

.hero-stats div + div {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.hero-stats dt {
  margin-bottom: 6px;
  color: #587065;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-stats dd {
  margin-bottom: 0;
  color: #dff9ec;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-visual {
  position: relative;
  display: grid;
  min-height: 650px;
  place-items: center;
}

.hero-visual::before {
  position: absolute;
  width: 67%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 255, 145, 0.21), rgba(31, 116, 177, 0.1) 42%, transparent 69%);
  filter: blur(20px);
  content: "";
}

.image-shell {
  position: relative;
  z-index: 2;
  width: min(620px, 90%);
  transform: rotate(2deg);
  animation: artefactFloat 6s ease-in-out infinite;
}

.image-shell::before,
.image-shell::after {
  position: absolute;
  z-index: -1;
  width: 75px;
  height: 75px;
  content: "";
}

.image-shell::before {
  top: -12px;
  left: -12px;
  border-top: 1px solid var(--mint);
  border-left: 1px solid var(--mint);
}

.image-shell::after {
  right: -12px;
  bottom: -12px;
  border-right: 1px solid rgba(46, 255, 145, 0.55);
  border-bottom: 1px solid rgba(46, 255, 145, 0.55);
}

.image-shell img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(101, 255, 184, 0.26);
  border-radius: 18%;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.55), 0 0 70px rgba(36, 174, 191, 0.1);
}

.orbit {
  position: absolute;
  z-index: 1;
  width: 82%;
  aspect-ratio: 1;
  border: 1px solid rgba(46, 255, 145, 0.12);
  border-radius: 50%;
}

.orbit::after {
  position: absolute;
  top: 13%;
  left: 11%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 16px var(--mint);
  content: "";
}

.orbit-one {
  transform: rotateX(68deg) rotateZ(-10deg);
  animation: orbitSpin 12s linear infinite;
}

.orbit-two {
  width: 68%;
  border-color: rgba(60, 200, 255, 0.12);
  transform: rotateY(68deg) rotateZ(28deg);
  animation: orbitSpinReverse 15s linear infinite;
}

.telemetry {
  position: absolute;
  z-index: 4;
  display: grid;
  gap: 4px;
  min-width: 145px;
  padding: 10px 13px;
  border: 1px solid rgba(46, 255, 145, 0.25);
  background: rgba(2, 7, 13, 0.78);
  backdrop-filter: blur(12px);
}

.telemetry span {
  color: #60776d;
  font-size: 8px;
  letter-spacing: 0.15em;
}

.telemetry strong {
  color: var(--mint-soft);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.telemetry-top {
  top: 16%;
  right: 1%;
}

.telemetry-bottom {
  bottom: 14%;
  left: 0;
}

.signal-strip {
  display: flex;
  gap: 28px;
  align-items: center;
  width: max-content;
  min-width: 100%;
  padding: 17px 24px;
  border-block: 1px solid var(--line);
  color: #718c80;
  background: rgba(46, 255, 145, 0.025);
  font-size: 10px;
  letter-spacing: 0.16em;
  white-space: nowrap;
  text-transform: uppercase;
  animation: stripDrift 28s linear infinite alternate;
}

.signal-strip i {
  color: var(--mint);
  font-style: normal;
}

.mission {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(50px, 10vw, 150px);
  align-items: center;
  min-height: 820px;
  padding-block: 150px;
}

.section-heading h2,
.soundtrack h2,
.final-briefing h2 {
  margin-bottom: 28px;
  font-family: var(--font-geist-sans), system-ui, sans-serif;
  font-size: clamp(45px, 5.8vw, 86px);
  font-weight: 860;
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.section-heading > p:last-child,
.soundtrack-copy > p:last-child,
.final-briefing > p:not(.eyebrow) {
  max-width: 540px;
  color: #8ea69c;
  font-family: var(--font-geist-sans), system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

.puzzle-console {
  position: relative;
  padding: 14px;
  border: 1px solid rgba(46, 255, 145, 0.26);
  background: linear-gradient(145deg, rgba(8, 25, 31, 0.9), rgba(3, 10, 15, 0.96));
  box-shadow: inset 0 0 70px rgba(46, 255, 145, 0.025), 0 30px 100px rgba(0, 0, 0, 0.35);
}

.puzzle-console::before,
.puzzle-console::after {
  position: absolute;
  width: 14px;
  height: 14px;
  content: "";
}

.puzzle-console::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--mint);
  border-left: 2px solid var(--mint);
}

.puzzle-console::after {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid var(--mint);
  border-bottom: 2px solid var(--mint);
}

.console-bar,
.console-footer,
.track-readout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 13px;
  color: #718a80;
  font-size: 9px;
  letter-spacing: 0.11em;
}

.console-bar {
  border-bottom: 1px solid var(--line);
}

.status-live,
.console-footer strong {
  color: var(--mint);
}

.puzzle-stage {
  position: relative;
  display: grid;
  aspect-ratio: 1.2;
  place-items: center;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(76, 161, 130, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76, 161, 130, 0.08) 1px, transparent 1px),
    radial-gradient(circle at center, rgba(46, 255, 145, 0.05), transparent 58%);
  background-size: 52px 52px, 52px 52px, auto;
}

.trace-canvas {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
}

.console-footer {
  border-top: 1px solid var(--line);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-block: 80px 150px;
}

.feature-heading {
  grid-column: 1 / -1;
  margin-bottom: 40px;
}

.feature-heading h2 {
  margin-bottom: 0;
}

.feature-card {
  position: relative;
  min-height: 330px;
  padding: 31px;
  border: 1px solid rgba(116, 255, 187, 0.15);
  background: linear-gradient(145deg, rgba(9, 24, 31, 0.88), rgba(3, 9, 14, 0.82));
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease;
}

.feature-card:hover {
  border-color: rgba(46, 255, 145, 0.42);
  transform: translateY(-4px);
}

.feature-card::after {
  position: absolute;
  right: -60px;
  bottom: -70px;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(46, 255, 145, 0.11);
  transform: rotate(45deg);
  content: "";
}

.feature-wide {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 80px 1fr 1fr;
  gap: 35px;
  align-items: center;
  min-height: 235px;
}

.feature-index {
  color: transparent;
  font-family: var(--font-geist-sans), system-ui, sans-serif;
  font-size: 84px;
  font-weight: 900;
  -webkit-text-stroke: 1px rgba(46, 255, 145, 0.28);
}

.feature-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 50px;
  place-items: center;
  border: 1px solid rgba(46, 255, 145, 0.3);
  font-size: 28px;
  background: rgba(46, 255, 145, 0.06);
}

.kicker {
  margin-bottom: 12px;
  color: var(--mint);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.17em;
}

.feature-card h3 {
  max-width: 430px;
  margin-bottom: 20px;
  font-family: var(--font-geist-sans), system-ui, sans-serif;
  font-size: clamp(25px, 2.6vw, 38px);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.feature-card > p:last-child {
  max-width: 490px;
  margin-bottom: 0;
  color: #789186;
  font-family: var(--font-geist-sans), system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.7;
}

.amber-card .feature-icon,
.amber-card .kicker {
  border-color: rgba(255, 166, 46, 0.35);
  color: var(--amber);
  background: rgba(255, 166, 46, 0.06);
}

.danger-card .feature-icon,
.danger-card .kicker {
  border-color: rgba(255, 51, 82, 0.35);
  color: var(--danger);
  background: rgba(255, 51, 82, 0.06);
}

.campaign {
  padding-block: 140px 155px;
  border-block: 1px solid var(--line);
  background: rgba(4, 13, 19, 0.8);
}

.campaign-intro {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 70px;
  align-items: end;
  margin-bottom: 65px;
}

.campaign-intro h2 {
  margin-bottom: 0;
}

.campaign-intro > p {
  margin-bottom: 8px;
  color: #89a096;
  font-family: var(--font-geist-sans), system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

.level-rail {
  display: grid;
  grid-auto-columns: minmax(260px, 1fr);
  grid-auto-flow: column;
  gap: 12px;
  width: min(1540px, calc(100vw - 40px));
  margin-left: max(20px, calc((100vw - 1180px) / 2));
  padding: 4px max(20px, calc((100vw - 1180px) / 2)) 22px 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-color: rgba(46, 255, 145, 0.35) rgba(255, 255, 255, 0.03);
  scroll-snap-type: inline mandatory;
}

.level-card {
  display: flex;
  min-height: 360px;
  padding: 22px;
  border: 1px solid rgba(46, 255, 145, 0.14);
  background: linear-gradient(160deg, #091722, #040a0f 65%);
  flex-direction: column;
  scroll-snap-align: start;
  transition: border-color 180ms ease, transform 180ms ease;
}

.level-card:hover {
  border-color: rgba(46, 255, 145, 0.42);
  transform: translateY(-3px);
}

.level-top,
.level-meta {
  display: flex;
  justify-content: space-between;
  color: #5e766b;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.artifact-model {
  position: relative;
  width: 100%;
  height: 180px;
  margin: 26px auto 21px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 48%, rgba(46, 255, 145, 0.08), transparent 47%),
    linear-gradient(rgba(46, 255, 145, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 255, 145, 0.035) 1px, transparent 1px);
  background-size: auto, 28px 28px, 28px 28px;
}

.artifact-model::before,
.artifact-model::after {
  position: absolute;
  z-index: 2;
  width: 24px;
  height: 24px;
  content: "";
  pointer-events: none;
}

.artifact-model::before {
  top: 0;
  left: 0;
  border-top: 1px solid rgba(46, 255, 145, 0.34);
  border-left: 1px solid rgba(46, 255, 145, 0.34);
}

.artifact-model::after {
  right: 0;
  bottom: 0;
  border-right: 1px solid rgba(46, 255, 145, 0.2);
  border-bottom: 1px solid rgba(46, 255, 145, 0.2);
}

.artifact-model canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: pan-x;
}

.artifact-model canvas:active {
  cursor: grabbing;
}

.model-scanline {
  position: absolute;
  z-index: 1;
  right: 8%;
  left: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(46, 255, 145, 0.45), transparent);
  box-shadow: 0 0 9px rgba(46, 255, 145, 0.28);
  animation: modelScan 4.8s ease-in-out infinite;
  pointer-events: none;
}

.level-card h3 {
  margin-bottom: 16px;
  font-family: var(--font-geist-sans), system-ui, sans-serif;
  font-size: 25px;
  letter-spacing: -0.04em;
}

.level-meta {
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.soundtrack {
  position: relative;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 70px;
  align-items: end;
  min-height: 700px;
  padding-block: 150px;
}

.soundtrack::after {
  position: absolute;
  z-index: -1;
  right: -20%;
  bottom: 8%;
  width: 75%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(60, 200, 255, 0.1), transparent 65%);
  content: "";
}

.waveform {
  display: flex;
  gap: clamp(3px, 0.45vw, 7px);
  align-items: center;
  height: 260px;
  padding: 30px 0;
}

.waveform span {
  width: 3px;
  height: calc(18px + (var(--wave, 1) * 8px));
  max-height: 190px;
  border-radius: 3px;
  background: var(--mint);
  box-shadow: 0 0 8px rgba(46, 255, 145, 0.4);
  animation: soundWave 1.25s ease-in-out infinite alternate;
}

.waveform span:nth-child(3n) { height: 105px; animation-delay: -0.4s; }
.waveform span:nth-child(4n) { height: 155px; animation-delay: -0.8s; }
.waveform span:nth-child(5n) { height: 72px; animation-delay: -0.2s; }
.waveform span:nth-child(7n) { height: 188px; animation-delay: -0.65s; }
.waveform span:nth-child(8n) { height: 128px; animation-delay: -0.9s; }

.track-readout {
  grid-column: 1 / -1;
  padding-inline: 0;
  border-top: 1px solid var(--line);
}

.track-readout strong {
  color: var(--mint-soft);
  font-size: 11px;
}

.track-readout em {
  color: #5e776c;
  font-style: normal;
}

.final-briefing {
  position: relative;
  display: flex;
  min-height: 720px;
  padding-block: 150px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.final-briefing::before {
  position: absolute;
  inset: 60px 0;
  border: 1px solid rgba(46, 255, 145, 0.13);
  clip-path: polygon(7% 0, 93% 0, 100% 14%, 100% 86%, 93% 100%, 7% 100%, 0 86%, 0 14%);
  content: "";
}

.final-glow {
  position: absolute;
  z-index: -1;
  width: 70%;
  height: 70%;
  background: radial-gradient(ellipse, rgba(46, 255, 145, 0.13), transparent 68%);
  filter: blur(10px);
}

.final-briefing h2 {
  margin-bottom: 22px;
  font-size: clamp(54px, 7vw, 105px);
}

.final-briefing > p:not(.eyebrow) {
  margin-bottom: 24px;
}

.availability {
  margin-bottom: 33px;
  color: var(--mint-soft);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.availability span {
  color: var(--mint);
  animation: signalPulse 1.8s ease-in-out infinite;
}

.final-briefing .button {
  position: relative;
  z-index: 2;
}

.footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(220px, 1fr);
  gap: 24px;
  align-items: center;
  min-height: 120px;
  padding-block: 28px;
  border-top: 1px solid var(--line);
  color: #567065;
  font-size: 9px;
  letter-spacing: 0.13em;
}

.footer-brand-block {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.footer p {
  margin-bottom: 0;
}

.footer-brand-block p {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.5;
  text-transform: uppercase;
}

.footer-app-store {
  min-height: 42px;
  padding: 5px 12px 5px 10px;
  justify-self: center;
}

.footer-app-store svg {
  width: 20px;
  height: 20px;
}

.footer-app-store span {
  font-size: 15px;
}

.footer-app-store small {
  font-size: 7px;
}

.copyright-line {
  justify-self: end;
  max-width: 390px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
  text-align: right;
}

.copyright-line a {
  color: inherit;
  text-decoration: none;
}

.copyright-line a:hover,
.copyright-line a:focus-visible {
  color: var(--mint-soft);
}

.neon-pixel-word {
  white-space: nowrap;
}

.neon-pixel-word span:first-child {
  color: #ff2b8a;
  font-weight: 800;
}

.neon-pixel-word span:last-child {
  color: #57d8ff;
  font-weight: 800;
}

@keyframes signalPulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; text-shadow: 0 0 10px var(--mint); }
}

@keyframes artefactFloat {
  0%, 100% { transform: translateY(0) rotate(2deg); }
  50% { transform: translateY(-14px) rotate(1deg); }
}

@keyframes orbitSpin {
  to { transform: rotateX(68deg) rotateZ(350deg); }
}

@keyframes orbitSpinReverse {
  to { transform: rotateY(68deg) rotateZ(-332deg); }
}

@keyframes stripDrift {
  to { transform: translateX(-5%); }
}

@keyframes soundWave {
  from { transform: scaleY(0.55); opacity: 0.45; }
  to { transform: scaleY(1); opacity: 1; }
}

@keyframes modelScan {
  0%, 100% { top: 14%; opacity: 0.25; }
  50% { top: 84%; opacity: 0.7; }
}

@media (max-width: 980px) {
  :root {
    --page: min(100% - 32px, 760px);
  }

  .nav-shell {
    grid-template-columns: 1fr auto;
  }

  .nav-shell nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 80px;
  }

  .hero-copy {
    max-width: 690px;
  }

  .hero-visual {
    min-height: 600px;
  }

  .mission {
    grid-template-columns: 1fr;
    padding-block: 120px;
  }

  .section-heading {
    max-width: 700px;
  }

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

  .feature-wide,
  .feature-heading {
    grid-column: 1 / -1;
  }

  .feature-wide {
    grid-template-columns: 70px 1fr;
  }

  .feature-wide > p:last-child {
    grid-column: 2;
  }

  .campaign-intro,
  .soundtrack {
    grid-template-columns: 1fr;
  }

  .campaign-intro {
    gap: 30px;
  }

  .soundtrack {
    gap: 30px;
  }

  .waveform {
    height: 210px;
  }

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

  .copyright-line {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 100%;
    text-align: center;
  }
}

@media (max-width: 640px) {
  :root {
    --page: calc(100vw - 28px);
  }

  .nav-shell {
    min-height: 72px;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-block: 70px 45px;
  }

  h1 {
    font-size: clamp(58px, 22vw, 88px);
  }

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

  .hero-actions,
  .button,
  .app-store-link {
    width: 100%;
  }

  .app-store-link {
    justify-content: center;
  }

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

  .hero-stats div,
  .hero-stats div + div {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-stats dt,
  .hero-stats dd {
    margin: 0;
  }

  .hero-visual {
    min-height: 430px;
  }

  .image-shell {
    width: 90%;
  }

  .telemetry {
    display: none;
  }

  .signal-strip {
    gap: 19px;
  }

  .mission {
    gap: 55px;
    min-height: auto;
    padding-block: 105px;
  }

  .section-heading h2,
  .soundtrack h2 {
    font-size: 48px;
  }

  .puzzle-console {
    padding: 8px;
  }

  .puzzle-stage {
    aspect-ratio: 1;
  }

  .trace-canvas {
    min-height: 310px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    padding-bottom: 110px;
  }

  .feature-heading,
  .feature-wide {
    grid-column: auto;
  }

  .feature-wide {
    display: block;
  }

  .feature-index {
    display: block;
    margin-bottom: 24px;
  }

  .feature-card {
    min-height: 300px;
  }

  .campaign {
    padding-block: 100px;
  }

  .level-rail {
    grid-auto-columns: minmax(245px, 84vw);
    margin-left: 14px;
    padding-right: 14px;
  }

  .soundtrack {
    min-height: auto;
    padding-block: 110px;
  }

  .waveform {
    gap: 4px;
    height: 170px;
    overflow: hidden;
  }

  .track-readout {
    display: grid;
    gap: 7px;
  }

  .track-readout em {
    position: absolute;
    right: 0;
  }

  .final-briefing {
    min-height: 650px;
  }

  .final-briefing h2 {
    font-size: 56px;
  }

  .final-briefing::before {
    inset-inline: -5px;
  }

  .footer {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-block: 38px 42px;
    text-align: center;
  }

  .footer-brand-block {
    justify-items: center;
  }

  .footer .brand {
    max-width: 100%;
    justify-content: center;
  }

  .footer-brand-block p {
    max-width: 24rem;
    font-size: 10px;
  }

  .footer-app-store {
    width: min(100%, 265px);
    min-height: 52px;
    padding-block: 9px;
  }

  .footer-app-store svg {
    width: 23px;
    height: 23px;
  }

  .copyright-line {
    justify-self: center;
    max-width: 28rem;
    font-size: 10px;
    line-height: 1.75;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
