.page-header {
  margin-bottom: var(--space-24);
}

.page-header p {
  max-width: 70ch;
}

.terms-toc {
  margin-top: var(--space-16);
  margin-bottom: var(--space-24);
}

.terms-toc-title {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-8);
}

.terms-toc-list {
  margin: 0;
  padding-left: var(--space-20);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.terms-toc-list li {
  margin-bottom: var(--space-4);
}

.terms-toc-list a {
  text-decoration: none;
}

.terms-toc-list a:hover {
  color: var(--color-primary-hover);
}

.terms-section {
  border-top: 1px solid var(--color-border-subtle);
}

.terms-section:first-of-type {
  border-top: none;
}

.terms-section h2 {
  font-size: var(--font-size-2xl);
}

.terms-section ul {
  margin-top: var(--space-8);
}

@media (min-width: 768px) {
  .page-header {
    margin-bottom: var(--space-32);
  }

  .terms-toc {
    margin-bottom: var(--space-32);
  }
}
