/* Start-page tutorial animation. The stage is a fixed 1280x720 canvas that tutorial_controller.js
   scales to the width of its frame, so the scene layouts never reflow. */
.tutorial{background:#fff;padding:48px 0 56px}
.tutorial__title{font-size:1.75rem;font-weight:700;margin:0 0 6px;color:#1f2a22}
.tutorial__lead{margin:0 0 22px;color:#4c5a48}
.tutorial__frame{position:relative;width:100%;aspect-ratio:1280/720;border-radius:16px;overflow:hidden;background:#EEF1E4}
.tutorial__stage{position:absolute;left:0;top:0;width:1280px;height:720px;transform-origin:top left;overflow:hidden;background:#EEF1E4;color:#1E2B1F;font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
.tutorial [hidden]{display:none!important}
.tut-scene{position:absolute;left:0;top:0;width:1280px;height:648px;box-sizing:border-box;padding:44px 72px 24px;display:flex;flex-direction:column;gap:14px}
.tut-note{position:absolute;top:14px;right:24px;display:flex;align-items:center;gap:8px;padding:6px 14px;border-radius:16px;background:#fff;border:2px solid #C2541B;font-size:15px;font-weight:700;color:#A8461A}
.tut-note svg{color:#A8461A}
.tut-controls{position:absolute;left:0;bottom:0;width:1280px;height:72px;box-sizing:border-box;padding:0 28px;display:flex;align-items:center;gap:20px;background:#E2E8D5}
.tut-progress{position:absolute;left:0;top:0;height:4px;width:1280px;background:#CFD8BF}
.tut-progress div{height:4px;width:0;background:#2F6B35}
.tut-buttons{display:flex;gap:8px}
.tut-dots{flex:1;display:flex;justify-content:center;align-items:center;gap:8px}
.tut-label{width:260px;text-align:right;font-size:16px;font-weight:700;color:#3F4D3B}
.tutorial .ctl{display:flex;align-items:center;justify-content:center;gap:8px;height:44px;min-width:44px;padding:0 14px;border:0;border-radius:22px;background:#fff;color:#1E2B1F;font:700 15px system-ui,sans-serif;cursor:pointer}
.tutorial .ctl:hover{background:#DDE5CF}
.tutorial .dot{height:12px;border:0;border-radius:6px;padding:0;cursor:pointer;transition:width .3s,background .3s}
.tut-start{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;background:#EEF1E4;z-index:5}
.tut-start__eyebrow{font-size:18px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#2F6B35}
.tut-start__title{font-size:92px;line-height:1;font-weight:800;letter-spacing:-.02em}
.tut-start__btn{display:flex;align-items:center;gap:12px;height:64px;padding:0 36px;border:0;border-radius:32px;background:#2F6B35;color:#fff;font:700 24px system-ui,sans-serif;cursor:pointer}
.tut-start__btn:hover{background:#24522d}
.tut-start__btn:focus-visible,.tutorial .ctl:focus-visible,.tutorial .dot:focus-visible{outline:3px solid #F2B33D;outline-offset:2px}
@media (prefers-reduced-motion:reduce){.tutorial .tut-scene *{animation-duration:.01s!important;animation-delay:0s!important}}


.tutorial .tut-scene{position:absolute;left:0;top:0;width:1280px;height:648px;box-sizing:border-box;padding:44px 72px 24px}
.tutorial .hd{font-family:system-ui,-apple-system,"Segoe UI",sans-serif}
@keyframes tut-up{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}
@keyframes tut-fade{from{opacity:0}to{opacity:1}}
@keyframes tut-growx{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes tut-growy{from{transform:scaleY(0)}to{transform:scaleY(1)}}
@keyframes tut-pop{0%{opacity:0;transform:scale(.4)}70%{opacity:1;transform:scale(1.08)}100%{opacity:1;transform:scale(1)}}
@keyframes tut-flow{from{stroke-dashoffset:32}to{stroke-dashoffset:0}}
@keyframes tut-pulse{0%,100%{transform:scale(1)}50%{transform:scale(1.06)}}
@keyframes tut-tilt{0%{transform:rotate(-9deg)}55%{transform:rotate(4deg)}80%{transform:rotate(-1.5deg)}100%{transform:rotate(0)}}
@keyframes tut-draw{from{stroke-dashoffset:400}to{stroke-dashoffset:0}}
@keyframes tut-sway{0%,100%{transform:rotate(-4deg)}50%{transform:rotate(4deg)}}
.tutorial .a-up{animation:tut-up .7s cubic-bezier(.2,.7,.2,1) both}
.tutorial .a-fade{animation:tut-fade .8s ease both}
.tutorial .a-pop{animation:tut-pop .6s cubic-bezier(.2,.7,.2,1) both}
.tutorial .bar{transform-origin:left center;animation:tut-growx 1s cubic-bezier(.2,.7,.2,1) both}
.tutorial .tut-col{transform-origin:center bottom;animation:tut-growy .9s cubic-bezier(.2,.7,.2,1) both}
.tutorial .d1{animation-delay:.4s}.tutorial .d2{animation-delay:.9s}.tutorial .d3{animation-delay:1.4s}.tutorial .d4{animation-delay:1.9s}
.tutorial .d5{animation-delay:2.4s}.tutorial .d6{animation-delay:2.9s}.tutorial .d7{animation-delay:3.4s}.tutorial .d8{animation-delay:3.9s}
.tutorial .d9{animation-delay:4.4s}.tutorial .d10{animation-delay:4.9s}.tutorial .d11{animation-delay:5.6s}.tutorial .d12{animation-delay:6.4s}
.tutorial .d13{animation-delay:7.2s}.tutorial .d14{animation-delay:8s}.tutorial .d15{animation-delay:8.8s}
.tutorial svg .a-pop{transform-box:fill-box;transform-origin:center bottom}
.tutorial svg .sun{transform-box:fill-box;transform-origin:center;animation:tut-pop .8s .2s both,tut-pulse 4s 1s ease-in-out infinite}
.tutorial .sk{fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.tutorial .sk2{fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.tutorial .flowl{fill:none;stroke-width:5;stroke-linecap:round;stroke-dasharray:14 18;animation:tut-flow 1s linear infinite}
.tutorial .beam{transform-box:fill-box;transform-origin:center;animation:tut-tilt 2.6s 1.6s cubic-bezier(.3,.6,.3,1) both}
.tutorial .leafy{transform-box:fill-box;transform-origin:center bottom;animation:tut-sway 3s ease-in-out infinite}
.tutorial .ctl{display:flex;align-items:center;justify-content:center;gap:8px;height:44px;min-width:44px;padding:0 14px;border:0;border-radius:22px;background:#FFFFFF;color:#1E2B1F;font:700 15px system-ui,sans-serif;cursor:pointer}
.tutorial .ctl:hover{background:#DDE5CF}
.tutorial .dot{height:12px;border:0;border-radius:6px;padding:0;cursor:pointer;transition:width .3s,background .3s}
