.design-graphic {
  container-type: inline-size;
  width: 100%;
  max-width: 47rem;
  min-width: 0;
  justify-self: center;
  margin-bottom: 1.4rem;
}
.design-flow {
  --gap-y: clamp(.75rem, 2.8cqi, 1.25rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(.875rem, 4cqi, 1.75rem) minmax(0, 1fr);
  grid-template-rows: repeat(2, 1fr var(--gap-y)) 1fr;
  grid-template-areas:
    "systems wire1 database"
    ". . wire2"
    "communications wire3 workflows"
    "wire4 . ."
    "software wire5 reports";
  padding: 2% 2.65%;
  background: #f7f5ef;
  border-radius: 1rem;
  color: #1a2a44;
}
.flow-card {
  display: flex;
  align-items: center;
  gap: 1.8cqi;
  min-width: 0;
  min-height: 11.7cqi;
  padding: 1.4cqi 1.7cqi;
  background: #fff;
  border: 1px solid #dcd9d0;
  border-radius: clamp(7px, 1.5cqi, 13px);
  box-shadow: 0 2px 5px rgb(26 42 68 / 6%);
  font: 600 clamp(.875rem, 2.83cqi, 1.4rem)/1.12 Inter, Arial, sans-serif;
  letter-spacing: -.025em;
}
.flow-icon {
  flex: none;
  width: 7.5cqi;
  height: 7.5cqi;
  border-radius: 19%;
  background: #eef2f5;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.flow-icon .gold { stroke: #cca371; }
.flow-wire {
  position: relative;
  overflow: hidden;
  color: #476285;
}
.flow-wire.across { height: .95rem; align-self: center; }
.flow-wire.down { width: .95rem; justify-self: center; }
.flow-wire.reverse { transform: scaleX(-1); }
.wire-track { position: absolute; }
.across .wire-track { width: 100%; left: 0; top: calc(50% - 1px); border-top: 2px solid; }
.down .wire-track { height: 100%; top: 0; left: calc(50% - 1px); border-left: 2px solid; }
.wire-tip {
  position: absolute;
  width: .5rem;
  height: .5rem;
  opacity: 0;
  border-top: 2px solid;
  border-right: 2px solid;
}
.across .wire-tip { right: 1px; top: -1px; transform: translateY(-50%) rotate(45deg); transform-origin: 70% 30%; }
.down .wire-tip { bottom: 1px; left: -1px; transform: translateX(-50%) rotate(135deg); transform-origin: 60% 40%; }

@container (max-width: 31rem) {
  .design-flow { --gap-y: .6875rem; padding: .3rem .2rem; }
  .flow-card {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: .18rem;
    padding: .35rem clamp(.3rem, 1.7cqi, .65rem);
    font-size: clamp(.875rem, 3.7cqi, 1rem);
  }
  .flow-icon { width: 1.5rem; height: 1.5rem; }
}
@media (min-width: 72rem) {
  .design-graphic {
    width: calc(100% - 1.5rem);
    justify-self: start;
    margin-top: .875rem;
  }
}
