:root {
  color-scheme: light;
  font-family: Inter, "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  color: #13213a;
  background: #eef3f9;
}

* { box-sizing: border-box; }

body { margin: 0; min-height: 100vh; }

.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(420px, 1.1fr) minmax(380px, .9fr);
  align-items: center;
  gap: clamp(48px, 8vw, 120px);
  padding: clamp(40px, 7vw, 110px);
  background:
    radial-gradient(circle at 12% 14%, rgba(50, 111, 205, .17), transparent 32%),
    linear-gradient(135deg, #f8fbff, #e7eef8);
}

.login-intro { max-width: 720px; }
.brand-mark { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: #163f82; color: white; font-size: 27px; font-weight: 800; box-shadow: 0 16px 36px rgba(22, 63, 130, .22); }
.eyebrow { margin: 28px 0 10px; color: #3368ae; font-size: 12px; font-weight: 800; letter-spacing: .16em; }
h1 { margin: 0; font-size: clamp(40px, 5vw, 67px); line-height: 1.14; letter-spacing: -.04em; color: #102f63; }
.intro-copy { max-width: 610px; margin: 24px 0; font-size: 18px; line-height: 1.8; color: #53647d; }
.security-note { display: inline-flex; align-items: center; gap: 9px; padding: 10px 14px; border: 1px solid #cad8eb; border-radius: 999px; color: #365577; background: rgba(255,255,255,.58); font-size: 14px; }
.security-note span { color: #16815d; font-weight: 800; }

.login-card { width: 100%; max-width: 470px; justify-self: end; padding: clamp(30px, 4vw, 50px); border: 1px solid rgba(255,255,255,.8); border-radius: 28px; background: rgba(255,255,255,.92); box-shadow: 0 30px 80px rgba(31, 55, 90, .17); backdrop-filter: blur(12px); }
.login-card .eyebrow { margin-top: 0; }
h2 { margin: 0; color: #163a72; font-size: 30px; }
.muted, .help-text { color: #758399; line-height: 1.6; }
form { display: grid; gap: 20px; margin-top: 32px; }
label { display: grid; gap: 9px; font-size: 14px; font-weight: 700; color: #32445f; }
input { width: 100%; padding: 14px 15px; border: 1px solid #cbd5e4; border-radius: 12px; background: #f9fbfe; color: #15243c; font: inherit; outline: none; transition: .2s; }
input:focus { border-color: #3978ca; box-shadow: 0 0 0 4px rgba(57, 120, 202, .12); background: white; }
button { min-height: 50px; border: 0; border-radius: 12px; background: #174a91; color: white; font: inherit; font-weight: 800; cursor: pointer; box-shadow: 0 12px 22px rgba(23, 74, 145, .22); }
button:hover { background: #123d7a; }
button:disabled { opacity: .65; cursor: wait; }
.form-error { margin: -5px 0 0; padding: 11px 13px; border-radius: 10px; background: #fff0f0; color: #a72e2e; font-size: 14px; }
.help-text { margin: 22px 0 0; text-align: center; font-size: 13px; }
.help-text a { display: inline-block; margin-top: 8px; color: #2465ad; font-weight: 700; }

@media (max-width: 850px) {
  .login-page { grid-template-columns: 1fr; padding: 28px 20px; gap: 30px; }
  .login-intro h1 { font-size: 38px; }
  .intro-copy { font-size: 16px; }
  .login-card { justify-self: stretch; max-width: none; }
}
