/* Waitlist pages (/waitlist and /waitlist/confirm). Header and footer styles live in nav.css and footer.css. */
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('/assets/fonts/inter-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 800; font-display: swap;
  src: url('/assets/fonts/bricolage-800-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
:root {
  --purple-text: #6338E6; --purple: #7D52FF; --deep-purple: #693EEB; --green: #56D576; --green-text: #1D7A38;
  --bg: #F5FAFF; --surface: #FFFFFF; --border: #E7ECF3; --grey-cool: #535E6B; --grey-mid: #5F6A77; --ink: #0F1624;
  --error: #B3261E;
}
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--ink); line-height: 1.6; overflow-x: hidden; }
.headline { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; text-transform: uppercase; letter-spacing: -0.025em; line-height: 1.03; }

.wl { min-height: 100vh; padding: 108px 16px 64px; display: flex; justify-content: center; align-items: flex-start; }
.wl-card { width: 100%; max-width: 560px; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 28px 22px 26px; box-shadow: 0 10px 40px rgba(15, 22, 36, 0.06); }
.wl-eyebrow { color: var(--purple-text); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 10px; }
.wl-title { font-size: clamp(1.9rem, 6vw, 2.5rem); margin-bottom: 12px; }
.wl-sub { color: var(--grey-cool); font-size: 0.98rem; margin-bottom: 24px; }

.wl-progress { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; font-size: 0.8rem; color: var(--grey-cool); font-weight: 600; }
.wl-bar { flex: 1; height: 6px; background: var(--border); border-radius: 99px; overflow: hidden; }
.wl-bar > span { display: block; height: 100%; width: 0; background: var(--purple); border-radius: 99px; transition: width 0.25s ease; }

.wl-step { border: 0; min-width: 0; }
.wl-step legend, .wl-label { font-size: 1.15rem; font-weight: 700; line-height: 1.35; margin-bottom: 6px; padding: 0; }
.wl-hint { color: var(--grey-cool); font-size: 0.88rem; margin-bottom: 14px; }
.wl-options { display: grid; gap: 10px; margin-top: 14px; }
.wl-hint + .wl-options { margin-top: 0; }

.wl-opt { position: relative; display: block; }
.wl-opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.wl-opt span { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 2px solid var(--border); border-radius: 14px; background: var(--surface); font-weight: 600; font-size: 0.97rem; transition: border-color 0.15s, background 0.15s; }
.wl-opt span::before { content: ''; flex: none; width: 20px; height: 20px; border: 2px solid #8A94A1; border-radius: 50%; background: #fff; }
.wl-opt.is-check span::before { border-radius: 6px; }
.wl-opt:hover span { border-color: var(--purple); }
.wl-opt input:checked + span { border-color: var(--deep-purple); background: #F1ECFF; }
.wl-opt input:checked + span::before { border-color: var(--deep-purple); background: var(--deep-purple) radial-gradient(circle, #fff 0 38%, transparent 42%); }
.wl-opt.is-check input:checked + span::before { background: var(--deep-purple) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.wl-opt input:focus-visible + span { outline: 3px solid var(--purple); outline-offset: 2px; }
.wl-opt input:disabled + span { opacity: 0.5; cursor: not-allowed; }
.wl-opt input:disabled { cursor: not-allowed; }

.wl-field { display: block; margin-top: 14px; }
.wl-field > b { display: block; font-size: 0.9rem; margin-bottom: 6px; }
.wl-field input { width: 100%; font: inherit; font-size: 1rem; padding: 13px 16px; border: 2px solid var(--border); border-radius: 14px; background: #fff; color: var(--ink); }
.wl-field input:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(125, 82, 255, 0.2); }
.wl-field input[aria-invalid="true"] { border-color: var(--error); }
.wl-trap { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.wl-consent { margin-top: 16px; font-size: 0.8rem; color: var(--grey-mid); }
.wl-consent a, .wl-link { color: inherit; text-decoration: underline; }
.wl-error { margin-top: 12px; color: var(--error); font-size: 0.88rem; font-weight: 600; }

.wl-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; }
.wl-btn { font: inherit; font-weight: 700; font-size: 0.97rem; border: 0; border-radius: 999px; padding: 14px 28px; cursor: pointer; background: var(--deep-purple); color: #fff; transition: background 0.2s; text-decoration: none; display: inline-block; }
.wl-btn:hover { background: #5a31d6; }
.wl-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.wl-btn:focus-visible, .wl-back:focus-visible { outline: 3px solid var(--purple); outline-offset: 2px; }
.wl-back { font: inherit; font-weight: 600; background: none; border: 0; color: var(--grey-cool); padding: 12px 8px; cursor: pointer; text-decoration: underline; }
.wl-back[hidden] + .wl-btn, .wl-nav > .wl-btn:only-child { margin-left: auto; }

.wl-panel h2 { font-size: 1.6rem; margin-bottom: 12px; }
.wl-panel p { color: var(--grey-cool); margin-bottom: 14px; }
.wl-panel .wl-btn { margin-top: 8px; }
.wl-check { width: 56px; height: 56px; border-radius: 50%; background: #E6F8EC; color: var(--green-text); display: grid; place-items: center; font-size: 1.8rem; font-weight: 800; margin-bottom: 16px; }

@media (min-width: 640px) { .wl-card { padding: 40px 40px 34px; } .wl { padding-top: 124px; } }
@media (prefers-reduced-motion: reduce) { .wl-bar > span, .wl-opt span { transition: none; } }
.wl-optional { font-weight: 400; color: var(--grey-cool); }
.wl-field + .wl-hint { margin: 6px 0 0; }
#wl-code { text-transform: uppercase; }
