:root {
  /* Design typography references: IBM Plex Mono** for tiny sizes and Space Grotesk** headings; Futura direction is substituted with Poppins fallback. */
  --void: #050816;
  --cyan: #00D7FF;
  --orange: #FF6A00;
  --white: #F4FBFF;
  --violet: #351C75;
  --mist: #A8C7D9;
  --magenta: #FF4FD8;
  --display: 'Michroma', 'Poppins', 'Futura', system-ui, sans-serif;
  --heading: 'Space Grotesk', 'Poppins', system-ui, sans-serif;
  --body: 'Outfit', 'Poppins', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 68% 18%, rgba(53, 28, 117, .85), transparent 28rem),
    radial-gradient(circle at 24% 75%, rgba(0, 215, 255, .14), transparent 34rem),
    var(--void);
  font-family: var(--body);
}

.bokeh-field, .scanlines, .chrome-sweep { position: fixed; inset: 0; pointer-events: none; }
.bokeh-field { z-index: 0; overflow: hidden; transition: transform .18s ease-out; }
.orb { position: absolute; display: block; border-radius: 50%; filter: blur(22px); opacity: .7; mix-blend-mode: screen; animation: breathe 9s ease-in-out infinite alternate; }
.orb-cyan { background: #00D7FF; box-shadow: 0 0 90px #00D7FF; }
.orb-orange { background: #FF6A00; box-shadow: 0 0 90px #FF6A00; }
.orb-violet { background: #351C75; box-shadow: 0 0 120px #351C75; }
.orb-magenta { background: #FF4FD8; box-shadow: 0 0 95px #FF4FD8; }
.one { width: 15rem; height: 15rem; left: 9%; top: 15%; }
.two { width: 12rem; height: 12rem; right: 17%; top: 18%; animation-delay: -2s; }
.three { width: 24rem; height: 24rem; left: 47%; top: 44%; opacity: .36; animation-delay: -4s; }
.four { width: 8rem; height: 8rem; right: 25%; bottom: 18%; opacity: .58; animation-delay: -1s; }
.five { width: 9rem; height: 9rem; left: 20%; bottom: 18%; animation-delay: -5s; }
.six { width: 19rem; height: 19rem; right: -4rem; bottom: 0; opacity: .42; animation-delay: -3s; }

.scanlines { z-index: 2; background: repeating-linear-gradient(180deg, rgba(244,251,255,.035) 0 1px, transparent 1px 5px); opacity: .28; }
.chrome-sweep { z-index: 3; background: linear-gradient(116deg, transparent 0 40%, rgba(244,251,255,.08) 47%, transparent 54% 100%); animation: chrome 7s linear infinite; opacity: .8; }

.launch-deck { position: relative; z-index: 5; }
.screen { position: relative; min-height: 100vh; padding: clamp(5rem, 8vw, 7rem) clamp(1.4rem, 7vw, 7rem); display: grid; place-items: center; isolation: isolate; }
.screen::before { content: ''; position: absolute; inset: 2rem; border: 1px solid rgba(168,199,217,.2); clip-path: polygon(0 0, calc(100% - 42px) 0, 100% 42px, 100% 100%, 42px 100%, 0 calc(100% - 42px)); z-index: -1; }

.hud-rail { position: fixed; z-index: 8; color: var(--mist); font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; }
.left-rail { left: 1.1rem; top: 8vh; bottom: 12vh; width: 3.5rem; display: grid; grid-template-rows: auto 1fr auto; gap: 1rem; }
.rail-title { writing-mode: vertical-rl; color: var(--cyan); }
.scale { display: flex; flex-direction: column; justify-content: space-between; border-left: 1px solid rgba(0,215,255,.45); }
.scale span { width: 1.6rem; border-top: 1px solid rgba(168,199,217,.55); }
.rail-code { transform: rotate(-90deg); transform-origin: left center; white-space: nowrap; color: rgba(244,251,255,.66); }
.right-rail { right: 1rem; top: 12vh; display: grid; gap: .65rem; }
.diag-card { min-width: 8rem; padding: .7rem .8rem; border: 1px solid rgba(168,199,217,.22); background: rgba(5,8,22,.36); backdrop-filter: blur(14px); clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); }
.diag-card b { color: var(--orange); margin-right: .55rem; }
.diag-card.active { border-color: rgba(0,215,255,.75); box-shadow: 0 0 22px rgba(0,215,255,.24); color: var(--white); }

.viewport { position: relative; width: min(78vw, 56rem); aspect-ratio: 1.42 / 1; display: grid; place-items: center; border: 1px solid rgba(0,215,255,.45); border-radius: 2rem; background: radial-gradient(circle, rgba(0,215,255,.08), transparent 40%), linear-gradient(135deg, rgba(168,199,217,.11), rgba(53,28,117,.12)); backdrop-filter: blur(18px); box-shadow: inset 0 0 55px rgba(0,215,255,.12), 0 0 80px rgba(0,215,255,.11); transition: transform .18s ease-out; }
.reticle { position: absolute; border-radius: 50%; border: 1px solid rgba(0,215,255,.58); }
.reticle::before, .reticle::after { content: ''; position: absolute; inset: -1px; border-radius: 50%; border: inherit; clip-path: polygon(48% 0, 52% 0, 52% 100%, 48% 100%); }
.reticle-outer { width: 77%; aspect-ratio: 1; border-style: dashed; animation: rotate 18s linear infinite; }
.reticle-mid { width: 54%; aspect-ratio: 1; border-color: rgba(255,106,0,.75); animation: rotate 11s linear infinite reverse; }
.reticle-inner { width: 32%; aspect-ratio: 1; border-color: rgba(244,251,255,.38); animation: pulseRing 2.6s ease-in-out infinite; }
.orbit-label { position: absolute; font: 600 .62rem/1 var(--mono); letter-spacing: .18em; color: var(--mist); text-transform: uppercase; }
.orbit-label.top { top: 7%; }.orbit-label.right { right: -3.5rem; transform: rotate(90deg); }.orbit-label.bottom { bottom: 7%; color: var(--orange); }
.wordmark-wrap { text-align: center; padding: 2rem; animation: springIn 1.1s cubic-bezier(.2,1.48,.34,1) both; }
.micro, .panel-label { font-family: var(--mono); color: var(--cyan); letter-spacing: .22em; text-transform: uppercase; font-size: .72rem; }
h1 { margin: .35rem 0; font-family: var(--display); font-size: clamp(2.6rem, 7vw, 6.8rem); font-weight: 400; letter-spacing: .08em; text-shadow: 0 0 24px rgba(0,215,255,.56), 0 0 4px var(--white); }
.signal-line { max-width: 31rem; margin: 1rem auto 0; color: rgba(244,251,255,.78); font-size: clamp(1rem, 2vw, 1.35rem); }
.channel-control, .channel-link { position: absolute; bottom: 1.3rem; right: 1.3rem; border: 1px solid rgba(255,106,0,.82); color: var(--white); background: linear-gradient(135deg, rgba(255,106,0,.18), rgba(255,79,216,.12)); padding: .9rem 1.2rem; border-radius: 999px; font: 700 .78rem/1 var(--heading); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer; box-shadow: 0 0 24px rgba(255,106,0,.24); }
.channel-control.primed { animation: badaPulse .6s cubic-bezier(.2,1.5,.3,1); }
.signal-tray { position: absolute; left: 9vw; right: 9vw; bottom: 4vh; display: flex; justify-content: center; gap: .7rem; flex-wrap: wrap; font: 600 .72rem var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.signal-tray span { padding: .75rem 1rem; border: 1px solid rgba(168,199,217,.28); background: rgba(5,8,22,.55); backdrop-filter: blur(12px); border-radius: 999px; color: var(--mist); }
.corner-bracket { position: absolute; width: 5rem; height: 5rem; border-color: var(--cyan); opacity: .75; }
.tl { top: 3rem; left: 7vw; border-top: 2px solid; border-left: 2px solid; }.tr { top: 3rem; right: 7vw; border-top: 2px solid; border-right: 2px solid; }.bl { bottom: 3rem; left: 7vw; border-bottom: 2px solid; border-left: 2px solid; }.br { bottom: 3rem; right: 7vw; border-bottom: 2px solid; border-right: 2px solid; }

.section-title { position: absolute; top: 12vh; left: clamp(2rem, 12vw, 10rem); }
.section-title span { font-family: var(--mono); color: var(--orange); letter-spacing: .22em; }
.section-title h2 { margin: .25rem 0 0; font-family: var(--display); font-weight: 400; letter-spacing: .09em; font-size: clamp(2rem, 5vw, 4.8rem); text-transform: lowercase; }
.glass-panel { position: relative; border: 1px solid rgba(168,199,217,.34); background: linear-gradient(135deg, rgba(168,199,217,.16), rgba(5,8,22,.56) 44%, rgba(53,28,117,.34)); backdrop-filter: blur(20px); box-shadow: inset 0 1px rgba(244,251,255,.28), 0 0 45px rgba(0,215,255,.13); padding: clamp(1.4rem, 4vw, 3rem); clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 34px 100%, 0 calc(100% - 34px)); }
.glass-panel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, transparent, rgba(244,251,255,.18), transparent); transform: translateX(-120%); animation: glint 5s ease-in-out infinite; }
.glass-panel h3 { margin: .55rem 0; font-family: var(--heading); font-size: clamp(1.7rem, 4vw, 3.6rem); line-height: .95; }
.glass-panel p:not(.panel-label) { max-width: 39rem; color: rgba(244,251,255,.72); font-size: 1.12rem; line-height: 1.65; }
.wide-panel { width: min(62rem, 80vw); margin-top: 8vh; }
.spring-panel { transform: translateY(2rem) scale(.96); opacity: .35; transition: transform .75s cubic-bezier(.16,1.5,.35,1), opacity .5s ease; }
.screen.in-view .spring-panel { transform: translateY(0) scale(1); opacity: 1; }
.mini-hud { position: absolute; right: 12vw; bottom: 20vh; width: 11rem; aspect-ratio: 1; border-radius: 50%; border: 1px dashed rgba(0,215,255,.65); display: grid; place-items: center; color: var(--white); font: 700 2rem var(--heading); animation: rotate 12s linear infinite; }
.mini-hud span { position: absolute; width: .55rem; height: .55rem; border-radius: 50%; background: var(--orange); box-shadow: 0 0 18px var(--orange); }.mini-hud span:nth-child(1){top:8%;}.mini-hud span:nth-child(2){right:10%;bottom:22%;}.mini-hud span:nth-child(3){left:12%;bottom:18%;}
.annotation-card { position: absolute; padding: .75rem 1rem; border: 1px solid rgba(255,106,0,.55); background: rgba(255,106,0,.08); color: var(--white); font: 600 .78rem var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.annotation-card.upper { right: 17vw; top: 23vh; }.annotation-card.lower { left: 14vw; bottom: 18vh; }
.motion-screen { grid-template-columns: 1fr 1fr; gap: 2rem; }
.motion-panel { width: min(35rem, 90vw); justify-self: start; }
.waveform-strip { position: absolute; left: 8vw; bottom: 18vh; width: min(35rem, 80vw); height: 7rem; display: flex; align-items: center; gap: .55rem; padding: 1rem; border: 1px solid rgba(0,215,255,.32); background: rgba(5,8,22,.42); }
.waveform-strip i { flex: 1; height: 25%; background: linear-gradient(180deg, var(--cyan), var(--orange)); border-radius: 99px; animation: wave 1.3s ease-in-out infinite alternate; }
.waveform-strip i:nth-child(2n){ animation-delay: -.2s; height: 70%; }.waveform-strip i:nth-child(3n){ animation-delay: -.5s; height: 45%; }
.node-map { position: relative; width: min(23rem, 70vw); aspect-ratio: 1; justify-self: end; border: 1px solid rgba(168,199,217,.25); border-radius: 50%; background: radial-gradient(circle, rgba(0,215,255,.13), transparent 55%); }
.node-map::before { content: ''; position: absolute; inset: 18%; border: 1px dashed rgba(255,106,0,.65); border-radius: 50%; animation: rotate 9s linear infinite reverse; }
.node-map span { position: absolute; width: 1rem; height: 1rem; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 24px var(--cyan); animation: nodeSnap 2.4s cubic-bezier(.3,1.7,.4,1) infinite; }
.node-map span:nth-child(1){left:49%;top:5%;}.node-map span:nth-child(2){right:12%;top:34%;animation-delay:-.3s}.node-map span:nth-child(3){right:24%;bottom:12%;animation-delay:-.6s}.node-map span:nth-child(4){left:20%;bottom:19%;animation-delay:-.9s}.node-map span:nth-child(5){left:9%;top:31%;animation-delay:-1.2s}
.release-screen { overflow: hidden; }
.beam-core { position: absolute; width: 18vw; min-width: 12rem; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(244,251,255,.95), rgba(0,215,255,.45) 18%, rgba(255,106,0,.18) 38%, transparent 66%); filter: blur(6px); animation: beam 2.8s ease-in-out infinite; }
.release-panel { width: min(48rem, 84vw); margin-top: 18vh; }
.release-panel .channel-link { position: static; display: inline-block; margin-top: 1rem; }
.release-readout { position: absolute; bottom: 16vh; right: 10vw; color: var(--orange); font: 600 .78rem var(--mono); letter-spacing: .16em; }
.bottom-console { position: fixed; z-index: 9; left: 50%; bottom: 1rem; transform: translateX(-50%); width: min(42rem, calc(100vw - 2rem)); display: grid; grid-template-columns: auto 1fr 10rem; gap: .9rem; align-items: center; padding: .75rem 1rem; border: 1px solid rgba(168,199,217,.28); border-radius: 999px; background: rgba(5,8,22,.62); backdrop-filter: blur(14px); font: 600 .74rem var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mist); }
.console-light { width: .7rem; height: .7rem; border-radius: 50%; background: var(--orange); box-shadow: 0 0 18px var(--orange); }
.progress-track { height: .22rem; background: rgba(168,199,217,.2); border-radius: 99px; overflow: hidden; }.progress-track i { display: block; height: 100%; width: 8%; background: linear-gradient(90deg, var(--cyan), var(--orange)); border-radius: inherit; transition: width .2s ease; }

@keyframes breathe { to { transform: translate3d(2rem,-1rem,0) scale(1.18); opacity: .9; } }
@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes pulseRing { 50% { transform: scale(1.14); box-shadow: 0 0 38px rgba(0,215,255,.38); } }
@keyframes chrome { from { transform: translateX(-50%); } to { transform: translateX(50%); } }
@keyframes springIn { 0% { transform: scale(.75); opacity: 0; filter: blur(10px); } 70% { transform: scale(1.06); } 100% { transform: scale(1); opacity: 1; filter: blur(0); } }
@keyframes badaPulse { 50% { transform: scale(1.12); box-shadow: 0 0 48px rgba(255,106,0,.55); } }
@keyframes glint { 45%,100% { transform: translateX(120%); } }
@keyframes wave { to { height: 95%; filter: hue-rotate(55deg); } }
@keyframes nodeSnap { 45% { transform: scale(1.7); background: var(--orange); } 100% { transform: scale(1); } }
@keyframes beam { 50% { transform: scale(1.35); filter: blur(12px); } }

@media (max-width: 800px) {
  .hud-rail { display: none; }
  .screen { padding: 5.5rem 1rem; }
  .screen::before { inset: 1rem; }
  .viewport { width: 92vw; aspect-ratio: .78 / 1; }
  .orbit-label.right { right: -4.2rem; }
  .signal-tray { bottom: 9vh; }
  .motion-screen { grid-template-columns: 1fr; }
  .node-map, .motion-panel { justify-self: center; }
  .waveform-strip { position: relative; left: auto; bottom: auto; order: 3; }
  .bottom-console { grid-template-columns: auto 1fr; }
  .progress-track { display: none; }
}
