1import{j as e}from"./vendor-ui-NLPqw2t3.js";import{u as L,d as I,L as m}from"./vendor-react-C3dcikN3.js";import{r as a,S as E,H as C,A as g,d as M,e as T,f as $,L as z}from"./vendor-icons-BSGq3JuS.js";import{P as B,S as O}from"./index-CThYbAOY.js";import{B as y}from"./button-DySRijmZ.js";import"./vendor-query-CgGIzJQR.js";const U=[{label:"Platform Overview",href:"/platform",desc:"The intelligence layer"},{label:"Product Suite",href:"/products",desc:"Six products. One system."},{label:"Customer Stories",href:"/customers",desc:"Proof in production"},{label:"Newsroom & Insights",href:"/blog",desc:"Research and analysis"},{label:"Resources",href:"/resources",desc:"Briefs, decks, tools"},{label:"Contact Phoenix",href:"/contact",desc:"Talk to our team"}],i=["â Scanning ledger for route ...","â Querying Phoenix Bridge⢠orchestration map ...","â Cross-referencing Phoenix Connect⢠access registry ...","â Variance detected: page_id = NULL","â Phoenix Raptor⢠flagged anomaly: route not in source-of-truth","â Reconciliation failed. No record of this URL.","â Suggestion: re-route operator to a known good destination."],V=()=>{const[x,u]=a.useState(()=>typeof window>"u"||!window.matchMedia?!1:window.matchMedia("(prefers-reduced-motion: reduce)").matches);return a.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const n=window.matchMedia("(prefers-reduced-motion: reduce)"),t=o=>u(o.matches);return n.addEventListener("change",t),()=>n.removeEventListener("change",t)},[]),x},W=()=>{const x=L(),[u]=I(),n=u.get("from")||x.pathname,t=V(),[o,b]=a.useState(t?i.length:0),[j,N]=a.useState(0),[w,R]=a.useState(!1),v=a.useRef(null),p=a.useRef(null),h=a.useRef(null),f=a.useRef(null);a.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",n)},[n]),a.useEffect(()=>{if(t){b(i.length);return}const r=setInterval(()=>{b(s=>s>=i.length?(clearInterval(r),s):s+1)},1100);return()=>clearInterval(r)},[t]),a.useEffect(()=>{if(t)return;let r=null;const s=()=>{r||(r=setInterval(()=>N(c=>c+1),5e3))},l=()=>{r&&(clearInterval(r),r=null)},d=()=>document.hidden?l():s();return s(),document.addEventListener("visibilitychange",d),()=>{l(),document.removeEventListener("visibilitychange",d)}},[t]);const k=a.useCallback(r=>{var c;if(t)return;const s=(c=v.current)==null?void 0:c.getBoundingClientRect();if(!s)return;const l=(r.clientX-s.left)/s.width,d=(r.clientY-s.top)/s.height;f.current||(f.current=requestAnimationFrame(()=>{if(f.current=null,p.current){const P=(l-.5)*20,S=(d-.5)*20;p.current.style.transform=`translate(${P}px, ${S}px)`}h.current&&(h.current.style.background=`radial-gradient(600px circle at ${l*100}% ${d*100}%, hsl(var(--primary) / 0.12), transparent 60%)`)}))},[t]);return e.jsxs(B,{children:[e.jsx(O,{title:"Page Not Found (404) | Phoenix Intelligence",description:"The page you're looking for has moved or no longer exists. Explore the Phoenix Intelligence platform, products, and resources.",canonical:"/404",noIndex:!0}),e.jsxs("section",{ref:v,onMouseMove:t?void 0:k,className:"relative overflow-hidden bg-background",children:[e.jsx("div",{"aria-hidden":!0,className:"absolute inset-0 opacity-[0.05]",style:{backgroundImage:"linear-gradient(hsl(var(--foreground)) 1px, transparent 1px), linear-gradient(90deg, hsl(var(--foreground)) 1px, transparent 1px)",backgroundSize:"48px 48px"}}),e.jsx("div",{ref:h,"aria-hidden":!0,className:"pointer-events-none absolute inset-0 transition-opacity",style:{background:"radial-gradient(600px circle at 50% 50%, hsl(var(--primary) / 0.12), transparent 60%)"}}),e.jsxs("div",{className:"container relative mx-auto px-6 py-20 md:py-28",children:[e.jsxs("div",{className:"grid items-center gap-12 lg:grid-cols-2 lg:gap-16",children:[e.jsxs("div",{className:"text-center lg:text-left",children:[e.jsxs("span",{className:"inline-flex items-center gap-2 rounded-full border border-primary/30 bg-primary/5 px-3 py-1 text-xs font-semibold uppercase tracking-[0.2em] text-primary",children:[e.jsx(E,{className:"h-3 w-3"}),"Variance Detected"]}),e.jsxs("div",{ref:p,className:"relative mt-6 select-none",style:{transition:"transform 0.2s ease-out"},children:[e.jsxs("h1",{className:"font-serif text-[8rem] font-bold leading-[0.85] text-foreground md:text-[12rem] lg:text-[14rem]","aria-label":"404",children:["4",e.jsxs("span",{className:"relative inline-block",children:[e.jsx("span",{className:"text-primary",children:"0"}
1),e.jsx("span",{"aria-hidden":!0,className:"absolute inset-[18%] rounded-full border-2 border-dashed border-primary/40",style:t?void 0:{animation:"spin 8s linear infinite"}})]}),"4"]}),!t&&e.jsxs(e.Fragment,{children:[e.jsx("span",{"aria-hidden":!0,className:"absolute inset-0 font-serif text-[8rem] font-bold leading-[0.85] text-primary/20 mix-blend-screen md:text-[12rem] lg:text-[14rem]",style:{transform:"translate(4px, -2px)",clipPath:"polygon(0 30%, 100% 30%, 100% 50%, 0 50%)"},children:"404"}),e.jsx("span",{"aria-hidden":!0,className:"absolute inset-0 font-serif text-[8rem] font-bold leading-[0.85] text-primary/20 md:text-[12rem] lg:text-[14rem]",style:{transform:"translate(-3px, 2px)",clipPath:"polygon(0 60%, 100% 60%, 100% 75%, 0 75%)"},children:"404"})]})]},j),e.jsx("h2",{className:"mt-8 font-serif text-3xl font-semibold leading-tight text-foreground md:text-4xl",children:"This route isn't in our source of truth."}),e.jsx("p",{className:"mx-auto mt-4 max-w-lg text-base leading-relaxed text-muted-foreground lg:mx-0",children:"The page moved, was renamed, or never existed. Every URL in our system is reconciled â this one didn't match. Let's get you somewhere useful."}),n&&n!=="/"&&n!=="/oops-not-found"&&e.jsxs("div",{className:"mt-5 inline-flex items-center gap-2 rounded-md border border-border bg-muted/40 px-3 py-1.5 font-mono text-xs text-muted-foreground",children:[e.jsx("span",{className:"h-1.5 w-1.5 rounded-full bg-primary"}),"Requested:"," ",e.jsx("span",{className:"text-foreground",children:n})]}),e.jsxs("div",{className:"mt-10 flex flex-col items-center justify-center gap-3 sm:flex-row lg:justify-start",children:[e.jsx(y,{asChild:!0,size:"lg",className:"group",children:e.jsxs(m,{to:"/",children:[e.jsx(C,{className:"mr-2 h-4 w-4"}),"Return Home",e.jsx(g,{className:"ml-2 h-4 w-4 transition-transform group-hover:translate-x-1"})]})}),e.jsx(y,{asChild:!0,size:"lg",variant:"outline",children:e.jsxs(m,{to:"/contact",children:[e.jsx(M,{className:"mr-2 h-4 w-4"}),"Contact Support"]})})]})]}),e.jsx("div",{className:"relative",children:e.jsxs("div",{className:"rounded-xl border border-border bg-card shadow-2xl shadow-primary/5",children:[e.jsxs("div",{className:"flex items-center justify-between border-b border-border px-4 py-3",children:[e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx("span",{className:"h-3 w-3 rounded-full bg-destructive/70"}),e.jsx("span",{className:"h-3 w-3 rounded-full bg-primary/60"}),e.jsx("span",{className:"h-3 w-3 rounded-full bg-muted-foreground/40"})]}),e.jsx("span",{className:"font-mono text-[11px] uppercase tracking-wider text-muted-foreground",children:"phoenix-bridge ⸠route-reconciliation"}),e.jsx(T,{className:"h-3.5 w-3.5 text-muted-foreground",style:t?void 0:{animation:"spin 4s linear infinite"}})]}),e.jsxs("div",{className:"min-h-[280px] p-5 font-mono text-sm",children:[e.jsxs("div",{className:"text-muted-foreground",children:[e.jsx("span",{className:"text-primary",children:"$"})," phoenix recon"," ",e.jsxs("span",{className:"text-foreground/80",children:['"',n||"/unknown",'"']})]}),e.jsxs("div",{className:"mt-3 space-y-1.5",children:[i.slice(0,o).map((r,s)=>e.jsx("div",{className:`text-xs leading-relaxed ${r.includes("failed")||r.includes("anomaly")||r.includes("Variance")?"text-destructive/80":r.includes("Suggestion")?"text-primary":"text-foreground/70"}`,children:r},s)),o<i.length&&e.jsx("div",{className:"inline-block h-3 w-2 animate-pulse bg-primary"}),o>=i.length&&e.jsxs("div",{className:"mt-3 rounded-md border border-primary/30 bg-primary/5 p-3 text-xs text-foreground",children:[e.jsx("div",{className:"font-semibold text-primary",children:"â Recommendation"}),e.jsx("div",{className:"mt-1 text-muted-foreground",children:"Pick a verified destination from the panel below."})]})]})]})]})})]}),e.jsxs("div",{className:"mx-auto mt-20 max-w-5xl",children:[e.jsx("p",{className:"mb-6 text-center text-xs font-semibold uppercase tracking-[0.2em] text-muted-foreground",children:"Verified destinations"}),e.jsx("div",{className:"grid grid-cols-1 gap-px overflow-hidden rounded-xl border border-border bg-border sm:grid-cols-2 lg:grid-cols-3",children:U.map(r=>e.jsxs(m,{to:r.href,className:"group flex flex-col gap-1 bg-background p-5 transition-all hover:bg-muted/60",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("span",{className:"text-sm font-semibold text-foreground",children:r.label}),e.jsx(g,{className:"h-4 w-4 text-muted-foreground transition-all group-hover:translate-x-1 group-hover:text-primary"})]}),e.jsx("span",{className:"text-xs text-muted-foreground",children:r.desc})]},r.href))})]}),e.jsx("div",{className:"mx-auto mt-12 max-w-3xl",children:e.jsxs("div",{className:"group relative overflow-hidden rounded-xl border border-dashed border-primary/30 bg-gradient-to-br from-primary/5 via-background to-background p-6 md:p-8",children:[e.jsx("div",{"aria-hidden":!0,
1className:"absolute -right-12 -top-12 h-40 w-40 rounded-full bg-primary/5 blur-3xl"}),e.jsxs("div",{className:"relative flex flex-col gap-4 sm:flex-row sm:items-start",children:[e.jsx("div",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-lg border border-primary/30 bg-primary/10 text-primary",children:e.jsx($,{className:"h-5 w-5"})}),e.jsxs("div",{className:"flex-1",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:"text-[11px] font-semibold uppercase tracking-[0.2em] text-primary",children:"While you're here"}),e.jsx("span",{className:"h-1 w-1 rounded-full bg-muted-foreground/40"}),e.jsx("span",{className:"text-[11px] uppercase tracking-wider text-muted-foreground",children:"Payroll riddle"})]}),e.jsx("p",{className:"mt-3 font-serif text-xl leading-snug text-foreground md:text-2xl",children:'"I show up every cycle, never get paid, never take leave â yet without me, no one else gets paid either. What am I?"'}),w?e.jsxs("div",{className:"mt-5 animate-fade-in space-y-3",children:[e.jsxs("div",{className:"rounded-md border border-primary/30 bg-primary/5 px-4 py-3 text-sm text-foreground",children:[e.jsx("span",{className:"font-semibold text-primary",children:"Answer:"})," ","The ",e.jsx("span",{className:"font-semibold",children:"payroll calendar"}),". Silent, relentless, and the one thing every paycheck depends on."]}),e.jsxs(m,{to:"/payroll-riddle-game",className:"group/link inline-flex items-center gap-2 text-sm font-semibold text-primary hover:underline",children:["Want more? Play the full Payroll Riddle Game",e.jsx(g,{className:"h-4 w-4 transition-transform group-hover/link:translate-x-1"})]})]}):e.jsxs("button",{onClick:()=>R(!0),className:"mt-5 inline-flex items-center gap-2 rounded-md border border-primary/40 bg-background px-4 py-2 text-sm font-medium text-primary transition-all hover:bg-primary hover:text-primary-foreground",children:[e.jsx(z,{className:"h-4 w-4"}),"Reveal the answer"]})]})]})]})})]})]})]})};export{W 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.