:root {
  color-scheme: dark;
  --ink: #02050a;
  --panel: rgba(5, 16, 29, 0.88);
  --line: rgba(115, 207, 255, 0.18);
  --line-bright: rgba(115, 207, 255, 0.42);
  --text: #f5f9fc;
  --muted: #91a4b5;
  --blue: #168cff;
  --cyan: #76d8ff;
  --pink: #ff3ca6;
  --pink-rgb: 255, 60, 166;
  --neon-green: #42ffa1;
  --neon-green-rgb: 66, 255, 161;
  --brand-neon-blue: #38b6ff;
  --brand-neon-blue-rgb: 56, 182, 255;
  --display: "Bahnschrift", "Avenir Next Condensed", "DIN Condensed", sans-serif;
  --body: "Avenir Next", "Segoe UI Variable", "Trebuchet MS", sans-serif;
  --mono: "Space Mono", "IBM Plex Mono", "Cascadia Mono", monospace;
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--ink);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 20%, rgba(var(--pink-rgb), 0.1), transparent 24rem),
    radial-gradient(circle at 92% 78%, rgba(var(--neon-green-rgb), 0.075), transparent 26rem),
    radial-gradient(circle at 76% 16%, rgba(22, 140, 255, 0.15), transparent 30rem),
    radial-gradient(circle at 16% 86%, rgba(0, 91, 182, 0.12), transparent 32rem),
    linear-gradient(145deg, #010307 0%, #04101b 52%, #010408 100%);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(rgba(103, 190, 240, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 190, 240, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 84%);
  content: "";
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 3px, rgba(111, 204, 255, 0.012) 4px);
  content: "";
}

html.entry-gate-active,
html.entry-gate-active body {
  overflow: hidden;
}

.landing-entry-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  display: grid;
  place-items: center;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 46%, rgba(var(--brand-neon-blue-rgb), 0.075), transparent 30rem),
    linear-gradient(180deg, #010204 0%, #02070c 52%, #010204 100%);
  isolation: isolate;
  transition: opacity 820ms cubic-bezier(0.65, 0, 0.35, 1), visibility 820ms linear;
}

.landing-entry-gate::before,
.landing-entry-gate::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
}

.landing-entry-gate::before {
  background:
    linear-gradient(90deg, transparent 0%, rgba(var(--brand-neon-blue-rgb), 0.045) 50%, transparent 100%),
    radial-gradient(circle at 50% 50%, transparent 0 22%, rgba(0, 0, 0, 0.48) 78%);
  opacity: 0.72;
}

.landing-entry-gate::after {
  background: repeating-linear-gradient(180deg, transparent 0 5px, rgba(112, 203, 255, 0.018) 6px);
  opacity: 0.48;
}

.landing-entry-gate.leaving {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.landing-entry-gate.leaving .landing-entry-content {
  opacity: 0;
  transform: scale(1.025);
}

.landing-entry-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(103, 190, 240, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 190, 240, 0.025) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(circle at center, #000 0%, transparent 72%);
  mask-image: radial-gradient(circle at center, #000 0%, transparent 72%);
}

.landing-entry-content {
  width: min(960px, calc(100% - 48px));
  padding: 48px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: none;
  animation: landing-entry-arrive 900ms 120ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  transition: opacity 540ms ease, transform 820ms cubic-bezier(0.65, 0, 0.35, 1);
}

.landing-entry-logo {
  display: block;
  width: clamp(190px, 24vw, 300px);
  height: auto;
  filter: drop-shadow(0 0 18px rgba(var(--brand-neon-blue-rgb), 0.14));
}

.landing-entry-signal {
  width: min(520px, 76vw);
  height: 56px;
  margin-top: clamp(24px, 5vh, 52px);
  opacity: 0.64;
}

.landing-entry-signal svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.landing-entry-signal path {
  fill: none;
  stroke: var(--brand-neon-blue);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 540;
  stroke-dashoffset: 540;
  filter: drop-shadow(0 0 7px rgba(var(--brand-neon-blue-rgb), 0.5));
  animation: landing-entry-signal 1.4s 300ms cubic-bezier(0.45, 0, 0.2, 1) forwards;
}

.landing-entry-quote {
  position: relative;
  width: min(900px, 100%);
  height: 4.8em;
  min-height: 4.8em;
  margin: clamp(32px, 6vh, 58px) 0 clamp(38px, 7vh, 66px);
  padding: 0 clamp(12px, 3vw, 38px);
  display: block;
  overflow: hidden;
  color: var(--brand-neon-blue);
  font-family: var(--mono);
  font-size: clamp(1.72rem, 4.4vw, 4rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.12;
  text-shadow: 0 0 24px rgba(var(--brand-neon-blue-rgb), 0.18);
  text-wrap: wrap;
}

.landing-entry-quote p {
  position: absolute;
  inset: 0 clamp(12px, 3vw, 38px) auto;
  width: auto;
  height: 100%;
  margin: 0;
  padding: 0;
  display: block;
  align-content: start;
  overflow-wrap: break-word;
  text-align: center;
  transform: none;
  vertical-align: top;
  white-space: pre-wrap;
}

.landing-entry-typewriter-scramble {
  color: rgba(118, 216, 255, 0.98);
  text-shadow:
    0 0 10px rgba(var(--brand-neon-blue-rgb), 0.5),
    0 0 22px rgba(var(--brand-neon-blue-rgb), 0.22);
}

.landing-entry-typewriter-cursor {
  display: inline;
  width: auto;
  height: auto;
  margin-left: 3px;
  border-radius: 0;
  background: transparent;
  color: rgba(var(--brand-neon-blue-rgb), 0.9);
  font-family: var(--mono);
  font-size: 0.82em;
  line-height: 0;
  text-shadow:
    0 0 10px rgba(var(--brand-neon-blue-rgb), 0.48),
    0 0 22px rgba(var(--brand-neon-blue-rgb), 0.22);
  transform: none;
  vertical-align: 0.02em;
  animation: landing-entry-cursor-blink 760ms steps(2, start) infinite;
}

.landing-entry-typewriter-cursor::before { content: "▌"; }

.landing-entry-quote p:not(.typing) .landing-entry-typewriter-cursor {
  opacity: 0.58;
}

.landing-entry-button {
  position: relative;
  width: min(360px, 90vw);
  min-height: 62px;
  padding: 0 24px 0 30px;
  border: 1px solid rgba(var(--brand-neon-blue-rgb), 0.62);
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  overflow: hidden;
  clip-path: polygon(13px 0, 100% 0, 100% calc(100% - 13px), calc(100% - 13px) 100%, 0 100%, 0 13px);
  background: linear-gradient(110deg, rgba(3, 19, 32, 0.95), rgba(5, 42, 67, 0.78));
  color: #e8f8ff;
  box-shadow: inset 0 0 26px rgba(var(--brand-neon-blue-rgb), 0.06), 0 0 28px rgba(var(--brand-neon-blue-rgb), 0.08);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.landing-entry-button::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 15%, rgba(117, 221, 255, 0.18) 50%, transparent 85%);
  transform: translateX(-120%);
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
  content: "";
}

.landing-entry-button:hover {
  border-color: var(--cyan);
  color: #fff;
  box-shadow: inset 0 0 34px rgba(var(--brand-neon-blue-rgb), 0.1), 0 0 30px rgba(var(--brand-neon-blue-rgb), 0.18);
  transform: translateY(-2px);
}

.landing-entry-button:hover::before { transform: translateX(120%); }
.landing-entry-button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 5px; }
.landing-entry-button:disabled { cursor: wait; opacity: 0.72; }

.landing-entry-button svg {
  position: relative;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.landing-entry-button span { position: relative; }

.hero-photo-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url("/assets/dobos2.png") center center / cover no-repeat;
  opacity: 0.56;
  filter: saturate(0.82) contrast(1.1) brightness(1.06);
  transform: translateZ(0);
}

.hero-photo-backdrop::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(1, 4, 8, 0.68) 0%, rgba(1, 5, 10, 0.22) 47%, rgba(1, 4, 8, 0.58) 100%),
    linear-gradient(180deg, rgba(1, 4, 8, 0.12), rgba(1, 4, 8, 0.58));
  content: "";
}

.brand-ekg-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.86;
  transform: translateZ(0);
  contain: paint;
  isolation: isolate;
  clip-path: inset(0);
  backface-visibility: hidden;
}

.brand-ekg-backdrop::before,
.brand-ekg-backdrop::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}

.brand-ekg-backdrop::before {
  background:
    radial-gradient(circle at 52% 50%, rgba(var(--brand-neon-blue-rgb), 0.04), transparent 34%),
    radial-gradient(circle at 70% 48%, rgba(255, 255, 255, 0.018), transparent 20%);
  filter: blur(28px);
  opacity: 0.55;
}

.brand-ekg-backdrop::after {
  background:
    linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.035) 48%, transparent 100%),
    repeating-linear-gradient(180deg, rgba(var(--brand-neon-blue-rgb), 0.018) 0 1px, transparent 1px 13px);
  opacity: 0.2;
}

.brand-ekg-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.78;
  filter: saturate(1.1);
  will-change: opacity;
}

.brand-ekg-ios-canvas {
  position: absolute;
  inset: 0;
  display: none;
  width: 100%;
  height: 100%;
  opacity: 0.62;
}

.is-ios-webkit .brand-ekg-ios-canvas { display: block; }
.is-ios-webkit .brand-ekg-svg { display: none; }

.brand-ekg-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-ekg-route {
  stroke: transparent;
}

.brand-ekg-afterglow {
  opacity: 0;
  mix-blend-mode: screen;
  will-change: opacity;
}

.brand-ekg-afterglow-glow {
  stroke: var(--brand-neon-blue);
  stroke-width: 28;
  opacity: 0.28;
  filter: blur(11px);
}

.brand-ekg-afterglow-core {
  stroke: url("#brandEkgStroke");
  stroke-width: 9;
  opacity: 0.76;
  filter: url("#brandEkgGlow");
}

.brand-ekg-plasma {
  opacity: 1;
  mix-blend-mode: screen;
}

.brand-ekg-plasma-fog {
  fill: #078dff;
  stroke: #078dff;
  filter: url("#brandEkgPlasmaFogBlur");
  opacity: 0.74;
}

.brand-ekg-plasma-body {
  fill: #65caff;
  stroke: #65caff;
  filter: url("#brandEkgPlasmaBodyBlur");
  opacity: 0.98;
}

.site-shell {
  position: relative;
  z-index: 2;
  width: min(1320px, calc(100% - 64px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.topbar {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(128, 213, 255, 0.12);
}

.brand {
  display: inline-flex;
  width: clamp(190px, 22vw, 284px);
  align-items: center;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.topbar-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.landing-audio-toggle {
  width: 46px;
  min-width: 46px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 14, 24, 0.62);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  color: #7df7d0;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24), 0 0 18px rgba(82, 244, 198, 0.08);
  cursor: pointer;
  transition: transform 140ms ease, border-color 140ms ease, color 140ms ease, background 140ms ease, box-shadow 140ms ease;
}

.landing-audio-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(125, 247, 208, 0.36);
  box-shadow: 0 0 0 1px rgba(125, 247, 208, 0.14), 0 12px 26px rgba(3, 9, 16, 0.3);
}

.landing-audio-toggle:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.landing-audio-toggle.muted { color: var(--muted); }

.landing-audio-toggle.pending:not(.muted) {
  animation: landing-audio-await 1.8s ease-in-out infinite;
}

.landing-audio-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.landing-audio-muted-mark { display: none; }
.landing-audio-toggle.muted .landing-audio-waves { display: none; }
.landing-audio-toggle.muted .landing-audio-muted-mark { display: inline; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.17fr) minmax(360px, 0.83fr);
  align-items: center;
  gap: clamp(52px, 7vw, 110px);
  padding: clamp(76px, 11vh, 142px) 0 72px;
}

.eyebrow {
  margin: 0 0 26px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: clamp(0.68rem, 1vw, 0.82rem);
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.eyebrow::before {
  display: inline-block;
  width: 34px;
  height: 1px;
  margin: 0 14px 4px 0;
  background: linear-gradient(90deg, transparent, var(--pink) 42%, var(--cyan));
  box-shadow: 0 0 10px var(--pink), 0 0 18px rgba(22, 140, 255, 0.55);
  content: "";
}

h1 {
  max-width: 820px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.5rem, 7.2vw, 7.5rem);
  font-stretch: condensed;
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.88;
  text-transform: uppercase;
}

.hero-title-stage {
  position: relative;
  max-width: 820px;
  isolation: isolate;
}

.hero-title-stage h1 {
  position: relative;
  z-index: 2;
}

.hero-equipment-art {
  position: absolute;
  right: clamp(-118px, -6vw, -58px);
  bottom: -38px;
  z-index: 1;
  width: clamp(260px, 28vw, 410px);
  pointer-events: none;
  opacity: 0.72;
  filter:
    saturate(0.9)
    contrast(1.08)
    drop-shadow(0 0 14px rgba(var(--brand-neon-blue-rgb), 0.22))
    drop-shadow(0 18px 28px rgba(0, 0, 0, 0.72));
  transform: rotate(-1.25deg);
  transform-origin: 65% 75%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 16%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 16%, #000 94%, transparent 100%);
}

.hero-equipment-art::before {
  position: absolute;
  right: -2%;
  bottom: 7%;
  left: 17%;
  z-index: -1;
  height: 34%;
  border-right: 1px solid rgba(var(--brand-neon-blue-rgb), 0.38);
  border-bottom: 1px solid rgba(var(--brand-neon-blue-rgb), 0.32);
  content: "";
}

.hero-equipment-art::after {
  position: absolute;
  right: 1%;
  bottom: 5%;
  width: 38%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--pink) 45%, var(--brand-neon-blue));
  box-shadow: 0 0 12px rgba(var(--brand-neon-blue-rgb), 0.62);
  content: "";
}

.hero-equipment-art img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
}

h1 .accent {
  color: transparent;
  background: linear-gradient(112deg, #f7fdff 5%, #7fdcff 43%, #0f83ff 92%);
  background-clip: text;
  -webkit-background-clip: text;
  filter: drop-shadow(0 0 22px rgba(19, 139, 255, 0.2));
}

.lead {
  max-width: 640px;
  margin: 30px 0 0;
  color: #a6b8c7;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.72;
}

.feature-rail {
  margin: 44px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
}

.feature-rail li {
  --card-accent: var(--blue);
  --card-accent-rgb: 22, 140, 255;
  position: relative;
  min-height: 60px;
  padding: 14px 14px 14px 48px;
  border: 1px solid rgba(var(--card-accent-rgb), 0.24);
  border-radius: 5px;
  background: linear-gradient(110deg, rgba(8, 24, 39, 0.72), rgba(3, 10, 18, 0.34));
  color: #c9d8e2;
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: inset 2px 0 0 rgba(var(--card-accent-rgb), 0.72), 0 0 22px rgba(var(--card-accent-rgb), 0.055);
}

.feature-rail li:nth-child(2) { --card-accent: var(--pink); --card-accent-rgb: var(--pink-rgb); }
.feature-rail li:nth-child(3) { --card-accent: var(--neon-green); --card-accent-rgb: var(--neon-green-rgb); }
.feature-rail li:nth-child(4) { --card-accent: var(--cyan); --card-accent-rgb: 118, 216, 255; }

.feature-rail li::before {
  position: absolute;
  top: 50%;
  left: 18px;
  width: 16px;
  height: 16px;
  border: 1px solid rgba(var(--card-accent-rgb), 0.72);
  border-radius: 50%;
  box-shadow: inset 0 0 8px rgba(var(--card-accent-rgb), 0.42), 0 0 12px rgba(var(--card-accent-rgb), 0.32);
  transform: translateY(-50%);
  content: "";
}

.feature-rail li::after {
  position: absolute;
  top: 50%;
  left: 24px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--card-accent);
  box-shadow: 0 0 9px var(--card-accent);
  transform: translateY(-50%);
  content: "";
}

.launch-panel {
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  min-height: 462px;
  padding: 48px 20px 38px 50px;
  overflow: visible;
}

.launch-panel::before {
  position: absolute;
  top: -0.22em;
  right: -0.02em;
  z-index: -1;
  color: transparent;
  font-family: var(--display);
  font-size: clamp(14rem, 24vw, 22rem);
  font-weight: 900;
  letter-spacing: -0.12em;
  line-height: 1;
  -webkit-text-stroke: 1px rgba(118, 216, 255, 0.1);
  filter: drop-shadow(0 0 28px rgba(22, 140, 255, 0.08));
  content: "01";
}

.launch-panel::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, var(--pink), rgba(var(--pink-rgb), 0.12), transparent) left top / 112px 1px no-repeat,
    linear-gradient(180deg, var(--pink), rgba(var(--pink-rgb), 0.08), transparent) left top / 1px 82px no-repeat,
    linear-gradient(270deg, var(--neon-green), rgba(var(--neon-green-rgb), 0.12), transparent) right bottom / 138px 1px no-repeat,
    linear-gradient(0deg, var(--neon-green), rgba(var(--neon-green-rgb), 0.08), transparent) right bottom / 1px 92px no-repeat,
    radial-gradient(ellipse at 55% 50%, rgba(1, 9, 17, 0.68), transparent 72%);
  opacity: 0.82;
  animation: hud-spectrum-breathe 6.5s ease-in-out infinite;
  content: "";
}

.panel-index {
  position: absolute;
  top: 8px;
  right: 4px;
  color: rgba(var(--pink-rgb), 0.58);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
}

.launch-kicker {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.launch-kicker::before {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 12px var(--pink), 0 0 26px rgba(var(--pink-rgb), 0.45);
  content: "";
}

.launch-date-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.launch-date-row > div:first-child {
  min-width: 0;
  flex: 1 1 auto;
}

.launch-date {
  margin: 30px 0 6px;
  font-family: var(--display);
  font-size: clamp(2.15rem, 10cqi, 4.1rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.94;
  text-transform: uppercase;
  white-space: nowrap;
}

.launch-year {
  margin: 0;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.28em;
}

.launch-runner-visual {
  position: relative;
  width: 106px;
  height: 88px;
  flex: 0 0 106px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.launch-runner-visual::before,
.launch-runner-visual::after {
  position: absolute;
  top: 70%;
  right: 4px;
  left: 3px;
  height: 1px;
  pointer-events: none;
  content: "";
}

.launch-runner-visual::before {
  background: linear-gradient(90deg, transparent, rgba(var(--brand-neon-blue-rgb), 0.58) 42%, transparent);
  box-shadow: 0 0 9px rgba(var(--brand-neon-blue-rgb), 0.32);
}

.launch-runner-visual::after {
  top: calc(70% + 6px);
  right: 20px;
  left: 23px;
  background: linear-gradient(90deg, transparent, rgba(var(--brand-neon-blue-rgb), 0.22), transparent);
}

.launch-runner-visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: 88px;
  height: 88px;
  object-fit: contain;
  opacity: 0.94;
  filter: none;
  mix-blend-mode: normal;
}

.countdown {
  position: relative;
  margin: 52px -8px 0;
  padding: 1px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.countdown::before,
.countdown::after {
  position: absolute;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
}

.countdown::before {
  top: 0;
  background: linear-gradient(90deg, var(--pink), rgba(22, 140, 255, 0.55) 56%, transparent 100%);
  box-shadow: 0 0 12px rgba(var(--pink-rgb), 0.2);
}

.countdown::after {
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(22, 140, 255, 0.48) 42%, var(--neon-green));
  box-shadow: 0 0 12px rgba(var(--neon-green-rgb), 0.16);
}

.countdown-unit {
  --unit-accent: var(--cyan);
  min-width: 0;
  position: relative;
  padding: 25px 8px 22px;
  text-align: center;
}

.countdown-unit:nth-child(2) { --unit-accent: var(--pink); }
.countdown-unit:nth-child(3) { --unit-accent: var(--neon-green); }
.countdown-unit:nth-child(4) { --unit-accent: var(--blue); }

.countdown-unit + .countdown-unit { border-left: 1px solid rgba(115, 207, 255, 0.16); }

.countdown-unit::before {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 18px;
  height: 2px;
  background: var(--unit-accent);
  box-shadow: 0 0 10px var(--unit-accent);
  transform: translateX(-50%);
  content: "";
}

.countdown-value {
  display: block;
  color: #f7fcff;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.75rem);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 0 20px rgba(70, 183, 255, 0.24);
}

.countdown-unit:nth-child(2) .countdown-value {
  color: #ffd9ef;
  text-shadow: 0 0 20px rgba(var(--pink-rgb), 0.34);
}

.countdown-unit:nth-child(3) .countdown-value {
  color: #d9ffec;
  text-shadow: 0 0 20px rgba(var(--neon-green-rgb), 0.3);
}

.countdown-label {
  display: block;
  margin-top: 9px;
  color: #667d8f;
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.is-android .countdown .countdown-value {
  font-family: "Roboto Condensed", "Roboto", sans-serif;
  font-weight: 650;
  font-synthesis: none;
  text-shadow: 0 0 15px rgba(70, 183, 255, 0.18);
}

.is-android .countdown .countdown-label {
  font-weight: 550;
  font-synthesis: none;
  text-shadow: none;
}

.launch-progress { margin-top: 34px; }

.launch-progress-copy {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #7890a1;
  font-family: var(--mono);
  font-size: 0.61rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.launch-progress-track {
  position: relative;
  height: 3px;
  margin-top: 13px;
  overflow: hidden;
  background: rgba(120, 200, 243, 0.12);
}

.launch-progress-track::after {
  position: absolute;
  top: 50%;
  left: var(--launch-progress, 0%);
  width: 7px;
  height: 7px;
  border: 1px solid var(--pink);
  background: #03101b;
  box-shadow: 0 0 12px var(--pink);
  transform: translate(-50%, -50%) rotate(45deg);
  content: "";
}

.launch-progress-track span {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--launch-progress, 0%);
  background: linear-gradient(90deg, var(--neon-green), var(--blue) 58%, var(--pink));
  box-shadow: 0 0 14px var(--blue), 0 0 24px rgba(var(--pink-rgb), 0.18);
  transition: width 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.launch-note {
  max-width: 420px;
  margin: 28px 0 0 34px;
  padding-left: 15px;
  border-left: 1px solid rgba(var(--neon-green-rgb), 0.46);
  color: #b7c9d5;
  font-size: 0.84rem;
  line-height: 1.6;
}

.footer {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(128, 213, 255, 0.1);
  color: #526879;
  font-family: var(--mono);
  font-size: 0.61rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer strong { color: #7891a3; font-weight: 500; }

.is-ready .hero-copy,
.is-ready .launch-panel {
  animation: reveal-up 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.is-ready .launch-panel { animation-delay: 130ms; }

@keyframes reveal-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes status-pulse {
  0%, 100% { opacity: 0.45; transform: scale(0.82); }
  50% { opacity: 1; transform: scale(1); }
}

@keyframes hud-spectrum-breathe {
  0%, 100% { opacity: 0.62; filter: brightness(0.9); }
  50% { opacity: 0.92; filter: brightness(1.12); }
}

@keyframes landing-audio-await {
  0%, 100% { box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24), 0 0 10px rgba(82, 244, 198, 0.06); }
  50% { box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24), 0 0 22px rgba(82, 244, 198, 0.2); }
}

@keyframes landing-entry-arrive {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes landing-entry-signal {
  0% { stroke-dashoffset: 540; opacity: 0.18; }
  70% { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0.82; }
}

@keyframes landing-entry-cursor-blink {
  0%,
  45% { opacity: 1; }
  46%,
  100% { opacity: 0; }
}

@media (max-width: 960px) {
  .site-shell { width: min(100% - 40px, 720px); }
  .hero { grid-template-columns: 1fr; gap: 52px; padding-top: 66px; }
  .launch-panel { min-height: 0; }
}

@media (max-width: 600px) {
  .landing-entry-content { width: min(100% - 28px, 520px); padding: 30px 0; }
  .landing-entry-logo { width: clamp(180px, 52vw, 220px); }
  .landing-entry-signal { width: min(360px, 82vw); height: 48px; margin-top: 24px; }
  .landing-entry-quote {
    height: 4.8em;
    min-height: 4.8em;
    margin: 30px 0 38px;
    padding: 0 10px;
    font-size: clamp(1.42rem, 6.7vw, 2.25rem);
    line-height: 1.16;
  }
  .landing-entry-quote p { right: 10px; left: 10px; }
  .landing-entry-button { min-height: 58px; font-size: 0.66rem; }
  .site-shell { width: min(100% - 28px, 520px); }
  .hero-photo-backdrop { background-position: 48% center; opacity: 0.46; }
  .brand-ekg-svg { width: 156%; height: 100%; left: 50%; transform: translateX(-44%); }
  .brand-ekg-backdrop { opacity: 0.9; }
  .topbar { min-height: 82px; }
  .brand { width: 174px; }
  .topbar-actions { gap: 7px; }
  .landing-audio-toggle { width: 42px; min-width: 42px; height: 42px; border-radius: 14px; }
  .hero { gap: 42px; padding: 58px 0 46px; }
  .eyebrow { margin-bottom: 20px; letter-spacing: 0.18em; }
  .eyebrow::before { width: 22px; margin-right: 10px; }
  h1 { font-size: clamp(2.65rem, 14vw, 4.4rem); line-height: 0.91; }
  .hero-title-stage { padding-bottom: 68px; }
  .hero-equipment-art {
    right: -8px;
    bottom: -30px;
    width: clamp(188px, 57vw, 228px);
    opacity: 0.78;
    transform: rotate(-1deg);
  }
  .lead { margin-top: 24px; font-size: 0.96rem; line-height: 1.65; }
  .feature-rail { margin-top: 18px; grid-template-columns: 1fr; }
  .launch-panel { padding: 38px 8px 30px 24px; }
  .launch-panel::before { right: 0; font-size: clamp(13rem, 80vw, 18rem); }
  .launch-date-row { gap: 8px; }
  .launch-date { font-size: clamp(2.15rem, 10cqi, 3.05rem); }
  .launch-runner-visual { width: 78px; height: 72px; flex-basis: 78px; }
  .launch-runner-visual img { width: 72px; height: 72px; }
  .countdown { margin: 38px 0 0 -12px; }
  .countdown-unit { padding: 23px 3px 19px; }
  .countdown-value { font-size: clamp(1.55rem, 8vw, 2.2rem); }
  .countdown-label { font-size: 0.5rem; letter-spacing: 0.08em; }
  .launch-note { margin-left: 12px; }
  .footer { min-height: 92px; padding: 22px 0; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; }
}

@media (max-width: 820px) {
  .is-ios-webkit h1 {
    font-family: "Avenir Next Condensed", "Helvetica Neue", sans-serif;
    font-weight: 600;
    font-synthesis: none;
    letter-spacing: -0.055em;
  }

  .is-ios-webkit .landing-entry-quote {
    font-family: "Avenir Next Condensed", "Helvetica Neue", sans-serif;
    font-weight: 600;
    font-synthesis: none;
  }
}

@media (max-height: 620px) and (orientation: landscape) {
  .landing-entry-content { width: min(860px, calc(100% - 40px)); padding: 20px 0; }
  .landing-entry-logo { width: 168px; }
  .landing-entry-signal { height: 34px; margin-top: 10px; }
  .landing-entry-quote { height: 3.45em; min-height: 3.45em; margin: 14px 0 18px; font-size: clamp(1.55rem, 4.2vw, 2.65rem); }
  .landing-entry-button { min-height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  .brand-ekg-afterglow { opacity: 0.28; }
  .brand-ekg-plasma-fog,
  .brand-ekg-plasma-body { display: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
