/* Quiet legal pages, using the site's locally hosted Instrument Sans. */
.legal-site { color-scheme: light; }
.legal-site main { background: var(--white); }
.legal-hero { padding-top: 120px; padding-bottom: clamp(2.5rem, 5vw, 4.5rem); background: var(--ink); color: var(--white); }
.legal-hero .service-breadcrumbs { margin-bottom: 1.75rem; }
.legal-hero h1 { max-width: 18ch; font-size: clamp(2.5rem, 5vw, 5rem); font-weight: 540; line-height: 1.06; letter-spacing: -.055em; overflow-wrap: anywhere; }
.legal-lead { max-width: 68ch; margin-top: 1.5rem; color: #d0d9d5; font-size: clamp(1rem, 1.3vw, 1.15rem); }
.legal-updated { margin-top: 1.4rem; color: #b9c6c1; font-size: .8rem; }
.legal-layout { display: grid; grid-template-columns: minmax(10rem, 14rem) minmax(0, 68ch); justify-content: center; align-items: start; gap: clamp(2.5rem, 7vw, 7rem); padding-block: clamp(3rem, 6vw, 6rem); }
.legal-toc { position: sticky; top: 112px; padding-top: .2rem; }
.legal-toc > p { margin-bottom: .8rem; color: #4c5752; font-size: .75rem; font-weight: 600; }
.legal-toc ol { display: grid; gap: .1rem; margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--line); }
.legal-toc a { display: flex; align-items: center; min-height: 44px; padding: .55rem 0 .55rem 1rem; color: #34413b; font-size: .85rem; line-height: 1.4; text-decoration: none; }
.legal-toc a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: .25em; }
.legal-copy { width: 100%; max-width: 68ch; min-width: 0; color: #34413b; font-size: 1rem; }
.legal-copy section { scroll-margin-top: 112px; }
.legal-copy section + section { margin-top: 3.25rem; padding-top: 2.75rem; border-top: 1px solid var(--line); }
.legal-copy h2 { margin-bottom: 1.4rem; color: var(--ink); font-size: clamp(1.45rem, 2vw, 1.9rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.25; text-wrap: initial; }
.legal-copy h3 { margin-top: 2rem; margin-bottom: 1rem; color: var(--ink); font-size: 1.1rem; font-weight: 600; line-height: 1.4; letter-spacing: -.01em; }
.legal-copy :is(p, address) { line-height: 1.75; }
.legal-copy :is(p, address) + :is(p, address) { margin-top: 1.15rem; }
.legal-copy a { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; overflow-wrap: anywhere; }
.legal-copy a:hover { text-decoration-thickness: 2px; }
.legal-address { font-style: normal; }
.legal-address strong { color: var(--ink); font-weight: 600; }
.legal-copy code { padding: .12em .3em; background: #edf5f1; color: var(--ink); font-size: .88em; overflow-wrap: anywhere; }
.legal-list { display: grid; gap: .7rem; margin-block: 1.25rem; padding-left: 1.15rem; list-style: disc; }
.legal-list li { padding-left: .3rem; }
.legal-related { display: flex; flex-wrap: wrap; gap: .5rem 2rem; margin-top: 3rem; padding-top: 1.35rem; border-top: 1px solid var(--line); }
.legal-related a { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.2rem; min-height: 44px; font-size: .9rem; font-weight: 600; }
.legal-site :is(a, button):focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; box-shadow: 0 0 0 2px var(--ink); }

@media (max-width: 900px) {
    .legal-layout { grid-template-columns: minmax(0, 68ch); gap: 2.5rem; }
    .legal-toc { position: static; padding: 0 0 1.75rem; border-bottom: 1px solid var(--line); }
    .legal-toc ol { display: flex; flex-wrap: wrap; gap: .1rem .9rem; border-left: 0; }
    .legal-toc a { padding: .5rem 0; font-size: .84rem; text-decoration: underline; text-underline-offset: .25em; }
}

@media (max-width: 480px) {
    .legal-hero { padding-top: 112px; }
    .legal-hero h1 { font-size: clamp(2.2rem, 9.4vw, 2.8rem); letter-spacing: -.04em; }
    .legal-layout { padding-block: 2.5rem 3.5rem; }
    .legal-copy { font-size: .98rem; }
    .legal-copy section + section { margin-top: 2.5rem; padding-top: 2rem; }
    .legal-copy h2 { font-size: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
    html:has(.legal-site) { scroll-behavior: auto; }
    .legal-site *, .legal-site *::before, .legal-site *::after { animation: none !important; transition: none !important; }
}
