html body.cx-legal {
  --legal-panel: #141414;
  --legal-hover: #1c1c1c;
  --legal-photo-opacity: 0.3;
  position: relative;
  isolation: isolate;
}
html[data-theme="light"] body.cx-legal {
  --legal-panel: #f1f1f1;
  --legal-hover: #e8e8e8;
  --legal-photo-opacity: 0.14;
}
html body.cx-legal::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("/assets/hero-bg-ultra.jpg?v=20261119_hires2k") 62% 35% / cover no-repeat;
  filter: grayscale(1);
  opacity: var(--legal-photo-opacity);
  -webkit-mask-image:
    radial-gradient(ellipse 42% 30% at 78% 8%, #000 3%, transparent 100%),
    radial-gradient(ellipse 30% 48% at 0% 66%, rgba(0, 0, 0, 0.85) 8%, transparent 100%),
    radial-gradient(ellipse 38% 27% at 95% 93%, rgba(0, 0, 0, 0.7), transparent 100%);
  mask-image:
    radial-gradient(ellipse 42% 30% at 78% 8%, #000 3%, transparent 100%),
    radial-gradient(ellipse 30% 48% at 0% 66%, rgba(0, 0, 0, 0.85) 8%, transparent 100%),
    radial-gradient(ellipse 38% 27% at 95% 93%, rgba(0, 0, 0, 0.7), transparent 100%);
}
html body.cx-legal .ax-page {
  background: transparent !important;
}
html body.cx-legal .cx-ambient {
  display: none;
}
html body.cx-legal .ax-header:not(.is-scrolled):not(.is-open) {
  background: transparent !important;
  background-image: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
html body.cx-legal .ax-page {
  padding: 112px 0 64px !important;
}
html body.cx-legal .ax-page > .ax-container {
  max-width: 1160px;
}
html body.cx-legal .cx-phead {
  margin-bottom: 32px;
}
html body.cx-legal .cx-phead h1 {
  max-width: 900px;
  font: 600 clamp(29px, 4vw, 44px)/1.12 var(--font-body);
  letter-spacing: -0.045em;
}
html body.cx-legal .cx-phead p {
  max-width: 770px;
  font-size: 13px;
  line-height: 1.8;
}
html body.cx-legal .cx-phead .lg-meta {
  font-size: 11px;
  color: var(--fg-3);
}
html body.cx-legal .ax-eyebrow {
  font-size: 10px;
}
html body.cx-legal .lg-layout {
  grid-template-columns: 224px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
html body.cx-legal .lg-toc {
  top: 96px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
html body.cx-legal .lg-toc a {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 10px;
  border: 0;
  border-radius: 8px;
  color: var(--fg-3);
  font: 500 11px/1.6 var(--font-body);
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}
html body.cx-legal .lg-toc a i {
  margin-top: 2px;
  font-size: 15px;
  color: inherit;
}
html body.cx-legal .lg-toc a:is(:hover, :focus-visible, .active) {
  background: var(--legal-hover);
  color: var(--fg);
}
html body.cx-legal .lg-doc {
  min-width: 0;
  display: grid;
  gap: 14px;
}
html body.cx-legal .lg-doc .ax-card,
html body.cx-legal .lg-doc .ax-card:hover {
  padding: 24px;
  border: 0 !important;
  border-radius: 14px;
  background: var(--legal-panel) !important;
  background-image: none !important;
  box-shadow: none !important;
  backdrop-filter: none;
  transform: none !important;
  animation: none;
  scroll-margin-top: 100px;
}
html body.cx-legal .lg-doc h2 {
  margin: 0 0 16px;
  font: 600 18px/1.4 var(--font-body);
  letter-spacing: -0.02em;
}
html body.cx-legal .lg-doc :is(p, li, td, th) {
  font-size: 12px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}
html body.cx-legal .lg-doc p + p {
  margin-top: 12px;
}
html body.cx-legal .lg-doc :is(th, td) {
  border-color: color-mix(in srgb, var(--fg) 8%, transparent);
}
html body.cx-legal .lg-req {
  width: 100%;
  table-layout: fixed;
}
html body.cx-legal .lg-req th {
  width: 38%;
}
html body.cx-legal .lg-footer-links a {
  font-size: 11px;
}
html body.cx-legal .lg-footer-req {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  color: var(--fg-3);
}
@media (max-width: 850px) {
  html body.cx-legal .ax-page {
    padding-top: 96px !important;
  }
  html body.cx-legal .lg-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
  html body.cx-legal .lg-toc {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px;
  }
}
@media (max-width: 520px) {
  html body.cx-legal .lg-doc .ax-card {
    padding: 18px;
  }
  html body.cx-legal .lg-toc {
    grid-template-columns: minmax(0, 1fr);
  }
  html body.cx-legal .lg-doc h2 {
    font-size: 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html body.cx-legal .lg-toc a {
    transition: none;
  }
}
html body.cx-legal .ax-page {
  overflow-x: clip;
}
@media (prefers-reduced-motion: no-preference) {
  html body.cx-legal .cx-scroll-item {
    filter: blur(var(--scroll-blur, 0px));
    scale: var(--scroll-scale, 1);
    translate: 0 var(--scroll-shift, 0px);
    opacity: var(--scroll-opacity, 1);
    transform-origin: center center;
  }
}
