/* One capsule wraps the section counter and its title. */
body .home-section-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  box-sizing: border-box;
  max-width: 100%;
  min-height: 2.5rem;
  padding: .5rem 1.125rem .5rem .875rem;
  border: 1px solid rgba(255, 255, 255, .95);
  border-radius: 999px;
  background: linear-gradient(135deg, #fff, #f0f3fa);
  box-shadow:
    0 .25rem .875rem rgba(101, 114, 151, .09),
    inset 0 -1px 1px rgba(112, 126, 169, .08);
  color: #626480;
  font-size: .6875rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .14em;
}

body:is(.ai-home-page, .product-clean-page) .home-section-label > .home-section-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: .3125rem;
  box-sizing: border-box;
  width: auto;
  height: 1.125rem;
  padding: 0 .75rem 0 0;
  overflow: visible;
  border: 0;
  border-right: 1px solid #dce1ed;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #4954a4;
  font-size: .6875rem;
  line-height: 1;
  letter-spacing: .025em;
  font-variant-numeric: tabular-nums;
}

body:is(.ai-home-page, .product-clean-page) .home-section-index b { font-weight: 700; }
body:is(.ai-home-page, .product-clean-page) .home-section-index i {
  color: #b1b5c6;
  font-weight: 400;
  font-style: normal;
}
body:is(.ai-home-page, .product-clean-page) .home-section-index__total {
  color: #888da5;
  font-weight: 500;
}
body:is(.ai-home-page, .product-clean-page) .home-section-index::before,
body:is(.ai-home-page, .product-clean-page) .home-section-index::after {
  content: none;
}
body:is(.ai-home-page, .product-clean-page) .home-section-label--faq { margin-bottom: 1rem; }

/* The same capsule is shared by section labels on the other pages; the
   features page uses the homepage counter and spacing above. */
body:not(.ai-home-page, .product-clean-page) .home-section-label { margin-bottom: .875rem; }
body .about-eyebrow.home-section-label::before { content: none; }
body .about-values .home-section-label {
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
  color: #d5ddf5;
}

@media (max-width: 767px) {
  body .home-section-label {
    gap: .5625rem;
    min-height: 2.25rem;
    padding: .4375rem .875rem .4375rem .75rem;
    font-size: .625rem;
    letter-spacing: .12em;
  }
  body:is(.ai-home-page, .product-clean-page) .home-section-label > .home-section-index {
    padding-right: .5625rem;
    font-size: .625rem;
  }
}
