/* The public roadmap (roadmap.html, built by build/build-roadmap.js from data/roadmap.json).
   The site's dark hero and closing band, with white and tint sections between them. A card's
   status shows on its icon tile and pill: the design rules retire the coloured left-border
   card, and keep amber for caution, so the groups step down the purple family to grey and
   only shipped work goes green. */
body.rm{--rm-tile:#EEF0FF;--rm-ink:#4F46E5;background:#fff}
body.rm .rm-next{--rm-tile:#EEF0FF;--rm-ink:#4F46E5}
body.rm .rm-later{--rm-tile:#F3EFFF;--rm-ink:#7C3AED}
body.rm .rm-exploring{--rm-tile:#F1F1F5;--rm-ink:#6B7280}
body.rm .rm-shipped{--rm-tile:#E6F7F0;--rm-ink:#047857}

/* Hero: the same background as css/dark-hero.css, under the see-through header. */
body.rm .rm-hero{position:relative;color:#fff;text-align:center;padding:150px 0 56px;background:radial-gradient(820px 480px at 18% 0,rgba(118,75,162,.46) 0,transparent 64%),radial-gradient(640px 420px at 88% 12%,rgba(102,126,234,.3) 0,transparent 66%),linear-gradient(170deg,#171331,#0D0B18)}
body.rm .rm-hero .eyebrow{margin-bottom:22px}
body.rm .rm-hero h1{font-size:56px;font-weight:800;letter-spacing:-.034em;line-height:1.05;margin:0 0 18px;text-wrap:balance;
  color:transparent;background:linear-gradient(90deg,#fff 0%,#E4DEFF 45%,#B9A8FF 100%);-webkit-background-clip:text;background-clip:text}
body.rm .rm-hero-lead{max-width:640px;margin:0 auto 28px;font-size:17.5px;line-height:1.7;color:rgba(255,255,255,.74);text-wrap:pretty}
body.rm .rm-hero-ctas{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin-bottom:40px}
body.rm .rm-btn{display:inline-flex;align-items:center;min-height:50px;padding:0 26px;border-radius:13px;font-size:15.5px;font-weight:700;color:#fff;
  background:linear-gradient(135deg,#6366F1,#8B5CF6);box-shadow:0 14px 32px -12px rgba(124,58,237,.85)}
body.rm .rm-btn.rm-ghost{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.24);box-shadow:none}
body.rm .rm-btn:hover{color:#fff}
body.rm .rm-btn.rm-ghost:hover{border-color:rgba(255,255,255,.4)}
body.rm .rm-btn:focus-visible{outline:2px solid #C4B5FD;outline-offset:3px}
body.rm .rm-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;max-width:720px;margin:0 auto}
body.rm .rm-stats div{padding:18px 14px;border:1px solid rgba(255,255,255,.13);border-radius:16px;background:rgba(255,255,255,.05)}
body.rm .rm-stats b{display:block;font-size:32px;line-height:1.1;font-weight:800;letter-spacing:-.03em}
body.rm .rm-stats span{display:block;margin-top:4px;font-size:13.5px;font-weight:500;color:rgba(255,255,255,.66)}

/* Filter rail: sticks under the header, and takes its place when the header hides. */
body.rm .rm-rail{position:sticky;top:72px;z-index:900;background:#fff;border-bottom:1px solid var(--line);transition:top .3s ease}
body.rm nav.nav-hidden ~ main .rm-rail{top:0}
body.rm .rm-railin{max-width:1140px;margin:0 auto;padding:12px 32px;display:flex;gap:8px;overflow-x:auto;scrollbar-width:none}
body.rm .rm-railin::-webkit-scrollbar{display:none}
body.rm .rm-chip{flex:none;min-height:44px;padding:0 18px;border:1px solid var(--line);border-radius:999px;background:#fff;
  font:600 14.5px/1 'Plus Jakarta Sans',sans-serif;color:var(--body);cursor:pointer;transition:color .15s,border-color .15s}
body.rm .rm-chip:hover{color:var(--ink);border-color:#C9C4DC}
body.rm .rm-chip[aria-pressed="true"]{color:#fff;border-color:transparent;background:linear-gradient(135deg,#6366F1,#8B5CF6)}
body.rm .rm-chip:focus-visible{outline:2px solid #6366F1;outline-offset:2px}
body.rm .rm-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}

/* Sections */
body.rm .rm-sec{padding:64px 0;scroll-margin-top:72px}
body.rm .rm-sec[hidden],body.rm .rm-card[hidden]{display:none}
body.rm .rm-tint{background:var(--tint)}
body.rm .rm-head{display:flex;align-items:center;gap:12px}
body.rm .rm-dot{flex:none;width:11px;height:11px;border-radius:50%;background:var(--rm-ink)}
body.rm .rm-building .rm-dot{background:linear-gradient(135deg,#6366F1,#8B5CF6);box-shadow:0 0 0 4px rgba(99,102,241,.16)}
body.rm .rm-head h2{font-size:31px;font-weight:800;letter-spacing:-.028em;line-height:1.2;color:var(--ink);text-wrap:balance}
body.rm .rm-count{flex:none;min-width:30px;padding:3px 9px;border-radius:999px;background:var(--rm-tile);color:var(--rm-ink);font-size:13px;font-weight:700;text-align:center}
body.rm .rm-lead{margin:8px 0 26px;font-size:16px;line-height:1.6;color:var(--body);text-wrap:pretty}

/* Cards */
body.rm .rm-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
body.rm .rm-card{display:flex;flex-direction:column;padding:20px;border:1px solid var(--line);border-radius:16px;background:#fff}
body.rm .rm-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}
body.rm .rm-ico{flex:none;display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:11px;background:var(--rm-tile);color:var(--rm-ink)}
body.rm .rm-building .rm-ico{color:#fff;background:linear-gradient(135deg,#6366F1,#8B5CF6)}
body.rm .rm-when{padding:4px 10px;border-radius:999px;background:var(--rm-tile);color:var(--rm-ink);font-size:12.5px;font-weight:600;white-space:nowrap}
body.rm .rm-card h3{font-size:17px;font-weight:700;letter-spacing:-.018em;line-height:1.3;color:var(--ink);margin-bottom:6px;text-wrap:balance}
body.rm .rm-card p{font-size:15px;line-height:1.6;color:var(--body);text-wrap:pretty}
body.rm .rm-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:auto;padding-top:14px}
body.rm .rm-tag{padding:3px 9px;border:1px solid var(--line);border-radius:999px;font-size:12.5px;font-weight:600;color:var(--mute)}
body.rm .rm-pro{border-color:transparent;background:#EEF0FF;color:#4F46E5}

/* The shipped list opens with the latest twelve; see the script in the page. */
body.rm .rm-capped .rm-card:nth-child(n+13){display:none}
body.rm .rm-more{display:block;min-height:46px;margin:22px auto 0;padding:0 22px;border:1px solid var(--line);border-radius:12px;background:#fff;
  font:700 15px/1 'Plus Jakarta Sans',sans-serif;color:var(--ink);cursor:pointer;transition:border-color .15s}
body.rm .rm-more[hidden]{display:none}
body.rm .rm-more:hover{border-color:#C9C4DC}
body.rm .rm-more:focus-visible{outline:2px solid #6366F1;outline-offset:2px}
body.rm .rm-note{max-width:720px;margin:36px auto 0;font-size:15px;line-height:1.65;color:var(--mute);text-align:center;text-wrap:pretty}

@media (max-width:980px){
  body.rm .rm-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:768px){
  /* Phones: the bar is 61px and css/nav.css moves the page up 29px. */
  body.rm .rm-hero{padding:122px 0 44px}
  body.rm .rm-hero h1{font-size:36px}
  body.rm .rm-hero-lead{font-size:16.5px}
  body.rm .rm-rail{top:60px}
  body.rm .rm-railin{padding:10px 20px}
  body.rm .rm-sec{padding:44px 0;scroll-margin-top:60px}
  body.rm .rm-head h2{font-size:26px}
}
@media (max-width:640px){
  body.rm .rm-grid{grid-template-columns:1fr}
  body.rm .rm-hero-ctas{flex-direction:column;align-items:stretch}
  body.rm .rm-btn{justify-content:center}
  body.rm .rm-stats{gap:8px}
  body.rm .rm-stats div{padding:14px 6px}
  body.rm .rm-stats b{font-size:26px}
}
@media (prefers-reduced-motion:reduce){
  body.rm .rm-rail,body.rm .rm-chip,body.rm .rm-more{transition:none}
}
