/* OSPRE VA Enterprise AI roadmap - concept presentation. Palette per templates/submission/STYLE-GUIDE.md
   and design/va-roadmap. Gold is never used as text on white. */
:root {
  --navy: #0f2742;
  --navy-2: #173a5e;
  --gold: #b8932f;
  --gold-2: #d9a92e;
  --gold-tint: #f6efdc;
  --ink: #1a1a1a;
  --slate: #4a5568;
  --rule: #c5ccd6;
  --tint: #e9eef5;
  --band: #f5f7fa;
  --sky: #5fa8d3;
  --sky-2: #a9d4ec;
  --sky-dark: #1d5f86;
  --sky-tint: #e3f1f9;
  --font: Arial, "Liberation Sans", Helvetica, sans-serif;
  --radius: 8px;
  --shadow: 0 1px 2px rgba(15, 39, 66, .08), 0 2px 8px rgba(15, 39, 66, .06);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 48px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--band); font-size: 15px; line-height: 1.45; }
h1, h2, h3 { color: var(--navy); margin: 0; }
button, input, select { font: inherit; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; background: #fff; color: var(--navy); padding: 8px 12px; z-index: 100; border: 2px solid var(--navy); border-radius: 4px; font-weight: 700; }
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--sky-dark); outline-offset: 2px; }
.top :focus-visible { outline-color: var(--gold-2); }
[tabindex="-1"]:focus { outline: none; }

/* Banner and header */
.banner { position: sticky; top: 0; z-index: 50; background: var(--gold-2); color: var(--navy); font-weight: 700; text-align: center; padding: 6px 12px; font-size: 14px; letter-spacing: .02em; border-bottom: 1px solid var(--gold); }
.top { background: var(--navy); color: #fff; padding: 16px 24px 14px; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; border-bottom: 3px solid var(--gold); }
.brand { display: flex; gap: 20px; align-items: center; min-width: 0; flex: 1 1 640px; }
.brand img { flex: none; width: 190px; height: auto; }
.titles { border-left: 1px solid rgba(255,255,255,.25); padding-left: 20px; min-width: 0; }
.top h1 { color: #fff; font-size: 22px; line-height: 1.2; }
.h1-sub { color: var(--gold-2); font-weight: 700; display: block; font-size: 18px; margin-top: 2px; }
.lede { margin: 6px 0 0; color: #dfe7f1; font-size: 13.5px; max-width: 80ch; }
.lede strong { color: #fff; }
.controls { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; }
.btn { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.55); border-radius: 6px; padding: 7px 12px; cursor: pointer; min-height: 38px; display: inline-flex; align-items: center; text-decoration: none; font-size: 14px; }
.btn:hover { background: rgba(255,255,255,.1); }
.btn:disabled { opacity: .5; cursor: default; background: transparent; }
.btn-primary { background: var(--gold-2); color: var(--navy); border-color: var(--gold-2); font-weight: 700; gap: 8px; justify-content: center; min-width: 176px; }
.btn-primary:hover { background: #e6b94a; }
.btn-ico { width: 12px; height: 12px; display: inline-block; background: var(--navy); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.playing .btn-ico { clip-path: polygon(0 0, 35% 0, 35% 100%, 0 100%, 0 0, 65% 0, 100% 0, 100% 100%, 65% 100%, 65% 0); }

/* Tags */
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; border-radius: 999px; padding: 2px 8px; white-space: nowrap; vertical-align: middle; }
.tag-target { background: var(--gold-tint); color: var(--navy); border: 1px solid var(--gold); }
.tag-illus { background: var(--sky-tint); color: var(--navy); border: 1px dashed var(--sky-dark); }
.tag .info { width: 18px; height: 18px; font-size: 11px; text-transform: none; }

/* Info buttons + tooltip */
.info { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--sky-dark); background: #fff; color: var(--sky-dark); font: 700 12px/1 Georgia, "Times New Roman", serif; font-style: italic; cursor: help; padding: 0; display: inline-flex; align-items: center; justify-content: center; position: relative; vertical-align: middle; }
.info::after { content: ""; position: absolute; inset: -6px; }
.info:hover, .info[aria-expanded="true"] { background: var(--sky-dark); color: #fff; }
.tip { position: absolute; z-index: 80; max-width: 360px; background: var(--navy); color: #fff; border-radius: 8px; padding: 12px 30px 12px 14px; font-size: 13.5px; line-height: 1.45; box-shadow: 0 8px 24px rgba(15,39,66,.3); border-top: 3px solid var(--gold-2); }
.tip p { margin: 0 0 6px; }
.tip .tip-title { color: var(--gold-2); }
.tip cite { display: block; font-style: normal; font-size: 12px; color: var(--sky-2); }
.tip .tip-x { position: absolute; top: 4px; right: 6px; background: none; border: 0; color: #fff; font-size: 20px; cursor: pointer; padding: 2px 6px; line-height: 1; }
.tip .tip-x:focus-visible { outline-color: var(--gold-2); }

/* Timeline */
.timeline { background: #fff; border-bottom: 1px solid var(--rule); padding: 12px 24px 6px; }
.tl-head { display: flex; align-items: center; gap: 8px 10px; flex-wrap: wrap; max-width: 1480px; margin: 0 auto; }
.tl-head h2 { font-size: 17px; }
.tl-hint { margin: 0 auto 0 4px; color: var(--slate); font-size: 13px; }
.hint-touch { display: none; }
.tl-scroll { max-width: 1480px; margin: 0 auto; overflow-x: auto; scrollbar-width: thin; padding-bottom: 6px; }
.tl-inner { position: relative; min-width: 900px; --n: 9; }
.tl-periods { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 0 6px; margin: 10px 0 2px; }
.tl-band { border-top: 4px solid var(--navy); padding: 4px 6px 0; font-size: 12px; color: var(--slate); text-align: center; line-height: 1.25; }
.tl-band b { display: block; color: var(--navy); font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; }
.band-mob { border-top-color: var(--sky-dark); }
.band-base { border-top-color: var(--navy); }
.band-op1 { border-top-color: var(--gold); }
.band-op2 { border-top-color: var(--gold-2); }
.tl-rail { position: relative; }
.tl-track { position: absolute; left: 0; right: 0; top: 17px; height: 4px; background: var(--tint); border-radius: 2px; }
.tl-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(90deg, var(--navy), var(--gold)); border-radius: 2px; transition: width .6s ease; }
.tl-tabs { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 0 6px; position: relative; }
.tl-tab { background: none; border: 0; padding: 8px 4px 10px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--ink); border-radius: 8px; min-width: 0; }
.tl-tab:hover { background: var(--band); }
.tl-dot { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--navy); background: #fff; transition: transform .25s, background .25s, border-color .25s; box-shadow: 0 0 0 4px #fff; }
.tl-tab.past .tl-dot { background: var(--navy); }
.tl-tab[aria-selected="true"] .tl-dot { background: var(--gold-2); border-color: var(--navy); transform: scale(1.3); }
.tl-tick { font-weight: 700; color: var(--navy); font-size: 15px; margin-top: 4px; white-space: nowrap; }
.tl-name { font-size: 12.5px; color: var(--slate); text-align: center; line-height: 1.25; }
.tl-tab[aria-selected="true"] { background: var(--gold-tint); box-shadow: inset 0 -4px 0 var(--gold); }
.tl-tab[aria-selected="true"] .tl-name { color: var(--ink); }
.tl-tab:focus-visible { outline-offset: -3px; }

/* Main grid */
.grid { display: grid; gap: 16px; padding: 16px 24px; grid-template-columns: minmax(0, 1.55fr) minmax(360px, 1fr); align-items: start; max-width: 1480px; margin: 0 auto; }
.panel { background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 18px; min-width: 0; }
.panel-head { margin-bottom: 10px; }
.panel h2 { font-size: 18px; }
.panel-note { margin: 3px 0 0; color: var(--slate); font-size: 13px; }
.loading { color: var(--slate); }

/* Detail */
.d-head { border-bottom: 1px solid var(--tint); padding-bottom: 8px; margin-bottom: 10px; }
.d-period { margin: 0 0 6px; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 13px; color: var(--slate); }
.chip { font-size: 12px; font-weight: 700; border-radius: 999px; padding: 2px 10px; color: #fff; background: var(--navy); }
.chip-mob { background: var(--sky-dark); }
.chip-op1, .chip-op2 { background: var(--gold-2); color: var(--navy); }
.detail h2 { font-size: 24px; line-height: 1.2; }
.d-tick { color: var(--slate); }
.d-intro { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 16px; align-items: center; }
.d-summary { margin: 0; font-size: 15.5px; }
.d-art { width: 100%; height: auto; }
.d-art.in { animation: rise .5s ease-out; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.d-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 8px; }
.d-sec h3 { font-size: 15px; margin: 6px 0 6px; display: flex; align-items: center; gap: 8px; }
.does, .tasks, .targets { margin: 0; padding: 0; list-style: none; }
.does li { position: relative; padding: 0 0 7px 18px; font-size: 14px; }
.does li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 8px; height: 8px; background: var(--navy); border-radius: 2px; }
.tasks li { font-size: 13px; padding: 6px 8px; border-left: 3px solid var(--navy); background: var(--band); margin-bottom: 6px; border-radius: 0 4px 4px 0; }
.task-num { font-weight: 700; color: var(--navy); margin-right: 2px; }
.task-title { letter-spacing: .01em; }
.task-quote { display: block; margin-top: 2px; font-size: 12.5px; color: var(--slate); }
.task-opt { border-left-style: dashed !important; border-left-color: var(--slate) !important; background: #fff !important; outline: 1px dashed var(--rule); }
.d-targets { margin-top: 6px; background: var(--gold-tint); border: 1px solid #e7d6a6; border-radius: 8px; padding: 6px 12px 8px; }
.targets li { padding: 7px 0; border-bottom: 1px solid #eadfbe; font-size: 14px; }
.targets li:last-child { border-bottom: 0; }
.targets .tag-target { background: #fff; }
.tgt-text { font-weight: 700; color: var(--ink); }
.tgt-src { display: block; font-size: 12.5px; color: var(--slate); margin-top: 2px; }
.d-note { margin: 12px 0 0; font-size: 13.5px; background: var(--sky-tint); border-left: 4px solid var(--sky-dark); border-radius: 4px; padding: 8px 10px; }

/* Metrics */
.metrics h2 { font-size: 17px; }
.mgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; grid-auto-flow: row dense; }
.mcard { border: 1px solid var(--rule); border-radius: 8px; padding: 10px 12px; background: #fff; min-width: 0; }
.mcard.pulse { animation: pulse .7s ease-out; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(217,169,46,.55); } 100% { box-shadow: 0 0 0 8px rgba(217,169,46,0); } }
.mcard-wide { grid-column: 1 / -1; }
.mtop { display: flex; justify-content: space-between; align-items: flex-start; gap: 6px; margin-bottom: 6px; }
.mtop h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--slate); }
.msub { margin: 6px 0 0; font-size: 12.5px; color: var(--slate); display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; }
.msub b { color: var(--navy); font-size: 13.5px; }
.mnote { margin: 6px 0 0; font-size: 11.5px; color: var(--slate); }
.mwave { margin: 0 0 6px; font-weight: 700; color: var(--navy); font-size: 16px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.mbig { margin: 2px 0 0; font-size: 20px; font-weight: 700; color: var(--navy); line-height: 1.2; }
.mbig-s { display: block; font-size: 12px; font-weight: 400; color: var(--slate); }
.bar-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) 72px; gap: 8px; align-items: center; font-size: 12.5px; margin: 4px 0; }
.bar-l { color: var(--slate); }
.bar { height: 12px; background: var(--tint); border-radius: 6px; overflow: hidden; }
.bar-f { display: block; height: 100%; width: 0; border-radius: 6px; transition: width .8s cubic-bezier(.2,.7,.2,1); }
.bar-notified { background: var(--navy); }
.bar-chat { background: var(--sky-dark); }
.bar-agentic { background: var(--gold); }
.bar-code { background: var(--slate); }
.bar-v { text-align: right; color: var(--navy); font-variant-numeric: tabular-nums; font-size: 14px; }
.pips { list-style: none; margin: 4px 0 0; padding: 0; display: flex; gap: 6px; }
.pips li { flex: 1; text-align: center; font-size: 11.5px; font-weight: 700; color: var(--slate); border: 2px solid var(--rule); border-radius: 6px; padding: 5px 0; background: #fff; transition: background .4s, color .4s, border-color .4s; }
.pips li.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.pips-mob li::before { content: "Day "; font-weight: 400; }
.steps { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; counter-reset: st; }
.steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; font-size: 11px; line-height: 1.2; color: var(--slate); }
.steps li::before { content: ""; position: absolute; top: 9px; left: -50%; right: 50%; height: 3px; background: var(--tint); z-index: 0; transition: background .4s; }
.steps li:first-child::before { display: none; }
.steps li.on::before { background: var(--navy); }
.st-dot { position: relative; z-index: 1; width: 20px; height: 20px; border-radius: 50%; border: 3px solid var(--rule); background: #fff; transition: background .4s, border-color .4s; }
.steps li.on .st-dot { background: var(--navy); border-color: var(--navy); }
.steps li.now .st-dot { background: var(--gold-2); border-color: var(--navy); }
.steps li.on .st-l { color: var(--ink); }
.ring-wrap { position: relative; width: 84px; height: 84px; margin: 2px 0; }
.ring { width: 84px; height: 84px; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: var(--tint); stroke-width: 8; }
.ring-fg { fill: none; stroke: var(--sky-dark); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 0 100; transition: stroke-dasharray .8s ease; }
.ring-v { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 19px; color: var(--navy); font-variant-numeric: tabular-nums; }

/* Table view */
.tableview { max-width: 1480px; margin: 0 auto 16px; width: calc(100% - 48px); }
.tableview h2 { font-size: 18px; }
.table-scroll { overflow-x: auto; margin-top: 10px; }
.roadmap-table, .wave-table { border-collapse: collapse; width: 100%; font-size: 13px; }
.roadmap-table { min-width: 860px; }
.roadmap-table th, .roadmap-table td, .wave-table th, .wave-table td { border: 1px solid var(--rule); padding: 8px 10px; vertical-align: top; text-align: left; }
.roadmap-table thead th, .wave-table thead th { background: var(--navy); color: #fff; }
.roadmap-table tbody th { background: var(--band); width: 16%; }
.roadmap-table ul { margin: 0; padding-left: 16px; }
.roadmap-table li { margin-bottom: 4px; }
.tv-tick { display: block; color: var(--navy); font-size: 14px; }
.tv-when { display: block; font-weight: 400; color: var(--slate); font-size: 12.5px; margin-top: 2px; }
.tv-note, .tv-src { color: var(--slate); font-size: 12.5px; }
.tv-note { margin: 6px 0 0; }
.t1-heading { font-size: 15px; margin-top: 18px; }
.wave-table { min-width: 620px; }
.wave-table td { text-align: right; font-variant-numeric: tabular-nums; }
.wave-table tbody th { background: var(--band); font-weight: 700; }

.foot { max-width: 1480px; margin: 0 auto; padding: 0 24px 28px; font-size: 12px; color: var(--slate); }

/* Responsive */
@media (max-width: 1100px) {
  .grid { grid-template-columns: minmax(0, 1fr); }
  .mgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body { font-size: 14px; }
  .top { padding: 12px 14px; }
  .brand { flex-direction: column; align-items: flex-start; gap: 10px; flex-basis: 100%; }
  .brand img { width: 150px; }
  .titles { border-left: 0; padding-left: 0; }
  .top h1 { font-size: 19px; }
  .h1-sub { font-size: 16px; }
  .controls { width: 100%; }
  .controls .btn { flex: 1 1 auto; justify-content: center; }
  .btn-primary { min-width: 0; flex-basis: 100% !important; order: -1; }
  .timeline { padding: 10px 0 4px; }
  .tl-head { padding: 0 14px; }
  .tl-hint { flex-basis: 100%; margin: 0; order: 5; }
  .tl-scroll { scroll-snap-type: x proximity; padding: 0 14px 6px; }
  .tl-inner { min-width: 1080px; }
  .hint-touch { display: inline; }
  .tl-band { font-size: 11px; padding: 4px 2px 0; }
  .tl-band b { font-size: 11.5px; letter-spacing: .02em; }
  .lede { font-size: 13px; }
  .tl-tab { scroll-snap-align: center; }
  .grid { padding: 12px; gap: 12px; }
  .panel { padding: 14px; }
  .detail h2 { font-size: 20px; }
  .d-intro { grid-template-columns: minmax(0, 1fr) 110px; gap: 10px; align-items: start; }
  .d-cols { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .mgrid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
  .mcard { padding: 9px 10px; }
  .bar-row { grid-template-columns: 82px minmax(0, 1fr) 62px; gap: 6px; }
  .mbig { font-size: 17px; }
  .steps li { font-size: 10px; }
  .tableview { width: calc(100% - 24px); }
  .banner { font-size: 12.5px; padding: 5px 6px; letter-spacing: 0; }
}
@media (max-width: 760px) {
  /* Table view stacks each phase as a card; ARIA roles in the markup keep table semantics. */
  .roadmap-table { min-width: 0; }
  .roadmap-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .roadmap-table, .roadmap-table tbody, .roadmap-table tr, .roadmap-table th, .roadmap-table td { display: block; width: auto; }
  .roadmap-table tr { border: 1px solid var(--rule); border-radius: 8px; margin-bottom: 12px; overflow: hidden; }
  .roadmap-table th, .roadmap-table td { border: 0; border-top: 1px solid var(--rule); }
  .roadmap-table tbody th { width: auto; border-top: 0; background: var(--tint); }
  .roadmap-table td::before { content: attr(data-label); content: attr(data-label) / ""; display: block; font-weight: 700; color: var(--navy); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }
}
@media (max-width: 340px) {
  .mgrid { grid-template-columns: minmax(0, 1fr); }
  .mcard-wide { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .bar-f, .pips li.on, .st-dot, .tl-dot { forced-color-adjust: none; }
}
