:root {
  --bg-space: #060911;
  --steel-dark: rgba(11, 17, 29, 0.9);
  --steel-panel: #101829;
  --steel-card: #162138;
  --paper-light: #f4efe0;
  --ink: #0a0d14;
  --cyan: #18a4d8;
  --cyan-bright: #3bc9f5;
  --orange: #eb4e27;
  --orange-bright: #ff6238;
  --yellow: #f9d61e;
  --pink: #f28bb2;
  --green: #22c55e;
  --text-light: #f5f7fb;
  --text-dim: #a8b7d4;
}

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

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--bg-space);
  color: var(--text-light);
  font-family: "Chakra Petch", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ===== Background Video & Tactical Overlays ===== */
.video-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.08) saturate(1.14) brightness(0.84);
}

.stage-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(95deg, rgba(6, 9, 17, 0.88) 0%, rgba(6, 9, 17, 0.56) 46%, rgba(6, 9, 17, 0.22) 100%),
    linear-gradient(180deg, rgba(6, 9, 17, 0.68) 0%, transparent 22%, transparent 80%, rgba(6, 9, 17, 0.78) 100%);
  pointer-events: none;
}

.hud-grid-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(to right, rgba(59, 201, 245, 0.28) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(59, 201, 245, 0.28) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.16) 0px,
    rgba(0, 0, 0, 0.16) 1px,
    transparent 1px,
    transparent 4px
  );
  pointer-events: none;
}

/* ===== Top Command Rail ===== */
.command-rail {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 28px;
  background: linear-gradient(180deg, rgba(6, 9, 17, 0.92), rgba(6, 9, 17, 0.55));
  border-bottom: 2px solid rgba(59, 201, 245, 0.32);
  backdrop-filter: blur(8px);
}

.brand-emblem {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--text-light);
}

.visor-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #0095cc;
  border: 2.5px solid var(--ink);
  outline: 2px solid var(--cyan-bright);
  box-shadow: 3px 3px 0 var(--orange);
  overflow: hidden;
  flex-shrink: 0;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.brand-emblem:hover .visor-badge {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--yellow);
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text strong {
  font-family: "Russo One", sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  color: var(--yellow);
  text-shadow: 2px 2px 0 var(--orange);
}

.brand-text small {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--cyan-bright);
}

.telemetry-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: rgba(16, 24, 41, 0.85);
  border: 1.5px solid rgba(59, 201, 245, 0.35);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

.tele-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tele-sep {
  color: var(--orange);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

.rail-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rail-btn {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 36px;
  padding: 0 12px;
  background: var(--steel-panel);
  color: var(--text-light);
  border: 2px solid var(--cyan);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.12s ease, background-color 0.12s ease, border-color 0.12s ease;
}

.rail-btn:hover {
  background: var(--cyan);
  color: var(--ink);
  transform: translateY(-2px);
}

.rail-btn.active {
  background: var(--yellow);
  border-color: var(--ink);
  color: var(--ink);
}

.social-square {
  width: 36px;
  padding: 0;
}

.audio-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 11px;
}

.audio-bars i {
  display: block;
  width: 2.5px;
  height: 4px;
  background: currentColor;
}

.audio-btn.active .audio-bars i {
  animation: eq 0.65s ease-in-out infinite alternate;
}

.audio-btn.active .audio-bars i:nth-child(2) {
  animation-delay: 0.2s;
}

.audio-btn.active .audio-bars i:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes eq {
  from { height: 3px; }
  to { height: 11px; }
}

/* ===== Main Viewport Stage ===== */
.cockpit-stage {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  padding: 82px 34px 48px;
  display: flex;
  align-items: center;
}

.hidden {
  display: none !important;
}

/* ===== VIEW 1: Fullscreen Cinematic Video Hero ===== */
.hero-deck {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 100px 28px 72px;
  /* fade-in on load */
  animation: hero-fadein 1.1s ease both;
}

@keyframes hero-fadein {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Centered identity block */
.hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  max-width: 680px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: rgba(16, 24, 41, 0.72);
  border: 1.5px solid rgba(59, 201, 245, 0.4);
  backdrop-filter: blur(8px);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--cyan-bright);
}

.hero-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse-glow 1.6s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 6px var(--green); }
  50%       { box-shadow: 0 0 16px var(--green), 0 0 28px rgba(34,197,94,0.4); }
}

/* Bottom CTA dock — glass strip anchored to bottom */
.hero-cta-dock {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 540px;
}

.cta-specs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-spec-item em {
  font-style: normal;
  color: var(--yellow);
  margin-right: 4px;
}

.cta-divider {
  color: rgba(59, 201, 245, 0.45);
}

.mecha-headline {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 0.96;
  text-transform: uppercase;
  text-align: center;
}

.line-top {
  font-family: "Chakra Petch", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--yellow);
  margin-bottom: 4px;
}

.line-main {
  font-family: "Russo One", sans-serif;
  font-size: clamp(3.6rem, 10vw, 7rem);
  letter-spacing: 0.04em;
  color: var(--cyan-bright);
  text-shadow:
    4px 4px 0 var(--orange),
    8px 8px 0 rgba(0,0,0,0.5);
}

.line-sub {
  font-family: "Russo One", sans-serif;
  font-size: clamp(1.1rem, 3vw, 1.75rem);
  letter-spacing: 0.14em;
  color: rgba(244, 239, 224, 0.75);
  margin-top: 4px;
}

.hero-copy {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(168, 183, 212, 0.85);
  text-align: center;
  max-width: 480px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.8);
}

.launch-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-launch {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  background: var(--orange);
  color: #ffffff;
  font-family: "Russo One", sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  border: 2.5px solid var(--ink);
  box-shadow:
    4px 4px 0 var(--yellow),
    0 12px 36px rgba(235, 78, 39, 0.45);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  transition: transform 0.14s ease, background-color 0.14s ease, box-shadow 0.14s ease;
}

.btn-launch:hover {
  background: var(--orange-bright);
  transform: translate(-2px, -2px);
  box-shadow:
    6px 6px 0 var(--yellow),
    0 18px 48px rgba(235, 78, 39, 0.6);
}

.btn-launch:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--yellow);
}

.launch-icon {
  color: var(--yellow);
}

.launch-note {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  color: rgba(168, 183, 212, 0.65);
  letter-spacing: 0.08em;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0,0,0,0.9);
}

/* Radar pod — still used in success view */
.radar-pod {
  display: none; /* removed from hero, only pass-radar used now */
}

.pod-dial,
.pass-radar {
  position: relative;
  width: 100%;
  height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, #0e5780 0%, #061c2c 100%);
  border: 2px solid var(--cyan-bright);
  border-radius: 50%;
  overflow: hidden;
}

.dial-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(59, 201, 245, 0.25) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(59, 201, 245, 0.25) 1px, transparent 1px);
  background-size: 18px 18px;
}

.dial-sweep {
  position: absolute;
  inset: -45%;
  background: conic-gradient(from 0deg, rgba(249, 214, 30, 0.36), transparent 62deg);
  animation: radar-spin 3.4s linear infinite;
}

@keyframes radar-spin {
  to { transform: rotate(360deg); }
}

.dial-mecha {
  position: relative;
  z-index: 2;
}

.pod-meter {
  margin-top: 10px;
  padding: 5px 8px;
  background: var(--steel-card);
  border: 1px solid rgba(59, 201, 245, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
}

.pod-meter strong {
  color: var(--yellow);
}

/* ===== VIEW 2: Two-Column Mecha Deployment Bay ===== */
  /* Form bay */
  .deployment-bay {
    width: 100%;
    max-width: 960px;
    height: min(650px, calc(100vh - 134px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 255px 1fr;
    grid-template-rows: minmax(0, 1fr);
    background: var(--steel-dark);
    border: 2.5px solid var(--cyan-bright);
    box-shadow:
      -6px 6px 0 var(--orange),
      0 24px 64px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    overflow: hidden;
    animation: hero-fadein 0.35s ease both;
  }

.bay-sidebar {
  padding: 18px;
  background: rgba(16, 24, 41, 0.96);
  border-right: 2px solid rgba(59, 201, 245, 0.35);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
  overflow-y: auto;
}

.btn-abort {
  cursor: pointer;
  align-self: flex-start;
  padding: 6px 12px;
  background: transparent;
  color: var(--cyan-bright);
  border: 1.5px solid var(--cyan-bright);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  font-weight: 700;
  transition: background-color 0.12s ease, color 0.12s ease;
}

.btn-abort:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--ink);
}

.sidebar-kicker {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  color: var(--orange-bright);
  margin-bottom: 4px;
}

.sidebar-title {
  margin: 0;
  font-family: "Russo One", sans-serif;
  font-size: 1.28rem;
  line-height: 1.15;
  color: var(--paper-light);
}

.reactor-gauge {
  padding: 12px;
  background: var(--steel-card);
  border: 1.5px solid rgba(59, 201, 245, 0.35);
}

.gauge-top {
  display: flex;
  justify-content: space-between;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  margin-bottom: 8px;
}

.gauge-top strong {
  color: var(--yellow);
}

.gauge-cells {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
}

.gauge-cells span {
  height: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.gauge-cells span.lit {
  background: var(--yellow);
  border-color: var(--orange);
  box-shadow: 0 0 8px rgba(249, 214, 30, 0.65);
}

.stepper-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
}

.step-item.ready {
  border-color: var(--green);
  background: rgba(34, 197, 94, 0.12);
}

.step-idx {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cyan);
  color: var(--ink);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-item.ready .step-idx {
  background: var(--green);
  color: #ffffff;
}

.step-item strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.step-item small {
  font-size: 0.68rem;
  color: var(--text-dim);
}

/* Right Main: Scrollable Fields + Pinned Submit Footer */
.bay-main {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

#early-access-form {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.form-fields-scroll {
  flex: 1;
  min-height: 0;
  padding: 16px 22px 8px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--cyan) var(--steel-panel);
}

.form-submit-dock {
  flex-shrink: 0;
  padding: 10px 22px 16px;
  background: rgba(11, 17, 29, 0.98);
  border-top: 2px solid rgba(59, 201, 245, 0.3);
}

.deck-module {
  margin-bottom: 10px;
  padding: 11px 13px;
  background: rgba(22, 33, 56, 0.78);
  border: 1.5px solid rgba(59, 201, 245, 0.28);
}

.deck-module:last-child {
  margin-bottom: 4px;
}

.module-head,
.module-title-group {
  display: flex;
  align-items: center;
  gap: 9px;
}

.module-head {
  margin-bottom: 8px;
}

.module-head-split {
  justify-content: space-between;
  flex-wrap: wrap;
}

.module-num {
  padding: 2px 7px;
  background: var(--yellow);
  color: var(--ink);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  font-weight: 700;
}

.module-head h3 {
  margin: 0;
  font-family: "Russo One", sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  color: var(--paper-light);
}

.input-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field-box {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.field-box label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  color: var(--cyan-bright);
  text-transform: uppercase;
}

.req {
  color: var(--orange-bright);
}

.field-box input {
  width: 100%;
  padding: 10px 12px;
  background: #090e18;
  color: var(--text-light);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  border: 1.5px solid rgba(59, 201, 245, 0.4);
  outline: none;
  transition: border-color 0.14s ease, box-shadow 0.14s ease;
}

.field-box input:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 2px rgba(249, 214, 30, 0.25);
}

.field-box input.invalid {
  border-color: var(--orange-bright);
}

.field-err {
  min-height: 12px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  color: var(--orange-bright);
}

/* Social Missions */
.mission-cards {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mission-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 11px;
  background: #0b1220;
  border: 1.5px solid rgba(59, 201, 245, 0.25);
}

.mission-card.done {
  border-color: var(--green);
  background: rgba(34, 197, 94, 0.1);
}

.mission-copy strong {
  display: block;
  font-size: 0.84rem;
}

.mission-copy small {
  font-size: 0.7rem;
  color: var(--text-dim);
}

.mission-ctrl {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-mission {
  cursor: pointer;
  padding: 7px 12px;
  background: var(--cyan-bright);
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  font-weight: 700;
  transition: transform 0.12s ease, background-color 0.12s ease;
}

.btn-mission:hover {
  background: var(--yellow);
  transform: translate(-1px, -1px);
}

.btn-mission.completed {
  background: var(--green);
  color: #ffffff;
}

.btn-quote-open {
  background: var(--pink);
}

.mission-badge {
  min-width: 68px;
  text-align: center;
  padding: 4px 6px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.66rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-dim);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.mission-badge.verified {
  background: var(--green);
  color: #ffffff;
  border-color: var(--green);
}

.btn-ignition {
  cursor: pointer;
  width: 100%;
  padding: 14px 18px;
  background: var(--orange);
  color: #ffffff;
  font-family: "Russo One", sans-serif;
  font-size: 0.94rem;
  letter-spacing: 0.08em;
  border: 2.5px solid var(--ink);
  box-shadow: 4px 4px 0 var(--yellow);
  transition: transform 0.12s ease, background-color 0.12s ease;
}

.btn-ignition:hover:not(:disabled) {
  background: var(--orange-bright);
  transform: translate(-2px, -2px);
}

.btn-ignition:disabled {
  opacity: 0.72;
  cursor: wait;
}

.submit-err {
  display: block;
  min-height: 0;
  margin-bottom: 6px;
}

.submit-err:empty {
  display: none;
}

/* ===== VIEW 3: Pilot Confirmation Pass ===== */
.pilot-pass {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 22px 26px;
  background: var(--steel-dark);
  border: 2.5px solid var(--cyan-bright);
  box-shadow: -8px 8px 0 var(--orange), 0 28px 65px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
}

.pass-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.pass-grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: center;
}

.pass-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.pass-radar {
  width: 158px;
  height: 158px;
}

.pass-code-banner {
  padding: 4px 10px;
  background: var(--green);
  color: #ffffff;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  font-weight: 700;
}

.pass-headline {
  margin: 0 0 6px;
  font-family: "Russo One", sans-serif;
  font-size: 1.75rem;
  color: var(--yellow);
  text-shadow: 2px 2px 0 var(--orange);
}

.pass-sub {
  margin: 0 0 14px;
  font-size: 0.88rem;
  color: var(--text-dim);
}

.pass-table {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  margin-bottom: 16px;
  background: #0a101d;
  border: 1.5px solid rgba(59, 201, 245, 0.35);
}

.pass-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.74rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.14);
  padding-bottom: 6px;
}

.pass-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.pass-row span {
  color: var(--text-dim);
}

.pass-row a {
  color: var(--cyan-bright);
  text-decoration: none;
  font-weight: 700;
}

.pass-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ===== Bottom Telemetry Strip ===== */
.bottom-strip {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  padding: 9px 28px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: rgba(245, 247, 251, 0.62);
  background: linear-gradient(0deg, rgba(6, 9, 17, 0.86), transparent);
  pointer-events: none;
}

/* ===== Responsive ===== */

/* ── Tablet (≤900px) ── */
@media (max-width: 900px) {
  .telemetry-strip {
    display: none;
  }

  .hero-deck {
    padding: 90px 20px 60px;
  }

  .deployment-bay {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    height: calc(100dvh - 112px);
    max-height: calc(100dvh - 112px);
    background: rgba(6, 9, 17, 0.70);
    backdrop-filter: blur(20px) saturate(1.3);
    -webkit-backdrop-filter: blur(20px) saturate(1.3);
    border-color: rgba(59, 201, 245, 0.5);
    box-shadow: -4px 4px 0 var(--orange), 0 16px 56px rgba(0, 0, 0, 0.7);
  }

  .bay-sidebar {
    padding: 12px 16px;
    gap: 10px;
    background: rgba(10, 16, 30, 0.75);
    border-right: none;
    border-bottom: 1.5px solid rgba(59, 201, 245, 0.3);
    overflow: visible;
  }

  .stepper-list { display: none; }

  .pass-grid { grid-template-columns: 1fr; text-align: center; }
  .pass-actions { justify-content: center; }

  .pilot-pass {
    background: rgba(6, 9, 17, 0.75);
    backdrop-filter: blur(18px) saturate(1.3);
    -webkit-backdrop-filter: blur(18px) saturate(1.3);
  }
}

/* ── Mobile (≤640px) ── */
@media (max-width: 640px) {
  .command-rail {
    padding: 10px 14px;
    gap: 10px;
    background: linear-gradient(180deg, rgba(6, 9, 17, 0.88), rgba(6, 9, 17, 0.4));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom-color: rgba(59, 201, 245, 0.25);
  }

  .brand-text small { display: none; }
  .brand-text strong { font-size: 1rem; }

  .cockpit-stage {
    padding: 68px 12px 48px;
  }

  /* Hero: fullscreen video-first, elements at top+bottom */
  .hero-deck {
    padding: 80px 18px 56px;
  }

  .hero-center { gap: 10px; }

  .hero-eyebrow {
    font-size: 0.6rem;
    padding: 4px 10px;
  }

  .line-top { font-size: 0.72rem; letter-spacing: 0.22em; }
  .line-main { font-size: clamp(2.8rem, 14vw, 4.5rem); }
  .line-sub  { font-size: clamp(0.9rem, 4.5vw, 1.3rem); }

  /* hide description copy on small screens */
  .hero-copy { display: none; }

  .hero-cta-dock { gap: 10px; width: 100%; }
  .cta-specs { font-size: 0.6rem; gap: 6px; }

  .btn-launch {
    width: 100%;
    justify-content: center;
    padding: 15px 20px;
    font-size: 0.95rem;
  }

  /* Form */
  .deployment-bay {
    height: calc(100dvh - 104px);
    max-height: calc(100dvh - 104px);
    border-left: none;
    border-right: none;
    background: rgba(6, 9, 17, 0.72);
    backdrop-filter: blur(22px) saturate(1.4);
    -webkit-backdrop-filter: blur(22px) saturate(1.4);
    box-shadow: 0 -2px 0 var(--orange), 0 16px 48px rgba(0,0,0,0.65);
  }

  .bay-sidebar {
    padding: 10px 14px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: rgba(8, 13, 24, 0.8);
    border-bottom: 1.5px solid rgba(59, 201, 245, 0.28);
  }

  .sidebar-title-wrap { display: flex; flex-direction: column; gap: 1px; }
  .sidebar-kicker { margin-bottom: 0; font-size: 0.58rem; }
  .sidebar-title { font-size: 0.95rem; }

  .reactor-gauge { flex: 1; max-width: 160px; padding: 8px 10px; }
  .gauge-top { font-size: 0.6rem; margin-bottom: 5px; }
  .gauge-cells span { height: 9px; }

  .form-fields-scroll { padding: 12px 14px 6px; }
  .form-submit-dock { padding: 8px 14px 12px; }
  .input-row-2 { grid-template-columns: 1fr; gap: 10px; }
  .deck-module { padding: 10px 11px; margin-bottom: 8px; }

  .mission-card { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 8px; }
  .mission-copy { flex: 1; min-width: 0; }
  .mission-copy strong { font-size: 0.78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mission-ctrl { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }

  .btn-mission { padding: 6px 10px; font-size: 0.65rem; }
  .mission-badge { min-width: 54px; font-size: 0.6rem; padding: 3px 5px; }
  .btn-ignition { font-size: 0.88rem; padding: 13px 14px; }

  /* Confirmation pass */
  .pilot-pass {
    padding: 16px 14px;
    background: rgba(6, 9, 17, 0.72);
    backdrop-filter: blur(22px) saturate(1.4);
    -webkit-backdrop-filter: blur(22px) saturate(1.4);
    border-left: none; border-right: none;
    box-shadow: 0 -2px 0 var(--orange), 0 16px 48px rgba(0,0,0,0.65);
  }

  .pass-radar { width: 110px; height: 110px; }
  .pass-headline { font-size: 1.35rem; }
  .pass-row { font-size: 0.68rem; flex-wrap: wrap; gap: 4px; }
  .pass-actions { flex-direction: column; }
  .pass-actions .btn-mission,
  .pass-actions .btn-abort { width: 100%; text-align: center; justify-content: center; }

  .bottom-strip { padding: 7px 14px; font-size: 0.55rem; }
}

/* ── Very small (≤390px) ── */
@media (max-width: 390px) {
  .hero-deck { padding: 72px 14px 48px; }
  .line-main { font-size: 2.4rem; }
}
