The only tool you need to know what is happening and how to fix it.
Go alertingexception-trackerissue-trackinglogsmetricsmonitoringobservability-platformopen-telemetryotelsession-replaytelemetrytraces
website progress
ddux03c3dde52614
diff --git a/website/app/cloud/page.tsx b/website/app/cloud/page.tsxindex 32d8aa07..de22980e 100644--- a/website/app/cloud/page.tsx+++ b/website/app/cloud/page.tsx@@ -1,143 +1,181 @@-import { PricingCalculator } from "@/components/pricing-calculator";import Link from "next/link";+import { ArrowRight, Cloud as CloudIcon } from "lucide-react";-import { ArrowRight } from "lucide-react";-import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from "@/components/ui/accordion";-import { Badge } from "@/components/ui/badge";+import { Chip } from "@/components/chip";+import { SectionHead } from "@/components/section-head";+import { FaqList } from "@/components/faq-list";+import { FinalCTA } from "@/components/final-cta";+import { AuroraBackground } from "@/components/aurora-background";+import { PricingCalculator } from "@/components/pricing-calculator";+import { CostComparison } from "@/components/cost-comparison";export default function CloudPage() {- return (- <main className="min-h-screen bg-white text-zinc-950 font-sans selection:bg-zinc-100 selection:text-zinc-900">- {/* Hero Section */}- <section className="relative pt-16 pb-20 overflow-hidden">- <div className="absolute inset-0 -z-10 h-full w-full bg-white bg-[radial-gradient(#e5e7eb_1px,transparent_1px)] [background-size:16px_16px] [mask-image:radial-gradient(ellipse_50%_50%_at_50%_50%,#000_70%,transparent_100%)]"></div>- <div className="container mx-auto px-4 text-center">- <Badge variant="secondary" className="mb-4 bg-blue-50 text-blue-700 hover:bg-blue-100 px-2.5 py-0.5 border border-blue-100 text-xs font-normal rounded-full">- Traceway Cloud- </Badge>- <h1 className="text-4xl md:text-6xl font-bold tracking-tight mb-6 text-zinc-900">- Managed Traceway <span className="text-transparent bg-clip-text bg-gradient-to-r from-blue-600 to-indigo-600">for Teams</span>- </h1>- <p className="text-zinc-600 text-lg md:text-xl max-w-xl mx-auto mb-10 leading-relaxed font-medium">- Focus on shipping features, not managing infrastructure. Get all the power of Traceway with zero maintenance.- </p>- <div className="flex flex-col sm:flex-row items-center justify-center gap-3">- <Link href="http://cloud.tracewayapp.com/register" className="inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-all cursor-pointer h-10 px-6 bg-[#4ba3f7] text-white hover:bg-[#3b93e7] font-bold shadow-sm shadow-blue-400/20">- Start Free Trial <ArrowRight className="ml-2 h-4 w-4" />- </Link>- <Link href="https://docs.tracewayapp.com/cloud" className="inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-all cursor-pointer h-10 px-6 border border-zinc-200 bg-white hover:bg-zinc-50 text-zinc-900">- How it works- </Link>- </div>- </div>- </section>+ return (+ <main className="relative">+ <section className="hero gridbg relative">+ <AuroraBackground variant="hero" />+ <div className="wrap relative z-10 max-w-3xl">+ <Chip>+ <CloudIcon className="h-3 w-3 inline mr-1" />+ Traceway Cloud+ </Chip>+ <h1 className="mt-6">+ Managed Traceway <em>for teams.</em>+ </h1>+ <p className="hero-sub">+ Focus on shipping features, not managing infrastructure. All the+ power of Traceway with zero maintenance — same open-source code,+ managed by us.+ </p>+ <div className="hero-cta-row">+ <Link href="https://cloud.tracewayapp.com/register" className="btn btn-accent">+ Start Free <ArrowRight className="h-4 w-4" />+ </Link>+ <Link href="https://docs.tracewayapp.com/cloud" className="btn btn-ghost">+ How it works+ </Link>+ </div>+ </div>+ </section>- {/* Pricing Section */}- <section className="py-24 bg-zinc-50/50 border-y border-zinc-100">- <div className="container mx-auto px-4 max-w-5xl">- <div className="text-center mb-16">- <h2 className="text-3xl md:text-4xl font-bold mb-4 text-zinc-900 tracking-tight">Simple, predictable pricing</h2>- <p className="text-zinc-600 text-lg max-w-xl mx-auto">- Start for free and scale as you grow. No credit card required for the starter plan.- </p>- </div>+ {/* Pricing */}+ <section className="wrap py-20">+ <SectionHead+ eyebrow="Pricing"+ title="Simple, predictable pricing"+ description="Start free and scale as you grow. No credit card required for the Starter plan."+ />+ <div className="mt-8">+ <PricingCalculator />+ </div>+ </section>- <PricingCalculator />- </div>- </section>+ {/* Cost comparison / cost advantage — absorbed from home */}+ <section className="wrap py-10" id="cost-mount" data-cost-mount>+ <SectionHead+ eyebrow="Cost"+ title={+ <>+ Designed for efficiency. <em>Built to lower your cloud bill.</em>+ </>+ }+ description="Traceway runs lean. ClickHouse columnar storage compresses 1 million daily events into ~2-3 GB per month. Postgres is used for efficient user and organization storage."+ />+ <div className="mt-8">+ <CostComparison />+ </div>+ <div className="mt-10 flex flex-col sm:flex-row items-center justify-center gap-3">+ <Link href="https://cloud.tracewayapp.com/register" className="btn btn-accent">+ Start on Cloud <ArrowRight className="h-4 w-4" />+ </Link>+ <Link href="https://docs.tracewayapp.com" className="btn btn-ghost">+ Self-host for free+ </Link>+ </div>+ </section>- {/* Cloud vs Self-Hosted Q&A */}- <section className="py-24 bg-white">- <div className="container mx-auto px-4 max-w-3xl">- <div className="text-center mb-12">- <h2 className="text-3xl font-bold mb-4 text-zinc-900 tracking-tight">Cloud FAQ</h2>- <p className="text-zinc-600 text-lg">- Common questions about Traceway Cloud, pricing, and support.- </p>- </div>+ <FinalCTA+ title={+ <>+ Observability <em>without the infra tax</em>+ </>+ }+ description="Run on us, or run it yourself. Same features, no asterisks."+ primary={{+ label: "Start Free",+ href: "https://cloud.tracewayapp.com/register",+ }}+ secondary={{+ label: "Contact Sales",+ href: "/contact",+ }}+ />- <Accordion type="single" collapsible className="w-full">- <AccordionItem value="item-support" className="border-b-zinc-200">- <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">- What support do Cloud customers get?- </AccordionTrigger>- <AccordionContent className="text-zinc-600 leading-relaxed">- All Cloud customers on a paid plan can open GitHub issues that are triaged with highest priority by our engineering team.- You are not routed to a help desk — you talk directly to the people who build Traceway.- Enterprise+ customers also receive a shared Slack channel with direct access to the Traceway team for real-time collaboration, incident support, and onboarding assistance.- Self-hosted and open-source users are welcome to open GitHub issues and participate in community discussions. We actively monitor and respond to all issues.- </AccordionContent>- </AccordionItem>- <AccordionItem value="item-overages" className="border-b-zinc-200">- <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">- Are there overage charges?- </AccordionTrigger>- <AccordionContent className="text-zinc-600 leading-relaxed">- No. Every plan has a fixed monthly price. If you approach your included volume, we will notify you in advance so you can decide whether to upgrade.- Your bill will never increase without your explicit approval. What you see on the pricing table is what you pay — no metered billing, no surprise line items, no usage-based surcharges.- </AccordionContent>- </AccordionItem>- <AccordionItem value="item-cost-at-scale" className="border-b-zinc-200">- <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">- How does Traceway Cloud compare on cost at scale?- </AccordionTrigger>- <AccordionContent className="text-zinc-600 leading-relaxed">- At the Enterprise tier, 200 million monthly events cost $499.99 — that is $0.0000025 per event.- Competitors like Datadog and Sentry charge orders of magnitude more at the same volume, often with additional per-host, per-seat, or overage fees on top.- For workloads beyond 200 million events, our Enterprise+ plan offers even cheaper per-event pricing with a dedicated SRE and shared Slack channel.- We price based on your actual infrastructure cost, not on a per-event markup, which means pricing stays reasonable even at billions of events per month.- </AccordionContent>- </AccordionItem>- <AccordionItem value="item-events" className="border-b-zinc-200">- <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">- What counts as an event?- </AccordionTrigger>- <AccordionContent className="text-zinc-600 leading-relaxed">- An event is any single issue (exception), HTTP request, or background task run that Traceway ingests.- Session replays, distributed trace spans, and custom metrics are included at no additional cost and do not count toward your event volume.- For example, if your application handles 50,000 HTTP requests and encounters 200 exceptions in a month, that is 50,200 events.- </AccordionContent>- </AccordionItem>- <AccordionItem value="item-fixed-costs" className="border-b-zinc-200">- <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">- How does “fixed costs” work for Cloud vs. Self-Hosted?- </AccordionTrigger>- <AccordionContent className="text-zinc-600 leading-relaxed">- Self-hosted Traceway runs on your own infrastructure with zero licensing cost — your only expense is the server itself, and ClickHouse compression keeps that minimal.- Traceway Cloud has fixed-price tiers: you pick a plan, pay that amount monthly, and there are no overage charges, per-event fees, or surprise line items.- In both cases, the cost is predictable. The difference is whether you manage the infrastructure yourself (self-hosted) or we manage it for you (cloud).- </AccordionContent>- </AccordionItem>- <AccordionItem value="item-1" className="border-b-zinc-200">- <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">- Why use Traceway Cloud?- </AccordionTrigger>- <AccordionContent className="text-zinc-600 leading-relaxed">- Traceway Cloud is simply for teams that don't want to self-host. We run the exact same open-source code but manage the infrastructure, updates, and backups for you.- It allows you to focus on shipping features without worrying about maintaining an observability stack.- </AccordionContent>- </AccordionItem>- <AccordionItem value="item-2" className="border-b-zinc-200">- <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">- Is the Open Source version limited?- </AccordionTrigger>- <AccordionContent className="text-zinc-600 leading-relaxed">- No. The code is 100% open source and fully featured. We do not gate features behind the cloud version.- The cloud offering exists solely for convenience and for users who prefer a managed service over self-hosting.- </AccordionContent>- </AccordionItem>- <AccordionItem value="item-3" className="border-b-zinc-200">- <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">- Can I migrate from Cloud to Self-Hosted later?- </AccordionTrigger>- <AccordionContent className="text-zinc-600 leading-relaxed">- Yes, since the underlying software is the same, we can work with you to export your data and migrate to a self-hosted instance at any time.- You are never locked into our cloud platform.- </AccordionContent>- </AccordionItem>- </Accordion>- </div>- </section>- </main>- );+ {/* FAQ — includes absorbed from home */}+ <section className="wrap pt-10 pb-24">+ <div className="max-w-3xl mx-auto">+ <SectionHead align="center" eyebrow="FAQ" title="Cloud & pricing FAQ" />+ <div className="mt-4">+ <FaqList+ items={[+ {+ q: "How does Traceway compare to Datadog / New Relic?",+ a: (+ <>+ <p>+ Datadog and New Relic charge per host, per event, or per+ GB ingested, and bills can spike unpredictably as+ traffic grows. Traceway Cloud has fixed-price tiers —+ at the Enterprise level, 200 million monthly events+ cost $499.99 ($0.0000025 per event) with no overage+ charges. Self-hosted Traceway has zero licensing cost.+ </p>+ <p>+ Architecturally, Traceway uses ClickHouse columnar+ storage that compresses 1 million daily events into+ ~2-3 GB per month, keeping infrastructure costs low even+ at high volume. Feature-wise, Traceway includes+ endpoint performance analytics, exception tracking with+ automatic grouping and ranking, session replay,+ distributed tracing, metrics, logs, and AI+ observability — all in one tool. Datadog and New Relic+ split these across separate products, each with its+ own billing meter.+ </p>+ </>+ ),+ },+ {+ q: "Is Traceway really free to self-host?",+ a: (+ <>+ <p>+ Yes. Traceway is 100% open source with no feature+ gating. Every feature available on Traceway Cloud works+ identically when self-hosted. Deploy with{" "}+ <code>docker compose up -d</code> and you're+ running.+ </p>+ </>+ ),+ },+ {+ q: "Will my bill ever increase unexpectedly?",+ a: "No. Every Traceway Cloud plan has a fixed monthly price with no overage charges. If you approach your included volume, we notify you in advance so you can decide whether to upgrade. Your bill will never increase without your explicit approval. This applies to every tier, from Starter to Enterprise.",+ },+ {+ q: "What support do Cloud customers get?",+ a: "All Cloud customers on a paid plan can open GitHub issues that are triaged with highest priority by our engineering team. You talk directly to the people who build Traceway — no help desk routing. Enterprise+ customers also receive a shared Slack channel with direct access to the team. Self-hosted users are welcome to open GitHub issues and participate in community discussions — we actively monitor and respond.",+ },+ {+ q: "Are there overage charges?",+ a: "No. Every plan has a fixed monthly price. If you approach your included volume, we notify you in advance so you can decide whether to upgrade. What you see on the pricing table is what you pay — no metered billing, no surprise line items, no usage-based surcharges.",+ },+ {+ q: "How does Traceway Cloud compare on cost at scale?",+ a: "At the Enterprise tier, 200 million monthly events cost $499.99 — that is $0.0000025 per event. Competitors like Datadog and Sentry charge orders of magnitude more at the same volume, often with additional per-host, per-seat, or overage fees on top. Enterprise+ offers even cheaper per-event pricing with a dedicated SRE and shared Slack channel.",+ },+ {+ q: "What counts as an event?",+ a: "An event is any single issue (exception), HTTP request, or background task run that Traceway ingests. Session replays, distributed trace spans, custom metrics, and logs are included at no additional cost and do not count toward your event volume. For example, if your application handles 50,000 HTTP requests and encounters 200 exceptions in a month, that is 50,200 events.",+ },+ {+ q: "Can I migrate from Cloud to Self-Hosted later?",+ a: "Yes. Since the underlying software is the same, we can work with you to export your data and migrate to a self-hosted instance at any time. You are never locked into our cloud platform.",+ },+ {+ q: "Is the open-source version limited?",+ a: "No. The code is 100% open source and fully featured. We do not gate features behind the Cloud version. Cloud exists solely for convenience and for users who prefer a managed service over self-hosting.",+ },+ {+ q: "Why use Traceway Cloud?",+ a: "Cloud is for teams that don't want to self-host. We run the exact same open-source code but manage the infrastructure, updates, and backups for you. Focus on shipping features without maintaining an observability stack.",+ },+ ]}+ />+ </div>+ </div>+ </section>+ </main>+ );}diff --git a/website/app/contact/page.tsx b/website/app/contact/page.tsxindex 31a0ad6a..d36dbbb7 100644--- a/website/app/contact/page.tsx+++ b/website/app/contact/page.tsx@@ -1,6 +1,7 @@"use client";import { useState, FormEvent } from "react";+import { Eyebrow } from "@/components/eyebrow";export default function Contact() {const [subject, setSubject] = useState("");@@ -36,123 +37,154 @@ export default function Contact() {setCustomerType("");} catch (err) {setStatus("error");- setErrorMessage(- err instanceof Error ? err.message : "Something went wrong"- );+ setErrorMessage(err instanceof Error ? err.message : "Something went wrong");}}- return (- <main className="min-h-screen bg-white text-zinc-950 font-sans">- <div className="container mx-auto px-4 max-w-xl py-20">- <h1 className="text-4xl font-bold tracking-tight mb-2 text-zinc-900">- Contact Us- </h1>- <p className="text-zinc-500 mb-10">- Have a question or need help? Send us a message and we'll get- back to you.- </p>+ const inputStyle: React.CSSProperties = {+ background: "var(--ink-2)",+ border: "1px solid var(--hair-2)",+ color: "var(--fg-0)",+ fontFamily: "var(--font-mono)",+ };- {status === "success" ? (- <div className="rounded-lg border border-green-200 bg-green-50 p-6 text-center">- <p className="text-green-800 font-medium">- Thank you for reaching out! We'll get back to you soon.- </p>- </div>- ) : (- <form onSubmit={handleSubmit} className="space-y-5">- <div>- <label- htmlFor="subject"- className="block text-sm font-medium text-zinc-900 mb-1.5"- >- Subject- </label>- <input- id="subject"- type="text"- required- value={subject}- onChange={(e) => setSubject(e.target.value)}- className="w-full rounded-lg border border-zinc-300 bg-white px-3 py-2 text-sm text-zinc-900 placeholder:text-zinc-400 focus:outline-none focus:ring-2 focus:ring-zinc-900 focus:border-transparent transition-shadow"- placeholder="What can we help with?"- />- </div>+ return (+ <main className="relative">+ <section className="wrap py-20">+ <div className="max-w-xl mx-auto">+ <Eyebrow>Contact</Eyebrow>+ <h1 className="mt-4 mb-3">Get in touch</h1>+ <p className="mb-10" style={{ color: "var(--fg-2)" }}>+ Have a question or need help? Send us a message and we'll get+ back to you.+ </p>- <div>- <label- htmlFor="email"- className="block text-sm font-medium text-zinc-900 mb-1.5"- >- </label>- <input- id="email"- type="email"- required- value={email}- onChange={(e) => setEmail(e.target.value)}- className="w-full rounded-lg border border-zinc-300 bg-white px-3 py-2 text-sm text-zinc-900 placeholder:text-zinc-400 focus:outline-none focus:ring-2 focus:ring-zinc-900 focus:border-transparent transition-shadow"- placeholder="[email protected]"- />+ {status === "success" ? (+ <div+ className="rounded-[10px] p-6 text-center"+ style={{+ background: "color-mix(in oklab, var(--ok) 12%, transparent)",+ border: "1px solid color-mix(in oklab, var(--ok) 30%, transparent)",+ color: "var(--ok)",+ }}+ >+ <p className="font-medium">+ Thank you for reaching out! We'll get back to you soon.+ </p></div>+ ) : (+ <form onSubmit={handleSubmit} className="space-y-5">+ <div>+ <label+ htmlFor="subject"+ className="block text-sm font-medium mb-1.5"+ style={{ color: "var(--fg-0)", fontFamily: "var(--font-display)" }}+ >+ Subject+ </label>+ <input+ id="subject"+ type="text"+ required+ value={subject}+ onChange={(e) => setSubject(e.target.value)}+ className="w-full rounded-md px-3 py-2.5 text-sm outline-none focus:ring-2 transition"+ style={{+ ...inputStyle,+ ["--tw-ring-color" as string]: "var(--a1)",+ }}+ placeholder="What can we help with?"+ />+ </div>- <div>- <label- htmlFor="customerType"- className="block text-sm font-medium text-zinc-900 mb-1.5"- >- Customer Type- </label>- <select- id="customerType"- required- value={customerType}- onChange={(e) => setCustomerType(e.target.value)}- className="w-full rounded-lg border border-zinc-300 bg-white px-3 py-2 text-sm text-zinc-900 focus:outline-none focus:ring-2 focus:ring-zinc-900 focus:border-transparent transition-shadow"- >- <option value="" disabled>- Select an option- </option>- <option value="Existing Customer">Existing Customer</option>- <option value="New Customer">New Customer</option>- </select>- </div>+ <div>+ <label+ htmlFor="email"+ className="block text-sm font-medium mb-1.5"+ style={{ color: "var(--fg-0)", fontFamily: "var(--font-display)" }}+ >+ </label>+ <input+ id="email"+ type="email"+ required+ value={email}+ onChange={(e) => setEmail(e.target.value)}+ className="w-full rounded-md px-3 py-2.5 text-sm outline-none focus:ring-2 transition"+ style={inputStyle}+ placeholder="[email protected]"+ />+ </div>- <div>- <label- htmlFor="message"- className="block text-sm font-medium text-zinc-900 mb-1.5"- >- Message- </label>- <textarea- id="message"- required- rows={5}- value={message}- onChange={(e) => setMessage(e.target.value)}- className="w-full rounded-lg border border-zinc-300 bg-white px-3 py-2 text-sm text-zinc-900 placeholder:text-zinc-400 focus:outline-none focus:ring-2 focus:ring-zinc-900 focus:border-transparent transition-shadow resize-none"- placeholder="Tell us more..."- />- </div>+ <div>+ <label+ htmlFor="customerType"+ className="block text-sm font-medium mb-1.5"+ style={{ color: "var(--fg-0)", fontFamily: "var(--font-display)" }}+ >+ Customer type+ </label>+ <select+ id="customerType"+ required+ value={customerType}+ onChange={(e) => setCustomerType(e.target.value)}+ className="w-full rounded-md px-3 py-2.5 text-sm outline-none focus:ring-2 transition"+ style={inputStyle}+ >+ <option value="" disabled>+ Select an option+ </option>+ <option value="Existing Customer">Existing Customer</option>+ <option value="New Customer">New Customer</option>+ </select>+ </div>- {status === "error" && (- <div className="rounded-lg border border-red-200 bg-red-50 px-4 py-3">- <p className="text-red-800 text-sm">{errorMessage}</p>+ <div>+ <label+ htmlFor="message"+ className="block text-sm font-medium mb-1.5"+ style={{ color: "var(--fg-0)", fontFamily: "var(--font-display)" }}+ >+ Message+ </label>+ <textarea+ id="message"+ required+ rows={5}+ value={message}+ onChange={(e) => setMessage(e.target.value)}+ className="w-full rounded-md px-3 py-2.5 text-sm outline-none focus:ring-2 transition resize-none"+ style={inputStyle}+ placeholder="Tell us more..."+ /></div>- )}- <button- type="submit"- disabled={status === "loading"}- className="w-full rounded-lg bg-zinc-900 px-4 py-2.5 text-sm font-medium text-white hover:bg-zinc-800 shadow-lg shadow-zinc-900/20 disabled:opacity-50 disabled:cursor-not-allowed transition-colors"- >- {status === "loading" ? "Sending..." : "Send Message"}- </button>- </form>- )}- </div>+ {status === "error" && (+ <div+ className="rounded-md px-4 py-3 text-sm"+ style={{+ background: "color-mix(in oklab, var(--crit) 12%, transparent)",+ border: "1px solid color-mix(in oklab, var(--crit) 30%, transparent)",+ color: "var(--crit)",+ }}+ >+ {errorMessage}+ </div>+ )}++ <button+ type="submit"+ disabled={status === "loading"}+ className="btn btn-accent w-full justify-center disabled:opacity-60 disabled:cursor-not-allowed"+ >+ {status === "loading" ? "Sending..." : "Send Message"}+ </button>+ </form>+ )}+ </div>+ </section></main>);}diff --git a/website/app/globals.css b/website/app/globals.cssindex 0c55f3ae..390445ba 100644--- a/website/app/globals.css+++ b/website/app/globals.css@@ -3,129 +3,1309 @@@custom-variant dark (&:is(.dark *));+/* =============================================================+ Traceway Design Tokens — Dark-first, with light override+ Source: design guidelines/styles.css+ ============================================================= */++:root {+ color-scheme: dark;++ /* Ink & surfaces */+ --ink-0: #05070c;+ --ink-1: #0a0d14;+ --ink-2: #0f131c;+ --ink-3: #151a24;+ --ink-4: #1d2430;+ --ink-5: #283041;+ --hair: rgba(255, 255, 255, 0.06);+ --hair-2: rgba(255, 255, 255, 0.10);++ /* Text */+ --fg-0: #f4f6fb;+ --fg-1: #c9d0dd;+ --fg-2: #8a93a6;+ --fg-3: #5a6374;++ /* Accent — Electric Indigo palette */+ --a1: #7c5cff;+ --a2: #00d4ff;+ --a3: #ff4d8d;+ --a4: #ffd166;+ --ok: #22e0a8;+ --crit: #ff5a5f;++ /* Fonts (populated by next/font in layout.tsx) */+ --font-display: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;+ --font-mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, monospace;++ /* Radius */+ --radius: 6px;+ --radius-lg: 10px;+ --container-max: 1240px;++ /* shadcn aliases — pointed at Traceway tokens */+ --background: var(--ink-0);+ --foreground: var(--fg-0);+ --card: var(--ink-3);+ --card-foreground: var(--fg-0);+ --popover: var(--ink-3);+ --popover-foreground: var(--fg-0);+ --primary: var(--fg-0);+ --primary-foreground: var(--ink-0);+ --secondary: var(--ink-3);+ --secondary-foreground: var(--fg-0);+ --muted: var(--ink-2);+ --muted-foreground: var(--fg-2);+ --accent: var(--ink-3);+ --accent-foreground: var(--fg-0);+ --destructive: var(--crit);+ --border: var(--hair);+ --input: var(--hair-2);+ --ring: color-mix(in oklab, var(--a1) 70%, transparent);++ /* charts / sidebar aliases kept for compatibility */+ --chart-1: var(--a1);+ --chart-2: var(--a2);+ --chart-3: var(--a3);+ --chart-4: var(--a4);+ --chart-5: var(--ok);+ --sidebar: var(--ink-2);+ --sidebar-foreground: var(--fg-1);+ --sidebar-primary: var(--a1);+ --sidebar-primary-foreground: var(--fg-0);+ --sidebar-accent: var(--ink-3);+ --sidebar-accent-foreground: var(--fg-0);+ --sidebar-border: var(--hair);+ --sidebar-ring: var(--ring);+}++/* =============================================================+ Tailwind @theme — expose CSS vars as Tailwind utilities+ ============================================================= */@theme inline {--color-background: var(--background);--color-foreground: var(--foreground);- --font-sans: var(--font-geist-sans);- --font-mono: var(--font-geist-mono);- --color-sidebar-ring: var(--sidebar-ring);- --color-sidebar-border: var(--sidebar-border);- --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);- --color-sidebar-accent: var(--sidebar-accent);- --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);- --color-sidebar-primary: var(--sidebar-primary);- --color-sidebar-foreground: var(--sidebar-foreground);- --color-sidebar: var(--sidebar);- --color-chart-5: var(--chart-5);- --color-chart-4: var(--chart-4);- --color-chart-3: var(--chart-3);- --color-chart-2: var(--chart-2);- --color-chart-1: var(--chart-1);- --color-ring: var(--ring);- --color-input: var(--input);- --color-border: var(--border);- --color-destructive: var(--destructive);- --color-accent-foreground: var(--accent-foreground);- --color-accent: var(--accent);- --color-muted-foreground: var(--muted-foreground);- --color-muted: var(--muted);- --color-secondary-foreground: var(--secondary-foreground);- --color-secondary: var(--secondary);- --color-primary-foreground: var(--primary-foreground);- --color-primary: var(--primary);- --color-popover-foreground: var(--popover-foreground);- --color-popover: var(--popover);- --color-card-foreground: var(--card-foreground);--color-card: var(--card);- --radius-sm: calc(var(--radius) - 4px);- --radius-md: calc(var(--radius) - 2px);- --radius-lg: var(--radius);- --radius-xl: calc(var(--radius) + 4px);- --radius-2xl: calc(var(--radius) + 8px);- --radius-3xl: calc(var(--radius) + 12px);- --radius-4xl: calc(var(--radius) + 16px);-}+ --color-card-foreground: var(--card-foreground);+ --color-popover: var(--popover);+ --color-popover-foreground: var(--popover-foreground);+ --color-primary: var(--primary);+ --color-primary-foreground: var(--primary-foreground);+ --color-secondary: var(--secondary);+ --color-secondary-foreground: var(--secondary-foreground);+ --color-muted: var(--muted);+ --color-muted-foreground: var(--muted-foreground);+ --color-accent: var(--accent);+ --color-accent-foreground: var(--accent-foreground);+ --color-destructive: var(--destructive);+ --color-border: var(--border);+ --color-input: var(--input);+ --color-ring: var(--ring);-:root {- --radius: 0.625rem;- --background: oklch(1 0 0);- --foreground: oklch(0.129 0.042 264.695);- --card: oklch(1 0 0);- --card-foreground: oklch(0.129 0.042 264.695);- --popover: oklch(1 0 0);- --popover-foreground: oklch(0.129 0.042 264.695);- --primary: oklch(0.208 0.042 265.755);- --primary-foreground: oklch(0.984 0.003 247.858);- --secondary: oklch(0.968 0.007 247.896);- --secondary-foreground: oklch(0.208 0.042 265.755);- --muted: oklch(0.968 0.007 247.896);- --muted-foreground: oklch(0.554 0.046 257.417);- --accent: oklch(0.968 0.007 247.896);- --accent-foreground: oklch(0.208 0.042 265.755);- --destructive: oklch(0.577 0.245 27.325);- --border: oklch(0.929 0.013 255.508);- --input: oklch(0.929 0.013 255.508);- --ring: oklch(0.704 0.04 256.788);- --chart-1: oklch(0.646 0.222 41.116);- --chart-2: oklch(0.6 0.118 184.704);- --chart-3: oklch(0.398 0.07 227.392);- --chart-4: oklch(0.828 0.189 84.429);- --chart-5: oklch(0.769 0.188 70.08);- --sidebar: oklch(0.984 0.003 247.858);- --sidebar-foreground: oklch(0.129 0.042 264.695);- --sidebar-primary: oklch(0.208 0.042 265.755);- --sidebar-primary-foreground: oklch(0.984 0.003 247.858);- --sidebar-accent: oklch(0.968 0.007 247.896);- --sidebar-accent-foreground: oklch(0.208 0.042 265.755);- --sidebar-border: oklch(0.929 0.013 255.508);- --sidebar-ring: oklch(0.704 0.04 256.788);-}+ /* Traceway palette as Tailwind colors */+ --color-ink-0: var(--ink-0);+ --color-ink-1: var(--ink-1);+ --color-ink-2: var(--ink-2);+ --color-ink-3: var(--ink-3);+ --color-ink-4: var(--ink-4);+ --color-ink-5: var(--ink-5);+ --color-fg-0: var(--fg-0);+ --color-fg-1: var(--fg-1);+ --color-fg-2: var(--fg-2);+ --color-fg-3: var(--fg-3);+ --color-a1: var(--a1);+ --color-a2: var(--a2);+ --color-a3: var(--a3);+ --color-a4: var(--a4);+ --color-ok: var(--ok);+ --color-crit: var(--crit);+ --color-hair: var(--hair);+ --color-hair-2: var(--hair-2);++ --font-sans: var(--font-display);+ --font-display: var(--font-display);+ --font-mono: var(--font-mono);++ --radius-sm: calc(var(--radius) - 2px);+ --radius-md: var(--radius);+ --radius-lg: var(--radius-lg);+ --radius-xl: 14px;+ --radius-2xl: 18px;+ --radius-3xl: 24px;-.dark {- --background: oklch(0.129 0.042 264.695);- --foreground: oklch(0.984 0.003 247.858);- --card: oklch(0.208 0.042 265.755);- --card-foreground: oklch(0.984 0.003 247.858);- --popover: oklch(0.208 0.042 265.755);- --popover-foreground: oklch(0.984 0.003 247.858);- --primary: oklch(0.929 0.013 255.508);- --primary-foreground: oklch(0.208 0.042 265.755);- --secondary: oklch(0.279 0.041 260.031);- --secondary-foreground: oklch(0.984 0.003 247.858);- --muted: oklch(0.279 0.041 260.031);- --muted-foreground: oklch(0.704 0.04 256.788);- --accent: oklch(0.279 0.041 260.031);- --accent-foreground: oklch(0.984 0.003 247.858);- --destructive: oklch(0.704 0.191 22.216);- --border: oklch(1 0 0 / 10%);- --input: oklch(1 0 0 / 15%);- --ring: oklch(0.551 0.027 264.364);- --chart-1: oklch(0.488 0.243 264.376);- --chart-2: oklch(0.696 0.17 162.48);- --chart-3: oklch(0.769 0.188 70.08);- --chart-4: oklch(0.627 0.265 303.9);- --chart-5: oklch(0.645 0.246 16.439);- --sidebar: oklch(0.208 0.042 265.755);- --sidebar-foreground: oklch(0.984 0.003 247.858);- --sidebar-primary: oklch(0.488 0.243 264.376);- --sidebar-primary-foreground: oklch(0.984 0.003 247.858);- --sidebar-accent: oklch(0.279 0.041 260.031);- --sidebar-accent-foreground: oklch(0.984 0.003 247.858);- --sidebar-border: oklch(1 0 0 / 10%);- --sidebar-ring: oklch(0.551 0.027 264.364);+ --container-7xl: var(--container-max);++ /* sidebar aliases for shadcn */+ --color-sidebar: var(--sidebar);+ --color-sidebar-foreground: var(--sidebar-foreground);+ --color-sidebar-primary: var(--sidebar-primary);+ --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);+ --color-sidebar-accent: var(--sidebar-accent);+ --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);+ --color-sidebar-border: var(--sidebar-border);+ --color-sidebar-ring: var(--sidebar-ring);+ --color-chart-1: var(--chart-1);+ --color-chart-2: var(--chart-2);+ --color-chart-3: var(--chart-3);+ --color-chart-4: var(--chart-4);+ --color-chart-5: var(--chart-5);}+/* =============================================================+ Base+ ============================================================= */@layer base {* {- @apply border-border outline-ring/50;+ box-sizing: border-box;+ border-color: var(--border);+ }+ html,+ body {+ margin: 0;+ padding: 0;+ }+ html {+ background: var(--ink-0);+ font-family: var(--font-mono);}body {- @apply bg-background text-foreground;+ color: var(--fg-1);+ font-family: var(--font-mono);+ background:+ radial-gradient(1200px 700px at 85% -10%, color-mix(in oklab, var(--a1) 22%, transparent), transparent 60%),+ radial-gradient(900px 600px at -10% 20%, color-mix(in oklab, var(--a2) 14%, transparent), transparent 60%),+ var(--ink-0);+ font-feature-settings: "ss01", "cv11";+ -webkit-font-smoothing: antialiased;+ overflow-x: hidden;+ }+ h1,+ h2,+ h3,+ h4,+ h5,+ h6 {+ font-family: var(--font-display);+ color: var(--fg-0);+ font-weight: 700;+ margin: 0;+ }+ h1,+ h2 {+ text-wrap: balance;+ }+ h1 {+ font-size: clamp(40px, 5.6vw, 76px);+ line-height: 1.02;+ letter-spacing: -0.035em;+ font-weight: 700;+ }+ h2 {+ font-size: clamp(28px, 3.2vw, 46px);+ line-height: 1.05;+ letter-spacing: -0.025em;+ }+ h3 {+ font-size: clamp(20px, 1.7vw, 26px);+ line-height: 1.2;+ letter-spacing: -0.015em;+ font-weight: 600;+ }+ h4 {+ font-weight: 600;+ letter-spacing: -0.01em;+ }+ h1 em,+ h2 em {+ font-style: normal;+ background: linear-gradient(90deg, var(--a2), var(--a1) 60%, var(--a3));+ -webkit-background-clip: text;+ background-clip: text;+ color: transparent;+ font-weight: inherit;+ }+ p {+ color: var(--fg-1);+ font-size: 15px;+ line-height: 1.65;+ letter-spacing: -0.005em;+ margin: 0;+ }+ a {+ color: inherit;+ text-decoration: none;+ }+ button {+ font: inherit;+ color: inherit;+ cursor: pointer;+ }+ code {+ font-family: var(--font-mono);+ font-size: 0.92em;+ background: color-mix(in oklab, var(--a2) 10%, transparent);+ color: var(--a2);+ padding: 2px 6px;+ border-radius: 4px;+ border: 1px solid color-mix(in oklab, var(--a2) 20%, transparent);}}-button,-a:hover {- cursor: pointer !important;+/* =============================================================+ Utility components — ported from design guidelines/styles.css+ ============================================================= */+@layer components {+ .wrap {+ max-width: var(--container-max);+ margin: 0 auto;+ padding: 0 28px;+ }++ .eyebrow {+ font-family: var(--font-mono);+ font-size: 11px;+ letter-spacing: 0.14em;+ text-transform: uppercase;+ color: var(--a2);+ font-weight: 500;+ display: inline-block;+ }+ .eyebrow::before {+ content: "// ";+ opacity: 0.5;+ }+ .muted {+ color: var(--fg-2);+ }+ .dim {+ color: var(--fg-3);+ }++ /* Grid blueprint background */+ .gridbg {+ position: relative;+ }+ .gridbg::before {+ content: "";+ position: absolute;+ inset: 0;+ pointer-events: none;+ background-image:+ linear-gradient(to right, var(--hair) 1px, transparent 1px),+ linear-gradient(to bottom, var(--hair) 1px, transparent 1px);+ background-size: 56px 56px;+ mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 50%, transparent 100%);+ -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 50%, transparent 100%);+ z-index: 0;+ }+ .gridbg > * {+ position: relative;+ z-index: 1;+ }++ /* Buttons */+ .btn {+ display: inline-flex;+ align-items: center;+ gap: 8px;+ padding: 12px 18px;+ border-radius: var(--radius);+ font-family: var(--font-display);+ font-weight: 500;+ font-size: 14px;+ letter-spacing: -0.01em;+ transition: transform 0.12s ease, background 0.2s, border-color 0.2s, color 0.2s, filter 0.2s, box-shadow 0.2s;+ border: 1px solid transparent;+ white-space: nowrap;+ cursor: pointer;+ user-select: none;+ }+ .btn:active {+ transform: scale(0.97);+ }+ .btn-primary {+ background: var(--fg-0);+ color: var(--ink-0);+ box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 0 0 1px rgba(255, 255, 255, 0.12);+ }+ .btn-primary:hover {+ background: color-mix(in oklab, var(--fg-0) 92%, white);+ }+ .btn-accent {+ background: linear-gradient(180deg, color-mix(in oklab, var(--a1) 100%, white 12%), var(--a1));+ color: #0a0612;+ box-shadow: 0 10px 30px -12px color-mix(in oklab, var(--a1) 80%, transparent),+ 0 0 0 1px color-mix(in oklab, var(--a1) 40%, transparent);+ }+ .btn-accent:hover {+ filter: brightness(1.06);+ }+ .btn-ghost {+ border-color: var(--hair-2);+ color: var(--fg-0);+ background: transparent;+ }+ .btn-ghost:hover {+ background: var(--ink-3);+ border-color: var(--hair-2);+ }+ .btn-sm {+ padding: 7px 12px;+ font-size: 13px;+ }++ /* Chips */+ .chip {+ display: inline-flex;+ align-items: center;+ gap: 6px;+ padding: 4px 8px;+ border-radius: 999px;+ font-family: var(--font-mono);+ font-size: 11px;+ letter-spacing: 0.04em;+ color: var(--fg-1);+ background: var(--ink-3);+ border: 1px solid var(--hair);+ }+ .chip .dot {+ width: 6px;+ height: 6px;+ border-radius: 50%;+ background: var(--a2);+ box-shadow: 0 0 8px var(--a2);+ flex-shrink: 0;+ }+ .chip.ok .dot {+ background: var(--ok);+ box-shadow: 0 0 8px var(--ok);+ }+ .chip.crit .dot {+ background: var(--crit);+ box-shadow: 0 0 8px var(--crit);+ }++ /* Cards */+ .surface-card {+ background: linear-gradient(180deg, var(--ink-3), var(--ink-2));+ border: 1px solid var(--hair);+ border-radius: var(--radius-lg);+ padding: 22px;+ }+ /* Divider */+ .hair-rule {+ height: 1px;+ background: var(--hair);+ width: 100%;+ }++ /* Hero */+ .hero {+ padding: 80px 0 60px;+ position: relative;+ }+ .hero h1 em {+ font-style: normal;+ background: linear-gradient(90deg, var(--a2), var(--a1) 60%, var(--a3));+ -webkit-background-clip: text;+ background-clip: text;+ color: transparent;+ }+ .hero-sub {+ font-size: 19px;+ color: var(--fg-1);+ max-width: 540px;+ line-height: 1.5;+ margin-top: 22px;+ }+ .hero-cta-row {+ display: flex;+ gap: 12px;+ margin-top: 28px;+ flex-wrap: wrap;+ align-items: center;+ }++ /* Hero grid — left copy, right dashboard/pillars visual */+ .hero-grid {+ display: grid;+ grid-template-columns: 1.05fr 1.3fr;+ gap: 56px;+ align-items: center;+ }+ /* When pillars serve as the hero-right visual, reset the top margin+ that .pillars normally has when stacked below hero copy. */+ .hero-pillars .pillars {+ margin-top: 0;+ }+ .hero-pillars .pillars-sec {+ margin-top: 12px;+ }++ /* All 6 pillars in one uniform grid (hero-right inside pillar-wrap).+ gap handles both row AND column spacing; min-height keeps every+ card at the same visual size regardless of description length. */+ .pillars-all {+ display: grid;+ grid-template-columns: repeat(3, 1fr);+ gap: 16px;+ align-items: stretch;+ }+ .pillars-all > .pillar {+ min-height: 210px;+ display: flex;+ flex-direction: column;+ }+ @media (max-width: 720px) {+ .pillars-all {+ grid-template-columns: 1fr 1fr;+ }+ }++ /* Pillar wrap — a window-chrome frame with a "Traceway" title bar */+ .pillar-wrap {+ border-radius: 14px;+ border: 1px solid var(--hair-2);+ background: linear-gradient(+ 180deg,+ color-mix(in oklab, var(--ink-2) 80%, transparent),+ color-mix(in oklab, var(--ink-1) 60%, transparent)+ );+ overflow: hidden;+ box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7),+ 0 0 0 1px rgba(255, 255, 255, 0.03),+ inset 0 1px 0 rgba(255, 255, 255, 0.04);+ position: relative;+ }+ .pillar-wrap::before {+ content: "";+ position: absolute;+ inset: -1px;+ background: radial-gradient(+ 500px 260px at 70% 0%,+ color-mix(in oklab, var(--a1) 18%, transparent),+ transparent 60%+ );+ pointer-events: none;+ }+ .pillar-wrap-head {+ position: relative;+ z-index: 1;+ padding: 14px 18px;+ border-bottom: 1px solid var(--hair);+ display: flex;+ align-items: center;+ justify-content: space-between;+ gap: 12px;+ background: color-mix(in oklab, var(--ink-0) 35%, transparent);+ backdrop-filter: blur(6px);+ -webkit-backdrop-filter: blur(6px);+ }+ .pillar-wrap-brand {+ display: inline-flex;+ align-items: center;+ gap: 10px;+ font-family: var(--font-display);+ font-size: 13px;+ font-weight: 600;+ letter-spacing: -0.01em;+ color: var(--fg-0);+ }+ .pillar-wrap-brand img {+ height: 18px;+ width: auto;+ filter: invert(1) brightness(1.1);+ }+ .pillar-wrap-tag {+ display: inline-flex;+ align-items: center;+ gap: 6px;+ font-family: var(--font-mono);+ font-size: 10.5px;+ letter-spacing: 0.1em;+ text-transform: uppercase;+ color: var(--fg-3);+ }+ .pillar-wrap-tag .dot {+ width: 6px;+ height: 6px;+ border-radius: 50%;+ background: var(--ok);+ box-shadow: 0 0 8px var(--ok);+ }+ .pillar-wrap-body {+ position: relative;+ z-index: 1;+ padding: 22px;+ }++ /* Two-track header for section intros */+ .two-track {+ padding: 100px 0 40px;+ }+ .two-track-head {+ max-width: 760px;+ margin-bottom: 48px;+ }+ .two-track-head h2 {+ margin-top: 14px;+ }++ /* Pillar cards (home hero grid) */+ .pillars {+ display: grid;+ grid-template-columns: repeat(3, 1fr);+ gap: 12px;+ margin-top: 34px;+ }+ .pillars-sec {+ display: grid;+ grid-template-columns: repeat(3, 1fr);+ gap: 10px;+ margin-top: 10px;+ }+ .pillar {+ padding: 18px;+ border-radius: 10px;+ background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));+ border: 1px solid var(--hair);+ position: relative;+ overflow: hidden;+ display: block;+ color: inherit;+ transition: border-color 0.2s, transform 0.2s, background 0.2s;+ }+ .pillar:hover {+ border-color: var(--hair-2);+ transform: translateY(-2px);+ }+ .pillar .p-ico {+ width: 36px;+ height: 36px;+ border-radius: 8px;+ display: grid;+ place-items: center;+ background: color-mix(in oklab, var(--pc, var(--a1)) 18%, transparent);+ border: 1px solid color-mix(in oklab, var(--pc, var(--a1)) 40%, transparent);+ color: var(--pc, var(--a1));+ margin-bottom: 14px;+ }+ .pillar h4,+ .pillar .p-title {+ margin: 0 0 4px;+ font-family: var(--font-display);+ font-weight: 600;+ font-size: 17px;+ color: var(--fg-0);+ letter-spacing: -0.01em;+ }+ .pillar p,+ .pillar .p-desc {+ margin: 0;+ font-size: 13px;+ color: var(--fg-2);+ line-height: 1.45;+ }+ .pillar-sec {+ padding: 18px;+ border-radius: 10px;+ background: rgba(255, 255, 255, 0.02);+ border: 1px solid var(--hair);+ display: block;+ font-family: var(--font-display);+ color: inherit;+ transition: border-color 0.2s, background 0.2s, transform 0.2s;+ }+ .pillar-sec:hover {+ border-color: var(--hair-2);+ transform: translateY(-1px);+ }+ .pillar-sec .ps-title {+ color: var(--fg-0);+ font-family: var(--font-display);+ font-weight: 600;+ font-size: 17px;+ letter-spacing: -0.01em;+ line-height: 1.2;+ margin-bottom: 12px;+ }+ .pillar-sec .ps-body {+ display: grid;+ grid-template-columns: 28px 1fr;+ gap: 10px;+ align-items: start;+ }+ .pillar-sec .ps-ico {+ width: 28px;+ height: 28px;+ border-radius: 6px;+ display: grid;+ place-items: center;+ background: color-mix(in oklab, var(--pc, var(--a1)) 18%, transparent);+ border: 1px solid color-mix(in oklab, var(--pc, var(--a1)) 40%, transparent);+ color: var(--pc, var(--a1));+ flex-shrink: 0;+ }+ .pillar-sec .ps-desc {+ color: var(--fg-2);+ font-size: 13px;+ line-height: 1.45;+ }++ /* Terminal */+ .term {+ border-radius: var(--radius-lg);+ border: 1px solid var(--hair-2);+ background: linear-gradient(#080b12, #0d1220);+ overflow: hidden;+ box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);+ color: var(--fg-1);+ }+ .term-head {+ display: flex;+ align-items: center;+ gap: 8px;+ padding: 12px 14px;+ background: rgba(8, 11, 18, 0.8);+ border-bottom: 1px solid var(--hair);+ }+ .term-head .tdot {+ width: 10px;+ height: 10px;+ border-radius: 50%;+ background: #2a3040;+ }+ .term-head .ttl {+ margin-left: auto;+ font-family: var(--font-mono);+ font-size: 11px;+ color: var(--fg-3);+ letter-spacing: 0.08em;+ }+ .term-body {+ padding: 22px;+ font-family: var(--font-mono);+ font-size: 13px;+ line-height: 1.75;+ }+ .term-line {+ display: grid;+ grid-template-columns: 28px 1fr;+ gap: 0;+ }+ .term-line .ln {+ color: var(--fg-3);+ font-size: 11px;+ padding-top: 3px;+ }+ .term-line .tx {+ color: var(--fg-1);+ }+ .term-line .cmd {+ color: var(--a2);+ }+ .term-line .mute {+ color: var(--fg-3);+ }+ .term-line .ok {+ color: var(--ok);+ }+ .cursor {+ display: inline-block;+ width: 8px;+ height: 14px;+ background: var(--a2);+ vertical-align: -2px;+ animation: blink 1.2s steps(2) infinite;+ }+ @keyframes blink {+ 50% {+ opacity: 0;+ }+ }++ /* Feature rows */+ .feature-row {+ display: grid;+ grid-template-columns: 1fr 1.1fr;+ gap: 64px;+ align-items: center;+ padding: 80px 0;+ }+ .feature-row.reverse {+ grid-template-columns: 1.1fr 1fr;+ }+ .feature-row.reverse .feat-copy {+ order: 2;+ }+ .feat-copy h2 {+ margin: 16px 0 18px;+ }+ .feat-copy p {+ color: var(--fg-1);+ font-size: 17px;+ max-width: 480px;+ }+ .feat-bullets {+ list-style: none;+ padding: 0;+ margin: 24px 0 0;+ display: grid;+ gap: 12px;+ }+ .feat-bullets li {+ display: grid;+ grid-template-columns: 18px 1fr;+ gap: 10px;+ font-size: 15px;+ color: var(--fg-1);+ align-items: start;+ }+ .feat-bullets li::before {+ content: "";+ width: 14px;+ height: 14px;+ border-radius: 4px;+ background: color-mix(in oklab, var(--a1) 30%, transparent);+ border: 1px solid color-mix(in oklab, var(--a1) 50%, transparent);+ position: relative;+ top: 4px;+ }+ .feat-visual {+ position: relative;+ border-radius: 14px;+ overflow: hidden;+ border: 1px solid var(--hair-2);+ background: var(--ink-2);+ box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9);+ }+ .feat-visual img {+ width: 100%;+ height: auto;+ display: block;+ }++ /* Section head */+ .section-head {+ display: grid;+ grid-template-columns: 1fr auto;+ gap: 28px;+ align-items: end;+ margin-bottom: 44px;+ }+ .section-head p {+ max-width: 560px;+ color: var(--fg-2);+ }+ .section-head-center {+ text-align: center;+ max-width: 780px;+ margin: 0 auto 48px;+ display: flex;+ flex-direction: column;+ align-items: center;+ gap: 16px;+ }++ /* Bento */+ .bento-grid {+ display: grid;+ grid-template-columns: repeat(6, 1fr);+ grid-auto-rows: minmax(160px, auto);+ gap: 16px;+ }+ .b {+ grid-column: span 2;+ border-radius: var(--radius-lg);+ border: 1px solid var(--hair);+ background: linear-gradient(180deg, var(--ink-3), var(--ink-2));+ padding: 24px;+ position: relative;+ overflow: hidden;+ transition: transform 0.2s, border-color 0.2s;+ }+ .b:hover {+ border-color: var(--hair-2);+ }+ .b-wide {+ grid-column: span 3;+ grid-row: span 2;+ }+ .b-tall {+ grid-column: span 3;+ grid-row: span 2;+ }+ .b-med {+ grid-column: span 2;+ }+ .b-sm {+ grid-column: span 2;+ }+ .b h4 {+ font-family: var(--font-display);+ font-weight: 600;+ font-size: 20px;+ color: var(--fg-0);+ margin: 0 0 8px;+ letter-spacing: -0.02em;+ }+ .b p {+ font-size: 14px;+ color: var(--fg-2);+ margin: 0;+ max-width: 360px;+ }+ .b .b-head {+ display: flex;+ align-items: center;+ gap: 10px;+ margin-bottom: 14px;+ }+ .b .b-ico {+ width: 28px;+ height: 28px;+ border-radius: 6px;+ background: color-mix(in oklab, var(--a1) 20%, transparent);+ border: 1px solid color-mix(in oklab, var(--a1) 40%, transparent);+ display: grid;+ place-items: center;+ color: var(--a1);+ }++ /* Stats strip */+ .stats-strip {+ display: grid;+ grid-template-columns: repeat(4, 1fr);+ gap: 0;+ border-top: 1px solid var(--hair);+ border-bottom: 1px solid var(--hair);+ padding: 40px 0;+ margin-top: 40px;+ }+ .stat {+ padding: 0 28px;+ border-right: 1px solid var(--hair);+ }+ .stat:last-child {+ border-right: 0;+ }+ .stat .num {+ font-family: var(--font-display);+ font-size: 44px;+ line-height: 1;+ color: var(--fg-0);+ letter-spacing: -0.04em;+ font-weight: 600;+ }+ .stat .num em {+ font-style: normal;+ background: linear-gradient(90deg, var(--a2), var(--a1));+ -webkit-background-clip: text;+ background-clip: text;+ color: transparent;+ }+ .stat .lbl {+ margin-top: 10px;+ font-family: var(--font-mono);+ font-size: 11px;+ color: var(--fg-2);+ letter-spacing: 0.1em;+ text-transform: uppercase;+ }++ /* Two-track */+ .tracks {+ display: grid;+ grid-template-columns: 1fr 1fr;+ gap: 24px;+ }+ .track {+ position: relative;+ padding: 32px;+ border-radius: var(--radius-lg);+ background:+ radial-gradient(400px 200px at 100% 0%, color-mix(in oklab, var(--track) 28%, transparent), transparent 60%),+ linear-gradient(180deg, var(--ink-3), var(--ink-2));+ border: 1px solid var(--hair);+ overflow: hidden;+ min-height: 420px;+ }+ .track[data-kind="detect"] {+ --track: var(--a3);+ }+ .track[data-kind="resolve"] {+ --track: var(--a1);+ }+ .track-badge {+ display: inline-flex;+ align-items: center;+ gap: 8px;+ font-family: var(--font-mono);+ font-size: 11px;+ letter-spacing: 0.1em;+ text-transform: uppercase;+ color: var(--track);+ padding: 4px 8px;+ border: 1px solid color-mix(in oklab, var(--track) 30%, transparent);+ border-radius: 4px;+ background: color-mix(in oklab, var(--track) 10%, transparent);+ }+ .track h3 {+ margin: 18px 0 10px;+ font-size: 30px;+ letter-spacing: -0.03em;+ }+ .track p {+ color: var(--fg-2);+ max-width: 420px;+ }+ .track-list {+ margin-top: 20px;+ display: grid;+ gap: 10px;+ padding: 0;+ }+ .track-list li {+ display: flex;+ align-items: center;+ gap: 10px;+ list-style: none;+ font-family: var(--font-display);+ font-size: 14px;+ color: var(--fg-1);+ }+ .track-list li::before {+ content: "";+ width: 14px;+ height: 1px;+ background: var(--track);+ }++ /* FAQ — native details/summary */+ .faq-list {+ max-width: 820px;+ margin: 0 auto;+ }+ .faq-q {+ border-top: 1px solid var(--hair);+ padding: 22px 0;+ }+ .faq-q:last-child {+ border-bottom: 1px solid var(--hair);+ }+ .faq-q summary {+ list-style: none;+ cursor: pointer;+ display: flex;+ justify-content: space-between;+ align-items: center;+ gap: 20px;+ font-family: var(--font-display);+ font-size: 18px;+ color: var(--fg-0);+ letter-spacing: -0.01em;+ font-weight: 600;+ }+ .faq-q summary::-webkit-details-marker {+ display: none;+ }+ .faq-q summary .plus {+ font-family: var(--font-mono);+ color: var(--a2);+ font-size: 22px;+ line-height: 1;+ transition: transform 0.2s;+ flex-shrink: 0;+ }+ .faq-q[open] summary .plus {+ transform: rotate(45deg);+ }+ .faq-q .faq-a {+ margin: 14px 0 0;+ color: var(--fg-1);+ font-size: 15px;+ max-width: 720px;+ line-height: 1.7;+ }+ .faq-q .faq-a p + p {+ margin-top: 12px;+ }++ /* Final CTA */+ .final-cta-box {+ position: relative;+ border-radius: 16px;+ padding: 72px 40px;+ text-align: center;+ background:+ radial-gradient(600px 300px at 50% 120%, color-mix(in oklab, var(--a1) 30%, transparent), transparent 60%),+ radial-gradient(500px 250px at 50% -40%, color-mix(in oklab, var(--a2) 25%, transparent), transparent 60%),+ linear-gradient(180deg, var(--ink-3), var(--ink-2));+ border: 1px solid var(--hair-2);+ overflow: hidden;+ }+ .final-cta-box::before {+ content: "";+ position: absolute;+ inset: 0;+ background-image:+ linear-gradient(to right, var(--hair) 1px, transparent 1px),+ linear-gradient(to bottom, var(--hair) 1px, transparent 1px);+ background-size: 32px 32px;+ mask-image: radial-gradient(ellipse 70% 90% at 50% 50%, #000 30%, transparent 80%);+ -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 50%, #000 30%, transparent 80%);+ }+ .final-cta-box h2 {+ position: relative;+ font-size: clamp(36px, 4.4vw, 64px);+ }+ .final-cta-box p {+ position: relative;+ margin-top: 18px;+ color: var(--fg-1);+ max-width: 620px;+ margin-left: auto;+ margin-right: auto;+ font-size: 17px;+ }+ .final-cta-box .btns {+ margin-top: 28px;+ display: flex;+ gap: 12px;+ justify-content: center;+ flex-wrap: wrap;+ position: relative;+ }++ /* Cost comparison bars */+ .cost-wrap {+ max-width: 1100px;+ margin: 0 auto;+ }+ .cost-bars {+ display: grid;+ grid-template-columns: 110px 1fr 140px;+ gap: 20px;+ align-items: center;+ padding: 18px 0;+ border-top: 1px dashed var(--hair);+ }+ .cost-bars:first-of-type {+ border-top: 0;+ }+ .cost-name {+ font-family: var(--font-display);+ font-size: 16px;+ color: var(--fg-0);+ display: flex;+ align-items: center;+ gap: 10px;+ }+ .cost-bar {+ position: relative;+ height: 40px;+ background: rgba(128, 128, 128, 0.06);+ border-radius: 4px;+ overflow: hidden;+ }+ .cost-bar .fill {+ position: absolute;+ inset: 0 auto 0 0;+ background: linear-gradient(90deg, rgba(255, 90, 95, 0.75), rgba(255, 90, 95, 0.35));+ display: flex;+ align-items: center;+ justify-content: flex-end;+ padding-right: 14px;+ font-family: var(--font-mono);+ font-size: 11px;+ color: #fff;+ }+ .cost-bar.us .fill {+ background: linear-gradient(90deg, color-mix(in oklab, var(--a1) 90%, white 0%), color-mix(in oklab, var(--a2) 80%, transparent));+ color: #07090f;+ font-weight: 600;+ }+ .cost-total {+ font-family: var(--font-mono);+ font-size: 15px;+ color: var(--fg-1);+ text-align: right;+ }+ .cost-total em {+ font-style: normal;+ color: var(--fg-0);+ }+ .cost-total.us em {+ color: var(--a2);+ }++ /* Live dashboard / hero visual wrap */+ .live-dash {+ position: relative;+ border-radius: 14px;+ overflow: hidden;+ border: 1px solid var(--hair-2);+ background: linear-gradient(180deg, #0d1220, #080b12);+ box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8),+ 0 0 0 1px rgba(255, 255, 255, 0.04),+ inset 0 1px 0 rgba(255, 255, 255, 0.05);+ }+ .live-dash::before {+ content: "";+ position: absolute;+ inset: -1px;+ background: radial-gradient(600px 300px at 70% 0%, color-mix(in oklab, var(--a1) 26%, transparent), transparent 60%);+ pointer-events: none;+ }+ /* Logos row — marquee host */+ .logos-row {+ display: flex;+ align-items: center;+ justify-content: center;+ gap: 40px;+ flex-wrap: wrap;+ padding: 30px 0 10px;+ opacity: 0.7;+ }++ /* Tags */+ .tag {+ font-family: var(--font-mono);+ font-size: 10.5px;+ letter-spacing: 0.1em;+ text-transform: uppercase;+ color: var(--fg-2);+ padding: 5px 9px;+ border: 1px solid var(--hair-2);+ border-radius: 4px;+ }+ .tag.active {+ color: var(--a1);+ border-color: color-mix(in oklab, var(--a1) 50%, transparent);+ background: color-mix(in oklab, var(--a1) 10%, transparent);+ }++ /* Prose — minimal, for legal pages */+ .prose {+ max-width: 760px;+ margin: 0 auto;+ color: var(--fg-1);+ font-size: 15px;+ line-height: 1.75;+ }+ .prose h1 {+ font-size: clamp(32px, 3.2vw, 48px);+ margin: 0 0 24px;+ }+ .prose h2 {+ font-size: clamp(22px, 2vw, 28px);+ margin: 48px 0 16px;+ color: var(--fg-0);+ }+ .prose h3 {+ font-size: 18px;+ margin: 32px 0 12px;+ color: var(--fg-0);+ }+ .prose p {+ margin: 0 0 16px;+ }+ .prose ul,+ .prose ol {+ margin: 0 0 16px;+ padding-left: 24px;+ }+ .prose li {+ margin: 6px 0;+ }+ .prose a {+ color: var(--a2);+ text-decoration: underline;+ text-underline-offset: 3px;+ }+ .prose code {+ font-family: var(--font-mono);+ font-size: 0.9em;+ }++ /* Logo color control */+ .logo-img {+ filter: invert(1) brightness(1.1);+ }}+/* Responsive */+@media (max-width: 1080px) {+ .hero-grid {+ grid-template-columns: 1fr;+ gap: 40px;+ }+ .pillars,+ .pillars-sec {+ grid-template-columns: 1fr 1fr;+ }+ .feature-row,+ .feature-row.reverse {+ grid-template-columns: 1fr;+ gap: 40px;+ padding: 60px 0;+ }+ .feature-row.reverse .feat-copy {+ order: 0;+ }+ .tracks {+ grid-template-columns: 1fr;+ }+ .bento-grid {+ grid-template-columns: repeat(4, 1fr);+ }+ .b-wide,+ .b-tall {+ grid-column: span 4;+ grid-row: span 1;+ }+ .b {+ grid-column: span 2;+ }+ .stats-strip {+ grid-template-columns: repeat(2, 1fr);+ }+ .stat {+ border-right: 0;+ border-bottom: 1px solid var(--hair);+ padding: 20px 16px;+ }+ .section-head {+ grid-template-columns: 1fr;+ }+}+@media (max-width: 720px) {+ .pillars {+ grid-template-columns: 1fr 1fr;+ }+ .pillars-sec {+ grid-template-columns: 1fr;+ }+ .bento-grid {+ grid-template-columns: 1fr;+ }+ .b,+ .b-wide,+ .b-tall {+ grid-column: span 1;+ }+ .cost-bars {+ grid-template-columns: 90px 1fr;+ }+ .cost-total {+ grid-column: 1 / -1;+ text-align: left;+ }+ .final-cta-box {+ padding: 48px 24px;+ }+ .wrap {+ padding: 0 20px;+ }+}diff --git a/website/app/layout.tsx b/website/app/layout.tsxindex d6f22d12..63a3ae2f 100644--- a/website/app/layout.tsx+++ b/website/app/layout.tsx@@ -1,18 +1,25 @@import { SiteHeader } from "@/components/site-header";import { SiteFooter } from "@/components/site-footer";+import { MotionPolish } from "@/components/motion-polish";import type { Metadata } from "next";-import { Geist, Geist_Mono } from "next/font/google";+import { JetBrains_Mono, IBM_Plex_Mono } from "next/font/google";import Script from "next/script";import "./globals.css";-const geistSans = Geist({- variable: "--font-geist-sans",+// Dark-only site — no theme toggle.++const jetbrainsMono = JetBrains_Mono({+ variable: "--font-display",subsets: ["latin"],+ weight: ["400", "500", "600", "700"],+ display: "swap",});-const geistMono = Geist_Mono({- variable: "--font-geist-mono",+const ibmPlexMono = IBM_Plex_Mono({+ variable: "--font-mono",subsets: ["latin"],+ weight: ["400", "500", "600"],+ display: "swap",});export const metadata: Metadata = {@@ -20,8 +27,9 @@ export const metadata: Metadata = {alternates: {canonical: "./",},- title: "Traceway - Know what to fix first",- description: "Traceway scores every endpoint and exception by real user impact, then ranks them. 100% open source telemetry, issue tracking, and session replay for Go & JavaScript.",+ title: "Traceway — Logs, Traces, Metrics, Session Replay, Stack Traces",+ description:+ "Traceway is open-source observability for modern backends. Logs, traces, metrics, session replay, and stack traces — correlated by one trace ID. Self-host free or run on Traceway Cloud.",icons: {icon: "/favicon.ico",},@@ -33,7 +41,10 @@ export default function RootLayout({children: React.ReactNode;}>) {return (- <html lang="en">+ <html+ lang="en"+ className={`${jetbrainsMono.variable} ${ibmPlexMono.variable}`}+ ><Scriptsrc="https://www.googletagmanager.com/gtag/js?id=G-KSB465GF2W"strategy="afterInteractive"@@ -46,12 +57,11 @@ export default function RootLayout({gtag('config', 'G-KSB465GF2W');`}</Script>- <body- className={`${geistSans.variable} ${geistMono.variable} antialiased`}- >+ <body className="antialiased"><SiteHeader />{children}<SiteFooter />+ <MotionPolish /></body></html>);diff --git a/website/app/page.tsx b/website/app/page.tsxindex 15581840..8c02be9d 100644--- a/website/app/page.tsx+++ b/website/app/page.tsx@@ -1,701 +1,416 @@-import Image from "next/image";import Link from "next/link";--import {- Card,- CardDescription,- CardHeader,- CardTitle,-} from "@/components/ui/card";-import {- Accordion,- AccordionContent,- AccordionItem,- AccordionTrigger,-} from "@/components/ui/accordion";+import Image from "next/image";import {- Github,ArrowRight,- Bug,Video,- Activity,- Lock,- Terminal,- GitCompare,+ ScrollText,+ Network,+ BarChart3,Workflow,+ Bug,+ XCircle,+ CheckCircle2,} from "lucide-react";-import { ImpactScoreVisual } from "@/components/impact-score-visual";-import { CostComparison } from "@/components/cost-comparison";-import { DockerCommand } from "@/components/docker-command";-import { DistributedTraceVisual } from "@/components/distributed-trace-visual";-import { HomeTabs } from "@/components/home-tabs";-import { FrameworkMarquee } from "@/components/framework-marquee";++import { Eyebrow } from "@/components/eyebrow";+import { Chip } from "@/components/chip";+import { PillarCard } from "@/components/pillar-card";+import { FinalCTA } from "@/components/final-cta";+import { Terminal } from "@/components/terminal";+import { StatsStrip } from "@/components/stats-strip";+import { TwoTrack } from "@/components/two-track";+import { HeroEmailCTA } from "@/components/hero-email-cta";export default function Home() {return (- <main className="min-h-screen bg-white text-zinc-950 font-sans selection:bg-zinc-100 selection:text-zinc-900">- {/* Section 1: Hero */}- <section className="relative pt-16 pb-20 overflow-hidden">- <div className="absolute inset-0 -z-10 h-full w-full bg-white bg-[radial-gradient(#e5e7eb_1px,transparent_1px)] [background-size:16px_16px] [mask-image:radial-gradient(ellipse_50%_50%_at_50%_50%,#000_70%,transparent_100%)]"></div>+ <main className="relative">+ {/* HERO — dash0-style centered block: chip, title, subtitle, email form, book-a-demo helper */}+ <section className="hero gridbg">+ <div className="wrap">+ <div className="text-center max-w-3xl mx-auto flex flex-col items-center">+ <Chip variant="ok">OpenTelemetry-native</Chip>+ <h1 className="mt-6">+ Observability that <em>closes the loop.</em>+ </h1>- <div className="container mx-auto px-4 relative z-10 text-center">- <Link href="https://github.com/tracewayapp/traceway" target="_blank">- <span className="inline-flex items-center mb-4 bg-green-50 text-green-700 hover:bg-green-100 px-2.5 py-0.5 border border-green-200 text-xs font-medium rounded-full cursor-pointer transition-colors">- 100% Open Source- </span>- </Link>- <h1 className="text-4xl md:text-6xl font-bold tracking-tight mb-6 text-zinc-900">- The full picture behind every error- </h1>- <p className="text-zinc-600 text-lg md:text-xl max-w-2xl mx-auto mb-10 leading-relaxed font-medium">- Traceway attaches session replays, distributed traces, and resolved- stack traces to every error automatically. Open an issue and- immediately understand what went wrong, across frontend and- backend.- </p>- <div className="flex flex-col sm:flex-row items-center justify-center gap-3">- <Link href="https://docs.tracewayapp.com" className="inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-all cursor-pointer h-10 px-6 bg-zinc-900 text-white hover:bg-zinc-800 shadow-lg shadow-zinc-900/20">- Get Started <ArrowRight className="ml-2 h-4 w-4" />- </Link>- <Link href="https://github.com/tracewayapp/traceway" target="_blank" className="inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-all cursor-pointer h-10 px-6 border border-zinc-200 bg-white hover:bg-zinc-50 text-zinc-900 shadow-sm">- <Github className="mr-2 h-4 w-4" /> View on GitHub- </Link>- </div>- <div className="mt-4">- <Link- href="https://cloud.tracewayapp.com/[email protected]&password=demoaccount!"- className="text-sm text-zinc-500 hover:text-zinc-700 transition-colors"- >- or try the live demo <ArrowRight className="inline h-3 w-3" />- </Link>+ <div className="mt-10 w-full">+ <HeroEmailCTA />+ </div></div></div></section>- {/* Section 2: Framework Logos */}- <section className="pt-0 pb-10 bg-white border-b border-zinc-100">- <div className="mx-auto max-w-4xl">- <p className="text-center text-xs font-semibold text-zinc-400 uppercase tracking-wider mb-6">- Works with YOUR stack- </p>- <FrameworkMarquee />- </div>- </section>-- {/* Section 3: Impact Score */}- <section className="py-20 bg-zinc-50/50 border-b border-zinc-100">- <div className="container mx-auto px-4 max-w-5xl">- <div className="text-center mb-12">- <h2 className="text-3xl md:text-4xl font-bold mb-4 text-zinc-900 tracking-tight">- One score. Five signals. Zero guesswork.- </h2>- <p className="text-zinc-600 text-lg max-w-2xl mx-auto">- The Impact Score combines five service-level indicators into one- automatic priority for every endpoint. It takes the max across all- five - if any single signal is bad, the endpoint surfaces- immediately.- </p>- </div>- <div className="max-w-4xl mx-auto overflow-x-auto">- <ImpactScoreVisual />+ {/* PRODUCT SHOWCASE — 6 pillars in the branded "Traceway" box */}+ <section className="pb-24">+ <div className="wrap max-w-5xl mx-auto">+ <div id="dashboard-mount" className="pillar-wrap">+ <div className="pillar-wrap-head">+ <span className="pillar-wrap-brand">+ <Image+ src="/images/logo.png"+ alt="Traceway"+ width={120}+ height={24}+ priority+ />+ </span>+ <span className="pillar-wrap-tag">+ <span className="dot" aria-hidden />+ observability · live+ </span>+ </div>+ <div className="pillar-wrap-body">+ <div className="pillars-all">+ <PillarCard+ icon={ScrollText}+ title="Logs"+ description="Structured, trace-linked, sub-second search."+ href="/product/logs"+ color="a2"+ />+ <PillarCard+ icon={Network}+ title="Traces"+ description="End-to-end span waterfalls across every service."+ href="/product/traces"+ color="a1"+ />+ <PillarCard+ icon={BarChart3}+ title="Metrics"+ description="Host, runtime, custom — any dimension, any chart."+ href="/product/metrics"+ color="ok"+ />+ <PillarCard+ icon={Video}+ title="Session replay"+ description="Web DOM capture + exception attach."+ href="/product/session-replay"+ color="a2"+ />+ <PillarCard+ icon={Bug}+ title="Stack traces"+ description="Grouped, ranked, Impact Score."+ href="/product/stack-traces"+ color="a3"+ />+ <PillarCard+ icon={Workflow}+ title="AI tracing"+ description="LLM cost, tokens, conversations."+ href="/product/ai-tracing"+ color="a4"+ />+ </div>+ </div></div></div></section>- {/* OpenTelemetry Support */}- <section className="py-16 bg-white border-b border-zinc-100">- <div className="container mx-auto px-4 max-w-3xl text-center">- <Image- src="/images/frameworks/otel.png"- alt="OpenTelemetry"- width={48}- height={48}- className="mx-auto mb-6 h-12 w-auto"- />- <h2 className="text-3xl md:text-4xl font-bold mb-4 text-zinc-900 tracking-tight">- Send from any OpenTelemetry source- </h2>- <p className="text-zinc-600 text-lg max-w-xl mx-auto">- Already instrumented with OTel? Point your OTLP exporter at- Traceway. No proprietary SDK lock-in.- </p>- </div>- </section>-- {/* Distributed Tracing Example */}- <section className="py-20 bg-zinc-50/50 border-b border-zinc-100">- <div className="container mx-auto px-4 max-w-5xl">- <div className="text-center mb-12">- <h2 className="text-3xl md:text-4xl font-bold mb-4 text-zinc-900 tracking-tight">- Trace requests across every service+ {/* SMB POSITIONING — 3-way comparison: Enterprise SaaS / DIY OSS / Traceway */}+ <section className="two-track" id="otel">+ <div className="wrap">+ <div className="two-track-head">+ <Eyebrow>For teams without an SRE</Eyebrow>+ <h2>+ Everything you'd build or buy.{" "}+ <em>Stitched by one trace ID.</em></h2>- <p className="text-zinc-600 text-lg max-w-2xl mx-auto">- Follow a single user action from the browser through your API- gateway, backend services, and database calls. See the full- picture in one distributed trace.+ <p className="muted mt-4 max-w-[700px]">+ Most teams either pay enterprise tools, or spend months wiring up+ their own. Traceway gives you both — logs, traces, metrics,+ session replay, stack traces, and AI — in one connected system,+ not six.</p></div>- <div className="max-w-4xl mx-auto">- <DistributedTraceVisual />- </div>- </div>- </section>- {/* Section 4: Feature Showcase */}- <section className="py-24 bg-white border-b border-zinc-100">- <div className="container mx-auto px-4 max-w-5xl space-y-32">- {/* 4a: Exception Tracking */}- <div className="flex flex-col md:flex-row items-center gap-12 lg:gap-20">- <div className="flex-1 space-y-6">- <div className="w-12 h-12 bg-red-50 rounded-2xl flex items-center justify-center">- <Bug className="w-6 h-6 text-red-600" />- </div>- <h3 className="text-2xl md:text-3xl font-bold text-zinc-900 tracking-tight">- Every exception, grouped and ranked+ <div className="grid grid-cols-1 lg:grid-cols-3 gap-5">+ {/* Column 1 — Enterprise SaaS route */}+ <div+ className="rounded-[12px] p-7 relative overflow-hidden"+ style={{+ background:+ "linear-gradient(180deg, color-mix(in oklab, var(--ink-2) 70%, transparent), color-mix(in oklab, var(--ink-1) 50%, transparent))",+ border: "1px solid var(--hair)",+ }}+ >+ <Eyebrow>The enterprise route</Eyebrow>+ <h3+ className="mt-3"+ style={{+ color: "var(--fg-1)",+ fontSize: 19,+ letterSpacing: "-0.015em",+ }}+ >+ Pay Datadog + Sentry + PagerDuty.</h3>- <p className="text-zinc-600 text-lg leading-relaxed">- Full stack traces, 10-step normalization, SHA-256 grouping.- Thousands of duplicates collapse into one ranked issue so you- fix what matters first.- </p>- <ul className="space-y-3 pt-2">- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-red-500"></div>- Full stack trace capture- </li>- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-red-500"></div>- Intelligent error grouping- </li>- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-red-500"></div>- User impact analysis- </li>+ <ul className="mt-5 space-y-3">+ {[+ "Hire a senior SRE (~$200k+/year)",+ "Datadog + Sentry + PagerDuty — 3 bills, 3 auth systems",+ "Metered per event, per host, per seat — surprise overages",+ "Proprietary SDKs per language, per vendor",+ ].map((item) => (+ <li+ key={item}+ className="flex items-start gap-3 text-[14px]"+ style={{ color: "var(--fg-2)", lineHeight: 1.5 }}+ >+ <XCircle+ className="mt-0.5 flex-shrink-0"+ style={{ color: "var(--crit)" }}+ size={18}+ />+ <span>{item}</span>+ </li>+ ))}</ul></div>- <div className="flex-1 w-full relative">- <div className="absolute inset-0 bg-gradient-to-tr from-red-100/50 to-transparent rounded-3xl transform rotate-3 scale-105 -z-10"></div>- <div className="relative rounded-xl overflow-hidden border border-zinc-200 bg-white">- <Image- src="/images/screenshot-2.png"- alt="Exception Tracking Interface"- width={800}- height={600}- className="w-full h-auto"- />- </div>- </div>- </div>- {/* 4b: Session Replay */}- <div className="flex flex-col md:flex-row-reverse items-center gap-12 lg:gap-20">- <div className="flex-1 space-y-6">- <div className="w-12 h-12 bg-purple-50 rounded-2xl flex items-center justify-center">- <Video className="w-6 h-6 text-purple-600" />- </div>- <h3 className="text-2xl md:text-3xl font-bold text-zinc-900 tracking-tight">- See exactly what the user did+ {/* Column 2 — DIY open-source route */}+ <div+ className="rounded-[12px] p-7 relative overflow-hidden"+ style={{+ background:+ "linear-gradient(180deg, color-mix(in oklab, var(--ink-2) 70%, transparent), color-mix(in oklab, var(--ink-1) 50%, transparent))",+ border: "1px solid var(--hair)",+ }}+ >+ <Eyebrow>The DIY route</Eyebrow>+ <h3+ className="mt-3"+ style={{+ color: "var(--fg-1)",+ fontSize: 19,+ letterSpacing: "-0.015em",+ }}+ >+ Glue 6 open-source tools together.</h3>- <p className="text-zinc-600 text-lg leading-relaxed">- Traceway captures ~10 seconds of user activity before every- error. Clicks, scrolls, and form interactions are attached to- exceptions automatically - no manual reproduction needed.- </p>- <ul className="space-y-3 pt-2">- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-purple-500"></div>- Pre-error activity capture- </li>- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-purple-500"></div>- Automatic attachment to exceptions- </li>- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-purple-500"></div>- Clicks, scrolls, and form interactions- </li>+ <ul className="mt-5 space-y-3">+ {[+ "Prometheus + Grafana + Loki + Tempo + Alertmanager",+ "OTel Collector on top + errbit or self-hosted Sentry",+ "Cardinality, retention, upgrades — weekly ops work",+ "Session replay + source maps? Good luck wiring it.",+ ].map((item) => (+ <li+ key={item}+ className="flex items-start gap-3 text-[14px]"+ style={{ color: "var(--fg-2)", lineHeight: 1.5 }}+ >+ <XCircle+ className="mt-0.5 flex-shrink-0"+ style={{ color: "var(--crit)" }}+ size={18}+ />+ <span>{item}</span>+ </li>+ ))}</ul></div>- <div className="flex-1 w-full relative">- <div className="absolute inset-0 bg-gradient-to-tl from-purple-100/50 to-transparent rounded-3xl transform -rotate-3 scale-105 -z-10"></div>- <div className="relative rounded-xl overflow-hidden border border-zinc-200 bg-white">- <Image- src="/images/session-replay.png"- alt="Session Replay Interface"- width={800}- height={600}- className="w-full h-auto"- />- </div>- </div>- </div>- {/* 4c: Endpoint Introspection */}- <div className="flex flex-col md:flex-row items-center gap-12 lg:gap-20">- <div className="flex-1 space-y-6">- <div className="w-12 h-12 bg-blue-50 rounded-2xl flex items-center justify-center">- <Activity className="w-6 h-6 text-blue-600" />- </div>- <h3 className="text-2xl md:text-3xl font-bold text-zinc-900 tracking-tight">- Drill into any request+ {/* Column 3 — With Traceway (highlighted) */}+ <div+ className="rounded-[12px] p-7 relative overflow-hidden"+ style={{+ background:+ "radial-gradient(500px 280px at 90% 0%, color-mix(in oklab, var(--ok) 14%, transparent), transparent 60%), linear-gradient(180deg, var(--ink-3), var(--ink-2))",+ border: "1px solid color-mix(in oklab, var(--ok) 30%, var(--hair-2))",+ boxShadow:+ "0 20px 40px -20px color-mix(in oklab, var(--ok) 30%, transparent)",+ }}+ >+ <Eyebrow>With Traceway</Eyebrow>+ <h3+ className="mt-3"+ style={{+ color: "var(--fg-0)",+ fontSize: 19,+ letterSpacing: "-0.015em",+ }}+ >+ One system. One trace ID. Every surface stitched.</h3>- <p className="text-zinc-600 text-lg leading-relaxed">- Request/response details, waterfall traces, and custom context- tags. Understand the exact state of your application for every- single trace.- </p>- <ul className="space-y-3 pt-2">- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-blue-500"></div>- Detailed request/response data- </li>- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-blue-500"></div>- Waterfall trace view- </li>- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-blue-500"></div>- Custom context & tagging- </li>+ <ul className="mt-5 space-y-3">+ {[+ "Logs + traces + metrics + replay + stacks + AI — bundled",+ "MIT-licensed — no BSL, no open-core asterisks",+ <>+ <code>docker compose up -d</code> — 90-second install+ </>,+ "Click a log, see its span, see the replay, see the exception",+ ].map((item, i) => (+ <li+ key={i}+ className="flex items-start gap-3 text-[14px]"+ style={{ color: "var(--fg-1)", lineHeight: 1.5 }}+ >+ <CheckCircle2+ className="mt-0.5 flex-shrink-0"+ style={{ color: "var(--ok)" }}+ size={18}+ />+ <span>{item}</span>+ </li>+ ))}</ul></div>- <div className="flex-1 w-full relative">- <div className="absolute inset-0 bg-gradient-to-tr from-blue-100/50 to-transparent rounded-3xl transform rotate-3 scale-105 -z-10"></div>- <div className="relative rounded-xl overflow-hidden border border-zinc-200 bg-white">- <Image- src="/images/screenshot-1.png"- alt="Endpoint Introspection"- width={800}- height={600}- className="w-full h-auto"- />- </div>- </div></div></div></section>- {/* Section 6: Use Case Tabs */}- <section className="py-20 bg-zinc-50/50 border-b border-zinc-100">- <div className="container mx-auto px-4 max-w-5xl">- <div className="text-center mb-12">- <h2 className="text-3xl md:text-4xl font-bold mb-4 text-zinc-900 tracking-tight">- Built for every layer of your stack+ {/* COST — brief, left-aligned */}+ <section className="py-24" id="cost">+ <div className="wrap">+ <div className="max-w-3xl">+ <Eyebrow>Pricing that doesn't lie to you</Eyebrow>+ <h2 className="mt-4">+ A fraction of the cost. <em>None of the asterisks.</em></h2>- <p className="text-zinc-600 text-lg max-w-2xl mx-auto">- Whether you're debugging a slow API, a frontend crash, or a- failing microservice call, Traceway gives you the right view.+ <p className="muted mt-4 max-w-[640px]">+ Traceway runs on ClickHouse columnar storage — 1M daily events+ compresses to ~2GB/month. Fixed monthly tiers, no per-event+ gouging, no overage invoices at 2am.</p>- </div>- <HomeTabs />- </div>- </section>-- {/* Section: AI Tracing */}- <section className="py-20 bg-white border-b border-zinc-100">- <div className="container mx-auto px-4 max-w-5xl">- <div className="flex flex-col md:flex-row items-center gap-12 lg:gap-20">- <div className="flex-1 space-y-6">- <div className="w-12 h-12 bg-violet-50 rounded-2xl flex items-center justify-center">- <Workflow className="w-6 h-6 text-violet-600" />- </div>- <h3 className="text-2xl md:text-3xl font-bold text-zinc-900 tracking-tight">- AI Tracing for Agent observability- </h3>- <p className="text-zinc-600 text-lg leading-relaxed">- Monitor every AI call with full cost, token usage, latency, and conversation tracking.- Works with OpenRouter, OpenAI, Anthropic, and any OpenTelemetry-compatible provider — zero code changes needed.- </p>- <ul className="space-y-3 pt-2">- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-violet-500"></div>- Per-call cost and token tracking- </li>- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-violet-500"></div>- Conversation replay with chat view- </li>- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-violet-500"></div>- P50/P95 latency per agent and model- </li>- </ul>- <Link- href="/product/ai-tracing"- className="inline-flex items-center text-sm font-medium text-violet-600 hover:text-violet-800 transition-colors"- >- Learn more about AI Tracing <ArrowRight className="ml-1 h-4 w-4" />+ <div className="mt-6 flex flex-wrap gap-3">+ <Link href="/cloud" className="btn btn-accent">+ See pricing+ <ArrowRight className="h-4 w-4" />+ </Link>+ <Link href="https://docs.tracewayapp.com" className="btn btn-ghost">+ Self-host for free</Link>- </div>- <div className="flex-1 w-full relative">- <div className="absolute inset-0 bg-gradient-to-tl from-violet-100/50 to-transparent rounded-3xl transform -rotate-3 scale-105 -z-10"></div>- <div className="relative rounded-xl overflow-hidden border border-zinc-200 bg-white">- <Image- src="/images/ai-traces-detail.png"- alt="AI Tracing Dashboard"- width={800}- height={600}- className="w-full h-auto"- />- </div></div></div></div></section>- {/* Section 7: Open Source & Self-Hosting */}- <section className="py-20 bg-zinc-50/50 border-b border-zinc-100">- <div className="container mx-auto px-4 max-w-5xl">- <div className="text-center mb-12">- <h2 className="text-3xl md:text-4xl font-bold mb-4 text-zinc-900 tracking-tight">- 100% open source. No asterisks.+ {/* DEPLOY — stats strip + terminal */}+ <section className="py-24">+ <div className="wrap grid gap-14 md:grid-cols-[1fr_1.1fr] items-center">+ <div>+ <Eyebrow>Your data. Your metal.</Eyebrow>+ <h2 className="mt-4">+ Self-host in <em>90 seconds flat.</em></h2>- <p className="text-zinc-600 text-lg max-w-2xl mx-auto">- Not BSL. Not source-available. Not “open core.” Every- feature works identically self-hosted or on cloud. Deploy with a- single Docker command.+ <p className="muted mt-4 max-w-[460px]">+ MIT licensed. No BSL. No “open core.” Every feature+ Traceway Cloud has, your cluster has. Point an OTLP exporter at+ it and you're in business.</p>+ <StatsStrip+ stats={[+ { num: "<em>0s</em>", label: "Config required" },+ { num: "100%", label: "Feature parity" },+ { num: "MIT", label: "License" },+ { num: "<em>22×</em>", label: "Vs. Datadog" },+ ]}+ /></div>-- <div className="grid grid-cols-1 md:grid-cols-3 gap-6">- <Card className="bg-white border-zinc-200 transition-all duration-300">- <CardHeader className="p-6 pt-0">- <div className="w-10 h-10 bg-green-50 rounded-lg flex items-center justify-center mb-3">- <Lock className="w-5 h-5 text-green-600" />- </div>- <CardTitle className="text-lg">Truly Open Source</CardTitle>- <CardDescription className="text-zinc-500 text-sm mt-1.5">- Unlike Sentry's BSL license, Traceway is fully open- source. Fork it, modify it, run it however you want.- </CardDescription>- </CardHeader>- </Card>-- <Card className="bg-white border-zinc-200 transition-all duration-300">- <CardHeader className="p-6 pt-0">- <div className="w-10 h-10 bg-blue-50 rounded-lg flex items-center justify-center mb-3">- <Terminal className="w-5 h-5 text-blue-600" />- </div>- <CardTitle className="text-lg">One-Command Deploy</CardTitle>- <CardDescription className="text-zinc-500 text-sm mt-1.5">- Get up and running with a single command. No complex- configuration or infrastructure setup required.- </CardDescription>- </CardHeader>- </Card>-- <Card className="bg-white border-zinc-200 transition-all duration-300">- <CardHeader className="p-6 pt-0">- <div className="w-10 h-10 bg-orange-50 rounded-lg flex items-center justify-center mb-3">- <GitCompare className="w-5 h-5 text-orange-600" />- </div>- <CardTitle className="text-lg">Same Code Everywhere</CardTitle>- <CardDescription className="text-zinc-500 text-sm mt-1.5">- No feature gating between self-hosted and cloud. The exact- same codebase powers both.- </CardDescription>- </CardHeader>- </Card>- </div>-- <div className="flex justify-center mt-10">- <DockerCommand />- </div>- </div>- </section>-- {/* Section 9: Demo CTA */}- <section className="py-8 bg-white border-b border-zinc-100">- <div className="container mx-auto px-4 max-w-3xl text-center">- <h2 className="text-3xl md:text-4xl font-bold mb-4 text-zinc-900 tracking-tight">- See it in action- </h2>- <p className="text-zinc-600 text-lg mb-4">- Explore a live demo with sample data, no signup required.- </p>- <Link href="https://cloud.tracewayapp.com/[email protected]&password=demoaccount!" className="inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-all cursor-pointer h-10 px-4 bg-zinc-900 text-white hover:bg-zinc-800 shadow-lg shadow-zinc-900/20">- Try Live Demo <ArrowRight className="ml-2 h-4 w-4" />- </Link>+ <Terminal+ title="bash · traceway.sh · 80×24"+ lines={[+ {+ ln: "1",+ type: "tx",+ content: (+ <>+ <span className="cmd">$</span> git clone github.com/tracewayapp/traceway+ </>+ ),+ },+ {+ ln: "2",+ type: "tx",+ content: (+ <>+ <span className="cmd">$</span> cd traceway && docker compose up -d+ </>+ ),+ },+ { ln: "3", type: "mute", content: "# pulling images…" },+ { ln: "4", type: "mute", content: "# starting clickhouse · postgres · collector" },+ { ln: "5", type: "ok", content: "# ✓ dashboard at http://localhost:3000" },+ {+ ln: "6",+ type: "tx",+ content: (+ <>+ <span className="cmd">$</span>+ </>+ ),+ },+ ]}+ showCursor+ /></div></section>- {/* Section 10: Pricing & Cost Advantage */}- <section className="py-20 bg-zinc-50/50 border-b border-zinc-100">- <div className="container mx-auto px-4 max-w-5xl">- <div className="text-center mb-12">- <h2 className="text-3xl md:text-4xl font-bold mb-4 text-zinc-900 tracking-tight">- Designed for efficiency. Built to lower your cloud bill.+ {/* DETECT → RESOLVE */}+ <section className="py-24">+ <div className="wrap">+ <div className="two-track-head">+ <Eyebrow>Why it matters</Eyebrow>+ <h2 className="mt-3">+ Customers don't complain — they quit.{" "}+ <em>We stop the bleeding.</em></h2>- <p className="text-zinc-600 text-lg max-w-2xl mx-auto">- Traceway runs lean. ClickHouse columnar storage compresses 1- million daily events into ~2-3 GB per month. Postgres is used for- efficient user and organization storage.+ <p className="muted mt-4 max-w-[640px]">+ Your users won't open a ticket when something breaks —+ they'll close the tab. Traceway catches the error, the+ session replay, and the exact failing span before they bounce.</p></div>- <CostComparison />- <div className="flex flex-col sm:flex-row items-center justify-center gap-3 mt-10">- <Link href="/cloud" className="inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-all cursor-pointer h-10 px-6 bg-[#4ba3f7] text-white hover:bg-[#3b93e7] shadow-lg shadow-blue-900/10">- See Cloud pricing <ArrowRight className="ml-2 h-4 w-4" />- </Link>- <Link href="https://docs.tracewayapp.com" className="inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-all cursor-pointer h-10 px-6 border border-zinc-200 bg-white hover:bg-zinc-50 text-zinc-900 shadow-sm">- Self-host for free <ArrowRight className="ml-2 h-4 w-4" />- </Link>- </div>+ <TwoTrack+ detect={{+ badge: "01 · Detect",+ title: "Surface what actually matters.",+ description:+ "Impact Score ranks every endpoint by five SLIs and bubbles the worst up first. Alerts route to Slack, GitHub, or webhook by threshold — no false-positive fatigue.",+ items: [+ "Impact Score across 5 service-level signals",+ "Per-endpoint slow threshold override",+ "Slack, GitHub, webhook, email routing",+ "Regression detection on new releases",+ ],+ }}+ resolve={{+ badge: "02 · Resolve",+ title: "Walk the full trace. Fix. Ship.",+ description:+ "Click an exception, see the frontend replay, the cross-service trace, the exact span that threw, and the source-mapped stack. Context-switching is the bug.",+ items: [+ "Frontend replay linked to backend errors",+ "Cross-service distributed trace waterfalls",+ "Source-mapped stack traces (webpack, esbuild, Vite)",+ "SHA-256 grouped duplicates into one ranked issue",+ ],+ }}+ /></div></section>- {/* Section 11: FAQ */}- <section className="py-24 bg-zinc-50 border-t border-zinc-100">- <div className="container mx-auto px-4 max-w-3xl">- <div className="text-center mb-12">- <h2 className="text-3xl font-bold mb-4 text-zinc-900 tracking-tight">- Frequently Asked Questions- </h2>- <p className="text-zinc-600 text-lg">- Everything you need to know about Traceway.- </p>- </div>-- <Accordion type="single" collapsible className="w-full">- <AccordionItem value="item-1" className="border-b-zinc-200">- <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">- What is the Impact Score?- </AccordionTrigger>- <AccordionContent className="text-zinc-600 leading-relaxed">- The Impact Score is Traceway's automatic prioritization- system. It combines five service-level indicators — inverted- apdex variant (response time vs. a threshold), error rate floor,- P99 latency floor, client error floor, and volume error floor —- into a single 0-100 score for every endpoint. It takes the max- across all five, so if any single signal is degraded, that- endpoint surfaces immediately. You can adjust the slow endpoint- threshold per endpoint to tune the apdex calculation for routes- with different latency profiles. For incident management, you can- configure notification rules that fire when the Impact Score or- error rate crosses a threshold, and route alerts to Slack, GitHub- Issues, email, or custom webhooks — so it plugs directly into- your existing on-call workflow.- </AccordionContent>- </AccordionItem>- <AccordionItem value="item-2" className="border-b-zinc-200">- <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">- How does Traceway compare to Sentry?- </AccordionTrigger>- <AccordionContent className="text-zinc-600 leading-relaxed">- Sentry groups errors and lets you triage them manually. Traceway- does that too, but adds an automatic Impact Score that ranks every- endpoint by five service-level signals — you open the dashboard and- immediately know what to fix first, without configuring alert rules- or manually assigning severity. Sentry uses a BSL license that- restricts how you can run and modify the code. Traceway is 100%- open source under a permissive license — fork it, modify it, run it- however you want. On the feature side, Traceway combines exception- tracking, endpoint performance (P50/P95/P99), session replay, and- distributed tracing in a single tool. Sentry offers some of these- as separate add-ons. On pricing, Sentry charges per event with- overage fees. Traceway Cloud plans have a fixed monthly price with- no overages — and self-hosting is completely free with no feature- gating.- </AccordionContent>- </AccordionItem>- <AccordionItem value="item-3" className="border-b-zinc-200">- <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">- How does Traceway compare to Datadog/New Relic?- </AccordionTrigger>- <AccordionContent className="text-zinc-600 leading-relaxed">- Datadog and New Relic charge per host, per event, or per GB- ingested, and bills can spike unpredictably as traffic grows.- Traceway Cloud has fixed-price tiers — at the Enterprise level,- 200 million monthly events cost $499.99 ($0.0000025 per event)- with no overage charges. Self-hosted Traceway has zero licensing- cost. Architecturally, Traceway uses ClickHouse columnar storage- that compresses 1 million daily events into ~2-3 GB per month,- keeping infrastructure costs low even at high volume. Feature-wise,- Traceway includes endpoint performance analytics (P50/P95/P99),- exception tracking with automatic grouping and ranking, session- replay, distributed tracing, and AI observability — all in one- tool. Datadog and New Relic split these across separate products,- each with its own billing meter.- </AccordionContent>- </AccordionItem>- <AccordionItem value="item-4" className="border-b-zinc-200">- <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">- Is Traceway really free to self-host?- </AccordionTrigger>- <AccordionContent className="text-zinc-600 leading-relaxed">- Yes. Traceway is 100% open source with no feature gating. Every- feature available on Traceway Cloud works identically when- self-hosted. Deploy with{" "}- <code className="bg-zinc-100 px-1 py-0.5 rounded text-sm">- docker compose up -d- </code>{" "}- and you're running.- </AccordionContent>- </AccordionItem>- <AccordionItem value="item-5" className="border-b-zinc-200">- <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">- How does error grouping work?- </AccordionTrigger>- <AccordionContent className="text-zinc-600 leading-relaxed">- Traceway applies a 10-step normalization pipeline to every stack- trace: extracting the error type, removing absolute file paths,- replacing hex addresses, UUIDs, IPs, timestamps, and numeric IDs- with placeholders, normalizing whitespace, and stripping ANSI- codes. The result is hashed with SHA-256 so identical logical- errors always group together, even if runtime values differ.- </AccordionContent>- </AccordionItem>- <AccordionItem value="item-6" className="border-b-zinc-200">- <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">- What is session replay?- </AccordionTrigger>- <AccordionContent className="text-zinc-600 leading-relaxed">- Session replay records DOM changes in the browser. When an error- occurs, Traceway captures approximately 10 seconds of user- activity leading up to the exception - clicks, scrolls, form- interactions, and page navigations. The replay is attached to- the exception automatically, so you can see exactly what the- user did without asking them to reproduce the issue.- </AccordionContent>- </AccordionItem>- <AccordionItem value="item-7" className="border-b-zinc-200">- <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">- Does Traceway support OpenTelemetry?- </AccordionTrigger>- <AccordionContent className="text-zinc-600 leading-relaxed">- Yes. If your services are already instrumented with- OpenTelemetry, you can point your OTLP exporter at Traceway and- start receiving data immediately. There's no proprietary- SDK lock-in - use Traceway's lightweight middleware or any- OTel-compatible instrumentation.- </AccordionContent>- </AccordionItem>- <AccordionItem value="item-8" className="border-b-zinc-200">- <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">- How does distributed tracing work?- </AccordionTrigger>- <AccordionContent className="text-zinc-600 leading-relaxed">- Traceway propagates a trace ID across every service in a- request chain. The frontend SDK generates the ID and passes it- to your backend via headers. Each backend service forwards it- to downstream calls. Every span, exception, and session replay- recorded with that trace ID is linked together, giving you a- complete picture of a single user action across your entire- architecture.- </AccordionContent>- </AccordionItem>- <AccordionItem value="item-9" className="border-b-zinc-200">- <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">- Does Traceway connect frontend and backend issues?- </AccordionTrigger>- <AccordionContent className="text-zinc-600 leading-relaxed">- Yes. When a backend service returns an error, Traceway links it- to the frontend session replay that triggered the request. You- see the user's clicks and navigations alongside the- server-side stack trace and span waterfall. Both sides are- connected automatically via the shared trace ID.- </AccordionContent>- </AccordionItem>- <AccordionItem value="item-10" className="border-b-zinc-200">- <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">- Can I create custom metrics?- </AccordionTrigger>- <AccordionContent className="text-zinc-600 leading-relaxed">- Yes. In addition to the automatic system metrics (CPU, memory,- goroutines, GC stats), you can capture custom metrics with a- single function call. Custom metrics appear in the metrics- dashboard where you can build widget groups with charts and- organize them however you want.- </AccordionContent>- </AccordionItem>- <AccordionItem value="item-11" className="border-b-zinc-200">- <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">- What types of alerts and notifications does Traceway send?- </AccordionTrigger>- <AccordionContent className="text-zinc-600 leading-relaxed">- Traceway supports notifications via Slack, GitHub Issues, email,- and custom webhooks. You can configure rules based on new- exceptions, error rate thresholds, or performance degradations.- Notifications are sent to the channels you choose so your team- is alerted where they already work.- </AccordionContent>- </AccordionItem>- <AccordionItem value="item-12" className="border-b-zinc-200">- <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">- What languages and frameworks does Traceway support?- </AccordionTrigger>- <AccordionContent className="text-zinc-600 leading-relaxed">- Traceway has native SDKs for Go (Gin, Chi, Fiber, FastHTTP,- net/http) and JavaScript (Node.js, NestJS, React, Vue, Svelte,- jQuery, Remix, Next.js). PHP is supported via the Symfony- OpenTelemetry bundle. Any language with an OpenTelemetry SDK- (Java, Python, .NET, Ruby, and more) can send traces and- metrics to Traceway via OTLP.- </AccordionContent>- </AccordionItem>- <AccordionItem value="item-13" className="border-b-zinc-200">- <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">- Can I monitor background tasks and cron jobs?- </AccordionTrigger>- <AccordionContent className="text-zinc-600 leading-relaxed">- Yes. Traceway tracks background tasks and scheduled jobs with- the same level of detail as HTTP requests. You see execution- duration, success/failure status, and any exceptions thrown- during the task. Tasks are listed in a dedicated dashboard with- filtering and sorting.- </AccordionContent>- </AccordionItem>- <AccordionItem value="item-14" className="border-b-zinc-200">- <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">- Does Traceway support AI/LLM observability?- </AccordionTrigger>- <AccordionContent className="text-zinc-600 leading-relaxed">- Yes. Traceway captures AI traces from any provider that exports- OpenTelemetry spans with <code className="bg-zinc-100 px-1 py-0.5 rounded text-sm">gen_ai.*</code> attributes.- OpenRouter has built-in support — enable Observability in your settings and add Traceway as a destination.- Every LLM call is tracked with model, input/output tokens, costs, latency, and the full conversation content.- </AccordionContent>- </AccordionItem>- <AccordionItem value="item-15" className="border-b-zinc-200">- <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">- Does Traceway work with serverless and multi-cloud?- </AccordionTrigger>- <AccordionContent className="text-zinc-600 leading-relaxed">- Yes. Any service that exports OpenTelemetry traces can send data- to Traceway — including AWS Lambda, Google Cloud Functions, Azure- Functions, and Cloudflare Workers. Instrument your function with- your language's OTel SDK and point the OTLP exporter at- Traceway. Cold start latency, execution duration, and errors all- appear in the same endpoint and distributed tracing views as your- long-running services. For multi-cloud setups, every service- reports to the same Traceway instance regardless of provider, so- you get a single pane of glass across AWS, GCP, Azure, or any- combination.- </AccordionContent>- </AccordionItem>- <AccordionItem value="item-16" className="border-b-zinc-200">- <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">- What support options are available?- </AccordionTrigger>- <AccordionContent className="text-zinc-600 leading-relaxed">- All Traceway Cloud customers on a paid plan can open GitHub issues that are triaged with highest priority by our engineering team.- Enterprise+ customers also get a shared Slack channel with direct access to the team.- Self-hosted users are welcome to open GitHub issues and participate in community discussions — we actively monitor and respond to all issues.- </AccordionContent>- </AccordionItem>- <AccordionItem value="item-17" className="border-b-zinc-200">- <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">- Will my bill ever increase unexpectedly?- </AccordionTrigger>- <AccordionContent className="text-zinc-600 leading-relaxed">- No. Every Traceway Cloud plan has a fixed monthly price with no overage charges.- If you approach your included volume, we notify you in advance so you can decide whether to upgrade.- Your bill will never increase without your explicit approval. This applies to every tier, from Starter to Enterprise.- </AccordionContent>- </AccordionItem>- </Accordion>- </div>- </section>+ {/* Final CTA */}+ <FinalCTA+ title={+ <>+ Detect. Replay. <em>Resolve.</em>+ </>+ }+ description="Start for free. Self-host whenever you want. Book a demo if you'd like a walkthrough."+ primary={{+ label: "Start for free",+ href: "https://cloud.tracewayapp.com/register",+ }}+ secondary={{+ label: "Book a demo",+ href: "/contact",+ }}+ /></main>);}diff --git a/website/app/privacy-policy/page.tsx b/website/app/privacy-policy/page.tsxindex 83142a74..1260104a 100644--- a/website/app/privacy-policy/page.tsx+++ b/website/app/privacy-policy/page.tsx@@ -1,166 +1,114 @@import Link from "next/link";+import { Eyebrow } from "@/components/eyebrow";export default function PrivacyPolicy() {return (- <main className="min-h-screen bg-white text-zinc-950 font-sans">- <div className="container mx-auto px-4 max-w-3xl py-20">- <h1 className="text-4xl font-bold tracking-tight mb-2 text-zinc-900">- Privacy Policy- </h1>- <p className="text-zinc-500 mb-12">Last updated: February 15, 2026</p>+ <main className="relative">+ <section className="wrap py-20">+ <article className="prose">+ <Eyebrow>Legal</Eyebrow>+ <h1 className="mt-4 mb-3">Privacy Policy</h1>+ <p style={{ color: "var(--fg-3)" }} className="mb-12">+ Last updated: February 15, 2026+ </p>- <div className="space-y-10 text-zinc-700 leading-relaxed">- <section>- <h2 className="text-xl font-semibold text-zinc-900 mb-3">- 1. Introduction- </h2>- <p>- Traceway (“we”, “our”, or- “us”) operates the Traceway Cloud platform and the- tracewayapp.com website. This Privacy Policy explains how we- collect, use, and protect your information when you use our- services.- </p>- </section>+ <h2>1. Introduction</h2>+ <p>+ Traceway (“we”, “our”, or “us”)+ operates the Traceway Cloud platform and the tracewayapp.com+ website. This Privacy Policy explains how we collect, use, and+ protect your information when you use our services.+ </p>- <section>- <h2 className="text-xl font-semibold text-zinc-900 mb-3">- 2. Information We Collect- </h2>- <h3 className="font-medium text-zinc-900 mt-4 mb-2">- Account Data- </h3>- <p>- When you create an account, we collect your name, email address,- and organization name. This information is stored in our PostgreSQL- database and is used to manage your account and provide access to- your projects.- </p>- <h3 className="font-medium text-zinc-900 mt-4 mb-2">- Telemetry Data- </h3>- <p>- When you integrate the Traceway SDK or send OpenTelemetry data to- Traceway Cloud, we receive application telemetry including HTTP- request metadata (endpoints, status codes, response times),- exception stack traces, session replay recordings, and system- metrics (CPU, memory usage). This data is stored in ClickHouse and- is scoped to your project.- </p>- <h3 className="font-medium text-zinc-900 mt-4 mb-2">Usage Data</h3>- <p>- We may collect basic analytics about how you interact with the- Traceway dashboard, such as pages visited and features used. This- helps us improve the product experience.- </p>- </section>+ <h2>2. Information We Collect</h2>+ <h3>Account Data</h3>+ <p>+ When you create an account, we collect your name, email address, and+ organization name. This information is stored in our PostgreSQL+ database and is used to manage your account and provide access to+ your projects.+ </p>+ <h3>Telemetry Data</h3>+ <p>+ When you integrate the Traceway SDK or send OpenTelemetry data to+ Traceway Cloud, we receive application telemetry including HTTP+ request metadata (endpoints, status codes, response times),+ exception stack traces, session replay recordings, and system+ metrics (CPU, memory usage). This data is stored in ClickHouse and+ is scoped to your project.+ </p>+ <h3>Usage Data</h3>+ <p>+ We may collect basic analytics about how you interact with the+ Traceway dashboard, such as pages visited and features used. This+ helps us improve the product experience.+ </p>- <section>- <h2 className="text-xl font-semibold text-zinc-900 mb-3">- 3. How We Use Your Data- </h2>- <ul className="list-disc pl-5 space-y-2">- <li>To provide and operate the Traceway Cloud platform</li>- <li>- To display your application's telemetry data in the- dashboard- </li>- <li>To calculate Impact Scores and prioritize issues</li>- <li>To send important service-related communications</li>- <li>To improve and develop new features</li>- </ul>- </section>+ <h2>3. How We Use Your Data</h2>+ <ul>+ <li>To provide and operate the Traceway Cloud platform</li>+ <li>To display your application's telemetry data in the dashboard</li>+ <li>To calculate Impact Scores and prioritize issues</li>+ <li>To send important service-related communications</li>+ <li>To improve and develop new features</li>+ </ul>- <section>- <h2 className="text-xl font-semibold text-zinc-900 mb-3">- 4. Data Retention- </h2>- <p>- Telemetry data (transactions, exceptions, metrics) is retained- according to your plan's retention period. Account data is- retained for as long as your account is active. You may request- deletion of your account and associated data at any time by- contacting us.- </p>- </section>+ <h2>4. Data Retention</h2>+ <p>+ Telemetry data (transactions, exceptions, metrics) is retained+ according to your plan's retention period. Account data is+ retained for as long as your account is active. You may request+ deletion of your account and associated data at any time by+ contacting us.+ </p>- <section>- <h2 className="text-xl font-semibold text-zinc-900 mb-3">- 5. Data Security- </h2>- <p>- We implement appropriate technical and organizational measures to- protect your data. All data in transit is encrypted via TLS.- Access to production systems is restricted and audited.- </p>- </section>+ <h2>5. Data Security</h2>+ <p>+ We implement appropriate technical and organizational measures to+ protect your data. All data in transit is encrypted via TLS. Access+ to production systems is restricted and audited.+ </p>- <section>- <h2 className="text-xl font-semibold text-zinc-900 mb-3">- 6. Third-Party Services- </h2>- <p>- Traceway Cloud may use third-party infrastructure providers for- hosting and data storage. We do not sell your data to third- parties. We may use service providers for email delivery and- payment processing, who are bound by their own privacy policies.- </p>- </section>+ <h2>6. Third-Party Services</h2>+ <p>+ Traceway Cloud may use third-party infrastructure providers for+ hosting and data storage. We do not sell your data to third parties.+ We may use service providers for email delivery and payment+ processing, who are bound by their own privacy policies.+ </p>- <section>- <h2 className="text-xl font-semibold text-zinc-900 mb-3">- 7. Open-Source Self-Hosted Version- </h2>- <p>- Traceway is available as an open-source, self-hosted solution.- When you self-host Traceway, all data remains entirely on your own- infrastructure. We do not collect any data from self-hosted- instances. The self-hosted version is provided “as is”- with no guarantees regarding data handling, security, or- availability. You are solely responsible for the configuration,- security, and maintenance of your self-hosted deployment.- </p>- </section>+ <h2>7. Open-Source Self-Hosted Version</h2>+ <p>+ Traceway is available as an open-source, self-hosted solution. When+ you self-host Traceway, all data remains entirely on your own+ infrastructure. We do not collect any data from self-hosted+ instances. The self-hosted version is provided “as is”+ with no guarantees regarding data handling, security, or+ availability. You are solely responsible for the configuration,+ security, and maintenance of your self-hosted deployment.+ </p>- <section>- <h2 className="text-xl font-semibold text-zinc-900 mb-3">- 8. Your Rights- </h2>- <p>- You have the right to access, correct, or delete your personal- data. You may also request an export of your data. To exercise- these rights, please contact us using the information below.- </p>- </section>+ <h2>8. Your Rights</h2>+ <p>+ You have the right to access, correct, or delete your personal+ data. You may also request an export of your data. To exercise+ these rights, please contact us using the information below.+ </p>- <section>- <h2 className="text-xl font-semibold text-zinc-900 mb-3">- 9. Changes to This Policy- </h2>- <p>- We may update this Privacy Policy from time to time. We will- notify you of any material changes by posting the updated policy on- this page with a revised “Last updated” date.- </p>- </section>+ <h2>9. Changes to This Policy</h2>+ <p>+ We may update this Privacy Policy from time to time. We will notify+ you of any material changes by posting the updated policy on this+ page with a revised “Last updated” date.+ </p>- <section>- <h2 className="text-xl font-semibold text-zinc-900 mb-3">- 10. Contact- </h2>- <p>- If you have any questions about this Privacy Policy, please{" "}- <Link- href="/contact"- className="text-zinc-900 underline hover:text-zinc-600 transition-colors"- >- contact us- </Link>- .- </p>- </section>- </div>- </div>+ <h2>10. Contact</h2>+ <p>+ If you have any questions about this Privacy Policy, please{" "}+ <Link href="/contact">contact us</Link>.+ </p>+ </article>+ </section></main>);}diff --git a/website/app/product/ai-tracing/page.tsx b/website/app/product/ai-tracing/page.tsxindex 819c46f7..a7b4dd92 100644--- a/website/app/product/ai-tracing/page.tsx+++ b/website/app/product/ai-tracing/page.tsx@@ -1,250 +1,201 @@import Image from "next/image";import Link from "next/link";+import { ArrowRight, DollarSign, MessageSquareText, BarChart3, Workflow } from "lucide-react";-import { Badge } from "@/components/ui/badge";-import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from "@/components/ui/accordion";-import { ArrowRight, DollarSign, MessageSquareText, BarChart3, Shield } from "lucide-react";+import { Chip } from "@/components/chip";+import { SectionHead } from "@/components/section-head";+import { FeatureRow } from "@/components/feature-row";+import { FaqList } from "@/components/faq-list";+import { FinalCTA } from "@/components/final-cta";+import { AuroraBackground } from "@/components/aurora-background";+import { Eyebrow } from "@/components/eyebrow";export default function AiTracingPage() {- return (- <main className="min-h-screen bg-white text-zinc-950 font-sans selection:bg-zinc-100 selection:text-zinc-900">- {/* Hero Section */}- <section className="relative pt-16 pb-20 overflow-hidden">- <div className="absolute inset-0 -z-10 h-full w-full bg-white bg-[radial-gradient(#e5e7eb_1px,transparent_1px)] [background-size:16px_16px] [mask-image:radial-gradient(ellipse_50%_50%_at_50%_50%,#000_70%,transparent_100%)]"></div>- <div className="container mx-auto px-4 text-center">- <Badge variant="secondary" className="mb-4 bg-violet-50 text-violet-700 hover:bg-violet-100 px-2.5 py-0.5 border border-violet-100 text-xs font-normal rounded-full">- AI Tracing- </Badge>- <h1 className="text-4xl md:text-6xl font-bold tracking-tight mb-6 text-zinc-900">- See every AI call, <br /> <span className="text-transparent bg-clip-text bg-gradient-to-r from-violet-600 to-blue-600">its cost, and its conversation</span>- </h1>- <p className="text-zinc-600 text-lg md:text-xl max-w-2xl mx-auto mb-10 leading-relaxed font-medium">- Monitor LLM costs, token usage, latency, and conversations across every AI provider. Works with OpenRouter, OpenAI, Anthropic, and any OpenTelemetry-compatible provider.- </p>- <div className="flex flex-col sm:flex-row items-center justify-center gap-3">- <Link href="https://docs.tracewayapp.com/client/openrouter" className="inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-all cursor-pointer h-10 px-6 bg-zinc-900 text-white hover:bg-zinc-800 shadow-lg shadow-zinc-900/20">- Get Started <ArrowRight className="ml-2 h-4 w-4" />- </Link>- <Link href="http://cloud.tracewayapp.com/register" className="inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-all cursor-pointer h-10 px-6 border border-zinc-200 bg-white hover:bg-zinc-50 text-zinc-900 shadow-sm">- Try Traceway Cloud- </Link>- </div>- </div>- </section>+ return (+ <main className="relative">+ <section className="hero gridbg relative">+ <AuroraBackground variant="hero" />+ <div className="wrap relative z-10 max-w-3xl">+ <Chip>+ <Workflow className="h-3 w-3 inline mr-1" />+ AI Tracing+ </Chip>+ <h1 className="mt-6">+ See every AI call, <em>its cost, and its conversation.</em>+ </h1>+ <p className="hero-sub">+ Monitor LLM costs, token usage, latency, and conversations across+ every provider. Works with OpenRouter, OpenAI, Anthropic, and any+ OpenTelemetry-compatible provider.+ </p>+ <div className="hero-cta-row">+ <Link href="https://docs.tracewayapp.com/client/openrouter" className="btn btn-accent">+ Get Started <ArrowRight className="h-4 w-4" />+ </Link>+ <Link href="https://cloud.tracewayapp.com/register" className="btn btn-ghost">+ Try Traceway Cloud+ </Link>+ </div>+ </div>+ </section>- {/* Cost Visibility Section */}- <section className="py-24 bg-white border-y border-zinc-100">- <div className="container mx-auto px-4 max-w-5xl">- <div className="flex flex-col md:flex-row items-center gap-12 lg:gap-20">- <div className="flex-1 space-y-6">- <div className="w-12 h-12 bg-green-50 rounded-2xl flex items-center justify-center">- <DollarSign className="w-6 h-6 text-green-600" />- </div>- <h2 className="text-2xl md:text-3xl font-bold text-zinc-900 tracking-tight">Know exactly what AI costs you</h2>- <p className="text-zinc-600 text-lg leading-relaxed">- Every AI call is tracked with input cost, output cost, and total cost. See cost breakdowns per agent, per model, and per time period.- Spot cost spikes before they hit your invoice.- </p>- <ul className="space-y-3 pt-2">- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-green-500"></div>- Per-call cost tracking with input/output breakdown- </li>- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-green-500"></div>- Aggregated cost per agent and model- </li>- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-green-500"></div>- Token usage with cached and reasoning token tracking- </li>- </ul>- </div>- <div className="flex-1 w-full relative">- <div className="absolute inset-0 bg-gradient-to-tr from-green-100/50 to-transparent rounded-3xl transform rotate-3 scale-105 -z-10"></div>- <div className="relative rounded-xl overflow-hidden">- <Image- src="/images/ai-traces-cost.png"- alt="AI Traces Cost Dashboard"- width={800}- height={600}- className="w-full h-auto"- />- </div>- </div>- </div>- </div>- </section>+ {/* Cost */}+ <section className="wrap">+ <FeatureRow+ eyebrow="Cost"+ title={+ <>+ Know exactly <em>what AI costs you</em>+ </>+ }+ description="Every AI call tracked with input cost, output cost, and total cost. See breakdowns per agent, per model, and per time period. Spot cost spikes before they hit your invoice."+ bullets={[+ "Per-call cost tracking with input / output breakdown",+ "Aggregated cost per agent and model",+ "Token usage with cached and reasoning token tracking",+ "Anomaly detection on cost per call",+ ]}+ image={{ src: "/images/ai-traces-cost.png", alt: "AI cost dashboard" }}+ />+ </section>- {/* Conversation Replay Section */}- <section className="py-24 bg-zinc-50/50">- <div className="container mx-auto px-4 max-w-5xl">- <div className="flex flex-col md:flex-row-reverse items-center gap-12 lg:gap-20">- <div className="flex-1 space-y-6">- <div className="w-12 h-12 bg-violet-50 rounded-2xl flex items-center justify-center">- <MessageSquareText className="w-6 h-6 text-violet-600" />- </div>- <h2 className="text-2xl md:text-3xl font-bold text-zinc-900 tracking-tight">Replay every conversation</h2>- <p className="text-zinc-600 text-lg leading-relaxed">- See the exact prompt sent to the model and the full response it generated. Debug unexpected model behavior, catch hallucinations, and understand what your AI agents are actually doing.- </p>- <ul className="space-y-3 pt-2">- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-violet-500"></div>- Full prompt and completion stored and rendered as chat- </li>- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-violet-500"></div>- Raw JSON view for debugging edge cases- </li>- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-violet-500"></div>- Privacy mode available to exclude conversation content- </li>- </ul>- </div>- <div className="flex-1 w-full relative">- <div className="absolute inset-0 bg-gradient-to-tl from-violet-100/50 to-transparent rounded-3xl transform -rotate-3 scale-105 -z-10"></div>- <div className="relative rounded-xl overflow-hidden">- <Image- src="/images/ai-traces-conversation.png"- alt="AI Trace Conversation View"- width={800}- height={600}- className="w-full h-auto"- />- </div>- </div>- </div>- </div>- </section>+ {/* Conversation */}+ <section className="wrap">+ <FeatureRow+ reverse+ eyebrow="Conversation"+ title="Replay every conversation"+ description="See the exact prompt sent to the model and the full response it generated. Debug unexpected model behavior, catch hallucinations, and understand what your AI agents are actually doing."+ bullets={[+ "Full prompt + completion stored and rendered as chat",+ "Raw JSON view for debugging edge cases",+ "Privacy mode available to exclude conversation content",+ "Search and filter by prompt content",+ ]}+ image={{ src: "/images/ai-traces-conversation.png", alt: "Conversation replay" }}+ />+ </section>- {/* Performance & Latency Section */}- <section className="py-24 bg-white border-y border-zinc-100">- <div className="container mx-auto px-4 max-w-5xl">- <div className="flex flex-col md:flex-row items-center gap-12 lg:gap-20">- <div className="flex-1 space-y-6">- <div className="w-12 h-12 bg-blue-50 rounded-2xl flex items-center justify-center">- <BarChart3 className="w-6 h-6 text-blue-600" />- </div>- <h2 className="text-2xl md:text-3xl font-bold text-zinc-900 tracking-tight">Understand AI latency at every percentile</h2>- <p className="text-zinc-600 text-lg leading-relaxed">- AI calls have wildly variable latency. See P50 and P95 duration breakdowns per agent, identify which models or providers are causing slowdowns, and track performance over time.- </p>- <ul className="space-y-3 pt-2">- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-blue-500"></div>- P50/P95 latency per agent and model- </li>- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-blue-500"></div>- Drill down from agent to individual calls- </li>- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-blue-500"></div>- Throughput and token usage trends- </li>- </ul>- </div>- <div className="flex-1 w-full relative">- <div className="absolute inset-0 bg-gradient-to-tr from-blue-100/50 to-transparent rounded-3xl transform rotate-3 scale-105 -z-10"></div>- <div className="relative rounded-xl overflow-hidden">- <Image- src="/images/ai-traces-latency.png"- alt="AI Traces Performance Dashboard"- width={800}- height={600}- className="w-full h-auto"- />- </div>- </div>- </div>- </div>- </section>+ {/* Performance */}+ <section className="wrap">+ <FeatureRow+ eyebrow="Latency"+ title="Understand AI latency at every percentile"+ description="AI calls have wildly variable latency. See P50 and P95 duration breakdowns per agent, identify which models or providers are causing slowdowns, and track performance over time."+ bullets={[+ "P50 / P95 latency per agent and model",+ "Drill down from agent to individual calls",+ "Throughput and token usage trends",+ "Compare providers side-by-side",+ ]}+ image={{ src: "/images/ai-traces-latency.png", alt: "AI latency dashboard" }}+ />+ </section>- {/* Zero Code Section */}- <section className="py-24 bg-zinc-50/50">- <div className="container mx-auto px-4 max-w-5xl">- <div className="flex flex-col items-center text-center space-y-6">- <div className="w-12 h-12 bg-amber-50 rounded-2xl flex items-center justify-center">- <Shield className="w-6 h-6 text-amber-600" />- </div>- <h2 className="text-2xl md:text-3xl font-bold text-zinc-900 tracking-tight">Zero code changes required</h2>- <p className="text-zinc-600 text-lg leading-relaxed max-w-2xl">- If you're using OpenRouter, enable Observability in your settings and point it at Traceway. That's it.- For other providers, any OpenTelemetry-instrumented AI call with <code className="bg-zinc-100 px-1.5 py-0.5 rounded text-sm">gen_ai.*</code> attributes is automatically captured.- </p>- <div className="flex flex-wrap items-center justify-center gap-8 md:gap-10 pt-6">- <Image src="/images/frameworks/openrouter.png" alt="OpenRouter" width={40} height={40} className="h-8 w-auto opacity-80 hover:opacity-100 transition-all duration-200" />- <Image src="/images/frameworks/otel.png" alt="OpenTelemetry" width={40} height={40} className="h-8 w-auto opacity-80 hover:opacity-100 transition-all duration-200" />- </div>- </div>- </div>- </section>+ {/* Zero code */}+ <section className="wrap py-16 text-center">+ <div className="max-w-3xl mx-auto flex flex-col items-center gap-5">+ <Eyebrow>Instrument-free</Eyebrow>+ <h2>Zero code changes required</h2>+ <p style={{ color: "var(--fg-1)", fontSize: 17 }}>+ If you're using OpenRouter, enable Observability in your+ settings and point it at Traceway. That's it. For other+ providers, any OpenTelemetry-instrumented AI call with{" "}+ <code>gen_ai.*</code> attributes is automatically captured.+ </p>+ <div className="flex flex-wrap items-center justify-center gap-10 pt-5 opacity-80">+ <Image+ src="/images/frameworks/openrouter.png"+ alt="OpenRouter"+ width={40}+ height={40}+ className="h-8 w-auto opacity-80 hover:opacity-100 transition-all"+ />+ <Image+ src="/images/frameworks/otel.png"+ alt="OpenTelemetry"+ width={40}+ height={40}+ className="h-8 w-auto opacity-80 hover:opacity-100 transition-all"+ />+ </div>+ </div>+ </section>- {/* FAQ Section */}- <section className="py-24 bg-zinc-50 border-t border-zinc-100">- <div className="container mx-auto px-4 max-w-3xl">- <div className="text-center mb-12">- <h2 className="text-3xl font-bold mb-4 text-zinc-900 tracking-tight">Frequently Asked Questions</h2>- <p className="text-zinc-600 text-lg">- Common questions about AI tracing with Traceway.- </p>- </div>+ <FinalCTA+ title={+ <>+ Trace AI <em>like any other service</em>+ </>+ }+ description="Costs, tokens, latency, and conversations — all in one place."+ primary={{+ label: "Read the AI Tracing docs",+ href: "https://docs.tracewayapp.com/client/openrouter",+ }}+ secondary={{+ label: "Try Live Demo",+ href: "https://cloud.tracewayapp.com/[email protected]&password=demoaccount!",+ }}+ />- <Accordion type="single" collapsible className="w-full">- <AccordionItem value="item-1" className="border-b-zinc-200">- <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">- Why do I need AI observability?- </AccordionTrigger>- <AccordionContent className="text-zinc-600 leading-relaxed">- AI API calls are expensive and unpredictable. A single prompt with a large context window can cost 100x more than average.- Without observability, cost spikes go unnoticed until the invoice arrives. AI tracing gives you per-call visibility into costs,- token usage, latency, and the actual conversations happening between your app and AI models.- </AccordionContent>- </AccordionItem>- <AccordionItem value="item-2" className="border-b-zinc-200">- <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">- Which AI providers are supported?- </AccordionTrigger>- <AccordionContent className="text-zinc-600 leading-relaxed">- Any provider or gateway that exports OTLP traces with <code className="bg-zinc-100 px-1 py-0.5 rounded text-sm">gen_ai.*</code> semantic convention attributes.- OpenRouter has built-in support — just enable Observability in your settings. For other providers, use any OpenTelemetry SDK- to instrument your AI calls and send them to Traceway.- </AccordionContent>- </AccordionItem>- <AccordionItem value="item-3" className="border-b-zinc-200">- <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">- Is the conversation content stored securely?- </AccordionTrigger>- <AccordionContent className="text-zinc-600 leading-relaxed">- Conversation content (prompts and completions) is stored separately from trace metadata in object storage (S3 or local filesystem).- If you're self-hosting, the data never leaves your infrastructure. OpenRouter also offers a Privacy Mode that excludes- conversation content entirely, sending only metadata like model, tokens, and costs.- </AccordionContent>- </AccordionItem>- <AccordionItem value="item-4" className="border-b-zinc-200">- <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">- How does this work with OpenRouter?- </AccordionTrigger>- <AccordionContent className="text-zinc-600 leading-relaxed">- OpenRouter has a built-in Observability feature that broadcasts OTLP traces for every LLM call.- You add Traceway as an “OpenTelemetry Collector” destination in your OpenRouter settings with your Traceway endpoint- and project token. No code changes needed — OpenRouter handles the instrumentation automatically.- </AccordionContent>- </AccordionItem>- <AccordionItem value="item-5" className="border-b-zinc-200">- <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">- Can I track costs across multiple models?- </AccordionTrigger>- <AccordionContent className="text-zinc-600 leading-relaxed">- Yes. AI traces capture the specific model used for each call (e.g., <code className="bg-zinc-100 px-1 py-0.5 rounded text-sm">openai/gpt-4-turbo</code>, <code className="bg-zinc-100 px-1 py-0.5 rounded text-sm">anthropic/claude-3-opus</code>).- You can see cost breakdowns per model, compare token efficiency across providers, and identify which models give you the best value.- </AccordionContent>- </AccordionItem>- </Accordion>- </div>- </section>- </main>- );+ <section className="wrap pt-10 pb-24">+ <div className="max-w-3xl mx-auto">+ <SectionHead align="center" eyebrow="FAQ" title="Questions about AI tracing" />+ <div className="mt-4">+ <FaqList+ items={[+ {+ q: "Why do I need AI observability?",+ a: "AI API calls are expensive and unpredictable. A single prompt with a large context window can cost 100x more than average. Without observability, cost spikes go unnoticed until the invoice arrives. AI tracing gives you per-call visibility into costs, token usage, latency, and the actual conversations happening between your app and AI models.",+ },+ {+ q: "Which AI providers are supported?",+ a: (+ <>+ <p>+ Any provider or gateway that exports OTLP traces with{" "}+ <code>gen_ai.*</code> semantic convention attributes.+ </p>+ <p>+ OpenRouter has built-in support — just enable+ Observability in your settings. For other providers, use+ any OpenTelemetry SDK to instrument your AI calls and+ send them to Traceway.+ </p>+ </>+ ),+ },+ {+ q: "Is the conversation content stored securely?",+ a: "Conversation content (prompts and completions) is stored separately from trace metadata in object storage (S3 or local filesystem). If you're self-hosting, the data never leaves your infrastructure. OpenRouter also offers a Privacy Mode that excludes conversation content entirely, sending only metadata like model, tokens, and costs.",+ },+ {+ q: "How does this work with OpenRouter?",+ a: "OpenRouter has a built-in Observability feature that broadcasts OTLP traces for every LLM call. You add Traceway as an 'OpenTelemetry Collector' destination in your OpenRouter settings with your Traceway endpoint and project token. No code changes needed.",+ },+ {+ q: "Can I track costs across multiple models?",+ a: (+ <>+ <p>+ Yes. AI traces capture the specific model used for each+ call (e.g., <code>openai/gpt-4-turbo</code>,{" "}+ <code>anthropic/claude-3-opus</code>).+ </p>+ <p>+ You can see cost breakdowns per model, compare token+ efficiency across providers, and identify which models+ give you the best value.+ </p>+ </>+ ),+ },+ ]}+ />+ </div>+ </div>+ </section>+ </main>+ );}diff --git a/website/app/product/distributed-tracing/page.tsx b/website/app/product/distributed-tracing/page.tsxdeleted file mode 100644index 8ce8b3f8..00000000--- a/website/app/product/distributed-tracing/page.tsx+++ /dev/null@@ -1,285 +0,0 @@-import Image from "next/image";-import Link from "next/link";--import { Badge } from "@/components/ui/badge";-import {- Accordion,- AccordionContent,- AccordionItem,- AccordionTrigger,-} from "@/components/ui/accordion";-import {- ArrowRight,- GitBranch,- Video,- FileCode,- TrendingUp,-} from "lucide-react";--export default function DistributedTracingPage() {- return (- <main className="min-h-screen bg-white text-zinc-950 font-sans selection:bg-zinc-100 selection:text-zinc-900">- {/* Hero Section */}- <section className="relative pt-16 pb-20 overflow-hidden">- <div className="absolute inset-0 -z-10 h-full w-full bg-white bg-[radial-gradient(#e5e7eb_1px,transparent_1px)] [background-size:16px_16px] [mask-image:radial-gradient(ellipse_50%_50%_at_50%_50%,#000_70%,transparent_100%)]"></div>- <div className="container mx-auto px-4 text-center">- <Badge- variant="secondary"- className="mb-4 bg-teal-50 text-teal-700 hover:bg-teal-100 px-2.5 py-0.5 border border-teal-100 text-xs font-normal rounded-full"- >- Distributed Tracing- </Badge>- <h1 className="text-4xl md:text-6xl font-bold tracking-tight mb-6 text-zinc-900">- See the user behind <br />- <span className="text-transparent bg-clip-text bg-gradient-to-r from-teal-600 to-cyan-600">- every backend error- </span>- </h1>- <p className="text-zinc-600 text-lg md:text-xl max-w-2xl mx-auto mb-10 leading-relaxed font-medium">- When a backend service throws an exception, Traceway shows you the- user's session replay, the cross-service trace, and the exact- span that failed. No log-digging. No guessing what happened.- </p>- <div className="flex flex-col sm:flex-row items-center justify-center gap-3">- <Link- href="https://docs.tracewayapp.com"- className="inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-all cursor-pointer h-10 px-6 bg-zinc-900 text-white hover:bg-zinc-800 shadow-lg shadow-zinc-900/20"- >- Get Started <ArrowRight className="ml-2 h-4 w-4" />- </Link>- <Link- href="http://cloud.tracewayapp.com/register"- className="inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-all cursor-pointer h-10 px-6 border border-zinc-200 bg-white hover:bg-zinc-50 text-zinc-900 shadow-sm"- >- Try Traceway Cloud- </Link>- </div>- </div>- </section>-- {/* Feature 1: Cross-Service Visibility */}- <section className="py-24 bg-white border-y border-zinc-100">- <div className="container mx-auto px-4 max-w-5xl">- <div className="text-center mb-12">- <h2 className="text-3xl md:text-4xl font-bold text-zinc-900 tracking-tight mb-4">- Trace requests across every service- </h2>- <p className="text-zinc-600 text-lg leading-relaxed max-w-2xl mx-auto">- Follow a single user action from the browser click through your- API gateway, backend services, and database calls. Traceway- propagates trace context so every span connects into one- distributed trace.- </p>- </div>- <div className="relative rounded-xl overflow-hidden border border-zinc-200 bg-zinc-50 shadow-sm">- <Image- src="/images/distributed-trace.png"- alt="Distributed Trace across services"- width={1200}- height={400}- className="w-full h-auto"- />- </div>- </div>- </section>-- {/* Feature 2: Session Replay + Backend Errors */}- <section className="py-24 bg-zinc-50/50">- <div className="container mx-auto px-4 max-w-5xl">- <div className="flex flex-col md:flex-row-reverse items-center gap-12 lg:gap-20">- <div className="flex-1 space-y-6">- <div className="w-12 h-12 bg-purple-50 rounded-2xl flex items-center justify-center">- <Video className="w-6 h-6 text-purple-600" />- </div>- <h2 className="text-2xl md:text-3xl font-bold text-zinc-900 tracking-tight">- See what the user did when the backend broke- </h2>- <p className="text-zinc-600 text-lg leading-relaxed">- Traceway connects frontend session replays to backend exceptions.- When your payment service returns a 500, you don't just see- the stack trace — you see the user clicking- “Checkout”, filling in their card, and hitting- submit. The replay is linked to the distributed trace- automatically.- </p>- <ul className="space-y-3 pt-2">- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-purple-500"></div>- Frontend replay linked to backend errors- </li>- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-purple-500"></div>- Automatic correlation via trace ID- </li>- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-purple-500"></div>- No manual reproduction needed- </li>- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-purple-500"></div>- Works across browser and server- </li>- </ul>- </div>- <div className="flex-1 w-full relative">- <div className="absolute inset-0 bg-gradient-to-tl from-purple-100/50 to-transparent rounded-3xl transform -rotate-3 scale-105 -z-10"></div>- <div className="relative rounded-xl overflow-hidden border border-zinc-200 bg-white">- <Image- src="/images/session-replay.png"- alt="Session Replay linked to Backend Error"- width={800}- height={600}- className="w-full h-auto"- />- </div>- </div>- </div>- </div>- </section>-- {/* Two-Card Section */}- <section className="py-24 bg-white border-y border-zinc-100">- <div className="container mx-auto px-4 max-w-5xl">- <div className="grid grid-cols-1 md:grid-cols-2 gap-8">- <div className="rounded-2xl border border-zinc-200 bg-white p-8 space-y-5">- <div className="w-12 h-12 bg-orange-50 rounded-2xl flex items-center justify-center">- <FileCode className="w-6 h-6 text-orange-600" />- </div>- <h2 className="text-xl md:text-2xl font-bold text-zinc-900 tracking-tight">- Source map stack trace resolution- </h2>- <p className="text-zinc-600 leading-relaxed">- Minified JavaScript stack traces are resolved to original source- files and line numbers automatically. Upload your source maps and- every frontend error shows readable, actionable traces.- </p>- <ul className="space-y-3 pt-1">- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-orange-500"></div>- Automatic source map resolution- </li>- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-orange-500"></div>- Original file names and line numbers- </li>- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-orange-500"></div>- Works with webpack, esbuild, and Vite- </li>- </ul>- </div>-- <div className="rounded-2xl border border-zinc-200 bg-white p-8 space-y-5">- <div className="w-12 h-12 bg-blue-50 rounded-2xl flex items-center justify-center">- <TrendingUp className="w-6 h-6 text-blue-600" />- </div>- <h2 className="text-xl md:text-2xl font-bold text-zinc-900 tracking-tight">- Impact Score for distributed services- </h2>- <p className="text-zinc-600 leading-relaxed">- The Impact Score extends across service boundaries. When an- upstream service degrades, its impact propagates to every- downstream consumer — so you fix the root cause, not the- symptoms.- </p>- <ul className="space-y-3 pt-1">- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-blue-500"></div>- Cross-service impact propagation- </li>- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-blue-500"></div>- Root cause identification- </li>- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-blue-500"></div>- Automatic priority ranking- </li>- </ul>- </div>- </div>- </div>- </section>-- {/* FAQ Section */}- <section className="py-24 bg-zinc-50 border-t border-zinc-100">- <div className="container mx-auto px-4 max-w-3xl">- <div className="text-center mb-12">- <h2 className="text-3xl font-bold mb-4 text-zinc-900 tracking-tight">- Frequently Asked Questions- </h2>- <p className="text-zinc-600 text-lg">- Common questions about distributed tracing with Traceway.- </p>- </div>-- <Accordion type="single" collapsible className="w-full">- <AccordionItem value="item-1" className="border-b-zinc-200">- <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">- How does distributed tracing connect to session replay?- </AccordionTrigger>- <AccordionContent className="text-zinc-600 leading-relaxed">- Traceway's frontend SDK generates a trace ID for each user- interaction and passes it to your backend via the traceparent- header. When the backend reports a span or exception with that- trace ID, Traceway links the frontend session replay to the- backend trace automatically.- </AccordionContent>- </AccordionItem>- <AccordionItem value="item-2" className="border-b-zinc-200">- <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">- What protocols does Traceway use for trace propagation?- </AccordionTrigger>- <AccordionContent className="text-zinc-600 leading-relaxed">- Traceway supports W3C Trace Context (traceparent/tracestate- headers) and is compatible with any OpenTelemetry-instrumented- service. If your services already propagate trace context,- Traceway picks it up automatically.- </AccordionContent>- </AccordionItem>- <AccordionItem value="item-3" className="border-b-zinc-200">- <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">- Do I need to instrument both frontend and backend?- </AccordionTrigger>- <AccordionContent className="text-zinc-600 leading-relaxed">- For the full experience (session replay linked to backend- traces), yes. The frontend SDK captures user interactions and the- backend middleware captures server-side spans. Both connect via- the shared trace ID. However, backend-only distributed tracing- works independently.- </AccordionContent>- </AccordionItem>- <AccordionItem value="item-4" className="border-b-zinc-200">- <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">- How does source map resolution work?- </AccordionTrigger>- <AccordionContent className="text-zinc-600 leading-relaxed">- Upload your source maps to Traceway or configure your CI to do- it automatically. When a frontend exception is reported with a- minified stack trace, Traceway resolves it to the original file- paths and line numbers before displaying it.- </AccordionContent>- </AccordionItem>- <AccordionItem value="item-5" className="border-b-zinc-200">- <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">- Does distributed tracing work with message queues and async workflows?- </AccordionTrigger>- <AccordionContent className="text-zinc-600 leading-relaxed">- Yes. Traceway uses W3C Trace Context, and OpenTelemetry- instrumentation libraries for Kafka, RabbitMQ, SQS, and other- message brokers propagate the trace context through message- headers automatically. When a consumer processes a message, its- spans are linked to the original producer's trace. This- means async workflows — such as an API that publishes to Kafka,- which triggers a worker, which calls a downstream service —- appear as a single connected trace in Traceway. The same applies- to cron-triggered jobs and event-driven architectures: as long- as the trace context is propagated, Traceway connects every span.- </AccordionContent>- </AccordionItem>- </Accordion>- </div>- </section>- </main>- );-}diff --git a/website/app/product/issue-tracking/page.tsx b/website/app/product/issue-tracking/page.tsxdeleted file mode 100644index 6d68a38c..00000000--- a/website/app/product/issue-tracking/page.tsx+++ /dev/null@@ -1,206 +0,0 @@-import Image from "next/image";-import Link from "next/link";--import { Badge } from "@/components/ui/badge";-import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from "@/components/ui/accordion";-import { ArrowRight, TrendingUp, Layers, Globe } from "lucide-react";--const frameworks = [- { name: "Gin", src: "/images/frameworks/gin.png" },- { name: "Chi", src: "/images/frameworks/chi.png" },- { name: "Express", src: "/images/frameworks/express.png" },- { name: "NestJS", src: "/images/frameworks/nestjs.png" },- { name: "Next.js", src: "/images/frameworks/nextjs.png" },- { name: "Svelte", src: "/images/frameworks/svelte.png" },- { name: "Remix", src: "/images/frameworks/remix.png" },- { name: "OpenTelemetry", src: "/images/frameworks/otel.png" },- { name: "Cloudflare", src: "/images/frameworks/cloudflare.png" },-];--export default function IssueTrackingPage() {- return (- <main className="min-h-screen bg-white text-zinc-950 font-sans selection:bg-zinc-100 selection:text-zinc-900">- {/* Hero Section */}- <section className="relative pt-16 pb-20 overflow-hidden">- <div className="absolute inset-0 -z-10 h-full w-full bg-white bg-[radial-gradient(#e5e7eb_1px,transparent_1px)] [background-size:16px_16px] [mask-image:radial-gradient(ellipse_50%_50%_at_50%_50%,#000_70%,transparent_100%)]"></div>- <div className="container mx-auto px-4 text-center">- <Badge variant="secondary" className="mb-4 bg-red-50 text-red-700 hover:bg-red-100 px-2.5 py-0.5 border border-red-100 text-xs font-normal rounded-full">- Issue Tracking- </Badge>- <h1 className="text-4xl md:text-6xl font-bold tracking-tight mb-6 text-zinc-900">- Find and fix issues <br /> <span className="text-transparent bg-clip-text bg-gradient-to-r from-red-600 to-orange-600">before your users notice</span>- </h1>- <p className="text-zinc-600 text-lg md:text-xl max-w-2xl mx-auto mb-10 leading-relaxed font-medium">- Traceway automatically ranks issues by impact across your Go and JavaScript services, so your team always knows what to fix first.- </p>- <div className="flex flex-col sm:flex-row items-center justify-center gap-3">- <Link href="https://docs.tracewayapp.com" className="inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-all cursor-pointer h-10 px-6 bg-zinc-900 text-white hover:bg-zinc-800 shadow-lg shadow-zinc-900/20">- Get Started <ArrowRight className="ml-2 h-4 w-4" />- </Link>- <Link href="http://cloud.tracewayapp.com/register" className="inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-all cursor-pointer h-10 px-6 border border-zinc-200 bg-white hover:bg-zinc-50 text-zinc-900 shadow-sm">- Try Traceway Cloud- </Link>- </div>- </div>- </section>-- {/* Automatic Ranking Section */}- <section className="py-24 bg-white border-y border-zinc-100">- <div className="container mx-auto px-4 max-w-5xl">- <div className="flex flex-col md:flex-row items-center gap-12 lg:gap-20">- <div className="flex-1 space-y-6">- <div className="w-12 h-12 bg-blue-50 rounded-2xl flex items-center justify-center">- <TrendingUp className="w-6 h-6 text-blue-600" />- </div>- <h2 className="text-2xl md:text-3xl font-bold text-zinc-900 tracking-tight">Issues ranked by what matters</h2>- <p className="text-zinc-600 text-lg leading-relaxed">- Stop triaging manually. Traceway ranks every issue by frequency, user impact, and recency so- your team focuses on the problems that matter most. New regressions surface immediately.- </p>- <ul className="space-y-3 pt-2">- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-blue-500"></div>- Impact-based ranking- </li>- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-blue-500"></div>- Regression detection- </li>- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-blue-500"></div>- Frequency and recency scoring- </li>- </ul>- </div>- <div className="flex-1 w-full relative">- <div className="absolute inset-0 bg-gradient-to-tr from-blue-100/50 to-transparent rounded-3xl transform rotate-3 scale-105 -z-10"></div>- <div className="relative rounded-xl overflow-hidden border border-zinc-200 bg-white">- <Image- src="/images/screenshot-2.png"- alt="Issue Ranking Dashboard"- width={800}- height={600}- className="w-full h-auto"- />- </div>- </div>- </div>- </div>- </section>-- {/* Error Grouping Section */}- <section className="py-24 bg-zinc-50/50">- <div className="container mx-auto px-4 max-w-5xl">- <div className="flex flex-col md:flex-row-reverse items-center gap-12 lg:gap-20">- <div className="flex-1 space-y-6">- <div className="w-12 h-12 bg-orange-50 rounded-2xl flex items-center justify-center">- <Layers className="w-6 h-6 text-orange-600" />- </div>- <h2 className="text-2xl md:text-3xl font-bold text-zinc-900 tracking-tight">Intelligent error grouping</h2>- <p className="text-zinc-600 text-lg leading-relaxed">- Traceway normalizes stack traces before hashing, so the same logical error gets grouped together- even when runtime values differ. No more duplicate issues cluttering your dashboard.- </p>- <ul className="space-y-3 pt-2">- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-orange-500"></div>- Stack trace normalization- </li>- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-orange-500"></div>- Cross-service deduplication- </li>- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-orange-500"></div>- Full context on every occurrence- </li>- </ul>- </div>- <div className="flex-1 w-full relative">- <div className="absolute inset-0 bg-gradient-to-tl from-orange-100/50 to-transparent rounded-3xl transform -rotate-3 scale-105 -z-10"></div>- <div className="relative rounded-xl overflow-hidden border border-zinc-200 bg-white">- <Image- src="/images/screenshot-2.png"- alt="Error Grouping Interface"- width={800}- height={600}- className="w-full h-auto"- />- </div>- </div>- </div>- </div>- </section>-- {/* Full Stack Section */}- <section className="py-24 bg-white border-y border-zinc-100">- <div className="container mx-auto px-4 max-w-5xl">- <div className="flex flex-col items-center text-center space-y-6">- <div className="w-12 h-12 bg-green-50 rounded-2xl flex items-center justify-center">- <Globe className="w-6 h-6 text-green-600" />- </div>- <h2 className="text-2xl md:text-3xl font-bold text-zinc-900 tracking-tight">Track issues across your full stack</h2>- <p className="text-zinc-600 text-lg leading-relaxed max-w-2xl">- From Go backends to JavaScript frontends, Traceway captures exceptions everywhere your code runs.- Get a unified view of issues across services, with full stack traces and contextual tags.- </p>- <div className="flex flex-wrap items-center justify-center gap-8 md:gap-10 pt-6">- {frameworks.map((fw) => (- <Image- key={fw.name}- src={fw.src}- alt={fw.name}- width={40}- height={40}- className="h-8 w-auto opacity-80 hover:opacity-100 transition-all duration-200"- />- ))}- </div>- </div>- </div>- </section>-- {/* FAQ Section */}- <section className="py-24 bg-zinc-50 border-t border-zinc-100">- <div className="container mx-auto px-4 max-w-3xl">- <div className="text-center mb-12">- <h2 className="text-3xl font-bold mb-4 text-zinc-900 tracking-tight">Frequently Asked Questions</h2>- <p className="text-zinc-600 text-lg">- Common questions about issue tracking with Traceway.- </p>- </div>-- <Accordion type="single" collapsible className="w-full">- <AccordionItem value="item-1" className="border-b-zinc-200">- <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">- How does automatic issue ranking work?- </AccordionTrigger>- <AccordionContent className="text-zinc-600 leading-relaxed">- Traceway scores each issue based on how often it occurs, how recently it appeared, and how many users are affected.- Issues are continuously re-ranked as new data comes in, so regressions and trending problems surface immediately.- </AccordionContent>- </AccordionItem>- <AccordionItem value="item-2" className="border-b-zinc-200">- <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">- How does error grouping handle different environments?- </AccordionTrigger>- <AccordionContent className="text-zinc-600 leading-relaxed">- Traceway normalizes stack traces by removing runtime-specific values like memory addresses, file paths, UUIDs, and timestamps- before hashing. This means the same bug produces the same group regardless of which server or environment it occurred on.- </AccordionContent>- </AccordionItem>- <AccordionItem value="item-3" className="border-b-zinc-200">- <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">- Can I track frontend JavaScript errors?- </AccordionTrigger>- <AccordionContent className="text-zinc-600 leading-relaxed">- Yes. Traceway supports frontend frameworks like Next.js, Svelte, and Remix alongside backend frameworks like Express and NestJS.- Errors from both your frontend and backend appear in the same dashboard with full stack traces.- </AccordionContent>- </AccordionItem>- </Accordion>- </div>- </section>- </main>- );-}diff --git a/website/app/product/logs/page.tsx b/website/app/product/logs/page.tsxindex 7f07fa9a..b78f39fb 100644--- a/website/app/product/logs/page.tsx+++ b/website/app/product/logs/page.tsx@@ -1,175 +1,167 @@-import Image from "next/image";import Link from "next/link";--import { Badge } from "@/components/ui/badge";-import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from "@/components/ui/accordion";import { ArrowRight, ScrollText, Network, Boxes } from "lucide-react";-export default function LogsPage() {- return (- <main className="min-h-screen bg-white text-zinc-950 font-sans selection:bg-zinc-100 selection:text-zinc-900">- {/* Hero Section */}- <section className="relative pt-16 pb-20 overflow-hidden">- <div className="absolute inset-0 -z-10 h-full w-full bg-white bg-[radial-gradient(#e5e7eb_1px,transparent_1px)] [background-size:16px_16px] [mask-image:radial-gradient(ellipse_50%_50%_at_50%_50%,#000_70%,transparent_100%)]"></div>- <div className="container mx-auto px-4 text-center">- <Badge variant="secondary" className="mb-4 bg-amber-50 text-amber-700 hover:bg-amber-100 px-2.5 py-0.5 border border-amber-100 text-xs font-normal rounded-full">- Logs- </Badge>- <h1 className="text-4xl md:text-6xl font-bold tracking-tight mb-6 text-zinc-900">- Every log, <br /> <span className="text-transparent bg-clip-text bg-gradient-to-r from-amber-500 to-orange-600">with its full trace attached</span>- </h1>- <p className="text-zinc-600 text-lg md:text-xl max-w-2xl mx-auto mb-10 leading-relaxed font-medium">- Stop jumping between a log viewer and a trace viewer. Search by severity, service, or attribute, then open the exact request that produced any log line in one click.- </p>- <div className="flex flex-col sm:flex-row items-center justify-center gap-3">- <Link href="https://docs.tracewayapp.com/learn/logs" className="inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-all cursor-pointer h-10 px-6 bg-zinc-900 text-white hover:bg-zinc-800 shadow-lg shadow-zinc-900/20">- Get Started <ArrowRight className="ml-2 h-4 w-4" />- </Link>- <Link href="http://cloud.tracewayapp.com/register" className="inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-all cursor-pointer h-10 px-6 border border-zinc-200 bg-white hover:bg-zinc-50 text-zinc-900 shadow-sm">- Try Traceway Cloud- </Link>- </div>- </div>- </section>+import { Chip } from "@/components/chip";+import { SectionHead } from "@/components/section-head";+import { FeatureRow } from "@/components/feature-row";+import { BentoGrid, BentoCell } from "@/components/bento-grid";+import { FaqList } from "@/components/faq-list";+import { FinalCTA } from "@/components/final-cta";+import { AuroraBackground } from "@/components/aurora-background";- {/* Search Across Every Log Section */}- <section className="py-24 bg-white border-y border-zinc-100">- <div className="container mx-auto px-4 max-w-5xl">- <div className="flex flex-col md:flex-row items-center gap-12 lg:gap-20">- <div className="flex-1 space-y-6">- <div className="w-12 h-12 bg-amber-50 rounded-2xl flex items-center justify-center">- <ScrollText className="w-6 h-6 text-amber-600" />- </div>- <h2 className="text-2xl md:text-3xl font-bold text-zinc-900 tracking-tight">Search across every log</h2>- <p className="text-zinc-600 text-lg leading-relaxed">- Filter by severity, service, or trace. Full-text search over log bodies is powered by a token- index, and any resource, scope, or log attribute can be queried for exact matches.- </p>- <ul className="space-y-3 pt-2">- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-amber-500"></div>- Body search backed by token indexes- </li>- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-amber-500"></div>- Six severity levels: TRACE, DEBUG, INFO, WARN, ERROR, FATAL- </li>- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-amber-500"></div>- Attribute filters on resource, scope, and log fields- </li>- </ul>- </div>- <div className="flex-1 w-full relative">- <div className="absolute inset-0 bg-gradient-to-tr from-amber-100/50 to-transparent rounded-3xl transform rotate-3 scale-105 -z-10"></div>- <div className="relative rounded-xl overflow-hidden border border-zinc-200 bg-white">- <Image- src="/images/logs.png"- alt="Logs search and detail view"- width={1200}- height={700}- className="w-full h-auto"- />- </div>- </div>- </div>- </div>- </section>+export default function LogsPage() {+ return (+ <main className="relative">+ <section className="hero gridbg relative">+ <AuroraBackground variant="hero" />+ <div className="wrap relative z-10 max-w-3xl">+ <Chip>+ <ScrollText className="h-3 w-3 inline mr-1" />+ Logs+ </Chip>+ <h1 className="mt-6">+ Every log, <em>with its full trace attached.</em>+ </h1>+ <p className="hero-sub">+ Stop jumping between a log viewer and a trace viewer. Search by+ severity, service, or attribute, then open the exact request that+ produced any log line in one click.+ </p>+ <div className="hero-cta-row">+ <Link href="https://docs.tracewayapp.com/learn/logs" className="btn btn-accent">+ Get Started <ArrowRight className="h-4 w-4" />+ </Link>+ <Link href="https://cloud.tracewayapp.com/register" className="btn btn-ghost">+ Try Traceway Cloud+ </Link>+ </div>+ </div>+ </section>- {/* Linked to Traces + OpenTelemetry Native (2-card grid) */}- <section className="py-24 bg-zinc-50/50">- <div className="container mx-auto px-4 max-w-5xl">- <div className="grid grid-cols-1 md:grid-cols-2 gap-8">- <div className="rounded-2xl border border-zinc-200 bg-white p-8 space-y-5">- <div className="w-12 h-12 bg-orange-50 rounded-2xl flex items-center justify-center">- <Network className="w-6 h-6 text-orange-600" />- </div>- <h2 className="text-xl md:text-2xl font-bold text-zinc-900 tracking-tight">Linked to every trace</h2>- <p className="text-zinc-600 leading-relaxed">- Every log carries the trace and span ID of the request that emitted it. Open any- endpoint and see the exact log lines tied to that invocation — or follow a distributed trace- to see logs from every service it touched.- </p>- <ul className="space-y-3 pt-1">- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-orange-500"></div>- Trace and span context on every log- </li>- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-orange-500"></div>- Per-trace and per-distributed-trace views- </li>- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-orange-500"></div>- Jump from a log to the span that produced it- </li>- </ul>- </div>+ {/* Search across every log */}+ <section className="wrap">+ <FeatureRow+ eyebrow="Search"+ title={+ <>+ Search across <em>every log</em>+ </>+ }+ description="Filter by severity, service, or trace. Full-text search over log bodies is powered by a token index, and any resource, scope, or log attribute can be queried for exact matches."+ bullets={[+ "Body search backed by token indexes",+ "Six severity levels — TRACE, DEBUG, INFO, WARN, ERROR, FATAL",+ "Attribute filters on resource, scope, and log fields",+ "Time-range facet navigation",+ ]}+ image={{ src: "/images/logs.png", alt: "Logs search and detail view", width: 1600, height: 1000 }}+ />+ </section>- <div className="rounded-2xl border border-zinc-200 bg-white p-8 space-y-5">- <div className="w-12 h-12 bg-green-50 rounded-2xl flex items-center justify-center">- <Boxes className="w-6 h-6 text-green-600" />- </div>- <h2 className="text-xl md:text-2xl font-bold text-zinc-900 tracking-tight">OpenTelemetry-native</h2>- <p className="text-zinc-600 leading-relaxed">- Send logs from any OTel SDK — Node.js, Python, Go, Java, .NET, PHP. No vendor client needed.- OTLP/HTTP ingestion supports both Protobuf and JSON, and data is stored with a 30-day TTL.- </p>- <ul className="space-y-3 pt-1">- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-green-500"></div>- Standard OTLP endpoint at /api/otel/v1/logs- </li>- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-green-500"></div>- Works with the OTel Collector or direct SDK export- </li>- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-green-500"></div>- 30-day retention, fully indexed- </li>- </ul>- </div>- </div>- </div>- </section>+ {/* 2-card bento */}+ <section className="wrap py-10">+ <SectionHead+ eyebrow="Built for correlation"+ title={+ <>+ Linked to traces. <em>Native to OpenTelemetry.</em>+ </>+ }+ />+ <BentoGrid>+ <BentoCell+ size="wide"+ icon={Network}+ title="Linked to every trace"+ iconColor="var(--a1)"+ >+ <p>+ Every log carries the trace and span ID of the request that+ emitted it. Open any endpoint and see the exact log lines tied to+ that invocation — or follow a distributed trace to see logs from+ every service it touched.+ </p>+ </BentoCell>+ <BentoCell+ size="tall"+ icon={Boxes}+ title="OpenTelemetry-native"+ iconColor="var(--ok)"+ >+ <p>+ Send logs from any OTel SDK — Node.js, Python, Go, Java, .NET,+ PHP. No vendor client needed. OTLP/HTTP supports Protobuf and+ JSON, with a 30-day TTL.+ </p>+ </BentoCell>+ </BentoGrid>+ </section>- {/* FAQ Section */}- <section className="py-24 bg-zinc-50 border-t border-zinc-100">- <div className="container mx-auto px-4 max-w-3xl">- <div className="text-center mb-12">- <h2 className="text-3xl font-bold mb-4 text-zinc-900 tracking-tight">Frequently Asked Questions</h2>- <p className="text-zinc-600 text-lg">- Common questions about logs with Traceway.- </p>- </div>+ <FinalCTA+ title={+ <>+ One log. <em>One click to its trace.</em>+ </>+ }+ description="Logs are included on every plan, from Starter to Enterprise."+ primary={{ label: "Read the Logs docs", href: "https://docs.tracewayapp.com/learn/logs" }}+ secondary={{+ label: "Try Live Demo",+ href: "https://cloud.tracewayapp.com/[email protected]&password=demoaccount!",+ }}+ />- <Accordion type="single" collapsible className="w-full">- <AccordionItem value="item-1" className="border-b-zinc-200">- <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">- How do I send logs to Traceway?- </AccordionTrigger>- <AccordionContent className="text-zinc-600 leading-relaxed">- Point any OpenTelemetry Logs SDK at <code>/api/otel/v1/logs</code> with an- {" "}<code>Authorization: Bearer <project_token></code> header. Protobuf and JSON are- both supported. If you already run an OTel Collector, route its <code>logs</code> pipeline to- the same endpoint.- </AccordionContent>- </AccordionItem>- <AccordionItem value="item-2" className="border-b-zinc-200">- <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">- Are logs linked to my traces automatically?- </AccordionTrigger>- <AccordionContent className="text-zinc-600 leading-relaxed">- Yes. Every log carries the OTel <code>trace_id</code> and <code>span_id</code> from the- active context at emission time. That means logs emitted inside a request handler, background- job, or child span are automatically associated with the corresponding trace — no extra- plumbing required.- </AccordionContent>- </AccordionItem>- </Accordion>- </div>- </section>- </main>- );+ <section className="wrap pt-10 pb-24">+ <div className="max-w-3xl mx-auto">+ <SectionHead align="center" eyebrow="FAQ" title="Questions about logs" />+ <div className="mt-4">+ <FaqList+ items={[+ {+ q: "How do I send logs to Traceway?",+ a: (+ <>+ <p>+ Point any OpenTelemetry Logs SDK at{" "}+ <code>/api/otel/v1/logs</code> with an{" "}+ <code>Authorization: Bearer <project_token></code>{" "}+ header. Protobuf and JSON are both supported.+ </p>+ <p>+ If you already run an OTel Collector, route its{" "}+ <code>logs</code> pipeline to the same endpoint.+ </p>+ </>+ ),+ },+ {+ q: "Are logs linked to my traces automatically?",+ a: (+ <>+ <p>+ Yes. Every log carries the OTel <code>trace_id</code> and{" "}+ <code>span_id</code> from the active context at emission+ time. That means logs emitted inside a request handler,+ background job, or child span are automatically+ associated with the corresponding trace — no extra+ plumbing required.+ </p>+ </>+ ),+ },+ {+ q: "How long are logs retained?",+ a: "30 days by default. ClickHouse-backed storage with daily partitioning and TTL, so retention is enforced automatically without manual cleanup.",+ },+ {+ q: "Do logs count toward my event limit?",+ a: "Logs have their own ingestion tier that scales with your plan. See the Cloud pricing page for current limits — self-hosting is unlimited.",+ },+ ]}+ />+ </div>+ </div>+ </section>+ </main>+ );}diff --git a/website/app/product/metrics/page.tsx b/website/app/product/metrics/page.tsxnew file mode 100644index 00000000..85ea211e--- /dev/null+++ b/website/app/product/metrics/page.tsx@@ -0,0 +1,250 @@+import Link from "next/link";+import {+ ArrowRight,+ BarChart3,+ Cpu,+ LayoutDashboard,+ Network,+ Package,+ Radio,+ Ruler,+} from "lucide-react";++import { Chip } from "@/components/chip";+import { SectionHead } from "@/components/section-head";+import { FeatureRow } from "@/components/feature-row";+import { BentoGrid, BentoCell } from "@/components/bento-grid";+import { FaqList } from "@/components/faq-list";+import { FinalCTA } from "@/components/final-cta";+import { AuroraBackground } from "@/components/aurora-background";+import { Terminal } from "@/components/terminal";++export default function MetricsPage() {+ return (+ <main className="relative">+ <section className="hero gridbg relative">+ <AuroraBackground variant="hero" />+ <div className="wrap relative z-10 max-w-3xl">+ <Chip variant="ok">+ <BarChart3 className="h-3 w-3 inline mr-1" />+ Metrics+ </Chip>+ <h1 className="mt-6">+ Measure what matters, <em>without the bill shock.</em>+ </h1>+ <p className="hero-sub">+ Custom application metrics, automatic server metrics, flexible+ widget dashboards, and OpenTelemetry ingestion — all included in+ every plan. No per-metric billing, no surprise overages.+ </p>+ <div className="hero-cta-row">+ <Link href="https://docs.tracewayapp.com" className="btn btn-accent">+ Get Started <ArrowRight className="h-4 w-4" />+ </Link>+ <Link href="https://cloud.tracewayapp.com/register" className="btn btn-ghost">+ Try Traceway Cloud+ </Link>+ </div>+ </div>+ </section>++ {/* Application metrics */}+ <section className="wrap">+ <FeatureRow+ eyebrow="Application metrics"+ title={+ <>+ Custom metrics with <em>one function call</em>+ </>+ }+ description="Counter, Gauge, and Histogram types with dimensional tags. Emit metrics from anywhere in your code — the SDK batches, compresses, and ships them to Traceway without blocking your hot path."+ bullets={[+ "Counter / Gauge / Histogram types",+ "Dimensional tags for facet breakdowns",+ "Single-call SDK API",+ "Zero impact on request latency",+ ]}+ image={{ src: "/images/screenshot-4.png", alt: "Custom metrics dashboard" }}+ />+ </section>++ {/* Code example */}+ <section className="wrap py-16">+ <div className="max-w-3xl mx-auto">+ <Terminal+ title="capture custom metrics"+ lines={[+ { type: "mute", content: "// Track business metrics alongside system metrics" },+ { type: "cmd", content: 'traceway.Metric.Counter("signups", 1, tags)' },+ { type: "cmd", content: 'traceway.Metric.Gauge("queue.depth", 42, tags)' },+ { type: "cmd", content: 'traceway.Metric.Histogram("checkout.ms", 312, tags)' },+ { type: "mute", content: "// Tags can be plan, region, tenant — anything you want to slice by" },+ { type: "ok", content: '✓ metrics indexed by type, tag, and time — query anywhere' },+ ]}+ showCursor+ />+ </div>+ </section>++ {/* Server metrics */}+ <section className="wrap">+ <FeatureRow+ reverse+ eyebrow="Server metrics"+ title="CPU, memory, goroutines, GC — automatic"+ description="The Traceway SDK emits runtime metrics every 10 seconds without any configuration. See host health alongside application metrics in a single view."+ bullets={[+ "CPU usage percentage",+ "Memory (allocated, heap, used%)",+ "Goroutine count + heap object count",+ "GC cycles and pause time",+ "Zero-config, always on",+ ]}+ image={{ src: "/images/screenshot-4.png", alt: "Server metrics dashboard" }}+ />+ </section>++ {/* Widget groups */}+ <section className="wrap">+ <FeatureRow+ eyebrow="Widget groups"+ title={+ <>+ Dashboards that match <em>your team's mental model</em>+ </>+ }+ description="Pick metrics, pick charts, group them into widget pages. No query language required; filters, tag breakdowns, and rollups are all declarative."+ bullets={[+ "Drag-to-add charts",+ "Group widgets by feature, service, or team",+ "Per-metric filters and rollups",+ "Set default dashboards per organization",+ ]}+ image={{ src: "/images/screenshot-3.png", alt: "Widget groups dashboard" }}+ />+ </section>++ {/* Ingest bento */}+ <section className="wrap py-10">+ <SectionHead+ eyebrow="Ingest"+ title={+ <>+ OpenTelemetry metrics — <em>first-class</em>+ </>+ }+ description="Bring metrics from anywhere. Traceway speaks OTLP natively and registers every metric with type, unit, and cardinality."+ />+ <BentoGrid>+ <BentoCell+ size="wide"+ icon={Network}+ title="OTLP/HTTP + OTLP/gRPC"+ iconColor="var(--a2)"+ >+ <p>+ Point any OpenTelemetry SDK at Traceway. Sum, Gauge, and+ Histogram metric types are all understood natively — no+ translation layer, no metric-name mangling.+ </p>+ </BentoCell>+ <BentoCell+ size="med"+ icon={Package}+ title="Metric Registry"+ iconColor="var(--a1)"+ >+ <p>+ Every metric shows up with its type, unit, description,+ last-seen timestamp, and cardinality. Spot runaway tag explosions+ before they hit your bill.+ </p>+ </BentoCell>+ <BentoCell+ size="med"+ icon={Radio}+ title="Prometheus scrape"+ iconColor="var(--ok)"+ >+ <p>+ Traceway can pull <code>/metrics</code> endpoints on a+ configurable interval. Your existing Prometheus exporters work+ unchanged.+ </p>+ </BentoCell>+ <BentoCell size="sm" icon={Cpu} title="StatsD compat">+ <p>UDP ingestion for legacy StatsD metric streams.</p>+ </BentoCell>+ <BentoCell size="sm" icon={Ruler} title="Custom units">+ <p>Bytes, seconds, percentages — declare once, render consistently.</p>+ </BentoCell>+ <BentoCell size="sm" icon={LayoutDashboard} title="Always in context">+ <p>Metrics link back to the traces, logs, and issues around them.</p>+ </BentoCell>+ </BentoGrid>+ </section>++ <FinalCTA+ title={+ <>+ Ship metrics <em>in 5 minutes</em>+ </>+ }+ description="Application + server metrics. Included on every plan. No per-metric billing."+ primary={{+ label: "Read the Metrics docs",+ href: "https://docs.tracewayapp.com",+ }}+ secondary={{+ label: "Try Live Demo",+ href: "https://cloud.tracewayapp.com/[email protected]&password=demoaccount!",+ }}+ />++ <section className="wrap pt-10 pb-24">+ <div className="max-w-3xl mx-auto">+ <SectionHead align="center" eyebrow="FAQ" title="Questions about metrics" />+ <div className="mt-4">+ <FaqList+ items={[+ {+ q: "How do I emit a custom metric?",+ a: (+ <>+ <p>+ With the Traceway SDK, a single call:{" "}+ <code>traceway.Metric.Counter("signups", 1, tags)</code>+ {" "}— that's it. Full docs cover Gauge and Histogram.+ </p>+ <p>+ Or send metrics via OpenTelemetry at{" "}+ <code>/api/otel/v1/metrics</code> — OTLP/HTTP and+ OTLP/gRPC are both supported natively.+ </p>+ </>+ ),+ },+ {+ q: "What server metrics are collected automatically?",+ a: "The Traceway SDK automatically emits CPU usage, memory usage (allocated, heap, used%), goroutine count, heap object count, GC cycle count, and GC pause time every 10 seconds. No configuration required — they show up in the Metrics dashboard out of the box.",+ },+ {+ q: "Do custom metrics count toward my event limit?",+ a: "No. Metrics are included at no additional event cost — only issues, HTTP requests, and background tasks count toward your event limit. This means you can emit thousands of custom metrics without worrying about billing.",+ },+ {+ q: "Can I query metrics by tag or dimension?",+ a: "Yes. Every tag becomes a facet you can filter on; widget groups let you build per-dimension chart panels. For example, a `plan` tag on a signups metric lets you chart signups broken down by plan, region, or tenant.",+ },+ {+ q: "Does Traceway support Prometheus?",+ a: "Yes. Traceway can scrape /metrics endpoints on a configurable interval. Your existing Prometheus exporters work unchanged — just point Traceway at their address and choose a scrape interval.",+ },+ ]}+ />+ </div>+ </div>+ </section>+ </main>+ );+}diff --git a/website/app/product/performance/page.tsx b/website/app/product/performance/page.tsxindex 30f38e74..4797bc34 100644--- a/website/app/product/performance/page.tsx+++ b/website/app/product/performance/page.tsx@@ -1,210 +1,219 @@-import Image from "next/image";import Link from "next/link";+import { ArrowRight, Activity, ChartGantt, Gauge } from "lucide-react";-import { Badge } from "@/components/ui/badge";-import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from "@/components/ui/accordion";-import { ArrowRight, Activity, ChartGantt, Cpu } from "lucide-react";+import { Chip } from "@/components/chip";+import { SectionHead } from "@/components/section-head";+import { FeatureRow } from "@/components/feature-row";+import { FaqList } from "@/components/faq-list";+import { FinalCTA } from "@/components/final-cta";+import { AuroraBackground } from "@/components/aurora-background";export default function PerformancePage() {- return (- <main className="min-h-screen bg-white text-zinc-950 font-sans selection:bg-zinc-100 selection:text-zinc-900">- {/* Hero Section */}- <section className="relative pt-16 pb-20 overflow-hidden">- <div className="absolute inset-0 -z-10 h-full w-full bg-white bg-[radial-gradient(#e5e7eb_1px,transparent_1px)] [background-size:16px_16px] [mask-image:radial-gradient(ellipse_50%_50%_at_50%_50%,#000_70%,transparent_100%)]"></div>- <div className="container mx-auto px-4 text-center">- <Badge variant="secondary" className="mb-4 bg-blue-50 text-blue-700 hover:bg-blue-100 px-2.5 py-0.5 border border-blue-100 text-xs font-normal rounded-full">- Performance- </Badge>- <h1 className="text-4xl md:text-6xl font-bold tracking-tight mb-6 text-zinc-900">- Understand exactly <br /> <span className="text-transparent bg-clip-text bg-gradient-to-r from-blue-600 to-indigo-600">where time is spent</span>- </h1>- <p className="text-zinc-600 text-lg md:text-xl max-w-2xl mx-auto mb-10 leading-relaxed font-medium">- P50/P95/P99 percentiles for every endpoint, span waterfall traces, and real-time server metrics. Know exactly what's slow and why.- </p>- <div className="flex flex-col sm:flex-row items-center justify-center gap-3">- <Link href="https://docs.tracewayapp.com" className="inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-all cursor-pointer h-10 px-6 bg-zinc-900 text-white hover:bg-zinc-800 shadow-lg shadow-zinc-900/20">- Get Started <ArrowRight className="ml-2 h-4 w-4" />- </Link>- <Link href="http://cloud.tracewayapp.com/register" className="inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-all cursor-pointer h-10 px-6 border border-zinc-200 bg-white hover:bg-zinc-50 text-zinc-900 shadow-sm">- Try Traceway Cloud- </Link>- </div>- </div>- </section>+ return (+ <main className="relative">+ <section className="hero gridbg relative">+ <AuroraBackground variant="hero" />+ <div className="wrap relative z-10 max-w-3xl">+ <Chip>+ <Activity className="h-3 w-3 inline mr-1" />+ Performance+ </Chip>+ <h1 className="mt-6">+ Understand exactly <em>where time is spent.</em>+ </h1>+ <p className="hero-sub">+ P50/P95/P99 percentiles for every endpoint, span waterfall traces,+ and per-endpoint drill-downs. Know exactly what's slow and why.+ </p>+ <div className="hero-cta-row">+ <Link href="https://docs.tracewayapp.com" className="btn btn-accent">+ Get Started <ArrowRight className="h-4 w-4" />+ </Link>+ <Link href="https://cloud.tracewayapp.com/register" className="btn btn-ghost">+ Try Traceway Cloud+ </Link>+ </div>+ </div>+ </section>- {/* Endpoint Analytics Section */}- <section className="py-24 bg-white border-y border-zinc-100">- <div className="container mx-auto px-4 max-w-5xl">- <div className="flex flex-col md:flex-row items-center gap-12 lg:gap-20">- <div className="flex-1 space-y-6">- <div className="w-12 h-12 bg-blue-50 rounded-2xl flex items-center justify-center">- <Activity className="w-6 h-6 text-blue-600" />- </div>- <h2 className="text-2xl md:text-3xl font-bold text-zinc-900 tracking-tight">Endpoint analytics at a glance</h2>- <p className="text-zinc-600 text-lg leading-relaxed">- See P50, P95, and P99 percentiles for every endpoint in your application. Quickly identify which routes- are fast and which need attention, with throughput and error rate breakdowns.- </p>- <ul className="space-y-3 pt-2">- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-blue-500"></div>- P50/P95/P99 latency percentiles- </li>- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-blue-500"></div>- Throughput and error rate- </li>- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-blue-500"></div>- Historical trend comparison- </li>- </ul>- </div>- <div className="flex-1 w-full relative">- <div className="absolute inset-0 bg-gradient-to-tr from-blue-100/50 to-transparent rounded-3xl transform rotate-3 scale-105 -z-10"></div>- <div className="relative rounded-xl overflow-hidden border border-zinc-200 bg-white">- <Image- src="/images/screenshot-1.png"- alt="Endpoint Analytics"- width={800}- height={600}- className="w-full h-auto"- />- </div>- </div>- </div>- </div>- </section>+ {/* Drill into any request — absorbed from home */}+ <section className="wrap">+ <FeatureRow+ eyebrow="Endpoint introspection"+ title={+ <>+ Drill into <em>any request</em>+ </>+ }+ description="Request/response details, waterfall traces, and custom context tags. Understand the exact state of your application for every single trace — not just aggregates."+ bullets={[+ "Detailed request/response payloads",+ "Waterfall trace view with span attributes",+ "Custom context and tag facets",+ "Filter by status, latency, or tag",+ ]}+ image={{ src: "/images/screenshot-1.png", alt: "Endpoint introspection" }}+ />+ </section>- {/* Waterfall Section */}- <section className="py-24 bg-zinc-50/50">- <div className="container mx-auto px-4 max-w-5xl">- <div className="flex flex-col md:flex-row-reverse items-center gap-12 lg:gap-20">- <div className="flex-1 space-y-6">- <div className="w-12 h-12 bg-orange-50 rounded-2xl flex items-center justify-center">- <ChartGantt className="w-6 h-6 text-orange-600" />- </div>- <h2 className="text-2xl md:text-3xl font-bold text-zinc-900 tracking-tight">Span waterfall view</h2>- <p className="text-zinc-600 text-lg leading-relaxed">- Break down every request into its component operations. See exactly which database query,- external API call, or middleware is adding latency, with precise timing for each span.- </p>- <ul className="space-y-3 pt-2">- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-orange-500"></div>- Operation-level timing breakdown- </li>- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-orange-500"></div>- Visual waterfall timeline- </li>- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-orange-500"></div>- Pinpoint bottlenecks instantly- </li>- </ul>- </div>- <div className="flex-1 w-full relative">- <div className="absolute inset-0 bg-gradient-to-tl from-orange-100/50 to-transparent rounded-3xl transform -rotate-3 scale-105 -z-10"></div>- <div className="relative rounded-xl overflow-hidden border border-zinc-200 bg-white">- <Image- src="/images/screenshot-3.png"- alt="Span Waterfall View"- width={800}- height={600}- className="w-full h-auto"- />- </div>- </div>- </div>- </div>- </section>+ {/* Endpoint analytics */}+ <section className="wrap">+ <FeatureRow+ reverse+ eyebrow="Percentiles"+ title="Endpoint analytics at a glance"+ description="See P50, P95, and P99 percentiles for every endpoint in your application. Quickly identify which routes are fast and which need attention, with throughput and error-rate breakdowns."+ bullets={[+ "P50 / P95 / P99 latency percentiles",+ "Throughput + error rate per route",+ "Historical trend comparison",+ "Per-endpoint slow threshold override",+ ]}+ image={{ src: "/images/screenshot-3.png", alt: "Endpoint analytics" }}+ />+ </section>- {/* Server Metrics Section */}- <section className="py-24 bg-white border-y border-zinc-100">- <div className="container mx-auto px-4 max-w-5xl">- <div className="flex flex-col md:flex-row items-center gap-12 lg:gap-20">- <div className="flex-1 space-y-6">- <div className="w-12 h-12 bg-green-50 rounded-2xl flex items-center justify-center">- <Cpu className="w-6 h-6 text-green-600" />- </div>- <h2 className="text-2xl md:text-3xl font-bold text-zinc-900 tracking-tight">Server metrics in real time</h2>- <p className="text-zinc-600 text-lg leading-relaxed">- Monitor CPU usage, memory consumption, goroutines, and garbage collection alongside your- application telemetry. Correlate infrastructure health with endpoint performance.- </p>- <ul className="space-y-3 pt-2">- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-green-500"></div>- CPU and memory monitoring- </li>- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-green-500"></div>- Go runtime metrics (goroutines, GC)- </li>- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-green-500"></div>- Automatic collection via SDK- </li>- </ul>- </div>- <div className="flex-1 w-full relative">- <div className="absolute inset-0 bg-gradient-to-tr from-green-100/50 to-transparent rounded-3xl transform rotate-3 scale-105 -z-10"></div>- <div className="relative rounded-xl overflow-hidden border border-zinc-200 bg-white">- <Image- src="/images/screenshot-4.png"- alt="Server Metrics Dashboard"- width={800}- height={600}- className="w-full h-auto"- />- </div>- </div>- </div>- </div>- </section>+ {/* Waterfall */}+ <section className="wrap">+ <FeatureRow+ eyebrow="Waterfall"+ title="Span waterfall view"+ description="Break down every request into its component operations. See exactly which database query, external API call, or middleware is adding latency, with precise timing for each span."+ bullets={[+ "Operation-level timing breakdown",+ "Visual waterfall timeline",+ "Pinpoint bottlenecks instantly",+ "Expand spans to see logs + attributes",+ ]}+ image={{ src: "/images/distributed-trace.png", alt: "Span waterfall view", width: 1200, height: 400 }}+ />+ </section>- {/* FAQ Section */}- <section className="py-24 bg-zinc-50 border-t border-zinc-100">- <div className="container mx-auto px-4 max-w-3xl">- <div className="text-center mb-12">- <h2 className="text-3xl font-bold mb-4 text-zinc-900 tracking-tight">Frequently Asked Questions</h2>- <p className="text-zinc-600 text-lg">- Common questions about performance monitoring with Traceway.- </p>- </div>+ {/* Apdex + slow threshold */}+ <section className="wrap py-10">+ <SectionHead+ eyebrow="Apdex-aware"+ title={+ <>+ Know what counts as <em>slow</em>+ </>+ }+ description="Set a slow-endpoint threshold globally or per route. Traceway uses it as the apdex anchor — a deliberate knob so /api/health and /api/checkout can be judged on their own terms."+ />+ <div+ className="mt-8 max-w-3xl mx-auto rounded-[12px] p-8"+ style={{+ background: "linear-gradient(180deg, var(--ink-3), var(--ink-2))",+ border: "1px solid var(--hair)",+ }}+ >+ <div className="grid grid-cols-3 gap-6 text-center">+ <div>+ <div+ className="text-[32px] font-semibold"+ style={{ color: "var(--ok)", fontFamily: "var(--font-display)" }}+ >+ ≤ 750ms+ </div>+ <div+ className="mt-2 text-[11px] uppercase tracking-[0.1em]"+ style={{ color: "var(--fg-2)", fontFamily: "var(--font-mono)" }}+ >+ Good+ </div>+ </div>+ <div>+ <div+ className="text-[32px] font-semibold"+ style={{ color: "var(--a4)", fontFamily: "var(--font-display)" }}+ >+ ≤ 1500ms+ </div>+ <div+ className="mt-2 text-[11px] uppercase tracking-[0.1em]"+ style={{ color: "var(--fg-2)", fontFamily: "var(--font-mono)" }}+ >+ Tolerable+ </div>+ </div>+ <div>+ <div+ className="text-[32px] font-semibold"+ style={{ color: "var(--crit)", fontFamily: "var(--font-display)" }}+ >+ > 1500ms+ </div>+ <div+ className="mt-2 text-[11px] uppercase tracking-[0.1em]"+ style={{ color: "var(--fg-2)", fontFamily: "var(--font-mono)" }}+ >+ Bad or 5xx+ </div>+ </div>+ </div>+ <div+ className="mt-6 pt-6 text-center text-sm flex items-center justify-center gap-3"+ style={{ borderTop: "1px solid var(--hair)", color: "var(--fg-2)" }}+ >+ <Gauge className="h-4 w-4" style={{ color: "var(--a2)" }} />+ Override per endpoint via the slow threshold UI+ </div>+ </div>+ </section>- <Accordion type="single" collapsible className="w-full">- <AccordionItem value="item-1" className="border-b-zinc-200">- <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">- What percentiles does Traceway track?- </AccordionTrigger>- <AccordionContent className="text-zinc-600 leading-relaxed">- Traceway calculates P50 (median), P95, and P99 latency percentiles for every endpoint.- This gives you a clear picture of both typical and worst-case response times for your application.- </AccordionContent>- </AccordionItem>- <AccordionItem value="item-2" className="border-b-zinc-200">- <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">- How does the waterfall view work?- </AccordionTrigger>- <AccordionContent className="text-zinc-600 leading-relaxed">- The waterfall view shows every span (database query, external API call, etc.) within a single request as a timeline.- You can see how long each operation took and where they overlap, making it easy to identify the slowest part of any request.- </AccordionContent>- </AccordionItem>- <AccordionItem value="item-3" className="border-b-zinc-200">- <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">- What server metrics are collected automatically?- </AccordionTrigger>- <AccordionContent className="text-zinc-600 leading-relaxed">- The Traceway SDK automatically collects CPU usage, memory usage, active goroutine count, heap object count,- GC cycle count, and GC pause time. No additional configuration is required—just add the middleware and metrics start flowing.- </AccordionContent>- </AccordionItem>- </Accordion>- </div>- </section>- </main>- );+ <FinalCTA+ title={+ <>+ Measure. <em>Find.</em> Fix.+ </>+ }+ description="Performance dashboards included in every plan."+ primary={{ label: "Get Started", href: "https://docs.tracewayapp.com" }}+ secondary={{+ label: "Try Live Demo",+ href: "https://cloud.tracewayapp.com/[email protected]&password=demoaccount!",+ }}+ />++ <section className="wrap pt-10 pb-24">+ <div className="max-w-3xl mx-auto">+ <SectionHead align="center" eyebrow="FAQ" title="Questions about performance" />+ <div className="mt-4">+ <FaqList+ items={[+ {+ q: "What percentiles does Traceway track?",+ a: "Traceway calculates P50 (median), P95, and P99 latency percentiles for every endpoint. This gives you a clear picture of both typical and worst-case response times for your application.",+ },+ {+ q: "How does the waterfall view work?",+ a: "The waterfall view shows every span (database query, external API call, middleware, etc.) within a single request as a timeline. You can see how long each operation took and where they overlap, making it easy to identify the slowest part of any request.",+ },+ {+ q: "How are the apdex thresholds computed?",+ a: "Traceway uses a slow-endpoint threshold as the apdex anchor. Requests under 750ms are Good, under 1500ms are Tolerable, and over 1500ms (or returning 5xx) are Bad. You can override the threshold globally or per-endpoint to account for routes that have different latency profiles — /api/health and /api/checkout rightly judged on their own terms.",+ },+ {+ q: "Where do server metrics live now?",+ a: (+ <>+ <p>+ Server metrics (CPU, memory, goroutines, GC) moved to+ the dedicated{" "}+ <Link href="/product/metrics" style={{ color: "var(--a2)", textDecoration: "underline" }}>+ Metrics+ </Link>{" "}+ page. Performance stays focused on latency, percentiles,+ and waterfall span analysis.+ </p>+ </>+ ),+ },+ ]}+ />+ </div>+ </div>+ </section>+ </main>+ );}diff --git a/website/app/product/session-replay/page.tsx b/website/app/product/session-replay/page.tsxindex a8b6f128..287299b5 100644--- a/website/app/product/session-replay/page.tsx+++ b/website/app/product/session-replay/page.tsx@@ -1,177 +1,160 @@-import Image from "next/image";import Link from "next/link";--import { Badge } from "@/components/ui/badge";-import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from "@/components/ui/accordion";import { ArrowRight, Video, Zap, ShieldCheck } from "lucide-react";+import { Chip } from "@/components/chip";+import { SectionHead } from "@/components/section-head";+import { FeatureRow } from "@/components/feature-row";+import { BentoGrid, BentoCell } from "@/components/bento-grid";+import { FaqList } from "@/components/faq-list";+import { FinalCTA } from "@/components/final-cta";+import { AuroraBackground } from "@/components/aurora-background";+export default function SessionReplayPage() {- return (- <main className="min-h-screen bg-white text-zinc-950 font-sans selection:bg-zinc-100 selection:text-zinc-900">- {/* Hero Section */}- <section className="relative pt-16 pb-20 overflow-hidden">- <div className="absolute inset-0 -z-10 h-full w-full bg-white bg-[radial-gradient(#e5e7eb_1px,transparent_1px)] [background-size:16px_16px] [mask-image:radial-gradient(ellipse_50%_50%_at_50%_50%,#000_70%,transparent_100%)]"></div>- <div className="container mx-auto px-4 text-center">- <Badge variant="secondary" className="mb-4 bg-purple-50 text-purple-700 hover:bg-purple-100 px-2.5 py-0.5 border border-purple-100 text-xs font-normal rounded-full">- Session Replay- </Badge>- <h1 className="text-4xl md:text-6xl font-bold tracking-tight mb-6 text-zinc-900">- See what caused <br /> <span className="text-transparent bg-clip-text bg-gradient-to-r from-purple-600 to-violet-600">every error</span>- </h1>- <p className="text-zinc-600 text-lg md:text-xl max-w-2xl mx-auto mb-10 leading-relaxed font-medium">- Skip the log-digging and reproduction steps. Watch the user's actual clicks, scrolls, and navigations leading up to every exception.- </p>- <div className="flex flex-col sm:flex-row items-center justify-center gap-3">- <Link href="https://docs.tracewayapp.com" className="inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-all cursor-pointer h-10 px-6 bg-zinc-900 text-white hover:bg-zinc-800 shadow-lg shadow-zinc-900/20">- Get Started <ArrowRight className="ml-2 h-4 w-4" />- </Link>- <Link href="http://cloud.tracewayapp.com/register" className="inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-all cursor-pointer h-10 px-6 border border-zinc-200 bg-white hover:bg-zinc-50 text-zinc-900 shadow-sm">- Try Traceway Cloud- </Link>- </div>- </div>- </section>+ return (+ <main className="relative">+ <section className="hero gridbg relative">+ <AuroraBackground variant="hero" />+ <div className="wrap relative z-10 max-w-3xl">+ <Chip>+ <Video className="h-3 w-3 inline mr-1" />+ Session Replay+ </Chip>+ <h1 className="mt-6">+ See exactly <em>what the user did.</em>+ </h1>+ <p className="hero-sub">+ Traceway captures ~10 seconds of user activity before every error —+ clicks, scrolls, and form interactions are attached to exceptions+ automatically. No manual reproduction needed.+ </p>+ <div className="hero-cta-row">+ <Link href="https://docs.tracewayapp.com" className="btn btn-accent">+ Get Started <ArrowRight className="h-4 w-4" />+ </Link>+ <Link href="https://cloud.tracewayapp.com/register" className="btn btn-ghost">+ Try Traceway Cloud+ </Link>+ </div>+ </div>+ </section>- {/* Watch the moments before every error */}- <section className="py-24 bg-white border-y border-zinc-100">- <div className="container mx-auto px-4 max-w-5xl">- <div className="flex flex-col md:flex-row items-center gap-12 lg:gap-20">- <div className="flex-1 space-y-6">- <div className="w-12 h-12 bg-purple-50 rounded-2xl flex items-center justify-center">- <Video className="w-6 h-6 text-purple-600" />- </div>- <h2 className="text-2xl md:text-3xl font-bold text-zinc-900 tracking-tight">Watch the moments before every error</h2>- <p className="text-zinc-600 text-lg leading-relaxed">- Traceway captures user activity leading up to exceptions - clicks, scrolls, form fills, and page navigations.- When something breaks, you see exactly what happened.- </p>- <ul className="space-y-3 pt-2">- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-purple-500"></div>- Pre-error activity capture- </li>- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-purple-500"></div>- Clicks, scrolls, and form interactions- </li>- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-purple-500"></div>- Page navigation timeline- </li>- </ul>- </div>- <div className="flex-1 w-full relative">- <div className="absolute inset-0 bg-gradient-to-tr from-purple-100/50 to-transparent rounded-3xl transform rotate-3 scale-105 -z-10"></div>- <div className="relative rounded-xl overflow-hidden border border-zinc-200 bg-white">- <Image- src="/images/session-replay.png"- alt="Session Replay Interface"- width={800}- height={600}- className="w-full h-auto"- />- </div>- </div>- </div>- </div>- </section>+ {/* Absorbed from home */}+ <section className="wrap">+ <FeatureRow+ eyebrow="Pre-error capture"+ title={+ <>+ See exactly <em>what the user did</em>+ </>+ }+ description="Traceway captures ~10 seconds of user activity before every error. Clicks, scrolls, and form interactions are attached to exceptions automatically — no manual reproduction needed."+ bullets={[+ "Pre-error activity capture",+ "Automatic attachment to exceptions",+ "Clicks, scrolls, and form interactions",+ "Page navigation timeline",+ ]}+ image={{ src: "/images/session-replay.png", alt: "Session replay interface" }}+ />+ </section>- {/* Attached to every exception + Built for privacy */}- <section className="py-24 bg-zinc-50/50">- <div className="container mx-auto px-4 max-w-5xl">- <div className="grid grid-cols-1 md:grid-cols-2 gap-8">- <div className="rounded-2xl border border-zinc-200 bg-white p-8 space-y-5">- <div className="w-12 h-12 bg-orange-50 rounded-2xl flex items-center justify-center">- <Zap className="w-6 h-6 text-orange-600" />- </div>- <h2 className="text-xl md:text-2xl font-bold text-zinc-900 tracking-tight">Attached to every exception automatically</h2>- <p className="text-zinc-600 leading-relaxed">- No manual setup or reproduction steps. Every exception gets a replay attached automatically.- Click into any issue and watch exactly what the user did.- </p>- <ul className="space-y-3 pt-1">- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-orange-500"></div>- Zero-config capture- </li>- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-orange-500"></div>- Linked directly to exceptions- </li>- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-orange-500"></div>- No reproduction needed- </li>- </ul>- </div>+ {/* Watch moments before error */}+ <section className="wrap">+ <FeatureRow+ reverse+ eyebrow="DOM replay"+ title="Watch the moments before every error"+ description="Traceway records DOM changes in the browser, not screenshots. You can scrub through the timeline, pause on the exact moment things went wrong, and see the user's real interaction."+ bullets={[+ "Lightweight DOM snapshot recording",+ "Scrub through exact user timeline",+ "Console and network overlays",+ "Trace ID links every replay to the backend",+ ]}+ image={{ src: "/images/session-replay.png", alt: "DOM replay scrubbing" }}+ />+ </section>- <div className="rounded-2xl border border-zinc-200 bg-white p-8 space-y-5">- <div className="w-12 h-12 bg-green-50 rounded-2xl flex items-center justify-center">- <ShieldCheck className="w-6 h-6 text-green-600" />- </div>- <h2 className="text-xl md:text-2xl font-bold text-zinc-900 tracking-tight">Built for privacy</h2>- <p className="text-zinc-600 leading-relaxed">- Sensitive inputs are masked by default. Passwords, credit cards, and personal data are never recorded.- You see the interaction flow, not the private content.- </p>- <ul className="space-y-3 pt-1">- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-green-500"></div>- Sensitive input masking- </li>- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-green-500"></div>- No passwords or payment data recorded- </li>- <li className="flex items-center gap-3 text-zinc-700">- <div className="w-1.5 h-1.5 rounded-full bg-green-500"></div>- Compliant by default- </li>- </ul>- </div>- </div>- </div>- </section>+ {/* 2-card bento */}+ <section className="wrap py-10">+ <SectionHead+ eyebrow="Automatic & private"+ title={+ <>+ Zero-config capture. <em>Privacy-first by default.</em>+ </>+ }+ />+ <BentoGrid>+ <BentoCell+ size="wide"+ icon={Zap}+ title="Attached to every exception — automatically"+ iconColor="var(--a4)"+ >+ <p>+ No manual setup or reproduction steps. Every exception gets a+ replay attached automatically. Click into any issue and watch+ exactly what the user did in the ~10 seconds before things+ broke.+ </p>+ </BentoCell>+ <BentoCell+ size="tall"+ icon={ShieldCheck}+ title="Built for privacy"+ iconColor="var(--ok)"+ >+ <p>+ Sensitive inputs are masked by default. Passwords, credit cards,+ and personal data are never recorded. You see the interaction+ flow, not the private content. Fully compliant by default.+ </p>+ </BentoCell>+ </BentoGrid>+ </section>- {/* FAQ Section */}- <section className="py-24 bg-zinc-50 border-t border-zinc-100">- <div className="container mx-auto px-4 max-w-3xl">- <div className="text-center mb-12">- <h2 className="text-3xl font-bold mb-4 text-zinc-900 tracking-tight">Frequently Asked Questions</h2>- <p className="text-zinc-600 text-lg">- Common questions about session replay with Traceway.- </p>- </div>+ <FinalCTA+ title={+ <>+ Stop guessing. <em>Watch it happen.</em>+ </>+ }+ description="Session replay is included on every plan, on Cloud and self-hosted."+ primary={{ label: "Get Started", href: "https://docs.tracewayapp.com" }}+ secondary={{+ label: "Try Live Demo",+ href: "https://cloud.tracewayapp.com/[email protected]&password=demoaccount!",+ }}+ />- <Accordion type="single" collapsible className="w-full">- <AccordionItem value="item-1" className="border-b-zinc-200">- <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">- How does session replay work?- </AccordionTrigger>- <AccordionContent className="text-zinc-600 leading-relaxed">- Traceway records DOM changes in the browser. When an exception occurs, approximately 10 seconds of user activity- is captured and attached to the error automatically.- </AccordionContent>- </AccordionItem>- <AccordionItem value="item-2" className="border-b-zinc-200">- <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">- Does session replay affect performance?- </AccordionTrigger>- <AccordionContent className="text-zinc-600 leading-relaxed">- The recording adds minimal overhead. Captures run in the background and only the relevant buffer is sent when an error occurs.- </AccordionContent>- </AccordionItem>- <AccordionItem value="item-3" className="border-b-zinc-200">- <AccordionTrigger className="text-zinc-900 hover:text-zinc-700 hover:no-underline text-left">- What about user privacy?- </AccordionTrigger>- <AccordionContent className="text-zinc-600 leading-relaxed">- Sensitive fields are masked by default. Passwords, credit card numbers, and other private inputs are never captured.- </AccordionContent>- </AccordionItem>- </Accordion>- </div>- </section>- </main>- );+ <section className="wrap pt-10 pb-24">+ <div className="max-w-3xl mx-auto">+ <SectionHead align="center" eyebrow="FAQ" title="Questions about session replay" />+ <div className="mt-4">+ <FaqList+ items={[+ {+ q: "What is session replay?",+ a: "Session replay records DOM changes in the browser. When an error occurs, Traceway captures approximately 10 seconds of user activity leading up to the exception — clicks, scrolls, form interactions, and page navigations. The replay is attached to the exception automatically, so you can see exactly what the user did without asking them to reproduce the issue.",+ },+ {+ q: "How does session replay work?",+ a: "Traceway records DOM changes in the browser (not screenshots). When an exception occurs, approximately 10 seconds of user activity is captured and attached to the error automatically. The trace ID is propagated to the backend, so the replay links directly to the server-side error.",+ },+ {+ q: "Does session replay affect performance?",+ a: "The recording adds minimal overhead — it runs a circular DOM buffer in the background and only the last ~10 seconds are retained. Data is sent only when an exception triggers capture, so there's no continuous upload.",+ },+ {+ q: "What about user privacy?",+ a: "Sensitive inputs are masked by default. Password fields, credit card inputs, and any element with data-sensitive or aria-masked attributes are never captured. You can also configure custom mask rules by CSS selector.",+ },+ ]}+ />+ </div>+ </div>+ </section>+ </main>+ );}diff --git a/website/app/product/stack-traces/page.tsx b/website/app/product/stack-traces/page.tsxnew file mode 100644index 00000000..7516035f--- /dev/null+++ b/website/app/product/stack-traces/page.tsx@@ -0,0 +1,233 @@+import Image from "next/image";+import Link from "next/link";+import { ArrowRight, Bug, Layers, Globe, TrendingUp } from "lucide-react";++import { Chip } from "@/components/chip";+import { Eyebrow } from "@/components/eyebrow";+import { SectionHead } from "@/components/section-head";+import { FeatureRow } from "@/components/feature-row";+import { FaqList } from "@/components/faq-list";+import { FinalCTA } from "@/components/final-cta";+import { AuroraBackground } from "@/components/aurora-background";+import { ImpactScoreVisual } from "@/components/impact-score-visual";++const frameworks = [+ { name: "Gin", src: "/images/frameworks/gin.png" },+ { name: "Chi", src: "/images/frameworks/chi.png" },+ { name: "Express", src: "/images/frameworks/express.png" },+ { name: "NestJS", src: "/images/frameworks/nestjs.png" },+ { name: "Next.js", src: "/images/frameworks/nextjs.png" },+ { name: "Svelte", src: "/images/frameworks/svelte.png" },+ { name: "Remix", src: "/images/frameworks/remix.png" },+ { name: "OpenTelemetry", src: "/images/frameworks/otel.png" },+ { name: "Cloudflare", src: "/images/frameworks/cloudflare.png" },+];++export default function StackTracesPage() {+ return (+ <main className="relative">+ {/* Hero — left aligned */}+ <section className="hero gridbg relative">+ <AuroraBackground variant="hero" />+ <div className="wrap relative z-10 max-w-3xl">+ <Chip variant="crit">+ <Bug className="h-3 w-3 inline mr-1" />+ Stack Traces+ </Chip>+ <h1 className="mt-6">+ Find and fix issues <em>before your users notice.</em>+ </h1>+ <p className="hero-sub">+ Every exception, grouped and ranked by automatic Impact Score.+ Traceway normalizes stack traces with a 10-step pipeline and+ SHA-256 hashes them — thousands of duplicates collapse into one+ ranked issue.+ </p>+ <div className="hero-cta-row">+ <Link href="https://docs.tracewayapp.com" className="btn btn-accent">+ Get Started <ArrowRight className="h-4 w-4" />+ </Link>+ <Link href="https://cloud.tracewayapp.com/register" className="btn btn-ghost">+ Try Traceway Cloud+ </Link>+ </div>+ </div>+ </section>++ {/* Impact Score section */}+ <section className="wrap py-20">+ <SectionHead+ eyebrow="Impact Score"+ title={+ <>+ One score. Five signals. <em>Zero guesswork.</em>+ </>+ }+ description="The Impact Score combines five service-level indicators into one automatic priority for every endpoint. It takes the max across all five — if any single signal is bad, the endpoint surfaces immediately."+ />+ <div className="mt-10 max-w-4xl mx-auto">+ <ImpactScoreVisual />+ </div>+ </section>++ {/* Every exception grouped and ranked — absorbed from home */}+ <section className="wrap">+ <FeatureRow+ eyebrow="Grouping"+ title={+ <>+ Every exception, <em>grouped and ranked</em>+ </>+ }+ description="Full stack traces, 10-step normalization, SHA-256 grouping. Thousands of duplicates collapse into one ranked issue so you fix what matters first."+ bullets={[+ "Full stack trace capture with file:line",+ "Intelligent error grouping via SHA-256 hash",+ "User impact analysis across sessions",+ "Source map resolution for minified JS",+ ]}+ image={{ src: "/images/screenshot-2.png", alt: "Exception tracking interface" }}+ />+ </section>++ {/* Issues ranked by what matters */}+ <section className="wrap">+ <FeatureRow+ reverse+ eyebrow="Ranking"+ title="Issues ranked by what matters"+ description="Stop triaging manually. Traceway ranks every issue by frequency, user impact, and recency so your team focuses on the problems that matter most. New regressions surface immediately."+ bullets={[+ "Impact-based ranking across endpoints",+ "Regression detection on new releases",+ "Frequency and recency scoring",+ ]}+ image={{ src: "/images/screenshot-3.png", alt: "Issue ranking dashboard" }}+ />+ </section>++ {/* Intelligent grouping */}+ <section className="wrap">+ <FeatureRow+ eyebrow="Normalization"+ title={+ <>+ Same bug, <em>same group</em> — every time+ </>+ }+ description="Traceway normalizes stack traces before hashing, so the same logical error gets grouped together even when runtime values differ. Memory addresses, UUIDs, timestamps, numeric IDs, and ANSI codes are stripped before the hash."+ bullets={[+ "Stack trace normalization (10-step pipeline)",+ "Cross-service deduplication",+ "Full context preserved on every occurrence",+ ]}+ image={{ src: "/images/screenshot-4.png", alt: "Error grouping interface" }}+ />+ </section>++ {/* Framework showcase */}+ <section className="wrap py-20 text-center">+ <div className="max-w-3xl mx-auto flex flex-col items-center gap-5">+ <div+ className="w-12 h-12 rounded-[10px] flex items-center justify-center"+ style={{+ background: "color-mix(in oklab, var(--a4) 18%, transparent)",+ border: "1px solid color-mix(in oklab, var(--a4) 40%, transparent)",+ color: "var(--a4)",+ }}+ >+ <Globe className="w-5 h-5" />+ </div>+ <Eyebrow>Full stack</Eyebrow>+ <h2>Track issues across your full stack</h2>+ <p style={{ color: "var(--fg-1)", fontSize: 17 }}>+ From Go backends to JavaScript frontends, Traceway captures+ exceptions everywhere your code runs. Unified view of issues across+ services, with full stack traces and contextual tags.+ </p>+ <div className="flex flex-wrap items-center justify-center gap-8 md:gap-10 pt-6 opacity-80">+ {frameworks.map((fw) => (+ <Image+ key={fw.name}+ src={fw.src}+ alt={fw.name}+ width={40}+ height={40}+ className="h-8 w-auto opacity-80 hover:opacity-100 transition-all"+ />+ ))}+ </div>+ </div>+ </section>++ <FinalCTA+ title={+ <>+ Triage <em>faster</em>. Ship <em>safer</em>.+ </>+ }+ description="Connect an SDK, ship an error, see it in Traceway. 5-minute setup."+ primary={{ label: "Get Started", href: "https://docs.tracewayapp.com" }}+ secondary={{+ label: "Try Live Demo",+ href: "https://cloud.tracewayapp.com/[email protected]&password=demoaccount!",+ }}+ />++ <section className="wrap pt-10 pb-24">+ <div className="max-w-3xl mx-auto">+ <SectionHead align="center" eyebrow="FAQ" title="Questions about stack traces" />+ <div className="mt-4">+ <FaqList+ items={[+ {+ q: "What is the Impact Score?",+ a: (+ <>+ <p>+ The Impact Score is Traceway's automatic prioritization+ system. It combines five service-level indicators — an+ inverted apdex variant, error rate floor, P99 latency+ floor, client error floor, and volume error floor — into+ a single 0-100 score for every endpoint.+ </p>+ <p>+ It takes the max across all five, so if any single+ signal is degraded that endpoint surfaces immediately.+ You can adjust the slow endpoint threshold per endpoint+ to tune the apdex calculation for routes with different+ latency profiles.+ </p>+ <p>+ For incident management, notification rules fire when+ the Impact Score or error rate crosses a threshold, and+ route alerts to Slack, GitHub Issues, email, or custom+ webhooks.+ </p>+ </>+ ),+ },+ {+ q: "How does error grouping work?",+ a: "Traceway applies a 10-step normalization pipeline to every stack trace: extracting the error type, removing absolute file paths, replacing hex addresses, UUIDs, IPs, timestamps, and numeric IDs with placeholders, normalizing whitespace, and stripping ANSI codes. The result is hashed with SHA-256 so identical logical errors always group together, even if runtime values differ.",+ },+ {+ q: "How does automatic issue ranking work?",+ a: "Traceway scores each issue based on how often it occurs, how recently it appeared, and how many users are affected. Issues are continuously re-ranked as new data comes in, so regressions and trending problems surface immediately — no manual triage required.",+ },+ {+ q: "How does error grouping handle different environments?",+ a: "Traceway normalizes stack traces by removing runtime-specific values like memory addresses, file paths, UUIDs, and timestamps before hashing. This means the same bug produces the same group regardless of which server or environment it occurred on.",+ },+ {+ q: "Can I track frontend JavaScript errors?",+ a: "Yes. Traceway supports frontend frameworks like Next.js, Svelte, and Remix alongside backend frameworks like Express and NestJS. Errors from both your frontend and backend appear in the same dashboard with full stack traces. Source maps upload resolves minified traces back to your original source.",+ },+ ]}+ />+ </div>+ </div>+ </section>+ </main>+ );+}diff --git a/website/app/product/traces/page.tsx b/website/app/product/traces/page.tsxnew file mode 100644index 00000000..1a1bb515--- /dev/null+++ b/website/app/product/traces/page.tsx@@ -0,0 +1,182 @@+import Image from "next/image";+import Link from "next/link";+import { ArrowRight, Network, Video, FileCode, TrendingUp } from "lucide-react";++import { Chip } from "@/components/chip";+import { SectionHead } from "@/components/section-head";+import { FeatureRow } from "@/components/feature-row";+import { BentoGrid, BentoCell } from "@/components/bento-grid";+import { FaqList } from "@/components/faq-list";+import { FinalCTA } from "@/components/final-cta";+import { AuroraBackground } from "@/components/aurora-background";+import { DistributedTraceVisual } from "@/components/distributed-trace-visual";++export default function TracesPage() {+ return (+ <main className="relative">+ <section className="hero gridbg relative">+ <AuroraBackground variant="hero" />+ <div className="wrap relative z-10 max-w-3xl">+ <Chip>+ <Network className="h-3 w-3 inline mr-1" />+ Traces+ </Chip>+ <h1 className="mt-6">+ See the user behind <em>every backend error.</em>+ </h1>+ <p className="hero-sub">+ When a backend service throws an exception, Traceway shows you the+ user's session replay, the cross-service trace, and the exact+ span that failed. No log-digging. No guessing what happened.+ </p>+ <div className="hero-cta-row">+ <Link href="https://docs.tracewayapp.com" className="btn btn-accent">+ Get Started <ArrowRight className="h-4 w-4" />+ </Link>+ <Link href="https://cloud.tracewayapp.com/register" className="btn btn-ghost">+ Try Traceway Cloud+ </Link>+ </div>+ </div>+ </section>++ {/* Distributed trace example — absorbed from home */}+ <section className="wrap py-20">+ <SectionHead+ eyebrow="Cross-service"+ title="Trace requests across every service"+ description="Follow a single user action from the browser through your API gateway, backend services, and database calls. See the full picture in one distributed trace."+ />+ <div className="mt-8 max-w-4xl mx-auto">+ <DistributedTraceVisual />+ </div>+ </section>++ {/* Full distributed trace screenshot */}+ <section className="wrap">+ <FeatureRow+ eyebrow="Waterfall"+ title={+ <>+ Every span. <em>Every hop.</em>+ </>+ }+ description="Visualize a request as a waterfall: each hop between services shows duration, status, and the exact span where latency or errors appear. Click any span to open its logs, exceptions, and attributes."+ bullets={[+ "Cross-service distributed trace propagation",+ "W3C Trace Context standard headers",+ "Drill-down to span attributes, logs, events",+ "Async workflows (Kafka, RabbitMQ, SQS)",+ ]}+ image={{ src: "/images/distributed-trace.png", alt: "Distributed trace waterfall", width: 1200, height: 400 }}+ />+ </section>++ {/* Session replay + backend errors */}+ <section className="wrap">+ <FeatureRow+ reverse+ eyebrow="Replay"+ title="See what the user did when the backend broke"+ description="Traceway connects frontend session replays to backend exceptions. When your payment service returns a 500, you don't just see the stack trace — you see the user clicking Checkout, filling in their card, and hitting submit."+ bullets={[+ "Frontend replay linked to backend errors",+ "Automatic correlation via trace ID",+ "No manual reproduction needed",+ "Works across browser and server",+ ]}+ image={{ src: "/images/session-replay.png", alt: "Session replay linked to trace" }}+ />+ </section>++ {/* Two card bento */}+ <section className="wrap py-10">+ <SectionHead+ eyebrow="Deep context"+ title={+ <>+ More than spans — <em>full context</em>+ </>+ }+ />+ <BentoGrid>+ <BentoCell+ size="wide"+ icon={FileCode}+ title="Source map stack trace resolution"+ iconColor="var(--a4)"+ >+ <p>+ Minified JavaScript stack traces are resolved to original source+ files and line numbers automatically. Upload your source maps and+ every frontend error shows readable, actionable traces. Works with+ webpack, esbuild, and Vite.+ </p>+ </BentoCell>+ <BentoCell+ size="tall"+ icon={TrendingUp}+ title="Impact propagation"+ iconColor="var(--a2)"+ >+ <p>+ The Impact Score extends across service boundaries. When an+ upstream service degrades, its impact propagates to every+ downstream consumer — so you fix the root cause, not the symptoms.+ </p>+ </BentoCell>+ </BentoGrid>+ </section>++ <FinalCTA+ title={+ <>+ Trace every hop, <em>not just the first</em>.+ </>+ }+ description="Connect an SDK, propagate one trace ID, and see the whole story."+ primary={{ label: "Get Started", href: "https://docs.tracewayapp.com" }}+ secondary={{+ label: "Try Live Demo",+ href: "https://cloud.tracewayapp.com/[email protected]&password=demoaccount!",+ }}+ />++ <section className="wrap pt-10 pb-24">+ <div className="max-w-3xl mx-auto">+ <SectionHead align="center" eyebrow="FAQ" title="Questions about traces" />+ <div className="mt-4">+ <FaqList+ items={[+ {+ q: "How does distributed tracing work?",+ a: "Traceway propagates a trace ID across every service in a request chain. The frontend SDK generates the ID and passes it to your backend via the traceparent header (W3C Trace Context). Each backend service forwards it to downstream calls. Every span, exception, and session replay recorded with that trace ID is linked together, giving you a complete picture of a single user action across your entire architecture.",+ },+ {+ q: "Does Traceway connect frontend and backend issues?",+ a: "Yes. When a backend service returns an error, Traceway links it to the frontend session replay that triggered the request. You see the user's clicks and navigations alongside the server-side stack trace and span waterfall. Both sides are connected automatically via the shared trace ID.",+ },+ {+ q: "How does distributed tracing connect to session replay?",+ a: "Traceway's frontend SDK generates a trace ID for each user interaction and passes it to your backend via the traceparent header. When the backend reports a span or exception with that trace ID, Traceway links the frontend session replay to the backend trace automatically.",+ },+ {+ q: "What protocols does Traceway use for trace propagation?",+ a: "Traceway supports W3C Trace Context (traceparent/tracestate headers) and is compatible with any OpenTelemetry-instrumented service. If your services already propagate trace context, Traceway picks it up automatically.",+ },+ {+ q: "Do I need to instrument both frontend and backend?",+ a: "For the full experience (session replay linked to backend traces), yes. The frontend SDK captures user interactions and the backend middleware captures server-side spans. Both connect via the shared trace ID. However, backend-only distributed tracing works independently.",+ },+ {+ q: "Does distributed tracing work with message queues and async workflows?",+ a: "Yes. Traceway uses W3C Trace Context, and OpenTelemetry instrumentation libraries for Kafka, RabbitMQ, SQS, and other message brokers propagate the trace context through message headers automatically. When a consumer processes a message, its spans are linked to the original producer's trace — so an API that publishes to Kafka, which triggers a worker, which calls a downstream service, appears as a single connected trace.",+ },+ ]}+ />+ </div>+ </div>+ </section>+ </main>+ );+}diff --git a/website/app/terms-of-use/page.tsx b/website/app/terms-of-use/page.tsxindex 21b26404..a3eb3bb5 100644--- a/website/app/terms-of-use/page.tsx+++ b/website/app/terms-of-use/page.tsx@@ -1,182 +1,119 @@import Link from "next/link";+import { Eyebrow } from "@/components/eyebrow";export default function TermsOfUse() {return (- <main className="min-h-screen bg-white text-zinc-950 font-sans">- <div className="container mx-auto px-4 max-w-3xl py-20">- <h1 className="text-4xl font-bold tracking-tight mb-2 text-zinc-900">- Terms of Use- </h1>- <p className="text-zinc-500 mb-12">Last updated: February 15, 2026</p>+ <main className="relative">+ <section className="wrap py-20">+ <article className="prose">+ <Eyebrow>Legal</Eyebrow>+ <h1 className="mt-4 mb-3">Terms of Use</h1>+ <p style={{ color: "var(--fg-3)" }} className="mb-12">+ Last updated: February 15, 2026+ </p>- <div className="space-y-10 text-zinc-700 leading-relaxed">- <section>- <h2 className="text-xl font-semibold text-zinc-900 mb-3">- 1. Acceptance of Terms- </h2>- <p>- By accessing or using Traceway Cloud (“the Service”),- you agree to be bound by these Terms of Use. If you do not agree- to these terms, you may not use the Service. These terms apply to- the Traceway Cloud offering operated by Traceway (“we”,- “our”, or “us”).- </p>- </section>+ <h2>1. Acceptance of Terms</h2>+ <p>+ By accessing or using Traceway Cloud (“the Service”),+ you agree to be bound by these Terms of Use. If you do not agree to+ these terms, you may not use the Service. These terms apply to the+ Traceway Cloud offering operated by Traceway (“we”,+ “our”, or “us”).+ </p>- <section>- <h2 className="text-xl font-semibold text-zinc-900 mb-3">- 2. Description of Service- </h2>- <p>- Traceway Cloud is a hosted application monitoring platform that- provides endpoint analytics, exception tracking, session replay,- and Impact Score prioritization. The Service ingests telemetry data- from your applications via the Traceway SDK or OpenTelemetry and- presents it through a web dashboard.- </p>- </section>+ <h2>2. Description of Service</h2>+ <p>+ Traceway Cloud is a hosted application monitoring platform that+ provides endpoint analytics, exception tracking, session replay,+ distributed tracing, metrics, logs, and Impact Score prioritization.+ The Service ingests telemetry data from your applications via the+ Traceway SDK or OpenTelemetry and presents it through a web+ dashboard.+ </p>- <section>- <h2 className="text-xl font-semibold text-zinc-900 mb-3">- 3. Account Responsibilities- </h2>- <p>- You are responsible for maintaining the confidentiality of your- account credentials and project tokens. You are responsible for all- activity that occurs under your account. You agree to notify us- immediately of any unauthorized use of your account.- </p>- </section>+ <h2>3. Account Responsibilities</h2>+ <p>+ You are responsible for maintaining the confidentiality of your+ account credentials and project tokens. You are responsible for all+ activity that occurs under your account. You agree to notify us+ immediately of any unauthorized use of your account.+ </p>- <section>- <h2 className="text-xl font-semibold text-zinc-900 mb-3">- 4. Acceptable Use- </h2>- <p>You agree not to:</p>- <ul className="list-disc pl-5 space-y-2 mt-2">- <li>- Use the Service for any unlawful purpose or in violation of any- applicable laws- </li>- <li>- Attempt to gain unauthorized access to the Service or its- related systems- </li>- <li>- Interfere with or disrupt the integrity or performance of the- Service- </li>- <li>- Transmit any malicious code, viruses, or harmful data through- the Service- </li>- <li>- Resell, sublicense, or redistribute the Service without our- prior written consent- </li>- </ul>- </section>+ <h2>4. Acceptable Use</h2>+ <p>You agree not to:</p>+ <ul>+ <li>Use the Service for any unlawful purpose or in violation of any applicable laws</li>+ <li>Attempt to gain unauthorized access to the Service or its related systems</li>+ <li>Interfere with or disrupt the integrity or performance of the Service</li>+ <li>Transmit any malicious code, viruses, or harmful data through the Service</li>+ <li>Resell, sublicense, or redistribute the Service without our prior written consent</li>+ </ul>- <section>- <h2 className="text-xl font-semibold text-zinc-900 mb-3">- 5. Open-Source License Disclaimer- </h2>- <p>- Traceway is available as open-source software for self-hosting.- The self-hosted version is provided “as is” without- warranty of any kind, express or implied, including but not limited- to the warranties of merchantability, fitness for a particular- purpose, and non-infringement. Traceway takes no responsibility- for any issues, data loss, security vulnerabilities, or downtime- arising from customer self-hosted deployments. You are solely- responsible for the operation, maintenance, and security of your- self-hosted instance.- </p>- </section>+ <h2>5. Open-Source License Disclaimer</h2>+ <p>+ Traceway is available as open-source software for self-hosting. The+ self-hosted version is provided “as is” without warranty+ of any kind, express or implied, including but not limited to the+ warranties of merchantability, fitness for a particular purpose,+ and non-infringement. Traceway takes no responsibility for any+ issues, data loss, security vulnerabilities, or downtime arising+ from customer self-hosted deployments. You are solely responsible+ for the operation, maintenance, and security of your self-hosted+ instance.+ </p>- <section>- <h2 className="text-xl font-semibold text-zinc-900 mb-3">- 6. Intellectual Property- </h2>- <p>- The Traceway name, logo, and branding are the property of- Traceway. The Traceway Cloud platform design, proprietary- infrastructure, and service delivery are owned by us. The- open-source codebase is licensed under its respective open-source- license.- </p>- </section>+ <h2>6. Intellectual Property</h2>+ <p>+ The Traceway name, logo, and branding are the property of Traceway.+ The Traceway Cloud platform design, proprietary infrastructure, and+ service delivery are owned by us. The open-source codebase is+ licensed under its respective open-source license.+ </p>- <section>- <h2 className="text-xl font-semibold text-zinc-900 mb-3">- 7. Limitation of Liability- </h2>- <p>- To the maximum extent permitted by applicable law, Traceway shall- not be liable for any indirect, incidental, special,- consequential, or punitive damages, or any loss of profits or- revenues, whether incurred directly or indirectly, or any loss of- data, use, goodwill, or other intangible losses resulting from- your use of or inability to use the Service.- </p>- </section>+ <h2>7. Limitation of Liability</h2>+ <p>+ To the maximum extent permitted by applicable law, Traceway shall+ not be liable for any indirect, incidental, special, consequential,+ or punitive damages, or any loss of profits or revenues, whether+ incurred directly or indirectly, or any loss of data, use,+ goodwill, or other intangible losses resulting from your use of or+ inability to use the Service.+ </p>- <section>- <h2 className="text-xl font-semibold text-zinc-900 mb-3">- 8. Service Availability- </h2>- <p>- We strive to maintain high availability of Traceway Cloud but do- not guarantee uninterrupted access. We may perform scheduled- maintenance with reasonable notice. We are not liable for any- downtime or service interruptions.- </p>- </section>+ <h2>8. Service Availability</h2>+ <p>+ We strive to maintain high availability of Traceway Cloud but do+ not guarantee uninterrupted access. We may perform scheduled+ maintenance with reasonable notice. We are not liable for any+ downtime or service interruptions.+ </p>- <section>- <h2 className="text-xl font-semibold text-zinc-900 mb-3">- 9. Termination- </h2>- <p>- We may suspend or terminate your access to the Service at any time- for violation of these terms or for any other reason at our sole- discretion. You may terminate your account at any time by- contacting us. Upon termination, your right to use the Service- ceases immediately. We may delete your data after a reasonable- retention period following termination.- </p>- </section>+ <h2>9. Termination</h2>+ <p>+ We may suspend or terminate your access to the Service at any time+ for violation of these terms or for any other reason at our sole+ discretion. You may terminate your account at any time by+ contacting us. Upon termination, your right to use the Service+ ceases immediately. We may delete your data after a reasonable+ retention period following termination.+ </p>- <section>- <h2 className="text-xl font-semibold text-zinc-900 mb-3">- 10. Changes to Terms- </h2>- <p>- We reserve the right to modify these Terms of Use at any time. We- will notify you of material changes by posting the updated terms- on this page with a revised “Last updated” date.- Continued use of the Service after changes constitutes acceptance- of the new terms.- </p>- </section>+ <h2>10. Changes to Terms</h2>+ <p>+ We reserve the right to modify these Terms of Use at any time. We+ will notify you of material changes by posting the updated terms on+ this page with a revised “Last updated” date. Continued+ use of the Service after changes constitutes acceptance of the new+ terms.+ </p>- <section>- <h2 className="text-xl font-semibold text-zinc-900 mb-3">- 11. Contact- </h2>- <p>- If you have any questions about these Terms of Use, please{" "}- <Link- href="/contact"- className="text-zinc-900 underline hover:text-zinc-600 transition-colors"- >- contact us- </Link>- .- </p>- </section>- </div>- </div>+ <h2>11. Contact</h2>+ <p>+ If you have any questions about these Terms of Use, please{" "}+ <Link href="/contact">contact us</Link>.+ </p>+ </article>+ </section></main>);}diff --git a/website/components/aurora-background.tsx b/website/components/aurora-background.tsxnew file mode 100644index 00000000..0b110704--- /dev/null+++ b/website/components/aurora-background.tsx@@ -0,0 +1,39 @@+import { cn } from "@/lib/utils";++type Variant = "default" | "hero" | "cta";++export function AuroraBackground({+ variant = "default",+ className,+}: {+ variant?: Variant;+ className?: string;+}) {+ const intensity =+ variant === "hero" ? "hero" : variant === "cta" ? "cta" : "default";+ return (+ <div+ aria-hidden+ data-aurora={intensity}+ className={cn(+ "pointer-events-none absolute inset-0 -z-10 overflow-hidden",+ className+ )}+ >+ <div+ className="absolute -inset-24"+ style={{+ background:+ variant === "hero"+ ? `radial-gradient(900px 500px at 80% 0%, color-mix(in oklab, var(--a1) 22%, transparent), transparent 60%),+ radial-gradient(700px 420px at 10% 30%, color-mix(in oklab, var(--a2) 16%, transparent), transparent 65%),+ radial-gradient(500px 300px at 60% 90%, color-mix(in oklab, var(--a3) 10%, transparent), transparent 60%)`+ : variant === "cta"+ ? `radial-gradient(700px 400px at 50% 0%, color-mix(in oklab, var(--a1) 20%, transparent), transparent 65%),+ radial-gradient(500px 320px at 50% 100%, color-mix(in oklab, var(--a2) 16%, transparent), transparent 65%)`+ : `radial-gradient(600px 380px at 80% 0%, color-mix(in oklab, var(--a1) 10%, transparent), transparent 65%)`,+ }}+ />+ </div>+ );+}diff --git a/website/components/bento-grid.tsx b/website/components/bento-grid.tsxnew file mode 100644index 00000000..2dad7627--- /dev/null+++ b/website/components/bento-grid.tsx@@ -0,0 +1,59 @@+import type { LucideIcon } from "lucide-react";+import { cn } from "@/lib/utils";++type Size = "wide" | "tall" | "med" | "sm";++const SIZE_CLASS: Record<Size, string> = {+ wide: "b b-wide",+ tall: "b b-tall",+ med: "b b-med",+ sm: "b b-sm",+};++export function BentoGrid({+ children,+ className,+}: {+ children: React.ReactNode;+ className?: string;+}) {+ return <div className={cn("bento-grid", className)}>{children}</div>;+}++export function BentoCell({+ size = "med",+ icon: Icon,+ title,+ description,+ children,+ className,+ iconColor,+}: {+ size?: Size;+ icon?: LucideIcon;+ title?: React.ReactNode;+ description?: React.ReactNode;+ children?: React.ReactNode;+ className?: string;+ iconColor?: string;+}) {+ return (+ <div+ className={cn(SIZE_CLASS[size], className)}+ style={iconColor ? ({ ["--a1" as string]: iconColor } as React.CSSProperties) : undefined}+ >+ {(Icon || title) && (+ <div className="b-head">+ {Icon ? (+ <div className="b-ico">+ <Icon className="h-4 w-4" strokeWidth={2} />+ </div>+ ) : null}+ {title ? <h4>{title}</h4> : null}+ </div>+ )}+ {description ? <p>{description}</p> : null}+ {children}+ </div>+ );+}diff --git a/website/components/chip.tsx b/website/components/chip.tsxnew file mode 100644index 00000000..99670477--- /dev/null+++ b/website/components/chip.tsx@@ -0,0 +1,18 @@+import { cn } from "@/lib/utils";++export function Chip({+ children,+ variant = "default",+ className,+}: {+ children: React.ReactNode;+ variant?: "default" | "ok" | "crit";+ className?: string;+}) {+ return (+ <span className={cn("chip", variant !== "default" && variant, className)}>+ <span className="dot" aria-hidden />+ {children}+ </span>+ );+}diff --git a/website/components/code-tabs.tsx b/website/components/code-tabs.tsxindex 9a629563..1b66a3e9 100644--- a/website/components/code-tabs.tsx+++ b/website/components/code-tabs.tsx@@ -3,78 +3,124 @@import { useState } from "react";const tabs = [- {- label: "Go",- filename: "main.go",- code: (- <>- <span className="text-purple-600 font-semibold">func</span> <span className="text-blue-600 font-semibold">main</span>() {"{"}{"\n"}- {" "}r := gin.<span className="text-blue-600">Default</span>(){"\n"}- {" "}r.<span className="text-blue-600">Use</span>(tracewaygin.<span className="text-blue-600">New</span>(<span className="text-green-600">{`"{TOKEN}@https://{SERVER_URL}/api/report"`}</span>)){"\n"}- {"\n"}- {" "}r.<span className="text-blue-600">GET</span>(<span className="text-green-600">"/test"</span>, <span className="text-purple-600 font-semibold">func</span>(ctx *gin.Context) {"{"}{"\n"}- {" "}ctx.<span className="text-blue-600">AbortWithError</span>(<span className="text-orange-600">500</span>, fmt.<span className="text-blue-600">Errorf</span>(<span className="text-green-600">"Worked!"</span>)){"\n"}- {" "}{"}"}){"\n"}- {" "}r.<span className="text-blue-600">Run</span>(<span className="text-green-600">":8080"</span>){"\n"}- {"}"}- </>- ),- },- {- label: "JavaScript",- filename: "app.js",- code: (- <>- <span className="text-purple-600 font-semibold">const</span> express = <span className="text-blue-600">require</span>(<span className="text-green-600">"express"</span>){"\n"}- <span className="text-purple-600 font-semibold">const</span> traceway = <span className="text-blue-600">require</span>(<span className="text-green-600">"@traceway/express"</span>){"\n"}- {"\n"}- <span className="text-purple-600 font-semibold">const</span> app = <span className="text-blue-600">express</span>(){"\n"}- app.<span className="text-blue-600">use</span>(traceway.<span className="text-blue-600">init</span>(<span className="text-green-600">{`"{TOKEN}@https://{SERVER_URL}/api/report"`}</span>)){"\n"}- {"\n"}- app.<span className="text-blue-600">get</span>(<span className="text-green-600">"/test"</span>, (req, res) => {"{"}{"\n"}- {" "}<span className="text-purple-600 font-semibold">throw new</span> <span className="text-blue-600">Error</span>(<span className="text-green-600">"Worked!"</span>){"\n"}- {"}"}){"\n"}- {"\n"}- app.<span className="text-blue-600">listen</span>(<span className="text-orange-600">8080</span>)- </>- ),- },+ {+ label: "Go",+ filename: "main.go",+ code: (+ <>+ <span style={{ color: "var(--a3)" }}>func</span>{" "}+ <span style={{ color: "var(--a2)" }}>main</span>() {"{"}+ {"\n"}+ {" "}r := gin.<span style={{ color: "var(--a2)" }}>Default</span>()+ {"\n"}+ {" "}r.<span style={{ color: "var(--a2)" }}>Use</span>(tracewaygin.+ <span style={{ color: "var(--a2)" }}>New</span>(+ <span style={{ color: "var(--ok)" }}>{`"{TOKEN}@https://{SERVER_URL}/api/report"`}</span>+ )){"\n"}+ {"\n"}+ {" "}r.<span style={{ color: "var(--a2)" }}>GET</span>(+ <span style={{ color: "var(--ok)" }}>"/test"</span>,{" "}+ <span style={{ color: "var(--a3)" }}>func</span>(ctx *gin.Context) {"{"}+ {"\n"}+ {" "}ctx.<span style={{ color: "var(--a2)" }}>AbortWithError</span>(+ <span style={{ color: "var(--a4)" }}>500</span>, fmt.+ <span style={{ color: "var(--a2)" }}>Errorf</span>(+ <span style={{ color: "var(--ok)" }}>"Worked!"</span>))+ {"\n"}+ {" "}+ {"}"}){"\n"}+ {" "}r.<span style={{ color: "var(--a2)" }}>Run</span>(+ <span style={{ color: "var(--ok)" }}>":8080"</span>){"\n"}+ {"}"}+ </>+ ),+ },+ {+ label: "JavaScript",+ filename: "app.js",+ code: (+ <>+ <span style={{ color: "var(--a3)" }}>const</span> express ={" "}+ <span style={{ color: "var(--a2)" }}>require</span>(+ <span style={{ color: "var(--ok)" }}>"express"</span>){"\n"}+ <span style={{ color: "var(--a3)" }}>const</span> traceway ={" "}+ <span style={{ color: "var(--a2)" }}>require</span>(+ <span style={{ color: "var(--ok)" }}>"@traceway/express"</span>){"\n"}+ {"\n"}+ <span style={{ color: "var(--a3)" }}>const</span> app ={" "}+ <span style={{ color: "var(--a2)" }}>express</span>(){"\n"}+ app.<span style={{ color: "var(--a2)" }}>use</span>(traceway.+ <span style={{ color: "var(--a2)" }}>init</span>(+ <span style={{ color: "var(--ok)" }}>{`"{TOKEN}@https://{SERVER_URL}/api/report"`}</span>+ )){"\n"}+ {"\n"}+ app.<span style={{ color: "var(--a2)" }}>get</span>(+ <span style={{ color: "var(--ok)" }}>"/test"</span>, (req, res) => {"{"}+ {"\n"}+ {" "}+ <span style={{ color: "var(--a3)" }}>throw new</span>{" "}+ <span style={{ color: "var(--a2)" }}>Error</span>(+ <span style={{ color: "var(--ok)" }}>"Worked!"</span>){"\n"}+ {"}"}){"\n"}+ {"\n"}+ app.<span style={{ color: "var(--a2)" }}>listen</span>(+ <span style={{ color: "var(--a4)" }}>8080</span>)+ </>+ ),+ },];export function CodeTabs() {- const [activeTab, setActiveTab] = useState(0);+ const [activeTab, setActiveTab] = useState(0);- return (- <div className="rounded-lg overflow-hidden bg-white border border-zinc-200">- <div className="flex items-center justify-between px-3 py-2 bg-zinc-50 border-b border-zinc-100">- <div className="flex items-center gap-1.5">- <div className="w-2.5 h-2.5 rounded-full bg-[#fe5f57]"></div>- <div className="w-2.5 h-2.5 rounded-full bg-[#fdbc2e]"></div>- <div className="w-2.5 h-2.5 rounded-full bg-[#28c841]"></div>- </div>- <div className="flex items-center gap-1">- {tabs.map((tab, i) => (- <button- key={tab.label}- onClick={() => setActiveTab(i)}- className={`px-2.5 py-0.5 rounded text-[10px] font-mono font-medium transition-colors ${- activeTab === i- ? "bg-white text-zinc-900 shadow-sm border border-zinc-200"- : "text-zinc-400 hover:text-zinc-600"- }`}- >- {tab.filename}- </button>- ))}- </div>- </div>- <div className="p-0 overflow-x-auto bg-white">- <pre className="p-4 text-xs font-mono leading-relaxed text-zinc-800">- <code className="block">- {tabs[activeTab].code}- </code>- </pre>- </div>+ return (+ <div+ className="rounded-[10px] overflow-hidden"+ style={{+ background: "linear-gradient(180deg, #080b12, #0d1220)",+ border: "1px solid var(--hair-2)",+ }}+ >+ <div+ className="flex items-center justify-between px-3 py-2"+ style={{+ background: "rgba(8, 11, 18, 0.6)",+ borderBottom: "1px solid var(--hair)",+ }}+ >+ <div className="flex items-center gap-1.5">+ <div className="w-2.5 h-2.5 rounded-full" style={{ background: "#ff5a5f" }} />+ <div className="w-2.5 h-2.5 rounded-full" style={{ background: "#ffd166" }} />+ <div className="w-2.5 h-2.5 rounded-full" style={{ background: "#22e0a8" }} /></div>- );+ <div className="flex items-center gap-1">+ {tabs.map((tab, i) => (+ <button+ key={tab.label}+ onClick={() => setActiveTab(i)}+ className="px-2.5 py-0.5 rounded text-[10px] font-medium transition-colors"+ style={{+ fontFamily: "var(--font-mono)",+ color: activeTab === i ? "var(--fg-0)" : "var(--fg-3)",+ background: activeTab === i ? "var(--ink-3)" : "transparent",+ border: activeTab === i ? "1px solid var(--hair-2)" : "1px solid transparent",+ }}+ >+ {tab.filename}+ </button>+ ))}+ </div>+ </div>+ <div className="p-0 overflow-x-auto">+ <pre+ className="p-4 text-xs leading-relaxed"+ style={{ fontFamily: "var(--font-mono)", color: "var(--fg-1)" }}+ >+ <code className="block" style={{ background: "transparent", border: 0, padding: 0, color: "inherit" }}>+ {tabs[activeTab].code}+ </code>+ </pre>+ </div>+ </div>+ );}diff --git a/website/components/cost-comparison.tsx b/website/components/cost-comparison.tsxindex 5e7d9fde..e7ba0c6a 100644--- a/website/components/cost-comparison.tsx+++ b/website/components/cost-comparison.tsx@@ -1,32 +1,23 @@import { DollarSign, Database, ShieldCheck } from "lucide-react";-import {- Card,- CardDescription,- CardHeader,- CardTitle,-} from "@/components/ui/card";const cards = [{icon: DollarSign,- iconBg: "bg-green-50",- iconColor: "text-green-600",+ color: "var(--ok)",title: "No per-event pricing",description:- "Competitors charge you more as you grow. Self-host on your own infrastructure or use Cloud with fixed-price tiers — no per-event, per-host, or per-seat fees.",+ "Competitors charge more as you grow. Self-host on your own infrastructure or use Cloud with fixed-price tiers — no per-event, per-host, or per-seat fees.",},{icon: Database,- iconBg: "bg-blue-50",- iconColor: "text-blue-600",+ color: "var(--a2)",title: "ClickHouse compression",description:"Columnar storage compresses 1 million daily events into ~2-3 GB per month. Your storage bill stays tiny.",},{icon: ShieldCheck,- iconBg: "bg-orange-50",- iconColor: "text-orange-600",+ color: "var(--a4)",title: "Fixed costs, not surprises",description:"Every plan has a fixed monthly price. No metered billing, no overage charges, no surprise line items. Your bill never increases without your approval.",@@ -35,25 +26,39 @@ const cards = [export function CostComparison() {return (- <div className="grid grid-cols-1 md:grid-cols-3 gap-6">- {cards.map((card) => (- <Card- key={card.title}- className="bg-white border-zinc-200 transition-all duration-300"- >- <CardHeader className="p-6 pt-0">+ <div className="grid grid-cols-1 md:grid-cols-3 gap-4">+ {cards.map((card) => {+ const Icon = card.icon;+ return (+ <div+ key={card.title}+ className="surface-card"+ style={{+ padding: 24,+ }}+ ><div- className={`w-10 h-10 ${card.iconBg} rounded-lg flex items-center justify-center mb-3`}+ className="w-10 h-10 rounded-[8px] flex items-center justify-center mb-4"+ style={{+ background: `color-mix(in oklab, ${card.color} 18%, transparent)`,+ border: `1px solid color-mix(in oklab, ${card.color} 40%, transparent)`,+ color: card.color,+ }}>- <card.icon className={`w-5 h-5 ${card.iconColor}`} />+ <Icon className="w-5 h-5" /></div>- <CardTitle className="text-lg">{card.title}</CardTitle>- <CardDescription className="text-zinc-500 text-sm mt-1.5">+ <div+ className="text-[17px] font-semibold mb-2"+ style={{ color: "var(--fg-0)", fontFamily: "var(--font-display)" }}+ >+ {card.title}+ </div>+ <div className="text-[14px]" style={{ color: "var(--fg-2)", lineHeight: 1.55 }}>{card.description}- </CardDescription>- </CardHeader>- </Card>- ))}+ </div>+ </div>+ );+ })}</div>);}diff --git a/website/components/distributed-trace-visual.tsx b/website/components/distributed-trace-visual.tsxindex eb6f6a0b..f49d26ce 100644--- a/website/components/distributed-trace-visual.tsx+++ b/website/components/distributed-trace-visual.tsx@@ -3,73 +3,110 @@ import { Link2, ArrowRight } from "lucide-react";const traces = [{service: "Backend API",- serviceBg: "bg-zinc-100 text-zinc-700",method: "GET",path: "/api/test-error",status: "500",- statusColor: "text-red-600",duration: "72ms",badge: "Exception",+ color: "var(--crit)",},{service: "React Frontend",- serviceBg: "bg-zinc-100 text-zinc-700",- method: null,+ method: null as string | null,path: "Error: GET /api/test-error failed: 500 Internal Server Error",- status: null,- statusColor: "",- duration: null,+ status: null as string | null,+ duration: null as string | null,badge: "Exception",+ color: "var(--crit)",},];export function DistributedTraceVisual() {return (- <div className="rounded-xl border border-zinc-200 bg-white overflow-hidden">- <div className="px-5 py-4 border-b border-zinc-100">+ <div+ className="rounded-[12px] overflow-hidden"+ style={{+ background: "linear-gradient(180deg, var(--ink-3), var(--ink-2))",+ border: "1px solid var(--hair-2)",+ boxShadow: "0 30px 60px -30px rgba(0, 0, 0, 0.7)",+ }}+ >+ <div+ className="px-5 py-4"+ style={{ borderBottom: "1px solid var(--hair)" }}+ ><div className="flex items-center gap-2 mb-1">- <Link2 className="w-4 h-4 text-zinc-400" />- <span className="text-base font-semibold text-zinc-900">+ <Link2 className="w-4 h-4" style={{ color: "var(--fg-3)" }} />+ <span+ className="text-base font-semibold"+ style={{ color: "var(--fg-0)", fontFamily: "var(--font-display)" }}+ >Distributed Trace</span></div>- <p className="text-sm text-zinc-500">+ <p className="text-sm" style={{ color: "var(--fg-2)" }}>This trace spans across multiple services</p></div>- <div className="divide-y divide-zinc-100">+ <div>{traces.map((t, i) => (<divkey={i}className="flex items-center gap-4 px-5 py-4"+ style={{+ borderBottom: i < traces.length - 1 ? "1px solid var(--hair)" : "none",+ }}><span- className={`shrink-0 inline-flex items-center px-3 py-1 rounded-full text-xs font-medium ${t.serviceBg}`}+ className="shrink-0 inline-flex items-center px-3 py-1 rounded-full text-xs font-medium"+ style={{+ background: "var(--ink-3)",+ color: "var(--fg-1)",+ border: "1px solid var(--hair)",+ fontFamily: "var(--font-mono)",+ }}>{t.service}</span>- <div className="flex-1 min-w-0 flex items-center gap-2 text-sm font-mono text-zinc-800 truncate">+ <div+ className="flex-1 min-w-0 flex items-center gap-2 text-sm truncate"+ style={{ fontFamily: "var(--font-mono)", color: "var(--fg-1)" }}+ >{t.method && (- <span className="font-semibold">{t.method}</span>+ <span className="font-semibold" style={{ color: "var(--fg-3)" }}>+ {t.method}+ </span>)}- <span className="truncate">{t.path}</span>+ <span className="truncate" style={{ color: "var(--a2)" }}>+ {t.path}+ </span>{t.status && (- <span className={`font-semibold ${t.statusColor}`}>+ <span className="font-semibold" style={{ color: "var(--crit)" }}>{t.status}</span>)}{t.duration && (- <span className="text-zinc-400">{t.duration}</span>+ <span style={{ color: "var(--fg-3)" }}>{t.duration}</span>)}</div>- <span className="shrink-0 inline-flex items-center px-2.5 py-0.5 rounded-full text-[11px] font-semibold bg-red-600 text-white">+ <span+ className="shrink-0 inline-flex items-center px-2.5 py-0.5 rounded-full text-[11px] font-semibold"+ style={{+ background: "color-mix(in oklab, var(--crit) 90%, transparent)",+ color: "#ffffff",+ fontFamily: "var(--font-mono)",+ }}+ >{t.badge}</span>- <span className="shrink-0 flex items-center gap-1 text-sm font-medium text-zinc-500 hover:text-zinc-900 cursor-pointer transition-colors">+ <span+ className="shrink-0 flex items-center gap-1 text-sm font-medium cursor-pointer transition-colors"+ style={{ color: "var(--fg-2)" }}+ >View <ArrowRight className="w-3.5 h-3.5" /></span></div>diff --git a/website/components/docker-command.tsx b/website/components/docker-command.tsxindex f26c4c4e..f59a2ff1 100644--- a/website/components/docker-command.tsx+++ b/website/components/docker-command.tsx@@ -14,19 +14,29 @@ export function DockerCommand() {}return (- <div className="relative inline-flex items-center gap-3 rounded-lg bg-zinc-900 text-zinc-100 px-5 py-3 font-mono text-sm shadow-lg">- <span className="text-zinc-500 select-none">$</span>- <code>{command}</code>+ <div+ className="relative inline-flex items-center gap-3 rounded-[10px] px-5 py-3 text-sm"+ style={{+ background: "linear-gradient(180deg, #080b12, #0d1220)",+ border: "1px solid var(--hair-2)",+ color: "var(--fg-0)",+ fontFamily: "var(--font-mono)",+ boxShadow: "0 20px 40px -20px rgba(0, 0, 0, 0.6)",+ }}+ >+ <span style={{ color: "var(--fg-3)" }} className="select-none">+ $+ </span>+ <code style={{ color: "var(--fg-0)", background: "transparent", border: 0, padding: 0 }}>+ {command}+ </code><buttononClick={handleCopy}- className="ml-2 text-zinc-400 hover:text-white transition-colors"+ className="ml-2 transition-colors"+ style={{ color: copied ? "var(--ok)" : "var(--fg-3)" }}aria-label="Copy command">- {copied ? (- <Check className="h-4 w-4 text-green-400" />- ) : (- <Copy className="h-4 w-4" />- )}+ {copied ? <Check className="h-4 w-4" /> : <Copy className="h-4 w-4" />}</button></div>);diff --git a/website/components/eyebrow.tsx b/website/components/eyebrow.tsxnew file mode 100644index 00000000..929d954b--- /dev/null+++ b/website/components/eyebrow.tsx@@ -0,0 +1,13 @@+import { cn } from "@/lib/utils";++export function Eyebrow({+ children,+ className,+ as: Tag = "span",+}: {+ children: React.ReactNode;+ className?: string;+ as?: "span" | "div" | "p";+}) {+ return <Tag className={cn("eyebrow", className)}>{children}</Tag>;+}diff --git a/website/components/faq-list.tsx b/website/components/faq-list.tsxnew file mode 100644index 00000000..95e9d3b4--- /dev/null+++ b/website/components/faq-list.tsx@@ -0,0 +1,32 @@+import { cn } from "@/lib/utils";++export type FaqItem = {+ q: string;+ a: React.ReactNode;+};++export function FaqList({+ items,+ className,+}: {+ items: FaqItem[];+ className?: string;+}) {+ return (+ <div className={cn("faq-list", className)}>+ {items.map((it, i) => (+ <details className="faq-q" key={i}>+ <summary>+ <span>{it.q}</span>+ <span className="plus" aria-hidden>+ ++ </span>+ </summary>+ <div className="faq-a">+ {typeof it.a === "string" ? <p>{it.a}</p> : it.a}+ </div>+ </details>+ ))}+ </div>+ );+}diff --git a/website/components/feature-row.tsx b/website/components/feature-row.tsxnew file mode 100644index 00000000..ea791d01--- /dev/null+++ b/website/components/feature-row.tsx@@ -0,0 +1,65 @@+import Image from "next/image";+import { cn } from "@/lib/utils";+import { Eyebrow } from "@/components/eyebrow";++type Props = {+ eyebrow?: string;+ title: React.ReactNode;+ description: React.ReactNode;+ bullets?: string[];+ image?: { src: string; alt: string; width?: number; height?: number };+ children?: React.ReactNode;+ reverse?: boolean;+ eyebrowColor?: string;+ cta?: React.ReactNode;+};++export function FeatureRow({+ eyebrow,+ title,+ description,+ bullets,+ image,+ children,+ reverse,+ eyebrowColor,+ cta,+}: Props) {+ return (+ <div className={cn("feature-row", reverse && "reverse")}>+ <div className="feat-copy">+ {eyebrow ? (+ <Eyebrow+ className={cn(eyebrowColor && "eyebrow")}+ {...(eyebrowColor ? { style: { color: eyebrowColor } } : {})}+ >+ {eyebrow}+ </Eyebrow>+ ) : null}+ <h2>{title}</h2>+ <p>{description}</p>+ {bullets?.length ? (+ <ul className="feat-bullets">+ {bullets.map((b) => (+ <li key={b}>{b}</li>+ ))}+ </ul>+ ) : null}+ {cta ? <div className="mt-6">{cta}</div> : null}+ </div>+ <div className="feat-visual">+ {image ? (+ <Image+ src={image.src}+ alt={image.alt}+ width={image.width ?? 1200}+ height={image.height ?? 800}+ className="w-full h-auto"+ />+ ) : (+ children+ )}+ </div>+ </div>+ );+}diff --git a/website/components/final-cta.tsx b/website/components/final-cta.tsxnew file mode 100644index 00000000..d950bd96--- /dev/null+++ b/website/components/final-cta.tsx@@ -0,0 +1,47 @@+import Link from "next/link";+import { ArrowRight } from "lucide-react";+import { cn } from "@/lib/utils";++type Action = { label: string; href: string; external?: boolean };++export function FinalCTA({+ title,+ description,+ primary,+ secondary,+ className,+}: {+ title: React.ReactNode;+ description?: React.ReactNode;+ primary: Action;+ secondary?: Action;+ className?: string;+}) {+ return (+ <section className={cn("wrap py-20", className)}>+ <div className="final-cta-box">+ <h2>{title}</h2>+ {description ? <p>{description}</p> : null}+ <div className="btns">+ <Link+ href={primary.href}+ className="btn btn-accent"+ {...(primary.external ? { target: "_blank", rel: "noopener noreferrer" } : {})}+ >+ {primary.label}+ <ArrowRight className="h-4 w-4" />+ </Link>+ {secondary ? (+ <Link+ href={secondary.href}+ className="btn btn-ghost"+ {...(secondary.external ? { target: "_blank", rel: "noopener noreferrer" } : {})}+ >+ {secondary.label}+ </Link>+ ) : null}+ </div>+ </div>+ </section>+ );+}diff --git a/website/components/gradient-heading.tsx b/website/components/gradient-heading.tsxnew file mode 100644index 00000000..f4dbf45f--- /dev/null+++ b/website/components/gradient-heading.tsx@@ -0,0 +1,15 @@+import { cn } from "@/lib/utils";++type Props = {+ as: "h1" | "h2" | "h3";+ children: React.ReactNode;+ className?: string;+};++export function GradientHeading({ as: Tag, children, className }: Props) {+ return <Tag className={cn(className)}>{children}</Tag>;+}++export function Gradient({ children }: { children: React.ReactNode }) {+ return <em>{children}</em>;+}diff --git a/website/components/grid-background.tsx b/website/components/grid-background.tsxnew file mode 100644index 00000000..2531db62--- /dev/null+++ b/website/components/grid-background.tsx@@ -0,0 +1,19 @@+import { cn } from "@/lib/utils";++export function GridBackground({ className }: { className?: string }) {+ return (+ <div+ aria-hidden+ className={cn("pointer-events-none absolute inset-0 -z-10", className)}+ style={{+ backgroundImage:+ "linear-gradient(to right, var(--hair) 1px, transparent 1px), linear-gradient(to bottom, var(--hair) 1px, transparent 1px)",+ backgroundSize: "56px 56px",+ maskImage:+ "radial-gradient(ellipse 70% 60% at 50% 40%, #000 50%, transparent 100%)",+ WebkitMaskImage:+ "radial-gradient(ellipse 70% 60% at 50% 40%, #000 50%, transparent 100%)",+ }}+ />+ );+}diff --git a/website/components/hairline-divider.tsx b/website/components/hairline-divider.tsxnew file mode 100644index 00000000..59a29a00--- /dev/null+++ b/website/components/hairline-divider.tsx@@ -0,0 +1,25 @@+import { cn } from "@/lib/utils";++export function HairlineDivider({+ label,+ className,+}: {+ label?: string;+ className?: string;+}) {+ if (!label) {+ return <div className={cn("hair-rule", className)} />;+ }+ return (+ <div+ className={cn(+ "flex items-center gap-4 text-fg-3 font-mono text-[11px] tracking-widest uppercase",+ className+ )}+ >+ <span className="hair-rule flex-1" />+ <span>{label}</span>+ <span className="hair-rule flex-1" />+ </div>+ );+}diff --git a/website/components/hero-email-cta.tsx b/website/components/hero-email-cta.tsxnew file mode 100644index 00000000..1fbb70d5--- /dev/null+++ b/website/components/hero-email-cta.tsx@@ -0,0 +1,70 @@+"use client";++import { useState, FormEvent } from "react";+import Link from "next/link";++export function HeroEmailCTA({+ bookDemoHref = "/contact",+ placeholder = "Email Address",+}: {+ bookDemoHref?: string;+ placeholder?: string;+}) {+ const [email, setEmail] = useState("");++ function handleSubmit(e: FormEvent) {+ e.preventDefault();+ const trimmed = email.trim();+ const base = "https://cloud.tracewayapp.com/register";+ const url = trimmed ? `${base}?email=${encodeURIComponent(trimmed)}` : base;+ window.location.href = url;+ }++ return (+ <div className="w-full max-w-xl mx-auto">+ <form+ onSubmit={handleSubmit}+ className="flex items-stretch gap-1 rounded-[12px] p-1.5"+ style={{+ background: "color-mix(in oklab, var(--ink-2) 85%, transparent)",+ border: "1px solid var(--hair-2)",+ boxShadow: "inset 0 1px 0 rgba(255,255,255,0.03)",+ }}+ >+ <input+ type="email"+ required+ value={email}+ onChange={(e) => setEmail(e.target.value)}+ placeholder={placeholder}+ aria-label="Email address"+ className="flex-1 px-4 py-2.5 rounded-md text-[15px] bg-transparent outline-none"+ style={{+ color: "var(--fg-0)",+ fontFamily: "var(--font-mono)",+ }}+ />+ <button+ type="submit"+ className="btn btn-accent whitespace-nowrap px-5"+ style={{ borderRadius: 8 }}+ >+ Start for free+ </button>+ </form>+ <p+ className="mt-3 text-center text-[13px]"+ style={{ color: "var(--fg-2)", fontFamily: "var(--font-mono)" }}+ >+ Start for free or{" "}+ <Link+ href={bookDemoHref}+ className="underline underline-offset-4 hover:text-[color:var(--fg-0)] transition-colors"+ style={{ color: "var(--fg-0)" }}+ >+ Book a demo+ </Link>+ </p>+ </div>+ );+}diff --git a/website/components/home-tabs.tsx b/website/components/home-tabs.tsxindex 21fd7d85..e1729c34 100644--- a/website/components/home-tabs.tsx+++ b/website/components/home-tabs.tsx@@ -3,18 +3,28 @@import { useState } from "react";import Link from "next/link";import { Server, Monitor, Network, Workflow, Radio, ArrowRight } from "lucide-react";+import type { LucideIcon } from "lucide-react";-const tabs = [+type Tab = {+ id: string;+ label: string;+ icon: LucideIcon;+ color: string;+ heading: string;+ description: string;+ bullets: string[];+ href: string;+};++const tabs: Tab[] = [{id: "backend",label: "Backend",icon: Server,- iconBg: "bg-teal-50",- iconColor: "text-teal-600",- dotColor: "bg-teal-500",- heading: "Trace every request. Score every endpoint.",+ color: "var(--a2)",+ heading: "Trace every request. Rank every endpoint.",description:- "Traceway captures detailed span waterfall traces for every backend request, monitors scheduled tasks and background jobs, and ranks endpoints by real user impact with the Impact Score.",+ "Traceway captures detailed span waterfall traces for every backend request, monitors scheduled tasks and background jobs, and ranks endpoints by real user impact.",bullets: ["Full request/response span traces","Scheduled task and background job monitoring",@@ -28,12 +38,10 @@ const tabs = [id: "frontend",label: "Frontend",icon: Monitor,- iconBg: "bg-purple-50",- iconColor: "text-purple-600",- dotColor: "bg-purple-500",+ color: "var(--a1)",heading: "Replay the moment before every error.",description:- "See exactly what users did before an exception. Session replays are attached to errors automatically. Source map stack trace resolution turns minified errors into readable, actionable traces.",+ "See exactly what users did before an exception. Session replays are attached to errors automatically. Source map resolution turns minified errors into readable, actionable traces.",bullets: ["Session replay with pre-error capture","Automatic source map stack trace resolution",@@ -46,9 +54,7 @@ const tabs = [id: "microservice",label: "Microservice",icon: Network,- iconBg: "bg-cyan-50",- iconColor: "text-cyan-600",- dotColor: "bg-cyan-500",+ color: "var(--ok)",heading: "Follow a request across every service.",description:"Distributed tracing connects frontend sessions to backend errors across your entire microservice topology. When a backend service throws an exception, you see the user's session replay, the full cross-service trace, and the exact span that failed.",@@ -58,15 +64,13 @@ const tabs = ["Full trace context across service boundaries","Exception pinpointing across services",],- href: "/product/distributed-tracing",+ href: "/product/traces",},{id: "ai-agents",label: "AI Agents",icon: Workflow,- iconBg: "bg-violet-50",- iconColor: "text-violet-600",- dotColor: "bg-violet-500",+ color: "var(--a3)",heading: "Track every AI call, its cost, and its conversation.",description:"Monitor LLM costs, token usage, and latency across every provider. See the full prompt and completion for every call, with per-agent and per-model breakdowns.",@@ -82,9 +86,7 @@ const tabs = [id: "iot",label: "IoT",icon: Radio,- iconBg: "bg-amber-50",- iconColor: "text-amber-600",- dotColor: "bg-amber-500",+ color: "var(--a4)",heading: "Monitor fleets of devices at scale.",description:"Traceway's OpenTelemetry-native ingestion and ClickHouse columnar storage handle high-volume telemetry from IoT devices efficiently. Enterprise pricing supports large device fleets with predictable, fixed costs — no per-event billing surprises.",@@ -106,16 +108,24 @@ export function HomeTabs() {return (<div><div className="flex items-center justify-center mb-8">- <div className="inline-flex items-center bg-zinc-100 rounded-lg p-1 gap-1">+ <div+ className="inline-flex items-center gap-1 p-1 rounded-lg"+ style={{+ background: "color-mix(in oklab, var(--ink-3) 80%, transparent)",+ border: "1px solid var(--hair)",+ }}+ >{tabs.map((t, i) => (<buttonkey={t.id}onClick={() => setActive(i)}- className={`px-4 py-2 rounded-md text-sm font-medium transition-all ${- active === i- ? "bg-white text-zinc-900 shadow-sm"- : "text-zinc-500 hover:text-zinc-700"- }`}+ className="px-4 py-2 rounded-md text-[13px] font-medium transition-all"+ style={{+ fontFamily: "var(--font-display)",+ background: active === i ? "var(--ink-0)" : "transparent",+ color: active === i ? "var(--fg-0)" : "var(--fg-2)",+ boxShadow: active === i ? "0 1px 2px rgba(0,0,0,0.1)" : "none",+ }}>{t.label}</button>@@ -123,31 +133,51 @@ export function HomeTabs() {</div></div>- <div className="rounded-2xl border border-zinc-200 bg-white p-8 md:p-10">+ <div+ className="rounded-[14px] p-8 md:p-10"+ style={{+ background:+ "linear-gradient(180deg, color-mix(in oklab, var(--ink-3) 30%, transparent), color-mix(in oklab, var(--ink-2) 20%, transparent))",+ border: "1px solid var(--hair)",+ }}+ ><div className="flex flex-col md:flex-row items-start gap-8"><div className="flex-1 space-y-5"><div- className={`w-12 h-12 ${tab.iconBg} rounded-2xl flex items-center justify-center`}+ className="w-12 h-12 rounded-[10px] flex items-center justify-center"+ style={{+ background: `color-mix(in oklab, ${tab.color} 18%, transparent)`,+ border: `1px solid color-mix(in oklab, ${tab.color} 40%, transparent)`,+ color: tab.color,+ }}>- <Icon className={`w-6 h-6 ${tab.iconColor}`} />+ <Icon className="w-5 h-5" /></div>- <h3 className="text-xl md:text-2xl font-bold text-zinc-900 tracking-tight">+ <h3 className="text-xl md:text-2xl font-semibold tracking-tight" style={{ color: "var(--fg-0)" }}>{tab.heading}</h3>- <p className="text-zinc-600 leading-relaxed">{tab.description}</p>+ <p className="leading-relaxed" style={{ color: "var(--fg-1)" }}>+ {tab.description}+ </p><ul className="space-y-3 pt-1">{tab.bullets.map((b) => (- <li key={b} className="flex items-center gap-3 text-zinc-700">+ <li+ key={b}+ className="flex items-center gap-3 text-[15px]"+ style={{ color: "var(--fg-1)" }}+ ><div- className={`w-1.5 h-1.5 rounded-full ${tab.dotColor}`}- ></div>+ className="w-1.5 h-1.5 rounded-full"+ style={{ background: tab.color }}+ />{b}</li>))}</ul><Linkhref={tab.href}- className="inline-flex items-center gap-1 text-sm font-medium text-zinc-500 hover:text-zinc-900 transition-colors pt-2"+ className="inline-flex items-center gap-1 text-sm font-medium transition-colors pt-2 hover:opacity-80"+ style={{ color: tab.color }}>Learn more <ArrowRight className="w-3.5 h-3.5" /></Link>diff --git a/website/components/impact-score-visual.tsx b/website/components/impact-score-visual.tsxindex f43983f0..8c95af02 100644--- a/website/components/impact-score-visual.tsx+++ b/website/components/impact-score-visual.tsx@@ -4,7 +4,7 @@ export function ImpactScoreVisual() {method: "POST",path: "/api/checkout",score: "Critical",- color: "bg-red-100 text-red-700",+ tone: "crit",p50: "320ms",p95: "1.8s",p99: "4.2s",@@ -14,7 +14,7 @@ export function ImpactScoreVisual() {method: "GET",path: "/api/users",score: "High",- color: "bg-orange-100 text-orange-700",+ tone: "warn",p50: "85ms",p95: "420ms",p99: "1.1s",@@ -24,7 +24,7 @@ export function ImpactScoreVisual() {method: "POST",path: "/api/upload",score: "Medium",- color: "bg-yellow-100 text-yellow-700",+ tone: "med",p50: "210ms",p95: "680ms",p99: "950ms",@@ -34,7 +34,7 @@ export function ImpactScoreVisual() {method: "GET",path: "/api/health",score: "Good",- color: "bg-green-100 text-green-700",+ tone: "ok",p50: "2ms",p95: "8ms",p99: "15ms",@@ -50,21 +50,54 @@ export function ImpactScoreVisual() {"Volume error floor",];+ const toneStyle = (tone: string): React.CSSProperties => {+ if (tone === "crit")+ return { color: "var(--crit)", background: "color-mix(in oklab, var(--crit) 14%, transparent)", border: "1px solid color-mix(in oklab, var(--crit) 30%, transparent)" };+ if (tone === "warn")+ return { color: "var(--a3)", background: "color-mix(in oklab, var(--a3) 14%, transparent)", border: "1px solid color-mix(in oklab, var(--a3) 30%, transparent)" };+ if (tone === "med")+ return { color: "var(--a4)", background: "color-mix(in oklab, var(--a4) 14%, transparent)", border: "1px solid color-mix(in oklab, var(--a4) 30%, transparent)" };+ return { color: "var(--ok)", background: "color-mix(in oklab, var(--ok) 14%, transparent)", border: "1px solid color-mix(in oklab, var(--ok) 30%, transparent)" };+ };+return (<div className="w-full">- <div className="rounded-xl border border-zinc-200 bg-white overflow-hidden">- {/* Window chrome */}- <div className="flex items-center gap-1.5 px-4 py-3 bg-zinc-50 border-b border-zinc-100">- <div className="w-2.5 h-2.5 rounded-full bg-[#fe5f57]"></div>- <div className="w-2.5 h-2.5 rounded-full bg-[#fdbc2e]"></div>- <div className="w-2.5 h-2.5 rounded-full bg-[#28c841]"></div>- <span className="ml-3 text-[11px] font-medium text-zinc-400">- Endpoints - Impact Score+ <div+ className="rounded-[12px] overflow-hidden"+ style={{+ background: "linear-gradient(180deg, var(--ink-3), var(--ink-2))",+ border: "1px solid var(--hair-2)",+ boxShadow: "0 30px 60px -30px rgba(0, 0, 0, 0.7)",+ }}+ >+ <div+ className="flex items-center gap-1.5 px-4 py-3"+ style={{+ background: "rgba(8, 11, 18, 0.6)",+ borderBottom: "1px solid var(--hair)",+ }}+ >+ <div className="w-2.5 h-2.5 rounded-full" style={{ background: "#ff5a5f" }} />+ <div className="w-2.5 h-2.5 rounded-full" style={{ background: "#ffd166" }} />+ <div className="w-2.5 h-2.5 rounded-full" style={{ background: "#22e0a8" }} />+ <span+ className="ml-3 text-[11px] tracking-wider uppercase"+ style={{ color: "var(--fg-3)", fontFamily: "var(--font-mono)" }}+ >+ endpoints — impact score</span></div>- {/* Table header */}- <div className="grid grid-cols-[1fr_90px_80px_80px_80px_70px] gap-2 px-4 py-2.5 bg-zinc-50/50 border-b border-zinc-100 text-[11px] font-semibold text-zinc-400 uppercase tracking-wider">+ <div+ className="grid gap-2 px-4 py-2.5 text-[11px] font-semibold uppercase tracking-wider"+ style={{+ gridTemplateColumns: "1fr 90px 80px 80px 80px 70px",+ background: "rgba(0,0,0,0.15)",+ borderBottom: "1px solid var(--hair)",+ color: "var(--fg-3)",+ fontFamily: "var(--font-mono)",+ }}+ ><div>Endpoint</div><div>Score</div><div className="text-right">P50</div>@@ -73,46 +106,52 @@ export function ImpactScoreVisual() {<div className="text-right">Reqs</div></div>- {/* Table rows */}- {endpoints.map((ep) => (+ {endpoints.map((ep, i) => (<divkey={ep.path}- className="grid grid-cols-[1fr_90px_80px_80px_80px_70px] gap-2 px-4 py-3 border-b border-zinc-50 last:border-b-0 hover:bg-zinc-50/50 transition-colors"+ className="grid gap-2 px-4 py-3"+ style={{+ gridTemplateColumns: "1fr 90px 80px 80px 80px 70px",+ borderBottom: i < endpoints.length - 1 ? "1px solid var(--hair)" : "none",+ }}>- <div className="font-mono text-sm text-zinc-800 truncate">- <span className="text-zinc-400 font-medium">{ep.method}</span>{" "}- {ep.path}+ <div className="truncate" style={{ fontFamily: "var(--font-mono)", color: "var(--fg-0)" }}>+ <span style={{ color: "var(--fg-3)" }}>{ep.method}</span>{" "}+ <span style={{ color: "var(--a2)" }}>{ep.path}</span></div><div><span- className={`inline-flex items-center px-2 py-0.5 rounded-full text-[11px] font-semibold ${ep.color}`}+ className="inline-flex items-center px-2 py-0.5 rounded-full text-[10.5px] font-semibold"+ style={{ ...toneStyle(ep.tone), fontFamily: "var(--font-mono)" }}>{ep.score}</span></div>- <div className="text-right text-sm text-zinc-600 font-mono">+ <div className="text-right text-sm" style={{ color: "var(--fg-1)", fontFamily: "var(--font-mono)" }}>{ep.p50}</div>- <div className="text-right text-sm text-zinc-600 font-mono">+ <div className="text-right text-sm" style={{ color: "var(--fg-1)", fontFamily: "var(--font-mono)" }}>{ep.p95}</div>- <div className="text-right text-sm text-zinc-600 font-mono">+ <div className="text-right text-sm" style={{ color: "var(--fg-1)", fontFamily: "var(--font-mono)" }}>{ep.p99}</div>- <div className="text-right text-sm text-zinc-500 font-mono">+ <div className="text-right text-sm" style={{ color: "var(--fg-2)", fontFamily: "var(--font-mono)" }}>{ep.requests}</div></div>))}</div>- {/* SLI note */}- <p className="mt-4 text-center text-sm text-zinc-500">+ <p+ className="mt-4 text-center text-sm"+ style={{ color: "var(--fg-2)" }}+ >The Impact Score takes the{" "}- <span className="font-medium text-zinc-700">max</span> across five SLIs:{" "}+ <span style={{ color: "var(--fg-0)", fontWeight: 500 }}>max</span> across five SLIs:{" "}{slis.map((sli, i) => (<span key={sli}>- <span className="font-medium text-zinc-600">{sli}</span>+ <span style={{ color: "var(--fg-1)", fontWeight: 500 }}>{sli}</span>{i < slis.length - 1 ? ", " : "."}</span>))}diff --git a/website/components/mobile-nav.tsx b/website/components/mobile-nav.tsxindex ca9e6646..6d7aa0b7 100644--- a/website/components/mobile-nav.tsx+++ b/website/components/mobile-nav.tsx@@ -1,129 +1,161 @@"use client";-import { useState, useEffect } from "react";+import { useState } from "react";import Link from "next/link";-import { createPortal } from "react-dom";-import { Button } from "@/components/ui/button";-import { Github, Menu, X } from "lucide-react";+import { Github, Menu, ArrowUpRight } from "lucide-react";+import type { LucideIcon } from "lucide-react";+import {+ Sheet,+ SheetContent,+ SheetTrigger,+ SheetTitle,+ SheetDescription,+} from "@/components/ui/sheet";+import { Eyebrow } from "@/components/eyebrow";+import { cn } from "@/lib/utils";-export function MobileNav() {- const [isOpen, setIsOpen] = useState(false);- const [mounted, setMounted] = useState(false);+type NavItem = {+ title: string;+ description: string;+ href: string;+ icon: LucideIcon;+};- useEffect(() => {- setMounted(true);- }, []);+export function MobileNav({+ pillars,+ specialized,+}: {+ pillars: NavItem[];+ specialized: NavItem[];+}) {+ const [open, setOpen] = useState(false);- useEffect(() => {- if (isOpen) {- document.body.style.overflow = "hidden";- } else {- document.body.style.overflow = "auto";- }- return () => {- document.body.style.overflow = "auto";- }- }, [isOpen]);+ return (+ <div className="md:hidden">+ <Sheet open={open} onOpenChange={setOpen}>+ <SheetTrigger asChild>+ <button+ className="inline-flex items-center justify-center h-9 w-9 rounded-md text-[color:var(--fg-1)] hover:text-[color:var(--fg-0)] hover:bg-[color:var(--ink-2)] transition-colors"+ aria-label="Open menu"+ >+ <Menu className="h-5 w-5" />+ </button>+ </SheetTrigger>+ <SheetContent+ side="right"+ className="w-full sm:max-w-[360px] border-l-[color:var(--hair)] bg-[color:var(--ink-0)] p-0 flex flex-col"+ >+ <SheetTitle className="sr-only">Menu</SheetTitle>+ <SheetDescription className="sr-only">Traceway product navigation</SheetDescription>- return (- <div className="md:hidden">- <Button- variant="ghost"- size="icon"- className="text-zinc-600"- onClick={() => setIsOpen(!isOpen)}+ <div className="px-6 pt-16 pb-6 overflow-y-auto flex-1">+ <Eyebrow className="block mb-3">Observability pillars</Eyebrow>+ <div className="flex flex-col">+ {pillars.map((p) => (+ <MobileLink key={p.href} item={p} onClick={() => setOpen(false)} />+ ))}+ </div>++ <Eyebrow className="block mt-8 mb-3">Specialized</Eyebrow>+ <div className="flex flex-col">+ {specialized.map((p) => (+ <MobileLink key={p.href} item={p} onClick={() => setOpen(false)} />+ ))}+ </div>++ <div+ className="mt-8 pt-6 flex flex-col gap-1"+ style={{ borderTop: "1px solid var(--hair)" }}>- {isOpen ? (- <X className="h-6 w-6" />- ) : (- <Menu className="h-6 w-6" />- )}- <span className="sr-only">Toggle menu</span>- </Button>+ <Link+ href="/cloud"+ onClick={() => setOpen(false)}+ className="py-3 text-[16px] font-medium text-[color:var(--fg-0)] hover:text-[color:var(--a2)]"+ style={{ fontFamily: "var(--font-display)" }}+ >+ Cloud+ </Link>+ <Link+ href="https://docs.tracewayapp.com"+ target="_blank"+ rel="noopener noreferrer"+ onClick={() => setOpen(false)}+ className="py-3 text-[16px] font-medium text-[color:var(--fg-0)] hover:text-[color:var(--a2)]"+ style={{ fontFamily: "var(--font-display)" }}+ >+ Docs+ </Link>+ <Link+ href="https://github.com/tracewayapp/traceway"+ target="_blank"+ rel="noopener noreferrer"+ onClick={() => setOpen(false)}+ className="py-3 text-[16px] font-medium text-[color:var(--fg-0)] hover:text-[color:var(--a2)] inline-flex items-center gap-2"+ style={{ fontFamily: "var(--font-display)" }}+ >+ GitHub+ <Github className="h-4 w-4" />+ </Link>+ </div>+ </div>- {isOpen && mounted && createPortal(- <div className="md:hidden fixed top-14 left-0 right-0 bottom-0 bg-white z-50 p-4 overflow-y-auto border-t border-zinc-100 animate-in slide-in-from-top-2 fade-in duration-200 flex flex-col">- <div className="flex flex-col gap-6 mt-4">- <div className="text-xs font-semibold text-zinc-400 uppercase tracking-wider">Product</div>- <Link- href="/product/issue-tracking"- className="text-lg font-medium text-zinc-600 hover:text-zinc-900 transition-colors pl-2"- onClick={() => setIsOpen(false)}- >- Issue Tracking- </Link>- <Link- href="/product/performance"- className="text-lg font-medium text-zinc-600 hover:text-zinc-900 transition-colors pl-2"- onClick={() => setIsOpen(false)}- >- Performance- </Link>- <Link- href="/product/session-replay"- className="text-lg font-medium text-zinc-600 hover:text-zinc-900 transition-colors pl-2"- onClick={() => setIsOpen(false)}- >- Session Replay- </Link>- <Link- href="/product/distributed-tracing"- className="text-lg font-medium text-zinc-600 hover:text-zinc-900 transition-colors pl-2"- onClick={() => setIsOpen(false)}- >- Distributed Tracing- </Link>- <Link- href="/product/ai-tracing"- className="text-lg font-medium text-zinc-600 hover:text-zinc-900 transition-colors pl-2"- onClick={() => setIsOpen(false)}- >- AI Tracing- </Link>- <Link- href="/product/logs"- className="text-lg font-medium text-zinc-600 hover:text-zinc-900 transition-colors pl-2"- onClick={() => setIsOpen(false)}- >- Logs- </Link>- <div className="border-t border-zinc-100"></div>- <Link- href="/cloud"- className="text-lg font-medium text-zinc-600 hover:text-zinc-900 transition-colors"- onClick={() => setIsOpen(false)}- >- Cloud- </Link>- <Link- href="https://docs.tracewayapp.com"- className="text-lg font-medium text-zinc-600 hover:text-zinc-900 transition-colors"- onClick={() => setIsOpen(false)}- >- Docs- </Link>- <Link- href="https://github.com/tracewayapp/traceway"- target="_blank"- rel="noopener noreferrer"- className="text-lg font-medium text-zinc-600 hover:text-zinc-900 transition-colors flex items-center gap-2"- onClick={() => setIsOpen(false)}- >- GitHub <Github className="h-4 w-4" />- </Link>- </div>- <div className="flex-1"></div>- <div className="mt-8 flex flex-col gap-4">- <Link href="http://cloud.tracewayapp.com/register" onClick={() => setIsOpen(false)} className="inline-flex items-center justify-center gap-2 rounded-md font-medium transition-all cursor-pointer w-full bg-[#4ba3f7] text-white hover:bg-[#3b93e7] h-12 text-lg">- Try for free- </Link>- <Link href="http://cloud.tracewayapp.com/login" onClick={() => setIsOpen(false)} className="inline-flex items-center justify-center gap-2 rounded-md font-medium transition-all cursor-pointer w-full h-12 text-lg border border-zinc-200 text-zinc-600 hover:text-zinc-900 hover:bg-zinc-100">- Sign in- </Link>- </div>- </div>,- document.body- )}+ <div+ className="p-6 flex flex-col gap-3"+ style={{ borderTop: "1px solid var(--hair)" }}+ >+ <Link+ href="https://cloud.tracewayapp.com/register"+ onClick={() => setOpen(false)}+ className="btn btn-accent w-full justify-center"+ >+ Try for free+ <ArrowUpRight className="h-4 w-4" />+ </Link>+ <Link+ href="https://cloud.tracewayapp.com/login"+ onClick={() => setOpen(false)}+ className="btn btn-ghost w-full justify-center"+ >+ Sign in+ </Link>+ </div>+ </SheetContent>+ </Sheet>+ </div>+ );+}++function MobileLink({ item, onClick }: { item: NavItem; onClick?: () => void }) {+ const Icon = item.icon;+ return (+ <Link+ href={item.href}+ onClick={onClick}+ className={cn(+ "grid grid-cols-[32px_1fr] gap-3 items-start py-3 -mx-2 px-2 rounded-md transition-colors hover:bg-[color:var(--ink-2)]"+ )}+ >+ <div+ className="h-8 w-8 rounded-md grid place-items-center"+ style={{+ background: "rgba(255,255,255,0.04)",+ border: "1px solid var(--hair)",+ color: "var(--a2)",+ }}+ >+ <Icon className="h-4 w-4" />+ </div>+ <div>+ <div+ className="text-[15px] font-medium leading-tight"+ style={{ fontFamily: "var(--font-display)", color: "var(--fg-0)" }}+ >+ {item.title}+ </div>+ <div className="text-[12px] mt-0.5 leading-snug" style={{ color: "var(--fg-3)" }}>+ {item.description}</div>- );+ </div>+ </Link>+ );}diff --git a/website/components/motion-polish.tsx b/website/components/motion-polish.tsxnew file mode 100644index 00000000..4b862ce9--- /dev/null+++ b/website/components/motion-polish.tsx@@ -0,0 +1,255 @@+"use client";++import { useEffect } from "react";++type ScrollTriggerInstance = { kill: () => void };++export function MotionPolish() {+ useEffect(() => {+ if (typeof window === "undefined") return;+ if (window.matchMedia("(prefers-reduced-motion: reduce)").matches) return;++ let cancelled = false;+ const triggers: ScrollTriggerInstance[] = [];+ const cleanups: Array<() => void> = [];++ (async () => {+ const [{ default: gsap }, { ScrollTrigger }] = await Promise.all([+ import("gsap"),+ import("gsap/ScrollTrigger"),+ ]);++ if (cancelled) return;+ gsap.registerPlugin(ScrollTrigger);++ // Hero entrance timeline+ const hero = document.querySelector(".hero");+ if (hero) {+ const tl = gsap.timeline({ defaults: { ease: "power3.out" } });+ tl.from(".site-nav", { y: -20, opacity: 0, duration: 0.7 }, 0)+ .from(".hero .chip", { y: 16, opacity: 0, duration: 0.7 }, 0.15)+ .from(".hero h1", { y: 30, opacity: 0, duration: 0.9 }, 0.25)+ .from(".hero-sub", { y: 18, opacity: 0, duration: 0.7 }, 0.55)+ .from(".hero-cta-row > *", { y: 14, opacity: 0, duration: 0.6, stagger: 0.08 }, 0.7)+ .from(".pillars > *", { y: 24, opacity: 0, duration: 0.7, stagger: 0.07, ease: "power2.out" }, 0.85)+ .from(".pillars-sec > *", { y: 12, opacity: 0, duration: 0.5, stagger: 0.05 }, 1.05);+ }++ // Scroll-reveal on every non-hero section+ document.querySelectorAll<HTMLElement>("section").forEach((sec) => {+ if (sec.classList.contains("hero")) return;+ const eyebrow = sec.querySelector(".eyebrow");+ const heading = sec.querySelector("h2, h1");+ const para = sec.querySelector("h2 + p, h1 + p, .section-sub");+ const els = [eyebrow, heading, para].filter(Boolean) as Element[];+ if (!els.length) return;+ gsap.set(els, { opacity: 0, y: 28 });+ const t = ScrollTrigger.create({+ trigger: sec,+ start: "top 82%",+ once: true,+ onEnter: () => {+ gsap.to(els, { opacity: 1, y: 0, duration: 0.85, ease: "power3.out", stagger: 0.08 });+ },+ });+ triggers.push(t);+ });++ // Grid staggers+ [".bento-grid", ".feature-row", ".pillars", ".pillars-all", ".tracks"].forEach((sel) => {+ document.querySelectorAll<HTMLElement>(sel).forEach((grid) => {+ const cards = Array.from(grid.children);+ if (!cards.length) return;+ if (grid.classList.contains("pillars") && hero) return; // hero already animated this+ gsap.set(cards, { opacity: 0, y: 28 });+ const t = ScrollTrigger.create({+ trigger: grid,+ start: "top 85%",+ once: true,+ onEnter: () => {+ gsap.to(cards, {+ opacity: 1,+ y: 0,+ duration: 0.8,+ ease: "power3.out",+ stagger: { each: 0.07, from: "start" },+ });+ },+ });+ triggers.push(t);+ });+ });++ // Aurora drift layer+ const auroraProxy = document.createElement("div");+ auroraProxy.setAttribute("data-aurora-proxy", "");+ auroraProxy.style.cssText = `+ position: fixed; inset: -10vh -10vw; pointer-events: none; z-index: -1;+ background:+ radial-gradient(700px 420px at var(--ax, 80%) var(--ay, 5%), color-mix(in oklab, var(--a1) 18%, transparent), transparent 65%),+ radial-gradient(600px 380px at var(--bx, 5%) var(--by, 30%), color-mix(in oklab, var(--a2) 12%, transparent), transparent 65%);+ transition: opacity .4s;+ `;+ document.body.appendChild(auroraProxy);+ const auroraTween = gsap.to(auroraProxy, {+ "--ax": "15%",+ "--ay": "50%",+ "--bx": "90%",+ "--by": "70%",+ ease: "none",+ scrollTrigger: { start: "top top", end: "bottom bottom", scrub: 1.2 },+ });+ if (auroraTween.scrollTrigger) triggers.push(auroraTween.scrollTrigger);+ cleanups.push(() => auroraProxy.remove());++ // Number counters+ document.querySelectorAll<HTMLElement>(".stats-strip .num").forEach((el) => {+ const raw = (el.textContent ?? "").trim();+ const match = raw.match(/([\d.]+)/);+ if (!match) return;+ const target = parseFloat(match[1]);+ const prefix = raw.slice(0, match.index);+ const suffix = raw.slice((match.index ?? 0) + match[0].length);+ const isFloat = match[1].includes(".");+ const hasEm = !!el.querySelector("em");+ const obj = { v: 0 };+ const t = ScrollTrigger.create({+ trigger: el,+ start: "top 88%",+ once: true,+ onEnter: () => {+ gsap.to(obj, {+ v: target,+ duration: 1.6,+ ease: "power2.out",+ onUpdate: () => {+ const n = isFloat ? obj.v.toFixed(1) : Math.round(obj.v);+ el.innerHTML = hasEm ? `${prefix}<em>${n}${suffix}</em>` : `${prefix}${n}${suffix}`;+ },+ });+ },+ });+ triggers.push(t);+ });++ // Magnetic CTAs+ document.querySelectorAll<HTMLElement>(".btn-accent, .btn-primary").forEach((btn) => {+ const strength = 14;+ const onMove = (e: MouseEvent) => {+ const r = btn.getBoundingClientRect();+ const x = (e.clientX - r.left - r.width / 2) / (r.width / 2);+ const y = (e.clientY - r.top - r.height / 2) / (r.height / 2);+ gsap.to(btn, { x: x * strength, y: y * strength, duration: 0.4, ease: "power3.out" });+ };+ const onLeave = () => gsap.to(btn, { x: 0, y: 0, duration: 0.55, ease: "elastic.out(1, 0.5)" });+ btn.addEventListener("mousemove", onMove);+ btn.addEventListener("mouseleave", onLeave);+ cleanups.push(() => {+ btn.removeEventListener("mousemove", onMove);+ btn.removeEventListener("mouseleave", onLeave);+ });+ });++ // Cost-bar fills+ document.querySelectorAll<HTMLElement>("[data-cost-mount]").forEach((mount) => {+ const t = ScrollTrigger.create({+ trigger: mount,+ start: "top 80%",+ once: true,+ onEnter: () => {+ requestAnimationFrame(() => {+ const fills = mount.querySelectorAll<HTMLElement>(".cost-bar .fill");+ fills.forEach((f) => {+ const target = f.getAttribute("data-w");+ if (!target) return;+ gsap.fromTo(+ f,+ { width: 0 },+ { width: `${target}%`, duration: 1.2, ease: "power3.out" }+ );+ });+ });+ },+ });+ triggers.push(t);+ });++ // Terminal type-on+ document.querySelectorAll<HTMLElement>(".term").forEach((term) => {+ const lines = term.querySelectorAll(".term-line");+ if (!lines.length) return;+ gsap.set(lines, { opacity: 0, x: -8 });+ const t = ScrollTrigger.create({+ trigger: term,+ start: "top 80%",+ once: true,+ onEnter: () => {+ gsap.to(lines, {+ opacity: 1,+ x: 0,+ duration: 0.45,+ ease: "power2.out",+ stagger: 0.15,+ });+ },+ });+ triggers.push(t);+ });++ // Nav thickening on scroll+ const nav = document.querySelector<HTMLElement>(".site-nav");+ if (nav) {+ const t = ScrollTrigger.create({+ start: 60,+ end: 99999,+ onUpdate: (self) => {+ nav.dataset.scrolled = self.progress > 0 ? "true" : "false";+ },+ });+ triggers.push(t);+ }++ // Bento micro-tilt+ document.querySelectorAll<HTMLElement>(".bento-grid .b").forEach((card) => {+ card.style.transformStyle = "preserve-3d";+ const onMove = (e: MouseEvent) => {+ const r = card.getBoundingClientRect();+ const px = (e.clientX - r.left) / r.width - 0.5;+ const py = (e.clientY - r.top) / r.height - 0.5;+ gsap.to(card, {+ rotationY: px * 4,+ rotationX: -py * 4,+ y: -2,+ duration: 0.5,+ ease: "power2.out",+ transformPerspective: 1000,+ });+ };+ const onLeave = () =>+ gsap.to(card, { rotationX: 0, rotationY: 0, y: 0, duration: 0.7, ease: "power3.out" });+ card.addEventListener("mousemove", onMove);+ card.addEventListener("mouseleave", onLeave);+ cleanups.push(() => {+ card.removeEventListener("mousemove", onMove);+ card.removeEventListener("mouseleave", onLeave);+ });+ });++ // Refresh after layout settles+ const r1 = setTimeout(() => ScrollTrigger.refresh(), 600);+ const r2 = setTimeout(() => ScrollTrigger.refresh(), 1500);+ cleanups.push(() => {+ clearTimeout(r1);+ clearTimeout(r2);+ });+ })();++ return () => {+ cancelled = true;+ triggers.forEach((t) => t.kill());+ cleanups.forEach((c) => c());+ };+ }, []);++ return null;+}diff --git a/website/components/pillar-card.tsx b/website/components/pillar-card.tsxnew file mode 100644index 00000000..4c39a7b2--- /dev/null+++ b/website/components/pillar-card.tsx@@ -0,0 +1,75 @@+import Link from "next/link";+import type { LucideIcon } from "lucide-react";+import { cn } from "@/lib/utils";++type Color = "a1" | "a2" | "a3" | "ok" | "a4";++const COLOR_TOKEN: Record<Color, string> = {+ a1: "var(--a1)",+ a2: "var(--a2)",+ a3: "var(--a3)",+ ok: "var(--ok)",+ a4: "var(--a4)",+};++export function PillarCard({+ icon: Icon,+ title,+ description,+ href,+ color = "a1",+ className,+}: {+ icon: LucideIcon;+ title: string;+ description: string;+ href: string;+ color?: Color;+ className?: string;+}) {+ return (+ <Link+ href={href}+ className={cn("pillar", className)}+ style={{ ["--pc" as string]: COLOR_TOKEN[color] }}+ >+ <div className="p-ico">+ <Icon className="h-4 w-4" strokeWidth={2} />+ </div>+ <div className="p-title">{title}</div>+ <p className="p-desc">{description}</p>+ </Link>+ );+}++export function PillarSec({+ icon: Icon,+ title,+ description,+ href,+ color = "a1",+ className,+}: {+ icon: LucideIcon;+ title: string;+ description: string;+ href: string;+ color?: Color;+ className?: string;+}) {+ return (+ <Link+ href={href}+ className={cn("pillar-sec", className)}+ style={{ ["--pc" as string]: COLOR_TOKEN[color] }}+ >+ <div className="ps-title">{title}</div>+ <div className="ps-body">+ <div className="ps-ico">+ <Icon className="h-3.5 w-3.5" strokeWidth={2} />+ </div>+ <div className="ps-desc">{description}</div>+ </div>+ </Link>+ );+}diff --git a/website/components/pricing-calculator.tsx b/website/components/pricing-calculator.tsxindex 23ec4a7a..4927cc0b 100644--- a/website/components/pricing-calculator.tsx+++ b/website/components/pricing-calculator.tsx@@ -1,105 +1,152 @@"use client";-import * as React from "react";-import { cn } from "@/lib/utils";import Link from "next/link";import { ArrowRight } from "lucide-react";-const TIERS = [- {- id: "starter",- name: "Starter",- limit: "10k",- price: "Free",- description: "10k issues, requests, task runs",- },- {- id: "pro",- name: "Pro",- limit: "100k",- price: "$12.99",- monthlyLabel: "/ month",- description: "100k issues, requests, task runs",- },- {- id: "premium",- name: "Premium",- limit: "1mil",- price: "$24.99",- monthlyLabel: "/ month",- description: "1mil issues, requests, task runs",- },- {- id: "enterprise",- name: "Enterprise",- limit: "200mil",- price: "$499.99",- monthlyLabel: "/ month",- description: "200mil issues, requests, task runs. Just $0.0000025 per event.",- },- {- id: "enterprise-plus",- name: "Enterprise+",- limit: "Unlimited",- price: "Contact Us",- description: "Even cheaper per event. Dedicated SRE, shared Slack channel, and tailored SLAs.",- },+ {+ id: "starter",+ name: "Starter",+ limit: "10k",+ price: "Free",+ description: "10k issues, requests, task runs",+ },+ {+ id: "pro",+ name: "Pro",+ limit: "100k",+ price: "$12.99",+ monthlyLabel: "/ mo",+ description: "100k issues, requests, task runs",+ },+ {+ id: "premium",+ name: "Premium",+ limit: "1M",+ price: "$24.99",+ monthlyLabel: "/ mo",+ description: "1 million issues, requests, task runs",+ },+ {+ id: "enterprise",+ name: "Enterprise",+ limit: "200M",+ price: "$499.99",+ monthlyLabel: "/ mo",+ description: "200M events. $0.0000025 / event.",+ highlight: true,+ },+ {+ id: "enterprise-plus",+ name: "Enterprise+",+ limit: "Unlimited",+ price: "Contact Us",+ description: "Dedicated SRE, shared Slack, tailored SLAs.",+ },];export function PricingCalculator() {- return (- <div className="w-full max-w-4xl mx-auto">- <div className="bg-white rounded-2xl border border-zinc-200 overflow-hidden">- {/* Pricing Table */}- <div>- <div className="grid grid-cols-12 gap-4 px-6 py-3 bg-zinc-50/50 text-xs font-semibold text-zinc-500 uppercase tracking-wider border-b border-zinc-100">- <div className="col-span-3">Tier</div>- <div className="col-span-3">Monthly Requests</div>- <div className="col-span-3">Base Price</div>- <div className="col-span-3">Includes</div>- </div>-- <div className="divide-y divide-zinc-100">- {TIERS.map((tier) => (- <div- key={tier.id}- className="grid grid-cols-12 gap-4 px-6 py-5 items-center hover:bg-zinc-50 transition-colors"- >- <div className="col-span-3 font-bold text-zinc-900 flex items-center gap-3">- {tier.name}- </div>- <div className="col-span-3 text-zinc-600 font-medium text-sm">- {tier.limit}- </div>- <div className="col-span-3 text-zinc-900 font-bold">- {tier.price}- <span className="text-zinc-400 font-normal text-xs">{tier.monthlyLabel}</span>- </div>- <div className="col-span-3 text-zinc-500 text-xs text-balance leading-relaxed">- {tier.description}- </div>- </div>- ))}- </div>- </div>+ return (+ <div className="w-full max-w-5xl mx-auto">+ <div+ className="rounded-[14px] overflow-hidden"+ style={{+ background: "linear-gradient(180deg, var(--ink-3), var(--ink-2))",+ border: "1px solid var(--hair-2)",+ }}+ >+ <div+ className="grid grid-cols-12 gap-4 px-6 py-3 text-[11px] font-semibold uppercase tracking-wider"+ style={{+ background: "rgba(0,0,0,0.15)",+ borderBottom: "1px solid var(--hair)",+ color: "var(--fg-3)",+ fontFamily: "var(--font-mono)",+ }}+ >+ <div className="col-span-3">Tier</div>+ <div className="col-span-3">Monthly events</div>+ <div className="col-span-3">Price</div>+ <div className="col-span-3">Includes</div>+ </div>- <div className="px-6 py-4 bg-green-50/50 border-t border-zinc-100 text-center space-y-2">- <p className="text-sm text-zinc-600">- <span className="font-semibold text-zinc-900">No overage charges, ever.</span>{" "}- Every plan has a fixed price. If you approach your limit, we'll notify you — your bill will never increase without your approval.- </p>- <p className="text-xs text-zinc-400">- Each issue, HTTP request, or background task run counts as one event toward your monthly volume.- </p>- </div>+ <div>+ {TIERS.map((tier, i) => (+ <div+ key={tier.id}+ className="grid grid-cols-12 gap-4 px-6 py-5 items-center transition-colors hover:bg-[color:rgba(255,255,255,0.02)]"+ style={{+ borderBottom: i < TIERS.length - 1 ? "1px solid var(--hair)" : "none",+ background: tier.highlight+ ? "linear-gradient(90deg, color-mix(in oklab, var(--a1) 12%, transparent), transparent)"+ : undefined,+ }}+ >+ <div+ className="col-span-3 font-semibold flex items-center gap-2"+ style={{+ color: tier.highlight ? "var(--a2)" : "var(--fg-0)",+ fontFamily: "var(--font-display)",+ }}+ >+ {tier.name}+ </div>+ <div+ className="col-span-3 text-sm"+ style={{ color: "var(--fg-1)", fontFamily: "var(--font-mono)" }}+ >+ {tier.limit}+ </div>+ <div+ className="col-span-3 font-semibold"+ style={{+ color: "var(--fg-0)",+ fontFamily: "var(--font-display)",+ }}+ >+ {tier.price}+ {tier.monthlyLabel ? (+ <span+ className="ml-1 text-xs font-normal"+ style={{ color: "var(--fg-3)" }}+ >+ {tier.monthlyLabel}+ </span>+ ) : null}+ </div>+ <div+ className="col-span-3 text-xs leading-relaxed"+ style={{ color: "var(--fg-2)" }}+ >+ {tier.description}+ </div></div>+ ))}+ </div>- <div className="mt-8 flex justify-center">- <Link href="http://cloud.tracewayapp.com/register" className="inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-all cursor-pointer h-10 px-6 bg-[#4ba3f7] text-white hover:bg-[#3b93e7] font-bold shadow-sm shadow-blue-400/20">- Try for free <ArrowRight className="ml-2 h-4 w-4" />- </Link>- </div>+ <div+ className="px-6 py-5 text-center space-y-2"+ style={{+ borderTop: "1px solid var(--hair)",+ background: "color-mix(in oklab, var(--ok) 6%, transparent)",+ }}+ >+ <p className="text-sm" style={{ color: "var(--fg-1)" }}>+ <span style={{ color: "var(--fg-0)", fontWeight: 600 }}>No overage charges, ever.</span>{" "}+ Every plan has a fixed price. If you approach your limit, we'll notify you — your bill+ will never increase without your approval.+ </p>+ <p className="text-xs" style={{ color: "var(--fg-3)" }}>+ Each issue, HTTP request, or background task run counts as one event toward your monthly volume.+ </p></div>- );+ </div>++ <div className="mt-8 flex justify-center">+ <Link href="https://cloud.tracewayapp.com/register" className="btn btn-accent">+ Try for free <ArrowRight className="ml-1 h-4 w-4" />+ </Link>+ </div>+ </div>+ );}diff --git a/website/components/section-head.tsx b/website/components/section-head.tsxnew file mode 100644index 00000000..a23633ab--- /dev/null+++ b/website/components/section-head.tsx@@ -0,0 +1,63 @@+import { cn } from "@/lib/utils";+import { Eyebrow } from "@/components/eyebrow";++type Align = "left" | "center" | "split";++export function SectionHead({+ eyebrow,+ title,+ description,+ align = "left",+ className,+ cta,+}: {+ eyebrow?: string;+ title: React.ReactNode;+ description?: React.ReactNode;+ align?: Align;+ className?: string;+ cta?: React.ReactNode;+}) {+ if (align === "center") {+ return (+ <div className={cn("text-center flex flex-col items-center gap-4 mb-12 max-w-2xl mx-auto", className)}>+ {eyebrow ? <Eyebrow>{eyebrow}</Eyebrow> : null}+ <h2>{title}</h2>+ {description ? (+ <p style={{ color: "var(--fg-2)" }} className="text-base md:text-lg">+ {description}+ </p>+ ) : null}+ {cta}+ </div>+ );+ }++ if (align === "split") {+ return (+ <div className={cn("section-head mb-12", className)}>+ <div>+ {eyebrow ? <Eyebrow>{eyebrow}</Eyebrow> : null}+ <h2 className="mt-3">{title}</h2>+ </div>+ {description ? (+ <p className="muted max-w-[420px]">{description}</p>+ ) : null}+ </div>+ );+ }++ // left+ return (+ <div className={cn("max-w-3xl mb-12", className)}>+ {eyebrow ? <Eyebrow>{eyebrow}</Eyebrow> : null}+ <h2 className="mt-3">{title}</h2>+ {description ? (+ <p style={{ color: "var(--fg-2)" }} className="mt-4 text-base md:text-lg max-w-xl">+ {description}+ </p>+ ) : null}+ {cta ? <div className="mt-6">{cta}</div> : null}+ </div>+ );+}diff --git a/website/components/site-footer.tsx b/website/components/site-footer.tsxindex f3405215..05453dc3 100644--- a/website/components/site-footer.tsx+++ b/website/components/site-footer.tsx@@ -1,90 +1,141 @@import Link from "next/link";+import Image from "next/image";+import { Github } from "lucide-react";++type Column = {+ heading: string;+ links: { label: string; href: string; external?: boolean }[];+};++const COLUMNS: Column[] = [+ {+ heading: "Pillars",+ links: [+ { label: "Logs", href: "/product/logs" },+ { label: "Traces", href: "/product/traces" },+ { label: "Metrics", href: "/product/metrics" },+ { label: "Session Replay", href: "/product/session-replay" },+ { label: "Stack Traces", href: "/product/stack-traces" },+ ],+ },+ {+ heading: "Specialized",+ links: [+ { label: "AI Tracing", href: "/product/ai-tracing" },+ { label: "Performance", href: "/product/performance" },+ ],+ },+ {+ heading: "Resources",+ links: [+ { label: "Docs", href: "https://docs.tracewayapp.com", external: true },+ { label: "GitHub", href: "https://github.com/tracewayapp/traceway", external: true },+ {+ label: "Live Demo",+ href: "https://cloud.tracewayapp.com/[email protected]&password=demoaccount!",+ external: true,+ },+ ],+ },+ {+ heading: "Hosting",+ links: [+ { label: "Cloud", href: "/cloud" },+ { label: "Self-host", href: "https://docs.tracewayapp.com", external: true },+ ],+ },+ {+ heading: "About",+ links: [+ { label: "Privacy Policy", href: "/privacy-policy" },+ { label: "Terms of Use", href: "/terms-of-use" },+ { label: "Contact", href: "/contact" },+ ],+ },+];export function SiteFooter() {- return (- <footer className="py-10 border-t border-zinc-200 bg-white">- <div className="container mx-auto px-4">- <div className="grid grid-cols-2 md:grid-cols-4 gap-8 text-sm">- <div>- <h4 className="font-semibold text-zinc-900 mb-3">Product</h4>- <ul className="space-y-2 text-zinc-500">- <li>- <Link href="/product/issue-tracking" className="hover:text-zinc-900 transition-colors">- Issue Tracking- </Link>- </li>- <li>- <Link href="/product/performance" className="hover:text-zinc-900 transition-colors">- Performance- </Link>- </li>- <li>- <Link href="/product/session-replay" className="hover:text-zinc-900 transition-colors">- Session Replay- </Link>- </li>- <li>- <Link href="/product/distributed-tracing" className="hover:text-zinc-900 transition-colors">- Distributed Tracing- </Link>- </li>- </ul>- </div>- <div>- <h4 className="font-semibold text-zinc-900 mb-3">Resources</h4>- <ul className="space-y-2 text-zinc-500">- <li>- <Link href="https://docs.tracewayapp.com" className="hover:text-zinc-900 transition-colors">- Docs- </Link>- </li>- <li>- <Link href="https://github.com/tracewayapp/traceway" target="_blank" className="hover:text-zinc-900 transition-colors">- GitHub- </Link>- </li>- <li>- <Link href="https://cloud.tracewayapp.com/[email protected]&password=demoaccount!" className="hover:text-zinc-900 transition-colors">- Live Demo- </Link>- </li>- </ul>- </div>- <div>- <h4 className="font-semibold text-zinc-900 mb-3">Hosting</h4>- <ul className="space-y-2 text-zinc-500">- <li>- <Link href="/cloud" className="hover:text-zinc-900 transition-colors">- Cloud- </Link>- </li>- </ul>- </div>- <div>- <h4 className="font-semibold text-zinc-900 mb-3">About</h4>- <ul className="space-y-2 text-zinc-500">- <li>- <Link href="/privacy-policy" className="hover:text-zinc-900 transition-colors">- Privacy Policy- </Link>- </li>- <li>- <Link href="/terms-of-use" className="hover:text-zinc-900 transition-colors">- Terms of Use- </Link>- </li>- <li>- <Link href="/contact" className="hover:text-zinc-900 transition-colors">- Contact Us- </Link>- </li>- </ul>- </div>- </div>- <div className="mt-8 pt-6 border-t border-zinc-100 text-xs text-zinc-400">- © {new Date().getFullYear()} Traceway. All rights reserved.- </div>+ const year = new Date().getFullYear();+ return (+ <footer+ className="mt-20"+ style={{ borderTop: "1px solid var(--hair)", padding: "50px 0 40px" }}+ >+ <div className="wrap">+ <div className="footer-grid grid gap-10 md:gap-9 grid-cols-2 md:grid-cols-[1.2fr_repeat(5,1fr)]">+ <div className="col-span-2 md:col-span-1">+ <Link href="/" className="inline-flex items-center gap-2">+ <Image+ src="/images/logo.png"+ alt="Traceway"+ width={120}+ height={28}+ className="logo-img h-6 w-auto"+ />+ </Link>+ <p+ className="mt-4 text-[13px] leading-relaxed max-w-xs"+ style={{ color: "var(--fg-2)", fontFamily: "var(--font-mono)" }}+ >+ Observability that tells you what to fix first. Open source. Self-host or cloud.+ </p>+ <div className="mt-5 flex items-center gap-2">+ <Link+ href="https://github.com/tracewayapp/traceway"+ target="_blank"+ rel="noopener noreferrer"+ className="h-8 w-8 inline-flex items-center justify-center rounded-md text-[color:var(--fg-2)] hover:text-[color:var(--fg-0)] hover:bg-[color:var(--ink-2)] transition-colors"+ aria-label="GitHub"+ >+ <Github className="h-4 w-4" />+ </Link></div>- </footer>- );+ </div>++ {COLUMNS.map((col) => (+ <div key={col.heading}>+ <h5+ className="mb-3 text-[11px] uppercase tracking-[.1em] font-medium"+ style={{ color: "var(--fg-2)", fontFamily: "var(--font-mono)" }}+ >+ {col.heading}+ </h5>+ <ul className="flex flex-col gap-1.5">+ {col.links.map((l) => (+ <li key={l.href}>+ <Link+ href={l.href}+ {...(l.external ? { target: "_blank", rel: "noopener noreferrer" } : {})}+ className="text-[13px] inline-block py-1 transition-colors hover:text-[color:var(--fg-0)]"+ style={{ color: "var(--fg-1)" }}+ >+ {l.label}+ </Link>+ </li>+ ))}+ </ul>+ </div>+ ))}+ </div>++ <div+ className="mt-10 pt-6 flex flex-col sm:flex-row sm:items-center sm:justify-between gap-3"+ style={{ borderTop: "1px solid var(--hair)" }}+ >+ <p+ className="text-[11px] uppercase tracking-[.08em]"+ style={{ color: "var(--fg-3)", fontFamily: "var(--font-mono)" }}+ >+ © {year} Traceway. All rights reserved.+ </p>+ <p+ className="text-[11px] uppercase tracking-[.08em]"+ style={{ color: "var(--fg-3)", fontFamily: "var(--font-mono)" }}+ >+ Built with OpenTelemetry · ClickHouse · Go+ </p>+ </div>+ </div>+ </footer>+ );}diff --git a/website/components/site-header.tsx b/website/components/site-header.tsxindex e98fed32..c34c989a 100644--- a/website/components/site-header.tsx+++ b/website/components/site-header.tsx@@ -1,167 +1,311 @@"use client";-import { useState, useRef, useEffect } from "react";+import { useState, useRef, useEffect, useCallback } from "react";import Link from "next/link";import Image from "next/image";--import { Github, AlertCircle, Activity, Video, ChevronDown, Network, Workflow, ScrollText } from "lucide-react";+import {+ Github,+ ChevronDown,+ ScrollText,+ Network,+ BarChart3,+ Video,+ Bug,+ Workflow,+ Activity,+ ArrowUpRight,+} from "lucide-react";import { MobileNav } from "@/components/mobile-nav";+import { cn } from "@/lib/utils";++type NavItem = {+ title: string;+ description: string;+ href: string;+ icon: typeof ScrollText;+};++const PILLARS: NavItem[] = [+ {+ title: "Logs",+ description: "Search every log, linked to its trace.",+ href: "/product/logs",+ icon: ScrollText,+ },+ {+ title: "Traces",+ description: "Follow a request across every service.",+ href: "/product/traces",+ icon: Network,+ },+ {+ title: "Metrics",+ description: "Application and server metrics with dashboards.",+ href: "/product/metrics",+ icon: BarChart3,+ },+ {+ title: "Session Replay",+ description: "Watch what the user did before every error.",+ href: "/product/session-replay",+ icon: Video,+ },+ {+ title: "Stack Traces",+ description: "Grouped and ranked by automatic Impact Score.",+ href: "/product/stack-traces",+ icon: Bug,+ },+];++const SPECIALIZED: NavItem[] = [+ {+ title: "AI Tracing",+ description: "LLM cost, tokens, latency, conversations.",+ href: "/product/ai-tracing",+ icon: Workflow,+ },+ {+ title: "Performance",+ description: "P50/P95/P99 percentiles, waterfall traces.",+ href: "/product/performance",+ icon: Activity,+ },+];export function SiteHeader() {- const [open, setOpen] = useState(false);- const timeoutRef = useRef<NodeJS.Timeout | null>(null);- const dropdownRef = useRef<HTMLDivElement>(null);-- function handleEnter() {- if (timeoutRef.current) clearTimeout(timeoutRef.current);- setOpen(true);- }-- function handleLeave() {- timeoutRef.current = setTimeout(() => setOpen(false), 150);- }-- useEffect(() => {- return () => {- if (timeoutRef.current) clearTimeout(timeoutRef.current);- };- }, []);-- return (- <nav className="border-b border-zinc-100 bg-white/80 backdrop-blur-md sticky top-0 z-50">- <div className="container mx-auto px-4 h-14 flex items-center justify-between">- <div className="flex items-center gap-6">- <Link href="/" className="flex items-center gap-2">- <Image- src="/images/logo.png"- alt="Traceway Logo"- width={100}- height={100}- className="w-auto h-8"- />- </Link>- <div className="hidden md:flex items-center gap-1">- <div- ref={dropdownRef}- className="relative"- onMouseEnter={handleEnter}- onMouseLeave={handleLeave}- >- <button className="inline-flex items-center gap-1 text-sm font-medium text-zinc-600 hover:text-zinc-900 transition-colors h-9 px-3 rounded-md hover:bg-zinc-100">- Product- <ChevronDown className={`size-3 transition-transform duration-100 ${open ? "rotate-180" : ""}`} />- </button>- {open && (- <div className="absolute top-full left-0 mt-1 w-[340px] rounded-md border border-zinc-200 bg-white shadow-lg p-2 animate-in fade-in zoom-in-95 duration-75">- <Link- href="/product/issue-tracking"- className="flex items-start gap-3 rounded-md p-3 hover:bg-zinc-50 transition-colors"- onClick={() => setOpen(false)}- >- <div className="w-8 h-8 bg-red-50 rounded-lg flex items-center justify-center shrink-0 mt-0.5">- <AlertCircle className="w-4 h-4 text-red-600" />- </div>- <div>- <div className="text-sm font-medium text-zinc-900">Issue Tracking</div>- <p className="text-xs text-zinc-500 mt-0.5">Automatic ranking, error grouping, and regression detection</p>- </div>- </Link>- <Link- href="/product/performance"- className="flex items-start gap-3 rounded-md p-3 hover:bg-zinc-50 transition-colors"- onClick={() => setOpen(false)}- >- <div className="w-8 h-8 bg-blue-50 rounded-lg flex items-center justify-center shrink-0 mt-0.5">- <Activity className="w-4 h-4 text-blue-600" />- </div>- <div>- <div className="text-sm font-medium text-zinc-900">Performance</div>- <p className="text-xs text-zinc-500 mt-0.5">P50/P95/P99 percentiles, waterfall traces, and server metrics</p>- </div>- </Link>- <Link- href="/product/session-replay"- className="flex items-start gap-3 rounded-md p-3 hover:bg-zinc-50 transition-colors"- onClick={() => setOpen(false)}- >- <div className="w-8 h-8 bg-purple-50 rounded-lg flex items-center justify-center shrink-0 mt-0.5">- <Video className="w-4 h-4 text-purple-600" />- </div>- <div>- <div className="text-sm font-medium text-zinc-900">Session Replay</div>- <p className="text-xs text-zinc-500 mt-0.5">See exactly what users did before every exception</p>- </div>- </Link>- <Link- href="/product/distributed-tracing"- className="flex items-start gap-3 rounded-md p-3 hover:bg-zinc-50 transition-colors"- onClick={() => setOpen(false)}- >- <div className="w-8 h-8 bg-teal-50 rounded-lg flex items-center justify-center shrink-0 mt-0.5">- <Network className="w-4 h-4 text-teal-600" />- </div>- <div>- <div className="text-sm font-medium text-zinc-900">Distributed Tracing</div>- <p className="text-xs text-zinc-500 mt-0.5">Cross-service traces linked to frontend session replays</p>- </div>- </Link>- <Link- href="/product/ai-tracing"- className="flex items-start gap-3 rounded-md p-3 hover:bg-zinc-50 transition-colors"- onClick={() => setOpen(false)}- >- <div className="w-8 h-8 bg-violet-50 rounded-lg flex items-center justify-center shrink-0 mt-0.5">- <Workflow className="w-4 h-4 text-violet-600" />- </div>- <div>- <div className="text-sm font-medium text-zinc-900">AI Tracing</div>- <p className="text-xs text-zinc-500 mt-0.5">Monitor LLM costs, tokens, latency, and conversations</p>- </div>- </Link>- <Link- href="/product/logs"- className="flex items-start gap-3 rounded-md p-3 hover:bg-zinc-50 transition-colors"- onClick={() => setOpen(false)}- >- <div className="w-8 h-8 bg-amber-50 rounded-lg flex items-center justify-center shrink-0 mt-0.5">- <ScrollText className="w-4 h-4 text-amber-600" />- </div>- <div>- <div className="text-sm font-medium text-zinc-900">Logs</div>- <p className="text-xs text-zinc-500 mt-0.5">Search every log, linked to the trace that emitted it</p>- </div>- </Link>- </div>- )}- </div>- <Link href="/cloud" className="text-sm font-medium text-zinc-600 hover:text-zinc-900 transition-colors h-9 px-3 flex items-center rounded-md hover:bg-zinc-100">- Cloud- </Link>- <Link href="https://docs.tracewayapp.com" className="text-sm font-medium text-zinc-600 hover:text-zinc-900 transition-colors h-9 px-3 flex items-center rounded-md hover:bg-zinc-100">- Docs- </Link>- </div>- </div>+ const [open, setOpen] = useState(false);+ const timeoutRef = useRef<NodeJS.Timeout | null>(null);+ const dropdownRef = useRef<HTMLDivElement>(null);++ const handleEnter = useCallback(() => {+ if (timeoutRef.current) clearTimeout(timeoutRef.current);+ setOpen(true);+ }, []);++ const handleLeave = useCallback(() => {+ timeoutRef.current = setTimeout(() => setOpen(false), 150);+ }, []);++ useEffect(() => {+ const onKey = (e: KeyboardEvent) => {+ if (e.key === "Escape") setOpen(false);+ };+ const onClick = (e: MouseEvent) => {+ if (!dropdownRef.current) return;+ if (!dropdownRef.current.contains(e.target as Node)) setOpen(false);+ };+ document.addEventListener("keydown", onKey);+ document.addEventListener("mousedown", onClick);+ return () => {+ document.removeEventListener("keydown", onKey);+ document.removeEventListener("mousedown", onClick);+ if (timeoutRef.current) clearTimeout(timeoutRef.current);+ };+ }, []);++ return (+ <nav+ className="site-nav sticky top-0 z-50 border-b transition-colors"+ style={{+ borderColor: "var(--hair)",+ background: "color-mix(in oklab, var(--ink-0) 70%, transparent)",+ backdropFilter: "blur(14px) saturate(140%)",+ WebkitBackdropFilter: "blur(14px) saturate(140%)",+ }}+ >+ <div className="wrap flex h-16 items-center justify-between">+ <div className="flex items-center gap-6">+ <Link href="/" className="flex items-center gap-2" aria-label="Traceway home">+ <Image+ src="/images/logo.png"+ alt="Traceway"+ width={120}+ height={32}+ className="logo-img h-7 w-auto"+ priority+ />+ </Link>- {/* Desktop Actions */}- <div className="hidden md:flex items-center gap-4">- <Link href="https://github.com/tracewayapp/traceway" target="_blank" rel="noopener noreferrer" className="inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-all cursor-pointer h-8 w-8 text-zinc-600 hover:text-zinc-900 hover:bg-zinc-100">- <Github className="h-4 w-4" />- <span className="sr-only">GitHub</span>- </Link>- <div className="flex items-center gap-2">- <Link href="http://cloud.tracewayapp.com/login" className="inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-all cursor-pointer h-9 px-4 text-zinc-600 hover:text-zinc-900 hover:bg-zinc-100">- Sign in- </Link>- <Link href="http://cloud.tracewayapp.com/register" className="inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-all cursor-pointer h-9 px-4 bg-[#4ba3f7] text-white hover:bg-[#3b93e7]">- Try for free- </Link>+ <div className="hidden md:flex items-center gap-1">+ <div+ ref={dropdownRef}+ className="relative"+ onMouseEnter={handleEnter}+ onMouseLeave={handleLeave}+ >+ <button+ className={cn(+ "inline-flex items-center gap-1.5 h-9 px-3 rounded-md text-[14px] font-medium transition-colors",+ "text-[color:var(--fg-1)] hover:text-[color:var(--fg-0)] hover:bg-[color:var(--ink-2)]",+ open && "text-[color:var(--fg-0)] bg-[color:var(--ink-2)]"+ )}+ style={{ fontFamily: "var(--font-display)" }}+ aria-expanded={open}+ aria-haspopup="menu"+ >+ Product+ <ChevronDown+ className={cn("size-3 transition-transform opacity-60", open && "rotate-180")}+ />+ </button>++ <div+ className={cn(+ "absolute top-full left-0 mt-2 pt-0 min-w-[720px] rounded-[12px]",+ "transition-all duration-150",+ open ? "opacity-100 translate-y-0 pointer-events-auto" : "opacity-0 -translate-y-1 pointer-events-none"+ )}+ style={{+ background: "linear-gradient(180deg, var(--ink-3), var(--ink-2))",+ border: "1px solid var(--hair-2)",+ boxShadow: "0 30px 60px -20px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.03)",+ padding: 24,+ }}+ role="menu"+ >+ <div className="grid grid-cols-2 gap-8">+ <div>+ <div+ className="eyebrow"+ style={{ fontSize: 10.5, color: "var(--fg-3)", marginBottom: 14 }}+ >+ Observability pillars+ </div>+ <div className="flex flex-col">+ {PILLARS.map((p) => (+ <MegaLink key={p.href} item={p} onClick={() => setOpen(false)} />+ ))}+ </div>+ </div>+ <div>+ <div+ className="eyebrow"+ style={{ fontSize: 10.5, color: "var(--fg-3)", marginBottom: 14 }}+ >+ Specialized</div>+ <div className="flex flex-col">+ {SPECIALIZED.map((p) => (+ <MegaLink key={p.href} item={p} onClick={() => setOpen(false)} />+ ))}+ </div>+ </div></div>- {/* Mobile Menu */}- <MobileNav />+ <div+ className="mt-4 pt-4 flex items-center justify-between"+ style={{ borderTop: "1px solid var(--hair)" }}+ >+ <Link+ href="https://docs.tracewayapp.com"+ target="_blank"+ rel="noopener noreferrer"+ className="text-[11px] tracking-[.08em] uppercase hover:text-[color:var(--a2)] transition-colors"+ style={{ fontFamily: "var(--font-mono)", color: "var(--fg-2)" }}+ >+ Documentation →+ </Link>+ <Link+ href="https://cloud.tracewayapp.com/[email protected]&password=demoaccount!"+ className="text-[11px] tracking-[.08em] uppercase hover:text-[color:var(--a2)] transition-colors"+ style={{ fontFamily: "var(--font-mono)", color: "var(--fg-2)" }}+ >+ Live Demo →+ </Link>+ </div>+ </div></div>- </nav>- );++ <Link+ href="/cloud"+ className="h-9 px-3 rounded-md inline-flex items-center text-[14px] font-medium transition-colors text-[color:var(--fg-1)] hover:text-[color:var(--fg-0)] hover:bg-[color:var(--ink-2)]"+ style={{ fontFamily: "var(--font-display)" }}+ >+ Cloud+ </Link>+ <Link+ href="https://docs.tracewayapp.com"+ target="_blank"+ rel="noopener noreferrer"+ className="h-9 px-3 rounded-md inline-flex items-center text-[14px] font-medium transition-colors text-[color:var(--fg-1)] hover:text-[color:var(--fg-0)] hover:bg-[color:var(--ink-2)]"+ style={{ fontFamily: "var(--font-display)" }}+ >+ Docs+ </Link>+ </div>+ </div>++ <div className="hidden md:flex items-center gap-3">+ <Link+ href="https://github.com/tracewayapp/traceway"+ target="_blank"+ rel="noopener noreferrer"+ className="inline-flex items-center justify-center h-8 w-8 rounded-md text-[color:var(--fg-2)] hover:text-[color:var(--fg-0)] hover:bg-[color:var(--ink-2)] transition-colors"+ >+ <Github className="h-4 w-4" />+ <span className="sr-only">GitHub</span>+ </Link>+ <Link+ href="https://cloud.tracewayapp.com/login"+ className="h-9 px-4 inline-flex items-center text-[14px] font-medium rounded-md transition-colors text-[color:var(--fg-1)] hover:text-[color:var(--fg-0)] hover:bg-[color:var(--ink-2)]"+ style={{ fontFamily: "var(--font-display)" }}+ >+ Sign in+ </Link>+ <Link+ href="https://cloud.tracewayapp.com/register"+ className="btn btn-accent btn-sm"+ >+ Try for free+ <ArrowUpRight className="h-3.5 w-3.5" />+ </Link>+ </div>++ <MobileNav pillars={PILLARS} specialized={SPECIALIZED} />+ </div>+ </nav>+ );+}++function MegaLink({+ item,+ onClick,+}: {+ item: NavItem;+ onClick?: () => void;+}) {+ const Icon = item.icon;+ return (+ <Link+ href={item.href}+ onClick={onClick}+ className="group grid grid-cols-[32px_1fr] gap-3 items-start py-2 px-2.5 -mx-2.5 rounded-md transition-colors hover:bg-[color:rgba(255,255,255,0.04)]"+ >+ <div+ className="h-8 w-8 rounded-md grid place-items-center"+ style={{+ background: "rgba(255,255,255,0.04)",+ border: "1px solid var(--hair)",+ color: "var(--a2)",+ }}+ >+ <Icon className="h-4 w-4" />+ </div>+ <div>+ <div+ className="text-[14px] font-medium leading-tight"+ style={{ fontFamily: "var(--font-display)", color: "var(--fg-0)", letterSpacing: "-0.01em" }}+ >+ {item.title}+ </div>+ <div+ className="text-[12px] mt-0.5 leading-snug"+ style={{ color: "var(--fg-3)", fontFamily: "var(--font-mono)" }}+ >+ {item.description}+ </div>+ </div>+ </Link>+ );}diff --git a/website/components/stats-strip.tsx b/website/components/stats-strip.tsxnew file mode 100644index 00000000..d699888d--- /dev/null+++ b/website/components/stats-strip.tsx@@ -0,0 +1,19 @@+import { cn } from "@/lib/utils";++export type Stat = {+ num: string;+ label: string;+};++export function StatsStrip({ stats, className }: { stats: Stat[]; className?: string }) {+ return (+ <div className={cn("stats-strip", className)}>+ {stats.map((s) => (+ <div className="stat" key={s.label}>+ <div className="num" dangerouslySetInnerHTML={{ __html: s.num }} />+ <div className="lbl">{s.label}</div>+ </div>+ ))}+ </div>+ );+}diff --git a/website/components/terminal.tsx b/website/components/terminal.tsxnew file mode 100644index 00000000..5ab5ebf6--- /dev/null+++ b/website/components/terminal.tsx@@ -0,0 +1,43 @@+import { cn } from "@/lib/utils";++export type TerminalLine = {+ ln?: string;+ type?: "cmd" | "tx" | "mute" | "ok";+ content: React.ReactNode;+};++export function Terminal({+ title,+ lines,+ showCursor,+ className,+}: {+ title?: string;+ lines: TerminalLine[];+ showCursor?: boolean;+ className?: string;+}) {+ return (+ <div className={cn("term", className)}>+ <div className="term-head">+ <span className="tdot" style={{ background: "#ff5a5f" }} />+ <span className="tdot" style={{ background: "#ffd166" }} />+ <span className="tdot" style={{ background: "#22e0a8" }} />+ {title ? <span className="ttl">{title}</span> : null}+ </div>+ <div className="term-body">+ {lines.map((l, i) => (+ <div className="term-line" key={i}>+ <span className="ln">{l.ln ?? (i + 1).toString().padStart(2, "0")}</span>+ <span className={l.type ?? "tx"}>+ {l.content}+ {showCursor && i === lines.length - 1 ? (+ <span className="cursor" aria-hidden />+ ) : null}+ </span>+ </div>+ ))}+ </div>+ </div>+ );+}diff --git a/website/components/theme-controller.tsx b/website/components/theme-controller.tsxnew file mode 100644index 00000000..a5a8ccf0--- /dev/null+++ b/website/components/theme-controller.tsx@@ -0,0 +1,14 @@+"use client";++import { useLayoutEffect } from "react";++export function ThemeController({ theme }: { theme: "light" | "dark" }) {+ useLayoutEffect(() => {+ const prev = document.documentElement.getAttribute("data-theme");+ document.documentElement.setAttribute("data-theme", theme);+ return () => {+ document.documentElement.setAttribute("data-theme", prev ?? "dark");+ };+ }, [theme]);+ return null;+}diff --git a/website/components/two-track.tsx b/website/components/two-track.tsxnew file mode 100644index 00000000..83ea10d0--- /dev/null+++ b/website/components/two-track.tsx@@ -0,0 +1,33 @@+type Track = {+ badge: string;+ title: string;+ description: string;+ items: string[];+};++export function TwoTrack({ detect, resolve }: { detect: Track; resolve: Track }) {+ return (+ <div className="tracks">+ <div className="track" data-kind="detect">+ <span className="track-badge">{detect.badge}</span>+ <h3>{detect.title}</h3>+ <p>{detect.description}</p>+ <ul className="track-list">+ {detect.items.map((i) => (+ <li key={i}>{i}</li>+ ))}+ </ul>+ </div>+ <div className="track" data-kind="resolve">+ <span className="track-badge">{resolve.badge}</span>+ <h3>{resolve.title}</h3>+ <p>{resolve.description}</p>+ <ul className="track-list">+ {resolve.items.map((i) => (+ <li key={i}>{i}</li>+ ))}+ </ul>+ </div>+ </div>+ );+}diff --git a/website/components/ui/button.tsx b/website/components/ui/button.tsxindex 1e458da5..628447c7 100644--- a/website/components/ui/button.tsx+++ b/website/components/ui/button.tsx@@ -5,25 +5,28 @@ import { cva, type VariantProps } from "class-variance-authority"import { cn } from "@/lib/utils"const buttonVariants = cva(- "cursor-pointer inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",+ "cursor-pointer inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:ring-[3px] focus-visible:ring-[color:var(--ring)]",{variants: {variant: {default: "bg-primary text-primary-foreground hover:bg-primary/90",+ primary: "btn btn-primary",+ accent: "btn btn-accent",+ ghost: "btn btn-ghost",destructive:- "bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",+ "bg-destructive text-white hover:bg-destructive/90",outline:- "border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",+ "border border-[color:var(--hair-2)] bg-transparent text-[color:var(--fg-0)] hover:bg-[color:var(--ink-3)]",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",- ghost:- "hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",- link: "text-primary underline-offset-4 hover:underline",+ softghost:+ "hover:bg-accent hover:text-accent-foreground",+ link: "text-[color:var(--a2)] underline-offset-4 hover:underline",},size: {default: "h-9 px-4 py-2 has-[>svg]:px-3",sm: "h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",- lg: "h-10 rounded-md px-6 has-[>svg]:px-4",+ lg: "h-11 rounded-md px-6 has-[>svg]:px-4",icon: "size-9","icon-sm": "size-8","icon-lg": "size-10",diff --git a/website/design guidelines/Traceway Style Guide.html b/website/design guidelines/Traceway Style Guide.htmlnew file mode 100644index 00000000..d584a87b--- /dev/null+++ b/website/design guidelines/Traceway Style Guide.html@@ -0,0 +1,1479 @@+<!DOCTYPE html>+<html lang="en">+<head>+<meta charset="utf-8" />+<meta name="viewport" content="width=device-width, initial-scale=1" />+<title>Traceway · Style Guide</title>+<link rel="stylesheet" href="styles.css?v=5" />+<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=JetBrains+Mono:wght@300;400;500;600;700;800&family=IBM+Plex+Mono:wght@300;400;500;600;700&display=swap" rel="stylesheet">+<style>+ /* Style-guide layout */+ body { padding-bottom: 120px; }+ .sg-wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }++ /* Hero */+ .sg-hero { padding: 100px 0 40px; border-bottom: 1px solid var(--hair); }+ .sg-kicker { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--a2); font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }+ .sg-kicker::before { content: "//"; opacity: .5; }+ .sg-hero h1 { font-size: clamp(48px, 6vw, 84px); line-height: 1; margin: 16px 0 18px; }+ .sg-hero .lead { font-size: 17px; max-width: 640px; color: var(--fg-1); line-height: 1.6; }+ .sg-meta {+ display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;+ margin-top: 48px; border: 1px solid var(--hair); border-radius: 10px;+ background: var(--ink-2);+ overflow: hidden;+ }+ .sg-meta > div { padding: 18px 20px; border-right: 1px solid var(--hair); }+ .sg-meta > div:last-child { border-right: 0; }+ .sg-meta .k { font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }+ .sg-meta .v { font-family: var(--f-display); font-size: 18px; color: var(--fg-0); margin-top: 6px; font-weight: 600; letter-spacing: -0.01em; }+ .sg-meta .v em { font-style: normal; color: var(--a1); }++ /* Section */+ .sg-section { padding: 80px 0 20px; border-bottom: 1px solid var(--hair); }+ .sg-section:last-of-type { border-bottom: 0; }+ .sg-section-head { display: grid; grid-template-columns: 220px 1fr; gap: 48px; margin-bottom: 44px; }+ .sg-section-head .num { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }+ .sg-section-head .num::before { content: "§ "; color: var(--a1); opacity: .7; }+ .sg-section-head h2 { font-size: clamp(28px, 3vw, 40px); margin: 8px 0 0; line-height: 1.05; }+ .sg-section-head .desc { color: var(--fg-1); font-size: 15px; line-height: 1.65; max-width: 600px; }+ .sg-section-head .desc code { font-family: var(--f-mono); background: var(--ink-3); color: var(--a2); padding: 2px 6px; border-radius: 3px; font-size: 13px; }++ /* Swatch grid */+ .swatch-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }+ .swatch {+ border-radius: 10px; overflow: hidden;+ border: 1px solid var(--hair);+ background: var(--ink-2);+ transition: transform .15s, border-color .15s;+ cursor: pointer;+ }+ .swatch:hover { transform: translateY(-2px); border-color: var(--hair-2); }+ .swatch .chip-big { height: 90px; position: relative; }+ .swatch .chip-big::after {+ content: ""; position: absolute; inset: 0;+ background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.2));+ }+ .swatch .meta { padding: 12px 14px; }+ .swatch .meta .name { font-family: var(--f-display); font-size: 13px; color: var(--fg-0); font-weight: 600; letter-spacing: -0.01em; }+ .swatch .meta .hex { font-family: var(--f-mono); font-size: 11px; color: var(--fg-2); margin-top: 4px; }+ .swatch .meta .tok { font-family: var(--f-mono); font-size: 10.5px; color: var(--a2); margin-top: 6px; letter-spacing: .06em; }++ .swatch-row { display: grid; gap: 28px; }+ .swatch-row h4 { font-family: var(--f-display); font-size: 14px; color: var(--fg-0); font-weight: 600; margin: 0 0 14px; letter-spacing: -0.01em; display: flex; align-items: center; gap: 10px; }+ .swatch-row h4 span.lbl { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); font-weight: 500; }++ /* Typography specimens */+ .type-row {+ display: grid; grid-template-columns: 220px 1fr 240px;+ padding: 24px 0; border-top: 1px solid var(--hair);+ align-items: baseline; gap: 30px;+ }+ .type-row:last-child { border-bottom: 1px solid var(--hair); }+ .type-row .spec { font-family: var(--f-mono); font-size: 11px; color: var(--fg-2); letter-spacing: .04em; }+ .type-row .spec strong { display: block; color: var(--fg-0); font-family: var(--f-display); font-size: 13px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.01em; }+ .type-row .sample { color: var(--fg-0); }+ .type-row .tokens { font-family: var(--f-mono); font-size: 11px; color: var(--fg-3); line-height: 1.7; white-space: pre; }+ .type-row .tokens .k { color: var(--a2); }++ /* Component blocks */+ .comp {+ display: grid; grid-template-columns: 1fr 320px;+ border: 1px solid var(--hair); border-radius: 12px;+ overflow: hidden; margin-bottom: 16px;+ background: var(--ink-2);+ }+ .comp .preview {+ padding: 40px; display: flex; align-items: center; justify-content: center;+ gap: 16px; flex-wrap: wrap;+ background:+ linear-gradient(rgba(255,255,255,0.015), rgba(255,255,255,0.015)),+ repeating-linear-gradient(45deg, transparent 0 11px, rgba(255,255,255,0.015) 11px 12px),+ var(--ink-1);+ min-height: 180px;+ }+ .comp .preview.dense { padding: 24px; }+ .comp .spec-side {+ border-left: 1px solid var(--hair);+ padding: 20px 22px;+ background: var(--ink-2);+ font-family: var(--f-mono); font-size: 11.5px; line-height: 1.75;+ color: var(--fg-2);+ }+ .comp .spec-side .title {+ font-family: var(--f-display); font-size: 14px; color: var(--fg-0);+ font-weight: 600; letter-spacing: -0.01em; margin-bottom: 4px;+ }+ .comp .spec-side .sub {+ font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em;+ text-transform: uppercase; color: var(--fg-3); margin-bottom: 16px;+ }+ .comp .spec-side .row { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px dashed var(--hair); }+ .comp .spec-side .row:last-child { border-bottom: 0; }+ .comp .spec-side .row .p { color: var(--fg-3); }+ .comp .spec-side .row .v { color: var(--a2); text-align: right; word-break: break-word; max-width: 60%; }+ .comp .spec-side .row .p { flex-shrink: 0; }+ .comp .spec-side code { color: var(--a2); }++ /* Token table (for spacing, radii, shadows) */+ .token-table {+ width: 100%; border-collapse: separate; border-spacing: 0;+ border: 1px solid var(--hair); border-radius: 10px; overflow: hidden;+ background: var(--ink-2);+ font-family: var(--f-mono); font-size: 13px;+ }+ .token-table th, .token-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--hair); }+ .token-table tr:last-child td { border-bottom: 0; }+ .token-table th {+ font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em;+ text-transform: uppercase; color: var(--fg-3); font-weight: 500;+ background: rgba(255,255,255,0.015);+ }+ .token-table td.name { color: var(--a2); }+ .token-table td.val { color: var(--fg-0); }+ .token-table td.desc { color: var(--fg-2); }+ .token-table td.demo { width: 120px; }++ /* Download CTA */+ .sg-download {+ margin-top: 60px;+ border-radius: 14px; padding: 32px 36px;+ background:+ radial-gradient(500px 250px at 100% 0%, color-mix(in oklab, var(--a1) 28%, transparent), transparent 60%),+ linear-gradient(180deg, var(--ink-3), var(--ink-2));+ border: 1px solid var(--hair-2);+ display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px;+ }+ .sg-download h3 { margin: 0; font-size: 20px; letter-spacing: -0.02em; }+ .sg-download p { margin: 6px 0 0; color: var(--fg-2); font-size: 14px; }+ .sg-download .cta-row { display: flex; gap: 10px; }++ /* Nav */+ .sg-nav {+ position: sticky; top: 0; z-index: 50;+ background: color-mix(in oklab, var(--ink-0) 88%, transparent);+ backdrop-filter: blur(14px) saturate(140%);+ -webkit-backdrop-filter: blur(14px) saturate(140%);+ border-bottom: 1px solid var(--hair);+ }+ .sg-nav-inner {+ display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;+ height: 56px; max-width: 1240px; margin: 0 auto; padding: 0 28px;+ }+ .sg-nav .brand { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 600; font-size: 14px; color: var(--fg-0); letter-spacing: -0.01em; justify-self: start; white-space: nowrap; }+ .sg-nav .brand img { height: 20px; filter: invert(1) brightness(1.1); }+ .sg-nav .brand em { font-style: normal; color: var(--fg-3); font-weight: 400; }+ .sg-nav .brand em::before { content: "/ "; }+ .sg-nav-links { display: flex; gap: 4px; justify-self: center; }+ .sg-nav-links a {+ font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em;+ text-transform: uppercase; color: var(--fg-2); padding: 6px 10px;+ border-radius: 5px; text-decoration: none; transition: all .15s;+ }+ .sg-nav-links a:hover { color: var(--fg-0); background: var(--ink-2); }+ .sg-nav-cta { justify-self: end; display: flex; gap: 8px; align-items: center; }+ .sg-nav-cta a { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-2); padding: 6px 10px; border-radius: 5px; text-decoration: none; transition: all .15s; white-space: nowrap; }+ .sg-nav-cta a:hover { color: var(--fg-0); }+ .sg-nav-cta .ghost { border: 1px solid var(--hair-2); color: var(--fg-1); }+ .sg-nav-cta .ghost:hover { background: var(--ink-2); color: var(--fg-0); }++ /* inline tag */+ .inline-tag {+ display: inline-block; font-family: var(--f-mono); font-size: 10.5px;+ color: var(--a2); background: color-mix(in oklab, var(--a2) 10%, transparent);+ border: 1px solid color-mix(in oklab, var(--a2) 30%, transparent);+ padding: 2px 7px; border-radius: 4px; letter-spacing: .04em;+ }++ /* Demo swatch for spacing */+ .space-demo { background: color-mix(in oklab, var(--a1) 30%, transparent); border-radius: 3px; display: inline-block; height: 14px; }+ .radius-demo { width: 60px; height: 38px; background: linear-gradient(180deg, var(--ink-4), var(--ink-3)); border: 1px solid var(--hair-2); }++ /* Iconography grid */+ .icons-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }+ .ico-cell {+ aspect-ratio: 1; display: grid; place-items: center;+ border: 1px solid var(--hair); border-radius: 8px;+ background: var(--ink-2); color: var(--fg-1);+ transition: all .15s;+ }+ .ico-cell:hover { color: var(--a2); border-color: color-mix(in oklab, var(--a2) 40%, transparent); }++ /* Motion demo */+ .motion-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }+ .motion-cell {+ padding: 20px; border: 1px solid var(--hair); border-radius: 10px;+ background: var(--ink-2);+ }+ .motion-cell h5 { margin: 0 0 4px; font-family: var(--f-display); font-size: 13px; font-weight: 600; letter-spacing: -0.01em; color: var(--fg-0); }+ .motion-cell .ease { font-family: var(--f-mono); font-size: 11px; color: var(--a2); margin-bottom: 14px; }+ .motion-bar { height: 6px; background: var(--ink-3); border-radius: 3px; overflow: hidden; position: relative; }+ .motion-bar i {+ display: block; width: 30%; height: 100%;+ background: linear-gradient(90deg, var(--a1), var(--a2));+ border-radius: 3px;+ animation: slide 2.4s infinite;+ }+ .motion-cell.standard .motion-bar i { animation-timing-function: cubic-bezier(.2,.8,.2,1); }+ .motion-cell.entrance .motion-bar i { animation-timing-function: cubic-bezier(0,0,.2,1); }+ .motion-cell.exit .motion-bar i { animation-timing-function: cubic-bezier(.4,0,1,1); }+ @keyframes slide {+ 0% { transform: translateX(-30%); }+ 50% { transform: translateX(230%); }+ 100% { transform: translateX(-30%); }+ }++ /* Animation (GSAP) section */+ .anim-hero {+ position: relative; border: 1px solid var(--hair); border-radius: 14px;+ background: linear-gradient(180deg, var(--ink-3), var(--ink-2));+ padding: 36px; overflow: hidden; margin-bottom: 28px;+ }+ .anim-hero::before {+ content: ""; position: absolute; inset: 0; pointer-events: none;+ background:+ radial-gradient(500px 300px at 85% -5%, color-mix(in oklab, var(--a1) 24%, transparent), transparent 60%),+ radial-gradient(420px 260px at -5% 30%, color-mix(in oklab, var(--a2) 16%, transparent), transparent 60%);+ }+ .anim-hero > * { position: relative; }+ .anim-lede { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: start; }+ .anim-lede h3 { margin: 0 0 12px; font-size: 26px; letter-spacing: -0.02em; }+ .anim-lede .principles { display: grid; gap: 10px; margin-top: 18px; }+ .anim-lede .principles div {+ display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start;+ font-family: var(--f-mono); font-size: 12.5px; color: var(--fg-1); line-height: 1.6;+ }+ .anim-lede .principles div::before {+ content: "\2192"; color: var(--a2); font-family: var(--f-display);+ }+ .anim-lede .principles strong { color: var(--fg-0); font-weight: 600; }++ .anim-meta {+ border: 1px solid var(--hair); border-radius: 10px; padding: 18px 20px;+ background: rgba(0,0,0,0.2);+ font-family: var(--f-mono); font-size: 11.5px;+ }+ .anim-meta h6 { margin: 0 0 12px; font-family: var(--f-mono); font-size: 10.5px; color: var(--fg-3); letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }+ .anim-meta .r { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed var(--hair); color: var(--fg-2); }+ .anim-meta .r:last-child { border-bottom: 0; }+ .anim-meta .r .k { color: var(--fg-3); }+ .anim-meta .r .v { color: var(--a2); }++ /* Recipe cards */+ .recipes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }+ .recipe {+ border: 1px solid var(--hair); border-radius: 12px;+ background: var(--ink-2); overflow: hidden;+ display: grid; grid-template-rows: 160px auto;+ }+ .recipe .demo {+ position: relative; overflow: hidden;+ background:+ linear-gradient(rgba(255,255,255,0.015), rgba(255,255,255,0.015)),+ repeating-linear-gradient(45deg, transparent 0 11px, rgba(255,255,255,0.015) 11px 12px),+ var(--ink-1);+ border-bottom: 1px solid var(--hair);+ display: grid; place-items: center; padding: 20px;+ }+ .recipe .body { padding: 18px 20px 20px; }+ .recipe .name {+ font-family: var(--f-display); font-size: 15px; color: var(--fg-0); font-weight: 600;+ letter-spacing: -0.01em; display: flex; align-items: center; gap: 10px; flex-wrap: wrap;+ }+ .recipe .name .tag {+ font-family: var(--f-mono); font-size: 10px; color: var(--a2);+ background: color-mix(in oklab, var(--a2) 10%, transparent);+ border: 1px solid color-mix(in oklab, var(--a2) 30%, transparent);+ padding: 2px 6px; border-radius: 4px; letter-spacing: .04em; text-transform: uppercase; font-weight: 500;+ }+ .recipe .desc { margin: 8px 0 14px; font-size: 13px; color: var(--fg-2); line-height: 1.55; }+ .recipe pre {+ margin: 0; padding: 12px 14px; background: rgba(0,0,0,0.35);+ border: 1px solid var(--hair); border-radius: 6px;+ font-family: var(--f-mono); font-size: 11.5px; color: var(--fg-1);+ overflow-x: auto; line-height: 1.7; white-space: pre-wrap;+ }+ .recipe pre .k { color: #ffa94d; }+ .recipe pre .s { color: #8ce99a; }+ .recipe pre .n { color: var(--a2); }+ .recipe pre .c { color: var(--fg-3); }+ .recipe pre .p { color: var(--a1); }++ /* Live demos inside recipes */+ .demo-reveal { width: 72%; height: 56px; background: linear-gradient(90deg, var(--a1), var(--a2)); border-radius: 8px; animation: demoReveal 3.4s infinite; }+ @keyframes demoReveal {+ 0%, 10% { opacity: 0; transform: translateY(18px); }+ 25%, 65% { opacity: 1; transform: translateY(0); }+ 85%, 100% { opacity: 0; transform: translateY(-8px); }+ }++ .demo-stagger { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; width: 82%; }+ .demo-stagger i { display: block; height: 46px; border-radius: 6px; background: var(--ink-3); border: 1px solid var(--hair-2); animation: demoStagger 3.4s infinite; }+ .demo-stagger i:nth-child(1) { animation-delay: 0ms; }+ .demo-stagger i:nth-child(2) { animation-delay: 80ms; }+ .demo-stagger i:nth-child(3) { animation-delay: 160ms; }+ .demo-stagger i:nth-child(4) { animation-delay: 240ms; }+ @keyframes demoStagger {+ 0%, 8% { opacity: 0; transform: translateY(14px); }+ 28%, 70% { opacity: 1; transform: translateY(0); background: var(--ink-4); border-color: color-mix(in oklab, var(--a2) 35%, transparent); }+ 90%, 100% { opacity: 0; transform: translateY(-6px); }+ }++ .demo-parallax { position: relative; width: 82%; height: 90px; }+ .demo-parallax i {+ position: absolute; left: 0; right: 0; height: 26px; border-radius: 6px;+ background: linear-gradient(180deg, var(--ink-4), var(--ink-3));+ border: 1px solid var(--hair-2);+ animation: demoPar 3.2s ease-in-out infinite alternate;+ }+ .demo-parallax i:nth-child(1) { top: 0; animation-duration: 3.4s; }+ .demo-parallax i:nth-child(2) { top: 32px; animation-duration: 2.8s; background: linear-gradient(180deg, color-mix(in oklab, var(--a1) 30%, var(--ink-3)), var(--ink-3)); }+ .demo-parallax i:nth-child(3) { top: 64px; animation-duration: 2.2s; background: linear-gradient(180deg, color-mix(in oklab, var(--a2) 25%, var(--ink-3)), var(--ink-3)); }+ @keyframes demoPar {+ 0% { transform: translateY(0); }+ 100% { transform: translateY(-10px); }+ }++ .demo-count {+ font-family: var(--f-display); font-size: 44px; font-weight: 700;+ letter-spacing: -0.03em;+ background: linear-gradient(90deg, var(--a2), var(--a1) 60%, var(--a3));+ -webkit-background-clip: text; background-clip: text; color: transparent;+ animation: demoCount 3.4s infinite;+ }++ @keyframes demoCount {+ 0%, 100% { opacity: 0; }+ 15%, 85% { opacity: 1; }+ }++ .demo-magnet .mbtn {+ padding: 12px 22px; border-radius: 6px;+ background: linear-gradient(180deg, color-mix(in oklab, var(--a1) 100%, white 12%), var(--a1));+ color: #0a0612; font-family: var(--f-display); font-size: 14px; font-weight: 500;+ box-shadow: 0 10px 30px -12px color-mix(in oklab, var(--a1) 80%, transparent);+ animation: demoMagnet 3s ease-in-out infinite;+ display: inline-block;+ }+ @keyframes demoMagnet {+ 0%, 100% { transform: translate(0,0); }+ 20% { transform: translate(-10px, -6px); }+ 50% { transform: translate(12px, 4px); }+ 80% { transform: translate(-4px, 8px); }+ }++ .demo-marquee { width: 100%; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }+ .demo-marquee .track { display: flex; gap: 32px; width: max-content; animation: demoMarquee 12s linear infinite; }+ .demo-marquee .track span {+ font-family: var(--f-display); font-weight: 600; font-size: 14px; color: var(--fg-2);+ letter-spacing: 0.02em; white-space: nowrap;+ }+ @keyframes demoMarquee {+ 0% { transform: translateX(0); }+ 100% { transform: translateX(-50%); }+ }++ .demo-tilt {+ width: 140px; height: 90px; border-radius: 10px;+ background: linear-gradient(180deg, var(--ink-4), var(--ink-3));+ border: 1px solid var(--hair-2);+ animation: demoTilt 3.5s ease-in-out infinite;+ transform-style: preserve-3d; transform: perspective(800px);+ }+ @keyframes demoTilt {+ 0%, 100% { transform: perspective(800px) rotateX(0) rotateY(0); }+ 25% { transform: perspective(800px) rotateX(-4deg) rotateY(6deg) translateY(-2px); }+ 75% { transform: perspective(800px) rotateX(3deg) rotateY(-5deg) translateY(-2px); }+ }++ .demo-type {+ font-family: var(--f-mono); font-size: 12.5px; color: var(--fg-1);+ width: 80%; display: grid; gap: 4px;+ }+ .demo-type span {+ opacity: 0;+ animation: demoType 3.6s infinite;+ }+ .demo-type span:nth-child(1) { animation-delay: 0ms; }+ .demo-type span:nth-child(2) { animation-delay: 180ms; }+ .demo-type span:nth-child(3) { animation-delay: 360ms; }+ .demo-type span:nth-child(4) { animation-delay: 540ms; color: var(--ok); }+ @keyframes demoType {+ 0%, 10% { opacity: 0; transform: translateX(-6px); }+ 25%, 85% { opacity: 1; transform: translateX(0); }+ 95%, 100% { opacity: 0; }+ }++ /* Timeline ruler */+ .anim-timeline {+ margin-top: 28px; padding: 22px 24px; border: 1px solid var(--hair);+ border-radius: 12px; background: var(--ink-2);+ }+ .anim-timeline h4 { margin: 0 0 4px; font-size: 15px; letter-spacing: -0.01em; font-family: var(--f-display); color: var(--fg-0); }+ .anim-timeline .sub { font-family: var(--f-mono); font-size: 11px; color: var(--fg-3); margin-bottom: 18px; }+ .tl-rows { display: grid; gap: 8px; }+ .tl-row { display: grid; grid-template-columns: 170px 1fr 70px; align-items: center; gap: 14px; font-family: var(--f-mono); font-size: 11.5px; }+ .tl-row .lbl { color: var(--fg-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }+ .tl-row .bar { position: relative; height: 8px; background: rgba(255,255,255,0.03); border-radius: 4px; overflow: hidden; border: 1px solid var(--hair); }+ .tl-row .bar i {+ position: absolute; top: 0; left: var(--s); width: var(--w); height: 100%;+ background: linear-gradient(90deg, var(--a1), var(--a2));+ border-radius: 4px;+ }+ .tl-row .dur { text-align: right; color: var(--a2); }+ .tl-ruler { display: grid; grid-template-columns: 170px 1fr 70px; gap: 14px; margin-top: 12px; font-family: var(--f-mono); font-size: 10px; color: var(--fg-3); letter-spacing: .08em; }+ .tl-ruler .ticks { display: flex; justify-content: space-between; }++ /* Nav demo */+ .nav-demo {+ width: 100%;+ background: rgba(8, 11, 18, 0.78);+ backdrop-filter: blur(14px) saturate(140%);+ -webkit-backdrop-filter: blur(14px) saturate(140%);+ border-bottom: 1px solid var(--hair);+ }+ .nd-inner {+ display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;+ height: 64px; padding: 0 24px;+ }+ .nd-brand { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 600; font-size: 15px; color: var(--fg-0); letter-spacing: -0.01em; justify-self: start; }+ .nd-links { display: flex; gap: 4px; justify-self: center; }+ .nd-cta { display: flex; gap: 8px; align-items: center; justify-self: end; }+ .nd-item {+ font-family: var(--f-display); font-size: 14px; font-weight: 500;+ color: var(--fg-1); padding: 8px 12px; border-radius: 6px;+ text-decoration: none; display: inline-flex; align-items: center; gap: 6px;+ transition: all .15s; cursor: pointer; white-space: nowrap;+ }+ .nd-btn { white-space: nowrap; }+ .nd-item:hover, .nd-item.nd-active { color: var(--fg-0); background: var(--ink-2); }+ .nd-btn {+ font-family: var(--f-display); font-size: 13px; font-weight: 600;+ color: #07090f; padding: 8px 14px; border-radius: 6px;+ background: linear-gradient(180deg, var(--a1), color-mix(in oklab, var(--a1) 80%, #d44));+ text-decoration: none;+ box-shadow: 0 8px 20px -8px color-mix(in oklab, var(--a1) 70%, transparent);+ }++ /* Mega dropdown demo */+ .mega-demo { position: relative; padding-top: 6px; }+ .mega-pointer { padding: 0 0 14px; display: flex; }+ .mp-label {+ font-family: var(--f-display); font-size: 14px; font-weight: 500;+ color: var(--fg-0); padding: 8px 12px; border-radius: 6px;+ background: var(--ink-2); display: inline-flex; align-items: center; gap: 6px;+ }+ .mega-panel {+ min-width: 620px; max-width: 680px;+ background: linear-gradient(180deg, var(--ink-3), var(--ink-2));+ border: 1px solid var(--hair-2);+ border-radius: 12px;+ padding: 24px;+ box-shadow: 0 30px 60px -20px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.03);+ position: relative;+ }+ .mega-panel::before {+ content: ""; position: absolute; top: -6px; left: 28px;+ width: 12px; height: 12px; background: var(--ink-3);+ border-left: 1px solid var(--hair-2); border-top: 1px solid var(--hair-2);+ transform: rotate(45deg);+ }+ .mega-grid-demo { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }+ .mega-col-demo h6 {+ font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em;+ text-transform: uppercase; color: var(--fg-3); margin: 0 0 14px; font-weight: 500;+ }+ .mega-link-demo {+ display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start;+ padding: 8px 10px; border-radius: 6px; margin: 0 -10px 2px;+ text-decoration: none; color: var(--fg-1); transition: background .15s; cursor: pointer;+ }+ .mega-link-demo:hover { background: rgba(255,255,255,0.03); color: var(--fg-0); }+ .mega-link-demo .mi {+ width: 28px; height: 28px; border-radius: 6px;+ background: rgba(255,255,255,0.04); border: 1px solid var(--hair);+ display: grid; place-items: center; color: var(--a2);+ }+ .mega-link-demo .mt { font-family: var(--f-display); font-size: 14px; font-weight: 500; letter-spacing: -0.01em; display: block; color: var(--fg-0); }+ .mega-link-demo .md { font-size: 12px; color: var(--fg-3); margin-top: 2px; line-height: 1.4; }+ .mega-link-demo .md strong { color: var(--a1); font-weight: 500; }+ .mega-divider-demo { height: 1px; background: var(--hair); margin: 18px -24px 0; }+ .mega-foot-demo { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; margin: 0 -4px; }+ .mega-foot-demo a { font-family: var(--f-mono); font-size: 11px; color: var(--fg-2); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; cursor: pointer; }+ .mega-foot-demo a:hover { color: var(--a2); }++ /* Pillars demo (inline, light) */+ .pillars-demo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; max-width: 560px; }+ .pillars-demo .pillar { padding: 16px; }++ /* Terminal demo */+ .term-demo {+ width: 100%; max-width: 520px;+ border-radius: 10px; overflow: hidden;+ background: linear-gradient(180deg, #0d1220, #080b12);+ border: 1px solid var(--hair-2);+ font-family: var(--f-mono); font-size: 12.5px;+ }+ .term-demo .h { padding: 10px 14px; border-bottom: 1px solid var(--hair); display: flex; gap: 6px; align-items: center; font-size: 10.5px; color: var(--fg-3); letter-spacing: .1em; text-transform: uppercase;}+ .term-demo .h .d { width: 10px; height: 10px; border-radius: 50%; background: var(--fg-3); }+ .term-demo .h .d:nth-child(1) { background: #ff5f57; }+ .term-demo .h .d:nth-child(2) { background: #febc2e; }+ .term-demo .h .d:nth-child(3) { background: #28c840; }+ .term-demo .h .t { margin-left: 12px; }+ .term-demo .b { padding: 14px 16px; line-height: 1.75; }+ .term-demo .b .ln { color: var(--fg-3); display: inline-block; width: 22px; }+ .term-demo .b .c { color: var(--a2); }+ .term-demo .b .s { color: #8ce99a; }+ .term-demo .b .k { color: #ffa94d; }++ /* Spec chip inline */+ .kval { color: var(--a2); }++ /* Cost bar demo */+ .cost-demo { width: 100%; display: grid; gap: 10px; font-family: var(--f-mono); font-size: 12px; }+ .cb { display: grid; grid-template-columns: 110px 1fr 110px; align-items: center; gap: 14px; }+ .cb .lbl { color: var(--fg-1); }+ .cb .track { height: 30px; border-radius: 5px; background: rgba(255,255,255,0.02); border: 1px solid var(--hair); overflow: hidden; }+ .cb .fill { height: 100%; display: flex; align-items: center; padding: 0 10px; color: #fff; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; }+ .cb .tot { text-align: right; color: var(--fg-0); }++ @media (max-width: 960px) {+ .swatch-grid { grid-template-columns: repeat(3, 1fr); }+ .sg-section-head { grid-template-columns: 1fr; }+ .type-row { grid-template-columns: 1fr; gap: 12px; }+ .comp { grid-template-columns: 1fr; }+ .comp .spec-side { border-left: 0; border-top: 1px solid var(--hair); }+ .sg-meta { grid-template-columns: repeat(2, 1fr); }+ .sg-meta > div:nth-child(2) { border-right: 0; }+ .sg-meta > div:nth-child(-n+2) { border-bottom: 1px solid var(--hair); }+ .icons-grid { grid-template-columns: repeat(5, 1fr); }+ .motion-grid { grid-template-columns: 1fr; }+ .sg-nav-links { display: none; }+ }+</style>+</head>+<body>++<!-- Nav -->+<div class="sg-nav">+ <div class="sg-nav-inner">+ <a class="brand" href="index.html">+ <img src="images/logo.png" alt="Traceway" />+ <span>Traceway <em>Style Guide</em></span>+ </a>+ <div class="sg-nav-links">+ <a href="#foundations">Foundations</a>+ <a href="#color">Color</a>+ <a href="#type">Type</a>+ <a href="#space">Space</a>+ <a href="#components">Components</a>+ <a href="#motion">Motion</a>+ <a href="#animation">Animation</a>+ </div>+ <div class="sg-nav-cta">+ <a href="index.html">Landing →</a>+ <a href="#download" class="ghost">Download</a>+ </div>+ </div>+</div>++<!-- HERO -->+<section class="sg-hero">+ <div class="sg-wrap">+ <span class="sg-kicker">Traceway · Design system · v1.0</span>+ <h1>A <em style="font-style: normal; color: var(--a1);">terminal-native</em><br/>design system.</h1>+ <p class="lead">+ Traceway's visual language borrows from the tools its users already live in — monospace type, ink-black surfaces, precise grid structure, and accent colors with the saturation of an editor theme. Every token below is production-ready in <code style="font-family: var(--f-mono); color: var(--a2); background: var(--ink-3); padding: 2px 6px; border-radius: 3px;">styles.css</code>.+ </p>+ <div class="sg-meta">+ <div><div class="k">Version</div><div class="v"><em>v1.0</em></div></div>+ <div><div class="k">Tokens</div><div class="v">48</div></div>+ <div><div class="k">Components</div><div class="v">14</div></div>+ <div><div class="k">License</div><div class="v">MIT</div></div>+ </div>+ </div>+</section>++<!-- FOUNDATIONS: PRINCIPLES -->+<section class="sg-section" id="foundations">+ <div class="sg-wrap">+ <div class="sg-section-head">+ <div><span class="num">01</span><h2>Principles</h2></div>+ <div>+ <p class="desc">The four rules that keep Traceway's UI from drifting into generic-SaaS territory. When in doubt, pull the interface toward these.</p>+ </div>+ </div>+ <div style="display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;">+ <div style="padding: 24px; border: 1px solid var(--hair); border-radius: 10px; background: var(--ink-2);">+ <div style="font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--a2); margin-bottom: 10px;">// 01</div>+ <h3 style="margin: 0 0 8px; font-size: 18px; letter-spacing: -0.015em;">Mono over prose.</h3>+ <p style="font-size: 13px; color: var(--fg-2); margin: 0; line-height: 1.55;">Monospace everywhere. Labels read like code comments. Eyebrows use <code style="color: var(--a2); font-family: var(--f-mono);">// </code> prefix.</p>+ </div>+ <div style="padding: 24px; border: 1px solid var(--hair); border-radius: 10px; background: var(--ink-2);">+ <div style="font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--a1); margin-bottom: 10px;">// 02</div>+ <h3 style="margin: 0 0 8px; font-size: 18px; letter-spacing: -0.015em;">Deep ink, loud signal.</h3>+ <p style="font-size: 13px; color: var(--fg-2); margin: 0; line-height: 1.55;">Surfaces are near-black. Color is reserved — when you see it, it means something is live, ok, warning, or critical.</p>+ </div>+ <div style="padding: 24px; border: 1px solid var(--hair); border-radius: 10px; background: var(--ink-2);">+ <div style="font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ok); margin-bottom: 10px;">// 03</div>+ <h3 style="margin: 0 0 8px; font-size: 18px; letter-spacing: -0.015em;">Ship the data, not the chrome.</h3>+ <p style="font-size: 13px; color: var(--fg-2); margin: 0; line-height: 1.55;">Thin hairlines, minimal shadows, no gradient bloat. The telemetry should out-brighten the frame around it.</p>+ </div>+ <div style="padding: 24px; border: 1px solid var(--hair); border-radius: 10px; background: var(--ink-2);">+ <div style="font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--a3); margin-bottom: 10px;">// 04</div>+ <h3 style="margin: 0 0 8px; font-size: 18px; letter-spacing: -0.015em;">Every pixel tokenized.</h3>+ <p style="font-size: 13px; color: var(--fg-2); margin: 0; line-height: 1.55;">Colors, spacing, type, radii — all CSS variables. Swap the palette via <code style="color: var(--a2); font-family: var(--f-mono);">--a1..--a4</code> and nothing else moves.</p>+ </div>+ </div>+ </div>+</section>++<!-- COLOR -->+<section class="sg-section" id="color">+ <div class="sg-wrap">+ <div class="sg-section-head">+ <div><span class="num">02</span><h2>Color</h2></div>+ <div>+ <p class="desc">Five ink surfaces grade from page to card-hi; four foreground tiers from body to dim. Five accents cover signal, alarm, and warmth. Every value lives as a <code>--var</code> on <code>:root</code>.</p>+ </div>+ </div>++ <div class="swatch-row">+ <!-- Inks -->+ <div>+ <h4>Ink & surfaces <span class="lbl">6 tokens</span></h4>+ <div class="swatch-grid">+ <div class="swatch"><div class="chip-big" style="background: #05070c;"></div><div class="meta"><div class="name">Ink 0 · Page</div><div class="hex">#05070c</div><div class="tok">--ink-0</div></div></div>+ <div class="swatch"><div class="chip-big" style="background: #0a0d14;"></div><div class="meta"><div class="name">Ink 1 · Surface</div><div class="hex">#0a0d14</div><div class="tok">--ink-1</div></div></div>+ <div class="swatch"><div class="chip-big" style="background: #0f131c;"></div><div class="meta"><div class="name">Ink 2 · Raised</div><div class="hex">#0f131c</div><div class="tok">--ink-2</div></div></div>+ <div class="swatch"><div class="chip-big" style="background: #151a24;"></div><div class="meta"><div class="name">Ink 3 · Card</div><div class="hex">#151a24</div><div class="tok">--ink-3</div></div></div>+ <div class="swatch"><div class="chip-big" style="background: #1d2430;"></div><div class="meta"><div class="name">Ink 4 · Card-hi</div><div class="hex">#1d2430</div><div class="tok">--ink-4</div></div></div>+ <div class="swatch"><div class="chip-big" style="background: #283041;"></div><div class="meta"><div class="name">Ink 5 · Stroke</div><div class="hex">#283041</div><div class="tok">--ink-5</div></div></div>+ </div>+ </div>++ <!-- Foregrounds -->+ <div>+ <h4>Foreground text <span class="lbl">4 tiers</span></h4>+ <div class="swatch-grid">+ <div class="swatch"><div class="chip-big" style="background: #f4f6fb;"></div><div class="meta"><div class="name" style="color: var(--ink-0);">FG 0 · Primary</div><div class="hex" style="color: var(--ink-1);">#f4f6fb</div><div class="tok">--fg-0</div></div></div>+ <div class="swatch"><div class="chip-big" style="background: #c9d0dd;"></div><div class="meta"><div class="name" style="color: var(--ink-0);">FG 1 · Body</div><div class="hex" style="color: var(--ink-1);">#c9d0dd</div><div class="tok">--fg-1</div></div></div>+ <div class="swatch"><div class="chip-big" style="background: #8a93a6;"></div><div class="meta"><div class="name">FG 2 · Muted</div><div class="hex">#8a93a6</div><div class="tok">--fg-2</div></div></div>+ <div class="swatch"><div class="chip-big" style="background: #5a6374;"></div><div class="meta"><div class="name">FG 3 · Dim</div><div class="hex">#5a6374</div><div class="tok">--fg-3</div></div></div>+ <div class="swatch"><div class="chip-big" style="background: rgba(255,255,255,0.06);"></div><div class="meta"><div class="name">Hair</div><div class="hex">rgba 6%</div><div class="tok">--hair</div></div></div>+ <div class="swatch"><div class="chip-big" style="background: rgba(255,255,255,0.10);"></div><div class="meta"><div class="name">Hair 2</div><div class="hex">rgba 10%</div><div class="tok">--hair-2</div></div></div>+ </div>+ </div>++ <!-- Accents -->+ <div>+ <h4>Accents · Electric Indigo <span class="lbl">default palette — swap via tweaks</span></h4>+ <div class="swatch-grid">+ <div class="swatch"><div class="chip-big" style="background: #7c5cff;"></div><div class="meta"><div class="name">A1 · Primary</div><div class="hex">#7c5cff</div><div class="tok">--a1</div></div></div>+ <div class="swatch"><div class="chip-big" style="background: #00d4ff;"></div><div class="meta"><div class="name">A2 · Cyan</div><div class="hex">#00d4ff</div><div class="tok">--a2</div></div></div>+ <div class="swatch"><div class="chip-big" style="background: #ff4d8d;"></div><div class="meta"><div class="name">A3 · Pink alarm</div><div class="hex">#ff4d8d</div><div class="tok">--a3</div></div></div>+ <div class="swatch"><div class="chip-big" style="background: #ffd166;"></div><div class="meta"><div class="name">A4 · Warn</div><div class="hex">#ffd166</div><div class="tok">--a4</div></div></div>+ <div class="swatch"><div class="chip-big" style="background: #22e0a8;"></div><div class="meta"><div class="name">OK</div><div class="hex">#22e0a8</div><div class="tok">--ok</div></div></div>+ <div class="swatch"><div class="chip-big" style="background: #ff5a5f;"></div><div class="meta"><div class="name">Critical</div><div class="hex">#ff5a5f</div><div class="tok">--crit</div></div></div>+ </div>+ </div>++ <!-- Semantic usage -->+ <div>+ <h4>Semantic usage <span class="lbl">when to reach for each</span></h4>+ <table class="token-table">+ <thead>+ <tr><th>Token</th><th>Use for</th><th>Avoid</th></tr>+ </thead>+ <tbody>+ <tr><td class="name">--a1</td><td class="desc">Primary CTAs, focus glows, gradient headlines, accent icons.</td><td class="desc">Body text, backgrounds larger than a button.</td></tr>+ <tr><td class="name">--a2</td><td class="desc">Labels & eyebrows, hyperlinks, live-state dots, code strings.</td><td class="desc">Destructive actions, static prose.</td></tr>+ <tr><td class="name">--a3</td><td class="desc">Errors, alerts, exception stacks, "pink alarm" states.</td><td class="desc">Positive confirmations, neutral info.</td></tr>+ <tr><td class="name">--a4</td><td class="desc">Warnings below-critical, billing asterisks, rate-limit chips.</td><td class="desc">Hard errors — use --a3 or --crit.</td></tr>+ <tr><td class="name">--ok</td><td class="desc">Success, healthy-status dots, "✓" check glyphs, green bars.</td><td class="desc">Primary brand surfaces — too specific.</td></tr>+ </tbody>+ </table>+ </div>+ </div>+ </div>+</section>++<!-- TYPOGRAPHY -->+<section class="sg-section" id="type">+ <div class="sg-wrap">+ <div class="sg-section-head">+ <div><span class="num">03</span><h2>Typography</h2></div>+ <div>+ <p class="desc">One typeface, two weights, five sizes. <strong style="color: var(--fg-0);">JetBrains Mono</strong> for display & body, <strong style="color: var(--fg-0);">IBM Plex Mono</strong> as fallback. Terminal-native means even paragraphs run monospaced — the texture is part of the product.</p>+ </div>+ </div>++ <div style="border: 1px solid var(--hair); border-radius: 10px; padding: 0 24px; background: var(--ink-2);">+ <div class="type-row">+ <div class="spec"><strong>H1 · Display</strong>clamp(40px, 5.6vw, 76px)<br/>line-height 1.02<br/>weight 700 · tracking -0.035em</div>+ <div class="sample"><h1 style="margin: 0; font-size: 56px;">Logs, traces, metrics.</h1></div>+ <div class="tokens"><span class="k">--f-display</span>+JetBrains Mono+<span class="k">weight</span> 700+<span class="k">tracking</span> -0.035em</div>+ </div>+ <div class="type-row">+ <div class="spec"><strong>H1 · Gradient accent</strong>applied to <code style="font-family: var(--f-mono); color: var(--a2);"><em></code> inside H1<br/>tri-stop horizontal gradient<br/>-webkit-background-clip: text</div>+ <div class="sample"><h1 style="margin: 0; font-size: 56px; line-height: 1;">In <em style="font-style: normal; background: linear-gradient(90deg, var(--a2), var(--a1) 60%, var(--a3)); -webkit-background-clip: text; background-clip: text; color: transparent;">two minutes.</em></h1></div>+ <div class="tokens"><span class="k">gradient</span>+90deg,+ --a2 0%+ --a1 60%+ --a3 100%+<span class="k">clip</span> text+<span class="k">color</span> transparent</div>+ </div>+ <div class="type-row">+ <div class="spec"><strong>H2 · Section</strong>clamp(28px, 3.2vw, 46px)<br/>line-height 1.05<br/>weight 700 · tracking -0.025em</div>+ <div class="sample"><h2 style="margin: 0; font-size: 38px;">Any language. Two minutes.</h2></div>+ <div class="tokens"><span class="k">--f-display</span>+JetBrains Mono+<span class="k">weight</span> 700+<span class="k">tracking</span> -0.025em</div>+ </div>+ <div class="type-row">+ <div class="spec"><strong>H3 · Block</strong>clamp(20px, 1.7vw, 26px)<br/>line-height 1.2<br/>weight 600 · tracking -0.015em</div>+ <div class="sample"><h3 style="margin: 0;">Exception tracking</h3></div>+ <div class="tokens"><span class="k">--f-display</span>+JetBrains Mono+<span class="k">weight</span> 600+<span class="k">tracking</span> -0.015em</div>+ </div>+ <div class="type-row">+ <div class="spec"><strong>H4 · Card title</strong>17–18px<br/>line-height 1.3<br/>weight 600 · tracking -0.01em</div>+ <div class="sample"><h4 style="margin: 0; font-family: var(--f-display); font-size: 18px; color: var(--fg-0); font-weight: 600; letter-spacing: -0.01em;">Thousands of duplicates → one ranked issue.</h4></div>+ <div class="tokens"><span class="k">--f-display</span>+JetBrains Mono+<span class="k">weight</span> 600+<span class="k">tracking</span> -0.01em</div>+ </div>+ <div class="type-row">+ <div class="spec"><strong>Body</strong>15px<br/>line-height 1.65<br/>weight 400 · tracking -0.005em</div>+ <div class="sample" style="color: var(--fg-1); font-size: 15px; line-height: 1.65;">Traceway captures ~10 seconds of DOM activity before every error. Clicks, scrolls, form interactions, page transitions — all attached automatically.</div>+ <div class="tokens"><span class="k">--f-body</span>+IBM Plex Mono+<span class="k">weight</span> 400+<span class="k">size</span> 15px</div>+ </div>+ <div class="type-row">+ <div class="spec"><strong>Eyebrow</strong>11px · uppercase<br/>tracking 0.14em<br/>weight 500 · <code style="font-family: var(--f-mono); color: var(--a2);">// </code> prefix</div>+ <div class="sample"><span class="sg-kicker">OpenTelemetry-native</span></div>+ <div class="tokens"><span class="k">--f-mono</span>+JetBrains Mono+<span class="k">weight</span> 500+<span class="k">tracking</span> 0.14em</div>+ </div>+ <div class="type-row">+ <div class="spec"><strong>Mono · Caption</strong>10.5–12px<br/>line-height 1.5<br/>weight 400 · tracking 0.04em</div>+ <div class="sample" style="font-family: var(--f-mono); color: var(--fg-2); font-size: 12px;">GET /v1/checkout/apply · 312 users affected · 1,284 events</div>+ <div class="tokens"><span class="k">--f-mono</span>+JetBrains Mono+<span class="k">weight</span> 400</div>+ </div>+ </div>+ </div>+</section>++<!-- SPACE / RADII / SHADOW -->+<section class="sg-section" id="space">+ <div class="sg-wrap">+ <div class="sg-section-head">+ <div><span class="num">04</span><h2>Space, radii, shadow</h2></div>+ <div>+ <p class="desc">Spacing uses a 4-base step. Radii come in two sizes — small for chips/buttons, large for cards. Shadows are used sparingly; most elevation is handled with hairlines and surface gradation.</p>+ </div>+ </div>++ <div style="display: grid; grid-template-columns: 1fr 1fr; gap: 20px;">+ <!-- Spacing scale -->+ <div>+ <h4 style="font-family: var(--f-display); font-size: 14px; color: var(--fg-0); margin: 0 0 14px;">Spacing scale <span style="font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); font-weight: 500; margin-left: 8px;">4px base</span></h4>+ <table class="token-table">+ <thead><tr><th>Name</th><th>Value</th><th class="demo">Demo</th></tr></thead>+ <tbody>+ <tr><td class="name">space-1</td><td class="val">4px</td><td><span class="space-demo" style="width: 4px;"></span></td></tr>+ <tr><td class="name">space-2</td><td class="val">8px</td><td><span class="space-demo" style="width: 8px;"></span></td></tr>+ <tr><td class="name">space-3</td><td class="val">12px</td><td><span class="space-demo" style="width: 12px;"></span></td></tr>+ <tr><td class="name">space-4</td><td class="val">16px</td><td><span class="space-demo" style="width: 16px;"></span></td></tr>+ <tr><td class="name">space-5</td><td class="val">20px</td><td><span class="space-demo" style="width: 20px;"></span></td></tr>+ <tr><td class="name">space-6</td><td class="val">24px</td><td><span class="space-demo" style="width: 24px;"></span></td></tr>+ <tr><td class="name">space-8</td><td class="val">32px</td><td><span class="space-demo" style="width: 32px;"></span></td></tr>+ <tr><td class="name">space-12</td><td class="val">48px</td><td><span class="space-demo" style="width: 48px;"></span></td></tr>+ <tr><td class="name">space-section</td><td class="val">80–100px</td><td><span class="space-demo" style="width: 80px;"></span></td></tr>+ </tbody>+ </table>+ </div>++ <!-- Radii + shadow -->+ <div>+ <h4 style="font-family: var(--f-display); font-size: 14px; color: var(--fg-0); margin: 0 0 14px;">Radii <span style="font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); font-weight: 500; margin-left: 8px;">two sizes + pill</span></h4>+ <table class="token-table">+ <thead><tr><th>Token</th><th>Value</th><th class="demo">Demo</th></tr></thead>+ <tbody>+ <tr><td class="name">--radius</td><td class="val">6px</td><td><span class="radius-demo" style="border-radius: 6px;"></span></td></tr>+ <tr><td class="name">--radius-lg</td><td class="val">10px</td><td><span class="radius-demo" style="border-radius: 10px;"></span></td></tr>+ <tr><td class="name">card-xl</td><td class="val">12–14px</td><td><span class="radius-demo" style="border-radius: 14px;"></span></td></tr>+ <tr><td class="name">pill</td><td class="val">999px</td><td><span class="radius-demo" style="border-radius: 999px;"></span></td></tr>+ </tbody>+ </table>++ <h4 style="font-family: var(--f-display); font-size: 14px; color: var(--fg-0); margin: 28px 0 14px;">Shadow & elevation</h4>+ <table class="token-table">+ <thead><tr><th>Token</th><th>Value</th><th>Used on</th></tr></thead>+ <tbody>+ <tr><td class="name">hair</td><td class="val">1px · rgba 6%</td><td class="desc">Most dividers.</td></tr>+ <tr><td class="name">hair-2</td><td class="val">1px · rgba 10%</td><td class="desc">Card outlines, buttons.</td></tr>+ <tr><td class="name">e1</td><td class="val" style="font-size: 10.5px;">0 30px 60px -20px rgba(0,0,0,0.8)</td><td class="desc">Mega nav, floating.</td></tr>+ <tr><td class="name">e2</td><td class="val" style="font-size: 10.5px;">0 40px 80px -30px rgba(0,0,0,0.8)</td><td class="desc">Live dashboard.</td></tr>+ <tr><td class="name">glow</td><td class="val" style="font-size: 10.5px;">0 10px 30px -12px var(--a1, 80%)</td><td class="desc">Accent CTA.</td></tr>+ </tbody>+ </table>+ </div>+ </div>+ </div>+</section>++<!-- COMPONENTS -->+<section class="sg-section" id="components">+ <div class="sg-wrap">+ <div class="sg-section-head">+ <div><span class="num">05</span><h2>Components</h2></div>+ <div>+ <p class="desc">Live, annotated. Every preview on the left is real HTML pulling from <code>styles.css</code>. The right column lists the exact specs the component is wired to.</p>+ </div>+ </div>++ <!-- Buttons -->+ <div class="comp">+ <div class="preview">+ <a class="btn btn-accent" href="#">Start for free <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M5 12h14m-5-5 5 5-5 5"/></svg></a>+ <a class="btn btn-primary" href="#">Sign in</a>+ <a class="btn btn-ghost" href="#">View live demo →</a>+ <a class="btn btn-sm btn-primary" href="#">Start free</a>+ </div>+ <div class="spec-side">+ <div class="title">Buttons</div>+ <div class="sub">btn · btn-accent · btn-primary · btn-ghost · btn-sm</div>+ <div class="row"><span class="p">padding</span><span class="v">12px 18px</span></div>+ <div class="row"><span class="p">radius</span><span class="v">--radius</span></div>+ <div class="row"><span class="p">font</span><span class="v">--f-display</span></div>+ <div class="row"><span class="p">size</span><span class="v">14px · 500</span></div>+ <div class="row"><span class="p">accent bg</span><span class="v">gradient(--a1)</span></div>+ <div class="row"><span class="p">ghost border</span><span class="v">--hair-2</span></div>+ <div class="row"><span class="p">active scale</span><span class="v">0.97</span></div>+ </div>+ </div>++ <!-- Top navigation -->+ <div class="comp">+ <div class="preview" style="padding: 0; align-items: stretch; flex-direction: column;">+ <div class="nav-demo">+ <div class="nd-inner">+ <div class="nd-brand">+ <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" style="color: var(--fg-0);"><path d="M3 12h4l3-7 4 14 3-7h4"/></svg>+ <span>Traceway</span>+ </div>+ <div class="nd-links">+ <a href="#" class="nd-item nd-active">Product <svg width="9" height="9" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" style="opacity:.6;"><path d="m6 9 6 6 6-6"/></svg></a>+ <a href="#" class="nd-item">Pricing</a>+ <a href="#" class="nd-item">Docs</a>+ </div>+ <div class="nd-cta">+ <a href="#" class="nd-item">Sign in</a>+ <a href="#" class="nd-btn">Start free</a>+ </div>+ </div>+ </div>+ <div style="padding: 14px 20px; border-top: 1px solid var(--hair); background: var(--ink-1); width: 100%;">+ <span class="inline-tag">Centered nav · grid 1fr auto 1fr</span>+ </div>+ </div>+ <div class="spec-side">+ <div class="title">Top navigation</div>+ <div class="sub">.nav · sticky · backdrop-blur</div>+ <div class="row"><span class="p">layout</span><span class="v">grid 1fr auto 1fr</span></div>+ <div class="row"><span class="p">height</span><span class="v">64px (56 SG)</span></div>+ <div class="row"><span class="p">max-width</span><span class="v">1240px</span></div>+ <div class="row"><span class="p">bg</span><span class="v">--ink-0 / 78%</span></div>+ <div class="row"><span class="p">blur</span><span class="v">14px · sat 140%</span></div>+ <div class="row"><span class="p">border-bot</span><span class="v">--hair</span></div>+ <div class="row"><span class="p">link font</span><span class="v">--f-display 14/500</span></div>+ <div class="row"><span class="p">link pad</span><span class="v">8px 12px · r 6px</span></div>+ <div class="row"><span class="p">cta btn</span><span class="v">accent gradient · sm</span></div>+ </div>+ </div>++ <!-- Mega dropdown -->+ <div class="comp">+ <div class="preview" style="padding: 30px; align-items: flex-start; min-height: 460px; background: radial-gradient(ellipse at top, color-mix(in oklab, var(--a2) 6%, transparent), transparent 60%), var(--ink-0);">+ <div class="mega-demo">+ <div class="mega-pointer">+ <span class="mp-label">Product <svg width="9" height="9" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" style="opacity:.7; transform:rotate(180deg);"><path d="m6 9 6 6 6-6"/></svg></span>+ </div>+ <div class="mega-panel">+ <div class="mega-grid-demo">+ <div class="mega-col-demo">+ <h6>// Pillars</h6>+ <a class="mega-link-demo">+ <div class="mi"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><path d="M4 4h16v16H4z"/><path d="M8 8h8M8 12h8M8 16h5"/></svg></div>+ <div><span class="mt">Logs</span><div class="md">Structured, trace-linked, full-text searchable.</div></div>+ </a>+ <a class="mega-link-demo">+ <div class="mi"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><circle cx="6" cy="6" r="2.5"/><circle cx="18" cy="6" r="2.5"/><circle cx="12" cy="18" r="2.5"/><path d="M8 7l3 9M16 7l-3 9"/></svg></div>+ <div><span class="mt">Traces</span><div class="md">Span waterfalls across every hop.</div></div>+ </a>+ <a class="mega-link-demo">+ <div class="mi"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><path d="M3 3v18h18"/><path d="M7 14l4-4 4 4 5-5"/></svg></div>+ <div><span class="mt">Metrics</span><div class="md">Slice on any tag, retain forever.</div></div>+ </a>+ </div>+ <div class="mega-col-demo">+ <h6>// Closed-loop</h6>+ <a class="mega-link-demo">+ <div class="mi" style="color: var(--a1);"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><path d="M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"/><path d="M13.7 21a2 2 0 0 1-3.4 0"/></svg></div>+ <div><span class="mt">Errors & alerts</span><div class="md">Fingerprint, dedupe, route. Built in.</div></div>+ </a>+ <a class="mega-link-demo">+ <div class="mi" style="color: var(--a3);"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><circle cx="12" cy="12" r="9"/><path d="M12 8v4M12 16h.01"/></svg></div>+ <div><span class="mt">Session replay</span><div class="md">Web, iOS, Android, <strong>Flutter</strong>.</div></div>+ </a>+ <a class="mega-link-demo">+ <div class="mi" style="color: var(--ok);"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><path d="M3 12a9 9 0 1 0 3-6.7"/><path d="M3 3v5h5"/></svg></div>+ <div><span class="mt">Profiling</span><div class="md">Continuous CPU + memory by line.</div></div>+ </a>+ </div>+ </div>+ <div class="mega-divider-demo"></div>+ <div class="mega-foot-demo">+ <a>// Compare to Datadog →</a>+ <a>// Read the docs →</a>+ </div>+ </div>+ </div>+ </div>+ <div class="spec-side">+ <div class="title">Mega dropdown</div>+ <div class="sub">.mega · 2-col grid · e1 shadow</div>+ <div class="row"><span class="p">min-width</span><span class="v">680px</span></div>+ <div class="row"><span class="p">offset</span><span class="v">top + 10px · left -20px</span></div>+ <div class="row"><span class="p">bg</span><span class="v">--ink-3 → --ink-2</span></div>+ <div class="row"><span class="p">border</span><span class="v">--hair-2 · r 12</span></div>+ <div class="row"><span class="p">padding</span><span class="v">24px</span></div>+ <div class="row"><span class="p">shadow</span><span class="v">--e1 + inner hair</span></div>+ <div class="row"><span class="p">cols</span><span class="v">2 · gap 32</span></div>+ <div class="row"><span class="p">col head</span><span class="v">--f-mono 10.5 · UPPER · "// "</span></div>+ <div class="row"><span class="p">link icon</span><span class="v">28×28 · --hair · --a2</span></div>+ <div class="row"><span class="p">link title</span><span class="v">--f-display 14/500</span></div>+ <div class="row"><span class="p">link desc</span><span class="v">12px · --fg-3</span></div>+ <div class="row"><span class="p">link hover</span><span class="v">rgba 3% bg</span></div>+ <div class="row"><span class="p">enter</span><span class="v">opacity + Y(-4px) · 150ms</span></div>+ </div>+ </div>++ <!-- Chips -->+ <div class="comp">+ <div class="preview">+ <span class="chip"><span class="dot"></span><span>LIVE · 12 services reporting</span></span>+ <span class="chip ok"><span class="dot"></span><span>OK · P99 118ms</span></span>+ <span class="chip crit"><span class="dot"></span><span>Critical · checkout down</span></span>+ </div>+ <div class="spec-side">+ <div class="title">Chips</div>+ <div class="sub">chip · chip.ok · chip.crit</div>+ <div class="row"><span class="p">padding</span><span class="v">4px 8px</span></div>+ <div class="row"><span class="p">radius</span><span class="v">999px</span></div>+ <div class="row"><span class="p">font</span><span class="v">--f-mono 11px</span></div>+ <div class="row"><span class="p">bg</span><span class="v">--ink-3</span></div>+ <div class="row"><span class="p">dot</span><span class="v">6×6 · --a2 glow</span></div>+ </div>+ </div>++ <!-- Eyebrows -->+ <div class="comp">+ <div class="preview" style="flex-direction: column; gap: 18px; align-items: flex-start; padding: 40px;">+ <span class="sg-kicker">OpenTelemetry-native</span>+ <span class="sg-kicker" style="color: var(--a1);">Observability, closed loop</span>+ <span class="sg-kicker" style="color: var(--a3);">The one nobody else has</span>+ </div>+ <div class="spec-side">+ <div class="title">Eyebrows</div>+ <div class="sub">.eyebrow</div>+ <div class="row"><span class="p">font</span><span class="v">--f-mono 11px</span></div>+ <div class="row"><span class="p">tracking</span><span class="v">0.14em</span></div>+ <div class="row"><span class="p">case</span><span class="v">UPPERCASE</span></div>+ <div class="row"><span class="p">prefix</span><span class="v">"// "</span></div>+ <div class="row"><span class="p">color</span><span class="v">--a2 (default)</span></div>+ </div>+ </div>++ <!-- Pillars -->+ <div class="comp">+ <div class="preview dense" style="justify-content: flex-start;">+ <div class="pillars-demo">+ <div class="pillar" style="--pc: var(--a2);">+ <div class="p-ico"><svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><path d="M4 4h16v16H4z"/><path d="M8 8h8M8 12h8M8 16h5"/></svg></div>+ <h4>Logs</h4>+ <p>Structured · trace-linked.</p>+ </div>+ <div class="pillar" style="--pc: var(--a1);">+ <div class="p-ico"><svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><circle cx="6" cy="6" r="2.5"/><circle cx="18" cy="6" r="2.5"/><circle cx="12" cy="18" r="2.5"/><path d="M8 7l3 9M16 7l-3 9"/></svg></div>+ <h4>Traces</h4>+ <p>Span waterfalls.</p>+ </div>+ <div class="pillar" style="--pc: var(--ok);">+ <div class="p-ico"><svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><path d="M3 3v18h18"/><path d="M7 14l4-4 4 4 5-5"/></svg></div>+ <h4>Metrics</h4>+ <p>Any dimension.</p>+ </div>+ </div>+ </div>+ <div class="spec-side">+ <div class="title">Pillar cards</div>+ <div class="sub">.pillar · --pc = tint var</div>+ <div class="row"><span class="p">padding</span><span class="v">18px</span></div>+ <div class="row"><span class="p">radius</span><span class="v">10px</span></div>+ <div class="row"><span class="p">bg</span><span class="v">rgba subtle</span></div>+ <div class="row"><span class="p">icon</span><span class="v">32×32 · --pc 18%</span></div>+ <div class="row"><span class="p">title</span><span class="v">--f-display 17px</span></div>+ </div>+ </div>++ <!-- Terminal -->+ <div class="comp">+ <div class="preview" style="padding: 30px;">+ <div class="term-demo">+ <div class="h">+ <span class="d"></span><span class="d"></span><span class="d"></span>+ <span class="t">bash · traceway.sh</span>+ </div>+ <div class="b">+ <div><span class="ln">1</span><span class="c">$</span> npm i @traceway/node</div>+ <div><span class="ln">2</span><span class="k">import</span> { traceway } <span class="k">from</span> <span class="s">"@traceway/node"</span></div>+ <div><span class="ln">3</span>traceway({ dsn: <span class="s">"https://…"</span> })</div>+ <div><span class="ln">4</span><span style="color: var(--ok);"># ✓ reporting</span></div>+ </div>+ </div>+ </div>+ <div class="spec-side">+ <div class="title">Terminal block</div>+ <div class="sub">.term-demo / .term</div>+ <div class="row"><span class="p">bg</span><span class="v">#080b12 → #0d1220</span></div>+ <div class="row"><span class="p">radius</span><span class="v">10px</span></div>+ <div class="row"><span class="p">font</span><span class="v">--f-mono 12.5px</span></div>+ <div class="row"><span class="p">keyword</span><span class="v">#ffa94d</span></div>+ <div class="row"><span class="p">string</span><span class="v">#8ce99a</span></div>+ <div class="row"><span class="p">dollar</span><span class="v">--a2</span></div>+ <div class="row"><span class="p">comment</span><span class="v">--ok / --fg-3</span></div>+ </div>+ </div>++ <!-- Cost bars -->+ <div class="comp">+ <div class="preview" style="padding: 30px;">+ <div class="cost-demo">+ <div class="cb">+ <span class="lbl">Datadog</span>+ <div class="track"><div class="fill" style="width: 100%; background: #1d2430; color: var(--fg-2);">100%</div></div>+ <span class="tot">$11,400</span>+ </div>+ <div class="cb">+ <span class="lbl">Sentry + DD</span>+ <div class="track"><div class="fill" style="width: 68%; background: #2a2438; color: var(--fg-1);">68%</div></div>+ <span class="tot">$7,750</span>+ </div>+ <div class="cb">+ <span class="lbl" style="color: var(--a1);">Traceway</span>+ <div class="track"><div class="fill" style="width: 14%; background: linear-gradient(90deg, var(--a1), var(--a2)); color: #07090f; font-weight: 700;">14%</div></div>+ <span class="tot" style="color: var(--a1);">$520</span>+ </div>+ </div>+ </div>+ <div class="spec-side">+ <div class="title">Cost bars</div>+ <div class="sub">.cost-bar · .cost-bar.us</div>+ <div class="row"><span class="p">height</span><span class="v">30px</span></div>+ <div class="row"><span class="p">radius</span><span class="v">5px</span></div>+ <div class="row"><span class="p">track bg</span><span class="v">rgba(white 2%)</span></div>+ <div class="row"><span class="p">us fill</span><span class="v">--a1 → --a2</span></div>+ <div class="row"><span class="p">label</span><span class="v">--f-mono 10.5px</span></div>+ </div>+ </div>++ <!-- Card / bento -->+ <div class="comp">+ <div class="preview" style="padding: 30px;">+ <div class="card" style="max-width: 420px; background: linear-gradient(180deg, var(--ink-3), var(--ink-2));">+ <div style="display: flex; align-items: center; gap: 10px; margin-bottom: 14px;">+ <div style="width: 28px; height: 28px; border-radius: 6px; background: color-mix(in oklab, var(--a3) 20%, transparent); border: 1px solid color-mix(in oklab, var(--a3) 40%, transparent); display: grid; place-items: center; color: var(--a3);">+ <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><circle cx="12" cy="12" r="9"/><path d="M12 8v4M12 16h.01"/></svg>+ </div>+ <span style="font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; color: var(--fg-3); text-transform: uppercase;">02 · AI observability</span>+ </div>+ <h4 style="margin: 0 0 8px; font-family: var(--f-display); font-size: 18px; color: var(--fg-0); font-weight: 600; letter-spacing: -0.01em;">Every LLM call. Every token.</h4>+ <p style="margin: 0; font-size: 13px; color: var(--fg-2); line-height: 1.55;">Tracks cost, latency, and full conversation content. Zero code changes.</p>+ </div>+ </div>+ <div class="spec-side">+ <div class="title">Bento card</div>+ <div class="sub">.b · .b-wide · .b-tall · .b-med</div>+ <div class="row"><span class="p">padding</span><span class="v">22px</span></div>+ <div class="row"><span class="p">radius</span><span class="v">--radius-lg</span></div>+ <div class="row"><span class="p">bg</span><span class="v">--ink-3 → --ink-2</span></div>+ <div class="row"><span class="p">border</span><span class="v">--hair</span></div>+ <div class="row"><span class="p">icon</span><span class="v">28×28 · tinted</span></div>+ <div class="row"><span class="p">label</span><span class="v">NN · section</span></div>+ </div>+ </div>++ <!-- Tags / inline -->+ <div class="comp">+ <div class="preview" style="padding: 30px;">+ <span class="inline-tag">OTLP</span>+ <span class="inline-tag">rrweb</span>+ <span class="inline-tag" style="color: var(--a1); background: color-mix(in oklab, var(--a1) 10%, transparent); border-color: color-mix(in oklab, var(--a1) 30%, transparent);">Flutter</span>+ <span class="inline-tag" style="color: var(--a3); background: color-mix(in oklab, var(--a3) 10%, transparent); border-color: color-mix(in oklab, var(--a3) 30%, transparent);">beta</span>+ <span class="inline-tag" style="color: var(--ok); background: color-mix(in oklab, var(--ok) 10%, transparent); border-color: color-mix(in oklab, var(--ok) 30%, transparent);">stable</span>+ </div>+ <div class="spec-side">+ <div class="title">Inline tags</div>+ <div class="sub">tinted · semantic</div>+ <div class="row"><span class="p">font</span><span class="v">--f-mono 10.5px</span></div>+ <div class="row"><span class="p">padding</span><span class="v">2px 7px</span></div>+ <div class="row"><span class="p">radius</span><span class="v">4px</span></div>+ <div class="row"><span class="p">bg</span><span class="v">tint 10%</span></div>+ <div class="row"><span class="p">border</span><span class="v">tint 30%</span></div>+ </div>+ </div>++ <!-- Icons -->+ <div class="comp">+ <div class="preview" style="padding: 30px;">+ <div class="icons-grid" style="width: 100%; max-width: 520px;">+ <div class="ico-cell"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><path d="M4 4h16v16H4z"/><path d="M8 8h8M8 12h8M8 16h5"/></svg></div>+ <div class="ico-cell"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><circle cx="6" cy="6" r="2.5"/><circle cx="18" cy="6" r="2.5"/><circle cx="12" cy="18" r="2.5"/><path d="M8 7l3 9M16 7l-3 9"/></svg></div>+ <div class="ico-cell"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><path d="M3 3v18h18"/><path d="M7 14l4-4 4 4 5-5"/></svg></div>+ <div class="ico-cell"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><circle cx="12" cy="12" r="9"/><path d="M12 8v4M12 16h.01"/></svg></div>+ <div class="ico-cell"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><path d="M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"/><path d="M13.7 21a2 2 0 0 1-3.4 0"/></svg></div>+ <div class="ico-cell"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><path d="M3 12a9 9 0 1 0 3-6.7"/><path d="M3 3v5h5"/></svg></div>+ <div class="ico-cell"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><path d="M12 2L4 7v10l8 5 8-5V7z"/><path d="m12 12 8-5M12 12v10M12 12 4 7"/></svg></div>+ <div class="ico-cell"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><path d="M14 7l3 3-8 8H6v-3z"/><path d="M12 4l4 4"/><path d="M3 21h18"/></svg></div>+ </div>+ </div>+ <div class="spec-side">+ <div class="title">Icons</div>+ <div class="sub">lucide-style · 1.8px stroke</div>+ <div class="row"><span class="p">size</span><span class="v">14–18px</span></div>+ <div class="row"><span class="p">stroke-width</span><span class="v">1.8</span></div>+ <div class="row"><span class="p">fill</span><span class="v">none</span></div>+ <div class="row"><span class="p">color</span><span class="v">currentColor</span></div>+ <div class="row"><span class="p">container</span><span class="v">28–32px tinted</span></div>+ </div>+ </div>++ </div>+</section>++<!-- MOTION + ICONOGRAPHY -->+<section class="sg-section" id="motion">+ <div class="sg-wrap">+ <div class="sg-section-head">+ <div><span class="num">06</span><h2>Motion</h2></div>+ <div>+ <p class="desc">Traceway motion is brief and physical. Hover states settle in 120–150ms. Panels and menus use a snappier 200ms entrance curve; exits are linear and 150ms.</p>+ </div>+ </div>+ <div class="motion-grid">+ <div class="motion-cell standard">+ <h5>Standard</h5>+ <div class="ease">cubic-bezier(.2,.8,.2,1) · 200ms</div>+ <div class="motion-bar"><i></i></div>+ <p style="font-size: 12px; color: var(--fg-2); margin: 14px 0 0;">Buttons, chips, hovers, hairline shifts.</p>+ </div>+ <div class="motion-cell entrance">+ <h5>Entrance</h5>+ <div class="ease">cubic-bezier(0,0,.2,1) · 150ms</div>+ <div class="motion-bar"><i></i></div>+ <p style="font-size: 12px; color: var(--fg-2); margin: 14px 0 0;">Mega menus, tooltips, modals.</p>+ </div>+ <div class="motion-cell exit">+ <h5>Exit</h5>+ <div class="ease">cubic-bezier(.4,0,1,1) · 120ms</div>+ <div class="motion-bar"><i></i></div>+ <p style="font-size: 12px; color: var(--fg-2); margin: 14px 0 0;">Dismissal — snap back to rest.</p>+ </div>+ </div>+ </div>+</section>++<!-- ANIMATION (GSAP polish layer) -->+<section class="sg-section" id="animation">+ <div class="sg-wrap">+ <div class="sg-section-head">+ <div><span class="num">07</span><h2>Animation</h2></div>+ <div>+ <p class="desc">On top of the base motion tokens, the landing page wears a GSAP + ScrollTrigger polish layer. Each recipe is scoped, brief, and gated on <code>prefers-reduced-motion</code>. Goal: the page feels like glass settling — never like a demo reel.</p>+ </div>+ </div>++ <div class="anim-hero">+ <div class="anim-lede">+ <div>+ <span class="sg-kicker">// The philosophy</span>+ <h3 style="margin-top: 12px;">Restraint over flash.</h3>+ <p class="desc" style="margin: 0;">Animations exist to <em style="font-style: normal; color: var(--a2);">guide attention</em> and <em style="font-style: normal; color: var(--a1);">reward scroll</em> — not to prove the site is "alive." One motion per element. Nothing longer than 1100ms. Everything gated on a reduced-motion query.</p>+ <div class="principles">+ <div><span><strong>One entrance.</strong> Each element animates in once, never again. No re-triggering on scroll-up.</span></div>+ <div><span><strong>Layered, not simultaneous.</strong> Hero elements cascade over ~1.1s with 60–150ms stagger. The brain reads order.</span></div>+ <div><span><strong>Scroll rewards, never gates.</strong> If JS fails, every section is still readable. <code>[data-reveal]</code> is progressive.</span></div>+ <div><span><strong>Physics, not transitions.</strong> Magnetic buttons use elastic recoil. Tilt cards use 3D perspective. The feel of mass.</span></div>+ </div>+ </div>+ <div class="anim-meta">+ <h6>// Stack</h6>+ <div class="r"><span class="k">Library</span><span class="v">GSAP 3.12.5</span></div>+ <div class="r"><span class="k">Plugins</span><span class="v">ScrollTrigger</span></div>+ <div class="r"><span class="k">Footprint</span><span class="v">~60KB gz · CDN</span></div>+ <div class="r"><span class="k">File</span><span class="v">/polish.js</span></div>+ <div class="r"><span class="k">Reduced motion</span><span class="v">hard-exit early return</span></div>+ <div class="r"><span class="k">FOUC guard</span><span class="v">gsap.set before render</span></div>+ <div class="r"><span class="k">Ease default</span><span class="v">power3.out</span></div>+ <div class="r"><span class="k">Stagger default</span><span class="v">0.06–0.08s</span></div>+ <div class="r"><span class="k">Hero tl dur</span><span class="v">~1.15s</span></div>+ <div class="r"><span class="k">Refresh</span><span class="v">ScrollTrigger.refresh() ×2</span></div>+ </div>+ </div>++ <div class="anim-timeline">+ <h4>Hero entrance timeline</h4>+ <div class="sub">// gsap.timeline — offset from t=0s</div>+ <div class="tl-rows">+ <div class="tl-row"><span class="lbl">.nav</span><span class="bar"><i style="--s: 0%; --w: 63%;"></i></span><span class="dur">0.7s</span></div>+ <div class="tl-row"><span class="lbl">.chip (status)</span><span class="bar"><i style="--s: 13%; --w: 63%;"></i></span><span class="dur">0.7s</span></div>+ <div class="tl-row"><span class="lbl">h1 (stagger 60ms)</span><span class="bar"><i style="--s: 22%; --w: 81%;"></i></span><span class="dur">0.9s</span></div>+ <div class="tl-row"><span class="lbl">.hero-sub</span><span class="bar"><i style="--s: 48%; --w: 63%;"></i></span><span class="dur">0.7s</span></div>+ <div class="tl-row"><span class="lbl">.hero-cta-row</span><span class="bar"><i style="--s: 61%; --w: 54%;"></i></span><span class="dur">0.6s</span></div>+ <div class="tl-row"><span class="lbl">.pillars (x3)</span><span class="bar"><i style="--s: 74%; --w: 63%;"></i></span><span class="dur">0.7s</span></div>+ <div class="tl-row"><span class="lbl">.pillars-sec (x3)</span><span class="bar"><i style="--s: 91%; --w: 45%;"></i></span><span class="dur">0.5s</span></div>+ <div class="tl-row"><span class="lbl">#dashboard-mount</span><span class="bar"><i style="--s: 35%; --w: 99%;"></i></span><span class="dur">1.1s</span></div>+ </div>+ <div class="tl-ruler">+ <span></span>+ <span class="ticks"><span>0.0s</span><span>0.3</span><span>0.6</span><span>0.9</span><span>1.15s</span></span>+ <span></span>+ </div>+ </div>+ </div>++ <!-- Recipes -->+ <div class="recipes">++ <!-- 1. Scroll reveal -->+ <div class="recipe">+ <div class="demo"><div class="demo-reveal"></div></div>+ <div class="body">+ <div class="name">Scroll reveal <span class="tag">primary</span></div>+ <p class="desc">Every section heading + grid enters once on scroll. Y-offset 24–36px, opacity 0→1, 0.85s, <code>power3.out</code>. Never re-triggers.</p>+<pre><span class="c">// ScrollTrigger — fire once, never reverse</span>+<span class="n">gsap</span>.<span class="k">set</span>(els, { <span class="p">opacity</span>: <span class="s">0</span>, <span class="p">y</span>: <span class="s">28</span> });+<span class="n">ScrollTrigger</span>.<span class="k">create</span>({+ <span class="p">trigger</span>: sec,+ <span class="p">start</span>: <span class="s">'top 78%'</span>,+ <span class="p">once</span>: <span class="k">true</span>,+ <span class="p">onEnter</span>: () => <span class="n">gsap</span>.<span class="k">to</span>(els, {+ <span class="p">opacity</span>: <span class="s">1</span>, <span class="p">y</span>: <span class="s">0</span>, <span class="p">duration</span>: <span class="s">0.85</span>,+ <span class="p">ease</span>: <span class="s">'power3.out'</span>, <span class="p">stagger</span>: <span class="s">0.08</span>,+ }),+});</pre>+ </div>+ </div>++ <!-- 2. Stagger cascade -->+ <div class="recipe">+ <div class="demo"><div class="demo-stagger"><i></i><i></i><i></i><i></i></div></div>+ <div class="body">+ <div class="name">Stagger cascade <span class="tag">primary</span></div>+ <p class="desc">Grids (bento, features, deploy) reveal child-by-child. <code>stagger: 0.07s</code> gives the eye time to land before the next arrives. Never uniform, never instant.</p>+<pre><span class="n">gsap</span>.<span class="k">to</span>(cards, {+ <span class="p">opacity</span>: <span class="s">1</span>, <span class="p">y</span>: <span class="s">0</span>, <span class="p">duration</span>: <span class="s">0.9</span>,+ <span class="p">ease</span>: <span class="s">'power3.out'</span>,+ <span class="p">stagger</span>: { <span class="p">each</span>: <span class="s">0.07</span>, <span class="p">from</span>: <span class="s">'start'</span> },+});</pre>+ </div>+ </div>++ <!-- 3. Parallax -->+ <div class="recipe">+ <div class="demo"><div class="demo-parallax"><i></i><i></i><i></i></div></div>+ <div class="body">+ <div class="name">Scrub parallax <span class="tag">primary</span></div>+ <p class="desc">The hero dashboard drifts −60px as you scroll past. <code>scrub: 0.8</code> smooths scroll-tied motion so it never feels mechanical.</p>+<pre><span class="n">gsap</span>.<span class="k">to</span>(<span class="s">'#dashboard-mount'</span>, {+ <span class="p">y</span>: <span class="s">-60</span>, <span class="p">ease</span>: <span class="s">'none'</span>,+ <span class="p">scrollTrigger</span>: {+ <span class="p">trigger</span>: <span class="s">'.hero'</span>,+ <span class="p">start</span>: <span class="s">'top top'</span>,+ <span class="p">end</span>: <span class="s">'bottom top'</span>,+ <span class="p">scrub</span>: <span class="s">0.8</span>,+ },+});</pre>+ </div>+ </div>++ <!-- 4. Counter -->+ <div class="recipe">+ <div class="demo"><div class="demo-count">22<span style="color: var(--fg-2); -webkit-text-fill-color: var(--fg-2); font-size: 28px; margin-left: 2px;">×</span></div></div>+ <div class="body">+ <div class="name">Counter tween <span class="tag">primary</span></div>+ <p class="desc">Deploy-section stats count from 0 → target once in view. Parsed from the DOM — source of truth stays HTML. Float vs. int preserved.</p>+<pre><span class="k">const</span> obj = { <span class="p">v</span>: <span class="s">0</span> };+<span class="n">gsap</span>.<span class="k">to</span>(obj, {+ <span class="p">v</span>: target, <span class="p">duration</span>: <span class="s">1.6</span>,+ <span class="p">ease</span>: <span class="s">'power2.out'</span>,+ <span class="p">onUpdate</span>: () => el.textContent =+ <span class="n">Math</span>.<span class="k">round</span>(obj.v) + suffix,+});</pre>+ </div>+ </div>++ <!-- 5. Magnetic CTA -->+ <div class="recipe">+ <div class="demo"><div class="demo-magnet"><span class="mbtn">Start for free</span></div></div>+ <div class="body">+ <div class="name">Magnetic CTA <span class="tag">physics</span></div>+ <p class="desc">Primary & accent buttons track the cursor within a 18px radius, then snap back with <code>elastic.out(1, 0.5)</code>. Signals the site rewards interaction.</p>+<pre>btn.<span class="k">addEventListener</span>(<span class="s">'mousemove'</span>, e => {+ <span class="k">const</span> r = btn.<span class="k">getBoundingClientRect</span>();+ <span class="k">const</span> x = (e.clientX - r.left - r.width/2) / (r.width/2);+ <span class="k">const</span> y = (e.clientY - r.top - r.height/2) / (r.height/2);+ <span class="n">gsap</span>.<span class="k">to</span>(btn, { <span class="p">x</span>: x*<span class="s">18</span>, <span class="p">y</span>: y*<span class="s">18</span>,+ <span class="p">duration</span>: <span class="s">0.4</span>, <span class="p">ease</span>: <span class="s">'power3.out'</span> });+});+<span class="c">// onmouseleave → elastic.out(1, 0.5)</span></pre>+ </div>+ </div>++ <!-- 6. Marquee -->+ <div class="recipe">+ <div class="demo">+ <div class="demo-marquee">+ <div class="track">+ <span>ACME</span><span>KEPLER LABS</span><span>NORTHWIND</span><span>MONOLITH</span><span>HALCYON</span><span>MERIDIAN</span>+ <span>ACME</span><span>KEPLER LABS</span><span>NORTHWIND</span><span>MONOLITH</span><span>HALCYON</span><span>MERIDIAN</span>+ </div>+ </div>+ </div>+ <div class="body">+ <div class="name">Infinite marquee <span class="tag">ambient</span></div>+ <p class="desc">Logos row duplicates once, translates −50% on a linear infinite loop. Edge-fade mask keeps the loop seamless.</p>+<pre><span class="c">// Duplicate content, then translate -50%</span>+<span class="n">gsap</span>.<span class="k">to</span>(wrap, {+ <span class="p">x</span>: -totalW, <span class="p">duration</span>: <span class="s">38</span>,+ <span class="p">ease</span>: <span class="s">'none'</span>, <span class="p">repeat</span>: -<span class="s">1</span>,+});+<span class="c">// CSS: mask-image: linear-gradient(90deg,</span>+<span class="c">// transparent, #000 12%, #000 88%, transparent);</span></pre>+ </div>+ </div>++ <!-- 7. 3D tilt -->+ <div class="recipe">+ <div class="demo"><div class="demo-tilt"></div></div>+ <div class="body">+ <div class="name">Bento tilt <span class="tag">physics</span></div>+ <p class="desc">Each bento card tilts ±4° on cursor position with a 1000px perspective. Returns to rest on leave. Subtle enough that you feel it before you see it.</p>+<pre><span class="n">gsap</span>.<span class="k">to</span>(card, {+ <span class="p">rotationY</span>: px * <span class="s">4</span>,+ <span class="p">rotationX</span>: -py * <span class="s">4</span>,+ <span class="p">y</span>: -<span class="s">2</span>, <span class="p">duration</span>: <span class="s">0.5</span>,+ <span class="p">ease</span>: <span class="s">'power2.out'</span>,+ <span class="p">transformPerspective</span>: <span class="s">1000</span>,+});</pre>+ </div>+ </div>++ <!-- 8. Terminal type-on -->+ <div class="recipe">+ <div class="demo">+ <div class="demo-type">+ <span><span style="color: var(--fg-3);">1 </span><span style="color: var(--a2);">$</span> git clone tracewayapp/traceway</span>+ <span><span style="color: var(--fg-3);">2 </span><span style="color: var(--a2);">$</span> docker compose up -d</span>+ <span><span style="color: var(--fg-3);">3 </span><span style="color: var(--fg-3);"># pulling images…</span></span>+ <span><span style="color: var(--fg-3);">4 </span># ✓ dashboard at :3000</span>+ </div>+ </div>+ <div class="body">+ <div class="name">Terminal type-on <span class="tag">accent</span></div>+ <p class="desc">Self-host terminal reveals line-by-line (180ms stagger) on enter. X-offset plus opacity — like lines appearing in <code>less</code>.</p>+<pre><span class="n">gsap</span>.<span class="k">to</span>(lines, {+ <span class="p">opacity</span>: <span class="s">1</span>, <span class="p">x</span>: <span class="s">0</span>, <span class="p">duration</span>: <span class="s">0.45</span>,+ <span class="p">ease</span>: <span class="s">'power2.out'</span>,+ <span class="p">stagger</span>: <span class="s">0.18</span>,+});</pre>+ </div>+ </div>++ </div>++ <!-- Rules -->+ <div style="margin-top: 28px; padding: 28px 32px; border: 1px solid var(--hair); border-radius: 12px; background: linear-gradient(180deg, var(--ink-3), var(--ink-2));">+ <span class="sg-kicker">// Do & don't</span>+ <div style="display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 14px;">+ <div>+ <h5 style="margin: 0 0 12px; font-family: var(--f-display); font-size: 14px; color: var(--ok); letter-spacing: -0.01em;">✓ Do</h5>+ <ul style="margin: 0; padding-left: 18px; font-size: 13px; line-height: 1.7; color: var(--fg-1);">+ <li>Use <code>once: true</code> on content reveals — re-triggering on scroll-up is distracting.</li>+ <li>Set initial hidden state with <code>gsap.set()</code> before render to prevent FOUC.</li>+ <li>Default to <code>power3.out</code> for entrances. It's the house curve.</li>+ <li>Gate every animation on <code>prefers-reduced-motion</code> — early return the whole script.</li>+ <li>Call <code>ScrollTrigger.refresh()</code> after React/async content mounts.</li>+ </ul>+ </div>+ <div>+ <h5 style="margin: 0 0 12px; font-family: var(--f-display); font-size: 14px; color: var(--a3); letter-spacing: -0.01em;">✗ Don't</h5>+ <ul style="margin: 0; padding-left: 18px; font-size: 13px; line-height: 1.7; color: var(--fg-1);">+ <li>Animate the same element twice. One entrance, one hover — nothing else.</li>+ <li>Chain durations over 1.2s. The eye will move on.</li>+ <li>Use <code>bounce</code> or <code>back</code> eases on text. Reserved for physical objects (buttons, cards).</li>+ <li>Fade in everything. If it doesn't earn an animation, let it be static.</li>+ <li>Animate a scroll-linked element without <code>scrub</code>. Janky framerate will show.</li>+ </ul>+ </div>+ </div>+ </div>+ </div>+</section>++<!-- DOWNLOAD -->+<section class="sg-section" id="download">+ <div class="sg-wrap">+ <div class="sg-section-head">+ <div><span class="num">08</span><h2>Take it with you</h2></div>+ <div>+ <p class="desc">The full token set is already consolidated in <code>styles.css</code>. Everything on this page pulls from the same file — there's no style guide-only CSS. Drop it in and you have the system.</p>+ </div>+ </div>+ <div class="sg-download">+ <div>+ <h3>Traceway design tokens</h3>+ <p>CSS custom properties, component classes, motion curves. MIT-licensed, no attribution required.</p>+ </div>+ <div class="cta-row">+ <a class="btn btn-accent" href="styles.css" download="traceway-tokens.css">+ <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 3v12m0 0-4-4m4 4 4-4"/><path d="M5 21h14"/></svg>+ Download styles.css+ </a>+ <a class="btn btn-ghost" href="index.html">View landing page →</a>+ </div>+ </div>+ </div>+</section>++</body>+</html>diff --git a/website/design guidelines/example.html b/website/design guidelines/example.htmlnew file mode 100644index 00000000..9a651581--- /dev/null+++ b/website/design guidelines/example.html@@ -0,0 +1,629 @@+<!DOCTYPE html>+<html lang="en">+<head>+<meta charset="utf-8" />+<meta name="viewport" content="width=device-width, initial-scale=1" />+<title>Traceway · Observability at a fraction of the cost</title>+<link rel="stylesheet" href="styles.css?v=5" />+<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=JetBrains+Mono:wght@300;400;500;600;700;800&family=IBM+Plex+Mono:wght@300;400;500;600;700&display=swap" rel="stylesheet">+<script src="https://unpkg.com/[email protected]/umd/react.development.js" integrity="sha384-hD6/rw4ppMLGNu3tX5cjIb+uRZ7UkRJ6BPkLpg4hAu/6onKUg4lLsHAs9EBPT82L" crossorigin="anonymous"></script>+<script src="https://unpkg.com/[email protected]/umd/react-dom.development.js" integrity="sha384-u6aeetuaXnQ38mYT8rp6sbXaQe3NL9t+IBXmnYxwkUI2Hw4bsp2Wvmx4yRQF1uAm" crossorigin="anonymous"></script>+<script src="https://unpkg.com/@babel/[email protected]/babel.min.js" integrity="sha384-m08KidiNqLdpJqLq95G/LEi8Qvjl/xUYll3QILypMoQ65QorJ9Lvtp2RXYGBFj1y" crossorigin="anonymous"></script>+<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.5/gsap.min.js"></script>+<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.5/ScrollTrigger.min.js"></script>+</head>+<body>++<!-- NAV -->+<header class="nav">+ <div class="wrap nav-inner">+ <a class="logo" href="#"><img src="images/logo.png" alt="Traceway" /></a>+ <nav class="nav-links">+ <div class="drop" id="drop-product">+ <span class="navitem">Product+ <svg class="chev" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="m6 9 6 6 6-6"/></svg>+ </span>+ <div class="mega">+ <div class="mega-grid">+ <div class="mega-col">+ <h6>Core telemetry</h6>+ <a class="mega-link" href="#">+ <span class="mi"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><path d="M4 4h16v16H4z"/><path d="M8 8h8M8 12h8M8 16h5"/></svg></span>+ <span><span class="mt">Logs</span><span class="md">Trace-linked structured logs with sub-second search.</span></span>+ </a>+ <a class="mega-link" href="#">+ <span class="mi" style="color: var(--a1);"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><circle cx="6" cy="6" r="2.5"/><circle cx="18" cy="6" r="2.5"/><circle cx="12" cy="18" r="2.5"/><path d="M8 7l3 9M16 7l-3 9"/></svg></span>+ <span><span class="mt">Distributed traces</span><span class="md">Walk a request across every service in one span tree.</span></span>+ </a>+ <a class="mega-link" href="#">+ <span class="mi" style="color: var(--ok);"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><path d="M3 3v18h18"/><path d="M7 14l4-4 4 4 5-5"/></svg></span>+ <span><span class="mt">Metrics</span><span class="md">Host, runtime, and custom metrics with drag-build widgets.</span></span>+ </a>+ <a class="mega-link" href="#">+ <span class="mi" style="color: var(--a3);"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><circle cx="12" cy="12" r="9"/><path d="M12 8v4M12 16h.01"/></svg></span>+ <span><span class="mt">Stack traces</span><span class="md">Source-mapped, normalized, SHA-256 grouped exceptions.</span></span>+ </a>+ </div>+ <div class="mega-col">+ <h6>Platform features</h6>+ <a class="mega-link" href="#">+ <span class="mi" style="color: var(--a4);"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><path d="M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"/><path d="M13.7 21a2 2 0 0 1-3.4 0"/></svg></span>+ <span><span class="mt">Alerts</span><span class="md">Slack, GitHub, webhook, email — routed by impact.</span></span>+ </a>+ <a class="mega-link" href="#flutter">+ <span class="mi" style="color: var(--a2);"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><path d="M3 12a9 9 0 1 0 3-6.7"/><path d="M3 3v5h5"/></svg></span>+ <span><span class="mt">Session replay</span><span class="md">Web & Flutter. The only platform with native Flutter replay.</span></span>+ </a>+ <a class="mega-link" href="#ai">+ <span class="mi" style="color: var(--a1);"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><path d="M12 2L4 7v10l8 5 8-5V7z"/><path d="m12 12 8-5M12 12v10M12 12 4 7"/></svg></span>+ <span><span class="mt">AI observability</span><span class="md">Token, cost, latency & conversation tracking for every LLM call.</span></span>+ </a>+ <a class="mega-link" href="#autofix">+ <span class="mi" style="color: var(--a3);"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><path d="M14 7l3 3-8 8H6v-3z"/><path d="M12 4l4 4"/><path d="M3 21h18"/></svg></span>+ <span><span class="mt">Automatic bug fixing</span><span class="md">AI agent that opens PRs for grouped exceptions, hands-off.</span></span>+ </a>+ </div>+ </div>+ <div class="mega-divider"></div>+ <div class="mega-foot">+ <a href="#">All features →</a>+ <a href="#">OpenTelemetry support</a>+ <a href="#">SDKs & integrations</a>+ </div>+ </div>+ </div>+ <a href="#cost">Pricing</a>+ <a href="#docs">Docs</a>+ <div class="drop" id="drop-resources">+ <span class="navitem">Resources+ <svg class="chev" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="m6 9 6 6 6-6"/></svg>+ </span>+ <div class="mega" style="min-width: 420px;">+ <div class="mega-grid" style="grid-template-columns: 1fr;">+ <div class="mega-col">+ <h6>For engineers</h6>+ <a class="mega-link" href="#"><span class="mi"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><path d="M4 19.5A2.5 2.5 0 0 1 6.5 17H20"/><path d="M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z"/></svg></span><span><span class="mt">Documentation</span><span class="md">Quickstarts, SDKs, OTLP, self-hosting.</span></span></a>+ <a class="mega-link" href="#"><span class="mi"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><path d="M9 18l6-6-6-6"/></svg></span><span><span class="mt">Live demo</span><span class="md">Explore with sample data — no signup.</span></span></a>+ <a class="mega-link" href="#"><span class="mi"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><path d="M12 20h9"/><path d="M16.5 3.5a2.1 2.1 0 1 1 3 3L7 19l-4 1 1-4z"/></svg></span><span><span class="mt">Blog & engineering</span><span class="md">Deep dives on ClickHouse, OTel, and perf.</span></span></a>+ <a class="mega-link" href="#"><span class="mi"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"/></svg></span><span><span class="mt">GitHub</span><span class="md">Open source. MIT licensed. Self-host free.</span></span></a>+ </div>+ </div>+ </div>+ </div>+ </nav>+ <div class="nav-cta">+ <a href="#" class="btn btn-sm" style="color: var(--fg-1);">Sign in</a>+ <a href="#" class="btn btn-sm btn-primary">Start free</a>+ </div>+ </div>+</header>++<!-- HERO -->+<section class="hero gridbg">+ <div class="wrap hero-grid">+ <div>+ <span class="chip">+ <span class="dot"></span>+ <span>OpenTelemetry-native · 2-minute setup</span>+ </span>+ <h1 style="margin-top: 22px;">+ Logs, traces, metrics.<br/>+ <em>In two minutes.</em>+ </h1>+ <p class="hero-sub">+ Point your OTLP exporter at Traceway and you're done. Any language, any framework — the full observability stack, at a fraction of Datadog's cost.+ </p>+ <div class="hero-cta-row">+ <a href="#" class="btn btn-accent">+ Start for free+ <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M5 12h14m-5-5 5 5-5 5"/></svg>+ </a>+ <a href="#" class="btn btn-ghost">View live demo →</a>+ </div>++ <!-- Primary pillars -->+ <div class="pillars">+ <div class="pillar" style="--pc: var(--a2);">+ <div class="p-ico"><svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><path d="M4 4h16v16H4z"/><path d="M8 8h8M8 12h8M8 16h5"/></svg></div>+ <h4>Logs</h4>+ <p>Structured, trace-linked, sub-second search.</p>+ </div>+ <div class="pillar" style="--pc: var(--a1);">+ <div class="p-ico"><svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><circle cx="6" cy="6" r="2.5"/><circle cx="18" cy="6" r="2.5"/><circle cx="12" cy="18" r="2.5"/><path d="M8 7l3 9M16 7l-3 9"/></svg></div>+ <h4>Traces</h4>+ <p>End-to-end span waterfalls across every service.</p>+ </div>+ <div class="pillar" style="--pc: var(--ok);">+ <div class="p-ico"><svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><path d="M3 3v18h18"/><path d="M7 14l4-4 4 4 5-5"/></svg></div>+ <h4>Metrics</h4>+ <p>Host, runtime, custom — any dimension, any chart.</p>+ </div>+ </div>++ <!-- Secondary pillars -->+ <div class="pillars-sec">+ <div class="pillar-sec" style="--pc: var(--a2);">+ <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><path d="M3 12a9 9 0 1 0 3-6.7"/><path d="M3 3v5h5"/></svg>+ Session replay+ </div>+ <div class="pillar-sec" style="--pc: var(--a3);">+ <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><circle cx="12" cy="12" r="9"/><path d="M12 8v4M12 16h.01"/></svg>+ Stack traces+ </div>+ <div class="pillar-sec" style="--pc: var(--a4);">+ <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><path d="M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"/><path d="M13.7 21a2 2 0 0 1-3.4 0"/></svg>+ Alerts+ </div>+ </div>+ </div>+ <div id="dashboard-mount"></div>+ </div>++ <!-- Logos row -->+ <div class="wrap">+ <div class="logos-row">+ <span>ACME</span>+ <span>Kepler Labs</span>+ <span>Northwind</span>+ <span>Monolith.io</span>+ <span>Halcyon</span>+ <span>Meridian</span>+ <span>Verve</span>+ </div>+ </div>+</section>++<!-- OTEL SETUP -->+<section class="two-track" id="product">+ <div class="wrap">+ <div class="two-track-head">+ <span class="eyebrow">OpenTelemetry-native</span>+ <h2 style="margin-top: 14px;">Any language.<br/>Any framework. Two minutes.</h2>+ <p class="muted" style="margin-top: 16px; max-width: 620px;">+ If it can export OTLP, it works with Traceway. No proprietary SDK, no agent per host, no lock-in tax. Paste one endpoint, ship.+ </p>+ </div>+ <div id="setup-mount"></div>+ </div>+</section>++<!-- SESSION REPLAY (web, real screenshot) -->+<section>+ <div class="wrap">+ <div class="feature-row reverse">+ <div class="feat-copy">+ <span class="eyebrow">Web session replay</span>+ <h2 style="margin-top: 16px;">See exactly what<br/>the user did.</h2>+ <p>+ Traceway captures ~10 seconds of DOM activity before every error. Clicks,+ scrolls, form interactions, page transitions — all attached to the exception+ automatically. No reproduction steps. No "works on my machine."+ </p>+ <ul class="feat-bullets">+ <li>rrweb-based DOM recording</li>+ <li>Automatic attachment to every exception</li>+ <li>1×/2×/4×/8× playback, skip-inactive</li>+ <li>PII scrubbing by selector or rule</li>+ </ul>+ </div>+ <div class="feat-visual">+ <img src="images/session-replay.png" alt="Session replay dashboard" />+ </div>+ </div>+ </div>+</section>++<!-- DISTRIBUTED TRACE -->+<section>+ <div class="wrap">+ <div class="feature-row">+ <div class="feat-copy">+ <span class="eyebrow">Distributed tracing</span>+ <h2 style="margin-top: 16px;">Follow a request<br/>across every service.</h2>+ <p>+ When a backend service returns an error, Traceway links it to the frontend session replay that triggered the request. Every span, exception, and replay is stitched by a shared trace ID — so a single click in the UI walks your full system.+ </p>+ <ul class="feat-bullets">+ <li>OpenTelemetry-native, no proprietary SDK</li>+ <li>Frontend ↔ backend trace stitching</li>+ <li>Span waterfalls with exception pins</li>+ <li>Works with Lambda, Cloud Run, Workers</li>+ </ul>+ </div>+ <div class="feat-visual">+ <img src="images/screenshot-1.png" alt="Endpoint detail with distributed trace" />+ </div>+ </div>+ </div>+</section>++<!-- COST -->+<section class="cost" id="cost">+ <div class="wrap cost-wrap">+ <div class="section-head" style="grid-template-columns: 1fr; text-align: left;">+ <div>+ <span class="eyebrow">Pricing that doesn't lie to you</span>+ <h2 style="margin-top: 14px;">A fraction of the cost.<br/>None of the asterisks.</h2>+ <p class="muted" style="margin-top: 16px; max-width: 640px;">+ Traceway runs on ClickHouse columnar storage — 1M daily events compresses to ~2GB/month. We pass that efficiency on. Fixed monthly tiers, no per-event gouging, no overage invoices at 2am.+ </p>+ </div>+ </div>+ <div id="cost-mount"></div>+ </div>+</section>++<!-- DEPLOY -->+<section class="deploy">+ <div class="wrap deploy-grid">+ <div>+ <span class="eyebrow">Your data. Your metal.</span>+ <h2 style="margin-top: 14px;">Self-host in<br/>90 seconds flat.</h2>+ <p class="muted" style="margin-top: 16px; max-width: 460px;">+ MIT licensed. No BSL. No "open core." Every feature Traceway Cloud has, your cluster has. Point an OTLP exporter at it and you're in business.+ </p>+ <div class="stats-strip">+ <div class="stat"><div class="num"><em>0s</em></div><div class="lbl">Config required</div></div>+ <div class="stat"><div class="num">100%</div><div class="lbl">Feature parity</div></div>+ <div class="stat"><div class="num">MIT</div><div class="lbl">License</div></div>+ <div class="stat"><div class="num"><em>22×</em></div><div class="lbl">Vs. Datadog</div></div>+ </div>+ </div>+ <div class="term">+ <div class="term-head">+ <span class="dot"></span><span class="dot"></span><span class="dot"></span>+ <span class="ttl">bash · traceway.sh · 80×24</span>+ </div>+ <div class="term-body">+ <div class="term-line"><span class="ln">1</span><span class="tx"><span class="cmd">$</span> git clone github.com/tracewayapp/traceway</span></div>+ <div class="term-line"><span class="ln">2</span><span class="tx"><span class="cmd">$</span> cd traceway && docker compose up -d</span></div>+ <div class="term-line"><span class="ln">3</span><span class="tx mute"># pulling images…</span></div>+ <div class="term-line"><span class="ln">4</span><span class="tx mute"># starting clickhouse · postgres · collector</span></div>+ <div class="term-line"><span class="ln">5</span><span class="tx ok"># ✓ dashboard at http://localhost:3000</span></div>+ <div class="term-line"><span class="ln">6</span><span class="tx"><span class="cmd">$</span> <span class="cursor"></span></span></div>+ </div>+ </div>+ </div>+</section>++<!-- BENTO -->+<section class="bento">+ <div class="wrap">+ <div class="section-head">+ <div>+ <span class="eyebrow">Everything in one tool</span>+ <h2 style="margin-top: 14px;">No more six tabs to debug one bug.</h2>+ </div>+ <p class="muted">Traceway consolidates exception tracking, performance, replay, traces, logs, and AI observability behind a single login and a single bill.</p>+ </div>++ <div class="bento-grid">+ <!-- Wide: exception grouping -->+ <div class="b b-wide">+ <div class="b-head">+ <div class="b-ico"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><circle cx="12" cy="12" r="9"/><path d="M12 8v4M12 16h.01"/></svg></div>+ <span class="mono" style="font-size: 11px; letter-spacing: .1em; color: var(--fg-3); text-transform: uppercase;">01 · Exception tracking</span>+ </div>+ <h4>Thousands of duplicates → one ranked issue.</h4>+ <p>10-step stack normalization + SHA-256 hashing. Identical logical errors always group together, even when addresses, UUIDs, and timestamps differ.</p>+ <div style="margin-top: 20px; border-radius: 6px; border: 1px solid var(--hair); background: rgba(0,0,0,0.25); padding: 14px; font-family: var(--f-mono); font-size: 12px; line-height: 1.65;">+ <div style="color: var(--a3);">TypeError: Cannot read property 'id' of null</div>+ <div style="color: var(--fg-3); margin-top: 4px;">at Checkout.handleSubmit (Checkout.tsx:42:12)</div>+ <div style="color: var(--fg-3);">at dispatchEvent (react-dom.js:2487)</div>+ <div style="display: flex; gap: 12px; margin-top: 10px;">+ <span style="color: var(--a2);">× 1,284 events</span>+ <span style="color: var(--fg-2);">· 312 users affected</span>+ </div>+ </div>+ </div>++ <!-- Tall: AI observability -->+ <div class="b b-tall">+ <div class="b-head">+ <div class="b-ico" style="background: color-mix(in oklab, var(--a3) 20%, transparent); border-color: color-mix(in oklab, var(--a3) 40%, transparent); color: var(--a3);">+ <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><path d="M12 2L4 7v10l8 5 8-5V7z"/><path d="m12 12 8-5M12 12v10M12 12 4 7"/></svg>+ </div>+ <span class="mono" style="font-size: 11px; letter-spacing: .1em; color: var(--fg-3); text-transform: uppercase;">02 · AI observability</span>+ </div>+ <h4>Every LLM call. Every token. Every dollar.</h4>+ <p>Tracks cost, tokens, latency, and full conversation content for OpenAI, Anthropic, OpenRouter, and any OTel-compatible provider. Zero code changes.</p>+ <div style="margin-top: 18px; display: grid; gap: 8px;">+ <div style="display: flex; justify-content: space-between; padding: 10px 12px; border-radius: 6px; background: rgba(255,255,255,0.02); border: 1px solid var(--hair); font-family: var(--f-mono); font-size: 12px;">+ <span style="color: var(--fg-1);">claude-sonnet-4-5</span>+ <span style="color: var(--a2);">$0.042</span>+ </div>+ <div style="display: flex; justify-content: space-between; padding: 10px 12px; border-radius: 6px; background: rgba(255,255,255,0.02); border: 1px solid var(--hair); font-family: var(--f-mono); font-size: 12px;">+ <span style="color: var(--fg-1);">gpt-4o-mini</span>+ <span style="color: var(--a2);">$0.0018</span>+ </div>+ <div style="display: flex; justify-content: space-between; padding: 10px 12px; border-radius: 6px; background: rgba(255,255,255,0.02); border: 1px solid var(--hair); font-family: var(--f-mono); font-size: 12px;">+ <span style="color: var(--fg-1);">o1-preview</span>+ <span style="color: var(--a3);">$1.284</span>+ </div>+ <div style="display: flex; justify-content: space-between; padding: 10px 12px; border-radius: 6px; background: color-mix(in oklab, var(--a1) 10%, transparent); border: 1px solid color-mix(in oklab, var(--a1) 30%, transparent); font-family: var(--f-mono); font-size: 12px;">+ <span style="color: var(--fg-0);">24h total</span>+ <span style="color: var(--fg-0); font-weight: 600;">$247.32</span>+ </div>+ </div>+ </div>++ <!-- Medium: alerts -->+ <div class="b b-med">+ <div class="b-head">+ <div class="b-ico" style="background: color-mix(in oklab, var(--a4) 20%, transparent); border-color: color-mix(in oklab, var(--a4) 40%, transparent); color: var(--a4);">+ <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><path d="M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"/><path d="M13.7 21a2 2 0 0 1-3.4 0"/></svg>+ </div>+ <span class="mono" style="font-size: 11px; letter-spacing: .1em; color: var(--fg-3); text-transform: uppercase;">03 · Alerts</span>+ </div>+ <h4>Slack. GitHub. Webhook. Page.</h4>+ <p>Route by impact threshold, service, or tag. Your on-call doesn't change — just starts getting fewer false positives.</p>+ </div>++ <!-- Medium: metrics -->+ <div class="b b-med">+ <div class="b-head">+ <div class="b-ico" style="background: color-mix(in oklab, var(--ok) 20%, transparent); border-color: color-mix(in oklab, var(--ok) 40%, transparent); color: var(--ok);">+ <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><path d="M3 3v18h18"/><path d="M7 14l4-4 4 4 5-5"/></svg>+ </div>+ <span class="mono" style="font-size: 11px; letter-spacing: .1em; color: var(--fg-3); text-transform: uppercase;">04 · Custom metrics</span>+ </div>+ <h4>Emit a metric. Build a widget.</h4>+ <p>Goroutine counts, queue depth, business KPIs. One function call to emit, drag-and-drop to chart.</p>+ </div>++ <!-- Medium: logs -->+ <div class="b b-med">+ <div class="b-head">+ <div class="b-ico" style="background: color-mix(in oklab, var(--a2) 20%, transparent); border-color: color-mix(in oklab, var(--a2) 40%, transparent); color: var(--a2);">+ <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><path d="M4 4h16v16H4z"/><path d="M8 8h8M8 12h8M8 16h5"/></svg>+ </div>+ <span class="mono" style="font-size: 11px; letter-spacing: .1em; color: var(--fg-3); text-transform: uppercase;">05 · Logs</span>+ </div>+ <h4>Structured logs. Trace-linked.</h4>+ <p>Every log line carries its trace ID. Click a span, see its logs. Click a log, see its span. Both directions.</p>+ </div>++ <!-- Medium: background jobs -->+ <div class="b b-med">+ <div class="b-head">+ <div class="b-ico" style="background: color-mix(in oklab, var(--a1) 20%, transparent); border-color: color-mix(in oklab, var(--a1) 40%, transparent); color: var(--a1);">+ <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><circle cx="12" cy="12" r="9"/><path d="M12 7v5l3 2"/></svg>+ </div>+ <span class="mono" style="font-size: 11px; letter-spacing: .1em; color: var(--fg-3); text-transform: uppercase;">06 · Background jobs</span>+ </div>+ <h4>Cron, queues, workers.</h4>+ <p>Same treatment as HTTP. Duration, failure rate, stack traces — in their own dashboard.</p>+ </div>+ </div>+ </div>+</section>++<!-- FAQ -->+<section class="faq">+ <div class="wrap">+ <div style="text-align: center; margin-bottom: 50px;">+ <span class="eyebrow">FAQ</span>+ <h2 style="margin-top: 12px;">Straight answers.</h2>+ </div>+ <div class="faq-list">+ <details class="q" open>+ <summary>How is Traceway cheaper than Datadog?<span class="plus">+</span></summary>+ <p>Two reasons. One: we store telemetry in ClickHouse, which compresses ~400× better than row-oriented stores Datadog uses for the same data. Two: we don't meter per event, per host, per custom metric, per ingested byte, per user, per APM seat, and per everything else. Fixed monthly tier, or free self-hosted. That's the pricing page.</p>+ </details>+ <details class="q">+ <summary>Nobody else has Flutter session replay?<span class="plus">+</span></summary>+ <p>Correct — as of 2026, we're the only observability platform shipping a native Flutter session replay SDK with widget-tree aware recording. Sentry has breadcrumbs for Flutter. Datadog has RUM without replay. Traceway records the full rendered widget tree with masking, scrubbing, and automatic exception attachment.</p>+ </details>+ <details class="q">+ <summary>Is it really free to self-host?<span class="plus">+</span></summary>+ <p>Yes. MIT license, no feature gating, no "community edition" asterisks. <code class="mono" style="background: var(--ink-2); padding: 2px 6px; border-radius: 3px;">docker compose up -d</code> and you're running the same code that powers Traceway Cloud.</p>+ </details>+ <details class="q">+ <summary>What languages and frameworks do you support?<span class="plus">+</span></summary>+ <p>Native SDKs for Go (Gin, Chi, Fiber, net/http), JavaScript (Node, NestJS, React, Vue, Svelte, Next.js, Remix), Dart/Flutter, and PHP (Symfony). Any OpenTelemetry-compatible language — Java, Python, .NET, Ruby — exports to Traceway over OTLP without a proprietary SDK.</p>+ </details>+ <details class="q">+ <summary>How does the Impact Score work?<span class="plus">+</span></summary>+ <p>It's the max of five service-level signals: inverted Apdex, error rate floor, P99 floor, client-error floor, and volume × error. One bad signal and the endpoint surfaces. You can tune the latency threshold per-endpoint so an analytics route and a checkout route don't share a single definition of "slow."</p>+ </details>+ <details class="q">+ <summary>Will my bill ever spike?<span class="plus">+</span></summary>+ <p>No. Fixed-price tiers with no overage charges. If you approach your included volume, we email you first. Your bill doesn't change without your explicit approval, ever.</p>+ </details>+ </div>+ </div>+</section>++<!-- CTA -->+<section class="final-cta">+ <div class="wrap">+ <div class="final-cta-box">+ <span class="eyebrow" style="position: relative;">Stop paying for six tools</span>+ <h2 style="margin: 20px 0 12px;">Detect. Replay. Resolve.</h2>+ <p style="position: relative; max-width: 540px; margin: 0 auto; color: var(--fg-2);">+ Ship your next production fix with the session replay in one tab and the distributed trace in the other. Same window.+ </p>+ <div class="btns">+ <a class="btn btn-accent" href="#">Start free · No credit card</a>+ <a class="btn btn-ghost" href="#">Book a demo</a>+ </div>+ </div>+ </div>+</section>++<!-- FOOTER -->+<footer>+ <div class="wrap">+ <div class="footer-grid">+ <div class="footer-col">+ <img src="images/logo.png" alt="Traceway" style="height: 22px; filter: invert(1) brightness(1.1); margin-bottom: 16px;" />+ <p class="dim" style="font-size: 13px; max-width: 260px;">Observability that actually closes the loop. MIT-licensed, open source, and a fraction of the cost.</p>+ </div>+ <div class="footer-col">+ <h5>Product</h5>+ <a>Detect</a><a>Resolve</a><a>Flutter replay</a><a>AI tracing</a><a>Pricing</a>+ </div>+ <div class="footer-col">+ <h5>Developers</h5>+ <a>Documentation</a><a>SDKs</a><a>OpenTelemetry</a><a>Self-host</a>+ </div>+ <div class="footer-col">+ <h5>Company</h5>+ <a>About</a><a>Customers</a><a>Careers</a><a>Contact</a><a>Security</a>+ </div>+ <div class="footer-col">+ <h5>Legal</h5>+ <a>Privacy</a><a>Terms</a><a>DPA</a><a>Status</a>+ </div>+ </div>+ <div class="footer-bot">+ <span>© 2026 TRACEWAY · MIT LICENSED</span>+ <span>MADE FOR ENGINEERS WHO SHIP</span>+ </div>+ </div>+</footer>++<!-- TWEAKS panel -->+<div class="tweaks" id="tweaks">+ <h6>Accent palette</h6>+ <div class="tweaks-row" id="palette-row"></div>+ <h6>Background mood</h6>+ <div class="tweaks-row" id="mood-row"></div>+</div>++<script type="text/babel" src="components/Dashboard.jsx"></script>+<script type="text/babel" src="components/Sections.jsx"></script>+<script type="text/babel" src="components/Setup.jsx"></script>+<script type="text/babel">+ const mount = (id, el) => {+ const node = document.getElementById(id);+ if (node) ReactDOM.createRoot(node).render(el);+ };+ mount("dashboard-mount", <LiveDashboard />);+ if (document.getElementById("setup-mount")) mount("setup-mount", <SetupTabs />);+ if (document.getElementById("flutter-mount")) mount("flutter-mount", <FlutterReplay />);+ mount("cost-mount", <CostComparison />);+</script>++<script src="polish.js" defer></script>++<script>+// Nav dropdowns — hover on desktop, click toggle+(function(){+ const drops = document.querySelectorAll('.nav-links .drop');+ let hoverTimeout;+ drops.forEach(d => {+ const trigger = d.querySelector('.navitem');+ d.addEventListener('mouseenter', () => {+ clearTimeout(hoverTimeout);+ drops.forEach(x => x.classList.remove('open'));+ d.classList.add('open');+ });+ d.addEventListener('mouseleave', () => {+ hoverTimeout = setTimeout(() => d.classList.remove('open'), 150);+ });+ trigger.addEventListener('click', (e) => {+ e.stopPropagation();+ const wasOpen = d.classList.contains('open');+ drops.forEach(x => x.classList.remove('open'));+ if (!wasOpen) d.classList.add('open');+ });+ });+ document.addEventListener('click', (e) => {+ if (!e.target.closest('.nav-links .drop')) {+ drops.forEach(x => x.classList.remove('open'));+ }+ });+})();+</script>++<script>+// Tweaks system+const TWEAK_DEFAULTS = /*EDITMODE-BEGIN*/{+ "palette": "indigo",+ "mood": "cool"+}/*EDITMODE-END*/;++const PALETTES = {+ indigo: { a1: "#7c5cff", a2: "#00d4ff", a3: "#ff4d8d", a4: "#ffd166", label: "Indigo × Cyan" },+ violet: { a1: "#b768ff", a2: "#ff6ab5", a3: "#ff4d8d", a4: "#ffd166", label: "Violet × Pink" },+ neon: { a1: "#6effc0", a2: "#00e5a0", a3: "#ff5a5f", a4: "#ffd166", label: "Traceway green" },+ ember: { a1: "#ff7a3d", a2: "#ffd166", a3: "#ff4d6d", a4: "#ffb347", label: "Ember × Amber" },+ ice: { a1: "#4fb0ff", a2: "#8dffe9", a3: "#ff6ab5", a4: "#ffd166", label: "Ice × Mint" },+};++const MOODS = {+ cool: { label: "Deep cool" },+ dim: { label: "Pure dim" },+ mid: { label: "Mid dusk" },+};++function applyTweaks(state) {+ const p = PALETTES[state.palette] || PALETTES.indigo;+ document.documentElement.style.setProperty("--a1", p.a1);+ document.documentElement.style.setProperty("--a2", p.a2);+ document.documentElement.style.setProperty("--a3", p.a3);+ document.documentElement.style.setProperty("--a4", p.a4);+ if (state.mood === "dim") {+ document.body.style.background = "#05070c";+ document.body.style.backgroundImage = "none";+ } else if (state.mood === "mid") {+ document.body.style.background = "";+ document.body.style.backgroundImage = `radial-gradient(900px 500px at 50% 0%, color-mix(in oklab, ${p.a1} 18%, transparent), transparent 60%)`;+ document.body.style.backgroundColor = "#0a0d14";+ } else {+ document.body.style.background = "";+ document.body.style.backgroundImage = "";+ }+}++let state = { ...TWEAK_DEFAULTS };+applyTweaks(state);++function buildTweaks() {+ const palRow = document.getElementById("palette-row");+ palRow.innerHTML = "";+ Object.entries(PALETTES).forEach(([k, v]) => {+ const b = document.createElement("button");+ b.className = "sw" + (state.palette === k ? " active" : "");+ b.innerHTML = `<span class="swatches"><i style="background:${v.a1}"></i><i style="background:${v.a2}"></i><i style="background:${v.a3}"></i></span><span>${v.label}</span>`;+ b.onclick = () => {+ state.palette = k;+ applyTweaks(state);+ buildTweaks();+ window.parent.postMessage({ type: "__edit_mode_set_keys", edits: { palette: k } }, "*");+ };+ palRow.appendChild(b);+ });+ const moodRow = document.getElementById("mood-row");+ moodRow.innerHTML = "";+ Object.entries(MOODS).forEach(([k, v]) => {+ const b = document.createElement("button");+ b.className = "sw" + (state.mood === k ? " active" : "");+ b.innerHTML = `<span>${v.label}</span>`;+ b.onclick = () => {+ state.mood = k;+ applyTweaks(state);+ buildTweaks();+ window.parent.postMessage({ type: "__edit_mode_set_keys", edits: { mood: k } }, "*");+ };+ moodRow.appendChild(b);+ });+}+buildTweaks();++window.addEventListener("message", (e) => {+ if (!e.data) return;+ if (e.data.type === "__activate_edit_mode") {+ document.getElementById("tweaks").classList.add("open");+ } else if (e.data.type === "__deactivate_edit_mode") {+ document.getElementById("tweaks").classList.remove("open");+ }+});+window.parent.postMessage({ type: "__edit_mode_available" }, "*");+</script>++</body>+</html>diff --git a/website/design guidelines/images/ai-traces-detail.png b/website/design guidelines/images/ai-traces-detail.pngnew file mode 100644index 00000000..521ab9c9Binary files /dev/null and b/website/design guidelines/images/ai-traces-detail.png differdiff --git a/website/design guidelines/images/ai-traces-list.png b/website/design guidelines/images/ai-traces-list.pngnew file mode 100644index 00000000..871db200Binary files /dev/null and b/website/design guidelines/images/ai-traces-list.png differdiff --git a/website/design guidelines/images/distributed-trace.png b/website/design guidelines/images/distributed-trace.pngnew file mode 100644index 00000000..e9fcb6f1Binary files /dev/null and b/website/design guidelines/images/distributed-trace.png differdiff --git a/website/design guidelines/images/logo.png b/website/design guidelines/images/logo.pngnew file mode 100644index 00000000..eb011e5bBinary files /dev/null and b/website/design guidelines/images/logo.png differdiff --git a/website/design guidelines/images/logs.png b/website/design guidelines/images/logs.pngnew file mode 100644index 00000000..f8cb3715Binary files /dev/null and b/website/design guidelines/images/logs.png differdiff --git a/website/design guidelines/images/screenshot-1.png b/website/design guidelines/images/screenshot-1.pngnew file mode 100644index 00000000..46c7908dBinary files /dev/null and b/website/design guidelines/images/screenshot-1.png differdiff --git a/website/design guidelines/images/screenshot-2.png b/website/design guidelines/images/screenshot-2.pngnew file mode 100644index 00000000..ff23c868Binary files /dev/null and b/website/design guidelines/images/screenshot-2.png differdiff --git a/website/design guidelines/images/screenshot-3.png b/website/design guidelines/images/screenshot-3.pngnew file mode 100644index 00000000..d613efc4Binary files /dev/null and b/website/design guidelines/images/screenshot-3.png differdiff --git a/website/design guidelines/images/screenshot-4.png b/website/design guidelines/images/screenshot-4.pngnew file mode 100644index 00000000..e4a2878fBinary files /dev/null and b/website/design guidelines/images/screenshot-4.png differdiff --git a/website/design guidelines/images/session-replay.png b/website/design guidelines/images/session-replay.pngnew file mode 100644index 00000000..cb07a402Binary files /dev/null and b/website/design guidelines/images/session-replay.png differdiff --git a/website/design guidelines/polish.js b/website/design guidelines/polish.jsnew file mode 100644index 00000000..7e12b0e1--- /dev/null+++ b/website/design guidelines/polish.js@@ -0,0 +1,270 @@+/* Traceway — high-end motion polish (GSAP + ScrollTrigger)+ Restraint over flash. Every animation must feel like glass settling. */+(function () {+ if (!window.gsap || !window.ScrollTrigger) return;+ gsap.registerPlugin(ScrollTrigger);++ const reduceMotion = window.matchMedia('(prefers-reduced-motion: reduce)').matches;+ if (reduceMotion) return;++ // ---------- 0. Set initial states immediately so nothing flashes ----------+ // (kept tiny — bigger reveals are scoped per-section below)+ gsap.set('[data-reveal]', { opacity: 0, y: 24 });+ gsap.set('[data-reveal-stagger] > *', { opacity: 0, y: 18 });+ gsap.set('[data-fade]', { opacity: 0 });++ // ---------- 1. Page entrance — hero gets a deliberate, layered curtain ----------+ const heroTl = gsap.timeline({+ defaults: { ease: 'power3.out' },+ });++ heroTl+ .from('.nav', { y: -20, opacity: 0, duration: 0.7 }, 0)+ .from('.hero .chip', { y: 16, opacity: 0, duration: 0.7 }, 0.15)+ .from('.hero h1 > *, .hero h1', {+ y: 30, opacity: 0, duration: 0.9, stagger: 0.06,+ }, 0.25)+ .from('.hero-sub', { y: 18, opacity: 0, duration: 0.7 }, 0.55)+ .from('.hero-cta-row > *', {+ y: 14, opacity: 0, duration: 0.6, stagger: 0.08,+ }, 0.7)+ .from('.pillars > *', {+ y: 24, opacity: 0, duration: 0.7, stagger: 0.07, ease: 'power2.out',+ }, 0.85)+ .from('.pillars-sec > *', {+ y: 12, opacity: 0, duration: 0.5, stagger: 0.05,+ }, 1.05)+ .from('#dashboard-mount', {+ y: 40, opacity: 0, scale: 0.985, duration: 1.1, ease: 'power3.out',+ }, 0.4);++ // ---------- 2. Scroll-driven reveals on every section heading ----------+ document.querySelectorAll('section').forEach((sec) => {+ if (sec.classList.contains('hero')) return;+ const eyebrow = sec.querySelector('.eyebrow');+ const heading = sec.querySelector('h2');+ const para = sec.querySelector('h2 + p, h2 ~ p, .muted');+ const els = [eyebrow, heading, para].filter(Boolean);+ if (!els.length) return;++ gsap.set(els, { opacity: 0, y: 28 });+ ScrollTrigger.create({+ trigger: sec,+ start: 'top 78%',+ once: true,+ onEnter: () => {+ gsap.to(els, {+ opacity: 1, y: 0, duration: 0.85, ease: 'power3.out', stagger: 0.08,+ });+ },+ });+ });++ // ---------- 3. Pillar cards rise on enter ----------+ ['.bento-grid', '.feature-row', '.deploy-grid'].forEach((sel) => {+ document.querySelectorAll(sel).forEach((grid) => {+ const cards = grid.children;+ gsap.set(cards, { opacity: 0, y: 36 });+ ScrollTrigger.create({+ trigger: grid,+ start: 'top 80%',+ once: true,+ onEnter: () => {+ gsap.to(cards, {+ opacity: 1, y: 0, duration: 0.9, ease: 'power3.out',+ stagger: { each: 0.07, from: 'start' },+ });+ },+ });+ });+ });++ // ---------- 4. Parallax — hero dashboard floats slightly slower than scroll ----------+ const dash = document.getElementById('dashboard-mount');+ if (dash) {+ gsap.to(dash, {+ y: -60,+ ease: 'none',+ scrollTrigger: {+ trigger: '.hero',+ start: 'top top',+ end: 'bottom top',+ scrub: 0.8,+ },+ });+ }++ // Aurora glow drifts on scroll (the radial-gradient body bg via a pseudo proxy)+ const auroraProxy = document.createElement('div');+ auroraProxy.style.cssText = `+ position: fixed; inset: -10vh -10vw; pointer-events: none; z-index: -1;+ background:+ radial-gradient(700px 420px at var(--ax,80%) var(--ay,5%), color-mix(in oklab, var(--a1) 20%, transparent), transparent 65%),+ radial-gradient(600px 380px at var(--bx,5%) var(--by,30%), color-mix(in oklab, var(--a2) 14%, transparent), transparent 65%);+ transition: opacity .4s;+ `;+ document.body.appendChild(auroraProxy);+ gsap.to(auroraProxy, {+ '--ax': '15%', '--ay': '50%',+ '--bx': '90%', '--by': '70%',+ ease: 'none',+ scrollTrigger: { start: 'top top', end: 'bottom bottom', scrub: 1.2 },+ });++ // ---------- 5. Number counters in the deploy stats strip ----------+ document.querySelectorAll('.stats-strip .num').forEach((el) => {+ const raw = el.textContent.trim();+ // pull last numeric run+ const match = raw.match(/([\d.]+)/);+ if (!match) return;+ const target = parseFloat(match[1]);+ const prefix = raw.slice(0, match.index);+ const suffix = raw.slice(match.index + match[0].length);+ const isFloat = match[1].includes('.');+ const obj = { v: 0 };+ // Wrap in <em> if original had <em>, preserve markup+ const hasEm = el.querySelector('em');+ ScrollTrigger.create({+ trigger: el,+ start: 'top 88%',+ once: true,+ onEnter: () => {+ gsap.to(obj, {+ v: target, duration: 1.6, ease: 'power2.out',+ onUpdate: () => {+ const n = isFloat ? obj.v.toFixed(1) : Math.round(obj.v);+ el.innerHTML = hasEm+ ? `${prefix}<em>${n}${suffix}</em>`+ : `${prefix}${n}${suffix}`;+ },+ });+ },+ });+ });++ // ---------- 6. Magnetic CTAs ----------+ document.querySelectorAll('.btn-accent, .btn-primary').forEach((btn) => {+ const strength = 18;+ btn.addEventListener('mousemove', (e) => {+ const r = btn.getBoundingClientRect();+ const x = (e.clientX - r.left - r.width / 2) / (r.width / 2);+ const y = (e.clientY - r.top - r.height / 2) / (r.height / 2);+ gsap.to(btn, { x: x * strength, y: y * strength, duration: 0.4, ease: 'power3.out' });+ });+ btn.addEventListener('mouseleave', () => {+ gsap.to(btn, { x: 0, y: 0, duration: 0.55, ease: 'elastic.out(1, 0.5)' });+ });+ });++ // ---------- 7. Logos row → seamless marquee ----------+ document.querySelectorAll('.logos-row').forEach((row) => {+ const items = Array.from(row.children);+ if (!items.length) return;+ // duplicate twice for seamless loop+ const wrap = document.createElement('div');+ wrap.className = 'logos-marquee';+ wrap.style.cssText = `+ display: flex; gap: 40px; align-items: center; width: max-content;+ will-change: transform;+ `;+ [0, 1].forEach(() => {+ items.forEach((it) => {+ const c = it.cloneNode(true);+ c.style.flexShrink = '0';+ wrap.appendChild(c);+ });+ });+ items.forEach((it) => it.remove());+ row.style.overflow = 'hidden';+ row.style.maskImage = 'linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent)';+ row.style.webkitMaskImage = 'linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent)';+ row.style.justifyContent = 'flex-start';+ row.appendChild(wrap);+ // measure half width+ const totalW = wrap.scrollWidth / 2;+ gsap.to(wrap, {+ x: -totalW,+ duration: 38,+ ease: 'none',+ repeat: -1,+ });+ });++ // ---------- 8. Cost-bar fills animate from 0 on scroll ----------+ ScrollTrigger.create({+ trigger: '#cost-mount',+ start: 'top 75%',+ once: true,+ onEnter: () => {+ // Wait one tick for React to settle, then look for fills+ requestAnimationFrame(() => {+ const fills = document.querySelectorAll('#cost-mount [style*="width"]');+ fills.forEach((f) => {+ const m = (f.getAttribute('style') || '').match(/width:\s*([\d.]+)%/);+ if (!m) return;+ const target = m[1];+ gsap.fromTo(f, { width: 0 }, {+ width: target + '%', duration: 1.2, ease: 'power3.out',+ });+ });+ });+ },+ });++ // ---------- 9. Terminal cursor + line-by-line type-on for self-host block ----------+ const termLines = document.querySelectorAll('.term .term-line');+ if (termLines.length) {+ gsap.set(termLines, { opacity: 0, x: -8 });+ ScrollTrigger.create({+ trigger: '.term',+ start: 'top 75%',+ once: true,+ onEnter: () => {+ gsap.to(termLines, {+ opacity: 1, x: 0, duration: 0.45, ease: 'power2.out',+ stagger: 0.18,+ });+ },+ });+ }++ // ---------- 10. Sticky-link underline indicator on nav (subtle ring on hover) ----------+ // Just elevate buttons on scroll to give the nav a "thickening" feel+ ScrollTrigger.create({+ start: 60,+ end: 99999,+ onUpdate: (self) => {+ const nav = document.querySelector('.nav');+ if (!nav) return;+ nav.style.background = self.progress > 0+ ? 'color-mix(in oklab, var(--ink-0) 90%, transparent)'+ : 'color-mix(in oklab, var(--ink-0) 70%, transparent)';+ },+ });++ // ---------- 11. Bento card hover micro-tilt ----------+ document.querySelectorAll('.bento-grid .b').forEach((card) => {+ card.style.transformStyle = 'preserve-3d';+ card.style.transition = 'transform 0.4s cubic-bezier(.2,.8,.2,1)';+ card.addEventListener('mousemove', (e) => {+ const r = card.getBoundingClientRect();+ const px = (e.clientX - r.left) / r.width - 0.5;+ const py = (e.clientY - r.top) / r.height - 0.5;+ gsap.to(card, {+ rotationY: px * 4,+ rotationX: -py * 4,+ y: -2,+ duration: 0.5,+ ease: 'power2.out',+ transformPerspective: 1000,+ });+ });+ card.addEventListener('mouseleave', () => {+ gsap.to(card, { rotationX: 0, rotationY: 0, y: 0, duration: 0.7, ease: 'power3.out' });+ });+ });++ // ---------- 12. Refresh ScrollTrigger after React mounts ----------+ setTimeout(() => ScrollTrigger.refresh(), 600);+ setTimeout(() => ScrollTrigger.refresh(), 1500);+})();diff --git a/website/design guidelines/styles.css b/website/design guidelines/styles.cssnew file mode 100644index 00000000..88e561e5--- /dev/null+++ b/website/design guidelines/styles.css@@ -0,0 +1,508 @@+/* Traceway — Kinetic Observability */+:root {+ /* Ink & surfaces */+ --ink-0: #05070c; /* page */+ --ink-1: #0a0d14; /* surface */+ --ink-2: #0f131c; /* raised */+ --ink-3: #151a24; /* card */+ --ink-4: #1d2430; /* card-hi */+ --ink-5: #283041;+ --hair: rgba(255,255,255,0.06);+ --hair-2: rgba(255,255,255,0.10);++ /* Text */+ --fg-0: #f4f6fb;+ --fg-1: #c9d0dd;+ --fg-2: #8a93a6;+ --fg-3: #5a6374;++ /* Accent — Electric Indigo palette (default) */+ --a1: #7c5cff; /* primary */+ --a2: #00d4ff; /* cyan */+ --a3: #ff4d8d; /* hot pink alarm */+ --a4: #ffd166; /* warn */+ --ok: #22e0a8;+ --crit: #ff5a5f;++ /* Fonts — terminal-native type system for a devtool audience */+ --f-display: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;+ --f-body: "IBM Plex Mono", "JetBrains Mono", ui-monospace, monospace;+ --f-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;++ --radius: 6px;+ --radius-lg: 10px;+ --max: 1240px;+}++* { box-sizing: border-box; }+html, body { margin: 0; padding: 0; }+html { background: var(--ink-0); color-scheme: dark; }+body {+ font-family: var(--f-body);+ color: var(--fg-1);+ background:+ radial-gradient(1200px 700px at 85% -10%, color-mix(in oklab, var(--a1) 22%, transparent), transparent 60%),+ radial-gradient(900px 600px at -10% 20%, color-mix(in oklab, var(--a2) 14%, transparent), transparent 60%),+ var(--ink-0);+ font-feature-settings: "ss01","cv11";+ -webkit-font-smoothing: antialiased;+ overflow-x: hidden;+}++a { color: inherit; text-decoration: none; }+button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }++/* Typography — terminal / devtool */+.display, h1, h2, h3, h4, h5, h6 { font-family: var(--f-display); color: var(--fg-0); font-weight: 700; }+h1 { font-size: clamp(40px, 5.6vw, 76px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 700; }+h1 em { font-style: normal; color: var(--a1); font-weight: 700; }+h2 { font-size: clamp(28px, 3.2vw, 46px); line-height: 1.05; letter-spacing: -0.025em; font-weight: 700; }+h2 em { font-style: normal; color: var(--a1); font-weight: 700; }+h3 { font-size: clamp(20px, 1.7vw, 26px); line-height: 1.2; letter-spacing: -0.015em; font-weight: 600; }+h4 { font-family: var(--f-display); font-weight: 600; letter-spacing: -0.01em; }+p { color: var(--fg-1); font-size: 15px; line-height: 1.65; letter-spacing: -0.005em; }+.mono { font-family: var(--f-mono); }+.eyebrow { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--a2); font-weight: 500; }+.eyebrow::before { content: "// "; opacity: .5; }+.muted { color: var(--fg-2); }+.dim { color: var(--fg-3); }++/* Layout */+.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }+section { position: relative; }++/* Grid background (subtle blueprint) */+.gridbg::before {+ content: ""; position: absolute; inset: 0; pointer-events: none;+ background-image:+ linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px),+ linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px);+ background-size: 56px 56px;+ mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 50%, transparent 100%);+}++/* Buttons */+.btn {+ display: inline-flex; align-items: center; gap: 8px;+ padding: 12px 18px; border-radius: var(--radius);+ font-family: var(--f-display); font-weight: 500; font-size: 14px;+ letter-spacing: -0.01em; transition: transform .12s ease, background .2s, border-color .2s, color .2s;+ border: 1px solid transparent;+ white-space: nowrap;+}+.btn:active { transform: scale(0.97); }+.btn-primary {+ background: var(--fg-0);+ color: var(--ink-0);+ box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 0 0 1px rgba(255,255,255,0.12);+}+.btn-primary:hover { background: #fff; }+.btn-accent {+ background: linear-gradient(180deg, color-mix(in oklab, var(--a1) 100%, white 12%), var(--a1));+ color: #0a0612;+ box-shadow: 0 10px 30px -12px color-mix(in oklab, var(--a1) 80%, transparent), 0 0 0 1px color-mix(in oklab, var(--a1) 40%, transparent);+}+.btn-accent:hover { filter: brightness(1.06); }+.btn-ghost { border-color: var(--hair-2); color: var(--fg-0); }+.btn-ghost:hover { background: var(--ink-3); border-color: var(--hair-2); }+.btn-sm { padding: 7px 12px; font-size: 13px; }++/* Chips */+.chip {+ display: inline-flex; align-items: center; gap: 6px;+ padding: 4px 8px; border-radius: 999px;+ font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.04em;+ color: var(--fg-1); background: var(--ink-3); border: 1px solid var(--hair);+}+.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--a2); box-shadow: 0 0 8px var(--a2); }+.chip.ok .dot { background: var(--ok); box-shadow: 0 0 8px var(--ok); }+.chip.crit .dot { background: var(--crit); box-shadow: 0 0 8px var(--crit); }++/* Cards */+.card {+ background: linear-gradient(180deg, var(--ink-3), var(--ink-2));+ border: 1px solid var(--hair);+ border-radius: var(--radius-lg);+ padding: 22px;+}++/* Divider */+.hair { height: 1px; background: var(--hair); }++/* Nav */+.nav {+ position: sticky; top: 0; z-index: 50;+ background: color-mix(in oklab, var(--ink-0) 70%, transparent);+ backdrop-filter: blur(14px) saturate(140%);+ -webkit-backdrop-filter: blur(14px) saturate(140%);+ border-bottom: 1px solid var(--hair);+}+.nav-inner {+ display: flex; align-items: center; justify-content: space-between;+ height: 64px;+}+.nav .logo img { height: 22px; width: auto; display: block; filter: invert(1) brightness(1.1); }+.nav-links { display: flex; gap: 6px; align-items: center; }+.nav-links a, .nav-links .navitem {+ font-family: var(--f-display); font-size: 14px; color: var(--fg-1); font-weight: 500;+ position: relative; padding: 8px 12px; border-radius: 6px;+ display: inline-flex; align-items: center; gap: 6px;+ cursor: pointer;+}+.nav-links a:hover, .nav-links .navitem:hover { color: var(--fg-0); background: var(--ink-2); }+.nav-links .navitem .chev { transition: transform .2s; opacity: .6; }+.nav-links .drop { position: relative; }+.nav-links .drop.open .navitem { color: var(--fg-0); background: var(--ink-2); }+.nav-links .drop.open .chev { transform: rotate(180deg); }++.mega {+ position: absolute; top: calc(100% + 10px); left: -20px;+ min-width: 680px;+ background: linear-gradient(180deg, var(--ink-3), var(--ink-2));+ border: 1px solid var(--hair-2);+ border-radius: 12px;+ padding: 24px;+ box-shadow: 0 30px 60px -20px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.03);+ opacity: 0; pointer-events: none; transform: translateY(-4px);+ transition: opacity .15s, transform .15s;+ z-index: 60;+}+.drop.open .mega { opacity: 1; pointer-events: auto; transform: translateY(0); }+.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }+.mega-col h6 {+ font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em;+ text-transform: uppercase; color: var(--fg-3); margin: 0 0 14px; font-weight: 500;+}+.mega-link {+ display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start;+ padding: 8px 10px; border-radius: 6px; margin: 0 -10px;+ text-decoration: none; color: var(--fg-1); transition: background .15s;+}+.mega-link:hover { background: rgba(255,255,255,0.03); color: var(--fg-0); }+.mega-link .mi {+ width: 28px; height: 28px; border-radius: 6px;+ background: rgba(255,255,255,0.04); border: 1px solid var(--hair);+ display: grid; place-items: center; color: var(--a2);+}+.mega-link .mt { font-family: var(--f-display); font-size: 14px; font-weight: 500; letter-spacing: -0.01em; display: block; color: inherit; }+.mega-link .md { font-size: 12px; color: var(--fg-3); margin-top: 2px; line-height: 1.4; }++.mega-divider { height: 1px; background: var(--hair); margin: 18px -24px 0; }+.mega-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; margin: 0 -4px; }+.mega-foot a { font-family: var(--f-mono); font-size: 11px; color: var(--fg-2); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }+.mega-foot a:hover { color: var(--a2); }++/* Primary pillar cards (Logs/Traces/Metrics in hero) */+.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 34px; }+.pillar {+ padding: 18px; border-radius: 10px;+ background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));+ border: 1px solid var(--hair);+ position: relative; overflow: hidden;+}+.pillar .p-ico {+ width: 32px; height: 32px; border-radius: 7px;+ display: grid; place-items: center;+ background: color-mix(in oklab, var(--pc) 18%, transparent);+ border: 1px solid color-mix(in oklab, var(--pc) 40%, transparent);+ color: var(--pc);+ margin-bottom: 14px;+}+.pillar h4 { margin: 0 0 4px; font-family: var(--f-display); font-weight: 600; font-size: 17px; color: var(--fg-0); letter-spacing: -0.01em; }+.pillar p { margin: 0; font-size: 13px; color: var(--fg-2); line-height: 1.45; }++.pillars-sec { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }+.pillar-sec {+ padding: 12px 14px; border-radius: 8px;+ background: rgba(255,255,255,0.02);+ border: 1px solid var(--hair);+ display: flex; align-items: center; gap: 10px;+ font-family: var(--f-display); font-size: 13px; color: var(--fg-1);+}+.pillar-sec svg { color: var(--pc); flex-shrink: 0; }++@media (max-width: 1080px) {+ .pillars, .pillars-sec { grid-template-columns: 1fr 1fr; }+ .mega { min-width: 0; left: -8px; right: auto; max-width: 90vw; }+ .mega-grid { grid-template-columns: 1fr; gap: 20px; }+ .nav-links { display: none; }+}+.nav-cta { display: flex; gap: 10px; align-items: center; }++/* HERO */+.hero { padding: 80px 0 60px; position: relative; }+.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--a2), var(--a1) 60%, var(--a3)); -webkit-background-clip: text; background-clip: text; color: transparent; }+.hero-grid { display: grid; grid-template-columns: 1.05fr 1.3fr; gap: 56px; align-items: center; }+.hero-sub { font-size: 19px; color: var(--fg-1); max-width: 540px; line-height: 1.5; margin-top: 22px; }+.hero-cta-row { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; align-items: center; }+.hero-tags { display: flex; gap: 8px; margin-top: 28px; flex-wrap: wrap; }+.tag {+ font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;+ color: var(--fg-2); padding: 5px 9px; border: 1px solid var(--hair-2); border-radius: 4px;+}+.tag.active { color: var(--a1); border-color: color-mix(in oklab, var(--a1) 50%, transparent); background: color-mix(in oklab, var(--a1) 10%, transparent); }++/* Live dashboard mock */+.live-dash {+ position: relative;+ border-radius: 14px;+ overflow: hidden;+ border: 1px solid var(--hair-2);+ background: linear-gradient(180deg, #0d1220, #080b12);+ box-shadow:+ 0 40px 80px -30px rgba(0,0,0,0.8),+ 0 0 0 1px rgba(255,255,255,0.04),+ inset 0 1px 0 rgba(255,255,255,0.05);+}+.live-dash::before {+ content:""; position: absolute; inset: -1px;+ background: radial-gradient(600px 300px at 70% 0%, color-mix(in oklab, var(--a1) 26%, transparent), transparent 60%);+ pointer-events: none;+}++/* Tiny logos row */+.logos-row {+ display: flex; align-items: center; justify-content: center; gap: 40px;+ flex-wrap: wrap; padding: 30px 0 10px; opacity: 0.7;+}+.logos-row span {+ font-family: var(--f-display); font-weight: 500; color: var(--fg-2); font-size: 14px;+ letter-spacing: -0.01em;+}++/* Two-track — Detect & Resolve */+.two-track { padding: 100px 0 40px; }+.two-track-head { max-width: 760px; margin-bottom: 48px; }+.tracks { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }+.track {+ position: relative; padding: 32px; border-radius: var(--radius-lg);+ background:+ radial-gradient(400px 200px at 100% 0%, color-mix(in oklab, var(--track) 28%, transparent), transparent 60%),+ linear-gradient(180deg, var(--ink-3), var(--ink-2));+ border: 1px solid var(--hair);+ overflow: hidden;+ min-height: 440px;+}+.track[data-kind="detect"] { --track: var(--a3); }+.track[data-kind="resolve"] { --track: var(--a1); }+.track-badge {+ display: inline-flex; align-items: center; gap: 8px;+ font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;+ color: var(--track); padding: 4px 8px; border: 1px solid color-mix(in oklab, var(--track) 30%, transparent); border-radius: 4px; background: color-mix(in oklab, var(--track) 10%, transparent);+}+.track h3 { margin: 18px 0 10px; font-size: 30px; letter-spacing: -0.03em; }+.track p { color: var(--fg-2); max-width: 420px; }+.track-list { margin-top: 20px; display: grid; gap: 10px; }+.track-list li {+ display: flex; align-items: center; gap: 10px; list-style: none;+ font-family: var(--f-display); font-size: 14px; color: var(--fg-1);+}+.track-list li::before { content: ""; width: 14px; height: 1px; background: var(--track); }++/* Section headers */+.section-head { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: end; margin-bottom: 44px; }+.section-head p { max-width: 560px; color: var(--fg-2); }++/* Feature rows */+.feature-row { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; padding: 80px 0; }+.feature-row.reverse { grid-template-columns: 1.1fr 1fr; }+.feature-row.reverse .feat-copy { order: 2; }+.feat-copy h2 { margin: 16px 0 18px; }+.feat-copy p { color: var(--fg-1); font-size: 17px; max-width: 480px; }+.feat-bullets { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }+.feat-bullets li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 15px; color: var(--fg-1); align-items: start; }+.feat-bullets li::before {+ content: ""; width: 14px; height: 14px; border-radius: 4px;+ background: color-mix(in oklab, var(--a1) 30%, transparent);+ border: 1px solid color-mix(in oklab, var(--a1) 50%, transparent);+ position: relative; top: 4px;+}+.feat-visual {+ position: relative; border-radius: 14px; overflow: hidden;+ border: 1px solid var(--hair-2);+ background: var(--ink-2);+ box-shadow: 0 40px 80px -30px rgba(0,0,0,0.9);+}+.feat-visual img { width: 100%; height: auto; display: block; }++/* Stats strip */+.stats-strip {+ display: grid; grid-template-columns: repeat(4, 1fr);+ gap: 0;+ border-top: 1px solid var(--hair);+ border-bottom: 1px solid var(--hair);+ padding: 40px 0;+ margin-top: 40px;+}+.stat { padding: 0 28px; border-right: 1px solid var(--hair); }+.stat:last-child { border-right: 0; }+.stat .num { font-family: var(--f-display); font-size: 44px; line-height: 1; color: var(--fg-0); letter-spacing: -0.04em; font-weight: 600; }+.stat .num em { font-style: normal; background: linear-gradient(90deg, var(--a2), var(--a1)); -webkit-background-clip: text; color: transparent; }+.stat .lbl { margin-top: 10px; font-family: var(--f-mono); font-size: 11px; color: var(--fg-2); letter-spacing: 0.1em; text-transform: uppercase; }++/* Deploy/code */+.deploy { padding: 100px 0; }+.deploy-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }+.term {+ border-radius: var(--radius-lg); border: 1px solid var(--hair);+ background: #07090f;+ overflow: hidden;+ box-shadow: 0 30px 60px -30px rgba(0,0,0,0.9);+}+.term-head {+ display: flex; align-items: center; gap: 8px;+ padding: 12px 14px; background: #0b0f17; border-bottom: 1px solid var(--hair);+}+.term-head .dot { width: 10px; height: 10px; border-radius: 50%; background: #2a3040; }+.term-head .ttl {+ margin-left: auto; font-family: var(--f-mono); font-size: 11px; color: var(--fg-3); letter-spacing: 0.08em;+}+.term-body { padding: 22px; font-family: var(--f-mono); font-size: 13px; line-height: 1.75; }+.term-line { display: grid; grid-template-columns: 28px 1fr; gap: 0; }+.term-line .ln { color: var(--fg-3); font-size: 11px; padding-top: 3px; }+.term-line .tx { color: var(--fg-1); }+.term-line .cmd { color: var(--a2); }+.term-line .mute { color: var(--fg-3); }+.term-line .ok { color: var(--ok); }+.cursor { display: inline-block; width: 8px; height: 14px; background: var(--a2); vertical-align: -2px; animation: blink 1.2s steps(2) infinite; }+@keyframes blink { 50% { opacity: 0; } }++/* Cost comparison */+.cost { padding: 110px 0; position: relative; }+.cost-wrap { max-width: 1100px; margin: 0 auto; }+.cost-bars { display: grid; grid-template-columns: 110px 1fr 140px; gap: 20px; align-items: center; padding: 18px 0; border-top: 1px dashed var(--hair); }+.cost-bars:first-of-type { border-top: 0; }+.cost-name { font-family: var(--f-display); font-size: 16px; color: var(--fg-0); display: flex; align-items: center; gap: 10px; }+.cost-bar { position: relative; height: 40px; background: rgba(255,255,255,0.03); border-radius: 4px; overflow: hidden; }+.cost-bar .fill {+ position: absolute; inset: 0 auto 0 0; width: var(--w);+ background: linear-gradient(90deg, rgba(255,90,95,0.7), rgba(255,90,95,0.35));+ display: flex; align-items: center; justify-content: flex-end; padding-right: 14px;+ font-family: var(--f-mono); font-size: 11px; color: #fff;+}+.cost-bar.us .fill { background: linear-gradient(90deg, color-mix(in oklab, var(--a1) 90%, white 0%), color-mix(in oklab, var(--a2) 80%, transparent)); color: #07090f; font-weight: 600; }+.cost-total { font-family: var(--f-mono); font-size: 15px; color: var(--fg-1); text-align: right; }+.cost-total em { font-style: normal; color: var(--fg-0); }+.cost-total.us em { color: var(--a2); }++/* Bento features */+.bento { padding: 60px 0 100px; }+.bento-grid {+ display: grid;+ grid-template-columns: repeat(6, 1fr);+ grid-auto-rows: minmax(160px, auto);+ gap: 16px;+}+.b {+ grid-column: span 2;+ border-radius: var(--radius-lg);+ border: 1px solid var(--hair);+ background: linear-gradient(180deg, var(--ink-3), var(--ink-2));+ padding: 24px;+ position: relative; overflow: hidden;+ transition: transform .2s, border-color .2s;+}+.b:hover { border-color: var(--hair-2); }+.b-wide { grid-column: span 3; grid-row: span 2; }+.b-tall { grid-column: span 3; grid-row: span 2; }+.b-med { grid-column: span 2; }+.b-sm { grid-column: span 2; }+.b h4 { font-family: var(--f-display); font-weight: 600; font-size: 20px; color: var(--fg-0); margin: 0 0 8px; letter-spacing: -0.02em; }+.b p { font-size: 14px; color: var(--fg-2); margin: 0; max-width: 360px; }+.b .b-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }+.b .b-ico {+ width: 28px; height: 28px; border-radius: 6px;+ background: color-mix(in oklab, var(--a1) 20%, transparent);+ border: 1px solid color-mix(in oklab, var(--a1) 40%, transparent);+ display: grid; place-items: center; color: var(--a1);+}++/* FAQ */+.faq { padding: 80px 0 120px; }+.faq-list { max-width: 820px; margin: 0 auto; }+.q {+ border-top: 1px solid var(--hair);+ padding: 22px 0;+}+.q:last-child { border-bottom: 1px solid var(--hair); }+.q summary {+ list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;+ font-family: var(--f-display); font-size: 18px; color: var(--fg-0); letter-spacing: -0.01em;+}+.q summary::-webkit-details-marker { display: none; }+.q summary .plus { font-family: var(--f-mono); color: var(--a2); font-size: 20px; transition: transform .2s; }+.q[open] summary .plus { transform: rotate(45deg); }+.q p { margin: 14px 0 0; color: var(--fg-1); font-size: 15px; max-width: 720px; }++/* CTA */+.final-cta { padding: 80px 0 120px; }+.final-cta-box {+ position: relative;+ border-radius: 16px;+ padding: 72px 40px;+ text-align: center;+ background:+ radial-gradient(600px 300px at 50% 120%, color-mix(in oklab, var(--a1) 30%, transparent), transparent 60%),+ radial-gradient(500px 250px at 50% -40%, color-mix(in oklab, var(--a2) 25%, transparent), transparent 60%),+ linear-gradient(180deg, var(--ink-3), var(--ink-2));+ border: 1px solid var(--hair-2);+ overflow: hidden;+}+.final-cta-box::before {+ content: ""; position: absolute; inset: 0;+ background-image:+ linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),+ linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);+ background-size: 32px 32px;+ mask-image: radial-gradient(ellipse 70% 90% at 50% 50%, #000 30%, transparent 80%);+}+.final-cta-box h2 { position: relative; font-size: clamp(36px, 4.4vw, 64px); }+.final-cta-box .btns { margin-top: 28px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; }++/* Footer */+footer { border-top: 1px solid var(--hair); padding: 50px 0 40px; }+.footer-grid { display: grid; grid-template-columns: 1.2fr repeat(4, 1fr); gap: 36px; }+.footer-col h5 { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-2); margin: 0 0 12px; font-weight: 500; }+.footer-col a { display: block; padding: 6px 0; font-size: 14px; color: var(--fg-1); }+.footer-col a:hover { color: var(--fg-0); }+.footer-bot { display: flex; justify-content: space-between; align-items: center; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--hair); font-family: var(--f-mono); font-size: 11px; color: var(--fg-3); letter-spacing: 0.05em; }++/* Tweaks panel */+.tweaks {+ position: fixed; right: 20px; bottom: 20px; z-index: 100;+ width: 300px; border-radius: 10px; padding: 16px;+ background: color-mix(in oklab, var(--ink-3) 94%, transparent);+ backdrop-filter: blur(14px);+ border: 1px solid var(--hair-2);+ box-shadow: 0 20px 60px -20px rgba(0,0,0,0.7);+ font-family: var(--f-display); font-size: 13px;+ display: none;+}+.tweaks.open { display: block; }+.tweaks h6 { margin: 0 0 10px; font-size: 11px; font-family: var(--f-mono); color: var(--fg-2); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; }+.tweaks-row { display: flex; gap: 8px; margin-bottom: 14px; }+.sw { flex: 1; border-radius: 6px; padding: 8px; cursor: pointer; border: 1px solid var(--hair); background: var(--ink-2); display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--fg-1); }+.sw.active { border-color: var(--fg-1); color: var(--fg-0); }+.sw .swatches { display: flex; gap: 2px; }+.sw .swatches i { width: 10px; height: 10px; border-radius: 3px; display: block; }++/* Responsive */+@media (max-width: 1080px) {+ .hero-grid, .feature-row, .feature-row.reverse, .deploy-grid { grid-template-columns: 1fr; }+ .feature-row.reverse .feat-copy { order: 0; }+ .tracks { grid-template-columns: 1fr; }+ .bento-grid { grid-template-columns: repeat(4, 1fr); }+ .b-wide, .b-tall { grid-column: span 4; grid-row: span 1; }+ .b { grid-column: span 2; }+ .stats-strip { grid-template-columns: repeat(2, 1fr); }+ .stat { border-right: 0; border-bottom: 1px solid var(--hair); padding: 20px 16px; }+}+@media (max-width: 720px) {+ .nav-links { display: none; }+ .section-head { grid-template-columns: 1fr; }+ .bento-grid { grid-template-columns: 1fr; }+ .b, .b-wide, .b-tall { grid-column: span 1; }+ .footer-grid { grid-template-columns: 1fr 1fr; }+ .cost-bars { grid-template-columns: 90px 1fr; }+ .cost-total { grid-column: 1 / -1; text-align: left; }+}diff --git a/website/package-lock.json b/website/package-lock.jsonindex 3bca71e0..034cc046 100644--- a/website/package-lock.json+++ b/website/package-lock.json@@ -15,6 +15,7 @@"@radix-ui/react-slot": "^1.2.4","class-variance-authority": "^0.7.1","clsx": "^2.1.1",+ "gsap": "^3.15.0","lucide-react": "^0.562.0","next": "16.1.4","next-sitemap": "^4.2.3",@@ -4710,6 +4711,12 @@"dev": true,"license": "ISC"},+ "node_modules/gsap": {+ "version": "3.15.0",+ "resolved": "https://registry.npmjs.org/gsap/-/gsap-3.15.0.tgz",+ "integrity": "sha512-dMW4CWBTUK1AEEDeZc1g4xpPGIrSf9fJF960qbTZmN/QwZIWY5wgliS6JWl9/25fpTGJrMRtSjGtOmPnfjZB+A==",+ "license": "Standard 'no charge' license: https://gsap.com/standard-license."+ },"node_modules/has-bigints": {"version": "1.1.0","resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.1.0.tgz",diff --git a/website/package.json b/website/package.jsonindex 97a6210c..0000de56 100644--- a/website/package.json+++ b/website/package.json@@ -16,6 +16,7 @@"@radix-ui/react-slot": "^1.2.4","class-variance-authority": "^0.7.1","clsx": "^2.1.1",+ "gsap": "^3.15.0","lucide-react": "^0.562.0","next": "16.1.4","next-sitemap": "^4.2.3",diff --git a/website/public/_redirects b/website/public/_redirectsnew file mode 100644index 00000000..1df8ceed--- /dev/null+++ b/website/public/_redirects@@ -0,0 +1,2 @@+/product/issue-tracking /product/stack-traces 301+/product/distributed-tracing /product/traces 301