:root {
  color-scheme: dark;
  --bg: #07111f;
  --panel: #0f1d31;
  --panel-strong: #142742;
  --text: #f4f7fb;
  --muted: #9fb3c8;
  --accent: #ff671f;
  --accent-soft: rgba(255, 103, 31, 0.18);
  --border: rgba(159, 179, 200, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top, rgba(255, 103, 31, 0.14), transparent 30%),
    linear-gradient(180deg, #09111d 0%, var(--bg) 100%);
  color: var(--text);
}

.page {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0 64px;
}

.hero {
  margin-bottom: 28px;
}

.eyebrow,
.label {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero h1,
.card h2,
.panel h2 {
  margin: 0;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1;
  text-transform: capitalize;
}

.lede,
.muted {
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.card,
.panel {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(20, 39, 66, 0.92) 0%, rgba(15, 29, 49, 0.95) 100%);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.18);
}

.panel {
  margin-top: 16px;
}

.panel-header {
  margin-bottom: 16px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.bars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 12px;
  align-items: end;
  min-height: 220px;
}

.bar-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bar-track {
  height: 160px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: end;
  overflow: hidden;
}

.bar-fill {
  width: 100%;
  background: linear-gradient(180deg, #f88d44 0%, var(--accent) 100%);
  border-radius: 14px 14px 0 0;
}

.bar-value {
  font-size: 28px;
  font-weight: 700;
}

.bar-caption {
  color: var(--muted);
  font-size: 13px;
}

.flag-hot {
  color: #ffbf69;
}

.flag-normal {
  color: var(--muted);
}

.prose pre {
  margin: 0;
  white-space: pre-wrap;
  font: inherit;
  line-height: 1.6;
  color: var(--text);
}

@media (max-width: 800px) {
  .cards {
    grid-template-columns: 1fr;
  }
}
