/* ══ Boot splash ══════════════════════════════════════════════════════
   The product mark with two expanding rings, the product name and an
   indeterminate rail. Linked from the <head> so it
   paints before the app bundle parses; src/lib/splash.ts retires it. The same
   classes render components/BootSplash.vue (sign-in hand-off, sign-out).
   Carries its own colour fallbacks (app.css may not have loaded yet).
   Classes only: no inline styles (CSP). */
.boot {
  --boot-brand: 91 61 245;
  --boot-ring: 0 179 164;
  --boot-canvas: 246 245 251;
  --boot-ink: 26 21 53;
  --boot-ink-3: 124 120 150;
  --boot-line: 236 233 244;
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background:
    radial-gradient(700px 420px at 30% 30%, rgb(var(--boot-brand) / 0.16), transparent 70%),
    radial-gradient(700px 420px at 72% 68%, rgb(var(--boot-ring) / 0.14), transparent 70%),
    rgb(var(--boot-canvas));
  opacity: 1;
  transition: opacity 420ms ease, visibility 420ms ease;
  font-family: 'Figtree Variable', ui-sans-serif, system-ui, sans-serif;
}
html.dark .boot {
  --boot-canvas: 15 14 23;
  --boot-ink: 238 236 247;
  --boot-ink-3: 146 142 170;
  --boot-line: 48 45 68;
}
@media (prefers-color-scheme: dark) {
  html:not(.light):not(.dark) .boot {
    --boot-canvas: 15 14 23;
    --boot-ink: 238 236 247;
    --boot-ink-3: 146 142 170;
    --boot-line: 48 45 68;
  }
}
.boot[data-leaving='true'] {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.boot-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 24px;
  text-align: center;
}
.boot-mark {
  position: relative;
  inline-size: 76px;
  block-size: 76px;
  display: grid;
  place-items: center;
}
.boot-mark img {
  position: relative;
  z-index: 1;
  inline-size: 76px;
  block-size: 76px;
  border-radius: 20px;
  box-shadow: 0 16px 36px rgb(var(--boot-brand) / 0.35);
}
.boot-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgb(var(--boot-brand) / 0.55);
  animation: boot-ping 2.4s cubic-bezier(0.2, 0.6, 0.3, 1) infinite;
}
.boot-ring + .boot-ring {
  animation-delay: 1.2s;
}
.boot-word {
  margin: 4px 0 0;
  color: rgb(var(--boot-ink));
  font-family: 'Bricolage Grotesque Variable', ui-sans-serif, system-ui, sans-serif;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.boot-word span {
  display: block;
  margin-top: 6px;
  color: rgb(var(--boot-ink-3));
  font-family: 'Figtree Variable', ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
}
.boot-bar {
  position: relative;
  inline-size: 160px;
  block-size: 4px;
  border-radius: 999px;
  overflow: hidden;
  background: rgb(var(--boot-line));
}
.boot-bar span {
  position: absolute;
  inset-block: 0;
  inline-size: 40%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgb(var(--boot-brand)), rgb(var(--boot-ring)));
  animation: boot-rail 1.25s ease-in-out infinite;
}
.boot-note {
  margin: 0;
  color: rgb(var(--boot-ink-3));
  font-size: 12px;
}
@keyframes boot-ping {
  0% {
    transform: scale(0.9);
    opacity: 0.9;
  }
  100% {
    transform: scale(2.3);
    opacity: 0;
  }
}
@keyframes boot-rail {
  0% {
    inset-inline-start: -40%;
  }
  100% {
    inset-inline-start: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .boot-ring,
  .boot-bar span {
    animation: none;
  }
}
