// ============================================================
// autoclient.io: VERIFIED BENCHMARK RESEARCH DATA (Charts 01–12)
// Primary-source datasets for Paid Search, Meta Ads, Local SEO & AI Search.
// Every metric is taken verbatim from its published primary report.
// WordStream/LocaliQ "averages" are medians — CPL is always stored & plotted
// directly, never computed from CPC / CVR.
// ============================================================
(() => {
  const RESEARCH_SOURCES = {
    wordstream_search_2026: {
      publisher: "WordStream by LocaliQ",
      title: "Google Ads Benchmarks 2026: Competitive Data & Insights for Every Industry",
      date: "May 2026 (updated Sep 16, 2026)",
      url: "https://www.wordstream.com/blog/2026-google-ads-benchmarks",
      sample: "13,474 US Google & Microsoft Search campaigns (Apr 2025 – Mar 2026), 23 industries",
      note: "Reported averages are medians in USD; published CPL is plotted directly (median of ratios ≠ ratio of medians)."
    },
    wordstream_search_2025: {
      publisher: "WordStream by LocaliQ",
      title: "Google Ads Benchmarks 2025: Competitive Data & Insights for Every Industry",
      date: "May 2025",
      url: "https://www.wordstream.com/blog/2025-google-ads-benchmarks",
      sample: "16,000+ US Google & Microsoft Search campaigns (Apr 2024 – Mar 2025), 23 industries",
      note: "Reported averages are medians in USD."
    },
    wordstream_ppc_hub: {
      publisher: "WordStream by LocaliQ",
      title: "Digital Benchmarks by Industry: PPC (Multi-Year Series, 2021–2026)",
      date: "2026",
      url: "https://www.wordstream.com/ppc-benchmarks",
      sample: "13,474–18,316 US/North American Search campaigns per annual wave (2021, 2023–2026)",
      note: "WordStream's multi-year hub omits an overall median summary for May 2022; only the 5 directly comparable annual points (2021, 2023–2026) are plotted."
    },
    wordstream_meta_2026: {
      publisher: "WordStream by LocaliQ",
      title: "Facebook Ads Benchmarks 2026: NEW Data, Trends, & Insights for Your Industry",
      date: "September 15, 2026",
      url: "https://www.wordstream.com/blog/facebook-ads-benchmarks-2026",
      sample: "1,377 US Traffic campaigns (22 industries) + 452 US Leads campaigns (14 industries), Apr 2025 – Jun 2026",
      note: "Reported averages are medians in USD. Only 14 of 23 industries met the ≥4 active Leads campaign threshold; 13 industries overlap both objectives."
    },
    brightlocal_lcrs_2026: {
      publisher: "BrightLocal",
      title: "Local Consumer Review Survey 2026 & AI Trust Supplement (2025 vs. 2026)",
      date: "February 11, 2026 (AI supplement March 10, 2026)",
      url: "https://www.brightlocal.com/research/local-consumer-review-survey/",
      sample: "n = 1,002 US adult consumers (2026) vs. n = 1,026 (2025), multi-select platform usage",
      note: "ChatGPT (31%) and Google AI Mode (23%) were fielded individually for the first time in 2026 (no 2025 baseline). Only the 10 platforms with verified exact percentages are plotted."
    },
    whitespark_lsrf_2026: {
      publisher: "Whitespark",
      title: "Whitespark's Official 2026 Local Search Ranking Factors Report",
      date: "November 6, 2025",
      url: "https://whitespark.ca/local-search-ranking-factors/",
      sample: "47 local SEO experts scoring 187 individual factors across 8 signal groups (100% weighting per surface)",
      note: "Weights represent structured expert consensus estimates, not Google-published algorithmic formulas."
    },
    ahrefs_aio_2026: {
      publisher: "Ahrefs",
      title: "Update: AI Overviews Reduce Clicks by 58%",
      date: "February 4, 2026",
      url: "https://ahrefs.com/blog/ai-overviews-reduce-clicks-update/",
      sample: "300,000 keywords (150k with AI Overview vs. 150k informational non-AIO), Dec 2023 vs. Dec 2025 desktop GSC CTR",
      note: "Difference-in-differences CTR impact on desktop informational queries; prior April 2025 edition measured -34.5% at Position 1."
    },
    pew_ai_2025: {
      publisher: "Pew Research Center",
      title: "Google users are less likely to click on links when an AI summary appears in the results",
      date: "July 22, 2025",
      url: "https://www.pewresearch.org/short-reads/2025/07/22/google-users-are-less-likely-to-click-on-links-when-an-ai-summary-appears-in-the-results/",
      sample: "900 US adults (Ipsos KnowledgePanel Digital), 68,879 real Google searches in March 2025 (12,593 with AI summary)",
      note: "Cross-sectional March 2025 comparison of SERPs with vs. without an AI summary (not a year-over-year trend). Session exit = leaving browser ≥5 seconds."
    },
    seranking_ai_2026: {
      publisher: "SE Ranking",
      title: "Analysis of Top AI Search Engines: Who Is Catching Up to ChatGPT?",
      date: "June 18, 2026",
      url: "https://seranking.com/blog/ai-traffic-research-study/",
      sample: "101,574 Google Analytics websites across 250 countries/territories, Jan 2025 – Apr 2026 (2026 YTD vs. 2025)",
      note: "Measures outbound AI referral traffic to websites (top 5 = 99.70% of AI referrals; 0.30% other). Perplexity -6.1%* is derived from SE Ranking's published total-traffic shares (0.0245% → 0.0230%)."
    }
  };

  const RESEARCH_DATASETS = {
    search2026: [
      { id: "animals-pets", name: "Animals & Pets", shortName: "Animals & Pets", ctr25: 6.58, ctr26: 7.49, cpc25: 3.97, cpc26: 4.06, cvr25: 13.07, cvr26: 16.22, cpl25: 31.82, cpl26: 31.50, isLocalService: true },
      { id: "apparel", name: "Apparel / Fashion & Jewelry", shortName: "Apparel & Jewelry", ctr25: 6.77, ctr26: 6.64, cpc25: 4.31, cpc26: 4.44, cvr25: 3.99, cvr26: 4.50, cpl25: 101.49, cpl26: 97.51, isLocalService: false },
      { id: "arts-entertainment", name: "Arts & Entertainment", shortName: "Arts & Ent.", ctr25: 13.10, ctr26: 12.75, cpc25: 1.60, cpc26: 1.63, cvr25: 4.84, cvr26: 5.91, cpl25: 30.27, cpl26: 26.84, isLocalService: false },
      { id: "attorneys-legal", name: "Attorneys & Legal Services", shortName: "Attorneys & Legal", ctr25: 5.97, ctr26: 5.87, cpc25: 8.58, cpc26: 9.87, cvr25: 5.09, cvr26: 5.55, cpl25: 131.63, cpl26: 131.63, isLocalService: true },
      { id: "auto-for-sale", name: "Automotive — For Sale", shortName: "Auto — For Sale", ctr25: 8.29, ctr26: 8.28, cpc25: 2.41, cpc26: 2.27, cvr25: 7.76, cvr26: 6.01, cpl25: 38.86, cpl26: 44.26, isLocalService: false },
      { id: "auto-repair", name: "Automotive — Repair, Service & Parts", shortName: "Auto Repair", ctr25: 5.56, ctr26: 5.56, cpc25: 3.90, cpc26: 4.35, cvr25: 14.67, cvr26: 15.51, cpl25: 28.50, cpl26: 29.96, isLocalService: true },
      { id: "beauty-personal-care", name: "Beauty & Personal Care", shortName: "Beauty & Care", ctr25: 5.71, ctr26: 6.75, cpc25: 5.70, cpc26: 4.62, cvr25: 7.82, cvr26: 10.35, cpl25: 60.34, cpl26: 39.25, isLocalService: true },
      { id: "business-services", name: "Business Services", shortName: "Business Services", ctr25: 5.65, ctr26: 6.10, cpc25: 5.58, cpc26: 5.87, cvr25: 5.14, cvr26: 4.85, cpl25: 103.54, cpl26: 93.69, isLocalService: false },
      { id: "career-employment", name: "Career & Employment", shortName: "Career & Jobs", ctr25: 6.57, ctr26: 5.88, cpc25: 5.16, cpc26: 5.81, cvr25: 4.33, cvr26: 3.05, cpl25: 62.80, cpl26: 67.36, isLocalService: false },
      { id: "dentists", name: "Dentists & Dental Services", shortName: "Dentists", ctr25: 5.44, ctr26: 5.66, cpc25: 7.85, cpc26: 8.00, cvr25: 9.08, cvr26: 10.67, cpl25: 83.93, cpl26: 72.97, isLocalService: true },
      { id: "education", name: "Education & Instruction", shortName: "Education", ctr25: 5.74, ctr26: 7.56, cpc25: 6.23, cpc26: 4.81, cvr25: 11.38, cvr26: 13.14, cpl25: 90.02, cpl26: 77.48, isLocalService: false },
      { id: "finance-insurance", name: "Finance & Insurance", shortName: "Finance & Ins.", ctr25: 8.33, ctr26: 9.83, cpc25: 3.46, cpc26: 3.39, cvr25: 2.55, cvr26: 2.64, cpl25: 83.93, cpl26: 74.44, isLocalService: false },
      { id: "furniture", name: "Furniture", shortName: "Furniture", ctr25: 6.11, ctr26: 6.57, cpc25: 3.86, cpc26: 3.97, cvr25: 2.73, cvr26: 2.99, cpl25: 121.51, cpl26: 106.70, isLocalService: false },
      { id: "health-fitness", name: "Health & Fitness", shortName: "Health & Fitness", ctr25: 7.18, ctr26: 5.81, cpc25: 5.00, cpc26: 6.17, cvr25: 6.80, cvr26: 6.94, cpl25: 62.80, cpl26: 67.36, isLocalService: true },
      { id: "home-improvement", name: "Home & Home Improvement", shortName: "Home Services", ctr25: 6.37, ctr26: 6.47, cpc25: 7.85, cpc26: 8.33, cvr25: 7.33, cvr26: 8.05, cpl25: 90.92, cpl26: 90.92, isLocalService: true },
      { id: "industrial", name: "Industrial & Commercial", shortName: "Industrial", ctr25: 6.23, ctr26: 6.57, cpc25: 5.70, cpc26: 5.87, cvr25: 7.17, cvr26: 8.20, cpl25: 85.63, cpl26: 75.19, isLocalService: false },
      { id: "personal-services", name: "Personal Services", shortName: "Personal Services", ctr25: 7.69, ctr26: 7.16, cpc25: 5.81, cpc26: 7.17, cvr25: 9.74, cvr26: 12.34, cpl25: 53.52, cpl26: 54.60, isLocalService: true },
      { id: "physicians", name: "Physicians & Surgeons", shortName: "Physicians", ctr25: 6.73, ctr26: 6.61, cpc25: 5.00, cpc26: 4.76, cvr25: 11.62, cvr26: 12.43, cpl25: 56.83, cpl26: 40.04, isLocalService: true },
      { id: "real-estate", name: "Real Estate", shortName: "Real Estate", ctr25: 8.43, ctr26: 7.61, cpc25: 2.53, cpc26: 3.22, cvr25: 3.28, cvr26: 3.70, cpl25: 100.48, cpl26: 102.51, isLocalService: true },
      { id: "restaurants-food", name: "Restaurants & Food", shortName: "Restaurants", ctr25: 7.58, ctr26: 6.83, cpc25: 2.05, cpc26: 2.05, cvr25: 7.09, cvr26: 8.05, cpl25: 30.27, cpl26: 30.57, isLocalService: true },
      { id: "shopping-gifts", name: "Shopping, Collectibles & Gifts", shortName: "Shopping & Gifts", ctr25: 8.92, ctr26: 8.28, cpc25: 3.49, cpc26: 4.14, cvr25: 3.83, cvr26: 4.01, cpl25: 47.94, cpl26: 49.40, isLocalService: false },
      { id: "sports-recreation", name: "Sports & Recreation", shortName: "Sports & Rec", ctr25: 9.19, ctr26: 8.75, cpc25: 2.64, cpc26: 2.77, cvr25: 7.62, cvr26: 7.69, cpl25: 47.47, cpl26: 44.26, isLocalService: false },
      { id: "travel", name: "Travel", shortName: "Travel", ctr25: 8.73, ctr26: 9.32, cpc25: 2.12, cpc26: 2.14, cvr25: 5.75, cvr26: 5.83, cpl25: 73.70, cpl26: 44.70, isLocalService: false }
    ],

    search2026Overall: {
      ctr25: 6.66,
      ctr26: 6.64,
      cpc25: 5.26,
      cpc26: 5.42,
      cvr25: 7.52,
      cvr26: 8.18,
      cpl25: 70.11,
      cpl26: 66.69
    },

    searchHistory: [
      { year: 2021, ctr: 6.18, cpc: 3.53, cvr: 8.82, cpl: 41.40 },
      { year: 2023, ctr: 6.11, cpc: 4.22, cvr: 7.04, cpl: 53.52 },
      { year: 2024, ctr: 6.42, cpc: 4.66, cvr: 6.96, cpl: 66.69 },
      { year: 2025, ctr: 6.66, cpc: 5.26, cvr: 7.52, cpl: 70.11 },
      { year: 2026, ctr: 6.64, cpc: 5.42, cvr: 8.18, cpl: 66.69 }
    ],
    searchHistoryNote: "WordStream's multi-year PPC Benchmarks hub does not publish an overall median summary for May 2022 (its Nov 2022 update used a different cohort scale). Only the 5 directly comparable official annual waves (2021, 2023–2026) are plotted, with a dashed bridge across 2021–2023.",

    metaLeads2026: [
      { id: "dentists", name: "Dentists & Dental Services", shortName: "Dentists", ctr: 1.62, cpc: 5.70, cvr: 6.07, cpl: 61.56 },
      { id: "beauty-personal-care", name: "Beauty & Personal Care", shortName: "Beauty & Care", ctr: 1.35, cpc: 2.97, cvr: 5.63, cpl: 50.91 },
      { id: "home-improvement", name: "Home & Home Improvement", shortName: "Home Services", ctr: 2.14, cpc: 2.18, cvr: 5.32, cpl: 42.95 },
      { id: "furniture", name: "Furniture", shortName: "Furniture", ctr: 3.78, cpc: 2.18, cvr: 5.66, cpl: 39.25 },
      { id: "personal-services", name: "Personal Services", shortName: "Personal Services", ctr: 2.24, cpc: 1.62, cvr: 6.61, cpl: 38.09 },
      { id: "industrial", name: "Industrial & Commercial", shortName: "Industrial", ctr: 2.57, cpc: 1.55, cvr: 4.50, cpl: 35.87 },
      { id: "auto-for-sale", name: "Automotive — For Sale", shortName: "Auto — For Sale", ctr: 2.29, cpc: 2.01, cvr: 4.15, cpl: 35.52 },
      { id: "physicians", name: "Physicians & Surgeons", shortName: "Physicians", ctr: 4.18, cpc: 1.68, cvr: 6.41, cpl: 32.14 },
      { id: "health-fitness", name: "Health & Fitness", shortName: "Health & Fitness", ctr: 3.09, cpc: 1.84, cvr: 7.98, cpl: 27.11 },
      { id: "education", name: "Education & Instruction", shortName: "Education", ctr: 1.74, cpc: 1.72, cvr: 15.87, cpl: 26.31 },
      { id: "sports-recreation", name: "Sports & Recreation", shortName: "Sports & Rec", ctr: 3.16, cpc: 1.08, cvr: 6.75, cpl: 15.49 },
      { id: "arts-entertainment", name: "Arts & Entertainment", shortName: "Arts & Ent.", ctr: 3.34, cpc: 0.88, cvr: 15.31, cpl: 14.59 },
      { id: "real-estate", name: "Real Estate", shortName: "Real Estate", ctr: 4.17, cpc: 1.27, cvr: 9.95, cpl: 13.74 },
      { id: "career-employment", name: "Career & Employment", shortName: "Career & Jobs", ctr: 3.52, cpc: 0.73, cvr: 5.38, cpl: 12.30 }
    ],

    metaLeadsOverall: {
      ctr: 2.70,
      cpc: 1.80,
      cvr: 8.54,
      cpl: 27.39
    },

    metaTrafficVsLeads2026: [
      { id: "dentists", name: "Dentists & Dental Services", shortName: "Dentists", trafficCtr: 1.55, trafficCpc: 0.61, leadsCpc: 5.70, multiple: 9.34 },
      { id: "beauty-personal-care", name: "Beauty & Personal Care", shortName: "Beauty & Care", trafficCtr: 2.73, trafficCpc: 0.50, leadsCpc: 2.97, multiple: 5.94 },
      { id: "home-improvement", name: "Home & Home Improvement", shortName: "Home Services", trafficCtr: 1.76, trafficCpc: 0.63, leadsCpc: 2.18, multiple: 3.46 },
      { id: "furniture", name: "Furniture", shortName: "Furniture", trafficCtr: 1.90, trafficCpc: 0.64, leadsCpc: 2.18, multiple: 3.41 },
      { id: "health-fitness", name: "Health & Fitness", shortName: "Health & Fitness", trafficCtr: 1.86, trafficCpc: 0.64, leadsCpc: 1.84, multiple: 2.88 },
      { id: "auto-for-sale", name: "Automotive — For Sale", shortName: "Auto — For Sale", trafficCtr: 1.47, trafficCpc: 0.70, leadsCpc: 2.01, multiple: 2.87 },
      { id: "industrial", name: "Industrial & Commercial", shortName: "Industrial", trafficCtr: 2.06, trafficCpc: 0.54, leadsCpc: 1.55, multiple: 2.87 },
      { id: "physicians", name: "Physicians & Surgeons", shortName: "Physicians", trafficCtr: 1.90, trafficCpc: 0.61, leadsCpc: 1.68, multiple: 2.75 },
      { id: "arts-entertainment", name: "Arts & Entertainment", shortName: "Arts & Ent.", trafficCtr: 2.71, trafficCpc: 0.34, leadsCpc: 0.88, multiple: 2.59 },
      { id: "education", name: "Education & Instruction", shortName: "Education", trafficCtr: 1.50, trafficCpc: 0.70, leadsCpc: 1.72, multiple: 2.46 },
      { id: "personal-services", name: "Personal Services", shortName: "Personal Services", trafficCtr: 1.93, trafficCpc: 0.67, leadsCpc: 1.62, multiple: 2.42 },
      { id: "real-estate", name: "Real Estate", shortName: "Real Estate", trafficCtr: 2.37, trafficCpc: 0.55, leadsCpc: 1.27, multiple: 2.31 },
      { id: "sports-recreation", name: "Sports & Recreation", shortName: "Sports & Rec", trafficCtr: 1.77, trafficCpc: 0.59, leadsCpc: 1.08, multiple: 1.83 }
    ],

    metaTrafficOverall: {
      trafficCtr: 1.93,
      trafficCpc: 0.60,
      leadsCpc: 1.80,
      multiple: 3.00
    },

    reviewSources2026: [
      { id: "google", name: "Google", y2025: 83, y2026: 71, debut: false },
      { id: "facebook", name: "Facebook", y2025: 40, y2026: 49, debut: false },
      { id: "yelp", name: "Yelp", y2025: 44, y2026: 44, debut: false },
      { id: "youtube", name: "YouTube", y2025: 34, y2026: 43, debut: false },
      { id: "instagram", name: "Instagram", y2025: 31, y2026: 37, debut: false },
      { id: "chatgpt", name: "ChatGPT", y2025: null, y2026: 31, debut: true },
      { id: "local-news", name: "Local news sites", y2025: 48, y2026: 29, debut: false },
      { id: "tiktok", name: "TikTok", y2025: 20, y2026: 29, debut: false },
      { id: "apple-maps", name: "Apple Maps", y2025: 14, y2026: 27, debut: false },
      { id: "google-ai-mode", name: "Google AI Mode", y2025: null, y2026: 23, debut: true }
    ],

    rankingFactors2026: [
      { id: "gbp", name: "Google Business Profile", maps: 32, ai: 12, organic: 7 },
      { id: "reviews", name: "Reviews", maps: 20, ai: 16, organic: 6 },
      { id: "on-page", name: "On-Page Signals", maps: 15, ai: 24, organic: 33 },
      { id: "behavioral", name: "Behavioral Signals", maps: 9, ai: 4, organic: 10 },
      { id: "links", name: "Link Signals", maps: 8, ai: 13, organic: 24 },
      { id: "citations", name: "Citation Signals", maps: 6, ai: 13, organic: 7 },
      { id: "personalization", name: "Personalization", maps: 6, ai: 9, organic: 8 },
      { id: "social", name: "Social Signals", maps: 4, ai: 9, organic: 5 }
    ],

    aiOverviewsCtr2026: [
      { rank: 1, dropPct: -58.0 },
      { rank: 2, dropPct: -50.8 },
      { rank: 3, dropPct: -46.4 },
      { rank: 4, dropPct: -38.8 },
      { rank: 5, dropPct: -32.6 },
      { rank: 6, dropPct: -30.5 },
      { rank: 7, dropPct: -29.7 },
      { rank: 8, dropPct: -28.8 },
      { rank: 9, dropPct: -29.7 },
      { rank: 10, dropPct: -19.4 }
    ],
    priorEditionNote: "In Ahrefs' April 2025 edition (Mar 2024 vs. Mar 2025), Position 1 CTR drop was -34.5%. By the February 2026 update (Dec 2023 vs. Dec 2025), the Position 1 shortfall deepened to -58.0%.",

    pewAiBehavior2025: {
      withAi: { resultClick: 8, aiLinkClick: 1, sessionExit: 26 },
      withoutAi: { resultClick: 15, aiLinkClick: 0, sessionExit: 16 }
    },

    aiReferrals2026: [
      { id: "chatgpt", name: "ChatGPT", sharePct: 74.78, yoyPct: 27, yoyLabel: "+27%", derived: false },
      { id: "gemini", name: "Gemini", sharePct: 11.56, yoyPct: 231, yoyLabel: "+231%", derived: false },
      { id: "perplexity", name: "Perplexity", sharePct: 7.23, yoyPct: -6.1, yoyLabel: "-6.1%*", derived: true },
      { id: "copilot", name: "Microsoft Copilot", sharePct: 3.51, yoyPct: 31, yoyLabel: "+31%", derived: false },
      { id: "claude", name: "Claude", sharePct: 2.62, yoyPct: 320, yoyLabel: "+320%", derived: false }
    ]
  };

  const RESEARCH_CHARTS = {
    chart01: {
      id: "chart01",
      kicker: "PAID SEARCH · CPC VS. CONVERSION RATE (2026)",
      headlineParts: [
        { text: "Cheap clicks can still make " },
        { text: "expensive leads", accent: "coral" }
      ],
      subtitle: "Real Estate ($3.22 CPC) and Furniture ($3.97 CPC) carry $100+ leads because conversion rates sit below 4%, while Dentists pay $8.00 per click yet land $72.97 leads at 10.67% CVR.",
      sourceKey: "wordstream_search_2026",
      sourceFootnote: "WordStream by LocaliQ Google Ads Benchmarks 2026 (13,474 US campaigns, 23 industries).",
      methodologyNote: "Bubble area scales with published median CPL (USD); dashed lines mark all-industry medians ($5.42 CPC, 8.18% CVR)."
    },
    chart02: {
      id: "chart02",
      kicker: "PAID SEARCH · YOY CPC VS. CPL CHANGE (2025 → 2026)",
      headlineParts: [
        { text: "Clicks got pricier in " },
        { text: "17 of 23", accent: "coral" },
        { text: " industries. Leads got cheaper in " },
        { text: "13.", accent: "purple" }
      ],
      subtitle: "Stronger conversion rates absorbed click inflation across more than half the market, producing the first overall median CPL decline in five years ($70.11 → $66.69).",
      sourceKey: "wordstream_search_2026",
      sourceFootnote: "WordStream by LocaliQ Search Ads Benchmarks 2025 vs. 2026 (23 industries).",
      methodologyNote: "17 industries saw higher CPC (5 lower, 1 flat); 13 saw lower CPL (8 higher, 2 flat: Legal & Home Services)."
    },
    chart03: {
      id: "chart03",
      kicker: "LOCAL SERVICES · SEARCH CONVERSION RATE (2025 → 2026)",
      headlineParts: [
        { text: "All " },
        { text: "11 local service industries", accent: "purple" },
        { text: " converted better in 2026" }
      ],
      subtitle: "Every local consumer service vertical gained conversion efficiency YoY, led by Animals & Pets (+3.15 pp), Personal Services (+2.60 pp), and Beauty & Personal Care (+2.53 pp).",
      sourceKey: "wordstream_search_2026",
      sourceFootnote: "WordStream by LocaliQ Search Ads Benchmarks 2025 vs. 2026 (11 local service categories).",
      methodologyNote: "11 local consumer service categories from WordStream's 23-industry dataset; dashed line shows 2026 all-industry median CVR (8.18%)."
    },
    chart04: {
      id: "chart04",
      kicker: "PAID SEARCH · FIVE-YEAR COST TRAJECTORY (2021–2026)",
      headlineParts: [
        { text: "Clicks cost " },
        { text: "54% more", accent: "coral" },
        { text: " than in 2021. Leads cost " },
        { text: "61% more.", accent: "purple" }
      ],
      subtitle: "Median CPC climbed from $3.53 to $5.42 (+53.5%) while median CPL rose from $41.40 to $66.69 (+61.1%), easing slightly off its $70.11 peak in 2025.",
      sourceKey: "wordstream_ppc_hub",
      sourceFootnote: "WordStream by LocaliQ PPC Benchmarks Multi-Year Hub (2021, 2023–2026 annual medians).",
      methodologyNote: "2022 overall median is omitted from WordStream's comparable series (bridged by dashed line)."
    },
    chart05: {
      id: "chart05",
      kicker: "META LEAD ADS · CTR VS. CONVERSION RATE (2026)",
      headlineParts: [
        { text: "On Meta lead ads, " },
        { text: "low click-through", accent: "coral" },
        { text: " is the expensive problem" }
      ],
      subtitle: "Across all 14 published Meta Leads verticals, CTR correlates more strongly with CPL (r = -0.66) than CVR (r = -0.45). The two priciest verticals have the two lowest CTRs.",
      sourceKey: "wordstream_meta_2026",
      sourceFootnote: "WordStream by LocaliQ Facebook Ads Benchmarks 2026 (452 US Leads campaigns, 14 industries).",
      methodologyNote: "Bubble area scales with published median CPL (USD); overall Leads medians are 2.70% CTR, 8.54% CVR, and $27.39 CPL."
    },
    chart06: {
      id: "chart06",
      kicker: "META ADS · TRAFFIC VS. LEADS CLICK COST (2026)",
      headlineParts: [
        { text: "A Meta lead-campaign click costs " },
        { text: "3×", accent: "purple" },
        { text: " a traffic click. Dentists pay " },
        { text: "9.3×.", accent: "coral" }
      ],
      subtitle: "Optimizing for Leads ($1.80 median CPC) commands a 3.00× auction premium over Traffic ($0.60)—peaking at $5.70 vs. $0.61 (9.34×) in dental.",
      sourceKey: "wordstream_meta_2026",
      sourceFootnote: "WordStream by LocaliQ Facebook Ads Benchmarks 2026 (1,377 Traffic & 452 Leads campaigns).",
      methodologyNote: "Shows all 13 industries appearing in both 2026 Traffic and Leads tables, sorted by Leads ÷ Traffic CPC multiple."
    },
    chart07: {
      id: "chart07",
      kicker: "LOCAL DISCOVERY · CONSUMER REVIEW SOURCES (2025 VS. 2026)",
      headlineParts: [
        { text: "Google fell from " },
        { text: "83% to 71%.", accent: "coral" },
        { text: " ChatGPT debuted at " },
        { text: "31%.", accent: "purple" }
      ],
      subtitle: "Google still leads local business research, but consumers now split attention across Facebook (49%), YouTube (43%), Apple Maps (27%), and AI assistants.",
      sourceKey: "brightlocal_lcrs_2026",
      sourceFootnote: "BrightLocal Local Consumer Review Survey 2025 (n=1,026) & 2026 (n=1,002), Feb 2026.",
      methodologyNote: "ChatGPT (31%) and Google AI Mode (23%) were fielded individually for the first time in 2026 (no 2025 baseline)."
    },
    chart08: {
      id: "chart08",
      kicker: "LOCAL & AI SEARCH · RANKING SIGNAL WEIGHTS (2026)",
      headlineParts: [
        { text: "Experts give your Google Business Profile " },
        { text: "32%", accent: "coral" },
        { text: " of Maps rankings, but " },
        { text: "12%", accent: "purple" },
        { text: " of AI visibility" }
      ],
      subtitle: "Winning AI search shifts weight away from GBP (-20 pp) toward On-Page authority (+9 pp), Citations (+7 pp), Links (+5 pp), and Social (+5 pp).",
      sourceKey: "whitespark_lsrf_2026",
      sourceFootnote: "Whitespark Official 2026 Local Search Ranking Factors (47 experts, Nov 2025).",
      methodologyNote: "Structured expert consensus weights summing to 100% per surface; toggle Local Organic to compare all three surfaces."
    },
    chart09: {
      id: "chart09",
      kicker: "ORGANIC SEARCH · AI OVERVIEWS CTR IMPACT BY RANK (FEB 2026)",
      headlineParts: [
        { text: "When an AI Overview shows up, the #1 result gets " },
        { text: "58% fewer clicks", accent: "coral" }
      ],
      subtitle: "Desktop CTR loss is sharpest at positions #1–#3 (-58.0% to -46.4%) and persists across the entire first page—deepening from -34.5% in Ahrefs' April 2025 study.",
      sourceKey: "ahrefs_aio_2026",
      sourceFootnote: "Ahrefs AI Overviews CTR Update (300,000 keywords, Dec 2023 vs. Dec 2025 desktop GSC, Feb 2026).",
      methodologyNote: "Exact published desktop GSC CTR shortfalls by organic rank (#8 -28.8%, #9 -29.7%); dashed line shows Apr 2025 #1 baseline (-34.5%)."
    },
    chart10: {
      id: "chart10",
      kicker: "SERP BEHAVIOR · REAL USER CLICKS VS. SESSION EXITS",
      headlineParts: [
        { text: "With an AI summary on the page, clicks to results " },
        { text: "nearly halve", accent: "coral" }
      ],
      subtitle: "Across 68,879 real US Google searches in March 2025, traditional link clicks dropped from 15% to 8% (-47% relative), AI citations earned 1%, and session exits jumped from 16% to 26%.",
      sourceKey: "pew_ai_2025",
      sourceFootnote: "Pew Research Center (900 US adults, 68,879 Google searches in March 2025; pub. Jul 2025).",
      methodologyNote: "Cross-sectional March 2025 comparison of searches with vs. without an AI summary (not a year-over-year series)."
    },
    chart11: {
      id: "chart11",
      kicker: "AI REFERRAL TRAFFIC · GLOBAL SHARE VS. YOY GROWTH (2026)",
      headlineParts: [
        { text: "ChatGPT still sends " },
        { text: "74.78%", accent: "purple" },
        { text: " of AI referrals. " },
        { text: "Gemini and Claude", accent: "coral" },
        { text: " are growing fastest." }
      ],
      subtitle: "Across 101,574 GA4-connected sites, top 5 AI engines drive 99.70% of AI referrals—while Claude (+320%) and Gemini (+231%) post triple-digit YoY growth.",
      sourceKey: "seranking_ai_2026",
      sourceFootnote: "SE Ranking AI Traffic Research Study (101,574 websites, Jan 2025–Apr 2026; pub. Jun 18, 2026).",
      methodologyNote: "*Perplexity -6.1% is derived from SE Ranking's published total-traffic shares (0.0245% → 0.0230%; described as a slight decline)."
    },
    chart12: {
      id: "chart12",
      kicker: "PAID SEARCH · CTR VS. CONVERSION RATE QUADRANT (2026)",
      headlineParts: [
        { text: "Auto repair: " },
        { text: "lowest click-through rate,", accent: "coral" },
        { text: " second-best " },
        { text: "conversion rate", accent: "purple" }
      ],
      subtitle: "High CTR doesn't guarantee leads: Automotive Repair posts the #1 lowest CTR (5.56%) yet #2 highest CVR (15.51%), turning fewer clicks into $29.96 leads.",
      sourceKey: "wordstream_search_2026",
      sourceFootnote: "WordStream by LocaliQ Google Ads Benchmarks 2026 (13,474 US campaigns, 23 industries).",
      methodologyNote: "Crosshairs mark 2026 all-industry medians (6.64% CTR, 8.18% CVR); only Animals & Pets (16.22%) exceeds Auto Repair's CVR."
    }
  };

  Object.assign(window, { RESEARCH_SOURCES, RESEARCH_DATASETS, RESEARCH_CHARTS });
})();
