/* AI-agent workflow: a conceptual, non-interactive explanation. */
.ws-ai-flow {
  --ws-flow-gap: clamp(28px, 4vw, 58px);
  width: min(calc(100% - 104px), 1320px);
  margin-inline: auto;
  padding-block: clamp(78px, 9vw, 125px);
  border-top: 1px solid #e5e7ef;
}
.ws-ai-flow__head { max-width: 900px; }
.ws-ai-flow__eyebrow {
  display: block;
  margin-block-end: 18px;
  color: #7029d7;
  font-family: var(--font-h, sans-serif);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.ws-ai-flow__head h2 {
  max-width: 21ch;
  color: #101115;
  font-family: var(--font-h, sans-serif);
  font-size: clamp(2.3rem, 3.8vw, 4.15rem);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.ws-ai-flow__head > p {
  max-width: 700px;
  margin-block-start: 18px;
  color: #505a71;
  font-size: clamp(1.04rem, 1.25vw, 1.18rem);
  line-height: 1.65;
}
.ws-ai-flow__head > .ws-ai-flow__example { margin-block-start: 14px; color: #5a6273; font-size: 1rem; line-height: 1.5; }
.ws-ai-flow__track {
  display: flex;
  align-items: center;
  gap: var(--ws-flow-gap);
  margin: clamp(48px, 6vw, 82px) 0 0;
  padding: 0;
  list-style: none;
}
.ws-ai-flow__step {
  position: relative;
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  min-height: 194px;
  padding: 28px clamp(20px, 2.5vw, 38px);
  border: 1px solid #e1e4ee;
  border-radius: 22px;
  background: #fbfbfe;
  text-align: start;
}
.ws-ai-flow__step--agent {
  flex-grow: 1.1;
  min-height: 230px;
  border-color: #c7b8ee;
  background: linear-gradient(145deg, #faf9ff 5%, #f1edff 100%);
  box-shadow: 0 12px 38px rgba(74, 55, 143, .09);
}
.ws-ai-flow__step h3 {
  margin: 0;
  color: #14151e;
  font-family: var(--font-h, sans-serif);
  font-size: clamp(1.27rem, 1.8vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}
.ws-ai-flow__step p {
  margin-block-start: 9px;
  color: #4b556c;
  font-size: 1rem;
  line-height: 1.5;
}
.ws-ai-flow__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-block-end: 19px;
  color: #30365b;
}
.ws-ai-flow__icon svg { display: block; width: 100%; height: 100%; }
.ws-ai-flow__icon.material-symbols-rounded, .ws-ai-flow__icon .material-symbols-rounded { font-size: 36px; }
.ws-ai-flow__step--agent .ws-ai-flow__icon { color: #6c2de4; }
.ws-ai-flow__step:not(:last-child)::after {
  position: absolute;
  z-index: 1;
  inset-inline-start: 100%;
  inset-block-start: 50%;
  width: var(--ws-flow-gap);
  height: 1px;
  background: #9d8bda;
  content: '';
}
.ws-ai-flow__step:not(:last-child)::before {
  position: absolute;
  z-index: 2;
  inset-inline-start: calc(100% + var(--ws-flow-gap) - 7px);
  inset-block-start: calc(50% - 3px);
  width: 7px;
  height: 7px;
  border-block-start: 1px solid #7550c5;
  border-inline-end: 1px solid #7550c5;
  transform: rotate(45deg);
  content: '';
}
[dir="rtl"] .ws-ai-flow__step:not(:last-child)::before { transform: rotate(-45deg); }
.ws-ai-flow__caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-block-start: 45px;
  color: #414961;
  font-size: 1rem;
  line-height: 1.5;
}
.ws-ai-flow__caption > :is(span,p) { margin: 0; color: #161725; font-size: 1rem; font-weight: 700; }
.ws-ai-flow__systems { display: flex; flex-wrap: wrap; gap: 10px 0; margin: 0; padding: 0; list-style: none; }
.ws-ai-flow__systems li { padding-inline: 16px; color: #414961; font-size: 1rem; line-height: 1.5; }
.ws-ai-flow__systems li + li { border-inline-start: 1px solid #cfd3e0; }
.ws-ai-flow__systems li:first-child { padding-inline-start: 0; }
.ws-ai-flow__disclosure { max-width: 760px; margin-block-start: 28px; border-top: 1px solid #e1e4ee; border-bottom: 1px solid #e1e4ee; }
.ws-ai-flow__disclosure summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 58px; padding-block: 12px; color: #242536; font-weight: 700; cursor: pointer; list-style: none; transition: color .2s ease; }
.ws-ai-flow__disclosure summary::-webkit-details-marker { display: none; }
.ws-ai-flow__disclosure summary::after { flex: none; content: '+'; color: #7029d7; font-size: 1.4rem; font-weight: 400; }
.ws-ai-flow__disclosure[open] summary::after { content: '−'; }
.ws-ai-flow__disclosure summary:hover { color: #7029d7; }
.ws-ai-flow__disclosure summary:focus-visible { outline: 3px solid #8139ee; outline-offset: 4px; }
.ws-ai-flow__disclosure p { max-width: 700px; padding-block: 0 20px; color: #4b556c; font-size: 1rem; line-height: 1.65; }
[lang="he"] .ws-ai-flow :is(h2,h3), [lang="he"] .ws-ai-flow__eyebrow { font-family: 'Heebo', sans-serif; letter-spacing: -.02em; }

@media (max-width: 1050px) {
  .ws-ai-flow { width: calc(100% - 64px); }
  .ws-ai-flow__step { padding-inline: 22px; }
}
@media (max-width: 768px) {
  .ws-ai-flow { --ws-flow-gap: 28px; width: calc(100% - 40px); padding-block: 72px; }
  .ws-ai-flow__head h2 { font-size: clamp(2.1rem, 8vw, 3.3rem); line-height: 1.12; }
  .ws-ai-flow__track { flex-direction: column; align-items: stretch; gap: var(--ws-flow-gap); margin-block-start: 38px; }
  .ws-ai-flow__step, .ws-ai-flow__step--agent { flex: none; min-height: 0; padding: 22px 24px; }
  .ws-ai-flow__icon { width: 34px; height: 34px; margin-block-end: 12px; }
  .ws-ai-flow__step:not(:last-child)::after { inset-inline-start: 50%; inset-block-start: 100%; width: 1px; height: var(--ws-flow-gap); }
  .ws-ai-flow__step:not(:last-child)::before, [dir="rtl"] .ws-ai-flow__step:not(:last-child)::before {
    inset-inline-start: calc(50% - 3px);
    inset-block-start: calc(100% + var(--ws-flow-gap) - 7px);
    border: 0;
    border-right: 1px solid #7550c5;
    border-bottom: 1px solid #7550c5;
    transform: rotate(45deg);
  }
  .ws-ai-flow__caption { display: block; margin-block-start: 32px; }
  .ws-ai-flow__systems { margin-block-start: 10px; }
  .ws-ai-flow__systems li { padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .ws-ai-flow *, .ws-ai-flow *::before, .ws-ai-flow *::after { animation: none !important; transition: none !important; }
}

/* Reconstruct the supplied centered glass workflow rather than flat UI cards. */
.ws-ai-flow { position: relative; isolation: isolate; padding-block: 76px 60px; }
.ws-ai-flow::after { content: ''; position: absolute; z-index: -1; inset-inline: -5%; bottom: 0; height: 180px; background: url('/assets/cta-wave.webp') center 70% / cover no-repeat; opacity: .44; mask-image: linear-gradient(transparent,#000); pointer-events: none; }
.ws-ai-flow__head { max-width: none; text-align: center; }
.ws-ai-flow__eyebrow { display: flex; align-items: center; justify-content: center; gap: 18px; }
.ws-ai-flow__eyebrow::before,.ws-ai-flow__eyebrow::after { content:''; width: 80px; height: 1px; background: linear-gradient(90deg,transparent,#b49de9); }
.ws-ai-flow__eyebrow::after { transform: scaleX(-1); }
.ws-ai-flow__head h2 { max-width: none; font-size: clamp(2rem,3.7vw,3.6rem); text-wrap: balance; }
.ws-ai-flow__head > p { max-width: 950px; margin-inline: auto; }
.ws-ai-flow__track { --ws-flow-gap: clamp(28px,6vw,100px); margin-top: 58px; }
.ws-ai-flow__step { align-items: center; text-align: center; min-height: 206px; padding: 25px 18px; border-radius: 38px; border-color: #e4e5f2; background: linear-gradient(140deg,#fff 5%,#f4f4fb 65%,#e8edf9); box-shadow: inset 0 2px 5px #fff, inset 0 -3px 6px #d9e0f0, 0 18px 25px -16px #b2b9d2; }
.ws-ai-flow__step--agent { min-height: 270px; border-color: #b798ed; background: radial-gradient(ellipse at 70% 0%,#c8b0f4aa,transparent 70%),linear-gradient(145deg,#fcfaff,#e5d8fa 72%,#c5a5ec); box-shadow: inset 0 3px 4px #fff, inset 0 -3px 5px #ad82e8,0 22px 35px -15px #b4a0df; }
.ws-ai-flow__step--agent::after { display:block; }
.ws-ai-flow__step { transition: transform 350ms ease,box-shadow 350ms ease; }
.ws-ai-flow__step:hover { transform: translateY(-4px); }
.ws-ai-flow__step h3 { font-size: clamp(1.15rem,2vw,1.8rem); }
.ws-ai-flow__icon { width: 48px; height: 48px; margin-bottom: 15px; }
.ws-ai-flow__step--agent .ws-ai-flow__icon { width: 64px; height: 64px; color: #7526db; }
.ws-ai-flow__step:not(:last-child)::after { height: 28px; margin-top: -14px; background: linear-gradient(0deg,#d9c3f355,#bf95ed88,#eee7fc44); box-shadow: inset 0 1px 2px #fff,0 6px 15px #d7c5ef55; }
.ws-ai-flow__step:not(:last-child)::before { height: 11px; width:11px; top: calc(50% - 5px); border-width: 2px; }
.ws-ai-flow__caption { justify-content:center; margin-top: 48px; }
.ws-ai-flow__example { text-align:center; font-size: .85rem; color:#5a6273; margin-top:24px; }
.ws-ai-flow__disclosure { margin-inline:auto; }
@media (max-width:768px) {
 .ws-ai-flow { padding-block:56px; }
 .ws-ai-flow__head h2 { font-size:clamp(1.9rem,7.5vw,2.8rem); }
 .ws-ai-flow__track { --ws-flow-gap:32px; gap:32px; margin-top:35px; }
 .ws-ai-flow__step { min-height:175px; }
 .ws-ai-flow__step--agent { min-height:215px; }
 .ws-ai-flow__step:not(:last-child)::after { width:20px;height:32px; margin-top:0; margin-inline-start:-10px; }
 .ws-ai-flow__step:not(:last-child)::before { top:calc(100% + 20px); }
 .ws-ai-flow__caption { text-align:center; }
 .ws-ai-flow__systems { justify-content:center; }
}
@media(prefers-reduced-motion:reduce) { .ws-ai-flow__step:hover { transform:none; } }

.ws-ai-flow__step--agent { background-image:url('/assets/ai-agent-ribbon.svg'),radial-gradient(ellipse at 70% 0%,#c8b0f4aa,transparent 70%),linear-gradient(145deg,#fcfaff,#e5d8fa 72%,#c5a5ec);background-size:100% 100%;background-repeat:no-repeat; }
.ws-ai-flow__systems li { display:flex;align-items:center;gap:12px; }
.ws-ai-flow__systems .material-symbols-rounded { font-size:30px;color:#6731c4;font-variation-settings:'FILL' 0,'wght' 300; }
