.modal-overlay{position:fixed;inset:0;width:100vw;height:100vh;z-index:9999;display:flex;justify-content:center;align-items:center;padding:1.25rem;background-color:#1d1a2661;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);animation:modalOverlayIn .24s ease-out forwards}.modal-content{position:relative;width:min(620px,100%);max-height:calc(100vh - 2.5rem);overflow-y:auto;padding:2.25rem 2rem;background:#fffdf8;border:1px solid var(--color-border);border-radius:32px;box-shadow:0 28px 70px #1d1a2633,var(--glow-inner)}@keyframes modalOverlayIn{0%{opacity:0}to{opacity:1}}.modal-close{position:absolute;top:1rem;right:1.25rem;width:44px;height:44px;border:0;border-radius:50%;background:var(--color-surface-muted);color:var(--text-secondary);font-size:1.7rem;line-height:1;cursor:pointer;transition:color .2s ease,background .2s ease}.modal-close:hover{color:var(--text-primary);background:#fff7e7}.modal-title{margin:1.5rem 0 .5rem;color:var(--text-primary);font-size:clamp(2rem,5vw,3rem);font-weight:400;line-height:1.02;letter-spacing:-.06em;text-align:center}.modal-title:focus-visible{outline:3px solid var(--color-primary-solid);outline-offset:5px;border-radius:8px}.modal-subtitle{max-width:420px;margin:0 auto 1.4rem;text-align:center;color:var(--text-secondary);font-size:1.03rem;line-height:1.45}.beta-form{display:flex;flex-direction:column;gap:1rem}.form-honeypot{position:absolute;left:-9999px;width:1px;height:1px;opacity:0;pointer-events:none}.form-group{display:flex;flex-direction:column;gap:.5rem}.form-group.row{flex-direction:row;gap:1rem}.form-field{flex:1;display:flex;flex-direction:column;gap:.5rem}.beta-form label{color:var(--text-primary);font-size:.9rem;font-weight:500}.bio-input{width:100%;padding:13px 16px;background:#fff;border:1px solid var(--color-border);border-radius:18px;color:var(--text-primary);font-family:var(--font-family-sans);font-size:1rem;outline:none;transition:border-color .2s ease,box-shadow .2s ease,background .2s ease}.bio-input::placeholder{color:#aaa39a}.bio-input:focus{border-color:#ad824885;background:#fffdf8;box-shadow:0 0 0 4px #ad82481a}.form-help{margin:.1rem 0 0;color:var(--text-secondary);font-size:.86rem;line-height:1.35}.bio-textarea{min-height:92px;resize:vertical}select.bio-input{appearance:none;background-image:url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2214%22%20height%3D%228%22%20viewBox%3D%220%200%2014%208%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23706A62%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M1%201l6%206%206-6%22%2F%3E%3C%2Fsvg%3E);background-repeat:no-repeat;background-position:right 1rem top 50%;background-size:.8em auto}select.bio-input option{background-color:#fffdf8;color:var(--text-primary)}.form-checkbox-group{display:flex;align-items:flex-start;gap:.8rem;padding:.85rem 1rem;background:#fff7e7;border:1px solid rgba(173,130,72,.22);border-radius:20px;cursor:pointer}.bio-checkbox{width:20px;height:20px;flex:0 0 20px;margin-top:.1rem;accent-color:var(--color-primary-solid);cursor:pointer}.form-checkbox-group label{margin:0;color:var(--text-secondary);font-size:.84rem;font-weight:500;line-height:1.4;cursor:pointer}.form-checkbox-group a{color:var(--color-primary-solid);text-underline-offset:.16em}.modal-submit{width:100%;min-height:56px;margin-top:.25rem}.modal-submit:disabled{opacity:.7;cursor:not-allowed}.success-message{display:flex;flex-direction:column;align-items:center;gap:1rem;padding:2rem 0;text-align:center;animation:modalFadeIn .5s ease-out forwards}.success-announcement{width:100%;display:flex;flex-direction:column;align-items:center;gap:1rem}.success-check{margin-bottom:.5rem;animation:modalFadeIn .6s ease-out forwards}.success-check-path{stroke-dasharray:60;stroke-dashoffset:60;animation:drawCheck .6s ease-out .3s forwards}@keyframes drawCheck{to{stroke-dashoffset:0}}.success-subtitle{max-width:340px;color:var(--text-secondary);font-size:1.05rem;line-height:1.55}.success-next-steps{width:100%;display:flex;flex-direction:column;gap:.75rem;margin:1rem 0 .5rem;padding:1.25rem 1.5rem;background:var(--color-surface-muted);border:1px solid var(--color-border);border-radius:20px}.success-step{margin:0;color:var(--text-secondary);font-size:.95rem;text-align:left}.success-close-btn{margin-top:1rem;padding:12px 40px;font-size:.95rem}@keyframes modalFadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.form-error{margin-bottom:.5rem;padding:.85rem 1rem;background:#c6564a1a;border:1px solid rgba(198,86,74,.24);border-radius:18px;animation:modalFadeIn .3s ease-out}.form-error p{margin:0;color:#a34236;font-size:.9rem}@media(max-width:600px){.modal-content{padding:2.6rem 1.25rem 1.5rem;border-radius:28px}.form-group.row{flex-direction:column}}@media(max-width:360px){.modal-overlay{padding:.75rem}.modal-content{max-height:calc(100vh - 1.5rem);padding:2.1rem 1rem 1rem;border-radius:24px}.modal-close{top:.55rem;right:.7rem}.modal-title{margin:.9rem 0 .3rem;font-size:2rem}.modal-subtitle{margin-bottom:.8rem;font-size:.94rem;line-height:1.35}.beta-form{gap:.7rem}.form-group,.form-field{gap:.35rem}.bio-input{min-height:46px;padding:10px 13px;border-radius:16px}.form-help{font-size:.8rem;line-height:1.25}.form-checkbox-group{gap:.6rem;padding:.65rem .75rem;border-radius:17px}.form-checkbox-group label{font-size:.78rem;line-height:1.3}.modal-submit{min-height:52px;margin-top:0}}
