:root {
  color-scheme: light;
  --night: #071b3d;
  --night-deep: #020b1f;
  --ink: #0b203e;
  --muted: #66758a;
  --line: #dbe3ee;
  --violet: #4a2dff;
  --cobalt: #245af5;
  --cyan: #45d7e9;
  font-family: "Segoe UI Variable", "Segoe UI", Inter, Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: #f5f8fc; color: var(--ink); }
.login-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(420px, 46%) 1fr; }
.login-story {
  position: relative; overflow: hidden; padding: clamp(36px, 5vw, 76px);
  display: flex; flex-direction: column; justify-content: space-between;
  color: #fff; background: radial-gradient(circle at 78% 18%, rgba(41,91,255,.32), transparent 38%), linear-gradient(145deg, var(--night-deep), var(--night));
}
.login-brand { position: relative; z-index: 2; width: fit-content; }
.login-brand-logo { display: block; width: clamp(270px, 22vw, 370px); height: auto; }
.login-copy { position: relative; z-index: 2; max-width: 590px; }
.login-eyebrow { color: #6d7e96; font-size: 11px; font-weight: 750; letter-spacing: .22em; }
.login-story .login-eyebrow { color: #74dceb; }
.login-copy h1 { margin: 18px 0; max-width: 620px; font-size: clamp(42px, 4.6vw, 68px); line-height: 1.01; letter-spacing: -.052em; }
.login-copy p { max-width: 590px; margin: 0; color: #c8d4e6; font-size: 17px; line-height: 1.6; }
.login-story small { color: #95a7bd; font-size: 12px; }
.login-watermark { position: absolute; width: min(46vw, 560px); height: auto; right: -150px; bottom: -120px; opacity: .16; transform: rotate(-7deg); pointer-events: none; }
.login-panel { display: grid; place-items: center; padding: 36px; background: #fff; }
.login-panel form { width: min(100%, 430px); }
.mobile-brand { display: none; }
.login-panel h2 { margin: 12px 0 8px; font-size: 36px; letter-spacing: -.035em; }
.login-panel form > p { margin: 0 0 34px; color: var(--muted); line-height: 1.55; }
.login-panel label { display: grid; gap: 8px; margin: 0 0 20px; color: #263b57; font-size: 13px; font-weight: 650; }
.login-panel input { width: 100%; min-height: 48px; border: 1px solid #cbd6e4; border-radius: 7px; padding: 0 14px; color: var(--ink); background: #fff; font: inherit; outline: none; transition: border-color .16s, box-shadow .16s; }
.login-panel input:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(74,45,255,.12); }
.password-wrap { position: relative; display: block; }
.password-wrap input { padding-right: 82px; }
.password-wrap button { position: absolute; right: 8px; top: 8px; height: 32px; border: 0; color: #4d45df; background: transparent; font-weight: 650; cursor: pointer; }
.login-panel .remember-option { display: flex; align-items: flex-start; gap: 10px; margin: -2px 0 20px; cursor: pointer; }
.login-panel .remember-option input { width: 18px; min-height: 18px; margin: 2px 0 0; padding: 0; accent-color: var(--cobalt); flex: 0 0 auto; }
.remember-option span { display: grid; gap: 3px; }
.remember-option strong { color: #263b57; font-size: 13px; font-weight: 650; }
.remember-option small { color: var(--muted); font-size: 12px; font-weight: 400; line-height: 1.35; }
.login-submit { width: 100%; min-height: 50px; border: 0; border-radius: 7px; color: #fff; background: linear-gradient(100deg, #2a5bf4, #5127ef); font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 9px 25px rgba(62,45,224,.18); }
.login-submit:disabled { opacity: .62; cursor: wait; }
.login-message { min-height: 24px; color: #ba2b3c; font-size: 13px; }
@media (max-width: 850px) {
  .login-shell { display: block; }
  .login-story { display: none; }
  .login-panel { min-height: 100vh; padding: 28px 22px; }
  .mobile-brand { display: block; margin-bottom: 56px; }
  .mobile-brand img { display: block; width: min(230px, 72vw); height: auto; }
}
