.terms-page {
  background-color: var(--color-background);
}

.terms-hero__header {
  max-width: 720px;
}

.terms-hero__meta {
  font-size: var(--font-size-sm);
  color: var(--gray-600);
}

.terms-toc {
  margin-bottom: var(--space-24);
  padding: var(--space-16);
  border-radius: var(--radius-lg);
  background-color: #ffffff;
  box-shadow: var(--shadow-sm);
}

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

.terms-toc__list {
  list-style: decimal;
  padding-left: 1.25rem;
  columns: 2;
  column-gap: var(--space-24);
}

.terms-toc__list li {
  break-inside: avoid;
  margin-bottom: var(--space-2);
  font-size: var(--font-size-sm);
}

.terms-toc__list a {
  color: var(--color-text-muted);
}

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

@media (max-width: 720px) {
  .terms-toc__list {
    columns: 1;
  }
}

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

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

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

.terms-cta {
  margin-top: var(--space-32);
}

.terms-cta__card {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.terms-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
}

@media (max-width: 600px) {
  .terms-cta__actions {
    flex-direction: column;
    align-items: flex-start;
  }
}
