/* global React, Link, BitcoinMark, PageHero, PageSchema, IntakeForm, CredentialCard */
const { useState: useStateContent } = React;

/* ============================================================
   /market
   ============================================================ */

function MarketPage() {
  return (
    <main>
      <PageHero
        crumbs={[{ label: 'BitID', href: '/' }, { label: 'Market' }]}
        title="A $265B surface. One primitive."
        lead="The world went machine-first. Identity didn't. The pay-per-check stack stops at the first verification — and that is no longer enough."
      />
      <section className="section">
        <div className="container container--narrow">
          <article id="the-shift">
            <p className="eyebrow">01 · The shift</p>
            <h2 style={{ marginTop: 12 }}>The machine-first turn.</h2>
            <p style={{ color: 'var(--fg-muted)', marginTop: 16, fontSize: 18 }}>
              For two decades, identity meant a human filling out a form. That assumption is over. Apps now act through agents, agents now act through other agents, and every category-leading product is racing to be agent-native. None of this works without a credential layer the machines can use.
            </p>
          </article>

          <hr className="divider" style={{ margin: '64px 0' }} />

          <article id="obsolete-stack">
            <p className="eyebrow">02 · The stack that's obsolete</p>
            <h2 style={{ marginTop: 12 }}>Pay-per-check identity is a tax on every transaction.</h2>
            <p style={{ color: 'var(--fg-muted)', marginTop: 16, fontSize: 18 }}>
              The legacy posture is a bundle of vendors charging per call: identity verification, KYC, AML and sanctions screening, fraud scoring, chargeback liability. Every check is an event, every event is a fee, and the result expires the moment it lands. Companies pay five times for the same trust — and still inherit the loss when it slips.
            </p>
          </article>

          <hr className="divider" style={{ margin: '64px 0' }} />

          <article id="the-surface">
            <p className="eyebrow">03 · The surface</p>
            <h2 style={{ marginTop: 12 }}>$265B by 2030. One primitive replaces the bundle.</h2>
            <div className="market-table-wrap" style={{ marginTop: 32 }}>
              <table className="market-table">
                <thead><tr><th>Segment</th><th style={{ textAlign: 'right' }}>Projected 2030</th></tr></thead>
                <tbody>
                  <tr><td>Pure identity verification</td><td>$29B – $34B</td></tr>
                  <tr><td>KYC software</td><td>$13B – $16B</td></tr>
                  <tr><td>Fraud prevention</td><td>$90B+</td></tr>
                  <tr><td>Digital identity (full layer)</td><td>$133B</td></tr>
                  <tr className="total"><td>Total addressable surface</td><td>~$265B</td></tr>
                </tbody>
              </table>
            </div>
          </article>

          <hr className="divider" style={{ margin: '64px 0' }} />

          <article id="why-bitcoin-and-ai">
            <p className="eyebrow">04 · Why blockchain × AI</p>
            <h2 style={{ marginTop: 12 }}>Bitcoin as the only durable settlement.</h2>
            <p style={{ color: 'var(--fg-muted)', marginTop: 16, fontSize: 18 }}>
              An identity result that cannot be revoked, rewritten, or forgotten requires a settlement layer that cannot be revoked, rewritten, or forgotten. Bitcoin is the only one with a credible claim to that property. Continuous scoring is the only way to keep trust current — a verification from last quarter is a liability today.
            </p>
          </article>

          <hr className="divider" style={{ margin: '64px 0' }} />

          <article id="who-built-it">
            <p className="eyebrow">05 · Why us</p>
            <h2 style={{ marginTop: 12 }}>Built by the team that invented identity tokenization.</h2>
            <p style={{ color: 'var(--fg-muted)', marginTop: 16, fontSize: 18 }}>
              BitID was founded by <a href="https://patents.justia.com/search?q=akshay+Krishnaiah" target="_blank" rel="noopener noreferrer" style={{ color: 'var(--fg-primary-dark)', borderBottom: '1px solid currentColor' }}>Akshay Krishnaiah</a>, who invented wallet tokenization and identity tokenization at PayPal, with a team from Harvard, IIT, and UC. We built it because Beem — our 5-million-user money app — needed a credential layer the world didn't yet have.
            </p>
          </article>

          <hr className="divider" style={{ margin: '64px 0' }} />

          <article id="already-true">
            <p className="eyebrow">06 · Already true</p>
            <h2 style={{ marginTop: 12 }}>The work is shipping.</h2>
            <ul style={{ listStyle: 'none', padding: 0, margin: '24px 0 0', display: 'grid', gap: 12 }}>
              <li style={{ fontFamily: 'var(--font-mono)', fontSize: 14, color: 'var(--fg-muted)' }}>· 5M+ verified users on Beem</li>
              <li style={{ fontFamily: 'var(--font-mono)', fontSize: 14, color: 'var(--fg-muted)' }}>· Whitepaper v4.3 published</li>
              <li style={{ fontFamily: 'var(--font-mono)', fontSize: 14, color: 'var(--fg-muted)' }}>· Developer early access open</li>
            </ul>
          </article>
        </div>
      </section>

      <section className="section" style={{ borderTop: '1px solid var(--border-subtle)' }}>
        <div className="container container--narrow">
          <p className="eyebrow">Investor brief</p>
          <h2 style={{ marginTop: 12, marginBottom: 32 }}>Request the brief.</h2>
          <IntakeForm
            title="Investor brief"
            lead="Infrastructure-tier funds only. We respond personally."
            intent="investor"
            fields={[
              { name: 'name', label: 'Name' },
              { name: 'fund', label: 'Fund' },
              { name: 'role', label: 'Role' },
              { name: 'email', label: 'Email', type: 'email' },
              { name: 'thesis', label: 'One-sentence thesis fit', type: 'textarea' },
            ]}
          />
        </div>
      </section>
      <PageSchema schema={{
        "@context": "https://schema.org",
        "@type": "FAQPage",
        "mainEntity": [
          { "@type": "Question", "name": "How big is the addressable identity market?",
            "acceptedAnswer": { "@type": "Answer", "text": "Approximately $265B by 2030 across identity verification, KYC, fraud prevention, and full digital identity." } },
          { "@type": "Question", "name": "Why does identity need Bitcoin?",
            "acceptedAnswer": { "@type": "Answer", "text": "Bitcoin is the only settlement layer durable enough to anchor an identity result that cannot be revoked, rewritten, or forgotten." } }
        ]
      }} />
    </main>
  );
}

/* ============================================================
   /trust
   ============================================================ */

function TrustPage() {
  return (
    <main>
      <PageHero
        crumbs={[{ label: 'BitID', href: '/' }, { label: 'Trust' }]}
        title="Bank-grade trust. Zero-knowledge by default. Bitcoin as the final arbiter."
        lead="Identity that proves what's needed and reveals nothing else."
      />
      <section className="section">
        <div className="container">
          <div className="pillars">
            <div className="pillar" id="identity-and-compliance">
              <p className="eyebrow">01</p>
              <h3 style={{ marginTop: 8 }}>Identity and compliance depth</h3>
              <p>Every BitID tier is backed by a full-stack regulatory pipeline aligned with FFIEC BSA/AML examination manuals, OFAC and PEP sanctions screening, CDD/EDD, and continuous re-screening. The depth is bank-grade. The implementation is proprietary.</p>
            </div>
            <div className="pillar" id="zero-knowledge">
              <p className="eyebrow">02</p>
              <h3 style={{ marginTop: 8 }}>Zero-knowledge by default</h3>
              <p>Prove what you need. Reveal nothing else. Every tier is verifiable as a zero-knowledge proof.</p>
            </div>
            <div className="pillar" id="bitcoin-anchoring">
              <p className="eyebrow">03</p>
              <h3 style={{ marginTop: 8 }}>Bitcoin anchoring</h3>
              <p>Verifications are Merkle-batched and anchored on Bitcoin's L1 as ordinals. Your identity trail is as durable as the most secure settlement layer that exists.</p>
            </div>
          </div>

          <div className="compliance-row" aria-label="Compliance posture">
            <span>SOC 2 Type II · in progress</span>
            <span>FFIEC BSA/AML aligned</span>
            <span>GDPR · CCPA compliant</span>
            <span>ISO 27001 · roadmap</span>
          </div>

          <div className="opencore" id="open-core">
            <h3>Open SDKs. Open interface specs. Closed core. Audited by experts.</h3>
            <p>Our developer-facing surface — SDKs, OpenAPI spec, MCP server manifest — will be MIT-licensed and public. Our core identity engine, scoring logic, and cryptographic circuits are proprietary, audited by independent third parties, and the audit reports will be published.</p>
            <div style={{ display: 'flex', gap: 12, flexWrap: 'wrap', marginTop: 20 }}>
              <span style={{ fontFamily: 'var(--font-mono)', fontSize: 12, padding: '8px 14px', border: '1px solid var(--border-subtle)', borderRadius: 999, color: 'var(--fg-muted)' }}>
                External cryptographic audit · Q3 2026
              </span>
            </div>
          </div>

          <div style={{ marginTop: 56, fontFamily: 'var(--font-mono)', fontSize: 13, color: 'var(--fg-muted)' }}>
            <div>Security contact · <a href="mailto:security@bitid.org" style={{ color: 'var(--fg-primary-dark)' }}>security@bitid.org</a></div>
            <div style={{ marginTop: 6 }}>PGP · <a href="/security/bitid.asc" style={{ color: 'var(--fg-primary-dark)', borderBottom: '1px solid var(--border-subtle)' }}>download key</a></div>
          </div>
        </div>
      </section>
      <PageSchema schema={{
        "@context": "https://schema.org", "@type": "FAQPage",
        "mainEntity": [
          { "@type": "Question", "name": "What is BitID's compliance posture?",
            "acceptedAnswer": { "@type": "Answer", "text": "FFIEC BSA/AML aligned, OFAC/PEP screening, CDD/EDD, GDPR/CCPA compliant, SOC 2 Type II in progress, ISO 27001 on roadmap." } },
          { "@type": "Question", "name": "What does zero-knowledge mean for BitID?",
            "acceptedAnswer": { "@type": "Answer", "text": "Every BitID tier is verifiable as a zero-knowledge proof — proving what's needed without revealing the underlying data." } }
        ]
      }} />
    </main>
  );
}

/* ============================================================
   /agents
   ============================================================ */

function AgentsPage() {
  return (
    <main>
      <PageHero
        crumbs={[{ label: 'BitID', href: '/' }, { label: 'Agents' }]}
        title="Your agent needs an ID. We are building the layer that issues it."
        lead="The first identity primitive designed for machines acting on behalf of verified humans."
      />
      <section className="section">
        <div className="container">
          <div className="pillars">
            <div className="pillar" id="issue">
              <p className="eyebrow">01 · Issue</p>
              <h3 style={{ marginTop: 8 }}>Authorize with a proof, not a password.</h3>
              <p>A human with a verified BitID can authorize an agent. Scopes, value limits, time windows. The credential is a zero-knowledge proof of delegation.</p>
            </div>
            <div className="pillar" id="prove">
              <p className="eyebrow">02 · Prove</p>
              <h3 style={{ marginTop: 8 }}>Prove without revealing.</h3>
              <p>The agent can prove its delegation to any service or other agent without revealing the human's identity. Privacy preserved. Authorization verifiable.</p>
            </div>
            <div className="pillar" id="revoke">
              <p className="eyebrow">03 · Revoke</p>
              <h3 style={{ marginTop: 8 }}>One action ends authority.</h3>
              <p>The human holds the revocation key. One action ends the agent's authority.</p>
            </div>
          </div>

          <p style={{ maxWidth: 720, margin: '64px auto 0', textAlign: 'center', fontSize: 18, color: 'var(--fg-muted)' }}>
            If your product is an agent — or your product will talk to agents — BitID is the identity layer you need. The legacy stack assumes a human is sitting at a keyboard. That assumption is over.
          </p>

          <div style={{ textAlign: 'center', marginTop: 32 }}>
            <Link href="/developers" className="btn btn--primary">Join developer early access</Link>
          </div>
        </div>
      </section>
      <PageSchema schema={{
        "@context": "https://schema.org", "@type": "FAQPage",
        "mainEntity": [
          { "@type": "Question", "name": "How does an agent prove who authorized it?",
            "acceptedAnswer": { "@type": "Answer", "text": "Through a BitID zero-knowledge proof of delegation, scoped and time-bounded by the authorizing human." } },
          { "@type": "Question", "name": "Can a human revoke an agent's BitID?",
            "acceptedAnswer": { "@type": "Answer", "text": "Yes. The human holds the revocation key; a single action ends the agent's authority." } }
        ]
      }} />
    </main>
  );
}

/* ============================================================
   /whitepaper — dark, gated abstract
   ============================================================ */

function WhitepaperPage() {
  const [citeOpen, setCiteOpen] = useStateContent(false);
  const [citeFmt, setCiteFmt] = useStateContent('apa');
  const citations = {
    apa: 'Krishnaiah, A., & the BitID team. (2026). The BitID Whitepaper (v0.9 preprint). BitID. https://bitid.org/whitepaper',
    bibtex: `@techreport{krishnaiah2026bitid,
  author = {Krishnaiah, Akshay and {the BitID team}},
  title  = {The BitID Whitepaper},
  number = {v0.9 preprint},
  year   = {2026},
  month  = {April},
  url    = {https://bitid.org/whitepaper}
}`,
    plain: 'Akshay Krishnaiah and the BitID team. The BitID Whitepaper, v0.9 preprint. BitID, April 2026. https://bitid.org/whitepaper'
  };

  return (
    <main>
      <section className="wp-hero">
        <div className="container container--narrow">
          <nav className="breadcrumb" aria-label="Breadcrumb">
            <Link href="/">BitID</Link><span> / </span><span>Whitepaper</span>
          </nav>
          <p className="eyebrow" style={{ marginTop: 24 }}>
            <span className="anchor-mini"><BitcoinMark size={12} /></span>
            Preprint · v0.9 · April 2026
          </p>
          <h1 className="wp-title">The BitID Whitepaper.</h1>
          <p className="wp-subtitle">
            A neutral, zero-knowledge, Bitcoin-anchored identity primitive for humans, apps, and machine agents.
          </p>
          <p className="wp-authors">
            Akshay Krishnaiah · the BitID team · Harvard · IIT · UC · April 23, 2026
          </p>
          <div className="wp-ctas">
            <a href="#request-pdf" className="btn btn--primary">Request the full PDF</a>
            <button className="btn btn--ghost" onClick={() => setCiteOpen(true)}>Cite this work</button>
          </div>
        </div>
      </section>

      <section className="wp-abstract" id="abstract">
        <div className="container container--narrow">
          <p className="eyebrow">Abstract</p>
          <p className="wp-lead">
            The world has moved from web forms to autonomous agents. Identity has not. Today's stack is a chain of pay-per-check vendors that verifies once, charges every time, leaks everything in between, and was never designed for a machine acting on behalf of a verified human.
          </p>
          <p className="wp-lead">
            BitID is a single primitive that replaces that stack. A bundled identity, compliance, fraud, and chargeback posture, anchored to Bitcoin's L1 as the final settlement layer, expressed as zero-knowledge proofs that reveal nothing beyond the assertion they make. It is current by default — rescored continuously — and neutral by design — owned by no platform.
          </p>
          <p className="wp-lead">
            This preprint sets out the architecture, the threat model, the compliance posture, the agent-delegation construction, and the economic design. The full paper, including circuit specifications and the audited security proof, is gated behind a request form below.
          </p>
        </div>
      </section>

      <section className="wp-toc-band">
        <div className="container container--narrow">
          <p className="eyebrow">Contents</p>
          <ol className="wp-toc-list">
            <li><span className="num">01</span><span className="label">The problem with pay-per-check identity</span><span className="pages">p. 4</span></li>
            <li><span className="num">02</span><span className="label">Architecture overview</span><span className="pages">p. 11</span></li>
            <li><span className="num">03</span><span className="label">Zero-knowledge proof construction</span><span className="pages">p. 19</span></li>
            <li><span className="num">04</span><span className="label">Bitcoin anchoring and Merkle batching</span><span className="pages">p. 28</span></li>
            <li><span className="num">05</span><span className="label">Agent delegation</span><span className="pages">p. 36</span></li>
            <li><span className="num">06</span><span className="label">Compliance posture</span><span className="pages">p. 44</span></li>
            <li><span className="num">07</span><span className="label">Economic design</span><span className="pages">p. 51</span></li>
            <li><span className="num">08</span><span className="label">Threat model and known limitations</span><span className="pages">p. 58</span></li>
            <li><span className="num">09</span><span className="label">References</span><span className="pages">p. 64</span></li>
          </ol>
        </div>
      </section>

      <section className="wp-gate" id="request-pdf">
        <div className="container container--narrow">
          <div className="wp-gate-grid">
            <div>
              <p className="eyebrow">Request the full PDF</p>
              <h2>The full paper is gated.</h2>
              <p>
                The preprint above is the public-facing summary. The full v0.9 paper — including the zero-knowledge circuit construction, the anchoring schedule, the threat model, and the audited security proof — is available on request. We send it to developers, partners, and investors who tell us briefly who they are and what they want to do with it. No marketing email.
              </p>
              <ul className="wp-gate-list">
                <li>72 pages</li>
                <li>Includes circuit specifications and audited security proof</li>
                <li>Covers economic design and agent delegation in full</li>
                <li>Sent as a watermarked PDF within one business day</li>
              </ul>
            </div>
            <div>
              <IntakeForm
                title="Request access"
                lead="We'll send the watermarked v0.9 PDF within one business day."
                fields={[
                  { name: 'name',  label: 'Name' },
                  { name: 'email', label: 'Email', type: 'email' },
                  { name: 'org',   label: 'Company or fund' },
                  { name: 'role',  label: 'Role' },
                  { name: 'use',   label: 'What do you want to do with the paper?', type: 'textarea',
                    placeholder: 'e.g. Evaluating for the identity layer in our agent product.' }
                ]}
                intent="whitepaper"
              />
            </div>
          </div>
        </div>
      </section>

      {citeOpen && (
        <div className="modal-overlay" onClick={() => setCiteOpen(false)}>
          <div className="modal modal--dark" style={{ position: 'relative' }} onClick={e => e.stopPropagation()}>
            <button className="modal-close" onClick={() => setCiteOpen(false)} aria-label="Close">×</button>
            <h3>Cite this work</h3>
            <p style={{ fontSize: 13, color: 'var(--fg-muted)', margin: 0 }}>The BitID Whitepaper · v0.9 preprint · April 2026</p>
            <div className="modal-tabs" role="tablist">
              {['apa', 'bibtex', 'plain'].map(f => (
                <button key={f}
                        className={`modal-tab ${citeFmt === f ? 'is-active' : ''}`}
                        onClick={() => setCiteFmt(f)}>{f}</button>
              ))}
            </div>
            <pre>{citations[citeFmt]}</pre>
          </div>
        </div>
      )}

      <PageSchema schema={{
        "@context": "https://schema.org",
        "@type": "ScholarlyArticle",
        "headline": "The BitID Whitepaper",
        "author": { "@type": "Person", "name": "Akshay Krishnaiah" },
        "datePublished": "2026-04-23",
        "version": "0.9",
        "publisher": { "@type": "Organization", "name": "BitID" },
        "url": "https://bitid.org/whitepaper"
      }} />
    </main>
  );
}

/* ============================================================
   /about
   ============================================================ */

function AboutPage() {
  return (
    <main>
      {/* Hero */}
      <section className="about-hero">
        <div className="container">
          <nav className="breadcrumb" aria-label="Breadcrumb">
            <Link href="/">BitID</Link><span> / </span><span>About</span>
          </nav>
          <p className="eyebrow" style={{ marginTop: 32 }}>About BitID</p>
          <h1 className="about-h1">
            We are building the neutral identity layer for a machine-first world.
          </h1>
          <p className="about-sub">
            Independent. Bitcoin-anchored. Owned by no platform. Designed for humans, apps, and the agents acting on behalf of both.
          </p>
          <div className="about-stats">
            <div><span className="n">5M+</span><span className="l">Americans verified through Beem</span></div>
            <div><span className="n">12</span><span className="l">Foundational tokenization patents</span></div>
            <div><span className="n">2026</span><span className="l">Year BitID opens to the world</span></div>
          </div>
        </div>
      </section>

      {/* Origin story — the long-form approved body */}
      <section className="about-story">
        <div className="container container--narrow">
          <p className="eyebrow">The origin</p>
          <h2 className="about-h2">It started because we needed it ourselves.</h2>
          <div className="about-prose">
            <p>
              BitID was founded by <a href="https://patents.justia.com/search?q=akshay+Krishnaiah" target="_blank" rel="noopener noreferrer"><strong>Akshay Krishnaiah</strong></a>, who invented wallet tokenization and identity tokenization at PayPal. The work he did there is now in the foundation of every modern wallet — a piece of plumbing the world quietly stands on.
            </p>
            <p>
              The team is from Harvard, IIT, and UC. Backgrounds in payments, applied cryptography, financial regulation, and large-scale identity systems.
            </p>
            <p>
              The origin is simple. We were building Beem — a money app with five million American users — and we needed it to become machine-ready. Agents acting on behalf of verified humans need a way to prove what they are, who authorized them, and what they are allowed to do. Nothing in the market could issue a credential like that. The legacy identity stack assumed a human at a keyboard. The web3 identity stack assumed a wallet without compliance. Neither was the right shape for a world where humans, apps, and machines all needed to verify each other in real time, continuously, without leaking what they shouldn't.
            </p>
            <p>
              So we built the missing layer. It became BitID.
            </p>
            <p>
              What came out is bigger than one app. The same primitive every category-leading company will need to survive the agent era — bundled identity, compliance, fraud, and chargeback posture, anchored on Bitcoin, current by default, private by default, neutral by design.
            </p>
            <p className="about-italic">
              We are opening it up.
            </p>
          </div>
        </div>
      </section>

      {/* Principles */}
      <section className="about-principles">
        <div className="container">
          <p className="eyebrow">Principles</p>
          <h2 className="about-h2">What we will and will not do.</h2>
          <div className="princ-grid">
            <div className="princ">
              <span className="num">01</span>
              <h3>Neutral by design</h3>
              <p>BitID is not a super-app's identity. It is not a single bank's identity. It is not a single chain's identity. It is the identity layer every category-leading company can adopt without surrendering its customers to a competitor. We will refuse contracts that require us to be otherwise.</p>
            </div>
            <div className="princ">
              <span className="num">02</span>
              <h3>Private by construction</h3>
              <p>Every BitID assertion is a zero-knowledge proof. The verifier learns the assertion. Nothing else. No raw documents. No biometric templates. No transaction history. No metadata graph. The privacy is in the math, not the policy.</p>
            </div>
            <div className="princ">
              <span className="num">03</span>
              <h3>Anchored, not asserted</h3>
              <p>Every batch of verifications is committed to Bitcoin's L1 as ordinals. Our trail is as durable as the most secure settlement layer that exists. If we disappeared tomorrow, the proofs would still verify.</p>
            </div>
            <div className="princ">
              <span className="num">04</span>
              <h3>Reward-aligned, not extractive</h3>
              <p>The legacy stack charges per check. We don't. The economic design rewards verified humans for being verified, rewards apps for using the same primitive, and removes the per-check rent that the previous category was built on.</p>
            </div>
          </div>
        </div>
      </section>

      {/* Founder block — substantial, no headshot */}
      <section className="about-founder">
        <div className="container">
          <div className="founder-grid">
            <div className="founder-meta">
              <p className="eyebrow">Founder</p>
              <h3 className="founder-name">Akshay Krishnaiah</h3>
              <p className="founder-title">Founder &amp; CEO, BitID</p>
              <ul className="founder-bullets">
                <li>Invented wallet tokenization at PayPal</li>
                <li>Invented identity tokenization at PayPal</li>
                <li>Founder &amp; CEO, Beem — 5M American users</li>
                <li>Foundational tokenization patents — still in production at scale</li>
              </ul>
              <p className="founder-link">
                <a href="https://patents.justia.com/search?q=akshay+Krishnaiah" target="_blank" rel="noopener noreferrer" className="inline-link">See the patent history →</a>
              </p>
            </div>
            <div className="founder-quote">
              <p className="eyebrow">In his own words</p>
              <blockquote>
                The last identity layer was built for a human filling out a form. The next one has to work for an agent acting on that human's behalf. The math is different. The threat model is different. The economics are different. We built BitID because nothing else was the right shape for what comes next.
              </blockquote>
              <p className="founder-attrib">— Akshay Krishnaiah, founder note, April 2026</p>
            </div>
          </div>
        </div>
      </section>

      {/* Team — no headshots, just provenance */}
      <section className="about-team">
        <div className="container">
          <p className="eyebrow">The team</p>
          <h2 className="about-h2">Payments, cryptography, regulation, scale.</h2>
          <p className="team-lead">
            We are a small group with a specific shape. The founders and senior engineers come from places where identity, money, and trust were already production-grade problems at hundred-million-user scale. We do not have a marketing team. We have one investor relations contact. The rest of us are building.
          </p>
          <div className="team-grid">
            <div><p className="k">Provenance</p><p className="v">Harvard · IIT · UC</p></div>
            <div><p className="k">Origin</p><p className="v">PayPal · Beem</p></div>
            <div><p className="k">Disciplines</p><p className="v">Payments · cryptography · financial regulation · identity systems</p></div>
            <div><p className="k">Headcount</p><p className="v">Small. Senior. Hiring carefully.</p></div>
          </div>
        </div>
      </section>

      {/* Credentials table */}
      <section className="section">
        <div className="container container--narrow">
          <p className="eyebrow">Credentials of record</p>
          <table className="creds-table">
            <tbody>
              <tr><td>Foundational tokenization patents</td><td><a href="https://patents.justia.com/search?q=akshay+Krishnaiah" target="_blank" rel="noopener noreferrer" className="inline-link">patents.justia.com →</a></td></tr>
              <tr><td>Founder · prior work</td><td>Wallet tokenization, identity tokenization at PayPal</td></tr>
              <tr><td>Team provenance</td><td>Harvard · IIT · UC</td></tr>
              <tr><td>First production deployment</td><td>Beem · 5,000,000 American users</td></tr>
              <tr><td>Whitepaper</td><td><Link href="/whitepaper" className="inline-link">v0.9 preprint, April 2026</Link></td></tr>
              <tr><td>Press contact</td><td><a href="mailto:press@bitid.org" className="inline-link">press@bitid.org</a></td></tr>
            </tbody>
          </table>
        </div>
      </section>

      {/* CTA */}
      <section className="final-cta">
        <h2>Want the long version?</h2>
        <div className="final-cta-row">
          <Link href="/whitepaper" className="btn btn--primary">Read the whitepaper</Link>
          <Link href="/partners" className="btn btn--ghost">Talk to the team</Link>
          <Link href="/investors" className="btn btn--ghost">Investor brief</Link>
        </div>
      </section>

      <PageSchema schema={{
        "@context": "https://schema.org", "@type": "AboutPage",
        "name": "About BitID",
        "url": "https://bitid.org/about"
      }} />
    </main>
  );
}

window.MarketPage = MarketPage;
window.TrustPage = TrustPage;
window.AgentsPage = AgentsPage;
window.WhitepaperPage = WhitepaperPage;
window.AboutPage = AboutPage;
