/* ==========================================================================
   Continuum Travel Therapy — FAQ page (faq.html)

   Loaded after css/site.css. Generated by tools/build-jobs.cjs from
   tools/faq-content.cjs — edit the content there, not the built page.

   Each question is a native <details>/<summary>. No JavaScript: it is
   keyboard-operable and screen-reader-operable for free, and browsers can
   find text inside a closed answer with Ctrl+F.
   ========================================================================== */

/* The hero is the shared .openings-hero from css/site.css, the same one the
   state pages use. This is everything below it. */
.faq-body { background: var(--canvas); }
.faq-body > .shell { padding-block: var(--space-10) var(--space-12); }

/* --- Jump links --------------------------------------------------------- */

.faq-jump {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: var(--space-6) 0 var(--space-10);
  padding: 0;
  list-style: none;
}
.faq-jump a {
  display: inline-flex;
  padding: 7px 14px;
  background: var(--surface);
  border: 1px solid rgba(27, 42, 67, 0.10);
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy-700);
  text-decoration: none;
  transition: border-color var(--dur-fast) ease-out, color var(--dur-fast) ease-out;
}
.faq-jump a:hover { border-color: var(--teal-500); color: var(--teal-700); }

/* --- Sections ----------------------------------------------------------- */

.faq-section { margin-bottom: var(--space-10); scroll-margin-top: 88px; }
.faq-section__title {
  margin: 0 0 var(--space-4);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy-800);
}

.faq-list {
  background: var(--surface);
  border: 1px solid rgba(27, 42, 67, 0.08);
  border-radius: var(--radius-3xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.faq-item { border-bottom: 1px solid rgba(27, 42, 67, 0.08); }
.faq-item:last-child { border-bottom: none; }

.faq-item__q {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  cursor: pointer;
  list-style: none;                 /* Firefox */
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.45;
  color: var(--navy-800);
  transition: background var(--dur-fast) ease-out;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q:hover { background: var(--surface-muted); }
.faq-item__q:focus-visible {
  outline: 2px solid var(--teal-500);
  outline-offset: -2px;
}
.faq-item__q > span:first-child { flex: 1 1 auto; }

/* Plus / minus, drawn with two bars so it needs no icon font. */
.faq-item__mark {
  position: relative;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 4px;
}
.faq-item__mark::before,
.faq-item__mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 16px;
  height: 2px;
  background: var(--slate-400);
  border-radius: 1px;
  transform: translateY(-50%);
  transition: transform var(--dur-base) var(--ease-bounce),
              background var(--dur-fast) ease-out;
}
.faq-item__mark::after { transform: translateY(-50%) rotate(90deg); }
.faq-item[open] .faq-item__mark::after { transform: translateY(-50%) rotate(0deg); }
.faq-item[open] .faq-item__mark::before,
.faq-item[open] .faq-item__mark::after { background: var(--teal-600); }
.faq-item__q:hover .faq-item__mark::before,
.faq-item__q:hover .faq-item__mark::after { background: var(--teal-600); }

.faq-item__a {
  padding: 0 var(--space-6) var(--space-5);
  /* Line the answer up with the question text, past the marker. */
  padding-right: calc(var(--space-6) + 16px + var(--space-4));
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--slate-600);
}
.faq-item__a p { margin: 0 0 var(--space-3); }
.faq-item__a p:last-child { margin-bottom: 0; }
.faq-item__a strong { color: var(--navy-800); font-weight: 600; }
.faq-item__a a { color: var(--teal-700); font-weight: 500; }
.faq-item__a a:hover { text-decoration: underline; }

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

/* The closing call to action that used to sit here is gone: the page now ends
   with the shared contact panel and form, the same as every other page. */

@media (max-width: 640px) {
  .faq-item__q { padding: var(--space-4) var(--space-5); font-size: 15.5px; }
  .faq-item__a {
    padding: 0 var(--space-5) var(--space-4);
    padding-right: var(--space-5);
  }
}
