/* Original navy/mint palette retained. Learning layouts and optional home motion. */
.resource-grid.featured{grid-template-columns:repeat(6,minmax(0,1fr))}.resource-grid.featured>.resource-card{grid-column:span 2}.resource-grid.featured>.resource-card:nth-child(n+4){grid-column:span 3}.resource-visual{height:286px;padding:12px;background:#f5f6f3}.resource-visual img,.resource-card:first-child .resource-visual img{width:100%;height:100%;object-fit:contain;transform:none;filter:none}.resource-visual .freebadge{box-shadow:0 2px 10px #0002}.resource-body h3{font-family:Arial,Bangla,sans-serif;line-height:1.65}.resource-detail-link{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#bfcec9;min-height:43px;margin-top:auto}.resource-body>.text-link{margin-top:0}.resource-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:62px;align-items:start}.resource-cover-panel{background:var(--panel);padding:16px;border:1px solid var(--line);border-radius:17px;position:sticky;top:113px}.resource-cover-panel img{width:100%;max-height:420px;object-fit:contain;background:#f7f7f4;border-radius:10px}.resource-cover-panel p{font-size:13px;color:var(--muted);margin:19px 5px}.resource-cover-panel .button{width:100%;font-size:13px}.book.one{background:#f7f7f4}.book img{object-fit:contain;background:#f7f7f4}.lesson-steps{display:flex;flex-direction:column;gap:17px;margin:21px 0 31px}.lesson-step{display:grid;grid-template-columns:38px minmax(0,1fr);gap:15px;padding:21px;background:#101e2a;border:1px solid #293f4b;border-radius:12px}.lesson-number{display:flex;align-items:center;justify-content:center;width:33px;height:33px;border-radius:9px;background:#183a31;color:var(--mint);font-size:15px;font-weight:700;line-height:1}.lesson-step h3{font-size:17px;margin:0 0 8px;line-height:1.9}.lesson-step p{margin:0;font-size:14px;color:#b9ccd5;line-height:2.05}.check-list{padding:19px 23px 19px 39px!important;border:1px solid #2c4646;background:#102624;border-radius:12px;list-style-type:'✓  ';font-size:14px}.check-list li{margin:8px 0!important}.check-list li::marker{color:var(--mint)}.sample-output{font:14px/2.1 Bangla,sans-serif;white-space:pre-wrap;overflow-wrap:anywhere;background:#131d2a;border:1px solid var(--line);border-radius:11px;padding:22px;color:#c7d6dc}.troubleshooting{border:1px solid var(--line);border-radius:12px;padding:0 22px;background:#101a27}.troubleshooting details{padding:17px 0}.troubleshooting details+details{border-top:1px solid var(--line)}.troubleshooting summary{cursor:pointer;font-size:15px;font-weight:700;line-height:1.9}.troubleshooting p{font-size:14px;color:var(--muted);margin:12px 0 0}.related-links{font-size:14px}.prose a.button{text-decoration:none;color:inherit}.prose a.button.primary{color:#062b23}.learning-route{padding:24px;border:1px solid #31564c;border-radius:14px;background:#112820;margin-bottom:31px}.learning-route h2{font-size:20px;margin:0 0 16px}.route-links{display:flex;gap:10px;flex-wrap:wrap}.route-links a{display:inline-flex;align-items:center;border:1px solid #355f4f;border-radius:7px;padding:9px 13px;background:#18382d;color:#c7efdc;font-size:12px;min-height:43px}.route-links a:hover{background:#224a3b}.glossary{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:28px 0 0}.glossary>div{padding:20px;border:1px solid var(--line);border-radius:12px;background:var(--panel)}.glossary dt{font-size:14px;font-weight:700;color:var(--mint);margin-bottom:8px}.glossary dd{margin:0;color:var(--muted);font-size:13px}.motion-toggle{display:flex;gap:7px;align-items:center;justify-content:center;margin:18px auto 0;background:transparent;border:1px solid #2f4b46;border-radius:30px;padding:6px 13px;color:#9bb8af;font-size:9px;min-height:34px}.motion-toggle span{font-family:Arial,sans-serif;font-size:12px}.motion-toggle:hover{color:var(--mint);border-color:var(--mint)}.hero:before{content:'';position:absolute;width:440px;height:440px;right:6%;top:-75px;border-radius:50%;pointer-events:none;background:radial-gradient(ellipse,#75f3ce0e,transparent 70%)}.home-motion .hero-copy>.eyebrow{animation:home-enter .65s ease both}.home-motion .hero-copy>h1{animation:home-enter .75s .1s ease both}.home-motion .hero-copy>.lead{animation:home-enter .75s .2s ease both}.home-motion .hero-copy>.actions{animation:home-enter .75s .3s ease both}.home-motion .hero-copy>.hero-note{animation:home-enter .75s .4s ease both}.home-motion .hero-art{animation:home-enter .9s .2s ease both}.home-motion .book.one{animation:book-one-float 7s ease-in-out infinite}.home-motion .book.two{animation:book-two-float 8s .5s ease-in-out infinite}.home-motion .hero:before{animation:hero-glow 11s ease-in-out infinite alternate}.home-motion .live-dot{animation:dot-breathe 3.5s ease-in-out infinite}.home-motion .reveal-pending{opacity:0;transform:translateY(16px);transition:opacity .6s ease,transform .6s ease}.home-motion .reveal-visible{opacity:1;transform:none}.home-motion .resource-card:hover{transform:translateY(-6px);box-shadow:0 14px 35px #0003}.home-motion .guide-card .guide-art svg{transition:transform .3s ease}.home-motion .guide-card:hover .guide-art svg{transform:rotate(-6deg) scale(1.08)}.home-motion .faq-list details[open] p{animation:home-enter .3s ease}.home-motion.motion-paused *, .home-motion.motion-paused .hero:before,.home-motion.hero-inactive .hero:before,.home-motion.hero-inactive .hero .book{animation-play-state:paused!important}.home-motion.motion-paused .reveal-pending{opacity:1;transform:none;transition:none}.home-motion .hero-copy .actions .button:hover svg{transform:translateX(3px)}.home-motion .hero-copy .actions svg{transition:transform .2s ease}
@keyframes home-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes book-one-float{0%,100%{transform:rotate(-7deg) translate(3px,0)}50%{transform:rotate(-6deg) translate(3px,-9px)}}@keyframes book-two-float{0%,100%{transform:rotate(7deg) translate(-3px,-2px)}50%{transform:rotate(6deg) translate(-3px,6px)}}@keyframes hero-glow{from{opacity:.5;transform:translate(-15px,0) scale(.95)}to{opacity:1;transform:translate(25px,25px) scale(1.1)}}@keyframes dot-breathe{0%,100%{opacity:.65;box-shadow:0 0 5px #75f3ce22}50%{opacity:1;box-shadow:0 0 10px #75f3ce44}}
@media(max-width:950px){.resource-grid.featured{grid-template-columns:repeat(2,minmax(0,1fr))}.resource-grid.featured>.resource-card,.resource-grid.featured>.resource-card:nth-child(n+4){grid-column:auto}.resource-grid.featured>.resource-card:last-child{grid-column:1/-1}.resource-detail-layout{grid-template-columns:minmax(0,1fr) 250px;gap:28px}.resource-visual{height:260px}}
@media(max-width:800px){.resource-detail-layout{grid-template-columns:1fr}.resource-cover-panel{position:static;grid-row:1;max-width:440px;margin:0 auto 10px;width:100%}.resource-cover-panel img{max-height:340px}.glossary{gap:15px}.lesson-step{padding:19px;gap:12px}.lesson-step p{font-size:14px}.hero-art{padding-bottom:8px}.motion-toggle{margin-top:14px}}
@media(max-width:570px){.resource-grid.featured{grid-template-columns:1fr}.resource-grid.featured>.resource-card:last-child{grid-column:auto}.resource-visual{height:290px;padding:12px}.resource-detail-link{font-size:12px;min-height:44px}.resource-body h3{font-size:20px}.lesson-step{grid-template-columns:29px minmax(0,1fr);gap:11px;padding:18px 15px}.lesson-number{height:28px;width:28px;font-size:13px;border-radius:7px}.lesson-step h3{font-size:16px;line-height:1.9}.lesson-step p{font-size:14px;line-height:2.1}.check-list{font-size:13px;padding-left:33px!important}.sample-output{font-size:13px;padding:18px}.learning-route{padding:22px}.learning-route h2{font-size:18px}.route-links{gap:9px}.route-links a{font-size:11px;min-height:44px}.glossary{grid-template-columns:1fr}.glossary dt{font-size:14px}.glossary dd{font-size:13px}.motion-toggle{font-size:10px;min-height:38px}.resource-cover-panel{padding:14px}.resource-cover-panel img{max-height:330px}.resource-cover-panel .button{font-size:13px}.resource-detail-layout{gap:24px}}
@media(prefers-reduced-motion:reduce){.hero:before{display:none}.home-motion .reveal-pending{opacity:1;transform:none;transition:none}*,*:before,*:after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}
.art-grid{pointer-events:none}.motion-toggle{position:relative;z-index:3;font-size:10px;min-height:40px;padding:8px 15px}.book.one img{object-fit:cover;transform:scale(1.12)}
/* Three covers stay visible in the homepage resource animation. */
.hero h1 .accent{display:inline-block;font-size:.69em;line-height:1.65;letter-spacing:-.9px;white-space:nowrap}.hero .book-stage{display:block;height:326px;margin-inline:6px}.hero .book-stage .book{position:absolute;top:44px;width:35%;max-width:185px}.hero .book.one{left:0;z-index:3}.hero .book.two{left:32.5%;z-index:2;transform:rotate(0deg) translateY(-12px)}.hero .book.three{right:0;z-index:1;transform:rotate(8deg) translateY(5px);background:#f7f7f4}.book.three img{object-fit:cover;transform:scale(1.12)}.home-motion .book.three{animation:book-three-float 8.5s .8s ease-in-out infinite}.resource-more{margin:30px 0 0;display:flex;flex-wrap:wrap;gap:18px;align-items:center;justify-content:space-between;padding:22px 25px;border:1px solid var(--line);border-radius:13px;background:var(--panel)}.resource-more p{font-size:14px;color:var(--muted);margin:0;max-width:570px}.resource-more .button{font-size:12px;flex-shrink:0}
@keyframes book-two-float{0%,100%{transform:rotate(0deg) translateY(-12px)}50%{transform:rotate(.8deg) translateY(-20px)}}
@keyframes book-three-float{0%,100%{transform:rotate(8deg) translateY(5px)}50%{transform:rotate(7deg) translateY(-3px)}}
@media(max-width:800px){.hero .book-stage{height:290px}.hero .book-stage .book{top:30px}.hero h1 .accent{font-size:.84em}}
@media(max-width:570px){.hero .book-stage{height:234px;margin-inline:2px}.hero .book-stage .book{top:29px;padding:5px;border-radius:8px}.hero h1 .accent{font-size:clamp(20px,6.6vw,29px);letter-spacing:-.6px}.resource-more{padding:20px}.resource-more p{font-size:13px}.resource-more .button{width:100%}}
@media(max-width:350px){.hero .book-stage{height:205px}.hero h1 .accent{font-size:20px}}

.hero-copy,.hero-art{min-width:0}
@media(min-width:801px) and (max-width:1050px){.hero h1 .accent{font-size:.62em;letter-spacing:-.7px}}
