Repository navigation
Expand file tree
/
Copy pathdecoding-bitcoin.html
More file actions
719 lines (695 loc) · 62.2 KB
/
Copy pathdecoding-bitcoin.html
File metadata and controls
719 lines (695 loc) · 62.2 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
<!DOCTYPE html>
<html lang="en" class="no-site-bg">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Decoding Bitcoin Study Cohort - Code Orange Dev School</title>
<meta name="description" content="Free 10-week Bitcoin developer cohort: work through Decoding Bitcoin (transactions, Script, Taproot) with weekly Discord sessions and hands-on exercises.">
<link rel="canonical" href="https://codeorange.dev/decoding-bitcoin">
<meta name="theme-color" content="#F7931A">
<meta property="og:type" content="website">
<meta property="og:site_name" content="Code Orange Dev School">
<meta property="og:url" content="https://codeorange.dev/decoding-bitcoin">
<meta property="og:title" content="Decoding Bitcoin Study Cohort - Code Orange Dev School">
<meta property="og:description" content="Free 10-week Bitcoin developer cohort: work through Decoding Bitcoin (transactions, Script, Taproot) with weekly Discord sessions and hands-on exercises.">
<meta property="og:image" content="https://codeorange.dev/assets/mastering-bitcoin/og.jpg?v=20261010a">
<meta property="og:image:secure_url" content="https://codeorange.dev/assets/mastering-bitcoin/og.jpg?v=20261010a">
<meta property="og:image:type" content="image/jpeg">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta property="og:image:alt" content="Decoding Bitcoin study cohort: 10 weeks, starts Monday 16 November, Mondays 7pm UTC+8 on Discord">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Decoding Bitcoin Study Cohort - Code Orange Dev School">
<meta name="twitter:description" content="Free 10-week Bitcoin developer cohort: work through Decoding Bitcoin (transactions, Script, Taproot) with weekly Discord sessions and hands-on exercises.">
<meta name="twitter:image" content="https://codeorange.dev/assets/mastering-bitcoin/og.jpg?v=20261010a">
<link rel="icon" type="image/svg+xml" href="/assets/favicon-co.svg">
<script type="application/ld+json">{"@context":"https://schema.org","@type":"Course","name":"Decoding Bitcoin Study Cohort","description":"A free 10-week study cohort working through Decoding Bitcoin, the interactive course by The Bitcoin Dev Project: transactions, Script and Taproot, with discussion questions, hands-on exercises and weekly Discord sessions.","url":"https://codeorange.dev/decoding-bitcoin","provider":{"@type":"EducationalOrganization","name":"Code Orange Dev School","url":"https://codeorange.dev","email":"hello@codeorange.dev"},"hasCourseInstance":{"@type":"CourseInstance","courseMode":"online","location":"Discord","startDate":"2026-11-16T19:00:00+08:00","endDate":"2027-01-18","courseSchedule":{"@type":"Schedule","repeatFrequency":"P1W","repeatCount":10,"byDay":"https://schema.org/Monday","startTime":"19:00:00+08:00"}},"isAccessibleForFree":true,"offers":{"@type":"Offer","price":"0","priceCurrency":"USD","category":"Free"}}</script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@500;600;700;800&family=Instrument+Serif:ital@1&display=swap" rel="stylesheet">
<script src="/assets/lazy-video.js?v=20260902b" defer></script>
<style>
:root { color-scheme: dark; --bg:#0A0A0A; --band:#0F0F0F; --card:#141414; --text:#F5F5F5; --muted:#B8B8B8; --dim:#858585; --orange:#F7931A; --orange2:#FFB347; --line:rgba(255,255,255,.08); }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; overflow-x: hidden; background: var(--bg); color: var(--text); font-family: "Inter", system-ui, sans-serif; scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video, iframe { max-width: 100%; }
a { color: inherit; }
.announce { display: flex; justify-content: center; gap: 10px; padding: 9px 24px; background: var(--orange); color: var(--bg); text-decoration: none; font: 700 13px "Plus Jakarta Sans", monospace; text-align: center; }
.announce span { text-decoration: underline; text-underline-offset: 3px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10,10,10,.74); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1240px; height: 78px; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand img { display: block; width: auto; height: 50px; }
.desktop-nav, .header-actions, .cta-row { display: flex; align-items: center; gap: 12px; }
.desktop-nav { gap: 28px; }
.desktop-nav a { padding: 8px 4px; }
.desktop-nav a, .mobile-nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; padding: 8px 10px; border-radius: 8px; }
.desktop-nav a:hover, .mobile-nav a:hover { color: var(--orange); }
.mobile-nav { display: none; gap: 8px; overflow-x: auto; padding: 0 16px 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
.mobile-nav::-webkit-scrollbar { display: none; }
.mobile-nav a { flex: 0 0 auto; scroll-snap-align: start; }
.button, .ghost { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 24px; border-radius: 8px; text-decoration: none; font-weight: 700; transition: border-color .15s ease, color .15s ease, background .15s ease, transform .15s ease; }
.button { background: var(--orange); color: var(--bg); }
.button:hover { background: var(--orange2); }
.ghost { border: 1px solid rgba(255,255,255,.16); color: var(--text); }
.ghost:hover { border-color: var(--orange); color: var(--orange); }
.small { min-height: 40px; padding: 9px 18px; font-size: 14px; }
.hero { position: relative; overflow: hidden; background-image: linear-gradient(rgba(10,10,10,.78), rgba(10,10,10,.92)), linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px), url("/assets/latest-workshops/workshop-latest-builders.webp"); background-size: auto, 48px 48px, 48px 48px, cover; background-position: center, 0 0, 0 0, center 42%; }
.hero-grid, .section-inner { max-width: 1240px; margin: 0 auto; padding: 96px 32px; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(320px,.92fr); gap: 64px; align-items: center; }
.glow { position: absolute; top: -160px; right: -110px; width: 740px; height: 740px; border-radius: 50%; background: radial-gradient(circle, rgba(247,147,26,.14), transparent 66%); pointer-events: none; }
.eyebrow { margin: 0 0 22px; color: var(--orange); font: 700 12px "Plus Jakarta Sans", monospace; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { font-family: "Inter", system-ui, sans-serif; font-weight: 400; color: var(--text); }
h1 { margin: 0 0 26px; max-width: 780px; font-size: clamp(40px, 4.6vw, 68px); line-height: 1.05; }
h2 { margin: 0 0 18px; font-size: clamp(32px, 3.3vw, 50px); line-height: 1.08; }
h3 { margin: 0; font-size: 26px; line-height: 1.15; }
.lead { max-width: 620px; margin: 0 0 34px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.terminal-card, .card, .program-card, .stat, .timeline-item { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.32); }
.terminal-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; background: var(--band); border-bottom: 1px solid var(--line); }
.terminal-bar span { width: 12px; height: 12px; border-radius: 50%; }
.terminal-bar span:nth-child(1){ background:#FF5F56; } .terminal-bar span:nth-child(2){ background:#FFBD2E; } .terminal-bar span:nth-child(3){ background:#27C93F; }
.terminal-bar strong { margin-left: 10px; color: var(--dim); font: 500 12px "Plus Jakarta Sans", monospace; }
.terminal-body { padding: 24px; font: 14px/1.9 "Plus Jakarta Sans", monospace; }
.terminal-body p { margin: 0; } .orange { color: var(--orange); } .muted { color: var(--dim); }
.band { background: var(--band); border-block: 1px solid var(--line); }
.grid { display: grid; gap: 22px; }
.grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); } .grid.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.program-card { display: grid; grid-template-rows: 210px 1fr; text-decoration: none; transition: transform .18s ease, border-color .18s ease; }
.program-card:hover { transform: translateY(-4px); border-color: rgba(247,147,26,.55); }
.program-card img, .card > img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.012); }
.card-body { padding: 24px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.pill { display: inline-flex; padding: 7px 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; color: var(--muted); font: 600 12px "Plus Jakarta Sans", monospace; }
.pill.orange { color: var(--orange); border-color: rgba(247,147,26,.42); }
.card p, .program-card p, .timeline-item p { color: var(--muted); line-height: 1.65; }
.repo-card { display: block; text-decoration: none; transition: transform .18s ease, border-color .18s ease; }
.repo-card:hover { transform: translateY(-4px); border-color: rgba(247,147,26,.55); }
.repo-card h3 { margin-top: 14px; }
.stat { padding: 26px; }
.stat strong { display: block; color: var(--orange); font: 400 40px/1 "Inter", monospace; margin-bottom: 10px; }
.timeline { display: grid; gap: 14px; counter-reset: step; }
.timeline-item { display: grid; grid-template-columns: 70px 1fr; gap: 22px; padding: 24px; counter-increment: step; }
.timeline-item:before { content: counter(step, decimal-leading-zero); color: var(--orange); font: 700 16px "Plus Jakarta Sans", monospace; }
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 42px; align-items: start; }
.feature-panel { background: linear-gradient(145deg, rgba(247,147,26,.12), rgba(20,20,20,.86) 42%, rgba(15,15,15,.96)); border: 1px solid rgba(247,147,26,.26); border-radius: 16px; box-shadow: 0 28px 80px rgba(0,0,0,.34); overflow: hidden; }
.feature-panel-inner { padding: 28px; }
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin-top: 30px; }
.photo-card { position: relative; min-height: 300px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--card); box-shadow: 0 20px 60px rgba(0,0,0,.28); }
.photo-card.tall { min-height: 420px; }
.photo-card.wide { grid-column: span 2; }
.photo-card img, .feature-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.012); }
.photo-card:after, .feature-photo:after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(6,6,6,.78) 100%); pointer-events: none; }
.photo-caption { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 1; display: inline-flex; width: max-content; max-width: calc(100% - 28px); padding: 7px 11px; border-radius: 999px; background: rgba(6,6,6,.78); border: 1px solid rgba(255,255,255,.13); color: var(--text); font: 700 11px "Plus Jakarta Sans", monospace; letter-spacing: .08em; text-transform: uppercase; }
.feature-photo { position: relative; min-height: 430px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--card); box-shadow: 0 24px 70px rgba(0,0,0,.32); }
.calendar-frame { margin-top: 28px; background: #fff; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; overflow: hidden; box-shadow: 0 24px 70px rgba(0,0,0,.36); }
.calendar-frame iframe { display: block; width: 100%; height: 680px; border: 0; background: #fff; }
.booking-panel { display: grid; gap: 16px; padding: 24px; background: rgba(6,6,6,.48); border: 1px solid var(--line); border-radius: 16px; }
.price-tag { display: inline-flex; width: max-content; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 999px; background: rgba(247,147,26,.14); border: 1px solid rgba(247,147,26,.34); color: var(--orange); font: 700 13px "Plus Jakarta Sans", monospace; }
.footer { border-top: 1px solid var(--line); background: #060606; }
.footer-media { position: relative; max-width: 1240px; min-height: 300px; margin: 56px auto 0; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; overflow: hidden; background: var(--band); box-shadow: 0 24px 70px rgba(0,0,0,.34); }
.footer-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.footer-media:after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,6,6,.9), rgba(6,6,6,.34) 56%, rgba(6,6,6,.74)); pointer-events: none; }
.footer-media-copy { position: relative; z-index: 1; max-width: 560px; padding: 42px; }
.footer-grid { max-width: 1240px; margin: 0 auto; padding: 56px 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.footer a { color: var(--dim); text-decoration: none; } .footer a:hover { color: var(--orange); }
.link-list { display: grid; gap: 10px; }
.final-cta { text-align: center; border-top: 1px solid var(--line); }
@media (max-width: 900px) {
.announce { padding: 8px 16px; line-height: 1.42; }
.desktop-nav { display: none; } .mobile-nav { display: flex; padding-bottom: 12px; gap: 6px; }
.header-inner { height: 62px; padding: 0 16px; gap: 12px; } .brand img { height: 40px; }
.hero-grid, .section-inner { padding: 64px 20px; }
.hero-grid { gap: 30px; }
.hero-grid, .split, .grid.two, .grid.three { grid-template-columns: minmax(0, 1fr); }
.glow { right: -260px; width: 520px; height: 520px; }
h1 { font-size: clamp(34px, 10.5vw, 48px); line-height: 1.05; }
h2 { font-size: clamp(30px, 8.5vw, 40px); line-height: 1.08; }
h3 { font-size: clamp(21px, 6vw, 27px); }
.lead { font-size: 16px; line-height: 1.62; }
.terminal-body { padding: 20px; font-size: 12px; line-height: 1.75; overflow-wrap: anywhere; }
.terminal-bar strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.program-card { grid-template-rows: 190px 1fr; border-radius: 14px; }
.card-body, .stat, .timeline-item { padding: 20px; }
.stat strong { font-size: 34px; overflow-wrap: anywhere; }
.pill { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.photo-grid { grid-template-columns: 1fr; }
.photo-card.wide { grid-column: auto; }
.photo-card, .photo-card.tall, .feature-photo { min-height: 320px; }
.photo-caption { width: auto; max-width: calc(100% - 28px); white-space: normal; border-radius: 8px; line-height: 1.35; }
.feature-panel-inner { padding: 24px; }
.booking-panel { padding: 20px; }
.header-actions .ghost { display: none; }
.cta-row { flex-direction: column; align-items: stretch; }
.cta-row .button, .cta-row .ghost { width: 100%; }
.footer-grid { grid-template-columns: 1fr; padding: 48px 20px; }
.calendar-frame iframe { height: 560px; }
.footer-media { min-height: 260px; margin: 42px 20px 0; }
.footer-media-copy { padding: 30px 24px; }
}
@media (max-width: 560px) {
.announce { flex-direction: column; gap: 2px; font-size: 12px; }
.header-inner { height: 58px; padding-inline: 14px; }
.brand img { height: 36px; }
.mobile-nav { padding-inline: 12px; }
.mobile-nav a { font-size: 12px; padding: 7px 12px; }
.header-actions .button.small { min-height: 36px; padding: 8px 12px; font-size: 13px; }
.hero-grid, .section-inner { padding: 54px 18px; }
.button, .ghost { width: 100%; min-height: 46px; padding: 12px 18px; }
.header-actions .button, .header-actions .ghost { width: auto; }
.terminal-card, .card, .program-card, .stat, .timeline-item, .feature-panel, .calendar-frame, .booking-panel { border-radius: 14px; }
.program-card { grid-template-rows: 174px 1fr; }
.photo-card, .photo-card.tall, .feature-photo { min-height: 260px; }
.timeline-item { grid-template-columns: 1fr; gap: 10px; }
.timeline-item:before { font-size: 14px; }
.calendar-frame iframe { height: 500px; }
.footer-media { min-height: 240px; margin-inline: 18px; border-radius: 14px; }
.footer-media-copy { padding: 26px 20px; }
.feature-panel-inner { padding: 20px; }
.footer-grid { padding: 42px 18px; }
}
@media (max-width: 380px) {
.hero-grid, .section-inner { padding-inline: 16px; }
.photo-card, .photo-card.tall, .feature-photo { min-height: 230px; }
.calendar-frame iframe { height: 455px; }
.mobile-nav a { font-size: 11px; padding-inline: 10px; }
}
/* ── Decoding Bitcoin cohort dashboard ── */
.grid.four { grid-template-columns: repeat(4, minmax(0,1fr)); }
.mb-stats-wrap { padding-top: 0 !important; }
.mb-stats-wrap .stat strong { white-space: nowrap; }
.mb-me-wrap { padding-top: 0 !important; padding-bottom: 0 !important; }
.mb-me { padding: 28px; margin-bottom: 8px; }
.mb-me[hidden] { display: none; }
.mb-me-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.mb-me-head h2 { margin: 0; }
.mb-me-stats { display: flex; gap: 10px; flex-wrap: wrap; }
.mb-me-stats span { padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(6,6,6,.5); color: var(--muted); font: 600 13px "Plus Jakarta Sans", monospace; }
.mb-me-stats strong { color: var(--orange); font-size: 18px; margin-right: 4px; }
.mb-me-week { color: var(--text); font-size: 16px; line-height: 1.6; margin: 18px 0; }
.mb-link { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--dim); font-size: 13px; }
.mb-link span { flex-basis: 100%; }
.mb-link code { flex: 1 1 260px; min-width: 0; padding: 10px 12px; border-radius: 10px; background: rgba(0,0,0,.5); border: 1px solid var(--line); color: var(--muted); font: 12px ui-monospace, Menlo, monospace; overflow-wrap: anywhere; }
.mb-signout { background: none; border: 0; color: var(--dim); font: inherit; text-decoration: underline; cursor: pointer; padding: 6px; }
.mb-signout:hover { color: var(--orange); }
.mb-book { position: relative; justify-self: center; display: block; width: min(100%, 380px); text-decoration: none; transform: rotate(-3deg); transition: transform .25s ease; }
.mb-book:hover { transform: rotate(-1deg) translateY(-6px); }
.mb-book img { display: block; width: 100%; height: auto; border-radius: 6px 12px 12px 6px; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 30px 80px rgba(0,0,0,.6), 0 0 90px rgba(247,147,26,.22); }
.mb-book::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 14px; border-radius: 6px 0 0 6px; background: linear-gradient(90deg, rgba(0,0,0,.28), transparent); pointer-events: none; }
.mb-book-tag { position: absolute; left: 50%; bottom: -18px; transform: translateX(-50%) rotate(3deg); white-space: nowrap; padding: 9px 16px; border-radius: 999px; background: var(--orange); color: var(--bg); font: 700 13px "Plus Jakarta Sans", monospace; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
@media (max-width: 900px) { .mb-book { width: min(78%, 300px); margin: 10px auto 24px; } }
.mb-me-cta { margin-top: 18px; justify-content: flex-start; flex-wrap: wrap; }
.mb-cal { margin: 22px 0 0; color: var(--dim); font: 600 13px "Plus Jakarta Sans", monospace; }
.mb-cal[hidden] { display: none; }
.mb-cal a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.mb-cal a:hover { color: var(--orange2); }
button.ghost { background: transparent; cursor: pointer; font: inherit; font-weight: 700; }
.mb-weeks { display: grid; gap: 12px; margin-top: 34px; }
.mb-week { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.mb-week.is-current { border-color: rgba(247,147,26,.55); box-shadow: 0 0 0 1px rgba(247,147,26,.2), 0 20px 60px rgba(0,0,0,.32); }
.mb-week summary { list-style: none; display: grid; grid-template-columns: 96px minmax(0,1fr) auto; gap: 18px; align-items: center; padding: 20px 24px; cursor: pointer; }
.mb-week summary::-webkit-details-marker { display: none; }
.mb-week summary:hover { background: rgba(255,255,255,.02); }
.mb-week summary::after { content: "+"; grid-column: 4; color: var(--orange); font: 400 22px "Plus Jakarta Sans", monospace; }
.mb-week[open] summary::after { content: "−"; }
.mb-week[open] summary { border-bottom: 1px solid var(--line); }
.mb-wk { color: var(--orange); font: 700 12px "Plus Jakarta Sans", monospace; letter-spacing: .1em; text-transform: uppercase; }
.mb-title { font-size: 19px; color: var(--text); }
.mb-date { color: var(--dim); font: 600 13px "Plus Jakarta Sans", monospace; white-space: nowrap; }
.mb-now, .mb-mine { display: inline-block; margin-left: 8px; padding: 3px 9px; border-radius: 999px; font: 700 11px "Plus Jakarta Sans", monospace; letter-spacing: .06em; text-transform: uppercase; vertical-align: middle; }
.mb-now { background: var(--orange); color: var(--bg); }
.mb-mine { border: 1px solid rgba(247,147,26,.45); color: var(--orange); }
.mb-week-body { padding: 22px 24px 28px; }
.mb-summary { margin: 0 0 16px; color: var(--muted); line-height: 1.65; max-width: 760px; }
.mb-chapters { display: flex; flex-wrap: wrap; gap: 8px; }
.mb-chapters a { padding: 8px 13px; border-radius: 999px; border: 1px solid rgba(247,147,26,.42); color: var(--orange); text-decoration: none; font: 600 13px "Plus Jakarta Sans", monospace; }
.mb-chapters a:hover { background: rgba(247,147,26,.1); }
.mb-chapters a.is-extra { border-color: rgba(255,255,255,.14); color: var(--muted); }
.mb-when { margin: 14px 0 0; color: var(--dim); font: 500 13px "Plus Jakarta Sans", monospace; }
.mb-cols { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; margin-top: 26px; }
.mb-cols h3 { font-size: 20px; margin: 0 0 6px; }
.mb-hint { margin: 0 0 14px; color: var(--dim); font-size: 13.5px; line-height: 1.55; }
.mb-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mb-list li { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 10px; padding: 14px; border-radius: 12px; background: rgba(6,6,6,.45); border: 1px solid rgba(255,255,255,.05); }
.mb-list li.is-mine { border-color: rgba(247,147,26,.5); background: rgba(247,147,26,.06); }
.mb-list p { margin: 0 0 10px; color: var(--text); font-size: 14.5px; line-height: 1.55; }
.mb-num { color: var(--orange); font: 700 12px "Plus Jakarta Sans", monospace; padding-top: 3px; }
.mb-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.mb-who, .mb-count { display: inline-flex; padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); color: var(--muted); font: 600 12px "Plus Jakarta Sans", monospace; }
.mb-who.is-me { color: var(--orange); border-color: rgba(247,147,26,.5); }
.mb-who.is-done { color: #27C93F; border-color: rgba(39,201,63,.45); }
.mb-who.is-empty { color: var(--dim); border-style: dashed; }
.mb-tick { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 5px 12px 5px 6px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: transparent; color: var(--text); font: 700 12px "Plus Jakarta Sans", monospace; cursor: pointer; transition: border-color .15s, background .15s; }
.mb-tick:hover { border-color: var(--orange); }
.mb-box { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.35); font-size: 13px; }
.mb-tick.is-done { border-color: rgba(39,201,63,.55); background: rgba(39,201,63,.1); color: #27C93F; }
.mb-tick.is-done .mb-box { background: #27C93F; border-color: #27C93F; color: var(--bg); }
.mb-roster { margin-top: 30px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--card); }
.mb-roster-row { display: grid; grid-template-columns: 44px minmax(0,1.4fr) 80px 90px 90px minmax(80px,1fr); gap: 14px; align-items: center; padding: 14px 22px; border-bottom: 1px solid rgba(255,255,255,.05); color: var(--muted); font: 600 13px "Plus Jakarta Sans", monospace; }
.mb-roster-row:last-child { border-bottom: 0; }
.mb-roster-row.is-me { background: rgba(247,147,26,.07); }
.mb-roster .mb-name.is-blur { filter: blur(5px); user-select: none; opacity: .8; }
.mb-roster .mb-name em { color: var(--orange); font-style: normal; }
.mb-roster-head { color: var(--dim); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; background: var(--band); }
.mb-roster-head b { font-weight: inherit; }
.mb-short { display: none; }
.mb-name { color: var(--text); font: 500 15px "Inter", sans-serif; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mb-bar { height: 8px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.mb-bar i { display: block; height: 100%; background: linear-gradient(90deg, #C2620A, var(--orange)); border-radius: inherit; }
.mb-empty { margin: 0; padding: 28px; color: var(--dim); text-align: center; }
.mb-form { display: grid; gap: 16px; }
.mb-form label { display: grid; gap: 7px; color: var(--muted); font: 600 13px "Plus Jakarta Sans", monospace; }
.mb-form input { min-height: 48px; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.16); background: rgba(0,0,0,.45); color: var(--text); font: 16px "Inter", sans-serif; }
.mb-form input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(247,147,26,.2); }
.mb-form input:disabled, .mb-form button:disabled { opacity: .5; cursor: not-allowed; }
.mb-form button { border: 0; cursor: pointer; font-size: 15px; }
.mb-form[hidden] { display: none; }
.mb-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mb-fine { margin: 0; color: var(--dim); font-size: 12.5px; line-height: 1.55; }
.mb-note { margin: 14px 0 0; color: var(--orange); font-size: 14.5px; line-height: 1.55; }
.mb-note:empty { display: none; }
.mb-note a { color: inherit; text-decoration: underline; font-weight: 700; }
.mb-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 80; max-width: min(92vw, 460px); padding: 14px 18px; border-radius: 12px; background: #141414; border: 1px solid rgba(247,147,26,.5); color: var(--text); font-size: 14px; line-height: 1.5; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.mb-toast[hidden] { display: none; }
.mb-label { margin: 0 0 8px; color: var(--orange); font: 700 11px "Plus Jakarta Sans", monospace; letter-spacing: .1em; text-transform: uppercase; }
.mb-read { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.mb-opening { margin-top: 20px; padding: 16px 18px; border-left: 3px solid var(--orange); border-radius: 0 12px 12px 0; background: rgba(247,147,26,.06); }
.mb-opening p:last-child { margin: 0; color: var(--text); font-size: 17px; line-height: 1.55; }
.mb-roles-wrap { margin-top: 20px; }
.mb-roles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; }
.mb-roles li { display: grid; gap: 3px; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,.08); background: rgba(6,6,6,.45); cursor: help; }
.mb-roles li.is-mine { border-color: rgba(247,147,26,.5); background: rgba(247,147,26,.06); }
.mb-roles b { color: var(--dim); font: 700 11px "Plus Jakarta Sans", monospace; letter-spacing: .06em; text-transform: uppercase; }
.mb-roles span { color: var(--text); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mb-roles li.is-mine span { color: var(--orange); }
.mb-me-week { margin: 20px 0; }
.mb-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mb-check li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-size: 15px; line-height: 1.5; }
.mb-check li .mb-box { flex: 0 0 auto; margin-top: 1px; }
.mb-check li.is-done { color: var(--dim); }
.mb-check li.is-done .mb-box { background: #27C93F; border-color: #27C93F; color: var(--bg); }
.mb-jump { display: inline-block; margin-top: 12px; color: var(--orange); font: 700 13px "Plus Jakarta Sans", monospace; text-decoration: none; }
.mb-agenda { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; margin-top: 34px; }
.mb-agenda ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mb-agenda ol li { display: grid; grid-template-columns: 86px minmax(0,1fr); gap: 14px; padding: 14px 16px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); color: var(--muted); line-height: 1.55; }
.mb-agenda ol li b { color: var(--orange); font: 700 13px "Plus Jakarta Sans", monospace; padding-top: 2px; }
.mb-agenda ol li strong { color: var(--text); }
.mb-agenda h3 { font-size: 20px; margin: 0 0 14px; }
.mb-norms { margin: 0 0 26px; padding-left: 20px; color: var(--muted); line-height: 1.7; }
.mb-norms strong { color: var(--text); }
.mb-role-list { display: grid; gap: 10px; }
.mb-role-list div { padding: 14px 16px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); color: var(--muted); line-height: 1.55; }
.mb-role-list strong { display: block; color: var(--orange); }
@media (max-width: 900px) {
.grid.four { grid-template-columns: repeat(2, minmax(0,1fr)); }
.mb-cols { grid-template-columns: minmax(0,1fr); }
.mb-week summary { grid-template-columns: minmax(0,1fr) auto; gap: 4px 12px; padding: 16px 18px; }
.mb-week summary .mb-wk { grid-column: 1; }
.mb-week summary .mb-title { grid-column: 1 / span 2; grid-row: 2; font-size: 17px; }
.mb-week summary .mb-date { grid-column: 2; grid-row: 1; justify-self: end; }
.mb-week summary::after { display: none; }
.mb-week-body { padding: 18px; }
.mb-roster-row { grid-template-columns: 30px minmax(0,1fr) 44px 50px 56px; padding: 12px 14px; gap: 8px; font-size: 12px; }
.mb-roster-row > :last-child { grid-column: 2 / -1; }
.mb-roster-head > :last-child { display: none; }
.mb-long { display: none; } .mb-short { display: inline; }
.mb-me { padding: 22px 18px; }
.mb-roles { grid-template-columns: repeat(2, minmax(0,1fr)); }
.mb-agenda { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 560px) {
.mb-stats-wrap .stat strong { font-size: 28px; }
.mb-list li { grid-template-columns: minmax(0,1fr); gap: 4px; padding: 12px; }
.mb-tick { width: auto !important; }
.mb-link .ghost { width: auto; }
.mb-agenda ol li { grid-template-columns: minmax(0,1fr); gap: 4px; }
}
/* Photo backgrounds: the whole photo (3:4, not cropped), large and soft-edged, behind the content */
.mb-bg { position: relative; isolation: isolate; }
.mb-bg::after { content: ""; position: absolute; top: 0; z-index: -1; width: min(62vw, 960px); aspect-ratio: 3 / 4; pointer-events: none; background: var(--mb-bg) center / contain no-repeat; opacity: .47; filter: contrast(1.05);
-webkit-mask-image: linear-gradient(to right, transparent, #000 24%, #000 80%, transparent), linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent); -webkit-mask-composite: source-in;
mask-image: linear-gradient(to right, transparent, #000 24%, #000 80%, transparent), linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent); mask-composite: intersect; }
.mb-bg-right::after { right: calc(50% - 50vw); }
.mb-bg-left::after { left: calc(50% - 50vw); }
.mb-bg.band { overflow: hidden; }
.mb-bg.band::after { top: 50%; transform: translateY(-50%); opacity: .44; }
.mb-bg :is(h2, h3, .lead, .eyebrow, .mb-norms, .mb-rail, .mb-fine) { text-shadow: 0 1px 2px rgba(0,0,0,.9), 0 2px 18px rgba(0,0,0,.85); }
@media (max-width: 900px) {
.mb-bg::after { width: 100vw; opacity: .29; }
.mb-bg.band::after { opacity: .29; }
}
/* ── Polish: buttons, motion, glow ── */
.mb-cta { position: relative; overflow: hidden; gap: 10px; isolation: isolate; transition: transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease !important; }
.mb-cta:hover { transform: translateY(-2px); }
.mb-cta:active { transform: translateY(0) scale(.98); }
.button.mb-cta { box-shadow: 0 8px 24px rgba(247,147,26,.22), inset 0 1px 0 rgba(255,255,255,.35); }
.button.mb-cta:hover { box-shadow: 0 14px 38px rgba(247,147,26,.42), inset 0 1px 0 rgba(255,255,255,.4); }
.button.mb-cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(-120%); }
.button.mb-cta:hover::after { animation: mb-shine .8s ease; }
@keyframes mb-shine { to { transform: translateX(120%); } }
.mb-arrow { width: 16px; height: 16px; flex: 0 0 auto; transition: transform .2s ease; }
.mb-cta:hover .mb-arrow { transform: translateX(4px); }
.ghost.mb-cta:hover { box-shadow: 0 10px 30px rgba(0,0,0,.35), 0 0 0 1px rgba(247,147,26,.25); }
.button, .ghost, .mb-tick, .mb-chapters a, .mb-rail a, summary { -webkit-tap-highlight-color: transparent; }
:where(.button, .ghost, .mb-tick, .mb-chapters a, .mb-rail a, .mb-jump, .mb-signout, summary):focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.mb-countdown { display: flex; gap: 10px; margin: 0 0 26px; }
.mb-countdown[hidden] { display: none; }
.mb-countdown div { min-width: 74px; padding: 12px 10px 10px; border-radius: 14px; text-align: center; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.015)); border: 1px solid rgba(255,255,255,.1); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 12px 30px rgba(0,0,0,.3); backdrop-filter: blur(8px); }
.mb-countdown strong { display: block; color: var(--text); font: 700 30px/1 "Plus Jakarta Sans", monospace; font-variant-numeric: tabular-nums; }
.mb-countdown div:first-child strong { color: var(--orange); }
.mb-countdown span { display: block; margin-top: 6px; color: var(--dim); font: 700 10px "Plus Jakarta Sans", monospace; letter-spacing: .14em; text-transform: uppercase; }
.mb-week, .stat, .mb-agenda ol li, .mb-role-list div, .mb-list li, .mb-roles li { transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease, background .2s ease; }
.mb-agenda ol li:hover, .mb-role-list div:hover, .stat:hover { border-color: rgba(247,147,26,.35); transform: translateY(-2px); }
.mb-week:not([open]):hover { border-color: rgba(247,147,26,.35); }
.mb-list li:hover { border-color: rgba(255,255,255,.14); }
/* Week rail */
.mb-rail { display: grid; grid-template-columns: repeat(10, minmax(0,1fr)); gap: 6px; margin-top: 34px; }
.mb-rail a { position: relative; display: grid; gap: 6px; padding: 10px 0 0; text-decoration: none; color: var(--dim); font: 700 11px "Plus Jakarta Sans", monospace; letter-spacing: .06em; }
.mb-rail a i { display: block; height: 6px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; transition: background .2s ease; }
.mb-rail a i b { display: block; height: 100%; width: var(--p, 0%); background: linear-gradient(90deg, #C2620A, var(--orange)); border-radius: inherit; transition: width .6s cubic-bezier(.2,.8,.2,1); }
.mb-rail a.is-past i { background: rgba(247,147,26,.25); }
.mb-rail a.is-current { color: var(--orange); }
.mb-rail a.is-current i { box-shadow: 0 0 0 1px rgba(247,147,26,.6), 0 0 18px rgba(247,147,26,.45); }
.mb-rail a:hover { color: var(--text); }
.mb-rail a em { font-style: normal; }
.mb-rail a span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mb-weeks { margin-top: 18px !important; }
/* Smooth accordion */
.mb-week summary { transition: background .2s ease; }
.mb-week summary::after { transition: transform .25s ease; }
.mb-week-body { overflow: hidden; }
/* Tick feedback */
.mb-tick { transition: border-color .15s, background .15s, transform .15s, box-shadow .2s; }
.mb-tick:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,.3); }
.mb-tick:active { transform: scale(.96); }
.mb-tick.is-pop .mb-box { animation: mb-pop .45s cubic-bezier(.2,1.6,.4,1); }
.mb-tick.is-pop { box-shadow: 0 0 0 6px rgba(39,201,63,.12), 0 0 24px rgba(39,201,63,.35); }
@keyframes mb-pop { 0% { transform: scale(.4); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }
.mb-confetti { position: fixed; left: 0; top: 0; width: 8px; height: 8px; border-radius: 2px; pointer-events: none; z-index: 90; }
/* Course card in the hero (replaces the old book cover) */
.mb-course-card { position: relative; overflow: hidden; border-radius: 16px; background: linear-gradient(160deg, #1b1308, #0e0e0e 55%); border: 1px solid rgba(247,147,26,.35); box-shadow: 0 0 0 1px rgba(255,255,255,.05), 0 30px 80px rgba(0,0,0,.6), 0 0 90px rgba(247,147,26,.22); animation: mb-float 6s ease-in-out infinite; }
.mb-course-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.03); }
.mb-course-bar span { width: 10px; height: 10px; border-radius: 50%; background: #FF5F56; } .mb-course-bar span:nth-child(2) { background: #FFBD2E; } .mb-course-bar span:nth-child(3) { background: #27C93F; }
.mb-course-bar em { margin-left: 8px; font: 500 12px "Plus Jakarta Sans", monospace; font-style: normal; color: var(--dim); }
.mb-course-body { padding: 28px 26px 26px; }
.mb-course-kicker { margin: 0 0 8px; color: var(--orange); font: 700 11px "Plus Jakarta Sans", monospace; letter-spacing: .14em; text-transform: uppercase; }
.mb-course-name { margin: 0; color: var(--text); font-size: 34px; font-weight: 800; line-height: 1.05; letter-spacing: -.02em; }
.mb-course-sub { margin: 8px 0 20px; color: var(--muted); font-size: 14px; }
.mb-course-body ul { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 8px; }
.mb-course-body li { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid var(--line); color: var(--text); font-weight: 700; }
.mb-course-body li b { color: var(--orange); font: 700 12px "Plus Jakarta Sans", monospace; }
.mb-course-body code { display: block; padding: 12px 14px; border-radius: 10px; background: #070707; border: 1px solid var(--line); color: #FFB347; font: 12px/1.6 ui-monospace, Menlo, monospace; overflow-wrap: anywhere; }
.mb-modules { margin-top: 30px; }
.mb-module { display: flex; flex-direction: column; gap: 12px; padding: 26px; text-decoration: none; transition: transform .18s ease, border-color .18s ease; }
.mb-module:hover { transform: translateY(-4px); border-color: rgba(247,147,26,.55); }
.mb-module p { margin: 0; flex: 1; }
.mb-module b { color: var(--orange); font: 700 13px "Plus Jakarta Sans", monospace; }
.mb-module .pill { align-self: flex-start; }
.mb-joined { margin: 18px 0 6px; color: var(--muted); }
.mb-or { display: flex; align-items: center; gap: 12px; color: var(--dim); font: 700 11px "Plus Jakarta Sans", monospace; letter-spacing: .14em; text-transform: uppercase; }
.mb-or::before, .mb-or::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,.12); }
.mb-form .mb-nostr { min-height: 48px; justify-content: center; }
.mb-form .mb-nostr[hidden], .mb-nostr-on[hidden], #progress[hidden] { display: none; }
.mb-nostr-on { margin: 0; padding: 10px 14px; border-radius: 10px; border: 1px solid rgba(247,147,26,.35); background: rgba(247,147,26,.08); color: var(--text); font: 600 13px "Plus Jakarta Sans", monospace; }
.mb-nostr-on code { color: var(--orange); }
.mb-lost { margin-top: 18px; color: var(--muted); }
.mb-lost[hidden] { display: none; }
.mb-lost summary { cursor: pointer; font: 600 13px "Plus Jakarta Sans", monospace; color: var(--muted); }
.mb-lost summary:hover { color: var(--orange); }
.mb-lost .mb-form { margin-top: 14px; }
.mb-lost .mb-form button { min-height: 44px; justify-content: center; }
.mb-joined strong { color: var(--orange); font-size: 22px; }
.mb-small { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.mb-small a { color: var(--orange); }
.mb-steps { grid-template-columns: repeat(4, 1fr); }
.mb-steps .timeline-item { grid-template-columns: 1fr; gap: 10px; }
#seminar { overflow: hidden; }
@media (max-width: 900px) { .mb-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .mb-steps { grid-template-columns: 1fr; } }
.mb-more { margin-top: 26px; }
.mb-more > summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border: 1px solid var(--line); border-radius: 999px; color: var(--text, #fff); font-weight: 600; }
.mb-more > summary::-webkit-details-marker { display: none; }
.mb-more > summary::after { content: "+"; color: var(--orange); font-size: 20px; line-height: 1; }
.mb-more[open] > summary::after { content: "–"; }
.mb-more[open] > summary { margin-bottom: 22px; border-color: rgba(247,147,26,.55); }
.mb-sticky { display: none; }
@media (max-width: 760px) {
.mb-sticky:not([hidden]) { display: block; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; padding: 15px; border-radius: 999px; background: #F7931A; color: #0A0A0A; text-align: center; font-weight: 700; text-decoration: none; box-shadow: 0 12px 34px rgba(0,0,0,.5); }
}
.mb-hero-video { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .55; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .mb-hero-video { display: none; } }
.mb-tools { margin: 24px 0 0; color: var(--muted); line-height: 1.9; }
.mb-tools a, .lead a { color: var(--orange); }
.mb-shot { display: block; position: relative; max-width: 680px; margin: 0 auto 28px; border: 1px solid rgba(247,147,26,.35); border-radius: 22px; overflow: hidden; background: #111; text-decoration: none; transition: transform .18s ease, border-color .18s ease; }
.mb-shot:hover { transform: translateY(-4px); border-color: rgba(247,147,26,.7); }
.mb-shot-bar { display: flex; align-items: center; gap: 8px; padding: 11px 16px; background: #161616; border-bottom: 1px solid rgba(255,255,255,.08); color: var(--muted); font: 600 13px "Plus Jakarta Sans", monospace; }
.mb-shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a3a; }
.mb-shot-bar i:first-child { background: #F7931A; }
.mb-shot-bar span { margin-left: 8px; }
.mb-shot img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; }
.mb-shot figcaption { padding: 14px 18px; color: var(--muted); font-size: 14px; }
.mb-shot figcaption b { color: var(--orange); }
.mb-shot.is-broken img { display: none; }
.mb-credit-shot { max-width: 640px; margin: 28px auto; }
.mb-toolgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-top: 18px; }
.mb-tool { display: flex; flex-direction: column; gap: 8px; padding: 18px; text-decoration: none; transition: transform .18s ease, border-color .18s ease; }
.mb-tool:hover { transform: translateY(-3px); border-color: rgba(247,147,26,.55); }
.mb-tool h3 { font-size: 17px; margin: 0; }
.mb-tool p { margin: 0; font-size: 14px; flex: 1; }
.mb-tool b { color: var(--orange); font: 700 12px "Plus Jakarta Sans", monospace; }
/* Book: floats, tilts with the cursor */
.mb-book { transform-style: preserve-3d; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.mb-book img { animation: mb-float 6s ease-in-out infinite; }
@keyframes mb-float { 50% { transform: translateY(-10px); } }
/* Scroll reveal */
.mb-js .mb-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.mb-js .mb-reveal.is-in { opacity: 1; transform: none; }
.mb-roster .mb-bar i { transition: width .9s cubic-bezier(.2,.8,.2,1); }
.mb-roster-row:not(.mb-roster-head) { transition: background .2s ease; }
.mb-roster-row:not(.mb-roster-head):hover { background: rgba(255,255,255,.025); }
@media (max-width: 900px) {
.mb-rail { grid-template-columns: repeat(5, minmax(0,1fr)); row-gap: 12px; }
.mb-rail a em { display: none; }
.mb-countdown div { min-width: 0; flex: 1; }
}
@media (max-width: 560px) {
.mb-countdown strong { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
.mb-book img, .mb-course-card, .button.mb-cta:hover::after, .mb-tick.is-pop .mb-box { animation: none !important; }
.mb-js .mb-reveal { opacity: 1; transform: none; transition: none; }
.mb-cta, .mb-tick, .mb-agenda ol li, .mb-role-list div, .stat { transition: none !important; }
}
</style>
<link rel="stylesheet" href="/assets/theme.css?v=20261015d">
<script src="/assets/site-menu.js?v=20261004b" defer></script>
<script src="/assets/mastering-bitcoin/cohort.js?v=20261010a" defer></script>
<script src="/assets/mastering-bitcoin/app.js?v=20261016a" defer></script>
</head>
<body>
<a class="announce" href="#signup">Decoding Bitcoin study cohort starts Monday 16 November · sign-ups are open <span>Sign up →</span></a>
<header class="site-header">
<div class="header-inner">
<a class="brand" href="/" aria-label="Code Orange Dev School home"><img src="/assets/logo-dot-wordmark.svg" alt="Code Orange Dev School"></a>
<nav class="desktop-nav" aria-label="Primary">
<a href="/start">Start here</a>
<a href="/programs">Programs</a>
<a href="/portal">Portal</a>
<a href="/fellowships">Fellowships</a>
<a href="/calendar">Calendar</a>
<a href="/community">Community</a>
<a href="/about">About</a>
</nav>
<div class="header-actions">
<a class="ghost small" href="https://discord.gg/ZtvA79paWa" target="_blank" rel="noopener">Discord</a>
<a class="button small" href="#signup">Sign up</a>
</div>
</div>
<nav class="mobile-nav" aria-label="Mobile">
<a href="/start">Start here</a>
<a href="/programs">Programs</a>
<a href="/portal">Portal</a>
<a href="/calendar">Calendar</a>
<a href="/community">Community</a>
<a href="/about">About</a>
</nav>
</header>
<main>
<section class="hero"><div class="co-fx" aria-hidden="true"><i></i><i></i><i></i><svg class="co-fx-glow" viewBox="0 0 1200 400" preserveAspectRatio="none"><defs><filter id="co-glow-blur" x="-20%" y="-50%" width="140%" height="200%"><feGaussianBlur stdDeviation="25"/></filter><radialGradient id="co-glow-fill"><stop offset="0" stop-color="#F7931A" stop-opacity=".55"/><stop offset=".55" stop-color="#C2620A" stop-opacity=".28"/><stop offset="1" stop-color="#4A2600" stop-opacity="0"/></radialGradient></defs><ellipse cx="600" cy="200" rx="520" ry="110" fill="url(#co-glow-fill)" filter="url(#co-glow-blur)"/></svg></div><video class="mb-hero-video" poster="/assets/co-hero-first.webp" autoplay muted loop playsinline preload="auto" aria-hidden="true"><source src="/assets/co-hero-v2-540.mp4" type="video/mp4" media="(max-width: 760px)"><source src="/assets/co-hero-v2.mp4" type="video/mp4"><source src="/assets/co-hero-720.webm" type="video/webm"></video>
<div class="glow"></div>
<div class="hero-grid">
<div>
<p class="eyebrow">/Programs/Decoding_Bitcoin_</p>
<h1>Decoding Bitcoin. <span class="orange">Study cohort.</span></h1>
<p class="lead">Learn how Bitcoin really works with the free <a href="https://bitcoindevs.xyz/decoding" target="_blank" rel="noopener"><em>Decoding Bitcoin</em></a> course, together. A few lessons a week, then we talk it through on Discord every Monday.</p>
<div class="meta" style="margin:0 0 30px">
<span class="pill orange" data-mb-start>Start date TBA</span>
<span class="pill">10 weeks</span>
<span class="pill">Mondays 7pm UTC+8 · Discord</span>
<span class="pill">Free</span>
</div>
<div class="mb-countdown" data-mb-countdown hidden aria-label="Time until the first session">
<div><strong data-cd="d">00</strong><span>days</span></div>
<div><strong data-cd="h">00</strong><span>hours</span></div>
<div><strong data-cd="m">00</strong><span>mins</span></div>
<div><strong data-cd="s">00</strong><span>secs</span></div>
</div>
<div class="cta-row">
<a class="button mb-cta" href="#signup"><span>Sign up free</span><svg class="mb-arrow" viewBox="0 0 16 16" aria-hidden="true"><path d="M3 8h9M8.5 4.5 12 8l-3.5 3.5" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg></a>
<a class="ghost mb-cta" href="#curriculum"><span>See the 10 weeks</span></a>
</div>
<p class="mb-cal" data-mb-cal>Add all 10 sessions to your calendar: <a data-mb-gcal href="#" target="_blank" rel="noopener">Google</a> · <a href="/assets/mastering-bitcoin/sessions.ics?v=20261010a" download="decoding-bitcoin-sessions.ics">Apple / Outlook</a></p>
</div>
<a class="mb-book mb-course" href="https://bitcoindevs.xyz/decoding" target="_blank" rel="noopener" aria-label="Open Decoding Bitcoin by The Bitcoin Dev Project">
<div class="mb-course-card">
<div class="mb-course-bar"><span></span><span></span><span></span><em>bitcoindevs.xyz/decoding</em></div>
<div class="mb-course-body">
<p class="mb-course-kicker">The Bitcoin Dev Project</p>
<p class="mb-course-name">Decoding Bitcoin</p>
<p class="mb-course-sub">Interactive lessons, tools and coding exercises</p>
<ul><li><b>01</b>Transactions</li><li><b>02</b>Scripts</li><li><b>03</b>Taproot</li></ul>
<code>OP_DUP OP_HASH160 <pkh> OP_EQUALVERIFY OP_CHECKSIG</code>
</div>
</div>
<span class="mb-book-tag">The course we use · free online →</span>
</a>
</div>
</section>
<section class="section-inner mb-me-wrap" aria-live="polite">
<div id="mb-me" class="feature-panel mb-me" hidden></div>
</section>
<section id="signup" class="band mb-bg mb-bg-right" style="--mb-bg:url(/assets/mastering-bitcoin/bg-workshop-table.webp?v=3);scroll-margin-top:96px"><div class="section-inner">
<div class="split">
<div><p class="eyebrow">Sign up</p><h2>Join in 30 seconds.</h2><p class="lead">Free. All you need is your email and Discord.</p><p class="mb-joined" hidden><strong id="mb-count">–</strong> people have joined so far.</p><p class="mb-small">No Discord yet? <a href="https://discord.com/register" target="_blank" rel="noopener">Make a free account</a>, then come back.</p><button type="button" class="ghost small" data-mb-share>Invite a friend</button></div>
<div class="feature-panel"><div class="feature-panel-inner">
<form id="mb-signup" class="mb-form" autocomplete="on">
<label>Email<input name="email" type="email" required maxlength="120" autocomplete="email" placeholder="you@example.com"></label>
<label>Discord username<input name="discord" required maxlength="40" autocomplete="off" autocapitalize="none" spellcheck="false" placeholder="satoshi_n"></label>
<label><span>Your name <span class="muted">(optional)</span></span><input name="name" maxlength="60" autocomplete="name" placeholder="Satoshi N."></label>
<p class="mb-nostr-on" hidden><span aria-hidden="true">⚡</span> Nostr connected: <code></code></p>
<label class="mb-hp" aria-hidden="true">Website<input name="website" tabindex="-1" autocomplete="off"></label>
<button class="button mb-cta" type="submit">Sign me up</button>
<div class="mb-or"><span>or</span></div>
<button type="button" class="ghost mb-nostr" data-mb-nostr><span aria-hidden="true">⚡</span> Sign in with Nostr</button>
<p class="mb-fine">Your email stays private. Nostr works with a browser extension or a signer app like nsec.app, and signs you back in on any device. Never paste your private key (nsec) into a website.</p>
</form>
<p id="mb-signup-note" class="mb-note" role="status"></p>
<details id="mb-lost" class="mb-lost" hidden><summary>Already signed up? Email me my link</summary>
<form class="mb-form"><label>Email<input name="email" type="email" required maxlength="120" autocomplete="email" placeholder="you@example.com"></label><button class="ghost" type="submit">Send my link</button></form>
<p id="mb-lost-note" class="mb-note" role="status"></p>
</details>
</div></div>
</div>
</div></section>
<section class="section-inner">
<div class="split"><div><p class="eyebrow">How it works</p><h2>Four steps a week.</h2></div><p class="lead">No accounts. Signing up gives you a personal link to tick things off.</p></div>
<div class="timeline mb-steps">
<div class="timeline-item"><div><h3>Do the lessons</h3><p>Two to four short interactive lessons.</p></div></div>
<div class="timeline-item"><div><h3>Answer your questions</h3><p>Each question has an owner. Post yours on Discord.</p></div></div>
<div class="timeline-item"><div><h3>Do the exercises</h3><p>Hands-on, the same for everyone.</p></div></div>
<div class="timeline-item"><div><h3>Meet on Monday</h3><p>90 minutes on Discord, 7pm UTC+8.</p></div></div>
</div>
</section>
<section id="course" class="band" style="scroll-margin-top:96px"><div class="section-inner">
<div class="split"><div><p class="eyebrow">The course</p><h2>Built on Decoding Bitcoin.</h2></div><p class="lead">A free, interactive course by <a href="https://bitcoindevs.xyz" target="_blank" rel="noopener">The Bitcoin Dev Project</a>. You learn by decoding real transactions and writing code, not by reading a PDF.</p></div>
<a class="mb-shot " href="https://bitcoindevs.xyz/decoding" target="_blank" rel="noopener"><figure style="margin:0"><div class="mb-shot-bar" aria-hidden="true"><i></i><i></i><i></i><span>bitcoindevs.xyz/decoding</span></div><img src="https://bitcoindevs.xyz/images/pages-thumbnails/decoding-bitcoin.webp" alt="Decoding Bitcoin, a free interactive course by The Bitcoin Dev Project" width="1200" height="630" loading="lazy" referrerpolicy="no-referrer" onerror="this.closest('.mb-shot').classList.add('is-broken')"><figcaption><b>Decoding Bitcoin</b> by The Bitcoin Dev Project. Click to open the course ↗</figcaption></figure></a>
<div class="grid three mb-modules">
<a class="card mb-module" href="https://bitcoindevs.xyz/decoding/transaction-lifecycle" target="_blank" rel="noopener"><span class="pill orange">Weeks 2–5</span><h3>Transactions</h3><p>How a transaction is built, paid for and signed.</p><b>Start the module ↗</b></a>
<a class="card mb-module" href="https://bitcoindevs.xyz/decoding/overview" target="_blank" rel="noopener"><span class="pill orange">Weeks 6–8</span><h3>Scripts</h3><p>How coins are locked and unlocked, up to multisig.</p><b>Start the module ↗</b></a>
<a class="card mb-module" href="https://bitcoindevs.xyz/decoding/introduction-taproot" target="_blank" rel="noopener"><span class="pill orange">Weeks 9–10</span><h3>Taproot</h3><p>Schnorr signatures and Bitcoin’s newest outputs.</p><b>Start the module ↗</b></a>
</div>
<p class="mb-tools">Free tools to play with:</p>
<div class="mb-toolgrid"><a class="card mb-tool" href="https://bitcoindevs.xyz/decoding/transaction-decoder" target="_blank" rel="noopener"><h3>Transaction Decoder</h3><p>See every field of a transaction.</p><b>Open ↗</b></a><a class="card mb-tool" href="https://bitcoindevs.xyz/decoding/hash-functions" target="_blank" rel="noopener"><h3>Hash Functions</h3><p>Try SHA-256 yourself.</p><b>Open ↗</b></a><a class="card mb-tool" href="https://bitcoindevs.xyz/decoding/reorg-calculator" target="_blank" rel="noopener"><h3>Reorg Calculator</h3><p>Why we wait for confirmations.</p><b>Open ↗</b></a><a class="card mb-tool" href="https://bitcoindevs.xyz/decoding/interactive-roadmap" target="_blank" rel="noopener"><h3>Developer Roadmap</h3><p>What to learn next.</p><b>Open ↗</b></a><a class="card mb-tool" href="https://bitcoindevs.xyz/decoding/transaction_exercises" target="_blank" rel="noopener"><h3>Coding Exercises</h3><p>Code that gets checked for you.</p><b>Open ↗</b></a></div>
</div></section>
<section id="curriculum" class="section-inner mb-bg mb-bg-right" style="--mb-bg:url(/assets/mastering-bitcoin/bg-workshop-table.webp?v=3);scroll-margin-top:96px">
<div class="split"><div><p class="eyebrow">Curriculum</p><h2>A few lessons a week.</h2></div><p class="lead">Tap a week to see its lessons, questions and exercises.</p></div>
<nav id="mb-rail" class="mb-rail" aria-label="Jump to a week"></nav>
<div id="mb-weeks" class="mb-weeks"></div>
</section>
<section id="seminar" class="section-inner" style="scroll-margin-top:96px">
<div class="split"><div><p class="eyebrow">The Monday session</p><h2>A Socratic seminar, not a lecture.</h2></div><p class="lead">No slides, no lecture. We ask questions, explain our thinking and check it together. Nobody has to be an expert.</p></div>
<details class="mb-more"><summary>How the 90 minutes run, ground rules and roles</summary>
<div class="mb-agenda">
<div>
<h3>How the 90 minutes run</h3>
<ol>
<li><b>0–10 min</b><span><strong>Check-in.</strong> One line each: the thing in this week's lessons that surprised you most. The facilitator asks the opening question.</span></li>
<li><b>10–50 min</b><span><strong>Small groups.</strong> Breakout rooms of 3–5. Each question owner explains their answer in a few minutes, then the group probes it: why, what if, where does the lesson say that?</span></li>
<li><b>50–75 min</b><span><strong>Hands-on.</strong> The exercise driver shares their screen and we work through an exercise together, live.</span></li>
<li><b>75–85 min</b><span><strong>Bring it together.</strong> The summariser reads back the key takeaways and the questions we couldn't answer yet.</span></li>
<li><b>85–90 min</b><span><strong>Wrap up.</strong> How did the discussion go? Next week's lessons, roles and questions.</span></li>
</ol>
</div>
<div>
<h3>Ground rules</h3>
<ul class="mb-norms">
<li><strong>Talk to each other</strong>, not to the facilitator.</li>
<li><strong>Point to the text.</strong> Say which lesson backs your claim, or check it on a real transaction.</li>
<li><strong>Steelman before you disagree.</strong> Repeat the other view in your own words first.</li>
<li><strong>Mind your airtime.</strong> Spoken a lot? Invite someone quieter in.</li>
<li><strong>"I don't know" is a great answer.</strong> It goes on the list of open questions.</li>
</ul>
<h3>Roles rotate every week</h3>
<div class="mb-role-list" id="mb-role-list"></div>
</div>
</details>
</div>
</section>
<section id="progress" class="section-inner" style="scroll-margin-top:96px" hidden>
<div class="split"><div><p class="eyebrow">The cohort</p><h2>Who's in, and how it's going.</h2></div><p class="lead">How far the cohort has got. Names stay private: only yours is shown.</p></div>
<div id="mb-roster" class="mb-roster"></div>
</section>
<section class="section-inner final-cta">
<p class="eyebrow">Credits</p>
<h2>Learn it free, online.</h2>
<p class="lead" style="margin-left:auto;margin-right:auto">Lessons and tools by <a href="https://bitcoindevs.xyz" target="_blank" rel="noopener">The Bitcoin Dev Project</a> (<a href="https://github.com/bitcoin-dev-project/decoding-bitcoin" target="_blank" rel="noopener">source</a>). Weekly plan and questions by Code Orange.</p>
<a class="mb-shot mb-credit-shot" href="https://bitcoindevs.xyz/decoding" target="_blank" rel="noopener"><figure style="margin:0"><div class="mb-shot-bar" aria-hidden="true"><i></i><i></i><i></i><span>bitcoindevs.xyz/decoding</span></div><img src="https://bitcoindevs.xyz/images/pages-thumbnails/decoding-bitcoin.webp" alt="Decoding Bitcoin, a free interactive course by The Bitcoin Dev Project" width="1200" height="630" loading="lazy" referrerpolicy="no-referrer" onerror="this.closest('.mb-shot').classList.add('is-broken')"><figcaption>The course we follow: <b>bitcoindevs.xyz/decoding</b>. Click to open ↗</figcaption></figure></a>
<div class="cta-row" style="justify-content:center"><a class="button mb-cta" href="https://bitcoindevs.xyz/decoding/welcome" target="_blank" rel="noopener"><span>Open Decoding Bitcoin</span><svg class="mb-arrow" viewBox="0 0 16 16" aria-hidden="true"><path d="M3 8h9M8.5 4.5 12 8l-3.5 3.5" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg></a><a class="ghost" href="https://discord.gg/ZtvA79paWa" target="_blank" rel="noopener">Join Discord</a></div>
</section>
<a class="mb-sticky" href="#signup" hidden>Sign up free →</a>
<div id="mb-toast" class="mb-toast" role="status" hidden></div>
</main>
<footer class="footer">
<div class="footer-media">
<video data-lazy-video data-src="/assets/co-footer-720.mp4" poster="/assets/co-footer-poster.webp" autoplay muted loop playsinline preload="none"></video>
<div class="footer-media-copy">
<p class="eyebrow">Scenes from the school</p>
<h2>Hands-on Bitcoin education.</h2>
</div>
</div>
<div class="footer-grid">
<div>
<img src="/assets/logo-dot-wordmark.svg" alt="Code Orange Dev School" style="height:58px;width:auto;margin-bottom:18px">
<p style="color:var(--dim);max-width:420px;line-height:1.7">Code Orange Dev School trains Bitcoin developers, node runners, and technical community leaders through practical education and open-source contribution.</p>
<p><a href="mailto:hello@codeorange.dev">hello@codeorange.dev</a></p>
<div class="cta-row" style="gap:10px;justify-content:flex-start">
<a class="ghost small" href="https://x.com/CodeOrangeDevs" target="_blank" rel="noopener">X</a>
<a class="ghost small" href="https://www.instagram.com/codeorangedevs" target="_blank" rel="noopener">Instagram</a>
<a class="ghost small" href="https://njump.me/npub1gxqyeea3xspkd68mxlxsvvk3gdzdd555u504ynwpdj0ghg503mvq2gydt0" target="_blank" rel="noopener">Nostr</a>
<a class="ghost small" href="https://discord.gg/ZtvA79paWa" target="_blank" rel="noopener">Discord</a>
</div>
</div>
<div>
<div class="link-list">
<strong>School</strong>
<a href="/about">About</a>
<a href="/community">Community</a>
<a href="/fellowships">Fellowships</a>
<a href="/calendar">Calendar</a>
<a href="https://geyser.fund/project/codeorangedevschool" target="_blank" rel="noopener">Support on Geyser</a>
</div>
</div>
</div>
</footer>
<script>
(() => {
const btn = document.querySelector(".mb-sticky"), signup = document.getElementById("signup"), form = document.getElementById("mb-signup"), hero = document.querySelector(".hero");
if (!btn || !signup || !("IntersectionObserver" in window)) return;
const seen = { hero: true, signup: false };
const update = () => { btn.hidden = seen.hero || seen.signup || form.hidden || form.querySelector("button").disabled; };
new IntersectionObserver((es) => { es.forEach((e) => { seen[e.target === hero ? "hero" : "signup"] = e.isIntersecting; }); update(); }).observe(hero);
new IntersectionObserver((es) => { es.forEach((e) => { seen.signup = e.isIntersecting; }); update(); }).observe(signup);
new MutationObserver(update).observe(form, { attributes: true, subtree: true, attributeFilter: ["hidden", "disabled"] });
})();
</script>
</body>
</html>