.privacy-policy,
.policy-page {
    min-height: auto;
    overflow-x: hidden;
}

main {
    flex: 1;
    margin-bottom: 80px;
    display: flex;
}

@media (min-width: 1600px) {
    .contact-overlay {
        padding-top: 0;
        height: 380px;
        max-height: 100dvh;
    }
}

.legal-notice {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 30px 140px 40px 200px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
    gap: 24px;
}

.legal-notice h1 {
    font-size: 78px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 53px;
}

.legal-notice h2 {
    font-size: 24px;
    font-weight: 700;
    color: rgba(75, 71, 255, 1);
    font-family: 'Overpass', sans-serif;
}

.legal-notice p {
    font-size: 16px;
    line-height: 1.7;
    max-width: 900px;
}

.legal-notice a {
    color: inherit;
    text-decoration: underline;
}

.contact-footer-bg {
    height: auto;
}

@media (max-width: 1440px) {

    .legal-notice {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {

    .legal-notice {
        min-height: auto;
        padding: 30px 25px;
        justify-content: flex-start;
    }

    .legal-notice h1 {
        font-size: 38px;
        margin-bottom: 42px;
    }

    .legal-notice h2 {
        font-size: 23px;
    }

    .legal-notice p {
        font-size: 16px;
        line-height: 1.6;
    }
}

.privacy-policy {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 30px 140px 100px 260px;
    box-sizing: border-box;
    min-height: auto;
    position: relative;
    z-index: 2;
}

.privacy-policy h1,
.privacy-policy h2,
.privacy-policy h3,
.privacy-policy h4,
.privacy-policy p,
.privacy-policy ul {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.privacy-policy h2,
.privacy-policy h3,
.privacy-policy h4,
.privacy-policy p,
.privacy-policy ul {
    font-family: 'Overpass', sans-serif;
}

.privacy-policy h1 {
    font-size: 78px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 64px;
}

.privacy-policy h2 {
    font-size: 24px;
    font-weight: 700;
    color: rgba(75, 71, 255, 1) !important;
    margin-top: 48px;
    margin-bottom: 18px;
}

.privacy-policy h3 {
    font-size: 20px;
    font-weight: 700;
    color: rgba(75, 71, 255, 1) !important;
    margin-top: 36px;
    margin-bottom: 14px;
}

.privacy-policy h4 {
    font-size: 17px;
    font-weight: 700;

    margin-top: 24px;
    margin-bottom: 12px;
}

.privacy-policy p,
.privacy-policy li {
    font-size: 16px;
    line-height: 1.7;
}

.privacy-policy p {
    margin-bottom: 18px;
}

.privacy-policy ul {
    padding-left: 22px;
    margin-bottom: 18px;
}

.privacy-policy li {
    margin-bottom: 10px;
}

.privacy-policy a {
    color: inherit;
    text-decoration: underline;
    word-break: break-word;
}

@media (max-width: 768px) {

    .privacy-policy {
        padding: 30px 25px;
    }

    .privacy-policy h1 {
        font-size: 32px;
        margin-bottom: 42px;
    }

    .privacy-policy h2 {
        font-size: 23px;
        margin-top: 38px;
        margin-bottom: 16px;
    }

    .privacy-policy h3 {
        font-size: 19px;
        margin-top: 30px;
        margin-bottom: 14px;
    }

    .privacy-policy h4 {
        font-size: 16px;
        margin-top: 22px;
        margin-bottom: 10px;
    }

    .privacy-policy p,
    .privacy-policy li {
        font-size: 16px;
        line-height: 1.6;
    }
}

@media (min-width: 767px) and (max-width: 1030px) {

    .privacy-policy h1 {
        font-size: 54px;
    }

    .privacy-policy {
        padding: 30px 84px;
    }

    .legal-notice h1 {
        font-size: 54px;
    }

    .legal-notice {
        padding: 30px 84px;
    }
}

@media (max-width: 600px) {
    .footer {
        padding: 0 !important;
    }
}