/* hero-aha-20261122: index hero video as a crisp rounded card (girl solves a math exercise on a tablet, 3D shapes lift out).
   Shown at or below its native 1280x720 size (no blur from upscaling), no masks, soft shadow. Plays once, holds the last frame. */
html body .hero-visual .mori-frame{display:none!important}
.hero.ha-on .hero-visual>*:not(.ha-card){display:none!important}
html body .hero.ha-on .hero-visual{display:flex!important;align-items:center;justify-content:center;perspective:none!important;margin-inline-end:0!important}
.ha-card{position:relative;width:100%;max-width:1280px;aspect-ratio:16/9;border-radius:26px;overflow:hidden;background:#dfe6f3;
 box-shadow:0 0 0 1px rgba(255,255,255,.14),0 30px 80px -28px rgba(0,0,0,.65),0 0 0 8px rgba(255,255,255,.04);
 transform:translateZ(0);opacity:0;animation:haIn 1s cubic-bezier(.16,1,.3,1) .25s forwards}
@keyframes haIn{from{opacity:0;transform:translateY(18px) scale(.985)}to{opacity:1;transform:none}}
.ha-card video,.ha-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.ha-card img{transition:opacity .6s ease}
.ha-card.playing img.ha-start{opacity:0}
.ha-card img.ha-end{opacity:0}
.ha-card.done img.ha-end{opacity:1}
@media (min-width:901px){html body .hero.ha-on .hero-visual{height:auto!important;min-height:0!important;padding:4vh 0}}
@media (max-width:900px){html body .hero.ha-on .hero-visual{width:100%!important;max-width:none!important;height:auto!important;aspect-ratio:auto!important;margin:.6rem 0 1.2rem!important}.ha-card{border-radius:18px}}
@media (prefers-reduced-motion:reduce){.ha-card{animation:none;opacity:1}.ha-card video{display:none}.ha-card img.ha-start{opacity:0}.ha-card img.ha-end{opacity:1}}
/* headline: the three lines share one edge, no squeezed letters */
.hero-title{letter-spacing:0!important;line-height:1.02!important}
.hero-title .l2{padding-inline-start:0!important}
@media (hover:none),(pointer:coarse){html{scroll-behavior:auto!important}}
