/* Salesforge rebuild: homepage section "Superior Email Infrastructure" (blocks 22 to 25).
   New code. Design values (sizes, colours, breakpoints) follow salesforge.ai.
   Reuses .feature, .feature__copy, .feature__art, .h4, .brand and .dark from home.css, and .rule, .band from
   the shared files; this file holds only what differs. Load it after home.css. */

/* ---------------------------------------------------------------- text column */
/* Copy block with a zero-size spacer before and after it. The spacer before gives the gap above the heading;
   the spacer after stands where the "Explore Email Infrastructure" button was, so the copy keeps its place at
   wide screens and stays centred in its column on tablets, with no empty slot left by the removed button. */
.infra__text {
  display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start;
  gap: 64px; padding-bottom: 8px;
}
.infra__text::before, .infra__text::after { content: ""; }
.infra__title { margin-bottom: 12px; }
.infra__tagline { font-weight: 600; }

/* ---------------------------------------------------------------- the diagram */
/* Layers, bottom to top: white card, grey lines, moving dots, the picture with pills and words, logo pills.
   The card, lines and logo pills are drawn from the top-left corner at the box width, so on phones they run
   past the 18rem box and are cut off, while the picture fits inside it: the same as on salesforge.ai. */
.feature__art.infra__art { aspect-ratio: 62 / 66; background: var(--gray-100); isolation: isolate; }
.infra__layer {
  position: absolute; top: 0; left: 0; width: 100%; max-width: none; height: auto; aspect-ratio: 620 / 660;
  pointer-events: none;
}
.infra__overlay { position: absolute; inset: 0; width: 100%; max-width: none; height: 100%; pointer-events: none; }
.infra__dots { position: absolute; inset: 0; pointer-events: none; }
.infra__dot {
  position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--violet); box-shadow: 0 0 0 4px #e9d7fe;
  visibility: hidden;                                   /* shown once the script has placed it */
}
.infra__art.is-live .infra__dot { visibility: visible; }

/* ---------------------------------------------------------------- tablets and phones */
@media (max-width: 991px) {
  .infra__text { justify-content: space-between; align-items: center; }
}
@media (max-width: 479px) {
  .infra__text { gap: 32px; }
}
