*{box-sizing:border-box}html,body{margin:0;background:#fff;color:#20212c;font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic",sans-serif}body{height:100dvh}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default}button,a{touch-action:manipulation}a{color:#7b65ff;text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #afa2ff;outline-offset:3px}[hidden]{display:none!important}.account-shell{width:100%;max-width:460px;height:var(--visible-height,100dvh);margin:auto;padding:max(16px,env(safe-area-inset-top)) 20px max(16px,env(safe-area-inset-bottom));display:flex;flex-direction:column}.flow-header{height:48px;display:grid;grid-template-columns:44px 1fr 44px;align-items:center;flex-shrink:0}.flow-header strong{text-align:center;font-size:17px}.flow-header #step-count{text-align:right;font-size:16px;color:#747482;white-space:nowrap}.flow-header #step-count b{color:#7b65ff}.icon-button{border:0;background:none;color:inherit;width:40px;height:40px;padding:8px;display:grid;place-items:center}.icon-button svg{width:24px;height:24px}.progress{display:flex;gap:4px;margin:14px 0 0;flex-shrink:0}.progress span{flex:1;height:4px;background:#e7e5ef;border-radius:5px}.progress span.active{background:#7b65ff}form{display:flex;flex-direction:column;flex:1;min-height:0}main{flex:1;overflow:auto;min-height:0;scrollbar-width:thin;padding-bottom:8px}.step-intro{padding-top:30px;margin-bottom:34px}h1{font-size:23px;line-height:1.4;letter-spacing:-.8px;margin:0;font-weight:750;outline:none}.step-intro p{color:#747482;font-size:16px;line-height:1.5;letter-spacing:-.4px;margin:8px 0 0}.field{margin:0 0 24px}.field label{display:block;color:#707181;font-size:14px;font-weight:550;margin-bottom:10px}input:not([type=checkbox]),select,.question-display{width:100%;height:52px;border:1px solid #e4e2ee;border-radius:14px;padding:0 16px;background:white;color:#20212c;font-size:16px;outline:none;min-width:0}input::placeholder{color:#b6b5c2}input:not([type=checkbox]):focus,select:focus{border-color:#7b65ff;box-shadow:0 0 0 .5px #7b65ff}input[aria-invalid=true]:not([type=checkbox]){border-color:#ff4056;box-shadow:none}select:invalid{color:#b6b5c2}select option{color:#20212c}.password-wrap{position:relative}.password-wrap input{padding-right:52px}.reveal{position:absolute;right:6px;top:6px;color:#707181}.hint{font-size:13px;line-height:1.5;margin:8px 0 0;color:#747482;min-height:20px}.hint.valid{color:#22b779}.hint.invalid,.phone-feedback p{color:#ff4056}.phone-feedback{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;margin-top:10px;font-size:13px;line-height:1.5}.phone-feedback p{margin:0}.phone-feedback a{white-space:nowrap;font-weight:650}.flow-footer{flex-shrink:0;padding-top:8px}.primary{width:100%;height:56px;border-radius:15px;border:0;background:#7b65ff;color:#fff;font-size:17px;font-weight:700}.primary:disabled{background:#e7e5ef;color:#b9b7c4}.primary:active:not(:disabled){background:#6954ed}#flow-error{color:#ff4056;font-size:13px;line-height:1.5;margin:0 0 10px}#flow-error:empty{display:none}.agree-all{display:flex;align-items:center;gap:12px;padding:18px 16px;background:#f6f5fa;border-radius:18px;font-size:17px;font-weight:650;margin-top:-5px;margin-bottom:12px}input[type=checkbox]{appearance:none;-webkit-appearance:none;width:24px;height:24px;margin:0;border:1px solid #b9b7c4;border-radius:7px;flex-shrink:0;background:white;display:grid;place-items:center;cursor:pointer}input[type=checkbox]:checked{background:#7b65ff;border-color:#7b65ff}input[type=checkbox]:checked:after{content:'';width:10px;height:6px;border:solid white;border-width:0 0 2px 2px;transform:rotate(-45deg);margin-top:-3px}input[type=checkbox]:indeterminate:after{content:'';width:10px;height:2px;background:#7b65ff}.term-row{display:flex;align-items:center;min-height:48px;padding-left:16px}.term-row label{flex:1;display:flex;align-items:center;gap:12px;font-size:16px;letter-spacing:-.4px}.term-row b{color:#7b65ff;font-weight:650}.term-detail{color:#b9b7c4;font-size:28px;flex-shrink:0}.info{background:#f6f5fa;border-radius:14px;padding:13px 15px;font-size:13px;line-height:1.5;color:#707181;margin-top:-4px}.question-display{height:auto;min-height:52px;display:flex;align-items:center;line-height:1.5;margin:0;padding:13px 16px}.success{height:100%;display:flex;align-items:center;justify-content:center;text-align:center}.success-content{padding-bottom:40px}.success-illustration{width:160px;margin:0 auto 24px}.success h1{font-size:25px}.success p{color:#747482;font-size:16px;line-height:1.5;margin:8px 0}body.complete .flow-header,body.complete .progress{visibility:hidden}dialog{width:calc(100% - 40px);max-width:420px;max-height:85dvh;border:0;border-radius:22px;padding:24px;color:#20212c}dialog::backdrop{background:#18132666}dialog h2{font-size:20px;margin:0 0 16px}dialog p{font-size:15px;line-height:1.7;color:#747482}dialog .primary{margin-top:16px}@media(max-height:650px){.step-intro{padding-top:22px;margin-bottom:24px}.field{margin-bottom:18px}.success-illustration{width:125px}}@media(max-height:500px){.account-shell{padding-top:8px;padding-bottom:8px}.flow-header{height:36px}.progress{margin-top:8px}.step-intro{padding-top:15px;margin-bottom:16px}.step-intro h1{font-size:20px}.step-intro p{font-size:14px}.field{margin-bottom:14px}.primary{height:48px}.success-content{padding-bottom:0}}@media(prefers-reduced-motion:no-preference){.primary{transition:background .15s}}
/* Detail pages and the shared question chooser. */
.legal-page .account-shell{min-height:100dvh}.legal-content{padding:24px 0 12px}.legal-intro{padding:20px;background:#f6f5fa;border-radius:20px;margin-bottom:24px}.legal-kicker{font-size:10px;font-weight:700;letter-spacing:1.6px;color:#7b65ff}.legal-intro h1{font-size:23px;margin-top:12px}.legal-intro p{font-size:14px;line-height:1.6;color:#747482;margin:8px 0 0}.legal-section{position:relative;margin:0 2px 26px;padding-left:32px}.legal-number{position:absolute;left:0;top:3px;font-size:12px;color:#7b65ff;font-weight:700}.legal-section h2{font-size:17px;margin:0 0 8px}.legal-section p{font-size:15px;line-height:1.8;color:#707181;margin:0;word-break:keep-all}.legal-return{display:flex;align-items:center;justify-content:center;text-decoration:none;color:white}.term-detail{text-decoration:none}.question-picker{width:100%;min-height:52px;display:flex;align-items:center;justify-content:space-between;gap:10px;background:white;border:1px solid #e4e2ee;border-radius:14px;padding:12px 16px;color:#b6b5c2;text-align:left;font-size:16px}.question-picker.selected{color:#20212c}.question-picker svg{width:22px;height:22px;color:#707181;flex-shrink:0}.question-dialog{padding:20px;border-radius:24px}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.dialog-heading h2{margin:0;font-size:20px}.dialog-heading .icon-button{font-size:26px;color:#747482}.question-dialog .dialog-description{margin:4px 0 20px;font-size:14px}.question-options{display:flex;flex-direction:column;gap:8px}.question-option{position:relative;background:#f6f5fa;border:1px solid transparent;border-radius:13px;min-height:54px;text-align:left;padding:13px 40px 13px 15px;font-size:15px;color:#20212c;line-height:1.5}.question-option[aria-pressed=true]{background:#efebff;border-color:#7b65ff;color:#6b56ed;font-weight:650}.question-option[aria-pressed=true]:after{content:'✓';position:absolute;right:15px;top:15px}.question-option:hover{background:#efebff}

/* Match the login field focus ring and leave room inside the scroll container. */
#steps{padding-left:4px;padding-right:4px;margin-left:-4px;margin-right:-4px}
.field input:not([type=checkbox]){border-color:#e1dfed;color:#252533}
.field input:not([type=checkbox]):focus,.question-picker:focus-visible{border-color:#a99aca;outline:2px solid #7156db12;outline-offset:2px;box-shadow:none}
.field input:not([type=checkbox])[aria-invalid=true]{border-color:#ff4056;outline:none;box-shadow:none}
.legal-content{overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;min-height:0;padding:24px 4px;outline-offset:-2px}
.legal-page-title{font-size:22px;line-height:1.5;margin:0 0 24px}
.legal-plain{font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;font-size:15px;font-weight:400;line-height:1.85;color:#50515f;white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal;padding-bottom:16px}
.legal-page .flow-footer{border-top:1px solid #eeecf4;padding-top:12px;background:white}
#legal-status{font-size:13px;line-height:1.5;color:#747482;margin:0 0 10px}#legal-status:empty{display:none}#legal-retry{border:0;background:#efebff;color:#7156db;border-radius:9px;padding:10px;margin-bottom:10px}
