<?xml version="1.0" encoding="UTF-8"?>
<!--
  Bagazin sitemap.
  Only pages that render meaningful content WITHOUT JavaScript are listed with
  a high priority: the app itself is a client-rendered SPA, so the static
  /legal pages are what non-JS crawlers (and AI crawlers) can actually read.
-->
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
        xmlns:xhtml="http://www.w3.org/1999/xhtml">

  <url>
    <loc>https://bagazin.com/</loc>
    <changefreq>daily</changefreq>
    <priority>1.0</priority>
  </url>

  <url>
    <loc>https://bagazin.com/legal/contact.html</loc>
    <changefreq>monthly</changefreq>
    <priority>0.9</priority>
  </url>

  <url>
    <loc>https://bagazin.com/legal/refund-policy.html</loc>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>

  <url>
    <loc>https://bagazin.com/legal/terms.html</loc>
    <changefreq>monthly</changefreq>
    <priority>0.7</priority>
  </url>

  <url>
    <loc>https://bagazin.com/legal/privacy.html</loc>
    <changefreq>monthly</changefreq>
    <priority>0.7</priority>
  </url>

  <!-- Partner agreement, available in three languages. -->
  <url>
    <loc>https://bagazin.com/legal/partner-agreement.html</loc>
    <changefreq>monthly</changefreq>
    <priority>0.7</priority>
    <xhtml:link rel="alternate" hreflang="fr" href="https://bagazin.com/legal/partner-agreement.html"/>
    <xhtml:link rel="alternate" hreflang="en" href="https://bagazin.com/legal/partner-agreement.en.html"/>
    <xhtml:link rel="alternate" hreflang="ar" href="https://bagazin.com/legal/partner-agreement.ar.html"/>
  </url>
  <url>
    <loc>https://bagazin.com/legal/partner-agreement.en.html</loc>
    <changefreq>monthly</changefreq>
    <priority>0.6</priority>
  </url>
  <url>
    <loc>https://bagazin.com/legal/partner-agreement.ar.html</loc>
    <changefreq>monthly</changefreq>
    <priority>0.6</priority>
  </url>

  <!-- SPA routes. Google renders JavaScript (imperfectly); most AI crawlers do
       not, so these are listed at lower priority until they are prerendered. -->
  <url>
    <loc>https://bagazin.com/about</loc>
    <changefreq>monthly</changefreq>
    <priority>0.5</priority>
  </url>
  <url>
    <loc>https://bagazin.com/faq</loc>
    <changefreq>monthly</changefreq>
    <priority>0.5</priority>
  </url>
  <url>
    <loc>https://bagazin.com/partner/become-partner</loc>
    <changefreq>monthly</changefreq>
    <priority>0.5</priority>
  </url>

</urlset>
