/* Bespoke Software illustration: connected business systems (.sw). Built on the shared .vz system. */
.sw__body {
  padding-bottom: 1.4rem;
}
.sw__map {
  position: relative;
  aspect-ratio: 100 / 62;
}
.sw__lines {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
}
.sw__lines path {
  fill: none;
  stroke: var(--secondary);
  stroke-width: 2;
  stroke-dasharray: 4 5;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.sw__api {
  position: absolute;
  border: 1px solid var(--vz-line);
  border-radius: 3.75rem;
  background-color: #fff;
  padding: 0.1rem 0.4rem;
  font-size: 0.5625rem;
  line-height: 1.3em;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--vz-text-blue);
  transform: translate(-50%, -50%);
}
.sw__api--a {
  top: 35.5%;
  left: 33.5%;
}
.sw__api--b {
  top: 35.5%;
  left: 66.5%;
}
.sw__api--c {
  top: 64.5%;
  left: 33.5%;
}
.sw__api--d {
  top: 64.5%;
  left: 66.5%;
}
.sw__hub {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, #12406e, var(--primary));
  padding: 0.6rem 0.5rem;
  width: 29%;
  text-align: center;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 0.4rem rgba(67, 183, 255, 0.22), 0 0.75rem 1.5rem rgba(0, 31, 63, 0.25);
}
.sw__hub b {
  text-transform: uppercase;
  font-family: var(--headerFont);
  font-size: 0.8125rem;
  line-height: 1.15em;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
}
.sw__hub small {
  font-size: 0.5625rem;
  line-height: 1.25em;
  color: rgba(255, 255, 255, 0.78);
}
.sw__node {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--vz-line);
  border-radius: 0.85rem;
  background-color: #fff;
  padding: 0.45rem 0.55rem;
  width: 32%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0.5rem 1.1rem rgba(0, 31, 63, 0.08);
}
.sw__node--inv {
  top: 21%;
  left: 17%;
}
.sw__node--ord {
  top: 21%;
  left: 83%;
}
.sw__node--cus {
  top: 79%;
  left: 17%;
}
.sw__node--acc {
  top: 79%;
  left: 83%;
}
.sw__icon {
  display: grid;
  flex: none;
  place-items: center;
  border-radius: 0.5rem;
  background-color: var(--primary);
  height: 1.6rem;
  width: 1.6rem;
  color: #fff;
}
.sw__icon svg {
  height: 0.9rem;
  width: 0.9rem;
}
.sw__text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.sw__text b {
  font-size: 0.75rem;
  line-height: 1.15em;
  font-weight: 700;
  color: var(--headerColor);
}
.sw__text small {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.625rem;
  line-height: 1.2em;
  color: #5b6b7d;
}
.sw__text i {
  display: block;
  border-radius: 50%;
  background-color: var(--secondary);
  height: 0.4rem;
  width: 0.4rem;
}

/* Floating cards */
.sw__status,
.sw__flow {
  padding: 0.85rem 0.95rem 0.95rem;
}
.sw__status ul,
.sw__flow ol {
  display: grid;
  gap: 0.5rem;
  margin: 0.65rem 0 0;
  padding: 0;
  list-style: none;
}
.sw__status li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.2em;
  font-weight: 600;
  color: var(--headerColor);
}
.sw__status .vz__pill {
  font-style: normal;
}
.sw__flow .vz__label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.sw__flow .vz__label svg {
  flex: none;
  color: var(--vz-text-blue);
}
.sw__flow ol {
  counter-reset: flow;
}
.sw__flow li {
  position: relative;
  counter-increment: flow;
  margin: 0;
  border: 1px solid var(--vz-line);
  border-radius: 0.65rem;
  background-color: var(--vz-soft);
  padding: 0.4rem 0.6rem 0.4rem 1.9rem;
  font-size: 0.75rem;
  line-height: 1.2em;
  font-weight: 600;
  color: var(--headerColor);
}
.sw__flow li:before {
  content: counter(flow);
  position: absolute;
  top: 50%;
  left: 0.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background-color: var(--primary);
  height: 1rem;
  width: 1rem;
  font-size: 0.625rem;
  line-height: 1em;
  font-weight: 700;
  color: #fff;
  transform: translateY(-50%);
}
@media only screen and (min-width: 64rem) {
  .sw .vz__stage {
    padding-bottom: 7.25rem;
  }
  .sw__status {
    bottom: 0;
    left: -1.5rem;
    width: 13.5rem;
  }
  .sw__flow {
    right: -1.5rem;
    bottom: 1.25rem;
    width: 14.5rem;
  }
}

/* Phones and tablets: the two cards sit side by side over the lower edge of the map. */
@media only screen and (max-width: 63.999rem) {
  .sw .vz__stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 0 0.65rem;
    padding: 0 0.25rem;
  }
  .sw .vz__card {
    grid-column: 1 / -1;
  }
  .sw__status,
  .sw__flow {
    position: relative;
    z-index: 2;
    margin-top: -0.9rem;
    padding: 0.7rem 0.7rem 0.8rem;
  }
  .sw__status {
    margin-left: 0.4rem;
  }
  .sw__flow {
    margin-right: 0.4rem;
  }
  .sw__status li,
  .sw__flow li {
    font-size: 0.6875rem;
  }
  .sw__status .vz__pill {
    padding: 0.15rem 0.4rem;
    font-size: 0.5625rem;
    letter-spacing: 0.03em;
  }
}
@media only screen and (max-width: 30rem) {
  .sw .vz__body {
    padding: 0.8rem 0.8rem 1.5rem;
  }
  .sw__node {
    gap: 0.3rem;
    padding: 0.35rem 0.4rem;
  }
  .sw__icon {
    height: 1.3rem;
    width: 1.3rem;
  }
  .sw__text b {
    font-size: 0.6875rem;
  }
  .sw__text small {
    font-size: 0.5625rem;
  }
  .sw__hub b {
    font-size: 0.6875rem;
  }
  .sw__hub small {
    display: none;
  }
}

/* Dark mode */
html.dark-mode .sw__api,
html.dark-mode .sw__node {
  border-color: rgba(255, 255, 255, 0.12);
  background-color: #0d1d2b;
}
html.dark-mode .sw__node {
  box-shadow: none;
}
html.dark-mode .sw__icon {
  background-color: var(--secondary);
  color: var(--primary);
}
html.dark-mode .sw__text b,
html.dark-mode .sw__status li,
html.dark-mode .sw__flow li {
  color: #fff;
}
html.dark-mode .sw__text small {
  color: rgba(255, 255, 255, 0.68);
}
html.dark-mode .sw__flow li:before {
  background-color: var(--secondary);
  color: var(--primary);
}
