:root {
  --bg: #0f1419;
  --surface: #1a2332;
  --border: #2d3a4d;
  --text: #e8eef4;
  --muted: #9aa8b8;
  --accent: #3d9cf0;
  --accent-dim: #2563a8;
  --cta: #22c55e;
  --cta-hover: #16a34a;
  --warn: #f59e0b;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.25rem 1rem 3rem;
}

header.site {
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
}
header.site .logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
header.site .tag {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}
nav.crumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
nav.crumb a {
  color: var(--muted);
}

h1 {
  font-size: 1.65rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}
h2 {
  font-size: 1.15rem;
  margin: 1.75rem 0 0.75rem;
  color: var(--text);
}
.lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

.related {
  margin: -0.5rem 0 1.25rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.15rem;
  margin-bottom: 1rem;
}
.card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.cta-box {
  background: linear-gradient(135deg, #1e3a5f 0%, #1a2332 100%);
  border: 1px solid var(--accent-dim);
  border-radius: 10px;
  padding: 1.15rem 1.25rem;
  margin: 1.5rem 0;
}
.cta-box p {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.btn {
  display: inline-block;
  background: var(--cta);
  color: #052e16;
  font-weight: 600;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  text-decoration: none;
}
.btn:hover {
  background: var(--cta-hover);
  text-decoration: none;
}

table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
table.data th,
table.data td {
  text-align: left;
  padding: 0.5rem 0.65rem;
  border-bottom: 1px solid var(--border);
}
table.data th {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
table.data tr:hover td {
  background: rgba(61, 156, 240, 0.06);
}

.meta {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.pill {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: var(--border);
  color: var(--muted);
  margin-right: 0.35rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 640px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}
ul.links {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: 1.5rem;
}
ul.links li {
  margin-bottom: 0.35rem;
  break-inside: avoid;
}
.stat {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
}
