Evidence Audit 1
Evidence audit: a framed, signed audit that answers a careful buyer's questions line by line (Verified / Review / Not claimed).
Use it in a prompt
Use proof/evidence-audit from the FunnelDNA library. Follow the skill and theme contract. Ask me for the copy, images, and brand details you need; do not invent proof.
Paste into Claude or ChatGPT with FunnelDNA connected (MCP setup), or alongside the skill.
Use it in code
- Save
component.tsx(Code tab) ascomponents/funneldna/proof/evidence-audit.tsx. - Import it and pass your copy and images (Props tab):
import { EvidenceAudit } from "@/components/funneldna/proof/evidence-audit"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/proof/evidence-audit/component.tsx 747 lines
// layout: certificate-document
// Evidence audit: a framed, signed audit that answers a careful buyer's questions line by line (Verified / Review / Not claimed).
// Honest proof for new offers with no testimonials yet; a filterable scoreboard tallies the lines and the close asks a question the button answers.
import * as React from "react"
import { Check, Minus, Search, ShieldCheck, type LucideIcon } from "lucide-react"
import { FX_HOST, Pattern } from "../fx/fx"
export type EvidenceStatus = "verified" | "review" | "not-claimed"
export type EvidenceCheck = {
label: string
status: EvidenceStatus
/** Short line under the label: where to see it, or why it is not claimed. */
note?: string
}
export type EvidenceQuestion = {
/** The question a careful buyer asks. */
question: React.ReactNode
checks: EvidenceCheck[]
}
export type EvidenceAuditProps = {
/** Section headline; a string headline gets the marker stroke on `highlight`. */
headline?: React.ReactNode
/** Phrase inside a string headline that gets the marker stroke. */
highlight?: string
/** Short paragraphs, each opening with a bold lead-in. */
intro?: { lead: string; text: string }[]
/** The buyer's questions, each with its audited lines. */
items?: EvidenceQuestion[]
/** Word shown for each status. */
statusLabels?: Record<EvidenceStatus, string>
/** What each status means, shown on the scoreboard. */
statusMeanings?: Record<EvidenceStatus, string>
/** One line under the scoreboard explaining the tap-to-highlight. */
filterHint?: string
/** Sign-off sentence above the signature. Empty by default. */
signoff?: string
/** Name under the signature, also set in the signature face when no image is supplied. Empty hides it. */
signerName?: string
/** Role shown under the signer's name. */
signerRole?: string
/** Slot: signature. Handwritten signature image; without it the name is set in the signature face (--signature-face, else the display face). */
signatureImage?: string
/** Slot: stamp. Seal art for the document, shown in a rounded, shadowed frame. */
sealImage?: string
sealAlt?: string
/** Closing question; the button answers it. */
question?: string
/** Price shown above the button; empty hides the price block. */
price?: string
/** Word after the price, e.g. "once". */
priceUnit?: string
/** Supplied breakdown under the price, e.g. "about $1.57 a day for a month". */
priceBreakdown?: string
/** Button text. */
label?: string
/** Line under the button, led by an inline shield icon. Empty by default. */
reassurance?: string
/** Navigation destination; the button renders as a link when set and not disabled. */
href?: string
/** Handles the button click. */
onAction?: (event: React.MouseEvent<HTMLElement>) => void
disabled?: boolean
/** Forced visual state of the button (specimen and previews). */
state?: "default" | "hover" | "active" | "disabled"
/** Accessible labels. signatureAlt uses the {name} placeholder. */
copy?: { scoreboardLabel?: string; signatureAlt?: string }
/** Root class for page-level placement. */
className?: string
}
export function EvidenceAudit(props: EvidenceAuditProps) {
const {
headline = "Don't take our word for it. Check the work.",
highlight = "Check the work.",
intro = DEFAULT_INTRO,
items = DEFAULT_ITEMS,
statusLabels = DEFAULT_LABELS,
statusMeanings = DEFAULT_MEANINGS,
filterHint = "Tap a count to highlight its lines.",
signoff = "",
signerName = "",
signerRole = "",
signatureImage = "",
sealImage = "",
sealAlt = "Audit seal",
question = "Seen enough to decide?",
price = "",
priceUnit = "",
priceBreakdown = "",
label = "Yes, I'm ready to start",
reassurance = "",
href,
onAction,
disabled = false,
state = "default",
copy = {},
className,
} = props
const [filter, setFilter] = React.useState<EvidenceStatus | null>(null)
const isDisabled = disabled || state === "disabled"
const tally = ORDER.map((status) => ({
status,
count: items.reduce((n, item) => n + item.checks.filter((c) => c.status === status).length, 0),
})).filter((t) => t.count > 0)
const hasFoot = Boolean(signoff || signerName || signatureImage || sealImage)
const signatureAlt = fillTemplate(copy.signatureAlt ?? "Signature of {name}", { name: signerName })
const action =
href && !isDisabled ? (
<a className="cf-ea-btn" href={href} onClick={onAction}>
{label}
</a>
) : (
<button type="button" className="cf-ea-btn" disabled={isDisabled} onClick={onAction}>
{label}
</button>
)
return (
<section
className={["cf-evidence-audit", className].filter(Boolean).join(" ")}
style={FX_HOST}
data-state={state}
>
<style>{CSS}</style>
<Pattern name="grid" fade="top" />
<div className="cf-ea-inner">
<header className="cf-ea-head">
<h2 className="cf-ea-title">{renderHeadline(headline, highlight)}</h2>
{intro.length ? (
<div className="cf-ea-intro">
{intro.map((p, i) => (
<p key={i}>
<strong>{p.lead}</strong> {p.text}
</p>
))}
</div>
) : null}
</header>
<article className="cf-ea-doc">
{tally.length ? (
<>
<div className="cf-ea-tally" role="group" aria-label={copy.scoreboardLabel ?? "Highlight lines by status"}>
{tally.map(({ status, count }) => {
const Icon = ICONS[status]
const on = filter === status
return (
<button
key={status}
type="button"
className={`cf-ea-tile is-${status}`}
aria-pressed={on}
onClick={() => setFilter(on ? null : status)}
>
<span className="cf-ea-count">{count}</span>
<span className="cf-ea-tile-text">
<span className="cf-ea-status">
<span className="cf-ea-badge" aria-hidden="true">
<Icon size={16} strokeWidth={3} />
</span>
{statusLabels[status]}
</span>
<span className="cf-ea-meaning">{statusMeanings[status]}</span>
</span>
</button>
)
})}
</div>
{filterHint ? <p className="cf-ea-hint">{filterHint}</p> : null}
</>
) : null}
<ol className="cf-ea-list">
{items.map((item, i) => (
<li
key={i}
className="cf-ea-entry"
style={{ "--ea-delay": `${Math.min(i * 0.07, 0.28)}s` } as React.CSSProperties}
>
<div className="cf-ea-q">
<span className="cf-ea-num" aria-hidden="true">
{String(i + 1).padStart(2, "0")}
</span>
<h3>{item.question}</h3>
</div>
<ul className="cf-ea-rows">
{item.checks.map((check, j) => {
const Icon = ICONS[check.status]
return (
<li
key={j}
className={`cf-ea-row is-${check.status}`}
data-match={filter === check.status ? "" : undefined}
>
<span className="cf-ea-row-text">
<span className="cf-ea-row-label">{check.label}</span>
{check.note ? <span className="cf-ea-note">{check.note}</span> : null}
</span>
<span className="cf-ea-status">
<span className="cf-ea-badge" aria-hidden="true">
<Icon size={16} strokeWidth={3} />
</span>
{statusLabels[check.status]}
</span>
</li>
)
})}
</ul>
</li>
))}
</ol>
{hasFoot ? (
<div className="cf-ea-foot">
<div className="cf-ea-sign">
{signoff ? <p className="cf-ea-signoff">{signoff}</p> : null}
{signatureImage ? (
<img className="cf-ea-sig-img" src={signatureImage} alt={signatureAlt} />
) : signerName ? (
<p className="cf-ea-sig" aria-hidden="true">
{signerName}
</p>
) : null}
{signerName ? (
<p className="cf-ea-signer">
<strong>{signerName}</strong>
{signerRole ? <span>{signerRole}</span> : null}
</p>
) : null}
</div>
{sealImage ? (
<img className="cf-ea-seal" src={sealImage} alt={sealAlt} width={136} height={136} />
) : null}
</div>
) : null}
</article>
<div className="cf-ea-close">
{question ? <p className="cf-ea-ask">{question}</p> : null}
{price ? (
<div className="cf-ea-pricebox">
<p className="cf-ea-price">
<span className="cf-ea-price-num">{price}</span>
{priceUnit ? <span className="cf-ea-price-unit">{priceUnit}</span> : null}
</p>
{priceBreakdown ? <p className="cf-ea-breakdown">{priceBreakdown}</p> : null}
</div>
) : null}
{action}
{reassurance ? (
<p className="cf-ea-reassure">
<ShieldCheck size={18} strokeWidth={2.5} aria-hidden="true" />
{reassurance}
</p>
) : null}
</div>
</div>
</section>
)
}
export default EvidenceAudit
const ORDER: EvidenceStatus[] = ["verified", "review", "not-claimed"]
const ICONS: Record<EvidenceStatus, LucideIcon> = {
verified: Check,
review: Search,
"not-claimed": Minus,
}
const DEFAULT_LABELS: Record<EvidenceStatus, string> = {
verified: "Verified",
review: "Review",
"not-claimed": "Not claimed",
}
const DEFAULT_MEANINGS: Record<EvidenceStatus, string> = {
verified: "Shown on this page",
review: "Check it yourself",
"not-claimed": "We don't promise it",
}
const DEFAULT_INTRO = [
{ lead: "Proof you can check.", text: "Every question a careful buyer asks, answered line by line." },
{ lead: "Nothing dressed up.", text: "What we can't show you is marked Review or Not claimed, never guessed." },
]
const DEFAULT_ITEMS: EvidenceQuestion[] = [
{
question: "Can you see exactly what you get before you pay?",
checks: [
{ label: "Every item named", status: "review" },
{ label: "What each item helps you do", status: "review" },
{ label: "How you receive it", status: "review" },
],
},
{
question: "Is the price the whole price?",
checks: [
{ label: "The full price", status: "review" },
{ label: "Anything billed later", status: "review" },
{ label: "Costs outside this offer", status: "review" },
],
},
{
question: "What happens if it isn't right for you?",
checks: [
{ label: "The guarantee terms", status: "review" },
{ label: "How to ask for a refund", status: "review" },
],
},
{
question: "What does this offer not promise?",
checks: [
{ label: "Income or sales results", status: "review" },
{ label: "Testimonials", status: "review" },
],
},
]
/** Replaces every {key} placeholder in a copy template with its value, as plain text. */
function fillTemplate(template: string, values: Record<string, string>) {
return Object.entries(values).reduce((text, [key, value]) => text.split(`{${key}}`).join(value), template)
}
function renderHeadline(headline: React.ReactNode, highlight?: string) {
if (typeof headline !== "string" || !highlight) return headline
const at = headline.indexOf(highlight)
if (at < 0) return headline
return (
<>
{headline.slice(0, at)}
<span className="cf-ea-mark">{highlight}</span>
{headline.slice(at + highlight.length)}
</>
)
}
// Status badges: solid status fill (capped at L 0.56 so the white glyph keeps 3:1 on dark themes too) with a white glyph
// per theme-contract "Status icon badges"; white only appears as the last fallback inside var().
// Seal image: owner request (2026-11-22) to frame it with rounded corners and a box shadow so the square seal art
// sits on the document as a finished tile; the shadow is the close, dark token recipe on --shadow (no glow).
// Signature name: set in --signature-font (the theme's --signature-face, else the display face); the piece loads no font of its own.
const CSS = `
.cf-evidence-audit {
--ea-ink: var(--ink, #1b2333);
--ea-card: var(--card, #ffffff);
--ea-hair: oklch(from var(--ink, #1b2333) l c h / 0.12);
--ea-well: color-mix(in oklch, var(--ink, #1b2333) 4%, var(--card, #ffffff));
--ea-cta: var(--button-bg, var(--cta, #d92d20));
--ea-cta-2: var(--button-bg-2, var(--cta-2, #b42318));
--ea-shadow: var(--shadow, oklch(0.22 0.03 256));
--ea-focus: oklch(from var(--field-focus, var(--accent, #2563eb)) l c h / 0.55);
--ea-marker: color-mix(in oklch, var(--marker, #fae37c) 75%, transparent);
--ea-img-radius: clamp(8px, var(--radius, 12px), 16px);
--signature-ink: var(--ink, #1b2333);
--signature-font: var(--signature-face, var(--font-display, var(--font-body, system-ui, sans-serif)));
position: relative;
isolation: isolate;
overflow: hidden;
background: var(--surface, #ffffff);
color: var(--ea-ink);
font-family: var(--font-body, system-ui, sans-serif);
padding: clamp(56px, 8vw, 112px) clamp(16px, 5vw, 48px) clamp(64px, 8.5vw, 120px);
}
.cf-evidence-audit *, .cf-evidence-audit *::before, .cf-evidence-audit *::after { box-sizing: border-box; }
.cf-evidence-audit .cf-ea-inner { position: relative; z-index: 1; max-width: 1120px; margin: 0 auto; }
.cf-evidence-audit .cf-ea-head { max-width: 46rem; margin: 0 auto; text-align: center; }
.cf-evidence-audit .cf-ea-title {
margin: 0;
font-family: var(--font-display, var(--font-body, system-ui, sans-serif));
font-weight: var(--display-weight, 800);
letter-spacing: var(--display-tracking, -0.025em);
text-transform: var(--display-case, none);
font-size: clamp(2rem, 3.6vw, 3.25rem);
line-height: 1.06;
text-wrap: balance;
color: var(--ea-ink);
}
.cf-evidence-audit .cf-ea-mark {
background-image: linear-gradient(to bottom, transparent 0 38%, var(--ea-marker) 38% 94%, transparent 94%);
-webkit-box-decoration-break: clone;
box-decoration-break: clone;
padding: 0 0.1em;
margin: 0 -0.04em;
border-radius: 0.3em 0.12em 0.36em 0.1em;
}
.cf-evidence-audit .cf-ea-intro { margin: 16px auto 0; max-width: 40rem; display: grid; gap: 8px; }
.cf-evidence-audit .cf-ea-intro p {
margin: 0;
font-size: clamp(1.125rem, 1.5vw, 1.375rem);
line-height: 1.4;
font-weight: 500;
color: var(--muted, #4a5565);
text-wrap: pretty;
}
.cf-evidence-audit .cf-ea-intro strong { color: var(--ea-ink); font-weight: 800; }
.cf-evidence-audit .cf-ea-doc {
position: relative;
max-width: 960px;
margin: clamp(32px, 5vw, 56px) auto 0;
background: var(--ea-card);
color: var(--ea-ink);
border: 1px solid var(--card-border, oklch(from var(--ink, #1b2333) l c h / 0.12));
border-radius: var(--card-radius, var(--radius, 14px));
box-shadow: var(--card-shadow, var(--shadow-lg, 0 2px 4px oklch(0.22 0.03 256 / 0.22), 0 12px 24px -8px oklch(0.22 0.03 256 / 0.32)));
padding: clamp(28px, 4.5vw, 56px) clamp(24px, 4.5vw, 56px);
}
.cf-evidence-audit .cf-ea-doc::before {
content: "";
position: absolute;
inset: 8px;
border: 1px solid var(--ea-hair);
border-radius: max(0px, calc(var(--card-radius, var(--radius, 14px)) - 6px));
pointer-events: none;
}
.cf-evidence-audit .is-verified { --ea-tone: var(--success, #2f7d32); --ea-soft: var(--success-soft, oklch(0.93 0.02 150)); }
.cf-evidence-audit .is-review { --ea-tone: var(--warning, #806300); --ea-soft: var(--warning-soft, oklch(0.93 0.014 85)); }
.cf-evidence-audit .is-not-claimed { --ea-tone: var(--muted, #4a5565); --ea-soft: color-mix(in oklch, var(--ink, #1b2333) 7%, var(--card, #ffffff)); }
.cf-evidence-audit .cf-ea-status {
display: inline-flex;
align-items: center;
gap: 8px;
white-space: nowrap;
font-size: 0.875rem;
line-height: 1.2;
font-weight: 800;
letter-spacing: 0.06em;
text-transform: uppercase;
color: var(--ea-tone);
}
.cf-evidence-audit .cf-ea-badge {
flex: none;
display: inline-grid;
place-items: center;
width: 24px;
height: 24px;
border-radius: 999px;
background: oklch(from var(--ea-tone) min(l, 0.56) c h);
color: var(--status-glyph, #ffffff);
}
.cf-evidence-audit .cf-ea-badge svg { display: block; }
.cf-evidence-audit .cf-ea-tally {
position: relative;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
gap: 6px;
padding: 6px;
border-radius: 10px;
background: var(--ea-well);
}
.cf-evidence-audit .cf-ea-tile {
appearance: none;
border: 0;
margin: 0;
display: grid;
grid-template-columns: auto minmax(0, 1fr);
align-items: center;
gap: 16px;
padding: 16px 18px;
border-radius: 8px;
background: transparent;
color: var(--ea-ink);
font: inherit;
text-align: left;
cursor: pointer;
transition: background 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}
.cf-evidence-audit .cf-ea-tile:hover { background: color-mix(in oklch, var(--ink, #1b2333) 8%, var(--card, #ffffff)); }
.cf-evidence-audit .cf-ea-tile[aria-pressed="true"] {
background: var(--ea-card);
box-shadow: inset 0 0 0 2px var(--ea-tone), var(--shadow-sm, 0 1px 2px oklch(0.22 0.03 256 / 0.2));
}
.cf-evidence-audit .cf-ea-tile:active { transform: translateY(1px); }
.cf-evidence-audit .cf-ea-tile:focus-visible { outline: 3px solid var(--ea-focus); outline-offset: 2px; }
.cf-evidence-audit .cf-ea-count {
min-width: 1.2ch;
text-align: center;
font-family: var(--font-display, var(--font-body, system-ui, sans-serif));
font-weight: var(--display-weight, 800);
font-size: clamp(2.5rem, 4.2vw, 3.75rem);
line-height: 1;
letter-spacing: -0.03em;
font-variant-numeric: tabular-nums;
color: var(--ea-tone);
}
.cf-evidence-audit .cf-ea-tile.is-not-claimed .cf-ea-count { color: var(--ea-ink); }
.cf-evidence-audit .cf-ea-tile-text { display: grid; gap: 4px; min-width: 0; }
.cf-evidence-audit .cf-ea-meaning { font-size: 0.9375rem; line-height: 1.4; font-weight: 500; color: var(--muted, #4a5565); }
.cf-evidence-audit .cf-ea-hint { margin: 12px 0 0; font-size: 0.9375rem; line-height: 1.4; font-weight: 500; color: var(--muted, #4a5565); }
.cf-evidence-audit .cf-ea-list { list-style: none; margin: clamp(24px, 3vw, 32px) 0 0; padding: 0; }
.cf-evidence-audit .cf-ea-entry {
display: grid;
grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
gap: 16px clamp(24px, 4vw, 48px);
align-items: start;
padding: clamp(24px, 3vw, 32px) 0;
border-top: 1px solid var(--ea-hair);
animation: cf-ea-rise 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both;
animation-delay: var(--ea-delay, 0s);
}
.cf-evidence-audit .cf-ea-list:last-child .cf-ea-entry:last-child { padding-bottom: 0; }
.cf-evidence-audit .cf-ea-q { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: baseline; }
.cf-evidence-audit .cf-ea-num {
font-family: var(--font-display, var(--font-body, system-ui, sans-serif));
font-weight: var(--display-weight, 800);
font-size: clamp(1.3125rem, 1.8vw, 1.625rem);
line-height: 1.15;
font-variant-numeric: tabular-nums;
color: var(--accent, #2563eb);
}
.cf-evidence-audit .cf-ea-q h3 {
margin: 0;
font-family: var(--font-display, var(--font-body, system-ui, sans-serif));
font-weight: var(--display-weight, 800);
text-transform: var(--display-case, none);
font-size: clamp(1.3125rem, 1.8vw, 1.625rem);
line-height: 1.15;
letter-spacing: -0.01em;
text-wrap: balance;
color: var(--ea-ink);
}
.cf-evidence-audit .cf-ea-rows { list-style: none; margin: -12px -12px 0; padding: 0; }
.cf-evidence-audit .cf-ea-row {
position: relative;
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
gap: 8px 16px;
align-items: start;
padding: 12px;
border-radius: 8px;
transition: background 0.16s ease;
}
.cf-evidence-audit .cf-ea-row + .cf-ea-row::before {
content: "";
position: absolute;
top: 0;
left: 12px;
right: 12px;
height: 1px;
background: var(--ea-hair);
pointer-events: none;
}
.cf-evidence-audit .cf-ea-row[data-match]::before,
.cf-evidence-audit .cf-ea-row[data-match] + .cf-ea-row::before { opacity: 0; }
.cf-evidence-audit .cf-ea-row[data-match] { background: var(--ea-soft); }
.cf-evidence-audit .cf-ea-row-text { display: grid; gap: 4px; min-width: 0; }
.cf-evidence-audit .cf-ea-row-label {
font-size: clamp(1.0625rem, 1.25vw, 1.125rem);
line-height: 1.4;
font-weight: 600;
color: var(--ea-ink);
text-wrap: pretty;
}
.cf-evidence-audit .cf-ea-note { font-size: 0.9375rem; line-height: 1.4; font-weight: 500; color: var(--muted, #4a5565); text-wrap: pretty; }
.cf-evidence-audit .cf-ea-row .cf-ea-status { margin-top: 1px; }
.cf-evidence-audit .cf-ea-foot {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
align-items: center;
gap: 24px;
margin-top: 8px;
padding-top: clamp(24px, 3vw, 32px);
border-top: 1px solid var(--ea-hair);
}
.cf-evidence-audit .cf-ea-signoff {
margin: 0;
max-width: 52ch;
font-size: clamp(1.0625rem, 1.25vw, 1.125rem);
line-height: 1.5;
font-weight: 500;
color: var(--ea-ink);
text-wrap: pretty;
}
.cf-evidence-audit .cf-ea-sig {
margin: 16px 0 8px;
font-family: var(--signature-font);
font-weight: 400;
font-size: clamp(2.5rem, 4.2vw, 3.75rem);
line-height: 1;
color: var(--signature-ink);
}
.cf-evidence-audit .cf-ea-sig-img {
display: block;
margin-top: 16px;
height: 64px;
width: auto;
max-width: min(100%, 260px);
object-fit: contain;
object-position: left center;
}
.cf-evidence-audit .cf-ea-signer { margin: 8px 0 0; display: grid; gap: 2px; font-size: 0.9375rem; line-height: 1.4; }
.cf-evidence-audit .cf-ea-signer strong { font-weight: 800; color: var(--ea-ink); }
.cf-evidence-audit .cf-ea-signer span { font-weight: 500; color: var(--muted, #4a5565); }
.cf-evidence-audit .cf-ea-seal {
display: block;
width: clamp(104px, 12vw, 144px);
height: auto;
aspect-ratio: 1;
object-fit: cover;
object-position: center;
border-radius: var(--ea-img-radius);
background: var(--ea-well);
box-shadow:
0 1px 2px oklch(from var(--ea-shadow) l c h / 0.24),
0 8px 16px -6px oklch(from var(--ea-shadow) l c h / 0.32);
}
.cf-evidence-audit .cf-ea-close {
max-width: 46rem;
margin: clamp(48px, 6vw, 64px) auto 0;
display: grid;
justify-items: center;
text-align: center;
}
.cf-evidence-audit .cf-ea-ask {
margin: 0;
font-family: var(--font-display, var(--font-body, system-ui, sans-serif));
font-weight: var(--display-weight, 800);
text-transform: var(--display-case, none);
font-size: clamp(1.3125rem, 1.8vw, 1.625rem);
line-height: 1.15;
letter-spacing: -0.01em;
text-wrap: balance;
color: var(--ea-ink);
}
.cf-evidence-audit .cf-ea-pricebox { margin-top: 16px; }
.cf-evidence-audit .cf-ea-price { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 10px; }
.cf-evidence-audit .cf-ea-price-num {
font-family: var(--font-display, var(--font-body, system-ui, sans-serif));
font-weight: var(--display-weight, 800);
font-size: clamp(2.5rem, 4.2vw, 3.75rem);
line-height: 1;
letter-spacing: -0.03em;
font-variant-numeric: tabular-nums;
color: var(--ea-ink);
}
.cf-evidence-audit .cf-ea-price-unit { font-size: clamp(1.125rem, 1.5vw, 1.375rem); line-height: 1.4; font-weight: 600; color: var(--muted, #4a5565); }
.cf-evidence-audit .cf-ea-breakdown { margin: 12px 0 0; font-size: 0.9375rem; line-height: 1.4; font-weight: 600; color: var(--muted, #4a5565); }
.cf-evidence-audit .cf-ea-btn {
appearance: none;
border: 0;
margin: 24px 0 0;
display: inline-flex;
align-items: center;
justify-content: center;
width: min(100%, 26rem);
min-height: 72px;
padding: 0 28px;
border-radius: var(--button-radius, var(--radius, 12px));
font-family: var(--button-font, var(--font-display, var(--font-body, system-ui, sans-serif)));
font-weight: var(--button-weight, 800);
text-transform: var(--button-case, none);
font-size: clamp(1.125rem, 1.55vw, 1.375rem);
line-height: 1.15;
text-align: center;
text-wrap: balance;
text-decoration: none;
color: var(--button-ink, var(--cta-ink, #ffffff));
text-shadow: var(--button-text-shadow, none);
background: linear-gradient(oklch(from var(--ea-cta) calc(l + 0.04) c h), oklch(from var(--ea-cta-2) calc(l - 0.02) c h));
box-shadow: var(--button-shadow,
inset 0 1px 0 oklch(from var(--ea-cta) calc(l + 0.14) c h / 0.7),
inset 0 -3px 0 oklch(from var(--ea-cta) calc(l - 0.16) c h),
0 1px 2px oklch(from var(--ea-shadow) l c h / 0.3),
0 8px 16px -6px oklch(from var(--ea-shadow) l c h / 0.45));
cursor: pointer;
transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.cf-evidence-audit .cf-ea-btn:hover:not(:disabled),
.cf-evidence-audit[data-state="hover"] .cf-ea-btn:not(:disabled) {
background: linear-gradient(oklch(from var(--ea-cta) calc(l - 0.01) c h), oklch(from var(--ea-cta-2) calc(l - 0.07) c h));
box-shadow: var(--button-shadow,
inset 0 1px 0 oklch(from var(--ea-cta) calc(l + 0.1) c h / 0.7),
inset 0 -3px 0 oklch(from var(--ea-cta) calc(l - 0.2) c h),
0 1px 2px oklch(from var(--ea-shadow) l c h / 0.34),
0 10px 18px -6px oklch(from var(--ea-shadow) l c h / 0.55));
}
.cf-evidence-audit .cf-ea-btn:active:not(:disabled),
.cf-evidence-audit[data-state="active"] .cf-ea-btn:not(:disabled) {
transform: translateY(1px);
background: linear-gradient(oklch(from var(--ea-cta) calc(l - 0.04) c h), oklch(from var(--ea-cta-2) calc(l - 0.08) c h));
box-shadow: var(--button-shadow,
inset 0 2px 4px oklch(from var(--ea-cta) calc(l - 0.22) c h / 0.45),
inset 0 -2px 0 oklch(from var(--ea-cta) calc(l - 0.16) c h),
0 1px 1px oklch(from var(--ea-shadow) l c h / 0.3));
}
.cf-evidence-audit .cf-ea-btn:focus-visible { outline: 3px solid var(--ea-focus); outline-offset: 3px; }
.cf-evidence-audit .cf-ea-btn:disabled {
background: var(--button-2-bg, var(--secondary, oklch(0.93 0.015 263)));
color: var(--button-2-ink, var(--secondary-ink, #1b2333));
box-shadow: var(--button-2-shadow, var(--shadow-sm, 0 1px 2px oklch(0.22 0.03 256 / 0.2)));
text-shadow: none;
cursor: not-allowed;
transform: none;
}
.cf-evidence-audit .cf-ea-reassure {
margin: 12px 0 0;
font-size: 0.9375rem;
line-height: 1.4;
font-weight: 600;
color: var(--muted, #4a5565);
text-wrap: pretty;
}
.cf-evidence-audit .cf-ea-reassure svg { display: inline-block; vertical-align: -0.2em; margin-inline-end: 0.4em; color: var(--success, #2f7d32); }
@keyframes cf-ea-rise {
from { opacity: 0.82; transform: translateY(8px); }
to { opacity: 1; transform: none; }
}
@media (max-width: 720px) {
.cf-evidence-audit .cf-ea-entry { grid-template-columns: minmax(0, 1fr); }
.cf-evidence-audit .cf-ea-rows { margin: 0 -12px; }
.cf-evidence-audit .cf-ea-doc::before { inset: 6px; }
}
@media (max-width: 480px) {
.cf-evidence-audit .cf-ea-row { grid-template-columns: minmax(0, 1fr); }
.cf-evidence-audit .cf-ea-tile { padding: 16px; gap: 16px; }
.cf-evidence-audit .cf-ea-foot { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 16px; }
.cf-evidence-audit .cf-ea-seal { order: -1; width: 96px; }
.cf-evidence-audit .cf-ea-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
.cf-evidence-audit .cf-ea-entry { animation: none; }
.cf-evidence-audit .cf-ea-btn, .cf-evidence-audit .cf-ea-tile, .cf-evidence-audit .cf-ea-row { transition: none; }
.cf-evidence-audit .cf-ea-btn:active, .cf-evidence-audit .cf-ea-tile:active,
.cf-evidence-audit[data-state="active"] .cf-ea-btn { transform: none; }
}
`
pieces/proof/evidence-audit/specimen.tsx 70 lines
import * as React from "react"
import { EvidenceAudit, type EvidenceAuditProps } from "../evidence-audit"
import defaults from "../../studio-defaults.json"
import { slot } from "../../slots"
import sealArt from "../assets/63f8b2eefdfa4d9b.webp"
export const states = ["default", "hover", "active", "disabled"]
type SpecimenState = NonNullable<EvidenceAuditProps["state"]>
export default function EvidenceAuditSpecimen({ state = "default" }: { state?: SpecimenState }) {
const s = defaults.sample
const [guide, workbook, checklist] = s.items
return (
<EvidenceAudit
state={state}
headline="Don't take our word for it. Check every line."
highlight="Check every line."
intro={[
{ lead: "No reviews yet.", text: `${s.name} is new, so the proof is the kit itself, laid out line by line.` },
{ lead: "Nothing dressed up.", text: "If you should check it yourself, or we don't promise it, this audit says so." },
]}
items={[
{
question: "Can you see everything in the kit before you pay?",
checks: [
{ label: "Every item named, with what it does", status: "verified", note: `${guide.name}, ${workbook.name} and ${checklist.name}` },
{ label: "A photo of each item", status: "verified", note: "Shown in the kit section above" },
{ label: "How you receive it", status: "review", note: "Instant download. Check it opens on your device." },
],
},
{
question: "Is the price the whole price?",
checks: [
{ label: `One payment of ${s.price}`, status: "verified", note: s.note },
{ label: "Tools you may need later", status: "review", note: "A domain or page builder has its own cost" },
],
},
{
question: "What happens if it isn't right for you?",
checks: [
{ label: "30-day money-back guarantee", status: "verified", note: "Ask within 30 days and get your money back" },
{ label: "How to ask for a refund", status: "review", note: "Read the steps at checkout" },
],
},
{
question: "Will it make you money?",
checks: [
{ label: "A clear plan for your first funnel", status: "verified", note: "Plan, write and check every step" },
{ label: "Income or sales results", status: "not-claimed", note: "We make no earnings promises" },
{ label: "Customer testimonials", status: "not-claimed", note: "The kit is new. No reviews yet." },
],
},
]}
signoff="Every line on this audit is true today. If anything changes, this page changes with it."
signerName="Jordan Ellis"
signerRole={`Founder, ${s.name}`}
signatureImage={slot("signature", "")}
sealImage={slot("stamp", sealArt)}
sealAlt="Audit seal"
question="Ready to build your first funnel with a clear plan?"
price={s.price}
priceUnit="once"
priceBreakdown="about $1.57 a day for a month"
label="I'm ready, send me the kit"
reassurance={s.guarantee}
href="#order"
/>
)
}
| Name | Type | Details |
|---|---|---|
headline OptionalEvidenceAudit |
React.ReactNode |
|
highlight OptionalEvidenceAudit |
string |
|
intro OptionalEvidenceAudit |
{ lead: string; text: string }[] |
|
items OptionalEvidenceAudit |
EvidenceQuestion[] |
|
statusLabels OptionalEvidenceAudit |
Record<EvidenceStatus, string> |
|
statusMeanings OptionalEvidenceAudit |
Record<EvidenceStatus, string> |
|
filterHint OptionalEvidenceAudit |
string |
|
signoff OptionalEvidenceAudit |
string |
|
signerName OptionalEvidenceAudit |
string |
|
signerRole OptionalEvidenceAudit |
string |
|
signatureImage OptionalEvidenceAudit |
string |
|
sealImage OptionalEvidenceAudit |
string |
|
sealAlt OptionalEvidenceAudit |
string |
|
question OptionalEvidenceAudit |
string |
|
price OptionalEvidenceAudit |
string |
|
priceUnit OptionalEvidenceAudit |
string |
|
priceBreakdown OptionalEvidenceAudit |
string |
|
label OptionalEvidenceAudit |
string |
|
reassurance OptionalEvidenceAudit |
string |
|
href OptionalEvidenceAudit |
string |
|
onAction OptionalEvidenceAudit |
(event: React.MouseEvent<HTMLElement>) => void |
|
disabled OptionalEvidenceAudit |
boolean |
|
state OptionalEvidenceAudit |
"default" | "hover" | "active" | "disabled" |
|
copy OptionalEvidenceAudit |
{ scoreboardLabel?: string; signatureAlt?: string } |
|
className OptionalEvidenceAudit |
string |
Theme roles it reads
Set by the theme bar, a preset or your brand. Colours come from the base tokens (--surface, --ink, --cta…) every piece uses.
--button-bg--button-bg-2--button-case--button-font--button-ink--button-radius--button-shadow--button-text-shadow--button-weight- Main CTA button: background, ink, font, weight, case, radius and shadow.
--button-2-bg--button-2-ink--button-2-shadow- Secondary button.
--card-border--card-radius--card-shadow- Cards and panels: radius, border and shadow.
--display-case--display-tracking--display-weight- Headlines: weight, letter case and tracking.
--field-focus- Form inputs: background, ink, border, radius and focus colour.
--marker- The highlighter colour behind key phrases.
Image slots
Filled from the brand’s images; the specimen ships its own defaults.
signature- The founder’s handwritten signature.
stamp- A stamp or badge graphic, on a transparent background.
-
63f8b2eefdfa4d9b.webp
image/webp · 125 KB
-
b77916eca54aa689.webp
image/webp · 8.32 KB
-
d435db6662febfcf.webp
image/webp · 10 KB
-
f0a5d3e1e61804ba.webp
image/webp · 11.6 KB