    /* Scoped to legal pages only */
    .legal-shell{display:grid;grid-template-columns: minmax(0,1fr) 3fr;gap:2rem;align-items:start}
    @media (max-width: 1024px){.legal-shell{grid-template-columns: 1fr} .legal-toc{position:static; top:auto}}
    .legal-toc{position:sticky; top:96px; max-height: calc(100vh - 120px); overflow:auto; padding:1rem; border:1px solid rgba(0,0,0,.08); border-radius:12px; background:rgba(0,0,0,.03)}
    .legal-toc .toc-title{font-weight:700; margin-bottom:.5rem}
    .legal-toc nav ul{list-style:none; padding-left:0; margin:0}
    .legal-toc nav li{margin:.25rem 0}
    .legal-toc nav a{text-decoration:none}
    .legal-body{max-width:78ch; line-height:1.7; font-size:1.05rem}
    .legal-body p{margin:0 0 1rem 0; hyphens:auto}
    .legal-body h1,.legal-body h2,.legal-body h3,.legal-body h4{scroll-margin-top:96px}
    .legal-body h2{margin-top:2rem}
    .legal-body ul, .legal-body ol{margin-left:1.25rem; margin-bottom:1rem}
    .back-to-top{position:fixed; right:16px; bottom:16px; padding:.6rem .8rem; border-radius:999px; border:none; box-shadow:0 2px 8px rgba(0,0,0,.15); cursor:pointer}
  