/* ================================================
   LEGAL PAGES — Shared styles
   ================================================ */

.legal-page {
  padding-top: 120px;
  padding-bottom: clamp(48px, 6vw, 80px);
  min-height: 60vh;
}

.legal-page .container {
  max-width: 800px;
}

.legal-page h1 {
  font-family: var(--fd);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 4px;
}

.legal-updated {
  font-size: 0.78rem;
  color: var(--text2);
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.legal-page section {
  margin-bottom: 32px;
}

.legal-page h2 {
  font-family: var(--ff);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 12px;
}

.legal-page h3 {
  font-family: var(--ff);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  margin-top: 20px;
  margin-bottom: 8px;
}

.legal-page p {
  font-size: 0.88rem;
  color: var(--text2);
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-page ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}

.legal-page ul li {
  font-size: 0.88rem;
  color: var(--text2);
  line-height: 1.8;
  padding-left: 20px;
  position: relative;
  margin-bottom: 6px;
}

.legal-page ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.legal-page a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-page a:hover {
  color: var(--dark);
}

/* Nav — show initially, hide on scroll on legal pages */
body:has(.legal-page) #nav {
  background: transparent;
  border-bottom: none;
  box-shadow: none;
}
body:has(.legal-page) #nav.scrolled .nav-links {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
body:has(.legal-page) .nav-logo img {
  filter: invert(73%) sepia(15%) saturate(1800%) hue-rotate(163deg) brightness(55%) contrast(110%);
}
body:has(.legal-page) .nav-link {
  color: var(--text2);
}
body:has(.legal-page) .nav-link:hover {
  color: var(--text);
}
body:has(.legal-page) .nav-burger span {
  background: var(--text);
}

@media (max-width: 768px) {
  .legal-page {
    padding-top: 90px;
  }
}
