.terms-hero {
  border-bottom: 1px solid var(--color-border-subtle);
}

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

.terms-hero__lede {
  font-size: var(--font-size-lg);
  color: var(--gray-100);
  margin-bottom: var(--space-8);
}

.terms-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-8);
}

.terms-hero__jurisdiction {
  margin-bottom: 0;
  font-size: var(--font-size-sm);
}

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

.terms-nav {
  position: sticky;
  top: var(--space-24);
  align-self: flex-start;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-subtle);
  padding: var(--space-16);
  box-shadow: var(--shadow-md);
}

.terms-nav__title {
  font-size: var(--font-size-sm);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: var(--space-8);
}

.terms-nav__list {
  list-style: none;
  margin-bottom: var(--space-16);
}

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

.terms-nav__list a {
  display: inline-block;
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

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

.terms-nav__cta {
  border-top: 1px solid var(--color-border-subtle);
  padding-top: var(--space-12);
  font-size: var(--font-size-sm);
}

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

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

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

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

.terms-list {
  list-style: disc;
  margin-left: var(--space-16);
}

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

.terms-section--cta {
  border-top: 1px solid var(--color-border-subtle);
  padding-top: var(--space-24);
}

.terms-cta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-24);
}

.terms-links {
  list-style: none;
}

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

.terms-section__secondary-heading {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-8);
}

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

  .terms-nav {
    position: static;
    order: -1;
  }
}

@media (max-width: 600px) {
  .terms-cta-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .terms-hero__lede {
    font-size: var(--font-size-md);
  }
}
