/* Boot splash — installed / cold open (shared by app + public shells).
   Uses the shared .logo-loading mark from logo.css (pulse + scan loop). */
.boot-splash {
  --logo-ink: #FFFFFF;
  --logo-accent: #9EC9CC;
  --logo-scan: #7EB8BC;
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background: #0F2C42;
  color: #FFFFFF;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 200ms;
}
.boot-splash.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 160ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s;
}
.boot-splash.is-done {
  opacity: 0;
  transition: opacity 380ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.boot-splash-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  opacity: 1;
  transform: none;
}
.boot-splash.is-active .boot-splash-stage {
  animation: boot-stage-in 560ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.boot-splash-loading {
  display: grid;
  place-items: center;
  /* Force light mark on navy even if parent tokens are overridden. */
  --logo-ink: #FFFFFF;
  --logo-accent: #9EC9CC;
  --logo-scan: #7EB8BC;
  color: #FFFFFF;
}
.boot-splash-loading .logo-icon {
  width: 5rem;
  height: 5rem;
}
.boot-splash-word {
  font-family: Nunito, "Nunito Sans", sans-serif;
  font-weight: 700;
  font-size: clamp(1.65rem, 5.5vw, 2.1rem);
  letter-spacing: 0.02em;
  color: #FFFFFF;
  line-height: 1;
}
@keyframes boot-stage-in {
  0% { opacity: 0; transform: scale(0.94); }
  100% { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .boot-splash.is-active .boot-splash-stage {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
