*{box-sizing:border-box}
:root{color-scheme:light;font-family:"Plus Jakarta Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,system-ui,sans-serif}
body{margin:0;min-width:320px;background:#f6f8f7;color:#17211d}
button,input{font:inherit}
.login-shell{min-height:100vh;display:grid;grid-template-columns:minmax(390px,46%) 1fr}
.login-story{
  position:relative;overflow:hidden;display:flex;flex-direction:column;padding:48px clamp(38px,6vw,88px);
  color:#fff;background:
    radial-gradient(circle at 82% 18%,rgba(33,206,133,.28),transparent 30%),
    radial-gradient(circle at 0 100%,rgba(28,155,105,.24),transparent 34%),
    linear-gradient(145deg,#122c22,#081811 74%);
}
.login-story:before,.login-story:after{content:"";position:absolute;border:1px solid rgba(255,255,255,.07);border-radius:50%}
.login-story:before{width:420px;height:420px;right:-230px;top:22%}
.login-story:after{width:620px;height:620px;right:-330px;top:10%}
.story-brand{position:relative;z-index:1;width:132px;height:31px;overflow:hidden}
.story-brand img,.mobile-brand img{display:block;width:132px;height:auto;filter:brightness(0) invert(1)}
.story-copy{position:relative;z-index:1;margin:auto 0 42px}
.eyebrow{display:block;margin-bottom:18px;color:#66d7a8;font-size:11px;font-weight:800;letter-spacing:.16em}
.story-copy h1{margin:0;font-size:clamp(38px,4vw,62px);line-height:1.02;letter-spacing:-.045em}
.story-copy p{max-width:510px;margin:25px 0 0;color:#bbcec5;font-size:16px;line-height:1.65}
.story-points{position:relative;z-index:1;display:flex;flex-wrap:wrap;gap:11px}
.story-points>div{
  display:flex;align-items:center;gap:8px;padding:9px 12px;border:1px solid rgba(255,255,255,.1);
  border-radius:999px;background:rgba(255,255,255,.055);color:#d6e4de;font-size:11px
}
.story-points i{width:6px;height:6px;border-radius:50%;background:#28d58e;box-shadow:0 0 0 4px rgba(40,213,142,.12)}
.story-foot{position:relative;z-index:1;margin:28px 0 0;color:#6f9182;font-size:10px;letter-spacing:.06em}
.login-area{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:42px 24px}
.mobile-brand{display:none}
.login-card{width:min(100%,430px);padding:42px 42px 34px;border:1px solid #e0e7e3;border-radius:22px;background:#fff;box-shadow:0 22px 70px rgba(25,52,41,.1)}
.welcome-mark{
  display:grid;place-items:center;width:42px;height:42px;margin-bottom:22px;border-radius:12px;
  background:#def8ed;color:#087849;font-size:19px;font-weight:800
}
.login-card h2{margin:0;font-size:28px;letter-spacing:-.035em}
.subtitle{margin:8px 0 28px;color:#7a8882;font-size:13px}
form label{display:block;margin:17px 0 7px;color:#37463f;font-size:11px;font-weight:700}
.control{position:relative}
.control>svg{
  position:absolute;left:13px;top:50%;width:18px;height:18px;transform:translateY(-50%);
  fill:none;stroke:#84938c;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;pointer-events:none
}
.control input{
  width:100%;height:48px;padding:0 13px 0 42px;border:1px solid #d9e1dd;border-radius:11px;
  outline:none;background:#fbfcfb;color:#17211d;font-size:13px;transition:.18s
}
.control input:focus{border-color:#18b977;background:#fff;box-shadow:0 0 0 3px rgba(24,185,119,.12)}
.control input::placeholder{color:#a6b0ab}
.control input[type=password],.control input[type=text]{padding-right:68px}
.show-password{
  position:absolute;right:8px;top:50%;transform:translateY(-50%);border:0;background:transparent;
  padding:7px;color:#4e655b;font-size:10px;font-weight:700;cursor:pointer
}
.login-error{display:none;margin-top:13px;padding:9px 11px;border-radius:9px;background:#fff0f0;color:#b52c2c;font-size:11px;line-height:1.4}
.login-error.show{display:block}
.submit{
  width:100%;height:49px;margin-top:20px;border:0;border-radius:11px;background:#111c17;color:#fff;
  display:flex;align-items:center;justify-content:center;gap:9px;font-size:13px;font-weight:700;cursor:pointer;
  transition:transform .15s,background .15s,opacity .15s
}
.submit:hover{background:#0b8c57;transform:translateY(-1px)}
.submit:disabled{opacity:.65;cursor:wait;transform:none}
.submit svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.submit.loading svg{animation:loginPulse .8s ease-in-out infinite alternate}
@keyframes loginPulse{to{transform:translateX(4px);opacity:.55}}
.security-note{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:23px;color:#87938e;font-size:10px}
.security-note svg{width:15px;height:15px;fill:none;stroke:#6c8278;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.login-help{margin:20px 0 0;color:#8b9892;font-size:10px}

@media(max-width:760px){
  .login-shell{display:block;min-height:100svh}
  .login-story{display:none}
  .login-area{min-height:100svh;padding:30px 18px}
  .mobile-brand{display:block;width:112px;height:27px;margin:0 auto 26px 0;overflow:hidden}
  .mobile-brand img{width:112px;filter:none}
  .login-card{padding:31px 24px 27px;border-radius:18px;box-shadow:0 16px 45px rgba(25,52,41,.09)}
  .welcome-mark{display:none}
  .login-card h2{font-size:25px}
}
