/* Hallmark · component: native FAQ disclosure motion · genre: modern-minimal · built: the project · redesign: polish · v2.0.0 */
/* Progressive enhancement: unsupported browsers keep native disclosures.
   The grid reveals intrinsic content without measuring or animating height. */
@supports selector(::details-content) {
  [data-faq-item]::details-content {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition:
      grid-template-rows 280ms cubic-bezier(0.4, 0, 0.2, 1),
      opacity 240ms ease,
      content-visibility 280ms allow-discrete;
  }

  [data-faq-item][open]::details-content {
    grid-template-rows: 1fr;
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-faq-item]::details-content { transition: none; }
}
