:root {
    --osomt-navy: #081b52;
    --osomt-text: #10285f;
    --osomt-muted: #6f86b4;
    --osomt-blue: #1766ff;
    --osomt-cyan: #39bfff;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body.osomt-auth-page {
    overflow: hidden;
    color: var(--osomt-text);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #edf6ff;
}

.osomt-auth-shell {
    position: fixed;
    inset: 0;
    overflow: auto;
    background: url("../images/auth-background.png") center center / cover no-repeat;
}

.osomt-auth-topbar {
    position: absolute;
    z-index: 2;
    top: 37px;
    left: 0;
    right: 0;
    max-width: 1540px;
    height: 64px;
    margin-inline: auto;
}

.osomt-auth-brand {
    position: absolute;
    left: 0;
    top: 0;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    color: var(--osomt-navy);
    text-decoration: none;
}

.osomt-auth-brand-mark {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 8px 12px rgba(31, 104, 235, .15));
}

.osomt-auth-brand-copy {
    display: grid;
    gap: 4px;
    align-content: center;
}

.osomt-auth-brand-wordmark {
    display: block;
    width: 176px;
    height: auto;
}

.osomt-auth-brand-copy > span {
    color: #7b91bd;
    font-size: 15px;
    line-height: 17px;
}

.osomt-auth-trust {
    position: absolute;
    top: 15px;
    right: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #6f86b4;
    font-size: 14px;
    line-height: 20px;
}

.osomt-auth-trust-icon,
.osomt-auth-benefit-icon {
    display: grid;
    place-items: center;
    color: var(--osomt-blue);
}
.osomt-auth-trust-icon { width: 35px; height: 35px; font-size: 24px; }

.osomt-auth-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 510px 544px;
    justify-content: space-between;
    column-gap: 0;
    max-width: 1540px;
    margin: 149px auto 0;
}

.osomt-auth-hero {
    margin-top: 79px;
    width: 510px;
}

.osomt-auth-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 27px;
    color: #6684bf;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .22em;
}
.osomt-auth-eyebrow > span {
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, #1c6fff, #8dccff);
}

.osomt-auth-hero h1 {
    margin: 0;
    color: #071b55;
    font-size: 48px;
    font-weight: 500;
    line-height: 47px;
    letter-spacing: -.035em;
}
.osomt-auth-title-line { display: block; }
.osomt-auth-title-line--one { font-size: 45px; }
.osomt-auth-title-line:last-child { letter-spacing: -.095em; }
.osomt-auth-hero h1 em,
.osomt-auth-hero h1 strong {
    color: #1c69f6;
    font-style: normal;
    font-weight: 600;
}

.osomt-auth-benefits {
    display: grid;
    gap: 17px;
    margin-top: 44px;
}
.osomt-auth-benefit {
    display: flex;
    align-items: center;
    gap: 19px;
    color: #6680b0;
    font-size: 14px;
    line-height: 21px;
}
.osomt-auth-benefit-icon {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    border: 1px solid rgba(116, 165, 234, .16);
    border-radius: 13px;
    background: rgba(255,255,255,.62);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 10px 28px rgba(50, 109, 194, .07);
    font-size: 24px;
    backdrop-filter: blur(10px);
}

.osomt-auth-login {
    width: 544px;
    height: 661px;
}
.osomt-login-card {
    width: 544px;
    height: 661px;
    padding: 44px 56px 34px;
    border: 1px solid rgba(139, 179, 232, .22);
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(255,255,255,.88), rgba(243,249,255,.79));
    box-shadow: 0 18px 40px rgba(78,124,190,.12), inset 0 1px 0 rgba(255,255,255,.96);
    backdrop-filter: blur(24px) saturate(1.3);
}

.osomt-login-card__brand {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 51px;
    gap: 12px;
}
.osomt-login-card__mark { width: 51px; height: 51px; object-fit: contain; }
.osomt-login-card__brand > span { display: grid; gap: 3px; align-content: center; }
.osomt-login-card__wordmark { display: block; width: 110px; height: auto; }
.osomt-login-card__brand small { color: #7890bd; font-size: 12px; line-height: 12px; }
.osomt-login-card__rule { display: flex; justify-content: center; margin: 24px 0 34px; }
.osomt-login-card__rule span {
    width: 38px;
    height: 1px;
    background: linear-gradient(90deg, #9bcaff, #286fff, #9bcaff);
}
.osomt-login-card__heading h2 {
    margin: 0;
    color: var(--osomt-navy);
    font-size: 32px;
    line-height: 35px;
    letter-spacing: -.035em;
}
.osomt-login-card__heading p {
    margin: 8px 0 34px;
    color: #7186b1;
    font-size: 17px;
    line-height: 20px;
}

.osomt-login-form { display: grid; }
.osomt-login-field {
    display: grid;
    gap: 8px;
    color: #0c2055;
    font-size: 14px;
    font-weight: 600;
    line-height: 17px;
}
.osomt-login-field + .osomt-login-field { margin-top: 23px; }
.osomt-login-control {
    display: flex;
    align-items: center;
    min-height: 48px;
    height: 48px;
    gap: 12px;
    padding-inline: 16px;
    border: 1px solid rgba(110, 153, 214, .28);
    border-radius: 12px;
    background: rgba(255,255,255,.58);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 6px 18px rgba(71, 115, 178, .04);
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.osomt-login-control:focus-within {
    border-color: rgba(38, 111, 255, .58);
    background: rgba(255,255,255,.82);
    box-shadow: 0 0 0 4px rgba(39,112,255,.08), inset 0 1px 0 rgba(255,255,255,.98);
}
.osomt-login-control > i { color: #6d89be; font-size: 20px; }
.osomt-login-control input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    color: #10265a;
    font: inherit;
    font-weight: 500;
    background: transparent;
}
.osomt-login-control input::placeholder { color: #91a2c6; font-weight: 400; }
.osomt-password-toggle {
    display: grid;
    place-items: center;
    width: 33px;
    height: 33px;
    margin-right: -6px;
    border: 0;
    border-radius: 8px;
    color: #6884b8;
    background: transparent;
    cursor: pointer;
}
.osomt-password-toggle:hover { color: #1f67ec; background: rgba(31,103,236,.06); }

.osomt-login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 23px;
    color: #173164;
    font-size: 14px;
    line-height: 20px;
}
.osomt-login-remember { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; }
.osomt-login-remember input { position: absolute; opacity: 0; pointer-events: none; }
.osomt-login-remember span {
    width: 19px;
    height: 19px;
    border: 1px solid rgba(86,132,201,.38);
    border-radius: 5px;
    background: rgba(255,255,255,.62);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.95);
}
.osomt-login-remember input:checked + span {
    border-color: #2470ff;
    background: #2470ff;
    box-shadow: inset 0 0 0 4px #2470ff, inset 0 0 0 6px #fff;
}
.osomt-login-help { color: #2872f2; font-weight: 600; text-decoration: none; }
.osomt-login-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: stretch;
    height: 52px;
    margin-top: 31px;
    border: 0;
    border-radius: 12px;
    color: #fff;
    font: inherit;
    font-size: 17px;
    font-weight: 600;
    background: linear-gradient(135deg, #2d7cff, #0e57ef);
    box-shadow: 0 14px 28px rgba(26,94,236,.24), inset 0 1px 0 rgba(255,255,255,.24);
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}
.osomt-login-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(26,94,236,.30), inset 0 1px 0 rgba(255,255,255,.28);
}
.osomt-login-card__footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 54px;
    color: #7b91b8;
    font-size: 12px;
    font-weight: 600;
    line-height: 14px;
    letter-spacing: .18em;
    white-space: nowrap;
}
.osomt-login-card__footer span { width: 26px; height: 1px; background: linear-gradient(90deg, transparent, #6fa6f7); }
.osomt-login-card__footer span:last-child { background: linear-gradient(90deg, #6fa6f7, transparent); }

.osomt-login-errors {
    display: grid;
    gap: 4px;
    margin: -12px 0 18px;
    padding: 12px 14px;
    border: 1px solid rgba(212,74,94,.18);
    border-radius: 10px;
    color: #a72e46;
    background: rgba(255,239,243,.72);
}
.osomt-login-errors p { margin: 0; }

.osomt-auth-right-note {
    position: absolute;
    z-index: 2;
    top: 695px;
    right: 96px;
    display: flex;
    gap: 18px;
    color: #6682b2;
    font-size: 12px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: .24em;
}
.osomt-auth-right-note > span { width: 1px; background: #5a91e8; }
.osomt-auth-footer {
    position: absolute;
    z-index: 2;
    top: 820px;
    left: 0;
    right: 0;
    max-width: 1540px;
    margin-inline: auto;
    color: #6782b3;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .5em;
}
.osomt-auth-footer > span { display: block; width: 38px; height: 1px; margin-bottom: 28px; background: #4c8dff; }
.osomt-auth-footer b { color: #246eff; font-size: 12px; }

@media (min-height: 1020px) and (min-width: 1181px) {
    .osomt-auth-topbar { top: 72px; }
    .osomt-auth-layout { margin-top: 184px; }
    .osomt-auth-right-note { top: 730px; }
    .osomt-auth-footer { top: 855px; }
}

@media (max-height: 850px) and (min-width: 1181px) {
    .osomt-auth-topbar { top: 20px; }
    .osomt-auth-layout { margin-top: 100px; }
    .osomt-auth-hero { margin-top: 70px; }
    .osomt-auth-right-note, .osomt-auth-footer { display: none; }
}

@media (max-height: 740px) and (min-width: 1181px) {
    .osomt-auth-topbar { top: 14px; }
    .osomt-auth-layout { margin-top: 58px; }
    .osomt-auth-hero { margin-top: 58px; }
}

@media (max-width: 1499px) and (min-width: 1181px) {
    .osomt-auth-topbar { left: 48px; right: 48px; max-width: none; }
    .osomt-auth-brand-mark { width: 54px; height: 54px; }
    .osomt-auth-brand-wordmark { width: 158px; }
    .osomt-auth-brand-copy > span { font-size: 14px; }
    .osomt-auth-layout {
        grid-template-columns: 470px 500px;
        justify-content: space-between;
        column-gap: 0;
        max-width: none;
        margin-left: 48px;
        margin-right: 48px;
    }
    .osomt-auth-hero { width: 470px; margin-top: 86px; }
    .osomt-auth-hero h1 { font-size: 44px; line-height: 44px; }
    .osomt-auth-title-line--one { font-size: 42px; }
    .osomt-auth-benefits { margin-top: 40px; }
    .osomt-auth-login, .osomt-login-card { width: 500px; }
    .osomt-login-card { padding-inline: 44px; }
    .osomt-auth-right-note { display: none; }
    .osomt-auth-footer { left: 48px; right: 48px; max-width: none; }
}

@media (max-width: 1180px) {
    .osomt-auth-shell { background-position: right center; }
    .osomt-auth-topbar { top: 28px; left: 32px; right: 32px; max-width: none; }
    .osomt-auth-brand-mark { width: 52px; height: 52px; }
    .osomt-auth-brand-wordmark { width: 148px; }
    .osomt-auth-brand-copy > span { font-size: 13px; }
    .osomt-auth-trust, .osomt-auth-hero, .osomt-auth-right-note, .osomt-auth-footer { display: none; }
    .osomt-auth-layout {
        display: flex;
        justify-content: center;
        max-width: 520px;
        margin: 110px auto 0;
    }
    .osomt-auth-login { width: 520px; height: auto; }
    .osomt-login-card { width: 520px; height: auto; min-height: 620px; padding: 42px 46px 34px; }
}

@media (max-height: 680px) and (max-width: 1180px) {
    .osomt-auth-topbar { top: 12px; }
    .osomt-auth-layout { margin-top: 72px; margin-bottom: 18px; }
    .osomt-login-card { min-height: 0; padding: 28px 34px 22px; }
    .osomt-login-card__brand { height: 42px; }
    .osomt-login-card__mark { width: 42px; height: 42px; }
    .osomt-login-card__rule { margin: 14px 0 18px; }
    .osomt-login-card__heading h2 { font-size: 28px; line-height: 31px; }
    .osomt-login-card__heading p { margin-bottom: 20px; }
    .osomt-login-field + .osomt-login-field { margin-top: 15px; }
    .osomt-login-options { margin-top: 15px; }
    .osomt-login-submit { margin-top: 18px; }
    .osomt-login-card__footer { margin-top: 20px; }
}

@media (max-width: 700px) {
    body.osomt-auth-page { overflow: hidden; }
    .osomt-auth-topbar { top: 22px; left: 22px; right: 22px; }
    .osomt-auth-brand { gap: 12px; }
    .osomt-auth-brand-mark { width: 46px; height: 46px; }
    .osomt-auth-brand-wordmark { width: 134px; }
    .osomt-auth-brand-copy > span { font-size: 12px; line-height: 14px; }
    .osomt-auth-layout { max-width: none; margin: 112px 18px 32px; }
    .osomt-auth-login { width: auto; flex: 1; max-width: 520px; }
    .osomt-login-card { width: auto; min-height: 0; height: auto; padding: 36px 28px 30px; border-radius: 24px; }
    .osomt-login-card__heading h2 { font-size: 30px; line-height: 33px; }
    .osomt-login-card__heading p { margin-bottom: 28px; font-size: 15px; line-height: 19px; }
    .osomt-login-card__rule { margin: 20px 0 28px; }
    .osomt-login-card__footer { margin-top: 38px; font-size: 12px; letter-spacing: .12em; }
}

@media (max-width: 430px) {
    .osomt-auth-topbar { top: 18px; left: 18px; right: 18px; }
    .osomt-auth-brand-mark { width: 42px; height: 42px; }
    .osomt-auth-brand-wordmark { width: 122px; }
    .osomt-auth-layout { margin: 92px 12px 24px; }
    .osomt-login-card { padding: 30px 20px 26px; border-radius: 20px; }
    .osomt-login-card__brand { height: 44px; }
    .osomt-login-card__mark { width: 44px; height: 44px; }
    .osomt-login-card__wordmark { width: 96px; }
    .osomt-login-card__rule { margin: 18px 0 24px; }
    .osomt-login-card__heading h2 { font-size: 28px; line-height: 31px; }
    .osomt-login-card__heading p { margin-bottom: 24px; font-size: 14px; line-height: 18px; }
    .osomt-login-field + .osomt-login-field { margin-top: 18px; }
    .osomt-login-options { gap: 12px; margin-top: 18px; font-size: 13px; }
    .osomt-login-submit { margin-top: 24px; }
    .osomt-login-card__footer { gap: 8px; margin-top: 30px; font-size: 12px; }
    .osomt-login-card__footer span { width: 16px; }
}

@media (max-width: 370px) {
    .osomt-auth-layout { margin-inline: 8px; }
    .osomt-login-card { padding-inline: 16px; }
    .osomt-login-options { align-items: flex-start; flex-direction: column; }
    .osomt-login-card__footer { white-space: normal; text-align: center; }
}

@media (max-height: 680px) and (max-width: 700px) {
    .osomt-auth-topbar { top: 12px; }
    .osomt-auth-layout { margin-top: 72px; margin-bottom: 12px; }
    .osomt-login-card { padding-top: 26px; padding-bottom: 20px; }
    .osomt-login-card__brand { height: 40px; }
    .osomt-login-card__mark { width: 40px; height: 40px; }
    .osomt-login-card__rule { margin: 12px 0 16px; }
    .osomt-login-card__heading p { margin-bottom: 18px; }
    .osomt-login-field + .osomt-login-field { margin-top: 14px; }
    .osomt-login-options { margin-top: 14px; }
    .osomt-login-submit { margin-top: 18px; }
    .osomt-login-card__footer { margin-top: 18px; }
}

.osomt-auth-page small {
    font-size: 12px;
}
