.terms-page {
  max-width: 800px;
}

.terms-hero {
  margin-bottom: var(--space-24);
}

.terms-hero h1 {
  margin-top: var(--space-6);
  margin-bottom: var(--space-8);
}

.terms-intro {
  max-width: 46rem;
}

.terms-toc {
  margin-bottom: var(--space-20);
  padding: var(--space-12);
  border-radius: var(--radius-lg);
  background-color: var(--color-bg-soft);
  border: 1px solid var(--border-color-subtle);
}

.terms-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.terms-toc a {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

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

.terms-section {
  margin-bottom: var(--space-24);
}

.terms-section h2 {
  margin-bottom: var(--space-8);
}

.terms-list {
  margin: 0 0 var(--space-6) 1.25rem;
  padding: 0;
  color: var(--color-text-muted);
}

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

.terms-cta {
  margin-top: var(--space-20);
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

.terms-cta-heading {
  margin-bottom: var(--space-4);
}

.terms-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .terms-cta {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
