Prep the pan: Line an 8x8-inch baking pan with parchment, leaving overhang for easy lifting. Preheat the oven to 350°F (175°C).
Make the crust: In a bowl, mix 2 cups almond flour, 1/4 cup brown-style keto sweetener, 1/4 teaspoon sea salt, and 6 tablespoons melted butter. Press evenly into the pan.
Bake the crust: Bake for 10–12 minutes until lightly golden at the edges.
Set aside to cool slightly.
Toast the pecans (optional but worth it): Spread 1 1/2 cups chopped pecans on a sheet pan and toast for 5–7 minutes until fragrant. Keep an eye on them.
Make the filling: In a saucepan over medium-low heat, whisk 1/2 cup brown-style keto sweetener, 4 tablespoons butter, and 1/3 cup heavy cream until smooth and slightly thickened, 3–4 minutes. Remove from heat and whisk in 1 large beaten egg, 1 teaspoon vanilla, a pinch of salt, and 1/4 teaspoon maple extract if using.
If the filling seems thin, whisk in 1–2 teaspoons almond flour.
Combine and assemble: Stir the pecans into the warm filling. Pour over the par-baked crust and spread evenly.
Bake to set: Return to the oven and bake 18–22 minutes, until the center is just set and no longer jiggly. The top will look glossy.
Cool and chill: Let the pan cool on a rack for 30 minutes, then chill for at least 2 hours.
This helps the bars slice cleanly.
Slice and serve: Lift out using parchment and cut into 16 small squares or 9 larger bars. Sprinkle with flaky salt if you like.