.roadmap-strip{
    max-width:1100px;
    margin: 2.2rem auto 2.2rem;
    padding: 0 1rem;
  }

  .roadmap-head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:1rem;
    margin-bottom: .9rem;
  }

  .roadmap-head h2{
    margin:0;
    font-size:1.35rem;
    font-weight:900;
    letter-spacing:-.01em;
    color:#0b0b0b;
  }

  .roadmap-head p{
    margin:0;
    color:#6a6a6a;
    font-size:.98rem;
  }

  .roadmap-line{
    --dot: 34px;
    --lineY: 26px;
    position: relative;
    display:grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding: 10px 10px 12px;
    border-radius: 14px;
    border: 1px solid #e8e8e8;
    background: #FEFEFE;
    overflow: hidden;
  }

  .roadmap-line::before{
    content:"";
    position:absolute;
    left: 22px;
    right: 22px;
    top: var(--lineY);
    height: 2px;
    border-radius: 999px;
    background: #cfcfcf;
    opacity: .95;
  }

  .roadmap-line::after{
    content:"";
    position:absolute;
    top: calc(var(--lineY) - 5px);
    right: 18px;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 8px solid #cfcfcf;
  }

  .roadmap-step{
    position: relative;
    display:grid;
    grid-template-columns: 36px 1fr;
    gap: 10px;
    align-items:start;
    padding-top: calc(var(--lineY) - (var(--dot) / 2) - 6px);
    min-height: 76px;
  }

  .roadmap-dot{
    width: var(--dot);
    height: var(--dot);
    border-radius: 12px;
    border: 1px solid #ececec;
    background: #fff;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-top: 0;
  }

  @media (prefers-reduced-motion: reduce){}

  .roadmap-dot .material-symbols-outlined{
    font-size: 20px;
    color: #222;
    opacity: .9;
  }

  .roadmap-meta{
    padding-top: 2px;
  }

  .roadmap-chip{
    height: 22px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding: 0 9px;
    border-radius: 999px;
    font-size: .74rem;
    font-weight: 800;
    line-height: 1;
    border: 1px solid #e6e6e6;
    background: #f4f4f4;
    color: #333;
    white-space: nowrap;
  }

  .roadmap-chip.chip-soft{
    background:#eaf8ef;
    border-color:#cfeedd;
    color:#1f7a3e;
  }

  .roadmap-chip.chip-blue{
    background:#eff6ff;
    border-color:#d7e6ff;
    color:#1f63e6;
    animation: chip-pulse 2.4s ease-out infinite;
  }

  .roadmap-chip.chip-green{
    background:#fff4da;
    border-color:#f1ddb0;
    color:#8a6a1f;
  }

  .roadmap-title{
    margin-top: 10px;
    font-size: 1.02rem;
    font-weight: 900;
    letter-spacing: -.01em;
    color:#1a1a1a;
    line-height: 1.15;
  }

  .roadmap-sub{
    margin-top: 4px;
    font-size: .93rem;
    color:#6a6a6a;
    line-height: 1.35;
    max-width: 34ch;
  }

  @keyframes chip-pulse{
    0%{
      box-shadow: 0 0 0 0 rgba(31,99,230,.35);
      filter: blur(0);
    }
    70%{
      box-shadow: 0 0 0 8px rgba(31,99,230,0);
      filter: blur(.2px);
    }
    100%{
      box-shadow: 0 0 0 0 rgba(31,99,230,0);
      filter: blur(0);
    }
  }

  /* ── Dark mode (desktop) — must come BEFORE the mobile media query ── */

  .dark-mode .roadmap-head h2{color:#fff}
  .dark-mode .roadmap-head p{color:#b6b6b6}

  .dark-mode .roadmap-line{
    background: linear-gradient(180deg,#171717,#141414);
    border-color: #2b2b2f;
  }

  .dark-mode .roadmap-line::before{
    background: #6b6b6b;
  }

  .dark-mode .roadmap-line::after{
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 8px solid #6b6b6b;
  }

  .dark-mode .roadmap-dot{
    background:#101010;
    border-color:#2b2b2f;
  }

  .dark-mode .roadmap-dot .material-symbols-outlined{color:#eaeaea; opacity:.85}

  .dark-mode .roadmap-title{color:#e6e6e6}
  .dark-mode .roadmap-sub{color:#c8c8c8}

  .dark-mode .roadmap-chip{
    background:#101010;
    border-color:#2a2a2a;
    color:#d8d8d8;
  }

  .dark-mode .roadmap-chip.chip-soft{
    background:#102418;
    border-color:#1e4a30;
    color:#9be4b2;
  }

  .dark-mode .roadmap-chip.chip-green{
    background:#2a2412;
    border-color:#5a4a1e;
    color:#f0d28a;
  }

  .dark-mode .roadmap-chip.chip-blue{
    background:#0f1b35;
    border-color:#2a4a96;
    color:#8fb1ff;
    animation: chip-pulse-dark 2.4s ease-out infinite;
  }

  @keyframes chip-pulse-dark{
    0%{
      box-shadow: 0 0 0 0 rgba(143,177,255,.35);
      filter: blur(0);
    }
    70%{
      box-shadow: 0 0 0 8px rgba(143,177,255,0);
      filter: blur(.2px);
    }
    100%{
      box-shadow: 0 0 0 0 rgba(143,177,255,0);
      filter: blur(0);
    }
  }

  /* ── Mobile (overrides both light and dark desktop rules above) ── */

  @media (max-width: 960px) {
    .roadmap-line {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 12px 12px 14px;
    }

    .roadmap-chip {
        display: inline-flex;
        height: 24px;
        font-size: .78rem;
        padding: 0 10px;
        margin-bottom: 6px;
    }

    /* Vertical line through the dot column */
    .roadmap-line::before {
        left: 28px;
        right: auto;
        top: 12px;
        bottom: 14px;
        width: 2px;
        height: auto;
        border-radius: 999px;
        background: #cfcfcf;
    }

    /* Downward arrow at the bottom */
    .roadmap-line::after {
        top: auto;
        right: auto;
        left: 24px;
        bottom: 8px;
        width: 0;
        height: 0;
        border-top: 8px solid #cfcfcf;
        border-bottom: none;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
    }

    /* Reset step layout for vertical flow */
    .roadmap-step {
        padding-top: 0;
        min-height: unset;
        align-items: flex-start;
        gap: 12px;
    }

    .roadmap-dot { margin-top: 0; }
    .roadmap-meta { padding-top: 2px; }
    .roadmap-title { margin-top: 0; font-size: 0.96rem; }

    .roadmap-sub {
        max-width: none;
        font-size: 0.88rem;
        line-height: 1.45;
    }

    /* Dark mode mobile — overrides desktop dark rules above */
    .dark-mode .roadmap-line::before { background: #6b6b6b; }

    .dark-mode .roadmap-line::after {
        border-top: 8px solid #6b6b6b;
        border-bottom: none;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
    }
  }
