.page--faq .site-main {
  background: #F4F8FC;
}

.page--faq .breadcrumbs {
  margin-bottom: 10px;
}

.faq-page {
  --faq-surface: #FFFFFF;
  --faq-surface-soft: #F5F9FC;
  --faq-text: #102033;
  --faq-muted: #5F6F82;
  --faq-line: #D9E6F0;
  --faq-primary: #0861C2;
  --faq-primary-dark: #073866;
  --faq-accent: #087685;
  padding: 12px 0 88px;
  color: var(--faq-text);
  background:
    radial-gradient(circle at 88% 4%, rgba(8, 118, 133, .08), transparent 28%),
    linear-gradient(180deg, #F4F8FC 0%, #F7FAFD 100%);
  font-family: var(--font-main);
}

.faq-page,
.faq-page * {
  min-width: 0;
}

@supports (content-visibility: auto) {
  .faq-page__questions,
  .faq-page__help,
  .faq-page__ask,
  .faq-page__cta {
    content-visibility: auto;
    contain-intrinsic-size: auto 620px;
  }
}

.faq-page__container {
  display: grid;
  gap: 28px;
}

.faq-page .btn {
  font-weight: 600;
}

.faq-page__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin: 0 0 12px;
  color: var(--faq-accent);
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.faq-page__eyebrow::before {
  display: inline-block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  content: "";
}

.faq-page__hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 360px);
  gap: 34px;
  align-items: center;
  overflow: hidden;
  padding: 56px 62px;
  color: #FFFFFF;
  background:
    radial-gradient(circle at 84% 50%, rgba(8, 118, 133, .34), transparent 34%),
    linear-gradient(135deg, #10243A 0%, #0D1B29 100%);
  border-radius: 26px;
  box-shadow: 0 24px 60px rgba(15, 38, 62, .13);
}

.faq-page__hero::before {
  position: absolute;
  inset: -70px;
  background-image: radial-gradient(circle, rgba(255, 255, 255, .12) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: .34;
  content: "";
}

.faq-page__hero-content,
.faq-page__hero-card {
  position: relative;
  z-index: 1;
}

.faq-page__hero .faq-page__eyebrow {
  color: #73D8E3;
}

.faq-page__title {
  max-width: 880px;
  margin: 0;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: clamp(38px, 4.6vw, 64px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -.045em;
}

.faq-page__lead {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: 18px;
  line-height: 1.65;
  font-weight: 400;
}

.faq-page__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.faq-page__hero-secondary {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, .55);
}

.faq-page__hero-secondary:hover {
  color: var(--faq-primary-dark);
  background: #FFFFFF;
  border-color: #FFFFFF;
}

.faq-page__hero-card {
  display: grid;
  gap: 16px;
  justify-self: end;
  width: min(100%, 320px);
  padding: 32px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 22px;
  box-shadow: 0 22px 54px rgba(0, 0, 0, .22);
  backdrop-filter: blur(5px);
}

.faq-page__hero-mark {
  display: grid;
  place-items: center;
  width: 100px;
  height: 100px;
  margin-bottom: 12px;
  color: #0D1B29;
  background: #FFFFFF;
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 60px;
  line-height: 1;
  font-weight: 700;
}

.faq-page__hero-card > span {
  display: block;
  height: 12px;
  background: rgba(255, 255, 255, .18);
  border-radius: 999px;
}

.faq-page__hero-card > span:nth-of-type(2) {
  width: 72%;
}

.faq-page__hero-card > span:nth-of-type(3) {
  width: 88%;
  height: 44px;
  margin-top: 8px;
  background: rgba(8, 118, 133, .52);
}

.faq-page__intro,
.faq-page__controls,
.faq-page__questions,
.faq-page__help,
.faq-page__ask {
  padding: 30px;
  background: var(--faq-surface);
  border: 1px solid var(--faq-line);
  border-radius: 24px;
  box-shadow: 0 14px 36px rgba(30, 62, 91, .06);
}

.faq-page__intro > :last-child {
  margin-bottom: 0;
}

.faq-page__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.faq-page__stat {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 124px;
  padding: 24px;
  background: var(--faq-surface);
  border: 1px solid var(--faq-line);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(30, 62, 91, .05);
}

.faq-page__stat strong {
  color: var(--faq-primary);
  font-family: var(--font-heading);
  font-size: 40px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.04em;
}

.faq-page__stat span {
  color: var(--faq-muted);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 400;
}

.faq-page__section-head {
  display: grid;
  gap: 4px;
  margin-bottom: 22px;
}

.faq-page__section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.faq-page__section-title {
  margin: 0;
  color: var(--faq-text);
  font-family: var(--font-heading);
  font-size: clamp(29px, 3vw, 44px);
  line-height: 1.08;
  font-weight: 650;
  letter-spacing: -.035em;
}

.faq-page__toggle-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.faq-page__small-button {
  min-height: 38px;
  padding: 8px 15px;
  color: var(--faq-primary);
  background: #EDF5FC;
  border: 1px solid rgba(8, 97, 194, .2);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.faq-page__small-button:hover {
  color: #FFFFFF;
  background: var(--faq-primary);
  border-color: var(--faq-primary);
}

.faq-search {
  margin-bottom: 16px;
}

.faq-search__input {
  width: 100%;
  min-height: 58px;
  padding: 0 20px;
  color: var(--faq-text);
  background: var(--faq-surface-soft);
  border: 1px solid var(--faq-line);
  border-radius: 12px;
  font: inherit;
  font-weight: 400;
  outline: 0;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.faq-search__input::placeholder {
  color: #7A8999;
}

.faq-search__input:focus {
  background: #FFFFFF;
  border-color: var(--faq-accent);
  box-shadow: 0 0 0 4px rgba(8, 118, 133, .12);
}

.faq-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.faq-filter__button {
  min-height: 40px;
  padding: 9px 18px;
  color: #42576D;
  background: #FFFFFF;
  border: 1px solid var(--faq-line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.faq-filter__button:hover {
  transform: translateY(-1px);
  border-color: rgba(8, 118, 133, .42);
}

.faq-filter__button--active {
  color: #FFFFFF;
  background: var(--faq-accent);
  border-color: var(--faq-accent);
}

.faq-page__empty {
  margin: 0;
  padding: 18px 20px;
  color: #744800;
  background: #FFF8E8;
  border: 1px solid #F1D8A7;
  border-radius: 12px;
  font-weight: 400;
}

.faq-group {
  display: grid;
  grid-template-columns: minmax(210px, 280px) minmax(0, 1fr);
  gap: 24px;
  padding: 26px 0;
  border-top: 1px solid var(--faq-line);
}

.faq-group:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.faq-group:last-child {
  padding-bottom: 0;
}

.faq-group.is-hidden {
  display: none;
}

.faq-group__head {
  position: sticky;
  top: 104px;
  align-self: start;
  display: grid;
  gap: 10px;
}

.faq-group__head span {
  width: fit-content;
  padding: 7px 12px;
  color: var(--faq-accent);
  background: #EAF7F8;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
  text-transform: uppercase;
}

.faq-group__head h3 {
  margin: 0;
  color: var(--faq-text);
  font-family: var(--font-heading);
  font-size: 23px;
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: -.025em;
}

.faq-group__list {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
  background: var(--faq-surface-soft);
  border: 1px solid var(--faq-line);
  border-radius: 16px;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.faq-item[open] {
  background: #FFFFFF;
  border-color: rgba(8, 118, 133, .3);
  box-shadow: 0 12px 28px rgba(23, 41, 58, .06);
}

.faq-item.is-hidden {
  display: none;
}

.faq-item__question {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 68px;
  padding: 19px 64px 19px 22px;
  color: var(--faq-text);
  font-size: 17px;
  line-height: 1.4;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-item__question::-webkit-details-marker {
  display: none;
}

.faq-item__question::after {
  position: absolute;
  top: 50%;
  right: 22px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--faq-primary);
  background: #EAF3FC;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  font-weight: 500;
  transform: translateY(-50%);
  content: "+";
}

.faq-item[open] .faq-item__question::after {
  color: #FFFFFF;
  background: var(--faq-accent);
  content: "−";
}

.faq-item__answer {
  padding: 0 22px 22px;
  color: #42576D;
  font-size: 16px;
  line-height: 1.72;
  font-weight: 400;
}

.faq-item__answer > :first-child {
  margin-top: 0;
}

.faq-item__answer > :last-child {
  margin-bottom: 0;
}

.faq-item__answer strong,
.faq-item__answer b {
  font-weight: 600;
}

.faq-item__answer ul,
.faq-item__answer ol {
  margin: 14px 0;
  padding-left: 22px;
}

.faq-item__answer li + li {
  margin-top: 7px;
}

.faq-help-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.faq-help-card {
  min-height: 202px;
  padding: 24px;
  color: #FFFFFF;
  background: linear-gradient(135deg, #132232 0%, #0C1B29 100%);
  border-radius: 18px;
}

.faq-help-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 34px;
  margin-bottom: 26px;
  color: #0C1B29;
  background: #FFFFFF;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
}

.faq-help-card h3 {
  margin: 0 0 12px;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 1.25;
  font-weight: 650;
}

.faq-help-card p {
  margin: 0;
  color: rgba(255, 255, 255, .76);
  font-size: 14px;
  line-height: 1.62;
  font-weight: 400;
}

.faq-page__ask {
  display: grid;
  grid-template-columns: minmax(260px, .76fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.faq-ask__content p {
  max-width: 540px;
  margin: 16px 0 0;
  color: #42576D;
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
}

.faq-ask__list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.faq-ask__list li {
  position: relative;
  padding-left: 24px;
  color: #42576D;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
}

.faq-ask__list li::before {
  position: absolute;
  top: .62em;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--faq-accent);
  border-radius: 50%;
  content: "";
}

.faq-form {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 24px;
  background: var(--faq-surface-soft);
  border: 1px solid var(--faq-line);
  border-radius: 18px;
}

.faq-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.faq-form__field {
  display: grid;
  gap: 7px;
}

.faq-form__field--wide {
  grid-column: 1 / -1;
}

.faq-form__field > span {
  color: #42576D;
  font-size: 13px;
  font-weight: 600;
}

.faq-form__input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  color: var(--faq-text);
  background: #FFFFFF;
  border: 1px solid var(--faq-line);
  border-radius: 12px;
  font: inherit;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 400;
  outline: 0;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.faq-form__textarea {
  min-height: 126px;
  padding-top: 14px;
  resize: vertical;
}

.faq-form__input:focus {
  border-color: var(--faq-accent);
  box-shadow: 0 0 0 4px rgba(8, 118, 133, .12);
}

.faq-form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.faq-form__policy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #68798B;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 400;
  cursor: pointer;
}

.faq-form__checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.faq-form__box {
  position: relative;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  background: #FFFFFF;
  border: 1px solid #A8BACB;
  border-radius: 5px;
}

.faq-form__checkbox:focus-visible + .faq-form__box {
  outline: 3px solid rgba(8, 97, 194, .35);
  outline-offset: 2px;
}

.faq-form__checkbox:checked + .faq-form__box {
  background: var(--faq-accent);
  border-color: var(--faq-accent);
}

.faq-form__checkbox:checked + .faq-form__box::after {
  position: absolute;
  top: 2px;
  left: 6px;
  width: 5px;
  height: 10px;
  border: solid #FFFFFF;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  content: "";
}

.faq-form__status {
  margin: 0;
  padding: 12px 14px;
  color: #17613A;
  background: #EAF8EF;
  border: 1px solid #C8E9D3;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 400;
}

.faq-form__status.is-error {
  color: #8B2F31;
  background: #FFF0F1;
  border-color: #F2C7CA;
}

.faq-form__submit {
  justify-self: start;
}

.faq-page__cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 34px 38px;
  color: #FFFFFF;
  background: linear-gradient(135deg, #132232 0%, #0C1B29 100%);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(15, 38, 62, .12);
}

.faq-page__cta .faq-page__eyebrow {
  color: #73D8E3;
}

.faq-page__cta h2 {
  max-width: 760px;
  margin: 0 0 12px;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: clamp(28px, 3vw, 41px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -.03em;
}

.faq-page__cta p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, .76);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
}

@media (max-width: 1180px) {
  .faq-page__hero {
    grid-template-columns: 1fr;
    padding: 50px 42px;
  }

  .faq-page__hero-card {
    justify-self: start;
  }

  .faq-page__ask,
  .faq-page__cta {
    grid-template-columns: 1fr;
  }

  .faq-page__cta {
    justify-items: start;
  }
}

@media (max-width: 900px) {
  .faq-help-grid {
    grid-template-columns: 1fr;
  }

  .faq-group {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .faq-group__head {
    position: static;
  }
}

@media (max-width: 760px) {
  .faq-page__stats {
    grid-template-columns: 1fr;
  }

  .faq-page {
    padding: 6px 0 60px;
  }

  .faq-page__container {
    gap: 22px;
  }

  .faq-page__hero {
    padding: 34px 22px;
    border-radius: 18px;
  }

  .faq-page__lead,
  .faq-ask__content p {
    font-size: 15px;
  }

  .faq-page__hero-actions {
    display: grid;
  }

  .faq-page__hero-card {
    width: 100%;
    padding: 24px;
  }

  .faq-page__intro,
  .faq-page__controls,
  .faq-page__questions,
  .faq-page__help,
  .faq-page__ask {
    padding: 22px 20px;
    border-radius: 18px;
  }

  .faq-page__section-head--row {
    display: grid;
    align-items: start;
  }

  .faq-page__toggle-actions,
  .faq-filter {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-right: -20px;
    padding-right: 20px;
    scrollbar-width: none;
  }

  .faq-page__toggle-actions::-webkit-scrollbar,
  .faq-filter::-webkit-scrollbar {
    display: none;
  }

  .faq-page__small-button,
  .faq-filter__button {
    flex: 0 0 auto;
  }

  .faq-search__input {
    min-height: 54px;
    font-size: 14px;
  }

  .faq-item__question {
    min-height: 62px;
    padding: 17px 58px 17px 18px;
    font-size: 15px;
  }

  .faq-item__question::after {
    right: 18px;
    width: 30px;
    height: 30px;
  }

  .faq-item__answer {
    padding: 0 18px 18px;
    font-size: 14px;
  }

  .faq-form {
    padding: 18px;
  }

  .faq-form__grid {
    grid-template-columns: 1fr;
  }

  .faq-page__cta {
    padding: 26px 20px;
    border-radius: 18px;
  }

  .faq-page__cta .btn,
  .faq-form__submit {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .faq-page__title {
    font-size: 34px;
  }

  .faq-page__hero-mark {
    width: 84px;
    height: 84px;
    font-size: 52px;
  }

  .faq-page__stat {
    min-height: 108px;
  }
}
