.page-terms .site-shell {
  min-height: 100vh;
  background: var(--surface-page);
}

.page-terms .header {
  position: sticky;
  top: 0;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: var(--surface-page);
  border-bottom: var(--border-subtle);
  box-shadow: none;
}

.page-terms .header:hover {
  background: var(--surface-page);
  border-bottom: var(--border-subtle);
  box-shadow: none;
}

.page-terms .header__inner {
  min-height: 72px;
}

.page-terms .header__nav {
  gap: var(--space-5);
}

.terms-page {
  padding: var(--space-16) 0 var(--space-20);
}

.terms-page__body {
  max-width: 780px;
  margin: 0 auto;
}

.terms-page__header {
  padding-bottom: var(--space-10);
  border-bottom: var(--border-subtle);
}

.terms-page__eyebrow {
  margin: 0 0 var(--space-4);
  color: var(--color-gray-400);
  font-size: var(--font-size-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.terms-page h1,
.terms-page h2,
.terms-page h3 {
  margin: 0;
  color: var(--color-white);
  letter-spacing: -0.03em;
}

.terms-page h1 {
  font-size: var(--font-size-4xl);
  line-height: var(--line-height-heading);
}

.terms-page__lede {
  margin: var(--space-5) 0 0;
  color: var(--color-gray-300);
  font-size: var(--font-size-lg);
}

.terms-page__anchors {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-5);
  padding: var(--space-6) 0 0;
}

.terms-page__anchors a {
  color: var(--color-gray-300);
  font-size: var(--font-size-md);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color var(--transition-fast);
}

.terms-page__anchors a:hover {
  color: var(--color-white);
}

.terms-section {
  padding-top: var(--space-12);
  margin-top: var(--space-12);
  border-top: var(--border-subtle);
}

.terms-section h2 {
  font-size: var(--font-size-2xl);
  line-height: 1.25;
}

.terms-section h3 {
  margin-top: var(--space-6);
  font-size: var(--font-size-xl);
  line-height: 1.35;
}

.terms-page p {
  margin: var(--space-4) 0 0;
  color: var(--color-gray-200);
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
}

@media (max-width: 720px) {
  .terms-page {
    padding: var(--space-12) 0 var(--space-16);
  }

  .terms-page__body {
    max-width: 100%;
  }

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

  .terms-section h2 {
    font-size: var(--font-size-xl);
  }

  .terms-section h3 {
    font-size: var(--font-size-lg);
  }

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

}

@media (max-width: 560px) {
  .page-terms .header__inner {
    min-height: 64px;
  }

  .page-terms .header__nav {
    gap: var(--space-3);
  }
}
