.acm-modules {
  padding-block: clamp(44px, 5.5vw, 76px);
  background: linear-gradient(180deg, #fff 0%, #f5f8fd 100%);
  text-align: left;
}

.acm-modules-heading {
  margin-bottom: clamp(22px, 2.5vw, 32px);
}

.acm-modules-heading .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1f4b99;
}

.acm-modules-heading .eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.acm-modules-heading h2 {
  max-width: 32ch;
  margin: 0;
  color: #15233b;
  font-size: clamp(1.875rem, 3.25vw, 2.875rem);
  line-height: 1.1;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.acm-modules-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 20px);
}

.acm-module-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: clamp(18px, 1.8vw, 26px);
  border: 1px solid #dbe5f2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 6px 18px rgb(27 60 110 / 6%);
}

.acm-module-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid currentColor;
  border-color: color-mix(in srgb, currentColor 12%, transparent);
  border-radius: 14px;
  background: #eaf2ff;
  color: #1f4b99;
}

.acm-module-icon--teal {
  background: #e6f5f0;
  color: #086654;
}

.acm-module-icon--violet {
  background: #f0edfc;
  color: #573ba1;
}

.acm-module-icon--amber {
  background: #fff1dc;
  color: #8a4b08;
}

.acm-module-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.acm-module-card h3 {
  margin: 0 0 7px;
  color: #15233b;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.25;
  letter-spacing: -.015em;
}

.acm-module-card p {
  margin: 0;
  color: #435976;
  font-size: .9375rem;
  line-height: 1.55;
}

@media (max-width: 1079px) {
  .acm-modules-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 599px) {
  .acm-modules-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .acm-module-card {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    padding: 15px;
    border-radius: 15px;
  }

  .acm-module-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .acm-module-icon svg {
    width: 22px;
    height: 22px;
  }
}
