.roadmap-page {
  background: var(--score-surface);
  color: var(--score-text);
}

.roadmap-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--score-navy);
  color: #fff;
}

.roadmap-hero::after {
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 42px;
  background: var(--score-surface);
  clip-path: polygon(0 0, 12% 18%, 25% 44%, 38% 66%, 50% 76%, 62% 66%, 75% 44%, 88% 18%, 100% 0, 100% 100%, 0 100%);
  content: "";
}

.roadmap-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 48px;
  align-items: center;
  padding: 56px 0;
}

.roadmap-eyebrow,
.roadmap-section-eyebrow {
  margin: 0 0 12px;
  color: var(--score-orange-light);
  font-size: 0.76rem;
  font-weight: 800;
}

.roadmap-hero h1 {
  max-width: 760px;
  margin: 0 0 14px;
  color: #fff;
  font-size: 2.7rem;
  font-weight: 800;
  line-height: 1.12;
}

.roadmap-hero-description {
  max-width: 680px;
  margin: 0;
  color: #e2edf7;
  font-size: 1rem;
  line-height: 1.6;
}

.roadmap-target {
  padding: 4px 0 4px 24px;
  border-left: 2px solid var(--score-orange-light);
}

.roadmap-target p {
  margin: 0 0 8px;
  color: #c3d6e5;
  font-size: 0.73rem;
  font-weight: 800;
}

.roadmap-target strong {
  display: block;
  color: #fff;
  font-size: 2.55rem;
  font-weight: 800;
  line-height: 1.1;
}

.roadmap-target span {
  display: block;
  margin-top: 8px;
  color: var(--score-orange-light);
  font-size: 0.95rem;
  font-weight: 800;
}

.roadmap-section {
  padding: 46px 0 0;
}

.roadmap-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.roadmap-section-eyebrow {
  margin-bottom: 7px;
  color: var(--score-orange-dark);
}

.roadmap-section-heading h2 {
  margin: 0 0 8px;
  color: var(--score-text);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.2;
}

.roadmap-section-heading p:not(.roadmap-section-eyebrow) {
  max-width: 760px;
  margin: 0;
  color: var(--score-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.roadmap-range {
  flex: 0 0 auto;
  padding-bottom: 3px;
  color: var(--score-muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.roadmap-timeline,
.roadmap-gate-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.roadmap-timeline {
  position: relative;
  height: 36px;
  align-items: center;
  margin-top: 18px;
}

.roadmap-timeline::before {
  position: absolute;
  top: 50%;
  right: 12.5%;
  left: 12.5%;
  height: 3px;
  background: linear-gradient(90deg, #008f83 0%, #008f83 66.667%, var(--score-orange) 66.667%, var(--score-orange) 100%);
  content: "";
}

.roadmap-timeline-point {
  position: relative;
  z-index: 1;
  width: 14px;
  height: 14px;
  justify-self: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #008f83;
}

.roadmap-timeline-point--current {
  width: 16px;
  height: 16px;
  background: var(--score-orange);
}

.roadmap-gate-card {
  display: flex;
  min-height: 236px;
  flex-direction: column;
  padding: 20px 18px 18px;
  border: 1px solid var(--score-border);
  border-top: 4px solid #008f83;
  border-radius: 8px;
  background: #fff;
}

.roadmap-gate-card--current {
  border: 2px solid var(--score-orange);
  border-top-width: 4px;
}

.roadmap-gate-status {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  align-self: flex-start;
  gap: 7px;
  margin: 0 0 18px;
  padding: 0 10px;
  border-radius: 99px;
  background: #e4f5f2;
  color: #007d73;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.roadmap-gate-status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.roadmap-gate-status--current {
  background: var(--score-orange-wash);
  color: var(--score-orange-dark);
}

.roadmap-gate-card h3 {
  margin: 0 0 8px;
  color: var(--score-text);
  font-size: 1.65rem;
  font-weight: 800;
}

.roadmap-gate-title {
  min-height: 2.6em;
  margin: 0;
  color: var(--score-text);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
}

.roadmap-gate-details {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #e4eaf0;
}

.roadmap-gate-dates {
  margin: 0 0 8px;
  color: var(--score-muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.roadmap-gate-summary {
  margin: 0;
  color: var(--score-body);
  font-size: 0.8rem;
  line-height: 1.45;
}

.roadmap-gate-notes {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: var(--score-orange-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  text-underline-offset: 3px;
}

.roadmap-gate-notes:hover {
  text-decoration: underline;
}

.roadmap-gate-notes--upcoming {
  color: var(--score-muted);
  font-weight: 700;
}

.roadmap-goals-section {
  padding-bottom: 42px;
}

.roadmap-section-heading--compact {
  margin-bottom: 20px;
}

.roadmap-goals-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.roadmap-goal {
  padding: 22px 24px 20px;
  border: 1px solid var(--score-border);
  border-left: 5px solid var(--score-cyan);
  border-radius: 8px;
  background: #fff;
}

.roadmap-goal--evidence {
  border-left-color: var(--score-orange);
}

.roadmap-goal h3 {
  margin: 0 0 10px;
  color: var(--score-text);
  font-size: 1.05rem;
  font-weight: 800;
}

.roadmap-goal p {
  min-height: 2.8em;
  margin: 0 0 14px;
  color: var(--score-body);
  font-size: 0.87rem;
  line-height: 1.5;
}

.roadmap-goal span {
  color: var(--score-blue);
  font-size: 0.68rem;
  font-weight: 800;
}

.roadmap-goal--evidence span {
  color: var(--score-orange-dark);
}

.roadmap-source-section {
  padding: 0 0 34px;
}

.roadmap-source-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 24px 28px;
  border-radius: 8px;
  background: #e8eff5;
}

.roadmap-source-inner h2 {
  margin: 0 0 7px;
  color: var(--score-text);
  font-size: 1rem;
  font-weight: 800;
}

.roadmap-source-inner p {
  margin: 0;
  color: var(--score-body);
  font-size: 0.83rem;
  line-height: 1.5;
}

.roadmap-button--source {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 16px;
  flex: 0 0 auto;
  border-radius: 6px;
  background: var(--score-orange-dark);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.roadmap-button--source:hover {
  background: #963b00;
  color: #fff;
}

@media (max-width: 1000px) {
  .roadmap-hero-inner {
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 30px;
  }

  .roadmap-gate-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .roadmap-timeline {
    display: none;
  }
}

@media (max-width: 640px) {
  .roadmap-hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 42px 0;
  }

  .roadmap-hero h1 {
    font-size: 2rem;
  }

  .roadmap-target {
    max-width: 220px;
  }

  .roadmap-section {
    padding-top: 36px;
  }

  .roadmap-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .roadmap-section-heading h2 {
    font-size: 1.4rem;
  }

  .roadmap-gate-grid,
  .roadmap-goals-grid {
    grid-template-columns: 1fr;
  }

  .roadmap-gate-card {
    min-height: 0;
  }

  .roadmap-gate-title,
  .roadmap-goal p {
    min-height: 0;
  }

  .roadmap-source-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px;
  }
}