@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap');

:root{font-family:"Nunito",ui-rounded,system-ui,sans-serif;color:#21154d;--purple:#8350df;--lilac:#9e6de6;--teal:#62d4cf;--ink:#17103d}*{box-sizing:border-box}html,body{min-height:100%}body{margin:0;background:#f8f6fc}button,input{font:inherit}
.auth-page{min-height:100dvh;padding:clamp(.75rem,3vw,2rem);display:grid;place-items:center;overflow:hidden;background:radial-gradient(circle at 3% 4%,rgba(177,145,228,.38),transparent 30%),radial-gradient(circle at 5% 98%,rgba(87,211,207,.3),transparent 28%),radial-gradient(circle at 97% 96%,rgba(187,151,239,.3),transparent 28%),#f8f7fc}
.auth-shell{position:relative;width:min(100%,48rem);min-height:min(94dvh,58rem);display:flex;align-items:center;overflow:hidden;border:1px solid rgba(119,75,202,.08);border-radius:2.25rem;background:rgba(255,253,255,.96);box-shadow:0 1.8rem 5rem rgba(42,31,73,.2)}
.auth-panel{position:relative;z-index:2;width:min(100%,40rem);margin:auto;padding:clamp(1.5rem,5vw,3rem)}
.auth-decor{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none}.blob{position:absolute;display:block;border-radius:50%;filter:blur(3px);opacity:.52}.blob-top{top:-8rem;left:-7rem;width:18rem;height:18rem;background:#c7a7f3}.blob-mint{left:-9rem;bottom:-10rem;width:22rem;height:22rem;background:#65d8d3}.blob-lilac{right:-9rem;bottom:-10rem;width:20rem;height:20rem;background:#c29cf2}.spark{position:absolute;font:400 2.5rem/1 Arial,sans-serif;opacity:.55}.spark-top{top:5rem;right:4rem;color:#8f62df}.spark-left{left:2rem;bottom:11rem;color:#5fc9c6}.zigzag{position:absolute;right:-.45rem;top:44%;width:4rem;height:8rem;fill:none;stroke:#cebaf1;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;opacity:.48}
.auth-close,.mobile-back{position:absolute;z-index:5;top:1.15rem;width:3rem;height:3rem;display:grid;place-items:center;border:1px solid #ded2f2;border-radius:50%;background:#f7f2ff;color:#7650cd;font-size:2rem;line-height:1;text-decoration:none}.auth-close{right:1.15rem}.mobile-back{left:1.15rem;font-size:1.35rem}.auth-close::after{content:"";position:absolute;left:50%;top:100%;width:1px;height:1.8rem;background:#83d8d2;transform:rotate(15deg);transform-origin:top}
.brand-lockup{display:flex;flex-direction:column;align-items:center;justify-content:center}.brand-mascot{width:clamp(6rem,18vw,8.5rem);height:auto;margin-bottom:-.45rem;object-fit:contain}.brand-wordmark{width:min(78%,22rem);height:auto;object-fit:contain}
.auth-greeting{width:max-content;max-width:100%;margin:.35rem auto 1.75rem;color:#746c91;font-size:clamp(1.35rem,3.5vw,1.8rem);font-weight:900;text-align:center}.auth-greeting::after{content:"";width:4.5rem;height:.28rem;margin:.45rem auto 0;display:block;border-radius:99px;background:#76d8d5}
.auth-heading{text-align:center}.auth-heading h1{margin:.25rem 0 .2rem;color:#271268;font-size:clamp(1.75rem,5vw,2.25rem);font-weight:900}.auth-heading p{margin:0 0 1.15rem;color:#77708f;font-size:.92rem}
.auth-panel form{display:grid;gap:1.15rem}.auth-panel label{position:relative;display:grid;gap:0;padding-top:.25rem}.auth-panel label>span:first-child{position:absolute;z-index:4;top:-.35rem;left:1.25rem;padding:.48rem 1rem;border-radius:.72rem;background:linear-gradient(135deg,#aa76f1,#8554df);color:#fff;font-size:.82rem;font-weight:900;line-height:1;box-shadow:0 .3rem .65rem rgba(105,66,182,.22)}.auth-panel label:nth-of-type(even)>span:first-child{background:linear-gradient(135deg,#92e5df,#61d2cd);color:#152956;box-shadow:0 .3rem .65rem rgba(70,184,181,.2)}
.input-wrap{position:relative;display:flex;align-items:center}.input-wrap>svg{position:absolute;z-index:2;left:.9rem;width:3rem;height:3rem;padding:.68rem;border-radius:.9rem;background:linear-gradient(145deg,#eee5ff,#e4d9fb);color:#7d4dd8;fill:none;stroke:currentColor;stroke-width:1.8}.auth-panel label:nth-of-type(even) .input-wrap>svg{background:linear-gradient(145deg,#dcfaf8,#c7f2ef);color:#20bbb6}
.auth-panel input:not([type=checkbox]){width:100%;min-height:4.75rem;padding:1rem 4.5rem;border:2.5px solid var(--lilac);border-radius:1.65rem;outline:0;background:rgba(255,255,255,.93);color:var(--ink);font-size:1.08rem;font-weight:700;box-shadow:0 .7rem 1.15rem rgba(85,54,148,.12),inset 0 1px 0 #fff;transition:border-color .18s,box-shadow .18s}.auth-panel label:nth-of-type(even) input:not([type=checkbox]){border-color:#6fd9d5;box-shadow:0 .7rem 1.15rem rgba(51,166,163,.11),inset 0 1px 0 #fff}.auth-panel input:focus{box-shadow:0 0 0 .24rem rgba(112,80,212,.13)}.auth-panel input::placeholder{color:#aaa7ad;font-weight:700}
.password-toggle{position:absolute;z-index:3;right:.9rem;width:2.7rem;height:2.7rem;padding:.58rem;border:0;background:transparent;color:#27bcb9;cursor:pointer}.password-toggle svg{width:100%;fill:none;stroke:currentColor;stroke-width:1.8}
.primary-action{width:92%;min-height:4.35rem;margin:.1rem auto 0;padding:0 1.5rem;display:inline-flex;align-items:center;justify-content:center;gap:.8rem;border:1px solid #7545ce;border-radius:999px;background:#8350df;color:#fff;font-size:1.3rem;font-weight:900;cursor:pointer;transition:background .18s,transform .18s}.primary-action img{width:1.7rem;height:1.85rem;object-fit:contain}.primary-action:hover{background:#7745d3;transform:translateY(-1px)}.primary-action:active{background:#7040c9;transform:scale(.99)}.forgot-password{margin-top:-.5rem;color:#22bcb8;font-size:.88rem;text-align:center;text-decoration:underline dashed;text-underline-offset:.27rem}
.auth-divider{margin:1.25rem 0 1rem;display:flex;align-items:center;gap:1rem;color:#918c99;font-size:.82rem}.auth-divider::before,.auth-divider::after{content:"";height:1px;flex:1;background:#dedbe3}.google-visual{width:92%;min-height:4rem;margin:auto;display:flex;align-items:center;justify-content:center;gap:.9rem;border:1px solid #ded3ef;border-radius:1.2rem;background:#fff;color:#27223b;font-size:1rem;font-weight:900;box-shadow:0 .35rem .8rem rgba(75,53,116,.09)}.google-g{font:900 1.7rem/1 Arial,sans-serif;background:conic-gradient(from -45deg,#4285f4 0 25%,#34a853 0 44%,#fbbc05 0 66%,#ea4335 0 85%,#4285f4 0);background-clip:text;-webkit-background-clip:text;color:transparent}.auth-switch{margin-top:1.25rem;display:flex;justify-content:center;gap:.4rem;color:#716e7a;font-size:.9rem}.auth-switch a{color:#2abeb9;font-weight:900;text-decoration:underline dashed;text-underline-offset:.25rem}
.form-error,.field-error{color:#a94452;font-size:.72rem;font-weight:850}.form-error{padding:.65rem .8rem;border:1px solid rgba(190,76,91,.18);border-radius:.8rem;background:#fff0f2;text-align:center}.field-error{margin-top:.3rem;padding-inline:.7rem}
.signup-shell{width:min(100%,52rem)}.signup-shell .auth-panel{width:min(100%,45rem)}.signup-shell .brand-mascot{width:5rem}.signup-shell .brand-wordmark{width:min(60%,14rem)}.signup-shell form{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.signup-shell .form-error,.signup-shell .terms-field,.signup-shell .terms-error,.signup-shell .primary-action{grid-column:1/-1}.signup-shell .auth-panel input:not([type=checkbox]){min-height:3.8rem;padding:1rem 1.15rem;border-radius:1.15rem;font-size:.92rem}.signup-shell .input-wrap>svg{display:none}.terms-field{display:flex!important;flex-direction:row;align-items:flex-start;gap:.6rem!important;padding:.1rem .15rem!important}.terms-field>span{position:static!important;padding:0!important;background:none!important;box-shadow:none!important;color:#625a79!important;font-size:.72rem!important;line-height:1.45!important}.terms-field input{width:1.2rem;height:1.2rem;flex:0 0 auto;margin:0;accent-color:#8350df}.terms-field b{color:#258f91}.signup-shell .primary-action{min-height:3.8rem;font-size:1.05rem}.signup-shell .primary-action img{width:1.45rem;height:1.55rem}
.auth-close:focus-visible,.mobile-back:focus-visible,.primary-action:focus-visible,.password-toggle:focus-visible{outline:3px solid rgba(112,80,212,.25);outline-offset:3px}
@media(max-width:760px){.auth-page{padding:0;display:block;overflow:auto}.auth-shell,.signup-shell{width:100%;min-height:100dvh;border:0;border-radius:0;box-shadow:none}.auth-panel,.signup-shell .auth-panel{width:100%;max-width:40rem;min-height:100dvh;margin:auto;padding:max(1rem,env(safe-area-inset-top)) 1rem max(1.25rem,env(safe-area-inset-bottom));display:flex;flex-direction:column;justify-content:center}.auth-close{top:max(.8rem,env(safe-area-inset-top));right:.8rem}.brand-mascot{width:6.2rem}.brand-wordmark{width:min(82%,18rem)}.auth-greeting{margin-bottom:1.15rem}.auth-panel form{gap:1rem}.auth-panel input:not([type=checkbox]){min-height:4rem;padding-left:3.6rem;border-radius:1.3rem;font-size:.95rem}.input-wrap>svg{left:.72rem;width:2.5rem;height:2.5rem;padding:.55rem}.auth-panel label>span:first-child{top:-.28rem;padding:.4rem .82rem;font-size:.76rem}.primary-action,.google-visual{width:94%}.primary-action{min-height:3.8rem}.google-visual{min-height:3.45rem}.signup-shell .auth-panel{display:block;padding-top:max(4rem,env(safe-area-inset-top))}.signup-shell form{grid-template-columns:1fr;gap:.82rem}.signup-shell .brand-mascot{width:4rem}.signup-shell .brand-wordmark{width:min(60%,11rem)}.signup-shell .auth-heading p{margin-bottom:.75rem}.signup-shell .auth-panel input:not([type=checkbox]){min-height:3.2rem}.signup-shell .primary-action{min-height:3.3rem}}
@media(max-height:720px) and (min-width:761px){.auth-page{padding:.5rem;overflow:auto}.auth-shell{min-height:calc(100dvh - 1rem)}.auth-panel{padding-block:.7rem}.brand-mascot{width:4rem}.brand-wordmark{width:12rem}.auth-greeting{margin:.1rem auto .55rem;font-size:1rem}.auth-panel form{gap:.65rem}.auth-panel input:not([type=checkbox]){min-height:3.25rem}.input-wrap>svg{width:2.15rem;height:2.15rem;padding:.45rem}.primary-action{min-height:3rem}.auth-divider{margin:.55rem 0 .4rem}.google-visual{min-height:2.7rem}.auth-switch{margin-top:.45rem}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

.auth-description{text-align:center;color:#746c91;line-height:1.6;margin:0 auto 1.5rem;max-width:28rem}.auth-note{font-size:.85rem;margin:1.25rem auto 0}.google-visual{font-family:inherit;cursor:pointer;transition:box-shadow .18s,transform .18s}.google-visual:hover{transform:translateY(-1px);box-shadow:0 .5rem 1rem rgba(75,53,116,.16)}.google-visual:focus-visible{outline:3px solid #8350df;outline-offset:4px}

.auth-panel .privacy-acknowledgment{display:flex;align-items:flex-start;gap:.75rem;padding:.85rem 1rem;border:1px solid #ded2f2;border-radius:1.1rem;background:#f7f2ff;color:#514567;font-size:.85rem;line-height:1.5;text-align:left}
.auth-panel .privacy-acknowledgment input{flex:0 0 1.2rem;width:1.2rem;height:1.2rem;margin:.15rem 0 0;accent-color:#8350df}
.auth-panel .privacy-acknowledgment span{position:static;padding:0;background:none;box-shadow:none;color:inherit;font-weight:650}
.auth-panel .privacy-acknowledgment a,.auth-note a{color:#725795;text-underline-offset:.2rem}
.privacy-optional-note{margin:0;color:#746c91;font-size:.76rem;line-height:1.5;text-align:left}
