:root {
  color-scheme: light;
  --legal-ink: #172033;
  --legal-muted: #667085;
  --legal-line: #dfe4ec;
  --legal-blue: #1769e0;
  --legal-navy: #0b1220;
  --legal-soft: #f4f7fb;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--legal-ink);
  background: #fff;
  font: 16px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: var(--legal-blue); }
.legal-shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.legal-skip { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 14px; background: #fff; }
.legal-skip:focus { top: 12px; }
.legal-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(255,255,255,.12); background: rgba(11,18,32,.97); color: #fff; backdrop-filter: blur(14px); }
.legal-header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.legal-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-size: 20px; }
.legal-brand > span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; background: var(--legal-blue); }
.legal-brand strong span { color: #6ba6ff; }
.legal-header-actions { display: flex; align-items: center; gap: 18px; }
.legal-home { color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; }
.language-switcher { display: inline-flex; gap: 4px; }
.language-switcher a { display: inline-flex; align-items: center; gap: 4px; padding: 6px 8px; border: 1px solid rgba(255,255,255,.22); border-radius: 8px; color: #fff; font-size: 12px; text-decoration: none; }
.language-switcher a[aria-current="true"] { border-color: #6ba6ff; background: rgba(23,105,224,.32); }
.legal-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 54px; padding-block: 64px 90px; }
.legal-toc { position: sticky; top: 102px; align-self: start; max-height: calc(100vh - 122px); overflow: auto; padding: 20px; border: 1px solid var(--legal-line); border-radius: 16px; background: var(--legal-soft); }
.legal-toc strong { display: block; margin-bottom: 12px; color: var(--legal-navy); }
.legal-toc a { display: block; padding: 7px 0; color: var(--legal-muted); font-size: 13px; line-height: 1.35; text-decoration: none; }
.legal-toc a:hover { color: var(--legal-blue); }
.legal-document { min-width: 0; max-width: 820px; }
.legal-title { margin-bottom: 42px; padding-bottom: 32px; border-bottom: 1px solid var(--legal-line); }
.legal-title > span { color: var(--legal-blue); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.legal-title h1 { margin: 10px 0 12px; color: var(--legal-navy); font-size: clamp(34px, 5vw, 58px); line-height: 1.08; letter-spacing: -.04em; }
.legal-title p { margin: 0 0 16px; color: var(--legal-muted); font-size: 19px; }
.legal-title small { color: var(--legal-muted); }
.legal-translation-note { margin: -16px 0 38px; padding: 14px 16px; border-left: 4px solid #f5b942; border-radius: 0 10px 10px 0; background: #fff8df; }
.legal-section { scroll-margin-top: 96px; margin: 0 0 38px; }
.legal-section h2 { margin: 0 0 12px; color: var(--legal-navy); font-size: 23px; line-height: 1.3; }
.legal-section p { margin: 0 0 12px; color: #344054; }
.legal-cookie-reset { cursor: pointer; border: 0; border-radius: 10px; padding: 12px 16px; color: #fff; background: var(--legal-blue); font: inherit; font-weight: 800; }
.legal-footer { padding: 34px 0; background: var(--legal-navy); color: #aeb8ca; }
.legal-footer-links { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 14px; }
.legal-footer a { color: #fff; text-decoration: none; }
.legal-footer-copy { font-size: 13px; }

@media (max-width: 820px) {
  .legal-shell { width: min(100% - 26px, 760px); }
  .legal-header { position: static; }
  .legal-header-inner { align-items: flex-start; flex-direction: column; padding-block: 14px; }
  .legal-header-actions { width: 100%; justify-content: space-between; }
  .legal-layout { grid-template-columns: 1fr; gap: 28px; padding-block: 36px 70px; }
  .legal-toc { position: static; max-height: none; }
  .legal-title h1 { font-size: 38px; }
}
