@font-face {
  font-family: "Satoshi";
  src: url("../fonts/Satoshi-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi";
  src: url("../fonts/Satoshi-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi";
  src: url("../fonts/Satoshi-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --legal-ink: #202a44;
  --legal-ink-strong: #121a31;
  --legal-ink-soft: #404b65;
  --legal-muted: #667085;
  --legal-muted-strong: #525e76;
  --legal-paper: #ffffff;
  --legal-canvas: #f8f9fc;
  --legal-surface: #f4f6fa;
  --legal-surface-accent: #f3f5ff;
  --legal-line: #dfe4ed;
  --legal-line-soft: #edf0f5;
  --legal-accent: #4f63e9;
  --legal-accent-strong: #3549c7;
  --legal-success: #17765a;
  --legal-archived: #59647a;
  --legal-shell: 1224px;
  --legal-reading: 780px;
  --legal-toc-width: 258px;
  --legal-header-offset: 86px;
  --legal-clause-marker-width: 3.8rem;
  --legal-clause-column-gap: 0.95rem;
  --legal-sublist-marker-width: 2.75rem;
  --legal-sublist-column-gap: 0.75rem;
  --legal-radius-sm: 8px;
  --legal-radius-md: 14px;
  --legal-shadow-focus: 0 0 0 4px rgba(79, 99, 233, 0.2);
}

html {
  scroll-padding-top: var(--legal-header-offset);
  scroll-behavior: smooth;
  background: var(--legal-paper);
}

.legal-page-body {
  min-width: 320px;
  margin: 0;
  color: var(--legal-ink);
  background: var(--legal-paper);
  font-family: "Satoshi", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.legal-page-body *,
.legal-page-body *::before,
.legal-page-body *::after {
  box-sizing: border-box;
}

.legal-page-body img {
  display: block;
  max-width: 100%;
}

.legal-page-body a {
  color: inherit;
}

.legal-page-body button {
  font: inherit;
}

.legal-page-body [id] {
  scroll-margin-top: var(--legal-header-offset);
}

.legal-page-body :focus-visible {
  outline: 2px solid var(--legal-accent);
  outline-offset: 3px;
  box-shadow: var(--legal-shadow-focus);
}

.legal-sr-only,
.legal-visually-hidden,
[data-legal-announcer] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  color: #fff;
  background: var(--legal-ink-strong);
  border-radius: var(--legal-radius-sm);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(calc(-100% - 24px));
  transition: transform 140ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Global Legal identity */
.legal-global-header {
  position: sticky;
  z-index: 50;
  top: 0;
  min-height: 64px;
  color: var(--legal-ink);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--legal-line);
  backdrop-filter: blur(14px);
}

.legal-global-header-inner {
  width: min(var(--legal-shell), calc(100% - 48px));
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.legal-brand-context,
.legal-brand,
.legal-footer-brand {
  display: inline-flex;
  align-items: center;
}

.legal-brand-context {
  min-width: 0;
  gap: 12px;
}

.legal-brand,
.legal-footer-brand {
  gap: 9px;
  color: var(--legal-ink-strong);
  font-weight: 700;
  letter-spacing: -0.015em;
  text-decoration: none;
}

.legal-brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.legal-brand-name {
  font-size: 1.02rem;
}

.legal-brand-divider {
  width: 1px;
  height: 24px;
  background: var(--legal-line);
}

.legal-context-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--legal-muted-strong);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
}

.legal-context-link[aria-current="page"] {
  color: var(--legal-ink-strong);
}

.legal-return-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--legal-muted-strong);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
}

.legal-return-link::before {
  content: "\2190";
  color: var(--legal-accent);
  font-size: 1.05rem;
}

.legal-context-link:hover,
.legal-return-link:hover,
.legal-brand:hover {
  color: var(--legal-accent-strong);
}

/* Shared shell and wayfinding */
.legal-shell {
  width: min(var(--legal-shell), calc(100% - 48px));
  margin: 0 auto;
  padding: 26px 0 104px;
}

.legal-breadcrumbs {
  margin: 0 0 26px;
  color: var(--legal-muted);
  font-size: 0.86rem;
}

.legal-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.legal-breadcrumbs li:not(:last-child)::after {
  content: "/";
  color: #98a2b3;
}

.legal-breadcrumbs a {
  color: var(--legal-accent-strong);
  font-weight: 500;
  text-decoration: none;
}

.legal-breadcrumbs a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.legal-status {
  width: fit-content;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--legal-muted-strong);
  font-size: 0.73rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.legal-status::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  background: currentColor;
  border-radius: 50%;
}

.legal-status-current,
.legal-status[data-status="current"] {
  color: var(--legal-success);
}

.legal-status-archived {
  color: var(--legal-archived);
}

/* Document heading and controls */
.legal-document-header {
  margin: 0 0 46px;
  padding: 8px 0 34px;
  border-bottom: 1px solid var(--legal-line);
}

.legal-document-heading-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.legal-document-heading {
  min-width: 0;
}

.legal-document-eyebrow,
.legal-center-eyebrow,
.legal-section-eyebrow {
  margin: 0 0 10px;
  color: var(--legal-accent-strong);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.25;
  text-transform: uppercase;
}

.legal-document-header h1 {
  max-width: 920px;
  margin: 0;
  color: var(--legal-ink-strong);
  font-size: clamp(2.65rem, 4.3vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  overflow-wrap: break-word;
}

.legal-document-heading-row > .legal-status {
  margin-top: 25px;
}

.legal-document-description {
  max-width: 720px;
  margin: 20px 0 0;
  color: var(--legal-ink-soft);
  font-size: 1.1rem;
  line-height: 1.62;
}

.legal-metadata,
.legal-document-card-metadata,
.legal-version-metadata {
  margin: 23px 0 0;
}

.legal-metadata {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 38px;
}

.legal-metadata div,
.legal-document-card-metadata div,
.legal-version-metadata div {
  display: grid;
  gap: 3px;
}

.legal-metadata dt,
.legal-document-card-metadata dt,
.legal-version-metadata dt {
  color: var(--legal-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.3;
  text-transform: uppercase;
}

.legal-metadata dd,
.legal-document-card-metadata dd,
.legal-version-metadata dd {
  margin: 0;
  color: var(--legal-ink);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.45;
}

.legal-document-toolbar {
  margin-top: 28px;
  padding-top: 22px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 32px;
  border-top: 1px solid var(--legal-line-soft);
}

.legal-language-switcher {
  display: grid;
  gap: 7px;
}

.legal-control-label {
  color: var(--legal-muted);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-transform: uppercase;
}

.legal-language-options {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 3px;
  background: var(--legal-surface);
  border: 1px solid var(--legal-line);
  border-radius: 10px;
}

.legal-language-option {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 13px;
  color: var(--legal-muted-strong);
  border-radius: 7px;
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.legal-language-option.is-active {
  color: #fff;
  background: var(--legal-ink-strong);
}

a.legal-language-option:hover {
  color: var(--legal-accent-strong);
  background: var(--legal-paper);
}

.legal-document-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.legal-action-button,
.legal-action-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 13px;
  color: var(--legal-muted-strong);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--legal-radius-sm);
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.legal-action-button {
  border-color: var(--legal-line);
  background: var(--legal-paper);
}

.legal-action-button:hover,
.legal-action-link:hover {
  color: var(--legal-accent-strong);
  background: var(--legal-surface-accent);
}

/* Document navigation and reading measure */
.legal-layout {
  display: grid;
  grid-template-columns: var(--legal-toc-width) minmax(0, var(--legal-reading));
  column-gap: clamp(48px, 5.2vw, 72px);
  align-items: start;
}

.legal-toc-panel {
  position: sticky;
  top: calc(var(--legal-header-offset) - 2px);
  max-height: calc(100vh - var(--legal-header-offset) - 22px);
  padding: 4px 14px 18px 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: #c8cfdb transparent;
  scrollbar-width: thin;
}

.legal-toc-panel::-webkit-scrollbar {
  width: 6px;
}

.legal-toc-panel::-webkit-scrollbar-thumb {
  background: #c8cfdb;
  border-radius: 999px;
}

.legal-toc-title {
  margin: 0 0 12px 13px;
  color: var(--legal-muted);
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.legal-toc ol {
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--legal-line);
  list-style: none;
}

.legal-toc li {
  margin: 0;
  padding: 0;
}

.legal-toc a {
  min-height: 36px;
  margin-left: -1px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: start;
  gap: 5px;
  padding: 8px 8px 8px 12px;
  color: var(--legal-muted-strong);
  border-left: 2px solid transparent;
  border-radius: 0 7px 7px 0;
  font-size: 0.81rem;
  font-weight: 400;
  line-height: 1.35;
  text-decoration: none;
  transition: color 120ms ease, background-color 120ms ease, border-color 120ms ease;
}

.legal-toc a:hover {
  color: var(--legal-ink-strong);
  background: var(--legal-surface);
}

.legal-toc a.is-current,
.legal-toc a[aria-current="location"] {
  color: var(--legal-accent-strong);
  background: var(--legal-surface-accent);
  border-left-color: var(--legal-accent);
  font-weight: 500;
}

.legal-toc-index {
  color: #667085;
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.035em;
  line-height: 1.52;
}

.legal-toc a.is-current .legal-toc-index,
.legal-toc a[aria-current="location"] .legal-toc-index {
  color: var(--legal-accent);
}

.legal-toc-mobile {
  display: none;
}

.legal-reading-column {
  min-width: 0;
  width: 100%;
  max-width: var(--legal-reading);
}

.legal-article {
  min-width: 0;
  color: var(--legal-ink);
  font-size: 17.25px;
  line-height: 1.73;
  letter-spacing: -0.004em;
  overflow-wrap: break-word;
}

.legal-article > :first-child {
  margin-top: 0;
}

.legal-article p {
  margin: 0 0 1.18em;
}

.legal-article a {
  color: var(--legal-accent-strong);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(53, 73, 199, 0.38);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.legal-article a:hover {
  text-decoration-color: currentColor;
}

.legal-section-level-1 {
  margin-top: 3.3rem;
  padding-top: 3.15rem;
  border-top: 1px solid var(--legal-line-soft);
}

.legal-article > .legal-section-level-1:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.legal-section-level-2 {
  margin-top: 2.2rem;
}

.legal-section-level-3 {
  margin-top: 1.75rem;
}

.legal-section-heading {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0 0 1.25rem;
}

.legal-section-heading h2,
.legal-section-heading h3,
.legal-section-heading h4,
.legal-section-heading h5,
.legal-section-heading h6 {
  min-width: 0;
  margin: 0;
  color: var(--legal-ink-strong);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.28;
}

.legal-section-heading h2 {
  font-size: 1.65rem;
}

.legal-section-heading h3 {
  font-size: 1.27rem;
  letter-spacing: -0.018em;
}

.legal-section-heading h4,
.legal-section-heading h5,
.legal-section-heading h6 {
  font-size: 1.08rem;
  letter-spacing: -0.01em;
}

.legal-section-number {
  color: var(--legal-accent-strong);
}

.copy-section-link {
  position: relative;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  margin: -2px 0 0;
  display: inline-grid;
  place-items: center;
  color: var(--legal-muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 7px;
  cursor: pointer;
  opacity: 1;
  transition: color 120ms ease, background-color 120ms ease;
}

.copy-section-link:hover,
.copy-section-link:focus-visible,
.copy-section-link[data-copy-state] {
  color: var(--legal-accent-strong);
  background: var(--legal-surface-accent);
}

.copy-section-link-icon,
.copy-section-link-icon::before,
.copy-section-link-icon::after {
  display: block;
}

.copy-section-link-icon {
  position: relative;
  width: 16px;
  height: 16px;
}

.copy-section-link-icon::before,
.copy-section-link-icon::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 12px;
  border: 1.6px solid currentColor;
  border-radius: 4px;
  transform: rotate(42deg);
}

.copy-section-link-icon::before {
  top: -1px;
  right: 1px;
}

.copy-section-link-icon::after {
  bottom: -1px;
  left: 1px;
}

.legal-clause {
  display: grid;
  grid-template-columns: minmax(var(--legal-clause-marker-width), max-content) minmax(0, 1fr);
  column-gap: var(--legal-clause-column-gap);
  align-items: baseline;
}

.legal-clause-number {
  color: var(--legal-muted-strong);
  font-size: 0.94em;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

.legal-clause-text {
  min-width: 0;
}

.legal-list {
  margin: 0.35rem 0 1.35rem;
  padding-left: 1.55rem;
}

.legal-list li {
  margin: 0.52rem 0;
  padding-left: 0.32rem;
}

.legal-list li::marker {
  color: var(--legal-muted-strong);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}

.legal-list .legal-list {
  margin: 0.55rem 0 0.35rem;
}

.legal-list-bullet {
  list-style-type: disc;
}

.legal-list-alpha {
  list-style: none;
  padding-left: 0;
}

.legal-list-alpha-upper {
  list-style: none;
  padding-left: 0;
}

.legal-list-alpha > li,
.legal-list-alpha-upper > li {
  display: grid;
  grid-template-columns: minmax(var(--legal-sublist-marker-width), max-content) minmax(0, 1fr);
  column-gap: var(--legal-sublist-column-gap);
  align-items: baseline;
  margin-block: 0.72rem;
  padding-left: 0;
}

.legal-list-alpha > li::before,
.legal-list-alpha-upper > li::before {
  content: attr(data-legal-marker) ".";
  grid-column: 1;
  color: var(--legal-muted-strong);
  font-size: 0.9em;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  letter-spacing: 0;
}

.legal-list-alpha > li > .legal-list-item-text,
.legal-list-alpha-upper > li > .legal-list-item-text,
.legal-list-alpha > li > .legal-list,
.legal-list-alpha-upper > li > .legal-list {
  grid-column: 2;
  min-width: 0;
}

.legal-clause + .legal-list {
  margin-left: calc(var(--legal-clause-marker-width) + var(--legal-clause-column-gap));
}

.legal-list-roman {
  list-style-type: lower-roman;
}

.legal-list-roman-upper {
  list-style-type: upper-roman;
}

.legal-list-decimal {
  list-style-type: decimal;
}

/* Semantic legal relationships */
.legal-glossary {
  margin: 1.8rem 0 2.4rem;
  border-top: 1px solid var(--legal-line);
  border-bottom: 1px solid var(--legal-line);
}

.legal-glossary-key,
.legal-glossary-entry {
  display: grid;
  grid-template-columns: minmax(158px, 0.36fr) minmax(0, 1fr);
  column-gap: 24px;
}

.legal-glossary-key {
  padding: 11px 16px;
  color: var(--legal-muted);
  background: var(--legal-surface);
  border-bottom: 1px solid var(--legal-line);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.35;
  text-transform: uppercase;
}

.legal-glossary-key p,
.legal-glossary-entry p {
  margin: 0;
}

.legal-glossary dl {
  margin: 0;
}

.legal-glossary-entry {
  padding: 15px 16px 16px;
  border-bottom: 1px solid var(--legal-line-soft);
}

.legal-glossary-entry:last-child {
  border-bottom: 0;
}

.legal-glossary dt,
.legal-glossary dd {
  min-width: 0;
  margin: 0;
}

.legal-glossary dt {
  color: var(--legal-ink-strong);
  font-size: 0.96em;
  font-weight: 700;
  line-height: 1.58;
}

.legal-glossary dd {
  color: var(--legal-ink-soft);
}

.legal-table-scroll {
  position: relative;
  width: 100%;
  margin: 1.9rem 0 2.6rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  border-top: 1px solid var(--legal-line);
  border-bottom: 1px solid var(--legal-line);
  scrollbar-color: #b8c0cf var(--legal-surface);
  scrollbar-width: thin;
}

.legal-table-scroll::-webkit-scrollbar {
  height: 10px;
}

.legal-table-scroll::-webkit-scrollbar-track {
  background: var(--legal-surface);
}

.legal-table-scroll::-webkit-scrollbar-thumb {
  background: #b8c0cf;
  border: 2px solid var(--legal-surface);
  border-radius: 999px;
}

.legal-table-scroll table {
  width: 100%;
  min-width: 700px;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--legal-ink);
  font-size: 0.86rem;
  line-height: 1.52;
  text-align: left;
}

.legal-table-scroll th,
.legal-table-scroll td {
  min-width: 128px;
  padding: 13px 14px;
  vertical-align: top;
  border: 0;
  border-bottom: 1px solid var(--legal-line-soft);
}

.legal-table-scroll thead th {
  color: var(--legal-ink-strong);
  background: var(--legal-surface);
  border-bottom-color: var(--legal-line);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.015em;
}

.legal-table-scroll tbody th[scope="row"] {
  min-width: 165px;
  color: var(--legal-ink-strong);
  background: #fbfcfe;
  font-weight: 700;
}

.legal-table-scroll tbody tr:last-child > * {
  border-bottom: 0;
}

.legal-table-scroll p {
  margin: 0 0 0.62rem;
}

.legal-table-scroll p:last-child {
  margin-bottom: 0;
}

/* Document follow-up */
.legal-document-followup {
  margin-top: 5rem;
  padding: 30px 0 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.8fr);
  gap: 30px;
  border-top: 1px solid var(--legal-line);
}

.legal-support-contact h2 {
  margin: 0 0 7px;
  color: var(--legal-ink-strong);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.legal-support-contact a,
.legal-related-links a {
  color: var(--legal-accent-strong);
  font-weight: 500;
  text-decoration: none;
}

.legal-support-contact a:hover,
.legal-related-links a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.legal-related-links {
  display: grid;
  align-content: start;
  gap: 6px;
}

.legal-related-links > span {
  margin-bottom: 3px;
  color: var(--legal-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* Legal Center landing */
.legal-center-page,
.legal-archive-page {
  background: var(--legal-paper);
}

.legal-center-home {
  max-width: 1120px;
}

.legal-center-hero,
.legal-archive-hero {
  max-width: 790px;
  padding: 46px 0 50px;
}

.legal-center-hero h1,
.legal-archive-hero h1 {
  margin: 0;
  color: var(--legal-ink-strong);
  font-size: clamp(3rem, 6vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.052em;
  line-height: 0.98;
}

.legal-center-hero > p:last-child,
.legal-archive-hero > p:last-child {
  max-width: 730px;
  margin: 22px 0 0;
  color: var(--legal-ink-soft);
  font-size: 1.18rem;
  line-height: 1.66;
}

.legal-primary-documents {
  padding-top: 10px;
}

.legal-document-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.legal-document-card {
  min-width: 0;
  padding: 30px;
  background: var(--legal-paper);
  border: 1px solid var(--legal-line);
  border-radius: var(--legal-radius-md);
}

.legal-document-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.legal-document-card h3 {
  margin: 0;
  color: var(--legal-ink-strong);
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.legal-document-card-description {
  max-width: 430px;
  min-height: 3.1em;
  margin: 14px 0 0;
  color: var(--legal-ink-soft);
  line-height: 1.58;
}

.legal-document-card-metadata {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  padding-top: 21px;
  border-top: 1px solid var(--legal-line-soft);
}

.legal-document-language-links {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.legal-document-language-links a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  color: var(--legal-accent-strong);
  background: var(--legal-surface-accent);
  border-radius: var(--legal-radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
}

.legal-document-language-links a:hover {
  background: #e9edff;
}

.legal-account-area {
  margin-top: 76px;
  padding: 48px 0;
  border-top: 1px solid var(--legal-line);
  border-bottom: 1px solid var(--legal-line);
}

.legal-section-intro {
  max-width: 680px;
  margin-bottom: 28px;
}

.legal-section-intro h2,
.legal-history-row h2,
.legal-operator-trust h2,
.legal-history-document > h2 {
  margin: 0;
  color: var(--legal-ink-strong);
  font-size: 1.75rem;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.legal-account-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.legal-account-action {
  min-width: 0;
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  color: var(--legal-ink);
  border-top: 1px solid var(--legal-line);
  text-decoration: none;
}

.legal-account-action strong,
.legal-account-action small {
  display: block;
}

.legal-account-action strong {
  color: var(--legal-ink-strong);
  font-size: 1.02rem;
}

.legal-account-action small {
  max-width: 410px;
  margin-top: 5px;
  color: var(--legal-muted-strong);
  font-size: 0.91rem;
  line-height: 1.5;
}

.legal-account-action > span:last-child {
  color: var(--legal-accent);
  font-size: 1.25rem;
  transition: transform 120ms ease;
}

.legal-account-action:hover {
  color: var(--legal-accent-strong);
}

.legal-account-action:hover > span:last-child {
  transform: translateX(3px);
}

.legal-history-row {
  padding: 52px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  border-bottom: 1px solid var(--legal-line);
}

.legal-history-row p:last-child {
  margin: 10px 0 0;
  color: var(--legal-muted-strong);
}

.legal-history-row > a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--legal-accent-strong);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.legal-history-row > a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.legal-operator-trust {
  max-width: 540px;
  padding: 52px 0 0;
}

.legal-operator-trust > p:last-child {
  margin: 11px 0 0;
  color: var(--legal-muted-strong);
  line-height: 1.6;
}

/* Document history */
.legal-archive {
  max-width: 1120px;
}

.legal-archive-hero {
  padding-top: 32px;
}

.legal-history-groups {
  margin-top: 18px;
  border-top: 1px solid var(--legal-line);
}

.legal-history-document {
  padding: 44px 0 50px;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 44px;
  border-bottom: 1px solid var(--legal-line);
}

.legal-history-document > h2 {
  font-size: 1.45rem;
}

.legal-version-list {
  min-width: 0;
}

.legal-version-row {
  min-width: 0;
  padding: 0 0 26px;
  display: grid;
  grid-template-columns: minmax(150px, 0.65fr) minmax(0, 1fr);
  gap: 14px 32px;
  border-bottom: 1px solid var(--legal-line-soft);
}

.legal-version-row + .legal-version-row {
  padding-top: 26px;
}

.legal-version-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.legal-version-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.legal-version-heading h3 {
  margin: 0;
  color: var(--legal-ink-strong);
  font-size: 1.03rem;
  line-height: 1.4;
}

.legal-version-metadata {
  grid-column: 1;
  margin-top: 0;
}

.legal-version-languages {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-version-languages li {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 0;
  border-bottom: 1px solid var(--legal-line-soft);
}

.legal-version-languages li:first-child {
  padding-top: 0;
}

.legal-version-languages li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.legal-version-language {
  color: var(--legal-ink);
  font-weight: 500;
}

.legal-version-formats {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.legal-version-formats a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  color: var(--legal-accent-strong);
  background: var(--legal-surface-accent);
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
}

.legal-format-unavailable {
  color: var(--legal-muted);
  font-size: 0.82rem;
}

/* Footer */
.legal-global-footer {
  color: #dce2f1;
  background: #121a31;
  border-top: 1px solid #26314c;
}

.legal-global-footer-inner {
  width: min(var(--legal-shell), calc(100% - 48px));
  margin: 0 auto;
  padding: 20px 0 4px;
}

.legal-footer-main {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(500px, 1.22fr);
  gap: 48px;
  align-items: start;
}

.legal-footer-identity {
  display: grid;
  align-content: start;
  gap: 10px;
}

.legal-footer-brand {
  width: fit-content;
  color: #fff;
  font-size: 0.98rem;
}

.legal-footer-brand img {
  width: 30px;
  height: 30px;
}

.legal-footer-operator {
  display: grid;
  gap: 1px;
  color: #8f9bb4;
  font-size: 0.74rem;
  line-height: 1.4;
}

.legal-footer-operator strong {
  margin-bottom: 1px;
  color: #dce2f1;
  font-size: 0.78rem;
  font-weight: 500;
}

.legal-footer-registration {
  color: #7f8ca6;
  font-size: 0.71rem;
}

.legal-footer-navigation {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(150px, 0.9fr) minmax(190px, 1.1fr);
  gap: 36px;
}

.legal-footer-group {
  min-width: 0;
}

.legal-footer-heading {
  margin: 1px 0 6px;
  color: #aeb8ce;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.legal-footer-link-list {
  display: grid;
  gap: 0;
}

.legal-footer-links a {
  width: fit-content;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 2px 0;
  color: #c6cfe0;
  font-size: 0.83rem;
  line-height: 1.4;
  text-decoration: none;
}

.legal-footer-links a:hover {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: #8292ff;
  text-underline-offset: 4px;
}

.legal-footer-utility {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 14px;
  padding-top: 8px;
  border-top: 1px solid #26314c;
}

.legal-footer-copyright {
  margin: 0;
  color: #7f8ca6;
  font-size: 0.71rem;
  line-height: 1.4;
}

.legal-footer-utility-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.legal-footer-utility-actions a,
.legal-global-footer .legal-footer-button {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 2px 0;
  color: #98a5bd;
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 0.74rem;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
}

.legal-footer-utility-actions a:hover,
.legal-global-footer .legal-footer-button:hover {
  color: #eef2fb;
  text-decoration: underline;
  text-decoration-color: #8292ff;
  text-underline-offset: 4px;
}

.legal-footer-utility-separator {
  color: #56627b;
  font-size: 0.74rem;
}

.legal-print-masthead {
  display: none;
}

@media (max-width: 1080px) {
  .legal-layout {
    grid-template-columns: 226px minmax(0, var(--legal-reading));
    column-gap: 42px;
  }

  .legal-toc a {
    grid-template-columns: 25px minmax(0, 1fr);
    padding-left: 10px;
    font-size: 0.78rem;
  }
}

@media (max-width: 900px) {
  :root {
    --legal-header-offset: 82px;
  }

  .legal-layout {
    display: block;
  }

  .legal-document-header {
    margin-bottom: 0;
  }

  .legal-toc-panel {
    display: none;
  }

  .copy-section-link {
    width: 44px;
    height: 44px;
    margin-top: -8px;
  }

  .legal-toc-mobile {
    margin: 0 0 36px;
    display: block;
    border-top: 0;
    border-bottom: 1px solid var(--legal-line);
  }

  .legal-toc-mobile summary {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: var(--legal-ink-strong);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
  }

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

  .legal-toc-mobile summary::after {
    content: "+";
    color: var(--legal-accent);
    font-size: 1.2rem;
    font-weight: 400;
  }

  .legal-toc-mobile[open] summary::after {
    content: "\2212";
  }

  .legal-toc-mobile .legal-toc {
    max-height: min(60vh, 520px);
    margin-bottom: 16px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .legal-toc-mobile .legal-toc ol {
    border-left: 0;
  }

  .legal-toc-mobile .legal-toc a {
    min-height: 44px;
    margin: 0;
    grid-template-columns: 30px minmax(0, 1fr);
    padding: 9px 10px;
    border-left: 2px solid transparent;
    border-radius: 7px;
    font-size: 0.86rem;
  }

  .legal-reading-column {
    margin: 0 auto;
  }

  .legal-document-followup {
    margin-top: 4rem;
  }

  .legal-footer-main {
    grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
    gap: 36px;
  }

  .legal-footer-navigation {
    gap: 24px;
  }
}

@media (max-width: 720px) {
  :root {
    --legal-header-offset: 78px;
    --legal-clause-marker-width: 3.15rem;
    --legal-clause-column-gap: 0.72rem;
    --legal-sublist-marker-width: 2.5rem;
    --legal-sublist-column-gap: 0.65rem;
  }

  .legal-global-header-inner,
  .legal-shell,
  .legal-global-footer-inner {
    width: min(100% - 32px, var(--legal-shell));
  }

  .legal-shell {
    padding-top: 20px;
    padding-bottom: 76px;
  }

  .legal-global-header-inner {
    gap: 14px;
  }

  .legal-brand-context {
    gap: 9px;
  }

  .legal-brand-divider {
    height: 20px;
  }

  .legal-return-link {
    font-size: 0.8rem;
  }

  .legal-breadcrumbs {
    margin-bottom: 20px;
  }

  .legal-document-header {
    margin-bottom: 0;
    padding-bottom: 28px;
  }

  .legal-document-heading-row {
    display: block;
  }

  .legal-document-header h1 {
    font-size: clamp(2.25rem, 10vw, 2.8rem);
    line-height: 1.03;
  }

  .legal-document-heading-row > .legal-status {
    margin-top: 18px;
  }

  .legal-document-description {
    margin-top: 17px;
    font-size: 1.02rem;
  }

  .legal-metadata {
    gap: 12px 26px;
  }

  .legal-document-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .legal-language-switcher {
    width: 100%;
  }

  .legal-language-options {
    width: 100%;
  }

  .legal-language-option,
  .legal-action-button,
  .legal-action-link,
  .legal-document-language-links a,
  .legal-version-formats a {
    min-height: 44px;
  }

  .legal-document-actions {
    justify-content: flex-start;
  }

  .legal-toc-mobile {
    margin-bottom: 30px;
  }

  .legal-article {
    font-size: 16.75px;
    line-height: 1.72;
  }

  .legal-section-level-1 {
    margin-top: 2.7rem;
    padding-top: 2.55rem;
  }

  .legal-section-heading h2 {
    font-size: 1.47rem;
  }

  .legal-section-heading h3 {
    font-size: 1.2rem;
  }

  .legal-clause {
    grid-template-columns: minmax(var(--legal-clause-marker-width), max-content) minmax(0, 1fr);
    column-gap: var(--legal-clause-column-gap);
  }

  .legal-list-alpha > li,
  .legal-list-alpha-upper > li {
    grid-template-columns: minmax(var(--legal-sublist-marker-width), max-content) minmax(0, 1fr);
    column-gap: var(--legal-sublist-column-gap);
  }

  .legal-clause + .legal-list {
    margin-left: calc(var(--legal-clause-marker-width) + var(--legal-clause-column-gap));
  }

  .legal-glossary-key,
  .legal-glossary-entry {
    grid-template-columns: minmax(126px, 0.4fr) minmax(0, 1fr);
    column-gap: 16px;
  }

  .legal-table-scroll {
    padding-top: 26px;
  }

  .legal-table-scroll::before {
    content: attr(data-scroll-hint) " \2192";
    position: absolute;
    top: 4px;
    left: 0;
    color: var(--legal-muted);
    font-size: 0.7rem;
    letter-spacing: 0.02em;
    pointer-events: none;
  }

  .legal-table-scroll table {
    min-width: 660px;
  }

  .legal-table-scroll tbody th[scope="row"] {
    position: sticky;
    z-index: 1;
    left: 0;
    box-shadow: 1px 0 0 var(--legal-line);
  }

  .legal-document-followup {
    grid-template-columns: 1fr;
  }

  .legal-center-hero,
  .legal-archive-hero {
    padding: 36px 0 32px;
  }

  .legal-primary-documents {
    padding-top: 0;
  }

  .legal-center-hero h1,
  .legal-archive-hero h1 {
    font-size: clamp(2.6rem, 13vw, 3.35rem);
  }

  .legal-center-hero > p:last-child,
  .legal-archive-hero > p:last-child {
    margin-top: 18px;
    font-size: 1.05rem;
  }

  .legal-document-grid,
  .legal-account-actions {
    grid-template-columns: 1fr;
  }

  .legal-document-card {
    padding: 24px;
  }

  .legal-document-card-description {
    min-height: 0;
  }

  .legal-account-area {
    margin-top: 58px;
    padding: 40px 0;
  }

  .legal-account-actions {
    gap: 12px;
  }

  .legal-history-row {
    align-items: flex-start;
    flex-direction: column;
    padding: 42px 0;
  }

  .legal-history-row > a {
    white-space: normal;
  }

  .legal-history-document {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 36px 0 42px;
  }

  .legal-version-row {
    grid-template-columns: 1fr;
  }

  .legal-version-metadata,
  .legal-version-languages {
    grid-column: 1;
    grid-row: auto;
  }

  .legal-global-footer-inner {
    padding: 24px 0 12px;
  }

  .legal-footer-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .legal-footer-navigation {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .legal-footer-heading {
    margin-bottom: 4px;
  }

  .legal-footer-links a,
  .legal-footer-utility-actions a,
  .legal-global-footer .legal-footer-button {
    min-height: 44px;
  }

  .legal-footer-utility {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    margin-top: 18px;
    padding-top: 10px;
  }

  .legal-footer-utility-actions {
    display: grid;
    gap: 0;
  }

  .legal-footer-utility-separator {
    display: none;
  }
}

@media (max-width: 480px) {
  :root {
    --legal-clause-marker-width: 2.9rem;
    --legal-clause-column-gap: 0.65rem;
    --legal-sublist-marker-width: 2.35rem;
    --legal-sublist-column-gap: 0.55rem;
  }

  .legal-brand-context {
    flex: 0 1 auto;
  }

  .legal-return-link {
    max-width: 145px;
    justify-content: flex-end;
    text-align: right;
    line-height: 1.2;
  }

  .legal-document-header h1 {
    font-size: 2.22rem;
  }

  .legal-document-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal-action-button,
  .legal-action-link {
    width: 100%;
    padding-inline: 8px;
    text-align: center;
  }

  .legal-action-link {
    border-color: var(--legal-line);
  }

  .legal-article {
    font-size: 16.5px;
  }

  .legal-section-heading {
    gap: 5px;
  }

  .copy-section-link {
    width: 44px;
    height: 44px;
    margin-top: -8px;
    opacity: 1;
  }

  .legal-clause {
    grid-template-columns: minmax(var(--legal-clause-marker-width), max-content) minmax(0, 1fr);
    column-gap: var(--legal-clause-column-gap);
  }

  .legal-list-alpha > li,
  .legal-list-alpha-upper > li {
    grid-template-columns: minmax(var(--legal-sublist-marker-width), max-content) minmax(0, 1fr);
    column-gap: var(--legal-sublist-column-gap);
  }

  .legal-clause + .legal-list {
    margin-left: calc(var(--legal-clause-marker-width) + var(--legal-clause-column-gap));
  }

  .legal-glossary-key {
    display: none;
  }

  .legal-glossary-entry {
    display: block;
    padding: 16px 4px 17px;
  }

  .legal-glossary dt {
    margin-bottom: 5px;
  }

  .legal-list {
    padding-left: 1.35rem;
  }

  .legal-list-alpha,
  .legal-list-alpha-upper {
    padding-left: 0;
  }

  .legal-document-card-heading,
  .legal-version-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .legal-version-languages li {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .legal-version-formats {
    justify-content: flex-start;
  }

  .legal-version-formats a {
    min-height: 44px;
  }

}

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

  .skip-link,
  .legal-toc a,
  .copy-section-link,
  .legal-account-action > span:last-child {
    transition: none;
  }
}

@media (forced-colors: active) {
  .legal-status::before,
  .legal-brand-divider {
    background: CanvasText;
  }

  .legal-language-option.is-active {
    color: HighlightText;
    background: Highlight;
  }

  .legal-toc a.is-current,
  .legal-toc a[aria-current="location"] {
    border-left-color: Highlight;
  }
}

@media print {
  @page {
    size: auto;
    margin: 17mm 16mm 19mm;
  }

  :root {
    --legal-ink: #000;
    --legal-ink-strong: #000;
    --legal-ink-soft: #111;
    --legal-muted: #333;
    --legal-muted-strong: #222;
    --legal-line: #999;
    --legal-line-soft: #ccc;
    --legal-clause-marker-width: 15mm;
    --legal-clause-column-gap: 3mm;
    --legal-sublist-marker-width: 10mm;
    --legal-sublist-column-gap: 2.5mm;
  }

  html {
    scroll-behavior: auto;
    background: #fff;
  }

  .legal-page-body {
    min-width: 0;
    color: #000;
    background: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10.5pt;
    line-height: 1.55;
  }

  .legal-global-header,
  .legal-global-footer,
  .skip-link,
  .legal-breadcrumbs,
  .legal-document-toolbar,
  .legal-toc-mobile,
  .legal-toc-panel,
  .copy-section-link,
  .legal-document-followup {
    display: none !important;
  }

  .legal-shell {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .legal-print-masthead {
    margin: 0 0 14mm;
    padding: 0 0 6mm;
    display: block;
    border-bottom: 0.5pt solid #777;
  }

  .legal-print-masthead p {
    margin: 1.5mm 0 0;
    color: #222;
    font-size: 8.5pt;
    line-height: 1.4;
  }

  .legal-print-masthead .legal-print-brand {
    margin-top: 0;
    color: #000;
    font-size: 12pt;
    font-weight: 700;
  }

  .legal-document-header {
    margin-bottom: 9mm;
    padding: 0 0 7mm;
    border-bottom: 0.5pt solid #777;
  }

  .legal-document-header h1 {
    font-size: 24pt;
    letter-spacing: -0.02em;
  }

  .legal-document-heading-row > .legal-status {
    margin-top: 0;
  }

  .legal-document-description {
    max-width: none;
    margin-top: 4mm;
    color: #111;
    font-size: 11pt;
  }

  .legal-metadata {
    margin-top: 4mm;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5mm;
  }

  .legal-layout,
  .legal-reading-column {
    width: 100%;
    max-width: none;
    display: block;
  }

  .legal-article {
    max-width: none;
    color: #000;
    font-size: 10.5pt;
    line-height: 1.55;
  }

  .legal-section-level-1 {
    margin-top: 8mm;
    padding-top: 7mm;
    border-top: 0.5pt solid #ccc;
  }

  .legal-section-heading {
    break-after: avoid-page;
    page-break-after: avoid;
  }

  .legal-section-heading h2 {
    font-size: 15pt;
  }

  .legal-section-heading h3 {
    font-size: 12pt;
  }

  .legal-clause {
    grid-template-columns: minmax(var(--legal-clause-marker-width), max-content) minmax(0, 1fr);
    column-gap: var(--legal-clause-column-gap);
    orphans: 3;
    widows: 3;
  }

  .legal-list-alpha > li,
  .legal-list-alpha-upper > li {
    grid-template-columns: minmax(var(--legal-sublist-marker-width), max-content) minmax(0, 1fr);
    column-gap: var(--legal-sublist-column-gap);
  }

  .legal-clause + .legal-list {
    margin-left: calc(var(--legal-clause-marker-width) + var(--legal-clause-column-gap));
  }

  .legal-list li {
    break-inside: avoid-page;
  }

  .legal-glossary-entry,
  .legal-table-scroll tr {
    break-inside: avoid-page;
    page-break-inside: avoid;
  }

  .legal-table-scroll {
    margin: 6mm 0 8mm;
    overflow: visible;
    border-color: #777;
  }

  .legal-table-scroll table {
    width: 100%;
    min-width: 0;
    font-size: 8pt;
  }

  .legal-table-scroll thead {
    display: table-header-group;
  }

  .legal-table-scroll th,
  .legal-table-scroll td {
    min-width: 0;
    padding: 2.5mm;
    border-color: #bbb;
  }

  .legal-table-scroll tbody th[scope="row"] {
    position: static;
    background: #f5f5f5;
    box-shadow: none;
  }

  .legal-article a {
    color: #000;
    text-decoration: underline;
  }
}
