:root {
    color-scheme: dark;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #0b111b;
    color: #f5f7fb;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: #0b111b; }
button, input { font: inherit; }

.login-layout { min-height: 100vh; display: grid; grid-template-columns: minmax(360px, 44%) 1fr; }
.brand-panel { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 48px 56px; background: linear-gradient(145deg, #101a28, #07101a 72%); border-right: 1px solid #243245; }
.brand-panel::after { content: ""; position: absolute; width: 520px; height: 520px; right: -260px; bottom: -240px; border-radius: 50%; background: #ff6417; filter: blur(2px); opacity: .12; }
.brand { display: flex; align-items: center; gap: 14px; font-size: 12px; letter-spacing: .25em; font-weight: 800; }
.brand-mark, .mobile-brand b { display: grid; place-items: center; width: 57px; height: 57px; border-radius: 15px; color: white; background: #ff6417; letter-spacing: -.08em; font-size: 19px; }
.brand-message { position: relative; z-index: 1; max-width: 520px; }
.brand-message p, .eyebrow { color: #ff7a36; font-size: 11px; font-weight: 900; letter-spacing: .18em; }
.brand-message h1 { margin: 20px 0; font-size: clamp(48px, 5vw, 76px); line-height: .98; letter-spacing: -.055em; }
.brand-message > span { display: block; max-width: 430px; color: #91a2b8; font-size: 17px; line-height: 1.65; }
.signal { display: flex; align-items: end; gap: 6px; height: 38px; }
.signal i { width: 5px; border-radius: 5px; background: #ff6417; }
.signal i:nth-child(1), .signal i:nth-child(5) { height: 12px; opacity: .5; }
.signal i:nth-child(2), .signal i:nth-child(4) { height: 24px; opacity: .75; }
.signal i:nth-child(3) { height: 38px; }

.form-panel { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 38px; background: radial-gradient(circle at 75% 18%, #162231 0, #0b111b 34%); }
.login-card { width: min(100%, 430px); }
.mobile-brand { display: none; align-items: center; gap: 12px; margin-bottom: 42px; color: #a7b4c5; font-size: 11px; font-weight: 800; letter-spacing: .2em; }
.mobile-brand b { display: grid; width: 46px; height: 46px; border-radius: 12px; font-size: 16px; color: white; }
.login-card h2 { margin: 10px 0 8px; font-size: 40px; letter-spacing: -.035em; }
.intro { margin: 0 0 34px; color: #8291a6; line-height: 1.55; }
form > label { display: block; margin: 19px 0 8px; color: #cbd5e2; font-size: 13px; font-weight: 750; }
input { width: 100%; height: 52px; padding: 0 15px; color: #f7f9fc; background: #101925; border: 1px solid #2a3a4d; border-radius: 10px; outline: none; transition: border-color .2s, box-shadow .2s; }
input::placeholder { color: #5e6c7f; }
input:focus { border-color: #ff6417; box-shadow: 0 0 0 3px rgba(255,100,23,.14); }
.password-field { position: relative; }
.password-field input { padding-right: 76px; }
.password-field button { position: absolute; right: 8px; top: 8px; height: 36px; border: 0; color: #91a2b8; background: transparent; cursor: pointer; font-size: 12px; font-weight: 750; }
.submit-button { width: 100%; min-height: 52px; margin-top: 24px; padding: 0 24px; border: 0; border-radius: 10px; background: #ff6417; color: white; font-weight: 850; cursor: pointer; box-shadow: 0 12px 30px rgba(255,100,23,.2); }
.submit-button:hover { background: #ff762f; }
.submit-button:disabled { cursor: wait; opacity: .7; }
.form-error { margin-top: 16px; padding: 12px 14px; border: 1px solid #743732; border-radius: 9px; color: #ffaaa3; background: #291817; font-size: 13px; }
.support { margin-top: 28px; color: #65758a; text-align: center; font-size: 12px; }
.support a { color: #bac5d3; font-weight: 750; }
.form-panel footer { position: absolute; bottom: 24px; color: #536174; font-size: 11px; }

.app-ready-body { display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at top, #172433, #0b111b 55%); }
.app-ready-card { width: min(100%, 580px); padding: 42px; border: 1px solid #29384b; border-radius: 18px; background: #111a27; box-shadow: 0 28px 80px rgba(0,0,0,.25); }
.app-ready-card .mobile-brand { display: flex; }
.app-ready-card h1 { margin: 10px 0; font-size: 36px; }
.app-ready-card > p:not(.eyebrow) { color: #91a2b8; line-height: 1.6; }
.app-ready-card dl { margin: 28px 0 0; border-top: 1px solid #263548; }
.app-ready-card dl div { display: flex; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid #263548; }
.app-ready-card dt { color: #78899f; }
.app-ready-card dd { margin: 0; font-weight: 750; }
.app-ready-card dd i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #39d98a; }

@media (max-width: 820px) {
    .login-layout { display: block; }
    .brand-panel { display: none; }
    .form-panel { min-height: 100vh; padding: 28px 22px 70px; }
    .mobile-brand { display: flex; }
    .form-panel footer { position: static; margin-top: 54px; }
}
