/* Revecast public roadmap. Full-width timeline: one row per product, one column per quarter.
   Below 1000px the grid collapses to one product after another, each quarter as a labelled block. */
:root {
  --bg: #f6f7f9; --surface: #ffffff; --surface-2: #eef1f5; --border: #d6dbe3;
  --text: #17191d; --muted: #565d69; --subtle: #6b7380;
  --blue: #0a6fbf; --blue-soft: #e3f0fb; --on-blue: #ffffff;
  --warn: #7a4f05; --warn-soft: #fbf0d9; --warn-border: #e5c98a;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 3vw, 40px);
  --cols: 150px repeat(5, minmax(0, 1fr));
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141313; --surface: #1d1c1c; --surface-2: #252424; --border: #343333;
    --text: #e8e6e3; --muted: #a8a5a1; --subtle: #918e8a;
    --blue: #4aa8f0; --blue-soft: #10293d; --on-blue: #0b1722;
    --warn: #e8a838; --warn-soft: #33270f; --warn-border: #5c4718;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 15px; line-height: 1.5; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: var(--blue); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
[hidden] { display: none !important; }

.notice {
  position: sticky; top: 0; z-index: 20;
  background: var(--warn-soft); color: var(--warn); border-bottom: 1px solid var(--warn-border);
  padding: 9px var(--gutter); font-size: 14px; font-weight: 500; text-align: center;
}
.notice a { color: inherit; font-weight: 600; }
.sample { background: var(--text); color: var(--bg); padding: 6px var(--gutter); font-size: 13px; text-align: center; }

.top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 32px var(--gutter) 20px; }
.brand { font-weight: 700; font-size: 14px; letter-spacing: .02em; color: var(--muted); }
.brand span { color: var(--blue); }
h1 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.15; letter-spacing: -.01em; margin-top: 4px; }
.lede { color: var(--muted); font-size: 16px; margin-top: 8px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button {
  font: inherit; font-size: 14px; font-weight: 500; cursor: pointer;
  padding: 7px 14px; border-radius: 99px; border: 1px solid var(--border); background: var(--surface); color: var(--text);
}
.chips button:hover { border-color: var(--blue); }
.chips button[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: var(--on-blue); }

main { padding: 0 var(--gutter) 24px; }
.state { padding: 48px 0; color: var(--muted); font-size: 16px; }

.tl { border: 1px solid var(--border); border-radius: 8px; background: var(--surface); }
.tl-head, .row { display: grid; grid-template-columns: var(--cols); }
.tl-head {
  position: sticky; top: var(--notice-h, 40px); z-index: 10;
  background: var(--surface-2); border-bottom: 1px solid var(--border); border-radius: 8px 8px 0 0;
}
.qh { padding: 12px 14px; border-left: 1px solid var(--border); }
.qh b { display: block; font-size: 15px; }
.qh small { color: var(--subtle); font-size: 12.5px; }
.qh.cur { box-shadow: inset 0 3px 0 var(--blue); }
.qh.cur b { color: var(--blue); }

.row + .row { border-top: 1px solid var(--border); }
.pl { padding: 16px 14px; font-size: 16px; font-weight: 700; line-height: 1.25; }
.cell { padding: 12px 10px; border-left: 1px solid var(--border); min-width: 0; }
.ql { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cards { display: flex; flex-direction: column; gap: 8px; }

.card { border: 1px solid var(--border); border-radius: 6px; background: var(--bg); padding: 10px 12px; overflow-wrap: anywhere; }
.card .th { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--subtle); }
.card h4 { margin: 3px 0 0; font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.card p { margin-top: 4px; font-size: 13.5px; color: var(--muted); }
.card .meta { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 8px; font-size: 12.5px; }
.card .moved { color: var(--warn); font-weight: 500; }

.foot { padding: 4px var(--gutter) 48px; color: var(--subtle); font-size: 13px; display: flex; flex-direction: column; gap: 4px; }

@media (max-width: 999px) {
  .tl { border: 0; background: none; display: flex; flex-direction: column; gap: 28px; }
  .tl-head { display: none; }
  .row { display: block; }
  .row + .row { border-top: 0; }
  .pl { padding: 0 0 8px; font-size: 20px; border-bottom: 2px solid var(--blue); }
  .cell { padding: 14px 0 0; border-left: 0; }
  .cell.empty { display: none; }
  .ql { position: static; width: auto; height: auto; clip-path: none; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
  .ql.cur { color: var(--blue); }
  .card { background: var(--surface); }
  .cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
  .chips { width: 100%; }
}

@media print {
  .notice, .tl-head { position: static; }
  .chips { display: none; }
}
