Horizon Grid.
A thin-type night scene with an aurora sky over a glowing perspective grid. Near-black violet surfaces with an aurora sky that fades from violet through magenta into mint above a glowing perspective floor grid. Thin Sora headlines, DM Sans body and square Space Mono capital buttons, with every box drawn as a square 1px outline. Live journey consoles, joined pricing plans and mint corner ticks carry it through every page.
Use it with Claude Code or Codex
Download the kit into your project, then paste this prompt. Fill in the last line. New to this? See how it works.
Build my page in the Horizon Grid style. Read DESIGN.md first and follow it exactly. Use the tokens in tokens.css and the classes in components.css; don't invent new colors, fonts, radii or shadows. The example pages (demo.html, pricing.html, blog.html, signup.html) show the style on landing, pricing, blog post, and sign up. My page: [describe what you're building, who it's for and the sections you need]
Colors
Click a hex to copy it.
Fonts
All free on Google Fonts.
How the Horizon Grid style works
From the kit's DESIGN.md, the file your AI reads first. What is DESIGN.md?
A dark night scene that looks forward. Near-black violet surfaces, an aurora sky that fades from violet through magenta into mint, and a glowing perspective floor grid that runs off to a bright horizon line. Headlines are thin and airy (Sora at 200 to 300), labels and buttons are square mono capitals, and every box is a 1px outline with square corners. It feels calm and cinematic, with a little synth-era nostalgia, and it suits anything that happens at night or far away.
Use it for: travel and transport, night services, events and festivals, observatories and science centres, launches, futuristic consumer apps. Avoid it for: daytime family brands, healthcare forms, dense dashboards, anything that should feel warm and handmade.
Read the full style guide: fonts, color, type scale, components and page recipes
How to use this file
Give this file, tokens.css and components.css to your AI coding tool and say:
Build [your page] in the Horizon Grid style. Follow DESIGN.md exactly. Use the tokens in tokens.css and the classes in components.css; don't invent new colors, fonts, radii or shadows.
demo.html (a landing page), pricing.html, blog.html and signup.html are complete example pages for an invented sleeper train company, Nightliner, built only with the kit.
Fonts
All free on Google Fonts:
<link href="https://fonts.googleapis.com/css2?family=Sora:wght@200;300;400&family=DM+Sans:opsz,[email protected],400;9..40,500;9..40,600&family=Space+Mono:wght@400;700&display=swap" rel="stylesheet">
| Role | Font | Use |
|---|---|---|
| Display | Sora 200 to 400 | Hero (200), section headings (300), card titles (400), big numbers and prices (200). Never bold. |
| Body | DM Sans 400 to 600 | Paragraphs, nav links, cards, form inputs. |
| Mono | Space Mono 400 | Buttons, labels, badges, table headers, timestamps. Always uppercase with 0.06em to 0.08em tracking. |
Color
| Token | Hex | Role |
|---|---|---|
--hg-night |
#0B0A14 | Page background |
--hg-deep |
#13111F | Panels, cards, alternate sections |
--hg-raised |
#1B1830 | Live rows, inline code, avatars |
--hg-line |
#2B2745 | Every 1px outline and rule |
--hg-line-bright |
#48407A | Tags, icon boxes, avatars |
--hg-text |
#EEEDF7 | Main text, outline buttons |
--hg-muted |
#9D99BA | Secondary text, leads |
--hg-dim |
#67638A | Captions, timestamps, footer labels |
--hg-violet |
#9C7CFF | The one main action, links, list bullets, live states |
--hg-magenta |
#D45BC6 | Sky glow and gradient text only. Never body text or buttons. |
--hg-mint |
#6CEFC2 | Horizon line, labels, success and done states, card corner ticks |
--hg-amber |
#FFC46B | Delays and warnings only |
The sky (--hg-sky) and horizon (--hg-horizon) gradients are tokens too. Use them; don't mix your own.
Type scale
| Token | Size | Use |
|---|---|---|
--hg-text-hero |
42 to 88px | One per page, weight 200, tracking -0.035em |
--hg-text-h2 |
32 to 56px | Section headings, weight 300 |
--hg-text-h3 |
22px | Card titles, weight 400 |
--hg-text-lead |
17 to 20px | The paragraph under a heading, in --hg-muted |
--hg-text-body |
16px | Everything else (articles use 18px) |
--hg-text-small |
14px | Footer, hints, meta |
--hg-text-micro |
12px | Mono labels and badges |
Shape and space
- Corners are square (
--hg-radius: 0). The only soft corner allowed is--hg-radius-soft(4px) for tiny inline chips if you need them. - Boxes are drawn with 1px
--hg-lineoutlines, not shadows. Glow (--hg-glow,--hg-glow-mint) is for focus, hover on the main button, live dots and the horizon line. - Cards get a small mint corner tick in the top left. Grids of cards share a single outline where they touch (pricing plans, stats).
- Sections breathe:
--hg-sectionis 72 to 128px. Container is 1200px, reading width 720px, gutters 20px.
Components (in components.css)
- Base:
.hgon<body>,.hg-container,.hg-narrow,.hg-center,.hg-section,.hg-section--deep,.hg-rule,.hg-horizon-line. - Type:
.hg-hero-title,.hg-h2,.hg-h3,.hg-lead,.hg-label(mint mono caps),.hg-label--muted,.hg-glow-text(violet to mint gradient text, one phrase per page),.hg-mono. - Announcement:
.hg-announce, a full-width violet strip above the nav. - Nav:
.hg-nav,.hg-logo,.hg-nav__links(hidden under 860px),.hg-nav__actions. - Buttons:
.hg-btnplus--primary(violet, one per view),--outline(white outline, inverts on hover),--ghost,--sm,--block. Group them in.hg-actions. - Hero:
.hg-herowith three empty children in this order:.hg-hero__sky,.hg-hero__horizon,.hg-hero__floor, then content in.hg-hero__inner..hg-hero--shortfor inner pages. The same three layers work inside anyposition: relative; overflow: hidden; isolation: isolatebox, such as a CTA band or a strip in an article. - Tag:
.hg-tagwith a<b>mint chip, above the hero title. - Marquee:
.hg-marquee>.hg-marquee__trackwith the items written twice. - Layout:
.hg-gridwith--2or--3,.hg-split(text beside a visual). - Cards:
.hg-card,.hg-card__icon. - Console:
.hg-console,.hg-console__bar,.hg-console__body, rows of.hg-step(time, dot, text, state) with--done,--liveor--warn. Use it for any sequence: a journey, a build, a timeline. - Stats:
.hg-stats>.hg-statwith<strong>and<span>. - Badges:
.hg-badgeplus--mint,--violet,--amber. - Quote:
.hg-quotewith<cite>. - Pricing:
.hg-segmenttoggle,.hg-plans>.hg-plan(--featuredgets a mint top line),__name,__price,__note,ul. - Table:
.hg-table-wrap>.hg-table. - FAQ:
.hg-faq>details>summary. - Article:
.hg-article(styles h2, p, blockquote, code, ul),.hg-figure,.hg-byline,.hg-avatar. - Forms:
.hg-panel,.hg-form,.hg-field,.hg-input,.hg-select,.hg-hint,.hg-check. - Footer:
.hg-footer,.hg-footer__grid,.hg-footer__base.
Pages in this kit
| File | Page |
|---|---|
demo.html |
Landing page: announcement, nav, grid hero, city marquee, live journey console, route cards, stats, quote, grid CTA, footer |
pricing.html |
Fares: short grid hero with a segmented toggle, three joined plans that overlap the floor, comparison table, FAQ |
blog.html |
Journal post: badges, thin title, byline, a horizon strip, article with a console figure and a pull quote, related cards |
signup.html |
Sign-up: copy and numbered perks beside a form panel, with the floor grid glowing at the bottom of the page |
Page recipe
- Optional
.hg-announce, then.hg-nav. - A
.hg-herowith sky, horizon and floor. One thin headline, one.hg-glow-textphrase at most, a lead and two buttons (primary and ghost or outline). - A
.hg-marqueeor a row of names to set the scale. - Alternate
.hg-sectionand.hg-section--deep. Open each with a.hg-labelthen a.hg-h2. - Show the product working in a
.hg-consoleinside a.hg-split. - Cards in a three-column grid, then
.hg-stats, then a single.hg-quote. - Close with a CTA band that reuses the sky and horizon, then
.hg-footer.
Pricing recipe: .hg-hero--short with a .hg-segment, then .hg-plans pulled up over the floor with a negative top margin. Exactly one --featured plan with the only primary button. Follow with a .hg-table and a .hg-faq beside a heading.
Article recipe: badges, .hg-hero-title at about 68px, lead and .hg-byline in .hg-narrow, then a short strip with the three hero layers as the cover image, then .hg-article. Use a .hg-console inside .hg-figure for diagrams. Finish with a .hg-horizon-line and two related cards.
Sign-up recipe: a page wrapper with the three hero layers fixed to the bottom, nav with a log in link, then a two-column grid: heading, lead and numbered perks on the left, .hg-panel.hg-form on the right. One primary button at the bottom of the form.
Don'ts
- Don't round corners or add drop shadows. Outlines and glow only.
- Don't make headlines bold. Thin is the point.
- Don't use magenta for text, buttons or icons; it lives in the sky.
- Don't put more than one primary violet button in a view.
- Don't draw the floor grid on every section. Hero, one CTA and maybe one strip per page.
- Don't use photos as hero backgrounds; the sky and grid are the image.
- Don't write labels or buttons in sentence case. Mono labels are always capitals.
- No em dashes in copy.
The reference
The site this style was studied from. The kit uses its own colors, content and code.
Similar styles
A key-art poster at dusk: foggy drawn streets, one glowing lamp and a heavy condensed title.
A mission broadcast from the deep: black water, a pale arc of light and one bioluminescent teal.
A soft painted afternoon in a rounded frame on a deep green black page.
A hazy lake at dusk, smoked-glass chips and one swash italic word.