
      /* -- Hero -- */
      .roadmap-hero {
        text-align: center;
        padding: 36px 0 32px;
      }
      .roadmap-hero__icon {
        width: 56px;
        height: 56px;
        margin: 0 auto 18px;
        background: linear-gradient(135deg, #f09a0f 0%, #e72c83 100%);
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        color: #fff;
        box-shadow: 0 6px 20px rgba(240, 154, 15, 0.25);
      }
      .roadmap-hero h1 {
        color: var(--text-blue);
        font-size: clamp(1.6rem, 4vw, 2.1rem);
        font-weight: 800;
        margin-bottom: 8px;
        letter-spacing: -0.02em;
      }
      .roadmap-hero h1 span {
        background: linear-gradient(90deg, #f09a0f, #e72c83);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
      }
      .roadmap-hero__divider {
        width: 50px;
        height: 3px;
        background: linear-gradient(90deg, #f09a0f, #e72c83);
        border-radius: 2px;
        margin: 12px auto 16px;
        opacity: 0.6;
      }
      .roadmap-hero__subtitle {
        color: var(--black);
        opacity: 0.7;
        font-size: 1rem;
        max-width: 540px;
        line-height: 1.65;
        margin: 0 auto 24px;
      }
      .roadmap-hero__cta {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 12px;
        margin-bottom: 28px;
      }
      .roadmap-hero__cta-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        min-width: 240px;
        max-width: 100%;
        gap: 8px;
        margin: 0;
        border: 0;
        font-family: inherit;
        line-height: 1.5;
        cursor: pointer;
        padding: 12px 28px;
        background: linear-gradient(135deg, #f09a0f 0%, #e67e22 100%);
        color: #fff;
        font-size: 0.95rem;
        font-weight: 600;
        border-radius: 50px;
        text-decoration: none;
        box-shadow: 0 4px 14px rgba(240, 154, 15, 0.3);
        transition: transform 0.2s, box-shadow 0.2s;
      }
      .roadmap-hero__cta-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(240, 154, 15, 0.4);
        color: #fff;
        text-decoration: none;
      }
      .roadmap-hero__levels {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 32px;
        flex-wrap: wrap;
        margin-bottom: 16px;
      }
      .roadmap-hero__level {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 0.9rem;
        color: var(--black);
        opacity: 0.8;
      }
      .roadmap-hero__level i {
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        font-size: 14px;
      }
      .roadmap-hero__level.beginner i {
        background: rgba(34, 197, 94, 0.12);
        color: #22c55e;
      }
      .roadmap-hero__level.intermediate i {
        background: rgba(59, 130, 246, 0.12);
        color: #3b82f6;
      }
      .roadmap-hero__level.advanced i {
        background: rgba(139, 92, 246, 0.12);
        color: #8b5cf6;
      }
      .roadmap-hero__tip {
        font-size: 0.85rem;
        font-weight: 500;
        color: var(--black);
        opacity: 0.6;
        margin: 0;
      }
      .roadmap-hero__tip i {
        color: #f09a0f;
        margin-right: 6px;
      }

      /* Dark theme hero */
      [data-theme="dark"] .roadmap-hero__level { opacity: 0.85; }
      [data-theme="dark"] .roadmap-hero__level.beginner i { background: rgba(34, 197, 94, 0.2); }
      [data-theme="dark"] .roadmap-hero__level.intermediate i { background: rgba(59, 130, 246, 0.2); }
      [data-theme="dark"] .roadmap-hero__level.advanced i { background: rgba(139, 92, 246, 0.2); }
      [data-theme="dark"] .roadmap-hero__subtitle { color: rgba(255, 255, 255, 0.75); }
      [data-theme="dark"] .roadmap-hero__tip { color: rgba(255, 255, 255, 0.6); }
      body.dark-theme .roadmap-hero__level { opacity: 0.85; }
      body.dark-theme .roadmap-hero__level.beginner i { background: rgba(34, 197, 94, 0.2); }
      body.dark-theme .roadmap-hero__level.intermediate i { background: rgba(59, 130, 246, 0.2); }
      body.dark-theme .roadmap-hero__level.advanced i { background: rgba(139, 92, 246, 0.2); }
      body.dark-theme .roadmap-hero__subtitle { color: rgba(255, 255, 255, 0.75); }
      body.dark-theme .roadmap-hero__tip { color: rgba(255, 255, 255, 0.6); }

      /* -- Progress Journey bar -- */
      .journey-bar {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0;
        margin: 0 auto 48px;
        max-width: 600px;
        padding: 0 16px;
      }
      .journey-step {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        flex: 1;
        position: relative;
      }
      .journey-step-dot {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        font-weight: 700;
        color: #fff;
        position: relative;
        z-index: 1;
        box-shadow: 0 4px 14px rgba(0,0,0,0.15);
      }
      .journey-step.b .journey-step-dot { background: linear-gradient(135deg, #22c55e, #16a34a); }
      .journey-step.i .journey-step-dot { background: linear-gradient(135deg, #3b82f6, #2563eb); }
      .journey-step.a .journey-step-dot { background: linear-gradient(135deg, #a855f7, #7c3aed); }
      .journey-step-label {
        font-size: 0.75rem;
        font-weight: 600;
        color: var(--text-blue);
        text-align: center;
        white-space: nowrap;
      }
      .journey-connector {
        flex: 2;
        height: 4px;
        background: linear-gradient(90deg, #22c55e, #3b82f6);
        margin-bottom: 24px;
        border-radius: 2px;
        position: relative;
        overflow: hidden;
      }
      .journey-connector.right {
        background: linear-gradient(90deg, #3b82f6, #a855f7);
      }
      .journey-connector::after {
        content: '';
        position: absolute;
        top: 0; left: -100%;
        width: 100%; height: 100%;
        background: rgba(255,255,255,0.5);
        animation: shimmer-h 2.4s infinite;
      }
      @keyframes shimmer-h {
        to { left: 100%; }
      }

      /* -- Timeline wrapper -- */
      .roadmap-section {
        padding: 0 0 72px;
      }
      .level-header {
        display: flex;
        align-items: center;
        gap: 14px;
        margin-bottom: 36px;
        padding: 18px 24px;
        border-radius: 12px;
        position: relative;
        overflow: hidden;
      }
      .level-header::before {
        content: '';
        position: absolute;
        inset: 0;
        opacity: 0.07;
        background: inherit;
      }
      .level-header.beginner     { background: linear-gradient(135deg, #d1fae5, #a7f3d0); border-left: 5px solid #22c55e; }
      .level-header.intermediate { background: linear-gradient(135deg, #dbeafe, #bfdbfe); border-left: 5px solid #3b82f6; }
      .level-header.advanced     { background: linear-gradient(135deg, #ede9fe, #ddd6fe); border-left: 5px solid #a855f7; }

      body.dark-theme .level-header.beginner     { background: linear-gradient(135deg, #052e16, #064e3b); border-color: #22c55e; }
      body.dark-theme .level-header.intermediate { background: linear-gradient(135deg, #0c1e44, #1e3a8a); border-color: #3b82f6; }
      body.dark-theme .level-header.advanced     { background: linear-gradient(135deg, #1d0038, #4c1d95); border-color: #a855f7; }

      .level-icon {
        width: 52px;
        height: 52px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.3rem;
        color: #fff;
        flex-shrink: 0;
        box-shadow: 0 4px 16px rgba(0,0,0,0.18);
      }
      .beginner  .level-icon { background: linear-gradient(135deg, #22c55e, #16a34a); }
      .intermediate .level-icon { background: linear-gradient(135deg, #3b82f6, #2563eb); }
      .advanced  .level-icon { background: linear-gradient(135deg, #a855f7, #7c3aed); }

      .level-header-text h2 {
        font-size: 1.35rem;
        font-weight: 800;
        margin: 0 0 2px;
        color: var(--text-blue);
      }
      .level-header-text p {
        margin: 0;
        font-size: 0.88rem;
        color: var(--black-07);
      }
      .level-count-badge {
        margin-left: auto;
        padding: 4px 12px;
        border-radius: 50px;
        font-size: 0.75rem;
        font-weight: 700;
        color: #fff;
      }
      .beginner  .level-count-badge { background: #22c55e; }
      .intermediate .level-count-badge { background: #3b82f6; }
      .advanced  .level-count-badge { background: #a855f7; }

      /* -- Timeline track -- */
      .timeline {
        position: relative;
        padding: 0 0 20px;
      }
      .timeline::before {
        content: '';
        position: absolute;
        left: 24px;
        top: 0;
        bottom: 0;
        width: 3px;
        background: var(--timeline-color, #e5e7eb);
        border-radius: 2px;
      }
      @media (min-width: 768px) {
        .timeline::before {
          left: 50%;
          transform: translateX(-50%);
        }
      }
      .beginner-timeline  { --timeline-color: #86efac; }
      .intermediate-timeline { --timeline-color: #93c5fd; }
      .advanced-timeline  { --timeline-color: #c4b5fd; }

      body.dark-theme .beginner-timeline  { --timeline-color: #166534; }
      body.dark-theme .intermediate-timeline { --timeline-color: #1d4ed8; }
      body.dark-theme .advanced-timeline  { --timeline-color: #6d28d9; }

      /* -- Timeline items -- */
      .timeline-item {
        position: relative;
        padding: 0 0 24px 60px;
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.5s ease, transform 0.5s ease;
      }
      .timeline-item.visible {
        opacity: 1;
        transform: translateY(0);
      }
      @media (min-width: 768px) {
        .timeline-item {
          width: 50%;
          padding: 0 48px 28px 0;
          text-align: right;
          left: 0;
        }
        .timeline-item.right {
          left: 50%;
          padding: 0 0 28px 48px;
          text-align: left;
        }
      }

      /* Node dot */
      .timeline-node {
        position: absolute;
        left: 12px;
        top: 10px;
        width: 26px;
        height: 26px;
        border-radius: 50%;
        border: 3px solid #fff;
        box-shadow: 0 0 0 3px var(--node-ring, #22c55e), 0 4px 12px rgba(0,0,0,0.15);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.7rem;
        color: #fff;
        z-index: 2;
        cursor: pointer;
        transition: transform 0.25s ease, box-shadow 0.25s ease;
        flex-shrink: 0;
      }
      body.dark-theme .timeline-node {
        border-color: var(--white);
      }
      .beginner-timeline  .timeline-node { background: #22c55e; --node-ring: #22c55e; }
      .intermediate-timeline .timeline-node { background: #3b82f6; --node-ring: #3b82f6; }
      .advanced-timeline  .timeline-node { background: #a855f7; --node-ring: #a855f7; }

      @media (min-width: 768px) {
        .timeline-node {
          left: auto;
          right: -13px;
          top: 12px;
        }
        .timeline-item.right .timeline-node {
          left: -13px;
          right: auto;
        }
      }

      .timeline-node:hover,
      .timeline-node:focus {
        transform: scale(1.3);
        box-shadow: 0 0 0 6px var(--node-ring, #22c55e), 0 6px 20px rgba(0,0,0,0.2);
        outline: none;
      }

      /* -- Milestone card -- */
      .milestone-card,
      .topic-card {
        background: var(--white);
        border: 1px solid var(--black-01);
        border-radius: 10px;
        padding: 14px 18px;
        position: relative;
        transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
        cursor: default;
      }
      .milestone-card:hover,
      .topic-card:hover {
        box-shadow: 0 8px 28px rgba(0,0,0,0.1);
        transform: translateY(-2px);
      }
      .beginner-timeline  .milestone-card:hover,
      .beginner-timeline  .topic-card:hover { border-color: #22c55e; }
      .intermediate-timeline .milestone-card:hover,
      .intermediate-timeline .topic-card:hover { border-color: #3b82f6; }
      .advanced-timeline  .milestone-card:hover,
      .advanced-timeline  .topic-card:hover { border-color: #a855f7; }

      .milestone-card-header,
      .topic-card-header {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 6px;
      }
      @media (min-width: 768px) {
        .timeline-item:not(.right) .milestone-card-header,
        .timeline-item:not(.right) .topic-card-header {
          flex-direction: row-reverse;
        }
      }
      .milestone-num,
      .topic-num {
        font-size: 0.7rem;
        font-weight: 700;
        color: #fff;
        width: 22px;
        height: 22px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
      }
      .beginner-timeline  .milestone-num,
      .beginner-timeline  .topic-num { background: #22c55e; }
      .intermediate-timeline .milestone-num,
      .intermediate-timeline .topic-num { background: #3b82f6; }
      .advanced-timeline  .milestone-num,
      .advanced-timeline  .topic-num { background: #a855f7; }

      .milestone-title,
      .topic-title {
        font-size: 0.95rem;
        font-weight: 700;
        color: var(--text-blue);
        margin: 0;
        flex: 1;
      }
      .milestone-desc,
      .topic-desc {
        font-size: 0.83rem;
        color: var(--black-07);
        margin: 0;
        line-height: 1.5;
      }
      @media (min-width: 768px) {
        .timeline-item:not(.right) .milestone-desc {
          text-align: right;
        }
      }

      /* -- Tooltip -- */
      .milestone-tooltip {
        position: absolute;
        bottom: calc(100% + 10px);
        left: 50%;
        transform: translateX(-50%) scale(0.9);
        background: #1e293b;
        color: #f8fafc;
        font-size: 0.78rem;
        line-height: 1.45;
        padding: 9px 13px;
        border-radius: 8px;
        width: 220px;
        text-align: center;
        pointer-events: none;
        opacity: 0;
        transition: opacity 0.2s ease, transform 0.2s ease;
        z-index: 10;
        box-shadow: 0 8px 24px rgba(0,0,0,0.25);
      }
      .milestone-tooltip::after {
        content: '';
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        border: 6px solid transparent;
        border-top-color: #1e293b;
      }
      .milestone-card:hover .milestone-tooltip {
        opacity: 1;
        transform: translateX(-50%) scale(1);
      }

      /* -- Completion badge -- */
      .roadmap-complete {
        text-align: center;
        padding: 40px 20px 60px;
      }
      .complete-circle {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        background: linear-gradient(135deg, #f09a0f, #e67e00);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
        color: #fff;
        margin-bottom: 16px;
        box-shadow: 0 6px 24px rgba(240,154,15,0.4);
        animation: pulse-glow 2.5s infinite;
      }
      @keyframes pulse-glow {
        0%, 100% { box-shadow: 0 6px 24px rgba(240,154,15,0.4); }
        50%       { box-shadow: 0 6px 40px rgba(240,154,15,0.7); }
      }
      .roadmap-complete h2 {
        font-size: 1.4rem;
        font-weight: 800;
        color: var(--text-blue);
        margin-bottom: 8px;
      }
      .roadmap-complete p {
        font-size: 0.95rem;
        color: var(--black-07);
        max-width: 480px;
        margin: 0 auto 20px;
      }
      .btn-roadmap-cta {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: var(--pri-yellow);
        color: #fff;
        font-weight: 700;
        font-size: 0.9rem;
        padding: 10px 26px;
        border-radius: 8px;
        text-decoration: none;
        border: none;
        transition: background 0.2s ease, transform 0.2s ease;
      }
      .btn-roadmap-cta:hover {
        background: #d98a0d;
        color: #fff;
        transform: translateY(-2px);
        text-decoration: none;
      }

      /* -- SVG path animation -- */
      .roadmap-svg-accent {
        display: block;
        width: 100%;
        max-width: 100px;
        margin: 0 auto 8px;
        opacity: 0.18;
      }

      /* -- Sticky progress indicator -- */
      .reading-progress-bar {
        position: fixed;
        top: 0;
        left: 0;
        height: 3px;
        background: linear-gradient(90deg, #22c55e, #3b82f6, #a855f7);
        z-index: 9999;
        width: 0%;
        transition: width 0.1s linear;
      }

      /* -- Responsive tweaks -- */
      @media (max-width: 767px) {
        .timeline::before { left: 18px; }
        .timeline-item { padding-left: 50px; }
        .timeline-node { left: 6px; width: 24px; height: 24px; }
        .level-count-badge { display: none; }
        .milestone-tooltip { width: 180px; font-size: 0.75rem; }

        /* Hero mobile padding */
        .roadmap-hero { padding: 28px 0 24px; }
        .roadmap-hero__icon {
          width: 48px;
          height: 48px;
          font-size: 20px;
        }
        .roadmap-hero h1 { font-size: 1.4rem; }
        .roadmap-hero__subtitle { font-size: 0.9rem; }
        .roadmap-hero__levels { gap: 18px; }
        .roadmap-hero__level {
          font-size: 0.82rem;
          gap: 8px;
        }
        .roadmap-hero__level i {
          width: 28px;
          height: 28px;
          font-size: 12px;
        }
        .roadmap-hero__tip { font-size: 0.78rem; }

        /* Journey bar tighter on mobile */
        .journey-bar { margin-bottom: 28px; }
        .journey-step-dot { width: 36px; height: 36px; font-size: 0.95rem; }
        .journey-step-label { font-size: 0.7rem; }

        /* Hint tip tighter */
        .hint-tip { margin: 0 auto 28px; font-size: 0.82rem; }

        /* Section spacing */
        .roadmap-section { padding: 0 0 44px; }
        .level-header { padding: 14px 16px; margin-bottom: 20px; }
        .timeline-item { padding-bottom: 16px; margin-bottom: 16px; }

        /* CTA section */
        .roadmap-cta-section { padding: 28px 20px 44px; }
      }

      /* -- Section fade-in -- */
      .roadmap-section {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s ease, transform 0.6s ease;
      }
      .roadmap-section.section-visible {
        opacity: 1;
        transform: translateY(0);
      }

      /* -- Animated connector between levels -- */
      .level-connector {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 8px 0 28px;
        gap: 4px;
      }
      .level-connector-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        animation: bounce-dot 1.2s infinite;
      }
      .level-connector-dot:nth-child(1) { animation-delay: 0s;    background: #22c55e; }
      .level-connector-dot:nth-child(2) { animation-delay: 0.2s;  background: #3b82f6; }
      .level-connector-dot:nth-child(3) { animation-delay: 0.4s;  background: #a855f7; }
      @keyframes bounce-dot {
        0%, 80%, 100% { transform: scale(1); opacity: 0.6; }
        40%            { transform: scale(1.4); opacity: 1; }
      }

      /* -- Level > milestone > topic hierarchy -- */
      .roadmap-structure {
        padding-bottom: 24px;
      }
      .roadmap-structure__summary {
        text-align: center;
        color: var(--black);
        opacity: 0.72;
        margin: 0 auto 32px;
        font-size: 0.95rem;
      }
      .roadmap-structure__summary strong {
        color: var(--text-blue);
      }
      .milestone-group {
        margin: 0 0 30px;
      }
      .milestone-group__heading {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
        column-gap: 12px;
        margin: 0 0 14px;
        padding: 14px 18px;
        border: 1px solid color-mix(in srgb, var(--milestone-color, #22c55e) 22%, transparent);
        border-left: 5px solid var(--milestone-color, #22c55e);
        border-radius: 14px;
        background: linear-gradient(135deg, color-mix(in srgb, var(--milestone-color, #22c55e) 16%, transparent) 0%, color-mix(in srgb, var(--milestone-color, #22c55e) 6%, transparent) 100%);
        box-shadow: 0 6px 18px color-mix(in srgb, var(--milestone-color, #22c55e) 12%, transparent);
        color: var(--text-blue);
        font-size: 1.1rem;
        font-weight: 700;
        line-height: 1.3;
      }
      .milestone-group__number {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
        padding: 4px 10px;
        border-radius: 999px;
        background: color-mix(in srgb, var(--milestone-color, #22c55e) 62%, #000);
        color: #fff;
        font-size: 0.72rem;
        font-weight: 800;
        letter-spacing: 0.02em;
        line-height: 1.2;
        white-space: nowrap;
      }
      .milestone-group__heading > span:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
        min-width: 0;
        text-wrap: balance;
      }
      .milestone-group__count {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        padding: 4px 10px;
        border-radius: 999px;
        background: color-mix(in srgb, var(--milestone-color, #22c55e) 14%, transparent);
        color: color-mix(in srgb, var(--milestone-color, #22c55e) 62%, #000);
        font-size: 0.75rem;
        font-weight: 700;
        line-height: 1.2;
        white-space: nowrap;
      }
      body.dark-theme .milestone-group__count {
        color: color-mix(in srgb, var(--milestone-color, #22c55e) 55%, #fff);
      }
      .milestone-group .timeline {
        padding-bottom: 0;
      }
      .milestone-group .timeline::before {
        top: 4px;
        bottom: 4px;
      }
      .legacy-roadmap-sections {
        display: none;
      }
      @media (max-width: 767px) {
        .milestone-group__heading {
          grid-template-columns: auto minmax(0, 1fr);
          row-gap: 8px;
          padding: 12px 14px;
          border-radius: 12px;
          font-size: 1rem;
        }
        .milestone-group__heading > span:nth-child(2) {
          grid-column: 1 / -1;
          grid-row: 2;
        }
        .milestone-group__count {
          grid-column: 2;
        }
      }
    