@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Noto+Naskh+Arabic:wght@500;600&display=swap');
:root{--ink:#293b34;--muted:#78857d;--green:#477657;--deep:#254a39;--paper:#fffdf7;--line:#e7e6d8;--gold:#e7bb61;font-family:Manrope,system-ui,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#faf9f1;color:var(--ink)}a{color:inherit}
.topbar{position:sticky;z-index:4;top:0;display:flex;min-height:70px;align-items:center;justify-content:space-between;gap:1rem;padding:0 clamp(1rem,6vw,5rem);border-bottom:1px solid #ecebdd;background:rgba(255,253,247,.94);backdrop-filter:blur(15px)}
.brand{display:flex;align-items:center;gap:.7rem;text-decoration:none}.brand-icon{display:grid;width:40px;height:40px;place-items:center;border-radius:15px;background:#dce8d9;color:var(--green);font-size:1.45rem}.brand strong,.brand small{display:block}.brand strong{font-size:.84rem}.brand small{margin-top:.16rem;color:#849187;font-size:.57rem;font-weight:800;letter-spacing:.11em}
.topbar nav{display:flex;gap:1.3rem}.topbar nav a{color:#596a60;font-size:.73rem;font-weight:750;text-decoration:none}
.hero{display:grid;min-height:430px;grid-template-columns:1.1fr .9fr;align-items:center;overflow:hidden;padding:2.8rem clamp(1rem,9vw,8rem);background:linear-gradient(120deg,#f1efd9,#f6ead2 65%,#e5efdf)}
.hero-copy{position:relative;z-index:1;max-width:590px}.eyebrow{display:flex;align-items:center;gap:.45rem;color:#668065;font-size:.66rem;font-weight:850;letter-spacing:.12em}.eyebrow>span{color:#d7a83e}
.hero h1{margin:.8rem 0 .7rem;color:#294a38;font-size:clamp(2.8rem,6.4vw,5rem);letter-spacing:-.075em;line-height:1.03}.hero h1 em{color:#bd8950;font-style:normal}.hero-copy>p:not(.eyebrow){max-width:505px;color:#68796e;font-size:.88rem;line-height:1.8}
.hero-button{display:inline-flex;gap:1.1rem;align-items:center;margin-top:.8rem;padding:.82rem 1rem;border-radius:13px;background:#3c6d4b;color:#fff;font-size:.76rem;font-weight:800;text-decoration:none}
.hero-art{position:relative;display:grid;width:min(100%,360px);aspect-ratio:1;place-items:center;justify-self:center}.sun{position:absolute;top:11%;right:17%;width:70px;height:70px;border-radius:50%;background:#f1cf70;box-shadow:0 0 0 14px rgba(241,207,112,.15),0 0 48px rgba(241,207,112,.3)}
.book{position:relative;display:grid;width:205px;height:150px;place-items:center;border:7px solid #698b65;border-bottom-width:11px;border-radius:14px 14px 7px 7px;background:linear-gradient(90deg,#f9f4df 49%,#e7e3ca 50%);box-shadow:0 24px 30px rgba(47,74,48,.19);color:#68865b;transform:rotate(-5deg)}.book:before{position:absolute;top:-18px;left:50%;width:7px;height:165px;background:#79916a;content:"";transform:translateX(-50%)}.book span{font:600 1.45rem "Noto Naskh Arabic",serif}.book i{position:absolute;right:22px;bottom:17px;color:#d0a24d;font-style:normal}
.cloud{position:absolute;width:92px;height:26px;border-radius:40px;background:rgba(255,255,255,.58)}.cloud:before,.cloud:after{position:absolute;bottom:8px;width:33px;height:33px;border-radius:50%;background:inherit;content:""}.cloud:before{left:17px}.cloud:after{right:15px;width:26px;height:26px}.cloud-one{top:29%;left:6%}.cloud-two{right:4%;bottom:24%;transform:scale(.7)}.flower{position:absolute;bottom:12%;left:18%;color:#dcaa57;font-size:2rem}
.welcome-strip{display:flex;max-width:1040px;align-items:center;gap:.9rem;margin:-1.1rem auto 0;padding:.8rem 1.1rem;border:1px solid #eee8d6;border-radius:17px;background:#fffefa;box-shadow:0 12px 30px rgba(72,73,42,.06)}.welcome-icon{display:grid;width:42px;height:42px;place-items:center;border-radius:14px;background:#fff2ce;color:#c39437;font-size:1.3rem}.welcome-strip p{flex:1;margin:0;color:#65736a;font-size:.74rem;line-height:1.6}.welcome-strip strong{color:#385a41}.strip-star{color:#d5ad64;font-size:1.4rem}
.section{max-width:1050px;margin:0 auto;padding:4rem 1.3rem 1rem}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:1rem;margin-bottom:1.15rem}.section-heading h2{margin:.25rem 0;color:#294a38;font-size:clamp(1.35rem,3vw,1.85rem);letter-spacing:-.04em}.section-heading p{margin:.35rem 0 0;color:var(--muted);font-size:.77rem}.eyebrow.dark{color:#8a957d}.score-pill{padding:.6rem .8rem;border:1px solid #ede5cf;border-radius:999px;background:#fffaf0;color:#796641;font-size:.69rem;font-weight:800;white-space:nowrap}
.quiz-card{max-width:720px;margin:0 auto;padding:clamp(1.1rem,4vw,2rem);border:1px solid #e8e5d5;border-radius:22px;background:#fffefa;box-shadow:0 20px 45px rgba(62,70,47,.08)}.quiz-top{display:grid;grid-template-columns:1fr auto;gap:.5rem;color:#768477;font-size:.68rem;font-weight:800}.quiz-stars{color:#d7b660}.progress{grid-column:1/-1;height:7px;overflow:hidden;border-radius:99px;background:#eef0e4}.progress span{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#6e9c70,#d7b660);transition:width .2s ease}
.quiz-card h3{margin:1.35rem 0 1rem;color:#354c3e;font-size:1.12rem;line-height:1.55}.answer-options{display:grid;gap:.55rem}.answer-option{display:flex;align-items:center;gap:.7rem;padding:.8rem;border:1px solid #e9ebdf;border-radius:13px;background:#fff;color:#526157;text-align:left;font:650 .79rem Manrope,system-ui,sans-serif;cursor:pointer}.answer-option:hover,.answer-option:focus-visible{border-color:#9eb99a;background:#f7faf1;outline:none}.answer-option[aria-pressed="true"]{border-color:#6a966c;background:#eef5e9;color:#335940}.answer-option:disabled{cursor:default}.answer-option.correct{border-color:#73a27b;background:#edf7ed}.answer-option.incorrect{border-color:#db9c8c;background:#fff2ed}.option-letter{display:grid;width:28px;height:28px;flex:0 0 auto;place-items:center;border-radius:9px;background:#f1f1e7;color:#718169;font-size:.72rem;font-weight:850}
.feedback{min-height:1.3rem;margin:.8rem 0 0;color:#68865c;font-size:.76rem;font-weight:750}.feedback[data-result="wrong"]{color:#a46e52}.quiz-actions{display:flex;justify-content:space-between;gap:.6rem;margin-top:.7rem}.button{min-height:43px;padding:.65rem .9rem;border:1px solid transparent;border-radius:12px;font:750 .73rem Manrope,system-ui,sans-serif;cursor:pointer}.button:disabled{opacity:.55;cursor:not-allowed}.primary{background:#477657;color:#fff}.secondary{border-color:#dfe6db;background:#fff;color:#49644d}
.story-section{padding-top:3.3rem}.story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem}.story-card{display:flex;min-height:205px;flex-direction:column;align-items:flex-start;padding:1rem;border:1px solid #ece6d3;border-radius:18px;background:#fffefa}.story-sun{background:linear-gradient(145deg,#fff6df,#fffefa)}.story-sky{background:linear-gradient(145deg,#eaf4ef,#fffefa)}.story-peach{background:linear-gradient(145deg,#fff0e5,#fffefa)}.story-art{display:grid;width:45px;height:45px;place-items:center;border-radius:15px;background:rgba(255,255,255,.72);font-size:1.45rem}.story-tag{display:block;margin-top:.8rem;color:#8b936f;font-size:.58rem;font-weight:850;letter-spacing:.12em}.story-card h3{margin:.3rem 0;color:#3f5744;font-size:.94rem}.story-card p{margin:0;color:#738078;font-size:.72rem;line-height:1.65}
.parent-note{display:flex;max-width:1000px;gap:.75rem;margin:2rem auto 3rem;padding:.9rem 1rem;border:1px solid #e8e7dc;border-radius:14px;background:#f4f5ed;color:#68756b}.parent-note>span{color:#c28f6f;font-size:1.25rem}.parent-note p{margin:0;font-size:.69rem;line-height:1.65}.parent-note strong{color:#425e49}
footer{display:flex;justify-content:space-between;gap:1rem;padding:1.15rem clamp(1rem,6vw,5rem);border-top:1px solid #e8e7dc;background:#fffefa;color:#7c897f;font-size:.69rem}footer a{color:#49734f;font-weight:800;text-decoration:none}
@media(max-width:760px){.hero{grid-template-columns:1fr;padding:2.5rem 1.2rem 1.5rem}.hero-art{width:260px;margin-top:.8rem}.welcome-strip{width:calc(100% - 1.5rem)}.section-heading{align-items:flex-start;flex-direction:column}.story-grid{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.topbar{min-height:62px}.topbar nav{gap:.65rem}.topbar nav a{font-size:.62rem}.topbar nav a:first-child{display:none}.brand strong{font-size:.75rem}.brand small{font-size:.5rem}.hero-art{width:220px}.section{padding:3rem 1rem .5rem}.story-grid{grid-template-columns:1fr}.story-card{min-height:0}.section-heading h2{font-size:1.35rem}.quiz-card h3{font-size:1rem}.answer-option{font-size:.74rem}.parent-note{margin:1.5rem .75rem 2rem}footer{flex-wrap:wrap}footer span{order:3;width:100%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.progress span{transition:none}}
.quiz-settings{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}
.quiz-settings select{margin-left:.3rem;padding:.35rem .5rem;border:1px solid #ede5cf;border-radius:9px;background:#fff;color:#594c31;font:inherit;font-size:.68rem}
@media(max-width:520px){.quiz-settings{width:100%;justify-content:space-between}.quiz-settings .score-pill{font-size:.62rem}}
