.a2t-process-flow-section {
  position: relative;
  overflow: hidden;
  padding: clamp(82px, 8vw, 118px) 0;
  background:
    radial-gradient(circle at 50% 8%, rgba(47, 123, 255, .12), transparent 34%),
    radial-gradient(circle at 10% 55%, rgba(37, 99, 235, .08), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 54%, #ffffff 100%);
}

.a2t-process-flow-section::before,
.a2t-process-flow-section::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.a2t-process-flow-section::before {
  inset: 24px 0 auto;
  height: 220px;
  background-image: radial-gradient(rgba(37, 99, 235, .14) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: radial-gradient(circle, #000 0 22%, transparent 62%);
  opacity: .42;
}

.a2t-process-flow-section::after {
  width: 520px;
  height: 220px;
  left: -160px;
  top: 46%;
  border-top: 4px solid rgba(47, 123, 255, .22);
  border-right: 4px solid rgba(47, 123, 255, .18);
  border-radius: 0 120px 0 0;
}

.a2t-process-flow-shell {
  position: relative;
  z-index: 1;
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
}

.a2t-process-flow-head {
  max-width: 830px;
  margin: 0 auto clamp(48px, 5vw, 72px);
  text-align: center;
}

.a2t-process-flow-eyebrow {
  position: relative;
  display: inline-flex;
  justify-content: center;
  margin-bottom: 28px;
  color: #2563eb;
  font-size: 15px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: .42em;
  text-transform: uppercase;
}

.a2t-process-flow-eyebrow::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -18px;
  width: 118px;
  height: 10px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, .48), rgba(37, 99, 235, 0) 70%);
}

.a2t-process-flow-head h2 {
  margin: 0;
  color: #050816;
  font-size: clamp(48px, 5.9vw, 86px);
  line-height: .95;
  font-weight: 950;
  letter-spacing: -.075em;
}

.a2t-process-flow-head p {
  max-width: 720px;
  margin: 24px auto 0;
  color: #475569;
  font-size: clamp(18px, 1.45vw, 24px);
  line-height: 1.42;
}

.a2t-process-flow-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(34px, 4.6vw, 72px);
}

.a2t-process-flow-grid::before {
  content: "";
  position: absolute;
  top: 125px;
  left: -80px;
  right: -86px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(47, 123, 255, 0), #2f7bff 8%, #2563eb 92%, rgba(47, 123, 255, 0));
  box-shadow: 0 0 18px rgba(47, 123, 255, .26);
  z-index: 0;
}

.a2t-flow-card {
  position: relative;
  z-index: 1;
  min-height: 410px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 28px 26px;
  border: 1px solid #dbeafe;
  border-top: 5px solid #2563eb;
  border-radius: 28px;
  background:
    radial-gradient(circle at 64% 22%, rgba(47, 123, 255, .12), transparent 22%),
    #ffffff;
  box-shadow: 0 24px 70px rgba(37, 99, 235, .10), 0 8px 24px rgba(15, 23, 42, .06);
  text-align: center;
}

.a2t-flow-card::before {
  content: "";
  position: absolute;
  width: 106px;
  height: 106px;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 28px;
  background-image: radial-gradient(rgba(37, 99, 235, .18) 1px, transparent 1px);
  background-size: 7px 7px;
  opacity: .7;
}

.a2t-flow-icon-tile {
  position: relative;
  z-index: 1;
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  border-radius: 23px;
  color: #fff;
  background: linear-gradient(145deg, #2f7bff 0%, #1d5ee9 48%, #083fbf 100%);
  box-shadow: 0 18px 38px rgba(37, 99, 235, .35), inset 0 1px 0 rgba(255,255,255,.32);
  font-size: 48px;
}

.a2t-flow-card h3 {
  margin: 34px 0 14px;
  color: #050816;
  font-size: clamp(24px, 1.8vw, 29px);
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: -.055em;
}

.a2t-flow-card p {
  max-width: 240px;
  margin: 0 auto;
  color: #475569;
  font-size: 18px;
  line-height: 1.46;
}

.a2t-flow-illustration {
  width: 100%;
  margin-top: auto;
  padding-top: 28px;
  color: #2f7bff;
}

.a2t-flow-illustration svg {
  display: block;
  width: 100%;
  height: 96px;
}

.a2t-flow-illustration :is(path, rect, circle) {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .5;
}

.a2t-flow-node {
  position: absolute;
  z-index: 3;
  top: 108px;
  right: -24px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 9px solid rgba(255,255,255,.96);
  background: #2563eb;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, .22), 0 10px 24px rgba(37, 99, 235, .26);
}

.a2t-flow-node::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: inherit;
  background: #fff;
  opacity: .92;
}

.a2t-flow-arrow {
  position: absolute;
  z-index: 2;
  top: 126px;
  left: calc(100% - 2px);
  width: calc(clamp(34px, 4.6vw, 72px) + 18px);
  height: 4px;
  border-radius: 999px;
  background: #2563eb;
  box-shadow: 0 0 18px rgba(47, 123, 255, .28);
}

.a2t-flow-arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -2px;
  width: 18px;
  height: 18px;
  border-top: 4px solid #2563eb;
  border-right: 4px solid #2563eb;
  transform: translateY(-50%) rotate(45deg);
  border-radius: 2px;
}

.a2t-flow-arrow-final {
  left: calc(100% - 20px);
  width: 86px;
}

@media (max-width: 1180px) {
  .a2t-process-flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .a2t-process-flow-grid::before,
  .a2t-flow-node,
  .a2t-flow-arrow {
    display: none;
  }
}

@media (max-width: 760px) {
  .a2t-process-flow-section {
    padding: 58px 0 68px;
  }

  .a2t-process-flow-shell {
    width: min(100% - 32px, 1320px);
  }

  .a2t-process-flow-head {
    margin-bottom: 34px;
  }

  .a2t-process-flow-eyebrow {
    margin-bottom: 24px;
    font-size: 12px;
    letter-spacing: .32em;
  }

  .a2t-process-flow-head h2 {
    font-size: clamp(38px, 13vw, 54px);
  }

  .a2t-process-flow-head p {
    margin-top: 16px;
    font-size: 17px;
  }

  .a2t-process-flow-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .a2t-flow-card {
    min-height: 382px;
    padding: 36px 24px 22px;
  }

  .a2t-flow-card:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -31px;
    width: 4px;
    height: 31px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: #2563eb;
    box-shadow: 0 0 18px rgba(47, 123, 255, .28);
  }

  .a2t-flow-card:not(:last-child) .a2t-flow-illustration::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -32px;
    width: 14px;
    height: 14px;
    border-right: 4px solid #2563eb;
    border-bottom: 4px solid #2563eb;
    transform: translateX(-50%) rotate(45deg);
    border-radius: 2px;
  }

  .a2t-flow-icon-tile {
    width: 84px;
    height: 84px;
    border-radius: 21px;
    font-size: 40px;
  }

  .a2t-flow-card h3 {
    margin-top: 28px;
    font-size: 27px;
  }

  .a2t-flow-card p {
    font-size: 17px;
  }
}
