
.process {
  --pr-ink: var(--basic);
  --pr-text: var(--udi-soft, #5a5f73);
  --pr-muted: var(--udi-muted, #8a8fa0);
  --pr-track: #e7ebf1;
  --pr-idle-border: #e4e7ee;
  --pr-idle-num: var(--udi-muted, #9aa0ae);
  background: #fbfcfd;
  padding: 96px 24px;
  font-family: "Poppins", sans-serif;
}
.process__inner {
  max-width: 1180px;
  margin: 0 auto;
}
.process__intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}
.process__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.process__eyebrow::before {
  content: "";
  width: 28px;
  height: 4px;
  border-radius: 9999px;
  background: var(--orange);
  flex: 0 0 auto;
}
.process__eyebrow-label {
  font-size: calc(13px * var(--a11y-fs, 1));
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue);
}
.process__title {
  margin: 0;
  font-size: calc(38px * var(--a11y-fs, 1));
  line-height: 1.14;
  font-weight: 900;
  letter-spacing: -0.6px;
  color: var(--pr-ink);
  text-wrap: balance;
}
.process__title span {
  color: var(--blue);
}
.process__desc {
  margin: 16px auto 0;
  max-width: 560px;
  font-size: calc(17px * var(--a11y-fs, 1));
  line-height: 1.6;
  color: var(--pr-text);
}


.process__track {
  position: relative;
}
.process__scroller {
  overflow: visible;
}
.process__rail {
  position: relative;
  width: 100%;
}
.process__line,
.process__line-fill {
  position: absolute;
  top: 34px;
  height: 3px;
  border-radius: 9999px;
  z-index: 0;
}
.process__line {
  background: var(--pr-track);
}
.process__line-fill {
  background: var(--blue);
  width: 0;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.process__steps {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.process__step-title,
.process__step-desc {
  font-family: inherit;
}
.process__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.18s ease;
}
.process__step:hover {
  transform: translateY(-4px);
}
.process__num-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.process__num {
  width: 68px;
  height: 68px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: calc(23px * var(--a11y-fs, 1));
  font-weight: 900;
  letter-spacing: -0.5px;
  background: #fff;
  border: 2px solid var(--pr-idle-border);
  color: var(--pr-idle-num);
  transition: background-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease, border-color 0.4s ease, color 0.4s ease;
}
.process__step.is-active .process__num {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--blue) 15%, transparent);
  transform: scale(1.07);
}
.process__connector {
  display: none;
}
.process__step-body {
  display: block;
}
.process__step-title {
  display: block;
  margin: 22px 0 0;
  font-size: calc(19px * var(--a11y-fs, 1));
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--pr-muted);
  transition: color 0.4s ease;
}
.process__step.is-active .process__step-title {
  color: var(--pr-ink);
}
.process__step-desc {
  display: block;
  margin: 10px auto 0;
  max-width: 240px;
  font-size: calc(14.5px * var(--a11y-fs, 1));
  line-height: 1.6;
  color: var(--pr-text);
}


.process--slider .process__scroller {
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 8px 0; 
}
.process--slider .process__scroller::-webkit-scrollbar {
  display: none;
}
.process--slider .process__rail {
  width: max-content;
  min-width: 100%;
}
.process--slider .process__steps {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
}
.process--slider .process__step {
  flex: 0 0 auto; 
  padding: 0 12px;
  box-sizing: border-box;
  scroll-snap-align: start;
}


.process__nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}
.process__arrow {
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  border: 1.5px solid var(--pr-idle-border);
  background: #fff;
  color: var(--pr-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, opacity 0.15s;
}
.process__arrow svg {
  width: 20px;
  height: 20px;
}
.process__arrow:hover:not(:disabled) {
  border-color: var(--blue);
  color: var(--blue);
}
.process__arrow:disabled {
  opacity: 0.4;
  cursor: default;
}

.process__cta {
  display: flex;
  justify-content: center;
  margin-top: 56px;
}
.process__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 30px;
  border-radius: 9999px;
  background: var(--blue);
  color: #fff;
  font-size: calc(15px * var(--a11y-fs, 1));
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s;
}
.process__btn:hover {
  background: color-mix(in srgb, var(--blue) 85%, #000);
}


@media (max-width: 768px) {
  .process {
    padding: 56px 18px;
  }
  .process__intro {
    margin-bottom: 34px;
  }
  .process__title {
    font-size: calc(26px * var(--a11y-fs, 1));
    letter-spacing: -0.5px;
    line-height: 1.18;
  }
  .process__line,
  .process__line-fill {
    display: none;
  }
  .process__steps {
    display: flex !important;
    flex-direction: column;
    gap: 0;
    grid-template-columns: none !important;
  }
  
  .process--slider .process__scroller {
    overflow: visible;
    padding: 0;
  }
  .process--slider .process__rail {
    width: 100%;
    min-width: 0;
  }
  .process--slider .process__step {
    width: auto !important; 
    padding: 0;
  }
  .process__nav {
    display: none;
  }
  .process__step {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 16px;
  }
  .process__step:hover {
    transform: none;
  }
  .process__num-col {
    align-self: stretch;
  }
  .process__num {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    font-size: calc(20px * var(--a11y-fs, 1));
  }
  .process__connector {
    display: block;
    width: 2px;
    flex: 1 1 auto;
    min-height: 26px;
    background: var(--pr-idle-border);
    margin-top: 6px;
  }
  .process__step:last-child .process__connector {
    display: none;
  }
  .process__step-title {
    margin: 6px 0 0;
    font-size: calc(18px * var(--a11y-fs, 1));
  }
  .process__step-desc {
    max-width: none;
    margin: 8px 0 0;
    padding-bottom: 26px;
  }
  .process__cta {
    margin-top: 8px;
  }
  .process__btn {
    width: 100%;
  }
}
