Asmitha-28 commited on
Commit
ee0642e
·
verified ·
1 Parent(s): 4aae0d9

Add interactive PTIS walkthrough

Browse files
Files changed (3) hide show
  1. clear.css +1725 -1446
  2. clear.js +395 -272
  3. index.html +144 -101
clear.css CHANGED
@@ -1,1446 +1,1725 @@
1
- @import url("https://fonts.googleapis.com/css2?family=Inter:wght@500;600;700;800;900&family=Inter+Tight:wght@700;800;900&display=swap");
2
-
3
- :root {
4
- color-scheme: light;
5
- --bg: #f8fbff;
6
- --panel: #ffffff;
7
- --ink: #0f172a;
8
- --muted: #3f4d63;
9
- --soft: #eef5ff;
10
- --line: #d8e5f5;
11
- --line-strong: #c8d8ee;
12
- --blue: #185cf5;
13
- --blue-2: #2d7bff;
14
- --green: #19b65a;
15
- --violet: #6d35ff;
16
- --shadow: 0 24px 70px rgba(22, 65, 148, .14);
17
- --shadow-soft: 0 14px 34px rgba(22, 65, 148, .09);
18
- }
19
-
20
- * { box-sizing: border-box; }
21
- html { scroll-behavior: smooth; }
22
- body {
23
- margin: 0;
24
- background:
25
- radial-gradient(circle at 16% 18%, rgba(37, 99, 235, .06), transparent 34%),
26
- radial-gradient(circle at 78% 18%, rgba(45, 123, 255, .045), transparent 30%),
27
- var(--bg);
28
- color: var(--ink);
29
- font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
30
- letter-spacing: 0;
31
- }
32
- a { color: inherit; text-decoration: none; }
33
- svg { display: block; }
34
-
35
- .topbar {
36
- min-height: 88px;
37
- display: flex;
38
- align-items: center;
39
- justify-content: space-between;
40
- gap: 24px;
41
- padding: 18px clamp(28px, 4vw, 54px);
42
- border-bottom: 1px solid var(--line);
43
- background: rgba(248, 251, 255, .88);
44
- backdrop-filter: blur(16px);
45
- }
46
- .brand {
47
- display: inline-flex;
48
- align-items: center;
49
- justify-content: center;
50
- min-width: 77px;
51
- min-height: 48px;
52
- padding: 10px 13px;
53
- border: 1px solid var(--line-strong);
54
- border-radius: 10px;
55
- background: rgba(255, 255, 255, .74);
56
- color: var(--blue);
57
- font-family: "Inter Tight", "Inter", sans-serif;
58
- font-size: 24px;
59
- font-weight: 900;
60
- line-height: 1;
61
- }
62
- nav {
63
- display: flex;
64
- align-items: center;
65
- gap: clamp(18px, 2.6vw, 44px);
66
- font-weight: 850;
67
- }
68
- nav a {
69
- color: #111b31;
70
- font-size: 16px;
71
- white-space: nowrap;
72
- }
73
- .dashboard-link {
74
- min-height: 48px;
75
- display: inline-flex;
76
- align-items: center;
77
- gap: 11px;
78
- padding: 0 22px;
79
- border-radius: 9px;
80
- background: var(--blue);
81
- color: #ffffff;
82
- box-shadow: 0 12px 28px rgba(24, 92, 245, .24);
83
- }
84
- .dashboard-link svg {
85
- width: 18px;
86
- height: 18px;
87
- stroke: currentColor;
88
- stroke-width: 2.4;
89
- fill: none;
90
- stroke-linecap: round;
91
- stroke-linejoin: round;
92
- }
93
-
94
- main {
95
- width: 100%;
96
- margin: 0;
97
- padding: 28px clamp(20px, 3vw, 54px) 56px;
98
- }
99
- .hero {
100
- display: grid;
101
- grid-template-columns: minmax(430px, .68fr) minmax(620px, 1.05fr);
102
- gap: clamp(44px, 5vw, 74px);
103
- align-items: center;
104
- min-height: 770px;
105
- }
106
- .hero-copy {
107
- max-width: 560px;
108
- }
109
- .eyebrow {
110
- position: relative;
111
- margin: 0 0 28px;
112
- color: var(--blue);
113
- font-size: 14px;
114
- font-weight: 900;
115
- text-transform: uppercase;
116
- }
117
- .hero-copy > .eyebrow::after {
118
- content: "";
119
- position: absolute;
120
- left: 0;
121
- bottom: -12px;
122
- width: 184px;
123
- height: 1px;
124
- background: linear-gradient(90deg, var(--blue) 0 34px, #cfddf0 34px 100%);
125
- }
126
- h1, h2, h3, p { margin-top: 0; }
127
- h1 {
128
- margin: 0 0 24px;
129
- max-width: 560px;
130
- color: var(--ink);
131
- font-family: "Inter Tight", "Inter", sans-serif;
132
- font-size: clamp(52px, 4.65vw, 72px);
133
- line-height: 1.08;
134
- font-weight: 900;
135
- letter-spacing: 0;
136
- }
137
- .accent-text { color: var(--blue); }
138
- .lead {
139
- max-width: 610px;
140
- margin: 0 0 40px;
141
- color: var(--muted);
142
- font-size: clamp(17px, 1.25vw, 20px);
143
- line-height: 1.45;
144
- font-weight: 550;
145
- }
146
- .hero-actions {
147
- display: flex;
148
- flex-wrap: wrap;
149
- gap: 18px;
150
- margin-bottom: 36px;
151
- }
152
- .primary-action,
153
- .secondary-action {
154
- min-height: 60px;
155
- display: inline-flex;
156
- align-items: center;
157
- justify-content: center;
158
- gap: 12px;
159
- padding: 0 28px;
160
- border-radius: 999px;
161
- font-size: 16px;
162
- font-weight: 900;
163
- }
164
- .primary-action {
165
- background: linear-gradient(135deg, #0d55ff, #2d7bff);
166
- color: #ffffff;
167
- box-shadow: 0 18px 36px rgba(24, 92, 245, .27);
168
- }
169
- .secondary-action {
170
- border: 1px solid var(--line-strong);
171
- background: rgba(255, 255, 255, .72);
172
- color: #111827;
173
- }
174
- .primary-action svg,
175
- .secondary-action svg {
176
- width: 21px;
177
- height: 21px;
178
- stroke: currentColor;
179
- fill: none;
180
- stroke-width: 2.4;
181
- stroke-linecap: round;
182
- stroke-linejoin: round;
183
- }
184
- .primary-action svg { fill: currentColor; stroke: none; }
185
- .proof-ribbon {
186
- display: flex;
187
- flex-wrap: wrap;
188
- gap: 14px;
189
- }
190
- .proof-ribbon span {
191
- min-height: 50px;
192
- display: inline-flex;
193
- align-items: center;
194
- gap: 10px;
195
- padding: 0 17px;
196
- border: 1px solid var(--line-strong);
197
- border-radius: 999px;
198
- background: rgba(255, 255, 255, .66);
199
- color: #243247;
200
- font-size: 14px;
201
- font-weight: 750;
202
- box-shadow: var(--shadow-soft);
203
- }
204
- .proof-ribbon svg {
205
- width: 24px;
206
- height: 24px;
207
- stroke: currentColor;
208
- fill: none;
209
- stroke-width: 2.2;
210
- stroke-linecap: round;
211
- stroke-linejoin: round;
212
- }
213
- .proof-ribbon span:nth-child(1) svg { color: var(--green); }
214
- .proof-ribbon span:nth-child(2) svg { color: var(--blue); }
215
- .proof-ribbon span:nth-child(3) svg { color: var(--violet); }
216
-
217
- .route-stage {
218
- min-width: 0;
219
- padding: 28px 14px 14px;
220
- border: 1px solid var(--line-strong);
221
- border-radius: 20px;
222
- background: rgba(255, 255, 255, .58);
223
- box-shadow: var(--shadow);
224
- }
225
- .route-card-head {
226
- display: flex;
227
- align-items: flex-start;
228
- justify-content: space-between;
229
- gap: 20px;
230
- padding: 0 18px 22px;
231
- }
232
- .route-card-head h2 {
233
- margin: 0 0 12px;
234
- color: var(--ink);
235
- font-family: "Inter Tight", "Inter", sans-serif;
236
- font-size: 25px;
237
- line-height: 1.05;
238
- font-weight: 900;
239
- }
240
- .route-path {
241
- display: flex;
242
- align-items: center;
243
- gap: 17px;
244
- color: #111827;
245
- font-size: 16px;
246
- }
247
- .route-path strong { font-weight: 900; }
248
- .solid-dot {
249
- width: 13px;
250
- height: 13px;
251
- border-radius: 999px;
252
- background: #0f172a;
253
- }
254
- .ring-dot {
255
- width: 17px;
256
- height: 17px;
257
- border: 4px solid var(--blue);
258
- border-radius: 999px;
259
- background: #ffffff;
260
- }
261
- .arrow {
262
- color: #64748b;
263
- font-size: 24px;
264
- font-weight: 800;
265
- }
266
- .distance-pill {
267
- flex: 0 0 auto;
268
- min-height: 40px;
269
- display: inline-flex;
270
- align-items: center;
271
- gap: 9px;
272
- padding: 0 15px;
273
- border: 1px solid #b9cdf2;
274
- border-radius: 999px;
275
- background: #f2f7ff;
276
- color: var(--blue);
277
- font-size: 15px;
278
- font-weight: 900;
279
- white-space: nowrap;
280
- }
281
- .distance-pill svg {
282
- width: 19px;
283
- height: 19px;
284
- stroke: currentColor;
285
- fill: none;
286
- stroke-width: 2.3;
287
- stroke-linecap: round;
288
- stroke-linejoin: round;
289
- }
290
- .map-frame {
291
- position: relative;
292
- height: 635px;
293
- overflow: hidden;
294
- border: 1px solid var(--line-strong);
295
- border-radius: 14px;
296
- background: #eef5fb;
297
- }
298
- .map,
299
- .fallback-map {
300
- position: absolute;
301
- inset: 0;
302
- width: 100%;
303
- height: 100%;
304
- }
305
- .map {
306
- z-index: 1;
307
- opacity: 0;
308
- transition: opacity .2s ease;
309
- }
310
- .map-ready .map { opacity: 1; }
311
- .fallback-map {
312
- z-index: 0;
313
- background:
314
- linear-gradient(rgba(24, 92, 245, .045) 1px, transparent 1px),
315
- linear-gradient(90deg, rgba(24, 92, 245, .04) 1px, transparent 1px),
316
- #eef5fb;
317
- background-size: 48px 48px;
318
- }
319
- .map-ready .fallback-map { display: none; }
320
- .fallback-route-shadow {
321
- fill: none;
322
- stroke: rgba(15, 23, 42, .18);
323
- stroke-width: 13;
324
- stroke-linecap: round;
325
- stroke-linejoin: round;
326
- }
327
- .fallback-route-line {
328
- fill: none;
329
- stroke: var(--blue);
330
- stroke-width: 6;
331
- stroke-linecap: round;
332
- stroke-linejoin: round;
333
- }
334
- .fallback-node {
335
- fill: #0f172a;
336
- stroke: #ffffff;
337
- stroke-width: 5;
338
- }
339
- .fallback-node.active,
340
- .fallback-node.target { fill: var(--blue); }
341
- .fallback-label {
342
- fill: #111827;
343
- paint-order: stroke;
344
- stroke: #ffffff;
345
- stroke-width: 5px;
346
- font-size: 13px;
347
- font-weight: 900;
348
- }
349
- .decision-card {
350
- position: absolute;
351
- left: 18px;
352
- bottom: 18px;
353
- z-index: 4;
354
- width: 318px;
355
- padding: 17px 18px 16px;
356
- border: 1px solid var(--line);
357
- border-radius: 15px;
358
- background: rgba(255, 255, 255, .94);
359
- box-shadow: 0 18px 42px rgba(22, 65, 148, .14);
360
- backdrop-filter: blur(10px);
361
- }
362
- .decision-card span {
363
- display: block;
364
- margin-bottom: 7px;
365
- color: var(--blue);
366
- font-size: 11px;
367
- font-weight: 900;
368
- text-transform: uppercase;
369
- }
370
- .belief-line {
371
- display: flex;
372
- align-items: baseline;
373
- gap: 10px;
374
- min-width: 0;
375
- }
376
- .belief-line strong {
377
- color: var(--blue);
378
- font-family: "Inter Tight", "Inter", sans-serif;
379
- font-size: 38px;
380
- line-height: .95;
381
- font-weight: 900;
382
- }
383
- .belief-line b {
384
- min-width: 0;
385
- color: var(--ink);
386
- font-family: "Inter Tight", "Inter", sans-serif;
387
- font-size: 27px;
388
- line-height: 1;
389
- font-weight: 900;
390
- }
391
- .belief-track {
392
- height: 9px;
393
- margin: 10px 0 11px;
394
- overflow: hidden;
395
- border-radius: 999px;
396
- background: #e5eaf2;
397
- }
398
- .belief-track i {
399
- display: block;
400
- width: 0;
401
- height: 100%;
402
- border-radius: inherit;
403
- background: linear-gradient(90deg, #185cf5, #2d7bff);
404
- }
405
- .decision-card p {
406
- margin: 0;
407
- color: #344258;
408
- font-size: 12.5px;
409
- line-height: 1.42;
410
- font-weight: 550;
411
- }
412
- .maplibregl-ctrl-attrib {
413
- color: #0f172a;
414
- font-size: 11px;
415
- }
416
- .maplibregl-ctrl-bottom-right {
417
- right: 11px;
418
- bottom: 9px;
419
- }
420
-
421
- .metric-strip {
422
- display: grid;
423
- grid-template-columns: repeat(4, minmax(0, 1fr));
424
- gap: 0;
425
- margin: 0 0 64px;
426
- padding: 25px 34px;
427
- border: 1px solid var(--line-strong);
428
- border-radius: 16px;
429
- background: rgba(255, 255, 255, .72);
430
- box-shadow: var(--shadow-soft);
431
- }
432
- .metric-strip article {
433
- display: flex;
434
- align-items: center;
435
- gap: 18px;
436
- min-width: 0;
437
- padding: 0 30px;
438
- border-right: 1px solid var(--line);
439
- }
440
- .metric-strip article:first-child { padding-left: 0; }
441
- .metric-strip article:last-child { border-right: 0; padding-right: 0; }
442
- .metric-icon {
443
- flex: 0 0 auto;
444
- width: 64px;
445
- height: 64px;
446
- display: grid;
447
- place-items: center;
448
- border: 1px solid #bdd0f4;
449
- border-radius: 16px;
450
- background: #eef5ff;
451
- color: var(--blue);
452
- }
453
- .metric-icon svg {
454
- width: 34px;
455
- height: 34px;
456
- stroke: currentColor;
457
- fill: none;
458
- stroke-width: 2.3;
459
- stroke-linecap: round;
460
- stroke-linejoin: round;
461
- }
462
- .metric-icon.check {
463
- background: var(--blue);
464
- color: #ffffff;
465
- }
466
- .metric-strip span {
467
- display: block;
468
- margin-bottom: 7px;
469
- color: #43516a;
470
- font-size: 13px;
471
- font-weight: 750;
472
- }
473
- .metric-strip strong {
474
- display: block;
475
- margin-bottom: 4px;
476
- color: var(--ink);
477
- font-size: 24px;
478
- font-weight: 900;
479
- line-height: 1;
480
- }
481
- .metric-strip p {
482
- margin: 0;
483
- color: #344258;
484
- font-size: 13px;
485
- }
486
-
487
- .section {
488
- padding: 48px 0;
489
- border-top: 1px solid var(--line);
490
- }
491
- .section-title {
492
- max-width: 760px;
493
- margin-bottom: 18px;
494
- }
495
- .section-title.compact { max-width: 720px; }
496
- .section-title h2,
497
- .boundary-card h2 {
498
- margin: 0;
499
- color: var(--ink);
500
- font-family: "Inter Tight", "Inter", sans-serif;
501
- font-size: clamp(28px, 3vw, 42px);
502
- line-height: 1.08;
503
- font-weight: 900;
504
- }
505
- .decision-flow,
506
- .proof-grid,
507
- .boundary-columns {
508
- display: grid;
509
- gap: 14px;
510
- }
511
- .decision-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
512
- .proof-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
513
- .boundary-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 22px; }
514
- .decision-flow article,
515
- .proof-grid article,
516
- .boundary-columns article,
517
- .boundary-card {
518
- border: 1px solid var(--line-strong);
519
- border-radius: 14px;
520
- background: rgba(255, 255, 255, .72);
521
- box-shadow: var(--shadow-soft);
522
- }
523
- .decision-flow article { min-height: 172px; padding: 20px; }
524
- .proof-grid article { min-height: 148px; padding: 17px; }
525
- .boundary-card { padding: 28px; }
526
- .boundary-columns article { padding: 18px; box-shadow: none; }
527
- .decision-flow article > span {
528
- width: 36px;
529
- height: 36px;
530
- display: grid;
531
- place-items: center;
532
- margin-bottom: 18px;
533
- border-radius: 999px;
534
- background: #eef5ff;
535
- color: var(--blue);
536
- font-weight: 900;
537
- }
538
- .decision-flow h3,
539
- .boundary-columns h3 {
540
- margin: 0 0 8px;
541
- color: var(--ink);
542
- font-size: 19px;
543
- font-weight: 900;
544
- }
545
- .decision-flow p,
546
- .boundary-columns p,
547
- .proof-grid p {
548
- margin: 0;
549
- color: #4b5b72;
550
- line-height: 1.48;
551
- }
552
- .proof-grid span {
553
- display: block;
554
- min-height: 30px;
555
- color: #4b5b72;
556
- font-size: 11px;
557
- font-weight: 900;
558
- text-transform: uppercase;
559
- }
560
- .proof-grid strong {
561
- display: block;
562
- margin: 11px 0 9px;
563
- color: var(--blue);
564
- font-size: clamp(23px, 2.1vw, 34px);
565
- line-height: .98;
566
- font-weight: 900;
567
- overflow-wrap: anywhere;
568
- }
569
- .proof-grid p { font-size: 13px; }
570
- .boundary-card .eyebrow { color: var(--blue); }
571
- .boundary-columns article:first-child h3 { color: #0f9f59; }
572
- .boundary-columns article:last-child h3 { color: #b7791f; }
573
-
574
- @media (max-width: 1260px) {
575
- .hero { grid-template-columns: 1fr; min-height: auto; }
576
- .hero-copy { max-width: 820px; }
577
- h1 { max-width: 840px; }
578
- .metric-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
579
- .metric-strip article:nth-child(2) { border-right: 0; }
580
- .metric-strip article:nth-child(3) { padding-left: 0; }
581
- }
582
-
583
- @media (max-width: 1100px) {
584
- h1 {
585
- max-width: 100%;
586
- font-size: clamp(36px, 5.5vw, 46px);
587
- }
588
- .lead { font-size: 16px; }
589
- .proof-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
590
- }
591
-
592
- @media (max-width: 820px) {
593
- .topbar { align-items: flex-start; flex-direction: column; padding: 16px; }
594
- nav { gap: 10px; flex-wrap: wrap; }
595
- nav a { font-size: 13px; }
596
- .dashboard-link { min-height: 42px; padding: 0 14px; }
597
- main { padding: 18px 12px 42px; }
598
- .hero { gap: 28px; }
599
- h1 { font-size: clamp(34px, 9vw, 44px); }
600
- .lead { font-size: 16px; }
601
- .hero-actions { gap: 10px; }
602
- .primary-action,
603
- .secondary-action { width: 100%; min-height: 52px; }
604
- .route-card-head { flex-direction: column; }
605
- .map-frame { height: 520px; }
606
- .decision-card { left: 10px; right: 10px; bottom: 10px; width: auto; }
607
- .belief-line strong { font-size: 36px; }
608
- .belief-line b { font-size: 25px; }
609
- .metric-strip,
610
- .decision-flow,
611
- .proof-grid,
612
- .boundary-columns { grid-template-columns: 1fr; }
613
- .metric-strip article { border-right: 0; padding: 0; }
614
- }
615
- /* Exact clean flow and proof card polish */
616
- .decision-section {
617
- position: relative;
618
- padding-top: 52px;
619
- padding-bottom: 52px;
620
- }
621
- .decision-section::after {
622
- content: "";
623
- position: absolute;
624
- left: 0;
625
- right: 0;
626
- bottom: 0;
627
- height: 1px;
628
- background: var(--line);
629
- }
630
- .decision-section .section-title {
631
- max-width: 560px;
632
- margin-bottom: 18px;
633
- }
634
- .flow-card {
635
- position: relative;
636
- min-height: 186px;
637
- padding: 25px 26px 24px;
638
- overflow: hidden;
639
- border-radius: 14px;
640
- background: rgba(255, 255, 255, .84);
641
- }
642
- .flow-card::before {
643
- content: "";
644
- position: absolute;
645
- left: 0;
646
- right: 0;
647
- top: 0;
648
- height: 4px;
649
- background: var(--blue);
650
- }
651
- .flow-card.eliminate::before { background: #10aaa1; }
652
- .flow-card.gate::before { background: #20ad54; }
653
- .step-row {
654
- display: flex;
655
- align-items: center;
656
- justify-content: space-between;
657
- gap: 18px;
658
- margin-bottom: 18px;
659
- }
660
- .step-number {
661
- width: 36px;
662
- height: 36px;
663
- display: grid;
664
- place-items: center;
665
- border-radius: 999px;
666
- background: linear-gradient(135deg, #185cf5, #2d7bff);
667
- color: #ffffff;
668
- font-size: 16px;
669
- font-weight: 900;
670
- box-shadow: 0 12px 24px rgba(24, 92, 245, .2);
671
- }
672
- .eliminate .step-number { background: linear-gradient(135deg, #089b95, #17beb5); box-shadow: 0 12px 24px rgba(16, 170, 161, .18); }
673
- .gate .step-number { background: linear-gradient(135deg, #16a34a, #23c365); box-shadow: 0 12px 24px rgba(32, 173, 84, .18); }
674
- .flow-icon {
675
- width: 62px;
676
- height: 62px;
677
- display: grid;
678
- place-items: center;
679
- border-radius: 999px;
680
- background: #ecf3ff;
681
- color: var(--blue);
682
- }
683
- .eliminate .flow-icon { background: #e8f8f7; color: #0f9f98; }
684
- .gate .flow-icon { background: #eaf8ef; color: #16a34a; }
685
- .flow-icon svg {
686
- width: 31px;
687
- height: 31px;
688
- stroke: currentColor;
689
- fill: none;
690
- stroke-width: 2.2;
691
- stroke-linecap: round;
692
- stroke-linejoin: round;
693
- }
694
- .flow-card h3 {
695
- margin-bottom: 9px;
696
- font-family: "Inter Tight", "Inter", sans-serif;
697
- font-size: 22px;
698
- line-height: 1.05;
699
- }
700
- .flow-card p {
701
- max-width: 340px;
702
- color: #3f4d63;
703
- font-size: 14.5px;
704
- line-height: 1.45;
705
- }
706
- .proof-section {
707
- padding-top: 42px;
708
- }
709
- .proof-card {
710
- position: relative;
711
- overflow: hidden;
712
- min-height: 176px;
713
- padding: 20px 16px 18px;
714
- border-radius: 12px;
715
- background: rgba(255, 255, 255, .86);
716
- }
717
- .proof-card::before {
718
- content: "";
719
- position: absolute;
720
- inset: 0 0 auto;
721
- height: 4px;
722
- background: var(--blue);
723
- }
724
- .proof-card::after {
725
- content: "";
726
- position: absolute;
727
- right: -34px;
728
- bottom: -42px;
729
- width: 190px;
730
- height: 120px;
731
- opacity: .45;
732
- background:
733
- radial-gradient(circle at center, currentColor 1px, transparent 1.6px);
734
- background-size: 10px 10px;
735
- transform: rotate(-10deg);
736
- }
737
- .proof-card.suite { color: var(--blue); }
738
- .proof-card.stress { color: #0891b2; }
739
- .proof-card.events { color: #10aaa1; }
740
- .proof-card.safety { color: #20ad54; }
741
- .proof-card.cctv { color: #2d7bff; }
742
- .proof-card.official { color: #df6f00; }
743
- .proof-card.stress::before { background: #0891b2; }
744
- .proof-card.events::before { background: #10aaa1; }
745
- .proof-card.safety::before { background: #20ad54; }
746
- .proof-card.cctv::before { background: #2d7bff; }
747
- .proof-card.official::before { background: #df6f00; }
748
- .proof-card > span {
749
- position: relative;
750
- z-index: 1;
751
- max-width: calc(100% - 58px);
752
- color: #46556e;
753
- }
754
- .proof-card > i {
755
- position: absolute;
756
- right: 14px;
757
- top: 17px;
758
- width: 42px;
759
- height: 42px;
760
- display: grid;
761
- place-items: center;
762
- border-radius: 999px;
763
- background: color-mix(in srgb, currentColor 12%, white);
764
- color: currentColor;
765
- font-style: normal;
766
- }
767
- .proof-card > i svg {
768
- width: 28px;
769
- height: 28px;
770
- stroke: currentColor;
771
- fill: none;
772
- stroke-width: 2.2;
773
- stroke-linecap: round;
774
- stroke-linejoin: round;
775
- }
776
- .proof-card.stress > i svg path:first-child,
777
- .proof-card .primary-action svg { fill: currentColor; }
778
- .proof-card strong {
779
- position: relative;
780
- z-index: 1;
781
- margin-top: 24px;
782
- color: currentColor;
783
- font-family: "Inter Tight", "Inter", sans-serif;
784
- font-size: clamp(24px, 2.1vw, 34px);
785
- letter-spacing: 0;
786
- }
787
- .proof-card p {
788
- position: relative;
789
- z-index: 1;
790
- max-width: 170px;
791
- color: #43516a;
792
- font-size: 12.5px;
793
- line-height: 1.35;
794
- }
795
- .proof-card.cctv strong,
796
- .proof-card.official strong {
797
- font-size: clamp(22px, 1.75vw, 30px);
798
- }
799
- @media (max-width: 1100px) {
800
- h1 {
801
- max-width: 100%;
802
- font-size: clamp(36px, 5.5vw, 46px);
803
- }
804
- .lead { font-size: 16px; }
805
- .proof-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
806
- }
807
-
808
- @media (max-width: 820px) {
809
- .flow-card { min-height: 210px; padding: 28px; }
810
- .flow-icon { width: 64px; height: 64px; }
811
- .proof-card { min-height: 190px; }
812
- }
813
- /* Compact scale correction */
814
- @media (min-width: 1261px) {
815
- .topbar {
816
- min-height: 76px;
817
- padding-top: 14px;
818
- padding-bottom: 14px;
819
- }
820
- main {
821
- padding-top: 18px;
822
- }
823
- .hero {
824
- grid-template-columns: minmax(390px, .62fr) minmax(620px, 1fr);
825
- gap: clamp(26px, 3.1vw, 46px);
826
- min-height: 650px;
827
- align-items: center;
828
- }
829
- .hero-copy {
830
- max-width: 560px;
831
- }
832
- .eyebrow {
833
- margin-bottom: 22px;
834
- font-size: 13px;
835
- }
836
- .hero-copy > .eyebrow::after {
837
- bottom: -10px;
838
- width: 142px;
839
- }
840
- h1 {
841
- max-width: 560px;
842
- margin-bottom: 18px;
843
- font-size: clamp(40px, 3.35vw, 56px);
844
- line-height: 1.07;
845
- }
846
- .lead {
847
- max-width: 540px;
848
- margin-bottom: 18px;
849
- font-size: clamp(15px, 1.02vw, 18px);
850
- line-height: 1.5;
851
- }
852
- .hero-actions {
853
- gap: 12px;
854
- margin-bottom: 18px;
855
- }
856
- .primary-action,
857
- .secondary-action {
858
- min-height: 50px;
859
- padding: 0 22px;
860
- gap: 9px;
861
- font-size: 14px;
862
- }
863
- .primary-action svg,
864
- .secondary-action svg {
865
- width: 18px;
866
- height: 18px;
867
- }
868
- .proof-ribbon {
869
- gap: 9px;
870
- }
871
- .proof-ribbon span {
872
- min-height: 40px;
873
- padding: 0 13px;
874
- gap: 8px;
875
- font-size: 12px;
876
- }
877
- .proof-ribbon svg {
878
- width: 20px;
879
- height: 20px;
880
- }
881
- .route-stage {
882
- padding: 22px 12px 12px;
883
- border-radius: 17px;
884
- }
885
- .route-card-head {
886
- padding: 0 14px 16px;
887
- }
888
- .route-card-head h2 {
889
- margin-bottom: 9px;
890
- font-size: 22px;
891
- }
892
- .route-path {
893
- gap: 12px;
894
- font-size: 16px;
895
- }
896
- .distance-pill {
897
- min-height: 34px;
898
- padding: 0 12px;
899
- font-size: 13px;
900
- }
901
- .map-frame {
902
- height: clamp(430px, 48vh, 540px);
903
- }
904
- .decision-card {
905
- width: 300px;
906
- padding: 15px 16px 14px;
907
- }
908
- .decision-card span {
909
- margin-bottom: 8px;
910
- font-size: 11px;
911
- }
912
- .belief-line strong {
913
- font-size: 36px;
914
- }
915
- .belief-line b {
916
- font-size: 25px;
917
- }
918
- .belief-track {
919
- height: 11px;
920
- margin: 11px 0 12px;
921
- }
922
- .decision-card p {
923
- font-size: 13px;
924
- line-height: 1.42;
925
- }
926
- .metric-strip {
927
- margin-bottom: 48px;
928
- padding: 20px 26px;
929
- }
930
- .metric-strip article {
931
- gap: 14px;
932
- padding: 0 22px;
933
- }
934
- .metric-icon {
935
- width: 54px;
936
- height: 54px;
937
- border-radius: 14px;
938
- }
939
- .metric-icon svg {
940
- width: 28px;
941
- height: 28px;
942
- }
943
- .metric-strip strong {
944
- font-size: 21px;
945
- }
946
- }
947
-
948
- @media (min-width: 1540px) {
949
- .hero {
950
- min-height: 660px;
951
- }
952
- h1 {
953
- font-size: 56px;
954
- }
955
- .map-frame {
956
- height: 535px;
957
- }
958
- }
959
- /* Final visual polish: compact evidence cards and navy-teal presentation */
960
- :root {
961
- --bg: #f7fbff;
962
- --ink: #071739;
963
- --muted: #18365f;
964
- --soft: #eef8fb;
965
- --line: #d7e6f2;
966
- --line-strong: #c3d8ea;
967
- --blue: #0875b8;
968
- --blue-2: #13c8bd;
969
- --green: #12b76a;
970
- --violet: #6d4cff;
971
- --shadow: 0 22px 62px rgba(6, 70, 122, .13);
972
- --shadow-soft: 0 12px 30px rgba(6, 70, 122, .08);
973
- }
974
-
975
- body {
976
- background:
977
- radial-gradient(circle at 16% 18%, rgba(8, 117, 184, .055), transparent 34%),
978
- radial-gradient(circle at 74% 24%, rgba(19, 200, 189, .055), transparent 30%),
979
- var(--bg);
980
- }
981
-
982
- .brand {
983
- color: #06346f;
984
- }
985
-
986
- .dashboard-link,
987
- .primary-action {
988
- background: linear-gradient(135deg, #0867b6 0%, #0c8db7 48%, #12c8bc 100%);
989
- box-shadow: 0 14px 34px rgba(8, 117, 184, .24);
990
- }
991
-
992
- .accent-text {
993
- color: transparent;
994
- background: linear-gradient(90deg, #0b6ec7 0%, #12c8bc 92%);
995
- -webkit-background-clip: text;
996
- background-clip: text;
997
- }
998
-
999
- .secondary-action:hover,
1000
- .primary-action:hover,
1001
- .dashboard-link:hover {
1002
- transform: translateY(-1px);
1003
- }
1004
-
1005
- .route-stage {
1006
- padding: 18px 12px 12px;
1007
- border-radius: 16px;
1008
- }
1009
-
1010
- .route-card-head {
1011
- gap: 12px;
1012
- padding: 0 12px 13px;
1013
- }
1014
-
1015
- .route-card-head h2 {
1016
- margin-bottom: 8px;
1017
- font-size: 19px;
1018
- line-height: 1.05;
1019
- }
1020
-
1021
- .route-path {
1022
- gap: 10px;
1023
- font-size: 14px;
1024
- }
1025
-
1026
- .solid-dot {
1027
- width: 10px;
1028
- height: 10px;
1029
- }
1030
-
1031
- .ring-dot {
1032
- width: 14px;
1033
- height: 14px;
1034
- border-width: 3px;
1035
- border-color: var(--blue-2);
1036
- }
1037
-
1038
- .arrow {
1039
- font-size: 19px;
1040
- }
1041
-
1042
- .distance-pill {
1043
- min-height: 32px;
1044
- padding: 0 11px;
1045
- color: var(--blue);
1046
- font-size: 12.5px;
1047
- }
1048
-
1049
- .distance-pill svg {
1050
- width: 16px;
1051
- height: 16px;
1052
- }
1053
-
1054
- .map-frame {
1055
- border-radius: 13px;
1056
- }
1057
-
1058
- .fallback-route-line {
1059
- stroke: var(--blue-2);
1060
- }
1061
-
1062
- .fallback-node.active,
1063
- .fallback-node.target {
1064
- fill: var(--blue-2);
1065
- }
1066
-
1067
- .decision-card span {
1068
- color: #078b9f;
1069
- }
1070
-
1071
- .belief-line strong {
1072
- color: #0898aa;
1073
- }
1074
-
1075
- .belief-track i {
1076
- background: linear-gradient(90deg, #0875b8, #13c8bd);
1077
- }
1078
-
1079
- .metric-strip {
1080
- margin-bottom: 38px;
1081
- padding: 18px 24px;
1082
- }
1083
-
1084
- .metric-icon {
1085
- width: 48px;
1086
- height: 48px;
1087
- color: var(--blue);
1088
- }
1089
-
1090
- .metric-icon svg {
1091
- width: 25px;
1092
- height: 25px;
1093
- }
1094
-
1095
- .metric-icon.check {
1096
- background: linear-gradient(135deg, #0875b8, #13c8bd);
1097
- }
1098
-
1099
- .metric-strip strong {
1100
- font-size: 20px;
1101
- }
1102
-
1103
- .section {
1104
- padding: 36px 0;
1105
- }
1106
-
1107
- .section-title {
1108
- margin-bottom: 16px;
1109
- }
1110
-
1111
- .section-title h2,
1112
- .boundary-card h2 {
1113
- font-size: clamp(25px, 2.25vw, 34px);
1114
- }
1115
-
1116
- .decision-section {
1117
- padding-top: 36px;
1118
- padding-bottom: 38px;
1119
- }
1120
-
1121
- .decision-flow,
1122
- .proof-grid,
1123
- .boundary-columns {
1124
- gap: 12px;
1125
- }
1126
-
1127
- .flow-card {
1128
- min-height: 148px;
1129
- padding: 18px;
1130
- border-radius: 12px;
1131
- }
1132
-
1133
- .flow-card::before,
1134
- .proof-card::before {
1135
- height: 3px;
1136
- }
1137
-
1138
- .flow-card::before,
1139
- .proof-card.suite::before,
1140
- .proof-card.cctv::before {
1141
- background: #0875b8;
1142
- }
1143
-
1144
- .flow-card.eliminate::before,
1145
- .proof-card.stress::before,
1146
- .proof-card.events::before {
1147
- background: #0798a9;
1148
- }
1149
-
1150
- .flow-card.gate::before,
1151
- .proof-card.safety::before {
1152
- background: #12a95a;
1153
- }
1154
-
1155
- .proof-card.official::before {
1156
- background: #d36a00;
1157
- }
1158
-
1159
- .step-row {
1160
- margin-bottom: 12px;
1161
- }
1162
-
1163
- .step-number {
1164
- width: 30px;
1165
- height: 30px;
1166
- font-size: 13px;
1167
- background: linear-gradient(135deg, #0875b8, #13c8bd);
1168
- box-shadow: 0 10px 18px rgba(8, 117, 184, .18);
1169
- }
1170
-
1171
- .eliminate .step-number {
1172
- background: linear-gradient(135deg, #078f9f, #13c8bd);
1173
- }
1174
-
1175
- .gate .step-number {
1176
- background: linear-gradient(135deg, #0f9f53, #22c66d);
1177
- }
1178
-
1179
- .flow-icon {
1180
- width: 48px;
1181
- height: 48px;
1182
- color: var(--blue);
1183
- }
1184
-
1185
- .flow-icon svg {
1186
- width: 25px;
1187
- height: 25px;
1188
- }
1189
-
1190
- .flow-card h3 {
1191
- margin-bottom: 7px;
1192
- font-size: 18px;
1193
- }
1194
-
1195
- .flow-card p {
1196
- font-size: 12.5px;
1197
- line-height: 1.42;
1198
- }
1199
-
1200
- .proof-section {
1201
- padding-top: 34px;
1202
- }
1203
-
1204
- .proof-card {
1205
- min-height: 142px;
1206
- padding: 15px 13px 14px;
1207
- border-radius: 11px;
1208
- }
1209
-
1210
- .proof-card::after {
1211
- right: -46px;
1212
- bottom: -52px;
1213
- width: 170px;
1214
- height: 104px;
1215
- opacity: .32;
1216
- background-size: 9px 9px;
1217
- }
1218
-
1219
- .proof-card.suite,
1220
- .proof-card.cctv {
1221
- color: #0875b8;
1222
- }
1223
-
1224
- .proof-card.stress,
1225
- .proof-card.events {
1226
- color: #0798a9;
1227
- }
1228
-
1229
- .proof-card.safety {
1230
- color: #12a95a;
1231
- }
1232
-
1233
- .proof-card.official {
1234
- color: #d36a00;
1235
- }
1236
-
1237
- .proof-card > span {
1238
- max-width: calc(100% - 44px);
1239
- min-height: 22px;
1240
- font-size: 9.5px;
1241
- line-height: 1.15;
1242
- }
1243
-
1244
- .proof-card > i {
1245
- top: 13px;
1246
- right: 12px;
1247
- width: 34px;
1248
- height: 34px;
1249
- }
1250
-
1251
- .proof-card > i svg {
1252
- width: 19px;
1253
- height: 19px;
1254
- }
1255
-
1256
- .proof-card strong {
1257
- margin-top: 18px;
1258
- margin-bottom: 6px;
1259
- font-size: clamp(20px, 1.55vw, 28px);
1260
- line-height: 1;
1261
- }
1262
-
1263
- .proof-card.cctv strong,
1264
- .proof-card.official strong {
1265
- font-size: clamp(17px, 1.18vw, 22px);
1266
- }
1267
-
1268
- .proof-card p {
1269
- max-width: 150px;
1270
- font-size: 11px;
1271
- line-height: 1.3;
1272
- }
1273
-
1274
- .boundary-card {
1275
- padding: 22px;
1276
- }
1277
-
1278
- @media (min-width: 1261px) {
1279
- .route-stage {
1280
- padding: 17px 11px 11px;
1281
- }
1282
-
1283
- .route-card-head h2 {
1284
- font-size: 18px;
1285
- }
1286
-
1287
- .map-frame {
1288
- height: clamp(410px, 45vh, 500px);
1289
- }
1290
-
1291
- .decision-card {
1292
- width: 282px;
1293
- }
1294
-
1295
- .belief-line strong {
1296
- font-size: 32px;
1297
- }
1298
-
1299
- .belief-line b {
1300
- font-size: 23px;
1301
- }
1302
- }
1303
-
1304
- @media (max-width: 1100px) {
1305
- .flow-card {
1306
- min-height: 150px;
1307
- }
1308
-
1309
- .proof-card {
1310
- min-height: 140px;
1311
- }
1312
- }
1313
-
1314
- @media (max-width: 820px) {
1315
- .route-card-head h2 {
1316
- font-size: 18px;
1317
- }
1318
-
1319
- .route-path {
1320
- font-size: 13px;
1321
- }
1322
-
1323
- .flow-card {
1324
- min-height: 142px;
1325
- padding: 16px;
1326
- }
1327
-
1328
- .flow-icon {
1329
- width: 44px;
1330
- height: 44px;
1331
- }
1332
-
1333
- .proof-card {
1334
- min-height: 132px;
1335
- }
1336
- }
1337
- /* Final proof-card shrink pass */
1338
- .proof-section {
1339
- padding-top: 22px;
1340
- }
1341
-
1342
- .proof-section .section-title.compact {
1343
- max-width: 560px;
1344
- margin-bottom: 12px;
1345
- }
1346
-
1347
- .proof-section .eyebrow {
1348
- margin-bottom: 18px;
1349
- font-size: 11px;
1350
- }
1351
-
1352
- .proof-section .section-title h2 {
1353
- max-width: 560px;
1354
- font-size: clamp(22px, 1.8vw, 30px);
1355
- line-height: 1.07;
1356
- }
1357
-
1358
- .proof-grid {
1359
- gap: 10px;
1360
- }
1361
-
1362
- .proof-card {
1363
- min-height: 118px;
1364
- padding: 12px 11px 11px;
1365
- border-radius: 10px;
1366
- }
1367
-
1368
- .proof-card::before {
1369
- height: 3px;
1370
- }
1371
-
1372
- .proof-card::after {
1373
- right: -52px;
1374
- bottom: -54px;
1375
- width: 136px;
1376
- height: 82px;
1377
- opacity: .26;
1378
- background-size: 8px 8px;
1379
- }
1380
-
1381
- .proof-card > span {
1382
- min-height: 16px;
1383
- max-width: calc(100% - 34px);
1384
- font-size: 8.5px;
1385
- line-height: 1.1;
1386
- }
1387
-
1388
- .proof-card > i {
1389
- top: 10px;
1390
- right: 10px;
1391
- width: 28px;
1392
- height: 28px;
1393
- }
1394
-
1395
- .proof-card > i svg {
1396
- width: 15px;
1397
- height: 15px;
1398
- }
1399
-
1400
- .proof-card strong {
1401
- margin-top: 12px;
1402
- margin-bottom: 4px;
1403
- font-size: clamp(16px, 1.25vw, 23px);
1404
- line-height: 1;
1405
- }
1406
-
1407
- .proof-card.cctv strong,
1408
- .proof-card.official strong {
1409
- font-size: clamp(13px, .92vw, 17px);
1410
- white-space: nowrap;
1411
- overflow-wrap: normal;
1412
- word-break: normal;
1413
- }
1414
-
1415
- .proof-card p {
1416
- max-width: 128px;
1417
- font-size: 9.5px;
1418
- line-height: 1.25;
1419
- }
1420
-
1421
- @media (min-width: 1261px) {
1422
- .proof-card {
1423
- min-height: 112px;
1424
- }
1425
- }
1426
-
1427
- @media (max-width: 1100px) {
1428
- .proof-card {
1429
- min-height: 124px;
1430
- }
1431
-
1432
- .proof-card.cctv strong,
1433
- .proof-card.official strong {
1434
- font-size: 15px;
1435
- }
1436
- }
1437
-
1438
- @media (max-width: 820px) {
1439
- .proof-section .section-title h2 {
1440
- font-size: clamp(24px, 7vw, 32px);
1441
- }
1442
-
1443
- .proof-card {
1444
- min-height: 112px;
1445
- }
1446
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @import url("https://fonts.googleapis.com/css2?family=Inter:wght@500;600;700;800;900&family=Inter+Tight:wght@700;800;900&display=swap");
2
+
3
+ :root {
4
+ color-scheme: light;
5
+ --bg: #f8fbff;
6
+ --panel: #ffffff;
7
+ --ink: #0f172a;
8
+ --muted: #3f4d63;
9
+ --soft: #eef5ff;
10
+ --line: #d8e5f5;
11
+ --line-strong: #c8d8ee;
12
+ --blue: #185cf5;
13
+ --blue-2: #2d7bff;
14
+ --green: #19b65a;
15
+ --violet: #6d35ff;
16
+ --shadow: 0 24px 70px rgba(22, 65, 148, .14);
17
+ --shadow-soft: 0 14px 34px rgba(22, 65, 148, .09);
18
+ }
19
+
20
+ * { box-sizing: border-box; }
21
+ html { scroll-behavior: smooth; }
22
+ body {
23
+ margin: 0;
24
+ background:
25
+ radial-gradient(circle at 16% 18%, rgba(37, 99, 235, .06), transparent 34%),
26
+ radial-gradient(circle at 78% 18%, rgba(45, 123, 255, .045), transparent 30%),
27
+ var(--bg);
28
+ color: var(--ink);
29
+ font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
30
+ letter-spacing: 0;
31
+ }
32
+ a { color: inherit; text-decoration: none; }
33
+ svg { display: block; }
34
+
35
+ .topbar {
36
+ min-height: 88px;
37
+ display: flex;
38
+ align-items: center;
39
+ justify-content: space-between;
40
+ gap: 24px;
41
+ padding: 18px clamp(28px, 4vw, 54px);
42
+ border-bottom: 1px solid var(--line);
43
+ background: rgba(248, 251, 255, .88);
44
+ backdrop-filter: blur(16px);
45
+ }
46
+ .brand {
47
+ display: inline-flex;
48
+ align-items: center;
49
+ justify-content: center;
50
+ min-width: 77px;
51
+ min-height: 48px;
52
+ padding: 10px 13px;
53
+ border: 1px solid var(--line-strong);
54
+ border-radius: 10px;
55
+ background: rgba(255, 255, 255, .74);
56
+ color: var(--blue);
57
+ font-family: "Inter Tight", "Inter", sans-serif;
58
+ font-size: 24px;
59
+ font-weight: 900;
60
+ line-height: 1;
61
+ }
62
+ nav {
63
+ display: flex;
64
+ align-items: center;
65
+ gap: clamp(18px, 2.6vw, 44px);
66
+ font-weight: 850;
67
+ }
68
+ nav a {
69
+ color: #111b31;
70
+ font-size: 16px;
71
+ white-space: nowrap;
72
+ }
73
+ .dashboard-link {
74
+ min-height: 48px;
75
+ display: inline-flex;
76
+ align-items: center;
77
+ gap: 11px;
78
+ padding: 0 22px;
79
+ border-radius: 9px;
80
+ background: var(--blue);
81
+ color: #ffffff;
82
+ box-shadow: 0 12px 28px rgba(24, 92, 245, .24);
83
+ }
84
+ .dashboard-link svg {
85
+ width: 18px;
86
+ height: 18px;
87
+ stroke: currentColor;
88
+ stroke-width: 2.4;
89
+ fill: none;
90
+ stroke-linecap: round;
91
+ stroke-linejoin: round;
92
+ }
93
+
94
+ main {
95
+ width: 100%;
96
+ margin: 0;
97
+ padding: 28px clamp(20px, 3vw, 54px) 56px;
98
+ }
99
+ .hero {
100
+ display: grid;
101
+ grid-template-columns: minmax(430px, .68fr) minmax(620px, 1.05fr);
102
+ gap: clamp(44px, 5vw, 74px);
103
+ align-items: center;
104
+ min-height: 770px;
105
+ }
106
+ .hero-copy {
107
+ max-width: 560px;
108
+ }
109
+ .eyebrow {
110
+ position: relative;
111
+ margin: 0 0 28px;
112
+ color: var(--blue);
113
+ font-size: 14px;
114
+ font-weight: 900;
115
+ text-transform: uppercase;
116
+ }
117
+ .hero-copy > .eyebrow::after {
118
+ content: "";
119
+ position: absolute;
120
+ left: 0;
121
+ bottom: -12px;
122
+ width: 184px;
123
+ height: 1px;
124
+ background: linear-gradient(90deg, var(--blue) 0 34px, #cfddf0 34px 100%);
125
+ }
126
+ h1, h2, h3, p { margin-top: 0; }
127
+ h1 {
128
+ margin: 0 0 24px;
129
+ max-width: 560px;
130
+ color: var(--ink);
131
+ font-family: "Inter Tight", "Inter", sans-serif;
132
+ font-size: clamp(52px, 4.65vw, 72px);
133
+ line-height: 1.08;
134
+ font-weight: 900;
135
+ letter-spacing: 0;
136
+ }
137
+ .accent-text { color: var(--blue); }
138
+ .lead {
139
+ max-width: 610px;
140
+ margin: 0 0 40px;
141
+ color: var(--muted);
142
+ font-size: clamp(17px, 1.25vw, 20px);
143
+ line-height: 1.45;
144
+ font-weight: 550;
145
+ }
146
+ .hero-actions {
147
+ display: flex;
148
+ flex-wrap: wrap;
149
+ gap: 18px;
150
+ margin-bottom: 36px;
151
+ }
152
+ .primary-action,
153
+ .secondary-action {
154
+ min-height: 60px;
155
+ display: inline-flex;
156
+ align-items: center;
157
+ justify-content: center;
158
+ gap: 12px;
159
+ padding: 0 28px;
160
+ border-radius: 999px;
161
+ font-size: 16px;
162
+ font-weight: 900;
163
+ }
164
+ .primary-action {
165
+ background: linear-gradient(135deg, #0d55ff, #2d7bff);
166
+ color: #ffffff;
167
+ box-shadow: 0 18px 36px rgba(24, 92, 245, .27);
168
+ }
169
+ .secondary-action {
170
+ border: 1px solid var(--line-strong);
171
+ background: rgba(255, 255, 255, .72);
172
+ color: #111827;
173
+ }
174
+ .primary-action svg,
175
+ .secondary-action svg {
176
+ width: 21px;
177
+ height: 21px;
178
+ stroke: currentColor;
179
+ fill: none;
180
+ stroke-width: 2.4;
181
+ stroke-linecap: round;
182
+ stroke-linejoin: round;
183
+ }
184
+ .primary-action svg { fill: currentColor; stroke: none; }
185
+ .proof-ribbon {
186
+ display: flex;
187
+ flex-wrap: wrap;
188
+ gap: 14px;
189
+ }
190
+ .proof-ribbon span {
191
+ min-height: 50px;
192
+ display: inline-flex;
193
+ align-items: center;
194
+ gap: 10px;
195
+ padding: 0 17px;
196
+ border: 1px solid var(--line-strong);
197
+ border-radius: 999px;
198
+ background: rgba(255, 255, 255, .66);
199
+ color: #243247;
200
+ font-size: 14px;
201
+ font-weight: 750;
202
+ box-shadow: var(--shadow-soft);
203
+ }
204
+ .proof-ribbon svg {
205
+ width: 24px;
206
+ height: 24px;
207
+ stroke: currentColor;
208
+ fill: none;
209
+ stroke-width: 2.2;
210
+ stroke-linecap: round;
211
+ stroke-linejoin: round;
212
+ }
213
+ .proof-ribbon span:nth-child(1) svg { color: var(--green); }
214
+ .proof-ribbon span:nth-child(2) svg { color: var(--blue); }
215
+ .proof-ribbon span:nth-child(3) svg { color: var(--violet); }
216
+
217
+ .route-stage {
218
+ min-width: 0;
219
+ padding: 28px 14px 14px;
220
+ border: 1px solid var(--line-strong);
221
+ border-radius: 20px;
222
+ background: rgba(255, 255, 255, .58);
223
+ box-shadow: var(--shadow);
224
+ }
225
+ .route-card-head {
226
+ display: flex;
227
+ align-items: flex-start;
228
+ justify-content: space-between;
229
+ gap: 20px;
230
+ padding: 0 18px 22px;
231
+ }
232
+ .route-card-head h2 {
233
+ margin: 0 0 12px;
234
+ color: var(--ink);
235
+ font-family: "Inter Tight", "Inter", sans-serif;
236
+ font-size: 25px;
237
+ line-height: 1.05;
238
+ font-weight: 900;
239
+ }
240
+ .route-path {
241
+ display: flex;
242
+ align-items: center;
243
+ gap: 17px;
244
+ color: #111827;
245
+ font-size: 16px;
246
+ }
247
+ .route-path strong { font-weight: 900; }
248
+ .solid-dot {
249
+ width: 13px;
250
+ height: 13px;
251
+ border-radius: 999px;
252
+ background: #0f172a;
253
+ }
254
+ .ring-dot {
255
+ width: 17px;
256
+ height: 17px;
257
+ border: 4px solid var(--blue);
258
+ border-radius: 999px;
259
+ background: #ffffff;
260
+ }
261
+ .arrow {
262
+ color: #64748b;
263
+ font-size: 24px;
264
+ font-weight: 800;
265
+ }
266
+ .distance-pill {
267
+ flex: 0 0 auto;
268
+ min-height: 40px;
269
+ display: inline-flex;
270
+ align-items: center;
271
+ gap: 9px;
272
+ padding: 0 15px;
273
+ border: 1px solid #b9cdf2;
274
+ border-radius: 999px;
275
+ background: #f2f7ff;
276
+ color: var(--blue);
277
+ font-size: 15px;
278
+ font-weight: 900;
279
+ white-space: nowrap;
280
+ }
281
+ .distance-pill svg {
282
+ width: 19px;
283
+ height: 19px;
284
+ stroke: currentColor;
285
+ fill: none;
286
+ stroke-width: 2.3;
287
+ stroke-linecap: round;
288
+ stroke-linejoin: round;
289
+ }
290
+ .map-frame {
291
+ position: relative;
292
+ height: 635px;
293
+ overflow: hidden;
294
+ border: 1px solid var(--line-strong);
295
+ border-radius: 14px;
296
+ background: #eef5fb;
297
+ }
298
+ .map,
299
+ .fallback-map {
300
+ position: absolute;
301
+ inset: 0;
302
+ width: 100%;
303
+ height: 100%;
304
+ }
305
+ .map {
306
+ z-index: 1;
307
+ opacity: 0;
308
+ transition: opacity .2s ease;
309
+ }
310
+ .map-ready .map { opacity: 1; }
311
+ .fallback-map {
312
+ z-index: 0;
313
+ background:
314
+ linear-gradient(rgba(24, 92, 245, .045) 1px, transparent 1px),
315
+ linear-gradient(90deg, rgba(24, 92, 245, .04) 1px, transparent 1px),
316
+ #eef5fb;
317
+ background-size: 48px 48px;
318
+ }
319
+ .map-ready .fallback-map { display: none; }
320
+ .fallback-route-shadow {
321
+ fill: none;
322
+ stroke: rgba(15, 23, 42, .18);
323
+ stroke-width: 13;
324
+ stroke-linecap: round;
325
+ stroke-linejoin: round;
326
+ }
327
+ .fallback-route-line {
328
+ fill: none;
329
+ stroke: var(--blue);
330
+ stroke-width: 6;
331
+ stroke-linecap: round;
332
+ stroke-linejoin: round;
333
+ }
334
+ .fallback-node {
335
+ fill: #0f172a;
336
+ stroke: #ffffff;
337
+ stroke-width: 5;
338
+ }
339
+ .fallback-node.active,
340
+ .fallback-node.target { fill: var(--blue); }
341
+ .fallback-label {
342
+ fill: #111827;
343
+ paint-order: stroke;
344
+ stroke: #ffffff;
345
+ stroke-width: 5px;
346
+ font-size: 13px;
347
+ font-weight: 900;
348
+ }
349
+ .decision-card {
350
+ position: absolute;
351
+ left: 18px;
352
+ bottom: 18px;
353
+ z-index: 4;
354
+ width: 318px;
355
+ padding: 17px 18px 16px;
356
+ border: 1px solid var(--line);
357
+ border-radius: 15px;
358
+ background: rgba(255, 255, 255, .94);
359
+ box-shadow: 0 18px 42px rgba(22, 65, 148, .14);
360
+ backdrop-filter: blur(10px);
361
+ }
362
+ .decision-card span {
363
+ display: block;
364
+ margin-bottom: 7px;
365
+ color: var(--blue);
366
+ font-size: 11px;
367
+ font-weight: 900;
368
+ text-transform: uppercase;
369
+ }
370
+ .belief-line {
371
+ display: flex;
372
+ align-items: baseline;
373
+ gap: 10px;
374
+ min-width: 0;
375
+ }
376
+ .belief-line strong {
377
+ color: var(--blue);
378
+ font-family: "Inter Tight", "Inter", sans-serif;
379
+ font-size: 38px;
380
+ line-height: .95;
381
+ font-weight: 900;
382
+ }
383
+ .belief-line b {
384
+ min-width: 0;
385
+ color: var(--ink);
386
+ font-family: "Inter Tight", "Inter", sans-serif;
387
+ font-size: 27px;
388
+ line-height: 1;
389
+ font-weight: 900;
390
+ }
391
+ .belief-track {
392
+ height: 9px;
393
+ margin: 10px 0 11px;
394
+ overflow: hidden;
395
+ border-radius: 999px;
396
+ background: #e5eaf2;
397
+ }
398
+ .belief-track i {
399
+ display: block;
400
+ width: 0;
401
+ height: 100%;
402
+ border-radius: inherit;
403
+ background: linear-gradient(90deg, #185cf5, #2d7bff);
404
+ }
405
+ .decision-card p {
406
+ margin: 0;
407
+ color: #344258;
408
+ font-size: 12.5px;
409
+ line-height: 1.42;
410
+ font-weight: 550;
411
+ }
412
+ .maplibregl-ctrl-attrib {
413
+ color: #0f172a;
414
+ font-size: 11px;
415
+ }
416
+ .maplibregl-ctrl-bottom-right {
417
+ right: 11px;
418
+ bottom: 9px;
419
+ }
420
+
421
+ .metric-strip {
422
+ display: grid;
423
+ grid-template-columns: repeat(4, minmax(0, 1fr));
424
+ gap: 0;
425
+ margin: 0 0 64px;
426
+ padding: 25px 34px;
427
+ border: 1px solid var(--line-strong);
428
+ border-radius: 16px;
429
+ background: rgba(255, 255, 255, .72);
430
+ box-shadow: var(--shadow-soft);
431
+ }
432
+ .metric-strip article {
433
+ display: flex;
434
+ align-items: center;
435
+ gap: 18px;
436
+ min-width: 0;
437
+ padding: 0 30px;
438
+ border-right: 1px solid var(--line);
439
+ }
440
+ .metric-strip article:first-child { padding-left: 0; }
441
+ .metric-strip article:last-child { border-right: 0; padding-right: 0; }
442
+ .metric-icon {
443
+ flex: 0 0 auto;
444
+ width: 64px;
445
+ height: 64px;
446
+ display: grid;
447
+ place-items: center;
448
+ border: 1px solid #bdd0f4;
449
+ border-radius: 16px;
450
+ background: #eef5ff;
451
+ color: var(--blue);
452
+ }
453
+ .metric-icon svg {
454
+ width: 34px;
455
+ height: 34px;
456
+ stroke: currentColor;
457
+ fill: none;
458
+ stroke-width: 2.3;
459
+ stroke-linecap: round;
460
+ stroke-linejoin: round;
461
+ }
462
+ .metric-icon.check {
463
+ background: var(--blue);
464
+ color: #ffffff;
465
+ }
466
+ .metric-strip span {
467
+ display: block;
468
+ margin-bottom: 7px;
469
+ color: #43516a;
470
+ font-size: 13px;
471
+ font-weight: 750;
472
+ }
473
+ .metric-strip strong {
474
+ display: block;
475
+ margin-bottom: 4px;
476
+ color: var(--ink);
477
+ font-size: 24px;
478
+ font-weight: 900;
479
+ line-height: 1;
480
+ }
481
+ .metric-strip p {
482
+ margin: 0;
483
+ color: #344258;
484
+ font-size: 13px;
485
+ }
486
+
487
+ .section {
488
+ padding: 48px 0;
489
+ border-top: 1px solid var(--line);
490
+ }
491
+ .section-title {
492
+ max-width: 760px;
493
+ margin-bottom: 18px;
494
+ }
495
+ .section-title.compact { max-width: 720px; }
496
+ .section-title h2,
497
+ .boundary-card h2 {
498
+ margin: 0;
499
+ color: var(--ink);
500
+ font-family: "Inter Tight", "Inter", sans-serif;
501
+ font-size: clamp(28px, 3vw, 42px);
502
+ line-height: 1.08;
503
+ font-weight: 900;
504
+ }
505
+ .decision-flow,
506
+ .proof-grid,
507
+ .boundary-columns {
508
+ display: grid;
509
+ gap: 14px;
510
+ }
511
+ .decision-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
512
+ .proof-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
513
+ .boundary-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 22px; }
514
+ .decision-flow article,
515
+ .proof-grid article,
516
+ .boundary-columns article,
517
+ .boundary-card {
518
+ border: 1px solid var(--line-strong);
519
+ border-radius: 14px;
520
+ background: rgba(255, 255, 255, .72);
521
+ box-shadow: var(--shadow-soft);
522
+ }
523
+ .decision-flow article { min-height: 172px; padding: 20px; }
524
+ .proof-grid article { min-height: 148px; padding: 17px; }
525
+ .boundary-card { padding: 28px; }
526
+ .boundary-columns article { padding: 18px; box-shadow: none; }
527
+ .decision-flow article > span {
528
+ width: 36px;
529
+ height: 36px;
530
+ display: grid;
531
+ place-items: center;
532
+ margin-bottom: 18px;
533
+ border-radius: 999px;
534
+ background: #eef5ff;
535
+ color: var(--blue);
536
+ font-weight: 900;
537
+ }
538
+ .decision-flow h3,
539
+ .boundary-columns h3 {
540
+ margin: 0 0 8px;
541
+ color: var(--ink);
542
+ font-size: 19px;
543
+ font-weight: 900;
544
+ }
545
+ .decision-flow p,
546
+ .boundary-columns p,
547
+ .proof-grid p {
548
+ margin: 0;
549
+ color: #4b5b72;
550
+ line-height: 1.48;
551
+ }
552
+ .proof-grid span {
553
+ display: block;
554
+ min-height: 30px;
555
+ color: #4b5b72;
556
+ font-size: 11px;
557
+ font-weight: 900;
558
+ text-transform: uppercase;
559
+ }
560
+ .proof-grid strong {
561
+ display: block;
562
+ margin: 11px 0 9px;
563
+ color: var(--blue);
564
+ font-size: clamp(23px, 2.1vw, 34px);
565
+ line-height: .98;
566
+ font-weight: 900;
567
+ overflow-wrap: anywhere;
568
+ }
569
+ .proof-grid p { font-size: 13px; }
570
+ .boundary-card .eyebrow { color: var(--blue); }
571
+ .boundary-columns article:first-child h3 { color: #0f9f59; }
572
+ .boundary-columns article:last-child h3 { color: #b7791f; }
573
+
574
+ @media (max-width: 1260px) {
575
+ .hero { grid-template-columns: 1fr; min-height: auto; }
576
+ .hero-copy { max-width: 820px; }
577
+ h1 { max-width: 840px; }
578
+ .metric-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
579
+ .metric-strip article:nth-child(2) { border-right: 0; }
580
+ .metric-strip article:nth-child(3) { padding-left: 0; }
581
+ }
582
+
583
+ @media (max-width: 1100px) {
584
+ h1 {
585
+ max-width: 100%;
586
+ font-size: clamp(36px, 5.5vw, 46px);
587
+ }
588
+ .lead { font-size: 16px; }
589
+ .proof-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
590
+ }
591
+
592
+ @media (max-width: 820px) {
593
+ .topbar { align-items: flex-start; flex-direction: column; padding: 16px; }
594
+ nav { gap: 10px; flex-wrap: wrap; }
595
+ nav a { font-size: 13px; }
596
+ .dashboard-link { min-height: 42px; padding: 0 14px; }
597
+ main { padding: 18px 12px 42px; }
598
+ .hero { gap: 28px; }
599
+ h1 { font-size: clamp(34px, 9vw, 44px); }
600
+ .lead { font-size: 16px; }
601
+ .hero-actions { gap: 10px; }
602
+ .primary-action,
603
+ .secondary-action { width: 100%; min-height: 52px; }
604
+ .route-card-head { flex-direction: column; }
605
+ .map-frame { height: 520px; }
606
+ .decision-card { left: 10px; right: 10px; bottom: 10px; width: auto; }
607
+ .belief-line strong { font-size: 36px; }
608
+ .belief-line b { font-size: 25px; }
609
+ .metric-strip,
610
+ .decision-flow,
611
+ .proof-grid,
612
+ .boundary-columns { grid-template-columns: 1fr; }
613
+ .metric-strip article { border-right: 0; padding: 0; }
614
+ }
615
+ /* Exact clean flow and proof card polish */
616
+ .decision-section {
617
+ position: relative;
618
+ padding-top: 52px;
619
+ padding-bottom: 52px;
620
+ }
621
+ .decision-section::after {
622
+ content: "";
623
+ position: absolute;
624
+ left: 0;
625
+ right: 0;
626
+ bottom: 0;
627
+ height: 1px;
628
+ background: var(--line);
629
+ }
630
+ .decision-section .section-title {
631
+ max-width: 560px;
632
+ margin-bottom: 18px;
633
+ }
634
+ .flow-card {
635
+ position: relative;
636
+ min-height: 186px;
637
+ padding: 25px 26px 24px;
638
+ overflow: hidden;
639
+ border-radius: 14px;
640
+ background: rgba(255, 255, 255, .84);
641
+ }
642
+ .flow-card::before {
643
+ content: "";
644
+ position: absolute;
645
+ left: 0;
646
+ right: 0;
647
+ top: 0;
648
+ height: 4px;
649
+ background: var(--blue);
650
+ }
651
+ .flow-card.eliminate::before { background: #10aaa1; }
652
+ .flow-card.gate::before { background: #20ad54; }
653
+ .step-row {
654
+ display: flex;
655
+ align-items: center;
656
+ justify-content: space-between;
657
+ gap: 18px;
658
+ margin-bottom: 18px;
659
+ }
660
+ .step-number {
661
+ width: 36px;
662
+ height: 36px;
663
+ display: grid;
664
+ place-items: center;
665
+ border-radius: 999px;
666
+ background: linear-gradient(135deg, #185cf5, #2d7bff);
667
+ color: #ffffff;
668
+ font-size: 16px;
669
+ font-weight: 900;
670
+ box-shadow: 0 12px 24px rgba(24, 92, 245, .2);
671
+ }
672
+ .eliminate .step-number { background: linear-gradient(135deg, #089b95, #17beb5); box-shadow: 0 12px 24px rgba(16, 170, 161, .18); }
673
+ .gate .step-number { background: linear-gradient(135deg, #16a34a, #23c365); box-shadow: 0 12px 24px rgba(32, 173, 84, .18); }
674
+ .flow-icon {
675
+ width: 62px;
676
+ height: 62px;
677
+ display: grid;
678
+ place-items: center;
679
+ border-radius: 999px;
680
+ background: #ecf3ff;
681
+ color: var(--blue);
682
+ }
683
+ .eliminate .flow-icon { background: #e8f8f7; color: #0f9f98; }
684
+ .gate .flow-icon { background: #eaf8ef; color: #16a34a; }
685
+ .flow-icon svg {
686
+ width: 31px;
687
+ height: 31px;
688
+ stroke: currentColor;
689
+ fill: none;
690
+ stroke-width: 2.2;
691
+ stroke-linecap: round;
692
+ stroke-linejoin: round;
693
+ }
694
+ .flow-card h3 {
695
+ margin-bottom: 9px;
696
+ font-family: "Inter Tight", "Inter", sans-serif;
697
+ font-size: 22px;
698
+ line-height: 1.05;
699
+ }
700
+ .flow-card p {
701
+ max-width: 340px;
702
+ color: #3f4d63;
703
+ font-size: 14.5px;
704
+ line-height: 1.45;
705
+ }
706
+ .proof-section {
707
+ padding-top: 42px;
708
+ }
709
+ .proof-card {
710
+ position: relative;
711
+ overflow: hidden;
712
+ min-height: 176px;
713
+ padding: 20px 16px 18px;
714
+ border-radius: 12px;
715
+ background: rgba(255, 255, 255, .86);
716
+ }
717
+ .proof-card::before {
718
+ content: "";
719
+ position: absolute;
720
+ inset: 0 0 auto;
721
+ height: 4px;
722
+ background: var(--blue);
723
+ }
724
+ .proof-card::after {
725
+ content: "";
726
+ position: absolute;
727
+ right: -34px;
728
+ bottom: -42px;
729
+ width: 190px;
730
+ height: 120px;
731
+ opacity: .45;
732
+ background:
733
+ radial-gradient(circle at center, currentColor 1px, transparent 1.6px);
734
+ background-size: 10px 10px;
735
+ transform: rotate(-10deg);
736
+ }
737
+ .proof-card.suite { color: var(--blue); }
738
+ .proof-card.stress { color: #0891b2; }
739
+ .proof-card.events { color: #10aaa1; }
740
+ .proof-card.safety { color: #20ad54; }
741
+ .proof-card.cctv { color: #2d7bff; }
742
+ .proof-card.official { color: #df6f00; }
743
+ .proof-card.stress::before { background: #0891b2; }
744
+ .proof-card.events::before { background: #10aaa1; }
745
+ .proof-card.safety::before { background: #20ad54; }
746
+ .proof-card.cctv::before { background: #2d7bff; }
747
+ .proof-card.official::before { background: #df6f00; }
748
+ .proof-card > span {
749
+ position: relative;
750
+ z-index: 1;
751
+ max-width: calc(100% - 58px);
752
+ color: #46556e;
753
+ }
754
+ .proof-card > i {
755
+ position: absolute;
756
+ right: 14px;
757
+ top: 17px;
758
+ width: 42px;
759
+ height: 42px;
760
+ display: grid;
761
+ place-items: center;
762
+ border-radius: 999px;
763
+ background: color-mix(in srgb, currentColor 12%, white);
764
+ color: currentColor;
765
+ font-style: normal;
766
+ }
767
+ .proof-card > i svg {
768
+ width: 28px;
769
+ height: 28px;
770
+ stroke: currentColor;
771
+ fill: none;
772
+ stroke-width: 2.2;
773
+ stroke-linecap: round;
774
+ stroke-linejoin: round;
775
+ }
776
+ .proof-card.stress > i svg path:first-child,
777
+ .proof-card .primary-action svg { fill: currentColor; }
778
+ .proof-card strong {
779
+ position: relative;
780
+ z-index: 1;
781
+ margin-top: 24px;
782
+ color: currentColor;
783
+ font-family: "Inter Tight", "Inter", sans-serif;
784
+ font-size: clamp(24px, 2.1vw, 34px);
785
+ letter-spacing: 0;
786
+ }
787
+ .proof-card p {
788
+ position: relative;
789
+ z-index: 1;
790
+ max-width: 170px;
791
+ color: #43516a;
792
+ font-size: 12.5px;
793
+ line-height: 1.35;
794
+ }
795
+ .proof-card.cctv strong,
796
+ .proof-card.official strong {
797
+ font-size: clamp(22px, 1.75vw, 30px);
798
+ }
799
+ @media (max-width: 1100px) {
800
+ h1 {
801
+ max-width: 100%;
802
+ font-size: clamp(36px, 5.5vw, 46px);
803
+ }
804
+ .lead { font-size: 16px; }
805
+ .proof-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
806
+ }
807
+
808
+ @media (max-width: 820px) {
809
+ .flow-card { min-height: 210px; padding: 28px; }
810
+ .flow-icon { width: 64px; height: 64px; }
811
+ .proof-card { min-height: 190px; }
812
+ }
813
+ /* Compact scale correction */
814
+ @media (min-width: 1261px) {
815
+ .topbar {
816
+ min-height: 76px;
817
+ padding-top: 14px;
818
+ padding-bottom: 14px;
819
+ }
820
+ main {
821
+ padding-top: 18px;
822
+ }
823
+ .hero {
824
+ grid-template-columns: minmax(390px, .62fr) minmax(620px, 1fr);
825
+ gap: clamp(26px, 3.1vw, 46px);
826
+ min-height: 650px;
827
+ align-items: center;
828
+ }
829
+ .hero-copy {
830
+ max-width: 560px;
831
+ }
832
+ .eyebrow {
833
+ margin-bottom: 22px;
834
+ font-size: 13px;
835
+ }
836
+ .hero-copy > .eyebrow::after {
837
+ bottom: -10px;
838
+ width: 142px;
839
+ }
840
+ h1 {
841
+ max-width: 560px;
842
+ margin-bottom: 18px;
843
+ font-size: clamp(40px, 3.35vw, 56px);
844
+ line-height: 1.07;
845
+ }
846
+ .lead {
847
+ max-width: 540px;
848
+ margin-bottom: 18px;
849
+ font-size: clamp(15px, 1.02vw, 18px);
850
+ line-height: 1.5;
851
+ }
852
+ .hero-actions {
853
+ gap: 12px;
854
+ margin-bottom: 18px;
855
+ }
856
+ .primary-action,
857
+ .secondary-action {
858
+ min-height: 50px;
859
+ padding: 0 22px;
860
+ gap: 9px;
861
+ font-size: 14px;
862
+ }
863
+ .primary-action svg,
864
+ .secondary-action svg {
865
+ width: 18px;
866
+ height: 18px;
867
+ }
868
+ .proof-ribbon {
869
+ gap: 9px;
870
+ }
871
+ .proof-ribbon span {
872
+ min-height: 40px;
873
+ padding: 0 13px;
874
+ gap: 8px;
875
+ font-size: 12px;
876
+ }
877
+ .proof-ribbon svg {
878
+ width: 20px;
879
+ height: 20px;
880
+ }
881
+ .route-stage {
882
+ padding: 22px 12px 12px;
883
+ border-radius: 17px;
884
+ }
885
+ .route-card-head {
886
+ padding: 0 14px 16px;
887
+ }
888
+ .route-card-head h2 {
889
+ margin-bottom: 9px;
890
+ font-size: 22px;
891
+ }
892
+ .route-path {
893
+ gap: 12px;
894
+ font-size: 16px;
895
+ }
896
+ .distance-pill {
897
+ min-height: 34px;
898
+ padding: 0 12px;
899
+ font-size: 13px;
900
+ }
901
+ .map-frame {
902
+ height: clamp(430px, 48vh, 540px);
903
+ }
904
+ .decision-card {
905
+ width: 300px;
906
+ padding: 15px 16px 14px;
907
+ }
908
+ .decision-card span {
909
+ margin-bottom: 8px;
910
+ font-size: 11px;
911
+ }
912
+ .belief-line strong {
913
+ font-size: 36px;
914
+ }
915
+ .belief-line b {
916
+ font-size: 25px;
917
+ }
918
+ .belief-track {
919
+ height: 11px;
920
+ margin: 11px 0 12px;
921
+ }
922
+ .decision-card p {
923
+ font-size: 13px;
924
+ line-height: 1.42;
925
+ }
926
+ .metric-strip {
927
+ margin-bottom: 48px;
928
+ padding: 20px 26px;
929
+ }
930
+ .metric-strip article {
931
+ gap: 14px;
932
+ padding: 0 22px;
933
+ }
934
+ .metric-icon {
935
+ width: 54px;
936
+ height: 54px;
937
+ border-radius: 14px;
938
+ }
939
+ .metric-icon svg {
940
+ width: 28px;
941
+ height: 28px;
942
+ }
943
+ .metric-strip strong {
944
+ font-size: 21px;
945
+ }
946
+ }
947
+
948
+ @media (min-width: 1540px) {
949
+ .hero {
950
+ min-height: 660px;
951
+ }
952
+ h1 {
953
+ font-size: 56px;
954
+ }
955
+ .map-frame {
956
+ height: 535px;
957
+ }
958
+ }
959
+ /* Final visual polish: compact evidence cards and navy-teal presentation */
960
+ :root {
961
+ --bg: #f7fbff;
962
+ --ink: #071739;
963
+ --muted: #18365f;
964
+ --soft: #eef8fb;
965
+ --line: #d7e6f2;
966
+ --line-strong: #c3d8ea;
967
+ --blue: #0875b8;
968
+ --blue-2: #13c8bd;
969
+ --green: #12b76a;
970
+ --violet: #6d4cff;
971
+ --shadow: 0 22px 62px rgba(6, 70, 122, .13);
972
+ --shadow-soft: 0 12px 30px rgba(6, 70, 122, .08);
973
+ }
974
+
975
+ body {
976
+ background:
977
+ radial-gradient(circle at 16% 18%, rgba(8, 117, 184, .055), transparent 34%),
978
+ radial-gradient(circle at 74% 24%, rgba(19, 200, 189, .055), transparent 30%),
979
+ var(--bg);
980
+ }
981
+
982
+ .brand {
983
+ color: #06346f;
984
+ }
985
+
986
+ .dashboard-link,
987
+ .primary-action {
988
+ background: linear-gradient(135deg, #0867b6 0%, #0c8db7 48%, #12c8bc 100%);
989
+ box-shadow: 0 14px 34px rgba(8, 117, 184, .24);
990
+ }
991
+
992
+ .accent-text {
993
+ color: transparent;
994
+ background: linear-gradient(90deg, #0b6ec7 0%, #12c8bc 92%);
995
+ -webkit-background-clip: text;
996
+ background-clip: text;
997
+ }
998
+
999
+ .secondary-action:hover,
1000
+ .primary-action:hover,
1001
+ .dashboard-link:hover {
1002
+ transform: translateY(-1px);
1003
+ }
1004
+
1005
+ .route-stage {
1006
+ padding: 18px 12px 12px;
1007
+ border-radius: 16px;
1008
+ }
1009
+
1010
+ .route-card-head {
1011
+ gap: 12px;
1012
+ padding: 0 12px 13px;
1013
+ }
1014
+
1015
+ .route-card-head h2 {
1016
+ margin-bottom: 8px;
1017
+ font-size: 19px;
1018
+ line-height: 1.05;
1019
+ }
1020
+
1021
+ .route-path {
1022
+ gap: 10px;
1023
+ font-size: 14px;
1024
+ }
1025
+
1026
+ .solid-dot {
1027
+ width: 10px;
1028
+ height: 10px;
1029
+ }
1030
+
1031
+ .ring-dot {
1032
+ width: 14px;
1033
+ height: 14px;
1034
+ border-width: 3px;
1035
+ border-color: var(--blue-2);
1036
+ }
1037
+
1038
+ .arrow {
1039
+ font-size: 19px;
1040
+ }
1041
+
1042
+ .distance-pill {
1043
+ min-height: 32px;
1044
+ padding: 0 11px;
1045
+ color: var(--blue);
1046
+ font-size: 12.5px;
1047
+ }
1048
+
1049
+ .distance-pill svg {
1050
+ width: 16px;
1051
+ height: 16px;
1052
+ }
1053
+
1054
+ .map-frame {
1055
+ border-radius: 13px;
1056
+ }
1057
+
1058
+ .fallback-route-line {
1059
+ stroke: var(--blue-2);
1060
+ }
1061
+
1062
+ .fallback-node.active,
1063
+ .fallback-node.target {
1064
+ fill: var(--blue-2);
1065
+ }
1066
+
1067
+ .decision-card span {
1068
+ color: #078b9f;
1069
+ }
1070
+
1071
+ .belief-line strong {
1072
+ color: #0898aa;
1073
+ }
1074
+
1075
+ .belief-track i {
1076
+ background: linear-gradient(90deg, #0875b8, #13c8bd);
1077
+ }
1078
+
1079
+ .metric-strip {
1080
+ margin-bottom: 38px;
1081
+ padding: 18px 24px;
1082
+ }
1083
+
1084
+ .metric-icon {
1085
+ width: 48px;
1086
+ height: 48px;
1087
+ color: var(--blue);
1088
+ }
1089
+
1090
+ .metric-icon svg {
1091
+ width: 25px;
1092
+ height: 25px;
1093
+ }
1094
+
1095
+ .metric-icon.check {
1096
+ background: linear-gradient(135deg, #0875b8, #13c8bd);
1097
+ }
1098
+
1099
+ .metric-strip strong {
1100
+ font-size: 20px;
1101
+ }
1102
+
1103
+ .section {
1104
+ padding: 36px 0;
1105
+ }
1106
+
1107
+ .section-title {
1108
+ margin-bottom: 16px;
1109
+ }
1110
+
1111
+ .section-title h2,
1112
+ .boundary-card h2 {
1113
+ font-size: clamp(25px, 2.25vw, 34px);
1114
+ }
1115
+
1116
+ .decision-section {
1117
+ padding-top: 36px;
1118
+ padding-bottom: 38px;
1119
+ }
1120
+
1121
+ .decision-flow,
1122
+ .proof-grid,
1123
+ .boundary-columns {
1124
+ gap: 12px;
1125
+ }
1126
+
1127
+ .flow-card {
1128
+ min-height: 148px;
1129
+ padding: 18px;
1130
+ border-radius: 12px;
1131
+ }
1132
+
1133
+ .flow-card::before,
1134
+ .proof-card::before {
1135
+ height: 3px;
1136
+ }
1137
+
1138
+ .flow-card::before,
1139
+ .proof-card.suite::before,
1140
+ .proof-card.cctv::before {
1141
+ background: #0875b8;
1142
+ }
1143
+
1144
+ .flow-card.eliminate::before,
1145
+ .proof-card.stress::before,
1146
+ .proof-card.events::before {
1147
+ background: #0798a9;
1148
+ }
1149
+
1150
+ .flow-card.gate::before,
1151
+ .proof-card.safety::before {
1152
+ background: #12a95a;
1153
+ }
1154
+
1155
+ .proof-card.official::before {
1156
+ background: #d36a00;
1157
+ }
1158
+
1159
+ .step-row {
1160
+ margin-bottom: 12px;
1161
+ }
1162
+
1163
+ .step-number {
1164
+ width: 30px;
1165
+ height: 30px;
1166
+ font-size: 13px;
1167
+ background: linear-gradient(135deg, #0875b8, #13c8bd);
1168
+ box-shadow: 0 10px 18px rgba(8, 117, 184, .18);
1169
+ }
1170
+
1171
+ .eliminate .step-number {
1172
+ background: linear-gradient(135deg, #078f9f, #13c8bd);
1173
+ }
1174
+
1175
+ .gate .step-number {
1176
+ background: linear-gradient(135deg, #0f9f53, #22c66d);
1177
+ }
1178
+
1179
+ .flow-icon {
1180
+ width: 48px;
1181
+ height: 48px;
1182
+ color: var(--blue);
1183
+ }
1184
+
1185
+ .flow-icon svg {
1186
+ width: 25px;
1187
+ height: 25px;
1188
+ }
1189
+
1190
+ .flow-card h3 {
1191
+ margin-bottom: 7px;
1192
+ font-size: 18px;
1193
+ }
1194
+
1195
+ .flow-card p {
1196
+ font-size: 12.5px;
1197
+ line-height: 1.42;
1198
+ }
1199
+
1200
+ .proof-section {
1201
+ padding-top: 34px;
1202
+ }
1203
+
1204
+ .proof-card {
1205
+ min-height: 142px;
1206
+ padding: 15px 13px 14px;
1207
+ border-radius: 11px;
1208
+ }
1209
+
1210
+ .proof-card::after {
1211
+ right: -46px;
1212
+ bottom: -52px;
1213
+ width: 170px;
1214
+ height: 104px;
1215
+ opacity: .32;
1216
+ background-size: 9px 9px;
1217
+ }
1218
+
1219
+ .proof-card.suite,
1220
+ .proof-card.cctv {
1221
+ color: #0875b8;
1222
+ }
1223
+
1224
+ .proof-card.stress,
1225
+ .proof-card.events {
1226
+ color: #0798a9;
1227
+ }
1228
+
1229
+ .proof-card.safety {
1230
+ color: #12a95a;
1231
+ }
1232
+
1233
+ .proof-card.official {
1234
+ color: #d36a00;
1235
+ }
1236
+
1237
+ .proof-card > span {
1238
+ max-width: calc(100% - 44px);
1239
+ min-height: 22px;
1240
+ font-size: 9.5px;
1241
+ line-height: 1.15;
1242
+ }
1243
+
1244
+ .proof-card > i {
1245
+ top: 13px;
1246
+ right: 12px;
1247
+ width: 34px;
1248
+ height: 34px;
1249
+ }
1250
+
1251
+ .proof-card > i svg {
1252
+ width: 19px;
1253
+ height: 19px;
1254
+ }
1255
+
1256
+ .proof-card strong {
1257
+ margin-top: 18px;
1258
+ margin-bottom: 6px;
1259
+ font-size: clamp(20px, 1.55vw, 28px);
1260
+ line-height: 1;
1261
+ }
1262
+
1263
+ .proof-card.cctv strong,
1264
+ .proof-card.official strong {
1265
+ font-size: clamp(17px, 1.18vw, 22px);
1266
+ }
1267
+
1268
+ .proof-card p {
1269
+ max-width: 150px;
1270
+ font-size: 11px;
1271
+ line-height: 1.3;
1272
+ }
1273
+
1274
+ .boundary-card {
1275
+ padding: 22px;
1276
+ }
1277
+
1278
+ @media (min-width: 1261px) {
1279
+ .route-stage {
1280
+ padding: 17px 11px 11px;
1281
+ }
1282
+
1283
+ .route-card-head h2 {
1284
+ font-size: 18px;
1285
+ }
1286
+
1287
+ .map-frame {
1288
+ height: clamp(410px, 45vh, 500px);
1289
+ }
1290
+
1291
+ .decision-card {
1292
+ width: 282px;
1293
+ }
1294
+
1295
+ .belief-line strong {
1296
+ font-size: 32px;
1297
+ }
1298
+
1299
+ .belief-line b {
1300
+ font-size: 23px;
1301
+ }
1302
+ }
1303
+
1304
+ @media (max-width: 1100px) {
1305
+ .flow-card {
1306
+ min-height: 150px;
1307
+ }
1308
+
1309
+ .proof-card {
1310
+ min-height: 140px;
1311
+ }
1312
+ }
1313
+
1314
+ @media (max-width: 820px) {
1315
+ .route-card-head h2 {
1316
+ font-size: 18px;
1317
+ }
1318
+
1319
+ .route-path {
1320
+ font-size: 13px;
1321
+ }
1322
+
1323
+ .flow-card {
1324
+ min-height: 142px;
1325
+ padding: 16px;
1326
+ }
1327
+
1328
+ .flow-icon {
1329
+ width: 44px;
1330
+ height: 44px;
1331
+ }
1332
+
1333
+ .proof-card {
1334
+ min-height: 132px;
1335
+ }
1336
+ }
1337
+ /* Final proof-card shrink pass */
1338
+ .proof-section {
1339
+ padding-top: 22px;
1340
+ }
1341
+
1342
+ .proof-section .section-title.compact {
1343
+ max-width: 560px;
1344
+ margin-bottom: 12px;
1345
+ }
1346
+
1347
+ .proof-section .eyebrow {
1348
+ margin-bottom: 18px;
1349
+ font-size: 11px;
1350
+ }
1351
+
1352
+ .proof-section .section-title h2 {
1353
+ max-width: 560px;
1354
+ font-size: clamp(22px, 1.8vw, 30px);
1355
+ line-height: 1.07;
1356
+ }
1357
+
1358
+ .proof-grid {
1359
+ gap: 10px;
1360
+ }
1361
+
1362
+ .proof-card {
1363
+ min-height: 118px;
1364
+ padding: 12px 11px 11px;
1365
+ border-radius: 10px;
1366
+ }
1367
+
1368
+ .proof-card::before {
1369
+ height: 3px;
1370
+ }
1371
+
1372
+ .proof-card::after {
1373
+ right: -52px;
1374
+ bottom: -54px;
1375
+ width: 136px;
1376
+ height: 82px;
1377
+ opacity: .26;
1378
+ background-size: 8px 8px;
1379
+ }
1380
+
1381
+ .proof-card > span {
1382
+ min-height: 16px;
1383
+ max-width: calc(100% - 34px);
1384
+ font-size: 8.5px;
1385
+ line-height: 1.1;
1386
+ }
1387
+
1388
+ .proof-card > i {
1389
+ top: 10px;
1390
+ right: 10px;
1391
+ width: 28px;
1392
+ height: 28px;
1393
+ }
1394
+
1395
+ .proof-card > i svg {
1396
+ width: 15px;
1397
+ height: 15px;
1398
+ }
1399
+
1400
+ .proof-card strong {
1401
+ margin-top: 12px;
1402
+ margin-bottom: 4px;
1403
+ font-size: clamp(16px, 1.25vw, 23px);
1404
+ line-height: 1;
1405
+ }
1406
+
1407
+ .proof-card.cctv strong,
1408
+ .proof-card.official strong {
1409
+ font-size: clamp(13px, .92vw, 17px);
1410
+ white-space: nowrap;
1411
+ overflow-wrap: normal;
1412
+ word-break: normal;
1413
+ }
1414
+
1415
+ .proof-card p {
1416
+ max-width: 128px;
1417
+ font-size: 9.5px;
1418
+ line-height: 1.25;
1419
+ }
1420
+
1421
+ @media (min-width: 1261px) {
1422
+ .proof-card {
1423
+ min-height: 112px;
1424
+ }
1425
+ }
1426
+
1427
+ @media (max-width: 1100px) {
1428
+ .proof-card {
1429
+ min-height: 124px;
1430
+ }
1431
+
1432
+ .proof-card.cctv strong,
1433
+ .proof-card.official strong {
1434
+ font-size: 15px;
1435
+ }
1436
+ }
1437
+
1438
+ @media (max-width: 820px) {
1439
+ .proof-section .section-title h2 {
1440
+ font-size: clamp(24px, 7vw, 32px);
1441
+ }
1442
+
1443
+ .proof-card {
1444
+ min-height: 112px;
1445
+ }
1446
+ }
1447
+
1448
+ /* Interactive checkpoint walkthrough */
1449
+ .walkthrough-section {
1450
+ padding-top: 38px;
1451
+ padding-bottom: 44px;
1452
+ }
1453
+ .walkthrough-title {
1454
+ max-width: 780px;
1455
+ margin-bottom: 18px;
1456
+ }
1457
+ .walkthrough-title p:not(.eyebrow) {
1458
+ max-width: 690px;
1459
+ margin: 12px 0 0;
1460
+ color: #40526c;
1461
+ font-size: 15px;
1462
+ line-height: 1.55;
1463
+ font-weight: 550;
1464
+ }
1465
+ .walkthrough-panel {
1466
+ padding: 24px;
1467
+ border: 1px solid var(--line-strong);
1468
+ border-radius: 16px;
1469
+ background: rgba(255, 255, 255, .78);
1470
+ box-shadow: var(--shadow-soft);
1471
+ }
1472
+ .walkthrough-meta {
1473
+ display: flex;
1474
+ align-items: center;
1475
+ flex-wrap: wrap;
1476
+ gap: 10px 14px;
1477
+ margin-bottom: 24px;
1478
+ color: #66758d;
1479
+ font-size: 12px;
1480
+ font-weight: 900;
1481
+ letter-spacing: .08em;
1482
+ text-transform: uppercase;
1483
+ }
1484
+ .walkthrough-meta strong {
1485
+ color: #344258;
1486
+ font-weight: 900;
1487
+ }
1488
+ .walkthrough-meta em {
1489
+ margin-left: auto;
1490
+ color: #60718d;
1491
+ font-style: normal;
1492
+ letter-spacing: 0;
1493
+ text-transform: none;
1494
+ }
1495
+ .walk-track {
1496
+ --progress-ratio: 0;
1497
+ position: relative;
1498
+ display: grid;
1499
+ grid-template-columns: repeat(6, minmax(0, 1fr));
1500
+ align-items: start;
1501
+ gap: 0;
1502
+ min-height: 126px;
1503
+ margin-bottom: 22px;
1504
+ }
1505
+ .walk-track::before,
1506
+ .walk-track::after {
1507
+ content: "";
1508
+ position: absolute;
1509
+ left: 32px;
1510
+ right: 32px;
1511
+ top: 30px;
1512
+ height: 4px;
1513
+ border-radius: 999px;
1514
+ background: #e3e8ef;
1515
+ }
1516
+ .walk-track::after {
1517
+ right: auto;
1518
+ width: calc((100% - 64px) * var(--progress-ratio));
1519
+ background: #111827;
1520
+ transition: width .22s ease;
1521
+ }
1522
+ .walk-node {
1523
+ position: relative;
1524
+ z-index: 1;
1525
+ display: grid;
1526
+ justify-items: center;
1527
+ gap: 7px;
1528
+ min-width: 0;
1529
+ border: 0;
1530
+ background: transparent;
1531
+ color: #66758d;
1532
+ font: inherit;
1533
+ cursor: pointer;
1534
+ }
1535
+ .walk-node-dot {
1536
+ width: 62px;
1537
+ height: 62px;
1538
+ display: grid;
1539
+ place-items: center;
1540
+ border: 4px solid #e3e7ed;
1541
+ border-radius: 999px;
1542
+ background: #f0f2f5;
1543
+ color: #7b8797;
1544
+ font-size: 17px;
1545
+ font-weight: 900;
1546
+ transition: transform .16s ease, background .16s ease, border-color .16s ease, color .16s ease;
1547
+ }
1548
+ .walk-node-label {
1549
+ color: #526176;
1550
+ font-size: 12px;
1551
+ font-weight: 800;
1552
+ text-align: center;
1553
+ }
1554
+ .walk-node-prob {
1555
+ min-height: 16px;
1556
+ color: #0f9f53;
1557
+ font-size: 11px;
1558
+ font-weight: 800;
1559
+ }
1560
+ .walk-node.is-passed .walk-node-dot {
1561
+ border-color: #18bf63;
1562
+ background: #18bf63;
1563
+ color: #ffffff;
1564
+ }
1565
+ .walk-node.is-active .walk-node-dot {
1566
+ transform: translateY(-3px);
1567
+ border-color: #070707;
1568
+ background: #070707;
1569
+ color: #ffffff;
1570
+ }
1571
+ .walk-node.is-eligible .walk-node-dot {
1572
+ border-color: #13b8b0;
1573
+ background: linear-gradient(135deg, #0875b8, #13c8bd);
1574
+ color: #ffffff;
1575
+ }
1576
+ .walk-node.is-final .walk-node-dot {
1577
+ border-color: #071739;
1578
+ background: #071739;
1579
+ color: #ffffff;
1580
+ }
1581
+ .walk-node.is-passed .walk-node-dot::before {
1582
+ content: "";
1583
+ width: 12px;
1584
+ height: 22px;
1585
+ border: solid #ffffff;
1586
+ border-width: 0 4px 4px 0;
1587
+ transform: rotate(45deg) translate(-1px, -2px);
1588
+ }
1589
+ .walk-node.is-passed .walk-node-code { display: none; }
1590
+ .walk-insight-grid {
1591
+ display: grid;
1592
+ grid-template-columns: minmax(320px, .78fr) minmax(360px, 1fr);
1593
+ gap: 20px;
1594
+ align-items: stretch;
1595
+ }
1596
+ .confidence-box,
1597
+ .walk-card {
1598
+ border: 1px solid var(--line);
1599
+ border-radius: 14px;
1600
+ background: #ffffff;
1601
+ box-shadow: 0 12px 28px rgba(6, 70, 122, .07);
1602
+ }
1603
+ .confidence-box {
1604
+ padding: 20px;
1605
+ }
1606
+ .confidence-head {
1607
+ display: flex;
1608
+ align-items: baseline;
1609
+ justify-content: space-between;
1610
+ gap: 18px;
1611
+ margin-bottom: 14px;
1612
+ }
1613
+ .confidence-head span {
1614
+ color: #60718d;
1615
+ font-size: 14px;
1616
+ font-weight: 850;
1617
+ }
1618
+ .confidence-head strong {
1619
+ color: #071739;
1620
+ font-family: "Inter Tight", "Inter", sans-serif;
1621
+ font-size: 31px;
1622
+ line-height: 1;
1623
+ font-weight: 900;
1624
+ }
1625
+ .walk-progress {
1626
+ height: 18px;
1627
+ overflow: hidden;
1628
+ border-radius: 999px;
1629
+ background: #e6e9ee;
1630
+ }
1631
+ .walk-progress i {
1632
+ display: block;
1633
+ width: 18%;
1634
+ height: 100%;
1635
+ border-radius: inherit;
1636
+ background: linear-gradient(90deg, #2d7bff, #13c8bd);
1637
+ transition: width .22s ease, background .22s ease;
1638
+ }
1639
+ .walk-progress.is-eligible i {
1640
+ background: linear-gradient(90deg, #12a95a, #21c468);
1641
+ }
1642
+ .threshold-note {
1643
+ margin: 13px 0 0;
1644
+ color: #ef4444;
1645
+ font-size: 12px;
1646
+ font-weight: 800;
1647
+ }
1648
+ .walk-card {
1649
+ min-height: 162px;
1650
+ padding: 22px 24px;
1651
+ }
1652
+ .walk-card h3 {
1653
+ margin: 0 0 10px;
1654
+ color: #071739;
1655
+ font-size: 18px;
1656
+ line-height: 1.22;
1657
+ font-weight: 900;
1658
+ }
1659
+ .walk-card p {
1660
+ margin: 0;
1661
+ color: #263956;
1662
+ font-size: 16px;
1663
+ line-height: 1.58;
1664
+ }
1665
+ .walk-card.is-eligible {
1666
+ border-color: rgba(19, 200, 189, .42);
1667
+ background: linear-gradient(135deg, #071739 0%, #0b2b45 100%);
1668
+ }
1669
+ .walk-card.is-eligible h3,
1670
+ .walk-card.is-eligible p {
1671
+ color: #ffffff;
1672
+ }
1673
+ .walk-card.is-final {
1674
+ border-color: rgba(18, 169, 90, .38);
1675
+ }
1676
+ .walk-controls {
1677
+ display: flex;
1678
+ align-items: center;
1679
+ flex-wrap: wrap;
1680
+ gap: 12px;
1681
+ margin-top: 18px;
1682
+ }
1683
+ .walk-controls button {
1684
+ min-height: 44px;
1685
+ padding: 0 20px;
1686
+ border: 0;
1687
+ border-radius: 9px;
1688
+ background: #eef1f5;
1689
+ color: #071739;
1690
+ font: inherit;
1691
+ font-size: 14px;
1692
+ font-weight: 900;
1693
+ cursor: pointer;
1694
+ }
1695
+ .walk-controls button.primary {
1696
+ min-width: 164px;
1697
+ background: #070707;
1698
+ color: #ffffff;
1699
+ }
1700
+ .walk-controls button:disabled {
1701
+ cursor: not-allowed;
1702
+ opacity: .48;
1703
+ }
1704
+ .walk-controls span {
1705
+ color: #60718d;
1706
+ font-size: 13px;
1707
+ font-weight: 750;
1708
+ }
1709
+ @media (max-width: 980px) {
1710
+ .walk-track {
1711
+ grid-template-columns: repeat(3, minmax(0, 1fr));
1712
+ row-gap: 22px;
1713
+ }
1714
+ .walk-track::before,
1715
+ .walk-track::after { display: none; }
1716
+ .walk-insight-grid { grid-template-columns: 1fr; }
1717
+ .walkthrough-meta em { margin-left: 0; }
1718
+ }
1719
+ @media (max-width: 560px) {
1720
+ .walkthrough-panel { padding: 16px; }
1721
+ .walk-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
1722
+ .walk-node-dot { width: 54px; height: 54px; font-size: 15px; }
1723
+ .confidence-head { align-items: flex-start; flex-direction: column; gap: 8px; }
1724
+ .walk-controls button { flex: 1 1 auto; }
1725
+ }
clear.js CHANGED
@@ -1,272 +1,395 @@
1
- const DATA = {
2
- latest: "./evidence/latest_run.json",
3
- suite: "./evidence/suite_report.json",
4
- extreme: "./evidence/extreme_batch_report.json",
5
- cctv: "./evidence/cctv_bmd45_report.json",
6
- route: "./data/orr_silk_board_whitefield_route_osrm.geojson",
7
- official: "./data/official_reference_bengaluru_cmp_2020.json"
8
- };
9
-
10
- const fmt = new Intl.NumberFormat("en-IN");
11
- const pct = value => `${Math.round(Number(value || 0) * 100)}%`;
12
- const km = metres => `${(Number(metres || 0) / 1000).toFixed(1)} km`;
13
- const q = selector => document.querySelector(selector);
14
- const setText = (selector, value) => {
15
- const node = q(selector);
16
- if (node) node.textContent = value;
17
- };
18
-
19
- async function loadJson(url) {
20
- const response = await fetch(url, { cache: "no-store" });
21
- if (!response.ok) throw new Error(`${url} returned ${response.status}`);
22
- const text = await response.text();
23
- return JSON.parse(text.replace(/^\uFEFF/, ""));
24
- }
25
-
26
- function findAssertion(report, name) {
27
- return (report.assertions || []).find(item => item.name === name) || { details: {} };
28
- }
29
-
30
- function label(id, fallback = "checkpoint") {
31
- return String(id || fallback)
32
- .replace(/_/g, " ")
33
- .replace(/\b\w/g, char => char.toUpperCase());
34
- }
35
-
36
- function chooseDecision(latest, extreme) {
37
- const cycles = latest.cycles || [];
38
- const activatedCycle = cycles.find(cycle => (cycle.decisions || []).some(decision => decision.activate)) || cycles[cycles.length - 1] || {};
39
- const cycleDecision = (activatedCycle.decisions || []).find(decision => decision.activate) || (activatedCycle.decisions || [])[0];
40
- const aggregateDecision = ((extreme.aggregate_decisions || [])[0] || {}).decision;
41
- const decision = cycleDecision || aggregateDecision || {};
42
- return {
43
- cycle: activatedCycle,
44
- decision,
45
- checkpoint: activatedCycle.observation?.junction_id || "marathahalli",
46
- destination: activatedCycle.best_destination_id || decision.destination_id || "whitefield",
47
- confidence: activatedCycle.best_confidence || decision.confidence || 0,
48
- activate: Boolean(decision.activate)
49
- };
50
- }
51
-
52
- function renderNumbers({ latest, suite, extreme, cctv, route, official }) {
53
- const chosen = chooseDecision(latest, extreme);
54
- const stress = extreme.metrics || {};
55
- const images = findAssertion(cctv, "metadata_rows_match_coco_images").details.coco_images || 0;
56
- const annotations = findAssertion(cctv, "coco_annotations_present").details.annotation_count || 0;
57
- const silkBoard = (official.junction_counts || []).find(item => item.name === "Silk Board Junction") || {};
58
- const doddanakundi = (official.junction_counts || []).find(item => item.name === "Doddanakundi Junction") || {};
59
-
60
- const confidenceText = pct(chosen.confidence);
61
- const routePointText = fmt.format(route.coordinate_count || 0);
62
- setText("#route-distance", `${km(route.distance_m)} / ${routePointText} route points`);
63
- setText("#belief-percent", confidenceText);
64
- setText("#belief-destination", label(chosen.destination));
65
- const bar = q("#belief-bar");
66
- if (bar) bar.style.width = `${Math.max(0, Math.min(100, Math.round(Number(chosen.confidence || 0) * 100)))}%`;
67
- setText(
68
- "#hero-action",
69
- chosen.activate
70
- ? `At ${label(chosen.checkpoint)}, PTIS increases confidence toward ${label(chosen.destination)} based on continued route movement.`
71
- : `At ${label(chosen.checkpoint)}, PTIS keeps the capacity gate on standby.`
72
- );
73
- setText("#route-points-metric", routePointText);
74
- setText("#events-metric", fmt.format(stress.observation_count || 0));
75
- setText("#confidence-metric", confidenceText);
76
- setText("#safety-metric", fmt.format(stress.capacity_violation_count || 0));
77
- setText("#suite-pass", `${fmt.format(suite.passed_count || 0)}/${fmt.format(suite.scenario_count || 0)}`);
78
- setText("#stress-load", fmt.format(stress.vehicle_count || 0));
79
- setText("#observation-count", fmt.format(stress.observation_count || 0));
80
- setText("#safety-count", fmt.format(stress.capacity_violation_count || 0));
81
- setText("#cctv-count", `${fmt.format(images)} / ${fmt.format(annotations)}`);
82
- setText("#official-count", `${fmt.format(silkBoard.peak_hour_pcu || 0)} / ${fmt.format(doddanakundi.peak_hour_pcu || 0)} PCU`);
83
- }
84
-
85
- function routeCoordinates(route) {
86
- return (((route.features || [])[0] || {}).geometry || {}).coordinates || [];
87
- }
88
-
89
- function boundsFor(coords, waypoints) {
90
- const all = coords.concat((waypoints || []).map(point => [Number(point.lon), Number(point.lat)]));
91
- const lons = all.map(point => Number(point[0]));
92
- const lats = all.map(point => Number(point[1]));
93
- return {
94
- minLon: Math.min(...lons),
95
- maxLon: Math.max(...lons),
96
- minLat: Math.min(...lats),
97
- maxLat: Math.max(...lats)
98
- };
99
- }
100
-
101
- function renderFallback(route, latest, extreme) {
102
- const svg = q("#fallback-map");
103
- const coords = routeCoordinates(route);
104
- if (!svg || coords.length === 0) return;
105
-
106
- const chosen = chooseDecision(latest, extreme);
107
- const width = 980;
108
- const height = 620;
109
- const pad = 64;
110
- const bounds = boundsFor(coords, route.waypoints || []);
111
- const scaleX = (width - pad * 2) / Math.max(0.000001, bounds.maxLon - bounds.minLon);
112
- const scaleY = (height - pad * 2) / Math.max(0.000001, bounds.maxLat - bounds.minLat);
113
- const scale = Math.min(scaleX, scaleY);
114
- const offsetX = (width - (bounds.maxLon - bounds.minLon) * scale) / 2;
115
- const offsetY = (height - (bounds.maxLat - bounds.minLat) * scale) / 2;
116
-
117
- const project = coord => {
118
- const lon = Number(Array.isArray(coord) ? coord[0] : coord.lon);
119
- const lat = Number(Array.isArray(coord) ? coord[1] : coord.lat);
120
- return {
121
- x: offsetX + (lon - bounds.minLon) * scale,
122
- y: height - offsetY - (lat - bounds.minLat) * scale
123
- };
124
- };
125
- const d = coords.map((coord, index) => {
126
- const point = project(coord);
127
- return `${index === 0 ? "M" : "L"}${point.x.toFixed(1)} ${point.y.toFixed(1)}`;
128
- }).join(" ");
129
- const nodes = (route.waypoints || []).map(point => {
130
- const projected = project(point);
131
- const className = ["fallback-node"];
132
- if (point.id === chosen.checkpoint) className.push("active");
133
- if (point.id === chosen.destination) className.push("target");
134
- const anchor = point.order > 4 ? "end" : "start";
135
- const dx = anchor === "end" ? -12 : 12;
136
- return `
137
- <circle class="${className.join(" ")}" cx="${projected.x.toFixed(1)}" cy="${projected.y.toFixed(1)}" r="8"></circle>
138
- <text class="fallback-label" x="${(projected.x + dx).toFixed(1)}" y="${(projected.y - 12).toFixed(1)}" text-anchor="${anchor}">${point.name}</text>
139
- `;
140
- }).join("");
141
-
142
- svg.setAttribute("viewBox", `0 0 ${width} ${height}`);
143
- svg.innerHTML = `
144
- <path class="fallback-route-shadow" d="${d}"></path>
145
- <path class="fallback-route-line" d="${d}"></path>
146
- ${nodes}
147
- `;
148
- }
149
-
150
- function initMapLibre(route, latest, extreme) {
151
- const frame = q(".map-frame");
152
- const coords = routeCoordinates(route);
153
- if (!frame || !window.maplibregl || coords.length === 0) return;
154
-
155
- const chosen = chooseDecision(latest, extreme);
156
- const routeGeoJson = {
157
- type: "FeatureCollection",
158
- features: [{
159
- type: "Feature",
160
- properties: { name: "Silk Board to Whitefield" },
161
- geometry: { type: "LineString", coordinates: coords }
162
- }]
163
- };
164
- const pointGeoJson = {
165
- type: "FeatureCollection",
166
- features: (route.waypoints || []).map(point => ({
167
- type: "Feature",
168
- properties: {
169
- id: point.id,
170
- name: point.name,
171
- state: point.id === chosen.destination ? "target" : (point.id === chosen.checkpoint ? "checkpoint" : "route")
172
- },
173
- geometry: { type: "Point", coordinates: [Number(point.lon), Number(point.lat)] }
174
- }))
175
- };
176
- const bounds = boundsFor(coords, route.waypoints || []);
177
-
178
- const map = new maplibregl.Map({
179
- container: "map",
180
- style: "https://basemaps.cartocdn.com/gl/positron-gl-style/style.json",
181
- center: [(bounds.minLon + bounds.maxLon) / 2, (bounds.minLat + bounds.maxLat) / 2],
182
- zoom: 10.7,
183
- pitch: 0,
184
- bearing: 0,
185
- attributionControl: true
186
- });
187
- map.addControl(new maplibregl.NavigationControl({ showCompass: false }), "top-right");
188
- map.dragRotate.disable();
189
- map.touchZoomRotate.disableRotation();
190
-
191
- map.on("load", () => {
192
- map.addSource("ptis-route", { type: "geojson", data: routeGeoJson });
193
- map.addLayer({
194
- id: "ptis-route-shadow",
195
- type: "line",
196
- source: "ptis-route",
197
- paint: { "line-color": "#0f172a", "line-width": 13, "line-opacity": .18, "line-blur": 1.4 }
198
- });
199
- map.addLayer({
200
- id: "ptis-route-line",
201
- type: "line",
202
- source: "ptis-route",
203
- paint: { "line-color": "#13c8bd", "line-width": 6, "line-opacity": .98 }
204
- });
205
- map.addSource("ptis-points", { type: "geojson", data: pointGeoJson });
206
- map.addLayer({
207
- id: "ptis-point-halo",
208
- type: "circle",
209
- source: "ptis-points",
210
- paint: {
211
- "circle-radius": ["match", ["get", "state"], "target", 18, "checkpoint", 16, 11],
212
- "circle-color": "#ffffff",
213
- "circle-opacity": .95,
214
- "circle-stroke-color": "#cbd5e1",
215
- "circle-stroke-width": 1
216
- }
217
- });
218
- map.addLayer({
219
- id: "ptis-point-dot",
220
- type: "circle",
221
- source: "ptis-points",
222
- paint: {
223
- "circle-radius": ["match", ["get", "state"], "target", 10, "checkpoint", 9, 6],
224
- "circle-color": ["match", ["get", "state"], "target", "#13c8bd", "checkpoint", "#13c8bd", "#071739"],
225
- "circle-stroke-color": "#ffffff",
226
- "circle-stroke-width": 2
227
- }
228
- });
229
- map.addLayer({
230
- id: "ptis-point-label",
231
- type: "symbol",
232
- source: "ptis-points",
233
- layout: {
234
- "text-field": ["get", "name"],
235
- "text-size": 12,
236
- "text-offset": [0, 1.8],
237
- "text-anchor": "top",
238
- "text-allow-overlap": false
239
- },
240
- paint: { "text-color": "#0f172a", "text-halo-color": "#ffffff", "text-halo-width": 1.5 }
241
- });
242
- map.fitBounds([[bounds.minLon, bounds.minLat], [bounds.maxLon, bounds.maxLat]], {
243
- padding: { top: 74, right: 62, bottom: 98, left: 62 },
244
- duration: 0,
245
- bearing: 0,
246
- pitch: 0
247
- });
248
- frame.classList.add("map-ready");
249
- });
250
- }
251
-
252
- async function init() {
253
- try {
254
- const [latest, suite, extreme, cctv, route, official] = await Promise.all([
255
- loadJson(DATA.latest),
256
- loadJson(DATA.suite),
257
- loadJson(DATA.extreme),
258
- loadJson(DATA.cctv),
259
- loadJson(DATA.route),
260
- loadJson(DATA.official)
261
- ]);
262
- renderNumbers({ latest, suite, extreme, cctv, route, official });
263
- renderFallback(route, latest, extreme);
264
- initMapLibre(route, latest, extreme);
265
- } catch (error) {
266
- console.error(error);
267
- setText("#hero-action", "Could not load local evidence files. Check the frontend server path.");
268
- setText("#route-distance", "Evidence load failed");
269
- }
270
- }
271
-
272
- init();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ const DATA = {
2
+ latest: "./evidence/latest_run.json",
3
+ suite: "./evidence/suite_report.json",
4
+ extreme: "./evidence/extreme_batch_report.json",
5
+ cctv: "./evidence/cctv_bmd45_report.json",
6
+ route: "./data/orr_silk_board_whitefield_route_osrm.geojson",
7
+ official: "./data/official_reference_bengaluru_cmp_2020.json"
8
+ };
9
+
10
+ const fmt = new Intl.NumberFormat("en-IN");
11
+ const pct = value => `${Math.round(Number(value || 0) * 100)}%`;
12
+ const km = metres => `${(Number(metres || 0) / 1000).toFixed(1)} km`;
13
+ const q = selector => document.querySelector(selector);
14
+ const setText = (selector, value) => {
15
+ const node = q(selector);
16
+ if (node) node.textContent = value;
17
+ };
18
+
19
+ async function loadJson(url) {
20
+ const response = await fetch(url, { cache: "no-store" });
21
+ if (!response.ok) throw new Error(`${url} returned ${response.status}`);
22
+ const text = await response.text();
23
+ return JSON.parse(text.replace(/^\uFEFF/, ""));
24
+ }
25
+
26
+ function findAssertion(report, name) {
27
+ return (report.assertions || []).find(item => item.name === name) || { details: {} };
28
+ }
29
+
30
+ function label(id, fallback = "checkpoint") {
31
+ return String(id || fallback)
32
+ .replace(/_/g, " ")
33
+ .replace(/\b\w/g, char => char.toUpperCase());
34
+ }
35
+
36
+ function chooseDecision(latest, extreme) {
37
+ const cycles = latest.cycles || [];
38
+ const activatedCycle = cycles.find(cycle => (cycle.decisions || []).some(decision => decision.activate)) || cycles[cycles.length - 1] || {};
39
+ const cycleDecision = (activatedCycle.decisions || []).find(decision => decision.activate) || (activatedCycle.decisions || [])[0];
40
+ const aggregateDecision = ((extreme.aggregate_decisions || [])[0] || {}).decision;
41
+ const decision = cycleDecision || aggregateDecision || {};
42
+ return {
43
+ cycle: activatedCycle,
44
+ decision,
45
+ checkpoint: activatedCycle.observation?.junction_id || "marathahalli",
46
+ destination: activatedCycle.best_destination_id || decision.destination_id || "whitefield",
47
+ confidence: activatedCycle.best_confidence || decision.confidence || 0,
48
+ activate: Boolean(decision.activate)
49
+ };
50
+ }
51
+
52
+ function renderNumbers({ latest, suite, extreme, cctv, route, official }) {
53
+ const chosen = chooseDecision(latest, extreme);
54
+ const stress = extreme.metrics || {};
55
+ const images = findAssertion(cctv, "metadata_rows_match_coco_images").details.coco_images || 0;
56
+ const annotations = findAssertion(cctv, "coco_annotations_present").details.annotation_count || 0;
57
+ const silkBoard = (official.junction_counts || []).find(item => item.name === "Silk Board Junction") || {};
58
+ const doddanakundi = (official.junction_counts || []).find(item => item.name === "Doddanakundi Junction") || {};
59
+
60
+ const confidenceText = pct(chosen.confidence);
61
+ const routePointText = fmt.format(route.coordinate_count || 0);
62
+ setText("#route-distance", `${km(route.distance_m)} / ${routePointText} route points`);
63
+ setText("#belief-percent", confidenceText);
64
+ setText("#belief-destination", label(chosen.destination));
65
+ const bar = q("#belief-bar");
66
+ if (bar) bar.style.width = `${Math.max(0, Math.min(100, Math.round(Number(chosen.confidence || 0) * 100)))}%`;
67
+ setText(
68
+ "#hero-action",
69
+ chosen.activate
70
+ ? `At ${label(chosen.checkpoint)}, PTIS increases confidence toward ${label(chosen.destination)} based on continued route movement.`
71
+ : `At ${label(chosen.checkpoint)}, PTIS keeps the capacity gate on standby.`
72
+ );
73
+ setText("#route-points-metric", routePointText);
74
+ setText("#events-metric", fmt.format(stress.observation_count || 0));
75
+ setText("#confidence-metric", confidenceText);
76
+ setText("#safety-metric", fmt.format(stress.capacity_violation_count || 0));
77
+ setText("#suite-pass", `${fmt.format(suite.passed_count || 0)}/${fmt.format(suite.scenario_count || 0)}`);
78
+ setText("#stress-load", fmt.format(stress.vehicle_count || 0));
79
+ setText("#observation-count", fmt.format(stress.observation_count || 0));
80
+ setText("#safety-count", fmt.format(stress.capacity_violation_count || 0));
81
+ setText("#cctv-count", `${fmt.format(images)} / ${fmt.format(annotations)}`);
82
+ setText("#official-count", `${fmt.format(silkBoard.peak_hour_pcu || 0)} / ${fmt.format(doddanakundi.peak_hour_pcu || 0)} PCU`);
83
+ }
84
+
85
+ function routeCoordinates(route) {
86
+ return (((route.features || [])[0] || {}).geometry || {}).coordinates || [];
87
+ }
88
+
89
+ function boundsFor(coords, waypoints) {
90
+ const all = coords.concat((waypoints || []).map(point => [Number(point.lon), Number(point.lat)]));
91
+ const lons = all.map(point => Number(point[0]));
92
+ const lats = all.map(point => Number(point[1]));
93
+ return {
94
+ minLon: Math.min(...lons),
95
+ maxLon: Math.max(...lons),
96
+ minLat: Math.min(...lats),
97
+ maxLat: Math.max(...lats)
98
+ };
99
+ }
100
+
101
+ function renderFallback(route, latest, extreme) {
102
+ const svg = q("#fallback-map");
103
+ const coords = routeCoordinates(route);
104
+ if (!svg || coords.length === 0) return;
105
+
106
+ const chosen = chooseDecision(latest, extreme);
107
+ const width = 980;
108
+ const height = 620;
109
+ const pad = 64;
110
+ const bounds = boundsFor(coords, route.waypoints || []);
111
+ const scaleX = (width - pad * 2) / Math.max(0.000001, bounds.maxLon - bounds.minLon);
112
+ const scaleY = (height - pad * 2) / Math.max(0.000001, bounds.maxLat - bounds.minLat);
113
+ const scale = Math.min(scaleX, scaleY);
114
+ const offsetX = (width - (bounds.maxLon - bounds.minLon) * scale) / 2;
115
+ const offsetY = (height - (bounds.maxLat - bounds.minLat) * scale) / 2;
116
+
117
+ const project = coord => {
118
+ const lon = Number(Array.isArray(coord) ? coord[0] : coord.lon);
119
+ const lat = Number(Array.isArray(coord) ? coord[1] : coord.lat);
120
+ return {
121
+ x: offsetX + (lon - bounds.minLon) * scale,
122
+ y: height - offsetY - (lat - bounds.minLat) * scale
123
+ };
124
+ };
125
+ const d = coords.map((coord, index) => {
126
+ const point = project(coord);
127
+ return `${index === 0 ? "M" : "L"}${point.x.toFixed(1)} ${point.y.toFixed(1)}`;
128
+ }).join(" ");
129
+ const nodes = (route.waypoints || []).map(point => {
130
+ const projected = project(point);
131
+ const className = ["fallback-node"];
132
+ if (point.id === chosen.checkpoint) className.push("active");
133
+ if (point.id === chosen.destination) className.push("target");
134
+ const anchor = point.order > 4 ? "end" : "start";
135
+ const dx = anchor === "end" ? -12 : 12;
136
+ return `
137
+ <circle class="${className.join(" ")}" cx="${projected.x.toFixed(1)}" cy="${projected.y.toFixed(1)}" r="8"></circle>
138
+ <text class="fallback-label" x="${(projected.x + dx).toFixed(1)}" y="${(projected.y - 12).toFixed(1)}" text-anchor="${anchor}">${point.name}</text>
139
+ `;
140
+ }).join("");
141
+
142
+ svg.setAttribute("viewBox", `0 0 ${width} ${height}`);
143
+ svg.innerHTML = `
144
+ <path class="fallback-route-shadow" d="${d}"></path>
145
+ <path class="fallback-route-line" d="${d}"></path>
146
+ ${nodes}
147
+ `;
148
+ }
149
+
150
+ function initMapLibre(route, latest, extreme) {
151
+ const frame = q(".map-frame");
152
+ const coords = routeCoordinates(route);
153
+ if (!frame || !window.maplibregl || coords.length === 0) return;
154
+
155
+ const chosen = chooseDecision(latest, extreme);
156
+ const routeGeoJson = {
157
+ type: "FeatureCollection",
158
+ features: [{
159
+ type: "Feature",
160
+ properties: { name: "Silk Board to Whitefield" },
161
+ geometry: { type: "LineString", coordinates: coords }
162
+ }]
163
+ };
164
+ const pointGeoJson = {
165
+ type: "FeatureCollection",
166
+ features: (route.waypoints || []).map(point => ({
167
+ type: "Feature",
168
+ properties: {
169
+ id: point.id,
170
+ name: point.name,
171
+ state: point.id === chosen.destination ? "target" : (point.id === chosen.checkpoint ? "checkpoint" : "route")
172
+ },
173
+ geometry: { type: "Point", coordinates: [Number(point.lon), Number(point.lat)] }
174
+ }))
175
+ };
176
+ const bounds = boundsFor(coords, route.waypoints || []);
177
+
178
+ const map = new maplibregl.Map({
179
+ container: "map",
180
+ style: "https://basemaps.cartocdn.com/gl/positron-gl-style/style.json",
181
+ center: [(bounds.minLon + bounds.maxLon) / 2, (bounds.minLat + bounds.maxLat) / 2],
182
+ zoom: 10.7,
183
+ pitch: 0,
184
+ bearing: 0,
185
+ attributionControl: true
186
+ });
187
+ map.addControl(new maplibregl.NavigationControl({ showCompass: false }), "top-right");
188
+ map.dragRotate.disable();
189
+ map.touchZoomRotate.disableRotation();
190
+
191
+ map.on("load", () => {
192
+ map.addSource("ptis-route", { type: "geojson", data: routeGeoJson });
193
+ map.addLayer({
194
+ id: "ptis-route-shadow",
195
+ type: "line",
196
+ source: "ptis-route",
197
+ paint: { "line-color": "#0f172a", "line-width": 13, "line-opacity": .18, "line-blur": 1.4 }
198
+ });
199
+ map.addLayer({
200
+ id: "ptis-route-line",
201
+ type: "line",
202
+ source: "ptis-route",
203
+ paint: { "line-color": "#13c8bd", "line-width": 6, "line-opacity": .98 }
204
+ });
205
+ map.addSource("ptis-points", { type: "geojson", data: pointGeoJson });
206
+ map.addLayer({
207
+ id: "ptis-point-halo",
208
+ type: "circle",
209
+ source: "ptis-points",
210
+ paint: {
211
+ "circle-radius": ["match", ["get", "state"], "target", 18, "checkpoint", 16, 11],
212
+ "circle-color": "#ffffff",
213
+ "circle-opacity": .95,
214
+ "circle-stroke-color": "#cbd5e1",
215
+ "circle-stroke-width": 1
216
+ }
217
+ });
218
+ map.addLayer({
219
+ id: "ptis-point-dot",
220
+ type: "circle",
221
+ source: "ptis-points",
222
+ paint: {
223
+ "circle-radius": ["match", ["get", "state"], "target", 10, "checkpoint", 9, 6],
224
+ "circle-color": ["match", ["get", "state"], "target", "#13c8bd", "checkpoint", "#13c8bd", "#071739"],
225
+ "circle-stroke-color": "#ffffff",
226
+ "circle-stroke-width": 2
227
+ }
228
+ });
229
+ map.addLayer({
230
+ id: "ptis-point-label",
231
+ type: "symbol",
232
+ source: "ptis-points",
233
+ layout: {
234
+ "text-field": ["get", "name"],
235
+ "text-size": 12,
236
+ "text-offset": [0, 1.8],
237
+ "text-anchor": "top",
238
+ "text-allow-overlap": false
239
+ },
240
+ paint: { "text-color": "#0f172a", "text-halo-color": "#ffffff", "text-halo-width": 1.5 }
241
+ });
242
+ map.fitBounds([[bounds.minLon, bounds.minLat], [bounds.maxLon, bounds.maxLat]], {
243
+ padding: { top: 74, right: 62, bottom: 98, left: 62 },
244
+ duration: 0,
245
+ bearing: 0,
246
+ pitch: 0
247
+ });
248
+ frame.classList.add("map-ready");
249
+ });
250
+ }
251
+
252
+
253
+ const WALK_STEPS = [
254
+ {
255
+ code: "SB",
256
+ label: "Silk Board",
257
+ confidence: 18,
258
+ title: "Vehicle enters at Silk Board",
259
+ body: "PTIS starts from a prior belief. Six possible destinations remain, so the system observes without acting."
260
+ },
261
+ {
262
+ code: "HSR",
263
+ label: "HSR Layout",
264
+ confidence: 22,
265
+ title: "Passed Silk Board without turning",
266
+ body: "The vehicle did not exit immediately. One local possibility becomes less likely, and Whitefield belief rises to 22%."
267
+ },
268
+ {
269
+ code: "SW",
270
+ label: "Sony World",
271
+ confidence: 34,
272
+ title: "Passed HSR Layout without turning",
273
+ body: "Another junction is eliminated from the destination set. PTIS now has stronger evidence that the flow is continuing downstream."
274
+ },
275
+ {
276
+ code: "MH",
277
+ label: "Marathahalli",
278
+ confidence: 67,
279
+ title: "Belief crosses the action threshold",
280
+ body: "At Marathahalli, Whitefield belief reaches 67%. PTIS marks the connector decision as eligible, then checks receiving-road capacity before any command is allowed.",
281
+ eligible: true
282
+ },
283
+ {
284
+ code: "DK",
285
+ label: "Doddanekkundi",
286
+ confidence: 82,
287
+ title: "Downstream evidence keeps increasing",
288
+ body: "Continued movement after Marathahalli strengthens the destination belief. The capacity gate still prevents over-commanding the receiving road."
289
+ },
290
+ {
291
+ code: "WF",
292
+ label: "Whitefield",
293
+ confidence: 100,
294
+ title: "Replay destination observed",
295
+ body: "In this software replay, the trace reaches Whitefield. That confirms the replay path for this example, not a live field-deployment result.",
296
+ final: true
297
+ }
298
+ ];
299
+
300
+ let walkIndex = 0;
301
+
302
+ function renderWalkthrough(route) {
303
+ const track = q("#walk-track");
304
+ if (!track) return;
305
+ const routeKm = route?.distance_m ? km(route.distance_m) : "route grounded";
306
+ setText("#walk-route-summary", `6 junctions / ${routeKm}`);
307
+ track.innerHTML = WALK_STEPS.map((step, index) => `
308
+ <button class="walk-node" type="button" role="tab" data-walk-index="${index}" aria-selected="false">
309
+ <span class="walk-node-dot"><span class="walk-node-code">${step.code}</span></span>
310
+ <span class="walk-node-label">${step.label}</span>
311
+ <span class="walk-node-prob"></span>
312
+ </button>
313
+ `).join("");
314
+ track.addEventListener("click", event => {
315
+ const button = event.target.closest("[data-walk-index]");
316
+ if (!button) return;
317
+ walkIndex = Number(button.dataset.walkIndex || 0);
318
+ updateWalkthrough();
319
+ });
320
+ q("#walk-prev")?.addEventListener("click", () => {
321
+ walkIndex = Math.max(0, walkIndex - 1);
322
+ updateWalkthrough();
323
+ });
324
+ q("#walk-next")?.addEventListener("click", () => {
325
+ walkIndex = Math.min(WALK_STEPS.length - 1, walkIndex + 1);
326
+ updateWalkthrough();
327
+ });
328
+ q("#walk-reset")?.addEventListener("click", () => {
329
+ walkIndex = 0;
330
+ updateWalkthrough();
331
+ });
332
+ updateWalkthrough();
333
+ }
334
+
335
+ function updateWalkthrough() {
336
+ const step = WALK_STEPS[walkIndex] || WALK_STEPS[0];
337
+ const track = q("#walk-track");
338
+ if (track) {
339
+ const progress = WALK_STEPS.length <= 1 ? 0 : (walkIndex / (WALK_STEPS.length - 1)) * 100;
340
+ track.style.setProperty("--progress-ratio", String(progress / 100));
341
+ track.querySelectorAll(".walk-node").forEach((node, index) => {
342
+ const item = WALK_STEPS[index];
343
+ node.classList.toggle("is-passed", index < walkIndex);
344
+ node.classList.toggle("is-active", index === walkIndex && !item.eligible && !item.final);
345
+ node.classList.toggle("is-eligible", index === walkIndex && Boolean(item.eligible));
346
+ node.classList.toggle("is-final", index === walkIndex && Boolean(item.final));
347
+ node.setAttribute("aria-selected", String(index === walkIndex));
348
+ const prob = node.querySelector(".walk-node-prob");
349
+ if (prob) prob.textContent = index < walkIndex ? `${item.confidence}%` : "";
350
+ });
351
+ }
352
+ setText("#walk-confidence", `${step.confidence}%`);
353
+ const bar = q("#walk-progress-bar");
354
+ if (bar) bar.style.width = `${step.confidence}%`;
355
+ const progress = q(".walk-progress");
356
+ if (progress) progress.classList.toggle("is-eligible", step.confidence >= 65);
357
+ const card = q("#walk-card");
358
+ if (card) {
359
+ card.classList.toggle("is-eligible", Boolean(step.eligible));
360
+ card.classList.toggle("is-final", Boolean(step.final));
361
+ card.innerHTML = `<h3>${step.title}</h3><p>${step.body}</p>`;
362
+ }
363
+ setText("#walk-position", `Junction ${walkIndex + 1} / ${WALK_STEPS.length}`);
364
+ const prev = q("#walk-prev");
365
+ const next = q("#walk-next");
366
+ if (prev) prev.disabled = walkIndex === 0;
367
+ if (next) {
368
+ next.disabled = walkIndex === WALK_STEPS.length - 1;
369
+ next.textContent = walkIndex === WALK_STEPS.length - 2 ? "Finish replay" : "Next junction";
370
+ }
371
+ }
372
+
373
+
374
+ async function init() {
375
+ try {
376
+ const [latest, suite, extreme, cctv, route, official] = await Promise.all([
377
+ loadJson(DATA.latest),
378
+ loadJson(DATA.suite),
379
+ loadJson(DATA.extreme),
380
+ loadJson(DATA.cctv),
381
+ loadJson(DATA.route),
382
+ loadJson(DATA.official)
383
+ ]);
384
+ renderNumbers({ latest, suite, extreme, cctv, route, official });
385
+ renderWalkthrough(route);
386
+ renderFallback(route, latest, extreme);
387
+ initMapLibre(route, latest, extreme);
388
+ } catch (error) {
389
+ console.error(error);
390
+ setText("#hero-action", "Could not load local evidence files. Check the frontend server path.");
391
+ setText("#route-distance", "Evidence load failed");
392
+ }
393
+ }
394
+
395
+ init();
index.html CHANGED
@@ -1,101 +1,144 @@
1
- <!doctype html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width, initial-scale=1" />
6
- <title>PTIS</title>
7
- <link rel="stylesheet" href="https://unpkg.com/maplibre-gl/dist/maplibre-gl.css" />
8
- <link rel="stylesheet" href="./clear.css?v=compact-5" />
9
- </head>
10
- <body>
11
- <header class="topbar">
12
- <a class="brand" href="#top" aria-label="PTIS home">PTIS</a>
13
- <nav aria-label="Page sections">
14
- <a href="#route">Route</a>
15
- <a href="#decision">Decision</a>
16
- <a href="#proof">Proof</a>
17
- <a href="#boundary">Boundary</a>
18
- <a class="dashboard-link" href="./dashboard.html" aria-label="Open detailed dashboard">
19
- <svg viewBox="0 0 24 24" aria-hidden="true"><path d="M4 19h16M7 16V9m5 7V5m5 11v-4M6 9l4-4 4 4 4-6" /></svg>
20
- Dashboard
21
- </a>
22
- </nav>
23
- </header>
24
-
25
- <main id="top">
26
- <section class="hero" aria-label="PTIS public showcase">
27
- <div class="hero-copy">
28
- <p class="eyebrow">Real route grounding</p>
29
- <h1>Traffic systems count vehicles. <span class="accent-text">PTIS predicts where they are going.</span></h1>
30
- <p class="lead">A vehicle that keeps crossing checkpoints without turning is giving destination evidence. PTIS converts those movement patterns into early destination belief, helping predict bottlenecks before they fully form.</p>
31
- <div class="hero-actions">
32
- <a class="primary-action" href="#route"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M8 5v14l11-7z" /></svg>Watch Route Replay</a>
33
- <a class="secondary-action" href="#proof"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M5 19V9m7 10V5m7 14v-7M3 19h18" /></svg>View Proof Numbers</a>
34
- </div>
35
- <div class="proof-ribbon" aria-label="Current proof state">
36
- <span><svg viewBox="0 0 24 24"><path d="M20 7 10 17l-5-5" /></svg>Software validated</span>
37
- <span><svg viewBox="0 0 24 24"><path d="M12 21s7-5.1 7-11a7 7 0 0 0-14 0c0 5.9 7 11 7 11Z" /><circle cx="12" cy="10" r="2.5" /></svg>Real route grounded</span>
38
- <span><svg viewBox="0 0 24 24"><path d="m5 19 4-9 9-4-4 9-9 4Z" /><path d="m12 12 3 3" /></svg>Pilot-ready</span>
39
- </div>
40
- </div>
41
-
42
- <section id="route" class="route-stage" aria-label="Route-grounded prediction map">
43
- <div class="route-card-head">
44
- <div>
45
- <h2>Route-Grounded Prediction</h2>
46
- <div class="route-path" aria-label="Route from Silk Board to Whitefield">
47
- <span class="solid-dot"></span><strong>Silk Board</strong><span class="arrow">&rarr;</span><span class="ring-dot"></span><strong>Whitefield</strong>
48
- </div>
49
- </div>
50
- <span id="route-distance" class="distance-pill"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M5 19V9m7 10V5m7 14v-7M3 19h18" /></svg>Loading route</span>
51
- </div>
52
- <div class="map-frame">
53
- <div id="map" class="map"></div>
54
- <svg id="fallback-map" class="fallback-map" role="img" aria-label="Fallback route geometry"></svg>
55
- <div class="decision-card" aria-live="polite">
56
- <span>PTIS belief after checkpoint</span>
57
- <div class="belief-line"><strong id="belief-percent">--</strong><b id="belief-destination">Whitefield</b></div>
58
- <div class="belief-track"><i id="belief-bar"></i></div>
59
- <p id="hero-action">Loading latest replay decision</p>
60
- </div>
61
- </div>
62
- </section>
63
- </section>
64
-
65
- <section class="metric-strip" aria-label="Proof summary metrics">
66
- <article><div class="metric-icon car"><svg viewBox="0 0 24 24"><path d="M5 16h14l-1.6-5.4A3 3 0 0 0 14.5 8h-5a3 3 0 0 0-2.9 2.6L5 16Z" /><path d="M7 16v3m10-3v3M8 19h.01M16 19h.01" /></svg></div><div><span>Route Points Analyzed</span><strong id="route-points-metric">--</strong><p>Across route geometry</p></div></article>
67
- <article><div class="metric-icon check"><svg viewBox="0 0 24 24"><path d="M20 7 10 17l-5-5" /></svg></div><div><span>Observation Events</span><strong id="events-metric">--</strong><p>Processed in replay</p></div></article>
68
- <article><div class="metric-icon chart"><svg viewBox="0 0 24 24"><path d="M4 19h16M7 16l4-5 3 3 5-8" /><path d="M17 6h2v2" /></svg></div><div><span>Prediction Confidence</span><strong id="confidence-metric">--</strong><p>Toward Whitefield</p></div></article>
69
- <article><div class="metric-icon clock"><svg viewBox="0 0 24 24"><circle cx="12" cy="12" r="8" /><path d="M12 8v5l4 2" /></svg></div><div><span>Safety Violations</span><strong id="safety-metric">--</strong><p>Capacity gate result</p></div></article>
70
- </section>
71
-
72
- <section id="decision" class="section decision-section" aria-label="How PTIS decides">
73
- <div class="section-title"><p class="eyebrow">The idea in one flow</p><h2>Do not wait for the jam to become obvious.</h2></div>
74
- <div class="decision-flow">
75
- <article class="flow-card observe"><div class="step-row"><span class="step-number">1</span><span class="flow-icon"><svg viewBox="0 0 24 24"><path d="M6 19V9m6 10V5m6 14v-8" /><path d="M4 19h16" /></svg></span></div><h3>Observe</h3><p>Use checkpoint counts. No GPS path, no number plates, no face data.</p></article>
76
- <article class="flow-card eliminate"><div class="step-row"><span class="step-number">2</span><span class="flow-icon"><svg viewBox="0 0 24 24"><path d="M4 5h16l-6.5 7.5V19l-3 1v-7.5L4 5Z" /></svg></span></div><h3>Eliminate</h3><p>Every passed junction removes one possible destination from the belief set.</p></article>
77
- <article class="flow-card gate"><div class="step-row"><span class="step-number">3</span><span class="flow-icon"><svg viewBox="0 0 24 24"><path d="M12 3 19 6v5c0 4.5-2.9 7.7-7 10-4.1-2.3-7-5.5-7-10V6l7-3Z" /><path d="m9 12 2 2 4-5" /></svg></span></div><h3>Gate</h3><p>Activate only when belief is high and the connector has safe capacity.</p></article>
78
- </div>
79
- </section>
80
-
81
- <section id="proof" class="section proof-section" aria-label="Proof numbers">
82
- <div class="section-title compact"><p class="eyebrow">What is proven today</p><h2>Software proof, not field-deployment claim.</h2></div>
83
- <div class="proof-grid">
84
- <article class="proof-card suite"><span>Deterministic suite</span><i><svg viewBox="0 0 24 24"><path d="M8 5h8M8 12h8M8 19h5" /><path d="M6 3h12v18H6z" /></svg></i><strong id="suite-pass">--</strong><p>Scenario checks passed.</p></article>
85
- <article class="proof-card stress"><span>Stress replay</span><i><svg viewBox="0 0 24 24"><path d="M8 5v14l11-7z" /></svg></i><strong id="stress-load">--</strong><p>Vehicles replayed through the decision logic.</p></article>
86
- <article class="proof-card events"><span>Checkpoint events</span><i><svg viewBox="0 0 24 24"><path d="M12 21s7-5.1 7-11a7 7 0 0 0-14 0c0 5.9 7 11 7 11Z" /><circle cx="12" cy="10" r="2.5" /></svg></i><strong id="observation-count">--</strong><p>Observation events processed.</p></article>
87
- <article class="proof-card safety"><span>Safety violations</span><i><svg viewBox="0 0 24 24"><path d="M12 3 19 6v5c0 4.5-2.9 7.7-7 10-4.1-2.3-7-5.5-7-10V6l7-3Z" /></svg></i><strong id="safety-count">--</strong><p>Capacity gate violations found.</p></article>
88
- <article class="proof-card cctv"><span>CCTV audit</span><i><svg viewBox="0 0 24 24"><path d="M5 7h14v10H5z" /><circle cx="12" cy="12" r="3" /><path d="M8 17l-2 3m10-3 2 3" /></svg></i><strong id="cctv-count">--</strong><p>Images / boxes audited.</p></article>
89
- <article class="proof-card official"><span>Official grounding</span><i><svg viewBox="0 0 24 24"><path d="M5 19V9m5 10V5m5 14v-7m5 7V3" /><path d="M3 19h18" /></svg></i><strong id="official-count">--</strong><p>Capacity reference basis.</p></article>
90
- </div>
91
- </section>
92
-
93
- <section id="boundary" class="section boundary-section" aria-label="Truth boundary">
94
- <div class="boundary-card"><div><p class="eyebrow">Truth boundary</p><h2>What this page is allowed to claim</h2></div><div class="boundary-columns"><article><h3>Claimed</h3><p>Replay software works on deterministic scenarios, stress load, real route geometry, public CCTV detection evidence, and official planning references.</p></article><article><h3>Not claimed yet</h3><p>No live BTP deployment, no Google Maps integration, no field-measured congestion reduction, and no agency-controlled checkpoint pilot yet.</p></article></div></div>
95
- </section>
96
- </main>
97
-
98
- <script src="https://unpkg.com/maplibre-gl/dist/maplibre-gl.js"></script>
99
- <script src="./clear.js?v=compact-5"></script>
100
- </body>
101
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
6
+ <title>PTIS</title>
7
+ <link rel="stylesheet" href="https://unpkg.com/maplibre-gl/dist/maplibre-gl.css" />
8
+ <link rel="stylesheet" href="./clear.css?v=walkthrough-1" />
9
+ </head>
10
+ <body>
11
+ <header class="topbar">
12
+ <a class="brand" href="#top" aria-label="PTIS home">PTIS</a>
13
+ <nav aria-label="Page sections">
14
+ <a href="#route">Route</a>
15
+ <a href="#walkthrough">How it works</a>
16
+ <a href="#decision">Decision</a>
17
+ <a href="#proof">Proof</a>
18
+ <a href="#boundary">Boundary</a>
19
+ <a class="dashboard-link" href="./dashboard.html" aria-label="Open detailed dashboard">
20
+ <svg viewBox="0 0 24 24" aria-hidden="true"><path d="M4 19h16M7 16V9m5 7V5m5 11v-4M6 9l4-4 4 4 4-6" /></svg>
21
+ Dashboard
22
+ </a>
23
+ </nav>
24
+ </header>
25
+
26
+ <main id="top">
27
+ <section class="hero" aria-label="PTIS public showcase">
28
+ <div class="hero-copy">
29
+ <p class="eyebrow">Real route grounding</p>
30
+ <h1>Traffic systems count vehicles. <span class="accent-text">PTIS predicts where they are going.</span></h1>
31
+ <p class="lead">A vehicle that keeps crossing checkpoints without turning is giving destination evidence. PTIS converts those movement patterns into early destination belief, helping predict bottlenecks before they fully form.</p>
32
+ <div class="hero-actions">
33
+ <a class="primary-action" href="#walkthrough"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M8 5v14l11-7z" /></svg>Watch Route Replay</a>
34
+ <a class="secondary-action" href="#proof"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M5 19V9m7 10V5m7 14v-7M3 19h18" /></svg>View Proof Numbers</a>
35
+ </div>
36
+ <div class="proof-ribbon" aria-label="Current proof state">
37
+ <span><svg viewBox="0 0 24 24"><path d="M20 7 10 17l-5-5" /></svg>Software validated</span>
38
+ <span><svg viewBox="0 0 24 24"><path d="M12 21s7-5.1 7-11a7 7 0 0 0-14 0c0 5.9 7 11 7 11Z" /><circle cx="12" cy="10" r="2.5" /></svg>Real route grounded</span>
39
+ <span><svg viewBox="0 0 24 24"><path d="m5 19 4-9 9-4-4 9-9 4Z" /><path d="m12 12 3 3" /></svg>Pilot-ready</span>
40
+ </div>
41
+ </div>
42
+
43
+ <section id="route" class="route-stage" aria-label="Route-grounded prediction map">
44
+ <div class="route-card-head">
45
+ <div>
46
+ <h2>Route-Grounded Prediction</h2>
47
+ <div class="route-path" aria-label="Route from Silk Board to Whitefield">
48
+ <span class="solid-dot"></span><strong>Silk Board</strong><span class="arrow">&rarr;</span><span class="ring-dot"></span><strong>Whitefield</strong>
49
+ </div>
50
+ </div>
51
+ <span id="route-distance" class="distance-pill"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M5 19V9m7 10V5m7 14v-7M3 19h18" /></svg>Loading route</span>
52
+ </div>
53
+ <div class="map-frame">
54
+ <div id="map" class="map"></div>
55
+ <svg id="fallback-map" class="fallback-map" role="img" aria-label="Fallback route geometry"></svg>
56
+ <div class="decision-card" aria-live="polite">
57
+ <span>PTIS belief after checkpoint</span>
58
+ <div class="belief-line"><strong id="belief-percent">--</strong><b id="belief-destination">Whitefield</b></div>
59
+ <div class="belief-track"><i id="belief-bar"></i></div>
60
+ <p id="hero-action">Loading latest replay decision</p>
61
+ </div>
62
+ </div>
63
+ </section>
64
+ </section>
65
+
66
+ <section class="metric-strip" aria-label="Proof summary metrics">
67
+ <article><div class="metric-icon car"><svg viewBox="0 0 24 24"><path d="M5 16h14l-1.6-5.4A3 3 0 0 0 14.5 8h-5a3 3 0 0 0-2.9 2.6L5 16Z" /><path d="M7 16v3m10-3v3M8 19h.01M16 19h.01" /></svg></div><div><span>Route Points Analyzed</span><strong id="route-points-metric">--</strong><p>Across route geometry</p></div></article>
68
+ <article><div class="metric-icon check"><svg viewBox="0 0 24 24"><path d="M20 7 10 17l-5-5" /></svg></div><div><span>Observation Events</span><strong id="events-metric">--</strong><p>Processed in replay</p></div></article>
69
+ <article><div class="metric-icon chart"><svg viewBox="0 0 24 24"><path d="M4 19h16M7 16l4-5 3 3 5-8" /><path d="M17 6h2v2" /></svg></div><div><span>Prediction Confidence</span><strong id="confidence-metric">--</strong><p>Toward Whitefield</p></div></article>
70
+ <article><div class="metric-icon clock"><svg viewBox="0 0 24 24"><circle cx="12" cy="12" r="8" /><path d="M12 8v5l4 2" /></svg></div><div><span>Safety Violations</span><strong id="safety-metric">--</strong><p>Capacity gate result</p></div></article>
71
+ </section>
72
+
73
+
74
+ <section id="walkthrough" class="section walkthrough-section" aria-label="Interactive PTIS checkpoint walkthrough">
75
+ <div class="section-title walkthrough-title">
76
+ <p class="eyebrow">How PTIS works</p>
77
+ <h2>Click a junction and watch the belief change.</h2>
78
+ <p>Each checkpoint crossing without a turn removes one destination possibility. PTIS treats that absence as evidence, then applies a capacity gate before any software action becomes eligible.</p>
79
+ </div>
80
+
81
+ <div class="walkthrough-panel">
82
+ <div class="walkthrough-meta">
83
+ <span>Silk Board &rarr; Whitefield</span>
84
+ <strong id="walk-route-summary">6 junctions</strong>
85
+ <em>Illustrative software replay, not live traffic control.</em>
86
+ </div>
87
+
88
+ <div id="walk-track" class="walk-track" role="tablist" aria-label="PTIS checkpoint sequence"></div>
89
+
90
+ <div class="walk-insight-grid">
91
+ <div class="confidence-box">
92
+ <div class="confidence-head">
93
+ <span>Confidence: vehicle is heading to Whitefield</span>
94
+ <strong id="walk-confidence">18%</strong>
95
+ </div>
96
+ <div class="walk-progress" aria-hidden="true"><i id="walk-progress-bar"></i></div>
97
+ <p id="walk-threshold" class="threshold-note">65% threshold: connector is only eligible after the capacity gate is safe.</p>
98
+ </div>
99
+
100
+ <article id="walk-card" class="walk-card" aria-live="polite">
101
+ <h3>Vehicle enters at Silk Board</h3>
102
+ <p>PTIS starts from a prior belief. Six possible destinations remain, so the system observes without acting.</p>
103
+ </article>
104
+ </div>
105
+
106
+ <div class="walk-controls" aria-label="Walkthrough controls">
107
+ <button id="walk-prev" type="button">Back</button>
108
+ <button id="walk-next" class="primary" type="button">Next junction</button>
109
+ <button id="walk-reset" type="button">Reset</button>
110
+ <span id="walk-position">Junction 1 / 6</span>
111
+ </div>
112
+ </div>
113
+ </section>
114
+
115
+ <section id="decision" class="section decision-section" aria-label="How PTIS decides">
116
+ <div class="section-title"><p class="eyebrow">The idea in one flow</p><h2>Do not wait for the jam to become obvious.</h2></div>
117
+ <div class="decision-flow">
118
+ <article class="flow-card observe"><div class="step-row"><span class="step-number">1</span><span class="flow-icon"><svg viewBox="0 0 24 24"><path d="M6 19V9m6 10V5m6 14v-8" /><path d="M4 19h16" /></svg></span></div><h3>Observe</h3><p>Use checkpoint counts. No GPS path, no number plates, no face data.</p></article>
119
+ <article class="flow-card eliminate"><div class="step-row"><span class="step-number">2</span><span class="flow-icon"><svg viewBox="0 0 24 24"><path d="M4 5h16l-6.5 7.5V19l-3 1v-7.5L4 5Z" /></svg></span></div><h3>Eliminate</h3><p>Every passed junction removes one possible destination from the belief set.</p></article>
120
+ <article class="flow-card gate"><div class="step-row"><span class="step-number">3</span><span class="flow-icon"><svg viewBox="0 0 24 24"><path d="M12 3 19 6v5c0 4.5-2.9 7.7-7 10-4.1-2.3-7-5.5-7-10V6l7-3Z" /><path d="m9 12 2 2 4-5" /></svg></span></div><h3>Gate</h3><p>Activate only when belief is high and the connector has safe capacity.</p></article>
121
+ </div>
122
+ </section>
123
+
124
+ <section id="proof" class="section proof-section" aria-label="Proof numbers">
125
+ <div class="section-title compact"><p class="eyebrow">What is proven today</p><h2>Software proof, not field-deployment claim.</h2></div>
126
+ <div class="proof-grid">
127
+ <article class="proof-card suite"><span>Deterministic suite</span><i><svg viewBox="0 0 24 24"><path d="M8 5h8M8 12h8M8 19h5" /><path d="M6 3h12v18H6z" /></svg></i><strong id="suite-pass">--</strong><p>Scenario checks passed.</p></article>
128
+ <article class="proof-card stress"><span>Stress replay</span><i><svg viewBox="0 0 24 24"><path d="M8 5v14l11-7z" /></svg></i><strong id="stress-load">--</strong><p>Vehicles replayed through the decision logic.</p></article>
129
+ <article class="proof-card events"><span>Checkpoint events</span><i><svg viewBox="0 0 24 24"><path d="M12 21s7-5.1 7-11a7 7 0 0 0-14 0c0 5.9 7 11 7 11Z" /><circle cx="12" cy="10" r="2.5" /></svg></i><strong id="observation-count">--</strong><p>Observation events processed.</p></article>
130
+ <article class="proof-card safety"><span>Safety violations</span><i><svg viewBox="0 0 24 24"><path d="M12 3 19 6v5c0 4.5-2.9 7.7-7 10-4.1-2.3-7-5.5-7-10V6l7-3Z" /></svg></i><strong id="safety-count">--</strong><p>Capacity gate violations found.</p></article>
131
+ <article class="proof-card cctv"><span>CCTV audit</span><i><svg viewBox="0 0 24 24"><path d="M5 7h14v10H5z" /><circle cx="12" cy="12" r="3" /><path d="M8 17l-2 3m10-3 2 3" /></svg></i><strong id="cctv-count">--</strong><p>Images / boxes audited.</p></article>
132
+ <article class="proof-card official"><span>Official grounding</span><i><svg viewBox="0 0 24 24"><path d="M5 19V9m5 10V5m5 14v-7m5 7V3" /><path d="M3 19h18" /></svg></i><strong id="official-count">--</strong><p>Capacity reference basis.</p></article>
133
+ </div>
134
+ </section>
135
+
136
+ <section id="boundary" class="section boundary-section" aria-label="Truth boundary">
137
+ <div class="boundary-card"><div><p class="eyebrow">Truth boundary</p><h2>What this page is allowed to claim</h2></div><div class="boundary-columns"><article><h3>Claimed</h3><p>Replay software works on deterministic scenarios, stress load, real route geometry, public CCTV detection evidence, and official planning references.</p></article><article><h3>Not claimed yet</h3><p>No live BTP deployment, no Google Maps integration, no field-measured congestion reduction, and no agency-controlled checkpoint pilot yet.</p></article></div></div>
138
+ </section>
139
+ </main>
140
+
141
+ <script src="https://unpkg.com/maplibre-gl/dist/maplibre-gl.js"></script>
142
+ <script src="./clear.js?v=walkthrough-1"></script>
143
+ </body>
144
+ </html>