@layer reset,base,layout,components,tools,responsive;
@layer reset{
 *,*::before,*::after{box-sizing:border-box}body,h1,h2,h3,p,ul,ol,figure{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}img,svg{vertical-align:middle}button{cursor:pointer}a{color:inherit;text-decoration:none}button:disabled{cursor:not-allowed}button[hidden],[hidden]{display:none!important}ul,ol{padding:0}button{border:0}summary{cursor:pointer;list-style:none}summary::-webkit-details-marker{display:none}
}
@layer base{
 :root{--ink:#252638;--muted:#585b6a;--paper:#f8f8f5;--white:#fff;--purple:#6551c8;--purple-dark:#5240ae;--lavender:#e7e1fb;--mint:#e2eee6;--peach:#f7e3d7;--sky:#e1edf7;--yellow:#f3eccd;--line:#dedee6;--ease:cubic-bezier(.22,1,.36,1);--motion:350ms;--reveal:550ms;color-scheme:light;font-family:Inter,"Aptos","Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
 body{font-size:16px;line-height:1.65;-webkit-font-smoothing:antialiased}h1,h2,h3{font-weight:720;line-height:1.18;letter-spacing:-.035em}h1{font-size:clamp(35px,4.5vw,56px)}h2{font-size:clamp(27px,3vw,37px)}h3{font-size:22px}p{color:var(--muted)}button,a,summary,input,select{transition:color var(--motion) var(--ease),background-color var(--motion) var(--ease),border-color var(--motion) var(--ease),box-shadow var(--motion) var(--ease)}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #6551c8;outline-offset:4px}button:disabled{background:#ececf2!important;color:#5c5b69!important;border-color:#c9c9d2!important;opacity:1}input,select{max-width:100%;background:#fff;color:var(--ink);border:1px solid #a9a8b9;border-radius:10px;min-height:46px;padding:10px 13px}select{appearance:none;padding-right:42px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23252638' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center}input[type=range]{accent-color:var(--purple);padding:0;min-height:30px}input[type=checkbox],input[type=radio]{accent-color:var(--purple);min-height:auto;width:18px;height:18px}input[aria-invalid=true]{border:2px solid #b22f43;background:#fff4f4}button{background:transparent;color:var(--ink)}.icon{width:28px;height:28px;flex-shrink:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:8px;left:16px;transform:translateY(-160%);z-index:2147483640;background:var(--purple);color:#fff;padding:12px 20px;border-radius:8px}.skip-link:focus{transform:translateY(0)}.eyebrow{font-size:12px;font-weight:750;letter-spacing:.13em;line-height:1.5;text-transform:uppercase;color:#605588;margin-bottom:16px}.lead{font-size:19px;line-height:1.7;max-width:720px}.lavender{--tint:var(--lavender)}.mint{--tint:var(--mint)}.peach{--tint:var(--peach)}.sky{--tint:var(--sky)}.yellow{--tint:var(--yellow)}
}
@layer base{
 button.is-correct:disabled{background:#d9eddf!important;border-color:#84af92!important;color:#224c35!important}
}
@layer layout{
 .site-header{height:84px;position:sticky;top:0;z-index:100;background:#fdfdfc;border-bottom:1px solid #e8e8ed}.header-inner{max-width:1248px;padding:0 48px;height:100%;margin:auto;display:flex;align-items:center;gap:42px}.brand{display:inline-flex;align-items:center;gap:10px;font-size:28px;font-weight:800;line-height:1;letter-spacing:-.055em;flex-shrink:0;color:var(--ink)}.brand-dot{color:var(--purple)}.logo-mark{width:37px;height:37px;flex-shrink:0}.primary-nav{display:flex;gap:27px;align-items:center;margin-left:auto}.primary-nav a{position:relative;font-size:14px;font-weight:650;line-height:44px;white-space:nowrap;color:#585868}.primary-nav a:hover,.primary-nav a[aria-current=page]{color:var(--purple-dark)}.primary-nav a[aria-current=page]::after{content:"";position:absolute;bottom:0;height:3px;left:0;right:0;background:var(--purple);border-radius:3px}.header-utilities{display:flex;align-items:center;gap:12px}.language-switcher{position:relative}.language-switcher summary{display:flex;align-items:center;gap:6px;min-width:86px;min-height:44px;justify-content:center;font-size:13px;font-weight:700;border:1px solid var(--line);border-radius:12px;background:#fff}.language-switcher summary:hover{background:#f1eefb;border-color:#b2a6df}.language-switcher summary>.icon:first-child{width:18px;height:18px}.language-switcher summary>.icon:last-child{width:15px;height:15px}.language-panel{position:absolute;right:0;top:54px;background:#fff;width:228px;border:1px solid var(--line);padding:10px;border-radius:16px;box-shadow:0 16px 40px #22253616;z-index:110}.language-panel>p{font-size:13px;padding:5px 10px 8px}.language-options{display:flex;flex-direction:column}.language-options a{display:flex;align-items:center;justify-content:space-between;padding:10px;min-height:46px;font-size:15px;border-radius:8px;order:var(--language-order,1)}.language-options a[aria-current=true]{color:var(--purple-dark);background:#f0ecfc;font-weight:650}.language-options a:hover{background:#f2f0f8}.language-options .icon{height:18px;width:18px}.preferred-language{text-align:center;padding:9px 18px;font-size:14px;background:#efebfa;border-bottom:1px solid var(--line)}.preferred-language a{text-decoration:underline;text-underline-offset:3px;color:var(--purple-dark)}.site-main{max-width:1248px;padding:0 48px;margin:0 auto;outline:none}.site-footer{margin-top:96px;background:#eeedf3;border-top:1px solid #e1dfea}.footer-inner{max-width:1248px;padding:60px 48px 40px;margin:auto;display:grid;grid-template-columns:2.2fr 1fr 1fr 1.1fr;gap:48px}.footer-brand .brand{font-size:27px}.footer-brand>p{font-size:15px;max-width:290px;margin:19px 0 18px}.footer-tagline{font-size:13px;color:#645a7c}.footer-inner h2{font-size:14px;letter-spacing:0;font-weight:750;margin:5px 0 18px}.footer-inner>div:not(:first-child)>a{display:block;font-size:14px;margin-bottom:10px;line-height:1.5}.footer-inner a:hover{color:var(--purple-dark)}.footer-bottom{max-width:1152px;margin:auto;padding:22px 0 28px;border-top:1px solid #d5d3df;display:flex;justify-content:space-between;gap:24px;font-size:13px;color:#575767}.privacy-choices{font-size:14px;padding:0;text-align:left;line-height:1.5;text-decoration:underline;text-underline-offset:3px}.page-top{padding:38px 0 38px}.page-top h1{max-width:850px;margin-bottom:20px}.page-top .lead{max-width:750px}.breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:9px;font-size:13px;color:#606272;margin-bottom:35px}.breadcrumbs a:hover{color:var(--purple);text-decoration:underline;text-underline-offset:3px}.breadcrumbs>span:last-child{color:#353546}.section{padding:65px 0}.first-section{padding-top:0}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:50px;margin-bottom:32px}.section-heading>p{max-width:360px;font-size:16px;line-height:1.7}.section-heading h2{max-width:650px}.section-heading .eyebrow{margin-bottom:12px}.lesson-content{max-width:760px;margin:66px auto 0;font-size:17px;line-height:1.85}.lesson-content section{margin:0 0 36px}.lesson-content h2{font-size:25px;letter-spacing:-.025em;margin:0 0 13px}.lesson-content p+p{margin-top:18px}.lesson-content a{color:var(--purple-dark)}.article-top{max-width:800px;margin:0 auto;padding-top:38px}.article-top h1{font-size:48px}.article-date{font-size:13px;margin-top:22px}.guide-article{margin-top:12px}.policy-content{margin-top:8px}.note-convention{border-left:3px solid #a18de2;background:#efedf5;border-radius:0 12px 12px 0;padding:20px 24px;margin:32px 0;font-size:14px;line-height:1.8}.note-convention p+p{margin-top:10px}.note-convention p{color:#4b4c5f}.legal-details{font-size:16px;line-height:1.7}.legal-details dt{font-weight:700;margin-top:20px}.legal-details dd{margin:3px 0 0}.not-found{max-width:750px;margin:65px auto 80px;text-align:center}.not-found .lead{margin:20px auto 30px}.not-found .hero-actions{justify-content:center}.missing-art{height:130px;display:flex;gap:20px;align-items:center;justify-content:center;margin:0 0 30px;color:var(--purple)}.missing-art>.icon{width:90px;height:90px;transform:rotate(-12deg)}.missing-art>span{font-size:90px;font-weight:800;letter-spacing:-.06em;color:#dcd4f5}
}
@layer components{
 .button{display:inline-flex;min-height:50px;align-items:center;justify-content:center;gap:10px;background:var(--purple);color:#fff!important;font-size:15px;font-weight:700;border:1px solid var(--purple);border-radius:11px;padding:12px 23px;line-height:1.5;text-align:center}.button:hover{background:var(--purple-dark);border-color:var(--purple-dark);box-shadow:0 4px 12px #6551c81c}.button.secondary{background:#fff;color:var(--ink)!important;border-color:#c9c7d3}.button.secondary:hover{background:#f1edf9;border-color:#a99bd5}.button.ghost{background:transparent;color:var(--purple-dark)!important;border-color:transparent;padding-left:12px;padding-right:12px}.button.ghost:hover{background:#efebfb}.button.small{min-height:42px;padding:9px 15px;font-size:14px}.button .icon{width:20px;height:20px}.text-link{color:var(--purple-dark);font-size:14px;font-weight:700;text-decoration:underline;text-underline-offset:5px}.hero{position:relative;display:grid;grid-template-columns:1.15fr 1fr;align-items:center;gap:58px;padding:76px 0 78px}.hero-copy{position:relative;z-index:1}.hero h1{font-size:clamp(43px,5vw,65px);line-height:1.075;letter-spacing:-.05em;font-weight:750;margin-bottom:24px}.hero h1 em{font-family:Georgia,"Times New Roman",serif;font-weight:500;letter-spacing:-.045em;color:var(--purple);font-size:.99em;white-space:nowrap}.hero-intro{font-size:18px;line-height:1.8;max-width:470px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin:30px 0 20px}.hero-foot{display:flex;gap:7px;align-items:center;font-size:13px;line-height:1.5}.hero-foot>.icon{width:16px;height:16px;color:var(--purple)}.hero-studio{position:relative;padding:30px 31px 0;border-radius:24px;background:var(--lavender);box-shadow:0 13px 30px #3e306c08;overflow:hidden;transform:rotate(1.25deg)}.studio-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.mini-label{font-size:11px;font-weight:750;letter-spacing:.14em;color:#65568c}.session-symbol{background:#ffffff85;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;color:var(--purple)}.session-symbol .icon{width:20px;height:20px}.hero-studio h2{font-size:28px;margin-bottom:9px}.hero-studio>p{font-size:14px;color:#5e5674}.session-steps{list-style:none;margin:24px 0 13px;border-top:1px solid #c9bfdf}.session-steps li{display:flex;align-items:center;gap:12px;border-bottom:1px solid #c9bfdf;padding:12px 0;font-size:15px;font-weight:550}.session-steps li>span{font-size:11px;color:#716287;font-weight:650}.session-steps li>.icon{margin-left:auto;color:#716090;width:22px;height:22px}.session-time{font-size:12px!important;margin-bottom:25px}.sound-sketch{position:relative;background:#302d40;border-radius:15px 15px 0 0;margin:0 -12px;padding:20px 16px 17px;transform:rotate(-1.25deg);transform-origin:center bottom}.hero-keyboard{height:88px;display:flex;position:relative;gap:3px}.hero-white{flex:1;border-radius:3px 3px 5px 5px;background:#f5f4fa;border-bottom:4px solid #cfccd8;position:relative}.hero-white.lit{background:#cabbfc;border-color:#a695d8}.hero-white i{position:absolute;bottom:12px;left:calc(50% - 3px);height:6px;width:6px;border-radius:50%;background:#6551c8}.hero-black{position:absolute;top:0;left:calc((var(--key) + 1)*10% - 9px);width:18px;height:53px;background:#302d40;border-radius:0 0 3px 3px;border-bottom:3px solid #17151f}.demo-play{color:#f5f1ff;display:flex;align-items:center;justify-content:center;gap:6px;font-size:12px;width:100%;min-height:40px;margin-top:8px}.demo-play:hover{color:#d4c5ff}.demo-play .icon{width:20px;height:20px}.hero-spark{position:absolute;color:#f0bc72;font-size:65px;line-height:1;right:-16px;top:32px;transform:rotate(12deg);z-index:1}.tools-section{border-top:1px solid var(--line);padding-top:54px}.tool-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.tool-card{background:#fff;border:1px solid #e2e1e9;border-radius:17px;padding:27px 26px 22px;min-height:230px;position:relative;display:flex;align-items:flex-start;flex-direction:column;transition:background-color var(--motion) var(--ease),border-color var(--motion) var(--ease),box-shadow var(--motion) var(--ease),transform var(--motion) var(--ease)}.tool-card:hover{border-color:#b0a2d9;box-shadow:0 7px 24px #34304209;transform:translateY(-3px)}.tool-icon{display:inline-grid;place-items:center;background:var(--tint,var(--lavender));width:50px;height:50px;border-radius:13px;color:#433b5f;margin-bottom:20px}.tool-card h3{font-size:21px;margin-bottom:9px}.tool-card p{font-size:14px;line-height:1.65;margin-bottom:22px}.card-cta{font-size:12px;color:var(--purple-dark);font-weight:700;margin-top:auto}.tool-card:last-child:nth-child(3n+1){grid-column:1/-1;min-height:116px;display:grid;grid-template-columns:50px 1fr auto;column-gap:22px;align-items:center}.tool-card:last-child:nth-child(3n+1) .tool-icon{grid-row:1/3;margin:0}.tool-card:last-child:nth-child(3n+1) h3{grid-column:2;margin:0 0 5px}.tool-card:last-child:nth-child(3n+1) p{grid-column:2;margin:0}.tool-card:last-child:nth-child(3n+1) .card-cta{grid-column:3;grid-row:1/3;margin:0}.routine-section{display:grid;grid-template-columns:1.1fr 1fr;gap:70px;background:#eeedf5;border-radius:22px;padding:49px;margin:18px 0 15px}.routine-intro h2{max-width:340px;margin-bottom:18px}.routine-intro>p{font-size:15px;line-height:1.8;max-width:385px}.routine-intro>.button{margin-top:25px}.routine-drawing{display:inline-flex;color:var(--purple);margin-bottom:20px}.routine-drawing>.icon{width:47px;height:47px}.routine-steps{list-style:none;display:flex;flex-direction:column;justify-content:center;gap:30px}.routine-steps li{display:flex;gap:17px}.routine-steps li>span{width:29px;height:29px;flex-shrink:0;background:#ded8f0;display:grid;place-items:center;border-radius:50%;font-size:11px;font-weight:750;color:#65548c;margin-top:2px}.routine-steps h3{font-size:18px;letter-spacing:-.02em;margin-bottom:9px}.routine-steps p{font-size:14px;line-height:1.75}.routine-section.compact{align-items:center;grid-template-columns:1fr auto;gap:30px}.routine-section.compact h2{margin-bottom:12px}.routine-section.compact p{max-width:620px}.guide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.guide-card{display:flex;flex-direction:column;border-radius:14px;min-width:0}.guide-card h3{font-size:22px;margin:10px 0;line-height:1.3;max-width:300px;transition:color var(--motion) var(--ease)}.guide-card:hover h3{color:var(--purple-dark)}.guide-card>p{font-size:14px;margin:0 0 18px}.guide-art{height:162px;border-radius:14px;position:relative;display:grid;place-items:center;overflow:hidden;background:var(--tint);margin-bottom:20px}.guide-art>.icon{height:65px;width:65px;position:relative;z-index:1;transform:rotate(-8deg);color:#5d5475;transition:transform var(--motion) var(--ease)}.guide-card:hover .guide-art>.icon{transform:rotate(2deg)}.art-staff{position:absolute;inset:40px 18px;background:repeating-linear-gradient(transparent,transparent 18px,#69607312 19px,#69607312 20px);transform:rotate(-12deg)}.guide-meta{font-size:12px;color:#676575}.guide-card>.text-link{margin-top:auto}.progress-callout{display:flex;justify-content:space-between;gap:40px;align-items:center;border-top:1px solid var(--line);padding:43px 0 10px}.progress-callout>div>.icon{color:var(--purple);margin-bottom:17px}.progress-callout h2{font-size:28px;margin-bottom:10px}.progress-callout p{font-size:15px;max-width:590px}.progress-callout>.button{flex-shrink:0}.tool-heading{position:relative;padding-right:85px}.tool-heading>.tool-icon{position:absolute;right:0;top:5px;width:68px;height:68px}.tool-heading>.tool-icon>.icon{width:37px;height:37px}.tool-heading h1{font-size:48px;max-width:790px}.related-section{padding-bottom:0}.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.related-grid a{display:flex;align-items:center;gap:13px;min-height:80px;padding:20px;border:1px solid var(--line);background:#fff;border-radius:12px;font-size:15px;font-weight:650}.related-grid a:hover{background:#f0ecfb;border-color:#c5b6e4}.related-grid .icon{color:var(--purple);width:24px;height:24px}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:12px;margin-top:26px;background:#fff}table{border-collapse:collapse;width:100%;font-size:14px;line-height:1.6}caption{text-align:left;background:#eeebf6;padding:14px 18px;color:var(--ink);font-weight:700}th,td{text-align:left;padding:10px 18px;border-bottom:1px solid #e9e7ef}th{font-weight:650;color:#494052;background:#f8f7fc}tbody tr:last-child td{border-bottom:0}.article-practice{border:1px solid #d6cbea;border-radius:18px;padding:30px;background:#f1edf9;margin-top:38px}.article-practice .button{margin-top:22px}.article-practice .tool-icon{margin-bottom:17px}
}
@layer components{.hero-spark>.icon{width:65px;height:65px}}
@layer tools{
 .practice-panel{background:#fff;border:1px solid #d9d5e6;border-radius:20px;box-shadow:0 8px 32px #34275005;padding:32px;min-height:320px;scroll-margin-top:108px;position:relative}.app-loading{text-align:center;display:flex;min-height:265px;align-items:center;justify-content:center;flex-direction:column;gap:15px}.app-loading h2{font-size:25px}.app-loading p{font-size:15px}.loading-symbol{height:55px;width:55px;background:#efeafb;display:grid;place-items:center;border-radius:15px;color:var(--purple)}.tool-notes{display:flex;justify-content:space-between;gap:18px;font-size:12px;padding:18px 4px}.tool-notes p{font-size:12px}.tool-notes .icon{height:15px;width:15px;margin-right:5px;color:var(--purple)}.tool-controls{display:flex;flex-wrap:wrap;gap:17px;align-items:flex-end;border-bottom:1px solid var(--line);padding-bottom:24px;margin-bottom:26px}.field{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:600;min-width:120px}.field>label,.field>span{font-size:14px;color:#484858}.field select,.field input{font-weight:450}.field small{font-size:13px;font-weight:450;color:var(--muted)}.tool-stage{background:#f5f3fb;border-radius:15px;padding:28px;margin:22px 0;text-align:center;min-height:140px}.tool-stage h2{font-size:28px;margin-bottom:12px}.tool-stage h3{margin-bottom:12px}.tool-stage p{font-size:15px}.tool-stage>.button{margin-top:18px}.tool-stage .button+.button{margin-left:8px}.answer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:10px;margin:22px 0}.answer-button{border:1px solid #c6c2d5;border-radius:10px;min-height:52px;background:#fff;font-size:14px;font-weight:650;padding:12px;color:#393546}.answer-button:hover:not(:disabled){border-color:var(--purple);background:#f2edff}.answer-button.correct,.answer-button[data-result=correct]{background:#e4f3e9;border-color:#76a98c;color:#234c37}.answer-button.incorrect,.answer-button[data-result=incorrect]{background:#fae7e9;border-color:#c98a94;color:#833346}.tool-feedback{border-radius:12px;padding:17px 20px;background:#efedf8;border:1px solid #d8d1ed;font-size:15px;line-height:1.7;margin:20px 0;scroll-margin-top:112px}.tool-feedback:empty{display:none}.tool-feedback p{color:inherit}.tool-feedback[data-kind=success],.tool-feedback.success{background:#e9f5ee;color:#234c37;border-color:#b7d6c2}.tool-feedback[data-kind=error],.tool-feedback.error{background:#fbecef;color:#7d2d40;border-color:#dbb6bf}.tool-feedback:focus{outline:2px solid var(--purple);outline-offset:3px}.tool-score{display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:14px;color:#5f586e;margin:8px 0 20px}.tool-score strong{font-weight:750;color:var(--ink)}.pill{display:inline-flex;align-items:center;gap:6px;border-radius:100px;padding:5px 11px;font-size:12px;font-weight:650;background:#ede8fa;color:#5f4a95}.piano{position:relative;display:flex;gap:2px;height:190px;margin:24px auto;max-width:100%;overflow:hidden;padding:6px;border:7px solid #393448;background:#393448;border-radius:12px;isolation:isolate;user-select:none;touch-action:manipulation}.piano-key{position:relative;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:3px;border:1px solid #d3cfdf;flex:1;min-width:0;padding:0 0 14px;font-size:13px;font-weight:650;line-height:1.3;background:#fbfafd;color:#403b50;border-radius:0 0 6px 6px;box-shadow:inset 0 -4px 0 #dfdbe7;touch-action:manipulation}.piano-key small{font-size:10px;color:#716881;line-height:1.3}.piano-key.black{position:absolute;top:6px;z-index:2;width:4.15%;height:61%;background:#393448;border:1px solid #292437;color:#faf7ff;box-shadow:inset 0 -4px 0 #201c2c;border-radius:0 0 4px 4px;padding-bottom:10px}.piano-key.black small{color:#d8d1e8}.piano-key:hover,.piano-key.active,.piano-key[aria-pressed=true]{background:#d7c9ff;color:#443173;box-shadow:inset 0 -4px 0 #b19bde}.piano-key.black:hover,.piano-key.black.active,.piano-key.black[aria-pressed=true]{background:#7862b0;color:#fff;box-shadow:inset 0 -4px 0 #594589}.piano-key.highlight,.piano-key[data-highlight=true]{background:#d9ccfa;color:#443173}.piano-key.black.highlight,.piano-key.black[data-highlight=true]{background:#7862b0;color:#fff}.piano-key:focus-visible{outline:3px solid #b69bf5;outline-offset:-5px;z-index:3}.fretboard{overflow-x:auto;margin:24px 0;border:1px solid #d8cfbf;border-radius:12px;background:#f8f0e3;padding:10px;overscroll-behavior-x:contain}.fretboard table{min-width:650px;background:transparent;table-layout:fixed;text-align:center}.fretboard td,.fretboard th{border:0;padding:1px;text-align:center;position:relative}.fretboard th{background:transparent;font-size:12px;color:#70614e;height:28px}.fretboard td:not(:first-child)::before{content:"";position:absolute;height:1px;left:0;right:0;top:50%;background:#a79985;z-index:0}.fretboard td:not(:first-child){border-right:1px solid #b9ac98}.fret-cell{height:42px;min-width:34px;width:100%;position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:600;border:1px solid transparent;background:transparent;color:#5b4b36;border-radius:50%;padding:0}.fret-cell:hover,.fret-cell.active{background:#6551c8;color:#fff;border-color:#5945bc}.fret-cell.correct{background:#d8eddf;color:#254c36;border-color:#76a98c}.fret-cell.incorrect{background:#f5dadf;color:#7e2d40;border-color:#bd8390}.beat-row{display:flex;justify-content:center;align-items:center;gap:14px;margin:25px 0}.beat-dot{display:inline-grid;place-items:center;border:1px solid #b9afd3;background:#e7e0f5;color:#594a76;width:37px;height:37px;border-radius:50%;font-size:13px;font-weight:650;transition:background-color 80ms linear,transform 80ms linear}.beat-dot.active,.beat-dot[aria-current=true]{background:#6551c8;border-color:#6551c8;color:#fff;transform:scale(1.1)}.tap-pad{display:block;margin:22px auto;min-height:140px;width:min(100%,420px);border-radius:18px;background:#eee8fb;color:var(--purple-dark);border:2px solid #c2b3e5;font-size:26px;font-weight:750;touch-action:manipulation;user-select:none}.tap-pad:hover{background:#e4d9fb}.tap-pad:active{background:#d4c3f3;border-color:#7662b1}.tap-pad:disabled{background:#f1f0f5!important;border-color:#d4d1dd!important;color:#77717f!important}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:24px 0}.stat-card{background:#f2eff8;border:1px solid #e2dced;border-radius:13px;padding:22px}.stat-card strong{display:block;font-size:32px;line-height:1.2;letter-spacing:-.04em;color:var(--purple-dark);margin-bottom:10px}.stat-card span,.stat-card p{font-size:14px;color:#514b60}.empty-state{background:#f3f0fa;border:1px dashed #c7badf;border-radius:15px;padding:34px;text-align:center;margin:22px 0}.empty-state p{margin:12px auto;max-width:500px;font-size:15px}.progress-list{list-style:none;margin:25px 0}.progress-list li{display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid var(--line);padding:15px 0;font-size:14px}.progress-list small{font-size:12px;color:var(--muted)}.practice-steps{display:flex;gap:10px;flex-wrap:wrap;margin:22px 0;list-style:none}.practice-steps>li,.practice-steps>span{flex:1;min-width:100px;background:#f2eff8;border-radius:8px;padding:10px 13px;text-align:center;font-size:13px;color:#5c546c}.practice-steps .active,.practice-steps [aria-current=step]{background:#e4dbf7;color:#4d3b80;font-weight:650}.field-error{font-size:14px;color:#a22f44;margin-top:6px}.toolbar,.button-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.note-display{font-size:58px;line-height:1.2;color:var(--purple-dark);font-weight:750;letter-spacing:-.05em;margin:18px 0}.app-hint{font-size:14px;color:#5e586e;margin:16px 0}.interval-options{display:flex;gap:10px;flex-wrap:wrap}.interval-options label{display:flex;gap:6px;align-items:center;font-size:14px;min-height:40px}.tool-status{font-size:15px;min-height:26px;color:#65558d}.tool-stage output{font-size:38px;font-weight:750;color:var(--purple-dark);display:block;margin:15px 0}.tool-stage input[type=number]{max-width:115px;font-size:24px;text-align:center}.practice-panel>h2{font-size:25px;margin-bottom:14px}.practice-panel>p{margin:12px 0;font-size:15px}.practice-panel button,.practice-panel input{touch-action:manipulation}.practice-panel hr{border:0;border-top:1px solid var(--line);margin:24px 0}.rhythm-result{display:flex;gap:20px;justify-content:center;font-size:15px}.tool-controls fieldset{border:0;display:flex;gap:10px;align-items:center;flex-wrap:wrap;min-width:0;padding:0}.tool-controls legend{font-size:14px;font-weight:650;margin-bottom:8px}.practice-panel dialog{border:1px solid var(--line);border-radius:15px;padding:28px;max-width:min(440px,90vw);color:var(--ink);box-shadow:0 20px 70px #0003}.practice-panel dialog::backdrop{background:#25263866}.practice-panel dialog .button-row{margin-top:25px}.practice-panel code{font-family:ui-monospace,monospace;font-size:14px}
}
@layer tools{
 .tool-intro{font-size:15px;line-height:1.75;margin:12px 0 25px}.tool-note{font-size:14px;line-height:1.75;margin:16px 0;color:#5a5469}.tool-prompt{font-size:20px;font-weight:650;color:#443850;margin:8px 0 20px}.tool-score{font-size:14px}.check-field{flex-direction:row;align-items:center;gap:9px;min-height:46px;font-weight:500}.fret-scroll{border-radius:12px}.fretboard[role=group]{gap:0;padding:12px 6px;overflow:visible;background:#f4eadb}.fretboard[role=group]>.fret-cell{border-radius:0;border-right:2px solid #bdb1a1;min-width:0;background-image:linear-gradient(transparent 48%,#bcad9755 49%,#bcad9755 51%,transparent 52%);font-size:14px;height:44px}.fretboard[role=group]>.fret-cell:hover{background-color:#e4d5f3;color:#44345f}.fret-label{font-size:12px;display:flex;justify-content:center;align-items:center;color:#6f5c44;min-height:29px}.is-correct{background-color:#d9eddf!important;border-color:#84af92!important;color:#224c35!important}.piano-host{overflow-x:auto;overscroll-behavior-x:contain}.piano-key.selected{background:#d9ccfa;color:#443173}.piano-key.black.selected{background:#7862b0;color:#fff}.key-note{font-size:14px}.piano:has(button:nth-of-type(20)){min-width:540px}.practice-task{margin-top:20px}.practice-task>.tool-controls{margin-top:25px}.tool-notes p,.hero-foot{font-size:14px}.tool-notes{font-size:14px}.progress-list p{font-size:14px}.tool-status,.tool-feedback{min-height:24px}.progress-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:25px}
}
@layer tools{.piano-key.white:focus-visible{z-index:1}.piano-key.black:focus-visible{z-index:3}}
@layer responsive{
 @media(min-width:1000px){.site-header:has(details[open],.primary-nav[data-open=true]){z-index:2147483000}}
 @media(max-width:1100px){.header-inner,.site-main{padding-left:32px;padding-right:32px}.header-inner{gap:25px}.primary-nav{gap:19px}.hero{gap:36px}.hero h1{font-size:55px}.hero-studio{padding:25px 25px 0}.hero-intro{font-size:17px}.hero-actions .button{padding-left:18px;padding-right:18px}.footer-inner{padding-left:32px;padding-right:32px;gap:25px}.footer-bottom{margin:0 32px}.routine-section{padding:38px;gap:40px}}
 @media(max-width:900px){.header-inner{gap:17px}.brand{font-size:25px}.logo-mark{width:33px;height:33px}.primary-nav{gap:15px}.primary-nav a{font-size:13px}.header-utilities{margin-left:auto}.hero{gap:28px;padding:58px 0 58px}.hero h1{font-size:46px}.hero-intro{font-size:16px}.hero-actions{gap:9px}.hero-actions .button{font-size:14px;padding:11px 15px;min-height:47px}.hero-studio h2{font-size:24px}.session-steps li{font-size:13px}.session-time{font-size:11px!important}.hero-foot{font-size:12px}.hero-spark{right:-15px;font-size:48px;top:27px}.section-heading{gap:30px}.section-heading>p{max-width:310px;font-size:15px}.tool-card{padding:23px 21px}.tool-card h3{font-size:19px}.routine-section{gap:32px;padding:32px}.routine-steps h3{font-size:17px}.guide-card h3{font-size:20px}.guide-grid{gap:20px}.footer-inner{grid-template-columns:1.7fr 1fr 1fr;gap:30px}.footer-inner>div:last-child{grid-column:2/4}.tool-notes{flex-direction:column;gap:4px}.tool-heading h1{font-size:42px}.tool-heading>.tool-icon{width:56px;height:56px}.section{padding:50px 0}.first-section{padding-top:0}.practice-panel{padding:25px}.tool-controls{gap:13px}}
 @media(max-width:760px){.site-header{height:auto;min-height:72px}.header-inner{min-height:72px;padding:0 22px;flex-wrap:wrap;gap:0;justify-content:space-between}.brand{font-size:26px}.primary-nav{order:3;width:100%;margin:0;justify-content:space-between;gap:10px;border-top:1px solid var(--line);padding:7px 0 10px}.primary-nav a{font-size:13px}.header-utilities{margin-left:auto;gap:13px}.language-switcher summary{min-width:79px;border-radius:10px}.menu-toggle:not([hidden]){display:flex;flex-direction:column;gap:6px;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid var(--line);border-radius:10px}.menu-toggle span{display:block;width:18px;height:1.5px;background:var(--ink);transition:transform 350ms var(--ease)}.menu-toggle[aria-expanded=true] span:first-child{transform:translateY(3.75px) rotate(45deg)}.menu-toggle[aria-expanded=true] span:last-child{transform:translateY(-3.75px) rotate(-45deg)}.js .primary-nav{position:absolute;left:0;right:0;top:71px;background:#fdfdfc;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;padding:14px 22px 18px;border-bottom:1px solid var(--line);box-shadow:0 16px 25px #29223c0d;gap:0;opacity:0;transform:translateY(-7px);visibility:hidden;transition:opacity var(--reveal) var(--ease),transform var(--reveal) var(--ease),visibility var(--reveal)}.js .primary-nav a{padding:5px 15px;font-size:16px;line-height:36px;border-radius:8px}.js .primary-nav a[aria-current=page]{background:#efebfa}.js .primary-nav a[aria-current=page]::after{display:none}.js .primary-nav[data-open=true]{opacity:1;transform:translateY(0);visibility:visible}.site-header:has(details[open],.primary-nav[data-open=true]){z-index:2147483000}.language-panel{right:-57px;top:53px}.site-main{padding:0 22px}.hero{grid-template-columns:1fr;gap:38px;padding:44px 0 45px}.hero-copy{max-width:600px}.hero h1{font-size:clamp(44px,7.5vw,61px);max-width:600px}.hero-intro{font-size:17px;max-width:550px}.hero .eyebrow{font-size:11px;margin-bottom:16px}.hero-actions{margin:27px 0 17px;gap:10px}.hero-actions .button{padding:13px 20px;font-size:14px}.hero-foot{font-size:12px}.hero-studio{max-width:500px;width:calc(100% - 14px);justify-self:center;padding:25px 28px 0;transform:rotate(.75deg)}.hero-studio h2{font-size:28px}.hero-studio>p{font-size:14px}.session-steps{margin:20px 0 10px}.session-steps li{padding:10px 0;font-size:14px}.session-time{font-size:12px!important;margin-bottom:21px}.hero-keyboard{height:75px}.hero-black{height:45px;width:20px;left:calc((var(--key) + 1)*10% - 10px)}.sound-sketch{padding-top:16px}.hero-spark{top:auto;bottom:365px;right:1px;font-size:51px}.section-heading{display:block;margin-bottom:27px}.section-heading>p{max-width:510px;margin-top:17px;font-size:15px}.section-heading h2{font-size:32px}.tools-section{padding-top:35px}.tool-grid{grid-template-columns:repeat(2,1fr);gap:13px}.tool-card{padding:23px 21px;min-height:220px}.tool-card h3{font-size:20px}.tool-card p{font-size:14px;margin-bottom:19px}.tool-icon{width:46px;height:46px;margin-bottom:17px}.tool-card:last-child:nth-child(3n+1){grid-template-columns:46px 1fr;gap:0 18px;padding:20px}.tool-card:last-child:nth-child(3n+1) .card-cta{display:none}.tool-card:last-child:nth-child(3n+1) h3{font-size:20px}.tool-card:last-child:nth-child(3n+1) p{font-size:14px}.routine-section{grid-template-columns:1fr;padding:30px;gap:32px;margin:5px 0}.routine-intro h2{max-width:500px}.routine-intro>p{max-width:500px}.routine-steps{gap:25px}.routine-drawing{margin-bottom:15px}.routine-section.compact{grid-template-columns:1fr;gap:23px}.routine-section.compact .button{justify-self:start}.guide-grid{gap:17px;grid-template-columns:repeat(2,1fr)}.guide-card:last-child{grid-column:1/-1;display:grid;grid-template-columns:1fr 1.1fr;gap:0 20px;margin-top:12px}.guide-card:last-child .guide-art{grid-column:1;grid-row:1/5;margin:0;height:auto;min-height:160px}.guide-card:last-child .guide-meta,.guide-card:last-child h3,.guide-card:last-child p,.guide-card:last-child>.text-link{grid-column:2}.guide-card:last-child h3{margin:7px 0}.guide-card:last-child>.text-link{align-self:end}.guide-art{height:145px}.guide-card h3{font-size:21px}.progress-callout{display:block;padding-top:31px}.progress-callout>.button{margin-top:23px}.site-footer{margin-top:65px}.footer-inner{padding:38px 22px 30px;grid-template-columns:1fr 1fr;gap:33px 28px}.footer-brand{grid-column:1/-1;display:block}.footer-brand>p{max-width:430px}.footer-inner>div:last-child{grid-column:auto}.footer-inner h2{margin-bottom:15px}.footer-bottom{margin:0 22px;display:block;font-size:12px;line-height:1.7;padding:20px 0}.footer-bottom span{display:block;margin:3px 0}.page-top{padding-top:25px;padding-bottom:28px}.breadcrumbs{font-size:12px;margin-bottom:27px}.tool-heading{padding-right:0}.tool-heading>.tool-icon{position:static;width:47px;height:47px;margin-bottom:20px}.tool-heading>.tool-icon>.icon{width:28px;height:28px}.tool-heading h1{font-size:37px;max-width:600px}.tool-heading .eyebrow{margin-bottom:12px}.lead{font-size:17px}.practice-panel{padding:23px 18px;border-radius:16px;min-height:300px}.tool-controls{gap:12px;padding-bottom:20px;margin-bottom:20px}.field{flex:1;min-width:135px;max-width:100%}.tool-controls .button{flex-shrink:0}.tool-stage{padding:25px 18px;margin:18px 0}.tool-stage h2{font-size:26px}.answer-grid{grid-template-columns:repeat(2,1fr);gap:9px}.answer-button{font-size:13px;min-height:50px;padding:10px}.tool-feedback{padding:16px;font-size:14px}.tool-notes{padding:15px 2px}.tool-notes p{font-size:12px}.lesson-content{margin-top:38px;font-size:16px;line-height:1.85}.lesson-content h2{font-size:23px}.lesson-content section{margin-bottom:29px}.note-convention{font-size:14px;padding:17px 18px}.related-grid{grid-template-columns:1fr;gap:10px}.related-grid a{min-height:66px;padding:17px 20px;font-size:15px}.related-section{padding-bottom:0}.article-top{padding-top:25px}.article-top h1{font-size:37px}.article-date{font-size:12px}.guide-article{margin-top:5px}.policy-content{margin-top:0}.article-practice{padding:25px}.table-wrap{border-radius:8px}td,th{padding:9px 12px;font-size:13px}.piano{height:165px;margin:20px auto;border-width:5px;padding:3px;border-radius:9px}.piano-key{font-size:11px;padding-bottom:10px}.piano-key small{font-size:9px}.piano-key.black{top:3px;padding-bottom:8px}.fretboard{margin-left:-3px;margin-right:-3px;padding:6px}.fretboard table{min-width:590px}.stat-grid{gap:10px}.stat-card{padding:16px 12px}.stat-card strong{font-size:27px}.stat-card span,.stat-card p{font-size:12px}.tool-score{font-size:13px}.beat-row{gap:10px}.beat-dot{width:32px;height:32px}.tap-pad{min-height:125px;font-size:23px}.not-found{margin:45px auto}.not-found h1{font-size:37px}.missing-art{height:95px}.missing-art>span{font-size:75px}.missing-art>.icon{width:70px;height:70px}.preferred-language{font-size:13px}}
 @media(max-width:390px){.site-main{padding:0 17px}.header-inner{padding:0 17px}.hero h1{font-size:40px}.hero-intro{font-size:16px}.hero-actions{flex-direction:column;align-items:stretch}.hero-actions .button{width:100%}.hero-foot{font-size:11px}.tool-card{padding:20px 16px}.tool-card h3{font-size:18px}.tool-card p{font-size:13px}.tool-card:last-child:nth-child(3n+1) h3{font-size:18px}.section-heading h2{font-size:29px}.routine-section{padding:25px}.guide-card h3{font-size:18px}.guide-art{height:130px}.tool-heading h1{font-size:33px}.practice-panel{padding:21px 15px}.stat-grid{grid-template-columns:1fr}.stat-card{display:flex;align-items:center;justify-content:space-between;gap:20px}.stat-card strong{margin:0}.field{min-width:115px}.piano-key{font-size:10px}.piano-key small{display:none}.footer-inner{padding-left:17px;padding-right:17px}.footer-bottom{margin-left:17px;margin-right:17px}}
 @media(max-width:760px){.tool-notes p,.hero-foot,.tool-card p,.stat-card span,.stat-card p,.tool-score{font-size:14px}.key-note{font-size:14px}.tool-stage{padding:22px 12px}.fret-scroll{margin:0 -5px}}
 @media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.tool-card:hover{transform:none}.guide-card:hover .guide-art>.icon{transform:rotate(-8deg)}.beat-dot.active{transform:none}}
}
