/* Shared styles for the Terms of Service and Privacy Policy pages.
   These pages have the same long-form-prose layout (numbered sections,
   muted body copy, hairline section dividers) so a tiny dedicated
   stylesheet beats two near-identical inline <style> blocks. */

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
}

.legal-container {
    max-width: 760px;
    margin: 48px auto;
    padding: 0 24px 80px;
}

.legal-header { margin-bottom: 40px; }
.legal-header h1 {
    font-size: 2rem;
    color: var(--heading);
    margin-bottom: 8px;
}
.legal-header .updated {
    color: var(--text-dim);
    font-size: 0.85rem;
}

.legal-section { margin-bottom: 36px; }
.legal-section h2 {
    font-size: 1rem;
    color: var(--heading);
    font-weight: 600;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}
.legal-section p,
.legal-section li {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
}
.legal-section p + p { margin-top: 10px; }
.legal-section ul {
    list-style: disc;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.legal-section a { color: var(--accent-light); }
