body {
  color: var(--color-text);
}

.terms-layout {
  display: grid;
  gap: var(--space-10);
}

.terms-hero {
  max-width: 780px;
}

.terms-eyebrow {
  font-size: var(--font-size-sm);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: var(--space-2);
}

.terms-title {
  margin-bottom: var(--space-4);
}

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

.terms-meta {
  font-size: var(--font-size-sm);
  color: var(--gray-400);
}

.terms-toc {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-subtle);
  padding: var(--space-6);
  background: radial-gradient(circle at top left, rgba(17, 24, 39, 0.92), #020617 70%);
  box-shadow: var(--shadow-soft);
}

.terms-toc-title {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-4);
}

.terms-toc-list {
  list-style: none;
  display: grid;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
}

.terms-toc-list a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.terms-toc-list a::before {
  content: "•";
  color: var(--color-primary-strong);
  font-size: var(--font-size-lg);
}

.terms-section {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(31, 41, 55, 0.9);
  padding: var(--space-6);
  background: radial-gradient(circle at top, #111827 0, #020617 65%);
  box-shadow: var(--shadow-subtle);
}

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

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

.terms-section p:last-child {
  margin-bottom: 0;
}

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

.terms-cta-content {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(250, 204, 21, 0.38);
  padding: var(--space-6);
  background: radial-gradient(circle at top left, rgba(250, 204, 21, 0.15), #020617 70%);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.terms-cta-title {
  font-size: var(--font-size-2xl);
}

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

@media (min-width: 900px) {
  .terms-layout {
    grid-template-columns: minmax(0, 3fr);
  }
}

@media (max-width: 600px) {
  .terms-section,
  .terms-toc,
  .terms-cta-content {
    padding: var(--space-4);
  }

  .terms-title {
    font-size: clamp(2rem, 7vw, 2.5rem);
  }
}
