.legal-page {
  min-width: 0;
  background: var(--white);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.legal-shell,
.legal-nav {
  width: min(var(--mx-content-width, 1285px), calc(100% - (var(--content-gutter, var(--mx-content-gutter, clamp(24px, 5.5vw, 68px))) * 2)));
  margin: 0 auto;
}

.legal-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 68px;
  border-bottom: 1px solid rgba(184, 200, 215, 0.78);
  background: rgba(243, 247, 251, 0.96);
  backdrop-filter: blur(18px);
}

.legal-header.is-scrolled {
  box-shadow: 0 7px 24px rgba(17, 24, 32, 0.07);
}

.legal-nav {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  height: 100%;
  column-gap: 18px;
}

.legal-nav-label {
  padding-left: 18px;
  border-left: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.legal-site-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.legal-site-nav a {
  padding-bottom: 2px;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 100% 100%;
  background-repeat: no-repeat;
  background-size: 0 1px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
  transition: color 160ms ease, background-size 180ms ease;
}

.legal-site-nav a:is(:hover, :focus-visible) {
  background-position: 0 100%;
  background-size: 100% 1px;
  color: var(--blue);
}

.legal-nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.legal-peer-link {
  padding: 8px 10px;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 100% calc(100% - 5px);
  background-repeat: no-repeat;
  background-size: 0 1px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 650;
  transition: color 160ms ease, background-size 180ms ease;
}

.legal-peer-link:is(:hover, :focus-visible) {
  background-position: 0 calc(100% - 5px);
  background-size: 100% 1px;
  color: var(--blue);
}

.legal-language {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink-soft);
}

.legal-language > svg {
  position: absolute;
  left: 12px;
  width: 16px;
  height: 16px;
  pointer-events: none;
}

.legal-language select {
  width: 124px;
  height: 100%;
  padding: 0 28px 0 36px;
  border: 0;
  border-radius: inherit;
  outline: 0;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 620;
}

.legal-language:focus-within {
  outline: 3px solid rgba(40, 103, 217, 0.25);
  outline-offset: 2px;
}

.legal-home-button {
  min-height: 40px;
  padding: 0 15px;
  gap: 7px;
  font-size: 13px;
}

.legal-home-button svg {
  width: 16px;
  height: 16px;
}

.legal-hero {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.legal-hero-inner {
  padding-top: 46px;
  padding-bottom: 46px;
}

.legal-breadcrumb {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 13px;
}

.legal-breadcrumb a {
  padding-bottom: 2px;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 100% 100%;
  background-repeat: no-repeat;
  background-size: 0 1px;
  transition: color 160ms ease, background-size 180ms ease;
}

.legal-breadcrumb a:is(:hover, :focus-visible) {
  background-position: 0 100%;
  background-size: 100% 1px;
  color: var(--blue);
}

.legal-breadcrumb svg {
  width: 14px;
  height: 14px;
}

.legal-kicker {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.legal-hero h1,
.legal-document h2,
.legal-document h3 {
  letter-spacing: 0;
}

.legal-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: 52px;
  font-weight: 600;
  line-height: 1.1;
}

.legal-lead {
  max-width: 800px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.7;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 56px;
  margin: 34px 0 0;
}

.legal-meta div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: baseline;
}

.legal-meta dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.legal-meta dd {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 620;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 720px);
  justify-content: start;
  padding-top: 52px;
  padding-bottom: 76px;
}

.legal-document {
  min-width: 0;
  color: var(--ink-soft);
}

.legal-notice {
  margin: 0 0 42px;
  padding: 22px 24px;
  border-left: 3px solid var(--blue);
  background: var(--blue-soft);
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

.legal-notice strong {
  color: var(--ink);
  font-weight: 700;
}

.legal-section {
  scroll-margin-top: 94px;
  border-top: 1px solid var(--line);
}

.legal-section + .legal-section {
  margin-top: 0;
  padding-top: 0;
}

.legal-section-summary {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 12px;
  padding: 24px 0;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.legal-section-summary::-webkit-details-marker {
  display: none;
}

.legal-section-summary > svg {
  width: 18px;
  height: 18px;
  color: var(--blue);
  transition: transform 160ms ease;
}

.legal-section[open] .legal-section-summary > svg {
  transform: rotate(180deg);
}

.legal-section-content {
  padding: 0 0 34px 54px;
}

.legal-section-number {
  display: block;
  margin: 0;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.legal-document h2 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.35;
}

.legal-document h3 {
  margin: 30px 0 10px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
}

.legal-document p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.72;
}

.legal-document ul,
.legal-document ol {
  margin: 14px 0 20px;
  padding-left: 22px;
}

.legal-document li {
  padding-left: 5px;
  margin-bottom: 9px;
  line-height: 1.7;
}

.legal-document a {
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 100% 100%;
  background-repeat: no-repeat;
  background-size: 0 1px;
  color: var(--blue);
  text-decoration: none;
  transition: color 160ms ease, background-size 180ms ease;
}

.legal-document a:is(:hover, :focus-visible) {
  background-position: 0 100%;
  background-size: 100% 1px;
  color: #1949aa;
}

.legal-document strong {
  color: var(--ink);
  font-weight: 700;
}

.legal-contact-details {
  margin: 24px 0 0;
}

.legal-definition {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.legal-definition:last-child {
  border-bottom: 1px solid var(--line);
}

.legal-definition dt {
  color: var(--ink);
  font-weight: 700;
}

.legal-definition dd {
  margin: 5px 0 0;
}

.legal-footer {
  border-top: 1px solid #29323b;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
}

.legal-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 28px;
  font-size: 12px;
}

.legal-footer-inner p {
  margin: 0;
}

.legal-footer-brand {
  display: grid;
  gap: 10px;
  padding: 18px 0;
}

.legal-footer-brand .brand-logo-footer {
  width: 156px;
}

.legal-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px;
}

.legal-global-footer-nav {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 18px !important;
  width: min(100%, 760px);
}

.legal-footer-group {
  display: grid;
  justify-items: start;
  gap: 7px;
}

.legal-footer-group strong {
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.legal-footer-group a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  line-height: 1.35;
}

.legal-footer a:hover,
.legal-footer a[aria-current="page"] {
  color: var(--white);
}

@media (max-width: 1120px) {
  .legal-nav-label,
  .legal-peer-link {
    display: none;
  }

  .legal-site-nav {
    display: none;
  }

  .legal-nav {
    grid-template-columns: auto 1fr;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }

  .legal-global-footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
}

@media (max-width: 640px) {
  .legal-header {
    height: 62px;
  }

  .legal-nav {
    column-gap: 10px;
  }

  .legal-nav .brand-name,
  .legal-home-button span {
    display: none;
  }

  .legal-nav .brand {
    gap: 0;
  }

  .legal-home-button {
    width: 40px;
    padding: 0;
  }

  .legal-language select {
    width: 112px;
  }

  .legal-hero-inner {
    padding-top: 34px;
    padding-bottom: 38px;
  }

  .legal-breadcrumb {
    margin-bottom: 26px;
  }

  .legal-hero h1 {
    font-size: 34px;
    line-height: 1.15;
  }

  .legal-lead {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.7;
  }

  .legal-meta {
    display: grid;
    gap: 12px;
    margin-top: 26px;
  }

  .legal-meta div {
    grid-template-columns: 78px 1fr;
  }

  .legal-layout {
    padding-top: 42px;
    padding-bottom: 68px;
  }

  .legal-notice {
    margin-bottom: 42px;
    padding: 18px;
  }

  .legal-section + .legal-section {
    margin-top: 0;
    padding-top: 0;
  }

  .legal-section-summary {
    grid-template-columns: 30px minmax(0, 1fr) 20px;
    gap: 9px;
    padding: 20px 0;
  }

  .legal-section-content {
    padding: 0 0 28px 39px;
  }

  .legal-document h2 {
    font-size: 21px;
    line-height: 1.4;
  }

  .legal-footer-inner {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .legal-footer nav {
    justify-content: flex-start;
  }

  .legal-global-footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
}

@media print {
  .legal-header,
  .legal-footer {
    display: none;
  }

  .legal-hero {
    background: transparent;
  }

  .legal-shell,
  .legal-nav {
    width: 100%;
  }

  .legal-layout {
    display: block;
    padding-top: 32px;
  }

  .legal-section {
    break-inside: avoid;
  }
}
