.terms-main {
  background: radial-gradient(circle at top left, rgba(58, 125, 255, 0.12), #05060a 55%, #020307 100%);
}

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



.terms-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-3);
  margin-bottom: var(--space-4);
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
}

.terms-meta__item {
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border-subtle);
  background: rgba(15, 23, 42, 0.8);
}

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

.terms-toc {
  margin-bottom: var(--space-8);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-subtle);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.75));
}

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

.terms-toc__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2);
  font-size: var(--font-size-sm);
}

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

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

.terms-section {
  padding-top: var(--space-6);
  padding-bottom: var(--space-2);
  border-top: 1px solid rgba(44, 49, 80, 0.7);
}

.terms-section:first-of-type {
  border-top: none;
}

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

.terms-list {
  margin-left: var(--space-4);
  margin-bottom: var(--space-4);
  color: var(--color-text-soft);
}

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

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

  .terms-toc__list {
    grid-template-columns: minmax(0, 1fr);
  }

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