---
import SectionBand from '../components/SectionBand.astro';

// Plain claims, not stat headlines — no fake precision to source or defend.
// Swap in PCBJam-native numbers (boards opened, GitHub stars) once they exist (§8).
const claims = [
  'Built on KiCad — trusted by millions',
  'the largest open footprint library in EDA',
  '100% open .kicad_pcb format',
  'free to start',
];
---

<SectionBand tone="soft" flush class="trust">
  <p class="claims">
    {
      claims.map((c, i) => (
        <>
          {i > 0 && (
            <span class="sep" aria-hidden="true">
              ·
            </span>
          )}
          <span class="claim">{c}</span>
        </>
      ))
    }
  </p>
</SectionBand>

<style>
  .trust :global(.container) {
    padding-block: 1.25rem;
  }
  .claims {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 0.35rem 0.75rem;
    text-align: center;
    font-size: 0.95rem;
    color: var(--fg-muted);
  }
  .claim:first-of-type {
    color: var(--fg);
    font-weight: 600;
  }
  .sep {
    color: var(--fg-muted);
    opacity: 0.5;
  }
</style>
