1# Pricing plans
2
3Plan cards render named billing options from `plansByOption`. Use
4`annual-primary` when annual prices should be the initial selection and
5`monthly-only` when there is no term choice. An optional
6`secondaryPlansByOption` produces a second card row without changing the
7same synchronized billing state.
8
9Each plan keeps authored price, period, supporting copy, features,
10tooltips, CTA, recommendation state, optional structured commercial
11detail rows, and optional usage disclosure. Detail rows render between
12the price and CTA for plans that need a compact technical breakdown.
13Billing controls appear only on plans whose price changes by term.
14They sit at the header's upper right alongside the title/badge cluster,
15wrapping to a right-aligned second row only when the card is too narrow.
16Changing any control updates every card and restores focus to the
17equivalent control in the newly visible panel.
18
19Plan CTAs delegate to the shared destination classifier and preserve the
20existing `{ plan }` telemetry property. Do not add page- or placement-
21specific events to this module.
22
23Cards use the pricing-specific R-17 treatment: 10px corners, 32px desktop
24inline insets, and a subtle lavender gradient for the recommended plan.
25All cards use the same 24px block inset, 8px title-to-description gap and
2616px action-to-content gap, whether or not they have structured detail rows.
27Cards without detail rows also receive 16px between price and action; detailed
28cards retain the same gap from their detail list without adding it twice.
29Plan actions fill the card's available width
30while reusing the shared R-15 controls with 4px corners and mono labels.
31Rows containing a price pre-label align the rates at the bottom of their
32shared price track, preserving Business's extra context without raising
33Enterprise's `Custom` rate above it.
34Matter carries explanatory text; Azeret carries plan names and values.
35`icon` explicitly selects a local decorative plan asset. `actionAppearance`
36selects solid or outlined actions without changing tracking or destinations.
37Detail rows intentionally avoid per-value emphasis. Empty introductions and
38disclosure footers are omitted. Content drives card heights; shared subgrid
39tracks align neighboring card regions without clipping long copy.
40When cards provide corresponding commercial detail rows, a nested subgrid
41shares each row track across the group, so wrapping a label or value grows
42that row for every plan. Each detail stays inside its plan card as one concise
43sentence with a consistent semantic Phosphor icon. The approved value is
44stated first where helpful rather than split into a separate label/value
45column. Every detail sentence uses one regular Matter weight and body color;
46values do not receive bold, accent, or other standalone emphasis. Detailed
47cards use an 8px block inset per row and omit horizontal row rules, relying on
48the icon-and-sentence association and shared track rhythm for scanning.
49Desktop cards share row and CTA tracks; tablet and phone layouts
50keep the same readable icon-and-sentence association inside each card. Plans
51without the Factory detail schema keep their own commercial structure rather
52than inventing Factory-specific rows.
53
54Agent and Factory features share 16px semantic Phosphor outline icons and the
55same icon/text alignment. Icons are explicit `PricingPlanFeature.icon` metadata,
56not inferred from the copy; unconfigured features retain the checkmark fallback.
57Both monthly and annual Agent datasets carry the same presentation metadata.
58Plain feature introductions use real 500 Medium; card font synthesis is disabled.
59Adding icon metadata must not alter feature text, order, tooltips, eligibility
60notes, prices, billing units, CTA tracking or usage disclosures.
61
62Factory cards promote workflow harnesses, repository hosting, and cloud
63sandbox coverage into the same aligned detail grid as the commercial rows.
64Each plan authors its own value so inherited or expanded entitlements are
65visible without repeating capability bullets. The workflow row preserves its
66`Workflows run via` prefix and leading branch icon, then represents each
67authored harness as a compact circular logo control. Start exposes Warp Agent;
68Scale exposes Warp Agent, Claude Code, Codex, and Pi; Enterprise adds one plus
69control for its authored custom-harness category. Each control uses the shared
70pricing tooltip interaction on hover, keyboard focus, and tap/pin, dismisses
71with Escape or outside interaction, and names itself accessibly. The logo group
72uses brand-colored holders and a descending left-to-right stack so the first
73logo paints above every later overlap. It keeps 20px targets and raises hovered
74or focused controls above that base stack so their rings remain visible. Its
75tooltip panels fit their labels and center above their own icon, with a
76viewport-aware maximum width. The underlying detail/comparison strings remain canonical and
77agent-readable. Wrapped plan-specific values continue to grow the corresponding
78shared desktop track. The price-to-details and details-to-action gaps use the
79shared 16px rhythm; compacting a row never collapses that plan independently of
80its neighbors.
81Factory card rows use the requester-approved presentation copy:
82`Factory workflows run via` for every plan; `Pay-as-you-go usage` for Start;
83`$150 included monthly usage per team` and
84`Pay-as-you-go after included usage` for Scale; and
85`Custom usage with volume discounts` plus
86`Volume pricing for agent hours` for Enterprise. Repository-hosting values
87render as `Warp-hosted factory definitions` for Start,
88`Warp or self-hosted factory definitions` for Scale, and
89`Self-hosted with custom terms` for Enterprise. These are presentation strings
90only; the authored commercial values and comparison data remain canonical.
91
92Factory rate details use the same Matter meta typography and body ink as
93other commercial detail values, and the value and billing unit stay together
94as one non-breaking group. The recommended-card treatment carries Scale's
95visual emphasis instead of a
96second detail-row color. Short billing definitions use the shared pricing
97tooltip with an explicit info control;
98the control supports hover, keyboard focus, tap, Escape, and outside
99dismissal. Its panel anchors to the full detail text column so the billing
100explanation remains inside narrow viewports. Factory plans intentionally omit
101decorative plan icons. Their
102`accentText` supplies a short lead-in immediately before each unchanged
103semantic feature list. Factory feature items may select semantic Phosphor
104outline icons; these remain decorative when adjacent text fully names the
105capability. Start can opt its remaining core-capability heading and list into
106a content-sized soft gray panel with the approved 10px pricing corners and
10716px inset. Its `Core software factory features` heading uses regular Azeret,
108with a 28px Factory icon at the top right. Agent Free opts into the same
109callout for its existing `Includes core terminal features` introduction and
110all nine features, with `capabilityIcon: 'terminal'`. The optional icon defaults
111to `'factory'` for existing consumers. Callouts grow naturally without a
112height cap or clipped text. Font synthesis is disabled inside the callout.
113Scale and Enterprise keep their delta lists visually
114plain under `Everything in …, plus:` lead-ins, as do Agent paid plans, so the panel does not imply
115that inherited capabilities are repeated. Detail cards use matching 16px
116gaps above and below their actions. Plain delta headings have no extra top
117margin; the highlighted panel owns the same action-to-content spacing, with
118a separate 10px heading-to-list gap inside it. The no-intro list offset
119remains removed so shared intro-to-list spacing stays consistent.
120
121Additional-usage disclosures open as non-modal overlays inside their own
122card, not viewport lightboxes. The bottom-aligned panel scrolls for long
123content; other cards remain interactive. Escape and the close control
124restore trigger focus. Outside interaction or tabbing away closes without
125stealing focus. Switching product or billing panels dismisses hidden
126overlays, and keyboard navigation is never trapped.