<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">

  <!-- A sitemap INDEX, not a list of URLs. robots.txt points here, and this points onward.

       sitemap-pages.xml   hand-maintained  — the homepage and the legal pages
       sitemap-help.xml    GENERATED        — 322 help URLs (45 articles × 7 locales + 7 hubs),
                                              written by scripts/build-help-pages.mjs during the
                                              build and deliberately not committed

       Why the split: the help URLs are machine-generated, so keeping them in this file would mean
       1,300 generated lines living in git and showing as modified after every local build. An index
       is the standard way to combine a hand-kept list with a generated one, and search engines
       follow it in one extra hop.

       THE TRAILING SLASH MATTERS on every /help/ URL. Measured against production 2026-09-23:
         /help             → 308 → /help/
         /help/            → 200, no redirect        ← the canonical form
       Cloudflare Pages normalises every directory index the same way, so a sitemap entry without
       the slash would cost a redirect hop on every crawl.

       hreflang is not declared in either sitemap. Each help page carries its own reciprocal set of
       <link rel="alternate"> tags, which is the form Google reads first and the only one an AI
       crawler fetching a single page ever sees. -->

  <sitemap>
    <loc>https://www.learningclarity.ai/sitemap-pages.xml</loc>
  </sitemap>
  <sitemap>
    <loc>https://www.learningclarity.ai/sitemap-help.xml</loc>
  </sitemap>

</sitemapindex>
