button[style*="brand-gradient"],
a[style*="brand-gradient"],
button.bg-primary,
a.bg-primary,
input[type="submit"].bg-primary,
[role="button"].bg-primary {
  transition:
    transform 0.18s ease,
    filter 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease,
    color 0.18s ease;
}

button[style*="brand-gradient"]:hover:not(:disabled),
a[style*="brand-gradient"]:hover,
button.bg-primary:hover:not(:disabled),
a.bg-primary:hover,
input[type="submit"].bg-primary:hover:not(:disabled),
[role="button"].bg-primary:hover {
  filter: brightness(1.08) saturate(1.08);
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft), 0 14px 26px -18px oklch(45% 0.18 255 / 0.55);
}

button[style*="brand-gradient"]:active:not(:disabled),
a[style*="brand-gradient"]:active,
button.bg-primary:active:not(:disabled),
a.bg-primary:active,
input[type="submit"].bg-primary:active:not(:disabled),
[role="button"].bg-primary:active {
  filter: brightness(1.02) saturate(1.04);
  transform: translateY(0);
}

a:not([style*="brand-gradient"]):not(.text-primary-foreground):not([class*="text-primary-foreground"]):hover {
  color: color-mix(in oklab, var(--primary) 78%, white);
}
