/* Landing section 07, the roadmap: FIG. 03 as tabs, one phase at a time.
   Without JS the tab row stays hidden and every phase shows, stacked;
   landing.js reveals the tabs and shows the selected phase only. */

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.chip { flex: none; display: inline-block; padding: .12rem .42rem; border: 1px solid currentColor; font: 600 .54rem/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; vertical-align: middle; transform: rotate(-1.5deg); }
.chip.live { color: var(--ok); } .chip.prog { color: var(--review); } .chip.plan { color: var(--bone-faint); }

.rt-legend { display: inline-flex; gap: 1.1rem; }
.rt-legend i { display: inline-flex; align-items: center; gap: .4rem; font-style: normal; }
.rt-dot { flex: none; display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; }
.rt-dot.live { background: var(--ok); } .rt-dot.prog { background: var(--review); } .rt-dot.plan { border: 1px solid var(--bone-faint); }

.rt { margin-top: 1.4rem; }
.rt-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--rule); }
.rt-tabs[hidden] { display: none; }
.rt-tab { position: relative; text-align: left; padding: 1rem 1.1rem 1.05rem; background: var(--ink-2); border: 0; border-right: 1px solid var(--rule); color: var(--bone-dim); cursor: pointer; font: inherit; transition: background .2s ease; }
.rt-tab:last-child { border-right: 0; }
.rt-tab:hover { background: var(--ink-3); }
.rt-tab:focus-visible { outline: 1px solid var(--gold); outline-offset: -4px; }
.rt-tab small { display: block; font: 500 .64rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--bone-faint); }
.rt-tab strong { display: block; font-weight: 400; font-size: 1.04rem; line-height: 1.3; color: var(--bone); margin: .3rem 0 .6rem; }
.rt-bar { display: block; height: 3px; background: var(--rule); }
.rt-bar span { display: block; height: 100%; background: var(--ok); transition: width .6s cubic-bezier(.2,.8,.2,1); }
.rt-tab[aria-selected="true"] { background: var(--ink-3); }
.rt-tab[aria-selected="true"]::after { content: ''; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: var(--gold); }
.rt-tab.ph-now small { color: var(--gold); }
.rt-here { position: absolute; right: 1.1rem; top: 1rem; font: 500 .56rem/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }

.rt-panel { border: 1px solid var(--rule); padding: 1.5rem 1.6rem 1.7rem; background: var(--ink-2); }
.rt-panel + .rt-panel { margin-top: 1rem; }
.rt-tabs:not([hidden]) ~ .rt-panel { border-top: 0; margin-top: 0; }
.rt-panel[hidden] { display: none; }
.rt-k { margin: 0 0 .3rem; font: 500 .64rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--bone-faint); }
.rt-tabs:not([hidden]) ~ .rt-panel .rt-k { display: none; }
.rt-panel h3 { margin: 0 0 1.1rem; font-weight: 400; font-size: 1.45rem; line-height: 1.25; letter-spacing: -.01em; }
.rt-panel h3 .chip { margin-left: .4rem; }
.rt-items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem 2.4rem; }
.rt-items li { display: flex; gap: .7rem; align-items: flex-start; color: var(--bone-dim); font-size: .93rem; line-height: 1.45; }
.rt-items .rt-dot { margin-top: .45rem; }
.rt-panel.rt-in { animation: rt-in .35s cubic-bezier(.2,.8,.2,1) both; }
@keyframes rt-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .rt-tabs { grid-template-columns: 1fr 1fr; }
  .rt-tab:nth-child(2) { border-right: 0; }
  .rt-tab:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .rt-items { grid-template-columns: 1fr; }
  .rt-legend { display: none; }
}
@media (max-width: 520px) { .rt-here { display: none; } .rt-panel { padding: 1.2rem 1.1rem 1.3rem; } }
@media (prefers-reduced-motion: reduce) { .rt-panel.rt-in { animation: none; } .rt-bar span { transition: none; } }
