/* Legal Pages Styles */
.legal-page {
  padding-top: 120px;
  padding-bottom: 80px;
  min-height: calc(100vh - 200px);
}

.legal-header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-color);
}

.legal-header h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 12px;
}

.legal-header .last-updated {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.legal-content {
  max-width: 800px;
}

.legal-content section {
  margin-bottom: 40px;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.legal-content h3 {
  font-size: 1.125rem;
  margin-top: 24px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.legal-content p {
  margin-bottom: 16px;
  line-height: 1.7;
}

.legal-content ul {
  margin-left: 24px;
  margin-bottom: 16px;
}

.legal-content li {
  margin-bottom: 8px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.legal-content a {
  color: var(--amber);
  text-decoration: none;
}

.legal-content a:hover {
  text-decoration: underline;
}

/* Simple footer for legal pages */
.legal-page + footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 32px 0;
}

.legal-page + footer .footer-bottom {
  border-top: none;
  padding-top: 0;
}

.legal-page + footer .footer-bottom span {
  color: var(--text-secondary);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.legal-page + footer .footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
}

.legal-page + footer .footer-links a:hover {
  color: var(--text-primary);
}

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

  .legal-header {
    margin-bottom: 32px;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}
