@font-face{font-family:Amiri;src:url('assets/fonts/Amiri-Regular.ttf') format('truetype');font-display:swap}*{box-sizing:border-box} :root{--ink:#234b3d;--green:#286650;--cream:#faf8f0;--muted:#63766c;--yellow:#f6c85d;--border:#e1e5d9}body{margin:0;background:var(--cream);color:var(--ink);font-family:'Trebuchet MS',Arial,sans-serif;font-size:16px;line-height:1.5}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button:disabled{cursor:default}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #b66d00;outline-offset:5px}button{border:0}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.12}h1{font-size:clamp(36px,4.3vw,60px);letter-spacing:-2.7px}h2{font-size:30px;letter-spacing:-1px}h3{font-size:22px;letter-spacing:-.4px}.header{max-width:1320px;padding:25px 40px;margin:auto;display:flex;align-items:center;gap:35px}.brand{display:flex;align-items:center;gap:12px;font-size:19px;font-weight:bold;white-space:nowrap}.brand small{font-size:9px;letter-spacing:2px;display:block;margin-top:1px}.brand-icon{background:var(--green);color:#fff;border-radius:15px 15px 7px 15px;width:45px;height:49px;text-align:center;font:39px Amiri}.header nav{display:flex;gap:27px;margin:auto;font-size:14px;font-weight:bold}.header nav a{padding:10px 0;border-bottom:2px solid transparent}.header nav a.active{color:var(--green);border-color:var(--green)}.header-tools{display:flex;gap:12px;align-items:center}.star-counter{background:#fff0c5;padding:9px 17px;border-radius:25px;white-space:nowrap}.star-counter span{color:#a56800}.icon-btn{border:1px solid var(--border);background:transparent;border-radius:50%;width:42px;height:42px;font-size:23px}.icon-btn:hover{background:#e5efdf}main{max-width:1240px;margin:auto;padding:22px 40px 55px;min-height:70vh}.eyebrow{font-size:11px;font-weight:bold;letter-spacing:2px;display:block;margin-bottom:17px}.hero{background:#e8eedc;border-radius:28px;min-height:360px;display:grid;grid-template-columns:1.2fr 1fr;position:relative;overflow:hidden;padding:48px 50px}.hero-copy{position:relative;z-index:1}.hero h1{max-width:560px;margin-bottom:20px}.hero h1 em{font-style:normal;color:#60823f}.hero p{max-width:370px;color:#52674e;font-size:16px;margin-bottom:25px}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:15px;padding:14px 24px;border-radius:13px;font-weight:bold}.primary{background:var(--green);color:white;box-shadow:0 4px 0 #184b39}.primary:hover{background:#1f5944;transform:translateY(-1px)}.secondary{background:#fff;border:1px solid var(--border);box-shadow:0 3px 0 #e3e7db}.secondary:hover{background:#f2f5e9}.hero-note{font-size:12px;display:block;margin-top:19px;color:#617457}.hero-art{position:relative;display:flex;align-items:center;justify-content:center;isolation:isolate}.hero-art:before{content:'';position:absolute;width:300px;height:300px;background:#d6e1bd;border-radius:50% 45% 47% 40%;z-index:-1;transform:rotate(-18deg)}.picture{display:block;flex-shrink:0;width:130px;aspect-ratio:1;background-image:url('assets/picture-atlas.png');background-size:700% 400%;background-position:var(--x) var(--y);background-repeat:no-repeat;margin:auto}.hero-art>.picture{width:255px;transform:rotate(-4deg)}.float-letter{position:absolute;background:#fffaf0;box-shadow:0 7px 0 #c8d5af;color:var(--green);font:56px Amiri;width:72px;height:83px;text-align:center;border-radius:17px;transform:rotate(-13deg);left:0;top:13px}.float-letter.two{left:auto;right:0;top:65px;transform:rotate(12deg);color:#a97326;background:#ffecb7}.float-letter.three{top:auto;bottom:0;left:32px;transform:rotate(8deg);background:#eacdd4;color:#985b6a}.sparkle{position:absolute;color:#9b7c24;font-size:28px;right:47px;bottom:17px}.mascot-bubble{position:absolute;right:0;bottom:73px;background:white;padding:8px 15px;border-radius:13px;font-size:12px;transform:rotate(-5deg)}.intro-strip{display:flex;justify-content:space-between;gap:18px;align-items:center;margin:29px 0 32px;padding:0 5px}.intro-strip p{margin:0;font-size:14px;color:var(--muted)}.section-top{display:flex;align-items:center;justify-content:space-between;margin:32px 0 20px;gap:16px}.section-top h2{margin:0;font-size:26px}.section-top p{color:var(--muted);font-size:14px;margin:8px 0 0}.pill{border:1px solid #d6dfca;padding:6px 12px;border-radius:30px;font-size:12px;white-space:nowrap}.worlds{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.world-card{text-align:left;position:relative;min-height:233px;padding:20px;border-radius:20px;background:var(--card,#eef1df);border:1px solid #00000008;transition:transform .18s}.world-card:hover{transform:translateY(-5px)}.world-card .picture{width:94px;margin:0 auto 9px}.world-card small{font-size:10px;letter-spacing:1.5px;font-weight:bold;color:#5e6b58}.world-card h3{margin:6px 0 10px;font-size:19px}.world-bottom{display:flex;align-items:center;justify-content:space-between}.world-letters{font:23px Amiri;word-spacing:7px}.circle-arrow{border:1px solid #0002;border-radius:50%;width:27px;height:27px;display:grid;place-items:center}.done-mark{position:absolute;right:16px;top:14px;color:#286650;font-size:13px}.play-banner{margin-top:28px;display:grid;grid-template-columns:auto 1fr auto;gap:22px;align-items:center;border:1px solid var(--border);border-radius:20px;padding:23px 28px;background:#fffcf4}.play-banner h3{margin-bottom:7px}.play-banner p{margin:0;color:var(--muted);font-size:14px}.play-banner .picture{width:65px}footer{max-width:1160px;margin:0 auto;padding:25px 0;border-top:1px solid var(--border);display:flex;justify-content:space-between;color:var(--muted);font-size:12px;gap:18px}.text-btn{padding:3px;background:none;text-decoration:underline;text-underline-offset:4px;font-size:12px}.page-head{margin:15px 0 30px}.page-head h1{font-size:43px;margin-bottom:13px}.page-head p{color:var(--muted)}.alphabet-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:15px;direction:rtl}.letter-tile{border-radius:18px;background:#fff;border:1px solid var(--border);padding:12px;direction:ltr;box-shadow:0 3px 0 #e5e9dc}.letter-tile:hover{background:#e8eedc}.letter-tile .arabic{display:block;font-size:57px;line-height:1.5}.letter-tile small{font-size:12px}.arabic{font-family:Amiri,serif;direction:rtl}.back{background:none;padding:10px 0;font-weight:bold;font-size:14px;margin-bottom:18px}.lesson{background:#fff;border:1px solid var(--border);border-radius:26px;padding:30px;max-width:870px;margin:auto}.lesson-top{display:flex;justify-content:space-between;align-items:center;gap:15px}.lesson-top .eyebrow{margin:0}.lesson-body{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:center;padding:22px 0}.letter-big{font:160px/1.35 Amiri;background:#edf1e4;border-radius:23px;text-align:center;margin-bottom:18px}.letter-name{font-size:30px;text-align:center;margin:0}.lesson-body .picture{width:165px}.word-ar{font:48px/1.6 Amiri;text-align:center;margin:0}.word-meaning{text-align:center;margin:0 0 15px;color:var(--muted)}.listen{background:#edf2e7;border-radius:25px;padding:9px 17px;display:block;margin:12px auto;font-weight:bold;font-size:13px}.lesson-hint{font-size:14px;color:var(--muted);background:#faf8ef;padding:16px;border-radius:14px}.lesson-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px}.dots{display:flex;gap:8px}.dots span{height:8px;width:8px;border-radius:50%;background:#dbe2cf}.dots .current{background:var(--green);width:20px;border-radius:10px}.word-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.word-card{background:#fff;border:1px solid var(--border);border-radius:20px;padding:19px;text-align:center}.word-card .word-ar{font-size:35px}.word-card .picture{width:104px}.word-card .word-meaning{font-size:14px;margin-bottom:0}.word-card:hover{background:#f1f4e9}.quiz-shell{max-width:800px;margin:0 auto}.quiz-top{display:flex;justify-content:space-between;font-size:13px;font-weight:bold}.progress{height:9px;background:#e3e9d8;border-radius:9px;margin:14px 0 32px;overflow:hidden}.progress span{display:block;background:var(--green);height:100%;transition:width .3s}.question{text-align:center}.question h1{font-size:32px;letter-spacing:-1px;margin:14px 0}.question .picture{width:150px}.question .word-ar{font-size:58px}.choices{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:25px 0 20px}.choice{background:#fff;border:2px solid #e0e5d8;border-radius:20px;padding:16px 10px;box-shadow:0 4px 0 #dce3d2;min-height:120px}.choice .arabic{font-size:67px}.choice .picture{width:min(120px,100%)}.choice:hover:not(:disabled){background:#edf3e6;border-color:#7d9b66}.choice.wrong{border-color:#d29d6b;background:#fff0df}.choice.correct{background:#dcefd8;border-color:#42814e}.feedback{min-height:90px;background:#eef1e7;border-radius:16px;padding:17px 20px;display:flex;justify-content:space-between;align-items:center;gap:15px}.feedback p{margin:0;font-size:14px}.feedback strong{display:block;font-size:17px;margin-bottom:3px}.feedback .primary{padding:10px 18px}.results{text-align:center;background:#eaf0df;border-radius:28px;padding:40px;max-width:700px;margin:15px auto}.results>.picture{width:145px}.results h1{font-size:43px;margin:18px 0}.results p{color:var(--muted)}.result-stars{font-size:33px;color:#9a6900;letter-spacing:10px;margin:15px}.results .actions{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;margin-top:25px}.memory-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:26px 0}.memory-card{height:155px;background:#286650;color:#fff;border:3px solid #286650;border-radius:20px;box-shadow:0 4px 0 #1b4c3b;font-size:40px}.memory-card .picture{width:90px}.memory-card.face-up,.memory-card.matched{background:#fff;color:var(--ink);box-shadow:none}.memory-card.matched{background:#e6f0dc;border-color:#a9c190}.memory-card .arabic{font-size:40px}.memory-card small{display:block;font-size:12px}.treasure-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:15px}.sticker{border:1px dashed #cdd8bd;border-radius:20px;padding:18px 5px;text-align:center;font-size:12px}.sticker .picture{width:90px;max-width:90%}.sticker.empty{background:#eeeede;color:#617057}.empty-icon{height:90px;display:grid;place-items:center;font-size:35px;color:#a5b293}.notice{font-size:13px;color:#715b30;text-align:center}dialog{border:1px solid var(--border);border-radius:23px;background:var(--cream);color:var(--ink);max-width:580px;width:calc(100% - 30px);padding:36px;max-height:90vh}dialog::backdrop{background:#19372bc4}dialog p{font-size:14px;line-height:1.65}.dialog-close.icon-btn{float:right}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.loading{text-align:center;padding:80px}.summary-count{font-size:45px;font-weight:bold;color:var(--green)}.celebrate{animation:pop .5s ease-out}@keyframes pop{0%{transform:scale(.8)}65%{transform:scale(1.08)}100%{transform:scale(1)}}@media(max-width:1000px){.header{gap:20px;padding:20px 25px}.header nav{gap:15px;font-size:12px}.brand{font-size:16px}main{padding:20px 25px 40px}.hero{padding:35px}.hero-art>.picture{width:220px}.hero-art:before{width:240px;height:260px}.float-letter{left:-10px}.worlds{grid-template-columns:repeat(3,1fr)}footer{margin:0 25px}.treasure-grid{grid-template-columns:repeat(4,1fr)}}@media(max-width:700px){.header{flex-wrap:wrap;justify-content:space-between;padding:17px 20px 0;gap:12px}.header nav{order:3;width:100%;justify-content:space-between;gap:5px}.header-tools{gap:8px}.star-counter{padding:7px 12px}.brand{font-size:15px}.brand-icon{height:40px;width:37px;font-size:31px}.header .icon-btn{width:36px;height:36px}.header nav a{font-size:12px}main{padding:20px 18px 35px}.hero{grid-template-columns:1fr;padding:30px 25px;min-height:0}.hero h1{font-size:42px;letter-spacing:-1.8px;max-width:320px}.hero-art{height:230px;margin-top:25px}.hero-art>.picture{width:210px}.hero-art:before{width:220px;height:210px}.float-letter{left:14px;top:0;font-size:43px;width:57px;height:67px}.float-letter.two{right:4px;top:20px}.float-letter.three{bottom:0;left:35px}.mascot-bubble{bottom:18px;right:0}.hero-note{font-size:11px}.intro-strip{margin:22px 0;align-items:flex-start}.intro-strip p{font-size:12px}.intro-strip .pill{font-size:10px}.section-top h2{font-size:24px}.section-top .pill{display:none}.worlds{grid-template-columns:repeat(2,1fr);gap:12px}.world-card{padding:16px;min-height:220px}.world-card h3{font-size:17px}.world-card .picture{width:85px}.world-letters{font-size:22px;word-spacing:4px}.play-banner{padding:20px;grid-template-columns:auto 1fr;gap:14px}.play-banner .secondary{grid-column:1/-1}.play-banner h3{font-size:19px}.play-banner .picture{width:55px}footer{margin:0 18px;flex-direction:column;align-items:center;text-align:center;gap:8px;padding:20px}.alphabet-grid{grid-template-columns:repeat(4,1fr);gap:10px}.letter-tile{padding:8px 4px}.letter-tile .arabic{font-size:46px}.page-head h1{font-size:35px}.lesson{padding:20px}.lesson-body{gap:15px}.letter-big{font-size:115px}.lesson-body .picture{width:110px}.lesson-body .word-ar{font-size:35px}.letter-name{font-size:22px}.word-meaning{font-size:12px}.lesson-hint{font-size:12px}.lesson-actions{flex-wrap:wrap}.lesson-actions .primary,.lesson-actions .secondary{padding:12px 15px;font-size:13px}.word-grid{grid-template-columns:repeat(2,1fr);gap:12px}.word-card{padding:12px}.word-card .word-ar{font-size:32px}.word-card .picture{width:100px}.choices{grid-template-columns:repeat(2,1fr);gap:13px}.choice{min-height:105px;padding:10px}.choice .arabic{font-size:58px}.choice .picture{width:100px}.question h1{font-size:27px}.question .picture{width:120px}.feedback{padding:15px;flex-wrap:wrap}.memory-grid{gap:9px}.memory-card{height:116px;font-size:28px;border-radius:14px}.memory-card .picture{width:58px}.memory-card .arabic{font-size:27px}.memory-card small{font-size:10px}.results{padding:30px 20px}.results h1{font-size:35px}.treasure-grid{grid-template-columns:repeat(3,1fr);gap:10px}.intro-strip .summary-count{font-size:32px}}@media(prefers-reduced-motion:reduce){*,*:before{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

h1[tabindex='-1']:focus{outline:none}
