/* Sign-in page. Self-contained: no other page uses these rules. Proportions follow the approved design (853 x 1844 mock). */
*{box-sizing:border-box;margin:0}
html,body{height:100%}
body.sx{display:flex;min-height:100vh;background:#0f1618;color:#e9eeec;font:16px/1.5 "Segoe UI",system-ui,-apple-system,"Helvetica Neue",Arial,sans-serif;-webkit-font-smoothing:antialiased}

/* left: night earth */
.sx-earth{position:relative;flex:0 0 clamp(300px,37.6vw,560px);min-height:100vh;padding:clamp(96px,7.8vh,150px) 40px 52px;display:flex;flex-direction:column;
  background:#071512 url("login-earth.jpg") center top/cover no-repeat;color:#f1f4f2;overflow:hidden}
.sx-earth::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,transparent 88%,rgba(15,22,24,.55))}
.sx-earth>*{position:relative;z-index:1}
.sx-word{font-size:21px;font-weight:400;letter-spacing:.36em;line-height:1}
.sx-tag{margin-top:66px;font-size:14px;letter-spacing:.42em;line-height:1.66;color:#b9c4c0}
.sx-pillars{margin-top:auto}
.sx-pillars>div{padding-bottom:28px;margin-bottom:30px;border-bottom:1px solid rgba(220,230,226,.38);max-width:200px}
.sx-pillars>div:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0;max-width:none}
.sx-pillars>div:not(:last-child){border-image:linear-gradient(90deg,rgba(220,230,226,.4) 0 58px,transparent 58px) 1}
.sx-pillars h2{font-size:14px;font-weight:600;letter-spacing:.32em;margin-bottom:6px;color:#f4f6f5}
.sx-pillars p{font-size:16.5px;line-height:1.4;color:#c7d0cc;max-width:172px}
.sx-for{margin-top:66px;font-size:10.5px;letter-spacing:.24em;line-height:1.95;color:#b3bdb9}

/* right: form */
.sx-main{flex:1;position:relative;display:flex;flex-direction:column;padding:0 clamp(24px,4.7vw,72px) 0 clamp(24px,7.2vw,110px);min-height:100vh}
.sx-region{position:absolute;top:56px;right:42px;z-index:5;font-size:16px;letter-spacing:.06em;color:#a7afb0}
.sx-region summary{display:flex;align-items:center;gap:10px;cursor:pointer;list-style:none;padding:6px 8px;border-radius:6px}
.sx-region summary::-webkit-details-marker{display:none}
.sx-region summary:hover,.sx-region[open] summary{color:#e6ece9;background:rgba(255,255,255,.04)}
.sx-dot{width:7px;height:7px;border-radius:50%;background:#59606a}
.sx-inside .sx-dot{background:#3fae84;box-shadow:0 0 0 3px rgba(63,174,132,.18)}
.sx-outside .sx-dot{background:#c99a3c;box-shadow:0 0 0 3px rgba(201,154,60,.16)}
.sx-region-pop{position:absolute;right:0;top:calc(100% + 8px);width:290px;padding:14px 16px;border:1px solid #2f3638;border-radius:8px;background:#161e1f;color:#dfe6e3;font-size:14.5px;letter-spacing:0;line-height:1.5;box-shadow:0 12px 32px rgba(0,0,0,.35)}
.sx-region-pop small{display:block;margin-top:8px;color:#8d9597;font-size:12.5px}
.sx-region[open] svg{transform:rotate(180deg)}
.sx-region svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.4;transition:transform .15s}
.sx-panel{width:100%;max-width:430px;padding-top:clamp(150px,13.9vh,250px)}
.sx-eyebrow{display:flex;align-items:center;gap:24px;font-size:13.5px;letter-spacing:.36em;color:#8d9395}
.sx-eyebrow span{display:block;width:58px;height:1px;background:#404749}
.sx-panel h1{margin-top:68px;font:400 clamp(52px,8.4vw,74px)/1.08 "Iowan Old Style","Palatino Linotype",Palatino,"Book Antiqua",Georgia,"Times New Roman",serif;letter-spacing:-.012em;color:#f6f7f6}
.sx-lede{margin-top:44px;max-width:392px;font-size:21.5px;line-height:1.55;color:#8f9596}
.sx-error{margin-top:24px;padding:12px 16px;border:1px solid #6a3a35;border-radius:6px;background:#2a1716;color:#f2c7c1;font-size:15px}
.sx-form{margin-top:92px;display:flex;flex-direction:column}
.sx-form label{font-size:17.5px;font-weight:500;color:#f1f4f2;margin-bottom:15px}
.sx-form label[for=sx-pass]{margin-top:42px}
.sx-form input{width:100%;height:72px;padding:0 24px;border:1px solid #2f3638;border-radius:6px;background:#161e1f;color:#eef2f0;font:inherit;font-size:17.5px;outline:none;transition:border-color .15s,box-shadow .15s}
.sx-form input::placeholder{color:#7d8486}
.sx-form input:focus{border-color:#3d5a53}
.sx-form input:focus-visible{border-color:#4f7f72}
.sx-pass{position:relative}
.sx-pass input{padding-right:64px}
.sx-eye{position:absolute;top:50%;right:14px;transform:translateY(-50%);width:42px;height:42px;display:grid;place-items:center;border:0;border-radius:6px;background:none;color:#a2aaab;cursor:pointer}
.sx-eye svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.5}
.sx-eye:hover,.sx-eye:focus-visible{color:#e6ece9;outline:none;background:rgba(255,255,255,.05)}
.sx-eye.on svg path{stroke-dasharray:none}
.sx-forgot{align-self:flex-end;margin-top:22px;font-size:15.5px;color:#7fb3a5;text-decoration:underline;text-underline-offset:3px}
.sx-forgot:hover{color:#a6d0c4}
.sx-reset{display:none;margin-top:12px;font-size:14.5px;color:#9aa3a4}
.sx-reset:target{display:block}
.sx-submit{margin-top:44px;position:relative;height:72px;border:0;border-radius:6px;background:#325c51;color:#fff;font:inherit;font-size:20.5px;font-weight:500;cursor:pointer;transition:background .15s}
.sx-submit:hover{background:#3a695d}
.sx-submit:focus-visible{outline:3px solid rgba(127,179,165,.55);outline-offset:2px}
.sx-submit svg{position:absolute;right:26px;top:50%;width:24px;height:24px;transform:translateY(-50%);fill:none;stroke:currentColor;stroke-width:1.6}
.sx-note{margin-top:44px;font-size:17.5px;line-height:1.45;color:#8f9596}
.sx-foot{width:100%;max-width:430px;margin-top:auto;padding:48px 0 60px;border-top:1px solid #353a3c}
.sx-foot-brand{display:flex;align-items:center}
.sx-foot-word{font-size:16px;letter-spacing:.4em;color:#e8edeb;padding-right:24px;margin-right:26px;border-right:1px solid #353a3c;line-height:3}
.sx-foot-desc{font-size:15px;line-height:1.48;color:#80888a}
.sx-foot p{margin-top:38px;font-size:15px;line-height:1.55;color:#5f6668}

@media (max-width:760px){
  body.sx{flex-direction:column}
  .sx-earth{flex:none;min-height:0;height:220px;padding:40px 24px 24px;background-position:center 38%}
  .sx-tag,.sx-pillars,.sx-for{display:none}
  .sx-main{padding:0 20px;min-height:0}
  .sx-region{top:-190px;right:20px;color:#d7dedb}
  .sx-panel{padding-top:48px}
  .sx-panel h1{margin-top:36px}
  .sx-lede{margin-top:24px;font-size:18px}
  .sx-form{margin-top:40px}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}

/* laptop and desktop screens are wider and shorter than the design: keep Nigeria in view and the form above the fold */
@media (min-width:761px){.sx-earth{background-position:center 39%}
  .sx-earth::after{background:linear-gradient(90deg,rgba(4,14,12,.62) 0,rgba(4,14,12,.38) 45%,transparent 75%,rgba(15,22,24,.55) 100%)}}
@media (min-width:761px) and (max-height:1100px){
  .sx-earth{padding-top:clamp(48px,8vh,96px);padding-bottom:36px}
  .sx-tag{margin-top:clamp(28px,5vh,60px)}
  .sx-pillars>div{padding-bottom:clamp(14px,2.4vh,28px);margin-bottom:clamp(14px,2.6vh,30px)}
  .sx-for{margin-top:clamp(24px,4vh,60px)}
  .sx-region{top:clamp(28px,4.5vh,56px)}
  .sx-panel{padding-top:clamp(64px,10vh,150px)}
  .sx-panel h1{margin-top:clamp(26px,4.5vh,68px);font-size:clamp(46px,6.4vh,74px)}
  .sx-lede{margin-top:clamp(18px,3vh,44px);font-size:clamp(17px,2.2vh,21.5px)}
  .sx-form{margin-top:clamp(28px,5vh,92px)}
  .sx-form input,.sx-submit{height:clamp(52px,6.6vh,72px)}
  .sx-form label{margin-bottom:clamp(8px,1.3vh,15px)}
  .sx-form label[for=sx-pass]{margin-top:clamp(18px,3vh,42px)}
  .sx-submit{margin-top:clamp(22px,3.6vh,44px)}
  .sx-note{margin-top:clamp(18px,3vh,44px)}
  .sx-foot{padding:clamp(22px,3.6vh,48px) 0 clamp(24px,4vh,60px)}
  .sx-foot p{margin-top:clamp(14px,2.4vh,38px)}
}
