.terms {
  max-width: 900px;
}

.terms__header {
  margin-bottom: var(--space-40);
}

.terms__eyebrow {
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-8);
}

.terms__intro {
  max-width: 46rem;
}

.terms__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  margin-top: var(--space-16);
}

.terms__toc {
  margin-bottom: var(--space-40);
  padding: var(--space-24);
  border-radius: var(--radius-lg);
  background-color: var(--color-surface-soft);
}

.terms__toc-title {
  font-size: var(--fs-md);
  margin-bottom: var(--space-12);
}

.terms__toc ol {
  list-style: decimal;
  padding-left: 1.25rem;
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
}

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

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

.terms__section {
  margin-bottom: var(--space-40);
}

.terms__section h2 {
  margin-bottom: var(--space-16);
}

.terms__section ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: var(--space-16);
}

.terms__section ul ul {
  list-style: circle;
  margin-top: var(--space-8);
}

.terms__section li {
  margin-bottom: var(--space-8);
  color: var(--color-text-muted);
}

.terms__section a {
  word-break: break-all;
}

.terms__last-update {
  font-size: var(--fs-sm);
  color: var(--gray-700);
}

.terms__cta {
  margin-top: var(--space-40);
}

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

@media (max-width: 640px) {
  .terms {
    max-width: 100%;
  }

  .terms__toc {
    padding: var(--space-16);
  }

  .terms__cta-inner .flex {
    flex-direction: column;
    align-items: stretch;
  }

  .terms__cta-inner .btn {
    width: 100%;
    justify-content: center;
  }
}
