<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    
    <!-- Primary Meta Tags -->
    <title>The Phoenix Community for ApoE4 carriers - Defy the odds, Outsmart Alzheimer's</title>
    <meta name="title" content="The Phoenix Community for ApoE4 carriers - Defy the odds, Outsmart Alzheimer's" />
    <meta name="description" content="Join 950+ APOE4 carriers optimizing brain health with science-backed protocols. Expert-designed APOE4 lifestyle programs, personalized tracking, and supportive community. Start your cognitive wellness journey today." />
    <meta name="keywords" content="APOE4, APOE4 carrier, APOE4 gene, brain health, cognitive health, APOE4 lifestyle, APOE4 diet, APOE4 exercise, brain optimization, cognitive wellness, APOE4 community, brain longevity, APOE4 research, cognitive performance, neuroprotective, APOE4 protocol, brain health tracking, APOE4 support group" />
    <meta name="author" content="Dr. Kevin Tran" />
    <link rel="canonical" href="https://thephoenix.community/" />
    
    <!-- Open Graph / Facebook -->
    <meta property="og:type" content="website" />
    <meta property="og:url" content="https://thephoenix.community/" />
    <meta property="og:title" content="The Phoenix Community for ApoE4 carriers - Defy the odds, Outsmart Alzheimer's" />
    <meta property="og:description" content="Join 950+ APOE4 carriers optimizing brain health with science-backed protocols. Expert-designed APOE4 lifestyle programs, personalized tracking, and supportive community. Start your cognitive wellness journey today." />
    <meta property="og:image" content="https://thephoenix.community/assets/1200-630%20logo.webp" />
    <meta property="og:image:alt" content="The Phoenix Community for ApoE4 carriers - Defy the odds, Outsmart Alzheimer's" />
    <meta property="og:image:width" content="1200" />
    <meta property="og:image:height" content="630" />
    <meta property="og:site_name" content="The Phoenix Community" />
    <meta property="og:locale" content="en_US" />
    
    <!-- Twitter -->
    <meta property="twitter:card" content="summary_large_image" />
    <meta property="twitter:url" content="https://thephoenix.community/" />
    <meta property="twitter:title" content="The Phoenix Community for ApoE4 carriers - Defy the odds, Outsmart Alzheimer's" />
    <meta property="twitter:description" content="Join 950+ APOE4 carriers optimizing brain health with science-backed protocols. Expert-designed APOE4 lifestyle programs, personalized tracking, and supportive community. Start your cognitive wellness journey today." />
    <meta property="twitter:image" content="https://thephoenix.community/assets/1200-630%20logo.webp" />
    <meta property="twitter:image:alt" content="The Phoenix Community for ApoE4 carriers - Defy the odds, Outsmart Alzheimer's" />
    
    <!-- Favicon and Icons -->
    <link rel="icon" type="image/webp" href="/assets/Final transparent.webp" />
    <link rel="apple-touch-icon" href="/assets/Final transparent.webp" />
    
    <!-- Fonts - Optimized Loading with font-display swap -->
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link rel="preload" href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Montserrat:wght@400;500;600;700;800&display=swap" as="style" onload="this.onload=null;this.rel='stylesheet'">
    <noscript><link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Montserrat:wght@400;500;600;700;800&display=swap" rel="stylesheet"></noscript>
    
    <!-- Preload Critical Resources -->
    <link rel="preload" href="/assets/Final transparent-40w.webp" as="image" type="image/webp">
    
    <!-- Web App Manifest -->
    <link rel="manifest" href="/manifest.json" />
    
    <!-- Additional SEO -->
    <meta name="robots" content="index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1" />
    <meta name="googlebot" content="index, follow" />
    <meta name="bingbot" content="index, follow" />
    <meta name="language" content="English" />
    <meta name="revisit-after" content="7 days" />
    <meta name="theme-color" content="#FD6218" />
    <meta name="msapplication-TileColor" content="#FD6218" />
    
    <!-- Performance and Security -->
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta http-equiv="X-Content-Type-Options" content="nosniff" />
    <meta http-equiv="X-XSS-Protection" content="1; mode=block" />
    <meta http-equiv="Referrer-Policy" content="strict-origin-when-cross-origin" />
    <meta http-equiv="Permissions-Policy" content="camera=(), microphone=(), geolocation=()" />
    <meta name="format-detection" content="telephone=no" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="default" />
    <meta name="apple-mobile-web-app-title" content="Phoenix Community" />
    <meta name="mobile-web-app-capable" content="yes" />
    
    <!-- DNS Prefetch for Performance -->
    <link rel="dns-prefetch" href="https://fonts.googleapis.com" />
    <link rel="dns-prefetch" href="https://fonts.gstatic.com" />
    <link rel="dns-prefetch" href="https://production.beehiiv.com" />
    <link rel="dns-prefetch" href="https://www.googletagmanager.com" />
    <link rel="dns-prefetch" href="https://qguarxbgudphsqzkvshm.supabase.co" />
    <link rel="dns-prefetch" href="https://thephoenixcommunity.typeform.com" />
    
    <!-- Additional Resource Hints -->
    <link rel="preconnect" href="https://production.beehiiv.com">
    <link rel="preconnect" href="https://www.googletagmanager.com">
    <link rel="preconnect" href="https://qguarxbgudphsqzkvshm.supabase.co" crossorigin>
    <link rel="prefetch" href="https://production.beehiiv.com/js/embed.js">
    
    <!-- Google Tag Manager - Deferred Loading -->
    <script>
    window.addEventListener('load', function() {
      setTimeout(function() {
        (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
        new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
        j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
        'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
        })(window,document,'script','dataLayer','GTM-M6TFLKS8');
      }, 100);
    });
    </script>
    <!-- End Google Tag Manager -->
    
    <!-- JSON-LD Structured Data -->
    <script type="application/ld+json">
    {
      "@context": "https://schema.org",
      "@type": "Organization",
      "name": "The Phoenix Community",
      "description": "Join 950+ APOE4 carriers optimizing brain health with science-backed protocols. Expert-designed APOE4 lifestyle programs, personalized tracking, and supportive community.",
      "url": "https://thephoenix.community",
      "logo": "https://thephoenix.community/assets/Final%20transparent.webp",
      "founder": {
        "@type": "Person",
        "name": "Dr. Kevin Tran",
        "jobTitle": "Founder",
        "image": "https://thephoenix.community/assets/Kevin%20Tran%20Glasses%202.webp"
      },
      "sameAs": [
        "https://linkedin.com/company/thephoenixcommunity"
      ],
      "contactPoint": {
        "@type": "ContactPoint",
        "email": "kevin@thephoenix.community",
        "contactType": "customer service"
      },
      "offers": {
        "@type": "Offer",
        "name": "Phoenix Community Membership",
        "description": "Access to personalized protocols, expert guidance, and community support for ApoE4 carriers",
        "category": "Health & Wellness"
      }
    }
    </script>
    <!-- Link to critical CSS files -->
    
    <script type="module" crossorigin src="/assets/index-BP1CbplR.js"></script>
    <link rel="modulepreload" crossorigin href="/assets/pdf-RGiRqC2m.js">
    <link rel="modulepreload" crossorigin href="/assets/supabase-l-zWRpb3.js">
    <link rel="modulepreload" crossorigin href="/assets/vendor-react-CR3IzviV.js">
    <link rel="modulepreload" crossorigin href="/assets/dnd-kit-DHocHjdD.js">
    <link rel="modulepreload" crossorigin href="/assets/app-admin-CXBZnIWi.js">
    <link rel="modulepreload" crossorigin href="/assets/landing-critical-DMEb0m5W.js">
    <link rel="modulepreload" crossorigin href="/assets/app-core-C9kS0Nsu.js">
    <link rel="preload" as="style" onload="this.onload=null;this.rel='stylesheet'" crossorigin href="/assets/app-core-DRbmhk3U.css"><noscript><link rel="stylesheet" crossorigin href="/assets/app-core-DRbmhk3U.css"></noscript>
    <link rel="preload" as="style" onload="this.onload=null;this.rel='stylesheet'" crossorigin href="/assets/index-Cqzu1A0f.css"><noscript><link rel="stylesheet" crossorigin href="/assets/index-Cqzu1A0f.css"></noscript>
  </head>
  <body>
    <!-- Google Tag Manager (noscript) -->
    <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M6TFLKS8"
    height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
    <!-- End Google Tag Manager (noscript) -->
    
    <div id="root"></div>
    <script>
    // Defer Beehiiv script loading (only on main domain)
    window.addEventListener('load', function() {
      // Don't load Beehiiv on app subdomain or /app paths
      const isAppSubdomain = window.location.hostname === 'app.thephoenix.community';
      const isAppPath = window.location.pathname.startsWith('/app');
      const isStaging = window.location.hostname.includes('netlify.app');
      
      if (isAppSubdomain || isAppPath || 
          window.location.pathname.startsWith('/bloodwork') ||
          (isStaging && (window.location.pathname.startsWith('/experiments') || 
                        window.location.pathname.startsWith('/active') || 
                        window.location.pathname.startsWith('/past')))) {
        return;
      }
      
      setTimeout(function() {
        var script = document.createElement('script');
        script.src = 'https://production.beehiiv.com/js/embed.js';
        script.setAttribute('data-beehiiv', 'true');
        script.async = true;
        document.body.appendChild(script);
      }, 2000);
    });
    </script>
  </body>
</html>