:root {
  --bg: #0f1115;
  --surface: #181b22;
  --surface-hover: #1f232c;
  --text: #e6e8ec;
  --text-muted: #9aa1ad;
  --accent: #5865f2; /* Discord blurple */
  --border: #262b35;
  --radius: 12px;
  --max-width: 780px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

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

.site-header {
  text-align: center;
  padding: 3rem 1.5rem 1.5rem;
}

.logo { width: 64px; height: 64px; margin-bottom: 0.75rem; }

.site-header h1 {
  margin: 0;
  font-size: 2rem;
  letter-spacing: -0.02em;
}

.tagline {
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.back-link {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.5rem 4rem;
}

.intro {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  color: var(--text);
  transition: background 0.15s ease, transform 0.15s ease;
}

.card:hover {
  background: var(--surface-hover);
  transform: translateY(-2px);
  text-decoration: none;
}

.card h2 { margin: 0 0 0.5rem; font-size: 1.15rem; }
.card p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }

.prose section { margin-bottom: 2rem; }
.prose h2 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.4rem;
}
.prose ul { padding-left: 1.25rem; }
.prose li { margin-bottom: 0.35rem; }

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

.site-footer a { color: var(--text-muted); }