.terms-hero {
  background: radial-gradient(circle at top left, rgba(31, 111, 255, 0.25), transparent 55%), radial-gradient(circle at bottom right, rgba(49, 249, 137, 0.18), transparent 55%), var(--color-surface-elevated);
  border-bottom: 1px solid rgba(122, 129, 147, 0.45);
}



.terms-hero__lead {
  font-size: var(--font-size-lg);
  color: var(--gray-100);
}

.terms-hero__meta {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

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

.terms-breadcrumbs {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

.terms-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  list-style: none;
  padding: 0;
}

.terms-breadcrumbs li::after {
  content: "/";
  margin-left: var(--space-2);
  color: var(--gray-500);
}

.terms-breadcrumbs li:last-child::after {
  content: "";
  margin: 0;
}

.terms-breadcrumbs li[aria-current="page"] {
  color: var(--gray-100);
}

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

.terms-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-6);
}

.terms-toc {
  position: relative;
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(122, 129, 147, 0.4);
  background: radial-gradient(circle at top, rgba(31, 111, 255, 0.12), transparent 60%), var(--color-surface);
}

.terms-toc h2 {
  font-size: var(--font-size-md);
  margin-bottom: var(--space-3);
}

.terms-toc ol {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  list-style: none;
  padding: 0;
}

.terms-toc a {
  color: var(--gray-100);
}

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

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

.terms-section {
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(122, 129, 147, 0.25);
  background: radial-gradient(circle at top left, rgba(31, 111, 255, 0.08), transparent 55%), radial-gradient(circle at bottom right, rgba(49, 249, 137, 0.08), transparent 55%), var(--color-surface);
  box-shadow: var(--shadow-soft);
}

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

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

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

@media (min-width: 900px) {
  .terms-layout {
    grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
    align-items: flex-start;
  }

  .terms-toc {
    position: sticky;
    top: 96px;
  }
}

@media (max-width: 767px) {
  .terms-section {
    padding: var(--space-3);
  }

  .terms-hero__header h1 {
    font-size: var(--font-size-3xl);
  }
}
