Zipher B2B data infrastructure

A Figma design system, checked by tools, became zipher.ai.

Role
Figma to WordPress: design system, templates, booking flow, performance, launch
Engagement
4 Oct – 24 Nov 2026
  • 245 Figma variables generated into CSS, never typed
  • 465 HTTP assertions, 0 failing (14 Oct 2026)
  • 45 client QA rows checked one by one

Zipher is a B2B data-infrastructure company. Its marketing site ran on WordPress, and the custom theme hadn’t aged well.

The site shipped an old Tailwind v3 build as its stylesheet, unminified at about 102 KB. A 149 KB animation library loaded on every page, but nothing ever called it. Every blog post lazy-loaded its hero image, even though that was likely the LCP element.

Zipher’s designer delivered a new design system in Figma. I used it to rebuild the site between 4 October and 24 November 2026, working with Claude Code.

I ran the project: I owned the spec, made the calls on design questions and handled every sign-off. I approved the spec before any coding started. Claude Code wrote much of the code and ran the checks I set up.

The one project rule
Nothing counts as done until a tool checks it.

Not “looks right to me”, and not “the AI says it is fixed”.

The homepage, old on the left and new on the right, full page, both captured on 30 November 2026. Scroll inside either frame.

What Zipher got

  • One design system for every main template. That covers home, product, pricing, about, careers and job pages, events, partners, customer stories, Book a Demo, free trial, the blog, legal pages and the 404.
  • A design system straight from Figma. The designer’s 245 variables become the CSS. When the design changes, the tokens are re-exported, not retyped.
  • Lighter, faster pages. The site’s own code now ships a fraction of the JavaScript and less CSS. The numbers are below.
  • A booking flow of its own. Book a Demo now uses Calendly’s API behind a panel drawn in Figma. I gave that build its own write-up.
BeforeAfterBeforeAfter
Book a Demo, old and new, at 1440 px on 30 November 2026: a request form became a booking calendar. Drag to compare.

Before and after, in numbers

I measured the old site and the new one on 30 November 2026, six days after launch. The old site still runs as a private copy on the same server, so I could test them side by side. I used Lighthouse 13.5.0, did five runs per page per site, alternated between before and after, and took the median.

The first pass caught me out. On the private copy the banner never appears, probably because the consent account is tied to zipher.ai.

That means the analytics scripts load right away on the private copy, but on zipher.ai they wait for the visitor’s choice. Lighthouse never clicks the banner, so the old site loaded tracking scripts that the new one didn’t.

For the numbers below, I blocked every third-party script on both sites: tag manager, analytics, HubSpot and the cookie banner (only the old theme’s icon font stayed). That left just each site’s own code, which is what I changed in the redesign.

I ran all the tests from a laptop in Thailand, a long way from the server. That distance mostly shows up in the time to first byte.

These are lab numbers, not field data. Real-visitor data needs 28 days after launch before it means anything.

MetricBeforeAfterChange

Lighthouse, mobile, blog post

own code only, median of 5 lab runs, same day

76

95

+19 pts

LCP, mobile, blog post

simulated; just above the 2.5 s budget

5.61 s

2.52 s

−55%

Page weight, blog post, mobile

third-party scripts blocked on both

827 KB

144 KB

−83%

JavaScript, blog post (own code)

97 KB

8 KB

−92%

CSS per page

one design-system file

23–31 KB

16.9 KB

Requests, blog post, mobile

31

22

−29%

Lighthouse, mobile, pricing

own code only

81

95

+14 pts

What “done” meant

I ran one command on every template before I called it done. The gate script checked the built page for these things:

  • HTTP assertions on the markup: one h1, one LCP hint, and no requests for old CSS or JavaScript.
  • A responsive sweep at 13 widths from 320 to 1920 px to check horizontal overflow, grid columns, and image sizes.
  • An accessibility check with axe, plus a check of the tab order.
  • A side-by-side image to compare the Figma frame on the left with the build in the middle, with the pixel difference on the right.

The HTTP assertions alone went from 99 on 5 October to 465 on 14 October, and they all passed.

The gate's comparison for the homepage on 13 October 2026: the Figma frame on the left, the build on the right, same scale, both with the frame's own sample copy. The live homepage's copy and art changed later.

“Matches the design” as a number

Someone still has to look at a side-by-side comparison. So on several pages, I also measured element boxes in the browser and checked them against the coordinates in Figma.

The About page landed within 1 px of every drawn position on desktop and within 1–4 px on mobile. Partners landed within 1 px on desktop and 2 px on mobile.

I’d already missed something by eyeballing it. On the job page, I compared screenshots at reduced scale and didn’t catch a divider that runs edge to edge on mobile in Figma. After that, I compared screenshots at the same scale for every template and added the box measurements as an extra check.

Figma variables in, Tailwind v4 out

I read the design file through the Figma MCP. The final version came in on 5 October with 245 variables in six collections, 87 text styles and 5 effect styles. They cover light and dark sections, plus type and spacing for desktop, tablet and mobile.

The blog lobby as drawn in Figma (left, with the designer's sample posts; author names removed) and as built, live on 30 November 2026 (right). Scroll inside either frame.

I didn’t type any of it by hand. I exported the variables to JSON and computed the same checksum on both sides to verify that the export matched the Figma file.

A generator takes that file and makes CSS and a Tailwind v4 @theme. The utility names come straight from Figma, like ds:bg-bg-page or ds:text-h1.

I reset most of Tailwind’s default scales, so utilities like font-bold or max-w-md no longer compile. Only a few fixed utilities, such as aspect-square, remain.

Here’s an excerpt of the generated file as it ships:

/* GENERATED by ds/build/tokens.mjs … do not edit. Re-export from Figma. */
@theme inline {
  --color-*: initial;
  --color-bg-page: var(--zp-color-bg-page);
  --color-bg-accent: var(--zp-color-bg-accent);
  /* … */
  --text-h1: var(--zp-font-h1-size);
  --text-h1--line-height: var(--zp-font-h1-line-height);
  /* … */
  --font-weight-*: initial;
  --font-weight-semibold: var(--zp-font-weight-semibold);
  /* … */
  --breakpoint-*: initial;
  --breakpoint-tablet: 768px;
}

The initial lines strip out Tailwind’s defaults. What’s left all points back to a Figma variable.

That paid off a week later, when Zipher’s second Figma file changed the accent colour from #7895ff to #5446ff. I re-exported and checked the hash. The check proved that the accent family was the only difference between the two files’ variables.

A generator that refuses bad input

My first version of the token script had a flaw that was easy to miss: it exited successfully even when I fed it a broken export. So I broke the export on purpose, ten different ways, and ran both the old and the new generator on each one.

Ten deliberately broken exports Old generator New generator
Exited as if all was well 8 of 10 0 of 10
Wrote undefined into the CSS 3 of 10 0 of 10
Refused, with a named reason – 10 of 10

The new one checks collections, modes, required variables and every var(--zp-…) in the hand-written code. If any check fails, it doesn’t write anything.

The null result you should not trust

The most useful habit on this project was questioning my own “nothing found.” Three times a check came back empty, and each time the empty result was the bug:

  • I searched for old template references with a pattern that could never match the way those files were called. It reported “none” for every file. I caught it before deleting anything.
  • I took a baseline snapshot of an empty page because the post slug I used didn’t exist. The 122-byte output gave it away.
  • I checked a sanitised stylesheet and got a result that said a data URI was missing. What was missing was a quote character in my grep, not a data URI in the stylesheet.

Here’s the habit I took from that: before I trust an empty result, I run the same check against something I know is there. If that positive control comes back empty too, the check is broken.

Real content, fixed at render time

The legal pages came from Word. In October, they had no real headings: section titles sat in one-item lists, and the Privacy Policy had 325 inline style attributes.

I left the database alone and made the template turn those section titles into real headings when the page renders. The live Terms page still works that way: on 30 November it had 16 sections, each in the contents list.

I use a test to compare the rendered text length with the source, so if a paragraph goes missing, the test fails.

The live Terms page on 30 November 2026: 16 sections and a contents list, built from the pasted text when the page renders.

Performance

Here’s what I saw on mobile for the five pages I measured on both sites. I blocked third-party scripts on both. “LCP” is the value Lighthouse simulates using a throttled phone profile.

Mobile, own code only, median of 5 Score LCP Transferred JavaScript
Home 91 → 98 2.52 → 1.96 s 849 → 801 KB 200 → 58 KB
Blog 83 → 97 4.20 → 2.15 s 863 → 204 KB 95 → 5 KB
Blog post 76 → 95 5.61 → 2.52 s 827 → 144 KB 97 → 8 KB
Pricing 81 → 95 3.82 → 2.68 s 718 → 227 KB 112 → 3 KB
Book a Demo 94 → 97 2.53 → 2.33 s 749 → 281 KB 137 → 14 KB

On desktop, under the same conditions, scores rose from 75–97 to 98–99. The new site’s simulated desktop LCP was 0.72–0.83 s.

Most of the gain came from what I removed. The site’s own JavaScript went from 95–200 KB per page to 3–58 KB, with the homepage’s animations accounting for the high end.

Linked CSS went from 23–31 KB to one 16.9 KB file. Each page also has a small inline block (8.4 KB uncompressed on the homepage) that counts toward the HTML.

The blog and the post saw the biggest gains, and I think their LCP images help explain why. The old post’s LCP image still has loading="lazy", so its request started 857 ms late in Lighthouse’s trace (median of 5), compared with 4 ms on the new post.

On the old blog, the LCP image took about 1.4 s to download. On the new blog, it took about 0.6 s.

BeforeAfterBeforeAfter
The same blog post on both sites, at 1440 px on 30 November 2026. Drag to compare.

What the numbers do not show

Measuring the sites’ own code, two pages are still just over 2.5 s on mobile: the blog post at 2.52 s and Pricing at 2.68 s. With the third-party scripts on, which is what a first-time visitor gets before answering the cookie banner, all five pages measured 3.24–5.23 s.

I set 2.5 s as the project’s budget, and mobile does not meet it yet.

The homepage’s page weight improved the least. Its transfer only dropped from 849 to 801 KB, its images grew from 255 to 296 KB, and blocking time went up from 34 to 50 ms.

I haven’t isolated the cause of that increase. Its layout shift went from 0.079 to 0.

I also measured with the third-party scripts on, and that’s where things get messier. The new Pricing page scored 77 to the old page’s 82, and its simulated LCP went up from 3.55 to 5.23 s. Book a Demo went the same way, from 3.13 to 3.50 s.

The culprit was the cookie banner itself. On a phone-sized screen, the banner’s paragraph is bigger than anything else on the first screen of the new Pricing page. Lighthouse picked it as the LCP element in all five runs, so the timing includes loading the banner’s own scripts.

On the old private copy, the banner never showed up, so Lighthouse couldn’t pick it.

That’s worth keeping in mind for any site with a consent banner: if the header is compact, the banner can end up as your LCP element. A larger hero element or a smaller banner would fix it. I haven’t made either change yet.

BeforeAfterBeforeAfter
Pricing, old and new, at 1440 px on 30 November 2026. Drag to compare.

What did not work

  • Inlining the CSS made pages slower. The HTML grew from 12–13 KB to 23–25 KB, and first paint came later on staging: from 1,424 to 1,631 ms on careers and from 1,344 to 1,604 ms on the About page. I used first paint minus server time (median of 3) because the server was slower in that round. The first network round trip has room for about 14 KB, and the HTML alone took up most of it. I reverted the change the same day.
  • A bulk image regeneration broke 79 of 136 attachments, so the pages served full-size originals. One page went from about 425 to 1,250 KB. I fixed it, and the checklist now says not to run that command.

Working next to a live site

Code work on the live site carried on during the redesign. I kept the build in its own git worktree and on its own staging app, so the two never collided.

The server login I started with could write to all three of Zipher’s apps. Before I made the first write, I created and tested an app-only login. It couldn’t even list the other apps’ files.

Before and after each remote step, I took a fingerprint of the other apps (newest file and database update time) so I’d spot any change outside the redesign.

Launch, and the catch

Production content hadn’t changed since mid-September, but Zipher had been editing the redesign. Rather than replay the content scripts on production, I copied the finished redesign into the host’s linked staging app, checked it there, and pushed it live.

Before the push, I checked that 33 URLs matched the redesign app exactly, that all 26 of 26 meta descriptions were there, and that three real test leads (free trial, partners, Book a Demo) reached the right HubSpot forms through the real interface. The push went live at about 07:10 UTC on 24 November.

Launch, 24 Nov

~20min

from spotting it to the fix

The push also copies wp-config.php, so production inherited the booking flow’s test event.

I spotted it while measuring after the push and fixed it about 20 minutes later. No visitor booked in between.

What went wrong

A case study where nothing went wrong is a brochure. Here’s what went wrong, straight from my project record.

Process

71to14min

7 tasks with the reviewer loop, then 5 done inline

Heavy process was slow for front-end work

Early on, I put each component through a separate AI implementer, a reviewer and rounds of fixes. That took 71 minutes for the first seven tasks.

When I did the same kind of work inline, the next five took 14 minutes. Review rounds went into sub-pixel hit areas.

My take
The timings support this, but they don’t prove it. Heavy review loops are worth the time on server code, where a bug can lose a lead. For layout work, a fast build checked by the gate was enough.
Deploy

17/45QA rows

About 17 of the 45 came down to one gap

Code deploys did not carry content

Zipher’s QA sheet had 45 rows. About 17 came down to the same thing: I’d run the content scripts on my local copy but never on staging. That same gap had already hidden the About page’s leader photos.

Once I traced the problem, I ran the four scripts on staging, used a separate QA script to apply 27 content changes, and re-ran the checks. A few stayed open while I waited for decisions from Zipher.

Now
The missing scripts are on the rollout checklist.
Judgement

Wrong calls, reversed

  • I decided on “No animations” early on, then changed my mind and added motion after the fact.
  • Claude Code made two wrong design calls on the partners page; I caught them in review.
  • Rather than park the Figma problems, I fixed them in the build and logged them: a stretched team photo, the wrong leader photo on a mobile card, and a clipped select arrow.

Where it landed

Zipher went live on 24 November 2026. I built every main template on a design system I generated from Zipher’s own Figma file, and checked every template with the same gate.

After launch, I added an image preload for the homepage hero, rebuilt the testimonials slider in CSS, and normalised the logo strip to one grey.

I’ve written down what’s still unfinished:

  • Mobile LCP is above 2.5 s: just above on the blog post and Pricing for the site’s own code, and 3.24–5.23 s on every page with third-party scripts on. On Pricing, the cookie banner can become the LCP element.
  • When I audited on 13 October, some source images on the events and About pages were too small for 2× screens. That’s a job for new images, not code.

If this is the kind of build you need, I explain the approach on the Figma to WordPress service page. You can see how I used the same method on a law firm’s site in the GN Law rebuild.

Need a rebuild like this?

WordPress rebuilds, from a Figma file or an aging theme, in one language or two. Performance that is measured, not estimated.