Back to buttons
"use client"

import { ArrowRight } from "lucide-react"

import { OrganicButton } from "@/registry/default/ui/organic-button"

export default function OrganicButtonDemo() {
  return (
    <div
      className="mx-auto max-w-3xl space-y-8 px-4 py-2"
      id="shape-button-section"
    >
      <p className="text-pretty text-muted-foreground text-sm leading-relaxed">
        Anchor-based control with fixed SVG end caps and shared surface colors
        via CSS variables on{" "}
        <code className="rounded bg-muted px-1 py-0.5 font-mono text-foreground text-xs">
          variantColor
        </code>
        .
      </p>

      <div className="space-y-3 rounded-xl border bg-muted/30 p-6">
        <p className="font-medium text-muted-foreground text-sm">Default</p>
        <div className="flex flex-wrap items-center gap-4">
          <OrganicButton href="#shape-button-section" label="Get started" />
        </div>
      </div>

      <div className="space-y-3 rounded-xl border bg-muted/30 p-6">
        <div>
          <p className="font-medium text-muted-foreground text-sm">Sizes</p>
          <p className="mt-1 text-muted-foreground text-xs">
            Row height and label type scale together: 36px / 44px / 56px (sm /
            md / lg).
          </p>
        </div>
        <div className="flex flex-wrap items-end gap-6">
          <OrganicButton href="#shape-button-section" label="Small" size="sm" />
          <OrganicButton
            href="#shape-button-section"
            label="Medium"
            size="md"
          />
          <OrganicButton href="#shape-button-section" label="Large" size="lg" />
        </div>
      </div>

      <div className="space-y-3 rounded-xl border bg-muted/30 p-6">
        <p className="font-medium text-muted-foreground text-sm">Colors</p>
        <div className="flex flex-wrap items-center gap-4">
          <OrganicButton
            href="#shape-button-section"
            label="Primary"
            variantColor="primary"
          />
          <OrganicButton
            href="#shape-button-section"
            label="Secondary"
            variantColor="secondary"
          />
        </div>
      </div>
    </div>
  )
}

Organic Button

By cult/ui

Try the interaction, copy the React source files, or download the complete example.

About Organic Button

Organic Button is an animated React and Tailwind CSS button by cult/ui. Try the interaction, copy the React source, or download the example with creator credit.

Effects and categories
Hover effects, Animated
Using this example
Copy a TSX file or download the original source and standalone demo. Test keyboard focus, motion and contrast in your own project.

Usage, Tailwind and licensing questions

Read the source files

registry/default/example/organic-button-demo.tsx

"use client"

import { ArrowRight } from "lucide-react"

import { OrganicButton } from "@/registry/default/ui/organic-button"

export default function OrganicButtonDemo() {
  return (
    <div
      className="mx-auto max-w-3xl space-y-8 px-4 py-2"
      id="shape-button-section"
    >
      <p className="text-pretty text-muted-foreground text-sm leading-relaxed">
        Anchor-based control with fixed SVG end caps and shared surface colors
        via CSS variables on{" "}
        <code className="rounded bg-muted px-1 py-0.5 font-mono text-foreground text-xs">
          variantColor
        </code>
        .
      </p>

      <div className="space-y-3 rounded-xl border bg-muted/30 p-6">
        <p className="font-medium text-muted-foreground text-sm">Default</p>
        <div className="flex flex-wrap items-center gap-4">
          <OrganicButton href="#shape-button-section" label="Get started" />
        </div>
      </div>

      <div className="space-y-3 rounded-xl border bg-muted/30 p-6">
        <div>
          <p className="font-medium text-muted-foreground text-sm">Sizes</p>
          <p className="mt-1 text-muted-foreground text-xs">
            Row height and label type scale together: 36px / 44px / 56px (sm /
            md / lg).
          </p>
        </div>
        <div className="flex flex-wrap items-end gap-6">
          <OrganicButton href="#shape-button-section" label="Small" size="sm" />
          <OrganicButton
            href="#shape-button-section"
            label="Medium"
            size="md"
          />
          <OrganicButton href="#shape-button-section" label="Large" size="lg" />
        </div>
      </div>

      <div className="space-y-3 rounded-xl border bg-muted/30 p-6">
        <p className="font-medium text-muted-foreground text-sm">Colors</p>
        <div className="flex flex-wrap items-center gap-4">
          <OrganicButton
            href="#shape-button-section"
            label="Primary"
            variantColor="primary"
          />
          <OrganicButton
            href="#shape-button-section"
            label="Secondary"
            variantColor="secondary"
          />
        </div>
      </div>
    </div>
  )
}

registry/default/ui/organic-button.tsx

import { forwardRef, type AnchorHTMLAttributes, type ReactNode } from "react"
import { Slot } from "@radix-ui/react-slot"
import { cva, type VariantProps } from "class-variance-authority"
import { ArrowUpRight } from "lucide-react"

import { cn } from "@/lib/utils"

/** Shared fill for all organic SVG paths — driven by `--organic-surface` on the button root. */
const fillOrganic = "fill-[var(--organic-surface)]"

const organicButtonVariants = cva("flex w-fit flex-col", {
  variants: {
    variantColor: {
      primary:
        "text-[var(--organic-fg)] [--organic-fg:theme(colors.white)] [--organic-surface:theme(colors.neutral.950)]",
      secondary:
        "text-[var(--organic-fg)] [--organic-fg:var(--secondary-foreground)] [--organic-surface:var(--secondary)]",
      /** Plum surface + cream label — matches dither hero (colors only; same motion as primary) */
      dither:
        "text-[var(--organic-fg)] [--organic-fg:#f4f8e8] [--organic-surface:#301c2a]",
      /** Light surface for inactive toggle chips (quick toggles, etc.) */
      toggleOff:
        "text-[var(--organic-fg)] [--organic-fg:#404040] [--organic-surface:#ffffff] dark:[--organic-fg:#a3a3a3] dark:[--organic-surface:#262626]",
    },
    size: {
      sm: "h-9 min-h-9 [&_.organic-icon]:size-3.5 [&_.organic-label]:text-sm",
      md: "h-11 min-h-11 [&_.organic-icon]:size-4 [&_.organic-label]:text-base",
      lg: "h-14 min-h-14 [&_.organic-icon]:size-5 [&_.organic-label]:text-lg",
    },
    animationSpeed: {
      slow: "[--organic-duration:500ms]",
      normal: "[--organic-duration:400ms]",
      fast: "[--organic-duration:300ms]",
    },
  },
  defaultVariants: {
    size: "md",
    variantColor: "primary",
    animationSpeed: "normal",
  },
})

interface OrganicShapeButtonProps
  extends AnchorHTMLAttributes<HTMLAnchorElement>,
    VariantProps<typeof organicButtonVariants> {
  asChild?: boolean
  label: string
  icon?: ReactNode
  animationSpeed?: "slow" | "normal" | "fast"
}

const svgShapeAttrs = {
  preserveAspectRatio: "xMidYMid meet" as const,
}

function isExternalHref(href: string | undefined): boolean {
  if (!href) {
    return false
  }
  return (
    href.startsWith("http://") ||
    href.startsWith("https://") ||
    href.startsWith("//")
  )
}

export const OrganicButton = forwardRef<
  HTMLAnchorElement,
  OrganicShapeButtonProps
>(
  (
    {
      asChild,
      label,
      className,
      icon = (
        <ArrowUpRight className="organic-icon stroke-current transition-transform duration-100 group-hover/organic:rotate-45 group-hover/organic:scale-110" />
      ),
      size = "md",
      variantColor = "primary",
      animationSpeed = "normal",
      href,
      target,
      rel,
      ...props
    },
    ref
  ) => {
    const Comp = asChild ? Slot : "a"

    const minWBySize = {
      sm: "min-w-[9rem]",
      md: "min-w-[10.5rem]",
      lg: "min-w-[12rem]",
    } as const
    const minW = minWBySize[size ?? "md"]

    const resolvedTarget = target ?? (isExternalHref(href) ? "_blank" : "_self")
    const resolvedRel =
      rel ?? (isExternalHref(href) ? "noopener noreferrer" : undefined)

    return (
      <div
        className={cn(
          organicButtonVariants({
            variantColor,
            size,
            animationSpeed,
          })
        )}
      >
        <Comp
          className={cn(
            "group/organic inline-flex h-full min-h-0 w-full min-w-0 max-w-full focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background active:scale-[0.96] active:transition-transform disabled:cursor-not-allowed",
            minW,
            className
          )}
          href={href}
          ref={ref}
          rel={resolvedRel}
          target={resolvedTarget}
          {...props}
        >
          <div className="flex h-full min-h-0 min-w-0 flex-1 flex-row items-stretch">
            <div className="flex h-full min-h-0 min-w-0 flex-1 items-stretch">
              <RoundedFlatRight />

              <div
                className={cn(
                  "flex h-full min-h-0 min-w-0 flex-1 items-center justify-start overflow-visible whitespace-nowrap bg-[var(--organic-surface)] pr-2 text-[var(--organic-fg)]"
                )}
              >
                <span className="flex items-center justify-start pl-2 transition-[padding] duration-[var(--organic-duration,400ms)] ease-in-out">
                  <span className="organic-label shrink-0 font-brand font-semibold leading-none">
                    {label}
                  </span>
                </span>
              </div>

              <DescendingWall />
            </div>

            <div className="-ml-px flex h-full min-h-0 w-max shrink-0 items-stretch">
              <AscendingWall />
              <div
                className={cn(
                  "flex h-full shrink-0 items-center justify-center overflow-visible whitespace-nowrap bg-[var(--organic-surface)] text-[var(--organic-fg)]"
                )}
              >
                <span className="flex items-center px-0 transition-[padding] duration-[var(--organic-duration,400ms)] ease-in-out group-hover/organic:px-2">
                  {icon}
                </span>
              </div>

              <FlatRoundedRight />
            </div>
          </div>
        </Comp>
      </div>
    )
  }
)

OrganicButton.displayName = "OrganicButton"

function AscendingWall() {
  return (
    <svg
      aria-hidden="true"
      className="-mr-px h-full w-auto shrink-0"
      fill="none"
      viewBox="0 0 18 40"
      xmlns="http://www.w3.org/2000/svg"
      {...svgShapeAttrs}
    >
      <path
        className={fillOrganic}
        d="M7.101 40H18V0H16C13.594 0 11.4403 1.49249 10.5955 3.74532L0.546698 30.5421C-1.1694 35.1184 2.21356 40 7.101 40Z"
      />
    </svg>
  )
}

function FlatRoundedRight() {
  return (
    <svg
      aria-hidden="true"
      className="-ml-px h-full w-auto shrink-0"
      fill="none"
      viewBox="0 0 10 40"
      xmlns="http://www.w3.org/2000/svg"
      {...svgShapeAttrs}
    >
      <path
        className={fillOrganic}
        d="M0 40V0H4C7.31371 0 10 2.68629 10 6V34C10 37.3137 7.31371 40 4 40H0Z"
      />
    </svg>
  )
}

function DescendingWall() {
  return (
    <svg
      aria-hidden="true"
      className="-ml-px h-full w-auto shrink-0"
      fill="none"
      viewBox="0 0 18 40"
      xmlns="http://www.w3.org/2000/svg"
      {...svgShapeAttrs}
    >
      <path
        className={fillOrganic}
        d="M10.899 0H0V40H2C4.40603 40 6.55968 38.5075 7.4045 36.2547L17.4533 9.45786C19.1694 4.88161 15.7864 0 10.899 0Z"
      />
    </svg>
  )
}

function RoundedFlatRight() {
  return (
    <svg
      aria-hidden="true"
      className="-mr-px h-full w-auto shrink-0"
      fill="none"
      viewBox="0 0 10 40"
      xmlns="http://www.w3.org/2000/svg"
      {...svgShapeAttrs}
    >
      <path
        className={fillOrganic}
        d="M10 40V0H6C2.68629 0 0 2.68629 0 6V34C0 37.3137 2.68629 40 6 40H10Z"
      />
    </svg>
  )
}

lib/utils.ts

import { clsx, type ClassValue } from "clsx"
import { extendTailwindMerge } from "tailwind-merge"

import { siteConfig } from "@/config/site"

const twMerge = extendTailwindMerge({
  extend: {
    classGroups: {
      shadow: [{ shadow: ["soft-sm", "soft", "soft-md"] }],
    },
  },
})

export function cn(...inputs: ClassValue[]) {
  return twMerge(clsx(inputs))
}

export function absoluteUrl(path: string) {
  return `${siteConfig.url}${path}`
}

config/site.ts

export const siteConfig = {
  /* ───────────────── Brand & positioning ───────────────── */
  name: "Cult UI – Shadcn UI Components, Blocks & Templates",
  description:
    "Open-source Shadcn UI components, animated blocks, and full templates you can copy-paste into any TypeScript/Next.js project.",
  url: "https://www.cult-ui.com",
  ogImage: "https://www.cult-ui.com/og",

  /* ───────────────── Social links ───────────────── */
  links: {
    components: "/docs/components/dynamic-island",
    twitter: "https://x.com/nolansym",
    github: "https://github.com/nolly-studio/cult-ui",
  },
} as const;

export type SiteConfig = typeof siteConfig;

demo.tsx

export { default as default } from "@/registry/default/example/organic-button-demo";

CSS

/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --color-zinc-900: oklch(21% 0.006 285.885);
    --spacing: 0.25rem;
    --text-xs: 0.75rem;
    --text-xs--line-height: calc(1 / 0.75);
    --text-sm: 0.875rem;
    --text-sm--line-height: calc(1.25 / 0.875);
    --text-base: 1rem;
    --text-base--line-height: calc(1.5 / 1);
    --text-lg: 1.125rem;
    --text-lg--line-height: calc(1.75 / 1.125);
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --leading-relaxed: 1.625;
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --default-transition-duration: 150ms;
    --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    --default-font-family: var(--font-geist-sans);
    --default-mono-font-family: var(--font-geist-mono);
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring:where(:not(iframe)) {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer utilities {
  .fixed {
    position: fixed;
  }
  .mx-auto {
    margin-inline: auto;
  }
  .mt-1 {
    margin-top: var(--spacing);
  }
  .-mr-px {
    margin-right: -1px;
  }
  .-ml-px {
    margin-left: -1px;
  }
  .flex {
    display: flex;
  }
  .inline-flex {
    display: inline-flex;
  }
  .h-9 {
    height: calc(var(--spacing) * 9);
  }
  .h-11 {
    height: calc(var(--spacing) * 11);
  }
  .h-14 {
    height: calc(var(--spacing) * 14);
  }
  .h-full {
    height: 100%;
  }
  .min-h-0 {
    min-height: 0px;
  }
  .min-h-9 {
    min-height: calc(var(--spacing) * 9);
  }
  .min-h-11 {
    min-height: calc(var(--spacing) * 11);
  }
  .min-h-14 {
    min-height: calc(var(--spacing) * 14);
  }
  .w-auto {
    width: auto;
  }
  .w-fit {
    width: fit-content;
  }
  .w-full {
    width: 100%;
  }
  .w-max {
    width: max-content;
  }
  .max-w-3xl {
    max-width: 50rem;
  }
  .max-w-full {
    max-width: 100%;
  }
  .min-w-0 {
    min-width: 0px;
  }
  .min-w-\[9rem\] {
    min-width: 9rem;
  }
  .min-w-\[10\.5rem\] {
    min-width: 10.5rem;
  }
  .min-w-\[12rem\] {
    min-width: 12rem;
  }
  .flex-1 {
    flex: 1;
  }
  .shrink-0 {
    flex-shrink: 0;
  }
  .flex-col {
    flex-direction: column;
  }
  .flex-row {
    flex-direction: row;
  }
  .flex-wrap {
    flex-wrap: wrap;
  }
  .items-center {
    align-items: center;
  }
  .items-end {
    align-items: flex-end;
  }
  .items-stretch {
    align-items: stretch;
  }
  .justify-center {
    justify-content: center;
  }
  .justify-start {
    justify-content: flex-start;
  }
  .gap-4 {
    gap: calc(var(--spacing) * 4);
  }
  .gap-6 {
    gap: calc(var(--spacing) * 6);
  }
  :where(.space-y-3 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)));
  }
  :where(.space-y-8 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 8) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 8) * calc(1 - var(--tw-space-y-reverse)));
  }
  .overflow-visible {
    overflow: visible;
  }
  .rounded {
    border-radius: 0.25rem;
  }
  .rounded-xl {
    border-radius: calc(var(--radius) + 4px);
  }
  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }
  .bg-\[var\(--organic-surface\)\] {
    background-color: var(--organic-surface);
  }
  .bg-muted {
    background-color: var(--muted);
  }
  .bg-muted\/30 {
    background-color: var(--muted);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--muted) 30%, transparent);
    }
  }
  .fill-\[var\(--organic-surface\)\] {
    fill: var(--organic-surface);
  }
  .stroke-current {
    stroke: currentcolor;
  }
  .p-6 {
    padding: calc(var(--spacing) * 6);
  }
  .px-0 {
    padding-inline: 0px;
  }
  .px-1 {
    padding-inline: var(--spacing);
  }
  .px-4 {
    padding-inline: calc(var(--spacing) * 4);
  }
  .py-0\.5 {
    padding-block: calc(var(--spacing) * 0.5);
  }
  .py-2 {
    padding-block: calc(var(--spacing) * 2);
  }
  .pr-2 {
    padding-right: calc(var(--spacing) * 2);
  }
  .pl-2 {
    padding-left: calc(var(--spacing) * 2);
  }
  .font-mono {
    font-family: var(--font-geist-mono);
  }
  .text-sm {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
  }
  .text-xs {
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
  }
  .leading-none {
    --tw-leading: 1;
    line-height: 1;
  }
  .leading-relaxed {
    --tw-leading: var(--leading-relaxed);
    line-height: var(--leading-relaxed);
  }
  .font-medium {
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
  }
  .font-semibold {
    --tw-font-weight: var(--font-weight-semibold);
    font-weight: var(--font-weight-semibold);
  }
  .text-pretty {
    text-wrap: pretty;
  }
  .whitespace-nowrap {
    white-space: nowrap;
  }
  .text-\[var\(--organic-fg\)\] {
    color: var(--organic-fg);
  }
  .text-foreground {
    color: var(--foreground);
  }
  .text-muted-foreground {
    color: var(--muted-foreground);
  }
  .shadow {
    --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .transition-\[padding\] {
    transition-property: padding;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .transition-transform {
    transition-property: transform, translate, scale, rotate;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .duration-100 {
    --tw-duration: 100ms;
    transition-duration: 100ms;
  }
  .duration-\[var\(--organic-duration\,400ms\)\] {
    --tw-duration: var(--organic-duration,400ms);
    transition-duration: var(--organic-duration,400ms);
  }
  .ease-in-out {
    --tw-ease: var(--ease-in-out);
    transition-timing-function: var(--ease-in-out);
  }
  .\[--organic-duration\:300ms\] {
    --organic-duration: 300ms;
  }
  .\[--organic-duration\:400ms\] {
    --organic-duration: 400ms;
  }
  .\[--organic-duration\:500ms\] {
    --organic-duration: 500ms;
  }
  .\[--organic-fg\:\#404040\] {
    --organic-fg: #404040;
  }
  .\[--organic-fg\:\#f4f8e8\] {
    --organic-fg: #f4f8e8;
  }
  .\[--organic-fg\:theme\(colors\.white\)\] {
    --organic-fg: #fff;
  }
  .\[--organic-fg\:var\(--secondary-foreground\)\] {
    --organic-fg: var(--secondary-foreground);
  }
  .\[--organic-surface\:\#301c2a\] {
    --organic-surface: #301c2a;
  }
  .\[--organic-surface\:\#ffffff\] {
    --organic-surface: #ffffff;
  }
  .\[--organic-surface\:theme\(colors\.neutral\.950\)\] {
    --organic-surface: oklch(14.5% 0 none);
  }
  .\[--organic-surface\:var\(--secondary\)\] {
    --organic-surface: var(--secondary);
  }
  @media (hover: hover) {
    .group-hover\/organic\:scale-110:is(:where(.group\/organic):hover *) {
      --tw-scale-x: 110%;
      --tw-scale-y: 110%;
      --tw-scale-z: 110%;
      scale: var(--tw-scale-x) var(--tw-scale-y);
    }
    .group-hover\/organic\:rotate-45:is(:where(.group\/organic):hover *) {
      rotate: 45deg;
    }
    .group-hover\/organic\:px-2:is(:where(.group\/organic):hover *) {
      padding-inline: calc(var(--spacing) * 2);
    }
  }
  .focus\:outline-none:focus {
    --tw-outline-style: none;
    outline-style: none;
  }
  .focus-visible\:ring-2:focus-visible {
    --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .focus-visible\:ring-ring:focus-visible {
    --tw-ring-color: var(--ring);
  }
  .focus-visible\:ring-offset-2:focus-visible {
    --tw-ring-offset-width: 2px;
    --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  }
  .focus-visible\:ring-offset-background:focus-visible {
    --tw-ring-offset-color: var(--background);
  }
  .active\:scale-\[0\.96\]:active {
    scale: 0.96;
  }
  .active\:transition-transform:active {
    transition-property: transform, translate, scale, rotate;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .disabled\:cursor-not-allowed:disabled {
    cursor: not-allowed;
  }
  .dark\:\[--organic-fg\:\#a3a3a3\]:where(.dark, .dark *) {
    --organic-fg: #a3a3a3;
  }
  .dark\:\[--organic-surface\:\#262626\]:where(.dark, .dark *) {
    --organic-surface: #262626;
  }
  .\[\&_\.organic-icon\]\:size-3\.5 .organic-icon {
    width: calc(var(--spacing) * 3.5);
    height: calc(var(--spacing) * 3.5);
  }
  .\[\&_\.organic-icon\]\:size-4 .organic-icon {
    width: calc(var(--spacing) * 4);
    height: calc(var(--spacing) * 4);
  }
  .\[\&_\.organic-icon\]\:size-5 .organic-icon {
    width: calc(var(--spacing) * 5);
    height: calc(var(--spacing) * 5);
  }
  .\[\&_\.organic-label\]\:text-base .organic-label {
    font-size: var(--text-base);
    line-height: var(--tw-leading, var(--text-base--line-height));
  }
  .\[\&_\.organic-label\]\:text-lg .organic-label {
    font-size: var(--text-lg);
    line-height: var(--tw-leading, var(--text-lg--line-height));
  }
  .\[\&_\.organic-label\]\:text-sm .organic-label {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
  }
}
:root {
  --background: #fff;
  --foreground: #111;
  --primary: #171717;
  --primary-foreground: #fff;
  --secondary: #eee;
  --secondary-foreground: #171717;
  --muted: #eee;
  --muted-foreground: #666;
  --accent: #eee;
  --accent-foreground: #171717;
  --border: #ddd;
  --input: #ddd;
  --ring: #777;
  --destructive: #dc2626;
  --destructive-foreground: #fff;
  --popover: #fff;
  --popover-foreground: #111;
  --success: #15803d;
  --success-foreground: #fff;
  --radius: .625rem;
  --hairline: 1px;
}
.dark {
  --background: #090909;
  --foreground: #fafafa;
  --primary: #fafafa;
  --primary-foreground: #171717;
  --secondary: #262626;
  --secondary-foreground: #fafafa;
  --muted: #262626;
  --muted-foreground: #a3a3a3;
  --accent: #262626;
  --accent-foreground: #fafafa;
  --border: #333;
  --input: #333;
  --popover: #171717;
  --popover-foreground: #fafafa;
}
:root {
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.145 0 0);
  --popover: oklch(1 0 0);
  --popover-foreground: oklch(0.145 0 0);
  --primary: oklch(0.205 0 0);
  --primary-foreground: oklch(0.985 0 0);
  --secondary: oklch(0.97 0 0);
  --secondary-foreground: oklch(0.205 0 0);
  --muted: oklch(0.97 0 0);
  --muted-foreground: oklch(0.51 0 0);
  --accent: oklch(0.97 0 0);
  --accent-foreground: oklch(0.205 0 0);
  --destructive: oklch(0.577 0.245 27.325);
  --destructive-foreground: oklch(0.577 0.245 27.325);
  --border: oklch(0.94 0 0);
  --input: oklch(0.922 0 0);
  --ring: oklch(0.708 0 0);
  --chart-1: oklch(0.646 0.222 41.116);
  --chart-2: oklch(0.6 0.118 184.704);
  --chart-3: oklch(0.398 0.07 227.392);
  --chart-4: oklch(0.828 0.189 84.429);
  --chart-5: oklch(0.769 0.188 70.08);
  --radius: 0.625rem;
  --sidebar: oklch(0.985 0 0);
  --sidebar-foreground: oklch(0.145 0 0);
  --sidebar-primary: oklch(0.205 0 0);
  --sidebar-primary-foreground: oklch(0.985 0 0);
  --sidebar-accent: oklch(0.97 0 0);
  --sidebar-accent-foreground: oklch(0.205 0 0);
  --sidebar-border: oklch(0.922 0 0);
  --sidebar-ring: oklch(0.708 0 0);
  --gradientTopRight: linear-gradient(
    229.7deg,
    oklch(0.85 0.12 45) 10.61%,
    oklch(0.75 0.18 340) 26.17%,
    oklch(0.65 0.15 264) 31.93%,
    oklch(0.7 0.15 200) 46.54%,
    oklch(0.12 0.002 220) 54.36%
  );
  --gradientTopRightLogin: linear-gradient(
    90.7deg,
    oklch(0.15 0.05 264) 0.61%,
    oklch(0.18 0.05 220) 9.93%,
    oklch(0.16 0.05 220) 13.93%,
    oklch(0.12 0.05 220) 24%,
    oklch(0 0 0) 66.36%
  );
  --gradientTopRightLoginSm: linear-gradient(
    90.7deg,
    oklch(0.5 0.25 300) 5.61%,
    oklch(0.8 0.1 200) 19.93%,
    oklch(0 0 0) 46.36%
  );
  --gradientTopRightLightHeader: linear-gradient(
    30.7deg,
    oklch(1 0 0 / 0.3) 0%,
    oklch(0.85 0.1 140) 0%,
    oklch(0.8 0.1 180) 17.93%,
    oklch(0.8 0.1 220) 7.54%,
    oklch(1 0 0 / 0.3) 13.36%
  );
  --gradientTopRightLightSm2: linear-gradient(
    210.7deg,
    oklch(1 0 0 / 0.3) 1.85%,
    oklch(0.8 0.1 200) 5.61%,
    oklch(0.8 0.15 340) 13.93%,
    oklch(0.85 0.1 60) 22.54%,
    oklch(1 0 0 / 0.3) 28.36%
  );
  --gradientTopRightLightFeatures: linear-gradient(
    210.7deg,
    oklch(1 0 0 / 0.2) 13.85%,
    oklch(0.6 0.2 220 / 0.2) 18.61%,
    oklch(0.6 0.2 220 / 0.2) 22.61%,
    oklch(0.8 0.15 160 / 0.1) 33.93%,
    oklch(1 0 0 / 0.2) 53.36%
  );
  --gradientTopRightLight: linear-gradient(
    210.7deg,
    oklch(1 0 0 / 0.3) 13.85%,
    oklch(0.6 0.2 220 / 0.4) 18.61%,
    oklch(0.6 0.2 220 / 0.6) 22.61%,
    oklch(0.8 0.15 160 / 0.7) 33.93%,
    oklch(1 0 0 / 0.3) 53.36%
  );
  --gradientTopRightLightSm: linear-gradient(
    210.7deg,
    oklch(1 0 0 / 0.3) 16.85%,
    oklch(0.85 0.1 140) 22.61%,
    oklch(0.85 0.02 220) 50.54%,
    oklch(1 0 0 / 0.3) 64.36%
  );
  --gradientDevTools: linear-gradient(
    290.7deg,
    oklch(0.8 0.15 340) 14.85%,
    oklch(0.8 0.15 340) 50.36%
  );
  --cultGradient: linear-gradient(
    229.7deg,
    oklch(0.85 0.08 20) 14.85%,
    oklch(0.75 0.15 60) 20.61%,
    oklch(0.85 0.12 90) 26.17%,
    oklch(0.8 0.1 140) 31.93%,
    oklch(0.7 0.15 220) 46.54%,
    oklch(0.75 0.12 300) 54.36%
  );
  --stripeGradient: linear-gradient(
    135deg,
    oklch(0.6 0.2 250 / 0.7) 20%,
    oklch(0.7 0.15 300 / 0.7) 33%,
    oklch(0.75 0.1 220 / 0.7) 46%,
    oklch(0.8 0.1 180 / 0.7) 66%
  );
  --cultGradientLight: linear-gradient(
    220.55deg,
    oklch(0.15 0.05 220) 0%,
    oklch(0.3 0.08 220) 50%,
    oklch(0.45 0.12 220) 100%
  );
  --gradientBottomLeft: linear-gradient(
    47deg,
    oklch(0.99 0.001 220) 10.68%,
    oklch(0.85 0.12 45) 17.61%,
    oklch(0.75 0.18 340) 24.3%,
    oklch(0.65 0.15 264) 31.23%,
    oklch(0.7 0.15 200) 48.82%,
    oklch(0.12 0.002 220) 58.23%
  );
  --resendGradient: linear-gradient(
    135deg,
    oklch(0.5 0.2 300) 10%,
    oklch(0.7 0.15 300) 24%,
    oklch(0.8 0.1 300) 31%,
    oklch(0.85 0.08 300) 50%
  );
  --gradientToTop: linear-gradient(
    0deg,
    oklch(1 0 0) -2.39%,
    oklch(0.85 0.12 45) 7.4%,
    oklch(0.75 0.18 340) 16.83%,
    oklch(0.65 0.15 264) 26.61%,
    oklch(0.7 0.15 200) 51.42%,
    oklch(0.12 0.002 220) 64.69%
  );
  --background: oklch(1 0 0);
  --canvas: oklch(0.985 0 0);
  --foreground: oklch(0.205 0 0);
  --text-dimmed: var(--muted-foreground);
  --text-highlighted: var(--foreground);
  --elevation-soft-sm: 0 0 0 1px rgb(0 0 0 / 0.05), 0 1px 2px 0 rgb(0 0 0 / 0.04);
  --elevation-soft: 0 0 0 1px rgb(0 0 0 / 0.06), 0 1px 2px -1px rgb(0 0 0 / 0.06),
    0 2px 4px 0 rgb(0 0 0 / 0.04);
  --elevation-soft-md: 0 0 0 1px rgb(0 0 0 / 0.07), 0 2px 4px -1px rgb(0 0 0 / 0.06),
    0 8px 16px -4px rgb(0 0 0 / 0.08);
  --code: oklch(0.985 0 0);
  --code-foreground: oklch(0.205 0 0);
  --code-number: oklch(0.708 0 0);
  --code-highlight: oklch(0.955 0 0);
}
.dark {
  --elevation-soft-sm: 0 0 0 1px rgb(255 255 255 / 0.05), 0 1px 2px 0 rgb(0 0 0 / 0.35);
  --elevation-soft: 0 0 0 1px rgb(255 255 255 / 0.06), 0 1px 2px -1px rgb(0 0 0 / 0.4),
    0 2px 4px 0 rgb(0 0 0 / 0.3);
  --elevation-soft-md: 0 0 0 1px rgb(255 255 255 / 0.08), 0 2px 4px -1px rgb(0 0 0 / 0.45),
    0 8px 16px -4px rgb(0 0 0 / 0.4);
  --background: oklch(0.145 0 0);
  --canvas: oklch(0.145 0 0);
  --code: oklch(0.18 0 0);
  --code-foreground: oklch(0.95 0 0);
  --code-number: oklch(0.45 0 0);
  --code-highlight: oklch(0.235 0 0);
  --foreground: oklch(0.95 0 0);
  --text-dimmed: var(--muted-foreground);
  --text-highlighted: var(--foreground);
  --card: oklch(0.205 0 0);
  --card-foreground: oklch(0.985 0 0);
  --popover: oklch(0.205 0 0);
  --popover-foreground: oklch(0.985 0 0);
  --primary: oklch(0.95 0 0);
  --primary-foreground: oklch(0.205 0 0);
  --secondary: oklch(0.269 0 0);
  --secondary-foreground: oklch(0.985 0 0);
  --muted: oklch(0.235 0 0);
  --muted-foreground: oklch(0.715 0 0);
  --accent: oklch(0.269 0 0);
  --accent-foreground: oklch(0.985 0 0);
  --destructive: oklch(0.704 0.191 22.216);
  --destructive-foreground: oklch(0.637 0.237 25.331);
  --border: oklch(1 0 0 / 10%);
  --input: oklch(1 0 0 / 15%);
  --ring: oklch(0.556 0 0);
  --chart-1: oklch(0.488 0.243 264.376);
  --chart-2: oklch(0.696 0.17 162.48);
  --chart-3: oklch(0.769 0.188 70.08);
  --chart-4: oklch(0.627 0.265 303.9);
  --chart-5: oklch(0.645 0.246 16.439);
  --sidebar: oklch(0.205 0 0);
  --sidebar-foreground: oklch(0.985 0 0);
  --sidebar-primary: oklch(0.488 0.243 264.376);
  --sidebar-primary-foreground: oklch(0.985 0 0);
  --sidebar-accent: oklch(0.269 0 0);
  --sidebar-accent-foreground: oklch(0.985 0 0);
  --sidebar-border: oklch(1 0 0 / 10%);
  --sidebar-ring: oklch(0.556 0 0);
}
.dark [data-rehype-pretty-code-fragment] .word--highlighted {
  background-color: var(--color-zinc-900);
}
@keyframes cosmic-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes cosmic-spin-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-360deg);
  }
}
@keyframes gold-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes caret-blink {
  0%, 49% {
    opacity: 1;
  }
  50%, 100% {
    opacity: 0;
  }
}
@property --tw-space-y-reverse {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-leading {
  syntax: "*";
  inherits: false;
}
@property --tw-font-weight {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-inset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-ring-inset {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-offset-width {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}
@property --tw-ring-offset-color {
  syntax: "*";
  inherits: false;
  initial-value: #fff;
}
@property --tw-ring-offset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-duration {
  syntax: "*";
  inherits: false;
}
@property --tw-ease {
  syntax: "*";
  inherits: false;
}
@property --tw-scale-x {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
@property --tw-scale-y {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
@property --tw-scale-z {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-space-y-reverse: 0;
      --tw-border-style: solid;
      --tw-leading: initial;
      --tw-font-weight: initial;
      --tw-shadow: 0 0 #0000;
      --tw-shadow-color: initial;
      --tw-shadow-alpha: 100%;
      --tw-inset-shadow: 0 0 #0000;
      --tw-inset-shadow-color: initial;
      --tw-inset-shadow-alpha: 100%;
      --tw-ring-color: initial;
      --tw-ring-shadow: 0 0 #0000;
      --tw-inset-ring-color: initial;
      --tw-inset-ring-shadow: 0 0 #0000;
      --tw-ring-inset: initial;
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-color: #fff;
      --tw-ring-offset-shadow: 0 0 #0000;
      --tw-duration: initial;
      --tw-ease: initial;
      --tw-scale-x: 1;
      --tw-scale-y: 1;
      --tw-scale-z: 1;
    }
  }
}