/* how-it-works: walking-penguin tour */
.tour-nav-right{display:flex;gap:10px;margin-left:auto}

.tour-intro{padding:0 clamp(0px,1.4vw,18px) 6px}
.tour-intro .eyebrow{padding-top:10px}
.tour-h1{font-family:var(--f-display);font-weight:800;letter-spacing:-.03em;font-size:clamp(28px,3.6vw,42px);line-height:1.1;margin:14px 0 0;text-wrap:balance}

.tour-stage{background:var(--hero);color:var(--hero-ink);border-radius:30px;padding:clamp(20px,3.2vw,36px);margin-top:22px;position:relative;outline-offset:6px}
.tour-controls{display:flex;gap:10px;margin-bottom:6px}
.tour-btn{font-family:var(--f-mono);font-weight:700;font-size:11px;letter-spacing:.06em;text-transform:uppercase;border-radius:999px;padding:10px 20px;cursor:pointer;border:1.5px solid rgba(247,243,238,.35);background:var(--orange);color:#fff;transition:filter .2s,background .2s,color .2s}
.tour-btn:hover{filter:brightness(1.06)}
.tour-btn.ghost{background:transparent;color:var(--hero-ink)}
.tour-btn.ghost:hover{background:rgba(247,243,238,.1)}

.tour-track-wrap{position:relative}
.tour-track{width:100%;height:auto;display:block}
@media (min-width:761px){
  .tour-track-wrap{max-width:1100px;margin-inline:auto}
}
@media (max-width:760px){
  .tour-track-wrap{max-width:420px;margin-inline:auto}
}

.tr-trail-bg{fill:none;stroke:rgba(247,243,238,.16);stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:2 11}
.tr-trail-fg{fill:none;stroke:var(--green);stroke-width:3;stroke-linecap:round;stroke-linejoin:round;transition:stroke-dashoffset .05s linear}

.tr-node .dot{fill:#EDEAE4;transition:transform .35s cubic-bezier(.2,.9,.3,1)}
.tr-node.mint .dot{fill:var(--mint)}
.tr-node.cream .dot{fill:var(--cream)}
.tr-node.brain .dot,.tr-node.acts .dot,.tr-node.done .dot{fill:var(--green)}
.tr-node.approve .dot{fill:#F7F1E4}
.tr-node .ring{fill:none;stroke:var(--green);stroke-width:1.6;stroke-dasharray:3 4;opacity:.4;animation:tr-pulse 2.4s ease-in-out infinite;transform-box:fill-box;transform-origin:center}
.tr-node.approve .ring{stroke:var(--orange);animation-duration:1.4s}
.tr-node.done .ring{stroke:var(--yellow);stroke-dasharray:3 3}
@keyframes tr-pulse{0%,100%{opacity:.5;transform:scale(1)}50%{opacity:.08;transform:scale(1.16)}}
.tr-node .n-lbl{fill:#b9b4ac;font-family:var(--f-mono);font-size:10.5px;letter-spacing:.03em;text-anchor:middle}
.tr-node.active .n-lbl{fill:var(--hero-ink)}
.tr-node.active .dot{transform:scale(1.1)}
.tr-node.active .dot.big{transform:scale(1.08)}

.tr-peng{transition:opacity .4s ease}
.tr-peng.fade{opacity:0}
.tr-shadow{fill:#000;opacity:.3}
.tr-peng-body{transform-box:fill-box;transform-origin:50% 100%}
.tr-peng.walking .tr-peng-body{animation:tr-waddle .36s ease-in-out infinite}
.tr-peng.idle .tr-peng-body{animation:tr-bob 2.1s ease-in-out infinite}
@keyframes tr-waddle{0%,100%{transform:rotate(-6deg)}50%{transform:rotate(6deg)}}
@keyframes tr-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
.tr-peng.walking .tr-shadow{animation:tr-shadow-pulse .36s ease-in-out infinite}
@keyframes tr-shadow-pulse{0%,100%{transform:scaleX(1)}50%{transform:scaleX(.8)}}

.tour-caption{margin-top:18px;min-height:86px;transition:opacity .18s ease}
.tour-caption.swap{opacity:0}
.tour-step-no{font-family:var(--f-mono);font-size:10.5px;font-weight:700;letter-spacing:.08em;color:#FF7A57;text-transform:uppercase}
.tour-caption h2{font-family:var(--f-display);font-weight:800;font-size:clamp(19px,2.2vw,24px);letter-spacing:-.02em;margin:6px 0 6px}
.tour-caption p{font-size:14.5px;line-height:1.55;color:#D9D4CC;max-width:56ch}

.tour-dots{display:flex;gap:8px;margin-top:16px}
.tour-dot{width:9px;height:9px;border-radius:50%;border:0;padding:0;background:rgba(247,243,238,.25);cursor:pointer;transition:background .2s,transform .2s}
.tour-dot:hover{background:rgba(247,243,238,.5)}
.tour-dot.active{background:var(--orange);transform:scale(1.25)}

