/* ==========================================================================
   /roadmap/ · built on the feature-page kit (main.css, sec-identify.css,
   sec-native.css, feature-page.css). This file adds the one piece the kit
   doesn't have: a vertical timeline. Each stop is date | dot on the rail |
   what lands then. The current stop is the filled mustard dot; the rest are rings.
   ========================================================================== */

.rm-tl { margin: 0 auto; padding: 0; list-style: none; max-width: 1280px; }

.rm-stop {
  position: relative;
  display: grid; grid-template-columns: 200px 48px minmax(0, 1fr);
  padding-bottom: var(--s8);
}
.rm-stop:last-child { padding-bottom: 0; }
/* The rail: runs from this dot to the next one. */
.rm-stop::before {
  content: ""; position: absolute; left: calc(200px + 23px); top: 14px; bottom: 0;
  width: 2px; background: var(--muted);
}
.rm-stop:last-child::before { display: none; }

.rm-stop__date {
  margin: 0; padding-right: var(--s4); text-align: right;
  font-family: var(--f-serif); font-weight: 600; font-size: 22px; line-height: 1.2; color: var(--ink);
}
.rm-stop__date span {
  display: block; margin-top: var(--s1);
  font-family: var(--f-sans); font-weight: 800; font-size: 13px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--hp-muted);
}
.rm-stop__dot {
  position: relative; z-index: 1; justify-self: center; margin-top: 6px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--ink); box-shadow: 0 0 0 5px var(--paper);
}
/* Only the current stop is filled. */
.rm-stop--now .rm-stop__dot { width: 24px; height: 24px; margin-top: 2px; background: var(--mustard); border-color: var(--mustard); }

.rm-stop__body { min-width: 0; display: flex; flex-direction: column; gap: var(--s3); }
/* Title sits tight on its intro line. */
.rm-stop__title + .rm-stop__intro { margin-top: calc(var(--s1) - var(--s3)); }
.rm-stop__title {
  margin: 0; font-family: var(--f-sans); font-weight: 800; font-size: 28px; line-height: 1.15; color: var(--ink);
}
.rm-stop__intro { margin: 0 0 var(--s3); max-width: 66ch; font-family: var(--f-serif); font-size: 18px; line-height: 1.5; color: var(--hp-muted); }
.rm-stop__intro a, .rm-note a:not(.hp-link) { color: var(--ink); }

/* Items: name over one line of copy, two columns, a hairline above each. */
.rm-items, .rm-group__items { margin: 0; padding: 0; list-style: none; }
.rm-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s6); }
.rm-item { padding-block: var(--s3); border-top: 1px solid var(--hairline); }
.rm-item__name { margin: 0; font-family: var(--f-sans); font-weight: 800; font-size: 18px; line-height: 1.3; color: var(--ink); }
.rm-item__body { margin: 2px 0 0; font-family: var(--f-serif); font-size: 16px; line-height: 1.5; color: var(--hp-muted); }
.rm-note { margin: var(--s3) 0 0; font-family: var(--f-serif); font-size: 16px; line-height: 1.55; color: var(--hp-muted); }

/* The launch stop: the 25 features as names in eight groups, four across. */
.rm-build__groups {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s6) var(--s5);
}
.rm-names { display: flex; flex-direction: column; gap: var(--s1); padding: var(--s3) 0 0 1.25em; border-top: 1px solid var(--hairline); list-style: disc; }
.rm-names li { font-family: var(--f-serif); font-size: 16px; line-height: 1.55; color: var(--hp-muted); }
.rm-names li::marker { color: var(--ink); }
.rm-group { min-width: 0; }
.rm-group__title {
  margin: 0 0 var(--s2); font-family: var(--f-sans); font-weight: 800; font-size: 13px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--hp-muted);
}

@media (max-width: 980px) {
  .rm-stop { grid-template-columns: 140px 40px minmax(0, 1fr); }
  .rm-stop::before { left: calc(140px + 19px); }
  .rm-stop__date { font-size: 18px; }
  .rm-items { grid-template-columns: minmax(0, 1fr); }
  .rm-build__groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Phone: the rail moves to the left edge and the date sits above the title. */
@media (max-width: 720px) {
  .rm-stop { grid-template-columns: 32px minmax(0, 1fr); padding-bottom: var(--s7); }
  .rm-stop::before { left: 15px; }
  .rm-stop__date { grid-column: 2; grid-row: 1; text-align: left; padding: 0 0 var(--s2); font-size: 20px; }
  .rm-stop__dot { grid-column: 1; grid-row: 1; }
  .rm-stop__body { grid-column: 2; grid-row: 2; }
  .rm-stop__title { font-size: 24px; }
}
