/* Feuille unique des pages légales. Reprend la palette de l'application
   (src/constants/theme.ts) pour que le passage de l'app au navigateur ne donne
   pas l'impression de changer de produit. */

:root {
    color-scheme: light dark;

    --text: #12263a;
    --text-secondary: #64748b;
    --background: #f7f9fc;
    --surface: #ffffff;
    --border: #e2e8f0;
    --primary: #1d4ed8;
}

@media (prefers-color-scheme: dark) {
    :root {
        --text: #e8edf6;
        --text-secondary: #94a3b8;
        --background: #0b1220;
        --surface: #151e2e;
        --border: #27324a;
        --primary: #2563eb;
    }
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 2rem 1.25rem 5rem;
    background: var(--background);
    color: var(--text);
    font: 16px/1.65 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

main {
    max-width: 46rem;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
}

h1 {
    font-size: 1.75rem;
    line-height: 1.25;
    margin: 0 0 0.5rem;
}

h2 {
    font-size: 1.15rem;
    margin: 2rem 0 0.5rem;
}

.updated {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0 0 2rem;
}

a {
    color: var(--primary);
}

ul {
    padding-left: 1.25rem;
}

li {
    margin-bottom: 0.35rem;
}

.lang {
    display: block;
    max-width: 46rem;
    margin: 0 auto 1rem;
    font-size: 0.875rem;
}

footer {
    max-width: 46rem;
    margin: 1.5rem auto 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
}


@media (prefers-color-scheme: dark) {
}
