/* Homepage-only overrides. The shared header, footer and service layouts use legal.css. */
body:has(.launch-hero) .site-header .brand .wordmark + small {
  margin-inline-start: 0;
  padding-inline-start: clamp(10px, 1.55vw, 48px);
}

.launch-orb {
  background: none;
  filter: drop-shadow(0 0 clamp(3px, .34vw, 14px) #06b9ee51)
    drop-shadow(0 0 clamp(5px, .6vw, 24px) #8264ff45);
}

.launch-orb::before {
  box-shadow: none;
  background: conic-gradient(from 220deg,
    #5c48b8, #21d4f1 11%, #b9f7ff 21%, #7183c9 34%, #7382c8 43%,
    #d4faff 49%, #45d9f4 57%, #5147a1 66%, #427eaf 78%, #5dcde4 90%, #5c48b8);
  mask-image: radial-gradient(circle closest-side, transparent 95%, #000 96% 99%, transparent 100%);
}

.launch-orb::after {
  position: absolute;
  inset: 3.9%;
  border-radius: inherit;
  border: clamp(1px, .085vw, 3px) solid #7ca9ec52;
  border-block-start-color: #b8edff91;
  border-inline-end-color: #58cced7a;
  content: "";
}

.launch-matte::before {
  /* Reuse text-free sky from the same artwork inside the existing emblem mask. */
  background:
    radial-gradient(ellipse at 74% 53%, #192c724a, #07173533 34%, #050e2552 52%),
    url('/assets/hero-desktop.webp') left 12% / 205% auto no-repeat;
}

.launch-symbol {
  filter: drop-shadow(0 0 clamp(3px, .38vw, 15px) #7745ed71)
    drop-shadow(0 .2vw clamp(4px, .7vw, 28px) #13bfff66);
}

@media (width > 900px) {
  body:has(.launch-hero) .site-header {
    background: linear-gradient(90deg, #050a18ed 6%, #050a18be 38%, #050a187a 74%, #050a18ae),
      linear-gradient(180deg, #050a18a8, #050a1819);
    border-block-end-color: #55aadd45;
  }

  body:has(.launch-hero) .site-header::after {
    background: linear-gradient(90deg, transparent, #4dcaee55 27%, #8475cb59 74%, transparent);
  }

  .launch-art { inset-block-start: 0; }
  .launch-scene { inset: 0; aspect-ratio: auto; }
  .launch-scene picture img {
    object-fit: contain;
    object-position: right center;
    mask-image: linear-gradient(90deg, transparent 23%, #000 50%);
  }
  .launch-scene :is(.launch-matte, .launch-orb, .launch-symbol, .launch-orbit) { display: none; }

  body:has(.launch-hero) .site-footer {
    background: linear-gradient(180deg, #050a18, #080f20 80%);
    border-block-start-color: #487ba054;
  }
}

@media (max-width: 900px) {
  body:has(.launch-hero) .site-header .brand .wordmark + small {
    padding-inline-start: clamp(8px, 2.6vw, 15px);
  }

  .launch-matte::before {
    background:
      radial-gradient(ellipse at 50% 55%, #1427645c, #050f2938 36%, #040f254d 56%),
      url('/assets/hero-mobile.webp') left top / 205% auto no-repeat;
  }
}
