// Agent catalog — the 13 agents from the brief.
// Each carries id, division, prices, throughput, stack, description, humanEquivalentSalary
// (used to compute the "vs human hires" savings line in the roster).

const AGENTS = [
  // GROWTH
  {
    id: "brandmind",
    name: "BrandMind",
    division: "GROWTH",
    role: "Content & Strategy",
    priceMonthly: 1200,
    throughput: "320 tasks/mo",
    stack: ["Claude", "Pinecone"],
    description: "Learns your brand DNA, voice, and audience. Generates on-brand content briefs, posts, and ad copy at scale.",
    humanEquivalentSalary: 4800,
    glyph: "diamond",
  },
  {
    id: "campaignbot",
    name: "CampaignBot",
    division: "GROWTH",
    role: "Paid Media",
    priceMonthly: 1800,
    throughput: "80 campaigns/mo",
    stack: ["GPT-4o", "n8n", "Meta API", "Google API"],
    description: "Plans, launches, and optimizes multi-channel ad campaigns across Meta, Google, TikTok, and LinkedIn — bids tuned hourly.",
    humanEquivalentSalary: 6200,
    glyph: "target",
  },
  {
    id: "seo-sentinel",
    name: "SEO Sentinel",
    division: "GROWTH",
    role: "SEO & Web",
    priceMonthly: 1400,
    throughput: "60 audits/mo",
    stack: ["Claude", "Ahrefs API"],
    description: "Continuously monitors rankings, audits content, maps keywords, and ships on-page optimizations without pause.",
    humanEquivalentSalary: 5400,
    glyph: "radar",
  },
  {
    id: "socialpulse",
    name: "SocialPulse",
    division: "GROWTH",
    role: "Social Media",
    priceMonthly: 1100,
    throughput: "240 posts/mo",
    stack: ["Gemini Flash", "Ayrshare"],
    description: "Manages social channels 24/7 — posting, engaging, detecting viral trends before they peak.",
    humanEquivalentSalary: 4500,
    glyph: "pulse",
  },
  {
    id: "insight-oracle",
    name: "Insight Oracle",
    division: "GROWTH",
    role: "Analytics & Growth",
    priceMonthly: 900,
    throughput: "Realtime + Friday brief",
    stack: ["Claude", "Supabase"],
    description: "Aggregates analytics across every platform into one live dashboard. Surfaces what to do next, not just what happened.",
    humanEquivalentSalary: 5800,
    glyph: "eye",
  },
  {
    id: "lead-hunter",
    name: "Lead Hunter",
    division: "GROWTH",
    role: "Lead Gen",
    priceMonthly: 1500,
    throughput: "2,000 leads/mo",
    stack: ["Apify", "Apollo", "GPT-4o"],
    description: "Scrapes, enriches, scores, and routes leads to your CRM. Knows the difference between a tire-kicker and a buyer.",
    humanEquivalentSalary: 5200,
    glyph: "crosshair",
  },

  // CREATIVE
  {
    id: "designflow",
    name: "DesignFlow",
    division: "CREATIVE",
    role: "Graphic Design",
    priceMonthly: 1300,
    throughput: "400 assets/mo",
    stack: ["Flux.1 [pro]", "Canva API"],
    description: "Produces branded visuals, social creatives, and print-ready designs trained on your visual identity — instantly.",
    humanEquivalentSalary: 5600,
    glyph: "layers",
  },
  {
    id: "videoforge",
    name: "VideoForge",
    division: "CREATIVE",
    role: "Video Ads",
    priceMonthly: 2200,
    throughput: "40 videos/mo",
    stack: ["Kling AI", "Runway", "ElevenLabs"],
    description: "Scripts, generates, and edits short-form video ads. Cinematic enough to pass for studio output.",
    humanEquivalentSalary: 7400,
    glyph: "frame",
  },
  {
    id: "copycraft",
    name: "CopyCraft",
    division: "CREATIVE",
    role: "Copywriting",
    priceMonthly: 800,
    throughput: "100 pieces/mo",
    stack: ["Claude"],
    description: "Long-form, short-form, email, landing pages. Studies your top-performing copy and writes more of what works.",
    humanEquivalentSalary: 4200,
    glyph: "pen",
  },

  // ENGINEERING GUARDIANS
  {
    id: "qa-sentinel",
    name: "QA Sentinel",
    division: "ENGINEERING GUARDIANS",
    role: "Quality Assurance",
    priceMonthly: 1600,
    throughput: "24/7 + Friday report",
    stack: ["Playwright", "Claude"],
    description: "Runs automated regression, accessibility (WCAG 2.2 AA), and cross-browser test suites every deploy. Files tickets before users do.",
    humanEquivalentSalary: 7200,
    glyph: "shield-check",
  },
  {
    id: "stressforge",
    name: "StressForge",
    division: "ENGINEERING GUARDIANS",
    role: "Performance & Load",
    priceMonthly: 1900,
    throughput: "Weekly load + pre-launch",
    stack: ["k6", "Lighthouse", "Claude"],
    description: "Synthetic load testing, Core Web Vitals tracking, and capacity planning. Knows your real ceiling before the launch traffic finds it.",
    humanEquivalentSalary: 8200,
    glyph: "gauge",
  },
  {
    id: "pentest-phantom",
    name: "PenTest Phantom",
    division: "ENGINEERING GUARDIANS",
    role: "Security",
    priceMonthly: 2400,
    throughput: "Continuous + monthly report",
    stack: ["OWASP ZAP", "Snyk", "Claude"],
    description: "Continuous OWASP Top 10 scanning, dependency vulnerability monitoring, and quarterly red-team simulations on your live properties.",
    humanEquivalentSalary: 9500,
    nda: true,
    glyph: "lock",
  },

  // OPERATIONS
  {
    id: "chatops",
    name: "ChatOps",
    division: "OPERATIONS",
    role: "Customer Conversations",
    priceMonthly: 700,
    throughput: "24/7",
    stack: ["Claude", "ManyChat bridge"],
    description: "Handles inbound DMs, comments, and live chat across every channel. Hands off to human only when it matters.",
    humanEquivalentSalary: 4000,
    glyph: "speech",
  },
];

// One-time deploy framing: ~6× monthly with handover
AGENTS.forEach((a) => { a.priceOneTime = a.priceMonthly * 6; });

const DIVISIONS = ["ALL", "GROWTH", "CREATIVE", "ENGINEERING GUARDIANS", "OPERATIONS"];

const SQUADS = [
  {
    id: "starter",
    name: "Starter Squad",
    price: 2500,
    agents: ["brandmind", "socialpulse", "insight-oracle"],
    pitch: "Founder-mode. One brand, two channels, one weekly brief.",
  },
  {
    id: "growth",
    name: "Growth Squad",
    price: 5800,
    agents: ["brandmind", "socialpulse", "insight-oracle", "campaignbot", "seo-sentinel", "designflow"],
    pitch: "Series A SaaS that needs to ship 4× the marketing without 4× the headcount.",
  },
  {
    id: "launch",
    name: "Launch Day Squad",
    price: 7200,
    agents: ["brandmind", "socialpulse", "insight-oracle", "campaignbot", "designflow", "videoforge", "stressforge", "qa-sentinel"],
    pitch: "You ship in 6 weeks. The site doesn't fall over. The ads convert. Done.",
  },
  {
    id: "enterprise",
    name: "Enterprise Squad",
    price: 12400,
    agents: ["brandmind", "campaignbot", "seo-sentinel", "socialpulse", "insight-oracle", "lead-hunter", "designflow", "videoforge", "copycraft", "qa-sentinel", "stressforge", "pentest-phantom"],
    pitch: "You have 5+ products and a board. We have 10+ agents and a SOC2 letter.",
  },
];

const FAQS = [
  { q: "How fast does an agent really deploy?", a: "48 hours from contract to live. We spend the first 24 ingesting your brand kit, channel access, and analytics; the second 24 calibrating the agent against your last 90 days of output. By hour 49 it's shipping." },
  { q: "What happens to my data?", a: "Your data lives in your tenancy. We process through provider APIs (Anthropic, OpenAI, Google) on zero-retention contracts. We export everything, every time, on request — no ticket, no retention clause." },
  { q: "Can I see what an agent is doing?", a: "Every agent writes to a per-brand activity log. You get a Friday brief, a real-time dashboard, and the option to subscribe to a Slack channel that mirrors every action with a one-line summary." },
  { q: "What if an agent screws up?", a: "Every output passes a guardrail check before it ships. If something gets through, your onboarding lead pulls it within an hour and we credit the cost of the run. We've eaten the cost twice in 14 months." },
  { q: "Can I cancel mid-month?", a: "Yes. You pay only the days the agents ran. We'll export your history, your prompts, your fine-tuning data — and we'll uninstall ourselves within a business day." },
  { q: "Do you replace my agency?", a: "We replace ~70% of execution. Strategy, taste, brand intuition — that's still you and your onboarding lead. We are pointedly not pretending to replace your CMO." },
  { q: "How is this different from just using ChatGPT?", a: "ChatGPT is a chat interface. An agent is a job description. Ours run on schedules, with stack integrations, with brand memory, with guardrails, and with a human reviewing the work — 24/7, not when you remember to open a tab." },
  { q: "Who owns the output?", a: "You do. Every asset, every campaign, every line of code — your IP, work-for-hire, no exceptions. We retain operational logs for our own service; we never train on your data." },
];

const TICKER_TEMPLATES = [
  "DesignFlow shipped {n} carousels for {brand}",
  "PenTest Phantom flagged a CVE on {brand} · resolved in {m}m",
  "CampaignBot rebid a Meta campaign · CPA down {p}%",
  "SEO Sentinel pushed {n} on-page fixes to {brand}",
  "VideoForge rendered {n} short-form cuts for {brand}",
  "QA Sentinel caught a regression on {brand} · ticket filed",
  "Lead Hunter routed {n} qualified leads to {brand}",
  "BrandMind drafted {n} long-form posts for {brand}",
  "ChatOps handled {n} DMs overnight for {brand}",
  "Insight Oracle delivered Friday brief to {brand}",
  "StressForge ran load test on {brand} · ceiling held at {n}k RPS",
  "CopyCraft shipped {n} email variants for {brand}",
];
const TICKER_BRANDS = [
  "/shopify/lumen-skin", "/fintech/north-rail", "/saas/orbit-cms", "/dtc/halcyon-coffee",
  "/marketplace/grove-labs", "/saas/keelhaul", "/fintech/quietbank", "/dtc/upright-tools",
];

window.AGENTS = AGENTS;
window.DIVISIONS = DIVISIONS;
window.SQUADS = SQUADS;
window.FAQS = FAQS;
window.TICKER_TEMPLATES = TICKER_TEMPLATES;
window.TICKER_BRANDS = TICKER_BRANDS;
