/* Legal pages follow the same container principle as the rest of the site:
   full-page background from `body`, centered `content-container`, and a sheet/card inside. */

.page-legal {
    padding: 0;
}

.section-legal {
    padding: 40px 0;
}

.section-legal .content-container {
    max-width: var(--content-max-width);
}

.legal-sheet {
    background: var(--section-bg-primary);
    border-radius: var(--section-radius);
    padding: 40px;
    box-shadow: 0 10px 30px rgba(2,6,23,0.06);
}

.legal-sheet hr {
    border: 0;
    border-top: 1px solid var(--card-borders);
    margin: 24px 0;
}

.legal-sheet ul,
.legal-sheet ol {
    padding-left: 20px;
}

.legal-sheet p,
.legal-sheet li {
    line-height: 1.6;
}

.legal-sheet p {
    margin-top: 4px;
    margin-bottom: 14px;
}

.legal-sheet h1,
.legal-sheet h2,
.legal-sheet h3 {
    line-height: 1.3;
}

.legal-sheet h2,
.legal-sheet h3 {
    margin-top: 18px;
    margin-bottom: 6px;
}

.legal-sheet ul,
.legal-sheet ol {
    margin-top: 4px;
    margin-bottom: 14px;
}

.legal-sheet a {
    color: inherit;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .legal-sheet {
        padding: 24px;
    }
}
