/* Markets page — expansion roadmap (light) */

.markets-roadmap {
  max-width: 820px;
  margin: 0 auto;
  padding: 8px 24px 64px;
}

.markets-roadmap-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.market-step {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 0 28px;
  align-items: stretch;
  position: relative;
}

.market-step:not(:last-child) .market-step-rail::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 52px;
  bottom: -8px;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(13, 110, 253, 0.35) 0%, rgba(12, 26, 46, 0.08) 100%);
  border-radius: 1px;
  pointer-events: none;
}

.market-step-rail {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 28px;
  min-height: 100%;
}

.market-step-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  color: rgba(12, 26, 46, 0.35);
  margin-bottom: 10px;
  line-height: 1;
}

.market-step-node {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #0d6efd;
  box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.12);
  flex-shrink: 0;
  z-index: 1;
}

.market-step--active .market-step-node {
  border-color: #16a34a;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.15);
}

.market-step--pipeline .market-step-node {
  border-color: #d97706;
  box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.14);
}

.market-step--planned .market-step-node {
  border-color: #94a3b8;
  box-shadow: 0 0 0 4px rgba(148, 163, 184, 0.2);
}

.market-step-panel {
  margin: 0 0 32px;
  padding: 28px 32px 30px;
  background: #fff;
  border: 1px solid rgba(12, 26, 46, 0.09);
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(12, 26, 46, 0.04);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.market-step:last-child .market-step-panel {
  margin-bottom: 0;
}

.market-step-panel:hover {
  border-color: rgba(13, 110, 253, 0.22);
  box-shadow: 0 8px 32px rgba(12, 26, 46, 0.08);
}

.market-step-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.market-step-title {
  margin: 0;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(26px, 4vw, 34px);
  letter-spacing: 0.4px;
  line-height: 1.05;
  color: #0c1a2e;
}

.market-step-phase {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.market-step--active .market-step-phase {
  background: rgba(22, 163, 74, 0.12);
  color: #15803d;
}

.market-step--pipeline .market-step-phase {
  background: rgba(217, 119, 6, 0.12);
  color: #b45309;
}

.market-step--planned .market-step-phase {
  background: rgba(100, 116, 139, 0.12);
  color: #475569;
}

.market-step-desc {
  margin: 0;
  font-size: 16px;
  line-height: 1.72;
  color: #5a6b82;
  max-width: 62ch;
}

@media (max-width: 640px) {
  .markets-roadmap {
    padding-left: 16px;
    padding-right: 16px;
  }

  .market-step {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 0 16px;
  }

  .market-step-panel {
    padding: 22px 20px 24px;
    margin-bottom: 24px;
  }

  .market-step-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .market-step-panel {
    transition: none;
  }
}
