/* Source → parser → target architecture diagrams */
.cd {
  margin: 0 auto;
  max-width: 1040px;
  background:
    radial-gradient(circle at 1px 1px, #d5deea 1px, transparent 0) 0 0 / 18px 18px,
    #eef3f8;
  border: 1px solid #d0dae6;
  border-radius: 12px;
  padding: 16px 16px 18px;
  text-align: left;
}
.cd-title {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #475569;
  margin: 0 0 12px;
}
.cd-flow { display: flex; align-items: stretch; gap: 10px; }
.cd-group {
  flex: 1;
  min-width: 0;
  background: rgba(255,255,255,.88);
  border: 2px dashed #94a3b8;
  border-radius: 10px;
  padding: 12px 10px;
}
.cd-group.is-onprem { border-color: #64748b; background: #f8fafc; }
.cd-group.is-mx { border-color: #5b8ec4; background: #f3f8fd; }
.cd-group.is-gcp { border-color: #22c55e; background: #f0fdf4; }
.cd-group.is-snow { border-color: #29b5e8; background: #f0fbff; }
.cd-group.is-dbx { border-color: #ff3621; background: #fff6f4; }
.cd-group.is-targets { border-color: #76a5d4; background: #f7fbfe; }
.cd-group__head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #1e293b;
  margin-bottom: 10px;
}
.cd-group__head img {
  height: 22px;
  width: auto;
  max-width: 32px;
  object-fit: contain;
}
.cd-svcs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cd-svcs.cols-1 { grid-template-columns: 1fr; }
.cd-svc {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(15,23,42,.07);
  padding: 10px 8px 8px;
  text-align: center;
  text-decoration: none;
  color: inherit;
}
a.cd-svc { transition: border-color .2s, box-shadow .2s; }
a.cd-svc:hover { border-color: #76a5d4; box-shadow: 0 4px 12px rgba(15,23,42,.1); color: inherit; }
.cd-svc img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
  margin: 0 auto 6px;
}
.cd-svc b {
  display: block;
  font-size: .72rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}
.cd-svc small {
  display: block;
  font-size: .64rem;
  color: #64748b;
  margin-top: 2px;
  line-height: 1.3;
}
.cd-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 1.4rem;
  font-weight: 700;
  flex-shrink: 0;
  min-width: 22px;
}
.cd-note {
  text-align: center;
  margin: 18px auto 0;
  max-width: 660px;
  color: var(--ink3, #496A86);
  font-size: .9rem;
}
@media (max-width: 860px) {
  .cd-flow { flex-direction: column; }
  .cd-arrow { transform: rotate(90deg); min-height: 22px; }
}
