/* Early-access sign-up — mirrors platform.nanovate.io/register */
@font-face{font-family:Inter;src:url("../fonts/inter-latin.woff2") format("woff2");font-weight:100 900;font-display:swap}
@font-face{font-family:Almarai;src:url("../fonts/Almarai-Regular.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:Almarai;src:url("../fonts/Almarai-Bold.woff2") format("woff2");font-weight:600 700;font-display:swap}
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%;background:#121212;color:#fff}
body{font-family:Inter,Almarai,"Segoe UI",Arial,sans-serif;-webkit-font-smoothing:antialiased;font-size:16px}
html[lang=ar] body{font-family:Almarai,Inter,Tahoma,Arial,sans-serif}
a{color:inherit}
.auth{display:flex;min-height:100vh;min-height:100dvh}
.auth-form{flex:0 0 45%;max-width:654px;background:#121212;display:flex;flex-direction:column;align-items:center;padding:clamp(20px,4.3vh,33px) 24px 32px}
.auth-art{flex:1;position:relative;overflow:hidden;background:#0d0d0d}
.auth-art .glow{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none}
.auth-art .frame{position:absolute;top:14%;inset-inline-start:14%;width:125%;border:5px solid #404040;border-radius:16px;overflow:hidden;background:#0d0d0d;box-shadow:0 30px 80px rgba(0,0,0,.5)}
.auth-art .frame img{display:block;width:100%;height:auto}
.top{width:100%;max-width:484px;display:flex;align-items:center;justify-content:space-between;margin-bottom:clamp(20px,3.5vh,32px)}
.home{display:inline-flex;align-items:center;opacity:.9}
.home svg{width:32px;height:18px}
.lang{display:flex;gap:4px}
.lang a{font-size:12px;line-height:16px;padding:4px 10px;border-radius:8px;color:#737373;text-decoration:none}
.lang a[aria-current]{background:rgba(255,255,255,.1);color:#fff}
.box{width:100%;max-width:484px}
.badge{display:inline-flex;align-items:center;gap:8px;font-size:12px;color:#1ACC96;background:rgba(26,204,150,.1);border:1px solid rgba(26,204,150,.25);border-radius:999px;padding:4px 12px;margin-bottom:14px}
.badge i{width:6px;height:6px;border-radius:50%;background:#1ACC96;display:block}
.head{text-align:center;margin-bottom:clamp(18px,3vh,28px)}
.head .badge{margin-inline:auto}
h1{font-size:19.7px;font-weight:600;line-height:30px}
.sub{font-size:14px;line-height:21px;color:#737373;margin-top:7px}
form{display:flex;flex-direction:column;gap:clamp(10px,1.8vh,16px)}
.row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.f{display:flex;flex-direction:column;gap:7px}
label{font-size:14px;line-height:21px;color:#a3a3a3}
input[type=text],input[type=email],input[type=tel],select{width:100%;height:36px;background:transparent;border:1px solid #404040;border-radius:6px;color:#fff;font:inherit;font-size:14px;padding:0 12px;outline:none;transition:border-color .15s,box-shadow .15s}
input::placeholder{color:#737373}
input:focus,select:focus{border-color:#a3a3a3;box-shadow:0 0 0 3px rgba(255,255,255,.08)}
.f.bad input,.f.bad .tel{border-color:#ef4444}
.err{font-size:12px;color:#f87171;display:none}
.f.bad .err{display:block}
.tel{display:flex;align-items:center;height:40px;border:1px solid #404040;border-radius:6px;overflow:hidden;transition:border-color .15s,box-shadow .15s}
.tel:focus-within{border-color:#a3a3a3;box-shadow:0 0 0 3px rgba(255,255,255,.08)}
.tel select{width:auto;height:100%;border:0;border-radius:0;padding:0 8px 0 14px;background:transparent;cursor:pointer;box-shadow:none;appearance:auto}
.tel select option{background:#1a1a1a;color:#fff}
.tel input{border:0;height:100%;box-shadow:none!important;direction:ltr}
html[lang=ar] .tel{direction:ltr}
.chk{display:flex;align-items:center;gap:12px;font-size:14px;color:#d4d4d4;cursor:pointer;line-height:1.4}
.chk input{appearance:none;flex:0 0 25px;width:25px;height:25px;border:1px solid #404040;border-radius:4px;display:grid;place-content:center;cursor:pointer}
.chk input:checked{background:#fff;border-color:#fff}
.chk input:checked::after{content:"";width:12px;height:7px;border:2px solid #0a0a0a;border-top:0;border-right:0;transform:rotate(-45deg) translate(1px,-1px)}
.terms{font-size:11px;line-height:17px;color:#737373}
.terms a{color:#a3a3a3}
.btn{height:44px;border:0;border-radius:6px;background:#fff;color:#0a0a0a;font:inherit;font-size:16px;font-weight:500;cursor:pointer;transition:opacity .15s;display:flex;align-items:center;justify-content:center;gap:10px}
.btn:hover{opacity:.9}
.btn[disabled]{opacity:.6;cursor:wait}
.btn .spin{width:16px;height:16px;border:2px solid #0a0a0a;border-right-color:transparent;border-radius:50%;animation:sp .7s linear infinite;display:none}
.btn[disabled] .spin{display:block}
@keyframes sp{to{transform:rotate(1turn)}}
.alt{text-align:center;font-size:14px;color:#a3a3a3;margin-top:4px}
.alt a{color:#fff;font-weight:500;text-decoration:none}
.formerr{display:none;font-size:13px;color:#f87171;text-align:center}
.formerr.on{display:block}
.hp{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;opacity:0}
body{overflow-x:hidden}
.done{display:none;text-align:center;padding:clamp(28px,8vh,72px) 0 0}
.done.on{display:block}
.done .ok{width:64px;height:64px;border-radius:50%;margin:0 auto 22px;display:grid;place-content:center;background:rgba(26,204,150,.12);border:1px solid rgba(26,204,150,.4)}
.done .ok svg{width:30px;height:30px}
.done h2{font-size:22px;font-weight:600;line-height:1.35;margin-bottom:12px}
.done p{font-size:14px;line-height:1.7;color:#a3a3a3;max-width:400px;margin:0 auto 10px}
.done p b{color:#fff;font-weight:500}
.done .btn{display:inline-flex;padding:0 22px;margin-top:18px;text-decoration:none}
@media (max-width:900px){
  .auth-art{display:none}
  .auth-form{flex:1;max-width:none}
}
@media (max-width:520px){.row{grid-template-columns:1fr}}
