@layer sections {
  .faq {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-block: var(--sp-120);
    background: var(--surface-primary);
  }

  .faq::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: var(--surface-scrim);
    pointer-events: none;
  }

  .faq__background {
    position: absolute;
    z-index: -2;
    inset: 0;
    overflow: hidden;
  }

  .faq__background-image {
    position: absolute;
    top: -53px;
    left: calc(50% + 205px);
    width: 2226px;
    height: 1053px;
    max-width: none;
    transform: translateX(-50%);
    object-fit: cover;
  }

  .faq__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-56);
    overflow: hidden;
  }

  .faq__head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-16);
    width: 100%;
    overflow: hidden;
  }

  .faq__title { width: 792px; max-width: 100%; }

  .faq__accordion {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 792px;
    max-width: 100%;
    padding: var(--sp-12);
    overflow: hidden;
    border: .5px solid var(--surface-separator);
    border-radius: var(--r-20);
    background: var(--surface-glass-1);
    -webkit-backdrop-filter: blur(60px);
    backdrop-filter: blur(60px);
  }

  .faq-item {
    width: 100%;
    padding: var(--sp-16);
    overflow: hidden;
    border-radius: var(--r-8);
    transition: background var(--dur) var(--ease);
  }

  .faq-item:hover,
  .faq-item[open] { background: var(--surface-glass-1); }

  .faq-item__question {
    display: flex;
    align-items: center;
    gap: var(--sp-12);
    width: 100%;
    min-height: 26px;
    overflow: hidden;
    color: var(--label-primary);
    font-size: var(--fs-h5);
    font-weight: 500;
    line-height: 1.32;
    letter-spacing: -.01em;
    cursor: pointer;
    list-style: none;
  }

  .faq-item__question::-webkit-details-marker { display: none; }
  .faq-item__question::marker { content: ""; }
  .faq-item__question > span:first-child { flex: 1 1 auto; min-width: 0; }

  .faq-item__icon {
    position: relative;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    color: currentColor;
  }

  .faq-item__icon::before,
  .faq-item__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 1.5px;
    border-radius: var(--r-full);
    background: currentColor;
    transform: translate(-50%, -50%);
    transition: transform var(--dur) var(--ease);
  }

  .faq-item__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
  .faq-item[open] .faq-item__icon::after { transform: translate(-50%, -50%); }
  .faq-item[open] .faq-item__question { color: var(--accent-primary); }

  .faq-item__answer {
    max-width: 690px;
    min-width: 100%;
    padding-block-start: var(--sp-12);
    color: var(--label-primary);
  }

  .faq-item__answer p { margin: 0; }

  @media (max-width: 767px) {
    .faq { padding-block: var(--sp-96); }

    .faq__background-image {
      top: -108.59px;
      left: calc(50% + 155px);
      width: 1786px;
      height: 845.04px;
    }

    .faq__title,
    .faq__accordion { width: 100%; }
  }

  @media (max-width: 420px) {
    .faq__accordion { padding: var(--sp-8); }
    .faq-item { padding: var(--sp-12); }
  }
}
