/* DMO Sign landing: FAQ accordions and final CTA. Colors come from the tokens in styles.css. */

/* FAQ list */
.dsl-faq-list { max-width: 48rem; display: grid; gap: .6rem; }
.dsl-faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.dsl-faq-q { margin: 0; font-size: inherit; font-weight: inherit; line-height: 1.3; }

.dsl-faq-btn { width: 100%; text-align: left; display: flex; justify-content: space-between; gap: 1rem; align-items: center; min-height: 60px; padding: .9rem 1.2rem; background: transparent; border: 0; font: inherit; font-size: 1.02rem; font-weight: 600; color: var(--ink); cursor: pointer; border-radius: 18px; }
.dsl-faq-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }

.dsl-faq-chev { flex: none; width: 20px; height: 20px; color: var(--brand); transition: transform 200ms ease-out; }
.dsl-faq-btn[aria-expanded="true"] .dsl-faq-chev { transform: rotate(180deg); }

/* panel: animates its height with the grid-rows trick; hidden once closed */
.dsl-faq-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 220ms ease-out; }
.dsl-faq-panel[hidden] { display: none; }
.dsl-faq-panel.is-open { grid-template-rows: 1fr; }
.dsl-faq-inner { overflow: hidden; min-height: 0; padding: 0 1.2rem; }
.dsl-faq-panel.is-open .dsl-faq-inner { padding-bottom: 0; }
.dsl-faq-inner p { margin: 0 0 1.1rem; color: var(--muted); line-height: 1.55; }

/* final call to action: dark band */
.dsl-section.dsl-cta { text-align: center; padding: clamp(2.5rem, 2rem + 2vw, 3.5rem) 1.5rem; margin: 1rem 0 3rem; background: var(--side); color: var(--side-ink); border-radius: 28px; border-top: 0; --focus: #f0b400; }
.dsl-cta-h { font-family: var(--font-display); font-weight: 420; font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); line-height: 1.12; letter-spacing: -.02em; color: var(--side-ink); margin: 0 auto .75rem; max-width: 22ch; }
.dsl-cta-sub { color: var(--side-muted); margin: 0 0 1.5rem; }
.dsl-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.dsl-cta .btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

@media (max-width: 639px) {
  .dsl-cta-actions { flex-direction: column; }
  .dsl-cta-actions .btn { width: 100%; }
}
