/* FAQ Section — Figma node 4020:766 (1440 x 664)

   The Figma frame renders one row open to show the pattern; with real
   <details> rows the resting state is all-closed, so the section carries the
   designed 664px as a floor and grows from there when a row is opened. */

.faq {
  min-height: 664px;
  background: var(--off-white);
  padding: 120px var(--gutter);
  display: flex;
  flex-direction: column;
  /* 48.5, not 48: the h2 sits at y=120 and the list at y=218 in the frame. */
  gap: 48.5px;
}

.faq h2 {
  width: 586px;
  margin: 0;
  font-size: 45px;
  font-weight: 500;
  line-height: 49.5px;
  color: var(--obsidian);
  transform: translateY(var(--figma-baseline-shift));
}

.faq__list { width: 1280px; box-shadow: inset 0 0 0 1px var(--obsidian); }

.faq__item { display: block; box-shadow: inset 0 -1px 0 var(--obsidian); }

/* 68px is the Figma row: letting the 32.2px line box set it lands the divider
   on 68.2 and antialiases the rule across two rows. */
.faq__item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
  padding: 18px 24px;
  box-sizing: border-box;
  cursor: pointer;
  list-style: none;
}

.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::marker { content: ""; }
.faq__item summary:focus-visible { outline: 2px solid var(--orange); outline-offset: -4px; }

.faq__item h3 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 32.2px;
  color: var(--muted);
  transform: translateY(var(--figma-baseline-shift));
}

.faq__item[open] h3 { color: var(--obsidian); }

.faq__plus {
  flex: 0 0 28px;
  width: 28px;
  font-size: 28px;
  font-weight: 700;
  line-height: 32.2px;
  color: var(--orange);
  text-align: center;
  transform: translateY(var(--figma-baseline-shift));
}

/* The plus becomes a close mark rather than swapping in a second glyph. */
.faq__item[open] .faq__plus { transform: translateY(var(--figma-baseline-shift)) rotate(45deg); }

@media (prefers-reduced-motion: no-preference) {
  .faq__plus { transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1); }
}

.faq__answer { max-width: 1000px; padding: 0 24px 18px; }

.faq__answer p {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 27px;
  color: var(--obsidian);
  opacity: 0.7;
  transform: translateY(var(--figma-baseline-shift));
}

.faq__answer p + p { margin-top: 12px; }
