/* Final Nexus Wave brand polish.
   Keep this file scoped: do not alter the desktop hero/world composition. */
:root {
  --brand-white: #f6f6f1;
}

.brand-logo-link {
  min-width: 0;
  border: 0;
  background: transparent;
}

.brand-logo-image {
  display: block;
  width: clamp(188px, 14vw, 226px);
  height: auto;
  max-height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 12px 26px rgba(0,0,0,.34)) drop-shadow(0 0 18px rgba(255,255,255,.055));
}

.footer-brand .brand-logo-image {
  width: clamp(200px, 18vw, 240px);
  max-height: 54px;
}

.nav-cta,
.mobile-menu-cta {
  border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,.2) !important;
  background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.026)) !important;
  color: var(--brand-white) !important;
  box-shadow: 0 18px 46px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.08), 0 0 34px rgba(255,255,255,.035) !important;
  backdrop-filter: blur(22px) saturate(130%) !important;
  -webkit-backdrop-filter: blur(22px) saturate(130%) !important;
}

.nav-cta:hover,
.mobile-menu-cta:hover {
  border-color: rgba(255,255,255,.34) !important;
  background: linear-gradient(145deg, rgba(255,255,255,.11), rgba(255,255,255,.04)) !important;
  color: #fff !important;
}

.button {
  border-radius: 999px !important;
  letter-spacing: .01em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
}

.button-primary {
  background: linear-gradient(180deg, #fff, #e9e9e3) !important;
  color: #070707 !important;
  border-color: rgba(255,255,255,.72) !important;
  box-shadow: 0 18px 54px rgba(255,255,255,.11), inset 0 1px 0 rgba(255,255,255,.9) !important;
}

.button-secondary {
  background: rgba(255,255,255,.035) !important;
  border-color: rgba(255,255,255,.16) !important;
  color: rgba(246,246,241,.92) !important;
}

.button-secondary:hover {
  background: rgba(255,255,255,.075) !important;
  border-color: rgba(255,255,255,.34) !important;
}

.cursor-glow {
  width: 120px !important;
  height: 120px !important;
  opacity: .09 !important;
  filter: blur(28px) !important;
  mix-blend-mode: screen;
}

@media (max-width: 1024px), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .cursor-glow { display: none !important; }
}

@media (max-width: 820px) {
  .brand-logo-image {
    width: clamp(158px, 43vw, 194px) !important;
    max-height: 44px !important;
  }

  .footer-brand .brand-logo-image {
    width: clamp(178px, 52vw, 216px) !important;
    max-height: 50px !important;
  }

  .hero {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
    padding-top: 128px !important;
    padding-bottom: 54px !important;
    gap: 24px !important;
  }

  .hero h1 {
    max-width: 100% !important;
    font-size: clamp(42px, 11.4vw, 64px) !important;
    line-height: 1.05 !important;
    letter-spacing: -.052em !important;
  }

  .hero-lede {
    max-width: 100% !important;
    font-size: clamp(15px, 4vw, 18px) !important;
    line-height: 1.68 !important;
  }

  .hero-note {
    display: none !important;
  }

  .hero-actions {
    grid-template-columns: 1fr 1fr !important;
  }

  .hero-system {
    margin-top: 4px !important;
  }

  .globe-stage.system-panel {
    min-height: 350px !important;
    padding: 16px !important;
  }

  .globe-sphere {
    width: min(68vw, 260px) !important;
    margin: 14px auto 6px !important;
  }

  .globe-caption {
    max-width: 100% !important;
    font-size: 18px !important;
  }

  .hero-system .result-card {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    max-width: none !important;
    margin: 12px 0 0 !important;
    transform: none !important;
  }
}

@media (max-width: 430px) {
  .hero {
    padding-top: 120px !important;
  }

  .hero h1 {
    font-size: clamp(39px, 11.8vw, 52px) !important;
  }

  .hero-actions {
    grid-template-columns: 1fr !important;
  }

  .globe-stage.system-panel {
    min-height: 320px !important;
  }

  .globe-sphere {
    width: min(70vw, 238px) !important;
  }
}

@media (max-width: 390px) {
  .brand-logo-image {
    width: 150px !important;
  }

  .hero h1 {
    font-size: 40px !important;
  }
}
