/* pages/legal.css — the rules this page OWNS.
   Split from components.css, content.css, paid.css, styles.css by agent-os/tools/split_page_css.py. Only selectors whose classes are
   used by NO other page in this site moved here; shared rules stayed put, because
   duplicating one fact into several files is how the copies drift apart. */
/* ================= LEGAL (G-05) ================= */
.legal-grid{display:grid;grid-template-columns:230px 1fr;gap:48px;align-items:start}
.legal-toc{position:sticky;top:92px;display:flex;flex-direction:column;gap:3px}
.legal-toc .lt-label{font-family:var(--fs-mono);font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:var(--dim);margin-bottom:10px}
.legal-toc a{font-size:14px;color:var(--muted);padding:8px 12px;border-radius:8px;cursor:pointer;font-weight:500;border-left:2px solid transparent}
.legal-toc a:hover{color:var(--ink);background:var(--chip)}
.legal-doc{max-width:680px}
.legal-doc .ld-updated{font-family:var(--fs-mono);font-size:11px;color:var(--dim);margin-bottom:8px}
.legal-doc h1,.legal-doc h2{font-size:34px;letter-spacing:-.02em}
/* a11y F-017: doc title h1->h2 (page SubHero owns the single h1); size unchanged */
.legal-doc .ld-sum{font-size:16.5px;color:var(--muted);line-height:1.55;margin-top:14px;padding-bottom:24px;border-bottom:1px solid var(--border)}
.legal-section{padding:26px 0;border-bottom:1px solid var(--line)}
.legal-section:last-child{border-bottom:0}
.legal-section h3{font-size:19px;letter-spacing:-.01em;margin-bottom:10px}
.legal-section p{font-size:15px;color:var(--ink2);line-height:1.65}
.legal-banner{display:flex;gap:11px;align-items:flex-start;padding:14px 16px;background:var(--watchbg);border:1px solid color-mix(in srgb,var(--watch) 30%,transparent);border-radius:var(--r-md);margin-bottom:30px;font-size:13px;color:var(--ink2);line-height:1.5}
.legal-banner svg{color:var(--watch);flex-shrink:0;margin-top:1px}
@media (max-width:820px){
.legal-grid{grid-template-columns:1fr;gap:24px}
.legal-toc{position:static;flex-direction:row;flex-wrap:wrap;gap:6px;border-bottom:1px solid var(--border);padding-bottom:16px;margin-bottom:24px}
.legal-toc .lt-label{display:none}
.legal-toc a{padding:6px 12px;font-size:13px}
}
