-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
529 lines (507 loc) · 42 KB
/
index.html
File metadata and controls
529 lines (507 loc) · 42 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>TrueRecord — Workplace Grievance Reporting</title>
<meta name="description" content="A free, self-contained, privacy-first workplace grievance reporting portal. No server, no setup, no data leaves your device."/>
<link rel="preconnect" href="https://fonts.googleapis.com"/>
<link href="https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&family=DM+Sans:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet"/>
<style>
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: #07090f; color: #c8d0e0; font-family: 'DM Sans', 'Helvetica Neue', sans-serif; font-size: 15px; line-height: 1.65; overflow-x: hidden; }
::selection { background: #1d4ed8; color: #fff; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #07090f; }
::-webkit-scrollbar-thumb { background: #1e2d3d; border-radius: 99px; }
:root { --blue: #2563eb; --blue-bright: #3b82f6; --surface: #0d1520; --border: #1a2535; --muted: #4a5568; }
.display { font-family: 'Fraunces', Georgia, serif; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 28px; }
.section { padding: 100px 0; }
@keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:none; } }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }
@keyframes glow { 0%,100%{box-shadow:0 0 20px rgba(37,99,235,0.15)} 50%{box-shadow:0 0 50px rgba(37,99,235,0.35)} }
@keyframes blink { 0%,49%{opacity:1} 50%,100%{opacity:0} }
.reveal { opacity:0; transform:translateY(20px); transition:opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity:1; transform:none; }
/* ── Nav ── */
nav { position:fixed; top:0; left:0; right:0; z-index:100; background:rgba(7,9,15,0.9); backdrop-filter:blur(20px); border-bottom:1px solid var(--border); }
.nav-inner { display:flex; align-items:center; justify-content:space-between; padding:15px 28px; max-width:1080px; margin:0 auto; }
.logo { display:flex; align-items:center; gap:10px; text-decoration:none; color:inherit; }
.logo-mark { width:34px; height:34px; border-radius:9px; background:linear-gradient(135deg,#1d4ed8,#4f46e5); display:flex; align-items:center; justify-content:center; }
.logo-name { font-family:'Fraunces',serif; font-size:17px; font-weight:600; letter-spacing:-0.02em; color:#e2e8f0; }
.logo-sub { font-size:11px; color:var(--muted); margin-top:-2px; }
.nav-links { display:flex; align-items:center; gap:4px; }
.nav-link { padding:7px 13px; border-radius:8px; font-size:13px; font-weight:500; color:var(--muted); text-decoration:none; border:1px solid transparent; transition:all .15s; }
.nav-link:hover { color:#e2e8f0; border-color:var(--border); background:var(--surface); }
.nav-cta { padding:8px 18px; border-radius:8px; font-size:13px; font-weight:600; background:var(--blue); color:#fff; text-decoration:none; margin-left:4px; transition:background .15s; }
.nav-cta:hover { background:#1d4ed8; }
/* ── Hero ── */
.hero { padding:160px 0 100px; position:relative; overflow:hidden; }
.hero-grid { position:absolute; inset:0; opacity:0.025; background-image:linear-gradient(var(--border) 1px,transparent 1px),linear-gradient(90deg,var(--border) 1px,transparent 1px); background-size:60px 60px; }
.hero-glow { position:absolute; top:-150px; left:50%; transform:translateX(-50%); width:900px; height:500px; background:radial-gradient(ellipse,rgba(37,99,235,0.11) 0%,transparent 65%); pointer-events:none; }
.hero-content { position:relative; text-align:center; }
.hero-badge { display:inline-flex; align-items:center; gap:7px; background:rgba(37,99,235,0.07); border:1px solid rgba(37,99,235,0.2); border-radius:99px; padding:5px 14px; font-size:12px; font-weight:600; color:var(--blue-bright); margin-bottom:28px; animation:fadeUp .5s ease forwards; }
.badge-dot { width:6px; height:6px; border-radius:50%; background:var(--blue-bright); animation:pulse 2s infinite; }
.hero-title { font-family:'Fraunces',serif; font-size:clamp(42px,7vw,74px); font-weight:700; line-height:1.07; letter-spacing:-0.03em; color:#f0f4ff; margin-bottom:22px; animation:fadeUp .6s .1s ease both; }
.hero-title em { font-style:italic; color:var(--blue-bright); }
.hero-sub { font-size:18px; color:#5a7090; max-width:540px; margin:0 auto 36px; line-height:1.7; animation:fadeUp .6s .2s ease both; }
.hero-actions { display:flex; align-items:center; justify-content:center; gap:12px; flex-wrap:wrap; animation:fadeUp .6s .3s ease both; }
.btn-primary { display:inline-flex; align-items:center; gap:8px; background:var(--blue); color:#fff; border:none; padding:13px 26px; border-radius:10px; font-size:15px; font-weight:600; text-decoration:none; transition:all .15s; }
.btn-primary:hover { background:#1d4ed8; transform:translateY(-1px); }
.btn-secondary { display:inline-flex; align-items:center; gap:8px; background:transparent; color:#c8d0e0; border:1px solid var(--border); padding:13px 26px; border-radius:10px; font-size:15px; font-weight:500; text-decoration:none; transition:all .15s; }
.btn-secondary:hover { border-color:#2d3d50; background:var(--surface); }
.hero-note { margin-top:16px; font-size:12px; color:var(--muted); animation:fadeUp .6s .4s ease both; }
/* ── Window Mock ── */
.hero-visual { margin-top:64px; animation:fadeUp .8s .4s ease both; }
.hero-window { background:var(--surface); border:1px solid var(--border); border-radius:16px; overflow:hidden; box-shadow:0 40px 120px rgba(0,0,0,.6),0 0 0 1px rgba(255,255,255,.02); max-width:800px; margin:0 auto; animation:glow 4s ease infinite; }
.window-chrome { background:#0a0f1a; border-bottom:1px solid var(--border); padding:12px 16px; display:flex; align-items:center; gap:8px; }
.wdot { width:11px; height:11px; border-radius:50%; }
.window-url { flex:1; background:#07090f; border:1px solid var(--border); border-radius:6px; padding:5px 12px; font-size:12px; font-family:'JetBrains Mono',monospace; color:#334155; margin:0 10px; }
.window-body { padding:26px; }
.fake-hdr { display:flex; align-items:center; gap:10px; margin-bottom:20px; }
.fake-icon { width:34px; height:34px; border-radius:9px; background:linear-gradient(135deg,#1d4ed8,#4f46e5); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.fake-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:10px; }
.fake-field { background:#080c14; border:1px solid var(--border); border-radius:8px; padding:9px 13px; }
.f-label { font-size:10px; font-weight:700; color:#334155; letter-spacing:.08em; text-transform:uppercase; margin-bottom:3px; }
.f-val { font-size:13px; color:#e2e8f0; }
.f-val.dim { color:#4a5568; }
.fake-area { background:#080c14; border:1px solid var(--border); border-radius:8px; padding:12px 13px; height:66px; margin-bottom:10px; font-size:13px; color:#5a7090; line-height:1.6; }
.fake-bottom { display:flex; justify-content:space-between; align-items:center; }
.fake-toggles { display:flex; gap:8px; }
.fake-toggle { background:#080c14; border:1px solid var(--border); border-radius:8px; padding:7px 10px; font-size:11px; color:#4a5568; display:flex; align-items:center; gap:6px; }
.ton { width:28px; height:15px; border-radius:99px; background:#1d4ed8; position:relative; }
.ton::after { content:''; position:absolute; top:2px; right:2px; width:11px; height:11px; border-radius:50%; background:#fff; }
.toff { width:28px; height:15px; border-radius:99px; background:#1e2d3d; position:relative; }
.toff::after { content:''; position:absolute; top:2px; left:2px; width:11px; height:11px; border-radius:50%; background:#475569; }
.fake-btn { background:linear-gradient(135deg,#1d4ed8,#4f46e5); color:#fff; padding:9px 18px; border-radius:8px; font-size:13px; font-weight:600; display:flex; align-items:center; gap:6px; }
.hash-strip { margin-top:12px; background:#080c14; border:1px solid var(--border); border-radius:8px; padding:9px 13px; display:flex; align-items:center; justify-content:space-between; }
.h-label { font-size:10px; font-weight:700; color:#334155; letter-spacing:.08em; text-transform:uppercase; }
.h-val { font-family:'JetBrains Mono',monospace; font-size:11px; color:#3b82f6; }
/* ── Stats ── */
.stats-bar { border-top:1px solid var(--border); border-bottom:1px solid var(--border); background:var(--surface); padding:44px 0; }
.stats-inner { display:flex; justify-content:center; gap:80px; flex-wrap:wrap; }
.stat-num { font-family:'Fraunces',serif; font-size:36px; font-weight:700; color:#e2e8f0; line-height:1; }
.stat-num span { color:var(--blue-bright); }
.stat-label { font-size:13px; color:var(--muted); margin-top:5px; }
/* ── Features ── */
.features-grid { display:grid; grid-template-columns:1fr 1fr 1fr; gap:1px; background:var(--border); border:1px solid var(--border); border-radius:16px; overflow:hidden; }
.feature-card { background:var(--surface); padding:32px 28px; transition:background .2s; }
.feature-card:hover { background:#101928; }
.f-icon { width:42px; height:42px; border-radius:11px; display:flex; align-items:center; justify-content:center; margin-bottom:16px; }
.f-title { font-family:'Fraunces',serif; font-size:18px; font-weight:600; color:#e2e8f0; margin-bottom:8px; line-height:1.3; }
.f-desc { font-size:14px; color:#4a6080; line-height:1.75; }
/* ── Steps ── */
.steps { display:flex; flex-direction:column; max-width:680px; margin:0 auto; }
.step { display:flex; gap:28px; padding:36px 0; border-bottom:1px solid var(--border); }
.step:last-child { border-bottom:none; }
.step-num-col { flex-shrink:0; display:flex; flex-direction:column; align-items:center; }
.step-num { width:44px; height:44px; border-radius:12px; background:var(--surface); border:1px solid var(--border); display:flex; align-items:center; justify-content:center; font-family:'Fraunces',serif; font-size:20px; font-weight:700; color:var(--blue-bright); }
.step-line { flex:1; width:1px; background:var(--border); margin-top:8px; }
.step-body { padding-top:8px; }
.step-tag { font-size:11px; font-weight:700; color:var(--muted); letter-spacing:.1em; text-transform:uppercase; margin-bottom:6px; }
.step-title { font-family:'Fraunces',serif; font-size:22px; font-weight:600; color:#e2e8f0; margin-bottom:10px; line-height:1.3; }
.step-desc { font-size:14px; color:#4a6080; line-height:1.8; }
.code-block { margin-top:14px; background:#080c14; border:1px solid var(--border); border-radius:8px; padding:13px 16px; font-family:'JetBrains Mono',monospace; font-size:12px; line-height:1.8; }
.c-comment { color:#334155; }
.c-key { color:#93c5fd; }
.c-val { color:#fbbf24; }
/* ── Privacy ── */
.privacy-grid { display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.p-card { background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:28px; transition:border-color .2s; }
.p-card:hover { border-color:#2d3d50; }
.p-card.hi { border-color:rgba(37,99,235,0.3); background:rgba(37,99,235,0.04); }
.p-emoji { font-size:26px; margin-bottom:12px; }
.p-title { font-family:'Fraunces',serif; font-size:18px; font-weight:600; color:#e2e8f0; margin-bottom:8px; }
.p-desc { font-size:14px; color:#4a6080; line-height:1.8; }
/* ── Download ── */
.dl-box { background:var(--surface); border:1px solid var(--border); border-radius:20px; padding:60px; text-align:center; position:relative; overflow:hidden; }
.dl-glow { position:absolute; top:-60px; left:50%; transform:translateX(-50%); width:500px; height:300px; background:radial-gradient(ellipse,rgba(37,99,235,0.09) 0%,transparent 70%); pointer-events:none; }
.dl-title { font-family:'Fraunces',serif; font-size:38px; font-weight:700; color:#e2e8f0; margin-bottom:14px; line-height:1.2; }
.dl-sub { font-size:16px; color:#4a6080; max-width:480px; margin:0 auto 36px; line-height:1.7; }
.dl-steps { display:flex; align-items:flex-start; justify-content:center; gap:32px; margin:40px 0; flex-wrap:wrap; }
.dl-step { text-align:center; max-width:150px; }
.dl-num { width:36px; height:36px; border-radius:99px; background:rgba(37,99,235,0.1); border:1px solid rgba(37,99,235,0.25); display:flex; align-items:center; justify-content:center; font-family:'Fraunces',serif; font-size:16px; font-weight:700; color:var(--blue-bright); margin:0 auto 10px; }
.dl-step-title { font-size:13px; font-weight:600; color:#e2e8f0; margin-bottom:4px; }
.dl-step-desc { font-size:12px; color:var(--muted); line-height:1.6; }
.dl-arrow { color:var(--border); font-size:22px; padding-top:6px; align-self:flex-start; margin-top:12px; }
.dl-note { font-size:12px; color:var(--muted); margin-top:18px; }
/* ── FAQ ── */
.faq-list { border:1px solid var(--border); border-radius:14px; overflow:hidden; }
.faq-item { border-bottom:1px solid var(--border); }
.faq-item:last-child { border-bottom:none; }
.faq-q { width:100%; text-align:left; background:var(--surface); border:none; padding:22px 24px; font-size:15px; font-weight:600; color:#e2e8f0; cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:16px; transition:background .15s; font-family:'DM Sans',sans-serif; }
.faq-q:hover { background:#101928; }
.chevron { color:var(--muted); transition:transform .2s; flex-shrink:0; }
.chevron.open { transform:rotate(180deg); }
.faq-a { padding:0 24px; font-size:14px; color:#4a6080; line-height:1.85; max-height:0; overflow:hidden; transition:max-height .3s ease, padding .2s; background:var(--surface); }
.faq-a.open { max-height:300px; padding-bottom:24px; }
/* ── Footer ── */
footer { border-top:1px solid var(--border); padding:44px 0; }
.footer-inner { display:flex; flex-direction:column; align-items:center; gap:14px; text-align:center; }
.footer-logo { font-family:'Fraunces',serif; font-size:18px; font-weight:600; color:#e2e8f0; }
.footer-links { display:flex; gap:20px; }
.footer-links a { color:var(--muted); text-decoration:none; font-size:13px; transition:color .15s; }
.footer-links a:hover { color:#e2e8f0; }
.footer-copy { color:#1e2d3d; font-size:12px; }
@media (max-width:768px) {
.features-grid, .privacy-grid { grid-template-columns:1fr; }
.stats-inner { gap:36px; }
.hero-title { font-size:38px; }
.nav-links { display:none; }
.dl-box { padding:36px 20px; }
.fake-grid { grid-template-columns:1fr; }
.dl-arrow { display:none; }
.step { gap:18px; }
}
</style>
</head>
<body>
<nav>
<div class="nav-inner">
<a href="#" class="logo">
<div class="logo-mark">
<svg width="17" height="17" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2.2" stroke-linecap="round"><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"/></svg>
</div>
<div>
<div class="logo-name">TrueRecord</div>
<div class="logo-sub">Grievance Portal</div>
</div>
</a>
<div class="nav-links">
<a href="#" onclick="smoothScrollTo('features');return false;" class="nav-link">Features</a>
<a href="#" onclick="smoothScrollTo('how-it-works');return false;" class="nav-link">How it works</a>
<a href="#" onclick="smoothScrollTo('privacy');return false;" class="nav-link">Privacy</a>
<a href="#" onclick="smoothScrollTo('faq');return false;" class="nav-link">FAQ</a>
<a href="https://samirsaad786.github.io/truerecord/app.html" class="nav-cta">Submit a Report →</a>
</div>
</div>
</nav>
<!-- HERO -->
<section class="hero">
<div class="hero-grid"></div>
<div class="hero-glow"></div>
<div class="container">
<div class="hero-content">
<div class="hero-badge"><span class="badge-dot"></span>Free & Open Source · No server required</div>
<h1 class="hero-title">Workplace concerns,<br/><em>heard and recorded.</em></h1>
<p class="hero-sub">TrueRecord is a self-contained grievance reporting portal for HR teams. Download one file. Open it in a browser. Done — no backend, no login, no data leaves your device.</p>
<div class="hero-actions">
<a href="https://samirsaad786.github.io/truerecord/app.html" class="btn-primary">
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><polyline points="14 2 14 8 20 8"/></svg>
Submit a Report
</a>
<a href="#" onclick="smoothScrollTo('get-started');return false;" class="btn-secondary">
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><polyline points="7 10 12 15 17 10"/><line x1="12" y1="15" x2="12" y2="3"/></svg>
Download & Self-host
</a>
</div>
<p class="hero-note">MIT licensed · Works in any modern browser · No npm · No build tools</p>
</div>
<div class="hero-visual">
<div class="hero-window">
<div class="window-chrome">
<div class="wdot" style="background:#ef4444"></div>
<div class="wdot" style="background:#f59e0b"></div>
<div class="wdot" style="background:#10b981"></div>
<div class="window-url">truerecord / index.html</div>
</div>
<div class="window-body">
<div class="fake-hdr">
<div class="fake-icon"><svg width="17" height="17" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2" stroke-linecap="round"><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"/></svg></div>
<div><div style="font-family:'Fraunces',serif;font-size:17px;font-weight:600;color:#e2e8f0;">Submit a Grievance</div><div style="font-size:11px;color:#334155;margin-top:1px;">All data stored locally · Nothing sent to any server</div></div>
</div>
<div class="fake-grid">
<div class="fake-field"><div class="f-label">Incident Type</div><div class="f-val">Harassment</div></div>
<div class="fake-field"><div class="f-label">Department</div><div class="f-val">Engineering</div></div>
<div class="fake-field"><div class="f-label">Priority Level</div><div class="f-val" style="color:#fbbf24;">⬤ High</div></div>
<div class="fake-field"><div class="f-label">Date of Incident</div><div class="f-val">Mar 14, 2026</div></div>
</div>
<div class="fake-area">On March 14th, during the all-hands meeting, I experienced repeated interruptions and dismissive comments…<span style="display:inline-block;width:2px;height:13px;background:#3b82f6;vertical-align:middle;margin-left:1px;animation:blink 1s infinite;"></span></div>
<div class="fake-bottom">
<div class="fake-toggles">
<div class="fake-toggle"><div class="ton"></div>🔒 Confidential</div>
<div class="fake-toggle" style="color:#334155;"><div class="toff"></div>👁 Anonymous</div>
</div>
<div class="fake-btn">
<svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><line x1="22" y1="2" x2="11" y2="13"/><polygon points="22 2 15 22 11 13 2 9 22 2"/></svg>
Submit Report
</div>
</div>
<div class="hash-strip">
<div class="h-label">Cryptographic Commitment</div>
<div class="h-val">A3F7C2E1 · Block #4821 · CONFIRMED</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- STATS -->
<div class="stats-bar">
<div class="container">
<div class="stats-inner">
<div><div class="stat-num"><span>1</span> File</div><div class="stat-label">The entire app. One HTML file.</div></div>
<div><div class="stat-num"><span>0</span> Setup</div><div class="stat-label">No npm, no server, no config.</div></div>
<div><div class="stat-num"><span>0</span> KB Sent</div><div class="stat-label">Data never leaves the device.</div></div>
<div><div class="stat-num"><span>4</span> Tabs</div><div class="stat-label">Report · Track · Admin · Analytics</div></div>
</div>
</div>
</div>
<!-- FEATURES -->
<section class="section" id="features">
<div class="container">
<div style="text-align:center;margin-bottom:56px;" class="reveal">
<div style="font-size:12px;font-weight:700;color:var(--blue-bright);letter-spacing:0.12em;text-transform:uppercase;margin-bottom:12px;">What's inside</div>
<h2 class="display" style="font-size:38px;font-weight:700;color:#e2e8f0;letter-spacing:-0.02em;line-height:1.2;">Everything a real HR team needs.<br/><em style="color:#334155;">Nothing it doesn't.</em></h2>
</div>
<div class="features-grid reveal">
<div class="feature-card">
<div class="f-icon" style="background:rgba(37,99,235,0.08);"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="#3b82f6" stroke-width="2" stroke-linecap="round"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><polyline points="14 2 14 8 20 8"/><line x1="16" y1="13" x2="8" y2="13"/><line x1="16" y1="17" x2="8" y2="17"/></svg></div>
<div class="f-title">Structured Submission</div>
<div class="f-desc">Incident type, department, date, location, priority, tags, and file attachments — everything needed for a complete HR record from day one.</div>
</div>
<div class="feature-card">
<div class="f-icon" style="background:rgba(16,185,129,0.08);"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="#10b981" stroke-width="2" stroke-linecap="round"><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"/><path d="M9 12l2 2 4-4"/></svg></div>
<div class="f-title">True Anonymity Option</div>
<div class="f-desc">One toggle removes all identity fields. Name and email are disabled at the UI level and excluded from storage entirely — no leakage, no workarounds.</div>
</div>
<div class="feature-card">
<div class="f-icon" style="background:rgba(245,158,11,0.08);"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="#f59e0b" stroke-width="2" stroke-linecap="round"><rect x="3" y="11" width="18" height="11" rx="2"/><path d="M7 11V7a5 5 0 0 1 10 0v4"/></svg></div>
<div class="f-title">Blockchain-Backed Commitment</div>
<div class="f-desc">Each submission generates a cryptographic hash and nonce — a tamper-evident fingerprint of exactly what was reported and when.</div>
</div>
<div class="feature-card">
<div class="f-icon" style="background:rgba(139,92,246,0.08);"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="#a78bfa" stroke-width="2" stroke-linecap="round"><polyline points="22 12 18 12 15 21 9 3 6 12 2 12"/></svg></div>
<div class="f-title">Immutable Audit Chain</div>
<div class="f-desc">Every status change appends a new log entry with a hash, actor, and timestamp. Nothing is overwritten. Full chain of custody for every case.</div>
</div>
<div class="feature-card">
<div class="f-icon" style="background:rgba(59,130,246,0.08);"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="#60a5fa" stroke-width="2" stroke-linecap="round"><rect x="3" y="3" width="7" height="7"/><rect x="14" y="3" width="7" height="7"/><rect x="14" y="14" width="7" height="7"/><rect x="3" y="14" width="7" height="7"/></svg></div>
<div class="f-title">Admin Inbox & Triage</div>
<div class="f-desc">Filter by status and priority, update cases inline, search across all fields, and export filtered results to CSV in one click.</div>
</div>
<div class="feature-card">
<div class="f-icon" style="background:rgba(16,185,129,0.08);"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="#34d399" stroke-width="2" stroke-linecap="round"><line x1="18" y1="20" x2="18" y2="10"/><line x1="12" y1="20" x2="12" y2="4"/><line x1="6" y1="20" x2="6" y2="14"/></svg></div>
<div class="f-title">Analytics Dashboard</div>
<div class="f-desc">Breakdowns by status, priority, and incident type. Plus resolution rate, anonymity rate, and open case count at a glance.</div>
</div>
</div>
</div>
</section>
<!-- HOW IT WORKS -->
<section class="section" id="how-it-works" style="background:var(--surface);border-top:1px solid var(--border);border-bottom:1px solid var(--border);">
<div class="container">
<div style="text-align:center;margin-bottom:60px;" class="reveal">
<div style="font-size:12px;font-weight:700;color:var(--blue-bright);letter-spacing:0.12em;text-transform:uppercase;margin-bottom:12px;">How it works</div>
<h2 class="display" style="font-size:38px;font-weight:700;color:#e2e8f0;letter-spacing:-0.02em;line-height:1.2;">Simple by design.<br/><em style="color:#334155;">Secure by architecture.</em></h2>
</div>
<div class="steps reveal">
<div class="step">
<div class="step-num-col"><div class="step-num">1</div><div class="step-line"></div></div>
<div class="step-body">
<div class="step-tag">For Reporters</div>
<div class="step-title">Fill out the report form</div>
<div class="step-desc">Select incident type, department, date, location, and priority. Write a description (30+ characters). Optionally add tags and file attachments. Choose whether to submit confidentially, anonymously, or both.</div>
</div>
</div>
<div class="step">
<div class="step-num-col"><div class="step-num">2</div><div class="step-line"></div></div>
<div class="step-body">
<div class="step-tag">Submission</div>
<div class="step-title">Your report is cryptographically committed</div>
<div class="step-desc">On submit, the app generates a unique hash of your report content combined with a random nonce. This creates a tamper-evident fingerprint — if the report is ever altered, the hash won't match. The hash and block entry are shown on screen and stored with your record.</div>
<div class="code-block">
<span class="c-comment">// Generated at submission time — shown to reporter once</span><br/>
<span class="c-key">Report ID: </span><span class="c-val">A7F3C2E1</span><br/>
<span class="c-key">Hash: </span><span class="c-val">3B9D4F2A</span> <span class="c-comment">// one-way hash of content + nonce</span><br/>
<span class="c-key">Salt: </span><span class="c-val">X7KQ2M9P4R</span> <span class="c-comment">// random nonce, shown once</span><br/>
<span class="c-key">Block: </span><span class="c-val">#4821 · CONFIRMED</span>
</div>
</div>
</div>
<div class="step">
<div class="step-num-col"><div class="step-num">3</div><div class="step-line"></div></div>
<div class="step-body">
<div class="step-tag">For Reporters</div>
<div class="step-title">Track your report under My Reports</div>
<div class="step-desc">After submitting you're taken to My Reports where you can see the live status of every case you've filed in this browser. Save your Report ID as a reference number. Each status change is visible in real time.</div>
</div>
</div>
<div class="step">
<div class="step-num-col"><div class="step-num">4</div><div class="step-line"></div></div>
<div class="step-body">
<div class="step-tag">For HR / Admins</div>
<div class="step-title">Triage in the Admin inbox</div>
<div class="step-desc">The Admin tab shows all incoming reports. Filter by status or priority, search across all fields, and update cases inline. Every update appends a new entry to that case's audit chain — nothing is overwritten, ever.</div>
</div>
</div>
<div class="step">
<div class="step-num-col"><div class="step-num">5</div></div>
<div class="step-body">
<div class="step-tag">Optional</div>
<div class="step-title">Export, integrate, or customize</div>
<div class="step-desc">Export any filtered view to CSV with one click. Or connect TrueRecord to your existing case management system by replacing three async functions in the source. No framework knowledge required — it's all plain JavaScript inside a single HTML file.</div>
</div>
</div>
</div>
</div>
</section>
<!-- PRIVACY -->
<section class="section" id="privacy">
<div class="container">
<div style="text-align:center;margin-bottom:56px;" class="reveal">
<div style="font-size:12px;font-weight:700;color:var(--blue-bright);letter-spacing:0.12em;text-transform:uppercase;margin-bottom:12px;">Privacy Architecture</div>
<h2 class="display" style="font-size:38px;font-weight:700;color:#e2e8f0;letter-spacing:-0.02em;line-height:1.2;">Built to protect<br/><em style="color:#334155;">the people who speak up.</em></h2>
</div>
<div class="privacy-grid reveal">
<div class="p-card hi">
<div class="p-emoji">🔗</div>
<div class="p-title">Cryptographic Commitments</div>
<div class="p-desc">Each report generates a one-way hash of submission content combined with a random salt — a verifiable, tamper-evident proof consistent with blockchain-based audit trail principles. The hash cannot be reversed to reconstruct the original content.</div>
</div>
<div class="p-card">
<div class="p-emoji">👤</div>
<div class="p-title">True Anonymity</div>
<div class="p-desc">When anonymous mode is on, name and email fields are disabled at the UI level and excluded from the stored record entirely. No hidden metadata. Anonymous reports contain zero identity fields.</div>
</div>
<div class="p-card">
<div class="p-emoji">💾</div>
<div class="p-title">Local Storage Only</div>
<div class="p-desc">In the default configuration, all data is stored in your browser's localStorage. Nothing is sent to any server, third-party service, or analytics platform. Your data stays on the device where it was entered.</div>
</div>
<div class="p-card">
<div class="p-emoji">🔒</div>
<div class="p-title">Confidentiality Controls</div>
<div class="p-desc">The confidentiality toggle is a first-class flag on every record, designed to be enforced by backend access control logic. In production it restricts which HR roles can view the full record content.</div>
</div>
<div class="p-card">
<div class="p-emoji">📋</div>
<div class="p-title">Immutable Audit Log</div>
<div class="p-desc">Every status update appends a new entry to the case's audit chain — never overwrites. Each entry carries a hash, actor, and timestamp: a full inspectable history of every action taken on a case.</div>
</div>
<div class="p-card">
<div class="p-emoji">⚡</div>
<div class="p-title">Zero Retaliation by Design</div>
<div class="p-desc">Anonymous submissions make retaliation structurally impossible where identity isn't required. Every policy acknowledgment is captured and logged with the record at submission time.</div>
</div>
</div>
</div>
</section>
<!-- DOWNLOAD -->
<section class="section" id="get-started" style="background:var(--surface);border-top:1px solid var(--border);border-bottom:1px solid var(--border);">
<div class="container">
<div class="dl-box reveal">
<div class="dl-glow"></div>
<div style="position:relative;">
<div style="font-size:12px;font-weight:700;color:var(--blue-bright);letter-spacing:0.12em;text-transform:uppercase;margin-bottom:14px;">Get started in 60 seconds</div>
<h2 class="dl-title">Download once.<br/>Works forever.</h2>
<p class="dl-sub">No account. No subscription. No backend to maintain. One HTML file is the entire application.</p>
<div class="dl-steps">
<div class="dl-step"><div class="dl-num">1</div><div class="dl-step-title">Download</div><div class="dl-step-desc">Grab <code style="font-family:monospace;font-size:11px;color:#60a5fa;">index.html</code> from GitHub or the button below</div></div>
<div class="dl-arrow">→</div>
<div class="dl-step"><div class="dl-num">2</div><div class="dl-step-title">Open</div><div class="dl-step-desc">Double-click it or drag into Chrome, Firefox, Edge, or Safari</div></div>
<div class="dl-arrow">→</div>
<div class="dl-step"><div class="dl-num">3</div><div class="dl-step-title">Use it</div><div class="dl-step-desc">Submit reports, manage cases, export data — all working immediately</div></div>
<div class="dl-arrow">→</div>
<div class="dl-step"><div class="dl-num">4</div><div class="dl-step-title">Host it</div><div class="dl-step-desc">Drop on GitHub Pages or Netlify for shared team access (optional)</div></div>
</div>
<div style="display:flex;gap:12px;justify-content:center;flex-wrap:wrap;">
<a href="https://samirsaad786.github.io/truerecord/app.html" class="btn-primary" style="font-size:15px;padding:14px 30px;">
<svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><polyline points="7 10 12 15 17 10"/><line x1="12" y1="15" x2="12" y2="3"/></svg>
Download index.html
</a>
<a href="https://github.com/samirsaad786/truerecord" target="_blank" class="btn-secondary" style="font-size:15px;padding:14px 30px;">
<svg width="15" height="15" viewBox="0 0 24 24" fill="currentColor"><path d="M12 0C5.37 0 0 5.37 0 12c0 5.3 3.438 9.8 8.205 11.387.6.113.82-.258.82-.577v-2.165c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23A11.509 11.509 0 0 1 12 5.803c1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .322.218.694.825.576C20.565 21.796 24 17.3 24 12c0-6.63-5.37-12-12-12z"/></svg>
View on GitHub
</a>
</div>
<div class="dl-note">MIT License · Free to use, modify, and deploy · Works offline · No internet required after first load</div>
</div>
</div>
</div>
</section>
<!-- FAQ -->
<section class="section" id="faq">
<div class="container">
<div style="text-align:center;margin-bottom:56px;" class="reveal">
<div style="font-size:12px;font-weight:700;color:var(--blue-bright);letter-spacing:0.12em;text-transform:uppercase;margin-bottom:12px;">FAQ</div>
<h2 class="display" style="font-size:38px;font-weight:700;color:#e2e8f0;letter-spacing:-0.02em;">Common questions</h2>
</div>
<div class="faq-list reveal">
<div class="faq-item">
<button class="faq-q" onclick="toggleFaq(this)">Does this actually store data on a blockchain?<svg class="chevron" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polyline points="6 9 12 15 18 9"/></svg></button>
<div class="faq-a">In the default self-hosted version, data is stored in your browser's localStorage — not on a public blockchain. The "blockchain-backed commitment" refers to the cryptographic approach: each report is hashed with a random nonce, creating a tamper-evident fingerprint consistent with blockchain audit trail principles. The hash and nonce are stored with the record so the commitment can be independently verified at any time.</div>
</div>
<div class="faq-item">
<button class="faq-q" onclick="toggleFaq(this)">Is this actually private? Who can see my report?<svg class="chevron" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polyline points="6 9 12 15 18 9"/></svg></button>
<div class="faq-a">In the default configuration, your report is stored only in the localStorage of the browser where it was submitted — nothing is transmitted anywhere. In a deployed team setup, whoever controls the hosted device has Admin tab access, so your organization should establish its own access control policies. For full anonymity, the anonymous toggle prevents name and email from being stored at all.</div>
</div>
<div class="faq-item">
<button class="faq-q" onclick="toggleFaq(this)">What happens if I close the browser? Is my data lost?<svg class="chevron" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polyline points="6 9 12 15 18 9"/></svg></button>
<div class="faq-a">No. Data is saved to localStorage which persists between sessions. Your reports will still be there when you reopen the file — as long as you use the same browser on the same device and haven't cleared browser data. For production use, connecting TrueRecord to a real backend database is recommended so data isn't device-dependent.</div>
</div>
<div class="faq-item">
<button class="faq-q" onclick="toggleFaq(this)">Can multiple people use this at the same time?<svg class="chevron" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polyline points="6 9 12 15 18 9"/></svg></button>
<div class="faq-a">Yes — if you host the file on a shared URL (GitHub Pages, Netlify, your intranet), multiple people can access and submit reports from their own browsers. Each person's localStorage is separate, so reporters only see their own submissions in My Reports. The Admin tab on any device only shows reports submitted from that same device unless you connect a shared backend.</div>
</div>
<div class="faq-item">
<button class="faq-q" onclick="toggleFaq(this)">How do I connect this to our existing HR system?<svg class="chevron" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polyline points="6 9 12 15 18 9"/></svg></button>
<div class="faq-a">Open index.html in any text editor and find three async functions near the top of the script: apiCreate, apiUpdate, and apiDelete. Replace the localStorage logic inside each with a fetch() call to your backend endpoint. The rest of the UI stays exactly the same. The data shape is a simple JSON object — no framework knowledge required.</div>
</div>
<div class="faq-item">
<button class="faq-q" onclick="toggleFaq(this)">Can I change the incident types, departments, or branding?<svg class="chevron" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polyline points="6 9 12 15 18 9"/></svg></button>
<div class="faq-a">Yes — everything is configurable at the top of the script block. You'll find arrays for INCIDENT_TYPES, DEPTS, STATUSES, and PRIORITIES. Change the values and the UI updates automatically. Colors, fonts, and copy can all be modified in the same file.</div>
</div>
<div class="faq-item">
<button class="faq-q" onclick="toggleFaq(this)">Does this work without an internet connection?<svg class="chevron" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polyline points="6 9 12 15 18 9"/></svg></button>
<div class="faq-a">Once the page has loaded once (which pulls React and fonts from a CDN), all core functionality works offline. For guaranteed offline support from the very first load, you can download the CDN dependencies and serve them locally alongside the HTML file — instructions are in the GitHub README.</div>
</div>
</div>
</div>
</section>
<footer>
<div class="container">
<div class="footer-inner">
<div class="footer-logo">TrueRecord</div>
<div class="footer-links">
<a href="https://samirsaad786.github.io/truerecord/app.html">Submit a Report</a>
<a href="https://github.com/samirsaad786/truerecord" target="_blank">GitHub</a>
<a href="https://www.linkedin.com/in/saadsamir/" target="_blank">LinkedIn</a>
<a href="#" onclick="smoothScrollTo('how-it-works');return false;">How it works</a>
<a href="#" onclick="smoothScrollTo('faq');return false;">FAQ</a>
</div>
<a href="https://ko-fi.com/samirsaad" target="_blank" style="display:inline-flex;align-items:center;gap:8px;background:#0d1520;border:1px solid #1e2d3d;border-radius:99px;padding:8px 20px;font-size:13px;font-weight:600;color:#c8d0e0;text-decoration:none;transition:border-color .15s,color .15s;">
<svg width="16" height="16" viewBox="0 0 24 24" fill="#ff5e5b"><path d="M23.881 8.948c-.773-4.085-4.859-4.593-4.859-4.593H.723c-.604 0-.679.798-.679.798s-.082 7.324-.022 11.822c.164 2.424 2.586 2.672 2.586 2.672s8.267-.023 11.966-.049c2.438-.426 2.683-2.566 2.658-3.734 4.352.24 7.422-2.831 6.649-6.916zm-11.062 3.511c-1.246 1.453-4.011 3.976-4.011 3.976s-.121.119-.31.023c-.076-.057-.108-.09-.108-.09-.443-.441-3.368-3.049-4.034-3.954-.709-.965-1.041-2.7-.091-3.71.951-1.01 3.005-1.086 4.363.407 0 0 1.565-1.782 3.468-.963 1.904.82 1.832 3.011.723 4.311zm6.173.478c-.928.116-1.682.028-1.682.028V7.284h1.77s1.971.551 1.971 2.638c0 1.913-.985 2.667-2.059 3.015z"/></svg>
Support on Ko-fi
</a>
<div class="footer-copy">MIT License · Built by <a href="https://www.linkedin.com/in/saadsamir/" target="_blank" style="color:#2d3d50;text-decoration:none;">Samir Saad</a> · No cookies · No tracking · No server</div>
</div>
</div>
</footer>
<script>
function smoothScrollTo(id) {
var el = document.getElementById(id);
if (el) el.scrollIntoView({ behavior: 'smooth', block: 'start' });
}
function toggleFaq(btn) {
const answer = btn.nextElementSibling;
const chevron = btn.querySelector('.chevron');
const isOpen = answer.classList.contains('open');
document.querySelectorAll('.faq-a').forEach(a => a.classList.remove('open'));
document.querySelectorAll('.chevron').forEach(c => c.classList.remove('open'));
if (!isOpen) { answer.classList.add('open'); chevron.classList.add('open'); }
}
const observer = new IntersectionObserver(entries => {
entries.forEach((entry, i) => {
if (entry.isIntersecting) {
setTimeout(() => entry.target.classList.add('visible'), i * 80);
observer.unobserve(entry.target);
}
});
}, { threshold: 0.1 });
document.querySelectorAll('.reveal').forEach(el => observer.observe(el));
</script>
</body>
</html>