:root {
  --bg: #0b1020;
  --surface: #11182b;
  --surface-2: #151e34;
  --text: #edf2ff;
  --muted: #9ba8c4;
  --line: #26324c;
  --accent: #78a9ff;
  --accent-2: #a7f3d0;
  --warning: #f8d58a;
}
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(circle at 20% 0%, #17264a 0, var(--bg) 42%); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.hero { padding: 76px 0 56px; border-bottom: 1px solid var(--line); }
.eyebrow, .section-kicker { color: var(--accent); font-size: .76rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h1 { margin: 12px 0 18px; font-size: clamp(2.8rem, 7vw, 5.8rem); line-height: .98; letter-spacing: -.055em; }
h2 { margin: 5px 0 14px; font-size: 1.25rem; line-height: 1.25; }
.lede { max-width: 760px; color: #c3cce0; font-size: 1.15rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-meta span { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: #c8d2e7; background: rgba(255,255,255,.025); font-size: .88rem; }
.card { margin-top: 22px; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: rgba(17,24,43,.88); box-shadow: 0 18px 50px rgba(0,0,0,.14); }
.research { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: 30px; align-items: center; }
.note { color: var(--warning); border-left: 2px solid var(--warning); padding-left: 14px; }
.muted { color: var(--muted); }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .8fr); gap: 22px; }
.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
select { width: 180px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); font: inherit; }
.country-meta { color: var(--muted); font-size: .9rem; margin: 4px 0 12px; }
.chart-wrap { width: 100%; overflow: hidden; }
#inflationChart { width: 100%; height: auto; display: block; }
.chart-grid { stroke: var(--line); stroke-width: 1; }
.chart-axis { fill: var(--muted); font-size: 12px; }
.chart-line { fill: none; stroke: var(--accent); stroke-width: 3; }
.chart-area { fill: rgba(120,169,255,.08); }
.legend { color: var(--muted); font-size: .82rem; display: flex; gap: 8px; align-items: center; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); display: inline-block; }
.probabilities { display: grid; gap: 12px; margin-top: 22px; }
.prob-row { display: grid; gap: 6px; }
.prob-top { display: flex; justify-content: space-between; font-size: .9rem; }
.bar { height: 9px; border-radius: 99px; background: #202b45; overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--accent-2); border-radius: inherit; }
.model-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 20px; }
.model { padding: 17px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; }
.model strong { display: block; margin-bottom: 8px; }
.model p { margin: 0; color: var(--muted); font-size: .88rem; }
.aic { color: var(--accent); font-weight: 700; margin-top: 12px !important; }
.lower { margin-bottom: 22px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.feature { padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.018); }
.feature small { display: block; color: var(--muted); font-size: .72rem; }
.feature strong { font-size: .95rem; }
footer { display: flex; justify-content: space-between; gap: 20px; padding: 26px 4px 44px; color: var(--muted); font-size: .85rem; }
footer a { color: var(--accent); text-decoration: none; }
.error { color: #ffb4b4; }
@media (max-width: 1000px) {
  .research, .dashboard-grid { grid-template-columns: 1fr; }
  .model-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .shell { width: min(100% - 24px, 1180px); }
  .hero { padding-top: 48px; }
  .card { padding: 19px; }
  .card-head { flex-direction: column; }
  select { width: 100%; }
  .model-grid, .feature-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; }
}
