/* Legal document styling */
.legal-document {
  color: var(--text-primary);
  line-height: 1.8;
}

.legal-document h1 {
  color: var(--text-primary);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--primary-color);
}

.legal-document h2 {
  color: var(--text-primary);
  font-size: 1.75rem;
  font-weight: 600;
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.legal-document h3 {
  color: var(--text-primary);
  font-size: 1.35rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-document h4 {
  color: var(--text-primary);
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

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

.legal-document ul,
.legal-document ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.legal-document li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.legal-document strong {
  color: var(--primary-color);
  font-weight: 600;
}

.legal-intro {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background: var(--card-bg);
  border-left: 4px solid var(--primary-color);
  border-radius: 4px;
}

.last-updated {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 2rem;
}

.section-number {
  color: var(--primary-color);
  font-weight: 700;
  margin-right: 0.5rem;
}

.definition-term {
  font-weight: 600;
  color: var(--text-primary);
}

.important-notice {
  background: var(--card-bg);
  padding: 1.25rem;
  border-radius: 4px;
  border-left: 4px solid var(--accent-color);
  margin: 1.5rem 0;
}

.contact-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border-color);
}

@media (max-width: 768px) {
  .legal-document h1 {
    font-size: 2rem;
  }
  
  .legal-document h2 {
    font-size: 1.5rem;
  }
  
  .legal-document h3 {
    font-size: 1.25rem;
  }
}