/* Boot-loader decorative styles. The critical positioning, background, and
   opacity-gating rules live inline in index.html so the overlay paints
   reliably on first frame even before this stylesheet arrives. */

.boot-loader__stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.boot-loader__mark {
  position: relative;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.boot-loader__pinwheel {
  width: 56px;
  height: 56px;
  display: block;
}

.boot-loader__ring {
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  border-radius: 50%;
  border: 3px solid rgba(51, 106, 255, 0.18);
  border-top-color: #336aff;
  animation: boot-loader-spin 1.1s linear infinite;
}

@media (prefers-color-scheme: dark) {
  .boot-loader__ring {
    border-color: rgba(90, 136, 255, 0.22);
    border-top-color: #5a88ff;
  }
}

.boot-loader__wordmark {
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.boot-loader__wordmark-accent {
  color: #336aff;
}

@media (prefers-color-scheme: dark) {
  .boot-loader__wordmark-accent {
    color: #5a88ff;
  }
}

.boot-loader__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes boot-loader-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .boot-loader__ring {
    animation: none;
  }
}
