:root {
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: #f5f8fc;
  color: #0a2444;
  --logo-x: 0px;
  --logo-y: 0px;
  --logo-rotate-x: 0deg;
  --logo-rotate-y: 0deg;
  --cursor-scale: 1;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html,
body {
  width: 100%;
  min-width: 20rem;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: #f5f8fc;
}

body {
  min-height: 100svh;
  touch-action: none;
}

#background {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.stage {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 100svh;
  padding: 2rem;
  display: grid;
  place-content: center;
  justify-items: center;
  pointer-events: none;
}

.brand-lockup {
  width: min(31rem, 70vw);
  margin: 0;
  perspective: 70rem;
  transform: translate3d(var(--logo-x), var(--logo-y), 0)
    rotateX(var(--logo-rotate-x)) rotateY(var(--logo-rotate-y));
  transform-origin: center;
  transition: transform 180ms ease-out;
  animation: logo-arrive 900ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.brand-lockup img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 1.2rem 2rem rgba(10, 36, 68, 0.07));
}

.launch-status {
  width: min(15rem, 78vw);
  margin-top: 0.7rem;
  display: grid;
  grid-template-columns: minmax(2rem, 1fr) auto minmax(2rem, 1fr);
  align-items: center;
  gap: 0.85rem;
  animation: text-arrive 700ms ease-out 420ms both;
}

.launch-status p {
  margin: 0;
  color: #314c69;
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.4;
  white-space: nowrap;
}

.status-line {
  width: 100%;
  height: 1px;
  background: rgba(49, 76, 105, 0.3);
}

.status-line:last-child {
  background: rgba(47, 98, 244, 0.42);
}

.cursor-lens {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 8;
  width: 2.25rem;
  height: 2.25rem;
  display: none;
  border: 1px solid rgba(47, 98, 244, 0.64);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  box-shadow:
    0 0 0 0.18rem rgba(47, 98, 244, 0.035),
    inset 0 0 0 0.18rem rgba(255, 255, 255, 0.22);
  pointer-events: none;
  transform: translate3d(-10rem, -10rem, 0) scale(var(--cursor-scale));
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.cursor-lens::before,
.cursor-lens::after {
  position: absolute;
  left: 50%;
  top: 50%;
  content: "";
  background: rgba(47, 98, 244, 0.58);
  transform: translate(-50%, -50%);
}

.cursor-lens::before {
  width: 1px;
  height: 0.55rem;
}

.cursor-lens::after {
  width: 0.55rem;
  height: 1px;
}

.cursor-lens span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.15rem;
  height: 0.15rem;
  border: 1px solid #2f62f4;
  background: #f5f8fc;
  transform: translate(-50%, -50%) rotate(45deg);
}

.cursor-lens.is-pressed {
  --cursor-scale: 0.84;
  border-color: rgba(213, 66, 85, 0.72);
  box-shadow:
    0 0 0 0.32rem rgba(213, 66, 85, 0.045),
    inset 0 0 0 0.15rem rgba(255, 255, 255, 0.24);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (pointer: fine) {
  .has-pointer .cursor-lens {
    display: block;
  }
}

@media (max-width: 42rem) {
  .stage {
    padding: 1.25rem;
  }

  .brand-lockup {
    width: min(22rem, 84vw);
  }

  .launch-status {
    width: min(13rem, 72vw);
    margin-top: 0.55rem;
    gap: 0.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@keyframes logo-arrive {
  from {
    opacity: 0;
    transform: translate3d(var(--logo-x), calc(var(--logo-y) + 1rem), 0)
      rotateX(var(--logo-rotate-x)) rotateY(var(--logo-rotate-y)) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translate3d(var(--logo-x), var(--logo-y), 0)
      rotateX(var(--logo-rotate-x)) rotateY(var(--logo-rotate-y)) scale(1);
  }
}

@keyframes text-arrive {
  from {
    opacity: 0;
    transform: translateY(0.35rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
