/* Waitlist homepage — builds on styles.css tokens. */
.wl {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}
.wl::before {
  content: ""; position: fixed; inset: auto; width: 900px; height: 900px;
  left: 50%; top: -420px; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(178, 239, 1, 0.14), transparent 62%);
  pointer-events: none; z-index: -1;
}
.wl__main {
  flex: 1;
  width: min(640px, 100% - 48px);
  margin: 0 auto;
  padding: clamp(56px, 11vh, 120px) 0 48px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.wl__logo { margin: 0 0 clamp(32px, 6vh, 56px); }
.wl__logo img { width: clamp(220px, 52vw, 340px); height: auto; }
.wl__promise {
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  font-weight: 800; line-height: 1.05; letter-spacing: -0.02em;
  margin: 0 0 24px;
}
.wl__text { color: #D4D4D4; font-size: 1.12rem; max-width: 34em; }
.wl__context { color: var(--muted); font-size: 1rem; margin-bottom: 36px; }

.wl__form {
  display: flex; gap: 10px; width: 100%; max-width: 480px;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 999px; padding: 6px;
}
.wl__form:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgba(178, 239, 1, 0.18); }
.wl__form input[type=email] {
  flex: 1; min-width: 0; background: transparent; border: 0; color: var(--text);
  font: 400 1.05rem/1 var(--font); padding: 0 18px;
}
.wl__form input[type=email]:focus { outline: none; }
.wl__form input[type=email]::placeholder { color: #737373; }
.wl__form input[aria-invalid="true"] { color: #FF8A8A; }
.wl__form .btn { white-space: nowrap; }
.wl__form .btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }
.wl__status { min-height: 1.6em; margin-top: 16px; font-size: 1rem; }
.wl__status.ok { color: var(--green); }
.wl__status.err { color: #FF8A8A; }

.wl__footer { text-align: center; padding: 24px; font-size: 0.9rem; }
.wl__footer p { margin: 0; }

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

@media (max-width: 520px) {
  .wl__form { flex-direction: column; border-radius: 24px; padding: 8px; }
  .wl__form input[type=email] { padding: 14px 14px; }
  .wl__form .btn { width: 100%; }
}
