/* Education blockchain pages. Uses the site's colour variables from /styles.css */
.edu-wrap { max-width: 760px; margin: 0 auto; }
.edu-steps { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; }
.edu-steps li { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 1.1rem 1.3rem; }
.edu-steps strong { color: var(--orange); }
.edu-steps p { color: var(--text-muted); margin-top: 0.25rem; }

/* Art v2: interlocking 3D blocks. Live text over text-free SVGs, positioned in the art's own pixel coordinates (1x).
   Adjacent pieces overlap by 60px (tab + depth sit inside the next block's slot). No gaps, no connector images. */
.piece { --s: 0.45; position: relative; flex: none; text-align: center; font-family: 'Open Sans', 'Segoe UI', Arial, sans-serif; }
.piece-art { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; }
.piece > div { position: absolute; white-space: nowrap; margin: 0; }
.fp { display: flex; justify-content: center; align-items: center; width: calc(34px * var(--s)); height: calc(16px * var(--s)); min-height: 12px; font: 700 10px/12px ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace; letter-spacing: -0.8px; white-space: nowrap; }

/* desktop pieces (every size is scaled by --s; text never goes below its minimum px) */
.piece-fb.desktop { width: calc(460px * var(--s)); height: calc(476px * var(--s)); }
.piece-fb.desktop .pt { left: calc(32px * var(--s)); width: calc(336px * var(--s)); top: calc(304px * var(--s)); font: 600 max(12px, calc(28px * var(--s)))/max(14px, calc(34px * var(--s))) 'Poppins', sans-serif; }
.piece-fb.desktop .ps { left: calc(32px * var(--s)); width: calc(336px * var(--s)); top: calc(354px * var(--s)); font-size: max(10px, calc(16px * var(--s))); line-height: max(12px, calc(20px * var(--s))); }
.piece-fb.desktop .pm { left: calc(32px * var(--s)); width: calc(336px * var(--s)); top: calc(395px * var(--s)); font-size: max(10px, calc(14px * var(--s))); line-height: max(12px, calc(16px * var(--s))); }
.piece-fb.desktop .fp-tab { left: calc(407px * var(--s)); top: calc(236px * var(--s)); }
.piece-gb.desktop { width: calc(360px * var(--s)); height: calc(376px * var(--s)); }
.piece-wait.desktop { width: calc(316px * var(--s)); height: calc(376px * var(--s)); }
.piece-gb.desktop .gt { left: calc(44px * var(--s)); width: calc(212px * var(--s)); top: calc(144px * var(--s)); font: 600 max(11px, calc(22px * var(--s)))/max(13px, calc(26px * var(--s))) 'Poppins', sans-serif; white-space: normal; }
.piece-gb.desktop .gn { left: calc(50px * var(--s)); width: calc(200px * var(--s)); top: calc(217px * var(--s)); font-size: max(10px, calc(14px * var(--s))); line-height: max(12px, calc(18px * var(--s))); }
.piece-gb.desktop .gd { white-space: nowrap; left: calc(50px * var(--s)); width: calc(200px * var(--s)); top: max(calc(239px * var(--s)), calc(217px * var(--s) + 12px)); font-size: max(10px, calc(14px * var(--s))); line-height: max(12px, calc(18px * var(--s))); }
.piece-gb.desktop .gl { left: calc(44px * var(--s)); width: calc(212px * var(--s)); top: max(calc(297px * var(--s)), calc(217px * var(--s) + 26px)); font-size: max(10px, calc(13px * var(--s))); line-height: max(12px, calc(16px * var(--s))); color: #E77B05; }
.piece-gb.desktop .fp-tab { left: calc(307px * var(--s)); top: calc(236px * var(--s)); }
.piece-gb.desktop .fp-slot, .piece-wait.desktop .fp-slot { left: calc(5px * var(--s)); top: calc(276px * var(--s)); width: calc(48px * var(--s)); min-width: 26px; }
.chain-desktop > * + * { margin-left: calc(-60px * var(--s)); }

/* mobile pieces */
.piece-fb.mobile { width: calc(342px * var(--s)); height: calc(330px * var(--s)); }
.piece-fb.mobile .pt { left: calc(13px * var(--s)); width: calc(300px * var(--s)); top: calc(193px * var(--s)); font: 600 max(12px, calc(24px * var(--s)))/max(14px, calc(28px * var(--s))) 'Poppins', sans-serif; }
.piece-fb.mobile .ps { left: calc(13px * var(--s)); width: calc(300px * var(--s)); top: calc(225px * var(--s)); font-size: max(10px, calc(14px * var(--s))); line-height: max(12px, calc(18px * var(--s))); }
.piece-fb.mobile .pm { left: calc(13px * var(--s)); width: calc(300px * var(--s)); top: calc(250px * var(--s)); font-size: max(10px, calc(13px * var(--s))); line-height: max(12px, calc(16px * var(--s))); }
.piece-fb.mobile .fp-tab { left: calc(146px * var(--s)); top: calc(303px * var(--s)); }
.piece-gb.mobile { width: calc(342px * var(--s)); height: calc(260px * var(--s)); }
.piece-wait.mobile { width: calc(342px * var(--s)); height: calc(216px * var(--s)); }
.piece-gb.mobile .gt { left: calc(108px * var(--s)); width: calc(206px * var(--s)); top: calc(90px * var(--s)); font: 600 max(11px, calc(20px * var(--s)))/max(13px, calc(24px * var(--s))) 'Poppins', sans-serif; text-align: left; white-space: normal; }
.piece-gb.mobile .gn { left: calc(108px * var(--s)); width: calc(206px * var(--s)); top: calc(143px * var(--s)); font-size: max(10px, calc(14px * var(--s))); line-height: max(12px, calc(18px * var(--s))); text-align: left; }
.piece-gb.mobile .gd { left: calc(108px * var(--s)); width: calc(206px * var(--s)); top: max(calc(163px * var(--s)), calc(143px * var(--s) + 12px)); font-size: max(10px, calc(14px * var(--s))); line-height: max(12px, calc(18px * var(--s))); text-align: left; white-space: normal; }
.piece-gb.mobile .gl { left: calc(108px * var(--s)); width: calc(206px * var(--s)); top: max(calc(188px * var(--s)), calc(143px * var(--s) + 26px)); font-size: max(10px, calc(13px * var(--s))); line-height: max(12px, calc(16px * var(--s))); text-align: left; color: #E77B05; }
.piece-gb.mobile .fp-slot, .piece-wait.mobile .fp-slot { left: calc(146px * var(--s)); top: calc(68px * var(--s)); }
.piece-gb.mobile .fp-tab { left: calc(146px * var(--s)); top: calc(233px * var(--s)); }
.chain-mobile > * + * { margin-top: calc(-60px * var(--s)); }

/* colours */
.piece-fb.is-locked .pt { color: #222; } .piece-fb.is-locked .ps, .piece-fb.is-locked .pm { color: #6E6E6E; }
.piece-fb.is-earned .pt { color: #fff; } .piece-fb.is-earned .ps, .piece-fb.is-earned .pm { color: #FFE8C8; }
.piece-fb.is-locked .fp-tab { color: #6E6E6E; } .piece-fb.is-earned .fp-tab { color: #FFF6EA; }
.piece-gb .gt, .piece-gb .fp { color: #222; } .piece-gb .gn, .piece-gb .gd { color: #6E6E6E; }
.piece-wait .fp { color: #F3C99B; }

.start-block { display: block; width: max-content; max-width: 100%; margin: 1.5rem auto 0; border-radius: 22px; text-decoration: none; transition: transform .15s ease; }
.start-block:hover, .start-block:focus-visible { transform: translateY(-3px); text-decoration: none; }
.start-cta { display: inline-flex; margin-top: 1.1rem; align-items: center; justify-content: center; padding: 0.9rem 1.7rem; border-radius: 10px; font-weight: 600; background: var(--orange); color: var(--black); border: 1px solid var(--orange); font-family: inherit; line-height: 1.2; }
.start-sub { display: block; margin-top: 0.7rem; color: var(--text-muted); font-size: 0.95rem; }
.start-block { text-align: center; }
.start-mobile, .chain-row.chain-mobile { display: none; }
.start-desktop .piece, .start-mobile .piece { margin: 0 auto; }

.chain { margin-top: 1.5rem; }
.chain-row { display: flex; }
.chain-desktop { flex-direction: row; align-items: flex-start; overflow-x: auto; padding: 0.5rem 0 1rem; width: max-content; max-width: 100%; margin: 0 auto; }
.chain-mobile { flex-direction: column; align-items: center; }
.chain-empty { text-align: center; color: var(--text-muted); }
.chain-note { text-align: center; color: var(--text-muted); font-size: 0.95rem; margin-top: 1rem; }
.chain-caption { max-width: 620px; margin: 1rem auto 0; text-align: center; color: var(--text); font-size: 1rem; }

@media (max-width: 860px) {
  .start-desktop, .chain-row.chain-desktop { display: none; }
  .start-mobile { display: block; }
  .chain-row.chain-mobile { display: flex; }
}
@media (max-width: 370px) { .start-mobile, .chain-mobile { zoom: 0.9; } }

.quiz-q { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 1.2rem 1.3rem; margin: 0 0 1.1rem; }
.quiz-q legend { font-weight: 600; padding: 0 0.3rem; }
.quiz-q .qnum { color: var(--orange); }
.quiz-opt { display: flex; gap: 0.6rem; align-items: flex-start; padding: 0.55rem 0.6rem; margin-top: 0.4rem; border: 1px solid var(--border); border-radius: 10px; cursor: pointer; }
.quiz-opt:hover { border-color: var(--orange); }
.quiz-opt input { margin-top: 0.3rem; accent-color: var(--orange); }
.quiz-q.is-right { border-color: #3a8f4f; }
.quiz-q.is-wrong { border-color: #b3402f; }
.quiz-opt.is-correct { border-color: #3a8f4f; }
.quiz-opt.is-picked-wrong { border-color: #b3402f; }
.quiz-why { margin-top: 0.8rem; color: var(--text-muted); font-size: 0.95rem; }
.quiz-result { background: var(--card); border: 2px solid var(--orange); border-radius: 16px; padding: 1.4rem; text-align: center; margin: 1.5rem 0; }
.quiz-result h2 { margin-bottom: 0.4rem; }
.quiz-error { color: #e0705f; margin: 0.5rem 0 1rem; }
.quiz-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; justify-content: center; margin-top: 1rem; }
.edu-center { text-align: center; }

/* sizes: big start block about half, chain blocks smaller. Desktop vs mobile scales. */
.start-block .piece-fb.desktop { --s: 0.5; }
.start-block .piece-fb.mobile { --s: 0.55; }
.chain .chain-desktop .piece { --s: 0.5; }
.chain .chain-mobile .piece { --s: 0.5; }
.chain-desktop { padding: 0.25rem 0 0.5rem; }
.chain-desktop, .chain-mobile { margin-top: 0; }
.chain { margin-top: 1rem; }
.start-block { margin-top: 1rem; }
.start-cta { margin-top: 0.8rem; }

/* /passed: compact top so the claim form sits above the fold */
.passed-top { padding: 1.5rem 1.5rem 0.5rem; max-width: 800px; margin: 0 auto; text-align: center; }
.passed-top h1 { font-size: 2rem; margin: 0.4rem 0 0; }
#claim { padding: 1rem 1.5rem 2rem; }
#claim .section-title { font-size: 1.5rem; margin-bottom: 0.3rem; }
#claim .section-subtitle { margin-bottom: 1rem; }
#claim .waitlist-form { padding: 1.25rem 1.5rem; }
#passed-body { padding: 1.5rem 1.5rem 1rem; }
@media (max-width: 600px) { .passed-top { padding: 1rem 1.25rem 0.25rem; } .passed-top h1 { font-size: 1.6rem; } #claim { padding: 0.75rem 1.25rem 1.5rem; } #claim .waitlist-form { padding: 1rem; } #claim .form-intro { font-size: 0.9rem; } }

#tally-claim { display: block; width: 100%; border: 0; min-height: 200px; background: transparent; }
.claim-form .join-note { margin-top: 0.85rem; color: var(--text-muted); font-size: 0.95rem; text-align: left; }
