/* Legal / support document pages — loaded only on those templates. */
.legal-page {
    max-width: 48rem;
    margin: 0 auto;
    padding: 5rem 1.5rem 6rem;
}

.legal-eyebrow {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.legal-title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

/* Rich text output from the_content() */
.legal-body h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
}

.legal-body h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--foreground);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-body p {
    color: var(--muted-foreground);
    line-height: 1.7;
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

.legal-body ul,
.legal-body ol {
    color: var(--muted-foreground);
    font-size: 0.9375rem;
    line-height: 1.7;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-body a {
    color: var(--primary);
}

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

/* Keep backward compatibility */
.legal-section {
    margin-bottom: 2rem;
}

.legal-section h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.75rem;
}

.legal-section p {
    color: var(--muted-foreground);
    line-height: 1.7;
    font-size: 0.9375rem;
}

.legal-section a {
    color: var(--primary);
}

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