@import url("https://fonts.googleapis.com/css2?family=Archivo+Black&family=IBM+Plex+Mono:wght@400;600&display=swap");

:root {
  --bg: #000000;
  --bg-2: #0a0a0a;
  --text: #f2f2f2;
  --muted: #7a7a7a;
  --line: #222222;
  --accent: #e2ff3d; /* acid on black — not the usual green/purple */
  --hot: #ff4d2e;
  --font-display: "Archivo Black", Impact, sans-serif;
  --font-body: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
}

body {
  background:
    linear-gradient(180deg, #050505 0%, #000 40%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 3px,
      rgba(255, 255, 255, 0.015) 3px,
      rgba(255, 255, 255, 0.015) 4px
    );
  background-color: #000;
}

.wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 36px 18px 72px;
}

header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
}

header h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 8vw, 4.2rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #fff;
}

header p {
  margin: 14px 0 0;
  max-width: 40rem;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

header p strong,
.lede strong {
  color: var(--text);
  font-weight: 600;
}

.lede {
  margin-top: 10px !important;
}

.badge {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 0;
  border: 0;
  border-top: 1px solid var(--accent);
  border-radius: 0;
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stats {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--muted);
  font-size: 0.78rem;
}

.stats span {
  color: var(--accent);
  font-weight: 600;
}

.stats-model {
  flex-basis: 100%;
  color: #555;
}

.section-title {
  margin: 36px 0 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--text);
}

.section-lead {
  margin: 10px 0 0;
  max-width: 42rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.glossary {
  margin-top: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.glossary dl {
  margin: 16px 0 0;
  display: grid;
  gap: 14px;
}

.glossary dl > div {
  display: grid;
  grid-template-columns: minmax(7rem, 10rem) 1fr;
  gap: 10px 16px;
  align-items: start;
}

.glossary dt {
  margin: 0;
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.glossary dd {
  margin: 0;
  color: #b0b0b0;
  font-size: 0.88rem;
  line-height: 1.55;
}

.glossary dd em {
  color: var(--text);
  font-style: normal;
}

.glossary code {
  color: var(--text);
  font-size: 0.76rem;
}

@media (max-width: 640px) {
  .glossary dl > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 28px;
  background: transparent;
  border: 0;
  border-radius: 0;
}

th, td {
  padding: 14px 10px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-weight: 600;
  background: transparent;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.68rem;
}

tr:hover td {
  background: #0d0d0d;
}

.edge {
  color: var(--accent);
  font-weight: 600;
}

.sel {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--hot);
  font-weight: 600;
}

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

.empty {
  margin-top: 32px;
  padding: 20px 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.empty strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.empty code {
  color: var(--accent);
  font-family: var(--font-body);
}

footer {
  margin-top: 36px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: #555;
  font-size: 0.72rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

@media (max-width: 720px) {
  th:nth-child(3),
  td:nth-child(3),
  th:nth-child(8),
  td:nth-child(8) {
    display: none;
  }
}
