:root{
  --ink:#16342d;
  --green:#2f7d62;
  --green2:#4fa77f;
  --cream:#fffaf0;
  --paper:#ffffff;
  --yellow:#f4c64e;
  --blue:#5c8fe8;
  --purple:#8c6bd8;
  --orange:#ef8b45;
  --muted:#66766f;
  --line:#e2eadf;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Arial,Helvetica,sans-serif;
  color:var(--ink);
  background:var(--cream);
  line-height:1.55;
}
a{color:inherit}
.wrap{width:min(1160px,92vw);margin:0 auto}
.site-header{
  position:sticky;top:0;z-index:20;
  background:rgba(255,250,240,.96);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(10px);
}
.nav{height:74px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-weight:800;font-size:1.2rem}
.brand-mark{
  width:42px;height:42px;border-radius:14px;
  display:grid;place-items:center;background:var(--green);color:#fff;font-weight:900;
}
.navlinks{display:flex;gap:22px;align-items:center;font-weight:700;font-size:.96rem}
.navlinks a{text-decoration:none}
.parent-pill{padding:10px 14px;border:1px solid var(--line);background:#fff;border-radius:999px}
.hero{padding:78px 0 48px}
.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:48px;align-items:center}
.eyebrow{font-weight:800;color:var(--green);letter-spacing:.04em;text-transform:uppercase;font-size:.83rem}
h1{font-size:clamp(2.5rem,6vw,5.2rem);line-height:.98;margin:12px 0 22px;letter-spacing:-.04em}
.lede{font-size:1.2rem;color:var(--muted);max-width:650px}
.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.btn{display:inline-block;padding:13px 18px;border-radius:14px;text-decoration:none;font-weight:800}
.btn-primary{background:var(--green);color:#fff}
.btn-secondary{background:#fff;border:1px solid var(--line)}
.hero-art{
  min-height:390px;border-radius:34px;
  background:linear-gradient(150deg,#dff4e8,#fff1bf);
  border:1px solid var(--line);position:relative;overflow:hidden;
  display:grid;place-items:center;padding:28px;text-align:center
}
.pencil{font-size:7rem;transform:rotate(-8deg)}
.hero-art strong{display:block;font-size:1.4rem;margin-top:8px}
.section{padding:54px 0}
.section h2{font-size:clamp(2rem,4vw,3.3rem);margin:0 0 12px;letter-spacing:-.03em}
.section-lede{color:var(--muted);max-width:760px;margin-bottom:28px}
.gateway{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.card{
  background:#fff;border:1px solid var(--line);border-radius:24px;padding:24px;
  min-height:210px;box-shadow:0 8px 30px rgba(31,71,58,.05)
}
.card .icon{font-size:2rem}.card h3{margin:14px 0 8px;font-size:1.25rem}.card p{color:var(--muted)}
.card:nth-child(1){border-top:6px solid var(--yellow)}
.card:nth-child(2){border-top:6px solid var(--green2)}
.card:nth-child(3){border-top:6px solid var(--blue)}
.card:nth-child(4){border-top:6px solid var(--purple)}
.safety{
  display:grid;grid-template-columns:1fr 1fr;gap:22px;
  background:#173f35;color:#fff;border-radius:30px;padding:34px
}
.safety p{color:#dce9e4}
.list{display:grid;gap:12px}.tick{display:flex;gap:10px;align-items:flex-start}
.tick b{color:#fff}
.notice{
  background:#fff;border:1px solid var(--line);padding:24px;border-radius:22px;
}
.footer{border-top:1px solid var(--line);padding:34px 0 44px;margin-top:40px;background:#fff}
.footer-grid{display:flex;justify-content:space-between;gap:30px;flex-wrap:wrap}
.footer a{text-decoration:none;color:var(--muted);margin-right:18px}
.page{padding:54px 0 80px}
.page article{background:#fff;border:1px solid var(--line);border-radius:24px;padding:clamp(24px,4vw,48px)}
.page h1{font-size:clamp(2.2rem,5vw,4rem)}
.page h2{margin-top:34px}
.page li{margin-bottom:8px}
.small{font-size:.9rem;color:var(--muted)}
@media (max-width:900px){
  .hero-grid,.safety{grid-template-columns:1fr}
  .gateway{grid-template-columns:repeat(2,1fr)}
  .navlinks a:not(.parent-pill){display:none}
}
@media (max-width:560px){
  .hero{padding-top:48px}.gateway{grid-template-columns:1fr}
  .hero-art{min-height:300px}.nav{height:66px}
}

.trustbar{background:#fff;border-block:1px solid var(--line)}
.trustgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding:18px 0}
.trustitem{text-align:center;font-weight:800;font-size:.92rem}
.featuregrid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.feature{background:#fff;border:1px solid var(--line);border-radius:22px;padding:24px}
.feature h3{margin:8px 0}.feature p{color:var(--muted)}
.band{background:linear-gradient(135deg,#fff3c9,#e2f5ea);border-block:1px solid var(--line)}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.step{padding:22px;border-radius:22px;background:rgba(255,255,255,.7)}
.stepnum{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:var(--ink);color:#fff;font-weight:900}
.cta{background:#fff;border:1px solid var(--line);border-radius:30px;padding:36px;display:flex;justify-content:space-between;gap:24px;align-items:center}
.badge{display:inline-flex;padding:7px 10px;border-radius:999px;background:#e6f5ed;font-weight:800;font-size:.82rem}
@media(max-width:900px){.trustgrid,.featuregrid,.steps{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.trustgrid,.featuregrid,.steps{grid-template-columns:1fr}.cta{display:block}}

/* V1.2 learning library */
.resource-launch{background:#f4fbf7;border-block:1px solid var(--line)}
.resource-launch-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:30px;align-items:center}
.launch-numbers{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.launch-numbers div{background:#fff;border:1px solid var(--line);border-radius:20px;padding:18px;text-align:center}.launch-numbers strong{display:block;font-size:2rem;color:var(--green)}.launch-numbers span{font-size:.85rem;color:var(--muted)}
.resource-hero{padding:70px 0 50px;background:linear-gradient(145deg,#fffaf0,#eef8f2)}
.resource-hero-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:35px;align-items:center}
.resource-stat-panel{background:#173f35;color:#fff;border-radius:28px;padding:28px;display:grid;grid-template-columns:auto 1fr;gap:8px 14px;align-items:baseline}.resource-stat-panel strong{font-size:2.5rem;color:#f4c64e}.resource-stat-panel span{color:#dce9e4}
.resource-index{padding:45px 0}.resource-world{padding:20px 0 55px}.world-heading{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:24px}.world-heading h2{font-size:clamp(2rem,4vw,3rem);margin:4px 0}.world-heading p{color:var(--muted);max-width:720px;margin:0}.world-count{white-space:nowrap;background:#e6f5ed;padding:9px 13px;border-radius:999px;font-weight:800}
.resource-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.resource-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:20px;display:flex;flex-direction:column;min-height:270px;box-shadow:0 7px 24px rgba(31,71,58,.04)}.resource-card h3{font-size:1.18rem;line-height:1.25;margin:12px 0 7px}.resource-card h3 a{text-decoration:none}.resource-card p{color:var(--muted);font-size:.94rem;flex:1}.resource-top,.resource-meta{display:flex;justify-content:space-between;gap:10px;align-items:center}.resource-icon{font-size:1.4rem}.resource-age,.resource-meta{font-size:.8rem;color:var(--muted)}.resource-meta{border-top:1px solid var(--line);padding-top:12px}.resource-link{font-weight:800;color:var(--green);text-decoration:none;margin-top:14px}
.resource-detail{padding:36px 0 60px}.breadcrumbs{display:flex;gap:9px;align-items:center;font-size:.9rem;color:var(--muted);margin-bottom:32px}.breadcrumbs a{color:var(--muted)}.resource-detail-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:42px;align-items:center}.resource-detail h1{font-size:clamp(2.5rem,5.6vw,4.8rem);line-height:1;margin:10px 0 20px;letter-spacing:-.04em}.resource-facts{display:flex;gap:10px;flex-wrap:wrap;margin:24px 0}.resource-facts span{background:#fff;border:1px solid var(--line);border-radius:14px;padding:10px 12px;color:var(--muted)}.resource-facts b{color:var(--ink)}.download-note{font-size:.9rem;color:var(--muted)}.printable-preview{min-height:390px;border-radius:28px;border:1px solid var(--line);background:linear-gradient(155deg,#dff4e8,#fff1bf);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:36px}.preview-pencil{font-size:5rem;transform:rotate(-16deg);margin-bottom:20px}.printable-preview span{font-weight:800;color:var(--green)}.printable-preview strong{font-size:1.6rem;line-height:1.15;margin:12px 0;max-width:330px}.printable-preview small{color:var(--muted)}.white-band{background:#fff;border-block:1px solid var(--line)}.detail-copy{display:grid;grid-template-columns:1fr 1fr;gap:40px}.detail-copy h2{font-size:1.6rem}.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.related-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px;text-decoration:none;display:flex;flex-direction:column;gap:6px}.related-card span,.related-card small{color:var(--muted);font-size:.85rem}.back-link{margin-top:24px;font-weight:800}.back-link a{color:var(--green)}
@media(max-width:900px){.resource-launch-grid,.resource-hero-grid,.resource-detail-grid,.detail-copy{grid-template-columns:1fr}.resource-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.launch-numbers,.resource-grid,.related-grid{grid-template-columns:1fr}.world-heading{display:block}.world-count{display:inline-block;margin-top:12px}.resource-detail h1{font-size:2.5rem}}


/* V1.2.1 calm block-first printable library */
.library-welcome{padding:62px 0 28px;background:linear-gradient(180deg,#fffaf0 0%,#fffdf7 100%)}
.library-welcome-inner{max-width:800px}.library-welcome h1{font-size:clamp(3rem,6vw,5.4rem);margin-bottom:18px}
.world-gateway-section{padding:18px 0 58px;background:#fffdf7}.world-gateway-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.world-gateway-card{min-height:430px;border-radius:34px;padding:30px;text-decoration:none;border:1px solid rgba(22,52,45,.08);display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden;box-shadow:0 18px 55px rgba(31,71,58,.08);transition:transform .18s ease,box-shadow .18s ease}
.world-gateway-card:hover,.world-gateway-card:focus-visible{transform:translateY(-5px);box-shadow:0 24px 65px rgba(31,71,58,.14);outline:3px solid rgba(47,125,98,.2);outline-offset:3px}
.world-gateway-card.world-little{background:linear-gradient(150deg,#fff6bf 0%,#e7f6dd 100%)}
.world-gateway-card.world-adventure{background:linear-gradient(150deg,#dff4ea 0%,#dfeeff 100%)}
.world-gateway-card.world-quest{background:linear-gradient(150deg,#e7e5ff 0%,#ffe3d2 100%)}
.world-gateway-icon{font-size:5.2rem;line-height:1;align-self:flex-end;filter:drop-shadow(0 10px 15px rgba(22,52,45,.08))}
.world-gateway-copy span{font-size:.88rem;font-weight:900;letter-spacing:.05em;text-transform:uppercase;color:var(--green)}
.world-gateway-copy h2{font-size:clamp(2rem,3vw,2.8rem);line-height:1.02;margin:10px 0 12px;letter-spacing:-.04em}
.world-gateway-copy p{color:#49645c;min-height:72px}.world-gateway-copy strong{display:inline-flex;align-items:center;gap:8px;margin-top:16px}
.library-note{display:grid;grid-template-columns:1fr .8fr;gap:40px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:28px;padding:34px}.library-note h2{font-size:clamp(1.8rem,3vw,2.7rem);margin:6px 0}.library-note p{color:var(--muted);font-size:1.05rem}
.world-page-hero{padding:48px 0 42px;border-bottom:1px solid var(--line)}.world-page-hero.world-little{background:linear-gradient(145deg,#fff7ca,#edf8e7)}.world-page-hero.world-adventure{background:linear-gradient(145deg,#e5f7ed,#e5f0ff)}.world-page-hero.world-quest{background:linear-gradient(145deg,#ece9ff,#ffe9dc)}
.world-page-hero-inner{display:grid;grid-template-columns:1fr auto;gap:40px;align-items:center}.world-page-hero h1{font-size:clamp(3rem,6vw,5.1rem);margin:8px 0 18px}.world-page-symbol{font-size:7rem;line-height:1;min-width:150px;text-align:center}
.skill-picker{padding:48px 0 58px;background:#fff}.section-heading-compact{margin-bottom:24px}.section-heading-compact h2{font-size:clamp(2rem,4vw,3.1rem);margin:5px 0 0}.skill-block-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.skill-block{min-height:185px;border:1px solid var(--line);border-radius:28px;padding:24px;text-decoration:none;background:var(--cream);display:grid;grid-template-columns:auto 1fr auto;gap:18px;align-items:center;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.skill-block:hover,.skill-block:focus-visible{transform:translateY(-3px);box-shadow:0 16px 38px rgba(31,71,58,.09);border-color:#b9d8ca;outline:none}.skill-icon{width:74px;height:74px;border-radius:22px;background:#fff;display:grid;place-items:center;font-size:2.25rem;box-shadow:0 8px 22px rgba(31,71,58,.06)}.skill-copy{display:flex;flex-direction:column}.skill-copy small{font-style:normal;text-transform:uppercase;letter-spacing:.05em;font-weight:800;color:var(--green);font-size:.72rem}.skill-copy strong{font-size:1.42rem;margin:4px 0}.skill-copy em{font-style:normal;color:var(--muted);font-size:.92rem}.skill-arrow{font-size:1.8rem;font-weight:900;color:var(--green)}
.world-resource-list{padding-top:22px}.skill-section{scroll-margin-top:94px;padding:34px 0 56px;border-bottom:1px solid var(--line)}.skill-section-heading{display:flex;justify-content:space-between;gap:28px;align-items:end;margin-bottom:22px}.skill-section-heading>div>span{font-size:2rem}.skill-section-heading h2{font-size:clamp(1.8rem,3vw,2.6rem);margin:6px 0}.skill-section-heading p{color:var(--muted);margin:0}.skill-section-heading>a{font-weight:800;color:var(--green);white-space:nowrap}
.printable-tile-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.printable-tile{background:#fff;border:1px solid var(--line);border-radius:22px;padding:20px;min-height:235px;display:flex;flex-direction:column;box-shadow:0 8px 25px rgba(31,71,58,.04)}.printable-tile-top{display:flex;justify-content:space-between;gap:10px;color:var(--muted);font-size:.78rem;align-items:center}.pdf-chip{background:#e6f5ed;color:var(--green)!important;border-radius:999px;padding:6px 9px;font-weight:900;letter-spacing:.04em}.printable-tile h3{font-size:1.2rem;line-height:1.25;margin:16px 0 8px}.printable-tile h3 a{text-decoration:none}.printable-tile p{color:var(--muted);font-size:.92rem;flex:1;margin:0}.center-actions{text-align:center}
.mini-world-links{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.mini-world-links a{background:#fff;border:1px solid var(--line);border-radius:20px;padding:18px;text-decoration:none;display:flex;flex-direction:column;gap:3px;min-height:130px;justify-content:center}.mini-world-links a>span{font-size:1.8rem}.mini-world-links strong{font-size:.98rem}.mini-world-links small{color:var(--muted)}
@media(max-width:900px){.world-gateway-grid{grid-template-columns:1fr}.world-gateway-card{min-height:300px}.library-note,.world-page-hero-inner{grid-template-columns:1fr}.world-page-symbol{display:none}.skill-block-grid,.printable-tile-grid{grid-template-columns:repeat(2,1fr)}.mini-world-links{grid-template-columns:1fr}.resource-launch-grid{grid-template-columns:1fr}}
@media(max-width:600px){.library-welcome{padding-top:42px}.library-welcome h1{font-size:3rem}.world-gateway-card{padding:24px;border-radius:28px}.skill-block-grid,.printable-tile-grid{grid-template-columns:1fr}.skill-block{grid-template-columns:auto 1fr;min-height:150px}.skill-arrow{display:none}.skill-section-heading{display:block}.skill-section-heading>a{display:inline-block;margin-top:12px}}
@media(prefers-reduced-motion:reduce){.world-gateway-card,.skill-block{transition:none}.world-gateway-card:hover,.world-gateway-card:focus-visible,.skill-block:hover,.skill-block:focus-visible{transform:none}}


/* BrightPencil online practice player */
.practice-shell{padding:34px 0 70px;background:linear-gradient(180deg,#fffaf0 0,#f6fbf7 100%)}
.practice-top{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;margin-bottom:22px}
.practice-top h1{margin:.2rem 0 .4rem;font-size:clamp(2rem,5vw,4.25rem);line-height:.98}.practice-top p{margin:0;color:#5a6e67}
.practice-player{max-width:920px;margin:0 auto;background:#fff;border:1px solid #dce8e2;border-radius:30px;box-shadow:0 18px 60px rgba(24,67,54,.08);overflow:hidden}
.practice-player-head{padding:22px 26px;border-bottom:1px solid #e2ebe6;display:flex;align-items:center;justify-content:space-between;gap:20px;background:#fbfefc}.practice-progress{display:flex;gap:7px;flex-wrap:wrap}.progress-dot{width:12px;height:12px;border-radius:50%;background:#d9e4df}.progress-dot.current{outline:3px solid #b9dcca}.progress-dot.done{background:#2f8d70}.practice-count{font-weight:800;color:#35584c;font-size:.95rem}
.practice-task{padding:clamp(26px,5vw,52px)}.task-kicker{text-transform:uppercase;letter-spacing:.08em;font-weight:900;color:#2c8a6d;font-size:.82rem}.practice-task h2{font-size:clamp(1.8rem,4vw,3rem);line-height:1.1;margin:.55rem 0 1.5rem;color:#153f34}.task-hint{font-size:1.05rem;color:#5a6e67}
.choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.choice-btn{min-height:82px;border:2px solid #d9e7e1;border-radius:20px;background:#fff;padding:18px;font:inherit;font-weight:900;font-size:1.15rem;color:#173f35;cursor:pointer}.choice-btn:hover,.choice-btn:focus-visible{border-color:#53a98e;transform:translateY(-1px)}.choice-btn.correct{background:#e7f7ef;border-color:#2f8d70}.choice-btn.wrong{background:#fff1ee;border-color:#d16b57}
.answer-row{display:flex;gap:12px;align-items:stretch}.big-answer{flex:1;min-width:0;border:2px solid #d9e7e1;border-radius:18px;padding:16px 18px;font:inherit;font-size:1.35rem;font-weight:800;color:#153f34}.big-answer:focus{outline:3px solid #b9dcca;border-color:#2f8d70}.practice-status{min-height:34px;margin:0;padding:0 26px 26px;font-weight:800}.practice-status.good{color:#216b54}.practice-status.try{color:#9a4f3f}
.reading-passage{background:#f4f9f6;border-radius:20px;padding:22px 24px;margin-bottom:24px;font-size:1.12rem;line-height:1.65;color:#24483d}.draw-board{position:relative;height:330px;border:2px dashed #bcd7cc;border-radius:24px;background:#fbfefc;overflow:hidden;touch-action:none}.draw-guide{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:clamp(3rem,10vw,7rem);font-weight:900;color:#d9e8e1;letter-spacing:.08em;pointer-events:none;text-align:center;padding:20px}.draw-board canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none}.practice-controls{display:flex;gap:12px;margin-top:18px;flex-wrap:wrap}.writing-answer{width:100%;border:2px solid #d9e7e1;border-radius:20px;padding:18px;font:inherit;font-size:1.1rem;line-height:1.55;resize:vertical}.writing-answer:focus{outline:3px solid #b9dcca;border-color:#2f8d70}
.practice-finish{text-align:center;padding:30px 0}.finish-badge{font-size:4rem}.practice-finish h2{margin:.4rem 0}.practice-finish p{max-width:600px;margin:0 auto 24px;color:#5a6e67;font-size:1.08rem}.practice-note{margin-top:22px;padding:18px 20px;border-radius:18px;background:#eef7f2;color:#365c50}.practice-note strong{color:#173f35}.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}
@media(max-width:720px){.practice-top{display:block}.practice-player{border-radius:20px}.practice-player-head{align-items:flex-start;flex-direction:column}.choice-grid{grid-template-columns:1fr}.answer-row{flex-direction:column}.draw-board{height:290px}.practice-task{padding:28px 20px}.practice-status{padding:0 20px 20px}}

