/* The service cycle: six steps on a rail, and a dashed loop that carries
   step six back to step two. Shared by the homepage and pricing. */

.axis-pipeline { max-width: 1152px; margin: auto; padding: 24px 48px 56px; color: #e2e4f6; }
.pipeline-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 34px; border-top: 1px solid #304054; }
.pipeline-head h2 { font: 600 clamp(26px, 3vw, 38px)/1.15 'Space Grotesk', sans-serif; letter-spacing: -.025em; }
.pipeline-head p { color: #8c9bb0; font-size: 14.5px; }
.pipeline-links { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 24px; }
.pipeline-links a { color: #6dddff; font-size: 14px; font-weight: 500; text-decoration: none; }
.pipeline-links a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* The cycle: a rail that fills left to right, six stops on it, and a dashed
   loop underneath that carries step six back to step two. */
.cycle-wrap { --gap: 14px; margin-top: 30px; }
.cycle { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--gap); list-style: none; margin: 0; padding: 0; }
.cycle::before { content: ''; position: absolute; left: 17px; right: calc((100% - 5 * var(--gap)) / 6 - 17px);
                 top: 43px; height: 2px; background: #22344a; }
.cycle::after { content: ''; position: absolute; left: 17px; right: calc((100% - 5 * var(--gap)) / 6 - 17px);
                top: 43px; height: 2px; background: linear-gradient(90deg, #6dddff, #2f9fc4); transform-origin: left; transform: scaleX(0);
                transition: transform 1.4s cubic-bezier(.22, .61, .36, 1) .2s; }
.cycle.is-in::after, html:not(.has-motion) .cycle::after { transform: scaleX(1); }
.cycle li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; }
.cy-when { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #6f8399; height: 16px; }
.cy-dot { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin: 10px 0 16px;
          border-radius: 50%; background: #0b1622; border: 2px solid #2d5a70; color: #6dddff; font: 500 12px 'Space Grotesk', sans-serif;
          transition: border-color .3s ease, background-color .3s ease; }
.cycle li.is-in .cy-dot { border-color: #6dddff; background: #0e3446; }
.cycle li b { display: block; font: 500 15px/1.35 'Space Grotesk', sans-serif; color: #e2e4f6; min-height: 2.7em; }
.cycle li p { color: #93a3b8; font-size: 12.5px; line-height: 1.7; margin: 6px 0 12px; }
.cy-out { margin-top: auto; font-style: normal; font-size: 11px; color: #9fd8ea; background: #0e2333; border: 1px solid #2d5a70;
          border-radius: 999px; padding: 4px 10px; }
.cycle li:first-child .cy-out { color: #d9c88f; background: #211e13; border-color: #4a4327; }

.cy-loop { position: relative; height: 34px; margin: 14px calc((100% - 5 * var(--gap)) / 6 - 17px) 0 calc((100% - 5 * var(--gap)) / 6 + var(--gap) + 17px);
           border: 1.5px dashed #3f5c78; border-top: 0; border-radius: 0 0 18px 18px; }
.cy-loop::before { content: ''; position: absolute; left: -6.5px; top: -8px; border: 5.5px solid transparent; border-bottom: 8px solid #3f5c78; border-top: 0; }
.cy-loop span { position: absolute; left: 50%; bottom: -9px; transform: translateX(-50%); padding: 0 12px; background: #0a0e1a;
                color: #8fc9dd; font-size: 12px; white-space: nowrap; }
.has-motion .cy-loop { opacity: 0; transition: opacity .6s ease-out 1.2s; }
.cy-loop.is-in { opacity: 1; }

@media (max-width: 1000px) {
  .cycle { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 26px; }
  .cycle::before, .cycle::after, .cy-loop { display: none; }
}
@media (max-width: 640px) { .axis-pipeline { padding: 16px 20px 40px; } .cycle { grid-template-columns: 1fr; } .cycle li b { min-height: 0; } }
