/* ==========================================================================
   Ritiko — Legal Pages (ToS, Privacy Policy)
   Extends landing-home.css design system. Provides typography and layout
   for long-form legal text content.
   ========================================================================== */

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 120px 32px 80px; /* top accounts for fixed navbar */
  min-height: calc(100vh - 200px);
}

.legal-content h1 {
  font-size: 40px;
  font-weight: 700;
  color: var(--lh-black);
  letter-spacing: -0.025em;
  margin-bottom: 8px;
  line-height: 1.15;
}

.legal-content .legal-updated {
  font-size: 15px;
  color: var(--lh-gray-500);
  margin-bottom: 48px;
}

.legal-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--lh-black);
  letter-spacing: -0.01em;
  margin-top: 48px;
  margin-bottom: 16px;
  line-height: 1.3;
}

.legal-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--lh-gray-700);
  margin-bottom: 16px;
}

.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-content ul li {
  font-size: 16px;
  line-height: 1.8;
  color: var(--lh-gray-700);
  padding: 4px 0;
}

.legal-content ul li::before {
  display: none;
}

.legal-content a {
  color: var(--lh-teal);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.legal-content a:hover {
  color: var(--lh-teal-dark);
}

.legal-content strong {
  color: var(--lh-black);
  font-weight: 600;
}


/* --------------------------------------------------------------------------
   Responsive — Mobile
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .legal-content {
    padding: 96px 20px 64px;
  }

  .legal-content h1 {
    font-size: 28px;
  }

  .legal-content h2 {
    font-size: 19px;
    margin-top: 36px;
  }
}
