/* Approved AI Payroll hero: one borderless white canvas using the existing
   copy and the approved validation-and-automation artwork. */
.page-ai2 .ai2-hero {
  box-sizing: border-box;
  width: 100% !important;
  max-width: none;
  min-height: 640px;
  height: clamp(640px, 46vw, 790px);
  margin: 0 0 34px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  grid-template-columns: minmax(0, 44.75%) minmax(0, 55.25%) !important;
  align-items: stretch;
  display: grid;
  overflow: hidden;
  contain: paint;
}

.page-ai2 .ai2-hero-copy {
  z-index: 2;
  box-sizing: border-box;
  min-width: 0;
  min-height: 0;
  padding: 58px 34px 58px max(5.5vw, 48px) !important;
  background: #fff !important;
  justify-content: center;
}

.page-ai2 .ai2-hero h1 {
  max-width: 730px;
  margin: 30px 0 28px;
  font-size: clamp(58px, 3.6vw, 68px) !important;
  line-height: 1.07;
}

.page-ai2 .ai2-hero h1 em {
  color: var(--brass) !important;
  font-style: italic !important;
  display: block;
}

.page-ai2 .ai2-hero-copy > p {
  max-width: 640px;
  font-size: 16px;
  line-height: 1.72;
}

.page-ai2 .ai2-actions {
  gap: 42px;
  margin-top: 30px;
}

.page-ai2 .ai2-art {
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  aspect-ratio: auto;
  background: #fff !important;
  position: relative;
  overflow: hidden;
}

.page-ai2 .ai2-art::before {
  display: none !important;
}

.page-ai2 .ai2-art img {
  display: block !important;
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  padding: 0;
  object-fit: contain;
  object-position: center;
  background: #fff;
  filter: none;
  transform: none;
}

@media (max-width: 1100px) {
  .page-ai2 .ai2-hero {
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0 0 34px !important;
    border: 0 !important;
    border-radius: 0 !important;
    display: block;
  }

  .page-ai2 .ai2-hero-copy {
    height: auto;
    padding: 52px 40px 34px !important;
    justify-content: flex-start;
  }

  .page-ai2 .ai2-hero h1 {
    max-width: 760px;
    font-size: clamp(50px, 7vw, 66px) !important;
  }

  .page-ai2 .ai2-hero-copy > p {
    max-width: 720px;
  }

  .page-ai2 .ai2-art {
    width: 100%;
    height: auto;
    aspect-ratio: 1396 / 1127;
  }
}

@media (max-width: 700px) {
  .page-ai2 .ai2-hero {
    margin-bottom: 28px !important;
  }

  .page-ai2 .ai2-hero-copy {
    padding: 38px 24px 28px !important;
  }

  .page-ai2 .ai2-hero h1 {
    margin: 25px 0 24px;
    font-size: clamp(42px, 11vw, 52px) !important;
    line-height: 1.04;
  }

  .page-ai2 .ai2-hero-copy > p {
    font-size: 14px;
    line-height: 1.68;
  }

  .page-ai2 .ai2-actions {
    gap: 14px;
    margin-top: 27px;
  }

  .page-ai2 .ai2-art {
    aspect-ratio: 1396 / 1127;
  }
}

@media (max-width: 420px) {
  .page-ai2 .ai2-hero-copy {
    padding-inline: 20px !important;
  }

  .page-ai2 .ai2-hero h1 {
    font-size: clamp(39px, 11.2vw, 47px) !important;
  }

  .page-ai2 .ai2-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}
