html,
body {
  min-height: 100%;
  margin: 0;
}

.web-launch-splash {
  display: grid;
  min-height: 100dvh;
  width: 100%;
  place-items: center;
  overflow: hidden;
  color: #153f4a;
  background:
    radial-gradient(ellipse 30rem 24rem at 50% 34%, rgb(251 70 83 / 13%), transparent 72%),
    radial-gradient(ellipse 36rem 24rem at 50% 112%, rgb(235 159 125 / 16%), transparent 70%),
    #f5f3eb;
}

#web-launch-splash {
  position: fixed;
  inset: 0;
  z-index: 10000;
  transition: opacity 420ms ease, visibility 420ms ease;
}

#web-launch-splash.is-dismissed {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.web-launch-splash--page {
  position: relative;
  padding: 1.5rem;
}

.web-launch-splash__content {
  display: flex;
  width: min(100%, 24rem);
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: web-launch-content-in 520ms ease-out both;
}

.web-launch-splash__mark {
  display: block;
  width: clamp(6.5rem, 23vw, 9rem);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  animation: web-launch-mark 2.8s ease-in-out 520ms infinite;
}

.web-launch-splash__wordmark {
  margin: 0.45rem 0 0;
  font-family: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.95rem, 5.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 1.1;
}

.web-launch-splash__wordmark span:last-child {
  color: #fb4653;
}

.web-launch-splash__spinner {
  width: 2.3rem;
  height: 2.3rem;
  margin-top: 1.75rem;
  border: 2px solid rgb(251 70 83 / 22%);
  border-top-color: #fb4653;
  border-radius: 50%;
  animation: web-launch-spin 850ms linear infinite;
}

.web-launch-splash__label {
  margin: 0.8rem 0 0;
  color: #536c72;
  font: 600 0.82rem/1.5 Inter, ui-sans-serif, system-ui, sans-serif;
}

.web-launch-splash__tagline {
  margin: 0.45rem 0 0;
  color: #7b8985;
  font: 500 0.7rem/1.5 Inter, ui-sans-serif, system-ui, sans-serif;
}

html.dark .web-launch-splash {
  color: #f5f7fa;
  background:
    radial-gradient(ellipse 30rem 24rem at 50% 34%, rgb(251 70 83 / 14%), transparent 72%),
    radial-gradient(ellipse 36rem 24rem at 50% 112%, rgb(63 112 130 / 22%), transparent 70%),
    #142b3a;
}

html.dark .web-launch-splash__label {
  color: #cad4d6;
}

html.dark .web-launch-splash__tagline {
  color: #9eb2b8;
}

@keyframes web-launch-spin {
  to { transform: rotate(360deg); }
}

@keyframes web-launch-mark {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes web-launch-content-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .web-launch-splash,
  .web-launch-splash *,
  #web-launch-splash {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
