body.page-login-gate {
    min-height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(255, 225, 134, 0.7), transparent 28%),
        radial-gradient(circle at top right, rgba(255, 210, 92, 0.38), transparent 24%),
        linear-gradient(180deg, #fff5c7 0%, #fff3bf 100%);
    color: #1c150d;
}

.login-gate {
    height: 100dvh;
    min-height: 100dvh;
    padding: clamp(16px, 2.8vh, 28px) 24px clamp(16px, 2.4vh, 24px);
}

.login-gate__shell {
    width: min(1216px, 100%);
    height: 100%;
    margin: 0 auto;
    display: grid;
    gap: 16px;
    grid-template-rows: auto minmax(0, 1fr) auto;
}

.login-brand {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: clamp(16px, 2.6vh, 27px);
    padding: 0;
}

.login-brand__logo {
    width: clamp(164px, 10.11vw, 194px);
    height: auto;
    object-fit: contain;
}

.login-brand__copy {
    display: grid;
    gap: 14px;
}

.login-brand__eyebrow {
    margin: 0;
    color: #71624d;
    font-size: clamp(16px, 0.94vw, 18px);
    font-weight: 500;
    letter-spacing: -0.03em;
}

.login-brand__copy h1 {
    margin: 0;
    color: #18120e;
    font-size: clamp(24px, 1.56vw, 30px);
    font-weight: 700;
    letter-spacing: -0.04em;
}

.login-gate__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 16px;
    align-items: stretch;
    justify-content: space-between;
    min-height: 0;
}

.login-hero-card,
.login-panel {
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 28px 60px rgba(120, 79, 14, 0.11);
}

.login-hero-card {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: min(500px, 100%);
    min-height: 0;
    isolation: isolate;
}

.login-hero-card__viewport {
    position: relative;
    width: 100%;
    height: 100%;
}

.login-hero-card__link {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s ease;
}

.login-hero-card__link.is-active {
    opacity: 1;
    pointer-events: auto;
}

.login-hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.login-hero-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(28, 18, 8, 0.03) 10%, rgba(18, 12, 7, 0.68) 100%),
        linear-gradient(90deg, rgba(18, 12, 7, 0.5) 0%, rgba(18, 12, 7, 0.08) 58%, rgba(18, 12, 7, 0) 100%);
    z-index: 0;
}

.login-hero-card__overlay {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 1;
    display: grid;
    width: 100%;
    box-sizing: border-box;
    gap: 16px;
    padding: 0 40px 50px;
    color: #ffffff;
}

.login-hero-card__overlay strong {
    color: var(--banner-title-color, #ffffff);
    font-size: 26px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.05em;
}

.login-hero-card__overlay span {
    width: fit-content;
    color: var(--banner-cta-color, rgba(255, 255, 255, 0.88));
    font-size: 16px;
    font-weight: 400;
    border-bottom: 0;
    padding-bottom: 0;
}

.login-hero-card__pagination {
    position: absolute;
    right: 24px;
    bottom: 20px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.login-hero-card__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.38);
    transition: width 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}

.login-hero-card__dot.is-active {
    width: 22px;
    background: rgba(255, 255, 255, 0.96);
}

.login-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: clamp(18px, 3vh, 30px);
    width: 100%;
    max-width: 600px;
    height: min(500px, 100%);
    padding: clamp(22px, 3.4vh, 34px);
    background: #ffffff;
    border-radius: 20px;
    box-shadow: none;
    backdrop-filter: none;
    justify-self: end;
}

.login-form {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    gap: clamp(20px, 2.8vh, 30px);
    width: 100%;
    max-width: 532px;
    padding: 0 0 clamp(18px, 2.8vh, 30px);
    border-bottom: 1px solid #dddddd;
}

.login-form__stack {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: clamp(14px, 2vh, 20px);
    width: 100%;
}

.login-form__fields {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(18px, 2.4vh, 24px);
    width: 100%;
}

.login-field {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    min-height: 64px;
}

.login-field span {
    color: #1d1712;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.02em;
    width: 100%;
}

.login-field span em {
    color: #f0a115;
    font-style: normal;
}

.login-field input {
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    height: 44px;
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid #eaeaea;
    background: transparent;
    color: #1d1712;
    font-size: 15px;
    line-height: 1.5;
    padding: 0 12px;
}

.login-field input::placeholder {
    color: #999999;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
}

.login-field input:focus {
    outline: none;
    border-color: #f0a115;
}

.login-form__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    min-height: 20px;
    padding-top: 0;
}

.login-check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #131313;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
}

.login-check input {
    appearance: none;
    box-sizing: border-box;
    position: relative;
    display: inline-block;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 1px solid #eaeaea;
    border-radius: 3px;
    background: #ffffff;
    vertical-align: middle;
}

.login-check input:focus,
.login-check input:focus-visible {
    outline: 1px solid rgba(15, 122, 102, 0.75);
    outline-offset: 1px;
}

.login-check input:checked::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 8px;
    height: 5px;
    border-left: 1.5px solid #ffa600;
    border-bottom: 1.5px solid #ffa600;
    transform: translate(-50%, -58%) rotate(-45deg);
}

.login-form__help {
    color: #111111;
    font-size: 15px;
    font-weight: 400;
    line-height: 18px;
    text-decoration: none;
}

.login-form__actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    min-height: clamp(46px, 5vh, 54px);
}

.login-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    min-height: clamp(46px, 5vh, 54px);
    height: clamp(46px, 5vh, 54px);
    border-radius: 999px;
    border: 1px solid #d9d3cb;
    background: #ffffff;
    color: #1e1711;
    font-size: 16px;
    font-weight: 600;
    line-height: 19px;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.login-action:hover,
.login-action:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 14px 24px rgba(116, 78, 15, 0.1);
}

.login-action--primary {
    border-color: #f4a000;
    background: #ffa600;
    color: #ffffff;
}

.login-action--secondary {
    border-color: #f0a115;
    background: #ffffff;
}

.login-action--muted {
    background: #f6f6f6;
    border-color: #dddddd;
    color: #000000;
}

.login-support {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: clamp(12px, 2vh, 20px);
    width: 100%;
    max-width: 532px;
    padding-top: 0;
    border-top: 0;
}

.login-support__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 65px;
    width: 100%;
}

.login-support__head h2,
.login-support__head strong,
.login-support p,
.login-support a {
    margin: 0;
}

.login-support__head h2 {
    color: #000000;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.login-support__head strong {
    color: #4a392a;
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
}

.login-support p {
    color: #000000;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
}

.login-support a {
    color: #000000;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    text-decoration: none;
}

.login-support__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
}

.login-support__body p,
.login-support__body a {
    width: 100%;
}

.login-highlights {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    min-height: clamp(120px, 16vh, 166px);
    background: transparent;
    border: 0;
    border-radius: 0;
    overflow: visible;
}

.login-highlight {
    display: grid;
    align-content: start;
    justify-items: center;
    gap: clamp(6px, 1.2vh, 8px);
    padding: clamp(14px, 2vh, 22px) clamp(12px, 1vw, 18px) clamp(12px, 1.8vh, 20px);
    text-align: center;
}

.login-highlight + .login-highlight {
    border-left: 1px solid rgba(181, 155, 102, 0.24);
}

.login-highlight img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.login-highlight strong {
    color: #1f1812;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.04em;
}

.login-highlight p {
    margin: 0;
    color: #6c604f;
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 767px) {
    body.page-login-gate {
        overflow: auto;
    }

    .login-gate {
        height: auto;
        min-height: 100vh;
        padding: 28px 15px 36px;
    }

    .login-gate__shell {
        height: auto;
        grid-template-rows: none;
        gap: 18px;
    }

    .login-gate__grid {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .login-brand {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-bottom: 0;
        padding: 0;
        text-align: center;
    }

    .login-brand__logo {
        width: min(176px, 52vw);
    }

    .login-brand__copy {
        gap: 10px;
        justify-items: center;
    }

    .login-brand__eyebrow {
        font-size: 14px;
        line-height: 1.45;
    }

    .login-brand__copy h1 {
        font-size: 24px;
    }

    .login-panel {
        gap: 22px;
        height: auto;
        padding: 22px 18px 20px;
        border-radius: 24px;
        box-shadow: 0 16px 34px rgba(120, 79, 14, 0.08);
        backdrop-filter: none;
        justify-self: center;
    }

    .login-hero-card {
        height: auto;
        min-height: 276px;
        border-radius: 22px;
        box-shadow: 0 18px 36px rgba(120, 79, 14, 0.12);
        justify-self: center;
    }

    .login-hero-card__overlay {
        gap: 10px;
        padding: 0 18px 22px;
    }

    .login-hero-card__pagination {
        right: 18px;
        bottom: 14px;
        gap: 6px;
    }

    .login-hero-card__dot {
        width: 7px;
        height: 7px;
    }

    .login-hero-card__dot.is-active {
        width: 18px;
    }

    .login-hero-card__overlay strong {
        font-size: 18px;
        line-height: 1.45;
        letter-spacing: -0.04em;
    }

    .login-hero-card__overlay span {
        font-size: 13px;
        padding-bottom: 3px;
    }

    .login-field span {
        font-size: 14px;
        letter-spacing: -0.01em;
    }

    .login-field input {
        min-height: 54px;
        font-size: 14px;
        padding-bottom: 2px;
    }

    .login-form__meta {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        padding-top: 0;
    }

    .login-form__help,
    .login-check {
        font-size: 14px;
    }

    .login-form__actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .login-action {
        min-height: 42px;
        font-size: 14px;
        border-radius: 999px;
    }

    .login-action--muted {
        grid-column: 1 / -1;
        min-height: 42px;
    }

    .login-support__head {
        flex-direction: row;
        align-items: baseline;
        gap: 14px;
    }

    .login-support__head h2 {
        font-size: 16px;
    }

    .login-support__head strong {
        font-size: 18px;
    }

    .login-support p,
    .login-support a {
        font-size: 13px;
        line-height: 1.55;
    }

    .login-highlights {
        grid-template-columns: 1fr;
        gap: 0;
        background: transparent;
        border: 0;
        border-radius: 0;
        overflow: visible;
    }

    .login-highlight {
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 4px 16px;
        align-items: center;
        justify-items: start;
        padding: 18px 4px;
        text-align: left;
    }

    .login-highlight img {
        grid-column: 1;
        grid-row: 1 / span 2;
        width: 42px;
        height: 42px;
    }

    .login-highlight strong,
    .login-highlight p {
        grid-column: 2;
        text-align: left;
    }

    .login-highlight strong {
        font-size: 14px;
        line-height: 1.4;
    }

    .login-highlight p {
        font-size: 12px;
        line-height: 1.5;
    }

    .login-highlight + .login-highlight {
        border-left: 0;
        border-top: 1px solid rgba(181, 155, 102, 0.3);
    }
}

@media (max-width: 420px) {
    .login-gate {
        padding-inline: 14px;
    }

    .login-panel {
        padding-inline: 18px;
    }

    .login-form {
        gap: 20px;
    }

    .login-field {
        gap: 8px;
    }

    .login-check {
        gap: 8px;
    }

    .login-check input {
        flex-basis: 15px;
        width: 15px;
        height: 15px;
        min-height: 0;
        padding: 0;
    }
}
