.terms-page {
    --color-cream: #FFFBF5;
    --color-ivory: #F7F3ED;
    --color-gold: #B8860B;
    --color-gold-light: #D4A853;
    --color-gold-dark: #8B6914;
    --color-charcoal: #1C1C1C;
    --color-charcoal-soft: #3A3A3A;
    --color-taupe: #A69080;
    --color-taupe-light: #C4B5A5;

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', 'Inter', -apple-system, sans-serif;

    font-family: var(--font-body);
    color: var(--color-charcoal);
    background-color: var(--color-cream);
}

.terms-page *,
.terms-page *::before,
.terms-page *::after {
    box-sizing: border-box;
}

.terms-page a {
    color: var(--color-gold-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.terms-page a:hover {
    color: var(--color-gold);
}

.terms-page .container {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    padding: 0 2rem;
}

.terms-page .heading-display {
    font-family: var(--font-display);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

/* Page header */

.terms-header {
    padding: 5rem 2rem 3rem;
    border-bottom: 1px solid var(--color-taupe-light);
    margin-bottom: 3rem;
}

.terms-title {
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    color: var(--color-charcoal);
    margin: 0 0 0.75rem;
}

.terms-effective {
    color: var(--color-taupe);
    padding: 0 0 14px;
}

/* Content */

.terms-content {
    padding-bottom: 6rem;
}

.terms-section {
    padding-bottom: 3rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--color-taupe-light);
}

.terms-section:last-of-type {
    border-bottom: none;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 300;
    color: var(--color-charcoal);
    margin: 0 0 1.5rem;
    letter-spacing: -0.01em;
}

.section-body p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--color-charcoal-soft);
    margin: 0 0 1rem;
}

.section-body h3 {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-charcoal);
    margin: 1.75rem 0 0.6rem;
}

.section-body ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}

.section-body ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-charcoal-soft);
}

.section-body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.75em;
    width: 8px;
    height: 1px;
    background-color: var(--color-gold);
}

.section-body strong {
    font-weight: 600;
    color: var(--color-charcoal);
}

/* Footer note */

.terms-footer-note {
    margin-top: 1rem;
    padding: 1.5rem 2rem;
    background-color: var(--color-ivory);
    border-left: 3px solid saddlebrown;
}

.terms-footer-note p {
    line-height: 1.7;
    color: var(--color-taupe);
    margin: 0 0 0.5rem;
}

.terms-footer-note a:hover {
    text-decoration: underline;
}

.terms-footer-note p:last-child {
    margin: 0;
}

@media (max-width: 576px) {
    .terms-header {
        padding: 3.5rem 1.5rem 2rem;
    }

    .terms-page .container {
        padding: 0 1.5rem;
    }
}

main {
    padding-top: 160px;
    padding-bottom: 40px;
}

.terms-container-main {
    display: grid;
    justify-content: center; /* Centers horizontally */
    padding: 1rem;
    row-gap: 28px;
}

.terms-heading-title {
    font-family: var(--font-body);
    font-size: 60px;
    font-weight: 700;
    letter-spacing: -0.02em;
    padding: 0 0 14px;
    color: #111;
}

.terms-heading {
    border-bottom: 1px solid black;
}



.terms-body {
    display: grid;
    border-bottom: 1px solid black;
    row-gap: 14px; /* Adjust the spacing here */
    padding: 0 0 14px;

    .terms-body-title {
        font-family: var(--font-display);
        font-size: 48px;
        font-weight: 400;
        line-height: 1.1;
        color: #111;
    }

    ul {
        padding-left: 20px; /* Indents from the left */
    }
}