<section id="thinking-state" class="primitive-showcase group flex w-full scroll-mt-8 flex-col border-b border-dashed border-line px-8 py-10" style="animation:fade-up 600ms cubic-bezier(0.23,1,0.32,1) 60ms both"><div class="mb-3 flex items-start gap-2 sm:items-baseline"><span class="mt-0.5 font-mono text-[11px] text-ink-3 tabular-nums sm:mt-0">02</span><div class="min-w-0 sm:flex sm:items-baseline sm:gap-2"><h3 class="whitespace-nowrap text-[13px] font-semibold text-ink">Thinking</h3><p class="mt-0.5 text-[12.5px] text-ink-3 text-pretty sm:mt-0 sm:truncate">Expandable traces — steps, reasoning, search, coding.</p></div></div><div class="primitive-demo-surface relative flex items-center justify-center overflow-hidden rounded-window bg-canvas p-3 shadow-hairline" style="min-height:272px"><div class="w-full max-w-120 [&amp;&gt;*]:mx-auto"><div class="flex min-h-[176px] w-full max-w-95 flex-col"><button type="button" aria-expanded="false" class="-mx-1.5 flex w-fit items-center gap-2 rounded-control px-1.5 py-1 transition-colors duration-100 hover:bg-hover-2"><svg width="16" height="16" viewBox="0 0 24 24" fill="var(--ink-3)"><path d="M12 2l2.4 7.2L22 12l-7.6 2.8L12 22l-2.4-7.2L2 12l7.6-2.8z"></path></svg><span class="text-[13px] font-medium whitespace-nowrap text-ink-2" style="animation: 350ms ease-out 0s 1 normal both running fade-in;">Thought for 4 seconds</span><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="var(--ink-3)" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" class="transition-transform duration-300" style="transform: rotate(0deg);"><path d="M6 9l6 6 6-6"></path></svg></button><div class="grid transition-[grid-template-rows,opacity] duration-400" style="grid-template-rows: 0fr; opacity: 0; transition-timing-function: cubic-bezier(0.23, 1, 0.32, 1);"><div class="overflow-hidden"><div class="relative mt-1 ml-[5px] pl-4"><span aria-hidden="true" class="absolute left-[3px] w-px bg-line" style="top: -8px; height: 130px; transition: height 500ms cubic-bezier(0.23, 1, 0.32, 1);"></span><div class="flex flex-col gap-1 py-1"><div class="flex min-h-7 w-full items-center gap-2 rounded-[6px] px-1.5 py-0.5 text-left" style="animation: 320ms cubic-bezier(0.23, 1, 0.32, 1) 0ms 1 normal both running fade-up;"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="var(--ink-3)" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" class="shrink-0"><path d="M20 6L9 17l-5-5"></path></svg><span class="min-w-0 truncate text-[12.5px] font-medium text-ink ">Reading flavor briefs</span></div><div class="flex min-h-7 w-full items-center gap-2 rounded-[6px] px-1.5 py-0.5 text-left" style="animation: 320ms cubic-bezier(0.23, 1, 0.32, 1) 120ms 1 normal both running fade-up;"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="var(--ink-3)" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" class="shrink-0"><path d="M20 6L9 17l-5-5"></path></svg><span class="min-w-0 truncate text-[12.5px] font-medium text-ink ">Scanning supplier lists</span></div><div class="flex min-h-7 w-full items-center gap-2 rounded-[6px] px-1.5 py-0.5 text-left" style="animation: 320ms cubic-bezier(0.23, 1, 0.32, 1) 240ms 1 normal both running fade-up;"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="var(--ink-3)" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" class="shrink-0"><path d="M20 6L9 17l-5-5"></path></svg><span class="min-w-0 truncate text-[12.5px] font-medium text-ink ">Comparing tasting notes</span><span class="shrink-0 text-[11.5px] text-ink-3 ">6 flavors</span></div><div class="flex min-h-7 w-full items-center gap-2 rounded-[6px] px-1.5 py-0.5 text-left" style="animation: 320ms cubic-bezier(0.23, 1, 0.32, 1) 360ms 1 normal both running fade-up;"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="var(--ink-3)" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" class="shrink-0"><path d="M20 6L9 17l-5-5"></path></svg><span class="min-w-0 truncate text-[12.5px] font-medium text-ink ">Writing the scoop report</span></div></div></div></div></div></div></div><div class="absolute bottom-2.5 left-1/2 flex -translate-x-1/2 rounded-full bg-field p-0.5"><button class="rounded-full px-2 py-0.5 text-[11.5px] font-medium transition-[background-color,color,box-shadow] duration-150
                  bg-surface text-ink shadow-btn">Steps</button><button class="rounded-full px-2 py-0.5 text-[11.5px] font-medium transition-[background-color,color,box-shadow] duration-150
                  text-ink-3 hover:text-ink-2">Reasoning</button><button class="rounded-full px-2 py-0.5 text-[11.5px] font-medium transition-[background-color,color,box-shadow] duration-150
                  text-ink-3 hover:text-ink-2">Search</button><button class="rounded-full px-2 py-0.5 text-[11.5px] font-medium transition-[background-color,color,box-shadow] duration-150
                  text-ink-3 hover:text-ink-2">Coding</button></div><div class="absolute top-3 right-3 flex gap-1 opacity-0 transition-opacity duration-150 group-hover:opacity-100 group-focus-within:opacity-100"><button aria-label="Copy code" class="flex size-7 items-center justify-center rounded-control bg-surface
              shadow-btn transition-colors duration-100 hover:bg-hover
              text-ink-3 hover:text-ink"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="9" y="9" width="12" height="12" rx="2.5"></rect><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path></svg></button><button aria-label="View code" class="flex size-7 items-center justify-center rounded-control bg-surface text-ink-3 shadow-btn transition-colors duration-100 hover:bg-hover hover:text-ink"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M16 18l6-6-6-6M8 6l-6 6 6 6"></path></svg></button></div></div></section>