/* Use the page's existing HypeFlow tokens for the retained waitlist. */
.waitlist {
  width: min(640px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: var(--r-node);
  background: var(--node);
  color: var(--text);
  font: 16px/1.5 var(--font);
  overflow: auto;
  scrollbar-color: var(--line-2) var(--node);
}
.waitlist::backdrop { background: rgba(0, 0, 0, .76); }
.waitlist-shell { padding: clamp(24px, 5vw, 40px); }
.waitlist-top { display: flex; justify-content: flex-end; margin: -12px -12px 8px 0; }
.waitlist-close {
  display: grid; place-items: center; width: 44px; height: 44px;
  padding: 0; border: 0; border-radius: 8px;
  background: transparent; color: var(--text-2); cursor: pointer;
}
.waitlist-close:hover { background: var(--node-2); color: var(--text); }
.waitlist h2 { font-size: clamp(30px, 6vw, 40px); line-height: 1.1; }
.waitlist-intro { margin-top: 12px; color: var(--text-2); }
.waitlist form { margin-top: 28px; }
.waitlist-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.waitlist label { display: grid; align-content: start; gap: 8px; min-width: 0; font-size: 14px; }
.waitlist input, .waitlist select, .waitlist textarea {
  width: 100%; min-width: 0; min-height: 46px;
  padding: 11px 12px; border: 1px solid var(--line-2); border-radius: 8px;
  background: var(--well); color: var(--text); font: 16px/1.4 var(--font);
  caret-color: var(--lav);
}
.waitlist input::placeholder, .waitlist textarea::placeholder { color: var(--text-2); opacity: 1; }
.waitlist textarea { resize: vertical; }
.waitlist ::selection { background: var(--lav); color: var(--ink); }
.waitlist details { margin-top: 22px; }
.waitlist summary { width: fit-content; padding-block: 8px; color: var(--text-2); font-size: 14px; cursor: pointer; }
.waitlist summary:hover { color: var(--text); }
.waitlist details .waitlist-grid { margin-top: 16px; }
.waitlist-message { grid-column: 1 / -1; }
.waitlist-error { margin-top: 20px; color: #ffc1ba; overflow-wrap: anywhere; }
.waitlist-error a { text-underline-offset: 3px; }
.waitlist-submit { width: 100%; margin-top: 26px; min-height: 46px; }
.waitlist .btn:disabled { opacity: .65; cursor: wait; }
.waitlist-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.waitlist-success { padding-block: 8px 20px; }
.waitlist-success p { margin: 14px 0 26px; color: var(--text-2); }
button.gen { font-family: var(--font); }
@media (max-width: 480px) {
  .waitlist-grid { grid-template-columns: minmax(0, 1fr); }
  .nav .wrap { gap: 12px; }
  .nav .brand svg { width: min(34vw, 149px); height: auto; }
  .nav [data-waitlist] { flex-shrink: 0; min-height: 44px; }
}
