.wrap {
    max-width: none;
    margin: 0;
    padding: 0;
}

.nova-login {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(440px, .92fr);
    min-height: 100svh;
    background: #f6f7fa;
}

.nova-login__portrait {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    color: #fff;
    background: var(--ssh-ink);
}

.nova-login__portrait > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 30%;
}

.nova-login__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(2, 15, 90, .60) 0%, transparent 29%),
        linear-gradient(90deg, rgba(2, 15, 90, .82) 0%, rgba(2, 15, 90, .41) 48%, rgba(2, 15, 90, .05) 80%),
        linear-gradient(0deg, rgba(2, 15, 64, .92) 0%, rgba(2, 15, 76, .08) 60%);
}

.nova-login__brand {
    position: absolute;
    top: clamp(28px, 5vw, 55px);
    left: clamp(28px, 5vw, 70px);
    display: flex;
    align-items: center;
    padding: 13px 17px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 10px 35px rgba(2, 15, 90, .20);
}

.nova-login__brand img {
    display: block;
    width: clamp(176px, 17vw, 222px);
    height: auto;
}

.nova-login__intro {
    position: absolute;
    left: clamp(28px, 5vw, 70px);
    bottom: clamp(72px, 10vh, 112px);
    width: min(520px, calc(100% - 56px));
}

.nova-login__eyebrow {
    margin: 0 0 16px;
    color: var(--ssh-gold);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.nova-login__intro h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(3rem, 5.4vw, 4.75rem);
    font-weight: 600;
    letter-spacing: -.045em;
    line-height: .99;
    text-shadow: 0 5px 26px rgba(2, 15, 64, .22);
}

.nova-login__lead {
    max-width: 470px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, .88);
    font-size: 1rem;
    line-height: 1.7;
}

.nova-login__promise {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 27px 0 0;
    font-size: .88rem;
    font-weight: 600;
}

.nova-login__promise span {
    display: grid;
    place-items: center;
    width: 29px;
    height: 29px;
    border: 1px solid rgba(255, 193, 7, .72);
    border-radius: 50%;
    color: var(--ssh-gold);
    background: rgba(2, 15, 90, .42);
}

.nova-login__role {
    position: absolute;
    right: 28px;
    bottom: 24px;
    margin: 0;
    color: rgba(255, 255, 255, .57);
    font-size: .68rem;
    letter-spacing: .05em;
}

.nova-login__access {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100svh;
    padding: 52px clamp(42px, 6vw, 96px) 28px;
    background:
        radial-gradient(circle at 84% 5%, rgba(255, 193, 7, .10), transparent 27%),
        #f7f8fb;
}

.nova-login__mobile-brand { display: none; }

.nova-login__form-wrap {
    width: 100%;
    max-width: 450px;
    margin: auto;
}

.nova-login__form-wrap header { margin-bottom: 37px; }
.nova-login__form-wrap header h2 {
    margin: 0;
    color: var(--ssh-ink);
    font-size: clamp(2.2rem, 3.7vw, 3.05rem);
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: 1.08;
}

.nova-login__form-wrap header > p:last-child {
    max-width: 390px;
    margin: 13px 0 0;
    color: var(--ssh-muted);
    font-size: .96rem;
    line-height: 1.65;
}

.nova-login__form { display: grid; gap: 9px; }
.nova-login__form label { color: #30384b; font-size: .82rem; font-weight: 700; }
.nova-login__label-row { display: flex; justify-content: space-between; margin-top: 13px; }
.nova-login__field { position: relative; display: flex; align-items: center; }
.nova-login__field > svg {
    position: absolute;
    left: 16px;
    z-index: 1;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #7b8090;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

.nova-login__field input {
    width: 100%;
    min-height: 55px;
    padding: 0 48px;
    border: 1px solid #d8dbe5;
    border-radius: 9px;
    background: rgba(255, 255, 255, .88);
    color: var(--ssh-text);
    font: inherit;
    font-size: .91rem;
    box-shadow: 0 1px 0 #fff;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.nova-login__field input::placeholder { color: #9da1ad; }
.nova-login__field input:focus {
    outline: none;
    border-color: var(--ssh-gold);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 193, 7, .17);
}

.nova-login__show-password {
    position: absolute;
    right: 9px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 7px;
    color: #717788;
    background: transparent;
    cursor: pointer;
}

.nova-login__show-password:hover { color: var(--ssh-ink); background: #f0f1f5; }
.nova-login__show-password:focus-visible { outline: 2px solid var(--ssh-gold); outline-offset: 1px; }
.nova-login__show-password svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; }

.nova-login__submit {
    width: 100%;
    min-height: 55px;
    margin-top: 16px;
    border-radius: 28px;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(2, 15, 90, .17);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.nova-login__submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 13px 28px rgba(2, 15, 90, .23);
}

.nova-login__submit span { margin-left: 7px; color: var(--ssh-gold); font-size: 1.25rem; line-height: 1; }
.nova-login__secure { margin: 16px 0 0; color: #7c8190; font-size: .72rem; text-align: center; }
.nova-login__secure span { color: #967200; }
.nova-login__responsibility {
    margin: 36px 0 0;
    padding: 18px 20px;
    border-left: 3px solid var(--ssh-gold);
    border-radius: 0 8px 8px 0;
    color: #666c7a;
    background: rgba(255, 247, 214, .58);
    font-size: .78rem;
    line-height: 1.62;
}

.nova-login__footer { display: flex; justify-content: space-between; gap: 20px; color: #8e929e; font-size: .66rem; }
.nova-login .error { margin-bottom: 22px; font-size: .84rem; }

@media (max-width: 960px) {
    .nova-login { grid-template-columns: .94fr 1.06fr; }
    .nova-login__access { padding-inline: clamp(32px, 5vw, 58px); }
    .nova-login__intro h1 { font-size: clamp(2.7rem, 5.8vw, 3.7rem); }
    .nova-login__lead { font-size: .9rem; }
}

@media (max-width: 740px) {
    .nova-login { display: block; }
    .nova-login__portrait { min-height: 310px; }
    .nova-login__portrait > img { object-position: 50% 25%; }
    .nova-login__overlay { background: linear-gradient(0deg, rgba(2, 15, 90, .93) 0%, rgba(2, 15, 90, .12) 82%); }
    .nova-login__brand, .nova-login__lead, .nova-login__role { display: none; }
    .nova-login__intro { left: 23px; bottom: 23px; width: calc(100% - 46px); }
    .nova-login__intro .nova-login__eyebrow { margin-bottom: 7px; font-size: .62rem; }
    .nova-login__intro h1 { font-size: 2.25rem; line-height: 1.02; }
    .nova-login__promise { margin-top: 12px; font-size: .73rem; }
    .nova-login__promise span { width: 24px; height: 24px; }
    .nova-login__access { min-height: auto; padding: 29px 22px 24px; }
    .nova-login__mobile-brand { display: block; margin-bottom: 39px; }
    .nova-login__mobile-brand img { display: block; width: 205px; height: auto; }
    .nova-login__form-wrap { max-width: 520px; }
    .nova-login__form-wrap header { margin-bottom: 29px; }
    .nova-login__form-wrap header h2 { font-size: 2.15rem; }
    .nova-login__responsibility { margin-top: 30px; }
    .nova-login__footer { margin-top: 42px; }
}

@media (max-width: 420px) {
    .nova-login__portrait { min-height: 275px; }
    .nova-login__access { padding-inline: 18px; }
    .nova-login__mobile-brand { margin-bottom: 33px; }
    .nova-login__form-wrap header h2 { font-size: 1.95rem; }
    .nova-login__form-wrap header > p:last-child { font-size: .88rem; }
    .nova-login__footer { flex-direction: column; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
    .nova-login *, .nova-login *::before, .nova-login *::after { transition-duration: .01ms !important; }
}
