// Content for Portal Pulse landing page. Kept in one place so copy is easy to tune.

const PROBLEMS = [
  {
    num: "01",
    title: "Forecasts you can\u2019t defend.",
    body: "The board asks why the number moved. Your CRO gives the best answer she has. Nobody in the room is confident it\u2019s the right one.",
  },
  {
    num: "02",
    title: "Automations drifting silently.",
    body: "A workflow built three admins ago fires on a property that no longer exists. Nothing breaks loudly. Pipeline just leaks a little every week.",
  },
  {
    num: "03",
    title: "Adoption that looks fine until it isn\u2019t.",
    body: "Dashboards are green. Reps are logging activity. The QBR reveals half the team has invented a private taxonomy to get their work done.",
  },
];

const MOMENTS = [
  {
    step: "MOMENT 01",
    line: "We show you what we see.",
    caption: "A full picture of your portal before a single thing is touched. You read the room before we enter it.",
  },
  {
    step: "MOMENT 02",
    line: "We propose. You approve.",
    caption: "Every action is drafted, scoped, and explained in language your team already uses. Nothing ships without your signature.",
  },
  {
    step: "MOMENT 03",
    line: "We do the work. You review the summary.",
    caption: "The agent executes inside the lanes you approved, then hands you a clean record of what changed and why.",
  },
];

const ARC = [
  {
    week: "WEEK 1",
    client: { beat: "You connect read-only access.", detail: "Five minutes. OAuth scopes you can audit inside HubSpot." },
    agent:  { beat: "I read your portal end to end.", detail: "Pipelines, properties, workflows, reports. No messages sent. No records touched." },
  },
  {
    week: "WEEK 2",
    client: { beat: "You receive your first pulse.", detail: "A short brief. Three findings that matter. Each one has a proposed fix." },
    agent:  { beat: "I show my work.", detail: "For every finding: what I saw, why it matters, what I would do about it, and what could go wrong." },
  },
  {
    week: "WEEK 3",
    client: { beat: "You approve a Clean Slate play.", detail: "Low-risk, high-signal. You read the dry-run. You sign." },
    agent:  { beat: "I run the play inside the lanes you drew.", detail: "I stop the moment I hit something you didn\u2019t authorize. You get a summary in the morning." },
  },
  {
    week: "WEEK 5",
    client: { beat: "You delegate the next one without reading it twice.", detail: "You\u2019ve seen how I work. You check the scope, not the line items." },
    agent:  { beat: "I remember the precedents you set.", detail: "If a decision you already made applies here, I note it and proceed the same way." },
  },
  {
    week: "WEEK 8",
    highlight: true,
    client: { beat: "You get a flag before anything fires.", detail: "The agent caught something outside its confidence threshold and stopped. You review it in the morning. Nothing changed without your input." },
    agent:  { beat: "I knew where my lane ended.", detail: "I flagged the edge case, documented what I saw, and waited. That\u2019s not a failure. That\u2019s the design working." },
  },
  {
    week: "WEEK 12",
    client: { beat: "You bring the pulse into your ops review.", detail: "It is how your team talks about portal health now. It is evidence, not vibes." },
    agent:  { beat: "I propose plays you wouldn\u2019t have thought to ask for.", detail: "Quietly. With the receipts. You decide what earns a run." },
  },
];

const PLAYS = [
  {
    idx: "PLAY 01",
    name: "The Clean Slate Play",
    outcome: "Retire the automations, properties, and reports nobody is using \u2014 with a paper trail your admin can defend in a meeting.",
    runtime: "Runs in ~48 hours",
    risk: "LOW RISK",
  },
  {
    idx: "PLAY 02",
    name: "The Pipeline Integrity Play",
    outcome: "Deal stages that mean the same thing across every team. Forecasts your CRO can put a number behind without a caveat.",
    runtime: "Runs over 1\u20132 weeks",
    risk: "SUPERVISED",
  },
  {
    idx: "PLAY 03",
    name: "The Lead Source Play",
    outcome: "One attribution taxonomy. Every lead, every channel, every campaign \u2014 stitched to a source you can actually measure against.",
    runtime: "Runs over 2\u20133 weeks",
    risk: "SUPERVISED",
  },
];

const SCOPES = [
  { scope: "crm.objects.contacts", perm: "READ" },
  { scope: "crm.objects.deals", perm: "READ" },
  { scope: "automation.workflows", perm: "READ" },
  { scope: "settings.users.teams", perm: "READ" },
  { scope: "files.ui_hidden", perm: "READ" },
];

const COMMITMENTS = [
  "We will never execute an action type you haven\u2019t approved before.",
  "Every action has an undo path \u2014 and we\u2019ll use it before you have to ask.",
  "If something goes wrong, you hear it from us, with the blast radius, first.",
];

Object.assign(window, { PROBLEMS, MOMENTS, ARC, PLAYS, SCOPES, COMMITMENTS });
