/* Draft FAQ redesign. Reuses ../style.css for nav/tokens/.rd-closing; this
   file covers the hero and the accordion list. */

/* ── HERO ── */
.rf-hero { padding: 6rem 0 3.5rem; border-bottom: 1px solid var(--line); }

.rf-hero-heading {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 2.8rem);
  line-height: 1.2;
  margin: 0.75rem 0 1.1rem;
}

/* ── SECTIONS ── */
.rf-section { padding: 3rem 0; border-bottom: 1px solid var(--line); }
.rf-section:last-of-type { border-bottom: none; }

/* ── ACCORDION ── */
.rf-list { margin-top: 1.5rem; }

.rf-item {
  border-bottom: 1px dotted var(--line-strong);
}

.rf-item:last-child { border-bottom: none; }

/* Padding lives on summary itself, not the parent <details> — a <details>
   toggle only registers taps inside <summary>'s own box, so this is what
   actually sets the tap-target height (44px+, not just the visible text). */
.rf-item summary {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 0;
  min-height: 44px;
  box-sizing: border-box;
}

.rf-item[open] summary { padding-bottom: 0.6rem; }
.rf-item .rf-answer { padding-bottom: 1.35rem; }

.rf-item summary::-webkit-details-marker { display: none; }

.rf-item summary::after {
  content: '+';
  font-family: var(--mono);
  font-size: 1.1rem;
  color: var(--brass-text);
  flex-shrink: 0;
}

.rf-item[open] summary::after { content: '\2212'; }

.rf-answer {
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 640px;
}

.rf-answer a { color: var(--brass-text); text-decoration: underline; text-underline-offset: 3px; }

/* ── MOBILE ── */
@media (max-width: 768px) {
  .rf-hero { padding: 5rem 0 3rem; }
  .rf-section { padding: 2.5rem 0; }
}
