app / frontend /src /components /landing /shell.css
Aissugur Kurganbekov
Claude Opus 4.8
Tamga — evidence-backed customs document audit
373030b
Raw History Blame Contribute Delete
2.7 kB
/* ==========================================================================
* Landing shell — hero + infinite marquee + page-level layout (.st- prefix).
* Palette: ink #051A24 · heading #0D212C · muted #273C46 · white canvas.
* Fonts/buttons/keyframes (st-fade-up, st-marquee) live in base.css.
* ========================================================================== */
/* Clearance so the fixed bottom nav never covers the copyright bar. */
.studio-lp { padding-bottom: 104px; }
/* Anchored sections (#work, #pricing, #about) land with a little air above. */
.studio-lp [id] { scroll-margin-top: 32px; }
/* ---- Hero (spec section 1): centered narrow column ---- */
.st-hero {
max-width: 488px; /* 440px column + 24px side padding */
margin: 0 auto;
padding: 48px 24px 0;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
}
.st-hero-logo {
margin: 0 0 16px;
font-weight: 600;
font-size: 32px;
line-height: 1;
letter-spacing: -0.02em;
color: #051A24;
}
.st-hero-tagline {
margin: 0 0 8px;
font-size: 12px;
color: #051A24;
}
.st-hero-h {
margin: 0;
font-weight: 500;
font-size: clamp(32px, 8vw, 44px);
line-height: 1.1;
letter-spacing: -0.02em;
color: #0D212C;
}
.st-hero-line { display: block; white-space: nowrap; }
.st-hero-desc {
display: flex;
flex-direction: column;
gap: 24px;
margin: 20px 0 0;
font-size: 14px;
line-height: 1.65;
color: #051A24;
}
.st-hero-desc p { margin: 0; }
.st-hero-cta {
display: flex;
flex-direction: column;
gap: 12px;
margin-top: 20px;
}
@media (min-width: 640px) {
.st-hero-cta { flex-direction: row; gap: 16px; }
}
@media (min-width: 768px) {
.st-hero { padding-top: 64px; }
.st-hero-logo { font-size: 40px; }
.st-hero-tagline { font-size: 14px; }
.st-hero-desc { font-size: 16px; margin-top: 24px; }
.st-hero-cta { margin-top: 24px; }
}
@media (min-width: 1024px) {
.st-hero-logo { font-size: 44px; }
}
/* ---- Infinite marquee (spec section 2) ----
.st-marquee / .st-marquee__track (layout, animation, reduced-motion kill)
live in base.css; here only the band spacing and the DocCard sizing
(~4:3, 200px tall on mobile / 280px on desktop). Card visuals live in
doccards.css. */
.st-marquee-band { margin: 64px 0; }
.st-marquee-card {
flex: 0 0 auto;
width: 266px;
height: 200px;
margin: 0 12px;
}
@media (min-width: 768px) {
.st-marquee-band { margin-top: 80px; }
.st-marquee-card {
width: 372px;
height: 280px;
}
}
@media (prefers-reduced-motion: reduce) {
/* Static strip stays reachable by manual scroll. */
.studio-lp .st-marquee { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}