.terms-page {
  padding: 2rem 0 3rem;
}

.terms-page__inner {
  max-width: 52rem;
}

.terms-page__hero {
  margin-bottom: 1.25rem;
}

.terms-page__eyebrow {
  margin: 0;
  color: hsl(var(--primary));
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.terms-page__hero h1 {
  margin: 0.4rem 0 0;
  color: #fff;
  font-family: 'Outfit', 'Poppins', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.terms-page__lead {
  margin: 0.5rem 0 0;
  max-width: 36rem;
  color: rgb(var(--muted-foreground));
  font-size: 0.92rem;
  line-height: 1.55;
}

.terms-page__card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.025);
  padding: 1.15rem 1.2rem 1.35rem;
}

.terms-page__empty {
  margin: 0;
  color: rgb(var(--muted-foreground));
  font-size: 0.9rem;
}

.terms-content {
  color: rgb(var(--muted-foreground));
  font-size: 0.88rem;
  line-height: 1.55;
}

.terms-content > *:first-child {
  margin-top: 0 !important;
}

.terms-content > *:last-child {
  margin-bottom: 0 !important;
}

.terms-content h1,
.terms-content h2,
.terms-content h3,
.terms-content h4 {
  margin: 1.15rem 0 0.45rem;
  color: #fff;
  font-family: 'Outfit', 'Poppins', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.terms-content h1 {
  font-size: 1.15rem;
}

.terms-content h2 {
  font-size: 1.02rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.terms-content h2:first-child {
  padding-top: 0;
  border-top: 0;
}

.terms-content h3,
.terms-content h4 {
  font-size: 0.95rem;
}

.terms-content p {
  margin: 0 0 0.55rem;
}

.terms-content ul,
.terms-content ol {
  margin: 0 0 0.7rem;
  padding-left: 1.1rem;
}

.terms-content li {
  margin: 0.2rem 0;
}

.terms-content li::marker {
  color: hsl(var(--primary));
}

.terms-content strong {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
}

.terms-content a {
  color: hsl(var(--primary));
  text-decoration: underline;
  text-underline-offset: 2px;
}

.terms-content hr {
  margin: 1rem 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.terms-content em {
  color: rgba(156, 148, 194, 0.9);
  font-style: normal;
  font-size: 0.84rem;
}

@media (max-width: 640px) {
  .terms-page {
    padding: 1.5rem 0 2.5rem;
  }

  .terms-page__card {
    padding: 1rem;
    border-radius: 0.85rem;
  }
}