
/* The Accidental Analyst public legal and product terms, scoped */
.aa-legal-page { background:#f6f1e8;color:#222320 }
.aa-legal-wrap { max-width:1080px; width:calc(100% - 40px); margin:0 auto; }
.aa-legal-hero {padding:58px 0 38px;border-bottom:1px solid rgba(25,25,25,.16);background:#fbf8f2}
.aa-legal-kicker { color:#2e63d4;letter-spacing:.085em;font:700 .75rem/1.5 "IBM Plex Mono",monospace;text-transform:uppercase;margin:0 0 14px}
.aa-legal-hero h1 {font-size:clamp(2.35rem,5.6vw,4.35rem);line-height:1.05;letter-spacing:-.05em;margin:0 0 12px;max-width:860px}
.aa-legal-hero p {font-size:1.04rem;line-height:1.6;max-width:860px}
.aa-legal-meta {color:#59605b;font-size:.84rem!important}
.aa-legal-layout {display:grid; grid-template-columns:minmax(205px,240px) minmax(0,1fr);align-items:start;gap:50px;padding:40px 0 80px}
.aa-legal-toc {position:sticky;top:95px;display:grid;gap:10px;padding:18px 20px;border:1px solid #d7d1c6;background:#fff}
.aa-legal-toc strong {font-size:.85rem;margin-bottom:5px}
.aa-legal-toc a {font-size:.88rem;line-height:1.35;color:#303c52;text-decoration:none}
.aa-legal-toc a:hover{text-decoration:underline}
.aa-legal-body{min-width:0}
.aa-legal-body section {padding:19px 0 21px;border-bottom:1px solid #d8d1c5;scroll-margin-top:106px}
.aa-legal-body h2 {font-size:1.38rem;line-height:1.2;margin:0 0 11px;letter-spacing:-.025em}
.aa-legal-body h3 {font-size:1.07rem;line-height:1.3;margin:20px 0 8px}
.aa-legal-body p,.aa-legal-body li {line-height:1.65;font-size:.95rem;color:#414540}
.aa-legal-body ul {padding-left:1.2rem}
.aa-legal-body li{margin:.35rem 0}
.aa-legal-body a {color:#2159c1;text-underline-offset:3px}
.aa-legal-note {padding:17px 20px;background:#fff;border-left:4px solid #2e63d4;border-top:1px solid #ddd6c9;border-right:1px solid #ddd6c9;border-bottom:1px solid #ddd6c9;margin:24px 0}
.aa-legal-warning {border-left-color:#d42d2d}
.aa-legal-body section:target {background:rgba(46,99,212,.045)}
@media(max-width:800px){.aa-legal-layout{grid-template-columns:1fr;gap:22px;padding-top:24px}.aa-legal-toc{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}.aa-legal-toc strong{grid-column:1/-1}}
@media(max-width:520px){.aa-legal-wrap{width:calc(100% - 28px)}.aa-legal-hero{padding:38px 0 24px}.aa-legal-layout{padding-bottom:48px}.aa-legal-toc{grid-template-columns:1fr}}
