/* DeepSquare waitlist form (double opt-in), shared by the public teaser pages. 2026-09-25 */
.waitlist-form {
  width: 100%;
  max-width: 34rem;
  margin: 1.6rem 0 0;
  text-align: left;
}
.waitlist-form label {
  display: block;
  margin: 0 0 0.45rem;
  color: rgba(238, 244, 255, 0.92);
  font-size: 0.92rem;
  font-weight: 600;
}
.waitlist-row {
  display: flex;
  gap: 0.5rem;
}
.waitlist-form input[type="email"] {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 48px;
  padding: 0 0.95rem;
  border: 1px solid rgba(203, 184, 255, 0.45);
  border-radius: 999px;
  color: #fbf8ef;
  background: rgba(9, 8, 30, 0.55);
  font: inherit;
  font-size: 1rem;
}
.waitlist-form input[type="email"]::placeholder { color: rgba(234, 239, 255, 0.5); }
.waitlist-form input[type="email"]:focus-visible,
.waitlist-form button:focus-visible {
  outline: 2px solid #8bd2ff;
  outline-offset: 3px;
}
.waitlist-form button {
  flex: 0 0 auto;
  min-height: 48px;
  padding: 0 1.25rem;
  border: 0;
  border-radius: 999px;
  color: #0e1330;
  background: linear-gradient(105deg, #6ee6c1, #8bd2ff);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}
.waitlist-form button:disabled { cursor: wait; opacity: 0.7; }
.waitlist-consent {
  margin: 0.6rem 0 0;
  color: rgba(234, 239, 255, 0.66);
  font-size: 0.8rem;
  line-height: 1.5;
}
.waitlist-consent a { color: #8bd2ff; }
.waitlist-status {
  min-height: 1.2em;
  margin: 0.45rem 0 0;
  color: #6ee6c1;
  font-size: 0.86rem;
  line-height: 1.45;
}
.waitlist-status[data-state="invalid"],
.waitlist-status[data-state="failed"] { color: #ffb4a8; }
.waitlist-status[data-state="prototype"] { color: #f5d38a; }
/* Compact variant under a teaser card. */
.waitlist-form.is-compact { margin-top: 0.9rem; }
.waitlist-form.is-compact label { font-size: 0.82rem; font-weight: 500; color: rgba(234, 239, 255, 0.72); }
.waitlist-form.is-compact input[type="email"],
.waitlist-form.is-compact button { min-height: 44px; }
.waitlist-form.is-compact button { padding-inline: 1rem; font-size: 0.88rem; }
@media (max-width: 520px) {
  .waitlist-row { flex-direction: column; }
  .waitlist-form button { width: 100%; }
}
/* Author display rules must not defeat the hidden attribute (progressive disclosure). */
[data-waitlist-slot][hidden],
.waitlist-form[hidden],
[data-waitlist-toggle][hidden] { display: none !important; }
