/* "How a Deal Moves" — the operating map.
   Two lanes (walks in / reaches out) that converge into the one system.
   Built on the training-shell tokens (--navy/--blue/--slate/--surface/--line);
   only the roadmap-specific pieces live here, all hdm- prefixed. */

.hdm-doors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 22px;
}
.hdm-door {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.hdm-door .hdm-ic { font-size: 1.6rem; line-height: 1; }
.hdm-door b { display: block; color: var(--navy); font-size: 1.05rem; }
.hdm-door span { color: var(--slate); font-size: .9rem; }

.hdm-lanes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}
.hdm-lane {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 14px 38px rgba(23, 35, 59, .07);
  padding: 22px 22px 10px;
}
.hdm-lane h2 { margin: 0 0 2px; color: var(--navy); font-size: 1.25rem; line-height: 1.2; }
.hdm-lane .hdm-sub { margin: 0 0 16px; color: var(--slate); font-size: .92rem; line-height: 1.5; }

.hdm-station {
  position: relative;
  display: block;
  padding: 0 0 18px 40px;
  text-decoration: none;
  color: inherit;
}
.hdm-station::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 26px;
  bottom: -2px;
  width: 2px;
  background: var(--line);
}
.hdm-station:last-child::before { display: none; }
.hdm-dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: .8rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hdm-station.hdm-new .hdm-dot { background: var(--blue); }
.hdm-station h3 {
  margin: 3px 0 2px;
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.hdm-tag {
  font-size: .6rem;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--soft-blue);
  border-radius: 6px;
  padding: 2px 7px;
}
.hdm-station p { margin: 0; color: var(--slate); font-size: .86rem; line-height: 1.45; }
/* the whole row is a link — lift on hover so it reads as tappable */
.hdm-station:hover h3 { color: var(--blue); }
.hdm-station:hover .hdm-dot { transform: scale(1.06); }

.hdm-merge {
  margin-top: 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff;
  padding: 26px 24px 22px;
  text-align: center;
}
.hdm-merge .hdm-k {
  margin: 0 0 12px;
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #b8c6dc;
}
.hdm-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
  font-weight: 800;
  font-size: 1rem;
}
.hdm-flow .hdm-arw { opacity: .5; font-weight: 400; }
.hdm-chips {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 0 14px;
}
.hdm-chips a {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 999px;
  padding: 8px 15px;
  font-size: .86rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}
.hdm-chips a:hover { background: rgba(255, 255, 255, .22); }
.hdm-loop { margin: 0; color: #cdd8e8; font-size: .86rem; }

@media (max-width: 840px) {
  .hdm-doors,
  .hdm-lanes { grid-template-columns: 1fr; }
}

/* ---- deep-dive step blocks (Showroom Floor / Silent-Lead pages) ---- */
.hdm-step {
  position: relative;
  margin-top: 14px;
  padding: 20px 22px 18px 68px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  scroll-margin-top: 84px;
}
.hdm-step > .hdm-num {
  position: absolute;
  left: 20px;
  top: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 900;
  font-size: .95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hdm-step.hdm-new > .hdm-num { background: var(--blue); }
.hdm-step h3 {
  margin: 4px 0 6px;
  color: var(--navy);
  font-size: 1.15rem;
  line-height: 1.2;
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
}
.hdm-step > p { margin: 0; color: var(--slate); }
.hdm-cap {
  margin-top: 12px;
  padding: 10px 14px;
  border-left: 4px solid var(--blue);
  background: var(--soft-blue);
  border-radius: 0 10px 10px 0;
  font-size: .92rem;
  color: var(--slate);
}
.hdm-cap b {
  display: block;
  margin-bottom: 3px;
  color: var(--navy);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.hdm-lands { margin-top: 9px; font-size: .86rem; color: var(--slate); }
.hdm-lands a { color: var(--blue); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
