{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "how-steps-line",
  "type": "registry:component",
  "title": "How It Works: Steps Line",
  "description": "Four numbered step cards joined by a line that fills from start to end when the section scrolls into view. Each card carries a small looping illustration.",
  "author": "Hyperblur <hello@hyperblur.dev>",
  "dependencies": [],
  "registryDependencies": [],
  "categories": [
    "how-it-works",
    "how it works",
    "steps",
    "process",
    "timeline",
    "onboarding",
    "scroll reveal"
  ],
  "docs": "https://hyperblur.dev/effects/how-steps-line",
  "files": [
    {
      "path": "registry/hyperblur/how-steps-line.tsx",
      "type": "registry:component",
      "target": "components/hyperblur/how-steps-line.tsx",
      "content": "\"use client\";\n\nimport * as React from \"react\";\n\nexport type HowStepsLineArt = \"connect\" | \"configure\" | \"deploy\" | \"monitor\";\n\nexport interface HowStepsLineStep {\n  title: string;\n  description: string;\n  duration?: string;\n  art?: HowStepsLineArt;\n}\n\nexport interface HowStepsLineAction {\n  label: string;\n  href: string;\n}\n\nexport interface HowStepsLineProps extends Omit<React.HTMLAttributes<HTMLElement>, \"title\"> {\n  eyebrow?: string;\n  title?: string;\n  subtitle?: string;\n  steps?: HowStepsLineStep[];\n  cta?: HowStepsLineAction | null;\n  note?: string;\n  accent?: string;\n}\n\nconst css = `\n@keyframes hb-kh1-dash { to { stroke-dashoffset: -14; } }\n@keyframes hb-kh1-travel {\n  0% { transform: translateX(0); opacity: 0; }\n  12% { opacity: 1; }\n  88% { opacity: 1; }\n  100% { transform: translateX(56px); opacity: 0; }\n}\n@keyframes hb-kh1-ping {\n  0% { transform: scale(1); opacity: 0.55; }\n  100% { transform: scale(1.9); opacity: 0; }\n}\n@keyframes hb-kh1-slide {\n  0%, 18% { transform: translateX(calc(var(--a) * 112px)); }\n  50%, 68% { transform: translateX(calc(var(--b) * 112px)); }\n  100% { transform: translateX(calc(var(--a) * 112px)); }\n}\n@keyframes hb-kh1-grow {\n  0%, 18% { transform: scaleX(var(--a)); }\n  50%, 68% { transform: scaleX(var(--b)); }\n  100% { transform: scaleX(var(--a)); }\n}\n@keyframes hb-kh1-load {\n  0% { transform: scaleX(0); }\n  58%, 100% { transform: scaleX(1); }\n}\n@keyframes hb-kh1-check {\n  0%, 60% { opacity: 0; transform: scale(0.6); }\n  70%, 92% { opacity: 1; transform: scale(1); }\n  100% { opacity: 0; transform: scale(1); }\n}\n@keyframes hb-kh1-bar {\n  0% { transform: scaleY(var(--a)); }\n  100% { transform: scaleY(var(--b)); }\n}\n.hb-kh1 {\n  --hb-kh1-accent: #8b7bff;\n  position: relative;\n  box-sizing: border-box;\n  width: 100%;\n  overflow: hidden;\n  container-type: inline-size;\n  background: #0a0a0a;\n  color: #ededed;\n  font-family: inherit;\n  -webkit-font-smoothing: antialiased;\n}\n.hb-kh1 *, .hb-kh1 *::before, .hb-kh1 *::after { box-sizing: border-box; }\n.hb-kh1-bg {\n  position: absolute;\n  inset: 0;\n  pointer-events: none;\n  background:\n    radial-gradient(56% 42% at 50% 0%, color-mix(in srgb, var(--hb-kh1-accent) 20%, transparent), transparent 72%),\n    radial-gradient(30% 30% at 88% 70%, color-mix(in srgb, var(--hb-kh1-accent) 8%, transparent), transparent 70%);\n}\n.hb-kh1-grid {\n  position: absolute;\n  inset: 0;\n  pointer-events: none;\n  background-image:\n    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),\n    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);\n  background-size: 56px 56px;\n  mask-image: radial-gradient(70% 60% at 50% 0%, #000 20%, transparent 75%);\n  -webkit-mask-image: radial-gradient(70% 60% at 50% 0%, #000 20%, transparent 75%);\n}\n.hb-kh1-in {\n  position: relative;\n  max-width: 1120px;\n  margin: 0 auto;\n  padding: 72px 20px 80px;\n}\n.hb-kh1-head {\n  max-width: 660px;\n  margin: 0 auto;\n  text-align: center;\n}\n.hb-kh1-eyebrow {\n  display: inline-flex;\n  align-items: center;\n  gap: 8px;\n  height: 28px;\n  padding: 0 12px;\n  border: 1px solid rgba(255, 255, 255, 0.1);\n  border-radius: 999px;\n  background: rgba(255, 255, 255, 0.03);\n  color: #c4c4c4;\n  font-size: 12px;\n  font-weight: 500;\n  letter-spacing: 0.02em;\n}\n.hb-kh1-eyebrow::before {\n  content: \"\";\n  width: 6px;\n  height: 6px;\n  border-radius: 50%;\n  background: var(--hb-kh1-accent);\n  box-shadow: 0 0 10px var(--hb-kh1-accent);\n}\n.hb-kh1-title {\n  margin: 18px 0 0;\n  font-size: clamp(30px, 4.7cqw, 46px);\n  font-weight: 600;\n  line-height: 1.06;\n  letter-spacing: -0.035em;\n  text-wrap: balance;\n  background: linear-gradient(180deg, #ffffff 30%, #a9a9a9);\n  -webkit-background-clip: text;\n  background-clip: text;\n  color: transparent;\n}\n.hb-kh1-sub {\n  max-width: 520px;\n  margin: 16px auto 0;\n  color: #8f8f8f;\n  font-size: 16px;\n  line-height: 1.6;\n  text-wrap: pretty;\n}\n.hb-kh1-flow {\n  position: relative;\n  margin: 52px 0 0;\n  padding: 0 0 0 58px;\n}\n.hb-kh1-steps {\n  display: grid;\n  grid-template-columns: 1fr;\n  gap: 20px;\n  margin: 0;\n  padding: 0;\n  list-style: none;\n}\n.hb-kh1-track {\n  position: absolute;\n  top: 20px;\n  bottom: 20px;\n  left: 19px;\n  width: 2px;\n  border-radius: 2px;\n  background: rgba(255, 255, 255, 0.08);\n  overflow: hidden;\n}\n.hb-kh1-fill {\n  position: absolute;\n  inset: 0;\n  background: linear-gradient(180deg, var(--hb-kh1-accent), color-mix(in srgb, var(--hb-kh1-accent) 45%, #ffffff));\n  box-shadow: 0 0 12px var(--hb-kh1-accent);\n  transform: scaleY(0);\n  transform-origin: top;\n  transition: transform 1.9s cubic-bezier(0.65, 0, 0.35, 1) 0.15s;\n}\n.hb-kh1[data-in=\"true\"] .hb-kh1-fill { transform: none; }\n.hb-kh1-step { position: relative; min-width: 0; }\n.hb-kh1-badge {\n  position: absolute;\n  top: 14px;\n  left: -58px;\n  display: grid;\n  place-items: center;\n  width: 40px;\n  height: 40px;\n  border: 1px solid rgba(255, 255, 255, 0.12);\n  border-radius: 50%;\n  background: #0d0d0d;\n  color: #8f8f8f;\n  font-size: 13px;\n  font-weight: 600;\n  font-variant-numeric: tabular-nums;\n  transition: border-color 0.45s ease, color 0.45s ease, background-color 0.45s ease, box-shadow 0.45s ease;\n  transition-delay: calc(var(--i) * 0.45s + 0.2s);\n}\n.hb-kh1[data-in=\"true\"] .hb-kh1-badge {\n  border-color: var(--hb-kh1-accent);\n  background: color-mix(in srgb, var(--hb-kh1-accent) 20%, #0d0d0d);\n  color: #ffffff;\n  box-shadow: 0 0 0 4px color-mix(in srgb, var(--hb-kh1-accent) 12%, transparent), 0 0 24px color-mix(in srgb, var(--hb-kh1-accent) 45%, transparent);\n}\n.hb-kh1-card {\n  position: relative;\n  height: 100%;\n  padding: 12px 12px 20px;\n  border: 1px solid rgba(255, 255, 255, 0.08);\n  border-radius: 18px;\n  background: linear-gradient(180deg, #141414, #0e0e0e);\n  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 24px 48px -32px rgba(0, 0, 0, 0.9);\n  transition: border-color 0.25s ease, transform 0.25s ease;\n}\n.hb-kh1-card:hover {\n  border-color: color-mix(in srgb, var(--hb-kh1-accent) 40%, rgba(255, 255, 255, 0.1));\n  transform: translateY(-3px);\n}\n.hb-kh1-art {\n  position: relative;\n  height: 112px;\n  overflow: hidden;\n  border: 1px solid rgba(255, 255, 255, 0.06);\n  border-radius: 12px;\n  background:\n    radial-gradient(80% 90% at 50% 120%, color-mix(in srgb, var(--hb-kh1-accent) 22%, transparent), transparent 70%),\n    radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px) 0 0 / 12px 12px,\n    #0b0b0b;\n}\n.hb-kh1-art svg { display: block; width: 100%; height: 100%; }\n.hb-kh1-node { fill: #161616; stroke: rgba(255, 255, 255, 0.14); }\n.hb-kh1-node-on { fill: color-mix(in srgb, var(--hb-kh1-accent) 22%, #161616); stroke: var(--hb-kh1-accent); }\n.hb-kh1-ink { fill: none; stroke: #a1a1a1; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }\n.hb-kh1-ink-on { fill: none; stroke: #ffffff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }\n.hb-kh1-dash { fill: none; stroke: var(--hb-kh1-accent); stroke-width: 1.5; stroke-dasharray: 3 4; animation: hb-kh1-dash 0.9s linear infinite; }\n.hb-kh1-pkt { fill: #ffffff; animation: hb-kh1-travel 2s cubic-bezier(0.5, 0, 0.5, 1) infinite; filter: drop-shadow(0 0 4px var(--hb-kh1-accent)); }\n.hb-kh1-ping { fill: none; stroke: var(--hb-kh1-accent); transform-box: fill-box; transform-origin: center; animation: hb-kh1-ping 2s ease-out infinite; }\n.hb-kh1-rail { fill: rgba(255, 255, 255, 0.08); }\n.hb-kh1-railfill { fill: var(--hb-kh1-accent); transform-box: fill-box; transform-origin: left center; animation: hb-kh1-grow 3.6s cubic-bezier(0.65, 0, 0.35, 1) infinite; animation-delay: var(--d); }\n.hb-kh1-knob { fill: #ffffff; stroke: var(--hb-kh1-accent); stroke-width: 2; animation: hb-kh1-slide 3.6s cubic-bezier(0.65, 0, 0.35, 1) infinite; animation-delay: var(--d); }\n.hb-kh1-win { fill: #141414; stroke: rgba(255, 255, 255, 0.12); }\n.hb-kh1-skel { fill: rgba(255, 255, 255, 0.08); }\n.hb-kh1-load { fill: var(--hb-kh1-accent); transform-box: fill-box; transform-origin: left center; animation: hb-kh1-load 3s cubic-bezier(0.4, 0, 0.2, 1) infinite; }\n.hb-kh1-check { transform-box: fill-box; transform-origin: center; animation: hb-kh1-check 3s ease infinite; }\n.hb-kh1-check circle { fill: var(--hb-kh1-accent); }\n.hb-kh1-check path { fill: none; stroke: #ffffff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }\n.hb-kh1-col { fill: color-mix(in srgb, var(--hb-kh1-accent) 70%, #ffffff); transform-box: fill-box; transform-origin: bottom; animation: hb-kh1-bar 1.6s ease-in-out infinite alternate; animation-delay: var(--d); }\n.hb-kh1-col-dim { fill: rgba(255, 255, 255, 0.16); }\n.hb-kh1-axis { stroke: rgba(255, 255, 255, 0.12); stroke-width: 1; }\n.hb-kh1-live { fill: #34d399; }\n.hb-kh1-meta {\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n  gap: 8px;\n  margin: 18px 6px 0;\n}\n.hb-kh1-label {\n  color: #8f8f8f;\n  font-size: 12px;\n  font-weight: 500;\n  letter-spacing: 0.04em;\n  text-transform: uppercase;\n}\n.hb-kh1-chip {\n  padding: 3px 8px;\n  border: 1px solid rgba(255, 255, 255, 0.08);\n  border-radius: 999px;\n  background: rgba(255, 255, 255, 0.03);\n  color: #bdbdbd;\n  font-size: 11.5px;\n  white-space: nowrap;\n}\n.hb-kh1-name {\n  margin: 10px 6px 0;\n  font-size: 17px;\n  font-weight: 600;\n  letter-spacing: -0.015em;\n}\n.hb-kh1-desc {\n  margin: 8px 6px 0;\n  color: #8f8f8f;\n  font-size: 14px;\n  line-height: 1.55;\n  text-wrap: pretty;\n}\n.hb-kh1-foot {\n  display: flex;\n  flex-wrap: wrap;\n  align-items: center;\n  justify-content: center;\n  gap: 12px 18px;\n  margin-top: 44px;\n  color: #8f8f8f;\n  font-size: 14px;\n}\n.hb-kh1-cta {\n  display: inline-flex;\n  align-items: center;\n  gap: 8px;\n  height: 40px;\n  padding: 0 18px;\n  border-radius: 999px;\n  background: #ededed;\n  color: #0a0a0a;\n  font-size: 14px;\n  font-weight: 600;\n  text-decoration: none;\n  transition: background-color 0.2s ease, transform 0.2s ease;\n}\n.hb-kh1-cta:hover { background: #ffffff; transform: translateY(-1px); }\n.hb-kh1-cta:focus-visible { outline: 2px solid var(--hb-kh1-accent); outline-offset: 3px; }\n.hb-kh1-cta svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s ease; }\n.hb-kh1-cta:hover svg { transform: translateX(2px); }\n@container (min-width: 720px) {\n  .hb-kh1-in { padding: 96px 40px 108px; }\n}\n@container (min-width: 880px) {\n  .hb-kh1-flow {\n    margin-top: 48px;\n    padding: 64px 0 0;\n  }\n  .hb-kh1-steps {\n    grid-template-columns: repeat(4, minmax(0, 1fr));\n    gap: 18px;\n  }\n  .hb-kh1-track {\n    top: 19px;\n    bottom: auto;\n    left: 12.5%;\n    right: 12.5%;\n    width: auto;\n    height: 2px;\n  }\n  .hb-kh1-fill {\n    background: linear-gradient(90deg, var(--hb-kh1-accent), color-mix(in srgb, var(--hb-kh1-accent) 45%, #ffffff));\n    transform: scaleX(0);\n    transform-origin: left;\n  }\n  .hb-kh1-badge {\n    top: -64px;\n    left: 50%;\n    margin-left: -20px;\n  }\n}\n@media (prefers-reduced-motion: reduce) {\n  .hb-kh1 *, .hb-kh1 *::before, .hb-kh1 *::after { animation: none !important; transition: none !important; }\n  .hb-kh1-fill { transform: none; }\n}\n`;\n\nconst defaultSteps: HowStepsLineStep[] = [\n  {\n    title: \"Connect your repo\",\n    description: \"Install the GitHub app and pick the repositories Relay should watch. No YAML to write.\",\n    duration: \"2 min\",\n    art: \"connect\",\n  },\n  {\n    title: \"Set your rules\",\n    description: \"Choose which checks run on every pull request and who gets pinged when one fails.\",\n    duration: \"5 min\",\n    art: \"configure\",\n  },\n  {\n    title: \"Ship a preview\",\n    description: \"Every branch gets its own URL with seeded data, so reviewers click instead of pulling.\",\n    duration: \"Every push\",\n    art: \"deploy\",\n  },\n  {\n    title: \"Watch it live\",\n    description: \"Error rates, p95 latency and deploy health stream into one timeline the team shares.\",\n    duration: \"Always on\",\n    art: \"monitor\",\n  },\n];\n\nconst arts: HowStepsLineArt[] = [\"connect\", \"configure\", \"deploy\", \"monitor\"];\n\nfunction hash(n: number) {\n  let x = (n + 1) * 374761393;\n  x = (x ^ (x >>> 13)) * 1274126177;\n  x = x ^ (x >>> 16);\n  return (x >>> 0) / 4294967295;\n}\n\nfunction v(name: string, value: string) {\n  return { [name]: value } as React.CSSProperties;\n}\n\nfunction ConnectArt() {\n  return (\n    <svg viewBox=\"0 0 220 112\" preserveAspectRatio=\"xMidYMid meet\" aria-hidden=\"true\">\n      <rect className=\"hb-kh1-node\" x=\"38\" y=\"34\" width=\"44\" height=\"44\" rx=\"12\" />\n      <circle className=\"hb-kh1-ink\" cx=\"53\" cy=\"47\" r=\"3.5\" />\n      <circle className=\"hb-kh1-ink\" cx=\"53\" cy=\"65\" r=\"3.5\" />\n      <circle className=\"hb-kh1-ink\" cx=\"68\" cy=\"52\" r=\"3.5\" />\n      <path className=\"hb-kh1-ink\" d=\"M53 50.5v11M68 55.5c0 5-4 6.5-11 7.5\" />\n      <path className=\"hb-kh1-dash\" d=\"M84 56H136\" />\n      <circle className=\"hb-kh1-pkt\" cx=\"82\" cy=\"56\" r=\"3\" />\n      <circle className=\"hb-kh1-ping\" cx=\"160\" cy=\"56\" r=\"22\" />\n      <rect className=\"hb-kh1-node-on\" x=\"138\" y=\"34\" width=\"44\" height=\"44\" rx=\"12\" />\n      <path className=\"hb-kh1-ink-on\" d=\"M152 56l5 5 10-11\" />\n    </svg>\n  );\n}\n\nfunction ConfigureArt() {\n  const rows = [\n    { y: 34, a: 0.25, b: 0.78, d: \"0s\" },\n    { y: 56, a: 0.7, b: 0.35, d: \"-0.6s\" },\n    { y: 78, a: 0.45, b: 0.9, d: \"-1.4s\" },\n  ];\n  return (\n    <svg viewBox=\"0 0 220 112\" preserveAspectRatio=\"xMidYMid meet\" aria-hidden=\"true\">\n      {rows.map((r, i) => (\n        <g key={i} style={{ ...v(\"--a\", r.a.toFixed(2)), ...v(\"--b\", r.b.toFixed(2)), ...v(\"--d\", r.d) }}>\n          <rect className=\"hb-kh1-rail\" x=\"54\" y={r.y - 2} width=\"112\" height=\"4\" rx=\"2\" />\n          <rect className=\"hb-kh1-railfill\" x=\"54\" y={r.y - 2} width=\"112\" height=\"4\" rx=\"2\" />\n          <circle className=\"hb-kh1-knob\" cx=\"54\" cy={r.y} r=\"6\" />\n        </g>\n      ))}\n    </svg>\n  );\n}\n\nfunction DeployArt() {\n  return (\n    <svg viewBox=\"0 0 220 112\" preserveAspectRatio=\"xMidYMid meet\" aria-hidden=\"true\">\n      <rect className=\"hb-kh1-win\" x=\"46\" y=\"20\" width=\"128\" height=\"74\" rx=\"10\" />\n      <circle className=\"hb-kh1-skel\" cx=\"58\" cy=\"31\" r=\"2.5\" />\n      <circle className=\"hb-kh1-skel\" cx=\"66\" cy=\"31\" r=\"2.5\" />\n      <circle className=\"hb-kh1-skel\" cx=\"74\" cy=\"31\" r=\"2.5\" />\n      <rect className=\"hb-kh1-skel\" x=\"58\" y=\"46\" width=\"62\" height=\"6\" rx=\"3\" />\n      <rect className=\"hb-kh1-skel\" x=\"58\" y=\"58\" width=\"40\" height=\"6\" rx=\"3\" />\n      <rect className=\"hb-kh1-rail\" x=\"58\" y=\"76\" width=\"104\" height=\"5\" rx=\"2.5\" />\n      <rect className=\"hb-kh1-load\" x=\"58\" y=\"76\" width=\"104\" height=\"5\" rx=\"2.5\" />\n      <g className=\"hb-kh1-check\">\n        <circle cx=\"152\" cy=\"52\" r=\"11\" />\n        <path d=\"M147 52l3.5 3.5 6.5-7\" />\n      </g>\n    </svg>\n  );\n}\n\nfunction MonitorArt() {\n  const bars = Array.from({ length: 8 }, (_, i) => {\n    const a = 0.25 + hash(i) * 0.45;\n    const b = 0.5 + hash(i + 11) * 0.5;\n    return { x: 50 + i * 16, a: a.toFixed(2), b: b.toFixed(2), d: `${(-hash(i + 23) * 1.6).toFixed(2)}s` };\n  });\n  return (\n    <svg viewBox=\"0 0 220 112\" preserveAspectRatio=\"xMidYMid meet\" aria-hidden=\"true\">\n      <line className=\"hb-kh1-axis\" x1=\"44\" y1=\"88\" x2=\"178\" y2=\"88\" />\n      {bars.map((b, i) => (\n        <rect\n          key={i}\n          className={i === 5 ? \"hb-kh1-col hb-kh1-col-dim\" : \"hb-kh1-col\"}\n          x={b.x}\n          y=\"30\"\n          width=\"9\"\n          height=\"56\"\n          rx=\"2.5\"\n          style={{ ...v(\"--a\", b.a), ...v(\"--b\", b.b), ...v(\"--d\", b.d) }}\n        />\n      ))}\n      <circle className=\"hb-kh1-ping\" cx=\"176\" cy=\"24\" r=\"6\" />\n      <circle className=\"hb-kh1-live\" cx=\"176\" cy=\"24\" r=\"3\" />\n    </svg>\n  );\n}\n\nfunction Art({ kind }: { kind: HowStepsLineArt }) {\n  if (kind === \"configure\") return <ConfigureArt />;\n  if (kind === \"deploy\") return <DeployArt />;\n  if (kind === \"monitor\") return <MonitorArt />;\n  return <ConnectArt />;\n}\n\nexport function HowStepsLine({\n  eyebrow = \"How it works\",\n  title = \"From first commit to production in four steps\",\n  subtitle = \"Relay plugs into the tools your team already uses. Most teams ship their first preview before lunch.\",\n  steps = defaultSteps,\n  cta = { label: \"Read the setup guide\", href: \"#\" },\n  note = \"Average setup time: 11 minutes\",\n  accent = \"#8b7bff\",\n  className,\n  style,\n  ...rest\n}: HowStepsLineProps) {\n  const ref = React.useRef<HTMLElement>(null);\n  const [inView, setInView] = React.useState(false);\n\n  React.useEffect(() => {\n    const node = ref.current;\n    if (!node) return;\n    if (typeof IntersectionObserver === \"undefined\") {\n      const t = window.setTimeout(() => setInView(true), 0);\n      return () => window.clearTimeout(t);\n    }\n    const io = new IntersectionObserver(\n      (entries) => {\n        if (entries.some((e) => e.isIntersecting)) {\n          setInView(true);\n          io.disconnect();\n        }\n      },\n      { threshold: 0.2 },\n    );\n    io.observe(node);\n    return () => io.disconnect();\n  }, []);\n\n  return (\n    <section\n      ref={ref}\n      className={[\"hb-kh1\", className].filter(Boolean).join(\" \")}\n      data-in={inView ? \"true\" : \"false\"}\n      style={{ ...v(\"--hb-kh1-accent\", accent), ...style }}\n      {...rest}\n    >\n      <style href=\"hb-how-steps-line\" precedence=\"default\">{css}</style>\n      <div className=\"hb-kh1-bg\" aria-hidden=\"true\" />\n      <div className=\"hb-kh1-grid\" aria-hidden=\"true\" />\n      <div className=\"hb-kh1-in\">\n        <header className=\"hb-kh1-head\">\n          {eyebrow ? <span className=\"hb-kh1-eyebrow\">{eyebrow}</span> : null}\n          <h2 className=\"hb-kh1-title\">{title}</h2>\n          {subtitle ? <p className=\"hb-kh1-sub\">{subtitle}</p> : null}\n        </header>\n        <div className=\"hb-kh1-flow\">\n          <span className=\"hb-kh1-track\" aria-hidden=\"true\">\n            <span className=\"hb-kh1-fill\" />\n          </span>\n          <ol className=\"hb-kh1-steps\">\n          {steps.map((step, i) => (\n            <li key={step.title + i} className=\"hb-kh1-step\" style={v(\"--i\", String(i))}>\n              <span className=\"hb-kh1-badge\" aria-hidden=\"true\">\n                {String(i + 1).padStart(2, \"0\")}\n              </span>\n              <div className=\"hb-kh1-card\">\n                <div className=\"hb-kh1-art\">\n                  <Art kind={step.art ?? arts[i % arts.length]} />\n                </div>\n                <div className=\"hb-kh1-meta\">\n                  <span className=\"hb-kh1-label\">Step {i + 1}</span>\n                  {step.duration ? <span className=\"hb-kh1-chip\">{step.duration}</span> : null}\n                </div>\n                <h3 className=\"hb-kh1-name\">{step.title}</h3>\n                <p className=\"hb-kh1-desc\">{step.description}</p>\n              </div>\n            </li>\n          ))}\n          </ol>\n        </div>\n        {cta || note ? (\n          <div className=\"hb-kh1-foot\">\n            {cta ? (\n              <a className=\"hb-kh1-cta\" href={cta.href}>\n                {cta.label}\n                <svg viewBox=\"0 0 16 16\" aria-hidden=\"true\">\n                  <path d=\"M3 8h10M9 4l4 4-4 4\" />\n                </svg>\n              </a>\n            ) : null}\n            {note ? <span>{note}</span> : null}\n          </div>\n        ) : null}\n      </div>\n    </section>\n  );\n}\n"
    }
  ]
}