/* Background FX */
.bgfx{
  position: fixed;
  inset: 0;
  pointer-events:none;
  z-index: -1;
  background:
    radial-gradient(1200px 800px at 15% 10%, rgba(77,210,255,.14), transparent 55%),
    radial-gradient(900px 650px at 85% 20%, rgba(77,255,154,.10), transparent 55%),
    radial-gradient(800px 600px at 50% 95%, rgba(160,90,255,.08), transparent 55%);
  opacity: .95;
}
.bgfx:after{
  content:"";
  position:absolute; inset:0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: .04;
  mix-blend-mode: overlay;
}

/* NAV */
.nav{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(5,7,11,.72);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 12px 0;
}
.brand{
  display:flex; align-items:center; gap: 10px;
  font-weight: 850;
  letter-spacing: .2px;
  white-space: nowrap;
}
.links{
  display:flex; gap: 12px; flex-wrap: wrap;
  justify-content:flex-end;
  font-size: 14px;
  color: var(--muted);
}
.links a{
  padding: 8px 10px;
  border-radius: 12px;
}
.links a:hover{
  background: rgba(255,255,255,.06);
  color: var(--fg);
  text-decoration: none;
}

/* Sections + layouts */
section{ padding: 54px 0; }

.split{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 22px;
  align-items: center;
}
.split.reverse{ grid-template-columns: .9fr 1.1fr; }

/* Page hero: center the text card content (used on all non-index pages) */
.page-hero {
  text-align: center;
}

.page-hero-inner {
  display: flex;
  justify-content: center;
}

.page-hero-card {
  text-align: center;
  margin-inline: auto;
}

/* Make the meta pills center too */
.page-hero-card .meta-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* Optional: keep the card from getting stupid wide */
.page-hero-card {
  max-width: 820px;
}

/* Optional: center kicker + tighten spacing a bit */
.page-hero-card .kicker {
  margin-inline: auto;
}

/* Force-center the *content* inside the page hero card */
.page-hero .page-hero-card,
.page-hero .page-hero-card * {
  text-align: center !important;
}

/* ================================
   Page Hero — CENTERED (no image)
   Used on all non-index pages
================================ */

.page-hero {
  padding: 4rem 0 3rem;
}

.page-hero-inner {
  display: flex;
  justify-content: center;
}

.page-hero-card {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

/* Center the sub text properly */
.page-hero-card .sublead {
  margin-left: auto;
  margin-right: auto;
}

/* Center pills / meta row */
.page-hero-card .meta-row {
  display: flex;
  justify-content: center;
  margin-top: 1.25rem;
}

/* Center pills in page hero */
.page-hero .meta-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.section-head.center {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 24px;
}

.section-head.center .lead {
  margin-left: auto;
  margin-right: auto;
}

/* Meta pills (page hero pills) */
.meta-row{
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top:12px;
}

.meta-pill{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  padding:.45rem .85rem;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.06);
  box-shadow:0 10px 25px rgba(0,0,0,.25);
  font-weight:700;
  font-size:13px;
  letter-spacing:.2px;
}
