:root {
  --bg: #070a0f;
  --bg2: #0c1118;
  --surface: #121a24;
  --card: #151e2a;
  --border: #243044;
  --text: #eef3f9;
  --muted: #8fa3b8;
  --gold: #e8c547;
  --gold-dim: #b8941f;
  --link: #7ec8ff;
  --accent: #34d399;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  background-image:
    radial-gradient(ellipse 70% 45% at 50% -10%, rgba(232, 197, 71, 0.08), transparent),
    radial-gradient(ellipse 40% 30% at 100% 0%, rgba(126, 200, 255, 0.05), transparent);
}

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

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(12, 17, 24, 0.92);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none !important;
  color: inherit;
}

.brand-link img.logo { height: 36px; width: auto; }

.brand-text h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.brand-text p {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.1rem;
}

.nav-links {
  display: flex;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--gold); text-decoration: none; }

main, .wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.75rem 1.5rem 3rem;
}

.hero {
  padding: 2rem 0 1.5rem;
}

.hero h2 {
  font-family: Georgia, serif;
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.hero p { color: var(--muted); max-width: 560px; }

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
}

.stat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
}

.stat-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.stat-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  margin-top: 0.25rem;
  font-variant-numeric: tabular-nums;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.page-list { list-style: none; }

.page-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}

.page-list li:last-child { border-bottom: none; }

.meta { color: var(--muted); font-size: 0.82rem; }

.badge {
  display: inline-block;
  background: rgba(232, 197, 71, 0.12);
  color: var(--gold);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cta {
  display: inline-block;
  margin-top: 1rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  color: #1a1200;
  padding: 0.65rem 1.15rem;
  border-radius: 8px;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.9rem;
}

.site-footer {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem 2rem;
  color: var(--muted);
  font-size: 0.75rem;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}

.prose h1 { font-family: Georgia, serif; margin-bottom: 0.75rem; }
.prose h2 { font-size: 1rem; margin: 1.25rem 0 0.5rem; color: var(--gold); }
.prose p { margin-bottom: 0.75rem; color: var(--muted); }
