/* Comparison hero — typographic, centered, no product visual. The giant title
   is the hero; everything else stays quiet around it. */

.cmp-hero {
  position: relative;
  padding: clamp(4.5rem, 9vh, 7rem) 0 clamp(2.75rem, 5vw, 4.25rem);
  text-align: center;
}

/* Shared "unfold" separator (particles + center core) closing the hero.
   Its default 7rem margin is tuned down here since the hero and the next
   section already carry their own generous padding on this page. */
.comparisons-page .cmp-hero-separator .unfold-separator-wrapper {
  margin: 0.5rem 0 0;
}

.cmp-hero::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 30%;
  width: min(760px, 96vw);
  aspect-ratio: 1.6;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(139, 107, 255, 0.16), transparent 70%);
  pointer-events: none;
}

.cmp-hero > .cmp-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Above-the-fold content enters on page load, like the Home hero. Scroll
   reveals remain reserved for sections encountered after the first viewport. */
.cmp-hero__load-reveal {
  animation: cmp-hero-load-reveal 900ms cubic-bezier(0.4, 2, 0.6, 1) both;
}

.cmp-hero__eyebrow.cmp-hero__load-reveal {
  animation-delay: 100ms;
}

.cmp-hero__title.cmp-hero__load-reveal {
  animation-delay: 180ms;
}

.cmp-hero__versus.cmp-hero__load-reveal {
  animation-delay: 320ms;
}

.cmp-hero__cta.cmp-hero__load-reveal {
  animation-delay: 500ms;
}

.cmp-hero__proof.cmp-hero__load-reveal {
  animation-delay: 650ms;
}

@keyframes cmp-hero-load-reveal {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cmp-hero__load-reveal {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.cmp-hero__eyebrow {
  margin: 0 0 1.4rem;
  padding: 0.42rem 0.9rem;
  border-radius: var(--cmp-radius-pill);
  background: var(--cmp-primary-soft);
  box-shadow: inset 0 0 0 1px var(--cmp-primary-ring);
  color: #c3acff;
  font-family: var(--cmp-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.comparisons-page .cmp-hero__title {
  max-width: 26ch;
  margin-top: 0.9rem;
  margin-bottom: 3.25rem;
  font-size: clamp(3.4rem, 9.6vw, 8rem);
  white-space: nowrap;
}

/* Below ~560px the one-line size would force horizontal overflow — fall
   back to the normal wrapping title (2 lines) used everywhere else. */
@media (max-width: 560px) {
  .comparisons-page .cmp-hero__title {
    max-width: 15ch;
    white-space: normal;
  }
}

/* ---- Versus lede: Bloom and the rival as their own tagged column either
   side of a center divider, echoing the gradient "vs" in the title above.
   No card/border — stays a typographic device, not a product visual. ---- */

.cmp-hero__versus {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 0 clamp(1.5rem, 3vw, 2.75rem);
  width: min(100%, 58rem);
  text-align: left;
}

.cmp-hero__versus-side {
  display: grid;
  align-content: start;
  min-width: 0;
  gap: 0.7rem;
  padding-top: 0.1rem;
}

.cmp-hero__versus-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  margin: 0;
  padding: 0.32rem 0.75rem 0.32rem 0.6rem;
  border-radius: var(--cmp-radius-pill);
  font-family: var(--cmp-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.cmp-hero__versus-side--bloom .cmp-hero__versus-tag {
  color: #c3acff;
  background: var(--cmp-primary-soft);
  box-shadow: inset 0 0 0 1px var(--cmp-primary-ring);
}

.cmp-hero__versus-side--rival .cmp-hero__versus-tag {
  color: #a9c6ff;
  background: var(--cmp-rival-soft);
  box-shadow: inset 0 0 0 1px var(--cmp-rival-ring);
}

.cmp-hero__versus-dot {
  width: 0.42rem;
  height: 0.42rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}

.cmp-hero__versus .cmp-lede {
  margin: 0;
  font-size: clamp(0.94rem, 1.15vw, 1.02rem);
  text-align: justify;
  text-wrap: pretty;
}

.cmp-hero__inline-link {
  color: var(--cmp-primary);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--cmp-primary-ring);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition:
    color 0.2s ease,
    text-decoration-color 0.2s ease;
}

.cmp-hero__inline-link:hover {
  color: var(--cmp-ink);
  text-decoration-color: var(--cmp-primary);
}

.cmp-hero__inline-link:focus-visible {
  outline: 2px solid var(--cmp-primary);
  outline-offset: 2px;
  border-radius: 3px;
}

.cmp-hero__versus-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  padding-top: 0.2rem;
}

.cmp-hero__versus-divider-line {
  width: 1px;
  flex: 1;
  min-height: 1.5rem;
  background: linear-gradient(180deg, transparent, var(--cmp-border-strong), transparent);
}

.cmp-hero__versus-divider-chip {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  border: 1px solid var(--cmp-border-strong);
  background: var(--cmp-bg);
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.5);
}

/* Decorative echo of the title's own "vs" — CSS content, not a text node,
   since this chip is aria-hidden and purely repeats what the H1 already says. */
.cmp-hero__versus-divider-chip::before {
  content: 'vs';
  font-family: var(--cmp-mono);
  font-size: 0.66rem;
  font-weight: 800;
  background: linear-gradient(96deg, #9a6bff, #c471ff 55%, #ff86c8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (max-width: 760px) {
  .cmp-hero__versus {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 1.4rem 0;
    text-align: center;
  }

  .cmp-hero__versus-side {
    justify-items: center;
  }

  .cmp-hero__versus-tag {
    justify-content: center;
  }

  .cmp-hero__versus-divider {
    flex-direction: row;
    width: 100%;
    max-width: 220px;
  }

  .cmp-hero__versus-divider-line {
    height: 1px;
    width: auto;
    min-height: 0;
    background: linear-gradient(90deg, transparent, var(--cmp-border-strong), transparent);
  }
}

.cmp-hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 2rem;
}

.cmp-hero__ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.cmp-hero__ghost-arrow {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
}

.cmp-hero__ghost-arrow svg {
  width: 16px;
  height: 16px;
  transition: translate 0.25s cubic-bezier(0.22, 0.68, 0.35, 1.2);
}

.cmp-hero__proof {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  width: min(1020px, 100%);
  margin: clamp(2.6rem, 5vw, 4rem) 0 0;
  padding: clamp(0.9rem, 1.6vw, 1.2rem) 0;
  border-top: 1px solid var(--cmp-border);
  border-bottom: 1px solid var(--cmp-border);
}

.cmp-hero__proof-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.7rem;
  padding: 0.35rem clamp(0.9rem, 2vw, 1.5rem);
  text-align: left;
}

.cmp-hero__proof-item + .cmp-hero__proof-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12%;
  height: 76%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--cmp-border-strong), transparent);
}

.cmp-hero__proof .cmp-icon {
  width: auto;
  height: auto;
  background: none;
  box-shadow: none;
  border-radius: 0;
  color: var(--cmp-win);
}

.cmp-hero__proof .cmp-icon svg {
  width: 21px;
  height: 21px;
  stroke-width: 1.7;
}

.cmp-hero__proof-label {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--cmp-ink-soft);
}

@media (hover: hover) and (pointer: fine) {
  .cmp-hero__ghost:hover .cmp-hero__ghost-arrow svg {
    translate: 0 3px;
  }

  .cmp-hero__proof-item .cmp-icon,
  .cmp-hero__proof-label {
    transition: color 0.25s ease;
  }

  .cmp-hero__proof-item:hover .cmp-icon {
    color: #5cf0b5;
  }

  .cmp-hero__proof-item:hover .cmp-hero__proof-label {
    color: #ffffff;
  }
}

@media (max-width: 900px) {
  .cmp-hero__proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 0.9rem;
  }

  .cmp-hero__proof-item:nth-child(3)::before {
    display: none;
  }
}

@media (max-width: 520px) {
  .cmp-hero__proof {
    grid-template-columns: 1fr;
    row-gap: 0.6rem;
  }

  .cmp-hero__proof-item + .cmp-hero__proof-item::before {
    display: none;
  }

  .cmp-hero__cta .btn {
    width: 100%;
    justify-content: center;
  }
}
