aboutsummaryrefslogtreecommitdiffhomepage
path: root/Carbon-and-Signal-preview.html
blob: 27d56663b3494ed13b9c55ecef38c51d016ce532 (plain)
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
<!doctype html>
<html lang="en" data-pw-theme="dark">
<head>
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
<title>Carbon &amp; Signal — Packet Warriors design system</title>
<style>
/* Packet Warriors / Carbon & Signal v1.0. Framework-independent tokens. */
:root {
  --pw-brand-carbon: #171715;
  --pw-brand-carbon-rgb: 23, 23, 21;
  --pw-brand-graphite: #2E2E2A;
  --pw-brand-graphite-rgb: 46, 46, 42;
  --pw-brand-pewter: #B8B5AB;
  --pw-brand-pewter-rgb: 184, 181, 171;
  --pw-brand-porcelain: #F2EFE9;
  --pw-brand-porcelain-rgb: 242, 239, 233;
  --pw-brand-signal: #C12735;
  --pw-brand-signal-rgb: 193, 39, 53;
  --pw-brand-signal-bright: #D32939;
  --pw-brand-signal-bright-rgb: 211, 41, 57;
  --pw-brand-signal-deep: #861E28;
  --pw-brand-signal-deep-rgb: 134, 30, 40;
  --pw-brand-amber: #DAB16B;
  --pw-brand-amber-rgb: 218, 177, 107;
  --pw-brand-jade: #50B39A;
  --pw-brand-jade-rgb: 80, 179, 154;
  --pw-brand-copper: #C79A80;
  --pw-brand-copper-rgb: 199, 154, 128;
  --pw-font: "IBM Plex Sans", system-ui, sans-serif;
  --pw-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  --pw-size-xs: .8125rem;
  --pw-size-sm: .875rem;
  --pw-size-base: 1rem;
  --pw-size-lg: 1.125rem;
  --pw-size-xl: 1.375rem;
  --pw-size-2xl: 1.75rem;
  --pw-size-3xl: 2.25rem;
  --pw-space-1: .25rem;
  --pw-space-2: .5rem;
  --pw-space-3: .75rem;
  --pw-space-4: 1rem;
  --pw-space-5: 1.5rem;
  --pw-space-6: 2rem;
  --pw-radius: 4px;
  --pw-radius-panel: 6px;
  --pw-control-height: 2.5rem;
  --pw-focus-width: 2px;
  --pw-action: var(--pw-primary);
  --pw-on-action: var(--pw-on-primary);
  --pw-action-hover: var(--pw-primary-hover);
  --pw-action-active: var(--pw-primary-active);
  --pw-action-rgb: var(--pw-primary-rgb);
  --pw-product-mark: var(--pw-brand-signal);
}
:root, [data-pw-theme="light"], [data-bs-theme="light"], [data-md-color-scheme="default"] {
  color-scheme: light;
  --pw-canvas: #F2EFE9;
  --pw-canvas-rgb: 242, 239, 233;
  --pw-surface: #FFFCF7;
  --pw-surface-rgb: 255, 252, 247;
  --pw-raised: #E1DED5;
  --pw-raised-rgb: 225, 222, 213;
  --pw-inset: #F8F5EF;
  --pw-inset-rgb: 248, 245, 239;
  --pw-text: #272620;
  --pw-text-rgb: 39, 38, 32;
  --pw-muted: #615F56;
  --pw-muted-rgb: 97, 95, 86;
  --pw-border: #CBC7BD;
  --pw-border-rgb: 203, 199, 189;
  --pw-control-border: #817D72;
  --pw-control-border-rgb: 129, 125, 114;
  --pw-focus: #A52C36;
  --pw-focus-rgb: 165, 44, 54;
  --pw-link: #A52C36;
  --pw-link-rgb: 165, 44, 54;
  --pw-primary: #C12735;
  --pw-primary-rgb: 193, 39, 53;
  --pw-on-primary: #FFFFFF;
  --pw-on-primary-rgb: 255, 255, 255;
  --pw-primary-hover: #A51F2C;
  --pw-primary-hover-rgb: 165, 31, 44;
  --pw-primary-active: #861E28;
  --pw-primary-active-rgb: 134, 30, 40;
  --pw-firefly: #8A5D20;
  --pw-firefly-rgb: 138, 93, 32;
  --pw-on-firefly: #FFFFFF;
  --pw-on-firefly-rgb: 255, 255, 255;
  --pw-firefly-hover: #704A17;
  --pw-firefly-hover-rgb: 112, 74, 23;
  --pw-firefly-active: #593B13;
  --pw-firefly-active-rgb: 89, 59, 19;
  --pw-success: #186950;
  --pw-success-rgb: 24, 105, 80;
  --pw-success-bg: #DFEDE6;
  --pw-success-bg-rgb: 223, 237, 230;
  --pw-warning: #785018;
  --pw-warning-rgb: 120, 80, 24;
  --pw-warning-bg: #EEE5D3;
  --pw-warning-bg-rgb: 238, 229, 211;
  --pw-danger: #A52C36;
  --pw-danger-rgb: 165, 44, 54;
  --pw-danger-bg: #F2DDDD;
  --pw-danger-bg-rgb: 242, 221, 221;
  --pw-info: #615F56;
  --pw-info-rgb: 97, 95, 86;
  --pw-info-bg: #E7E4DC;
  --pw-info-bg-rgb: 231, 228, 220;
  --pw-inactive: #615F56;
  --pw-inactive-rgb: 97, 95, 86;
  --pw-selection: #EFD8D7;
  --pw-selection-rgb: 239, 216, 215;
  --pw-on-selection: #272620;
  --pw-on-selection-rgb: 39, 38, 32;
  --pw-hover: #EEEAE1;
  --pw-hover-rgb: 238, 234, 225;
  --pw-disabled: #77736A;
  --pw-disabled-rgb: 119, 115, 106;
  --pw-disabled-bg: #E7E3DA;
  --pw-disabled-bg-rgb: 231, 227, 218;
}
[data-pw-theme="dark"], [data-bs-theme="dark"], [data-md-color-scheme="slate"] {
  color-scheme: dark;
  --pw-canvas: #171715;
  --pw-canvas-rgb: 23, 23, 21;
  --pw-surface: #22221F;
  --pw-surface-rgb: 34, 34, 31;
  --pw-raised: #2E2E2A;
  --pw-raised-rgb: 46, 46, 42;
  --pw-inset: #141412;
  --pw-inset-rgb: 20, 20, 18;
  --pw-text: #E8E6DF;
  --pw-text-rgb: 232, 230, 223;
  --pw-muted: #ADA99F;
  --pw-muted-rgb: 173, 169, 159;
  --pw-border: #484840;
  --pw-border-rgb: 72, 72, 64;
  --pw-control-border: #7A7971;
  --pw-control-border-rgb: 122, 121, 113;
  --pw-focus: #DAB16B;
  --pw-focus-rgb: 218, 177, 107;
  --pw-link: #D8D4C9;
  --pw-link-rgb: 216, 212, 201;
  --pw-primary: #C12735;
  --pw-primary-rgb: 193, 39, 53;
  --pw-on-primary: #FFFFFF;
  --pw-on-primary-rgb: 255, 255, 255;
  --pw-primary-hover: #D32939;
  --pw-primary-hover-rgb: 211, 41, 57;
  --pw-primary-active: #A82330;
  --pw-primary-active-rgb: 168, 35, 48;
  --pw-firefly: #DAB16B;
  --pw-firefly-rgb: 218, 177, 107;
  --pw-on-firefly: #171715;
  --pw-on-firefly-rgb: 23, 23, 21;
  --pw-firefly-hover: #E6C28A;
  --pw-firefly-hover-rgb: 230, 194, 138;
  --pw-firefly-active: #C39955;
  --pw-firefly-active-rgb: 195, 153, 85;
  --pw-success: #50B39A;
  --pw-success-rgb: 80, 179, 154;
  --pw-success-bg: #1C332D;
  --pw-success-bg-rgb: 28, 51, 45;
  --pw-warning: #DAB16B;
  --pw-warning-rgb: 218, 177, 107;
  --pw-warning-bg: #352C1D;
  --pw-warning-bg-rgb: 53, 44, 29;
  --pw-danger: #F1989C;
  --pw-danger-rgb: 241, 152, 156;
  --pw-danger-bg: #3C2225;
  --pw-danger-bg-rgb: 60, 34, 37;
  --pw-info: #B8B5AB;
  --pw-info-rgb: 184, 181, 171;
  --pw-info-bg: #30302C;
  --pw-info-bg-rgb: 48, 48, 44;
  --pw-inactive: #ADA99F;
  --pw-inactive-rgb: 173, 169, 159;
  --pw-selection: #48272A;
  --pw-selection-rgb: 72, 39, 42;
  --pw-on-selection: #E8E6DF;
  --pw-on-selection-rgb: 232, 230, 223;
  --pw-hover: #30302C;
  --pw-hover-rgb: 48, 48, 44;
  --pw-disabled: #918E85;
  --pw-disabled-rgb: 145, 142, 133;
  --pw-disabled-bg: #30302C;
  --pw-disabled-bg-rgb: 48, 48, 44;
}
@media (prefers-color-scheme: dark) {
:root:not([data-pw-theme]):not([data-bs-theme]):not([data-md-color-scheme]), [data-pw-theme="auto"] {
  color-scheme: dark;
  --pw-canvas: #171715;
  --pw-canvas-rgb: 23, 23, 21;
  --pw-surface: #22221F;
  --pw-surface-rgb: 34, 34, 31;
  --pw-raised: #2E2E2A;
  --pw-raised-rgb: 46, 46, 42;
  --pw-inset: #141412;
  --pw-inset-rgb: 20, 20, 18;
  --pw-text: #E8E6DF;
  --pw-text-rgb: 232, 230, 223;
  --pw-muted: #ADA99F;
  --pw-muted-rgb: 173, 169, 159;
  --pw-border: #484840;
  --pw-border-rgb: 72, 72, 64;
  --pw-control-border: #7A7971;
  --pw-control-border-rgb: 122, 121, 113;
  --pw-focus: #DAB16B;
  --pw-focus-rgb: 218, 177, 107;
  --pw-link: #D8D4C9;
  --pw-link-rgb: 216, 212, 201;
  --pw-primary: #C12735;
  --pw-primary-rgb: 193, 39, 53;
  --pw-on-primary: #FFFFFF;
  --pw-on-primary-rgb: 255, 255, 255;
  --pw-primary-hover: #D32939;
  --pw-primary-hover-rgb: 211, 41, 57;
  --pw-primary-active: #A82330;
  --pw-primary-active-rgb: 168, 35, 48;
  --pw-firefly: #DAB16B;
  --pw-firefly-rgb: 218, 177, 107;
  --pw-on-firefly: #171715;
  --pw-on-firefly-rgb: 23, 23, 21;
  --pw-firefly-hover: #E6C28A;
  --pw-firefly-hover-rgb: 230, 194, 138;
  --pw-firefly-active: #C39955;
  --pw-firefly-active-rgb: 195, 153, 85;
  --pw-success: #50B39A;
  --pw-success-rgb: 80, 179, 154;
  --pw-success-bg: #1C332D;
  --pw-success-bg-rgb: 28, 51, 45;
  --pw-warning: #DAB16B;
  --pw-warning-rgb: 218, 177, 107;
  --pw-warning-bg: #352C1D;
  --pw-warning-bg-rgb: 53, 44, 29;
  --pw-danger: #F1989C;
  --pw-danger-rgb: 241, 152, 156;
  --pw-danger-bg: #3C2225;
  --pw-danger-bg-rgb: 60, 34, 37;
  --pw-info: #B8B5AB;
  --pw-info-rgb: 184, 181, 171;
  --pw-info-bg: #30302C;
  --pw-info-bg-rgb: 48, 48, 44;
  --pw-inactive: #ADA99F;
  --pw-inactive-rgb: 173, 169, 159;
  --pw-selection: #48272A;
  --pw-selection-rgb: 72, 39, 42;
  --pw-on-selection: #E8E6DF;
  --pw-on-selection-rgb: 232, 230, 223;
  --pw-hover: #30302C;
  --pw-hover-rgb: 48, 48, 44;
  --pw-disabled: #918E85;
  --pw-disabled-rgb: 145, 142, 133;
  --pw-disabled-bg: #30302C;
  --pw-disabled-bg-rgb: 48, 48, 44;
}
}

[data-pw-product="firefly"] {
  --pw-action: var(--pw-firefly);
  --pw-on-action: var(--pw-on-firefly);
  --pw-action-hover: var(--pw-firefly-hover);
  --pw-action-active: var(--pw-firefly-active);
  --pw-action-rgb: var(--pw-firefly-rgb);
  --pw-product-mark: var(--pw-firefly);
}


/* v1.1 master identity; presentation variables are not functional color tokens. */
:root{--pw-logo-neutral:#45443E}
:root[data-pw-theme="dark"]{--pw-logo-neutral:#B8B5AB}
@media(prefers-color-scheme:dark){:root[data-pw-theme="auto"]{--pw-logo-neutral:#B8B5AB}}
.preview-brand{display:flex;align-items:center;gap:8px}.preview-brand .brand-symbol{width:35px;height:auto;flex:none}.firefly-symbol{width:36px;height:36px;flex:none;display:block}.firefly-lockup{display:inline-flex;align-items:center;gap:8px}.pw-wordmark .firefly-lockup span{color:var(--pw-text)}.observatory-symbol{width:36px;height:36px;flex:none;display:block}.observatory-lockup{display:inline-flex;align-items:center;gap:8px}.pw-wordmark .observatory-lockup span{color:var(--pw-text)}.pw-wordmark .observatory-lockup b{color:var(--pw-brand-signal)}.utility-symbol{width:36px;height:36px;flex:none;display:block}.catalog .red-text{color:var(--pw-brand-signal)}</style>
<style>
/* Native, opt-in components. Load after pw-tokens.css. */
.pw-app { margin:0; background:var(--pw-canvas); color:var(--pw-text); font:400 var(--pw-size-base)/1.5 var(--pw-font); }
.pw-app *, .pw-app *::before, .pw-app *::after { box-sizing:border-box; }
.pw-app h1,.pw-app h2,.pw-app h3 { line-height:1.2; font-weight:600; margin:0 0 var(--pw-space-3); }
.pw-app h1 { font-size:var(--pw-size-2xl); }
.pw-app h2 { font-size:var(--pw-size-xl); }
.pw-app h3 { font-size:var(--pw-size-lg); }
.pw-app a { color:var(--pw-link); text-underline-offset:.2em; }
.pw-app :focus-visible { outline:var(--pw-focus-width) solid var(--pw-focus); outline-offset:3px; }
.pw-app ::selection { background:var(--pw-selection); color:var(--pw-on-selection); }
.pw-muted { color:var(--pw-muted); }
.pw-mono,.pw-app code,.pw-app pre { font-family:var(--pw-mono); font-variant-numeric:tabular-nums; }
.pw-numeric { font-variant-numeric:tabular-nums; }
.pw-header { background:var(--pw-surface); border-bottom:3px solid var(--pw-brand-signal); padding:var(--pw-space-4) var(--pw-space-5); }
.pw-wordmark { font-weight:700; letter-spacing:-.035em; font-size:var(--pw-size-xl); line-height:1.1; color:var(--pw-text); }
.pw-wordmark span { color:var(--pw-brand-signal); }
/* Graphic wordmark only; text links use the contrast-tested link token. */
.pw-product-mark { color:var(--pw-product-mark); font-weight:700; }
.pw-panel { background:var(--pw-surface); border:1px solid var(--pw-border); border-radius:var(--pw-radius-panel); }
.pw-panel-title { background:var(--pw-raised); padding:var(--pw-space-3) var(--pw-space-4); border-bottom:1px solid var(--pw-border); border-radius:var(--pw-radius-panel) var(--pw-radius-panel) 0 0; font-weight:600; }
.pw-panel-body { padding:var(--pw-space-4); }
.pw-btn { font:600 var(--pw-size-sm)/1.2 var(--pw-font); min-height:var(--pw-control-height); display:inline-flex; align-items:center; justify-content:center; gap:.5rem; padding:.55rem 1rem; color:var(--pw-text); background:var(--pw-surface); border:1px solid var(--pw-control-border); border-radius:var(--pw-radius); cursor:pointer; }
.pw-btn:hover { background:var(--pw-hover); }
.pw-btn:active { background:var(--pw-raised); }
.pw-btn-primary { background:var(--pw-action); color:var(--pw-on-action); border-color:var(--pw-action); }
.pw-btn-primary:hover { background:var(--pw-action-hover); border-color:var(--pw-action-hover); }
.pw-btn-primary:active { background:var(--pw-action-active); border-color:var(--pw-action-active); }
.pw-btn-danger { color:var(--pw-danger); border-color:var(--pw-danger); }
.pw-btn-danger:hover { background:var(--pw-danger-bg); }
.pw-btn:disabled,.pw-input:disabled { color:var(--pw-disabled); background:var(--pw-disabled-bg); border-color:var(--pw-border); cursor:not-allowed; }
.pw-label { display:block; font-weight:600; font-size:var(--pw-size-sm); margin-bottom:.3rem; }
.pw-input { width:100%; min-height:var(--pw-control-height); padding:.5rem .65rem; font:inherit; color:var(--pw-text); background:var(--pw-inset); border:1px solid var(--pw-control-border); border-radius:var(--pw-radius); }
.pw-input::placeholder { color:var(--pw-muted); opacity:1; }
.pw-input[aria-invalid=true] { border-color:var(--pw-danger); }
.pw-status { display:inline-flex; align-items:center; gap:.45rem; font-size:var(--pw-size-sm); font-weight:600; color:var(--pw-status-color,var(--pw-info)); }
.pw-status::before { content:""; width:.5rem; height:.5rem; border-radius:50%; background:currentColor; flex:none; }
.pw-success { --pw-status-color:var(--pw-success); --pw-status-bg:var(--pw-success-bg); }
.pw-warning { --pw-status-color:var(--pw-warning); --pw-status-bg:var(--pw-warning-bg); }
.pw-danger { --pw-status-color:var(--pw-danger); --pw-status-bg:var(--pw-danger-bg); }
.pw-info { --pw-status-color:var(--pw-info); --pw-status-bg:var(--pw-info-bg); }
.pw-inactive { --pw-status-color:var(--pw-inactive); --pw-status-bg:var(--pw-info-bg); }
.pw-alert { border-inline-start:3px solid var(--pw-status-color,var(--pw-info)); background:var(--pw-status-bg,var(--pw-info-bg)); border-radius:var(--pw-radius); padding:.75rem 1rem; color:var(--pw-text); }
.pw-alert strong { color:var(--pw-status-color,var(--pw-info)); }
.pw-table-wrap { overflow-x:auto; }
.pw-table { width:100%; border-collapse:collapse; text-align:left; font-size:var(--pw-size-sm); }
.pw-table th,.pw-table td { padding:.65rem .85rem; border-bottom:1px solid var(--pw-border); }
.pw-table th { background:var(--pw-raised); color:var(--pw-text); font-weight:600; white-space:nowrap; }
.pw-table tbody tr:nth-child(even) { background:var(--pw-canvas); }
.pw-table tbody tr:hover { background:var(--pw-hover); }
.pw-table tbody tr[aria-selected=true] { color:var(--pw-on-selection); background:var(--pw-selection); }
.pw-nav { display:flex; flex-wrap:wrap; gap:1.25rem; border-bottom:1px solid var(--pw-border); }
.pw-nav a { padding:.65rem .15rem; text-decoration:none; color:var(--pw-muted); border-bottom:2px solid transparent; }
.pw-nav a[aria-current=page] { color:var(--pw-text); border-bottom-color:var(--pw-action); font-weight:600; }
@media (pointer:coarse) { .pw-btn,.pw-input { min-height:44px; } .pw-table td { padding-block:.85rem; } }
@media (forced-colors:active) {
 .pw-app :focus-visible { outline:2px solid Highlight; }
 .pw-btn,.pw-input,.pw-panel,.pw-alert { border:1px solid ButtonText; }
 .pw-status::before { background:CanvasText; }
 .pw-nav a[aria-current=page] { border-color:Highlight; }
}
.pw-btn-primary,.pw-btn-primary:hover,.pw-btn-primary:active { border-color:var(--pw-control-border); }

</style>
<style>
  .shell{max-width:1280px;margin:auto;padding:32px}
  .top{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}
  .meta,.eyebrow{font:400 .76rem/1.4 var(--pw-mono);letter-spacing:.07em;text-transform:uppercase;color:var(--pw-muted)}
  .intro{display:grid;grid-template-columns:1.3fr 1fr;gap:32px;margin:36px 0;align-items:end}
  .hero-title{font-size:clamp(2.6rem,5vw,4.4rem)!important;font-weight:700!important;letter-spacing:-.06em;line-height:1!important}
  .intro p{max-width:560px;color:var(--pw-muted);margin-bottom:0}
  .swatches{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
  .swatch{border:1px solid var(--pw-border);border-radius:4px;overflow:hidden}
  .swatch span{display:block;height:44px}
  .swatch div{padding:6px;background:var(--pw-surface);font-size:12px}
  .swatch code{display:block;color:var(--pw-muted);font-size:10px}
  .toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:20px 0 12px}
  .group{display:flex;gap:4px;flex-wrap:wrap}
  .group button[aria-pressed=true]{border-color:var(--pw-focus);background:var(--pw-raised)}
  .specimen{border:1px solid var(--pw-border);border-radius:6px;background:var(--pw-canvas);overflow:hidden}
  .specimen header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
  .specimen .inside{padding:24px}
  .specimen h2{margin-top:8px}
  .stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0}
  .stat{padding:16px;border:1px solid var(--pw-border);background:var(--pw-surface);border-radius:4px}
  .stat strong{display:block;font:600 2.1rem/1.1 var(--pw-font);font-variant-numeric:tabular-nums;margin-top:8px}
  .stat-line{margin-top:14px;height:2px;background:var(--pw-border)}
  .stat:first-child .stat-line{background:var(--pw-brand-signal)}
  .form-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:12px}
  .form-actions{display:flex;gap:10px;align-items:center;justify-content:flex-end;margin-top:16px}
  .status-row{margin:14px 0}
  .specimen footer{display:flex;justify-content:space-between;background:var(--pw-surface);padding:12px 24px;gap:12px;border-top:1px solid var(--pw-border)}
  .doc-grid{display:grid;grid-template-columns:180px 1fr;gap:24px}
  .doc-grid aside{border-right:1px solid var(--pw-border);font-size:14px}
  .doc-grid aside p{margin:0 0 12px}
  .doc-grid article{max-width:720px}
  .doc-grid pre{background:var(--pw-inset);border:1px solid var(--pw-border);padding:18px;overflow:auto}
  .pw-alert{margin:12px 0}
  .catalog{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:24px}
  .catalog .pw-panel{padding:20px}
  .catalog h3{margin-top:18px}
  .catalog p{color:var(--pw-muted)}
  .typography{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:28px}
  .typography article{padding:20px}
  .specimen [hidden]{display:none!important}
  @media(max-width:800px){.shell{padding:16px}.intro{grid-template-columns:1fr;gap:20px}.doc-grid{grid-template-columns:1fr}.doc-grid aside{border-right:none;border-bottom:1px solid var(--pw-border)}.catalog{grid-template-columns:1fr}.typography{grid-template-columns:1fr}.specimen .inside{padding:16px}}
  @media(max-width:520px){.stats{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.swatches{grid-template-columns:repeat(2,1fr)}}
</style>
</head>
<body class="pw-app">
<main class="shell">
<header class="top"><div><div class="pw-wordmark preview-brand"><svg class="brand-symbol" viewBox="0 0 150 120" aria-hidden="true" focusable="false"><path fill="#C12735" d="M12 49L49 12H94L70 36H58L45 49ZM138 71L101 108H56L80 84H92L105 71Z"/><path fill="var(--pw-logo-neutral)" d="M24 94L57 61H82L49 94ZM68 53L101 20H126L93 53Z"/></svg><div><span>PACKET</span>WARRIORS</div></div><div class="eyebrow">Design system / 01</div></div><div class="group" role="group" aria-label="Appearance"><button class="pw-btn" data-theme="light" aria-pressed="false">Light</button><button class="pw-btn" data-theme="dark" aria-pressed="true">Dark</button><button class="pw-btn" data-theme="auto" aria-pressed="false">System</button></div></header>
<section class="intro"><div><div class="eyebrow">Precision industrial · Carbon &amp; Signal</div><h1 class="hero-title">Built for<br>the signal.</h1><p>Independent engineering for amateur radio. Warm neutrals, deliberate red markings, instrument amber, and Jade for operational feedback.</p></div><div class="swatches" id="swatches"></div></section>
<div class="toolbar"><div class="group" role="group" aria-label="Select product specimen">
<button class="pw-btn" data-view="observatory" aria-pressed="true">Observatory</button><button class="pw-btn" data-view="logger" aria-pressed="false">Logger</button><button class="pw-btn" data-view="qsl" aria-pressed="false">QSL</button><button class="pw-btn" data-view="docs" aria-pressed="false">Docs</button><button class="pw-btn" data-view="home" aria-pressed="false">Brand site</button></div><span class="meta">Illustrative data · not connected to a radio</span></div>
<section class="specimen" id="specimen">
<header class="pw-header"><div><div class="meta">Packet Warriors / Software</div><div class="pw-wordmark" id="productTitle"><span class="observatory-lockup"><svg class="observatory-symbol" viewBox="0 0 100 100" aria-hidden="true" focusable="false"><path d="M12 12H44V26H26V44H12ZM88 88H56V74H74V56H88Z" fill="var(--pw-logo-neutral)" fill-rule="evenodd"/><path d="M56 12H88V44H74V26H56ZM12 56H26V74H44V88H12Z" fill="#C12735" fill-rule="evenodd"/><path d="M38 38H62V62H38Z" fill="var(--pw-logo-neutral)" fill-rule="evenodd"/></svg><span><b>XLX</b> OBSERVATORY</span></span></div></div><span class="pw-status pw-success">Server online</span></header>
<div class="inside" id="view"></div>
<footer><div class="pw-wordmark preview-brand" style="font-size:14px"><svg class="brand-symbol" viewBox="0 0 150 120" aria-hidden="true" focusable="false"><path fill="#C12735" d="M12 49L49 12H94L70 36H58L45 49ZM138 71L101 108H56L80 84H92L105 71Z"/><path fill="var(--pw-logo-neutral)" d="M24 94L57 61H82L49 94ZM68 53L101 20H126L93 53Z"/></svg><div><span>PACKET</span>WARRIORS</div></div><span class="meta">N8EI / Engineering tools</span></footer>
</section>
<section class="typography">
<article class="pw-panel"><div class="eyebrow">01 / Typography</div><h2>IBM Plex Sans</h2><p style="font-size:1.25rem">Engineering clarity. Human character.</p><p class="pw-muted">400 body · 600 controls/headings · 700 wordmarks</p><code>IBM Plex Mono: N8EI / 145.250 MHz / 18:42:07 UTC</code></article>
<article class="pw-panel"><div class="eyebrow">02 / Semantic states</div><h2>Signals, not decoration</h2><div style="display:flex;flex-wrap:wrap;gap:12px"><span class="pw-status pw-success">Connected</span><span class="pw-status pw-warning">Attention</span><span class="pw-status pw-danger">Failed</span><span class="pw-status pw-inactive">Idle</span></div><div class="pw-alert pw-success"><strong>Success:</strong> operation complete.</div><button class="pw-btn" disabled>Disabled</button> <button class="pw-btn pw-btn-danger" type="button" id="demoDanger">Danger example</button></article>
</section>
<p class="meta">Carbon &amp; Signal · v1.0 / Local offline specimen · Font uses installed IBM Plex or system fallback</p>
</main>
<script>
const root=document.documentElement, view=document.getElementById('view'), specimen=document.getElementById('specimen'), title=document.getElementById('productTitle');
const palette=[['Carbon','#171715'],['Graphite','#2E2E2A'],['Pewter','#B8B5AB'],['Porcelain','#F2EFE9'],['Signal Red','#C12735'],['Amber','#DAB16B'],['Jade','#50B39A'],['Copper','#C79A80']];
document.getElementById('swatches').innerHTML=palette.map(([n,c])=>'<div class="swatch"><span style="background:'+c+'"></span><div>'+n+'<code>'+c+'</code></div></div>').join('');
for(const b of document.querySelectorAll('[data-theme]'))b.addEventListener('click',()=>{root.dataset.pwTheme=b.dataset.theme;document.querySelectorAll('[data-theme]').forEach(x=>x.setAttribute('aria-pressed',String(x===b)))});
const stats=items=>'<div class="stats">'+items.map(([n,v])=>'<div class="stat"><span class="pw-muted">'+n+'</span><strong>'+v+'</strong><div class="stat-line"></div></div>').join('')+'</div>';
const table=(headers,rows)=>'<div class="pw-panel pw-table-wrap"><table class="pw-table"><thead><tr>'+headers.map(h=>'<th scope="col">'+h+'</th>').join('')+'</tr></thead><tbody>'+rows.map(row=>'<tr>'+row.map((c,i)=>'<td'+(i===0?' class="pw-mono"':'')+'>'+c+'</td>').join('')+'</tr>').join('')+'</tbody></table></div>';
const status=(s,t)=>'<span class="pw-status pw-'+s+'">'+t+'</span>';
const screens={
observatory:()=>'<div class="eyebrow">XLX720 / Network overview</div><h2>Reflector activity</h2>'+stats([['Connected nodes','24'],['On air','03'],['Active peers','12']])+'<h3>Recently heard stations</h3>'+table(['Callsign','Module','Protocol','Status','Last heard UTC'],[['N8EI','A','DMR',status('success','On air'),'18:42:07'],['W8WKY','B','D-Star',status('inactive','Idle'),'18:40:12'],['K8OH','A','YSF',status('success','Connected'),'18:38:45'],['W1AW','C','D-Star',status('inactive','Idle'),'18:35:20']]),
logger:()=>'<div class="eyebrow">W8WKY / Operating station 02</div><h2>Field Day operations</h2>'+stats([['Contacts','248'],['Points','496'],['Sections','42']])+'<form class="pw-panel" id="loggerForm"><div class="pw-panel-title">Log contact</div><div class="pw-panel-body"><div class="form-grid"><div><label class="pw-label" for="call">Callsign</label><input class="pw-input pw-mono" id="call" required placeholder="N8EI" maxlength="16" autocomplete="off"></div><div><label class="pw-label" for="class">Class</label><input class="pw-input pw-mono" id="class" required value="2A"></div><div><label class="pw-label" for="section">Section</label><input class="pw-input pw-mono" id="section" required value="OH"></div></div><div class="form-actions"><button class="pw-btn pw-btn-primary" type="submit">Log contact ↵</button></div></div></form><div class="pw-alert pw-info" id="loggerStatus" role="status">Sample form: keyboard through the fields and press Enter.</div><h3>Recent contacts</h3>'+table(['Callsign','Band','Mode','Time UTC'],[['W1AW','20m','CW','18:42'],['K8OH','40m','SSB','18:39'],['N4ABC','20m','FT8','18:36']]),
qsl:()=>'<div class="eyebrow">Contact confirmation</div><h2>Find your QSL card</h2><form class="pw-panel" id="qslForm"><div class="pw-panel-body"><label for="qslcall" class="pw-label">Your callsign</label><div style="display:flex;gap:8px"><input id="qslcall" class="pw-input pw-mono" value="N8EI" required><button type="submit" class="pw-btn pw-btn-primary">Search</button></div></div></form><div class="pw-alert pw-success" role="status" id="qslStatus"><strong>3 matching contacts found</strong> — sample data</div>'+table(['Callsign','Band','Mode','Date'],[['N8EI','20m','CW','Oct 12'],['N8EI','40m','SSB','Oct 12'],['N8EI','15m','FT8','Oct 13']])+'<p class="pw-muted">Preview only; no card will be issued.</p>',
docs:()=>'<div class="doc-grid"><aside><div class="eyebrow">Documentation</div><p>Overview</p><p><strong>Installation</strong></p><p>Configuration</p><p>Operations</p></aside><article><div class="eyebrow">XLX Observatory / Setup</div><h2>Installing Observatory</h2><p>Configure the service and verify that the dashboard is listening on its local port.</p><pre><code>systemctl status xlx-observatory</code></pre><div class="pw-alert pw-success"><strong>Success</strong><br>Service is active and running.</div><div class="pw-alert pw-warning"><strong>Important</strong><br>Ensure the reverse proxy supports server-sent events.</div><div class="pw-alert pw-danger"><strong>Caution</strong><br>Preserve your reflector directory registration hash.</div></article></div>',
home:()=>'<div class="eyebrow">Independent engineering / Amateur radio</div><h2 style="font-size:2.4rem;letter-spacing:-.04em">Purpose-built radio software.</h2><p class="pw-muted">Practical tools for operating, logging, confirming and monitoring radio communications.</p><div class="catalog">'+[['Firefly Logger','Field operations and logging','--pw-firefly','logger'],['Firefly QSL','Contact confirmation and printable cards','--pw-firefly','qsl'],['XLX Observatory','Digital voice network monitoring','--pw-brand-signal','observatory']].map(([n,d,c,id])=>'<article class="pw-panel"><div style="height:3px;background:var('+c+')"></div><h3>'+n+'</h3><p>'+d+'</p><button class="pw-btn" data-jump="'+id+'">View specimen</button></article>').join('')+'<article class="pw-panel"><div style="height:3px;background:var(--pw-brand-signal)"></div><h3 style="display:flex;align-items:center;gap:8px"><svg class="utility-symbol" viewBox="0 0 100 100" aria-hidden="true" focusable="false"><path d="M10 20H44V34H24V56H10ZM90 80H56V66H76V44H90Z" fill="var(--pw-logo-neutral)" fill-rule="evenodd"/><path d="M31 42H64V27H78V56H45V73H31Z" fill="#C12735" fill-rule="evenodd"/></svg><span>Fwd<b class="red-text">Fix</b></span></h3><p>Mail forwarding and authentication mitigation.</p><a class="pw-btn" href="https://github.com/jxmx/FwdFix">Project repository</a></article><article class="pw-panel"><div style="height:3px;background:var(--pw-brand-signal)"></div><h3 style="display:flex;align-items:center;gap:8px"><svg class="utility-symbol" viewBox="0 0 100 100" aria-hidden="true" focusable="false"><path d="M10 18H30V30H10ZM70 18H90V30H70ZM10 70H30V82H10ZM70 70H90V82H70Z" fill="var(--pw-logo-neutral)" fill-rule="evenodd"/><path d="M8 48H35V12H49V48H92V62H35V26H49V62H8Z" fill="#C12735" fill-rule="evenodd"/></svg><span><b class="red-text">GPS</b> CLOCK DASH</span></h3><p>GPS-derived precision timing and synchronization monitoring.</p><a class="pw-btn" href="https://gitweb.mfamily.org/gps-clock-dash/">Project repository</a></article></div>'
};
function show(id){specimen.dataset.pwProduct=['logger','qsl'].includes(id)?'firefly':'packet';title.innerHTML={observatory:'<span class="observatory-lockup"><svg class="observatory-symbol" viewBox="0 0 100 100" aria-hidden="true" focusable="false"><path d="M12 12H44V26H26V44H12ZM88 88H56V74H74V56H88Z" fill="var(--pw-logo-neutral)" fill-rule="evenodd"/><path d="M56 12H88V44H74V26H56ZM12 56H26V74H44V88H12Z" fill="#C12735" fill-rule="evenodd"/><path d="M38 38H62V62H38Z" fill="var(--pw-logo-neutral)" fill-rule="evenodd"/></svg><span><b>XLX</b> OBSERVATORY</span></span>',logger:'<span class="firefly-lockup"><svg class="firefly-symbol" viewBox="0 0 100 100" aria-hidden="true" focusable="false"><path d="M39 15H61V30H39Z" fill="var(--pw-logo-neutral)"/><path d="M12 23H29L33 39V52H24Z" fill="var(--pw-logo-neutral)"/><path d="M88 23H71L67 39V52H76Z" fill="var(--pw-logo-neutral)"/><path d="M39 36H61V66L50 82L39 66Z" fill="var(--pw-firefly)"/></svg><span><b class="pw-product-mark">FIREFLY</b> LOGGER</span></span>',qsl:'<span class="firefly-lockup"><svg class="firefly-symbol" viewBox="0 0 100 100" aria-hidden="true" focusable="false"><path d="M39 15H61V30H39Z" fill="var(--pw-logo-neutral)"/><path d="M12 23H29L33 39V52H24Z" fill="var(--pw-logo-neutral)"/><path d="M88 23H71L67 39V52H76Z" fill="var(--pw-logo-neutral)"/><path d="M39 36H61V66L50 82L39 66Z" fill="var(--pw-firefly)"/></svg><span><b class="pw-product-mark">FIREFLY</b> QSL</span></span>',docs:'<span>PACKET</span>WARRIORS / DOCS',home:'<span>PACKET</span>WARRIORS'}[id];view.innerHTML=screens[id]();document.querySelectorAll('[data-view]').forEach(b=>b.setAttribute('aria-pressed',String(b.dataset.view===id)));view.querySelectorAll('[data-jump]').forEach(b=>b.addEventListener('click',()=>{show(b.dataset.jump);document.querySelector('[data-view="'+b.dataset.jump+'"]').focus()}));document.getElementById('loggerForm')?.addEventListener('submit',e=>{e.preventDefault();const input=document.getElementById('call'),out=document.getElementById('loggerStatus');out.className='pw-alert pw-success';out.textContent='✓ Sample contact logged: '+input.value.toUpperCase();input.value='';input.focus()});document.getElementById('qslForm')?.addEventListener('submit',e=>{e.preventDefault();document.getElementById('qslStatus').textContent='Sample lookup for '+document.getElementById('qslcall').value.toUpperCase()+' — no live lookup performed.'})}
document.querySelectorAll('[data-view]').forEach(b=>b.addEventListener('click',()=>show(b.dataset.view)));document.getElementById('demoDanger').addEventListener('click',()=>alert('Destructive action styling example only. Nothing was changed.'));const initial=location.hash.slice(1);show(Object.hasOwn(screens,initial)?initial:'observatory');
</script>
</body></html>