#privacy {
    padding-top: calc(var(--pad-section) + var(--header-h));
}

.legal .proj-tabs {
    margin-bottom: 32px;
}

.legal-text {
    max-width: 860px;
    color: var(--clr-text-secondary);
    font-weight: 300;
    font-size: 0.9rem;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.legal-text h4,
.legal-text h5,
.legal-text h6 {
    color: var(--clr-text-primary);
    font-weight: 600;
    line-height: 1.35;
    margin: 1.8em 0 0.6em;
    scroll-margin-top: calc(var(--header-h) + 16px);
}

.legal-text h4 { font-size: 1.35rem; margin-top: 0; }
.legal-text h5 { font-size: 1.05rem; }
.legal-text h6 { font-size: 0.92rem; }

.legal-text p,
.legal-text ul {
    margin: 0 0 1em;
}

.legal-text ul {
    padding-left: 1.4em;
}

.legal-text li + li {
    margin-top: 0.4em;
}

.legal-text a {
    color: var(--clr-accent);
}

.legal-text img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    #privacy {
        padding-top: calc(64px + var(--header-h));
    }
}
