SaaS — SaaS Landing
A crisp, trustworthy SaaS marketing home for a fictional team-planning tool. Includes a sticky nav with mobile menu, a hero with primary and secondary calls to action, an interactive product preview that swaps between board, timeline, and insights views, a logo cloud, a feature trio with icons, an animated count-up metrics band, a customer testimonial, a three-tier pricing teaser, a gradient final CTA, and a multi-column footer. Ships with a persisted light and dark theme toggle plus scroll-reveal.
MCP
Code
/* ============ Cadence — SaaS Landing ============ */
:root {
--bg: #f7f8fb;
--surface: #ffffff;
--surface-2: #f1f3f9;
--ink: #0f1222;
--ink-soft: #2a2f45;
--muted: #646b85;
--brand: #6366f1;
--brand-d: #4f46e5;
--brand-soft: rgba(99, 102, 241, .12);
--ok: #16a34a;
--warn: #d97706;
--danger: #dc2626;
--line: rgba(15, 18, 34, .1);
--line-2: rgba(15, 18, 34, .06);
--shadow-sm: 0 1px 2px rgba(15, 18, 34, .06), 0 1px 1px rgba(15, 18, 34, .04);
--shadow-md: 0 10px 30px -12px rgba(15, 18, 34, .22);
--shadow-lg: 0 30px 70px -30px rgba(40, 32, 120, .4);
--radius: 14px;
--radius-sm: 10px;
--maxw: 1140px;
--header-h: 66px;
}
[data-theme="dark"] {
--bg: #0b0d18;
--surface: #14172a;
--surface-2: #1b1f37;
--ink: #f3f4fb;
--ink-soft: #d6d9ea;
--muted: #9aa1bf;
--brand: #818cf8;
--brand-d: #6366f1;
--brand-soft: rgba(129, 140, 248, .16);
--line: rgba(255, 255, 255, .12);
--line-2: rgba(255, 255, 255, .07);
--shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
--shadow-md: 0 14px 36px -14px rgba(0, 0, 0, .6);
--shadow-lg: 0 36px 80px -34px rgba(0, 0, 0, .8);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) {
html { scroll-behavior: auto; }
* { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
margin: 0;
font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
background: var(--bg);
color: var(--ink);
line-height: 1.55;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
transition: background .3s ease, color .3s ease;
}
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }
.skip-link {
position: absolute; left: 12px; top: -60px; z-index: 200;
background: var(--brand); color: #fff; padding: 10px 16px;
border-radius: 8px; font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 12px; }
:focus-visible {
outline: 2px solid var(--brand);
outline-offset: 2px;
border-radius: 6px;
}
/* ---------- Buttons ---------- */
.btn {
--b: var(--brand);
display: inline-flex; align-items: center; justify-content: center; gap: 8px;
font: inherit; font-weight: 600; font-size: .94rem;
padding: 10px 18px; border-radius: 10px; border: 1px solid transparent;
cursor: pointer; white-space: nowrap;
transition: transform .12s ease, background .18s ease, box-shadow .18s ease, border-color .18s ease, color .18s;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 13px 24px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px -6px var(--brand); }
.btn-primary:hover { background: var(--brand-d); box-shadow: 0 10px 24px -8px var(--brand); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.btn-ghost { background: transparent; color: var(--ink-soft); }
.btn-ghost:hover { color: var(--brand); background: var(--brand-soft); }
/* ---------- Header / Nav ---------- */
.site-header {
position: sticky; top: 0; z-index: 100;
background: color-mix(in srgb, var(--surface) 82%, transparent);
backdrop-filter: saturate(160%) blur(12px);
border-bottom: 1px solid var(--line-2);
}
.nav-wrap { display: flex; align-items: center; gap: 18px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.12rem; letter-spacing: -.02em; }
.brand-mark { color: var(--brand); display: inline-flex; }
.brand-name { color: var(--ink); }
.primary-nav { margin-left: 8px; }
.primary-nav ul { display: flex; gap: 4px; }
.primary-nav a {
display: inline-block; padding: 8px 12px; border-radius: 8px;
color: var(--muted); font-weight: 500; font-size: .94rem;
transition: color .15s, background .15s;
}
.primary-nav a:hover { color: var(--ink); background: var(--surface-2); }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.theme-toggle {
display: inline-grid; place-items: center;
width: 38px; height: 38px; border-radius: 10px;
border: 1px solid var(--line); background: var(--surface); color: var(--ink-soft);
cursor: pointer; transition: border-color .15s, color .15s, background .15s;
}
.theme-toggle:hover { border-color: var(--brand); color: var(--brand); }
.theme-icon { display: none; }
.theme-icon.sun { display: inline-flex; }
[data-theme="dark"] .theme-icon.sun { display: none; }
[data-theme="dark"] .theme-icon.moon { display: inline-flex; }
.nav-toggle {
display: none; flex-direction: column; gap: 5px;
width: 40px; height: 38px; padding: 9px 8px; border-radius: 10px;
border: 1px solid var(--line); background: var(--surface); cursor: pointer;
}
.nav-toggle span { height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.hero::before {
content: ""; position: absolute; inset: 0; z-index: -1;
background:
radial-gradient(60% 50% at 85% 0%, var(--brand-soft), transparent 70%),
radial-gradient(50% 50% at 10% 20%, rgba(14, 165, 233, .1), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.eyebrow {
display: inline-flex; align-items: center; gap: 8px;
padding: 6px 12px 6px 10px; border-radius: 999px;
background: var(--surface); border: 1px solid var(--line);
color: var(--ink-soft); font-size: .82rem; font-weight: 600;
box-shadow: var(--shadow-sm); margin-bottom: 22px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.hero-copy h1 { font-size: clamp(2.3rem, 5.2vw, 3.6rem); font-weight: 800; }
.lede { margin-top: 18px; font-size: clamp(1.04rem, 2vw, 1.22rem); color: var(--muted); max-width: 30ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 16px; font-size: .85rem; color: var(--muted); }
/* ---------- Hero preview ---------- */
.hero-preview { position: relative; }
.preview-glow {
position: absolute; inset: 8% 6% -8% 6%; z-index: -1; border-radius: 30px;
background: radial-gradient(60% 60% at 50% 40%, var(--brand), transparent 70%);
filter: blur(48px); opacity: .35;
}
.preview-card {
background: var(--surface); border: 1px solid var(--line);
border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden;
}
.preview-toolbar {
display: flex; align-items: center; gap: 7px;
padding: 11px 14px; border-bottom: 1px solid var(--line-2); background: var(--surface-2);
}
.tdot { width: 11px; height: 11px; border-radius: 50%; }
.tdot.r { background: #ff5f57; } .tdot.y { background: #febc2e; } .tdot.g { background: #28c840; }
.preview-url {
margin-left: 10px; font-size: .78rem; color: var(--muted);
background: var(--surface); border: 1px solid var(--line-2);
padding: 3px 12px; border-radius: 999px;
}
.preview-tabs { display: flex; gap: 4px; padding: 12px 12px 0; border-bottom: 1px solid var(--line-2); }
.ptab {
font: inherit; font-weight: 600; font-size: .86rem; color: var(--muted);
background: transparent; border: none; cursor: pointer;
padding: 9px 14px; border-radius: 8px 8px 0 0; position: relative;
transition: color .15s, background .15s;
}
.ptab:hover { color: var(--ink); background: var(--surface-2); }
.ptab.is-active { color: var(--brand); }
.ptab.is-active::after {
content: ""; position: absolute; left: 8px; right: 8px; bottom: -1px;
height: 2px; background: var(--brand); border-radius: 2px;
}
.preview-body { padding: 16px; min-height: 244px; }
.ppanel { animation: fade .35s ease; }
.ppanel[hidden] { display: none; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
/* Board */
.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.col-head { display: flex; justify-content: space-between; align-items: center; font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.col-head .count { background: var(--surface-2); border-radius: 999px; padding: 1px 8px; color: var(--ink-soft); }
.ticket {
background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
padding: 10px; font-size: .8rem; font-weight: 500; color: var(--ink-soft);
margin-bottom: 8px; box-shadow: var(--shadow-sm); position: relative;
display: flex; flex-direction: column; gap: 6px;
}
.ticket.done { opacity: .62; }
.ticket.done::after {
content: "✓"; position: absolute; right: 9px; top: 9px;
color: var(--ok); font-weight: 700; font-size: .85rem;
}
.tag { align-self: flex-start; font-size: .64rem; font-weight: 700; padding: 2px 7px; border-radius: 6px; text-transform: uppercase; letter-spacing: .03em; }
.tag-blue { background: rgba(14, 165, 233, .14); color: #0284c7; }
.tag-amber { background: rgba(217, 119, 6, .16); color: #b45309; }
.tag-violet { background: var(--brand-soft); color: var(--brand-d); }
.tag-green { background: rgba(22, 163, 74, .14); color: #15803d; }
[data-theme="dark"] .tag-blue { color: #7dd3fc; }
[data-theme="dark"] .tag-amber { color: #fcd34d; }
[data-theme="dark"] .tag-green { color: #86efac; }
[data-theme="dark"] .tag-violet { color: #c7d2fe; }
.avatars { display: inline-flex; }
.avatars i {
width: 18px; height: 18px; border-radius: 50%; margin-left: -6px;
border: 2px solid var(--surface);
background: linear-gradient(135deg, var(--brand), #0ea5e9);
}
.avatars i:first-child { margin-left: 0; }
/* Timeline */
.timeline { padding-top: 4px; }
.tl-row { display: grid; grid-template-columns: 72px 1fr; align-items: center; gap: 10px; height: 32px; }
.tl-label { font-size: .76rem; font-weight: 600; color: var(--muted); text-align: right; }
.tl-bar {
position: relative; height: 14px; border-radius: 7px;
background: linear-gradient(180deg, color-mix(in srgb, var(--c) 88%, white), var(--c));
margin-left: calc(var(--start)); width: var(--len);
box-shadow: 0 2px 6px -2px var(--c);
animation: grow .7s cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes grow { from { width: 0; opacity: 0; } }
.tl-grid { display: grid; grid-template-columns: 72px repeat(4, 1fr); margin-top: 6px; }
.tl-grid span { grid-column: span 1; font-size: .68rem; color: var(--muted); text-align: center; }
.tl-grid span:first-child { display: none; }
/* Insights */
.insights { display: grid; grid-template-columns: 1fr 1.2fr; grid-template-rows: auto auto; gap: 14px 18px; align-items: center; }
.insight-stat { display: flex; flex-direction: column; gap: 3px; }
.is-label { font-size: .76rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.is-num { font-size: 2rem; font-weight: 800; letter-spacing: -.03em; }
.is-trend { font-size: .8rem; font-weight: 600; }
.is-trend.up { color: var(--ok); }
.spark { grid-row: 1 / 3; grid-column: 2; width: 100%; height: 96px; }
.insight-bars { grid-column: 1; display: flex; align-items: flex-end; gap: 6px; height: 56px; }
.insight-bars span { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--brand), var(--brand-d)); opacity: .85; }
/* ---------- Logo cloud ---------- */
.logos { padding: clamp(28px, 5vw, 48px) 0; }
.logos-label { text-align: center; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.logo-row {
display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
gap: clamp(20px, 5vw, 52px); margin-top: 22px;
}
.logo-row li {
font-size: clamp(1.05rem, 2.4vw, 1.4rem); font-weight: 800; letter-spacing: -.02em;
color: var(--muted); opacity: .72; transition: opacity .2s, color .2s;
}
.logo-row li:hover { opacity: 1; color: var(--ink); }
/* ---------- Section heads ---------- */
.section-head { max-width: 620px; margin: 0 auto clamp(32px, 5vw, 52px); text-align: center; }
.kicker { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 1.05rem; }
/* ---------- Features ---------- */
.features { padding: clamp(48px, 8vw, 88px) 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
padding: 28px 24px; box-shadow: var(--shadow-sm);
transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.feat-icon {
display: inline-grid; place-items: center; width: 48px; height: 48px;
border-radius: 12px; background: var(--brand-soft); color: var(--brand);
margin-bottom: 18px;
}
.feature h3 { font-size: 1.2rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: .96rem; }
/* ---------- Metrics ---------- */
.metrics { padding: clamp(36px, 6vw, 60px) 0; }
.metrics-grid {
display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
padding: clamp(26px, 4vw, 40px) clamp(20px, 4vw, 36px); box-shadow: var(--shadow-md);
background-image: linear-gradient(120deg, var(--brand-soft), transparent 55%);
}
.metric { text-align: center; }
.metric strong { display: block; font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 800; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.metric span { display: block; margin-top: 4px; font-size: .9rem; color: var(--muted); font-weight: 500; }
/* ---------- Testimonial ---------- */
.testimonial { padding: clamp(40px, 7vw, 80px) 0; }
.quote {
position: relative; margin: 0; max-width: 800px; margin-inline: auto; text-align: center;
background: var(--surface); border: 1px solid var(--line); border-radius: 22px;
padding: clamp(32px, 5vw, 56px); box-shadow: var(--shadow-md); overflow: hidden;
}
.quote::before {
content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
background: linear-gradient(90deg, var(--brand), #0ea5e9);
}
.quote-mark { font-size: 4rem; line-height: .6; color: var(--brand); opacity: .25; font-weight: 800; }
.quote blockquote {
margin: 8px 0 26px; font-size: clamp(1.15rem, 2.6vw, 1.6rem); font-weight: 600;
letter-spacing: -.01em; color: var(--ink-soft);
}
.quote figcaption { display: inline-flex; align-items: center; gap: 13px; }
.avatar-lg {
display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
background: linear-gradient(135deg, var(--brand), #0ea5e9); color: #fff; font-weight: 700; font-size: .95rem;
}
.who { text-align: left; display: flex; flex-direction: column; }
.who strong { font-size: 1rem; }
.who span { font-size: .86rem; color: var(--muted); }
/* ---------- Pricing ---------- */
.pricing { padding: clamp(48px, 8vw, 88px) 0; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan {
position: relative; display: flex; flex-direction: column;
background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
padding: 28px 24px; box-shadow: var(--shadow-sm);
transition: transform .2s, box-shadow .2s;
}
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.plan-featured {
border-color: var(--brand);
box-shadow: var(--shadow-md), 0 0 0 1px var(--brand) inset;
background-image: linear-gradient(180deg, var(--brand-soft), transparent 40%);
}
.plan-badge {
position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
background: var(--brand); color: #fff; font-size: .72rem; font-weight: 700;
padding: 4px 12px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.plan h3 { font-size: 1.15rem; }
.plan-price { margin: 14px 0 4px; display: flex; align-items: baseline; gap: 6px; }
.plan-price .amt { font-size: 2.3rem; font-weight: 800; letter-spacing: -.03em; }
.plan-price .per { font-size: .9rem; color: var(--muted); font-weight: 500; }
.plan-blurb { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
.plan-feats { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; flex: 1; }
.plan-feats li { position: relative; padding-left: 26px; font-size: .92rem; color: var(--ink-soft); }
.plan-feats li::before {
content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px;
border-radius: 50%; background: var(--brand-soft);
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236366f1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
background-repeat: no-repeat; background-position: center; background-size: 11px;
}
/* ---------- Final CTA ---------- */
.final-cta { padding: clamp(20px, 5vw, 48px) 0 clamp(56px, 9vw, 96px); }
.cta-inner {
text-align: center; border-radius: 24px; padding: clamp(40px, 7vw, 72px) 24px;
background: linear-gradient(135deg, var(--brand-d), var(--brand) 60%, #0ea5e9);
color: #fff; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.cta-inner::after {
content: ""; position: absolute; inset: 0;
background: radial-gradient(50% 80% at 80% 0%, rgba(255, 255, 255, .25), transparent 60%);
}
.cta-inner h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; position: relative; }
.cta-inner p { margin: 14px auto 28px; max-width: 46ch; color: rgba(255, 255, 255, .9); position: relative; }
.cta-inner .btn-primary { background: #fff; color: var(--brand-d); position: relative; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .35); }
.cta-inner .btn-primary:hover { background: #f1f1ff; }
/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding: clamp(40px, 6vw, 64px) 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand p { margin-top: 12px; color: var(--muted); font-size: .92rem; max-width: 24ch; }
.foot-col h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); margin-bottom: 14px; }
.foot-col a { display: block; color: var(--muted); font-size: .92rem; padding: 5px 0; transition: color .15s; }
.foot-col a:hover { color: var(--brand); }
.foot-bottom {
display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line-2);
font-size: .84rem; color: var(--muted);
}
.foot-status { display: inline-flex; align-items: center; gap: 8px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(22, 163, 74, .2); }
/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
/* ---------- Toast ---------- */
.toast {
position: fixed; bottom: 22px; left: 50%; transform: translate(-50%, 20px);
background: var(--ink); color: var(--bg); padding: 12px 20px; border-radius: 12px;
font-weight: 600; font-size: .92rem; box-shadow: var(--shadow-lg);
opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 300;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
/* ---------- Responsive ---------- */
@media (max-width: 940px) {
.hero-grid { grid-template-columns: 1fr; }
.hero-preview { order: -1; }
.lede { max-width: none; }
.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
.primary-nav {
position: absolute; left: 0; right: 0; top: var(--header-h);
background: var(--surface); border-bottom: 1px solid var(--line);
box-shadow: var(--shadow-md);
max-height: 0; overflow: hidden; transition: max-height .3s ease; margin: 0;
}
.primary-nav.open { max-height: 320px; }
.primary-nav ul { flex-direction: column; gap: 0; padding: 8px 16px 16px; }
.primary-nav a { display: block; padding: 12px 8px; border-radius: 8px; font-size: 1rem; }
.login-link { display: none; }
.nav-toggle { display: flex; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.feature-grid, .plan-grid { grid-template-columns: 1fr; }
.metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 14px; }
}
@media (max-width: 480px) {
.footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
.foot-brand { grid-column: 1 / -1; }
.board { grid-template-columns: 1fr; }
.board .col:not(:first-child) .ticket.done ~ .ticket { display: block; }
.preview-body { min-height: 0; }
.insights { grid-template-columns: 1fr; }
.spark { grid-row: auto; grid-column: 1; }
.insight-bars { grid-column: 1; }
}/* ============ Cadence — SaaS Landing ============ */
(function () {
"use strict";
/* ---------- toast helper ---------- */
var toastEl = document.createElement("div");
toastEl.className = "toast";
toastEl.setAttribute("role", "status");
toastEl.setAttribute("aria-live", "polite");
document.body.appendChild(toastEl);
var toastTimer;
function toast(msg) {
toastEl.textContent = msg;
toastEl.classList.add("show");
clearTimeout(toastTimer);
toastTimer = setTimeout(function () {
toastEl.classList.remove("show");
}, 2600);
}
/* ---------- theme toggle (persisted) ---------- */
var root = document.documentElement;
var themeBtn = document.getElementById("themeToggle");
var stored;
try { stored = localStorage.getItem("cadence-theme"); } catch (e) {}
if (stored === "dark" || stored === "light") {
root.setAttribute("data-theme", stored);
} else if (window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches) {
root.setAttribute("data-theme", "dark");
}
function syncThemeBtn() {
var dark = root.getAttribute("data-theme") === "dark";
if (themeBtn) themeBtn.setAttribute("aria-pressed", String(dark));
}
syncThemeBtn();
if (themeBtn) {
themeBtn.addEventListener("click", function () {
var dark = root.getAttribute("data-theme") === "dark";
var next = dark ? "light" : "dark";
root.setAttribute("data-theme", next);
try { localStorage.setItem("cadence-theme", next); } catch (e) {}
syncThemeBtn();
toast(next === "dark" ? "Dark mode on" : "Light mode on");
});
}
/* ---------- mobile nav ---------- */
var navToggle = document.getElementById("navToggle");
var nav = document.querySelector(".primary-nav");
function closeNav() {
if (!navToggle || !nav) return;
navToggle.setAttribute("aria-expanded", "false");
navToggle.classList.remove("open");
nav.classList.remove("open");
}
if (navToggle && nav) {
navToggle.addEventListener("click", function () {
var open = navToggle.getAttribute("aria-expanded") === "true";
navToggle.setAttribute("aria-expanded", String(!open));
navToggle.classList.toggle("open", !open);
nav.classList.toggle("open", !open);
});
nav.addEventListener("click", function (e) {
if (e.target.closest("a")) closeNav();
});
document.addEventListener("keydown", function (e) {
if (e.key === "Escape") closeNav();
});
}
/* ---------- product preview tabs ---------- */
var tabs = Array.prototype.slice.call(document.querySelectorAll(".ptab"));
function panelFor(tab) {
return document.getElementById(tab.getAttribute("aria-controls"));
}
function activateTab(tab, focus) {
tabs.forEach(function (t) {
var on = t === tab;
t.classList.toggle("is-active", on);
t.setAttribute("aria-selected", String(on));
t.tabIndex = on ? 0 : -1;
var panel = panelFor(t);
if (panel) {
if (on) { panel.removeAttribute("hidden"); panel.classList.add("is-active"); }
else { panel.setAttribute("hidden", ""); panel.classList.remove("is-active"); }
}
});
if (focus) tab.focus();
}
tabs.forEach(function (tab, i) {
tab.addEventListener("click", function () { activateTab(tab); });
tab.addEventListener("keydown", function (e) {
var dir = e.key === "ArrowRight" ? 1 : e.key === "ArrowLeft" ? -1 : 0;
if (!dir) return;
e.preventDefault();
activateTab(tabs[(i + dir + tabs.length) % tabs.length], true);
});
});
/* ---------- scroll reveal ---------- */
var reveals = Array.prototype.slice.call(document.querySelectorAll(".reveal"));
if ("IntersectionObserver" in window) {
var io = new IntersectionObserver(function (entries) {
entries.forEach(function (en) {
if (en.isIntersecting) {
en.target.classList.add("in");
io.unobserve(en.target);
}
});
}, { threshold: 0.12, rootMargin: "0px 0px -40px 0px" });
reveals.forEach(function (el) { io.observe(el); });
} else {
reveals.forEach(function (el) { el.classList.add("in"); });
}
/* ---------- count-up metrics ---------- */
var counters = Array.prototype.slice.call(document.querySelectorAll("[data-count]"));
function fmt(val, decimals) {
if (decimals > 0) return val.toFixed(decimals);
return Math.round(val).toLocaleString("en-US");
}
function runCounter(el) {
var target = parseFloat(el.getAttribute("data-count"));
var suffix = el.getAttribute("data-suffix") || "";
var decimals = parseInt(el.getAttribute("data-decimals") || "0", 10);
var start = null, dur = 1500;
function step(ts) {
if (start === null) start = ts;
var p = Math.min((ts - start) / dur, 1);
var eased = 1 - Math.pow(1 - p, 3);
el.textContent = fmt(target * eased, decimals) + suffix;
if (p < 1) requestAnimationFrame(step);
}
requestAnimationFrame(step);
}
if ("IntersectionObserver" in window) {
var cio = new IntersectionObserver(function (entries) {
entries.forEach(function (en) {
if (en.isIntersecting) { runCounter(en.target); cio.unobserve(en.target); }
});
}, { threshold: 0.6 });
counters.forEach(function (el) { cio.observe(el); });
} else {
counters.forEach(runCounter);
}
/* ---------- CTA / plan buttons feedback ---------- */
document.querySelectorAll(".plan .btn, .final-cta .btn, .hero-cta .btn").forEach(function (a) {
a.addEventListener("click", function (e) {
var href = a.getAttribute("href") || "";
if (href.charAt(0) === "#") return; // let in-page anchors scroll
e.preventDefault();
var label = a.textContent.trim();
toast(/sales/i.test(label) ? "Opening sales chat…" : "Spinning up your free workspace…");
});
});
})();<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Cadence — Ship work, not status updates</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="style.css" />
</head>
<body>
<a class="skip-link" href="#main">Skip to content</a>
<header class="site-header" id="top">
<div class="wrap nav-wrap">
<a class="brand" href="#top" aria-label="Cadence home">
<span class="brand-mark" aria-hidden="true">
<svg width="22" height="22" viewBox="0 0 22 22" fill="none">
<rect x="1.5" y="1.5" width="19" height="19" rx="6" stroke="currentColor" stroke-width="1.6"/>
<path d="M6.5 11.5l3 3 6-7" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</span>
<span class="brand-name">Cadence</span>
</a>
<nav class="primary-nav" aria-label="Primary">
<ul id="nav-list">
<li><a href="#features">Features</a></li>
<li><a href="#metrics">Customers</a></li>
<li><a href="#pricing">Pricing</a></li>
<li><a href="#testimonial">Story</a></li>
</ul>
</nav>
<div class="nav-actions">
<button class="theme-toggle" id="themeToggle" type="button" aria-pressed="false" aria-label="Toggle dark mode">
<span class="theme-icon sun" aria-hidden="true">
<svg width="18" height="18" viewBox="0 0 24 24" fill="none"><circle cx="12" cy="12" r="4.5" stroke="currentColor" stroke-width="1.7"/><path d="M12 2.5v2M12 19.5v2M21.5 12h-2M4.5 12h-2M18.4 5.6l-1.4 1.4M7 17l-1.4 1.4M18.4 18.4 17 17M7 7 5.6 5.6" stroke="currentColor" stroke-width="1.7" stroke-linecap="round"/></svg>
</span>
<span class="theme-icon moon" aria-hidden="true">
<svg width="18" height="18" viewBox="0 0 24 24" fill="none"><path d="M20 14.5A8 8 0 1 1 9.5 4a6.5 6.5 0 0 0 10.5 10.5Z" stroke="currentColor" stroke-width="1.7" stroke-linejoin="round"/></svg>
</span>
</button>
<a class="btn btn-ghost login-link" href="#">Log in</a>
<a class="btn btn-primary" href="#pricing">Start free</a>
<button class="nav-toggle" id="navToggle" type="button" aria-expanded="false" aria-controls="nav-list" aria-label="Open menu">
<span></span><span></span><span></span>
</button>
</div>
</div>
</header>
<main id="main">
<!-- HERO -->
<section class="hero" aria-labelledby="hero-title">
<div class="wrap hero-grid">
<div class="hero-copy reveal">
<span class="eyebrow"><span class="dot" aria-hidden="true"></span> New · Sprint forecasting in beta</span>
<h1 id="hero-title">Ship work, not status updates.</h1>
<p class="lede">Cadence turns scattered tasks, docs, and standups into one calm planning surface — so your team always knows what's next without another meeting.</p>
<div class="hero-cta">
<a class="btn btn-primary btn-lg" href="#pricing">Start free — 14 days</a>
<a class="btn btn-outline btn-lg" href="#features">See how it works</a>
</div>
<p class="hero-note">No credit card · Unlimited viewers · Cancel anytime</p>
</div>
<div class="hero-preview reveal" aria-label="Product preview">
<div class="preview-card">
<div class="preview-toolbar">
<span class="tdot r" aria-hidden="true"></span>
<span class="tdot y" aria-hidden="true"></span>
<span class="tdot g" aria-hidden="true"></span>
<span class="preview-url">app.cadence.io</span>
</div>
<div class="preview-tabs" role="tablist" aria-label="Product views">
<button class="ptab is-active" role="tab" id="tab-board" aria-selected="true" aria-controls="panel-board">Board</button>
<button class="ptab" role="tab" id="tab-timeline" aria-selected="false" aria-controls="panel-timeline" tabindex="-1">Timeline</button>
<button class="ptab" role="tab" id="tab-insights" aria-selected="false" aria-controls="panel-insights" tabindex="-1">Insights</button>
</div>
<div class="preview-body">
<!-- Board -->
<div class="ppanel is-active" id="panel-board" role="tabpanel" aria-labelledby="tab-board">
<div class="board">
<div class="col">
<div class="col-head"><span>To do</span><span class="count">3</span></div>
<div class="ticket"><span class="tag tag-blue">Design</span>Onboarding empty states</div>
<div class="ticket"><span class="tag tag-amber">API</span>Rate-limit webhook</div>
<div class="ticket"><span class="tag tag-violet">Growth</span>Pricing A/B test</div>
</div>
<div class="col">
<div class="col-head"><span>In progress</span><span class="count">2</span></div>
<div class="ticket"><span class="tag tag-green">Build</span>Sprint forecast model<span class="avatars" aria-hidden="true"><i></i><i></i></span></div>
<div class="ticket"><span class="tag tag-blue">Design</span>Dark mode pass<span class="avatars" aria-hidden="true"><i></i></span></div>
</div>
<div class="col">
<div class="col-head"><span>Done</span><span class="count">4</span></div>
<div class="ticket done"><span class="tag tag-green">Build</span>Realtime presence</div>
<div class="ticket done"><span class="tag tag-amber">API</span>SSO via SAML</div>
</div>
</div>
</div>
<!-- Timeline -->
<div class="ppanel" id="panel-timeline" role="tabpanel" aria-labelledby="tab-timeline" hidden>
<div class="timeline">
<div class="tl-row"><span class="tl-label">Discovery</span><span class="tl-bar" style="--start:0%;--len:28%;--c:var(--brand)"></span></div>
<div class="tl-row"><span class="tl-label">Design</span><span class="tl-bar" style="--start:18%;--len:34%;--c:#0ea5e9"></span></div>
<div class="tl-row"><span class="tl-label">Build</span><span class="tl-bar" style="--start:40%;--len:42%;--c:#16a34a"></span></div>
<div class="tl-row"><span class="tl-label">QA</span><span class="tl-bar" style="--start:70%;--len:20%;--c:#d97706"></span></div>
<div class="tl-row"><span class="tl-label">Launch</span><span class="tl-bar" style="--start:86%;--len:12%;--c:#dc2626"></span></div>
<div class="tl-grid" aria-hidden="true"><span>Wk 1</span><span>Wk 2</span><span>Wk 3</span><span>Wk 4</span></div>
</div>
</div>
<!-- Insights -->
<div class="ppanel" id="panel-insights" role="tabpanel" aria-labelledby="tab-insights" hidden>
<div class="insights">
<div class="insight-stat">
<span class="is-label">Velocity</span>
<strong class="is-num">42 pts</strong>
<span class="is-trend up">▲ 12% vs last sprint</span>
</div>
<svg class="spark" viewBox="0 0 240 90" preserveAspectRatio="none" aria-hidden="true">
<defs>
<linearGradient id="fill" x1="0" y1="0" x2="0" y2="1">
<stop offset="0" stop-color="var(--brand)" stop-opacity=".28"/>
<stop offset="1" stop-color="var(--brand)" stop-opacity="0"/>
</linearGradient>
</defs>
<path d="M0,70 L40,58 L80,62 L120,40 L160,46 L200,26 L240,18 L240,90 L0,90 Z" fill="url(#fill)"/>
<path d="M0,70 L40,58 L80,62 L120,40 L160,46 L200,26 L240,18" fill="none" stroke="var(--brand)" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
<div class="insight-bars">
<span style="--h:48%"></span><span style="--h:66%"></span><span style="--h:40%"></span>
<span style="--h:82%"></span><span style="--h:58%"></span><span style="--h:90%"></span>
</div>
</div>
</div>
</div>
</div>
<div class="preview-glow" aria-hidden="true"></div>
</div>
</div>
</section>
<!-- LOGO CLOUD -->
<section class="logos reveal" aria-label="Trusted by teams">
<div class="wrap">
<p class="logos-label">Trusted by product teams at</p>
<ul class="logo-row">
<li>Northwind</li>
<li>Lumen</li>
<li>Quartz Labs</li>
<li>Hearth</li>
<li>Voyage</li>
<li>Pinepoint</li>
</ul>
</div>
</section>
<!-- FEATURE TRIO -->
<section class="features" id="features" aria-labelledby="features-title">
<div class="wrap">
<div class="section-head reveal">
<span class="kicker">Why teams switch</span>
<h2 id="features-title">One surface for planning, doing, and deciding.</h2>
<p>Replace four tools with a workspace that keeps everyone in sync — without the busywork.</p>
</div>
<div class="feature-grid">
<article class="feature reveal">
<span class="feat-icon" aria-hidden="true">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none"><rect x="3" y="3" width="7" height="7" rx="2" stroke="currentColor" stroke-width="1.7"/><rect x="14" y="3" width="7" height="7" rx="2" stroke="currentColor" stroke-width="1.7"/><rect x="3" y="14" width="7" height="7" rx="2" stroke="currentColor" stroke-width="1.7"/><rect x="14" y="14" width="7" height="7" rx="2" stroke="currentColor" stroke-width="1.7"/></svg>
</span>
<h3>Flexible boards</h3>
<p>Drag work across kanban, timeline, or calendar — each view stays in sync, so nobody copies a status twice.</p>
</article>
<article class="feature reveal">
<span class="feat-icon" aria-hidden="true">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M3 17l5-5 4 3 8-9" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"/><path d="M16 6h5v5" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"/></svg>
</span>
<h3>Sprint forecasting</h3>
<p>Cadence learns your team's pace and predicts what will actually ship this sprint — flagging risk before it's late.</p>
</article>
<article class="feature reveal">
<span class="feat-icon" aria-hidden="true">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none"><circle cx="12" cy="8" r="3.4" stroke="currentColor" stroke-width="1.7"/><path d="M4.5 20a7.5 7.5 0 0 1 15 0" stroke="currentColor" stroke-width="1.7" stroke-linecap="round"/></svg>
</span>
<h3>Calm async updates</h3>
<p>Automatic standups roll up progress into a digest. Skip the meeting, keep the context — for every timezone.</p>
</article>
</div>
</div>
</section>
<!-- METRICS BAND -->
<section class="metrics" id="metrics" aria-label="Product metrics">
<div class="wrap metrics-grid">
<div class="metric reveal"><strong data-count="9200" data-suffix="+">0</strong><span>Teams onboarded</span></div>
<div class="metric reveal"><strong data-count="38" data-suffix="%">0</strong><span>Fewer status meetings</span></div>
<div class="metric reveal"><strong data-count="99" data-decimals="2" data-suffix="%">0</strong><span>Uptime, last 12 mo</span></div>
<div class="metric reveal"><strong data-count="4" data-suffix="m">0</strong><span>Tasks tracked monthly</span></div>
</div>
</section>
<!-- TESTIMONIAL -->
<section class="testimonial" id="testimonial" aria-label="Customer testimonial">
<div class="wrap">
<figure class="quote reveal">
<div class="quote-mark" aria-hidden="true">"</div>
<blockquote>
We deleted three tools and two recurring meetings in our first month. The forecasting alone caught a slip we'd have shipped late — Cadence basically pays for itself.
</blockquote>
<figcaption>
<span class="avatar-lg" aria-hidden="true">DM</span>
<span class="who">
<strong>Dana Mercer</strong>
<span>VP Engineering, Lumen</span>
</span>
</figcaption>
</figure>
</div>
</section>
<!-- PRICING TEASER -->
<section class="pricing" id="pricing" aria-labelledby="pricing-title">
<div class="wrap">
<div class="section-head reveal">
<span class="kicker">Simple pricing</span>
<h2 id="pricing-title">Start free. Upgrade when it clicks.</h2>
<p>Every plan includes unlimited viewers, SSO, and our 99.99% uptime SLA on annual.</p>
</div>
<div class="plan-grid">
<article class="plan reveal">
<h3>Starter</h3>
<p class="plan-price"><span class="amt">$0</span><span class="per">/ forever</span></p>
<p class="plan-blurb">For small teams getting organized.</p>
<ul class="plan-feats">
<li>Up to 10 members</li>
<li>Board + timeline views</li>
<li>Async standup digests</li>
</ul>
<a class="btn btn-outline btn-block" href="#">Get started</a>
</article>
<article class="plan plan-featured reveal">
<span class="plan-badge">Most popular</span>
<h3>Team</h3>
<p class="plan-price"><span class="amt">$12</span><span class="per">/ user · mo</span></p>
<p class="plan-blurb">For teams shipping every sprint.</p>
<ul class="plan-feats">
<li>Everything in Starter</li>
<li>Sprint forecasting</li>
<li>SSO & audit log</li>
<li>Priority support</li>
</ul>
<a class="btn btn-primary btn-block" href="#">Start 14-day trial</a>
</article>
<article class="plan reveal">
<h3>Scale</h3>
<p class="plan-price"><span class="amt">Custom</span></p>
<p class="plan-blurb">For orgs with security reviews.</p>
<ul class="plan-feats">
<li>SAML & SCIM</li>
<li>Dedicated success manager</li>
<li>99.99% uptime SLA</li>
</ul>
<a class="btn btn-outline btn-block" href="#">Talk to sales</a>
</article>
</div>
</div>
</section>
<!-- CTA -->
<section class="final-cta reveal" aria-label="Get started">
<div class="wrap cta-inner">
<h2>Find your team's cadence.</h2>
<p>Bring planning and doing into one calm workspace. It takes about five minutes to set up.</p>
<a class="btn btn-primary btn-lg" href="#">Start free — 14 days</a>
</div>
</section>
</main>
<footer class="site-footer">
<div class="wrap footer-grid">
<div class="foot-brand">
<a class="brand" href="#top">
<span class="brand-mark" aria-hidden="true">
<svg width="22" height="22" viewBox="0 0 22 22" fill="none"><rect x="1.5" y="1.5" width="19" height="19" rx="6" stroke="currentColor" stroke-width="1.6"/><path d="M6.5 11.5l3 3 6-7" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>
</span>
<span class="brand-name">Cadence</span>
</a>
<p>Calm planning for teams that ship.</p>
</div>
<nav class="foot-col" aria-label="Product">
<h4>Product</h4>
<a href="#features">Features</a>
<a href="#pricing">Pricing</a>
<a href="#metrics">Customers</a>
<a href="#">Changelog</a>
</nav>
<nav class="foot-col" aria-label="Company">
<h4>Company</h4>
<a href="#">About</a>
<a href="#">Careers</a>
<a href="#">Blog</a>
<a href="#">Contact</a>
</nav>
<nav class="foot-col" aria-label="Legal">
<h4>Legal</h4>
<a href="#">Privacy</a>
<a href="#">Terms</a>
<a href="#">Security</a>
<a href="#">Status</a>
</nav>
</div>
<div class="wrap foot-bottom">
<span>© 2026 Cadence, Inc. · Fictional product for demo purposes.</span>
<span class="foot-status"><span class="status-dot" aria-hidden="true"></span> All systems operational</span>
</div>
</footer>
<script src="script.js"></script>
</body>
</html>SaaS Landing
A polished marketing home for Cadence, a fictional team-planning SaaS. The page leads with a confident hero — headline, subcopy, dual CTAs, and a faux-browser product preview rendered entirely in inline SVG and CSS. The preview is interactive: tab between a kanban Board, a project Timeline, and a velocity Insights view, all keyboard-navigable with arrow keys.
Below the fold it builds trust the way SaaS sites do: a logo cloud, a three-feature value trio with crisp icons, a metrics band whose numbers count up as they scroll into view, a single strong testimonial, a three-tier pricing teaser with a highlighted “Most popular” plan, and a gradient final call-to-action.
Everything runs on vanilla JS — a persisted light/dark theme toggle (respecting prefers-color-scheme), a mobile hamburger nav, IntersectionObserver-driven scroll reveals and count-ups, and a small toast() helper for CTA feedback. The layout is fully responsive down to ~360px with reduced-motion support.
Illustrative SaaS UI only — fictional product, metrics, and billing. No real backend.