/* Solution hero multi-tool (knife.js). Orange body, steel tools, white pill labels with orange text. */
.kn { position: relative; width: min(100%, 640px); margin-left: auto; aspect-ratio: 640 / 500; }
.kn-svg { display: block; width: 100%; height: 100%; overflow: visible; font-family: Inter, system-ui, sans-serif; }
.kn-sh { fill: rgba(0,0,0,.14); filter: blur(8px); }
.kn-knife { filter: drop-shadow(0 14px 14px rgba(120,60,10,.22)); }
.kn-t { filter: drop-shadow(0 2px 2px rgba(0,0,0,.18)); }
.kn-rv { fill: #ffd2a3; stroke: #c45a08; stroke-width: 1.4; }
.kn-pulse { fill: none; stroke: #f7861e; stroke-width: 3; opacity: 0; }
.kn.hit .kn-pulse { animation: kn-pulse .7s ease-out; }
@keyframes kn-pulse { from { opacity: .8; stroke-width: 2; } to { opacity: 0; stroke-width: 16; } }
.kn-ld { fill: none; stroke: #e8b98a; stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .5s ease-out, stroke .3s; }
.kn-ld.on { stroke-dashoffset: 0; }
.kn-ld.hot { stroke: #f7861e; stroke-width: 1.8; }
.kn-dot { fill: #f7861e; opacity: 0; filter: drop-shadow(0 0 4px rgba(247,134,30,.9)); }
.kn-l { opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .5s cubic-bezier(.34,1.56,.64,1); }
.kn-l.on { opacity: 1; transform: none; }
.kn-l rect { fill: #fff; stroke: #e5e5e5; stroke-width: 1.2; filter: drop-shadow(0 6px 10px rgba(0,0,0,.08)); transition: fill .3s, stroke .3s; }
.kn-l text { font-size: 12.5px; font-weight: 700; fill: #e56f06; text-anchor: middle; transition: fill .3s; }
.kn-l.hot rect { fill: #f7861e; stroke: #f7861e; } .kn-l.hot text { fill: #fff; }
@media (max-width: 900px) { .kn { margin: 8px auto 0; width: min(100%, 560px); } }
@media (prefers-reduced-motion: reduce) { .kn * { transition: none !important; animation: none !important; } }
/* Solution: the machine hub diagram, now its own section further down */
.sxh-sec { padding-block: clamp(64px, 8vw, 104px); background: #fff; }
.sxh { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.sxh-copy h2 { margin: 12px 0 0; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.1; letter-spacing: -.03em; }
.sxh-copy p { margin: 16px 0 0; max-width: 520px; color: var(--mute); font-size: 16.5px; line-height: 1.7; }
.sxh .sx { margin: 0 auto; width: min(100%, 540px); }
@media (max-width: 900px) { .sxh { grid-template-columns: minmax(0, 1fr); } .sxh .sx { width: min(100%, 440px); } }

/* order: promise (white) -> hub (cream) -> machines (white) -> connects (cream) */
.sxh-sec { background: #fdf6ec; }
.ms-sec { background: #fff; }

/* ===== One hub: orbit of six machines (hub.js) ===== */
.sxh .sx.hb2-host { aspect-ratio: 1; width: min(100%, 600px); max-width: none; }
.sxh .sx.hb2-host > *:not(.hb2) { display: none !important; }
.hb2 { display: block; width: 100%; height: 100%; overflow: visible; font-family: Inter, system-ui, sans-serif; }
.hb2-host * { animation-play-state: paused; } .hb2-host.play * { animation-play-state: running; }
.hb2-o1 { fill: none; stroke: #eadfd2; stroke-width: 1; stroke-dasharray: 2 7; transform-box: view-box; transform-origin: 300px 300px; animation: hb2-spin 80s linear infinite; }
.hb2-o2 { fill: none; stroke: #efe5d9; stroke-width: 1.4; }
.hb2-o3 { fill: none; stroke: #f3d9bd; stroke-width: 1.2; stroke-dasharray: 4 6; transform-box: view-box; transform-origin: 300px 300px; animation: hb2-spin 40s linear infinite reverse; }
@keyframes hb2-spin { to { transform: rotate(360deg); } }
.hb2-sp { fill: none; stroke: #e3d8cb; stroke-width: 1.4; stroke-dasharray: 3 5; }
.hb2-spon { fill: none; stroke: #f7861e; stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .6s cubic-bezier(.16,1,.3,1); }
.hb2-spon.on { stroke-dashoffset: 0; }
.hb2-pk { fill: #f7861e; filter: drop-shadow(0 0 3px rgba(247,134,30,.8)); }
/* nodes */
.hb2-n { transform-box: fill-box; transform-origin: center; transition: transform .6s cubic-bezier(.34,1.56,.64,1); }
.hb2-halo { fill: #fff; opacity: 0; transition: opacity .4s; filter: drop-shadow(0 18px 22px rgba(120,70,20,.22)); }
.hb2-disc { fill: #fff; filter: drop-shadow(0 12px 16px rgba(0,0,0,.10)); }
.hb2-img { transition: filter .5s; filter: grayscale(.35) contrast(.95); }
.hb2-ring { fill: none; stroke: #e6ddd2; stroke-width: 2; transition: stroke .4s, stroke-width .4s; }
.hb2-n.on { transform: scale(1.1); }
.hb2-n.on .hb2-halo { opacity: 1; } .hb2-n.on .hb2-img { filter: none; } .hb2-n.on .hb2-ring { stroke: #f7861e; stroke-width: 3; }
.hb2-lb rect { fill: #fff; stroke: #e6ddd2; stroke-width: 1; filter: drop-shadow(0 6px 10px rgba(0,0,0,.08)); transition: fill .3s, stroke .3s; }
.hb2-lb text { font-size: 12.5px; font-weight: 800; fill: #111; text-anchor: middle; transition: fill .3s; }
.hb2-dot { fill: #f7861e; } .hb2-dot.idle { fill: #c2410c; }
.hb2-n.on .hb2-lb rect { fill: #111; stroke: #111; } .hb2-n.on .hb2-lb text { fill: #fff; }
/* core */
.hb2-cd { fill: #fff; stroke: #f1e3d3; stroke-width: 1.5; filter: drop-shadow(0 20px 26px rgba(120,70,20,.18)); }
.hb2-rip { fill: none; stroke: #f7861e; stroke-width: 1.4; opacity: 0; transform-box: fill-box; transform-origin: center; animation: hb2-rip 3s ease-out infinite; }
.hb2-rip.d2 { animation-delay: 1.5s; }
@keyframes hb2-rip { from { transform: scale(1); opacity: .5; } to { transform: scale(1.45); opacity: 0; } }
.hb2-k { font-size: 8.6px; font-weight: 800; letter-spacing: .16em; fill: #9a9a9a; text-anchor: middle; }
.hb2-kn { fill: #e56f06; }
.hb2-v { font-size: 19px; font-weight: 800; letter-spacing: -.02em; fill: #111; text-anchor: middle; }
.hb2-st { font-size: 10px; font-weight: 700; fill: #6b6b6b; text-anchor: middle; }
.hb2-core.idle .hb2-st, .hb2-core.idle .hb2-v { fill: #c2410c; }
.hb2-core.swap .hb2-k, .hb2-core.swap .hb2-v, .hb2-core.swap .hb2-st { animation: hb2-up .5s cubic-bezier(.16,1,.3,1) both; }
@keyframes hb2-up { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 700px) { .sx-knife, .kn { width: 100% !important; max-width: 100%; min-width: 0; margin-inline: auto; } .s-hero-in > * { min-width: 0; } }
