:root {
  --bg: #0b0f17;
  --surface: #0f1724;
  --surface-2: #111a2a;
  --text: #e6e9ef;
  --muted: #96a0b5;
  --primary: #7c8cf9;
  --primary-strong: #5f6def;
  --accent: #34d399;
  --accent-2: #22c55e;
  --card-glow: 0 10px 30px rgba(124, 140, 249, 0.15);
}

.site-header {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: saturate(140%) blur(12px);
  background: linear-gradient(180deg, rgba(15, 23, 36, 0.85), rgba(15, 23, 36, 0.65));
  border-bottom: 1px solid rgba(124, 140, 249, 0.15);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: inline-flex; gap: 10px; align-items: center; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: .2px; }
.brand i { color: var(--accent); }
.nav { display: flex; gap: 16px; }
.nav__link { color: var(--muted); text-decoration: none; font-weight: 500; }
.nav__link:hover { color: var(--text); }

.site-footer { border-top: 1px solid rgba(124,140,249,0.15); background: linear-gradient(0deg, rgba(15,23,36,0.8), rgba(15,23,36,0.6)); }
.site-footer__inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; color: var(--muted); }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }

.hero { text-align: center; padding: 64px 0 28px; }
.hero__title { font-size: clamp(28px, 4vw, 44px); margin: 0 0 10px; letter-spacing: .3px; }
.hero__subtitle { margin: 0; color: var(--accent); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }

.grid { display: grid; gap: 18px; }
.cards { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); padding: 20px 0 12px; }
.card { position: relative; overflow: hidden; border-radius: 16px; background: linear-gradient(180deg, rgba(17, 26, 42, 0.85), rgba(17,26,42,0.7)); border: 1px solid rgba(124,140,249,0.12); padding: 20px; text-decoration: none; color: var(--text); box-shadow: var(--card-glow); transform: translateY(0); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card:after { content: ""; position: absolute; inset: -20% -60% auto auto; width: 60%; height: 60%; background: radial-gradient(400px 200px at 50% 50%, rgba(124,140,249,0.25), transparent 60%); transform: rotate(15deg); opacity: .6; pointer-events: none; }
.card:hover { transform: translateY(-6px); border-color: rgba(124,140,249,0.35); box-shadow: 0 12px 40px rgba(124, 140, 249, 0.25); }
.card__icon { font-size: 28px; color: var(--primary); margin-bottom: 8px; }
.card__title { margin: 0 0 6px; }
.card__text { margin: 0; color: var(--muted); }

.page-header { margin-bottom: 18px; }
.page-header h2 { margin: 0 0 6px; }
.page-header p { margin: 0; color: var(--muted); }

/* High-contrast links in article content */
.prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }
.prose a:hover, .prose a:focus-visible { color: var(--text); }
.prose a:visited { color: var(--primary); }

.placeholder { position: relative; padding: 48px 24px; border-radius: 16px; background: linear-gradient(180deg, rgba(17,26,42,0.7), rgba(17,26,42,0.5)); border: 1px dashed rgba(124,140,249,0.25); text-align: center; color: var(--muted); overflow: hidden; }
.placeholder__orb { position: absolute; width: 240px; height: 240px; background: radial-gradient(closest-side, rgba(124, 140, 249, 0.25), transparent 70%); filter: blur(8px); top: -60px; right: -60px; animation: float 8s ease-in-out infinite; }

.btn { display: inline-flex; align-items: center; gap: 10px; background: linear-gradient(180deg, var(--primary), var(--primary-strong)); color: #fff; text-decoration: none; border-radius: 999px; padding: 10px 16px; font-weight: 700; box-shadow: 0 10px 25px rgba(124,140,249,0.25); transition: transform .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(124,140,249,0.35); }

@keyframes float {
  0%, 100% { transform: translateY(0); opacity: .9; }
  50% { transform: translateY(12px); opacity: 1; }
}


