Repository navigation
Expand file tree
/
Copy pathstyles.css
More file actions
479 lines (448 loc) · 35.1 KB
/
Copy pathstyles.css
File metadata and controls
479 lines (448 loc) · 35.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
/* ============================================================
Masonite — masonite.dev · "The Blueprint Workshop"
A light technical-paper aesthetic: engineering grid, drafting
annotations, bold single accent. All color via CSS variables so
the Palette tweak re-themes everything (sprites included).
============================================================ */
@import url("https://api.fontshare.com/v2/css?f[]=general-sans@400,500,600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;700&family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&display=swap");
/* ============================================================
PALETTES — brand violet family (the pyramid mark stays fixed
brand-violet in every palette; see --brand-* below).
============================================================ */
/* Fixed brand symbol colors — NEVER recoloured by the palette tweak */
:root {
--brand-vl: #9C82F2; /* lit face */
--brand-vd: #4A33A6; /* shadow face */
--brand-ridge: #C9BBFF;/* front ridge highlight */
}
/* 1 — Paper (default) */
:root, [data-palette="brand"] {
--paper: #FBFAF8; --surface: #FFFFFF; --surface-2: #F4F2EE;
--ink: #14181E; --muted: #5E626A; --grid: rgba(20,24,30,.07); --grid-strong: rgba(20,24,30,.14);
--accent: #6D4FE3; --accent-hover: #4A33A6; --accent-tint: #ECE7FC;
--code-bg: #14181E; --code-text: #E9E6F4;
--btn-bg: var(--accent); --btn-bg-hover: var(--accent-hover); --btn-fg: #fff;
--chip-bg: var(--accent-tint); --chip-fg: var(--accent-hover);
}
/* 2 — Lilac (light, airy) */
[data-palette="lilac"] {
--paper: #FBFAFF; --surface: #FFFFFF; --surface-2: #F3F0FC;
--ink: #181527; --muted: #625E72; --grid: rgba(74,51,166,.07); --grid-strong: rgba(74,51,166,.14);
--accent: #8366EC; --accent-hover: #6D4FE3; --accent-tint: #EFEAFE;
--code-bg: #1A1530; --code-text: #ECE7F8;
--btn-bg: var(--accent); --btn-bg-hover: var(--accent-hover); --btn-fg: #fff;
--chip-bg: var(--accent-tint); --chip-fg: var(--accent-hover);
}
/* 3 — Deep (light, serious) */
[data-palette="deep"] {
--paper: #F7F5FB; --surface: #FFFFFF; --surface-2: #EDE9F6;
--ink: #14101F; --muted: #5C586A; --grid: rgba(74,51,166,.08); --grid-strong: rgba(74,51,166,.16);
--accent: #4A33A6; --accent-hover: #2E1F73; --accent-tint: #E6E0F6;
--code-bg: #161126; --code-text: #E7E2F4;
--btn-bg: var(--accent); --btn-bg-hover: var(--accent-hover); --btn-fg: #fff;
--chip-bg: var(--accent-tint); --chip-fg: var(--accent-hover);
}
/* 4 — Ink (dark mode — brand sanctioned ink ground) */
[data-palette="ink"] {
--paper: #14181E; --surface: #1C2128; --surface-2: #232A33;
--ink: #FBFAF8; --muted: #9AA0A8; --grid: rgba(251,250,248,.06); --grid-strong: rgba(251,250,248,.13);
--accent: #9C82F2; --accent-hover: #C9BBFF; --accent-tint: rgba(156,130,242,.18);
--code-bg: #0E1116; --code-text: #E9E6F4;
--btn-bg: var(--accent); --btn-bg-hover: var(--accent-hover); --btn-fg: #14181E;
--chip-bg: rgba(156,130,242,.18); --chip-fg: #C9BBFF;
}
/* ---- Type roles ---- */
:root {
--font-display: "Sora", system-ui, sans-serif;
--font-body: "Sora", system-ui, sans-serif;
--font-mono: "JetBrains Mono", ui-monospace, monospace;
--font-pixel: "JetBrains Mono", ui-monospace, monospace;
}
[data-font="sora"] { --font-display: "Sora", system-ui, sans-serif; }
[data-font="fraunces"] { --font-display: "Fraunces", Georgia, serif; }
[data-font="general"] { --font-display: "General Sans", "Sora", sans-serif; }
/* ============================================================
BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
margin: 0;
font-family: var(--font-body);
color: var(--ink);
background: var(--paper);
line-height: 1.6;
font-size: 17px;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
position: relative;
overflow-x: hidden;
}
/* engineering grid + grain + vignette layers (fixed, behind everything) */
.paper-bg { position: fixed; inset: 0; z-index: -3; pointer-events: none; background: var(--paper); }
.paper-bg::before {
content: ""; position: absolute; inset: 0;
background-image:
linear-gradient(var(--grid) 1px, transparent 1px),
linear-gradient(90deg, var(--grid) 1px, transparent 1px),
linear-gradient(var(--grid-strong) 1px, transparent 1px),
linear-gradient(90deg, var(--grid-strong) 1px, transparent 1px);
background-size: 24px 24px, 24px 24px, 120px 120px, 120px 120px;
background-position: -1px -1px;
opacity: .6;
-webkit-mask-image: radial-gradient(120% 120% at 50% 30%, #000 55%, transparent 100%);
mask-image: radial-gradient(120% 120% at 50% 30%, #000 55%, transparent 100%);
}
.paper-bg::after { /* grain */
content: ""; position: absolute; inset: 0; opacity: .35; mix-blend-mode: multiply;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}
.vignette { position: fixed; inset: 0; z-index: -2; pointer-events: none;
background: radial-gradient(130% 100% at 50% 0%, transparent 60%, color-mix(in srgb, var(--ink) 6%, transparent) 100%); }
/* corner registration marks */
.reg { position: fixed; z-index: 1; width: 22px; height: 22px; pointer-events: none; opacity: .5; color: var(--muted); }
.reg::before, .reg::after { content: ""; position: absolute; background: currentColor; }
.reg::before { left: 50%; top: 0; width: 1px; height: 100%; transform: translateX(-50%); }
.reg::after { top: 50%; left: 0; height: 1px; width: 100%; transform: translateY(-50%); }
.reg.tl { top: 78px; left: 14px; } .reg.tr { top: 78px; right: 14px; }
.reg.bl { bottom: 14px; left: 14px; } .reg.br { bottom: 14px; right: 14px; }
@media (max-width: 900px) { .reg { display: none; } }
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.04; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img, svg, canvas { display: block; max-width: 100%; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
/* ============================================================
DRAFTING LANGUAGE
============================================================ */
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 28px; }
.section { padding-block: clamp(4.5rem, 9vw, 8rem); position: relative; }
/* full-width module bands — clear separation between modules (content stays centred in .wrap) */
.section--surface { background: var(--surface); border-block: 1px solid var(--grid-strong); }
.section--surface + .section--surface { border-top: 0; }
/* on a white module, let bordered grids read as inset panels */
.section--surface .pillars { background: transparent; }
.section--surface .build__stage { background: var(--surface-2); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .fig { justify-content: center; }
.section-head.center .fig::before { display: none; }
.pixel { font-family: var(--font-pixel); text-transform: uppercase; letter-spacing: .1em; line-height: 1.4; }
.fig {
font-family: var(--font-pixel); font-size: 11px; text-transform: uppercase; letter-spacing: .14em;
color: var(--muted); display: inline-flex; align-items: center; gap: 10px;
}
.fig::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .7; }
.fig b { color: var(--accent); font-weight: 400; white-space: nowrap; }
.section-head { max-width: 760px; margin-bottom: clamp(2.2rem, 4vw, 3.5rem); }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); margin-top: 16px; }
.section-head .lead { margin-top: 18px; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 60ch; }
/* dimension line with end ticks */
.dim { display: flex; align-items: center; gap: 0; color: var(--muted); font-family: var(--font-pixel); font-size: 10px; letter-spacing: .05em; }
.dim .tick { width: 1px; height: 9px; background: currentColor; }
.dim .rule { height: 1px; background: currentColor; flex: 1; min-width: 30px; }
.dim .val { padding: 0 8px; }
/* ============================================================
BUTTONS
============================================================ */
.btn {
display: inline-flex; align-items: center; justify-content: center; gap: 9px;
font-family: var(--font-body); font-size: 15.5px; font-weight: 600;
padding: 13px 22px; border-radius: 3px; border: 1px solid transparent; cursor: pointer;
transition: background-color .16s, color .16s, transform .12s, box-shadow .16s, border-color .16s;
white-space: nowrap; position: relative;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--btn-bg); color: var(--btn-fg); box-shadow: 0 1px 0 color-mix(in srgb, var(--ink) 25%, transparent); }
.btn--primary:hover { background: var(--btn-bg-hover); box-shadow: 0 8px 22px -8px color-mix(in srgb, var(--btn-bg) 70%, transparent); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--grid-strong); }
.btn--ghost:hover { border-color: var(--ink); background: var(--surface); }
.btn--sm { padding: 9px 15px; font-size: 14px; }
.btn .ico { width: 17px; height: 17px; }
/* ============================================================
ANNOUNCE
============================================================ */
.announce { background: var(--ink); color: var(--paper); position: relative; z-index: 60; }
.announce__inner { padding: 8px 44px; display: flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--font-pixel); font-size: 10.5px; letter-spacing: .02em; text-transform: uppercase; flex-wrap: wrap; }
.announce .rev { color: var(--accent); }
.announce__inner > span { white-space: nowrap; }
.announce a { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; border-bottom: 1px solid color-mix(in srgb, var(--paper) 40%, transparent); padding-bottom: 1px; }
.announce a:hover { color: #fff; border-color: var(--accent); }
.announce__arrow { transition: transform .16s; }
.announce a:hover .announce__arrow { transform: translateX(3px); }
.announce__close { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: transparent; border: 0; color: color-mix(in srgb, var(--paper) 55%, transparent); width: 26px; height: 26px; border-radius: 4px; cursor: pointer; font-size: 14px; }
.announce__close:hover { background: color-mix(in srgb, var(--paper) 14%, transparent); color: #fff; }
.announce.is-hidden { display: none; }
/* ============================================================
NAV
============================================================ */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 80%, transparent); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); border-bottom: 1px solid transparent; transition: border-color .2s, background-color .2s; }
.nav.is-stuck { border-bottom-color: var(--grid-strong); }
.nav__inner { display: flex; align-items: center; gap: 26px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand__pyr { width: 30px; height: 30px; flex: none; display: block; }
.brand__vr { width: 1px; height: 26px; background: var(--grid-strong); flex: none; }
.brand__wm { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: -0.012em; }
.brand__tag { font-family: var(--font-mono); font-weight: 500; font-size: 8px; letter-spacing: .42em; color: var(--muted); margin-top: 5px; }
.nav__links { display: flex; align-items: center; gap: 2px; margin-left: 6px; }
.nav__links a { font-size: 14.5px; font-weight: 500; color: var(--muted); padding: 8px 12px; border-radius: 3px; transition: color .15s, background .15s; }
.nav__links a:hover { color: var(--ink); background: var(--surface-2); }
.nav__links a.active { color: var(--ink); }
.nav__spacer { flex: 1; }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__toggle { display: none; background: var(--surface); border: 1px solid var(--grid-strong); border-radius: 4px; width: 42px; height: 42px; cursor: pointer; color: var(--ink); }
.nav__toggle svg { margin: auto; }
.nav__mobile { display: none; }
@media (max-width: 880px) {
.nav__links, .nav__actions .btn--primary, .nav__gh-text { display: none; }
.nav__toggle { display: inline-flex; }
.nav__mobile { display: block; overflow: hidden; max-height: 0; transition: max-height .28s ease; background: var(--surface); border-bottom: 1px solid transparent; }
.nav__mobile.is-open { max-height: 380px; border-bottom-color: var(--grid-strong); }
.nav__mobile-inner { padding: 12px 28px 22px; display: flex; flex-direction: column; gap: 2px; }
.nav__mobile a { padding: 13px 8px; font-weight: 500; border-bottom: 1px solid var(--grid); }
.nav__mobile a:last-of-type { border-bottom: 0; }
.nav__mobile .btn { margin-top: 12px; }
}
/* ============================================================
HERO
============================================================ */
.hero { padding-top: clamp(3rem, 6vw, 5.5rem); padding-bottom: clamp(4.5rem, 9vw, 8rem); position: relative; }
.hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero__eyebrow { color: var(--muted); font-size: 11px; }
.hero h1 { font-size: clamp(3rem, 7vw, 6rem); font-weight: 600; letter-spacing: -0.035em; margin-top: 22px; }
.hero h1 .ac { color: var(--accent); position: relative; }
.hero h1 .ac::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: 3px; background: var(--accent); opacity: .28; }
.hero__sub { margin-top: 26px; font-size: clamp(1.1rem, 1.5vw, 1.34rem); color: var(--muted); max-width: 42ch; }
.hero__sub code { font-family: var(--font-mono); font-size: .92em; color: var(--ink); background: var(--surface); border: 1px solid var(--grid-strong); padding: 1px 6px; border-radius: 3px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.hero__caption { margin-top: 22px; color: var(--muted); font-size: 10px; }
.hero__stage { position: relative; }
/* big hero illustration — the mason building the Great Pyramid */
.hero__art { position: relative; width: 100%; max-width: 580px; margin-inline: auto; aspect-ratio: 128 / 100; }
.hero__art canvas { width: 100%; height: 100%; display: block; }
.hero__art::after { content: ""; position: absolute; left: 9%; right: 9%; bottom: 4%; height: 5px; background: var(--grid-strong); border-radius: 2px; opacity: .7; }
@media (max-width: 900px) {
.hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
.hero__sub { max-width: 56ch; }
.hero__art { max-width: 460px; }
}
/* ============================================================
CODE PANEL (tabbed)
============================================================ */
.codepanel { background: var(--code-bg); border-radius: 8px; overflow: hidden; box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--ink) 60%, transparent), 0 0 0 1px color-mix(in srgb, var(--ink) 10%, transparent); position: relative; }
.codepanel__chrome { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-bottom: 1px solid rgba(255,255,255,.08); }
.codepanel__dots { display: flex; gap: 6px; }
.codepanel__dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.16); }
.codepanel__fig { margin-left: auto; font-family: var(--font-pixel); font-size: 9px; letter-spacing: .08em; color: rgba(255,255,255,.4); text-transform: uppercase; }
.codetabs { display: flex; gap: 2px; padding: 6px 8px 0; background: rgba(255,255,255,.03); overflow-x: auto; scrollbar-width: none; }
.codetabs::-webkit-scrollbar { display: none; }
.codetab { appearance: none; background: transparent; border: 0; border-bottom: 2px solid transparent; color: rgba(255,255,255,.5); font-family: var(--font-mono); font-size: 12.5px; padding: 8px 13px; cursor: pointer; white-space: nowrap; transition: color .15s, border-color .15s, background .15s; border-radius: 4px 4px 0 0; }
.codetab:hover { color: rgba(255,255,255,.8); }
.codetab.active { color: #fff; border-bottom-color: var(--accent); background: rgba(255,255,255,.05); }
.codebody { position: relative; }
.codepane { display: none; }
.codepane.active { display: block; }
.codepane.just-switched { animation: paneIn .22s ease; }
@media (prefers-reduced-motion: reduce) { .codepane.just-switched { animation: none; } }
@keyframes paneIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.codepane pre { margin: 0; padding: 18px 20px; overflow-x: auto; font-family: var(--font-mono); font-size: 13.5px; line-height: 1.85; color: var(--code-text); }
.copy-btn { position: absolute; top: 10px; right: 10px; display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.12); border-radius: 5px; padding: 5px 9px; font-size: 12px; font-family: var(--font-body); font-weight: 500; cursor: pointer; opacity: 0; transition: opacity .15s, background .15s, color .15s; z-index: 3; }
.codebody:hover .copy-btn, .copy-btn:focus-visible { opacity: 1; }
.copy-btn:hover { background: rgba(255,255,255,.16); color: #fff; }
.copy-btn.is-copied { background: var(--accent); color: #fff; border-color: transparent; opacity: 1; }
.copy-btn svg { width: 13px; height: 13px; }
/* syntax tokens */
.tok-prompt { color: var(--accent); -webkit-user-select: none; user-select: none; }
.tok-cmd { color: #7fd8a6; }
.tok-comment { color: rgba(255,255,255,.36); font-style: italic; }
.tok-flag { color: rgba(255,255,255,.55); }
.tok-kw { color: #c79bf0; }
.tok-fn { color: #82aaff; }
.tok-str { color: #b6e08a; }
.tok-num { color: #f1925f; }
.tok-punc { color: rgba(255,255,255,.5); }
/* ============================================================
PILLARS
============================================================ */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--grid-strong); border-radius: 6px; overflow: hidden; background: var(--surface); }
.pillar { padding: 28px 24px; border-right: 1px solid var(--grid-strong); position: relative; transition: background .2s; }
.pillar:last-child { border-right: 0; }
.pillar:hover { background: var(--surface-2); }
.pillar__n { font-family: var(--font-pixel); font-size: 10px; color: var(--accent); letter-spacing: .05em; }
.pillar h3 { font-size: 1.18rem; margin-top: 16px; }
.pillar p { margin-top: 10px; color: var(--muted); font-size: 0.95rem; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr 1fr; } .pillar:nth-child(2) { border-right: 0; } .pillar:nth-child(1), .pillar:nth-child(2) { border-bottom: 1px solid var(--grid-strong); } }
@media (max-width: 520px) { .pillars { grid-template-columns: 1fr; } .pillar { border-right: 0; border-bottom: 1px solid var(--grid-strong); } .pillar:last-child { border-bottom: 0; } }
/* ============================================================
DX SHOWCASE
============================================================ */
.dx { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.dx__points { display: flex; flex-direction: column; gap: 22px; margin-top: 30px; }
.dx__point { display: flex; gap: 15px; }
.dx__k { flex: none; width: 38px; height: 38px; border: 1px solid var(--grid-strong); border-radius: 4px; background: var(--surface); color: var(--accent); display: grid; place-items: center; font-family: var(--font-mono); font-weight: 700; }
.dx__point h4 { font-family: var(--font-display); font-size: 1.08rem; }
.dx__point p { margin-top: 4px; color: var(--muted); font-size: 0.95rem; }
@media (max-width: 860px) { .dx { grid-template-columns: 1fr; } }
/* ============================================================
SCROLL BUILD
============================================================ */
.build { position: relative; }
.build__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.build__stage { position: relative; background: var(--surface); border: 1px solid var(--grid-strong); border-radius: 8px; padding: 22px; aspect-ratio: 86 / 56; box-shadow: 0 24px 50px -32px color-mix(in srgb, var(--ink) 50%, transparent); }
.build__stage canvas { width: 100%; height: 100%; }
.build__corner { position: absolute; font-family: var(--font-pixel); font-size: 9px; color: var(--muted); letter-spacing: .06em; }
.build__corner.tl { top: 10px; left: 12px; } .build__corner.br { bottom: 10px; right: 12px; }
.buildsteps { display: flex; flex-direction: column; gap: 4px; counter-reset: bs; margin-top: 26px; }
.buildstep { display: flex; gap: 14px; align-items: center; padding: 13px 6px; border-bottom: 1px solid var(--grid); transition: opacity .3s, transform .3s; }
.buildstep:last-child { border-bottom: 0; }
.buildstep.dim-step { opacity: .4; }
.buildstep__n { flex: none; width: 28px; height: 28px; border-radius: 3px; background: var(--ink); color: var(--surface); display: grid; place-items: center; font-family: var(--font-mono); font-size: 13px; font-weight: 700; }
.buildstep.done .buildstep__n { background: var(--accent); }
.buildstep code { font-family: var(--font-mono); font-size: 0.9rem; }
.buildstep .label { display: block; font-family: var(--font-pixel); font-size: 9px; color: var(--muted); margin-top: 2px; }
@media (max-width: 860px) { .build__grid { grid-template-columns: 1fr; } }
/* ============================================================
FEATURE GRID (bento, broken rhythm)
============================================================ */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--grid-strong); border-radius: 6px; overflow: hidden; background: var(--surface); }
.feature { display: flex; flex-direction: column; gap: 12px; padding: 22px 20px; border-right: 1px solid var(--grid-strong); border-bottom: 1px solid var(--grid-strong); position: relative; transition: background .18s; min-height: 150px; }
.feature:hover { background: var(--surface-2); z-index: 2; }
.feature__top { display: flex; align-items: flex-start; justify-content: space-between; }
.feature__ico { width: 40px; height: 40px; image-rendering: pixelated; }
.feature__idx { font-family: var(--font-pixel); font-size: 9px; color: var(--muted); letter-spacing: .05em; }
.feature h3 { font-size: 1rem; font-family: var(--font-display); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.feature p { color: var(--muted); font-size: 0.86rem; line-height: 1.5; margin-top: auto; }
.feature .arrow { position: absolute; right: 18px; bottom: 18px; color: var(--accent); opacity: 0; transform: translate(-3px,0); transition: opacity .16s, transform .16s; font-family: var(--font-mono); }
a.feature:hover .arrow { opacity: 1; transform: none; }
.feature--wide { grid-column: span 2; }
.tag-new { font-family: var(--font-pixel); font-size: 8px; color: var(--chip-fg); background: var(--chip-bg); padding: 3px 6px; border-radius: 3px; letter-spacing: .04em; }
/* tidy edges */
.features > .feature:nth-child(4n) { border-right: 0; }
@media (max-width: 980px) { .features { grid-template-columns: repeat(2, 1fr); } .feature--wide { grid-column: span 2; } .features > .feature:nth-child(4n) { border-right: 1px solid var(--grid-strong); } .features > .feature:nth-child(2n) { border-right: 0; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } .feature, .feature--wide { grid-column: span 1; border-right: 0; } }
/* ============================================================
M5 BAND
============================================================ */
.band { background: var(--accent-tint); border-block: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); position: relative; }
.band__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.band h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.band .lead { margin-top: 16px; color: var(--muted); font-size: 1.08rem; max-width: 40ch; }
.band__chips { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.m5chip { background: var(--surface); border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--grid-strong)); border-radius: 5px; padding: 16px 17px; }
.m5chip__k { font-family: var(--font-pixel); font-size: 9px; color: var(--accent); }
.m5chip b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; margin-top: 8px; }
.m5chip span { display: block; color: var(--muted); font-size: 0.84rem; margin-top: 4px; }
.m5chip code { font-family: var(--font-mono); font-size: .92em; }
@media (max-width: 860px) { .band__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .band__chips { grid-template-columns: 1fr; } }
/* ============================================================
TESTIMONIALS
============================================================ */
.proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quote { background: var(--surface); border: 1px solid var(--grid-strong); border-radius: 6px; padding: 24px 22px; display: flex; flex-direction: column; gap: 18px; position: relative; }
.quote__mark { font-family: var(--font-display); font-size: 2.4rem; line-height: .5; color: var(--accent); height: 16px; }
.quote p { font-size: 1rem; color: var(--ink); }
.quote__by { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote__av { width: 42px; height: 42px; border-radius: 5px; border: 1px solid var(--grid-strong); background: var(--surface-2); image-rendering: pixelated; }
.quote__by b { font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; display: block; }
.quote__by span { font-family: var(--font-pixel); font-size: 9px; color: var(--muted); }
@media (max-width: 860px) { .proof { grid-template-columns: 1fr; } }
/* ============================================================
CLOSING CTA
============================================================ */
.cta__card { background: var(--ink); color: var(--paper); border-radius: 10px; padding: clamp(3rem, 7vw, 5.5rem) 28px; text-align: center; position: relative; overflow: hidden; }
.cta__card::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(color-mix(in srgb,var(--paper) 7%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb,var(--paper) 7%, transparent) 1px, transparent 1px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(80% 80% at 50% 50%, #000, transparent); mask-image: radial-gradient(80% 80% at 50% 50%, #000, transparent); }
.cta__card > * { position: relative; }
.cta__fig { font-family: var(--font-pixel); font-size: 10px; color: color-mix(in srgb, var(--paper) 55%, transparent); letter-spacing: .08em; }
.cta__pyr { width: 62px; height: 62px; margin: 0 auto 22px; display: block; }
.cta__card h2 { font-size: clamp(2.2rem, 5.5vw, 4rem); color: var(--paper); margin-top: 14px; }
.cta__card p { margin: 16px auto 0; color: color-mix(in srgb, var(--paper) 72%, transparent); max-width: 46ch; font-size: 1.08rem; }
.cta__btns { display: flex; gap: 13px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.cta__card .btn--ghost { color: var(--paper); border-color: color-mix(in srgb, var(--paper) 30%, transparent); }
.cta__card .btn--ghost:hover { background: color-mix(in srgb, var(--paper) 10%, transparent); border-color: color-mix(in srgb, var(--paper) 55%, transparent); }
.cta__card .btn--primary { background: var(--accent); color: #fff; }
.cta__card .btn--primary:hover { background: var(--accent-hover); }
/* ============================================================
FOOTER
============================================================ */
.footer { background: var(--surface); border-top: 1px solid var(--grid-strong); position: relative; z-index: 1; }
.footer__legend { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--grid); font-family: var(--font-pixel); font-size: 9px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.footer__top { display: grid; grid-template-columns: 1.5fr repeat(5, 1fr); gap: 30px; padding-block: clamp(2.8rem, 5vw, 4rem); }
.footer__brand { max-width: 270px; }
.footer__brand .brand__name { font-size: 22px; }
.footer__brand p { margin-top: 14px; color: var(--muted); font-size: 0.9rem; }
.footer__social { display: flex; gap: 9px; margin-top: 20px; }
.footer__social a { width: 38px; height: 38px; border-radius: 4px; border: 1px solid var(--grid-strong); display: grid; place-items: center; color: var(--muted); transition: color .15s, border-color .15s, background .15s; }
.footer__social a:hover { color: var(--ink); border-color: var(--ink); background: var(--surface-2); }
.fcol__head { display: flex; align-items: center; justify-content: space-between; width: 100%; background: transparent; border: 0; padding: 0; font-family: var(--font-pixel); font-weight: 400; font-size: 10px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink); cursor: default; text-align: left; }
.fcol__chev { display: none; color: var(--muted); transition: transform .25s; }
.fcol__links { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.fcol__links a { color: var(--muted); font-size: 0.88rem; transition: color .15s; }
.fcol__links a:hover { color: var(--accent); }
.footer__bottom { border-top: 1px solid var(--grid); padding-block: 22px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.footer__bottom .copy { color: var(--muted); font-size: 0.84rem; }
.footer__bottom .copy b { font-family: var(--font-display); color: var(--ink); font-weight: 600; }
.footer__bottom .memorial-line { color: var(--muted); font-size: 0.82rem; font-style: italic; opacity: .85; }
@media (max-width: 980px) { .footer__top { grid-template-columns: 1fr 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 640px) {
.footer__top { grid-template-columns: 1fr; gap: 0; }
.footer__brand { margin-bottom: 24px; }
.fcol { border-top: 1px solid var(--grid); }
.fcol__head { padding: 17px 2px; cursor: pointer; }
.fcol__chev { display: block; }
.fcol.is-open .fcol__chev { transform: rotate(180deg); }
.fcol__links { max-height: 0; overflow: hidden; margin: 0; transition: max-height .3s, margin .3s; }
.fcol.is-open .fcol__links { max-height: 600px; margin-bottom: 16px; }
}
/* ============================================================
SCROLL REVEAL
============================================================ */
@media (prefers-reduced-motion: no-preference) {
[data-rise] { opacity: 0; transform: translateY(20px); }
[data-rise].is-in { opacity: 1; transform: none; transition: opacity .55s cubic-bezier(.22,.61,.36,1), transform .55s cubic-bezier(.22,.61,.36,1); }
.hero [data-rise] { transition-delay: var(--d, 0ms); }
[data-rise].settled { opacity: 1; transform: none; transition: none; }
}
/* ============================================================
CHANGELOG
============================================================ */
.cl-wrap { max-width: 780px; }
.cl-head { padding-top: clamp(2.5rem, 5vw, 4rem); }
.cl-head h1 { font-size: clamp(2.6rem, 5.5vw, 4rem); font-weight: 600; letter-spacing: -0.03em; margin-top: 14px; }
.cl-head .lead { margin-top: 14px; color: var(--muted); font-size: 1.2rem; }
.memorial { background: var(--surface); border: 1px solid var(--grid-strong); border-radius: 6px; padding: clamp(1.75rem, 3vw, 2.5rem); margin-top: 38px; border-left: 3px solid var(--grid-strong); }
.memorial__eyebrow { font-family: var(--font-pixel); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.memorial h3 { font-size: 1.35rem; margin-top: 14px; font-family: var(--font-display); }
.memorial p { margin-top: 14px; color: var(--muted); line-height: 1.75; }
.cl-entry { padding-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--grid-strong); margin-top: clamp(2.5rem, 5vw, 4rem); }
.cl-entry > .fig { margin-bottom: 16px; }
.cl-entry h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ver-badge { font-family: var(--font-mono); font-size: 0.8rem; font-weight: 700; color: var(--btn-fg); background: var(--btn-bg); padding: 4px 11px; border-radius: 999px; white-space: nowrap; }
.ver-badge--soft { color: var(--chip-fg); background: var(--chip-bg); }
.cl-entry .prose { margin-top: 18px; color: var(--muted); line-height: 1.75; }
.cl-entry .prose p { margin-top: 16px; }
.cl-entry .prose strong { color: var(--ink); font-weight: 600; }
.cl-entry .prose a { color: var(--accent-hover); font-weight: 500; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent); text-underline-offset: 2px; }
.cl-entry .prose a:hover { text-decoration-color: var(--accent); }
.prose code, .ustep-body code, .buildstep code, .rel-list code { font-family: var(--font-mono); font-size: 0.88em; background: var(--surface-2); border: 1px solid var(--grid); padding: 1px 6px; border-radius: 3px; color: var(--ink); }
.rel-list { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.rel-list li { display: flex; gap: 14px; }
.rel-list .marker { flex: none; width: 7px; height: 7px; background: var(--accent); margin-top: 9px; }
.rel-list b { font-family: var(--font-display); font-weight: 600; color: var(--ink); }
.rel-list span { display: block; color: var(--muted); margin-top: 3px; line-height: 1.65; }
.cl-code { margin-top: 14px; }
.upgrade-steps { list-style: none; margin: 22px 0 0; padding: 0; counter-reset: up; display: flex; flex-direction: column; gap: 20px; }
.upgrade-steps li { position: relative; padding-left: 46px; counter-increment: up; }
.upgrade-steps li::before { content: counter(up); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 3px; background: var(--accent-tint); color: var(--accent-hover); display: grid; place-items: center; font-family: var(--font-mono); font-weight: 700; font-size: 14px; }
.ustep-body { color: var(--muted); line-height: 1.7; }
.ustep-body strong { color: var(--ink); }
.callout { margin-top: 22px; background: var(--accent-tint); border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent); border-radius: 6px; padding: 16px 18px; display: flex; gap: 13px; align-items: flex-start; }
.callout svg { flex: none; width: 19px; height: 19px; color: var(--accent-hover); margin-top: 2px; }
.callout p { color: var(--ink); font-size: 0.93rem; }
.callout a { color: var(--accent-hover); font-weight: 600; }
.read-more { display: inline-flex; align-items: center; gap: 7px; margin-top: 20px; color: var(--accent-hover); font-weight: 600; }
.read-more svg { width: 15px; height: 15px; transition: transform .18s; }
.read-more:hover svg { transform: translateX(3px); }