/* ==========================================================
   TERMS & CONDITIONS
========================================================== */

.terms-page {
    background: var(--background);
}


/* ==========================================================
   CONTAINER
========================================================== */

.terms-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 35px 25px 100px;
}


/* ==========================================================
   HEADER
========================================================== */

.terms-header {
    padding: 10px 0 55px;
    border-bottom: 1px solid var(--border);
}

.terms-eyebrow {
    display: block;

    margin-bottom: 12px;

    color: var(--primary);

    font-size: .72rem;
    font-weight: 700;

    letter-spacing: 2px;
    text-transform: uppercase;
}

.terms-header h1 {
    margin: 0 0 18px;

    color: var(--text);

    font-size: clamp(2.7rem, 5vw, 4rem);
    line-height: 1.05;
}

.terms-header p {
    max-width: 680px;

    margin: 0;

    color: var(--text-light);

    font-size: 1rem;
    line-height: 1.8;
}


/* ==========================================================
   MAIN TEXT
========================================================== */

.terms-text {
    padding-top: 55px;
}

.terms-text p {
    max-width: 820px;

    margin: 0 0 24px;

    color: var(--text-light);

    font-size: .96rem;
    line-height: 1.9;
}

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


/* ==========================================================
   LINKS
========================================================== */

.terms-text a {
    color: var(--primary);

    font-weight: 600;

    text-decoration: none;

    transition:
        color .2s ease,
        opacity .2s ease;
}

.terms-text a:hover {
    color: var(--primary-dark);
}


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

@media (max-width: 768px) {

    .terms-container {
        padding: 25px 22px 75px;
    }


    /* Header */

    .terms-header {
        padding-bottom: 42px;
    }

    .terms-header h1 {
        font-size: 2.8rem;
    }

    .terms-header p {
        font-size: .96rem;
        line-height: 1.75;
    }


    /* Text */

    .terms-text {
        padding-top: 42px;
    }

    .terms-text p {
        font-size: .95rem;
        line-height: 1.85;
        margin-bottom: 22px;
    }

}


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

@media (max-width: 600px) {

    .terms-container {
        padding: 20px 20px 60px;
    }


    /* Header */

    .terms-header {
        padding-bottom: 35px;
    }

    .terms-eyebrow {
        margin-bottom: 10px;

        font-size: .68rem;
        letter-spacing: 1.7px;
    }

    .terms-header h1 {
        margin-bottom: 15px;

        font-size: 2.35rem;
        line-height: 1.08;
    }

    .terms-header p {
        font-size: .94rem;
        line-height: 1.7;
    }


    /* Text */

    .terms-text {
        padding-top: 35px;
    }

    .terms-text p {
        margin-bottom: 20px;

        font-size: .92rem;
        line-height: 1.85;
    }

}


/* ==========================================================
   VERY SMALL MOBILE
========================================================== */

@media (max-width: 380px) {

    .terms-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .terms-header h1 {
        font-size: 2.15rem;
    }

    .terms-text p {
        font-size: .9rem;
        line-height: 1.8;
    }

}