.onboarding-route {
  padding: 96px 0 70px;
  background: #f8f6f0;
  overflow: clip;
}
.route-wrap {
  width: 88%;
  max-width: 1400px;
  margin: auto;
}
.onboarding-route h2 {
  font-size: clamp(42px, 5.9vw, 88px);
  line-height: 1.07;
  font-weight: 600;
  letter-spacing: -0.045em;
  margin-bottom: 70px;
}
.onboarding-route h2 .serif-word {
  color: #6b45b3;
  font-size: 1.12em;
}
.route-flow {
  --route-gap: clamp(44px, 4.4vw, 64px);
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.32fr 1.15fr;
  gap: var(--route-gap);
}
.route-step {
  min-width: 0;
  position: relative;
}
.route-stage {
  height: clamp(250px, 23vw, 355px);
  position: relative;
  display: flex;
  align-items: flex-start;
}
.route-card {
  background: #fffefd;
  border-radius: 20px;
  box-shadow: 0 12px 30px #30203c08;
  border: 1px solid #332a4806;
}
.route-card h3 {
  font-size: clamp(15px, 1.3vw, 20px);
  letter-spacing: -0.025em;
  font-weight: 600;
}
.route-chat-list {
  margin: 12px 0 0 8%;
  width: 92%;
  padding: 22px;
}
.route-chat-list h3 {
  padding-bottom: 13px;
  border-bottom: 1px solid #f3eff6;
}
.route-card ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.route-chat-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  font-size: clamp(13px, 1.07vw, 16px);
}
.route-chat-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #eee7f8;
  color: #7651b9;
  font-size: 14px;
  font-weight: 550;
}
.route-chat-list li:nth-child(2) .route-chat-icon {
  background: #e9e7f4;
}
.route-chat-list li:nth-child(3) .route-chat-icon {
  background: #e9eee7;
  color: #677662;
}
.route-plus {
  margin-left: auto;
  font-size: 20px;
  color: #8b79a7;
}
.route-conversation {
  display: block;
}
.route-message {
  width: 83%;
  padding: 13px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  position: relative;
  z-index: 1;
}
.route-message > div {
  flex: 1;
  min-width: 0;
}
.route-avatar {
  display: block;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.route-message-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: clamp(12px, 0.95vw, 15px);
  line-height: 1.2;
  margin-bottom: 7px;
}
.route-message-head strong {
  font-weight: 550;
}
.route-message-head time {
  color: #858090;
  font-size: 10px;
}
.route-message p {
  font-size: clamp(12px, 0.95vw, 15px);
  line-height: 1.45;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.route-message-reply {
  margin: -5px 0 0 17%;
  background: #eee7f8;
  z-index: 0;
}
.route-message-last {
  margin: -5px 0 0 7%;
}
.route-plan {
  width: 100%;
  margin-top: 32px;
  padding: 23px;
}
.route-plan h3 {
  margin-bottom: 15px;
}
.route-plan li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  font-size: clamp(11px, 0.94vw, 14px);
  white-space: nowrap;
}
.route-plan li + li {
  border-top: 1px solid #f4f1f6;
}
.route-plan time {
  margin-left: auto;
  color: #858090;
  font-size: 0.88em;
}
.route-checkbox {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  border: 1.4px solid #a49cab;
  border-radius: 4px;
}
.route-step .route-step-title {
  font-size: clamp(22px, 2.35vw, 35px);
  font-weight: 550;
  letter-spacing: -0.045em;
  margin: 25px 0 10px;
}
.route-step > p {
  color: #7a7488;
  font-size: clamp(16px, 1.65vw, 24px);
  line-height: 1.35;
  letter-spacing: -0.025em;
}
.route-line {
  position: absolute;
  left: calc(100% + 6px);
  top: clamp(90px, 9vw, 135px);
  width: calc(var(--route-gap) - 12px);
  height: 48px;
  pointer-events: none;
}
.route-line path,
.route-sparks path {
  fill: none;
  stroke: #8254ce;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.route-sparks {
  position: absolute;
  width: 48px;
  height: 52px;
  left: -13px;
  top: -30px;
}
.route-conversation .route-sparks {
  left: auto;
  right: -12px;
  top: 15px;
}
.route-result .route-sparks {
  left: auto;
  right: -15px;
  top: -20px;
}
@media (min-width: 901px) and (max-width: 1100px) {
  .route-flow {
    grid-template-columns: 0.95fr 1.25fr 1.12fr;
  }
  .route-chat-list,
  .route-plan {
    padding: 17px;
  }
  .route-message {
    padding: 10px;
    gap: 8px;
    width: 87%;
  }
  .route-message-reply {
    margin-left: 13%;
  }
  .route-avatar {
    width: 25px;
    height: 25px;
    flex-basis: 25px;
  }
  .route-plan li {
    gap: 7px;
  }
}
@media (max-width: 900px) {
  .onboarding-route {
    padding: 58px 0 45px;
  }
  .onboarding-route h2 {
    font-size: clamp(35px, 6.4vw, 60px);
    margin-bottom: 60px;
  }
  .route-flow {
    grid-template-columns: 1fr;
    gap: 66px;
  }
  .route-step {
    width: min(100%, 420px);
    margin-inline: auto;
  }
  .route-stage {
    height: auto;
    min-height: 0;
  }
  .route-line {
    display: none;
  }
  .route-chat-list {
    width: 86%;
    margin: 0 auto;
  }
  .route-chat-list li {
    font-size: 16px;
    margin-top: 14px;
  }
  .route-card h3 {
    font-size: 19px;
  }
  .route-message {
    width: 87%;
  }
  .route-message-reply {
    margin-left: 13%;
  }
  .route-message-last {
    margin-left: 4%;
  }
  .route-message p,
  .route-message-head {
    font-size: 13px;
  }
  .route-plan {
    width: 96%;
    margin: 0 auto;
  }
  .route-plan li {
    font-size: 13px;
  }
  .route-step .route-step-title {
    margin-top: 28px;
    font-size: 27px;
  }
  .route-step > p {
    font-size: 18px;
  }
  .route-connect .route-sparks {
    left: -8px;
  }
  .route-conversation .route-sparks {
    right: -10px;
    top: -32px;
  }
}
