/* =========================================   STAY TEXOMA — TERMS PAGE ONLY (ISOLATED)   ========================================= */

/* Smooth scrolling ONLY inside the terms page wrapper */

.stx-terms {
  scroll-behavior: smooth;
  background-color: #f5f7fb;
  min-height: 100vh;
}

/* Offset anchor targets so they don't hide under sticky navbar   (scoped to the terms wrapper) */

.stx-terms h2[id^="section-"] {
  scroll-margin-top: 130px;
}

/* Card */

.stx-terms .terms-card {
  border-radius: 1rem;
  box-shadow: 0 18px 45px rgba(15, 35, 52, 0.12);
  background: #ffffff;
}

/* Heading styles */

.stx-terms .section-heading {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: #00648f;
}

.stx-terms .terms-small-note {
  font-size: 0.85rem;
  color: #6c757d;
}

/* Sticky TOC pill */

.stx-terms .toc-pill {
  position: sticky;
  top: 7rem;
}

/* TOC list styling */

.stx-terms .toc-title {
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #6b7280;
}

.stx-terms .toc-list {
  font-size: 0.95rem;
}

.stx-terms .toc-list li {
  margin-bottom: 0.25rem;
}

.stx-terms .toc-list a {
  text-decoration: none;
  color: #111827;
  display: inline-flex;
  align-items: flex-start;
}

.stx-terms .toc-bullet {
  display: inline-block;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background-color: #9ca3af;
  margin-top: 0.4rem;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.stx-terms .toc-list a:hover {
  color: #2563eb;
}

/* Responsive rules */

@media (max-width:991.98px) {
  .stx-terms .hero-terms {
    min-height: 30vh;
    padding: 3rem 1.5rem;
  }
}

@media (max-width:991.98px) {
  .stx-terms .terms-card {
    margin-top: -2.5rem;
  }
}

