// Shared data for Foreman site
const FOREMAN = {
  skillCategories: [
    { id: 'frameworks', label: 'Frameworks', count: 50, sample: ['Porter\u2019s Five Forces', 'SWOT', 'Business Model Canvas', 'Blue Ocean', 'Balanced Scorecard', 'NPS'] },
    { id: 'leadership', label: 'Leadership', count: 28, sample: ['Senior transition', 'Delegation', 'Resilience', 'Feedback', 'Mentoring'] },
    { id: 'writing', label: 'Writing', count: 13, sample: ['Purpose', 'Process', 'Clarity', 'Tone', 'Memos'] },
    { id: 'ai-leadership', label: 'AI leadership', count: 9, sample: ['AI adoption', 'Vision', 'Augmentation', 'Inclusion'] },
    { id: 'game-theory', label: 'Game theory', count: 7, sample: ['Nash equilibrium', 'Prisoner\u2019s dilemma', 'Information asymmetry', 'Coalitions'] },
    { id: 'stoic', label: 'Stoic', count: 12, sample: ['Control', 'Emotions', 'Awareness', 'Duty', 'Resilience', 'Mortality', 'Amor fati'] },
    { id: 'storytelling', label: 'Storytelling', count: 8, sample: ['Finding stories', 'Structure', 'Stakes', 'Performance'] },
    { id: 'negotiation', label: 'Negotiation', count: 4, sample: ['Mindset', 'Competitive', 'Cooperative', 'Closing'] },
    { id: 'people', label: 'People', count: 8, sample: ['Reading', 'Connecting', 'Influencing', 'Conflict'] },
    { id: 'creative', label: 'Creative', count: 8, sample: ['Identity', 'Practice', 'Flow', 'Collaboration'] },
    { id: 'thinking', label: 'Thinking', count: 6, sample: ['Defaults', 'Strength', 'Decisions', 'Priorities'] },
    { id: 'decisions', label: 'Decisions', count: 5, sample: ['Traps', 'Generating', 'Evaluating', 'Executing', 'Tough calls'] },
  ],
  industryPacks: [
    { id: 'saas', label: 'SaaS', focus: 'Subscription metrics, retention curves', benchmarks: [
      { k: 'NRR', v: '> 110%' }, { k: 'Gross churn', v: '< 5% / mo' }, { k: 'CAC payback', v: '< 18 mo' }, { k: 'Magic Number', v: '> 0.75' }
    ]},
    { id: 'marketplace', label: 'Marketplace', focus: 'Two-sided dynamics, chicken-and-egg', benchmarks: [
      { k: 'Take rate', v: '10\u201320%' }, { k: 'Liquidity', v: '> 30%' }, { k: 'GMV / month', v: 'sequential growth' }, { k: 'Supply utilization', v: '> 60%' }
    ]},
    { id: 'ecommerce', label: 'E-commerce', focus: 'Inventory, AOV, ROAS', benchmarks: [
      { k: 'Conversion', v: '2\u20133%' }, { k: 'AOV', v: 'segment-specific' }, { k: 'Cart abandon', v: '< 70%' }, { k: 'ROAS', v: '> 3x' }
    ]},
    { id: 'fintech', label: 'Fintech', focus: 'Regulation through everything', benchmarks: [
      { k: 'TPV growth', v: 'MoM 8%+' }, { k: 'Default rate', v: '< 2%' }, { k: 'Compliance cost', v: '5\u20138% rev' }, { k: 'Fraud loss', v: '< 0.1%' }
    ]},
    { id: 'ai', label: 'AI / ML', focus: 'Model-centric, data moat', benchmarks: [
      { k: 'Inference $ / req', v: 'gross margin > 60%' }, { k: 'Hallucination', v: '< 3%' }, { k: 'Model drift', v: 'monitored weekly' }, { k: 'Eval coverage', v: '> 80%' }
    ]},
    { id: 'health', label: 'HealthTech', focus: 'Patient safety, triple aim', benchmarks: [
      { k: 'Clinical validation', v: 'peer-reviewed' }, { k: 'Provider adoption', v: '> 40% / pilot' }, { k: 'HIPAA', v: 'BAA in place' }, { k: 'NPS (clinician)', v: '> 50' }
    ]},
    { id: 'edtech', label: 'EdTech', focus: 'Buyer \u2260 user, multi-stakeholder', benchmarks: [
      { k: 'Completion rate', v: '> 60%' }, { k: 'Institutional adopt', v: '> 30% seats' }, { k: 'FERPA', v: 'compliant' }, { k: 'Annual renewal', v: '> 90%' }
    ]},
    { id: 'd2c', label: 'D2C / Consumer', focus: 'Brand-as-moat, community', benchmarks: [
      { k: 'CAC by channel', v: 'tracked weekly' }, { k: 'Repeat 90d', v: '> 25%' }, { k: 'Brand awareness', v: 'survey baseline' }, { k: 'ROAS blended', v: '> 2.5x' }
    ]},
    { id: 'agency', label: 'Agency', focus: 'People-as-product', benchmarks: [
      { k: 'Utilization', v: '65\u201375%' }, { k: 'Rev / employee', v: '> $200k' }, { k: 'Gross margin', v: '> 50%' }, { k: 'Pipeline cover', v: '3x' }
    ]},
  ],
  modes: [
    {
      id: 'solo',
      label: 'Solo',
      cmd: '/solo',
      pitch: 'Adapts everything for solopreneurs. No team, no board, just you.',
      sample: 'Audiences remap to "future-you" and "your one mentor." Priorities adjust. The isolation gets acknowledged, not papered over.'
    },
    {
      id: 'stoic',
      label: 'Stoic',
      cmd: '/stoic on',
      pitch: 'Adds philosophical depth from the Stoic tradition.',
      sample: 'Dichotomy of control on every analysis. Premeditatio malorum on every risk section. Virtue-based anti-patterns.'
    },
    {
      id: 'language',
      label: 'Language',
      cmd: '/language turkish',
      pitch: 'Switches output to any language. Thinks in English, speaks in yours.',
      sample: 'Composes with English-grade clarity, then translates with idiomatic care. Combines with every other mode.'
    },
  ],
  problems: [
    { without: '"My sales are dropping" stays a vague worry.', withF: 'Diagnosed as onboarding churn in 6 questions.' },
    { without: 'Frameworks learned but never applied.', withF: '158 frameworks applied to your context.' },
    { without: 'Board deck rebuilt from scratch every time.', withF: '48 templates, ready to fill.' },
    { without: 'Advice given, execution forgotten.', withF: 'Implementation tracking with weekly check-ins.' },
    { without: 'Same strategy for SaaS and marketplace.', withF: '9 industry packs with sector-specific benchmarks.' },
    { without: 'Generic AI chat with no memory.', withF: '5-layer memory that knows your company.' },
  ],
  flow: [
    { step: 'Hooks', desc: 'Pattern-match intent', detail: 'competition threat detected' },
    { step: 'Orchestrator', desc: 'Reads memory', detail: 'Series A · SaaS · 20 employees' },
    { step: 'Diagnostic', desc: '6 triage questions', detail: '\u2192 differentiation failure' },
    { step: 'Playbook', desc: 'Multi-step recipe', detail: 'Porter\u2019s \u2192 Art of War \u2192 Blue Ocean' },
    { step: 'Output', desc: 'Pro deliverable', detail: 'investor brief + team action plan' },
    { step: 'Memory', desc: 'Tracks follow-through', detail: 'check-in next Tuesday' },
  ],
  diagnostic: {
    intro: 'Try one. The diagnostic engine asks six. We\u2019ll show you three.',
    flow: [
      {
        q: 'Where do you feel the pressure first?',
        opts: [
          { id: 'rev', label: 'Revenue / pipeline' },
          { id: 'team', label: 'Team / org' },
          { id: 'self', label: 'Founder / self' },
        ],
      },
      {
        q: 'Is the trend new or compounding?',
        opts: [
          { id: 'new', label: 'Last 30 days' },
          { id: 'comp', label: 'Quarter or longer' },
        ],
      },
      {
        q: 'When you imagine the cause, you reach for...',
        opts: [
          { id: 'ext', label: 'Something external (market, competitor)' },
          { id: 'int', label: 'Something internal (we shipped slow, ICP drifted)' },
        ],
      },
    ],
    verdict: 'Likely a differentiation failure compounded by ICP drift. Routing to Competitive Response playbook.',
  },
  boardPersonas: [
    { id: 'skeptic', label: 'Skeptic Investor', barb: '"Why now? And why you?"' },
    { id: 'hawk', label: 'Financial Hawk', barb: '"Walk me through the unit economics, line by line."' },
    { id: 'ops', label: 'Operational Expert', barb: '"How do you ship this with twelve people?"' },
    { id: 'vet', label: 'Industry Veteran', barb: '"Three companies tried this in 2018. They\u2019re all dead."' },
    { id: 'legal', label: 'Legal Counsel', barb: '"Walk me through the compliance exposure."' },
    { id: 'champ', label: 'Champion', barb: '"I\u2019m bullish. Help me defend you in the room."' },
  ],
  terminalScript: [
    { who: 'you', text: 'My competitors are crushing us on price.' },
    { who: 'sys', text: 'hooks: matched \u2192 competition.threat' },
    { who: 'sys', text: 'memory: Series A \u00b7 SaaS \u00b7 20 employees' },
    { who: 'fm', text: 'Before strategy, a quick triage.' },
    { who: 'fm', text: 'When customers leave, do they cite price first \u2014 or something else?' },
    { who: 'you', text: 'Mostly something else. Onboarding is rough.' },
    { who: 'fm', text: 'Then this isn\u2019t a price problem. It\u2019s a differentiation problem disguised as one.' },
    { who: 'sys', text: 'diagnostic \u2192 differentiation failure' },
    { who: 'sys', text: 'playbook \u2192 competitive response' },
    { who: 'fm', text: 'Three frameworks, in this order:' },
    { who: 'fm', text: '  1. Porter\u2019s Five Forces \u2014 map the structural pressure.' },
    { who: 'fm', text: '  2. Art of War \u2014 pick the battle you can win.' },
    { who: 'fm', text: '  3. Blue Ocean \u2014 redraw the field.' },
    { who: 'sys', text: 'output \u2192 competitive landscape brief (investor)' },
    { who: 'sys', text: 'output \u2192 90-day action plan (team)' },
    { who: 'sys', text: 'memory: tracking 4 commitments \u00b7 check-in next Tuesday' },
  ],
};

window.FOREMAN = FOREMAN;
