@font-face{font-family:Rubik;src:url('assets/fonts/rubik-cyrillic.woff2') format('woff2');font-weight:400 800;font-display:swap;unicode-range:U+0400-052F,U+0301}
@font-face{font-family:Rubik;src:url('assets/fonts/rubik-latin.woff2') format('woff2');font-weight:400 800;font-display:swap}
@font-face{font-family:Shantell;src:url('assets/fonts/shantell-sans-cyrillic.woff2') format('woff2');font-weight:400 800;font-display:swap;unicode-range:U+0400-052F,U+0301}
@font-face{font-family:Shantell;src:url('assets/fonts/shantell-sans-latin.woff2') format('woff2');font-weight:400 800;font-display:swap}
:root{font-family:Rubik,system-ui,sans-serif;font-synthesis:none;color:#294a50;background:#f4f7f2;--green:#245d57;--heading:Shantell,'Trebuchet MS',sans-serif;--line:#dbe3d8;--paper:#fffef9;--muted:#587278}
*{box-sizing:border-box}
body{margin:0;min-height:100vh;min-height:100dvh;background:radial-gradient(ellipse at 0 100%,#f8efd9,transparent 58%),radial-gradient(ellipse at 100% 0,#e5eeea,transparent 60%)}
[hidden]{display:none!important}
button,a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}
button{font:inherit;color:inherit;cursor:pointer}
button:disabled{cursor:default}
button:focus-visible,a:focus-visible{outline:3px solid #287dab;outline-offset:4px}
[tabindex="-1"]:focus{outline:none}
img{max-width:100%;object-fit:contain;-webkit-user-drag:none;user-select:none}
svg{display:block;width:100%;height:100%;pointer-events:none}
.topbar{height:82px;max-width:1536px;padding:16px 32px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:16px}
.brand{color:inherit;text-decoration:none;display:flex;align-items:center;gap:10px;font-size:18px;font-weight:600;line-height:1.2}
.brand small{display:block;font-size:12px;font-weight:400;margin-top:5px;letter-spacing:.03em}
.brand-mark{color:#c9913c;font-size:37px}
.audience{border:1px solid #d5e1d7;border-radius:30px;padding:9px 16px;font-size:13px;color:#506c6c;background:#ffffff80}
main{max-width:1536px;margin:auto;padding:0 32px 24px}
.screen{min-height:calc(100dvh - 106px)}
h1,h2,p{margin-top:0}
h1{font-family:var(--heading);font-weight:650;line-height:1.12;margin-bottom:0}
.eyebrow{text-transform:uppercase;letter-spacing:.15em;font-size:12px;font-weight:500;color:#688077;margin-bottom:20px}
.home{max-width:1280px;margin:auto;display:grid;grid-template-columns:1.2fr .8fr;gap:40px;align-items:center;background:var(--paper);border:1px solid var(--line);border-radius:36px;padding:42px 70px;box-shadow:0 16px 40px #294a5008}
.home h1{font-size:clamp(44px,4.6vw,68px);letter-spacing:-.035em}
.home h1 em{color:#ba7538;font-style:normal}
.lead{font-size:22px;line-height:1.5;margin:24px 0}
.demo{display:flex;align-items:center;gap:16px;margin:26px 0}
.demo-picture{width:120px;height:116px;border:1px solid #e7e0cd;border-radius:24px;background:#faf0d9;padding:8px}
.demo-picture.shadow{background:#eaf0e7;border-color:#dce3d3}
.demo-arrow{font-size:30px;color:#748c7d}
.primary{display:inline-flex;align-items:center;justify-content:center;gap:22px;min-height:62px;padding:17px 27px;border:0;border-radius:18px;background:var(--green);color:white;font-size:21px;font-weight:500;box-shadow:0 4px 0 #173f3b;transition:background .18s,transform .18s}
.primary:hover{background:#194d47;transform:translateY(-2px)}
.primary:active{transform:translateY(1px);box-shadow:0 2px 0 #173f3b}
.primary span{font-size:25px;line-height:1}
.intro-note{font-size:14px;color:var(--muted);line-height:1.6;margin:22px 0 0}
.hero-friend{height:min(560px,62dvh);position:relative;display:flex;align-items:center;justify-content:center}
.hero-friend>img{height:100%;width:auto;position:relative;z-index:1}
.hero-disc{position:absolute;left:50%;top:24%;transform:translateX(-50%);width:330px;height:330px;border-radius:50%;background:#f8e6ae}
.hero-friend>p{position:absolute;right:-12px;top:-4px;z-index:2;font-family:var(--heading);font-size:19px;padding:14px 18px;border-radius:22px 22px 22px 3px;background:#eaf1e4;line-height:1.4;transform:rotate(3deg)}
.control{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:10px 16px;font-size:15px;border:1px solid #d6e0d5;border-radius:14px;background:#fffef8}
.control:hover{background:#edf3e9}
.text-button{display:block;min-height:44px;border:0;padding:10px 4px;background:none;text-decoration:underline;text-underline-offset:5px;font-size:15px}
.menu{padding-top:8px}
.menu-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px;gap:16px}
.total-progress{margin:0;font-size:15px;color:var(--muted)}
.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:32px}
.section-heading .eyebrow{margin-bottom:12px}
.section-heading h1{font-size:43px}
.section-heading>p{font-size:16px;line-height:1.5;margin:0;color:var(--muted)}
.series-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}
.series-card{position:relative;display:flex;flex-direction:column;align-items:stretch;text-align:left;min-width:0;padding:20px 18px;border:1px solid var(--line);border-radius:26px;background:var(--paper);box-shadow:0 6px 0 #dbe3d880;transition:transform .18s,border-color .18s}
.series-card:hover{transform:translateY(-4px);border-color:#99b7a7}
.series-number{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#607a75;letter-spacing:.04em}
.series-card-art{height:165px;width:100%;background:radial-gradient(ellipse,var(--card-color),transparent 70%);margin:6px 0 12px}
.series-card-title{font-family:var(--heading);font-size:23px;font-weight:650;line-height:1.2;min-height:56px;display:flex;align-items:center}
.series-description{font-size:13px;line-height:1.5;min-height:40px;color:var(--muted);margin-top:10px}
.difficulty{display:flex;gap:5px;align-items:center;margin:16px 0 8px}
.difficulty i{width:17px;height:6px;background:#e0e7db;border-radius:5px}
.difficulty i.on{background:#799c8c}
.difficulty-label{font-size:11px;color:#5b776e;line-height:1.3;min-height:28px}
.card-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid #e9ece3;padding-top:14px;margin-top:14px;font-size:16px}
.card-bottom strong{font-weight:500;color:#245d57}
#reset-progress{margin-top:24px;color:#617770}
.play{min-height:0}
.play-top{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:14px}
#task-counter{font-size:15px;color:#5c7471;margin-left:auto}
.repeat{font-size:23px;min-width:46px;padding:7px 10px}
.board{height:calc(100dvh - 168px);min-height:0;display:flex;flex-direction:column;padding:25px 30px 18px;background:var(--paper);border:1px solid var(--line);border-radius:30px;box-shadow:0 14px 40px #294a5006}
.board-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-bottom:16px;border-bottom:1px solid #e9ede4;flex-shrink:0}
.board-heading h1{font-size:29px}
.task-dots{display:flex;gap:7px}
.task-dots span{height:9px;width:28px;background:#e3e9dc;border-radius:8px}
.task-dots span.done{background:#569176}
.task-dots span.current{background:#d4a052}
.exercise{flex:1;min-height:0;display:grid;grid-template-columns:minmax(260px,.85fr) minmax(430px,1.4fr);gap:36px;align-items:center;padding:18px 0}
.target-panel{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center}
.object-title{font-size:18px;font-weight:500;line-height:1.3;text-align:center;margin-bottom:10px}
.target-picture{width:min(100%,390px);aspect-ratio:1;background:radial-gradient(circle,#f6edcf 0,#fcf6e7 63%,transparent 64%)}
.target-panel>p{font-size:13px;letter-spacing:.05em;color:#6b8178;margin:10px 0 0}
.answer-panel{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center}
.answer-panel h2{font-size:17px;font-weight:400;line-height:1.35;margin:0 0 16px;text-align:center;color:#54716d}
.options{width:100%;max-width:710px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.option{--option-height:clamp(150px,23dvh,220px);display:flex;align-items:center;justify-content:center;height:var(--option-height);min-width:0;padding:10px;background:#edf1e7;border:2px solid #dce4d6;border-radius:22px;position:relative;transition:background .18s,border-color .18s}
.option svg{width:min(100%,calc(var(--option-height) - 24px));height:auto;aspect-ratio:1;flex-shrink:0}
.option:hover:not(:disabled){background:#e4ecdf;border-color:#a2b9a1}
.option.correct{background:#e0f0dd;border-color:#438461;box-shadow:0 0 0 3px #44846118}
.option.correct::after{content:'✓';position:absolute;top:6px;right:8px;background:#337653;border-radius:50%;color:white;width:24px;height:24px;font-size:18px;line-height:24px;text-align:center}
.option.wrong{background:#f8e8e2;border-color:#ca8c7c}
.option.hinted{border-color:#bd964e;box-shadow:0 0 0 3px #d6b76d26}
.options[data-count="5"]{grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}
.options[data-count="5"] .option{grid-column:span 2}
.options[data-count="5"] .option:nth-child(4){grid-column:2 / span 2}
.options[data-count="5"] .option:nth-child(5){grid-column:4 / span 2}
.task-footer{min-height:64px;display:grid;grid-template-columns:150px minmax(0,1fr) 132px;gap:20px;align-items:center;padding-top:14px;border-top:1px solid #e9ede4;flex-shrink:0}
.hint span{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#f4e3b4;font-size:15px}
.feedback{font-size:17px;line-height:1.4;margin:0;text-align:center;color:#55716a;min-height:25px}
.feedback[data-tone="success"]{color:#28694b;font-weight:500}
.next{min-height:46px;font-size:17px;padding:11px 16px;gap:15px}
.completion{max-width:1280px;margin:auto;display:grid;grid-template-columns:.75fr 1.25fr;align-items:center;gap:64px;background:var(--paper);border:1px solid var(--line);border-radius:36px;padding:42px 75px}
.completion-art{height:min(500px,59dvh);position:relative;display:flex;justify-content:center}
.completion-art img{height:100%;width:auto;position:relative}
.completion-art .hero-disc{width:290px;height:290px}
.completion-copy h1{font-size:clamp(34px,4vw,52px);color:var(--green)}
.completion-copy>p:not(.eyebrow){font-size:21px;line-height:1.5;margin:22px 0}
.completed-items{display:flex;gap:6px;margin:20px 0 28px}
.completed-items>span{width:72px;height:72px}
.completion-copy>.text-button{margin-top:14px}
.finish-badge{font-family:var(--heading);font-size:56px;line-height:1.2;color:#b47a32;margin:22px 0 30px}
.finish-badge span{font-family:Rubik,system-ui,sans-serif;font-size:18px;color:#6a7d6d;margin-left:8px}
dialog{max-width:min(540px,calc(100% - 24px));border:1px solid var(--line);padding:28px;border-radius:24px;background:var(--paper);color:#294a50}
dialog::backdrop{background:#294a5066}
dialog h2{font-family:var(--heading);font-size:29px;line-height:1.2;margin-bottom:16px}
dialog p{line-height:1.5}
.dialog-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:24px}
.dialog-actions .primary{font-size:17px;min-height:46px;padding:12px 16px}
@media(min-width:1600px) and (min-height:900px){.target-picture{width:min(100%,440px)}.options{max-width:760px}.option{--option-height:235px}.exercise{gap:55px}.board{padding:30px 40px 22px}.board-heading h1{font-size:34px}}
@media(max-width:1100px) and (min-width:601px){.exercise{grid-template-columns:minmax(210px,.8fr) minmax(0,1.2fr);gap:20px}.board{padding:22px 22px 16px}.target-picture{width:min(100%,310px)}.task-footer{grid-template-columns:135px minmax(0,1fr) 110px;gap:12px}.series-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.series-card-art{height:120px}.series-card-title{font-size:22px;min-height:50px}.series-description{min-height:20px}.series-card{padding:16px}.home{padding:32px;gap:20px}.hero-friend{height:430px}.hero-disc{width:260px;height:260px}.hero-friend>p{font-size:16px;right:-12px}.home h1{font-size:52px}.lead{font-size:19px}.completion{padding:32px;gap:30px}.completion-art{height:400px}.completion-art .hero-disc{width:230px;height:230px}.completion-copy>p:not(.eyebrow){font-size:19px}}
@media(min-width:1101px) and (max-height:800px){.home{padding:30px 55px}.home h1{font-size:57px}.hero-friend{height:470px}.lead{font-size:20px;margin:20px 0}.demo{margin:18px 0}.intro-note{margin-top:18px}.series-card-art{height:125px}.series-card{padding:16px 14px}.series-card-title{font-size:21px;min-height:50px}.series-description{font-size:12px;min-height:36px}.difficulty{margin-top:12px}.section-heading{margin-bottom:22px}.section-heading h1{font-size:36px}.menu-top{margin-bottom:20px}.target-picture{width:min(100%,290px)}.object-title{font-size:16px}.target-panel>p{margin-top:4px}.exercise{padding:10px 0}.board-heading{padding-bottom:12px}.board-heading h1{font-size:26px}}
@media(max-width:600px){
  .topbar{height:64px;padding:10px 16px}.brand{font-size:15px;gap:8px}.brand small{font-size:10px;margin-top:4px}.brand-mark{font-size:30px}.audience{font-size:11px;padding:7px 10px}main{padding:0 12px 12px}.screen{min-height:calc(100dvh - 76px)}
  .home{display:block;position:relative;padding:25px 22px 36px;border-radius:27px;overflow:hidden}.intro-copy{position:relative;z-index:2}.eyebrow{font-size:10px;letter-spacing:.1em;margin-bottom:18px}.home h1{font-size:41px;letter-spacing:-.04em}.lead{font-size:17px;margin:20px 0;line-height:1.5}.demo{gap:12px;margin:24px 0}.demo-picture{width:96px;height:92px;border-radius:21px}.demo-arrow{font-size:25px}.primary{font-size:19px;min-height:58px;padding:15px 23px;gap:16px}.intro-note{font-size:12px;line-height:1.5;margin-top:22px;max-width:200px}.hero-friend{position:absolute;right:0;bottom:25px;width:125px;height:220px;pointer-events:none}.hero-friend .hero-disc{width:125px;height:125px;top:27%}.hero-friend>p{display:none}
  .menu-top{margin:0 0 20px;gap:12px}.total-progress{font-size:13px}.section-heading{display:block;margin-bottom:24px}.section-heading h1{font-size:33px}.section-heading>p{font-size:14px;line-height:1.5;margin:14px 0 0}.series-cards{grid-template-columns:1fr;gap:16px}.series-card{display:grid;grid-template-columns:88px 1fr;grid-template-areas:'number number' 'art title' 'art description' 'art difficulty' 'art label' 'art bottom';gap:0 14px;padding:16px;border-radius:23px}.series-number{grid-area:number;margin-bottom:8px}.series-card-art{grid-area:art;width:88px;height:135px;margin:0}.series-card-title{grid-area:title;display:block;font-size:21px;min-height:0}.series-description{grid-area:description;font-size:12px;min-height:0;margin-top:5px}.difficulty{grid-area:difficulty;margin:11px 0 6px}.difficulty-label{grid-area:label;font-size:10px;min-height:0}.card-bottom{grid-area:bottom;margin-top:10px;padding-top:10px;font-size:15px}.control{min-height:44px;font-size:13px;padding:8px 11px;gap:6px}
  .play{min-height:0}.play-top{margin-bottom:10px;gap:8px}#task-counter{font-size:12px;white-space:nowrap}.repeat{font-size:21px;min-width:44px;padding:6px}.play-top #back-series{font-size:12px;padding:8px}.board{height:auto;min-height:0;padding:14px 12px 12px;border-radius:25px}.board-heading{padding-bottom:10px;gap:12px}.board-heading h1{font-size:23px}.task-dots{gap:4px}.task-dots span{width:14px;height:6px}.exercise{display:flex;flex-direction:column;gap:12px;padding:12px 0}.target-panel{width:100%}.object-title{font-size:15px;margin-bottom:4px}.target-picture{width:175px}.target-panel>p{display:none}.answer-panel{width:100%}.answer-panel h2{font-size:14px;margin-bottom:12px}.options{gap:10px;max-width:380px}.option{--option-height:120px;border-radius:19px;padding:8px}.option svg{width:min(100%,calc(var(--option-height) - 20px))}.options[data-count="5"]{gap:10px}.options[data-count="5"] .option{--option-height:112px}.task-footer{grid-template-columns:1fr 1fr;grid-template-areas:'feedback feedback' 'hint next';gap:10px 12px;padding-top:10px;min-height:98px}.feedback{grid-area:feedback;min-height:38px;display:flex;align-items:center;justify-content:center;font-size:15px;line-height:1.35}.hint{grid-area:hint;justify-self:start}.next{grid-area:next;min-height:44px;font-size:16px;padding:9px 15px;justify-self:end}.option.correct::after{width:21px;height:21px;line-height:21px;font-size:16px;top:4px;right:4px}
  .completion{display:flex;flex-direction:column;padding:22px 18px;gap:18px;text-align:center;border-radius:27px}.completion-art{height:210px}.completion-art .hero-disc{width:155px;height:155px;top:18%}.completion-copy .eyebrow{margin-bottom:14px}.completion-copy h1{font-size:32px}.completion-copy>p:not(.eyebrow){font-size:17px;margin:18px 0}.completed-items{justify-content:center;gap:4px;margin:18px 0 24px}.completed-items>span{width:48px;height:48px}.completion-copy>.text-button{margin:12px auto 0}.finish-badge{font-size:44px;margin:18px 0 24px}.finish-badge span{font-size:16px}
}
@media(max-width:360px){.home{padding:23px 18px 30px}.home h1{font-size:36px}.lead{font-size:16px}.demo-picture{width:83px;height:82px}.hero-friend{width:105px;height:185px;bottom:72px;right:-2px}.hero-friend .hero-disc{width:100px;height:100px}.intro-note{font-size:11px;max-width:175px}.options[data-count="5"]{grid-template-columns:repeat(2,minmax(0,1fr))}.options[data-count="5"] .option{--option-height:108px;grid-column:auto}.options[data-count="5"] .option:nth-child(4){grid-column:auto}.options[data-count="5"] .option:nth-child(5){grid-column:1 / -1;width:calc(50% - 5px);justify-self:center}.target-picture{width:145px}.board-heading h1{font-size:21px}.task-dots span{width:10px}.play-top #back-series{font-size:11px;gap:3px;padding:7px}.play-top{gap:6px}#task-counter{font-size:11px}.series-card{grid-template-columns:74px 1fr;gap:0 10px}.series-card-art{width:74px;height:126px}.series-card-title{font-size:20px}}
@media(max-height:700px) and (max-width:600px){.home .eyebrow{margin-bottom:14px}.home .lead{margin:16px 0}.home .demo{margin:18px 0}.intro-note{margin-top:18px}.completion{padding:18px 14px;gap:12px}.completion-art{height:145px}.completion-art .hero-disc{width:110px;height:110px}.completion-copy h1{font-size:28px}.completion-copy>p:not(.eyebrow){font-size:16px;margin:14px 0}.completed-items{margin:12px 0 18px}.finish-badge{font-size:36px;margin:14px 0 20px}}
@media(max-height:650px) and (min-width:601px){.topbar{height:62px}.screen{min-height:calc(100dvh - 86px)}.home{padding:24px 35px}.home h1{font-size:45px}.hero-friend{height:340px}.lead{font-size:18px;margin:16px 0}.demo{margin:16px 0}.demo-picture{width:86px;height:84px}.intro-note{font-size:12px;margin-top:16px}.home .primary{min-height:52px;font-size:18px;padding:14px 22px}.eyebrow{margin-bottom:14px}.board{height:calc(100dvh - 148px);padding:15px 24px 12px}.board-heading h1{font-size:23px}.board-heading{padding-bottom:10px}.exercise{padding:8px 0}.target-picture{width:220px}.target-panel>p{display:none}.option{--option-height:104px}.answer-panel h2{font-size:14px;margin-bottom:10px}.options,.options[data-count="5"]{gap:10px}.feedback{font-size:15px}.task-footer{min-height:55px;padding-top:9px}.completion-art{height:310px}.completion{padding:24px 40px}.completion-copy h1{font-size:38px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
.header-actions{display:flex;align-items:center;gap:12px}
.music-toggle{min-height:44px;font-size:13px;padding:8px 12px}
.music-icon{font-size:22px;line-height:1}
.music-toggle[aria-pressed="false"] .music-icon{text-decoration:line-through}
@media(max-width:600px){.header-actions .audience{display:none}.music-toggle{padding:8px 10px;gap:6px}}
