// Hero — flowing terminal/code background + bold headline const TerminalRain = () => { // A column of streaming code lines that drift upward forever. // Two columns offset so the loop is seamless. const lines = React.useMemo(() => { const samples = [ "import { Agent } from '@aura/runtime'", "export const triage = new Agent({", " model: 'claude-sonnet-4.5',", " tools: [postgres, slack, stripe],", " policy: 'tier-1-support',", "})", "", "// orchestrator.ts", "const run = await graph.invoke({", " task: 'reconcile payouts',", " context: { day: '2026-04-26' },", "})", "", "→ tool.call postgres.query ok 42ms", "→ tool.call math.stats ok 8ms", "→ tool.call slack.notify ok 120ms", "✓ run completed tokens=8412 $0.083", "", "contract Settlement {", " function release(address to, uint256 amt)", " external onlyOwner returns (bool) {", " require(escrow[to] >= amt, 'insufficient');", " escrow[to] -= amt;", " payable(to).transfer(amt);", " emit Released(to, amt, block.timestamp);", " return true;", " }", "}", "", "[runtime] cold-start agent pool …", "[runtime] 24 agents warmed in 312ms", "[runtime] queue depth=0 p50=84ms p99=410ms", "", "POST /v1/runs 201 Created", "GET /v1/runs/run_8af3e2 200 OK", "POST /v1/tools/register 201 Created", ]; return [...samples, ...samples]; }, []); const colorFor = (line) => { if (line.startsWith("//")) return "var(--text-faint)"; if (line.startsWith("→")) return "var(--accent-2)"; if (line.startsWith("✓")) return "var(--good)"; if (line.startsWith("[runtime]")) return "var(--text-faint)"; if (line.match(/^(POST|GET|PUT|DELETE)/)) return "var(--accent)"; if (line.match(/^(import|export|const|function|return|contract|require|emit)/)) return "var(--accent)"; return "var(--text-dim)"; }; return (