@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap";:root{--bg:#101614;--panel:#171e1b;--line:#303b33;--muted:#92a095;--cream:#eed;--lime:#d1ed88}*{box-sizing:border-box}body{background:var(--bg);color:var(--cream);margin:0;font-family:DM Sans,sans-serif;font-size:14px}button,a,input{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;color:inherit;background:0 0;border:0}:is(button:focus-visible,a:focus-visible,input:focus-visible){outline:2px solid var(--lime);outline-offset:5px}main{max-width:1512px;margin:auto;padding:0 5.3%}header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;height:99px;display:flex}.brand{color:var(--cream);letter-spacing:1.5px;align-items:center;gap:13px;font-family:Space Grotesk,sans-serif;font-size:18px;font-weight:600;text-decoration:none;display:flex}.brandmark{background:var(--lime);color:var(--bg);letter-spacing:0;border-radius:50%;place-items:center;width:38px;height:38px;font-size:27px;display:grid}.brandtag{color:var(--muted);border-left:1px solid var(--line);letter-spacing:2px;margin-left:5px;padding-left:17px;font:9px monospace}.sound{border:1px solid var(--line);border-radius:25px;align-items:center;gap:10px;padding:11px 16px;font-size:12px;display:flex}.sound span{color:var(--lime);font-size:17px}.intro{justify-content:space-between;align-items:center;padding:49px 0 43px;display:flex}.eyebrow,.label{letter-spacing:1.7px;color:var(--muted);font:10px monospace}.status-dot,.tiny-led{background:var(--lime);border-radius:50%;width:6px;height:6px;margin-right:8px;display:inline-block}.intro h1{letter-spacing:-3px;margin:16px 0 12px;font-family:Space Grotesk,sans-serif;font-size:clamp(42px,4.7vw,68px);font-weight:500;line-height:1.08}.intro h1 em{color:var(--lime);font-family:Georgia,serif;font-weight:400}.intro p{color:var(--muted);margin:0;font-size:15px}.intro-note{letter-spacing:1.4px;color:#c9cebd;padding-top:20px;font:10px/1.9 monospace}.intro-note span{color:var(--muted)}.intro-note div{color:var(--lime);letter-spacing:3px;margin-top:10px;font-size:22px}.toolbar{justify-content:space-between;align-items:center;margin-bottom:22px;display:flex}.tabs{border:1px solid var(--line);background:#1b231e;border-radius:9px;gap:5px;padding:5px;display:flex}.tabs button{color:var(--muted);border-radius:5px;padding:12px 22px;font-size:13px}.tabs button span{opacity:.6;margin-right:10px;font:10px monospace}.tabs button.selected{background:var(--lime);color:var(--bg);font-weight:700}.toolbar-note{letter-spacing:1.3px;color:var(--muted);font:9px monospace}.workspace{grid-template-columns:1.5fr 1fr;gap:20px;display:grid}.panel{border:1px solid var(--line);background:var(--panel);border-radius:12px;overflow:hidden}.decoder{background:radial-gradient(#202b20 0,#171e1b 70%);flex-direction:column;padding:25px 26px 0;display:flex}.panel-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.panel-heading h2{margin:0;font-size:15px;font-weight:500}.panel-heading>span{letter-spacing:1px;color:var(--muted);font:9px monospace}.panel-heading i{background:var(--lime);border-radius:50%;width:5px;height:5px;margin-right:6px;display:inline-block}.panel-copy{color:var(--muted);margin:10px 0 0;font-size:12px}.tree-legend{letter-spacing:1.5px;color:var(--muted);justify-content:center;gap:55px;margin:34px 0 12px;font:10px monospace;display:flex}.tree-wrap{flex:1;align-items:center;padding-bottom:14px;display:flex}.tree-wrap svg{width:100%;overflow:visible}svg path{stroke:#465243;stroke-width:1.5px;fill:none}svg path.lit{stroke:var(--lime);stroke-width:3px}svg .node circle{fill:#1b251d;stroke:#64705a;stroke-width:1.3px}svg text{fill:#d7ddca;text-anchor:middle;font:15px Space Grotesk,sans-serif}.node.visited circle{stroke:var(--lime);fill:#3c4c2a}.node.current circle{fill:var(--lime);stroke:var(--lime);filter:drop-shadow(0 0 9px #c8ed8255)}.node.current text{fill:#101614}.tree-footer{border-top:1px solid var(--line);letter-spacing:.8px;min-height:47px;color:var(--muted);align-items:center;margin-top:auto;font:9px monospace;display:flex}.tree-footer>span:last-child{margin-left:auto;font-size:8px}.key-panel{padding:25px}.free-description,.challenge{min-height:122px;padding:22px 0 14px}.free-description p{letter-spacing:-.5px;margin:12px 0 0;font-family:Space Grotesk,sans-serif;font-size:25px;line-height:1.3}.free-description p span{color:var(--lime)}.readout{overflow-wrap:anywhere;background:#101713;border:1px solid #344033;border-radius:7px;min-height:107px;margin:14px 0 18px;padding:14px 16px}.label{font-size:9px}.message{letter-spacing:3px;white-space:pre-wrap;min-height:30px;margin-top:8px;font-family:Space Grotesk,sans-serif;font-size:23px}.message.placeholder{color:#667467;letter-spacing:0;padding-top:7px;font:13px DM Sans,sans-serif}.cursor{background:var(--lime);width:2px;height:16px;margin-left:5px;animation:1.2s steps(2,end) infinite blink;display:inline-block}.signals{color:#788770;letter-spacing:2px;flex-wrap:wrap;gap:12px;min-height:22px;margin-top:6px;font:18px monospace;display:flex}.signals strong{color:var(--lime)}.key{background:var(--lime);color:#23311d;touch-action:none;-webkit-user-select:none;user-select:none;border:1px solid #d7f399;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;width:100%;min-height:137px;transition:background .1s,transform .1s,box-shadow .1s;display:flex;box-shadow:0 5px #80974f}.key.pressed{background:#ebffb4;transform:translateY(4px);box-shadow:0 1px #80974f}.key-symbol{letter-spacing:8px;margin-bottom:9px;font:35px/1 monospace}.key b{letter-spacing:2px;font-size:11px}.key>span:last-child{color:#516239;margin-top:9px;font-size:11px}kbd{border:1px solid #7d9452;border-radius:3px;margin-left:3px;padding:1px 5px;font:10px monospace}.key-actions{color:var(--muted);justify-content:space-between;align-items:center;gap:10px;margin-top:23px;font-size:11px;display:flex}.key-actions button{padding:4px 0}.key-actions .accent{color:var(--lime)}.target{letter-spacing:7px;color:var(--lime);margin:6px 0;font-family:Space Grotesk,sans-serif;font-size:37px}.hint{color:var(--muted);padding:0;font-size:11px}.hint span{margin-left:8px}.hint-code{gap:15px;margin-top:12px;font:10px monospace;display:flex}.hint-code span{flex-direction:column;gap:5px;display:flex}.hint-code b{color:var(--lime);font-size:17px;font-weight:400}.feedback{color:var(--muted);justify-content:space-between;gap:10px;margin-top:17px;font-size:11px;line-height:1.5;display:flex}.feedback.success{color:var(--lime)}.feedback.retry{color:#ffc89d}.feedback button{color:var(--cream);white-space:nowrap;padding:0}.bottom-row{border-top:1px solid var(--line);border-bottom:1px solid var(--line);grid-template-columns:1fr 1.08fr;gap:35px;margin-top:30px;padding:26px 0;display:grid}.timing{justify-content:space-between;align-items:center;gap:18px;display:flex}.timing h3{margin:0 0 7px;font-size:13px;font-weight:500}.timing p{color:var(--muted);max-width:210px;margin:0;font-size:10px;line-height:1.5}.timing label{align-items:center;gap:13px;display:flex}.timing input{width:100px;accent-color:var(--lime);cursor:pointer;height:3px}.timing b{white-space:nowrap;font:16px Space Grotesk,sans-serif}.timing b span{color:var(--muted);font:9px monospace}.rhythm{border-left:1px solid var(--line);justify-content:space-between;gap:15px;padding-left:30px;display:flex}.rhythm>div{grid-template-columns:20px 1fr;align-content:center;gap:5px 8px;display:grid}.rhythm>div>span{color:var(--lime);grid-row:span 2;font:24px/1 monospace}.rhythm b{font-size:10px;font-weight:500}.rhythm small{color:var(--muted);white-space:nowrap;font-size:9px}.reference{margin-top:13px}.reference-toggle{letter-spacing:1px;justify-content:space-between;align-items:center;width:100%;padding:21px 0;font:10px monospace;display:flex}.reference-toggle small{color:var(--muted);letter-spacing:0;margin-left:20px;font:11px DM Sans,sans-serif}.reference-toggle>span:last-child{color:var(--muted);font-size:22px}.alphabet{grid-template-columns:repeat(9,1fr);gap:10px;padding-bottom:24px;display:grid}.alphabet>div{background:var(--panel);border:1px solid var(--line);border-radius:4px;justify-content:space-between;gap:7px;padding:12px;display:flex}.alphabet b{font-size:12px}.alphabet span{color:var(--lime);font:14px monospace}footer{border-top:1px solid var(--line);letter-spacing:1px;color:#6f7e72;justify-content:space-between;padding:26px 0 30px;font:9px monospace;display:flex}footer span:nth-child(2){letter-spacing:0;color:var(--muted);font:11px Georgia,serif}@keyframes blink{50%{opacity:0}}@media (min-width:1500px){main{padding:0 80px}}@media (max-width:1050px){main{padding:0 4%}.workspace{grid-template-columns:1.2fr 1fr}.decoder{padding:23px 15px 0}.key-panel{padding:23px 20px}.bottom-row{grid-template-columns:1fr}.rhythm{border:0;justify-content:space-around;padding:0}.timing p{max-width:none}.timing input{width:180px}.alphabet{grid-template-columns:repeat(6,1fr)}}@media (max-width:720px){header{height:78px}.brand{gap:8px;font-size:14px}.brandtag,.intro-note,.toolbar-note{display:none}.brandmark{width:32px;height:32px}.sound{padding:9px 12px;font-size:11px}.intro{padding:32px 0}.intro h1{letter-spacing:-2px;font-size:46px}.intro p{max-width:270px;font-size:13px;line-height:1.5}.eyebrow{letter-spacing:1px;font-size:8px}.toolbar{margin-bottom:17px}.tabs{width:100%}.tabs button{flex:1;padding:12px 8px}.workspace{flex-direction:column;gap:17px;display:flex}.decoder{order:2;padding:20px 15px 0}.key-panel{order:1;padding:20px}.free-description{min-height:100px;padding-top:18px}.free-description p{font-size:23px}.readout{margin-top:7px}.tree-legend{margin-top:24px}.tree-wrap{min-height:190px}.tree-footer>span:last-child{letter-spacing:0;font-size:7px}.bottom-row{gap:25px;margin-top:24px;padding:23px 0}.timing{gap:12px}.timing input{width:80px}.timing p{max-width:180px;font-size:10px}.rhythm{justify-content:space-between;gap:8px}.rhythm>div{flex-direction:column;gap:6px;display:flex}.rhythm b{font-size:10px}.rhythm small{font-size:8px}.rhythm>div>span{font-size:23px}.reference-toggle small{display:none}.alphabet{grid-template-columns:repeat(4,1fr);gap:6px}.alphabet>div{padding:9px}footer{font-size:8px}footer span:nth-child(2){display:none}}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}svg text{font-size:25px}.direct-keys{grid-template-columns:1fr 1fr 1.35fr;gap:8px;margin-top:19px;display:grid}.direct-keys button{min-height:44px;color:var(--lime);background:#202a20;border:1px solid #536348;border-radius:6px;justify-content:center;align-items:center;gap:7px;font-size:18px;display:flex}.direct-keys b{color:var(--cream);font-size:11px;font-weight:500}.direct-keys button:last-child{color:var(--cream);font-size:11px}.direct-keys kbd{color:var(--muted);font-size:10px}.direct-keys button:active{background:#384a29}.key-actions{margin-top:16px}
