/**
 * piimarket — Terms and Conditions template styles.
 * Loaded only on pages using the "Terms and Conditions" template.
 */

.legal {
    padding: 3.5rem 0 5rem;
}

.legal-title {
    margin: 0 0 2.5rem;
    font-size: clamp(2.75rem, 5.5vw, 4.5rem);
    line-height: 1.05;
    font-weight: 400;
    color: var(--color-text);
}

.legal-content {
    color: #4b5563;
    line-height: 1.7;
}

.legal-content > *:first-child {
    margin-top: 0;
}

.legal-content p {
    margin: 0 0 1.5rem;
}

.legal-content h2,
.legal-content h3,
.legal-content h4 {
    margin: 2.5rem 0 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-text);
}

.legal-content ul,
.legal-content ol {
    margin: 0 0 1.5rem;
    padding-left: 1.25rem;
}

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

.legal-content a {
    color: var(--color-accent);
    font-weight: 600;
}

@media (max-width: 782px) {
    .legal {
        padding: 2.5rem 0 3.5rem;
    }
}
