<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
        xmlns:image="http://www.google.com/schemas/sitemap-image/1.1">

  <!-- Homepage (highest priority) -->
  <url>
    <loc>https://fractal.kiwi/</loc>
    <lastmod>2026-04-16</lastmod>
    <changefreq>weekly</changefreq>
    <priority>1.0</priority>
    <image:image>
      <image:loc>https://fractal.kiwi/media/og-image.png</image:loc>
      <image:title>Fractal - Creative Collaboration Reimagined</image:title>
    </image:image>
  </url>

  <!-- Core Marketing Pages -->
  <url>
    <loc>https://fractal.kiwi/pricing</loc>
    <lastmod>2026-04-16</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.9</priority>
  </url>

  <url>
    <loc>https://fractal.kiwi/usecase</loc>
    <lastmod>2026-04-16</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>

  <url>
    <loc>https://fractal.kiwi/kiwi</loc>
    <lastmod>2026-04-16</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.7</priority>
  </url>

  <url>
    <loc>https://fractal.kiwi/our-story</loc>
    <lastmod>2026-04-16</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.6</priority>
  </url>

  <!-- Blog Section (High SEO Value) -->
  <url>
    <loc>https://fractal.kiwi/blog</loc>
    <lastmod>2026-04-16</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.9</priority>
  </url>

  <!-- Blog Posts - Comparison Articles (High SEO Value) -->
  <url>
    <loc>https://fractal.kiwi/blog/fractal-vs-frame-io</loc>
    <lastmod>2026-04-15</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.9</priority>
  </url>

  <url>
    <loc>https://fractal.kiwi/blog/fractal-vs-dropbox-replay</loc>
    <lastmod>2026-04-08</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.9</priority>
  </url>

  <url>
    <loc>https://fractal.kiwi/blog/best-video-collaboration-tools-2026</loc>
    <lastmod>2026-04-15</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.9</priority>
  </url>

  <!-- Blog Posts - Workflow & Industry -->
  <url>
    <loc>https://fractal.kiwi/blog/video-review-workflow-tips</loc>
    <lastmod>2026-04-01</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.7</priority>
  </url>

  <!-- Alternative Pages (Unlisted but crawlable) -->
  <url>
    <loc>https://fractal.kiwi/alternatives/frame-io</loc>
    <lastmod>2026-04-17</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>

  <url>
    <loc>https://fractal.kiwi/blog/ai-video-search-creative-teams</loc>
    <lastmod>2026-03-25</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.7</priority>
  </url>

  <!-- Auth/Signup Pages (lower priority but still indexed) -->
  <url>
    <loc>https://fractal.kiwi/signin</loc>
    <lastmod>2026-04-16</lastmod>
    <changefreq>yearly</changefreq>
    <priority>0.5</priority>
  </url>

  <url>
    <loc>https://fractal.kiwi/waitlist</loc>
    <lastmod>2026-04-16</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.5</priority>
  </url>

  <url>
    <loc>https://fractal.kiwi/signuprequired</loc>
    <lastmod>2026-04-16</lastmod>
    <changefreq>yearly</changefreq>
    <priority>0.4</priority>
  </url>

  <!-- Public Library -->
  <url>
    <loc>https://fractal.kiwi/library</loc>
    <lastmod>2026-04-16</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.6</priority>
  </url>

  <!--
    NOTE: Dynamic pages like /viewVideo/:id, /viewFractal/:id, /viewAsset/:id
    should be generated dynamically via a Cloud Function that queries Firestore
    for all public assets and generates sitemap entries.

    For now, this static sitemap covers the main marketing pages.

    TODO: Create a Cloud Function at /api/sitemap.xml that:
    1. Queries Firestore for all assets where isPublicAsset === true
    2. Generates sitemap entries for each public video/asset
    3. Returns dynamically generated XML
  -->

</urlset>
