/* ===== Base Reset ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== Main Container ===== */
main {
    max-width: 100%;
    margin: 200px 20px 20px 20px;
    padding: 40px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

/* ===== Headings ===== */
.terms h1 {
    font-size: 28px;
    color: #1a202c;
    margin-bottom: 20px;
    border-bottom: 3px solid #2563eb;
    padding-bottom: 10px;
}

.terms h2 {
    font-size: 20px;
    color: #1e293b;
    margin: 35px 0 15px;
}

/* ===== Paragraphs ===== */
.terms p {
    margin-bottom: 16px;
    color: #374151;
}

/* ===== Lists ===== */
.terms ul {
    margin: 15px 0 20px 20px;
}

.terms ul li {
    margin-bottom: 10px;
    list-style-type: disc;
}

/* ===== Links ===== */
.terms a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

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

/* ===== Sections ===== */
.terms section {
    margin-bottom: 30px;
}

/* ===== Emphasis ===== */
strong {
    color: #111827;
    font-weight: 600;
}

/* ===== Legal Highlight Box ===== */
section:last-child {
    background: #f1f5f9;
    padding: 20px;
    border-left: 4px solid #2563eb;
    border-radius: 6px;
}

/* ===== Footer Info ===== */
section h2 + p a {
    word-break: break-word;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    main {
        padding: 25px;
        margin: 80px 20px 20px 20px;
    }

    .terms h1 {
        font-size: 24px;
    }

    .terms h2 {
        font-size: 18px;
    }

    .terms body {
        font-size: 15px;
    }
}