.page-popup {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.page-popup.is-open {
    opacity: 1;
    visibility: visible;
}

.page-popup__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
}

.page-popup__dialog {
    position: relative;
    width: 100%;
    max-width: 64rem;
    max-height: min(85vh, 72rem);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 1.6rem;
    box-shadow: 0 2.4rem 6.4rem rgba(0, 0, 0, 0.18);
    color: #323d46;
    transform: translateY(1.2rem);
    transition: transform 0.25s ease;
}

.page-popup.is-open .page-popup__dialog {
    transform: translateY(0);
}

.page-popup__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.6rem;
    padding: 2.4rem 2.4rem 0;
    flex-shrink: 0;
}

.page-popup__title {
    margin: 0;
    font-size: 2.4rem;
    font-weight: 600;
    line-height: 1.2;
    color: #000;
}

.page-popup__close {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.06);
    color: #323d46;
    font-size: 2.4rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease;
}

.page-popup__close:hover {
    background: rgba(0, 0, 0, 0.1);
}

.page-popup__body {
    overflow-y: auto;
    padding: 1.6rem 2.4rem 2.4rem;
    -webkit-overflow-scrolling: touch;
}

.page-popup__lead {
    margin: 0 0 2rem;
    font-size: 1.6rem;
    line-height: 1.55;
    color: #323d46;
}

.page-popup__section + .page-popup__section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.page-popup__heading {
    margin: 0 0 0.8rem;
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.3;
    color: #000;
}

.page-popup__text {
    margin: 0;
    font-size: 1.5rem;
    line-height: 1.55;
    color: #323d46;
}

.page-popup__list {
    margin: 0;
    padding-left: 2rem;
    font-size: 1.5rem;
    line-height: 1.55;
    color: #323d46;
}

.page-popup__list li + li {
    margin-top: 0.6rem;
}

.page-popup__highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    margin: 0 0 2.4rem;
    padding: 1.6rem;
    background: linear-gradient(135deg, #f0f5ff 0%, #f8f9fb 100%);
    border-radius: 1.2rem;
}

.page-popup__highlight {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    text-align: center;
}

.page-popup__highlight-value {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    color: #0057ff;
}

.page-popup__highlight-label {
    font-size: 1.3rem;
    line-height: 1.35;
    color: #5a6570;
}

@media (max-width: 767px) {
    .page-popup {
        padding: 1rem;
    }

    .page-popup__dialog {
        max-height: 92vh;
        border-radius: 1.2rem;
    }

    .page-popup__header {
        padding: 1.6rem 1.6rem 0;
    }

    .page-popup__body {
        padding: 1.2rem 1.6rem 1.6rem;
    }

    .page-popup__title {
        font-size: 2rem;
    }

    .page-popup__highlights {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}
