-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
1504 lines (1381 loc) · 69.3 KB
/
Copy pathindex.html
File metadata and controls
1504 lines (1381 loc) · 69.3 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">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Lockbook — Open-source notebook, encrypted on your device</title>
<meta name="description" content="Lockbook is an open-source notebook for markdown notes and SVG drawings, encrypted on your device and shared only by invitation." />
<link rel="icon" type="image/svg+xml" href="/favicon/favicon.svg" />
<link rel="icon" type="image/png" sizes="96x96" href="/favicon/favicon-96x96.png" />
<link rel="apple-touch-icon" sizes="180x180" href="/favicon/apple-touch-icon.png" />
<link rel="manifest" href="/favicon/site.webmanifest" />
<script>
(function () {
var root = document.documentElement;
var dark = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)');
var light = window.matchMedia && window.matchMedia('(prefers-color-scheme: light)');
function apply() {
var isDark = !dark || dark.matches || !light.matches;
root.setAttribute('data-lb-mode', isDark ? 'dark' : 'light');
}
apply();
if (dark) dark.addEventListener('change', apply);
})();
</script>
<style>
:root {
--dim-black:#101010; --bright-black:#101010;
--dim-grey:#1D1D1D; --bright-grey:#F6F6F6;
--dim-red:#DF2040; --bright-red:#FF6680;
--dim-green:#00B371; --bright-green:#67E4B6;
--dim-yellow:#E6AC00; --bright-yellow:#FFDB70;
--dim-blue:#207FDF; --bright-blue:#66B2FF;
--dim-magenta:#7855AA; --bright-magenta:#AC8CD9;
--dim-cyan:#00BBCC; --bright-cyan:#6EECF7;
--dim-white:#FFFFFF; --bright-white:#FFFFFF;
color-scheme:dark;
--bg:#101010; --bg-panel:#1D1D1D; --bg-control:#3F3F3F;
--stroke:#565656; --divider:#383838;
--fg:#FFFFFF; --fg-2:#B4B4B4; --fg-3:#8E8E8E;
--accent:#66B2FF; --danger:#FF6680;
--wash-1:rgba(255,255,255,.05); --wash-2:rgba(255,255,255,.10);
--on-accent:#FFFFFF;
--ink-fill:#FFFFFF; --ink-fill-text:#101010;
--s-xxs:2px; --s-xs:5px; --s-sm:10px; --s-md:15px; --s-lg:25px; --s-xl:40px;
--s-2xl:65px; --s-3xl:105px;
--r-sm:4px; --r-control:8px; --r-surface:12px;
--anim:.2s;
--t-title:34px; --t-heading:22px; --t-body:17px; --t-mono:13px;
--lh-ui:1.4; --lh-prose:1.6;
--sans:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",system-ui,sans-serif;
--mono:ui-monospace,SFMono-Regular,"SF Mono","Noto Sans Mono",Menlo,monospace;
--measure:38em;
--page:1120px;
}
@media (prefers-color-scheme: light) {
:root {
color-scheme:light;
--bg:#FFFFFF; --bg-panel:#F6F6F6; --bg-control:#D4D4D4;
--stroke:#B1B1B1; --divider:#DADADA;
--fg:#101010; --fg-2:#515151; --fg-3:#838383;
--accent:#207FDF; --danger:#DF2040;
--wash-1:rgba(16,16,16,.05); --wash-2:rgba(16,16,16,.10);
--ink-fill:#101010; --ink-fill-text:#FFFFFF;
}
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
margin:0; background:var(--bg); color:var(--fg);
font-family:var(--sans); font-size:var(--t-body); line-height:var(--lh-prose);
-webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
}
img,svg{max-width:100%;display:block}
a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:var(--r-sm)}
h1,h2,h3,h4{margin:0;font-weight:600;letter-spacing:-.02em;line-height:1.15;text-wrap:balance}
p{margin:0}
code,kbd,samp{font-family:var(--mono);font-size:.85em}
.wrap{max-width:var(--page);margin:0 auto;padding:0 var(--s-lg)}
.measure{max-width:var(--measure)}
.btn{
display:inline-flex;align-items:center;justify-content:center;gap:var(--s-xs);
padding:var(--s-xs) var(--s-sm);min-height:34px;
border-radius:var(--r-control);border:1px solid transparent;
font:inherit;font-size:15px;font-weight:500;line-height:var(--lh-ui);
cursor:pointer;white-space:nowrap;text-decoration:none;
transition:background-color var(--anim) ease,border-color var(--anim) ease,color var(--anim) ease;
}
.btn:hover{text-decoration:none}
.btn-primary{background:var(--ink-fill);color:var(--ink-fill-text);border-color:var(--ink-fill)}
.btn-primary:hover{background:color-mix(in srgb,var(--ink-fill) 84%,var(--bg));border-color:color-mix(in srgb,var(--ink-fill) 84%,var(--bg))}
.btn-primary:active{background:color-mix(in srgb,var(--ink-fill) 76%,var(--bg));border-color:color-mix(in srgb,var(--ink-fill) 76%,var(--bg))}
.btn-quiet{background:transparent;color:var(--fg);border-color:var(--stroke)}
.btn-quiet:hover{background:var(--wash-1)}
.btn-quiet:active{background:var(--wash-2)}
.btn-lg{min-height:42px;padding:var(--s-sm) var(--s-md);font-size:16px}
.seg{
--n:3;position:relative;display:inline-grid;grid-auto-flow:column;grid-auto-columns:1fr;
padding:3px;border-radius:999px;background:var(--wash-2);
}
.seg-4{--n:4}
.seg-5{--n:5}
.seg-thumb{
position:absolute;top:3px;bottom:3px;left:3px;width:calc((100% - 6px) / var(--n));
border-radius:999px;background:var(--bg-control);
box-shadow:0 1px 2px rgba(0,0,0,.25);
transition:transform .28s cubic-bezier(.2,.7,.2,1);
}
@media (prefers-color-scheme:light){
.seg-thumb{background:var(--bg);box-shadow:0 1px 2px rgba(0,0,0,.12),0 0 0 .5px rgba(0,0,0,.06)}
}
.seg button{
position:relative;z-index:1;appearance:none;border:0;background:transparent;cursor:pointer;
min-width:104px;height:26px;padding:0 var(--s-md);border-radius:999px;
font:inherit;font-size:13px;font-weight:500;line-height:1;color:var(--fg-2);
transition:color var(--anim) ease;
}
.seg-lg button{min-width:150px;height:34px;padding:0 var(--s-lg);font-size:15px}
.seg-4.seg-lg button{min-width:110px}
.seg-5.seg-lg button{min-width:120px}
.seg button:hover,.seg button[aria-selected="true"]{color:var(--fg)}
.seg button:focus-visible{outline-offset:-2px}
@media (max-width:759px){
.seg{display:grid;width:100%}
.seg button,.seg-lg button,.seg-4.seg-lg button,.seg-5.seg-lg button{min-width:0;padding:0 var(--s-xs)}
.seg-5 button{font-size:14px}
}
.eyebrow{
font-family:var(--mono);font-size:11px;letter-spacing:.1em;text-transform:uppercase;
color:var(--accent);margin:0 0 var(--s-sm);
}
.site-header{
position:sticky;top:0;z-index:50;
background:color-mix(in srgb,var(--bg) 88%,transparent);
backdrop-filter:saturate(1.4) blur(10px);-webkit-backdrop-filter:saturate(1.4) blur(10px);
border-bottom:1px solid var(--divider);
}
.site-header .bar{display:flex;align-items:center;justify-content:space-between;gap:var(--s-md);height:60px}
.brand{display:inline-flex;align-items:center;gap:var(--s-xs);color:var(--fg);font-weight:600;font-size:17px;letter-spacing:-.01em}
.brand:hover{text-decoration:none}
.brand svg{width:22px;height:22px;color:var(--accent)}
.site-nav{display:flex;align-items:center;gap:var(--s-xs)}
.site-nav a.navlink{
color:var(--fg-2);font-size:15px;padding:var(--s-xs) var(--s-sm);border-radius:var(--r-control);
transition:background-color var(--anim) ease,color var(--anim) ease;
}
.site-nav a.navlink:hover{background:var(--wash-1);color:var(--fg);text-decoration:none}
.nav-desktop{display:none}
@media (min-width:860px){.nav-desktop{display:flex;align-items:center;gap:var(--s-xxs)}.nav-burger{display:none}}
.nav-burger{background:transparent;border:0;color:var(--fg);cursor:pointer;padding:var(--s-xs);border-radius:var(--r-control)}
.nav-burger:hover{background:var(--wash-1)}
#mobile-nav{display:none;border-top:1px solid var(--divider);padding:var(--s-sm) 0 var(--s-md)}
#mobile-nav.open{display:block}
#mobile-nav a{display:block;padding:var(--s-sm) var(--s-xs);color:var(--fg);font-size:16px}
@media (min-width:860px){#mobile-nav{display:none !important}}
.section{padding:var(--s-3xl) 0;border-top:1px solid var(--divider)}
.section:first-of-type{border-top:0}
.section h2{font-size:clamp(24px,3.6vw,var(--t-heading));font-size:clamp(24px,3.6vw,30px)}
.section .lede{color:var(--fg-2);margin-top:var(--s-md);max-width:var(--measure)}
.split{display:grid;gap:var(--s-xl);align-items:center}
@media (min-width:900px){
.split{grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:var(--s-2xl)}
.split.flip .split-text{order:2}
.split.flip .split-visual{order:1}
}
.ph{
position:relative;width:100%;border-radius:var(--r-surface);
border:1px dashed var(--stroke);background:var(--bg-panel);
display:flex;align-items:center;justify-content:center;
color:var(--fg-3);font-family:var(--mono);font-size:12px;line-height:1.6;
text-align:center;padding:var(--s-lg);
}
.ph[data-ratio="4/3"]{aspect-ratio:4/3}
.ph[data-ratio="16/10"]{aspect-ratio:16/10}
.ph[data-ratio="16/9"]{aspect-ratio:16/9}
.ph b{display:block;color:var(--fg-2);font-weight:500;margin-bottom:var(--s-xs)}
.window{
position:relative;margin:0;
border:1px solid var(--stroke);border-radius:var(--r-surface);
background:var(--bg-panel);overflow:hidden;
}
.window-bar{
display:flex;align-items:center;gap:var(--s-sm);
height:34px;padding:0 var(--s-sm);
border-bottom:1px solid var(--divider);background:var(--bg-panel);
}
.window-marks{flex:none;color:var(--fg-3);opacity:.65}
.window-dots{flex:none;margin-left:auto;color:var(--fg-3);opacity:.5}
.window-label{
font-family:var(--mono);font-size:11px;letter-spacing:.06em;
color:var(--fg-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.window-body{position:relative;background:var(--bg);}
.window-body[data-ratio="4/3"]{aspect-ratio:4/3}
.window-body[data-ratio="16/10"]{aspect-ratio:16/10}
.window-body canvas{display:block;width:100%;height:100%}
.demo-overlay{
position:absolute;inset:0;display:flex;flex-direction:column;
align-items:center;justify-content:center;gap:var(--s-sm);
background:var(--bg-panel);color:var(--fg-3);
font-family:var(--mono);font-size:12px;text-align:center;padding:var(--s-lg);
}
.spinner{
width:13px;height:13px;border-radius:50%;
border:1.5px solid var(--divider);border-top-color:var(--fg-3);
animation:spin .9s linear infinite;
}
@keyframes spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.spinner{animation:none}}
.cards{display:grid;gap:var(--s-md)}
@media (min-width:760px){.cards.three{grid-template-columns:repeat(3,1fr)}.cards.two{grid-template-columns:repeat(2,1fr)}}
.card{border:1px solid var(--divider);border-radius:var(--r-surface);padding:var(--s-lg);background:var(--bg)}
.card h3{font-size:19px;margin-bottom:var(--s-sm)}
.card p{color:var(--fg-2);font-size:16px}
.site-footer{border-top:1px solid var(--divider);padding:var(--s-2xl) 0 var(--s-xl);color:var(--fg-2);font-size:15px}
.site-footer .cols{display:grid;gap:var(--s-lg);margin-bottom:var(--s-lg)}
@media (min-width:760px){.site-footer .cols{grid-template-columns:repeat(4,1fr)}}
.site-footer h4{font-family:var(--mono);font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--fg-3);font-weight:400;margin-bottom:var(--s-sm)}
.site-footer ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:var(--s-xs)}
.site-footer a{color:var(--fg-2)}
.site-footer a:hover{color:var(--fg)}
.site-footer .base{display:flex;flex-wrap:wrap;gap:var(--s-sm) var(--s-lg);justify-content:space-between;
padding-top:var(--s-md);border-top:1px solid var(--divider);font-family:var(--mono);font-size:12px;color:var(--fg-3)}
.prose{max-width:42em;margin:0 auto;padding:var(--s-2xl) 0}
.prose h1{font-size:var(--t-title);margin-bottom:var(--s-md)}
.prose h2{font-size:var(--t-heading);margin:var(--s-xl) 0 var(--s-sm)}
.prose h3{font-size:19px;margin:var(--s-lg) 0 var(--s-xs)}
.prose p,.prose ul,.prose ol{margin:0 0 var(--s-md)}
.prose li{margin-bottom:var(--s-xs)}
.prose pre{background:var(--bg-panel);padding:var(--s-md);border-radius:var(--r-control);overflow-x:auto}
@media (prefers-reduced-motion:reduce){*{transition-duration:.01ms !important;animation-duration:.01ms !important}}
</style>
<script type="application/ld+json">
{
"@context":"https://schema.org",
"@type":"SoftwareApplication",
"name":"Lockbook",
"applicationCategory":"ProductivityApplication",
"operatingSystem":"macOS, iOS, Android, Linux, Windows",
"description":"Lockbook is an open-source notebook for markdown notes and SVG drawings, encrypted on your device and shared only by invitation.",
"url":"https://lockbook.net",
"license":"https://github.com/lockbook/lockbook/blob/master/UNLICENSE",
"sameAs":[
"https://github.com/lockbook/lockbook",
"https://apps.apple.com/us/app/lockbook/id1526775001",
"https://play.google.com/store/apps/details?id=app.lockbook",
"https://flathub.org/apps/net.lockbook.Lockbook",
"https://discord.gg/lockbook"
],
"offers":[
{"@type":"Offer","name":"Free","price":"0","priceCurrency":"USD"},
{"@type":"Offer","name":"Premium","price":"2.99","priceCurrency":"USD"}
]
}
</script>
</head>
<body>
<header class="site-header">
<div class="wrap">
<div class="bar">
<a class="brand" href="/">
<svg viewBox="0 0 2160 2160" fill="currentColor" aria-hidden="true">
<path d="M0,651.781C0,638.715 6.374,626.471 17.077,618.977C128.402,541.026 750.275,105.586 878.097,16.084C891.888,6.427 910.246,6.427 924.038,16.084C1082.22,126.847 2007.96,775.055 2145.48,871.35C2156.19,878.845 2162.56,891.089 2162.56,904.155C2162.56,927.543 2162.56,965.259 2162.56,988.647C2162.56,1001.71 2156.19,1013.96 2145.48,1021.45C2039.67,1095.55 1474.5,1491.28 1368.68,1565.38C1357.98,1572.87 1351.6,1585.12 1351.6,1598.18L1351.6,1810.48C1351.6,1814.21 1353.68,1817.63 1356.99,1819.36C1360.3,1821.08 1364.3,1820.82 1367.36,1818.68C1403,1793.72 1486.76,1735.07 1486.76,1735.07L1486.76,1629.73C1486.76,1616.66 1493.13,1604.42 1503.84,1596.92C1538.68,1572.53 1617.52,1517.32 1651.22,1493.73C1654.28,1491.59 1658.27,1491.32 1661.59,1493.05C1664.9,1494.77 1666.97,1498.19 1666.97,1501.93C1666.97,1537.25 1666.97,1608.88 1666.97,1608.88C1666.97,1608.88 2062.35,1332.04 2146.81,1272.9C2149.87,1270.76 2153.86,1270.5 2157.17,1272.22C2160.48,1273.94 2162.56,1277.37 2162.56,1281.1C2162.56,1304.33 2162.56,1343.27 2162.56,1367.21C2162.56,1380.27 2156.19,1392.52 2145.48,1400.01C2058.3,1461.06 1666.97,1735.07 1666.97,1735.07L1666.97,1977.43C1666.97,1980.09 1665.92,1982.63 1664.04,1984.51C1662.16,1986.39 1659.62,1987.44 1656.96,1987.44C1633.49,1987.44 1576.87,1987.44 1576.87,1987.44C1576.87,1987.44 1531.24,2051.34 1504.92,2088.2C1502.39,2091.74 1497.86,2093.24 1493.72,2091.91C1489.57,2090.59 1486.76,2086.73 1486.76,2082.38C1486.76,2014.83 1486.76,1861.26 1486.76,1861.26C1486.76,1861.26 1341.82,1962.74 1284.46,2002.9C1270.67,2012.56 1252.32,2012.56 1238.52,2002.9C1080.34,1892.14 154.601,1243.93 17.077,1147.64C6.374,1140.14 0,1127.9 0,1114.83L0,651.781ZM990.381,799.075C993.724,798.532 997.114,799.717 999.391,802.223C1023.81,829.081 1162.83,982.046 1204.58,1027.99C1211.36,1035.45 1222.63,1036.71 1230.88,1030.93C1277.76,998.104 1425.33,894.777 1472.27,861.907C1475.23,859.838 1476.84,856.339 1476.49,852.748C1476.15,849.157 1473.9,846.029 1470.6,844.561C1409.38,817.279 1192.85,720.799 1148.06,700.84C1143.52,698.815 1141.15,693.761 1142.5,688.974C1144.89,680.402 1146.12,671.541 1146.12,662.481C1146.12,585.19 1056.5,522.439 946.121,522.439C835.738,522.439 746.121,585.19 746.121,662.481C746.121,739.772 835.738,802.522 946.121,802.522C961.328,802.522 976.142,801.331 990.381,799.075Z"/>
</svg>
<span>Lockbook</span>
</a>
<nav class="site-nav">
<div class="nav-desktop">
<a class="navlink" href="/#pricing">Pricing</a>
<a class="navlink" href="/blog">Blog</a>
<a class="navlink" href="/docs">Docs</a>
<a class="navlink" href="https://github.com/lockbook/lockbook">GitHub</a>
<a class="navlink" href="https://discord.gg/lockbook">Discord</a>
</div>
<a class="btn btn-primary" id="nav-download" href="/download">Download</a>
<button class="nav-burger" id="nav-burger" type="button" aria-expanded="false" aria-controls="mobile-nav" aria-label="Menu">
<svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" aria-hidden="true">
<path d="M4 7h16M4 12h16M4 17h16"/>
</svg>
</button>
</nav>
</div>
<div id="mobile-nav">
<a href="/#pricing">Pricing</a>
<a href="/blog">Blog</a>
<a href="/docs">Docs</a>
<a href="https://github.com/lockbook/lockbook">GitHub</a>
<a href="https://discord.gg/lockbook">Discord</a>
</div>
</div>
</header>
<section class="section hero">
<div class="wrap hero-grid">
<div class="hero-copy">
<h1>
<span class="hero-lead">The best place for your</span>
<span class="sr-only">notes</span>
<span class="rot-line" aria-hidden="true"><b class="rot" id="rot-word"><span class="rot-text" id="rot-text">notes</span></b><b class="rot rot-measure" id="rot-measure"></b></span>
</h1>
<p class="hero-sub">
Lockbook is an <a href="https://github.com/lockbook/lockbook">open-source</a> notebook
for <a href="#formats">markdown</a> notes & <a href="#formats">SVG</a> drawings —
<a href="#encryption">encrypted</a> on your device and shared only by invitation.
</p>
<div class="hero-cta">
<a class="btn btn-primary btn-lg" id="hero-download" href="/download">Download</a>
<a class="btn btn-quiet btn-lg" href="/download">Other platforms</a>
</div>
<p class="hero-proof">
Open source since 2020 · 25 MB free · No email required
</p>
</div>
<a class="hero-shot" href="#screenshots" aria-label="See Lockbook on every platform">
<img class="shot" id="hero-img" src="/shots/mac-editor.png" width="1600" height="1107"
alt="Lockbook on macOS: a Markdown note open beside the file tree" />
</a>
</div>
</section>
<section class="section" id="formats">
<div class="wrap">
<div class="measure">
<p class="eyebrow">Open formats</p>
<h2>Files you could still read if we disappeared.</h2>
</div>
<div class="fmt-body">
<div class="fmt-col">
<div class="seg seg-lg seg-4" id="fmt-rail" role="tablist" aria-label="Open formats">
<span class="seg-thumb" id="fmt-thumb" aria-hidden="true"></span>
<button role="tab" id="tab-md" aria-controls="text-md visual-md" aria-selected="true" data-panel="md">Markdown</button>
<button role="tab" id="tab-svg" aria-controls="text-svg visual-svg" aria-selected="false" data-panel="svg" tabindex="-1">SVG</button>
<button role="tab" id="tab-tree" aria-controls="text-tree visual-tree" aria-selected="false" data-panel="tree" tabindex="-1">Files</button>
<button role="tab" id="tab-other" aria-controls="text-other visual-other" aria-selected="false" data-panel="other" tabindex="-1">Other</button>
</div>
<div class="fmt-texts">
<div class="fmt-text is-on" id="text-md" role="tabpanel" aria-labelledby="tab-md">
<h3>Notes are Markdown.</h3>
<p>
Plain text with formatting: headings, lists, checkboxes,
tables, links. A note you write here is a file any text editor can
open, and every Markdown app can too, so nothing about it depends
on Lockbook.
</p>
<p class="fmt-opens">Also works in Slack, Discord, Reddit, GitHub, ChatGPT, Google Docs, Notion, Obsidian.</p>
</div>
<div class="fmt-text" id="text-svg" role="tabpanel" aria-labelledby="tab-svg">
<h3>Drawings are SVG.</h3>
<p>
Your sketches are saved as SVG, the standard vector format the web
uses for graphics. Every stroke stays editable, nothing turns blurry
when you zoom, and the file opens in design apps and browsers alike.
</p>
<p class="fmt-opens">Also opens in Figma, Illustrator, Canva, PowerPoint, Keynote, Inkscape, Preview, any browser.</p>
</div>
<div class="fmt-text" id="text-tree" role="tabpanel" aria-labelledby="tab-tree">
<h3>Folders are folders.</h3>
<p>
Export writes your notebook to disk exactly like this — folders
you named, Markdown and SVG inside. No manifest, no database, nothing
to reconstruct.
</p>
<p class="fmt-opens">Back it up with anything: Time Machine, a USB stick, Dropbox, git.</p>
</div>
<div class="fmt-text" id="text-other" role="tabpanel" aria-labelledby="tab-other">
<h3>Your home for everything.</h3>
<p>
Photos, scans, PDFs, spreadsheets, code: keep them beside the notes
they belong with. Lockbook encrypts them like everything else and
opens images, PDFs and code right in the app, with more formats on
the way. They stay ordinary files, so they come back out exactly as
they went in.
</p>
<p class="fmt-opens">Opens in the app today: PNG, JPEG, PDF, code. More coming soon.</p>
</div>
</div>
</div>
<div class="fmt-col">
<div class="fmt-visuals" id="fmt-visuals">
<div class="fmt-visual is-on" id="visual-md">
<figure class="window">
<div class="window-bar">
<svg class="window-marks" width="16" height="13" viewBox="0 0 16 13" fill="none" aria-hidden="true">
<rect x=".65" y=".65" width="14.7" height="11.7" rx="2.2" stroke="currentColor" stroke-width="1.1"/>
<path d="M.65 4.2h14.7M5.6 4.2v8.15" stroke="currentColor" stroke-width="1.1"/>
</svg>
<span class="window-label">documents/notes.md</span>
<svg class="window-dots" width="34" height="8" viewBox="0 0 34 8" fill="none" aria-hidden="true">
<circle cx="4" cy="4" r="3.2" stroke="currentColor" stroke-width="1"/>
<circle cx="17" cy="4" r="3.2" stroke="currentColor" stroke-width="1"/>
<circle cx="30" cy="4" r="3.2" stroke="currentColor" stroke-width="1"/>
</svg>
</div>
<div class="window-body fmt-demo">
<canvas id="editor-demo" tabindex="0"></canvas>
<div class="demo-overlay" id="editor-loading">
<div class="spinner"></div>
<span>Loading the live editor…</span>
</div>
</div>
</figure>
</div>
<div class="fmt-visual" id="visual-svg">
<figure class="window">
<div class="window-bar">
<svg class="window-marks" width="16" height="13" viewBox="0 0 16 13" fill="none" aria-hidden="true">
<rect x=".65" y=".65" width="14.7" height="11.7" rx="2.2" stroke="currentColor" stroke-width="1.1"/>
<path d="M.65 4.2h14.7M5.6 4.2v8.15" stroke="currentColor" stroke-width="1.1"/>
</svg>
<span class="window-label">documents/sketch.svg</span>
<svg class="window-dots" width="34" height="8" viewBox="0 0 34 8" fill="none" aria-hidden="true">
<circle cx="4" cy="4" r="3.2" stroke="currentColor" stroke-width="1"/>
<circle cx="17" cy="4" r="3.2" stroke="currentColor" stroke-width="1"/>
<circle cx="30" cy="4" r="3.2" stroke="currentColor" stroke-width="1"/>
</svg>
</div>
<div class="window-body fmt-demo">
<canvas id="canvas-demo" tabindex="0"></canvas>
<div class="demo-overlay" id="canvas-loading">
<div class="spinner"></div>
<span>Loading the live canvas…</span>
</div>
</div>
</figure>
</div>
<div class="fmt-visual" id="visual-tree">
<figure class="window">
<div class="window-bar">
<svg class="window-marks" width="16" height="13" viewBox="0 0 16 13" fill="none" aria-hidden="true">
<rect x=".65" y=".65" width="14.7" height="11.7" rx="2.2" stroke="currentColor" stroke-width="1.1"/>
<path d="M.65 4.2h14.7M5.6 4.2v8.15" stroke="currentColor" stroke-width="1.1"/>
</svg>
<span class="window-label">documents/</span>
<svg class="window-dots" width="34" height="8" viewBox="0 0 34 8" fill="none" aria-hidden="true">
<circle cx="4" cy="4" r="3.2" stroke="currentColor" stroke-width="1"/>
<circle cx="17" cy="4" r="3.2" stroke="currentColor" stroke-width="1"/>
<circle cx="30" cy="4" r="3.2" stroke="currentColor" stroke-width="1"/>
</svg>
</div>
<div class="window-body fmt-demo">
<div class="fs">
<div class="fs-bar">
<span class="fs-cmd" data-cmd="$ lockbook export / ~/documents">$ lockbook export / ~/documents</span>
<span class="fs-count">12 items</span>
</div>
<div class="fs-grid">
<div class="fs-item" style="--i:0"><i class="nf folder" aria-hidden="true">󰉋</i><span>journal</span></div>
<div class="fs-item" style="--i:1"><i class="nf folder" aria-hidden="true">󰉋</i><span>kitchen</span></div>
<div class="fs-item" style="--i:2"><i class="nf folder" aria-hidden="true">󰉋</i><span>recipes</span></div>
<div class="fs-item" style="--i:3"><i class="nf folder" aria-hidden="true">󰉋</i><span>travel</span></div>
<div class="fs-item" style="--i:4"><i class="nf md" aria-hidden="true"></i><span>notes.md</span></div>
<div class="fs-item" style="--i:5"><i class="nf svg" aria-hidden="true">󱨍</i><span>sketch.svg</span></div>
<div class="fs-item" style="--i:6"><i class="nf md" aria-hidden="true"></i><span>bread.md</span></div>
<div class="fs-item" style="--i:7"><i class="nf md" aria-hidden="true"></i><span>quotes.md</span></div>
<div class="fs-item" style="--i:8"><i class="nf svg" aria-hidden="true">󱨍</i><span>lamination.svg</span></div>
<div class="fs-item" style="--i:9"><i class="nf md" aria-hidden="true"></i><span>2026-08-26.md</span></div>
<div class="fs-item" style="--i:10"><i class="nf md" aria-hidden="true"></i><span>budget.md</span></div>
<div class="fs-item" style="--i:11"><i class="nf md" aria-hidden="true"></i><span>packing.md</span></div>
</div>
</div>
</div>
</figure>
</div>
<div class="fmt-visual" id="visual-other">
<figure class="window">
<div class="window-bar">
<svg class="window-marks" width="16" height="13" viewBox="0 0 16 13" fill="none" aria-hidden="true">
<rect x=".65" y=".65" width="14.7" height="11.7" rx="2.2" stroke="currentColor" stroke-width="1.1"/>
<path d="M.65 4.2h14.7M5.6 4.2v8.15" stroke="currentColor" stroke-width="1.1"/>
</svg>
<span class="window-label">documents/finances</span>
<svg class="window-dots" width="34" height="8" viewBox="0 0 34 8" fill="none" aria-hidden="true">
<circle cx="4" cy="4" r="3.2" stroke="currentColor" stroke-width="1"/>
<circle cx="17" cy="4" r="3.2" stroke="currentColor" stroke-width="1"/>
<circle cx="30" cy="4" r="3.2" stroke="currentColor" stroke-width="1"/>
</svg>
</div>
<div class="window-body fmt-demo">
<div class="fs">
<div class="fs-bar">
<span class="fs-cmd">documents/finances</span>
<span class="fs-count">12 items</span>
</div>
<div class="fs-grid">
<div class="fs-item" style="--i:0"><i class="nf folder" aria-hidden="true">󰉋</i><span>taxes-2025</span></div>
<div class="fs-item" style="--i:1"><i class="nf folder" aria-hidden="true">󰉋</i><span>receipts</span></div>
<div class="fs-item" style="--i:2"><i class="nf pdf" aria-hidden="true"></i><span>w2-2025.pdf</span></div>
<div class="fs-item" style="--i:3"><i class="nf pdf" aria-hidden="true"></i><span>lease.pdf</span></div>
<div class="fs-item" style="--i:4"><i class="nf img" aria-hidden="true">󰋩</i><span>passport-scan.png</span></div>
<div class="fs-item" style="--i:5"><i class="nf img" aria-hidden="true">󰋩</i><span>receipt-0412.jpg</span></div>
<div class="fs-item" style="--i:6"><i class="nf text" aria-hidden="true"></i><span>budget.csv</span></div>
<div class="fs-item" style="--i:7"><i class="nf pdf" aria-hidden="true"></i><span>insurance.pdf</span></div>
<div class="fs-item" style="--i:8"><i class="nf img" aria-hidden="true">󰋩</i><span>car-title.png</span></div>
<div class="fs-item" style="--i:9"><i class="nf pdf" aria-hidden="true"></i><span>isp-invoice-jun.pdf</span></div>
<div class="fs-item" style="--i:10"><i class="nf code" aria-hidden="true">󰅴</i><span>compose.yml</span></div>
<div class="fs-item" style="--i:11"><i class="nf img" aria-hidden="true">󰋩</i><span>kyoto-subway.png</span></div>
</div>
</div>
</div>
</figure>
</div>
</div>
</div>
</div>
</div>
</section>
<section class="section" id="encryption">
<div class="wrap">
<div class="measure">
<p class="eyebrow">Encryption</p>
<h2>We built a notebook we can’t read.</h2>
<p class="lede">
Your keys are generated on your device and never leave it. Everything is
encrypted before it syncs, so what reaches our servers is noise. Your
notes live on your device first, so offline isn’t a mode — it’s the
default. Sharing hands a key to a person you name — never to us.
</p>
</div>
<div class="arch" role="img" aria-label="Diagram: a note is encrypted on your phone before it leaves, and the server only ever stores ciphertext">
<figure class="arch-node phone" id="arch-device">
<figcaption>your phone <span class="arch-tag">plaintext</span></figcaption>
<div class="phone-shell">
<div class="phone-screen" id="phone-screen">
<span class="phone-island"></span>
<div class="phone-app"><span class="phone-back">‹</span>1984.md</div>
<div class="arch-note">
<p><b>Finished 1984 on the train.</b></p>
<p>The telescreen never had to watch everyone. It only had to make everyone feel watched.</p>
<p>I write differently when I feel watched. So this lives here now.</p>
</div>
<span class="phone-home"></span>
</div>
</div>
</figure>
<div class="arch-wire" id="arch-wire">
<span class="lock-badge" aria-hidden="true">
<svg width="14" height="14" viewBox="0 0 14 14" fill="none">
<rect x="2.2" y="6.4" width="9.6" height="5.9" rx="1.6" stroke="currentColor" stroke-width="1.1"/>
<path d="M4.5 6.2V4.4a2.5 2.5 0 0 1 5 0v1.8" stroke="currentColor" stroke-width="1.1"/>
</svg>
</span>
<span class="lock-note">encrypted before it leaves</span>
<span class="arch-packet" id="arch-packet" aria-hidden="true"><svg width="12" height="13" viewBox="0 0 12 13" fill="none"><path d="M2.1.65h4.2l4.05 4.05v6.55a1.1 1.1 0 0 1-1.1 1.1H2.1A1.1 1.1 0 0 1 1 11.25V1.75A1.1 1.1 0 0 1 2.1.65Z" stroke="currentColor" stroke-width="1.1"/><path d="M6.3.65v4.05h4.05" stroke="currentColor" stroke-width="1.1"/></svg><span id="packet-label">1984.md</span></span>
</div>
<figure class="arch-node rack" id="arch-server">
<figcaption>our server <span class="arch-tag">ciphertext</span></figcaption>
<div class="rack-shell" id="rack">
<div class="rack-bar"><i></i><i></i><i class="on"></i></div>
<pre class="arch-store" id="arch-store">mK2x+9QfLw3eYaZv0dR
u8PJq4Tn6RcXbGdV1e+
Hs5AyEw7Zk+jMoN2iQd
p7Rc/Xw2mBhT4nEuJ8f
d3FrUvLB9tXq/W6pCsA
Qn9tYe2L+cVw4xKzM0b
aZ7fHs1Dm8Rj/Ep3TvW
kW4uNc6Bx9Ly+Gq2Pf0
tJ1oRd5Va3Zm/Ck8Xy+
e6Ms2Hf9Ub7Nw0Lq+Yi</pre>
</div>
</figure>
</div>
<p class="after-note">
<a href="/security">How the cryptography works →</a>
</p>
</div>
</section>
<section class="section" id="platforms">
<div class="wrap">
<div class="measure">
<p class="eyebrow">Platforms</p>
<h2>Six clients, one Rust core.</h2>
<p class="lede">
Each interface is written for its own platform, so every app launches
instantly and behaves the way that platform should — no Electron, no
web view. The apps share one editor engine; everything, CLI included,
stands on one Rust core. Pick a client:
</p>
</div>
<div class="platform-duo">
<div class="stack">
<div class="stack-row" id="platform-switch" role="tablist" aria-label="Clients">
<button class="stack-cell" role="tab" aria-selected="true" data-platform="macos"><b>macOS</b><span>SwiftUI</span></button>
<button class="stack-cell" role="tab" aria-selected="false" data-platform="ios" tabindex="-1"><b>iOS</b><span>SwiftUI</span></button>
<button class="stack-cell" role="tab" aria-selected="false" data-platform="android" tabindex="-1"><b>Android</b><span>Kotlin</span></button>
<button class="stack-cell" role="tab" aria-selected="false" data-platform="linux" tabindex="-1"><b>Linux</b><span>Rust · egui</span></button>
<button class="stack-cell" role="tab" aria-selected="false" data-platform="windows" tabindex="-1"><b>Windows</b><span>Rust · egui</span></button>
<button class="stack-cell" role="tab" aria-selected="false" data-platform="cli" tabindex="-1"><b>CLI</b><span>Rust</span></button>
</div>
<div class="stack-links" aria-hidden="true"><i></i><i></i><i></i><i></i><i></i><i></i></div>
<div class="stack-mid">
<div class="stack-bar">
<code>workspace</code>
<span>the editor & canvas every app embeds</span>
<a href="https://github.com/lockbook/lockbook/tree/master/libs/content/workspace">Learn more →</a>
</div>
<span class="stack-pass" aria-hidden="true"><i></i></span>
</div>
<div class="stack-under" aria-hidden="true"><i class="u-ws"></i><i class="u-cli"></i></div>
<div class="stack-bar">
<code>lb-rs</code>
<span>encryption, sync, storage</span>
<a href="https://docs.rs/lb-rs">Learn more →</a>
</div>
</div>
<div class="shots" id="screenshots">
<div class="shot-stage" id="platform-shot">
<img class="shot is-on" data-platform="macos" src="/shots/mac-editor.png" width="1600" height="1107" loading="lazy"
alt="Lockbook on macOS: a Markdown note open beside the file tree" />
<img class="shot shot-phone" data-platform="ios" src="/shots/iphone-editor.png" width="552" height="1200" loading="lazy"
alt="Lockbook on iPhone: editing a Markdown note" />
<img class="shot shot-phone" data-platform="android" src="/shots/android-editor.png" width="806" height="1458" loading="lazy"
alt="Lockbook on Android: a travel plan with a checklist and a table" />
<div class="ph" data-ratio="16/10" data-platform="linux"><span><b>Linux client</b>screenshot coming soon</span></div>
<div class="ph" data-ratio="16/10" data-platform="windows"><span><b>Windows client</b>screenshot coming soon</span></div>
<div class="ph" data-ratio="16/10" data-platform="cli"><span><b>CLI</b>screenshot coming soon</span></div>
</div>
</div>
</div>
</div>
</section>
<section class="section" id="developers">
<div class="wrap">
<div class="split">
<div class="split-text">
<p class="eyebrow">Developers</p>
<h2>Scriptable all the way down.</h2>
<p class="lede">
Find notes with <code>fzf</code>, schedule backups with <code>cron</code>,
pipe a note into anything — or run <code>lockbook fs</code> and mount the
whole notebook as a drive. When the shell is not enough, link the same
Rust library the apps are built on, or use one of the SDKs available
for many other languages.
</p>
<div class="link-list">
<a href="https://github.com/lockbook/lockbook/tree/master/clients/cli">CLI reference →</a>
<a href="https://crates.io/crates/lb-rs">lb-rs on crates.io →</a>
<a href="https://docs.rs/lb-rs">Library documentation →</a>
</div>
</div>
<div class="split-visual">
<figure class="window">
<div class="window-bar">
<svg class="window-marks" width="16" height="13" viewBox="0 0 16 13" fill="none" aria-hidden="true">
<rect x=".65" y=".65" width="14.7" height="11.7" rx="2.2" stroke="currentColor" stroke-width="1.1"/>
<path d="M.65 4.2h14.7M5.6 4.2v8.15" stroke="currentColor" stroke-width="1.1"/>
</svg>
<span class="window-label">zsh — lockbook</span>
<svg class="window-dots" width="34" height="8" viewBox="0 0 34 8" fill="none" aria-hidden="true">
<circle cx="4" cy="4" r="3.2" stroke="currentColor" stroke-width="1"/>
<circle cx="17" cy="4" r="3.2" stroke="currentColor" stroke-width="1"/>
<circle cx="30" cy="4" r="3.2" stroke="currentColor" stroke-width="1"/>
</svg>
</div>
<div class="window-body term-body">
<div class="term-out" id="term-out"><pre>lockbook — the private, polished note-taking platform
USAGE
<b>lockbook</b> <command> [args...]
COMMANDS
<b>account</b> account management commands
<b>copy</b> import files from your file system
<b>edit</b> edit a document
<b>export</b> export a lockbook file to your file system
<b>fs</b> mount your files as an NFS drive
<b>list</b> list files and file information
<b>search</b> search file paths and document contents
<b>share</b> sharing related commands
<b>sync</b> sync your local changes back to lockbook servers</pre></div>
<form class="term-line" id="term-form" autocomplete="off">
<span class="term-sigil">$</span>
<span class="term-cmd">lockbook</span>
<input id="term-input" type="text" aria-label="Try a lockbook command"
autocomplete="off" autocapitalize="off" autocorrect="off" spellcheck="false" />
</form>
</div>
</figure>
</div>
</div>
</div>
</section>
<section class="section" id="pricing">
<div class="wrap">
<div class="measure" style="margin-bottom:var(--s-xl)">
<p class="eyebrow">Pricing</p>
<h2>Be the customer, not the product.</h2>
<p class="lede">
We sell storage, not data. There is no ad model and no analytics
business — and nothing to mine even if we wanted one.
</p>
</div>
<div class="cards two">
<div class="card plan">
<p class="plan-name">Free</p>
<p class="plan-price">$0</p>
<p class="plan-cap">25 MB of encrypted storage</p>
<p class="plan-note">Thousands of notes — it is text, and text is small. Every feature included, sharing included.</p>
<a class="btn btn-quiet" href="/download">Download</a>
</div>
<div class="card plan featured">
<p class="plan-name">Premium</p>
<p class="plan-price">$2.99<span>/month</span></p>
<p class="plan-cap">30 GB of encrypted storage</p>
<p class="plan-note">Room for images, scans and PDFs. Funds the work.</p>
<a class="btn btn-primary" href="/download">Subscribe in the app</a>
</div>
</div>
</div>
</section>
<style>
.hero{padding:var(--s-3xl) 0 var(--s-2xl);border-top:0}
.hero-grid{display:grid;gap:var(--s-xl);align-items:center}
.hero h1{font-size:clamp(28px,3.4vw,36px);line-height:1.25}
.hero-lead{display:block}
.rot-line{position:relative;display:block;margin-top:var(--s-xs);white-space:nowrap}
.rot{
display:inline-block;vertical-align:top;overflow:hidden;text-align:center;
font-weight:inherit;color:var(--accent);
background:color-mix(in srgb,var(--accent) 12%,transparent);
border-radius:var(--r-sm);padding:0 .12em;margin-left:-.12em;
transition:width .38s ease;
}
.rot-text{display:inline-block;will-change:filter}
.rot-measure{position:absolute;left:0;top:0;visibility:hidden;pointer-events:none;width:auto !important;transition:none}
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.hero-sub{margin-top:var(--s-md);color:var(--fg-2);font-size:19px;max-width:30em;text-wrap:pretty}
.hero-cta{display:flex;flex-wrap:wrap;gap:var(--s-sm);margin-top:var(--s-lg)}
.hero-proof{margin-top:var(--s-md);color:var(--fg-3);font-family:var(--mono);font-size:12px}
.hero-shot{display:block}
@media (min-width:900px){
.hero{overflow-x:clip}
.hero-grid{grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:var(--s-xl)}
.hero-shot{display:block;margin-right:calc(-1 * max(0px, (100vw - var(--page)) / 2))}
}
.shot{display:block;width:100%;height:auto;border-radius:9px;
box-shadow:0 0 0 1px var(--divider),0 30px 60px -30px rgba(0,0,0,.6)}
.hero-shot:hover{text-decoration:none}
.hero-shot .shot{transition:transform var(--anim) ease}
.hero-shot:hover .shot{transform:translateY(-2px)}
.shot-stage{display:flex;align-items:center;justify-content:center;aspect-ratio:1/1}
.shot-stage > *{display:none}
.shot-stage > .is-on{display:block}
.shot-stage .shot-phone{width:auto;height:100%;border-radius:18px}
.shots{scroll-margin-top:calc(60px + var(--s-md))}
#platform-shot{margin-top:var(--s-md)}
.after-note{margin-top:var(--s-lg)}
.arch{margin-top:var(--s-xl);display:flex;flex-direction:column;gap:var(--s-lg)}
.arch-node{margin:0;display:flex;flex-direction:column}
.arch-node figcaption{
display:flex;align-items:center;gap:var(--s-xs);margin-bottom:var(--s-sm);
font-family:var(--mono);font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--fg-3);
}
.arch-tag{margin-left:auto}
.phone{align-self:center;width:190px}
.phone-shell{height:380px;padding:8px;border:1px solid var(--stroke);border-radius:30px;background:var(--bg-panel)}
.phone-screen{
--base:var(--bg);position:relative;height:100%;overflow:hidden;
border:1px solid var(--divider);border-radius:22px;background:var(--base);
padding:32px 14px 20px;
}
.phone-island{position:absolute;top:9px;left:50%;width:42px;height:11px;transform:translateX(-50%);border-radius:6px;background:var(--fg);opacity:.85}
.phone-home{position:absolute;bottom:7px;left:50%;width:54px;height:3px;transform:translateX(-50%);border-radius:2px;background:var(--fg);opacity:.35}
.phone-app{
display:flex;align-items:center;gap:var(--s-xs);margin-bottom:var(--s-sm);
font-family:var(--mono);font-size:10.5px;letter-spacing:.06em;color:var(--fg-3);
}
.phone-back{font-family:var(--sans);font-size:17px;line-height:1;color:var(--accent)}
.arch-note{font-size:12.5px;line-height:1.5;color:var(--fg);text-wrap:pretty}
.arch-note p{margin:0 0 .6em}
.arch-note b{font-weight:600}
.rack{align-self:center;width:100%;max-width:360px}
.rack-shell{
--base:var(--bg-panel);flex:1;display:flex;flex-direction:column;
border:1px solid var(--stroke);border-radius:var(--r-surface);background:var(--base);
}
.rack-bar{display:flex;gap:5px;padding:11px 14px;border-bottom:1px solid var(--divider)}
.rack-bar i{width:6px;height:6px;border-radius:50%;background:var(--bg-control)}
.rack-bar i.on{background:var(--accent)}
.arch-store{
flex:1;margin:0;padding:var(--s-md);min-height:calc(20em + 2 * var(--s-md));
font-family:var(--mono);font-size:13px;line-height:2;color:var(--fg-3);white-space:pre;overflow:hidden;
transition:opacity .25s ease;
}
.arch-flash{animation:archflash .55s ease}
@keyframes archflash{0%{background:color-mix(in srgb,var(--accent) 10%,var(--base))}100%{background:var(--base)}}
.arch-wire{position:relative;min-height:120px}
.arch-wire::before{
content:"";position:absolute;left:50%;top:0;bottom:0;width:1px;
background:repeating-linear-gradient(180deg,var(--stroke) 0 5px,transparent 5px 11px);
}
.arch-wire::after{
content:"";position:absolute;left:50%;bottom:-1px;transform:translateX(-50%);
border:5px solid transparent;border-top-color:var(--stroke);border-bottom:0;
}
.lock-badge{
position:absolute;z-index:2;left:50%;top:0;transform:translate(-50%,-50%);
display:inline-flex;padding:5px;background:var(--bg);
border:1px solid var(--stroke);border-radius:50%;color:var(--accent);
}
.lock-note{
position:absolute;z-index:2;left:calc(50% + 18px);right:0;top:0;transform:translateY(-50%);
font-family:var(--mono);font-size:11px;line-height:1.4;color:var(--fg-3);
}
.arch-packet{
position:absolute;z-index:1;left:0;top:0;opacity:0;will-change:transform;
display:inline-flex;align-items:center;gap:var(--s-xs);
font-family:var(--mono);font-size:11.5px;padding:var(--s-xxs) var(--s-xs);
border:1px solid var(--stroke);border-radius:var(--r-sm);
background:var(--bg);color:var(--fg);white-space:nowrap;
}
.arch-packet svg{flex:none}
.arch-packet.is-cipher{color:var(--fg-3)}
@media (min-width:860px){
.arch{flex-direction:row;align-items:stretch;gap:0}
.phone{align-self:auto;flex:none}
.rack{align-self:auto;width:260px;max-width:none;flex:none}
.arch-wire{flex:1;min-height:0}
.arch-wire::before{
left:0;right:0;top:50%;bottom:auto;width:auto;height:1px;
background:repeating-linear-gradient(90deg,var(--stroke) 0 5px,transparent 5px 11px);
}
.arch-wire::after{
left:auto;right:-1px;bottom:auto;top:50%;transform:translateY(-50%);
border:5px solid transparent;border-left-color:var(--stroke);border-right:0;
}
.lock-badge{left:0;top:50%}
.lock-note{left:var(--s-sm);right:auto;top:calc(50% + 16px);transform:none;white-space:nowrap}
}
.fmt-body{display:grid;gap:var(--s-xl);margin-top:var(--s-lg)}
@media (min-width:900px){
.fmt-body{grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:var(--s-2xl);align-items:start}
#fmt-rail{display:grid;width:100%}
#fmt-rail button{min-width:0;padding:0 var(--s-xs);font-size:14px}
}
.fmt-texts,.fmt-visuals{position:relative}
.fmt-texts{margin-top:var(--s-lg)}
.fmt-text,.fmt-visual{
position:absolute;left:0;right:0;top:0;
opacity:0;visibility:hidden;pointer-events:none;
transition:opacity var(--anim) ease;
}
.fmt-text.is-on,.fmt-visual.is-on{position:relative;opacity:1;visibility:visible;pointer-events:auto}
.fmt-text h3{font-size:var(--t-heading);margin-bottom:var(--s-sm)}
.fmt-text p{color:var(--fg-2)}
.fmt-text .fmt-opens{margin-top:var(--s-md);font-family:var(--mono);font-size:12px;color:var(--fg-3)}
.fmt-demo{position:relative}
@media (min-width:760px){.fmt-demo{height:400px}}
@media (max-width:759px){.fmt-demo{aspect-ratio:4/3}}
.fmt-demo canvas{display:block;width:100%;height:100%}
.fs{position:absolute;inset:0;display:flex;flex-direction:column}
.fs-bar{
display:flex;align-items:center;justify-content:space-between;gap:var(--s-sm);
padding:var(--s-sm) var(--s-md);border-bottom:1px solid var(--divider);
font-family:var(--mono);font-size:12px;color:var(--fg-3);
}
.fs-cmd{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fs-count{flex:none}
.fs-grid{
flex:1;min-height:0;overflow:auto;
display:grid;grid-template-columns:repeat(auto-fill,minmax(88px,1fr));
gap:var(--s-sm) var(--s-xs);padding:var(--s-sm) var(--s-lg);align-content:space-evenly;
}
.fs-item{display:flex;flex-direction:column;align-items:center;gap:var(--s-xs);min-width:0}
@font-face{font-family:"NF Symbols";src:url(/fonts/nf-symbols.woff) format("woff");font-display:swap}
.fs-item .nf{
display:block;width:42px;text-align:center;
font-family:"NF Symbols";font-style:normal;font-size:36px;line-height:1;color:var(--fg-3);
}
.fs-item .nf.folder{color:var(--accent)}
.fs.typing .fs-item{opacity:0}
.fs.play .fs-item{animation:fsin .45s cubic-bezier(.2,.7,.2,1) both;animation-delay:calc(var(--i) * 50ms)}
@keyframes fsin{from{opacity:0;transform:translateY(8px) scale(.96)}to{opacity:1;transform:none}}
.fs-item span{
max-width:100%;font-family:var(--mono);font-size:11.5px;color:var(--fg-2);
white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.platform-duo{margin-top:var(--s-xl);display:grid;gap:var(--s-xl)}
@media (min-width:860px){
.platform-duo{grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:var(--s-2xl);align-items:center}
}
.stack{margin-top:0}
.stack-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--s-sm)}
.stack-cell{
appearance:none;font:inherit;cursor:pointer;
border:1px solid var(--divider);border-radius:var(--r-control);
background:var(--bg);color:var(--fg);padding:var(--s-sm) var(--s-xxs);text-align:center;
transition:background-color var(--anim) ease,border-color var(--anim) ease;
}
.stack-cell:hover{background:var(--wash-1)}
.stack-cell[aria-selected="true"]{border-color:var(--accent)}
.stack-cell b{display:block;font-weight:500;font-size:16px;letter-spacing:-.01em}
.stack-cell span{display:block;margin-top:var(--s-xxs);font-family:var(--mono);font-size:11px;color:var(--fg-3)}
.stack-links,.stack-under,.stack-pass{display:none}
.stack-bar{
border:1px solid var(--stroke);border-radius:var(--r-control);background:var(--bg-panel);
padding:var(--s-sm) var(--s-md);
display:flex;flex-wrap:wrap;align-items:baseline;gap:var(--s-xs) var(--s-sm);
}
.stack-bar code{font-family:var(--mono);font-size:15px;color:var(--fg)}
.stack-bar span{color:var(--fg-2);font-size:15px}
.stack-bar a{margin-left:auto;font-family:var(--mono);font-size:12px;white-space:nowrap}
.stack-mid{margin-top:var(--s-sm)}
.stack-mid + .stack-under + .stack-bar{margin-top:var(--s-sm)}
@media (min-width:760px){
.stack-row{grid-template-columns:repeat(6,minmax(0,1fr))}
.stack-links{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0 var(--s-sm);height:var(--s-lg)}
.stack-links i{display:block;width:1px;height:100%;margin:0 auto;background:var(--divider)}
.stack-mid{margin-top:0;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:var(--s-sm)}
.stack-mid .stack-bar{grid-column:1/6}
.stack-pass{display:block;grid-column:6}
.stack-pass i{display:block;width:1px;height:100%;margin:0 auto;background:var(--divider)}
.stack-under{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0 var(--s-sm);height:var(--s-lg)}
.stack-under .u-ws{grid-column:1/6;width:1px;height:100%;margin:0 auto;background:var(--divider)}
.stack-under .u-cli{grid-column:6;width:1px;height:100%;margin:0 auto;background:var(--divider)}
.stack-mid + .stack-under + .stack-bar{margin-top:0}
}
.link-list{display:flex;flex-direction:column;gap:var(--s-xs);margin-top:var(--s-lg);font-size:16px}
.term-body{height:400px;display:flex;flex-direction:column}
.term-out{flex:1;min-height:0;overflow-y:auto;padding:var(--s-md)}
.term-out pre{
margin:0;font-family:var(--mono);font-size:12.5px;line-height:1.7;
color:var(--fg-2);white-space:pre-wrap;
}
.term-out pre b{color:var(--accent);font-weight:400}
.term-out .err{color:var(--danger)}
.term-line{
display:flex;align-items:center;gap:var(--s-xs);
padding:var(--s-sm) var(--s-md);border-top:1px solid var(--divider);
font-family:var(--mono);font-size:12.5px;
}
.term-sigil{color:var(--fg-3);user-select:none}
.term-cmd{color:var(--accent);user-select:none}