/* Smart matching demo — clear, responsive and accessible */
.hero-art{min-height:0;display:flex;align-items:center;justify-content:center;transform:none!important}
.hero-art>.route-line,.hero-art>.route-pin,.hero-art>.truck-scene,.hero-art>.route-card,.hero-art>.floating-chip{display:none!important}
.matching-demo{position:relative;display:block;width:min(100%,440px);margin:0;padding:22px;border:1px solid rgba(255,255,255,.2);border-radius:22px;background:linear-gradient(155deg,rgba(255,255,255,.15),rgba(255,255,255,.07));box-shadow:0 22px 55px rgba(0,0,0,.25);color:#fff;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);overflow:hidden}
.matching-demo:before{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:linear-gradient(#39d6bd,#eac77e)}
.matching-demo-head{display:flex;align-items:center;gap:9px;margin-bottom:19px}
.matching-pulse{width:9px;height:9px;border-radius:50%;background:#42d6a4;box-shadow:0 0 0 5px rgba(66,214,164,.14)}
.matching-demo-head b{font-size:10px;letter-spacing:1.5px;color:#f6d99c}
.matching-demo-head small{margin-left:auto;padding:5px 8px;border:1px solid rgba(255,255,255,.18);border-radius:20px;color:#d6e7f0;font-size:8px;letter-spacing:.8px}
.matching-route{display:grid;grid-template-columns:1fr 28px 1fr;align-items:center;padding:15px 14px;border:1px solid rgba(255,255,255,.15);border-radius:14px;background:rgba(3,21,37,.34)}
.matching-route>div{display:flex;flex-direction:column;gap:5px;min-width:0}
.matching-route small{font-size:8px;letter-spacing:1px;color:#a9c4d5;font-weight:800}
.matching-route b{font-size:clamp(13px,1.5vw,16px);color:#fff;overflow-wrap:anywhere}
.matching-route>span{text-align:center;color:#f0ce86;font-size:20px}
.matching-pair{display:flex;align-items:center;gap:12px;margin-top:11px;padding:12px;border:1px solid rgba(255,255,255,.13);border-radius:13px;background:rgba(255,255,255,.08)}
.matching-truck-icon,.matching-load-icon{display:grid;place-items:center;width:39px;height:39px;flex:none;border-radius:11px;background:rgba(65,190,213,.17);font-size:21px}
.matching-load-icon{color:#f3cf83;font-size:23px}
.matching-pair-copy{display:flex;flex-direction:column;gap:4px;min-width:0}
.matching-pair-copy b{font-size:13px;color:#fff}
.matching-pair-copy small{font-size:9px;color:#bfd0dc}
.matching-check{display:grid;place-items:center;margin-left:auto;width:24px;height:24px;flex:none;border-radius:50%;background:rgba(64,210,159,.16);color:#62e4b2;font-weight:900}
.matching-result{display:flex;flex-direction:column;gap:4px;margin-top:13px;padding:12px 14px;border:1px solid rgba(78,221,174,.3);border-radius:12px;background:rgba(30,164,124,.13)}
.matching-result b{font-size:11px;letter-spacing:.7px;color:#77efc3}
.matching-result span{font-size:10px;line-height:1.5;color:#d7e8e8}
.matching-demo-btn{display:flex;justify-content:space-between;align-items:center;width:100%;margin-top:13px;padding:12px 15px;border:0;border-radius:11px;background:linear-gradient(110deg,#f1d18e,#d7a64d);color:#142f45;font-size:11px;font-weight:900;box-shadow:0 8px 20px rgba(0,0,0,.16)}
.matching-demo-btn:hover{transform:translateY(-1px);box-shadow:0 11px 24px rgba(0,0,0,.22)}
.matching-demo-btn:focus-visible{outline:3px solid #fff;outline-offset:3px}
.matching-demo-note{margin:10px 2px 0;color:#c4d7e3;font-size:9px;line-height:1.6}
.matching-demo.is-running .matching-pair{animation:matchingGlow .8s ease both}
.matching-demo.is-running .matching-result{animation:matchingGlow .9s ease .25s both}
@keyframes matchingGlow{0%{box-shadow:0 0 0 0 rgba(87,225,180,0);border-color:rgba(255,255,255,.13)}50%{box-shadow:0 0 0 4px rgba(87,225,180,.12);border-color:rgba(87,225,180,.55)}100%{box-shadow:0 0 0 0 rgba(87,225,180,0)}}
@media(max-width:900px){.hero-art{transform:none!important}}
@media(max-width:720px){.hero-art{min-height:0;margin:25px 0 0;transform:none!important}.matching-demo{width:100%;max-width:500px;margin:0;padding:17px;border-radius:18px}.matching-route{padding:12px}.matching-pair{padding:10px}.matching-demo-head{margin-bottom:14px}}
@media(prefers-reduced-motion:reduce){.matching-demo.is-running .matching-pair,.matching-demo.is-running .matching-result{animation:none} .matching-demo-btn{transition:none}}