{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "feature-section-v3",
  "title": "Feature Section v3",
  "description": "Roomy headline with numbered tags on key phrases, plus three theme-aware SVG feature illustrations for funnel health, friction, and experiment impact.",
  "dependencies": [
    "geist@^1.7.0"
  ],
  "registryDependencies": [
    "card"
  ],
  "files": [
    {
      "path": "registry/new-york/blocks/feature-section-v3/page.tsx",
      "content": "import FeatureSectionV3 from \"./components/feature-section-v3\"\n\nexport default function Page() {\n  return <FeatureSectionV3 />\n}\n",
      "type": "registry:page",
      "target": "app/feature-section-v3/page.tsx"
    },
    {
      "path": "registry/new-york/blocks/feature-section-v3/components/feature-section-v3.tsx",
      "content": "import FeatureShowcase from \"./feature-showcase\"\nimport \"../styles/feature-section-v3.css\"\n\nexport default function FeatureSectionV3() {\n  return (\n    <section className=\"py-4 md:py-6 lg:py-8\">\n      <div className=\"mx-auto max-w-6xl px-4\">\n        <h2 className=\"max-w-3xl text-3xl leading-tight font-medium tracking-tighter sm:text-4xl lg:text-5xl\">\n          Know what&apos;s happening in your product\n        </h2>\n        <p className=\"mt-4 max-w-2xl text-3.75 leading-relaxed text-muted-foreground\">\n          Finds opportunities in your product, understands what&apos;s driving\n          behavior, and delivers growth from insight to impact.\n        </p>\n\n        <div className=\"mt-12 lg:mt-16\">\n          <FeatureShowcase />\n        </div>\n      </div>\n    </section>\n  )\n}\n",
      "type": "registry:component",
      "target": "app/feature-section-v3/components/feature-section-v3.tsx"
    },
    {
      "path": "registry/new-york/blocks/feature-section-v3/components/feature-showcase.tsx",
      "content": "import type { ComponentType } from \"react\"\n\nimport { GeistMono } from \"geist/font/mono\"\n\nimport { Card, CardContent, CardTitle } from \"@/components/ui/card\"\n\nimport DropoffIllustration from \"./dropoff-illustration\"\nimport ExperimentIllustration from \"./experiment-illustration\"\nimport { FeatureCardMedia } from \"./feature-card-media\"\nimport FunnelIllustration from \"./funnel-illustration\"\nimport { features, type FeatureIllustrationId } from \"../lib/features\"\n\nconst illustrationComponents: Record<FeatureIllustrationId, ComponentType> = {\n  \"funnel-opportunities\": FunnelIllustration,\n  \"dropoff-diagnosis\": DropoffIllustration,\n  \"experiment-impact\": ExperimentIllustration,\n}\n\nexport default function FeatureShowcase() {\n  return (\n    <ul className=\"m-0 grid list-none grid-cols-1 gap-4 p-0 md:grid-cols-3\">\n      {features.map(({ id, step, title, description, illustration }) => {\n        const Illustration = illustrationComponents[illustration]\n\n        return (\n          <li key={id} className=\"flex min-w-0 flex-col\">\n            <Card className=\"group/card flex h-full min-h-80 flex-col gap-0 py-0\">\n              <FeatureCardMedia>\n                <Illustration />\n              </FeatureCardMedia>\n              <CardContent className=\"flex flex-col gap-0 px-3.5 pt-3 pb-2.25\">\n                <p\n                  className={`${GeistMono.className} m-0 mb-1 shrink-0 text-2.75 leading-[1.2] font-medium tracking-[0.14em] text-foreground/85`}\n                >\n                  {step}\n                </p>\n                <CardTitle className=\"m-0 mb-1.25 min-h-[calc(0.95rem*1.35*2)] text-3.8 leading-[1.35] font-semibold tracking-normal text-foreground\">\n                  {title}\n                </CardTitle>\n                <p className=\"m-0 shrink-0 text-3.25 leading-normal text-muted-foreground\">\n                  {description}\n                </p>\n              </CardContent>\n            </Card>\n          </li>\n        )\n      })}\n    </ul>\n  )\n}\n",
      "type": "registry:component",
      "target": "app/feature-section-v3/components/feature-showcase.tsx"
    },
    {
      "path": "registry/new-york/blocks/feature-section-v3/components/feature-illustration.tsx",
      "content": "export const FEATURE_CARD_MEDIA_HEIGHT = \"h-56 min-h-56\"\n",
      "type": "registry:component",
      "target": "app/feature-section-v3/components/feature-illustration.tsx"
    },
    {
      "path": "registry/new-york/blocks/feature-section-v3/components/feature-card-media.tsx",
      "content": "import type { ReactNode } from \"react\"\n\nimport { cn } from \"@/lib/utils\"\n\nimport { FEATURE_CARD_MEDIA_HEIGHT } from \"./feature-illustration\"\n\ntype FeatureCardMediaProps = {\n  children: ReactNode\n  className?: string\n}\n\nexport function FeatureCardMedia({ children, className }: FeatureCardMediaProps) {\n  return (\n    <div\n      className={cn(\n        \"flex w-full shrink-0 items-center justify-center border-b border-border/60 bg-muted/20 p-4\",\n        FEATURE_CARD_MEDIA_HEIGHT,\n        className\n      )}\n      aria-hidden\n    >\n      <div className=\"h-full max-h-full w-full max-w-full min-h-0 overflow-hidden\">\n        {children}\n      </div>\n    </div>\n  )\n}\n",
      "type": "registry:component",
      "target": "app/feature-section-v3/components/feature-card-media.tsx"
    },
    {
      "path": "registry/new-york/blocks/feature-section-v3/components/funnel-illustration.tsx",
      "content": "\"use client\"\n\nimport { cn } from \"@/lib/utils\"\n\nimport { MockScreen } from \"./mock-screen\"\nimport { useInViewOnce } from \"../lib/use-in-view-once\"\n\nconst WEDGES: ReadonlyArray<{\n  label: string\n  users: string\n  width: string\n  gap?: boolean\n}> = [\n  { label: \"Visit\", users: \"12.4k\", width: \"92%\" },\n  { label: \"Signup\", users: \"4.1k\", width: \"74%\" },\n  { label: \"Activate\", users: \"1.8k\", width: \"52%\", gap: true },\n  { label: \"Paid\", users: \"640\", width: \"34%\" },\n]\n\nexport default function FunnelIllustration() {\n  const { ref, active } = useInViewOnce()\n\n  return (\n    <div ref={ref} className=\"size-full min-h-0 p-1\">\n      <MockScreen\n        label=\"Funnel stages with a drop-off gap on Activate\"\n        className={cn(\"fsv3-fn-mock\", active && \"fsv3-fn-mock--active\")}\n      >\n        <div className=\"flex min-h-0 flex-1 flex-col items-center justify-center gap-1.5 px-3 py-3\">\n          {WEDGES.map((wedge, index) => (\n            <div\n              key={wedge.label}\n              className={cn(\n                \"fsv3-fn-wedge relative flex w-full flex-col items-center\",\n                `fsv3-fn-wedge--${index + 1}`,\n                wedge.gap &&\n                  \"origin-center motion-safe:transition-transform duration-200 ease-out group-hover/card:scale-[1.03]\"\n              )}\n            >\n              <div\n                className={cn(\n                  \"flex h-7 items-center justify-between gap-2 rounded-sm border border-border/65 bg-muted/35 px-2\",\n                  wedge.gap && \"border-foreground/40 bg-muted/65\"\n                )}\n                style={{ width: wedge.width }}\n              >\n                <span className=\"font-mono text-[0.5625rem] text-foreground/80\">\n                  {wedge.label}\n                </span>\n                <span className=\"font-mono text-[0.5625rem] text-muted-foreground tabular-nums\">\n                  {wedge.users}\n                </span>\n              </div>\n              {wedge.gap ? (\n                <span className=\"fsv3-fn-gap-mark mt-0.5 font-mono text-[0.5rem] tracking-[0.12em] text-foreground/70 uppercase\">\n                  gap · −56%\n                </span>\n              ) : null}\n            </div>\n          ))}\n        </div>\n      </MockScreen>\n    </div>\n  )\n}\n",
      "type": "registry:component",
      "target": "app/feature-section-v3/components/funnel-illustration.tsx"
    },
    {
      "path": "registry/new-york/blocks/feature-section-v3/components/dropoff-illustration.tsx",
      "content": "\"use client\"\n\nimport { cn } from \"@/lib/utils\"\n\nimport { MockScreen } from \"./mock-screen\"\nimport { useInViewOnce } from \"../lib/use-in-view-once\"\n\nconst STOPS: ReadonlyArray<{\n  label: string\n  stuck?: boolean\n}> = [\n  { label: \"Land\" },\n  { label: \"Price\" },\n  { label: \"Pay\", stuck: true },\n  { label: \"Buy\" },\n]\n\nexport default function DropoffIllustration() {\n  const { ref, active } = useInViewOnce()\n\n  return (\n    <div ref={ref} className=\"size-full min-h-0 p-1\">\n      <MockScreen\n        label=\"People leave at checkout because the form feels hard\"\n        className={cn(\"fsv3-do-mock\", active && \"fsv3-do-mock--active\")}\n      >\n        <div className=\"flex min-h-0 flex-1 flex-col justify-between px-3 py-3\">\n          <div className=\"fsv3-do-path relative flex items-start justify-between gap-1 pt-1\">\n            <div\n              className=\"absolute top-[0.7rem] right-4 left-4 h-px bg-border\"\n              aria-hidden\n            />\n            {STOPS.map((stop, index) => (\n              <div\n                key={stop.label}\n                className={cn(\n                  \"fsv3-do-stop relative z-10 flex flex-1 flex-col items-center gap-1.5\",\n                  `fsv3-do-stop--${index + 1}`\n                )}\n              >\n                <span\n                  className={cn(\n                    \"flex size-5 items-center justify-center rounded-full border border-border bg-card\",\n                    stop.stuck &&\n                      \"size-6 border-foreground/50 bg-foreground text-background motion-safe:transition-transform duration-200 ease-out group-hover/card:scale-110\"\n                  )}\n                >\n                  {stop.stuck ? (\n                    <span className=\"font-mono text-[0.5rem] font-semibold\">!</span>\n                  ) : (\n                    <span className=\"size-1.5 rounded-full bg-foreground/35\" />\n                  )}\n                </span>\n                <span\n                  className={cn(\n                    \"font-mono text-[0.5rem] text-muted-foreground\",\n                    stop.stuck && \"font-medium text-foreground/85\"\n                  )}\n                >\n                  {stop.label}\n                </span>\n              </div>\n            ))}\n          </div>\n\n          <div\n            className={cn(\n              \"fsv3-do-pin relative mx-auto w-full max-w-[11.5rem] rounded-lg border border-foreground/30 bg-muted/50 px-2.5 py-2\",\n              \"motion-safe:transition-transform duration-200 ease-out group-hover/card:-translate-y-0.5\"\n            )}\n          >\n            <span\n              className=\"absolute -top-1.5 left-1/2 size-2.5 -translate-x-1/2 rotate-45 border-t border-l border-foreground/30 bg-muted/50\"\n              aria-hidden\n            />\n            <p className=\"font-mono text-[0.5rem] tracking-[0.1em] text-muted-foreground uppercase\">\n              Why they leave\n            </p>\n            <p className=\"mt-0.5 text-[0.6875rem] leading-snug font-medium tracking-tight text-foreground\">\n              Checkout form feels too long\n            </p>\n            <p className=\"mt-1 font-mono text-[0.5625rem] text-foreground/70\">\n              7 of 10 exits\n            </p>\n          </div>\n        </div>\n      </MockScreen>\n    </div>\n  )\n}\n",
      "type": "registry:component",
      "target": "app/feature-section-v3/components/dropoff-illustration.tsx"
    },
    {
      "path": "registry/new-york/blocks/feature-section-v3/components/experiment-illustration.tsx",
      "content": "\"use client\"\n\nimport { cn } from \"@/lib/utils\"\n\nimport { MockScreen } from \"./mock-screen\"\nimport { useInViewOnce } from \"../lib/use-in-view-once\"\n\nfunction CheckoutDraft({\n  fields,\n  winner,\n}: {\n  fields: number\n  winner?: boolean\n}) {\n  return (\n    <div\n      className={cn(\n        \"flex min-h-0 flex-1 flex-col overflow-hidden rounded-md border\",\n        winner\n          ? \"border-foreground/45 bg-card\"\n          : \"border-border/50 bg-muted/15 opacity-60\"\n      )}\n    >\n      <div className=\"flex h-3 shrink-0 items-center gap-0.5 border-b border-border/45 px-1.5\">\n        <span className=\"size-1 rounded-full bg-foreground/25\" />\n        <span className=\"size-1 rounded-full bg-foreground/25\" />\n        <span className=\"size-1 rounded-full bg-foreground/25\" />\n      </div>\n      <div className=\"flex min-h-0 flex-1 flex-col justify-end gap-1 p-1.5\">\n        {Array.from({ length: fields }, (_, i) => (\n          <div\n            key={i}\n            className=\"h-1.5 w-full rounded-[2px] border border-border/50 bg-muted/40\"\n          />\n        ))}\n        <div\n          className={cn(\n            \"mt-0.5 flex h-3.5 items-center justify-center rounded-[2px]\",\n            winner ? \"bg-foreground\" : \"bg-foreground/20\"\n          )}\n        >\n          <span\n            className={cn(\n              \"font-mono text-[0.4375rem] tracking-wide uppercase\",\n              winner ? \"text-background\" : \"text-foreground/40\"\n            )}\n          >\n            Pay\n          </span>\n        </div>\n      </div>\n    </div>\n  )\n}\n\nexport default function ExperimentIllustration() {\n  const { ref, active } = useInViewOnce()\n\n  return (\n    <div ref={ref} className=\"size-full min-h-0 p-1\">\n      <MockScreen\n        label=\"New short checkout beats the old long one\"\n        className={cn(\"fsv3-ex-mock\", active && \"fsv3-ex-mock--active\")}\n      >\n        <div className=\"flex min-h-0 flex-1 flex-col gap-2 px-2.5 py-2.5\">\n          <div className=\"grid min-h-0 flex-1 grid-cols-[1fr_auto_1fr] items-stretch gap-1.5\">\n            <div className=\"fsv3-ex-side fsv3-ex-side--a flex min-h-0 flex-col gap-1\">\n              <p className=\"shrink-0 font-mono text-[0.5rem] tracking-[0.1em] text-muted-foreground uppercase\">\n                A · Old\n              </p>\n              <CheckoutDraft fields={4} />\n            </div>\n\n            <div\n              className=\"fsv3-ex-vs flex shrink-0 items-center self-center font-mono text-[0.5rem] text-muted-foreground\"\n              aria-hidden\n            >\n              vs\n            </div>\n\n            <div className=\"fsv3-ex-side fsv3-ex-side--b flex min-h-0 flex-col gap-1\">\n              <div className=\"flex shrink-0 items-center justify-between gap-1\">\n                <p className=\"font-mono text-[0.5rem] tracking-[0.1em] text-foreground/80 uppercase\">\n                  B · New\n                </p>\n                <span className=\"rounded-[2px] bg-foreground px-1 py-px font-mono text-[0.4375rem] font-semibold tracking-wide text-background uppercase\">\n                  Win\n                </span>\n              </div>\n              <CheckoutDraft fields={1} winner />\n            </div>\n          </div>\n\n          <div\n            className={cn(\n              \"fsv3-ex-result flex shrink-0 items-baseline justify-between gap-2 rounded-md border border-foreground/30 bg-muted/55 px-2.5 py-2\",\n              \"motion-safe:transition-transform duration-200 ease-out group-hover/card:-translate-y-0.5\"\n            )}\n          >\n            <div>\n              <p className=\"font-mono text-[0.5rem] tracking-[0.1em] text-muted-foreground uppercase\">\n                Result\n              </p>\n              <p className=\"mt-0.5 text-[0.75rem] leading-none font-medium tracking-tight text-foreground\">\n                +18% more sales\n              </p>\n            </div>\n            <p className=\"font-mono text-[0.5rem] tracking-[0.08em] text-foreground/70 uppercase\">\n              Shipped\n            </p>\n          </div>\n        </div>\n      </MockScreen>\n    </div>\n  )\n}\n",
      "type": "registry:component",
      "target": "app/feature-section-v3/components/experiment-illustration.tsx"
    },
    {
      "path": "registry/new-york/blocks/feature-section-v3/components/mock-screen.tsx",
      "content": "import type { ReactNode } from \"react\"\n\nimport { cn } from \"@/lib/utils\"\n\ntype MockScreenProps = {\n  children: ReactNode\n  className?: string\n  label: string\n}\n\nexport function MockScreen({ children, className, label }: MockScreenProps) {\n  return (\n    <div\n      className={cn(\n        \"fsv3-mock flex size-full min-h-0 flex-col overflow-hidden rounded-xl border border-border/70 bg-card text-foreground opacity-70 shadow-sm motion-safe:transition-opacity duration-200 ease-out group-hover/card:opacity-100\",\n        className\n      )}\n      role=\"img\"\n      aria-label={label}\n    >\n      {children}\n    </div>\n  )\n}\n",
      "type": "registry:component",
      "target": "app/feature-section-v3/components/mock-screen.tsx"
    },
    {
      "path": "registry/new-york/blocks/feature-section-v3/lib/use-in-view-once.ts",
      "content": "\"use client\"\n\nimport { useEffect, useRef, useState } from \"react\"\n\nexport function useInViewOnce(threshold = 0.35) {\n  const ref = useRef<HTMLDivElement>(null)\n  const [active, setActive] = useState(false)\n\n  useEffect(() => {\n    const el = ref.current\n    if (!el || active) return\n\n    const observer = new IntersectionObserver(\n      ([entry]) => {\n        if (entry?.isIntersecting) {\n          setActive(true)\n          observer.disconnect()\n        }\n      },\n      { threshold }\n    )\n\n    observer.observe(el)\n    return () => observer.disconnect()\n  }, [active, threshold])\n\n  return { ref, active }\n}\n",
      "type": "registry:lib",
      "target": "app/feature-section-v3/lib/use-in-view-once.ts"
    },
    {
      "path": "registry/new-york/blocks/feature-section-v3/lib/features.ts",
      "content": "export type FeatureIllustrationId =\n  | \"funnel-opportunities\"\n  | \"dropoff-diagnosis\"\n  | \"experiment-impact\"\n\nexport type Feature = {\n  id: FeatureIllustrationId\n  step: string\n  title: string\n  description: string\n  illustration: FeatureIllustrationId\n}\n\nexport const features: Feature[] = [\n  {\n    id: \"funnel-opportunities\",\n    step: \"01\",\n    title: \"Find opportunities hiding in your funnel\",\n    description:\n      \"Follows users through your funnel so gaps and odd behavior surface before they cost you.\",\n    illustration: \"funnel-opportunities\",\n  },\n  {\n    id: \"dropoff-diagnosis\",\n    step: \"02\",\n    title: \"Understand what's driving the drop-off\",\n    description:\n      \"Points to exactly where users stall in your flow and what's sending them away.\",\n    illustration: \"dropoff-diagnosis\",\n  },\n  {\n    id: \"experiment-impact\",\n    step: \"03\",\n    title: \"Growth experiments from insight to impact\",\n    description:\n      \"Transforms insights into real experiments and follows the results until you see impact.\",\n    illustration: \"experiment-impact\",\n  },\n]\n",
      "type": "registry:lib",
      "target": "app/feature-section-v3/lib/features.ts"
    },
    {
      "path": "registry/new-york/blocks/feature-section-v3/styles/feature-section-v3.css",
      "content": "@keyframes fsv3-mock-in {\n  from {\n    opacity: 0;\n    transform: translateY(4px);\n  }\n  to {\n    opacity: 1;\n    transform: translateY(0);\n  }\n}\n\n@keyframes fsv3-fade-in {\n  from {\n    opacity: 0;\n  }\n  to {\n    opacity: 1;\n  }\n}\n\n@keyframes fsv3-pop {\n  from {\n    opacity: 0;\n    transform: scale(0.92);\n  }\n  to {\n    opacity: 1;\n    transform: scale(1);\n  }\n}\n\n.fsv3-fn-wedge,\n.fsv3-fn-gap-mark,\n.fsv3-do-stop,\n.fsv3-do-pin,\n.fsv3-ex-side,\n.fsv3-ex-vs,\n.fsv3-ex-result {\n  opacity: 0;\n}\n\n.fsv3-fn-mock--active .fsv3-fn-wedge--1 {\n  animation: fsv3-mock-in 400ms cubic-bezier(0.22, 1, 0.36, 1) 60ms forwards;\n}\n\n.fsv3-fn-mock--active .fsv3-fn-wedge--2 {\n  animation: fsv3-mock-in 400ms cubic-bezier(0.22, 1, 0.36, 1) 140ms forwards;\n}\n\n.fsv3-fn-mock--active .fsv3-fn-wedge--3 {\n  animation: fsv3-mock-in 460ms cubic-bezier(0.22, 1, 0.36, 1) 220ms forwards;\n}\n\n.fsv3-fn-mock--active .fsv3-fn-wedge--4 {\n  animation: fsv3-mock-in 400ms ease-out 300ms forwards;\n}\n\n.fsv3-fn-mock--active .fsv3-fn-gap-mark {\n  animation: fsv3-fade-in 360ms ease-out 480ms forwards;\n}\n\n.fsv3-do-mock--active .fsv3-do-stop--1 {\n  animation: fsv3-mock-in 320ms ease-out 60ms forwards;\n}\n\n.fsv3-do-mock--active .fsv3-do-stop--2 {\n  animation: fsv3-mock-in 320ms ease-out 120ms forwards;\n}\n\n.fsv3-do-mock--active .fsv3-do-stop--3 {\n  animation: fsv3-pop 420ms cubic-bezier(0.22, 1, 0.36, 1) 200ms forwards;\n}\n\n.fsv3-do-mock--active .fsv3-do-stop--4 {\n  animation: fsv3-mock-in 320ms ease-out 280ms forwards;\n}\n\n.fsv3-do-mock--active .fsv3-do-pin {\n  animation: fsv3-mock-in 420ms cubic-bezier(0.22, 1, 0.36, 1) 380ms forwards;\n}\n\n.fsv3-ex-mock--active .fsv3-ex-side--a {\n  animation: fsv3-mock-in 360ms ease-out 80ms forwards;\n}\n\n.fsv3-ex-mock--active .fsv3-ex-vs {\n  animation: fsv3-fade-in 280ms ease-out 160ms forwards;\n}\n\n.fsv3-ex-mock--active .fsv3-ex-side--b {\n  animation: fsv3-pop 420ms cubic-bezier(0.22, 1, 0.36, 1) 220ms forwards;\n}\n\n.fsv3-ex-mock--active .fsv3-ex-result {\n  animation: fsv3-mock-in 400ms cubic-bezier(0.22, 1, 0.36, 1) 380ms forwards;\n}\n\n@media (prefers-reduced-motion: reduce) {\n  .fsv3-fn-wedge,\n  .fsv3-fn-gap-mark,\n  .fsv3-do-stop,\n  .fsv3-do-pin,\n  .fsv3-ex-side,\n  .fsv3-ex-vs,\n  .fsv3-ex-result {\n    opacity: 1;\n    transform: none;\n    animation: none;\n  }\n}\n",
      "type": "registry:file",
      "target": "app/feature-section-v3/styles/feature-section-v3.css"
    }
  ],
  "type": "registry:block"
}