/* ===========================================================================
   The private-beta application (v5.83): waitlist.php only, loaded after
   app.css and site.css. Light like the rest of the public site (v5.84 —
   5.83 shipped it dark, reverted): every colour is a token from app.css, so
   this file is layout only. Prefix: every class here starts with `wl-`.
   =========================================================================== */

/* ---------- frame ---------- */
.wl-wrap { max-width: 640px; padding-top: 56px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 22px; }
.wl-intro { display: flex; flex-direction: column; gap: 12px; }
.wl-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--pos-ink); }
.wl-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pos); box-shadow: 0 0 0 4px var(--pos-weak); }
.wl-dot.ok { animation: none; }
.wl-h1 { font-family: 'Anton', var(--sans); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; line-height: 1.02; font-size: clamp(34px, 6vw, 46px); margin: 0; color: var(--text); }
.wl-p { color: var(--muted); font-size: 16px; line-height: 1.55; margin: 0; max-width: 56ch; text-wrap: pretty; }

/* ---------- the card ---------- */
.wl-card { box-sizing: border-box; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.wl-form { display: flex; flex-direction: column; gap: 16px; }
.wl-form > label { display: flex; flex-direction: column; gap: 6px; margin: 0; color: var(--text); font-size: 14px; }
.wl-label { display: flex; align-items: baseline; gap: 8px; font-weight: 600; }
.wl-req, .wl-opt { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; }
.wl-req { color: var(--pos-ink); }
.wl-opt { color: var(--muted); }
.wl-form input[type=text], .wl-form input[type=email], .wl-form select {
  width: 100%; box-sizing: border-box; background: var(--surface); color: var(--text);
  border: 1px solid var(--border-strong); border-radius: var(--radius-token); padding: 11px 12px; font-size: 15px;
}
.wl-form input::placeholder { color: var(--muted); opacity: .8; }
.wl-form input:focus, .wl-form select:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.wl-form label.has-error input, .wl-form label.has-error select { border-color: var(--neg); }
.wl-err { color: var(--neg); font-size: 13px; }
.wl-form .error { margin: 0; }

/* The honeypot: off-screen, never hidden from the DOM. */
.wl-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.wl-actions { display: flex; flex-direction: column; gap: 10px; padding-top: 6px; border-top: 1px solid var(--border); }
.wl-actions .btn-primary { padding: 13px 22px; font-size: 16px; font-weight: 600; white-space: nowrap; }
.wl-fine { font-size: 13px; color: var(--muted); }
.wl-below { margin: 0; }

/* ---------- the confirmation ---------- */
.wl-done { display: flex; flex-direction: column; gap: 14px; border-color: var(--pos); }
.wl-done .wl-h1 { font-size: clamp(30px, 5vw, 40px); }
.wl-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding-top: 8px; border-top: 1px solid var(--border); }

@media (min-width: 640px) {
  .wl-card { padding: 28px 32px; }
  .wl-actions { flex-direction: row; align-items: center; justify-content: space-between; }
}
