{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "split-sign-in-testimonial",
  "title": "Split Sign In with Testimonial",
  "description": "A two-column sign-in page: a form with passkey and single sign-on, domain detection that offers SSO for company emails, show password, keep me signed in and clear errors, next to a testimonial panel that rotates customer quotes with story-style progress bars, pauses on hover, and highlights the matching company in a logo row.",
  "dependencies": [
    "motion",
    "clsx",
    "tailwind-merge"
  ],
  "files": [
    {
      "path": "registry/new-york/split-sign-in-testimonial/split-sign-in-testimonial.tsx",
      "content": "\"use client\";\n\nimport * as React from \"react\";\nimport { AnimatePresence, motion, useReducedMotion } from \"motion/react\";\nimport { clsx, type ClassValue } from \"clsx\";\nimport { twMerge } from \"tailwind-merge\";\n\nfunction cn(...inputs: ClassValue[]) {\n  return twMerge(clsx(inputs));\n}\n\nexport interface Testimonial {\n  quote: string;\n  name: string;\n  role: string;\n  company: string;\n  metric: string;\n  color: string;\n}\n\nexport interface SplitSignInTestimonialProps {\n  testimonials?: Testimonial[];\n  /** Email domains with single sign-on, mapped to the company name shown. */\n  ssoDomains?: Record<string, string>;\n  onSignIn?: (data: { email: string; password: string; remember: boolean }) => Promise<string | void> | string | void;\n  onSso?: (email: string) => void;\n  onPasskey?: () => Promise<boolean> | boolean;\n  interval?: number;\n  theme?: \"dark\" | \"light\";\n  className?: string;\n}\n\nconst PALETTES = {\n  dark: { bg: \"#0A0A0A\", text: \"#F5F4F1\", muted: \"rgba(245,244,241,0.55)\", faint: \"rgba(245,244,241,0.3)\", panel: \"#0A0A0A\", side: \"#111113\", sideLine: \"rgba(255,255,255,0.05)\", border: \"rgba(255,255,255,0.1)\", field: \"rgba(255,255,255,0.03)\", fieldBorder: \"rgba(255,255,255,0.12)\", focus: \"rgba(245,244,241,0.85)\", primary: \"#F5F4F1\", onPrimary: \"#0A0A0A\", social: \"rgba(255,255,255,0.04)\", error: \"#FF7A6B\", ok: \"#3FBF7F\", ring: \"rgba(245,244,241,0.6)\", track: \"rgba(255,255,255,0.12)\" },\n  light: { bg: \"#FFFFFF\", text: \"#0A0A0A\", muted: \"rgba(10,10,10,0.55)\", faint: \"rgba(10,10,10,0.3)\", panel: \"#FFFFFF\", side: \"#F4F4F1\", sideLine: \"rgba(10,10,10,0.05)\", border: \"rgba(10,10,10,0.1)\", field: \"#FFFFFF\", fieldBorder: \"rgba(10,10,10,0.16)\", focus: \"rgba(10,10,10,0.85)\", primary: \"#0A0A0A\", onPrimary: \"#FFFFFF\", social: \"#FFFFFF\", error: \"#E5484D\", ok: \"#1F9D5C\", ring: \"rgba(10,10,10,0.5)\", track: \"rgba(10,10,10,0.12)\" },\n};\n\nconst TESTIMONIALS: Testimonial[] = [\n  { quote: \"We replaced three dashboards and a spreadsheet with Nexora. Our Monday revenue review went from an hour of exporting to ten minutes of actual decisions.\", name: \"Amara Osei\", role: \"VP Finance\", company: \"Kestrel Labs\", metric: \"6× faster reporting\", color: \"#60A5FA\" },\n  { quote: \"The first tool our sales and product teams agree on. Everyone looks at the same numbers, so the arguments are about what to do, not whose chart is right.\", name: \"Jonas Weber\", role: \"Head of Revenue Ops\", company: \"Ferro & Co\", metric: \"31% more pipeline reviewed\", color: \"#F472B6\" },\n  { quote: \"Setup took an afternoon. Two weeks later our support leads were spotting churn risks before the accounts even knew they were unhappy.\", name: \"Priya Raman\", role: \"Director of Customer Success\", company: \"Atlas Freight\", metric: \"18% lower churn\", color: \"#34D399\" },\n];\nconst SSO: Record<string, string> = { \"kestrel.io\": \"Kestrel Labs\", \"ferro.co\": \"Ferro & Co\" };\nconst EMAIL = /^[^\\s@]+@[^\\s@]+\\.[^\\s@]{2,}$/;\nconst initials = (n: string) =>\n  n\n    .split(\" \")\n    .map((w) => w[0])\n    .join(\"\");\n\nexport function SplitSignInTestimonial({ testimonials = TESTIMONIALS, ssoDomains = SSO, onSignIn, onSso, onPasskey, interval = 6, theme = \"dark\", className }: SplitSignInTestimonialProps) {\n  const p = PALETTES[theme];\n  const reduce = !!useReducedMotion();\n  const uid = React.useId();\n  const [mode, setMode] = React.useState<\"password\" | \"sso\" | \"passkey\">(\"password\");\n  const [email, setEmail] = React.useState(\"\");\n  const [password, setPassword] = React.useState(\"\");\n  const [remember, setRemember] = React.useState(true);\n  const [show, setShow] = React.useState(false);\n  const [touched, setTouched] = React.useState(false);\n  const [status, setStatus] = React.useState<\"idle\" | \"busy\" | \"done\">(\"idle\");\n  const [error, setError] = React.useState<string | null>(null);\n  const [active, setActive] = React.useState(0);\n  const [elapsed, setElapsed] = React.useState(0);\n  const [paused, setPaused] = React.useState(false);\n  const timer = React.useRef<ReturnType<typeof setTimeout> | null>(null);\n\n  // Story-style rotation: elapsed fills the current bar, then moves on.\n  React.useEffect(() => {\n    if (paused || reduce) return;\n    const id = setInterval(() => setElapsed((e) => e + 0.1), 100);\n    return () => clearInterval(id);\n  }, [paused, reduce]);\n  React.useEffect(() => {\n    if (elapsed < interval) return;\n    const t = setTimeout(() => {\n      setActive((a) => (a + 1) % testimonials.length);\n      setElapsed(0);\n    }, 0);\n    return () => clearTimeout(t);\n  }, [elapsed, interval, testimonials.length]);\n  React.useEffect(\n    () => () => {\n      if (timer.current) clearTimeout(timer.current);\n    },\n    [],\n  );\n\n  const go = (i: number) => {\n    setActive((i + testimonials.length) % testimonials.length);\n    setElapsed(0);\n  };\n  const domain = email.split(\"@\")[1]?.toLowerCase() ?? \"\";\n  const ssoCompany = ssoDomains[domain];\n  const emailBad = touched && !EMAIL.test(email);\n  const pwBad = touched && mode === \"password\" && password.length < 1;\n\n  const wait = (ms: number) =>\n    new Promise<void>((resolve) => {\n      timer.current = setTimeout(resolve, reduce ? 0 : ms);\n    });\n  const demoSignIn = async () => {\n    await wait(900);\n    return password.toLowerCase() === \"wrong\" ? \"That email and password don't match. Try again or reset your password.\" : undefined;\n  };\n  const submit = async () => {\n    setTouched(true);\n    setError(null);\n    if (!EMAIL.test(email)) return;\n    if (mode === \"sso\") {\n      if (!ssoCompany) return;\n      setStatus(\"busy\");\n      onSso?.(email);\n      await wait(900);\n      setStatus(\"done\");\n      return;\n    }\n    if (!password) return;\n    setStatus(\"busy\");\n    const result = onSignIn ? await onSignIn({ email, password, remember }) : await demoSignIn();\n    if (typeof result === \"string\") {\n      setError(result);\n      setStatus(\"idle\");\n      setPassword(\"\");\n    } else setStatus(\"done\");\n  };\n  const passkey = async () => {\n    setMode(\"passkey\");\n    setError(null);\n    setStatus(\"busy\");\n    let ok = true;\n    if (onPasskey) ok = await onPasskey();\n    else await wait(1600);\n    setStatus(ok ? \"done\" : \"idle\");\n    if (!ok) {\n      setMode(\"password\");\n      setError(\"Passkey sign-in was cancelled.\");\n    }\n  };\n\n  const ring = { [\"--tw-ring-color\" as string]: p.ring, [\"--tw-ring-offset-color\" as string]: p.panel } as React.CSSProperties;\n  const focus = \"outline-none focus-visible:ring-2 focus-visible:ring-offset-2\";\n  const fieldWrap = \"flex h-11 items-center rounded-xl border px-3.5 focus-within:border-[var(--f)]\";\n  const t = testimonials[active];\n  const cur = active;\n\n  const quoteCard = (compact: boolean) => (\n    <div onMouseEnter={() => setPaused(true)} onMouseLeave={() => setPaused(false)} onFocus={() => setPaused(true)} onBlur={() => setPaused(false)} className=\"relative\" aria-roledescription=\"carousel\" aria-label=\"What customers say\">\n      <div className=\"flex gap-1.5\" aria-hidden=\"true\">\n        {testimonials.map((_, i) => (\n          <span key={i} className=\"h-[3px] flex-1 overflow-hidden rounded-full\" style={{ background: p.track }}>\n            <span className=\"block h-full rounded-full\" style={{ background: p.text, width: i < cur ? \"100%\" : i === cur ? `${Math.min(100, (elapsed / interval) * 100)}%` : \"0%\", transition: \"width 100ms linear\" }} />\n          </span>\n        ))}\n      </div>\n      <AnimatePresence mode=\"wait\" initial={false}>\n        <motion.figure key={cur} initial={reduce ? false : { opacity: 0, y: 10 }} animate={{ opacity: 1, y: 0 }} transition={{ duration: 0.35 }} className=\"m-0\" aria-live={paused ? \"polite\" : \"off\"}>\n          <span className=\"mt-6 inline-flex items-center gap-1.5 rounded-full px-2.5 py-1 text-[12px] font-medium\" style={{ background: `${t.color}22`, color: t.color }}>\n            <svg width=\"12\" height=\"12\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" strokeWidth=\"2.4\" strokeLinecap=\"round\" strokeLinejoin=\"round\" aria-hidden=\"true\">\n              <path d=\"M4 17l6-6 4 4 6-8\" />\n            </svg>\n            {t.metric}\n          </span>\n          <blockquote className={cn(\"m-0 mt-4 font-medium tracking-[-0.01em]\", compact ? \"text-[15px] leading-[1.5]\" : \"text-[22px] leading-[1.4] @[1100px]:text-[24px]\")}>&ldquo;{t.quote}&rdquo;</blockquote>\n          <figcaption className=\"mt-5 flex items-center gap-3\">\n            <span className=\"grid h-10 w-10 place-items-center rounded-full text-[13px] font-semibold\" style={{ background: `${t.color}2e`, color: t.color }}>\n              {initials(t.name)}\n            </span>\n            <span>\n              <span className=\"block text-[14px] font-semibold\">{t.name}</span>\n              <span className=\"block text-[13px]\" style={{ color: p.muted }}>\n                {t.role}, {t.company}\n              </span>\n            </span>\n          </figcaption>\n        </motion.figure>\n      </AnimatePresence>\n      <div className=\"mt-6 flex items-center gap-2\">\n        {[-1, 1].map((d) => (\n          <button key={d} type=\"button\" onClick={() => go(cur + d)} aria-label={d < 0 ? \"Previous testimonial\" : \"Next testimonial\"} className={cn(\"grid h-8 w-8 cursor-pointer place-items-center rounded-full border bg-transparent\", focus)} style={{ borderColor: p.border, color: p.text, ...ring }}>\n            <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\" aria-hidden=\"true\">\n              <path d={d < 0 ? \"m15 6-6 6 6 6\" : \"m9 6 6 6-6 6\"} />\n            </svg>\n          </button>\n        ))}\n        <span className=\"ml-1 text-[12px] tabular-nums\" style={{ color: p.faint }}>\n          {cur + 1} / {testimonials.length}\n          {paused && \" · paused\"}\n        </span>\n      </div>\n    </div>\n  );\n\n  return (\n    <section className={cn(\"@container w-full\", className)} style={{ background: p.bg, color: p.text }}>\n      <div className=\"grid min-h-[720px] grid-cols-[minmax(0,1fr)] @[900px]:grid-cols-[minmax(0,1fr)_minmax(0,1.1fr)]\">\n        {/* Form */}\n        <div className=\"flex flex-col px-6 py-8 @[640px]:px-12\">\n          <div className=\"flex items-center gap-2\">\n            <span className=\"grid h-8 w-8 place-items-center rounded-lg text-[13px] font-bold text-white\" style={{ background: \"#6366F1\" }}>\n              N\n            </span>\n            <span className=\"text-[15px] font-semibold\">Nexora</span>\n          </div>\n          <div className=\"mx-auto flex w-full max-w-[380px] flex-1 flex-col justify-center py-10\">\n            <AnimatePresence mode=\"wait\" initial={false}>\n              {status === \"done\" ? (\n                <motion.div key=\"done\" initial={reduce ? false : { opacity: 0, scale: 0.97 }} animate={{ opacity: 1, scale: 1 }} className=\"text-center\" role=\"status\">\n                  <span className=\"mx-auto grid h-14 w-14 place-items-center rounded-full\" style={{ background: `${p.ok}22`, color: p.ok }}>\n                    <svg width=\"26\" height=\"26\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" strokeWidth=\"2.4\" strokeLinecap=\"round\" strokeLinejoin=\"round\" aria-hidden=\"true\">\n                      <motion.path d=\"m5 12.5 4.5 4.5L19 7.5\" initial={reduce ? false : { pathLength: 0 }} animate={{ pathLength: 1 }} transition={{ duration: 0.35 }} />\n                    </svg>\n                  </span>\n                  <h2 className=\"m-0 mt-5 text-[22px] font-semibold tracking-[-0.02em]\">{mode === \"sso\" ? `Redirecting to ${ssoCompany}` : \"You're signed in\"}</h2>\n                  <p className=\"m-0 mt-2 text-[14px]\" style={{ color: p.muted }}>\n                    {mode === \"sso\" ? \"Finish signing in with your company account.\" : mode === \"passkey\" ? \"Signed in with your passkey.\" : remember ? \"We'll keep you signed in on this device.\" : \"You'll be signed out when you close the browser.\"}\n                  </p>\n                  <button\n                    type=\"button\"\n                    onClick={() => {\n                      setStatus(\"idle\");\n                      setMode(\"password\");\n                      setPassword(\"\");\n                      setTouched(false);\n                    }}\n                    className={cn(\"mt-6 h-11 w-full cursor-pointer rounded-xl border bg-transparent text-[14px] font-medium\", focus)}\n                    style={{ borderColor: p.border, color: p.text, ...ring }}\n                  >\n                    Sign out\n                  </button>\n                </motion.div>\n              ) : (\n                <motion.form\n                  key=\"form\"\n                  noValidate\n                  initial={reduce ? false : { opacity: 0 }}\n                  animate={{ opacity: 1 }}\n                  onSubmit={(e) => {\n                    e.preventDefault();\n                    void submit();\n                  }}\n                >\n                  <h2 className=\"m-0 text-[26px] font-semibold tracking-[-0.02em]\">Welcome back</h2>\n                  <p className=\"m-0 mt-1.5 text-[14px]\" style={{ color: p.muted }}>\n                    Sign in to your workspace.\n                  </p>\n\n                  <div className=\"mt-7 grid grid-cols-2 gap-2\">\n                    <button type=\"button\" onClick={() => void passkey()} disabled={status === \"busy\"} className={cn(\"flex h-11 cursor-pointer items-center justify-center gap-2 rounded-xl border text-[13.5px] font-medium disabled:cursor-wait\", focus)} style={{ borderColor: mode === \"passkey\" ? p.focus : p.border, background: p.social, color: p.text, ...ring }}>\n                      <svg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" strokeWidth=\"1.8\" strokeLinecap=\"round\" strokeLinejoin=\"round\" aria-hidden=\"true\">\n                        <path d=\"M12 11v3M8.5 8.6A5 5 0 0 1 17 12v2a10 10 0 0 1-1 4.4M7 12a5 5 0 0 1 .4-2M7 14.5a10 10 0 0 0 1.4 4.5M12 17v2.5M4 9.5A9 9 0 0 1 20.5 9M3.5 13a9 9 0 0 0 .7 3\" />\n                      </svg>\n                      Passkey\n                    </button>\n                    <button\n                      type=\"button\"\n                      onClick={() => {\n                        setMode(mode === \"sso\" ? \"password\" : \"sso\");\n                        setError(null);\n                        setTouched(false);\n                      }}\n                      disabled={status === \"busy\"}\n                      aria-pressed={mode === \"sso\"}\n                      className={cn(\"flex h-11 cursor-pointer items-center justify-center gap-2 rounded-xl border text-[13.5px] font-medium disabled:cursor-wait\", focus)}\n                      style={{ borderColor: mode === \"sso\" ? p.focus : p.border, background: p.social, color: p.text, ...ring }}\n                    >\n                      <svg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" strokeWidth=\"1.8\" strokeLinecap=\"round\" strokeLinejoin=\"round\" aria-hidden=\"true\">\n                        <path d=\"M4 21V5l8-2v18M12 7h8v14M8 8h.01M8 12h.01M8 16h.01M16 11h.01M16 15h.01M2 21h20\" />\n                      </svg>\n                      {mode === \"sso\" ? \"Use password\" : \"Single sign-on\"}\n                    </button>\n                  </div>\n                  <div className=\"my-6 flex items-center gap-3 text-[12px]\" style={{ color: p.faint }} aria-hidden=\"true\">\n                    <span className=\"h-px flex-1\" style={{ background: p.border }} />\n                    or\n                    <span className=\"h-px flex-1\" style={{ background: p.border }} />\n                  </div>\n\n                  {mode === \"passkey\" && status === \"busy\" ? (\n                    <div className=\"flex flex-col items-center gap-3 py-6\" role=\"status\">\n                      <span className=\"relative grid h-16 w-16 place-items-center rounded-2xl border\" style={{ borderColor: p.border }}>\n                        <svg width=\"30\" height=\"30\" viewBox=\"0 0 24 24\" fill=\"none\" stroke={p.text} strokeWidth=\"1.6\" strokeLinecap=\"round\" strokeLinejoin=\"round\" aria-hidden=\"true\">\n                          <path d=\"M12 11v3M8.5 8.6A5 5 0 0 1 17 12v2a10 10 0 0 1-1 4.4M7 12a5 5 0 0 1 .4-2M7 14.5a10 10 0 0 0 1.4 4.5M12 17v2.5M4 9.5A9 9 0 0 1 20.5 9M3.5 13a9 9 0 0 0 .7 3\" />\n                        </svg>\n                        {!reduce && <motion.span className=\"absolute inset-x-2 h-[2px] rounded-full\" style={{ background: p.ok, boxShadow: `0 0 12px ${p.ok}` }} animate={{ top: [\"18%\", \"82%\", \"18%\"] }} transition={{ duration: 1.4, repeat: Infinity, ease: \"easeInOut\" }} />}\n                      </span>\n                      <p className=\"m-0 text-[13px]\" style={{ color: p.muted }}>\n                        Confirm with your fingerprint, face or device PIN…\n                      </p>\n                    </div>\n                  ) : (\n                    <>\n                      <label htmlFor={`${uid}-em`} className=\"text-[13px] font-medium\">\n                        {mode === \"sso\" ? \"Work email\" : \"Email\"}\n                      </label>\n                      <div className={cn(fieldWrap, \"mt-1.5\")} style={{ borderColor: emailBad ? p.error : p.fieldBorder, background: p.field, [\"--f\" as string]: p.focus }}>\n                        <input id={`${uid}-em`} type=\"email\" value={email} onChange={(e) => setEmail(e.target.value)} autoComplete=\"username\" placeholder={mode === \"sso\" ? \"you@company.com\" : \"you@example.com\"} aria-invalid={emailBad} aria-describedby={`${uid}-emh`} className=\"h-full min-w-0 flex-1 border-0 bg-transparent text-[14px] outline-none\" style={{ color: p.text }} />\n                      </div>\n                      <p id={`${uid}-emh`} className=\"m-0 mt-1.5 min-h-[18px] text-[12.5px]\" style={{ color: emailBad ? p.error : ssoCompany ? p.ok : p.faint }} aria-live=\"polite\">\n                        {emailBad ? \"Enter a valid email address.\" : mode === \"sso\" ? (ssoCompany ? `✓ ${ssoCompany} uses single sign-on. You'll continue on their sign-in page.` : domain.includes(\".\") ? \"No single sign-on set up for this domain. Use your password instead.\" : \"Try lena@kestrel.io\") : ssoCompany ? `${ssoCompany} uses single sign-on. ` : \"\"}\n                        {mode === \"password\" && ssoCompany && !emailBad && (\n                          <button type=\"button\" onClick={() => setMode(\"sso\")} className={cn(\"cursor-pointer rounded border-0 bg-transparent p-0 text-[12.5px] underline underline-offset-2\", focus)} style={{ color: p.text, ...ring }}>\n                            Use SSO\n                          </button>\n                        )}\n                      </p>\n\n                      <AnimatePresence initial={false}>\n                        {mode === \"password\" && (\n                          <motion.div key=\"pw\" initial={reduce ? false : { opacity: 0, height: 0 }} animate={{ opacity: 1, height: \"auto\" }} exit={reduce ? undefined : { opacity: 0, height: 0 }} className=\"overflow-hidden\">\n                            <div className=\"mt-3 flex items-baseline justify-between\">\n                              <label htmlFor={`${uid}-pw`} className=\"text-[13px] font-medium\">\n                                Password\n                              </label>\n                              <a href=\"#\" className={cn(\"rounded text-[12.5px] no-underline\", focus)} style={{ color: p.muted, ...ring }}>\n                                Forgot password?\n                              </a>\n                            </div>\n                            <div className={cn(fieldWrap, \"mt-1.5 pr-1\")} style={{ borderColor: pwBad || error ? p.error : p.fieldBorder, background: p.field, [\"--f\" as string]: p.focus }}>\n                              <input id={`${uid}-pw`} type={show ? \"text\" : \"password\"} value={password} onChange={(e) => setPassword(e.target.value)} autoComplete=\"current-password\" aria-invalid={pwBad || !!error} aria-describedby={`${uid}-err`} className=\"h-full min-w-0 flex-1 border-0 bg-transparent text-[14px] outline-none\" style={{ color: p.text }} />\n                              <button type=\"button\" onClick={() => setShow((s) => !s)} aria-label={show ? \"Hide password\" : \"Show password\"} aria-pressed={show} className={cn(\"grid h-8 w-8 shrink-0 cursor-pointer place-items-center rounded-lg border-0 bg-transparent\", focus)} style={{ color: p.muted, ...ring }}>\n                                <svg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" strokeWidth=\"1.8\" strokeLinecap=\"round\" strokeLinejoin=\"round\" aria-hidden=\"true\">\n                                  {show ? <path d=\"M3 3l18 18M10.6 6.1A9.6 9.6 0 0 1 12 6c5 0 8.5 4.5 9.5 6a17 17 0 0 1-2.6 3.2M6.6 6.6C4.3 8 2.9 10.2 2.5 12c1 1.5 4.5 6 9.5 6 1.6 0 3-.4 4.3-1.1M9.9 9.9a3 3 0 0 0 4.2 4.2\" /> : <path d=\"M2.5 12C3.5 10.5 7 6 12 6s8.5 4.5 9.5 6c-1 1.5-4.5 6-9.5 6s-8.5-4.5-9.5-6ZM12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z\" />}\n                                </svg>\n                              </button>\n                            </div>\n                            <label className=\"mt-4 flex cursor-pointer items-center gap-2.5 text-[13px] has-[:focus-visible]:underline\" style={{ color: p.muted }}>\n                              <input type=\"checkbox\" checked={remember} onChange={(e) => setRemember(e.target.checked)} className=\"h-4 w-4 cursor-pointer\" style={{ accentColor: p.primary }} />\n                              Keep me signed in\n                            </label>\n                          </motion.div>\n                        )}\n                      </AnimatePresence>\n\n                      <AnimatePresence initial={false}>\n                        {error && (\n                          <motion.p key=\"err\" id={`${uid}-err`} role=\"alert\" initial={reduce ? false : { opacity: 0, height: 0 }} animate={{ opacity: 1, height: \"auto\" }} exit={reduce ? undefined : { opacity: 0, height: 0 }} className=\"m-0 overflow-hidden text-[13px]\" style={{ color: p.error }}>\n                            <span className=\"mt-3 block\">{error}</span>\n                          </motion.p>\n                        )}\n                      </AnimatePresence>\n\n                      <button type=\"submit\" disabled={status === \"busy\" || (mode === \"sso\" && !ssoCompany && touched)} className={cn(\"mt-5 flex h-11 w-full cursor-pointer items-center justify-center gap-2 rounded-xl border-0 text-[14px] font-semibold disabled:cursor-not-allowed disabled:opacity-50\", focus)} style={{ background: p.primary, color: p.onPrimary, ...ring }}>\n                        {status === \"busy\" && <motion.span className=\"h-3.5 w-3.5 rounded-full border-2 border-current border-t-transparent\" animate={reduce ? undefined : { rotate: 360 }} transition={{ repeat: Infinity, duration: 0.7, ease: \"linear\" }} aria-hidden=\"true\" />}\n                        {status === \"busy\" ? \"Signing in…\" : mode === \"sso\" ? \"Continue with SSO\" : \"Sign in\"}\n                      </button>\n                    </>\n                  )}\n                  <p className=\"m-0 mt-6 text-center text-[13px]\" style={{ color: p.muted }}>\n                    New to Nexora?{\" \"}\n                    <a href=\"#\" className={cn(\"rounded font-medium underline underline-offset-2\", focus)} style={{ color: p.text, ...ring }}>\n                      Create an account\n                    </a>\n                  </p>\n                </motion.form>\n              )}\n            </AnimatePresence>\n          </div>\n          <p className=\"m-0 text-[12px]\" style={{ color: p.faint }}>\n            © 2026 Nexora · <a href=\"#\" className=\"no-underline\" style={{ color: p.faint }}>Privacy</a> · <a href=\"#\" className=\"no-underline\" style={{ color: p.faint }}>Terms</a>\n          </p>\n        </div>\n\n        {/* Testimonials (wide) */}\n        <aside className=\"relative hidden overflow-hidden border-l @[900px]:flex @[900px]:flex-col @[900px]:justify-between\" style={{ background: p.side, borderColor: p.border }}>\n          <div className=\"pointer-events-none absolute inset-0\" style={{ backgroundImage: `linear-gradient(${p.sideLine} 1px, transparent 1px), linear-gradient(90deg, ${p.sideLine} 1px, transparent 1px)`, backgroundSize: \"48px 48px\", maskImage: \"radial-gradient(ellipse at 70% 30%, black, transparent 75%)\" }} aria-hidden=\"true\" />\n          <div className=\"pointer-events-none absolute -top-40 -right-40 h-[28rem] w-[28rem] rounded-full transition-[background] duration-700\" style={{ background: `radial-gradient(closest-side, ${t.color}2e, transparent)` }} aria-hidden=\"true\" />\n          <div className=\"relative flex flex-1 flex-col justify-center px-12 py-14\">{quoteCard(false)}</div>\n          <div className=\"relative border-t px-12 py-6\" style={{ borderColor: p.border }}>\n            <p className=\"m-0 text-[12px]\" style={{ color: p.faint }}>\n              Trusted by 4,000+ teams\n            </p>\n            <div className=\"mt-3 flex flex-wrap gap-x-7 gap-y-2 text-[14px] font-semibold tracking-[-0.01em]\" style={{ color: p.muted }}>\n              {[\"Kestrel Labs\", \"Ferro & Co\", \"Atlas Freight\", \"Halden Studio\"].map((c, i) => (\n                <span key={c} style={{ opacity: testimonials[cur]?.company === c ? 1 : 0.55, transition: \"opacity 300ms\" }} className={i === 3 ? \"hidden @[1100px]:inline\" : undefined}>\n                  {c}\n                </span>\n              ))}\n            </div>\n          </div>\n        </aside>\n\n        {/* Testimonials (narrow) */}\n        <div className=\"border-t px-6 py-8 @[640px]:px-12 @[900px]:hidden\" style={{ background: p.side, borderColor: p.border }}>\n          {quoteCard(true)}\n        </div>\n      </div>\n    </section>\n  );\n}\n\nexport default SplitSignInTestimonial;\n",
      "type": "registry:component"
    }
  ],
  "type": "registry:component"
}