.page-faq {
  --faq-accent: #D4AF37;
  --faq-accent-soft: rgba(212, 175, 55, .18);
  --faq-warm: #FFBF69;
  --faq-red: #E63946;
  --faq-line: rgba(65, 90, 119, .45);
  --faq-card-bg: rgba(27, 38, 59, .72);
  --faq-card-bg-open: rgba(20, 32, 50, .94);
  background:
    radial-gradient(1000px 520px at 88% -8%, rgba(65, 90, 119, .28), transparent 62%),
    radial-gradient(760px 420px at -10% 24%, rgba(212, 175, 55, .10), transparent 58%),
    linear-gradient(180deg, #0D1B2A 0%, #0A1622 44%, #0F1D30 100%);
  padding: 2rem 0 4.5rem;
}

.page-faq .breadcrumb {
  margin-bottom: 1.5rem;
}

.page-faq .breadcrumb a {
  color: #8CA0B8;
  text-decoration: none;
  transition: color .2s ease;
}

.page-faq .breadcrumb a:hover {
  color: #D4AF37;
}

.page-faq .breadcrumb__sep {
  margin: 0 .55rem;
  color: #415A77;
}

.page-faq .faq-hero {
  display: grid;
  gap: 2rem;
  padding-bottom: 2rem;
}

.page-faq .faq-hero__copy h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 6vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -.025em;
  margin: .55rem 0 1rem;
  color: #F8F9FA;
}

.page-faq .faq-hero__copy p {
  max-width: 60ch;
  color: #C7D3E4;
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

.page-faq .faq-hero__meta {
  position: relative;
  overflow: hidden;
  background: #1B263B;
  border: 1px solid #415A77;
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem;
}

.page-faq .faq-hero__meta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212, 175, 55, .15), rgba(27, 38, 59, 0) 55%);
  pointer-events: none;
}

.page-faq .faq-hero__mark {
  position: relative;
  display: block;
  width: 100%;
  max-width: 180px;
  height: auto;
  margin-bottom: 1rem;
}

.page-faq .faq-hero__meta .index-label {
  position: relative;
  display: block;
  margin-bottom: .75rem;
}

.page-faq .faq-hero__metric {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: .75rem;
  padding: .7rem 0;
  border-bottom: 1px dashed rgba(65, 90, 119, .55);
}

.page-faq .faq-hero__metric:last-child {
  border-bottom: 0;
}

.page-faq .faq-hero__metric .data-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: #D4AF37;
  line-height: 1;
}

.page-faq .faq-hero__metric-label {
  font-size: .82rem;
  color: #8CA0B8;
}

.page-faq .faq-routebar {
  border-top: 1px solid #415A77;
  border-bottom: 1px solid #415A77;
  padding: .85rem 0;
  margin: .5rem 0 1rem;
}

.page-faq .faq-chipbar {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
}

.page-faq .faq-chipbar__label {
  margin-right: .35rem;
}

.page-faq .faq-chipbar__item {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  border: 1px solid rgba(212, 175, 55, .45);
  border-radius: 999px;
  padding: .38rem .85rem;
  font-size: .8rem;
  line-height: 1.2;
  color: #C7D3E4;
  text-decoration: none;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .2s ease;
}

.page-faq .faq-chipbar__item span {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #D4AF37;
  transition: color .25s ease;
}

.page-faq .faq-chipbar__item:hover {
  background: #D4AF37;
  border-color: #D4AF37;
  color: #0D1B2A;
  transform: translateY(-1px);
}

.page-faq .faq-chipbar__item:hover span {
  color: #0D1B2A;
}

.page-faq .faq-legend {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  align-items: center;
  padding-top: .8rem;
}

.page-faq .faq-legend .legend__item {
  gap: .4rem;
}

.page-faq .faq-legend .legend__key {
  width: .6rem;
  height: .6rem;
  border-radius: 999px;
  display: inline-block;
}

.page-faq .faq-legend .legend__key--gold {
  background: #D4AF37;
}

.page-faq .faq-panels {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding-top: 1.5rem;
}

.page-faq .faq-group {
  position: relative;
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}

.page-faq .faq-group--client {
  --faq-accent: #FFBF69;
}

.page-faq .faq-group--service {
  --faq-accent: #D4AF37;
}

.page-faq .faq-group--data {
  --faq-accent: #E63946;
}

.page-faq .faq-group--account {
  --faq-accent: #415A77;
}

.page-faq .faq-group__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: .65rem 1rem;
  margin-bottom: 1.25rem;
}

.page-faq .faq-group__no {
  font-family: var(--font-heading);
  font-size: 4rem;
  line-height: .85;
  font-weight: 900;
  color: rgba(212, 175, 55, .24);
  user-select: none;
}

.page-faq .faq-group__head-main {
  flex: 1 1 180px;
}

.page-faq .faq-group__head-main h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.15;
  margin: .2rem 0 0;
  color: #F8F9FA;
}

.page-faq .faq-group__desc {
  width: 100%;
  margin: 0;
  padding-left: 3.5rem;
  font-size: .85rem;
  line-height: 1.6;
  color: #8CA0B8;
}

.page-faq .faq-group__body {
  position: relative;
}

.page-faq .faq-group__body::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5rem;
  bottom: .5rem;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--faq-accent), rgba(212, 175, 55, .08));
}

.page-faq .faq-group__body--with-img {
  display: grid;
  gap: 1.5rem;
}

.page-faq .faq-list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.35rem;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}

.page-faq .faq-item {
  background: var(--faq-card-bg);
  border: 1px solid #2A3A52;
  border-left: 3px solid var(--faq-accent);
  border-radius: calc(var(--radius) - .2rem);
  overflow: hidden;
  transition: background-color .3s ease, border-color .3s ease;
}

.page-faq .faq-item[open] {
  background: var(--faq-card-bg-open);
  border-color: #33466B;
}

.page-faq .faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: 1.05rem 1.1rem;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .98rem;
  line-height: 1.5;
  color: #F8F9FA;
  transition: color .25s ease, background-color .25s ease;
}

.page-faq .faq-item summary::-webkit-details-marker {
  display: none;
}

.page-faq .faq-item summary:hover {
  color: #FFBF69;
  background: rgba(212, 175, 55, .06);
}

.page-faq .faq-item summary::before {
  content: "+";
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  background: #D4AF37;
  color: #0D1B2A;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
  transition: background-color .3s ease, color .3s ease, transform .3s ease;
}

.page-faq .faq-item[open] summary::before {
  content: "−";
  background: #E63946;
  color: #F8F9FA;
  transform: rotate(180deg);
}

.page-faq .faq-item__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .38s cubic-bezier(.4, 0, .2, 1);
}

.page-faq .faq-item[open] .faq-item__body {
  grid-template-rows: 1fr;
}

.page-faq .faq-item__text {
  overflow: hidden;
  min-height: 0;
  padding: 0 1.2rem 1.2rem 3.3rem;
  font-size: .92rem;
  line-height: 1.75;
  color: #C7D3E4;
}

.page-faq .faq-item__text p {
  margin: 0;
}

.page-faq .faq-figure {
  margin: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #415A77;
  background: rgba(13, 27, 42, .6);
}

.page-faq .faq-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-faq .faq-figure .media-frame__caption {
  padding: .55rem .8rem;
  background: rgba(13, 27, 42, .82);
  font-size: .75rem;
  color: #C7D3E4;
  text-align: center;
}

.page-faq .faq-help {
  display: grid;
  margin-top: 4rem;
  overflow: hidden;
  background:
    linear-gradient(120deg, #1B263B 0%, #22324A 75%, #263A56 100%);
  border: 1px solid #415A77;
  border-radius: calc(var(--radius) + .35rem);
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}

.page-faq .faq-help__copy {
  padding: 2rem 1.5rem;
}

.page-faq .faq-help__copy h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1.2;
  margin: .4rem 0 .8rem;
  color: #F8F9FA;
}

.page-faq .faq-help__copy p {
  max-width: 52ch;
  font-size: .94rem;
  line-height: 1.7;
  color: #C7D3E4;
  margin: 0 0 1.4rem;
}

.page-faq .faq-help__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.page-faq .faq-help__figure {
  margin: 0;
  position: relative;
  min-height: 220px;
  background: #1B263B;
  display: flex;
  flex-direction: column;
}

.page-faq .faq-help__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  flex: 1;
}

.page-faq .faq-help__figure .media-frame__caption {
  padding: .6rem .9rem;
  text-align: center;
  font-size: .78rem;
  color: #F8F9FA;
  background: rgba(13, 27, 42, .82);
}

.page-faq .faq-chipbar__item:focus-visible,
.page-faq .faq-help a:focus-visible,
.page-faq .breadcrumb a:focus-visible,
.page-faq summary:focus-visible {
  outline: 2px solid #FFBF69;
  outline-offset: 2px;
}

@media (min-width: 640px) {
  .page-faq .faq-group__head {
    display: grid;
    grid-template-columns: 4.5rem 1fr auto;
    align-items: start;
    gap: 0 .9rem;
  }

  .page-faq .faq-group__desc {
    grid-column: 2 / -1;
    width: auto;
    padding-left: 0;
    max-width: 42ch;
  }

  .page-faq .faq-help__copy {
    padding: 2.25rem 2.25rem;
  }
}

@media (min-width: 900px) {
  .page-faq {
    padding-top: 3rem;
  }

  .page-faq .faq-hero {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, .5fr);
    align-items: stretch;
    gap: 3rem;
    padding: 2.5rem 0 2rem;
  }

  .page-faq .faq-hero__copy {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .page-faq .faq-routebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: .75rem 1rem;
  }

  .page-faq .faq-legend {
    padding-top: 0;
    justify-content: flex-end;
  }

  .page-faq .faq-group__head {
    grid-template-columns: 5.5rem 1fr auto;
    gap: 0 1.2rem;
  }

  .page-faq .faq-group__no {
    font-size: 5.25rem;
  }

  .page-faq .faq-group__desc {
    grid-column: 3;
    grid-row: 1;
    text-align: right;
    max-width: 260px;
    justify-self: end;
    padding-top: .55rem;
  }

  .page-faq .faq-group__body--with-img {
    grid-template-columns: minmax(0, 1fr) 260px;
    align-items: start;
  }

  .page-faq .faq-group__body::before {
    left: -1.65rem;
  }

  .page-faq .faq-list--full {
    max-width: 68rem;
  }

  .page-faq .faq-help {
    grid-template-columns: minmax(0, 1fr) 340px;
  }

  .page-faq .faq-help__copy {
    padding: 2.75rem 2.5rem;
  }

  .page-faq .faq-help__figure {
    min-height: 100%;
  }
}

@media (min-width: 1200px) {
  .page-faq .faq-group__body--with-img {
    grid-template-columns: minmax(0, 1fr) 280px;
  }

  .page-faq .faq-help {
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  }
}
