/* ================= TERMS CONTAINER ================= */
.terms-container {
    max-width: 900px;        /* Keeps content readable */
    margin: 50px auto;       /* Centered on page */
    padding: 30px 20px;      /* Inner spacing */
    background-color: #f9f9f9; /* Light background for readability */
    border-radius: 12px;     /* Rounded corners */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    font-family: 'Inter', 'Segoe UI', 'Roboto', sans-serif;
    color: #111827;          /* Dark text color */
    line-height: 1.7;        /* Comfortable reading */
}

/* Headings */
.terms-container h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1f2937;
    text-align: center;
}

.terms-container h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #111827;
    border-bottom: 2px solid #e5e7eb; /* Light underline for sections */
    padding-bottom: 5px;
}

/* Paragraphs */
.terms-container p {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #374151;
}

/* Links */
.terms-container a {
    color: #2563eb;          /* Primary blue */
    text-decoration: none;
    transition: color 0.2s ease;
}

.terms-container a:hover {
    color: #1e40af;          /* Darker blue on hover */
    text-decoration: underline;
}

/* Lists */
.terms-container ul {
    list-style-type: disc;
    padding-left: 40px;
    margin-bottom: 20px;
}

.terms-container ul li {
    margin-bottom: 10px;
}

/* Last updated text */
.terms-container .last-updated {
    font-size: 0.9rem;
    color: #6b7280;          /* Muted gray */
    text-align: right;
    margin-top: 40px;
    font-style: italic;
}

/* ----------------- Responsive ----------------- */
@media (max-width: 768px) {
    .terms-container {
        padding: 25px 15px;
    }

    .terms-container h1 {
        font-size: 1.8rem;
    }

    .terms-container h2 {
        font-size: 1.3rem;
    }

    .terms-container p, 
    .terms-container ul li {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .terms-container {
        padding: 20px 10px;
    }

    .terms-container h1 {
        font-size: 1.6rem;
    }

    .terms-container h2 {
        font-size: 1.2rem;
    }

    .terms-container p, 
    .terms-container ul li {
        font-size: 0.9rem;
    }
}