From ce314adf2d121e058c2267a89ad4f06bb2e954ef Mon Sep 17 00:00:00 2001 From: hsiegeln <37154749+hsiegeln@users.noreply.github.com> Date: Sat, 25 Apr 2026 02:32:34 +0200 Subject: [PATCH] feat(styles): enable smooth in-page anchor scrolling Adds html { scroll-behavior: smooth } with a prefers-reduced-motion override. Required for the relaunch hero's 'See it in action' anchor CTA to feel natural. Co-Authored-By: Claude Opus 4.7 (1M context) --- src/styles/global.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/styles/global.css b/src/styles/global.css index 940b3c6..16fe614 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -18,6 +18,13 @@ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; + scroll-behavior: smooth; + } + + @media (prefers-reduced-motion: reduce) { + html { + scroll-behavior: auto; + } } body { @apply min-h-screen;