/* =========================================================
   CONVERTLY — DISCLAIMER PAGE
========================================================= */

.legal-hero {
    max-width: 900px;
    margin: 0 auto;
    padding: 85px 24px 55px;
    text-align: center;
    animation: disclaimerHeroIn .8s ease both;
}

.legal-hero h1 {
    margin: 22px 0 18px;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: clamp(44px, 6vw, 68px);
    line-height: 1.05;
    letter-spacing: -3px;
}

.legal-hero h1 span {
    background: linear-gradient(135deg, #6d5dfc, #a18fff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.legal-hero > p {
    max-width: 650px;
    margin: 0 auto 20px;
    color: #747681;
    font-size: 15px;
    line-height: 1.8;
}

.last-updated {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 13px;
    border: 1px solid #e6e5ec;
    border-radius: 50px;
    background: #fff;
    color: #8a8b95;
    font-size: 11px;
}

.last-updated strong {
    color: #555762;
}


/* =========================================================
   LEGAL LAYOUT
========================================================= */

.legal-layout {
    width: min(1150px, calc(100% - 48px));
    margin: 0 auto 110px;

    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 65px;
    align-items: start;
}


/* =========================================================
   SIDEBAR
========================================================= */

.legal-sidebar {
    position: sticky;
    top: 100px;
    padding: 20px 0;
}

.legal-nav-title {
    margin-bottom: 14px;
    color: #9698a2;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.legal-sidebar a {
    display: block;
    padding: 9px 13px;
    margin-bottom: 2px;

    border-radius: 8px;

    color: #777984;
    text-decoration: none;

    font-size: 11px;
    font-weight: 500;

    transition:
        color .2s ease,
        background .2s ease,
        transform .2s ease;
}

.legal-sidebar a:hover {
    background: #f3f1ff;
    color: #6d5dfc;
    transform: translateX(3px);
}

.legal-sidebar a.active {
    background: #f3f1ff;
    color: #6d5dfc;
    font-weight: 700;
}


/* =========================================================
   CONTENT
========================================================= */

.legal-content {
    min-width: 0;
    padding: 10px 0;
}

.legal-section {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 20px;

    padding-bottom: 48px;
    margin-bottom: 48px;

    border-bottom: 1px solid #ececf0;
}

.section-number {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border-radius: 11px;

    background: linear-gradient(
        135deg,
        #eeeaff,
        #f7f5ff
    );

    color: #6d5dfc;

    font-size: 10px;
    font-weight: 800;
}

.legal-section h2 {
    margin: 0 0 16px;

    font-family: "Plus Jakarta Sans", sans-serif;

    color: #1b1c24;

    font-size: 23px;
    letter-spacing: -.7px;

    scroll-margin-top: 100px;
}

.legal-section p {
    margin: 0 0 15px;

    color: #70727d;

    font-size: 13px;
    line-height: 1.9;
}

.legal-section p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   LIST
========================================================= */

.legal-section ul {
    margin: 16px 0 0;
    padding-left: 20px;
}

.legal-section li {
    margin-bottom: 10px;
    padding-left: 5px;

    color: #70727d;

    font-size: 13px;
    line-height: 1.7;
}

.legal-section li::marker {
    color: #6d5dfc;
}


/* =========================================================
   IMPORTANT NOTE
========================================================= */

.legal-note {
    margin-top: 22px;
    padding: 18px 20px;

    border: 1px solid #ded9ff;
    border-radius: 14px;

    background: linear-gradient(
        135deg,
        #f7f5ff,
        #fbfaff
    );
}

.legal-note strong {
    display: block;
    margin-bottom: 7px;

    color: #6252df;
    font-size: 11px;
}

.legal-note p {
    margin: 0;

    color: #6f6c82;
    font-size: 11px;
    line-height: 1.7;
}


/* =========================================================
   CONTACT BUTTON
========================================================= */

.legal-contact-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-top: 8px;
    padding: 12px 17px;

    border-radius: 10px;

    background: #6d5dfc;
    color: #fff;

    text-decoration: none;

    font-size: 11px;
    font-weight: 700;

    box-shadow:
        0 9px 25px rgba(109, 93, 252, .20);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.legal-contact-button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 14px 32px rgba(109, 93, 252, .28);
}

.legal-contact-button span {
    font-size: 15px;
}


/* =========================================================
   FINAL DISCLAIMER BOX
========================================================= */

.legal-disclaimer {
    padding: 22px 24px;

    border: 1px solid #e6e4ee;
    border-radius: 16px;

    background: #faf9fd;
}

.legal-disclaimer strong {
    display: block;
    margin-bottom: 7px;

    color: #4f5059;
    font-size: 11px;
}

.legal-disclaimer p {
    margin: 0;

    color: #858690;

    font-size: 11px;
    line-height: 1.75;
}


/* =========================================================
   DARK MODE
========================================================= */

body.dark .last-updated,
body.dark .legal-disclaimer {
    background: #1e1f28;
    border-color: rgba(255, 255, 255, .08);
}

body.dark .last-updated {
    color: #a5a6af;
}

body.dark .last-updated strong {
    color: #d5d5da;
}

body.dark .legal-sidebar a {
    color: #a6a7b0;
}

body.dark .legal-sidebar a:hover,
body.dark .legal-sidebar a.active {
    background: rgba(109, 93, 252, .13);
    color: #a69cff;
}

body.dark .legal-section {
    border-color: rgba(255, 255, 255, .08);
}

body.dark .legal-section h2 {
    color: #f2f2f5;
}

body.dark .legal-section p,
body.dark .legal-section li {
    color: #a9aab4;
}

body.dark .section-number {
    background: rgba(109, 93, 252, .14);
}

body.dark .legal-note {
    background: rgba(109, 93, 252, .09);
    border-color: rgba(109, 93, 252, .25);
}

body.dark .legal-note strong {
    color: #a69cff;
}

body.dark .legal-note p {
    color: #aaa9ba;
}

body.dark .legal-disclaimer strong {
    color: #dedee3;
}

body.dark .legal-disclaimer p {
    color: #a2a3ad;
}


/* =========================================================
   ANIMATION
========================================================= */

@keyframes disclaimerHeroIn {

    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 850px) {

    .legal-layout {
        grid-template-columns: 1fr;
        gap: 25px;

        width:
            min(750px, calc(100% - 40px));
    }

    .legal-sidebar {
        position: relative;
        top: auto;

        display: flex;
        flex-wrap: wrap;
        gap: 5px;

        padding: 0 0 15px;

        border-bottom:
            1px solid #ececf0;
    }

    .legal-nav-title {
        width: 100%;
        margin-bottom: 5px;
    }

    .legal-sidebar a {
        padding: 8px 10px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .legal-hero {
        padding: 65px 20px 45px;
    }

    .legal-hero h1 {
        font-size: 44px;
        letter-spacing: -2px;
    }

    .legal-hero > p {
        font-size: 14px;
    }

    .legal-layout {
        width: calc(100% - 30px);
        margin-bottom: 70px;
    }

    .legal-sidebar {
        display: grid;

        grid-template-columns: 1fr 1fr;

        gap: 3px;
    }

    .legal-nav-title {
        grid-column: 1 / -1;
    }

    .legal-sidebar a {
        font-size: 10px;
        padding: 8px 9px;
    }

    .legal-content {
        padding: 0;
    }

    .legal-section {
        grid-template-columns: 1fr;

        gap: 14px;

        padding-bottom: 35px;
        margin-bottom: 35px;
    }

    .section-number {
        width: 34px;
        height: 34px;
    }

    .legal-section h2 {
        font-size: 20px;
        margin-bottom: 13px;
    }

    .legal-section p,
    .legal-section li {
        font-size: 12px;
        line-height: 1.8;
    }

    .legal-note,
    .legal-disclaimer {
        padding: 16px 17px;
    }

    .legal-contact-button {
        width: 100%;
        box-sizing: border-box;
        justify-content: center;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .legal-hero,
    .legal-sidebar a,
    .legal-contact-button {
        animation: none !important;
        transition: none !important;
    }

}