Merged
Conversation
Root cause:
globals.css had `* { margin: 0; padding: 0 }` as unlayered CSS.
In Tailwind v4, all utilities live in @layer — unlayered rules always
win, so mx-auto, px-*, py-*, p-*, gap-* were all silently overridden.
That's why everything was left-aligned with the right half empty.
Fix in globals.css:
- Keep only `box-sizing: border-box` on * (Tailwind Preflight handles
the rest — no need to fight it)
- Remove overflow-x: hidden from html/body (was hiding valid content)
- Add .page-wrap as an unlayered centering helper that can't be broken
by Tailwind layer ordering
Landing page redesign:
- Every section uses .page-wrap for reliable 1280px centered layout
- Hero: full-screen gradient, large 5xl–7xl headline, stats row
- Featured agents: rich 3-column cards with icon, stats bar, rating
- Category pills: horizontal scrollable tag cloud
- Trust section: 2-col (copy + live metrics panel)
- Testimonials: 3-col with attribution
- Pricing: 3 plans, properly full-width to max-w-5xl
- Final CTA: full-bleed glass card with ambient glow
- All responsive: 1→2→3→4 col grids at sm/lg breakpoints
https://claude.ai/code/session_01S9BUbPuwYCRbbtqiSvAARX
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Root cause:
globals.css had
* { margin: 0; padding: 0 }as unlayered CSS.In Tailwind v4, all utilities live in @layer — unlayered rules always
win, so mx-auto, px-, py-, p-, gap- were all silently overridden.
That's why everything was left-aligned with the right half empty.
Fix in globals.css:
box-sizing: border-boxon * (Tailwind Preflight handles the rest — no need to fight it)Landing page redesign: