/* ===== LEGAL PAGES ===== */
.legal-page {
    background: #fff;
    padding: 80px 0 100px;
}

.legal-inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.legal-header {
    border-bottom: 1px solid #e8ecf0;
    padding-bottom: 2rem;
    margin-bottom: 3rem;
}

.legal-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #0172CA;
    margin-bottom: 0.75rem;
}

.legal-header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #013365;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 0.75rem;
}

.legal-meta {
    font-family: 'Roboto', sans-serif;
    font-size: 0.85rem;
    color: #9ca3af;
}

/* Body */
.legal-body {
    font-family: 'Roboto', sans-serif;
    font-size: 0.975rem;
    color: #374151;
    line-height: 1.8;
}

.legal-body > p {
    margin-bottom: 1.5rem;
}

.legal-body h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #013365;
    letter-spacing: -0.01em;
    margin: 2.75rem 0 0.875rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f0f2f5;
}

.legal-body h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #1f2937;
    margin: 1.75rem 0 0.75rem;
}

.legal-body ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.legal-body ul li {
    margin-bottom: 0.5rem;
}

.legal-body a {
    color: #0172CA;
    text-decoration: none;
    border-bottom: 1px solid rgba(1, 114, 202, 0.25);
    transition: border-color 0.2s ease, color 0.2s ease;
}

.legal-body a:hover {
    color: #013365;
    border-bottom-color: #013365;
}

/* Table */
.legal-table-wrap {
    overflow-x: auto;
    margin: 1.25rem 0 1.75rem;
    border: 1px solid #e8ecf0;
    border-radius: 4px;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    min-width: 500px;
}

.legal-table thead {
    background: #f7f9fc;
}

.legal-table th {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b7280;
    padding: 11px 16px;
    text-align: left;
    border-bottom: 1px solid #e8ecf0;
}

.legal-table td {
    padding: 11px 16px;
    color: #374151;
    border-bottom: 1px solid #f0f2f5;
    vertical-align: top;
}

.legal-table tr:last-child td {
    border-bottom: none;
}

.legal-table code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.82rem;
    background: #f0f4f8;
    color: #013365;
    padding: 2px 6px;
    border-radius: 3px;
}

/* Responsive */
@media (max-width: 600px) {
    .legal-page {
        padding: 60px 0 80px;
    }

    .legal-inner {
        padding: 0 1.25rem;
    }

    .legal-body h2 {
        margin-top: 2rem;
    }
}
