@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800&display=swap');
:root{--ink:#204b52;--muted:#6b8589;--teal:#16857d;--line:#dce8e5;--mint:#e6f6ed}*{box-sizing:border-box}body{margin:0;background:#f7f9f4;color:var(--ink);font:15px 'Be Vietnam Pro','Segoe UI',sans-serif}button,input{font:inherit}button,a,input{ -webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}a{color:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}:focus-visible{outline:3px solid #367cce;outline-offset:4px}[hidden]{display:none!important}.pc-header{height:96px;display:flex;align-items:center;justify-content:space-between;max-width:1200px;margin:auto;padding:0 32px;border-bottom:1px solid var(--line)}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;font-size:23px;font-weight:800}.brand-mark{background:var(--teal);color:white;width:48px;height:48px;border-radius:16px;display:grid;place-items:center;font-size:34px}.brand small{display:block;font-size:8px;letter-spacing:2px;margin-top:5px}.pc-header nav{display:flex;align-items:center;gap:26px;font-size:13px}.pc-header nav a{text-decoration:none}.header-pill{background:#e7eee3;border-radius:30px;padding:10px 16px;font-weight:600}main{max-width:1200px;margin:auto;padding:0 32px}.hero{display:grid;grid-template-columns:1.35fr 1fr;gap:48px;align-items:center;padding:60px 0 44px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:700;color:var(--teal);margin:0 0 18px}h1{font-size:clamp(36px,4.3vw,53px);line-height:1.26;letter-spacing:-2px;margin:0 0 20px;font-weight:800}h1 span{color:var(--teal)}.intro{font-size:15px;line-height:1.9;color:var(--muted);max-width:510px}.hero-tags{display:flex;flex-wrap:wrap;gap:12px 16px;font-size:10px;color:#4c746d;margin-top:22px}.rhythm{position:relative;transform:rotate(2deg);background:#ebf3dc;border:1px solid #d9e6c7;box-shadow:0 8px 0 #e2eace;border-radius:28px;padding:26px 30px}.rhythm-top{font-size:10px;letter-spacing:2px;font-weight:600;color:#617e55}.rhythm-numbers{display:flex;align-items:center;justify-content:space-around;margin:24px 0}.rhythm-numbers>span{color:#9aad80;font-size:25px}.rhythm-numbers b{font-size:64px;line-height:1.1;letter-spacing:-3px;font-weight:700}.rhythm-numbers small{display:block;text-align:center;color:#6b7d5b;font-size:11px;margin-top:8px}.rhythm-bottom{border-top:1px dashed #c4d3ac;padding-top:16px;text-align:center;font-size:11px;color:#6b7d5b}.workspace{display:grid;grid-template-columns:1.1fr 1fr;gap:26px;align-items:start}.settings-card,.preview-card,.download-card{background:white;border:1px solid var(--line);border-radius:26px}.settings-card{padding:30px}.section-title{display:flex;gap:14px;align-items:flex-start;margin-bottom:25px}.step{display:grid;place-items:center;flex-shrink:0;border-radius:12px;background:#e7f2ec;color:var(--teal);width:34px;height:34px;font-size:14px;font-weight:700}h2{font-size:19px;margin:2px 0 8px;letter-spacing:-.5px}.section-title p,.download-card p{font-size:12px;color:var(--muted);line-height:1.9;margin:0}.label{display:block;font-size:12px;font-weight:600;margin:0 0 20px}.label>input,.unit-input{display:flex;align-items:center;gap:8px;margin-top:9px;border:1px solid #d9e5e1;border-radius:12px;background:#fbfcfa;width:100%;padding:13px 14px}.label>input,.unit-input input{font-size:16px;color:var(--ink)}.unit-input input{border:0;outline:none;min-width:0;width:100%;background:transparent}.unit-input span{font-size:11px;color:var(--muted);white-space:nowrap;font-weight:400}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}fieldset{border:0;padding:0;margin:0 0 22px}legend{font-size:12px;font-weight:600;margin-bottom:10px}.segmented{display:flex;gap:8px}.segmented label{flex:1;cursor:pointer;position:relative}.segmented input{position:absolute;opacity:0;width:1px;height:1px}.segmented span{display:block;text-align:center;border:1px solid #dce7e3;border-radius:11px;padding:13px 6px;font-size:11px;font-weight:500}.segmented input:checked+span{border-color:#40998b;background:#edf8f1;color:#16796c;box-shadow:inset 0 0 0 1px #40998b}.segmented input:focus-visible+span{outline:3px solid #367cce;outline-offset:2px}.mode-options{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:15px}.mode-options label{display:flex;gap:9px;align-items:center;padding:12px 10px;border:1px solid #dde9e2;border-radius:10px;font-size:11px;cursor:pointer}.mode-options label:has(input:checked){background:#eff9f3;border-color:#98c5ac}.mode-options input{accent-color:var(--teal);width:17px;height:17px;flex-shrink:0}.field-note{font-size:10px!important;line-height:1.8;color:var(--muted);margin:12px 0 0!important}.save-note{background:#f4f8ef;padding:14px;border-radius:12px;margin:6px 0 22px;font-size:10px;line-height:1.8}.save-note b{display:block;font-weight:600}.save-note span{color:var(--muted)}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--teal);color:white;border:1px solid var(--teal);border-radius:13px;padding:15px 22px;font-size:13px;font-weight:600;text-decoration:none;min-height:48px;transition:background .15s,transform .15s}.button:hover{background:#116f69;transform:translateY(-1px)}.button.secondary{background:#eef8f2;color:var(--teal);border-color:#b6d7c6}.full{width:100%}.right-column{display:grid;gap:20px}.preview-card{overflow:hidden;background:#fcfdfb;box-shadow:0 6px 0 #e7eeea}.preview-heading{display:flex;align-items:center;gap:8px;padding:20px 23px;border-bottom:1px solid #edf2ed;font-size:9px;letter-spacing:1.5px;font-weight:600;color:#79918e}.live-dot{width:7px;height:7px;background:#60ad90;border-radius:50%}.small-pill{margin-left:auto;background:#eef2e8;border-radius:20px;padding:5px 10px;font-size:9px;letter-spacing:0}.preview-body{text-align:center;padding:25px 20px 32px}.cloud-icon{font-size:64px;color:#83b6b8;line-height:1.2;text-shadow:0 4px 0 #d2e3df}.preview-body h2{font-size:23px;margin:15px 0 10px}.preview-body p{font-size:11px;color:var(--muted);margin-bottom:23px}.preview-body small{display:block;color:#9baba6;font-size:9px;margin-top:14px}.preview-footer{display:flex;justify-content:center;gap:30px;background:#f2f6ee;padding:16px;font-size:10px;color:#6c877b}.download-card{display:flex;gap:15px;padding:25px}.download-card p{margin-bottom:16px}.download-card .button{margin:2px 0 0}.honest-note{padding:4px 15px;font-size:11px;color:var(--muted);line-height:1.9}.honest-note b{color:#4d7370}.honest-note p{margin:7px 0}.how{margin:50px 0 36px;padding-top:32px;border-top:1px solid var(--line)}.how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}.how-grid article{padding-left:48px;position:relative}.how-grid article>span{position:absolute;left:0;font-size:11px;color:#8ba29b}.how h3{font-size:13px;margin:0 0 10px}.how p{font-size:11px;color:var(--muted);line-height:1.9}.how .section-title{margin-bottom:28px}footer{padding:24px 0 32px;border-top:1px solid var(--line);color:#8b9e96;font-size:9px;display:flex;justify-content:space-between;gap:20px}footer a{text-decoration:none}dialog{border:0;padding:0;border-radius:24px;width:min(1000px,96vw);max-height:96dvh;background:linear-gradient(#fffefa,#eefafd);color:var(--ink);box-shadow:0 30px 100px #12434255}dialog::backdrop{background:#143d4cb0}.lesson-top{display:flex;align-items:center;justify-content:space-between;padding:16px 24px;color:#7a9697;font-size:10px;letter-spacing:1px}.text-button{border:0;background:#edf3f3;border-radius:10px;padding:10px 15px;color:var(--ink);font-size:12px}#lessonContent{text-align:center;padding:0 28px 28px}.lesson-stats{display:flex;justify-content:center;gap:7px;flex-wrap:wrap;margin:10px}.lesson-dot{width:10px;height:10px;border-radius:50%;background:#d4e6e3}.lesson-dot.on{background:#3cb989}.lesson-title{font-size:19px;font-weight:700;margin:15px}.question-zone{min-height:215px;display:grid;place-items:center}.bond{display:flex;flex-direction:column;align-items:center}.bond-box,.answer-box{display:grid;place-items:center;width:76px;height:76px;border:3px solid #8abed5;border-radius:22px;background:#e5f4ff;color:#194d6b;font-size:36px;font-weight:800;white-space:nowrap;line-height:1}.bond-total{background:#fff2cd;border-color:#efbf56}.answer-box{background:#ffe3ef;border-color:#e46ba4;border-radius:8px;flex-shrink:0}.bond-branches{display:flex;position:relative;gap:36px;padding-top:20px;margin-top:15px}.bond-branches:before{content:'';position:absolute;top:0;left:38px;right:38px;border-top:3px solid #a6c5cf}.bond-branches:after{content:'';position:absolute;top:-15px;height:15px;left:50%;border-left:3px solid #a6c5cf}.bond-branches .bond-box{position:relative}.bond-branches .bond-box:before{content:'';position:absolute;height:20px;top:-23px;left:calc(50% - 1.5px);border-left:3px solid #a6c5cf}.expression{display:flex;align-items:center;justify-content:center;gap:15px;font-size:42px;font-weight:700}.feedback{font-size:14px;min-height:28px;color:#468a76;margin:8px}.keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;max-width:510px;margin:auto}.keypad button{font:800 30px 'Segoe UI',sans-serif;color:#194d6b;background:#ffefca;border:0;border-bottom:6px solid #e7bc63;border-radius:19px;min-height:61px;cursor:pointer}.keypad button:nth-child(3n+2){background:#dff8ed;border-color:#86ccb1}.keypad button:nth-child(3n){background:#ffe6f2;border-color:#df90ba}.keypad button:last-child{background:#3acb86;border-color:#26a66b;color:white}.lesson-complete{padding:65px 20px 100px}.lesson-complete>span{font-size:80px;color:#ddb23e}.lesson-complete h2{font-size:36px}.lesson-complete p{color:var(--muted);line-height:1.8}.compare-dots{display:flex;flex-wrap:wrap;width:180px;justify-content:center;gap:6px;font-size:22px;color:#6bacc3}
@media(max-width:850px){.hero{grid-template-columns:1fr;gap:26px;padding-top:35px}.rhythm{max-width:480px;transform:rotate(0)}.workspace{grid-template-columns:1fr}.hero-tags{font-size:10px}.how-grid{grid-template-columns:1fr;gap:20px}.pc-header{padding:0 20px;height:82px}.pc-header nav{gap:14px}.header-pill{display:none}main{padding:0 20px}.settings-card{padding:24px}footer{flex-direction:column}.how-grid article{padding-left:34px}}
@media(max-height:720px) and (min-width:650px){.question-zone{min-height:160px}.bond-box,.answer-box{width:60px;height:60px;font-size:31px}.bond-branches:before{left:30px;right:30px}.keypad button{min-height:45px;font-size:25px}.lesson-title{margin:8px}.lesson-top{padding:8px 20px}#lessonContent{padding-bottom:15px}.feedback{margin:3px}.expression{font-size:33px}}
@media(max-width:480px){h1{font-size:38px}.pc-header nav{font-size:11px}.brand{font-size:20px}.segmented span{font-size:10px}.settings-card{padding:20px}.two-fields{gap:10px}.mode-options label{font-size:10px}.preview-footer{gap:15px}.expression{font-size:25px;gap:8px}.expression .answer-box{width:58px;height:62px;font-size:30px}.bond-box{width:66px;height:66px;font-size:31px}.bond-branches{gap:20px}.bond-branches:before{left:33px;right:33px}.question-zone{min-height:205px}#lessonContent{padding:0 15px 22px}.lesson-title{font-size:16px}.compare-dots{width:95px;font-size:16px;gap:3px}}
