:root {
  color-scheme: light;
  --legal-teal: #0bbfad;
  --legal-teal-dark: #087f73;
  --legal-teal-soft: #e6f7f4;
  --legal-teal-pale: #f2fbf9;
  --legal-ink: #1a1a1a;
  --legal-copy: #4c5554;
  --legal-muted: #737b7a;
  --legal-page: #f7f8f8;
  --legal-border: #dfe8e6;
  --legal-white: #ffffff;
  --legal-footer: #0c2927;
  --legal-shadow: 0 14px 40px rgb(18 62 58 / 8%);
  --legal-radius: 20px;
  font-family:
    "Inter Variable",
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

html {
  min-width: 320px;
  scroll-padding-top: 92px;
  background: var(--legal-page);
}

body.legal-page {
  min-width: 320px;
  margin: 0;
  color: var(--legal-copy);
  background: var(--legal-page);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

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

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

.legal-page a {
  color: var(--legal-teal-dark);
  text-underline-offset: 0.18em;
}

.legal-page a:focus-visible {
  outline: 3px solid #f4aa32;
  outline-offset: 3px;
  border-radius: 5px;
}

.legal-skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 10px;
  color: #ffffff !important;
  background: var(--legal-ink);
  font-weight: 800;
  transition: transform 120ms ease;
}

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

.legal-site-header {
  position: relative;
  z-index: 20;
  width: 100%;
  border-bottom: 1px solid var(--legal-border);
  background: rgb(255 255 255 / 96%);
  box-shadow: 0 3px 18px rgb(12 41 39 / 4%);
}

.legal-site-header__inner {
  display: flex;
  width: min(1120px, calc(100% - 40px));
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  margin-inline: auto;
  gap: 28px;
}

.legal-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  color: var(--legal-ink) !important;
  font-size: 21px;
  font-weight: 850;
  letter-spacing: -0.02em;
  text-decoration: none;
  gap: 12px;
}

.legal-brand:hover {
  text-decoration: none;
}

.legal-brand__mark {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  box-shadow: 0 7px 20px rgb(11 191 173 / 22%);
}

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

.legal-site-nav a {
  padding: 9px 12px;
  border-radius: 10px;
  color: #55605f;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.legal-site-nav a:hover,
.legal-site-nav a[aria-current="page"] {
  color: var(--legal-teal-dark);
  background: var(--legal-teal-soft);
  text-decoration: none;
}

.legal-page .hero,
.legal-page--data .legal-hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: clamp(54px, 7vw, 88px) 24px clamp(48px, 6vw, 72px);
  border-bottom: 1px solid var(--legal-border);
  color: var(--legal-copy);
  background: var(--legal-white) !important;
}

.legal-page .hero::after,
.legal-page--data .legal-hero::after {
  position: absolute;
  right: max(-88px, calc((100vw - 1120px) / 2 - 80px));
  bottom: -150px;
  width: 340px;
  height: 340px;
  border: 64px solid var(--legal-teal-soft);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.legal-page .hero-inner,
.legal-page--data .legal-hero__inner {
  position: relative;
  z-index: 1;
  width: min(860px, 100%);
  margin-inline: auto;
}

.legal-page .eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 18px;
  color: var(--legal-teal-dark);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  gap: 9px;
}

.legal-page .eyebrow::before {
  width: 22px;
  height: 3px;
  border-radius: 99px;
  background: var(--legal-teal);
  content: "";
}

.legal-page .hero h1,
.legal-page--data .legal-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--legal-ink) !important;
  font-size: clamp(2.35rem, 6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.03;
  text-wrap: balance;
}

.legal-page .hero h1 em {
  color: var(--legal-teal) !important;
  font-style: normal;
}

.legal-page .hero-desc,
.legal-page--data .lead {
  max-width: 680px;
  margin: 25px 0 0;
  color: #616968 !important;
  font-size: clamp(1rem, 2vw, 1.16rem);
  line-height: 1.72;
}

.legal-page .badge-row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 28px;
  gap: 9px;
}

.legal-page .badge,
.legal-page--data .meta-note {
  display: inline-flex;
  width: fit-content;
  margin: 0;
  padding: 7px 12px;
  border: 1px solid #b9e4de;
  border-radius: 999px;
  color: var(--legal-teal-dark) !important;
  background: var(--legal-teal-pale) !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.legal-page--data .meta-note {
  margin-top: 24px;
}

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

.legal-language-nav a {
  padding: 8px 12px;
  border: 1px solid var(--legal-border);
  border-radius: 10px;
  color: var(--legal-copy);
  background: #ffffff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.legal-page .toc-strip {
  width: 100%;
  overflow-x: auto;
  padding: 15px 24px;
  border: 0;
  background: var(--legal-footer) !important;
  scrollbar-color: rgb(255 255 255 / 35%) transparent;
}

.legal-page .toc-inner {
  display: flex;
  width: max-content;
  min-width: min(100%, 860px);
  align-items: center;
  margin-inline: auto;
  gap: 7px;
}

.legal-page .toc-label {
  margin-right: 6px;
  color: rgb(255 255 255 / 58%) !important;
}

.legal-page .toc-pill {
  padding: 7px 12px;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 999px;
  color: rgb(255 255 255 / 84%) !important;
  background: rgb(255 255 255 / 7%) !important;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.legal-page .toc-pill:hover,
.legal-page .toc-pill:focus-visible {
  border-color: var(--legal-teal);
  color: #ffffff !important;
  background: rgb(11 191 173 / 18%) !important;
  text-decoration: none;
}

.legal-page .content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: min(920px, calc(100% - 32px));
  max-width: none;
  margin-inline: auto;
  padding: 48px 0 80px;
  gap: 22px;
}

.legal-page .doc-section,
.legal-page--data .language-section {
  min-width: 0;
  width: 100%;
  margin: 0;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--legal-border);
  border-radius: var(--legal-radius);
  color: var(--legal-copy);
  background: var(--legal-white) !important;
  box-shadow: var(--legal-shadow);
  scroll-margin-top: 96px;
}

.legal-page .section-title,
.legal-page--data .language-section h2,
.legal-page--data .language-section h3 {
  color: var(--legal-ink) !important;
}

.legal-page .section-title,
.legal-page--data .language-section h2 {
  margin: 0 0 18px;
  font-size: clamp(1.55rem, 3.5vw, 2rem);
  font-weight: 850;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

.legal-page .section-eyebrow {
  color: var(--legal-teal-dark) !important;
}

.legal-page .section-divider {
  margin-bottom: 24px;
  background: var(--legal-border);
}

.legal-page .prose p,
.legal-page .prose li,
.legal-page--data .language-section p,
.legal-page--data .language-section li {
  color: var(--legal-copy) !important;
  font-size: 15.5px;
  line-height: 1.75;
}

.legal-page .prose strong,
.legal-page--data strong {
  color: var(--legal-ink) !important;
}

.legal-page .card,
.legal-page .jurisd-banner {
  border: 1px solid var(--legal-border) !important;
  border-radius: 16px;
  color: var(--legal-copy) !important;
  background: #fbfdfc !important;
  box-shadow: none;
}

.legal-page .card-title,
.legal-page .jurisd-banner h3 {
  color: var(--legal-ink) !important;
}

.legal-page .card-teal {
  border-color: #bfe8e3 !important;
  background: var(--legal-teal-pale) !important;
}

.legal-page .table-wrap {
  max-width: 100%;
  border-color: var(--legal-border);
  background: #ffffff;
}

.legal-page .grid-2 > *,
.legal-page .plan-grid > *,
.legal-page .role-grid > * {
  min-width: 0;
}

.legal-page .prose a,
.legal-page--data .language-section a {
  overflow-wrap: anywhere;
}

.legal-page table {
  color: var(--legal-copy);
}

.legal-page thead {
  background: #f1f7f6 !important;
}

.legal-page thead th {
  color: #65716f !important;
  border-color: var(--legal-border);
}

.legal-page tbody tr {
  border-color: var(--legal-border);
}

.legal-page tbody tr:hover {
  background: #f8fbfa;
}

.legal-page tbody td {
  color: var(--legal-copy) !important;
}

.legal-page tbody td:first-child {
  color: var(--legal-ink) !important;
}

.legal-page .alert {
  border-radius: 14px;
}

.legal-page--data > .site-header,
.legal-page > .legacy-legal-footer {
  display: none !important;
}

.legal-page--data > main {
  display: grid;
  width: 100%;
  margin: 0;
  padding: 0 0 80px;
  gap: 22px;
}

.legal-page--data .language-section {
  width: min(920px, calc(100% - 32px));
  margin-inline: auto;
}

.legal-page--data .language-section h3 {
  margin: 28px 0 10px;
  font-size: 1.08rem;
}

.legal-page--data .notice {
  border-left-color: var(--legal-teal);
  background: var(--legal-teal-pale);
}

.legal-site-footer {
  width: 100% !important;
  margin: 0 !important;
  padding: 46px 24px 28px !important;
  color: rgb(255 255 255 / 72%) !important;
  background: var(--legal-footer) !important;
}

.legal-site-footer__inner,
.legal-site-footer__bottom {
  width: min(1120px, 100%);
  margin-inline: auto;
}

.legal-site-footer__inner {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) minmax(280px, 1fr);
  align-items: start;
  gap: 54px;
}

.legal-site-footer__brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.legal-site-footer__brand img {
  width: 92px;
  height: 92px;
  flex: 0 0 auto;
  border-radius: 19px;
  box-shadow: 0 12px 32px rgb(0 0 0 / 24%);
}

.legal-site-footer__brand strong {
  display: block;
  margin-bottom: 5px;
  color: #ffffff !important;
  font-size: 24px;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.legal-site-footer__brand p {
  max-width: 330px;
  margin: 0;
  color: rgb(255 255 255 / 62%) !important;
  font-size: 14px;
  line-height: 1.6;
}

.legal-site-footer__nav {
  display: grid;
  align-content: start;
  gap: 8px;
}

.legal-site-footer__nav strong {
  margin-bottom: 4px;
  color: rgb(255 255 255 / 46%) !important;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-site-footer__nav a {
  width: fit-content;
  color: rgb(255 255 255 / 78%) !important;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.legal-site-footer__nav a:hover,
.legal-site-footer__nav a[aria-current="page"] {
  color: #ffffff !important;
  text-decoration: underline;
}

.legal-site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgb(255 255 255 / 10%);
  gap: 20px;
}

.legal-site-footer__bottom p {
  margin: 0;
  color: rgb(255 255 255 / 48%) !important;
  font-size: 12px;
}

.legal-site-footer__bottom a {
  color: rgb(255 255 255 / 72%) !important;
}

@media (max-width: 760px) {
  .legal-site-header__inner {
    width: min(100% - 28px, 1120px);
    min-height: 74px;
  }

  .legal-brand__mark {
    width: 46px;
    height: 46px;
    border-radius: 12px;
  }

  .legal-brand {
    font-size: 19px;
  }

  .legal-site-nav a {
    padding: 8px;
    font-size: 12px;
  }

  .legal-site-nav a:not([aria-current="page"]) {
    display: none;
  }

  .legal-page .hero,
  .legal-page--data .legal-hero {
    padding-inline: 18px;
  }

  .legal-page .hero::after,
  .legal-page--data .legal-hero::after {
    right: -170px;
    bottom: -190px;
  }

  .legal-site-footer__inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .legal-site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 460px) {
  .legal-site-header__inner {
    min-height: 68px;
  }

  .legal-brand__mark {
    width: 42px;
    height: 42px;
  }

  .legal-page .hero h1,
  .legal-page--data .legal-hero h1 {
    font-size: clamp(2.1rem, 12vw, 3rem);
  }

  .legal-page .content {
    padding-top: 30px;
  }

  .legal-page .doc-section,
  .legal-page--data .language-section {
    border-radius: 16px;
  }

  .legal-site-footer {
    padding-inline: 18px !important;
  }

  .legal-site-footer__brand {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .legal-page *,
  .legal-page *::before,
  .legal-page *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
