.product-hero {
  position: relative;
  padding: 72px 0 96px;
  overflow: hidden;
  background: #fff;
}

.product-hero__mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.product-hero--purple .product-hero__mesh {
  background: radial-gradient(560px 360px at 8% -10%, rgba(124, 58, 237, 0.14), transparent 60%);
}

.product-hero--green .product-hero__mesh {
  background: radial-gradient(560px 360px at 8% -10%, rgba(22, 163, 74, 0.14), transparent 60%);
}

.product-hero--blue .product-hero__mesh {
  background: radial-gradient(560px 360px at 8% -10%, rgba(37, 99, 235, 0.14), transparent 60%);
}

.product-hero__tagline {
  margin: 0 0 16px;
  font-size: 19px;
  font-weight: 800;
  color: var(--purple-primary);
}

.product-hero--green .product-hero__tagline {
  color: var(--easy-match-dark);
}

.product-hero--blue .product-hero__tagline {
  color: var(--employers-blue-dark);
}

.product-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.product-hero__title {
  margin: 18px 0 20px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.product-hero__title span {
  color: var(--purple-primary);
}

.product-hero--green .product-hero__title span {
  color: var(--easy-match-dark);
}

.product-hero--blue .product-hero__title span {
  color: var(--employers-blue-dark);
}

.product-hero__body {
  max-width: 560px;
  margin-bottom: 28px;
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--text-body);
}

.product-hero__note {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.product-hero__card {
  padding: 30px;
}

.product-hero__card-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--purple-primary);
}

.product-hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--purple-primary);
}

/* Feature blocks */
.feature-block {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  padding: 44px 0;
  border-bottom: 1px solid var(--border);
}

.feature-block:last-child {
  border-bottom: none;
}

.feature-block__copy h3 {
  margin: 0;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.feature-block__heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 18px 0 14px;
}

.feature-block__copy > p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-body);
  margin-bottom: 22px;
}

.feature-block__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--purple-primary);
}

.feature-block__button {
  margin-top: 20px;
}

.feature-block__visual {
  width: 100%;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

/* Wraps a real uploaded <img> so aspect-ratio sizes this div, not the
   replaced element itself — an <img> with flex:1 + aspect-ratio and no
   sized wrapper can render at its native pixel size in some engines. */
.feature-block__visual-frame {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.feature-block__visual-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 900px) {
  .product-hero__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .product-hero__inner > div:first-child {
    flex: 1.05;
  }

  .product-hero__card,
  .product-hero__image-side {
    flex: 0.95;
  }

  .feature-block {
    flex-direction: row;
    gap: 56px;
  }

  .feature-block > * {
    flex: 1;
  }

  .feature-block--reverse {
    flex-direction: row-reverse;
  }
}

