:root{--demo-teal:#078f86;--demo-dark:#102a2d;--demo-soft:#eefaf8;--demo-gold:#f4b740;--demo-line:#d9ebe8}.demo-page{min-height:100vh;background:linear-gradient(180deg,#f8fffd 0%,#fff 48%,#f4fbfa 100%);color:var(--demo-dark)}.demo-nav{padding:18px 0}.demo-nav-inner{display:flex;align-items:center;justify-content:space-between;gap:18px}.demo-back{font-weight:800;color:var(--demo-teal);text-decoration:none}.demo-language{display:flex;flex-wrap:wrap;gap:7px}.demo-language button{border:1px solid var(--demo-line);background:#fff;border-radius:999px;padding:8px 11px;font:inherit;font-weight:800;cursor:pointer}.demo-language button[aria-pressed="true"]{background:var(--demo-dark);color:#fff;border-color:var(--demo-dark)}.demo-shell{max-width:880px;margin:12px auto 70px;padding:0 20px}.demo-hero{text-align:center;padding:28px 0 18px}.demo-hero h1{font-size:clamp(2rem,6vw,4rem);line-height:1.05;margin:12px 0}.demo-hero p{max-width:680px;margin:0 auto;color:#4c6668;font-size:1.08rem}.demo-progress{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:26px 0}.demo-progress span{height:8px;background:#dfeceb;border-radius:99px}.demo-progress span.active,.demo-progress span.done{background:var(--demo-teal)}.demo-card{background:#fff;border:1px solid var(--demo-line);border-radius:30px;box-shadow:0 22px 60px rgba(6,55,55,.1);padding:clamp(24px,5vw,48px);min-height:470px;display:flex;flex-direction:column;justify-content:center}.demo-step[hidden]{display:none}.demo-kicker{display:inline-flex;align-items:center;gap:8px;color:var(--demo-teal);font-weight:900;text-transform:uppercase;letter-spacing:.08em;font-size:.78rem}.demo-step h2{font-size:clamp(1.75rem,4vw,2.7rem);margin:10px 0}.demo-step p{color:#546d6f;font-size:1.05rem}.demo-letter{width:180px;height:180px;margin:24px auto;display:grid;place-items:center;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff 0 16%,#d8f4ef 46%,#8ed9cf 100%);box-shadow:inset 0 -16px 28px rgba(7,143,134,.18),0 18px 40px rgba(7,143,134,.18);font-family:serif;font-size:6rem;font-weight:800;color:var(--demo-dark)}.demo-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:24px}.demo-btn{border:0;border-radius:16px;padding:14px 20px;font:inherit;font-weight:900;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px}.demo-btn-primary{background:var(--demo-teal);color:#fff}.demo-btn-soft{background:var(--demo-soft);color:var(--demo-dark);border:1px solid var(--demo-line)}.demo-btn:disabled{opacity:.45;cursor:not-allowed}.demo-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:28px auto;max-width:560px}.demo-choice{min-height:120px;border:2px solid var(--demo-line);border-radius:22px;background:#fff;font-size:3.2rem;font-weight:900;cursor:pointer}.demo-choice:hover,.demo-choice:focus-visible{border-color:var(--demo-teal);outline:none}.demo-choice.correct{background:#e9faf6;border-color:var(--demo-teal)}.demo-choice.wrong{background:#fff2f0;border-color:#d95d4f}.demo-feedback{min-height:28px;text-align:center;font-weight:800}.trace-wrap{position:relative;max-width:480px;height:280px;margin:24px auto;border:2px dashed #9bcfc8;border-radius:26px;background:#fbfffe;overflow:hidden}.trace-guide{position:absolute;inset:0;display:grid;place-items:center;font-family:serif;font-size:11rem;color:rgba(7,143,134,.14);pointer-events:none}.trace-canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none}.demo-complete{text-align:center}.demo-badge{width:118px;height:118px;border-radius:50%;margin:0 auto 20px;display:grid;place-items:center;background:linear-gradient(145deg,#ffe6a8,#f4b740);font-size:3.4rem;box-shadow:0 18px 40px rgba(244,183,64,.3)}.demo-note{text-align:center;color:#6c8082;font-size:.9rem;margin-top:18px}.demo-page[dir="rtl"] .demo-step,.demo-page[dir="rtl"] .demo-hero{text-align:right}.demo-page[dir="rtl"] .demo-hero p{margin-right:0}.demo-page[dir="rtl"] .demo-kicker{letter-spacing:0}.demo-page[dir="rtl"] .demo-complete{text-align:center}@media(max-width:640px){.demo-nav-inner{align-items:flex-start;flex-direction:column}.demo-language{width:100%}.demo-card{min-height:520px;border-radius:24px;padding:24px 18px}.demo-choices{gap:8px}.demo-choice{min-height:96px}.demo-actions{flex-direction:column}.demo-btn{width:100%}.trace-wrap{height:240px}.demo-shell{padding:0 14px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}