/* =========================
   Global Layout
========================= */

.section {
  padding-block: var(--section-spacing);
}

.narrow {
  max-width: 780px;
}


/* =========================
   Header & Navigation
========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(15, 25, 32, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(247, 245, 242, 0.1);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.85rem;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1rem;
}

/* =========================
   Hero Layout
========================= */

.hero {
  min-height: 80vh;
  display: grid;
  align-items: center;
}

.hero-grid {
  display: grid;
  gap: 2rem;
}

.hero-content {
  max-width: 760px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 2rem;
}

/* =========================
   Section Layouts
========================= */

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-soft {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      rgba(15, 25, 32, 0.72),
      rgba(15, 25, 32, 0.82)
    ),
    radial-gradient(
      circle at top right,
      rgba(200, 155, 94, 0.18),
      transparent 34rem
    ),
    url("../assets/images/hero-mountains.webp")
      center / cover no-repeat;
}

.section-sage {
  background: rgba(122, 139, 120, 0.12);
}

/* =========================
   Grid Systems
========================= */

.roadmap-grid,
.path-grid {
  display: grid;
  gap: 1.25rem;
}

/* =========================
   Footer
========================= */

.site-footer {
  padding-block: 2rem;
  border-top: 1px solid rgba(47, 72, 88, 0.12);
}

/* =========================
   Footer Layout
========================= */

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  color: var(--color-slate);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--color-amber);
}

/* =========================
   Responsive Layout
========================= */

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .hero-grid {
    grid-template-columns:
      minmax(0, 1.5fr)
      minmax(280px, 0.7fr);

    align-items: center;
  }

  .hero-actions {
    flex-direction: row;
  }

  .roadmap-grid,
  .path-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}