:root {
  color-scheme: dark;
  --bg: #08111f;
  --panel: rgba(12, 22, 41, 0.84);
  --panel-strong: #0f1b31;
  --line: rgba(148, 163, 184, 0.16);
  --text: #e5eefc;
  --muted: #9fb0cd;
  --accent: #58a6ff;
  --good: #32d583;
  --warn: #fdbc4b;
  --bad: #f97066;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(88, 166, 255, 0.18), transparent 34%),
    radial-gradient(circle at right top, rgba(50, 213, 131, 0.12), transparent 24%),
    linear-gradient(180deg, #07101d 0%, #091224 100%);
}

.shell {
  max-width: 1320px;
  margin: 0 auto;
  padding: 36px 20px 56px;
}

.hero {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
  margin-bottom: 24px;
}

.eyebrow {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  color: var(--accent);
}

h1, h2, p { margin: 0; }
h1 {
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1;
  margin-bottom: 10px;
}

.subtitle {
  color: var(--muted);
  max-width: 780px;
  line-height: 1.6;
}

.hero-meta {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.pill, .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(15, 27, 49, 0.8);
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.wide { grid-column: 1 / -1; }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stat {
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
}

.stat .label, .item .label { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; }
.stat .value { margin-top: 8px; font-size: 22px; font-weight: 800; }
.stat .hint { margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.45; }

.stack { display: grid; gap: 12px; }

.item {
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
}

.item-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.item .title { font-size: 16px; font-weight: 700; }
.item .meta, .muted { color: var(--muted); font-size: 13px; line-height: 1.5; }

.good { color: var(--good); border-color: rgba(50, 213, 131, 0.35); }
.warn { color: var(--warn); border-color: rgba(253, 188, 75, 0.35); }
.bad { color: var(--bad); border-color: rgba(249, 112, 102, 0.35); }

@media (max-width: 920px) {
  .hero, .card-head, .item-top { flex-direction: column; align-items: flex-start; }
  .hero-meta { justify-items: start; }
  .grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .shell { padding: 22px 14px 40px; }
  .stats { grid-template-columns: 1fr; }
}