.ia-flow {
  display: grid;
  gap: 18px;
  padding: 20px;
  background: linear-gradient(135deg, #fff 0%, #f8faff 100%);
  border: 1px solid #dbe4f0;
  border-radius: 14px;
}

.ia-flow-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
}

.ia-flow-head h2 {
  margin: 4px 0 0;
  font-size: 20px;
}

.ia-flow-head p,
.ia-section-help {
  margin: 0;
  color: #64748b;
  font-size: 13px;
}

.ia-eyebrow {
  color: #4f46e5;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .08em;
}

.ia-flow-steps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ia-flow-steps li {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 148px;
  padding: 14px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 11px;
}

.ia-flow-steps li:not(:last-child)::after {
  content: "›";
  position: absolute;
  top: 19px;
  right: -9px;
  z-index: 2;
  color: #94a3b8;
  font-size: 20px;
}

.ia-flow-steps li > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #4338ca;
  background: #eef2ff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
}

.ia-flow-steps div,
.ia-reason span {
  display: grid;
  gap: 5px;
}

.ia-flow-steps strong {
  color: #1e293b;
  font-size: 13px;
}

.ia-flow-steps small,
.ia-reason small,
.ia-cell-help,
.ia-metric-summary small {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  white-space: normal;
}

.ia-reason {
  align-items: start;
  gap: 12px;
}

.ia-reason b {
  color: #4338ca;
  font-variant-numeric: tabular-nums;
}

.ia-legacy {
  display: grid;
  gap: 4px;
}

.ia-legacy span {
  font-size: 13px;
}

.ia-section-help {
  margin: -5px 0 12px;
}

@media (max-width: 1280px) {
  .ia-flow-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ia-flow-steps li:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 700px) {
  .ia-flow-head {
    align-items: start;
    flex-direction: column;
  }

  .ia-flow-steps {
    grid-template-columns: 1fr;
  }

  .ia-flow-steps li {
    min-height: 0;
    grid-template-columns: auto 1fr;
  }
}
