:root {
  --app-bg: #f5f6fb;
  --ink: #0f172a;
  --accent: #2563eb;
  --accent-2: #0ea5e9;
  --panel: #ffffff;
  --muted: #64748b;
  --border: rgba(15, 23, 42, 0.08);
}

body {
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--app-bg);
}

h1, h2, h3, .display-font {
  font-family: "Fraunces", "Times New Roman", serif;
}

.app-navbar {
  background: linear-gradient(120deg, #0f172a, #1e3a5f 45%, #0b2b52);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.35);
}

.app-navbar .nav-link {
  color: rgba(255, 255, 255, 0.8) !important;
}

.app-navbar .nav-link:hover {
  color: #fff !important;
}

.brand-logo {
  height: 34px;
  width: auto;
  object-fit: contain;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  display: inline-block;
}

.brand-mark.sm {
  width: 28px;
  height: 28px;
  border-radius: 9px;
}

.hero-slab {
  background: radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.35), transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(99, 102, 241, 0.3), transparent 35%),
    linear-gradient(130deg, #0b1a33, #0f2f5c 55%, #0b2547);
  color: #fff;
  padding: 5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}

.hero-slab::after {
  content: "";
  position: absolute;
  inset: 10% auto auto 55%;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.35), transparent 70%);
  filter: blur(4px);
}

.stat-grid .card {
  border: 1px solid var(--border);
  border-radius: 16px;
}

.post-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  background: var(--panel);
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.pill-soft {
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  background: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
  font-size: 0.78rem;
  font-weight: 600;
}

.app-footer {
  background: #0b162e;
  color: rgba(255, 255, 255, 0.85);
}

.prose {
  line-height: 1.75;
}

.prose img {
  max-width: 100%;
  border-radius: 12px;
}
