/**
 * Interactive roadmap — scoped to .rmap so it cannot fight marketing styles.css
 * (nav, footer, --ink, .primary, etc.).
 */
.rmap {
  --rm-ink: #f4f7ff;
  --rm-muted: #8b98ad;
  --rm-line: rgba(151, 173, 208, 0.14);
  --rm-panel: #101722;
  --rm-accent: #57a5ff;
  --rm-accent-ink: #05070e;
  --rm-purple: #a88aff;
  --rm-cyan: #43d5e9;
  --rm-bg: transparent;
  --rm-font: var(--font, "Plus Jakarta Sans", system-ui, sans-serif);
  --rm-font-head: var(--font-head, "Sora", var(--rm-font));
  position: relative;
  color: var(--rm-ink);
  font-family: var(--rm-font);
  overflow: hidden;
}

.rmap * { box-sizing: border-box; }
.rmap button,
.rmap a { font: inherit; }

.rmap-hero {
  min-height: 78vh;
  padding: 48px 0 72px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid var(--rm-line);
  overflow: hidden;
  z-index: 1;
}

.rmap-hero::before {
  content: "";
  position: absolute;
  width: 750px;
  height: 750px;
  border: 1px solid rgba(125, 159, 206, 0.12);
  border-radius: 50%;
  right: -180px;
  top: 40px;
  box-shadow: 0 0 100px rgba(67, 213, 233, 0.04), inset 0 0 100px rgba(168, 138, 255, 0.03);
}

.rmap-eyebrow,
.rmap-overline {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--rm-accent);
  font-weight: 800;
  text-transform: uppercase;
  font-family: var(--rm-font-head);
}

.rmap-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rmap-eyebrow i {
  width: 34px;
  height: 1px;
  background: var(--rm-accent);
  display: block;
}

.rmap-hero h1 {
  font-family: var(--rm-font-head);
  font-size: clamp(42px, 7vw, 88px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin: 22px 0 28px;
  max-width: 16ch;
  font-weight: 800;
  color: var(--rm-ink);
}

/* Outlined text with no fill was close to unreadable against the dark
   background, and this half of the headline carries the "what is coming" half
   of the message. A faint fill plus a lighter stroke keeps the effect legible. */
.rmap-hero h1 em {
  font-style: normal;
  color: rgba(234, 238, 247, 0.16);
  -webkit-text-stroke: 1px #94a5be;
}

.rmap-hero > p {
  max-width: 620px;
  color: #9da8b8;
  font-size: 17px;
  line-height: 1.7;
  margin: 0;
}

.rmap-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.rmap-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  border: 0;
  padding: 12px 18px;
  background: var(--rm-accent);
  color: var(--rm-accent-ink);
  border-radius: 8px;
  font-weight: 800;
  box-shadow: 0 0 28px rgba(87, 165, 255, 0.18);
  cursor: pointer;
}

.rmap-btn-ghost {
  background: none;
  border: 1px solid #283442;
  color: #dce6f5;
  padding: 12px 18px;
  border-radius: 8px;
  cursor: pointer;
}

/* Three plain facts about where the product actually is. This replaced an
   orbiting-planet graphic that looked impressive and told the reader nothing. */
.rmap-status {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 900px;
}

.rmap-status > div {
  padding: 18px 20px;
  border: 1px solid #232c3a;
  border-radius: 12px;
  background: rgba(12, 17, 27, 0.6);
}

.rmap-status span {
  display: block;
  font-size: 10px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #6d7b8e;
}

.rmap-status strong {
  display: block;
  margin: 6px 0 6px;
  font-family: var(--rm-font-head);
  font-size: 20px;
  color: var(--rm-ink);
}

.rmap-status small {
  display: block;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--rm-muted);
}

.rmap-empty {
  color: var(--rm-muted);
  padding: 28px 4px;
  margin: 0;
}

.rmap-section {
  position: relative;
  padding: 88px 0;
  z-index: 1;
}

.rmap-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 36px;
}

.rmap-section-head h2,
.rmap-signal h2,
.rmap-modal h2 {
  font-family: var(--rm-font-head);
  font-size: clamp(32px, 4.5vw, 56px);
  letter-spacing: -0.03em;
  margin: 12px 0;
  color: var(--rm-ink);
}

.rmap-section-head p,
.rmap-stage-title p,
.rmap-signal p {
  color: var(--rm-muted);
  line-height: 1.7;
  margin: 0;
}

.rmap-filters {
  display: flex;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--rm-line);
  width: max-content;
  max-width: 100%;
  overflow: auto;
  margin-bottom: 48px;
  background: rgba(11, 17, 25, 0.85);
  border-radius: 10px;
}

.rmap-filters button {
  color: #7d899a;
  border: 0;
  background: none;
  padding: 9px 17px;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
}

.rmap-filters button.active {
  background: #222c38;
  color: white;
}

.rmap-stage {
  display: grid;
  grid-template-columns: 150px 1fr;
  position: relative;
}

.rmap-stage aside {
  position: relative;
  border-right: 1px solid #26313e;
  padding-top: 2px;
}

.rmap-stage-dot {
  position: absolute;
  right: -18px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #0b1119;
  border: 1px solid #3d4b5d;
}

.rmap-stage-dot span {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #253140;
  font-size: 10px;
}

.rmap-stage--0 .rmap-stage-dot span {
  background: var(--rm-accent);
  color: #071006;
}

.rmap-stage-name {
  display: block;
  font-size: 22px;
  font-weight: 800;
  font-family: var(--rm-font-head);
}

.rmap-stage aside small {
  color: #68768a;
  font-size: 9px;
  letter-spacing: 1px;
}

.rmap-stage-body { padding: 0 0 72px 48px; }

.rmap-stage-title {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
  margin-bottom: 22px;
}

.rmap-stage-title h3 {
  font-family: var(--rm-font-head);
  font-size: 26px;
  margin: 0 0 5px;
  color: var(--rm-ink);
}

.rmap-stage-title > span {
  font-size: 9px;
  color: #667488;
  letter-spacing: 2px;
  flex-shrink: 0;
}

.rmap-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.rmap-card {
  min-height: 200px;
  padding: 22px;
  background: linear-gradient(145deg, rgba(17, 25, 36, 0.94), rgba(12, 18, 27, 0.95));
  border: 1px solid var(--rm-line);
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: 0.25s ease;
  overflow: hidden;
  text-align: left;
  color: inherit;
  width: 100%;
  font: inherit;
}

.rmap-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 55%, rgba(87, 165, 255, 0.06));
  opacity: 0;
  transition: 0.25s;
}

.rmap-card:hover,
.rmap-card.expanded {
  transform: translateY(-3px);
  border-color: rgba(87, 165, 255, 0.45);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.23);
}

.rmap-card:hover::before,
.rmap-card.expanded::before { opacity: 1; }

.rmap-card-top { display: flex; align-items: center; position: relative; z-index: 1; }

.rmap-tag {
  font-size: 8px;
  letter-spacing: 2px;
  color: #78869a;
}

.rmap-chev {
  margin-left: auto;
  color: #68788f;
  font-size: 18px;
}

.rmap-card h4 {
  font-family: var(--rm-font-head);
  font-size: 18px;
  margin: 22px 0 10px;
  position: relative;
  z-index: 1;
  color: var(--rm-ink);
}

.rmap-card > p {
  color: #8996a8;
  font-size: 13px;
  line-height: 1.65;
  margin: 0;
  max-width: 490px;
  position: relative;
  z-index: 1;
}

.rmap-signal {
  position: relative;
  margin: 0 0 40px;
  padding: 64px 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  border: 1px solid var(--rm-line);
  border-radius: 16px;
  background:
    radial-gradient(circle at 10% 50%, rgba(168, 138, 255, 0.1), transparent 35%),
    rgba(12, 18, 27, 0.9);
  z-index: 1;
}

.rmap-signal h2 { font-size: clamp(28px, 4vw, 42px); margin: 10px 0; }
.rmap-signal p { max-width: 560px; }

.rmap-modal {
  position: fixed;
  inset: 0;
  background: rgba(2, 5, 9, 0.82);
  backdrop-filter: blur(12px);
  z-index: 80;
  display: none;
  place-items: center;
  padding: 20px;
}

.rmap-modal.is-open { display: grid; }

.rmap-modal-panel {
  width: min(640px, 100%);
  background: #101722;
  border: 1px solid #344154;
  border-radius: 16px;
  padding: 40px;
  position: relative;
  animation: rmap-rise 0.3s ease;
  color: var(--rm-ink);
}

.rmap-modal-close {
  position: absolute;
  right: 14px;
  top: 10px;
  background: none;
  color: white;
  border: 0;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}

.rmap-modal ul { padding: 0; list-style: none; margin: 20px 0 0; }
.rmap-modal li {
  display: flex;
  flex-direction: column;
  gap: 5px;
  border-top: 1px solid var(--rm-line);
  padding: 16px 0;
}
.rmap-modal li span { color: var(--rm-muted); font-size: 13px; }

.rmap-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 8px 0 24px;
  position: relative;
  z-index: 1;
}

@keyframes rmap-rise {
  from { opacity: 0; transform: translateY(15px); }
}

@media (max-width: 980px) {
  .rmap-hero h1 { position: relative; z-index: 2; }
  .rmap-status { grid-template-columns: 1fr; max-width: 520px; }
  .rmap-signal { grid-template-columns: 1fr; }
  .rmap-cards { grid-template-columns: 1fr; }
  .rmap-section-head { align-items: start; flex-direction: column; }
}

@media (max-width: 650px) {
  .rmap-hero { padding: 24px 0 64px; min-height: 0; }
  .rmap-hero::before { width: 420px; height: 420px; right: -280px; top: 120px; }
  .rmap-hero h1 { font-size: 40px; }
  .rmap-hero > p { font-size: 15px; }
  .rmap-hero-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .rmap-status { margin-top: 32px; }
  .rmap-section { padding: 56px 0; }
  .rmap-filters { margin-bottom: 36px; width: 100%; }
  .rmap-stage { grid-template-columns: 38px 1fr; }
  .rmap-stage aside > .rmap-stage-name,
  .rmap-stage aside > small { display: none; }
  .rmap-stage-dot { right: -17px; }
  .rmap-stage-body { padding: 0 0 56px 28px; }
  .rmap-stage-title { display: block; }
  .rmap-stage-title h3 { font-size: 22px; }
  .rmap-stage-title > span { display: block; margin-top: 10px; }
  .rmap-card { min-height: 0; }
  .rmap-signal {
    margin: 0 0 24px;
    padding: 40px 22px;
    display: block;
  }
  .rmap-signal h2 { font-size: 30px; }
  .rmap-signal .rmap-btn-primary { margin-top: 22px; display: inline-flex; }
  .rmap-modal-panel { padding: 32px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .rmap * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
