/* ─────────────────────────────────────────────────────────────────────────
   Section: Feature: Accounting and Digital Payments — Hero
   (Figma 2225:2591 / 2225:2619)

   - Card fill: Figma draws the gradient image at w179.3% h180.65%, offset
     -72.74% / -10.15% inside the card, then rotates the whole fill 180deg.
     Below lg (no mobile frame) the image simply covers the card.
   - Bullets: 9x9 green-light square at x11 / y10, text at x45 (Figma).
   - At lg the card's internals scale with the card: shares of the 1300px
     design width in cqw of the frame (which is exactly as wide as the card).
       89 / 1300   = 6.8462cqw   (padding-left: title at x159 = 70 + 89)
       1090 / 1300 = 83.8462cqw  (title)
       860 / 1300  = 66.1538cqw  (lead)
       482 / 1300  = 37.0769cqw  (intro paragraph + bullets column)
       465 / 1300  = 35.7692cqw  (bullets: 45 + 420)
       792 / 1300  = 60.9231cqw  (mockup, right edge flush to the card)
       33 / 1300   = 2.5385cqw   (mockup top above the intro: 667 - 634)
       (781.4 - 33 - 38) / 1300 = 54.6469cqw (lower block min-height: the
                     mockup ends 65 above the card's bottom, 38 lower than
                     the last bullet, so at 1440 the card is 1364 tall)
   ───────────────────────────────────────────────────────────────────────── */

.section-adp-hero__fill {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  transform: rotate(180deg);
}

.section-adp-hero__fill img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.section-adp-hero__item {
  padding-left: 2.1875rem; /* mobile: 9 + 26, as the Connections mobile frame */
}

.section-adp-hero__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.625rem; /* 10 */
  width: 0.5625rem; /* 9 */
  height: 0.5625rem;
  background-color: var(--color-green-light);
}

@media (width >= 64rem) {
  .section-adp-hero__frame {
    container-type: inline-size;
  }

  .section-adp-hero__card {
    padding-left: 6.8462cqw;
  }

  .section-adp-hero__fill img {
    inset: auto;
    top: -10.15%;
    left: -72.74%;
    width: 179.3%;
    height: 180.65%;
    object-fit: fill;
  }

  .section-adp-hero__title {
    max-width: 83.8462cqw; /* 1090 / 1300 */
  }

  .section-adp-hero__lead {
    max-width: 66.1538cqw;
  }

  .section-adp-hero__lower {
    min-height: 54.6469cqw;
  }

  .section-adp-hero__intro {
    width: 37.0769cqw;
  }

  .section-adp-hero__item {
    max-width: 35.7692cqw;
    padding-left: 2.8125rem; /* 45 */
  }

  .section-adp-hero__item::before {
    left: 0.6875rem; /* 11 */
  }

  .section-adp-hero__mockup {
    position: absolute;
    top: -2.5385cqw;
    right: 0;
    width: 60.9231cqw;
    height: auto;
  }
}
