/* home2 — competitor compare inside bento card */

html[data-truffl-page="home2"] .home-bento-card--compare,
html[data-truffl-page="home2"] #home-competitor-compare.home-bento-card {
  background: linear-gradient(
    180deg,
    #15151e 0%,
    #15151e 54%,
    color-mix(in srgb, var(--hero-bloom-glow) 3%, #15151e) 100%
  ) !important;
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
}

html[data-truffl-page="home2"] .home-bento-card--compare .home-bento-card__copy {
  position: relative;
  z-index: 2;
  background: transparent;
  text-align: left;
  align-items: flex-start;
  margin-top: 0;
  padding-top: var(--home-bento-copy-pad, 1rem);
}

html[data-truffl-page="home2"] .home-bento-card--compare .home-bento-card__copy::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: clamp(3rem, 22%, 5rem);
  transform: translateY(-100%);
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    180deg,
    rgba(21, 21, 30, 0) 0%,
    rgba(21, 21, 30, 0.45) 38%,
    rgba(21, 21, 30, 0.88) 72%,
    #15151e 100%
  );
}

html[data-truffl-page="home2"] .home-bento-card--compare .home-bento-card__copy h3 {
  position: relative;
  z-index: 1;
  max-width: none;
  font-family: var(--hero-bloom-font-display, "Lucid", Georgia, serif) !important;
  font-weight: 400 !important;
  letter-spacing: -0.03em !important;
  font-feature-settings: normal !important;
}

html[data-truffl-page="home2"] .home-bento-card--compare .home-bento-card__copy .home-sublead-type {
  font-family: var(--hero-bloom-font-sans, "Geist Sans", ui-sans-serif, system-ui, sans-serif) !important;
  font-size: 0.875rem !important;
  line-height: 1.5 !important;
  letter-spacing: 0 !important;
  color: #b3b3b3 !important;
  font-feature-settings: normal !important;
}

html[data-truffl-page="home2"] .home-bento-card__visual--compare {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 0;
  height: auto !important;
  padding: 0.85rem 0.75rem 1rem;
  box-sizing: border-box;
  line-height: normal;
  background: transparent;
  overflow: visible;
}

html[data-truffl-page="home2"] .home-bento-compare {
  --compare-cols: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 0.82fr) minmax(0, 0.82fr);
  --compare-head-h: 2.35rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
  min-height: 0;
  font-family: var(--hero-bloom-font-sans, "Geist Sans", ui-sans-serif, system-ui, sans-serif);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html[data-truffl-page="home2"] .home-bento-compare__brand-band {
  position: absolute;
  top: var(--compare-head-h);
  bottom: 0.15rem;
  left: calc(100% * 1.35 / (1.35 + 1 + 0.82 + 0.82));
  width: calc(100% * 1 / (1.35 + 1 + 0.82 + 0.82) - 0.35rem);
  margin-left: 0.18rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(164, 128, 174, 0.24);
  background: linear-gradient(
    180deg,
    rgba(164, 128, 174, 0.16) 0%,
    rgba(164, 128, 174, 0.07) 100%
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  pointer-events: none;
  z-index: 0;
}

html[data-truffl-page="home2"] .home-bento-compare__row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: var(--compare-cols);
  align-items: center;
  gap: 0.15rem;
  min-height: 2rem;
  padding: 0.38rem 0.15rem;
}

html[data-truffl-page="home2"] .home-bento-compare__row + .home-bento-compare__row {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

html[data-truffl-page="home2"] .home-bento-compare__row--head {
  min-height: var(--compare-head-h);
  padding: 0.35rem 0.2rem 0.4rem;
  border-top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  align-items: center;
}

html[data-truffl-page="home2"] .home-bento-compare__row--head + .home-bento-compare__row {
  border-top: 0;
}

html[data-truffl-page="home2"] .home-bento-compare__cell {
  min-width: 0;
  font-family: var(--hero-bloom-font-sans, "Geist Sans", ui-sans-serif, system-ui, sans-serif) !important;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.01em;
  text-align: center;
  color: #71717a;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: normal;
}

html[data-truffl-page="home2"] .home-bento-compare__cell--feature {
  padding-right: 0.35rem;
  text-align: left;
  color: #a1a1aa;
  font-weight: 400;
}

html[data-truffl-page="home2"] .home-bento-compare__row--head .home-bento-compare__cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 0 0.1rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.55);
}

html[data-truffl-page="home2"] .home-bento-compare__row--head .home-bento-compare__cell--brand {
  color: #a480ae;
  font-weight: 600;
  background: rgba(164, 128, 174, 0.1);
  border-radius: 0.45rem;
  box-shadow: inset 0 0 0 1px rgba(164, 128, 174, 0.22);
}

html[data-truffl-page="home2"] .home-bento-compare__cell--brand {
  position: relative;
  z-index: 1;
}

html[data-truffl-page="home2"] .home-bento-compare__cell--win {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 400;
}

html[data-truffl-page="home2"] .home-bento-compare__cell--yes {
  color: #a480ae;
  font-weight: 500;
}

html[data-truffl-page="home2"] .home-bento-compare__cell--no {
  color: #52525b;
}

html[data-truffl-page="home2"] .home-bento-compare__cell--rival {
  color: #71717a;
}

@media (max-width: 767px) {
  html[data-truffl-page="home2"] .home-bento-card--compare,
  html[data-truffl-page="home2"] #home-competitor-compare.home-bento-card {
    overflow: hidden !important;
  }

  html[data-truffl-page="home2"] .home-bento-card__visual--compare {
    padding: 0.55rem 0.4rem 0.75rem;
    overflow: hidden !important;
  }

  html[data-truffl-page="home2"] .home-bento-compare {
    --compare-cols: minmax(0, 1.05fr) minmax(0, 0.92fr) minmax(0, 0.72fr) minmax(0, 0.72fr);
    --compare-head-h: 2.2rem;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  html[data-truffl-page="home2"] .home-bento-compare__row {
    gap: 0.1rem;
    padding: 0.3rem 0.06rem;
    min-height: 1.8rem;
    width: 100%;
    max-width: 100%;
  }

  html[data-truffl-page="home2"] .home-bento-compare__row--head {
    padding: 0.32rem 0.06rem 0.38rem;
  }

  html[data-truffl-page="home2"] .home-bento-compare__cell {
    min-width: 0;
    max-width: 100%;
    font-size: 0.625rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  html[data-truffl-page="home2"] .home-bento-compare__cell--feature {
    padding-right: 0.12rem;
    font-size: 0.5625rem;
    line-height: 1.35;
  }

  html[data-truffl-page="home2"] .home-bento-compare__row--head .home-bento-compare__cell {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.5625rem;
    letter-spacing: 0;
    white-space: normal;
    text-wrap: balance;
  }

  html[data-truffl-page="home2"] .home-bento-compare__row--head .home-bento-compare__cell--brand {
    min-height: 1.5rem;
    padding-inline: 0.12rem;
  }

  html[data-truffl-page="home2"] .home-bento-compare__brand-band {
    top: calc(var(--compare-head-h) + 0.05rem);
    left: calc(100% * 1.05 / (1.05 + 0.92 + 0.72 + 0.72));
    margin-left: 0.08rem;
    width: calc(100% * 0.92 / (1.05 + 0.92 + 0.72 + 0.72) - 0.18rem);
    border-radius: 0.45rem;
  }
}

@media (min-width: 768px) {
  html[data-truffl-page="home2"] .home-bento-card__visual--compare {
    padding: 0.95rem 0.85rem 1rem;
  }

  html[data-truffl-page="home2"] .home-bento-compare__cell {
    font-size: 0.8125rem;
  }

  html[data-truffl-page="home2"] .home-bento-compare__row {
    min-height: 2.15rem;
    padding: 0.42rem 0.2rem;
  }

  html[data-truffl-page="home2"] .home-bento-compare__row--head .home-bento-compare__cell {
    font-size: 0.75rem;
  }
}

@media (min-width: 900px) {
  html[data-truffl-page="home2"] .home-bento-card__visual--compare {
    padding: 1rem 1rem 1.05rem;
  }

  html[data-truffl-page="home2"] .home-bento-compare__cell {
    font-size: 0.875rem;
    line-height: 1.5;
  }

  html[data-truffl-page="home2"] .home-bento-compare__row--head .home-bento-compare__cell {
    font-size: 0.8125rem;
  }

  html[data-truffl-page="home2"] .home-bento-compare__row {
    min-height: 2.35rem;
  }
}

/* Bottom row — align compare + LinkedIn copy titles on one baseline */
@media (min-width: 900px) {
  html[data-truffl-page="home2"] .home-features-bento__grid {
    align-items: stretch;
  }

  html[data-truffl-page="home2"] .home-bento-card--compare,
  html[data-truffl-page="home2"] .home-bento-card--linkedin {
    height: 100%;
  }

  html[data-truffl-page="home2"] .home-bento-card--compare .home-bento-card__visual--compare,
  html[data-truffl-page="home2"] .home-bento-card--linkedin .home-bento-card__visual {
    flex: 1 1 0;
    flex-shrink: 1;
    min-height: var(--home-bento-visual-h, 300px);
    height: auto !important;
  }

  html[data-truffl-page="home2"] .home-bento-card--compare .home-bento-card__copy,
  html[data-truffl-page="home2"] .home-bento-card--linkedin .home-bento-card__copy {
    flex-shrink: 0;
  }
}
