@font-face{font-family:Manrope;src:url('assets/fonts/Manrope-Variable.ttf') format('truetype');font-weight:200 800;font-display:swap}
:root{--navy:#071b2b;--blue:#153d55;--gold:#d9b66f;--mist:#c4d4df;--ink:#162f40;--muted:#6e7c86;--line:#dae1e5}
*{box-sizing:border-box}body{margin:0;color:var(--ink);background:white;font-family:Manrope,'Segoe UI',sans-serif;-webkit-font-smoothing:antialiased}
button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}[hidden]{display:none!important}
button:focus-visible,a:focus-visible{outline:3px solid #b79a5c;outline-offset:5px}
.welcome{min-height:100svh;display:grid;grid-template-columns:minmax(0,1.55fr) minmax(420px,1fr)}
.identity{position:relative;isolation:isolate;overflow:clip;min-height:100svh;display:flex;flex-direction:column;padding:42px clamp(36px,4.7vw,88px) 29px;color:#f3f6f8;background:var(--navy)}
.identity:before{content:'';z-index:-1;position:absolute;inset:0;background:radial-gradient(ellipse at 60% 58%,#1c3c4e 0,transparent 54%),linear-gradient(115deg,#071b2b,#0d283b 60%,#071b2b);pointer-events:none}
.identity-top,.identity-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;position:relative;z-index:3}
.brand-name{font-size:16px;font-weight:600;letter-spacing:.1px}.workspace-label{font-size:12px;color:#a6b8c5}
.identity-content{width:100%;max-width:960px;margin:auto;padding:40px 0 40px}
.identity-copy h1{font-size:clamp(58px,5.8vw,92px);font-weight:500;letter-spacing:-4.5px;line-height:1.03;margin:0}
.identity-copy p{font-size:clamp(13px,1.12vw,17px);color:#b7c7d2;line-height:1.7;margin:25px 0 0}
.engine-stage{width:calc(100% + 46px);margin:20px -23px 0;height:clamp(260px,35vh,360px);position:relative;isolation:isolate;min-height:260px}
#engine-canvas{position:absolute;inset:0;width:100%;height:100%;display:block;z-index:0}
.engine-mark{position:absolute;z-index:2;left:45%;top:50%;width:27%;transform:translate(-50%,-50%);perspective:950px;pointer-events:none}
.engine-mark img{width:100%;height:auto;display:block;transform-style:preserve-3d;filter:drop-shadow(0 8px 13px #0003)}
.signal-label{position:absolute;left:5%;font-size:11px;font-weight:400;color:#bdcfdb;display:flex;align-items:center;gap:8px;padding:6px 8px 6px 0;white-space:nowrap;background:linear-gradient(90deg,#0b2132 75%,transparent);z-index:3}
.signal-label i{width:4px;height:4px;border-radius:50%;background:#a4becf;box-shadow:0 0 8px #b7d3e855;flex-shrink:0}
.signal-one{top:22%}.signal-two{top:47%}.signal-three{top:72%}
.selected-lead{position:absolute;left:76%;width:22%;height:46px;display:flex;align-items:center;gap:9px;padding:10px;border:1px solid #b69a5c5c;border-radius:7px;background:linear-gradient(130deg,#294353f5,#142f42f5);box-shadow:0 8px 20px #00000020;transform:translateY(-50%);z-index:3;transition:border-color .5s,box-shadow .5s}
.selected-one{top:25%}.selected-two{top:50%}.selected-three{top:75%}
.company-symbol{display:grid;place-items:center;width:25px;height:25px;flex:none;border-radius:4px;background:#c2a16410}
.company-symbol svg{width:20px;height:20px;fill:none;stroke:#d7ba7e;stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round}
.lead-lines{display:flex;flex-direction:column;gap:6px;width:100%}.lead-lines b,.lead-lines i{height:3px;border-radius:2px;display:block;background:#c6b89166;width:100%}.lead-lines i{width:65%;background:#a6b9c13b;height:2px}
.check{width:15px;height:15px;stroke:#ddc18c;stroke-width:1.4;fill:none;stroke-linejoin:round;stroke-linecap:round;flex:none;margin-left:1px}
.selected-lead[data-lit='true']{border-color:#d9b66fb0;box-shadow:0 0 24px #d9b66f13,0 8px 20px #0002}
.engine-steps{list-style:none;display:grid;grid-template-columns:1fr 1fr 1fr;gap:26px;margin:16px 0 0;padding:0}
.engine-steps li{position:relative;border-top:1px solid #aac2d12b;padding-top:19px}
.engine-steps li:before{content:'';position:absolute;left:0;top:-1px;width:34px;height:1px;background:#d8b676;opacity:.3;transition:opacity .6s,width .6s}
.engine-steps li[data-active='true']:before{opacity:1;width:100%}
.engine-steps span{font-size:16px;color:#e0e9ee;font-weight:500}.engine-steps p{font-size:11px;color:#a8bdca;line-height:1.7;margin:9px 0 0}
.identity-bottom{font-size:10px;color:#8ea6b6;line-height:1.6}#motion{font-size:10px;white-space:nowrap;color:#b0c2ce;background:transparent;border:0;padding:7px 0;text-decoration:underline;text-decoration-color:#506a7c;text-underline-offset:5px}
.login-side{min-width:0;display:flex;flex-direction:column;padding:35px clamp(30px,3.5vw,70px) 28px;background:#fff}
.login-top{display:flex;align-items:center;justify-content:space-between;gap:18px}.login-top img{display:block;width:170px;height:auto;margin-left:-10px}.preview-tag{color:#6d777d;font-size:10px;padding:4px 0}
.login-card{width:100%;max-width:370px;margin:auto;padding:45px 0 55px}.step-label{color:#8b7446;font-size:12px;font-weight:500;margin-bottom:17px}
h2{font-size:36px;line-height:1.2;font-weight:550;letter-spacing:-1.25px;margin:0 0 14px;outline:0}.intro{font-size:13px;line-height:1.8;color:var(--muted);margin:0 0 34px}
label{display:block;font-size:12px;font-weight:600;margin:23px 0 9px}
input{width:100%;height:52px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--ink);font-size:13px;padding:0 15px;transition:border-color .2s,box-shadow .2s}
input::placeholder{color:#929da5;font-weight:400}input:hover{border-color:#b8c7d0}input:focus{outline:2px solid #b8995c77;outline-offset:2px;border-color:#a98b53}
.password-wrap{position:relative}.password-wrap input{padding-right:66px}#show-password{position:absolute;right:6px;top:1px;height:50px;min-width:50px;background:none;border:0;color:#667a87;font-size:11px}
.primary{display:block;width:100%;height:52px;border:1px solid #14364b;border-radius:6px;background:#14364b;color:white;font-size:13px;font-weight:600;margin-top:29px;transition:background .2s,box-shadow .2s}.primary:hover{background:#244b62;box-shadow:0 6px 15px #153d5515}
.step-hint{display:flex;justify-content:center;align-items:center;gap:7px;color:#7b8992;font-size:10px;margin:18px 0 0}.step-hint svg{width:13px;height:13px;stroke:#8c9aa3;stroke-width:1.3}
.preview-note{border-top:1px solid #e7ebee;padding-top:18px;margin-top:34px;color:#78858c;font-size:10px;line-height:1.8}.preview-note strong{font-weight:600;color:#67747c}.preview-note p{margin:2px 0 0}
footer{display:flex;justify-content:space-between;gap:12px;font-size:9px;color:#8b969d;line-height:1.7}
.email-preview{color:#587384;font-size:13px;margin:-20px 0 28px;overflow-wrap:anywhere}.code-input{font-size:25px;letter-spacing:13px;text-align:center;padding-left:25px;font-variant-numeric:tabular-nums}
.otp-actions{display:flex;justify-content:space-between;gap:14px;margin-top:23px}.text-button{background:none;border:0;padding:5px 0;color:#667d8a;font-size:11px}.text-button:hover{color:#92713b;text-decoration:underline;text-underline-offset:4px}
.error{color:#a23939;font-size:12px;min-height:16px;margin:8px 0 0}.resend-status{font-size:11px;color:#827154;line-height:1.6;margin:12px 0 0}
@media(min-width:1700px){.identity-content{max-width:950px}.engine-stage{margin-top:35px}.engine-steps{margin-top:25px}.identity-copy h1{font-size:100px}.signal-label{font-size:12px}.selected-lead{height:54px}}
@media(max-height:820px) and (min-width:851px){.identity{padding-top:28px;padding-bottom:20px}.identity-content{padding:25px 0 33px}.identity-copy h1{font-size:clamp(52px,5vw,76px)}.identity-copy p{margin-top:18px}.engine-stage{min-height:240px;margin-top:7px}.engine-steps{margin-top:0}.engine-steps li{padding-top:15px}.login-side{padding-top:25px;padding-bottom:22px}.login-card{padding:30px 0}.preview-note{margin-top:26px}}
@media(max-width:1100px) and (min-width:851px){.welcome{grid-template-columns:minmax(0,1.2fr) minmax(380px,1fr)}.identity{padding-left:34px;padding-right:34px}.identity-copy h1{font-size:58px;letter-spacing:-3px}.engine-stage{width:calc(100% + 44px);min-height:230px}.signal-label{font-size:8px;left:3%;gap:4px}.selected-lead{padding:7px;gap:5px;height:37px}.company-symbol{width:18px;height:20px}.company-symbol svg{width:16px}.check{width:11px}.engine-steps{gap:17px}.engine-steps p{font-size:9px}.engine-steps span{font-size:13px}.identity-bottom>span{max-width:230px}.login-side{padding-left:33px;padding-right:33px}}
@media(max-width:850px){.welcome{display:block}.identity{min-height:0;padding:28px 30px 20px}.identity-content{max-width:640px;padding:35px 0 30px}.identity-copy h1{font-size:54px;letter-spacing:-2.8px}.identity-copy h1 br{display:none}.identity-copy p{font-size:13px;margin-top:16px}.engine-stage{width:calc(100% + 28px);margin-left:-14px;min-height:230px;max-height:270px}.identity-top,.identity-bottom{max-width:640px;width:100%;margin-left:auto;margin-right:auto}.login-side{min-height:640px;padding:27px 30px 24px}.login-top,.login-card,footer{width:100%;max-width:440px;margin-left:auto;margin-right:auto}.login-card{padding-top:38px;padding-bottom:38px}.login-top img{width:165px}.engine-steps{margin-top:0}.engine-steps li{padding-top:13px}.engine-steps span{font-size:13px}.engine-steps p{font-size:9px;margin-top:5px}}
@media(max-width:500px){.identity{padding:24px 24px 17px}.brand-name{font-size:13px}.workspace-label{font-size:10px}.identity-content{padding:31px 0 25px}.identity-copy h1{font-size:39px;letter-spacing:-1.8px}.identity-copy h1 br{display:block}.identity-copy p{font-size:11px;max-width:280px;line-height:1.8}.engine-stage{min-height:190px;margin-top:12px}.signal-label{font-size:7px;gap:4px;left:2%}.signal-label i{width:3px;height:3px}.engine-mark{width:32%;left:45%}.selected-lead{height:31px;padding:6px;gap:4px;left:76%;width:23%;border-radius:4px}.company-symbol{width:16px;height:17px}.company-symbol svg{width:14px;height:14px}.lead-lines{gap:4px}.lead-lines b{height:2px}.lead-lines i{height:1px}.check{width:9px;margin:0}.engine-steps{gap:14px}.engine-steps span{font-size:12px}.engine-steps p{font-size:8px}.identity-bottom{font-size:8px;gap:10px}.identity-bottom>span{max-width:210px}#motion{font-size:8px}.login-side{padding:23px 26px;min-height:640px}.login-card{max-width:380px;padding:35px 0}h2{font-size:32px}input{font-size:16px}.intro{font-size:12px}.preview-note{font-size:10px}footer{font-size:8px}.code-input{font-size:25px;letter-spacing:12px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important}#motion{display:none}}

/* Keep the complete flow inside the narrow screen, with the login close below it. */
@media(max-width:500px){.engine-stage{width:100%;height:190px;min-height:190px;max-height:190px;margin:12px 0 0}.signal-label{font-size:8px}.engine-steps p{font-size:9px}}
