/**
 * First-paint boot layer inside #root (replaced when React mounts).
 * Vector mark stays sharp on high-DPI; PWA OS splash uses PNGs from /apple-touch-icon.png.
 */
.bsp-boot-splash {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

.bsp-boot-splash__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(32vw, 140px);
  height: min(32vw, 140px);
  animation: bsp-boot-enter 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards,
    bsp-boot-settle 2.5s ease-in-out 0.75s infinite;
}

.bsp-boot-splash__mark {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 8px 24px rgba(2, 45, 84, 0.12));
}

@keyframes bsp-boot-enter {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes bsp-boot-settle {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.035);
    opacity: 0.94;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bsp-boot-splash__inner {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
