{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "reroute-features",
  "type": "registry:block",
  "title": "Reroute Features",
  "description": "Feature Section built with Checkpoint (approval flow animation) and Reroute (animated failover diagram): a bento grid of payment platform features. A take on the flow diagram (flowchart). A bento grid of platform features: a processor wheel that reroutes around its own outages, a charge snippet, regions, a vault with its tokens drifting round a glowing lock, payment methods, flat pricing rows, and refunds clearing a Checkpoint of finance rules.",
  "author": "KeyframeUI <https://keyframeui.com>",
  "categories": [
    "blocks",
    "feature-sections",
    "features",
    "flow-diagram"
  ],
  "docs": "Live preview and the components it's built with: https://keyframeui.com/blocks/feature-sections/reroute-features",
  "registryDependencies": [
    "https://keyframeui.com/r/checkpoint.json",
    "https://keyframeui.com/r/reroute.json",
    "utils"
  ],
  "files": [
    {
      "path": "components/reroute-features.tsx",
      "type": "registry:component",
      "content": "\"use client\";\n\nimport * as React from \"react\";\n\nimport { cn } from \"@/lib/utils\";\nimport { Checkpoint, type CheckpointRequest, type CheckpointRule } from \"@/components/ui/checkpoint\";\nimport { Reroute, type RerouteItem } from \"@/components/ui/reroute\";\n\n/* ── Content ─────────────────────────────────────────────────\n * Everything you'd change to make the section yours: the copy\n * for each cell, the processors on the wheel and the outage it\n * drills, the snippet, the vault's tokens, the payment methods,\n * the pricing rows, and the rules a refund has to clear.\n * ─────────────────────────────────────────────────────────── */\n\n/** The one accent: the hub, the cable, the checks and highlighted values. */\nconst ACCENT = \"#ff3b1f\";\nconst ACCENT_DARK = \"#ff5a3c\";\n\nconst EYEBROW = \"Platform\";\nconst HEADLINE = \"Every charge finds a way through.\";\nconst SUBLINE = \"Routing, retries and approvals in one layer between your checkout and your processors.\";\n\nconst ROUTING = {\n  title: \"Route around any outage\",\n  body: \"When a processor stalls, the charge retries on the next healthy one in under 50 ms. Customers never see the error.\",\n};\n/** ms: how long a processor stays down in the drill, and the calm between drills. */\nconst DRILL = { first: 2200, down: 2600, calm: 4200 };\n\nconst API = {\n  title: \"One API for every processor\",\n  body: \"Keep the contracts you already have. Switchyard speaks to each processor so your code doesn't have to.\",\n  // Kept as lines, not one template string, so no line is read as an import.\n  code: [\n    [\"await\", \" yard.charges.create({\", \"\", \"\"],\n    [\"\", \"  amount: \", \"\", \"4200,\"],\n    [\"\", \"  currency: \", \"\", '\"eur\",'],\n    [\"\", \"  route: \", \"\", '\"best-approval\",'],\n    [\"\", \"});\", \"\", \"\"],\n  ],\n};\n\nconst REGIONS = {\n  title: \"Runs in the region you pick\",\n  body: \"Deploy in the US, the EU or Asia Pacific, and keep card data where your auditors want it.\",\n  chips: [\"us-east\", \"eu-central\", \"ap-southeast\"],\n};\n\nconst VAULT = {\n  title: \"Card data stays in your vault\",\n  body: \"Tokens live in your own cloud account, so you can switch processors without moving a single card.\",\n  chips: [\"•••• 4242\", \"tok_9fQ2\", \"exp 08/29\", \"3DS ✓\", \"fp_a71c\"],\n};\n\nconst METHODS = {\n  stat: \"140+\",\n  unit: \"ways to pay\",\n  title: \"Local methods in 60 markets\",\n  body: \"Wallets, bank debits and instant transfers switch on per country, with the right one shown at checkout.\",\n  rows: [\n    [\"Cards\", \"Wallets\", \"SEPA Debit\", \"Pix\", \"UPI\", \"ACH\", \"Bank transfer\"],\n    [\"Pay by link\", \"BACS\", \"Installments\", \"Instant payouts\", \"BLIK\", \"FPX\"],\n    [\"Network tokens\", \"3-D Secure\", \"Subscriptions\", \"Multi-currency\", \"PayNow\", \"Boleto\"],\n  ],\n};\n\nconst PRICING = {\n  stat: \"0 bps\",\n  unit: \"on your volume\",\n  title: \"A flat fee, never a cut\",\n  body: \"One monthly price per environment. Retries, failover and tokens are included, however much you process.\",\n  rows: [\n    { label: \"Smart retries\", value: \"Included\" },\n    { label: \"Failover routing\", value: \"Included\" },\n    { label: \"Network tokens\", value: \"Included\" },\n  ],\n};\n\nconst APPROVALS = {\n  title: \"Rules finance signs off on\",\n  body: \"Refunds and payouts clear your policy first. Anything unusual waits for a second pair of eyes, and every decision is logged.\",\n};\n\nfunction Mark({ children }: { children: React.ReactNode }) {\n  return (\n    <svg viewBox=\"0 0 24 24\" className=\"size-full\" aria-hidden>\n      {children}\n    </svg>\n  );\n}\n\n// Every processor name and mark is made up.\nconst PROCESSORS: RerouteItem[] = [\n  {\n    id: \"northpay\",\n    name: \"Northpay\",\n    detail: \"auth 98.4%\",\n    icon: (\n      <Mark>\n        <rect x=\"3\" y=\"3\" width=\"18\" height=\"18\" rx=\"5\" fill=\"#1d4ed8\" />\n        <path d=\"M8 16V8l8 8V8\" fill=\"none\" stroke=\"#fff\" strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\" />\n      </Mark>\n    ),\n  },\n  {\n    id: \"kestrel\",\n    name: \"Kestrel\",\n    detail: \"auth 97.9%\",\n    icon: (\n      <Mark>\n        <path d=\"M3 16.5 12 5l9 11.5-4.2-2.4L12 19l-4.8-4.9z\" fill=\"#f97316\" />\n      </Mark>\n    ),\n  },\n  {\n    id: \"paywell\",\n    name: \"Paywell\",\n    detail: \"auth 98.1%\",\n    icon: (\n      <Mark>\n        <circle cx=\"12\" cy=\"12\" r=\"9\" fill=\"#0d9488\" />\n        <path d=\"M6.5 12.5c1.8-2.4 3.6-2.4 5.5 0s3.7 2.4 5.5 0\" fill=\"none\" stroke=\"#fff\" strokeWidth=\"1.9\" strokeLinecap=\"round\" />\n      </Mark>\n    ),\n  },\n  {\n    id: \"ledgerline\",\n    name: \"Ledgerline\",\n    detail: \"auth 98.7%\",\n    icon: (\n      <Mark>\n        <rect x=\"4\" y=\"4\" width=\"16\" height=\"4\" rx=\"2\" fill=\"currentColor\" />\n        <rect x=\"4\" y=\"10\" width=\"11\" height=\"4\" rx=\"2\" fill=\"currentColor\" opacity=\"0.6\" />\n        <rect x=\"4\" y=\"16\" width=\"7\" height=\"4\" rx=\"2\" fill=\"currentColor\" opacity=\"0.35\" />\n      </Mark>\n    ),\n  },\n  {\n    id: \"orbit\",\n    name: \"Orbit Pay\",\n    detail: \"auth 97.6%\",\n    icon: (\n      <Mark>\n        <circle cx=\"12\" cy=\"12\" r=\"7.5\" fill=\"none\" stroke=\"#7c3aed\" strokeWidth=\"3\" />\n        <circle cx=\"18.2\" cy=\"6.6\" r=\"2.6\" fill=\"#a78bfa\" />\n      </Mark>\n    ),\n  },\n];\n\nconst RULES: CheckpointRule[] = [\n  { id: \"role\", label: \"Requested by\", detail: \"Support or finance\", value: \"SUPPORT\" },\n  { id: \"amount\", label: \"Amount\", detail: \"Over $500 needs sign-off\", value: \"≤ $500\" },\n  { id: \"destination\", label: \"Destination\", detail: \"Back to the card it came from\", value: \"ORIGINAL\" },\n  { id: \"age\", label: \"Charge age\", detail: \"Within the refund window\", value: \"≤ 120 DAYS\" },\n];\n\nconst REQUESTS: CheckpointRequest[] = [\n  { id: \"r1\", label: \"refund ch_3Lq8\", meta: \"$64.00 · Ana, support\" },\n  { id: \"r2\", label: \"refund ch_9Pe2\", meta: \"$1,240.00 · Ana, support\", verdicts: { amount: \"hold\" } },\n  {\n    id: \"r3\",\n    label: \"refund ch_2Hx7\",\n    meta: \"$310.00 to a new card\",\n    verdicts: { destination: \"block\" },\n    reason: \"Refunds go back to the original card\",\n  },\n];\n\n/* ── Bits ── */\n\nconst REDUCED = \"(prefers-reduced-motion: reduce)\";\n\nfunction useReducedMotion() {\n  return React.useSyncExternalStore(\n    (onChange) => {\n      const q = window.matchMedia(REDUCED);\n      q.addEventListener(\"change\", onChange);\n      return () => q.removeEventListener(\"change\", onChange);\n    },\n    () => window.matchMedia(REDUCED).matches,\n    () => false,\n  );\n}\n\nfunction Check({ className }: { className?: string }) {\n  return (\n    <svg viewBox=\"0 0 16 16\" className={className} fill=\"none\" stroke=\"currentColor\" strokeWidth=\"2.2\" strokeLinecap=\"round\" strokeLinejoin=\"round\" aria-hidden>\n      <path d=\"M3.5 8.5 6.5 11.5 12.5 5\" />\n    </svg>\n  );\n}\n\nfunction Cell({\n  title,\n  body,\n  className,\n  children,\n  bare,\n  center,\n}: {\n  title: string;\n  body: string;\n  className?: string;\n  children: React.ReactNode;\n  bare?: boolean;\n  /** Center the visual in the space above the caption (the diagram cells). */\n  center?: boolean;\n}) {\n  return (\n    <article\n      data-cell\n      className={cn(\n        \"group relative flex flex-col overflow-hidden rounded-2xl border border-zinc-950/[0.08] bg-white transition-[border-color] duration-200 [@media(hover:hover)]:hover:border-zinc-950/[0.16]\",\n        \"bg-[linear-gradient(to_bottom,color-mix(in_oklab,var(--accent)_5%,transparent),transparent_42%)]\",\n        \"dark:border-white/[0.08] dark:bg-zinc-900/60 dark:[@media(hover:hover)]:hover:border-white/[0.16]\",\n        className,\n      )}\n    >\n      <div className={cn(\"relative flex-1\", !bare && \"px-5 pt-5\", center && \"flex flex-col justify-center\")}>{children}</div>\n      <div className=\"px-5 pb-5 pt-4\">\n        <h3 className=\"text-[15px] font-medium tracking-tight text-zinc-950 dark:text-white\">{title}</h3>\n        <p className=\"mt-1.5 max-w-md text-sm leading-relaxed text-zinc-500 dark:text-zinc-400\">{body}</p>\n      </div>\n    </article>\n  );\n}\n\n/** Chips floating round the vault's glowing lock. They drift a couple of px, slowly, and stop for reduced motion. */\nfunction Vault({ reduced }: { reduced: boolean }) {\n  const chips = React.useRef<(HTMLSpanElement | null)[]>([]);\n  const glow = React.useRef<HTMLSpanElement>(null);\n  React.useEffect(() => {\n    if (reduced) return;\n    const anims = chips.current.map((el, i) =>\n      el?.animate([{ transform: \"translateY(0)\" }, { transform: `translateY(${i % 2 ? 3 : -3}px)` }], {\n        duration: 2600 + i * 380,\n        direction: \"alternate\",\n        iterations: Infinity,\n        easing: \"ease-in-out\",\n        delay: -i * 600,\n      }),\n    );\n    const g = glow.current?.animate([{ opacity: 0.55 }, { opacity: 1 }], {\n      duration: 2000,\n      direction: \"alternate\",\n      iterations: Infinity,\n      easing: \"ease-in-out\",\n    });\n    return () => {\n      anims.forEach((a) => a?.cancel());\n      g?.cancel();\n    };\n  }, [reduced]);\n\n  // A 352 × 236 box, scaled to fit: the lock sits low in the middle and the\n  // five chips ride a circle of radius 150 round it, so the arc runs through them.\n  const spots = [\n    { x: 13, y: 44.5 },\n    { x: 27.4, y: 22.5 },\n    { x: 50, y: 12.7 },\n    { x: 72.6, y: 22.5 },\n    { x: 87, y: 44.5 },\n  ];\n  return (\n    <div aria-hidden className=\"relative mx-auto mt-2 aspect-[352/236] w-full max-w-[22rem] overflow-hidden [mask-image:linear-gradient(to_bottom,#000_62%,transparent)]\">\n      <span className=\"absolute left-1/2 top-[76.3%] aspect-square w-[85.2%] -translate-x-1/2 -translate-y-1/2 rounded-full border border-zinc-950/[0.08] dark:border-white/[0.09]\" />\n      <span className=\"absolute left-1/2 top-[76.3%] aspect-square w-[54.5%] -translate-x-1/2 -translate-y-1/2 rounded-full border border-dashed border-zinc-950/[0.07] dark:border-white/[0.08]\" />\n      {VAULT.chips.map((chip, i) => (\n        <span\n          key={chip}\n          ref={(el) => {\n            chips.current[i] = el;\n          }}\n          className=\"absolute will-change-transform\"\n          style={{ left: `${spots[i].x}%`, top: `${spots[i].y}%` }}\n        >\n          <span className=\"block -translate-x-1/2 -translate-y-1/2 whitespace-nowrap rounded-lg border border-[color-mix(in_oklab,var(--accent)_22%,transparent)] bg-[color-mix(in_oklab,var(--accent)_7%,white)] px-2 py-1 font-mono text-[11px] text-(--accent) shadow-[0_1px_2px_rgba(0,0,0,0.04)] dark:bg-[color-mix(in_oklab,var(--accent-dark)_14%,#18181b)] dark:text-(--accent-dark)\">\n            {chip}\n          </span>\n        </span>\n      ))}\n      <span\n        ref={glow}\n        className=\"absolute left-1/2 top-[76.3%] aspect-square w-[46%] -translate-x-1/2 -translate-y-1/2 rounded-full bg-[radial-gradient(closest-side,color-mix(in_oklab,var(--accent)_38%,transparent),transparent)] will-change-[opacity]\"\n      />\n      <span className=\"absolute left-1/2 top-[76.3%] grid size-14 -translate-x-1/2 -translate-y-1/2 place-items-center rounded-2xl bg-[linear-gradient(180deg,color-mix(in_oklab,var(--accent),white_16%),var(--accent))] text-white shadow-[inset_0_1px_0_rgba(255,255,255,0.35),0_10px_24px_-8px_color-mix(in_oklab,var(--accent)_70%,transparent)]\">\n        <svg viewBox=\"0 0 24 24\" className=\"size-6\" fill=\"none\" stroke=\"currentColor\" strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\">\n          <rect x=\"5\" y=\"10.5\" width=\"14\" height=\"10\" rx=\"2.5\" />\n          <path d=\"M8.5 10.5V8a3.5 3.5 0 0 1 7 0v2.5\" />\n          <circle cx=\"12\" cy=\"15.5\" r=\"1.3\" fill=\"currentColor\" stroke=\"none\" />\n        </svg>\n      </span>\n    </div>\n  );\n}\n\n/* ── Section ── */\n\nexport function RerouteFeatures() {\n  const reduced = useReducedMotion();\n  const [down, setDown] = React.useState<string[]>([]);\n  const live = React.useRef<string | null>(PROCESSORS[0].id);\n  const sectionRef = React.useRef<HTMLElement>(null);\n\n  // The routing cell drills an outage now and then, while it's on screen.\n  React.useEffect(() => {\n    const section = sectionRef.current;\n    if (!section) return;\n    let visible = false;\n    let timer = 0;\n    const next = (ms: number, fn: () => void) => {\n      window.clearTimeout(timer);\n      timer = window.setTimeout(fn, ms);\n    };\n    const drop = () => {\n      if (!visible) return;\n      if (live.current) setDown([live.current]);\n      next(DRILL.down, () => {\n        setDown([]);\n        next(DRILL.calm, drop);\n      });\n    };\n    const io = new IntersectionObserver(([entry]) => {\n      const was = visible;\n      visible = entry.isIntersecting;\n      if (visible && !was) next(DRILL.first, drop);\n      if (!visible) {\n        window.clearTimeout(timer);\n        setDown([]);\n      }\n    });\n    io.observe(section);\n    return () => {\n      io.disconnect();\n      window.clearTimeout(timer);\n    };\n  }, []);\n\n  // Cells rise in, one after another, if the section starts below the fold.\n  React.useEffect(() => {\n    const section = sectionRef.current;\n    if (!section || reduced) return;\n    if (section.getBoundingClientRect().top < window.innerHeight * 0.9) return;\n    const cells = Array.from(section.querySelectorAll<HTMLElement>(\"[data-cell]\"));\n    cells.forEach((c) => (c.style.opacity = \"0\"));\n    const io = new IntersectionObserver(\n      ([entry]) => {\n        if (!entry.isIntersecting) return;\n        io.disconnect();\n        cells.forEach((c, i) => {\n          c.style.opacity = \"\";\n          c.animate(\n            [\n              { opacity: 0, transform: \"translateY(14px)\" },\n              { opacity: 1, transform: \"translateY(0)\" },\n            ],\n            { duration: 520, delay: i * 60, easing: \"cubic-bezier(0.23, 1, 0.32, 1)\", fill: \"backwards\" },\n          );\n        });\n      },\n      { threshold: 0.12 },\n    );\n    io.observe(section);\n    return () => {\n      io.disconnect();\n      cells.forEach((c) => (c.style.opacity = \"\"));\n    };\n  }, [reduced]);\n\n  return (\n    <section\n      ref={sectionRef}\n      style={{ \"--accent\": ACCENT, \"--accent-dark\": ACCENT_DARK } as React.CSSProperties}\n      className=\"bg-white text-zinc-950 dark:bg-zinc-950 dark:text-white\"\n    >\n      <div className=\"mx-auto max-w-6xl px-6 py-20 sm:py-24\">\n        <div className=\"flex flex-col gap-4 lg:flex-row lg:items-end lg:justify-between\">\n          <div>\n            <p className=\"text-[13px] font-medium text-(--accent) dark:text-(--accent-dark)\">{EYEBROW}</p>\n            <h2 className=\"mt-2 text-balance text-[2rem] font-medium leading-[1.1] tracking-[-0.035em] sm:text-[2.75rem]\">{HEADLINE}</h2>\n          </div>\n          <p className=\"max-w-sm text-pretty text-[15px] leading-relaxed text-zinc-500 dark:text-zinc-400\">{SUBLINE}</p>\n        </div>\n\n        <div className=\"mt-10 grid grid-cols-1 gap-3 md:grid-cols-2 lg:mt-12 lg:grid-cols-12\">\n          {/* Routing */}\n          <Cell title={ROUTING.title} body={ROUTING.body} className=\"lg:col-span-4\" bare center>\n            <Reroute\n              className=\"pt-5 [--reroute-accent:var(--accent)] [--reroute-height:clamp(14rem,58cqw,16.5rem)] dark:[--reroute-accent:var(--accent-dark)]\"\n              label=\"Payment processor\"\n              items={PROCESSORS}\n              defaultValue=\"northpay\"\n              down={down}\n              onRoute={(id) => (live.current = id)}\n              hub={\n                <svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" strokeWidth=\"2.2\" strokeLinecap=\"round\" aria-hidden>\n                  <path d=\"M8.5 20V4M8.5 15c0-4.5 7-4 7-11\" />\n                </svg>\n              }\n            />\n          </Cell>\n\n          {/* API + regions, stacked */}\n          <div className=\"grid grid-cols-1 gap-3 sm:grid-cols-2 md:col-span-2 md:grid-cols-2 lg:col-span-4 lg:grid-cols-1\">\n            <Cell title={API.title} body={API.body}>\n              <pre\n                aria-label=\"Creating a charge\"\n                className=\"overflow-hidden rounded-xl border border-zinc-950/[0.06] bg-[color-mix(in_oklab,var(--accent)_4%,white)] px-3.5 py-3 font-mono text-[11.5px] leading-[1.7] text-zinc-700 dark:border-white/[0.06] dark:bg-white/[0.03] dark:text-zinc-300\"\n              >\n                {API.code.map(([kw, a, kw2, b], i) => (\n                  <div key={i} className=\"whitespace-pre\">\n                    <span className=\"text-zinc-950 dark:text-white\">{kw}</span>\n                    {a}\n                    <span className=\"text-zinc-950 dark:text-white\">{kw2}</span>\n                    <span className={/^[\"\\d]/.test(b) ? \"text-(--accent) dark:text-(--accent-dark)\" : undefined}>{b}</span>\n                  </div>\n                ))}\n              </pre>\n            </Cell>\n            <Cell title={REGIONS.title} body={REGIONS.body}>\n              <div className=\"flex flex-wrap gap-1.5\">\n                {REGIONS.chips.map((r, i) => (\n                  <span\n                    key={r}\n                    className={cn(\n                      \"inline-flex items-center gap-1.5 rounded-full border px-2.5 py-1 font-mono text-[11px]\",\n                      i === 1\n                        ? \"border-[color-mix(in_oklab,var(--accent)_30%,transparent)] bg-[color-mix(in_oklab,var(--accent)_8%,white)] text-(--accent) dark:bg-[color-mix(in_oklab,var(--accent-dark)_14%,transparent)] dark:text-(--accent-dark)\"\n                        : \"border-zinc-950/[0.08] text-zinc-600 dark:border-white/10 dark:text-zinc-400\",\n                    )}\n                  >\n                    <span className={cn(\"size-1.5 rounded-full\", i === 1 ? \"bg-current\" : \"bg-zinc-300 dark:bg-zinc-600\")} />\n                    {r}\n                  </span>\n                ))}\n              </div>\n            </Cell>\n          </div>\n\n          {/* Vault */}\n          <Cell title={VAULT.title} body={VAULT.body} className=\"lg:col-span-4\" bare center>\n            <Vault reduced={reduced} />\n          </Cell>\n\n          {/* Methods + pricing, stacked */}\n          <div className=\"grid grid-cols-1 gap-3 md:col-span-2 lg:col-span-6\">\n            <Cell title={METHODS.title} body={METHODS.body} bare>\n              <div className=\"flex items-center gap-2 pt-5\">\n                <div className=\"shrink-0 pl-5\">\n                  <p className=\"text-[2.25rem] font-medium leading-none tracking-[-0.04em] tabular-nums\">{METHODS.stat}</p>\n                  <p className=\"mt-1.5 text-[15px] text-zinc-500 dark:text-zinc-400\">{METHODS.unit}</p>\n                </div>\n                <div\n                  aria-label=\"Payment methods\"\n                  className=\"min-w-0 flex-1 space-y-1.5 overflow-hidden py-1 [mask-image:linear-gradient(to_right,transparent,#000_18%,#000_88%,transparent)]\"\n                >\n                  {METHODS.rows.map((row, r) => (\n                    <div key={r} className=\"flex gap-1.5\" style={{ marginLeft: `${[0, -28, -12][r]}px` }}>\n                      {row.map((m) => (\n                        <span\n                          key={m}\n                          className=\"shrink-0 rounded-lg border border-zinc-950/[0.08] bg-white px-3 py-1.5 text-xs text-zinc-600 dark:border-white/10 dark:bg-zinc-900 dark:text-zinc-400\"\n                        >\n                          {m}\n                        </span>\n                      ))}\n                    </div>\n                  ))}\n                </div>\n              </div>\n            </Cell>\n            <Cell title={PRICING.title} body={PRICING.body} bare>\n              <div className=\"flex flex-col gap-4 px-5 pt-5 sm:flex-row sm:items-center sm:gap-6\">\n                <div className=\"shrink-0\">\n                  <p className=\"text-[2.25rem] font-medium leading-none tracking-[-0.04em] tabular-nums\">{PRICING.stat}</p>\n                  <p className=\"mt-1.5 text-[15px] text-zinc-500 dark:text-zinc-400\">{PRICING.unit}</p>\n                </div>\n                <dl className=\"min-w-0 flex-1 divide-y divide-zinc-950/[0.06] rounded-xl border border-zinc-950/[0.08] bg-white px-3.5 dark:divide-white/[0.06] dark:border-white/10 dark:bg-zinc-900\">\n                  {PRICING.rows.map((row) => (\n                    <div key={row.label} className=\"flex items-center justify-between gap-3 py-2.5\">\n                      <dt className=\"text-[13px] text-zinc-700 dark:text-zinc-300\">{row.label}</dt>\n                      <dd className=\"flex items-center gap-2 text-[13px] font-medium text-(--accent) dark:text-(--accent-dark)\">\n                        {row.value}\n                        <span className=\"grid size-[18px] place-items-center rounded-[5px] bg-(--accent) text-white dark:bg-(--accent-dark)\">\n                          <Check className=\"size-3\" />\n                        </span>\n                      </dd>\n                    </div>\n                  ))}\n                </dl>\n              </div>\n            </Cell>\n          </div>\n\n          {/* Approvals */}\n          <Cell title={APPROVALS.title} body={APPROVALS.body} className=\"md:col-span-2 lg:col-span-6\">\n            <Checkpoint\n              className=\"[--checkpoint-accent:var(--accent)] dark:[--checkpoint-accent:var(--accent-dark)]\"\n              rules={RULES}\n              requests={REQUESTS}\n              approver=\"Priya, finance\"\n            />\n          </Cell>\n        </div>\n      </div>\n    </section>\n  );\n}\n"
    }
  ]
}