/* Homepage hero social proof premium refinement.
   A quiet editorial signature: number, mint accent, label. No card, title,
   numbering, icons or extra copy. */

.b2-hero .b2-hero-proof {
  position: relative;
  width: min(100%, 344px) !important;
  margin-top: clamp(68px, 6.3vh, 80px) !important;
  padding: 17px 0 26px !important;
  display: grid !important;
  grid-template-columns: .9fr .96fr 1.14fr !important;
  column-gap: 19px !important;
  align-items: start;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* The top hairline starts with presence at the left, then dissolves right. */
.b2-hero .b2-hero-proof::before {
  content: "" !important;
  display: block !important;
  position: absolute;
  top: 0;
  left: 0;
  width: 64%;
  height: 1px;
  z-index: 2;
  background: linear-gradient(
    90deg,
    rgba(242,245,243,.12) 0%,
    rgba(242,245,243,.07) 68%,
    transparent 100%
  );
  pointer-events: none;
}

/* The lower rule is an explicit element instead of a pseudo-element so it
   cannot be suppressed by another proof ::after rule elsewhere in the theme. */
.b2-hero .b2-hero-proof::after {
  content: none !important;
  display: none !important;
}

/* The lower line mirrors the upper line's visual distance from the content.
   It begins at the right and dissolves toward the left. */
.b2-hero .b2-hero-proof-bottom-line {
  display: block !important;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 72%;
  height: 1px;
  z-index: 4;
  margin: 0 !important;
  max-width: none !important;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(242,245,243,.09) 38%,
    rgba(242,245,243,.20) 100%
  );
  pointer-events: none;
}

/* Each result is a vertical typographic lockup. Its natural content height is
   used so the lower rule does not inherit unnecessary empty space. */
.b2-hero .b2-hero-proof-item {
  min-width: 0;
  min-height: 0 !important;
  padding: 10px 0 0 !important;
  display: block !important;
  position: relative;
  border: 0 !important;
  transform: none !important;
}

.b2-hero .b2-hero-proof-item::before,
.b2-hero .b2-hero-proof-item::after {
  content: none !important;
  display: none !important;
}

.b2-hero .b2-hero-proof-item strong {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 0;
  padding: 0;
  font-size: clamp(29px, 2.15vw, 33px) !important;
  font-weight: 700;
  line-height: .88 !important;
  letter-spacing: -.058em !important;
  font-variant-numeric: tabular-nums lining-nums;
  color: #F1EEE7 !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: currentColor !important;
  text-shadow: none !important;
}

/* The mint mark belongs directly to the number. It now regains the restrained
   stretch interaction used in the earlier proof treatment: it opens gently on
   arrival, and extends further only when that proof point is engaged. */
.b2-hero .b2-hero-proof-item strong::after {
  content: "" !important;
  display: block !important;
  width: 13px;
  height: 1.5px;
  margin-top: 9px;
  border-radius: 999px;
  background: rgba(244,240,232,.72);
  opacity: .78;
  transform-origin: left center;
  transition:
    width .72s cubic-bezier(.22,.8,.24,1),
    opacity .5s ease;
}

/* Scroll reveal: the accents stretch in with a quiet stagger as the proof row
   enters view, then remain at a restrained resting length. */
.b2-hero .b2-hero-proof.is-proof-inview .b2-hero-proof-item strong::after {
  width: 20px;
  opacity: .9;
}

.b2-hero .b2-hero-proof.is-proof-inview .b2-hero-proof-item:nth-child(1) strong::after {
  transition-delay: .06s;
}

.b2-hero .b2-hero-proof.is-proof-inview .b2-hero-proof-item:nth-child(2) strong::after {
  transition-delay: .15s;
}

.b2-hero .b2-hero-proof.is-proof-inview .b2-hero-proof-item:nth-child(3) strong::after {
  transition-delay: .24s;
}

/* Desktop hover restores the previous stretch behaviour without moving the
   surrounding typography. Touch uses the matching class from proof-stats-v1.js. */
@media (hover: hover) and (pointer: fine) {
  .b2-hero .b2-hero-proof-item:hover strong::after {
    width: 32px;
    opacity: 1;
    transition-delay: 0s !important;
  }
}

.b2-hero .b2-hero-proof-item.is-proof-touch strong::after {
  width: 32px !important;
  opacity: 1;
  transition-delay: 0s !important;
}

.b2-hero .b2-hero-proof-item span {
  display: block;
  max-width: 14ch !important;
  margin: 8px 0 0 !important;
  font-size: 7.9px !important;
  font-weight: 650;
  line-height: 1.32 !important;
  letter-spacing: .078em !important;
  color: rgba(210,206,201,.78) !important;
  text-transform: uppercase;
  text-wrap: balance;
}

/* Give the rating enough measure to resolve cleanly in two lines. */
.b2-hero .b2-hero-proof-item:nth-child(3) span {
  max-width: 16ch !important;
}

@media (max-width: 760px) {
  .b2-hero .b2-hero-proof {
    width: min(100%, 318px) !important;
    margin-top: 38px !important;
    padding: 14px 0 22px !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    column-gap: 9px !important;
  }

  .b2-hero .b2-hero-proof::before {
    width: 68%;
  }

  .b2-hero .b2-hero-proof-bottom-line {
    bottom: 0;
    width: 72%;
    background: linear-gradient(
      90deg,
      transparent 0%,
      rgba(242,245,243,.085) 38%,
      rgba(242,245,243,.18) 100%
    );
  }

  .b2-hero .b2-hero-proof-item {
    min-height: 0 !important;
    padding-top: 8px !important;
  }

  .b2-hero .b2-hero-proof-item strong {
    font-size: clamp(22px, 6.1vw, 26px) !important;
  }

  .b2-hero .b2-hero-proof-item strong::after {
    width: 11px;
    height: 1px;
    margin-top: 8px;
  }

  .b2-hero .b2-hero-proof.is-proof-inview .b2-hero-proof-item strong::after {
    width: 18px;
  }

  .b2-hero .b2-hero-proof-item.is-proof-touch strong::after {
    width: 28px !important;
  }

  .b2-hero .b2-hero-proof-item span {
    max-width: 12ch !important;
    margin-top: 7px !important;
    font-size: 7.2px !important;
    line-height: 1.3 !important;
    letter-spacing: .062em !important;
  }

  .b2-hero .b2-hero-proof-item:nth-child(3) span {
    max-width: 13ch !important;
  }
}

@media (max-width: 420px) {
  .b2-hero .b2-hero-proof {
    width: 100% !important;
    column-gap: 7px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .b2-hero .b2-hero-proof-item strong::after {
    transition: none !important;
  }

  .b2-hero .b2-hero-proof.is-proof-inview .b2-hero-proof-item strong::after,
  .b2-hero .b2-hero-proof-item.is-proof-touch strong::after {
    width: 13px !important;
  }
}
