:root {
    color-scheme: light;
    font-family: "Segoe UI", Arial, sans-serif;
    color: #101828;
    background: #f8f9fc;
    --sign-in-brand: #465fff;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
.sign-in { display: grid; grid-template-columns: minmax(440px, 1fr) minmax(440px, 1fr); min-height: 100dvh; }
.sign-in-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    min-width: 0;
    padding: 32px clamp(24px, 5vw, 72px) 24px;
}
.sign-in-brand {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #101828;
    text-decoration: none;
    font-size: 21px;
    letter-spacing: -.6px;
}
.sign-in-brand > span {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--sign-in-brand);
    color: #fff;
    font-weight: 800;
}
.sign-in-brand strong span { color: #667085; font-weight: 500; }
.sign-in-card {
    width: min(100%, 460px);
    padding: clamp(24px, 3vw, 42px);
    border: 1px solid #e4e7ec;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 35px #3440540b;
}
.sign-in-kicker { color: #4359da; font-size: 10px; letter-spacing: .12em; font-weight: 750; }
.sign-in-card h1 { margin: 12px 0 8px; font-size: clamp(26px, 3.1vw, 37px); letter-spacing: -.045em; line-height: 1.08; }
.sign-in-card p { margin: 0 0 26px; color: #536075; font-size: 14px; line-height: 1.55; }
.sign-in-card label { display: block; margin-bottom: 16px; font-size: 13px; font-weight: 650; }
.sign-in-card input {
    display: block;
    width: 100%;
    margin-top: 7px;
    min-height: 46px;
    padding: 10px 13px;
    border: 1px solid #cfd5e1;
    border-radius: 9px;
    background: #fff;
    color: #101828;
    font: inherit;
    font-size: 15px;
    font-weight: 400;
}
.sign-in-card input[readonly] { background: #f6f7fb; color: #475467; }
.sign-in-card :is(input, button):focus-visible { outline: 3px solid #8497ff; outline-offset: 2px; }
.sign-in-card small { display: block; margin: -6px 0 14px; color: #536075; }
.sign-in-card .sign-in-error { margin: 0 0 18px; padding: 10px 12px; border-radius: 8px; background: #fff1f0; color: #9c2b21; }
.sign-in-card button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    width: 100%;
    min-height: 46px;
    margin-top: 7px;
    border: 0;
    border-radius: 9px;
    background: #344cde;
    color: white;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}
.sign-in-card button:hover { background: #293fbf; }
.sign-in-main footer { align-self: flex-start; font-size: 12px; color: #667085; }
.sign-in-aside {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 36px;
    margin: 16px 16px 16px 0;
    padding: clamp(32px, 5vw, 78px);
    border-radius: 24px;
    background: radial-gradient(ellipse at 100% 0%, #415ce7 0%, transparent 55%), linear-gradient(150deg, #111c57, #263d9f);
    color: #fff;
    overflow: hidden;
}
.sign-in-aside-copy { max-width: 490px; }
.sign-in-aside-copy > span { color: #c9d2ff; font-size: 11px; font-weight: 700; letter-spacing: .16em; }
.sign-in-aside h2 { margin: 12px 0; font-size: clamp(36px, 4.7vw, 68px); line-height: 1.02; letter-spacing: -.055em; }
.sign-in-aside p { margin: 0; color: #e1e7ff; font-size: 16px; line-height: 1.6; }
.sign-in-art { position: relative; width: min(100%, 440px); }
.sign-in-screen { overflow: hidden; border: 1px solid #b2bfff77; border-radius: 16px; background: #ffffff19; box-shadow: 0 16px 36px #07133a58; }
.sign-in-screen-top { display: flex; gap: 6px; padding: 13px 16px; border-bottom: 1px solid #b2bfff55; }
.sign-in-screen-top i { width: 7px; height: 7px; border-radius: 50%; background: #d8dfffaa; }
.sign-in-screen-body { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 16px; }
.sign-in-screen-body span { display: block; min-height: 55px; border: 1px solid #b2bfff55; border-radius: 8px; background: #ffffff20; }
.sign-in-screen-body span:first-child { background: #818fff6b; }
.sign-in-status {
    position: absolute;
    right: -14px;
    bottom: -14px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 14px;
    border-radius: 10px;
    background: #fff;
    color: #27335c;
    font-size: 12px;
    font-weight: 650;
    box-shadow: 0 6px 18px #07133a40;
}
.sign-in-status i { width: 8px; height: 8px; border-radius: 50%; background: #12a875; }
@media (max-width: 900px) {
    .sign-in { grid-template-columns: 1fr; }
    .sign-in-aside { display: none; }
}
.sign-in-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 10px; line-height: 1.7; }
.sign-in-legal a { color: #667085; text-decoration: none; }
.sign-in-legal a:hover { color: #465fff; text-decoration: underline; text-underline-offset: 3px; }
