/**
 * Block: Legal Text
 * Narrow-container prose styles for legal and policy pages.
 */

.legal-text {
    padding: var(--space-3xl) 0;
}

.legal-text .container {
    max-width: var(--container-narrow);
}

/* Prose headings */
.legal-text h2 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-regular);
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
}

.legal-text h3 {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-regular);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-sm);
}

/* Prose body */
.legal-text p {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-light);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.legal-text ul,
.legal-text ol {
    margin-bottom: var(--space-md);
    padding-left: var(--space-lg);
}

.legal-text ul {
    list-style: disc;
}

.legal-text ol {
    list-style: decimal;
}

.legal-text li {
    margin-bottom: var(--space-xs);
    line-height: 1.6;
    font-weight: var(--font-weight-light);
}

.legal-text a {
    color: var(--color-orange);
    text-decoration: underline;
    transition: color 0.2s;
}

.legal-text a:hover {
    color: #e03d10;
}

/* Tables */
.legal-text table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: var(--space-xl);
    font-size: var(--font-size-base);
}

.legal-text th,
.legal-text td {
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    text-align: left;
    font-weight: var(--font-weight-light);
}

.legal-text th {
    background: var(--color-light);
    font-weight: var(--font-weight-medium);
}

.legal-text strong {
    font-weight: var(--font-weight-medium);
}

/* Responsive */
@media (max-width: 768px) {
    .legal-text {
        padding: var(--space-2xl) 0;
    }

    .legal-text table {
        display: block;
        overflow-x: auto;
    }
}
