.sidebar-journey {
  display: block;
  margin: 0 8px 22px;
  padding: 13px 12px;
  border: 1px solid #d9cef9;
  border-radius: 11px;
  background: #f4f0ff;
  color: #4f35b0;
}
.sidebar-journey span { display: block; margin-bottom: 4px; font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .07em; }
.sidebar-journey strong { display: block; font-size: 12px; line-height: 1.45; }
.sidebar-journey:hover { border-color: #ac97ec; background: #ebe4ff; }
.journey-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  padding: 13px 17px;
  border-radius: 11px;
  background: #eee9fc;
  color: #4b32ab;
  font-size: 12px;
}
.journey-banner span:first-child { font-weight: 750; }
.journey-banner strong { font-size: 13px; }
.journey-banner span:last-child { margin-left: auto; font-size: 20px; }
.article-route { margin-top: 23px; padding: 14px 17px; background: #f3effd; border-left: 3px solid #7c5ce2; border-radius: 7px; }
.article-route span { display: block; margin-bottom: 5px; color: #71638e; font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .07em; }
.article-route strong { display: block; color: #38256f; font-size: 13px; line-height: 1.5; }
.demo-visit { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 23px 0 0; padding: 16px 18px; border: 1px solid #dcd4ee; border-radius: 10px; background: #fbf9ff; }
.demo-visit strong, .demo-visit span { display: block; }
.demo-visit strong { margin-bottom: 5px; color: #3c2d65; font-size: 13px; }
.demo-visit span { max-width: 500px; color: #6e667e; font-size: 11.5px; line-height: 1.5; }
.demo-visit a { flex: none; color: #5f3cc9; font-size: 12px; font-weight: 750; }
.steps .step-check { max-width: none; margin-top: 12px; padding: 11px 13px; border-radius: 8px; border: 1px solid #cfebdf; background: #edf9f3; color: #2c6851; font-size: 12px; line-height: 1.5; }
.steps .step-check strong { color: #1c6246; }
.steps .article-figure { margin: 17px 0 0; padding: 14px; }
.result-figure { margin-top: 17px; }
.article-figure.is-demo .figure-button { width: min(720px, 100%); background: #fff; }
.article-figure.is-demo figcaption { max-width: 690px; }
.figure-marker { position: absolute; z-index: 2; display: grid; place-items: center; width: 28px; height: 28px; transform: translate(-50%, -50%); border: 2px solid #fff; border-radius: 50%; background: #6948db; color: #fff; box-shadow: 0 2px 9px #24184b99; font-size: 12px; font-weight: 800; line-height: 1; pointer-events: none; }
.image-dialog { text-align: center; }
.image-dialog-stage { position: relative; display: inline-block; max-width: 100%; }
.image-dialog-stage img { display: block; max-width: 100%; max-height: 75vh; border-radius: 7px; }
.image-dialog-stage .figure-marker { width: 30px; height: 30px; }
.example-box, .stuck-box { margin-top: 25px; padding: 18px 20px; border-radius: 11px; }
.example-box { border: 1px solid #d8d1ec; background: #f8f5ff; }
.stuck-box { border: 1px solid #ead9bc; background: #fffaf1; }
.example-box h2, .stuck-box h2 { font-size: 14px; margin: 0 0 7px; }
.example-box p, .stuck-box p { margin: 0; font-size: 12.5px; line-height: 1.65; color: #5c556e; }
.stuck-box p { color: #665b4a; }
.guide-next { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 27px; padding: 19px 21px; border: 1px solid #d5c9f5; background: #f3effe; border-radius: 11px; color: #4d31b0; }
.guide-next span:first-child { font-size: 11px; font-weight: 700; }
.guide-next strong { font-size: 13px; line-height: 1.45; }
.guide-next:hover { background: #ebe4ff; }

.journey-page { max-width: 1000px; margin: 0 auto; padding: 43px 40px 85px; }
.journey-intro { margin-top: 33px; }
.journey-kicker { color: #6e50c7; text-transform: uppercase; letter-spacing: .11em; font-size: 11px; font-weight: 800; }
.journey-intro h1 { max-width: 790px; margin: 12px 0 14px; color: #221c36; font-size: clamp(33px,4vw,49px); line-height: 1.12; letter-spacing: -.05em; }
.journey-intro > p { max-width: 760px; margin: 0; color: #655f73; font-size: 15px; line-height: 1.7; }
.journey-progress-wrap { margin-top: 27px; padding: 18px 20px; border: 1px solid #e1dbed; border-radius: 12px; background: #fff; }
.journey-progress-wrap > div:first-child { display: flex; justify-content: space-between; gap: 12px; color: #443568; font-size: 13px; }
.journey-progress-wrap > div:first-child span { font-weight: 750; }
.journey-progress { height: 9px; margin: 13px 0 9px; overflow: hidden; border-radius: 99px; background: #eee9f7; }
.journey-progress span { display: block; width: 0; height: 100%; background: #7857dd; border-radius: inherit; transition: width .2s ease; }
.journey-progress-wrap p { margin: 0; color: #8b839b; font-size: 11px; }
.journey-tip { margin: 20px 0 28px; padding: 19px 20px; border-left: 3px solid #7e5fdf; border-radius: 8px; background: #f1ecfd; }
.journey-tip strong { color: #5034ae; font-size: 13px; }
.journey-tip p { max-width: 780px; margin: 6px 0 0; color: #655d76; font-size: 12.5px; line-height: 1.65; }
.journey-tip a { display: inline-block; margin-top: 11px; color: #5d3aca; font-size: 12px; font-weight: 750; }
.journey-stages { display: grid; gap: 15px; }
.journey-stage { padding: 23px; border: 1px solid #e7e2ef; border-radius: 14px; background: #fff; scroll-margin-top: 100px; }
.journey-stage-head { display: flex; align-items: flex-start; gap: 15px; }
.journey-number { display: grid; place-items: center; flex: none; width: 35px; height: 35px; border-radius: 9px; background: #eee8ff; color: #6b4ad0; font-size: 12px; font-weight: 800; }
.journey-stage h2 { margin: 4px 0 7px; font-size: 21px; line-height: 1.3; letter-spacing: -.03em; }
.journey-where { margin: 0; color: #6b52b6; font-size: 12px; font-weight: 650; line-height: 1.5; }
.journey-stage-body { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0; }
.journey-stage-body > div { padding: 16px; border-radius: 9px; background: #f8f7fb; }
.journey-stage-body .journey-good { background: #ecf8f2; }
.journey-stage-body .journey-help { grid-column: 1 / -1; background: #fff7e9; }
.journey-stage-body h3 { margin: 0 0 7px; color: #4b405f; font-size: 12px; }
.journey-stage-body p { margin: 0; color: #5f5a6b; font-size: 12px; line-height: 1.65; }
.journey-stage-foot { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-top: 18px; border-top: 1px solid #eeeaf4; }
.journey-stage-foot a { color: #5d3bca; font-size: 12px; font-weight: 700; line-height: 1.5; }
.journey-stage-foot label { display: flex; align-items: center; gap: 8px; flex: none; color: #554b64; font-size: 11px; cursor: pointer; }
.journey-stage-foot input { accent-color: #6c4bd1; width: 17px; height: 17px; }
.journey-providers, .journey-finish { margin-top: 28px; padding: 26px; border-radius: 14px; background: #f4f0fd; }
.journey-providers h2, .journey-finish h2 { margin: 0 0 8px; font-size: 21px; letter-spacing: -.03em; }
.journey-providers p, .journey-finish p { margin: 0; max-width: 690px; color: #655d76; font-size: 12.5px; line-height: 1.65; }
.journey-providers > div { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 18px; }
.journey-providers a { padding: 12px 13px; border: 1px solid #ded5f3; border-radius: 8px; background: #fff; color: #5738bb; font-size: 12px; font-weight: 700; }
.journey-finish { background: #e9f7f0; }
.journey-finish a { display: inline-block; margin-top: 15px; color: #246d4b; font-size: 12px; font-weight: 750; }
.journey-finish button { display: block; margin-top: 22px; padding: 0; border: 0; background: transparent; color: #6c6573; font-size: 11px; text-decoration: underline; }

@media (max-width: 700px) {
  .journey-page { padding: 27px 18px 55px; }
  .journey-stage { padding: 19px 16px; }
  .journey-stage-body { grid-template-columns: 1fr; }
  .journey-stage-body .journey-help { grid-column: auto; }
  .journey-stage-foot { align-items: flex-start; flex-direction: column; }
  .journey-providers > div { grid-template-columns: 1fr; }
  .journey-banner { align-items: flex-start; flex-wrap: wrap; }
  .journey-banner span:last-child { display: none; }
  .guide-next { align-items: flex-start; flex-direction: column; }
  .demo-visit { align-items: flex-start; flex-direction: column; }
}
@media print {
  .journey-stage-foot label, .journey-finish button, .journey-progress-wrap { display: none; }
  .journey-stage { break-inside: avoid; }
}
