1import{r as n,j as e}from"./vendor-react-CoJda1Bd.js";import{s as b}from"./index-DRQAaCbt.js";import{L as S}from"./Layout-DJPFJEnW.js";import{S as A}from"./SEOHead-B00Lt1TM.js";import{L as o,a as z}from"./vendor-router-BG1ccVOB.js";import{B as d}from"./button-ozMsoqIh.js";import{s as u,a as E}from"./hero-window-bird-CMd2JEm4.js";import{A as c,V as G,a as L,b as D,P as I,F as y,C as P,c as B,d as _,S as $,H as v,e as H,U as R,f as T}from"./vendor-icons-BbhXjgy5.js";import{u as W}from"./vendor-embla-BuRC1a3p.js";import{B as s,C as Y}from"./branding-CSuvK0zE.js";import"./vendor-radix-I618Mglk.js";import"./vendor-supabase-BI1TbgRl.js";import"./vendor-charts-Df9hQbmF.js";import"./vendor-query-_n4XbDCE.js";import"./vendor-date-Ctl2uRge.js";import"./LogoMark-C8Gzk_Eb.js";const F="/assets/hero-window-bird-BEBrFMVd.webm",g="A woman sitting by a half-open sash window with a bluebird landed on the sill, a warm hopeful moment of organizing her MG story.";function O(){const[t,a]=n.useState(!1),[i,l]=n.useState(!1),[m,k]=n.useState(!0),x=n.useRef(null),M=()=>{const r=x.current;r&&(r.muted=!r.muted,k(r.muted),r.muted||r.play().catch(()=>{}))};return n.useEffect(()=>{const r=window.matchMedia("(prefers-reduced-motion: reduce)");l(r.matches);const h=C=>l(C.matches);return r.addEventListener("change",h),()=>r.removeEventListener("change",h)},[]),n.useEffect(()=>{b.auth.getSession().then(({data:{session:r}})=>{a(!!r)})},[]),e.jsxs("section",{className:"relative overflow-hidden",children:[e.jsx("div",{className:"absolute inset-0 bg-[var(--subtle-gradient)]"}),e.jsx("div",{className:"absolute inset-0 bg-[var(--paper-wash)]","aria-hidden":"true"}),e.jsx("div",{className:"content-container relative py-16 md:py-24 lg:py-28 px-4",children:e.jsxs("div",{className:"grid lg:grid-cols-12 gap-10 lg:gap-16 items-center",children:[e.jsxs("div",{className:"lg:col-span-7 text-center lg:text-left",children:[e.jsx("p",{className:"text-xs md:text-sm uppercase tracking-[0.2em] text-accent-foreground/80 font-medium mb-5 animate-slide-up",style:{animationDelay:"0.05s"},children:"For people living with Myasthenia Gravis"}),e.jsxs("h1",{className:"text-4xl sm:text-5xl md:text-6xl lg:text-7xl font-serif text-foreground mb-6 animate-slide-up leading-[1.05]",style:{fontWeight:500},children:["Your MG story â"," ",e.jsx("span",{className:"text-primary",children:"organized, doctor-ready."})]}),e.jsx("p",{className:"text-lg md:text-xl text-foreground/75 mb-8 animate-slide-up max-w-xl lg:max-w-2xl mx-auto lg:mx-0 leading-relaxed",style:{animationDelay:"0.15s"},children:"Walk into every appointment prepared, without relying on memory."}),e.jsx("p",{className:"text-base md:text-lg text-foreground/70 mb-8 max-w-xl lg:max-w-2xl mx-auto lg:mx-0 leading-relaxed",children:"Symptoms shift. Treatments change. Details blur between visits. MG Connect keeps your history organized and turns it into a structured summary your neurologist can read in seconds â so appointments focus on decisions, not recall."}),e.jsx("div",{className:"flex flex-col sm:flex-row items-center lg:items-start justify-center lg:justify-start gap-4 animate-slide-up",style:{animationDelay:"0.2s"},children:e.jsx(o,{to:t?"/portal":"/auth?mode=request",children:e.jsxs(d,{variant:"hero",size:"xl",children:[t?"My MG Timeline":"Create my MG timeline",e.jsx(c,{className:"w-5 h-5"})]})})}),e.jsx("div",{className:"mt-6 animate-slide-up",style:{animationDelay:"0.25s"},children:e.jsx(o,{to:"/how-it-works#doctor-packet",className:"text-sm font-medium text-primary hover:text-primary/80 underline underline-offset-[6px] decoration-accent-foreground/40 hover:decoration-primary transition-colors",children:"See Doctor Packet preview â"})}),e.jsx("p",{className:"mt-4 text-xs text-muted-foreground animate-slide-up",style:{animationDelay:"0.3s"},children:"Takes ~3 minutes to start. No diagnosis details required."})]}),e.jsx("div",{className:"lg:col-span-5 animate-slide-up",style:{animationDelay:"0.1s"},children:e.jsxs("div",{className:"relative",children:[e.jsx("div",{className:"absolute -inset-6 rounded-[2rem] bg-[radial-gradient(ellipse_at_center,_hsl(35_64%_60%/0.12)_0%,_transparent_70%)]","aria-hidden":"true"}),i?e.jsx("img",{src:u,alt:g,width:1280,height:720,fetchPriority:"high",decoding:"async",className:"relative w-full h-auto rounded-2xl mix-blend-multiply"}):e.jsxs("div",{className:"relative",children:[e.jsxs("video",{ref:x,poster:u,width:1280,height:720,autoPlay:!0,muted:!0,loop:!0,playsInl
1ine:!0,preload:"metadata","aria-label":g,className:"relative w-full h-auto rounded-2xl mix-blend-multiply",children:[e.jsx("source",{src:E,type:"video/mp4"}),e.jsx("source",{src:F,type:"video/webm"})]}),e.jsx("button",{type:"button",onClick:M,"aria-label":m?"Unmute video":"Mute video",className:"absolute bottom-3 right-3 min-h-11 min-w-11 flex items-center justify-center rounded-full bg-background/70 text-foreground shadow-sm backdrop-blur-sm transition-colors hover:bg-background/90",children:m?e.jsx(G,{className:"h-5 w-5"}):e.jsx(L,{className:"h-5 w-5"})})]})]})})]})})]})}const j="/assets/portal-hero-mobile-6njS7AEq.webp",w="/assets/whats-changed-mobile-CjkFNyJL.webp",N="/assets/doctor-packet-mobile-BIU2yJkh.webp",V=[{icon:D,text:"Log symptoms, flares, and medication changes when they occur"},{icon:I,text:"Build a longitudinal timeline automatically"},{icon:y,text:"Walk into appointments with a visit-ready summary"}],q=[{src:N,alt:`${s} doctor packet and clinician snapshot`,w:885,h:1920},{src:j,alt:`${s} portal showing current status on mobile`,w:885,h:1920},{src:w,alt:`${s} showing what's changed since last visit`,w:885,h:1920}];function U(){const[t]=W({loop:!1,startIndex:1});return e.jsxs("section",{className:"section-padding bg-muted/30",children:[e.jsx("div",{className:"md:hidden pb-10 overflow-hidden",ref:t,children:e.jsx("div",{className:"flex items-end",children:q.map((a,i)=>e.jsx("div",{className:"flex-none w-[72vw] max-w-[260px] px-3 flex justify-center",children:e.jsx("img",{src:a.src,alt:a.alt,width:a.w,height:a.h,className:"w-full rounded-[2rem] border border-border/40 drop-shadow-2xl",loading:i===1?void 0:"lazy"})},i))})}),e.jsxs("div",{className:"content-container",children:[e.jsxs("div",{className:"hidden md:flex items-end justify-center gap-4 mb-12",children:[e.jsx("div",{className:"relative w-[170px] opacity-85 drop-shadow-xl",children:e.jsx("img",{src:N,alt:`${s} doctor packet and clinician snapshot`,width:885,height:1920,className:"w-full rounded-[2rem] border border-border/40",loading:"lazy"})}),e.jsx("div",{className:"relative w-[200px] z-10 drop-shadow-2xl",children:e.jsx("img",{src:j,alt:`${s} portal showing current status on mobile`,width:885,height:1920,className:"w-full rounded-[2rem] border border-border/40",loading:"lazy"})}),e.jsx("div",{className:"relative w-[170px] opacity-85 drop-shadow-xl",children:e.jsx("img",{src:w,alt:`${s} showing what's changed since last visit`,width:885,height:1920,className:"w-full rounded-[2rem] border border-border/40",loading:"lazy"})})]}),e.jsxs("div",{className:"max-w-3xl mx-auto",children:[e.jsx("h2",{className:"text-2xl md:text-3xl font-serif font-bold text-foreground mb-6",children:"The hardest part of MG happens between visits."}),e.jsx("div",{className:"space-y-4 text-muted-foreground text-base md:text-lg mb-8",children:e.jsxs("p",{children:["By the time you're in the exam room, months of changes have to be summarized from memory. ",s," captures what matters as it happens â no daily tracking required."]})}),e.jsx("ul",{className:"space-y-4 mb-8",children:V.map((a,i)=>e.jsxs("li",{className:"flex items-start gap-4",children:[e.jsx("div",{className:"flex items-center justify-center w-9 h-9 rounded-lg bg-primary/10 shrink-0 mt-0.5",children:e.jsx(a.icon,{className:"w-4.5 h-4.5 text-primary"})}),e.jsx("span",{className:"text-foreground text-base md:text-lg",children:a.text})]},i))}),e.jsxs("p",{className:"text-base md:text-lg text-muted-foreground italic",children:["You don't fill out a form. ",s," builds it for you â over time."]})]})]})]})}const K=["Turns months of MG changes into a clear visit summary.","Highlights treatments, symptom shifts, and priorities at a glance.","Keeps the conversation focused on decisions, not memory."];function J(){return e.jsx("section",{className:"section-padding",children:e.jsx("div",{className:"content-container",children:e.jsxs("div",{className:"mx-auto max-w-3xl text-center",children:[e.jsx("h2",{className:"text-2xl md:text-3xl font-serif font-bold text-foreground mb-3",children:"Doctor-ready summary"}),e.jsxs("p",{className:"text-muted-foreground text-base md:text-lg max-w-2xl mx-auto",children:[s," organizes what changed between visits into a concise summary you can bring to your neurologist."]}),e.jsx("div",{className:"mt-7 grid gap-3 text-left sm:grid-cols-3",children:K.map(t=>e.jsxs("div",{className:"flex items-start gap-3 rounded-lg border border-border bg-card p-4",children:[e.jsx(P,{className:"mt-0.5 h-4 w-4 shrink-0 text-primary"}),e.jsx("p",{className:"text-sm leading-relaxed text-foreground",children:t})]},t))}),e.jsx("div",{className:"text-center mt-7",children:e.jsx(o,{to:"/auth?mode=request",children:e.jsxs(d,{variant:"hero",size:"lg",children:["Create my MG timeline",e.jsx(c,{className:"w-4 h-4"})]})})})]})})})}const Q=[{icon:B,title:"Longitudinal MG timeline",description:"Captures what changes over months â not just a single appointment snapshot."},{icon:_,title:"Log only when something changes",description:"No daily grind. Flares, medication changes, and symptom shifts â logged in seconds."},{icon:y,title:"Doctor Packet",description:"A structured summary with status, treatments, trajectory, and priorities â generated automatically."},{icon:$,title:"Emergency Card",description:"A printable one-page handover with medications, clinical flags, and cautionary drugs. Includes a QR code for ER staff."}];function X(){return e.jsx("section",{className:"section-padding bg-muted/30",children:e.jsxs("div",{className:"content-container",children:[e.jsx("div",{className:"text-center mb-10",children:e.jsx("h2",{className:"text-2xl md:text-3xl font-serif font-bold text-foreground",children:"Built for how MG actually works."})}),e.jsx("div",{className:"max-w-4xl mx-auto",children:e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-5",children:Q.map((t,a)=>e.jsxs("div",{className:"flex items-start gap-4 p-6 rounded-xl bg-card border border-border",children:[e.jsx("div",{className:"flex items-center justify-center w-10 h-10 rounded-lg bg-primary/10 shrink-0",children:e.jsx(t.icon,{className:"w-5 h-5 text-primary"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-semibold text-foreground mb-1.5",children:t.title}),e.jsx("p",{className:"text-muted-foreground text-sm leading-relaxed",children:t.description})]})]},a))})})]})})}const p="/assets/caregiver-primary-5hKet8TY.webp",f="/assets/caregiver-secondary-BKIHTAH9.webp",Z="/assets/hero-park-play-adults-B-kaVhBC.webp";function ee(){return e.jsxs("section",{className:"section-padding border-t border-border",children:[e.jsx("div",{className:"lg:hidden pb-8",children:e.jsx("div",{className:"flex items-end justify-center gap-3",children:[{src:p,alt:`${s} care team card showing neurologist details`,w:885,h:1920},{src:f,alt:`${s} caregiver collaboration view`,w:885,h:1920}].map((t,a)=>e.jsx("div",{className:"w-[42vw] max-w-[200px] flex justify-center",children:e.jsx("img",{src:t.src,alt:t.alt,width:t.w,height:t.h,className:"w-full rounded-[2rem] border border-border/40 drop-shadow-2xl",loading:"lazy"})},a))})}),e.jsxs("div",{className:"content-container",children:[e.jsxs("div",{className:"grid gap-8 lg:grid-cols-[0.9fr_1.1fr] items-center mb-12",children:[e.jsx("img",{src:Z,alt:"An older adult and caregiver talking on a park bench with a dog nearby, representing supportive help without taking over.",width:1536,height:1024,className:"w-full max-w-md mx-auto rounded-2xl mix-blend-multiply",loading:"lazy"}),e.jsxs("div",{className:"max-w-2xl mx-auto lg:mx-0",children:[e.jsxs("div",{className:"inline-flex items-center gap-2 text-sm font-medium text-primary bg-primary/10 px-3 py-1 rounded-full mb-4",children:[e.jsx(v,{className:"w-4 h-4"}),"Caregiver Collaboration"]}),e.jsx("h2",{className:"text-2xl md:text-3xl font-serif font-bold text-foreground mb-4",children:"Caregiver collaborationân
1ot surveillance."}),e.jsx("div",{className:"space-y-4 text-muted-foreground text-base md:text-lg",children:e.jsx("p",{children:"Invite a caregiver to help keep your history accurate â without giving up control. Everything they add is clearly labeled as caregiver-contributed."})}),e.jsx("div",{className:"mt-6",children:e.jsx(o,{to:"/for-caregivers",children:e.jsxs(d,{variant:"outline",className:"gap-2",children:["Preview caregiver roles",e.jsx(c,{className:"w-4 h-4"})]})})})]})]}),e.jsxs("div",{className:"hidden lg:flex items-end justify-center gap-4 mb-12",children:[e.jsx("div",{className:"relative w-[200px] z-10 drop-shadow-2xl",children:e.jsx("img",{src:p,alt:`${s} care team card showing neurologist details`,width:885,height:1920,className:"w-full rounded-[2rem] border border-border/40",loading:"lazy"})}),e.jsx("div",{className:"relative w-[170px] opacity-85 drop-shadow-xl -ml-4",children:e.jsx("img",{src:f,alt:`${s} caregiver collaboration view`,width:885,height:1920,className:"w-full rounded-[2rem] border border-border/40",loading:"lazy"})})]})]})]})}function te(){return e.jsx("section",{className:"section-padding bg-muted/30 border-t border-border",children:e.jsx("div",{className:"content-container",children:e.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[e.jsx("h2",{className:"text-2xl md:text-3xl font-serif font-bold text-foreground mb-4",children:"Your data. Your decisions."}),e.jsx("p",{className:"text-muted-foreground text-base md:text-lg mb-4",children:"Your data stays yours. Export anytime. Share only what you choose."}),e.jsx(o,{to:"/trust",className:"text-sm font-medium text-primary hover:text-primary/80 underline underline-offset-4 transition-colors",children:"Learn more about trust & privacy â"})]})})})}const se=[{icon:H,title:"Recently diagnosed",description:"Organize your story so conversations with your neurologist start stronger."},{icon:R,title:"Managing MG long-term",description:"A single place for everything you've been tracking in your head."},{icon:v,title:"Caregivers",description:"A shared view, clearly labeled, without duplicating effort."},{icon:T,title:"Clinicians",description:"Structured longitudinal context between visits."}];function ae(){return e.jsx("section",{className:"section-padding border-t border-border",children:e.jsxs("div",{className:"content-container",children:[e.jsx("div",{className:"text-center mb-10",children:e.jsxs("h2",{className:"text-2xl md:text-3xl font-serif font-bold text-foreground",children:["Who ",s," is for"]})}),e.jsx("div",{className:"max-w-4xl mx-auto",children:e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-5",children:se.map((t,a)=>e.jsxs("div",{className:"flex items-start gap-4 p-6 rounded-xl bg-card border border-border",children:[e.jsx("div",{className:"flex items-center justify-center w-10 h-10 rounded-lg bg-primary/10 shrink-0",children:e.jsx(t.icon,{className:"w-5 h-5 text-primary"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-semibold text-foreground mb-1.5",children:t.title}),e.jsx("p",{className:"text-muted-foreground text-sm leading-relaxed",children:t.description})]})]},a))})})]})})}const re="/assets/illus-success-bird-xm7s3YwK.webp";function ie(){return e.jsx("section",{className:"section-padding bg-muted/30 border-t border-border",children:e.jsx("div",{className:"content-container",children:e.jsxs("div",{className:"max-w-4xl mx-auto grid md:grid-cols-[0.85fr_1.15fr] gap-8 items-center",children:[e.jsx("div",{className:"relative order-last md:order-first",children:e.jsx("img",{src:re,alt:"A small bird beside an envelope, suggesting a gentle next step toward organizing your MG story.",width:1024,height:1024,className:"w-full max-w-[260px] mx-auto rounded-2xl mix-blend-multiply",loading:"lazy"})}),e.jsxs("div",{className:"text-center md:text-left",children:[e.jsx("h2",{className:"text-2xl md:text-3xl font-serif font-bold text-foreground mb-4",children:"Start your MG timeline today."}),e.jsx("p",{className:"text-muted-foreground text-base md:text-lg mb-8",children:"Most people set up their timeline in about 3 minutes â then add updates only when something changes."}),e.jsx(o,{to:"/auth?mode=request",children:e.jsxs(d,{variant:"hero",size:"xl",children:["Create my MG timeline",e.jsx(c,{className:"w-5 h-5"})]})}),e.jsx("p",{className:"mt-6 text-sm text-muted-foreground tracking-wide",children:"A service of Engram Health, LLC · No ads · No pharma influence · Patient-controlled sharing"})]})]})})})}const ne={"@type":"WebPage",name:`${s} â Your MG story, organized, doctor-ready`,description:`${s} helps you build a longitudinal MG timeline and a visit-ready Doctor Packet â so appointments focus on decisions, not memory.`,url:Y,mainEntity:{"@type":"SoftwareApplication",name:s,applicationCategory:"HealthApplication",operatingSystem:"Web",offers:{"@type":"Offer",price:"0",priceCurrency:"USD"},description:"A patient-first platform for people with Myasthenia Gravis to build a longitudinal health timeline and generate visit-ready clinical summaries. A service of Engram Health, LLC."}};function Ne(){const t=z(),[a,i]=n.useState(!1);return n.useEffect(()=>{b.auth.getSession().then(({data:{session:l}})=>{l?t("/portal",{replace:!0}):i(!0)})},[t]),a?e.jsxs(S,{children:[e.jsx(A,{title:`${s} â Organize Your MG Story for Every Visit`,description:"Track symptoms, treatments, and flares at your own pace. Walk into every neurologist appointment with a clear, visit-ready summary.",path:"/",structuredData:ne}),e.jsx(O,{}),e.jsx(U,{}),e.jsx(X,{}),e.jsx(J,{}),e.jsx(ee,{}),e.jsx(te,{}),e.jsx(ae,{}),e.jsx(ie,{})]}):null}export{Ne as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.