.legal-page {
  background: #f8fafc;
}

.legal-main {
  padding: 6.5rem 0 4rem;
}

.legal-hero {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.legal-hero h1 {
  font-family: Outfit, sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.legal-meta {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.6;
}

.legal-crosslink {
  max-width: 720px;
  margin: 0 auto 2rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.6;
}

.legal-crosslink a {
  color: #4f46e5;
  font-weight: 600;
  text-decoration: none;
}

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

.legal-doc {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2rem 1.75rem;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
}

.legal-section + .legal-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #f1f5f9;
}

.legal-section h2 {
  font-family: Outfit, sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.85rem;
}

.legal-section p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #475569;
  margin-bottom: 0.85rem;
}

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

.legal-section a {
  color: #4f46e5;
  font-weight: 600;
  text-decoration: none;
}

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

@media (max-width: 768px) {
  .legal-main {
    padding-top: 5.5rem;
  }

  .legal-doc {
    padding: 1.5rem 1.15rem;
    border-radius: 12px;
  }
}
