/* =========================================
   LEGAL PAGE
========================================= */

.legal-page {
    padding: 70px 0 110px;
}

.legal-page__container {
    width: min(calc(100% - 80px), 1050px);
    margin: 0 auto;
}


/* =========================================
   HEADER
========================================= */

.legal-page__header {
    padding-bottom: 42px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.legal-page__label {
    display: block;

    margin-bottom: 16px;

    color: #d92e35;

    font-size: 10px;
    letter-spacing: 5px;

    text-transform: uppercase;
}

.legal-page__header h1 {
    margin: 0;

    color: #f3f0ed;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(38px, 4vw, 58px);
    font-weight: 400;

    line-height: 1.1;
    letter-spacing: -1px;
}

.legal-page__header p {
    margin: 18px 0 0;

    color: #777f84;

    font-size: 14px;
    line-height: 1.7;
}


/* =========================================
   CONTENT
========================================= */

.legal-page__content {
    max-width: 900px;

    padding-top: 10px;
}


/* =========================================
   SECTION
========================================= */

.legal-section {
    padding: 38px 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.legal-section:last-child {
    border-bottom: 0;
}


/* =========================================
   TITLES
========================================= */

.legal-section h2 {
    position: relative;

    margin: 0 0 22px;
    padding-left: 20px;

    color: #e9e6e3;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 23px;
    font-weight: 400;

    line-height: 1.35;
}

.legal-section h2::before {
    content: "";

    position: absolute;

    left: 0;
    top: 5px;

    width: 2px;
    height: 22px;

    background: #d92e35;
}


/* =========================================
   TEXT
========================================= */

.legal-section p {
    margin: 0 0 18px;

    color: #aeb3b6;

    font-size: 14px;
    line-height: 1.85;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-section strong {
    color: #e5e3e0;
    font-weight: 500;
}


/* =========================================
   LINKS
========================================= */

.legal-section a {
    color: #d8dadd;

    text-decoration: underline;
    text-decoration-color: rgba(217, 46, 53, 0.7);
    text-underline-offset: 4px;

    transition:
        color 0.2s ease,
        text-decoration-color 0.2s ease;
}

.legal-section a:hover {
    color: #ffffff;

    text-decoration-color: #d92e35;
}


/* =========================================
   LISTS
========================================= */

.legal-section ul {
    margin: 22px 0;
    padding: 0;

    list-style: none;
}

.legal-section li {
    position: relative;

    margin-bottom: 14px;
    padding-left: 24px;

    color: #aeb3b6;

    font-size: 14px;
    line-height: 1.75;
}

.legal-section li:last-child {
    margin-bottom: 0;
}

.legal-section li::before {
    content: "";

    position: absolute;

    left: 3px;
    top: 11px;

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: #d92e35;
}


/* =========================================
   TEXT SELECTION
========================================= */

.legal-page ::selection {
    background: rgba(217, 46, 53, 0.35);
    color: #ffffff;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .legal-page {
        padding:
            55px 0
            90px;
    }

    .legal-page__container {
        width: min(calc(100% - 40px), 1050px);
    }

    .legal-page__header {
        padding-bottom: 35px;
    }

    .legal-section {
        padding: 32px 0;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .legal-page {
        padding:
            38px 0
            70px;
    }

    .legal-page__container {
        width: calc(100% - 24px);
    }

    .legal-page__header {
        padding-bottom: 28px;
    }

    .legal-page__label {
        margin-bottom: 12px;

        font-size: 9px;
        letter-spacing: 4px;
    }

    .legal-page__header h1 {
        font-size: 36px;
        line-height: 1.08;
    }

    .legal-page__header p {
        margin-top: 14px;

        font-size: 13px;
    }

    .legal-section {
        padding: 28px 0;
    }

    .legal-section h2 {
        margin-bottom: 18px;
        padding-left: 16px;

        font-size: 20px;
    }

    .legal-section h2::before {
        top: 4px;

        height: 20px;
    }

    .legal-section p,
    .legal-section li {
        font-size: 13px;
        line-height: 1.8;
    }

    .legal-section li {
        padding-left: 20px;
    }
}