fix: mobile landing page text overflow clipping

Reduce section/card padding on mobile, allow mock node and chat text to
wrap, and add flex-wrap to the brand equation so nothing overflows the
viewport edge.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-23 06:08:35 +00:00
parent a40c9b561e
commit 0d78410dea

View File

@@ -46,6 +46,7 @@
.landing-page-content {
position: relative;
z-index: 1;
overflow-x: hidden;
}
/* ---- NAVIGATION ---- */
@@ -809,7 +810,7 @@
border-radius: 6px;
font-size: 0.6rem;
font-family: 'IBM Plex Sans', sans-serif;
white-space: nowrap;
overflow-wrap: anywhere;
}
.landing-mock-node.start {
@@ -858,6 +859,8 @@
.landing-mock-chat-line .text {
color: #848b9b;
overflow-wrap: anywhere;
min-width: 0;
}
.landing-mock-chat-line.doc .label {
@@ -1412,6 +1415,18 @@
/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
.landing-page section {
padding: 3rem 1rem;
}
.landing-section-inner {
max-width: 100%;
}
.landing-step-card {
padding: 1.25rem;
}
.landing-problem-grid,
.landing-steps-container,
.landing-features-grid,
@@ -1463,15 +1478,28 @@
padding: 8rem 1.5rem 4rem;
}
.landing-equation-section {
padding: 3rem 1rem;
}
.landing-brand-equation {
font-size: 1.25rem;
gap: 0.5rem;
flex-wrap: wrap;
}
.landing-eq-item {
padding: 0.35rem 0.75rem;
}
.landing-testimonial-section {
padding: 3rem 1rem;
}
.landing-cta-section {
padding: 3rem 1rem;
}
.landing-cta-email-form {
flex-direction: column;
}