:root {
  --bg: #0b0712;
  --panel: #15101f;
  --panel-2: #1c1529;
  --text: #f3eefc;
  --muted: #a89bbf;
  --line: #2d2340;
  --purple: #9b6dff;
  --purple-2: #c4a6ff;
  --teal: #4de1c1;
  --warn: #ffb454;
  --shadow: 0 20px 50px rgba(0,0,0,.35);
  --radius: 18px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.45;
  padding: 28px 22px 48px;
  max-width: 980px;
  margin: 0 auto;
}

.bg-glow {
  position: fixed; inset: -20% auto auto 40%;
  width: 55vw; height: 55vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(155,109,255,.22), transparent 65%);
  pointer-events: none; z-index: 0; filter: blur(10px);
}

.top, .kpis, .panel, .callout, .foot { position: relative; z-index: 1; }

.top {
  display: flex; flex-wrap: wrap; gap: 16px 24px;
  justify-content: space-between; align-items: flex-end;
  margin-bottom: 18px;
}
.brand { display: flex; gap: 14px; align-items: center; }
.ghost {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, #2a1848, #6b3cff);
  color: var(--purple-2); font-size: 22px;
  box-shadow: var(--shadow);
}
.eyebrow { margin: 0; color: var(--purple-2); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
h1 { margin: 2px 0 0; font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; }
.meta { display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  border: 1px solid var(--line); background: var(--panel);
  border-radius: 999px; padding: 6px 12px; font-size: 12px; color: var(--muted);
}
.pill.warn { color: var(--warn); border-color: rgba(255,180,84,.35); }

.kpis {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin-bottom: 18px;
}
.kpi {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; box-shadow: var(--shadow);
}
.kpi.primary { border-color: rgba(255,180,84,.55); }
.kpi .label { margin: 0; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.kpi .value { margin: 8px 0 4px; font-size: 2rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.kpi .band { margin: 0 0 6px; color: var(--warn); font-weight: 600; font-variant-numeric: tabular-nums; }
.kpi .sub { margin: 0; color: var(--muted); font-size: 13px; }

.panel {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px; margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.panel-head h2 { margin: 0 0 4px; font-size: 1.1rem; }
.panel-head p { margin: 0 0 14px; color: var(--text); font-size: 15px; }
.legend-note { margin: 12px 0; color: var(--muted); font-size: 14px; }
.copy { margin: 0 0 14px; font-size: 15px; }
.chart-wrap { position: relative; width: 100%; height: 280px; }

.note {
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 16px;
  background: rgba(255,180,84,.08);
  border: 1px solid rgba(255,180,84,.4);
  position: relative;
  z-index: 1;
}
.note strong { color: var(--warn); }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.stats div {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
}
.stats span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.stats strong {
  display: block;
  margin-top: 4px;
  font-size: 1.25rem;
  font-variant-numeric: tabular-nums;
}

.steps { list-style: none; margin: 0; padding: 0; }
.step { display: grid; grid-template-columns: 18px 1fr; column-gap: 14px; }
.rail { display: flex; flex-direction: column; align-items: center; }
.dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--line); margin-top: 6px; flex: none;
}
.line { width: 2px; flex: 1; background: var(--line); min-height: 12px; }
.step.past .dot { background: var(--teal); }
.step.now .dot { background: var(--warn); box-shadow: 0 0 0 4px rgba(255,180,84,.18); }
.step.later .dot { background: var(--purple); }
.step-body .when {
  margin: 0 0 2px;
  color: var(--purple-2);
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 600;
}
.step-body h3 { margin: 0 0 4px; font-size: 1rem; }
.step-body p:last-child { margin: 0 0 18px; color: var(--muted); font-size: 14px; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
th, td { padding: 10px 10px; border-bottom: 1px solid var(--line); text-align: right; }
th:first-child, td:first-child { text-align: left; }
th { color: var(--muted); font-weight: 500; }
tr.quote td, tr.plan td { color: var(--warn); font-weight: 600; }

.callout {
  border-radius: var(--radius); padding: 14px 16px; margin-bottom: 18px;
  background: rgba(255,107,138,.08); border: 1px solid rgba(255,107,138,.35);
}
.foot { color: var(--muted); font-size: 12px; }

@media (max-width: 720px) {
  body { padding: 16px 14px 40px; }
  .kpis, .stats { grid-template-columns: 1fr; }
  .kpi .value { font-size: 1.7rem; }
  .chart-wrap { height: 240px; }
}
