All components

FAQ

FAQ accordion

A two-column FAQ with native, keyboard-friendly disclosure rows and a contact nudge.

How to use it

Add it to a page

Write “Add @faq-accordion after the hero” in the chat. Spearbot restyles it to your fonts and colours.

Mix and match

Combine it with skills, e.g. “Add @faq-accordion @copywriting for our pricing”.

Or paste it yourself

Copy the HTML below. It is one section with its own scoped styles and no dependencies.

View the HTMLShow
<section class="sbc-faq-accordion" aria-labelledby="sbc-faq-accordion-title">
  <div class="sbc-faq-accordion__inner">
    <div class="sbc-faq-accordion__intro">
      <p class="sbc-faq-accordion__eyebrow">FAQ</p>
      <h2 id="sbc-faq-accordion-title">Questions, answered</h2>
      <p>Can't find what you need? <a href="#contact">Send us a message</a> and a real person replies within a working day.</p>
    </div>
    <div class="sbc-faq-accordion__list">
      <details open>
        <summary>How long does a typical project take?</summary>
        <p>Most projects take four to six weeks from the first call to launch. We'll give you a dated plan in the first week, so you always know what's next.</p>
      </details>
      <details>
        <summary>Do you work with small businesses?</summary>
        <p>Yes. Most of our clients are teams of one to twenty people. We scope the work to what you need now and leave room to grow.</p>
      </details>
      <details>
        <summary>What do I need to prepare?</summary>
        <p>A rough idea of your goals and any brand material you already have. If you don't have a logo or photos yet, we can help with both.</p>
      </details>
      <details>
        <summary>Can I make changes after launch?</summary>
        <p>Of course. Every project includes two weeks of free tweaks after launch, and you can book extra hours whenever you need them.</p>
      </details>
      <details>
        <summary>How does payment work?</summary>
        <p>Half up front, half at launch. We send invoices by email and accept card or bank transfer.</p>
      </details>
    </div>
  </div>
</section>
<style>
.sbc-faq-accordion{--bg:var(--color-bg,#FBF9F6);--ink:var(--color-ink,#16130F);--muted:var(--color-muted,#6B645B);--accent:var(--color-accent,#C2462A);--surface:var(--color-surface,#fff);--r:var(--radius,16px);background:var(--bg);color:var(--ink);font-family:var(--font-body,system-ui,-apple-system,"Segoe UI",sans-serif);padding:clamp(64px,9vw,120px) 20px}
.sbc-faq-accordion *{box-sizing:border-box}
.sbc-faq-accordion__inner{max-width:1120px;margin:0 auto;display:grid;gap:40px;grid-template-columns:1fr}
@media (min-width:900px){.sbc-faq-accordion__inner{grid-template-columns:.8fr 1.2fr;gap:80px}.sbc-faq-accordion__intro{position:sticky;top:96px;align-self:start}}
.sbc-faq-accordion .sbc-faq-accordion__eyebrow{margin:0 0 14px;font-size:13px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--accent)}
.sbc-faq-accordion h2{font-family:var(--font-display,Georgia,"Times New Roman",serif);font-size:clamp(32px,4.5vw,54px);line-height:1.05;letter-spacing:-.035em;font-weight:600;margin:0}
.sbc-faq-accordion__intro>p:last-child{margin:18px 0 0;color:var(--muted);line-height:1.6;font-size:17px;max-width:36ch}
.sbc-faq-accordion__intro a{color:var(--ink);font-weight:600;text-decoration-color:var(--accent);text-underline-offset:3px}
.sbc-faq-accordion__list{border-top:1px solid color-mix(in srgb,var(--ink) 12%,transparent)}
.sbc-faq-accordion details{border-bottom:1px solid color-mix(in srgb,var(--ink) 12%,transparent)}
.sbc-faq-accordion summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:24px;padding:24px 4px;font-size:clamp(17px,1.6vw,19px);font-weight:600;letter-spacing:-.01em}
.sbc-faq-accordion summary::-webkit-details-marker{display:none}
.sbc-faq-accordion summary::after{content:"";flex:none;width:32px;height:32px;border-radius:50%;background:color-mix(in srgb,var(--ink) 6%,transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M10 16h12M16 10v12' stroke='%2316130F' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/100% no-repeat;transition:transform .25s ease,background-color .2s}
.sbc-faq-accordion details[open] summary::after{transform:rotate(45deg);background-color:color-mix(in srgb,var(--accent) 16%,transparent)}
.sbc-faq-accordion summary:hover{color:var(--accent)}
.sbc-faq-accordion summary:focus-visible{outline:3px solid var(--accent);outline-offset:2px;border-radius:8px}
.sbc-faq-accordion details p{margin:0;padding:0 56px 26px 4px;color:var(--muted);line-height:1.65;font-size:16px;max-width:62ch}
@media (prefers-reduced-motion:reduce){.sbc-faq-accordion summary::after{transition:none}}
</style>