.terms-page-wrap {
  background: linear-gradient(180deg, #f4f7fb 0%, #f8fafc 38%, #f9fafb 100%);
}

.terms-page-hero {
  padding-top: 78px;
  padding-bottom: 34px;
}

.terms-kicker {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  background: #e9fff4;
  color: #00a86b;
}

.terms-page-wrap .section-heading {
  font-size: 38px;
  line-height: 1.2;
  color: #1b2430;
  margin-bottom: 12px;
}

.terms-last-updated {
  color: #6b7280;
  font-size: 14px;
}

.terms-summary-card {
  border-radius: 12px;
  background: #ffffff;
}

.terms-checklist li {
  margin-bottom: 8px;
  color: #253041;
  font-weight: 600;
}

.terms-content-shell {
  padding-top: 14px;
  padding-bottom: 80px;
}

.terms-toc {
  position: sticky;
  top: 98px;
  border-radius: 14px;
}

.terms-toc .card-body {
  padding: 20px 18px;
}

.terms-toc h2 {
  font-size: 13px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 700;
}

.terms-toc li {
  margin-bottom: 7px;
}

.terms-toc a {
  color: #334155;
  font-size: 13px;
  line-height: 1.4;
}

.terms-toc a:hover,
.terms-toc a:focus {
  color: #00a86b;
  text-decoration: none;
}

.terms-article {
  border-radius: 14px;
  border: 1px solid #e9edf3 !important;
}

.terms-article .card-body {
  padding: 36px;
}

.terms-block {
  scroll-margin-top: 100px;
}

.terms-block + .terms-block {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid #eef2f7;
}

.terms-block h2 {
  margin-bottom: 12px;
  font-size: 30px;
  line-height: 1.35;
  color: #111827;
}

.terms-block h3 {
  margin-top: 14px;
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.4;
  color: #1f2937;
}

.terms-block p,
.terms-block li,
.terms-block address p {
  font-size: 16px;
  line-height: 1.9;
  color: #374151;
}

.terms-block ul {
  margin-top: 8px;
  margin-bottom: 0;
  padding-left: 20px;
}

.terms-block address {
  margin: 0;
}

.terms-block a {
  color: #00a86b;
}

.terms-block a:hover,
.terms-block a:focus {
  color: #008f5b;
  text-decoration: underline;
}

@media (max-width: 991.98px) {
  .terms-page-hero {
    padding-top: 56px;
    padding-bottom: 24px;
  }

  .terms-page-wrap .section-heading {
    font-size: 30px;
  }

  .terms-article .card-body {
    padding: 22px;
  }

  .terms-block h2 {
    font-size: 25px;
  }

  .terms-block p,
  .terms-block li,
  .terms-block address p {
    font-size: 15px;
    line-height: 1.85;
  }
}
