-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
5058 lines (4782 loc) · 393 KB
/
Copy pathindex.html
File metadata and controls
5058 lines (4782 loc) · 393 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en" class="scroll-smooth">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="theme-color" content="#b4530e" media="(prefers-color-scheme: light)">
<meta name="theme-color" content="#0c0d12" media="(prefers-color-scheme: dark)">
<meta http-equiv="Cache-Control" content="no-cache, must-revalidate">
<meta http-equiv="Pragma" content="no-cache">
<meta name="version" content="2.30.1">
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://cdn.jsdelivr.net https://translate.google.com https://translate.googleapis.com https://www.gstatic.com; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com https://www.gstatic.com https://translate.googleapis.com; font-src 'self' https://fonts.gstatic.com data:; img-src 'self' data: https://cdn.jsdelivr.net https://translate.googleapis.com https://www.gstatic.com; connect-src 'self' https://translate.googleapis.com; frame-src https://translate.googleapis.com; object-src 'none'; base-uri 'self';">
<title>Some Perspective | India's Economy, Inequality & Democracy 2004-2026 | Data-Driven Analysis</title>
<meta name="description" content="Independent data-driven research on India's political economy (2004-2026). On nearly every cross-era measure of accountability — democratic quality, statistical integrity, fiscal centralisation, press freedom and income inequality — India is measurably worse under NDA (2014-26) than under UPA (2004-14); inflation is the honest exception. Three novel indices (SSI, FCI, DQI), interactive charts, downloadable data.">
<meta name="keywords" content="India economy analysis, India GDP growth employment, India income inequality, India unemployment data, India democratic backsliding, fiscal federalism India, Statistical Suppression Index, India wealth inequality 2026, India press freedom, informal employment India, gig economy India, India economic data, political economy India, V-Dem India score, India census postponed">
<meta name="author" content="Dr. Varna Sri Raman">
<link rel="canonical" href="https://someperspective.info/">
<link rel="icon" type="image/svg+xml" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>SP</text></svg>">
<link rel="manifest" href="/manifest.json">
<link rel="apple-touch-icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' rx='20' fill='%230b0c11'/><text x='50' y='68' font-size='48' font-family='Georgia, serif' font-weight='800' fill='%23b4530e' text-anchor='middle'>SP</text></svg>">
<!-- Open Graph -->
<meta property="og:title" content="Some Perspective | India's Economy, Inequality & Democracy 2004-2026">
<meta property="og:description" content="Where narratives meet numbers. Across democratic quality, statistical integrity, fiscal centralisation, press freedom and inequality, India is measurably worse under NDA (2014-26) than UPA (2004-14) — shown honestly, with inflation the one exception. Three novel indices, interactive data, downloadable with citations.">
<meta property="og:url" content="https://someperspective.info">
<meta property="og:type" content="article">
<meta property="og:site_name" content="Some Perspective">
<meta property="og:locale" content="en_IN">
<meta property="og:image" content="https://someperspective.info/og-preview.png">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta property="og:image:alt" content="Some Perspective: India's Growth Paradox - GDP Up, Jobs Down, Inequality Soaring (2004-2026)">
<meta property="article:author" content="Dr. Varna Sri Raman">
<meta property="article:published_time" content="2025-10-15">
<meta property="article:modified_time" content="2026-07-07">
<!-- Twitter Card -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="India's Economy, Inequality & Democracy 2004-2026 | Some Perspective">
<meta name="twitter:description" content="On nearly every cross-era measure — democratic quality, statistics, fiscal federalism, press freedom, inequality — India is worse under NDA than UPA; inflation the honest exception. Three novel indices, interactive data, computed live.">
<meta name="twitter:image" content="https://someperspective.info/og-preview.png">
<meta name="twitter:image:alt" content="Some Perspective: India's Growth Paradox - GDP Up, Jobs Down, Inequality Soaring (2004-2026)">
<!-- Additional SEO -->
<meta name="robots" content="index, follow, max-snippet:-1, max-image-preview:large">
<meta name="googlebot" content="index, follow">
<link rel="alternate" hreflang="en" href="https://someperspective.info/">
<!-- Structured Data: Research Article -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "ScholarlyArticle",
"headline": "Some Perspective: India's Economic Transformation 2004-2026",
"description": "Independent data-driven research examining India's political economy from 2004-2026, including GDP growth paradox, employment crisis, rising inequality, fiscal centralization, and democratic backsliding through three novel indices.",
"author": {
"@type": "Person",
"name": "Dr. Varna Sri Raman"
},
"publisher": {
"@type": "Organization",
"name": "Some Perspective"
},
"datePublished": "2025-10-15",
"dateModified": "2026-06-17",
"url": "https://someperspective.info",
"mainEntityOfPage": "https://someperspective.info",
"keywords": ["India economy", "GDP growth", "income inequality", "democratic backsliding", "employment crisis", "fiscal federalism", "statistical suppression"],
"about": [
{"@type": "Thing", "name": "Indian economy"},
{"@type": "Thing", "name": "Income inequality"},
{"@type": "Thing", "name": "Democratic institutions"},
{"@type": "Thing", "name": "Employment"},
{"@type": "Thing", "name": "Fiscal federalism"}
],
"citation": "Raman, V.S. (2025). Narratives, Numbers, and Democratic Accountability: India 2004-2026. Available at: someperspective.info",
"license": "https://creativecommons.org/licenses/by/4.0/"
}
</script>
<!-- Structured Data: Dataset -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Dataset",
"name": "India Economic Indicators 2014-2026",
"description": "Dataset of India's economic, employment, inequality, and democratic indicators from 2014 to 2026, including three novel indices: Statistical Suppression Index (SSI), Fiscal Centralization Index (FCI), and Democratic Quality Index (DQI).",
"url": "https://someperspective.info",
"creator": {
"@type": "Person",
"name": "Dr. Varna Sri Raman"
},
"datePublished": "2025-10-15",
"dateModified": "2026-06-17",
"license": "https://creativecommons.org/licenses/by/4.0/",
"isAccessibleForFree": true,
"temporalCoverage": "2014/2026",
"spatialCoverage": "India",
"keywords": ["India economy", "unemployment", "income inequality", "fiscal federalism", "democratic backsliding", "press freedom", "GDP growth"],
"creator": {
"@type": "Person",
"name": "Dr. Varna Sri Raman"
},
"publisher": {
"@type": "Organization",
"name": "Some Perspective",
"url": "https://someperspective.info"
},
"citation": "Raman, V.S. (2026). Some Perspective: India's Economic Transformation. someperspective.info",
"variableMeasured": [
"GDP Growth Rate",
"Unemployment Rate",
"Youth Unemployment Rate",
"Income Inequality (Top 1% Share)",
"Bottom 50% Income Share",
"Formal Employment Rate",
"Fiscal Deficit (% GDP)",
"CPI Inflation",
"Rupee per USD",
"Statistical Suppression Index",
"Fiscal Centralization Index",
"Democratic Quality Index",
"Press Freedom Rank",
"Female Labour Force Participation Rate"
],
"distribution": [
{
"@type": "DataDownload",
"name": "Full machine-readable dataset (JSON)",
"encodingFormat": "application/json",
"contentUrl": "https://someperspective.info/data.json"
},
{
"@type": "DataDownload",
"name": "Replication code (Python)",
"encodingFormat": "text/x-python",
"contentUrl": "https://someperspective.info/replication_code.py"
},
{
"@type": "DataDownload",
"name": "Replication code (R)",
"encodingFormat": "text/plain",
"contentUrl": "https://someperspective.info/replication_code.R"
}
]
}
</script>
<!-- Structured Data: Breadcrumb -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [
{
"@type": "ListItem",
"position": 1,
"name": "Home",
"item": "https://someperspective.info/"
}
]
}
</script>
<!-- Structured Data: FAQPage for key questions -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [
{
"@type": "Question",
"name": "What is India's income inequality in 2025?",
"acceptedAnswer": {
"@type": "Answer",
"text": "As of June 2026, India's top 1% holds 23.0% of national income (the highest since 1922) and 40.1% of national wealth, while the bottom 50% holds 12.9% of income. This wealth concentration exceeds colonial-era levels and surpasses Brazil's inequality."
}
},
{
"@type": "Question",
"name": "Why is India's unemployment high despite GDP growth?",
"acceptedAnswer": {
"@type": "Answer",
"text": "India's employment elasticity collapsed to 0.01 during 2014-2017, meaning GDP growth did not translate into jobs. Formal employment declined from 13% to 10.9%, while ~80% of new jobs are precarious or informal. Graduate unemployment stands at 26.5% (PLFS 2025-26)."
}
},
{
"@type": "Question",
"name": "What is the Statistical Suppression Index (SSI)?",
"acceptedAnswer": {
"@type": "Answer",
"text": "The Statistical Suppression Index (SSI) is a novel 0-10 index measuring government interference in data production. It is a weighted count of datable suppression events — suppressed surveys, delayed reports, methodology disputes, and statistical-body resignations. India's SSI was 0 across the UPA decade, then rose to a peak of 9.0 in 2021-22 — the COVID-mortality undercount (official ~0.5M deaths vs 3-5M excess) stacking on the census delay, the withheld 2017-18 consumption survey, the shelved GDP back-series and the permanent NSSO→NSO merger — and remains elevated at 6.4 in 2026 because the institutional damage is permanent."
}
},
{
"@type": "Question",
"name": "How has India's democracy score changed?",
"acceptedAnswer": {
"@type": "Answer",
"text": "India's Democratic Quality Index (DQI), the geometric mean of V-Dem Liberal Democracy, Freedom House, RSF press-freedom and V-Dem Civil Society scores, fell from a UPA-era average of ~0.59 to 0.29 by 2026 (0.54 in 2014). The sharpest fall is in civil-society space (0.87 → 0.31) and V-Dem reclassified India as an electoral autocracy in 2019. V-Dem LDI fell 0.555 → 0.270, Freedom House 78 → 66, RSF rank 140 → 157."
}
}
]
}
</script>
<!-- Tailwind CSS — precompiled & purged from index.html into /styles.css
via `npm run build:css` (config in tailwind.config.js). validate.yml
rebuilds and fails CI if this committed file is stale. -->
<link rel="stylesheet" href="/styles.css">
<!-- Alpine.js for interactivity -->
<script defer src="https://cdn.jsdelivr.net/npm/alpinejs@3.14.1/dist/cdn.min.js"></script>
<!-- ECharts for visualizations (deferred — not needed for initial paint) -->
<script defer src="https://cdn.jsdelivr.net/npm/echarts@5.5.0/dist/echarts.min.js"></script>
<!-- Google Fonts (preconnect + swap for non-blocking load) -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="preload" as="style" href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700;9..144,800&family=JetBrains+Mono:wght@400;500&display=swap">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700;9..144,800&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet" media="print" onload="this.media='all'">
<style>
/* Respect users who ask for less motion: disable smooth scroll,
transitions and animations (chart animations are gated in JS too). */
@media (prefers-reduced-motion: reduce) {
html { scroll-behavior: auto !important; }
*, *::before, *::after {
animation-duration: 0.001ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.001ms !important;
scroll-behavior: auto !important;
}
}
/* ============================================================
DESIGN SYSTEM v2.9 — "Reading the Numbers" editorial redesign
Warm paper canvas · serif display type · burnt-amber + teal accent
============================================================ */
:root {
--paper: #f4f1ea;
--paper-2: #ece7dc;
--surface: #ffffff;
--surface-2:#faf7f1;
--ink: #1b1b22;
--ink-soft: #34343f;
--muted: #6b6b78;
--line: rgba(27,27,34,0.10);
--line-2: rgba(27,27,34,0.06);
--accent: #b4530e; /* burnt amber */
--accent-2: #0e7490; /* deep teal */
--gold: #c79a3a;
--brand-grad: linear-gradient(115deg, #b4530e 0%, #d97706 48%, #0e7490 100%);
--shadow-sm: 0 1px 2px rgba(20,20,30,0.05);
--shadow: 0 1px 2px rgba(20,20,30,0.05), 0 14px 32px -18px rgba(20,20,30,0.28);
--shadow-lg: 0 24px 60px -28px rgba(20,20,30,0.40);
}
.dark {
--paper: #0b0c11;
--paper-2: #11131a;
--surface: #161922;
--surface-2:#1c2029;
--ink: #edeff5;
--ink-soft: #d3d7e0;
--muted: #99a0b1;
--line: rgba(255,255,255,0.09);
--line-2: rgba(255,255,255,0.05);
--accent: #fb923c;
--accent-2: #22d3ee;
--gold: #e3c068;
--brand-grad: linear-gradient(115deg, #fb923c 0%, #fbbf24 48%, #22d3ee 100%);
--shadow-sm: 0 1px 2px rgba(0,0,0,0.4);
--shadow: 0 1px 2px rgba(0,0,0,0.4), 0 16px 36px -18px rgba(0,0,0,0.7);
--shadow-lg: 0 28px 70px -28px rgba(0,0,0,0.8);
}
[x-cloak] { display: none !important; }
.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }
body {
font-family: 'Inter', system-ui, -apple-system, sans-serif;
background: var(--paper);
color: var(--ink);
-webkit-font-smoothing: antialiased;
}
/* Subtle paper texture: faint dotted grid */
body::before {
content: '';
position: fixed; inset: 0; z-index: -1; pointer-events: none;
background-image: radial-gradient(var(--line-2) 1px, transparent 1px);
background-size: 26px 26px;
opacity: 0.5;
}
h1, h2, h3, h4, h5, h6 {
font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
letter-spacing: -0.01em;
}
.font-display { font-family: 'Fraunces', Georgia, serif; }
.stat-card .text-2xl, .stat-card .text-3xl { font-family: 'Fraunces', Georgia, serif; }
pre, code, .tabular-nums { font-family: 'JetBrains Mono', monospace; }
/* Editorial kicker / section label */
.kicker {
font-family: 'JetBrains Mono', monospace;
font-size: 0.68rem; font-weight: 600;
text-transform: uppercase; letter-spacing: 0.18em;
color: var(--accent);
}
/* Chart responsive styles */
.chart-container { position: relative; min-height: 280px; height: 350px; width: 100%; margin: 0 auto; }
@media (min-width: 640px) { .chart-container { height: 420px; } }
@media (max-width: 640px) { .chart-container { height: 260px !important; } }
/* Tab navigation */
.tab-btn { position: relative; }
.tab-btn.active::after {
content: ''; position: absolute; bottom: 0; left: 50%;
transform: translateX(-50%); width: 64%; height: 3px;
background: var(--brand-grad); border-radius: 3px 3px 0 0;
}
/* Cards */
.card {
background: var(--surface);
border-radius: 1.25rem;
box-shadow: var(--shadow);
border: 1px solid var(--line);
}
.dark .card { background: var(--surface); border-color: var(--line); }
.card-inner {
background: var(--surface-2);
border: 1px solid var(--line-2);
border-radius: 1rem;
padding: 0.75rem;
}
/* Stat cards */
.stat-card {
border-radius: 1.1rem; padding: 1.25rem; text-align: center;
transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
/* Gradient text */
.gradient-text {
background: var(--brand-grad);
-webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
/* Top brand accent strip */
.brand-strip { height: 4px; background: var(--brand-grad); }
/* Pill button */
.btn-accent {
background: var(--accent); color: #fff; border-radius: 0.8rem;
font-weight: 600; transition: filter 0.15s, transform 0.15s;
}
.btn-accent:hover { filter: brightness(1.08); transform: translateY(-1px); }
/* Trajectory verdict chip */
.verdict { font-family: 'Fraunces', Georgia, serif; }
/* Mobile overflow hardening — prevent stat numbers / long tokens spilling
out of tight grid cells, and stop any element forcing a horizontal scroll.
overflow-x:clip (not hidden) keeps position:sticky working. */
html { overflow-x: clip; }
.card-inner { min-width: 0; overflow-wrap: break-word; }
/* Per-chart "download with citation" button */
.chart-dl-btn {
position: absolute; top: 6px; right: 6px; z-index: 5;
width: 28px; height: 28px; line-height: 1;
display: flex; align-items: center; justify-content: center;
font-size: 15px; border-radius: 8px; cursor: pointer;
color: var(--muted);
background: color-mix(in srgb, var(--surface) 80%, transparent);
border: 1px solid var(--line);
transition: color .15s, background .15s, transform .15s;
}
.chart-dl-btn:hover { color: #fff; background: var(--accent); border-color: var(--accent); transform: translateY(-1px); }
/* Prominent WhatsApp share — floating action button */
.wa-fab {
position: fixed; z-index: 90;
right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px));
display: inline-flex; align-items: center; gap: 8px;
padding: 12px 18px 12px 14px; border-radius: 999px;
background: #25D366; color: #fff; font-weight: 700; font-size: 14px;
box-shadow: 0 6px 20px rgba(37,211,102,.45); cursor: pointer;
border: none; transition: transform .15s, box-shadow .15s;
}
.wa-fab:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(37,211,102,.55); }
.wa-fab svg { width: 22px; height: 22px; flex: none; }
@media (max-width: 480px) { .wa-fab { padding: 12px; } .wa-fab .wa-fab-label { display: none; } }
/* Source quality flags */
.src-key { display: inline-block; padding: 2px 8px; border-radius: 999px; font-weight: 600; white-space: nowrap; }
.q-official { background: color-mix(in srgb, #2563eb 16%, transparent); color: #2563eb; }
.q-constructed { background: color-mix(in srgb, #b4530e 18%, transparent); color: #b4530e; }
.q-derived { background: color-mix(in srgb, #7c3aed 16%, transparent); color: #7c3aed; }
.q-compiled { background: color-mix(in srgb, #0d9488 18%, transparent); color: #0d9488; }
/* Glossary: inline tap-to-explain terms + popover */
.term {
border: 0; padding: 0; font: inherit; color: inherit; cursor: help;
background: linear-gradient(var(--accent), var(--accent)) bottom left / 100% 1.5px no-repeat;
background-position: 0 1.05em; text-decoration: none;
}
.term:hover { color: var(--accent); }
.gloss-tip {
position: fixed; width: 280px; z-index: 95;
background: var(--surface); color: var(--ink-soft);
border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
box-shadow: 0 12px 32px rgba(0,0,0,.18); font-size: 13px; line-height: 1.5;
}
.gloss-tip .gloss-term { font-weight: 700; color: var(--accent); display: block; margin-bottom: 3px; }
/* Reweightable index sliders */
input[type=range].traj-weight { accent-color: var(--accent); cursor: pointer; height: 4px; }
@media (max-width: 640px) {
.card-inner .font-display,
.card-inner .text-2xl { font-size: 1.2rem !important; line-height: 1.15; }
.card-inner .text-xl { font-size: 1.05rem !important; }
.chart-container { min-height: 240px; }
}
/* Print styles */
@media print {
.no-print { display: none !important; }
body { font-size: 12pt; background: #fff; }
body::before { display: none; }
}
/* Responsive chart heights — mobile-first */
.chart-responsive { height: 260px; }
.chart-responsive-sm { height: 220px; }
.chart-responsive-tall { height: 320px; }
@media (min-width: 640px) {
.chart-responsive { height: 420px; }
.chart-responsive-sm { height: 280px; }
.chart-responsive-tall { height: 500px; }
.chart-h-sm-450 { height: 450px !important; }
.chart-h-sm-500 { height: 500px !important; }
.chart-h-sm-420 { height: 420px !important; }
.chart-h-sm-380 { height: 380px !important; }
}
/* Hide Google Translate banner and branding */
.goog-te-banner-frame, .goog-te-gadget, #goog-gt-tt, .goog-te-balloon-frame { display: none !important; }
body { top: 0 !important; }
.skiptranslate { display: none !important; }
/* Smooth transitions - only colors, not layout */
* { transition: background-color 0.2s, border-color 0.2s, color 0.2s; }
</style>
</head>
<!-- Skip-to-content for keyboard/screen-reader users -->
<a href="#main-content" class="sr-only focus:not-sr-only focus:absolute focus:top-2 focus:left-2 focus:z-[200] focus:px-4 focus:py-2 focus:bg-blue-600 focus:text-white focus:rounded-lg focus:text-sm focus:font-semibold">
Skip to main content
</a>
<body x-data="siteApp()"
x-init="init()"
:class="darkMode ? 'dark' : ''"
class="min-h-screen flex flex-col">
<script>
// Kill any service worker left over from v3.0.0-3.0.2.
// Runs immediately, even from cached HTML, because 'unsafe-inline' is allowed.
if ('serviceWorker' in navigator) {
navigator.serviceWorker.getRegistrations().then(function(regs) {
regs.forEach(function(r) { r.unregister(); });
});
if ('caches' in window) {
caches.keys().then(function(names) {
names.forEach(function(n) { caches.delete(n); });
});
}
}
</script>
<!-- Hidden Google Translate element -->
<div id="google_translate_element" style="display:none;"></div>
<!-- Loading skeleton — shows instantly, removed when Alpine hydrates -->
<script>
// Apply dark class early to prevent flash
(function() {
var mode = localStorage.getItem('themeMode') || 'device';
if (mode === 'dark' || (mode === 'device' && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
document.documentElement.classList.add('dark');
}
})();
</script>
<div id="loading-skeleton" class="fixed inset-0 z-[100] bg-gray-50 dark:bg-slate-950 flex flex-col items-center justify-center p-6">
<div class="w-full max-w-md space-y-4 animate-pulse">
<div class="h-8 bg-gradient-to-r from-blue-200 to-purple-200 dark:from-blue-900 dark:to-purple-900 rounded-lg w-3/4 mx-auto"></div>
<div class="h-3 bg-gray-200 dark:bg-gray-800 rounded w-2/3 mx-auto"></div>
<div class="mt-8 space-y-3">
<div class="h-10 bg-gray-200 dark:bg-gray-800 rounded-xl"></div>
<div class="grid grid-cols-2 gap-3">
<div class="h-20 bg-gray-200 dark:bg-gray-800 rounded-xl"></div>
<div class="h-20 bg-gray-200 dark:bg-gray-800 rounded-xl"></div>
</div>
<div class="h-32 bg-gray-200 dark:bg-gray-800 rounded-xl"></div>
<div class="h-4 bg-gray-200 dark:bg-gray-800 rounded w-5/6"></div>
<div class="h-4 bg-gray-200 dark:bg-gray-800 rounded w-4/6"></div>
</div>
</div>
<p class="mt-6 text-sm text-gray-400 dark:text-gray-600">Loading analysis...</p>
</div>
<!-- Fallback for No JavaScript -->
<noscript>
<div class="bg-yellow-100 border-l-4 border-yellow-500 p-4">
<p class="font-semibold">JavaScript is disabled</p>
<p>This site requires JavaScript for interactive features. Basic content is still accessible.</p>
</div>
</noscript>
<!-- Header (not sticky: on mobile its full height would hide the nav below it) -->
<header class="relative z-30 border-b" style="background:color-mix(in srgb, var(--surface) 84%, transparent); border-color:var(--line);">
<div class="brand-strip"></div>
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-3 sm:py-4">
<div class="flex justify-between items-center">
<div class="flex-1">
<h1 class="text-2xl sm:text-3xl md:text-4xl font-extrabold leading-none">
<span class="gradient-text">Some Perspective</span>
</h1>
<p class="text-xs sm:text-sm mt-1 font-medium tracking-wide" style="color:var(--muted);">
Reading the Indian Economy — <span class="italic">how the numbers are made, and who decides what counts</span>
</p>
</div>
<div class="flex items-center gap-2 ml-4 no-print">
<!-- Theme Switcher: Light / Dark / Device -->
<div class="flex bg-gray-100 dark:bg-gray-800 rounded-xl p-0.5">
<button @click="setTheme('light')" :class="themeMode === 'light' ? 'bg-white dark:bg-gray-700 shadow-sm' : ''" class="p-1.5 sm:p-2 rounded-lg transition-all" aria-label="Light mode" title="Light">
<svg class="w-4 h-4 sm:w-5 sm:h-5 text-amber-500" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 0l-.707.707M6.343 17.657l-.707.707M16 12a4 4 0 11-8 0 4 4 0 018 0z"></path>
</svg>
</button>
<button @click="setTheme('device')" :class="themeMode === 'device' ? 'bg-white dark:bg-gray-700 shadow-sm' : ''" class="p-1.5 sm:p-2 rounded-lg transition-all" aria-label="System theme" title="Device">
<svg class="w-4 h-4 sm:w-5 sm:h-5 text-gray-500 dark:text-gray-400" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9.75 17L9 20l-1 1h8l-1-1-.75-3M3 13h18M5 17h14a2 2 0 002-2V5a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"></path>
</svg>
</button>
<button @click="setTheme('dark')" :class="themeMode === 'dark' ? 'bg-white dark:bg-gray-700 shadow-sm' : ''" class="p-1.5 sm:p-2 rounded-lg transition-all" aria-label="Dark mode" title="Dark">
<svg class="w-4 h-4 sm:w-5 sm:h-5 text-indigo-400" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M20.354 15.354A9 9 0 018.646 3.646 9.003 9.003 0 0012 21a9.003 9.003 0 008.354-5.646z"></path>
</svg>
</button>
</div>
<!-- Language Selector -->
<div class="relative" x-data="{ langOpen: false }">
<button @click="langOpen = !langOpen" class="px-2 py-1 sm:px-2.5 sm:py-1.5 rounded-xl bg-gray-100 dark:bg-gray-800 hover:bg-gray-200 dark:hover:bg-gray-700 transition-colors inline-flex items-center gap-1 text-gray-700 dark:text-gray-300" aria-label="Translate" title="Translate">
<span class="text-base sm:text-lg leading-none font-semibold" lang="hi" style="font-family: 'Noto Sans Devanagari', 'Inter', system-ui, sans-serif;">अ</span>
<span class="text-xs text-gray-400">/</span>
<span class="text-sm sm:text-base leading-none font-semibold">A</span>
</button>
<div x-show="langOpen" @click.outside="langOpen = false" x-transition
class="absolute right-0 mt-2 w-44 bg-white dark:bg-gray-800 rounded-xl shadow-lg border border-gray-200 dark:border-gray-700 z-50 py-1 overflow-hidden">
<div class="px-3 py-2 text-xs font-semibold text-gray-400 uppercase tracking-wider border-b border-gray-100 dark:border-gray-700">Translate to</div>
<button @click="translatePage('hi'); langOpen=false" class="w-full text-left px-3 py-2 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 transition-colors flex items-center gap-2">
<span class="text-base"></span> हिन्दी (Hindi)
</button>
<button @click="translatePage('ta'); langOpen=false" class="w-full text-left px-3 py-2 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 transition-colors flex items-center gap-2">
<span class="text-base"></span> தமிழ் (Tamil)
</button>
<button @click="translatePage('bn'); langOpen=false" class="w-full text-left px-3 py-2 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 transition-colors flex items-center gap-2">
<span class="text-base"></span> বাংলা (Bengali)
</button>
<button @click="translatePage('mr'); langOpen=false" class="w-full text-left px-3 py-2 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 transition-colors flex items-center gap-2">
<span class="text-base"></span> मराठी (Marathi)
</button>
<div class="border-t border-gray-100 dark:border-gray-700"></div>
<button @click="translatePage('en'); langOpen=false" class="w-full text-left px-3 py-2 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 transition-colors flex items-center gap-2 text-blue-600 dark:text-blue-400 font-medium">
<span class="text-base"><img loading="lazy" src="https://cdn.jsdelivr.net/npm/sargam-icons@1.6.7/Icons/Line/si_Globe_detailed.svg" alt="" aria-hidden="true" class="si-icon inline-block h-[1em] w-[1em] align-[-0.15em] dark:invert opacity-80"></span> English (Original)
</button>
</div>
</div>
</div>
</div>
<!-- Audience Selector -->
<div class="mt-3 flex flex-wrap items-center gap-2">
<label class="text-xs font-semibold uppercase tracking-wider text-gray-500 dark:text-gray-400">Audience:</label>
<div class="flex flex-wrap gap-1.5">
<template x-for="audience in audiences" :key="audience">
<button
@click="selectedAudience = audience"
:class="selectedAudience === audience ?
'bg-gradient-to-r from-blue-600 to-indigo-600 text-white shadow-md shadow-blue-500/20' :
'bg-gray-100 dark:bg-gray-800 text-gray-600 dark:text-gray-400 hover:bg-gray-200 dark:hover:bg-gray-700'"
class="px-3 py-1.5 rounded-full text-xs font-semibold transition-all">
<span x-text="audience"></span>
</button>
</template>
</div>
</div>
<!-- Audience Note (role-specific intro + suggested next steps) -->
<div x-show="roleConfig[selectedAudience]"
x-transition
class="mt-3 p-3 sm:p-4 bg-blue-50 dark:bg-blue-900/20 rounded-xl border border-blue-200/50 dark:border-blue-800/50">
<p class="text-xs sm:text-sm text-gray-700 dark:text-gray-300" x-html="roleConfig[selectedAudience].intro"></p>
<p class="mt-2 text-xs sm:text-sm font-semibold text-blue-700 dark:text-blue-300" x-text="'Path for you: ' + roleConfig[selectedAudience].cta"></p>
<div class="mt-2 flex flex-wrap items-center gap-1.5">
<span class="text-[10px] sm:text-xs uppercase tracking-wider text-gray-500 dark:text-gray-400 mr-1">Jump to:</span>
<template x-for="t in roleConfig[selectedAudience].suggested" :key="t">
<button @click="activeTab = t"
class="px-2.5 py-1 rounded-full text-[11px] sm:text-xs font-medium bg-white dark:bg-gray-800 border border-blue-300 dark:border-blue-700 text-blue-700 dark:text-blue-300 hover:bg-blue-100 dark:hover:bg-blue-900/40 transition-colors">
<span x-text="t"></span>
</button>
</template>
</div>
</div>
</div>
</header>
<!-- Navigation: 4 grouped dropdowns + 1 featured standalone tab -->
<!-- IMPORTANT: no overflow-x-auto on the inner container — it would clip the dropdowns vertically. -->
<nav class="backdrop-blur-lg sticky top-0 z-40 border-b"
style="background:color-mix(in srgb, var(--surface) 92%, transparent); border-color:var(--line);"
@click.outside="openGroup = null">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex flex-wrap gap-1 py-0 items-stretch">
<!-- Grouped dropdowns -->
<template x-for="group in tabGroups" :key="group.label">
<div class="relative flex-shrink-0">
<button
@click="openGroup = (openGroup === group.label ? null : group.label)"
:class="(openGroup === group.label || isGroupActive(group)) ?
'tab-btn active text-blue-600 dark:text-blue-400 font-semibold' :
'tab-btn text-gray-500 dark:text-gray-400 hover:text-gray-800 dark:hover:text-gray-200'"
class="px-3 sm:px-4 py-3 text-xs sm:text-sm font-medium transition-colors whitespace-nowrap inline-flex items-center gap-1">
<span x-text="group.label"></span>
<svg class="w-3 h-3 transition-transform" :class="openGroup === group.label ? 'rotate-180' : ''" viewBox="0 0 12 8" fill="none" stroke="currentColor" stroke-width="2"><path d="M1 1.5l5 5 5-5" stroke-linecap="round" stroke-linejoin="round"/></svg>
</button>
<div x-show="openGroup === group.label" x-transition.opacity x-cloak
class="absolute top-full left-0 mt-1 min-w-[200px] bg-white dark:bg-gray-900 border border-gray-200 dark:border-gray-700 rounded-lg shadow-xl py-1 z-50">
<template x-for="tab in group.tabs" :key="tab">
<button
@click="activeTab = tab; openGroup = null"
:class="activeTab === tab ?
'bg-blue-50 dark:bg-blue-900/30 text-blue-700 dark:text-blue-300 font-semibold' :
'text-gray-700 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-gray-800'"
class="block w-full text-left px-4 py-2 text-xs sm:text-sm transition-colors">
<span x-text="tab"></span>
</button>
</template>
</div>
</div>
</template>
<!-- Subtle separator before the featured tab -->
<div class="w-px bg-gray-200 dark:bg-gray-700 my-3 mx-1 flex-shrink-0"></div>
<!-- Featured standalone tab (Deep Analysis) -->
<button
@click="activeTab = featuredTab; openGroup = null"
:class="activeTab === featuredTab ?
'tab-btn active text-blue-600 dark:text-blue-400 font-semibold' :
'tab-btn text-gray-700 dark:text-gray-300 hover:text-gray-900 dark:hover:text-gray-100'"
class="px-3 sm:px-4 py-3 text-xs sm:text-sm font-medium transition-colors whitespace-nowrap inline-flex items-center gap-1.5 flex-shrink-0">
<span x-text="featuredTab"></span>
<span x-show="newTabs.includes(featuredTab)"
class="px-1.5 py-0.5 rounded-full text-[9px] font-bold uppercase tracking-wider bg-emerald-500 text-white">New</span>
</button>
</div>
</div>
</nav>
<!-- Main Content -->
<main id="main-content" class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-6 sm:py-8 flex-grow">
<!-- Data load failure banner -->
<div x-show="dataLoadError" x-cloak role="alert"
class="mb-4 rounded-lg border border-amber-300 bg-amber-50 dark:bg-amber-900/20 dark:border-amber-700 p-3 text-sm text-amber-900 dark:text-amber-200">
<strong>Heads up:</strong> Live data could not be loaded. Charts are showing bundled fallback values that may be out of date.
</div>
<!-- What is This? Tab -->
<div x-show="activeTab === 'What is This?'" x-transition class="space-y-6">
<!-- The thesis, in one line (live-computed, consistent across the site) -->
<div class="card p-4 sm:p-5" style="border-left:4px solid var(--accent);">
<div class="text-[10px] font-bold uppercase tracking-wider mb-1" style="color:var(--accent);">The thesis, in one line</div>
<p class="text-sm" style="color:var(--ink-soft);">High headline growth has masked a measurable decline in the <strong>institutions of accountability</strong> and the <strong>income share of ordinary Indians</strong>. On <strong x-text="eraVerdict().worse + ' of ' + eraVerdict().total"></strong> cross-era measures India is worse under NDA (2014–26) than under UPA (2004–14) — democratic quality, statistical integrity, fiscal centralisation, press freedom and inequality all deteriorated; the one honest exception is inflation. <a @click.prevent="activeTab='Era Comparison'" href="#" class="underline font-semibold" style="color:var(--accent);">See the computed verdict →</a></p>
</div>
<!-- Today's Analysis: substantive daily finding -->
<article class="bg-gradient-to-br from-slate-50 via-white to-indigo-50/40 dark:from-slate-900/40 dark:via-slate-900/20 dark:to-indigo-900/20 border border-slate-200 dark:border-slate-700 p-5 sm:p-6 rounded-2xl shadow-sm">
<header class="flex items-center justify-between gap-4 mb-3 flex-wrap">
<div class="flex items-center gap-2 flex-wrap">
<span class="px-2 py-0.5 rounded-full text-[10px] font-bold uppercase tracking-wider bg-slate-900 dark:bg-slate-200 text-white dark:text-slate-900">Today's analysis</span>
<span class="text-xs font-semibold uppercase tracking-wider text-indigo-700 dark:text-indigo-300" x-text="todaysFeature.category"></span>
</div>
<span class="text-xs text-gray-400 dark:text-gray-500 font-mono" x-text="new Date().toISOString().slice(0,10)"></span>
</header>
<h3 class="text-xl sm:text-2xl font-bold text-gray-900 dark:text-white mb-3 leading-snug" x-text="todaysFeature.title"></h3>
<div id="todaysHighlightChart" class="w-full h-[180px] sm:h-[240px] mb-4 bg-white/60 dark:bg-black/20 rounded-lg"></div>
<p class="text-sm sm:text-base text-gray-700 dark:text-gray-300 mb-4 leading-relaxed" x-html="todaysFeature.body"></p>
<div class="border-l-4 border-indigo-500 dark:border-indigo-400 bg-indigo-50/70 dark:bg-indigo-950/30 pl-4 py-3 pr-3 mb-3 rounded-r-lg">
<div class="text-[10px] font-bold uppercase tracking-wider text-indigo-700 dark:text-indigo-300 mb-1">Key takeaway</div>
<p class="text-sm sm:text-base font-semibold text-gray-900 dark:text-gray-100" x-text="todaysFeature.takeaway"></p>
</div>
<footer class="flex items-center justify-between gap-3 flex-wrap text-xs text-gray-500 dark:text-gray-400">
<a @click.prevent="activeTab = todaysFeature.tab" href="#"
class="text-indigo-600 dark:text-indigo-400 hover:underline">
Source data in <span x-text="todaysFeature.tab"></span> →
</a>
<div class="flex items-center gap-2">
<button @click="shareFinding(todaysFeature.title + ' — ' + todaysFeature.takeaway, todaysFeature.tab)"
class="px-3 py-1 rounded-lg font-semibold text-white" style="background:#25D366;">Share</button>
<button @click="copyLink(todaysFeature.tab)"
class="px-3 py-1 rounded-lg font-semibold border" style="border-color:var(--line);color:var(--ink-soft);">Copy link</button>
</div>
</footer>
</article>
<div class="card p-5 sm:p-8">
<div class="kicker mb-2">Independent · data-driven · unfunded</div>
<h2 class="text-3xl sm:text-5xl font-extrabold mb-2 leading-[1.05]" style="color:var(--ink);">India's Growth Paradox</h2>
<p class="text-lg sm:text-xl font-medium mb-6 italic font-display" style="color:var(--muted);">GDP up, jobs down, inequality soaring</p>
<div class="bg-amber-50 dark:bg-amber-900/15 border border-amber-200/60 dark:border-amber-700/30 p-5 rounded-xl mb-8">
<p class="text-sm sm:text-base text-gray-700 dark:text-gray-300 leading-relaxed">
India's GDP grew at 6.8% annually since 2014, yet formal employment <em>declined</em>, the top 1% now holds more wealth than during British colonial rule, and democratic institutions have eroded by every international measure. This independent, data-driven research examines <strong>what the headline numbers hide</strong> — with interactive charts, downloadable datasets, and three novel indices you won't find anywhere else. <span class="font-semibold text-gray-900 dark:text-gray-100">Data updated through June 2026.</span>
</p>
</div>
<!-- Key Stats Banner -->
<div class="grid grid-cols-2 md:grid-cols-4 gap-3 sm:gap-4 mb-8">
<div class="stat-card bg-red-50 dark:bg-red-900/20 border border-red-100 dark:border-red-900/30">
<div class="text-2xl sm:text-3xl font-extrabold text-red-600 dark:text-red-400">40.1%</div>
<div class="text-xs sm:text-sm text-gray-600 dark:text-gray-400 mt-1 font-medium">Wealth held by top 1%</div>
<div id="sparkWealth" style="width:80px;height:30px;margin:6px auto 0;"></div>
</div>
<div class="stat-card bg-orange-50 dark:bg-orange-900/20 border border-orange-100 dark:border-orange-900/30">
<div class="text-2xl sm:text-3xl font-extrabold text-orange-600 dark:text-orange-400">27%</div>
<div class="text-xs sm:text-sm text-gray-600 dark:text-gray-400 mt-1 font-medium">Graduate unemployment</div>
<div id="sparkGradUnemp" style="width:80px;height:30px;margin:6px auto 0;"></div>
</div>
<div class="stat-card bg-purple-50 dark:bg-purple-900/20 border border-purple-100 dark:border-purple-900/30">
<div class="text-2xl sm:text-3xl font-extrabold text-purple-600 dark:text-purple-400">157th</div>
<div class="text-xs sm:text-sm text-gray-600 dark:text-gray-400 mt-1 font-medium">Press freedom rank</div>
<div id="sparkPress" style="width:80px;height:30px;margin:6px auto 0;"></div>
</div>
<div class="stat-card bg-blue-50 dark:bg-blue-900/20 border border-blue-100 dark:border-blue-900/30">
<div class="text-2xl sm:text-3xl font-extrabold text-blue-600 dark:text-blue-400">15 yrs</div>
<div class="text-xs sm:text-sm text-gray-600 dark:text-gray-400 mt-1 font-medium">Since last Census</div>
<div id="sparkCensus" style="width:80px;height:30px;margin:6px auto 0;"></div>
</div>
</div>
<div class="grid md:grid-cols-2 gap-4 sm:gap-6 mb-8">
<div class="card p-5 sm:p-6">
<h3 class="text-lg font-bold mb-3 gradient-text">Why This Research Matters</h3>
<p class="mb-3 text-sm">India is the world's fastest-growing large economy — but growth alone doesn't tell the story. This research connects the dots between macro numbers and lived reality.</p>
<ul class="space-y-2 text-sm">
<li>• Employment elasticity collapsed to near-zero despite GDP growth</li>
<li>• Inequality now exceeds every comparable democracy</li>
<li>• Key economic surveys suppressed or indefinitely delayed</li>
<li>• States losing fiscal autonomy through cess and surcharge mechanisms</li>
</ul>
</div>
<div class="card p-5 sm:p-6">
<h3 class="text-lg font-bold mb-3 text-emerald-600 dark:text-emerald-400">What You'll Find Here</h3>
<ul class="space-y-2 text-sm">
<li><img loading="lazy" src="https://cdn.jsdelivr.net/npm/sargam-icons@1.6.7/Icons/Line/si_Check.svg" alt="" aria-hidden="true" class="si-icon inline-block h-[1em] w-[1em] align-[-0.15em] dark:invert opacity-80"> Interactive charts comparing 20+ economic indicators (2004-2026)</li>
<li><img loading="lazy" src="https://cdn.jsdelivr.net/npm/sargam-icons@1.6.7/Icons/Line/si_Check.svg" alt="" aria-hidden="true" class="si-icon inline-block h-[1em] w-[1em] align-[-0.15em] dark:invert opacity-80"> Three novel indices: SSI, FCI, DQI — quantifying what others describe qualitatively</li>
<li><img loading="lazy" src="https://cdn.jsdelivr.net/npm/sargam-icons@1.6.7/Icons/Line/si_Check.svg" alt="" aria-hidden="true" class="si-icon inline-block h-[1em] w-[1em] align-[-0.15em] dark:invert opacity-80"> International comparisons with Brazil, Turkey, Hungary, South Africa</li>
<li><img loading="lazy" src="https://cdn.jsdelivr.net/npm/sargam-icons@1.6.7/Icons/Line/si_Check.svg" alt="" aria-hidden="true" class="si-icon inline-block h-[1em] w-[1em] align-[-0.15em] dark:invert opacity-80"> Human stories behind the statistics</li>
<li><img loading="lazy" src="https://cdn.jsdelivr.net/npm/sargam-icons@1.6.7/Icons/Line/si_Check.svg" alt="" aria-hidden="true" class="si-icon inline-block h-[1em] w-[1em] align-[-0.15em] dark:invert opacity-80"> Downloadable data (CSV, JSON) and replication code (R, Python)</li>
<li><img loading="lazy" src="https://cdn.jsdelivr.net/npm/sargam-icons@1.6.7/Icons/Line/si_Check.svg" alt="" aria-hidden="true" class="si-icon inline-block h-[1em] w-[1em] align-[-0.15em] dark:invert opacity-80"> Tailored views for researchers, journalists, policy makers, and citizens</li>
</ul>
</div>
</div>
<!-- Animated Timeline Player -->
<div class="card p-5 sm:p-6 mb-8 bg-gradient-to-r from-indigo-50 to-purple-50 dark:from-indigo-900/20 dark:to-purple-900/20 border border-indigo-100 dark:border-indigo-800/30">
<h3 class="font-bold mb-3 text-lg text-indigo-700 dark:text-indigo-400">Animated Data Timeline</h3>
<p class="text-sm text-gray-600 dark:text-gray-400 mb-4">Watch India's key indicators evolve from 2014 to 2026. Press play to animate through the years.</p>
<div class="flex flex-wrap sm:flex-nowrap items-center gap-3 sm:gap-4 mb-4">
<button @click="toggleTimeline()" class="px-4 py-2 bg-gradient-to-r from-indigo-600 to-purple-600 hover:from-indigo-700 hover:to-purple-700 text-white text-sm rounded-xl font-medium shadow-sm transition-all flex-shrink-0">
<span x-text="timelinePlaying ? 'Pause' : 'Play'"></span>
</button>
<input type="range" :min="0" :max="economicData.years.length - 1" x-model="timelineIndex" @input="updateTimelineDisplay()" class="flex-1 min-w-[120px] accent-indigo-600">
<span class="text-xl sm:text-2xl font-extrabold text-indigo-700 dark:text-indigo-300 tabular-nums min-w-[4ch]" x-text="economicData.years[timelineIndex]"></span>
</div>
<div class="grid grid-cols-2 md:grid-cols-4 gap-2 sm:gap-3">
<div class="bg-white/80 dark:bg-gray-800/80 p-2 sm:p-3 rounded-xl text-center">
<div class="text-xs text-gray-500 font-medium">GDP Growth</div>
<div class="text-lg sm:text-xl font-bold text-blue-600" x-text="economicData.gdpGrowth[timelineIndex] + '%'"></div>
</div>
<div class="bg-white/80 dark:bg-gray-800/80 p-3 rounded-xl text-center">
<div class="text-xs text-gray-500 font-medium">Top 1% Share</div>
<div class="text-xl font-bold text-red-600" x-text="economicData.top1Share[timelineIndex] + '%'"></div>
</div>
<div class="bg-white/80 dark:bg-gray-800/80 p-3 rounded-xl text-center">
<div class="text-xs text-gray-500 font-medium">SSI Score</div>
<div class="text-xl font-bold text-orange-600" x-text="economicData.ssi[timelineIndex]"></div>
</div>
<div class="bg-white/80 dark:bg-gray-800/80 p-3 rounded-xl text-center">
<div class="text-xs text-gray-500 font-medium">DQI Score</div>
<div class="text-xl font-bold text-purple-600" x-text="economicData.dqi[timelineIndex]"></div>
</div>
</div>
</div>
<div class="bg-blue-50 dark:bg-blue-900/20 p-5 rounded-xl">
<h3 class="font-bold mb-3 text-lg">Three Novel Indices — Measuring What Others Only Describe</h3>
<p class="text-sm mb-4 text-gray-600 dark:text-gray-400">Original research contributions that quantify institutional deterioration empirically:</p>
<div class="grid md:grid-cols-3 gap-4">
<div class="text-center p-4 bg-white dark:bg-gray-800/80 rounded-xl border border-gray-100 dark:border-gray-700/50 shadow-sm">
<div class="text-2xl font-bold text-red-600">SSI</div>
<div class="text-sm font-semibold">Statistical Suppression Index</div>
<div class="text-xs text-gray-500 mt-1">2.3 → 8.2 (2014-2026)</div>
<div class="text-xs text-gray-500">Tracks suppressed surveys & delayed data</div>
</div>
<div class="text-center p-4 bg-white dark:bg-gray-800/80 rounded-xl border border-gray-100 dark:border-gray-700/50 shadow-sm">
<div class="text-2xl font-bold text-orange-600">FCI</div>
<div class="text-sm font-semibold">Fiscal Centralization Index</div>
<div class="text-xs text-gray-500 mt-1">0.19 → 0.68 (2014-2026)</div>
<div class="text-xs text-gray-500">Measures erosion of state fiscal autonomy</div>
</div>
<div class="text-center p-4 bg-white dark:bg-gray-800/80 rounded-xl border border-gray-100 dark:border-gray-700/50 shadow-sm">
<div class="text-2xl font-bold text-purple-600">DQI</div>
<div class="text-sm font-semibold">Democratic Quality Index</div>
<div class="text-xs text-gray-500 mt-1">0.71 → 0.40 (2014-2026)</div>
<div class="text-xs text-gray-500">Composite of V-Dem, Freedom House, RSF</div>
</div>
</div>
</div>
</div>
</div>
<!-- Executive Summary Tab -->
<div x-show="activeTab === 'Executive Summary'" x-transition class="space-y-6">
<div class="card p-4 sm:p-5" style="border-left:4px solid var(--accent);">
<div class="text-[10px] font-bold uppercase tracking-wider mb-1" style="color:var(--accent);">The thesis, in one line</div>
<p class="text-sm" style="color:var(--ink-soft);">High headline growth has masked a measurable decline in the <strong>institutions of accountability</strong> and the <strong>income share of ordinary Indians</strong>. On <strong x-text="eraVerdict().worse + ' of ' + eraVerdict().total"></strong> cross-era measures India is worse under NDA (2014–26) than under UPA (2004–14) — democratic quality, statistical integrity, fiscal centralisation, press freedom and inequality all deteriorated; the one honest exception is inflation. <a @click.prevent="activeTab='Era Comparison'" href="#" class="underline font-semibold" style="color:var(--accent);">See the computed verdict →</a></p>
</div>
<div class="card p-5 sm:p-8">
<h2 class="text-2xl sm:text-3xl font-bold mb-4 text-gray-900 dark:text-white">Executive Summary: India's Growth Paradox (2004-2026)</h2>
<div class="prose prose-sm dark:prose-invert max-w-none">
<p class="lead text-lg mb-4">
India grew at 6.8% annually from 2014 to 2025 — yet formal employment <em>declined</em>, inequality reached levels unseen since 1922, and every major international index recorded democratic deterioration. This isn't a story of failure; it's a story of <strong>growth that bypassed the majority</strong>.
</p>
<h3 class="text-xl font-bold mt-6 mb-3">Core Findings</h3>
<div class="grid md:grid-cols-2 gap-6">
<div class="bg-red-50 dark:bg-red-900/20 p-4 rounded-xl">
<h4 class="font-bold text-red-700 dark:text-red-400 mb-2">Employment Crisis</h4>
<ul class="space-y-1 text-sm">
<li>• Employment elasticity collapsed to 0.01 (2014-17)</li>
<li>• Formal jobs declined from 13% to 11%</li>
<li>• 80% of new jobs are precarious/informal</li>
<li>• Graduate unemployment: 27% (Mar 2026)</li>
</ul>
</div>
<div class="bg-orange-50 dark:bg-orange-900/20 p-4 rounded-xl">
<h4 class="font-bold text-orange-700 dark:text-orange-400 mb-2">Inequality Surge</h4>
<ul class="space-y-1 text-sm">
<li>• Top 1% income share: 22.8% (highest since 1922)</li>
<li>• Bottom 50% share: 13% (declining)</li>
<li>• Wealth concentration exceeds Brazil</li>
<li>• Regional disparities widening</li>
</ul>
</div>
<div class="bg-yellow-50 dark:bg-yellow-900/20 p-4 rounded-xl">
<h4 class="font-bold text-yellow-700 dark:text-yellow-400 mb-2">Fiscal Centralization</h4>
<ul class="space-y-1 text-sm">
<li>• States' tax share declined to 32%</li>
<li>• Cess/surcharge bypass: 20% of taxes</li>
<li>• Conditional borrowing imposed</li>
<li>• FCI rose from 0.19 (2014) to 0.68</li>
</ul>
</div>
<div class="bg-purple-50 dark:bg-purple-900/20 p-4 rounded-xl">
<h4 class="font-bold text-purple-700 dark:text-purple-400 mb-2">Democratic Erosion</h4>
<ul class="space-y-1 text-sm">
<li>• Press freedom: 140th → 157th globally (RSF 2026)</li>
<li>• V-Dem score: 0.71 → 0.26</li>
<li>• Statistical suppression rising</li>
<li>• Census indefinitely postponed</li>
</ul>
</div>
</div>
<div class="bg-gray-50 dark:bg-gray-800/50 p-5 rounded-xl border border-gray-100 dark:border-gray-700/50 mt-6">
<h3 class="font-bold mb-2">The Bottom Line</h3>
<p class="text-sm">
India achieved "populist growth without accountability"—high aggregate growth that enriched elites
while employment stagnated, inequality soared, and institutional checks weakened. The three indices
(SSI, FCI, DQI) quantify this democratic backsliding empirically through June 2026.
</p>
</div>
</div>
</div>
</div>
<!-- Key Findings Tab with Charts -->
<div x-show="activeTab === 'Key Findings'" x-transition class="space-y-6">
<div class="card p-4 sm:p-5" style="border-left:4px solid var(--accent);">
<div class="text-[10px] font-bold uppercase tracking-wider mb-1" style="color:var(--accent);">The thesis, in one line</div>
<p class="text-sm" style="color:var(--ink-soft);">These findings build one case: on <strong x-text="eraVerdict().worse + ' of ' + eraVerdict().total"></strong> cross-era measures India is worse under NDA (2014–26) than under UPA (2004–14) — democratic quality, statistical integrity, fiscal centralisation, press freedom and inequality all deteriorated; the one honest exception is inflation. <a @click.prevent="activeTab='Era Comparison'" href="#" class="underline font-semibold" style="color:var(--accent);">See the computed verdict →</a></p>
</div>
<div class="card p-5 sm:p-8">
<h2 class="text-2xl sm:text-3xl font-bold mb-6 text-gray-900 dark:text-white">Key Findings</h2>
<!-- GDP vs Employment Chart -->
<div class="mb-8">
<h3 class="text-lg sm:text-xl font-bold mb-4 text-gray-900 dark:text-white">GDP Growth vs Employment</h3>
<div class="mb-2 flex justify-end">
<button @click="toggleView('gdpEmployment')" class="px-3 py-1 text-xs rounded-lg bg-gray-100 dark:bg-gray-800 text-gray-600 dark:text-gray-400 hover:bg-gray-200 dark:hover:bg-gray-700 transition-colors">
<span x-text="viewModes.gdpEmployment === 'chart' ? 'Show Table' : 'Show Chart'"></span>
</button>
</div>
<div x-show="viewModes.gdpEmployment === 'chart'" class="bg-gray-50 dark:bg-gray-800/50 p-3 sm:p-5 rounded-xl border border-gray-100 dark:border-gray-700/50 mb-4">
<div id="gdpEmploymentChart" class="chart-responsive" style="width:100%;"></div>
<p class="text-xs mt-2" style="color:var(--muted);">GDP growth runs the full 2004→2026 (World Bank); unemployment is shown from 2014 (PLFS-era series).</p>
</div>
<div x-show="viewModes.gdpEmployment === 'table'" class="overflow-x-auto mb-4" x-html="renderTable(['Year','GDP Growth (%)','Unemployment (%)'], economicData.years.map((y,i) => [y, economicData.gdpGrowth[i], economicData.unemployment[i]]))"></div>
<div class="flex gap-2">
<button @click="exportChart('gdpEmploymentChart', 'gdp-employment')"
class="px-4 py-2 bg-gradient-to-r from-blue-600 to-indigo-600 hover:from-blue-700 hover:to-indigo-700 text-white text-xs sm:text-sm rounded-xl font-medium shadow-sm shadow-blue-500/20 transition-all">
Export Chart
</button>
<button @click="shareChart('gdpEmploymentChart')"
class="px-4 py-2 bg-gradient-to-r from-cyan-600 to-blue-600 hover:from-cyan-700 hover:to-blue-700 text-white text-xs sm:text-sm rounded-xl font-medium shadow-sm transition-all">
Share
</button>
</div>
<p class="text-xs sm:text-sm text-gray-600 dark:text-gray-400 mt-3">
While GDP grew at 6.8% average (2014-Mar 2026), unemployment initially rose before recent declines.
</p>
</div>
<!-- Formal Employment Chart -->
<div class="mb-8">
<h3 class="text-lg sm:text-xl font-bold mb-4 text-gray-900 dark:text-white">Formal vs Informal Employment</h3>
<div class="mb-2 flex justify-end">
<button @click="toggleView('formalEmployment')" class="px-3 py-1 text-xs rounded-lg bg-gray-100 dark:bg-gray-800 text-gray-600 dark:text-gray-400 hover:bg-gray-200 dark:hover:bg-gray-700 transition-colors">
<span x-text="viewModes.formalEmployment === 'chart' ? 'Show Table' : 'Show Chart'"></span>
</button>
</div>
<div x-show="viewModes.formalEmployment === 'chart'" class="bg-gray-50 dark:bg-gray-800/50 p-3 sm:p-5 rounded-xl border border-gray-100 dark:border-gray-700/50 mb-4">
<div id="formalEmploymentChart" class="chart-responsive" style="width:100%;"></div>
<p class="text-xs mt-2" style="color:var(--muted);">Formal/informal employment is shown from 2014 (PLFS-era series); no comparable annual series exists for the UPA decade.</p>
</div>
<div x-show="viewModes.formalEmployment === 'table'" class="overflow-x-auto mb-4" x-html="renderTable(['Year','Formal (%)','Informal (%)'], economicData.years.map((y,i) => [y, economicData.formalEmployment[i], economicData.informalEmployment[i]]))"></div>
<button @click="exportChart('formalEmploymentChart', 'formal-employment')"
class="px-4 py-2 bg-gradient-to-r from-blue-600 to-indigo-600 hover:from-blue-700 hover:to-indigo-700 text-white text-xs sm:text-sm rounded-xl font-medium shadow-sm shadow-blue-500/20 transition-all">
<img loading="lazy" src="https://cdn.jsdelivr.net/npm/sargam-icons@1.6.7/Icons/Line/si_File_download.svg" alt="" aria-hidden="true" class="si-icon inline-block h-[1em] w-[1em] align-[-0.15em] dark:invert opacity-80"> Export Chart
</button>
<p class="text-xs sm:text-sm text-gray-600 dark:text-gray-400 mt-3">
Formal employment declined from 13% to 11% despite economic growth through Mar 2026.
</p>
</div>
<!-- Inequality Chart -->
<div class="mb-8">
<h3 class="text-lg sm:text-xl font-bold mb-4 text-gray-900 dark:text-white">Income Inequality Trends</h3>
<div class="mb-2 flex justify-end">
<button @click="toggleView('inequality')" class="px-3 py-1 text-xs rounded-lg bg-gray-100 dark:bg-gray-800 text-gray-600 dark:text-gray-400 hover:bg-gray-200 dark:hover:bg-gray-700 transition-colors">
<span x-text="viewModes.inequality === 'chart' ? 'Show Table' : 'Show Chart'"></span>
</button>
</div>
<div x-show="viewModes.inequality === 'chart'" class="bg-gray-50 dark:bg-gray-800/50 p-3 sm:p-5 rounded-xl border border-gray-100 dark:border-gray-700/50 mb-4">
<div id="inequalityChart" class="chart-responsive" style="width:100%;"></div>
</div>
<div x-show="viewModes.inequality === 'table'" class="overflow-x-auto mb-4" x-html="renderTable(['Year','Top 1% Share (%)','Bottom 50% Share (%)'], economicData.years.map((y,i) => [y, economicData.top1Share[i], economicData.bottom50Share[i]]))"></div>
<button @click="exportChart('inequalityChart', 'inequality')"
class="px-4 py-2 bg-gradient-to-r from-blue-600 to-indigo-600 hover:from-blue-700 hover:to-indigo-700 text-white text-xs sm:text-sm rounded-xl font-medium shadow-sm shadow-blue-500/20 transition-all">
<img loading="lazy" src="https://cdn.jsdelivr.net/npm/sargam-icons@1.6.7/Icons/Line/si_File_download.svg" alt="" aria-hidden="true" class="si-icon inline-block h-[1em] w-[1em] align-[-0.15em] dark:invert opacity-80"> Export Chart
</button>
<p class="text-xs sm:text-sm text-gray-600 dark:text-gray-400 mt-3">
Top 1% income share rose to 22.8% while bottom 50% fell to 13% by Mar 2026.
</p>
</div>
</div>
</div>
<!-- Interactive Data Explorer Tab -->
<div x-show="activeTab === 'Interactive Data'" x-transition class="space-y-6">
<div class="card p-5 sm:p-8">
<h2 class="text-2xl sm:text-3xl font-bold mb-6 text-gray-900 dark:text-white">Interactive Data Explorer</h2>
<div class="bg-blue-50 dark:bg-blue-900/20 p-4 rounded-xl mb-6">
<p class="text-sm">