/* General Section Styling */
section {
    background-color: #ffffff;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-top: 4rem;
}

/* PAGE HEADER */
.terms-header {
    text-align: center;
}
.terms-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}
.terms-header p {
    font-size: 1.125rem;
    color: #4b5563; /* gray-700 */
    max-width: 60ch;
    margin: 0 auto;
}

/* TERMS CONTENT */
.terms-content {
    max-width: 80ch;
    margin: 4rem auto 0;
    line-height: 1.75;
}
.terms-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    margin-top: 2rem;
}
.terms-content p {
    color: #4b5563;
    margin-bottom: 1rem;
}
.terms-content ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    color: #4b5563;
    margin-bottom: 1rem;
}
.terms-content ul li {
    margin-bottom: 0.5rem;
}

/* CTA */
.terms-cta {
    text-align: center;
    background-color: #1d4ed8; /* blue-700 */
    color: #ffffff;
    padding: 3rem;
    border-radius: 1rem;
    margin-top: 6rem;
}
.terms-cta h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.terms-cta p {
    font-size: 1.125rem;
    max-width: 60ch;
    margin: 0 auto 1.5rem;
}
.cta-button {
    background-color: #ffffff;
    color: #1d4ed8;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
.cta-button:hover {
    background-color: #f3f4f6; /* gray-100 */
}


/* ==========================
   Terms & Conditions Responsive
========================== */

/* Large screens / smaller desktops */
@media (max-width: 1024px) {
    .terms-content {
        max-width: 70ch;
        margin: 3rem auto 0;
    }
}

/* Tablets / medium screens */
@media (max-width: 768px) {
    .terms-header h1 {
        font-size: 2rem;
    }
    .terms-header p {
        font-size: 1rem;
    }
    .terms-content h2 {
        font-size: 1.5rem;
    }
    .terms-content p,
    .terms-content ul li {
        font-size: 0.95rem;
    }
    .terms-cta h2 {
        font-size: 1.75rem;
    }
    .terms-cta p {
        font-size: 1rem;
    }
    section {
        padding: 2rem;
    }
}

/* Small phones / very small screens */
@media (max-width: 480px) {
    .terms-header h1 {
        font-size: 1.75rem;
    }
    .terms-header p {
        font-size: 0.95rem;
    }
    .terms-content h2 {
        font-size: 1.25rem;
    }
    .terms-content p,
    .terms-content ul li {
        font-size: 0.9rem;
    }
    .terms-cta h2 {
        font-size: 1.5rem;
    }
    .terms-cta p {
        font-size: 0.95rem;
    }
    section {
        padding: 1.5rem;
    }
    .terms-cta {
        padding: 2rem;
    }
    .cta-button {
        padding: 0.65rem 1.5rem;
        font-size: 0.95rem;
    }
}
