/* splash.css — homepage intro: black screen, then the Individual / Enterprise choice */
/* Paired with splash.js; the html element gets splash-open or Splash-Done before paint */

.Splash {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 1.6rem;
  background: #000;
  text-align: center;
  transition: opacity 0.5s ease;
}

.Splash-Done .Splash {
  display: none;
}

.Splash.is-leaving {
  opacity: 0;
  pointer-events: none;
}

.Splash-Them,
.Splash-Lead {
  margin: 0;
  color: #fff;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: clamp(1rem, 2.2vw, 1.7rem);
  letter-spacing: 0.22em;
  opacity: 0;
}

.Splash-Them { animation: SplashIn 0.8s ease 0.4s forwards; }
.Splash-Lead { animation: SplashIn 0.8s ease 2.2s forwards; }

.Splash-Logo {
  width: clamp(220px, 34vw, 520px);
  height: auto;
  opacity: 0;
  animation: SplashIn 0.8s ease 1.4s forwards;
}

.Splash-Choice {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-top: 1.4rem;
  opacity: 0;
  animation: SplashIn 0.8s ease 3s forwards;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: clamp(0.85rem, 1.5vw, 1.1rem);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.Splash-Choice button {
  background: none;
  border: 0;
  padding: 0.6rem 0.2rem;
  color: #fff;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: border-color 0.25s ease;
}

.Splash-Choice button[data-path="individual"]:hover,
.Splash-Choice button[data-path="individual"]:focus-visible { border-color: #FB9210; outline: none; }
.Splash-Choice button[data-path="enterprise"]:hover,
.Splash-Choice button[data-path="enterprise"]:focus-visible { border-color: #0749DC; outline: none; }

html.splash-open { overflow: hidden; }

@keyframes SplashIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .Splash-Them, .Splash-Logo, .Splash-Lead, .Splash-Choice { animation: none; opacity: 1; }
}
