/* ========================================
   FIXLAB STUDIO — LEGAL PAGES
   ======================================== */

.legal-page {
  background: var(--color-bg);
  min-height: 100vh;
}

.legal-page .nav {
  position: relative;
  background: rgba(8, 10, 13, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.legal-container {
  width: min(800px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 4rem 0 5rem;
}

.legal-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.legal-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0.75rem 0 0.5rem;
}

.legal-meta {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.legal-content {
  color: var(--color-text-secondary);
  line-height: 1.7;
}

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

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

.legal-section h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--color-text-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.legal-section h3 {
  font-size: 1.05rem;
  color: var(--color-text-primary);
  margin: 1.5rem 0 0.75rem;
}

.legal-section p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

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

.legal-section li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.legal-section li strong {
  color: var(--color-text-primary);
}

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

.legal-section a:hover {
  color: var(--color-accent-bright);
}

.legal-contact {
  margin-top: 1rem;
  padding: 1.25rem;
  border-radius: 0.75rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}

.legal-contact p {
  margin-bottom: 0.35rem;
}

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

.legal-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  transition: color var(--transition-fast);
}

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

@media (max-width: 640px) {
  .legal-container {
    padding: 3rem 0 4rem;
  }

  .legal-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
  }

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

  .legal-footer {
    flex-direction: column;
    align-items: center;
  }
}
