/* MealTalk public roadmap (/roadmap). Layered on top of styles.css, which owns
   the Matcha & Clay tokens, header, footer, and buttons. Kept in its own file
   so the 1-year-immutable styles.css cache stamp does not have to be bumped for
   a roadmap-only edit. House rule: no em-dashes in any copy.
   CACHE-BUST: this file is served under the same @assets immutable rule only if
   it lives under /assets, which it does not, so it takes the marketing-site
   default. The ?v= stamp on the roadmap.html link is still the safe lever. */

.roadmap { padding: 56px 0 72px; }
.roadmap .wrap { max-width: 860px; }

.roadmap h1 { font-size: clamp(32px, 5vw, 44px); font-weight: 800; }
.rm-lede { margin-top: 16px; font-size: 17px; color: var(--ink-soft); max-width: 60ch; }
.rm-updated { margin-top: 10px; font-size: 14px; color: var(--ink-faint); }

.rm-suggest {
  margin-top: 24px; padding: 16px 18px;
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: 16px; font-size: 15.5px; color: var(--ink-soft);
}
.rm-suggest a { color: var(--sage-dim); font-weight: 600; }

/* ---------- Status filters ---------- */
.rm-filters {
  margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px;
}
.rm-filter {
  font-family: var(--body); font-size: 14.5px; font-weight: 600;
  color: var(--ink-soft); background: var(--surface);
  border: 1px solid var(--hairline); border-radius: 999px;
  padding: 8px 15px; cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.rm-filter:hover { color: var(--ink); border-color: color-mix(in srgb, var(--ink) 22%, transparent); }
.rm-filter:focus-visible { outline: 2px solid var(--sage); outline-offset: 2px; }
.rm-filter.is-active {
  background: var(--sage); color: var(--on-sage);
  border-color: var(--sage);
}

.rm-count { margin-top: 14px; font-size: 13.5px; color: var(--ink-faint); }

/* ---------- Cards ---------- */
.rm-list { margin-top: 10px; list-style: none; padding: 0; display: grid; gap: 14px; }
.rm-list > * { min-width: 0; }

.rm-card {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 22px 24px;
  box-shadow: var(--shadow);
}
.rm-card[hidden] { display: none; }

.rm-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

.rm-status {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.02em;
  padding: 4px 11px; border-radius: 999px; white-space: nowrap;
}
.rm-status-considering { background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--ink-soft); }
.rm-status-planned { background: var(--peach); color: var(--terracotta); }
.rm-status-in-progress { background: color-mix(in srgb, var(--sage) 18%, transparent); color: var(--sage-dim); }
.rm-status-shipped { background: var(--sage); color: var(--on-sage); }

@media (prefers-color-scheme: dark) {
  .rm-status-planned { color: var(--peach); background: color-mix(in srgb, var(--terracotta) 26%, transparent); }
  .rm-status-in-progress { color: var(--sage); }
}

.rm-theme { font-size: 12.5px; color: var(--ink-faint); }

.rm-card h2 {
  margin-top: 12px; font-size: clamp(19px, 2.4vw, 22px);
  font-weight: 700; line-height: 1.25; overflow-wrap: break-word;
}
.rm-card p { margin-top: 10px; font-size: 15.5px; color: var(--ink-soft); overflow-wrap: break-word; }
.rm-card a { color: var(--sage-dim); }

.rm-note {
  font-size: 14.5px !important;
  color: var(--ink-faint) !important;
}

.rm-meta {
  margin-top: 14px !important;
  display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline;
  font-size: 13px !important; color: var(--ink-faint) !important;
}
.rm-link { font-weight: 600; }

.rm-empty { margin-top: 20px; font-size: 15.5px; color: var(--ink-faint); }
.rm-empty[hidden] { display: none; }

.rm-foot {
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid var(--hairline);
  font-size: 14.5px; color: var(--ink-faint); max-width: 68ch;
}
.rm-foot strong { color: var(--ink-soft); font-weight: 700; }

@media (max-width: 560px) {
  .roadmap { padding: 40px 0 56px; }
  .rm-card { padding: 18px 18px; border-radius: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .rm-filter { transition: none; }
}
