/* ============================================================
   WorldLens — Legal Pages (privacy.html, terms.html)
   ============================================================ */

/* ============================================================
   Page Hero
   ============================================================ */
.legal-hero {
  padding-block: calc(var(--space-2xl) + var(--space-lg)) var(--space-xl);
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

.legal-hero h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 300;
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.legal-meta {
  font-size: 0.8rem;
  color: var(--color-muted);
  letter-spacing: 0.03em;
}

.legal-meta span {
  color: var(--color-gold);
}

/* ============================================================
   Legal Content
   ============================================================ */
.legal-body {
  padding-block: var(--space-xl) var(--space-2xl);
}

.legal-content {
  max-width: 720px;
  margin-inline: auto;
}

.legal-intro {
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--color-on-surface);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-xl);
}

/* Section */
.legal-section {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}

.legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.legal-section-num {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  display: block;
  margin-bottom: 0.5rem;
}

.legal-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 400;
  color: var(--color-white);
  margin-bottom: 1.1rem;
  line-height: 1.2;
}

.legal-section p {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--color-on-surface);
  margin-bottom: 1rem;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  list-style: none;
  margin-bottom: 1rem;
}

.legal-section ul li {
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--color-on-surface);
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: 0.4rem;
}

.legal-section ul li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--color-gold);
}

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

.legal-section a:hover {
  color: var(--color-gold-deep);
}

/* Contact box at bottom of legal pages */
.legal-contact-box {
  background: var(--color-card-surface);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-gold);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: var(--space-lg);
}

.legal-contact-box p {
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.7;
  margin: 0;
}

.legal-contact-box a {
  color: var(--color-gold);
}
