
.faq {
  --white:  #F0F0F0;
  --yellow: #F8FF13;
  --grey:   #9E9E9E;
  --dark:   #020307;

  position: relative;
  display: flex;
  justify-content: center;
  margin: 0;

  background: var(--dark);
  color: var(--white);
  overflow: hidden;
  font-family: 'Euclid Circular A', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.faq__stage {
  position: relative;
  flex: none;
  width: 1440px;
  min-height: 800px;
  padding-top: 124px;
  padding-bottom: 80px;
  box-sizing: border-box;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0) 100%);
}

.faq__bg-dots {
  position: absolute;
  left: 0;
  top: 0;
  width: 1440px;
  height: 800px;
  pointer-events: none;
  z-index: 0;
}

.faq__mobile-bg,
.faq__mobile-dots {
  display: none;
}

.faq__title {
  position: relative;
  z-index: 1;
  width: 550px;
  margin: 0 0 48px 88px;
  font-weight: 600;
  font-size: 72px;
  line-height: 72px;
  letter-spacing: -5.3px;
  color: var(--white);
}
.faq__title b { font-weight: 600; color: var(--yellow); }

.faq__grid {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 48px;
  align-items: flex-start;
  margin: 0 88px;
}
.faq__col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: 24px 40px 40px 24px;
  background:
    linear-gradient(180deg, rgba(240, 240, 240, 0.04) 0%, rgba(240, 240, 240, 0) 66.327%),
    linear-gradient(90deg, rgba(240, 240, 240, 0.02) 0%, rgba(240, 240, 240, 0.02) 100%);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  padding: 8px;
  transition: background-color 0.2s ease;
}
.faq-item.is-open { border-radius: 24px 40px 24px 24px; }
.faq-item:hover { background-color: rgba(240, 240, 240, 0.02); }

.faq__col .faq-item:nth-child(2) { --reveal-delay: 0.07s; }
.faq__col .faq-item:nth-child(3) { --reveal-delay: 0.14s; }
.faq__col .faq-item:nth-child(4) { --reveal-delay: 0.21s; }

.faq-item__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 8px 8px 8px 16px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: inherit;
}
.faq-item__q {
  flex: 1 1 0;
  min-width: 0;
  font-weight: 600;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: -0.18px;
  color: var(--white);
}

.faq-item__toggle {
  position: relative;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50px;
  border: 2px solid var(--yellow);
  background-color: rgba(248, 255, 19, 0.08);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 0 16px 0 rgba(248, 255, 19, 0.25);
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.faq-item__head:hover .faq-item__toggle,
.faq-item__head:focus-visible .faq-item__toggle { transform: scale(1.08); }
.faq-item__toggle::before,
.faq-item__toggle::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 2px;
  background: var(--yellow);
  transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.2s ease;
}
.faq-item__toggle::before { width: 16px; height: 2px; transform: translate(-50%, -50%); }
.faq-item__toggle::after  { width: 2px; height: 16px; transform: translate(-50%, -50%); }
.faq-item.is-open .faq-item__toggle {
  border-color: rgba(240, 240, 240, 0.12);
  background-color: var(--dark);
  box-shadow: none;
}
.faq-item.is-open .faq-item__toggle::before,
.faq-item.is-open .faq-item__toggle::after { background: var(--grey); }

.faq-item.is-open .faq-item__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-item__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.faq-item.is-open .faq-item__answer { grid-template-rows: 1fr; }
.faq-item__answer-wrap { overflow: hidden; }
.faq-item__answer-box {

  margin: 12px 0 0;
  padding: 16px;
  border-radius: 16px;
  background: var(--dark);
  border: 1px solid rgba(240, 240, 240, 0.08);
}
.faq-item__answer-box p {
  margin: 0;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.32px;
  color: var(--grey);
}

@media (prefers-reduced-motion: reduce) {
  .faq-item__answer,
  .faq-item__toggle,
  .faq-item__toggle::before,
  .faq-item__toggle::after { transition: none; }
}

  @media (max-width: 767px) {

    .faq__stage {
      width: 100%;
      max-width: 375px;
      min-height: 981px;
      margin: 0 auto;
      padding: 24px 0 49px;
      background: none;
    }

    .faq__bg-dots { display: none; }

    .faq__mobile-bg,
    .faq__mobile-dots {
      display: block;
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      pointer-events: none;
      z-index: 0;
    }
    .faq__mobile-bg   { z-index: 0; }
    .faq__mobile-dots { z-index: 1; }

    .faq__title {
      width: 100%;
      margin: 0 0 32px;
      text-align: center;
      font-size: 36px;
      line-height: 36px;
      letter-spacing: -3px;
    }

    .faq__grid {
      flex-direction: column;
      gap: 12px;
      margin: 0 16px;
    }

    .faq-item { padding: 0; }
    .faq-item__head { padding: 16px 16px 16px 24px; }

    .faq-item.is-open { padding: 16px 8px 8px; }
    .faq-item.is-open .faq-item__head { padding: 0 8px 0 16px; }
  }
