The Fasra design language

Everything the site draws today, on one page. Each specimen uses the same classes and tokens as the homepage, so when fasra.css changes this page changes with it. Names in mono are the real token and class names.

The homepage ships in light. Dark is the g-design default and works here too.

Where it comes from

Fasra is a reskin of g-design. It keeps g's greys, spacing, type scale, motion and components, and adds a brand layer on top.

Inherited from g-design

  • Greys and surfaces--surface-1--surface-2--text-*--border*
  • Spacing on the 4px grid--sp-1to--sp-8
  • Pixel line heights--lh-1to--lh-5
  • Control and row heights--h-1to--h-5
  • Radius--radius--radius-card
  • Easing and durations--ease-out--dur-*
  • Data colours--chart-1to--chart-6
  • Buttons and the segmented control.btn.g-segmented
  • Inter and JetBrains Mono--font-ui--font-mono

Fasra's own

  • The accent slot, in green--accent-fill--accent-fg--accent-edge
  • The leaf colour--leaf
  • Young Serif for display--font-brand
  • The wordmark, its fada a leaf[data-wordmark]wordmark.js
  • Lit surfaces with a rim.lit
  • Grainy spheres.orb
  • Page grain and the soft light--grain.lightfield
  • The mask wipe and blur-in words.reveal.w
  • The map, drawn by our own rendereros/graph/
  • Look settings for the playground--fx-*

Wordmark

Young Serif, with the fada drawn as a pointed leaf at 32 degrees and filled with --leaf. wordmark.js measures the glyphs and draws an SVG into every [data-wordmark].

80px
48px
32px, top bar
28px, footer and phone
On light
80px
48px
32px, top bar
28px, footer and phone
On dark

Colour

Only the accent slot and the leaf are Fasra's. The values below are read from the live stylesheet, in each theme.

Accent and leaf

Light
Dark

The g greys it sits on

Light
Dark

The eight kinds of record

Each kind on the Map is an orb blended from two chart tokens, read here from FASRA_DATA.galaxy.hubs in data.js. The brand sits in the middle.

Type

Young Serif for the one display line. Inter for everything else. JetBrains Mono for paths and placeholder labels. Sizes and line heights are the ones the homepage sets.

Be the answer.
--font-brand 56/64, hero side by side
Be the answer.
--font-brand 48/56, .intro h1
Be the answer.
--font-brand 40/48, phone
One OS, the results in one place
Inter 500 32/40, .head h2
Everything Baseline holds on one bank
Inter 500 24/32, .maphead h2
Kestrel Bank
Inter 500 18/24, .gpanel h3
Its agents read what AI says about your brand.
Inter 16/28, .intro .sub
It gets named when people search for it by name.
Inter 15/24, answers and section text
Tracks the prompts your buyers type into AI.
Inter 14/20, body and cards
Following the sources they cite
Inter 13/20, step rows and nav
Real records from one live study, with the bank renamed.
Inter 12/16, notes
examplebank.example/private/personal-loans
Mono 11/16, .gp-path and .ph

Surfaces and light

One soft light sits high on the page. Lit surfaces cast their shadow away from it and catch it on a 1px rim. Orbs take their highlight from the same light. A film grain covers the whole page.

The page
body--surface-2body::afterThe page surface, with grain at 5% over it

A lit card

Shadow falls away from the light.

.card.lit--surface-1.lit::afterA card on the raised surface, its rim drawn by the pseudo-element
.orb.sm.orb.orb.lg--c--c216, 40 and 64px, coloured by two tokens
Grain at 40%
--grain, an SVG noise tile at 180px, shown stronger here than the page uses it
Baseline prompts table, cropped, 720 x 400
.ph marks an asset still to come
.dither, a dot field faded at both sides, behind the Claude panel

Motion

Text and panels arrive under a soft edge that sweeps down the block. Answer words come in from a blur, one after another. Both use --ease-out, and their length and softness come from --fx-reveal-ms and --fx-reveal-blur.

Example Bank
examplebank.example
  • AI answers1,862Four models
  • Reviews8,793Three platforms
Real counts. Names changed.
.reveal, the mask wipe, dropped on animationend so it never clips a shadow

.turn .w, words in from a blur, 28ms apart
With reduced motion on, both appear at once.

Components

The pieces of the homepage chat, with their own classes from fasra.css.

Ask bar

.ask.lit--surface-1.roll.go--h-4A 52px pill with a rolling placeholder and a send button

A user turn and an answer turn

What would the agents do this week?

Five jobs, all from the latest audits. Two of them can ship today without anyone signing off.

.turn .q.turn .a.art.lit.followThe question bubble, the answer with a 24px orb, an artifact card and follow-ups

Step rows

Starting a map of Northgate Coffee.

    .steps li.done.numGrey while running, done once counted, with tabular numbers

    Record card

    .gpanel, what opens when a node on the Map is clicked, here a real cited source
    .gpaneldl.gp-chipThe card for a kind, with its counts in rows and chips that link

    Buttons and small parts

    What we see Live Coming Ready to ship
    From g.btn-primary.btn-secondary.btn-tertiary.btn-sm From fasra.css.eyebrow.tag.gp-chip.state

    The new map

    The same map drawn by our own WebGL2 renderer in os/graph/, with no Three.js. It takes the commands from os/cmd.js and nothing else. Every button below sends one through createLog(), and the log under the map shows what went.

      The renderer

      Orbs, edges, dust and one pass of depth of field and grain, in four draw calls. Load the sample, a made-up tea shop, or the homepage's records through fromGalaxy(). Load one over the other and the nodes they share travel to their new places, new ones grow in and the rest shrink away.

      Layouts

      Ring is the galaxy from the homepage. Tree hangs each kind under the brand. Force lets links pull related records together. Nodes travel to their new places and come to rest.

      Zoom

      Pinch, or hold ctrl or cmd and scroll. A plain scroll moves the page until you press on the map, then zooms toward the pointer until the pointer leaves.

      Moves you can interrupt

      Every move eases in from rest and keeps its speed when a new goal arrives, so the path bends instead of starting over. A quick move takes about half a second, a refit about one and a turn to a node about two. Each takes a third as long under reduced motion. Drag an orb a little and it gives, then settles back when you let go. Every label stays where it is while you press.

      What a click does

      Click an orb and the map turns it gently to the front, moving in until the orb and its children fill a little under half the view. A faint ripple starts where you clicked. Depth of field keeps that orb and its children sharp and softens the rest, and it stays on them until your next click. A new record draws the focus for a moment only once you have left the map alone for six seconds. A lit kind keeps its label clear of its own children and its lit edges.

      Dust

      Dust stays hidden until a page asks for it. Tidy puts each node's records in a disc round its orb, the newest in the middle, and draws its links to the other nodes clearly. Loose is the scattered cloud the homepage had. When a count grows, the disc moves its points out to make room in the middle.

      Showcase and working

      Showcase turns the map slowly for someone watching. Working stops the turn, spreads the nodes a little wider and looks down a little more, so each name stays in one place while you read it. A page switches between them with camera.mode.

      Scouts

      A scout leaves its node on a tether and goes out past the map, further than the node in focus. It picks up one new record there and brings it home slowly, then goes back for the next. Once the last one is home the scout shrinks into its node and the tether draws back. A scout only goes when a page sends scout.send and it never loops. As each record lands the map tells the page with scout.landed, so the count here ticks up. On a phone two scouts go at once and come home quicker, and a third waits for one to come home. Sending agent.done to a scout calls it home and clears the ones still waiting.

      Spin to a node

      The map turns until the node faces you, then moves in and holds there.

      A node in front

      Bring reviews or answers forward and the label gains a line of real data while its records show their names, placed by the label pass with everything else so none overlap. Let go and those names wipe away again, so at rest the map shows only what it showed before.

      Light

      A lit node ripples once and its edges glow. Click any orb on the map to light it.

      Regions

      One region comes forward, the rest go quiet and its name shows in the corner. What we can do shows the locked nodes in the colour they would have.

      Quiet

      Orbs, edges and labels go quiet together while something covers the map, and come back when it leaves. A label wipes shut once its orb has faded past what you can see, and opens again only once the orb is most of the way back. The map slows to a stop as well and draws nothing more until a command or the pointer changes it. A host calls quiet() on the renderer for this, so it stays out of the command log.

      Frame

      A page can pin how the map sits at rest. Pinned here, the camera looks down 23 degrees on any stage shape, keeps 62px clear at the sides and centres the map in the height left over. A host passes frame when it creates the renderer, or calls frame() later. On a small stage the smallest orb grows to 4px and the rest grow with it. minOrb: 0 keeps them at their true size.

      Inset

      When a card covers part of the map, the host tells the renderer how much with inset(). The map moves into the part left free and shrinks only as far as it must, and a focus centres there too.

      Labels

      No two labels cross, none sits on the brand or a kind's orb, and each one keeps inside the map's own region. A label sits beside its own orb, its nearest edge within 10 px of the rim and nearer its own orb than any other. Short of room it tries its other sides and corners, then folds away its second line. Only then does it step aside for one that matters more: the node in focus, then the brand, then the kinds with the most records. The brand's name never steps aside. It slides along under or over its orb before it moves any further out. A label may cover a child's dot. Of the places left it takes the one over the fewest dots, then the fewest strong links. A dot still under a label shrinks away, and grows back once the label moves off it. A link fades out along the stretch it runs under a label, so no line crosses a name or a count. A label keeps its place while that holds, and a child's name waits for its dot to stop before it opens. Each move wipes the label shut and open again, each way in under half a second. A name shows half drawn only during that wipe. After a move a label stays put for three seconds while its place stays clear. One that stepped aside stays shut as long. labels() reads where each one is drawn.

      When a new map loads, names wait while the brand and the hubs fly to their places, then open together as the last one lands. They wait two and a half seconds at most, so records arriving meanwhile cannot keep them shut. A node added later keeps its name shut until it is all but in its place, again for two and a half seconds at most.

      Load a map

      Frame from the homepage

      Inset

      Focus a kind

      Relabel

      A node can change what it says without being sent again, and any field left out keeps its value. When the count grows, the orb swells to its new size and new dust grows in around the old. Set them back within half a second and the rename is called off. The label opens again on its old words.

      Locked nodes

      Locked nodes turn grey but keep their shading. Paid search and the email list start locked.

      Agents

      An agent is a small bright node. It walks the edges from node to node and leaves when it is done.

      Birth

      A new record buds from its parent's surface and travels out along its edge. Removing it plays the same in reverse.

      Next pass

      Proposed, not shipped. These follow Gabriel's direction from 17 November and are built from the tokens and classes above, so they can be judged and changed.

      Artifacts: a card in the chat, none under the Map

      In the chat column an artifact keeps its card, to set it apart from the conversation. Under the Map it has no card. It sits on the page and grows out of the Map along a leaf-green thread, carrying its kind's orb and colour.

      In the chat: .art.lit, as shipped
      Under the Map: no border and no box. A thread from the Map, the kind's orb, then the record

      Two kinds of node

      Real results keep their colour. Example nodes show what Fasra could do, such as a paid service or what signing in would show, and are grey.

      Audits331 records
      Cited sources156 records
      Ads in AI answersExample
      Weekly content planSign in to see
      A real node opens its real record
      An example node opens a grey example of the record, with a sign-in prompt

      Key insights in the left panel

      The chat column trades long prose for a few short findings, each tied to the kind it came from. Each one lights its node on the Map.

      Rules

      The house rules from g-design, held on every Fasra page.