// Quality.jsx — the review apparatus + closing message.

const QUALITY = [
  {
    icon: 'scale', title: 'Critic / Review Agent',
    desc: 'Continuously evaluates outputs for accuracy, methodology compliance, and analytical rigor. It challenges assumptions, flags unsupported claims, and enforces consistency across every deliverable.',
  },
  {
    icon: 'redteam', title: 'Red Team Adversary',
    desc: 'Stress-tests competitive assessments by arguing the opposing position — making sure your capture strategy holds up against scrutiny before you commit real resources to it.',
  },
  {
    icon: 'compliance', title: 'Compliance Validation',
    desc: 'Checks every deliverable against Shipley methodology, FAR / DFARS requirements, and GovCon best practices. Nothing ships that doesn\u2019t meet the standard.',
  },
];

function Quality() {
  return (
    <section id="quality">
      <div className="wrap">
        <div className="reveal" style={{ maxWidth: 760 }}>
          <SectionTag>The Quality & Review Layer</SectionTag>
          <h2 className="section-title">Every output is challenged before it ships<span style={{ color: 'var(--accent)' }}>.</span></h2>
          <p className="section-desc">
            The specialists don't get the last word — the review layer does. Built-in peer review,
            adversarial testing, and compliance validation sit between analysis and delivery.
          </p>
        </div>

        <div className="quality-grid reveal">
          {QUALITY.map(q => {
            const Icon = Icons[q.icon];
            return (
              <div className="q-card" key={q.title}>
                <div className="agent-avatar"><span style={{ color: 'var(--accent)' }}><Icon /></span></div>
                <h3>{q.title}</h3>
                <p>{q.desc}</p>
              </div>
            );
          })}
        </div>

        <div className="quality-banner reveal">
          <p>
            This isn't a chatbot that generates a wall of text and hopes for the best. It's a
            structured analytical team with <b>peer review</b>, <b>quality gates</b>, and
            <b> adversarial testing</b> built in<span className="accent">.</span> That's what makes
            intelligence trustworthy enough to base a bid / no-bid decision on.
          </p>
        </div>
      </div>
    </section>
  );
}
window.Quality = Quality;
