/* Article: why AI initiatives fail - page-specific styles. */
.s-reality .sec-head p {
  max-width: none;
  font-size: clamp(20px,2vw,26px);
  line-height: 1.4;
}
.stats li::before {
  content: "";
  position: absolute;
  top: -1px;
  inset-inline-start: 0;
  width: 70%;
  height: var(--s-half);
  background: linear-gradient(var(--to-end), var(--c),transparent);
  transition: width .8s var(--ease-out);
}
.stats li::after {
  content: "";
  position: absolute;
  top: -1px;
  inset-inline-start: 0;
  width: 0;
  height: var(--s-half);
  background: var(--c);
  transition: width .8s var(--ease-out);
}
.stats li:hover::before,
.stats li:hover::after {
  width: 100%;
}
.cases li {
  overflow: hidden;
}
.cases li::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 70%;
  height: var(--s-half);
  background: linear-gradient(var(--to-end), var(--c),transparent);
  transition: width .8s var(--ease-out);
}
.cases li::after {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 0;
  height: var(--s-half);
  background: var(--c);
  transition: width .8s var(--ease-out);
}
.cases li:hover::before,
.cases li:hover::after {
  width: 100%;
}
@media (prefers-reduced-motion:reduce) {
  .stats li::before,
  .stats li::after,
  .cases li::before,
  .cases li::after {
    transition: none;
  }
}
.s-chron {
  --wave-fill: var(--ink);
  --wave-tint: var(--c2);
  background: linear-gradient(to bottom, var(--ink), rgb(var(--navy-rgb) / 0) 260px), radial-gradient(60% 75% at 15% 90%, rgb(var(--c4-rgb) / .16),transparent 70%), radial-gradient(60% 70% at 85% 35%, rgb(var(--accent-rgb) / .28),transparent 70%), var(--ink);
  color: #fff;
  padding: var(--s6) 0 var(--s12);
}
:where(:root[dir="ltr"]) .s-chron {
  background: linear-gradient(to bottom, var(--ink), rgb(var(--navy-rgb) / 0) 260px), radial-gradient(60% 75% at 85% 90%, rgb(var(--c4-rgb) / .16),transparent 70%), radial-gradient(60% 70% at 15% 35%, rgb(var(--accent-rgb) / .28),transparent 70%), var(--ink);
}
@media (min-width:900px) {
  .s-chron {
    padding: var(--s8) 0 var(--s15);
  }
}
.zz {
  --lane: clamp(120px, 14vw, 180px);
  /* Room the outlined pill around each step keeps inside the step's own box,
     so it never pokes past the page gutter or into the neighbouring step. */
  --pill-y: 20px;
  --pill-x: var(--s3);
  position: relative;
}
@media (min-width:700px) {
  .zz {
    --pill-x: var(--s4);
  }
}
.zz-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.chron {
  --node: 56px;
  --shift: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  display: grid;
  gap: var(--s2);
}
.chron li {
  --c: var(--c1);
  position: relative;
  display: grid;
  grid-template-columns: calc(var(--node) + var(--shift)) minmax(0,1fr);
  gap: var(--s3);
  align-items: center;
}
.chron li:nth-child(2) {
  --c: color-mix(in oklch, var(--c1), var(--c4) 25%);
}
.chron li:nth-child(3) {
  --c: color-mix(in oklch, var(--c1), var(--c4) 50%);
}
.chron li:nth-child(4) {
  --c: color-mix(in oklch, var(--c1), var(--c4) 75%);
}
.chron .node {
  position: relative;
  width: var(--node);
  height: var(--node);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  border: 2px solid var(--c);
  color: #fff;
  font-weight: 800;
  font-size: 22px;
  box-shadow: 0 0 0 8px rgb(var(--navy-rgb) / 1), 0 0 24px -4px var(--c);
  transition: transform .35s var(--ease-spring), box-shadow .35s ease, font-size .35s ease, border-color .35s ease;
  z-index: 1;
}
.chron li:hover .node {
  transform: scale(1.28);
  font-size: 24px;
  border-color: color-mix(in oklch, var(--c),#fff 35%);
  box-shadow: 0 0 0 8px rgb(var(--navy-rgb) / 1), 0 0 4px 1px var(--c), 0 0 16px 4px var(--c), 0 0 40px 8px var(--c), 0 0 80px 12px color-mix(in oklch, var(--c),transparent 40%), inset 0 0 12px var(--c);
}
@media (prefers-reduced-motion: reduce) {
  .chron .node {
    transition: box-shadow .35s ease;
  }
  .chron li:hover .node {
    transform: none;
  }
}
.chron li:nth-child(even) .node {
  margin-inline-start: var(--shift);
}
.chron li > div {
  position: relative;
  padding-block: var(--pill-y);
  padding-inline-end: var(--pill-x);
}
.chron li > div::before,
.chron li > div::after {
  content: "";
  position: absolute;
  inset: 0;
  inset-inline-start: calc(-1 * var(--s3) - 28px);
  border: 2px solid var(--c);
  border-inline-start: 0;
  border-start-end-radius: 999px;
  border-end-end-radius: 999px;
  -webkit-mask-image: linear-gradient(var(--to-start),#000 70%,transparent);
  mask-image: linear-gradient(var(--to-start),#000 70%,transparent);
  transform-origin: var(--side-start) center;
  pointer-events: none;
}
.chron li > div::after {
  border-color: color-mix(in oklch, var(--c),#fff 35%);
  filter: drop-shadow(0 0 2px var(--c)) drop-shadow(0 0 8px var(--c)) drop-shadow(0 0 22px var(--c)) drop-shadow(0 0 48px var(--c));
  opacity: 0;
  transition: opacity .35s ease;
  will-change: opacity;
}
.chron li:hover > div::after {
  opacity: 1;
}
.price {
  position: relative;
  margin-top: var(--s3);
  display: grid;
  grid-template-columns: calc(56px + 32px) minmax(0,1fr);
  gap: var(--s3);
  align-items: center;
}
.price .n {
  position: relative;
  justify-self: start;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  border: 3px solid var(--c4);
  color: #fff;
  font-weight: 800;
  font-size: 30px;
  line-height: 1;
  box-shadow: 0 0 0 10px rgb(var(--navy-rgb) / 1), 0 0 48px 0 var(--c4);
  direction: ltr;
  z-index: 1;
  transition: transform .35s var(--ease-spring), box-shadow .35s ease;
}
.price:hover .n {
  transform: scale(1.18);
  box-shadow: 0 0 0 10px rgb(var(--navy-rgb) / 1), 0 0 56px 6px var(--c4), 0 0 110px 16px color-mix(in oklch, var(--c4),transparent 45%);
}
.price > div {
  position: relative;
  padding-block: var(--pill-y);
  padding-inline-end: var(--pill-x);
}
.price > div::before {
  content: "";
  position: absolute;
  inset: 0;
  inset-inline-start: calc(-1 * var(--s3) - 40px);
  border: 2px solid var(--c4);
  border-inline-start: 0;
  border-start-end-radius: 999px;
  border-end-end-radius: 999px;
  filter: drop-shadow(0 0 6px var(--c4)) drop-shadow(0 0 18px var(--c4));
  -webkit-mask-image: linear-gradient(var(--to-start),#000 70%,transparent);
  mask-image: linear-gradient(var(--to-start),#000 70%,transparent);
  opacity: 0;
  transform: scaleX(.9);
  transform-origin: var(--side-start) center;
  transition: opacity .35s ease, transform .5s var(--ease-spring);
  pointer-events: none;
}
.price:hover > div::before {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .price .n {
    transition: box-shadow .35s ease;
  }
  .price:hover .n {
    transform: none;
  }
  .price > div::before {
    transform: none;
    transition: opacity .35s ease;
  }
}
.price h3 {
  margin: 0 0 var(--s1);
  font-weight: 800;
  font-size: clamp(32px,3.6vw,52px);
  line-height: 1.1;
  color: var(--c4);
  text-wrap: balance;
}
.price p {
  margin: 0;
  font-size: clamp(20px,1.9vw,26px);
  line-height: 1.45;
  color: #fff;
  text-wrap: pretty;
}
@media (min-width:1000px) {
  .chron {
    gap: var(--s2);
  }
  .chron li,
  .price {
    grid-template-columns: minmax(0,1fr) var(--lane) var(--lane) minmax(0,1fr);
    gap: var(--s4);
  }
  .chron li .node,
  .price .n {
    grid-row: 1;
    justify-self: center;
    margin: 0;
  }
  .chron li > div,
  .price > div {
    grid-row: 1;
  }
  .chron li:nth-child(odd) .node,
  .price .n {
    grid-column: 2;
  }
  .chron li:nth-child(even) .node {
    grid-column: 3;
  }
  .chron li:nth-child(odd) > div,
  .price > div {
    grid-column: 1;
    text-align: end;
    padding-inline: var(--pill-x) 0;
  }
  .chron li:nth-child(even) > div {
    grid-column: 4;
  }
  .chron li:nth-child(even) > div::before,
  .chron li:nth-child(even) > div::after {
    inset-inline-start: calc(-1 * var(--s4) - var(--lane) / 2);
  }
  .chron li:nth-child(odd) > div::before,
  .chron li:nth-child(odd) > div::after {
    inset: 0;
    inset-inline-end: calc(-1 * var(--s4) - var(--lane) / 2);
    border-width: 2px;
    border-style: solid;
    border-inline-end: 0;
    border-radius: 0;
    border-start-start-radius: 999px;
    border-end-start-radius: 999px;
    -webkit-mask-image: linear-gradient(var(--to-end),#000 70%,transparent);
    mask-image: linear-gradient(var(--to-end),#000 70%,transparent);
    transform-origin: var(--side-end) center;
  }
  /* The base rule's border-inline-start: 0 also resets that side's colour to
     currentColor (white); re-enabling the side above needs the step colour back. */
  .chron li:nth-child(odd) > div::before {
    border-color: var(--c);
  }
  .price {
    margin-top: var(--s4);
  }
  .price > div::before {
    inset: 0;
    inset-inline-end: calc(-1 * var(--s4) - var(--lane) / 2);
    border: 2px solid var(--c4);
    border-inline-end: 0;
    border-radius: 0;
    border-start-start-radius: 999px;
    border-end-start-radius: 999px;
    -webkit-mask-image: linear-gradient(var(--to-end),#000 70%,transparent);
    mask-image: linear-gradient(var(--to-end),#000 70%,transparent);
    transform-origin: var(--side-end) center;
  }
  .price .n {
    width: 132px;
    height: 132px;
    font-size: 48px;
    border-width: 3px;
  }
}

/* Zig-zag connector gradient (stops coloured from tokens) */
.zz-line stop:first-child {
  stop-color: var(--c1);
}
.zz-line stop:last-child {
  stop-color: var(--c4);
}
