<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <!-- Public marketing/landing page — the core SEO target -->
  <url>
    <loc>https://corememories.app/</loc>
    <changefreq>weekly</changefreq>
    <priority>1.0</priority>
  </url>

  <!-- Permanent landing page URL (always accessible, even for signed-in/guest users) -->
  <url>
    <loc>https://corememories.app/welcome</loc>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>

  <!-- Legal pages — publicly accessible, linked from all emails -->
  <url>
    <loc>https://corememories.app/privacy</loc>
    <changefreq>monthly</changefreq>
    <priority>0.3</priority>
  </url>
  <url>
    <loc>https://corememories.app/terms</loc>
    <changefreq>monthly</changefreq>
    <priority>0.3</priority>
  </url>
  <url>
    <loc>https://corememories.app/support</loc>
    <changefreq>monthly</changefreq>
    <priority>0.4</priority>
  </url>

  <!-- Auth page — sign in / sign up -->
  <url>
    <loc>https://corememories.app/auth</loc>
    <changefreq>monthly</changefreq>
    <priority>0.5</priority>
  </url>

  <!--
    EXCLUDED from sitemap (intentionally):
    - /shared/:token — private user-generated share links
    - /accept-invite — private family plan invitation links
    - /accept-collection-invite — private collection share links
    - /auth/callback — OAuth redirect handler (not a page)
    - /marketplace/* — authenticated-only marketplace features
    - /app/* — deep link fallback routes
  -->
</urlset>
