diff --git a/src/app/globals.css b/src/app/globals.css index f52be2b..c85edff 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -74,15 +74,17 @@ html, body { margin: 0; padding: 0; + width: 100%; + max-width: 100%; min-height: 100vh; background-color: var(--color-bg); color: var(--color-text-primary); font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; overflow-x: hidden; + overflow-x: clip; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; direction: ltr !important; - unicode-bidi: isolate; text-align: left; } @@ -713,7 +715,10 @@ html { .light-sweep { animation: none !important; opacity: 0 !important; } } -html, body { overflow-x: hidden; max-width: 100vw; } +html, body { overflow-x: hidden; overflow-x: clip; max-width: 100%; } + +/* Catch-all guard against horizontal overflow */ +main, footer, nav, section, header { max-width: 100%; overflow-x: clip; } /* === GLOBAL RESPONSIVE GUARDS === */ diff --git a/src/components/robotics/ExclusiveAccessSection.tsx b/src/components/robotics/ExclusiveAccessSection.tsx index 039eb1d..59646a1 100644 --- a/src/components/robotics/ExclusiveAccessSection.tsx +++ b/src/components/robotics/ExclusiveAccessSection.tsx @@ -93,9 +93,9 @@ export function ExclusiveAccessSection() { {/* Right premium showroom grid */}
@@ -60,6 +60,17 @@ export function FounderSection() {
+ + ); } diff --git a/src/components/robotics/IndustryUseCases.tsx b/src/components/robotics/IndustryUseCases.tsx index a4c11fb..a273bb4 100644 --- a/src/components/robotics/IndustryUseCases.tsx +++ b/src/components/robotics/IndustryUseCases.tsx @@ -61,14 +61,14 @@ export function IndustryUseCases({ limit }: { limit?: number }) { {STATS.map((s) => ( -
  • +
  • {s.value} {s.label}
  • @@ -90,15 +90,14 @@ export function IndustryUseCases({ limit }: { limit?: number }) { gap: clamp(1.5rem, 3vw, 2.25rem); } - /* STATS — always single row */ + /* STATS — single column on mobile, single row on tablet+ */ .iu-stats { list-style: none; margin: 0 0 clamp(0.5rem, 1.5vw, 1rem); padding: 0; display: flex; - flex-direction: row; - flex-wrap: nowrap; - gap: 0.45rem; + flex-direction: column; + gap: 0.55rem; } .iu-stat { position: relative; @@ -106,9 +105,9 @@ export function IndustryUseCases({ limit }: { limit?: number }) { flex-direction: column; justify-content: center; gap: 0.22rem; - flex: 1; + flex: 1 1 0; min-width: 0; - padding: 0.6rem 0.55rem; + padding: 0.85rem 1rem; border-radius: 14px; border: 1px solid rgba(120, 140, 255, 0.22); background: @@ -167,8 +166,8 @@ export function IndustryUseCases({ limit }: { limit?: number }) { position: relative; z-index: 1; } - @media (min-width: 520px) { - .iu-stats { gap: 0.6rem; } + @media (min-width: 640px) { + .iu-stats { flex-direction: row; flex-wrap: nowrap; gap: 0.6rem; } .iu-stat { padding: 0.72rem 0.85rem; gap: 0.28rem; border-radius: 16px; } } @media (min-width: 820px) {