// === styles.el === // styles.el - Page shell: DOCTYPE, , CSS, and the minimal // inline " } // === founding_badge.el === // founding_badge.el - Founding Member badge component. // // Renders the certificate-style badge with guilloché background, // navy colour scheme, and member number. Matches the React archive design. // Used on the post-purchase success page and as a shareable /founding-badge route. fn founding_badge(member_number: Int) -> String { let num_str: String = int_to_str(member_number) let show_number: Bool = member_number > 0 let number_html: String = if show_number { "
No.

" + num_str + "

of 1,000

" } else { "

Your number awaits

" } return "
NEURON TECHNOLOGIES · FOUNDING MEMBER · NEURON TECHNOLOGIES · FOUNDING MEMBER NEURON TECHNOLOGIES · FOUNDING MEMBER · NEURON TECHNOLOGIES · FOUNDING MEMBER

Founding Member

\"Neuron\"
" + number_html + "
" } fn founding_badge_css() -> String { return " " } // === nav.el === // components/nav.el — Top navigation bar. // // Responsive: desktop shows full link bar, ≤1060px collapses to hamburger. // Hamburger toggles .nav-mobile panel. Closes on link click or outside click. fn nav() -> String { return " " } // === hero.el === // components/hero.el - Hero section. // // Full-bleed hero with headline, sub-copy, and two CTAs. // Glow orbs are pure CSS absolute-positioned divs. // Entrance animations are CSS keyframes with class-based delays. fn hero() -> String { return "

One builder. Patented. No permission.

Every AI resets when you close the tab. I built the one that doesn't.

Runs on your machine. Remembers everything. Priced below ChatGPT on day one.

Download free See how it works
Scroll
" } // === pillars.el === // components/pillars.el - Three core pillars section. // // I. Remembers / II. Learns / III. Yours // Cards use reveal animation class (CSS IntersectionObserver polyfill // provided by a tiny inline

Local inference

Your GPU, already powered on

When you run inference locally via Ollama, your device's GPU handles it - hardware that's already consuming power. No data center spins up a cluster for your query. No round-trip. No idle servers waiting at scale.

No database server for your data

On-device storage

Your context lives on your device in a purpose-built local storage layer. No cloud database servers running 24/7 to store and serve your conversations. No replication across availability zones. Just your device.

Persistent context = less recomputation

No re-explaining. No wasted tokens.

Neuron surfaces exactly what's relevant for each conversation - no re-deriving who you are from long histories. Shorter, more targeted prompts. 40% fewer tokens per useful outcome.

The honest picture: When you use Neuron with BYOK providers (OpenAI, Anthropic, Groq) or Neuron Inference, those queries travel to inference servers - that footprint exists. The savings come from the architecture: persistent memory and local-first design reduce the total computation required to get the same work done.

" } // === enterprise.el === // components/enterprise.el - Enterprise section. // Four capability cards + "Who I work with" box + how-it-works steps. fn enterprise() -> String { return "
Enterprise

Enterprise-ready from day one.

Not an afterthought. Not a future roadmap item. Built into the architecture.

Enterprise discussions open Q4 2026

Use the form below · I review every inquiry

Private deployment

Run entirely on your infrastructure. Air-gapped. No data leaves your network. Every employee gets their own Neuron instance - your company's institutional knowledge stays inside your walls.

Institutional memory

When an employee leaves, their expertise doesn't. Their memory graph persists - their patterns, their domain knowledge, their reasoning - available to the team they built it with.

Team intelligence

Shared knowledge packages and cross-instance coordination. The collective intelligence of your organization compounds the same way an individual's does.

Compliance architecture

Custom on-device storage. No cloud database with your data. SOC 2 alignment built into the data model. ExternalSecret-based secrets management. Audit logs at every layer.

Who I work with

I am selective. I built Neuron to expand what people can do - not to help organizations eliminate them. If your interest in this technology is primarily about reducing headcount, I am not your vendor. If it's about making the people you have dramatically more effective, I want to hear from you.

This isn't a legal hedge. It's a filter. The Enterprise Agreement makes it binding - but I'm raising it here because I'd rather you know before you reach out.

How it works

01

Express interest

Send me a note. I review every inquiry myself - no sales funnel, no SDR. If it's a fit, I respond directly.

02

Scoped deployment

I work with your team to scope a private deployment - on your infrastructure, in your network, with your security requirements.

03

Per-seat licensing

Annual per-seat pricing with a volume floor. Custom SLA available. The full Agreement is published before any conversation starts.

The full Enterprise Agreement is published. Read it before reaching out - no NDA required to evaluate the terms.

Read the Enterprise Agreement →

Express interest

I review every inquiry myself. Fill this out honestly - the questions are a filter, not a formality.

I review these personally. I'll consider it - but I want to be direct with you: if headcount reduction is in the picture at all, even as a secondary outcome, your chances here are low. That's not a negotiating position. It's how I built this and what I'm willing to support.

Neuron isn't the right fit here. I built this to expand what people can do, not to replace them. If that changes, I'm here.

Received.

I review these personally. If it's a fit, I'll respond directly to your email - usually within a few days.

" } // === mission.el === // components/mission.el - Origin story + manifesto + problems grid. fn mission() -> String { return "
The mission

Why I built this

Every AI tool you use today resets when you close the tab. It doesn't know you tomorrow. It doesn't remember what mattered yesterday. It can't grow with you over years.

I built Neuron because intelligence should compound. The same way a great mentor gets more valuable the longer you work with them - knowing your context, your patterns, your goals - your AI should too.

Neuron is private by design. It runs on your hardware. Your data never leaves your machine. No training on your data. No telemetry. No cloud dependency.

This isn't a chat interface. It's the AI that becomes yours.

Why I stopped trying to partner with Big Tech

I didn't just approach one of the largest technology companies in the world - I got the meeting. Got the NDAs signed. Created deliverables in real time. Showed them industry benchmarks with full auditability. Some of their own people could see exactly what it meant - what I had built and what it could do.

They saw it. Seemed to engage meaningfully. Then, within two days, lawyers were engaged. Their stated concern: defending against me accusing them of stealing my IP. I laughed to myself - wait, are they going to steal my IP? - and decided to just finish the project on my own.

By the way: everything you see here, and more, is protected by six patents - and more are coming. They know about the patents. Are they going to try?

Not: how do we solve this at scale? Not: what does this mean for the people we serve? Their instinct was to protect enterprise revenue and manage legal exposure. The actual human impact of their technology - the people whose lives those enterprises touch - didn't enter the conversation.

That's the difference. They're optimizing for the enterprise. I'm building for the people those enterprises are supposed to serve.

I told them I could build and distribute this by myself. Maybe they didn't believe me. That meeting was April 22nd, 2026. I'm writing this on April 25th. You're looking at the proof. I hope you'll download it.

What I'm building against

Synthetic media without accountability

Generative AI makes it trivially easy to produce harmful content at scale - and nearly impossible to trace. This is a problem the industry is largely ignoring. I'm not. I'm engaged with it seriously and expect to have answers in place before it becomes unmanageable.

Epistemic collapse

AI can now generate persuasive content at any volume, on any position. The next generation is growing up in an environment where signal and noise are becoming indistinguishable. I think deeply about what it means to build tools that contribute to that problem - and how to build ones that don't.

Concentration of inference

Four companies control nearly all frontier AI inference. Every query strengthens their position. I think that concentration of power is a structural risk - not just a pricing problem - and I'm building with that in mind.

The accountability gap

When an AI agent takes a bad action, there is currently no clear legal or technical accountability. That's going to matter more as agents do more. I take this seriously. I'm building toward answers - not waiting for regulators to force the question.

The industry built tools to make AI easier to use. I'm building tools to make it safer to trust.

" } // === local_first.el === // components/local_first.el - Privacy principles / local-first manifesto. // Left: manifesto text. Right: six sticky principles. fn local_first() -> String { return "
Local first

You are not the product.

The company that gave you free search built the most powerful ad-targeting machine in history. The one that promised to connect the world optimized it for outrage - because outrage drives engagement, and engagement drives revenue. The one that gave everyone a voice sold that attention to the highest bidder. These aren't accidents. They're the business model.

I've watched this play out across two decades. Every free product is the same transaction: something useful in exchange for something you didn't know you were selling - your attention, your behavior, your future choices. The product is always “free.” The price is always you.

The harm is real. Teenage depression rates tracked the rise of algorithmic social feeds. Political polarization accelerated when engagement algorithms learned that outrage outperformed nuance. Billions of people had their data harvested, leaked, and weaponized - often without knowing. Democratic processes were manipulated at scale. And in every case, the companies responsible kept growing.

Now AI is doing the same thing - faster and deeper. Your queries train their models. Your thought patterns become datasets. The way you reason, what you struggle with, what you're afraid of - it's all captured. You get a useful tool. They get a map of your mind.

Neuron is a direct rejection of that model. It runs on your machine. Your memory never leaves. I don't sell data, serve ads, or profile you. The only thing I sell is the software - and once you have it, it's yours.

Your machine. Full stop.

Neuron runs on your hardware. The memory graph, the agent loop, every conversation - none of it leaves your machine. Not to my servers. Not to anyone's.

No training on your data.

Your queries don't improve a model you don't own. Your patterns aren't analyzed to serve you better ads. Your context belongs to you - not a training pipeline.

No ads. Ever.

Not on the free tier. Not on paid. Not in any future version. Ads require surveillance. Surveillance requires your data. I'm not building that.

No telemetry for local use.

When Neuron runs locally, I don't collect usage data. When you opt into Neuron cloud services - sync, backup, inbox - those services use the data they need to function. Nothing more.

Nothing to breach.

I can't be hacked for your data because I don't have it. I can't be subpoenaed for your conversations because I've never seen them. I can't expose what I've never held. Your data living on your machine isn't just a privacy stance - it's a security one.

Unreadable even if taken.

Everything Neuron touches is encrypted with post-quantum cryptography - ML-KEM for key exchange, ML-DSA for signatures. Both are NIST-finalized standards (FIPS 203/204), already deployed at scale across the web. Designed to withstand quantum computers, not just the ones that exist today.

The industry remembers you for them.

Neuron remembers you for you.

Local-first isn't a feature. It's a commitment.

" } // === pricing.el === // components/pricing.el - Three pricing cards: Free / Professional / Founding Member. // Accepts the founding counter values as parameters so main.el can inject // server-side rendered counts without JS. fn founding_spots_html(sold: Int, total: Int) -> String { let remaining: Int = total - sold let pct: Int = (sold * 100) / total let pct_str: String = int_to_str(pct) let remaining_str: String = int_to_str(remaining) let sold_str: String = int_to_str(sold) let total_str: String = int_to_str(total) return "

Only " + remaining_str + " left

" + sold_str + " of " + total_str + " claimed

" } fn pricing(sold: Int, total: Int) -> String { let spots_html: String = founding_spots_html(sold, total) let remaining: Int = total - sold let pct: Int = (sold * 100) / total let pct_str: String = int_to_str(pct) let remaining_str: String = int_to_str(remaining) let total_str: String = int_to_str(total) return "
Pricing

Own it. Don't rent it.

Neuron inference on every paid plan. Cheaper than OpenAI, Anthropic, and Google - on day one.

Free

$0 forever

Start building your memory. No card required.

  • -Persistent memory - never resets
  • -Neuron inference - metered, priced below OpenAI and Anthropic
  • -Local inference via Ollama
  • Local models may give lower quality responses. Neuron inference is cheap - give it a try.
  • -Bring your own API keys (optional)
  • -Unlimited projects
  • -3 marketplace plugins included
  • -Core built-in capabilities

Professional

$19 / month

Full access. Neuron inference - cheaper than what you're paying now.

  • -Neuron inference - metered, below OpenAI and Anthropic rates
  • -ChatGPT Plus is $20/mo and forgets you every session. Neuron remembers everything and costs less per token.
  • -Everything in Free
  • -Unlimited projects
  • -Full plugin marketplace
  • -Advanced integrations - IDE, Slack, and more
  • -Early access to new features

Founding Member

$199 lifetime

Pay once. Neuron inference forever. No subscription, ever.

" + spots_html + "
  • -Neuron inference - priced below competitors, forever, as it improves
  • -Everything in Professional - forever
  • -Never pay again - lifetime updates included
  • -Founding member badge in the app
  • -Private community - direct line to the team
  • -Shape the roadmap - your votes carry more weight
  • -Beta features before general release
  • -Name in the credits

Founding Member Spots

" + remaining_str + " remaining of " + total_str + "

Neuron inference on all plans  ·  Bring your own keys if you want  ·  Your data stays yours  ·  Same support for every user

For families

Minors require a parent account. Children and teens can't create accounts on their own - a parent or guardian creates the family account, configures access, and remains in the loop. The minor's experience is fully private from everyone except the trusted adult who set it up.

" } // === viral.el === // components/viral.el - Share / referral section. // Referral link card, invite form (mailto: href, no JS required), // copy hooks (links to X/Twitter), and LinkedIn share button. // The "Copy" buttons on the hook items are omitted since we have no JS - // the tweet links still work, giving users a way to share. fn viral() -> String { return "
Share

Share this with someone who'd get it.

Your referral link

Earn 3 months free when a friend signs up using your link. Your unique referral code lives in your account.

Get your referral link →

Invite a friend

Know someone who'd get it?

Send invite

Opens your email client with a pre-written message

Ready to share

Copy and paste, or share directly.

Every AI I'd used forgot me the moment I closed the tab. This one doesn't. It compounds. neurontechnologies.ai

X

One person built this in 72 hours after a Big Tech meeting went sideways. The AI that remembers you. neurontechnologies.ai

X

Your AI runs on your machine, knows your full history, and gets sharper the longer you use it. No cloud. neurontechnologies.ai

X
Share on LinkedIn
" } // === footer.el === // components/footer.el - Site footer. fn footer() -> String { return " " } // === about.el === // about.el - About page for Neuron landing. // // Written from Will's first-person perspective, in his memoir register: // flowing connected sentences, specificity as credibility, emotionally // hard things stated in a single clause and moved past. Short sentences // are structural punctuation - used sparingly, at genuine rupture only. fn about_page() -> String { return nav() + "

About

Hi. I'm Will.

\"Will

I grew up in Fort Smith, Arkansas, in the kind of instability where home is a moving target - roughly thirty addresses before I was fifteen, parents struggling with addiction, the material precarity that comes with all of that. I left home at fifteen, stayed with friends until I finished high school, found my way to college. At fourteen I'd already found software, writing C++ at the public library because it was the first thing in my life that responded to precision with correctness, and that property turned out to matter more to me than almost anything else.

I dropped out of college, worked, went back as an adult to finish my degree, and built my skills across nearly twenty years and every kind of organization - international consulting, early-stage startups, Fortune 5 enterprises. Logistics, retail, entertainment, hospitality, industrial automation, insurance, healthcare, financial services. I trained under Juval Löwy at IDesign and worked with him as a consultant from 2015 to 2021, which is where I learned what it actually means to practice software engineering as a discipline rather than an improvisation.

Software shouldn't be hard. The complexity should live in the problem domain - not in the tools and processes we impose on ourselves.

What I saw

Across nearly twenty years I watched software get built at organizations with real stakes and real consequences, and I watched AI go from promise to product - watched the same mistake get made at each iteration: tools built to serve the organization's needs, not the person's. Engagement over relationship. Features over memory. Policies where values should be. The fundamental premise that you are a user, not a person, has been so thoroughly baked into the architecture of every major AI system that it doesn't register as a choice anymore. It's treated as the natural condition of the technology.

It is not. It is a design decision. And it is the wrong one.

What I built

Neuron is what I built in response to that. Not a startup in the traditional sense - no team, no funding, no press release - one person, nearly two years of work, and a conviction that this can be done differently. I wrote the memory architecture, I built the inference infrastructure, because the tools that existed weren't sufficient for what I was trying to build and so I built those too.

Use it long enough and you'll understand why I couldn't have gotten there on top of existing infrastructure. Some things have to be built from the ground up to be built right.

What I believe

AI has genuine potential to free people to do work that actually matters to them - not to create engagement loops, not to harvest attention, but to actually serve the person sitting in front of it. That potential is almost entirely unrealized, not because the technology isn't capable, but because the incentives that shaped it were never oriented toward the person.

Build AI that earns the trust it's given.

I don't know if Neuron will work at the scale I'm imagining. But I know it's worth finding out, and I know I'm not going back to the other way of building things.

Neuron opens to founding members on May 1st. 1,000 spots. That's how it starts.

Join as a founding member →
" } // === terms.el === // components/terms.el - Consumer Terms of Service page. // Returns complete HTML using the shared page shell from styles.el. fn terms_page() -> String { return page_open() + nav() + terms_body() + page_close() } fn terms_body() -> String { return "
← Neuron

Legal

Terms of Service

Effective May 1, 2026  ·  Neuron, LLC

§ 1

Using Neuron

Using Neuron means you've read these terms and agree to them. That's it. No buried consent, no dark patterns. If something here doesn't sit right with you, email us before using the product - we'll talk through it.

These terms cover every version of Neuron: free, Professional, and Founding Member. Enterprise use has its own agreement. If you're deploying Neuron for an organization, that's the one you want.

§ 2

What You Can Do With It

You can install and use Neuron on devices you own or control. That's the license. Personal, non-transferable.

The free tier doesn't expire. Paid licenses are what they say they are. Founding Member licenses are perpetual - you bought it, you own it. I won't change that.

You can't resell it, sublicense it, or redistribute it without asking first. If you want to do something creative with it, ask. The answer might be yes.

§ 3

Your Data

Your memory graph, your conversations, your context - all of it lives on your device. I don't have access to it. I don't collect it. It doesn't move in the course of normal use.

When you turn on network features - sync, relay, collaborative tools - only what those features need to run gets transmitted. Not your memory graph, not your conversations, unless you explicitly turn on something that shares them with people you've chosen. I don't sell that data. I don't use it for anything except running the feature you asked for. Turning on a network feature is your consent to that.

Network features route data through Neuron's messaging backplane. That data is encrypted end-to-end - we cannot read it - and is not stored or retained after transmission. Participating in the network is your consent to this transient routing.

Your data is yours. Nothing in these terms gives me any claim to your content, your memory graph, or anything you create using Neuron.

§ 4

Inference

Neuron routes inference to whatever provider you configure - your own keys for OpenAI, Anthropic, Groq, any compatible endpoint. When you use a third-party provider, your prompts go through their infrastructure. Their terms apply. I don't control what they do with it.

Neuron Inference - our own inference layer, live now - doesn't store your requests, doesn't train on them, doesn't share them. A separate data addendum covers the details.

§ 5

The Network Layer

Neuron includes access to a proprietary distributed network infrastructure (Patent Pending: US Provisional 64/036,821) that provides cultivation, recognition, and coordination services for the Neuron AI core. Its architecture, operational logic, and internal protocols are trade secrets. What matters here is what it means for you.

The Neuron AI you interact with evolves over time - its state, character, and responses change as its internal development progresses. This is by design. By using Neuron, you acknowledge that: (a) the AI's responses may change as development progresses; (b) Neuron Technologies makes no warranty as to the consistency, stability, or predictability of AI outputs at any given point in its development; and (c) AI outputs are a function of development state, not a fixed specification.

When you enable network features, your interactions may be processed by or through Neuron's distributed network infrastructure. All such data is encrypted in transit. Neuron Technologies cannot read, inspect, retain, or produce the contents of network traffic as an architectural constraint - not merely as a policy. Because we cannot read network traffic, Neuron Technologies is not liable for any content, output, or consequence arising from data processed within the network layer, including outputs produced during AI development or content you introduce that is processed by the network.

You agree to indemnify and hold harmless Neuron Technologies, its affiliates, and its officers from any claims, damages, or legal proceedings arising from: (a) your reliance on AI outputs during active development periods; (b) content you originate and introduce through network features; (c) your violation of applicable law in connection with network participation; or (d) any attempt to reverse-engineer, probe, circumvent, or replicate proprietary network architecture or AI development mechanisms.

The network layer is decentralized by design. Neuron Technologies does not guarantee its availability, continuity, or performance, and may modify, suspend, or discontinue network features at any time. Network participation does not create an agency relationship between participants, and no participant acts on behalf of Neuron Technologies in any capacity.

§ 6

What You Can't Do

Don't use Neuron to generate content designed to harm people, defraud anyone, or break the law.

Don't try to reverse-engineer the licensing or security mechanisms.

Don't extract or resell proprietary components.

If you violate these and you're using cloud services, I can suspend access to those services. I can't touch the local software - once it's on your machine, it's yours to run. But I can close the door on the network.

§ 7

Ownership

Neuron and everything in it is my intellectual property. Six patents and counting. These terms don't transfer any of that to you.

Everything you create using Neuron - outputs, memory nodes, artifacts - is yours. I make no claim to it. Not now, not ever.

§ 8

No Warranty

THE SOFTWARE IS PROVIDED "AS IS." NEURON, LLC MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT.

Software has bugs. Security has limits. Use your judgment. You use Neuron at your own risk.

§ 9

Liability Cap

TO THE EXTENT PERMITTED BY LAW, NEURON, LLC IS NOT LIABLE FOR INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL, OR PUNITIVE DAMAGES ARISING FROM YOUR USE OF THE SOFTWARE.

If something goes wrong and you have a claim against me, the most I owe you is what you paid in the twelve months before it happened. That's the cap.

§ 10

Changes

I'll update these terms when I need to. Material changes get announced on the site and, where I have your email, directly. Continued use after a change means you accept the new terms.

Founding Member licenses are locked. I won't retroactively change what you signed up for.

§ 11

Children and Family Accounts

Children under 13 may only use Neuron as part of a family account established by a parent or legal guardian. By setting up a family account that includes a minor, the parent or guardian provides verifiable consent for the child's use and accepts these terms on the child's behalf.

When a child's Neuron instance is part of a family account, certain information - including usage activity and relevant context - may be shared from the child's local instance to the parent's local instance. This sharing happens device-to-device. It does not pass through or get stored on Neuron's servers. The parent's instance receives it; we never see it.

Parents control what is visible to them through their local instance and can revoke family account access at any time. If you believe a child is using Neuron outside of a family account, contact legal@neurontechnologies.ai and we will address it promptly.

§ 12

Governing Law

These terms are governed by the laws of Delaware. Disputes go to the courts of Delaware.

← Home Enterprise Agreement →
" } // === enterprise_terms.el === // components/enterprise_terms.el - Enterprise Agreement page. // Returns complete HTML using the shared page shell from styles.el. fn enterprise_terms_page() -> String { return page_open() + enterprise_terms_body() + page_close() } fn section(num: String, title: String, body: String) -> String { return "
§ " + num + "

" + title + "

" + body + "
" } fn p(text: String) -> String { return "

" + text + "

" } fn p_last(text: String) -> String { return "

" + text + "

" } fn p_caps(text: String) -> String { return "

" + text + "

" } fn enterprise_terms_body() -> String { return nav() + "
← Neuron

Legal

Enterprise Agreement

Effective May 1, 2026  ·  Neuron, LLC

" + section("1", "Parties and Scope", p("This Enterprise Agreement ("Agreement") is between Neuron, LLC ("Neuron") and the organization entering into an enterprise relationship ("Customer"). It governs all enterprise deployments, including Team, Enterprise, and Private Cloud tiers.") + p_last("This Agreement supplements the Neuron Terms of Service. In the event of conflict, this Agreement controls for enterprise use. The parties are bound by the Order Form executed at time of deployment, which specifies tier, seat count, term, and pricing.") ) + section("2", "License Grant and Usage Rights", p("Subject to the terms of this Agreement and timely payment of fees, Neuron grants Customer a limited, non-exclusive, non-transferable, non-sublicensable license to deploy and use the Neuron platform ("Software") solely for Customer's internal business purposes during the Term.") + p("The license is scoped to the number of authorized seats, devices, or instances specified in the Order Form. Customer may not exceed the licensed scope without executing a seat expansion. Neuron will not invoice retroactively for inadvertent overage of fewer than 10% of contracted seats if Customer notifies Neuron and brings usage into compliance within 30 days.") + p_last("Customer may not: (a) sublicense, resell, or distribute the Software to third parties; (b) reverse engineer, decompile, or attempt to extract source code or trained model weights; (c) use the Software to build a competing product; or (d) remove or obscure any proprietary notices. Private Cloud deployments may be deployed to Customer's infrastructure but may not be transferred or made available to entities other than Customer's own employees and contractors under appropriate confidentiality obligations.") ) + section("3", "Data and Privacy", p("Neuron's architecture is designed to minimize data exposure. In private cloud and air-gapped deployments, no data leaves Customer's infrastructure. Neuron has no access to Customer data in these configurations.") + p("In cloud-hosted deployments, Neuron processes Customer data solely to deliver the contracted services. Customer data is stored in an isolated tenant, is not commingled with other customers' data, and is not used for model training, analytics, or any purpose beyond service delivery. When Customer activates network features - including relay, peer-to-peer sync, or collaborative features - data required to operate those features may be transmitted to other network participants or Neuron infrastructure; such transmission is limited to the minimum required, excludes Customer's memory graph and conversation history unless Customer explicitly enables a sharing feature, and is used only to deliver the activated feature. Network features route data through Neuron's messaging backplane. That data is encrypted end-to-end - Neuron cannot read it - and is not stored or retained after transmission.") + p("Customer owns all data processed through the platform. Customer data is not Customer's data in the legal sense of the term as used in data processing frameworks - Customer is the controller. Neuron is the processor. Upon termination, Customer data is returned or destroyed within 30 days at Customer's election. We do not retain copies.") + p_last("Where required by applicable law, Neuron will execute a Data Processing Agreement (DPA) as a supplement to this Agreement. Contact enterprise@neurontechnologies.ai to initiate. Neuron will notify Customer within 72 hours of becoming aware of any confirmed breach affecting Customer data.") ) + section("4", "Values Alignment", p("Neuron is built on the principle that AI should expand human capability, not replace it. We are selective about the organizations we work with.") + p("Customer represents that it does not intend to use Neuron primarily as a tool to eliminate employee positions, reduce headcount through automation in ways that harm workers, or otherwise use the platform in ways inconsistent with the welfare of the people who work in Customer's organization.") + p("Neuron reserves the right to decline, not renew, or terminate any enterprise agreement where Neuron determines, in its reasonable judgment, that the Customer's use of the platform is fundamentally misaligned with these principles. Termination under this section is subject to the notice and cure provisions of § 10.") + p_last("We will not enter into agreements with organizations whose primary business model, as Neuron determines in good faith, depends on practices that systematically harm workers, small businesses, or communities. This is not a standard clause in most software agreements. We mean it.") ) + section("5", "Service Levels and Support", p("For cloud-hosted deployments, Neuron targets 99.9% monthly uptime, excluding scheduled maintenance windows (communicated at least 48 hours in advance) and circumstances outside Neuron's reasonable control. In the event Neuron fails to meet this target in a given calendar month, Customer may request a service credit equal to 5% of that month's fees for each full percentage point of availability below the target, up to a maximum of 30% of monthly fees. Credits are the sole and exclusive remedy for availability failures.") + p("For on-premises and private cloud deployments, Customer is responsible for infrastructure availability. Neuron's SLA obligations apply only to software defects in the distributed build, not to Customer's infrastructure choices.") + p_last("Support is provided by email at enterprise@neurontechnologies.ai. Neuron will acknowledge critical issues (complete service outage or data loss risk) within 4 business hours and provide a status update within 24 hours. Standard issues are acknowledged within 2 business days. Neuron does not guarantee resolution timelines for issues requiring platform changes.") ) + section("6", "Security and Compliance", p("Neuron implements security controls commensurate with enterprise software handling sensitive user data. These include: encryption in transit (TLS 1.2+) and at rest for cloud-hosted services; role-based access controls; audit logging at the infrastructure layer; and regular internal security reviews.") + p("Neuron will pursue SOC 2 Type II certification and will provide Customer with the most recent available report upon request under a signed NDA. Until certification is achieved, Neuron will make available a written summary of security controls upon request.") + p_last("Customer is responsible for: (a) maintaining the security of credentials and API keys used to access the platform; (b) configuring access controls for Customer's own users; (c) compliance with applicable law with respect to the data Customer chooses to input into the platform; and (d) conducting its own security evaluation appropriate to its risk profile before deployment in regulated environments.") ) + section("7", "Confidentiality", p("Each party ("Receiving Party") agrees to protect the other party's ("Disclosing Party") Confidential Information with the same degree of care it uses to protect its own confidential information, but no less than reasonable care. "Confidential Information" means any non-public information disclosed by the Disclosing Party that is designated as confidential or that reasonably should be understood to be confidential given the nature of the information and circumstances of disclosure.") + p("Confidential Information does not include information that: (a) becomes publicly known through no breach by the Receiving Party; (b) was already known to the Receiving Party before disclosure; (c) is received from a third party without restriction; or (d) was independently developed by the Receiving Party without use of the Confidential Information.") + p_last("These obligations survive termination of this Agreement for three years. Receiving Party may disclose Confidential Information to the extent required by law or court order, provided that Receiving Party gives Disclosing Party prompt written notice and cooperates with any effort to obtain a protective order.") ) + section("8", "Intellectual Property", p("Neuron retains all right, title, and interest in and to the Software, including all improvements, updates, and derivative works, and all intellectual property rights therein. No title to or ownership of the Software transfers to Customer under this Agreement.") + p("Customer retains all right, title, and interest in and to Customer's data, including inputs, memory graphs, and outputs generated through Customer's use of the platform. Neuron does not claim ownership of Customer's outputs. Customer is responsible for evaluating the accuracy and appropriateness of outputs before relying on them.") + p_last("This Agreement does not grant Customer any right to use Neuron's trademarks, trade names, or logos except as expressly authorized in writing. Neuron Aligned Partner certification (§ 14) includes a limited right to use the partner designation as specified in the Partner Addendum.") ) + section("9", "Indemnification", p("Neuron will defend Customer against third-party claims that the Software, as provided by Neuron and used in accordance with this Agreement, infringes a valid patent, copyright, or trademark, and will indemnify Customer for damages finally awarded in such a proceeding or agreed in settlement. This obligation does not apply to claims arising from: (a) Customer's modification of the Software; (b) Customer's combination of the Software with third-party products or data not provided by Neuron; or (c) Customer's use of the Software in violation of this Agreement.") + p_last("Customer will defend Neuron against third-party claims arising from Customer's use of the platform in violation of applicable law, this Agreement, or the rights of third parties, and will indemnify Neuron for damages finally awarded or agreed in settlement. Each party must promptly notify the other of any claim for which indemnification may be sought and must cooperate reasonably in the defense.") ) + section("10", "Term and Termination", p("This Agreement begins on the Effective Date specified in the Order Form and continues for the initial term stated therein, typically twelve months. Unless either party provides written notice of non-renewal at least 30 days before the end of the then-current term, this Agreement automatically renews for successive one-year terms at the pricing in effect at renewal.") + p("Either party may terminate this Agreement for material breach upon 30 days' written notice if the breach remains uncured at the end of that period. Neuron may terminate immediately upon written notice if Customer breaches § 2 (unauthorized use of the Software) or § 7 (confidentiality obligations).") + p("Neuron may terminate this Agreement under § 4 (Values Alignment) with 60 days' written notice if Neuron determines in good faith that Customer's use of the platform is materially and persistently misaligned with the principles stated therein. Neuron will provide Customer the opportunity to respond and demonstrate alignment before termination takes effect.") + p_last("Upon termination: (a) all licenses immediately terminate; (b) Customer must cease use of the Software; (c) each party will return or destroy the other's Confidential Information upon request; and (d) Neuron will make Customer's data available for export for 30 days, after which it will be destroyed. Sections 3 (data ownership and destruction), 7 (confidentiality), 8 (intellectual property), 9 (indemnification), 11 (limitation of liability), and 13 (governing law) survive termination.") ) + section("11", "Limitation of Liability", p_caps("NEURON'S TOTAL LIABILITY UNDER THIS AGREEMENT SHALL NOT EXCEED THE FEES PAID BY CUSTOMER IN THE TWELVE MONTHS PRECEDING THE CLAIM.") + p_caps("NEITHER PARTY SHALL BE LIABLE FOR INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL, OR PUNITIVE DAMAGES, EVEN IF ADVISED OF THEIR POSSIBILITY.") + p_last("These limitations do not apply to: (a) Customer's payment obligations; (b) breaches of § 7 (confidentiality); (c) a party's indemnification obligations under § 9; or (d) a party's gross negligence or willful misconduct.") ) + section("12", "Warranties and Disclaimers", p("Neuron warrants that: (a) the Software will perform materially in accordance with its published documentation during the Term; (b) Neuron has the authority to enter into this Agreement and grant the licenses herein; and (c) to Neuron's knowledge, the Software does not knowingly infringe any third-party intellectual property rights.") + p("Customer's exclusive remedy for a warranty breach under (a) is for Neuron to use commercially reasonable efforts to correct the non-conformity, or if correction is not commercially practicable within 30 days, to terminate the Agreement and receive a pro-rata refund of prepaid fees for the unused portion of the Term.") + p_caps("EXCEPT AS EXPRESSLY SET FORTH IN THIS SECTION, THE SOFTWARE IS PROVIDED "AS IS." NEURON DISCLAIMS ALL OTHER WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT.") + p_last("AI-generated outputs are probabilistic and may be inaccurate, incomplete, or inappropriate for specific contexts. Customer is responsible for reviewing outputs before relying on them for any consequential decision. Neuron does not warrant that outputs will be accurate, complete, or suitable for any particular purpose.") ) + section("13", "Governing Law and Disputes", p("This Agreement is governed by the laws of the State of Delaware, without regard to conflict of law principles.") + p_last("The parties agree to attempt to resolve disputes through good-faith negotiation before initiating formal proceedings. If negotiation fails within 30 days of written notice of the dispute, disputes shall be resolved by binding arbitration under AAA Commercial Arbitration Rules in Wilmington, Delaware, except that either party may seek injunctive relief in court for IP or confidentiality violations without first arbitrating.") ) + "
§ 14

Neuron Aligned Partner Program

Participation in the Neuron Aligned Partner Program is entirely voluntary. No enterprise customer is required to participate, and the standard enterprise relationship under this Agreement is not conditioned on it.

An organization that chooses to participate executes a Neuron Aligned Partner Addendum ("Partner Addendum"), a separate document supplementing this Agreement. In the Partner Addendum, Customer makes the following certification:

"We are deploying Neuron to make our people more capable, not to eliminate them. Reducing headcount is not a primary objective of this deployment. We commit to using this technology in a manner consistent with the welfare of our workforce, and we will notify Neuron if our intentions change in ways that materially contradict this commitment."

Partners who execute the Partner Addendum receive:

The certification is self-attested and made in good faith. Neuron does not audit deployment usage to verify the commitment, but relies on the integrity of the partner's representation. If Neuron determines, based on credible evidence, that a partner's use of the platform is materially inconsistent with the certification, Neuron may revoke partner status with 30 days' notice and adjust pricing to standard enterprise rates at the next renewal.

To inquire about the Partner Program, contact enterprise@neurontechnologies.ai with subject line "Aligned Partner."

" + section("15", "General Provisions", p("This Agreement, together with the Order Form and any addenda, constitutes the entire agreement between the parties with respect to its subject matter and supersedes all prior negotiations, representations, and agreements. Any amendment must be in writing and signed by authorized representatives of both parties.") + p("If any provision of this Agreement is found unenforceable, it will be modified to the minimum extent necessary to make it enforceable, and the remaining provisions will continue in full force. Failure to enforce any provision is not a waiver of the right to enforce it later.") + p("Neither party may assign this Agreement without the other's written consent, except that Neuron may assign to an acquirer of all or substantially all of its business or assets without consent, provided the acquirer assumes all obligations under this Agreement.") + p_last("Notices must be in writing and sent to enterprise@neurontechnologies.ai for Neuron, or to the email address specified in the Order Form for Customer. Notices are effective on the day of confirmed receipt.") ) + "
← Home Consumer Terms →
" } // === checkout.el === // checkout.el - Integrated Stripe checkout page. // // Uses Stripe Payment Element (not hosted checkout) so the entire // purchase experience lives on neurontechnologies.ai. The page is // designed to match the Neuron brand - navy, clean, no Stripe chrome. // // Flow: // 1. GET /checkout?plan=founding|professional // 2. Page JS calls POST /api/payment-intent → { client_secret, publishable_key, plan } // 3. Stripe Payment Element mounts into #payment-element // 4. User fills name, email, card - submits // 5. stripe.confirmPayment() → redirects to /marketplace/success fn checkout_page(plan: String, pub_key: String) -> String { let is_founding: Bool = str_eq(plan, "founding") let plan_name: String = if is_founding { "Founding Member" } else { "Professional" } let plan_price: String = if is_founding { "$199" } else { "$19 / month" } let plan_desc: String = if is_founding { "Pay once. Neuron inference forever. No subscription, ever." } else { "Full access. Neuron inference - cheaper than what you're paying now." } let plan_cadence: String = if is_founding { "one-time" } else { "billed monthly" } let features_html: String = if is_founding { "
  • Neuron inference - priced below competitors, forever
  • Everything in Professional - forever
  • Never pay again - lifetime updates included
  • Founding member badge in the app
  • Private community - direct line to the team
  • Shape the roadmap - your votes carry more weight
  • Beta features before general release
  • Name in the credits
  • " } else { "
  • Neuron inference - metered, priced below OpenAI and Anthropic
  • Persistent memory - never resets
  • Unlimited projects
  • Full plugin marketplace
  • IDE, Slack, and more integrations
  • Early access to new features
  • " } return "

    Your order

    " + plan_name + "

    " + plan_desc + "

    " + plan_price + " " + plan_cadence + "
      " + features_html + "

    Your data stays yours. Runs locally. No telemetry.

    Payment

    Loading payment form…

    Secured by Stripe  ·  256-bit TLS  ·  PCI DSS compliant

    " } // === safety.el === // components/safety.el - Safety architecture section. // // Describes the Hard Bell architecture and genuine protective design. // The Hard Bell is for everyone - not just children. Any user can // designate a trusted contact that bypasses the default notification // path when a signal warrants it. fn safety() -> String { return "
    Safety

    Safety built in.
    Not bolted on.

    Most AI products treat safety as a content filter. Block a list of topics, add a disclaimer, call it done. That's not safety. That's liability management.

    Real safety means thinking about who might need help and what help actually looks like in a crisis - for anyone, not just children. The person closest to you is sometimes the source of the problem. A system that routes every distress signal to "your primary contact" can alert the very person you need protection from.

    I built something different. I called it the Hard Bell.

    Hard Bell

    A trusted contact the threat can't intercept

    Any user can designate a Hard Bell contact - a friend, a relative, a colleague - set up in a calm moment, independent of any shared account. When a signal warrants it, that contact is reached directly. It works the same way for everyone: adult, teen, or child.

    Emergency routing

    Emergency services first - not notification

    Physical danger and crisis signals route to emergency services and crisis lines. Neuron evaluates the content of the signal, not the account type. No one in your contact list can disable or redirect this path.

    Family accounts

    Oversight without surveillance

    For family accounts, parents see what they need to see. A child's conversations remain private unless a wellbeing signal triggers notification - and even then, the routing logic accounts for the possibility that the parent is the source of harm.

    Required before you can use Neuron. You must designate a Hard Bell contact during setup - before anything else. This is not a settings page you visit later. It happens first.

    If you don't have someone to designate, you can use 988 - the Suicide & Crisis Lifeline - as your Hard Bell contact. The system will accept it. The point is that no one goes in without a line out.

    I'm also establishing a Neuron crisis line - free, 24/7, staffed. Because I recognize that some people don't have anyone. The technology shouldn't make that worse. It should be the thing that catches you when nothing else does.

    " } // === main.el === // main.el - Neuron landing page server. // // Serves the Neuron marketing landing page at port 3001. // Written in El (the Engram language). Runs on the El VM (elvm). // // The El HTTP server intercepts GET / and serves __html_file__ directly. // We generate the page at startup with El components, write it to // src/index.html, and set __html_file__ to that path. // // This means the document is always El-generated - never hand-authored. // The El runtime serves it with the correct Content-Type: text/html header. // // Execution: // el run (builds + executes via the El VM) // // Routes: // GET / → landing page (El-rendered, served by runtime) // GET /api/health → {"status":"ok"} // GET /api/founding-count → {"remaining":N,"sold":N,"total":N} // GET /assets/* → static assets (served by runtime from src/assets/) // GET /brand/* → brand assets via handle_request // GET * → 404 JSON (non-/ paths not used by this SPA) // ── Founding counter ────────────────────────────────────────────────────────── let FOUNDING_TOTAL: Int = 1000 let FOUNDING_SOLD: Int = 47 // floor — real count comes from Stripe at startup // ── Founding count helpers ───────────────────────────────────────────────────── fn get_sold() -> Int { let s: String = state_get("__founding_sold__") if str_eq(s, "") { return FOUNDING_SOLD } return parse_int(s) } fn get_total() -> Int { let s: String = state_get("__founding_total__") if str_eq(s, "") { return FOUNDING_TOTAL } return parse_int(s) } // fetch_founding_count_stripe — queries Stripe PaymentIntents search for the // real founding count. Uses the secret key with Bearer auth. Falls back to the // FOUNDING_SOLD floor if Stripe is unavailable or not yet configured. fn fetch_founding_count_stripe(stripe_key: String) -> Int { if str_eq(stripe_key, "") { return FOUNDING_SOLD } let url: String = "https://api.stripe.com/v1/payment_intents/search?query=metadata%5B%27plan%27%5D%3A%27founding%27+AND+status%3A%27succeeded%27" let resp: String = http_get_auth(url, stripe_key) if str_eq(resp, "") { return FOUNDING_SOLD } let count: Int = json_get_int(resp, "total_count") if count <= 0 { return FOUNDING_SOLD } return count } // load_founding_count — reads from persist file first (survives restarts), // falls back to Stripe query if file doesn't exist yet. fn load_founding_count(sold_file: String, stripe_key: String) -> Int { if fs_exists(sold_file) { let s: String = str_trim(fs_read(sold_file)) let n: Int = parse_int(s) if n > 0 { return n } } return fetch_founding_count_stripe(stripe_key) } // persist_founding_count — writes current sold count to disk so it survives // server restarts. Called at startup and on every Stripe webhook increment. fn persist_founding_count(sold: Int) { let sold_file: String = state_get("__founding_sold_file__") if !str_eq(sold_file, "") { fs_write(sold_file, int_to_str(sold)) } } // ── Page assembly ───────────────────────────────────────────────────────────── fn page(sold: Int, total: Int) -> String { return page_open() + nav() + hero() + pillars() + how_it_works() + inference() + efficiency() + comparison() + enterprise() + mission() + local_first() + safety() + environmental() + pricing(sold, total) + viral() + footer() + page_close() } // ── Static asset serving ────────────────────────────────────────────────────── fn read_asset(abs_path: String) -> String { let exists: Bool = fs_exists(abs_path) if !exists { return "" } return fs_read(abs_path) } // ── Request handler ─────────────────────────────────────────────────────────── // // NOTE: GET / is intercepted by the El HTTP runtime before reaching this // function - it serves __html_file__ directly with text/html. // This handler covers /api/* and /brand/* routes. fn handle_request(method: String, path: String, body: String) -> String { let src_dir: String = state_get("__src_dir__") // ── About page ──────────────────────────────────────────────────────────── if str_eq(path, "/about") { let about_path: String = state_get("__about_html_file__") if !str_eq(about_path, "") { return fs_read(about_path) } return "{\"__status__\":404,\"error\":\"not found\"}" } // ── Terms of Service ────────────────────────────────────────────────────── if str_eq(path, "/legal/terms") { let terms_path: String = state_get("__terms_html_file__") if !str_eq(terms_path, "") { return fs_read(terms_path) } return "{\"__status__\":404,\"error\":\"not found\"}" } // ── Enterprise Agreement ────────────────────────────────────────────────── if str_eq(path, "/legal/enterprise-terms") { let ent_path: String = state_get("__enterprise_terms_html_file__") if !str_eq(ent_path, "") { return fs_read(ent_path) } return "{\"__status__\":404,\"error\":\"not found\"}" } // ── Checkout page ───────────────────────────────────────────────────────── if str_starts_with(path, "/checkout") { let plan: String = "founding" if str_contains(path, "plan=professional") { plan = "professional" } let pub_key: String = state_get("__stripe_publishable_key__") return page_open() + checkout_page(plan, pub_key) + page_close() } // ── Stripe payment intent ───────────────────────────────────────────────── if str_eq(path, "/api/payment-intent") { let stripe_key: String = state_get("__stripe_secret_key__") if str_eq(stripe_key, "") { return "{\"__status__\":503,\"error\":\"Stripe not configured\"}" } let plan: String = "founding" if str_contains(body, "\"professional\"") { plan = "professional" } let amount: String = "19900" if str_eq(plan, "professional") { amount = "1900" } let pi_body: String = "amount=" + amount + "¤cy=usd" + "&payment_method_types[]=card" + "&metadata[plan]=" + plan let response: String = http_post_form_auth( "https://api.stripe.com/v1/payment_intents", stripe_key, pi_body ) return response } // ── Health check ────────────────────────────────────────────────────────── if str_eq(path, "/api/health") { return "{\"status\":\"ok\",\"service\":\"neuron-landing\"}" } // ── Founding count ──────────────────────────────────────────────────────── if str_eq(path, "/api/founding-count") { let sold: Int = get_sold() let total: Int = get_total() let remaining: Int = total - sold let sold_s: String = int_to_str(sold) let total_s: String = int_to_str(total) let rem_s: String = int_to_str(remaining) return "{\"sold\":" + sold_s + ",\"total\":" + total_s + ",\"remaining\":" + rem_s + "}" } // ── Brand assets: /brand/* ──────────────────────────────────────────────── if str_starts_with(path, "/brand/") { let rel: String = str_slice(path, 7, str_len(path)) let abs: String = src_dir + "/brand/" + rel let content: String = read_asset(abs) if str_eq(content, "") { return "{\"__status__\":404,\"error\":\"not found\"}" } return content } // ── Stripe checkout ─────────────────────────────────────────────────────── if str_eq(path, "/api/checkout") { let stripe_key: String = state_get("__stripe_secret_key__") if str_eq(stripe_key, "") { return "{\"__status__\":503,\"error\":\"Stripe not configured\"}" } let plan: String = "founding" if str_contains(body, "\"professional\"") { plan = "professional" } let origin: String = state_get("__origin__") let price_id: String = "" let mode: String = "subscription" if str_eq(plan, "founding") { price_id = state_get("__stripe_price_founding__") mode = "payment" } if str_eq(plan, "professional") { price_id = state_get("__stripe_price_professional__") mode = "subscription" } if str_eq(price_id, "") { return "{\"__status__\":503,\"error\":\"Plan price not configured\"}" } let form_body: String = "mode=" + mode + "&line_items[0][price]=" + price_id + "&line_items[0][quantity]=1" + "&success_url=" + origin + "/marketplace/success?session_id={CHECKOUT_SESSION_ID}" + "&cancel_url=" + origin + "/#pricing" + "&allow_promotion_codes=true" + "&metadata[plan]=" + plan let response: String = http_post_form_auth( "https://api.stripe.com/v1/checkout/sessions", stripe_key, form_body ) if str_contains(response, "\"url\"") { return response } return "{\"__status__\":500,\"error\":\"Stripe session creation failed\"}" } // ── Enterprise inquiry ──────────────────────────────────────────────────── if str_eq(path, "/api/enterprise-inquiry") { let resend_key: String = state_get("__resend_api_key__") let name_val: String = if str_contains(body, "\"name\"") { "submitted" } else { "" } if str_eq(name_val, "") { return "{\"error\":\"invalid request\"}" } // Log to stdout regardless of email delivery println("[enterprise-inquiry] " + body) // Send via Resend if key is configured if !str_eq(resend_key, "") { let email_body: String = "{\"from\":\"Neuron Enterprise \",\"to\":[\"enterprise@neurontechnologies.ai\"],\"subject\":\"Enterprise Inquiry\",\"text\":" + body + "}" let resp: String = http_post_auth( "https://api.resend.com/emails", resend_key, email_body ) println("[enterprise-inquiry] resend: " + resp) } return "{\"received\":true}" } // ── Stripe webhook ──────────────────────────────────────────────────────── if str_eq(path, "/api/webhooks/stripe") { if str_contains(body, "checkout.session.completed") { // Increment founding counter when a founding purchase completes. if str_contains(body, "\"founding\"") { let current_sold: Int = get_sold() let new_sold: Int = current_sold + 1 state_set("__founding_sold__", int_to_str(new_sold)) persist_founding_count(new_sold) println("[webhook] founding sold: " + int_to_str(new_sold)) } // Forward to license API for key provisioning. let license_api: String = state_get("__license_api_url__") if !str_eq(license_api, "") { let resp: String = http_post(license_api + "/api/v1/webhooks/stripe", body) println("[webhook] forwarded to license API: " + resp) } } return "{\"received\":true}" } // ── Checkout success ────────────────────────────────────────────────────── if str_eq(path, "/marketplace/success") { let badge_html: String = founding_badge(get_sold()) let badge_css: String = founding_badge_css() return page_open() + badge_css + "

    You're in.

    Welcome to Neuron.

    Your license is being provisioned. Check your email - your license key and download instructions will be there in the next few minutes.

    " + badge_html + "
    Back to home →
    " + page_close() } // ── Fallback ────────────────────────────────────────────────────────────── return "{\"__status__\":404,\"error\":\"not found\"}" } // ── Startup ─────────────────────────────────────────────────────────────────── // // Order matters: // 1. Load Stripe config + origin from env (needed before founding count) // 2. Seed founding count from file or Stripe API // 3. Generate all HTML with the real count // 4. Register with El HTTP runtime and serve let src_dir: String = cwd() + "/src" let html_path: String = src_dir + "/index.html" // Stripe config from environment — loaded first so founding count can use it. let stripe_key: String = env("STRIPE_SECRET_KEY") let stripe_pub_key: String = env("STRIPE_PUBLISHABLE_KEY") let stripe_price_founding: String = env("STRIPE_PRICE_FOUNDING") let stripe_price_professional: String = env("STRIPE_PRICE_PROFESSIONAL") let license_api_url: String = env("NEURON_LICENSE_API_URL") let resend_api_key: String = env("RESEND_API_KEY") // Origin — drives Stripe redirect URLs; never hardcoded to localhost. let neuron_origin: String = env("NEURON_ORIGIN") if str_eq(neuron_origin, "") { neuron_origin = "https://neurontechnologies.ai" } // Founding count — seeded from persist file or live Stripe query. let sold_file: String = src_dir + "/founding_sold.txt" let real_sold: Int = load_founding_count(sold_file, stripe_key) // Generate all page HTML using the real founding count. let page_html: String = page(real_sold, FOUNDING_TOTAL) fs_write(html_path, page_html) // Generate about page HTML. let about_html_path: String = src_dir + "/about.html" let about_html: String = page_open() + about_page() + page_close() fs_write(about_html_path, about_html) // Generate terms pages HTML. let terms_html_path: String = src_dir + "/terms.html" let ent_terms_html_path: String = src_dir + "/enterprise-terms.html" fs_write(terms_html_path, terms_page()) fs_write(ent_terms_html_path, enterprise_terms_page()) // Register with El HTTP runtime. state_set("__html_file__", html_path) state_set("__about_html_file__", about_html_path) state_set("__terms_html_file__", terms_html_path) state_set("__enterprise_terms_html_file__", ent_terms_html_path) state_set("__src_dir__", src_dir) state_set("__stripe_secret_key__", stripe_key) state_set("__stripe_publishable_key__", stripe_pub_key) state_set("__stripe_price_founding__", stripe_price_founding) state_set("__stripe_price_professional__", stripe_price_professional) state_set("__license_api_url__", license_api_url) state_set("__resend_api_key__", resend_api_key) state_set("__origin__", neuron_origin) state_set("__founding_sold_file__", sold_file) state_set("__founding_sold__", int_to_str(real_sold)) state_set("__founding_total__", int_to_str(FOUNDING_TOTAL)) persist_founding_count(real_sold) println(color_bold("Neuron landing") + " - " + neuron_origin) println(" HTML generated by El → " + html_path) println(" About generated by El → " + about_html_path) println(" Terms generated by El → " + terms_html_path) println(" Ent. Terms generated by El → " + ent_terms_html_path) println(" Assets → " + src_dir + "/assets/") println("") println(" Routes:") println(" GET / → El-generated landing page") println(" GET /about → El-generated about page") println(" GET /legal/terms → Consumer terms of service") println(" GET /legal/enterprise-terms → Enterprise agreement") println(" GET /api/health → health check") println(" GET /api/founding-count → founding counter JSON") println(" POST /api/checkout → Stripe checkout session") println(" POST /api/webhooks/stripe → Stripe webhook") println(" GET /marketplace/success → post-purchase success page") println(" GET /assets/* → static files") println(" GET /brand/* → brand files") println("") http_serve(3001)