.roadmap-page {
  background:
    radial-gradient(circle at 12% 7%, rgba(200, 255, 40, .19), transparent 25rem),
    var(--paper);
}

.roadmap-page .nav nav a[aria-current="page"] {
  position: relative;
}

.roadmap-page .nav nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -11px;
  left: 0;
  height: 2px;
  background: var(--acid-2);
}

.roadmap-hero {
  padding: clamp(76px, 9vw, 136px) 0 clamp(78px, 10vw, 150px);
}

.roadmap-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: clamp(54px, 9vw, 150px);
  align-items: end;
}

.roadmap-kicker,
.roadmap-meta span,
.roadmap-board-head,
.phase-number,
.phase-label,
.status,
.roadmap-card small,
.roadmap-note > div:first-child > span {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: .09em;
}

.roadmap-kicker {
  margin-bottom: 30px;
  font-size: 10px;
}

.roadmap-kicker::first-letter {
  color: var(--acid-2);
}

.roadmap-hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(62px, 8.9vw, 142px);
  line-height: .83;
  letter-spacing: -.085em;
}

.roadmap-hero h1 span {
  color: #668c00;
}

.roadmap-intro {
  padding: 6px 0 7px clamp(26px, 4vw, 64px);
  border-left: 1px solid var(--ink);
}

.roadmap-intro > p {
  max-width: 580px;
  margin: 0;
  font-size: clamp(18px, 1.75vw, 25px);
  line-height: 1.52;
  letter-spacing: -.025em;
}

.roadmap-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 45px 0 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.roadmap-meta div {
  display: grid;
  gap: 7px;
}

.roadmap-meta span {
  color: #777d74;
  font-size: 8px;
}

.roadmap-meta strong {
  font-size: 13px;
}

.roadmap-jump,
.roadmap-text-link {
  color: inherit;
  font: 500 10px var(--mono);
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
}

.roadmap-jump {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--ink);
}

.roadmap-jump span {
  color: #668c00;
  font-size: 16px;
}

.roadmap-board {
  position: relative;
  overflow: hidden;
  padding: clamp(42px, 5vw, 74px) 0 0;
  color: #f5f3ed;
  background:
    radial-gradient(circle at 88% 19%, rgba(200, 255, 40, .085), transparent 25rem),
    #090b08;
}

.roadmap-board::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .045;
  background-image:
    linear-gradient(rgba(255, 255, 255, .45) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .45) 1px, transparent 1px);
  background-size: 84px 84px;
}

.roadmap-board .shell {
  position: relative;
  z-index: 1;
}

.roadmap-board-head {
  display: flex;
  justify-content: space-between;
  padding-bottom: 26px;
  color: #90958b;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  font-size: 9px;
}

.roadmap-track {
  --line-x: 22px;
  position: relative;
}

.roadmap-track::before {
  content: "";
  position: absolute;
  top: 83px;
  bottom: 0;
  left: var(--line-x);
  width: 1px;
  background: linear-gradient(to bottom, #c8ff28 0 52%, rgba(255, 255, 255, .28) 78%, transparent);
}

.roadmap-phase {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  padding: clamp(74px, 8vw, 118px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.roadmap-phase:last-child {
  border-bottom: 0;
}

.phase-marker {
  position: relative;
  min-height: 70px;
  padding-left: 52px;
}

.phase-node {
  position: absolute;
  top: 2px;
  left: calc(var(--line-x) - 8px);
  width: 17px;
  height: 17px;
  border: 3px solid #090b08;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 1px var(--acid);
}

.phase-direction .phase-node {
  background: #090b08;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .55);
}

.phase-number {
  display: block;
  margin-bottom: 9px;
  color: var(--acid);
  font-size: 9px;
}

.phase-marker strong {
  font: 500 11px var(--mono);
  letter-spacing: .07em;
  text-transform: uppercase;
}

.phase-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, .65fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: end;
  margin-bottom: clamp(38px, 5vw, 66px);
}

.phase-label {
  display: block;
  margin-bottom: 18px;
  color: var(--acid);
  font-size: 9px;
}

.phase-heading h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(40px, 5.25vw, 78px);
  line-height: .95;
  letter-spacing: -.07em;
}

.phase-heading > p {
  max-width: 480px;
  margin: 0;
  color: #aeb3a8;
  font-size: 15px;
  line-height: 1.72;
}

.roadmap-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, .17);
  border-left: 1px solid rgba(255, 255, 255, .17);
}

.roadmap-card {
  display: flex;
  min-height: 300px;
  padding: clamp(25px, 2.7vw, 38px);
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, .17);
  border-bottom: 1px solid rgba(255, 255, 255, .17);
  background: rgba(255, 255, 255, .025);
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #7f857a;
  font: 9px var(--mono);
}

.status {
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  font-size: 7px;
}

.status-live::before,
.status-planned::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--acid);
}

.roadmap-card h3 {
  max-width: 390px;
  margin: 46px 0 18px;
  font-size: clamp(21px, 2vw, 30px);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.roadmap-card p {
  max-width: 420px;
  margin: 0 0 34px;
  color: #aeb3a8;
  font-size: 14px;
  line-height: 1.65;
}

.roadmap-card small {
  margin-top: auto;
  color: #747a70;
  font-size: 8px;
  line-height: 1.5;
}

.phase-planned {
  position: relative;
}

.phase-planned::after {
  content: "NEXT";
  position: absolute;
  top: 48px;
  right: 0;
  color: rgba(200, 255, 40, .045);
  font-size: clamp(100px, 15vw, 240px);
  font-weight: 800;
  letter-spacing: -.08em;
  line-height: 1;
  pointer-events: none;
}

.phase-planned .phase-content {
  position: relative;
  z-index: 1;
}

.planned-grid {
  border-color: rgba(200, 255, 40, .42);
}

.planned-card {
  border-color: rgba(200, 255, 40, .42);
  background: var(--paper);
  color: var(--ink);
}

.planned-card .card-topline,
.planned-card small {
  color: #686d64;
}

.planned-card .status {
  border-color: rgba(9, 11, 8, .18);
}

.planned-card .status-planned::before {
  background: #668c00;
}

.planned-card p {
  color: #555b52;
}

.direction-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, .18);
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.direction-grid div {
  position: relative;
  min-height: 180px;
  padding: 34px 34px 32px;
  border-right: 1px solid rgba(255, 255, 255, .18);
}

.direction-grid div:last-child {
  border-right: 0;
}

.direction-grid span {
  display: block;
  margin-bottom: 42px;
  color: var(--acid);
  font: 9px var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.direction-grid strong {
  display: block;
  max-width: 330px;
  font-size: clamp(18px, 1.75vw, 25px);
  line-height: 1.2;
  letter-spacing: -.035em;
}

.roadmap-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .75fr);
  gap: clamp(60px, 10vw, 160px);
  padding: clamp(88px, 11vw, 166px) 0;
}

.roadmap-note > div:first-child > span {
  font-size: 9px;
}

.roadmap-note h2 {
  margin: 26px 0 0;
  font-size: clamp(48px, 6vw, 88px);
  line-height: .92;
  letter-spacing: -.075em;
}

.roadmap-note > div:last-child {
  align-self: end;
}

.roadmap-note p {
  max-width: 620px;
  margin: 0;
  color: #555b52;
  font-size: 17px;
  line-height: 1.72;
}

.roadmap-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.roadmap-text-link {
  padding-bottom: 5px;
  border-bottom: 1px solid var(--ink);
}

@media (max-width: 1100px) {
  .roadmap-card-grid {
    grid-template-columns: 1fr;
  }

  .roadmap-card {
    min-height: 250px;
  }

  .roadmap-card h3 {
    margin-top: 34px;
  }
}

@media (max-width: 980px) {
  .roadmap-hero-grid,
  .phase-heading,
  .roadmap-note {
    grid-template-columns: 1fr;
  }

  .roadmap-intro {
    max-width: 720px;
  }

  .roadmap-phase {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .phase-marker {
    padding-left: 54px;
  }

  .roadmap-track::before {
    bottom: 50px;
  }

  .direction-grid {
    grid-template-columns: 1fr;
  }

  .direction-grid div {
    min-height: 150px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
  }

  .direction-grid div:last-child {
    border-bottom: 0;
  }

  .direction-grid span {
    margin-bottom: 25px;
  }
}

@media (max-width: 560px) {
  .roadmap-hero {
    padding-top: 56px;
  }

  .roadmap-hero h1 {
    font-size: 17vw;
  }

  .roadmap-intro {
    padding-left: 20px;
  }

  .roadmap-meta {
    grid-template-columns: 1fr;
  }

  .roadmap-board {
    padding-top: 34px;
  }

  .roadmap-board-head {
    font-size: 8px;
  }

  .roadmap-phase {
    padding: 68px 0;
  }

  .phase-heading h2 {
    font-size: 12.5vw;
  }

  .roadmap-card {
    min-height: 280px;
    padding: 27px 23px;
  }

  .roadmap-card h3 {
    font-size: 25px;
  }

  .phase-planned::after {
    display: none;
  }

  .roadmap-note {
    gap: 42px;
  }

  .roadmap-note h2 {
    font-size: 14vw;
  }
}
