/* More room for reading, mobile navigation and the learning scene. */
.footer-search{min-height:60px;padding:10px 18px;gap:12px;max-width:240px;width:fit-content;font-size:13px;border-radius:17px}
.footer-search .art{width:38px;height:38px;flex-shrink:0}
.footer-nav-group{min-width:0}
.footer-group-title{font-size:15px;letter-spacing:-.02em;margin:0 0 20px;font-weight:550}
.footer-group>summary{display:none}
.faq-list .faq-answer{padding-top:21px;padding-bottom:34px}
.faq-answer-icon{padding-top:3px}
.learning-stage{aspect-ratio:1.02}
.scene-cap{width:29%;top:2%;right:0;transform:rotate(7deg);animation-delay:-2s}
.scene-globe{width:21%;left:40%;top:1%;animation-delay:-4s}
.scene-board{width:28%;height:auto;left:1%;top:8%;z-index:2;transform:rotate(-5deg);animation-delay:-1s}
.scene-blocks{width:22%;right:0;bottom:2%;animation-delay:-6s}
.book-scene{left:9%;top:48%;width:75%;height:42%}
.study-book{transform:rotateX(30deg) rotateZ(-12deg)}
.stage-ring{left:5%;right:3%;top:32%;height:56%;transform:rotate(-15deg)}
.spark-one{left:22%;top:6%}
.spark-two{right:6%;bottom:41%;width:15px;height:15px}
.page-sketch{padding:0}
.sketch-guide{stroke-width:.6;stroke-dasharray:1 3}
.sketch-line{stroke-width:1;stroke-dasharray:100;animation:study-route 12s linear infinite}
.learning-stage .page-sketch path.sketch-rule{stroke-width:.7}
.learning-stage .page-sketch .writing-stylus path{stroke:none;stroke-width:0}
@keyframes study-route{0%,30%{stroke-dashoffset:100}42%{stroke-dashoffset:65}52%{stroke-dashoffset:35}65%,90%{stroke-dashoffset:0}100%{stroke-dashoffset:100}}
@media(max-width:600px){
  .site-header{padding-top:10px}
  .header-row{height:auto;min-height:128px;flex-wrap:wrap;gap:10px;padding:11px 12px}
  .header-row .logo{gap:7px}
  .header-row .logo img{width:36px;height:36px}
  .header-row .logo strong{font-size:24px}
  .header-row .logo small{font-size:8px;margin-top:6px}
  .header-actions{margin-left:auto;gap:8px}
  .header-actions .icon-button,.header-actions .search-trigger{width:44px;height:44px;min-height:44px;padding:0}
  .catalog-menu{order:3;flex:0 0 100%;margin:0}
  .catalog-menu>summary{min-height:54px;gap:9px;padding:8px 16px;font-size:14px;border-radius:14px;justify-content:center}
  .catalog-menu summary .art{width:36px;height:36px}
  .catalog-menu summary .chevron{display:block;width:7px;height:7px;margin:0 0 4px 7px}
  .mega-menu{left:0;right:0;top:calc(100% + 8px);max-height:calc(100svh - 176px)}
  .section[id],h2[id]{scroll-margin-top:165px}
  .hero{padding-top:34px}
  .category-grid{grid-template-columns:minmax(0,1fr);gap:20px}
  .category-card{padding:24px;min-height:425px;border-radius:27px}
  .category-art{height:206px}
  .category-card .art{width:200px;height:200px;max-width:85%}
  .category-label{font-size:12px}
  .category-card h3{font-size:25px;line-height:1.2;max-width:none;hyphens:none;overflow-wrap:normal}
  .category-card p{font-size:14px;line-height:1.7;margin-top:13px;margin-bottom:23px}
  .category-card>div:last-child .card-action{font-size:13px;min-height:50px;line-height:1.4;padding:13px 16px;max-width:none;border-radius:14px}
  .faq-list summary{padding-bottom:24px}
  .faq-list .faq-answer{padding:23px 18px 29px;gap:13px;border-top:1px solid var(--border);margin-inline:14px;grid-template-columns:32px minmax(0,1fr)}
  .faq-list .faq-answer p{font-size:14px;line-height:1.85}
  .faq-answer-icon .art{width:32px;height:32px}
  .footer-top{grid-template-columns:minmax(0,1fr);gap:13px;padding-block:32px}
  .footer-top>div.footer-brand{grid-column:auto;margin-bottom:15px}
  .footer-search{width:100%;max-width:none;min-height:64px;justify-content:center;padding:12px 18px;font-size:14px;gap:13px}
  .footer-group-title{display:none}
  .footer-group{background:var(--bg);border:1px solid var(--border);border-radius:20px;overflow:hidden}
  .footer-group>summary{display:flex;align-items:center;gap:13px;min-height:80px;padding:13px 17px;font-size:17px;font-weight:550;list-style:none;cursor:pointer}
  .footer-group>summary::-webkit-details-marker{display:none}
  .footer-group>summary .art{width:48px;height:48px;flex-shrink:0}
  .footer-group-toggle{margin-left:auto;display:grid;place-items:center;width:30px;height:30px;border:1px solid var(--border);border-radius:50%;flex-shrink:0}
  .footer-group-toggle svg{width:16px;height:16px;transition:transform .2s}
  .footer-group[open]>summary{background:var(--surface2);border-bottom:1px solid var(--border)}
  .footer-group[open] .footer-group-toggle svg{transform:rotate(180deg)}
  .footer-group nav{padding:10px 12px 16px}
  .footer-top .footer-group nav a{width:100%;min-height:61px;padding:11px 12px;margin:5px 0;font-size:13px;line-height:1.55;gap:12px;border-radius:14px;color:var(--text)}
  .footer-top .footer-group nav .art{width:36px;height:36px;flex-shrink:0}
  .footer-top .footer-group nav a span{hyphens:none;overflow-wrap:normal}
  .learning-stage{aspect-ratio:1.02}
}
@media(max-width:370px){.category-card{padding:22px;min-height:418px}.category-card h3{font-size:24px}.footer-group>summary{padding-inline:14px}.footer-top .footer-group nav a{padding-inline:9px;gap:10px}.footer-top .footer-group nav .art{width:32px;height:32px}}
@media(prefers-reduced-motion:reduce){.sketch-line{animation:none;stroke-dashoffset:0}.footer-group-toggle svg{transition:none}}
