/* =========================================================
   SUSTEXIA — TERMS
   ========================================================= */

.terms-page .site-header {
    position: relative !important;
    background: #f4f1e8 !important;
    color: #183b2d !important;
}

.terms-page .site-header .main-nav {
    color: #183b2d !important;
}

.terms-page .site-header .main-nav a {
    color: #183b2d !important;
}

.terms-page .site-header .main-nav a:hover {
    color: #183b2d !important;
    opacity: 0.6 !important;
}

.terms-page .site-header .brand {
    color: #183b2d !important;
}

.terms-page .site-header .brand img {
    display: block;
}

.terms-page .site-header .nav-toggle span {
    background: #183b2d !important;
}

body.terms-page.mobile-menu-open .main-nav {
    background: #183b2d !important;
}

body.terms-page.mobile-menu-open .main-nav a {
    color: white !important;
}

.terms-hero {
    background: var(--color-cream, #f4f1e8);
    min-height: 720px;
    display: flex;
    align-items: center;
}

.terms-hero-content {
    max-width: 900px;
    padding: 120px 0 100px;
}

.terms-hero h1 {
    margin: 28px 0 36px;
    font-size: clamp(60px, 7.5vw, 112px);
    line-height: 0.95;
    font-weight: 400;
    letter-spacing: -0.055em;
    color: var(--color-forest, #183b2d);
}

.terms-hero p {
    max-width: 560px;
    margin: 0;
    font-size: 21px;
    line-height: 1.65;
    color: var(--color-muted, #607269);
}


/* =========================================================
   INTRO
   ========================================================= */

.terms-intro {
    background: var(--color-off-white, #faf9f4);
}

.terms-intro-grid {
    display: grid;
    grid-template-columns: 30% 70%;
    gap: 60px;
}

.terms-intro-label {
    padding-top: 12px;
}

.terms-intro-content {
    max-width: 850px;
}

.terms-intro-content h2 {
    margin: 0 0 40px;
    max-width: 780px;
    font-size: clamp(42px, 5vw, 72px);
    line-height: 1.05;
    font-weight: 400;
    letter-spacing: -0.04em;
    color: var(--color-forest, #183b2d);
}

.terms-intro-content p {
    max-width: 720px;
    margin: 0 0 24px;
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-muted, #607269);
}

.terms-updated {
    margin-top: 48px !important;
    font-size: 13px !important;
    letter-spacing: 0.04em;
}


/* =========================================================
   GENERIC SECTION
   ========================================================= */

.terms-section {
    background: var(--color-off-white, #faf9f4);
}

.terms-section-sage {
    background: var(--color-sage, #e5ebe4);
}

.terms-section-cream {
    background: var(--color-cream, #f4f1e8);
}

.terms-section-header {
    max-width: 780px;
    margin-bottom: 75px;
}

.terms-section-header h2 {
    margin: 24px 0 0;
    font-size: clamp(44px, 5vw, 72px);
    line-height: 1.04;
    font-weight: 400;
    letter-spacing: -0.045em;
    color: var(--color-forest, #183b2d);
}


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

.terms-content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(24, 59, 45, 0.18);
}

.terms-content-item {
    min-height: 380px;
    padding: 42px 40px;
    background: var(--color-sage, #e5ebe4);
}

.terms-number {
    display: block;
    margin-bottom: 85px;
    font-size: 13px;
    letter-spacing: 0.12em;
    color: var(--color-muted, #607269);
}

.terms-content-item h3 {
    margin: 0 0 18px;
    font-size: 25px;
    line-height: 1.2;
    font-weight: 400;
    color: var(--color-forest, #183b2d);
}

.terms-content-item p {
    margin: 0;
    font-size: 16px;
    line-height: 1.75;
    color: var(--color-muted, #607269);
}


/* =========================================================
   SPLIT
   ========================================================= */

.terms-split {
    display: grid;
    grid-template-columns: 42% 58%;
    gap: 80px;
}

.terms-split-heading h2 {
    max-width: 520px;
    margin: 24px 0 0;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.05;
    font-weight: 400;
    letter-spacing: -0.045em;
    color: var(--color-forest, #183b2d);
}

.terms-text-content {
    max-width: 680px;
}

.terms-text-content p {
    margin: 0 0 28px;
    font-size: 17px;
    line-height: 1.8;
    color: var(--color-muted, #607269);
}


/* =========================================================
   DARK SECTIONS
   ========================================================= */

.terms-section-dark {
    background: var(--color-forest, #183b2d);
}

.terms-dark-grid {
    display: grid;
    grid-template-columns: 48% 52%;
    gap: 70px;
    align-items: start;
}

.terms-dark-grid h2 {
    max-width: 620px;
    margin: 24px 0 0;
    font-size: clamp(44px, 5vw, 74px);
    line-height: 1.03;
    font-weight: 400;
    letter-spacing: -0.045em;
    color: var(--color-cream, #f4f1e8);
}

.eyebrow-light {
    color: rgba(244, 241, 232, 0.65);
}

.terms-dark-content {
    max-width: 620px;
    padding-top: 10px;
}

.terms-dark-content p {
    margin: 0 0 26px;
    font-size: 17px;
    line-height: 1.8;
    color: rgba(244, 241, 232, 0.78);
}


/* =========================================================
   LONG FORM SECTIONS
   ========================================================= */

.terms-retention {
    max-width: 850px;
}

.terms-retention h2 {
    max-width: 780px;
    margin: 24px 0 34px;
    font-size: clamp(44px, 5vw, 72px);
    line-height: 1.04;
    font-weight: 400;
    letter-spacing: -0.045em;
    color: var(--color-forest, #183b2d);
}

.terms-retention p {
    max-width: 700px;
    margin: 0 0 24px;
    font-size: 17px;
    line-height: 1.8;
    color: var(--color-muted, #607269);
}


/* =========================================================
   DISCLAIMER
   ========================================================= */

.terms-disclaimer {
    max-width: 900px;
}

.terms-disclaimer h2 {
    max-width: 800px;
    margin: 24px 0 34px;
    font-size: clamp(44px, 5vw, 72px);
    line-height: 1.04;
    font-weight: 400;
    letter-spacing: -0.045em;
    color: var(--color-forest, #183b2d);
}

.terms-disclaimer p {
    max-width: 720px;
    margin: 0 0 24px;
    font-size: 17px;
    line-height: 1.8;
    color: var(--color-muted, #607269);
}


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

.terms-contact {
    background: var(--color-forest, #183b2d);
}

.terms-contact-inner {
    max-width: 850px;
}

.terms-contact-inner h2 {
    max-width: 760px;
    margin: 24px 0 28px;
    font-size: clamp(48px, 6vw, 82px);
    line-height: 1;
    font-weight: 400;
    letter-spacing: -0.05em;
    color: var(--color-cream, #f4f1e8);
}

.terms-contact-inner p {
    max-width: 600px;
    margin: 0 0 38px;
    font-size: 17px;
    line-height: 1.75;
    color: rgba(244, 241, 232, 0.75);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {

    .terms-hero {
        min-height: 620px;
    }

    .terms-intro-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .terms-content-grid {
        grid-template-columns: 1fr;
    }

    .terms-content-item {
        min-height: auto;
    }

    .terms-number {
        margin-bottom: 50px;
    }

    .terms-split {
        grid-template-columns: 1fr;
        gap: 60px;
    }

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


@media (max-width: 700px) {

    .terms-hero {
        min-height: 560px;
    }

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

    .terms-hero h1 {
        margin-top: 22px;
        font-size: clamp(54px, 14vw, 84px);
    }

    .terms-hero p {
        font-size: 18px;
    }

    .terms-section-header {
        margin-bottom: 55px;
    }

    .terms-content-item {
        padding: 34px 28px;
    }

    .terms-dark-grid h2,
    .terms-contact-inner h2 {
        font-size: clamp(44px, 12vw, 68px);
    }
}


@media (max-width: 420px) {

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

    .terms-intro-content h2,
    .terms-section-header h2,
    .terms-split-heading h2,
    .terms-retention h2,
    .terms-disclaimer h2 {
        font-size: 40px;
    }

    .terms-content-item {
        padding: 30px 22px;
    }

    .terms-content-item h3 {
        font-size: 22px;
    }

    .terms-contact-inner h2 {
        font-size: 42px;
    }
}