/* "Better together" illustration: which channels contribute at which stage (.cj). A map, not a funnel.
 * Built on the shared .vz system. */
.cj__r {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  align-items: center;
  border-bottom: 1px solid var(--vz-line);
  min-height: 2.6rem;
}
.cj__r--head {
  min-height: 1.9rem;
}
.cj__r--all {
  border-bottom: 0;
  padding-top: 0.15rem;
}
.cj__name {
  padding-right: 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.2em;
  font-weight: 600;
  color: var(--headerColor);
}
.cj__cells {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
}
.cj__cells:not(.cj__cells--head):before {
  content: "";
  position: absolute;
  top: 50%;
  right: 12.5%;
  left: 12.5%;
  height: 2px;
  background-color: var(--vz-bar);
  transform: translateY(-50%);
}
/* A row's connecting line runs from its first to its last involved stage (a = first column, b = last). */
.cj__cells.cj--1-3:before { right: 37.5%; }
.cj__cells.cj--1-4:before { right: 12.5%; }
.cj__cells.cj--2-4:before { left: 37.5%; }
.cj__cells.cj--2-3:before { left: 37.5%; right: 37.5%; }
.cj__cells.cj--3-4:before { left: 62.5%; }
.cj__stage {
  text-align: center;
  font-size: 0.6875rem;
  line-height: 1.2em;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5b6b7d;
}
.cj__cell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.6rem;
}
.cj__dot {
  position: relative;
  display: inline-block;
  flex: none;
  border-radius: 50%;
  height: 0.95rem;
  width: 0.95rem;
}
.cj__dot--lead {
  background-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(67, 183, 255, 0.25);
}
.cj__dot--support {
  border: 2px solid var(--secondary);
  background-color: #fff;
  height: 0.8rem;
  width: 0.8rem;
}
.cj__all {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3.75rem;
  background: linear-gradient(90deg, #001f3f, #14406e);
  min-height: 1.9rem;
  padding: 0.25rem 0.75rem;
  text-align: center;
  font-size: 0.75rem;
  line-height: 1.2em;
  font-weight: 600;
  color: #fff;
}
.cj__legend {
  display: flex;
  justify-content: flex-end;
  gap: 1.1rem;
  margin-top: 0.85rem;
  font-size: 0.75rem;
  line-height: 1.2em;
  font-weight: 600;
  color: #5b6b7d;
}
.cj__legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
@media only screen and (max-width: 30rem) {
  .cj__r {
    grid-template-columns: 4.9rem minmax(0, 1fr);
  }
  .cj__name {
    font-size: 0.75rem;
    padding-right: 0.3rem;
  }
  .cj__stage {
    font-size: 0.5625rem;
    letter-spacing: 0.02em;
  }
  .cj__all {
    font-size: 0.6875rem;
    padding: 0.25rem 0.5rem;
  }
}

/* Dark mode */
html.dark-mode .cj__name {
  color: #fff;
}
html.dark-mode .cj__stage,
html.dark-mode .cj__legend {
  color: rgba(255, 255, 255, 0.68);
}
html.dark-mode .cj__dot--support {
  background-color: #08141e;
}
html.dark-mode .cj__all {
  background: linear-gradient(90deg, #0a2748, #14406e);
}
