:root {
  --void: #010104;
  --deep: #050713;
  --panel: rgba(3, 6, 17, 0.78);
  --panel-strong: rgba(3, 5, 14, 0.94);
  --glass: rgba(34, 200, 255, 0.08);

  --text: #f8fbff;
  --muted: #aeb8ca;
  --silver: #eef3fb;
  --steel: #7f8da0;

  --cyan: #22c8ff;
  --violet: #b14cff;
  --digit-cyan: #00D9FF;
  --digit-blue: #3B82F6;
  --digit-violet: #8B5CF6;
  --digit-magenta: #D946EF;

  --line: rgba(34, 200, 255, 0.22);
  --line-bright: rgba(177, 76, 255, 0.55);
  --shadow: rgba(0, 0, 0, 0.55);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--void);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 18% 32%, rgba(34, 200, 255, 0.24), transparent 44%),
    radial-gradient(ellipse at 82% 30%, rgba(177, 76, 255, 0.28), transparent 46%),
    radial-gradient(circle at 68% 10%, rgba(248, 251, 255, 0.1), transparent 170px),
    radial-gradient(ellipse at 50% 92%, rgba(18, 82, 255, 0.18), transparent 48%),
    linear-gradient(180deg, #000000 0%, #050713 46%, #010104 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 5px);
  mix-blend-mode: soft-light;
  opacity: 0.42;
}

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

button {
  font: inherit;
}

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

.starfield {
  position: fixed;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
}

.world-grid {
  position: fixed;
  inset: auto -20% -24% -20%;
  z-index: -2;
  height: 58vh;
  pointer-events: none;
  background:
    linear-gradient(rgba(34, 200, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 200, 255, 0.12) 1px, transparent 1px);
  background-size: 72px 72px;
  transform: perspective(520px) rotateX(68deg);
  transform-origin: center bottom;
  opacity: 0.22;
  mask-image: linear-gradient(to top, black, transparent 78%);
  animation: gridAdvance 18s linear infinite;
}

.shell,
.nav-inner,
.section-header,
.fleet-grid,
.mission-grid,
.policy-grid,
.quality-layout,
.mission-report,
.contact-console {
  width: min(100%, var(--max-width));
  margin-inline: auto;
}

.section {
  padding: 86px 24px;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
}

.section-label,
.module-code,
.deck-topline span,
.readout-module span,
.telemetry-strip span,
.fleet-status span,
.contact-card span,
.policy-trigger span {
  margin: 0;
  color: var(--cyan);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section h2,
.contact-console h2 {
  margin: 0;
  color: #ffffff;
  font-size: 3rem;
  line-height: 1;
}

.section-note,
.contact-copy p {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.hud-panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)),
    var(--panel);
  box-shadow:
    0 24px 60px var(--shadow),
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    inset 0 24px 60px rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(20px) saturate(140%);
  overflow: hidden;
  transform-style: preserve-3d;
}

.hud-panel::before,
.hud-panel::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hud-panel::before {
  inset: 10px;
  border: 1px solid rgba(34, 200, 255, 0.14);
  border-radius: 6px;
}

.hud-panel::after {
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(34, 200, 255, 0.18), transparent),
    radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(255, 255, 255, 0.12), transparent 260px);
  opacity: 0.4;
  transform: translateX(-70%);
  animation: panelSweep 9s ease-in-out infinite;
}

[data-tilt] {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 220ms ease, border-color 220ms ease;
}

[data-tilt]:hover {
  border-color: rgba(34, 200, 255, 0.34);
}


/* Boot overlay */
.boot-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: radial-gradient(circle at 50% 40%, rgba(34, 200, 255, 0.12), transparent 320px), rgba(1, 1, 4, 0.92);
  transition: opacity 520ms ease, visibility 520ms ease;
}

.boot-overlay.is-complete {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.boot-console {
  display: grid;
  justify-items: center;
  gap: 12px;
  width: min(100%, 430px);
  padding: 32px;
  text-align: center;
}

.boot-console img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(34, 200, 255, 0.3));
}

.loading-logo {
  animation: loadingLogoPulse 1.5s ease-in-out infinite;
}

.boot-console img.is-missing {
  display: none;
}

.boot-console span,
.boot-console em {
  color: var(--cyan);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.boot-console strong {
  color: #ffffff;
  font-size: 1.35rem;
  letter-spacing: 0;
}

.boot-progress {
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-shadow: 0 0 16px rgba(34, 200, 255, 0.36);
  animation: bootFlicker 900ms steps(2, end) infinite;
}

/* Navigation */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(3, 5, 11, 0.68);
  backdrop-filter: blur(22px) saturate(150%);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 24px;
}

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

.brand-frame {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(220, 228, 238, 0.24);
  border-radius: 8px;
  color: var(--silver);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(34, 200, 255, 0.05));
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.05), 0 0 22px rgba(34, 200, 255, 0.1);
  font-size: 0.78rem;
  font-weight: 900;
}

.brand-frame img {
  position: absolute;
  width: 72%;
  height: 72%;
  object-fit: contain;
}

.nav-logo {
  filter: drop-shadow(0 0 10px rgba(34, 200, 255, 0.24));
}

.brand-frame img.is-missing {
  display: none;
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-copy strong {
  font-size: 0.95rem;
  font-weight: 900;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  min-height: 38px;
  padding: 10px 13px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--text);
  border-color: rgba(34, 200, 255, 0.28);
  background: rgba(34, 200, 255, 0.07);
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
  align-items: center;
  gap: 44px;
  min-height: calc(100vh - 72px);
  padding: 76px 24px 68px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 7% 24px auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 200, 255, 0.5), rgba(177, 76, 255, 0.34), transparent);
  opacity: 0.7;
}

.system-pill {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  margin: 0 0 20px;
  padding: 8px 12px;
  border: 1px solid rgba(34, 200, 255, 0.24);
  border-radius: 8px;
  color: var(--cyan);
  background: rgba(34, 200, 255, 0.06);
  box-shadow: 0 0 22px rgba(34, 200, 255, 0.1);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.signal-line {
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--violet));
  box-shadow: 0 0 12px var(--cyan);
  animation: signalPulse 1.8s ease-in-out infinite;
}

.hero-logo {
  position: relative;
  width: min(100%, 700px);
  margin: 0 0 18px;
  isolation: isolate;
}

.hero-logo::before {
  content: "";
  position: absolute;
  inset: 4% 2% -8%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 200, 255, 0.26), rgba(177, 76, 255, 0.14) 42%, transparent 72%);
  filter: blur(24px);
  opacity: 0.9;
  animation: logoAuraPulse 5.8s ease-in-out infinite;
}

.main-logo {
  display: block;
  width: min(100%, 700px);
  height: auto;
  border: 0;
  background: transparent;
  object-fit: contain;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse 78% 64% at 50% 50%, #000 62%, rgba(0, 0, 0, 0.88) 78%, transparent 100%);
  mask-image: radial-gradient(ellipse 78% 64% at 50% 50%, #000 62%, rgba(0, 0, 0, 0.88) 78%, transparent 100%);
  filter:
    drop-shadow(0 24px 42px rgba(0, 0, 0, 0.48))
    drop-shadow(0 0 26px rgba(34, 200, 255, 0.34))
    drop-shadow(0 0 42px rgba(177, 76, 255, 0.22));
  animation: heroLogoFloat 6.4s ease-in-out infinite;
}

.main-logo.is-missing {
  display: none;
}

.chrome-wordmark {
  position: relative;
  width: fit-content;
  margin: 0;
  color: transparent;
  background: linear-gradient(105deg, #ffffff 0%, #7a8595 22%, #f8fbff 38%, #aeb9c8 54%, #ffffff 66%, #79efff 82%, #c7b8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 7.4rem;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.82;
  text-transform: uppercase;
  filter: drop-shadow(0 0 24px rgba(34, 200, 255, 0.14));
}

.chrome-wordmark::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  color: transparent;
  background: linear-gradient(100deg, transparent 0 34%, rgba(255, 255, 255, 0.92) 45%, transparent 58%);
  -webkit-background-clip: text;
  background-clip: text;
  transform: translateX(-80%);
  animation: chromePass 5.8s ease-in-out infinite;
}

.chrome-wordmark::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 78%;
  color: rgba(220, 228, 238, 0.12);
  transform: scaleY(-0.34);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 70%);
}

.hero h2 {
  margin: 20px 0 0;
  color: #ffffff;
  font-size: 2.25rem;
  line-height: 1;
}

.hero-tagline {
  max-width: 660px;
  margin: 18px 0 0;
  color: #aeb8ca;
  font-size: 1.12rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hud-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid rgba(220, 228, 238, 0.18);
  border-radius: 8px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  font-weight: 850;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.hud-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: translateX(-120%);
  transition: transform 460ms ease;
}

.hud-button:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 200, 255, 0.58);
  box-shadow: 0 0 28px rgba(34, 200, 255, 0.14);
}

.hud-button:hover::before {
  transform: translateX(120%);
}

.hud-button.primary {
  border-color: rgba(34, 200, 255, 0.44);
  background: linear-gradient(135deg, rgba(34, 200, 255, 0.22), rgba(177, 76, 255, 0.16));
}

.hud-button.secondary {
  border-color: rgba(177, 76, 255, 0.3);
}

.telemetry-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 610px;
  margin-top: 34px;
}

.telemetry-strip div {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(220, 228, 238, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.telemetry-strip strong {
  display: block;
  margin-top: 7px;
  color: var(--cyan);
  font-size: 1.05rem;
}

.flight-deck {
  min-height: 620px;
  padding: 22px;
}

.deck-topline {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.deck-topline strong {
  color: var(--silver);
  font-size: 0.8rem;
}

.logo-chamber {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 205px;
  border: 1px solid rgba(220, 228, 238, 0.16);
  border-radius: 8px;
  background: transparent;
  overflow: hidden;
}

.logo-chamber img {
  position: relative;
  z-index: 2;
  width: 95%;
  max-height: 190px;
  object-fit: contain;
  filter: drop-shadow(0 0 28px rgba(34, 200, 255, 0.24));
}

.console-logo {
  animation: heroLogoFloat 7.2s ease-in-out infinite;
}

.logo-chamber img.is-missing {
  display: none;
}

.reflection-sweep {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.24) 46%, transparent 62%);
  transform: translateX(-120%);
  animation: chamberSweep 4.8s ease-in-out infinite;
}

.trajectory-display {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  height: 270px;
  margin: 18px 0;
  border: 1px solid rgba(34, 200, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    rgba(255, 255, 255, 0.025);
  background-size: 32px 32px;
}

.trajectory-ring {
  position: absolute;
  border: 1px solid rgba(34, 200, 255, 0.28);
  border-radius: 50%;
}

.ring-one {
  width: 220px;
  height: 220px;
  border-top-color: rgba(177, 76, 255, 0.62);
  animation: rotateClock 22s linear infinite;
}

.ring-two {
  width: 162px;
  height: 162px;
  border-right-color: rgba(177, 76, 255, 0.62);
  animation: rotateCounter 17s linear infinite;
}

.ring-three {
  width: 94px;
  height: 94px;
  border-bottom-color: rgba(34, 200, 255, 0.6);
  animation: rotateClock 11s linear infinite;
}

.trajectory-core {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border: 1px solid rgba(220, 228, 238, 0.22);
  border-radius: 8px;
  color: var(--silver);
  background: rgba(0, 0, 0, 0.32);
  box-shadow: inset 0 0 18px rgba(34, 200, 255, 0.08), 0 0 26px rgba(34, 200, 255, 0.14);
  font-weight: 950;
}

.trajectory-logo {
  width: 74%;
  height: 74%;
  object-fit: contain;
  filter:
    drop-shadow(0 0 10px rgba(34, 200, 255, 0.5))
    drop-shadow(0 0 18px rgba(177, 76, 255, 0.28));
}

.trajectory-logo.is-missing {
  display: none;
}

.orbit-tick {
  position: absolute;
  width: 30px;
  height: 2px;
  background: var(--violet);
  box-shadow: 0 0 14px rgba(177, 76, 255, 0.34);
}

.tick-one { transform: translate(92px, -80px) rotate(35deg); }
.tick-two { transform: translate(-112px, 42px) rotate(-18deg); background: var(--cyan); }
.tick-three { transform: translate(22px, 118px) rotate(82deg); background: var(--cyan); }

.deck-readouts {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.readout-module {
  padding: 16px;
  border: 1px solid rgba(220, 228, 238, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.readout-module strong {
  display: block;
  margin-top: 8px;
  color: var(--cyan);
  font-size: 1.15rem;
}


/* Fleet */
.fleet-section {
  position: relative;
  padding-top: 98px;
  background:
    radial-gradient(circle at 18% 14%, rgba(177, 76, 255, 0.1), transparent 360px),
    radial-gradient(circle at 82% 48%, rgba(34, 200, 255, 0.08), transparent 420px);
}

.fleet-section::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 32px;
  max-width: var(--max-width);
  height: 1px;
  margin-inline: auto;
  background: linear-gradient(90deg, transparent, rgba(34, 200, 255, 0.5), rgba(177, 76, 255, 0.42), transparent);
  opacity: 0.72;
}

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

.fleet-card {
  display: grid;
  grid-template-rows: 280px auto auto auto;
  min-height: 490px;
  padding: 16px;
  border-color: rgba(34, 200, 255, 0.2);
}

.fleet-card::before {
  border-color: rgba(177, 76, 255, 0.16);
}

.fleet-card:hover {
  border-color: rgba(34, 200, 255, 0.52);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.46),
    0 0 34px rgba(34, 200, 255, 0.14),
    inset 0 0 0 1px rgba(177, 76, 255, 0.1);
}

.fleet-image,
.fleet-card__image,
.fleet-card figure,
.fleet-media {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 280px;
  padding: 0;
  border: 1px solid rgba(220, 228, 238, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 50% 54%, rgba(34, 200, 255, 0.12), transparent 130px),
    rgba(255, 255, 255, 0.035);
  background-size: 28px 28px, 28px 28px, auto, auto;
  overflow: visible;
}

.fleet-image::before,
.fleet-image::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.fleet-image::before {
  width: 142px;
  height: 142px;
  border: 1px solid rgba(34, 200, 255, 0.22);
  border-radius: 50%;
  animation: rotateClock 20s linear infinite;
}

.fleet-image::after {
  inset: auto 18px 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--violet), transparent);
  box-shadow: 0 0 18px rgba(34, 200, 255, 0.26);
}

.fleet-image img,
.fleet-card__image img,
.fleet-card figure img,
.fleet-media img {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  max-width: 100%;
  max-height: 100%;
  filter: drop-shadow(0 20px 28px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 22px rgba(34, 200, 255, 0.18));
}

/* Slightly enlarge all Fleet images inside their frames */
.fleet-card img,
.fleet-image img,
.fleet-card__image img,
.fleet-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  transform-origin: center;
  display: block;
}

.fleet-image img.is-missing {
  display: none;
}

.fleet-copy {
  position: relative;
  z-index: 1;
  padding: 20px 4px 0;
}

.fleet-copy h3 {
  margin: 12px 0 10px;
  color: #ffffff;
  font-size: 1.35rem;
  line-height: 1.08;
}

.fleet-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.fleet-status {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 7px;
  align-self: end;
  margin-top: 18px;
  padding: 13px;
  border: 1px solid rgba(177, 76, 255, 0.24);
  border-radius: 8px;
  background: rgba(177, 76, 255, 0.055);
}

.fleet-status strong {
  color: var(--violet);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.fleet-button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 14px;
  border: 1px solid rgba(34, 200, 255, 0.38);
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(34, 200, 255, 0.12), rgba(177, 76, 255, 0.1));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025);
  font-weight: 850;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.fleet-button:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 200, 255, 0.76);
  box-shadow: 0 0 24px rgba(34, 200, 255, 0.18);
}

/* Missions */
.mission-grid,
.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mission-card {
  min-height: 230px;
  padding: 22px;
}

.mission-card h3 {
  position: relative;
  z-index: 1;
  margin: 34px 0 12px;
  color: #ffffff;
  font-size: 1.45rem;
  line-height: 1.08;
}

.mission-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.services-section,
.pricing-section {
  background: linear-gradient(90deg, rgba(34, 200, 255, 0.025), transparent 38%, rgba(177, 76, 255, 0.035));
}

.service-card,
.pricing-card {
  min-height: 0;
}

.service-list,
.pricing-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.service-list {
  list-style: none;
}

.service-list li,
.pricing-list div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(220, 228, 238, 0.1);
  color: var(--muted);
  line-height: 1.35;
}

.service-list-simple li {
  justify-content: flex-start;
}

.service-list strong,
.pricing-list dd {
  margin: 0;
  color: var(--cyan);
  font-weight: 900;
  white-space: nowrap;
  text-shadow: 0 0 14px rgba(34, 200, 255, 0.2);
}

.pricing-list dt {
  color: var(--muted);
}

.pricing-action {
  width: min(100%, var(--max-width));
  margin: 22px auto 0;
  display: flex;
  justify-content: center;
}

.module-meter {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.module-meter span {
  display: block;
  width: var(--fill);
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  box-shadow: 0 0 18px rgba(34, 200, 255, 0.28);
}

/* Policies */
.policies-section {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.025), transparent 36%, rgba(34, 200, 255, 0.035));
}

.policy-module {
  padding: 0;
}

.policy-trigger {
  position: relative;
  z-index: 2;
  display: grid;
  width: 100%;
  gap: 8px;
  min-height: 104px;
  padding: 20px;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.policy-trigger strong {
  color: #ffffff;
  font-size: 1.15rem;
}

.policy-trigger::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 20px;
  color: var(--violet);
  font-size: 1.25rem;
}

.policy-trigger[aria-expanded="true"]::after {
  content: "-";
}

.policy-module p {
  position: relative;
  z-index: 1;
  max-height: 0;
  margin: 0;
  padding: 0 20px;
  color: var(--muted);
  line-height: 1.55;
  overflow: hidden;
  transition: max-height 240ms ease, padding 240ms ease;
}

.policy-module.is-open p {
  max-height: 140px;
  padding: 0 20px 20px;
}

.faq-section .policy-module.is-open p {
  max-height: 280px;
}

/* Quality */
.quality-section {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.quality-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  align-items: stretch;
}

.quality-console {
  min-height: 430px;
  padding: 28px;
}

.quality-console h2 {
  margin: 0 0 16px;
}

.qa-radar {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  display: grid;
  place-items: center;
  height: 178px;
  border: 1px solid rgba(34, 200, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.qa-radar::before,
.qa-radar::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(34, 200, 255, 0.22);
  border-radius: 50%;
}

.qa-radar::before {
  width: 124px;
  height: 124px;
}

.qa-radar::after {
  width: 78px;
  height: 78px;
}

.qa-radar span {
  position: absolute;
  width: 2px;
  height: 86px;
  transform-origin: bottom center;
  background: linear-gradient(to top, rgba(34, 200, 255, 0), rgba(34, 200, 255, 0.85));
  animation: radarSweep 3.4s linear infinite;
}

.qa-radar strong {
  position: relative;
  z-index: 1;
  color: var(--cyan);
}

.qa-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: qa;
}

.qa-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 16px;
  border: 1px solid rgba(220, 228, 238, 0.13);
  border-radius: 8px;
  color: #f8fbff;
  background: linear-gradient(90deg, rgba(34, 200, 255, 0.08), rgba(255, 255, 255, 0.035));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

.qa-list span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(34, 200, 255, 0.36);
  border-radius: 8px;
  color: var(--cyan);
  font-weight: 900;
}


/* Mission reports */
.reports-section {
  position: relative;
  background:
    linear-gradient(90deg, rgba(34, 200, 255, 0.04), transparent 38%, rgba(177, 76, 255, 0.04)),
    rgba(255, 255, 255, 0.012);
}

.mission-report {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 22px;
  padding: 22px;
  border-color: rgba(34, 200, 255, 0.24);
}

.report-screen {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 300px;
  border: 1px solid rgba(220, 228, 238, 0.14);
  border-radius: 8px;
  background:
    radial-gradient(circle at center, rgba(34, 200, 255, 0.1), transparent 140px),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    rgba(255, 255, 255, 0.035);
  background-size: auto, 30px 30px, 30px 30px, auto;
  overflow: hidden;
}

.report-screen img {
  position: relative;
  z-index: 2;
  width: min(80%, 330px);
  max-height: 210px;
  object-fit: contain;
  filter: drop-shadow(0 24px 32px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 24px rgba(34, 200, 255, 0.18));
}

.report-screen img.is-missing {
  display: none;
}

.report-orbit {
  position: absolute;
  width: 214px;
  height: 214px;
  border: 1px solid rgba(34, 200, 255, 0.28);
  border-top-color: rgba(34, 200, 255, 0.65);
  border-radius: 50%;
  animation: rotateClock 18s linear infinite;
}

.report-data {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 20px;
  min-height: 300px;
  padding: 24px;
  border: 1px solid rgba(220, 228, 238, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.report-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(220, 228, 238, 0.12);
}

.report-header span {
  color: var(--cyan);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.report-header strong {
  color: var(--cyan);
  font-size: 0.84rem;
  text-transform: uppercase;
}

.report-fields {
  display: grid;
  gap: 16px;
  margin: 0;
}

.report-fields div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  align-items: baseline;
}

.report-fields dt {
  color: var(--muted);
  font-weight: 800;
}

.report-fields dd {
  margin: 0;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 900;
}

/* Contact */
.contact-section {
  padding-bottom: 104px;
}

.contact-console {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 22px;
  padding: 26px;
}

.contact-copy h2 {
  margin-bottom: 14px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-card {
  position: relative;
  display: block;
  min-height: 108px;
  padding: 18px;
  border: 1px solid rgba(220, 228, 238, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.contact-card::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 14px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  opacity: 0.75;
}

.contact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 200, 255, 0.45);
  background: rgba(34, 200, 255, 0.07);
}

.contact-card strong {
  display: block;
  margin-top: 10px;
  color: #ffffff;
  font-size: 1.05rem;
  overflow-wrap: anywhere;
}

.site-footer {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 30px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(220, 228, 238, 0.72);
  text-align: center;
  font-size: 0.88rem;
}

.footer-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(34, 200, 255, 0.26));
}

.footer-logo.is-missing {
  display: none;
}

.footer-status,
.footer-company {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-status strong {
  padding: 7px 10px;
  border: 1px solid rgba(34, 200, 255, 0.32);
  border-radius: 8px;
  color: var(--cyan);
  background: rgba(34, 200, 255, 0.06);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.footer-company {
  flex-direction: column;
  gap: 5px;
}

.footer-company strong {
  color: #ffffff;
  font-size: 1rem;
}

.footer-company small {
  color: rgba(220, 228, 238, 0.55);
}

/* Inventory modal */
.inventory-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(12px);
}

.inventory-modal.is-open {
  display: grid;
}

.inventory-box {
  width: min(900px, 100%);
  max-height: min(84vh, 760px);
  overflow: auto;
  border: 1px solid rgba(93, 231, 255, 0.45);
  border-radius: 14px;
  padding: 28px;
  background: linear-gradient(135deg, rgba(5, 8, 20, 0.96), rgba(20, 6, 35, 0.96));
  box-shadow: 0 0 40px rgba(93, 231, 255, 0.18), 0 0 60px rgba(143, 110, 255, 0.16);
}

.inventory-close {
  float: right;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(93, 231, 255, 0.4);
  border-radius: 8px;
  background: transparent;
  color: white;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

#inventoryTitle {
  margin: 8px 0 20px;
  color: var(--text);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1;
}

#inventoryContent {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.inventory-item {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(220, 228, 238, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
}

.inventory-item strong {
  color: var(--cyan);
}

.inventory-item h3 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 1.12rem;
}

.inventory-specs {
  display: grid;
  gap: 9px;
  margin: 0;
}

.inventory-specs div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
}

.inventory-specs dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.inventory-specs dd {
  margin: 0;
  color: var(--silver);
  font-weight: 800;
}

.inventory-empty {
  grid-column: 1 / -1;
  color: var(--muted);
}

.odometer-panel {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 205px;
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 18px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 30% 20%, rgba(34, 200, 255, 0.22), transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(177, 76, 255, 0.2), transparent 45%),
    linear-gradient(180deg, rgba(248, 251, 255, 0.055), rgba(34, 200, 255, 0.025)),
    var(--panel-strong);
  border: 1px solid rgba(34, 200, 255, 0.35);
  box-shadow:
    inset 0 0 30px rgba(34, 200, 255, 0.12),
    0 0 24px rgba(177, 76, 255, 0.18);
  overflow: hidden;
}

.odometer-panel::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(248, 251, 255, 0.08);
  border-radius: 6px;
  pointer-events: none;
}

.odometer-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
}

.digit-reel {
  position: relative;
  height: 70px;
  color: var(--digit-violet);
  overflow: hidden;
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(248, 251, 255, 0.08), rgba(34, 200, 255, 0.07) 38%, rgba(1, 1, 4, 0.92)),
    var(--void);
  border: 1px solid rgba(229, 232, 239, 0.22);
  box-shadow:
    inset 0 0 16px rgba(34, 200, 255, 0.16),
    inset 0 -18px 24px rgba(177, 76, 255, 0.08),
    0 0 18px rgba(34, 200, 255, 0.08);
  text-shadow:
    0 0 8px rgba(139, 92, 246, 0.75),
    0 0 18px rgba(139, 92, 246, 0.45),
    0 0 30px rgba(217, 70, 239, 0.28);
}

.odometer-row .digit-reel:nth-child(-n + 3) {
  color: var(--digit-cyan);
  text-shadow:
    0 0 8px rgba(0, 217, 255, 0.75),
    0 0 18px rgba(0, 217, 255, 0.45),
    0 0 30px rgba(0, 217, 255, 0.22);
}

.odometer-row .digit-reel:nth-child(n + 4):nth-child(-n + 5) {
  color: var(--digit-blue);
  text-shadow:
    0 0 8px rgba(59, 130, 246, 0.75),
    0 0 18px rgba(59, 130, 246, 0.45),
    0 0 30px rgba(59, 130, 246, 0.22);
}

.odometer-row .digit-reel:nth-child(n + 6) {
  color: var(--digit-violet);
  text-shadow:
    0 0 8px rgba(139, 92, 246, 0.75),
    0 0 18px rgba(139, 92, 246, 0.45),
    0 0 30px rgba(217, 70, 239, 0.28);
}

.digit-reel::before,
.digit-reel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.digit-reel::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 32%, transparent 68%, rgba(0, 0, 0, 0.38));
}

.digit-reel::after {
  display: none;
  opacity: 0;
  visibility: hidden;
  background: none;
  box-shadow: none;
}

.digit-strip {
  display: grid;
  transform: translateY(0);
}

.digit-strip.is-spinning {
  animation: rollDigits var(--digit-duration, 2.2s) cubic-bezier(0.12, 0.78, 0.18, 1) both;
}

.digit-strip span {
  height: 70px;
  display: grid;
  place-items: center;
  color: inherit;
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: currentColor;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  text-shadow: inherit;
  filter: drop-shadow(0 0 8px currentColor);
}

@keyframes rollDigits {
  0% {
    transform: translateY(0);
    filter: blur(0);
  }

  52% {
    filter: blur(1.25px);
  }

  84% {
    transform: translateY(calc(var(--digit-offset, 0) - 18px));
    filter: blur(0.2px);
  }

  100% {
    transform: translateY(var(--digit-offset, 0));
    filter: blur(0);
  }
}

/* Reveal states */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 680ms ease, transform 680ms ease;
}

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

/* Animations */
@keyframes gridAdvance {
  from { background-position: 0 0, 0 0; }
  to { background-position: 0 72px, 72px 0; }
}

@keyframes bootFlicker {
  0%, 100% { opacity: 0.68; }
  50% { opacity: 1; }
}

@keyframes loadingLogoPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 14px rgba(34, 200, 255, 0.24)); }
  50% { transform: scale(1.06); filter: drop-shadow(0 0 26px rgba(177, 76, 255, 0.36)); }
}

@keyframes heroLogoFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -10px, 0); }
}

@keyframes logoAuraPulse {
  0%, 100% { opacity: 0.62; transform: scale(0.98); }
  50% { opacity: 1; transform: scale(1.04); }
}

@keyframes panelSweep {
  0%, 64%, 100% { transform: translateX(-80%); opacity: 0; }
  72% { opacity: 0.45; }
  88% { transform: translateX(80%); opacity: 0; }
}

@keyframes signalPulse {
  0%, 100% { opacity: 0.45; transform: scaleX(0.75); }
  50% { opacity: 1; transform: scaleX(1); }
}

@keyframes chromePass {
  0%, 42%, 100% { transform: translateX(-85%); }
  62% { transform: translateX(85%); }
}

@keyframes chamberSweep {
  0%, 45%, 100% { transform: translateX(-120%); }
  68% { transform: translateX(120%); }
}

@keyframes rotateClock {
  to { transform: rotate(360deg); }
}

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

@keyframes radarSweep {
  to { transform: rotate(360deg); }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .digit-strip {
    animation: none !important;
    transform: translateY(var(--digit-offset, 0)) !important;
  }
}

/* Hero location line */
.hero-location {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

/* How It Works */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(100%, var(--max-width));
  margin-inline: auto;
}

.how-card {
  padding: 22px;
}

.how-card h3 {
  position: relative;
  z-index: 1;
  margin: 16px 0 10px;
  color: #ffffff;
  font-size: 1.35rem;
  line-height: 1.1;
}

.how-card p {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.6;
}

.how-card p:last-child {
  margin-bottom: 0;
}

.how-card .hud-button {
  position: relative;
  z-index: 1;
}

/* Pricing flyer (single, centered) */
.pricing-flyers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 22px;
}

@media (max-width: 880px) {
  .pricing-flyers {
    grid-template-columns: 1fr;
  }
}

/* Contact card body text */
.contact-card-text {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* Footer location line */
.footer-location {
  margin: 0;
  color: rgba(220, 228, 238, 0.55);
  font-size: 0.84rem;
}

/* Responsive */
@media (max-width: 1040px) {
  .fleet-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chrome-wordmark {
    font-size: 5.6rem;
  }

  .hero-logo,
  .main-logo {
    width: min(100%, 620px);
  }

  .hero,
  .quality-layout,
  .mission-report,
  .contact-console {
    grid-template-columns: 1fr;
  }

  .flight-deck {
    min-height: 560px;
  }
}

@media (max-width: 880px) {
  .nav-links {
    display: none;
  }

  .section-header {
    align-items: start;
    flex-direction: column;
  }

  .fleet-grid,
  .mission-grid,
  .policy-grid,
  .how-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .section,
  .hero,
  .nav-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
  }

  .chrome-wordmark {
    font-size: 3.15rem;
  }

  .hero-logo,
  .main-logo {
    width: min(100%, 360px);
  }

  .hero h2,
  .section h2,
  .contact-console h2 {
    font-size: 2rem;
  }

  .hero-actions,
  .hud-button {
    width: 100%;
  }

  .telemetry-strip,
  .deck-readouts,
  .fleet-grid,
  .mission-grid,
  .policy-grid,
  .how-grid,
  #inventoryContent,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .inventory-box {
    padding: 20px;
  }

  .inventory-specs div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .flight-deck {
    min-height: 520px;
    padding: 18px;
  }

  .logo-chamber {
    min-height: 178px;
  }

  .odometer-panel {
    gap: 10px;
    padding: 12px;
  }

  .odometer-row {
    gap: 5px;
  }

  .digit-strip span {
    font-size: 1.45rem;
  }

  .trajectory-display {
    height: 220px;
  }

  .ring-one {
    width: 178px;
    height: 178px;
  }

  .ring-two {
    width: 130px;
    height: 130px;
  }

  .quality-console,
  .report-data,
  .contact-console {
    padding: 20px;
  }

  .mission-report {
    padding: 16px;
  }

  .report-fields div,
  .report-header {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .report-header {
    display: grid;
  }

  .quality-console {
    min-height: 420px;
  }
}
