/* Homepage motion complements the real examples; the tool is always immediately usable. */
.marketing-word-mask{display:inline-block;overflow:hidden;vertical-align:bottom;padding-bottom:.12em;margin-bottom:-.12em}
.marketing-word{display:inline-block}
.demo-guide-link>span{display:inline-block;transition:transform .22s ease}
.demo-guide-link:hover>span,.demo-guide-link:focus-visible>span{transform:translate(3px,-3px)}
.demo-motion-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 0 16px;color:#66766e;font:11px/1.6 var(--body,system-ui)}
.demo-motion-controls[hidden]{display:none}
.demo-motion-controls button,.caption-cycle button{font:inherit;color:#187a57;border:1px solid #c9e1d5;background:#fff;border-radius:20px;padding:6px 12px;cursor:pointer;white-space:nowrap}
.demo-motion-controls button:hover,.caption-cycle button:hover{background:#e6f4ee}
.demo-motion-controls button:focus-visible,.caption-cycle button:focus-visible{outline:2px solid #187a57;outline-offset:3px}
.home-page .demo-card .demo-media{transition:transform .25s ease,box-shadow .25s ease;border-radius:12px}
@media(hover:hover){.home-page .demo-card .demo-media:hover{transform:translateY(-3px);box-shadow:0 14px 30px #264d3b15}}
.caption-cycle{margin:22px 0 18px;padding:17px 18px 0;border:1px solid #cfe3d8;border-radius:14px;background:#ffffffb8;overflow:hidden}
.caption-cycle-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;font:10px/1.5 var(--mono,monospace);color:#66766e}
.caption-cycle-heading strong{color:#187a57;font-weight:500}
.caption-cycle .caption-cycle-cue{min-height:132px;padding-top:17px}
.caption-cycle .caption-cycle-cue p{margin:0 0 12px;font-size:13px;line-height:1.65;color:#4b6055}
.caption-cycle .caption-cycle-cue p[lang=ja]{color:#187a57;font-weight:600}
.caption-cycle-footer{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:0 0 13px;font-size:10px;color:#66766e}
.caption-cycle-footer button{font-size:10px;padding:3px 10px}
.caption-cycle-progress{height:2px;margin-inline:-18px;background:#dfebe5;overflow:hidden}
.caption-cycle-progress::after{content:'';display:block;height:100%;background:#63b293;transform:scaleX(0);transform-origin:left}
.caption-cycle[data-playing=true] .caption-cycle-progress::after{animation:caption-cycle-progress 5.2s linear infinite}
@keyframes caption-cycle-progress{to{transform:scaleX(1)}}
@media(max-width:600px){.caption-cycle .caption-cycle-cue{min-height:116px}.demo-motion-controls{font-size:10px;align-items:flex-start}.caption-cycle{max-width:420px}}
@media(prefers-reduced-motion:reduce){.home-page .demo-card .demo-media,.demo-guide-link>span{transition:none;transform:none!important}.caption-cycle-progress::after{animation:none!important}}

.home-page .demo-media:has(.demo-video[data-silent-preview=true]) .demo-play{inset:10px 10px auto auto;width:auto;flex-direction:row;gap:5px;padding:4px 7px;border-radius:20px;background:#173d32c9}
.home-page .demo-media:has(.demo-video[data-silent-preview=true]) .demo-play svg{width:11px;height:11px;padding:0;border:0;background:transparent;box-shadow:none}
.home-page .demo-media:has(.demo-video[data-silent-preview=true]) .demo-play span{background:transparent;padding:0;font-size:9px}
