.roadmap-page {
  --roadmap-paper: rgba(12, 21, 37, 0.82);
  --roadmap-paper-strong: rgba(16, 27, 46, 0.92);
  --roadmap-ink: #e6eef7;
  --roadmap-ink-soft: #afc0d4;
  --roadmap-line: rgba(148, 163, 184, 0.16);
  --roadmap-accent: #63c6d8;
  --roadmap-accent-strong: #38a9be;
  --roadmap-warm: #f6c46b;
  --roadmap-warm-soft: rgba(246, 196, 107, 0.08);
  position: relative;
  overflow-x: hidden;
}

.roadmap-page::before,
.roadmap-page::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.roadmap-page::before {
  background:
    radial-gradient(circle at 18% 12%, rgba(99, 198, 216, 0.12), transparent 30%),
    radial-gradient(circle at 82% 8%, rgba(246, 196, 107, 0.1), transparent 24%),
    linear-gradient(180deg, #0b1220 0%, #0a1120 52%, #080d18 100%);
}

.roadmap-page::after {
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.9), transparent 82%);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 1001;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: #0f172a;
  color: #f8fafc;
  border: 1px solid rgba(45, 212, 191, 0.5);
}

.skip-link:focus {
  top: 1rem;
}

.roadmap-shell {
  position: relative;
  z-index: 1;
  padding: 1.5rem 1rem 4rem;
}

.roadmap-page .top-buttons {
  margin-bottom: 2rem;
}

.roadmap-main {
  display: grid;
  gap: 2rem;
  max-width: 1160px;
  margin: 0 auto;
}

.hero {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}

.hero-copy {
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: 32px;
  background: linear-gradient(160deg, rgba(10, 19, 34, 0.94), rgba(11, 19, 33, 0.84));
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: 0 28px 56px rgba(2, 6, 23, 0.34);
}

.paper-card,
.phase-item,
.revenue-card,
.mission-banner {
  border-radius: 28px;
  border: 1px solid var(--roadmap-line);
  box-shadow: 0 24px 48px rgba(2, 6, 23, 0.18);
}

.paper-card,
.phase-item,
.revenue-card {
  background: var(--roadmap-paper);
  color: var(--roadmap-ink);
}

.paper-card,
.revenue-card {
  padding: 1.5rem;
}

.eyebrow,
.mini-label,
.card-kicker,
.phase-time,
.eyebrow--dark {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
}

.eyebrow,
.mini-label {
  color: #8fd6e4;
}

.card-kicker {
  color: var(--roadmap-accent);
}

.eyebrow--dark {
  color: #8bdcf7;
}

.hero-copy h1 {
  margin: 0.9rem 0 0;
  max-width: 18ch;
  font-size: clamp(2.35rem, 5.2vw, 3.9rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #fcfdff;
}

.hero-summary {
  max-width: 62ch;
  margin: 1.2rem 0 0;
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(223, 232, 243, 0.88);
}

.hero-detail {
  max-width: 60ch;
  margin: 0.95rem 0 0;
  color: rgba(226, 235, 245, 0.84);
  line-height: 1.72;
}

.hero-links {
  margin-top: 1rem;
}

.hero-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  background: rgba(99, 198, 216, 0.12);
  border: 1px solid rgba(99, 198, 216, 0.24);
  color: #eaf7fb;
  font-weight: 600;
}

.hero-links a:hover {
  color: #ffffff;
  border-color: rgba(125, 211, 252, 0.34);
  background: rgba(99, 198, 216, 0.18);
}

.metric-row {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.metric-tile {
  padding: 1rem 1.05rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.15);
}

.metric-value {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
}

.metric-label {
  margin: 0.35rem 0 0;
  max-width: 20ch;
  color: rgba(218, 228, 240, 0.82);
}

.paper-card h2,
.paper-card h3,
.phase-body h3,
.mission-copy h2 {
  margin: 0;
  line-height: 1.12;
}

.content-section {
  display: grid;
  gap: 1.1rem;
}

.section-heading {
  max-width: 54rem;
}

.section-heading h2 {
  margin: 0.35rem 0 0;
  font-size: clamp(1.75rem, 3.7vw, 2.45rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fcfdff;
}

.section-heading p {
  margin: 0.9rem 0 0;
  font-size: 1rem;
  line-height: 1.72;
  color: rgba(228, 236, 245, 0.82);
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.paper-card h3 {
  margin-top: 0.45rem;
  font-size: 1.25rem;
  color: var(--roadmap-ink);
}

.paper-card p {
  color: var(--roadmap-ink-soft);
  line-height: 1.7;
}

.bullet-list,
.phase-bullets {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.7rem;
}

.bullet-list li,
.phase-bullets li {
  position: relative;
  padding-left: 1rem;
  line-height: 1.6;
  color: var(--roadmap-ink-soft);
}

.bullet-list li::before,
.phase-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--roadmap-accent), var(--roadmap-warm));
}

.phase-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.phase-item {
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
}

.phase-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.phase-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(99, 198, 216, 0.22), rgba(125, 211, 252, 0.18));
  color: #f8fcff;
  font-weight: 800;
  font-size: 1.05rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.phase-time {
  color: var(--roadmap-accent);
}

.phase-body p {
  margin: 0.75rem 0 0;
  color: var(--roadmap-ink-soft);
  line-height: 1.7;
}

.phase-target {
  margin-top: 1rem;
  color: var(--roadmap-ink);
  font-weight: 700;
}

.revenue-grid {
  display: grid;
  gap: 1rem;
}

.revenue-card {
  padding: 1.4rem;
}

.revenue-members,
.revenue-amount,
.revenue-card p:last-child {
  margin: 0;
}

.revenue-members {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--roadmap-accent);
}

.revenue-amount {
  margin-top: 0.55rem;
  font-size: 2rem;
  font-weight: 800;
  color: var(--roadmap-ink);
}

.revenue-card p:last-child {
  margin-top: 0.7rem;
  color: var(--roadmap-ink-soft);
  line-height: 1.65;
}

.content-section--split {
  grid-template-columns: 1fr;
}

.paper-card--accent {
  background: linear-gradient(180deg, rgba(14, 25, 42, 0.92), rgba(12, 23, 40, 0.86));
}

.paper-card--dark {
  background: linear-gradient(160deg, rgba(9, 19, 34, 0.96), rgba(8, 16, 29, 0.92));
  border-color: rgba(148, 163, 184, 0.14);
  color: #edf5fc;
}

.paper-card--dark h2,
.paper-card--dark p,
.paper-card--dark li {
  color: inherit;
}

.script-block {
  margin: 1.1rem 0 0;
  padding: 1.25rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.14);
  color: var(--roadmap-ink);
  font-size: 1.02rem;
  line-height: 1.7;
}

.script-note {
  margin: 1rem 0 0;
}

.action-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.8rem;
  counter-reset: roadmap-step;
}

.action-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
  line-height: 1.6;
}

.action-list li::before {
  counter-increment: roadmap-step;
  content: counter(roadmap-step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(99, 198, 216, 0.12);
  color: #f8fdff;
  border: 1px solid rgba(148, 163, 184, 0.18);
  font-weight: 700;
}

.mission-banner {
  display: grid;
  gap: 1rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  background: linear-gradient(135deg, rgba(10, 18, 32, 0.92), rgba(11, 22, 39, 0.92));
  border-color: rgba(148, 163, 184, 0.14);
}

.mission-copy p,
.mission-points p {
  margin: 0.9rem 0 0;
}

.mission-copy h2 {
  margin-top: 0.35rem;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  color: #ffffff;
}

.mission-copy p:last-child {
  color: rgba(227, 236, 246, 0.86);
  line-height: 1.75;
}

.mission-points {
  display: grid;
  gap: 0.75rem;
}

.mission-points p {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.14);
  color: #f5fbff;
}

.roadmap-footer {
  padding-top: 0.25rem;
  text-align: center;
}

.roadmap-footer p {
  margin: 0;
  color: rgba(178, 192, 208, 0.9);
  font-size: 0.92rem;
}

@media (min-width: 640px) {
  .metric-row,
  .revenue-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 760px) {
  .card-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .content-section--split,
  .mission-banner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 920px) {
  .metric-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .phase-item {
    grid-template-columns: 170px minmax(0, 1fr);
    align-items: start;
  }
}

@media (min-width: 1100px) {
  .revenue-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .card-grid--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
