.faqs {
  padding: clamp(calc(64px * var(--s, 1)), calc(8vw * var(--s, 1)), calc(120px * var(--s, 1))) 0;
  background: var(--paper);
}
/* The heading stands to the left of the list on a desktop, above it on a phone. */
.faqs__wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, calc(820px * var(--s, 1)));
  column-gap: clamp(calc(32px * var(--s, 1)), calc(5vw * var(--s, 1)), calc(80px * var(--s, 1)));
  row-gap: calc(28px * var(--s, 1));
  align-items: start;
}
.faqs__head .h-1 { line-height: 1.05; }
@media (max-width: 900px) {
  .faqs__wrap { grid-template-columns: minmax(0, 1fr); }
}

/* Traditional single-column accordion: a divided list of questions that
   expand on click (native <details>/<summary>). */
.faqs__list {
  margin: 0;
  padding: 0;
  border-top: 1.5px solid var(--ink);
}
details.faq {
  border-bottom: 1.5px solid var(--ink);
}
details.faq > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(20px * var(--s, 1));
  padding: calc(20px * var(--s, 1)) calc(4px * var(--s, 1));
  min-height: calc(44px * var(--s, 1));
}
details.faq > summary::-webkit-details-marker { display: none; }
/* chevron, rotates when the row is open */
details.faq > summary::after {
  content: "";
  flex: 0 0 auto;
  width: calc(9px * var(--s, 1));
  height: calc(9px * var(--s, 1));
  margin-right: calc(6px * var(--s, 1));
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
details.faq[open] > summary::after { transform: rotate(-135deg); }
details.faq > summary:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: calc(4px * var(--s, 1)); }

.faq__q {
  font-family: var(--display);
  font-size: clamp(calc(19px * var(--s, 1)), calc(1.6vw * var(--s, 1)), calc(22px * var(--s, 1)));
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--ink);
  margin: 0;
}
.faq__a {
  font-size: calc(17px * var(--s, 1));
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}
details.faq .faq__a { padding: 0 calc(4px * var(--s, 1)) calc(20px * var(--s, 1)); max-width: 72ch; }

/* Ask block sits below the accordion as a standalone card. */
.faqs__ask { max-width: calc(820px * var(--s, 1)); margin-top: calc(32px * var(--s, 1)); }
.faq--ask {
  background: var(--paper-dark);
  border: 1.5px solid var(--paper-dark);
  border-radius: calc(14px * var(--s, 1));
  padding: calc(20px * var(--s, 1)) calc(22px * var(--s, 1)) calc(22px * var(--s, 1));
  color: var(--bg);
  display: flex;
  flex-direction: column;
  gap: calc(8px * var(--s, 1));
}
.faq--ask .faq__q { color: var(--bg); }
.faq--ask .faq__a { color: rgba(255,255,255,0.78); }
.ask__form { display: flex; flex-direction: column; gap: calc(8px * var(--s, 1)); margin-top: calc(4px * var(--s, 1)); }
.ask__form input,
.ask__form textarea {
  font: inherit;
  font-size: calc(14px * var(--s, 1));
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--bg);
  padding: calc(9px * var(--s, 1)) calc(11px * var(--s, 1));
  border-radius: calc(8px * var(--s, 1));
}
.ask__form input::placeholder,
.ask__form textarea::placeholder { color: rgba(255,255,255,0.4); }
.ask__form input:focus,
.ask__form textarea:focus {
  outline: none;
  border-color: var(--coral);
  background: rgba(255,255,255,0.12);
}
.ask__form textarea { resize: vertical; min-height: calc(56px * var(--s, 1)); line-height: 1.4; }
.ask__pot { position: absolute; left: calc(-9999px * var(--s, 1)); width: 1px; height: 1px; overflow: hidden; }
.ask__row {
  display: flex;
  align-items: center;
  gap: calc(12px * var(--s, 1));
  flex-wrap: wrap;
  margin-top: 2px;
}
.ask__submit { background: var(--coral-fill); color: var(--on-coral); border: 0; }
.ask__submit:disabled { opacity: 0.6; cursor: wait; }
.ask__status {
  font-family: var(--sans);
  font-size: calc(12px * var(--s, 1));
  margin: 0;
  color: rgba(255,255,255,0.6);
}
.ask__status[data-state="ok"]    { color: var(--lime); }
.ask__status[data-state="error"] { color: #FF8B7A; }
@media (max-width: 800px) {
  .faqs__list { grid-template-columns: 1fr; }
}

/* Mailing-list opt-in under the question box (FANTENNA-804). Sits on the dark
   ask panel, so it borrows .faq__a's colour rather than the page ink. */
.ask__optin {
  display: flex; align-items: flex-start; gap: calc(10px * var(--s, 1));
  margin: calc(4px * var(--s, 1)) 0 2px;
  font-family: var(--sans); font-size: calc(14px * var(--s, 1)); line-height: 1.45;
  color: rgba(255,255,255,0.78); cursor: pointer;
}
.ask__optin input {
  /* Overrides .ask__form input above, which styles the text fields. */
  width: calc(17px * var(--s, 1)); height: calc(17px * var(--s, 1)); flex: 0 0 auto; margin-top: 1px;
  padding: 0; background: none; border: 0; accent-color: var(--coral);
  cursor: pointer;
}
.ask__optin input:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }

/* Terms and privacy at the point of collection (FANTENNA-1298). Same treatment
   as .early__consent: on the dark ask panel, white-on-dark above 4.5:1. */
.ask__consent {
  margin: calc(4px * var(--s, 1)) 0 0;
  font-family: var(--sans); font-size: calc(13px * var(--s, 1)); line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}
.ask__consent a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.ask__consent a:hover { color: var(--sun); }
