.faq-page {
  --faq-yellow: #f2cb02;
  --faq-yellow-deep: #c79f00;
  --faq-ink: #111;
  --faq-border: rgba(17, 17, 17, .1);
  --faq-shadow: 0 16px 36px rgba(17, 17, 17, .07);
  --faq-shadow-strong: 0 22px 48px rgba(17, 17, 17, .1);
  --faq-panel-fill: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(252, 250, 241, .96));
}

.faq-page .faq-page-hero {
  position: relative;
  overflow: hidden;
}

.faq-page .faq-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, .34), rgba(255, 255, 255, 0) 42%),
    linear-gradient(135deg, rgba(255, 255, 255, .12), rgba(17, 17, 17, 0));
  pointer-events: none;
}

.faq-page .faq-page-hero .onStep {
  position: relative;
  z-index: 1;
}

.faq-page-main {
  background:
    radial-gradient(circle at top left, rgba(242, 203, 2, .08), rgba(242, 203, 2, 0) 26%),
    linear-gradient(180deg, #fff 0%, #fff 72%, #fcfbf5 100%);
}

.faq-page-panel {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.faq-page-intro {
  max-width: 860px;
}

.faq-accordion {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.faq-more-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 26px 0 34px;
  text-align: center;
}

.faq-more-summary {
  margin: 0;
  color: #666;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.5;
  text-transform: uppercase;
}

.faq-more-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  border: 1px solid #111;
  border-radius: 999px;
  background: #111;
  color: #f6f6f6;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: background .22s ease, border-color .22s ease, color .22s ease, opacity .22s ease;
}

.faq-more-button:hover,
.faq-more-button:focus {
  background: var(--faq-yellow);
  border-color: var(--faq-yellow);
  color: #111;
}

.faq-more-button.is-loading,
.faq-more-button:disabled {
  opacity: .72;
  cursor: wait;
}

.faq-more-button[hidden],
.faq-more-button.is-loaded {
  display: none !important;
}

.faq-accordion__item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--faq-border);
  background: var(--faq-panel-fill);
  box-shadow: var(--faq-shadow);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.faq-accordion__item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, #111 0%, #111 22%, var(--faq-yellow) 100%);
}

.faq-accordion__item:hover {
  transform: translateY(-1px);
  box-shadow: var(--faq-shadow-strong);
}

.faq-accordion__item.is-open {
  border-color: rgba(242, 203, 2, .58);
  box-shadow: 0 24px 52px rgba(17, 17, 17, .12);
}

.faq-accordion__heading {
  margin: 0;
}

.faq-accordion__button {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  width: 100%;
  padding: 22px 24px 22px 28px;
  border: 0;
  background: transparent;
  color: var(--faq-ink);
  text-align: left;
}

.faq-accordion__button:hover,
.faq-accordion__button:focus {
  background: rgba(17, 17, 17, .015);
}

.faq-accordion__button:focus {
  outline: 2px solid rgba(242, 203, 2, .65);
  outline-offset: -2px;
}

.faq-accordion__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: #111;
  box-shadow: inset 0 0 0 1px rgba(242, 203, 2, .2);
  color: var(--faq-yellow);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1;
  text-transform: uppercase;
}

.faq-accordion__text {
  display: grid;
  gap: 6px;
  align-content: center;
}

.faq-accordion__eyebrow {
  color: var(--faq-yellow-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.faq-accordion__question {
  display: block;
  max-width: 860px;
  color: #171717;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1.28;
}

.faq-accordion__icon {
  position: relative;
  align-self: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(17, 17, 17, .12);
  border-radius: 999px;
  background: #fffdf4;
  transition: background .22s ease, border-color .22s ease, transform .22s ease;
}

.faq-accordion__icon::before,
.faq-accordion__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  background: #111;
  transform: translate(-50%, -50%);
  transition: opacity .22s ease, background .22s ease;
}

.faq-accordion__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-accordion__item.is-open .faq-accordion__icon {
  border-color: #111;
  background: #111;
  transform: rotate(180deg);
}

.faq-accordion__item.is-open .faq-accordion__icon::before,
.faq-accordion__item.is-open .faq-accordion__icon::after {
  background: var(--faq-yellow);
}

.faq-accordion__item.is-open .faq-accordion__icon::after {
  opacity: 0;
}

.faq-accordion__panel {
  overflow: hidden;
  height: 0;
  transition: height .32s ease;
}

.faq-accordion__item.is-open .faq-accordion__panel {
  border-top: 1px solid rgba(17, 17, 17, .08);
  height: auto;
}

.faq-accordion__panel-inner {
  padding: 24px 24px 24px 92px;
}

.faq-accordion__panel p {
  max-width: 860px;
  margin: 0 0 12px;
  color: #383838;
  font-size: 15px;
  line-height: 1.72;
}

.faq-accordion__panel p:last-child {
  margin-bottom: 0;
}

.faq-page-cta-section {
  padding-top: 0;
}

.faq-cta-box {
  position: relative;
  overflow: hidden;
  padding: 38px 42px;
  border: 1px solid rgba(17, 17, 17, .16);
  background:
    linear-gradient(135deg, rgba(242, 203, 2, .98), rgba(255, 226, 85, .98));
  box-shadow: 0 24px 52px rgba(17, 17, 17, .14);
}

.faq-cta-box::before {
  content: "";
  position: absolute;
  top: -68px;
  right: -52px;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
}

.faq-cta-box > * {
  position: relative;
  z-index: 1;
}

.faq-cta-box .service-kicker {
  color: #5b4c00;
}

.faq-cta-box .page-intro-summary {
  max-width: 780px;
  color: #2d2600;
}

.faq-cta-actions {
  justify-content: flex-start;
}

.faq-cta-actions a {
  border-color: rgba(17, 17, 17, .24);
  background: rgba(255, 255, 255, .26);
}

.faq-cta-actions a:hover,
.faq-cta-actions a:focus {
  background: #111;
  color: var(--faq-yellow);
}

@media (max-width: 991px) {
  .faq-accordion__question {
    font-size: 20px;
  }

  .faq-accordion__panel-inner {
    padding: 24px 24px 24px 84px;
  }

  .faq-cta-box {
    padding: 34px 30px;
  }
}

@media (max-width: 767px) {
  .faq-accordion {
    gap: 12px;
  }

  .faq-accordion__button {
    gap: 12px;
    padding: 18px 18px 18px 22px;
  }

  .faq-accordion__index {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: 11px;
  }

  .faq-accordion__question {
    font-size: 18px;
  }

  .faq-accordion__icon {
    width: 40px;
    height: 40px;
  }

  .faq-accordion__panel-inner {
    padding: 18px 18px 18px 22px;
  }

  .faq-cta-box {
    padding: 28px 24px;
  }
}

@media (max-width: 520px) {
  .faq-accordion__button {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .faq-accordion__icon {
    grid-column: 2;
    justify-self: end;
    margin-top: 4px;
  }
}
