/* Shared Leaf shell, quiet legal reading surfaces, no decorative text overlays. */
.leaf-site .legal-page {padding-block:28px 80px;}
.leaf-site .legal-hero {display:grid;grid-template-columns:minmax(0,1fr) 190px;align-items:center;gap:48px;padding:40px 48px;margin-bottom:44px;border-radius:24px;background:var(--leaf-depth-quiet);color:#fff;box-shadow:var(--leaf-shadow);}
.leaf-site .legal-hero .breadcrumb-line {margin-bottom:28px;color:#e2e9df;}
.leaf-site .legal-hero .breadcrumb-line a {color:inherit;}
.leaf-site .legal-hero .breadcrumb-line span {color:#e2e9df;}
.leaf-site .legal-hero .kicker {color:#e4c1af;}
.leaf-site .legal-hero h1 {color:#fff;margin:12px 0 16px;font-size:clamp(2rem,4vw,3.4rem);}
.leaf-site .legal-hero p {max-width:52ch;margin:0;color:#edf2ea;line-height:1.7;}
.leaf-site .legal-arches {width:100%;aspect-ratio:3/2;background:url('assets/leaf-three-arches.svg') center/contain no-repeat;opacity:.65;pointer-events:none;}
.leaf-site .legal-layout {display:grid;grid-template-columns:240px minmax(0,1fr);gap:64px;align-items:start;}
html:root .leaf-site .legal-layout {padding-inline:0;}
.leaf-site .legal-sidebar {position:sticky;top:116px;min-width:0;}
.leaf-site .legal-switch {display:grid;gap:8px;margin-bottom:28px;}
.leaf-site .legal-switch a {padding:12px 16px;border-radius:10px;color:var(--leaf-deep);font-weight:600;min-height:48px;}
.leaf-site .legal-switch a[aria-current] {background:var(--leaf-sage);}
.leaf-site .legal-switch a:hover {background:#d6e2d5;}
.leaf-site .legal-toc {border-top:1px solid var(--leaf-line);padding-block:12px;}
.leaf-site .legal-toc summary {cursor:pointer;font-weight:600;padding-block:12px;min-height:48px;}
.leaf-site .legal-toc nav {display:grid;margin-top:6px;}
.leaf-site .legal-toc a {padding:12px 0;border-bottom:1px solid var(--leaf-line);font-size:.9rem;line-height:1.6;overflow-wrap:anywhere;}
.leaf-site .legal-copy {min-width:0;max-width:76ch;padding:36px 40px;background:#fff;border:1px solid #dce3d8;border-radius:24px;box-shadow:0 12px 40px #143f3606;}
.leaf-site .legal-copy :is(h2,h3,h4) {color:var(--leaf-deep);text-wrap:initial;scroll-margin-top:120px;overflow-wrap:anywhere;}
.leaf-site .legal-copy h2 {font-size:clamp(1.5rem,2.3vw,2rem);margin:48px 0 22px;line-height:1.3;}
.leaf-site .legal-copy>h2:first-child,.leaf-site .legal-copy>section:first-child h2 {margin-top:0;}
.leaf-site .legal-copy h3 {font-size:1.2rem;margin:28px 0 12px;line-height:1.45;}
.leaf-site .legal-copy h4 {font-size:1rem;margin:22px 0 10px;line-height:1.6;}
.leaf-site .legal-copy :is(p,li,address) {font-size:1rem;line-height:1.85;overflow-wrap:anywhere;}
.leaf-site .legal-copy p {margin:0 0 20px;}
.leaf-site .legal-copy address {font-style:normal;margin:0;}
.leaf-site .legal-copy ul {padding-inline-start:24px;}
.leaf-site .legal-copy li+li {margin-top:10px;}
.leaf-site .legal-copy a {text-decoration:underline;text-underline-offset:4px;color:var(--leaf-brand);}
.leaf-site .legal-copy a:hover {color:var(--leaf-deep);}
@media(max-width:991px) {
 .leaf-site .legal-page {padding:20px 20px 56px;}
 .leaf-site .legal-hero {grid-template-columns:minmax(0,1fr) 120px;gap:24px;padding:32px;}
 .leaf-site .legal-layout {grid-template-columns:minmax(0,1fr);gap:24px;padding-inline:0;}
 .leaf-site .legal-sidebar {position:static;}
 .leaf-site .legal-switch {display:flex;flex-wrap:wrap;margin-bottom:8px;gap:8px;}
 .leaf-site .legal-copy {max-width:none;padding:28px;}
}
@media(max-width:575px) {
 .leaf-site .legal-page {padding-inline:16px;}
 .leaf-site .legal-hero {grid-template-columns:minmax(0,1fr);padding:28px 24px;margin-bottom:24px;gap:0;}
 .leaf-site .legal-arches {display:none;}
 .leaf-site .legal-copy {padding:24px 20px;border-radius:18px;}
 .leaf-site .legal-hero .breadcrumb-line {margin-bottom:22px;}
}
@media print {
 .leaf-site :is(.leaf-header,.leaf-footer,.legal-sidebar,.legal-arches) {display:none;}
 .leaf-site .legal-page {padding:0;}
 .leaf-site .legal-hero {display:block;background:none;color:#000;box-shadow:none;padding:0;margin-bottom:24px;}
 .leaf-site .legal-hero :is(h1,p,.kicker) {color:#000;}
 .leaf-site .legal-layout {display:block;}
 .leaf-site .legal-copy {max-width:none;border:0;box-shadow:none;padding:0;}
}
