.nte-timeline {
  --nte-active-start: #0f929f;
  --nte-active-end: #2867e8;
  --nte-marker-active: #168da5;
  --nte-number-active: #fff;
  --nte-glow: 12px;
  --nte-marker-glow: 14px;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  isolation: isolate;
}
.nte-timeline *, .nte-timeline *::before, .nte-timeline *::after { box-sizing: border-box; }
.nte-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--nte-step-count, 4), minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 24px;
  z-index: 2;
}
.nte-step { min-width: 0; position: relative; }
.nte-rail {
  position: absolute;
  z-index: 1;
  top: var(--nte-rail-top, 30px);
  left: 30px;
  right: 30px;
  height: 4px;
  pointer-events: none;
}
.nte-track, .nte-progress {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  border-radius: 999px;
}
.nte-track { background: #d6dde6; }
.nte-progress {
  width: 0%;
  background: linear-gradient(90deg, var(--nte-active-start), var(--nte-active-end));
  box-shadow: 0 0 var(--nte-glow) color-mix(in srgb, var(--nte-active-end) 75%, transparent);
  transition: width .12s linear;
  will-change: width;
}
.nte-marker {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  border: 2px solid #dfe4ea;
  border-radius: 50%;
  background: #fff;
  color: #142743;
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
  transition: background-color .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.nte-marker span { display: block; }
.nte-step.is-active .nte-marker {
  background: var(--nte-marker-active);
  border-color: var(--nte-active-end);
  color: var(--nte-number-active);
  box-shadow: 0 0 var(--nte-marker-glow) color-mix(in srgb, var(--nte-active-end) 38%, transparent);
}
.nte-step.is-passed .nte-marker { background: linear-gradient(135deg, var(--nte-active-start), var(--nte-active-end)); }
.nte-step-content { margin-top: 16px; }
.nte-step-title {
  margin: 0 0 6px;
  color: #142743;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
}
.nte-step-description {
  color: #5d6d85;
  font-size: 16px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
@media (max-width: 767px) {
  .nte-steps {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }
  .nte-step {
    display: grid;
    grid-template-columns: var(--nte-mobile-marker-size, 60px) minmax(0, 1fr);
    column-gap: 18px;
    align-items: start;
  }
  .nte-rail {
    top: 0;
    bottom: 0;
    left: calc(var(--nte-mobile-marker-size, 60px) / 2 - 2px);
    right: auto;
    width: 4px;
    height: 100%;
  }
  .nte-track, .nte-progress {
    width: 4px;
    height: 100%;
  }
  .nte-progress { height: 0%; width: 4px; }
  .nte-marker { grid-column: 1; grid-row: 1; }
  .nte-step-content { grid-column: 2; grid-row: 1; margin-top: 4px; }
  .nte-step-title { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .nte-progress, .nte-marker { transition: none !important; }
}
