Files
zeekayandHanzo Dev 694f102b59 The usage ladder is one slider, Pro 3x to Unlimited ∞
The Personal tab's third card on the home and /pricing picks its plan with a
native range over the rungs the catalog sells: Pro 3x, Dev 5x, Max 15x,
Ultra 25x, Ultimate 50x and Unlimited ∞, each stop named by the multiple of Go
its plan states. Name, price, description, lines and checkout follow it; every
stop's description and lines share one cell, so the card keeps its height.
The server draws Pro.

lib/plans.ts adds the ultimate and unlimited rungs, standing only where the
catalog read lists them, and `rungs` with each one's multiple; a rung that
states none stops the build. The live read no longer falls back to the
snapshot for them, so the slider stops at the highest rung commerce sells.
scripts/live.ts keeps every personal plan commerce lists. The compare ladder
and table on /pricing take a column per rung. The funnel's RUNG and LIST
cover every rung sold.

content/live/_pricing.json carries Ultimate ($495, 50x) and Unlimited ($995)
from @hanzo/plans 1.10.1 (subscription.json), as commerce would serve them.

scripts/ladder.ts (pnpm ladder, after a build) drives the slider through
every stop at 1440, 900, 390 and 360 against the build's plan list and
against commerce itself, reading names, prices and slugs from the catalog it
serves. scripts/host.ts serves out/ as hanzo.ai for it and scripts/events.ts.

Co-authored-by: Hanzo Dev <[email protected]>
2026-11-12 12:19:45 -08:00

100 lines
6.4 KiB
CSS

/* The landing's rhythm, as hanzo.ai drew it before the split (hanzo-inc/app components/home, 6 Nov): every section
80px above and below on one ground, a 26px heading with its 14px lede under it, the content 40px below. */
.x-home > .x-sec { padding: 80px 0; }
html main.x-home > section.x-sec { background: none; }
.x-home .x-head { margin-bottom: 40px; }
.x-home .x-head h2 { font-size: 26px; line-height: 1.22; font-weight: 500; letter-spacing: -.01em; max-width: none; }
.x-home .x-head.dark h2 { color: var(--ink); }
.x-home .x-head p, .x-home .x-head.dark p { margin-top: 14px; max-width: 760px; font-size: 14px; line-height: 1.65; color: var(--soft); }
@media (max-width: 640px) { .x-home > .x-sec { padding: 56px 0; } .x-home .x-head { margin-bottom: 28px; } }
/* Pricing on the home page: hanzo.ai's plan cards at full size, each with its mark and a mark for every line */
.x-pricing .x-plans { align-items: stretch; }
@media (min-width: 901px) {
.x-pricing .x-plans.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.x-pricing .x-plans.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
}
.x-pricing .x-price b.long { font-size: 26px; line-height: 1.15; white-space: normal; text-wrap: balance; }
.x-pricing .x-row-links { justify-content: center; }
.x-plan-h { display: flex; align-items: center; min-height: 44px; }
.x-plan-h h3 { display: flex; align-items: center; gap: 10px; }
.x-plan-h h3 svg { flex: none; }
.x-pricing .x-plan-l summary { margin: 0 0 10px; font-size: 13.5px; font-weight: 500; list-style: none; pointer-events: none; }
.x-pricing .x-plan-l summary::-webkit-details-marker { display: none; }
.x-pricing .x-plan-l li { display: flex; gap: 10px; padding-left: 0; }
.x-pricing .x-plan-l li::before { content: none; }
.x-pricing .x-plan-l li svg { flex: none; margin-top: 2px; color: var(--ink); }
@media (max-width: 900px) {
.x-pricing .x-plan[data-free] { order: 1; }
.x-pricing .x-plan-l summary { position: relative; margin: 0; padding-right: 24px; cursor: pointer; pointer-events: auto; }
.x-pricing .x-plan-l summary::after { content: ''; position: absolute; right: 4px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 1.6px solid var(--ink); border-bottom: 1.6px solid var(--ink); rotate: 45deg; transition: rotate .3s var(--ease); }
.x-pricing .x-plan-l[open] summary { margin-bottom: 10px; }
.x-pricing .x-plan-l[open] summary::after { rotate: -135deg; margin-top: -2px; }
}
@media (hover: hover) {
.x-auth-b.solid:hover { background: light-dark(#262626, var(--primary-hover)); border-color: light-dark(#262626, var(--primary-hover)); }
}
html:not(.js) .xh-cmd:empty::after { content: attr(data-cmd); }
/* Agents: the two panels may not grow wider than the phone (the command rows were cut at the right edge) */
.x-agents .x-panels > *, .x-agents .x-panel { min-width: 0; }
/* Phones: every tap target 44px tall; the frontier's own phone drawing reads at 12px */
@media (max-width: 599px) {
.x-pareto .x-plot .tick { font-size: 25px; }
.x-pareto .x-plot .pt text { font-size: 26px; }
.x-pareto .x-plot .pt.enso:not(.best):not(.hot) text { opacity: 0; }
.x-plot-src a, .x-row-links a, .x-race-end a, .x-sec .x-head + * a.x-arrow { display: inline-flex; align-items: center; min-height: 44px; }
}
/* Agents: the accelerated agent rotates as on hanzo.ai; every line sits in one cell, the current one shown */
.xa-acc { display: grid; }
.xa-acc > span { grid-area: 1 / 1; opacity: 0; transform: translateY(6px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.xa-acc > span.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .xa-acc > span { transition: none; } }
/* dark: GitHub's mark is its brand black (#181717), which vanishes on the dark tile; GitHub's own rule for a dark ground
is the mark in white, so in dark it takes Hanzo's foreground like the other monochrome marks in the dock */
html:not(.light) .x-agents .x-ico svg[color='#181717'] { color: var(--foreground); }
/* models: Enso twice a model's width, two rows of 220px (6 Nov); the two links at either end */
@media (min-width: 1101px) {
.x-home .x-mgrid { grid-template-columns: minmax(0, 2fr) repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, 220px); gap: 12px; perspective: none; }
}
.x-home .x-models .x-row-links { justify-content: space-between; margin-top: 48px; }
/* open source: every figure on one line across the six tiles; four repositories, one row */
.x-home .x-tile { gap: 4px; min-height: 0; }
.x-home .x-tile-n { order: 2; margin-top: 6px; }
.x-home .x-tile-spark { order: 3; margin-top: 4px; }
.x-home .x-tile-s { order: 4; }
.x-home .x-repos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.x-home .x-oss .x-row-links { justify-content: flex-end; }
@media (min-width: 641px) { .x-home .x-repo:nth-child(n + 5) { display: none; } }
@media (max-width: 1100px) { .x-home .x-repos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* a phone: eight repositories two by two, each card down to its name, what it is, its counts and its year of commits */
@media (max-width: 640px) {
.x-home .x-repos { gap: 10px; }
.x-home .x-repo > div { padding: 12px; gap: 8px; border-radius: 18px; }
.x-home .x-repo [data-slot='repo'] a > span:last-child { font-size: 12.5px; min-height: 0; }
.x-home .x-repo div:has(> [data-slot='counts']), .x-home .x-repo [data-slot='counts'] { gap: 4px 8px; flex-wrap: wrap; flex-shrink: 1; }
.x-home .x-repo [data-slot='repo-foot'] > :first-child, .x-home .x-repo span:has(> time), .x-home .x-repo [data-year] { display: none; }
}
/* pricing: its one centred heading at 52px, the tabs 48px under it */
.x-home .x-head.center { margin-bottom: 48px; }
.x-home .x-head.center h2 { font-size: 52px; line-height: 1.19; letter-spacing: -.012em; }
@media (max-width: 640px) { .x-home .x-head.center h2 { font-size: 40px; } }
/* the logo strips' label, in the mono of the page's other labels, as written */
.x-home .x-marquee .x-kicker { text-transform: none; letter-spacing: 0; font-size: 12.5px; }
/* agents: twelve marks a row, centred; six on a phone */
.x-home .x-dock { display: grid; grid-template-columns: repeat(12, 44px); justify-content: center; gap: 16px 20px; }
@media (max-width: 640px) {
.x-home .x-dock { grid-template-columns: repeat(6, 44px); justify-content: space-between; gap: 14px 0; }
.x-home .x-tile { padding: 14px; }
}
.x-home .x-tile-k { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }