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

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

.terms-hero .hero-subtitle {
  color: var(--color-muted-text);
}

.terms-nav {
  margin-bottom: var(--space-6);
}

.terms-nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.terms-nav-link {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  background-color: var(--gray-100);
  color: var(--gray-700);
}

.terms-nav-link:hover {
  background-color: var(--color-primary-soft);
  color: var(--color-primary-strong);
}

.terms-content {
  margin-bottom: var(--space-6);
}

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

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

.terms-list {
  padding-left: 1.25rem;
}

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

.terms-url {
  font-family: var(--font-mono);
  font-size: var(--font-size-sm);
}

.terms-cta {
  max-width: 720px;
  margin: 0 auto;
}

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

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

  .terms-nav-link {
    width: 100%;
    justify-content: flex-start;
  }
}
