.crm-launch[hidden] {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 45%, #223a61 0%, #111d31 40%, #0b1321 76%);
  animation: crm-launch-exit 2s both;
}

.crm-launch-brand {
  display: grid;
  justify-items: center;
  gap: 15px;
  width: min(64vw, 260px);
  animation: crm-launch-brand-enter .56s cubic-bezier(.2,.7,.25,1) both;
}

.crm-launch-brand img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 6px 12px #070d18);
}

.crm-launch-caption {
  margin: 0;
  color: #c6d6ee;
  font: 600 clamp(11px, 3vw, 14px)/1.4 Inter, system-ui, sans-serif;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
}

.crm-launch-progress {
  display: block;
  width: 48%;
  height: 2px;
  margin-top: 7px;
  overflow: hidden;
  border-radius: 2px;
  background: #d3e2ff25;
}

.crm-launch-progress::after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2760e7, #8fd7ff);
  transform-origin: left center;
  animation: crm-launch-progress 1.55s .14s cubic-bezier(.2,.45,.4,1) both;
}

@keyframes crm-launch-brand-enter {
  from { opacity: 0; transform: translateY(8px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes crm-launch-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes crm-launch-exit {
  0%, 85% { opacity: 1; visibility: visible; }
  100% { opacity: 0; visibility: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  .crm-launch[hidden] { animation-timing-function: step-end; }
  .crm-launch-brand, .crm-launch-progress::after { animation: none; }
  .crm-launch-progress { display: none; }
}
