:root {
  --ink: #07111e;
  --paper: #f3f5f7;
  --white: #fff;
  --muted: #526171;
  --line: #cbd2d9;
  --steel: #2d6295;
  --gutter: clamp(22px, 4.5vw, 72px);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
::selection { color: var(--white); background: var(--steel); }
:focus-visible { outline: 2px solid #6a9dcc; outline-offset: 4px; }
button { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.legal-shell { width: min(100%, 1220px); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 15px; color: var(--ink); background: var(--white); transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.legal-header { color: var(--white); background: var(--ink); border-bottom: 1px solid rgba(255,255,255,.18); }
.legal-header-inner { min-height: 84px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: clamp(20px, 3vw, 48px); }
.legal-brand { width: fit-content; }
.legal-brand img { width: 152px; height: 68px; object-fit: contain; }
.legal-top-nav, .legal-footer nav { display: flex; align-items: center; gap: clamp(18px, 2.3vw, 38px); }
.legal-top-nav a, .legal-footer a { font-size: .77rem; font-weight: 800; letter-spacing: .09em; text-decoration: none; text-transform: uppercase; text-underline-offset: 5px; }
.legal-top-nav a:hover, .legal-top-nav a:focus-visible, .legal-footer a:hover, .legal-footer a:focus-visible { text-decoration: underline; }
.language-switch { display: flex; align-items: center; gap: 7px; font-size: .73rem; font-weight: 800; letter-spacing: .06em; }
.language-switch span { opacity: .5; }
.language-switch button { min-width: 31px; min-height: 44px; padding: 8px 1px; border: 0; border-bottom: 1px solid transparent; color: var(--white); background: transparent; cursor: pointer; opacity: .6; }
.language-switch button[aria-pressed="true"] { border-color: currentColor; opacity: 1; }

.legal-hero { color: var(--white); background: var(--ink); }
.legal-hero .legal-shell { padding-block: clamp(80px, 8vw, 128px) clamp(72px, 7vw, 104px); }
.breadcrumbs { margin-bottom: 28px; color: #c2d3e1; font-size: .8rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li + li::before { content: "/"; padding-inline: 10px; color: #9ebbd5; }
.breadcrumbs a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.breadcrumbs [aria-current="page"] { color: var(--white); }
.legal-hero h1 { max-width: 880px; margin: 0; font: 400 clamp(3.6rem, 7vw, 6rem)/.98 var(--serif); letter-spacing: -.035em; text-wrap: balance; }
.legal-hero p { max-width: 710px; margin: 30px 0 0; color: #dce5ee; font-size: clamp(1.08rem, 1.45vw, 1.3rem); line-height: 1.55; }

.legal-layout { padding-block: clamp(72px, 8vw, 116px) clamp(96px, 9vw, 136px); }
.legal-layout-inner { display: grid; grid-template-columns: minmax(170px, 230px) minmax(0, 1fr); align-items: start; gap: clamp(48px, 6vw, 108px); }
.legal-toc { position: sticky; top: 34px; display: flex; flex-direction: column; align-items: start; gap: 13px; padding-top: 5px; }
.legal-toc p { margin: 0 0 5px; color: var(--muted); font-size: .74rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.legal-toc a { color: #24394f; font-size: .87rem; font-weight: 700; text-decoration: none; text-underline-offset: 5px; }
.legal-toc a:hover, .legal-toc a:focus-visible { color: var(--steel); text-decoration: underline; }
.legal-article { min-width: 0; }
.legal-article section { padding-block: clamp(36px, 4vw, 58px); border-top: 1px solid var(--line); scroll-margin-top: 26px; }
.legal-article section:first-child { padding-top: 0; border-top: 0; }
.legal-article h2 { max-width: 18ch; margin: 0 0 24px; font: 400 clamp(2.1rem, 3vw, 3rem)/1.13 var(--serif); letter-spacing: -.025em; text-wrap: balance; }
.legal-article p { max-width: 72ch; margin: 0 0 18px; color: #344555; font-size: 1.02rem; line-height: 1.72; }
.legal-article p:last-child { margin-bottom: 0; }
.legal-article a { color: #164f80; text-decoration-thickness: 1px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-article a:hover { color: #0b3357; }
.legal-article code { padding: 2px 4px; color: var(--ink); background: #e3eaf0; font-size: .91em; overflow-wrap: anywhere; }
.table-scroll { max-width: 100%; overflow-x: auto; margin: 26px 0 25px; }
table { width: 100%; min-width: 560px; border-collapse: collapse; text-align: left; }
caption { padding: 0 0 12px; color: var(--muted); font-size: .8rem; font-weight: 700; text-align: left; }
th, td { padding: 18px 15px 18px 0; border-top: 1px solid var(--line); vertical-align: top; }
thead th { color: var(--muted); font-size: .73rem; letter-spacing: .08em; text-transform: uppercase; }
tbody th { width: 31%; font-size: .92rem; font-weight: 700; }
tbody td { color: #344555; font-size: .94rem; }

.legal-footer { color: var(--white); background: var(--ink); }
.legal-footer-inner { min-height: 110px; display: flex; justify-content: space-between; align-items: center; gap: 25px; padding-block: 30px; border-top: 1px solid rgba(255,255,255,.18); }
.legal-footer span { color: #d2dce6; font-size: .83rem; }

@media (max-width: 800px) {
  .legal-layout-inner { grid-template-columns: 1fr; gap: 46px; }
  .legal-toc { position: static; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 10px 20px; padding: 0 0 28px; border-bottom: 1px solid var(--line); }
  .legal-toc p { flex-basis: 100%; }
  .legal-article section:first-child { padding-top: 0; }
}

@media (max-width: 570px) {
  .legal-header-inner { grid-template-columns: 1fr auto; gap: 0 16px; padding-top: 5px; }
  .legal-brand img { width: 133px; height: 61px; }
  .legal-top-nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; gap: 25px; min-height: 48px; border-top: 1px solid rgba(255,255,255,.14); }
  .language-switch { grid-column: 2; grid-row: 1; }
  .legal-hero .legal-shell { padding-block: 72px 66px; }
  .legal-hero h1 { font-size: clamp(3.1rem, 11vw, 4.5rem); }
  .legal-hero p { margin-top: 22px; }
  .legal-layout { padding-block: 58px 88px; }
  .legal-toc { gap: 8px 17px; }
  .legal-article h2 { margin-bottom: 19px; }
  .legal-footer-inner { align-items: flex-start; flex-direction: column; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
