@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url("/fonts/outfit-latin.woff2") format("woff2");
}
.brand-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  max-width: 100%;
  color: #111;
}
.brand-loader__track {
  display: block;
  position: relative;
  overflow: hidden;
  width: min(280px, 72vw);
  height: 4px;
  border-radius: 999px;
  background: #1111111f;
}
.brand-loader__track > span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: #111;
  transform-origin: left;
  animation: brand-progress 1.6s ease-in-out infinite;
}
@keyframes brand-progress {
  0% {
    transform: translateX(-100%) scaleX(0.3);
  }
  50% {
    transform: translateX(10%) scaleX(0.6);
  }
  100% {
    transform: translateX(100%) scaleX(0.3);
  }
}
.brand-loading-mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 1em;
  min-height: 1em;
  vertical-align: middle;
  animation: none !important;
}
.brand-loading-mark > span {
  display: block;
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 3px;
  min-width: 14px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.8;
}
.brand-loading-mark > span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #ff3b30;
  animation: brand-progress 1.3s ease-in-out infinite;
  transform-origin: left;
}
/* ==========================================================================
   Framer Splash Screen (Opening Link Entrance)
   Recreated from https://framer.com/m/Splash-Screen-rcb0iL.js
   Full-screen black curtain with smooth vertical logo entry and curtain slide-up
   ========================================================================== */
#startup-loader {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  align-items: center;
  justify-content: center;
  background: #000000;
  overflow: hidden;
  transform: translateY(0);
  will-change: transform;
  touch-action: none;
  overscroll-behavior: none;
}
html[data-booting] #startup-loader {
  display: flex;
}
/* Framer Curtain Slide-up Exit: cubic-bezier(0.64, 0, 0.78, 0) ("elegantExit") */
#startup-loader[data-leaving] {
  transform: translateY(-100%);
  transition: transform 450ms cubic-bezier(0.64, 0, 0.78, 0);
  pointer-events: none;
}

.framer-splash-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 24px;
}

/* Framer Logo Entry: elegant rise from y: 80px, opacity 0, scale 0.95 -> 1 */
.framer-splash-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  max-width: min(440px, 85vw);
  animation: framer-splash-entry 1100ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  will-change: transform, opacity;
}

@keyframes framer-splash-entry {
  0% {
    transform: translateY(80px) scale(0.95);
    opacity: 0;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* Logo exit on curtain trigger */
#startup-loader[data-leaving] .framer-splash-logo {
  opacity: 0;
  transform: translateY(-24px) scale(0.98);
  transition: opacity 280ms cubic-bezier(0.64, 0, 0.78, 0),
              transform 280ms cubic-bezier(0.64, 0, 0.78, 0);
}

.startup-logo {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  gap: 4px;
  color: #ffffff;
  font-family: Outfit, sans-serif;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.025em;
  user-select: none;
}

@media (max-width: 480px) {
  .startup-logo {
    font-size: 28px;
    gap: 3px;
  }
  .startup-logo img {
    width: 52px;
    height: 52px;
  }
}

.startup-logo img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(255, 59, 48, 0.35));
}

.startup-logo__word {
  margin-left: -2px;
  color: #ffffff;
}

.startup-logo__red {
  color: #ff3b30;
  text-shadow: 0 0 16px rgba(255, 59, 48, 0.4);
}

.startup-logo__beta {
  margin-left: 8px;
  padding: 3px 7px;
  border: 1px solid rgba(255, 59, 48, 0.45);
  border-radius: 6px;
  background: rgba(255, 59, 48, 0.12);
  color: #ff3b30;
  font: 900 11px/1.1 monospace;
  letter-spacing: 0.08em;
  box-shadow: 0 0 10px rgba(255, 59, 48, 0.2);
}

#startup-loader .brand-loader__track {
  display: block;
  position: relative;
  overflow: hidden;
  width: min(220px, 60vw);
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

#startup-loader .brand-loader__track > span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff3b30 0%, #ff6b60 100%);
  box-shadow: 0 0 12px rgba(255, 59, 48, 0.6);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 180ms linear;
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  .brand-loader__track > span,
  .brand-loading-mark > span::after {
    animation: none;
    transform: scaleX(0.65);
  }
  #startup-loader,
  #startup-loader .brand-loader__track > span,
  .framer-splash-logo {
    animation: none;
    transition: none;
    transform: none;
  }
}
