Soul-driven AI agent with permission-hardened tools, token budgets, and multi-channel access. Runs 24/7 from CLI, Telegram or More.
feat: initialize landing page site with custom styles, responsive layout, and terminal UI components
Salman Qureshicc4ba8798956
diff --git a/.npmignore b/.npmignorenew file mode 100644index 00000000..28f58223--- /dev/null+++ b/.npmignore@@ -0,0 +1,3 @@+site/+*.tsbuildinfo+.DS_Store\ No newline at end of filediff --git a/site/.nojekyll b/site/.nojekyllnew file mode 100644index 00000000..e69de29bdiff --git a/site/app.js b/site/app.jsnew file mode 100644index 00000000..02d83951--- /dev/null+++ b/site/app.js@@ -0,0 +1,201 @@+(function () {+ 'use strict';++ var navToggle = document.getElementById('navToggle');+ var navLinks = document.getElementById('navLinks');+ if (navToggle && navLinks) {+ navToggle.addEventListener('click', function () {+ navLinks.classList.toggle('open');+ });+ navLinks.querySelectorAll('a').forEach(function (a) {+ a.addEventListener('click', function () { navLinks.classList.remove('open'); });+ });+ }++ var nav = document.getElementById('nav');+ window.addEventListener('scroll', function () {+ if (window.scrollY > 20) nav.classList.add('nav-scrolled');+ else nav.classList.remove('nav-scrolled');+ });++ var revealEls = document.querySelectorAll('[data-reveal]');+ var observer = new IntersectionObserver(function (entries) {+ entries.forEach(function (entry) {+ if (entry.isIntersecting) {+ entry.target.classList.add('revealed');+ observer.unobserve(entry.target);+ }+ });+ }, { threshold: 0.15 });+ revealEls.forEach(function (el) { observer.observe(el); });++ var heroTerminal = document.getElementById('heroTerminal');+ var heroLines = [+ { type: 'prompt', text: 'You: ' },+ { type: 'input', text: 'install skill from https://example.com/daily-digest.md' },+ { type: 'tool', text: ' [Using: install_skill]' },+ { type: 'output', text: ' Skill "daily-digest" installed successfully.' },+ { type: 'prompt', text: 'You: ' },+ { type: 'input', text: 'schedule daily-digest every day at 9am' },+ { type: 'tool', text: ' [Using: schedule_task]' },+ { type: 'output', text: ' Task scheduled: daily-digest (cron: 0 9 * * *)' },+ { type: 'prompt', text: 'You: ' },+ { type: 'input', text: 'fetch latest repos of hotheadhacker' },+ { type: 'tool', text: ' [Using: fetch_url]' },+ { type: 'agent', text: 'Mercury: ' },+ { type: 'stream', text: 'Here are the latest repositories by hotheadhacker: **sekond-brain** (updated today), **no-as-a-service** (7.1k stars)...' },+ ];++ var demoTerminal = document.getElementById('demoTerminal');+ var demoLines = [+ { type: 'prompt', text: 'You: ' },+ { type: 'input', text: 'read the package.json and tell me the deps' },+ { type: 'tool', text: ' [Using: read_file]' },+ { type: 'prompt', text: 'You: ' },+ { type: 'input', text: 'edit the version to 0.2.0' },+ { type: 'tool', text: ' [Using: edit_file]' },+ { type: 'output', text: ' Successfully replaced "0.1.0" with "0.2.0" in package.json' },+ { type: 'prompt', text: 'You: ' },+ { type: 'input', text: 'commit that change' },+ { type: 'tool', text: ' [Using: git_add, git_commit]' },+ { type: 'output', text: ' [git add package.json] [git commit -m "bump version to 0.2.0"]' },+ { type: 'prompt', text: 'You: ' },+ { type: 'input', text: 'send me the package.json file' },+ { type: 'tool', text: ' [Using: send_file]' },+ { type: 'output', text: ' File sent: package.json (1.2KB)' },+ { type: 'agent', text: 'Mercury: ' },+ { type: 'stream', text: 'Done! I\'ve read the package.json, updated the version, committed the change, and sent you the file. Anything else?' },+ ];++ function typeTerminal(container, lines, speed, callback) {+ var idx = 0;+ var charIdx = 0;+ var currentSpan = null;++ function nextLine() {+ if (idx >= lines.length) {+ if (callback) callback();+ return;+ }+ var line = lines[idx];++ if (line.type === 'prompt') {+ var span = document.createElement('span');+ span.className = 'prompt';+ span.textContent = line.text;+ container.appendChild(span);+ idx++;+ nextLine();+ return;+ }++ if (line.type === 'input') {+ currentSpan = document.createElement('span');+ currentSpan.style.color = '#f0f0f0';+ container.appendChild(currentSpan);+ charIdx = 0;+ typeChars(line.text, function () {+ container.appendChild(document.createElement('br'));+ idx++;+ nextLine();+ });+ return;+ }++ if (line.type === 'tool') {+ var toolSpan = document.createElement('span');+ toolSpan.className = 'tool';+ toolSpan.textContent = line.text;+ container.appendChild(toolSpan);+ container.appendChild(document.createElement('br'));+ idx++;+ setTimeout(nextLine, speed * 2);+ return;+ }++ if (line.type === 'output') {+ var outSpan = document.createElement('span');+ outSpan.className = 'output';+ outSpan.textContent = line.text;+ container.appendChild(outSpan);+ container.appendChild(document.createElement('br'));+ idx++;+ setTimeout(nextLine, speed);+ return;+ }++ if (line.type === 'agent') {+ var aSpan = document.createElement('span');+ aSpan.className = 'agent';+ aSpan.textContent = line.text;+ container.appendChild(aSpan);+ idx++;+ nextLine();+ return;+ }++ if (line.type === 'stream') {+ currentSpan = document.createElement('span');+ currentSpan.style.color = '#f0f0f0';+ container.appendChild(currentSpan);+ charIdx = 0;+ typeChars(line.text, function () {+ container.appendChild(document.createElement('br'));+ idx++;+ var cursor = document.createElement('span');+ cursor.className = 'cursor';+ container.appendChild(cursor);+ if (callback) callback();+ }, speed * 1.5);+ return;+ }++ idx++;+ nextLine();+ }++ function typeChars(text, done, customSpeed) {+ var s = customSpeed || speed;+ if (charIdx >= text.length) {+ done();+ return;+ }+ currentSpan.textContent += text[charIdx];+ charIdx++;+ container.scrollTop = container.scrollHeight;+ setTimeout(function () { typeChars(text, done, customSpeed); }, s);+ }++ nextLine();+ }++ var heroObs = new IntersectionObserver(function (entries) {+ entries.forEach(function (entry) {+ if (entry.isIntersecting) {+ heroObs.unobserve(entry.target);+ typeTerminal(heroTerminal, heroLines, 25);+ }+ });+ }, { threshold: 0.3 });+ if (heroTerminal) heroObs.observe(heroTerminal);++ var demoObs = new IntersectionObserver(function (entries) {+ entries.forEach(function (entry) {+ if (entry.isIntersecting) {+ demoObs.unobserve(entry.target);+ typeTerminal(demoTerminal, demoLines, 18);+ }+ });+ }, { threshold: 0.3 });+ if (demoTerminal) demoObs.observe(demoTerminal);++ document.querySelectorAll('a[href^="#"]').forEach(function (a) {+ a.addEventListener('click', function (e) {+ var target = document.querySelector(a.getAttribute('href'));+ if (target) {+ e.preventDefault();+ target.scrollIntoView({ behavior: 'smooth' });+ }+ });+ });+})();\ No newline at end of filediff --git a/site/deploy.sh b/site/deploy.shnew file mode 100755index 00000000..c20a0156--- /dev/null+++ b/site/deploy.sh@@ -0,0 +1,43 @@+#!/usr/bin/env bash+set -euo pipefail++DIR="$(cd "$(dirname "$0")" && pwd)"+SITE_DIR="$DIR"++echo "☿ Mercury — Landing Page Deploy"+echo "─────────────────────────────────"++if command -v vercel &>/dev/null; then+ echo "Vercel CLI detected. Deploying..."+ vercel deploy "$SITE_DIR" --prod+ exit 0+fi++if command -v netlify &>/dev/null; then+ echo "Netlify CLI detected. Deploying..."+ netlify deploy --dir="$SITE_DIR" --prod+ exit 0+fi++if command -v gh &>/dev/null; then+ echo "GitHub CLI detected. Deploying to gh-pages..."+ git checkout --orphan gh-pages 2>/dev/null || true+ git reset+ cp -r "$SITE_DIR"/* /tmp/mercury-site/+ cp -r "$SITE_DIR"/.nojekyll /tmp/mercury-site/ 2>/dev/null || true+ git add -A+ git commit -m "deploy: landing page" || true+ git push origin gh-pages --force+ echo "Deployed to gh-pages branch. Enable GitHub Pages in repo settings."+ exit 0+fi++echo ""+echo "No deployment CLI found. Install one of:"+echo " npm i -g vercel → vercel.com"+echo " npm i -g netlify-cli → netlify.com"+echo " brew install gh → GitHub Pages"+echo ""+echo "Or manually upload the site/ folder to any static host."+echo "Files: $SITE_DIR/"+ls -la "$SITE_DIR"/*.{html,css,js} 2>/dev/null || true\ No newline at end of filediff --git a/site/index.html b/site/index.htmlnew file mode 100644index 00000000..7150692f--- /dev/null+++ b/site/index.html@@ -0,0 +1,397 @@+<!DOCTYPE html>+<html lang="en">+<head>+ <meta charset="UTF-8">+ <meta name="viewport" content="width=device-width, initial-scale=1.0">+ <title>Mercury — Soul-Driven AI Agent</title>+ <meta name="description" content="Mercury is a soul-driven, token-efficient AI agent that runs 24/7. CLI + Telegram, 21 built-in tools, skill system, scheduling, and hardened permissions.">+ <meta name="theme-color" content="#0a0a0a">+ <meta property="og:title" content="Mercury — Soul-Driven AI Agent">+ <meta property="og:description" content="Your personal AI agent. Soul-driven, token-efficient, always on.">+ <meta property="og:type" content="website">+ <meta property="og:url" content="https://mercury.cosmicstack.org">+ <link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>☿</text></svg>">+ <link rel="stylesheet" href="style.css">+</head>+<body>+ <nav id="nav">+ <div class="nav-inner">+ <a href="#" class="nav-logo">☿ Mercury</a>+ <div class="nav-links" id="navLinks">+ <a href="#features">Features</a>+ <a href="#how-it-works">Install</a>+ <a href="#demo">Demo</a>+ <a href="#capabilities">Capabilities</a>+ <a href="#compare">Compare</a>+ <a href="https://github.com/anomalyco/mercury" class="nav-cta" target="_blank" rel="noopener">GitHub</a>+ </div>+ <button class="nav-toggle" id="navToggle" aria-label="Menu">☰</button>+ </div>+ </nav>++ <section id="hero">+ <div class="hero-bg"></div>+ <div class="container hero-content">+ <pre class="hero-ascii" aria-hidden="true">+ __ _____________ ________ ________ __+ / |/ / ____/ __ \/ ____/ / / / __ \ \/ /+ / /|_/ / __/ / /_/ / / / / / / /_/ /\ /+/ / / / /___/ _, _/ /___/ /_/ / _, _/ / /+/_/ /_/_____/_/ |_|\____/\____/_/ |_| /_/+ </pre>+ <p class="hero-tagline">Soul-driven. Token-efficient. Always on.</p>+ <p class="hero-sub">Your personal AI agent with 21 built-in tools, skill system, multi-channel access, and hardened permissions. Runs 24/7 from your terminal or Telegram.</p>+ <div class="hero-actions">+ <a href="#how-it-works" class="btn btn-primary">Get Started</a>+ <a href="#demo" class="btn btn-secondary">See it in action</a>+ </div>+ <div class="terminal-window hero-terminal">+ <div class="terminal-bar">+ <span class="terminal-dot red"></span>+ <span class="terminal-dot yellow"></span>+ <span class="terminal-dot green"></span>+ <span class="terminal-title">terminal</span>+ </div>+ <div class="terminal-body" id="heroTerminal"></div>+ </div>+ </div>+ </section>++ <section id="features" class="section">+ <div class="container">+ <h2 class="section-title">Built Different</h2>+ <p class="section-sub">Not another chatbot. An orchestrator that works for you.</p>+ <div class="features-grid">+ <div class="feature-card" data-reveal>+ <div class="feature-icon">☿</div>+ <h3>Soul-Driven Identity</h3>+ <p>Mercury isn't a blank slate. Its personality is defined by markdown soul files — soul.md, persona.md, taste.md, heartbeat.md — that you control. No corporate wrapper. Your agent, your rules.</p>+ </div>+ <div class="feature-card" data-reveal>+ <div class="feature-icon">⚡</div>+ <h3>Token-Efficient</h3>+ <p>Daily token budgets with enforcement. Only soul + persona injected per request (~400 tokens). Skill summaries loaded progressively. Auto-concise mode when budget exceeds 70%.</p>+ </div>+ <div class="feature-card" data-reveal>+ <div class="feature-icon">♾</div>+ <h3>Always On</h3>+ <p>Cron scheduling, delayed tasks, and a heartbeat system that monitors budget and upcoming tasks. Mercury runs 24/7 and notifies you proactively via Telegram or CLI.</p>+ </div>+ <div class="feature-card" data-reveal>+ <div class="feature-icon">📡</div>+ <h3>Multi-Channel</h3>+ <p>CLI with readline and text streaming. Telegram with typing indicators, HTML formatting, and file uploads. More channels coming: Signal, Discord, Slack, WhatsApp.</p>+ </div>+ <div class="feature-card" data-reveal>+ <div class="feature-icon">🧩</div>+ <h3>Skill System</h3>+ <p>Install community skills with a single command. Skills auto-load into context, get elevated permissions, and can be scheduled as recurring tasks. Based on the Agent Skills specification.</p>+ </div>+ <div class="feature-card" data-reveal>+ <div class="feature-icon">🛡</div>+ <h3>Permission Hardened</h3>+ <p>Folder-level read/write scoping. Command blocklist (sudo, rm -rf, etc. — never executed). Pending approval flow. Skill elevation with granular allowed-tools. No surprises.</p>+ </div>+ </div>+ </div>+ </section>++ <section id="how-it-works" class="section section-dark">+ <div class="container">+ <h2 class="section-title">Up and Running in 60 Seconds</h2>+ <div class="steps">+ <div class="step" data-reveal>+ <div class="step-number">1</div>+ <h3>Install</h3>+ <div class="terminal-inline">+ <code>npm i -g mercury</code>+ </div>+ <p>Or use <code>npx mercury</code> — no install needed.</p>+ </div>+ <div class="step" data-reveal>+ <div class="step-number">2</div>+ <h3>Setup</h3>+ <div class="terminal-inline">+ <code>mercury</code>+ </div>+ <p>First run triggers the onboarding wizard. Enter your name, an API key, and optionally a Telegram bot token. Takes 30 seconds.</p>+ </div>+ <div class="step" data-reveal>+ <div class="step-number">3</div>+ <h3>Run</h3>+ <div class="terminal-inline">+ <code>mercury start</code>+ </div>+ <p>Mercury wakes up, loads your soul files, restores scheduled tasks, and is live. Start talking.</p>+ </div>+ </div>+ </div>+ </section>++ <section id="demo" class="section">+ <div class="container">+ <h2 class="section-title">See It Work</h2>+ <p class="section-sub">A real Mercury session — tool calls, streaming, files, and scheduling.</p>+ <div class="terminal-window demo-terminal">+ <div class="terminal-bar">+ <span class="terminal-dot red"></span>+ <span class="terminal-dot yellow"></span>+ <span class="terminal-dot green"></span>+ <span class="terminal-title">mercury</span>+ </div>+ <div class="terminal-body" id="demoTerminal"></div>+ </div>+ </div>+ </section>++ <section id="capabilities" class="section section-dark">+ <div class="container">+ <h2 class="section-title">21 Built-In Tools</h2>+ <p class="section-sub">Plus extensible skills, scheduling, and memory.</p>+ <div class="caps-grid">+ <div class="cap-group" data-reveal>+ <h3>📂 Filesystem</h3>+ <ul>+ <li><code>read_file</code> — Read file contents</li>+ <li><code>write_file</code> — Write to existing file</li>+ <li><code>create_file</code> — Create new files (+ dirs)</li>+ <li><code>edit_file</code> — Search & replace text</li>+ <li><code>list_dir</code> — List directory contents</li>+ <li><code>delete_file</code> — Delete a file</li>+ <li><code>send_file</code> — Send file to user (Telegram upload)</li>+ </ul>+ </div>+ <div class="cap-group" data-reveal>+ <h3>🐚 Shell</h3>+ <ul>+ <li><code>run_command</code> — Execute shell commands</li>+ <li><code>approve_command</code> — Permanently approve a command</li>+ </ul>+ </div>+ <div class="cap-group" data-reveal>+ <h3>📦 Git</h3>+ <ul>+ <li><code>git_status</code> — Working tree status</li>+ <li><code>git_diff</code> — Show file changes</li>+ <li><code>git_log</code> — Commit history</li>+ <li><code>git_add</code> — Stage files</li>+ <li><code>git_commit</code> — Create commits</li>+ <li><code>git_push</code> — Push to remote</li>+ </ul>+ </div>+ <div class="cap-group" data-reveal>+ <h3>🌐 Web</h3>+ <ul>+ <li><code>fetch_url</code> — Fetch & strip HTML to text</li>+ </ul>+ </div>+ <div class="cap-group" data-reveal>+ <h3>🧩 Skills</h3>+ <ul>+ <li><code>install_skill</code> — Install from URL or content</li>+ <li><code>list_skills</code> — Show installed skills</li>+ <li><code>use_skill</code> — Invoke a skill</li>+ </ul>+ </div>+ <div class="cap-group" data-reveal>+ <h3>⏰ Scheduler</h3>+ <ul>+ <li><code>schedule_task</code> — Cron or one-shot tasks</li>+ <li><code>list_scheduled_tasks</code> — View all tasks</li>+ <li><code>cancel_scheduled_task</code> — Cancel a task</li>+ </ul>+ </div>+ <div class="cap-group" data-reveal>+ <h3>📊 System</h3>+ <ul>+ <li><code>budget_status</code> — Check token budget</li>+ </ul>+ </div>+ <div class="cap-group" data-reveal>+ <h3>🧠 Memory</h3>+ <ul>+ <li>Short-term — Recent conversation per channel</li>+ <li>Long-term — Auto-extracted facts with dedup</li>+ <li>Episodic — Timestamped interaction log</li>+ </ul>+ </div>+ </div>+ </div>+ </section>++ <section id="compare" class="section">+ <div class="container">+ <h2 class="section-title">Honest Comparison</h2>+ <p class="section-sub">We built Mercury because nothing else did all of this.</p>+ <div class="compare-table" data-reveal>+ <table>+ <thead>+ <tr>+ <th>Feature</th>+ <th class="highlight">Mercury</th>+ <th>OpenClaw</th>+ <th>Hermes</th>+ <th>Generic Agent</th>+ </tr>+ </thead>+ <tbody>+ <tr>+ <td>Soul / Persona System</td>+ <td class="highlight">4 markdown files</td>+ <td class="no">—</td>+ <td class="no">—</td>+ <td class="no">—</td>+ </tr>+ <tr>+ <td>Token Budget Enforcement</td>+ <td class="highlight">Daily budget + override</td>+ <td class="partial">Cost tracking</td>+ <td class="no">—</td>+ <td class="no">—</td>+ </tr>+ <tr>+ <td>Multi-Channel (CLI + Telegram)</td>+ <td class="highlight">Both + more coming</td>+ <td class="partial">CLI only</td>+ <td class="partial">CLI only</td>+ <td class="partial">CLI only</td>+ </tr>+ <tr>+ <td>Skill System (Agent Skills spec)</td>+ <td class="highlight">Install, invoke, schedule</td>+ <td class="partial">Plugin system</td>+ <td class="no">—</td>+ <td class="partial">Varies</td>+ </tr>+ <tr>+ <td>Cron + Delayed Scheduling</td>+ <td class="highlight">Persisted, auto-restore</td>+ <td class="no">—</td>+ <td class="no">—</td>+ <td class="partial">Varies</td>+ </tr>+ <tr>+ <td>Permission Hardening</td>+ <td class="highlight">Blocklist + scope + approval</td>+ <td class="partial">Basic allow/deny</td>+ <td class="partial">Basic</td>+ <td class="partial">Varies</td>+ </tr>+ <tr>+ <td>Proactive Notifications</td>+ <td class="highlight">Heartbeat + task alerts</td>+ <td class="no">—</td>+ <td class="no">—</td>+ <td class="no">—</td>+ </tr>+ <tr>+ <td>Auto Fact Extraction</td>+ <td class="highlight">With dedup</td>+ <td class="no">—</td>+ <td class="partial">Basic</td>+ <td class="no">—</td>+ </tr>+ <tr>+ <td>Provider Fallback</td>+ <td class="highlight">Auto with last-successful</td>+ <td class="partial">Manual switch</td>+ <td class="no">—</td>+ <td class="partial">Varies</td>+ </tr>+ <tr>+ <td>File Upload (Telegram)</td>+ <td class="highlight">Yes — auto type detection</td>+ <td class="no">—</td>+ <td class="no">—</td>+ <td class="no">—</td>+ </tr>+ <tr>+ <td>Streaming Output (CLI)</td>+ <td class="highlight">Real-time text stream</td>+ <td class="partial">Varies</td>+ <td class="no">—</td>+ <td class="partial">Varies</td>+ </tr>+ <tr>+ <td>Headless / 24-7 Mode</td>+ <td class="highlight">Built-in</td>+ <td class="partial">Requires setup</td>+ <td class="partial">Requires setup</td>+ <td class="no">—</td>+ </tr>+ </tbody>+ </table>+ </div>+ </div>+ </section>++ <section id="architecture" class="section section-dark">+ <div class="container">+ <h2 class="section-title">Under the Hood</h2>+ <p class="section-sub">Minimal runtime, maximum capability.</p>+ <div class="arch-grid">+ <div class="arch-card" data-reveal>+ <div class="arch-label">Core</div>+ <div class="arch-value">TypeScript + Node.js 20+</div>+ <div class="arch-desc">ESM, tsup build, zero native deps</div>+ </div>+ <div class="arch-card" data-reveal>+ <div class="arch-label">AI SDK</div>+ <div class="arch-value">Vercel AI SDK v4</div>+ <div class="arch-desc">streamText + generateText, 10-step agentic loop</div>+ </div>+ <div class="arch-card" data-reveal>+ <div class="arch-label">Providers</div>+ <div class="arch-value">DeepSeek · OpenAI · Anthropic</div>+ <div class="arch-desc">Fallback chain with last-successful tracking</div>+ </div>+ <div class="arch-card" data-reveal>+ <div class="arch-label">Memory</div>+ <div class="arch-value">Flat-file JSONL/JSON</div>+ <div class="arch-desc">Short-term, long-term, episodic — no database</div>+ </div>+ <div class="arch-card" data-reveal>+ <div class="arch-label">Telegram</div>+ <div class="arch-value">grammY</div>+ <div class="arch-desc">Long polling, typing loop, HTML formatting, file uploads</div>+ </div>+ <div class="arch-card" data-reveal>+ <div class="arch-label">Runtime Data</div>+ <div class="arch-value">~/.mercury/</div>+ <div class="arch-desc">Config, soul, memory, permissions, skills, schedules — all in your home dir</div>+ </div>+ </div>+ </div>+ </section>++ <section id="cta" class="section cta-section">+ <div class="container">+ <h2 class="section-title">Ready to Deploy Your Agent?</h2>+ <div class="cta-terminal">+ <code>npm i -g mercury && mercury</code>+ </div>+ <p class="cta-sub">That's it. 60 seconds to your own AI agent.</p>+ <div class="cta-links">+ <a href="https://github.com/anomalyco/mercury" target="_blank" rel="noopener">GitHub →</a>+ <a href="https://github.com/anomalyco/mercury/issues" target="_blank" rel="noopener">Report an Issue →</a>+ </div>+ </div>+ </section>++ <footer>+ <div class="container footer-inner">+ <div class="footer-brand">+ <span class="footer-logo">☿ Mercury</span>+ <span class="footer-tagline">by Cosmic Stack</span>+ </div>+ <div class="footer-links">+ <a href="https://mercury.cosmicstack.org">mercury.cosmicstack.org</a>+ <a href="https://github.com/anomalyco/mercury">GitHub</a>+ <a href="https://github.com/anomalyco/mercury/issues">Issues</a>+ </div>+ </div>+ </footer>++ <script src="app.js"></script>+</body>+</html>\ No newline at end of filediff --git a/site/style.css b/site/style.cssnew file mode 100644index 00000000..8145319e--- /dev/null+++ b/site/style.css@@ -0,0 +1,326 @@+*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }++:root {+ --bg: #0a0a0a;+ --bg-card: #111111;+ --bg-card-hover: #161616;+ --bg-terminal: #0c0c0c;+ --cyan: #00d4ff;+ --cyan-dim: #0090aa;+ --cyan-glow: rgba(0, 212, 255, 0.15);+ --white: #f0f0f0;+ --gray: #888888;+ --gray-dim: #555555;+ --border: #222222;+ --red: #ff5f57;+ --yellow: #febc2e;+ --green: #28c840;+ --font: 'SF Mono', 'Cascadia Code', 'Fira Code', 'JetBrains Mono', 'Menlo', monospace;+ --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;+ --max-w: 1120px;+}++html { scroll-behavior: smooth; }++body {+ background: var(--bg);+ color: var(--white);+ font-family: var(--font-body);+ line-height: 1.7;+ -webkit-font-smoothing: antialiased;+ overflow-x: hidden;+}++.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }++a { color: var(--cyan); text-decoration: none; }+a:hover { text-decoration: underline; }++code {+ font-family: var(--font);+ background: rgba(0, 212, 255, 0.08);+ color: var(--cyan);+ padding: 2px 8px;+ border-radius: 4px;+ font-size: 0.9em;+}++/* ── Nav ── */+#nav {+ position: fixed; top: 0; left: 0; right: 0; z-index: 100;+ background: rgba(10, 10, 10, 0.85);+ backdrop-filter: blur(12px);+ border-bottom: 1px solid var(--border);+}+.nav-inner {+ max-width: var(--max-w); margin: 0 auto; padding: 0 24px;+ display: flex; align-items: center; justify-content: space-between;+ height: 56px;+}+.nav-logo { font-family: var(--font); font-weight: 700; color: var(--cyan); font-size: 1.1em; }+.nav-links { display: flex; gap: 24px; align-items: center; }+.nav-links a { color: var(--gray); font-size: 0.9em; transition: color 0.2s; text-decoration: none; }+.nav-links a:hover { color: var(--white); }+.nav-cta {+ background: var(--cyan); color: var(--bg) !important; padding: 6px 16px;+ border-radius: 6px; font-weight: 600; font-size: 0.85em;+}+.nav-cta:hover { background: #33ddff; text-decoration: none; }+.nav-toggle { display: none; background: none; border: none; color: var(--white); font-size: 1.5em; cursor: pointer; }++@media (max-width: 768px) {+ .nav-links { display: none; position: absolute; top: 56px; left: 0; right: 0; background: var(--bg); flex-direction: column; padding: 16px; gap: 16px; border-bottom: 1px solid var(--border); }+ .nav-links.open { display: flex; }+ .nav-toggle { display: block; }+}++/* ── Hero ── */+#hero {+ position: relative;+ min-height: 100vh;+ display: flex; align-items: center; justify-content: center;+ padding: 120px 0 80px;+ overflow: hidden;+}+.hero-bg {+ position: absolute; inset: 0;+ background:+ radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0,212,255,0.08) 0%, transparent 60%),+ radial-gradient(ellipse 60% 40% at 80% 80%, rgba(0,212,255,0.04) 0%, transparent 50%);+}+.hero-content { position: relative; text-align: center; }+.hero-ascii {+ font-family: var(--font);+ font-size: clamp(0.55rem, 2vw, 1.1rem);+ color: var(--cyan);+ line-height: 1.3;+ margin-bottom: 24px;+ text-shadow: 0 0 30px rgba(0,212,255,0.3);+}+.hero-tagline {+ font-size: clamp(1.3em, 3vw, 1.8em);+ font-weight: 300;+ color: var(--white);+ margin-bottom: 16px;+ letter-spacing: 0.02em;+}+.hero-sub {+ color: var(--gray);+ max-width: 600px;+ margin: 0 auto 32px;+ font-size: 1.05em;+}+.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 64px; }++.btn {+ font-family: var(--font-body);+ font-size: 1em;+ padding: 12px 28px;+ border-radius: 8px;+ border: none;+ cursor: pointer;+ text-decoration: none;+ transition: all 0.2s;+}+.btn-primary { background: var(--cyan); color: var(--bg); font-weight: 600; }+.btn-primary:hover { background: #33ddff; text-decoration: none; transform: translateY(-1px); }+.btn-secondary { background: transparent; color: var(--cyan); border: 1px solid var(--cyan-dim); }+.btn-secondary:hover { background: var(--cyan-glow); text-decoration: none; }++/* ── Terminal ── */+.terminal-window {+ background: var(--bg-terminal);+ border: 1px solid var(--border);+ border-radius: 10px;+ overflow: hidden;+ text-align: left;+ box-shadow: 0 8px 40px rgba(0,0,0,0.5), 0 0 80px rgba(0,212,255,0.06);+}+.hero-terminal { max-width: 680px; margin: 0 auto; }+.demo-terminal { max-width: 760px; margin: 0 auto; }+.terminal-bar {+ display: flex; align-items: center; gap: 8px;+ padding: 10px 16px;+ background: #1a1a1a;+ border-bottom: 1px solid var(--border);+}+.terminal-dot { width: 12px; height: 12px; border-radius: 50%; }+.terminal-dot.red { background: var(--red); }+.terminal-dot.yellow { background: var(--yellow); }+.terminal-dot.green { background: var(--green); }+.terminal-title { font-family: var(--font); font-size: 0.75em; color: var(--gray-dim); margin-left: 8px; }+.terminal-body {+ font-family: var(--font);+ font-size: 0.85em;+ line-height: 1.7;+ padding: 20px 24px;+ min-height: 200px;+ color: var(--white);+ overflow-x: auto;+}+.terminal-body .prompt { color: var(--cyan); }+.terminal-body .agent { color: var(--cyan); font-weight: bold; }+.terminal-body .tool { color: var(--gray-dim); font-style: italic; }+.terminal-body .output { color: var(--gray); }+.terminal-body .cursor {+ display: inline-block; width: 8px; height: 1em;+ background: var(--cyan); margin-left: 2px;+ animation: blink 1s step-end infinite;+ vertical-align: text-bottom;+}+@keyframes blink { 50% { opacity: 0; } }++.terminal-inline {+ background: var(--bg-terminal);+ border: 1px solid var(--border);+ border-radius: 8px;+ padding: 16px 20px;+ margin: 12px 0;+}+.terminal-inline code { background: none; padding: 0; font-size: 1em; }++/* ── Sections ── */+.section { padding: 100px 0; }+.section-dark { background: #080808; }+.section-title {+ font-size: clamp(1.5em, 3.5vw, 2.2em);+ font-weight: 700;+ margin-bottom: 12px;+ text-align: center;+}+.section-sub { color: var(--gray); text-align: center; margin-bottom: 48px; font-size: 1.05em; }++/* ── Features ── */+.features-grid {+ display: grid;+ grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));+ gap: 24px;+}+.feature-card {+ background: var(--bg-card);+ border: 1px solid var(--border);+ border-radius: 12px;+ padding: 32px;+ transition: all 0.3s;+}+.feature-card:hover { background: var(--bg-card-hover); border-color: var(--cyan-dim); transform: translateY(-2px); }+.feature-icon { font-size: 2em; margin-bottom: 16px; }+.feature-card h3 { font-size: 1.15em; margin-bottom: 8px; color: var(--white); }+.feature-card p { color: var(--gray); font-size: 0.95em; }++/* ── Steps ── */+.steps { display: flex; gap: 48px; justify-content: center; flex-wrap: wrap; }+.step { text-align: center; flex: 1; min-width: 240px; max-width: 320px; }+.step-number {+ width: 48px; height: 48px;+ border-radius: 50%;+ background: var(--cyan);+ color: var(--bg);+ display: inline-flex; align-items: center; justify-content: center;+ font-weight: 700; font-size: 1.2em;+ margin-bottom: 16px;+}+.step h3 { margin-bottom: 8px; font-size: 1.2em; }+.step p { color: var(--gray); font-size: 0.95em; }+.step code { font-size: 0.85em; }++/* ── Capabilities ── */+.caps-grid {+ display: grid;+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));+ gap: 24px;+}+.cap-group {+ background: var(--bg-card);+ border: 1px solid var(--border);+ border-radius: 12px;+ padding: 24px;+}+.cap-group h3 { font-size: 1em; margin-bottom: 12px; }+.cap-group ul { list-style: none; }+.cap-group li { padding: 4px 0; color: var(--gray); font-size: 0.9em; }+.cap-group li code { font-size: 0.85em; }++/* ── Compare ── */+.compare-table { overflow-x: auto; }+.compare-table table {+ width: 100%; border-collapse: collapse;+ font-size: 0.9em;+}+.compare-table th, .compare-table td {+ padding: 14px 18px; text-align: left;+ border-bottom: 1px solid var(--border);+}+.compare-table th { color: var(--gray-dim); font-weight: 600; font-size: 0.85em; text-transform: uppercase; letter-spacing: 0.04em; }+.compare-table th.highlight { color: var(--cyan); }+.compare-table td.highlight { color: var(--white); font-weight: 500; }+.compare-table td.yes { color: var(--green); }+.compare-table td.no { color: var(--gray-dim); }+.compare-table td.partial { color: var(--yellow); }+.compare-table tr:hover td { background: rgba(255,255,255,0.02); }++/* ── Architecture ── */+.arch-grid {+ display: grid;+ grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));+ gap: 20px;+}+.arch-card {+ background: var(--bg-card);+ border: 1px solid var(--border);+ border-radius: 10px;+ padding: 24px;+}+.arch-label { color: var(--cyan); font-family: var(--font); font-size: 0.8em; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }+.arch-value { font-weight: 600; font-size: 1.05em; margin-bottom: 6px; }+.arch-desc { color: var(--gray); font-size: 0.9em; }++/* ── CTA ── */+.cta-section { text-align: center; }+.cta-terminal {+ display: inline-block;+ background: var(--bg-terminal);+ border: 1px solid var(--cyan-dim);+ border-radius: 10px;+ padding: 20px 32px;+ margin: 32px 0 16px;+ box-shadow: 0 0 40px var(--cyan-glow);+}+.cta-terminal code { background: none; padding: 0; font-size: 1.1em; color: var(--cyan); }+.cta-sub { color: var(--gray); margin-bottom: 24px; }+.cta-links { display: flex; gap: 24px; justify-content: center; }+.cta-links a { color: var(--gray); font-size: 0.95em; }+.cta-links a:hover { color: var(--cyan); }++/* ── Footer ── */+footer {+ border-top: 1px solid var(--border);+ padding: 32px 0;+}+.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }+.footer-logo { font-family: var(--font); font-weight: 700; color: var(--cyan); }+.footer-tagline { color: var(--gray-dim); font-size: 0.9em; margin-left: 12px; }+.footer-links { display: flex; gap: 24px; }+.footer-links a { color: var(--gray-dim); font-size: 0.9em; }+.footer-links a:hover { color: var(--white); }++/* ── Reveal Animation ── */+[data-reveal] {+ opacity: 0;+ transform: translateY(24px);+ transition: opacity 0.6s ease, transform 0.6s ease;+}+[data-reveal].revealed {+ opacity: 1;+ transform: translateY(0);+}++/* ── Responsive ── */+@media (max-width: 600px) {+ .hero-ascii { font-size: 0.45rem; }+ .hero-terminal, .demo-terminal { margin-left: -12px; margin-right: -12px; border-radius: 0; }+ .terminal-body { padding: 16px; font-size: 0.75em; }+ .steps { flex-direction: column; align-items: center; }+ .compare-table { font-size: 0.8em; }+ .footer-inner { flex-direction: column; text-align: center; }+}\ No newline at end of file