:root {
  --bg: #0d0d0d;
  --bg-panel: #1a1a1a;
  --ink: #f0f0f0;
  --muted: #a0a0a0;
  --line: #333333;
  --accent: #ffcc00;
  --accent-2: #ff9900;
  --good: #4ade80;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 80% -10%, rgba(255, 204, 0, 0.1), transparent 35%),
    radial-gradient(circle at 10% 0%, rgba(255, 153, 0, 0.1), transparent 30%),
    var(--bg);
  line-height: 1.5;
}

.page {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.header {
  margin-bottom: 3rem;
}

.badge {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--accent);
  margin-bottom: 1rem;
  font-weight: 700;
}

h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.02em;
}

.subtitle {
  color: var(--muted);
  font-size: 1.1rem;
  margin: 0.5rem 0 0;
}

.nav {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--ink);
}

.nav a.active {
  color: var(--accent);
}

.section {
  margin-bottom: 4rem;
}

h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.5rem;
  transition: transform 0.2s, border-color 0.2s;
}

.card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--accent);
}

.card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-bottom: 3rem;
}

.stat {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  padding: 1.2rem;
  border-radius: 12px;
  text-align: center;
}

.stat .num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
}

.stat .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.3rem;
  letter-spacing: 0.05em;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin-top: 1rem;
}

.table th {
  text-align: left;
  padding: 0.75rem;
  color: var(--muted);
  font-weight: 600;
  border-bottom: 2px solid var(--line);
}

.table td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.tag {
  display: inline-block;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
}

pre {
  background: #000;
  color: #4ade80;
  padding: 1.5rem;
  border-radius: 12px;
  font-size: 0.85rem;
  overflow-x: auto;
  border: 1px solid var(--line);
}

.footer {
  margin-top: 6rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer a {
  color: var(--accent);
  text-decoration: none;
}

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