.position {
  position: relative;
  padding: 36px 0 28px;
  background:
    radial-gradient(ellipse 36% 70% at 0% 40%, rgba(214, 196, 255, 0.28), transparent 70%),
    linear-gradient(180deg, #f7f4ff 0%, #fbfaff 100%);
}

.position .eyebrow {
  display: none;
}

.position h2 {
  max-width: 11em;
  font-size: clamp(1.95rem, 8vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.position__accent {
  background: linear-gradient(100deg, #6d46f5 0%, #a04cf0 46%, #e23cad 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.position__support {
  max-width: 28em;
  margin-top: 16px;
  color: var(--ink-muted);
  font-size: 1.05rem;
  line-height: 1.45;
}

.position__flow {
  --cue-icon: 56px;
  --cue-gap: 22px;
  --link-inset: 2px;
  --col: calc((100% - (var(--cue-gap) * 2)) / 3);
  position: relative;
  width: 100%;
  margin-top: 32px;
}

.position__links {
  display: none;
  position: absolute;
  z-index: 0;
  inset: 0;
  color: #c3b0f6;
  pointer-events: none;
}

.position__link {
  position: absolute;
  top: 0;
  height: var(--cue-icon);
  width: calc(var(--col) + var(--cue-gap) - var(--cue-icon) - (var(--link-inset) * 2));
}

.position__link:nth-child(1) {
  left: calc((var(--col) / 2) + (var(--cue-icon) / 2) + var(--link-inset));
}

.position__link:nth-child(2) {
  left: calc(var(--col) + var(--cue-gap) + (var(--col) / 2) + (var(--cue-icon) / 2) + var(--link-inset));
}

.position__wave {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 56px;
  overflow: visible;
  transform: translateY(-50%);
}

.position__connector-line {
  vector-effect: non-scaling-stroke;
}

.position__node {
  position: absolute;
  top: 50%;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  transform: translateY(-50%);
}

.position__arrow {
  position: absolute;
  top: 24%;
  left: 50%;
  width: 15px;
  height: 8px;
  transform: translate(-50%, -50%);
}

.position__badge {
  fill: #f4efff;
}

.position__cues {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--cue-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.position__cues li {
  position: relative;
  display: grid;
  grid-template-columns: var(--cue-icon) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  min-width: 0;
  color: #2a2633;
  text-align: left;
}

.position__cues li:not(:last-child)::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: calc(var(--cue-icon) / 2);
  top: var(--cue-icon);
  width: 2px;
  height: calc(100% - var(--cue-icon) + var(--cue-gap));
  border-radius: 999px;
  background: #c3b0f6;
  transform: translateX(-50%);
  transform-origin: top center;
}

.position__cue-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.position__cue-copy strong {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.position__cue-copy span {
  color: #6b6578;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.45;
}

.position__cue-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: var(--cue-icon);
  height: var(--cue-icon);
  overflow: hidden;
  border-radius: 50%;
  background: transparent;
}

.position__cue-icon img {
  width: 122%;
  height: auto;
  max-width: none;
  aspect-ratio: 1;
  object-fit: cover;
}

.position__close {
  margin: 28px 0 0;
  color: var(--ink);
}

.position__system {
  display: block;
  max-width: 16em;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 6.6vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.position__system .position__accent {
  display: block;
}

.position__note {
  display: block;
  margin-top: 10px;
  color: #6b6578;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.4;
}

.position__cta {
  margin: 16px 0 0;
  font-size: 1.05rem;
  line-height: 1.4;
}

.position__cta .inline-cta {
  color: #6d46f5;
  font-weight: 700;
  text-decoration-color: currentColor;
}

@media (prefers-reduced-motion: no-preference) {
  .position__cues li {
    animation: workflow-card-in 480ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .position__cues li:nth-child(1) { animation-delay: 80ms; }
  .position__cues li:nth-child(2) { animation-delay: 280ms; }
  .position__cues li:nth-child(3) { animation-delay: 480ms; }

  .position__cues li:not(:last-child)::before {
    transform: translateX(-50%) scaleY(0);
    animation: position-rail 520ms ease forwards;
  }

  .position__cues li:nth-child(1)::before { animation-delay: 220ms; }
  .position__cues li:nth-child(2)::before { animation-delay: 420ms; }

  .position__connector-line {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: position-draw 700ms ease forwards;
  }

  .position__link:nth-child(1) .position__connector-line { animation-delay: 220ms; }
  .position__link:nth-child(2) .position__connector-line { animation-delay: 420ms; }

  .position__node,
  .position__arrow {
    opacity: 0;
    animation: workflow-node-in 360ms ease forwards;
  }

  .position__link:nth-child(1) .position__node,
  .position__link:nth-child(1) .position__arrow { animation-delay: 420ms; }

  .position__link:nth-child(2) .position__node,
  .position__link:nth-child(2) .position__arrow { animation-delay: 620ms; }
}

@keyframes position-rail {
  to { transform: translateX(-50%) scaleY(1); }
}

@keyframes position-draw {
  to { stroke-dashoffset: 0; }
}

@media (min-width: 600px) {
  .position__flow {
    --cue-icon: 72px;
    --cue-gap: 20px;
    margin-top: 40px;
  }

  .position__links {
    display: block;
  }

  .position__cues {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .position__cues li {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
    text-align: center;
  }

  .position__cues li:not(:last-child)::before {
    content: none;
  }

  .position__cue-copy {
    justify-items: center;
  }

  .position__cue-copy strong,
  .position__cue-copy span {
    max-width: 16em;
  }
}

@media (min-width: 768px) {
  .position {
    padding: 56px 0 40px;
  }

  .position h2 {
    max-width: 11em;
    font-size: clamp(2.4rem, 4.4vw, 3.1rem);
  }

  .position__support {
    margin-top: 18px;
    font-size: 1.12rem;
  }

  .position__flow {
    --cue-icon: 80px;
    margin-top: 44px;
  }

  .position__cue-copy strong {
    font-size: 1.08rem;
  }

  .position__system {
    font-size: clamp(2rem, 3vw, 2.45rem);
  }
}

@media (min-width: 1024px) {
  .position .scene-intro {
    text-align: center;
  }

  .position h2 {
    max-width: 10em;
    margin-inline: auto;
  }

  .position__support {
    margin-inline: auto;
  }

  .position__resolve {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(28px, 4vw, 72px);
    margin-top: 40px;
  }

  .position__resolve-copy {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 34rem;
  }

  .position__resolve .position__close {
    margin-top: 0;
  }

  .position__resolve .hero__connect {
    display: block;
    flex: 0 1 28rem;
    width: min(100%, 28rem);
    margin: 0;
    max-width: 28rem;
  }
}

[data-theme="dark"] .position {
  background:
    radial-gradient(ellipse 36% 70% at 0% 40%, rgba(120, 80, 190, 0.18), transparent 70%),
    #16111f;
}

[data-theme="dark"] .position__accent {
  background: linear-gradient(100deg, #b9a0ff 0%, #d08cf0 46%, #f0a0d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

[data-theme="dark"] .position__badge {
  fill: #241c33;
}

[data-theme="dark"] .position__cues li,
[data-theme="dark"] .position__cue-copy strong {
  color: #f4efff;
}

[data-theme="dark"] .position__cue-copy span {
  color: #c5bdd4;
}

[data-theme="dark"] .position__cues li:not(:last-child)::before {
  background: #b9a0e8;
}

[data-theme="dark"] .position__cue-icon {
  background: transparent;
}

[data-theme="dark"] .position__links {
  color: #b9a0e8;
}

[data-theme="dark"] .position__note {
  color: #c5bdd4;
}

[data-theme="dark"] .position__cta .inline-cta {
  color: #c4a6ff;
}
