body.legal-page {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--nx-white);
  background:
    radial-gradient(circle at 14% 0%, rgba(0, 244, 255, 0.14) 0%, transparent 28%),
    radial-gradient(circle at 84% 8%, rgba(251, 197, 47, 0.12) 0%, transparent 26%),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.08), transparent 30%),
    linear-gradient(180deg, #040814 0%, #050C28 42%, #050814 100%);
  font-family: var(--nx-font-body);
  line-height: 1.75;
  -webkit-tap-highlight-color: transparent;
  color-scheme: dark;
}

body.legal-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.03) 0 7%, transparent 7% 20%, rgba(255, 255, 255, 0.02) 20% 28%, transparent 28% 100%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
  opacity: 0.55;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.96), transparent 112%);
}

body.legal-page::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 244, 255, 0.12), transparent 38%),
    radial-gradient(circle at 15% 28%, rgba(91, 145, 255, 0.10), transparent 24%);
  opacity: 0.9;
}

body.legal-page a {
  color: var(--nx-cyan-200);
  text-decoration: none;
}

body.legal-page a:hover,
body.legal-page a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

body.legal-page .page {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 24px));
  margin: 0 auto;
  padding: clamp(24px, 4vw, 48px) 0 clamp(48px, 6vw, 72px);
}

body.legal-page .hero {
  position: relative;
  isolation: isolate;
  padding: clamp(18px, 3vw, 32px) clamp(6px, 1vw, 10px) clamp(24px, 3vw, 30px);
}

body.legal-page .hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: clamp(160px, 24vw, 260px);
  background:
    radial-gradient(circle at 10% 30%, rgba(0, 244, 255, 0.16), transparent 34%),
    radial-gradient(circle at 84% 10%, rgba(251, 197, 47, 0.12), transparent 30%),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.08), transparent 34%);
  filter: blur(22px);
  pointer-events: none;
  z-index: -1;
}

body.legal-page .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.5rem 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 999px;
  background: rgba(8, 14, 30, 0.72);
  color: #cbd7f0;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

body.legal-page h1 {
  margin: 18px 0 14px;
  max-width: 12ch;
  color: var(--nx-white);
  font-family: var(--nx-font-display);
  font-size: clamp(3rem, 7vw, 5.8rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

body.legal-page .lede {
  margin: 0;
  max-width: 76ch;
  color: #c5d2ee;
  font-size: clamp(1rem, 1.7vw, 1.12rem);
  line-height: 1.75;
}

body.legal-page .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

body.legal-page .pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.62rem 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  color: var(--nx-white);
  font-size: 0.9rem;
  backdrop-filter: blur(10px);
}

body.legal-page .card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(8, 14, 30, 0.96), rgba(8, 14, 30, 0.82));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(14px);
}

body.legal-page .card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, #00f4ff 0%, #3b7bd1 36%, #fbc52f 68%, #bc2817 100%);
}

body.legal-page .section {
  position: relative;
  padding: 28px 24px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

body.legal-page .section:first-child {
  border-top: 0;
}

body.legal-page .section h2 {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 16px;
  color: #edf4ff;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.legal-page .section h2 span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 244, 255, 0.25);
  background: linear-gradient(135deg, rgba(0, 244, 255, 0.2), rgba(251, 197, 47, 0.12));
  color: var(--nx-cyan-200);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  flex: 0 0 auto;
}

body.legal-page .prose > * + * {
  margin-top: 1rem;
}

body.legal-page .section p,
body.legal-page .section li {
  margin: 0;
  color: #e7eefc;
}

body.legal-page .section strong {
  color: var(--nx-white);
}

body.legal-page .section ul,
body.legal-page .section ol {
  margin: 0;
  padding-left: 1.25rem;
}

body.legal-page .section li + li {
  margin-top: 0.55rem;
}

body.legal-page .section ol[type="a"] {
  list-style-type: lower-alpha;
}

body.legal-page .section ol {
  padding-left: 1.35rem;
}

body.legal-page .subsection {
  margin: 1.2rem 0 0.5rem;
  color: var(--nx-cyan-200);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.legal-page .note {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(0, 244, 255, 0.16);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  color: #c5d2ee;
}

body.legal-page .section a {
  font-weight: 600;
}

@media (min-width: 900px) {
  body.legal-page .hero {
    padding: 30px 10px 34px;
  }

  body.legal-page .section {
    padding: 32px 34px;
  }
}

@media (max-width: 640px) {
  body.legal-page .page {
    width: min(100% - 20px, 1120px);
    padding: 20px 0 48px;
  }

  body.legal-page h1 {
    max-width: 100%;
    font-size: clamp(2.7rem, 15vw, 4rem);
  }

  body.legal-page .section {
    padding: 22px 18px;
  }

  body.legal-page .section h2 {
    font-size: 0.94rem;
    letter-spacing: 0.1em;
  }
}
