:root{--bg:#f7f6f0;--paper:#fffefa;--ink:#203c37;--muted:#69756c;--accent:#226151;--soft:#e6eee5;--line:#dce1d5;--gold:#ba8135;--radius:22px;--shadow:0 12px 38px #203c3709;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:var(--bg)}*{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:disabled{cursor:default}button:focus-visible,a:focus-visible{outline:3px solid var(--gold);outline-offset:4px}[hidden]{display:none!important}.topbar{max-width:1440px;margin:auto;padding:26px 5%;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);gap:18px}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;color:var(--ink);font-size:26px;font-weight:750;letter-spacing:-1px}.brand small{display:block;font-size:9px;letter-spacing:2px;margin-top:6px}.brandmark{display:grid;place-items:center;background:var(--ink);color:var(--paper);width:44px;height:48px;border-radius:12px;font-size:30px}.version-switch{display:flex;padding:4px;border:1px solid var(--line);border-radius:40px;background:var(--paper)}.version-switch button{border:0;background:none;padding:10px 17px;border-radius:25px;color:var(--muted);font-size:13px}.version-switch button.active{background:var(--ink);color:white}main{max-width:1300px;margin:auto;padding:0 38px 60px}.hero{display:grid;grid-template-columns:1.15fr 1fr;gap:45px;align-items:center;padding:60px 0}.eyebrow{font-size:10px;font-weight:750;letter-spacing:2px;color:var(--accent);line-height:1.6;margin:0 0 14px}h1{font-family:Georgia,serif;font-weight:500;font-size:48px;line-height:1.12;letter-spacing:-1.7px;margin:0 0 20px}h2{font-size:22px;letter-spacing:-.6px;line-height:1.25;margin:0 0 12px}h3{font-size:17px;margin:0 0 8px}p{line-height:1.65;color:var(--muted);font-size:15px}.primary,.secondary{border:0;border-radius:12px;padding:15px 23px;font-weight:650;min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:22px}.primary{background:var(--accent);color:white;box-shadow:0 4px 0 #123e34}.primary:hover{filter:brightness(1.08)}.secondary{background:var(--soft);color:var(--ink)}.hero .primary{margin-top:12px}.mission-card{background:var(--soft);border:1px solid var(--line);border-radius:var(--radius);padding:32px;display:flex;gap:25px;align-items:center;min-height:230px}.large-ring{--progress:0%;flex-shrink:0;width:136px;height:136px;background:conic-gradient(var(--accent) var(--progress),#cedbcc 0);padding:9px;border-radius:50%;transform:rotate(-0deg)}.large-ring>div{height:100%;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:var(--soft)}.large-ring strong{font-size:32px;letter-spacing:-1px}.large-ring span{font-size:12px;color:var(--muted);margin-top:4px}.mission-card p{font-size:12px}.mission-card h2{font-family:Georgia,serif;font-size:25px}.status-tag{display:inline-block;font-size:10px;border:1px solid #b7cbb6;border-radius:20px;padding:6px 10px;color:var(--accent)}.path-heading{border-top:1px solid var(--line);padding-top:30px;display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:28px}.path-heading h2{font-size:22px}.legend{display:flex;gap:15px;font-size:11px;color:var(--muted)}.journey-grid{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:48px}.guide-card{padding:26px;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);margin-bottom:20px}.guide-card h2{font-family:Georgia,serif;font-size:26px}.guide-card p{font-size:13px}.guide-card strong{color:var(--ink)}.mini-notes{padding:12px;background:var(--soft);border-radius:10px;font-size:12px;letter-spacing:.3px}.mini-notes b{float:right}.subtle{background:transparent}.text-button{border:0;background:none;color:var(--accent);padding:10px 0;font-size:13px;text-align:left}.stage{margin-bottom:32px}.stage-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;gap:20px}.stage-heading h2{font-size:18px;margin-bottom:4px}.stage-heading p{font-size:12px;margin:0}.stage-count{color:var(--muted);font-size:11px;white-space:nowrap}.module{position:relative;margin:0 0 12px;border:1px solid var(--line);border-radius:18px;padding:21px;background:var(--paper);box-shadow:var(--shadow)}.module.current{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.module.locked{background:#f0f0ea;box-shadow:none}.module-heading{display:flex;align-items:center;gap:17px;margin-bottom:14px}.module-ring{--progress:0%;width:46px;height:46px;border-radius:50%;padding:4px;background:conic-gradient(var(--accent) var(--progress),var(--line) 0);flex-shrink:0}.module-ring span{display:grid;place-items:center;height:100%;border-radius:50%;background:var(--paper);font-size:14px;font-weight:bold}.module.done .module-ring span{background:var(--accent);color:white}.module-heading h3{font-size:15px;margin:0 0 4px}.module-heading p{font-size:11px;margin:0}.module-status{margin-left:auto;font-size:10px;white-space:nowrap;color:var(--accent)}.challenge-list{display:flex;gap:9px;flex-wrap:wrap;padding-left:62px}.challenge-node{position:relative;border-radius:50%;width:35px;height:35px;background:var(--paper);border:2px solid var(--line);color:var(--muted);font-size:11px}.challenge-node.done{background:var(--accent);border-color:var(--accent);color:white}.challenge-node.current{border-color:var(--accent);color:var(--accent);box-shadow:0 0 0 4px var(--soft)}.challenge-node:disabled{opacity:.65}.lesson-top{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:27px 0 16px;font-size:12px;color:var(--muted)}.lesson-progress,.small-meter{height:6px;background:var(--line);border-radius:6px;overflow:hidden}.lesson-progress>div,.small-meter>div{height:100%;background:var(--accent);transition:width .3s}.lesson-layout{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center;padding:44px 0 24px}.lesson-copy h1{font-size:38px}.exercise-card{padding:27px;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius)}.exercise-card h2{font-size:21px}.note-display{display:flex;flex-wrap:wrap;gap:7px;margin:18px 0}.note-token{background:var(--soft);color:var(--ink);padding:10px 13px;border-radius:10px;font-size:14px;font-weight:600}.exercise-card p{font-size:13px}.exercise-actions{display:flex;gap:12px;flex-wrap:wrap}.exercise-actions button{font-size:12px;padding:12px 17px}.feedback{background:var(--soft);border:1px solid var(--line);border-radius:12px;padding:15px 20px;font-size:14px;min-height:54px}.feedback.error{background:#fff0df;border-color:#d4a768;color:#78511e}.feedback.success{background:#dcebd9;color:#215a38}.keyboard-head{display:flex;justify-content:space-between;align-items:center;padding:20px 0 10px;font-weight:bold;font-size:14px}.keyboard-head small{font-size:10px;color:var(--muted);font-weight:normal;margin-left:10px}.piano-scroll{overflow-x:auto;overscroll-behavior-x:contain;border:7px solid #293734;border-top-width:18px;border-radius:12px;background:#293734;scrollbar-color:#84988b #293734;touch-action:pan-x}#piano{position:relative;height:188px;width:2496px;user-select:none}.key{position:absolute;top:0;border:1px solid #b8c1b8;border-radius:0 0 5px 5px;touch-action:pan-x}.white-key{width:48px;height:180px;background:linear-gradient(#fff,#faf9f4);color:#69756c;z-index:1;box-shadow:inset 0 -5px 0 #e4e7df}.black-key{width:29px;height:113px;background:linear-gradient(#27302f,#111b19);border:1px solid #101b18;z-index:2;color:white;box-shadow:inset 0 -5px 0 #3c4742}.key span{position:absolute;bottom:14px;left:0;right:0;font-size:10px;pointer-events:none}.black-key span{font-size:9px;color:white}.white-key.on,.white-key.guide{background:#afceb9}.black-key.on,.black-key.guide{background:#276b50}.key.correct{background:#78bd84}.key.wrong{background:#d4a268}.keyboard-help{font-size:11px;text-align:center}.exercise-bottom{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:var(--muted)}footer{border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:16px;padding:25px 5%;font-size:10px;color:var(--muted)}footer span:first-child{font-weight:bold;letter-spacing:2px}dialog{border:1px solid var(--line);border-radius:28px;padding:35px;max-width:420px;width:calc(100% - 32px);text-align:center;background:var(--paper);color:var(--ink);box-shadow:0 25px 90px #142e3933}dialog::backdrop{background:#142e3966;backdrop-filter:blur(5px)}dialog h2{font-family:Georgia,serif;font-size:32px}dialog .primary{width:100%;margin-bottom:12px}dialog .text-button{text-align:center}dialog p{font-size:14px}.celebration-symbol,.final-emblem{width:76px;height:76px;display:grid;place-items:center;border-radius:50%;background:var(--soft);color:var(--accent);font-size:36px;margin:0 auto 22px;animation:pop .35s ease-out}.completion-page{text-align:center;padding:90px 0;max-width:640px;margin:auto}.final-emblem{width:120px;height:120px;font-size:66px}.completion-page .primary{margin-top:20px}@keyframes pop{from{transform:scale(.65)}to{transform:scale(1)}}body.child{--bg:#f8f5ff;--paper:#fff;--ink:#352658;--muted:#746b89;--accent:#7250c3;--soft:#ece4ff;--line:#e4dcf2;--gold:#ecae35;--radius:26px}body.child h1,body.child .mission-card h2,body.child .guide-card h2,body.child dialog h2{font-family:Arial,Helvetica,sans-serif;font-weight:800;letter-spacing:-1.5px}body.child .mission-card{background:linear-gradient(120deg,#eee3ff,#fff0cd);border-color:#e6d1ff}body.child .hero h1{color:#523983}body.child .primary{box-shadow:0 5px 0 #4f358f}body.child .module{border-bottom-width:4px}body.child .challenge-node.done{background:#7250c3}body.child .stage:nth-child(2) .module-ring{background:conic-gradient(#df9b28 var(--progress),#f1e0be 0)}body.child .celebration-symbol{background:#fff0bc;color:#996517}body.child .hero{position:relative}body.child .status-tag{border-color:#c9abd8;color:#604383}body.child .large-ring{background:conic-gradient(var(--accent) var(--progress),#d6c5f1 0)}
@media(min-width:1050px){aside{position:sticky;top:25px;align-self:start}.module:nth-child(2n){margin-left:22px}.module:nth-child(2n+1){margin-right:22px}}
@media(max-width:1000px){.hero{gap:25px}.mission-card{flex-direction:column;align-items:flex-start;padding:25px}.large-ring{width:100px;height:100px}.journey-grid{grid-template-columns:1fr 240px;gap:22px}h1{font-size:40px}.legend{flex-wrap:wrap}.lesson-layout{gap:24px}}
@media(max-width:700px){.topbar{padding:18px 20px}.brand{font-size:22px}.brand small{font-size:7px;letter-spacing:1px}.brandmark{width:32px;height:38px;font-size:25px}.version-switch button{padding:9px 12px;font-size:11px}main{padding:0 20px 35px}.hero{grid-template-columns:1fr;padding:32px 0;gap:26px}h1{font-size:38px}.hero p{font-size:14px}.mission-card{flex-direction:row;align-items:center;min-height:0;gap:18px;padding:20px}.mission-card h2{font-size:22px}.mission-card .eyebrow{font-size:9px;margin-bottom:6px}.mission-card p{margin:6px 0 10px;font-size:11px}.large-ring{width:98px;height:98px;padding:7px}.large-ring strong{font-size:27px}.large-ring span{font-size:10px}.path-heading{display:block;padding-top:23px;margin-bottom:24px}.path-heading h2{font-size:20px}.legend{margin-top:16px;gap:15px;font-size:10px}.journey-grid{grid-template-columns:1fr}.module{padding:17px}.module-heading{gap:12px}.module-heading h3{font-size:14px}.module-status{font-size:9px}.challenge-list{padding-left:0;margin-left:58px;gap:8px}.stage-heading h2{font-size:16px}.guide-card{padding:22px}.lesson-top{flex-wrap:wrap;gap:4px;font-size:11px}.lesson-top .text-button{font-size:12px}.lesson-layout{grid-template-columns:1fr;padding-top:28px;gap:16px}.lesson-copy h1{font-size:30px;letter-spacing:-1px;margin-bottom:8px}.lesson-copy p{font-size:13px}.exercise-card{padding:21px}.exercise-card h2{font-size:20px}.keyboard-head{font-size:12px}.keyboard-head small{display:block;margin:5px 0 0}.feedback{font-size:13px;padding:12px}.exercise-actions{gap:8px}.exercise-actions button{padding:12px}.piano-scroll{margin:0 -10px}.completion-page{padding:60px 0}footer{flex-direction:column;font-size:9px;gap:10px}.module-ring{width:40px;height:40px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
body{background:var(--bg)}
@media(max-width:700px){.lesson-top{padding-top:16px;padding-bottom:10px}.lesson-layout{padding-top:18px;padding-bottom:16px;gap:12px}.lesson-copy h1{font-size:25px;line-height:1.15}.lesson-copy .eyebrow{margin-bottom:8px}.lesson-copy p{margin:8px 0;line-height:1.5}.exercise-card{padding:17px}.exercise-card .eyebrow{margin-bottom:10px}.exercise-card h2{font-size:19px;margin-bottom:8px}.note-display{margin:12px 0;gap:5px}.note-token{padding:8px 10px}.exercise-card p{line-height:1.5}.challenge-node{width:42px;height:42px}.challenge-list{margin-left:0}.keyboard-head{padding-top:13px}.keyboard-help{margin-bottom:4px}}
