/* ============================================================
   Legal pages (privacy, terms) — standalone Aube styling
   Used by app-privacy.html and app-terms.html (no PHP).
   ============================================================ */

.legal-wrapper {
    max-width: var(--container-narrow);
    margin-inline: auto;
    padding: var(--space-3xl) var(--gutter) var(--space-4xl);
    font-family: var(--font-sans);
    font-size: var(--text-body-lg-size);
    line-height: 1.7;
    color: var(--color-text-primary);
}

.legal-wrapper .legal-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-block-end: var(--space-xl);
    color: var(--color-text-muted);
    font-size: var(--text-body-md-size);
    text-decoration: none;
}
.legal-wrapper .legal-back:hover { color: var(--color-text-primary); }

.legal-wrapper h1 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin: 0 0 var(--space-md);
    line-height: 1.1;
    letter-spacing: -0.018em;
}
.legal-wrapper h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.375rem, 2vw, 1.5rem);
    margin: 2.25em 0 0.6em;
    color: var(--color-accent-strong);
    line-height: 1.25;
}
.legal-wrapper p {
    margin: 0 0 1.2em;
    color: var(--color-text-secondary);
}
.legal-wrapper p > em {
    color: var(--color-text-muted);
    font-style: normal;
    font-size: var(--text-body-sm-size);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}
.legal-wrapper a {
    color: var(--color-link);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}
.legal-wrapper a:hover { color: var(--color-link-hover); }
.legal-wrapper strong { color: var(--color-text-primary); }
