/* Final conversion-path copy and visual polish. */
.roadmap .section-intro {
  max-width: 1040px;
}

.roadmap .section-intro h2 {
  max-width: 980px;
}

.roadmap-subcopy {
  max-width: 760px;
}

.roadmap-stage {
  max-width: 1240px;
}

.checkpoint-grid {
  gap: clamp(34px, 5vw, 70px) clamp(36px, 6vw, 78px);
  padding-top: 26px;
}

.checkpoint {
  min-height: 330px;
  padding: clamp(26px, 3vw, 36px);
  border-color: rgba(11, 13, 18, 0.13);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 8px 9px 0 rgba(11, 13, 18, 0.04);
}

.checkpoint:nth-child(even) {
  --checkpoint-y: 74px;
}

.checkpoint h3 {
  max-width: 430px;
  font-size: clamp(1.5rem, 2vw, 2.15rem);
}

.checkpoint p {
  max-width: 500px;
  font-size: clamp(0.96rem, 1vw, 1.06rem);
  line-height: 1.56;
}

.checkpoint strong {
  max-width: 500px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(11, 13, 18, 0.12);
  color: #666a70;
  font-family: var(--body-font);
  font-size: clamp(0.82rem, 0.88vw, 0.94rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
}

.checkpoint strong b {
  color: var(--amber-deep);
  font-family: var(--mono-font);
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
}

#roadmapBase {
  stroke: rgba(11, 13, 18, 0.11);
  stroke-width: 3.5;
  stroke-dasharray: 3 15;
  stroke-linecap: round;
}

#roadmapProgress {
  stroke: var(--amber);
  stroke-width: 5;
  stroke-linecap: round;
  filter: drop-shadow(0 0 7px rgba(255, 90, 0, 0.28));
  transition: none;
}

.roadmap-rocket {
  width: 48px;
  height: 48px;
  border: 1px solid var(--amber);
  border-radius: 50%;
  background: var(--ink);
  box-shadow:
    0 0 0 6px rgba(255, 90, 0, 0.1),
    0 0 0 7px rgba(11, 13, 18, 0.09),
    0 16px 42px rgba(11, 13, 18, 0.2),
    0 0 34px rgba(255, 90, 0, 0.18);
  will-change: left, top, transform;
  transition:
    left 60ms linear,
    top 60ms linear,
    transform 80ms linear,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.roadmap-rocket svg {
  width: 28px;
  height: 28px;
  fill: var(--amber);
}

.roadmap-rocket circle {
  fill: var(--ink);
  stroke: rgba(255, 255, 255, 0.76);
  stroke-width: 1;
}

.roadmap-rocket::before {
  width: 13px;
  height: 30px;
  opacity: 0.7;
  filter: drop-shadow(0 8px 10px rgba(255, 90, 0, 0.38));
}

.roadmap-rocket::after {
  inset: -14px;
  border-color: rgba(255, 90, 0, 0.34);
  opacity: 0.22;
}

.checkpoint.is-roadmap-active,
.checkpoint.is-roadmap-hit {
  box-shadow:
    10px 11px 0 rgba(255, 90, 0, 0.1),
    0 0 0 1px rgba(255, 90, 0, 0.2),
    0 26px 74px rgba(11, 13, 18, 0.11);
}

.roadmap-end {
  max-width: 1180px;
  font-size: clamp(2.5rem, 5.2vw, 5.5rem);
}

.roadmap-result {
  min-height: 176px;
  padding: 32px clamp(24px, 5vw, 76px);
  display: grid;
  grid-template-columns: auto minmax(0, auto);
  grid-template-areas:
    "label value"
    "note value";
  justify-content: center;
  gap: 8px clamp(28px, 5vw, 72px);
  color: var(--ink);
  background: var(--white);
}

.roadmap-result > span {
  grid-area: label;
  align-self: end;
  color: var(--amber-deep);
  font-size: 0.7rem;
  font-weight: 700;
}

.roadmap-result .roadmap-result-label {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  width: fit-content;
}

.roadmap-result-label i {
  position: relative;
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 0 rgba(255, 90, 0, 0.34);
  animation: resultSyncDot 1.35s ease-in-out infinite;
}

.roadmap-result > strong {
  grid-area: value;
  align-self: center;
  color: var(--amber);
  font-size: clamp(2.8rem, 6vw, 6rem);
  text-shadow: 0 0 26px rgba(255, 90, 0, 0.16);
}

.roadmap-result .result-sync-value {
  position: relative;
  display: inline-block;
  color: inherit;
  font: inherit;
  line-height: inherit;
  text-transform: none;
}

@keyframes resultSyncDot {
  0%, 100% {
    opacity: 0.38;
    transform: scale(0.76);
    box-shadow: 0 0 0 0 rgba(255, 90, 0, 0.3);
  }

  48% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 7px rgba(255, 90, 0, 0.1), 0 0 14px rgba(255, 90, 0, 0.42);
  }
}

.roadmap-result > small {
  grid-area: note;
  align-self: start;
  color: #777b80;
  font-size: 0.82rem;
}

@media (max-width: 780px) {
  .checkpoint {
    min-height: 0;
  }

  .checkpoint:nth-child(even) {
    --checkpoint-y: 0px;
  }

  .roadmap-rocket {
    width: 38px;
    height: 38px;
  }

  .roadmap-rocket svg {
    width: 23px;
    height: 23px;
  }

  .roadmap-result {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-areas: "label" "value" "note";
    justify-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .roadmap-rocket,
  .checkpoint {
    transition: none !important;
  }

  .roadmap-result-label i {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* Angled proof ribbon bridging the roadmap into the system section. */
.roadmap-result {
  position: relative;
  display: block;
  min-height: clamp(210px, 18vw, 270px);
  overflow: hidden;
  border: 0;
  background: var(--ink);
  padding: 0;
  isolation: isolate;
}

.roadmap-result-back,
.roadmap-result-ribbon {
  position: absolute;
  left: -3%;
  width: 106%;
  transform-origin: center;
}

.roadmap-result-back {
  z-index: 1;
  top: 50%;
  height: clamp(64px, 6vw, 82px);
  background: var(--paper);
  transform: translateY(-50%) rotate(2.25deg);
}

.roadmap-result-ribbon {
  z-index: 2;
  top: 50%;
  min-height: clamp(82px, 7.5vw, 108px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.7vw, 48px);
  background: var(--amber);
  padding: 18px clamp(42px, 6vw, 96px);
  color: var(--ink);
  transform: translateY(-50%) rotate(-2.25deg);
  white-space: nowrap;
}

.roadmap-result .roadmap-result-label {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 9px;
  align-items: center;
  color: var(--ink);
  font-family: var(--mono-font);
  font-size: clamp(0.68rem, 0.85vw, 0.82rem);
  font-weight: 800;
  text-transform: uppercase;
}

.roadmap-result-label i {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 0 rgba(11, 13, 18, 0.28);
}

.roadmap-result > .roadmap-result-ribbon > strong {
  color: var(--ink);
  font-size: clamp(2.1rem, 4vw, 4.9rem);
  line-height: 0.9;
  text-shadow: none;
}

.roadmap-result .result-sync-value {
  color: inherit;
}

.roadmap-result-mark {
  color: var(--ink);
  font-size: clamp(1.3rem, 2.1vw, 2.4rem);
  font-weight: 900;
  line-height: 1;
}

.roadmap-result > .roadmap-result-ribbon > small {
  color: rgba(11, 13, 18, 0.72);
  font-family: var(--mono-font);
  font-size: clamp(0.66rem, 0.82vw, 0.78rem);
  font-weight: 700;
  text-transform: uppercase;
}

@media (max-width: 860px) {
  .roadmap-result {
    min-height: 214px;
  }

  .roadmap-result-ribbon {
    min-height: 118px;
    flex-wrap: wrap;
    gap: 10px 18px;
    padding: 20px 42px;
    white-space: normal;
  }

  .roadmap-result > .roadmap-result-ribbon > strong {
    flex-basis: calc(100% - 110px);
    font-size: clamp(2.1rem, 8vw, 3.6rem);
  }

  .roadmap-result > .roadmap-result-ribbon > small {
    flex-basis: 100%;
    text-align: center;
  }

  .roadmap-result-mark:last-of-type {
    display: none;
  }
}

@media (max-width: 520px) {
  .roadmap-result-ribbon {
    left: -7%;
    width: 114%;
    justify-content: flex-start;
    padding-inline: 42px;
  }

  .roadmap-result > .roadmap-result-ribbon > strong {
    flex-basis: 100%;
  }

  .roadmap-result-mark {
    display: none;
  }
}
