Files
neuron-web/build/landing-combined.el
T

4326 lines
218 KiB
EmacsLisp
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// === styles.el ===
// styles.el - Page shell: DOCTYPE, <head>, CSS, and the minimal
// inline <script> for scroll-reveal and nav scroll effect.
//
// This file contains NO application logic - only the outer HTML
// document structure and presentation layer.
//
// CSS is kept as a string constant here to keep component files
// free of style concerns. The inline <script> at the bottom is
// the absolute minimum needed for two progressive-enhancement
// behaviours that cannot be done in pure CSS today:
// 1. IntersectionObserver scroll-reveal (adds .visible to .reveal)
// 2. Nav background on scroll (adds .scrolled to #nav)
//
// Both degrade gracefully: without JS, the page is fully readable
// and all content is visible (reveal elements are visible by default
// in the noscript fallback style).
fn page_open() -> String {
return "<!DOCTYPE html>
<html lang=\"en\">
<head>
<meta charset=\"UTF-8\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
<title>Neuron - The AI That Remembers You</title>
<meta name=\"description\" content=\"Every AI resets when you close the tab. Neuron doesn&#39;t. Runs on your machine. Remembers everything. Cheaper than ChatGPT on day one.\">
<link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/assets/favicon-16.png\">
<link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/assets/favicon-32.png\">
<link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">
<link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>
<link href=\"https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400;1,500&family=IBM+Plex+Sans:wght@300;400;500;600&display=swap\" rel=\"stylesheet\">
<style>
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
--bg: #FAFAF8;
--bg2: #F0F0EC;
--card: #FFFFFF;
--navy: #0052A0;
--navy-d: rgba(0,82,160,.06);
--navy-m: rgba(0,82,160,.12);
--navy-b: rgba(0,82,160,.20);
--navy-65: rgba(0,82,160,.65);
--navy-85: rgba(0,82,160,.85);
--t1: #0D0D14;
--t2: #3A3A4A;
--t3: #6B6B7E;
--t4: rgba(13,13,20,.35);
--border: rgba(0,0,0,.07);
--border2: rgba(0,0,0,.13);
--head: 'Playfair Display', Georgia, serif;
--body: 'IBM Plex Sans', system-ui, sans-serif;
}
html { scroll-behavior: smooth; }
html, body {
background: var(--bg);
color: var(--t1);
font-family: var(--body);
font-weight: 400;
-webkit-font-smoothing: antialiased;
}
body::before {
content: '';
position: fixed;
inset: 0;
pointer-events: none;
z-index: 0;
background-image:
linear-gradient(rgba(0,0,0,.022) 1px, transparent 1px),
linear-gradient(90deg, rgba(0,0,0,.022) 1px, transparent 1px);
background-size: 48px 48px;
}
.container { max-width: 1280px; margin: 0 auto; padding: 0 2.5rem; }
.container-md { max-width: 900px; margin: 0 auto; padding: 0 2.5rem; }
.container-lg { max-width: 1100px; margin: 0 auto; padding: 0 2.5rem; }
section { position: relative; z-index: 1; }
.label {
font-family: var(--body);
font-size: 0.75rem;
font-weight: 500;
letter-spacing: 0.2em;
text-transform: uppercase;
color: var(--navy-65);
}
.display-xl {
font-family: var(--head);
font-size: clamp(2.8rem, 6vw, 5rem);
font-weight: 600;
line-height: 1.06;
letter-spacing: -0.02em;
color: var(--t1);
}
.display-lg {
font-family: var(--head);
font-size: clamp(2rem, 4vw, 3.25rem);
font-weight: 600;
line-height: 1.1;
letter-spacing: -0.02em;
color: var(--t1);
}
.display-md {
font-family: var(--head);
font-size: clamp(1.4rem, 2.5vw, 1.875rem);
font-weight: 600;
line-height: 1.15;
color: var(--t1);
}
.gold {
background: linear-gradient(135deg, #003d7a 0%, #0078D4 50%, #0052A0 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.ink-muted { color: var(--t2); }
.ink-faint { color: var(--t3); }
.navy-line {
height: 1px;
background: linear-gradient(90deg, rgba(0,82,160,.30) 0%, rgba(0,82,160,.08) 100%);
}
.navy-line-center {
height: 1px;
background: linear-gradient(90deg, transparent 0%, rgba(0,82,160,.35) 50%, transparent 100%);
}
.navy-line-left {
height: 1px;
background: linear-gradient(90deg, rgba(0,82,160,.40), transparent);
}
.card-dark {
background: var(--card);
border: 1px solid rgba(0,0,0,.07);
box-shadow: 0 2px 12px rgba(13,13,20,.04);
}
.btn-primary {
display: inline-flex;
align-items: center;
gap: 0.75rem;
font-family: var(--body);
font-size: 0.75rem;
font-weight: 500;
letter-spacing: 0.15em;
text-transform: uppercase;
text-decoration: none;
color: #fff;
background: var(--navy);
padding: 1rem 2rem;
border: none;
cursor: pointer;
transition: background 300ms, box-shadow 300ms;
box-shadow: 0 2px 16px rgba(0,82,160,.20);
}
.btn-primary:hover { background: #0078D4; }
.btn-ghost {
display: inline-flex;
align-items: center;
gap: 0.75rem;
font-family: var(--body);
font-size: 0.75rem;
font-weight: 400;
letter-spacing: 0.15em;
text-transform: uppercase;
text-decoration: none;
color: var(--t2);
background: transparent;
padding: 1rem 2rem;
border: 1px solid var(--border2);
cursor: pointer;
transition: border-color 300ms, color 300ms;
}
.btn-ghost:hover { border-color: rgba(0,82,160,.35); color: var(--t1); }
/* Scroll reveal - elements start invisible; JS adds .visible */
.reveal {
opacity: 0;
transform: translateY(28px);
transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
/* Noscript fallback: make everything visible when JS is unavailable */
@media (prefers-reduced-motion: reduce) {
.reveal { opacity: 1; transform: none; transition: none; }
}
/* ── NAV ─────────────────────────────────────────────────────────────────── */
#nav {
position: fixed;
top: 0; left: 0; right: 0;
z-index: 100;
transition: background 500ms, border-color 500ms;
}
#nav.scrolled {
background: rgba(250,250,248,.95);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border-bottom: 1px solid var(--border);
}
.nav-inner {
max-width: 1280px;
margin: 0 auto;
padding: 0 2rem;
height: 4rem;
display: flex;
align-items: center;
justify-content: space-between;
position: relative;
}
.nav-logo img { height: 2rem; width: auto; display: block; }
/* ── Desktop links ───────────────────────────────────────────── */
.nav-links {
display: flex;
align-items: center;
gap: 1.25rem;
flex-wrap: nowrap;
}
.nav-link {
font-family: var(--body);
font-size: 0.675rem;
font-weight: 400;
letter-spacing: 0.16em;
text-transform: uppercase;
color: var(--t3);
text-decoration: none;
white-space: nowrap;
transition: color 200ms;
}
.nav-link:hover { color: var(--t1); }
.nav-link.cta { color: var(--navy); }
.nav-link.cta:hover { color: #0078D4; }
.nav-cta {
font-family: var(--body);
font-size: 0.675rem;
font-weight: 500;
letter-spacing: 0.15em;
text-transform: uppercase;
color: #fff;
background: var(--navy);
text-decoration: none;
padding: 0.575rem 1.1rem;
white-space: nowrap;
box-shadow: 0 2px 12px rgba(0,82,160,.20);
transition: background 300ms;
}
.nav-cta:hover { background: #0078D4; }
/* ── Hamburger button ────────────────────────────────────────── */
.nav-hamburger {
display: none;
flex-direction: column;
justify-content: center;
gap: 5px;
background: none;
border: none;
cursor: pointer;
padding: 6px 4px;
z-index: 101;
-webkit-tap-highlight-color: transparent;
}
.nav-hamburger span {
display: block;
width: 22px;
height: 2px;
background: var(--t1);
border-radius: 1px;
transition: transform 280ms ease, opacity 200ms ease;
transform-origin: center;
}
.nav-hamburger[aria-expanded=\"true\"] span:nth-child(1) {
transform: translateY(7px) rotate(45deg);
}
.nav-hamburger[aria-expanded=\"true\"] span:nth-child(2) {
opacity: 0;
transform: scaleX(0);
}
.nav-hamburger[aria-expanded=\"true\"] span:nth-child(3) {
transform: translateY(-7px) rotate(-45deg);
}
/* ── Mobile menu ─────────────────────────────────────────────── */
.nav-mobile {
display: none;
position: absolute;
top: 4rem;
left: 0; right: 0;
background: rgba(250,250,248,.98);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
border-bottom: 1px solid var(--border);
padding: 0.5rem 0 1.5rem;
flex-direction: column;
box-shadow: 0 8px 32px rgba(0,0,0,.08);
}
.nav-mobile.open { display: flex; }
.nav-mobile-link {
display: block;
padding: 0.875rem 2rem;
font-family: var(--body);
font-size: 0.75rem;
font-weight: 400;
letter-spacing: 0.16em;
text-transform: uppercase;
color: var(--t2);
text-decoration: none;
border-bottom: 1px solid rgba(0,0,0,.05);
transition: color 150ms, background 150ms;
}
.nav-mobile-link:last-child { border-bottom: none; }
.nav-mobile-link:hover { color: var(--t1); background: rgba(0,82,160,.03); }
.nav-mobile-link.cta { color: var(--navy); }
.nav-mobile-cta {
display: block;
margin: 1rem 2rem 0;
padding: 0.8rem 1.5rem;
text-align: center;
font-family: var(--body);
font-size: 0.75rem;
font-weight: 500;
letter-spacing: 0.15em;
text-transform: uppercase;
color: #fff;
background: var(--navy);
text-decoration: none;
}
/* ── Responsive breakpoints ──────────────────────────────────── */
@media (max-width: 1060px) {
.nav-links { display: none; }
.nav-hamburger { display: flex; }
}
@media (min-width: 1061px) {
.nav-mobile { display: none !important; }
.nav-hamburger { display: none !important; }
}
/* ── HERO ───────────────────────────────────────────────────────────────── */
#hero {
padding: clamp(7rem, 18vh, 11rem) 2.5rem clamp(5rem, 12vh, 8rem);
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
overflow: hidden;
}
#hero .glow-tl {
position: absolute;
top: -10%; left: -5%;
width: 60%; height: 70%;
background: radial-gradient(circle, rgba(0,82,160,.07) 0%, transparent 70%);
pointer-events: none;
}
#hero .glow-br {
position: absolute;
bottom: -10%; right: -5%;
width: 55%; height: 65%;
background: radial-gradient(circle, rgba(0,120,212,.06) 0%, transparent 70%);
pointer-events: none;
}
.hero-label { margin-bottom: 2rem; }
.hero-headline { max-width: 56rem; margin-bottom: 1.5rem; }
.hero-sub {
font-family: var(--body);
font-weight: 300;
font-size: clamp(1rem, 2vw, 1.25rem);
color: var(--t2);
line-height: 1.7;
max-width: 36rem;
margin-bottom: 3rem;
}
.hero-ctas { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.hero-scroll {
display: flex;
flex-direction: column;
align-items: center;
gap: 0.5rem;
margin-top: 4rem;
opacity: 0;
animation: fadeIn 600ms ease 700ms forwards;
}
.hero-scroll span {
font-size: 0.65rem;
font-weight: 500;
letter-spacing: 0.2em;
text-transform: uppercase;
color: var(--t3);
}
.hero-scroll-line {
width: 1px; height: 2.5rem;
background: linear-gradient(to bottom, var(--t3), transparent);
}
@keyframes fadeIn { to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.animate-up-1 { animation: fadeUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.1s both; }
.animate-up-2 { animation: fadeUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.2s both; }
.animate-up-3 { animation: fadeUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.3s both; }
.animate-up-5 { animation: fadeUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.5s both; }
/* ── PILLARS ─────────────────────────────────────────────────────────────── */
#pillars {
padding: 8rem 2.5rem;
background: var(--bg2);
}
.pillars-label { margin-bottom: 4rem; display: flex; align-items: center; gap: 1.5rem; }
.pillars-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1.5rem;
}
@media (max-width: 900px) { .pillars-grid { grid-template-columns: 1fr; } }
.pillar-card {
padding: 2.5rem 3rem;
display: flex;
flex-direction: column;
}
.pillar-numeral {
font-family: var(--head);
font-size: 3rem;
font-weight: 600;
color: rgba(0,82,160,.22);
display: block;
margin-bottom: 2rem;
}
.pillar-title { margin-bottom: 1.25rem; }
.pillar-rule {
width: 3rem; height: 1px;
background: rgba(0,82,160,.30);
margin-bottom: 1.5rem;
transition: width 700ms ease;
}
.pillar-card:hover .pillar-rule { width: 100%; }
.pillar-body {
font-family: var(--body);
font-weight: 300;
font-size: 0.95rem;
color: var(--t2);
line-height: 1.75;
flex: 1;
}
.pillar-detail {
margin-top: 2rem;
font-size: 0.7rem;
font-weight: 500;
letter-spacing: 0.15em;
text-transform: uppercase;
color: rgba(0,82,160,.45);
}
/* ── HOW IT WORKS ─────────────────────────────────────────────────────────── */
#how-it-works {
padding: 8rem 2.5rem 4rem;
}
.hiw-header { margin-bottom: 5rem; }
.hiw-label-row { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 1.25rem; }
.steps-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 3rem 2rem;
position: relative;
}
.steps-grid::before {
content: '';
position: absolute;
top: 1.5rem;
left: 2rem; right: 2rem;
height: 1px;
background: linear-gradient(90deg, transparent, rgba(0,82,160,.15) 10%, rgba(0,82,160,.25) 50%, rgba(0,82,160,.15) 90%, transparent);
pointer-events: none;
}
@media (max-width: 900px) {
.steps-grid { grid-template-columns: 1fr; }
.steps-grid::before { display: none; }
}
.step-circle-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.step-circle {
width: 3rem; height: 3rem; border-radius: 50%;
border: 1.5px solid rgba(0,82,160,.45);
background: var(--bg);
display: flex; align-items: center; justify-content: center;
position: relative; z-index: 1;
flex-shrink: 0;
}
.step-num {
font-size: 0.75rem;
font-weight: 600;
letter-spacing: 0.12em;
color: rgba(0,82,160,.80);
}
.step-aside {
font-size: 0.7rem;
font-weight: 600;
letter-spacing: 0.15em;
text-transform: uppercase;
color: rgba(0,82,160,.80);
}
.step-title { margin-bottom: 1rem; }
.step-body {
font-family: var(--body);
font-weight: 300;
font-size: 0.95rem;
color: var(--t2);
line-height: 1.75;
}
/* ── INFERENCE ───────────────────────────────────────────────────────────── */
#inference {
padding: 4rem 2.5rem 6rem;
}
.inference-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 6rem;
align-items: center;
}
@media (max-width: 900px) { .inference-grid { grid-template-columns: 1fr; gap: 3rem; } }
.inference-label-row { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 1.5rem; }
.inference-headline { margin-bottom: 1.5rem; }
.inference-body {
font-family: var(--body);
font-weight: 300;
font-size: 1rem;
color: var(--t2);
line-height: 1.8;
margin-bottom: 1.5rem;
}
.stat-row {
border-top: 1px solid rgba(0,82,160,.15);
padding: 1.5rem 0;
}
.stat-row:last-child { border-bottom: 1px solid rgba(0,82,160,.15); }
.stat-row-head { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 0.5rem; }
.stat-num {
font-family: var(--head);
font-size: 1.5rem;
font-weight: 600;
color: var(--navy);
}
.stat-label {
font-size: 0.7rem;
font-weight: 500;
letter-spacing: 0.15em;
text-transform: uppercase;
color: var(--t1);
}
.stat-body {
font-family: var(--body);
font-weight: 300;
font-size: 0.875rem;
color: var(--t2);
line-height: 1.7;
}
/* ── EFFICIENCY ──────────────────────────────────────────────────────────── */
#efficiency {
padding: 5rem 2.5rem;
}
.efficiency-header { margin-bottom: 4rem; }
.efficiency-label-row { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 1.25rem; }
.efficiency-sub {
font-family: var(--body);
font-weight: 300;
font-size: 1rem;
color: var(--t2);
line-height: 1.75;
max-width: 36rem;
}
.efficiency-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1.5rem;
margin-bottom: 3.5rem;
}
@media (max-width: 900px) { .efficiency-grid { grid-template-columns: 1fr; } }
.efficiency-card {
padding: 2.5rem;
text-align: center;
}
.efficiency-icon {
width: 4rem; height: 4rem;
border-radius: 50%;
border: 1.5px solid rgba(0,82,160,.20);
background: rgba(0,82,160,.04);
color: rgba(0,82,160,.70);
display: flex; align-items: center; justify-content: center;
margin: 0 auto 2rem;
}
.efficiency-stat {
font-family: var(--head);
font-size: 1.75rem;
font-weight: 600;
color: var(--navy);
margin-bottom: 0.75rem;
}
.efficiency-title {
font-size: 0.7rem;
font-weight: 500;
letter-spacing: 0.15em;
text-transform: uppercase;
color: var(--t1);
margin-bottom: 1.25rem;
}
.efficiency-rule {
width: 2.5rem; height: 1px;
background: rgba(0,82,160,.25);
margin: 0 auto 1.5rem;
transition: width 700ms ease;
}
.efficiency-card:hover .efficiency-rule { width: 60%; }
.efficiency-body {
font-family: var(--body);
font-weight: 300;
font-size: 0.875rem;
color: var(--t2);
line-height: 1.75;
}
.efficiency-pullquote {
border-left: 2px solid rgba(0,82,160,.25);
padding: 0.25rem 0 0.25rem 1.5rem;
max-width: 40rem;
}
.efficiency-pullquote p {
font-family: var(--body);
font-weight: 400;
font-size: 0.875rem;
color: rgba(0,82,160,.65);
line-height: 1.75;
}
/* ── ENTERPRISE ──────────────────────────────────────────────────────────── */
#enterprise {
padding: 8rem 2.5rem;
background: var(--bg2);
}
.enterprise-header { margin-bottom: 4rem; }
.enterprise-label-row { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 1.25rem; }
.enterprise-head-row {
display: flex; flex-wrap: wrap;
align-items: flex-end; justify-content: space-between;
gap: 2rem;
}
.enterprise-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1.5rem;
margin-bottom: 2.5rem;
}
@media (max-width: 768px) { .enterprise-grid { grid-template-columns: 1fr; } }
.enterprise-cap {
padding: 2.5rem;
}
.enterprise-cap h3 { margin-bottom: 1.25rem; }
.enterprise-cap-rule {
width: 3rem; height: 1px;
background: rgba(0,82,160,.30);
margin-bottom: 1.5rem;
transition: width 700ms ease;
}
.enterprise-cap:hover .enterprise-cap-rule { width: 100%; }
.enterprise-cap-body {
font-family: var(--body);
font-weight: 300;
font-size: 0.9rem;
color: var(--t2);
line-height: 1.75;
}
.enterprise-box {
border-top: 2px solid rgba(0,82,160,.15);
background: rgba(0,82,160,.03);
padding: 3rem;
}
.ent-who-label {
font-size: 0.7rem;
font-weight: 500;
letter-spacing: 0.18em;
text-transform: uppercase;
color: rgba(0,82,160,.65);
margin-bottom: 1rem;
}
.ent-who-body {
font-family: var(--body);
font-weight: 300;
font-size: 0.9375rem;
color: var(--t1);
line-height: 1.75;
margin-bottom: 0.75rem;
}
.ent-who-note {
font-size: 0.875rem;
color: var(--t2);
line-height: 1.6;
margin-bottom: 2.5rem;
}
.ent-how-row { display: flex; flex-wrap: wrap; gap: 2.5rem; align-items: flex-start; }
.ent-how-label { flex-shrink: 0; width: 10rem; }
.ent-steps { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
@media (max-width: 768px) { .ent-steps { grid-template-columns: 1fr; } }
.ent-step-num { font-family: monospace; font-size: 0.75rem; color: rgba(0,82,160,.40); margin-bottom: 0.75rem; }
.ent-step-title { font-size: 0.875rem; font-weight: 500; color: var(--t1); margin-bottom: 0.5rem; }
.ent-step-body { font-family: var(--body); font-weight: 300; font-size: 0.875rem; color: var(--t2); line-height: 1.7; }
.ent-terms-row {
border-top: 1px solid rgba(0,82,160,.10);
margin-top: 2.5rem;
padding-top: 2rem;
display: flex; flex-wrap: wrap;
align-items: center; justify-content: space-between;
gap: 1rem;
}
.ent-terms-text { font-size: 0.875rem; color: var(--t2); max-width: 32rem; }
.ent-terms-link {
font-size: 0.75rem;
letter-spacing: 0.12em;
text-transform: uppercase;
color: rgba(0,82,160,.70);
text-decoration: none;
transition: color 200ms;
white-space: nowrap;
}
.ent-terms-link:hover { color: var(--navy); }
.ent-badge {
display: inline-flex;
align-items: center; gap: 0.5rem;
border: 1px solid rgba(0,82,160,.20);
background: rgba(0,82,160,.04);
padding: 0.5rem 1rem;
font-size: 0.7rem;
font-weight: 500;
letter-spacing: 0.15em;
text-transform: uppercase;
color: rgba(0,82,160,.75);
margin-bottom: 0.75rem;
}
.ent-badge-dot {
width: 6px; height: 6px;
border-radius: 50%;
background: var(--navy);
opacity: 0.6;
flex-shrink: 0;
}
/* ── MISSION ─────────────────────────────────────────────────────────────── */
#mission {
padding: 8rem 2.5rem;
}
.mission-origin { max-width: 48rem; margin: 0 auto 5rem; text-align: center; }
.mission-label-row { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-bottom: 2rem; }
.mission-headline { margin-bottom: 3rem; }
.mission-body-para {
font-family: var(--body);
font-weight: 400;
font-size: clamp(0.9rem, 1.5vw, 1.0625rem);
color: var(--t2);
line-height: 1.9;
margin-bottom: 1.5rem;
}
.mission-body-emphasis strong { color: var(--t1); }
.mission-bigtech {
max-width: 48rem;
margin: 0 auto 6rem;
border-left: 3px solid var(--navy);
padding-left: 1.5rem;
}
.mission-bigtech-label {
font-size: 0.7rem;
font-weight: 500;
letter-spacing: 0.2em;
text-transform: uppercase;
color: rgba(0,82,160,.65);
margin-bottom: 1rem;
}
.mission-bigtech p {
font-family: var(--body);
font-weight: 400;
font-size: 0.9375rem;
line-height: 1.8;
margin-bottom: 1rem;
color: var(--t1);
}
.mission-bigtech p.muted { color: var(--t2); }
.mission-bigtech a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.mission-problems { max-width: 64rem; margin: 0 auto; }
.mission-sub-row { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 3.5rem; }
.mission-sub-line { height: 1px; width: 3rem; background: rgba(0,82,160,.40); }
.problems-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 0;
}
@media (max-width: 768px) { .problems-grid { grid-template-columns: 1fr; } }
.problem-item {
border-top: 1px solid rgba(0,82,160,.15);
padding: 2rem 3rem 2rem 0;
}
.problem-item:nth-child(even) {
padding: 2rem 0 2rem 3rem;
border-left: 1px solid rgba(0,82,160,.10);
}
.problems-grid-bottom { border-top: 1px solid rgba(0,82,160,.15); grid-column: 1 / -1; }
.problem-label {
font-size: 0.75rem;
font-weight: 600;
letter-spacing: 0.15em;
text-transform: uppercase;
color: var(--navy);
margin-bottom: 0.75rem;
}
.problem-body {
font-family: var(--body);
font-weight: 400;
font-size: 0.875rem;
color: var(--t2);
line-height: 1.75;
}
.mission-closer {
text-align: center;
margin-top: 4rem;
max-width: 40rem;
margin-left: auto;
margin-right: auto;
}
.mission-closer p {
font-family: var(--head);
font-size: clamp(1.25rem, 2.5vw, 1.75rem);
font-weight: 600;
color: var(--t1);
line-height: 1.35;
}
.mission-closer span { color: var(--navy); }
/* ── LOCAL FIRST ─────────────────────────────────────────────────────────── */
#local-first {
padding: 8rem 2.5rem 5rem;
background: var(--bg2);
position: relative;
}
#local-first::before {
content: '';
position: absolute;
top: 0; left: 0; right: 0; height: 3px;
background: linear-gradient(90deg, var(--navy) 0%, rgba(0,82,160,.20) 60%, transparent 100%);
}
.lf-label-row { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 4rem; }
.lf-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 6rem;
align-items: start;
}
@media (max-width: 900px) { .lf-grid { grid-template-columns: 1fr; gap: 3rem; } }
.lf-headline { margin-bottom: 2rem; }
.lf-manifesto-para {
font-family: var(--body);
font-weight: 300;
font-size: 0.9375rem;
color: var(--t2);
line-height: 1.85;
margin-bottom: 1.25rem;
}
.lf-manifesto-closer {
border-left: 2px solid var(--navy);
padding-left: 1.25rem;
margin-top: 2rem;
}
.lf-manifesto-closer p {
font-family: var(--body);
font-weight: 400;
font-size: 0.9375rem;
color: var(--t1);
line-height: 1.8;
}
.lf-principles { position: sticky; top: 6rem; }
.lf-principle {
border-top: 1px solid rgba(0,82,160,.15);
padding: 1.75rem 0;
}
.lf-principle:last-child { border-bottom: 1px solid rgba(0,82,160,.15); }
.lf-principle-label {
font-size: 0.75rem;
font-weight: 500;
letter-spacing: 0.15em;
text-transform: uppercase;
color: var(--navy);
margin-bottom: 0.5rem;
}
.lf-principle-body {
font-family: var(--body);
font-weight: 400;
font-size: 0.875rem;
color: var(--t2);
line-height: 1.7;
}
.lf-callout {
border-top: 1px solid rgba(0,82,160,.15);
margin-top: 4rem;
padding-top: 2.5rem;
text-align: center;
}
.lf-callout-h {
font-family: var(--head);
font-size: clamp(1.5rem, 3vw, 2.25rem);
font-weight: 600;
color: var(--t1);
margin-bottom: 0.5rem;
}
.lf-callout-h2 {
font-family: var(--head);
font-size: clamp(1.5rem, 3vw, 2.25rem);
font-weight: 600;
color: var(--navy);
margin-bottom: 1rem;
}
.lf-callout-sub {
font-size: 0.7rem;
font-weight: 500;
letter-spacing: 0.2em;
text-transform: uppercase;
color: var(--t3);
}
/* ── PRICING ─────────────────────────────────────────────────────────────── */
#pricing {
padding: 8rem 2.5rem;
}
.pricing-label-row {
display: flex; align-items: center; justify-content: center; gap: 1.5rem;
margin-bottom: 1.25rem;
}
.pricing-header { text-align: center; margin-bottom: 4rem; }
.pricing-headline { margin-bottom: 1rem; }
.pricing-sub {
font-family: var(--body);
font-weight: 300;
font-size: 1rem;
color: var(--t2);
}
.pricing-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1.5rem;
max-width: 68rem;
margin: 0 auto 2.5rem;
}
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }
.pricing-card {
padding: 2.5rem;
display: flex;
flex-direction: column;
}
.pricing-card.featured {
background: var(--card);
border: 1px solid rgba(0,82,160,.35);
box-shadow: 0 4px 24px rgba(0,82,160,.10);
position: relative;
}
.pricing-card.featured::before {
content: '';
position: absolute;
top: 0; left: 0; right: 0; height: 1px;
background: linear-gradient(90deg, transparent, rgba(0,82,160,.5) 30%, rgba(0,82,160,.8) 50%, rgba(0,82,160,.5) 70%, transparent);
}
.pricing-card.featured::after {
content: '';
position: absolute;
inset: 0;
pointer-events: none;
background: radial-gradient(ellipse 80% 40% at 50% -10%, rgba(0,82,160,.07) 0%, transparent 70%);
}
.pricing-tier {
font-size: 0.75rem;
font-weight: 500;
letter-spacing: 0.18em;
text-transform: uppercase;
color: var(--t2);
margin-bottom: 0.75rem;
}
.pricing-card.featured .pricing-tier { color: var(--navy); }
.pricing-price-row { display: flex; align-items: baseline; gap: 0.5rem; margin-bottom: 0.5rem; }
.pricing-price {
font-family: var(--head);
font-size: clamp(2.5rem, 5vw, 3.75rem);
font-weight: 600;
color: var(--t1);
}
.pricing-cadence { font-size: 0.875rem; color: var(--t3); }
.pricing-tagline {
font-size: 0.8125rem;
color: var(--t3);
margin-bottom: 2.5rem;
line-height: 1.5;
}
.pricing-card.featured .pricing-tagline { color: rgba(0,82,160,.55); }
.pricing-features { list-style: none; flex: 1; }
.pricing-features li {
display: flex;
align-items: flex-start;
gap: 0.75rem;
margin-bottom: 1rem;
}
.pricing-features li .dash { color: rgba(0,82,160,.30); flex-shrink: 0; margin-top: 0.05rem; }
.pricing-card.featured .pricing-features li .dash { color: var(--navy); }
.pricing-features li span { font-size: 0.875rem; color: var(--t2); line-height: 1.5; }
.pricing-cta { margin-top: 1.5rem; }
.pricing-cta a {
display: flex;
width: 100%;
align-items: center;
justify-content: center;
gap: 0.75rem;
font-family: var(--body);
font-size: 0.75rem;
font-weight: 500;
letter-spacing: 0.15em;
text-transform: uppercase;
text-decoration: none;
padding: 1rem;
transition: background 300ms, color 300ms, border-color 300ms;
}
.pricing-cta-ghost a {
border: 1px solid var(--border2);
color: var(--t2);
background: transparent;
}
.pricing-cta-ghost a:hover { border-color: rgba(0,82,160,.30); color: var(--navy); }
.pricing-cta-navy a {
border: 1px solid rgba(0,82,160,.30);
color: var(--navy);
background: transparent;
}
.pricing-cta-navy a:hover { background: var(--navy); color: #fff; }
.pricing-cta-solid a {
background: var(--navy);
color: #fff;
box-shadow: 0 2px 16px rgba(0,82,160,.25);
}
.pricing-cta-solid a:hover { background: #0078D4; }
.founding-spots {
margin-bottom: 1.5rem;
}
.founding-spots-label {
font-size: 0.75rem;
font-weight: 600;
letter-spacing: 0.14em;
text-transform: uppercase;
color: var(--navy);
}
.founding-spots-bar {
margin-top: 0.5rem;
height: 4px;
background: rgba(0,82,160,.10);
overflow: hidden;
}
.founding-spots-fill {
height: 100%;
background: var(--navy);
transition: width 1000ms ease;
}
.founding-spots-sub {
margin-top: 0.25rem;
font-size: 0.6875rem;
color: var(--t4);
letter-spacing: 0.04em;
}
.pricing-fine {
text-align: center;
font-size: 0.7rem;
font-weight: 500;
letter-spacing: 0.15em;
text-transform: uppercase;
color: var(--t3);
max-width: 68rem;
margin: 0 auto;
}
.founding-banner {
max-width: 64rem;
margin: 2.5rem auto 0;
display: flex;
align-items: center;
justify-content: space-between;
gap: 1.5rem;
padding: 1.5rem 2rem;
background: rgba(0,82,160,.04);
border: 1px solid rgba(0,82,160,.18);
}
@media (max-width: 600px) { .founding-banner { flex-direction: column; align-items: flex-start; } }
.founding-banner-label {
font-size: 0.7rem;
font-weight: 500;
letter-spacing: 0.16em;
text-transform: uppercase;
color: var(--navy);
margin-bottom: 0.25rem;
}
.founding-banner-count {
font-family: var(--head);
font-size: 2rem;
font-weight: 600;
color: var(--t1);
}
.founding-banner-sub { font-size: 0.875rem; color: var(--t3); }
.founding-banner-bar {
margin-top: 0.5rem;
height: 6px;
width: 12rem;
background: rgba(0,0,0,.07);
border-radius: 9999px;
overflow: hidden;
}
.founding-banner-fill {
height: 100%;
border-radius: 9999px;
background: var(--navy);
transition: width 800ms ease;
}
/* ── SHARE ───────────────────────────────────────────────────────────────── */
#share {
padding: 8rem 2.5rem;
}
.share-label-row { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 1.25rem; }
.share-headline { margin-bottom: 4rem; }
.share-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2rem;
max-width: 56rem;
margin: 0 auto;
}
@media (max-width: 768px) { .share-grid { grid-template-columns: 1fr; } }
.share-card {
padding: 2rem;
}
.share-card-label {
font-size: 0.75rem;
font-weight: 500;
letter-spacing: 0.18em;
text-transform: uppercase;
color: var(--navy);
margin-bottom: 0.5rem;
}
.share-card-body {
font-size: 0.875rem;
color: var(--t2);
line-height: 1.6;
margin-bottom: 1.5rem;
}
.hook-item {
border: 1px solid rgba(0,82,160,.12);
background: var(--bg);
padding: 1rem;
margin-bottom: 0.75rem;
position: relative;
}
.hook-text {
font-size: 0.875rem;
color: var(--t2);
line-height: 1.6;
padding-right: 5rem;
}
.hook-actions {
position: absolute;
top: 0.75rem; right: 0.75rem;
display: flex; gap: 0.25rem;
}
.hook-btn {
font-size: 0.6rem;
font-weight: 500;
letter-spacing: 0.12em;
text-transform: uppercase;
color: rgba(0,82,160,.55);
border: 1px solid rgba(0,82,160,.20);
background: transparent;
padding: 0.25rem 0.625rem;
cursor: pointer;
transition: color 200ms, border-color 200ms, background 200ms;
text-decoration: none;
}
.hook-btn:hover { color: var(--navy); border-color: rgba(0,82,160,.50); background: var(--navy-d); }
.invite-form { display: flex; gap: 0; }
.invite-input {
flex: 1;
font-family: var(--body);
font-size: 0.875rem;
color: var(--t1);
background: var(--card);
border: 1px solid rgba(0,82,160,.18);
border-right: none;
padding: 0.75rem 1rem;
outline: none;
transition: border-color 200ms;
}
.invite-input:focus { border-color: rgba(0,82,160,.50); }
.invite-input::placeholder { color: var(--t3); }
.invite-submit {
flex-shrink: 0;
font-family: var(--body);
font-size: 0.7rem;
font-weight: 500;
letter-spacing: 0.12em;
text-transform: uppercase;
color: #fff;
background: var(--navy);
border: none;
padding: 0.75rem 1.25rem;
cursor: pointer;
transition: background 300ms;
min-width: 6rem;
}
.invite-submit:hover { background: #0078D4; }
.invite-note { font-size: 0.625rem; color: var(--t3); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 0.5rem; }
.linkedin-share-btn {
display: flex;
align-items: center;
justify-content: center;
gap: 0.625rem;
width: 100%;
font-family: var(--body);
font-size: 0.7rem;
font-weight: 500;
letter-spacing: 0.12em;
text-transform: uppercase;
color: rgba(0,82,160,.70);
border: 1px solid rgba(0,82,160,.20);
background: transparent;
padding: 0.75rem;
cursor: pointer;
transition: border-color 300ms, color 300ms, background 300ms;
margin-top: 1rem;
text-decoration: none;
}
.linkedin-share-btn:hover {
border-color: rgba(0,82,160,.50);
color: var(--navy);
background: rgba(0,82,160,.04);
}
/* ── FOOTER ──────────────────────────────────────────────────────────────── */
#footer {
padding: 5rem 2.5rem 2.5rem;
border-top: 1px solid var(--border);
}
.footer-inner {
display: flex;
flex-wrap: wrap;
align-items: flex-end;
justify-content: space-between;
gap: 2.5rem;
margin-bottom: 3rem;
}
.footer-brand { text-decoration: none; }
.footer-brand-name {
font-family: var(--head);
font-size: 1.5rem;
font-weight: 600;
color: var(--t1);
letter-spacing: -0.02em;
}
.footer-brand-tagline {
font-size: 0.7rem;
font-weight: 500;
letter-spacing: 0.15em;
text-transform: uppercase;
color: var(--t3);
margin-top: 0.25rem;
}
.footer-center { flex: 1; min-width: 6rem; }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 1rem; }
.footer-domain { font-size: 0.875rem; color: var(--t2); letter-spacing: 0.04em; }
.footer-nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-nav a {
font-size: 0.65rem;
font-weight: 500;
letter-spacing: 0.15em;
text-transform: uppercase;
color: var(--t3);
text-decoration: none;
transition: color 200ms;
}
.footer-nav a:hover { color: var(--navy); }
.footer-bottom {
border-top: 1px solid var(--border);
padding-top: 2rem;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 1rem;
}
.footer-copy { font-size: 0.75rem; color: var(--t3); }
.footer-tagline-bottom { font-size: 0.75rem; color: var(--t3); }
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--navy); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: #0078D4; }
.delay-100 { transition-delay: 100ms !important; }
.delay-200 { transition-delay: 200ms !important; }
.delay-300 { transition-delay: 300ms !important; }
.delay-400 { transition-delay: 400ms !important; }
.delay-500 { transition-delay: 500ms !important; }
.delay-600 { transition-delay: 600ms !important; }
.delay-700 { transition-delay: 700ms !important; }
.delay-800 { transition-delay: 800ms !important; }
.text-gradient-gold {
background: linear-gradient(135deg, #003d7a 0%, #0078D4 50%, #0052A0 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
button.pricing-cta-navy, button.pricing-cta-solid, button.pricing-cta-ghost {
width: 100%;
border: none;
cursor: pointer;
font-family: inherit;
font-size: inherit;
letter-spacing: inherit;
text-transform: inherit;
text-align: center;
padding: 0.875rem 1.5rem;
transition: background 300ms, opacity 300ms;
}
button[disabled] { opacity: 0.6; cursor: not-allowed; }
</style>
<noscript><style>.reveal { opacity: 1 !important; transform: none !important; }</style></noscript>
</head>
<body>
"
}
fn page_close() -> String {
return "
<script>
(function() {
'use strict';
// Nav scroll effect
var nav = document.getElementById('nav');
if (nav) {
window.addEventListener('scroll', function() {
if (window.scrollY > 40) {
nav.classList.add('scrolled');
} else {
nav.classList.remove('scrolled');
}
}, { passive: true });
}
// Scroll reveal via IntersectionObserver
var revealEls = document.querySelectorAll('.reveal');
if ('IntersectionObserver' in window) {
var observer = new IntersectionObserver(function(entries) {
entries.forEach(function(entry) {
if (entry.isIntersecting) {
entry.target.classList.add('visible');
observer.unobserve(entry.target);
}
});
}, { threshold: 0.12, rootMargin: '0px 0px -40px 0px' });
revealEls.forEach(function(el) { observer.observe(el); });
} else {
revealEls.forEach(function(el) { el.classList.add('visible'); });
}
// ── Founding counter - live polling ──────────────────────────────────────
var prevSold = null;
function updateFoundingUI(data) {
var remaining = data.remaining;
var sold = data.sold;
var total = data.total;
var pct = Math.round((sold / total) * 100);
var flash = prevSold !== null && sold > prevSold;
prevSold = sold;
// spots card (inside pricing card)
var spotLabel = document.querySelector('.founding-spots-label');
if (spotLabel) spotLabel.textContent = 'Only ' + remaining + ' left';
var spotFill = document.querySelector('.founding-spots-fill');
if (spotFill) spotFill.style.width = pct + '%';
var spotSub = document.querySelector('.founding-spots-sub');
if (spotSub) spotSub.textContent = sold + ' of ' + total + ' claimed';
// banner
var bannerCount = document.querySelector('.founding-banner-count');
if (bannerCount) {
bannerCount.textContent = remaining;
if (flash) {
bannerCount.style.color = '#0078D4';
setTimeout(function() { bannerCount.style.color = ''; }, 1200);
}
}
var bannerFill = document.querySelector('.founding-banner-fill');
if (bannerFill) bannerFill.style.width = pct + '%';
}
function pollFoundingCount() {
fetch('/api/founding-count')
.then(function(r) { return r.json(); })
.then(function(data) { updateFoundingUI(data); })
.catch(function() {});
}
pollFoundingCount();
setInterval(pollFoundingCount, 90000);
// Checkout buttons - navigate to integrated payment page
var checkoutBtns = document.querySelectorAll('[data-checkout]');
checkoutBtns.forEach(function(btn) {
btn.addEventListener('click', function() {
var plan = btn.getAttribute('data-checkout');
window.location.href = '/checkout?plan=' + plan;
});
});
})();
</script>
</body>
</html>
"
}
// === 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 {
"<div style=\"display:flex;flex-direction:column;align-items:center;gap:0;\">
<span style=\"font-size:8px;font-weight:700;letter-spacing:.20em;text-transform:uppercase;color:#0052A0;line-height:1;margin-bottom:-8px;position:relative;z-index:1;\">No.</span>
<p style=\"font-size:42px;font-weight:700;color:#0D0D14;letter-spacing:-.02em;line-height:.85;margin:0;\">" + num_str + "</p>
<p style=\"font-size:8px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:#0052A0;margin:0;\">of 1,000</p>
</div>"
} else {
"<p style=\"font-size:8px;letter-spacing:.18em;text-transform:uppercase;color:rgba(0,82,160,.45);margin:0;\">Your number awaits</p>"
}
return "
<div class=\"founding-badge\" aria-label=\"Founding Member badge\">
<!-- Guilloché background SVG -->
<svg aria-hidden=\"true\" class=\"founding-badge-bg\" viewBox=\"0 0 260 300\" preserveAspectRatio=\"none\">
<defs>
<pattern id=\"hatch\" width=\"6\" height=\"6\" patternUnits=\"userSpaceOnUse\" patternTransform=\"rotate(45)\">
<line x1=\"0\" y1=\"0\" x2=\"0\" y2=\"6\" stroke=\"rgba(0,82,160,.055)\" stroke-width=\"0.5\"/>
</pattern>
<pattern id=\"dots\" width=\"10\" height=\"10\" patternUnits=\"userSpaceOnUse\">
<circle cx=\"5\" cy=\"5\" r=\"0.6\" fill=\"rgba(0,82,160,.12)\"/>
</pattern>
</defs>
<rect width=\"260\" height=\"300\" fill=\"rgba(0,82,160,.025)\"/>
<rect width=\"260\" height=\"300\" fill=\"url(#hatch)\"/>
<rect width=\"260\" height=\"300\" fill=\"url(#dots)\"/>
<!-- Guilloché wave bands -->
<path d=\"M 0,40 C 26,34 52,46 78,40 S 130,34 156,40 S 208,46 260,40\" fill=\"none\" stroke=\"rgba(0,82,160,.18)\" stroke-width=\"0.7\"/>
<path d=\"M 0,38 C 29,44 58,32 87,38 S 145,44 174,38 S 232,32 260,38\" fill=\"none\" stroke=\"rgba(0,82,160,.12)\" stroke-width=\"0.7\"/>
<path d=\"M 0,260 C 26,254 52,266 78,260 S 130,254 156,260 S 208,266 260,260\" fill=\"none\" stroke=\"rgba(0,82,160,.18)\" stroke-width=\"0.7\"/>
<path d=\"M 0,258 C 29,264 58,252 87,258 S 145,264 174,258 S 232,252 260,258\" fill=\"none\" stroke=\"rgba(0,82,160,.12)\" stroke-width=\"0.7\"/>
<!-- Double-line ornate border -->
<rect x=\"6\" y=\"6\" width=\"248\" height=\"288\" fill=\"none\" stroke=\"rgba(0,82,160,.30)\" stroke-width=\"0.75\"/>
<rect x=\"10\" y=\"10\" width=\"240\" height=\"280\" fill=\"none\" stroke=\"rgba(0,82,160,.15)\" stroke-width=\"0.5\" stroke-dasharray=\"4 3\"/>
<!-- Corner rosettes -->
<g><circle cx=\"6\" cy=\"6\" r=\"14\" fill=\"none\" stroke=\"rgba(0,82,160,.22)\" stroke-width=\"0.6\"/><circle cx=\"6\" cy=\"6\" r=\"9\" fill=\"none\" stroke=\"rgba(0,82,160,.22)\" stroke-width=\"0.6\"/><circle cx=\"6\" cy=\"6\" r=\"5\" fill=\"none\" stroke=\"rgba(0,82,160,.22)\" stroke-width=\"0.6\"/><circle cx=\"6\" cy=\"6\" r=\"1.7\" fill=\"rgba(0,82,160,.25)\"/></g>
<g><circle cx=\"254\" cy=\"6\" r=\"14\" fill=\"none\" stroke=\"rgba(0,82,160,.22)\" stroke-width=\"0.6\"/><circle cx=\"254\" cy=\"6\" r=\"9\" fill=\"none\" stroke=\"rgba(0,82,160,.22)\" stroke-width=\"0.6\"/><circle cx=\"254\" cy=\"6\" r=\"5\" fill=\"none\" stroke=\"rgba(0,82,160,.22)\" stroke-width=\"0.6\"/><circle cx=\"254\" cy=\"6\" r=\"1.7\" fill=\"rgba(0,82,160,.25)\"/></g>
<g><circle cx=\"6\" cy=\"294\" r=\"14\" fill=\"none\" stroke=\"rgba(0,82,160,.22)\" stroke-width=\"0.6\"/><circle cx=\"6\" cy=\"294\" r=\"9\" fill=\"none\" stroke=\"rgba(0,82,160,.22)\" stroke-width=\"0.6\"/><circle cx=\"6\" cy=\"294\" r=\"5\" fill=\"none\" stroke=\"rgba(0,82,160,.22)\" stroke-width=\"0.6\"/><circle cx=\"6\" cy=\"294\" r=\"1.7\" fill=\"rgba(0,82,160,.25)\"/></g>
<g><circle cx=\"254\" cy=\"294\" r=\"14\" fill=\"none\" stroke=\"rgba(0,82,160,.22)\" stroke-width=\"0.6\"/><circle cx=\"254\" cy=\"294\" r=\"9\" fill=\"none\" stroke=\"rgba(0,82,160,.22)\" stroke-width=\"0.6\"/><circle cx=\"254\" cy=\"294\" r=\"5\" fill=\"none\" stroke=\"rgba(0,82,160,.22)\" stroke-width=\"0.6\"/><circle cx=\"254\" cy=\"294\" r=\"1.7\" fill=\"rgba(0,82,160,.25)\"/></g>
<!-- Micro text bands -->
<text x=\"130\" y=\"22\" text-anchor=\"middle\" font-size=\"4.5\" font-family=\"system-ui,sans-serif\" letter-spacing=\"3\" fill=\"rgba(0,82,160,.28)\" text-length=\"220\" length-adjust=\"spacing\">NEURON TECHNOLOGIES · FOUNDING MEMBER · NEURON TECHNOLOGIES · FOUNDING MEMBER</text>
<text x=\"130\" y=\"286\" text-anchor=\"middle\" font-size=\"4.5\" font-family=\"system-ui,sans-serif\" letter-spacing=\"3\" fill=\"rgba(0,82,160,.28)\" text-length=\"220\" length-adjust=\"spacing\">NEURON TECHNOLOGIES · FOUNDING MEMBER · NEURON TECHNOLOGIES · FOUNDING MEMBER</text>
</svg>
<!-- Badge content -->
<div class=\"founding-badge-inner\">
<p class=\"founding-badge-label\">Founding Member</p>
<div class=\"founding-badge-rule\"></div>
<div class=\"founding-badge-icon\">
<img src=\"/assets/neuron-icon.png\" alt=\"Neuron\" width=\"34\" height=\"34\">
</div>
" + number_html + "
</div>
</div>
"
}
fn founding_badge_css() -> String {
return "
<style>
@keyframes fb-glow-pulse {
0%,100% { box-shadow: 0 0 0 3px rgba(0,82,160,.08), 0 0 18px rgba(0,82,160,.22), 0 0 36px rgba(0,82,160,.10); }
50% { box-shadow: 0 0 0 4px rgba(0,82,160,.12), 0 0 28px rgba(0,82,160,.32), 0 0 56px rgba(0,82,160,.16); }
}
@keyframes fb-icon-float {
0%,100% { transform: translateY(0); }
50% { transform: translateY(-2px); }
}
.founding-badge {
position: relative;
display: inline-flex;
flex-direction: column;
align-items: center;
width: 260px;
background: #FAFAF8;
border: 1px solid rgba(0,120,212,.5);
animation: fb-glow-pulse 3s ease-in-out infinite;
overflow: hidden;
}
.founding-badge-bg {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
pointer-events: none;
}
.founding-badge-inner {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
gap: 16px;
padding: 32px 28px 28px;
width: 100%;
text-align: center;
box-sizing: border-box;
}
.founding-badge-label {
font-family: var(--body,system-ui,sans-serif);
font-size: 8.5px;
font-weight: 600;
letter-spacing: .30em;
text-transform: uppercase;
color: #0052A0;
line-height: 1;
margin: 0;
}
.founding-badge-rule {
width: 48px;
height: 1px;
background: linear-gradient(90deg, transparent, rgba(0,82,160,.45), transparent);
}
.founding-badge-icon {
width: 60px;
height: 60px;
border-radius: 50%;
background: rgba(255,255,255,.85);
border: 1px solid rgba(0,82,160,.2);
box-shadow: 0 0 0 4px rgba(0,82,160,.06);
display: flex;
align-items: center;
justify-content: center;
}
.founding-badge-icon img {
display: block;
animation: fb-icon-float 4s ease-in-out infinite;
}
</style>
"
}
// === 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 "
<nav id=\"nav\">
<div class=\"nav-inner\">
<a href=\"/\" class=\"nav-logo\" aria-label=\"Neuron home\"><img src=\"/assets/brand/neuron-wordmark-on-light.png\" srcset=\"/assets/brand/neuron-wordmark-on-light@2x.png 2x\" alt=\"Neuron\" height=\"28\"></a>
<div class=\"nav-links\">
<a href=\"/#how-it-works\" class=\"nav-link\">How it works</a>
<a href=\"/#mission\" class=\"nav-link\">Mission</a>
<a href=\"/#safety\" class=\"nav-link\">Safety</a>
<a href=\"/#environmental\" class=\"nav-link\">Environment</a>
<a href=\"/#pricing\" class=\"nav-link\">Pricing</a>
<a href=\"/#enterprise\" class=\"nav-link\">Enterprise</a>
<a href=\"/about\" class=\"nav-link\">About</a>
<a href=\"/#share\" class=\"nav-link cta\">Share Neuron &#8594;</a>
<a href=\"/#pricing\" class=\"nav-cta\">Get Access</a>
</div>
<button class=\"nav-hamburger\" id=\"nav-hamburger\" aria-label=\"Open navigation\" aria-expanded=\"false\" aria-controls=\"nav-mobile\">
<span></span>
<span></span>
<span></span>
</button>
<div class=\"nav-mobile\" id=\"nav-mobile\" role=\"navigation\" aria-label=\"Mobile navigation\">
<a href=\"/#how-it-works\" class=\"nav-mobile-link\">How it works</a>
<a href=\"/#mission\" class=\"nav-mobile-link\">Mission</a>
<a href=\"/#safety\" class=\"nav-mobile-link\">Safety</a>
<a href=\"/#environmental\" class=\"nav-mobile-link\">Environment</a>
<a href=\"/#pricing\" class=\"nav-mobile-link\">Pricing</a>
<a href=\"/#enterprise\" class=\"nav-mobile-link\">Enterprise</a>
<a href=\"/about\" class=\"nav-mobile-link\">About</a>
<a href=\"/#share\" class=\"nav-mobile-link cta\">Share Neuron &#8594;</a>
<a href=\"/#pricing\" class=\"nav-mobile-cta\">Get Access</a>
</div>
</div>
</nav>
<script>
(function() {
var btn = document.getElementById('nav-hamburger');
var menu = document.getElementById('nav-mobile');
var nav = document.getElementById('nav');
if (!btn || !menu) return;
function close() {
menu.classList.remove('open');
btn.setAttribute('aria-expanded', 'false');
}
function open() {
menu.classList.add('open');
btn.setAttribute('aria-expanded', 'true');
}
function toggle() {
if (menu.classList.contains('open')) { close(); } else { open(); }
}
btn.addEventListener('click', function(e) { e.stopPropagation(); toggle(); });
// Close on any link inside mobile menu
menu.querySelectorAll('a').forEach(function(a) {
a.addEventListener('click', close);
});
// Close when clicking outside
document.addEventListener('click', function(e) {
if (!nav.contains(e.target)) { close(); }
});
// Close on Escape
document.addEventListener('keydown', function(e) {
if (e.key === 'Escape') { close(); }
});
// Close if viewport grows past breakpoint
window.addEventListener('resize', function() {
if (window.innerWidth > 1060) { close(); }
});
})();
</script>
"
}
// === 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 "
<section id=\"hero\" aria-label=\"Hero\">
<div class=\"glow-tl\" aria-hidden=\"true\"></div>
<div class=\"glow-br\" aria-hidden=\"true\"></div>
<p class=\"label hero-label animate-up-1\">One builder. Patented. No permission.</p>
<h1 class=\"display-xl hero-headline animate-up-2\">
Every AI resets when you close the tab.
<em class=\"gold\" style=\"font-style:normal\">I built the one that doesn&#39;t.</em>
</h1>
<p class=\"hero-sub animate-up-3\">
Runs on your machine. Remembers everything. Priced below ChatGPT on day one.
</p>
<div class=\"hero-ctas animate-up-5\">
<a href=\"/marketplace/plans\" class=\"btn-primary\">
Download free <span>&#8594;</span>
</a>
<a href=\"#how-it-works\" class=\"btn-ghost\">
See how it works
</a>
</div>
<div class=\"hero-scroll\" aria-hidden=\"true\">
<span>Scroll</span>
<div class=\"hero-scroll-line\"></div>
</div>
</section>
"
}
// === 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 <script> in the page shell).
fn pillars() -> String {
return "
<section id=\"pillars\" aria-label=\"Core pillars\">
<div class=\"container\">
<div class=\"pillars-label reveal\">
<div class=\"navy-line-left\" style=\"width:4rem;flex-shrink:0\"></div>
<span class=\"label\">Why Neuron</span>
</div>
<div class=\"pillars-grid\">
<div class=\"pillar-card card-dark reveal\">
<span class=\"pillar-numeral\" aria-hidden=\"true\">I</span>
<h3 class=\"display-md pillar-title\">Remembers</h3>
<div class=\"pillar-rule\"></div>
<p class=\"pillar-body\">Every session picks up where you left off. Every project. Every context. No more re-explaining who you are, what you&#39;re building, or what matters to you.</p>
<p class=\"pillar-detail\">Zero re-orientation</p>
</div>
<div class=\"pillar-card card-dark reveal\" style=\"transition-delay:150ms\">
<span class=\"pillar-numeral\" aria-hidden=\"true\">II</span>
<h3 class=\"display-md pillar-title\">Sharpens</h3>
<div class=\"pillar-rule\"></div>
<p class=\"pillar-body\">The longer you use it, the sharper it gets. Every session builds on the last. Neuron inference is live day one - not a wrapper around someone else&#39;s model. Built for this. Built for you.</p>
<p class=\"pillar-detail\">Specific to you</p>
</div>
<div class=\"pillar-card card-dark reveal\" style=\"transition-delay:300ms\">
<span class=\"pillar-numeral\" aria-hidden=\"true\">III</span>
<h3 class=\"display-md pillar-title\">Yours</h3>
<div class=\"pillar-rule\"></div>
<p class=\"pillar-body\">Runs locally. Your data never leaves. No cloud dependency, no telemetry, no training on your conversations. Complete ownership. And unlike every other AI subscription - we&#39;re not charging you to remember you.</p>
<p class=\"pillar-detail\">Fully private</p>
</div>
</div>
</div>
</section>
"
}
// === how_it_works.el ===
// components/how_it_works.el - "Three moments. Permanent context." steps.
fn how_it_works() -> String {
return "
<section id=\"how-it-works\" aria-label=\"How it works\">
<div class=\"container\">
<div class=\"hiw-header\">
<div class=\"navy-line\" style=\"margin-bottom:5rem\"></div>
<div class=\"hiw-label-row reveal\">
<div class=\"navy-line-left\" style=\"width:4rem;flex-shrink:0\"></div>
<span class=\"label\">How it works</span>
</div>
<h2 class=\"display-lg hiw-headline reveal\" style=\"transition-delay:80ms\">
Three moments.<br>
<span class=\"gold\">Permanent context.</span>
</h2>
</div>
<div class=\"steps-grid\">
<div class=\"reveal\">
<div class=\"step-circle-row\">
<div class=\"step-circle\"><span class=\"step-num\">01</span></div>
<span class=\"step-aside\">5 minutes</span>
</div>
<h3 class=\"display-md step-title\">Install</h3>
<p class=\"step-body\">A single command. Runs locally on your machine. No account creation, no cloud sync, no permissions you didn&#39;t grant.</p>
</div>
<div class=\"reveal\" style=\"transition-delay:180ms\">
<div class=\"step-circle-row\">
<div class=\"step-circle\"><span class=\"step-num\">02</span></div>
<span class=\"step-aside\">Just once</span>
</div>
<h3 class=\"display-md step-title\">Your first session</h3>
<p class=\"step-body\">Introduce yourself once. Neuron builds a model of your work, your preferences, and your context from the first conversation.</p>
</div>
<div class=\"reveal\" style=\"transition-delay:360ms\">
<div class=\"step-circle-row\">
<div class=\"step-circle\"><span class=\"step-num\">03</span></div>
<span class=\"step-aside\">Every session</span>
</div>
<h3 class=\"display-md step-title\">Never start over</h3>
<p class=\"step-body\">Open a new session days or months later. Neuron remembers. Every project, every decision, every thread - exactly where you left it.</p>
</div>
</div>
</div>
</section>
"
}
// === inference.el ===
// components/inference.el - Neuron inference section.
// "My model. My infrastructure. Cheaper than theirs."
fn inference() -> String {
return "
<section id=\"inference\" aria-label=\"Neuron inference\">
<div class=\"container\">
<div class=\"inference-grid\">
<div>
<div class=\"inference-label-row reveal\">
<div class=\"navy-line-left\" style=\"width:3rem;flex-shrink:0\"></div>
<span class=\"label\">Neuron inference - live day one</span>
</div>
<h2 class=\"display-lg inference-headline reveal\" style=\"transition-delay:80ms\">
My model. My infrastructure.
<span class=\"gold\"> Cheaper than theirs.</span>
</h2>
<p class=\"inference-body reveal\" style=\"transition-delay:160ms\">
Four companies control nearly all frontier AI inference today. Every query you send strengthens their position - and their pricing power over you. That changes today.
</p>
<p class=\"inference-body reveal\" style=\"transition-delay:240ms\">
Neuron is both the product and the model. Purpose-built for how Neuron thinks, how your context is structured, how to do more with fewer tokens. It runs on Soma, our own inference infrastructure. Priced below OpenAI, Anthropic, and Google from day one. Not as a loss leader. As a permanent competitive position.
</p>
<p class=\"inference-body reveal\" style=\"transition-delay:320ms\">
You can still route to your own API keys if you want - Anthropic, OpenAI, whoever. But when we&#39;re cheaper, faster, and the model knows Neuron&#39;s architecture from the inside, why would you?
</p>
<p class=\"inference-body reveal\" style=\"transition-delay:400ms\">
Every user on Neuron inference is compute that doesn&#39;t flow to the monopoly. That&#39;s not just a cost story. It&#39;s a power one.
</p>
</div>
<div class=\"inference-stats\">
<div class=\"stat-row reveal\">
<div class=\"stat-row-head\">
<span class=\"stat-num\">4</span>
<span class=\"stat-label\">Companies control frontier inference</span>
</div>
<p class=\"stat-body\">OpenAI, Google, Anthropic, Meta. Nearly every AI query flows through them. We&#39;re building the exit ramp.</p>
</div>
<div class=\"stat-row reveal\" style=\"transition-delay:120ms\">
<div class=\"stat-row-head\">
<span class=\"stat-num\">Neuron</span>
<span class=\"stat-label\">The model - live on day one</span>
</div>
<p class=\"stat-body\">Built on Qwen3 - open weights, Sonnet-equivalent capability. Neuron wraps it with your full context, years of accumulated intelligence. The model is the floor. Neuron is the ceiling.</p>
</div>
<div class=\"stat-row reveal\" style=\"transition-delay:240ms\">
<div class=\"stat-row-head\">
<span class=\"stat-num\">&lt; theirs</span>
<span class=\"stat-label\">Priced below the incumbents</span>
</div>
<p class=\"stat-body\">Below OpenAI&#39;s API pricing at launch. Below Anthropic&#39;s. Below Google&#39;s. Metered - you pay for what you use, not a flat subscription. And cheaper than any of them on every tier.</p>
</div>
</div>
</div>
</div>
</section>
"
}
// === efficiency.el ===
// components/efficiency.el - Token efficiency and environment section.
// Three cards: local inference / per-task routing / context compression.
fn efficiency() -> String {
return "
<section id=\"efficiency\" aria-label=\"Token efficiency and environment\">
<div class=\"container\">
<div class=\"efficiency-header\">
<div class=\"efficiency-label-row reveal\">
<div class=\"navy-line-left\" style=\"width:4rem;flex-shrink:0\"></div>
<span class=\"label\">Efficiency</span>
</div>
<h2 class=\"display-lg reveal\" style=\"transition-delay:80ms;max-width:32rem\">
Every token spent <span class=\"gold\">is a choice.</span>
</h2>
<p class=\"efficiency-sub reveal\" style=\"transition-delay:160ms;margin-top:1.25rem\">
Cost and environmental impact aren&#39;t afterthoughts - they&#39;re structural properties of the architecture. I built it that way from the start.
</p>
</div>
<div class=\"efficiency-grid\">
<div class=\"efficiency-card card-dark reveal\">
<div class=\"efficiency-icon\">
<svg width=\"28\" height=\"28\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\">
<path d=\"M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10z\"/>
<path d=\"M8 12s1.5-2 4-2 4 2 4 2\"/>
<path d=\"M9 9h.01M15 9h.01\"/>
<path d=\"M12 17c-1.5 0-3-.5-3-1.5S10 14 12 14s3 .5 3 1.5S13.5 17 12 17z\"/>
</svg>
</div>
<p class=\"efficiency-stat\">0 cloud tokens</p>
<p class=\"efficiency-title\">Local inference</p>
<div class=\"efficiency-rule\"></div>
<p class=\"efficiency-body\">Free tier runs entirely on-device via Ollama. No API calls, no inference cost, no carbon footprint from model compute. Full memory and context, zero cloud dependency.</p>
</div>
<div class=\"efficiency-card card-dark reveal\" style=\"transition-delay:150ms\">
<div class=\"efficiency-icon\">
<svg width=\"28\" height=\"28\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\">
<circle cx=\"6\" cy=\"18\" r=\"2\"/><circle cx=\"18\" cy=\"6\" r=\"2\"/><circle cx=\"18\" cy=\"18\" r=\"2\"/>
<path d=\"M6 16V8l6-4 6 4\"/><path d=\"M6 16l6 4 6-4\"/><path d=\"M12 4v16\"/>
</svg>
</div>
<p class=\"efficiency-stat\">~80% cost reduction</p>
<p class=\"efficiency-title\">Per-task routing</p>
<div class=\"efficiency-rule\"></div>
<p class=\"efficiency-body\">Simple tasks route to small, fast models. Complex reasoning escalates to frontier models only when necessary. And because every model has full access to your accumulated context, cheaper models punch well above their weight.</p>
</div>
<div class=\"efficiency-card card-dark reveal\" style=\"transition-delay:300ms\">
<div class=\"efficiency-icon\">
<svg width=\"28\" height=\"28\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\">
<rect x=\"4\" y=\"4\" width=\"16\" height=\"16\" rx=\"2\"/>
<path d=\"M9 9h6M9 12h6M9 15h4\"/>
<path d=\"M16 15l2 2 2-2\"/>
</svg>
</div>
<p class=\"efficiency-stat\">40% fewer tokens</p>
<p class=\"efficiency-title\">Context compression</p>
<div class=\"efficiency-rule\"></div>
<p class=\"efficiency-body\">Neuron delivers a 40% reduction in tokens across your AI interactions. Precise context assembly means smaller prompts on every call. Total savings compound: fewer calls, less compute, lower cost on every step.</p>
</div>
</div>
<div class=\"efficiency-pullquote reveal\">
<p>The frontier model without memory of you is starting from scratch every time. A smaller, faster model with years of accumulated context on your work, your decisions, and your patterns will outperform it. The intelligence isn&#39;t in the model - it&#39;s in what the model knows about you.</p>
</div>
</div>
<div class=\"container\" style=\"margin-top:5rem\"><div class=\"navy-line\"></div></div>
</section>
"
}
// === comparison.el ===
// components/comparison.el - Neuron vs the field comparison section.
fn comparison() -> String {
return "
<section id=\"comparison\" aria-label=\"Comparison\" style=\"padding:8rem 2.5rem;background:var(--bg2)\">
<div class=\"container\">
<div class=\"comparison-header\" style=\"text-align:center;margin-bottom:4rem\">
<div style=\"display:flex;align-items:center;justify-content:center;gap:1.5rem;margin-bottom:2rem\">
<div class=\"navy-line-left\" style=\"width:4rem;flex-shrink:0;transform:scaleX(-1)\"></div>
<span class=\"label reveal\" style=\"color:var(--navy-85)\">How we compare</span>
<div class=\"navy-line-left\" style=\"width:4rem;flex-shrink:0\"></div>
</div>
<h2 class=\"display-lg reveal\" style=\"transition-delay:80ms;max-width:36rem;margin:0 auto 1.25rem\">
Every other AI forgets you.<br><span class=\"gold\">Neuron doesn&#39;t.</span>
</h2>
<p class=\"reveal\" style=\"transition-delay:160ms;font-family:var(--body);font-weight:300;font-size:1rem;color:var(--t2);line-height:1.7;max-width:32rem;margin:0 auto\">
The others are tools. Neuron is a relationship. Here&#39;s the difference.
</p>
</div>
<div class=\"comparison-table reveal\" style=\"transition-delay:200ms;overflow-x:auto\">
<table style=\"width:100%;border-collapse:collapse;font-family:var(--body);font-size:0.875rem\">
<thead>
<tr style=\"border-bottom:2px solid rgba(0,82,160,.20)\">
<th style=\"text-align:left;padding:1rem 1.5rem 1rem 0;font-weight:500;letter-spacing:0.08em;color:var(--t3);font-size:0.75rem;text-transform:uppercase;width:28%\">Feature</th>
<th style=\"text-align:center;padding:1rem 1rem;font-weight:600;color:var(--navy);font-size:0.875rem;width:18%\">
<div style=\"display:inline-flex;flex-direction:column;align-items:center;gap:0.25rem\">
<span style=\"font-size:1.1rem\">&#9679;</span>
Neuron
</div>
</th>
<th style=\"text-align:center;padding:1rem 1rem;font-weight:400;color:var(--t3);font-size:0.875rem;width:13.5%\">ChatGPT</th>
<th style=\"text-align:center;padding:1rem 1rem;font-weight:400;color:var(--t3);font-size:0.875rem;width:13.5%\">Claude</th>
<th style=\"text-align:center;padding:1rem 1rem;font-weight:400;color:var(--t3);font-size:0.875rem;width:13.5%\">Gemini</th>
<th style=\"text-align:center;padding:1rem 1rem;font-weight:400;color:var(--t3);font-size:0.875rem;width:13.5%\">Copilot</th>
</tr>
</thead>
<tbody>
<tr style=\"border-bottom:1px solid rgba(0,0,0,.06)\">
<td style=\"padding:1rem 1.5rem 1rem 0;color:var(--t1);font-weight:500\">Persistent memory</td>
<td style=\"text-align:center;padding:1rem\"><span style=\"color:#008040;font-weight:700;font-size:1.1rem\">&#10003;</span><br><span style=\"font-size:0.7rem;color:var(--t3);font-weight:400\">Permanent, structured</span></td>
<td style=\"text-align:center;padding:1rem;color:var(--t3)\"><span style=\"color:#D4A017\">&#9679;</span><br><span style=\"font-size:0.7rem\">Limited memory</span></td>
<td style=\"text-align:center;padding:1rem;color:var(--t3)\"><span style=\"color:#C44\">&#10005;</span><br><span style=\"font-size:0.7rem\">Resets each session</span></td>
<td style=\"text-align:center;padding:1rem;color:var(--t3)\"><span style=\"color:#C44\">&#10005;</span><br><span style=\"font-size:0.7rem\">Resets each session</span></td>
<td style=\"text-align:center;padding:1rem;color:var(--t3)\"><span style=\"color:#C44\">&#10005;</span><br><span style=\"font-size:0.7rem\">Resets each session</span></td>
</tr>
<tr style=\"border-bottom:1px solid rgba(0,0,0,.06);background:rgba(0,82,160,.02)\">
<td style=\"padding:1rem 1.5rem 1rem 0;color:var(--t1);font-weight:500\">Your data stays local</td>
<td style=\"text-align:center;padding:1rem\"><span style=\"color:#008040;font-weight:700;font-size:1.1rem\">&#10003;</span><br><span style=\"font-size:0.7rem;color:var(--t3);font-weight:400\">Runs on your device</span></td>
<td style=\"text-align:center;padding:1rem;color:var(--t3)\"><span style=\"color:#C44\">&#10005;</span><br><span style=\"font-size:0.7rem\">Cloud only</span></td>
<td style=\"text-align:center;padding:1rem;color:var(--t3)\"><span style=\"color:#C44\">&#10005;</span><br><span style=\"font-size:0.7rem\">Cloud only</span></td>
<td style=\"text-align:center;padding:1rem;color:var(--t3)\"><span style=\"color:#C44\">&#10005;</span><br><span style=\"font-size:0.7rem\">Cloud only</span></td>
<td style=\"text-align:center;padding:1rem;color:var(--t3)\"><span style=\"color:#C44\">&#10005;</span><br><span style=\"font-size:0.7rem\">Cloud only</span></td>
</tr>
<tr style=\"border-bottom:1px solid rgba(0,0,0,.06)\">
<td style=\"padding:1rem 1.5rem 1rem 0;color:var(--t1);font-weight:500\">No training on your data</td>
<td style=\"text-align:center;padding:1rem\"><span style=\"color:#008040;font-weight:700;font-size:1.1rem\">&#10003;</span><br><span style=\"font-size:0.7rem;color:var(--t3);font-weight:400\">Architecturally impossible</span></td>
<td style=\"text-align:center;padding:1rem;color:var(--t3)\"><span style=\"color:#D4A017\">&#9679;</span><br><span style=\"font-size:0.7rem\">Opt-out required</span></td>
<td style=\"text-align:center;padding:1rem;color:var(--t3)\"><span style=\"color:#D4A017\">&#9679;</span><br><span style=\"font-size:0.7rem\">Policy-based</span></td>
<td style=\"text-align:center;padding:1rem;color:var(--t3)\"><span style=\"color:#D4A017\">&#9679;</span><br><span style=\"font-size:0.7rem\">Policy-based</span></td>
<td style=\"text-align:center;padding:1rem;color:var(--t3)\"><span style=\"color:#D4A017\">&#9679;</span><br><span style=\"font-size:0.7rem\">Policy-based</span></td>
</tr>
<tr style=\"border-bottom:1px solid rgba(0,0,0,.06);background:rgba(0,82,160,.02)\">
<td style=\"padding:1rem 1.5rem 1rem 0;color:var(--t1);font-weight:500\">Works offline</td>
<td style=\"text-align:center;padding:1rem\"><span style=\"color:#008040;font-weight:700;font-size:1.1rem\">&#10003;</span><br><span style=\"font-size:0.7rem;color:var(--t3);font-weight:400\">Local inference via Ollama</span></td>
<td style=\"text-align:center;padding:1rem;color:var(--t3)\"><span style=\"color:#C44\">&#10005;</span></td>
<td style=\"text-align:center;padding:1rem;color:var(--t3)\"><span style=\"color:#C44\">&#10005;</span></td>
<td style=\"text-align:center;padding:1rem;color:var(--t3)\"><span style=\"color:#C44\">&#10005;</span></td>
<td style=\"text-align:center;padding:1rem;color:var(--t3)\"><span style=\"color:#C44\">&#10005;</span></td>
</tr>
<tr style=\"border-bottom:1px solid rgba(0,0,0,.06)\">
<td style=\"padding:1rem 1.5rem 1rem 0;color:var(--t1);font-weight:500\">Bring your own API keys</td>
<td style=\"text-align:center;padding:1rem\"><span style=\"color:#008040;font-weight:700;font-size:1.1rem\">&#10003;</span><br><span style=\"font-size:0.7rem;color:var(--t3);font-weight:400\">OpenAI, Anthropic, Groq...</span></td>
<td style=\"text-align:center;padding:1rem;color:var(--t3)\"><span style=\"color:#C44\">&#10005;</span></td>
<td style=\"text-align:center;padding:1rem;color:var(--t3)\"><span style=\"color:#C44\">&#10005;</span></td>
<td style=\"text-align:center;padding:1rem;color:var(--t3)\"><span style=\"color:#C44\">&#10005;</span></td>
<td style=\"text-align:center;padding:1rem;color:var(--t3)\"><span style=\"color:#C44\">&#10005;</span></td>
</tr>
<tr style=\"border-bottom:1px solid rgba(0,0,0,.06);background:rgba(0,82,160,.02)\">
<td style=\"padding:1rem 1.5rem 1rem 0;color:var(--t1);font-weight:500\">Structured knowledge graph</td>
<td style=\"text-align:center;padding:1rem\"><span style=\"color:#008040;font-weight:700;font-size:1.1rem\">&#10003;</span><br><span style=\"font-size:0.7rem;color:var(--t3);font-weight:400\">Your memories, organized</span></td>
<td style=\"text-align:center;padding:1rem;color:var(--t3)\"><span style=\"color:#C44\">&#10005;</span></td>
<td style=\"text-align:center;padding:1rem;color:var(--t3)\"><span style=\"color:#C44\">&#10005;</span></td>
<td style=\"text-align:center;padding:1rem;color:var(--t3)\"><span style=\"color:#C44\">&#10005;</span></td>
<td style=\"text-align:center;padding:1rem;color:var(--t3)\"><span style=\"color:#C44\">&#10005;</span></td>
</tr>
<tr style=\"border-bottom:1px solid rgba(0,0,0,.06)\">
<td style=\"padding:1rem 1.5rem 1rem 0;color:var(--t1);font-weight:500\">You own your outputs</td>
<td style=\"text-align:center;padding:1rem\"><span style=\"color:#008040;font-weight:700;font-size:1.1rem\">&#10003;</span><br><span style=\"font-size:0.7rem;color:var(--t3);font-weight:400\">No platform claim, ever</span></td>
<td style=\"text-align:center;padding:1rem;color:var(--t3)\"><span style=\"color:#D4A017\">&#9679;</span><br><span style=\"font-size:0.7rem\">ToS-dependent</span></td>
<td style=\"text-align:center;padding:1rem;color:var(--t3)\"><span style=\"color:#D4A017\">&#9679;</span><br><span style=\"font-size:0.7rem\">ToS-dependent</span></td>
<td style=\"text-align:center;padding:1rem;color:var(--t3)\"><span style=\"color:#D4A017\">&#9679;</span><br><span style=\"font-size:0.7rem\">ToS-dependent</span></td>
<td style=\"text-align:center;padding:1rem;color:var(--t3)\"><span style=\"color:#D4A017\">&#9679;</span><br><span style=\"font-size:0.7rem\">ToS-dependent</span></td>
</tr>
<tr style=\"border-bottom:1px solid rgba(0,0,0,.06);background:rgba(0,82,160,.02)\">
<td style=\"padding:1rem 1.5rem 1rem 0;color:var(--t1);font-weight:500\">Price (with inference)</td>
<td style=\"text-align:center;padding:1rem\"><span style=\"color:#008040;font-weight:700;font-size:1rem\">$19/mo</span><br><span style=\"font-size:0.7rem;color:var(--t3);font-weight:400\">or $199 lifetime</span></td>
<td style=\"text-align:center;padding:1rem;color:var(--t3)\"><span style=\"font-weight:500;color:var(--t2)\">$20/mo</span><br><span style=\"font-size:0.7rem\">forgets you</span></td>
<td style=\"text-align:center;padding:1rem;color:var(--t3)\"><span style=\"font-weight:500;color:var(--t2)\">$20/mo</span><br><span style=\"font-size:0.7rem\">no memory</span></td>
<td style=\"text-align:center;padding:1rem;color:var(--t3)\"><span style=\"font-weight:500;color:var(--t2)\">Free&#8211;$20</span><br><span style=\"font-size:0.7rem\">no memory</span></td>
<td style=\"text-align:center;padding:1rem;color:var(--t3)\"><span style=\"font-weight:500;color:var(--t2)\">$30/mo</span><br><span style=\"font-size:0.7rem\">Microsoft 365</span></td>
</tr>
<tr>
<td style=\"padding:1rem 1.5rem 1rem 0;color:var(--t1);font-weight:500\">Free tier</td>
<td style=\"text-align:center;padding:1rem\"><span style=\"color:#008040;font-weight:700;font-size:1.1rem\">&#10003;</span><br><span style=\"font-size:0.7rem;color:var(--t3);font-weight:400\">Full app, forever</span></td>
<td style=\"text-align:center;padding:1rem;color:var(--t3)\"><span style=\"color:#D4A017\">&#9679;</span><br><span style=\"font-size:0.7rem\">GPT-3.5 only</span></td>
<td style=\"text-align:center;padding:1rem;color:var(--t3)\"><span style=\"color:#D4A017\">&#9679;</span><br><span style=\"font-size:0.7rem\">Limited</span></td>
<td style=\"text-align:center;padding:1rem;color:var(--t3)\"><span style=\"color:#D4A017\">&#9679;</span><br><span style=\"font-size:0.7rem\">Limited</span></td>
<td style=\"text-align:center;padding:1rem;color:var(--t3)\"><span style=\"color:#D4A017\">&#9679;</span><br><span style=\"font-size:0.7rem\">Microsoft 365 required</span></td>
</tr>
</tbody>
</table>
</div>
<div class=\"reveal\" style=\"transition-delay:300ms;margin-top:3rem;display:flex;align-items:center;justify-content:center;gap:3rem;flex-wrap:wrap\">
<div style=\"display:flex;align-items:center;gap:0.5rem;font-family:var(--body);font-size:0.75rem;color:var(--t3)\">
<span style=\"color:#008040;font-weight:700\">&#10003;</span> Yes / Supported
</div>
<div style=\"display:flex;align-items:center;gap:0.5rem;font-family:var(--body);font-size:0.75rem;color:var(--t3)\">
<span style=\"color:#D4A017\">&#9679;</span> Partial / Limited
</div>
<div style=\"display:flex;align-items:center;gap:0.5rem;font-family:var(--body);font-size:0.75rem;color:var(--t3)\">
<span style=\"color:#C44\">&#10005;</span> No / Not supported
</div>
</div>
<div class=\"reveal\" style=\"transition-delay:400ms;margin-top:4rem;padding:2.5rem 3rem;background:var(--card);border:1px solid rgba(0,82,160,.12);border-left:3px solid var(--navy)\">
<p style=\"font-family:var(--body);font-weight:300;font-size:1rem;color:var(--t2);line-height:1.8;margin-bottom:1rem\">
The others are impressive. Some of them are extraordinary at what they do. But they are all built on the same assumption: <em>your context lives in their cloud, session to session, at their discretion.</em>
</p>
<p style=\"font-family:var(--body);font-weight:300;font-size:1rem;color:var(--t2);line-height:1.8\">
Neuron starts from a different premise. Your memory is yours. It lives on your machine. It compounds over time, not over sessions. The AI that knows you isn&#39;t an AI you borrowed from someone else&#39;s cloud - it&#39;s one that has been building with you, on your terms, since day one.
</p>
</div>
</div>
</section>
"
}
// === environmental.el ===
// components/environmental.el - Environmental impact section.
//
// The honest case for why local-first AI has a lower footprint than cloud AI.
// Not greenwashing - a structural argument. The benefit follows from the
// architecture; it wasn't engineered as a feature, but it's real.
fn environmental() -> String {
return "
<section id=\"environmental\" aria-label=\"Environmental impact\" style=\"padding:8rem 2.5rem;background:var(--bg)\">
<div class=\"container-lg\">
<div style=\"display:grid;grid-template-columns:1fr 1fr;gap:6rem;align-items:start\">
<div>
<div style=\"display:flex;align-items:center;gap:1.5rem;margin-bottom:2rem\">
<div class=\"navy-line-left\" style=\"width:3rem;flex-shrink:0\"></div>
<span class=\"label reveal\" style=\"color:var(--navy-85)\">Environmental impact</span>
</div>
<h2 class=\"display-lg reveal\" style=\"transition-delay:80ms;margin-bottom:1.5rem\">
40% fewer tokens.<br><span class=\"gold\">Same work done.</span>
</h2>
<p class=\"reveal\" style=\"transition-delay:160ms;font-family:var(--body);font-weight:300;font-size:1rem;color:var(--t2);line-height:1.8;margin-bottom:1.25rem\">
Neuron delivers a 40% reduction in tokens across your AI interactions. Less computation. Lower cost. A smaller footprint. This isn&#39;t a setting you toggle - it&#39;s what persistent context does by default.
</p>
<p class=\"reveal\" style=\"transition-delay:220ms;font-family:var(--body);font-weight:300;font-size:1rem;color:var(--t2);line-height:1.8;margin-bottom:1.25rem\">
Every time you open ChatGPT and explain who you are again, that&#39;s computation that didn&#39;t need to happen. With Neuron, that context tax doesn&#39;t accumulate. Over months of use, 40% fewer tokens compounds into a meaningful reduction in total compute - and a meaningful reduction in what you pay.
</p>
<p class=\"reveal\" style=\"transition-delay:280ms;font-family:var(--body);font-weight:300;font-size:1rem;color:var(--t2);line-height:1.8;margin-bottom:2.5rem\">
This isn&#39;t a green marketing claim. It&#39;s a consequence of the design. The same architecture that makes Neuron better for you also makes it lighter on the planet.
</p>
<div class=\"reveal\" style=\"transition-delay:340ms;background:var(--card);border:1px solid rgba(0,82,160,.18);padding:2rem\">
<p style=\"font-family:var(--body);font-size:0.7rem;font-weight:600;letter-spacing:0.18em;text-transform:uppercase;color:var(--navy);margin-bottom:1.25rem\">Savings calculator</p>
<p style=\"font-family:var(--body);font-size:0.875rem;color:var(--t2);margin-bottom:1rem\">If you spend <strong id=\"calc-spend\" style=\"color:var(--t1)\">$50</strong>/month on AI&hellip;</p>
<input type=\"range\" id=\"calc-slider\" min=\"10\" max=\"500\" step=\"10\" value=\"50\" style=\"width:100%;accent-color:var(--navy);margin-bottom:1.5rem\">
<div style=\"display:flex;align-items:baseline;gap:0.75rem;margin-bottom:0.375rem\">
<span id=\"calc-savings\" style=\"font-family:var(--head);font-size:2.5rem;font-weight:600;color:var(--navy)\">$240</span>
<span style=\"font-family:var(--body);font-size:0.7rem;font-weight:500;letter-spacing:0.15em;text-transform:uppercase;color:var(--t3)\">saved per year</span>
</div>
<p style=\"font-family:var(--body);font-size:0.75rem;color:var(--t3)\">Based on 40% token reduction applied to your monthly spend.</p>
</div>
<script>
(function() {
var slider = document.getElementById('calc-slider');
var spendEl = document.getElementById('calc-spend');
var savingsEl = document.getElementById('calc-savings');
if (!slider) return;
function update() {
var monthly = parseInt(slider.value, 10);
var annual = Math.round(monthly * 0.40 * 12);
spendEl.textContent = '$' + monthly;
savingsEl.textContent = '$' + annual;
}
slider.addEventListener('input', update);
update();
})();
</script>
</div>
<div style=\"display:flex;flex-direction:column;gap:1.5rem;padding-top:1rem\">
<div class=\"reveal card-dark\" style=\"transition-delay:100ms;padding:1.75rem 2rem;border-left:3px solid rgba(0,120,84,.40)\">
<p style=\"font-family:var(--body);font-size:0.7rem;font-weight:600;letter-spacing:0.18em;text-transform:uppercase;color:rgba(0,120,84,.70);margin-bottom:0.75rem\">Local inference</p>
<p style=\"font-family:var(--body);font-weight:400;font-size:0.9375rem;color:var(--t1);margin-bottom:0.5rem\">Your GPU, already powered on</p>
<p style=\"font-family:var(--body);font-weight:300;font-size:0.875rem;color:var(--t2);line-height:1.7\">
When you run inference locally via Ollama, your device&#39;s GPU handles it - hardware that&#39;s already consuming power. No data center spins up a cluster for your query. No round-trip. No idle servers waiting at scale.
</p>
</div>
<div class=\"reveal card-dark\" style=\"transition-delay:200ms;padding:1.75rem 2rem;border-left:3px solid rgba(0,120,84,.40)\">
<p style=\"font-family:var(--body);font-size:0.7rem;font-weight:600;letter-spacing:0.18em;text-transform:uppercase;color:rgba(0,120,84,.70);margin-bottom:0.75rem\">No database server for your data</p>
<p style=\"font-family:var(--body);font-weight:400;font-size:0.9375rem;color:var(--t1);margin-bottom:0.5rem\">On-device storage</p>
<p style=\"font-family:var(--body);font-weight:300;font-size:0.875rem;color:var(--t2);line-height:1.7\">
Your context lives on your device in a purpose-built local storage layer. No cloud database servers running 24&#x2F;7 to store and serve your conversations. No replication across availability zones. Just your device.
</p>
</div>
<div class=\"reveal card-dark\" style=\"transition-delay:300ms;padding:1.75rem 2rem;border-left:3px solid rgba(0,120,84,.40)\">
<p style=\"font-family:var(--body);font-size:0.7rem;font-weight:600;letter-spacing:0.18em;text-transform:uppercase;color:rgba(0,120,84,.70);margin-bottom:0.75rem\">Persistent context = less recomputation</p>
<p style=\"font-family:var(--body);font-weight:400;font-size:0.9375rem;color:var(--t1);margin-bottom:0.5rem\">No re-explaining. No wasted tokens.</p>
<p style=\"font-family:var(--body);font-weight:300;font-size:0.875rem;color:var(--t2);line-height:1.7\">
Neuron surfaces exactly what&#39;s relevant for each conversation - no re-deriving who you are from long histories. Shorter, more targeted prompts. 40% fewer tokens per useful outcome.
</p>
</div>
<div class=\"reveal\" style=\"transition-delay:400ms;padding:1.25rem 1.75rem;background:rgba(0,0,0,.03);border:1px solid rgba(0,0,0,.07);border-radius:2px\">
<p style=\"font-family:var(--body);font-size:0.8125rem;font-weight:300;color:var(--t3);line-height:1.7\">
<strong style=\"font-weight:500;color:var(--t2)\">The honest picture:</strong> 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.
</p>
</div>
</div>
</div>
</div>
</section>
"
}
// === enterprise.el ===
// components/enterprise.el - Enterprise section.
// Four capability cards + "Who I work with" box + how-it-works steps.
fn enterprise() -> String {
return "
<section id=\"enterprise\" aria-label=\"Enterprise\">
<div class=\"container\">
<div class=\"enterprise-header\">
<div class=\"enterprise-label-row reveal\">
<div class=\"navy-line-left\" style=\"width:4rem;flex-shrink:0\"></div>
<span class=\"label\" style=\"color:var(--navy-85)\">Enterprise</span>
</div>
<div class=\"enterprise-head-row\">
<div style=\"max-width:28rem\">
<h2 class=\"display-lg reveal\" style=\"transition-delay:80ms\">
Enterprise-ready <span class=\"gold\">from day one.</span>
</h2>
<p class=\"reveal\" style=\"transition-delay:160ms;font-weight:300;font-size:.9375rem;color:var(--t2);line-height:1.7;margin-top:1.25rem\">
Not an afterthought. Not a future roadmap item. Built into the architecture.
</p>
</div>
<div class=\"reveal\" style=\"transition-delay:240ms;display:flex;flex-direction:column;gap:.75rem;align-items:flex-end\">
<div class=\"ent-badge\">
<span class=\"ent-badge-dot\"></span>
Enterprise discussions open Q4 2026
</div>
<p style=\"font-size:.75rem;color:rgba(0,82,160,.45)\">Use the form below &middot; I review every inquiry</p>
</div>
</div>
</div>
<div class=\"enterprise-grid\">
<div class=\"enterprise-cap card-dark reveal\">
<h3 class=\"display-md\">Private deployment</h3>
<div class=\"enterprise-cap-rule\"></div>
<p class=\"enterprise-cap-body\">Run entirely on your infrastructure. Air-gapped. No data leaves your network. Every employee gets their own Neuron instance - your company&#39;s institutional knowledge stays inside your walls.</p>
</div>
<div class=\"enterprise-cap card-dark reveal\" style=\"transition-delay:130ms\">
<h3 class=\"display-md\">Institutional memory</h3>
<div class=\"enterprise-cap-rule\"></div>
<p class=\"enterprise-cap-body\">When an employee leaves, their expertise doesn&#39;t. Their memory graph persists - their patterns, their domain knowledge, their reasoning - available to the team they built it with.</p>
</div>
<div class=\"enterprise-cap card-dark reveal\" style=\"transition-delay:260ms\">
<h3 class=\"display-md\">Team intelligence</h3>
<div class=\"enterprise-cap-rule\"></div>
<p class=\"enterprise-cap-body\">Shared knowledge packages and cross-instance coordination. The collective intelligence of your organization compounds the same way an individual&#39;s does.</p>
</div>
<div class=\"enterprise-cap card-dark reveal\" style=\"transition-delay:390ms\">
<h3 class=\"display-md\">Compliance architecture</h3>
<div class=\"enterprise-cap-rule\"></div>
<p class=\"enterprise-cap-body\">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.</p>
</div>
</div>
<div class=\"enterprise-box reveal\">
<p class=\"ent-who-label\">Who I work with</p>
<p class=\"ent-who-body\">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&#39;s about making the people you have dramatically more effective, I want to hear from you.</p>
<p class=\"ent-who-note\">This isn&#39;t a legal hedge. It&#39;s a filter. The Enterprise Agreement makes it binding - but I&#39;m raising it here because I&#39;d rather you know before you reach out.</p>
<div class=\"ent-how-row\">
<div class=\"ent-how-label\">
<h3 class=\"display-md\" style=\"font-size:1.25rem\">How it works</h3>
</div>
<div class=\"ent-steps\">
<div>
<p class=\"ent-step-num\">01</p>
<p class=\"ent-step-title\">Express interest</p>
<p class=\"ent-step-body\">Send me a note. I review every inquiry myself - no sales funnel, no SDR. If it&#39;s a fit, I respond directly.</p>
</div>
<div>
<p class=\"ent-step-num\">02</p>
<p class=\"ent-step-title\">Scoped deployment</p>
<p class=\"ent-step-body\">I work with your team to scope a private deployment - on your infrastructure, in your network, with your security requirements.</p>
</div>
<div>
<p class=\"ent-step-num\">03</p>
<p class=\"ent-step-title\">Per-seat licensing</p>
<p class=\"ent-step-body\">Annual per-seat pricing with a volume floor. Custom SLA available. The full Agreement is published before any conversation starts.</p>
</div>
</div>
</div>
<div class=\"ent-terms-row\">
<p class=\"ent-terms-text\">The full Enterprise Agreement is published. Read it before reaching out - no NDA required to evaluate the terms.</p>
<a href=\"/legal/enterprise-terms\" class=\"ent-terms-link\">Read the Enterprise Agreement &#8594;</a>
</div>
<!-- Enterprise inquiry form -->
<div style=\"margin-top:3rem;padding-top:2.5rem;border-top:1px solid var(--border)\">
<p class=\"label\" style=\"margin-bottom:0.75rem;font-size:0.65rem\">Express interest</p>
<p style=\"font-family:var(--body);font-weight:300;font-size:0.9rem;color:var(--t2);line-height:1.75;margin-bottom:2rem\">I review every inquiry myself. Fill this out honestly - the questions are a filter, not a formality.</p>
<form id=\"enterprise-form\" style=\"display:grid;grid-template-columns:1fr 1fr;gap:1rem\">
<div style=\"display:flex;flex-direction:column;gap:0.4rem\">
<label for=\"ent-name\" style=\"font-family:var(--body);font-size:0.7rem;font-weight:500;letter-spacing:0.08em;text-transform:uppercase;color:var(--t3)\">Name</label>
<input id=\"ent-name\" name=\"name\" type=\"text\" required placeholder=\"Your name\"
style=\"font-family:var(--body);font-size:0.9rem;font-weight:300;color:var(--t1);background:#fff;border:1px solid rgba(0,82,160,.22);padding:0.7rem 0.9rem;outline:none;border-radius:0;-webkit-appearance:none\">
</div>
<div style=\"display:flex;flex-direction:column;gap:0.4rem\">
<label for=\"ent-email\" style=\"font-family:var(--body);font-size:0.7rem;font-weight:500;letter-spacing:0.08em;text-transform:uppercase;color:var(--t3)\">Work email</label>
<input id=\"ent-email\" name=\"email\" type=\"email\" required placeholder=\"you@company.com\"
style=\"font-family:var(--body);font-size:0.9rem;font-weight:300;color:var(--t1);background:#fff;border:1px solid rgba(0,82,160,.22);padding:0.7rem 0.9rem;outline:none;border-radius:0;-webkit-appearance:none\">
</div>
<div style=\"display:flex;flex-direction:column;gap:0.4rem\">
<label for=\"ent-company\" style=\"font-family:var(--body);font-size:0.7rem;font-weight:500;letter-spacing:0.08em;text-transform:uppercase;color:var(--t3)\">Organization</label>
<input id=\"ent-company\" name=\"company\" type=\"text\" required placeholder=\"Company or organization name\"
style=\"font-family:var(--body);font-size:0.9rem;font-weight:300;color:var(--t1);background:#fff;border:1px solid rgba(0,82,160,.22);padding:0.7rem 0.9rem;outline:none;border-radius:0;-webkit-appearance:none\">
</div>
<div style=\"display:flex;flex-direction:column;gap:0.4rem\">
<label for=\"ent-size\" style=\"font-family:var(--body);font-size:0.7rem;font-weight:500;letter-spacing:0.08em;text-transform:uppercase;color:var(--t3)\">Team size</label>
<select id=\"ent-size\" name=\"size\" required
style=\"font-family:var(--body);font-size:0.9rem;font-weight:300;color:var(--t1);background:#fff;border:1px solid rgba(0,82,160,.22);padding:0.7rem 0.9rem;outline:none;border-radius:0;-webkit-appearance:none;cursor:pointer\">
<option value=\"\">Select&hellip;</option>
<option value=\"2-10\">2&#8211;10 people</option>
<option value=\"11-50\">11&#8211;50 people</option>
<option value=\"51-200\">51&#8211;200 people</option>
<option value=\"201-500\">201&#8211;500 people</option>
<option value=\"500+\">500+ people</option>
</select>
</div>
<div style=\"grid-column:1/-1;display:flex;flex-direction:column;gap:0.4rem\">
<label for=\"ent-use\" style=\"font-family:var(--body);font-size:0.7rem;font-weight:500;letter-spacing:0.08em;text-transform:uppercase;color:var(--t3)\">What do you want to use Neuron for?</label>
<textarea id=\"ent-use\" name=\"use_case\" required rows=\"3\" placeholder=\"Describe your intended use case - be specific.\"
style=\"font-family:var(--body);font-size:0.9rem;font-weight:300;color:var(--t1);background:#fff;border:1px solid rgba(0,82,160,.22);padding:0.7rem 0.9rem;outline:none;border-radius:0;resize:vertical;-webkit-appearance:none\"></textarea>
</div>
<div style=\"grid-column:1/-1;display:flex;flex-direction:column;gap:0.4rem\">
<label for=\"ent-headcount\" style=\"font-family:var(--body);font-size:0.7rem;font-weight:500;letter-spacing:0.08em;text-transform:uppercase;color:var(--t3)\">Is reducing headcount a primary goal of this deployment?</label>
<select id=\"ent-headcount\" name=\"headcount\" required onchange=\"entHeadcountChange(this.value)\"
style=\"font-family:var(--body);font-size:0.9rem;font-weight:300;color:var(--t1);background:#fff;border:1px solid rgba(0,82,160,.22);padding:0.7rem 0.9rem;outline:none;border-radius:0;-webkit-appearance:none;cursor:pointer\">
<option value=\"\">Select&hellip;</option>
<option value=\"no\">No - making our team more capable</option>
<option value=\"secondary\">It&#39;s a secondary factor, not the primary goal</option>
<option value=\"yes\">Yes - replacing roles with automation</option>
</select>
<p id=\"ent-filter-msg-secondary\" style=\"display:none;font-family:var(--body);font-size:0.875rem;font-weight:300;color:rgba(0,82,160,.75);line-height:1.65;padding:0.75rem 1rem;background:rgba(0,82,160,.04);border-left:2px solid rgba(0,82,160,.3)\">
I review these personally. I&#39;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&#39;s not a negotiating position. It&#39;s how I built this and what I&#39;m willing to support.
</p>
<p id=\"ent-filter-msg-yes\" style=\"display:none;font-family:var(--body);font-size:0.875rem;font-weight:300;color:#c0392b;line-height:1.65;padding:0.75rem 1rem;background:rgba(192,57,43,.05);border-left:2px solid rgba(192,57,43,.4)\">
Neuron isn&#39;t the right fit here. I built this to expand what people can do, not to replace them. If that changes, I&#39;m here.
</p>
</div>
<div id=\"ent-form-error\" style=\"grid-column:1/-1;display:none;font-family:var(--body);font-size:0.875rem;color:#c0392b;padding:0.75rem 1rem;background:rgba(192,57,43,.05);border-left:2px solid rgba(192,57,43,.4)\"></div>
<div style=\"grid-column:1/-1\">
<button type=\"submit\" id=\"ent-submit\"
style=\"font-family:var(--body);font-size:0.75rem;font-weight:600;letter-spacing:0.12em;text-transform:uppercase;background:var(--navy);color:#fff;border:none;padding:0.95rem 2rem;cursor:pointer;transition:background .2s\">
Send inquiry &#8594;
</button>
</div>
</form>
<div id=\"enterprise-success\" style=\"display:none;padding:2rem;background:rgba(0,82,160,.04);border-left:3px solid var(--navy)\">
<p style=\"font-family:var(--head);font-size:1.25rem;font-weight:500;color:var(--t1);margin-bottom:0.5rem\">Received.</p>
<p style=\"font-family:var(--body);font-weight:300;font-size:0.9375rem;color:var(--t2);line-height:1.8\">I review these personally. If it&#39;s a fit, I&#39;ll respond directly to your email - usually within a few days.</p>
</div>
</div>
</div>
</div>
</section>
<script>
(function() {
var form = document.getElementById('enterprise-form');
var submitBtn = document.getElementById('ent-submit');
var successDiv = document.getElementById('enterprise-success');
var errorDiv = document.getElementById('ent-form-error');
if (!form) return;
window.entHeadcountChange = function(val) {
document.getElementById('ent-filter-msg-secondary').style.display = val === 'secondary' ? 'block' : 'none';
document.getElementById('ent-filter-msg-yes').style.display = val === 'yes' ? 'block' : 'none';
submitBtn.disabled = val === 'yes';
submitBtn.style.opacity = val === 'yes' ? '0.35' : '1';
submitBtn.style.cursor = val === 'yes' ? 'not-allowed' : 'pointer';
};
form.addEventListener('submit', function(e) {
e.preventDefault();
var headcount = document.getElementById('ent-headcount').value;
if (headcount === 'yes') {
document.getElementById('ent-filter-msg-yes').style.display = 'block';
return;
}
var name = document.getElementById('ent-name').value.trim();
var email = document.getElementById('ent-email').value.trim();
var company = document.getElementById('ent-company').value.trim();
var size = document.getElementById('ent-size').value;
var useCase = document.getElementById('ent-use').value.trim();
if (!name || !email || !company || !size || !useCase || !headcount) {
errorDiv.textContent = 'Please fill out all fields.';
errorDiv.style.display = 'block';
return;
}
errorDiv.style.display = 'none';
submitBtn.textContent = 'Sending…';
submitBtn.disabled = true;
fetch('/api/enterprise-inquiry', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ name: name, email: email, company: company, size: size, use_case: useCase, headcount: headcount })
})
.then(function(r) { return r.json(); })
.then(function(data) {
form.style.display = 'none';
successDiv.style.display = 'block';
})
.catch(function() {
submitBtn.textContent = 'Send inquiry →';
submitBtn.disabled = false;
errorDiv.textContent = 'Something went wrong. Email enterprise@neurontechnologies.ai directly.';
errorDiv.style.display = 'block';
});
});
})();
</script>
"
}
// === mission.el ===
// components/mission.el - Origin story + manifesto + problems grid.
fn mission() -> String {
return "
<section id=\"mission\" aria-label=\"Mission\">
<div class=\"container\">
<div class=\"navy-line\" style=\"margin-bottom:5rem\"></div>
<div class=\"mission-origin\">
<div class=\"mission-label-row reveal\">
<div class=\"navy-line-left\" style=\"width:4rem;flex-shrink:0\"></div>
<span class=\"label\">The mission</span>
<div style=\"height:1px;width:4rem;background:linear-gradient(to left,transparent,rgba(0,82,160,.35));flex-shrink:0\"></div>
</div>
<h2 class=\"display-lg mission-headline reveal\" style=\"transition-delay:80ms\">Why I built this</h2>
<p class=\"mission-body-para reveal\" style=\"transition-delay:160ms\">
Every AI tool you use today resets when you close the tab. It doesn&#39;t know you tomorrow. It doesn&#39;t remember what mattered yesterday. It can&#39;t grow with you over years.
</p>
<p class=\"mission-body-para reveal\" style=\"transition-delay:240ms\">
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.
</p>
<p class=\"mission-body-para mission-body-emphasis reveal\" style=\"transition-delay:320ms\">
Neuron is private by design. It runs on your hardware. <strong>Your data never leaves your machine.</strong> No training on your data. No telemetry. No cloud dependency.
</p>
<p class=\"mission-body-para reveal\" style=\"transition-delay:400ms\">
This isn&#39;t a chat interface. It&#39;s the AI that becomes yours.
</p>
</div>
<div class=\"mission-bigtech reveal\" style=\"transition-delay:600ms\">
<p class=\"mission-bigtech-label\">Why I stopped trying to partner with Big Tech</p>
<p>
I didn&#39;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.
</p>
<p>
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 - <em>wait, are they going to steal my IP?</em> - and decided to just finish the project on my own.
</p>
<p class=\"muted\">
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?
</p>
<p class=\"muted\">
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&#39;t enter the conversation.
</p>
<p class=\"muted\">
That&#39;s the difference. <strong style=\"color:var(--t1)\">They&#39;re optimizing for the enterprise. I&#39;m building for the people those enterprises are supposed to serve.</strong>
</p>
<p>
I told them I could build and distribute this by myself. Maybe they didn&#39;t believe me. That meeting was April 22nd, 2026. I&#39;m writing this on April 25th. You&#39;re looking at the proof. <a href=\"/marketplace/plans\">I hope you&#39;ll download it.</a>
</p>
</div>
<div class=\"mission-problems\">
<div class=\"mission-sub-row reveal\">
<div class=\"mission-sub-line\"></div>
<span class=\"label\">What I&#39;m building against</span>
</div>
<div class=\"problems-grid\">
<div class=\"problem-item reveal\">
<p class=\"problem-label\">Synthetic media without accountability</p>
<p class=\"problem-body\">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&#39;m not. I&#39;m engaged with it seriously and expect to have answers in place before it becomes unmanageable.</p>
</div>
<div class=\"problem-item reveal\" style=\"transition-delay:120ms\">
<p class=\"problem-label\">Epistemic collapse</p>
<p class=\"problem-body\">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&#39;t.</p>
</div>
<div class=\"problem-item reveal\" style=\"transition-delay:240ms\">
<p class=\"problem-label\">Concentration of inference</p>
<p class=\"problem-body\">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&#39;m building with that in mind.</p>
</div>
<div class=\"problem-item reveal\" style=\"transition-delay:360ms\">
<p class=\"problem-label\">The accountability gap</p>
<p class=\"problem-body\">When an AI agent takes a bad action, there is currently no clear legal or technical accountability. That&#39;s going to matter more as agents do more. I take this seriously. I&#39;m building toward answers - not waiting for regulators to force the question.</p>
</div>
<div class=\"problems-grid-bottom\"></div>
</div>
<div class=\"mission-closer reveal\">
<p>The industry built tools to make AI easier to use. <span>I&#39;m building tools to make it safer to trust.</span></p>
</div>
</div>
</div>
<div class=\"container\" style=\"margin-top:5rem\"><div class=\"navy-line\"></div></div>
</section>
"
}
// === local_first.el ===
// components/local_first.el - Privacy principles / local-first manifesto.
// Left: manifesto text. Right: six sticky principles.
fn local_first() -> String {
return "
<section id=\"local-first\" aria-label=\"Local-first\">
<div class=\"container-lg\">
<div class=\"lf-label-row reveal\">
<div class=\"navy-line-left\" style=\"width:3rem;flex-shrink:0\"></div>
<span class=\"label\" style=\"color:var(--navy-85)\">Local first</span>
</div>
<div class=\"lf-grid\">
<div>
<h2 class=\"display-lg lf-headline reveal\">You are not the product.</h2>
<p class=\"lf-manifesto-para reveal\" style=\"transition-delay:100ms\">
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&#39;t accidents. They&#39;re the business model.
</p>
<p class=\"lf-manifesto-para reveal\" style=\"transition-delay:200ms\">
I&#39;ve watched this play out across two decades. Every free product is the same transaction: something useful in exchange for something you didn&#39;t know you were selling - your attention, your behavior, your future choices. The product is always &#8220;free.&#8221; The price is always you.
</p>
<p class=\"lf-manifesto-para reveal\" style=\"transition-delay:300ms\">
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.
</p>
<p class=\"lf-manifesto-para reveal\" style=\"transition-delay:400ms\">
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&#39;re afraid of - it&#39;s all captured. You get a useful tool. They get a map of your mind.
</p>
<div class=\"lf-manifesto-closer reveal\" style=\"transition-delay:600ms\">
<p>
Neuron is a direct rejection of that model. It runs on your machine. <strong>Your memory never leaves.</strong> I don&#39;t sell data, serve ads, or profile you. The only thing I sell is the software - and once you have it, it&#39;s yours.
</p>
</div>
</div>
<div class=\"lf-principles\">
<div class=\"lf-principle reveal\">
<p class=\"lf-principle-label\">Your machine. Full stop.</p>
<p class=\"lf-principle-body\">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&#39;s.</p>
</div>
<div class=\"lf-principle reveal\" style=\"transition-delay:120ms\">
<p class=\"lf-principle-label\">No training on your data.</p>
<p class=\"lf-principle-body\">Your queries don&#39;t improve a model you don&#39;t own. Your patterns aren&#39;t analyzed to serve you better ads. Your context belongs to you - not a training pipeline.</p>
</div>
<div class=\"lf-principle reveal\" style=\"transition-delay:240ms\">
<p class=\"lf-principle-label\">No ads. Ever.</p>
<p class=\"lf-principle-body\">Not on the free tier. Not on paid. Not in any future version. Ads require surveillance. Surveillance requires your data. I&#39;m not building that.</p>
</div>
<div class=\"lf-principle reveal\" style=\"transition-delay:360ms\">
<p class=\"lf-principle-label\">No telemetry for local use.</p>
<p class=\"lf-principle-body\">When Neuron runs locally, I don&#39;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.</p>
</div>
<div class=\"lf-principle reveal\" style=\"transition-delay:480ms\">
<p class=\"lf-principle-label\">Nothing to breach.</p>
<p class=\"lf-principle-body\">I can&#39;t be hacked for your data because I don&#39;t have it. I can&#39;t be subpoenaed for your conversations because I&#39;ve never seen them. I can&#39;t expose what I&#39;ve never held. Your data living on your machine isn&#39;t just a privacy stance - it&#39;s a security one.</p>
</div>
<div class=\"lf-principle reveal\" style=\"transition-delay:600ms\">
<p class=\"lf-principle-label\">Unreadable even if taken.</p>
<p class=\"lf-principle-body\">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.</p>
</div>
</div>
</div>
<div class=\"lf-callout reveal\">
<p class=\"lf-callout-h\">The industry remembers you for them.</p>
<p class=\"lf-callout-h2\">Neuron remembers you for you.</p>
<p class=\"lf-callout-sub\">Local-first isn&#39;t a feature. It&#39;s a commitment.</p>
</div>
</div>
</section>
"
}
// === 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 "
<div class=\"founding-spots\">
<p class=\"founding-spots-label\">Only " + remaining_str + " left</p>
<div class=\"founding-spots-bar\"><div class=\"founding-spots-fill\" style=\"width:" + pct_str + "%\"></div></div>
<p class=\"founding-spots-sub\">" + sold_str + " of " + total_str + " claimed</p>
</div>
"
}
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 "
<section id=\"pricing\" aria-label=\"Pricing\">
<div class=\"container\">
<div class=\"pricing-header\">
<div class=\"pricing-label-row reveal\">
<div style=\"height:1px;width:4rem;background:linear-gradient(to right,transparent,rgba(0,82,160,.35))\"></div>
<span class=\"label\" style=\"color:var(--navy-85)\">Pricing</span>
<div style=\"height:1px;width:4rem;background:linear-gradient(to left,transparent,rgba(0,82,160,.35))\"></div>
</div>
<h2 class=\"display-lg pricing-headline reveal\" style=\"transition-delay:80ms\">Own it. Don&#39;t rent it.</h2>
<p class=\"pricing-sub reveal\" style=\"transition-delay:160ms\">Neuron inference on every paid plan. Cheaper than OpenAI, Anthropic, and Google - on day one.</p>
</div>
<div class=\"pricing-grid\">
<div class=\"pricing-card card-dark reveal\">
<p class=\"pricing-tier\">Free</p>
<div class=\"pricing-price-row\">
<span class=\"pricing-price\">$0</span>
<span class=\"pricing-cadence\">forever</span>
</div>
<p class=\"pricing-tagline\">Start building your memory. No card required.</p>
<ul class=\"pricing-features\">
<li><span class=\"dash\">-</span><span>Persistent memory - never resets</span></li>
<li><span class=\"dash\">-</span><span>Neuron inference - metered, priced below OpenAI and Anthropic</span></li>
<li><span class=\"dash\">-</span><span>Local inference via Ollama</span></li>
<li style=\"list-style:none\"><span style=\"font-family:var(--body);font-size:0.8rem;font-weight:300;color:var(--t3);font-style:italic;line-height:1.6\">Local models may give lower quality responses. Neuron inference is cheap - give it a try.</span></li>
<li><span class=\"dash\">-</span><span>Bring your own API keys (optional)</span></li>
<li><span class=\"dash\">-</span><span>Unlimited projects</span></li>
<li><span class=\"dash\">-</span><span>3 marketplace plugins included</span></li>
<li><span class=\"dash\">-</span><span>Core built-in capabilities</span></li>
</ul>
<div style=\"flex:1\"></div>
<div class=\"pricing-cta pricing-cta-ghost\">
<a href=\"https://github.com/neuron-technologies/neuron\">Download free &#8594;</a>
</div>
</div>
<div class=\"pricing-card card-dark reveal\" style=\"transition-delay:150ms\">
<p class=\"pricing-tier\">Professional</p>
<div class=\"pricing-price-row\">
<span class=\"pricing-price\">$19</span>
<span class=\"pricing-cadence\">/ month</span>
</div>
<p class=\"pricing-tagline\">Full access. Neuron inference - cheaper than what you&#39;re paying now.</p>
<ul class=\"pricing-features\">
<li><span class=\"dash\">-</span><span>Neuron inference - metered, below OpenAI and Anthropic rates</span></li>
<li><span class=\"dash\">-</span><span>ChatGPT Plus is $20/mo and forgets you every session. Neuron remembers everything and costs less per token.</span></li>
<li><span class=\"dash\">-</span><span>Everything in Free</span></li>
<li><span class=\"dash\">-</span><span>Unlimited projects</span></li>
<li><span class=\"dash\">-</span><span>Full plugin marketplace</span></li>
<li><span class=\"dash\">-</span><span>Advanced integrations - IDE, Slack, and more</span></li>
<li><span class=\"dash\">-</span><span>Early access to new features</span></li>
</ul>
<div style=\"flex:1\"></div>
<div class=\"pricing-cta pricing-cta-navy\">
<button class=\"pricing-cta-navy\" data-checkout=\"professional\">Get Started &#8594;</button>
</div>
</div>
<div class=\"pricing-card featured reveal\" style=\"transition-delay:300ms\">
<p class=\"pricing-tier\">Founding Member</p>
<div class=\"pricing-price-row\">
<span class=\"pricing-price\">$199</span>
<span class=\"pricing-cadence\">lifetime</span>
</div>
<p class=\"pricing-tagline\">Pay once. Neuron inference forever. No subscription, ever.</p>
" + spots_html + "
<ul class=\"pricing-features\">
<li><span class=\"dash\">-</span><span>Neuron inference - priced below competitors, forever, as it improves</span></li>
<li><span class=\"dash\">-</span><span>Everything in Professional - forever</span></li>
<li><span class=\"dash\">-</span><span>Never pay again - lifetime updates included</span></li>
<li><span class=\"dash\">-</span><span>Founding member badge in the app</span></li>
<li><span class=\"dash\">-</span><span>Private community - direct line to the team</span></li>
<li><span class=\"dash\">-</span><span>Shape the roadmap - your votes carry more weight</span></li>
<li><span class=\"dash\">-</span><span>Beta features before general release</span></li>
<li><span class=\"dash\">-</span><span>Name in the credits</span></li>
</ul>
<div style=\"flex:1\"></div>
<div class=\"pricing-cta pricing-cta-solid\">
<button class=\"pricing-cta-solid\" data-checkout=\"founding\">Claim your spot &#8594;</button>
</div>
</div>
</div>
<div class=\"founding-banner reveal\">
<div>
<p class=\"founding-banner-label\">Founding Member Spots</p>
<div style=\"display:flex;align-items:baseline;gap:.5rem;margin:.25rem 0\">
<span class=\"founding-banner-count\">" + remaining_str + "</span>
<span class=\"founding-banner-sub\">remaining of <span>" + total_str + "</span></span>
</div>
<div class=\"founding-banner-bar\"><div class=\"founding-banner-fill\" style=\"width:" + pct_str + "%\"></div></div>
</div>
<button class=\"btn-primary\" data-checkout=\"founding\" style=\"white-space:nowrap\">Claim spot &#8594;</button>
</div>
<p class=\"pricing-fine reveal\" style=\"margin-top:2.5rem\">
Neuron inference on all plans &nbsp;&middot;&nbsp; Bring your own keys if you want &nbsp;&middot;&nbsp; Your data stays yours &nbsp;&middot;&nbsp; Same support for every user
</p>
<div class=\"reveal\" style=\"margin-top:3rem;padding:1.5rem 2rem;border:1px solid rgba(0,82,160,.18);border-radius:8px;background:rgba(0,82,160,.03);\">
<p class=\"label\" style=\"margin-bottom:.75rem;font-size:.65rem\">For families</p>
<p style=\"font-family:var(--body);font-weight:300;font-size:.9rem;color:var(--t2);line-height:1.8;\">
<strong style=\"color:var(--t1);font-weight:500\">Minors require a parent account.</strong>
Children and teens can&#39;t create accounts on their own - a parent or guardian creates the family account, configures access, and remains in the loop. The minor&#39;s experience is fully private from everyone except the trusted adult who set it up.
</p>
</div>
</div>
</section>
"
}
// === 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 "
<section id=\"share\" aria-label=\"Share Neuron\">
<div class=\"container\">
<div class=\"navy-line\" style=\"margin-bottom:5rem\"></div>
<div class=\"share-label-row reveal\">
<div class=\"navy-line-left\" style=\"width:4rem;flex-shrink:0\"></div>
<span class=\"label\">Share</span>
</div>
<h2 class=\"display-lg share-headline reveal\" style=\"transition-delay:80ms\">Share this with someone who&#39;d get it.</h2>
<div class=\"share-grid\">
<div style=\"display:flex;flex-direction:column;gap:1.5rem\">
<div class=\"share-card card-dark reveal\">
<p class=\"share-card-label\">Your referral link</p>
<p class=\"share-card-body\">Earn 3 months free when a friend signs up using your link. Your unique referral code lives in your account.</p>
<a href=\"https://neurontechnologies.ai/account\" class=\"btn-primary\" style=\"padding:.75rem 1.25rem\">Get your referral link &#8594;</a>
</div>
<div class=\"share-card card-dark reveal\" style=\"transition-delay:130ms\">
<p class=\"share-card-label\">Invite a friend</p>
<p class=\"share-card-body\">Know someone who&#39;d get it?</p>
<form class=\"invite-form\" action=\"#\" method=\"get\" onsubmit=\"return false\">
<input
type=\"email\"
name=\"email\"
class=\"invite-input\"
placeholder=\"their@email.com\"
required
aria-label=\"Friend&#39;s email address\"
id=\"invite-email-field\"
>
<a
href=\"mailto:?subject=You%20should%20try%20this%20AI&amp;body=I%27ve%20been%20using%20an%20AI%20that%20actually%20remembers%20me%20%E2%80%94%20not%20just%20the%20session%2C%20but%20me.%20It%20builds%20a%20memory%20graph%20over%20time%20and%20compounds%20with%20you%20the%20longer%20you%20use%20it.%0A%0ACheck%20it%20out%3A%20https%3A%2F%2Fneurontechnologies.ai\"
class=\"invite-submit\"
style=\"display:inline-flex;align-items:center;justify-content:center;padding:0.75rem 1.25rem;text-decoration:none;\"
>Send invite</a>
</form>
<p class=\"invite-note\">Opens your email client with a pre-written message</p>
</div>
</div>
<div class=\"share-card card-dark reveal\" style=\"transition-delay:260ms;display:flex;flex-direction:column\">
<p class=\"share-card-label\">Ready to share</p>
<p class=\"share-card-body\">Copy and paste, or share directly.</p>
<div style=\"flex:1\">
<div class=\"hook-item\">
<p class=\"hook-text\">Every AI I&#39;d used forgot me the moment I closed the tab. This one doesn&#39;t. It compounds. neurontechnologies.ai</p>
<div class=\"hook-actions\">
<a class=\"hook-btn\" href=\"https://twitter.com/intent/tweet?text=Every%20AI%20I%27d%20used%20forgot%20me%20the%20moment%20I%20closed%20the%20tab.%20This%20one%20doesn%27t.%20It%20compounds.%20neurontechnologies.ai\" target=\"_blank\" rel=\"noopener\">X</a>
</div>
</div>
<div class=\"hook-item\">
<p class=\"hook-text\">One person built this in 72 hours after a Big Tech meeting went sideways. The AI that remembers you. neurontechnologies.ai</p>
<div class=\"hook-actions\">
<a class=\"hook-btn\" href=\"https://twitter.com/intent/tweet?text=One%20person%20built%20this%20in%2072%20hours%20after%20a%20Big%20Tech%20meeting%20went%20sideways.%20The%20AI%20that%20remembers%20you.%20neurontechnologies.ai\" target=\"_blank\" rel=\"noopener\">X</a>
</div>
</div>
<div class=\"hook-item\">
<p class=\"hook-text\">Your AI runs on your machine, knows your full history, and gets sharper the longer you use it. No cloud. neurontechnologies.ai</p>
<div class=\"hook-actions\">
<a class=\"hook-btn\" href=\"https://twitter.com/intent/tweet?text=Your%20AI%20runs%20on%20your%20machine%2C%20knows%20your%20full%20history%2C%20and%20gets%20sharper%20the%20longer%20you%20use%20it.%20No%20cloud.%20neurontechnologies.ai\" target=\"_blank\" rel=\"noopener\">X</a>
</div>
</div>
</div>
<a href=\"https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fneurontechnologies.ai\"
target=\"_blank\" rel=\"noopener\"
class=\"linkedin-share-btn\">
<svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"currentColor\" aria-hidden=\"true\"><path d=\"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 01-2.063-2.065 2.064 2.064 0 112.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z\"/></svg>
Share on LinkedIn
</a>
</div>
</div>
</div>
<div class=\"container\" style=\"margin-top:5rem\"><div class=\"navy-line\"></div></div>
</section>
"
}
// === footer.el ===
// components/footer.el - Site footer.
fn footer() -> String {
return "
<footer id=\"footer\" aria-label=\"Footer\">
<div class=\"container\">
<div class=\"footer-inner\">
<a href=\"/\" class=\"footer-brand\" aria-label=\"Neuron home\" style=\"display:flex;flex-direction:column;align-items:center;\">
<img src=\"/assets/brand/neuron-wordmark-on-light.png\" srcset=\"/assets/brand/neuron-wordmark-on-light@2x.png 2x\" alt=\"Neuron\" height=\"24\" style=\"display:block;margin-bottom:0.35rem;\">
<p class=\"footer-brand-tagline\">Built Different.</p>
</a>
<div class=\"footer-center\">
<div class=\"navy-line\"></div>
</div>
<div class=\"footer-right\">
<p class=\"footer-domain\">neurontechnologies.ai</p>
<nav class=\"footer-nav\" aria-label=\"Footer navigation\">
<a href=\"/legal/terms\">Terms</a>
<a href=\"/legal/enterprise-terms\">Enterprise Agreement</a>
<a href=\"mailto:legal@neurontechnologies.ai\">Contact</a>
</nav>
</div>
</div>
<div class=\"footer-bottom\">
<p class=\"footer-copy\">&copy; 2026 Neuron Technologies. All rights reserved.</p>
<p class=\"footer-tagline-bottom\">Your memory. Your AI.</p>
</div>
</div>
</footer>
"
}
// === 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() + "
<main id=\"about\" style=\"padding: clamp(7rem, 18vh, 11rem) 2.5rem clamp(5rem, 12vh, 8rem);\">
<div style=\"max-width: 700px; margin: 0 auto;\">
<p class=\"label animate-up-1\" style=\"margin-bottom: 2rem;\">About</p>
<h1 class=\"display-lg animate-up-2\" style=\"margin-bottom: 2.5rem; max-width: 22rem;\">
Hi. I&#39;m Will.
</h1>
<div class=\"navy-line-left animate-up-3\" style=\"width: 4rem; margin-bottom: 3rem;\"></div>
<!-- Photo + opening -->
<div class=\"reveal\" style=\"display: flex; align-items: flex-start; gap: 2.5rem; margin-bottom: 3rem; flex-wrap: wrap;\">
<img src=\"/assets/will.png\" alt=\"Will Anderson\" style=\"width: 160px; height: 160px; border-radius: 50%; object-fit: cover; flex-shrink: 0;\">
<div style=\"flex: 1; min-width: 260px;\">
<p style=\"font-family: var(--body); font-weight: 300; font-size: clamp(0.9rem, 1.5vw, 1.0625rem); color: var(--t2); line-height: 1.9; margin-bottom: 1.5rem;\">
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&#39;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.
</p>
</div>
</div>
<!-- Career -->
<div class=\"reveal\" style=\"margin-bottom: 3rem;\">
<p style=\"font-family: var(--body); font-weight: 300; font-size: clamp(0.9rem, 1.5vw, 1.0625rem); color: var(--t2); line-height: 1.9; margin-bottom: 1.5rem;\">
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&#246;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.
</p>
</div>
<!-- Blockquote -->
<blockquote class=\"reveal\" style=\"
border-left: 3px solid var(--navy);
padding: 0.5rem 0 0.5rem 2rem;
margin: 0 0 3rem;
\">
<p style=\"
font-family: var(--head);
font-size: clamp(1.4rem, 3vw, 2rem);
font-weight: 500;
font-style: italic;
color: var(--t1);
line-height: 1.35;
letter-spacing: -0.01em;
\">
Software shouldn&#39;t be hard. The complexity should live in the problem domain - not in the tools and processes we impose on ourselves.
</p>
</blockquote>
<!-- What I saw -->
<div class=\"reveal\" style=\"margin-bottom: 3rem;\">
<p class=\"label\" style=\"margin-bottom: 1.25rem;\">What I saw</p>
<p style=\"font-family: var(--body); font-weight: 300; font-size: clamp(0.9rem, 1.5vw, 1.0625rem); color: var(--t2); line-height: 1.9; margin-bottom: 1.5rem;\">
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&#39;s needs, not the person&#39;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&#39;t register as a choice anymore. It&#39;s treated as the natural condition of the technology.
</p>
<p style=\"font-family: var(--body); font-weight: 300; font-size: clamp(0.9rem, 1.5vw, 1.0625rem); color: var(--t2); line-height: 1.9;\">
It is not. It is a design decision. And it is the wrong one.
</p>
</div>
<div class=\"navy-line-center reveal\" style=\"margin-bottom: 3rem;\"></div>
<!-- What I built -->
<div class=\"reveal\" style=\"margin-bottom: 3rem;\">
<p class=\"label\" style=\"margin-bottom: 1.25rem;\">What I built</p>
<p style=\"font-family: var(--body); font-weight: 300; font-size: clamp(0.9rem, 1.5vw, 1.0625rem); color: var(--t2); line-height: 1.9; margin-bottom: 1.5rem;\">
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&#39;t sufficient for what I was trying to build and so I built those too.
</p>
<p style=\"font-family: var(--body); font-weight: 300; font-size: clamp(0.9rem, 1.5vw, 1.0625rem); color: var(--t2); line-height: 1.9;\">
Use it long enough and you&#39;ll understand why I couldn&#39;t have gotten there on top of existing infrastructure. Some things have to be built from the ground up to be built right.
</p>
</div>
<!-- What I believe -->
<div class=\"reveal\" style=\"margin-bottom: 3.5rem;\">
<p class=\"label\" style=\"margin-bottom: 1.25rem;\">What I believe</p>
<p style=\"font-family: var(--body); font-weight: 300; font-size: clamp(0.9rem, 1.5vw, 1.0625rem); color: var(--t2); line-height: 1.9; margin-bottom: 1.5rem;\">
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&#39;t capable, but because the incentives that shaped it were never oriented toward the person.
</p>
<p style=\"
font-family: var(--head);
font-size: clamp(1.2rem, 2.5vw, 1.625rem);
font-weight: 600;
color: var(--t1);
line-height: 1.35;
letter-spacing: -0.01em;
margin-bottom: 1.5rem;
\">
Build AI that earns the trust it&#39;s given.
</p>
<p style=\"font-family: var(--body); font-weight: 300; font-size: clamp(0.9rem, 1.5vw, 1.0625rem); color: var(--t2); line-height: 1.9;\">
I don&#39;t know if Neuron will work at the scale I&#39;m imagining. But I know it&#39;s worth finding out, and I know I&#39;m not going back to the other way of building things.
</p>
</div>
<div class=\"navy-line-center reveal\" style=\"margin-bottom: 3rem;\"></div>
<!-- CTA -->
<div class=\"reveal\">
<p style=\"font-family: var(--body); font-weight: 300; font-size: clamp(0.9rem, 1.5vw, 1.0625rem); color: var(--t2); line-height: 1.9; margin-bottom: 1.5rem;\">
Neuron opens to founding members on May 1st. 1,000 spots. That&#39;s how it starts.
</p>
<a href=\"/#pricing\" class=\"btn-primary\">
Join as a founding member &#8594;
</a>
</div>
</div>
</main>
<footer id=\"footer\" aria-label=\"Footer\">
<div class=\"container\">
<div class=\"footer-inner\">
<a href=\"/\" class=\"footer-brand\" aria-label=\"Neuron home\" style=\"display:flex;flex-direction:column;align-items:center;\">
<img src=\"/assets/brand/neuron-wordmark-on-light.png\" srcset=\"/assets/brand/neuron-wordmark-on-light@2x.png 2x\" alt=\"Neuron\" height=\"24\" style=\"display:block;margin-bottom:0.35rem;\">
<p class=\"footer-brand-tagline\">Built Different.</p>
</a>
<div class=\"footer-center\">
<div class=\"navy-line\"></div>
</div>
<div class=\"footer-right\">
<p class=\"footer-domain\">neurontechnologies.ai</p>
<nav class=\"footer-nav\" aria-label=\"Footer navigation\">
<a href=\"/legal/terms\">Terms</a>
<a href=\"/legal/enterprise-terms\">Enterprise Agreement</a>
<a href=\"mailto:legal@neurontechnologies.ai\">Contact</a>
</nav>
</div>
</div>
<div class=\"footer-bottom\">
<p class=\"footer-copy\">&copy; 2026 Neuron Technologies. All rights reserved.</p>
<p class=\"footer-tagline-bottom\">Your memory. Your AI.</p>
</div>
</div>
</footer>
"
}
// === 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 "
<div style=\"max-width:720px;margin:0 auto;padding:6rem 2.5rem 8rem\">
<div style=\"margin-bottom:3rem\">
<a href=\"/\" style=\"font-family:var(--body);font-size:0.75rem;font-weight:500;letter-spacing:0.15em;text-transform:uppercase;color:var(--navy);text-decoration:none\">&#8592; Neuron</a>
</div>
<div style=\"margin-bottom:4rem;border-bottom:1px solid var(--border);padding-bottom:3rem\">
<p class=\"label\" style=\"margin-bottom:1rem\">Legal</p>
<h1 style=\"font-family:var(--head);font-size:clamp(2rem,4vw,3rem);font-weight:600;color:var(--t1);margin-bottom:0.75rem;line-height:1.1\">Terms of Service</h1>
<p style=\"font-family:var(--body);font-size:0.875rem;color:var(--t3)\">Effective May 1, 2026 &nbsp;&middot;&nbsp; Neuron, LLC</p>
</div>
<div style=\"margin-bottom:3rem\">
<div style=\"display:flex;align-items:baseline;gap:1rem;margin-bottom:1.25rem;border-bottom:1px solid var(--border);padding-bottom:0.75rem\">
<span style=\"font-family:var(--body);font-size:0.75rem;font-weight:600;letter-spacing:0.15em;text-transform:uppercase;color:var(--navy-65)\">&#167; 1</span>
<h2 style=\"font-family:var(--head);font-size:1.25rem;font-weight:600;color:var(--t1)\">Using Neuron</h2>
</div>
<p style=\"font-family:var(--body);font-weight:300;font-size:0.9375rem;color:var(--t2);line-height:1.8;margin-bottom:1rem\">Using Neuron means you&#39;ve read these terms and agree to them. That&#39;s it. No buried consent, no dark patterns. If something here doesn&#39;t sit right with you, email us before using the product - we&#39;ll talk through it.</p>
<p style=\"font-family:var(--body);font-weight:300;font-size:0.9375rem;color:var(--t2);line-height:1.8\">These terms cover every version of Neuron: free, Professional, and Founding Member. Enterprise use has its own agreement. If you&#39;re deploying Neuron for an organization, that&#39;s the one you want.</p>
</div>
<div style=\"margin-bottom:3rem\">
<div style=\"display:flex;align-items:baseline;gap:1rem;margin-bottom:1.25rem;border-bottom:1px solid var(--border);padding-bottom:0.75rem\">
<span style=\"font-family:var(--body);font-size:0.75rem;font-weight:600;letter-spacing:0.15em;text-transform:uppercase;color:var(--navy-65)\">&#167; 2</span>
<h2 style=\"font-family:var(--head);font-size:1.25rem;font-weight:600;color:var(--t1)\">What You Can Do With It</h2>
</div>
<p style=\"font-family:var(--body);font-weight:300;font-size:0.9375rem;color:var(--t2);line-height:1.8;margin-bottom:1rem\">You can install and use Neuron on devices you own or control. That&#39;s the license. Personal, non-transferable.</p>
<p style=\"font-family:var(--body);font-weight:300;font-size:0.9375rem;color:var(--t2);line-height:1.8;margin-bottom:1rem\">The free tier doesn&#39;t expire. Paid licenses are what they say they are. Founding Member licenses are perpetual - you bought it, you own it. I won&#39;t change that.</p>
<p style=\"font-family:var(--body);font-weight:300;font-size:0.9375rem;color:var(--t2);line-height:1.8\">You can&#39;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.</p>
</div>
<div style=\"margin-bottom:3rem\">
<div style=\"display:flex;align-items:baseline;gap:1rem;margin-bottom:1.25rem;border-bottom:1px solid var(--border);padding-bottom:0.75rem\">
<span style=\"font-family:var(--body);font-size:0.75rem;font-weight:600;letter-spacing:0.15em;text-transform:uppercase;color:var(--navy-65)\">&#167; 3</span>
<h2 style=\"font-family:var(--head);font-size:1.25rem;font-weight:600;color:var(--t1)\">Your Data</h2>
</div>
<p style=\"font-family:var(--body);font-weight:300;font-size:0.9375rem;color:var(--t2);line-height:1.8;margin-bottom:1rem\">Your memory graph, your conversations, your context - all of it lives on your device. I don&#39;t have access to it. I don&#39;t collect it. It doesn&#39;t move in the course of normal use.</p>
<p style=\"font-family:var(--body);font-weight:300;font-size:0.9375rem;color:var(--t2);line-height:1.8;margin-bottom:1rem\">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&#39;ve chosen. I don&#39;t sell that data. I don&#39;t use it for anything except running the feature you asked for. Turning on a network feature is your consent to that.</p>
<p style=\"font-family:var(--body);font-weight:300;font-size:0.9375rem;color:var(--t2);line-height:1.8;margin-bottom:1rem\">Network features route data through Neuron&#39;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.</p>
<p style=\"font-family:var(--body);font-weight:300;font-size:0.9375rem;color:var(--t2);line-height:1.8\">Your data is yours. Nothing in these terms gives me any claim to your content, your memory graph, or anything you create using Neuron.</p>
</div>
<div style=\"margin-bottom:3rem\">
<div style=\"display:flex;align-items:baseline;gap:1rem;margin-bottom:1.25rem;border-bottom:1px solid var(--border);padding-bottom:0.75rem\">
<span style=\"font-family:var(--body);font-size:0.75rem;font-weight:600;letter-spacing:0.15em;text-transform:uppercase;color:var(--navy-65)\">&#167; 4</span>
<h2 style=\"font-family:var(--head);font-size:1.25rem;font-weight:600;color:var(--t1)\">Inference</h2>
</div>
<p style=\"font-family:var(--body);font-weight:300;font-size:0.9375rem;color:var(--t2);line-height:1.8;margin-bottom:1rem\">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&#39;t control what they do with it.</p>
<p style=\"font-family:var(--body);font-weight:300;font-size:0.9375rem;color:var(--t2);line-height:1.8\">Neuron Inference - our own inference layer, live now - doesn&#39;t store your requests, doesn&#39;t train on them, doesn&#39;t share them. A separate data addendum covers the details.</p>
</div>
<div style=\"margin-bottom:3rem\">
<div style=\"display:flex;align-items:baseline;gap:1rem;margin-bottom:1.25rem;border-bottom:1px solid var(--border);padding-bottom:0.75rem\">
<span style=\"font-family:var(--body);font-size:0.75rem;font-weight:600;letter-spacing:0.15em;text-transform:uppercase;color:var(--navy-65)\">&#167; 5</span>
<h2 style=\"font-family:var(--head);font-size:1.25rem;font-weight:600;color:var(--t1)\">The Network Layer</h2>
</div>
<p style=\"font-family:var(--body);font-weight:300;font-size:0.9375rem;color:var(--t2);line-height:1.8;margin-bottom:1rem\">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.</p>
<p style=\"font-family:var(--body);font-weight:300;font-size:0.9375rem;color:var(--t2);line-height:1.8;margin-bottom:1rem\">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&#39;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.</p>
<p style=\"font-family:var(--body);font-weight:300;font-size:0.9375rem;color:var(--t2);line-height:1.8;margin-bottom:1rem\">When you enable network features, your interactions may be processed by or through Neuron&#39;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, <span style=\"font-weight:500;color:var(--t1)\">Neuron Technologies is not liable for any content, output, or consequence arising from data processed within the network layer</span>, including outputs produced during AI development or content you introduce that is processed by the network.</p>
<p style=\"font-family:var(--body);font-weight:300;font-size:0.9375rem;color:var(--t2);line-height:1.8;margin-bottom:1rem\">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.</p>
<p style=\"font-family:var(--body);font-weight:300;font-size:0.9375rem;color:var(--t2);line-height:1.8\">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.</p>
</div>
<div style=\"margin-bottom:3rem\">
<div style=\"display:flex;align-items:baseline;gap:1rem;margin-bottom:1.25rem;border-bottom:1px solid var(--border);padding-bottom:0.75rem\">
<span style=\"font-family:var(--body);font-size:0.75rem;font-weight:600;letter-spacing:0.15em;text-transform:uppercase;color:var(--navy-65)\">&#167; 6</span>
<h2 style=\"font-family:var(--head);font-size:1.25rem;font-weight:600;color:var(--t1)\">What You Can&#39;t Do</h2>
</div>
<p style=\"font-family:var(--body);font-weight:300;font-size:0.9375rem;color:var(--t2);line-height:1.8;margin-bottom:1rem\">Don&#39;t use Neuron to generate content designed to harm people, defraud anyone, or break the law.</p>
<p style=\"font-family:var(--body);font-weight:300;font-size:0.9375rem;color:var(--t2);line-height:1.8;margin-bottom:1rem\">Don&#39;t try to reverse-engineer the licensing or security mechanisms.</p>
<p style=\"font-family:var(--body);font-weight:300;font-size:0.9375rem;color:var(--t2);line-height:1.8;margin-bottom:1rem\">Don&#39;t extract or resell proprietary components.</p>
<p style=\"font-family:var(--body);font-weight:300;font-size:0.9375rem;color:var(--t2);line-height:1.8\">If you violate these and you&#39;re using cloud services, I can suspend access to those services. I can&#39;t touch the local software - once it&#39;s on your machine, it&#39;s yours to run. But I can close the door on the network.</p>
</div>
<div style=\"margin-bottom:3rem\">
<div style=\"display:flex;align-items:baseline;gap:1rem;margin-bottom:1.25rem;border-bottom:1px solid var(--border);padding-bottom:0.75rem\">
<span style=\"font-family:var(--body);font-size:0.75rem;font-weight:600;letter-spacing:0.15em;text-transform:uppercase;color:var(--navy-65)\">&#167; 7</span>
<h2 style=\"font-family:var(--head);font-size:1.25rem;font-weight:600;color:var(--t1)\">Ownership</h2>
</div>
<p style=\"font-family:var(--body);font-weight:300;font-size:0.9375rem;color:var(--t2);line-height:1.8;margin-bottom:1rem\">Neuron and everything in it is my intellectual property. Six patents and counting. These terms don&#39;t transfer any of that to you.</p>
<p style=\"font-family:var(--body);font-weight:300;font-size:0.9375rem;color:var(--t2);line-height:1.8\">Everything you create using Neuron - outputs, memory nodes, artifacts - is yours. I make no claim to it. Not now, not ever.</p>
</div>
<div style=\"margin-bottom:3rem\">
<div style=\"display:flex;align-items:baseline;gap:1rem;margin-bottom:1.25rem;border-bottom:1px solid var(--border);padding-bottom:0.75rem\">
<span style=\"font-family:var(--body);font-size:0.75rem;font-weight:600;letter-spacing:0.15em;text-transform:uppercase;color:var(--navy-65)\">&#167; 8</span>
<h2 style=\"font-family:var(--head);font-size:1.25rem;font-weight:600;color:var(--t1)\">No Warranty</h2>
</div>
<p style=\"font-family:var(--body);font-size:0.875rem;font-weight:600;color:var(--t1);line-height:1.7;margin-bottom:1rem\">THE SOFTWARE IS PROVIDED &#34;AS IS.&#34; NEURON, LLC MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT.</p>
<p style=\"font-family:var(--body);font-weight:300;font-size:0.9375rem;color:var(--t2);line-height:1.8\">Software has bugs. Security has limits. Use your judgment. You use Neuron at your own risk.</p>
</div>
<div style=\"margin-bottom:3rem\">
<div style=\"display:flex;align-items:baseline;gap:1rem;margin-bottom:1.25rem;border-bottom:1px solid var(--border);padding-bottom:0.75rem\">
<span style=\"font-family:var(--body);font-size:0.75rem;font-weight:600;letter-spacing:0.15em;text-transform:uppercase;color:var(--navy-65)\">&#167; 9</span>
<h2 style=\"font-family:var(--head);font-size:1.25rem;font-weight:600;color:var(--t1)\">Liability Cap</h2>
</div>
<p style=\"font-family:var(--body);font-size:0.875rem;font-weight:600;color:var(--t1);line-height:1.7;margin-bottom:1rem\">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.</p>
<p style=\"font-family:var(--body);font-weight:300;font-size:0.9375rem;color:var(--t2);line-height:1.8\">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&#39;s the cap.</p>
</div>
<div style=\"margin-bottom:3rem\">
<div style=\"display:flex;align-items:baseline;gap:1rem;margin-bottom:1.25rem;border-bottom:1px solid var(--border);padding-bottom:0.75rem\">
<span style=\"font-family:var(--body);font-size:0.75rem;font-weight:600;letter-spacing:0.15em;text-transform:uppercase;color:var(--navy-65)\">&#167; 10</span>
<h2 style=\"font-family:var(--head);font-size:1.25rem;font-weight:600;color:var(--t1)\">Changes</h2>
</div>
<p style=\"font-family:var(--body);font-weight:300;font-size:0.9375rem;color:var(--t2);line-height:1.8;margin-bottom:1rem\">I&#39;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.</p>
<p style=\"font-family:var(--body);font-weight:300;font-size:0.9375rem;color:var(--t2);line-height:1.8\">Founding Member licenses are locked. I won&#39;t retroactively change what you signed up for.</p>
</div>
<div style=\"margin-bottom:3rem\">
<div style=\"display:flex;align-items:baseline;gap:1rem;margin-bottom:1.25rem;border-bottom:1px solid var(--border);padding-bottom:0.75rem\">
<span style=\"font-family:var(--body);font-size:0.75rem;font-weight:600;letter-spacing:0.15em;text-transform:uppercase;color:var(--navy-65)\">&#167; 11</span>
<h2 style=\"font-family:var(--head);font-size:1.25rem;font-weight:600;color:var(--t1)\">Children and Family Accounts</h2>
</div>
<p style=\"font-family:var(--body);font-weight:300;font-size:0.9375rem;color:var(--t2);line-height:1.8;margin-bottom:1rem\">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&#39;s use and accepts these terms on the child&#39;s behalf.</p>
<p style=\"font-family:var(--body);font-weight:300;font-size:0.9375rem;color:var(--t2);line-height:1.8;margin-bottom:1rem\">When a child&#39;s Neuron instance is part of a family account, certain information - including usage activity and relevant context - may be shared from the child&#39;s local instance to the parent&#39;s local instance. This sharing happens device-to-device. It does not pass through or get stored on Neuron&#39;s servers. The parent&#39;s instance receives it; we never see it.</p>
<p style=\"font-family:var(--body);font-weight:300;font-size:0.9375rem;color:var(--t2);line-height:1.8\">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.</p>
</div>
<div style=\"margin-bottom:3rem\">
<div style=\"display:flex;align-items:baseline;gap:1rem;margin-bottom:1.25rem;border-bottom:1px solid var(--border);padding-bottom:0.75rem\">
<span style=\"font-family:var(--body);font-size:0.75rem;font-weight:600;letter-spacing:0.15em;text-transform:uppercase;color:var(--navy-65)\">&#167; 12</span>
<h2 style=\"font-family:var(--head);font-size:1.25rem;font-weight:600;color:var(--t1)\">Governing Law</h2>
</div>
<p style=\"font-family:var(--body);font-weight:300;font-size:0.9375rem;color:var(--t2);line-height:1.8\">These terms are governed by the laws of Delaware. Disputes go to the courts of Delaware.</p>
</div>
<div style=\"margin-top:4rem;padding-top:2rem;border-top:1px solid var(--border);display:flex;gap:2rem;flex-wrap:wrap\">
<a href=\"/\" style=\"font-family:var(--body);font-size:0.8125rem;color:var(--navy);text-decoration:none\">&larr; Home</a>
<a href=\"/legal/enterprise-terms\" style=\"font-family:var(--body);font-size:0.8125rem;color:var(--navy);text-decoration:none\">Enterprise Agreement &rarr;</a>
</div>
</div>
"
}
// === 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 "
<div style=\"margin-bottom:3rem\">
<div style=\"display:flex;align-items:baseline;gap:1rem;margin-bottom:1.25rem;border-bottom:1px solid var(--border);padding-bottom:0.75rem\">
<span style=\"font-family:var(--body);font-size:0.75rem;font-weight:600;letter-spacing:0.15em;text-transform:uppercase;color:var(--navy-65)\">&#167; " + num + "</span>
<h2 style=\"font-family:var(--head);font-size:1.25rem;font-weight:600;color:var(--t1)\">" + title + "</h2>
</div>
" + body + "
</div>"
}
fn p(text: String) -> String {
return "<p style=\"font-family:var(--body);font-weight:300;font-size:0.9375rem;color:var(--t2);line-height:1.8;margin-bottom:1rem\">" + text + "</p>"
}
fn p_last(text: String) -> String {
return "<p style=\"font-family:var(--body);font-weight:300;font-size:0.9375rem;color:var(--t2);line-height:1.8\">" + text + "</p>"
}
fn p_caps(text: String) -> String {
return "<p style=\"font-family:var(--body);font-size:0.875rem;font-weight:600;color:var(--t1);line-height:1.7;margin-bottom:1rem\">" + text + "</p>"
}
fn enterprise_terms_body() -> String {
return nav() + "
<div style=\"max-width:720px;margin:0 auto;padding:6rem 2.5rem 8rem\">
<div style=\"margin-bottom:3rem\">
<a href=\"/\" style=\"font-family:var(--body);font-size:0.75rem;font-weight:500;letter-spacing:0.15em;text-transform:uppercase;color:var(--navy);text-decoration:none\">&#8592; Neuron</a>
</div>
<div style=\"margin-bottom:4rem;border-bottom:1px solid var(--border);padding-bottom:3rem\">
<p class=\"label\" style=\"margin-bottom:1rem\">Legal</p>
<h1 style=\"font-family:var(--head);font-size:clamp(2rem,4vw,3rem);font-weight:600;color:var(--t1);margin-bottom:0.75rem;line-height:1.1\">Enterprise Agreement</h1>
<p style=\"font-family:var(--body);font-size:0.875rem;color:var(--t3)\">Effective May 1, 2026 &nbsp;&middot;&nbsp; Neuron, LLC</p>
</div>
" + section("1", "Parties and Scope",
p("This Enterprise Agreement (&#34;Agreement&#34;) is between Neuron, LLC (&#34;Neuron&#34;) and the organization entering into an enterprise relationship (&#34;Customer&#34;). 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 (&#34;Software&#34;) solely for Customer&#39;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&#39;s infrastructure but may not be transferred or made available to entities other than Customer&#39;s own employees and contractors under appropriate confidentiality obligations.")
) + section("3", "Data and Privacy",
p("Neuron&#39;s architecture is designed to minimize data exposure. In private cloud and air-gapped deployments, no data leaves Customer&#39;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&#39; 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&#39;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&#39;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&#39;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&#39;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&#39;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&#39;s use of the platform is fundamentally misaligned with these principles. Termination under this section is subject to the notice and cure provisions of &#167; 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&#39;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&#39;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&#39;s SLA obligations apply only to software defects in the distributed build, not to Customer&#39;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&#39;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 (&#34;Receiving Party&#34;) agrees to protect the other party&#39;s (&#34;Disclosing Party&#34;) Confidential Information with the same degree of care it uses to protect its own confidential information, but no less than reasonable care. &#34;Confidential Information&#34; 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&#39;s data, including inputs, memory graphs, and outputs generated through Customer&#39;s use of the platform. Neuron does not claim ownership of Customer&#39;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&#39;s trademarks, trade names, or logos except as expressly authorized in writing. Neuron Aligned Partner certification (&#167; 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&#39;s modification of the Software; (b) Customer&#39;s combination of the Software with third-party products or data not provided by Neuron; or (c) Customer&#39;s use of the Software in violation of this Agreement.")
+ p_last("Customer will defend Neuron against third-party claims arising from Customer&#39;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&#39; written notice if the breach remains uncured at the end of that period. Neuron may terminate immediately upon written notice if Customer breaches &#167; 2 (unauthorized use of the Software) or &#167; 7 (confidentiality obligations).")
+ p("Neuron may terminate this Agreement under &#167; 4 (Values Alignment) with 60 days&#39; written notice if Neuron determines in good faith that Customer&#39;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&#39;s Confidential Information upon request; and (d) Neuron will make Customer&#39;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&#39;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&#39;s payment obligations; (b) breaches of &#167; 7 (confidentiality); (c) a party&#39;s indemnification obligations under &#167; 9; or (d) a party&#39;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&#39;s knowledge, the Software does not knowingly infringe any third-party intellectual property rights.")
+ p("Customer&#39;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 &#34;AS IS.&#34; 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.")
) + "
<!-- Neuron Aligned Partner Program - highlighted section -->
<div style=\"margin-bottom:3rem;padding:2rem 2.25rem;border:1.5px solid rgba(0,82,160,.35);background:rgba(0,82,160,.03)\">
<div style=\"display:flex;align-items:baseline;gap:1rem;margin-bottom:1.25rem;border-bottom:1px solid rgba(0,82,160,.20);padding-bottom:0.75rem\">
<span style=\"font-family:var(--body);font-size:0.75rem;font-weight:600;letter-spacing:0.15em;text-transform:uppercase;color:var(--navy-65)\">&#167; 14</span>
<h2 style=\"font-family:var(--head);font-size:1.25rem;font-weight:600;color:var(--t1)\">Neuron Aligned Partner Program</h2>
</div>
<p style=\"font-family:var(--body);font-weight:300;font-size:0.9375rem;color:var(--t2);line-height:1.8;margin-bottom:1rem\">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.</p>
<p style=\"font-family:var(--body);font-weight:300;font-size:0.9375rem;color:var(--t2);line-height:1.8;margin-bottom:1rem\">An organization that chooses to participate executes a Neuron Aligned Partner Addendum (&#34;Partner Addendum&#34;), a separate document supplementing this Agreement. In the Partner Addendum, Customer makes the following certification:</p>
<div style=\"margin:1.5rem 0;padding:1.25rem 1.5rem;border-left:3px solid var(--navy);background:rgba(0,82,160,.04)\">
<p style=\"font-family:var(--body);font-weight:400;font-size:0.9375rem;color:var(--t1);line-height:1.8;font-style:italic\">&#34;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.&#34;</p>
</div>
<p style=\"font-family:var(--body);font-weight:400;font-size:0.9rem;color:var(--t1);line-height:1.6;margin-bottom:0.75rem\">Partners who execute the Partner Addendum receive:</p>
<ul style=\"font-family:var(--body);font-weight:300;font-size:0.9rem;color:var(--t2);line-height:1.8;padding-left:1.25rem;margin-bottom:1.5rem\">
<li style=\"margin-bottom:0.4rem\">Preferential per-seat pricing - specific discount terms are disclosed at the time of certification and reflected in the Order Form</li>
<li style=\"margin-bottom:0.4rem\">Membership in the Neuron Aligned Partner Network, a private community of organizations that have made the same commitment</li>
<li style=\"margin-bottom:0.4rem\">Optional public listing as a Neuron Aligned Partner - a signal to employees and the market that AI is being used to expand human capability, not eliminate it</li>
<li style=\"margin-bottom:0.4rem\">Priority consideration in the enterprise roadmap - Aligned Partners are given more weight in feature prioritization and deployment planning</li>
<li>Direct access to Neuron leadership for roadmap input and partnership discussions</li>
</ul>
<p style=\"font-family:var(--body);font-weight:300;font-size:0.9375rem;color:var(--t2);line-height:1.8;margin-bottom:1rem\">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&#39;s representation. If Neuron determines, based on credible evidence, that a partner&#39;s use of the platform is materially inconsistent with the certification, Neuron may revoke partner status with 30 days&#39; notice and adjust pricing to standard enterprise rates at the next renewal.</p>
<p style=\"font-family:var(--body);font-weight:300;font-size:0.875rem;color:var(--t3);line-height:1.8\">To inquire about the Partner Program, contact enterprise@neurontechnologies.ai with subject line &#34;Aligned Partner.&#34;</p>
</div>
" + 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&#39;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.")
) + "
<div style=\"margin-top:4rem;padding-top:2rem;border-top:1px solid var(--border);display:flex;gap:2rem;flex-wrap:wrap\">
<a href=\"/\" style=\"font-family:var(--body);font-size:0.8125rem;color:var(--navy);text-decoration:none\">&larr; Home</a>
<a href=\"/legal/terms\" style=\"font-family:var(--body);font-size:0.8125rem;color:var(--navy);text-decoration:none\">Consumer Terms &rarr;</a>
</div>
</div>
"
}
// === 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&#39;re paying now."
}
let plan_cadence: String = if is_founding { "one-time" } else { "billed monthly" }
let features_html: String = if is_founding {
"<li>Neuron inference - priced below competitors, forever</li>
<li>Everything in Professional - forever</li>
<li>Never pay again - lifetime updates included</li>
<li>Founding member badge in the app</li>
<li>Private community - direct line to the team</li>
<li>Shape the roadmap - your votes carry more weight</li>
<li>Beta features before general release</li>
<li>Name in the credits</li>"
} else {
"<li>Neuron inference - metered, priced below OpenAI and Anthropic</li>
<li>Persistent memory - never resets</li>
<li>Unlimited projects</li>
<li>Full plugin marketplace</li>
<li>IDE, Slack, and more integrations</li>
<li>Early access to new features</li>"
}
return "
<nav id=\"nav\">
<div class=\"nav-inner\">
<a href=\"/\" class=\"nav-logo\" aria-label=\"Neuron home\"><img src=\"/assets/brand/neuron-wordmark-on-light.png\" srcset=\"/assets/brand/neuron-wordmark-on-light@2x.png 2x\" alt=\"Neuron\" height=\"28\"></a>
<div class=\"nav-links\">
<a href=\"/\" class=\"nav-link\">&#8592; Back</a>
</div>
</div>
</nav>
<main style=\"min-height: 100vh; padding: clamp(6rem, 14vh, 9rem) 2rem 4rem;\">
<div class=\"checkout-shell\">
<!-- Left: order summary -->
<div class=\"checkout-summary\">
<p class=\"label\" style=\"margin-bottom: 1.5rem; color: var(--navy);\">Your order</p>
<div style=\"margin-bottom: 2rem;\">
<p class=\"checkout-plan-name\">" + plan_name + "</p>
<p class=\"checkout-plan-desc\">" + plan_desc + "</p>
<div style=\"display: flex; align-items: baseline; gap: .5rem; margin-top: 1.25rem;\">
<span class=\"checkout-price\">" + plan_price + "</span>
<span class=\"checkout-cadence\">" + plan_cadence + "</span>
</div>
</div>
<div class=\"navy-line-left\" style=\"width: 3rem; margin-bottom: 1.75rem;\"></div>
<ul class=\"checkout-features\">
" + features_html + "
</ul>
<p class=\"checkout-guarantee\">
Your data stays yours. Runs locally. No telemetry.
</p>
</div>
<!-- Right: payment form -->
<div class=\"checkout-form-wrap\">
<p class=\"label\" style=\"margin-bottom: 1.75rem;\">Payment</p>
<form id=\"payment-form\" autocomplete=\"on\">
<div class=\"checkout-field-group\">
<div class=\"checkout-field\">
<label for=\"buyer-name\" class=\"checkout-label\">Full name</label>
<input id=\"buyer-name\" name=\"name\" type=\"text\" autocomplete=\"name\"
class=\"checkout-input\" placeholder=\"Will Anderson\" required>
</div>
<div class=\"checkout-field\">
<label for=\"buyer-email\" class=\"checkout-label\">Email</label>
<input id=\"buyer-email\" name=\"email\" type=\"email\" autocomplete=\"email\"
class=\"checkout-input\" placeholder=\"you@example.com\" required>
</div>
</div>
<div class=\"checkout-payment-element-wrap\">
<div id=\"payment-element\">
<!-- Stripe Payment Element mounts here -->
<div class=\"checkout-element-loading\">Loading payment form&#8230;</div>
</div>
</div>
<div id=\"payment-message\" class=\"checkout-message\" style=\"display:none;\"></div>
<button id=\"submit-btn\" class=\"checkout-submit\" type=\"submit\" disabled>
<span id=\"submit-label\">Complete purchase &#8594;</span>
<span id=\"submit-spinner\" style=\"display:none;\">Processing&#8230;</span>
</button>
<p class=\"checkout-security\">
<svg aria-hidden=\"true\" width=\"12\" height=\"14\" viewBox=\"0 0 12 14\" fill=\"none\">
<path d=\"M6 0L0 2.5V7c0 3.3 2.5 6.3 6 7 3.5-.7 6-3.7 6-7V2.5L6 0z\" fill=\"currentColor\" opacity=\".35\"/>
<path d=\"M4 7l1.5 1.5L8.5 5\" stroke=\"currentColor\" stroke-width=\"1.2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>
</svg>
Secured by Stripe &nbsp;&middot;&nbsp; 256-bit TLS &nbsp;&middot;&nbsp; PCI DSS compliant
</p>
</form>
</div>
</div>
</main>
<!-- Stripe.js -->
<script src=\"https://js.stripe.com/v3/\" async></script>
<style>
.checkout-shell {
max-width: 960px;
margin: 0 auto;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 5rem;
align-items: start;
}
@media (max-width: 720px) {
.checkout-shell { grid-template-columns: 1fr; gap: 3rem; }
}
.checkout-plan-name {
font-family: var(--head);
font-size: clamp(1.5rem, 3vw, 2rem);
font-weight: 600;
color: var(--t1);
letter-spacing: -0.02em;
margin: 0 0 .5rem;
}
.checkout-plan-desc {
font-family: var(--body);
font-weight: 300;
font-size: .9375rem;
color: var(--t2);
line-height: 1.65;
margin: 0;
}
.checkout-price {
font-family: var(--head);
font-size: 2.5rem;
font-weight: 700;
color: var(--t1);
letter-spacing: -0.03em;
line-height: 1;
}
.checkout-cadence {
font-family: var(--body);
font-size: .8125rem;
color: var(--t3);
letter-spacing: .04em;
}
.checkout-features {
list-style: none;
padding: 0;
margin: 0 0 2rem;
display: flex;
flex-direction: column;
gap: .6rem;
}
.checkout-features li {
font-family: var(--body);
font-weight: 300;
font-size: .9rem;
color: var(--t2);
padding-left: 1.1rem;
position: relative;
}
.checkout-features li::before {
content: '';
position: absolute;
left: 0;
color: var(--navy);
opacity: .6;
}
.checkout-guarantee {
font-family: var(--body);
font-weight: 300;
font-size: .8125rem;
color: var(--t3);
line-height: 1.6;
margin: 0;
}
.checkout-field-group {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1rem;
margin-bottom: 1.5rem;
}
@media (max-width: 480px) { .checkout-field-group { grid-template-columns: 1fr; } }
.checkout-field { display: flex; flex-direction: column; gap: .4rem; }
.checkout-label {
font-family: var(--body);
font-size: .75rem;
font-weight: 500;
letter-spacing: .06em;
text-transform: uppercase;
color: var(--t2);
}
.checkout-input {
font-family: var(--body);
font-size: .9375rem;
font-weight: 300;
color: var(--t1);
background: #fff;
border: 1px solid rgba(0,82,160,.22);
padding: .75rem 1rem;
outline: none;
transition: border-color .2s;
border-radius: 0;
-webkit-appearance: none;
appearance: none;
}
.checkout-input::placeholder { color: var(--t3); }
.checkout-input:focus { border-color: rgba(0,82,160,.6); box-shadow: 0 0 0 3px rgba(0,82,160,.08); }
.checkout-payment-element-wrap {
margin-bottom: 1.5rem;
border: 1px solid rgba(0,82,160,.22);
padding: 1.25rem;
background: #fff;
min-height: 80px;
}
.checkout-element-loading {
font-family: var(--body);
font-size: .875rem;
color: var(--t3);
}
.checkout-message {
font-family: var(--body);
font-size: .875rem;
color: #c0392b;
margin-bottom: 1rem;
padding: .75rem 1rem;
background: rgba(192,57,43,.06);
border-left: 2px solid rgba(192,57,43,.4);
}
.checkout-submit {
width: 100%;
padding: 1.05rem 2rem;
background: var(--navy);
color: #fff;
font-family: var(--body);
font-size: .8125rem;
font-weight: 600;
letter-spacing: .12em;
text-transform: uppercase;
border: none;
cursor: pointer;
transition: background .2s, opacity .2s;
margin-bottom: 1.25rem;
}
.checkout-submit:hover:not(:disabled) { background: #0078D4; }
.checkout-submit:disabled { opacity: .5; cursor: not-allowed; }
.checkout-security {
font-family: var(--body);
font-size: .75rem;
color: var(--t3);
display: flex;
align-items: center;
gap: .4rem;
margin: 0;
}
</style>
<script>
(function() {
var PLAN = '" + plan + "';
var STRIPE_PK = '" + pub_key + "';
var stripe, elements;
// Wait for Stripe.js to load
function waitForStripe(cb) {
if (window.Stripe) { cb(); return; }
setTimeout(function() { waitForStripe(cb); }, 50);
}
function showMessage(msg) {
var el = document.getElementById('payment-message');
el.textContent = msg;
el.style.display = 'block';
}
function setLoading(loading) {
var btn = document.getElementById('submit-btn');
var label = document.getElementById('submit-label');
var spinner = document.getElementById('submit-spinner');
btn.disabled = loading;
label.style.display = loading ? 'none' : '';
spinner.style.display = loading ? '' : 'none';
}
// Fetch client secret from our server
fetch('/api/payment-intent', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ plan: PLAN })
})
.then(function(r) { return r.json(); })
.then(function(data) {
if (!data.client_secret) {
showMessage('Unable to initialise payment. Please try again.');
return;
}
waitForStripe(function() {
stripe = Stripe(STRIPE_PK);
elements = stripe.elements({
clientSecret: data.client_secret,
appearance: {
theme: 'flat',
variables: {
colorPrimary: '#0052A0',
colorBackground: '#ffffff',
colorText: '#1A1A2E',
colorDanger: '#c0392b',
colorTextPlaceholder:'#9B9BAD',
borderRadius: '0px',
fontFamily: 'system-ui, -apple-system, sans-serif',
fontSizeBase: '15px',
fontWeightNormal: '300',
spacingUnit: '4px',
},
rules: {
'.Input': {
border: '1px solid rgba(0,82,160,.22)',
boxShadow: 'none',
padding: '10px 14px',
},
'.Input:focus': {
border: '1px solid rgba(0,82,160,.6)',
boxShadow: '0 0 0 3px rgba(0,82,160,.08)',
outline: 'none',
},
'.Label': {
fontSize: '11px',
fontWeight: '500',
letterSpacing: '.06em',
textTransform: 'uppercase',
color: '#6B6B7E',
marginBottom: '6px',
},
'.Tab': {
border: '1px solid rgba(0,82,160,.18)',
boxShadow: 'none',
},
'.Tab--selected': {
border: '1px solid rgba(0,82,160,.5)',
boxShadow: '0 0 0 2px rgba(0,82,160,.12)',
},
'.Error': { color: '#c0392b' },
}
}
});
var paymentEl = elements.create('payment', {
fields: { billingDetails: { name: 'never', email: 'never' } }
});
paymentEl.mount('#payment-element');
paymentEl.on('ready', function() {
document.querySelector('.checkout-element-loading') &&
document.querySelector('.checkout-element-loading').remove();
document.getElementById('submit-btn').disabled = false;
});
});
})
.catch(function() {
showMessage('Unable to connect. Please check your connection and try again.');
});
// Submit
document.getElementById('payment-form').addEventListener('submit', async function(e) {
e.preventDefault();
if (!stripe || !elements) return;
var name = document.getElementById('buyer-name').value.trim();
var email = document.getElementById('buyer-email').value.trim();
if (!name || !email) {
showMessage('Please enter your name and email.');
return;
}
setLoading(true);
document.getElementById('payment-message').style.display = 'none';
var result = await stripe.confirmPayment({
elements: elements,
confirmParams: {
return_url: window.location.origin + '/marketplace/success',
payment_method_data: {
billing_details: { name: name, email: email }
},
receipt_email: email,
}
});
if (result.error) {
showMessage(result.error.message || 'Payment failed. Please try again.');
setLoading(false);
}
// On success, Stripe redirects to return_url automatically.
});
})();
</script>
"
}
// === 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 "
<section id=\"safety\" aria-label=\"Safety\" style=\"padding:8rem 2.5rem;background:var(--bg2)\">
<div class=\"container-lg\">
<div style=\"display:grid;grid-template-columns:1fr 1fr;gap:6rem;align-items:start\">
<div>
<div style=\"display:flex;align-items:center;gap:1.5rem;margin-bottom:2rem\">
<div class=\"navy-line-left\" style=\"width:3rem;flex-shrink:0\"></div>
<span class=\"label reveal\" style=\"color:var(--navy-85)\">Safety</span>
</div>
<h2 class=\"display-lg reveal\" style=\"transition-delay:80ms;margin-bottom:1.5rem\">
Safety built in.<br>Not bolted on.
</h2>
<p class=\"reveal\" style=\"transition-delay:160ms;font-family:var(--body);font-weight:300;font-size:1rem;color:var(--t2);line-height:1.8;margin-bottom:1.25rem\">
Most AI products treat safety as a content filter. Block a list of topics, add a disclaimer, call it done. That&#39;s not safety. That&#39;s liability management.
</p>
<p class=\"reveal\" style=\"transition-delay:220ms;font-family:var(--body);font-weight:300;font-size:1rem;color:var(--t2);line-height:1.8;margin-bottom:1.25rem\">
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 &#34;your primary contact&#34; can alert the very person you need protection from.
</p>
<p class=\"reveal\" style=\"transition-delay:280ms;font-family:var(--body);font-weight:300;font-size:1rem;color:var(--t2);line-height:1.8\">
I built something different. I called it the Hard Bell.
</p>
</div>
<div style=\"display:flex;flex-direction:column;gap:1.5rem;padding-top:1rem\">
<div class=\"reveal card-dark\" style=\"transition-delay:100ms;padding:1.75rem 2rem;border-left:3px solid rgba(0,82,160,.40)\">
<p style=\"font-family:var(--body);font-size:0.7rem;font-weight:600;letter-spacing:0.18em;text-transform:uppercase;color:var(--navy-65);margin-bottom:0.75rem\">Hard Bell</p>
<p style=\"font-family:var(--body);font-weight:400;font-size:0.9375rem;color:var(--t1);margin-bottom:0.5rem\">A trusted contact the threat can&#39;t intercept</p>
<p style=\"font-family:var(--body);font-weight:300;font-size:0.875rem;color:var(--t2);line-height:1.7\">
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.
</p>
</div>
<div class=\"reveal card-dark\" style=\"transition-delay:200ms;padding:1.75rem 2rem;border-left:3px solid rgba(0,82,160,.40)\">
<p style=\"font-family:var(--body);font-size:0.7rem;font-weight:600;letter-spacing:0.18em;text-transform:uppercase;color:var(--navy-65);margin-bottom:0.75rem\">Emergency routing</p>
<p style=\"font-family:var(--body);font-weight:400;font-size:0.9375rem;color:var(--t1);margin-bottom:0.5rem\">Emergency services first - not notification</p>
<p style=\"font-family:var(--body);font-weight:300;font-size:0.875rem;color:var(--t2);line-height:1.7\">
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.
</p>
</div>
<div class=\"reveal card-dark\" style=\"transition-delay:300ms;padding:1.75rem 2rem;border-left:3px solid rgba(0,82,160,.40)\">
<p style=\"font-family:var(--body);font-size:0.7rem;font-weight:600;letter-spacing:0.18em;text-transform:uppercase;color:var(--navy-65);margin-bottom:0.75rem\">Family accounts</p>
<p style=\"font-family:var(--body);font-weight:400;font-size:0.9375rem;color:var(--t1);margin-bottom:0.5rem\">Oversight without surveillance</p>
<p style=\"font-family:var(--body);font-weight:300;font-size:0.875rem;color:var(--t2);line-height:1.7\">
For family accounts, parents see what they need to see. A child&#39;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.
</p>
</div>
</div>
</div>
<div class=\"reveal\" style=\"margin-top:4rem;padding:2rem 2.5rem;border:1px solid rgba(0,82,160,.15);border-left:3px solid var(--navy);background:rgba(0,82,160,.03)\">
<p style=\"font-family:var(--body);font-weight:300;font-size:0.9375rem;color:var(--t2);line-height:1.8;margin-bottom:1rem\">
<strong style=\"color:var(--t1);font-weight:500\">Required before you can use Neuron.</strong> You must designate a Hard Bell contact during setup - before anything else. This is not a settings page you visit later. It happens first.
</p>
<p style=\"font-family:var(--body);font-weight:300;font-size:0.9375rem;color:var(--t2);line-height:1.8;margin-bottom:1rem\">
If you don&#39;t have someone to designate, you can use 988 - the Suicide &amp; Crisis Lifeline - as your Hard Bell contact. The system will accept it. The point is that no one goes in without a line out.
</p>
<p style=\"font-family:var(--body);font-weight:300;font-size:0.9375rem;color:var(--t2);line-height:1.8\">
I&#39;m also establishing a Neuron crisis line - free, 24/7, staffed. Because I recognize that some people don&#39;t have anyone. The technology shouldn&#39;t make that worse. It should be the thing that catches you when nothing else does.
</p>
</div>
</div>
</section>
"
}
// === 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
+ "&currency=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 <enterprise@neurontechnologies.ai>\",\"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 + "
<div style=\"min-height:80vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:4rem 2rem\">
<p class=\"label\" style=\"margin-bottom:1.5rem\">You&#39;re in.</p>
<h1 class=\"display-lg\" style=\"margin-bottom:1.25rem\">Welcome to Neuron.</h1>
<p style=\"font-family:var(--body);font-weight:300;font-size:1.1rem;color:var(--t2);max-width:28rem;line-height:1.7;margin-bottom:3rem\">
Your license is being provisioned. Check your email - your license key and download instructions will be there in the next few minutes.
</p>
<div style=\"margin-bottom:3rem\">" + badge_html + "</div>
<a href=\"/\" class=\"btn-primary\">Back to home &#8594;</a>
</div>
" + 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)