.page-home {
  position: relative;
  display: grid;
  gap: clamp(1.56rem, 2.24vw, 2.26rem);
}

.page-home::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(980px 420px at 10% 2%, rgba(73, 208, 243, 0.08), transparent 72%),
    radial-gradient(860px 380px at 92% 98%, rgba(220, 182, 96, 0.07), transparent 74%);
  pointer-events: none;
  opacity: 0.48;
}

.page-home .content-section {
  position: relative;
  isolation: isolate;
  scroll-margin-top: 108px;
}

.page-home .hero-story {
  margin-top: 0.08rem;
}

.page-home .constellation,
.page-home .spotlight,
.page-home .showcase,
.page-home .paths,
.page-home .cta-band,
.page-home .card {
  backdrop-filter: saturate(112%);
}

.page-home .showcase-head h2,
.page-home .paths-head h2,
.page-home .spotlight-head h2 {
  max-width: 18ch;
  letter-spacing: -0.024em;
  line-height: 1.12;
}

.page-home .showcase-head p,
.page-home .paths-head p,
.page-home .spotlight-head p {
  max-width: 66ch;
  text-wrap: pretty;
  font-size: 1.02rem;
  line-height: 1.68;
}

.page-home .showcase-body,
.page-home .spotlight-body,
.page-home .path-subtitle,
.page-home .constellation-card-detail,
.page-home .showcase-bullets,
.page-home .path-bullets {
  font-size: 0.99rem;
  line-height: 1.6;
}

.page-home .showcase-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1rem;
}

.page-home .paths-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.page-home .spotlight-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1rem;
}

.page-home .path-card {
  grid-column: span 1;
}

.page-home .section-ecosystem .card,
.page-home .section-stats .card,
.page-home .section-timeline .card {
  border-color: rgba(137, 204, 232, 0.42);
  background:
    radial-gradient(760px 300px at 0% -22%, rgba(42, 177, 218, 0.14), transparent 70%),
    radial-gradient(620px 260px at 100% 0%, rgba(214, 173, 85, 0.12), transparent 74%),
    linear-gradient(184deg, rgba(255, 255, 255, 0.99), rgba(246, 252, 255, 0.972));
}

.page-home .section-stats .stat,
.page-home .section-timeline .timeline-step,
.page-home .section-ecosystem .logo-pill {
  border-color: rgba(145, 208, 234, 0.4);
  background:
    radial-gradient(440px 180px at 0% -20%, rgba(45, 179, 219, 0.12), transparent 72%),
    rgba(255, 255, 255, 0.995);
}

.page-home .showcase-card,
.page-home .spotlight-card,
.page-home .path-card {
  padding: 1.08rem 1.04rem 1.02rem;
}

.page-home .showcase-icon-wrap,
.page-home .spotlight-glyph {
  border-radius: 16px;
}

.page-home :where(.showcase-title, .spotlight-title, .path-title, .constellation-card-title) {
  letter-spacing: -0.02em;
}

.page-home :where(.content-section p, .content-section li) {
  text-wrap: pretty;
}

/* Section-local tokens keep readability deterministic when content changes. */
.page-home .hero-story,
.page-home .constellation,
.page-home .showcase,
.page-home .cta-band {
  --module-heading: rgba(247, 253, 255, 0.998);
  --module-text: rgba(238, 248, 254, 0.996);
  --module-muted: rgba(217, 238, 249, 0.97);
}

.page-home .spotlight,
.page-home .paths,
.page-home .section-stats,
.page-home .section-timeline,
.page-home .section-ecosystem {
  --module-heading: rgba(5, 58, 83, 0.998);
  --module-text: rgba(8, 67, 95, 0.994);
  --module-muted: rgba(29, 82, 109, 0.95);
}

@media (max-width: 1120px) {
  .page-home {
    gap: 1.2rem;
  }

  .page-home::before {
    opacity: 0.38;
  }

  .page-home .showcase-grid,
  .page-home .paths-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .spotlight-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1420px) {
  .page-home .showcase-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .page-home {
    gap: 0.9rem;
  }

  .page-home::before {
    display: none;
  }

  .page-home .showcase-grid,
  .page-home .paths-grid,
  .page-home .spotlight-grid,
  .page-home .constellation-cards {
    grid-template-columns: 1fr;
    overflow: visible;
    gap: 0.72rem;
    padding-bottom: 0;
  }

  .page-home .showcase-card,
  .page-home .path-card,
  .page-home .spotlight-card,
  .page-home .constellation-card {
    min-height: 100%;
  }

  .page-home .cta-band {
    padding: 1.1rem;
  }
}
