/* FinePrint legal site — shared styles. Mirrors the in-app calm /
   parchment aesthetic; works in light + dark. Print-friendly. */
:root {
    color-scheme: light dark;
    --fp-bg: #F9F7F1;
    --fp-surface: #FFFFFF;
    --fp-text: #1C1C1E;
    --fp-text-secondary: #3A3A3C;
    --fp-text-tertiary: #6E6E73;
    --fp-brand: #2E4670;
    --fp-divider: #E0DBD0;
}
@media (prefers-color-scheme: dark) {
    :root {
        --fp-bg: #1C1C1E;
        --fp-surface: #2C2C2E;
        --fp-text: #F0F0F0;
        --fp-text-secondary: #C5C5C7;
        --fp-text-tertiary: #98989D;
        --fp-brand: #6B8FE0;
        --fp-divider: #38383A;
    }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.55;
    color: var(--fp-text);
    background: var(--fp-bg);
    margin: 0;
    padding: 0;
}
.container {
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem 1.25rem 4rem;
}
header { margin-bottom: 2rem; }
header h1 {
    font-size: 1.65rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
}
header .meta {
    color: var(--fp-text-tertiary);
    font-size: 0.9rem;
    margin: 0;
}
header .meta span + span::before {
    content: " · ";
    margin: 0 0.25rem;
}
header .meta .version {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.85rem;
}
nav.top, nav.bottom {
    margin: 1.25rem 0;
    font-size: 0.95rem;
}
nav a {
    color: var(--fp-brand);
    text-decoration: none;
    margin-right: 1rem;
}
nav a:hover { text-decoration: underline; }
hr {
    border: 0;
    border-top: 1px solid var(--fp-divider);
    margin: 1.5rem 0;
}
section.legal-section {
    margin: 2rem 0;
}
section.legal-section h2 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.75rem;
}
section.legal-section p {
    margin: 0.75rem 0;
    color: var(--fp-text);
}
footer {
    margin-top: 4rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--fp-divider);
    color: var(--fp-text-tertiary);
    font-size: 0.85rem;
    text-align: center;
}
footer a { color: var(--fp-brand); text-decoration: none; }
@media print {
    body { background: #fff; color: #000; }
    nav, footer { display: none; }
    section.legal-section { page-break-inside: avoid; }
}
