/* 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;
  }
}

