/* Legal-page typography. Loaded on /privacy + /terms.
 * Builds on top of styles.css for site-level layout. */

.legal-page {
    max-width: 760px;
    margin: 0 auto;
    padding: 40px 24px 80px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1a1a1a;
    line-height: 1.65;
    font-size: 16px;
}

.legal-page h1 {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.2;
    color: #111;
}

.legal-page h2 {
    font-size: 22px;
    font-weight: 600;
    margin: 48px 0 12px;
    color: #111;
    border-bottom: 1px solid #eee;
    padding-bottom: 6px;
}

.legal-page h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 28px 0 8px;
    color: #222;
}

.legal-page p {
    margin: 12px 0;
}

.legal-page ul, .legal-page ol {
    margin: 12px 0;
    padding-left: 24px;
}

.legal-page li {
    margin: 6px 0;
}

.legal-page strong {
    font-weight: 600;
    color: #111;
}

.legal-page a {
    color: #d97706;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-page a:hover {
    color: #b35906;
}

.legal-page code {
    font-family: "SF Mono", Consolas, monospace;
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 14px;
}

.legal-page table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 15px;
}

.legal-page table th,
.legal-page table td {
    border: 1px solid #ddd;
    padding: 8px 12px;
    text-align: left;
    vertical-align: top;
}

.legal-page table th {
    background: #fafafa;
    font-weight: 600;
}

.legal-page hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 32px 0;
}

.legal-page blockquote {
    border-left: 3px solid #d97706;
    padding-left: 16px;
    margin: 16px 0;
    color: #555;
    font-style: italic;
}

/* Print: hide nav + footer + render readable text */
@media print {
    .navbar, .footer { display: none; }
    .legal-page { max-width: 100%; padding: 0; }
    .legal-page a { color: #000; text-decoration: none; }
}
