html,
body,
#root {
  min-height: 100%;
  margin: 0;
  background: #F8F7F4;
}

html[data-lalo-static-scope="app"],
html[data-lalo-static-scope="app"] body,
html[data-lalo-static-scope="app"] #root {
  background: #4C1D95;
}

.lalo-static-startup {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 1.5rem;
  color: white;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(to bottom right, #4C1D95, #6D28D9, #7C3AED);
}

.lalo-loading-shell {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 1.5rem;
  color: white;
  background: linear-gradient(to bottom right, #4C1D95, #6D28D9, #7C3AED);
}

.lalo-loading-presentation {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transform: translateY(-22px);
}

.lalo-loading-launch {
  width: 180px;
}

.lalo-loading-visual {
  position: relative;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.lalo-loading-dragonfly {
  display: block;
  width: 180px;
  height: 180px;
}

.lalo-loading-bob,
.lalo-loading-sprite {
  display: block;
  width: 100%;
  height: 100%;
}

.lalo-loading-bob {
  animation: lalo-loading-bob 1.4s ease-in-out infinite alternate;
}

.lalo-loading-sprite {
  background: url('/lalo-motion/lalo-handoff-hover-light.webp') 0 0 / 600% 100% no-repeat;
  animation: lalo-loading-flap 480ms steps(6) infinite;
}

.lalo-loading-copy {
  color: white;
}

.lalo-loading-wordmark {
  margin: 0 0 10px;
  font-family: Nunito, ui-sans-serif, system-ui, sans-serif;
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
}

.lalo-loading-label {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

.lalo-loading-verification {
  width: min(100%, 320px);
}

.lalo-loading-verification .lalo-loading-visual {
  width: 180px;
  height: 180px;
}

.lalo-loading-shield {
  position: absolute;
  inset: 5px auto auto 14px;
  width: 152px;
  height: 170px;
  color: #cebbf1;
}

.lalo-loading-verification .lalo-loading-dragonfly {
  position: relative;
  width: 128px;
  height: 128px;
  top: -8px;
}

.lalo-loading-verification .lalo-loading-copy {
  margin-top: 18px;
}

.lalo-loading-verification h2 {
  margin: 0;
  color: white;
  font-family: Outfit, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.25;
}

.lalo-loading-verification p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.85);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
}

.lalo-static-startup-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.lalo-static-startup-icon-wrap {
  display: flex;
  width: 4rem;
  height: 4rem;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 1.35rem;
  background: white;
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.22);
  outline: 1px solid rgba(255, 255, 255, 0.45);
}

.lalo-static-startup-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lalo-static-startup-title {
  margin: 0;
  color: inherit;
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1;
  font-family: Nunito, ui-sans-serif, system-ui, sans-serif;
}

.lalo-static-startup-copy {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.lalo-static-startup-retry {
  min-width: 7rem;
  min-height: 44px;
  padding: 0.7rem 1.25rem;
  border: 0;
  border-radius: 0.75rem;
  background: white;
  color: #4C1D95;
  font: 800 1rem/1.2 Inter, ui-sans-serif, system-ui, sans-serif;
  cursor: pointer;
}

.lalo-static-startup-recovery .lalo-static-startup-copy {
  max-width: 24rem;
  margin-top: 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: normal;
  text-transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .lalo-loading-bob,
  .lalo-loading-sprite {
    animation: none;
  }
}

@keyframes lalo-loading-flap {
  to {
    background-position: 120% 0;
  }
}

@keyframes lalo-loading-bob {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-6px);
  }
}
