/* Base styles for legal document */
.legal-document {
  color: var(--color-text);
  line-height: 1.8;
}

.legal-document h1 {
  color: var(--color-primary);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

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

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

.legal-document p {
  margin-bottom: 1rem;
  text-align: justify;
}

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

.legal-document li {
  margin-bottom: 0.5rem;
}

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

.last-updated {
  background: var(--color-card-bg);
  padding: 1rem 1.5rem;
  border-left: 4px solid var(--color-accent);
  margin-bottom: 2rem;
  border-radius: var(--border-radius);
}

.section-intro {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--color-card-bg);
  border-radius: var(--border-radius);
}

.important-notice {
  background: rgba(var(--color-accent-rgb, 255, 107, 0), 0.1);
  border: 2px solid var(--color-accent);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: var(--border-radius);
}

.important-notice strong {
  color: var(--color-accent);
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .legal-document h1 {
    font-size: 2rem;
  }
  
  .legal-document h2 {
    font-size: 1.5rem;
  }
  
  .legal-document p {
    text-align: left;
  }
}