/* ============================================================
   legal.css — Privacy / Terms / Cookies (shared)
   ============================================================ */
.lg-hero {
  position: relative;
  padding: 9rem 0 3.5rem;
  background:
    radial-gradient(ellipse 60% 80% at 85% 50%, rgba(201,236,102,0.14) 0%, transparent 55%),
    linear-gradient(180deg, #0c1020 0%, var(--gx-darker) 70%);
  color: var(--gx-white);
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.lg-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(201,236,102,0.06) 1px, transparent 1.5px),
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 24px 24px, 60px 60px, 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 100%);
}

.lg-hero__inner {
  max-width: 44rem;
}

.lg-hero__eyebrow { color: var(--gx-lime); display: inline-block; margin-bottom: 1rem; }

.lg-hero__title {
  font-family: var(--gx-font-heading);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0 0 1rem;
  color: var(--gx-white);
}

.lg-hero__desc {
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
  margin: 0 0 0.75rem;
  max-width: 36rem;
}

.lg-hero__meta {
  font-family: var(--gx-font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.4);
  margin: 0;
}

/* ---- Body ---- */
.lg-body {
  padding: 4rem 0 6rem;
  background: var(--gx-white);
}

.lg-body__layout {
  display: grid;
  grid-template-columns: 16rem 1fr;
  gap: 4rem;
  align-items: start;
}

.lg-toc {
  position: sticky;
  top: 7rem;
  align-self: start;
}

.lg-toc__title {
  font-family: var(--gx-font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(31,31,30,0.4);
  margin: 0 0 0.85rem;
}

.lg-toc__nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  border-left: 1px solid var(--gx-gray-light);
}

.lg-toc__link {
  font-size: 0.875rem;
  color: rgba(31,31,30,0.65);
  padding: 0.4rem 0 0.4rem 1rem;
  margin-left: -1px;
  border-left: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.lg-toc__link:hover {
  color: var(--gx-dark);
  border-left-color: var(--gx-dark);
}

.lg-doc {
  max-width: 44rem;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(31,31,30,0.78);
}

.lg-section { padding-bottom: 2.5rem; }

.lg-section__title {
  font-family: var(--gx-font-heading);
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--gx-dark);
  margin: 0 0 1rem;
  scroll-margin-top: 6rem;
}

.lg-doc p { margin: 0 0 1.15rem; }
.lg-doc p:last-child { margin-bottom: 0; }

.lg-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.lg-list li {
  position: relative;
  padding-left: 1.5rem;
  line-height: 1.6;
}
.lg-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gx-lime);
}

@media (max-width: 1024px) {
  .lg-body__layout { grid-template-columns: 1fr; gap: 2rem; }
  .lg-toc {
    position: static;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gx-gray-light);
  }
}
