.legal-section {
    --primary: #06b6d4;
    --primary-dark: #0891b2;
    --bg-card: #ffffff;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --border-color: #e5e7eb;

    min-height: 100vh;
    padding: 8rem 2rem 4rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #e2e8f0 100%);
}

.legal-container {
    max-width: 860px;
    margin: 0 auto;
}

.legal-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    text-align: center;
}

.legal-updated {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 2.5rem;
}

.legal-body {
    background: var(--bg-card);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.04);
    padding: 2.5rem 3rem;
    line-height: 1.75;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.legal-body h2 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--border-color);
}

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

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

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

.legal-body ul li {
    list-style-type: disc;
}

.legal-body ol li {
    list-style-type: decimal;
}

.legal-body ol ol {
    list-style-type: lower-alpha;
}

.legal-body a {
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 500;
}

.legal-body a:hover {
    text-decoration: underline;
}

.legal-body strong {
    font-weight: 600;
}

.legal-body em {
    font-style: italic;
}

.legal-table-wrapper {
    overflow-x: auto;
    margin: 1rem 0;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.legal-table th {
    background: #f1f5f9;
    font-weight: 600;
    text-align: left;
    padding: 0.75rem 1rem;
    border-bottom: 2px solid var(--border-color);
}

.legal-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
    vertical-align: top;
}

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

.legal-contact {
    background: #f8fafc;
    border-left: 3px solid var(--primary);
    padding: 1rem 1.25rem;
    border-radius: 0 8px 8px 0;
    margin-top: 0.5rem;
}

.legal-contact p {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .legal-section {
        padding: 6rem 1rem 3rem;
    }

    .legal-body {
        padding: 1.5rem;
    }

    .legal-title {
        font-size: 1.75rem;
    }
}
