feat: rebuild marketing site with full component suite and preview #3

Merged
pat merged 1 commits from feature/marketing-site into main 2026-08-27 15:56:50 +00:00
24 changed files with 2883 additions and 0 deletions
+35
View File
@@ -0,0 +1,35 @@
# dependencies
/node_modules
# next.js build output
/.next/
/out/
/build
# misc
.DS_Store
*.pem
# debug logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# local env files
.env*.local
# vercel
.vercel
# typescript
*.tsbuildinfo
next-env.d.ts
# Next.js auto-generated agent rule files (agentRules)
AGENTS.md
CLAUDE.md
# scratch / superseded single-file previews
preview.html
redesign-preview.html
node_modules/
+35
View File
@@ -0,0 +1,35 @@
# AIBook.fun Marketing Site
Scaffolded for Framer import and Next.js (Cloudflare Pages / DigitalOcean).
## Stack
- React 18 + JSX
- Tailwind CSS (v4 with @import)
- shadcn/ui-ready component structure
- SendGrid (email) + Twilio (optional SMS)
- Hosting: Cloudflare Pages / DigitalOcean
## Framer Compatibility
These components are standard React + Tailwind. To use in Framer:
1. Copy any `.jsx` component file.
2. In Framer, add a new Code Component and paste the file contents.
3. Ensure your Framer project has Tailwind CSS configured in settings if classes don't render.
4. Import `globals.css` or copy Tailwind directives into Framer's CSS settings.
Note: Framer Sites don't run Next.js natively. For a live site with routing (A/B tests, CMS integrations, analytics events), deploy via Next.js on Cloudflare Pages.
## Pages scaffolded
- `pages/index.jsx` — landing (hero, the book, workflows, tiers, FAQ)
- `components/Header.jsx`
- `components/Hero.jsx`
- `components/Workflows.jsx`
- `components/Tiers.jsx`
- `components/FAQ.jsx`
- `components/Footer.jsx`
## Key design references (from PRD / Spec)
- Utility-first pitch: "run a workflow today" (A/B test hook ready)
- 6 verticals listed in Workflows
- 3 sample tiers shown ($10 / $47yr / $4,888)
- No NFT/crypto/Web3 language (Kickstarter compliance scrubbed)
- Event tracking only (not content) — PostHog/Cloudflare Analytics slot available
+41
View File
@@ -0,0 +1,41 @@
const AUTHORS = [
{ tile: "RE", name: "Real Estate & Finance", role: "Market briefs, compliant summaries", status: "confirmed", label: "Co-author confirmed" },
{ tile: "CS", name: "Fractional C-Suite", role: "Strategy & board workflows", status: "confirmed", label: "Co-author confirmed" },
{ tile: "TE", name: "Technology & RAAI", role: "Agent patterns & safe defaults", status: "confirmed", label: "Co-author confirmed" },
{ tile: "HE", name: "Higher Education", role: "Teaching & research integrity", status: "tba", label: "To be announced" },
{ tile: "CO", name: "Communities", role: "Moderation & member programs", status: "tba", label: "To be announced" },
];
export default function Authors() {
return (
<section className="section authors" id="authors">
<div className="wrap">
<span className="spec reveal">Who’s writing this</span>
<h2 className="reveal">Practitioners, one per vertical.</h2>
<p className="lede reveal">
Each chapter is owned by someone who does the work — not a generalist writing about
it. Names are announced as co-authors confirm.
</p>
<div className="auth-grid">
{AUTHORS.map((a) => (
<div className="auth reveal" key={a.tile}>
<div className="mono-tile">{a.tile}</div>
<h3>{a.name}</h3>
<div className="role">{a.role}</div>
<div className={`status ${a.status}`}>
<i></i>
{a.label}
</div>
</div>
))}
<div className="auth auth-join reveal">
<div>
<div className="spec" style={{ marginBottom: "8px" }}>Your name?</div>
<p>Contribute a workflow after launch and earn a byline in the guide.</p>
</div>
</div>
</div>
</div>
</section>
);
}
+35
View File
@@ -0,0 +1,35 @@
/**
* Pure-CSS 3D book styled as the field guide. Decorative, so aria-hidden.
* Faces (cover / spine / fore-edge / top / back) are assembled with
* transform-style: preserve-3d; see `.book3d` in globals.css.
*/
export default function Book3D() {
return (
<div className="book3d" aria-hidden="true">
<div className="book3d__inner">
<div className="book3d__face book3d__back" />
<div className="book3d__face book3d__pages" />
<div className="book3d__face book3d__top" />
<div className="book3d__face book3d__spine">
<span>AIBook.fun · Responsible Agentic AI</span>
</div>
<div className="book3d__face book3d__cover">
<span className="book3d__kicker">The Field Guide</span>
<h3 className="book3d__title">
Responsible
<br />
Agentic AI
</h3>
<span className="book3d__line" />
<span className="book3d__sub">Tested workflows you can actually run</span>
<svg className="book3d__mark" viewBox="0 0 40 40" fill="none">
<circle cx="20" cy="20" r="17.5" stroke="#efe9db" strokeWidth="1" opacity="0.7" />
<path d="M20 5 L22.6 20 L20 35 L17.4 20 Z" fill="#efe9db" />
<path d="M5 20 L20 17.4 L35 20 L20 22.6 Z" fill="#efe9db" opacity="0.55" />
</svg>
<span className="book3d__brand">AIBook.fun</span>
</div>
</div>
</div>
);
}
+22
View File
@@ -0,0 +1,22 @@
import EmailForm from "./EmailForm";
export default function Capture() {
return (
<section className="section capture" id="get">
<div className="capture-in">
<span className="spec reveal">Be first</span>
<h2 className="reveal">Get the preview chapter free.</h2>
<p className="reveal">
Join the pre-launch list. You’ll get one full workflow to keep, a heads-up the morning
we launch on Kickstarter, and early-backer pricing. Three emails. No spam, ever.
</p>
<div className="reveal">
<EmailForm cta="Send it to me" />
</div>
<p className="fine reveal">
Launching Sept 26, 2026 · unsubscribe anytime · we track sign-ups, never your work
</p>
</div>
</section>
);
}
+29
View File
@@ -0,0 +1,29 @@
const ITEMS = [
{ num: "01", name: "Real Estate", desc: "Market briefs & listings, without leaking client data" },
{ num: "02", name: "Financial Advisors", desc: "Portfolio summaries that stay compliant & reviewed" },
{ num: "03", name: "Fractional C-Suite", desc: "Board updates & plans with real escalation paths" },
{ num: "04", name: "Higher Education", desc: "Course & research workflows with academic integrity" },
{ num: "05", name: "Communities", desc: "Moderation & programming that respects members" },
{ num: "06", name: "Technology", desc: "Agent patterns, evals & the responsible defaults" },
];
export default function Contents() {
return (
<section className="section contents" id="contents">
<div className="wrap">
<span className="spec reveal">The founding library</span>
<h2 className="reveal">Six practices. Written by people who do the work.</h2>
<div className="toc reveal">
{ITEMS.map((x) => (
<a href="#get" key={x.num}>
<span className="num">{x.num}</span>
<span className="name">{x.name}</span>
<span className="desc">{x.desc}</span>
<span className="arrow" aria-hidden="true">→</span>
</a>
))}
</div>
</div>
</section>
);
}
+43
View File
@@ -0,0 +1,43 @@
import { useState } from "react";
/**
* Pre-launch email capture. Front-end demo only: on submit it shows a success
* state. Wire `postEmail` to the real CRM endpoint (FluentCRM tag `prelaunch`)
* when the backend is ready.
*/
export default function EmailForm({ className = "", cta = "Send it to me" }) {
const [email, setEmail] = useState("");
const [done, setDone] = useState(false);
async function onSubmit(e) {
e.preventDefault();
if (!email) return;
// TODO: await postEmail(email) — POST to CRM, then setDone(true)
setDone(true);
}
if (done) {
return (
<p className="ok-msg" role="status">
✓ You’re on the list — check your inbox for the preview chapter.
</p>
);
}
return (
<form className={className} onSubmit={onSubmit} noValidate>
<input
className="field"
type="email"
required
placeholder="you@work.com"
aria-label="Email address"
value={email}
onChange={(e) => setEmail(e.target.value)}
/>
<button className="btn btn-primary" type="submit">
{cta}
</button>
</form>
);
}
+44
View File
@@ -0,0 +1,44 @@
const QA = [
{
q: "Is this AI theory, or something I can actually run?",
a: "Something you run. Every workflow shows the real tool output, lists the real steps, and ends in a ~15-minute Try-it on non-confidential sample data. If you can’t run it, it doesn’t ship.",
open: true,
},
{
q: "How is this different from a course?",
a: "A course teaches concepts; this is a field guide of tested recipes you apply to your real job this week. It refreshes annually because AI moves fast — stale advice is worthless.",
},
{
q: "What does “responsible by design” actually mean?",
a: "Every recipe includes data-handling rules, human-oversight steps, failure modes, and escalation paths. They’re part of the template — not an appendix, not an afterthought.",
},
{
q: "Can I contribute a workflow after backing?",
a: "Yes — open contribution opens once the founding library is live. We’re finalizing how contributors get paid (not just a byline) before launch.",
},
{
q: "Why subscribe instead of buy once?",
a: "Because a static AI book is out of date in months. The subscription is what keeps every workflow current — and it’s what funds the practitioners keeping them that way.",
},
];
export default function FAQ() {
return (
<section className="section faq" id="faq">
<div className="wrap" style={{ maxWidth: "760px" }}>
<h2 className="reveal">Frequently asked.</h2>
<div className="qa reveal">
{QA.map((x, i) => (
<details key={i} open={x.open || undefined}>
<summary>
{x.q}
<span className="pl" aria-hidden="true">+</span>
</summary>
<div className="ans">{x.a}</div>
</details>
))}
</div>
</div>
</section>
);
}
+35
View File
@@ -0,0 +1,35 @@
const NOTES = [
{
n: "01 / Stays current",
h: "A subscription, not a static book",
p: "AI moves too fast for a book you buy once. Each annual edition is refreshed so the workflows still work when you open them.",
},
{
n: "02 / Authored, then open",
h: "Written by practitioners first",
p: "The first edition is seeded by co-authors — a real founding library, not an empty shelf. Open, paid contribution opens once it’s worth browsing.",
},
{
n: "03 / Responsible by design",
h: "Guardrails in every recipe",
p: "Data handling, human oversight, failure modes, escalation — part of the template on every workflow, never an appendix.",
},
];
export default function FieldNotes() {
return (
<section className="notes">
<div className="wrap">
<div className="notes-grid">
{NOTES.map((x) => (
<div className="note reveal" key={x.n}>
<div className="n">{x.n}</div>
<h3>{x.h}</h3>
<p>{x.p}</p>
</div>
))}
</div>
</div>
</section>
);
}
+32
View File
@@ -0,0 +1,32 @@
export default function Footer() {
return (
<footer className="footer">
<div className="foot-in">
<div className="foot-top">
<div>
<div className="logo">
AIBook<b>.</b>
<span className="dot">fun</span>
</div>
<p className="foot-blurb">
A living, crowd-written field guide to using AI agents responsibly at work. Part
of the WeOwnNet ecosystem.
</p>
</div>
<div className="foot-links">
<a href="#recipe">A recipe</a>
<a href="#contents">Contents</a>
<a href="#get">Preview</a>
<a href="#faq">FAQ</a>
</div>
</div>
<div className="colophon">
© 2026 WeOwnAI · MIT-licensed docs · Launching on Kickstarter, Sept 26, 2026
<br />
Set in Fraunces, Hanken Grotesk & JetBrains Mono. This is a pre-launch page — pledge
tiers and pricing are finalized at launch.
</div>
</div>
</footer>
);
}
+42
View File
@@ -0,0 +1,42 @@
import EmailForm from "./EmailForm";
import Book3D from "./Book3D";
export default function Hero() {
return (
<section className="hero" id="top">
<div className="hero-tabs" aria-hidden="true">
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
</div>
<div className="wrap hero-grid">
<div className="hero-visual">
<Book3D />
</div>
<div className="hero-copy">
<div className="eyebrow">
<span className="tick"></span>
<span className="spec">
Field guide · Edition&nbsp;001 · Kickstarter&nbsp;Sept&nbsp;26,&nbsp;2026
</span>
</div>
<h1>
The field guide to using AI agents{" "}
<span className="serif-it">responsibly</span> at work.
</h1>
<p className="hero-sub">
Not theory. Not hype. A subscription guide of{" "}
<span className="hl">tested workflows you can actually run</span> — each with the
real tool output, the guardrails, and a 15-minute exercise so you learn by doing.
</p>
<EmailForm className="hero-form" cta="Send me the preview chapter" />
<p className="hero-note">
Free preview + first access at launch · <b>3 emails, no spam</b>
</p>
</div>
</div>
</section>
);
}
+24
View File
@@ -0,0 +1,24 @@
export default function Letter() {
return (
<section className="section letter" id="letter">
<div className="letter-in">
<span className="spec reveal">A note on why</span>
<p className="letter-body reveal">
Most AI advice is either hype or theory — and neither survives contact with real
work. We’re writing the guide we wish we’d had: workflows that <em>actually run</em>,
with the <span className="mark">guardrails built in</span>, kept honest by the people
who use them every day. Fund the first edition, and you don’t just get the book — you
help decide what goes in it.
</p>
<div className="sign reveal">
<span className="scrawl">The co-authors</span>
<span className="who">
AIBook.fun founding team
<br />
Real estate · finance · leadership · tech
</span>
</div>
</div>
</section>
);
}
+83
View File
@@ -0,0 +1,83 @@
import { useEffect, useRef, useState } from "react";
const LINKS = [
{ href: "#recipe", label: "A recipe" },
{ href: "#contents", label: "Contents" },
{ href: "#letter", label: "Why" },
{ href: "#faq", label: "FAQ" },
];
export default function Nav() {
const [scrolled, setScrolled] = useState(false);
const [open, setOpen] = useState(false);
const navRef = useRef(null);
useEffect(() => {
const onScroll = () => setScrolled(window.scrollY > 12);
onScroll();
window.addEventListener("scroll", onScroll, { passive: true });
return () => window.removeEventListener("scroll", onScroll);
}, []);
// While the mobile menu is open: close on Escape or an outside tap.
useEffect(() => {
if (!open) return;
const onKey = (e) => e.key === "Escape" && setOpen(false);
const onDown = (e) => {
if (navRef.current && !navRef.current.contains(e.target)) setOpen(false);
};
document.addEventListener("keydown", onKey);
document.addEventListener("pointerdown", onDown);
return () => {
document.removeEventListener("keydown", onKey);
document.removeEventListener("pointerdown", onDown);
};
}, [open]);
const close = () => setOpen(false);
return (
<nav ref={navRef} className={`nav${scrolled ? " scrolled" : ""}${open ? " open" : ""}`}>
<div className="nav-in">
<a className="logo" href="#top" onClick={close}>
AIBook<b>.</b>
<span className="dot">fun</span>
</a>
<div className="nav-links">
{LINKS.map((l) => (
<a key={l.href} href={l.href}>
{l.label}
</a>
))}
</div>
<a href="#get" className="btn btn-primary nav-cta">
Get the preview
</a>
<button
type="button"
className="nav-toggle"
aria-label={open ? "Close menu" : "Open menu"}
aria-expanded={open}
aria-controls="mobile-menu"
onClick={() => setOpen((v) => !v)}
>
<span className="bars" aria-hidden="true"></span>
</button>
</div>
<div className="nav-menu" id="mobile-menu">
{LINKS.map((l) => (
<a key={l.href} href={l.href} onClick={close}>
{l.label}
</a>
))}
<a href="#get" className="btn btn-primary" onClick={close}>
Get the preview
</a>
</div>
</nav>
);
}
+120
View File
@@ -0,0 +1,120 @@
function ShieldCheck() {
return (
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true">
<path
d="M8 1.5 2.5 4v3.5c0 3 2.3 5.4 5.5 7 3.2-1.6 5.5-4 5.5-7V4L8 1.5Z"
stroke="#1C5D4C"
strokeWidth="1.3"
strokeLinejoin="round"
/>
<path
d="m5.6 8 1.7 1.7L10.6 6"
stroke="#1C5D4C"
strokeWidth="1.3"
strokeLinecap="round"
strokeLinejoin="round"
/>
</svg>
);
}
export default function Recipe() {
return (
<section className="section" id="recipe">
<div className="wrap">
<div className="recipe-head reveal">
<span className="spec">Read an actual recipe</span>
<h2>Every entry is a workflow you can run.</h2>
<p>
Here’s a real one from the founding library — the whole thing, exactly as it
appears in the guide. This is the format behind every workflow.
</p>
</div>
<div className="recipe reveal">
<div className="recipe-top">
<span className="recipe-id">
recipe <b>RE-04</b> · v1.2 · ~15 min
</span>
<span className="recipe-vert">Real Estate</span>
</div>
<div className="recipe-body">
<h3 className="recipe-title">
Draft a property-market brief with an AI agent — without leaking client data.
</h3>
<div className="row">
<div className="k">Problem</div>
<div className="v">
You need a sharp neighborhood market brief for a client meeting, fast — but
the listing sheet and client notes can’t go into a public model.{" "}
<span className="sub">
Job: turn messy local data into a credible one-pager in minutes, safely.
</span>
</div>
</div>
<div className="row">
<div className="k">Method</div>
<div className="v">
<ol className="steps">
<li>Strip identifiers from the source data locally (a provided script does this).</li>
<li>Prompt the agent with the anonymized sample and a fixed brief template.</li>
<li>Review the draft against the checklist before anything leaves your machine.</li>
</ol>
<div className="term" role="img" aria-label="Sample terminal output from the workflow">
<div className="term-bar">
<i></i>
<i></i>
<i></i>
<span>agent — property-brief · sample dataset (non-confidential)</span>
</div>
<pre>
<span className="c-dim">{"$ "}</span>
<span className="c-user">{"brief"}</span>
{" --input "}
<span className="c-key">{"sample_listings.csv"}</span>
{" --template market-1pager\n\n"}
<span className="c-dim">{"✓ redacted 3 fields (owner_name, phone, exact_address)\n✓ 41 comps in radius · median $/sqft computed\n\n"}</span>
<span className="c-ok">{"MARKET BRIEF — Maple Heights (sample)\n"}</span>
{" · Median list: $420/sqft (▲ 4.1% QoQ)\n · Days on market: 22 (was 31)\n · Inventory: 1.8 mo — seller-leaning\n · Read: price to comp, expect <2 wks at ask\n\n"}
<span className="c-dim">{"# cost this run: $0.03 · model: claude · 2,140 tokens"}</span>
</pre>
</div>
</div>
</div>
<div className="row">
<div className="k">Safeguards</div>
<div className="v">
<div className="guard">
<ShieldCheck />
<span>
Redaction runs <b style={{ color: "var(--color-ink)" }}>on your machine</b> —
raw client data never reaches the model.
</span>
</div>
<div className="guard">
<ShieldCheck />
<span>
A human review step is required before the brief is shared. The checklist
is part of the recipe.
</span>
</div>
</div>
</div>
<div className="row">
<div className="k">Try it</div>
<div className="v">
Run the same brief on the included sample dataset (no real client data) in
about 15 minutes — then swap in your own, safely.{" "}
<span className="chip">◷ cost to try ≈ $0.03</span>
</div>
</div>
</div>
</div>
</div>
</section>
);
}
+50
View File
@@ -0,0 +1,50 @@
export default function Tiers() {
return (
<section className="section" id="back">
<div className="wrap">
<div className="tiers-head">
<div className="reveal">
<span className="spec">When we launch</span>
<h2>What backing will look like.</h2>
</div>
<p className="tiers-note reveal">
Preview of planned pledge tiers. Final pricing is confirmed at the Kickstarter
launch — nothing here is a live checkout yet.
</p>
</div>
<div className="tier-grid">
<div className="tier reveal">
<div className="t-name">Supporter</div>
<div className="t-price">$10</div>
<div className="t-unit">one-time</div>
<div className="t-desc">
The preview chapter, community updates, and an early look at the founding library
as it’s written.
</div>
</div>
<div className="tier feature reveal">
<div className="t-tag">The one to get</div>
<div className="t-name">The Book</div>
<div className="t-price">
$47 <small>/yr</small>
</div>
<div className="t-unit">annual subscription</div>
<div className="t-desc">
The full guide — PDF + web reader — and every annual update while you’re
subscribed. Recurring value, no lifetime gimmick.
</div>
</div>
<div className="tier reveal">
<div className="t-name">Founding Sponsor</div>
<div className="t-price">Founding</div>
<div className="t-unit">limited · final terms at launch</div>
<div className="t-desc">
A named acknowledgment in the guide, a private cohort seat, and a hand in shaping
the first edition.
</div>
</div>
</div>
</div>
</section>
);
}
+36
View File
@@ -0,0 +1,36 @@
import { useEffect } from "react";
/**
* Scroll-reveal for elements with the `.reveal` class.
* Above-the-fold content should NOT use `.reveal` (it must be visible instantly);
* this is for sections below the fold. A failsafe guarantees nothing stays hidden.
*/
export default function useReveal() {
useEffect(() => {
const els = document.querySelectorAll(".reveal");
if (!("IntersectionObserver" in window)) {
els.forEach((el) => el.classList.add("in"));
return;
}
const io = new IntersectionObserver(
(entries) => {
entries.forEach((e) => {
if (e.isIntersecting) {
e.target.classList.add("in");
io.unobserve(e.target);
}
});
},
{ rootMargin: "0px 0px -8% 0px", threshold: 0.08 }
);
els.forEach((el) => io.observe(el));
const failsafe = setTimeout(
() => els.forEach((el) => el.classList.add("in")),
1600
);
return () => {
io.disconnect();
clearTimeout(failsafe);
};
}, []);
}
+13
View File
@@ -0,0 +1,13 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
// A stray package-lock.json sits at the repo root; pin the workspace root here
// so Turbopack doesn't infer the wrong one.
turbopack: {
root: import.meta.dirname,
},
// Don't auto-generate AGENTS.md / CLAUDE.md into the project.
agentRules: false,
};
export default nextConfig;
+1644
View File
File diff suppressed because it is too large Load Diff
+27
View File
@@ -0,0 +1,27 @@
{
"name": "aibook-fun-marketing",
"version": "1.0.0",
"private": true,
"description": "AIBook.fun — pre-launch marketing site (field-guide design)",
"license": "MIT",
"scripts": {
"dev": "next dev -p 3000",
"build": "next build",
"start": "next start -p 3000",
"lint": "next lint"
},
"repository": {
"type": "git",
"url": "https://git.weown.tools/WeOwnAI/aibook-fun.git"
},
"dependencies": {
"next": "^16.3.3",
"react": "^19.2.8",
"react-dom": "^19.2.8"
},
"devDependencies": {
"@tailwindcss/postcss": "^4.3.3",
"postcss": "^8.5.26",
"tailwindcss": "^4.3.3"
}
}
+5
View File
@@ -0,0 +1,5 @@
import "../styles/globals.css";
export default function App({ Component, pageProps }) {
return <Component {...pageProps} />;
}
+27
View File
@@ -0,0 +1,27 @@
import { Html, Head, Main, NextScript } from "next/document";
export default function Document() {
return (
<Html lang="en">
<Head>
{/* Mark JS as available before paint so `.reveal` only hides when it can also un-hide
(no-JS users and crawlers see all content). */}
<script
dangerouslySetInnerHTML={{
__html: "document.documentElement.classList.add('js')",
}}
/>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin="anonymous" />
<link
href="https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,900;1,9..144,400;1,9..144,500&family=Hanken+Grotesk:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap"
rel="stylesheet"
/>
</Head>
<body>
<Main />
<NextScript />
</body>
</Html>
);
}
+44
View File
@@ -0,0 +1,44 @@
import Head from "next/head";
import useReveal from "../lib/useReveal";
import Nav from "../components/Nav";
import Hero from "../components/Hero";
import FieldNotes from "../components/FieldNotes";
import Recipe from "../components/Recipe";
import Contents from "../components/Contents";
import Letter from "../components/Letter";
import Authors from "../components/Authors";
import Capture from "../components/Capture";
import Tiers from "../components/Tiers";
import FAQ from "../components/FAQ";
import Footer from "../components/Footer";
export default function Home() {
useReveal();
return (
<>
<Head>
<title>AIBook.fun — a field guide to AI agents at work</title>
<meta
name="description"
content="A living, crowd-written field guide to using AI agents responsibly at work. Tested workflows you can run — launching on Kickstarter, Sept 26, 2026."
/>
<meta name="viewport" content="width=device-width, initial-scale=1" />
</Head>
<Nav />
<main>
<Hero />
<FieldNotes />
<Recipe />
<Contents />
<Letter />
<Authors />
<Capture />
<Tiers />
<FAQ />
</main>
<Footer />
</>
);
}
+7
View File
@@ -0,0 +1,7 @@
// Tailwind CSS v4 runs as a PostCSS plugin (separate package from `tailwindcss`).
// Without this, `@import "tailwindcss"` in globals.css is inert.
export default {
plugins: {
"@tailwindcss/postcss": {},
},
};
+410
View File
@@ -0,0 +1,410 @@
@import "tailwindcss";
/* ============================================================
AIBook.fun — "field guide" design system
Tokens live in @theme so they're available BOTH as CSS vars
(var(--color-pine)) and as Tailwind utilities (bg-pine, font-display).
============================================================ */
@theme {
--color-paper: #fcfbf8; /* warm near-white ground (chosen, not cream cliché) */
--color-paper-2: #f6f4ee; /* recessed band */
--color-card: #ffffff; /* raised surfaces */
--color-ink: #1a1613; /* warm near-black text */
--color-muted: #6e675e; /* warm stone secondary */
--color-line: #e7e1d7; /* warm hairline */
--color-line-2: #d8d1c4; /* stronger hairline */
--color-pine: #1c5d4c; /* THE accent — field-guide green */
--color-pine-deep: #12463a;
--color-pine-tint: rgba(28, 93, 76, 0.1);
--color-pine-wash: rgba(28, 93, 76, 0.06);
--color-amber: #b4791f;
--font-display: "Fraunces", Georgia, "Times New Roman", serif;
--font-body: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, sans-serif;
--font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
:root {
--sh-sm: 0 1px 2px rgba(26, 22, 19, 0.05), 0 1px 3px rgba(26, 22, 19, 0.04);
--sh-md: 0 4px 10px rgba(26, 22, 19, 0.06), 0 2px 4px rgba(26, 22, 19, 0.04);
--sh-lg: 0 18px 40px -12px rgba(26, 22, 19, 0.12), 0 6px 14px rgba(26, 22, 19, 0.05);
--ease: cubic-bezier(0.16, 1, 0.3, 1);
--wrap: 1080px;
}
/* ============ BASE ============ */
html {
scroll-behavior: smooth;
-webkit-text-size-adjust: 100%;
}
body {
background: var(--color-paper);
color: var(--color-ink);
font-family: var(--font-body);
font-size: 17px;
line-height: 1.65;
letter-spacing: -0.005em;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
::selection {
background: var(--color-pine-tint);
color: var(--color-pine-deep);
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
@media (max-width: 720px) { body { font-size: 16px; } }
/* ============ LAYOUT PRIMITIVES ============ */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.section { padding: 104px 0; }
@media (max-width: 900px) { .section { padding: 84px 0; } }
@media (max-width: 600px) {
.wrap { padding: 0 20px; }
.section { padding: 64px 0; }
}
.spec {
font-family: var(--font-mono);
font-size: 12px;
font-weight: 500;
letter-spacing: 0.14em;
text-transform: uppercase;
color: var(--color-pine);
}
.serif-it { font-family: var(--font-display); font-style: italic; font-weight: 500; }
.hl {
background: linear-gradient(transparent 62%, var(--color-pine-tint) 62%);
padding: 0 0.06em;
}
/* ============ BUTTONS ============ */
.btn {
display: inline-flex; align-items: center; gap: 0.5em;
font-family: var(--font-body); font-weight: 700; font-size: 15px; letter-spacing: -0.01em;
border-radius: 999px; padding: 15px 26px; cursor: pointer; border: 1px solid transparent;
transition: transform 0.14s var(--ease), box-shadow 0.14s var(--ease), background 0.18s var(--ease);
}
.btn-primary { background: var(--color-pine); color: #f7fbf9; box-shadow: 0 6px 18px -6px rgba(28, 93, 76, 0.5); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -8px rgba(28, 93, 76, 0.55); }
.btn-primary:active { transform: translateY(0) scale(0.99); }
.btn-ghost { background: var(--color-card); color: var(--color-ink); border-color: var(--color-line-2); }
.btn-ghost:hover { transform: translateY(-1px); box-shadow: var(--sh-md); }
.btn:focus-visible { outline: 2px solid var(--color-pine); outline-offset: 3px; }
/* ============ REVEAL (only hides when JS can un-hide) ============ */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
.js .reveal { opacity: 1; transform: none; }
html { scroll-behavior: auto; }
* { animation: none !important; transition: none !important; }
}
/* ============ NAV ============ */
.nav {
position: sticky; top: 0; z-index: 50;
background: color-mix(in srgb, var(--color-paper) 82%, transparent);
backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
border-bottom: 1px solid transparent; transition: border-color 0.3s, box-shadow 0.3s;
}
.nav.scrolled { border-bottom-color: var(--color-line); box-shadow: var(--sh-sm); }
.nav-in {
max-width: var(--wrap); margin: 0 auto; padding: 0 28px; height: 68px;
display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.logo { display: flex; align-items: baseline; gap: 2px; font-family: var(--font-display); font-weight: 900; font-size: 21px; letter-spacing: -0.02em; }
.logo b { color: var(--color-pine); }
.logo .dot { color: var(--color-muted); font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 14.5px; font-weight: 600; color: var(--color-muted); }
.nav-links a { transition: color 0.18s; }
.nav-links a:hover { color: var(--color-ink); }
.nav-cta { font-size: 14px; padding: 10px 18px; }
/* mobile hamburger toggle (hidden on desktop) */
.nav-toggle {
display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
padding: 0; border: 1px solid var(--color-line-2); border-radius: 12px;
background: var(--color-card); cursor: pointer; flex: none;
}
.nav-toggle:focus-visible { outline: 2px solid var(--color-pine); outline-offset: 3px; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
content: ""; display: block; width: 18px; height: 2px; border-radius: 2px;
background: var(--color-ink); transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-toggle .bars { position: relative; }
.nav-toggle .bars::before { position: absolute; left: 0; top: -6px; }
.nav-toggle .bars::after { position: absolute; left: 0; top: 6px; }
.nav.open .nav-toggle .bars { background: transparent; }
.nav.open .nav-toggle .bars::before { transform: translateY(6px) rotate(45deg); }
.nav.open .nav-toggle .bars::after { transform: translateY(-6px) rotate(-45deg); }
/* mobile dropdown menu (rendered on desktop as display:none) */
.nav-menu { display: none; }
@media (max-width: 860px) {
.nav-links { display: none; }
.nav-cta { display: none; } /* CTA moves into the menu */
.nav-toggle { display: inline-flex; }
.nav-menu {
display: flex; flex-direction: column; gap: 2px;
position: absolute; top: 100%; left: 0; right: 0;
background: var(--color-paper); border-bottom: 1px solid var(--color-line);
box-shadow: var(--sh-lg); padding: 10px 20px 20px;
opacity: 0; visibility: hidden; transform: translateY(-8px); pointer-events: none;
transition: opacity 0.2s var(--ease), transform 0.25s var(--ease), visibility 0.2s;
}
.nav.open .nav-menu { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.nav-menu a:not(.btn) {
font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; color: var(--color-ink);
padding: 15px 6px; border-bottom: 1px solid var(--color-line);
}
.nav-menu a:not(.btn):hover { color: var(--color-pine); }
.nav-menu .btn { margin-top: 14px; justify-content: center; width: 100%; }
}
@media (max-width: 600px) { .nav-in { padding: 0 20px; } }
/* ============ HERO ============ */
.hero { padding: 78px 0 72px; position: relative; overflow: hidden; }
.hero-tabs { position: absolute; top: 0; right: max(28px, calc(50% - var(--wrap) / 2 + 28px)); display: flex; gap: 6px; opacity: 0.5; }
.hero-tabs span { width: 34px; height: 8px; border-radius: 0 0 4px 4px; background: var(--color-line-2); }
.hero-tabs span:first-child { background: var(--color-pine); opacity: 0.85; }
.eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 26px; }
.eyebrow .tick { width: 7px; height: 7px; border-radius: 999px; background: var(--color-pine); flex: none; }
.hero h1 { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.7rem, 6.4vw, 5.1rem); line-height: 0.98; letter-spacing: -0.028em; max-width: 15ch; margin-bottom: 26px; }
.hero-sub { font-size: clamp(1.1rem, 1.7vw, 1.35rem); color: var(--color-muted); line-height: 1.62; max-width: 33rem; margin-bottom: 16px; }
.hero-form { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; max-width: 34rem; }
.field {
flex: 1; min-width: 220px; font-family: var(--font-body); font-size: 15.5px; color: var(--color-ink);
background: var(--color-card); border: 1px solid var(--color-line-2); border-radius: 999px; padding: 15px 22px;
transition: border-color 0.18s, box-shadow 0.18s;
}
.field::placeholder { color: #a49c90; }
.field:focus { outline: none; border-color: var(--color-pine); box-shadow: 0 0 0 4px var(--color-pine-wash); }
.hero-note { font-family: var(--font-mono); font-size: 12px; color: var(--color-muted); margin-top: 16px; }
.hero-note b { color: var(--color-pine); font-weight: 600; }
@media (max-width: 720px) { .hero-tabs { display: none; } .hero { padding: 56px 0 56px; } }
@media (max-width: 600px) { .spec { letter-spacing: 0.1em; font-size: 11px; } }
/* ============ HERO TWO-COLUMN + 3D BOOK ============ */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 72px; align-items: center; }
.hero-visual { display: flex; justify-content: center; order: 2; } /* book on the right */
.hero-copy { min-width: 0; order: 1; } /* text on the left */
.book3d { --bw: 300px; --bh: 420px; --bt: 54px; position: relative; perspective: 2000px; flex: none; padding: 6px 0 40px; }
.book3d__inner {
position: relative; width: var(--bw); height: var(--bh); margin: 0 auto;
transform-style: preserve-3d; transform: rotateX(7deg) rotateY(-34deg);
animation: book-float 8s ease-in-out infinite; will-change: transform;
}
.book3d:hover .book3d__inner { transform: rotateX(5deg) rotateY(-22deg); transition: transform 0.7s var(--ease); animation-play-state: paused; }
@keyframes book-float {
0%, 100% { transform: rotateX(7deg) rotateY(-34deg) translateY(0); }
50% { transform: rotateX(5deg) rotateY(-30deg) translateY(-12px); }
}
.book3d__face { position: absolute; top: 0; left: 0; }
.book3d__cover, .book3d__back { width: var(--bw); height: var(--bh); }
.book3d__cover {
transform: translateZ(calc(var(--bt) / 2)); border-radius: 3px 8px 8px 3px; overflow: hidden;
background: linear-gradient(125deg, #23745f, #1a5748 48%, #123f34);
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07), inset 8px 0 16px -8px rgba(0, 0, 0, 0.5), 0 32px 46px -22px rgba(18, 63, 52, 0.55);
padding: 32px 27px 27px; display: flex; flex-direction: column;
}
.book3d__back { transform: rotateY(180deg) translateZ(calc(var(--bt) / 2)); border-radius: 8px 3px 3px 8px; background: #0f3b30; }
.book3d__pages {
width: var(--bt); height: calc(var(--bh) - 6px); top: 3px; left: calc((var(--bw) - var(--bt)) / 2);
transform: rotateY(90deg) translateZ(calc(var(--bw) / 2));
background: repeating-linear-gradient(to left, #efe9db 0, #efe9db 1px, #d6cdba 1px, #d6cdba 3px);
}
.book3d__spine {
width: var(--bt); height: var(--bh); left: calc((var(--bw) - var(--bt)) / 2);
transform: rotateY(-90deg) translateZ(calc(var(--bw) / 2));
background: linear-gradient(#174f41, #0f3b30); display: flex; align-items: center; justify-content: center;
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.book3d__spine span {
writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap;
font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(239, 233, 219, 0.72);
}
.book3d__top {
width: var(--bw); height: var(--bt); top: calc((var(--bh) - var(--bt)) / 2);
transform: rotateX(90deg) translateZ(calc(var(--bh) / 2));
background: repeating-linear-gradient(to right, #efe9db 0, #efe9db 1px, #d6cdba 1px, #d6cdba 3px);
}
.book3d__kicker { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(239, 233, 219, 0.62); }
.book3d__title { font-family: var(--font-display); font-weight: 600; font-size: 2.25rem; line-height: 1.02; letter-spacing: -0.02em; color: #f3eee2; margin-top: 16px; }
.book3d__line { width: 34px; height: 2px; background: rgba(239, 233, 219, 0.5); margin: 15px 0; }
.book3d__sub { font-family: var(--font-body); font-size: 13px; color: rgba(239, 233, 219, 0.68); line-height: 1.45; max-width: 16ch; }
.book3d__mark { width: 44px; height: 44px; margin-top: auto; }
.book3d__brand { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: rgba(239, 233, 219, 0.85); margin-top: 12px; }
.book3d::after {
content: ""; position: absolute; left: 50%; bottom: 6px; width: 60%; height: 24px; transform: translateX(-50%);
background: radial-gradient(ellipse, rgba(18, 60, 50, 0.3), transparent 70%); filter: blur(7px); z-index: -1;
}
@media (max-width: 900px) {
.hero-grid { grid-template-columns: 1fr; gap: 44px; }
.hero-visual { order: 2; }
.hero-copy { order: 1; }
.book3d { --bw: 256px; --bh: 358px; --bt: 48px; }
}
@media (max-width: 420px) { .book3d { --bw: 210px; --bh: 294px; --bt: 40px; } }
@media (prefers-reduced-motion: reduce) { .book3d__inner { animation: none; } }
/* ============ FIELD NOTES (even gutters, aligned to container edges) ============ */
.notes { background: var(--color-paper-2); border-top: 1px solid var(--color-line); border-bottom: 1px solid var(--color-line); }
.notes-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.note { padding: 48px 36px; border-left: 1px solid var(--color-line); }
.note:first-child { border-left: none; padding-left: 0; }
.note:last-child { padding-right: 0; }
.note .n { font-family: var(--font-mono); font-size: 12px; color: var(--color-pine); letter-spacing: 0.12em; margin-bottom: 16px; }
.note h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; letter-spacing: -0.02em; margin-bottom: 12px; line-height: 1.15; }
.note p { font-size: 15px; color: var(--color-muted); line-height: 1.6; }
@media (max-width: 760px) {
.notes-grid { grid-template-columns: 1fr; }
.note { padding: 32px 0; border-left: none; border-top: 1px solid var(--color-line); }
.note:first-child { border-top: none; padding-top: 0; }
.note:last-child { padding-bottom: 0; }
}
/* ============ RECIPE (value centerpiece) ============ */
.recipe-head { max-width: 40rem; margin-bottom: 44px; }
.recipe-head h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(2rem, 4.3vw, 3.3rem); letter-spacing: -0.025em; line-height: 1.02; margin: 16px 0 18px; }
.recipe-head p { color: var(--color-muted); font-size: 1.08rem; }
.recipe { background: var(--color-card); border: 1px solid var(--color-line); border-radius: 20px; box-shadow: var(--sh-lg); overflow: hidden; }
.recipe-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 28px; border-bottom: 1px solid var(--color-line); background: linear-gradient(var(--color-card), var(--color-paper)); }
.recipe-id { font-family: var(--font-mono); font-size: 12.5px; color: var(--color-muted); letter-spacing: 0.04em; }
.recipe-id b { color: var(--color-pine); }
.recipe-vert { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--color-pine); background: var(--color-pine-wash); border: 1px solid var(--color-pine-tint); padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.recipe-body { padding: 34px 28px; }
.recipe-title { font-family: var(--font-display); font-weight: 600; font-size: 1.55rem; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 26px; max-width: 34rem; }
.row { display: grid; grid-template-columns: 118px 1fr; gap: 20px; padding: 18px 0; border-top: 1px dashed var(--color-line-2); }
.row:first-of-type { border-top: none; padding-top: 0; }
.row .k { font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-pine); padding-top: 3px; }
.row .v { font-size: 15.5px; color: var(--color-ink); line-height: 1.6; }
.row .v .sub { color: var(--color-muted); font-size: 14.5px; }
/* Let grid items shrink below their content width so the terminal's own
overflow-x:auto engages (scrolls) instead of the row expanding + being clipped. */
.row > * { min-width: 0; }
.term { max-width: 100%; }
.steps { counter-reset: s; display: flex; flex-direction: column; gap: 11px; margin: 0; padding: 0; }
.steps li { list-style: none; display: flex; gap: 12px; font-size: 15px; color: var(--color-ink); }
.steps li::before {
counter-increment: s; content: counter(s);
font-family: var(--font-mono); font-size: 11px; font-weight: 600; color: var(--color-pine);
background: var(--color-pine-wash); width: 22px; height: 22px; border-radius: 6px;
display: grid; place-items: center; flex: none; margin-top: 1px;
}
.term { margin-top: 14px; background: #14110e; border-radius: 12px; overflow: hidden; border: 1px solid #2a241d; }
.term-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid #2a241d; }
.term-bar i { width: 11px; height: 11px; border-radius: 999px; background: #3a342b; display: block; }
.term-bar span { font-family: var(--font-mono); font-size: 11px; color: #8a8175; margin-left: 8px; letter-spacing: 0.03em; }
.term pre { margin: 0; padding: 16px 18px; overflow-x: auto; font-family: var(--font-mono); font-size: 12.5px; line-height: 1.7; color: #d8d0c4; }
.term .c-user { color: #7fc8a9; }
.term .c-key { color: #e0b96b; }
.term .c-dim { color: #8a8175; }
.term .c-ok { color: #7fc8a9; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 12px; color: var(--color-amber); background: rgba(180, 121, 31, 0.08); border: 1px solid rgba(180, 121, 31, 0.2); padding: 4px 10px; border-radius: 999px; }
.guard { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--color-muted); padding: 8px 0; }
.guard svg { flex: none; margin-top: 2px; }
@media (max-width: 640px) {
.row { grid-template-columns: 1fr; gap: 8px; }
.recipe-body { padding: 26px 20px; }
.recipe-top { padding: 16px 20px; }
}
/* ============ CONTENTS (table-of-contents) ============ */
.contents { background: var(--color-paper-2); border-top: 1px solid var(--color-line); border-bottom: 1px solid var(--color-line); }
.contents h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -0.025em; margin: 14px 0 34px; max-width: 20ch; }
.toc { border-top: 1px solid var(--color-line-2); }
.toc a { display: grid; grid-template-columns: 52px 1fr auto auto; align-items: center; gap: 20px; padding: 22px 8px; border-bottom: 1px solid var(--color-line); transition: background 0.2s, padding 0.2s; }
.toc a:hover { background: var(--color-pine-wash); padding-left: 16px; }
.toc .num { font-family: var(--font-mono); font-size: 13px; color: var(--color-muted); }
.toc .name { font-family: var(--font-display); font-weight: 600; font-size: 1.32rem; letter-spacing: -0.02em; }
.toc .desc { font-size: 14px; color: var(--color-muted); justify-self: end; text-align: right; max-width: 24rem; }
.toc .arrow { color: var(--color-pine); opacity: 0; transition: opacity 0.2s, transform 0.2s; font-family: var(--font-mono); }
.toc a:hover .arrow { opacity: 1; transform: translateX(3px); }
@media (max-width: 720px) { .toc .desc { display: none; } .toc a { grid-template-columns: 40px 1fr auto; } }
/* ============ LETTER (human) ============ */
.letter { background: var(--color-pine-deep); color: #eaf1ec; position: relative; overflow: hidden; }
.letter::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 85% 0%, rgba(255, 255, 255, 0.06), transparent 60%); pointer-events: none; }
.letter-in { max-width: 720px; margin: 0 auto; padding: 0 28px; position: relative; }
.letter .spec { color: #8fbeae; }
.letter-body { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.4rem, 2.6vw, 1.95rem); line-height: 1.42; letter-spacing: -0.01em; margin: 22px 0 30px; }
.letter-body em { font-style: italic; color: #fff; }
.letter-body .mark { background: rgba(143, 190, 174, 0.18); padding: 0 0.08em; border-radius: 2px; }
.sign { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.sign .scrawl { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 1.5rem; color: #fff; }
.sign .who { font-family: var(--font-mono); font-size: 12px; color: #8fbeae; letter-spacing: 0.04em; line-height: 1.5; }
@media (max-width: 600px) { .letter-in { padding: 0 20px; } }
/* ============ AUTHORS ============ */
.authors h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.9rem, 3.6vw, 2.7rem); letter-spacing: -0.025em; margin: 14px 0 10px; }
.authors .lede { color: var(--color-muted); max-width: 38rem; margin-bottom: 38px; }
.auth-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.auth { background: var(--color-card); border: 1px solid var(--color-line); border-radius: 16px; padding: 24px; box-shadow: var(--sh-sm); transition: box-shadow 0.2s, transform 0.2s; }
.auth:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.auth .mono-tile { width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center; font-family: var(--font-mono); font-weight: 600; font-size: 16px; color: var(--color-pine); background: var(--color-pine-wash); border: 1px solid var(--color-pine-tint); margin-bottom: 16px; }
.auth h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.02em; margin-bottom: 4px; }
.auth .role { font-size: 13.5px; color: var(--color-muted); margin-bottom: 12px; }
.auth .status { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 6px; }
.auth .status.confirmed { color: var(--color-pine); }
.auth .status.tba { color: var(--color-muted); }
.auth .status i { width: 6px; height: 6px; border-radius: 999px; background: currentColor; display: block; }
.auth-join { display: grid; place-content: center; text-align: center; background: var(--color-pine-wash); border-style: dashed; border-color: var(--color-pine-tint); }
.auth-join p { font-size: 14px; color: var(--color-muted); max-width: 15rem; }
@media (max-width: 900px) { .auth-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .auth-grid { grid-template-columns: 1fr; } }
/* ============ EMAIL CAPTURE ============ */
.capture { background: var(--color-paper-2); border-top: 1px solid var(--color-line); border-bottom: 1px solid var(--color-line); }
.capture-in { max-width: 640px; margin: 0 auto; text-align: center; padding: 0 28px; }
.capture h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.025em; line-height: 1.02; margin: 16px 0 14px; }
.capture p { color: var(--color-muted); font-size: 1.06rem; margin-bottom: 28px; }
.capture form { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.capture .fine { font-family: var(--font-mono); font-size: 11.5px; color: var(--color-muted); margin-top: 18px; }
.ok-msg { font-family: var(--font-mono); font-size: 14px; color: var(--color-pine); }
@media (max-width: 600px) { .capture-in { padding: 0 20px; } }
/* ============ TIERS PREVIEW ============ */
.tiers-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 34px; }
.tiers-head h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.9rem, 3.6vw, 2.7rem); letter-spacing: -0.025em; margin: 12px 0 0; }
.tiers-note { font-family: var(--font-mono); font-size: 12px; color: var(--color-muted); max-width: 22rem; text-align: right; line-height: 1.6; }
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tier { background: var(--color-card); border: 1px solid var(--color-line); border-radius: 18px; padding: 30px 26px; display: flex; flex-direction: column; transition: box-shadow 0.2s, transform 0.2s; }
.tier:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.tier.feature { background: var(--color-pine); color: #eaf1ec; border-color: var(--color-pine); }
.tier .t-name { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; }
.tier .t-price { font-family: var(--font-display); font-weight: 900; font-size: 2.4rem; letter-spacing: -0.03em; line-height: 1; margin-bottom: 6px; }
.tier .t-price small { font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--color-muted); }
.tier.feature .t-price small { color: #9dc4b5; }
.tier .t-unit { font-size: 13px; color: var(--color-muted); margin-bottom: 18px; }
.tier.feature .t-unit { color: #9dc4b5; }
.tier .t-desc { font-size: 14.5px; color: var(--color-muted); line-height: 1.6; }
.tier.feature .t-desc { color: #cfe0d6; }
.tier .t-tag { align-self: flex-start; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; background: #eaf1ec; color: var(--color-pine-deep); padding: 4px 10px; border-radius: 999px; margin-bottom: 16px; }
@media (max-width: 820px) { .tier-grid { grid-template-columns: 1fr; } .tiers-note { text-align: left; } }
/* ============ FAQ ============ */
.faq h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.9rem, 3.6vw, 2.7rem); letter-spacing: -0.025em; margin-bottom: 34px; }
.qa { border-top: 1px solid var(--color-line); }
.qa details { border-bottom: 1px solid var(--color-line); padding: 6px 0; }
.qa summary { cursor: pointer; list-style: none; padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.02em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .pl { font-family: var(--font-mono); color: var(--color-pine); font-size: 1.1rem; transition: transform 0.2s var(--ease); flex: none; }
.qa details[open] summary .pl { transform: rotate(45deg); }
.qa .ans { padding: 0 40px 22px 0; color: var(--color-muted); font-size: 16px; line-height: 1.65; }
@media (max-width: 600px) { .qa .ans { padding-right: 0; } }
/* ============ FOOTER ============ */
.footer { background: var(--color-ink); color: #d8d0c4; }
.foot-in { max-width: var(--wrap); margin: 0 auto; padding: 64px 28px 48px; }
.foot-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.foot-top .logo { color: #f7f5f0; font-size: 24px; }
.foot-top .logo b { color: #7fc8a9; }
.foot-top .logo .dot { color: #8a8175; }
.foot-blurb { max-width: 24rem; font-size: 14.5px; color: #9a9184; margin-top: 14px; line-height: 1.6; }
.foot-links { display: flex; gap: 28px; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.03em; color: #9a9184; flex-wrap: wrap; }
.foot-links a:hover { color: #f7f5f0; }
.colophon { padding-top: 26px; font-family: var(--font-mono); font-size: 11.5px; color: #7a7266; letter-spacing: 0.02em; line-height: 1.8; }
@media (max-width: 600px) { .foot-in { padding: 48px 20px 40px; } }