.terms {
  max-width: var(--layout-max-width);
}

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

.terms__intro {
  max-width: 760px;
}

.terms__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-16);
  margin-top: var(--space-24);
}

.terms__toc {
  margin-bottom: var(--space-40);
  padding: var(--space-24);
  border-radius: var(--radius-lg);
  background: var(--color-surface-elevated);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.terms__toc-title {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-16);
}

.terms__toc ol {
  list-style: decimal;
  padding-left: var(--space-24);
  color: var(--color-text-muted);
}

.terms__toc a {
  text-decoration: none;
}

.terms__section {
  margin-bottom: var(--space-32);
  padding-bottom: var(--space-24);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.terms__section:last-of-type {
  border-bottom: none;
}

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

.terms__section ul {
  list-style: disc;
  padding-left: var(--space-24);
}

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

.terms__bottom-cta-inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-24);
  align-items: center;
  justify-content: space-between;
  padding: var(--space-32);
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top left, rgba(230, 57, 70, 0.25), transparent 55%),
    var(--color-surface);
  box-shadow: var(--shadow-strong);
}

.terms__bottom-cta-text {
  max-width: 620px;
}

.terms__bottom-cta-title {
  margin-bottom: var(--space-12);
}

.terms__bottom-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-16);
}

@media (max-width: 768px) {
  .terms__header {
    text-align: left;
  }

  .terms__bottom-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
