/* ==========================================================================
   Why a Gateway — AI Gateway page, below the hero. Editorial "why" narrative:
   left masthead title, right multi-paragraph body. Text-forward SUPPORTING
   section (the hero is the page focal), so it stays light and quiet with the
   blue primary used only as accents. Layout borrows the masthead+prose idiom
   but as a two-column essay — distinct from the single-column hero.
   Primary blue gradient #0036FA → #4E87FC on kicker + accents. Cabin type.
   Motion: scroll-reveal rise + stagger (~0.6s ease).
   ========================================================================== */

.pg-why {
  background-color: #fff;
  padding: 104px 0;
}

.pg-why__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 80px;
  align-items: start;
}

/* --- left masthead --- */
.pg-why__head {
  position: sticky;
  top: 100px;
}

.pg-why__kicker {
  font-family: "Cabin", sans-serif;
  font-weight: 600;
  font-size: 13px;
  line-height: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #0036fa, #4e87fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pg-why__title {
  font-family: "Cabin", sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: #12140f;
  margin-top: 20px;
  max-width: 460px;
}

.pg-why__rule {
  width: 64px;
  height: 4px;
  border-radius: 2px;
  margin-top: 28px;
  background: linear-gradient(90deg, #0036fa, #4e87fc);
}

/* --- right body --- */
.pg-why__body {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-top: 6px;
}

.pg-why__p {
  font-family: "Cabin", sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 28px;
  color: #4d4d4d;
}

.pg-why__hl {
  color: #0036fa;
  font-weight: 600;
}

/* --- scroll-reveal (site motion language) --- */
.pg-why__head,
.pg-why__p {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.pg-why__head.is-in,
.pg-why__p.is-in {
  opacity: 1;
  transform: none;
}

.pg-why__p.is-in:nth-of-type(1) { transition-delay: 0.06s; }
.pg-why__p.is-in:nth-of-type(2) { transition-delay: 0.16s; }
.pg-why__p.is-in:nth-of-type(3) { transition-delay: 0.26s; }

@media (prefers-reduced-motion: reduce) {
  .pg-why__head,
  .pg-why__p {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --- responsive --- */
@media (max-width: 1040px) {
  .pg-why {
    padding: 80px 0;
  }
  .pg-why__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 24px;
  }
  .pg-why__head {
    position: static;
  }
  .pg-why__title {
    font-size: 32px;
    max-width: none;
  }
}

@media (max-width: 600px) {
  .pg-why__title {
    font-size: 28px;
  }
  .pg-why__p {
    font-size: 16px;
    line-height: 27px;
  }
}
