/* Outspace v2.7 — keep the cinematic homepage hero readable in both themes.
   The hero intentionally remains a dark visual anchor; the theme toggle changes
   the surrounding site surfaces, not the hero's foreground/background contrast. */
.hero.section-dark {
  isolation: isolate;
  background: #09090d !important;
  color: #f7f6fa !important;
}
.hero.section-dark::after {
  z-index: 0;
  background:
    radial-gradient(ellipse at 78% 48%, rgba(111,82,255,.30) 0%, rgba(111,82,255,.08) 28%, transparent 48%),
    linear-gradient(90deg, #09090d 0%, rgba(9,9,13,.98) 43%, rgba(9,9,13,.82) 72%, rgba(9,9,13,.70) 100%) !important;
  opacity: 1 !important;
}
.hero.section-dark .hero-grid,
.hero.section-dark .hero-orb,
.hero.section-dark .orbit-stage,
.hero.section-dark .hero-side-label { z-index: 1; }
.hero.section-dark .hero-content { z-index: 3; color: #f7f6fa !important; }
.hero.section-dark .eyebrow,
.hero.section-dark h1 { color: #f7f6fa !important; }
.hero.section-dark .hero h1,
.hero.section-dark h1 { text-shadow: 0 1px 18px rgba(0,0,0,.12); }
.hero.section-dark .gradient-text {
  background: linear-gradient(105deg, #f4efff 3%, #b7a6ff 48%, #718cff 96%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
}
.hero.section-dark .hero-bottom p,
.hero.section-dark .hero-index,
.hero.section-dark .hero-side-label { color: #c1bfca !important; }
.hero.section-dark .circle-link {
  color: #f7f6fa !important;
  border-color: rgba(255,255,255,.48) !important;
  background: rgba(9,9,13,.22);
}
.hero.section-dark .circle-link:hover { background: #7855ff; }
.header { background: rgba(9,9,13,.94) !important; color: #f7f6fa !important; }
.header .brand img { filter: brightness(0) invert(1) !important; }
.header .nav, .header .nav a { color: #f7f6fa !important; }
.header .theme-toggle { color: #f7f6fa !important; }
@media (max-width: 1100px) {
  .hero.section-dark::after {
    background:
      radial-gradient(ellipse at 50% 76%, rgba(111,82,255,.26), transparent 43%),
      linear-gradient(180deg, #09090d 0%, rgba(9,9,13,.97) 55%, rgba(9,9,13,.84) 100%) !important;
  }
}
