/* Legal pages (Terms, Privacy, Disclaimer) */

.legal-main {
  min-height: 100vh;
  padding: 6rem 1.5rem 4rem;
}

.legal-container {
  max-width: 720px;
  margin: 0 auto;
}

.legal-container h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 0.5rem;
}

.legal-date {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.legal-intro {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  color: var(--color-text-muted);
}

.legal-section {
  margin-bottom: 2rem;
}

.legal-section h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.legal-section p,
.legal-section li {
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.legal-section ul {
  margin: 0.5rem 0 1rem 1.5rem;
}

.legal-section a {
  color: var(--color-accent);
  text-decoration: none;
}

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

.footer-legal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.footer-links {
  margin: 0;
}

.footer-links a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--color-accent);
}

/* FAQ */
.faq-section {
  margin-bottom: 2.5rem;
}

.faq-section h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--color-accent);
}

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-item summary {
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  content: '+';
  font-size: 1.25rem;
  color: var(--color-accent);
  flex-shrink: 0;
}

.faq-item[open] summary::before {
  content: '−';
}

.faq-item p {
  padding: 0 1.25rem 1.25rem;
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.7;
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
  margin-top: 0;
}
