.roadmap-body {
  min-height: 100vh;
  overflow-x: hidden;
  color: #28233c;
  background:
    radial-gradient(circle at 76% 5%, rgba(202, 180, 255, .38), transparent 32%),
    radial-gradient(circle at 12% 12%, rgba(255, 213, 226, .54), transparent 34%),
    linear-gradient(180deg, #fff8f6 0%, #fffaf8 58%, #fff6f1 100%);
}

/* TEMPLATE TYPOGRAPHY ROLLOUT START
   Easy rollback: remove this block together with the matching block in styles.css. */
.roadmap-body {
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.roadmap-body button,
.roadmap-body input,
.roadmap-body select,
.roadmap-body textarea {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Arial, sans-serif;
}

.roadmap-topbar .logo,
.roadmap-hero h1,
.roadmap-body h1,
.roadmap-body h2,
.roadmap-body h3,
.roadmap-section .section-head h2,
.roadmap-section h2,
.roadmap-card h3 {
  font-family: Georgia, "Times New Roman", serif;
}
/* TEMPLATE TYPOGRAPHY ROLLOUT END */

.roadmap-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 86px;
  background: rgba(255, 248, 246, .62);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
}

.roadmap-topbar .logo {
  width: auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: #7f608e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}

.roadmap-topbar .logo i {
  width: 15px;
  height: 15px;
  display: inline-block;
  background: #8b5ad8;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}

.roadmap-topbar .header-actions {
  display: flex;
}

.roadmap-link {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(90deg, #4a2b88, #8e58d8);
  box-shadow: 0 14px 34px rgba(104, 73, 164, .18);
}

.roadmap-hero {
  position: relative;
  width: min(1160px, calc(100vw - 64px));
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(300px, .58fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  margin: 0 auto;
  padding: clamp(64px, 7vw, 96px) 0 clamp(40px, 5vw, 66px);
  isolation: isolate;
}

.roadmap-hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  top: -8px;
  right: -92px;
  width: min(620px, 52vw);
  height: 560px;
  background: url("/assets/connected/hero-woman-alpha-cutout.png") center top / contain no-repeat;
  opacity: .36;
  filter: drop-shadow(0 30px 86px rgba(132, 83, 180, .12));
  -webkit-mask-image: radial-gradient(ellipse 500px 410px at 50% 42%, #000 0%, #000 38%, rgba(0, 0, 0, .48) 66%, transparent 100%);
  mask-image: radial-gradient(ellipse 500px 410px at 50% 42%, #000 0%, #000 38%, rgba(0, 0, 0, .48) 66%, transparent 100%);
}

.roadmap-hero::after {
  content: none;
}

.roadmap-hero h1 {
  max-width: 780px;
  margin: 28px 0 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 5vw, 68px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.04em;
}

.roadmap-hero .lead {
  max-width: 700px;
  margin: 0;
  color: #5d5570;
  font-size: 20px;
  line-height: 1.72;
}

.roadmap-summary {
  display: grid;
  gap: 14px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 28px;
  background: rgba(255, 255, 255, .54);
  box-shadow: 0 24px 90px rgba(120, 72, 156, .11), inset 0 1px 0 rgba(255, 255, 255, .46);
  -webkit-backdrop-filter: blur(28px) saturate(1.16);
  backdrop-filter: blur(28px) saturate(1.16);
}

.roadmap-summary div {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(99, 75, 117, .12);
}

.roadmap-summary div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.roadmap-summary span,
.roadmap-card-head span {
  display: block;
  color: #776c84;
  font-size: 13px;
  font-weight: 800;
}

.roadmap-summary strong {
  display: block;
  margin-top: 6px;
  color: #28233c;
  font-size: 19px;
}

.roadmap-section {
  width: min(1160px, calc(100vw - 64px));
  margin: 0 auto;
  padding: clamp(54px, 7vw, 96px) 0;
}

.roadmap-section .section-head {
  margin-bottom: 34px;
}

.roadmap-section .section-head h2 {
  max-width: 850px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.026em;
}

.roadmap-timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.roadmap-card,
.done-grid article,
.decision-grid article {
  position: relative;
  min-height: 0;
  padding: 28px;
  border: 1px solid rgba(99, 75, 117, .12);
  border-radius: 24px;
  background: rgba(255, 255, 255, .46);
  box-shadow: 0 18px 54px rgba(120, 72, 156, .08);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  overflow: hidden;
}

.roadmap-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(139, 90, 216, .42), transparent);
  opacity: .55;
}

.roadmap-card.active {
  border-color: rgba(139, 90, 216, .46);
  box-shadow: 0 26px 85px rgba(109, 61, 228, .14);
}

.roadmap-card.done-card {
  border-color: rgba(155, 183, 170, .44);
  background: rgba(255, 255, 255, .56);
}

.roadmap-card.critical {
  border-color: rgba(200, 155, 95, .34);
  background: linear-gradient(135deg, rgba(255, 255, 255, .54), rgba(255, 244, 222, .46));
}

.roadmap-card.later {
  opacity: .92;
}

.roadmap-marker {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, #4a2b88, #8e58d8);
  font-weight: 900;
  box-shadow: 0 14px 32px rgba(109, 61, 228, .2);
}

.roadmap-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  margin-bottom: 16px;
}

.roadmap-card-head b {
  color: #fff;
  background: linear-gradient(90deg, #4a2b88, #8e58d8);
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 11px;
  text-transform: uppercase;
}

.roadmap-card h3 {
  margin: 0;
  color: #28233c;
  font-size: clamp(27px, 2.4vw, 38px);
  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 800;
}

.roadmap-card p,
.decision-grid p {
  color: #5d5570;
  line-height: 1.72;
}

.roadmap-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: #3f374f;
}

.roadmap-checklist li {
  position: relative;
  min-height: 32px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 9px 11px;
  border: 1px solid rgba(99, 75, 117, .12);
  border-radius: 12px;
  background: rgba(255, 255, 255, .48);
  line-height: 1.45;
}

.roadmap-checklist li::before {
  content: "";
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  margin-top: 1px;
  border: 1px solid rgba(139, 90, 216, .38);
  border-radius: 5px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  background: rgba(255, 255, 255, .72);
}

.roadmap-checklist li.done {
  color: #8a7e94;
}

.roadmap-checklist li.done::before {
  content: "✓";
  background: linear-gradient(135deg, #4a2b88, #8e58d8);
}

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

.done-grid b,
.decision-grid b {
  display: block;
  color: #28233c;
  font-size: 20px;
  margin-bottom: 14px;
}

.done-grid .roadmap-checklist {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0;
}

.decision-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.decision-grid article {
  min-height: 210px;
}

@media (max-width: 1180px) {
  .roadmap-hero,
  .decision-grid {
    grid-template-columns: 1fr;
  }

  .roadmap-hero {
    align-items: start;
  }
}

@media (max-width: 900px) {
  .roadmap-topbar {
    padding-inline: 18px;
  }

  .roadmap-topbar .nav,
  .roadmap-topbar .header-actions {
    display: none;
  }

  .roadmap-hero,
  .roadmap-section {
    width: calc(100vw - 28px);
  }

  .roadmap-hero {
    min-height: auto;
    padding-top: 48px;
    padding-bottom: 40px;
  }

  .roadmap-hero::before {
    top: 38px;
    right: -150px;
    width: 470px;
    height: 430px;
    opacity: .18;
  }

  .roadmap-hero::after {
    content: none;
  }
}

@media (max-width: 720px) {
  .roadmap-body,
  .roadmap-section,
  .roadmap-hero,
  .roadmap-timeline,
  .done-grid,
  .decision-grid,
  .roadmap-card,
  .done-grid article {
    min-width: 0;
    max-width: 100%;
  }

  .roadmap-hero h1 {
    font-size: clamp(40px, 11vw, 54px);
  }

  .roadmap-hero .lead {
    font-size: 17px;
  }

  .roadmap-section {
    padding-top: 46px;
    padding-bottom: 46px;
  }

  .roadmap-summary,
  .roadmap-card,
  .decision-grid article {
    border-radius: 18px;
    padding: 20px;
  }

  .done-grid,
  .roadmap-checklist,
  .decision-grid {
    grid-template-columns: 1fr;
  }

  .done-grid article {
    padding: 20px;
  }

  .roadmap-card-head {
    display: grid;
  }

  .roadmap-checklist li {
    width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 380px) {
  .roadmap-hero,
  .roadmap-section {
    width: calc(100vw - 24px);
  }

  .roadmap-summary,
  .roadmap-card,
  .done-grid article,
  .decision-grid article {
    padding: 16px;
  }
}

/* TEMPLATE TYPOGRAPHY ROLLOUT FINAL OVERRIDE */
.roadmap-body {
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.roadmap-body button,
.roadmap-body input,
.roadmap-body select,
.roadmap-body textarea {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Arial, sans-serif;
}

.roadmap-topbar .logo,
.roadmap-hero h1,
.roadmap-body h1,
.roadmap-body h2,
.roadmap-body h3,
.roadmap-section .section-head h2,
.roadmap-section h2,
.roadmap-card h3 {
  font-family: Georgia, "Times New Roman", serif;
}
