/* landing v10: the new Earth (portrait, looping) sits on the right on wide screens; email code step; registration code cells */
@media (min-width:900px) and (min-aspect-ratio:1/1){
  #earth{left:auto;right:0;width:58vw;object-position:20% 50%;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 30%);mask-image:linear-gradient(90deg,transparent 0,#000 30%)}
  .landing .stage{right:44vw;padding-left:clamp(20px,5vw,72px)}
}
#earth.drift{animation:none}

/* ---------- check your inbox ---------- */
.ck{position:relative;text-align:center}
.ck-main{transition:opacity .45s ease,filter .45s ease,transform .45s ease}
.ck-ic{position:relative;width:48px;height:48px;margin:2px auto 14px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14)}
.ck-ic svg{width:22px;height:22px}
.ck-ic i{position:absolute;top:9px;right:9px;width:8px;height:8px;border-radius:50%;background:#fff;box-shadow:0 0 0 3px rgba(12,12,14,.9);animation:ckdot 2s ease-in-out infinite}
@keyframes ckdot{50%{opacity:.35}}
.ck h2{font-size:23px;font-weight:700;letter-spacing:-.02em}
.ck-sub{font-size:14px;color:#a9a9ae;margin-top:8px;line-height:1.55}
.ck-sub b{display:inline-block;margin-top:4px;padding:2px 9px;border-radius:8px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.1);color:#fff;font-weight:600}
.otp{position:relative;height:64px;margin:24px 0 22px;transition:height .5s cubic-bezier(.2,.8,.2,1)}
.otp input{position:absolute;top:0;left:calc(50% - 127px);width:56px;height:64px;border-radius:16px;text-align:center;font-size:26px;font-weight:700;color:#fff;
  background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.14);outline:none;caret-color:#fff;
  transition:left .5s cubic-bezier(.2,.8,.2,1),top .5s cubic-bezier(.2,.8,.2,1),background .3s,color .3s,border-color .2s,transform .5s cubic-bezier(.2,.8,.2,1),opacity .4s}
.otp input:nth-of-type(2){left:calc(50% - 61px)}.otp input:nth-of-type(3){left:calc(50% + 5px)}.otp input:nth-of-type(4){left:calc(50% + 71px)}
.otp input:focus{border-color:#fff;box-shadow:0 0 0 4px rgba(255,255,255,.1)}
.otp input.has{background:rgba(255,255,255,.1)}
.otp input:disabled{opacity:1;-webkit-text-fill-color:#fff}
/* verifying: the four digits fold into a square */
.otp.square{height:140px}
.otp.square input:nth-of-type(1){left:calc(50% - 70px);top:0}
.otp.square input:nth-of-type(2){left:calc(50% - 70px);top:76px}
.otp.square input:nth-of-type(3){left:calc(50% + 14px);top:0}
.otp.square input:nth-of-type(4){left:calc(50% + 14px);top:76px}
.otp-x{position:absolute;left:calc(50% - 100px);top:0;width:200px;height:140px;pointer-events:none;opacity:0}
.otp-x path{fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-dasharray:85;stroke-dashoffset:85;transition:stroke-dashoffset .55s ease}
.otp.ok .otp-x{opacity:1}.otp.ok .otp-x path{stroke-dashoffset:0}
.otp.ok input,.otp.ok input:disabled{background:#fff!important;color:#000;-webkit-text-fill-color:#000;border-color:#fff!important;box-shadow:0 0 24px rgba(255,255,255,.25)}
.otp.merge input{left:calc(50% - 28px)!important;top:38px!important;transform:scale(.5);opacity:0}
.otp.merge .otp-x{opacity:0;transition:opacity .3s}
.otp-ok{position:absolute;left:calc(50% - 36px);top:34px;width:72px;height:72px;border-radius:20px;background:#fff;color:#000;display:grid;place-items:center;box-shadow:0 0 0 10px rgba(255,255,255,.06),0 0 40px rgba(255,255,255,.3);transform:scale(.3) rotate(-12deg);opacity:0;transition:transform .55s cubic-bezier(.3,1.5,.5,1) .25s,opacity .3s .25s}
.otp-ok svg{width:34px;height:34px}
.otp.merge .otp-ok{transform:none;opacity:1}
.otp.bad{animation:shake .42s cubic-bezier(.36,.07,.19,.97)}
@keyframes shake{20%,60%{transform:translateX(-7px)}40%,80%{transform:translateX(7px)}}
#ckGo{position:relative;transition:background .3s,color .3s}
#ckGo.busy span::before{content:"";display:inline-block;width:14px;height:14px;margin-right:9px;vertical-align:-2px;border-radius:50%;border:2px solid rgba(0,0,0,.2);border-top-color:#000;animation:spin .7s linear infinite}
#ckGo.ok{background:#fff;color:#000}
#ckGo.ok span::before{content:"✓";margin-right:8px;font-weight:800}
@keyframes spin{to{transform:rotate(360deg)}}
.ck-foot{margin-top:14px;font-size:13px;color:#8d8d93}
.ck-foot button{color:#fff;font-weight:600;font-size:13px;font-variant-numeric:tabular-nums}
.ck-foot button:disabled{color:#8d8d93;font-weight:500;cursor:default}
.ck-back{margin-top:10px;font-size:13px;color:#8d8d93;text-decoration:underline;text-underline-offset:3px}
.ck-back:hover{color:#fff}
/* verified */
.ck-done{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;opacity:0;pointer-events:none;filter:blur(10px);transform:scale(.97);transition:opacity .5s ease .15s,filter .5s ease .15s,transform .5s ease .15s}
.ck.done .ck-main{opacity:0;filter:blur(10px);transform:scale(.97);pointer-events:none}
.ck.done .ck-done{opacity:1;filter:none;transform:none;pointer-events:auto}
.ck-ring{width:76px;height:76px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#000;box-shadow:0 0 0 10px rgba(255,255,255,.07),0 0 0 22px rgba(255,255,255,.035),0 0 50px rgba(255,255,255,.25);margin-bottom:14px}
.ck-ring svg{width:34px;height:34px}
.ck-done h2{font-size:24px}
.ck-done>p{font-size:14px;color:#a9a9ae;line-height:1.5;max-width:30ch}
.ck-rows{list-style:none;width:100%;display:flex;flex-direction:column;gap:8px;margin:12px 0 6px;text-align:left}
.ck-rows li{display:flex;flex-direction:column;gap:2px;padding:11px 14px;border-radius:14px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1)}
.ck-rows b{font-size:13.5px}.ck-rows span{font-size:12.5px;color:#8d8d93}
.ck-done .btn{width:100%}

/* ---------- registration code: 8 cells ---------- */
.code8{position:relative;display:block}
.code8 input.code{position:absolute;inset:0;width:100%;height:100%;z-index:2;color:transparent!important;caret-color:transparent;background:transparent!important;border:0!important;letter-spacing:0;text-transform:uppercase}
.code8 input.code::selection{background:transparent}
.c8{display:flex;align-items:center;gap:5px}
.c8 i{flex:1;min-width:0;height:50px;border-radius:12px;display:grid;place-items:center;font-style:normal;font-size:18px;font-weight:700;color:#fff;background:var(--s2);border:1px solid var(--line);transition:border-color .15s,background .15s}
.c8 i:not(:empty){background:rgba(255,255,255,.09)}
.c8 i.cur{border-color:#fff;box-shadow:0 0 0 3px rgba(255,255,255,.1)}
.c8 em{width:10px;height:2px;border-radius:2px;background:#5e5e64;flex:none}
@media (max-width:420px){.c8{gap:3px}.c8 i{height:44px;border-radius:10px;font-size:16px}.otp input{width:52px;left:calc(50% - 118px)}.otp input:nth-of-type(2){left:calc(50% - 57px)}.otp input:nth-of-type(3){left:calc(50% + 4px)}.otp input:nth-of-type(4){left:calc(50% + 65px)}}
@media (prefers-reduced-motion:reduce){.otp,.otp input,.otp-ok,.ck-main,.ck-done{transition:none}.ck-ic i{animation:none}}
.auth .btn:disabled{opacity:.45;cursor:default;transform:none}
