PageSourceSearch

https://app.forgein.ai/_next/static/chunks/app/page-6c507d56232616c2.js

js forgein.ai collected 2026-10-02 01:11:12 UTC 86,659 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8974],{8051:(e,r,o)=>{Promise.resolve().then(o.bind(o,975))},975:(e,r,o)=>{"use strict";o.d(r,{default:()=>b});var t=o(5711),n=o(5719),i=o(1545),a=o.n(i),s=o(6857);let l=[{key:"claude",label:"Claude Code",icon:"C",color:"#F59E0B",colorLo:"rgba(245,158,11,0.09)",colorB:"rgba(245,158,11,0.25)",heroCopy:"You've taught your AI your stack, your team's conventions, how you think. You shouldn't have to do it again — on any machine, in any session.",heroEm:"any AI.",kicker:"● Live now",withoutBullets:[],withBullets:[],withFooter:""},{key:"chatgpt",label:"ChatGPT",icon:"G",color:"#10B981",colorLo:"rgba(16,185,129,0.09)",colorB:"rgba(16,185,129,0.25)",heroCopy:"Your ChatGPT Custom Instructions are stuck on one browser, one account. You've re-entered them a dozen times.",heroEm:"ChatGPT.",kicker:"● Live now",withoutBullets:["Custom Instructions: empty on new device","Re-enter preferences every browser/account","Team: no shared context, everyone starts cold"],withBullets:["Your context auto-loaded into every ChatGPT session","Synced across every device and account","Team-shared context available to every teammate"],withFooter:"forgein → Custom Instructions (6 rules loaded)"},{key:"copilot",label:"GitHub Copilot",icon:"⌥",color:"#3B82F6",colorLo:"rgba(59,130,246,0.09)",colorB:"rgba(59,130,246,0.25)",heroCopy:"Your Copilot instructions don't follow you across repos. Your team's conventions aren't automatically loaded.",heroEm:"Copilot.",kicker:"● Live now",withoutBullets:[".github/copilot-instructions.md: per-repo, manual","Personal preferences don't travel across repos","Team conventions require manual copy-paste"],withBullets:["forgein manages your instructions file automatically","Same context across every repo you work in","Team instructions synced — one source of truth"],withFooter:"acme-api/.github/copilot-instructions.md ← forgein"},{key:"gemini",label:"Gemini",icon:"◈",color:"#818CF8",colorLo:"rgba(129,140,248,0.09)",colorB:"rgba(129,140,248,0.25)",heroCopy:"Every Gemini session resets your context. Your Gems don't sync across workspaces or devices.",heroEm:"Gemini.",kicker:"● Live now",withoutBullets:["Gems configured once, stuck in one workspace","Switch devices — context gone, reconfigure manually","No team-shared context in Gemini"],withBullets:["Your forgein context loaded into every Gemini session","Synced across workspaces, devices, and accounts","Work / Home / Family context model in Gemini"],withF
1ooter:"forgein → Gemini (Work context: 6 files loaded)"}],d=[{tag:"Monday — session #1",bad:!0,stat:"1",statLabel:"context paste",note:"and counting",chat:[{role:"u",text:"I work on a Next.js 15 monorepo. We use Drizzle ORM, TypeScript strict, pnpm workspaces. Never use `any`...",dim:" [287 chars]"},{role:"a",text:"Got it — I know your stack. How can I help?",dim:""}]},{tag:"Wednesday — new session",bad:!0,stat:"12",statLabel:"context pastes",note:"same paste, different session",aside:"again?",chat:[{role:"u",text:"I work on a Next.js 15 monorepo. We use Drizzle ORM, TypeScript strict",dim:"... [same block]"},{role:"a",text:"Got it. How can I help?",dim:""}]},{tag:"Friday \xb7 new machine",bad:!0,stat:"47",statLabel:"context pastes",note:"you are doing AI's job for it",aside:"really??",chat:[{role:"u",text:"I work on a Next.js 15 monorepo. We use Drizzle ORM, TypeScript strict, pnpm workspaces",dim:"... [same 287 chars. again.]"},{role:"a",text:"Got it. How can I help?",dim:""}]},{tag:"Any session \xb7 any machine \xb7 with forgein",bad:!1,stat:"0",statLabel:"context pastes",note:"forgein handles this",chat:[]}],c=[3e3,3e3,3500,4e3],p={work:{icon:"\uD83D\uDCBC",label:"Work",color:"#3B82F6",lo:"rgba(59,130,246,0.09)",b:"rgba(59,130,246,0.22)",h:"Work context",sub:"Your codebase, team conventions, sprint context. Loads in work projects.",tier:"Free",tl:"Free plan",fc:"4 files loaded",load:"Work context auto-loaded",lf:"team-shared (2) \xb7 personal (2) \xb7 0 pastes required",tree:[{label:"\uD83D\uDCC1 Team Shared",indent:0,bold:!0,tag:null},{label:"\uD83D\uDCC4 codebase-conventions.md",indent:1,bold:!1,tag:"shared"},{label:"\uD83D\uDCC4 review-standards.md",indent:1,bold:!1,tag:"shared"},{label:"\uD83D\uDCC1 Personal",indent:0,bold:!0,tag:null},{label:"\uD83D\uDCC4 my-architecture-notes.md",indent:1,bold:!1,tag:null},{label:"\uD83D\uDCC4 tools-i-use.md",indent:1,bold:!1,tag:null}],pts:["Team Shared files sync to every teammate's AI automatically","Loads when you open a repo, not when you remember to paste it","Machine-agnostic: same Work context on any device"]},home:{icon:"\uD83C\uDFE0",label:"Home",color:"#10B981",lo:"rgba(16,185,129,0.09)",b:"rgba(16,185,129,0.22)",h:"Home context",sub:"Side projects, learning, personal goals. Loads in your evening sessions.",tier:"Pro",tl:"Pro — $4.99/mo",fc:"4 files loaded",load:"Home context auto-loaded",lf:"personal (4) \xb7 0 overlap with Work \xb7 clean isolation",tree:[{label:"\uD83D\uDCC1 Side Projects",indent:0,bold:!0,tag:null},{label:"\uD83D\uDCC4 forgein-platform.md",indent:1,bold:!1,tag:null},{label:"\uD83D\uDCC4 open-source.md",indent:1,bold:!1,tag:null},{label:"\uD83D\uDCC1 Learning",indent:0,bold:!0,tag:null},{label:"\uD83D\uDCC4 rust-notes.md",indent:1,bold:!1,tag:null},{label:"\uD83D\uDCC4 deep-work-ideas.md",indent:1,bold:!1,tag:null}],pts:["Nothing from Work bleeds in — complete isolation","Auto-detected by time of day or project folder","Keeps your side project AI warm without touching work configs"]},family:{icon:"\uD83D\uDC68‍\uD83D\uDC69‍\uD83D\uDC67",label:"Family",color:"#FB7185",lo:"rgba(251,113,133,0.09)",b:"rgba(251,113,133,0.22)",h:"Family context",sub:"Kids, household, parenting, home projects. AI that knows your family life.",tier:"Pro",tl:"Pro — $4.99/mo",fc:"4 files loaded",load:"Family context loaded",lf:"private (4) \xb7 never synced to team \xb7 always local-first",tree:[{label:"\uD83D\uDCC1 Kids",indent:0,bold:!0,tag:null},{label:"\uD83D\uDCC4 homework-help-context.md",indent:1,bold:!1,tag:null},{label:"\uD83D\uDCC4 activities-soccer.md",indent:1,bold:!1,tag:null},{label:"\uD83D\uDCC1 Household",indent:0,bold:!0,tag:null},{label:"\uD83D\uDCC4 home-renovation.md",indent:1,bold:!1,tag:null},{label:"\uD83D\uDCC4 family-travel.md",indent:1,bold:!1,tag:null}],pts:["Never shared — Family context is private-only by design","Switch manually or configure auto-triggers","AI knows which kid needs which homework help, which sport, which schedule"]}},m=["work","home","family"],h=[{icon:"\uD83D\uDD01",h:"Repeating yourself",p:"Same context block, different session. AI resets every time. You don't.",fix:"auto-injected at session start"},{icon:"\uD83D\uDDA5",h:"Starting over on new machines",p:"Switch machines and your AI goes cold. Rebuild from scratch on a deadline.",fix:"one command pulls your full context"},{icon:"⌨️",h:"Typing too much",p:"Three paragraphs of setup before you can ask a single question.",fix:"zero setup per session — context loads itself"},{icon:"\uD83D\uDD17",h:"Context locked to one tool",p:"Your Claude setup is perfect. ChatGPT knows nothing. Copilot knows nothing. Each tool starts cold.",fix:"one context works in all 7 tools simultaneously"},{icon:"\uD83D\uDDC2",h:"Managing your own memory",p:"12 open tabs. Which one had the architecture decision? You're the filing system.",fix:"context lives in organized files, not chat history"}],g=[["Paste a context block every time you open a new session","Context loads automatically — every session starts warm"],["Switch machines and spend an hour rebuilding your AI setup","One command, AI picks up exactly where you left off"],["Switch from Claude to ChatGPT and re-explain who you are","Same context, any AI — Claude, ChatGPT, Copilot, Gemini"],["New teammate's AI has no idea how your team works","They inherit your team's context from day one"],["Evening side project context leaks into your work session","Work context at work, home context at home — automatically"],["Come back after a month and re-orient the AI from scratch","Your context was preserved — AI knows the project state"]],x=[{icon:"⚡",label:"Claude Code",color:"#F59E0B",status:"Live now",
1statusColor:"#F59E0B",statusBg:"rgba(245,158,11,0.15)",statusBorder:"rgba(245,158,11,0.3)",desc:"Full memory sync, skills, team sharing, /forgein CLI.",href:"/for/claude-code"},{icon:"\uD83D\uDCAC",label:"ChatGPT",color:"#10B981",status:"Live",statusColor:"#34D399",statusBg:"rgba(52,211,153,0.10)",statusBorder:"rgba(52,211,153,0.3)",desc:"Generated Custom Instructions — paste into ChatGPT settings.",href:"/for/chatgpt"},{icon:"⌥",label:"GitHub Copilot",color:"#3B82F6",status:"Live",statusColor:"#34D399",statusBg:"rgba(52,211,153,0.10)",statusBorder:"rgba(52,211,153,0.3)",desc:".github/copilot-instructions.md managed across repos.",href:"/for/copilot"},{icon:"◆",label:"Gemini",color:"#818CF8",status:"Live",statusColor:"#34D399",statusBg:"rgba(52,211,153,0.10)",statusBorder:"rgba(52,211,153,0.3)",desc:"Generated system prompt for Gems — paste into Gem config.",href:"/for/gemini"},{icon:"⊗",label:"Cursor",color:"#4F46E5",status:"Live",statusColor:"#34D399",statusBg:"rgba(52,211,153,0.10)",statusBorder:"rgba(52,211,153,0.3)",desc:".cursorrules generated from your context — paste to any repo.",href:"/for/cursor"},{icon:"⊞",label:"Windsurf",color:"#06B6D4",status:"Live",statusColor:"#34D399",statusBg:"rgba(52,211,153,0.10)",statusBorder:"rgba(52,211,153,0.3)",desc:".windsurfrules generated from your context — paste to any repo.",href:"/for/windsurf"},{icon:"⬡",label:"MCP Server",color:"#10B981",status:"Live",statusColor:"#34D399",statusBg:"rgba(52,211,153,0.10)",statusBorder:"rgba(52,211,153,0.3)",desc:"JSON-RPC 2.0 server — any MCP-compatible tool connects natively.",href:"/for/mcp"}],u={react:{label:"React / TypeScript",raw:"I work on a React + TypeScript project. We use pnpm workspaces, Vite, and Zustand for state management. React Query for all data fetching — never fetch in components directly.\n\nAlways prefer functional components and hooks, never class components. Avoid useEffect for data fetching. Use explicit types everywhere, no any.\n\nWe deploy on Vercel. Branch naming: feat/, fix/, chore/.\n\nThis sprint we're building the settings page (PR #234 is in review). The deadline is this Friday. We shipped the auth refactor last week.",universal:["React + TypeScript, pnpm workspaces, Vite","Zustand for state \xb7 React Query for data — never fetch in components","Functional components + hooks only, no class components","No useEffect for data fetching \xb7 Explicit types, no any","Vercel deploys \xb7 Branch: feat/, fix/, chore/"],project:["Sprint: building settings page","PR #234 in review"],stale:["Deadline this Friday","Shipped auth refactor last week"]},node:{label:"Node.js API",raw:"Node.js 20 + TypeScript strict. Express with Zod validation on every route. PostgreSQL with Drizzle ORM — never raw SQL strings.\n\npnpm only. All async functions must have explicit return types. Typed errors only, never generic Error().\n\nGitOps via GitHub Actions → Azure AKS. Never merge without passing CI.\n\nCurrently fixing the JWT refresh bug (issue #189). Enterprise demo deadline is Monday.",universal:["Node.js 20 + TypeScript strict \xb7 Express + Zod on every route","PostgreSQL with Drizzle ORM — no raw SQL strings","Explicit return types on all async functions","Typed errors only, never generic Error()","GitOps via GitHub Actions → Azure AKS \xb7 CI must pass before merge"],project:["Fixing JWT refresh bug (issue #189)"],stale:["Enterprise demo deadline Monday"]},python:{label:"Python / ML",raw:"Python 3.12, FastAPI, SQLAlchemy async. Type hints everywhere — no bare except, no mutable default args.\n\nWe use pytest with fixtures, no unittest. Test names: test_<what>_<when>_<expect>.\n\nPyTorch 2.1 — don't upgrade mid-sprint. CUDA 12.1 on the training cluster.\n\nBuilding inference endpoint for new model (PR #45). model_v1 was deprecated last quarter — don't reference it.",universal:["Python 3.12, FastAPI, SQLAlchemy async","Type hints everywhere — no bare except, no mutable defaults","pytest only \xb7 Pattern: test_<what>_<when>_<expect>","PyTorch 2.1 + CUDA 12.1 — no mid-sprint upgrades"],project:["Building inference endpoint (PR #45)"],stale:["model_v1 deprecated last quarter — don't reference it"]}},f=[/\b(always|never|avoid|prefer|don't|do not|must|should|only use|we use|we follow|we prefer|our stack|our convention)\b/i,/\b(TypeScript|JavaScript|Python|Go|Rust|Node|React|Vue|Next|Nuxt|Django|FastAPI|Express|Flask|Rails|Svelte)\b/i,/\b(pnpm|npm|yarn|pip|cargo|bun|poetry)\b/i,/\b(strict|explicit types?|type hints?|no any)\b/i,/\b(GitOps|CI\/CD|GitHub Actions?|ArgoCD|Kubernetes|k8s)\b/i,/\b(PostgreSQL|MySQL|MongoDB|Redis|SQLite|Drizzle|Prisma|SQLAlchemy|TypeORM)\b/i,/\b(functional components?|hooks?|class components?|useEffect|async\/await)\b/i,/\b(deploy|vercel|netlify|aws|azure|gcp|heroku|railway)\b/i,/\b(test|pytest|jest|vitest|unittest|rspec)\b/i],y=[/\b(this sprint|this week|currently|right now|today|working on|building)\b/i,/\bPR\s*#\d+\b/i,/\b(issue|ticket|jira|linear)\s*#?\d*/i,/\b(deadline|due|b
1y\s+(monday|tuesday|wednesday|thursday|friday|saturday|sunday))\b/i],v=[/\b(last week|last sprint|last month|yesterday|we shipped|we fixed|we completed|was deprecated|old model|previous version)\b/i];function b(){let[e,r]=(0,n.useState)("claude"),[o,i]=(0,n.useState)(!1),[b,j]=(0,n.useState)(1),[w,S]=(0,n.useState)(0),[k,F]=(0,n.useState)(!0),[z,B]=(0,n.useState)(0),[C,W]=(0,n.useState)("work"),[T,I]=(0,n.useState)(!0),R=(0,n.useRef)(null),A=(0,n.useRef)(null),[N,D]=(0,n.useState)(!1),[L,H]=(0,n.useState)([!1,!1,!1]),[P,E]=(0,n.useState)([!1,!1,!1]),[G,M]=(0,n.useState)(["Waiting for sync…","Waiting for sync…","First session…"]),[O,Y]=(0,n.useState)(["pending","pending","new hire"]),[_,Q]=(0,n.useState)([0,0,0]),[J,q]=(0,n.useState)(0),V=(0,n.useRef)(null),U=(0,n.useRef)(null),K=(0,n.useRef)({}),[Z,$]=(0,n.useState)("example"),[X,ee]=(0,n.useState)("react"),[er,eo]=(0,n.useState)(""),et=l.find(r=>r.key===e),en=p[C],ei=er.trim()?function(e){let r=e.split("\n").map(e=>e.trim()).filter(e=>e.length>10),o=[],t=[],n=[];for(let e of r)v.some(r=>r.test(e))?n.push(e):f.some(r=>r.test(e))?o.push(e):y.some(r=>r.test(e))&&t.push(e);return{universal:o,project:t,stale:n}}(er):null;(0,n.useEffect)(()=>{if("claude"!==e)return;j(1);let r=1,o=setInterval(()=>{j(r=Math.min(r+1,47)),r>=47&&clearInterval(o)},60);return()=>clearInterval(o)},[e]);let ea=(0,n.useCallback)(e=>{var r;A.current&&cancelAnimationFrame(A.current),R.current&&clearTimeout(R.current),B(0);let o=null!==(r=c[e])&&void 0!==r?r:3e3,t=performance.now();A.current=requestAnimationFrame(function e(r){let n=Math.min((r-t)/o,1);B(n),n<1&&(A.current=requestAnimationFrame(e))}),R.current=setTimeout(()=>{k&&S(e=>(e+1)%d.length)},o)},[k]);(0,n.useEffect)(()=>{if(k)return ea(w),()=>{A.current&&cancelAnimationFrame(A.current),R.current&&clearTimeout(R.current)}},[w,k,ea]),(0,n.useEffect)(()=>{if(!T)return;let e=setInterval(()=>{W(e=>{var r;return null!==(r=m[(m.indexOf(e)+1)%3])&&void 0!==r?r:"work"})},3500);return()=>clearInterval(e)},[T]),(0,n.useEffect)(()=>{let e=[];return function r(){D(!1),H([!1,!1,!1]),E([!1,!1,!1]),M(["Waiting for sync…","Waiting for sync…","First session…"]),Y(["pending","pending","new hire"]),Q([0,0,0]),q(e=>e+1),e.push(setTimeout(()=>D(!0),600)),e.push(setTimeout(()=>
1H([!0,!1,!1]),1200)),e.push(setTimeout(()=>H([!0,!0,!1]),1400)),e.push(setTimeout(()=>H([!0,!0,!0]),1600)),e.push(setTimeout(()=>{E([!0,!1,!1]),M(e=>["Context updated — sprint freeze loaded",e[1],e[2]]),Y(e=>["synced",e[1],e[2]]),Q([2,0,0])},2200)),e.push(setTimeout(()=>{E([!0,!0,!1]),M(e=>[e[0],"Context updated — auth refactor context loaded",e[2]]),Y(e=>[e[0],"synced",e[2]]),Q([2,3,0])},2700)),e.push(setTimeout(()=>{E([!0,!0,!0]),M(["Context updated — sprint freeze loaded","Context updated — auth refactor context loaded","Team context loaded — all conventions ready on day 1"]),Y(["synced","synced","ready"]),Q([2,3,4])},3200)),e.push(setTimeout(r,6800))}(),()=>e.forEach(clearTimeout)},[]),(0,n.useEffect)(()=>{let e=[{key:"claude",angle:0,color:"#F59E0B"},{key:"chatgpt",angle:60,color:"#10B981"},{key:"copilot",angle:120,color:"#3B82F6"},{key:"gemini",angle:180,color:"#818CF8"},{key:"cursor",angle:240,color:"#4F46E5"},{key:"windsurf",angle:300,color:"#06B6D4"}];function r(){let r=V.current,o=U.current;if(!r||!o)return;let t=r.offsetWidth,n=r.offsetHeight,i=t/2,a=n/2,s=Math.min(.34*t,130);for(;o.firstChild;)o.removeChild(o.firstChild);e.forEach((e,r)=>{let t=(e.angle-90)*Math.PI/180,n=i+s*Math.cos(t),l=a+s*Math.sin(t),d=K.current[e.key];d&&(d.style.left=n-d.offsetWidth/2+"px",d.style.top=l-d.offsetHeight/2+"px",d.style.opacity="1");let c=document.createElementNS("http://www.w3.org/2000/svg","line");c.setAttribute("x1",String(i)),c.setAttribute("y1",String(a)),c.setAttribute("x2",String(n)),c.setAttribute("y2",String(l)),c.setAttribute("stroke","rgba(245,158,11,0.18)"),c.setAttribute("stroke-width","1.5"),o.appendChild(c);let p=document.createElementNS("http://www.w3.org/2000/svg","line");p.setAttribute("x1",String(i)),p.setAttribute("y1",String(a)),p.setAttribute("x2",String(n)),p.setAttribute("y2",String(l)),p.setAttribute("stroke",e.color),p.setAttribute("stroke-width","2"),p.setAttribute("stroke-dasharray","5 4"),p.setAttribute("opacity","0.6"),p.style.animation="ta-flow 0.8s linear infinite",p.style.animationDelay=.18*r+"s",o.appendChild(p)})}let o=setTimeout(r,80);return window.addEventListener("resize",r),()=>{clearTimeout(o),window.removeEventListener("resize",r)}},[]);let es=d[w];return(0,t.jsxs)("div",{className:"lp",children:[(0,t.jsx)("div",{className:"lp-nav-accent","aria-hidden":"true"}),(0,t.jsxs)("nav",{className:"lp-nav",children:[(0,t.jsxs)(a(),{href:"/",className:"lp-logo",children:[(0,t.jsx)(s.p,{size:28}),"forgein"]}),(0,t.jsxs)("div",{className:"lp-nav-links",children:[(0,t.jsx)("a",{href:"#cold-start",className:"lp-nav-link",children:"Why"}),(0,t.jsx)("a",{href:"#ctx",className:"lp-nav-link",children:"Contexts"}),(0,t.jsx)("a",{href:"#team",className:"lp-nav-link",children:"Teams"}),(0,t.jsxs)("div",{className:"lp-nav-dropdown",children:[(0,t.jsx)("span",{className:"lp-nav-link lp-nav-dropdown-trigger",children:"Integrations ▾"}),(0,t.jsxs)("div",{className:"lp-nav-dropdown-menu",children:[(0,t.jsx)(a(),{href:"/for/claude-code",className:"lp-nav-dropdown-item",children:"Claude Code"}),(0,t.jsx)(a(),{href:"/for/chatgpt",className:"lp-nav-dropdown-item",children:"ChatGPT"}),(0,t.jsx)(a(),{href:"/for/copilot",className:"lp-nav-dropdown-item",children:"Copilot"}),(0,t.jsx)(a(),{href:"/for/gemini",className:"lp-nav-dropdown-item",children:"Gemini"}),(0,t.jsx)(a(),{href:"/for/cursor",className:"lp-nav-dropdown-item",children:"Cursor"}),(0,t.jsx)(a(),{href:"/for/windsurf",className:"lp-nav-dropdown-item",children:"Windsurf"}),(0,t.jsx)(a(),{href:"/for/mcp",className:"lp-nav-dropdown-item",children:"MCP Server"})]})]}),(0,t.jsxs)("div",{className:"lp-nav-dropdown",children:[(0,t.jsx)("span",{className:"lp-nav-link lp-nav-dropdown-trigger",children:"Developers ▾"}),(0,t.jsxs)("div",{className:"lp-nav-dropdown-menu",children:[(0,t.jsx)(a(),{href:"/cli",className:"lp-nav-dropdown-item",children:"CLI reference"}),(0,t.jsx)(a(),{href:"/docs",className:"lp-nav-dropdown-item",children:"Docs"}),(0,t.jsx)(a(),{href:"/open",className:"lp-nav-dropdown-item",children:"Open source"}),(0,t.jsx)(a(),{href:"/changelog",className:"lp-nav-dropdown-item",children:"Changelog"})]})]}),(0,t.jsx)("a",{href:"https://github.com/forgeinai/forgein",target:"_blank",rel:"noopener",className:"lp-nav-link",children:"GitHub"}),(0,t.jsx)(a(),{href:"/login",className:"lp-nav-link",children:"Sign in"}),(0,t.jsx)(a(),{href:"/signup",className:"lp-cta-sm",children:"Get started free ›"}),(0,t.jsx)("button",{className:"lp-nav-theme","aria-label":"Toggle theme",onClick:()=>{let e=document.documentElement,r="light"===e.getAttribute("data-theme")?"dark":"light";e.setAttribute("data-theme",r)},children:(0,t.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("circle",{cx:"12",cy:"12",r:"5"}),(0,t.jsx)("line",{x1:"12",y1:"1",x2:"12",y2:"3"}),(0,t.jsx)("line",{x1:"12",y1:"21",x2:"12",y2:"23"}),(0,t.jsx)("line",{x1:"4.22",y1:"4.22",x2:"5.64",y2:"5.64"}),(0,t.jsx)("line",{x1:"18.36",y1:"18.36",x2:"19.78",y2:"19.78"}),(0,t.jsx)("line",{x1:"1",y1:"12",x2:"3",y2:"12"}),(0,t.jsx)("line",{x1:"21",y1:"12",x2:"23",y2:"12"}),(0,t.jsx)("line",{x1:"4.22",y1:"19.78",x2:"5.64",y2:"18.36"}),(0,t.jsx)("line",{x1:"18.36",y1:"5.64",x2:"19.78",y2:"4.22"})]})})]})]}),(0,t.jsxs)("section",{style:{padding:"60px 0 48px"},children:[(0,t.jsx)("div",{style:{display:"flex",gap:2,marginBottom:36,background:"var(--surface2)",border:"1px solid var(--border2)",borderRadius:10,padding:4,flexWrap:"nowrap",overflowX:"auto"},children:l.map(o=>{let n=e===o.key;return(0,t.jsxs)("button",{onClick:()=>r(o.key),style:{flex:"1 1 0",minWidth:0,display:"flex",alignItems:"center",gap:7,padding:"8px 12px",borderRadius:7,border:n?"1px solid ".concat(o.colorB):"1px solid transparent",background:n?o.colorLo:"transparent",curs
1or:"pointer",transition:"all .15s",whiteSpace:"nowrap"},children:[(0,t.jsx)("span",{style:{width:20,height:20,borderRadius:4,display:"grid",placeItems:"center",background:n?o.color:"var(--border2)",color:n?"#000":"var(--muted)",fontFamily:"var(--mono)",fontSize:".65rem",fontWeight:900,flexShrink:0,transition:"all .15s"},children:o.icon}),(0,t.jsx)("span",{style:{fontFamily:"var(--mono)",fontSize:".72rem",fontWeight:700,color:n?o.color:"var(--muted)",overflow:"hidden",textOverflow:"ellipsis"},children:o.label}),(0,t.jsx)("span",{style:{width:6,height:6,borderRadius:"50%",background:"#34D399",flexShrink:0,animation:n?"pulse 1.5s infinite":"none",opacity:n?1:.35}}),(0,t.jsx)("span",{style:{fontFamily:"var(--mono)",fontSize:".57rem",fontWeight:700,letterSpacing:".04em",textTransform:"uppercase",padding:"1px 5px",borderRadius:3,background:"#34D399",color:"#000",flexShrink:0},children:"Live"})]},o.key)})}),(0,t.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:10,marginBottom:32,flexWrap:"wrap"},children:[(0,t.jsx)("span",{style:{fontFamily:"var(--mono)",fontSize:".65rem",letterSpacing:".08em",textTransform:"uppercase",color:"var(--muted)",whiteSpace:"nowrap"},children:"Works with →"}),[{label:"Claude Code",color:"#F59E0B"},{label:"ChatGPT",color:"#10B981"},{label:"Copilot",color:"#3B82F6"},{label:"Gemini",color:"#818CF8"},{label:"Cursor",color:"#4F46E5"},{label:"Windsurf",color:"#06B6D4"}].map(e=>(0,t.jsx)("span",{style:{fontFamily:"var(--mono)",fontSize:".68rem",fontWeight:700,padding:"3px 9px",borderRadius:4,background:"var(--surface)",border:"1px solid var(--border)",color:e.color,whiteSpace:"nowrap"},children:e.label},e.label)),(0,t.jsx)("span",{style:{fontFamily:"var(--mono)",fontSize:".65rem",color:"var(--muted)",whiteSpace:"nowrap"},children:"+ any MCP tool"})]}),(0,t.jsxs)("div",{className:"lp-hero-inner",style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:40,alignItems:"center"},children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:10,marginBottom:18,flexWrap:"wrap"},children:[(0,t.jsxs)("div",{style:{display:"inline-flex",alignItems:"center",gap:6,padding:"4px 10px",borderRadius:20,background:et.colorLo,border:"1px solid ".concat(et.colorB),transition:"all .2s"},children:[(0,t.jsx)("span",{style:{width:7,height:7,borderRadius:"50%",background:"#34D399",animation:"pulse 1.5s infinite"}}),(0,t.jsx)("span",{style:{fontFamily:"var(--mono)",fontSize:".65rem",fontWeight:700,color:"#34D399",letterSpacing:".06em",textTransform:"uppercase"},children:"Live now"})]}),(0,t.jsx)("span",{style:{fontFamily:"var(--mono)",fontSize:".65rem",color:"var(--muted)"},children:"|"}),(0,t.jsx)("span",{style:{fontFamily:"var(--mono)",fontSize:".65rem",letterSpacing:".08em",textTransform:"uppercase",color:"var(--muted2)"},children:"AI Context Layer"})]}),(0,t.jsxs)("h1",{style:{fontFamily:"var(--mono)",fontSize:"clamp(1.75rem, 3.8vw, 2.6rem)",fontWeight:800,lineHeight:1.1,letterSpacing:"-.02em",marginBottom:16},children:["Stop",(0,t.jsx)("br",{}),(0,t.jsx)("span",{style:{color:"var(--red)"},children:"explaining yourself"}),(0,t.jsx)("br",{}),"to"," ",(0,t.jsx)("span",{style:{color:"var(--accent)"},children:"any AI."})]}),(0,t.jsx)("p",{style:{fontSize:".93rem",color:"var(--muted2)",lineHeight:1.7,marginBottom:24,maxWidth:420},children:"claude"===e?(0,t.jsxs)(t.Fragment,{children:["You've taught your AI your stack, your team's conventions, how you think. It shouldn't reset — ",(0,t.jsx)("strong",{style:{color:"var(--text)",fontWeight:700},children:"on any machine, in any session, in any AI tool."})]}):et.heroCopy}),"claude"===e?(0,t.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:12},children:[(0,t.jsxs)("div",{style:{background:"var(--surface2)",border:"1px solid var(--border)",borderRadius:7,padding:"10px 14px"},children:[(0,t.jsx)("div",{style:{fontFamily:"var(--mono)",fontSize:".6rem",letterSpacing:".08em",textTransform:"uppercase",color:"var(--muted)",marginBottom:6},children:"install forgein"}),(0,t.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:8},children:[(0,t.jsx)("code",{style:{fontFamily:"var(--mono)",fontSize:".7rem",color:"#34D399",flex:1,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:"curl -fsSL app.forgein.ai/cli/install | bash"}),(0,t.jsx)("button",{onClick:function(){navigator.clipboard.writeText("curl -fsSL https://app.forgein.ai/cli/install | bash").then(()=>{i(!0),setTimeout(()=>i(!1),2e3)})},style:{fontFamily:"var(--mono)",fontSize:".68rem",fontWeight:600,color:o?"#34D399":"var(--muted2)",border:"1px solid ".concat(o?"#34D399":"var(--border2)"),borderRadius:4,padding:"3px 9px",background:"none",cursor:"pointer",flexShrink:0,transition:"all .12s"},children:o?"copied!":"copy"})]})]}),(0,t.jsxs)("div",{style:{display:"flex",gap:10,alignItems:"center"},children:[(0,t.jsx)(a(),{href:"/signup",className:"lp-btn-primary",style:{flex:1,textAlign:"center",textDecoration:"none"},children:"Get started free →"}),(0,t.jsxs)("a",{href:"https://github.com/forgeinai/forgein",target:"_blank",rel:"noopener",style:{display:"inline-flex",alignItems:"center",gap:6,fontFamily:"var(--mono)",fontSize:".74rem",color:"var(--muted2)",textDecoration:"none",whiteSpace:"nowrap"},children:[(0,t.jsx)("svg",{width:"15",height:"15",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"})}),"GitHub"]})]}),(0,t.jsxs)("div",{style:{display:"flex",gap:16,flexWrap:"wrap",fontFamily:"var(--mono)",fontSize:".65rem",color:"var(--muted)"},children:[(0,t.jsx)("span",{children:"MIT CLI \xb7 Free forever"}),(0,t.jsx)("span",{style:{opacity:.4},children:"\xb7"}),(0,t.jsx)("span",{style:{color:"#34D399"},children:"● Active devs using forgein today"})]})]}):(0,t.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:10},children:[(0,t.jsx)(a(),{href:"/signup",style:{display:"inline-block",background:et.color,color:"chatgpt"===e?"#fff":"#000",border:"none",borderRadius:7,padding:"10px 22px",fontFamily:"var(--mono)",fontSize:".8rem",fontWeight:700,cursor:"pointer",textDecoration:"none",width:"fit-content",transition:"opacity .12s"},children:"Get started free →"}),(0,t.jsx)("div",{style:{fontFamily:"var(--mono)",fontSize:".68rem",color:"var(--muted)"},children:"Free forever \xb7 no credit card"})]})]}),(0,t.jsx)("div",{children:"claude"===e?(0,t.jsxs)("div",{style:{background:"var(--surface)",border:"1px solid var(--border)",borderRadius:10,overflow:"hidden"},children:[(0,t.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:6,padding:"10px 14px",background:"var(--surface2)",borderBottom:"1px solid var(--border)"},children:[(0,t.jsx)("span",{style:{width:10,height:10,borderRadius:"50%",background:"#F87171",flexShrink:0}}),(0,t.jsx)("span",{style:{width:10,height:10,borderRadius:"50%",background:"#FBBF24",flexShrink:0}}),(0,t.jsx)("span",{style:{width:10,height:10,borderRadius:"50%",background:"#34D399",flexShrink:0}}),(0,t.jsx)("span",{style:{marginLeft:8,fontFamily:"var(--mono)",fontSize:".68rem",color:"var(--muted)"},children:"new AI session"})]}),(0,t.jsx)("div",{style:{padding:"16px 14px",display:"flex",flexDirection:"column",gap:14,maxHeight:320,overflowY:"auto"},children:[{day:"Monday",badge:null},{day:"Wednesday",badge:"AGAIN?"},{day:"Friday \xb7 New Machine",badge:"REALLY??"}].map((e,r)=>(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:6,marginBottom:8},children:[(0,t.jsx)("span",{style:{fontFamily:"var(--mono)",fontSize:".6rem",letterSpacing:".1em",textTransform:"uppercase",color:"var(--muted)"},children:e.day}),e.badge&&(0,t.jsx)("span",{style:{fontFamily:"var(--mono)",fontSize:".57rem",fontWeight:700,padding:"1px 5px",borderRadius:3,background:"rgba(248,113,113,0.13)",border:"1px solid rgba(248,113,113,0.3)",color:"var(--red)"},children:e.badge})]}),(0,t.jsxs)("div",{style:{display:"flex",gap:7},children:[(0,t.jsx)("div",{style:{width:22,height:22,borderRadius:"50%",display:"grid",placeItems:"center",fontSize:".58rem",fontWeight:800,flexShrink:0,background:"linear-gradient(135deg,#1E3A5F,#2D5F8A)",color:"#fff"},children:"S"}),(0,t.jsxs)("div",{style:{borderRadius:6,padding:"7px 10px",fontFamily:"var(--mono)",fontSize:".68rem",lineHeight:1.55,background:"rgba(59,130,246,0.08)",border:"1px solid rgba(59,130,246,0.18)",color:"var(--text)"},children:["I work on a Next.js 15 app. We use Drizzle ORM, never use ","// TODO"," comments..."," ",r>0&&(0,t.jsxs)("span",{style:{color:"var(--muted)"},children:["[same block",2===r?", again":"","]"]})]})]})]},e.day))}),(0,t.jsxs)("div",{style:{padding:"12px 14px",borderTop:"1px solid var(--border)",display:"flex",alignItems:"center",justifyContent:"space-between",background:"var(--surface2)"},children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{style:{fontFamily:"var(--mono)",fontSize:".62rem",color:"var(--muted)",marginBottom:2},children:"Times you've typed this this month alone"}),(0,t.jsx)("div",{style:{fontFamily:"var(--mono)",fontSize:"1.5rem",fontWeight:800,color:"#F87171",letterSpacing:"-.03em",fontVariantNumeric:"tabular-nums"},children:b})]}),(0,t.jsx)("div",{style:{fontFamily:"var(--mono)",fontSize:".68rem",color:"#34D399",textAlign:"right"},children:"▸ forgein eliminates this"})]})]}):(0,t.jsxs)("div",{style:{background:"var(--surface)",border:"1px solid ".concat(et.colorB),borderRadius:10,overflow:"hidden",transition:"border-color .2s"},children:[(0,t.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",background:"var(--surface2)",borderBottom:"1px solid var(--border)"},children:[(0,t.jsx)("div",{style:{padding:"10px 14px",fontFamily:"var(--mono)",fontSize:".64rem",letterSpacing:".06em",textTransform:"uppercase",color:"var(--red)",borderRight:"1px solid var(--border)"},children:"✕ Without"}),(0,t.jsx)("div",{style:{padding:"10px 14px",fontFamily:"var(--mono)",fontSize:".64rem",letterSpacing:".06em",textTransform:"uppercase",color:"#34D399"},children:"✓ With forgein"})]}),et.withoutBullets.map((e,r)=>(0,t.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",borderBottom:"1px solid var(--border)"},children:[(0,t.jsx)("div",{style:{padding:"10px 14px",fontSize:".76rem",color:"var(--muted2)",lineHeight:1.5,borderRight:"1px solid var(--border)"},children:e}),(0,t.jsx)("div",{style:{padding:"10px 14px",fontSize:".76rem",color:"var(--text)",lineHeight:1.5,fontWeight:500},children:et.withBullets[r]})]},r)),(0,t.jsx)("div",{style:{padding:"11px 14px",background:"".concat(et.colorLo),fontFamily:"var(--mono)",fontSize:".69rem",color:et.color,transition:"background .2s, color .2s"},children:et.withFooter})]})})]})]}),(0,t.jsxs)("section",{className:"lp-section",children:[(0,t.jsx)("div",{className:"lp-label",children:"How it works"}),(0,t.jsx)("h2",{style:{fontFamily:"var(--mono)",fontSize:"clamp(1.2rem, 2.8vw, 1.75rem)",fontWeight:800,lineHeight:1.15,marginBottom:28},children:"Set up once. Works forever."}),(0,t.jsx)("div",{style:{display:"grid",gridTemplateColumns:"repeat(3, 1fr)",gap:12},className:"lp-steps-grid",children:[{n:"01",h:"Install the CLI",p:"One 
1curl command. Works on any machine, any OS. No config files to hand-edit.",code:"curl -fsSL app.forgein.ai/cli/install | bash"},{n:"02",h:"Write your context once",p:"Your stack, your conventions, your preferences — in plain Markdown. forgein stores it and keeps it in sync.",code:'forgein mem add "We use TypeScript strict mode, pnpm, and Drizzle ORM"'},{n:"03",h:"Every AI session starts warm",p:"Switch machines, switch AI tools, start a new chat — your context is always already there.",code:'# No more "Let me explain our setup..." ever again'}].map(e=>(0,t.jsxs)("div",{style:{background:"var(--surface)",border:"1px solid var(--border)",borderRadius:10,padding:"22px 20px",display:"flex",flexDirection:"column",gap:12},children:[(0,t.jsx)("div",{style:{fontFamily:"var(--mono)",fontSize:"1.6rem",fontWeight:900,color:"var(--accent)",lineHeight:1,letterSpacing:"-.04em"},children:e.n}),(0,t.jsx)("div",{style:{fontFamily:"var(--mono)",fontSize:".85rem",fontWeight:700},children:e.h}),(0,t.jsx)("div",{style:{fontSize:".8rem",color:"var(--muted2)",lineHeight:1.65,flex:1},children:e.p}),(0,t.jsx)("div",{style:{fontFamily:"var(--mono)",fontSize:".66rem",color:"#34D399",background:"rgba(52,211,153,0.07)",border:"1px solid rgba(52,211,153,0.15)",borderRadius:5,padding:"8px 10px",lineHeight:1.5,wordBreak:"break-all"},children:e.code})]},e.n))})]}),(0,t.jsxs)("section",{className:"lp-section",id:"cold-start",children:[(0,t.jsx)("div",{className:"lp-label",children:"What's actually costing you"}),(0,t.jsxs)("h2",{style:{fontFamily:"var(--mono)",fontSize:"clamp(1.3rem, 3vw, 1.9rem)",fontWeight:800,lineHeight:1.15,marginBottom:14,maxWidth:560},children:["You're doing AI's job for it.",(0,t.jsx)("br",{}),"Every single day."]}),(0,t.jsx)("p",{style:{color:"var(--muted2)",marginBottom:20,fontSize:".9rem",lineHeight:1.7,maxWidth:540},children:"This isn't a Claude problem. This isn't a ChatGPT problem. It's a universal problem — every AI, every machine, every restart."}),(0,t.jsxs)("div",{style:{background:"var(--surface)",border:"1px solid var(--border)",borderRadius:10,overflow:"hidden"},children:[(0,t.jsx)("div",{style:{height:2,background:"var(--border)",position:"relative"},children:(0,t.jsx)("div",{style:{position:"absolute",left:0,top:0,height:"100%",width:"".concat(100*z,"%"),background:es.bad?"var(--red)":"#34D399",transition:"background .3s"}})}),(0,t.jsxs)("div",{style:{padding:"24px 28px 20px",minHeight:180},children:[(0,t.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"flex-start",gap:20,marginBottom:16},children:[(0,t.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:8,flexWrap:"wrap"},children:[(0,t.jsx)("span",{style:{fontFamily:"var(--mono)",fontSize:".68rem",letterSpacing:".08em",color:es.bad?"var(--muted)":"#34D399",textTransform:"uppercase"},children:es.tag}),"aside"in es&&es.aside&&(0,t.jsx)("span",{style:{fontFamily:"var(--mono)",fontSize:".6rem",fontWeight:700,padding:"1px 5px",borderRadius:3,background:"rgba(248,113,113,0.13)",border:"1px solid rgba(248,113,113,0.3)",color:"var(--red)"},children:es.aside})]}),(0,t.jsxs)("div",{style:{textAlign:"right",flexShrink:0},children:[(0,t.jsx)("div",{style:{fontFamily:"var(--mono)",fontSize:"2rem",fontWeight:800,letterSpacing:"-.04em",lineHeight:1,color:es.bad?"#f87171":"#34D399"},children:es.stat}),(0,t.jsx)("div",{style:{fontFamily:"var(--mono)",fontSize:".62rem",color:"var(--muted)",marginTop:2},children:es.statLabel})]})]}),es.chat.length>0&&(0,t.jsx)("div",{style:{display:"flex",flexDirection:"column",gap:7},children:es.chat.map((e,r)=>(0,t.jsxs)("div",{style:{display:"flex",gap:7,alignItems:"flex-start"},children:[(0,t.jsx)("div",{style:{width:20,height:20,borderRadius:"50%",display:"grid",placeItems:"center",fontSize:".52rem",fontWeight:800,flexShrink:0,marginTop:2,background:"u"===e.role?"linear-gradient(135deg,#1E3A5F,#2D5F8A)":"var(--surface2)",color:"u"===e.role?"#fff":"var(--muted)",border:"a"===e.role?"1px solid var(--border)":"none"},children:"u"===e.role?"S":"AI"}),(0,t.jsxs)("div",{style:{borderRadius:5,padding:"6px 10px",fontFamily:"var(--mono)",fontSize:".7rem",lineHeight:1.5,maxWidth:"88%",background:"u"===e.role?"rgba(59,130,246,0.09)":"var(--surface2)",border:"u"===e.role?"1px solid rgba(59,130,246,0.18)":"1px solid var(--border)",color:"u"===e.role?"var(--text)":"var(--muted2)"},children:[e.text,(0,t.jsx)("span",{style:{color:"var(--muted)"},children:e.dim})]})]},r))}),!es.bad&&(0,t.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:8},children:[(0,t.jsxs)("div",{style:{fontFamily:"var(--mono)",fontSize:".7rem",background:"rgba(52,211,153,0.07)",border:"1px solid rgba(52,211,153,0.18)",borderRadius:4,padding:"9px 11px",lineHeight:1.6,color:"#34D399"},children:["✓ Work context loaded automatically",(0,t.jsx)("br",{}),(0,t.jsxs)("span",{style:{color:"var(--muted)"},children:["  ","› codebase-conventions.md"]}),(0,t.jsx)("br",{}),(0,t.jsxs)("span",{style:{color:"var(--muted)"},children:["  ","› team-prefs.md"]}),(0,t.jsx)("br",{}),(0,t.jsxs)("span",{style:{color:"var(--muted)"},children:["  ","› sprint-context.md \xb7 3 more files"]})]}),(0,t.jsxs)("div",{style:{display:"flex",gap:7,alignItems:"flex-start"},children:[(0,t.jsx)("div",{style:{width:20,height:20,borderRadius:"50%",display:"grid",placeItems:"center",fontSize:".52rem",fontWeight:800,flexShrink:0,marginTop:2,background:"var(--surface2)",color:"var(--muted)",border:"1px solid rgba(52,211,153,0.3)"},children:"AI"}),(0,t.jsx)("div",{style:{borderRadius:5,padding:"6px 10px",fontFamily:"var(--mono)",fontSize:".7rem",lineHeight:1.5,background:"var(--surface2)",border:"1px solid rgba(52,211,153,0.18)",color:"var(--muted2)"}
1,children:"Ready. I know your stack, your conventions, your current sprint. What are we building?"})]}),(0,t.jsx)("div",{style:{fontFamily:"var(--mono)",fontSize:".62rem",color:"var(--muted)",marginTop:4},children:es.note})]})]}),(0,t.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:6,padding:"10px 28px",borderTop:"1px solid var(--border)",background:"var(--surface2)"},children:[d.map((e,r)=>(0,t.jsx)("button",{onClick:()=>{S(r),F(!1),A.current&&cancelAnimationFrame(A.current),R.current&&clearTimeout(R.current),B(0)},style:{height:4,border:"none",padding:0,cursor:"pointer",borderRadius:2,transition:"width .25s, background .2s",width:w===r?28:8,background:w===r?r===d.length-1?"#34D399":"var(--accent)":"var(--border2)"}},r)),(0,t.jsx)("span",{style:{marginLeft:"auto",fontFamily:"var(--mono)",fontSize:".62rem",color:"var(--muted)"},children:w===d.length-1?"✓ solved with forgein":"".concat(w+1," of ").concat(d.length-1)})]})]}),(0,t.jsx)("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(190px, 1fr))",gap:1,background:"var(--border)",border:"1px solid var(--border)",borderRadius:10,overflow:"hidden",marginTop:24},children:h.map(e=>(0,t.jsxs)("div",{style:{background:"var(--surface)",padding:"20px 18px"},children:[(0,t.jsx)("div",{style:{fontSize:"1.05rem",marginBottom:10},children:e.icon}),(0,t.jsx)("div",{style:{fontSize:".86rem",fontWeight:700,marginBottom:6},children:e.h}),(0,t.jsx)("div",{style:{fontSize:".77rem",color:"var(--muted2)",lineHeight:1.65},children:e.p}),(0,t.jsxs)("div",{style:{fontFamily:"var(--mono)",fontSize:".69rem",color:"#34D399",marginTop:9,display:"flex",alignItems:"center",gap:4},children:[(0,t.jsx)("span",{children:"›"}),e.fix]})]},e.h))})]}),(0,t.jsxs)("section",{className:"lp-section",id:"scanner",style:{borderTop:"1px solid var(--border-subtle)"},children:[(0,t.jsx)("div",{className:"lp-label",children:"See what you've been repeating"}),(0,t.jsxs)("h2",{style:{fontFamily:"var(--mono)",fontSize:"clamp(1.3rem, 3vw, 1.9rem)",fontWeight:800,lineHeight:1.15,marginBottom:14,maxWidth:600},children:["Paste your context.",(0,t.jsx)("br",{}),"See what's worth remembering."]}),(0,t.jsx)("p",{style:{color:"var(--muted2)",marginBottom:28,lineHeight:1.65,maxWidth:580,fontSize:".9rem"},children:"Every session you retype the same stack, conventions, and constraints. forgein extracts what's permanent and files it away — so you never have to say it again."}),(0,t.jsx)("div",{style:{display:"flex",gap:8,marginBottom:28},children:["example","try"].map(e=>(0,t.jsx)("button",{onClick:()=>$(e),style:{padding:"7px 18px",borderRadius:999,fontSize:".82rem",fontWeight:600,cursor:"pointer",border:Z===e?"none":"1px solid var(--border-subtle)",background:Z===e?"var(--accent)":"transparent",color:Z===e?"#000":"var(--muted2)"},children:"example"===e?"◆ See an example":"⌨ Paste yours"},e))}),"example"===Z&&(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{style:{display:"flex",gap:8,marginBottom:20,flexWrap:"wrap"},children:Object.keys(u).map(e=>(0,t.jsx)("button",{onClick:()=>ee(e),style:{padding:"5px 14px",borderRadius:999,fontSize:".78rem",fontWeight:600,cursor:"pointer",border:X===e?"1px solid var(--accent)":"1px solid var(--border-subtle)",background:X===e?"rgba(90,208,150,.12)":"transparent",color:X===e?"var(--accent)":"var(--muted2)"},children:u[e].label},e))}),(0,t.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(300px, 1fr))",gap:16,maxWidth:900},children:[(0,t.jsxs)("div",{style:{background:"var(--card)",borderRadius:12,padding:20,border:"1px solid var(--border-subtle)"},children:[(0,t.jsxs)("div",{style:{fontFamily:"var(--mono)",fontSize:".7rem",color:"var(--muted2)",marginBottom:12},children:[(0,t.jsx)("span",{style:{opacity:.4},children:"●"})," What you paste ",(0,t.jsx)("strong",{children:"every session"})]}),(0,t.jsx)("pre",{style:{fontFamily:"var(--mono)",fontSize:".73rem",color:"var(--muted2)",lineHeight:1.7,whiteSpace:"pre-wrap",wordBreak:"break-word",margin:0},children:u[X].raw})]}),(0,t.jsxs)("div",{style:{background:"var(--card)",borderRadius:12,padding:20,border:"1px solid var(--border-subtle)"},children:[(0,t.jsxs)("div",{style:{fontFamily:"var(--mono)",fontSize:".7rem",color:"#34D399",marginBottom:12},children:["✓ What forgein ",(0,t.jsx)("strong",{children:"saves forever"})]}),u[X].universal.length>0&&(0,t.jsxs)("div",{style:{marginBottom:14},children:[(0,t.jsx)("div",{style:{fontFamily:"var(--mono)",fontSize:".63rem",color:"#34D399",fontWeight:700,marginBottom:6,letterSpacing:".06em"},children:"UNIVERSAL — all projects"}),u[X].universal.map((e,r)=>(0,t.jsx)("div",{style:{fontFamily:"var(--mono)",fontSize:".72rem",lineHeight:1.65,color:"var(--fg)",paddingLeft:10,borderLeft:"2px s
1olid #34D399",marginBottom:3},children:e},r))]}),u[X].project.length>0&&(0,t.jsxs)("div",{style:{marginBottom:14},children:[(0,t.jsx)("div",{style:{fontFamily:"var(--mono)",fontSize:".63rem",color:"#FBBF24",fontWeight:700,marginBottom:6,letterSpacing:".06em"},children:"PROJECT-SPECIFIC — this repo only"}),u[X].project.map((e,r)=>(0,t.jsx)("div",{style:{fontFamily:"var(--mono)",fontSize:".72rem",lineHeight:1.65,color:"var(--muted2)",paddingLeft:10,borderLeft:"2px solid #FBBF24",marginBottom:3},children:e},r))]}),u[X].stale.length>0&&(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{style:{fontFamily:"var(--mono)",fontSize:".63rem",color:"#F87171",fontWeight:700,marginBottom:6,letterSpacing:".06em"},children:"STALE — discarded"}),u[X].stale.map((e,r)=>(0,t.jsx)("div",{style:{fontFamily:"var(--mono)",fontSize:".72rem",lineHeight:1.65,color:"var(--muted2)",paddingLeft:10,borderLeft:"2px solid #F87171",marginBottom:3,textDecoration:"line-through",opacity:.6},children:e},r))]}),(0,t.jsxs)("div",{style:{marginTop:18,paddingTop:12,borderTop:"1px solid var(--border-subtle)",fontFamily:"var(--mono)",fontSize:".7rem",color:"var(--muted2)",display:"flex",gap:14,flexWrap:"wrap"},children:[(0,t.jsxs)("span",{style:{color:"#34D399"},children:[u[X].universal.length," rules saved"]}),(0,t.jsxs)("span",{children:[u[X].project.length," project notes"]}),(0,t.jsxs)("span",{style:{color:"#F87171"},children:[u[X].stale.length," stale lines pruned"]})]})]})]})]}),"try"===Z&&(0,t.jsxs)("div",{style:{maxWidth:900},children:[(0,t.jsx)("textarea",{value:er,onChange:e=>eo(e.target.value),placeholder:"I work on a Next.js 14 + TypeScript project. We use PostgreSQL with Drizzle ORM.\nAlways use React Server Components where possible. No class components.\nThis week I'm fixing the auth flow (issue #302). Deadline is Thursday.",style:{width:"100%",minHeight:160,padding:"14px 16px",borderRadius:10,border:"1px solid var(--border-subtle)",background:"var(--card)",color:"var(--fg)",fontFamily:"var(--mono)",fontSize:".78rem",lineHeight:1.7,resize:"vertical",outline:"none",boxSizing:"border-box"}}),(0,t.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:8,marginTop:8,marginBottom:20,flexWrap:"wrap"},children:[(0,t.jsx)("span",{style:{fontSize:".75rem",color:"var(--muted2)"},children:"Try an example:"}),Object.keys(u).map(e=>(0,t.jsx)("button",{onClick:()=>eo(u[e].raw),style:{padding:"3px 10px",borderRadius:999,fontSize:".72rem",cursor:"pointer",border:"1px solid var(--border-subtle)",background:"transparent",color:"var(--muted2)"},children:u[e].label},e))]}),ei?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(220px, 1fr))",gap:12},children:[(0,t.jsxs)("div",{style:{background:"var(--card)",borderRadius:10,padding:16,borderLeft:"3px solid #34D399"},children:[(0,t.jsxs)("div",{style:{fontFamily:"var(--mono)",fontSize:".63rem",fontWeight:700,color:"#34D399",marginBottom:10,letterSpacing:".06em"},children:["✓ UNIVERSAL (",ei.universal.length,")"]}),0===ei.universal.length?(0,t.jsx)("div",{style:{fontSize:".75rem",color:"var(--muted2)",fontStyle:"italic"},children:"No universal rules detected yet"}):ei.universal.map((e,r)=>(0,t.jsx)("div",{style:{fontFamily:"var(--mono)",fontSize:".72rem",lineHeight:1.6,color:"var(--fg)",marginBottom:3},children:e.length>80?e.slice(0,77)+"…":e},r)),(0,t.jsx)("div",{style:{marginTop:10,fontSize:".67rem",color:"#34D399",opacity:.8},children:"Saved to all projects"})]}),(0,t.jsxs)("div",{style:{background:"var(--card)",borderRadius:10,padding:16,borderLeft:"3px solid #FBBF24"},children:[(0,t.jsxs)("div",{style:{fontFamily:"var(--mono)",fontSize:".63rem",fontWeight:700,color:"#FBBF24",marginBottom:10,letterSpacing:".06em"},children:["◈ PROJECT-SPECIFIC (",ei.project.length,")"]}),0===ei.project.length?(0,t.jsx)("div",{style:{fontSize:".75rem",color:"var(--muted2)",fontStyle:"italic"},children:"No project context detected"}):ei.project.map((e,r)=>(0,t.jsx)("div",{style:{fontFamily:"var(--mono)",fontSize:".72rem",lineHeight:1.6,color:"var(--muted2)",marginBottom:3},children:e.length>80?e.slice(0,77)+"…":e},r)),(0,t.jsx)("div",{style:{marginTop:10,fontSize:".67rem",color:"#FBBF24",opacity:.8},children:"Saved to this project only"})]}),ei.stale.length>0&&(0,t.jsxs)("div",{style:{background:"var(--card)",borderRadius:10,padding:16,borderLeft:"3px solid #F87171"},children:[(0,t.jsxs)("div",{style:{fontFamily:"var(--mono)",fontSize:".63rem",fontWeight:700,color:"#F87171",marginBottom:10,letterSpacing:".06em"},children:["⊘ STALE (",ei.stale.length,")"]}),ei.stale.map((e,r)=>(0,t.jsx)("div",{style:{fontFamily:"var(--mono)",fontSize:".72rem",lineHeight:1.6,color:"var(--muted2)",marginBottom:3,textDecoration:"line-through",opacity:.6},children:e.length>80?e.slice(0,77)+"…":e},r)),(0,t.jsx)("div",{style:{marginTop:10,fontSize:".67rem",color:"#F87171",opacity:.8},children:"Will not be saved"})]})]}),(0,t.jsxs)("div",{style:{marginTop:14,fontFamily:"var(--mono)",fontSize:".74rem",color:"var(--muted2)",display:"flex",gap:16,flexWrap:"wrap",alignItems:"center"},children:[(0,t.jsxs)("span",{children:[(0,t.jsx)("span",{style:{color:"var(--fg)",fontWeight:700}
1,children:er.split(/\s+/).filter(Boolean).length})," words in"]}),(0,t.jsx)("span",{children:"→"}),(0,t.jsxs)("span",{children:[(0,t.jsx)("span",{style:{color:"#34D399",fontWeight:700},children:ei.universal.length})," universal rules extracted"]}),ei.stale.length>0&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{children:"\xb7"}),(0,t.jsxs)("span",{children:[(0,t.jsx)("span",{style:{color:"#F87171",fontWeight:700},children:ei.stale.length})," stale lines pruned"]})]})]})]}):(0,t.jsx)("div",{style:{padding:"24px",background:"var(--card)",borderRadius:10,border:"1px dashed var(--border-subtle)",textAlign:"center"},children:(0,t.jsx)("div",{style:{fontFamily:"var(--mono)",fontSize:".82rem",color:"var(--muted2)"},children:"Results appear here as you type…"})})]}),(0,t.jsx)("a",{href:"/login",style:{display:"inline-flex",alignItems:"center",gap:8,marginTop:32,padding:"11px 26px",background:"var(--accent)",color:"#000",borderRadius:8,fontWeight:700,fontSize:".88rem",textDecoration:"none"},children:"Start remembering my context →"})]}),(0,t.jsxs)("section",{className:"lp-section",id:"ctx",children:[(0,t.jsx)("div",{className:"lp-label",children:"Organized for your life"}),(0,t.jsxs)("h2",{style:{fontFamily:"var(--mono)",fontSize:"clamp(1.3rem, 3vw, 1.9rem)",fontWeight:800,lineHeight:1.15,marginBottom:14,maxWidth:560},children:["AI that knows which version",(0,t.jsx)("br",{}),"of you it's talking to."]}),(0,t.jsx)("p",{style:{color:"var(--muted2)",marginBottom:24,lineHeight:1.65,maxWidth:560,fontSize:".9rem"},children:"Work self, home self, family self — organized, auto-loaded, never bleeding into each other. Across every AI tool you use."}),(0,t.jsx)("div",{onMouseEnter:()=>I(!1),onMouseLeave:()=>I(!0),style:{display:"flex",gap:3,background:"var(--surface)",border:"1px solid var(--border2)",borderRadius:9,padding:3,marginBottom:20,width:"fit-content"},children:m.map(e=>{let r=p[e],o=C===e;return(0,t.jsxs)("button",{onClick:()=>{W(e),I(!1)},style:{display:"flex",alignItems:"center",gap:6,padding:"7px 14px",borderRadius:6,fontFamily:"var(--mono)",fontSize:".76rem",fontWeight:600,cursor:"pointer",border:o?"1px solid ".concat(r.b):"1px solid transparent",background:o?r.lo:"none",color:o?r.color:"var(--muted2)",transition:"all .2s",whiteSpace:"nowrap"},children:[r.icon," ",r.label]},e)})}),(0,t.jsxs)("div",{className:"lp-selves-grid",style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:14,alignItems:"start"},children:[(0,t.jsx)("div",{style:{background:"var(--surface2)",border:"1px solid var(--border)",borderRadius:8,padding:12,fontFamily:"var(--mono)",fontSize:".7rem",display:"flex",flexDirection:"column",gap:2},children:en.tree.map((e,r)=>(0,t.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:5,padding:"2px 4px",borderRadius:3,color:e.bold?en.color:"var(--muted2)",fontWeight:e.bold?700:400},children:[e.indent>0&&(0,t.jsx)("span",{style:{width:14,flexShrink:0}}),e.label,e.tag&&(0,t.jsx)("span",{style:{marginLeft:"auto",fontSize:".57rem",padding:"1px 4px",borderRadius:2,background:en.lo,color:en.color,border:"1px solid ".concat(en.b),fontWeight:700},children:"shared"})]},r))}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{style:{background:"var(--surface2)",border:"1px solid var(--border)",borderRadius:8,overflow:"hidden"},children:[(0,t.jsxs)("div",{style:{padding:"14px 16px 10px",borderBottom:"1px solid var(--border)"},children:[(0,t.jsx)("div",{style:{fontSize:"1.4rem",marginBottom:6},children:en.icon}),(0,t.jsx)("div",{style:{fontFamily:"var(--mono)",fontSize:".9rem",fontWeight:700,color:"var(--text)",marginBottom:3},children:en.h}),(0,t.jsx)("div",{style:{fontSize:".76rem",color:"var(--muted2)",lineHeight:1.55},children:en.sub})]}),(0,t.jsx)("div",{style:{padding:"12px 16px",display:"flex",flexDirection:"column",gap:9},children:en.pts.map((e,r)=>(0,t.jsxs)("div",{style:{display:"flex",gap:8,fontSize:".76rem",color:"var(--muted2)",lineHeight:1.5},children:[(0,t.jsx)("span",{style:{color:en.color,flexShrink:0,fontFamily:"var(--mono)"},children:"›"}),e]},r))}),(0,t.jsxs)("div",{style:{padding:"10px 16px",borderTop:"1px solid var(--border)",display:"flex",alignItems:"center",justifyContent:"space-between"},children:[(0,t.jsx)("span",{style:{fontFamily:"var(--mono)",fontSize:".65rem",fontWeight:700,padding:"2px 7px",borderRadius:3,background:"Free"===en.tier?"var(--surface)":"var(--accent)",color:"Free"===en.tier?"var(--muted2)":"#000",border:"Free"===en.tier?"1px solid var(--border)":"none"},children:en.tl}),(0,t.jsx)("span",{style:{fontFamily:"var(--mono)",fontSize:".65rem",color:"var(--muted)"},children:en.fc})]})]}),(0,t.jsxs)("div",{style:{background:"var(--surface)",border:"1px solid var(--border)",borderRadius:6,padding:"10px 13px",display:"flex",alignItems:"center",gap:8,fontFamily:"var(--mono)",fontSize:".7rem",marginTop:12},children:[(0,t.jsx)("span",{style:{width:6,height:6,borderRadius:"50%",background:en.color,flexShrink:0,animation:"pulse 1.5s infinite"}}),(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{style:{color:en.color},children:en.load}),(0,t.jsx)("div",{style:{color:"var(--muted)",fontSize:".65rem",marginTop:2},children:en.lf})]})]})]})]}),(0,t.jsxs)("p",{style:{fontFamily:"var(--mono)",fontSize:".75rem",color:"var(--muted)",marginTop:14,marginBottom:24},children:["/forgein ctx work","  ","\xb7","  ","/forgein ctx home","  ","\xb7","  ","/forgein ctx family"]}),(0,t.jsx)("div",{className:"lp-selves-cards",style:{display:"grid",gridTemplateColumns:"repeat(3, 1fr)",gap:12},children:[{icon:"\uD83D\uDCBC",color:"#3B82F6",lo:"rgba(59,130,246,0.10)",b:"rgba(59,130,246,0.2)",h:"Work — loads at the office, in your work projects",p:"Codebase conventions, team preferences, sprint context. Team Shared files sync to every teammate's AI automatically."},{icon:"\uD83C\uDFE0",color:"#10B981",lo:"rgba(16,185,129,0.10)",b:"rgba(16,185,129,0.2)",h:"Home — side projects, learning, personal goals",p:"Evening project context loads when you're off the clock. Work context steps aside. Nothing bleeds between them."},{icon:"\uD83D\uDC68‍\uD83D\uDC69‍\uD83D\uDC67",color:"#FB7185",lo:"rgba(251,113,133,0.10)",b:"rgba(251,113,133,0.2)",h:"Family — kids, household, personal life",p:"Soccer schedules, homework context, home projects — AI knows your family life when you need it to. Always private."}].map(e=>(0,t.jsxs)("div",{style:{background:"var(--surface)",border:"1px solid var(--border)",borderRadius:8,padding:"16px",display:"flex",gap:12,alignItems:"flex-start"},children:[(0,t.jsx)("div",{style:{width:36,height:36,borderRadius:8,display:"grid",placeItems:"center",fontSize:"1.1rem",background:e.lo,border:"1px solid ".concat(e.b),flexShrink:0},children:e.icon}),(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{style:{fontSize:".83rem",fontWeight:700,marginBottom:5,lineHeight:1.3,color:"var(--text)"},children:e.h}),(0,t.jsx)("div",{style:{fontSize:".76rem",color:"var(--muted2)",lineHeight:1.6},children:e.p})]})]},e.h))})]}),(0,t.jsxs)("section",{className:"lp-section",children:[(0,t.jsx)("div",{className:"lp-label",children:"The before and after"}),(0,t.jsx)("h2",{style:{fontFamily:"var(--mono)",fontSize:"clamp(1.3rem, 3vw, 1.9rem)",fontWeight:800,lineHeight:1.15,marginBottom:14},children:"What forgein eliminates."}),(0,t.jsx)("p",{style:{color:"var(--muted2)",marginBottom:20,fontSize:".9rem",lineHeight:1.7,maxWidth:540},children:"Not a feature list. A list of things you won't do anymore — regardless of which AI tool you're using."}),(0,t.jsx)("div",{style:{overflowX:"auto"},children:(0,t.jsxs)("table",{style:{width:"100%",borderCollapse:"collapse",background:"var(--surface)",border:"1px solid var(--border)",borderRadius:10,overflow:"hidden"},children:[(0,t.jsx)("thead",{children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{style:{fontFamily:"var(--mono)",fontSize:".64rem",letterSpacing:".08em",textTransform:"uppercase",padding:"9px 16px",textAlign:"left",background:"var(--surface2)",borderBottom:"1px solid var(--border)",color:"var(--red)"},children:"✕ Without forgein"}),(0,t.jsx)("th",{style:{fontFamily:"var(--mono)",fontSize:".64rem",letterSpacing:".08em",textTransform:"uppercase",padding:"9px 16px",textAlign:"left",background:"var(--surface2)",borderBottom:"1px solid var(--border)",color:"#34D399"},children:"✓ With forgein"})]})}),(0,t.jsx)("tbody",{children:g.map((e,r)=>{let[o,n]=e;return(0,t.jsxs)("tr",{children:[(0,t.jsx)("td",{style:{padding:"10px 16px",borderBottom:r<g.length-1?"1px solid var(--border)":"none",fontSize:".82rem",color:"var(--muted2)",verticalAlign:"top"},children:o}),(0,t.jsx)("td",{style:{padding:"10px 16px",borderBottom:r<g.length-1?"1px solid var(--border)":"none",fontSize:".82rem",fontWeight:600,color:"var(--text)",verticalAlign:"top"},children:n})]},r)})})]})})]}),(0,t.jsxs)("section",{className:"lp-section",children:[(0,t.jsx)("div",{className:"lp-label",children:"Tool-agnostic context layer"}),(0,t.jsxs)("h2",{style:{fontFamily:"var(--mono)",fontSize:"clamp(1.3rem, 3vw, 1.9rem)",fontWeight:800,lineHeight:1.15,marginBottom:14},children:["Switch AI freely.",(0,t.jsx)("br",{}),"Your context stays."]}),(0,t.jsx)("p",{style:{color:"var(--muted2)",marginBottom:24,lineHeight:1.65,maxWidth:560},children:"Claude today. ChatGPT tomorrow. Copilot next sprint. forgein keeps your context current in all of them — same organized memory, same warm start."}),(0,t.jsxs)("div",{style:{background:"var(--surface)",border:"1px solid var(--border)",borderRadius:10,overflow:"hidden",marginBottom:10},children:[(0,t.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",padding:"11px 18px",background:"var(--surface2)",borderBottom:"1px solid var(--border)"},children:[(0,t.jsx)("span",{style:{fontFamily:"var(--mono)",fontSize:".71rem",color:"var(--muted2)",fontWeight:600},children:"forgein context layer"}),(0,t.jsx)("span",{style:{fontFamily:"var(--mono)",fontSize:".71rem",color:"var(--muted)"},children:"One source → every AI tool"})]}),(0,t.jsxs)("div",{ref:V,style:{position:"relative",height:280,overflow:"hidden"},children:[(0,t.jsx)("svg",{ref:U,style:{position:"absolute",inset:0,width:"100%",height:"100%",pointerEvents:"none"},"aria-hidden":"true"}),(0,t.jsxs)("div",{style:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%,-50%)",background:"#F59E0B",borderRadius:10,padding:"14px 20px",textAlign:"center",zIndex:10,boxShadow:"0 0 0 8px rgba(245,158,11,0.1),0 0 0 16px rgba(245,158,11,0.05)"},children:[(0,t.jsx)("div",{style:{fontFamily:"var(--mono)",fontSize:".92rem",fontWeight:800,color:"#000",marginBottom:2},children:"forgein"}),(0,t.jsx)("div",{style:{fontFamily:"var(--mono)",fontSize:".54rem",letterSpacing:".08em",textTransform:"uppercase",color:"rgba(0,0,0,0.55)",fontWeight:600,marginBottom:6},children:"context layer"}),(0,t.jsxs)("div",{style:{fontFamily:"var(--mono)",fontSize:".56rem",color:"rgba(0,0,0,0.5)",lineHeight:1.5},children:["Work/ \xb7 Home/ \xb7 Family/",(0,t.jsx)("br",{}),"Team Shared \xb7 Personal"]})]}),[{key:"claude",color:"#F59E0B",icon:"⚡",label:"Claude Code",status:"Live now",
1sBg:"#F59E0B",sColor:"#000",sBorder:"rgba(245,158,11,0.3)"},{key:"chatgpt",color:"#10B981",icon:"\uD83D\uDCAC",label:"ChatGPT",status:"Live",sBg:"rgba(52,211,153,0.12)",sColor:"#34D399",sBorder:"rgba(52,211,153,0.3)"},{key:"copilot",color:"#3B82F6",icon:"⌥",label:"Copilot",status:"Live",sBg:"rgba(52,211,153,0.12)",sColor:"#34D399",sBorder:"rgba(52,211,153,0.3)"},{key:"gemini",color:"#818CF8",icon:"◆",label:"Gemini",status:"Live",sBg:"rgba(52,211,153,0.12)",sColor:"#34D399",sBorder:"rgba(52,211,153,0.3)"},{key:"cursor",color:"#4F46E5",icon:"⊗",label:"Cursor",status:"Live",sBg:"rgba(52,211,153,0.12)",sColor:"#34D399",sBorder:"rgba(52,211,153,0.3)"},{key:"windsurf",color:"#06B6D4",icon:"⊞",label:"Windsurf",status:"Live",sBg:"rgba(52,211,153,0.12)",sColor:"#34D399",sBorder:"rgba(52,211,153,0.3)"}].map(e=>(0,t.jsxs)("div",{ref:r=>{K.current[e.key]=r},style:{position:"absolute",background:"var(--surface2)",border:"1px solid var(--border)",borderRadius:8,padding:"10px 13px",textAlign:"center",minWidth:120,opacity:0,zIndex:5,transition:"opacity .3s"},children:[(0,t.jsx)("div",{style:{fontFamily:"var(--mono)",fontSize:"1.1rem",color:e.color,marginBottom:4},children:e.icon}),(0,t.jsx)("div",{style:{fontFamily:"var(--mono)",fontSize:".73rem",fontWeight:700,color:e.color,marginBottom:5},children:e.label}),(0,t.jsx)("span",{style:{fontFamily:"var(--mono)",fontSize:".57rem",fontWeight:700,padding:"2px 6px",borderRadius:3,background:e.sBg,color:e.sColor,border:"1px solid ".concat(e.sBorder)},children:e.status})]},e.key))]}),(0,t.jsxs)("div",{style:{padding:"10px 20px",borderTop:"1px solid var(--border)",display:"flex",justifyContent:"center",gap:20,fontFamily:"var(--mono)",fontSize:".66rem",color:"var(--muted)",flexWrap:"wrap"},children:[(0,t.jsx)("span",{children:"Canonical .md format"}),(0,t.jsx)("span",{style:{opacity:.3},children:"|"}),(0,t.jsx)("span",{children:"Tool-specific adapters"}),(0,t.jsx)("span",{style:{opacity:.3},children:"|"}),(0,t.jsx)("span",{children:"MCP-compatible by design"})]})]}),(0,t.jsx)("div",{className:"lp-tool-grid",style:{display:"grid",gridTemplateColumns:"repeat(4, 1fr)",gap:0,background:"var(--surface)",border:"1px solid var(--border)",borderRadius:10,overflow:"hidden",marginBottom:10},children:x.map((e,r)=>(0,t.jsxs)(a(),{href:e.href,style:{padding:"16px 15px",borderRight:r<x.length-1?"1px solid var(--border)":"none",textDecoration:"none",display:"block",transition:"background .12s"},onMouseEnter:e=>{e.currentTarget.style.background="var(--surface2)"},onMouseLeave:e=>{e.currentTarget.style.background="none"},children:[(0,t.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:7,marginBottom:8},children:[(0,t.jsx)("span",{style:{fontFamily:"var(--mono)",fontSize:".85rem",color:e.color},children:e.icon}),(0,t.jsx)("span",{style:{fontFamily:"var(--mono)",fontSize:".8rem",fontWeight:700,color:e.color},children:e.label})]}),(0,t.jsx)("div",{style:{marginBottom:8},children:(0,t.jsx)("span",{style:{fontFamily:"var(--mono)",fontSize:".58rem",fontWeight:700,letterSpacing:".04em",textTransform:"uppercase",padding:"2px 6px",borderRadius:3,background:e.statusBg,border:"1px solid ".concat(e.statusBorder),color:e.statusColor},children:e.status})}),(0,t.jsx)("p",{style:{fontSize:".74rem",color:"var(--muted2)",lineHeight:1.6},children:e.desc}),(0,t.jsx)("span",{style:{fontFamily:"var(--mono)",fontSize:".68rem",color:e.color,marginTop:8,display:"block"},children:"Learn more →"})]},e.label))}),(0,t.jsx)("div",{style:{textAlign:"center",fontFamily:"var(--mono)",fontSize:".7rem",color:"var(--muted)",lineHeight:1.5},children:"Any MCP-compatible tool gets native forgein context support — Cursor, Windsurf, Zed, and beyond."})]}),(0,t.jsxs)("section",{className:"lp-section",id:"team",children:[(0,t.jsx)("div",{className:"lp-label",children:"For teams"}),(0,t.jsxs)("h2",{style:{fontFamily:"var(--mono)",fontSize:"clamp(1.3rem, 3vw, 1.9rem)",fontWeight:800,lineHeight:1.15,marginBottom:14,maxWidth:560},children:["New hire. Day one.",(0,t.jsx)("br",{}),"Their AI already knows how you work."]}),(0,t.jsx)("p",{style:{color:"var(--muted2)",marginBottom:24,lineHeight:1.65,maxWidth:560,fontSize:".9rem"},children:'Team Shared files propagate automatically. No onboarding sessions. No "let me explain our conventions to your AI."'}),(0,t.jsxs)("div",{style:{background:"var(--surface)",borderTop:"2px solid rgba(245,158,11,0.5)",borderRight:"1px solid var(--border)",borderBottom:"1px solid var(--border)",borderLeft:"1px solid var(--border)",borderRadius:10,overflow:"hidden"},children:[(0,t.jsx)("div",{style:{height:2,background:"var(--border)",position:"relative",overflow:"hidden"},children:(0,t.jsx)("div",{style:{position:"absolute",inset:"0 auto 0 0",width:"100%",background:"var(--accent)",animation:"tm-prog 6s linear forwards"}},J)}),(0,t.jsxs)("div",{className:"lp-team-grid3",style:{padding:"24px 20px 16px"},children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:8,marginBottom:10},children:[(0,t.jsx)("div",{style:{width:30,height:30,borderRadius:"50%",display:"grid",placeItems:"center",fontSize:".72rem",fontWeight:800,color:"#fff",background:"linear-gradient(135deg,#1E3A5F,#2D5F8A)",flexShrink:0},children:"S"}),(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{style:{fontFamily:"var(--mono)",fontSize:".74rem",fontWeight:700},children:"Sudhir (lead)"}),(0,t.jsx)("div",{style:{fontSize:".67rem",color:"var(--muted)"},children:"adds to Team Shared"})]})]}),(0,t.jsx)("div",{style:{display:"inline-flex",alignItems:"center",gap:5,padding:"3px 9px",borderRadius:4,background:"rgba(245,158,11,0.12)",border:"1px solid rgba(245,158,11,0.3)",fontFamily:"var(--mono)",fontSize:".63rem",color:"var(--accent)",marginBottom:11,opacity:N?1:0,transition:"opacity .4s"},children:"+ sprint-context.md updated"}),[{name:"\uD83D\uDCC4 sprint-context.md",body:"Shipping v2.1 July 18. Auth refactor in progress — do not touch apps/api/auth/* until PR merges. Migrations frozen.",note:"Team Shared \xb7 auto-syncs"},{name:"\uD83D\uDCC4 codebase-conventions.md",body:"Next.js 15 \xb7 Drizzle ORM \xb7 pnpm workspaces \xb7 TypeScript strict",note:"Team Shared \xb7 permanent"}].map(e=>(0,t.jsxs)("div",{style:{background:"var(--surface2)",border:"1px solid var(--border)",borderRadius:6,padding:"9px 11px",fontFamily:"var(--mono)",fontSize:".69rem",color:"var(--muted2)",marginBottom:8},children:[(0,t.jsx)("div",{style:{color:"var(--accent)",fontSize:".74rem",fontWeight:700,marginBottom:3},children:e.name}),e.body,(0,t.jsx)("div",{style:{color:"var(--muted)",fontSize:".62rem",marginTop:3},children:e.note})]},e.name))]}),(0,t.jsx)("div",{className:"lp-team-arrow",style:{display:"flex",alignItems:"center",justifyContent:"center"},children:(0,t.jsxs)("svg",{viewBox:"0 0 60 280",fill:"none",style:{width:60,height:240},children:[(0,t.jsx)("line",{x1:"10",y1:"140",x2:"50",y2:"140",stroke:"var(--border2)",strokeWidth:"1.5"}),(0,t.jsx)("line",{x1:"50",y1:"140",x2:"50",y2:"46",stroke:"var(--border2)",strokeWidth:"1.5"}),(0,t.jsx)("line",{x1:"50",y1:"140",x2:"50",y2:"234",stroke:"var(--border2)",strokeWidth:"1.5"}),(0,t.jsx)("path",{d:"M46 38 L50 46 L54 38",stroke:"var(--border2)",strokeWidth:"1.5",fill:"none"}),(0,t.jsx)("path",{d:"M46 132 L50 140 L54 132",stroke:"var(--border2)",strokeWidth:"1.5",fill:"none"}),(0,t.jsx)("path",{d:"M46 226 L50 234 L54 226",stroke:"var(--border2)",strokeWidth:"1.5",fill:"none"}),L[0]&&(0,t.jsx)("line",{x1:"10",y1:"140",x2:"50",y2:"46",stroke:"#F59E0B",strokeWidth:"2",strokeDasharray:"4 3",style:{animation:"tm-dash .6s linear infinite"}}),L[1]&&(0,t.jsx)("line",{x1:"10",y1:"140",x2:"50",y2:"140",stroke:"#F59E0B",strokeWidth:"2",strokeDasharray:"4 3",style:{animation:"tm-dash .6s linear infinite"}}),L[2]&&(0,t.jsx)("line",{x1:"10",y1:"140",x2:"50",y2:"234",stroke:"#F59E0B",strokeWidth:"2",strokeDasharray:"4 3",style:{animation:"tm-dash .6s linear infinite"}})]})}),(0,t.jsx)("div",{style:{display:"flex",flexDirection:"column",gap:9,justifyContent:"center"},children:[{init:"A",name:"Arjun",role:"backend",bg:"linear-gradient(135deg,#3D1F5F,#6B35A0)",idx:0},{init:"M",name:"Maya",role:"fullstack",bg:"linear-gradient(135deg,#1F3D2A,#2D7A48)",idx:1},{init:"R",name:"Raj",role:"new hire \xb7 day 1",bg:"linear-gradient(135deg,#5F2D1F,#A05B35)",idx:2}].map(e=>(0,t.jsxs)("div",{style:{background:P[e.idx]?"rgba(52,211,153,0.05)":"var(--surface2)",border:"1px solid ".concat(P[e.idx]?"rgba(52,211,153,0.3)":"var(--border)"),borderRadius:6,padding:"9px 11px",display:"flex",alignItems:"center",gap:8,transition:"all .4s"},children:[(0,t.jsx)("div",{style:{width:28,height:28,borderRadius:"50%",display:"grid",placeItems:"center",fontSize:".7rem",fontWeight:800,color:"#fff",background:e.bg,flexShrink:0},children:e.init}),(0,t.jsxs)("div",{style:{flex:1},children:[(0,t.jsxs)("div",{style:{fontFamily:"var(--mono)",fontSize:".73rem",fontWeight:700},children:[e.name," ",(0,t.jsxs)("span",{style:{color:"var(--muted)",fontWeight:400},children:["(",e.role,")"]})]}),(0,t.jsx)("div",{style:{fontFamily:"var(--mono)",fontSize:".61rem",color:P[e.idx]?"#34D399":"var(--muted)",marginTop:1,transition:"color .4s"},children:G[e.idx]})]}),(0,t.jsx)("div",{style:{fontFamily:"var(--mono)",fontSize:".59rem",padding:"2px 5px",borderRadius:3,background:P[e.idx]?"#34D399":"var(--border2)",color:P[e.idx]?"#000":"var(--muted)",fontWeight:700,transition:"all .4s"},children:O[e.idx]})]},e.init))})]}),(0,t.jsx)("div",{style:{display:"grid",gridTemplateColumns:"repeat(3, 1fr)",gap:1,background:"var(--border)",borderTop:"1px solid var(--border)"},children:[{n:_[0],l:"files synced"},{n:_[1],l:"members updated"},{n:_[2],l:"onboarding hours saved"}].map(e=>(0,t.jsxs)("div",{style:{background:"var(--surface)",padding:"12px 16px",textAlign:"center"},children:[(0,t.jsx)("div",{style:{fontFamily:"var(--mono)",fontSize:"1.4rem",fontWeight:700,color:"var(--accent)",marginBottom:1},children:e.n}),(0,t.jsx)("div",{style:{fontSize:".7rem",color:"var(--muted)",fontFamily:"var(--mono)"},children:e.l})]},e.l))})]})]}),(0,t.jsxs)("section",{className:"lp-section",children:[(0,t.jsx)("div",{className:"lp-label",children:"IDE adapters"}),(0,t.jsx)("div",{style:{background:"var(--surface)",border:"1px solid var(--border)",borderRadius:10,padding:"28px 32px"},children:(0,t.jsxs)("div",{style:{display:"flex",alignItems:"flex-start",justifyContent:"space-between",gap:24,flexWrap:"wrap"},children:[(0,t.jsxs)("div",{style:{flex:1,minWidth:260},children:[(0,t.jsx)("div",{style:{fontWeight:700,marginBottom:8},children:"Cursor and Windsurf — now live"}),(0,t.jsxs)("div",{style:{fontSize:".84rem",color:"var(--muted2)",lineHeight:1.7},children:["Generate"," ",(0,t.jsx)("code",{style:{fontFamily:"var(--mono)",fontSize:".8rem",color:"var(--muted2)"},children:".cursorrules"})," ","and"," ",(0,t.jsx)("code",{style:{fontFamily:"var(--mono)",fontSize:".8rem",color:"var(--muted2)"},children:".windsurfrules"})," ","directly from your forgein context. No script required — open Contexts in the dashboard, click the adapter button, paste the output into your repo root."]}),(0,t.jsxs)("div",{style:{display:"flex",gap:8,marginTop:18,flexWrap:"wrap"},children:[(0,t.jsx)("a",{href:"/for/cursor",style:{fontSize:".72rem",fontFamily:"var(--mono)",padding:"3px 10px",background:"rgba(79,70,229,0.08)",border:"1px solid rgba(79,70,229,0.3)",borderRadius:4,color:"#4F46E5",textDecoration:"none"},children:"⊗ Cursor →"}),(0,t.jsx)("a",{href:"/for/windsurf",style:{fontSize:".72rem",fontFamily:"var(--mono)",padding:"3px 10px",background:"rgba(6,182,212,0.08)",border:"1px solid rgba(6,182,212,0.3)",borderRadius:4,color:"#06B6D4",textDecoration:"none"},children:"⊞ Windsurf →"}),(0,t.jsx)("span",{style:{fontSize:".72rem",fontFamily:"var(--mono)",padding:"3px 10px",background:"var(--surface2)",border:"1px dashed var(--border2)",borderRadius:4,color:"var(--muted)"},children:"VS Code \xb7 JetBrains coming"})]})]}),(0,t.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:10,flexShrink:0},children:[(0,t.jsx)("a",{href:"https://github.com/forgeinai/forgein",target:"_blank",rel:"noopener",style:{display:"inline-flex",alignItems:"center",gap:8,padding:"9px 18px",borderRadius:6,background:"var(--surface2)",border:"1px solid var(--border2)",color:"var(--text)",textDecoration:"none",fontFamily:"var(--mono)",fontSize:".78rem",fontWeight:600},children:"★ forgeinai/forgein"}),(0,t.jsx)("div",{style:{fontSize:".7rem",color:"var(--muted)",textAlign:"center"},children:"MIT CLI — open source"})]})]})})]}),(0,t.jsxs)("section",{className:"lp-section",children:[(0,t.jsx)("div",{className:"lp-label",children:"Native protocol support"}),(0,t.jsxs)("h2",{style:{fontFamily:"var(--mono)",fontSize:"clamp(1.3rem, 3vw, 1.9rem)",fontWeight:800,lineHeight:1.15,marginBottom:14},children:["MCP Server.",(0,t.jsx)("br",{}
1),"Live context, no paste step."]}),(0,t.jsxs)("p",{style:{color:"var(--muted2)",marginBottom:24,lineHeight:1.65,maxWidth:580,fontSize:".9rem"},children:["File adapters export a snapshot you paste into each tool. The forgein MCP server goes further — Cursor, Claude Desktop, Windsurf, and Zed connect directly at"," ",(0,t.jsx)("code",{style:{fontFamily:"var(--mono)",fontSize:".85em",color:"#10B981"},children:"api.forgein.ai/api/adapters/mcp"}),". Update a memory file and every tool session sees it immediately. No re-export, no paste."]}),(0,t.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:16,marginBottom:14},className:"lp-mcp-grid",children:[(0,t.jsxs)("div",{style:{background:"var(--surface)",border:"1px solid var(--border)",borderRadius:8,overflow:"hidden",fontFamily:"var(--mono)",fontSize:".74rem",lineHeight:1.65},children:[(0,t.jsxs)("div",{style:{background:"var(--surface2)",borderBottom:"1px solid var(--border)",padding:"9px 14px",display:"flex",alignItems:"center",gap:7},children:[(0,t.jsx)("span",{style:{width:10,height:10,borderRadius:"50%",background:"#F87171",flexShrink:0}}),(0,t.jsx)("span",{style:{width:10,height:10,borderRadius:"50%",background:"#FBBF24",flexShrink:0}}),(0,t.jsx)("span",{style:{width:10,height:10,borderRadius:"50%",background:"#34D399",flexShrink:0}}),(0,t.jsx)("span",{style:{marginLeft:6,color:"var(--muted)",fontSize:".7rem"},children:"~/.cursor/mcp.json"})]}),(0,t.jsxs)("div",{style:{padding:"14px 16px",color:"var(--text)"},children:[(0,t.jsx)("div",{style:{color:"var(--muted)",fontSize:".7rem",marginBottom:8},children:"// add forgein to your MCP client"}),(0,t.jsx)("div",{children:"{"}),(0,t.jsxs)("div",{children:["\xa0\xa0",(0,t.jsx)("span",{style:{color:"#10B981"},children:'"mcpServers"'}),": {"]}),(0,t.jsxs)("div",{children:["\xa0\xa0\xa0\xa0",(0,t.jsx)("span",{style:{color:"#10B981"},children:'"forgein"'}),": {"]}),(0,t.jsxs)("div",{children:["\xa0\xa0\xa0\xa0\xa0\xa0",(0,t.jsx)("span",{style:{color:"#10B981"},children:'"url"'}),": ",(0,t.jsx)("span",{style:{color:"#FCD34D"},children:'"https://api.forgein.ai/api/adapters/mcp"'}),","]}),(0,t.jsxs)("div",{children:["\xa0\xa0\xa0\xa0\xa0\xa0",(0,t.jsx)("span",{style:{color:"#10B981"},children:'"headers"'}),": {"]}),(0,t.jsxs)("div",{children:["\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0",(0,t.jsx)("span",{style:{color:"#10B981"},children:'"Authorization"'}),":"]}),(0,t.jsxs)("div",{children:["\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0",(0,t.jsx)("span",{style:{color:"#FCD34D"},children:'"Bearer fg_..."'})]}),(0,t.jsxs)("div",{children:["\xa0\xa0\xa0\xa0\xa0\xa0","}"]}),(0,t.jsxs)("div",{children:["\xa0\xa0\xa0\xa0","}"]}),(0,t.jsxs)("div",{children:["\xa0\xa0","}"]}),(0,t.jsx)("div",{children:"}"})]})]}),(0,t.jsx)("div",{style:{display:"flex",flexDirection:"column",gap:10},children:[{icon:"⚡",h:"Always live",p:"Resources and prompts are fetched at session time — not exported once and left to go stale."},{icon:"⬡",h:"Auto-discoverable",p:"/.well-known/mcp publishes the server URL and auth config. Compatible tools connect without manual setup."},{icon:"◈",h:"6 methods",p:"initialize \xb7 resources/list \xb7 resources/read \xb7 prompts/list \xb7 prompts/get \xb7 ping. Full protocol coverage."}].map(e=>(0,t.jsxs)("div",{style:{background:"var(--surface)",border:"1px solid var(--border)",borderRadius:7,padding:"14px 16px",display:"flex",gap:12},children:[(0,t.jsx)("span",{style:{fontFamily:"var(--mono)",fontSize:".9rem",color:"#10B981",flexShrink:0},children:e.icon}),(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{style:{fontFamily:"var(--mono)",fontSize:".78rem",fontWeight:700,marginBottom:3},children:e.h}),(0,t.jsx)("div",{style:{fontSize:".75rem",color:"var(--muted2)",lineHeight:1.6},children:e.p})]})]},e.h))})]}),(0,t.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"11px 16px",background:"var(--surface)",border:"1px solid var(--border)",borderRadius:7,flexWrap:"wrap",gap:10},children:[(0,t.jsxs)("div",{style:{display:"flex",gap:12,flexWrap:"wrap",fontFamily:"var(--mono)",fontSize:".7rem",color:"var(--muted)"},children:[(0,t.jsx)("span",{children:"api.forgein.ai/api/adapter
1s/mcp"}),(0,t.jsx)("span",{style:{opacity:.4},children:"\xb7"}),(0,t.jsx)("span",{children:"JSON-RPC 2.0 \xb7 protocol 2024-11-05"}),(0,t.jsx)("span",{style:{opacity:.4},children:"\xb7"}),(0,t.jsx)("span",{children:"stateless HTTP \xb7 Bearer auth"})]}),(0,t.jsx)(a(),{href:"/for/mcp",style:{fontFamily:"var(--mono)",fontSize:".74rem",fontWeight:700,color:"#10B981",textDecoration:"none",whiteSpace:"nowrap"},children:"Full MCP docs →"})]})]}),(0,t.jsxs)("section",{className:"lp-section",children:[(0,t.jsx)("div",{className:"lp-label",children:"Context starter kits"}),(0,t.jsx)("h2",{style:{fontFamily:"var(--mono)",fontSize:"clamp(1.3rem, 3vw, 1.9rem)",fontWeight:800,lineHeight:1.15,marginBottom:14},children:"Don't start from a blank context."}),(0,t.jsx)("p",{style:{color:"var(--muted2)",marginBottom:28,lineHeight:1.65,maxWidth:560,fontSize:".9rem"},children:"Pick a starter kit and your AI tools know your stack, conventions, and workflow from the first message. Plain Markdown — edit once, works everywhere."}),(0,t.jsx)("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(200px, 1fr))",gap:10,marginBottom:20},children:[{slug:"nextjs-typescript",label:"Next.js / TypeScript",tags:["Next.js","TypeScript","Tailwind"]},{slug:"python-ml",label:"Python / ML",tags:["PyTorch","transformers","Jupyter"]},{slug:"go-backend",label:"Go backend",tags:["Go","PostgreSQL","gRPC"]},{slug:"solo-developer",label:"Solo developer",tags:["GTD","decision log","async"]},{slug:"remote-team",label:"Remote team",tags:["ADRs","async-first","norms"]},{slug:"ai-product",label:"AI product engineering",tags:["LLM","evals","cost tracking"]}].map(e=>(0,t.jsxs)(a(),{href:"/templates",style:{display:"block",padding:"14px 16px",background:"var(--surface)",border:"1px solid var(--border)",borderRadius:8,textDecoration:"none",transition:"border-color .15s"},onMouseEnter:e=>{e.currentTarget.style.borderColor="var(--accent)"},onMouseLeave:e=>{e.currentTarget.style.borderColor="var(--border)"},children:[(0,t.jsx)("div",{style:{fontFamily:"var(--mono)",fontSize:".78rem",fontWeight:700,color:"var(--text)",marginBottom:8},children:e.label}),(0,t.jsx)("div",{style:{display:"flex",flexWrap:"wrap",gap:4},children:e.tags.map(e=>(0,t.jsx)("span",{style:{fontFamily:"var(--mono)",fontSize:".6rem",background:"var(--surface2)",color:"var(--muted)",border:"1px solid var(--border)",borderRadius:3,padding:"1px 6px"},children:e},e))})]},e.slug))}),(0,t.jsx)(a(),{href:"/templates",style:{fontFamily:"var(--mono)",fontSize:".8rem",fontWeight:700,color:"var(--accent)",textDecoration:"none"},children:"See all templates →"})]}),(0,t.jsxs)("section",{className:"lp-section",id:"pricing",children:[(0,t.jsx)("div",{className:"lp-label",children:"Available now"}),(0,t.jsxs)("div",{className:"lp-pricing-card",style:{display:"grid",gridTemplateColumns:"3fr 2fr",background:"var(--surface)",border:"1px solid rgba(245,158,11,0.2)",borderRadius:12,overflow:"hidden"},children:[(0,t.jsxs)("div",{style:{padding:"36px 40px",borderRight:"1px solid var(--border)"},children:[(0,t.jsx)("div",{style:{display:"inline-block",fontFamily:"var(--mono)",fontSize:".68rem",fontWeight:700,letterSpacing:".08em",textTransform:"uppercase",background:"var(--accent)",color:"#000",padding:"4px 12px",borderRadius:4,marginBottom:20},children:"Available now"}),(0,t.jsxs)("h2",{style:{fontFamily:"var(--mono)",fontSize:"clamp(1.35rem, 2.8vw, 1.85rem)",fontWeight:800,lineHeight:1.15,marginBottom:14},children:["forgein Pro.",(0,t.jsx)("br",{}),"Your context,",(0,t.jsx)("br",{}),"everywhere."]}),(0,t.jsx)("p",{style:{fontSize:".87rem",color:"var(--muted2)",lineHeight:1.7,marginBottom:24},children:"Local memory management is free forever. Pro is for people who want their context working across every machine, every AI tool, and their whole team."}),(0,t.jsx)("ul",{style:{listStyle:"none",display:"flex",flexDirection:"column",gap:10},children:["Cross-machine sync — unlimited projects and devices","Work / Home / Family context switching","Private skill registry — skills only you can see","Org creation + team invites","Team memory sharing — per file, per folder","ChatGPT, Copilot, and Gemini sync when live"].map(e=>(0,t.jsxs)("li",{style:{display:"flex",gap:10,fontSize:".84rem",color:"var(--muted2)",alignItems:"baseline"},children:[(0,t.jsx)("span",{style:{color:"var(--accent)",fontFamily:"var(--mono)",flexShrink:0,fontSize:".78rem"},children:"›"}),e]},e))})]}),(0,t.jsxs)("div",{style:{padding:"36px 32px",display:"flex",flexDirection:"column",justifyContent:"center",background:"rgba(245,158,11,0.03)"},children:[(0,t.jsxs)("div",{style:{fontSize:"1.15rem",fontWeight:800,lineHeight:1.3,marginBottom:14},children:["Start free.",(0,t.jsx)("br",{}),"Upgrade when ready."]}),(0,t.jsx)("p",{style:{fontSize:".83rem",color:"var(--muted2)",lineHeight:1.65,marginBottom:28},children:"Free plan gets you local context management. Pro is $4.99/month — less than the time you spend re-explaining context in a week."}),(0,t.jsx)(a(),{href:"/signup",className:"lp-btn-primary-full",style:{marginBottom:12},children:"Get started free →"}),(0,t.jsx)("div",{style:{fontSize:".72rem",color:"var(--muted)",textAlign:"center",fontFamily:"var(--mono)",marginBottom:14},children:"Free plan available. No card required to start."}),(0,t.jsxs)("div",{style:{borderTop:"1px solid var(--border)",paddingTop:14,textAlign:"center"},children:[(0,t.jsx)("div",{style:{fontSize:".72rem",color:"var(--muted2)",fontFamily:"var(--mono)",marginBottom:8,lineHeight:1.5},children:"Or skip the upgrade —"}),(0,t.jsx)(a(),{href:"/signup",style:{fontSize:".76rem",fontFamily:"var(--mono)",fontWeight:700,color:"#34D399",textDecoration:"none",lineHeight:1.5},children:"Invite a friend → both get Home context free ↗"})]})]})]})]}),(0,t.jsx)("section",{className:"lp-section",children:(0,t.jsxs)("div",{style:{background:"linear-gradient(135deg, rgba(245,158,11,0.06) 0%, rgba(52,211,153,0.06) 100%)",border:"1px solid rgba(245,158,11,0.2)",borderRadius:12,padding:"40px 44px",display:"flex",alignItems:"center",justifyContent:"space-between",gap:32,flexWrap:"wrap"},children:[(0,t.jsxs)("div",{style:{flex:1,minWidth:260},children:[(0,t.jsx)("div",{style:{fontFamily:"var(--mono)",fontSize:".65rem",fontWeight:700,letterSpacing:".1em",textTransform:"uppercase",color:"var(--accent)",marginBottom:12},children:"For you and your team"}),(0,t.jsxs)("h2",{style:{fontFamily:"var(--mono)",fontSize:"clamp(1.1rem, 2.5vw, 1.6rem)",fontWeight:800,lineHeight:1.2,marginBottom:12},children:["Invite a colleague.",(0,t.jsx)("br",{}),"You both get Home context free."]}),(0,t.jsx)("p",{style:{fontSize:".85rem",color:"var(--muted2)",lineHeight:1.7,maxWidth:440},children:"Home context is normally part of the Pro plan — a separate AI memory for side projects and personal use. Invite one person who signs up, and you both unlock it for free, forever."})]}),(0,t.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:12,flexShrink:0,minWidth:220},children:[(0,t.jsx)(a(),{href:"/signup",className:"lp-btn-primary",style:{textAlign:"center",textDecoration:"none"},children:"Get your invite link →"}),(0,t.jsx)("div",{style:{fontFamily:"var(--mono)",fontSize:".68rem",color:"var(--muted)",textAlign:"center",lineHeight:1.5},children:"Sign up free \xb7 your invite link is waiting in the dashboard"})]})]})}),(0,t.jsxs)("section",{className:"lp-section lp-final",children:[(0,t.jsx)("h2",{className:"lp-final-h",children:"One context. Every AI. Every session."}),(0,t.jsx)("p",{className:"lp-final-sub",children:"Free forever. No credit card. Install in 30 seconds."}),(0,t.jsx)(a(),{href:"/signup",className:"lp-btn-primary",children:"Create your account →"})]}),(0,t.jsxs)("footer",{className:"lp-footer",children:[(0,t.jsxs)(a(),{href:"/",className:"lp-logo",style:{marginBottom:0},children:[(0,t.jsx)(s.p,{size:24}),"forgein"]}),(0,t.jsxs)("div",{className:"lp-footer-links",children:[(0,t.jsx)(a(),{href:"/for/claude-code",children:"For Claude Code"}),(0,t.jsx)(a(),{href:"/for/chatgpt",children:"For ChatGPT"}),(0,t.jsx)(a(),{href:"/for/copilot",children:"For Copilot"}),(0,t.jsx)(a(),{href:"/for/gemini",children:"For Gemini"}),(0,t.jsx)(a(),{href:"/for/cursor",children:"For Cursor"}),(0,t.jsx)(a(),{href:"/for/windsurf",children:"For Windsurf"}),(0,t.jsx)(a(),{href:"/for/mcp",children:"MCP Server"}),(0,t.jsx)(a(),{href:"/open",children:"Open protocols"}),(0,t.jsx)(a(),{href:"/cli",children:"CLI"}),(0,t.jsx)(a(),{href:"/docs",children:"Docs"}),(0,t.jsx)(a(),{href:"/docs/api",children:"API reference"}),(0,t.jsx)(a(),{href:"/changelog",children:"Changelog"}),(0,t.jsx)("a",{href:"https://github.com/forgeinai/forgein",target:"_blank",rel:"noopener",children:"GitHub"}),(0,t.jsx)(a(),{href:"/pricing",children:"Pricing"}),(0,t.jsx)(a(),{href:"/login",children:"Sign in"}),(0,t.jsx)(a(),{href:"/signup",children:"Get started"})]}),(0,t.jsx)("span",{className:"lp-footer-copy",children:"\xa9 2026 Forgein"})]}),(0,t.jsx)("style",{children:"\n        @keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.2} }\n        @media(max-width:680px){\n          .lp-pricing{grid-template-columns:1fr!important}\n        }\n        @media(max-width:700px){ .lp-mcp-grid{grid-template-columns:1fr!important} }\n        @media(max-width:680px){ .lp-steps-grid{grid-template-columns:1fr!important} }\n      "})]})}},6857:(e,r,o)=>{"use strict";o.d(r,{p:()=>n});var t=o(5711);function n(e){let{size:r=26}=e,o=Math.round(.24*r);return(0,t.jsx)("img",{src:"/icon.png",alt:"","aria-hidden":"true",width:r,height:r,style:{borderRadius:o,flexShrink:0,display:"block"}})}}},e=>{var r=r=>e(e.s=r);e.O(0,[1545,3054,7839,7358],()=>r(8051)),_N_E=e.O()}]);

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.