html,
body {
  min-height: 100%;
  min-height: 100dvh;
  background: #07080f;
}

.site-header {
  padding: max(14px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 12px
    max(16px, env(safe-area-inset-left));
}

.stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #07080f;
}

.stage-video {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
  filter: saturate(0.65) contrast(1.12) brightness(0.5);
}

.stage-stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.stage-nebula {
  position: absolute;
  inset: -15%;
  background:
    radial-gradient(ellipse at 18% 12%, rgba(139, 124, 255, 0.22), transparent 42%),
    radial-gradient(ellipse at 88% 72%, rgba(56, 189, 248, 0.12), transparent 48%);
}

.stage-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 10%, rgba(7, 8, 15, 0.55) 72%, #07080f 100%),
    linear-gradient(180deg, rgba(7, 8, 15, 0.2), rgba(7, 8, 15, 0.78));
}

.field-input {
  font-size: 16px;
}

.drop.is-over {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.dot.ready {
  background: #86efac;
  box-shadow: 0 0 0 6px rgba(134, 239, 172, 0.14);
}

.dot.error {
  background: #fda4af;
  box-shadow: 0 0 0 6px rgba(253, 164, 175, 0.14);
}

.btn-glow {
  box-shadow: 0 8px 28px rgba(215, 236, 255, 0.12);
}

[hidden] {
  display: none !important;
}

[data-reveal],
[data-reveal-delay],
[data-reveal-notes] {
  opacity: 0;
}

@media (min-width: 768px) {
  .stage-video.is-on {
    display: block;
  }
  .stage-nebula {
    animation: nebula-drift 28s ease-in-out infinite alternate;
  }
}

@media (max-width: 639px) {
  .stage-nebula {
    animation: none;
  }
}

@keyframes nebula-drift {
  from {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }
  to {
    transform: translate3d(2%, 2%, 0) scale(1.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  .stage-nebula,
  [data-reveal],
  [data-reveal-delay],
  [data-reveal-notes] {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
