The best way to control Claude Code, Codex and more from any computer or phone

main
astro 1,274 lines 53.1 KB
Raw
1 ---
2 import { getImage } from "astro:assets";
3 import desktopScreenshot from "../../assets/app-desktop.webp";
4 import Layout from "../../layouts/Layout.astro";
5 import {
6 ANDROID_PLAY_STORE_URL,
7 GITHUB_REPOSITORY_URL,
8 IOS_APP_STORE_URL,
9 } from "../../lib/site";
10 import { MARKETING_STATS } from "../../lib/stats";
11 import { tweets } from "../../lib/tweets";
12 import { softwareJsonLd } from "../../lib/seo";
13 import { messagesFor } from "../../i18n";
14 import { fillTemplate, localeStaticPaths, localizedHref, templateParts } from "../../i18n/locales";
15
16 export const getStaticPaths = localeStaticPaths;
17
18 const { locale } = Astro.props;
19 const t = messagesFor(locale).home;
20 const users = new Intl.NumberFormat(locale).format(Number(MARKETING_STATS.users.replaceAll(",", "")));
21
22 const screenshot = await getImage({
23 src: desktopScreenshot,
24 widths: [864, 1180, 1728, 2360],
25 format: "webp",
26 quality: 90,
27 });
28
29 const desktopEndorsementRows = [
30 tweets.filter((_, index) => index % 2 === 0),
31 tweets.filter((_, index) => index % 2 === 1),
32 ];
33
34 const mobileEndorsementRows = [
35 tweets.filter((_, index) => index % 3 === 0),
36 tweets.filter((_, index) => index % 3 === 1),
37 tweets.filter((_, index) => index % 3 === 2),
38 ];
39 ---
40
41 <Layout
42 title={t.title}
43 description={t.description}
44 jsonLd={[softwareJsonLd(messagesFor(locale).layout.defaultDescription)]}
45 locale={locale}
46 localizedPath="/"
47 >
48 <section class="hero">
49 <div class="hero-grid" aria-hidden="true"></div>
50
51 <div class="hero-float" aria-hidden="true">
52 {[
53 { key: "opencode", icon: "/harnesses/opencode-dark.svg", cls: "hf-opencode" },
54 { key: "antigravity", icon: "/harnesses/antigravity.svg", cls: "hf-antigravity" },
55 { key: "claude", icon: "/harnesses/claude-ai-icon.svg", cls: "hf-claude" },
56 { key: "codex", icon: "/harnesses/openai_dark.svg", cls: "hf-codex" },
57 { key: "grok", icon: "/harnesses/grok-dark.svg", cls: "hf-grok" },
58 { key: "cursor", icon: "/harnesses/cursor_light.svg", cls: "hf-cursor" },
59 ].map((m) => (
60 <span class:list={["hero-float-mark", m.cls]}>
61 <span class="hero-float-card"><img src={m.icon} alt="" /></span>
62 </span>
63 ))}
64 </div>
65
66 <div class="container hero-inner">
67 <h1 class="hero-title display">
68 {t.heroTitle.map((line, index) => (
69 <Fragment>
70 {index > 0 && <br />}
71 <span data-rise style={index > 0 ? `--d:${index * 90}ms` : undefined}>{line}</span>
72 </Fragment>
73 ))}
74 </h1>
75
76 <p class="hero-sub" data-rise style="--d:300ms">{t.heroSub}</p>
77
78 <div class="hero-actions" data-rise style="--d:400ms">
79 <a
80 id="download-btn"
81 href="https://github.com/pingdotgg/t3code/releases"
82 class="btn btn-primary btn-lg"
83 data-label-mac={t.downloadForMac}
84 data-label-win={t.downloadForWindows}
85 data-label-linux={t.downloadForLinux}
86 data-label-ios={t.downloadForIos}
87 data-label-android={t.downloadForAndroid}
88 >
89 <svg class="dl-icon dl-icon--apple" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 814 1000" aria-hidden="true"><path fill="currentColor" d="M788.1 340.9c-5.8 4.5-108.2 62.2-108.2 190.5 0 148.4 130.3 200.9 134.2 202.2-.6 3.2-20.7 71.9-68.7 141.9-42.8 61.6-87.5 123.1-155.5 123.1s-85.5-39.5-164-39.5c-76.5 0-103.7 40.8-165.9 40.8s-105.6-57-155.5-127C46.7 790.7 0 663 0 541.8c0-194.4 126.4-297.5 250.8-297.5 66.1 0 121.2 43.4 162.7 43.4 39.5 0 101.1-46 176.3-46 28.5 0 130.9 2.6 198.3 99.2zm-234-181.5c31.1-36.9 53.1-88.1 53.1-139.3 0-7.1-.6-14.3-1.9-20.1-50.6 1.9-110.8 33.7-147.1 75.8-28.5 32.4-55.1 83.6-55.1 135.5 0 7.8 1.3 15.6 1.9 18.1 3.2.6 8.4 1.3 13.6 1.3 45.4 0 102.5-30.4 135.5-71.3z"/></svg>
90 <svg class="dl-icon dl-icon--windows" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 88 88" aria-hidden="true"><path fill="currentColor" d="m0 12.402 35.687-4.86.016 34.423-35.67.203zm35.67 33.529.028 34.453L.028 75.48.026 45.7zm4.326-39.025L87.314 0v41.527l-47.318.376zm47.329 39.349-.011 41.34-47.318-6.678-.066-34.739z"/></svg>
91 <svg class="dl-icon dl-icon--linux" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" aria-hidden="true"><path fill="currentColor" d="M12.504 0c-.155 0-.315.008-.48.021-4.226.333-3.105 4.807-3.17 6.298-.076 1.092-.3 1.953-1.05 3.02-.885 1.051-2.127 2.75-2.716 4.521-.278.832-.41 1.684-.287 2.489a.424.424 0 00-.11.135c-.26.268-.45.6-.663.839-.199.199-.485.267-.797.4-.313.136-.658.269-.864.68-.09.189-.136.394-.132.602 0 .199.027.4.055.536.058.399.116.728.04.97-.249.68-.28 1.145-.106 1.484.174.334.535.47.94.601.81.2 1.91.135 2.774.6.926.466 1.866.67 2.616.47.526-.116.97-.464 1.208-.946.587-.003 1.23-.269 2.26-.334.699-.058 1.574.267 2.577.2.025.134.063.198.114.333l.003.003c.391.778 1.113 1.132 1.884 1.071.771-.06 1.592-.536 2.257-1.306.631-.765 1.683-1.084 2.378-1.503.348-.199.629-.469.649-.853.023-.4-.2-.811-.714-1.376v-.097l-.003-.003c-.17-.2-.25-.535-.338-.926-.085-.401-.182-.786-.492-1.046h-.003c-.059-.054-.123-.067-.188-.135a.357.357 0 00-.19-.064c.431-1.278.264-2.55-.173-3.694-.533-1.41-1.465-2.638-2.175-3.483-.796-1.005-1.576-1.957-1.56-3.368.026-2.152.236-6.133-3.544-6.139zm.529 3.405h.013c.213 0 .396.062.584.198.19.135.33.332.438.533.105.259.158.459.166.724 0-.02.006-.04.006-.06v.105a.086.086 0 01-.004-.021l-.004-.024a1.807 1.807 0 01-.15.706.953.953 0 01-.213.335.71.71 0 00-.088-.042c-.104-.045-.198-.064-.284-.133a1.312 1.312 0 00-.22-.066c.05-.06.146-.133.183-.198.053-.128.082-.264.088-.402v-.02a1.21 1.21 0 00-.061-.4c-.045-.134-.101-.2-.183-.333-.084-.066-.167-.132-.267-.132h-.016c-.093 0-.176.03-.262.132a.8.8 0 00-.205.334 1.18 1.18 0 00-.09.4v.019c.002.089.008.179.02.267-.193-.067-.438-.135-.607-.202a1.635 1.635 0 01-.018-.2v-.02a1.772 1.772 0 01.15-.768c.082-.22.232-.406.43-.533a.985.985 0 01.594-.2zm-2.962.059h.036c.142 0 .27.048.399.135.146.129.264.288.344.465.09.199.14.4.153.667v.004c.007.134.006.2-.002.266v.08c-.03.007-.056.018-.083.024-.152.055-.274.135-.393.2.012-.09.013-.18.003-.267v-.015c-.012-.133-.04-.2-.082-.333a.613.613 0 00-.166-.267.248.248 0 00-.183-.064h-.021c-.071.006-.13.04-.186.132a.552.552 0 00-.12.27.944.944 0 00-.023.33v.015c.012.135.037.2.08.334.046.134.098.2.166.268.01.009.02.018.034.024-.07.057-.117.07-.176.136a.304.304 0 01-.131.068 2.62 2.62 0 01-.275-.402 1.772 1.772 0 01-.155-.667 1.759 1.759 0 01.08-.668 1.43 1.43 0 01.283-.535c.128-.133.26-.2.418-.2zm1.37 1.706c.332 0 .733.065 1.216.399.293.2.523.269 1.052.468h.003c.255.136.405.266.478.399v-.131a.571.571 0 01.016.47c-.123.31-.516.643-1.063.842v.002c-.268.135-.501.333-.775.465-.276.135-.588.292-1.012.267a1.139 1.139 0 01-.448-.067 3.566 3.566 0 01-.322-.198c-.195-.135-.363-.332-.612-.465v-.005h-.005c-.4-.246-.616-.512-.686-.71-.07-.268-.005-.47.193-.6.224-.135.38-.271.483-.336.104-.074.143-.102.176-.131h.002v-.003c.169-.202.436-.47.839-.601.139-.036.294-.065.466-.065zm2.8 2.142c.358 1.417 1.196 3.475 1.735 4.473.286.534.855 1.659 1.102 3.024.156-.005.33.018.513.064.646-1.671-.546-3.467-1.089-3.966-.22-.2-.232-.335-.123-.335.59.534 1.365 1.572 1.646 2.757.13.535.16 1.104.021 1.67.067.028.135.06.205.067 1.032.534 1.413.938 1.23 1.537v-.043c-.06-.003-.12 0-.18 0h-.016c.151-.467-.182-.825-1.065-1.224-.915-.4-1.646-.336-1.77.465-.008.043-.013.066-.018.135-.068.023-.139.053-.209.064-.43.268-.662.669-.793 1.187-.13.533-.17 1.156-.205 1.869v.003c-.02.334-.17.838-.319 1.35-1.5 1.072-3.58 1.538-5.348.334a2.645 2.645 0 00-.402-.533 1.45 1.45 0 00-.275-.333c.182 0 .338-.03.465-.067a.615.615 0 00.314-.334c.108-.267 0-.697-.345-1.163-.345-.467-.931-.995-1.788-1.521-.63-.4-.986-.87-1.15-1.396-.165-.534-.143-1.085-.015-1.645.245-1.07.873-2.11 1.274-2.763.107-.065.037.135-.408.974-.396.751-1.14 2.497-.122 3.854a8.123 8.123 0 01.647-2.876c.564-1.278 1.743-3.504 1.836-5.268.048.036.217.135.289.202.218.133.38.333.59.465.21.201.477.335.876.335.039.003.075.006.11.006.412 0 .73-.134.997-.268.29-.134.52-.334.74-.4h.005c.467-.135.835-.402 1.044-.7zm2.185 8.958c.037.6.343 1.245.882 1.377.588.134 1.434-.333 1.791-.765l.211-.01c.315-.007.577.01.847.268l.003.003c.208.199.305.53.391.876.085.4.154.78.409 1.066.486.527.645.906.636 1.14l.003-.007v.018l-.003-.012c-.015.262-.185.396-.498.595-.63.401-1.746.712-2.457 1.57-.618.737-1.37 1.14-2.036 1.191-.664.053-1.237-.2-1.574-.898l-.005-.003c-.21-.4-.12-1.025.056-1.69.176-.668.428-1.344.463-1.897.037-.714.076-1.335.195-1.814.12-.465.308-.797.641-.984l.045-.022zm-10.814.049h.01c.053 0 .105.005.157.014.376.055.706.333 1.023.752l.91 1.664.003.003c.243.533.754 1.064 1.189 1.637.434.598.77 1.131.729 1.57v.006c-.057.744-.48 1.148-1.125 1.294-.645.135-1.52.002-2.395-.464-.968-.536-2.118-.469-2.857-.602-.369-.066-.61-.2-.723-.4-.11-.2-.113-.602.123-1.23v-.004l.002-.003c.117-.334.03-.752-.027-1.118-.055-.401-.083-.71.043-.94.16-.334.396-.4.69-.533.294-.135.64-.202.915-.47h.002v-.002c.256-.268.445-.601.668-.838.19-.201.38-.336.663-.336zm7.159-9.074c-.435.201-.945.535-1.488.535-.542 0-.97-.267-1.28-.466-.154-.134-.28-.268-.373-.335-.164-.134-.144-.333-.074-.333.109.016.129.134.199.2.096.066.215.2.36.333.292.2.68.467 1.167.467.485 0 1.053-.267 1.398-.466.195-.135.445-.334.648-.467.156-.136.149-.267.279-.267.128.016.034.134-.147.332a8.097 8.097 0 01-.69.468zm-1.082-1.583V5.64c-.006-.02.013-.042.029-.05.074-.043.18-.027.26.004.063 0 .16.067.15.135-.006.049-.085.066-.135.066-.055 0-.092-.043-.141-.068-.052-.018-.146-.008-.163-.065zm-.551 0c-.02.058-.113.049-.166.066-.047.025-.086.068-.14.068-.05 0-.13-.02-.136-.068-.01-.066.088-.133.15-.133.08-.031.184-.047.259-.005.019.009.036.03.03.05v.02h.003z"/></svg>
92 <span id="download-label">{t.downloadForMac}</span>
93 </a>
94 <a class="hero-source-link" href={GITHUB_REPOSITORY_URL} target="_blank" rel="noopener noreferrer">
95 <svg class="hero-source-mark" width="15" height="15" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true">
96 <path d="M12 .5C5.65.5.5 5.65.5 12a11.5 11.5 0 007.86 10.93c.58.1.79-.25.79-.56v-2c-3.2.69-3.88-1.37-3.88-1.37-.52-1.33-1.27-1.69-1.27-1.69-1.04-.71.08-.7.08-.7 1.15.08 1.76 1.18 1.76 1.18 1.02 1.76 2.68 1.25 3.33.96.1-.75.4-1.25.72-1.54-2.55-.29-5.24-1.27-5.24-5.67 0-1.25.45-2.28 1.18-3.08-.12-.29-.51-1.45.11-3.02 0 0 .96-.31 3.15 1.18a10.96 10.96 0 015.74 0c2.19-1.49 3.15-1.18 3.15-1.18.62 1.57.23 2.73.11 3.02.74.8 1.18 1.83 1.18 3.08 0 4.41-2.7 5.38-5.27 5.66.41.36.78 1.06.78 2.13v3.16c0 .31.21.67.8.56A11.5 11.5 0 0023.5 12C23.5 5.65 18.35.5 12 .5z"/>
97 </svg>
98 <span>{t.sourceLink}</span>
99 <svg class="hero-source-arrow" width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M7 17L17 7M8 7h9v9"/></svg>
100 </a>
101 <p class="hero-mobile-line">
102 {t.alsoOnPhone}
103 <a href={IOS_APP_STORE_URL} target="_blank" rel="noopener noreferrer">iOS</a>
104 <span aria-hidden="true">·</span>
105 <a href={ANDROID_PLAY_STORE_URL} target="_blank" rel="noopener noreferrer">Android</a>
106 </p>
107 </div>
108
109 <!-- The rise wrapper is separate so its animated transform does not override the preview tilt. -->
110 <div data-rise style="--d:520ms">
111 <div class="hero-preview">
112 <figure class="hero-screenshot-frame">
113 <picture>
114 <img
115 src={desktopScreenshot.src}
116 srcset={`${screenshot.srcSet.attribute}, ${desktopScreenshot.src} ${desktopScreenshot.width}w`}
117 sizes="(max-width: 960px) min(864px, calc(100vw - 20px)), min(1180px, calc(100vw - 60px))"
118 alt={t.screenshotAlt}
119 width={desktopScreenshot.width}
120 height={desktopScreenshot.height}
121 loading="eager"
122 decoding="async"
123 />
124 </picture>
125 </figure>
126 </div>
127 </div>
128 </div>
129 </section>
130
131 <section id="endorsements" class="sec-endorsements" aria-labelledby="endorsements-title">
132 <div class="container">
133 <div class="endorsements-head">
134 <h2 id="endorsements-title">
135 {templateParts(t.endorsementsTitle).map((part) =>
136 typeof part === "string" ? part : <span class="endorsements-count">{users}</span>,
137 )}
138 </h2>
139 <p>{t.endorsementsSub}</p>
140 </div>
141 </div>
142
143 <div class="endorsement-carousel endorsement-carousel--desktop" aria-label={t.endorsementsLabel}>
144 {
145 desktopEndorsementRows.map((row, rowIndex) => (
146 <div class:list={["endorsement-row", rowIndex === 1 && "is-reverse"]}>
147 <div class="endorsement-track">
148 {[0, 1].map((groupIndex) => (
149 <div class="endorsement-track-group" aria-hidden={groupIndex === 1 ? "true" : undefined}>
150 {row.map((tweet) => (
151 <a
152 class="endorsement-card"
153 href={tweet.link}
154 target="_blank"
155 rel="noopener noreferrer"
156 aria-label={fillTemplate(t.readPost, { handle: tweet.handle })}
157 tabindex={groupIndex === 1 ? "-1" : undefined}
158 >
159 <div class="endorsement-author">
160 <img
161 src={`/pfps/${tweet.handle}.webp`}
162 alt=""
163 width="28"
164 height="28"
165 loading="lazy"
166 decoding="async"
167 />
168 <div class="endorsement-handle">@{tweet.handle}</div>
169 </div>
170 <p>{tweet.excerpt ?? tweet.content}</p>
171 </a>
172 ))}
173 </div>
174 ))}
175 </div>
176 </div>
177 ))
178 }
179 </div>
180
181 <div class="endorsement-carousel endorsement-carousel--mobile" aria-label={t.endorsementsLabel}>
182 {
183 mobileEndorsementRows.map((row, rowIndex) => (
184 <div class:list={["endorsement-row", rowIndex === 1 && "is-reverse"]}>
185 <div class="endorsement-track">
186 {[0, 1].map((groupIndex) => (
187 <div class="endorsement-track-group" aria-hidden={groupIndex === 1 ? "true" : undefined}>
188 {row.map((tweet) => (
189 <a
190 class="endorsement-card"
191 href={tweet.link}
192 target="_blank"
193 rel="noopener noreferrer"
194 aria-label={fillTemplate(t.readPost, { handle: tweet.handle })}
195 tabindex={groupIndex === 1 ? "-1" : undefined}
196 >
197 <div class="endorsement-author">
198 <img
199 src={`/pfps/${tweet.handle}.webp`}
200 alt=""
201 width="28"
202 height="28"
203 loading="lazy"
204 decoding="async"
205 />
206 <div class="endorsement-handle">@{tweet.handle}</div>
207 </div>
208 <p>{tweet.excerpt ?? tweet.content}</p>
209 </a>
210 ))}
211 </div>
212 ))}
213 </div>
214 </div>
215 ))
216 }
217 </div>
218 </section>
219
220 <section id="harnesses" class="sec-harness">
221 <div class="container">
222 <div class="section-head">
223 <h2>{t.harnessTitle}</h2>
224 <p>{t.harnessBody}</p>
225 </div>
226
227 <div class="harness-grid">
228 <div class="harness">
229 <div class="harness-mark"><img src="/harnesses/claude-ai-icon.svg" alt="" /></div>
230 <div class="harness-meta">
231 <div class="harness-name">Claude Code</div>
232 <div class="harness-tag">claude auth login</div>
233 </div>
234 </div>
235 <div class="harness">
236 <div class="harness-mark"><img src="/harnesses/openai_dark.svg" alt="" /></div>
237 <div class="harness-meta">
238 <div class="harness-name">Codex CLI</div>
239 <div class="harness-tag">codex login</div>
240 </div>
241 </div>
242 <div class="harness">
243 <div class="harness-mark"><img src="/harnesses/opencode-dark.svg" alt="" /></div>
244 <div class="harness-meta">
245 <div class="harness-name">OpenCode</div>
246 <div class="harness-tag">opencode auth</div>
247 </div>
248 </div>
249 <div class="harness">
250 <div class="harness-mark"><img src="/harnesses/cursor_light.svg" alt="" /></div>
251 <div class="harness-meta">
252 <div class="harness-name">Cursor</div>
253 <div class="harness-tag">@cursor/sdk</div>
254 </div>
255 </div>
256 <div class="harness">
257 <div class="harness-mark"><img src="/harnesses/grok-dark.svg" alt="" /></div>
258 <div class="harness-meta">
259 <div class="harness-name">Grok CLI</div>
260 <div class="harness-tag">grok login</div>
261 </div>
262 </div>
263 <div class="harness">
264 <div class="harness-mark"><img src="/harnesses/antigravity.svg" alt="" /></div>
265 <div class="harness-meta">
266 <div class="harness-name">Antigravity</div>
267 <div class="harness-tag">{t.googleSignIn}</div>
268 </div>
269 </div>
270 </div>
271
272 <div class="harness-footer">
273 {t.harnessPoints.map((point) => (
274 <div class="harness-footer-item"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M4 12l5 5L20 6"/></svg> {point}</div>
275 ))}
276 </div>
277 </div>
278 </section>
279
280 <section id="git" class="sec-git">
281 <div class="container git-inner">
282 <div
283 class="git-visual"
284 role="img"
285 aria-label={t.gitVisualLabel}
286 >
287 <div class="pr-card tile">
288 <div class="pr-head">
289 <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><circle cx="6" cy="6" r="2.2"/><circle cx="6" cy="18" r="2.2"/><circle cx="18" cy="6" r="2.2"/><path d="M6 8v8M18 8v5a3 3 0 01-3 3h-3M13 13l-2 3 2 3"/></svg>
290 <span class="pr-title">Add marketing hero animation</span>
291 <span class="pr-status">{t.prReady}</span>
292 </div>
293 <div class="pr-meta">
294 <span><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><circle cx="6" cy="6" r="2.2"/><circle cx="6" cy="18" r="2.2"/><circle cx="18" cy="6" r="2.2"/><path d="M6 8v8M6 12a6 6 0 006-6h6"/></svg> feat/marketing-hero → main</span>
295 <span>+142 −38</span>
296 <span>{t.prCommits}</span>
297 </div>
298 <div class="pr-files">
299 <div><code>apps/marketing/src/pages/index.astro</code> <span>+14 −2</span></div>
300 <div><code>apps/marketing/src/layouts/Layout.astro</code> <span>+8 −0</span></div>
301 <div><code>apps/marketing/public/hero.css</code> <span>+120 −36</span></div>
302 </div>
303 <div class="pr-foot">
304 <span class="btn btn-ghost" style="font-size:12px;padding:6px 10px">{t.viewDiff}</span>
305 <span class="btn btn-ghost" style="font-size:12px;padding:6px 12px">
306 <svg width="12" height="12" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M12 .5C5.65.5.5 5.65.5 12a11.5 11.5 0 007.86 10.93c.58.1.79-.25.79-.56v-2c-3.2.69-3.88-1.37-3.88-1.37-.52-1.33-1.27-1.69-1.27-1.69-1.04-.71.08-.7.08-.7 1.15.08 1.76 1.18 1.76 1.18 1.02 1.76 2.68 1.25 3.33.96.1-.75.4-1.25.72-1.54-2.55-.29-5.24-1.27-5.24-5.67 0-1.25.45-2.28 1.18-3.08-.12-.29-.51-1.45.11-3.02 0 0 .96-.31 3.15 1.18a10.96 10.96 0 015.74 0c2.19-1.49 3.15-1.18 3.15-1.18.62 1.57.23 2.73.11 3.02.74.8 1.18 1.83 1.18 3.08 0 4.41-2.7 5.38-5.27 5.66.41.36.78 1.06.78 2.13v3.16c0 .31.21.67.8.56A11.5 11.5 0 0023.5 12C23.5 5.65 18.35.5 12 .5z"/></svg>
307 {t.openPullRequest}
308 </span>
309 </div>
310 </div>
311 <div class="pr-trail">
312 <div class="pr-trail-dot"></div>
313 <div class="pr-trail-line"></div>
314 <div class="pr-trail-dot"></div>
315 </div>
316 <div class="pr-button-shell">
317 <span class="pr-button">
318 <svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><circle cx="6" cy="6" r="2.2"/><circle cx="6" cy="18" r="2.2"/><circle cx="18" cy="6" r="2.2"/><path d="M6 8v8M18 8v5a3 3 0 01-3 3h-3M13 13l-2 3 2 3"/></svg>
319 {t.commitPush}
320 <span id="pr-button-kbd" class="pr-button-kbd">⌘⏎</span>
321 </span>
322 </div>
323 </div>
324
325 <div class="git-copy">
326 <div class="section-head" style="margin-bottom:0">
327 <h2>{t.gitTitle}</h2>
328 <p>{t.gitBody}</p>
329 <ul class="checklist" style="margin-top:24px">
330 {t.gitPoints.map((point) => (
331 <li><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M4 12l5 5L20 6"/></svg> {point}</li>
332 ))}
333 </ul>
334 </div>
335 </div>
336 </div>
337 </section>
338
339 <section id="open" class="sec-open">
340 <div class="container">
341 <div class="section-head open-head">
342 <h2>{t.openTitle}</h2>
343 </div>
344
345 <div class="open-grid">
346 <div class="tile open-term">
347 <div class="open-term-head">
348 <span></span><span></span><span></span>
349 <span class="open-term-title">~/code</span>
350 </div>
351 <div class="open-term-body">
352 <div><span class="prompt">$</span> gh repo fork pingdotgg/t3code --clone</div>
353 <div class="dim">✓ Cloned t3code into ./t3code</div>
354 <div><span class="prompt">$</span> cd t3code &amp;&amp; vp install</div>
355 <div class="dim">✓ 1 284 packages installed in 4.2s</div>
356 <div><span class="prompt">$</span> vp run dev</div>
357 <div class="dim">▲ T3 Code dev server → <span class="accent">http://localhost:4001</span></div>
358 <div class="cursor"><span class="prompt">$</span><span class="caret"></span></div>
359 </div>
360 </div>
361
362 <div class="tile open-pitch">
363 <div class="open-pitch-copy">
364 <ul class="open-pitch-list">
365 {t.openPoints.map((point) => (
366 <li>
367 <span class="open-pitch-mark" aria-hidden="true"><svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg></span>
368 <span><strong>{point.lead}</strong> {point.rest}</span>
369 </li>
370 ))}
371 </ul>
372 </div>
373
374 <div class="open-pitch-footer">
375 <div class="open-pitch-meta">
376 <span>{messagesFor(locale).layout.mitLicensed}</span>
377 <span aria-hidden="true">·</span>
378 <span>{fillTemplate(t.stars, { stars: MARKETING_STATS.githubStars })}</span>
379 </div>
380
381 <div class="open-pitch-actions">
382 <a class="btn btn-primary" href="https://github.com/pingdotgg/t3code/fork" target="_blank" rel="noopener noreferrer">
383 <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="6" cy="5" r="2.2"/><circle cx="18" cy="5" r="2.2"/><circle cx="12" cy="19" r="2.2"/><path d="M6 7.2v2A3 3 0 009 12.2h6A3 3 0 0018 9.2v-2M12 14v2.8"/></svg>
384 {t.forkOnGithub}
385 </a>
386 <a class="open-source-link" href={GITHUB_REPOSITORY_URL} target="_blank" rel="noopener noreferrer">
387 {t.browseSource}
388 <svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M7 17L17 7M8 7h9v9"/></svg>
389 </a>
390 </div>
391 </div>
392 </div>
393 </div>
394 </div>
395 </section>
396
397 <section id="download" class="sec-cta">
398 <div class="container cta-inner">
399 <h2 class="display cta-title">{t.ctaTitle}</h2>
400 <p class="cta-sub">{t.ctaSub}</p>
401 <div class="cta-actions">
402 <a id="cta-download-btn" class="btn btn-primary btn-lg" href="https://github.com/pingdotgg/t3code/releases">
403 <svg class="dl-icon dl-icon--apple" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 814 1000" aria-hidden="true"><path fill="currentColor" d="M788.1 340.9c-5.8 4.5-108.2 62.2-108.2 190.5 0 148.4 130.3 200.9 134.2 202.2-.6 3.2-20.7 71.9-68.7 141.9-42.8 61.6-87.5 123.1-155.5 123.1s-85.5-39.5-164-39.5c-76.5 0-103.7 40.8-165.9 40.8s-105.6-57-155.5-127C46.7 790.7 0 663 0 541.8c0-194.4 126.4-297.5 250.8-297.5 66.1 0 121.2 43.4 162.7 43.4 39.5 0 101.1-46 176.3-46 28.5 0 130.9 2.6 198.3 99.2zm-234-181.5c31.1-36.9 53.1-88.1 53.1-139.3 0-7.1-.6-14.3-1.9-20.1-50.6 1.9-110.8 33.7-147.1 75.8-28.5 32.4-55.1 83.6-55.1 135.5 0 7.8 1.3 15.6 1.9 18.1 3.2.6 8.4 1.3 13.6 1.3 45.4 0 102.5-30.4 135.5-71.3z"/></svg>
404 <svg class="dl-icon dl-icon--windows" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 88 88" aria-hidden="true"><path fill="currentColor" d="m0 12.402 35.687-4.86.016 34.423-35.67.203zm35.67 33.529.028 34.453L.028 75.48.026 45.7zm4.326-39.025L87.314 0v41.527l-47.318.376zm47.329 39.349-.011 41.34-47.318-6.678-.066-34.739z"/></svg>
405 <svg class="dl-icon dl-icon--linux" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" aria-hidden="true"><path fill="currentColor" d="M12.504 0c-.155 0-.315.008-.48.021-4.226.333-3.105 4.807-3.17 6.298-.076 1.092-.3 1.953-1.05 3.02-.885 1.051-2.127 2.75-2.716 4.521-.278.832-.41 1.684-.287 2.489a.424.424 0 00-.11.135c-.26.268-.45.6-.663.839-.199.199-.485.267-.797.4-.313.136-.658.269-.864.68-.09.189-.136.394-.132.602 0 .199.027.4.055.536.058.399.116.728.04.97-.249.68-.28 1.145-.106 1.484.174.334.535.47.94.601.81.2 1.91.135 2.774.6.926.466 1.866.67 2.616.47.526-.116.97-.464 1.208-.946.587-.003 1.23-.269 2.26-.334.699-.058 1.574.267 2.577.2.025.134.063.198.114.333l.003.003c.391.778 1.113 1.132 1.884 1.071.771-.06 1.592-.536 2.257-1.306.631-.765 1.683-1.084 2.378-1.503.348-.199.629-.469.649-.853.023-.4-.2-.811-.714-1.376v-.097l-.003-.003c-.17-.2-.25-.535-.338-.926-.085-.401-.182-.786-.492-1.046h-.003c-.059-.054-.123-.067-.188-.135a.357.357 0 00-.19-.064c.431-1.278.264-2.55-.173-3.694-.533-1.41-1.465-2.638-2.175-3.483-.796-1.005-1.576-1.957-1.56-3.368.026-2.152.236-6.133-3.544-6.139zm.529 3.405h.013c.213 0 .396.062.584.198.19.135.33.332.438.533.105.259.158.459.166.724 0-.02.006-.04.006-.06v.105a.086.086 0 01-.004-.021l-.004-.024a1.807 1.807 0 01-.15.706.953.953 0 01-.213.335.71.71 0 00-.088-.042c-.104-.045-.198-.064-.284-.133a1.312 1.312 0 00-.22-.066c.05-.06.146-.133.183-.198.053-.128.082-.264.088-.402v-.02a1.21 1.21 0 00-.061-.4c-.045-.134-.101-.2-.183-.333-.084-.066-.167-.132-.267-.132h-.016c-.093 0-.176.03-.262.132a.8.8 0 00-.205.334 1.18 1.18 0 00-.09.4v.019c.002.089.008.179.02.267-.193-.067-.438-.135-.607-.202a1.635 1.635 0 01-.018-.2v-.02a1.772 1.772 0 01.15-.768c.082-.22.232-.406.43-.533a.985.985 0 01.594-.2zm-2.962.059h.036c.142 0 .27.048.399.135.146.129.264.288.344.465.09.199.14.4.153.667v.004c.007.134.006.2-.002.266v.08c-.03.007-.056.018-.083.024-.152.055-.274.135-.393.2.012-.09.013-.18.003-.267v-.015c-.012-.133-.04-.2-.082-.333a.613.613 0 00-.166-.267.248.248 0 00-.183-.064h-.021c-.071.006-.13.04-.186.132a.552.552 0 00-.12.27.944.944 0 00-.023.33v.015c.012.135.037.2.08.334.046.134.098.2.166.268.01.009.02.018.034.024-.07.057-.117.07-.176.136a.304.304 0 01-.131.068 2.62 2.62 0 01-.275-.402 1.772 1.772 0 01-.155-.667 1.759 1.759 0 01.08-.668 1.43 1.43 0 01.283-.535c.128-.133.26-.2.418-.2zm1.37 1.706c.332 0 .733.065 1.216.399.293.2.523.269 1.052.468h.003c.255.136.405.266.478.399v-.131a.571.571 0 01.016.47c-.123.31-.516.643-1.063.842v.002c-.268.135-.501.333-.775.465-.276.135-.588.292-1.012.267a1.139 1.139 0 01-.448-.067 3.566 3.566 0 01-.322-.198c-.195-.135-.363-.332-.612-.465v-.005h-.005c-.4-.246-.616-.512-.686-.71-.07-.268-.005-.47.193-.6.224-.135.38-.271.483-.336.104-.074.143-.102.176-.131h.002v-.003c.169-.202.436-.47.839-.601.139-.036.294-.065.466-.065zm2.8 2.142c.358 1.417 1.196 3.475 1.735 4.473.286.534.855 1.659 1.102 3.024.156-.005.33.018.513.064.646-1.671-.546-3.467-1.089-3.966-.22-.2-.232-.335-.123-.335.59.534 1.365 1.572 1.646 2.757.13.535.16 1.104.021 1.67.067.028.135.06.205.067 1.032.534 1.413.938 1.23 1.537v-.043c-.06-.003-.12 0-.18 0h-.016c.151-.467-.182-.825-1.065-1.224-.915-.4-1.646-.336-1.77.465-.008.043-.013.066-.018.135-.068.023-.139.053-.209.064-.43.268-.662.669-.793 1.187-.13.533-.17 1.156-.205 1.869v.003c-.02.334-.17.838-.319 1.35-1.5 1.072-3.58 1.538-5.348.334a2.645 2.645 0 00-.402-.533 1.45 1.45 0 00-.275-.333c.182 0 .338-.03.465-.067a.615.615 0 00.314-.334c.108-.267 0-.697-.345-1.163-.345-.467-.931-.995-1.788-1.521-.63-.4-.986-.87-1.15-1.396-.165-.534-.143-1.085-.015-1.645.245-1.07.873-2.11 1.274-2.763.107-.065.037.135-.408.974-.396.751-1.14 2.497-.122 3.854a8.123 8.123 0 01.647-2.876c.564-1.278 1.743-3.504 1.836-5.268.048.036.217.135.289.202.218.133.38.333.59.465.21.201.477.335.876.335.039.003.075.006.11.006.412 0 .73-.134.997-.268.29-.134.52-.334.74-.4h.005c.467-.135.835-.402 1.044-.7zm2.185 8.958c.037.6.343 1.245.882 1.377.588.134 1.434-.333 1.791-.765l.211-.01c.315-.007.577.01.847.268l.003.003c.208.199.305.53.391.876.085.4.154.78.409 1.066.486.527.645.906.636 1.14l.003-.007v.018l-.003-.012c-.015.262-.185.396-.498.595-.63.401-1.746.712-2.457 1.57-.618.737-1.37 1.14-2.036 1.191-.664.053-1.237-.2-1.574-.898l-.005-.003c-.21-.4-.12-1.025.056-1.69.176-.668.428-1.344.463-1.897.037-.714.076-1.335.195-1.814.12-.465.308-.797.641-.984l.045-.022zm-10.814.049h.01c.053 0 .105.005.157.014.376.055.706.333 1.023.752l.91 1.664.003.003c.243.533.754 1.064 1.189 1.637.434.598.77 1.131.729 1.57v.006c-.057.744-.48 1.148-1.125 1.294-.645.135-1.52.002-2.395-.464-.968-.536-2.118-.469-2.857-.602-.369-.066-.61-.2-.723-.4-.11-.2-.113-.602.123-1.23v-.004l.002-.003c.117-.334.03-.752-.027-1.118-.055-.401-.083-.71.043-.94.16-.334.396-.4.69-.533.294-.135.64-.202.915-.47h.002v-.002c.256-.268.445-.601.668-.838.19-.201.38-.336.663-.336zm7.159-9.074c-.435.201-.945.535-1.488.535-.542 0-.97-.267-1.28-.466-.154-.134-.28-.268-.373-.335-.164-.134-.144-.333-.074-.333.109.016.129.134.199.2.096.066.215.2.36.333.292.2.68.467 1.167.467.485 0 1.053-.267 1.398-.466.195-.135.445-.334.648-.467.156-.136.149-.267.279-.267.128.016.034.134-.147.332a8.097 8.097 0 01-.69.468zm-1.082-1.583V5.64c-.006-.02.013-.042.029-.05.074-.043.18-.027.26.004.063 0 .16.067.15.135-.006.049-.085.066-.135.066-.055 0-.092-.043-.141-.068-.052-.018-.146-.008-.163-.065zm-.551 0c-.02.058-.113.049-.166.066-.047.025-.086.068-.14.068-.05 0-.13-.02-.136-.068-.01-.066.088-.133.15-.133.08-.031.184-.047.259-.005.019.009.036.03.03.05v.02h.003z"/></svg>
406
407 <span id="cta-download-label">{t.downloadForMac}</span>
408 </a>
409 <a class="btn btn-ghost btn-lg" href={localizedHref(locale, "/download")}>{t.otherPlatforms}</a>
410 </div>
411 </div>
412 </section>
413 </Layout>
414
415 <script>
416 import { fetchLatestRelease, RELEASES_URL, type ReleaseAsset } from "../../lib/releases";
417 import { startHomeMotion } from "../../lib/homeMotion";
418 import { detectPlatform, getMobileStoreUrl, type Platform } from "../../lib/platform";
419
420 // Browser architecture hints are unreliable; serve arm64 and let Intel users choose on /download.
421 function pickAsset(assets: ReleaseAsset[], platform: Platform): string | null {
422 if (platform.os === "win") {
423 return assets.find((a) => a.name.endsWith("-x64.exe"))?.browser_download_url ?? null;
424 }
425 if (platform.os === "mac") {
426 return assets.find((a) => a.name.endsWith("-arm64.dmg"))?.browser_download_url ?? null;
427 }
428 if (platform.os === "linux") {
429 return assets.find((a) => a.name.endsWith("-x86_64.AppImage"))?.browser_download_url ?? null;
430 }
431 return null;
432 }
433
434 async function init() {
435 const btn = document.getElementById("download-btn") as HTMLAnchorElement | null;
436 const label = document.getElementById("download-label");
437 const ctaBtn = document.getElementById("cta-download-btn") as HTMLAnchorElement | null;
438 const ctaLabel = document.getElementById("cta-download-label");
439 const kbd = document.getElementById("pr-button-kbd");
440
441 const platform = detectPlatform(navigator.userAgent, navigator.maxTouchPoints);
442 if (!platform) return;
443 document.documentElement.dataset.platform = platform.os;
444 // Localized labels are rendered onto the hero button; the CTA reuses them.
445 const platformLabel = btn?.getAttribute(`data-label-${platform.os}`);
446 if (platformLabel && label) label.textContent = platformLabel;
447 if (platformLabel && ctaLabel) ctaLabel.textContent = platformLabel;
448 if (kbd && platform.os !== "mac" && platform.os !== "ios") kbd.textContent = "Ctrl ⏎";
449
450 const storeUrl = getMobileStoreUrl(platform);
451 if (storeUrl) {
452 if (btn) btn.href = storeUrl;
453 if (ctaBtn) ctaBtn.href = storeUrl;
454 return;
455 }
456
457 try {
458 const release = await fetchLatestRelease();
459 const url = pickAsset(release.assets ?? [], platform);
460 if (url) {
461 if (btn) {
462 btn.href = url;
463 btn.removeAttribute("target");
464 btn.removeAttribute("rel");
465 }
466 if (ctaBtn) {
467 ctaBtn.href = url;
468 ctaBtn.removeAttribute("target");
469 ctaBtn.removeAttribute("rel");
470 }
471 }
472 } catch {
473 if (btn) btn.href = RELEASES_URL;
474 if (ctaBtn) ctaBtn.href = RELEASES_URL;
475 }
476 }
477
478 init();
479
480 const hero = document.querySelector<HTMLElement>(".hero");
481 const field = document.querySelector<HTMLElement>(".hero-float");
482 const tracks = Array.from(document.querySelectorAll<HTMLElement>(".endorsement-track"));
483 const caret = document.querySelector<HTMLElement>(".caret");
484 if (hero && field && caret) {
485 startHomeMotion({ hero, field, tracks, caret });
486 }
487 </script>
488
489 <style>
490 section {
491 position: relative;
492 padding: 80px 0;
493 border-top: 1px solid var(--border);
494 }
495
496 .section-head {
497 margin-bottom: 40px;
498 max-width: 720px;
499 }
500
501 .section-head .eyebrow {
502 margin-bottom: 14px;
503 display: block;
504 }
505
506 .section-head h2 {
507 font-size: clamp(32px, 4vw, 48px);
508 font-weight: 600;
509 letter-spacing: -0.03em;
510 line-height: 1.05;
511 margin-bottom: 18px;
512 }
513
514 .section-head p {
515 color: var(--fg-muted);
516 font-size: 18px;
517 max-width: 620px;
518 letter-spacing: -0.005em;
519 }
520
521 .checklist {
522 list-style: none;
523 display: flex;
524 flex-direction: column;
525 gap: 12px;
526 }
527
528 .checklist li {
529 display: flex;
530 align-items: center;
531 gap: 10px;
532 color: var(--fg-muted);
533 font-size: 15px;
534 }
535
536 .checklist li svg {
537 color: var(--ok);
538 flex-shrink: 0;
539 }
540
541 .hero {
542 padding: 72px 0 60px;
543 position: relative;
544 overflow: hidden;
545 border-top: 0;
546 }
547
548 .hero-grid {
549 position: absolute;
550 inset: 0;
551 pointer-events: none;
552 background-image:
553 linear-gradient(to right, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
554 linear-gradient(to bottom, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
555 background-size: 48px 48px;
556 mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 40%, transparent 100%);
557 -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 40%, transparent 100%);
558 }
559
560 .hero-inner {
561 position: relative;
562 text-align: center;
563 }
564
565 .hero-title {
566 font-size: clamp(38px, 5.6vw, 76px);
567 margin: 48px auto 22px;
568 max-width: 20ch;
569 text-wrap: balance;
570 }
571 /* Inline boxes ignore transforms, so each rising line needs its own block. */
572 .hero-title span { display: inline-block; }
573 /* Japanese lines run to 13 full-width glyphs and would collide with the floating marks. */
574 .hero-title:lang(ja) { font-size: clamp(30px, 4.5vw, 62px); }
575
576 .hero-sub {
577 color: var(--fg-muted);
578 font-size: clamp(16px, 1.4vw, 19px);
579 max-width: 720px;
580 margin: 0 auto 36px;
581 letter-spacing: -0.005em;
582 line-height: 1.55;
583 text-wrap: balance;
584 }
585
586 .hero-actions {
587 display: flex;
588 flex-direction: column;
589 align-items: center;
590 gap: 16px;
591 margin-bottom: 56px;
592 }
593
594 .hero-source-link {
595 display: inline-flex;
596 align-items: center;
597 gap: 8px;
598 color: var(--fg-muted);
599 font-size: 14px;
600 font-weight: 500;
601 letter-spacing: -0.01em;
602 transition: color 0.18s ease;
603 }
604
605 .hero-source-link:hover {
606 color: var(--fg);
607 }
608
609 .hero-source-mark {
610 flex-shrink: 0;
611 }
612
613 .hero-source-arrow {
614 flex-shrink: 0;
615 opacity: 0.6;
616 transition: transform 0.18s ease, opacity 0.18s ease;
617 }
618
619 .hero-source-link:hover .hero-source-arrow {
620 transform: translate(2px, -2px);
621 opacity: 1;
622 }
623
624 .hero-mobile-line {
625 display: inline-flex;
626 align-items: center;
627 gap: 6px;
628 color: var(--fg-muted);
629 font-size: 13px;
630 letter-spacing: -0.005em;
631 }
632
633 .hero-mobile-line a {
634 color: var(--fg-muted);
635 text-decoration: underline;
636 text-decoration-color: rgba(163, 163, 163, 0.4);
637 text-underline-offset: 3px;
638 transition: color 0.18s ease, text-decoration-color 0.18s ease;
639 }
640
641 .hero-mobile-line a:hover {
642 color: var(--fg);
643 text-decoration-color: var(--fg);
644 }
645
646 .dl-icon {
647 display: none;
648 width: 14px;
649 height: 14px;
650 flex-shrink: 0;
651 }
652
653 :global([data-platform="mac"]) .dl-icon--apple,
654 :global([data-platform="ios"]) .dl-icon--apple { display: block; }
655 :global([data-platform="win"]) .dl-icon--windows { display: block; }
656 :global([data-platform="linux"]) .dl-icon--linux { display: block; }
657 :global(html:not([data-platform])) .dl-icon--apple { display: block; }
658
659 /* Marks enter once, then drift while visible and lean toward the pointer. */
660 .hero-float {
661 position: absolute;
662 inset: 0;
663 pointer-events: none;
664 z-index: 1;
665 --px: 0px;
666 --py: 0px;
667 }
668
669 .hero-float-mark {
670 position: absolute;
671 left: calc(50% + var(--x));
672 top: var(--y);
673 width: var(--s);
674 height: var(--s);
675 margin-left: calc(var(--s) / -2);
676 translate: calc(var(--px) * var(--depth)) calc(var(--py) * var(--depth));
677 transition: translate var(--parallax-duration, 0s) cubic-bezier(0.2, 0.7, 0.2, 1);
678 }
679
680 .hero-float-card {
681 display: grid;
682 place-items: center;
683 width: 100%;
684 height: 100%;
685 border-radius: 25%;
686 background: var(--bg-card);
687 border: 1px solid var(--border);
688 box-shadow: 0 12px 32px -16px rgba(0, 0, 0, 0.65);
689 animation: mark-in 1s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d) both;
690 }
691
692 .hero-float-card img {
693 width: 56%;
694 height: 56%;
695 display: block;
696 object-fit: contain;
697 }
698
699 @keyframes mark-in {
700 from { opacity: 0; transform: translate(var(--fx), var(--fy)) rotate(calc(var(--rot) + 24deg)) scale(0.6); }
701 to { opacity: 1; transform: translate(0, 0) rotate(var(--rot)) scale(1); }
702 }
703
704 .hf-opencode { --x: max(-300px, -19vw); --y: 20px; --s: 64px; --rot: 6deg; --depth: 0.6; --d: 620ms; --fx: -40px; --fy: -80px; }
705 .hf-antigravity { --x: min(300px, 19vw); --y: 20px; --s: 64px; --rot: -5deg; --depth: 0.6; --d: 580ms; --fx: 40px; --fy: -80px; }
706 .hf-claude { --x: max(-560px, -38vw); --y: 128px; --s: 96px; --rot: -8deg; --depth: 1.2; --d: 380ms; --fx: -160px; --fy: -40px; }
707 .hf-codex { --x: min(560px, 38vw); --y: 128px; --s: 96px; --rot: 7deg; --depth: 1.2; --d: 460ms; --fx: 160px; --fy: -40px; }
708 .hf-grok { --x: max(-440px, -30vw); --y: 440px; --s: 80px; --rot: 4deg; --depth: 0.9; --d: 540ms; --fx: -120px; --fy: 80px; }
709 .hf-cursor { --x: min(440px, 30vw); --y: 440px; --s: 80px; --rot: -5deg; --depth: 0.9; --d: 700ms; --fx: 120px; --fy: 80px; }
710
711 @media (prefers-reduced-motion: reduce) {
712 .hero-float-card { animation: none; transform: rotate(var(--rot)); }
713 .hero-float-mark { translate: none; transition: none; }
714 }
715
716 @media (max-width: 1180px) {
717 .hf-claude, .hf-codex { --s: 80px; }
718 .hf-grok, .hf-cursor { --s: 68px; --y: 420px; }
719 }
720
721 @media (max-width: 820px) {
722 .hero {
723 padding-top: 132px;
724 padding-bottom: 32px;
725 }
726
727 .hero-title {
728 font-size: clamp(32px, 9.2vw, 56px);
729 margin-top: 14px;
730 }
731
732 .hero-title:lang(ja) { font-size: clamp(22px, 6.4vw, 44px); }
733
734 .hero-actions {
735 margin-bottom: 40px;
736 }
737
738 /* Four above the headline, two beside the CTA. Keeps the copy clear. */
739 .hf-claude { --x: -37vw; --y: 44px; --s: 64px; --rot: -10deg; }
740 .hf-opencode { --x: -12vw; --y: 52px; --s: 56px; --rot: -4deg; }
741 .hf-antigravity { --x: 12vw; --y: 52px; --s: 56px; --rot: 5deg; }
742 .hf-codex { --x: 37vw; --y: 44px; --s: 64px; --rot: 8deg; }
743 .hf-grok { --x: -36vw; --y: 474px; --s: 64px; --rot: -6deg; }
744 .hf-cursor { --x: 36vw; --y: 474px; --s: 64px; --rot: 7deg; }
745 }
746
747 @media (max-width: 340px) {
748 .hf-opencode, .hf-antigravity, .hf-grok, .hf-cursor { --s: 48px; }
749 .hf-grok, .hf-cursor { --y: 580px; }
750 }
751
752 .hero-preview {
753 max-width: 1180px;
754 margin: 0 auto;
755 }
756
757 .hero-screenshot-frame {
758 position: relative;
759 overflow: hidden;
760 aspect-ratio: 2880 / 1800;
761 border-radius: 12px;
762 background: #000;
763 /* The screenshot is true black like the page, so this edge defines the window. */
764 box-shadow: 0 0 0 1px var(--border-strong);
765 }
766
767 .hero-screenshot-frame picture {
768 display: block;
769 width: 100%;
770 height: 100%;
771 }
772
773 .hero-screenshot-frame img {
774 width: calc(100% + 4px);
775 height: calc(100% + 4px);
776 margin: -2px;
777 object-fit: cover;
778 object-position: center top;
779 }
780
781 .harness-grid {
782 display: grid;
783 grid-template-columns: repeat(6, 1fr);
784 gap: 0;
785 border: 1px solid var(--border);
786 border-radius: var(--radius);
787 overflow: hidden;
788 }
789
790 .harness {
791 padding: 22px 20px;
792 display: flex; align-items: center; gap: 14px;
793 border-right: 1px solid var(--border);
794 transition: background 0.2s ease;
795 }
796 .harness:last-child { border-right: 0; }
797 .harness:hover { background: rgba(255, 255, 255, 0.025); }
798
799 .harness-mark {
800 color: var(--fg); opacity: 0.95;
801 flex-shrink: 0; width: 28px; height: 28px;
802 display: grid; place-items: center;
803 }
804 .harness-mark img { width: 22px; height: 22px; object-fit: contain; }
805
806 .harness-meta { flex: 1; min-width: 0; }
807 .harness-name {
808 font-size: 14px; font-weight: 500;
809 letter-spacing: -0.01em; margin-bottom: 2px;
810 }
811 .harness-tag {
812 font-family: var(--font-mono);
813 font-size: 11px; color: var(--fg-muted);
814 white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
815 }
816
817 .harness-footer {
818 display: flex; gap: 24px; flex-wrap: wrap;
819 margin-top: 28px; padding-top: 24px;
820 border-top: 1px solid var(--border);
821 font-size: 13px; color: var(--fg-muted);
822 }
823 .harness-footer-item {
824 display: inline-flex; gap: 8px; align-items: center;
825 color: var(--fg-muted);
826 }
827 .harness-footer-item svg { color: var(--ok); }
828
829 .sec-endorsements {
830 overflow: hidden;
831 }
832
833 .endorsements-head {
834 max-width: 720px;
835 margin-bottom: 40px;
836 }
837
838 .endorsements-head h2 {
839 font-size: clamp(32px, 4vw, 48px);
840 font-weight: 600;
841 letter-spacing: -0.03em;
842 line-height: 1.05;
843 margin-bottom: 18px;
844 }
845
846 .endorsements-count {
847 font-weight: 600;
848 font-variant-numeric: tabular-nums;
849 }
850
851 .endorsements-head p {
852 color: var(--fg-muted);
853 font-size: 18px;
854 max-width: 620px;
855 letter-spacing: -0.005em;
856 }
857
858 /* Two marquee rows scrolling in opposite directions. Each track holds the
859 row twice so a -50% translate loops seamlessly. The animation only runs
860 while a track is on screen (see homeMotion), and pauses on hover/focus. */
861 .endorsement-carousel {
862 position: relative;
863 display: flex;
864 flex-direction: column;
865 gap: 12px;
866 }
867
868 .endorsement-carousel--mobile {
869 display: none;
870 }
871
872 .endorsement-carousel::before,
873 .endorsement-carousel::after {
874 content: "";
875 position: absolute;
876 top: 0;
877 bottom: 0;
878 z-index: 2;
879 width: max(48px, calc((100vw - 1240px) / 2 + 56px));
880 pointer-events: none;
881 }
882
883 .endorsement-carousel::before {
884 left: 0;
885 background: linear-gradient(90deg, var(--bg), transparent);
886 }
887
888 .endorsement-carousel::after {
889 right: 0;
890 background: linear-gradient(270deg, var(--bg), transparent);
891 }
892
893 .endorsement-row {
894 overflow: hidden;
895 }
896
897 .endorsement-track {
898 width: max-content;
899 display: flex;
900 animation: endorsementMarquee 76s linear infinite;
901 animation-play-state: var(--home-motion-state, paused);
902 will-change: transform;
903 }
904
905 .endorsement-track-group {
906 display: flex;
907 gap: 12px;
908 padding-right: 12px;
909 }
910
911 .endorsement-row.is-reverse .endorsement-track {
912 animation-direction: reverse;
913 animation-duration: 84s;
914 }
915
916 .endorsement-carousel:hover .endorsement-track,
917 .endorsement-carousel:focus-within .endorsement-track {
918 animation-play-state: paused;
919 }
920
921 @media (prefers-reduced-motion: reduce) {
922 .endorsement-track { animation: none; }
923 }
924
925 @keyframes endorsementMarquee {
926 from { transform: translateX(0); }
927 to { transform: translateX(-50%); }
928 }
929
930 .endorsement-card {
931 position: relative;
932 width: clamp(264px, 22vw, 308px);
933 height: 132px;
934 padding: 14px 16px;
935 display: flex;
936 flex-direction: column;
937 gap: 10px;
938 border: 1px solid var(--border);
939 border-radius: 10px;
940 background: var(--bg-elev);
941 transition:
942 border-color 0.18s ease,
943 background 0.18s ease;
944 }
945
946 .endorsement-card:hover {
947 border-color: var(--border-strong);
948 background: rgba(255, 255, 255, 0.03);
949 }
950
951 .endorsement-author {
952 display: flex;
953 align-items: center;
954 gap: 8px;
955 min-width: 0;
956 }
957
958 .endorsement-author img {
959 width: 28px;
960 height: 28px;
961 border-radius: 50%;
962 object-fit: cover;
963 flex-shrink: 0;
964 }
965
966 .endorsement-handle {
967 color: var(--fg-muted);
968 font-size: 13px;
969 font-weight: 500;
970 letter-spacing: -0.005em;
971 overflow: hidden;
972 text-overflow: ellipsis;
973 white-space: nowrap;
974 }
975
976 .endorsement-card p {
977 color: var(--fg);
978 font-size: 13.5px;
979 line-height: 1.4;
980 letter-spacing: -0.003em;
981 display: -webkit-box;
982 overflow: hidden;
983 -webkit-box-orient: vertical;
984 -webkit-line-clamp: 3;
985 }
986
987 .git-inner {
988 display: grid;
989 grid-template-columns: 1.1fr 1fr;
990 gap: 64px; align-items: center;
991 }
992
993 .git-visual {
994 position: relative;
995 display: flex; flex-direction: column;
996 align-items: stretch; gap: 20px;
997 }
998
999 .git-visual .btn {
1000 line-height: normal;
1001 pointer-events: none;
1002 }
1003
1004 .pr-card { padding: 20px; }
1005 .pr-head {
1006 display: flex; align-items: center; gap: 10px;
1007 margin-bottom: 12px;
1008 }
1009 .pr-head svg { color: var(--ok); }
1010 .pr-title { font-weight: 500; font-size: 15px; flex: 1; }
1011 .pr-status { font-size: 12px; font-weight: 500; color: var(--ok); }
1012 .pr-meta {
1013 display: flex; gap: 14px;
1014 font-family: var(--font-mono); font-size: 11px;
1015 color: var(--fg-muted); margin-bottom: 14px; flex-wrap: wrap;
1016 }
1017 .pr-meta span { display: inline-flex; align-items: center; gap: 5px; }
1018 .pr-files {
1019 border: 1px solid var(--border); border-radius: 8px;
1020 overflow: hidden; margin-bottom: 16px;
1021 }
1022 .pr-files > div {
1023 display: flex; justify-content: space-between; gap: 12px;
1024 padding: 8px 12px; font-family: var(--font-mono);
1025 font-size: 11px; border-top: 1px solid var(--border);
1026 color: var(--fg-muted);
1027 }
1028 .pr-files > div:first-child { border-top: 0; }
1029 .pr-files code { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1030 .pr-files span { flex: none; color: var(--fg-dim); }
1031 .pr-foot { display: flex; justify-content: flex-end; gap: 8px; }
1032
1033 .pr-trail {
1034 display: flex; flex-direction: column;
1035 align-items: center; justify-content: center;
1036 gap: 0; margin: -4px 0;
1037 }
1038 .pr-trail-dot {
1039 width: 8px; height: 8px; border-radius: 999px;
1040 background: var(--border-strong);
1041 }
1042 .pr-trail-line {
1043 width: 1px; height: 28px;
1044 background: var(--border-strong);
1045 }
1046
1047 .pr-button-shell { display: flex; justify-content: center; }
1048 .pr-button {
1049 display: inline-flex; align-items: center; gap: 10px;
1050 padding: 12px 20px;
1051 background: var(--fg); color: #000;
1052 font-weight: 600; font-size: 13px;
1053 line-height: normal;
1054 border-radius: 10px;
1055 }
1056 .pr-button-kbd {
1057 font-family: var(--font-mono); font-size: 10px;
1058 background: rgba(0, 0, 0, 0.1);
1059 padding: 2px 6px; border-radius: 4px;
1060 }
1061
1062 .open-head {
1063 text-align: center;
1064 margin: 0 auto 40px;
1065 }
1066
1067 .open-grid {
1068 display: grid;
1069 grid-template-columns: 1.25fr 1fr;
1070 gap: 20px;
1071 }
1072
1073 .open-term { padding: 0; overflow: hidden; }
1074 .open-term-head {
1075 display: flex; align-items: center; gap: 6px;
1076 padding: 10px 14px; border-bottom: 1px solid var(--border);
1077 }
1078 .open-term-head span {
1079 width: 10px; height: 10px; border-radius: 999px;
1080 background: #262626; display: block;
1081 }
1082 .open-term-title {
1083 margin-left: 10px;
1084 font-family: var(--font-mono); font-size: 11px;
1085 color: var(--fg-dim); flex: 1; text-align: center;
1086 background: transparent !important;
1087 width: auto !important; height: auto !important;
1088 border-radius: 0 !important;
1089 }
1090
1091 .open-term-body {
1092 padding: 20px 22px;
1093 font-family: var(--font-mono); font-size: 13px;
1094 line-height: 1.7; color: var(--fg);
1095 }
1096 .open-term-body > div {
1097 white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
1098 }
1099 .open-term-body .prompt { color: var(--accent); margin-right: 8px; }
1100 .open-term-body .dim { color: var(--fg-dim); }
1101 .open-term-body .accent { color: var(--accent); }
1102 .open-term-body .cursor { display: flex; align-items: center; }
1103 .caret {
1104 display: inline-block;
1105 width: 7px; height: 14px;
1106 background: var(--fg);
1107 margin-left: 4px;
1108 animation: blink 1s steps(2) infinite;
1109 animation-play-state: var(--home-motion-state, paused);
1110 }
1111
1112 @keyframes blink {
1113 50% { opacity: 0; }
1114 }
1115
1116 @media (prefers-reduced-motion: reduce) {
1117 .caret { animation: none; }
1118 }
1119
1120 .open-pitch {
1121 padding: 32px;
1122 display: flex;
1123 flex-direction: column;
1124 justify-content: center;
1125 gap: 32px;
1126 }
1127
1128 .open-pitch-list {
1129 list-style: none;
1130 display: flex;
1131 flex-direction: column;
1132 gap: 16px;
1133 }
1134
1135 .open-pitch-list li {
1136 display: flex;
1137 align-items: flex-start;
1138 gap: 12px;
1139 font-size: 15px;
1140 line-height: 1.5;
1141 color: var(--fg-muted);
1142 }
1143
1144 .open-pitch-list strong {
1145 color: var(--fg);
1146 font-weight: 600;
1147 }
1148
1149 .open-pitch-mark {
1150 flex: none;
1151 margin-top: 5px;
1152 color: var(--ok);
1153 }
1154
1155 .open-pitch-footer {
1156 display: flex;
1157 flex-direction: column;
1158 gap: 18px;
1159 }
1160
1161 .open-pitch-meta {
1162 display: flex;
1163 align-items: center;
1164 gap: 8px;
1165 color: var(--fg-muted);
1166 font-family: var(--font-mono);
1167 font-size: 11px;
1168 }
1169
1170 .open-pitch-actions {
1171 display: flex;
1172 align-items: center;
1173 gap: 16px;
1174 flex-wrap: wrap;
1175 }
1176
1177 .open-source-link {
1178 display: inline-flex;
1179 align-items: center;
1180 gap: 6px;
1181 color: var(--fg-muted);
1182 font-size: 13px;
1183 font-weight: 500;
1184 transition: color 0.18s ease;
1185 }
1186
1187 .open-source-link:hover {
1188 color: var(--fg);
1189 }
1190
1191 .sec-cta {
1192 text-align: center;
1193 padding: 96px 0;
1194 position: relative;
1195 overflow: hidden;
1196 }
1197 .cta-inner { position: relative; }
1198 .cta-title {
1199 font-size: clamp(40px, 6vw, 72px);
1200 }
1201 .open-head h2,
1202 .cta-title {
1203 text-wrap: balance;
1204 }
1205 .cta-sub {
1206 color: var(--fg-muted);
1207 font-size: 18px;
1208 max-width: 560px;
1209 margin: 20px auto 36px;
1210 line-height: 1.55;
1211 letter-spacing: -0.005em;
1212 }
1213 .cta-actions {
1214 display: flex; gap: 10px;
1215 justify-content: center; flex-wrap: wrap;
1216 margin-bottom: 24px;
1217 }
1218
1219 @media (max-width: 960px) {
1220 .hero-preview {
1221 width: min(860px, calc(100vw - 24px));
1222 margin-left: 50%;
1223 transform: translateX(-50%);
1224 }
1225 .harness-grid { grid-template-columns: 1fr 1fr; }
1226 .harness { border-right: 0; border-bottom: 1px solid var(--border); }
1227 .harness:nth-child(odd) { border-right: 1px solid var(--border); }
1228 .harness:nth-child(even) { border-right: 0; }
1229 .git-inner { grid-template-columns: 1fr; gap: 40px; }
1230 .open-grid { grid-template-columns: 1fr; }
1231 }
1232
1233 @media (max-width: 820px) {
1234 section { padding: 56px 0; }
1235 .sec-cta { padding: 80px 0; }
1236 .container { padding-left: 20px; padding-right: 20px; }
1237 /* A nowrap tag widens its column past the grid, which then clips the other column. */
1238 .harness-tag { white-space: normal; }
1239 .endorsements-head {
1240 margin-bottom: 40px;
1241 }
1242 .endorsement-carousel--desktop {
1243 display: none;
1244 }
1245 .endorsement-carousel--mobile {
1246 display: flex;
1247 }
1248 .endorsement-carousel::before,
1249 .endorsement-carousel::after {
1250 width: 28px;
1251 }
1252 .endorsement-track {
1253 animation-duration: 68s;
1254 }
1255 .endorsement-row.is-reverse .endorsement-track {
1256 animation-duration: 76s;
1257 }
1258 .endorsement-card {
1259 width: 268px;
1260 padding: 14px;
1261 }
1262 .endorsement-card p {
1263 font-size: 13px;
1264 }
1265 .open-term-body {
1266 padding: 16px;
1267 font-size: 11px;
1268 }
1269 }
1270
1271 @media (max-width: 360px) {
1272 .harness { padding-left: 12px; padding-right: 12px; }
1273 }
1274 </style>