html.landing-gate-open,
html.landing-gate-open body {
    overflow: hidden;
}

html.landing-gate-open #aosoft-UserAccess-host {
    display: none !important;
}

.landing-gate {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    overflow-y: auto;
    background: var(--color-secondary);
    opacity: 1;
    transition: opacity .3s ease;
}

.landing-gate::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 1;
    background: linear-gradient(rgba(249, 226, 243, .72), rgba(242, 208, 233, .72));
    pointer-events: none;
}

.landing-gate[hidden] {
    display: none;
}

.landing-gate.is-leaving {
    opacity: 0;
    pointer-events: none;
}

.landing-gate__bg {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.landing-gate__box {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 640px;
    margin: auto;
    padding: 48px 40px;
    text-align: center;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(182, 61, 151, .15);
}

.landing-gate__logo {
    display: block;
    width: 100%;
    max-width: 460px;
    height: auto;
    margin: 0 auto 32px;
}

.landing-gate__title {
    margin: 0 0 12px;
    color: var(--color-primary);
}

.landing-gate__welcome {
    display: block;
    font-size: 1.375rem;
    font-weight: 500;
}

.landing-gate__org {
    display: block;
    font-size: 1.875rem;
    font-weight: 600;
}

.landing-gate__desc {
    margin: 0 0 32px;
    font-size: 1rem;
    font-weight: 300;
    color: #4b4b4b;
}

.landing-gate__actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.landing-gate__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    padding: 12px 28px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    border: 2px solid var(--color-primary);
    border-radius: 999px;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.landing-gate__btn:hover {
    transform: translateY(-2px);
}

.landing-gate__btn:focus-visible {
    outline: 3px solid rgba(182, 61, 151, .35);
    outline-offset: 3px;
}

.landing-gate__btn--new {
    color: #fff;
    background: var(--color-primary);
}

.landing-gate__btn--new:hover {
    background: #9a2f7f;
    border-color: #9a2f7f;
}

.landing-gate__btn--old {
    color: var(--color-primary);
    background: #fff;
}

.landing-gate__btn--old:hover {
    color: var(--color-primary);
    background: var(--color-secondary);
}

@media (max-width: 576px) {
    .landing-gate__box {
        padding: 32px 20px;
        border-radius: 16px;
    }

    .landing-gate__logo {
        margin-bottom: 24px;
    }

    .landing-gate__welcome {
        font-size: 1.125rem;
    }

    .landing-gate__org {
        font-size: 1.5rem;
    }

    .landing-gate__actions {
        flex-direction: column;
        gap: 12px;
    }

    .landing-gate__btn {
        width: 100%;
        min-width: 0;
    }
}
