Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
434 lines (417 loc) · 20.9 KB
/
Copy pathstyle.css
File metadata and controls
434 lines (417 loc) · 20.9 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
/* openab.dev — light theme taken from the OpenAB banner: lavender field (#EBE9F7)
and the wordmark's deep violet (#3D1F79). Structure follows connect.openab.dev
(nav, hero, card grid, participation cards, footer); the product cards follow tautiu.dev. */
:root {
--accent: #7B62C9;
--accent-deep: #3D1F79;
--accent-tint: #ECE6F8;
--brush: rgba(173, 159, 208, 0.55);
--ink: #221640;
--muted: #615A78;
--bg: #F7F4FC;
--card: #FFFFFF;
--border: rgba(61, 31, 121, 0.14);
--shadow: 0 4px 20px rgba(61, 31, 121, 0.08);
--shadow-hover: 0 14px 34px rgba(61, 31, 121, 0.16);
}
@media (prefers-color-scheme: dark) {
:root {
--accent: #B9A6EE;
--accent-deep: #D6CAFA;
--accent-tint: #2A2244;
--brush: rgba(185, 166, 238, 0.35);
--ink: #F3EFFD;
--muted: #B3AAC9;
--bg: #14101F;
--card: #1E1830;
--border: rgba(214, 202, 250, 0.16);
--shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
--shadow-hover: 0 14px 34px rgba(0, 0, 0, 0.5);
}
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
margin: 0; background: var(--bg); color: var(--ink);
font: 16px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
-webkit-font-smoothing: antialiased;
}
a { color: var(--accent-deep); }
/* Per-language CJK stacks, as on connect.openab.dev. */
html[data-lang="zh"] body {
font-family: "PingFang TC", "Heiti TC", "Noto Sans TC", -apple-system,
BlinkMacSystemFont, system-ui, sans-serif;
}
html[data-lang="ja"] body {
font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP",
-apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}
/* Korean has spaces between words, so break there rather than inside a word. */
html[data-lang="ko"] body {
font-family: "Apple SD Gothic Neo", "Noto Sans KR", -apple-system,
BlinkMacSystemFont, system-ui, sans-serif;
word-break: keep-all; overflow-wrap: anywhere;
}
/* ── Nav ─────────────────────────────── */
nav.top {
display: flex; align-items: center; justify-content: space-between;
gap: 1rem; flex-wrap: wrap;
max-width: 1040px; margin: 0 auto; padding: 20px 24px;
}
/* Wordmark pinned to one Latin stack so it keeps its shape on every language page. */
nav .brand {
display: flex; align-items: center; gap: 7px;
font-weight: 700; text-decoration: none; color: var(--ink); font-size: 1.05rem;
letter-spacing: -0.015em;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}
nav .brand img { width: 28px; height: 28px; }
nav .links { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; font-size: 0.95rem; }
nav .links a { text-decoration: none; color: var(--muted); }
nav .links a:hover { color: var(--ink); }
nav .lang { margin-left: 0.6rem; font-size: 0.9rem; color: var(--muted); white-space: nowrap; }
nav .lang a { margin: 0 0.15rem; text-decoration: none; color: var(--muted); }
nav .lang a.active { color: var(--ink); font-weight: 700; }
/* ── Hero ────────────────────────────── */
header.hero { max-width: 900px; margin: 0 auto; padding: 40px 24px 8px; text-align: center; }
.hero picture { display: block; line-height: 0; }
.hero .logo {
width: 224px; height: 224px;
animation: bob 5s ease-in-out infinite;
}
@keyframes bob {
0%, 100% { transform: translateY(0) rotate(0deg); }
50% { transform: translateY(-8px) rotate(-2deg); }
}
.kicker {
margin: 22px 0 0; color: var(--accent-deep);
font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
}
h1 {
font-size: clamp(1.2rem, 5.4vw, 3.4rem); font-weight: 800;
margin: 8px 0 12px; letter-spacing: -0.022em; line-height: 1.2;
}
.tag { color: var(--muted); font-size: 1.12rem; margin: 0 auto; max-width: 36em; }
h1, .tag { text-wrap: balance; }
/* Han glyphs fill the em box: larger, heavier, no negative tracking. The floor is
derived from a ~342px measure at 390px over the longest authored line. */
html[data-lang="zh"] h1,
html[data-lang="ja"] h1,
html[data-lang="ko"] h1 {
font-size: clamp(1.4rem, 6.2vw, 3rem);
letter-spacing: 0.01em; line-height: 1.3;
}
html[data-lang="zh"] .tag,
html[data-lang="ja"] .tag,
html[data-lang="ko"] .tag { font-size: 1.1rem; line-height: 1.8; max-width: 28em; }
/* Phrases that must not break inside; a .wide break only applies above the phone width. */
.nb { display: inline-block; }
/* Japanese has no spaces, so its longest hero phrase (16 characters) sets the floor. */
html[data-lang="ja"] h1 { font-size: clamp(1.25rem, 5.3vw, 3rem); }
.mark {
background: linear-gradient(transparent 58%, var(--brush) 58%,
var(--brush) 94%, transparent 94%);
padding: 0 0.08em;
}
.cta { margin: 26px 0 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.btn {
display: inline-block; font-weight: 700; font-size: 0.97rem; text-decoration: none;
color: var(--accent-deep); background: var(--card);
border: 1px solid var(--border); border-radius: 999px; padding: 9px 20px;
transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}
.btn.primary { color: #fff; background: var(--accent-deep); border-color: var(--accent-deep); }
@media (prefers-color-scheme: dark) { .btn.primary { color: #14101F; } }
.btn:hover { transform: translateY(-1px); box-shadow: 0 5px 14px rgba(61, 31, 121, 0.14); }
.btn:focus-visible { outline: 3px solid var(--brush); outline-offset: 3px; }
/* ── Products ────────────────────────── */
section.products { max-width: 1040px; margin: 0 auto; padding: 3.5rem 24px 0; }
section h2 { text-align: center; font-size: 1.5rem; margin: 0 0 0.4rem; }
html[data-lang="zh"] section h2,
html[data-lang="ja"] section h2,
html[data-lang="ko"] section h2 { font-size: 1.6rem; }
.intro { text-align: center; color: var(--muted); max-width: 38em; margin: 0 auto 1.8rem; text-wrap: balance; }
.grid {
display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px;
}
.card {
display: flex; flex-direction: column; gap: 12px;
background: var(--card); border: 1px solid var(--border);
border-radius: 22px; padding: 24px;
text-decoration: none; color: inherit; box-shadow: var(--shadow);
transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover, .card:focus-visible {
transform: translateY(-5px); box-shadow: var(--shadow-hover);
border-color: var(--accent); outline: none;
}
.card-head { display: flex; align-items: center; gap: 14px; }
.card-icon { width: 56px; height: 56px; flex-shrink: 0; } /* art carries its own shape */
.card-icon.placeholder {
border-radius: 14px; background: color-mix(in srgb, var(--accent) 12%, var(--card));
}
.card.static:hover { transform: none; box-shadow: var(--shadow); border-color: var(--border); }
.card-name {
margin: 0; font-size: 1.22rem; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}
.card-role {
display: inline-block; margin-top: 4px;
font-size: 0.75rem; font-weight: 700; color: var(--muted);
background: var(--accent-tint); border-radius: 999px; padding: 1px 10px;
}
/* Type badge: what the card is (open source, App Store, private preview). */
.card-badge {
display: inline-block; margin: 4px 0 0 4px;
font-size: 0.72rem; font-weight: 700; line-height: 1.5; color: var(--accent);
border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent);
border-radius: 999px; padding: 0 9px;
}
.card-badge.preview { border-style: dashed; }
@media (prefers-color-scheme: dark) {
.card-badge { color: color-mix(in srgb, var(--accent) 45%, #fff); }
}
.card-desc { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.65; }
.card-for { margin: 0; font-size: 0.93rem; line-height: 1.6; }
.card-for strong { color: var(--accent-deep); margin-right: 0.25em; }
.card-tags { margin: auto 0 0; font-size: 0.78rem; color: var(--muted); letter-spacing: 0.01em; }
.card-link {
font-size: 0.88rem; font-weight: 700; color: var(--accent); overflow-wrap: anywhere;
}
@media (prefers-color-scheme: dark) {
.card-link { color: color-mix(in srgb, var(--accent) 45%, #fff); }
}
.card-link::after { content: " →"; }
html[data-lang="zh"] .card-desc,
html[data-lang="ja"] .card-desc,
html[data-lang="ko"] .card-desc,
html[data-lang="zh"] .card-for,
html[data-lang="ja"] .card-for,
html[data-lang="ko"] .card-for { font-size: 0.97rem; line-height: 1.8; }
/* ── Participate ─────────────────────── */
section.participate { max-width: 1040px; margin: 0 auto; padding: 3.5rem 24px 0; }
section.participate h2 { margin-bottom: 1.4rem; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.step { gap: 10px; }
.step-name { margin: 0; font-size: 1.12rem; line-height: 1.35; font-weight: 700; }
.step .card-link { margin-top: auto; }
/* ── Dev notes (index and note pages) ── */
main.notes, main.note { max-width: 720px; margin: 0 auto; padding: 24px 24px 0; }
main.notes h1 { text-align: center; font-size: clamp(1.8rem, 6vw, 2.6rem); }
main.notes .intro { margin-bottom: 2rem; }
.note-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.note-item { gap: 8px; }
.note-title { margin: 0; font-size: 1.28rem; line-height: 1.35; font-weight: 700; }
.when, .byline { color: var(--muted); font-size: 0.88rem; font-variant-numeric: tabular-nums; }
.note h1 {
font-size: clamp(1.6rem, 5vw, 2.4rem); line-height: 1.25; margin: 6px 0 6px; text-wrap: balance;
}
html[data-lang="zh"] .note h1,
html[data-lang="ja"] .note h1,
html[data-lang="ko"] .note h1 { font-size: clamp(1.45rem, 5vw, 2.2rem); line-height: 1.4; }
/* The zh title is Latin words and short Han phrases separated by spaces: break at the spaces. */
html[data-lang="zh"] .note h1, html[data-lang="zh"] .note-title { word-break: keep-all; overflow-wrap: anywhere; }
.note .back { margin: 0; font-size: 0.92rem; }
.note .back a { color: var(--muted); text-decoration: none; }
.note .back a:hover { color: var(--ink); }
.note .byline { margin: 0 0 1.6rem; }
.note .dek { margin: 0 0 0.5rem; color: var(--muted); font-size: 1.05rem; line-height: 1.6; text-wrap: pretty; }
.note .lede { font-size: 1.12rem; line-height: 1.75; }
.note .hook { font-size: 1.16rem; line-height: 1.75; font-weight: 600; color: var(--accent-deep); }
.note h2 { text-align: left; font-size: 1.3rem; margin: 2.2rem 0 0.4rem; line-height: 1.4; }
html[data-lang="zh"] .note h2,
html[data-lang="ja"] .note h2,
html[data-lang="ko"] .note h2 { font-size: 1.3rem; }
.note p, .note li { overflow-wrap: break-word; }
html[data-lang="zh"] .note p, html[data-lang="zh"] .note li,
html[data-lang="ja"] .note p, html[data-lang="ja"] .note li { line-height: 1.9; }
.note ul { padding-left: 1.3em; }
.note li { margin: 0.35rem 0; }
.note code {
font: 0.88em/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
background: var(--accent-tint); border-radius: 5px; padding: 0.1em 0.35em;
}
.note pre {
background: var(--card); border: 1px solid var(--border); border-radius: 14px;
padding: 14px 16px; overflow-x: auto; box-shadow: var(--shadow);
}
.note pre code { background: none; padding: 0; font-size: 0.8rem; line-height: 1.55; white-space: pre; }
.note .outro {
margin-top: 2.2rem; padding: 16px 18px; border-radius: 14px;
background: var(--accent-tint); border: 1px solid var(--border);
}
.note .callout {
margin: 1.6rem 0; padding: 4px 20px 6px; border-radius: 14px;
background: var(--card); border: 1px solid var(--border); border-left: 4px solid var(--accent);
box-shadow: var(--shadow);
}
.note .callout h2 { margin-top: 0.9rem; font-size: 1.1rem; }
/* Animated figures (scripts/figures.py + figs.js). Without JS everything is shown. */
.fig {
margin: 1.8rem 0; padding: 16px; border-radius: 14px;
background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow);
}
.fig svg { display: block; width: 100%; height: auto; font-family: inherit; }
.fig .panels { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fig .pair { display: grid; grid-template-columns: 1fr; gap: 14px; }
.fig .pair svg { max-width: 460px; margin: 0 auto; }
.fig figcaption { margin-top: 12px; color: var(--muted); font-size: 0.86rem; line-height: 1.6; }
.fig text { fill: var(--ink); }
.fig .ft { font-size: 15px; font-weight: 700; fill: var(--accent-deep); }
.fig .fm { font-size: 13.5px; font-weight: 600; }
.fig .fs { font-size: 11px; fill: var(--muted); }
.fig .fs2 { font-size: 12px; }
.fig .box { fill: var(--bg); stroke: var(--border); stroke-width: 1.2; transition: fill .3s, stroke .3s; }
.fig g.hl .box { fill: var(--accent-tint); stroke: var(--accent); stroke-width: 2; }
.fig .arr { fill: none; stroke: var(--muted); stroke-width: 1.4; }
.fig .arrh { fill: var(--muted); }
.fig .meter { fill: var(--accent-tint); }
.fig .seg { fill: var(--accent); }
.fig .off { opacity: 0; }
.fig [data-show] { transition: opacity .35s; }
.fig .screen { fill: var(--bg); stroke: var(--border); }
.fig .win { fill: var(--card); stroke: var(--border); stroke-width: 1.4; }
.fig .winbar { fill: var(--accent-tint); }
.fig .dot { fill: var(--brush); }
.fig .field { fill: var(--bg); stroke: var(--border); stroke-width: 1.2; }
.fig .field.focus { stroke: var(--accent); stroke-width: 2; }
.fig .tick { fill: none; stroke: var(--accent); stroke-width: 2; }
.fig .btn2 { fill: var(--bg); stroke: var(--border); }
.fig .btnok { fill: var(--accent); transition: fill .2s; }
.fig .fok { font-size: 12px; font-weight: 600; fill: #fff; }
@media (prefers-color-scheme: dark) { .fig .fok { fill: #14101F; } }
.fig g.okbtn.hl .btnok { fill: var(--accent-deep); stroke: var(--accent); stroke-width: 4; }
.fig .cursor { fill: var(--ink); stroke: var(--card); stroke-width: 1.2; }
.fig text.hl { fill: var(--accent-deep); font-weight: 700; }
.fig .fr { fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-dasharray: 5 3; opacity: 0; transition: opacity .25s; }
.fig .fr.hl, .fig .fr.link { opacity: 1; }
.fig .treehead { margin: 0 0 6px; font-size: 0.8rem; color: var(--muted); }
.fig .axtree {
list-style: none; margin: 0; padding: 8px 0; overflow-x: auto;
background: var(--bg); border: 1px solid var(--border); border-radius: 10px;
font: 0.74rem/1.55 ui-monospace, SFMono-Regular, Menlo, monospace;
}
.note .fig .axtree li {
margin: 0; padding: 2px 10px 2px calc(10px + 2em + var(--lvl, 0) * 1.3em); text-indent: -2em;
white-space: normal; overflow-wrap: anywhere; border-radius: 4px; cursor: default; transition: background .25s, opacity .35s;
}
.fig .axtree li:focus { outline: 2px solid var(--accent); outline-offset: -2px; }
.fig .axtree li.hl, .fig .axtree li.link { background: var(--accent-tint); }
.fig .badge {
display: inline-block; margin: 0 0 10px; padding: 2px 10px; border-radius: 999px;
border: 1px dashed var(--accent); color: var(--accent-deep); font-size: 0.82rem; font-weight: 600;
}
.figctl { margin-top: 8px; text-align: right; }
.figbtn {
font: inherit; font-size: 0.75rem; padding: 2px 10px; border-radius: 999px; cursor: pointer;
color: var(--muted); background: transparent; border: 1px solid var(--border);
}
.figbtn:hover { color: var(--ink); }
.figbtn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* Approach 1 vs 4 (figures.fig_aim). */
.fig.aim .panel { min-width: 0; }
.fig.aim .panel .badge { margin: 8px 0 0; line-height: 1.5; }
.fig .fbtn { font-size: 10.5px; }
.fig .mono { font: 10px ui-monospace, SFMono-Regular, Menlo, monospace; }
.fig .flash { fill: var(--accent); opacity: 0; transition: opacity .3s; pointer-events: none; }
.fig .flash.hl { opacity: .2; }
.fig .aim { fill: none; stroke: var(--accent-deep); stroke-width: 1.4; }
.fig .miss { fill: none; stroke: #D9480F; stroke-width: 2; stroke-dasharray: 3 2; }
.fig text.fmiss { font-size: 11px; font-weight: 700; fill: #D9480F; }
.fig .hit { fill: none; stroke: #2F9E44; stroke-width: 2.2; }
.fig text.fhit { font-size: 11px; font-weight: 700; fill: #2F9E44; }
.fig .frx { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 5 3; }
.fig .cur { transition: transform .7s ease; }
.fig .cur.hl { transform: translate(-150px, -75px); }
.fig .thumb { fill: var(--card); stroke: var(--accent); stroke-width: 1.2; }
.fig .thumbbar { fill: var(--accent-tint); }
.fig .thumbbtn { fill: var(--accent); }
.fig .treebg { fill: var(--bg); stroke: var(--border); }
/* ui_action note (figures_ui_action.py). */
.fig .axsteps li.err { color: #C2410C; font-weight: 600; }
.fig .axsteps li.okl { color: #2B8A3E; font-weight: 600; }
@media (prefers-color-scheme: dark) {
.fig .axsteps li.err { color: #FF9466; }
.fig .axsteps li.okl { color: #76D98A; }
}
.fig .ring { fill: none; stroke: var(--accent); stroke-width: 3; opacity: 0; transition: opacity .3s; }
.fig .ring.hl { opacity: .9; }
.fig g.okbtn.plain.hl .btn2 { fill: var(--accent-tint); stroke: var(--accent); stroke-width: 3; }
/* Screenshot loop vs tree path (figures_ui_action.fig_cmp). One value per step; the last one
(.fin) is the measured total and is what shows without JS, with reduced motion, and paused. */
.fig.cmpfig .panel { min-width: 0; }
.fig.cmpfig .meters { margin: 10px 0 8px; font-size: 0.84rem; }
.fig.cmpfig .meters div { display: flex; justify-content: space-between; gap: 10px; padding: 2px 0; border-bottom: 1px dashed var(--border); }
.fig.cmpfig .meters dt { color: var(--muted); }
.fig.cmpfig .meters dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.fig.cmpfig .val, .fig.cmpfig .tbar i { display: none; }
.fig.cmpfig:not(.playing) .val.fin, .fig.cmpfig.playing .val.hl { display: inline; }
.fig.cmpfig:not(.playing) .tbar i.fin, .fig.cmpfig.playing .tbar i.hl { display: block; }
.fig.cmpfig .tbar { height: 10px; border-radius: 999px; overflow: hidden; background: var(--bg); border: 1px solid var(--border); }
.fig.cmpfig .tbar i { height: 100%; background: var(--accent); }
.fig.cmpfig .moved { color: #C2410C; }
.fig.cmpfig .still { color: #2B8A3E; }
@media (prefers-color-scheme: dark) {
.fig.cmpfig .moved { color: #FF9466; }
.fig.cmpfig .still { color: #76D98A; }
}
/* Comparison table (figures.cmp_table). Cards on narrow screens, see the media query. */
.note .cmp-wrap { margin: 1.4rem 0 0.4rem; overflow-x: auto; }
.note table.cmp {
width: 100%; border-collapse: collapse; font-size: 0.86rem; line-height: 1.5;
background: var(--card); border: 1px solid var(--border); border-radius: 14px;
}
.note table.cmp caption { text-align: left; font-weight: 700; padding: 0 0 8px; }
.note table.cmp th, .note table.cmp td {
padding: 8px 10px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top;
}
.note table.cmp thead th { background: var(--accent-tint); font-weight: 700; }
.note table.cmp tbody th { font-weight: 700; color: var(--accent-deep); }
.note table.cmp tbody tr:last-child > * { border-bottom: 0; }
.note .cmp-note { font-size: 0.86rem; color: var(--muted); }
.note ol.ways { padding-left: 0; list-style: none; }
.note ol.ways > li { margin: 1rem 0; }
.note ol.ways p { margin: 0.25rem 0; }
.note h3 { font-size: 1.12rem; margin: 1.8rem 0 0.3rem; line-height: 1.4; }
footer {
max-width: 1040px; margin: 40px auto 0; padding: 26px 24px 48px;
border-top: 1px solid var(--border);
color: var(--muted); font-size: 0.9rem;
display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; align-items: center;
}
footer a { color: var(--muted); }
.dim { color: var(--muted); }
@media (max-width: 620px) {
nav.top { flex-direction: column; align-items: center; gap: 8px; padding: 14px 18px; }
nav .links { justify-content: center; gap: 0.85rem; font-size: 0.9rem; }
nav .lang { margin-left: 0; }
header.hero { padding: 24px 18px 4px; }
.hero .logo { width: 176px; height: 176px; }
.tag { font-size: 1.02rem; }
br.wide { display: none; }
section.products, section.participate { padding: 2.6rem 16px 0; }
main.notes, main.note { padding: 12px 18px 0; }
.grid { grid-template-columns: 1fr; }
.card { padding: 20px; }
.fig { padding: 12px; }
.fig .panels { grid-template-columns: 1fr; }
.note table.cmp, .note table.cmp tbody, .note table.cmp tr,
.note table.cmp th, .note table.cmp td { display: block; }
.note table.cmp { border: 0; background: none; }
.note table.cmp thead { display: none; }
.note table.cmp caption { display: block; }
.note table.cmp tbody tr {
margin: 0 0 12px; background: var(--card); border: 1px solid var(--border); border-radius: 12px;
overflow: hidden;
}
.note table.cmp tbody th { background: var(--accent-tint); }
.note table.cmp td { display: grid; grid-template-columns: 9.5em 1fr; gap: 10px; }
.note table.cmp td::before { content: attr(data-label); color: var(--muted); font-weight: 600; }
.note table.cmp tbody tr:last-child > * { border-bottom: 1px solid var(--border); }
.note table.cmp tbody tr > :last-child { border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
.hero .logo { animation: none; }
.card, .btn { transition: none; }
.fig *, .fig [data-show] { transition: none !important; }
}