/* ---------- How AI works / flow ---------- */
.flow-wrap {
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  background: var(--bg-soft);
}

.flow-steps {
  display: flex;
  align-items: stretch;
  gap: 0;
  flex-wrap: wrap;
}

.flow-step {
  flex: 1;
  min-width: 200px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}

.flow-step .n {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--syndent-1);
  margin-bottom: 10px;
}

.flow-step h4 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 600;
}

.flow-step p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.flow-arrow {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 1.4rem;
  padding: 0 6px;
  flex: none;
}

.flow-pipeline {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px dashed var(--border-strong);
}

.flow-pipeline .lbl {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.pipe {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pipe .node {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
}

.pipe .arr {
  color: var(--syndent-1);
  font-weight: 700;
}
