/* v60 public roadmap: a long-form, source-grounded journey through the product. */
.roadmap-journey-page {
  width: min(1120px, calc(100% - 40px));
  padding-bottom: 72px;
}

body:not(.formal-page) .roadmap-page > .roadmap-journey-hero {
  position: relative;
  width: min(860px, 100%);
  margin: 34px auto 84px;
  padding: clamp(30px, 6vw, 70px) clamp(20px, 5vw, 58px) 38px;
  overflow: hidden;
  border: 1px solid var(--action-border-soft);
  border-radius: 30px;
  background:
    radial-gradient(ellipse at 72% 0%, var(--action-glow), transparent 44%),
    linear-gradient(145deg, var(--ui-surface-3), var(--ui-surface-1) 66%);
  box-shadow: var(--shadow-elevated);
}

.roadmap-journey-hero::before,
.roadmap-journey-hero::after {
  position: absolute;
  right: -68px;
  bottom: -175px;
  width: 310px;
  height: 310px;
  border: 1px solid var(--action-border-soft);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.roadmap-journey-hero::after {
  right: -22px;
  bottom: -130px;
  width: 220px;
  height: 220px;
  border-color: var(--nonbinary-border-soft);
}

.roadmap-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 auto 18px;
  color: var(--action-text);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .17em;
}

.roadmap-eyebrow > span:last-child {
  padding: 4px 8px;
  border: 1px solid var(--action-border-soft);
  border-radius: 999px;
  background: var(--action-fill);
  font-size: 10px;
  letter-spacing: .08em;
}

.roadmap-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hue-action);
  box-shadow: 0 0 18px var(--hue-action);
}

.roadmap-journey-hero h1 {
  max-width: 760px;
  margin: 0 auto 16px;
  font-size: clamp(42px, 7.5vw, 76px);
  line-height: .98;
  letter-spacing: -.055em;
}

.roadmap-journey-hero .section-intro {
  max-width: 660px;
  margin: 0 auto;
  color: var(--text-soft);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.65;
}

.roadmap-source-note {
  max-width: 660px;
  margin: 18px auto 0;
  color: var(--text-dim);
  font-size: 12px;
  line-height: 1.6;
}

.roadmap-jump-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-top: 26px;
}

.roadmap-jump-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--ui-line);
  border-radius: 999px;
  background: var(--neutral-fill-faint);
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}

.roadmap-jump-links a:hover,
.roadmap-jump-links a:focus-visible {
  border-color: var(--action-border);
  background: var(--action-fill);
  color: var(--text);
}

.roadmap-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto 34px;
}

.roadmap-section-heading .card-kicker { margin-bottom: 7px; }
.roadmap-section-heading h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: -.035em;
}
.roadmap-section-heading > p {
  max-width: 370px;
  margin: 0 0 3px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}

.roadmap-timeline {
  position: relative;
  display: grid;
  gap: 24px;
  margin: 0;
  padding: 8px 0 18px;
  list-style: none;
}

.roadmap-timeline::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, var(--hue-action), var(--hue-gradient-violet) 49%, var(--hue-gradient-pink));
  opacity: .58;
  content: "";
}

.roadmap-stop {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr);
  align-items: center;
  min-height: 190px;
}

.roadmap-stop-marker {
  z-index: 1;
  display: grid;
  grid-column: 2;
  grid-row: 1;
  width: 52px;
  height: 52px;
  place-items: center;
  justify-self: center;
  border: 1px solid var(--action-border);
  border-radius: 50%;
  background: var(--theme-bg);
  box-shadow: 0 0 0 8px var(--app-page-bg), 0 0 34px var(--action-glow);
  color: var(--action-text);
  font-size: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.roadmap-stop-card {
  grid-column: 1;
  grid-row: 1;
  width: min(100%, 445px);
  justify-self: end;
  padding: 25px 27px;
  border: 1px solid var(--ui-line);
  border-radius: 22px;
  background: linear-gradient(155deg, var(--ui-surface-3), var(--ui-surface-1));
  box-shadow: var(--shadow-raised);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.roadmap-stop:nth-child(even) .roadmap-stop-card {
  grid-column: 3;
  justify-self: start;
}

.roadmap-stop-card:hover {
  transform: translateY(-3px);
  border-color: var(--action-border-soft);
  box-shadow: var(--shadow-elevated);
}

.roadmap-stop-date {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--action-text);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .045em;
}

.roadmap-stop-version {
  padding: 4px 8px;
  border: 1px solid var(--ui-line-soft);
  border-radius: 999px;
  background: var(--neutral-fill-faint);
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0;
}

.roadmap-stop-card h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.18;
  letter-spacing: -.02em;
}

.roadmap-stop-card > p:not(.roadmap-stop-date) {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.68;
}

.roadmap-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 17px;
}

.roadmap-tags span {
  padding: 5px 8px;
  border: 1px solid var(--ui-line-soft);
  border-radius: 999px;
  background: var(--neutral-fill-faint);
  color: var(--text-dim);
  font-size: 10px;
  font-weight: 700;
}

.roadmap-current-label {
  display: inline-block;
  padding: 4px 8px;
  border: 1px solid var(--action-border-soft);
  border-radius: 999px;
  background: var(--action-fill);
  color: var(--action-text);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.roadmap-stop.is-current .roadmap-stop-marker {
  border-color: var(--hue-gradient-pink);
  color: var(--hue-gradient-pink);
  box-shadow: 0 0 0 8px var(--app-page-bg), 0 0 38px color-mix(in srgb, var(--hue-gradient-pink) 30%, transparent);
}

.roadmap-stop.is-current .roadmap-stop-card {
  border-color: var(--action-border);
  background:
    radial-gradient(ellipse at 100% 0%, var(--action-glow), transparent 45%),
    linear-gradient(155deg, var(--ui-surface-4), var(--ui-surface-1));
}

.roadmap-now-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 42px;
  align-items: center;
  margin: 66px auto 88px;
  padding: clamp(28px, 5vw, 54px);
  overflow: hidden;
  border: 1px solid var(--nonbinary-border-soft);
  border-radius: 28px;
  background: radial-gradient(ellipse at 8% 95%, var(--nonbinary-fill), transparent 46%), linear-gradient(140deg, var(--ui-surface-3), var(--ui-surface-1));
  box-shadow: var(--shadow-raised);
}

.roadmap-now-copy { position: relative; z-index: 1; }
.roadmap-now-copy h2 {
  max-width: 450px;
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
  letter-spacing: -.04em;
}
.roadmap-now-copy > p:last-child { max-width: 430px; margin: 0; color: var(--text-muted); line-height: 1.7; }

.roadmap-now-list { position: relative; z-index: 1; display: grid; gap: 10px; }
.roadmap-now-list > div {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 13px;
  align-items: start;
  padding: 16px 17px;
  border: 1px solid var(--ui-line-soft);
  border-radius: 15px;
  background: var(--neutral-fill-faint);
}
.roadmap-list-index { color: var(--action-text); font-size: 11px; font-weight: 800; }
.roadmap-now-list p { display: grid; gap: 4px; margin: 0; }
.roadmap-now-list strong { font-size: 14px; }
.roadmap-now-list p span { color: var(--text-muted); font-size: 12px; line-height: 1.55; }
.roadmap-now-orbit { position: absolute; right: -80px; bottom: -150px; width: 320px; height: 320px; border: 1px solid var(--nonbinary-border-soft); border-radius: 50%; opacity: .55; }
.roadmap-now-orbit span { position: absolute; inset: 32px; border: 1px solid var(--action-border-soft); border-radius: 50%; }
.roadmap-now-orbit span:nth-child(2) { inset: 72px; }
.roadmap-now-orbit span:nth-child(3) { inset: 112px; background: var(--action-fill); }

.roadmap-next-section { padding-bottom: 10px; }
.roadmap-next-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.roadmap-next-card {
  display: flex;
  min-height: 255px;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  border: 1px solid var(--ui-line);
  border-radius: 20px;
  background: linear-gradient(155deg, var(--ui-surface-3), var(--ui-surface-1));
}
.roadmap-next-icon { display: grid; width: 38px; height: 38px; place-items: center; margin-bottom: 18px; border: 1px solid var(--action-border-soft); border-radius: 12px; background: var(--action-fill); color: var(--action-text); font-size: 19px; }
.roadmap-next-card .card-kicker { margin: 0 0 7px; }
.roadmap-next-card h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.2; }
.roadmap-next-card > p:not(.card-kicker) { margin: 0 0 18px; color: var(--text-muted); font-size: 13px; line-height: 1.65; }
.roadmap-status-pill { margin-top: auto; padding: 6px 9px; border: 1px solid var(--action-border-soft); border-radius: 999px; background: var(--action-fill); color: var(--action-text); font-size: 10px; font-weight: 750; }
.roadmap-status-pill.is-exploring { border-color: var(--nonbinary-border-soft); background: var(--nonbinary-fill); color: var(--nonbinary-text); }
.roadmap-next-card.roadmap-feedback-card { text-align: left; }
.roadmap-next-card .hero-actions { gap: 8px; margin-top: auto; }
.roadmap-next-card .hero-actions .btn { min-height: 37px; padding-inline: 12px; font-size: 12px; }
.roadmap-footnote { margin: 21px 0 0; color: var(--text-dim); font-size: 11px; text-align: center; }

.roadmap-journey.is-observing .roadmap-stop-card {
  opacity: .25;
  transform: translateY(14px);
}
.roadmap-journey.is-observing .roadmap-stop.is-visible .roadmap-stop-card {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 820px) {
  .roadmap-section-heading { display: block; }
  .roadmap-section-heading > p { margin-top: 12px; }
  .roadmap-timeline { gap: 19px; }
  .roadmap-timeline::before { left: 25px; }
  .roadmap-stop { grid-template-columns: 52px minmax(0, 1fr); min-height: 0; }
  .roadmap-stop-marker { grid-column: 1; width: 44px; height: 44px; font-size: 10px; }
  .roadmap-stop-card,
  .roadmap-stop:nth-child(even) .roadmap-stop-card { grid-column: 2; width: 100%; justify-self: stretch; padding: 22px; }
  .roadmap-now-section { grid-template-columns: 1fr; gap: 25px; margin-block: 54px 70px; }
  .roadmap-next-grid { grid-template-columns: 1fr 1fr; }
  .roadmap-next-card.roadmap-feedback-card { grid-column: 1 / -1; min-height: 220px; }
}

@media (max-width: 560px) {
  .roadmap-journey-page { width: calc(100% - 24px); }
  body:not(.formal-page) .roadmap-page > .roadmap-journey-hero { margin: 18px auto 58px; padding: 34px 20px 29px; border-radius: 23px; }
  .roadmap-eyebrow { flex-wrap: wrap; font-size: 9px; letter-spacing: .12em; }
  .roadmap-journey-hero h1 { font-size: clamp(39px, 13vw, 60px); }
  .roadmap-jump-links { gap: 6px; }
  .roadmap-jump-links a { min-height: 34px; padding-inline: 10px; font-size: 11px; }
  .roadmap-timeline::before { left: 19px; }
  .roadmap-stop { grid-template-columns: 40px minmax(0, 1fr); }
  .roadmap-stop-marker { width: 36px; height: 36px; font-size: 9px; }
  .roadmap-stop-card,
  .roadmap-stop:nth-child(even) .roadmap-stop-card { padding: 18px; border-radius: 17px; }
  .roadmap-stop-date { gap: 6px; font-size: 10px; }
  .roadmap-stop-card h3 { font-size: 18px; }
  .roadmap-stop-card > p:not(.roadmap-stop-date) { font-size: 12px; }
  .roadmap-now-section { gap: 22px; margin-block: 42px 58px; padding: 23px 18px; border-radius: 22px; }
  .roadmap-now-copy h2 { font-size: 30px; }
  .roadmap-now-list > div { grid-template-columns: 25px 1fr; gap: 8px; padding: 13px 12px; }
  .roadmap-next-grid { grid-template-columns: 1fr; }
  .roadmap-next-card,
  .roadmap-next-card.roadmap-feedback-card { grid-column: auto; min-height: 220px; padding: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  .roadmap-stop-card,
  .roadmap-jump-links a { transition: none; }
  .roadmap-journey.is-observing .roadmap-stop-card { opacity: 1; transform: none; }
}
