/* ==================================================
   Q&A PAGE
================================================== */

.qa-page {
  position: relative;
  isolation: isolate;
  width: 100%;
  overflow: clip;
  background-color: var(--Primary-colors-Grey-200);
}


/* ==================================================
   Q&A INTRO
================================================== */

.qa-intro {
  position: relative;
  margin-top: -96px;
  padding-top: 96px;
}

.qa-intro__container {
  position: relative;
}

.qa-intro__layout {
  position: relative;
  padding-block: 144px 0;
}

.qa-intro__content {
  grid-column: 4 / 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  text-align: center;
}

.qa-intro__eyebrow {
  margin: 0;
  color: var(--Primary-colors-Blue-500);
}

.qa-intro__title {
  margin: 8px 0 0;
  color: var(--Primary-colors-Dark-Blue-700);
}

.qa-intro__title-main,
.qa-intro__title-accent {
  display: block;
}

.qa-intro__title-accent {
  margin-top: 0;
}

.qa-intro__description {
  margin: 40px 0 0;
  color: var(--Primary-colors-Dark-Blue-600);
}


/* ==================================================
   Q&A ANIMATED BACKGROUND
================================================== */

.qa-page__background {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: visible;
  pointer-events: none;
}

.qa-page__blob {
  position: absolute;
  width: 640px;
  height: 640px;
  filter: blur(53.099998474121094px);
  opacity: 0.8;
  transform: translate3d(0, 0, 0);
  will-change: transform, border-radius;
}

.qa-page__blob--one {
  top: -320px;
  left: 25%;
  background: rgba(37, 191, 160, 0.15);
  animation: qa-page-blob-one 8s ease-in-out infinite alternate;
}

.qa-page__blob--two {
  display: none;
  left: calc(50% - 100px + 269px);
  bottom: -20%;
  width: 829px;
  height: 555px;
  background: rgba(113, 89, 237, 0.15);
  animation: qa-page-blob-two 8s ease-in-out infinite alternate;
  animation-delay: -3s;
}


/* ==================================================
   BLOB ANIMATIONS
================================================== */

@keyframes qa-page-blob-one {
  0% {
    transform:
      translate3d(12%, -12%, 0)
      scale(1);
    border-radius:
      44% 56% 63% 37%
      /
      46% 36% 64% 54%;
  }

  50% {
    transform:
      translate3d(-5%, 5%, 0)
      scale(1.25);
    border-radius:
      62% 38% 42% 58%
      /
      38% 61% 39% 62%;
  }

  100% {
    transform:
      translate3d(-8%, 8%, 0)
      scale(0.95);
    border-radius:
      36% 64% 55% 45%
      /
      58% 42% 58% 42%;
  }
}

@keyframes qa-page-blob-two {
  0% {
    transform:
      translate3d(5%, 10%, 0)
      scale(1.1);
    border-radius:
      61% 39% 52% 48%
      /
      42% 58% 42% 58%;
  }

  50% {
    transform:
      translate3d(-5%, -2%, 0)
      scale(0.9);
    border-radius:
      38% 62% 36% 64%
      /
      62% 38% 62% 38%;
  }

  100% {
    transform:
      translate3d(2%, -12%, 0)
      scale(1.1);
    border-radius:
      54% 46% 65% 35%
      /
      35% 55% 45% 65%;
  }
}


/* ==================================================
   FAQ
================================================== */

.qa-faq {
  position: relative;
}

.qa-faq__container {
  position: relative;
}

.qa-faq__grid {
  position: relative;
}

.qa-faq__accordion {
  grid-column: 3 / 11;
  margin-top: 96px;
}


/* ==================================================
   TABLET / MOBILE
================================================== */

@media (max-width: 1024px) {

  /* ==================================================
     Q&A PAGE
  ================================================== */

  .qa-page {
    overflow: clip;
  }


  /* ==================================================
     Q&A INTRO
  ================================================== */

  .qa-intro {
    margin-top: -82px;
    padding-top: 82px;
  }

  .qa-intro__layout {
    padding-block: 48px 0;
  }

  .qa-intro__content {
    grid-column: 1 / -1;
    max-width: none;
    text-align: center;
  }

  .qa-intro__description {
    margin-top: 24px;
    font-size: 16px;
  }


  /* ==================================================
     FAQ
  ================================================== */

  .qa-faq__grid {
    position: relative;
  }

  .qa-faq__accordion {
    grid-column: 1 / -1;
    margin-top: 40px;
  }


  /* ==================================================
     Q&A BLOBS
  ================================================== */

  .qa-page__blob {
    width: 220px;
    height: 220px;
  }

  .qa-page__blob--one {
    top: 10%;
    left: 50%;
    animation-name: qa-page-blob-one-tablet;
  }


  /* ==================================================
     Q&A BLOBS — TABLET ANIMATION
  ================================================== */

  @keyframes qa-page-blob-one-tablet {
    0% {
      transform:
        translate3d(-50%, -12%, 0)
        scale(1);
    }

    50% {
      transform:
        translate3d(-50%, 5%, 0)
        scale(1.25);
    }

    100% {
      transform:
        translate3d(-50%, 8%, 0)
        scale(0.95);
    }
  }
}


/* ==================================================
   REDUCED MOTION
================================================== */

@media (prefers-reduced-motion: reduce) {

  .qa-page__blob {
    animation: none;
  }
}
