.legal-links {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: flex-end;
}

.legal-links a{
    color: #42151c!important;
    font-size: 12px!important;
    line-height: 24px;
    text-transform: uppercase;
}

.legal-links .legal-link {
    text-decoration: none;
    font-size: 12px;
    letter-spacing: .02em;
}

.legal-links .legal-link:hover {
    text-decoration: underline;
}

.legal-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.legal-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);
}

.legal-modal__dialog {
    position: relative;
    margin: 6vh auto;
    max-width: 900px;
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    max-height: 88vh;
    overflow: auto;
    box-shadow: 0 10px 40px rgba(0,0,0,.2);
}

.legal-modal__close {
    position: absolute;
    right: 12px;
    top: 8px;
    font-size: 28px;
    background: transparent;
    border: 0;
    cursor: pointer;
    line-height: 1;
}

.legal-modal__title {
    margin: 0 32px 16px 0;
    font-size: 20px;
}

.legal-modal__content {
    font-size: 14px;
    line-height: 1.6;
}