:root{--paper:#fbfaf7;--white:#fff;--ink:#241f2b;--muted:#625c66;--line:#e8e3df;--orange:#af401f;--peach:#ffe1cf;--dark:#251c37;--purple:#cab5ff;--radius:23px;--shadow:0 8px 24px #271d3510;color-scheme:light}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink);font-family:"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",system-ui,sans-serif;font-size:16px;line-height:1.65}
a{color:inherit;text-decoration:none}
button,input,select{font:inherit}
button,a{-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
button:disabled{cursor:default;opacity:.6}
:focus-visible{outline:3px solid #9869da;outline-offset:4px}
.skip{position:absolute;left:12px;top:-100px;background:#fff;padding:8px;z-index:5}
.skip:focus{top:12px}
.shell{width:min(1200px,calc(100% - 72px));margin-inline:auto}
.top{background:#fffefb;border-bottom:1px solid var(--line)}
.top-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:76px}
.brand{display:inline-flex;align-items:center;white-space:nowrap;gap:11px;font-size:20px;font-weight:800;letter-spacing:.03em}
.brand-mark{background:var(--peach);color:#891f14;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;font-size:23px;line-height:1}
nav{display:flex;gap:30px;align-items:center;white-space:nowrap}
nav a,.top-progress{font-size:15px}
nav a{padding:22px 0;color:var(--muted);border-bottom:2px solid transparent}
nav a:hover,nav a[aria-current]{color:var(--orange);border-color:var(--orange)}
.top-progress{display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);padding:8px 14px;border-radius:100px;white-space:nowrap}
.progress-ring{display:block;border:2px solid #c65030;border-radius:50%;width:14px;height:14px;border-right-color:#f1c0a7}
.hero{display:grid;grid-template-columns:1fr 1.05fr;margin:38px 0 0;border-radius:28px;overflow:hidden;border:1px solid #e9ded7;background:#fffdf9}
.hero-copy{padding:49px 34px 45px 43px;align-self:center}
.eyebrow{margin:0 0 10px;color:var(--orange);font-weight:750;font-size:.9rem;letter-spacing:.12em}
.eyebrow span{display:inline-block;height:7px;width:7px;background:#d15a31;border-radius:50%;vertical-align:2px;margin-right:6px}
h1,h2,h3,p{overflow-wrap:anywhere}
h1,h2,h3{line-height:1.22;margin:0}
.hero h1{font-size:clamp(47px,5.55vw,79px);letter-spacing:-.065em}
.hero h1 em{font-style:normal;color:var(--orange)}
.lede{color:var(--muted);margin:21px 0 24px;max-width:31em;font-size:1.05rem}
.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.button{display:inline-flex;justify-content:center;align-items:center;gap:.55em;padding:10px 17px;border-radius:11px;font-weight:720;border:1px solid transparent;background:#f2ebfa;color:#40255c;min-height:44px}
.button:hover{filter:brightness(.94)}
.primary{background:#ad401f;color:#fff}
.outline{background:#fff;border-color:var(--line);color:var(--ink)}
.hero-instrument{position:relative;isolation:isolate;overflow:hidden;min-height:376px;display:flex;flex-direction:column;justify-content:space-between;padding:31px 37px 23px;background:radial-gradient(ellipse at 76% 44%,#5a4274,transparent 66%),linear-gradient(125deg,#34234c 4%,#1e182b 80%);color:#f5efff}
.hero-instrument::before{position:absolute;inset:0;z-index:-2;content:"";opacity:.28;background:repeating-linear-gradient(0deg,transparent 0 24px,#d4b8ff2b 25px 26px);}
.studio-top,.studio-bottom{z-index:1;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:.88rem;color:#efddff}
.studio-top>span:first-child{display:flex;align-items:center;gap:9px;font-weight:700}
.studio-top i{height:8px;width:8px;background:#ffac78;border-radius:50%}
.studio-label{padding:3px 10px;border:1px solid #b99dd15c;border-radius:100px}
.record{position:absolute;z-index:-1;top:16%;right:10%;width:284px;max-width:68%;aspect-ratio:1;border-radius:50%;display:grid;place-items:center;transform:rotate(-15deg);border:1px solid #b99dd140;color:#ffe1c8;background:repeating-radial-gradient(circle,#cfb0eb10 0 1px,#2e203b55 3px 5px,#2e203b15 6px 8px),conic-gradient(from 130deg,#251d32 0deg,#67517a 61deg,#30223e 114deg,#291b38 197deg,#715989 249deg,#271a31 310deg);box-shadow:0 8px 29px #120d1e64}
.record span{display:grid;place-items:center;border-radius:50%;width:34%;aspect-ratio:1;background:#c3654e66;border:1px solid #e3ac9c94;font-size:38px}
.studio-keys{margin:76px 0 16px;z-index:2}
.studio-bottom a{border-bottom:1px solid #cab5ff85}
.keyboard{position:relative;display:flex;height:155px;gap:3px;padding-top:2px;border-radius:10px}
.key{touch-action:manipulation}
.key.white{display:flex;flex-direction:column;justify-content:end;align-items:center;flex:1;min-width:0;padding:0 0 10px;color:#403b48;background:linear-gradient(#ede8f0,#fff 76%);border:1px solid #d6cddf;border-radius:4px 4px 9px 9px;box-shadow:0 4px #c2b4cd;font-weight:750}
.key.white small{color:#6c6075;font-size:.76rem}
.key.black{display:flex;align-items:end;justify-content:center;position:absolute;top:0;width:8.2%;height:61%;transform:translateX(-50%);z-index:1;background:linear-gradient(#403350,#201a29);box-shadow:0 4px #07060a;border:1px solid #50415e;border-radius:3px 3px 7px 7px;color:white;font-size:.8rem;padding:0 0 8px}
.key.white:hover,.key.white.playing{background:#ffdcc2;color:#752e1c;box-shadow:0 3px #d19876}
.key.black:hover,.key.black.playing{background:#7e547e}
.overview{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid var(--line);padding:20px 0;margin-bottom:28px}
.overview div{display:flex;justify-content:center;align-items:center;gap:10px}
.overview div+div{border-left:1px solid var(--line)}
.overview strong{font-size:1.4rem;color:var(--orange);font-weight:790}
.overview span{font-size:.93rem;color:var(--muted)}
.home-section{padding:16px 0 28px}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:12px;margin-bottom:18px}
h2{font-size:clamp(26px,4vw,35px);letter-spacing:-.04em}
h3{font-size:1.22rem}
.text-link{color:var(--orange);font-size:.95rem;font-weight:750;text-decoration:underline;text-underline-offset:4px}
.section-head .text-link{white-space:nowrap}
.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.tile{display:block;padding:22px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 3px 10px #271d3506}
a.tile:hover{border-color:#c0a6ca;box-shadow:var(--shadow)}
.tile-head{display:flex;align-items:center;gap:11px;margin-bottom:11px}
.tile-icon{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:11px;font-size:1.28rem;font-weight:800;background:#f2ebfa;color:#523771}
.tile:nth-child(3n+1) .tile-icon{background:#ffeadb;color:#9e3b23}
.tile:nth-child(3n+2) .tile-icon{background:#e3efe9;color:#275b49}
.tile p{margin:8px 0;color:var(--muted)}
.tile .meta{margin-top:13px}
.meta,.muted{color:var(--muted)}
.meta{font-size:.88rem}
.footer{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);margin-top:36px;padding:17px 0 24px}
.footer .brand{font-size:16px}
.footer .brand-mark{width:30px;height:30px;font-size:18px}
.footer p{margin:0;font-size:.88rem;color:var(--muted)}
.page-head{padding:39px 0 22px;max-width:800px}
.page-head h1{font-size:clamp(36px,6vw,60px);letter-spacing:-.055em}
.page-head p:last-child{margin-bottom:0}
.module-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.module{scroll-margin-top:20px}
.module:target,.module.active{border-color:#af83d0}
.module-list{list-style:none;margin:16px 0 0;padding:0;border-top:1px solid var(--line)}
.module-list a{display:flex;align-items:center;justify-content:space-between;padding:11px 2px;border-bottom:1px solid var(--line);gap:10px}
.module-list li:last-child a{border-bottom:0;padding-bottom:0}
.module-list a:hover{color:var(--orange)}
.lesson-grid{display:grid;grid-template-columns:minmax(200px,255px) minmax(0,1fr);gap:23px;align-items:start;padding-top:32px}
.side{position:sticky;top:18px}
.side .module-list a[aria-current="page"]{color:var(--orange);font-weight:750}
.article{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:30px 35px 34px}
.breadcrumb{font-size:.9rem;color:var(--muted);margin-bottom:15px}
.breadcrumb a{text-decoration:underline;text-underline-offset:3px}
.article h1{font-size:clamp(33px,5vw,50px);letter-spacing:-.045em}
.article .lede{max-width:unset}
.lesson-text p{margin:10px 0}
.exercise{background:#f4eef9;border-radius:15px;padding:18px 20px;margin:19px 0}
.exercise h2,.quiz h2,.lab-panel h2{font-size:1.24rem;letter-spacing:0}
.exercise p{margin:8px 0 12px}
.demo-panel{margin:17px 0;padding:15px;border:1px solid var(--line);border-radius:14px;background:#fffdf8}
.demo-panel .keyboard{max-width:540px;height:135px}
.lesson-actions{border-top:1px solid var(--line);margin-top:24px;padding-top:17px;justify-content:space-between}
.quiz fieldset{border:0;margin:0;padding:0}
.quiz legend{margin:10px 0;font-weight:650}
.option{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:10px;margin:7px 0;padding:8px 12px;cursor:pointer}
.option:hover{background:#faf4ff}
.option input{accent-color:#6b3b95}
.quiz .button{margin-top:7px}
.feedback{padding:9px 12px;border-radius:9px;margin:10px 0 0;background:#f5eee4;color:#744524}
.feedback.good{background:#e5f3ea;color:#265c43}
.feedback:empty{display:none}
.pills{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}
.pills a{display:inline-flex;align-items:center;min-height:44px;padding:6px 12px;background:white;border:1px solid var(--line);border-radius:10px}
.pills a[aria-current=page]{background:#eedff7;color:#4e2a66;border-color:#dcc5e9;font-weight:750}
.lab-panel{max-width:880px}
.lab-panel>p{margin:8px 0 16px}
.lab-panel>.keyboard{max-width:600px}
.tempo{display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin:16px 0}
.tempo input[type=range]{width:min(100%,276px);accent-color:#9a462f}
.tempo select,.tool-input{padding:8px 12px;border:1px solid #d4c8db;border-radius:9px;background:#fff;color:var(--ink)}
.tempo output{font-weight:750;min-width:4ch}
.beats{display:flex;gap:8px;margin:15px 0}
.beats span{display:grid;place-items:center;width:42px;height:42px;border:1px solid var(--line);border-radius:9px;background:#f7f0fb}
.beats .lit{background:#723c97;color:#fff}
.sequences{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:6px;margin:14px 0}
.step{border-radius:8px;border:1px solid var(--line);background:#fff;color:var(--ink);min-height:43px;padding:3px}
.step[aria-pressed=true]{background:#e8d6f3;color:#3f2157;border-color:#a77dc5}
.step.playing{outline:2px solid var(--orange);outline-offset:-2px}
.glossary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}
.glossary>div{padding:14px 0;border-bottom:1px solid var(--line)}
.glossary dt{font-weight:800}
.glossary dd{margin:2px 0 0;color:var(--muted)}
.term-search{width:min(100%,500px)}
.meter{height:10px;border-radius:40px;background:#eee7f4;overflow:hidden;margin:13px 0 0}
.meter div{background:#8652ab;height:100%;border-radius:inherit}
.progress-section{margin-top:18px}
.progress-section .tile .meter{margin-bottom:7px}
.ref-notes{display:flex;gap:9px;flex-wrap:wrap}
.tune-group{margin:15px 0 22px}
.tune-group h3{margin-bottom:9px}
@media(max-width:930px){.shell{width:calc(100% - 40px)}.hero-copy{padding:34px 24px 32px}.hero-instrument{padding:24px;min-height:325px}.studio-keys{margin-top:60px}.tile{padding:16px}nav{gap:16px}.article{padding:24px}}
@media(max-width:710px){.shell{width:calc(100% - 28px)}.top-inner{gap:0 12px;flex-wrap:wrap;padding-top:11px}.top-inner nav{order:3;justify-content:space-between;width:100%;gap:10px;overflow:auto}nav a{padding:11px 0;font-size:.9rem}.top-progress{padding:6px 10px;font-size:.85rem}.hero{grid-template-columns:1fr;margin-top:18px;border-radius:20px}.hero-copy{padding:23px 20px 25px}.hero-instrument{min-height:280px;padding:16px 17px}.studio-keys{margin-top:45px}.keyboard{height:116px}.hero h1{font-size:clamp(45px,11vw,65px)}.lede{margin:13px 0 17px}.grid,.module-grid,.lesson-grid{grid-template-columns:1fr}.side{position:static;order:2}.overview{padding:12px 0;margin-bottom:10px}.overview div{gap:2px;flex-direction:column}.overview strong{font-size:1.19rem}.overview span{font-size:.8rem}.lesson-grid{padding-top:17px;gap:12px}.article{padding:18px 15px}.page-head{padding-top:27px}.glossary{grid-template-columns:1fr}.home-section{padding-bottom:16px}}
@media(prefers-reduced-motion:no-preference){.button,.tile,.key{transition:background-color .15s,border-color .15s,box-shadow .15s}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.ear-choices{margin:15px 0}
.staff{display:block;width:min(100%,520px);height:auto;margin:0 0 12px;border:1px solid var(--line);border-radius:7px}
details{margin-top:12px}
summary{cursor:pointer;color:#522970;font-weight:700}
main:focus{outline:none}
