.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;
  }
}

.btn.easy-match__btn-primary {
  background: var(--gradient-green);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 14px 32px rgba(22, 163, 74, 0.28);
}

.btn.easy-match__btn-primary:hover {
  transform: translateY(-2px);
}

/* Employers tab CTA: same look as Employers.css, repeated here because this
   section does not load Employers.css on the Easy Match page. */
.btn.employers__btn-primary {
  background: var(--gradient-blue);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.28);
}

.btn.employers__btn-primary:hover {
  transform: translateY(-2px);
}

.btn.easy-match__btn-secondary {
  background: #fff;
  color: var(--easy-match-dark);
  border-color: var(--easy-match);
  box-shadow: var(--shadow-soft);
}

.btn.easy-match__btn-secondary:hover {
  background: var(--easy-match-tint);
  border-color: var(--easy-match-dark);
  transform: translateY(-2px);
}

.easy-match__tabs {
  display: inline-flex;
  gap: 4px;
  margin-top: 24px;
  padding: 4px;
  background: var(--slate-100);
  border-radius: 999px;
}

.easy-match__tabs-btn {
  padding: 10px 22px;
  border: none;
  border-radius: 999px;
  background: transparent;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.easy-match__tabs-btn--active-green {
  background: #fff;
  color: var(--easy-match-dark);
  box-shadow: var(--shadow-soft);
}

.easy-match__tabs-btn--active-blue {
  background: #fff;
  color: var(--employers-blue-dark);
  box-shadow: var(--shadow-soft);
}

.easy-match__audience-detail {
  margin-top: 48px;
  margin-bottom: 24px;
}

.easy-match__audience-title {
  margin: 18px 0 16px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.easy-match__engine {
  text-align: center;
}

.easy-match__engine-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 16px;
  background: var(--gradient-green);
  color: #fff;
  box-shadow: 0 12px 26px rgba(22, 163, 74, 0.3);
}

.easy-match__engine-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 2.4;
}

.easy-match__engine-image {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  margin: -8px auto 4px;
}

.easy-match__engine-label {
  font-size: 14px;
  font-weight: 800;
  color: var(--easy-match-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.easy-match__engine-tagline {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-dark);
}

/* Employers tab — "Two ways to find the right candidate" */
.easy-match__ways {
  margin: 72px 0 24px;
}

.easy-match__ways-title {
  margin-bottom: 28px;
  text-align: center;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}

.easy-match__ways-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.easy-match__way {
  background: linear-gradient(180deg, var(--employers-tint) 0%, #fff 70%);
  border-color: rgba(37, 99, 235, 0.22);
}

.easy-match__way h4 {
  margin-bottom: 10px;
  font-size: 19px;
  font-weight: 800;
  color: var(--employers-blue-dark);
}

.easy-match__way p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-body);
}

@media (min-width: 760px) {
  .easy-match__ways-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Launch campaign landing pages (employers) */
.landing-hero {
  position: relative;
  padding: 64px 0 80px;
  overflow: hidden;
  background: #fff;
}

.landing-hero__mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(560px 360px at 10% -10%, rgba(37, 99, 235, 0.14), transparent 60%),
    radial-gradient(480px 320px at 92% 8%, rgba(124, 58, 237, 0.1), transparent 60%);
}

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

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

.landing-hero__title span {
  display: block;
  color: var(--employers-blue-dark);
}

.landing-hero__offer {
  max-width: 520px;
  margin-bottom: 26px;
  padding: 16px 20px;
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, var(--employers-tint) 0%, #fff 100%);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-dark);
}

.landing-hero__offer p {
  margin: 0;
}

.landing-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
}

.landing-hero__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.landing-hero__note {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
}

.landing-hero__media {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.landing-hero__visual {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.landing-hero__visual--landscape {
  aspect-ratio: 4 / 3;
}

.landing-hero__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 960px) {
  .landing-hero__inner {
    flex-direction: row;
    align-items: center;
    gap: 56px;
  }

  .landing-hero__content {
    flex: 1 1 0;
    min-width: 0;
  }

  .landing-hero__media {
    flex: 1 1 0;
    max-width: none;
    margin: 0;
  }
}

/* Editable discount badge on the corner of the hero image */
.landing-hero__image-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  min-height: 84px;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  transform: rotate(6deg);
}

@media (max-width: 559px) {
  .landing-hero__image-badge {
    min-width: 68px;
    min-height: 68px;
    font-size: 21px;
  }
}

/* Content below the hero */
.landing-card {
  max-width: 760px;
  margin: 0 auto;
}

.landing-cta {
  display: flex;
  justify-content: center;
  padding: 36px 0 12px;
}

.landing-cta--after-block {
  padding: 8px 0 32px;
}

/* Blue primary button (this stylesheet is loaded on its own, so it needs its own copy) */
.btn.employers__btn-primary {
  background: var(--gradient-blue);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.28);
}

.btn.employers__btn-primary:hover {
  transform: translateY(-2px);
}

/* Phones: both hero buttons full width so they line up */
@media (max-width: 559px) {
  .landing-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .landing-hero__cta {
    align-items: stretch;
  }

  .landing-hero__cta .btn,
  .landing-hero__actions > .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Agencies page: small note under a block, tick list and closing banner */
.landing-block-points {
  margin-top: 16px;
}

.landing-block-note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-muted);
}

.agency-banner {
  display: grid;
  gap: 24px;
  align-items: center;
  margin-top: 56px;
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: #fff;
}

.agency-banner__eyebrow {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b4b0f5;
}

.agency-banner h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.agency-banner p {
  margin: 12px 0 0;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

.agency-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn.agency-banner__primary {
  background: var(--gradient-blue);
  color: #fff;
  border-color: transparent;
}

.btn.agency-banner__secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn.agency-banner__secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

@media (min-width: 900px) {
  .agency-banner {
    grid-template-columns: 1fr auto;
    padding: 48px 56px;
  }
}

@media (max-width: 559px) {
  .agency-banner {
    padding: 32px 22px;
  }

  .agency-banner__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .agency-banner__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

