.ap-flow--legal {
    padding: 40px 0 72px;
}

.ap-legal {
    max-width: 980px;
    margin: 0 auto;
}

.ap-legal__meta {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 18px;
    color: #5b6882;
    font-size: 0.95rem;
}

.ap-legal__content {
    color: #23314f;
    line-height: 1.75;
    font-size: 1rem;
}

.ap-legal__content h2,
.ap-legal__content h3 {
    color: #12213f;
    margin-top: 28px;
    margin-bottom: 12px;
}

.ap-legal__content p,
.ap-legal__content li {
    margin-bottom: 12px;
}

.ap-legal__actions {
    margin-top: 24px;
}

.ap-cookie-entry-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(23, 37, 84, 0.58);
    backdrop-filter: blur(2px);
    z-index: 1400;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.ap-cookie-entry {
    width: min(650px, 100%);
    border-radius: 22px;
    padding: 28px 34px;
    box-shadow: 0 30px 80px rgba(11, 29, 77, 0.24);
}

.ap-cookie-entry__copy h3 {
    margin: 0 0 14px;
    color: #394d85;
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    line-height: 1.15;
}

.ap-cookie-entry__copy p {
    margin: 0;
    color: #41506f;
    font-size: 1.04rem;
    line-height: 1.7;
}

.ap-cookie-entry__link {
    border: 0;
    background: transparent;
    padding: 0;
    color: #305ed8;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.ap-cookie-entry__links {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 16px;
    font-size: 0.95rem;
    color: #5b6882;
}

.ap-cookie-entry__options {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.ap-cookie-option {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 12px;
    align-items: start;
    padding: 16px;
    border: 1px solid #dce6f8;
    border-radius: 18px;
    background: #f8fbff;
}

.ap-cookie-option input {
    margin-top: 4px;
}

.ap-cookie-option span {
    display: grid;
    gap: 4px;
}

.ap-cookie-option small {
    color: #5b6882;
    line-height: 1.5;
}

.ap-cookie-option--locked {
    background: #eef5ff;
}

.ap-cookie-entry__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 24px;
}

.ap-cookie-entry__btn {
    min-width: 220px;
    border-radius: 999px;
}

.ap-cookie-entry__btn.ap-btn--outline {
    background: #fff;
}

@media (max-width: 860px) {
    .ap-cookie-entry {
        padding: 22px 18px;
        border-radius: 20px;
    }

    .ap-cookie-entry__actions .ap-btn {
        width: 100%;
    }

    .ap-cookie-entry__btn {
        min-width: 100%;
    }
}
