.hero--subpage {
  min-height: 50vh;
}

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

.terms-toc {
  margin-top: var(--space-6);
  margin-bottom: var(--space-6);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--color-surface-soft);
  border: 1px solid var(--color-border-subtle);
}

.terms-toc__list {
  display: grid;
  gap: 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-strong);
}

.terms-content {
  font-size: var(--font-size-sm);
}

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

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

.terms-section p:last-child {
  margin-bottom: 0;
}

.terms-section ul {
  margin: 0 0 var(--space-4) 1.25rem;
  padding: 0;
  color: var(--color-text);
}

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

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

@media (min-width: 768px) {
  .terms-toc__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
