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
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
|
/* slosh.foo — one page, one stylesheet, no build step.
*
* The palette is contrib/themes/sl0p.kdl — hot pink on near-black — so the
* page and the thing it describes agree. Deliberately not a landing page:
* no gradients, no cards, no icons, nothing floats in on scroll. */
:root {
--bg: #0b0b0e;
--panel: #141418;
--code-bg: #1c1c22;
--fg: #e8e8ea;
--dim: #8a8a95;
--faint: #45454a;
--pink: #ff5fd7;
--dead: #ff875f;
/* The feature tour's geometry, up here because the floating logo (a fixed
* element, outside the tour) centres itself on the tour's stage column. */
--tour-w: min(94vw, 88rem);
--tour-gap: clamp(1.5rem, 4vw, 4.5rem);
--mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas,
"DejaVu Sans Mono", monospace;
--sans: system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html {
scroll-behavior: smooth;
/* The top colour, solid: what over-scroll rubber-banding shows, and the
* canvas behind the body's gradient. */
background: var(--bg);
}
body {
margin: 0;
/* The page lightens toward the ground, barely: near-black at the hero,
* held through the tour, then a slow climb to a grey that is still
* darker than the panels sitting on it (--code-bg is #1c1c22; ending
* shy of it keeps every box legible against the floor). The body's box
* is the whole document, so the fade maps to scroll distance. */
background: linear-gradient(
180deg,
var(--bg) 0%,
var(--bg) 30%,
#131318 70%,
#17171e 100%
);
color: var(--fg);
font: 16px/1.65 var(--sans);
-webkit-font-smoothing: antialiased;
}
a { color: var(--pink); text-decoration: none; }
a:hover { text-decoration: underline; }
code, kbd, pre { font-family: var(--mono); }
code { font-size: 0.9em; }
kbd {
padding: 0.05em 0.35em;
border: 1px solid var(--faint);
border-radius: 3px;
background: var(--panel);
color: var(--pink);
font-size: 0.85em;
}
/* ---- the logo, as geometry ------------------------------------------- */
/* The ascii logo drawn as rects and used as a mask, because the block
* glyphs it was typed in do not survive every platform: Android's default
* monospace has none of them, so each one falls back to whatever font
* volunteers, each with its own metrics, and the grid shatters. Geometry
* has no fallback to shatter through. Generated from logo.txt by
* web/gen-logo-mask (44x7 cells of half-blocks) -- and the animated background
* layers show through the mask exactly as they showed through
* background-clip: text. Rects that touch also join exactly, which
* retires the letter-spacing hack that closed the fonts' pinstripes. */
:root {
--logo-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 264 70'%3E%3Crect x='6' y='-0.4' width='36' height='5.8'/%3E%3Crect x='54' y='-0.4' width='18' height='5.8'/%3E%3Crect x='114' y='-0.4' width='36' height='5.8'/%3E%3Crect x='168' y='-0.4' width='36' height='5.8'/%3E%3Crect x='222' y='-0.4' width='12' height='5.8'/%3E%3Crect x='252' y='-0.4' width='12' height='5.8'/%3E%3Crect x='0' y='4.6' width='48' height='5.8'/%3E%3Crect x='54' y='4.6' width='18' height='5.8'/%3E%3Crect x='108' y='4.6' width='48' height='5.8'/%3E%3Crect x='162' y='4.6' width='48' height='5.8'/%3E%3Crect x='216' y='4.6' width='18' height='5.8'/%3E%3Crect x='246' y='4.6' width='18' height='5.8'/%3E%3Crect x='0' y='9.6' width='18' height='5.8'/%3E%3Crect x='36' y='9.6' width='12' height='5.8'/%3E%3Crect x='54' y='9.6' width='18' height='5.8'/%3E%3Crect x='108' y='9.6' width='18' height='5.8'/%3E%3Crect x='138' y='9.6' width='18' height='5.8'/%3E%3Crect x='162' y='9.6' width='18' height='5.8'/%3E%3Crect x='198' y='9.6' width='12' height='5.8'/%3E%3Crect x='216' y='9.6' width='18' height='5.8'/%3E%3Crect x='246' y='9.6' width='18' height='5.8'/%3E%3Crect x='0' y='14.6' width='18' height='5.8'/%3E%3Crect x='54' y='14.6' width='18' height='5.8'/%3E%3Crect x='108' y='14.6' width='18' height='5.8'/%3E%3Crect x='138' y='14.6' width='18' height='5.8'/%3E%3Crect x='162' y='14.6' width='18' height='5.8'/%3E%3Crect x='216' y='14.6' width='18' height='5.8'/%3E%3Crect x='246' y='14.6' width='18' height='5.8'/%3E%3Crect x='0' y='19.6' width='42' height='5.8'/%3E%3Crect x='54' y='19.6' width='18' height='5.8'/%3E%3Crect x='108' y='19.6' width='18' height='5.8'/%3E%3Crect x='138' y='19.6' width='18' height='5.8'/%3E%3Crect x='162' y='19.6' width='42' height='5.8'/%3E%3Crect x='216' y='19.6' width='48' height='5.8'/%3E%3Crect x='6' y='24.6' width='42' height='5.8'/%3E%3Crect x='54' y='24.6' width='18' height='5.8'/%3E%3Crect x='84' y='24.6' width='18' height='5.8'/%3E%3Crect x='108' y='24.6' width='18' height='5.8'/%3E%3Crect x='138' y='24.6' width='18' height='5.8'/%3E%3Crect x='168' y='24.6' width='42' height='5.8'/%3E%3Crect x='216' y='24.6' width='48' height='5.8'/%3E%3Crect x='30' y='29.6' width='18' height='5.8'/%3E%3Crect x='54' y='29.6' width='18' height='5.8'/%3E%3Crect x='84' y='29.6' width='18' height='5.8'/%3E%3Crect x='108' y='29.6' width='18' height='5.8'/%3E%3Crect x='138' y='29.6' width='18' height='5.8'/%3E%3Crect x='192' y='29.6' width='18' height='5.8'/%3E%3Crect x='216' y='29.6' width='18' height='5.8'/%3E%3Crect x='246' y='29.6' width='18' height='5.8'/%3E%3Crect x='0' y='34.6' width='12' height='5.8'/%3E%3Crect x='30' y='34.6' width='18' height='5.8'/%3E%3Crect x='54' y='34.6' width='18' height='5.8'/%3E%3Crect x='84' y='34.6' width='18' height='5.8'/%3E%3Crect x='108' y='34.6' width='18' height='5.8'/%3E%3Crect x='138' y='34.6' width='18' height='5.8'/%3E%3Crect x='162' y='34.6' width='12' height='5.8'/%3E%3Crect x='192' y='34.6' width='18' height='5.8'/%3E%3Crect x='216' y='34.6' width='18' height='5.8'/%3E%3Crect x='246' y='34.6' width='18' height='5.8'/%3E%3Crect x='0' y='39.6' width='48' height='5.8'/%3E%3Crect x='54' y='39.6' width='48' height='5.8'/%3E%3Crect x='108' y='39.6' width='48' height='5.8'/%3E%3Crect x='162' y='39.6' width='48' height='5.8'/%3E%3Crect x='216' y='39.6' width='18' height='5.8'/%3E%3Crect x='246' y='39.6' width='18' height='5.8'/%3E%3Crect x='6' y='44.6' width='36' height='5.8'/%3E%3Crect x='54' y='44.6' width='42' height='5.8'/%3E%3Crect x='114' y='44.6' width='36' height='5.8'/%3E%3Crect x='162' y='44.6' width='42' height='5.8'/%3E%3Crect x='216' y='44.6' width='18' height='5.8'/%3E%3Crect x='246' y='44.6' width='18' height='5.8'/%3E%3Crect x='0' y='54.6' width='264' height='5.8'/%3E%3Crect x='0' y='64.6' width='264' height='5.8'/%3E%3C/svg%3E");
}
.logo-art {
display: block;
aspect-ratio: 264 / 70;
-webkit-mask: var(--logo-svg) center / 100% 100% no-repeat;
mask: var(--logo-svg) center / 100% 100% no-repeat;
}
/* ---- the floating logo ---------------------------------------------- */
/* The hero logo again, small, in the corner the stage's v-centering leaves
* empty on desktop. Faded in by the observer in index.html once the big one
* is off screen; a link back to the top. Hidden on one-column screens,
* where that corner is content, not air. */
.logo-float {
position: fixed;
/* The resting value only: the script centres it in the air between the
* viewport top and the pinned terminal's top edge, which no fixed number
* tracks across viewport heights. */
top: 13.8rem;
/* Centred on the stage column: the tour is layout-centred and the stage
* is the 3fr of its 3fr/2fr split, so the terminal's midline sits at
* 50% - tourW/2 + (tourW - gap) * 3/10. 50%, not 50vw: a fixed element's
* percentages exclude the scrollbar, like the layout the tour centres in;
* vw would drag the logo half a scrollbar to the right. The translateX
* does the logo's own half. */
left: calc(50% - var(--tour-w) / 2 + (var(--tour-w) - var(--tour-gap)) * 0.3);
z-index: 4;
color: var(--pink);
opacity: 0;
transform: translateX(-50%) translateY(-0.4rem);
transition: opacity 0.25s, transform 0.25s;
pointer-events: none;
}
.logo-float.show { opacity: 1; transform: translateX(-50%); pointer-events: auto; }
/* A link, but not dressed as one: underlining seven rows of block glyphs
* (the global a:hover) is a mess, and a colour flash is not much better.
* The pointer cursor alone says clickable. */
.logo-float:hover { text-decoration: none; }
.logo-float .logo-art {
width: 318px; /* what 44 columns of 12px mono came to */
/* The colour cycles, slowly: a gradient of the pink's neighbours clipped
* to the ink and slid along it -- the logo's own little colour pass, in
* the spirit of the shaders it advertises. Horizontal on purpose: the
* loop shifts by exactly one tile (at background-size 200%, position
* 200% is one tile width), and only a 90deg gradient meets its own edge
* seamlessly. */
/* Two layers, both clipped to the ink: the shine -- a band of light, the
* logo running slosh's own shine preset -- over the colour wash. The
* band is parked off the glyphs for most of the loop and sweeps across
* in the last split second (the keyframes below); -150%..250% is the
* full off-to-off journey for a 60%-wide no-repeat layer. */
background-image: linear-gradient(105deg,
rgba(255, 255, 255, 0) 32%, rgba(255, 255, 255, 0.85) 50%,
rgba(255, 255, 255, 0) 68%),
linear-gradient(90deg,
var(--pink) 0%, #c95fff 35%, #5fafff 65%, var(--pink) 100%);
background-size: 60% 100%, 200% 100%;
background-repeat: no-repeat, repeat;
background-position: -150% 0, 0% 0;
}
/* Two motions. The position slide scrolls the gradient through the ink --
* except in WebKit, which caches a text-clipped paint and never repaints it
* for a background-position animation, leaving the wash frozen. The hue
* rotation is the motion Safari does honour: filters run post-paint on the
* compositor, so every pixel cycles the wheel even over the cached clip.
* Chrome and Firefox get both, WebKit gets the rotation alone. */
.logo-float.show .logo-art {
animation: logo-cycle 5s linear infinite, logo-hue 4s linear infinite;
}
/* One set of keyframes drives both layers: the colour slide moves linearly
* through every stop (each keyframe holds its proportional position), and
* the shine holds off-glyph until 86%, then crosses in the closing 0.7s. */
@keyframes logo-cycle {
0% { background-position: -150% 0, 0% 0; }
86% { background-position: -150% 0, 172% 0; }
100% { background-position: 250% 0, 200% 0; }
}
/* The drop shadow lives in these keyframes because the filter property is
* the animation's: a static filter would lose to it. Listed before the
* hue-rotate, so the glow is rotated with the letters and always matches
* their current colour. Soft and low: on a near-black page a shadow can
* only read as a faint underglow. */
@keyframes logo-hue {
from { filter: drop-shadow(0 4px 14px rgba(255, 95, 215, 0.3)) hue-rotate(0deg); }
to { filter: drop-shadow(0 4px 14px rgba(255, 95, 215, 0.3)) hue-rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
/* The preference is about motion, not colour: the slide and the shine --
* patterns that travel -- go; the hue rotation, colour changing in
* place, stays. Nothing moves, everything still breathes. */
.logo-float.show .logo-art { animation: logo-hue 5s linear infinite; }
}
@media (max-width: 54rem) {
.logo-float { display: none; }
}
/* ---- the hero ------------------------------------------------------- */
main {
max-width: 60rem;
margin: 0 auto;
padding: 0 1.25rem 4rem;
}
.hero {
padding: 3.5rem 0 1rem;
text-align:center !important;
}
.hero .logo {
width: min(88vw, 352px); /* what 44 columns of the default mono came to */
margin: 0 auto;
/* The same dress as the floating logo, in truer colours: no hue
* rotation (that is what walks the little one off into blues), just a
* slide through the palette's own pinks -- and --dead's sunset orange,
* which is as retrowave as the theme gets -- with the shine crossing
* once a loop. Every stop is a colour slosh already wears. */
background-image: linear-gradient(105deg,
rgba(255, 255, 255, 0) 32%, rgba(255, 255, 255, 0.85) 50%,
rgba(255, 255, 255, 0) 68%),
linear-gradient(90deg,
var(--pink) 0%, #ff87e7 28%, #c95fff 52%, var(--dead) 78%,
var(--pink) 100%);
background-size: 60% 100%, 200% 100%;
background-repeat: no-repeat, repeat;
background-position: -150% 0, 0% 0;
filter: drop-shadow(0 6px 26px rgba(255, 95, 215, 0.25));
animation: hero-cycle 4s linear infinite;
}
@keyframes hero-cycle {
0% { background-position: -150% 0, 0% 0; }
84% { background-position: -150% 0, 168% 0; }
100% { background-position: 250% 0, 200% 0; }
}
@media (prefers-reduced-motion: reduce) {
.hero .logo { animation: none; }
}
.hero h1 {
margin: 0;
color: var(--pink);
font-family: var(--mono);
font-size: clamp(2.2rem, 6vw, 3.4rem);
font-weight: 600;
letter-spacing: 0.04em;
}
.tagline {
margin: 0.5rem 0 0;
color: var(--dim);
font-size: 1.05rem;
}
.hero-links { margin: 2rem 0 0; }
.btn {
display: inline-block;
margin-right: 0.75rem;
padding: 0.35rem 1.1rem;
background: var(--pink);
color: var(--panel);
font-family: var(--mono);
font-size: 14px;
}
.btn:hover { background: #fff; text-decoration: none; }
.btn.ghost {
background: transparent;
border: 1px solid var(--faint);
color: var(--dim);
}
.btn.ghost:hover { border-color: var(--pink); color: var(--pink); background: transparent; }
/* ---- sections ------------------------------------------------------- */
section { margin: 3.5rem 0 0; }
section h2 {
margin: 0 0 1rem;
padding-bottom: 0.4rem;
border-bottom: 1px solid var(--panel);
color: var(--fg);
font-family: var(--mono);
font-size: 1.1rem;
font-weight: 600;
}
section p { max-width: 44rem; }
section > p:last-child { margin-bottom: 0; }
.aside { color: var(--dim); font-size: 0.95rem; }
/* ---- the embedded demo ------------------------------------------------ */
/* A poster until the button is pushed, then the machine, same box. The
* frame is the section's whole width and most of a viewport tall: the demo
* page sizes its grid to the space it wakes up in, once, at boot. */
.try-stage {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 0.7rem;
/* A poster until booted: the prose column's width and a modest strip of
* height for the offer; the machine, once asked for, gets the tour's
* breakout width and most of a viewport. The size moves before the iframe
* goes in, so the guest reads its one-time geometry from the final room. */
padding: 3.5rem 1rem;
/* --code-bg, not --panel: the page's floor lightens toward the ground
* (the body gradient), and down here it passes --panel by -- a box
* darker than its floor reads as a hole. --code-bg is the same raised
* step the install boxes beside it use; the border earns its keep now
* that the old one matched the new fill. */
border: 1px solid var(--faint);
border-radius: 6px;
background: var(--code-bg);
}
.try-stage.booted {
width: var(--tour-w);
margin-left: calc((100% - var(--tour-w)) / 2);
padding: 0;
height: 74vh;
min-height: 360px;
}
.boot {
padding: 0.6rem 1.6rem;
border: 0;
background: var(--pink);
color: var(--panel);
font-family: var(--mono);
font-size: 15px;
cursor: pointer;
}
.boot:hover { background: #fff; }
.try-frame {
display: block;
width: 100%;
height: 100%;
border: 0;
border-radius: 5px; /* inside the stage's own border */
background: var(--bg);
}
/* The off switch: a real button, centred under the running machine, ghost
* so booting stays the loud verb and stopping the quiet one. */
.try-live {
display: flex;
align-items: baseline;
justify-content: center;
gap: 0.9rem;
margin: 0.8rem 0 0;
}
.try-live[hidden] { display: none; }
.boot.ghost {
background: transparent;
border: 1px solid var(--faint);
color: var(--dim);
font-size: 14px;
padding: 0.4rem 1.2rem;
}
.boot.ghost:hover {
background: transparent;
border-color: var(--pink);
color: var(--pink);
}
/* ---- the install box ------------------------------------------------- */
/* Pick a platform, read only its instructions. Hidden radios, labels drawn
* like a slosh tab strip, one panel each; the switching is CSS. */
.install {
margin: 1rem 0;
border: 1px solid var(--panel);
border-radius: 4px;
background: var(--bg);
}
.install > .os {
position: absolute;
width: 1px;
height: 1px;
opacity: 0;
}
.os-tabs {
display: flex;
gap: 0.35rem;
overflow-x: auto;
padding: 0.45rem 0.6rem;
border-bottom: 1px solid var(--panel);
font-family: var(--mono);
font-size: 13px;
}
.os-tabs label {
padding: 0.05rem 0.7rem;
border-radius: 3px;
color: var(--dim);
cursor: pointer;
white-space: nowrap;
}
.os-tabs label:hover { color: var(--pink); }
.install > .os:focus-visible ~ .os-tabs { outline: 1px solid var(--pink); }
.os-panel { display: none; padding: 0.4rem 1rem 0.9rem; }
.os-panel .cmd { margin: 0.6rem 0; }
.os-panel .aside { margin: 0.6rem 0 0; font-size: 0.9rem; }
/* the checked radio lights its tab and shows its panel */
#os-linux:checked ~ .os-tabs label[for="os-linux"],
#os-macos:checked ~ .os-tabs label[for="os-macos"],
#os-arch:checked ~ .os-tabs label[for="os-arch"],
#os-windows:checked ~ .os-tabs label[for="os-windows"],
#os-source:checked ~ .os-tabs label[for="os-source"] {
background: var(--pink);
color: var(--panel);
}
#os-linux:checked ~ #install-linux,
#os-macos:checked ~ #install-macos,
#os-arch:checked ~ #install-arch,
#os-windows:checked ~ #install-windows,
#os-source:checked ~ #install-source { display: block; }
/* ---- command blocks ------------------------------------------------- */
.cmd {
position: relative;
margin: 1rem 0;
border: 1px solid var(--code-bg);
border-radius: 4px;
background: var(--code-bg);
}
.cmd pre {
margin: 0;
padding: 0.8rem 1rem;
overflow-x: auto;
font-size: 13.5px;
line-height: 1.7;
}
.cmd .prompt { color: var(--faint); user-select: none; }
.cmd .c { color: var(--dim); }
.copy {
position: absolute;
top: 0.45rem;
right: 0.45rem;
padding: 0.1rem 0.6rem;
border: 1px solid var(--faint);
border-radius: 3px;
background: var(--panel);
color: var(--dim);
font-family: var(--mono);
font-size: 12px;
cursor: pointer;
}
.copy:hover { border-color: var(--pink); color: var(--pink); }
/* ---- the feature tour ----------------------------------------------- */
/* A terminal pinned to the left half, vertically centred; the features
* scroll by on the right. Wider than the text column on purpose — the
* recordings are 100 columns and want the room. */
.scrolly {
width: var(--tour-w);
margin-left: calc((100% - var(--tour-w)) / 2);
display: grid;
grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
gap: var(--tour-gap);
/* Tuck the tour up under the hero. The stage's 100vh box centres the
* terminal, so before it pins, everything above the terminal is air —
* about 45vh minus half the player (≤ ~500px tall at this column width),
* minus the optical lift. Overlap the hero by that much, less ~2rem of
* breathing room; min() keeps it at 0 on viewports short enough that the
* air runs out. Pinned geometry is scroll-invariant, so alignment inside
* the tour is untouched. */
margin-top: min(0rem, 17.5rem - 45vh);
/* ...and the same at the exit, where the air below the terminal is larger
* still (the optical lift rides it high — ~54.5vh minus half the player).
* This collapses with the next section's 3.5rem margin-top, which the
* constant accounts for; the result is ~2.75rem from the terminal's final
* resting bottom to the install heading at any viewport height. */
margin-bottom: min(0rem, 14.5rem - 54.5vh);
/* The overlapped regions are transparent air, but they would still sit on
* top of the hero's buttons above and the install tabs below — let clicks
* fall through, and switch hit-testing back on for the things inside that
* want it. */
pointer-events: none;
}
.stage-pin [data-sloshcast],
.scrolly-steps .step { pointer-events: auto; }
.stage-pin {
position: sticky;
top: 0;
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
/* Sit a touch above true centre: the steps on the right centre their text
* on the viewport, and against them a dead-centred terminal reads as low
* (the tab strip weights its top). border-box, so this lifts the centred
* content rather than growing the 100vh box. */
padding-bottom: clamp(2.5rem, 9vh, 6rem);
}
.stage-pin [data-sloshcast] { display: none; }
.stage-pin .stage-active { display: block; }
/* Breathing room at both ends of the steps column. Without it the column is
* exactly steps*50vh tall and the sticky stage has no travel margin: the
* terminal is still riding below centre when the first step reaches the
* middle of the viewport, and has already been dragged up past centre by the
* container's bottom edge when the last one does. 25vh each side means the
* stage is pinned (centred) from before the first step centres until after
* the last step does. */
.scrolly-steps { padding: 25vh 0; }
.step {
min-height: 50vh;
display: flex;
flex-direction: column;
justify-content: center;
opacity: 0.3;
transition: opacity 0.25s;
}
.step.active { opacity: 1; }
/* A dimmed step is clickable everywhere -- the whole article glides itself
* to the centre, where it activates. The active one is just prose. */
.step:not(.active) { cursor: pointer; }
.step:not(.active):hover h3 { color: var(--pink); }
.step h3 {
margin: 0;
color: var(--fg);
font-size: clamp(1.4rem, 2.2vw, 1.9rem);
font-weight: 650;
line-height: 1.25;
}
.step p {
margin: 0.8rem 0 0;
color: var(--dim);
font-size: clamp(1.05rem, 1.4vw, 1.2rem);
line-height: 1.6;
}
.step ul {
margin: 1rem 0 0;
padding-left: 1.2em;
color: var(--dim);
font-size: clamp(0.98rem, 1.25vw, 1.1rem);
line-height: 1.55;
}
.step li { margin: 0.35rem 0; }
.step li::marker { color: var(--pink); }
/* The tour's exit: back up to the install box, or into the browser demo. */
.step-cta { min-height: 45vh; }
.step-cta .hero-links { margin-top: 1.5rem; }
@media (max-width: 54rem) {
/* One column: the terminal sticks under the nav, the features scroll
* beneath it. The sticky moves up to .scrolly-stage here: in block layout
* .stage-pin's parent is only as tall as the player, so a sticky inside it
* has nowhere to stick; .scrolly-stage is bounded by the whole tour. */
.scrolly { display: block; margin-top: 0; margin-bottom: 0; pointer-events: auto; }
.scrolly-stage {
position: sticky;
top: 0;
z-index: 2;
padding: 0.6rem 0;
background: var(--bg);
}
.stage-pin {
position: static;
height: auto;
padding: 0;
}
/* One column: the stage sticks above the steps, so the travel margin is
* pointless air here. */
.scrolly-steps { padding: 0; }
.step { min-height: 50vh; }
.step:first-child { padding-top: 1.5rem; }
}
/* ---- the points list ------------------------------------------------ */
.points { margin: 0.5rem 0 1.25rem; }
.points dt {
margin-top: 1.1rem;
color: var(--fg);
font-weight: 600;
}
.points dt:first-child { margin-top: 0; }
.points dd {
margin: 0.15rem 0 0;
max-width: 44rem;
color: var(--dim);
}
/* ---- the docs list -------------------------------------------------- */
.doclist {
margin: 0.5rem 0 0;
padding: 0;
list-style: none;
columns: 2;
column-gap: 2.5rem;
}
.doclist li {
margin: 0.35rem 0;
break-inside: avoid;
font-size: 0.95rem;
}
.doclist a { font-family: var(--mono); font-size: 14px; }
.doclist span { color: var(--faint); }
/* ---- the footer ------------------------------------------------------ */
.foot {
padding: 0 0 1.6rem;
text-align: center;
color: var(--faint);
font-family: var(--mono);
font-size: 12.5px;
}
.foot a { color: var(--dim); }
.foot a:hover { color: var(--pink); }
/* ---- small screens -------------------------------------------------- */
@media (max-width: 44rem) {
.doclist { columns: 1; }
}
|