{useCases.map((uc, i) => {
const isActive = videoOpen && i === useCaseIndex;
return (
{ setUseCaseIndex(i); setVideoOpen(true); }}
style={{
border: isActive ? "1.5px solid var(--accent)" : "1px solid var(--ink)",
background: isActive ? "var(--accent-soft)" : "var(--paper)",
padding: 10,
cursor: "pointer",
display: "flex",
flexDirection: "column",
gap: 8,
transition: "border-color 0.15s, background 0.15s",
}}
>
{/* Title row above the thumbnail */}
{/* Small thumbnail */}