.terms-hero {
  background: radial-gradient(circle at top left, rgba(230, 57, 70, 0.2), transparent 55%),
              var(--color-surface);
}

.terms-hero__header {
  max-width: 760px;
}

.terms-hero__intro {
  max-width: 720px;
}

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

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

.terms-sidebar {
  position: sticky;
  top: calc(var(--header-height) + var(--space-4));
  align-self: flex-start;
}

.terms-toc__title {
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

.terms-toc ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.terms-toc a {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.terms-toc a:hover {
  color: #fff !important;
}

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

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

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

.terms-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.terms-list li {
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
}

.terms-link {
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.terms-link:hover {
  color: #fff !important;
}

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

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

@media (max-width: 992px) {
  .terms-layout {
    grid-template-columns: 1fr;
  }

  .terms-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .terms-bottom-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }
}
