:root {
  --wfaq-navy: #041533;
  --wfaq-deep: #081d49;
  --wfaq-blue: #1557ff;
  --wfaq-sky: #53a6ff;
  --wfaq-pale: #eef4ff;
  --wfaq-soft: #f8fbff;
  --wfaq-heading: #0f172a;
  --wfaq-body: #667085;
  --wfaq-line: #dce5f2;
  --wfaq-white: #fff;
  --wfaq-shadow: 0 18px 52px rgba(4, 21, 51, 0.1);
}

.wfaq-page,
.wfaq-page * {
  box-sizing: border-box;
}

.wfaq-page {
  color: var(--wfaq-heading);
  background: var(--wfaq-white);
}

.wfaq-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.wfaq-container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.wfaq-hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 88px;
  color: var(--wfaq-white);
  background:
    radial-gradient(circle at 82% 18%, rgba(21, 87, 255, 0.28), transparent 34%),
    radial-gradient(circle at 18% 88%, rgba(83, 166, 255, 0.13), transparent 30%),
    linear-gradient(135deg, var(--wfaq-navy), var(--wfaq-deep));
}

.wfaq-hero::after {
  position: absolute;
  right: -140px;
  bottom: -210px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(141, 182, 255, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(141, 182, 255, 0.035), 0 0 0 140px rgba(141, 182, 255, 0.025);
  content: "";
  pointer-events: none;
}

.wfaq-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 600;
}

.wfaq-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.wfaq-breadcrumbs a:hover,
.wfaq-breadcrumbs a:focus-visible {
  color: var(--wfaq-white);
}

.wfaq-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 850px;
}

.wfaq-eyebrow {
  margin: 0 0 14px;
  color: var(--wfaq-sky);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.wfaq-hero h1 {
  max-width: 800px;
  margin: 0;
  color: var(--wfaq-white);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.wfaq-hero-lead {
  max-width: 750px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}

.wfaq-search-wrap {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin-top: 38px;
}

.wfaq-search-box {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 70px;
  padding: 0 72px 0 60px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
}

.wfaq-search-icon {
  position: absolute;
  left: 22px;
  width: 23px;
  height: 23px;
  color: var(--wfaq-blue);
}

.wfaq-search-input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--wfaq-heading);
  background: transparent;
  font: inherit;
  font-size: 17px;
}

.wfaq-search-input::placeholder {
  color: #8792a6;
}

.wfaq-search-clear {
  position: absolute;
  right: 18px;
  display: none;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  color: #566176;
  background: var(--wfaq-pale);
  cursor: pointer;
  font-size: 23px;
  line-height: 1;
}

.wfaq-search-clear.is-visible {
  display: grid;
  place-items: center;
}

.wfaq-search-clear:hover,
.wfaq-search-clear:focus-visible {
  color: var(--wfaq-blue);
  background: #dfeaff;
}

.wfaq-search-meta {
  min-height: 24px;
  margin: 12px 4px 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.wfaq-reviewed {
  margin: 3px 4px 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
}

.wfaq-popular {
  padding: 68px 0 72px;
  background: var(--wfaq-soft);
}

.wfaq-section-head {
  display: flex;
  gap: 28px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 30px;
}

.wfaq-section-head h2 {
  margin: 0;
  color: var(--wfaq-heading);
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.wfaq-section-head p {
  max-width: 520px;
  margin: 0;
  color: var(--wfaq-body);
  font-size: 16px;
  line-height: 1.65;
}

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

.wfaq-popular-card {
  position: relative;
  display: flex;
  min-height: 150px;
  padding: 24px 56px 24px 24px;
  border: 1px solid var(--wfaq-line);
  border-radius: 18px;
  color: var(--wfaq-heading);
  background: var(--wfaq-white);
  box-shadow: 0 8px 24px rgba(4, 21, 51, 0.045);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.wfaq-popular-card:hover,
.wfaq-popular-card:focus-visible {
  border-color: rgba(21, 87, 255, 0.45);
  box-shadow: 0 16px 34px rgba(4, 21, 51, 0.1);
  transform: translateY(-3px);
}

.wfaq-popular-card span:first-child {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
}

.wfaq-popular-arrow {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: var(--wfaq-blue);
  background: var(--wfaq-pale);
  font-size: 18px;
}

.wfaq-browser {
  padding: 76px 0 96px;
  background: var(--wfaq-white);
}

.wfaq-category-strip {
  display: none;
  gap: 10px;
  overflow-x: auto;
  margin: 0 -24px 30px;
  padding: 0 24px 12px;
  scrollbar-width: thin;
}

.wfaq-category-pill {
  flex: 0 0 auto;
  padding: 11px 16px;
  border: 1px solid var(--wfaq-line);
  border-radius: 999px;
  color: #41506a;
  background: var(--wfaq-white);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
}

.wfaq-category-pill.is-active,
.wfaq-category-pill:hover,
.wfaq-category-pill:focus-visible {
  border-color: var(--wfaq-blue);
  color: var(--wfaq-white);
  background: var(--wfaq-blue);
}

.wfaq-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 58px;
  align-items: start;
}

.wfaq-sidebar {
  position: sticky;
  top: 104px;
  padding: 18px;
  border: 1px solid var(--wfaq-line);
  border-radius: 20px;
  background: var(--wfaq-soft);
}

.wfaq-sidebar-label {
  margin: 0 10px 12px;
  color: #7b879a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wfaq-category-link {
  display: flex;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 12px 13px;
  border: 0;
  border-radius: 12px;
  color: #526079;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.3;
  text-align: left;
  transition: color 160ms ease, background 160ms ease;
}

.wfaq-category-link:hover,
.wfaq-category-link:focus-visible,
.wfaq-category-link.is-active {
  color: var(--wfaq-blue);
  background: var(--wfaq-white);
}

.wfaq-category-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #b8c5d8;
}

.wfaq-category-link.is-active .wfaq-category-dot {
  background: var(--wfaq-blue);
  box-shadow: 0 0 0 4px rgba(21, 87, 255, 0.12);
}

.wfaq-content {
  min-width: 0;
}

.wfaq-category {
  scroll-margin-top: 110px;
  margin-bottom: 62px;
}

.wfaq-category:last-child {
  margin-bottom: 0;
}

.wfaq-category-header {
  display: flex;
  gap: 22px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--wfaq-line);
}

.wfaq-category-kicker {
  margin: 0 0 7px;
  color: var(--wfaq-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wfaq-category h2 {
  margin: 0;
  color: var(--wfaq-heading);
  font-size: clamp(25px, 3.4vw, 34px);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.wfaq-category-count {
  flex: 0 0 auto;
  color: #8893a5;
  font-size: 13px;
  font-weight: 650;
}

.wfaq-list {
  display: grid;
  gap: 12px;
}

.wfaq-item {
  overflow: hidden;
  border: 1px solid var(--wfaq-line);
  border-radius: 16px;
  background: var(--wfaq-white);
  box-shadow: 0 5px 18px rgba(4, 21, 51, 0.035);
  scroll-margin-top: 118px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.wfaq-item[open] {
  border-color: rgba(21, 87, 255, 0.38);
  box-shadow: 0 14px 34px rgba(4, 21, 51, 0.08);
}

.wfaq-question {
  position: relative;
  display: flex;
  gap: 18px;
  align-items: center;
  min-height: 76px;
  padding: 20px 64px 20px 22px;
  color: var(--wfaq-heading);
  cursor: pointer;
  font-size: 17px;
  font-weight: 720;
  line-height: 1.45;
  list-style: none;
}

.wfaq-question h3 {
  margin: 0;
  color: inherit;
  font: inherit;
}

.wfaq-question::-webkit-details-marker {
  display: none;
}

.wfaq-question::before,
.wfaq-question::after {
  position: absolute;
  top: 50%;
  right: 24px;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--wfaq-blue);
  content: "";
  transition: transform 180ms ease;
}

.wfaq-question::before {
  transform: translateY(-50%);
}

.wfaq-question::after {
  transform: translateY(-50%) rotate(90deg);
}

.wfaq-item[open] .wfaq-question::after {
  transform: translateY(-50%) rotate(0deg);
}

.wfaq-question:hover,
.wfaq-question:focus-visible {
  color: var(--wfaq-blue);
  outline: none;
}

.wfaq-answer {
  padding: 0 64px 24px 22px;
  color: var(--wfaq-body);
  font-size: 16px;
  line-height: 1.75;
}

.wfaq-answer p {
  margin: 0 0 13px;
}

.wfaq-answer p:last-child {
  margin-bottom: 0;
}

.wfaq-answer strong {
  color: var(--wfaq-heading);
}

.wfaq-answer a {
  color: var(--wfaq-blue);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.wfaq-answer a:hover,
.wfaq-answer a:focus-visible {
  color: #0b42cc;
}

.wfaq-no-results {
  display: none;
  padding: 46px 28px;
  border: 1px solid var(--wfaq-line);
  border-radius: 20px;
  text-align: center;
  background: var(--wfaq-soft);
}

.wfaq-no-results.is-visible {
  display: block;
}

.wfaq-no-results h2 {
  margin: 0 0 10px;
  font-size: 26px;
}

.wfaq-no-results p {
  max-width: 580px;
  margin: 0 auto 20px;
  color: var(--wfaq-body);
  line-height: 1.65;
}

.wfaq-inline-button {
  display: inline-flex;
  min-height: 46px;
  padding: 0 19px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 11px;
  color: var(--wfaq-white);
  background: var(--wfaq-blue);
  cursor: pointer;
  font: inherit;
  font-weight: 750;
}

.wfaq-final {
  padding: 82px 0;
  color: var(--wfaq-white);
  background:
    radial-gradient(circle at 15% 20%, rgba(83, 166, 255, 0.16), transparent 32%),
    linear-gradient(135deg, var(--wfaq-navy), var(--wfaq-deep));
}

.wfaq-final-inner {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
}

.wfaq-final-copy {
  max-width: 700px;
}

.wfaq-final h2 {
  margin: 0;
  color: var(--wfaq-white);
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.wfaq-final p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 17px;
  line-height: 1.65;
}

.wfaq-final-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 12px;
}

.wfaq-button,
.wfaq-button-secondary {
  display: inline-flex;
  min-height: 52px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
}

.wfaq-button {
  color: var(--wfaq-white);
  background: var(--wfaq-blue);
  box-shadow: 0 12px 30px rgba(21, 87, 255, 0.3);
}

.wfaq-button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--wfaq-white);
  background: rgba(255, 255, 255, 0.06);
}

.wfaq-button:hover,
.wfaq-button:focus-visible,
.wfaq-button-secondary:hover,
.wfaq-button-secondary:focus-visible {
  transform: translateY(-2px);
}

[hidden] {
  display: none !important;
}

@media (max-width: 991px) {
  .wfaq-container {
    width: min(100% - 40px, 860px);
  }

  .wfaq-popular-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wfaq-layout {
    display: block;
  }

  .wfaq-sidebar {
    display: none;
  }

  .wfaq-category-strip {
    display: flex;
  }

  .wfaq-final-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 767px) {
  .wfaq-container {
    width: min(100% - 32px, 680px);
  }

  .wfaq-hero {
    padding: 58px 0 68px;
  }

  .wfaq-hero h1 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .wfaq-search-box {
    min-height: 62px;
    padding-right: 60px;
    padding-left: 52px;
    border-radius: 15px;
  }

  .wfaq-search-icon {
    left: 18px;
    width: 21px;
    height: 21px;
  }

  .wfaq-search-input {
    font-size: 16px;
  }

  .wfaq-popular,
  .wfaq-browser {
    padding: 54px 0 64px;
  }

  .wfaq-section-head {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 24px;
  }

  .wfaq-popular-grid {
    grid-template-columns: 1fr;
  }

  .wfaq-popular-card {
    min-height: 112px;
  }

  .wfaq-category-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .wfaq-question {
    min-height: 70px;
    padding: 18px 54px 18px 18px;
    font-size: 16px;
  }

  .wfaq-question::before,
  .wfaq-question::after {
    right: 20px;
  }

  .wfaq-answer {
    padding: 0 18px 21px;
    font-size: 15px;
  }

  .wfaq-final {
    padding: 64px 0;
  }

  .wfaq-final-actions {
    width: 100%;
    flex-direction: column;
  }

  .wfaq-button,
  .wfaq-button-secondary {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wfaq-page *,
  .wfaq-page *::before,
  .wfaq-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .wfaq-search-wrap,
  .wfaq-popular,
  .wfaq-sidebar,
  .wfaq-category-strip,
  .wfaq-final {
    display: none !important;
  }

  .wfaq-layout {
    display: block;
  }

  .wfaq-item {
    break-inside: avoid;
    box-shadow: none;
  }

  .wfaq-item > .wfaq-answer {
    display: block !important;
  }
}
