/* =========================================
   ELAH.FM TERMS
========================================= */

.terms-page {
    color: #f3edf5;
}

.terms-shell {
    width: min(
        1220px,
        calc(100% - 64px)
    );
    margin: 0 auto;
}


/* =========================================
   HERO
========================================= */

.terms-hero {
    padding:
        125px
        0
        105px;
    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.06);
}

.terms-hero h1 {
    margin:
        18px
        0
        28px;
    max-width: 900px;
    font-size:
        clamp(
            64px,
            7vw,
            104px
        );
    line-height: 0.94;
    letter-spacing: -0.06em;
    font-weight: 450;
}

.terms-hero h1 span {
    display: block;
    background:
        linear-gradient(
            90deg,
            #e746bb,
            #a45fcd
        );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.terms-hero-copy {
    max-width: 750px;
    color: #938699;
    font-size: 18px;
    line-height: 1.75;
}

.terms-effective {
    margin:
        30px
        0
        0;
    color: #655a69;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}


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

.terms-content {
    padding:
        100px
        0
        130px;
}

.terms-layout {
    display: grid;
    grid-template-columns:
        240px
        minmax(0, 800px);
    gap: 100px;
    justify-content: center;
    align-items: start;
}


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

.terms-nav {
    position: sticky;
    top: 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 4px;
}

.terms-nav-label {
    margin-bottom: 20px;
    color: #8f648e;
    font-size: 9px;
    letter-spacing: 0.17em;
}

.terms-nav a {
    width: 100%;
    padding:
        8px
        0;
    color: #665b6a;
    font-size: 11px;
    line-height: 1.4;
    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.terms-nav a:hover {
    color: #c77bb7;
    transform: translateX(3px);
}


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

.terms-policy {
    min-width: 0;
}

.terms-section {
    padding:
        0
        0
        85px;
    margin-bottom: 85px;
    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.065);
    scroll-margin-top: 35px;
}

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

.terms-section h2 {
    margin:
        15px
        0
        30px;
    color: #eee6f0;
    font-size:
        clamp(
            38px,
            4vw,
            57px
        );
    line-height: 1.02;
    letter-spacing: -0.045em;
    font-weight: 450;
}

.terms-section h2 span {
    display: block;
    color: #c56cb6;
}

.terms-section h3 {
    margin:
        38px
        0
        14px;
    color: #d7cdd9;
    font-size: 19px;
    line-height: 1.4;
    font-weight: 500;
}

.terms-section p {
    margin:
        0
        0
        18px;
    color: #918497;
    font-size: 16px;
    line-height: 1.85;
}

.terms-section ul {
    margin:
        20px
        0
        28px;
    padding: 0;
    list-style: none;
}

.terms-section li {
    position: relative;
    margin-bottom: 12px;
    padding-left: 24px;
    color: #8c7f90;
    font-size: 15px;
    line-height: 1.7;
}

.terms-section li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 10px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #c55aac;
}


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

.terms-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    margin-top: 15px;
    padding:
        0
        25px;
    border:
        1px solid
        rgba(232, 63, 184, 0.34);
    border-radius: 100px;
    background:
        linear-gradient(
            135deg,
            rgba(232, 54, 178, 0.9),
            rgba(145, 77, 199, 0.9)
        );
    color: #fff;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.terms-contact {
    padding-bottom: 20px;
    border-bottom: 0;
}


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

@media (max-width: 950px) {

    .terms-layout {
        grid-template-columns:
            190px
            minmax(0, 1fr);
        gap: 55px;
    }

}


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

@media (max-width: 760px) {

    .terms-shell {
        width: calc(100% - 30px);
    }

    .terms-hero {
        padding:
            85px
            0
            75px;
    }

    .terms-hero h1 {
        font-size: 56px;
    }

    .terms-content {
        padding:
            65px
            0
            100px;
    }

    .terms-layout {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .terms-nav {
        position: static;
        flex-direction: row;
        overflow-x: auto;
        gap: 7px;
        padding-bottom: 5px;
        scrollbar-width: none;
    }

    .terms-nav::-webkit-scrollbar {
        display: none;
    }

    .terms-nav-label {
        display: none;
    }

    .terms-nav a {
        flex: 0 0 auto;
        width: auto;
        padding:
            9px
            13px;
        border:
            1px solid
            rgba(255, 255, 255, 0.07);
        border-radius: 100px;
        font-size: 9px;
    }

    .terms-nav a:hover {
        transform: none;
    }

    .terms-section {
        padding-bottom: 65px;
        margin-bottom: 65px;
    }

    .terms-section h2 {
        font-size: 41px;
    }

    .terms-section p {
        font-size: 15px;
    }

    .terms-section li {
        font-size: 14px;
    }

}