/**
 * EngageIQ canonical FAQ component
 * Authority: EngageIQ-Codex / 01 — Approved / Review /
 *            review-homepage-1 (node 8:20)
 * Measured implementation evidence: protected homepage + Figma SOT
 *
 * The EngageIQ-Codex node is a migrated visual-reference frame, not an editable
 * component tree, and the Starter-plan MCP quota was exhausted on 2026-07-25.
 * The measurements below reproduce the approved homepage component already
 * present in the protected candidate; they are not a new design.
 */

body.ei-brand-sot .ei-faq-sot {
  box-sizing: border-box;
  width: 100%;
  padding: 120px 16px;
  color: var(--ei-color-black, #000000);
  background: var(--ei-color-white, #ffffff);
}

body.ei-brand-sot .ei-faq-sot *,
body.ei-brand-sot .ei-faq-sot *::before,
body.ei-brand-sot .ei-faq-sot *::after {
  box-sizing: border-box;
}

body.ei-brand-sot .ei-faq-sot__inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 65px;
  width: min(100%, var(--ei-content-max, 1376px));
  margin: 0 auto;
}

body.ei-brand-sot section.ei-faq-sot .ei-faq-sot__title {
  margin: 0;
  color: var(--ei-color-black, #000000);
  font-family: var(--ei-font-display, "Saans", "Inter Tight", Arial, sans-serif) !important;
  font-size: 64px !important;
  font-weight: var(--ei-weight-semibold, 600) !important;
  line-height: 1 !important;
  letter-spacing: -0.025em !important;
  text-align: left;
}

body.ei-brand-sot .ei-faq-sot__list {
  min-width: 0;
}

body.ei-brand-sot .ei-faq-sot__item {
  position: relative;
  margin: 0 0 54px;
  border: 0;
}

body.ei-brand-sot .ei-faq-sot__item::after {
  position: absolute;
  right: 0;
  bottom: -27px;
  left: 0;
  height: 1px;
  background: var(--ei-color-border, #e4e4e4);
  content: "";
}

body.ei-brand-sot .ei-faq-sot__item:last-child {
  margin-bottom: 27px;
}

body.ei-brand-sot .ei-faq-sot__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 5px 0;
  gap: 20px;
  color: var(--ei-color-black, #000000);
  cursor: pointer;
  list-style: none;
}

body.ei-brand-sot .ei-faq-sot__summary::-webkit-details-marker {
  display: none;
}

body.ei-brand-sot .ei-faq-sot__summary::marker {
  content: "";
}

body.ei-brand-sot .ei-faq-sot__question {
  flex: 1;
  color: var(--ei-color-black, #000000);
  font-family: var(--ei-font-body, "Inter Tight", Arial, sans-serif) !important;
  font-size: 21px;
  font-weight: var(--ei-weight-medium, 500);
  line-height: 1.5;
  letter-spacing: normal;
  text-align: left;
}

body.ei-brand-sot .ei-faq-sot__chevron {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  color: currentcolor;
  transition: transform 200ms ease;
}

body.ei-brand-sot .ei-faq-sot__item[open] .ei-faq-sot__chevron {
  transform: rotate(180deg);
}

body.ei-brand-sot .ei-faq-sot__answer {
  margin: 8px 0 0;
  padding: 0 40px 0 0;
  color: var(--ei-color-text, #414141);
  font-family: var(--ei-font-body, "Inter Tight", Arial, sans-serif) !important;
  font-size: 18px;
  font-weight: var(--ei-weight-medium, 500);
  line-height: 1.5;
  letter-spacing: normal;
}

body.ei-brand-sot .ei-faq-sot__answer :where(a) {
  color: var(--ei-color-red-depth, #e3383d);
  font: inherit;
  font-weight: var(--ei-weight-semibold, 600);
  text-underline-offset: 0.16em;
}

body.ei-brand-sot .ei-faq-sot__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 48px;
}

body.ei-brand-sot .ei-faq-sot__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--ei-target-min, 44px);
  padding: var(--ei-button-padding-block, 16px) var(--ei-button-padding-inline, 24px);
  border: 1px solid var(--ei-color-black, #000000);
  border-radius: var(--ei-radius, 0) !important;
  color: var(--ei-color-white, #ffffff);
  background: var(--ei-color-black, #000000);
  box-shadow: none !important;
  font-family: var(--ei-font-body, "Inter Tight", Arial, sans-serif) !important;
  font-size: var(--ei-button-font-size, 16px);
  font-weight: var(--ei-button-font-weight, 500);
  line-height: 1;
  text-decoration: none;
}

body.ei-brand-sot .ei-faq-sot__action--secondary {
  color: var(--ei-color-black, #000000);
  background: transparent;
}

body.ei-brand-sot .ei-faq-sot__action:hover {
  color: var(--ei-color-white, #ffffff);
  background: var(--ei-color-red, #ff3c41);
  border-color: var(--ei-color-red, #ff3c41);
}

@media (max-width: 1024px) {
  body.ei-brand-sot .ei-faq-sot {
    padding-block: 64px;
  }

  body.ei-brand-sot .ei-faq-sot__inner {
    gap: 30px;
  }

  body.ei-brand-sot section.ei-faq-sot .ei-faq-sot__title {
    font-size: 40px !important;
  }

  body.ei-brand-sot .ei-faq-sot__question,
  body.ei-brand-sot .ei-faq-sot__answer {
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  body.ei-brand-sot .ei-faq-sot {
    padding: 32px 16px;
  }

  body.ei-brand-sot .ei-faq-sot__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  body.ei-brand-sot .ei-faq-sot__title br {
    display: none;
  }

  body.ei-brand-sot .ei-faq-sot__question {
    font-size: 18px;
    line-height: 1.4;
  }

  body.ei-brand-sot .ei-faq-sot__answer {
    padding-right: 28px;
    font-size: 16px;
  }

  body.ei-brand-sot .ei-faq-sot__actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 32px;
  }

  body.ei-brand-sot .ei-faq-sot__action {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.ei-brand-sot .ei-faq-sot__chevron {
    transition: none;
  }
}
