/* Legal documents use the site's existing Inter typography, surfaces and brand colour. */
.legal-page,.legal-page-title{width:100%;max-width:880px;margin-left:auto;margin-right:auto}
.legal-page-title{font-size:clamp(24px,3.4vw,36px);line-height:1.25;margin-bottom:24px}
.legal-page.editorial-page>h1{font-size:clamp(24px,3.4vw,36px);line-height:1.25;margin-bottom:24px}
.legal-page .page-copy{padding:0;background:none;box-shadow:none;border-radius:0}
.legal-page.legal-text{white-space:normal;padding:0;background:none;box-shadow:none}
.legal-document{white-space:normal;font-size:16px;line-height:1.75;overflow-wrap:break-word;word-break:normal}
.legal-document p{margin:0 0 16px}
.legal-document h2{font-size:22px;line-height:1.4;margin:36px 0 14px;font-weight:650;scroll-margin-top:calc(var(--site-header-height,180px) + 20px)}
.legal-document h3{font-size:18px;line-height:1.5;margin:24px 0 12px}
.legal-document ul,.legal-document ol{padding-left:24px;margin:12px 0 20px}
.legal-document li{margin:8px 0;padding-left:3px}
.legal-document a{text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.legal-document a:focus-visible{outline:2px solid #F3BA6B;outline-offset:4px;border-radius:3px}
.legal-toc{padding:20px 24px;background:#fff8ed;border:1px solid #F3BA6B;border-radius:16px;margin:24px 0 30px}
.legal-document .legal-toc h2{font-size:18px;margin:0 0 12px}
.legal-document .legal-toc ol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 30px;margin:0;padding-left:21px}
.legal-document .legal-toc li{margin:0;padding-left:1px;font-size:14px;line-height:1.5}
.legal-toc a{display:inline-block;padding:5px 0}
.legal-document table{border-collapse:collapse;table-layout:fixed;width:100%;margin:20px 0 26px;font-size:15px;line-height:1.6}
.legal-document th,.legal-document td{border-bottom:1px solid #e9e2d8;padding:13px 14px;text-align:left;vertical-align:top;overflow-wrap:anywhere}
.legal-document th{background:#fff8ed;font-weight:600}
.legal-document th:first-child,.legal-document td:first-child{width:34%}
.legal-requisites{margin:18px 0 24px;border:1px solid #e9e2d8;border-radius:16px;padding:8px 22px;background:#fff}
.legal-requisites>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);gap:16px;padding:12px 0;border-bottom:1px solid #eee8df}
.legal-requisites>div:last-child{border-bottom:0}
.legal-requisites dt{font-size:14px;color:#666;line-height:1.6}
.legal-requisites dd{margin:0;min-width:0;line-height:1.6;overflow-wrap:anywhere}
@media(max-width:640px){
 .legal-page,.legal-page-title{max-width:100%}
 .legal-page-title,.legal-page.editorial-page>h1{font-size:25px;line-height:1.3;margin-bottom:20px}
 .legal-document{font-size:15px;line-height:1.75}
 .legal-document h2{font-size:20px;margin-top:30px;scroll-margin-top:calc(var(--site-header-height,180px) + 20px)}
 .legal-toc{padding:17px 18px;border-radius:14px}
 .legal-document .legal-toc ol{grid-template-columns:1fr;gap:3px}
 .legal-document .legal-toc li{font-size:14px}
 .legal-document table{font-size:14px;line-height:1.6}
 .legal-document th,.legal-document td{padding:10px 8px}
 .legal-requisites{padding:6px 16px;border-radius:14px}
 .legal-requisites>div{grid-template-columns:1fr;gap:3px;padding:12px 0}
}
@media print{.legal-toc{display:none}.legal-page,.legal-page-title{max-width:none}.legal-document h2{break-after:avoid}.legal-requisites>div,tr{break-inside:avoid}}
