/* ===== LEGAL PAGES SPECIFIC STYLES ===== */
.legal-main {
  padding: calc(var(--header-height, 76px) + 48px) 24px 80px;
  min-height: 100vh;
}
.legal-container {
  max-width: 820px;
  margin: 0 auto;
}
.legal-header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.legal-header h1 {
  font-family: var(--heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.legal-updated {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.legal-body section {
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}
.legal-body section:last-child {
  border-bottom: none;
}
.legal-body h2 {
  font-family: var(--heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text);
}
.legal-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 10px;
  color: var(--text);
}
.legal-body p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 12px;
}
.legal-body ul {
  margin: 8px 0 16px 0;
  padding-left: 20px;
  list-style: none;
}
.legal-body ul li {
  position: relative;
  padding-left: 18px;
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.75;
  margin-bottom: 6px;
}
.legal-body ul li::before {
  content: '';
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}
.legal-body a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.legal-body a:hover {
  color: var(--gold);
}
.legal-body strong {
  color: var(--text);
  font-weight: 700;
}

.legal-preformatted {
  white-space: pre-wrap;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 0;
  font-family: var(--body);
}

@media (max-width: 768px) {
  .legal-main {
    padding-top: calc(var(--header-height, 76px) + 24px);
    padding-bottom: 48px;
  }
  .legal-body h2 {
    font-size: 1.2rem;
  }
}
