/**
 * Content hubs — grouped sections, jump nav, related rail, teasers.
 */

.bi-hub-jump {
  position: sticky;
  top: 72px;
  z-index: 40;
  padding: 0.75rem 0;
  background: rgba(245, 248, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ngi-line, #e6edf7);
}

.bi-hub-jump__track {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.bi-hub-jump__track::-webkit-scrollbar {
  display: none;
}

.bi-hub-jump__pill {
  flex: 0 0 auto;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ngi-blue, #123c7c);
  background: #fff;
  border: 1px solid var(--ngi-line, #e6edf7);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.bi-hub-jump__pill:hover,
.bi-hub-jump__pill.is-active {
  color: #041326;
  border-color: var(--ngi-cyan, #28c7f7);
  box-shadow: 0 8px 24px rgba(40, 199, 247, 0.18);
  transform: translateY(-1px);
}

.bi-content-hubs {
  display: grid;
  gap: 0;
}

.bi-content-hub {
  scroll-margin-top: 120px;
}

/* Bento rhythm — alternate surfaces */
.bi-content-hub--values,
.bi-content-hub--verification,
.bi-content-hub--faq {
  background: linear-gradient(180deg, rgba(246, 249, 255, 0.9), rgba(245, 248, 255, 0.4));
}

.bi-content-hub--proof .stat-grid,
.bi-content-hub--values .values-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .bi-content-hub--proof .stat-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .bi-content-hub--values .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .bi-content-hub--process .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Hub teasers (canonical link cards — no duplicate bodies) */
.bi-hub-teaser {
  padding-block: clamp(1.5rem, 4vw, 2.5rem);
}

.bi-hub-teaser__card {
  border-radius: var(--ngi-radius, 28px);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  background: linear-gradient(135deg, rgba(3, 17, 38, 0.96), rgba(18, 60, 124, 0.92));
  color: #fff;
  box-shadow: 0 28px 70px rgba(7, 23, 47, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.bi-hub-teaser__card--inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.bi-hub-teaser__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ngi-gold, #ffb703);
}

.bi-hub-teaser__title {
  margin: 0 0 0.65rem;
  font-family: var(--ngt-font-display, "Sora", system-ui, sans-serif);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  letter-spacing: -0.02em;
}

.bi-hub-teaser__text {
  margin: 0;
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

/* Related pages rail */
.bi-related-rail {
  padding: clamp(2rem, 5vw, 3rem) 0 clamp(3rem, 6vw, 4rem);
  border-top: 1px solid var(--ngi-line, #e6edf7);
  background: #fff;
}

.bi-related-rail__label {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ngi-muted, #687386);
}

.bi-related-rail__grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.bi-related-rail__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  border-radius: 18px;
  background: var(--ngi-soft, #f5f8ff);
  border: 1px solid var(--ngi-line, #e6edf7);
  text-decoration: none;
  color: var(--ngi-text, #10213f);
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.bi-related-rail__link:hover {
  transform: translateY(-3px);
  border-color: var(--ngi-cyan, #28c7f7);
  box-shadow: 0 16px 40px rgba(18, 60, 124, 0.12);
}

.bi-related-rail__arrow {
  color: var(--ngi-cyan, #28c7f7);
  font-size: 1.1rem;
}

/* FAQ — single open accordion feel */
.bi-content-hub--faq .faq {
  max-width: 820px;
  margin-inline: auto;
}

.bi-content-hub--faq .faq-item {
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 0.65rem;
  border: 1px solid var(--ngi-line, #e6edf7);
  background: #fff;
}

@media (max-width: 768px) {
  .bi-hub-jump {
    top: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bi-hub-jump__pill:hover,
  .bi-related-rail__link:hover {
    transform: none;
  }
}
