/* ---------- FAQ (below Work With Algoryx Labs) ---------- */

.site-faq {
  --faq-bg: #000;
  --faq-text: #fff;
  --faq-muted: #8e8e8e;
  --faq-border: rgba(255, 255, 255, 0.12);
  --faq-border-strong: rgba(255, 255, 255, 0.22);
  --faq-font: "Inter", "Segoe UI", system-ui, sans-serif;

  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 clamp(20px, 5vw, 64px) clamp(72px, 12vh, 128px);
  background: var(--faq-bg);
  color: var(--faq-text);
  font-family: var(--faq-font);
  scroll-margin-top: 88px;
}

.site-faq *,
.site-faq *::before,
.site-faq *::after {
  box-sizing: border-box;
}

.site-faq__inner {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.site-faq__header {
  text-align: center;
  margin-bottom: clamp(28px, 4vh, 40px);
}

.site-faq__eyebrow {
  margin: 0 0 10px;
  color: var(--faq-muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-faq__title {
  margin: 0 0 12px;
  color: var(--faq-text);
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.site-faq__lead {
  margin: 0 auto;
  max-width: 42ch;
  color: rgba(208, 208, 208, 0.78);
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  font-weight: 400;
  line-height: 1.55;
}

.site-faq__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--faq-border);
}

.site-faq__item {
  border-bottom: 1px solid var(--faq-border);
}

.site-faq__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 2px;
  border: 0;
  background: transparent;
  color: var(--faq-text);
  font-family: inherit;
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.site-faq__trigger:hover {
  color: rgba(255, 255, 255, 0.82);
}

.site-faq__trigger[aria-expanded="true"] {
  color: #fff;
}

.site-faq__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid var(--faq-border);
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  transition: transform 0.25s ease, border-color 0.2s ease, background 0.2s ease;
}

.site-faq__trigger[aria-expanded="true"] .site-faq__icon {
  transform: rotate(45deg);
  border-color: var(--faq-border-strong);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.site-faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
}

.site-faq__panel.is-open {
  grid-template-rows: 1fr;
}

.site-faq__panel-inner {
  overflow: hidden;
}

.site-faq__answer {
  margin: 0;
  padding: 0 2px 18px;
  color: var(--faq-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.site-faq__footer {
  margin-top: clamp(28px, 4vh, 36px);
  text-align: center;
  color: var(--faq-muted);
  font-size: 14.5px;
  line-height: 1.5;
}

.site-faq__footer a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.site-faq__footer a:hover {
  opacity: 0.78;
}

.site-faq__footer-arrow {
  display: inline-block;
  margin-left: 4px;
  color: rgba(255, 255, 255, 0.65);
}
