/* Examples are real HTML/SVG; screenshots remain identifiable as app captures. */
.illustrated-section { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:36px; align-items:center; }
.illustrated-section .editorial-copy { min-width:0; }
.illustrated-section h2 { font-size:32px; }
.illustrated-section .editorial-copy p { font-size:17px; line-height:1.7; }
.illustrated-section .editorial-copy p:last-child { margin-bottom:0; }
.learning-visual { min-width:0; width:100%; max-width:380px; margin:0; padding:26px; border:1px solid var(--page-colour); border-radius:28px; background:#fff; }
.learning-visual figcaption { margin-top:22px; font-size:14px; line-height:1.55; color:var(--ink); }
.learning-visual .visual-equation { font:700 29px/1.3 Baloo,Arial,sans-serif; text-align:center; margin:24px 0 0; color:var(--page-ink); }
.visual-dots { display:flex; justify-content:center; flex-wrap:wrap; gap:10px; padding:18px 6px; }
.visual-dots > span { width:28px; height:28px; border-radius:50%; background:#6EC6C1; flex:none; }
.ten-frame { display:grid; grid-template-columns:repeat(5,1fr); gap:7px; padding:10px; border:2px solid #c5ded5; border-radius:15px; }
.ten-frame span { display:block; aspect-ratio:1; border-radius:50%; background:#6EC6C1; }
.ten-frame .dot-added { background:#FF9166; }
.visual-plus { margin-top:14px; text-align:right; font:700 28px/1 Baloo,Arial,sans-serif; color:#a95435; }
.visual-number-parent { display:grid; place-items:center; margin:auto; width:80px; height:80px; border-radius:24px; background:#ded5ef; font:700 52px/1 Baloo,Arial,sans-serif; color:#625083; }
.visual-number-parts { display:flex; justify-content:center; align-items:center; gap:22px; padding-top:30px; font:700 35px/1 Baloo,Arial,sans-serif; }
.visual-number-parts span { display:grid; place-items:center; width:66px; height:66px; border-radius:20px; background:#e3f1eb; color:#246459; }
.visual-groups { display:grid; gap:12px; }
.visual-groups .visual-dots { background:#edf6f1; border-radius:15px; padding:14px 8px; gap:12px; }
.visual-clock { display:block; width:200px; max-width:100%; height:auto; margin:auto; }
.place-values { width:100%; border-collapse:collapse; text-align:center; font:700 34px/1.4 Baloo,Arial,sans-serif; }
.place-values caption { font-size:25px; text-align:left; padding-bottom:16px; }
.place-values th { background:#edf6f1; color:#246459; font-size:22px; padding:9px; }
.place-values td { padding:6px; border-right:1px solid #e1e8e2; }
.place-values td:last-child { border-right:0; }
.place-values tr:last-child td { border-top:2px solid #246459; color:#246459; }
.visual-word-pairs { display:grid; gap:12px; }
.visual-word-pairs > div { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:12px 16px; border-radius:16px; background:var(--page-tint); font-family:Baloo,Arial,sans-serif; }
.visual-word-pairs span { color:var(--page-ink); font-size:30px; }
.visual-word-pairs strong { font-size:29px; }
.visual-syllables { display:flex; justify-content:center; gap:8px; padding-block:28px; }
.visual-syllables span { padding:10px 9px 20px; font:700 35px/1 Baloo,Arial,sans-serif; border-bottom:4px solid #6EC6C1; border-radius:0 0 50% 50%; }
.visual-syllables span:nth-child(2) { border-color:#8B7BD8; }
.visual-story { font:500 26px/1.5 Baloo,Arial,sans-serif; }
.visual-story mark { background:#ffedb8; color:inherit; padding-inline:3px; box-decoration-break:clone; -webkit-box-decoration-break:clone; }
.learning-visual .visual-question { font:700 23px/1.3 Baloo,Arial,sans-serif; margin:24px 0 0; color:var(--page-ink); }
.routine-heading { display:flex; align-items:center; gap:14px; }
.routine-heading img { flex:none; }
.learning-visual .visual-routine-title { font:700 26px/1.15 Baloo,Arial,sans-serif; margin:0; }
.learning-visual .routine-progress-label { font-size:14px; line-height:1.5; margin:18px 0 10px; }
.routine-progress { display:grid; grid-template-columns:repeat(3,1fr); gap:5px; margin-bottom:22px; }
.routine-progress span { height:5px; border-radius:8px; background:var(--page-tint); }
.routine-progress span:first-child { background:#368b80; }
.learning-visual .visual-routine { padding:0; margin:0; list-style:none; display:grid; gap:10px; }
.visual-routine li { display:grid; grid-template-columns:30px minmax(0,1fr); gap:13px; align-items:center; padding:15px 13px; background:var(--page-tint); border-radius:15px; font-size:16px; line-height:1.4; }
.visual-routine .routine-check { display:grid; place-items:center; width:30px; height:30px; border:2px solid var(--page-ink); border-radius:9px; background:#fff; }
.visual-routine .routine-check svg { width:22px; height:22px; }
.visual-routine .done .routine-check { background:#28796c; color:#fff; border-color:#28796c; }
.visual-routine .routine-task { min-width:0; overflow-wrap:break-word; }
.visual-routine .routine-task small { display:block; font-size:12px; color:#246459; margin-top:2px; }
.about-elmo { position:relative; isolation:isolate; margin:0; text-align:center; padding:20px; }
.about-elmo > span { position:absolute; z-index:-1; inset:12% 0 15%; border-radius:50%; background:rgba(255,255,255,.5); }
.about-elmo img { display:block; width:min(300px,85%); height:auto; margin:0 auto; }
.about-elmo figcaption { font:700 22px/1.35 Baloo,Arial,sans-serif; max-width:300px; margin:10px auto 0; }
@media(max-width:759px) { .about-elmo img { width:210px; } .visual-routine li { padding:14px 12px; } }

.visual-sequence { display:grid; gap:15px; padding:0; margin:0; list-style:none; }
.visual-sequence li { display:flex; gap:15px; align-items:center; }
.visual-sequence li > span { display:grid; place-items:center; width:40px; height:40px; border-radius:50%; background:var(--page-colour); flex:none; }
.visual-sequence img { width:40px; height:40px; object-fit:contain; flex:none; }
.visual-sequence strong { font:700 22px/1.2 Baloo,Arial,sans-serif; }
.visual-app-detail .device-mockup { width:180px; max-width:100%; margin:auto; }
.paint-mixture { display:flex; justify-content:center; align-items:center; gap:8px; padding-block:24px; }
.paint-mixture span { width:56px; height:56px; border-radius:50%; flex:0 1 56px; aspect-ratio:1; }
.paint-yellow { background:#FFC64D; }.paint-blue { background:#5D9BC5; }.paint-green { background:#7DAC6D; }
.paint-mixture b { font-size:22px; }
.visual-feelings { display:flex; justify-content:center; gap:12px; }
.visual-feelings > div { flex:1; min-width:0; text-align:center; }
.visual-feelings svg { width:100%; height:auto; }
.visual-feelings span { font-size:14px; }
.visual-route { display:grid; grid-template-columns:repeat(4,1fr); gap:5px; }
.visual-route > span { display:grid; place-items:center; aspect-ratio:1; border-radius:10px; background:#f0f1ed; }
.visual-route .route { background:#dcebe3; }
.visual-route img,.visual-route svg { display:block; width:36px; height:40px; object-fit:contain; }
.learning-visual .visual-commands { font:700 34px/1 Baloo,Arial,sans-serif; color:var(--page-ink); text-align:center; margin:22px 0 0; letter-spacing:8px; }
.visual-space { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:22px 5px; }
.visual-space span { display:block; border-radius:50%; flex:none; }
.visual-sun { width:78px; height:78px; background:#FFC64D; }
.visual-earth { width:52px; height:52px; background:#6EC6C1; }
.visual-moon { width:25px; height:25px; background:#d7d0e2; }
.visual-definitions { margin:12px 0 0; }
.visual-definitions > div { display:flex; align-items:baseline; justify-content:space-between; gap:12px; padding:10px 0; border-bottom:1px solid var(--page-colour); font-size:15px; line-height:1.4; }
.visual-definitions dt { font-weight:700; }.visual-definitions dd { margin:0; }
.visual-large-icon { display:block; width:110px; height:110px; margin:0 auto 20px; }
.visual-costumes { display:flex; align-items:flex-end; justify-content:center; gap:12px; padding-top:10px; }
.visual-costumes img { width:46%; height:auto; object-fit:contain; }
.visual-paper { padding:20px; background:var(--page-tint); border-radius:16px; }
.visual-paper > strong { display:block; font:700 23px/1.2 Baloo,Arial,sans-serif; margin-bottom:22px; }
.visual-paper p { display:flex; align-items:center; justify-content:space-between; font:700 25px/1.3 Baloo,Arial,sans-serif; margin:14px 0; }
.visual-paper p span { display:block; width:48px; border-bottom:2px solid var(--page-colour); text-align:center; }
@media(max-width:759px) {
 .illustrated-section { grid-template-columns:minmax(0,1fr); gap:24px; }
 .illustrated-section h2 { font-size:30px; }
 .learning-visual { margin-inline:auto; padding:24px; }
}
@media(max-width:359px) {
 .learning-visual { padding:20px; }
 .visual-syllables span { font-size:31px; padding-inline:6px; }
 .visual-groups .visual-dots { gap:10px; }
 .visual-word-pairs strong { font-size:26px; }
 .visual-space { gap:12px; }
 .visual-sun { width:68px; height:68px; }
 .visual-earth { width:44px; height:44px; }
 .visual-definitions > div { font-size:14px; }
}
@media print { .illustrated-section { break-inside:avoid; } .learning-visual { break-inside:avoid; } }

/* Pricing follows the illustrated cover + white paper composition. */
.editorial-page:has(.pricing-section) { --band-width:1120px; }
.pricing-section { width:min(1120px,calc(100vw - 48px)); position:relative; left:50%; transform:translateX(-50%); margin:42px 0 90px; }
.pricing-notice { max-width:780px; margin:0 auto 40px; text-align:center; font-size:16px; line-height:1.6; }
.pricing-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; align-items:stretch; }
.price-card { overflow:hidden; border-radius:32px; background:#fff; box-shadow:0 12px 28px #493b5d0c; min-width:0; }
.price-art { position:relative; isolation:isolate; padding:30px 22px 64px; min-height:290px; text-align:center; background:#d4e7de; color:#245b50; }
.price-monthly .price-art { background:#f8df9d; color:#705019; }
.price-annual .price-art { background:#cdc0e4; color:#574275; }
.price-art>img { display:block; margin:0 auto 12px; width:76px; height:76px; }
.price-art h2 { font:800 clamp(30px,3vw,40px)/1.05 Baloo,Arial,sans-serif; margin:0 auto 18px; max-width:240px; overflow-wrap:normal; }
.price-ribbon { display:inline-block; font:700 15px/1.3 Baloo,Arial,sans-serif; padding:8px 18px; border-radius:8px; background:#ffffffad; }
.price-wave { position:absolute; left:0; bottom:-1px; width:100%; height:47px; }
.price-content { display:flex; flex-direction:column; align-items:center; text-align:center; padding:16px 26px 30px; }
.price-content .price-amount { font:800 42px/1.15 Baloo,Arial,sans-serif; margin:0 0 6px; }
.price-content .price-period { margin:0 0 20px; font-size:15px; font-weight:700; }
.price-content>p:not([class]) { font-size:16px; line-height:1.65; margin:0 0 24px; }
.price-status { font-size:13px; line-height:1.4; color:var(--page-ink); margin-top:auto; }
@media(max-width:900px) { .pricing-grid { gap:16px; } .price-content { padding-inline:18px; } .price-content .price-amount { font-size:35px; } }
@media(max-width:700px) { .pricing-grid { grid-template-columns:1fr; max-width:440px; margin:auto; gap:28px; } .price-art { min-height:0; padding-top:28px; } .price-art h2 { font-size:38px; } .price-content .price-amount { font-size:42px; } .pricing-section { margin-top:24px; } }

/* Shared cover grid keeps lettering, mascot and ribbon on the same baselines. */
.price-card { container-type:inline-size; }
.price-art { display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:140px 78px 64px; align-items:center; justify-items:center; min-height:0; padding:28px 18px 22px; overflow:hidden; background:#205c65; color:#ffe27a; }
.price-monthly .price-art { background:#ba6051; color:#ffe27a; }
.price-annual .price-art { background:#4394b8; color:#ffe27a; }
.price-art .price-lettering { grid-row:1; position:relative; z-index:2; width:100%; margin:0; max-width:none; font:800 clamp(36px,16cqi,58px)/1.02 Baloo,Arial,sans-serif; letter-spacing:-1px; color:#ffe27a; -webkit-text-stroke:1.2px #654b27; paint-order:stroke fill; text-shadow:0 2px 0 #d5a83c,0 4px 0 #bb8730,0 6px 0 #153d47,2px 8px 0 #153d47; transform:rotate(-2deg); }
.price-lettering>span { display:block; white-space:nowrap; }
.price-lettering>span+span { margin-top:6px; }
.price-art .price-elmo { grid-row:2; position:relative; z-index:3; display:block; width:116px; height:auto; margin:0; justify-self:center; align-self:end; transform:none; }
.price-orbit { position:absolute; width:230px; height:230px; border:1px solid #ffffff12; border-radius:50%; left:-115px; top:-80px; box-shadow:0 0 0 36px #ffffff06,0 0 0 72px #ffffff04; }
.price-art:after { content:""; position:absolute; width:6px; height:6px; background:#ffe27a; border-radius:50%; left:27px; top:188px; box-shadow:12px -130px 0 -1px #ffe27a,225px -135px 0 -1px #ffe27a; }
.price-art .price-ribbon { grid-row:3; position:relative; z-index:4; width:100%; max-width:300px; height:64px; left:auto; bottom:auto; transform:none; background:none; border-radius:0; padding:0; margin:0; color:#204b55; align-self:start; }
.price-ribbon>svg { width:100%; height:100%; display:block; }
.price-ribbon>span { position:absolute; inset:0 24px 27px; display:flex; align-items:center; justify-content:center; font:800 clamp(12px,4.8cqi,16px)/1.15 Baloo,Arial,sans-serif; white-space:nowrap; }
.price-art .price-wave { z-index:3; height:40px; }
@media(min-width:701px) and (max-width:900px) { .price-art { grid-template-rows:120px 72px 60px; padding-inline:12px; } .price-art .price-elmo { width:108px; } }
@media(max-width:700px) { .price-art { grid-template-rows:140px 78px 64px; padding-top:28px; } }
@media(prefers-contrast:more) { .price-art .price-lettering { -webkit-text-stroke:0; text-shadow:0 3px 0 #173940; } }

/* Compact covers, with the ribbon straddling the curved paper edge. */
.price-art { grid-template-rows:140px 42px; padding:22px 18px 0; overflow:visible; }
.price-art .price-ribbon { grid-row:2; align-self:start; transform:translateY(-16px); }
.price-art .price-wave { height:43px; }
.price-content { padding-top:36px; }
.price-art:after { content:none; }
.price-particles { position:absolute; inset:0; overflow:hidden; border-radius:32px 32px 0 0; pointer-events:none; }
.price-particles i { position:absolute; width:4px; height:4px; border-radius:50%; background:#fff2b3; opacity:.35; animation:price-glimmer 6s ease-in-out infinite alternate; }
.price-particles i:nth-child(1) { left:8%;top:23%;width:5px;height:5px;opacity:.5;animation-delay:-2s; }
.price-particles i:nth-child(2) { left:89%;top:18%;width:3px;height:3px;opacity:.3;animation-duration:7s;animation-delay:-4s; }
.price-particles i:nth-child(3) { left:14%;top:70%;width:3px;height:3px;opacity:.25;animation-duration:8s;animation-delay:-1s; }
.price-particles i:nth-child(4) { left:83%;top:64%;width:6px;height:6px;opacity:.4;animation-delay:-5s; }
.price-particles i:nth-child(5) { left:49%;top:8%;width:2px;height:2px;opacity:.25;animation-duration:9s;animation-delay:-6s; }
.price-particles i:nth-child(6) { left:6%;top:47%;width:2px;height:2px;opacity:.2;animation-duration:7s;animation-delay:-3s; }
.price-particles i:nth-child(7) { left:94%;top:44%;width:3px;height:3px;opacity:.35;animation-duration:8s;animation-delay:-7s; }
.price-particles i:nth-child(8) { left:31%;top:83%;width:2px;height:2px;opacity:.2;animation-duration:10s;animation-delay:-4s; }
.price-particles i:nth-child(9) { left:73%;top:9%;width:4px;height:4px;opacity:.3;animation-duration:9s;animation-delay:-8s; }
.price-monthly .price-particles { transform:scaleX(-1); }
.price-annual .price-particles i { animation-delay:-3.5s; }
@keyframes price-glimmer { from { transform:translateY(2px) scale(.8); } to { transform:translateY(-5px) scale(1.15); opacity:.12; } }
@media(min-width:701px) and (max-width:900px) { .price-art { grid-template-rows:120px 42px; padding:20px 12px 0; } }
@media(max-width:700px) { .price-art { grid-template-rows:140px 42px; padding-top:22px; } }
@media(prefers-reduced-motion:reduce) { .price-particles i { animation:none; } }

/* Extra space below the lettering; preserve ribbon overlap at the curved edge. */
.price-art { grid-template-rows:164px 42px; }
.price-art .price-lettering { align-self:start; margin-top:10px; }
@media(min-width:701px) and (max-width:900px) { .price-art { grid-template-rows:144px 42px; } }
@media(max-width:700px) { .price-art { grid-template-rows:164px 42px; } }
