:root {
    --navy-light: #124A6B;
    --navy: #0B3349;
    --navy-glow: #1B5B7F;
    --teal: #12668A;
    --teal-dark: #0E5474;
    --orange: #F0A028;
    --lede: #7EA8C0;
    --ink: #12293A;
    --muted: #8C939B;
    --line: #DDE3E8;
    --radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    color: var(--ink);
}

.shell {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: clamp(28px, 4vw, 56px) clamp(24px, 5vw, 72px) clamp(24px, 3vw, 40px);
    background:
        radial-gradient(110% 80% at 72% 96%, rgba(27, 91, 127, 0.50) 0%, rgba(27, 91, 127, 0) 62%),
        linear-gradient(155deg, var(--navy-light) 0%, var(--navy) 58%, #0E3E58 100%);
    overflow: hidden;
}

.shell > .aspNetHidden { display: none; }

.shell__map {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    height: 100%;
    width: auto;
    max-width: none;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.shell::after {
    content: "";
    position: absolute;
    right: -10%;
    bottom: -34%;
    width: 70%;
    padding-top: 70%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(120, 190, 225, 0.10) 0%, rgba(120, 190, 225, 0) 68%);
    pointer-events: none;
    z-index: 0;
}

.main {
    position: relative;
    z-index: 1;
    flex: 1;
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 452px;
    gap: clamp(28px, 4vw, 64px);
    align-items: center;
}

.pane__intro { min-width: 0; }

.kicker {
    margin: 0 0 18px;
    color: var(--orange);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.pane__intro h1 {
    margin: 0;
    
    max-width: 13em;
    color: #fff;
    font-size: clamp(30px, 3.8vw, 50px);
    
    font-weight: 900;
    line-height: 1.10;
    letter-spacing: -0.02em;
}

.lede {
    margin: 20px 0 0;
    max-width: 46ch;
    color: var(--lede);
    font-size: clamp(15px, 1.2vw, 17px);
    line-height: 1.5;
}

.partners {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1260px;
    margin: clamp(28px, 4vh, 48px) auto 0;
}

.partners__label {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-align: center;
}

.partners__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.partners__grid li {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 46px;
    padding: 7px 10px;
    background: #fff;
    border-radius: 6px;
}

.partners__grid img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.auth {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
}

.card {
    width: 100%;
    max-width: 100%;
    padding: clamp(28px, 3vw, 44px);
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 24px 60px rgba(4, 22, 34, 0.28);
}

.brand { display: flex; align-items: center; gap: 12px; }

.brand__mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
    background: var(--orange);
    border-radius: 11px;
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.brand__name { font-size: 23px; font-weight: 900; letter-spacing: -0.01em; }
.brand__name .lit { color: var(--ink); }
.brand__name .mis { color: var(--orange); margin-left: 6px; }

.card__lede { margin: 18px 0 26px; color: var(--muted); font-size: 15px; }

.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 700; color: var(--ink); }

.field input[type="text"],
.field input[type="password"] {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    font-family: inherit;
    font-size: 15px;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.field input:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(18, 102, 138, 0.14);
}

.btn-signin {
    width: 100%;
    height: 48px;
    margin-top: 8px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    background: var(--teal);
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    transition: background .15s ease;
}

.btn-signin:hover { background: var(--teal-dark); }
.btn-signin:focus-visible { outline: 3px solid rgba(18, 102, 138, .35); outline-offset: 2px; }

.card__foot { margin-top: 18px; text-align: center; }

.link-quiet {
    color: var(--teal);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    background: none;
    border: 0;
    padding: 0;
    font-family: inherit;
    cursor: pointer;
}
.link-quiet:hover { text-decoration: underline; }

.hint {
    display: none;
    margin: 12px 0 0;
    padding: 11px 13px;
    background: #F1F6F9;
    border-radius: 8px;
    color: #3C5766;
    font-size: 13px;
    line-height: 1.45;
    text-align: left;
}
.hint.is-open { display: block; }

.alert {
    display: none;
    margin-bottom: 18px;
    padding: 12px 14px;
    background: #FDECEC;
    border-left: 3px solid #D64545;
    border-radius: 6px;
    color: #8F2A2A;
    font-size: 14px;
    line-height: 1.4;
}
.alert.is-open { display: block; }

@media (max-width: 980px) {
    .shell { padding: 32px 22px 28px; }
    .main {
        grid-template-columns: 1fr;
        gap: 28px;
        align-items: start;
    }
    .pane__intro h1 { max-width: none; font-size: clamp(26px, 6.4vw, 36px); }
    .lede { font-size: 15px; }
    .auth { justify-content: center; }
    .card { max-width: 500px; box-shadow: 0 16px 40px rgba(4, 22, 34, 0.22); }
    .partners { margin-top: 34px; }
    .partners__grid li { width: 78px; height: 40px; }
}

@media (max-width: 420px) {
    .partners__grid li { width: 66px; height: 36px; }
    .partners__label { letter-spacing: 0.10em; }
}
