.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.cards>div {
  display: flex;
  flex-direction: column;
}

.cards picture {
  display: block;
}

.cards img {
  width: 100%;
  height: auto;
  display: block;
}

.cards .cards-card-body h3 {
  font-size: var(--heading-font-size-m);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-s);
  margin: var(--space-xl) 0 0;
}

.cards .cards-card-body p {
  font-size: 16px;
  line-height: var(--line-height-l);
  margin: var(--space-s) 0 0;
}

.cards .cards-card-body p:has(a) {
  margin-top: var(--space-xl);
}

.cards .cards-card-body a:not(.button) {
  color: var(--info);
  font-weight: var(--font-weight-normal);
}

.cards.dark:not(.carousel, .boxed),
.cards.accent:not(.carousel, .boxed) {
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-l);
}

.cards.dark:not(.carousel, .boxed)>div,
.cards.accent:not(.carousel, .boxed)>div {
  background: var(--info);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  color: #fff;
}

.cards.dark:not(.carousel, .boxed)>div>div:first-child,
.cards.accent:not(.carousel, .boxed)>div>div:first-child {
  width: 40px;
  margin-bottom: var(--space-xl);
}

.cards.dark:not(.carousel, .boxed) picture,
.cards.dark:not(.carousel, .boxed) img,
.cards.accent:not(.carousel, .boxed) picture,
.cards.accent:not(.carousel, .boxed) img {
  width: 40px;
  height: 40px;
}

.cards.dark:not(.carousel, .boxed) .cards-card-body h3,
.cards.accent:not(.carousel, .boxed) .cards-card-body h3 {
  font-size: 28px;
  font-weight: var(--font-weight-normal);
  line-height: 1.15;
  color: #fff;
  margin: 0 0 var(--space-s);
}

.cards.dark:not(.carousel, .boxed) .cards-card-body p,
.cards.accent:not(.carousel, .boxed) .cards-card-body p {
  color: rgb(255 255 255 / 90%);
}

.cards.dark:not(.carousel, .boxed) .cards-card-body p:has(a),
.cards.accent:not(.carousel, .boxed) .cards-card-body p:has(a) {
  margin-top: var(--space-m);
}

.cards.dark:not(.carousel, .boxed) a,
.cards.accent:not(.carousel, .boxed) a {
  color: #fff;
  font-weight: var(--font-weight-normal);
  text-decoration: underline;
}

.section.cards-container:has(.cards.dark) {
  background: var(--navy);
  padding: var(--section-y) 0;
}

.cards-container:has(.cards.dark) .default-content-wrapper h2 {
  color: #fff;
}

.cards-container:has(.cards.boxed) .default-content-wrapper {
  text-align: center;
}

.cards.accent:not(.carousel, .boxed) a {
  color: #fff;
  font-weight: var(--font-weight-normal);
  text-decoration: underline;
}

.cards.editorial:not(.carousel)>div {
  background: var(--agave-band);
  border-radius: var(--radius-card);
  padding: 32px 28px;
}

.cards.editorial .cards-card-body h3 {
  color: var(--heading);
}

.cards.editorial.icons .cards-card-body p a:only-child {
  margin-top: 1rem;
  display: block;
}

.cards.editorial .cards-card-body p,
.cards.editorial.icons .cards-card-body p {
  color: var(--text);
}


.section.cards-container:has(.cards.dark) {
  background: var(--navy);
  padding: var(--section-y) 0;
}

.section.cards-container:has(.cards.dark) > .default-content-wrapper > :is(h1, h2, h3, h4, h5, h6, p, ul, li) {
  color: #fff;
}

.cards-container:has(.cards.dark) .default-content-wrapper h2 {
  color: #fff;
}

.cards-container:has(.cards.boxed) .default-content-wrapper {
  text-align: center;
}

.section.cards-container:has(.cards.carousel):not(:has(.cards.dark)) {
  padding-bottom: 60px;
}

@media (width >=900px) {
  .section.cards-container:has(.cards.carousel):not(:has(.cards.dark)) {
    padding-bottom: 120px;
  }
}

@media (width <=768px) {
  .cards.dark:not(.carousel, .boxed),
  .cards.accent:not(.carousel, .boxed) {
    grid-template-columns: 1fr;
  }
}

.cards.center {
  > div {
    > .cards-card-head, > .cards-card-body {
      text-align: center;
      justify-content: center;
    }
  }
}

.cards.icons {
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3xl);
  margin: 0 auto;
}

.cards.icons .cards-card-head {
  display: flex;
  align-items: center;
  gap: var(--space-s);
  margin-bottom: var(--space-s);
}

.cards.icons .cards-card-image {
  width: 56px;
  margin: 0;
}

.cards.icons .cards-card-image img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.cards.icons.icons-sm .cards-card-image {
  width: 32px;
}

.cards.icons.icons-sm .cards-card-image img {
  width: 32px;
  height: 32px;
}

.cards.icons .cards-eyebrow {
  margin: 0;
  font-style: normal;
  font-size: 14px;
}

.cards.icons .cards-card-body h3 {
  font-size: 32px;
  line-height: 1.25;
  font-weight: var(--font-weight-medium);
  color: var(--heading);
  margin: 0 0 var(--space-s);
}

.cards.icons .cards-card-body p {
  font-size: 15px;
  line-height: 1.55;
  margin: 0;

  &.button-wrapper {
    margin-top: 2rem;
  }
}


@media (width <=768px) {
  .cards.icons {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .cards.icons .cards-card-body h3 {
    font-size: 28px;
  }
}

.section.product-cards .cards {
  grid-template-columns: repeat(auto-fit, minmax(460px, 1fr));
  gap: 44px 32px;
  max-width: var(--container);
  margin: 0 auto;
}

.section.product-cards .cards .cards-card-body :is(h3, h4) {
  margin: var(--space-l) 0 var(--space-xs);
  font-size: 28px;
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-xs);
  color: var(--heading);
}

.section.product-cards .cards .cards-card-body ul {
  margin: 0;
  padding-left: var(--space-m);
}

.section.product-cards .cards .cards-card-body li {
  margin: 0 0 var(--space-2xs);
  font-size: 16px;
  line-height: var(--line-height-l);
  color: var(--text-muted);
}

@media (width <=768px) {
  .section.product-cards .cards {
    grid-template-columns: 1fr;
  }
}

.section.feature-cards .default-content-wrapper {
  text-align: center;
}

.section.feature-cards .cards.icons>div {
  box-sizing: border-box;
  padding: var(--space-xl);
  background: #eef2f6;
  border-radius: var(--radius-xl);
}

.section.feature-cards .cards.icons .cards-card-body h3 {
  font-size: 24px;
}

.cards.carousel,
.cards.boxed {
  display: block;
}

.cards.carousel .cards-viewport,
.cards.boxed .cards-viewport {
  display: block;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

.cards.carousel .cards-viewport::-webkit-scrollbar,
.cards.boxed .cards-viewport::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.cards.carousel .cards-track,
.cards.boxed .cards-track {
  display: flex;
  gap: var(--space-xl);
}

.cards.carousel .cards-track {
  padding: 8px 0 44px;
}

.cards.boxed .cards-track {
  justify-content: center;
}

.cards.carousel .cards-track>div,
.cards.boxed .cards-track>div {
  display: flex;
  flex-direction: column;
  flex: 0 0 320px;
  scroll-snap-align: start;
}

.cards.carousel {
  --custom-ease: cubic-bezier(0.6, 0, 0.25, 1);
  --transition-duration: 600ms;
}

.cards.carousel .cards-card-image img {
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
}

.cards.carousel .cards-card-image {
  position: relative;
  z-index: 1;
}

.cards.carousel .cards-card-body {
  z-index: 1;
}

.cards.carousel .cards-card-image {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  transition: clip-path var(--transition-duration) var(--custom-ease);
}

.cards.carousel .cards-track>div:hover .cards-card-image,
.cards.carousel .cards-track>div:focus-within .cards-card-image {
  clip-path: polygon(16px 16px, calc(100% - 16px) 16px, calc(100% - 16px) 100%, 16px 100%);
}

.cards.carousel .cards-card-body {
  transition: padding var(--transition-duration) var(--custom-ease);
}

.cards.carousel .cards-track>div:hover .cards-card-body,
.cards.carousel .cards-track>div:focus-within .cards-card-body {
  padding-left: var(--space-s);
}

.cards.carousel .cards-track>div {
  position: relative;
}

.cards.carousel .cards-card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}

.cards.carousel .cards-track>div::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -8px -8px -22px;
  border: 1px solid rgb(0 37 74 / 20%);
  border-radius: 2px;
  box-shadow: 0 4px 16px rgb(35 108 255 / 16%);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-duration) var(--custom-ease);
}

.cards.carousel .cards-track>div:hover::before,
.cards.carousel .cards-track>div:focus-within::before {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .cards.carousel .cards-card-image,
  .cards.carousel .cards-card-body,
  .cards.carousel .cards-track>div::before {
    transition: none;
  }

  /* keep the static scrim affordance, drop the movement */
  .cards.carousel .cards-track>div:hover .cards-card-image,
  .cards.carousel .cards-track>div:focus-within .cards-card-image {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  .cards.carousel .cards-track>div:hover .cards-card-body,
  .cards.carousel .cards-track>div:focus-within .cards-card-body {
    padding-left: 0;
  }
}

.cards.dark.carousel .cards-card-body h3,
.cards.dark.carousel .cards-card-body p {
  color: #fff;
}

.cards.dark.carousel .cards-card-body a {
  color: #fff;
  text-decoration: underline;
}

.cards.boxed .cards-track>div {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
}

.cards.boxed .cards-card-body {
  padding: var(--space-l);
}

.cards.boxed .cards-card-body h3 {
  margin-top: var(--space-m);
}

.cards.carousel .cards-controls,
.cards.boxed .cards-controls {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--space-l);
  margin-top: var(--space-xl);
}

.cards.carousel .cards-controls[hidden],
.cards.boxed .cards-controls[hidden] {
  display: none;
}

.cards.carousel .cards-controls {
  margin-top: var(--space-m);
}

.cards .cards-counter {
  flex: 0 0 auto;
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
  white-space: nowrap;
}

.cards.dark .cards-counter {
  color: rgb(255 255 255 / 70%);
}

.cards .cards-progress-track {
  flex: 1 1 auto;
  height: 2px;
  background: rgb(0 37 74 / 15%);
}

.cards.dark .cards-progress-track {
  background: rgb(255 255 255 / 25%);
}

.cards .cards-progress-fill {
  height: 100%;
  background: var(--heading);
}

.cards.dark .cards-progress-fill {
  background: #fff;
}

.cards .cards-nav-buttons {
  display: flex;
  flex: 0 0 auto;
  gap: var(--space-xs);
}

.cards .cards-nav {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-circle);
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(0 37 74 / 8%);
  color: var(--navy);
  cursor: pointer;
}

.cards .cards-nav svg {
  width: 8px;
  height: 12px;
}

.cards .cards-nav:not(:disabled):hover {
  background: rgb(0 37 74 / 15%);
}

.cards .cards-nav:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.cards.dark .cards-nav {
  background: rgb(255 255 255 / 15%);
  color: #fff;
}

.cards.dark .cards-nav:not(:disabled):hover {
  background: rgb(255 255 255 / 28%);
}

@media (width <=768px) {
  .cards.carousel .cards-track>div,
  .cards.boxed .cards-track>div {
    flex-basis: 260px;
  }
}


.cards.list {
  display: flex;
  flex-direction: column;
  gap: var(--space-l);
}

.cards.list>div {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-s);
  align-items: start;
}

.cards.list .cards-card-image {
  margin: 0;
  border-radius: var(--radius-m);
  overflow: hidden;
}

.cards.list .cards-eyebrow {
  font-size: var(--body-font-size-xxs);
  text-transform: capitalize;
}

.cards.list .cards-card-body p:has(a) {
  margin-top: 0;
  font-size: var(--body-font-size-s);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-m);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cards.list .cards-card-body a {
  color: var(--text-color);
  font-weight: var(--font-weight-bold);
}

/* desktop (≥900px): fixed thumbnail size, matching the right-rail Customer
   stories / More on... card images (blog-rail-case-study, related-blogs) */
@media (min-width: 900px) {
  .cards.blog-rail.list>div {
    grid-template-columns: 84px 1fr;
  }

  .cards.blog-rail.list .cards-card-image img {
    width: 84px;
    height: 96px;
    object-fit: cover;
  }
}

.cards.blog-rail .cards-card-body p {
  margin: 0;
}

/* download card shows no category eyebrow — hidden on prod (ArticleRightRailItem-category) */
.cards.blog-rail .cards-eyebrow {
  display: none;
}

@media (width <=480px) {
  .cards.list>div {
    grid-template-columns: 166px 1fr;
  }

  .cards.list .cards-card-image img {
    height: 188px;
    object-fit: cover;
  }
}

.cards-focus-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: var(--radius-circle);
  color: var(--text-color);
  background: rgb(255 255 255 / 70%);
  border: 1px solid rgb(0 37 74 / 20%);
  box-shadow: 0 12px 40px -18px rgb(35 108 255 / 15%);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.12s linear, visibility 0.12s linear;
}

.cards-focus-cursor.is-enabled {
  opacity: 1;
  visibility: visible;
}

.cards-focus-cursor .cards-cursor-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-circle);
  background: currentcolor;
  margin: 0 18px;
  transition: margin 0.2s ease-out;
}

.cards-focus-cursor.is-mouse-down .cards-cursor-dot {
  margin: 0 10px;
}

.cards-focus-cursor .cards-cursor-chevron {
  width: 6px;
  height: 10px;
}

.cards.carousel .cards-viewport.cards-cursor-active,
.cards.carousel .cards-viewport.cards-cursor-active * {
  cursor: none;
}

@media (pointer: coarse),
(prefers-reduced-motion: reduce) {
  .cards-focus-cursor .cards-cursor-dot {
    transition: none;
  }
}

.cards.accent.carousel .cards-card-body h3 {
  font-size: var(--heading-font-size-xs);
}

.cards-container:has(.accent.carousel) .default-content-wrapper h2 {
  font-size: 40px;
  font-weight: var(--font-weight-bold);
}


.cards.minimal {
  >div {
    position: relative;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1rem;

    .cards-card-body p:has(a) {
      margin-top: 0;
    }

    .cards-card-body a:hover {
      text-decoration: none;
    }
  }
}

.cards.minimal .cards-card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}

.cards.divider {
  >div {
    border-right: 1px solid rgb(0 0 0 / 20%);

    &:last-child {
      border-right: 0;
    }
  }
}

.cards.editorial.carousel .cards-track>div {
  box-sizing: border-box;
  flex: 0 0 calc((100% - 64px) / 3);
  background: var(--wintermint);
  border-radius: var(--radius-card);
  padding: 32px 28px;
}

.cards.editorial.carousel .cards-card-image {
  position: static;
  clip-path: none;
  transition: none;
}

.cards.editorial.carousel .cards-track>div::before {
  display: none;
}

.cards.editorial.carousel .cards-track>div:hover .cards-card-image,
.cards.editorial.carousel .cards-track>div:focus-within .cards-card-image {
  clip-path: none;
}

.cards.editorial.carousel .cards-track>div:hover .cards-card-body,
.cards.editorial.carousel .cards-track>div:focus-within .cards-card-body {
  padding-left: 0;
}

.cards.editorial.carousel .cards-controls {
  justify-content: flex-end;
}

.cards.editorial.carousel .cards-nav {
  background: var(--navy);
  color: #fff;
}

.cards.editorial.carousel .cards-nav:not(:disabled):hover {
  background: var(--navy-hover);
}

.cards-dots {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
  margin-right: var(--space-2xs);
}

.cards-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-circle);
  background: rgb(0 37 74 / 20%);
  cursor: pointer;
}

.cards-dot.is-active {
  background: var(--navy);
}

@media (width <=768px) {
  .cards.editorial.carousel .cards-track>div {
    flex-basis: 82%;
  }
}

.cards.colored-bg-cards.icons > div > .cards-card-head {
  margin-bottom: 0;
}

.cards.colored-bg-cards.icons > div > .cards-card-body > p:first-of-type {
  margin-top: 1rem;
}

.cards.colored-bg-cards > div {
  background: var(--cards-bg, var(--sky));
  border-radius: var(--radius-card);
  overflow: hidden;
}

.cards.colored-bg-cards .cards-card-body {
  padding-right: 2rem;
  padding-left: 2rem;
  padding-bottom: 2rem;
}

.cards.colored-bg-cards .cards-card-image {
  padding: 1rem 1rem 0;
  margin-top: 1rem;
}

.cards.shadow {
  > div {
    padding: 2rem;
    background: #fff;
    box-shadow: 0 .375rem 1.5rem 0 rgb(0 0 0 / 20%);
  }

  &:not(:has(img)) {
    :is(h2, h3, h4, h5, h6) {
      margin-top: 0;
    }
  }
}

.cards.navy > div {
  :is(h2, h3, h4, h5, h6, p, ul, ol, li) {
    color: #fff;
  }
}


body.author-guide .cards.icons.icons-sm .cards-card-image img {
  filter: invert(1);
}

/* .tinted: feature image on top of a tinted rounded card; CSS-only variant */
.cards.tinted {
  --tinted-blue: #d6e8f8;
  --tinted-orange: #ffcec4;
  --tinted-ink: #0d0031;

  grid-template-columns: 1fr;
  gap: var(--space-m); /* 20px between cards at every breakpoint */
}

.cards.tinted > div {
  box-sizing: border-box;
  border-radius: 24px;
  overflow: hidden;
  color: var(--tinted-ink);
  background: #fff;
}

.cards.tinted > div:nth-child(3n + 1) { background: var(--tinted-blue); }
.cards.tinted > div:nth-child(3n + 2) { background: var(--tinted-orange); }

/* the thumbnail sits 8px inside the tile's top and sides (same inset as the bento tiles), with a nested radius */
.cards.tinted .cards-card-image {
  margin: 0;
  padding: 8px 8px 0;
  line-height: 0;
}

.cards.tinted .cards-card-image img {
  width: 100%;
  aspect-ratio: 706 / 412;
  object-fit: cover;
  object-position: top center;
  border-radius: 16px;
}

.cards.tinted .cards-card-body {
  display: flex;
  flex-direction: column;
  padding: var(--space-xl) var(--space-xl) var(--space-2xl);
}

/* IES eyebrow rhythm: 8px below the injected section eyebrow on mobile, 16px from tablet up */
.section.cards-container:has(.cards.tinted) > .default-content-wrapper > h2.section-eyebrow {
  padding-bottom: var(--space-2xs);
}

.section.cards-container:has(.cards.tinted) > .default-content-wrapper > h2.section-eyebrow + h2 {
  margin-top: 0;
}

.cards.tinted .cards-card-body .cards-eyebrow {
  margin: 0 0 var(--space-2xs);
  font-size: 12px;
  font-style: normal;
  font-weight: var(--font-weight-medium);
  line-height: 1.2;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: inherit;
}

/* IES eyebrow scale: 12px on mobile, 14px from tablet up — card eyebrows and the injected section eyebrow */
@media (width >= 768px) {
  .cards.tinted .cards-card-body .cards-eyebrow,
  .section.cards-container:has(.cards.tinted) > .default-content-wrapper > h2.section-eyebrow {
    font-size: 14px;
    line-height: 1.25;
    letter-spacing: 1.82px;
  }

  .cards.tinted .cards-card-body .cards-eyebrow { margin-bottom: var(--space-s); }
  .section.cards-container:has(.cards.tinted) > .default-content-wrapper > h2.section-eyebrow { padding-bottom: var(--space-s); }
}

.cards.tinted .cards-card-body :is(h3, h4) {
  margin: 0 0 var(--space-s);
  font-size: 28px;
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-xs);
  color: inherit;
}

/* heading → body: 16px on mobile, 20px from tablet up */
@media (width >= 768px) {
  .cards.tinted .cards-card-body :is(h3, h4) { margin-bottom: var(--space-m); }
}

.cards.tinted .cards-card-body p:not(.cards-eyebrow) {
  margin: 0;
  font-size: var(--body-font-size-m);
  line-height: var(--line-height-m);
  color: inherit;
}

/* tablet: two cards per row, the odd card left-aligned with space on the right; three per row from desktop */
@media (width >= 768px) {
  .cards.tinted {
    grid-template-columns: repeat(2, 1fr);
    max-width: 1210px;
    margin-inline: auto; /* not `margin: 0 auto`, so block spacer-* classes still apply */
  }
}

/* Figma "Card (3 Col)": 46px thumbnail → eyebrow, 60px copy side and bottom insets, 28px/1.3 title */
@media (width >= 1024px) {
  .cards.tinted { grid-template-columns: repeat(3, 1fr); max-width: 1130px; } /* Figma: 3 × 363px cards, 20px gutters */
  .cards.tinted .cards-card-body { padding: 46px 60px 60px; }
  .cards.tinted .cards-card-body :is(h3, h4) { line-height: var(--line-height-s); }
}

/* .tinted.blue: every card light blue, no image */
.cards.tinted.blue > div { background: var(--tinted-blue); }

.cards.tinted.blue .cards-card-body { padding: var(--space-2xl) var(--space-xl); }

/* body copy: 16px on mobile (inherited from .tinted), 20px/1.3 from tablet up */
@media (width >= 768px) {
  .cards.tinted.blue .cards-card-body p:not(.cards-eyebrow) { font-size: 20px; line-height: var(--line-height-s); }
}

@media (width >= 1024px) {
  .cards.tinted.blue { max-width: 1360px; }
  .cards.tinted.blue > div { border-radius: 38px; }
  .cards.tinted.blue .cards-card-body { padding: 60px; }
}

/* .tinted.stat section: 20px above and below (40px from desktop); optional title row above the cards */
.section.cards-container:has(.cards.tinted.stat) { padding-block: var(--space-m); }

.cards-wrapper:has(> .cards.tinted.stat) > .cards-title {
  margin: 0 0 var(--space-xl);
  font-size: 28px;
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-s);
  text-align: center;
  color: #0d0031;
}

@media (width >= 768px) {
  .cards-wrapper:has(> .cards.tinted.stat) > .cards-title {
    font-size: 34px;
    line-height: var(--line-height-xs);
  }
}

@media (width >= 1024px) {
  .section.cards-container:has(.cards.tinted.stat) { padding-block: var(--space-2xl); }

  .cards-wrapper:has(> .cards.tinted.stat) > .cards-title {
    margin-bottom: var(--space-2xl);
    font-size: var(--heading-font-size-xxl);
    line-height: var(--line-height-none);
  }
}

/* .tinted.stat: inset thumbnail; a card without an image renders as a Superblue stat */
.cards.tinted.stat > div { border-radius: 38px; }
.cards.tinted.stat .cards-card-image { padding: var(--space-2xs); }

.cards.tinted.stat .cards-card-image img {
  aspect-ratio: 319 / 196;
  border-radius: var(--space-l);
}
.cards.tinted.stat .cards-card-body { padding: var(--space-2xl) 30px; }
.cards.tinted.stat .cards-card-body .cards-eyebrow { margin-bottom: 30px; }
.cards.tinted.stat .cards-card-body :is(h3, h4) { line-height: var(--line-height-s); }

.cards.tinted.stat sup {
  position: relative;
  top: -0.6em;
  font-size: 0.645em;
  line-height: 0;
  vertical-align: baseline;
}

.cards.tinted.stat > div:not(:has(.cards-card-image)) {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--info, #236cff);
  color: #fff;
}

.cards.tinted.stat > div:not(:has(.cards-card-image)) .cards-card-body { padding: 60px var(--space-2xl); }

.cards.tinted.stat > div:not(:has(.cards-card-image)) .cards-card-body > * {
  margin: 0;
  font-family: var(--heading-font-family);
  font-size: var(--heading-font-size-m);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-s);
}

.cards.tinted.stat > div:not(:has(.cards-card-image)) .cards-card-body > :first-child {
  margin-bottom: var(--space-xs);
  font-size: 60px;
  line-height: var(--line-height-none);
}

.cards.tinted.stat > div:not(:has(.cards-card-image)) .cards-card-body strong { font-weight: inherit; }

/* tablet: cards keep their own height; the stat spans the row, centered */
@media (width >= 768px) and (width < 1024px) {
  .cards.tinted.stat { align-items: start; }
  .cards.tinted.stat > div { border-radius: 30px; }
  .cards.tinted.stat .cards-card-body { padding: var(--space-xl) var(--space-xl) var(--space-2xl); }

  .cards.tinted.stat > div:not(:has(.cards-card-image)) {
    grid-column: 1 / -1;
    text-align: center;
  }
}

@media (width >= 768px) {
  .cards.tinted.stat .cards-card-body .cards-eyebrow { margin-bottom: var(--space-s); }
}

@media (width >= 1024px) {
  .cards.tinted.stat { max-width: 1200px; }

  .cards.tinted.stat .cards-card-image img {
    aspect-ratio: 371 / 214;
    border-radius: 28px;
  }
  .cards.tinted.stat .cards-card-body { padding: var(--space-2xl) var(--space-2xl) 60px; }
  .cards.tinted.stat > div:not(:has(.cards-card-image)) .cards-card-body { padding: 60px; }

  .cards.tinted.stat > div:not(:has(.cards-card-image)) .cards-card-body > * {
    font-size: 34px;
    line-height: var(--line-height-xs);
  }

  .cards.tinted.stat > div:not(:has(.cards-card-image)) .cards-card-body > :first-child {
    font-size: 84px;
    line-height: var(--line-height-none);
  }
}

/* .icons.text-grid: three columns, 36px icon, 28px title, 16px body */
.cards.icons.text-grid {
  --text-grid-ink: #0d0031;

  max-width: 1132px;
  gap: 78px;
}

/* tablet: two items per row, the odd one left-aligned (like the tinted cards below); three from desktop */
@media (width >= 768px) {
  .cards.icons.text-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2xl);
  }
}

@media (width >= 1024px) {
  .cards.icons.text-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 78px;
  }
}

.cards.icons.text-grid .cards-card-head { margin-bottom: var(--space-m); }

.cards.icons.text-grid .cards-card-image,
.cards.icons.text-grid .cards-card-image img {
  width: 36px;
  height: 36px;
}

.cards.icons.text-grid .cards-card-body h3 {
  margin: 0 0 var(--space-2xs);
  font-size: 28px;
  line-height: var(--line-height-s);
  color: var(--text-grid-ink);
}

.cards.icons.text-grid .cards-card-body p {
  font-size: var(--body-font-size-m);
  line-height: var(--line-height-m);
  color: var(--text-grid-ink);
}

/* icon text-grid section: 60px above the eyebrow and below the last cards (80px from desktop) */
.section.cards-container:has(.cards.icons.text-grid) {
  padding-block: 60px;
}

.section.cards-container:has(.cards.icons.text-grid) > .default-content-wrapper {
  padding-block: 0;
}

/* text-grid section rhythm: title 40px above the icon list; tinted tiles 40px below it (60px from desktop) */
:where(.section.cards-container:has(.cards.icons.text-grid) > .default-content-wrapper) h2:not(.section-eyebrow) {
  margin: 0 0 var(--space-2xl);
  font-size: 34px;
  font-weight: var(--font-weight-medium);
  line-height: 1;
  text-align: center;
  color: #0d0031;
}

.section.cards-container:has(.cards.icons.text-grid) > .default-content-wrapper p {
  text-align: center;
}

.section.cards-container .cards-wrapper:has(.cards.icons.text-grid) + .cards-wrapper {
  margin-top: var(--space-2xl);
}

@media (width >= 1024px) {
  .section.cards-container:has(.cards.icons.text-grid) { padding-block: var(--space-5xl); }
  .section.cards-container .cards-wrapper:has(.cards.icons.text-grid) + .cards-wrapper { margin-top: 60px; }

  :where(.section.cards-container:has(.cards.icons.text-grid) > .default-content-wrapper) h2:not(.section-eyebrow) {
    font-size: 48px;
  }
}

/* tinted-blue section: 60px above the eyebrow (80px from desktop), no stacked wrapper padding,
   20px title → cards and cards → button (40px from desktop); the button closes the section */
.section.cards-container:has(.cards.tinted.blue) {
  padding-top: 60px;
}

.section.cards-container:has(.cards.tinted.blue) > .default-content-wrapper {
  padding-block: 0;
}

/* cards → button: 20px on mobile/tablet, 40px from desktop (below) */
.section.cards-container:has(.cards.tinted.blue) > .default-content-wrapper > .button-wrapper {
  margin: var(--space-m) 0 0;
}

/* tinted-blue section title: 34px below desktop, 48px/1 at >=1024px, like the page's other section titles;
   20px to the cards on mobile/tablet, 40px from desktop (below) */
:where(.cards-container:has(.cards.tinted.blue) > .default-content-wrapper) h2:not(.section-eyebrow) {
  margin-bottom: var(--space-m);
  font-size: 34px;
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-xs);
  color: #0d0031;
}

@media (width >= 1024px) {
  .section.cards-container:has(.cards.tinted.blue) { padding-top: var(--space-5xl); }
  .section.cards-container:has(.cards.tinted.blue) > .default-content-wrapper > .button-wrapper { margin-top: var(--space-2xl); }

  :where(.cards-container:has(.cards.tinted.blue) > .default-content-wrapper) h2:not(.section-eyebrow) {
    margin-bottom: var(--space-2xl);
    font-size: 48px;
    line-height: var(--line-height-none);
  }
}

@media (width < 768px) {
  .cards.icons.text-grid { gap: var(--space-m); } /* 20px between list items on mobile */
  .cards.icons.text-grid .cards-card-body h3 { font-size: 24px; }
}

/* feature cards retheme */
.section.feature-cards { padding: 40px 0 20px; }

.section.feature-cards > .default-content-wrapper {
  padding-top: 0;
  padding-bottom: 20px;
}

.section.feature-cards .cards.icons {
  grid-template-columns: 1fr;
  gap: 20px;
}

.section.feature-cards .cards.icons > div {
  padding: 40px 32px;
  background: #eff4f9;
  border-radius: 20px;
}

.section.feature-cards .cards.icons .cards-card-head { margin-bottom: 20px; }

.section.feature-cards .cards.icons .cards-card-image,
.section.feature-cards .cards.icons .cards-card-image img {
  width: 36px;
  height: 36px;
}

.section.feature-cards .cards.icons .cards-card-body h3 {
  margin: 0 0 16px;
  font-size: 24px;
  line-height: 1.1;
  color: #000;
}

.section.feature-cards .cards.icons .cards-card-body p {
  font-size: 16px;
  line-height: 1.4;
  color: #000;
}

@media (width >= 768px) {
  .section.feature-cards .cards.icons { grid-template-columns: repeat(2, 1fr); }
}

@media (width >= 1024px) {
  .section.feature-cards { padding: 40px 0; }
  .section.feature-cards > .default-content-wrapper { padding-bottom: 40px; }

  .section.feature-cards > .default-content-wrapper > h2 + p {
    font-size: 20px;
    line-height: 1.3;
  }

  .section.feature-cards .cards.icons { grid-template-columns: repeat(3, 1fr); }

  .section.feature-cards .cards.icons > div {
    padding: 60px;
    background: #f6f9fc;
    border-radius: 38px;
  }

  .section.feature-cards .cards.icons .cards-card-head { margin-bottom: 30px; }

  .section.feature-cards .cards.icons .cards-card-body h3 {
    font-size: 28px;
    line-height: 1.3;
    color: #000730;
  }

  .section.feature-cards .cards.icons .cards-card-body p { color: #000730; }
}

/* .ies: One Intuit icon tiles (Figma 22428-8481 / 22408-21512 / 22408-20549) */
.cards.ies {
  --ies-ink: #0d0031;

  grid-template-columns: 1fr;
  gap: var(--space-m);
  max-width: 1360px;
  margin-inline: auto;
}

.cards.ies > div {
  box-sizing: border-box;
  gap: var(--space-m);
  padding: 30px;
  border-radius: 20px;
  background: #f0f4f6;
  color: var(--ies-ink);
}

.cards.ies .cards-card-head {
  margin: 0;
}

.cards.ies .cards-card-image,
.cards.ies .cards-card-image img {
  width: 36px;
  height: 36px;
  margin: 0;
  object-fit: contain;
}

.cards.ies .cards-card-body h3 {
  margin: 0 0 var(--space-s);
  font-size: 24px;
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-s);
  letter-spacing: -0.72px;
  color: inherit;
}

.cards.ies .cards-card-body p {
  margin: 0;
  font-size: var(--body-font-size-m);
  line-height: var(--line-height-m);
  color: inherit;
}

.section.cards-container:has(.cards.ies) {
  padding-block: 60px;
}

.section.cards-container:has(.cards.ies) > .default-content-wrapper {
  padding-block: 0;
}

:where(.section.cards-container:has(.cards.ies) > .default-content-wrapper) h2:not(.section-eyebrow) {
  margin: 0 0 var(--space-m);
  font-size: 34px;
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-xs);
  text-align: center;
  color: #0d0031;
}

@media (width < 768px) {
  .section.cards-container:has(.cards.ies) > div {
    padding-inline: var(--space-m);
  }
}

@media (width >= 768px) {
  .cards.ies {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (width >= 1024px) {
  .cards.ies {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .cards.ies > div {
    gap: 30px;
    border-radius: 38px;
  }

  .cards.ies .cards-card-body h3 {
    font-size: 28px;
    letter-spacing: 0;
  }

  .section.cards-container:has(.cards.ies) {
    padding-block: var(--space-5xl);
  }

  :where(.section.cards-container:has(.cards.ies) > .default-content-wrapper) h2:not(.section-eyebrow) {
    margin-bottom: var(--space-2xl);
    font-size: 48px;
    line-height: var(--line-height-none);
  }
}

/* .minimal.divider in an IES section: eyebrow + logo | text rows (stacked below 768px, 3-up above) */
main > .section.ies.cards-container:has(> .cards-wrapper > .cards.minimal.divider) {
  padding-top: 3.75rem;
  padding-bottom: 1.25rem;
}

main > .section.ies.cards-container:has(> .cards-wrapper > .cards.minimal.divider) > div,
main > .section.ies.cards-container:has(> .cards-wrapper > .cards.minimal.divider) + .section > .default-content-wrapper {
  max-width: 1130px;
}

main > .section.ies.cards-container:has(> .cards-wrapper > .cards.minimal.divider) > .default-content-wrapper {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 20px;
}

main > .section.ies.cards-container:has(> .cards-wrapper > .cards.minimal.divider) > .default-content-wrapper > p:first-child {
  margin: 0;
  font-size: 12px;
  line-height: 1.25;
  font-weight: var(--font-weight-medium);
  letter-spacing: 1.56px;
  text-transform: uppercase;
  color: #0d0031;
}

.section.ies .cards.minimal.divider {
  grid-template-columns: 1fr;
  gap: 0;
}

.section.ies .cards.minimal.divider > div {
  justify-content: center;
  gap: var(--space-s);
  padding: var(--space-xl) 0;
  border-right: 0;
  border-bottom: 1px solid rgb(0 0 0 / 20%);
}

.section.ies .cards.minimal.divider > div:first-child { padding-top: 0; }

.section.ies .cards.minimal.divider .cards-card-image { flex: 0 0 auto; }

.section.ies .cards.minimal.divider > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

@media (width >= 768px) {
  main > .section.ies.cards-container:has(> .cards-wrapper > .cards.minimal.divider) > .default-content-wrapper {
    padding-bottom: 0;
  }

  main > .section.ies.cards-container:has(> .cards-wrapper > .cards.minimal.divider) > .default-content-wrapper > p:first-child {
    margin-bottom: 2rem;
  }

  .section.ies .cards.minimal.divider { grid-template-columns: repeat(3, 1fr); }

  .section.ies .cards.minimal.divider > div {
    padding: 0 var(--space-l);
    border-bottom: 0;
    border-right: 1px solid rgb(0 0 0 / 20%);
  }

  .section.ies .cards.minimal.divider > div:first-child { padding-left: 0; }

  .section.ies .cards.minimal.divider > div:last-child {
    padding-right: 0;
    border-right: 0;
  }
}

@media (width >= 1024px) {
  main > .section.ies.cards-container:has(> .cards-wrapper > .cards.minimal.divider) {
    padding-top: 5rem;
    padding-bottom: 2.5rem;
  }

  main > .section.ies.cards-container:has(> .cards-wrapper > .cards.minimal.divider) > .default-content-wrapper > p:first-child {
    margin-bottom: 2.5rem;
    font-size: 14px;
    letter-spacing: 1.82px;
  }

  .section.ies .cards.minimal.divider > div { padding: 0 30px; }
}

/* .ies-product: image + eyebrow + title + body; the first paragraph before the title is the eyebrow */
main > .section.cards-container:has(.cards.ies-product) {
  --ies-ink: #0d0031;

  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  padding-block: var(--space-m);
  background: #fff;
}

main > .section.cards-container:has(.cards.ies-product) > div {
  box-sizing: border-box;
  width: 100%;
  max-width: calc(1210px + 80px);
  padding-inline: var(--space-m);
}

main > .section.cards-container:has(.cards.ies-product) > .default-content-wrapper {
  max-width: calc(1130px + 80px);
  margin: 0 auto;
  padding-block: 0;
  text-align: center;
  color: var(--ies-ink);
}

main > .section.cards-container:has(.cards.ies-product) > .default-content-wrapper > p:first-child:has(+ h2) {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: var(--font-weight-medium);
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

main > .section.cards-container:has(.cards.ies-product) > .default-content-wrapper > h2 {
  margin: 0;
  font-family: var(--heading-font-family);
  font-size: 28px;
  font-weight: var(--font-weight-medium);
  line-height: 1.3;
  color: var(--ies-ink);
}

.section .cards.ies-product {
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: start;
  max-width: none;
  margin: 0;
  color: var(--ies-ink);
}

.section .cards.ies-product > div {
  gap: var(--space-m);
}

.section .cards.ies-product .cards-card-image img {
  aspect-ratio: 565 / 424;
  object-fit: cover;
  border-radius: 30px;
}

.section .cards.ies-product .cards-card-body > * {
  margin: 0;
  color: inherit;
}

.section .cards.ies-product .cards-card-body > p:first-child:has(+ :is(h3, h4)) {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: var(--font-weight-medium);
  line-height: 1.25;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section .cards.ies-product .cards-card-body :is(h3, h4) {
  margin: 0 0 8px;
  font-family: var(--body-font-family);
  font-size: 24px;
  font-weight: var(--font-weight-medium);
  line-height: 1.3;
  color: inherit;
}

.section .cards.ies-product .cards-card-body > p:not(:first-child) {
  font-size: 16px;
  line-height: 1.4;
}

@media (width >= 768px) {
  main > .section.cards-container:has(.cards.ies-product) {
    gap: var(--space-2xl);
  }

  main > .section.cards-container:has(.cards.ies-product) > div {
    padding-inline: var(--space-2xl);
  }

  main > .section.cards-container:has(.cards.ies-product) > .default-content-wrapper > p:first-child:has(+ h2) {
    font-size: 14px;
    line-height: 1.25;
    letter-spacing: 0.13em;
  }

  main > .section.cards-container:has(.cards.ies-product) > .default-content-wrapper > h2 {
    font-size: 34px;
    line-height: 1.1;
  }

  .section .cards.ies-product {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-xl) var(--space-m);
  }

  .section .cards.ies-product .cards-card-body > p:first-child:has(+ :is(h3, h4)) {
    font-size: 14px;
  }

  .section .cards.ies-product .cards-card-body :is(h3, h4) {
    font-family: var(--heading-font-family);
    font-size: 34px;
    line-height: 1.2;
  }
}

@media (width >= 768px) and (width < 1024px) {
  main > .section.cards-container:has(.cards.ies-product) > .default-content-wrapper {
    padding-inline: 100px;
  }

  main > .section.cards-container:has(.cards.ies-product) > .default-content-wrapper > p:first-child:has(+ h2) {
    color: #000;
  }
}

@media (width < 768px) {
  .section .cards.ies-product > div:last-child .cards-card-body > p:first-child:has(+ :is(h3, h4)) {
    margin-bottom: var(--space-xs);
  }
}

@media (width >= 1024px) {
  main > .section.cards-container:has(.cards.ies-product) {
    padding-block: var(--space-2xl);
  }

  main > .section.cards-container:has(.cards.ies-product) > .default-content-wrapper > p:first-child:has(+ h2) {
    margin-bottom: var(--space-s);
  }

  main > .section.cards-container:has(.cards.ies-product) > .default-content-wrapper > h2 {
    font-size: 48px;
    line-height: 1;
  }

  .section .cards.ies-product {
    gap: 60px 80px;
  }

  .section .cards.ies-product > div {
    gap: var(--space-xl);
  }

  .section .cards.ies-product .cards-card-image img {
    border-radius: 38px;
  }

  .section .cards.ies-product .cards-card-body > p:first-child:has(+ :is(h3, h4)) {
    margin-bottom: var(--space-s);
  }

  .section .cards.ies-product .cards-card-body :is(h3, h4) {
    margin-bottom: var(--space-m);
    font-size: 28px;
    line-height: 1.3;
  }

  .section .cards.ies-product .cards-card-body > p:not(:first-child) {
    font-size: 20px;
    line-height: 1.3;
  }
}

.cards-container .cards-header {
  max-width: 1130px;
  margin: 0 auto var(--space-xl);
  text-align: center;
  color: #0d0031;
}

.cards-container .cards-header-eyebrow {
  margin: 0 0 var(--space-2xs);
  font-size: 12px;
  font-weight: var(--font-weight-medium);
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cards-container .cards-header-title {
  margin: 0;
  font-family: var(--heading-font-family);
  font-size: 28px;
  font-weight: var(--font-weight-medium);
  line-height: 1.3;
  color: inherit;
}

.cards-container .cards-header-sub {
  margin: var(--space-s) 0 0;
  font-size: 16px;
  line-height: 1.4;
}

@media (width >= 768px) {
  .cards-container .cards-header { margin-bottom: var(--space-2xl); }

  .cards-container .cards-header-eyebrow {
    font-size: 14px;
    line-height: 1.25;
    letter-spacing: 0.13em;
  }

  .cards-container .cards-header-title {
    font-size: 34px;
    line-height: 1.1;
  }
}

@media (width >= 768px) and (width < 1024px) {
  .cards-container .cards-header { padding-inline: 100px; }
  .cards-container .cards-header-eyebrow { color: #000; }
}

@media (width >= 1024px) {
  .cards-container .cards-header-eyebrow { margin-bottom: var(--space-s); }

  .cards-container .cards-header-title {
    font-size: 48px;
    line-height: 1;
  }

  .cards-container .cards-header-sub {
    font-size: 20px;
    line-height: 1.3;
  }
}

.section .cards.ies-product.checklist .cards-card-body > ul:is(ul) {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.section .cards.ies-product.checklist .cards-card-body > ul > li {
  position: relative;
  padding-left: 28px;
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  color: var(--ies-ink, #0d0031);
}

.section .cards.ies-product.checklist .cards-card-body > ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 22px;
  background: url("/icons/icon-check-blue.svg") no-repeat center / 14px 10px;
}

@media (width < 1024px) {
  .section .cards.ies-product.checklist {
    grid-template-columns: 1fr;
    row-gap: var(--space-5xl);
  }

  .section .cards.ies-product.checklist > div { gap: var(--space-m); }

  .section .cards.ies-product.checklist .cards-card-body :is(h3, h4) { margin-bottom: var(--space-2xs); }

  .cards-container:has(.cards.ies-product.checklist) .cards-header { margin-bottom: var(--space-2xl); }
}

@media (width >= 1024px) {
  .section .cards.ies-product.checklist { gap: 60px var(--space-5xl); }
}

@media (width >= 1024px) {
  .section .cards.ies-product:is(.image-left, .image-right) > div:last-child:nth-child(odd) {
    flex-direction: row;
    grid-column: 1 / -1;
    align-items: center;
    gap: var(--space-5xl);
  }

  .section .cards.ies-product.image-right > div:last-child:nth-child(odd) { flex-direction: row-reverse; }

  .section .cards.ies-product:is(.image-left, .image-right) > div:last-child:nth-child(odd) > * {
    flex: 1 1 0;
    min-width: 0;
  }
}

.section .cards.icons.colors > div {
  background: var(--card-bg, var(--agave-band));
  color: #0d0031;
}

.section .cards.icons.colors > div .cards-card-body :is(h3, p) { color: inherit; }

.section .cards.icons.colors > div .cards-card-body a {
  color: inherit;
  font-size: var(--body-font-size-m);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-m);
  text-decoration: underline;
}

.section .cards.icons.colors > div .cards-card-body p:has(> a:only-child) { margin-top: var(--space-l); }

.section .cards.icons.colors > .cards-card-dark { color: var(--background-color); }

.section .cards.icons.colors > .cards-card-dark .cards-card-image img { filter: brightness(0) invert(1); }

.section .cards.icons.colors > div .cards-card-body a:hover,
.section .cards.icons.colors > div .cards-card-body a:focus-visible {
  text-decoration-thickness: 2px;
}

@media (width >= 768px) {
  .section .cards.icons.colors > div { border-radius: 30px; }
}

@media (width >= 1024px) {
  .section .cards.icons.colors > div { border-radius: 38px; }

  .section .cards.icons.colors > div .cards-card-body h3 {
    font-size: 32px;
    line-height: 1.25;
  }

  .section .cards.icons.colors > div .cards-card-body p:not(:has(> a:only-child)) {
    font-size: var(--heading-font-size-xs);
    line-height: var(--line-height-m);
  }
}


.section.cards-container:has(.cards.ies-grid) { padding-block: var(--space-m) 0; }

.section.cards-container:has(.cards.ies-grid) > .default-content-wrapper {
  max-width: 900px;
  margin-inline: auto;
  padding-block-end: 0;
  padding-inline: var(--space-m);
  text-align: center;
}

@media (width < 768px) {
  .section.cards-container:has(.cards.ies-grid) > .default-content-wrapper { padding-block-start: 60px; }
}

.section.cards-container:has(.cards.ies-grid) > .default-content-wrapper > h2 {
  margin: 0;
  font-size: 34px;
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-xs);
  text-align: center;
  color: #0d0031;
}

.section.cards-container:has(.cards.ies-grid) > .default-content-wrapper > p {
  margin: var(--space-s) 0 0;
  font-size: var(--body-m);
  line-height: var(--line-height-m);
  text-align: center;
  color: #0d0031;
}

.cards.ies-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-5xl);
  max-width: 1210px;
  margin: var(--space-2xl) auto 60px;
}

.cards.ies-grid > div { gap: var(--space-xl); }

.cards.ies-grid .cards-card-image img {
  aspect-ratio: 1110 / 882;
  object-fit: cover;
  border-radius: 30px;
}

.cards.ies-grid .cards-card-body h3 {
  margin: 0 0 var(--space-s);
  font-size: var(--heading-font-size-m);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-s);
  color: #0d0031;
}

.cards.ies-grid .cards-card-body p {
  margin: 0;
  font-size: var(--body-m);
  line-height: var(--line-height-m);
  color: #0d0031;
}

@media (width >= 768px) {
  .cards.ies-grid > div { gap: var(--space-m); }

  .section.cards-container:has(.cards.ies-grid) > .default-content-wrapper > h2 { font-size: 34px; line-height: 1.1; }

  .cards.ies-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-xl) var(--space-m);
    margin-block: var(--space-2xl) 60px;
  }

  .cards.ies-grid .cards-card-image img { aspect-ratio: 1130 / 848; }

  .cards.ies-grid .cards-card-body h3 { margin-bottom: var(--space-2xs); font-size: 34px; line-height: var(--line-height-xs); }
}

@media (width >= 1024px) {
  .section.cards-container:has(.cards.ies-grid) { padding-block: var(--space-2xl) 0; }

  .section.cards-container:has(.cards.ies-grid) > .default-content-wrapper > h2 { font-size: var(--heading-font-size-xxl); line-height: var(--line-height-none); }

  .section.cards-container:has(.cards.ies-grid) > .default-content-wrapper > p {
    margin-top: var(--space-m);
    font-size: var(--body-l);
    line-height: var(--line-height-s);
  }

  .section.cards-container:has(.cards.ies-grid) > .default-content-wrapper { margin-bottom: 60px; }

  .cards.ies-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 60px clamp(40px, 5.5vw, 80px);
    margin-block: 0 var(--space-5xl);
  }

  .cards.ies-grid .cards-card-image img { aspect-ratio: 350 / 325; border-radius: 38px; }

  .cards.ies-grid .cards-card-body h3 { margin-bottom: var(--space-2xs); font-size: 28px; line-height: var(--line-height-s); }
}

.section.cards-container:has(.cards.ies-carousel) { padding-block: var(--space-m); }

.section.cards-container:has(.cards.ies-carousel) > .default-content-wrapper {
  padding-inline: var(--space-m);
  text-align: center;
}

@media (width < 768px) {
  .section.cards-container:has(.cards.ies-carousel) > .default-content-wrapper { padding-block-end: var(--space-m); }
}

.section.cards-container:has(.cards.ies-carousel) > .default-content-wrapper > h2 {
  margin: 0;
  font-size: 34px;
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-xs);
  text-align: center;
  color: #0d0031;
}

.cards.ies-carousel {
  display: block;
  margin-top: var(--space-m);
}

.cards.ies-carousel .cards-viewport {
  display: block;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

.cards.ies-carousel .cards-viewport::-webkit-scrollbar { display: none; }

.cards.ies-carousel .cards-track {
  display: flex;
  gap: var(--space-m);
  align-items: stretch;
}

.cards.ies-carousel .cards-track > div {
  flex: 0 0 100%;
  overflow: hidden;
  border-radius: 38px;
  background: var(--pepper);
  scroll-snap-align: start;
}

.cards.ies-carousel .cards-card-image { padding: 10px 10px 0; }

.cards.ies-carousel .cards-card-image img {
  height: 214px;
  object-fit: cover;
  border-radius: 30px;
}

.cards.ies-carousel .cards-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: var(--space-2xl);
  padding: var(--space-2xl) 38px var(--space-2xl);
}

.cards.ies-carousel .cards-card-body h3 {
  margin: 0;
  font-size: 28px;
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-s);
  color: #0d0031;
}

.cards.ies-carousel .cards-card-body p { margin: auto 0 0; }

.cards.ies-carousel .cards-card-body a {
  font-size: var(--body-m);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-m);
  text-decoration: none;
  color: var(--info);
}

.cards.ies-carousel .cards-card-body a:hover,
.cards.ies-carousel .cards-card-body a:focus-visible { text-decoration: underline; }

.cards.ies-carousel .cards-controls {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
}

.cards.ies-carousel .cards-controls[hidden] { display: none; }

.cards.ies-carousel .cards-dots { gap: var(--space-m); margin: 0; }

.cards.ies-carousel .cards-dot {
  width: 12px;
  height: 12px;
  background: #8bb5c7;
}

.cards.ies-carousel .cards-dot.is-active { background: var(--info); }

.cards.ies-carousel .cards-nav-buttons { display: none; }

.cards.ies-carousel .cards-nav {
  width: 60px;
  height: 60px;
  background: var(--info);
  color: var(--background-color);
}

.cards.ies-carousel .cards-nav svg { width: 9px; height: 13px; }

.cards.ies-carousel .cards-nav:disabled {
  background: #8bb5c7;
  cursor: default;
  opacity: 1;
}

.cards.ies-carousel .cards-nav:not(:disabled):hover { background: #1b5be0; }

@media (768px <= width < 1024px) {
  .section.cards-container:has(.cards.ies-carousel) > .default-content-wrapper { padding-block-end: 0; }
}

@media (width >= 768px) {
  .section.cards-container:has(.cards.ies-carousel) > .default-content-wrapper > h2 { line-height: 1.1; }

  .cards.ies-carousel { margin-top: var(--space-2xl); }

  .cards.ies-carousel .cards-track > div { flex-basis: 325px; }

  .cards.ies-carousel .cards-card-image { padding: var(--space-2xs) var(--space-2xs) 0; }

  .cards.ies-carousel .cards-card-image img { border-radius: 28px; }

  .cards.ies-carousel .cards-card-body { gap: 30px; padding: 30px; }

  .cards.ies-carousel .cards-card-body h3 { font-size: var(--heading-font-size-m); }

  .cards.ies-carousel .cards-controls { justify-content: flex-end; gap: var(--space-2xl); margin-top: var(--space-2xl); }

  .cards.ies-carousel .cards-nav-buttons { display: flex; gap: var(--space-2xl); }
}

@media (width >= 1024px) {
  .section.cards-container:has(.cards.ies-carousel) { padding-block: var(--space-2xl); }

  .section.cards-container:has(.cards.ies-carousel) > .default-content-wrapper > h2 { font-size: var(--heading-font-size-xxl); line-height: var(--line-height-none); }

  .cards.ies-carousel { margin-top: 0; }

  .cards.ies-carousel .cards-track > div { flex-basis: calc((100% - 3 * var(--space-m)) / 4); }
}

main > .section.cards-container:has(.cards.ies-showcase) {
  --showcase-ink: #0d0031;
  --showcase-text: #fff;
  --showcase-gutter: var(--space-m);
  --showcase-gap: 50px;
  --showcase-grid-width: 1210px;
  --showcase-title-width: 1130px;
  --showcase-header-inset: 0;
  --showcase-badge-height: 20px;
  --showcase-badge-padding: var(--space-3xs);
  --showcase-eyebrow-gap: var(--space-2xs);
  --showcase-title-size: 34px;
  --showcase-card-title-size: var(--heading-font-size-m);
  --showcase-tile-radius: 38px;

  margin: 0;
  padding: 60px 0;
  background: var(--showcase-ink);
  color: var(--showcase-text);
}

main > .section.cards-container:has(.cards.ies-showcase) > .cards-wrapper {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: var(--showcase-gap);
  width: 100%;
  max-width: calc(var(--showcase-grid-width) + (2 * var(--showcase-gutter)));
  padding-inline: var(--showcase-gutter);
}

main > .section.cards-container:has(.cards.ies-showcase) .cards-header {
  max-width: var(--showcase-title-width);
  margin: 0 auto;
  padding-inline: var(--showcase-header-inset);
  color: var(--showcase-text);
}

main > .section.cards-container:has(.cards.ies-showcase) .cards-header-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: fit-content;
  height: var(--showcase-badge-height);
  margin: 0 auto var(--space-s);
  padding: var(--showcase-badge-padding);
  border-radius: 20px;
  background: var(--agave-band);
  font-size: var(--body-font-size-xxs);
  font-weight: var(--font-weight-medium);
  line-height: 1.1;
  color: var(--showcase-ink);
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

main > .section.cards-container:has(.cards.ies-showcase) .cards-header-eyebrow {
  margin: 0 0 var(--showcase-eyebrow-gap);
  font-size: var(--body-font-size-xxs);
  font-style: normal;
  line-height: 1.25;
  letter-spacing: 0.13em;
  color: var(--showcase-text);
}

main > .section.cards-container:has(.cards.ies-showcase) .cards-header-eyebrow em {
  font-style: normal;
}

main > .section.cards-container:has(.cards.ies-showcase) .cards-header-title {
  font-size: var(--showcase-title-size);
  line-height: var(--line-height-xs);
  color: var(--showcase-text);
}

main > .section.cards-container:has(.cards.ies-showcase) .cards-header-sub {
  margin: var(--space-s) 0 0;
  font-size: var(--body-font-size-m);
  line-height: var(--line-height-m);
  color: var(--showcase-text);
}

.section .cards.ies-showcase {
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
  max-width: none;
  margin: 0;
}

.section .cards.ies-showcase > div {
  gap: var(--space-m);
}

.section .cards.ies-showcase .cards-card-image {
  aspect-ratio: 382 / 325;
  overflow: hidden;
  border-radius: var(--showcase-tile-radius);
  background: var(--agave-band);
}

.section .cards.ies-showcase .cards-card-image picture,
.section .cards.ies-showcase .cards-card-image img {
  width: 100%;
  height: 100%;
}

.section .cards.ies-showcase .cards-card-image img {
  object-fit: cover;
}

.section .cards.ies-showcase .cards-card-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  color: var(--showcase-text);
}

.section .cards.ies-showcase .cards-card-body :is(h3, h4) {
  margin: 0;
  font-size: var(--showcase-card-title-size);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-s);
  color: var(--showcase-text);
}

.section .cards.ies-showcase .cards-card-body p {
  margin: 0;
  font-size: var(--body-font-size-m);
  line-height: var(--line-height-m);
  color: var(--showcase-text);
}

@media (width >= 768px) {
  main > .section.cards-container:has(.cards.ies-showcase) {
    --showcase-gutter: var(--space-2xl);
    --showcase-gap: 52px;
    --showcase-header-inset: var(--space-m);
    --showcase-badge-height: 24px;
    --showcase-badge-padding: var(--space-3xs) var(--space-2xs);
    --showcase-title-size: 40px;
  }

  main > .section.cards-container:has(.cards.ies-showcase) .cards-header-eyebrow {
    font-size: var(--body-font-size-xs);
  }

  .section .cards.ies-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-xl) var(--space-m);
  }
}

@media (width >= 1024px) {
  main > .section.cards-container:has(.cards.ies-showcase) {
    --showcase-gap: var(--space-2xl);
    --showcase-header-inset: 0;
    --showcase-badge-height: 28px;
    --showcase-badge-padding: var(--space-3xs) var(--space-s);
    --showcase-eyebrow-gap: var(--space-s);
    --showcase-title-size: var(--heading-font-size-xxl);
    --showcase-card-title-size: 28px;

    padding-block: var(--space-5xl);
  }

  main > .section.cards-container:has(.cards.ies-showcase) .cards-header-badge {
    font-size: var(--body-font-size-xs);
  }

  main > .section.cards-container:has(.cards.ies-showcase) .cards-header-title {
    line-height: var(--line-height-none);
  }

  main > .section.cards-container:has(.cards.ies-showcase) .cards-header-sub {
    margin-top: var(--space-m);
    padding-inline: 95px;
    font-size: var(--body-font-size-l);
    line-height: var(--line-height-s);
  }

  .section .cards.ies-showcase {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-xl);
  }
}
