plainscript-lang 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +173 -738
- package/compiler/bundler.js +83 -12
- package/compiler/cli.js +74 -27
- package/compiler/dependency-detector.js +11 -0
- package/compiler/generator.js +372 -35
- package/compiler/lexer.js +2 -0
- package/compiler/parser.js +410 -28
- package/compiler/sourcemap.js +142 -0
- package/compiler/version.js +1 -1
- package/docs/CAPABILITY_GAP_AUDIT.md +98 -534
- package/docs/PLAINSCRIPT-SPEC.md +304 -551
- package/docs/index.html +127 -598
- package/docs/website/script.js +185 -1006
- package/docs/website/style.css +220 -656
- package/examples/ai-providers.pln +7 -0
- package/examples/arrays.pln +4 -12
- package/examples/async-errors.pln +18 -0
- package/examples/auth-api.pln +3 -50
- package/examples/auth-sessions.pln +32 -0
- package/examples/basics.pln +14 -0
- package/examples/bots.pln +13 -0
- package/examples/cache-and-jobs.pln +6 -28
- package/examples/cache-schedule.pln +22 -0
- package/examples/collections.pln +15 -0
- package/examples/concurrency.pln +12 -43
- package/examples/conditions.pln +22 -0
- package/examples/database.pln +6 -39
- package/examples/day2.pln +6 -6
- package/examples/day3.pln +4 -10
- package/examples/deployment.pln +3 -9
- package/examples/email-send.pln +3 -22
- package/examples/error-handling.pln +6 -54
- package/examples/expressions.pln +7 -40
- package/examples/file-uploads.pln +5 -34
- package/examples/files-and-config.pln +5 -46
- package/examples/files.pln +12 -0
- package/examples/football-backend/app.pln +21 -20
- package/examples/functions.pln +17 -0
- package/examples/hello.pln +2 -3
- package/examples/http-client.pln +3 -44
- package/examples/http.pln +11 -0
- package/examples/id-verification/app.pln +4 -3
- package/examples/id-verification/make-sample-id.js +29 -42
- package/examples/json.pln +11 -0
- package/examples/loops.pln +13 -11
- package/examples/modules/app.pln +3 -16
- package/examples/modules/main.pln +4 -0
- package/examples/modules/math.pln +5 -16
- package/examples/mongo.pln +33 -0
- package/examples/objects.pln +3 -11
- package/examples/ocr.pln +22 -0
- package/examples/packages.pln +6 -0
- package/examples/record-kinds.pln +6 -42
- package/examples/records.pln +15 -0
- package/examples/rest-api-fetch.pln +6 -90
- package/examples/rest-api.pln +5 -65
- package/examples/scheduled-tasks.pln +4 -23
- package/examples/search-and-filter.pln +4 -34
- package/examples/server.pln +5 -24
- package/examples/sessions-and-cookies.pln +4 -50
- package/examples/sqlite.pln +23 -0
- package/examples/start.pln +2 -2
- package/examples/stdlib.pln +4 -41
- package/examples/string-verbs.pln +16 -0
- package/examples/telegram-ai-bot.pln +19 -0
- package/examples/telegram-bot.pln +4 -40
- package/examples/testing.pln +13 -0
- package/examples/web-api.pln +27 -0
- package/examples/web-app.pln +4 -16
- package/examples/websocket-server.pln +5 -26
- package/examples/websocket.pln +13 -0
- package/examples/whatsapp-bot/pairing.pln +4 -5
- package/examples/whatsapp-bot/qr.pln +7 -3
- package/package.json +3 -2
package/docs/website/style.css
CHANGED
|
@@ -1,656 +1,220 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
:
|
|
6
|
-
--
|
|
7
|
-
--
|
|
8
|
-
--
|
|
9
|
-
--
|
|
10
|
-
--
|
|
11
|
-
--
|
|
12
|
-
--
|
|
13
|
-
--
|
|
14
|
-
--
|
|
15
|
-
|
|
16
|
-
--text
|
|
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
|
-
border-radius:
|
|
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
|
-
padding:
|
|
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
|
-
.op{color:var(--pink)}
|
|
222
|
-
|
|
223
|
-
/* ═══════════════════════════════
|
|
224
|
-
NAVIGATION
|
|
225
|
-
═══════════════════════════════ */
|
|
226
|
-
.site-nav{
|
|
227
|
-
position:fixed;top:0;left:0;width:100%;z-index:1000;
|
|
228
|
-
height:var(--nav-h);
|
|
229
|
-
background:rgba(10,10,10,.72);
|
|
230
|
-
-webkit-backdrop-filter:blur(20px) saturate(1.4);
|
|
231
|
-
backdrop-filter:blur(20px) saturate(1.4);
|
|
232
|
-
border-bottom:1px solid rgba(30,32,40,.6);
|
|
233
|
-
}
|
|
234
|
-
.nav-inner{
|
|
235
|
-
display:flex;align-items:center;justify-content:space-between;
|
|
236
|
-
max-width:var(--max-w);margin:0 auto;padding:0 24px;height:100%;
|
|
237
|
-
}
|
|
238
|
-
.nav-logo{display:flex;align-items:center;gap:10px}
|
|
239
|
-
.nav-logo img{height:28px;width:auto}
|
|
240
|
-
.logo-word{font-weight:700;font-size:1.05rem;color:var(--text);letter-spacing:-.02em}
|
|
241
|
-
.logo-ver{font-size:.7rem;color:var(--text-dim);font-weight:500;margin-left:-4px}
|
|
242
|
-
.nav-links{display:flex;align-items:center;gap:4px}
|
|
243
|
-
.nav-links a{
|
|
244
|
-
padding:8px 14px;border-radius:6px;font-size:.875rem;font-weight:500;
|
|
245
|
-
color:var(--text-muted);transition:color .2s,background .2s;
|
|
246
|
-
}
|
|
247
|
-
.nav-links a:hover,.nav-links a.active{color:var(--text);background:rgba(255,255,255,.06)}
|
|
248
|
-
.nav-actions{display:flex;align-items:center;gap:8px}
|
|
249
|
-
.nav-hamburger{
|
|
250
|
-
display:none;width:40px;height:40px;border-radius:8px;
|
|
251
|
-
align-items:center;justify-content:center;
|
|
252
|
-
transition:background .2s;
|
|
253
|
-
}
|
|
254
|
-
.nav-hamburger:hover{background:rgba(255,255,255,.06)}
|
|
255
|
-
.nav-hamburger svg{width:22px;height:22px;color:var(--text-muted)}
|
|
256
|
-
|
|
257
|
-
/* ── Mobile Menu ── */
|
|
258
|
-
.mobile-menu{
|
|
259
|
-
display:none;position:fixed;top:var(--nav-h);left:0;width:100%;
|
|
260
|
-
background:rgba(10,10,10,.96);
|
|
261
|
-
-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);
|
|
262
|
-
border-bottom:1px solid var(--border);
|
|
263
|
-
padding:16px 24px 24px;z-index:999;
|
|
264
|
-
}
|
|
265
|
-
.mobile-menu.open{display:block}
|
|
266
|
-
.mobile-menu-links a{
|
|
267
|
-
display:block;padding:14px 0;font-size:1rem;font-weight:500;
|
|
268
|
-
color:var(--text-muted);border-bottom:1px solid var(--border);
|
|
269
|
-
transition:color .2s;
|
|
270
|
-
}
|
|
271
|
-
.mobile-menu-links a:last-child{border-bottom:none}
|
|
272
|
-
.mobile-menu-links a:hover{color:var(--green)}
|
|
273
|
-
.mobile-menu-actions{
|
|
274
|
-
display:flex;gap:10px;margin-top:16px;
|
|
275
|
-
}
|
|
276
|
-
.mobile-menu-actions .btn{
|
|
277
|
-
flex:1;justify-content:center;padding:12px 16px;
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
/* Legacy mobile menu link styling */
|
|
281
|
-
.mobile-menu a{
|
|
282
|
-
display:block;padding:12px 0;font-size:1rem;font-weight:500;
|
|
283
|
-
color:var(--text-muted);border-bottom:1px solid var(--border);
|
|
284
|
-
}
|
|
285
|
-
.mobile-menu a:last-of-type{border-bottom:none}
|
|
286
|
-
.mobile-menu a:hover{color:var(--green)}
|
|
287
|
-
.mobile-actions{display:flex;gap:8px;margin-top:16px}
|
|
288
|
-
|
|
289
|
-
/* ═══════════════════════════════
|
|
290
|
-
HERO
|
|
291
|
-
═══════════════════════════════ */
|
|
292
|
-
.hero{
|
|
293
|
-
position:relative;width:100%;overflow:hidden;
|
|
294
|
-
padding:calc(var(--nav-h) + 80px) 0 100px;
|
|
295
|
-
background:radial-gradient(ellipse 80% 60% at 50% 0%,rgba(16,185,129,.06),transparent 70%),
|
|
296
|
-
linear-gradient(180deg,var(--bg) 0%,rgba(10,10,10,1) 100%);
|
|
297
|
-
}
|
|
298
|
-
#bg-canvas{
|
|
299
|
-
position:absolute;top:0;left:0;width:100%;height:100%;z-index:0;
|
|
300
|
-
pointer-events:none;
|
|
301
|
-
}
|
|
302
|
-
.hero-content{
|
|
303
|
-
position:relative;z-index:1;
|
|
304
|
-
max-width:var(--max-w);margin:0 auto;padding:0 24px;
|
|
305
|
-
display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center;
|
|
306
|
-
}
|
|
307
|
-
.hero-badge{
|
|
308
|
-
display:inline-flex;align-items:center;gap:8px;
|
|
309
|
-
padding:5px 16px;border-radius:9999px;font-size:.8rem;font-weight:600;
|
|
310
|
-
background:var(--green-dim);color:var(--green);
|
|
311
|
-
margin-bottom:20px;border:1px solid rgba(16,185,129,.2);
|
|
312
|
-
}
|
|
313
|
-
.hero-badge::before{content:'';width:6px;height:6px;border-radius:50%;background:var(--green);animation:pulse-dot 2s infinite}
|
|
314
|
-
@keyframes pulse-dot{0%,100%{opacity:1}50%{opacity:.4}}
|
|
315
|
-
.hero-title{
|
|
316
|
-
font-size:clamp(2.4rem,5vw,3.6rem);font-weight:800;line-height:1.08;
|
|
317
|
-
letter-spacing:-.04em;color:var(--text);margin-bottom:20px;
|
|
318
|
-
}
|
|
319
|
-
.hero-title .green{color:var(--green)}
|
|
320
|
-
.hero-subtitle{font-size:1.125rem;color:var(--text-muted);max-width:480px;margin-bottom:32px;line-height:1.7}
|
|
321
|
-
.hero-actions{display:flex;gap:12px;flex-wrap:wrap}
|
|
322
|
-
.hero-code{display:flex;flex-direction:column;gap:12px;position:relative}
|
|
323
|
-
|
|
324
|
-
/* ═══════════════════════════════
|
|
325
|
-
STATS
|
|
326
|
-
═══════════════════════════════ */
|
|
327
|
-
.stats-row{
|
|
328
|
-
display:grid;grid-template-columns:repeat(4,1fr);gap:1px;
|
|
329
|
-
background:var(--border);border:1px solid var(--border);border-radius:16px;
|
|
330
|
-
overflow:hidden;margin:80px auto 0;max-width:var(--max-w);
|
|
331
|
-
padding:0 24px;
|
|
332
|
-
}
|
|
333
|
-
.stat-item{
|
|
334
|
-
background:var(--bg-card);padding:32px 24px;text-align:center;
|
|
335
|
-
}
|
|
336
|
-
.stat-number{
|
|
337
|
-
font-size:2rem;font-weight:800;color:var(--text);letter-spacing:-.03em;
|
|
338
|
-
}
|
|
339
|
-
.stat-label{font-size:.8rem;color:var(--text-muted);margin-top:4px;font-weight:500;text-transform:uppercase;letter-spacing:.06em}
|
|
340
|
-
|
|
341
|
-
/* ═══════════════════════════════
|
|
342
|
-
SECTIONS
|
|
343
|
-
═══════════════════════════════ */
|
|
344
|
-
.section{padding:100px 24px;border-bottom:1px solid var(--border)}
|
|
345
|
-
.section--alt{background:rgba(255,255,255,.015)}
|
|
346
|
-
.section-tag{
|
|
347
|
-
font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;
|
|
348
|
-
color:var(--green);margin-bottom:12px;
|
|
349
|
-
}
|
|
350
|
-
.section-title{
|
|
351
|
-
font-size:clamp(1.8rem,3.5vw,2.5rem);font-weight:800;letter-spacing:-.03em;
|
|
352
|
-
color:var(--text);line-height:1.15;
|
|
353
|
-
}
|
|
354
|
-
.section-lead{font-size:1.05rem;color:var(--text-muted);max-width:600px;margin-top:16px;line-height:1.7}
|
|
355
|
-
.section-header{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;max-width:var(--max-w);margin:0 auto}
|
|
356
|
-
.section-header .section-tag{margin-bottom:0}
|
|
357
|
-
|
|
358
|
-
/* ═══════════════════════════════
|
|
359
|
-
FEATURES
|
|
360
|
-
═══════════════════════════════ */
|
|
361
|
-
.features-grid{
|
|
362
|
-
display:grid;grid-template-columns:repeat(3,1fr);gap:1px;
|
|
363
|
-
background:var(--border);border:1px solid var(--border);border-radius:16px;
|
|
364
|
-
overflow:hidden;max-width:var(--max-w);margin:48px auto 0;
|
|
365
|
-
}
|
|
366
|
-
.feature-card{
|
|
367
|
-
background:var(--bg-card);padding:36px 28px;
|
|
368
|
-
transition:background .3s,box-shadow .3s;
|
|
369
|
-
position:relative;
|
|
370
|
-
}
|
|
371
|
-
.feature-card:hover{
|
|
372
|
-
background:rgba(17,19,24,.9);
|
|
373
|
-
box-shadow:inset 0 0 40px var(--green-dim);
|
|
374
|
-
}
|
|
375
|
-
.feature-card::after{
|
|
376
|
-
content:'';position:absolute;inset:0;border-radius:inherit;
|
|
377
|
-
opacity:0;transition:opacity .4s;pointer-events:none;
|
|
378
|
-
background:radial-gradient(300px circle at var(--mouse-x,50%) var(--mouse-y,50%),var(--green-dim),transparent 60%);
|
|
379
|
-
}
|
|
380
|
-
.feature-card:hover::after{opacity:1}
|
|
381
|
-
.feature-icon{
|
|
382
|
-
width:40px;height:40px;border-radius:10px;
|
|
383
|
-
background:var(--green-dim);display:grid;place-items:center;
|
|
384
|
-
margin-bottom:20px;font-size:1.1rem;
|
|
385
|
-
}
|
|
386
|
-
.feature-title{font-size:1.05rem;font-weight:700;color:var(--text);margin-bottom:8px}
|
|
387
|
-
.feature-desc{font-size:.875rem;color:var(--text-muted);line-height:1.65}
|
|
388
|
-
|
|
389
|
-
/* ═══════════════════════════════
|
|
390
|
-
COMPARE
|
|
391
|
-
═══════════════════════════════ */
|
|
392
|
-
.compare-pair{margin:40px 0}
|
|
393
|
-
.compare-pair:first-child{margin-top:0}
|
|
394
|
-
.compare-pair:last-child{margin-bottom:0}
|
|
395
|
-
.compare-label{display:flex;align-items:center;gap:10px;font-size:.95rem;font-weight:600;color:var(--text);margin-bottom:16px}
|
|
396
|
-
.compare-label i{color:var(--green)}
|
|
397
|
-
.compare-title{display:flex;align-items:center;gap:10px;font-size:.95rem;font-weight:600;color:var(--text);margin-bottom:16px}
|
|
398
|
-
.compare-title svg{width:18px;height:18px;color:var(--green)}
|
|
399
|
-
.compare-grid{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--border);border:1px solid var(--border);border-radius:12px;overflow:hidden}
|
|
400
|
-
.compare-grid .code-window{border:none;border-radius:0}
|
|
401
|
-
|
|
402
|
-
/* ═══════════════════════════════
|
|
403
|
-
QUICKSTART
|
|
404
|
-
═══════════════════════════════ */
|
|
405
|
-
.quickstart-steps{display:flex;flex-direction:column;gap:32px;max-width:var(--max-w);margin:40px auto 0}
|
|
406
|
-
.quickstart-step{display:flex;gap:20px;align-items:flex-start}
|
|
407
|
-
.step-number{
|
|
408
|
-
flex-shrink:0;width:36px;height:36px;border-radius:50%;
|
|
409
|
-
background:var(--green-dim);color:var(--green);
|
|
410
|
-
display:grid;place-items:center;
|
|
411
|
-
font-size:.875rem;font-weight:700;
|
|
412
|
-
border:1px solid rgba(16,185,129,.25);
|
|
413
|
-
}
|
|
414
|
-
.step-content{flex:1;display:flex;flex-direction:column;gap:12px}
|
|
415
|
-
.step-content h3{font-size:1.05rem;font-weight:700;color:var(--text)}
|
|
416
|
-
.step-note{font-size:.85rem;color:var(--text-dim);line-height:1.6}
|
|
417
|
-
|
|
418
|
-
/* ═══════════════════════════════
|
|
419
|
-
CLI
|
|
420
|
-
═══════════════════════════════ */
|
|
421
|
-
.cli-grid{
|
|
422
|
-
display:grid;grid-template-columns:1fr 1fr;gap:1px;
|
|
423
|
-
background:var(--border);border:1px solid var(--border);border-radius:16px;
|
|
424
|
-
overflow:hidden;max-width:var(--max-w);margin:40px auto 0;
|
|
425
|
-
}
|
|
426
|
-
.cli-item{
|
|
427
|
-
background:var(--bg-card);padding:24px;
|
|
428
|
-
transition:background .25s,box-shadow .25s;
|
|
429
|
-
}
|
|
430
|
-
.cli-item:hover{background:rgba(17,19,24,.85);box-shadow:inset 0 0 30px var(--green-dim)}
|
|
431
|
-
.cli-cmd{
|
|
432
|
-
font-family:var(--font-mono);font-size:.9rem;font-weight:500;
|
|
433
|
-
color:var(--green);margin-bottom:8px;
|
|
434
|
-
}
|
|
435
|
-
.cli-desc{font-size:.85rem;color:var(--text-muted);line-height:1.6}
|
|
436
|
-
|
|
437
|
-
/* ═══════════════════════════════
|
|
438
|
-
PACKAGES
|
|
439
|
-
═══════════════════════════════ */
|
|
440
|
-
.packages-note{font-size:.85rem;color:var(--text-dim);margin-top:12px;line-height:1.6}
|
|
441
|
-
|
|
442
|
-
/* ═══════════════════════════════
|
|
443
|
-
LANGUAGE LIBRARY
|
|
444
|
-
═══════════════════════════════ */
|
|
445
|
-
.lib-search-wrap{max-width:var(--max-w);margin:40px auto 0}
|
|
446
|
-
.lib-search{
|
|
447
|
-
position:relative;
|
|
448
|
-
background:var(--bg-card);border:1px solid var(--border);border-radius:12px;
|
|
449
|
-
padding:0 20px;display:flex;align-items:center;
|
|
450
|
-
transition:border-color .2s,box-shadow .2s;
|
|
451
|
-
}
|
|
452
|
-
.lib-search:focus-within{border-color:rgba(16,185,129,.4);box-shadow:0 0 0 3px rgba(16,185,129,.1)}
|
|
453
|
-
.lib-search-icon{color:var(--text-dim);font-size:.9rem;margin-right:12px;flex-shrink:0}
|
|
454
|
-
.lib-search-input{
|
|
455
|
-
flex:1;padding:16px 0;background:none;border:none;outline:none;
|
|
456
|
-
font-family:var(--font-sans);font-size:.95rem;color:var(--text);
|
|
457
|
-
}
|
|
458
|
-
.lib-search-input::placeholder{color:var(--text-dim)}
|
|
459
|
-
.lib-search-count{font-size:.8rem;color:var(--text-dim);white-space:nowrap;margin-left:12px}
|
|
460
|
-
.lib-filters{
|
|
461
|
-
display:flex;flex-wrap:wrap;gap:8px;margin-top:16px;
|
|
462
|
-
}
|
|
463
|
-
.lib-filter{
|
|
464
|
-
padding:6px 14px;border-radius:9999px;font-size:.8rem;font-weight:500;
|
|
465
|
-
background:rgba(255,255,255,.04);border:1px solid var(--border);
|
|
466
|
-
color:var(--text-muted);cursor:pointer;transition:all .2s;
|
|
467
|
-
font-family:var(--font-sans);
|
|
468
|
-
}
|
|
469
|
-
.lib-filter:hover{border-color:var(--border-light);color:var(--text)}
|
|
470
|
-
.lib-filter.active{background:var(--green-dim);border-color:rgba(16,185,129,.3);color:var(--green)}
|
|
471
|
-
.lib-grid{
|
|
472
|
-
display:grid;grid-template-columns:repeat(2,1fr);gap:16px;
|
|
473
|
-
max-width:var(--max-w);margin:32px auto 0;
|
|
474
|
-
}
|
|
475
|
-
.lib-card{
|
|
476
|
-
background:var(--bg-card);border:1px solid var(--border);border-radius:12px;
|
|
477
|
-
overflow:hidden;transition:border-color .25s,box-shadow .25s;
|
|
478
|
-
}
|
|
479
|
-
.lib-card:hover{border-color:rgba(16,185,129,.25);box-shadow:0 4px 20px rgba(0,0,0,.3)}
|
|
480
|
-
.lib-card-header{
|
|
481
|
-
display:flex;align-items:center;justify-content:space-between;
|
|
482
|
-
padding:16px 20px;border-bottom:1px solid var(--border);
|
|
483
|
-
}
|
|
484
|
-
.lib-card-title{font-size:.9rem;font-weight:600;color:var(--text)}
|
|
485
|
-
.lib-card-cat{
|
|
486
|
-
font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em;
|
|
487
|
-
padding:3px 10px;border-radius:9999px;background:var(--green-dim);color:var(--green);
|
|
488
|
-
}
|
|
489
|
-
.lib-card-body{padding:0}
|
|
490
|
-
.lib-card-body pre{
|
|
491
|
-
margin:0;padding:16px 20px;
|
|
492
|
-
font-size:.82rem;line-height:1.75;
|
|
493
|
-
background:var(--bg-code);color:var(--text);
|
|
494
|
-
overflow-x:auto;white-space:pre;
|
|
495
|
-
}
|
|
496
|
-
.lib-card-footer{
|
|
497
|
-
padding:12px 20px;border-top:1px solid var(--border);
|
|
498
|
-
background:rgba(255,255,255,.015);
|
|
499
|
-
}
|
|
500
|
-
.lib-card-js{font-size:.78rem;color:var(--text-dim);font-family:var(--font-mono);line-height:1.6}
|
|
501
|
-
.lib-card-js span{color:var(--text-muted)}
|
|
502
|
-
.lib-empty{
|
|
503
|
-
text-align:center;padding:60px 20px;
|
|
504
|
-
color:var(--text-dim);
|
|
505
|
-
}
|
|
506
|
-
.lib-empty i{font-size:2rem;margin-bottom:12px;display:block;opacity:.4}
|
|
507
|
-
.lib-empty p{font-size:.95rem}
|
|
508
|
-
.lib-highlight{background:rgba(16,185,129,.15);color:var(--green);border-radius:2px;padding:0 2px}
|
|
509
|
-
|
|
510
|
-
/* ═══════════════════════════════
|
|
511
|
-
FAQ
|
|
512
|
-
═══════════════════════════════ */
|
|
513
|
-
.faq-list{display:flex;flex-direction:column;gap:1px;background:var(--border);border:1px solid var(--border);border-radius:16px;overflow:hidden;max-width:var(--max-w);margin:40px auto 0}
|
|
514
|
-
.faq-item{background:var(--bg-card)}
|
|
515
|
-
.faq-item details{padding:0}
|
|
516
|
-
.faq-item summary{
|
|
517
|
-
padding:20px 24px;cursor:pointer;font-size:.95rem;font-weight:600;
|
|
518
|
-
color:var(--text);transition:color .2s;display:flex;align-items:center;justify-content:space-between;
|
|
519
|
-
-webkit-user-select:none;user-select:none;
|
|
520
|
-
}
|
|
521
|
-
.faq-item summary::-webkit-details-marker{display:none}
|
|
522
|
-
.faq-item summary::marker{display:none;content:''}
|
|
523
|
-
.faq-item summary:hover{color:var(--green)}
|
|
524
|
-
.faq-item summary::after{
|
|
525
|
-
content:'+';font-size:1.2rem;font-weight:400;color:var(--text-dim);
|
|
526
|
-
transition:transform .3s,color .3s;
|
|
527
|
-
}
|
|
528
|
-
.faq-item details[open] summary::after{transform:rotate(45deg);color:var(--green)}
|
|
529
|
-
.faq-item details[open] summary{border-bottom:1px solid var(--border)}
|
|
530
|
-
.faq-answer{padding:20px 24px;font-size:.9rem;color:var(--text-muted);line-height:1.7}
|
|
531
|
-
|
|
532
|
-
/* ═══════════════════════════════
|
|
533
|
-
FOOTER
|
|
534
|
-
═══════════════════════════════ */
|
|
535
|
-
.site-footer{
|
|
536
|
-
border-top:1px solid var(--border);
|
|
537
|
-
background:linear-gradient(180deg,var(--bg),#060608);
|
|
538
|
-
padding:60px 24px 32px;
|
|
539
|
-
}
|
|
540
|
-
.footer-top{
|
|
541
|
-
display:flex;align-items:center;justify-content:space-between;
|
|
542
|
-
max-width:var(--max-w);margin:0 auto;
|
|
543
|
-
padding-bottom:24px;
|
|
544
|
-
}
|
|
545
|
-
.footer-brand{display:flex;align-items:center;gap:10px}
|
|
546
|
-
.footer-logo{width:32px;height:32px;border-radius:8px}
|
|
547
|
-
.footer-name{font-weight:700;font-size:1.1rem;color:var(--text)}
|
|
548
|
-
.footer-tagline{font-size:.875rem;color:var(--text-muted)}
|
|
549
|
-
.footer-divider{
|
|
550
|
-
max-width:var(--max-w);margin:0 auto;
|
|
551
|
-
border-bottom:1px solid var(--border);
|
|
552
|
-
margin-bottom:40px;
|
|
553
|
-
}
|
|
554
|
-
.footer-grid{
|
|
555
|
-
display:grid;grid-template-columns:1fr 1fr 1fr;gap:40px;
|
|
556
|
-
max-width:var(--max-w);margin:0 auto;
|
|
557
|
-
}
|
|
558
|
-
.footer-heading{
|
|
559
|
-
font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;
|
|
560
|
-
color:var(--text-dim);margin-bottom:16px;
|
|
561
|
-
}
|
|
562
|
-
.footer-links{display:flex;flex-direction:column;gap:10px}
|
|
563
|
-
.footer-links a{font-size:.875rem;color:var(--text-muted);transition:color .2s}
|
|
564
|
-
.footer-links a:hover{color:var(--green)}
|
|
565
|
-
.footer-bottom{
|
|
566
|
-
display:flex;align-items:center;justify-content:space-between;
|
|
567
|
-
max-width:var(--max-w);margin:40px auto 0;
|
|
568
|
-
padding-top:20px;border-top:1px solid var(--border);
|
|
569
|
-
font-size:.8rem;color:var(--text-dim);
|
|
570
|
-
}
|
|
571
|
-
.footer-badge{
|
|
572
|
-
display:inline-flex;align-items:center;
|
|
573
|
-
padding:3px 10px;border-radius:9999px;font-size:.7rem;font-weight:600;
|
|
574
|
-
background:var(--green-dim);color:var(--green);
|
|
575
|
-
border:1px solid rgba(16,185,129,.2);
|
|
576
|
-
}
|
|
577
|
-
|
|
578
|
-
/* ═══════════════════════════════
|
|
579
|
-
RESPONSIVE: 1024px
|
|
580
|
-
═══════════════════════════════ */
|
|
581
|
-
@media(max-width:1024px){
|
|
582
|
-
.features-grid{grid-template-columns:repeat(2,1fr)}
|
|
583
|
-
.footer-grid{grid-template-columns:1fr 1fr;gap:32px}
|
|
584
|
-
}
|
|
585
|
-
|
|
586
|
-
/* ═══════════════════════════════
|
|
587
|
-
RESPONSIVE: 800px
|
|
588
|
-
═══════════════════════════════ */
|
|
589
|
-
@media(max-width:800px){
|
|
590
|
-
.hero{padding:calc(var(--nav-h) + 48px) 0 64px}
|
|
591
|
-
.hero-content{grid-template-columns:1fr;gap:40px}
|
|
592
|
-
.hero-title{font-size:clamp(2rem,6vw,2.8rem)}
|
|
593
|
-
.hero-code{order:-1}
|
|
594
|
-
.nav-links{display:none}
|
|
595
|
-
.nav-actions{display:none}
|
|
596
|
-
.nav-hamburger{display:flex}
|
|
597
|
-
.stats-row{grid-template-columns:repeat(2,1fr);margin-top:48px}
|
|
598
|
-
.section{padding:64px 20px}
|
|
599
|
-
.section-header{flex-direction:column;align-items:flex-start;gap:12px}
|
|
600
|
-
.compare-grid{grid-template-columns:1fr}
|
|
601
|
-
.cli-grid{grid-template-columns:1fr}
|
|
602
|
-
.lib-grid{grid-template-columns:1fr}
|
|
603
|
-
.footer-grid{grid-template-columns:1fr 1fr}
|
|
604
|
-
}
|
|
605
|
-
|
|
606
|
-
/* ═══════════════════════════════
|
|
607
|
-
RESPONSIVE: 600px
|
|
608
|
-
═══════════════════════════════ */
|
|
609
|
-
@media(max-width:600px){
|
|
610
|
-
.section{padding:48px 16px}
|
|
611
|
-
.hero{padding:calc(var(--nav-h) + 32px) 16px 48px}
|
|
612
|
-
.hero-content{padding:0}
|
|
613
|
-
.features-grid{grid-template-columns:1fr}
|
|
614
|
-
.footer-grid{grid-template-columns:1fr;gap:28px}
|
|
615
|
-
.stats-row{grid-template-columns:1fr}
|
|
616
|
-
.quickstart-step{gap:14px}
|
|
617
|
-
.step-number{width:32px;height:32px;font-size:.8rem}
|
|
618
|
-
.hero-actions{flex-direction:column}
|
|
619
|
-
.hero-actions .btn{width:100%}
|
|
620
|
-
.footer-bottom{flex-direction:column;gap:12px;text-align:center}
|
|
621
|
-
.code-block{padding:16px}
|
|
622
|
-
.footer-top{flex-direction:column;gap:12px;text-align:center}
|
|
623
|
-
}
|
|
624
|
-
|
|
625
|
-
/* ═══════════════════════════════
|
|
626
|
-
RESPONSIVE: 480px
|
|
627
|
-
═══════════════════════════════ */
|
|
628
|
-
@media(max-width:480px){
|
|
629
|
-
.hero-title{font-size:1.8rem}
|
|
630
|
-
.hero-subtitle{font-size:1rem}
|
|
631
|
-
.btn-lg{padding:12px 24px;font-size:.9rem}
|
|
632
|
-
.stat-number{font-size:1.5rem}
|
|
633
|
-
.feature-card{padding:28px 20px}
|
|
634
|
-
}
|
|
635
|
-
|
|
636
|
-
/* ═══════════════════════════════
|
|
637
|
-
REDUCED MOTION
|
|
638
|
-
═══════════════════════════════ */
|
|
639
|
-
@media(prefers-reduced-motion:reduce){
|
|
640
|
-
*,*::before,*::after{
|
|
641
|
-
animation-duration:.01ms !important;
|
|
642
|
-
animation-iteration-count:1 !important;
|
|
643
|
-
transition-duration:.01ms !important;
|
|
644
|
-
scroll-behavior:auto !important;
|
|
645
|
-
}
|
|
646
|
-
.reveal{opacity:1;transform:none}
|
|
647
|
-
}
|
|
648
|
-
|
|
649
|
-
/* ═══════════════════════════════
|
|
650
|
-
SAFE AREA (notch / bottom bar)
|
|
651
|
-
═══════════════════════════════ */
|
|
652
|
-
@supports(padding:max(0px)){
|
|
653
|
-
.site-footer{padding-bottom:max(32px,var(--safe-bottom))}
|
|
654
|
-
.mobile-menu{padding-bottom:max(24px,var(--safe-bottom))}
|
|
655
|
-
.to-top{bottom:max(32px,calc(16px + var(--safe-bottom)))}
|
|
656
|
-
}
|
|
1
|
+
:root {
|
|
2
|
+
--bg: #070c16;
|
|
3
|
+
--bg-elev: #0b1220;
|
|
4
|
+
--panel: rgba(18, 26, 42, .78);
|
|
5
|
+
--panel-solid: #101828;
|
|
6
|
+
--line: rgba(120, 160, 230, .16);
|
|
7
|
+
--line-strong: rgba(120, 160, 230, .3);
|
|
8
|
+
--text: #e6edf7;
|
|
9
|
+
--muted: #8fa0b8;
|
|
10
|
+
--accent: #46e6b4;
|
|
11
|
+
--accent-glow: rgba(70, 230, 180, .35);
|
|
12
|
+
--accent-dim: #1f3d3a;
|
|
13
|
+
--haze: rgba(70, 230, 180, .07);
|
|
14
|
+
--radius: 14px;
|
|
15
|
+
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
16
|
+
color: var(--text);
|
|
17
|
+
background: var(--bg);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
* { box-sizing: border-box; }
|
|
21
|
+
html { scroll-behavior: smooth; }
|
|
22
|
+
body { margin: 0; line-height: 1.6; overflow-x: hidden; }
|
|
23
|
+
a { color: var(--accent); }
|
|
24
|
+
a:hover { color: #9ff2da; }
|
|
25
|
+
code, pre { font-family: "SFMono-Regular", Consolas, "Liberation Mono", ui-monospace, monospace; }
|
|
26
|
+
code { font-size: .92em; color: #bfe9ff; }
|
|
27
|
+
|
|
28
|
+
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
|
|
29
|
+
|
|
30
|
+
/* Full-bleed animated background */
|
|
31
|
+
.bg-scrim, #bg-canvas {
|
|
32
|
+
position: fixed;
|
|
33
|
+
inset: 0;
|
|
34
|
+
width: 100%;
|
|
35
|
+
height: 100%;
|
|
36
|
+
}
|
|
37
|
+
.bg-scrim {
|
|
38
|
+
z-index: -2;
|
|
39
|
+
background:
|
|
40
|
+
radial-gradient(1100px 640px at 78% -10%, rgba(70, 230, 180, .14), transparent 62%),
|
|
41
|
+
radial-gradient(900px 560px at 6% 28%, rgba(60, 110, 240, .12), transparent 60%),
|
|
42
|
+
linear-gradient(180deg, #070c16 0%, #0a1120 55%, #070c16 100%);
|
|
43
|
+
}
|
|
44
|
+
#bg-canvas { z-index: -1; opacity: .85; }
|
|
45
|
+
|
|
46
|
+
/* Nav */
|
|
47
|
+
.site-nav {
|
|
48
|
+
position: sticky;
|
|
49
|
+
top: 0;
|
|
50
|
+
z-index: 6;
|
|
51
|
+
border-bottom: 1px solid transparent;
|
|
52
|
+
background: rgba(7, 12, 22, .55);
|
|
53
|
+
backdrop-filter: blur(14px);
|
|
54
|
+
transition: background .3s ease, border-color .3s ease;
|
|
55
|
+
}
|
|
56
|
+
.site-nav.is-scrolled { background: rgba(7, 12, 22, .85); border-color: var(--line); }
|
|
57
|
+
.nav-inner, .nav-logo, .nav-links, .hero-actions, .footer-bottom, .library-toolbar { display: flex; align-items: center; }
|
|
58
|
+
.nav-inner { min-height: 72px; justify-content: space-between; gap: 24px; }
|
|
59
|
+
.nav-logo { gap: 10px; color: var(--text); font-weight: 800; text-decoration: none; letter-spacing: -.01em; }
|
|
60
|
+
.nav-logo-mark {
|
|
61
|
+
display: inline-grid;
|
|
62
|
+
place-items: center;
|
|
63
|
+
width: 30px;
|
|
64
|
+
height: 30px;
|
|
65
|
+
border-radius: 8px;
|
|
66
|
+
color: #04140f;
|
|
67
|
+
background: var(--accent);
|
|
68
|
+
font-size: .82rem;
|
|
69
|
+
font-weight: 900;
|
|
70
|
+
box-shadow: 0 0 18px var(--accent-glow);
|
|
71
|
+
}
|
|
72
|
+
.logo-ver { padding: 3px 8px; border-radius: 99px; color: var(--accent); border: 1px solid var(--line-strong); background: var(--accent-dim); font-size: .72rem; font-weight: 600; }
|
|
73
|
+
.nav-links { gap: 22px; }
|
|
74
|
+
.nav-links a { color: var(--muted); font-size: .9rem; text-decoration: none; transition: color .2s; }
|
|
75
|
+
.nav-links a:hover { color: var(--accent); }
|
|
76
|
+
|
|
77
|
+
/* Hero */
|
|
78
|
+
.hero { position: relative; padding: 108px 0 92px; }
|
|
79
|
+
.hero-content { max-width: 840px; position: relative; z-index: 1; }
|
|
80
|
+
.hero-badge, .section-tag { color: var(--accent); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .76rem; }
|
|
81
|
+
.hero-title {
|
|
82
|
+
max-width: 780px;
|
|
83
|
+
margin: 14px 0 16px;
|
|
84
|
+
color: var(--text);
|
|
85
|
+
font-size: clamp(2.7rem, 7vw, 5.6rem);
|
|
86
|
+
line-height: .98;
|
|
87
|
+
letter-spacing: -.055em;
|
|
88
|
+
text-wrap: balance;
|
|
89
|
+
}
|
|
90
|
+
.hero-title > span { display: inline-block; }
|
|
91
|
+
.hero-lead { max-width: 660px; color: var(--muted); font-size: 1.2rem; }
|
|
92
|
+
.hero-actions { gap: 12px; margin: 30px 0; flex-wrap: wrap; }
|
|
93
|
+
.button { display: inline-block; padding: 11px 18px; border-radius: 9px; font-weight: 750; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
|
|
94
|
+
.button-primary { color: #04140f; background: var(--accent); box-shadow: 0 8px 26px var(--accent-glow); }
|
|
95
|
+
.button-primary:hover { color: #04140f; background: #7bf0cd; transform: translateY(-2px); box-shadow: 0 12px 32px var(--accent-glow); }
|
|
96
|
+
.button-secondary { color: var(--text); background: var(--panel); border: 1px solid var(--line-strong); backdrop-filter: blur(8px); }
|
|
97
|
+
.button-secondary:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
|
|
98
|
+
|
|
99
|
+
/* Code windows */
|
|
100
|
+
.code-window {
|
|
101
|
+
position: relative;
|
|
102
|
+
overflow: auto;
|
|
103
|
+
margin: 28px 0 0;
|
|
104
|
+
padding: 26px 24px 24px;
|
|
105
|
+
border: 1px solid var(--line-strong);
|
|
106
|
+
border-radius: var(--radius);
|
|
107
|
+
color: #d7f6ea;
|
|
108
|
+
background: linear-gradient(180deg, #0c1524, #0a101d);
|
|
109
|
+
box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
|
|
110
|
+
}
|
|
111
|
+
.code-window::before {
|
|
112
|
+
content: "";
|
|
113
|
+
display: block;
|
|
114
|
+
width: 46px;
|
|
115
|
+
height: 10px;
|
|
116
|
+
margin: -8px 0 18px;
|
|
117
|
+
border-radius: 99px;
|
|
118
|
+
background: var(--line-strong);
|
|
119
|
+
}
|
|
120
|
+
.code-window code { color: inherit; }
|
|
121
|
+
|
|
122
|
+
.section { padding: 84px 0; }
|
|
123
|
+
.section--alt { background: linear-gradient(180deg, var(--haze), transparent 42%), rgba(12, 19, 33, .55); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
|
|
124
|
+
.section-title { max-width: 720px; margin: 8px 0 34px; color: var(--text); font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.05; letter-spacing: -.035em; text-wrap: balance; }
|
|
125
|
+
.section-lead { color: var(--muted); }
|
|
126
|
+
.three-column, .feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
|
|
127
|
+
|
|
128
|
+
/* Cards */
|
|
129
|
+
.info-card, .feature-card, .library-card {
|
|
130
|
+
padding: 24px;
|
|
131
|
+
border: 1px solid var(--line);
|
|
132
|
+
border-radius: var(--radius);
|
|
133
|
+
background: var(--panel);
|
|
134
|
+
backdrop-filter: blur(10px);
|
|
135
|
+
transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
|
|
136
|
+
}
|
|
137
|
+
.info-card:hover, .feature-card:hover, .library-card:hover {
|
|
138
|
+
transform: translateY(-4px);
|
|
139
|
+
border-color: var(--line-strong);
|
|
140
|
+
box-shadow: 0 18px 44px rgba(0, 0, 0, .45);
|
|
141
|
+
}
|
|
142
|
+
.info-card h3, .feature-card h3, .library-card h3 { margin: 8px 0 6px; color: var(--text); }
|
|
143
|
+
.info-card p, .feature-card p, .library-card p { margin: 0; color: var(--muted); }
|
|
144
|
+
.card-number { color: var(--accent); font-size: .8rem; font-weight: 850; letter-spacing: .08em; text-shadow: 0 0 14px var(--accent-glow); }
|
|
145
|
+
|
|
146
|
+
.capability-list { display: flex; gap: 10px; flex-wrap: wrap; }
|
|
147
|
+
.capability-list span, .library-category {
|
|
148
|
+
padding: 8px 12px;
|
|
149
|
+
border-radius: 99px;
|
|
150
|
+
color: var(--accent);
|
|
151
|
+
border: 1px solid var(--line-strong);
|
|
152
|
+
background: var(--accent-dim);
|
|
153
|
+
font-size: .84rem;
|
|
154
|
+
font-weight: 700;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
/* Library */
|
|
158
|
+
.library-toolbar { align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 26px; flex-wrap: wrap; }
|
|
159
|
+
.lib-search-input {
|
|
160
|
+
min-width: 240px;
|
|
161
|
+
padding: 12px 14px;
|
|
162
|
+
border: 1px solid var(--line-strong);
|
|
163
|
+
border-radius: 9px;
|
|
164
|
+
font: inherit;
|
|
165
|
+
color: var(--text);
|
|
166
|
+
background: #0c1524;
|
|
167
|
+
outline: none;
|
|
168
|
+
transition: border-color .2s, box-shadow .2s;
|
|
169
|
+
}
|
|
170
|
+
.lib-search-input::placeholder { color: var(--muted); }
|
|
171
|
+
.lib-search-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
|
|
172
|
+
.lib-filters { display: flex; gap: 8px; flex-wrap: wrap; }
|
|
173
|
+
.lib-filter {
|
|
174
|
+
padding: 8px 12px;
|
|
175
|
+
border: 1px solid var(--line-strong);
|
|
176
|
+
border-radius: 99px;
|
|
177
|
+
color: var(--muted);
|
|
178
|
+
background: transparent;
|
|
179
|
+
cursor: pointer;
|
|
180
|
+
font: inherit;
|
|
181
|
+
font-size: .86rem;
|
|
182
|
+
text-transform: capitalize;
|
|
183
|
+
transition: all .2s;
|
|
184
|
+
}
|
|
185
|
+
.lib-filter.is-active, .lib-filter:hover { color: #04140f; border-color: var(--accent); background: var(--accent); box-shadow: 0 6px 18px var(--accent-glow); }
|
|
186
|
+
.lib-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
|
|
187
|
+
.library-card-top { min-height: 102px; }
|
|
188
|
+
.library-card pre {
|
|
189
|
+
overflow: auto;
|
|
190
|
+
margin: 18px -8px -8px;
|
|
191
|
+
padding: 16px;
|
|
192
|
+
border-radius: 9px;
|
|
193
|
+
color: #d7f6ea;
|
|
194
|
+
background: #0a101d;
|
|
195
|
+
border: 1px solid var(--line);
|
|
196
|
+
font-size: .82rem;
|
|
197
|
+
}
|
|
198
|
+
.lib-empty { color: var(--muted); }
|
|
199
|
+
|
|
200
|
+
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
|
|
201
|
+
.site-footer { padding: 28px 0; color: var(--muted); border-top: 1px solid var(--line); background: rgba(7, 12, 22, .8); }
|
|
202
|
+
.footer-bottom { justify-content: space-between; gap: 16px; }
|
|
203
|
+
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
|
|
204
|
+
|
|
205
|
+
::selection { color: #04140f; background: var(--accent); }
|
|
206
|
+
textarea, input { caret-color: var(--accent); }
|
|
207
|
+
|
|
208
|
+
@media (prefers-reduced-motion: reduce) {
|
|
209
|
+
html { scroll-behavior: auto; }
|
|
210
|
+
* { animation: none !important; transition: none !important; }
|
|
211
|
+
.info-card:hover, .feature-card:hover, .library-card:hover { transform: none; }
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
@media (max-width: 760px) {
|
|
215
|
+
.nav-inner { align-items: flex-start; padding: 14px 0; }
|
|
216
|
+
.nav-links { gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
|
|
217
|
+
.hero { padding: 68px 0 60px; }
|
|
218
|
+
.three-column, .feature-grid, .lib-grid, .split { grid-template-columns: 1fr; }
|
|
219
|
+
.section { padding: 60px 0; }
|
|
220
|
+
}
|