/* Legal pages. One column, readable type, contents on wide screens. */
@font-face{font-family:Roboto;src:url('/assets/fonts/roboto-var.woff2') format('woff2');font-weight:100 900;font-display:swap}
.legal-top,.legal-body,.legal-toc,.legal-foot,.legal-back{font-family:Roboto,"Helvetica Neue",Arial,sans-serif}
.legal-top{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 24px;background:#F4F1EA;border-bottom:1px solid #e4e0d8}
.legal-top img{height:36px;width:auto}
.legal-top a{color:#2E2B3F;font-weight:700;text-decoration:none}
.legal-wrap{display:grid;grid-template-columns:220px minmax(0,680px);gap:32px;justify-content:center;padding:28px 24px 64px}
.legal-toc{position:sticky;top:16px;align-self:start;font-size:15px;line-height:1.45}
.legal-toc p{margin:0 0 8px;font-weight:800;color:#2E2B3F}
.legal-toc a{display:block;color:#2E2B3F;text-decoration:none;padding:4px 0}
.legal-toc a:hover{color:#EC1C24}
.legal-body{color:#2E2B3F;font-size:17px;line-height:1.6;max-width:72ch}
.legal-body h1{font-size:34px;line-height:1.15;margin:0 0 8px}
.legal-body .meta{color:#3d3a48;margin:0 0 18px}
.legal-body h2{font-size:22px;line-height:1.3;margin:28px 0 8px}
.legal-body p,.legal-body li{color:#2E2B3F}
.legal-body a{color:#9d1218}
.legal-body table{width:100%;border-collapse:collapse;font-size:15px}
.legal-scroll{overflow-x:auto;max-width:100%;border:1px solid #e4e0d8;border-radius:12px}
.legal-body th,.legal-body td{text-align:left;padding:8px 10px;border-bottom:1px solid #e4e0d8;vertical-align:top}
.legal-body .ph{background:#FFF6D8;border:1px solid #e2c04a;border-radius:12px;padding:12px 14px}
.legal-foot{display:flex;flex-wrap:wrap;gap:12px 18px;padding:18px 24px 32px;background:#5A5566;color:#fff}
.legal-foot a{color:#fff;font-weight:700}
.legal-toc details{display:none}
@media (max-width:1023px){
  .legal-wrap{grid-template-columns:1fr;padding:24px}
  .legal-toc{position:static}
  .legal-toc>p,.legal-toc>ul{display:none}
  .legal-toc details{display:block;border:1px solid #e4e0d8;border-radius:12px;padding:10px 14px}
  .legal-toc summary{font-weight:800;color:#2E2B3F;cursor:pointer}
  .legal-toc details ul{display:block;margin:8px 0 0;padding:0}
}
@media print{
  .legal-top,.legal-toc,.legal-foot{display:none}
  .legal-wrap{display:block;padding:0}
  .legal-body{max-width:none}
}
html[data-theme="dark"] body{background:#141318;color:#F4F0E8}
html[data-theme="dark"] .legal-top{background:#1c1b22;border-color:#333}
html[data-theme="dark"] .legal-top img{filter:brightness(0) invert(1)}
html[data-theme="dark"] .legal-toc p,html[data-theme="dark"] .legal-toc summary,html[data-theme="dark"] .legal-body .meta{color:#F4F0E8}
html[data-theme="dark"] .legal-toc details,html[data-theme="dark"] .legal-scroll{border-color:#333}
html[data-theme="dark"] .legal-top a,html[data-theme="dark"] .legal-body,html[data-theme="dark"] .legal-body p,html[data-theme="dark"] .legal-body li,html[data-theme="dark"] .legal-toc a{color:#F4F0E8}
html[data-theme="dark"] .legal-body a{color:#ff8a8a}
html[data-theme="dark"] .legal-body .ph{background:#3a3420;border-color:#e2c04a;color:#F4F0E8}
html[data-theme="dark"] .legal-body th,html[data-theme="dark"] .legal-body td{border-color:#333}
.legal-body ul,.legal-body ol{padding-left:1.25em}
.legal-toc ul{list-style:none;margin:0;padding:0}
.legal-more{display:flex;flex-wrap:wrap;gap:8px 16px;list-style:none;padding:0}
.legal-back{display:flex;flex-wrap:wrap;gap:12px 18px;margin:0 0 16px}
.legal-back a{color:#2E2B3F}
.legal-site{padding-top:148px}
@media (max-width:1023px){.legal-site{padding-top:96px}}
