// standard-content.jsx (v3) — data for "The Standard" (standard.html).
// Aligned with team brief v2: six dimensions × three levels, weight matrix,
// difficulty matrix, and design rationale from the brief.
// Dimension names match the rest of the site (home-content.jsx).

const STD = {
  // 1 — Hero
  hero: {
    eyebrow: "The Standard",
    headline: "The Atlas Competency Standard.",
    sub: "The published framework every Atlas exam is graded against — six AI competency dimensions, three levels, one absolute bar. Not coursework.",
    meta: ["Version 2.1", "Published in full", "Revised in the open"],
    version: "2.1",
    primary: { label: "Download the full framework (PDF)", href: "#use" },
    secondary: { label: "See how scoring works", href: "scoring.html" },
  },

  // 2 — What this standard is
  intro: {
    label: "What it is",
    heading: "One published bar — the same for everyone.",
    body: [
      "Every Atlas credential is earned by examination against this standard. The bar does not move between candidates, cohorts, or employers — it is one absolute yardstick, set in advance and applied to everyone.",
      "The exam is adaptive: questions adjust to your level in real time, across six AI competency dimensions, at three levels. A result is reported as a profile by dimension — never a single number.",
      "It is published in full and revised in the open. Where a black-box certification asks you to trust its brand, this standard asks only that you read it.",
    ],
  },

  // 3 — The six competency dimensions (names/tags match rest of site)
  dimensions: {
    label: "What's measured",
    heading: "Six AI competency dimensions.",
    intro: "Every exam assesses the same six dimensions of working competence with AI, and reports each one — so a result shows where you're strong, not just whether you passed.",
    items: [
      { n: "D1", name: "Prompting & iteration", tag: "Directing & refining models",
        desc: "Writing good instructions is the first thing a new AI user must learn. This dimension tests the ability to frame tasks, give effective instructions and context, and work iteratively with a model to reach a usable result." },
      { n: "D2", name: "Output evaluation", tag: "Assessing AI quality",
        desc: "If you use AI, you need to judge whether its output is trustworthy. This dimension tests the ability to spot hallucination, omission, and overconfidence — and to know when a result can be trusted." },
      { n: "D3", name: "Tool fluency & agility", tag: "Choosing & switching tools",
        desc: "Knowing what tools exist and what each is good at is an entry-level skill. This dimension tests the ability to choose, combine, and switch between AI tools under real constraints — not memorize product specs." },
      { n: "D4", name: "Workflow & task design", tag: "AI in real processes",
        desc: "Integrating AI into real processes — decomposing work, designing human-AI workflows, directing across steps, and owning the quality of the result. This is the applied practitioner's core skill." },
      { n: "D5", name: "Context & judgment", tag: "Knowing when to trust AI",
        desc: "Adapting output to a specific audience, industry, or scenario is a cross-cutting judgment skill. This dimension tests the ability to see whether AI output fits the context it's meant for." },
      { n: "D6", name: "Responsible AI & risk", tag: "Ethics, risk & accountability",
        desc: "Recognizing ethical, privacy, and safety risks, applying appropriate safeguards, and owning the outcome. At L3, this is the capstone — its hardest questions pull D1–D5 together into governance and responsible deployment." },
    ],
  },

  // 4 — Weight matrix (from brief Section 3)
  weights: {
    label: "Module weights",
    heading: "Weighted to the level you sit.",
    intro: "Every level is scored across all six dimensions — but each level weights them toward the abilities that matter most at that stage. These are design constraints, not arbitrary percentages.",
    matrix: [
      { d: "D1", name: "Prompting & iteration",  l1: "18–24%", l2: "11–16%", l3: "7–12%",  trend: "↓ Entry skill — decreases" },
      { d: "D2", name: "Output evaluation",       l1: "15–20%", l2: "15–20%", l3: "12–18%", trend: "— Stable across levels" },
      { d: "D3", name: "Tool fluency & agility",  l1: "16–22%", l2: "9–14%",  l3: "6–10%",  trend: "↓ Entry skill — decreases" },
      { d: "D4", name: "Workflow & task design",   l1: "10–15%", l2: "20–28%", l3: "18–26%", trend: "↑ Peaks at L2" },
      { d: "D5", name: "Context & judgment",       l1: "10–14%", l2: "11–16%", l3: "11–16%", trend: "— Stable across levels" },
      { d: "D6", name: "Responsible AI & risk",    l1: "12–18%", l2: "15–21%", l3: "26–34%", trend: "↑↑ Peaks sharply at L3" },
    ],
    keyline: "Low-level exams lean on entry skills (D1, D3). Mid-level on applied workflow (D4). High-level on governance and responsible deployment (D6). Evaluation (D2) and judgment (D5) run through all three.",
    note: "All percentages are proposed ranges. Being calibrated against pilot data.",
  },

  // 5 — Competency framework: per-level requirements (from brief Section 4)
  framework: {
    label: "The competency framework",
    heading: "What each level must prove, dimension by dimension.",
    intro: "Pick a level to see what it certifies across all six dimensions. Read down a level to understand the bar; compare levels to see how each dimension deepens.",
    defaultLevel: 1,
    dims: [
      "Prompting & iteration", "Output evaluation", "Tool fluency & agility",
      "Workflow & task design", "Context & judgment", "Responsible AI & risk",
    ],
    levels: [
      {
        label: "Level 1", title: "Foundational",
        for: "Anyone working alongside AI day to day.",
        reqs: [
          { text: "Writes clear, well-scoped instructions and obtains a usable result for an everyday task. Prompt writing is the entry gate — L1 weights it highest." },
          { text: "Recognizes when an output looks wrong — catches obvious hallucinations, fabricated references, and internal contradictions. Knows when human review is required." },
          { text: "Knows what major AI tools exist, what each is good at, and can pick the right one for a straightforward task." },
          { text: "Uses AI for a single, well-defined step inside a familiar workflow. Makes a sound judgment on whether AI or a human should handle this step." },
          { text: "Spots when an AI output doesn't fit the intended audience or context — even if the content is factually correct." },
          { text: "Knows the basic privacy and safety rules: what data can go to a public AI, when to anonymize, and common failure modes like injection and bias." },
        ],
      },
      {
        label: "Level 2", title: "Practitioner",
        for: "Professionals who use AI in their core work.",
        reqs: [
          { text: "Directs a model across multiple steps, refining instructions to control the output. Prompt skill is assumed — it's now embedded in workflow tasks, not tested alone." },
          { text: "Designs a verification strategy for high-stakes output. Isolates the claims that carry legal or financial risk and checks them at the source before delivery." },
          { text: "Combines multiple AI tools in a workflow, choosing each on capability, cost, and compliance constraints — not brand familiarity." },
          { text: "Designs real human-AI workflows end to end: task decomposition, handoff points, quality gates, and ownership of the result. This is L2's signature skill." },
          { text: "Actively rewrites AI output for a specific audience, industry, or regulatory context — doesn't just flag a mismatch." },
          { text: "Applies appropriate safeguards on real tasks: risk controls, disclosure obligations, human-in-the-loop gates. Records the basis for decisions." },
        ],
      },
      {
        label: "Level 3", title: "Advanced",
        for: "Those accountable for AI outcomes across a team.",
        reqs: [
          { text: "Defines reusable prompting patterns and guidance for a team or system. Prompt skill is a default — the exam tests whether you can scale it." },
          { text: "Establishes evaluation criteria and failure safeguards for how AI output is trusted at scale. Embeds quality gates into organizational process." },
          { text: "Makes tool selection and architecture decisions under cost, capability, and compliance constraints — advises a team, not just a task." },
          { text: "Architects AI-use strategy across teams and systems. Designs complex workflows with governance, audit trails, and cross-functional handoffs." },
          { text: "Navigates multi-stakeholder trade-offs where context, audience, and competing interests create real tension — not just a single audience." },
          { text: "Sets governance policy, compliance frameworks, and organization-wide accountability. D6 is L3's capstone: its hardest questions pull D1–D5 together into responsible deployment." },
        ],
      },
    ],
  },

  // 6 — Difficulty matrix (from brief Section 5)
  difficulty: {
    label: "Difficulty structure",
    heading: "Difficulty is a separate layer.",
    intro: "Difficulty controls the easy / medium / hard mix at each level — without changing what's measured. A harder level tests the same six abilities more deeply.",
    matrix: [
      { level: "Level 1", title: "Foundational", easy: "45–55%", medium: "40–50%", hard: "0–10%", char: "Mostly easy; not overwhelmed by hard items" },
      { level: "Level 2", title: "Practitioner", easy: "10–20%", medium: "55–65%", hard: "20–30%", char: "Mostly medium real-world scenarios" },
      { level: "Level 3", title: "Advanced",     easy: "0–5%",   medium: "35–45%", hard: "50–60%", char: "Mostly hard — integrative & open-ended" },
    ],
    note: 'Proposed ranges, being calibrated against pilot data. "Hard" at L3 means more integrative and open-ended, not more obscure.',
    misreadings: [
      { title: "\u201CHard\u201D doesn\u2019t mean \u201Cgovernance.\u201D", text: "Any dimension can carry hard questions. A hard prompting item is just a complex scenario — not an ethics question." },
      { title: "Level 3 is not all governance.", text: "Responsible AI is the largest single weight at L3 (~30%), but 70% of the exam still spans D1–D5. D6 is L3's capstone — its hardest questions pull the other five abilities together." },
    ],
  },

  // 7 — How it's set & revised
  governance: {
    label: "How it's set & revised",
    statement: "Where a black-box certification asks for trust, this standard offers a record. Every line below is a verifiable fact, not a claim.",
    heading: "Set in the open, fixed in advance.",
    facts: [
      { k: "Set by an independent Standards board", v: "The framework is defined and maintained by a standing board, not by the exam vendor's commercial team.", link: { label: "Meet the Standards board", href: "standards-board.html" } },
      { k: "Published in full and revised in the open", v: "The complete framework is public. Proposed revisions are circulated and reasoned in the open before they take effect." },
      { k: "Every revision is versioned and dated", v: "Each change ships as a numbered version with a date and a summary, so any credential traces to the exact standard it was earned against." },
    ],
  },

  // 8 — Version history
  versions: {
    label: "Version history",
    heading: "A living standard, on the record.",
    intro: "The standard is versioned so a credential always traces to the exact bar it was earned against.",
    items: [
      { v: "2.1", date: "2026 · current", note: "Refined descriptors for Output Evaluation and Responsible AI & Risk; added module weight rationale and difficulty structure.", current: true },
      { v: "2.0", date: "2025", note: "Restructured the framework to six AI competency dimensions across three levels, scored and reported by dimension." },
      { v: "1.0", date: "2024", note: "Initial published standard." },
    ],
    changelog: { label: "Read the full changelog", href: "#" },
  },

  // 9 — Use the standard
  use: {
    label: "Use the standard",
    heading: "Read it, cite it, map it to your roles.",
    cards: [
      { icon: "download", title: "Download the full framework", text: "The complete Atlas Competency Standard v2.1 — all six dimensions across three levels — as a single PDF.", cta: { label: "Download PDF", href: "#" }, primary: true },
      { icon: "quote", title: "Cite this standard", text: "Reference a specific version in research, policy, or job specifications.", citation: "Atlas AI Academy. (2026). Atlas Competency Standard (Version 2.1). atlas.org/standard" },
      { icon: "panel", title: "For educators & organizations", text: "Map the six dimensions to your own roles, curricula, or hiring rubrics.", cta: { label: "For organizations", href: "employers.html" } },
    ],
  },

  // 10 — Closing CTA
  closing: {
    heading: "Ready to be measured against it?",
    sub: "The standard is the bar. The exam is how you meet it — adaptive, scored by dimension, and verifiable by anyone.",
    primary: { label: "Get certified", href: "https://app.atlas-ai.academy/register" },
    secondary: { label: "How scoring works", href: "scoring.html" },
  },
};
window.STD = STD;
