{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "features-alternating",
  "type": "registry:component",
  "title": "Features Alternating",
  "description": "Numbered feature rows that alternate copy and visual sides. Each visual is a small animated product screen (an inbox, a routing flow, a chart) that plays when its row scrolls into view.",
  "author": "Hyperblur <hello@hyperblur.dev>",
  "dependencies": [],
  "registryDependencies": [],
  "categories": [
    "features",
    "features",
    "alternating",
    "zigzag",
    "scroll reveal",
    "product",
    "section"
  ],
  "docs": "https://hyperblur.dev/effects/features-alternating",
  "files": [
    {
      "path": "registry/hyperblur/features-alternating.tsx",
      "type": "registry:component",
      "target": "components/hyperblur/features-alternating.tsx",
      "content": "\"use client\";\n\nimport * as React from \"react\";\n\nexport interface AlternatingFeature {\n  eyebrow?: string;\n  title: string;\n  description: string;\n  bullets?: string[];\n  link?: { label: string; href: string };\n  visual?: React.ReactNode;\n}\n\nexport interface FeaturesAlternatingProps extends Omit<React.HTMLAttributes<HTMLElement>, \"title\"> {\n  eyebrow?: string;\n  title?: string;\n  subtitle?: string;\n  features?: AlternatingFeature[];\n  accent?: string;\n}\n\nconst css = `\n.hb-ka2 {\n  --hb-ka2-accent: #10b981;\n  box-sizing: border-box;\n  width: 100%;\n  container-type: inline-size;\n  background: #0a0a0a;\n  color: #ededed;\n  font-family: inherit;\n  -webkit-font-smoothing: antialiased;\n}\n.hb-ka2 *, .hb-ka2 *::before, .hb-ka2 *::after { box-sizing: border-box; }\n.hb-ka2-wrap { max-width: 1120px; margin: 0 auto; padding: 88px 24px 112px; }\n.hb-ka2-head { max-width: 720px; margin: 0 auto 72px; text-align: center; }\n.hb-ka2-eyebrow {\n  margin: 0 0 14px;\n  color: var(--hb-ka2-accent);\n  font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);\n  font-size: 12px;\n  letter-spacing: .12em;\n  text-transform: uppercase;\n}\n.hb-ka2-title {\n  margin: 0;\n  font-size: clamp(28px, 4.2cqw, 44px);\n  font-weight: 600;\n  line-height: 1.08;\n  letter-spacing: -.03em;\n  text-wrap: balance;\n}\n.hb-ka2-sub { margin: 16px auto 0; max-width: 560px; color: #8f8f8f; font-size: 16px; line-height: 1.6; }\n.hb-ka2-rows { display: flex; flex-direction: column; gap: 96px; }\n.hb-ka2-row {\n  display: grid;\n  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);\n  align-items: center;\n  gap: 72px;\n}\n.hb-ka2-row[data-flip=\"true\"] { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); }\n.hb-ka2-row[data-flip=\"true\"] .hb-ka2-copy { order: 2; }\n.hb-ka2-copy {\n  min-width: 0;\n  opacity: 0;\n  transform: translateY(18px);\n  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1);\n}\n.hb-ka2-row[data-in=\"true\"] .hb-ka2-copy { opacity: 1; transform: none; }\n.hb-ka2-step {\n  display: inline-flex;\n  align-items: center;\n  gap: 10px;\n  margin: 0 0 18px;\n  color: #a1a1a1;\n  font-size: 13px;\n  font-weight: 500;\n}\n.hb-ka2-num {\n  display: inline-flex;\n  align-items: center;\n  justify-content: center;\n  width: 26px;\n  height: 26px;\n  border: 1px solid color-mix(in srgb, var(--hb-ka2-accent) 40%, transparent);\n  border-radius: 8px;\n  background: color-mix(in srgb, var(--hb-ka2-accent) 12%, transparent);\n  color: color-mix(in srgb, var(--hb-ka2-accent) 70%, #fff);\n  font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);\n  font-size: 11px;\n}\n.hb-ka2-row-title {\n  margin: 0;\n  font-size: clamp(24px, 3cqw, 32px);\n  font-weight: 600;\n  line-height: 1.15;\n  letter-spacing: -.025em;\n}\n.hb-ka2-desc { margin: 14px 0 0; color: #8f8f8f; font-size: 16px; line-height: 1.65; }\n.hb-ka2-bullets { display: grid; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }\n.hb-ka2-bullets li { display: flex; gap: 12px; color: #d4d4d4; font-size: 15px; line-height: 1.5; }\n.hb-ka2-bullets svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--hb-ka2-accent); }\n.hb-ka2-link {\n  display: inline-flex;\n  align-items: center;\n  gap: 6px;\n  margin-top: 28px;\n  color: #ededed;\n  font-size: 14px;\n  font-weight: 500;\n  text-decoration: none;\n  border-bottom: 1px solid rgba(255, 255, 255, .2);\n  padding-bottom: 2px;\n  transition: border-color .2s ease, color .2s ease;\n}\n.hb-ka2-link:hover { color: #fff; border-color: var(--hb-ka2-accent); }\n.hb-ka2-link:focus-visible { outline: 2px solid var(--hb-ka2-accent); outline-offset: 4px; border-radius: 2px; }\n.hb-ka2-stage {\n  position: relative;\n  min-width: 0;\n  aspect-ratio: 5 / 4;\n  overflow: hidden;\n  border: 1px solid rgba(255, 255, 255, .08);\n  border-radius: 20px;\n  background:\n    radial-gradient(120% 80% at 100% 0%, color-mix(in srgb, var(--hb-ka2-accent) 16%, transparent), transparent 60%),\n    linear-gradient(180deg, #131315, #0c0c0d);\n  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 40px 80px -40px rgba(0, 0, 0, .9);\n}\n.hb-ka2-stage::before {\n  content: \"\";\n  position: absolute;\n  inset: 0;\n  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);\n  background-size: 28px 28px;\n  -webkit-mask: radial-gradient(80% 70% at 50% 40%, #000, transparent);\n  mask: radial-gradient(80% 70% at 50% 40%, #000, transparent);\n  pointer-events: none;\n}\n.hb-ka2-ui { position: absolute; inset: 0; padding: 7%; display: flex; flex-direction: column; }\n.hb-ka2-bar {\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n  margin-bottom: 16px;\n  color: #a1a1a1;\n  font-size: 12px;\n}\n.hb-ka2-bar b { color: #ededed; font-weight: 600; }\n.hb-ka2-pill {\n  padding: 3px 9px;\n  border: 1px solid rgba(255, 255, 255, .1);\n  border-radius: 999px;\n  background: rgba(255, 255, 255, .04);\n  font-size: 11px;\n}\n.hb-ka2-msgs { display: flex; flex-direction: column; gap: 10px; }\n.hb-ka2-msg {\n  display: grid;\n  grid-template-columns: 30px minmax(0, 1fr);\n  gap: 12px;\n  padding: 12px 14px;\n  border: 1px solid rgba(255, 255, 255, .08);\n  border-radius: 14px;\n  background: rgba(23, 23, 23, .92);\n  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);\n  opacity: 0;\n  transform: translateX(28px);\n  transition: opacity .6s ease, transform .7s cubic-bezier(.2, .8, .2, 1);\n}\n.hb-ka2-row[data-in=\"true\"] .hb-ka2-msg { opacity: 1; transform: none; }\n.hb-ka2-av {\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  width: 30px;\n  height: 30px;\n  border-radius: 50%;\n  color: #0a0a0a;\n  font-size: 11px;\n  font-weight: 700;\n}\n.hb-ka2-msg-top { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #8f8f8f; }\n.hb-ka2-msg-top b { color: #ededed; font-weight: 600; }\n.hb-ka2-msg p { margin: 4px 0 0; color: #c8c8c8; font-size: 12.5px; line-height: 1.45; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.hb-ka2-tag {\n  margin-left: auto;\n  padding: 2px 8px;\n  border-radius: 999px;\n  background: color-mix(in srgb, var(--hb-ka2-accent) 16%, transparent);\n  color: color-mix(in srgb, var(--hb-ka2-accent) 70%, #fff);\n  font-size: 10.5px;\n  white-space: nowrap;\n}\n.hb-ka2-merge {\n  display: flex;\n  align-items: center;\n  gap: 8px;\n  margin-top: auto;\n  padding-top: 14px;\n  color: #8f8f8f;\n  font-size: 12px;\n  opacity: 0;\n  transition: opacity .6s ease 1s;\n}\n.hb-ka2-row[data-in=\"true\"] .hb-ka2-merge { opacity: 1; }\n.hb-ka2-merge i {\n  width: 8px;\n  height: 8px;\n  border-radius: 50%;\n  background: var(--hb-ka2-accent);\n  box-shadow: 0 0 12px var(--hb-ka2-accent);\n}\n.hb-ka2-svg { position: absolute; inset: 0; width: 100%; height: 100%; }\n.hb-ka2-path {\n  fill: none;\n  stroke: rgba(255, 255, 255, .16);\n  stroke-width: 1.5;\n  stroke-dasharray: 320;\n  stroke-dashoffset: 320;\n  transition: stroke-dashoffset 1.4s cubic-bezier(.4, 0, .2, 1);\n}\n.hb-ka2-path[data-hot=\"true\"] { stroke: var(--hb-ka2-accent); stroke-opacity: .8; }\n.hb-ka2-row[data-in=\"true\"] .hb-ka2-path { stroke-dashoffset: 0; }\n.hb-ka2-node rect { fill: #161618; stroke: rgba(255, 255, 255, .12); }\n.hb-ka2-node[data-hot=\"true\"] rect { stroke: var(--hb-ka2-accent); fill: color-mix(in srgb, var(--hb-ka2-accent) 12%, #161618); }\n.hb-ka2-node text { fill: #ededed; font-size: 12px; font-weight: 500; font-family: inherit; }\n.hb-ka2-node text.hb-ka2-small { fill: #8f8f8f; font-size: 10px; font-weight: 400; }\n.hb-ka2-node {\n  opacity: 0;\n  transition: opacity .5s ease;\n}\n.hb-ka2-row[data-in=\"true\"] .hb-ka2-node { opacity: 1; }\n.hb-ka2-pulse { fill: var(--hb-ka2-accent); opacity: 0; transition: opacity .4s ease 1.4s; }\n.hb-ka2-row[data-in=\"true\"] .hb-ka2-pulse { opacity: 1; }\n.hb-ka2-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }\n.hb-ka2-kpi {\n  padding: 10px 12px;\n  border: 1px solid rgba(255, 255, 255, .08);\n  border-radius: 12px;\n  background: rgba(23, 23, 23, .9);\n}\n.hb-ka2-kpi span { display: block; color: #8f8f8f; font-size: 11px; }\n.hb-ka2-kpi b { display: block; margin-top: 2px; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }\n.hb-ka2-kpi em { color: var(--hb-ka2-accent); font-size: 11px; font-style: normal; margin-left: 6px; }\n.hb-ka2-chart {\n  position: relative;\n  flex: 1;\n  display: flex;\n  align-items: flex-end;\n  gap: 4%;\n  min-height: 0;\n  padding: 12px 12px 26px;\n  border: 1px solid rgba(255, 255, 255, .08);\n  border-radius: 12px;\n  background: rgba(17, 17, 17, .9);\n}\n.hb-ka2-col { position: relative; flex: 1; height: 100%; display: flex; align-items: flex-end; }\n.hb-ka2-fill {\n  width: 100%;\n  border-radius: 6px 6px 2px 2px;\n  background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .06));\n  transform: scaleY(0);\n  transform-origin: bottom;\n  transition: transform .9s cubic-bezier(.2, .8, .2, 1);\n}\n.hb-ka2-col[data-hot=\"true\"] .hb-ka2-fill { background: linear-gradient(180deg, var(--hb-ka2-accent), color-mix(in srgb, var(--hb-ka2-accent) 25%, transparent)); box-shadow: 0 0 24px -4px color-mix(in srgb, var(--hb-ka2-accent) 60%, transparent); }\n.hb-ka2-row[data-in=\"true\"] .hb-ka2-fill { transform: scaleY(1); }\n.hb-ka2-col span {\n  position: absolute;\n  left: 50%;\n  bottom: -20px;\n  transform: translateX(-50%);\n  color: #6f6f6f;\n  font-size: 10px;\n  white-space: nowrap;\n}\n@container (max-width: 800px) {\n  .hb-ka2-row, .hb-ka2-row[data-flip=\"true\"] { grid-template-columns: minmax(0, 1fr); gap: 36px; }\n  .hb-ka2-row[data-flip=\"true\"] .hb-ka2-copy { order: 0; }\n  .hb-ka2-rows { gap: 72px; }\n}\n@container (max-width: 520px) {\n  .hb-ka2-wrap { padding: 64px 16px 80px; }\n  .hb-ka2-head { margin-bottom: 48px; }\n  .hb-ka2-stage { aspect-ratio: 4 / 4.2; border-radius: 16px; }\n  .hb-ka2-ui { padding: 18px; }\n  .hb-ka2-msg:nth-child(3) { display: none; }\n  .hb-ka2-tag { display: none; }\n}\n@media (prefers-reduced-motion: reduce) {\n  .hb-ka2-copy, .hb-ka2-msg, .hb-ka2-merge, .hb-ka2-node, .hb-ka2-path, .hb-ka2-fill, .hb-ka2-link { transition: none; }\n  .hb-ka2-copy, .hb-ka2-msg, .hb-ka2-merge, .hb-ka2-node { opacity: 1; transform: none; }\n  .hb-ka2-path { stroke-dashoffset: 0; }\n  .hb-ka2-fill { transform: none; }\n  .hb-ka2-pulse { display: none; }\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.2 },\n    );\n    io.observe(el);\n    return () => io.disconnect();\n  }, [ref]);\n  return seen;\n}\n\nconst messages = [\n  { name: \"Priya Raman\", co: \"Northbeam\", source: \"Support chat\", text: \"Can we export the weekly digest as CSV for our board deck?\", tag: \"Exports\", color: \"#f5a524\" },\n  { name: \"Tom Becker\", co: \"Halcyon\", source: \"Sales call\", text: \"Blocker for renewal: we need SSO before Q1 rollout.\", tag: \"Security\", color: \"#7fb3ff\" },\n  { name: \"Lena Ortiz\", co: \"Parcel & Co\", source: \"In-app widget\", text: \"Would love a CSV export, finance asks for it every Monday.\", tag: \"Exports\", color: \"#f472b6\" },\n];\n\nfunction InboxVisual() {\n  return (\n    <div className=\"hb-ka2-ui\">\n      <div className=\"hb-ka2-bar\">\n        <span>\n          <b>Inbox</b> &middot; 128 new this week\n        </span>\n        <span className=\"hb-ka2-pill\">All sources</span>\n      </div>\n      <div className=\"hb-ka2-msgs\">\n        {messages.map((m, i) => (\n          <div key={m.name} className=\"hb-ka2-msg\" style={{ transitionDelay: `${(0.15 + i * 0.16).toFixed(2)}s` }}>\n            <span className=\"hb-ka2-av\" style={{ background: m.color }} aria-hidden=\"true\">\n              {m.name.split(\" \").map((p) => p[0]).join(\"\")}\n            </span>\n            <div style={{ minWidth: 0 }}>\n              <div className=\"hb-ka2-msg-top\">\n                <b>{m.name}</b>\n                <span>{m.source}</span>\n                <span className=\"hb-ka2-tag\">{m.tag}</span>\n              </div>\n              <p>{m.text}</p>\n            </div>\n          </div>\n        ))}\n      </div>\n      <div className=\"hb-ka2-merge\">\n        <i aria-hidden=\"true\" />\n        2 requests merged into &ldquo;CSV export for digests&rdquo; &middot; 41 voices\n      </div>\n    </div>\n  );\n}\n\nconst flowPaths = [\n  { d: \"M120 150 C 160 150, 160 150, 196 150\", hot: true },\n  { d: \"M288 150 C 320 150, 316 70, 352 70\", hot: false },\n  { d: \"M288 150 C 330 150, 320 150, 352 150\", hot: true },\n  { d: \"M288 150 C 320 150, 316 230, 352 230\", hot: false },\n];\n\nfunction FlowVisual() {\n  return (\n    <svg className=\"hb-ka2-svg\" viewBox=\"0 0 480 300\" preserveAspectRatio=\"xMidYMid meet\" aria-hidden=\"true\">\n      {flowPaths.map((p, i) => (\n        <path key={i} className=\"hb-ka2-path\" d={p.d} data-hot={p.hot} style={{ transitionDelay: `${(0.2 + i * 0.18).toFixed(2)}s` }} />\n      ))}\n      <g className=\"hb-ka2-node\" data-hot=\"false\">\n        <rect x=\"16\" y=\"124\" width=\"104\" height=\"52\" rx=\"12\" />\n        <text x=\"30\" y=\"146\">New request</text>\n        <text className=\"hb-ka2-small\" x=\"30\" y=\"162\">Halcyon &middot; $48k ARR</text>\n      </g>\n      <g className=\"hb-ka2-node\" data-hot=\"true\" style={{ transitionDelay: \".3s\" }}>\n        <rect x=\"196\" y=\"118\" width=\"92\" height=\"64\" rx=\"14\" />\n        <text x=\"212\" y=\"145\">Classify</text>\n        <text className=\"hb-ka2-small\" x=\"212\" y=\"162\">Security &middot; 0.94</text>\n      </g>\n      {[\n        { y: 44, t: \"Billing\", s: \"2 open\" },\n        { y: 124, t: \"Platform\", s: \"Owner: Mei\" },\n        { y: 204, t: \"Success\", s: \"12 open\" },\n      ].map((n, i) => (\n        <g key={n.t} className=\"hb-ka2-node\" data-hot={i === 1} style={{ transitionDelay: `${(0.7 + i * 0.12).toFixed(2)}s` }}>\n          <rect x=\"352\" y={n.y} width=\"112\" height=\"52\" rx=\"12\" />\n          <text x=\"366\" y={n.y + 22}>{n.t}</text>\n          <text className=\"hb-ka2-small\" x=\"366\" y={n.y + 38}>{n.s}</text>\n        </g>\n      ))}\n      <circle className=\"hb-ka2-pulse\" r=\"4\">\n        <animateMotion dur=\"2.4s\" repeatCount=\"indefinite\" path=\"M120 150 C 160 150, 160 150, 196 150 L 288 150 C 330 150, 320 150, 352 150\" />\n      </circle>\n    </svg>\n  );\n}\n\nconst bars = [\n  { m: \"Jul\", v: 0.42 },\n  { m: \"Aug\", v: 0.55 },\n  { m: \"Sep\", v: 0.49 },\n  { m: \"Oct\", v: 0.68 },\n  { m: \"Nov\", v: 0.74 },\n  { m: \"Dec\", v: 0.92, hot: true },\n];\n\nfunction ChartVisual() {\n  return (\n    <div className=\"hb-ka2-ui\">\n      <div className=\"hb-ka2-kpis\">\n        <div className=\"hb-ka2-kpi\">\n          <span>Revenue at stake</span>\n          <b>\n            $1.82M<em>+24%</em>\n          </b>\n        </div>\n        <div className=\"hb-ka2-kpi\">\n          <span>Requests shipped</span>\n          <b>\n            63<em>this quarter</em>\n          </b>\n        </div>\n      </div>\n      <div className=\"hb-ka2-chart\">\n        {bars.map((b, i) => (\n          <div key={b.m} className=\"hb-ka2-col\" data-hot={Boolean(b.hot)}>\n            <div className=\"hb-ka2-fill\" style={{ height: `${(b.v * 100).toFixed(1)}%`, transitionDelay: `${(0.2 + i * 0.09).toFixed(2)}s` }} />\n            <span>{b.m}</span>\n          </div>\n        ))}\n      </div>\n    </div>\n  );\n}\n\nconst builtIn: React.ReactNode[] = [<InboxVisual key=\"inbox\" />, <FlowVisual key=\"flow\" />, <ChartVisual key=\"chart\" />];\n\nconst defaultFeatures: AlternatingFeature[] = [\n  {\n    eyebrow: \"Capture\",\n    title: \"Every request lands in one inbox\",\n    description: \"Fieldnote listens to support chat, email, sales calls and the in-app widget, then folds duplicates together so one ask from forty customers reads as one.\",\n    bullets: [\"Connects to 30 sources in a few clicks\", \"Merges duplicates while keeping every voice attached\"],\n    link: { label: \"See all sources\", href: \"#\" },\n  },\n  {\n    eyebrow: \"Route\",\n    title: \"Sent straight to the team that owns it\",\n    description: \"Rules look at product area, plan and account value, so a renewal blocker from a large account never waits behind a font request.\",\n    bullets: [\"Routing by area, plan and revenue\", \"Handoff to your issue tracker with full context\"],\n    link: { label: \"How routing works\", href: \"#\" },\n  },\n  {\n    eyebrow: \"Report\",\n    title: \"Know what to build next quarter\",\n    description: \"Rank requests by the revenue behind them, watch themes rise month over month and tell customers automatically when their request ships.\",\n    bullets: [\"Revenue-weighted ranking\", \"Automatic updates when a request ships\"],\n    link: { label: \"Explore reports\", href: \"#\" },\n  },\n];\n\nfunction Check() {\n  return (\n    <svg viewBox=\"0 0 20 20\" fill=\"none\" stroke=\"currentColor\" strokeWidth=\"1.6\" strokeLinecap=\"round\" strokeLinejoin=\"round\" aria-hidden=\"true\">\n      <circle cx=\"10\" cy=\"10\" r=\"8\" opacity=\".35\" />\n      <path d=\"M6.5 10.2l2.3 2.3 4.7-4.8\" />\n    </svg>\n  );\n}\n\nfunction Row({ feature, index }: { feature: AlternatingFeature; index: number }) {\n  const ref = React.useRef<HTMLDivElement>(null);\n  const seen = useInView(ref);\n  return (\n    <div ref={ref} className=\"hb-ka2-row\" data-flip={index % 2 === 1} data-in={seen}>\n      <div className=\"hb-ka2-copy\">\n        <p className=\"hb-ka2-step\">\n          <span className=\"hb-ka2-num\">{String(index + 1).padStart(2, \"0\")}</span>\n          {feature.eyebrow}\n        </p>\n        <h3 className=\"hb-ka2-row-title\">{feature.title}</h3>\n        <p className=\"hb-ka2-desc\">{feature.description}</p>\n        {feature.bullets && feature.bullets.length > 0 && (\n          <ul className=\"hb-ka2-bullets\">\n            {feature.bullets.map((b) => (\n              <li key={b}>\n                <Check />\n                {b}\n              </li>\n            ))}\n          </ul>\n        )}\n        {feature.link && (\n          <a className=\"hb-ka2-link\" href={feature.link.href}>\n            {feature.link.label}\n            <span aria-hidden=\"true\">&rarr;</span>\n          </a>\n        )}\n      </div>\n      <div className=\"hb-ka2-stage\">{feature.visual ?? builtIn[index % builtIn.length]}</div>\n    </div>\n  );\n}\n\nexport function FeaturesAlternating({\n  eyebrow = \"How Fieldnote works\",\n  title = \"From scattered feedback to a roadmap customers asked for\",\n  subtitle = \"Three steps, no spreadsheets. Teams at 2,300 companies use Fieldnote to decide what to build next.\",\n  features = defaultFeatures,\n  accent = \"#10b981\",\n  className = \"\",\n  style,\n  ...rest\n}: FeaturesAlternatingProps) {\n  const uid = React.useId();\n  const vars = { \"--hb-ka2-accent\": accent, ...style } as React.CSSProperties;\n  return (\n    <section className={`hb-ka2 ${className}`} style={vars} aria-labelledby={`${uid}-t`} {...rest}>\n      <style href=\"hb-features-alternating\" precedence=\"default\">{css}</style>\n      <div className=\"hb-ka2-wrap\">\n        <header className=\"hb-ka2-head\">\n          {eyebrow && <p className=\"hb-ka2-eyebrow\">{eyebrow}</p>}\n          <h2 id={`${uid}-t`} className=\"hb-ka2-title\">{title}</h2>\n          {subtitle && <p className=\"hb-ka2-sub\">{subtitle}</p>}\n        </header>\n        <div className=\"hb-ka2-rows\">\n          {features.map((f, i) => (\n            <Row key={`${f.title}-${i}`} feature={f} index={i} />\n          ))}\n        </div>\n      </div>\n    </section>\n  );\n}\n"
    }
  ]
}