{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "features-checklist",
  "type": "registry:component",
  "title": "Features Checklist",
  "description": "A light paper section with a large serif headline, a two-column ticklist whose check marks draw in one after another, and a pinned summary card that stays in view while the list scrolls.",
  "author": "Hyperblur <hello@hyperblur.dev>",
  "dependencies": [],
  "registryDependencies": [],
  "categories": [
    "features",
    "features",
    "checklist",
    "light",
    "serif",
    "included",
    "section"
  ],
  "docs": "https://hyperblur.dev/effects/features-checklist",
  "files": [
    {
      "path": "registry/hyperblur/features-checklist.tsx",
      "type": "registry:component",
      "target": "components/hyperblur/features-checklist.tsx",
      "content": "\"use client\";\n\nimport * as React from \"react\";\n\nexport interface ChecklistItem {\n  title: string;\n  detail?: string;\n}\n\nexport interface ChecklistSummary {\n  label: string;\n  value: string;\n  caption?: string;\n  stats?: { label: string; value: string }[];\n  cta?: { label: string; href: string };\n  note?: string;\n}\n\nexport interface FeaturesChecklistProps extends Omit<React.HTMLAttributes<HTMLElement>, \"title\"> {\n  eyebrow?: string;\n  title?: string;\n  titleAccent?: string;\n  subtitle?: string;\n  items?: ChecklistItem[];\n  summary?: ChecklistSummary | null;\n  accent?: string;\n}\n\nconst css = `\n.hb-ka4 {\n  --hb-ka4-accent: #e5533d;\n  box-sizing: border-box;\n  width: 100%;\n  container-type: inline-size;\n  background: #f7f5ef;\n  color: #1a1a1a;\n  font-family: inherit;\n  -webkit-font-smoothing: antialiased;\n}\n.hb-ka4 *, .hb-ka4 *::before, .hb-ka4 *::after { box-sizing: border-box; }\n.hb-ka4-wrap { max-width: 1120px; margin: 0 auto; padding: 80px 24px 112px; }\n.hb-ka4-head {\n  display: grid;\n  grid-template-columns: minmax(0, 1fr) minmax(0, 300px);\n  align-items: end;\n  gap: 24px 64px;\n  margin-bottom: 56px;\n  padding-bottom: 40px;\n  border-bottom: 1px solid #e3dfd4;\n}\n.hb-ka4-eyebrow {\n  display: flex;\n  align-items: center;\n  gap: 10px;\n  margin: 0 0 20px;\n  color: #6b675e;\n  font-size: 13px;\n  font-weight: 500;\n}\n.hb-ka4-eyebrow::before { content: \"\"; width: 20px; height: 1px; background: var(--hb-ka4-accent); }\n.hb-ka4-title {\n  margin: 0;\n  font-family: var(--font-sans, ui-sans-serif, system-ui, sans-serif);\n  font-size: clamp(40px, 6.4cqw, 72px);\n  font-weight: 400;\n  line-height: .98;\n  letter-spacing: -.02em;\n  text-wrap: balance;\n}\n.hb-ka4-title em { font-style: normal; color: var(--hb-ka4-accent); }\n.hb-ka4-sub { margin: 0; color: #6b675e; font-size: 16px; line-height: 1.6; }\n.hb-ka4-body {\n  display: grid;\n  grid-template-columns: minmax(0, 1fr) minmax(0, 320px);\n  align-items: start;\n  gap: 64px;\n}\n.hb-ka4-list {\n  display: grid;\n  grid-template-columns: repeat(2, minmax(0, 1fr));\n  gap: 0 40px;\n  margin: 0;\n  padding: 0;\n  list-style: none;\n}\n.hb-ka4-item {\n  display: grid;\n  grid-template-columns: 28px minmax(0, 1fr);\n  gap: 14px;\n  padding: 20px 0;\n  border-top: 1px solid #e3dfd4;\n}\n.hb-ka4-ico { width: 28px; height: 28px; }\n.hb-ka4-ring {\n  fill: none;\n  stroke: var(--hb-ka4-accent);\n  stroke-width: 1.6;\n  stroke-dasharray: 76;\n  stroke-dashoffset: 76;\n  transform: rotate(-90deg);\n  transform-origin: 14px 14px;\n  transition: stroke-dashoffset .7s cubic-bezier(.65, 0, .35, 1);\n  transition-delay: var(--hb-ka4-d, 0s);\n}\n.hb-ka4-bg { fill: color-mix(in srgb, var(--hb-ka4-accent) 9%, transparent); opacity: 0; transition: opacity .5s ease; transition-delay: var(--hb-ka4-d, 0s); }\n.hb-ka4-mark {\n  fill: none;\n  stroke: var(--hb-ka4-accent);\n  stroke-width: 2;\n  stroke-linecap: round;\n  stroke-linejoin: round;\n  stroke-dasharray: 16;\n  stroke-dashoffset: 16;\n  transition: stroke-dashoffset .35s cubic-bezier(.65, 0, .35, 1);\n  transition-delay: calc(var(--hb-ka4-d, 0s) + .5s);\n}\n.hb-ka4-text { opacity: .35; transition: opacity .6s ease; transition-delay: calc(var(--hb-ka4-d, 0s) + .3s); }\n.hb-ka4[data-in=\"true\"] .hb-ka4-ring, .hb-ka4[data-in=\"true\"] .hb-ka4-mark { stroke-dashoffset: 0; }\n.hb-ka4[data-in=\"true\"] .hb-ka4-bg, .hb-ka4[data-in=\"true\"] .hb-ka4-text { opacity: 1; }\n.hb-ka4-item-title { margin: 3px 0 0; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }\n.hb-ka4-item-detail { margin: 5px 0 0; color: #6b675e; font-size: 14px; line-height: 1.55; }\n.hb-ka4-aside { position: sticky; top: 24px; }\n.hb-ka4-card {\n  position: relative;\n  padding: 28px 26px 24px;\n  border: 1px solid #e6e1d6;\n  border-radius: 18px;\n  background: #fff;\n  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 1px 2px rgba(40, 30, 10, .06), 0 12px 28px -12px rgba(40, 30, 10, .18), 0 40px 60px -40px rgba(40, 30, 10, .25);\n  transform: rotate(-1.2deg);\n  transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s ease;\n}\n.hb-ka4-card:hover { transform: rotate(0deg) translateY(-2px); }\n.hb-ka4-card::before {\n  content: \"\";\n  position: absolute;\n  top: -11px;\n  left: 50%;\n  width: 92px;\n  height: 22px;\n  border-radius: 3px;\n  background: color-mix(in srgb, var(--hb-ka4-accent) 22%, rgba(255, 248, 230, .7));\n  box-shadow: 0 1px 2px rgba(40, 30, 10, .08);\n  transform: translateX(-50%) rotate(2deg);\n}\n.hb-ka4-label { margin: 0; color: #6b675e; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }\n.hb-ka4-value {\n  margin: 10px 0 0;\n  font-family: var(--font-sans, ui-sans-serif, system-ui, sans-serif);\n  font-size: 64px;\n  font-weight: 400;\n  line-height: .95;\n  letter-spacing: -.02em;\n}\n.hb-ka4-caption { margin: 8px 0 0; color: #6b675e; font-size: 14px; line-height: 1.5; }\n.hb-ka4-stats { margin: 22px 0 0; padding: 0; list-style: none; border-top: 1px dashed #e3dfd4; }\n.hb-ka4-stats li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px dashed #e3dfd4; font-size: 14px; color: #4a4740; }\n.hb-ka4-stats b { color: #1a1a1a; font-weight: 600; font-variant-numeric: tabular-nums; }\n.hb-ka4-cta {\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  gap: 8px;\n  height: 44px;\n  margin-top: 22px;\n  border-radius: 999px;\n  background: #1a1a1a;\n  color: #f7f5ef;\n  font-size: 14px;\n  font-weight: 600;\n  text-decoration: none;\n  transition: background .2s ease, transform .2s ease;\n}\n.hb-ka4-cta:hover { background: #000; }\n.hb-ka4-cta:active { transform: scale(.98); }\n.hb-ka4-cta:focus-visible { outline: 2px solid var(--hb-ka4-accent); outline-offset: 3px; }\n.hb-ka4-note { margin: 10px 0 0; color: #8a857a; font-size: 12px; text-align: center; }\n@container (max-width: 900px) {\n  .hb-ka4-body { grid-template-columns: minmax(0, 1fr); gap: 48px; }\n  .hb-ka4-aside { position: static; max-width: 420px; }\n  .hb-ka4-head { grid-template-columns: minmax(0, 1fr); }\n}\n@container (max-width: 560px) {\n  .hb-ka4-wrap { padding: 64px 16px 80px; }\n  .hb-ka4-head { margin-bottom: 32px; padding-bottom: 28px; }\n  .hb-ka4-list { grid-template-columns: minmax(0, 1fr); }\n  .hb-ka4-item { padding: 16px 0; }\n  .hb-ka4-card { transform: none; }\n}\n@media (prefers-reduced-motion: reduce) {\n  .hb-ka4-ring, .hb-ka4-mark, .hb-ka4-bg, .hb-ka4-text, .hb-ka4-card, .hb-ka4-cta { transition: none; }\n  .hb-ka4-ring, .hb-ka4-mark { stroke-dashoffset: 0; }\n  .hb-ka4-bg, .hb-ka4-text { opacity: 1; }\n}\n`;\n\nfunction useInView<T extends Element>(ref: React.RefObject<T | null>) {\n  const [seen, setSeen] = React.useState(false);\n  React.useEffect(() => {\n    const el = ref.current;\n    if (!el) return;\n    if (typeof IntersectionObserver === \"undefined\") {\n      const id = requestAnimationFrame(() => setSeen(true));\n      return () => cancelAnimationFrame(id);\n    }\n    const io = new IntersectionObserver(\n      (entries) => {\n        if (entries.some((e) => e.isIntersecting)) {\n          setSeen(true);\n          io.disconnect();\n        }\n      },\n      { threshold: 0.15 },\n    );\n    io.observe(el);\n    return () => io.disconnect();\n  }, [ref]);\n  return seen;\n}\n\nconst defaultItems: ChecklistItem[] = [\n  { title: \"Bank feeds from 11,000 banks\", detail: \"Transactions arrive every morning, matched to receipts before you open the app.\" },\n  { title: \"Receipts by email or photo\", detail: \"Forward a receipt or snap it. Totals, tax and vendor are filled in for you.\" },\n  { title: \"Approvals that follow the money\", detail: \"Route spend over $2,500 to a second approver, everything else straight through.\" },\n  { title: \"Multi-entity books\", detail: \"Run three companies in three currencies from one login, with clean consolidation.\" },\n  { title: \"Month-end close checklist\", detail: \"Recurring tasks, owners and due dates, with a sign-off trail for your auditor.\" },\n  { title: \"Corporate cards with limits\", detail: \"Physical and virtual cards with per-merchant limits and instant freeze.\" },\n  { title: \"Sales tax in 46 states\", detail: \"Rates update automatically and filings are prepared on schedule.\" },\n  { title: \"Exports your accountant likes\", detail: \"Clean CSV, PDF and general ledger exports, mapped to your chart of accounts.\" },\n];\n\nconst defaultSummary: ChecklistSummary = {\n  label: \"Average Tally customer\",\n  value: \"3.1 days\",\n  caption: \"to close the month, down from nine before switching.\",\n  stats: [\n    { label: \"Tools replaced\", value: \"6\" },\n    { label: \"Hours saved per month\", value: \"42\" },\n    { label: \"Duplicate payments caught\", value: \"$18,400\" },\n  ],\n  cta: { label: \"Start a 14-day trial\", href: \"#\" },\n  note: \"No card required. Cancel anytime.\",\n};\n\nexport function FeaturesChecklist({\n  eyebrow = \"Included on every plan\",\n  title = \"Everything a lean finance team needs.\",\n  titleAccent = \"Nothing it doesn't.\",\n  subtitle = \"Tally replaces the spreadsheet, the expense app and the late-night reconciliation with one calm workspace.\",\n  items = defaultItems,\n  summary = defaultSummary,\n  accent = \"#e5533d\",\n  className = \"\",\n  style,\n  ...rest\n}: FeaturesChecklistProps) {\n  const uid = React.useId();\n  const ref = React.useRef<HTMLElement>(null);\n  const seen = useInView(ref);\n  const vars = { \"--hb-ka4-accent\": accent, ...style } as React.CSSProperties;\n\n  return (\n    <section ref={ref} className={`hb-ka4 ${className}`} style={vars} data-in={seen} aria-labelledby={`${uid}-t`} {...rest}>\n      <style href=\"hb-features-checklist\" precedence=\"default\">{css}</style>\n      <div className=\"hb-ka4-wrap\">\n        <header className=\"hb-ka4-head\">\n          <div>\n            {eyebrow && <p className=\"hb-ka4-eyebrow\">{eyebrow}</p>}\n            <h2 id={`${uid}-t`} className=\"hb-ka4-title\">\n              {title}\n              {titleAccent && (\n                <>\n                  {\" \"}\n                  <em>{titleAccent}</em>\n                </>\n              )}\n            </h2>\n          </div>\n          {subtitle && <p className=\"hb-ka4-sub\">{subtitle}</p>}\n        </header>\n        <div className=\"hb-ka4-body\">\n          <ul className=\"hb-ka4-list\">\n            {items.map((item, i) => (\n                <li key={`${item.title}-${i}`} className=\"hb-ka4-item\" style={{ \"--hb-ka4-d\": `${(0.15 + i * 0.14).toFixed(2)}s` } as React.CSSProperties}>\n                  <svg className=\"hb-ka4-ico\" viewBox=\"0 0 28 28\" aria-hidden=\"true\">\n                    <circle className=\"hb-ka4-bg\" cx=\"14\" cy=\"14\" r=\"12\" />\n                    <circle className=\"hb-ka4-ring\" cx=\"14\" cy=\"14\" r=\"12\" />\n                    <path className=\"hb-ka4-mark\" d=\"M9 14.4l3.3 3.2L19 10.8\" />\n                  </svg>\n                  <div className=\"hb-ka4-text\">\n                    <h3 className=\"hb-ka4-item-title\">{item.title}</h3>\n                    {item.detail && <p className=\"hb-ka4-item-detail\">{item.detail}</p>}\n                  </div>\n                </li>\n            ))}\n          </ul>\n          {summary && (\n            <aside className=\"hb-ka4-aside\" aria-label={summary.label}>\n              <div className=\"hb-ka4-card\">\n                <p className=\"hb-ka4-label\">{summary.label}</p>\n                <p className=\"hb-ka4-value\">{summary.value}</p>\n                {summary.caption && <p className=\"hb-ka4-caption\">{summary.caption}</p>}\n                {summary.stats && summary.stats.length > 0 && (\n                  <ul className=\"hb-ka4-stats\">\n                    {summary.stats.map((s) => (\n                      <li key={s.label}>\n                        <span>{s.label}</span>\n                        <b>{s.value}</b>\n                      </li>\n                    ))}\n                  </ul>\n                )}\n                {summary.cta && (\n                  <a className=\"hb-ka4-cta\" href={summary.cta.href}>\n                    {summary.cta.label}\n                    <span aria-hidden=\"true\">&rarr;</span>\n                  </a>\n                )}\n                {summary.note && <p className=\"hb-ka4-note\">{summary.note}</p>}\n              </div>\n            </aside>\n          )}\n        </div>\n      </div>\n    </section>\n  );\n}\n"
    }
  ]
}