{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "faq77",
  "title": "Numbered FAQ Index",
  "description": "A type-forward FAQ with a sticky heading rail and a numbered accordion list of expandable questions.",
  "dependencies": [
    "clsx",
    "tailwind-merge",
    "lucide-react"
  ],
  "registryDependencies": [
    "accordion"
  ],
  "files": [
    {
      "path": "registry/faq77/faq77.tsx",
      "content": "\"use client\";\n\nimport {\n  Accordion,\n  AccordionContent,\n  AccordionItem,\n  AccordionTrigger,\n} from \"@/components/ui/accordion\";\n\nimport { Badge7 } from \"@/components/beste/component/badge7\";\nimport { Button12 } from \"@/components/beste/component/button12\";\nimport { cn } from \"@/lib/utils\";\nimport Link from \"next/link\";\n\ninterface FaqItem {\n  index: string;\n  question: string;\n  answer: string;\n}\n\ninterface Badge {\n  label: string;\n}\n\ninterface ActionButton {\n  label: string;\n  href: string;\n}\n\ninterface Faq77Labels {\n  note?: string;\n}\n\ninterface Faq77Props {\n  badge?: Badge;\n  heading?: string;\n  labels?: Faq77Labels;\n  button?: ActionButton;\n  items?: FaqItem[];\n  className?: string;\n}\n\nexport const faq77Demo: Faq77Props = {\n  badge: { label: \"Before you ask\" },\n  heading: \"Straight answers, no runaround.\",\n  labels: {\n    note: \"Still circling something specific? Send us the messy version — we read every line and reply like humans.\",\n  },\n  button: {\n    label: \"Ask us anything\",\n    href: \"https://beste.co\",\n  },\n  items: [\n    {\n      index: \"01\",\n      question: \"How long before we see something real?\",\n      answer:\n        \"First moodboards land inside ten days. We don't disappear for a month and reveal a finished thing — you watch the work take shape week by week, and you steer it while it's still soft.\",\n    },\n    {\n      index: \"02\",\n      question: \"Do you work in fixed packages or by the hour?\",\n      answer:\n        \"Neither, mostly. We scope the whole engagement up front as a flat figure tied to outcomes, so nobody is watching a clock or padding a deliverables list to hit a tier.\",\n    },\n    {\n      index: \"03\",\n      question: \"Who actually touches the work?\",\n      answer:\n        \"The two people you meet on the intro call are the two people designing it. No account layer, no junior hand-off — the studio is small on purpose and stays that way.\",\n    },\n    {\n      index: \"04\",\n      question: \"What if we already have a brand we like?\",\n      answer:\n        \"Then we don't burn it down. We audit what's earning its keep, retire what isn't, and build a system around the parts that already feel like you.\",\n    },\n    {\n      index: \"05\",\n      question: \"Can you build it, or just design it?\",\n      answer:\n        \"Both. Design and front-end live under one roof here, so what we draw is what ships — no translation loss between a pretty file and a live site.\",\n    },\n    {\n      index: \"06\",\n      question: \"What happens after launch?\",\n      answer:\n        \"You keep the source files, the system, and a short retainer if you want us close. Most clients take the keys and run; the door stays open either way.\",\n    },\n  ],\n};\n\nexport function Faq77({ badge, heading, labels = {}, button, items = [], className }: Faq77Props) {\n  return (\n    <section className={cn(\"py-16 md:py-24 w-full\", className)}>\n      <div className=\"mx-auto max-w-7xl px-4 md:px-6\">\n        <div className=\"grid gap-12 lg:grid-cols-[0.85fr_1.15fr] lg:gap-16\">\n          {/* Left rail */}\n          <div className=\"lg:sticky lg:top-24 lg:self-start\">\n            {badge && <Badge7 label={badge.label} />}\n            {heading && (\n              <h2 className=\"mt-6 text-balance text-3xl font-bold leading-[1.05] tracking-tight text-foreground md:text-4xl lg:text-5xl [&>strong]:font-bold [&>strong]:text-muted-foreground\">\n                {heading}\n              </h2>\n            )}\n            {labels.note && (\n              <p className=\"mt-6 max-w-md text-lg text-muted-foreground md:text-xl\">\n                {labels.note}\n              </p>\n            )}\n            {button && (\n              <Button12 asChild label={button.label} tone=\"outline\" className=\"mt-8\">\n                <Link href={button.href} />\n              </Button12>\n            )}\n          </div>\n\n          {/* Numbered accordion */}\n          {items.length > 0 && (\n            <Accordion type=\"single\" collapsible className=\"w-full border-t\">\n              {items.map((item, index) => (\n                <AccordionItem\n                  key={index}\n                  value={`faq77-${index}`}\n                  className=\"group/faq77 border-b border-t-0\"\n                >\n                  <AccordionTrigger className=\"cursor-pointer gap-6 py-7 text-left hover:no-underline md:py-8 [&>svg]:mt-2 [&>svg]:size-5\">\n                    <span className=\"flex flex-1 items-baseline gap-5 md:gap-7\">\n                      <span className=\"text-xl font-semibold tabular-nums tracking-tight text-muted-foreground transition-colors group-hover/faq77:text-foreground md:text-2xl\">\n                        {item.index}\n                      </span>\n                      <span className=\"text-xl font-semibold leading-snug text-foreground md:text-2xl\">\n                        {item.question}\n                      </span>\n                    </span>\n                  </AccordionTrigger>\n                  <AccordionContent className=\"pb-8 pl-9 md:pl-[3.75rem]\">\n                    <p className=\"max-w-2xl text-base text-muted-foreground md:text-lg\">\n                      {item.answer}\n                    </p>\n                  </AccordionContent>\n                </AccordionItem>\n              ))}\n            </Accordion>\n          )}\n        </div>\n      </div>\n    </section>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/beste/block/faq77.tsx"
    },
    {
      "path": "registry-components/badge7/badge7.tsx",
      "content": "import { cn } from \"@/lib/utils\";\n\n/** Allowed wrapper styles, a fixed set, not arbitrary characters. */\ntype Badge7Bracket = \"round\" | \"square\" | \"curly\" | \"angle\" | \"none\";\n\nconst BRACKETS: Record<Badge7Bracket, [open: string, close: string]> = {\n  round: [\"(\", \")\"],\n  square: [\"[\", \"]\"],\n  curly: [\"{\", \"}\"],\n  angle: [\"<\", \">\"],\n  none: [\"\", \"\"],\n};\n\ntype Tone = \"muted\" | \"foreground\" | \"primary\";\n\ninterface Badge7Props {\n  /** Eyebrow label */\n  label: string;\n  /** Which characters wrap the label. Limited to the BRACKETS set. */\n  bracket?: Badge7Bracket;\n  /** Label color */\n  tone?: Tone;\n  /** Render rotated for vertical edge placement (e.g. along a hero side) */\n  vertical?: boolean;\n  /** Additional classes merged onto the root */\n  className?: string;\n}\n\nconst toneStyles: Record<Tone, string> = {\n  muted: \"text-muted-foreground\",\n  foreground: \"text-foreground\",\n  primary: \"text-primary\",\n};\n\nexport const badge7Demo: Badge7Props = {\n  label: \"About\",\n};\n\nexport function Badge7({\n  label,\n  bracket = \"round\",\n  tone = \"muted\",\n  vertical = false,\n  className,\n}: Badge7Props) {\n  const [open, close] = BRACKETS[bracket];\n\n  return (\n    <span\n      className={cn(\n        \"text-base font-medium\",\n        toneStyles[tone],\n        vertical ? \"rotate-180 [writing-mode:vertical-rl]\" : \"inline-block\",\n        className\n      )}\n    >\n      {`${open}${label}${close}`}\n    </span>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/beste/component/badge7.tsx"
    },
    {
      "path": "registry-components/button12/button12.tsx",
      "content": "\"use client\";\n\nimport { Slot } from \"@radix-ui/react-slot\";\nimport { ArrowUpRight, type LucideIcon } from \"lucide-react\";\nimport * as React from \"react\";\nimport { cn } from \"@/lib/utils\";\n\ntype Tone = \"dark\" | \"primary\" | \"outline\";\n\ninterface Button12Props {\n  /** Button label */\n  label: string;\n  /**\n   * Compose the rendered element shadcn-style (radix asChild): your element\n   * (e.g. a router Link) becomes the root and the button content is injected\n   * as its children. Pass the element without children of its own.\n   */\n  asChild?: boolean;\n  /** The element to render when `asChild` is set (e.g. your framework's Link) */\n  children?: React.ReactElement;\n  /**\n   * Fallback link: renders a plain `<a>`. Prefer `asChild` with your\n   * framework's Link component for client-side navigation.\n   */\n  href?: string;\n  /** Seal icon (defaults to ArrowUpRight) */\n  icon?: LucideIcon;\n  /** Surface tone: solid dark (default), solid primary, or bordered outline */\n  tone?: Tone;\n  /** Click handler (used when there is no href and no asChild) */\n  onClick?: React.MouseEventHandler<HTMLButtonElement>;\n  /** Additional classes merged onto the button */\n  className?: string;\n}\n\nconst toneStyles: Record<Tone, { pill: string; seal: string }> = {\n  dark: {\n    pill: \"bg-foreground text-background hover:bg-foreground/90\",\n    seal: \"bg-background text-foreground\",\n  },\n  primary: {\n    pill: \"bg-primary text-primary-foreground hover:bg-primary/90\",\n    seal: \"bg-primary-foreground text-primary\",\n  },\n  outline: {\n    pill: \"border bg-background text-foreground hover:bg-muted\",\n    seal: \"bg-foreground text-background\",\n  },\n};\n\nexport const button12Demo: Button12Props = {\n  label: \"Book an intro call\",\n};\n\nexport function Button12({\n  label,\n  asChild = false,\n  children,\n  href,\n  icon: Icon = ArrowUpRight,\n  tone = \"dark\",\n  onClick,\n  className,\n}: Button12Props) {\n  const styles = toneStyles[tone];\n\n  const classes = cn(\n    \"group/button12 inline-flex w-fit cursor-pointer items-center gap-3 rounded-full py-2 pl-8 pr-2 text-base font-bold transition-colors\",\n    styles.pill,\n    className\n  );\n\n  const inner = (\n    <>\n      {/* Label slides out the bottom while a copy drops in from the top */}\n      <span className=\"relative block overflow-hidden\">\n        <span className=\"block transition-transform duration-300 ease-out motion-safe:group-hover/button12:translate-y-full\">\n          {label}\n        </span>\n        <span\n          aria-hidden=\"true\"\n          className=\"absolute inset-0 block -translate-y-full transition-transform duration-300 ease-out motion-safe:group-hover/button12:translate-y-0\"\n        >\n          {label}\n        </span>\n      </span>\n\n      {/* Seal: icon exits the top-right corner as a copy enters from bottom-left */}\n      <span\n        className={cn(\n          \"relative flex size-10 shrink-0 items-center justify-center overflow-hidden rounded-full\",\n          styles.seal\n        )}\n      >\n        <Icon className=\"size-4 transition-transform duration-300 ease-out motion-safe:group-hover/button12:translate-x-[160%] motion-safe:group-hover/button12:-translate-y-[160%]\" />\n        <Icon\n          aria-hidden=\"true\"\n          className=\"absolute size-4 -translate-x-[160%] translate-y-[160%] transition-transform duration-300 ease-out motion-safe:group-hover/button12:translate-x-0 motion-safe:group-hover/button12:translate-y-0\"\n        />\n      </span>\n    </>\n  );\n\n  if (asChild && React.isValidElement(children)) {\n    return (\n      <Slot className={classes}>\n        {React.cloneElement(children, undefined, inner)}\n      </Slot>\n    );\n  }\n\n  if (href) {\n    return (\n      <a href={href} className={classes}>\n        {inner}\n      </a>\n    );\n  }\n\n  return (\n    <button type=\"button\" onClick={onClick} className={classes}>\n      {inner}\n    </button>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/beste/component/button12.tsx"
    }
  ],
  "type": "registry:block"
}