Coach — Landing Weightloss
An energetic dark landing page for a weight-loss coaching program, built around a before-after transformation showcase, a three-tier program overview, and a live calorie-and-results estimator. Interactive weight-goal slider projects a realistic timeline, animated stat counters and a scroll reveal add momentum, verified client testimonials build trust, and a glowing electric-lime join CTA closes the page. Fully responsive, keyboard accessible, and self-contained with vanilla JS toasts and micro-interactions.
MCP
Code
:root {
--bg: #0f1115;
--surface: #171a21;
--surface-2: #1f232c;
--lime: #c2f542;
--lime-d: #a3d62f;
--orange: #ff6b35;
--ink: #f2f4f0;
--muted: #9aa0a6;
--line: rgba(255, 255, 255, 0.10);
--line-2: rgba(255, 255, 255, 0.18);
--white: #fff;
--r-sm: 8px;
--r-md: 14px;
--r-lg: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
margin: 0;
font-family: "Inter", system-ui, sans-serif;
line-height: 1.5;
color: var(--ink);
background: var(--bg);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
overflow-x: hidden;
}
.sr-only {
position: absolute;
width: 1px; height: 1px;
padding: 0; margin: -1px;
overflow: hidden;
clip: rect(0 0 0 0);
white-space: nowrap; border: 0;
}
a { color: inherit; text-decoration: none; }
:focus-visible {
outline: 3px solid var(--lime);
outline-offset: 2px;
border-radius: var(--r-sm);
}
/* Ambient glows */
.glow {
position: fixed;
z-index: 0;
filter: blur(90px);
opacity: 0.5;
pointer-events: none;
border-radius: 50%;
}
.glow-a { top: -120px; right: -80px; width: 420px; height: 420px; background: radial-gradient(circle, rgba(194, 245, 66, 0.35), transparent 70%); }
.glow-b { bottom: 5%; left: -140px; width: 460px; height: 460px; background: radial-gradient(circle, rgba(255, 107, 53, 0.28), transparent 70%); }
/* Buttons */
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
padding: 13px 22px;
border-radius: 999px;
font-weight: 700;
font-size: 0.95rem;
letter-spacing: 0.01em;
cursor: pointer;
border: 1px solid transparent;
transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-lime {
background: var(--lime);
color: #12140c;
box-shadow: 0 0 0 rgba(194, 245, 66, 0);
}
.btn-lime:hover {
background: var(--lime-d);
transform: translateY(-2px);
box-shadow: 0 10px 30px rgba(194, 245, 66, 0.35), 0 0 22px rgba(194, 245, 66, 0.4);
}
.btn-lime:active { transform: translateY(0); }
.btn-ghost {
background: transparent;
color: var(--ink);
border-color: var(--line-2);
}
.btn-ghost:hover { background: var(--surface-2); transform: translateY(-2px); }
.badge {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 4px 10px;
border-radius: 999px;
font-size: 0.72rem;
font-weight: 700;
letter-spacing: 0.04em;
text-transform: uppercase;
background: var(--surface-2);
color: var(--muted);
border: 1px solid var(--line);
}
.badge-lime {
background: rgba(194, 245, 66, 0.14);
color: var(--lime);
border-color: rgba(194, 245, 66, 0.3);
}
.eyebrow {
display: inline-block;
font-size: 0.75rem;
font-weight: 700;
letter-spacing: 0.18em;
text-transform: uppercase;
color: var(--orange);
margin-bottom: 10px;
}
/* Nav */
.nav {
position: sticky;
top: 0;
z-index: 20;
display: flex;
align-items: center;
gap: 24px;
padding: 16px clamp(18px, 5vw, 56px);
background: rgba(15, 17, 21, 0.72);
backdrop-filter: blur(14px);
border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-mark {
display: grid;
place-items: center;
width: 34px; height: 34px;
border-radius: 10px;
background: var(--lime);
color: #12140c;
font-weight: 800;
font-size: 0.85rem;
letter-spacing: 0.02em;
}
.brand-name { font-size: 1.05rem; letter-spacing: 0.01em; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 0.92rem; font-weight: 500; }
.nav-links a { color: var(--muted); transition: color 0.15s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { padding: 10px 18px; font-size: 0.9rem; }
/* Layout helpers */
.section {
position: relative;
z-index: 1;
max-width: 1120px;
margin: 0 auto;
padding: clamp(56px, 8vw, 96px) clamp(18px, 5vw, 40px);
}
.sec-head { max-width: 640px; margin-bottom: 40px; }
.sec-head h2, .join h2 {
margin: 0 0 12px;
font-size: clamp(1.7rem, 4vw, 2.6rem);
font-weight: 800;
letter-spacing: -0.02em;
text-transform: uppercase;
line-height: 1.05;
}
.sec-sub { margin: 0; color: var(--muted); font-size: 1.02rem; }
/* Hero */
.hero {
position: relative;
z-index: 1;
max-width: 1120px;
margin: 0 auto;
padding: clamp(40px, 7vw, 80px) clamp(18px, 5vw, 40px) clamp(24px, 4vw, 48px);
display: grid;
grid-template-columns: 1.35fr 0.9fr;
gap: clamp(28px, 5vw, 64px);
align-items: center;
}
.pill {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 6px 14px;
border-radius: 999px;
background: var(--surface);
border: 1px solid var(--line);
font-size: 0.8rem;
font-weight: 600;
color: var(--muted);
margin-bottom: 20px;
}
.pill .dot {
width: 8px; height: 8px;
border-radius: 50%;
background: var(--lime);
box-shadow: 0 0 10px var(--lime);
animation: pulse 1.8s infinite;
}
@keyframes pulse {
0%, 100% { opacity: 1; transform: scale(1); }
50% { opacity: 0.5; transform: scale(0.7); }
}
.hero h1 {
margin: 0 0 18px;
font-size: clamp(2.4rem, 6.5vw, 4.4rem);
font-weight: 800;
line-height: 0.98;
letter-spacing: -0.03em;
text-transform: uppercase;
}
.hero h1 .hl {
background: linear-gradient(100deg, var(--lime), var(--orange));
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
.lede { margin: 0 0 26px; max-width: 480px; color: var(--muted); font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.stats {
list-style: none;
margin: 0; padding: 0;
display: flex;
gap: clamp(18px, 4vw, 40px);
flex-wrap: wrap;
}
.stats li { display: flex; flex-direction: column; }
.stats strong {
font-size: clamp(1.5rem, 3.5vw, 2.1rem);
font-weight: 800;
letter-spacing: -0.02em;
color: var(--ink);
}
.stats span { font-size: 0.82rem; color: var(--muted); }
.hero-card {
background: linear-gradient(160deg, var(--surface-2), var(--surface));
border: 1px solid var(--line);
border-radius: var(--r-lg);
padding: 22px;
box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}
.hc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.hc-title { font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.hc-metric { display: flex; flex-direction: column; margin-bottom: 16px; }
.hc-num { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; color: var(--lime); line-height: 1; }
.hc-num small { font-size: 1rem; color: var(--muted); margin-left: 4px; }
.hc-label { font-size: 0.82rem; color: var(--muted); margin-top: 4px; }
.hc-bar {
height: 8px;
border-radius: 999px;
background: var(--surface);
overflow: hidden;
margin-bottom: 16px;
border: 1px solid var(--line);
}
.hc-bar span {
display: block;
height: 100%;
border-radius: 999px;
background: linear-gradient(90deg, var(--lime), var(--orange));
}
.hc-row {
display: flex;
justify-content: space-between;
font-size: 0.88rem;
padding: 8px 0;
border-top: 1px solid var(--line);
color: var(--muted);
}
.hc-row .ok { color: var(--lime); font-weight: 700; }
/* Reveal animation */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
/* Before / after */
.ba {
position: relative;
width: 100%;
aspect-ratio: 16 / 9;
max-height: 460px;
border-radius: var(--r-lg);
overflow: hidden;
border: 1px solid var(--line-2);
user-select: none;
cursor: ew-resize;
box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.8);
}
.ba-img { position: absolute; inset: 0; }
.ba-after {
background:
radial-gradient(circle at 70% 30%, rgba(194, 245, 66, 0.35), transparent 55%),
linear-gradient(135deg, #1c2410, #0f1115 70%);
}
.ba-before {
background:
radial-gradient(circle at 30% 40%, rgba(255, 107, 53, 0.22), transparent 55%),
linear-gradient(135deg, #2a1c14, #14100c 70%);
clip-path: inset(0 50% 0 0);
}
.ba-tag {
position: absolute;
bottom: 16px;
padding: 6px 14px;
border-radius: 999px;
font-size: 0.78rem;
font-weight: 700;
letter-spacing: 0.03em;
text-transform: uppercase;
backdrop-filter: blur(6px);
}
.ba-tag-before { left: 16px; background: rgba(255, 107, 53, 0.22); color: #ffd0bd; border: 1px solid rgba(255, 107, 53, 0.4); }
.ba-tag-after { right: 16px; background: rgba(194, 245, 66, 0.2); color: var(--lime); border: 1px solid rgba(194, 245, 66, 0.4); }
.ba-handle {
position: absolute;
top: 0; bottom: 0;
width: 3px;
background: var(--white);
transform: translateX(-50%);
box-shadow: 0 0 18px rgba(255, 255, 255, 0.5);
}
.ba-knob {
position: absolute;
top: 50%; left: 50%;
transform: translate(-50%, -50%);
width: 46px; height: 46px;
border-radius: 50%;
display: grid;
place-items: center;
background: var(--white);
color: #12140c;
font-size: 1.1rem;
font-weight: 800;
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}
.ba:focus-visible { outline-offset: 4px; }
/* Estimator */
.est {
display: grid;
grid-template-columns: 1fr 1fr;
gap: clamp(24px, 4vw, 48px);
background: linear-gradient(160deg, var(--surface-2), var(--surface));
border: 1px solid var(--line);
border-radius: var(--r-lg);
padding: clamp(24px, 4vw, 40px);
}
.est-label { display: block; font-weight: 600; font-size: 0.95rem; color: var(--muted); margin-bottom: 6px; }
.est-out {
display: block;
font-size: clamp(2.2rem, 6vw, 3.2rem);
font-weight: 800;
letter-spacing: -0.03em;
color: var(--lime);
margin-bottom: 18px;
line-height: 1;
}
input[type="range"] {
-webkit-appearance: none;
appearance: none;
width: 100%;
height: 8px;
border-radius: 999px;
background: var(--surface);
border: 1px solid var(--line);
outline-offset: 6px;
}
input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 26px; height: 26px;
border-radius: 50%;
background: var(--lime);
border: 4px solid var(--bg);
cursor: pointer;
box-shadow: 0 0 0 2px var(--lime-d), 0 0 16px rgba(194, 245, 66, 0.6);
}
input[type="range"]::-moz-range-thumb {
width: 26px; height: 26px;
border-radius: 50%;
background: var(--lime);
border: 4px solid var(--bg);
cursor: pointer;
box-shadow: 0 0 0 2px var(--lime-d);
}
.est-scale { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--muted); margin-top: 8px; }
.est-note { font-size: 0.82rem; color: var(--muted); margin: 16px 0 0; }
.est-results {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 12px;
align-content: start;
}
.est-card {
background: var(--bg);
border: 1px solid var(--line);
border-radius: var(--r-md);
padding: 16px;
transition: border-color 0.2s ease, transform 0.2s ease;
}
.est-card-goal { border-color: rgba(194, 245, 66, 0.3); background: rgba(194, 245, 66, 0.06); }
.est-k { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 6px; }
.est-v { display: block; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.est-card-goal .est-v { color: var(--lime); }
.est-card.bump { transform: scale(1.03); border-color: var(--line-2); }
/* Program cards */
.cards {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 18px;
}
.card {
position: relative;
background: var(--surface);
border: 1px solid var(--line);
border-radius: var(--r-lg);
padding: 26px 24px;
transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
overflow: hidden;
}
.card:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: 0 24px 50px -30px rgba(0, 0, 0, 0.8); }
.card-lead { border-color: rgba(194, 245, 66, 0.35); background: linear-gradient(170deg, rgba(194, 245, 66, 0.07), var(--surface)); }
.card-no {
position: absolute;
top: 18px; right: 20px;
font-size: 2.4rem;
font-weight: 800;
color: var(--line-2);
letter-spacing: -0.04em;
}
.card h3 {
margin: 12px 0 10px;
font-size: 1.5rem;
font-weight: 800;
text-transform: uppercase;
letter-spacing: -0.01em;
}
.card p { margin: 0 0 16px; color: var(--muted); font-size: 0.94rem; }
.feat { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.feat li {
position: relative;
padding-left: 26px;
font-size: 0.9rem;
color: var(--ink);
}
.feat li::before {
content: "✓";
position: absolute;
left: 0; top: 0;
width: 18px; height: 18px;
display: grid;
place-items: center;
border-radius: 50%;
background: rgba(194, 245, 66, 0.16);
color: var(--lime);
font-size: 0.7rem;
font-weight: 800;
}
/* Quotes */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote {
margin: 0;
background: var(--surface);
border: 1px solid var(--line);
border-radius: var(--r-lg);
padding: 24px;
transition: transform 0.2s ease, border-color 0.2s ease;
}
.quote:hover { transform: translateY(-4px); border-color: var(--line-2); }
.q-top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.avatar {
display: grid;
place-items: center;
width: 44px; height: 44px;
border-radius: 50%;
font-weight: 800;
font-size: 0.9rem;
color: #12140c;
background: linear-gradient(135deg, var(--a), var(--b));
flex-shrink: 0;
}
.q-top > div { display: flex; flex-direction: column; margin-right: auto; }
.q-name { font-weight: 700; font-size: 0.95rem; }
.q-meta { font-size: 0.76rem; color: var(--muted); }
.quote blockquote { margin: 0; font-size: 0.98rem; line-height: 1.55; color: var(--ink); }
/* Join */
.join {
position: relative;
z-index: 1;
max-width: 1120px;
margin: 0 auto clamp(40px, 6vw, 80px);
padding: 0 clamp(18px, 5vw, 40px);
}
.join-inner {
background:
radial-gradient(circle at 15% 20%, rgba(194, 245, 66, 0.14), transparent 55%),
radial-gradient(circle at 90% 80%, rgba(255, 107, 53, 0.14), transparent 55%),
var(--surface-2);
border: 1px solid var(--line-2);
border-radius: var(--r-lg);
padding: clamp(36px, 6vw, 64px);
text-align: center;
}
.join-form {
display: flex;
gap: 12px;
max-width: 480px;
margin: 24px auto 14px;
}
.field { flex: 1; }
.join-form input {
width: 100%;
padding: 14px 18px;
border-radius: 999px;
border: 1px solid var(--line-2);
background: var(--bg);
color: var(--ink);
font-size: 0.98rem;
font-family: inherit;
}
.join-form input::placeholder { color: var(--muted); }
.join-form input.err { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2); }
.join-fine { font-size: 0.8rem; color: var(--muted); margin: 0; }
/* Footer */
.foot {
position: relative;
z-index: 1;
max-width: 1120px;
margin: 0 auto;
padding: 28px clamp(18px, 5vw, 40px) 48px;
display: flex;
justify-content: space-between;
gap: 12px;
flex-wrap: wrap;
font-size: 0.85rem;
color: var(--muted);
border-top: 1px solid var(--line);
}
.foot-links a:hover { color: var(--lime); }
/* Toast */
.toast {
position: fixed;
left: 50%;
bottom: 28px;
transform: translate(-50%, 140%);
z-index: 60;
padding: 14px 20px;
border-radius: var(--r-md);
background: var(--lime);
color: #12140c;
font-weight: 700;
font-size: 0.92rem;
box-shadow: 0 16px 40px -12px rgba(194, 245, 66, 0.5);
transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.2);
max-width: 90vw;
}
.toast.show { transform: translate(-50%, 0); }
/* Responsive */
@media (max-width: 860px) {
.hero { grid-template-columns: 1fr; }
.est { grid-template-columns: 1fr; }
.cards, .quotes { grid-template-columns: 1fr; }
.nav-links { display: none; }
}
@media (max-width: 520px) {
.nav { gap: 12px; padding: 14px 18px; }
.nav-cta { display: none; }
.hero-actions { flex-direction: column; align-items: stretch; }
.hero-actions .btn { width: 100%; }
.stats { gap: 20px; }
.est-results { grid-template-columns: 1fr 1fr; }
.est-out { font-size: 2.4rem; }
.join-form { flex-direction: column; }
.join-form .btn { width: 100%; }
.foot { flex-direction: column; }
.ba-knob { width: 40px; height: 40px; }
}(function () {
"use strict";
/* ---------- Toast helper ---------- */
var toastEl = document.getElementById("toast");
var toastTimer;
function toast(msg) {
if (!toastEl) return;
toastEl.textContent = msg;
toastEl.classList.add("show");
clearTimeout(toastTimer);
toastTimer = setTimeout(function () {
toastEl.classList.remove("show");
}, 3200);
}
/* ---------- Animated stat counters ---------- */
function animateCount(el) {
var target = parseFloat(el.getAttribute("data-count")) || 0;
var decimals = parseInt(el.getAttribute("data-decimals") || "0", 10);
var suffix = el.getAttribute("data-suffix") || "";
var start = performance.now();
var dur = 1400;
function frame(now) {
var p = Math.min((now - start) / dur, 1);
var eased = 1 - Math.pow(1 - p, 3);
var val = target * eased;
var shown = decimals ? val.toFixed(decimals) : Math.round(val).toLocaleString("en-US");
el.textContent = shown + suffix;
if (p < 1) requestAnimationFrame(frame);
}
requestAnimationFrame(frame);
}
document.querySelectorAll(".stats strong[data-count]").forEach(animateCount);
/* ---------- Scroll reveal ---------- */
var reveals = document.querySelectorAll(".reveal");
if ("IntersectionObserver" in window) {
var io = new IntersectionObserver(function (entries) {
entries.forEach(function (e) {
if (e.isIntersecting) {
e.target.classList.add("in");
io.unobserve(e.target);
}
});
}, { threshold: 0.14 });
reveals.forEach(function (r) { io.observe(r); });
} else {
reveals.forEach(function (r) { r.classList.add("in"); });
}
/* ---------- Before / after slider ---------- */
var ba = document.getElementById("ba");
var baBefore = document.getElementById("baBefore");
var baHandle = document.getElementById("baHandle");
var dragging = false;
function setBA(pct) {
pct = Math.max(0, Math.min(100, pct));
baBefore.style.clipPath = "inset(0 " + (100 - pct) + "% 0 0)";
baHandle.style.left = pct + "%";
ba.setAttribute("aria-valuenow", Math.round(pct));
}
function pctFromEvent(clientX) {
var rect = ba.getBoundingClientRect();
return ((clientX - rect.left) / rect.width) * 100;
}
if (ba) {
ba.addEventListener("pointerdown", function (e) {
dragging = true;
ba.setPointerCapture(e.pointerId);
setBA(pctFromEvent(e.clientX));
});
ba.addEventListener("pointermove", function (e) {
if (dragging) setBA(pctFromEvent(e.clientX));
});
ba.addEventListener("pointerup", function () { dragging = false; });
ba.addEventListener("pointercancel", function () { dragging = false; });
ba.addEventListener("keydown", function (e) {
var cur = parseFloat(ba.getAttribute("aria-valuenow")) || 50;
if (e.key === "ArrowLeft") { setBA(cur - 4); e.preventDefault(); }
else if (e.key === "ArrowRight") { setBA(cur + 4); e.preventDefault(); }
else if (e.key === "Home") { setBA(0); e.preventDefault(); }
else if (e.key === "End") { setBA(100); e.preventDefault(); }
});
setBA(50);
}
/* ---------- Results estimator ---------- */
var lbs = document.getElementById("lbs");
var lbsOut = document.getElementById("lbsOut");
var rWeekly = document.getElementById("rWeekly");
var rWeeks = document.getElementById("rWeeks");
var rKcal = document.getElementById("rKcal");
var rDate = document.getElementById("rDate");
var months = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
function bump(el) {
el.classList.remove("bump");
void el.offsetWidth;
el.classList.add("bump");
}
function updateEstimate() {
var goal = parseInt(lbs.value, 10);
// Sustainable ~0.75% of an assumed 200lb starting bodyweight/week,
// scaled slightly by goal size, capped for safety.
var weekly = Math.min(2, Math.max(0.75, 0.9 + goal * 0.012));
weekly = Math.round(weekly * 10) / 10;
var weeks = Math.max(1, Math.round(goal / weekly));
// 1 lb fat ~= 3500 kcal
var kcal = Math.round((weekly * 3500) / 7 / 25) * 25;
var d = new Date();
d.setDate(d.getDate() + weeks * 7);
var goalDate = months[d.getMonth()] + " " + d.getFullYear();
lbsOut.textContent = goal + " lb";
rWeekly.textContent = weekly.toFixed(1) + " lb";
rWeeks.textContent = weeks + (weeks === 1 ? " wk" : " wks");
rKcal.textContent = kcal + " kcal";
rDate.textContent = goalDate;
[rWeekly, rWeeks, rKcal, rDate].forEach(function (el) {
bump(el.closest(".est-card"));
});
}
if (lbs) {
lbs.addEventListener("input", updateEstimate);
updateEstimate();
}
/* ---------- Join form ---------- */
var form = document.getElementById("joinForm");
if (form) {
var email = document.getElementById("email");
form.addEventListener("submit", function (e) {
e.preventDefault();
var val = email.value.trim();
var ok = /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(val);
if (!ok) {
email.classList.add("err");
email.focus();
toast("Please enter a valid email address.");
return;
}
email.classList.remove("err");
var goal = lbs ? lbs.value : "your";
toast("You're in! Intake + your " + goal + " lb blueprint are on the way.");
form.reset();
});
email.addEventListener("input", function () { email.classList.remove("err"); });
}
})();<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Mara Voss — Weight-Loss Coaching</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>
<div class="glow glow-a" aria-hidden="true"></div>
<div class="glow glow-b" aria-hidden="true"></div>
<header class="nav">
<a class="brand" href="#top">
<span class="brand-mark" aria-hidden="true">MV</span>
<span class="brand-name">Mara Voss</span>
</a>
<nav class="nav-links" aria-label="Primary">
<a href="#transform">Transformations</a>
<a href="#estimator">Results</a>
<a href="#program">Program</a>
<a href="#voices">Voices</a>
</nav>
<a class="btn btn-lime nav-cta" href="#join">Join now</a>
</header>
<main id="top">
<!-- HERO -->
<section class="hero">
<div class="hero-copy">
<span class="pill"><span class="dot" aria-hidden="true"></span> Now coaching · Summer 2026 cohort</span>
<h1>Lose the weight.<br /><span class="hl">Keep the strength.</span></h1>
<p class="lede">A 12-week fat-loss system built around real food, honest calorie math, and weekly 1:1 accountability — no crash diets, no gimmicks.</p>
<div class="hero-actions">
<a class="btn btn-lime" href="#join">Start my transformation</a>
<a class="btn btn-ghost" href="#estimator">Estimate my results</a>
</div>
<ul class="stats" aria-label="Program results">
<li><strong data-count="2400" data-suffix="+">0</strong><span>clients coached</span></li>
<li><strong data-count="38500" data-suffix=" lb">0</strong><span>fat lost together</span></li>
<li><strong data-count="4.9" data-decimals="1" data-suffix="/5">0</strong><span>average rating</span></li>
</ul>
</div>
<aside class="hero-card" aria-label="This week snapshot">
<div class="hc-head">
<span class="hc-title">Week 6 · Client check-in</span>
<span class="badge badge-lime">On track</span>
</div>
<div class="hc-metric">
<span class="hc-num">-11.4<small>lb</small></span>
<span class="hc-label">since day one</span>
</div>
<div class="hc-bar" role="img" aria-label="61 percent to goal">
<span style="width:61%"></span>
</div>
<div class="hc-row"><span>Goal</span><span>-18 lb</span></div>
<div class="hc-row"><span>Weekly avg</span><span>-1.9 lb</span></div>
<div class="hc-row"><span>Adherence</span><span class="ok">94%</span></div>
</aside>
</section>
<!-- TRANSFORM -->
<section id="transform" class="section reveal">
<div class="sec-head">
<span class="eyebrow">Real results</span>
<h2>Drag to see the transformation</h2>
<p class="sec-sub">Twelve weeks apart. Same person, same kitchen — different habits.</p>
</div>
<div class="ba" id="ba" tabindex="0" role="slider" aria-label="Before and after comparison" aria-valuemin="0" aria-valuemax="100" aria-valuenow="50">
<div class="ba-img ba-after"><span class="ba-tag ba-tag-after">After · Week 12</span></div>
<div class="ba-img ba-before" id="baBefore"><span class="ba-tag ba-tag-before">Before · Day 1</span></div>
<div class="ba-handle" id="baHandle" style="left:50%">
<span class="ba-knob" aria-hidden="true">⟷</span>
</div>
</div>
</section>
<!-- ESTIMATOR -->
<section id="estimator" class="section reveal">
<div class="sec-head">
<span class="eyebrow">Do the math</span>
<h2>Your results estimator</h2>
<p class="sec-sub">Set your goal — we project a sustainable, science-backed timeline.</p>
</div>
<div class="est">
<div class="est-controls">
<label class="est-label" for="lbs">How much do you want to lose?</label>
<output class="est-out" id="lbsOut">20 lb</output>
<input id="lbs" type="range" min="5" max="80" value="20" step="1" aria-describedby="est-note" />
<div class="est-scale"><span>5 lb</span><span>80 lb</span></div>
<p id="est-note" class="est-note">Based on a safe rate of ~1% of body weight per week with a moderate, food-first deficit.</p>
</div>
<div class="est-results" aria-live="polite">
<div class="est-card">
<span class="est-k">Weekly loss</span>
<span class="est-v" id="rWeekly">1.5 lb</span>
</div>
<div class="est-card">
<span class="est-k">Timeline</span>
<span class="est-v" id="rWeeks">13 wks</span>
</div>
<div class="est-card">
<span class="est-k">Daily deficit</span>
<span class="est-v" id="rKcal">750 kcal</span>
</div>
<div class="est-card est-card-goal">
<span class="est-k">Goal date</span>
<span class="est-v" id="rDate">Oct 2026</span>
</div>
</div>
</div>
</section>
<!-- PROGRAM -->
<section id="program" class="section reveal">
<div class="sec-head">
<span class="eyebrow">The system</span>
<h2>Three phases, one outcome</h2>
<p class="sec-sub">Structured coaching that meets you where you are and builds from there.</p>
</div>
<div class="cards">
<article class="card">
<span class="card-no">01</span>
<span class="badge">Weeks 1–3</span>
<h3>Reset</h3>
<p>Dial in a realistic deficit, fix your protein floor, and build a repeatable weekly rhythm without cutting the foods you love.</p>
<ul class="feat">
<li>Personal calorie & macro target</li>
<li>Habit audit + grocery blueprint</li>
<li>Weekly async check-in</li>
</ul>
</article>
<article class="card card-lead">
<span class="card-no">02</span>
<span class="badge badge-lime">Weeks 4–9 · Most popular</span>
<h3>Rebuild</h3>
<p>Add progressive strength training so you lose fat, not muscle. Adjust intake as the scale moves and momentum compounds.</p>
<ul class="feat">
<li>Progressive lifting plan</li>
<li>Biweekly 1:1 video call</li>
<li>Live deficit recalibration</li>
</ul>
</article>
<article class="card">
<span class="card-no">03</span>
<span class="badge">Weeks 10–12</span>
<h3>Sustain</h3>
<p>Reverse out of the deficit, lock in your new maintenance, and leave with a plan you can run solo for life.</p>
<ul class="feat">
<li>Maintenance transition</li>
<li>Relapse-proof playbook</li>
<li>30-day post-program support</li>
</ul>
</article>
</div>
</section>
<!-- TESTIMONIALS -->
<section id="voices" class="section reveal">
<div class="sec-head">
<span class="eyebrow">Client voices</span>
<h2>Wins that actually stuck</h2>
</div>
<div class="quotes">
<figure class="quote">
<div class="q-top">
<span class="avatar" style="--a:#ff6b35;--b:#c2f542">DR</span>
<div>
<span class="q-name">Dani Reyes</span>
<span class="q-meta">Verified client · 6 months</span>
</div>
<span class="badge badge-lime">-27 lb</span>
</div>
<blockquote>Mara made the numbers make sense. I never once felt like I was on a diet — I just ate smarter and the weight kept coming off.</blockquote>
</figure>
<figure class="quote">
<div class="q-top">
<span class="avatar" style="--a:#c2f542;--b:#a3d62f">TO</span>
<div>
<span class="q-name">Theo Okafor</span>
<span class="q-meta">Verified client · 4 months</span>
</div>
<span class="badge badge-lime">-19 lb</span>
</div>
<blockquote>The strength phase changed everything. I dropped two pant sizes and I'm lifting more than I ever have in my life.</blockquote>
</figure>
<figure class="quote">
<div class="q-top">
<span class="avatar" style="--a:#ff6b35;--b:#ffb199">LI</span>
<div>
<span class="q-name">Lena Ivic</span>
<span class="q-meta">Verified client · 5 months</span>
</div>
<span class="badge badge-lime">-31 lb</span>
</div>
<blockquote>Weekly check-ins kept me honest. For the first time the weight stayed off after I finished — that's the part nobody else taught me.</blockquote>
</figure>
</div>
</section>
<!-- JOIN -->
<section id="join" class="join reveal">
<div class="join-inner">
<span class="eyebrow">Limited spots</span>
<h2>Claim your spot in the summer cohort</h2>
<p class="sec-sub">Only 14 coaching slots left. Enter your email and we'll send your intake & a free calorie blueprint.</p>
<form class="join-form" id="joinForm" novalidate>
<div class="field">
<label class="sr-only" for="email">Email address</label>
<input id="email" name="email" type="email" placeholder="[email protected]" autocomplete="email" required />
</div>
<button class="btn btn-lime" type="submit">Reserve my spot</button>
</form>
<p class="join-fine">No spam. Cancel anytime. Your data stays private.</p>
</div>
</section>
</main>
<footer class="foot">
<span>© 2026 Mara Voss Coaching · Fictional demo</span>
<span class="foot-links"><a href="#top">Back to top</a></span>
</footer>
<div class="toast" id="toast" role="status" aria-live="polite"></div>
<script src="script.js"></script>
</body>
</html>A high-energy, dark-themed landing page for a fictional weight-loss coach named Mara Voss. The hero pairs a bold uppercase headline with a glowing electric-lime call to action and a set of animated stat counters (clients coached, pounds lost, five-star reviews) that count up when the page loads. Directly below, a transformation showcase uses a draggable before-after slider so visitors can wipe between two gradient panels and feel the promise of the program.
The centerpiece interaction is a results estimator: a range slider lets a visitor set how many pounds they want to lose, and the page instantly projects a realistic weekly loss rate, a target timeline in weeks, and an implied daily calorie deficit — all updating live with a subtle pulse. A three-card program overview (Reset, Rebuild, Sustain) explains the coaching phases, and a testimonials row surfaces verified client wins with avatars and result badges.
Everything is vanilla HTML, CSS, and JavaScript. Interactions include the before-after wipe (pointer plus keyboard arrows), the live estimator, a scroll-triggered reveal for cards, animated counters, and a join form that validates the email and fires an accessible toast confirmation. The layout collapses cleanly to a single column under 520px while preserving focus states and AA contrast throughout.