body {
  background: #020817;
  background-image: radial-gradient(circle at 50% 0, #1e1b4b, #020817 60%);
  color: #e5e7eb;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.noise-overlay {
  position: fixed;
  inset: 0;
  background-image: url('/assets/img/noise.png');
  mix-blend-mode: soft-light;
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
}

.nav-blur {
  backdrop-filter: blur(22px);
  background: radial-gradient(circle at top left, rgba(79,70,229,0.06), transparent), rgba(2,6,23,0.98);
  border-bottom: 1px solid rgba(75,85,99,0.55);
}

.brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(99,102,241,0.28);
}

.mobile-sheet {
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(79,70,229,0.12);
  border: 1px solid rgba(99,102,241,0.25);
  color: #c7d2fe;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 48rem;
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 4.6rem);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
}

.hero-title-accent {
  background: linear-gradient(90deg, #818cf8, #c084fc 55%, #34d399);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  color: #94a3b8;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.7;
}

.surface-card {
  background: linear-gradient(180deg, rgba(17,24,39,0.78), rgba(8,12,24,0.92));
  border: 1px solid rgba(99,102,241,0.12);
  backdrop-filter: blur(16px);
  border-radius: 24px;
  box-shadow: 0 18px 55px rgba(0,0,0,0.28);
}

.article-card {
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  background: rgba(17, 24, 39, 0.42);
  border: 1px solid rgba(31, 41, 55, 0.62);
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99,102,241,0.6);
  box-shadow: 0 18px 45px -18px rgba(99, 102, 241, 0.32);
}

.content-panel {
  background: rgba(8, 12, 24, 0.58);
  border: 1px solid rgba(75,85,99,0.26);
  border-radius: 24px;
  backdrop-filter: blur(14px);
}

.aside-panel {
  background: rgba(11, 15, 27, 0.72);
  border: 1px solid rgba(75,85,99,0.26);
  border-radius: 22px;
  backdrop-filter: blur(14px);
}

.prose-custom {
  max-width: 100%;
  font-size: 1.05rem;
  color: #9ca3af;
  line-height: 1.85;
}

.prose-custom h1,
.prose-custom h2,
.prose-custom h3 {
  color: #f3f4f6;
  font-weight: 800;
  margin-top: 2.2rem;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.prose-custom h2 {
  font-size: 1.85rem;
}

.prose-custom h3 {
  font-size: 1.35rem;
}

.prose-custom p {
  margin-bottom: 1.25rem;
}

.prose-custom ul,
.prose-custom ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.prose-custom li {
  margin-bottom: 0.45rem;
}

.prose-custom a {
  color: #818cf8;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.prose-custom a:hover {
  color: #a5b4fc;
}

.prose-custom strong {
  color: #e5e7eb;
  font-weight: 700;
}

.page-pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(75,85,99,0.45);
}

.page-pagination a.active {
  background: linear-gradient(90deg, #6366f1, #4f46e5);
  border-color: rgba(99,102,241,0.85);
  color: #fff;
}
