/* The waitlist: the page's one ask before launch, in the slot pricing held. One address field and a button
   on one line, the status under it, the privacy note last. assets/lp/waitlist.js runs it. */

.waitlist { padding: 16vh var(--edge); background: var(--ground); text-align: center; }
.waitlist .eyebrow { margin: 0; color: var(--brand); }
.waitlist h2 { margin: 18px auto 0; max-width: 18ch; font-size: clamp(36px, 4.4vw, 64px); line-height: 1.03; letter-spacing: -0.035em; font-weight: 700; }
.waitlist .lede { margin: 18px auto 0; max-width: 46ch; color: var(--muted); font-size: 18px; }

.waitlist-form {
  display: flex;
  gap: 8px;
  max-width: 520px;
  margin: 40px auto 0;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.waitlist-form:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(0, 61, 116, 0.12); }
.waitlist-form input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 18px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 500 16px var(--sans);
  outline: none;
}
.waitlist-form input::placeholder { color: #9a9ca1; }
.waitlist-form .btn { border: 0; cursor: pointer; font-family: var(--sans); }
.waitlist-form .btn:disabled { cursor: progress; opacity: 0.6; transform: none; }
/* Turnstile stays out of sight unless Cloudflare asks for a tap ("interaction-only"); then it shows under the field */
.waitlist-verify { display: flex; justify-content: center; max-width: 520px; margin: 0 auto; }
.waitlist-verify:has(iframe) { margin-top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.waitlist-status { min-height: 1.5em; margin: 16px auto 0; max-width: 52ch; font-size: 15px; }
.waitlist-status.is-error { color: #b3261e; }
.waitlist-status a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

.waitlist-done { max-width: 520px; margin: 40px auto 0; padding: 22px 26px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); font-size: 17px; }
.waitlist-done b { display: block; margin-bottom: 4px; font-size: 20px; letter-spacing: -0.01em; }
.waitlist-done span { color: var(--muted); overflow-wrap: anywhere; }

.waitlist-note { margin: 22px auto 0; max-width: 52ch; color: var(--muted); font-size: 13px; }
.waitlist-note a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 520px) {
  .waitlist-form { flex-direction: column; border-radius: 22px; }
  .waitlist-form .btn { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .waitlist-form { transition: none; }
}
.waitlist-done:focus { outline: none; }
