:root {
  color-scheme: light;
  --ink: #0d1729;
  --muted: #5b6980;
  --line: #dce4ef;
  --soft: #f4f7fc;
  --blue: #3e68eb;
  --blue-soft: #edf2ff;
  --navy: #071426;
  --navy-2: #102746;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html {
  height: auto !important;
  min-width: 320px;
  min-height: 100%;
  overflow-x: hidden !important;
  overflow-y: scroll !important;
  overscroll-behavior-y: auto;
  touch-action: pan-y;
  scroll-behavior: smooth;
  background: radial-gradient(circle at 16% 0, #172e57, transparent 34%), radial-gradient(circle at 88% 12%, #22336d, transparent 29%), var(--navy);
}
body {
  min-height: 100vh !important;
  width: min(1180px, calc(100% - 40px)) !important;
  max-width: none !important;
  margin: 24px auto !important;
  padding: 0 !important;
  overflow: visible !important;
  overscroll-behavior-y: auto;
  touch-action: pan-y;
  overflow-wrap: anywhere;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 24px;
  color: var(--ink) !important;
  background: #fff !important;
  box-shadow: 0 38px 110px rgba(0, 8, 27, .42);
  font-size: 16px;
  line-height: 1.72 !important;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid #f4bf4f; outline-offset: 3px; }

.legal-nav {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 !important;
  padding: 12px clamp(18px, 4vw, 44px) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  border-radius: 24px 24px 0 0;
  background: rgba(255,255,255,.9) !important;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.legal-nav nav { display: flex; align-items: center; gap: 10px; }
.legal-nav a { color: #536176 !important; font-size: 13px; font-weight: 780 !important; text-decoration: none !important; }
.legal-nav a:hover { color: var(--ink) !important; }
.legal-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink) !important; font-size: 15px !important; }
.legal-brand span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; color: #fff; background: linear-gradient(145deg, #347eff, #6854e8); box-shadow: 0 10px 24px rgba(52,126,255,.24); font-size: 10px; font-weight: 900; letter-spacing: -.03em; }
.legal-nav .language-link, .legal-nav > .language-link { display: grid; min-width: 40px; min-height: 40px; place-items: center; padding: 6px 10px; border: 1px solid #ccd7e6 !important; border-radius: 11px !important; color: var(--blue) !important; background: #fff; }

main {
  position: relative;
  min-height: 64vh;
  padding: clamp(48px, 8vw, 92px) clamp(22px, 9vw, 108px);
  background:
    radial-gradient(circle at 88% 2%, rgba(62,104,235,.1), transparent 27%),
    linear-gradient(180deg, #fff, #fbfcff 44%, #fff);
}
main::before { content: ""; position: absolute; top: 38px; right: clamp(22px, 6vw, 72px); width: 92px; height: 92px; border: 1px solid #e4eaf4; border-radius: 50%; box-shadow: 0 0 0 22px rgba(236,241,251,.56), 0 0 0 44px rgba(244,247,252,.72); pointer-events: none; }
main > * { position: relative; z-index: 1; }

.meta, .legal-kicker {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--blue) !important;
  background: var(--blue-soft);
  font-size: 11px !important;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

h1, h2, h3 { color: var(--ink); line-height: 1.17 !important; letter-spacing: -.035em; }
h1 { max-width: 21ch; margin: 0 0 24px; font-size: clamp(40px, 6vw, 64px) !important; letter-spacing: -.055em; }
h2 { position: relative; margin: 46px 0 13px !important; padding: 20px 0 0 20px; border-top: 1px solid #e3e9f2; font-size: clamp(23px, 3vw, 31px); }
h2::before { content: ""; position: absolute; top: 26px; left: 0; width: 5px; height: 24px; border-radius: 99px; background: linear-gradient(180deg, #3d78f5, #6753ee); }
h3 { margin-top: 30px !important; font-size: 20px; }
p, li { color: #3b4960; }
p { max-width: 79ch; }
li + li { margin-top: 6px; }
ul, ol { padding-left: 24px; }
code { padding: .12em .38em !important; border: 1px solid #dde5ef; border-radius: 6px !important; color: #203452; background: #f1f5fa !important; font-size: .9em; }
hr { margin: 35px 0 !important; border: 0 !important; border-top: 1px solid var(--line) !important; }
strong { color: #17253d; }

.legal-lead { max-width: 72ch; margin: -5px 0 36px; color: var(--muted); font-size: 18px; }
.legal-cards { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; counter-reset: legal-card; }
.legal-card { position: relative; display: grid; gap: 7px; min-height: 170px; padding: 24px; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; color: var(--ink); background: rgba(247,249,253,.86); text-decoration: none; transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease; counter-increment: legal-card; }
.legal-card::after { content: "0" counter(legal-card); position: absolute; right: 20px; bottom: 12px; color: #e6ebf4; font-size: 47px; font-weight: 900; letter-spacing: -.08em; }
.legal-card:hover { border-color: #91acf1; background: #fff; transform: translateY(-3px); box-shadow: 0 17px 40px rgba(34,63,112,.1); }
.legal-card.featured { border-color: #adc2f5; background: linear-gradient(145deg, #eaf1ff, #f8faff); }
.legal-card span { color: var(--blue); font-size: 10px; font-weight: 880; letter-spacing: .12em; text-transform: uppercase; }
.legal-card strong { align-self: end; max-width: 80%; font-size: 17px; line-height: 1.28; }
.legal-card small { max-width: 78%; color: var(--muted); font-size: 12px; }

.legal-callout, .legal-note { margin-top: 26px; padding: 20px 22px; border: 1px solid #c8d7f5; border-left: 5px solid var(--blue); border-radius: 8px 17px 17px 8px; color: #334258; background: linear-gradient(135deg, var(--blue-soft), #f8faff); box-shadow: 0 10px 28px rgba(38,70,126,.06); }
.legal-callout p, .legal-note p { margin: 5px 0 0; }
.legal-note + .legal-cards { margin-top: 28px; }

.company-details { margin: 24px 0 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 16px 40px rgba(32,57,99,.06); }
.company-details div { display: grid; grid-template-columns: minmax(190px,.52fr) minmax(0,1.48fr); border-bottom: 1px solid var(--line); }
.company-details div:last-child { border-bottom: 0; }
.company-details dt, .company-details dd { margin: 0; padding: 14px 18px; }
.company-details dt { color: var(--muted); background: var(--soft); font-size: 12px; font-weight: 820; }
.company-details dd { color: var(--ink); font-weight: 650; }

.legal-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin: 0 !important; padding: 22px clamp(18px,4vw,44px) !important; border: 0 !important; border-top: 1px solid rgba(255,255,255,.08) !important; border-radius: 0 0 24px 24px; color: #91a0b6 !important; background: linear-gradient(120deg, #081629, #102540) !important; font-size: 12px !important; }
.legal-footer p { margin: 0; color: #91a0b6; }
.legal-footer a { color: #c5d5fa; text-decoration: none; }
.legal-footer a:hover { color: #fff; }

@media (max-width: 700px) {
  body { width: 100% !important; margin: 0 !important; border: 0; border-radius: 0; box-shadow: none; }
  .legal-nav { border-radius: 0; }
  .legal-nav nav > a:not(.language-link) { display: none; }
  main { padding: 42px 19px 60px; }
  main::before { display: none; }
  h1 { font-size: 40px !important; }
  .legal-cards { grid-template-columns: 1fr; }
  .company-details div { grid-template-columns: 1fr; }
  .company-details dt { padding-bottom: 4px; }
  .company-details dd { padding-top: 4px; }
  .legal-footer { align-items: flex-start; flex-direction: column; border-radius: 0; }
}

@media print {
  html { background: #fff; }
  body { width: 100% !important; margin: 0 !important; overflow: visible; border: 0; box-shadow: none; }
  .legal-nav, .legal-footer { display: none; }
  main { padding: 0; background: #fff; }
  main::before { display: none; }
  a { color: inherit; }
  h2 { break-after: avoid; }
  p, li { orphans: 3; widows: 3; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

.legal-nav a{font-size:14px}.legal-card span{font-size:12px}.legal-card small{font-size:14px}.meta,.legal-kicker{font-size:12px!important}pre{white-space:pre-wrap;overflow-wrap:anywhere}h2{scroll-margin-top:100px}@media print{.legal-downloads{display:none}}
