.gaq {
  --gaq-black: #050509;
  --gaq-black-soft: #0d0c13;
  --gaq-purple: #473288;
  --gaq-purple-dark: #26165f;
  --gaq-purple-bright: #7b66ef;
  --gaq-orange: #fca80f;
  --gaq-lavender: #c5c4fc;
  --gaq-white: #ffffff;
  --gaq-muted: rgba(255, 255, 255, .64);
  --gaq-line: rgba(255, 255, 255, .12);
  --gaq-radius: 24px;
  width: 100%;
  margin: 0;
  color: var(--gaq-white);
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

.gaq,
.gaq * {
  box-sizing: border-box;
}

.gaq button,
.gaq input,
.gaq textarea,
.gaq select {
  font: inherit;
}

.gaq button {
  -webkit-tap-highlight-color: transparent;
}

.gaq [hidden] {
  display: none !important;
}

.gaq__shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  gap: 0;
  width: min(100%, 1160px);
  min-height: 580px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(197, 196, 252, .2);
  border-radius: var(--gaq-radius);
  background:
    radial-gradient(circle at 78% 18%, rgba(71, 50, 136, .46), transparent 27rem),
    radial-gradient(circle at 8% 90%, rgba(252, 168, 15, .11), transparent 22rem),
    var(--gaq-black);
  box-shadow: 0 34px 90px rgba(0, 0, 0, .42);
  isolation: isolate;
}

.gaq__shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .55;
}

.gaq__aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(30px, 3.4vw, 44px);
  border-right: 1px solid var(--gaq-line);
  background: linear-gradient(155deg, rgba(255,255,255,.04), rgba(71,50,136,.09));
}

.gaq__eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 14px;
  color: var(--gaq-orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.gaq__eyebrow span {
  width: 36px;
  height: 3px;
  border-radius: 99px;
  background: currentColor;
}

.gaq__title {
  margin: 0 0 15px;
  color: #fff;
  font-size: clamp(30px, 2.7vw, 42px);
  font-weight: 760;
  line-height: 1.08;
  letter-spacing: -.045em;
}

.gaq__intro {
  margin: 0;
  color: var(--gaq-muted);
  font-size: 14px;
  line-height: 1.62;
}

.gaq__panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(26px, 3.4vw, 44px);
  background: linear-gradient(145deg, rgba(71,50,136,.12), rgba(0,0,0,.08));
}

.gaq__progress-wrap {
  margin-bottom: 28px;
}

.gaq__progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 11px;
  color: rgba(255,255,255,.56);
  font-size: 12px;
  font-weight: 700;
}

.gaq__progress-percent {
  color: var(--gaq-lavender);
}

.gaq__progress {
  width: 100%;
  height: 6px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255,255,255,.09);
}

.gaq__progress > span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gaq-purple-bright), var(--gaq-orange));
  box-shadow: 0 0 24px rgba(123,102,239,.46);
  transition: width .35s ease;
}

.gaq__stages {
  flex: 1 1 auto;
  min-height: 0;
}

.gaq__stage {
  animation: gaq-stage-in .28s ease both;
}

@keyframes gaq-stage-in {
  from { opacity: 0; transform: translateY(9px); }
  to { opacity: 1; transform: translateY(0); }
}

.gaq__question-head {
  max-width: 760px;
  margin-bottom: 18px;
}

.gaq__question-count {
  margin: 0 0 9px;
  color: var(--gaq-orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.gaq__question-head h3,
.gaq__success h3 {
  margin: 0 0 9px;
  color: #fff;
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 760;
  line-height: 1.16;
  letter-spacing: -.035em;
  outline: none;
}

.gaq__question-head > p:last-child {
  margin: 0;
  color: var(--gaq-muted);
  font-size: 14px;
}

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

.gaq__answer {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 22px;
  gap: 11px;
  align-items: center;
  width: 100%;
  min-height: 70px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 12px;
  color: #fff;
  background: rgba(255,255,255,.045);
  box-shadow: none;
  cursor: pointer;
  text-align: left;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.gaq__answer:hover {
  transform: translateY(-2px);
  border-color: rgba(197,196,252,.42);
  background: rgba(197,196,252,.08);
}

.gaq__answer:focus-visible {
  outline: 3px solid rgba(252,168,15,.34);
  outline-offset: 3px;
}

.gaq__answer.is-selected {
  border-color: rgba(123,102,239,.9);
  background: linear-gradient(135deg, rgba(123,102,239,.23), rgba(71,50,136,.2));
  box-shadow: 0 12px 32px rgba(38,22,95,.24), inset 0 0 0 1px rgba(197,196,252,.12);
}

.gaq__answer-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border-radius: 12px;
  color: var(--gaq-lavender);
  background: rgba(197,196,252,.1);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: -.02em;
}

.gaq__answer.is-selected .gaq__answer-mark {
  color: #111;
  background: var(--gaq-orange);
}

.gaq__answer-copy {
  min-width: 0;
}

.gaq__answer-copy strong {
  display: block;
  color: inherit;
  font-size: 13px;
  font-weight: 720;
  line-height: 1.35;
}

.gaq__answer-copy small {
  display: block;
  margin-top: 5px;
  color: rgba(255,255,255,.49);
  font-size: 11px;
  line-height: 1.42;
}

.gaq__answer-check {
  position: relative;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
}

.gaq__answer.is-selected .gaq__answer-check {
  border-color: var(--gaq-orange);
  background: var(--gaq-orange);
}

.gaq__answer.is-selected .gaq__answer-check::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 4px;
  width: 5px;
  height: 9px;
  border: solid #131017;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.gaq__error {
  margin: 15px 0 0;
  color: #ffc75e;
  font-size: 13px;
  font-weight: 650;
}

.gaq__navigation {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.09);
}

.gaq__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 760;
  cursor: pointer;
  transition: transform .18s ease, opacity .18s ease, background .18s ease, box-shadow .18s ease;
}

.gaq__button:not(:disabled):hover {
  transform: translateY(-2px);
}

.gaq__button:disabled {
  opacity: .34;
  cursor: not-allowed;
}

.gaq__button--back {
  color: rgba(255,255,255,.8);
  border-color: rgba(255,255,255,.13);
  background: rgba(255,255,255,.045);
}

.gaq__button--next {
  min-width: 138px;
  color: #131017;
  background: var(--gaq-orange);
  box-shadow: 0 14px 34px rgba(252,168,15,.2);
}

.gaq__button--next:not(:disabled):hover {
  background: #ffb72f;
  box-shadow: 0 18px 42px rgba(252,168,15,.3);
}

.gaq__summary {
  margin: 0 0 16px;
  padding: 14px 16px;
  border: 1px solid rgba(197,196,252,.15);
  border-radius: 14px;
  background: rgba(197,196,252,.055);
}

.gaq__summary-title {
  margin: 0 0 13px;
  color: var(--gaq-lavender);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.gaq__summary-list {
  display: grid;
  gap: 8px;
  max-height: 168px;
  overflow: auto;
  padding-right: 5px;
  scrollbar-width: thin;
  scrollbar-color: rgba(197,196,252,.38) transparent;
}

.gaq__summary-list div {
  display: grid;
  grid-template-columns: minmax(150px, .72fr) minmax(0, 1.28fr);
  gap: 18px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.075);
}

.gaq__summary-list div:first-child {
  padding-top: 0;
  border-top: 0;
}

.gaq__summary-list span {
  color: rgba(255,255,255,.45);
  font-size: 11px;
}

.gaq__summary-list strong {
  color: #fff;
  font-size: 12px;
  font-weight: 650;
}

.gaq__cf7 .wpcf7-form {
  display: grid;
  gap: 10px;
}

.gaq__cf7 .wpcf7-form p {
  margin: 0;
}

.gaq__cf7 label {
  display: block;
  color: rgba(255,255,255,.67);
  font-size: 12px;
  font-weight: 650;
}

/*
 * Contact Form 7 inherits aggressive input styles from Betheme.
 * Keep the selectors scoped to the quiz, but use explicit values so the
 * theme cannot turn field text and placeholders black on the dark panel.
 */
.gaq .gaq__cf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.gaq .gaq__cf7 textarea,
.gaq .gaq__cf7 select {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 50px !important;
  min-height: 50px !important;
  margin: 5px 0 0 !important;
  padding: 11px 15px !important;
  border: 1px solid rgba(197,196,252,.28) !important;
  border-radius: 12px !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  caret-color: var(--gaq-orange) !important;
  background-color: rgba(255,255,255,.075) !important;
  background-image: none !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035) !important;
  outline: none !important;
  opacity: 1 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease !important;
}

.gaq .gaq__cf7 textarea {
  height: auto !important;
  min-height: 92px !important;
  resize: vertical;
}

.gaq .gaq__cf7 select option {
  color: #ffffff;
  background: #15121f;
}

.gaq .gaq__cf7 input::placeholder,
.gaq .gaq__cf7 textarea::placeholder {
  color: rgba(255,255,255,.58) !important;
  -webkit-text-fill-color: rgba(255,255,255,.58) !important;
  opacity: 1 !important;
}

.gaq .gaq__cf7 input::-webkit-input-placeholder,
.gaq .gaq__cf7 textarea::-webkit-input-placeholder {
  color: rgba(255,255,255,.58) !important;
  -webkit-text-fill-color: rgba(255,255,255,.58) !important;
  opacity: 1 !important;
}

.gaq .gaq__cf7 input::-moz-placeholder,
.gaq .gaq__cf7 textarea::-moz-placeholder {
  color: rgba(255,255,255,.58) !important;
  opacity: 1 !important;
}

.gaq .gaq__cf7 input:-ms-input-placeholder,
.gaq .gaq__cf7 textarea:-ms-input-placeholder {
  color: rgba(255,255,255,.58) !important;
}

.gaq .gaq__cf7 input:focus,
.gaq .gaq__cf7 textarea:focus,
.gaq .gaq__cf7 select:focus {
  border-color: var(--gaq-purple-bright) !important;
  background-color: rgba(123,102,239,.13) !important;
  box-shadow: 0 0 0 3px rgba(123,102,239,.17), inset 0 1px 0 rgba(255,255,255,.05) !important;
}

.gaq .gaq__cf7,
.gaq .gaq__cf7 .wpcf7-form,
.gaq .gaq__cf7 input,
.gaq .gaq__cf7 textarea,
.gaq .gaq__cf7 select {
  color-scheme: dark;
}

/*
 * Chrome, Edge and Safari paint autofilled fields with their own pale-blue
 * layer. Force that layer back to the quiz surface and keep the entered value
 * readable. The selectors are deliberately more specific than Betheme's form
 * rules and cover both the WebKit and standard autofill pseudo-classes.
 */
.gaq .gaq__cf7 input.wpcf7-form-control:-webkit-autofill,
.gaq .gaq__cf7 input.wpcf7-form-control:-webkit-autofill:hover,
.gaq .gaq__cf7 input.wpcf7-form-control:-webkit-autofill:active,
.gaq .gaq__cf7 input.wpcf7-form-control:autofill,
.gaq .gaq__cf7 input.wpcf7-form-control:autofill:hover,
.gaq .gaq__cf7 input.wpcf7-form-control:autofill:active {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  caret-color: var(--gaq-orange) !important;
  border-color: rgba(197,196,252,.34) !important;
  background-color: #171322 !important;
  background-image: none !important;
  -webkit-box-shadow: 0 0 0 1000px #171322 inset !important;
  box-shadow: 0 0 0 1000px #171322 inset !important;
  filter: none !important;
  opacity: 1 !important;
  transition: background-color 0s, color 0s, box-shadow 0s !important;
}

.gaq .gaq__cf7 input.wpcf7-form-control:-webkit-autofill:focus,
.gaq .gaq__cf7 input.wpcf7-form-control:autofill:focus {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-color: var(--gaq-purple-bright) !important;
  background-color: #171322 !important;
  -webkit-box-shadow:
    0 0 0 1000px #171322 inset,
    0 0 0 3px rgba(123,102,239,.17) !important;
  box-shadow:
    0 0 0 1000px #171322 inset,
    0 0 0 3px rgba(123,102,239,.17) !important;
}

.gaq .gaq__cf7 input.wpcf7-form-control:-moz-autofill {
  color: #ffffff !important;
  -moz-text-fill-color: #ffffff !important;
  caret-color: var(--gaq-orange) !important;
  border-color: rgba(197,196,252,.34) !important;
  background-color: #171322 !important;
  box-shadow: 0 0 0 1000px #171322 inset !important;
}

.gaq .gaq__cf7 input[type="submit"],
.gaq .gaq__cf7 button[type="submit"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 50px !important;
  margin: 0 !important;
  padding: 0 24px !important;
  border: 0 !important;
  border-radius: 12px !important;
  color: #131017 !important;
  -webkit-text-fill-color: #131017 !important;
  background: var(--gaq-orange) !important;
  box-shadow: 0 14px 34px rgba(252,168,15,.22) !important;
  opacity: 1 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  text-shadow: none !important;
  cursor: pointer;
}

.gaq .gaq__cf7 input[type="submit"]:hover:not(:disabled),
.gaq .gaq__cf7 button[type="submit"]:hover:not(:disabled) {
  background: #ffb72f !important;
  transform: translateY(-1px);
}

.gaq .gaq__cf7 input[type="submit"]:disabled,
.gaq .gaq__cf7 button[type="submit"]:disabled {
  color: #17120a !important;
  -webkit-text-fill-color: #17120a !important;
  background: rgba(252,168,15,.66) !important;
  box-shadow: none !important;
  opacity: 1 !important;
  cursor: not-allowed;
}

/*
 * Internal quiz payload. These values are sent with Contact Form 7, but are
 * not form controls for visitors. Keep this rule after the generic CF7 field
 * styles so Betheme and textarea declarations cannot expose them.
 */
.gaq .gaq__cf7 [data-gaq-hidden],
.gaq .gaq__cf7 input[type="hidden"][name^="gaq_"],
.gaq .gaq__cf7 textarea[name^="gaq_"] {
  display: none !important;
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.gaq__cf7 .wpcf7-list-item {
  margin: 0;
}

.gaq__cf7 .wpcf7-acceptance label {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: rgba(255,255,255,.72) !important;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.55;
}

.gaq .gaq__cf7 input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  margin: 1px 0 0 !important;
  accent-color: var(--gaq-orange);
  cursor: pointer;
}

.gaq .gaq__cf7 .wpcf7-acceptance a {
  color: var(--gaq-lavender) !important;
  text-decoration-color: rgba(197,196,252,.45) !important;
}

.gaq .gaq__cf7 .wpcf7-acceptance a:hover {
  color: #ffffff !important;
}

.gaq__cf7 .wpcf7-not-valid-tip {
  margin-top: 5px;
  color: #ffc75e;
  font-size: 11px;
}

.gaq__cf7 .wpcf7-response-output {
  margin: 6px 0 0 !important;
  padding: 12px 14px !important;
  border-radius: 10px;
  color: #fff;
  font-size: 12px;
}

.gaq__admin-warning {
  padding: 18px;
  border: 1px solid rgba(252,168,15,.45);
  border-radius: 12px;
  color: #ffe0a7;
  background: rgba(252,168,15,.08);
}

.gaq__success {
  display: grid;
  place-items: center;
  min-height: 300px;
  text-align: center;
}

.gaq__success-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
  border-radius: 18px;
  color: #141017;
  background: var(--gaq-orange);
  box-shadow: 0 18px 48px rgba(252,168,15,.25);
  font-size: 26px;
  font-weight: 850;
}

.gaq__success p {
  max-width: 520px;
  margin: 0;
  color: var(--gaq-muted);
}


@media (min-width: 981px) and (max-height: 820px) {
  .gaq__shell {
    min-height: 520px;
  }

  .gaq__aside,
  .gaq__panel {
    padding-top: 26px;
    padding-bottom: 26px;
  }

  .gaq__title {
    font-size: clamp(28px, 2.35vw, 38px);
  }

  .gaq__progress-wrap {
    margin-bottom: 21px;
  }

  .gaq__question-head {
    margin-bottom: 15px;
  }

  .gaq__question-head h3,
  .gaq__success h3 {
    font-size: clamp(23px, 2.15vw, 30px);
  }

  .gaq__answer {
    min-height: 64px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .gaq__navigation {
    margin-top: 18px;
    padding-top: 15px;
  }

  .gaq__summary-list {
    max-height: 130px;
  }
}

@media (max-width: 980px) {
  .gaq__shell {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .gaq__aside {
    justify-content: flex-start;
    padding: 34px;
    border-right: 0;
    border-bottom: 1px solid var(--gaq-line);
  }

  .gaq__title {
    max-width: 760px;
  }

  .gaq__intro {
    max-width: 760px;
  }

  .gaq__panel {
    padding: 34px;
  }
}

@media (max-width: 700px) {
  .gaq {
    font-size: 14px;
  }

  .gaq__shell {
    border-radius: 20px;
  }

  .gaq__aside,
  .gaq__panel {
    padding: 24px 20px;
  }

  .gaq__aside {
    min-height: auto;
  }

  .gaq__eyebrow {
    margin-bottom: 12px;
    font-size: 10px;
  }

  .gaq__title {
    margin-bottom: 13px;
    font-size: 26px;
  }

  .gaq__intro {
    font-size: 14px;
    line-height: 1.62;
  }

  .gaq__progress-wrap {
    margin-bottom: 28px;
  }

  .gaq__question-head {
    margin-bottom: 15px;
  }

  .gaq__question-head h3,
  .gaq__success h3 {
    font-size: 26px;
  }

  .gaq__answers {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .gaq__answer {
    grid-template-columns: 43px minmax(0, 1fr) 22px;
    gap: 11px;
    min-height: 70px;
    padding: 12px;
    border-radius: 12px;
  }

  .gaq__answer-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .gaq__navigation {
    position: sticky;
    bottom: 0;
    z-index: 3;
    margin: 24px -20px -24px;
    padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(255,255,255,.11);
    background: rgba(5,5,9,.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .gaq__button {
    min-height: 48px;
    padding: 0 16px;
  }

  .gaq__button--next {
    min-width: 130px;
  }

  .gaq__summary-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 380px) {
  .gaq__aside,
  .gaq__panel {
    padding-left: 16px;
    padding-right: 16px;
  }

  .gaq__navigation {
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .gaq__button {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gaq *,
  .gaq *::before,
  .gaq *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
