:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #667085;
  --line: #e2e8f0;
  --soft: #f5f7fb;
  --accent: #5d50e6;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font: 15px/1.7 Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.legal-header { position: sticky; top: 0; z-index: 5; display: grid; grid-template-columns: 220px 1fr auto; align-items: center; min-height: 68px; padding: 0 32px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.94); backdrop-filter: blur(16px); }
.legal-brand { display: inline-flex; align-items: center; gap: 9px; width: max-content; color: #131728; font-size: 20px; font-weight: 800; text-decoration: none; letter-spacing: -.04em; }
.legal-brand img { width: 28px; height: 28px; }
.legal-switcher { display: flex; justify-content: center; gap: 6px; }
.legal-switcher a { padding: 8px 12px; border-radius: 9px; color: var(--muted); font-size: 13px; font-weight: 700; text-decoration: none; }
.legal-switcher a[aria-current] { color: var(--accent); background: #eeecff; }
.language-control select { padding: 8px 28px 8px 10px; border: 1px solid #d8deea; border-radius: 9px; color: var(--ink); background: #fff; font: inherit; font-size: 13px; font-weight: 700; }
.legal-layout { display: grid; grid-template-columns: minmax(160px, 220px) minmax(0, 780px); justify-content: center; gap: 56px; padding: 54px 32px 90px; }
.legal-aside { position: sticky; top: 106px; align-self: start; }
.legal-aside a { color: var(--accent); font-size: 13px; font-weight: 700; text-decoration: none; }
.legal-aside p { max-width: 185px; margin-top: 22px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.legal-document { min-width: 0; }
.legal-document h1 { max-width: 720px; margin: 0 0 14px; font-size: clamp(31px, 4vw, 47px); line-height: 1.1; letter-spacing: -.045em; }
.legal-document h2 { margin: 52px 0 15px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 22px; line-height: 1.3; letter-spacing: -.025em; }
.legal-document h3 { margin: 30px 0 10px; font-size: 17px; }
.legal-document p { margin: 12px 0; }
.legal-document > p:first-of-type { margin: 0 0 26px; color: var(--muted); }
.legal-document blockquote { margin: 26px 0; padding: 18px 20px; border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0; background: var(--soft); }
.legal-document blockquote p { margin: 0; }
.legal-document ul, .legal-document ol { margin: 12px 0 18px; padding-left: 25px; }
.legal-document li { margin: 6px 0; }
.legal-document code { padding: 2px 5px; border-radius: 5px; background: #f0f2f7; font: .88em ui-monospace, SFMono-Regular, Menlo, monospace; }
.table-wrap { margin: 20px 0 28px; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.5; }
th, td { min-width: 120px; padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: var(--soft); font-weight: 750; }
tr:last-child td { border-bottom: 0; }
.legal-document hr { margin: 50px 0; border: 0; border-top: 1px solid var(--line); }
.legal-loading, .legal-error { padding: 28px; border-radius: 12px; background: var(--soft); color: var(--muted); }
@media (max-width: 760px) {
  .legal-header { grid-template-columns: 1fr auto; padding: 12px 18px; }
  .legal-switcher { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; margin-top: 8px; overflow-x: auto; }
  .legal-layout { display: block; padding: 30px 20px 70px; }
  .legal-aside { position: static; margin-bottom: 34px; }
  .legal-aside p { max-width: none; }
  .legal-document h2 { margin-top: 40px; }
}
@media print {
  .legal-header, .legal-aside { display: none; }
  .legal-layout { display: block; padding: 0; }
  .legal-document h1 { font-size: 30px; }
}
