:root {
  --faq-ink: #0c1f3c;
  --faq-muted: #69778d;
  --faq-blue: #0878f9;
  --faq-cyan: #62d8ff;
  --faq-line: #d5e2f1;
  --faq-soft: #f3f7fc;
  --faq-navy: #061a39;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--faq-ink);
  background: #fff;
}

.faq-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 82% 12%, rgba(48, 181, 255, 0.28), transparent 25%),
    radial-gradient(circle at 8% 95%, rgba(27, 101, 255, 0.2), transparent 26%),
    linear-gradient(135deg, #06162f 0%, #073475 58%, #075cff 140%);
}

.faq-grid-lines {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

.faq-hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  gap: 82px;
  align-items: center;
  min-height: 660px;
  padding-top: 76px;
  padding-bottom: 76px;
}

.faq-hero-label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 15px;
  border-left: 3px solid var(--faq-cyan);
}

.faq-hero-label span,
.faq-hero-label strong {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.faq-hero-label span {
  color: #6ddfff;
}

.faq-hero-label strong {
  color: rgba(255, 255, 255, 0.68);
}

.faq-hero h1 {
  max-width: 760px;
  margin: 28px 0 0;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(56px, 5vw, 76px);
  line-height: 1;
  letter-spacing: -0.065em;
}

.faq-hero h1 em {
  display: block;
  color: #73dfff;
  font-style: normal;
}

.faq-hero-copy > p {
  max-width: 690px;
  margin: 27px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
  line-height: 1.75;
}

.faq-search {
  margin-top: 37px;
  padding-top: 27px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.faq-search > label {
  display: block;
  margin-bottom: 10px;
  color: #7de1ff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.faq-search-control {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 68px;
  background: #fff;
  box-shadow: 0 22px 54px rgba(0, 14, 47, 0.2);
}

.faq-search-control > span {
  position: relative;
  flex: 0 0 66px;
  height: 68px;
}

.faq-search-control > span::before {
  position: absolute;
  top: 22px;
  left: 23px;
  width: 16px;
  height: 16px;
  border: 2px solid #0a6ff2;
  border-radius: 50%;
  content: "";
}

.faq-search-control > span::after {
  position: absolute;
  top: 39px;
  left: 40px;
  width: 9px;
  height: 2px;
  transform: rotate(45deg);
  transform-origin: left center;
  background: #0a6ff2;
  content: "";
}

.faq-search-control input {
  min-width: 0;
  flex: 1;
  height: 68px;
  padding: 0 18px 0 0;
  color: #10243f;
  font: 600 14px/1.4 "Manrope", sans-serif;
  border: 0;
  outline: 0;
  background: transparent;
}

.faq-search-control input::placeholder {
  color: #8693a5;
  font-weight: 500;
}

.faq-search-control button {
  display: none;
  align-self: stretch;
  padding: 0 21px;
  color: #0878f9;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 0;
  border-left: 1px solid #d9e4f1;
  background: #f2f7fd;
  cursor: pointer;
}

.faq-search-control button.is-visible {
  display: block;
}

.faq-search-status {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
}

.faq-search-status strong {
  color: #fff;
  font-size: 11px;
}

.faq-console {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(2, 17, 46, 0.58);
  box-shadow: 0 35px 85px rgba(0, 17, 54, 0.28);
  backdrop-filter: blur(18px);
}

.faq-console-head {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.faq-console-head > div {
  display: grid;
  gap: 5px;
}

.faq-console-head span,
.faq-console-grid span,
.faq-console-grid small,
.faq-console-links > span {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.faq-console-head span {
  color: #70ddff;
}

.faq-console-head strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 20px;
}

.faq-console-head b {
  position: relative;
  padding-left: 15px;
  color: #77e4ff;
  font-size: 9px;
  letter-spacing: 0.12em;
}

.faq-console-head b::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 7px;
  height: 7px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #4df3b4;
  box-shadow: 0 0 13px #4df3b4;
  content: "";
}

.faq-console-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.faq-console-grid > div {
  min-height: 112px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 21px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.faq-console-grid > div:nth-child(2n) {
  border-right: 0;
}

.faq-console-grid span,
.faq-console-grid small {
  color: rgba(255, 255, 255, 0.46);
}

.faq-console-grid strong {
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 31px;
  letter-spacing: -0.04em;
}

.faq-console-links {
  padding: 24px;
}

.faq-console-links > span {
  display: block;
  margin-bottom: 12px;
  color: #70ddff;
}

.faq-console-links a {
  display: grid;
  gap: 4px;
  padding: 15px 0;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.faq-console-links a:last-child {
  padding-bottom: 0;
}

.faq-console-links a strong {
  font-size: 12px;
}

.faq-console-links a small {
  color: rgba(255, 255, 255, 0.48);
  font-size: 9px;
}

.faq-content-section {
  padding: 112px 0 120px;
  background:
    radial-gradient(circle at 96% 5%, rgba(23, 126, 255, 0.1), transparent 25%),
    #f3f7fc;
}

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

.faq-sidebar {
  position: sticky;
  top: 104px;
}

.faq-sidebar-head {
  padding-bottom: 20px;
  border-bottom: 1px solid #cddbea;
}

.faq-sidebar-head span {
  color: #0878f9;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.faq-sidebar-head strong {
  display: block;
  margin-top: 7px;
  color: #0f2644;
  font-family: "Space Grotesk", sans-serif;
  font-size: 24px;
}

.faq-categories {
  display: grid;
}

.faq-categories button {
  position: relative;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 13px 12px 13px 18px;
  color: #56657a;
  text-align: left;
  border: 0;
  border-bottom: 1px solid #d7e2ee;
  background: transparent;
  cursor: pointer;
}

.faq-categories button::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  transform: scaleY(0);
  background: #0878f9;
  content: "";
}

.faq-categories button span {
  font-size: 11px;
  font-weight: 700;
}

.faq-categories button strong {
  color: #8a97aa;
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
}

.faq-categories button.is-active {
  color: #075fd3;
  background: #eaf4ff;
}

.faq-categories button.is-active::before {
  transform: scaleY(1);
}

.faq-categories button.is-active strong {
  color: #075fd3;
}

.faq-categories button:focus-visible,
.faq-question:focus-visible,
.faq-search-control button:focus-visible,
.faq-empty-state button:focus-visible {
  outline: 3px solid rgba(8, 120, 249, 0.3);
  outline-offset: 2px;
}

.faq-sidebar-note {
  margin-top: 27px;
  padding-top: 23px;
  border-top: 3px solid #0878f9;
}

.faq-sidebar-note > span {
  color: #0e2848;
  font-size: 11px;
  font-weight: 800;
}

.faq-sidebar-note p {
  margin: 9px 0 0;
  color: #6e7b8e;
  font-size: 10px;
  line-height: 1.65;
}

.faq-sidebar-note a {
  display: inline-flex;
  gap: 8px;
  margin-top: 15px;
  color: #0878f9;
  font-size: 10px;
  font-weight: 800;
}

.faq-main {
  min-width: 0;
}

.faq-main-heading {
  padding-bottom: 34px;
  border-bottom: 1px solid #cfddeb;
}

.faq-main-heading > span {
  color: #0878f9;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.faq-main-heading h2 {
  margin: 10px 0 0;
  color: #0c1f3c;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(43px, 4.5vw, 62px);
  letter-spacing: -0.055em;
}

.faq-main-heading p {
  max-width: 670px;
  margin: 15px 0 0;
  color: #728096;
  line-height: 1.7;
}

.faq-group {
  --faq-accent: #0878f9;
  --faq-accent-soft: #eaf4ff;
  margin-top: 58px;
}

.faq-group[data-faq-group="plans"] {
  --faq-accent: #7254e8;
  --faq-accent-soft: #f1eeff;
}

.faq-group[data-faq-group="tasks"] {
  --faq-accent: #008fa8;
  --faq-accent-soft: #e7f8fb;
}

.faq-group[data-faq-group="agency"] {
  --faq-accent: #16825d;
  --faq-accent-soft: #e9f7f1;
}

.faq-group[data-faq-group="app"] {
  --faq-accent: #d27213;
  --faq-accent-soft: #fff4e5;
}

.faq-group[data-faq-group="support"] {
  --faq-accent: #d23d68;
  --faq-accent-soft: #fff0f4;
}

.faq-group[data-faq-group="security"] {
  --faq-accent: #455b79;
  --faq-accent-soft: #edf1f6;
}

.faq-group-heading {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  margin-bottom: 19px;
}

.faq-group-heading > span {
  width: 66px;
  height: 58px;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 17px;
  background: var(--faq-accent);
}

.faq-group-heading strong {
  color: #10243f;
  font-family: "Space Grotesk", sans-serif;
  font-size: 24px;
}

.faq-group-heading p {
  margin: 5px 0 0;
  color: #78859a;
  font-size: 11px;
}

.faq-list {
  border-top: 1px solid #cfddeb;
}

.faq-item {
  border-bottom: 1px solid #cfddeb;
  background: #fff;
}

.faq-question {
  width: 100%;
  min-height: 84px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 42px;
  gap: 12px;
  align-items: center;
  padding: 18px 18px 18px 0;
  color: #122743;
  text-align: left;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.faq-number {
  align-self: stretch;
  display: grid;
  place-items: center;
  color: var(--faq-accent);
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
  border-left: 4px solid transparent;
}

.faq-question-text {
  font-family: "Space Grotesk", sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.faq-toggle {
  position: relative;
  width: 34px;
  height: 34px;
  justify-self: end;
}

.faq-toggle::before,
.faq-toggle::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  transform: translate(-50%, -50%);
  background: var(--faq-accent);
  content: "";
}

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

.faq-item.is-open {
  background: var(--faq-accent-soft);
}

.faq-item.is-open .faq-number {
  border-left-color: var(--faq-accent);
}

.faq-item.is-open .faq-question-text {
  color: var(--faq-accent);
}

.faq-item.is-open .faq-toggle::after {
  display: none;
}

.faq-answer > div {
  padding: 0 68px 27px 60px;
}

.faq-answer p {
  max-width: 760px;
  margin: 0;
  color: #59687e;
  font-size: 13px;
  line-height: 1.82;
}

.faq-answer p a {
  color: var(--faq-accent);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.faq-answer-link {
  display: inline-flex;
  gap: 8px;
  margin-top: 14px;
  color: var(--faq-accent);
  font-size: 10px;
  font-weight: 800;
}

.faq-download-links,
.faq-support-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  margin-top: 18px;
  background: #cfddeb;
  border: 1px solid #cfddeb;
}

.faq-download-links a,
.faq-support-links a {
  min-height: 52px;
  flex: 1 1 190px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 16px;
  color: #0f65d6;
  font-size: 10px;
  font-weight: 800;
  background: #fff;
}

.faq-empty-state {
  margin-top: 55px;
  padding: 52px 35px;
  text-align: center;
  border-top: 3px solid #0878f9;
  border-bottom: 1px solid #cfddeb;
  background: #fff;
}

.faq-empty-state span {
  color: #0878f9;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.faq-empty-state strong {
  display: block;
  max-width: 620px;
  margin: 14px auto 0;
  color: #122743;
  font-family: "Space Grotesk", sans-serif;
  font-size: 27px;
}

.faq-empty-state button {
  margin-top: 23px;
  padding: 13px 20px;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  border: 0;
  background: #0878f9;
  cursor: pointer;
}

.faq-support-section {
  padding: 0 0 112px;
  background: #f3f7fc;
}

.faq-support-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.8fr);
  gap: 70px;
  align-items: center;
  padding: 56px 60px;
  color: #fff;
  background:
    radial-gradient(circle at 95% 8%, rgba(72, 198, 255, 0.34), transparent 29%),
    linear-gradient(135deg, #06162f, #073b91);
  box-shadow: 0 30px 75px rgba(6, 48, 121, 0.2);
}

.faq-support-panel > div > span {
  color: #72deff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.faq-support-panel h2 {
  margin: 11px 0 0;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(39px, 4vw, 57px);
  letter-spacing: -0.055em;
}

.faq-support-panel p {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.61);
  line-height: 1.75;
}

.faq-support-actions {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
}

.faq-support-actions a {
  min-height: 73px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 0;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}

.faq-support-actions a span {
  color: #72deff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.faq-support-actions a strong {
  font-size: 11px;
  text-align: right;
}

@media (max-width: 1160px) {
  .faq-hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.85fr);
    gap: 46px;
  }

  .faq-layout {
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 45px;
  }

  .faq-support-panel {
    gap: 45px;
    padding: 49px 46px;
  }
}

@media (max-width: 1020px) {
  .faq-hero-layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .faq-hero-copy {
    max-width: 800px;
    margin-inline: auto;
    text-align: center;
  }

  .faq-hero-label,
  .faq-search-status {
    justify-content: center;
  }

  .faq-hero-copy > p {
    margin-inline: auto;
  }

  .faq-search {
    max-width: 760px;
    margin-inline: auto;
    margin-top: 37px;
  }

  .faq-search > label {
    text-align: left;
  }

  .faq-console {
    width: min(760px, 100%);
    margin-inline: auto;
  }

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

  .faq-sidebar {
    position: static;
  }

  .faq-sidebar-head {
    text-align: center;
  }

  .faq-categories {
    grid-template-columns: repeat(4, 1fr);
    margin-top: 18px;
    border-top: 1px solid #d7e2ee;
    border-left: 1px solid #d7e2ee;
  }

  .faq-categories button {
    min-height: 74px;
    display: grid;
    align-content: center;
    justify-content: stretch;
    gap: 4px;
    padding: 13px;
    text-align: center;
    border-right: 1px solid #d7e2ee;
  }

  .faq-categories button::before {
    top: auto;
    right: 0;
    bottom: 0;
    width: auto;
    height: 3px;
    transform: scaleX(0);
  }

  .faq-categories button.is-active::before {
    transform: scaleX(1);
  }

  .faq-sidebar-note {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
  }

  .faq-sidebar-note p,
  .faq-sidebar-note a {
    margin: 0;
  }

  .faq-main-heading {
    text-align: center;
  }

  .faq-main-heading p {
    margin-inline: auto;
  }

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

@media (max-width: 760px) {
  .faq-hero-layout {
    gap: 42px;
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .faq-hero-label {
    justify-content: center;
    padding-left: 0;
    border-left: 0;
  }

  .faq-hero-label span {
    padding-right: 9px;
    border-right: 1px solid rgba(255, 255, 255, 0.24);
  }

  .faq-hero h1 {
    max-width: 470px;
    margin-top: 22px;
    margin-inline: auto;
    font-size: clamp(43px, 10.8vw, 54px);
    line-height: 1.04;
  }

  .faq-hero-copy > p {
    max-width: 440px;
    margin-top: 21px;
    font-size: 15px;
    line-height: 1.7;
  }

  .faq-search {
    margin-top: 30px;
    padding-top: 22px;
  }

  .faq-search > label {
    text-align: center;
  }

  .faq-search-control {
    min-height: 62px;
  }

  .faq-search-control > span,
  .faq-search-control input {
    height: 62px;
  }

  .faq-search-control > span {
    flex-basis: 54px;
  }

  .faq-search-control > span::before {
    top: 20px;
    left: 18px;
  }

  .faq-search-control > span::after {
    top: 37px;
    left: 35px;
  }

  .faq-search-control input {
    padding-right: 10px;
    font-size: 11px;
  }

  .faq-search-control button {
    padding: 0 12px;
    font-size: 8px;
  }

  .faq-console {
    border-right: 0;
    border-left: 0;
  }

  .faq-console-head {
    padding-inline: 18px;
  }

  .faq-console-grid > div {
    min-height: 103px;
    padding: 18px;
  }

  .faq-console-grid strong {
    font-size: 28px;
  }

  .faq-console-links {
    padding: 21px 18px;
  }

  .faq-content-section {
    padding: 82px 0 90px;
  }

  .faq-layout {
    gap: 58px;
  }

  .faq-sidebar-head strong {
    font-size: 27px;
  }

  .faq-categories {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq-categories button {
    min-height: 73px;
  }

  .faq-sidebar-note {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 9px;
    text-align: center;
  }

  .faq-sidebar-note p {
    max-width: 390px;
  }

  .faq-sidebar-note a {
    margin-top: 5px;
  }

  .faq-main-heading h2 {
    font-size: clamp(38px, 10.5vw, 48px);
  }

  .faq-group {
    margin-top: 48px;
  }

  .faq-group-heading {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 15px;
  }

  .faq-group-heading > span {
    width: 54px;
    height: 54px;
  }

  .faq-group-heading strong {
    font-size: 21px;
  }

  .faq-group-heading p {
    font-size: 9px;
    line-height: 1.5;
  }

  .faq-question {
    min-height: 82px;
    grid-template-columns: 39px minmax(0, 1fr) 32px;
    gap: 9px;
    padding: 16px 10px 16px 0;
  }

  .faq-question-text {
    font-size: 15px;
    line-height: 1.38;
  }

  .faq-toggle {
    width: 30px;
    height: 30px;
  }

  .faq-answer > div {
    padding: 0 23px 25px 48px;
  }

  .faq-answer p {
    font-size: 12px;
    line-height: 1.75;
  }

  .faq-download-links,
  .faq-support-links {
    display: grid;
  }

  .faq-download-links a,
  .faq-support-links a {
    min-height: 49px;
  }

  .faq-support-section {
    padding-bottom: 82px;
  }

  .faq-support-panel {
    gap: 35px;
    padding: 43px 23px;
    text-align: center;
  }

  .faq-support-panel h2 {
    font-size: clamp(38px, 10.5vw, 48px);
  }

  .faq-support-actions a {
    min-height: 69px;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
