/*
 * FAQ section - Asana 1216706434947140.
 *
 * Built to Maor's Figma (file 22CW3eBPJbE2wHoU9hpGKg, desktop node 3130:3508,
 * mobile node 3181:7957): a section heading, then two columns of accordion rows,
 * each row a hairline divider above the question with a small chevron pinned to
 * the right edge.
 *
 * Measured off the frame at 1920: columns 644 wide with a 38 gap, divider 624,
 * chevron 16x16 sitting at x=608 within the row. Those are expressed below as a
 * max-width and a flex gap rather than fixed pixels, so the section behaves at
 * every width instead of only at 1920.
 *
 * The `start-faq` stem must stay in WP Rocket's remove_unused_css_safelist or
 * RUCSS strips this file for cached visitors and the section ships unstyled.
 */

.start-faq {
  padding: 80px 0;
}

.start-faq__title {
  margin: 0 0 44px;
  max-width: 18ch;
  font-size: clamp(32px, 3.4vw, 56px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.start-faq__cols {
  display: flex;
  flex-wrap: wrap;
  gap: 0 38px;
}

.start-faq__col {
  flex: 1 1 420px;
  min-width: 0;
}

/* --- one row --- */

.start-faq__item {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.start-faq__col:last-child .start-faq__item:last-child,
.start-faq__col:first-child .start-faq__item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.start-faq__q {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  cursor: pointer;
  list-style: none;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 500;
}

/* kill the native disclosure triangle in every engine */
.start-faq__q::-webkit-details-marker { display: none; }
.start-faq__q::marker { content: ''; }

/* The question is an <h3> for document outline / AI parsing, so its UA and theme
   heading styles have to be reset back to the row's type. It is a heading
   semantically, not visually. */
.start-faq__q-text {
  min-width: 0;
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
  text-transform: none;
}

.start-faq__icon {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin-top: 6px;
  position: relative;
}

/* plus, per Maor's design, drawn in CSS - no icon font, no SVG request.
   Collapses to a minus when the row opens: the vertical stroke rotates onto the
   horizontal one rather than disappearing, so the transition reads as a fold. */
.start-faq__icon::before,
.start-faq__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1px;
  margin: -0.5px 0 0 -7px;
  background: currentColor;
  transition: transform 0.18s ease;
}

.start-faq__icon::after { transform: rotate(90deg); }

.start-faq__item[open] .start-faq__icon::after { transform: rotate(0deg); }

@media (prefers-reduced-motion: reduce) {
  .start-faq__icon::before,
  .start-faq__icon::after { transition: none; }
}

/* --- answer --- */

.start-faq__a {
  padding: 0 44px 28px 0;
}

.start-faq__a p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  opacity: 0.82;
}

/* --- focus, keyboard users get a visible ring --- */

.start-faq__q:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 2px;
}

/* --- mobile: columns stack, so reading order is col 1 then col 2 --- */

@media (max-width: 991px) {
  .start-faq { padding: 56px 0; }
  .start-faq__title { margin-bottom: 32px; }
  .start-faq__cols { gap: 0; }
  .start-faq__col { flex: 1 1 100%; }
  /* only the very last row of the stack gets a bottom rule */
  .start-faq__col:first-child .start-faq__item:last-child { border-bottom: 0; }
  .start-faq__q { padding: 22px 0; font-size: 17px; }
  .start-faq__a { padding-right: 32px; }
}
