* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'JetBrains Mono', 'Fira Code', 'SF Mono', monospace;
  background: #09090b;
  color: #fafafa;
  min-height: 100vh;
  font-size: 0.875rem;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 4rem 4rem;
  pointer-events: none;
  z-index: 0;
}

h1 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.subtitle {
  font-size: 0.85rem;
  margin-bottom: 2.5rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.stat-card {
  background: rgba(24,24,27,0.5);
  border: 1px solid #1c1c1f;
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  transition: border-color 0.2s;
}

.stat-card:hover { border-color: #27272a; }

.stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.7rem;
  color: #71717a;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

h2 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.grade-bars {
  background: rgba(24,24,27,0.5);
  border: 1px solid #1c1c1f;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
}

.grade-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(28,28,31,0.8);
}

.grade-bar:last-child { border-bottom: none; }

.grade-letter {
  font-weight: 700;
  font-size: 0.9rem;
  min-width: 1.25rem;
}

.bar-bg { flex: 1; height: 0.375rem; }

.bar-count {
  font-size: 0.75rem;
  color: #71717a;
  min-width: 3.75rem;
  text-align: right;
}

.empty-state {
  text-align: center;
  padding: 3rem;
  color: #71717a;
  font-size: 0.85rem;
}

.empty-state a {
  color: #3b82f6;
  text-decoration: none;
  transition: color 0.2s;
}

.empty-state a:hover { color: #60a5fa; }

footer { max-width: 800px; }

@media (max-width: 640px) {
  .stat-grid { grid-template-columns: 1fr; }
  h1 { font-size: 1.5rem; }
}
