:root {
  --bg: #000205;
  --blue: #1675ff;
  --blue-hot: #4b94ff;
  --blue-soft: rgba(32, 126, 255, 0.78);
  --text: #d9e8ff;
  --muted: #7f8aa3;
  --panel: rgba(0, 6, 18, 0.7);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 31% 8%, rgba(18, 101, 255, 0.18), transparent 20rem),
    radial-gradient(circle at 82% 78%, rgba(22, 117, 255, 0.12), transparent 18rem),
    #000;
  color: var(--text);
  font-family: "Orbitron", "Eurostile", "Rajdhani", "Arial Narrow", Arial, sans-serif;
  letter-spacing: 0;
}

button,
input {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: start center;
  padding: 0 0 2rem;
}

.dashboard-stage {
  position: relative;
  width: min(100vw, 1536px);
  max-width: 1536px;
  aspect-ratio: 3 / 2;
  filter: drop-shadow(0 0 18px rgba(22, 117, 255, 0.32));
}

.dashboard-art {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
}

.waitlist-form {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(12rem, 24rem) minmax(12rem, 20rem);
  gap: 1rem;
  width: min(92vw, 45rem);
  min-height: 3.5rem;
  margin: clamp(1rem, 2vw, 1.5rem) auto 0;
  padding: 0.45rem;
  border: 1px solid rgba(32, 126, 255, 0.42);
  border-radius: 8px;
  background: rgba(0, 4, 13, 0.86);
  box-shadow:
    inset 0 0 24px rgba(8, 38, 88, 0.58),
    0 0 24px rgba(22, 117, 255, 0.26);
}

.waitlist-form input,
.waitlist-form button {
  width: 100%;
  min-width: 0;
  min-height: 3rem;
  border: 1px solid rgba(32, 126, 255, 0.82);
  border-radius: 6px;
  background: rgba(0, 5, 14, 0.78);
  color: var(--text);
  outline: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow:
    inset 0 0 13px rgba(5, 31, 68, 0.55),
    0 0 12px rgba(22, 117, 255, 0.18);
}

.waitlist-form input {
  padding: 0 clamp(0.55rem, 1vw, 1.25rem);
  color: #cfe3ff;
  font-size: clamp(0.78rem, 1vw, 1rem);
}

.waitlist-form input::placeholder {
  color: rgba(205, 219, 246, 0.5);
}

.waitlist-form input:focus {
  border-color: #75adff;
  box-shadow:
    inset 0 0 17px rgba(7, 54, 122, 0.72),
    0 0 18px rgba(52, 139, 255, 0.52);
}

.waitlist-form button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75em;
  padding: 0 0.8rem;
  cursor: pointer;
  color: #4d94ff;
  font-size: clamp(0.78rem, 1vw, 1rem);
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 0 10px rgba(55, 142, 255, 0.98);
  clip-path: polygon(7% 0, 93% 0, 100% 20%, 100% 80%, 93% 100%, 7% 100%, 0 80%, 0 20%);
}

.waitlist-form button:hover,
.waitlist-form button:focus-visible {
  color: #d5e8ff;
  border-color: #8ab9ff;
  box-shadow:
    inset 0 0 22px rgba(14, 86, 192, 0.82),
    0 0 22px rgba(55, 142, 255, 0.65);
}

.waitlist-form.is-success input {
  border-color: rgba(82, 185, 255, 0.9);
}

.waitlist-form.is-success button {
  color: #cfeeff;
  border-color: rgba(82, 185, 255, 0.95);
}

.waitlist-form.is-error input {
  border-color: rgba(255, 91, 91, 0.9);
  box-shadow:
    inset 0 0 12px rgba(94, 16, 16, 0.52),
    0 0 14px rgba(255, 64, 64, 0.35);
}

.form-status {
  position: relative;
  z-index: 3;
  min-height: 1.4rem;
  margin: 0.85rem auto 0;
  width: min(92vw, 45rem);
  color: #9fc7ff;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(55, 142, 255, 0.85);
}

.mobile-summary {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

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

@media (max-aspect-ratio: 3 / 2) {
  .dashboard-stage {
    width: min(100vw, 1536px);
  }
}

@media (max-width: 760px) {
  .hero {
    align-content: start;
    min-height: 100vh;
    padding: 0;
  }

  .dashboard-stage {
    width: 100vw;
    margin-top: 0;
    aspect-ratio: auto;
  }

  .dashboard-art {
    height: auto;
    aspect-ratio: 3 / 2;
  }

  .waitlist-form {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    width: min(88vw, 28rem);
    height: auto;
    min-height: 0;
    margin: 1rem auto 0;
  }

  .waitlist-form input,
  .waitlist-form button {
    min-height: 3.25rem;
    font-size: 0.86rem;
  }

  .form-status {
    width: min(88vw, 28rem);
    margin: 0.85rem auto 0;
    font-size: 0.72rem;
  }

  .mobile-summary {
    position: static;
    width: min(88vw, 30rem);
    height: auto;
    margin: 1rem auto 2rem;
    overflow: visible;
    clip: auto;
    color: var(--muted);
    font-family: Arial, sans-serif;
    font-size: 0.95rem;
    line-height: 1.55;
    text-align: center;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .waitlist-form button {
    transition: color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
  }
}
