:root {
  color-scheme: light;
  --navy: #101c3a;
  --blue: #4b6cb7;
  --accent: #3478db;
  --ink: #182848;
  --muted: #667089;
  --line: #e3e8f0;
  --soft: #f7f9fc;
  --card: #fff;
  --shadow: 0 22px 70px rgba(26, 48, 91, .13), 0 2px 10px rgba(26, 48, 91, .05);
  font-family: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body { margin: 0; color: var(--ink); background: #f8faff; }
body::before { position: fixed; inset: 0; z-index: -2; content: ""; background: radial-gradient(circle at 14% 8%, rgba(120, 160, 238, .16), transparent 28%), radial-gradient(circle at 86% 80%, rgba(76, 108, 183, .11), transparent 32%); pointer-events: none; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.page-shell { width: min(1180px, calc(100% - 64px)); min-height: 100vh; margin: 0 auto; display: flex; flex-direction: column; }
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 29px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 18px; font-weight: 750; letter-spacing: -.03em; }
.brand:hover { text-decoration: none; }
.brand img { width: 31px; height: 31px; border-radius: 9px; }
.gateway-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; color: #52617a; background: rgba(255,255,255,.72); border: 1px solid rgba(227,232,240,.9); border-radius: 99px; font-size: 12px; }
.gateway-pill i, .status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #44bf7b; box-shadow: 0 0 0 4px rgba(68,191,123,.13); }
.login-layout { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) 430px; align-items: center; gap: clamp(55px, 9vw, 130px); padding: 58px 0 72px; }
.intro-copy { position: relative; min-height: 560px; padding-top: 34px; }
.eyebrow, .card-kicker { color: var(--accent); font-family: "SFMono-Regular", Consolas, monospace; font-size: 10px; font-weight: 700; letter-spacing: .15em; }
.intro-copy h1 { max-width: 610px; margin: 20px 0 18px; font-size: clamp(44px, 5.1vw, 70px); line-height: 1.08; letter-spacing: -.065em; }
.intro-copy h1 em { color: var(--blue); font-style: normal; }
.intro-copy > p { max-width: 480px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.intro-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; color: #5e6c85; font-size: 12px; }
.intro-points span { display: inline-flex; align-items: center; gap: 8px; }
.intro-points b { color: #9aaccc; font-family: monospace; font-size: 10px; }
.avatar-stage { position: absolute; right: 0; bottom: -12px; width: 280px; height: 245px; }
.avatar-stage img { position: absolute; right: 10px; bottom: 0; z-index: 2; width: 205px; height: 205px; object-fit: contain; filter: drop-shadow(0 16px 16px rgba(16,28,58,.22)); }
.orbit { position: absolute; right: -10px; bottom: 1px; width: 220px; height: 150px; border: 1px solid rgba(75,108,183,.22); border-radius: 50%; transform: rotate(-17deg); }
.orbit-two { right: 22px; bottom: 24px; width: 170px; height: 105px; border-color: rgba(75,108,183,.14); transform: rotate(22deg); }
.status-dot { position: absolute; right: 66px; top: 29px; z-index: 3; width: 10px; height: 10px; background: #8ff0b2; box-shadow: 0 0 0 6px rgba(143,240,178,.2); }
.login-card { width: 100%; padding: 35px 36px 27px; background: var(--card); border: 1px solid rgba(219,226,238,.95); border-radius: 24px; box-shadow: var(--shadow); }
.card-heading { display: flex; align-items: center; gap: 14px; }
.card-mark { display: grid; width: 42px; height: 42px; place-items: center; background: var(--navy); border-radius: 13px; box-shadow: 0 7px 14px rgba(16,28,58,.17); }
.card-mark img { width: 30px; height: 30px; border-radius: 8px; }
.card-kicker { display: block; color: #91a0ba; font-size: 9px; letter-spacing: .11em; }
.card-heading h2 { margin: 5px 0 0; font-size: 28px; letter-spacing: -.05em; }
.card-subtitle { margin: 20px 0 0; color: var(--muted); font-size: 14px; }
.message { margin-top: 18px; padding: 11px 13px; border-radius: 11px; color: #ad3f55; background: #fff2f4; font-size: 13px; line-height: 1.5; }
.message.ok { color: #28784d; background: #edf9f2; }
.field { display: flex; flex-direction: column; gap: 8px; margin-top: 19px; color: #4f5e78; font-size: 12px; font-weight: 700; }
.field-row { display: flex; justify-content: space-between; gap: 12px; }
.field-row a { font-weight: 600; }
.field input { width: 100%; padding: 13px 14px; color: var(--ink); background: var(--soft); border: 1px solid transparent; border-radius: 11px; outline: 0; font: inherit; font-size: 14px; font-weight: 400; transition: .2s ease; }
.field input::placeholder { color: #a4afc2; }
.field input:focus { background: #fff; border-color: #84a8e8; box-shadow: 0 0 0 4px rgba(52,120,219,.12); }
#submit-button { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 25px; padding: 14px 16px 14px 18px; color: #fff; background: var(--accent); border: 0; border-radius: 11px; box-shadow: 0 8px 16px rgba(52,120,219,.2); cursor: pointer; font: inherit; font-size: 14px; font-weight: 700; transition: .2s ease; }
#submit-button:hover { background: #2869c7; transform: translateY(-1px); }
#submit-button:disabled { opacity: .65; cursor: wait; transform: none; }
#submit-button span { font-size: 20px; font-weight: 400; line-height: 1; }
.card-footer { margin: 22px 0 0; color: #8994a8; text-align: center; font-size: 13px; }
.card-footer a { margin-left: 4px; font-weight: 700; }
.trust-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 16px; margin-top: 24px; padding-top: 20px; border-top: 1px solid #eef1f6; color: #9aa5b8; font-size: 10px; }
.trust-row span { display: inline-flex; align-items: center; gap: 5px; }
.trust-row i { display: inline-grid; width: 14px; height: 14px; place-items: center; color: var(--accent); background: #edf4ff; border-radius: 50%; font-size: 9px; font-style: normal; }
.footer { display: flex; justify-content: space-between; padding: 18px 0 27px; color: #a4aec0; border-top: 1px solid rgba(223,229,239,.8); font-size: 10px; letter-spacing: .03em; }
@media (max-width: 860px) { .login-layout { grid-template-columns: 1fr; gap: 8px; padding-top: 26px; } .intro-copy { min-height: 420px; padding-top: 16px; } .avatar-stage { right: 8%; bottom: -10px; transform: scale(.78); transform-origin: right bottom; } .intro-copy h1 { max-width: 520px; } .login-card { max-width: 480px; justify-self: center; } }
@media (max-width: 560px) { .page-shell { width: min(100% - 32px, 440px); } .topbar { padding: 20px 0; } .gateway-pill { padding: 7px 10px; font-size: 11px; } .intro-copy { min-height: 320px; } .intro-copy h1 { margin-top: 15px; font-size: 43px; } .intro-copy > p { font-size: 14px; line-height: 1.65; } .intro-points { margin-top: 18px; gap: 7px 14px; } .intro-points span { font-size: 10px; } .avatar-stage { right: -13px; bottom: -22px; transform: scale(.54); } .login-card { padding: 28px 22px 23px; border-radius: 20px; } .card-heading h2 { font-size: 25px; } .footer { gap: 10px; flex-direction: column; font-size: 9px; } }
