:root { color-scheme: light; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #0b1733; background: #f5f8fc; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
.login-layout { min-height: 100vh; display: grid; grid-template-columns: minmax(300px, 43%) 1fr; }
.login-intro { color: #fff; background: #0a1428; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(28px, 5vw, 68px); }
.brand { display: flex; gap: 14px; align-items: center; font-size: 17px; font-weight: 700; line-height: 1.3; }
.brand small { color: #a8b8d3; font-size: 13px; font-weight: 400; }
.brand-mark { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 auto; border-radius: 11px; background: #3b6ee0; font-size: 21px; }
.intro-copy { max-width: 440px; padding: 56px 0; }
.intro-copy h1 { margin: 0; max-width: 12ch; font-size: clamp(32px, 4vw, 52px); line-height: 1.08; letter-spacing: -.035em; }
.intro-copy p { margin: 20px 0 0; color: #b7c4dc; line-height: 1.65; max-width: 36ch; }
.intro-foot { margin: 0; color: #96a8c6; font-size: 13px; }
.login-main { display: grid; align-items: center; justify-items: center; padding: 48px 28px; }
.login-form-wrap { width: min(100%, 400px); }
.login-form-wrap h2 { margin: 0 0 10px; font-size: 28px; letter-spacing: -.025em; }
.login-form-wrap > p { margin: 0; color: #596782; font-size: 15px; line-height: 1.6; }
form { display: grid; margin-top: 32px; }
label { margin: 0 0 8px; font-size: 14px; font-weight: 650; }
input { width: 100%; min-height: 48px; border: 1px solid #c5d2e4; border-radius: 9px; background: #fff; color: #0b1733; padding: 10px 12px; font: inherit; }
input + label { margin-top: 20px; }
input:focus-visible, button:focus-visible { outline: 3px solid #87a9f2; outline-offset: 2px; }
small { color: #596782; font-size: 13px; line-height: 1.5; }
form small { margin-top: 7px; }
.message { min-height: 25px; padding-top: 10px; color: #b42318; font-size: 13px; line-height: 1.4; }
button { min-height: 48px; margin-top: 12px; border: 0; border-radius: 9px; background: #315fc7; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
button:hover { background: #244caa; }
button:disabled { opacity: .65; cursor: wait; }
.recovery { margin-top: 28px !important; font-size: 13px !important; }
@media (max-width: 700px) { .login-layout { grid-template-columns: 1fr; } .login-intro { min-height: 210px; padding: 24px 28px; } .intro-copy { padding: 32px 0 8px; } .intro-copy h1 { max-width: none; font-size: 27px; } .intro-copy p { margin-top: 10px; font-size: 14px; } .intro-foot { display: none; } .login-main { align-items: start; padding: 38px 28px 56px; } }
