6 CSS Minimalist UI Designs 06 / 06

Crest Landing

A minimalist SaaS landing page UI for a deployment platform — proving that high-impact single-product landing pages convert when they marry bold display typography to a focused single CTA.

Best forSaaS landing pages, dev-tool homepages, deployment platforms, B2B product launches, single-product marketing sites.

CSS + JS MIT licensed
Live Demo Open in tab
Open in playground

The code

<section class="mu-ls" aria-label="Crest SaaS landing page demo">
  <nav class="topnav">
    <div class="nav-logo">Crest<span>.</span></div>
    <div class="nav-links">
      <span class="nav-link">Product</span>
      <span class="nav-link">Pricing</span>
      <span class="nav-link">Docs</span>
      <span class="nav-link">Blog</span>
    </div>
    <button class="nav-cta" type="button">Start Free →</button>
  </nav>

  <section class="hero">
    <div class="hero-grid" aria-hidden="true"></div>
    <div class="hero-glow" aria-hidden="true"></div>

    <div class="hero-left">
      <div class="hero-eyebrow">
        <span class="eyebrow-line"></span>
        The Platform for Modern Teams
      </div>
      <h1 class="hero-headline">
        BUILD<br>
        <span class="headline-serif">faster.</span>
        <br>SHIP<br>
        <span class="headline-accent">BOLDLY.</span>
      </h1>
      <p class="hero-sub">Crest is the all-in-one deployment and analytics platform that gets out of your way. Zero config. Instant rollbacks. Real insight — from commit to conversion.</p>
      <div class="hero-actions">
        <button class="btn-hero primary" type="button">Get Started Free <span class="btn-arrow">→</span></button>
        <button class="btn-hero secondary" type="button">Watch Demo</button>
      </div>
      <div class="hero-social-proof">
        <div class="proof-avatars">
          <div class="proof-avatar proof-a">A</div>
          <div class="proof-avatar proof-m">M</div>
          <div class="proof-avatar proof-s">S</div>
          <div class="proof-avatar proof-k">K</div>
          <div class="proof-avatar proof-plus">+</div>
        </div>
        <div>
          <div class="proof-stars">★★★★★</div>
          <div class="proof-text"><strong>4,200+ teams</strong> ship faster with Crest</div>
        </div>
      </div>
    </div>

    <div class="hero-right">
      <div class="product-visual">
        <div class="float-card top-right">
          <div class="float-val">99.98%</div>
          <div class="float-label">Uptime SLA</div>
        </div>
        <div class="float-card bottom-left">
          <div class="float-val">1.2s</div>
          <div class="float-label">Avg Deploy Time</div>
        </div>
        <div class="product-main-card">
          <div class="product-screen-label">Live Dashboard · Production</div>
          <div class="product-ui-mock">
            <div class="mock-topbar">
              <div class="mock-dots">
                <div class="mock-dot mock-dot-r"></div>
                <div class="mock-dot mock-dot-y"></div>
                <div class="mock-dot mock-dot-g"></div>
              </div>
              <div class="mock-url">crest.app/dashboard</div>
            </div>
            <div class="mock-content">
              <div class="mock-metric">
                <div class="mock-metric-label">Requests / sec</div>
                <div class="mock-metric-value accent" data-mu-ls-counter>12,840</div>
              </div>
              <div class="mock-bars" data-mu-ls-bars></div>
              <div class="mock-bottom">
                <div class="mock-chip">● Live</div>
                <div class="mock-chip">prod-v2.4.1</div>
                <div class="mock-chip">p95: 42ms</div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </section>

  <div class="stats-strip">
    <div class="stat-block">
      <div class="stat-number">4<span>B+</span></div>
      <div class="stat-desc">Requests served every month across our global edge network</div>
    </div>
    <div class="stat-block">
      <div class="stat-number">1<span>.2s</span></div>
      <div class="stat-desc">Average deployment time from push to production-ready</div>
    </div>
    <div class="stat-block">
      <div class="stat-number">99<span>.98%</span></div>
      <div class="stat-desc">Uptime SLA across all regions in the last 12 months</div>
    </div>
    <div class="stat-block">
      <div class="stat-number">140<span>+</span></div>
      <div class="stat-desc">Edge locations across six continents for instant delivery</div>
    </div>
  </div>

  <section class="features-section">
    <div class="features-header">
      <div>
        <div class="feat-eyebrow">Why Crest</div>
        <div class="feat-headline">THE STACK<br>DESERVES<br>BETTER</div>
      </div>
      <p class="feat-desc">We built Crest because the status quo is broken. Complex configs, flaky pipelines, and dashboards that tell you nothing useful. Crest is the platform we needed and couldn't find.</p>
    </div>
    <div class="features-grid">
      <div class="feature-item" data-num="01">
        <div class="feature-icon">⚡</div>
        <div class="feature-name">Instant <em>Deploy</em></div>
        <div class="feature-desc">Push your code and we handle the rest. Automatic builds, zero-downtime rollouts, and instant CDN propagation to every edge node simultaneously.</div>
      </div>
      <div class="feature-item" data-num="02">
        <div class="feature-icon">◎</div>
        <div class="feature-name">Real-time <em>Insight</em></div>
        <div class="feature-desc">Not just traffic — conversion funnels, session replays, and anomaly detection that fires before your users notice anything is wrong.</div>
      </div>
      <div class="feature-item" data-num="03">
        <div class="feature-icon">↩</div>
        <div class="feature-name">One-click <em>Rollback</em></div>
        <div class="feature-desc">Every deployment is immutable and stored. Spotted a regression? Roll back to any point in history in under two seconds, with full audit trail.</div>
      </div>
      <div class="feature-item" data-num="04">
        <div class="feature-icon">⬡</div>
        <div class="feature-name">Edge <em>Functions</em></div>
        <div class="feature-desc">Run server-side logic at 140+ locations worldwide. Sub-millisecond cold starts. No container overhead. Pay per invocation, not per instance.</div>
      </div>
      <div class="feature-item" data-num="05">
        <div class="feature-icon">🔐</div>
        <div class="feature-name">Secrets <em>Vault</em></div>
        <div class="feature-desc">Encrypted environment variables, rotated automatically. Zero-knowledge architecture means even we cannot read your credentials.</div>
      </div>
      <div class="feature-item" data-num="06">
        <div class="feature-icon">⌥</div>
        <div class="feature-name">Team <em>Workflows</em></div>
        <div class="feature-desc">Preview environments for every pull request. Configurable approval gates. Slack and Linear integrations so deployment news lives where your team does.</div>
      </div>
    </div>
  </section>

  <section class="cta-section">
    <div class="cta-glow" aria-hidden="true"></div>
    <div class="cta-pre">Get early access</div>
    <h2 class="cta-headline">SHIP YOUR<br><em>best work.</em></h2>
    <p class="cta-sub">Join 4,200 teams who stopped fighting their infrastructure and started focusing on what actually matters.</p>
    <div class="cta-form">
      <input class="cta-input" type="email" placeholder="[email protected]" aria-label="Email address">
      <button class="cta-submit" type="button">Start Free →</button>
    </div>
    <div class="cta-note">No credit card required · Free forever on Starter plan · Cancel anytime</div>
  </section>

  <footer class="footer">
    <div class="footer-logo">Crest<span>.</span></div>
    <div class="footer-links">
      <span class="footer-link">Privacy</span>
      <span class="footer-link">Terms</span>
      <span class="footer-link">Status</span>
      <span class="footer-link">Documentation</span>
    </div>
    <div class="footer-copy">© 2025 Crest Technologies, Inc.</div>
  </footer>
</section>
/* ─── 06 Crest SaaS Landing — minimalist single-product landing ── */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,700;1,9..144,300;1,9..144,700&family=Inter:wght@300;400;500&display=swap');

.mu-ls {
  --mu-ls-black: #060606;
  --mu-ls-offblack: #0d0d0d;
  --mu-ls-white: #fafafa;
  --mu-ls-cream: #f5f0e6;
  --mu-ls-orange: #ff4d00;
  --mu-ls-orange-glow: rgba(255,77,0,0.15);
  --mu-ls-mid: #666;
  --mu-ls-dim: #333;
  --mu-ls-display: 'Bebas Neue', sans-serif;
  --mu-ls-serif: 'Fraunces', serif;
  --mu-ls-body: 'Inter', sans-serif;

  position: relative;
  width: 100%;
  min-height: 2200px;
  background: var(--mu-ls-black);
  color: var(--mu-ls-white);
  font-family: var(--mu-ls-body);
  overflow-x: hidden;
  box-sizing: border-box;
}
.mu-ls *, .mu-ls *::before, .mu-ls *::after { box-sizing: border-box; margin: 0; padding: 0; }

.mu-ls .topnav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; padding: 0 60px; height: 72px; background: rgba(6,6,6,0.85); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255,255,255,0.06); }
.mu-ls .nav-logo { font-family: var(--mu-ls-display); font-size: 26px; letter-spacing: 0.08em; color: var(--mu-ls-white); }
.mu-ls .nav-logo span { color: var(--mu-ls-orange); }
.mu-ls .nav-links { display: flex; gap: 40px; }
.mu-ls .nav-link { font-size: 13px; letter-spacing: 0.05em; color: var(--mu-ls-mid); cursor: pointer; transition: color 0.2s; }
.mu-ls .nav-link:hover { color: var(--mu-ls-white); }
.mu-ls .nav-cta { font-size: 13px; letter-spacing: 0.08em; font-weight: 500; background: var(--mu-ls-orange); color: var(--mu-ls-white); padding: 11px 24px; border: none; cursor: pointer; transition: all 0.3s; font-family: inherit; }
.mu-ls .nav-cta:hover { background: #ff6620; }

.mu-ls .hero { min-height: 720px; display: grid; grid-template-columns: 1fr 1fr; position: relative; overflow: hidden; padding-top: 0; }
.mu-ls .hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px); background-size: 64px 64px; animation: mu-ls-grid 20s linear infinite; }
@keyframes mu-ls-grid { from { transform: translateY(0); } to { transform: translateY(64px); } }
.mu-ls .hero-glow { position: absolute; top: 20%; left: 30%; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle,var(--mu-ls-orange-glow) 0%,transparent 70%); pointer-events: none; animation: mu-ls-pulse 4s ease-in-out infinite; }
@keyframes mu-ls-pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.1); opacity: 0.7; } }

.mu-ls .hero-left { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: 80px 60px; border-right: 1px solid rgba(255,255,255,0.06); }
.mu-ls .hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mu-ls-orange); font-weight: 500; margin-bottom: 32px; }
.mu-ls .eyebrow-line { width: 32px; height: 1px; background: var(--mu-ls-orange); }
.mu-ls .hero-headline { font-family: var(--mu-ls-display); font-size: clamp(72px,8vw,130px); line-height: 0.92; letter-spacing: 0.02em; margin-bottom: 32px; animation: mu-ls-headlineIn 0.8s cubic-bezier(0.16,1,0.3,1) 0.1s both; }
.mu-ls .headline-accent { color: var(--mu-ls-orange); }
.mu-ls .headline-serif { font-family: var(--mu-ls-serif); font-style: italic; font-weight: 300; font-size: clamp(60px,7vw,110px); letter-spacing: -0.01em; display: block; line-height: 1; }
@keyframes mu-ls-headlineIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.mu-ls .hero-sub { font-size: 16px; color: var(--mu-ls-mid); line-height: 1.75; max-width: 420px; margin-bottom: 48px; font-weight: 300; animation: mu-ls-fadeUp 0.8s ease 0.3s both; }
@keyframes mu-ls-fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.mu-ls .hero-actions { display: flex; align-items: center; gap: 20px; animation: mu-ls-fadeUp 0.8s ease 0.45s both; margin-bottom: 60px; }
.mu-ls .btn-hero { font-family: var(--mu-ls-body); font-size: 14px; letter-spacing: 0.08em; font-weight: 500; padding: 16px 36px; border: none; cursor: pointer; transition: all 0.3s; display: flex; align-items: center; gap: 8px; }
.mu-ls .btn-hero.primary { background: var(--mu-ls-orange); color: var(--mu-ls-white); }
.mu-ls .btn-hero.primary:hover { background: #ff6620; transform: translateY(-1px); }
.mu-ls .btn-hero.secondary { background: transparent; color: var(--mu-ls-mid); border: 1px solid var(--mu-ls-dim); }
.mu-ls .btn-hero.secondary:hover { border-color: var(--mu-ls-mid); color: var(--mu-ls-white); }
.mu-ls .btn-arrow { font-size: 18px; transition: transform 0.2s; }
.mu-ls .btn-hero.primary:hover .btn-arrow { transform: translateX(3px); }
.mu-ls .hero-social-proof { display: flex; align-items: center; gap: 16px; animation: mu-ls-fadeUp 0.8s ease 0.55s both; }
.mu-ls .proof-avatars { display: flex; }
.mu-ls .proof-avatar { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--mu-ls-black); margin-left: -8px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; }
.mu-ls .proof-avatar:first-child { margin-left: 0; }
.mu-ls .proof-a { background: linear-gradient(135deg,#ff6b6b,#ee5a24); }
.mu-ls .proof-m { background: linear-gradient(135deg,#48dbfb,#0abde3); }
.mu-ls .proof-s { background: linear-gradient(135deg,#ff9f43,#ee5a24); }
.mu-ls .proof-k { background: linear-gradient(135deg,#a29bfe,#6c5ce7); }
.mu-ls .proof-plus { background: linear-gradient(135deg,#55efc4,#00b894); }
.mu-ls .proof-text { font-size: 13px; color: var(--mu-ls-mid); }
.mu-ls .proof-text strong { color: var(--mu-ls-white); }
.mu-ls .proof-stars { color: var(--mu-ls-orange); letter-spacing: 1px; font-size: 12px; }

.mu-ls .hero-right { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; padding: 80px 60px; }
.mu-ls .product-visual { position: relative; width: 100%; max-width: 460px; }
.mu-ls .product-main-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 4px; padding: 40px; backdrop-filter: blur(10px); position: relative; overflow: hidden; }
.mu-ls .product-main-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg,transparent,var(--mu-ls-orange),transparent); }
.mu-ls .product-screen-label { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,77,0,0.7); margin-bottom: 20px; font-weight: 500; }
.mu-ls .product-ui-mock { background: rgba(0,0,0,0.4); border-radius: 2px; overflow: hidden; }
.mu-ls .mock-topbar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.mu-ls .mock-dots { display: flex; gap: 6px; }
.mu-ls .mock-dot { width: 10px; height: 10px; border-radius: 50%; }
.mu-ls .mock-dot-r { background: #ff5f57; } .mu-ls .mock-dot-y { background: #febc2e; } .mu-ls .mock-dot-g { background: #28c840; }
.mu-ls .mock-url { font-size: 10px; color: rgba(255,255,255,0.2); font-family: monospace; }
.mu-ls .mock-content { padding: 20px 16px; }
.mu-ls .mock-metric { margin-bottom: 16px; }
.mu-ls .mock-metric-label { font-size: 10px; color: rgba(255,255,255,0.3); margin-bottom: 4px; letter-spacing: 0.1em; }
.mu-ls .mock-metric-value { font-family: var(--mu-ls-display); font-size: 32px; letter-spacing: 0.04em; }
.mu-ls .mock-metric-value.accent { color: var(--mu-ls-orange); }
.mu-ls .mock-bars { display: flex; align-items: flex-end; gap: 6px; height: 60px; margin-bottom: 12px; }
.mu-ls .mock-bar { flex: 1; border-radius: 2px 2px 0 0; background: rgba(255,255,255,0.1); transition: height 0.3s; }
.mu-ls .mock-bar.active { background: var(--mu-ls-orange); }
.mu-ls .mock-bottom { display: flex; gap: 8px; }
.mu-ls .mock-chip { font-size: 9px; letter-spacing: 0.1em; padding: 5px 10px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; color: rgba(255,255,255,0.5); }

.mu-ls .float-card { position: absolute; background: rgba(13,13,13,0.95); border: 1px solid rgba(255,255,255,0.1); border-radius: 3px; padding: 14px 18px; backdrop-filter: blur(20px); animation: mu-ls-float 6s ease-in-out infinite; z-index: 3; }
.mu-ls .float-card:nth-child(2) { animation-delay: -2s; }
@keyframes mu-ls-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.mu-ls .float-card.top-right { top: -16px; right: -20px; }
.mu-ls .float-card.bottom-left { bottom: 20px; left: -30px; }
.mu-ls .float-val { font-family: var(--mu-ls-display); font-size: 24px; letter-spacing: 0.05em; color: var(--mu-ls-orange); }
.mu-ls .float-label { font-size: 10px; color: var(--mu-ls-mid); letter-spacing: 0.1em; margin-top: 2px; }

.mu-ls .stats-strip { border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); display: grid; grid-template-columns: repeat(4,1fr); }
.mu-ls .stat-block { padding: 48px 60px; border-right: 1px solid rgba(255,255,255,0.06); position: relative; overflow: hidden; transition: background 0.3s; }
.mu-ls .stat-block:last-child { border-right: none; }
.mu-ls .stat-block:hover { background: rgba(255,255,255,0.02); }
.mu-ls .stat-block::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--mu-ls-orange); transform: scaleX(0); transform-origin: left; transition: transform 0.4s cubic-bezier(0.23,1,0.32,1); }
.mu-ls .stat-block:hover::after { transform: scaleX(1); }
.mu-ls .stat-number { font-family: var(--mu-ls-display); font-size: 56px; letter-spacing: 0.02em; line-height: 1; margin-bottom: 8px; }
.mu-ls .stat-number span { color: var(--mu-ls-orange); }
.mu-ls .stat-desc { font-size: 13px; color: var(--mu-ls-mid); line-height: 1.5; font-weight: 300; }

.mu-ls .features-section { padding: 120px 60px; }
.mu-ls .features-header { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-bottom: 80px; align-items: end; }
.mu-ls .feat-eyebrow { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mu-ls-orange); margin-bottom: 16px; font-weight: 500; }
.mu-ls .feat-headline { font-family: var(--mu-ls-display); font-size: clamp(48px,5vw,80px); letter-spacing: 0.02em; line-height: 0.95; }
.mu-ls .feat-desc { font-size: 15px; color: var(--mu-ls-mid); line-height: 1.8; font-weight: 300; max-width: 380px; }
.mu-ls .features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: rgba(255,255,255,0.06); }
.mu-ls .feature-item { background: var(--mu-ls-black); padding: 48px 40px; transition: background 0.3s; position: relative; overflow: hidden; }
.mu-ls .feature-item:hover { background: var(--mu-ls-offblack); }
.mu-ls .feature-item::before { content: attr(data-num); position: absolute; top: 24px; right: 24px; font-family: var(--mu-ls-display); font-size: 80px; color: rgba(255,255,255,0.03); letter-spacing: 0.04em; line-height: 1; }
.mu-ls .feature-icon { width: 48px; height: 48px; border: 1px solid rgba(255,77,0,0.3); display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 24px; transition: border-color 0.3s; }
.mu-ls .feature-item:hover .feature-icon { border-color: var(--mu-ls-orange); }
.mu-ls .feature-name { font-family: var(--mu-ls-serif); font-size: 22px; font-weight: 300; margin-bottom: 12px; }
.mu-ls .feature-name em { font-style: italic; color: var(--mu-ls-orange); }
.mu-ls .feature-desc { font-size: 13px; color: var(--mu-ls-mid); line-height: 1.75; font-weight: 300; }

.mu-ls .cta-section { padding: 120px 60px; display: flex; flex-direction: column; align-items: center; text-align: center; border-top: 1px solid rgba(255,255,255,0.06); position: relative; overflow: hidden; }
.mu-ls .cta-glow { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 800px; height: 400px; background: radial-gradient(ellipse,var(--mu-ls-orange-glow) 0%,transparent 65%); }
.mu-ls .cta-pre { font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--mu-ls-orange); margin-bottom: 24px; font-weight: 500; position: relative; z-index: 2; }
.mu-ls .cta-headline { font-family: var(--mu-ls-display); font-size: clamp(60px,8vw,120px); letter-spacing: 0.02em; line-height: 0.92; margin-bottom: 32px; position: relative; z-index: 2; }
.mu-ls .cta-headline em { font-family: var(--mu-ls-serif); font-style: italic; font-weight: 300; font-size: 0.85em; }
.mu-ls .cta-sub { font-size: 16px; color: var(--mu-ls-mid); max-width: 500px; margin-bottom: 48px; line-height: 1.7; font-weight: 300; position: relative; z-index: 2; }
.mu-ls .cta-form { display: flex; gap: 0; max-width: 460px; width: 100%; position: relative; z-index: 2; }
.mu-ls .cta-input { flex: 1; font-family: var(--mu-ls-body); font-size: 14px; padding: 16px 20px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-right: none; color: var(--mu-ls-white); outline: none; transition: border-color 0.2s; }
.mu-ls .cta-input::placeholder { color: var(--mu-ls-mid); }
.mu-ls .cta-input:focus { border-color: rgba(255,77,0,0.4); }
.mu-ls .cta-submit { font-family: var(--mu-ls-body); font-size: 13px; letter-spacing: 0.1em; font-weight: 500; padding: 16px 28px; background: var(--mu-ls-orange); color: var(--mu-ls-white); border: none; cursor: pointer; text-transform: uppercase; transition: background 0.2s; }
.mu-ls .cta-submit:hover { background: #ff6620; }
.mu-ls .cta-note { font-size: 12px; color: var(--mu-ls-dim); margin-top: 14px; position: relative; z-index: 2; }

.mu-ls .footer { border-top: 1px solid rgba(255,255,255,0.06); padding: 40px 60px; display: flex; align-items: center; justify-content: space-between; }
.mu-ls .footer-logo { font-family: var(--mu-ls-display); font-size: 20px; letter-spacing: 0.08em; }
.mu-ls .footer-logo span { color: var(--mu-ls-orange); }
.mu-ls .footer-links { display: flex; gap: 32px; }
.mu-ls .footer-link { font-size: 12px; color: var(--mu-ls-dim); cursor: pointer; transition: color 0.2s; }
.mu-ls .footer-link:hover { color: var(--mu-ls-white); }
.mu-ls .footer-copy { font-size: 12px; color: var(--mu-ls-dim); }

@media (max-width: 900px) {
  .mu-ls .topnav { padding: 0 24px; }
  .mu-ls .nav-links { display: none; }
  .mu-ls .hero { grid-template-columns: 1fr; }
  .mu-ls .hero-left, .mu-ls .hero-right { padding: 48px 24px; border-right: none; }
  .mu-ls .stats-strip { grid-template-columns: 1fr 1fr; }
  .mu-ls .stat-block { padding: 28px 24px; }
  .mu-ls .features-section { padding: 64px 24px; }
  .mu-ls .features-header { grid-template-columns: 1fr; gap: 24px; }
  .mu-ls .features-grid { grid-template-columns: 1fr; }
  .mu-ls .cta-section { padding: 64px 24px; }
  .mu-ls .footer { padding: 24px; flex-direction: column; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .mu-ls .hero-grid, .mu-ls .hero-glow, .mu-ls .hero-headline, .mu-ls .hero-sub, .mu-ls .hero-actions, .mu-ls .hero-social-proof, .mu-ls .float-card { animation: none !important; }
}
(() => {
  // Scoped landing-page animations. Rebuilds the mock bars + animated
  // counter targeting scoped attributes inside .mu-ls only, and stores
  // its intervals on the wrapper so a second instance of the demo
  // doesn't double-fire timers.
  const root = document.querySelector('.mu-ls');
  if (!root) return;
  const bars = root.querySelector('[data-mu-ls-bars]');
  const counter = root.querySelector('[data-mu-ls-counter]');
  if (!bars || !counter || bars.childElementCount > 0) return;

  const barData = [30, 50, 40, 70, 55, 90, 65, 80, 45, 75, 60, 95];
  barData.forEach((h, i) => {
    const b = document.createElement('div');
    b.className = 'mock-bar' + (i === 11 ? ' active' : '');
    b.style.height = h + '%';
    b.style.transition = 'height 0.5s ease';
    bars.appendChild(b);
  });

  let count = 12840;
  const counterTimer = setInterval(() => {
    count += Math.floor(Math.random() * 40 - 10);
    counter.textContent = count.toLocaleString();
  }, 800);

  const animTimer = setInterval(() => {
    bars.querySelectorAll('.mock-bar').forEach(b => {
      const h = 20 + Math.random() * 75;
      b.style.height = h + '%';
    });
  }, 2000);

  // Stash timers on the wrapper so an external lifecycle (e.g. a
  // gallery re-mount) can stop them if needed.
  root._muLsTimers = [counterTimer, animTimer];
})();

Search CodeFronts

Loading…