.wf-journeys {
  overflow: hidden;
  padding: 96px 0;
  background:
    radial-gradient(circle at 8% 18%, rgba(45, 232, 137, .12), transparent 25%),
    radial-gradient(circle at 92% 62%, rgba(93, 63, 224, .18), transparent 29%),
    #121026;
  color: #fff;
}
.wf-journeys * { box-sizing: border-box; }
.wf-journeys h2, .wf-journeys h3, .wf-journeys h4 { color: #fff; }
.wf-journeys-head {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.wf-journeys-head .eyebrow { justify-content: center; color: #69edab; }
.wf-journeys-head h2 {
  margin-top: 16px;
  font-size: clamp(36px, 4.6vw, 54px);
  line-height: 1.04;
  letter-spacing: -.035em;
}
.wf-journeys-head p {
  max-width: 720px;
  margin: 18px auto 0;
  color: #bcb8d4;
  font-size: 17px;
  line-height: 1.68;
}
.wf-channel-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.wf-channel-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: #eeecf8;
  font-size: 12px;
  font-weight: 800;
}
.wf-channel-row .msym { color: #69edab; font-size: 18px; }
.wf-map {
  position: relative;
  isolation: isolate;
  max-width: 1080px;
  margin: 52px auto 0;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 18px;
  background: rgba(255, 255, 255, .055);
  box-shadow: 0 30px 75px rgba(0, 0, 0, .28);
  backdrop-filter: blur(14px);
}
.wf-map::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  opacity: .15;
  background-image:
    linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 28px 28px;
  content: "";
}
.wf-map-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}
.wf-map-top strong { font: 800 15px Poppins, sans-serif; }
.wf-map-top span {
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(45, 232, 137, .13);
  color: #69edab;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
}
.wf-map-main {
  display: grid;
  grid-template-columns: 150px 34px 150px 34px 160px 34px minmax(190px, 1fr);
  align-items: center;
}
.wf-map-arrow {
  position: relative;
  height: 2px;
  background: #6550c8;
}
.wf-map-arrow::after {
  position: absolute;
  top: 50%;
  right: -2px;
  width: 7px;
  height: 7px;
  border-top: 2px solid #8c78e8;
  border-right: 2px solid #8c78e8;
  content: "";
  transform: translateY(-50%) rotate(45deg);
}
.wf-node {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 11px;
  background: #211d3c;
}
.wf-node-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(45, 232, 137, .12);
  color: #69edab;
}
.wf-node-icon .msym { font-size: 19px; }
.wf-node small {
  display: block;
  margin-top: 10px;
  color: #8f89ad;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.wf-node b {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-size: 12px;
  line-height: 1.25;
}
.wf-node em {
  display: block;
  margin-top: 5px;
  color: #aaa5c3;
  font-size: 9px;
  font-style: normal;
  line-height: 1.35;
}
.wf-node.is-decision .wf-node-icon { background: rgba(246, 184, 83, .14); color: #f6c66f; }
.wf-node.is-email .wf-node-icon { background: rgba(91, 121, 255, .15); color: #92a5ff; }
.wf-branches {
  position: relative;
  display: grid;
  gap: 10px;
}
.wf-branch {
  display: grid;
  grid-template-columns: 39px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
}
.wf-branch > strong {
  color: #72eeb1;
  font-size: 8px;
  font-weight: 900;
  text-align: right;
  text-transform: uppercase;
}
.wf-branch.is-no > strong { color: #f5c56d; }
.wf-branch-track {
  display: flex;
  align-items: center;
  min-width: 0;
}
.wf-touch {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  padding: 8px 9px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: #292348;
  color: #f5f3fb;
  font-size: 8px;
  font-weight: 900;
  white-space: nowrap;
}
.wf-touch .msym { color: #86efbb; font-size: 14px; }
.wf-mini-arrow {
  width: 17px;
  height: 1px;
  flex: 0 0 17px;
  background: #6550c8;
}
.wf-map-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  padding: 13px 15px;
  border-left: 3px solid #2de889;
  border-radius: 8px;
  background: rgba(45, 232, 137, .075);
  color: #c8c4db;
  font-size: 12px;
  line-height: 1.5;
}
.wf-map-note .msym { flex: none; color: #69edab; font-size: 20px; }
.wf-usecases-head {
  max-width: 720px;
  margin: 76px 0 30px;
}
.wf-usecases-head h3 {
  font-size: clamp(29px, 3vw, 38px);
  line-height: 1.1;
  letter-spacing: -.025em;
}
.wf-usecases-head p { margin-top: 12px; color: #b7b2cd; font-size: 15px; line-height: 1.65; }
.wf-usecases {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.wf-case {
  min-height: 218px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  background: rgba(255,255,255,.055);
  transition: border-color .2s ease, transform .25s cubic-bezier(.22,1,.36,1), background .2s ease;
}
.wf-case:hover {
  border-color: rgba(105, 237, 171, .45);
  background: rgba(255,255,255,.08);
  transform: translateY(-4px);
}
.wf-case-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #2de889;
  color: #17162b;
}
.wf-case-icon .msym { font-size: 23px; }
.wf-case h4 { margin-top: 17px; font-size: 15px; letter-spacing: -.01em; }
.wf-case p { margin-top: 7px; color: #b9b5cd; font-size: 12px; line-height: 1.55; }
.wf-case-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 14px;
}
.wf-case-flow span {
  padding: 4px 6px;
  border-radius: 5px;
  background: rgba(111, 83, 222, .22);
  color: #ded8fb;
  font-size: 7.5px;
  font-weight: 900;
}
.wf-rules {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 48px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 12px;
  background: rgba(255,255,255,.11);
}
.wf-rule {
  padding: 20px;
  background: #1c1933;
}
.wf-rule .msym { color: #69edab; font-size: 23px; }
.wf-rule b { display: block; margin-top: 10px; color: #fff; font-size: 12px; }
.wf-rule p { margin-top: 5px; color: #aaa6bf; font-size: 10px; line-height: 1.5; }

@media (max-width: 1050px) {
  .wf-map { max-width: 760px; }
  .wf-map-main { grid-template-columns: 1fr 26px 1fr 26px 1fr; }
  .wf-map-main > .wf-map-arrow:nth-of-type(3), .wf-branches { grid-column: 1 / -1; }
  .wf-map-main > .wf-map-arrow:nth-of-type(3) {
    width: 2px;
    height: 24px;
    margin: 0 auto;
    background: #6550c8;
  }
  .wf-map-main > .wf-map-arrow:nth-of-type(3)::after {
    top: auto;
    right: auto;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%) rotate(135deg);
  }
  .wf-branches { margin-top: 10px; }
  .wf-usecases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .wf-journeys { padding: 76px 0; }
  .wf-journeys .wrap { padding-inline: 18px; }
  .wf-map { margin-top: 38px; padding: 16px; }
  .wf-map-top { align-items: flex-start; flex-direction: column; }
  .wf-map-main { grid-template-columns: 1fr; }
  .wf-map-main > .wf-map-arrow {
    width: 2px;
    height: 22px;
    margin: 0 auto;
  }
  .wf-map-main > .wf-map-arrow::after {
    top: auto;
    right: auto;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%) rotate(135deg);
  }
  .wf-map-main > .wf-map-arrow:nth-of-type(3) { grid-column: auto; }
  .wf-branch { grid-template-columns: 1fr; }
  .wf-branch > strong { text-align: left; }
  .wf-branch-track { flex-wrap: wrap; gap: 4px; }
  .wf-mini-arrow { display: none; }
  .wf-usecases { grid-template-columns: 1fr; }
  .wf-case { min-height: 0; }
  .wf-rules { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 440px) {
  .wf-channel-row span { font-size: 10px; }
  .wf-rules { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .wf-journeys *, .wf-journeys *::before, .wf-journeys *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
