.waitlist-modal{width:min(760px,calc(100vw - 40px));height:min(820px,calc(100vh - 56px));height:min(820px,calc(100dvh - 56px));max-width:none;max-height:none;padding:0;overflow:hidden;border:1px solid #e6deeb;border-radius:22px;background:#f7f4f9;color:#332b3e;box-shadow:0 28px 100px #24193235;grid-template-rows:68px minmax(0,1fr)}
.waitlist-modal[open]{display:grid;animation:waitlist-enter .22s cubic-bezier(.2,.7,.2,1) both}
.waitlist-modal::backdrop{background:rgba(27,21,36,.4);backdrop-filter:blur(4px);animation:waitlist-backdrop .22s ease-out both}
.waitlist-modal__bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 20px;background:#fffdfd;border-bottom:1px solid #e8e1eb}
.waitlist-modal__identity{display:flex;align-items:center;gap:11px;min-width:0}
.waitlist-modal__mark{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#f0ebf6;color:#6c54aa}
.waitlist-modal__mark img{display:block;width:26px;height:26px;object-fit:contain}
.waitlist-modal__identity>span:last-child{display:grid;gap:2px}
.waitlist-modal__identity strong{font:600 13px/1.25 Manrope,Arial,sans-serif;color:#372d43}
.waitlist-modal__identity small{font:10px/1.25 'DM Sans',Arial,sans-serif;color:#6f6579}
.waitlist-modal__back{display:flex;align-items:center;gap:8px;min-height:42px;padding:0 12px;border:1px solid #e5ddea;border-radius:9px;background:#fff;color:#665476;font:600 11px/1 Manrope,Arial,sans-serif;cursor:pointer}
.waitlist-modal__back:hover{background:#f6f2f9;border-color:#d4c6e1}
.waitlist-modal__back>span{font-size:16px}
.waitlist-modal__back kbd{margin-left:5px;padding:4px 6px;border:1px solid #e8e1eb;border-radius:5px;background:#f8f6f9;color:#6f6579;font:10px/1 'DM Sans',Arial,sans-serif}
.waitlist-modal__back:focus-visible{outline:2px solid #765aa9;outline-offset:3px}
.waitlist-modal__frame{width:100%;height:100%;border:0;background:#f7f4f9}
.waitlist-modal__back:active{transform:translateY(1px)}
@keyframes waitlist-enter{from{opacity:0;transform:translateY(9px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes waitlist-backdrop{from{background:rgba(27,21,36,0)}to{background:rgba(27,21,36,.4)}}
.signup-page.is-embedded{min-height:100%;background:#f7f4f9}
.signup-page.is-embedded .signup-nav,.signup-page.is-embedded .join-story,.signup-page.is-embedded .signup-footer{display:none!important}
.signup-page.is-embedded #main.join-main{display:block;width:min(720px,100%);margin:0 auto;padding:16px 18px 24px}
.signup-page.is-embedded .join-card{padding:26px 28px;border-radius:16px;box-shadow:0 12px 42px #41324a10}
.signup-page.is-embedded .join-card-head{margin-bottom:14px}
.signup-page.is-embedded .join-card h2{font-size:29px}
.signup-page.is-embedded .join-field,.signup-page.is-embedded .join-fieldset{margin:14px 0}
.signup-page.is-embedded .join-privacy{margin-block:12px}
.signup-page.is-embedded .join-privacy-body{max-height:155px}
.signup-page.is-embedded .join-submit{min-height:56px}
@media(max-width:640px){.waitlist-modal{inset-block-start:auto;inset-block-end:max(8px,env(safe-area-inset-bottom));margin-inline:auto;width:calc(100vw - 16px);height:min(88vh,820px);height:min(88dvh,820px);border-radius:18px}.waitlist-modal__bar{min-height:60px;padding:0 14px}.waitlist-modal__identity{gap:8px}.waitlist-modal__mark{width:30px;height:30px;border-radius:9px}.waitlist-modal__identity strong{font-size:12px}.waitlist-modal__identity small{font-size:9px}.waitlist-modal__back{min-height:40px;padding:0 9px;font-size:10px}.waitlist-modal__back kbd{display:none}.signup-page.is-embedded #main.join-main{padding:11px 12px 18px}.signup-page.is-embedded .join-card{padding:20px 16px;border-radius:12px}.signup-page.is-embedded .join-card h2{font-size:26px}.signup-page.is-embedded .join-choice-grid{grid-template-columns:1fr}.signup-page.is-embedded .join-choice{min-height:55px}.signup-page.is-embedded .join-privacy-body{max-height:125px}}
@media(max-height:560px) and (max-width:640px){.waitlist-modal{inset-block-start:8px;inset-block-end:8px;height:auto;max-height:none;border-radius:15px}}
@media(max-width:380px){.waitlist-modal__bar{gap:8px;padding-inline:10px}.waitlist-modal__identity{gap:6px}.waitlist-modal__identity small{display:none}.waitlist-modal__identity strong{font-size:11px;white-space:nowrap}.waitlist-modal__back{gap:3px;padding-inline:7px;font-size:9px;white-space:nowrap}.waitlist-modal__back>span{font-size:14px}}
@media(prefers-reduced-motion:reduce){.waitlist-modal[open],.waitlist-modal::backdrop{animation:none;backdrop-filter:none}.waitlist-modal__back:active{transform:none}}

/* Safe viewport sizing for mobile dialog */
.waitlist-modal{overscroll-behavior:contain}
.waitlist-modal__frame{min-height:0}
@media(max-width:640px){.waitlist-modal{padding-bottom:env(safe-area-inset-bottom);inset-block-end:0;width:100vw;max-width:100vw;border-radius:18px 18px 0 0}.waitlist-modal__bar{padding-inline:max(14px,env(safe-area-inset-left)) max(14px,env(safe-area-inset-right))}}