/* The onboarding layer scrolls internally; the scene never scrolls. */
.waitlist-dialog {
  --wf-navy: #08264d; --wf-cyan: #10b9e9; --wf-muted: #536b85;
  width: min(548px, calc(100vw - 32px)); max-height: calc(100dvh - 40px);
  margin: auto; padding: 0; color: var(--wf-navy); background: #f8fcff;
  border: 1px solid rgba(255,255,255,.94); border-radius: 30px;
  box-shadow: 0 30px 100px rgba(8,38,77,.24), 0 2px 8px rgba(8,38,77,.06);
  overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
  scrollbar-width: thin; scrollbar-color: #c0dbe9 transparent;
  font: inherit; -webkit-font-smoothing: antialiased;
}
.waitlist-dialog::backdrop { background: rgba(7,29,57,.28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.waitlist-dialog[open] { animation: wf-dialog-enter .34s cubic-bezier(.2,.85,.25,1) both; }
.waitlist-dialog[open]::backdrop { animation: wf-backdrop-enter .25s ease both; }
.waitlist-dialog *, .waitlist-dialog *::before, .waitlist-dialog *::after { box-sizing: border-box; }
.waitlist-dialog [hidden] { display: none !important; }
.waitlist-dialog button, .waitlist-dialog a { font: inherit; -webkit-tap-highlight-color: transparent; }
.waitlist-dialog button { cursor: pointer; }
.waitlist-dialog button:disabled { cursor: wait; }
.waitlist-dialog button:focus-visible, .waitlist-dialog a:focus-visible, .waitlist-dialog summary:focus-visible { outline: 3px solid #0787b2; outline-offset: 4px; }
.wf-shell { padding: 24px 32px 22px; background: radial-gradient(ellipse at 100% 0, rgba(16,185,233,.12), transparent 50%); }
.wf-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wf-eyebrow { display: flex; gap: 8px; align-items: center; font-size: 9px; font-weight: 750; letter-spacing: 1.7px; line-height: 1.5; color: #4c6681; }
.wf-brand-dot { width: 7px; height: 7px; background: var(--wf-cyan); border-radius: 50%; box-shadow: 0 0 0 4px rgba(16,185,233,.1); flex-shrink: 0; }
.wf-close { width: 44px; height: 44px; padding: 12px; flex-shrink: 0; display: grid; place-items: center; border: 1px solid rgba(87,130,165,.16); border-radius: 50%; background: rgba(255,255,255,.7); color: #506a83; transition: background .18s, transform .18s, color .18s; }
.wf-close:hover { background: #fff; color: var(--wf-navy); transform: rotate(6deg); }
.wf-close:active { transform: scale(.92); }
.wf-intro { padding: 18px 0 22px; }
.waitlist-dialog .wf-intro h2 { margin: 0; font-size: clamp(30px,5vw,40px); line-height: 1.12; font-weight: 850; letter-spacing: -1.7px; color: var(--wf-navy); }
.wf-intro h2:focus { outline: none; }
.wf-intro h2 span { color: #0598c5; }
.waitlist-dialog .wf-intro p { margin: 12px 0 0; color: var(--wf-muted); font-size: 13px; line-height: 1.65; font-weight: 450; }
.wf-progress { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 24px; padding: 0 0 20px; border-bottom: 1px solid #dfebf3; }
.wf-progress li { display: flex; align-items: center; gap: 6px; color: #688097; font-size: 10px; font-weight: 600; white-space: nowrap; }
.wf-step-number { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #eaf1f6; color: #698099; font-size: 9px; transition: color .25s, background .25s; }
.wf-progress li[data-active="true"] { color: var(--wf-navy); }
.wf-progress li[data-active="true"] .wf-step-number { color: #fff; background: var(--wf-navy); }
.wf-progress li[data-complete="true"] .wf-step-number { color: #006a87; background: #d6f5fc; }
.wf-content { min-width: 0; }
.wf-content > :first-child { margin-top: 0; }
.wf-welcome { padding: 22px 22px 24px; text-align: center; background: rgba(255,255,255,.72); border: 1px solid #e0edf4; border-radius: 20px; margin-bottom: 16px; }
.wf-welcome-icon { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 16px; background: #ecf7fc; color: var(--wf-navy); border: 1px solid #d5eaf3; border-radius: 17px; transform: rotate(-7deg); }
.wf-welcome-icon .wf-icon { width: 25px; height: 25px; transform: rotate(7deg); }
.waitlist-dialog h3 { margin: 0 0 9px; color: var(--wf-navy); font-size: 20px; font-weight: 750; line-height: 1.25; letter-spacing: -.6px; }
.wf-welcome p { max-width: 310px; margin: 0 auto; font-size: 12px; line-height: 1.7; color: var(--wf-muted); }
.wf-task-preview { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.wf-task-preview > span { display: inline-flex; align-items: center; gap: 5px; padding: 7px 10px; background: #f5f9fc; border: 1px solid #e1ecf3; border-radius: 20px; color: #395772; font-size: 10px; font-weight: 600; }
.wf-task-preview .wf-icon { width: 13px; height: 13px; }
.wf-button { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 52px; padding: 14px 20px; border: 1px solid transparent; border-radius: 15px; font-size: 13px !important; font-weight: 700 !important; text-decoration: none; line-height: 1.35; transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s, background .2s, opacity .2s; }
.wf-button-primary { background: var(--wf-navy); color: #fff; box-shadow: 0 6px 16px rgba(8,38,77,.12); }
.wf-button-primary .wf-icon { color: var(--wf-cyan); width: 18px; height: 18px; transition: transform .22s cubic-bezier(.2,.8,.2,1); }
.wf-button-primary:hover:not(:disabled) { background: #103963; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(8,38,77,.18); }
.wf-button-primary:hover:not(:disabled) .wf-icon { transform: translateX(3px); }
.wf-button:active:not(:disabled) { transform: scale(.98); }
.wf-button-secondary { color: #48637e; background: transparent; min-height: 44px; margin-top: 5px; font-size: 11px !important; }
.wf-button-secondary:hover { background: #edf5fa; }
.wf-button:disabled { opacity: .62; }
.wf-button[data-loading="true"] .wf-icon { display: none; }
.wf-button[data-loading="true"]::after { content: ''; width: 15px; height: 15px; border: 2px solid rgba(255,255,255,.3); border-top-color: currentColor; border-radius: 50%; animation: wf-spin .8s linear infinite; }
.wf-fine-print { margin: 12px 2px 0; color: #5c758d; font-size: 10px; line-height: 1.6; text-align: center; }
.wf-mobile-hint { margin: 0 2px 15px; color: var(--wf-muted); font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; }
.wf-browser-help { margin: 0 0 16px; padding: 0 14px; border: 1px solid #cfe7ef; border-radius: 14px; background: #edf8fc; }
.wf-browser-help summary { padding: 14px 0; min-height: 44px; cursor: pointer; font-size: 12px; font-weight: 650; color: #265772; }
.wf-browser-help p { margin: 0; color: var(--wf-muted); font-size: 11px; line-height: 1.65; }
.wf-browser-help .wf-button { margin: 8px 0; background: #fff; border-color: #cfe7ef; color: #176184; }
.wf-copy-address { width: 100%; margin: 0 0 14px; padding: 12px; border: 1px solid #8ccbdd; border-radius: 10px; background: #fff; color: var(--wf-navy); font: inherit; font-size: 16px; }
.wf-copy-address:focus-visible { outline: 3px solid #0787b2; outline-offset: 2px; }
.wf-account { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; padding: 10px 12px; border: 1px solid #d8eaf2; border-radius: 15px; background: #eef8fc; }
.wf-avatar { width: 36px; height: 36px; display: grid; place-items: center; flex-shrink: 0; background: linear-gradient(145deg,#15c3ef,#0083ba); color: #fff; font-weight: 800; font-size: 16px; border-radius: 50%; }
.wf-account-info { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.wf-small-label { color: #4f7790; font-size: 8px; font-weight: 650; letter-spacing: 1px; }
.wf-account-info strong { font-size: 12px; font-weight: 650; overflow: hidden; text-overflow: ellipsis; }
.wf-text-button { min-height: 44px; padding: 8px; background: transparent; border: 0; color: #4c6a82; font-size: 10px !important; text-decoration: underline; text-underline-offset: 3px; border-radius: 8px; transition: background .2s; }
.wf-text-button:hover { background: #dfedf5; }
.wf-text-button:disabled { opacity: .5; }
.wf-tasks { display: flex; flex-direction: column; gap: 9px; }
.wf-task { display: flex; align-items: center; gap: 12px; min-height: 81px; padding: 14px 12px; border: 1px solid #e0ebf2; border-radius: 16px; background: rgba(255,255,255,.82); transition: border-color .25s, background .25s; }
.wf-task-icon { display: grid; place-items: center; width: 35px; height: 35px; color: #337299; background: #eef7fc; border-radius: 11px; flex-shrink: 0; }
.wf-task-icon .wf-icon { width: 17px; height: 17px; }
.wf-task-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.wf-task-copy strong { font-size: 12px; font-weight: 700; line-height: 1.25; }
.wf-task-copy > span { font-size: 10px; color: var(--wf-muted); line-height: 1.45; overflow-wrap: anywhere; }
.wf-task-link { display: inline-flex; align-items: center; justify-content: center; gap: 5px; flex-shrink: 0; min-height: 44px; padding: 8px 9px; text-decoration: none; font-size: 10px !important; font-weight: 650 !important; color: #176184; border-radius: 10px; background: #f0f8fc; transition: background .18s, transform .18s; }
.wf-task-link .wf-icon { width: 12px; height: 12px; }
.wf-task-link:hover { background: #def2fa; transform: translateY(-1px); }
.wf-task-link:active { transform: scale(.96); }
.wf-task[data-verified="true"] { background: #f0fbfc; border-color: #ccebf0; }
.wf-task[data-verified="true"] .wf-task-icon { color: #068299; background: #d7f4f7; }
.wf-task[data-verified="true"] .wf-task-icon path { stroke-dasharray: 25; stroke-dashoffset: 0; animation: wf-check .4s ease-out both; }
.wf-verified { color: #137081; font-size: 10px; font-weight: 650; padding: 8px 9px; }
.wf-unavailable { color: #5d7389; font-size: 9px; max-width: 65px; text-align: right; }
.wf-task-summary { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 17px 0; color: #56748b; font-size: 10px; }
.wf-completion-track { display: block; width: 90px; height: 4px; background: #dfedf4; border-radius: 10px; overflow: hidden; }
.wf-completion-track > span { display: block; height: 100%; background: var(--wf-cyan); border-radius: inherit; transition: width .5s cubic-bezier(.2,.8,.2,1); }
.wf-notice { margin: 16px 0 0; padding: 11px 13px; border: 1px solid #cfe7ef; border-radius: 12px; background: #edf8fc; color: #265772; font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; }
.wf-notice[data-kind="error"] { background: #fff4ef; color: #964d2d; border-color: #f1dbcf; }
.wf-footer { margin-top: 20px; font-size: 10px; line-height: 1.55; color: #61798f; text-align: center; }
.wf-privacy-note { display: flex; justify-content: center; align-items: center; gap: 6px; }
.wf-privacy-note .wf-icon { width: 13px; height: 13px; flex-shrink: 0; }
.wf-privacy summary { min-height: 44px; padding: 14px 8px 8px; width: fit-content; margin: auto; cursor: pointer; color: #486a84; font-size: 10px; }
.wf-privacy p { margin: 5px 0 0; padding: 12px; border: 1px solid #e0ebf2; border-radius: 12px; font-size: 10px; line-height: 1.7; text-align: left; background: rgba(255,255,255,.5); }
.wf-loading { display: grid; place-items: center; gap: 13px; min-height: 230px; color: #597890; font-size: 12px; }
.wf-spinner { width: 30px; height: 30px; border: 2px solid #ddedf5; border-top-color: var(--wf-cyan); border-radius: 50%; animation: wf-spin .8s linear infinite; }
.wf-load-error { color: var(--wf-muted); font-size: 13px; text-align: center; padding: 30px 0; }
.wf-success { padding: 8px 14px 24px; text-align: center; }
.wf-success-mark { display: grid; place-items: center; position: relative; width: 94px; height: 94px; margin: 12px auto 26px; border-radius: 50%; color: #068aa9; background: linear-gradient(135deg,#e5faff,#c9f2fa); box-shadow: 0 0 0 10px rgba(213,245,252,.36), 0 0 0 23px rgba(226,247,251,.3); animation: wf-success-pop .5s cubic-bezier(.2,1.5,.4,1) both; }
.wf-success-mark > svg { width: 42px; height: 42px; stroke-width: 2; }
.wf-success-mark path { stroke-dasharray: 25; animation: wf-check .5s .2s ease-out both; }
.wf-success-mark i { position: absolute; width: 6px; height: 6px; background: #0db8de; border-radius: 2px; transform: rotate(25deg); animation: wf-confetti .6s .1s cubic-bezier(.2,.8,.2,1) both; }
.wf-success-mark i:nth-of-type(1) { top: 1px; left: -20px; }
.wf-success-mark i:nth-of-type(2) { top: 13px; right: -22px; border-radius: 50%; background: #9f97e8; }
.wf-success-mark i:nth-of-type(3) { bottom: -11px; left: -5px; width: 4px; background: #9f97e8; }
.wf-success-mark i:nth-of-type(4) { bottom: -7px; right: -7px; width: 4px; }
.wf-success p { max-width: 320px; margin: 12px auto 0; color: var(--wf-muted); font-size: 12px; line-height: 1.75; }
.waitlist-dialog[open] .wf-intro, .waitlist-dialog[open] .wf-progress, .waitlist-dialog[open] .wf-content { animation: wf-content-enter .4s cubic-bezier(.2,.8,.2,1) both; }
.waitlist-dialog[open] .wf-progress { animation-delay: .05s; }
.waitlist-dialog[open] .wf-content { animation-delay: .1s; }
.wf-task { animation: wf-content-enter .3s cubic-bezier(.2,.8,.2,1) both; }
.wf-task:nth-child(2) { animation-delay: .04s; }
.wf-task:nth-child(3) { animation-delay: .08s; }
@keyframes wf-dialog-enter { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes wf-backdrop-enter { from { opacity: 0; } to { opacity: 1; } }
@keyframes wf-content-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes wf-spin { to { transform: rotate(360deg); } }
@keyframes wf-check { from { stroke-dashoffset: 25; } to { stroke-dashoffset: 0; } }
@keyframes wf-success-pop { from { opacity: 0; transform: scale(.72); } to { opacity: 1; transform: scale(1); } }
@keyframes wf-confetti { from { opacity: 0; transform: translateY(10px) scale(.3); } to { opacity: 1; transform: rotate(25deg); } }
@media (max-width: 600px) {
  .waitlist-dialog { width: calc(100vw - 24px); max-height: calc(100dvh - 24px); border-radius: 24px; }
  .wf-shell { padding: 16px 20px 18px; }
  .wf-intro { padding: 15px 0 18px; }
  .wf-progress { margin-bottom: 18px; padding-bottom: 17px; gap: 5px; }
  .wf-progress li { font-size: 9px; gap: 5px; }
  .wf-step-number { width: 21px; height: 21px; font-size: 8px; }
  .wf-eyebrow { font-size: 8px; letter-spacing: 1.3px; }
  .wf-task { gap: 9px; padding: 10px; min-height: 76px; }
  .wf-task-icon { width: 30px; height: 30px; border-radius: 9px; }
  .wf-task-copy strong { font-size: 11px; }
  .wf-task-copy > span { font-size: 10px; }
  .wf-task-link { padding: 8px; font-size: 9px !important; gap: 3px; }
  .wf-welcome { padding: 21px 16px; }
  .waitlist-dialog[data-mobile="true"] .wf-task { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 10px; row-gap: 6px; padding: 12px; }
  .waitlist-dialog[data-mobile="true"] .wf-task-link { grid-column: 2; justify-self: start; padding: 9px 12px; font-size: 11px !important; }
  .waitlist-dialog[data-mobile="true"] .wf-verified { grid-column: 2; padding: 0; }
}
@media (max-width: 360px) {
  .wf-shell { padding-right: 15px; padding-left: 15px; }
  .wf-eyebrow { font-size: 7px; letter-spacing: 1px; }
  .wf-progress li { gap: 4px; font-size: 8px; }
  .wf-task { gap: 7px; padding-right: 7px; padding-left: 8px; }
  .wf-task-link .wf-icon { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .waitlist-dialog, .waitlist-dialog::backdrop, .waitlist-dialog *, .waitlist-dialog *::before, .waitlist-dialog *::after { animation: none !important; transition: none !important; }
  .wf-success-mark path { stroke-dashoffset: 0; }
}
