@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=DM+Serif+Display:ital@0;1&display=swap');
:root{color-scheme:light;--ink:#213b37;--sub:#60746c;--accent:#dc6c44;--paper:#faf8f0;--line:#dce2d6}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',sans-serif}main{max-width:1000px;margin:auto;padding:30px 44px}header{display:flex;align-items:center;justify-content:space-between}.brand{font-size:23px;font-weight:700;letter-spacing:-1px;text-decoration:none;color:inherit;display:flex;gap:10px;align-items:center}.brandmark{display:grid;place-items:center;width:38px;height:38px;background:var(--ink);color:var(--paper);border-radius:13px;font-size:27px}.tag,.eyebrow{font-size:11px;font-weight:700;letter-spacing:1.7px}.tag{color:var(--sub)}.intro{margin:55px 0 32px}.intro .eyebrow{color:var(--accent)}h1{font-family:'DM Serif Display',serif;font-weight:400;font-size:clamp(43px,6vw,70px);letter-spacing:-2px;line-height:1.05;margin:15px 0 20px}h1 em{font-weight:400;color:var(--accent)}.intro>p:last-child{color:var(--sub);line-height:1.6;font-size:16px}.studio{border:1px solid var(--line);border-radius:22px;padding:28px;background:#fffef9;box-shadow:0 12px 50px #213b3707}.song-top{display:flex;align-items:center;justify-content:space-between;gap:15px}.song-top .eyebrow{color:var(--accent);margin:0 0 8px}h2{margin:0;font-size:24px;letter-spacing:-.7px}.song-meta{color:var(--sub);font-size:12px}.arrangement{margin:28px 0 10px;position:relative}.track{display:flex;align-items:center;gap:14px;margin:10px 0}.track>span{width:47px;font-size:11px;color:var(--sub)}.lane{position:relative;flex:1;height:34px;border-radius:5px;background:repeating-linear-gradient(to right,#e9ede480 0,#e9ede480 calc(25% - 1px),#dce2d6 calc(25% - 1px),#dce2d6 25%);overflow:hidden}.note{position:absolute;min-width:3px;border-radius:3px;background:var(--accent);opacity:.8}.track:nth-child(2) .note{background:#87a787}.track:nth-child(3) .note{background:#d0b574}.cursor{position:absolute;top:0;bottom:0;width:2px;background:var(--ink);pointer-events:none}.timeline{display:flex;justify-content:space-between;color:var(--sub);font-size:11px;font-variant-numeric:tabular-nums;margin-left:61px}.controls{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin:26px 0}button{font:inherit;cursor:pointer;border:1px solid var(--line);border-radius:9px;padding:11px 14px;background:transparent;color:var(--ink);font-size:13px;min-height:42px}button:hover{background:#edf1e7}button:focus-visible,input:focus-visible{outline:3px solid #dc6c4480;outline-offset:3px}.play{background:var(--ink);color:white;border-color:var(--ink);min-width:145px}.play:hover{background:#35564c}.modes{display:flex;background:#eef1e9;border-radius:10px;padding:3px}.modes button{border:none;min-height:36px;padding:8px 12px}.modes button[aria-pressed=true]{background:white;box-shadow:0 1px 4px #213b3715}.volume{margin-left:auto;display:flex;gap:9px;align-items:center;font-size:11px;color:var(--sub)}input[type=range]{width:75px;accent-color:var(--ink)}.seed-row{display:flex;gap:8px;align-items:center;border-top:1px solid var(--line);padding-top:20px}.seed-row label{font-size:12px;color:var(--sub);margin-right:3px}.seed-row input{min-width:0;flex:1;max-width:200px;width:100%;font:inherit;font-size:14px;border:1px solid var(--line);border-radius:9px;background:var(--paper);padding:11px}.random{background:#f8e4d6;border-color:#f8e4d6}.random:hover{background:#f2d4bf}#status{font-size:11px;color:var(--sub);margin:14px 0 0}.keyboard-section{margin:34px 0 0}.keyboard-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.keyboard-heading h2{font-size:17px}.keyboard-heading p,.footnote{font-size:11px;color:var(--sub)}.keyboard{display:flex;position:relative;height:125px;gap:4px;margin-top:18px}.key{flex:1;border:1px solid #d4dbd0;border-bottom:5px solid #d4dbd0;background:#fffef9;border-radius:0 0 9px 9px;display:flex;align-items:end;justify-content:center;color:var(--sub);padding-bottom:12px;font-size:12px;transition:background .08s}.key.active,.key:active{background:#f6ceae;border-bottom-width:2px}.key.black-placeholder:after{content:'';position:absolute;top:0;margin-left:12.5%;width:6.7%;height:67px;background:var(--ink);border-radius:0 0 5px 5px;pointer-events:none}.key.active{color:var(--ink)}.footnote{margin-top:12px}footer{border-top:1px solid var(--line);margin-top:35px;padding:20px 0 5px;display:flex;gap:14px;justify-content:space-between;font-size:10px;color:var(--sub)}@media(max-width:650px){main{padding:22px 18px}.intro{margin:37px 0 26px}.tag{font-size:9px;letter-spacing:1px}.studio{padding:20px 16px}.song-top{align-items:start}.song-meta{max-width:85px;text-align:right;line-height:1.6}.controls{gap:10px}.play{min-width:130px}.volume{width:100%;margin:2px 0 0;justify-content:end}.seed-row{flex-wrap:wrap}.seed-row input{max-width:none;flex-basis:calc(100% - 100px)}.seed-row .random{flex:1}#copy{flex:1}.keyboard-heading{display:block}.keyboard{height:110px;gap:3px}.key.black-placeholder:after{height:59px}.keyboard-heading p{margin:7px 0}footer{flex-direction:column;gap:7px}.desktop{display:none}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
.key{padding-left:0;padding-right:0;min-width:0}

.ensemble{font-size:12px;color:var(--sub);line-height:1.6;margin:12px 0 0}.track:nth-child(4) .note{background:#9390b6}.track:nth-child(5) .note{background:#c190a0}.track:nth-child(6) .note{background:#b8a77c}

.studies{margin:0 0 24px}.study-picks{display:flex;flex-wrap:wrap;gap:8px}.study-picks button[aria-pressed=true]{background:var(--ink);color:white}#comparison{margin-top:16px}#comparison .modes{display:inline-flex}#study-description{font-size:14px;color:var(--sub);line-height:1.6}.timeline{gap:12px}#chords{text-align:center;line-height:1.6;flex:1}.section-labels{display:flex;justify-content:space-between;font-size:10px;color:var(--sub);margin:18px 0 0;gap:6px}@media(max-width:650px){.study-picks button{flex:1 1 140px}.section-labels{font-size:9px}}

.expression{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--sub);white-space:nowrap}.expression input{accent-color:var(--ink);width:16px;height:16px;margin:0}.controls{flex-wrap:wrap}
#animal-scene{height:300px;position:relative;overflow:hidden;border-radius:20px 20px 0 0;margin-top:20px;background:#e3ecd9}#animal-scene canvas{display:block;width:100%;height:100%;touch-action:pan-y}#animal-status{position:absolute;bottom:8px;left:12px;right:12px;font-size:12px;color:#29483d;pointer-events:none}.key{touch-action:none;user-select:none}.key.held{background:#e9bca2}@media(max-width:650px){#animal-scene{height:240px}}
