/* RepDawn website: dark theme with the app's Electric Lime accent. No build step.
   Photos: Unsplash (free licence), self-hosted as WebP in /img/photos. */
:root {
  --bg: #0c0f0a; --card: #141911; --raised: #1d2418; --border: #2a3323;
  --text: #f3f7ec; --muted: #a7b29b; --accent: #c6f432; --on-accent: #10140c;
  --max: 1160px; --r: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 "DM Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3 { font-family: "Sora", system-ui, sans-serif; line-height: 1.08; margin: 0 0 .45em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
a { color: var(--accent); }
img { display: block; max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px;
  border-radius: 999px; font-weight: 700; font-size: 17px; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: var(--on-accent); box-shadow: 0 10px 40px rgba(198, 244, 50, .28); }
.btn-ghost { color: var(--text); border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.04); backdrop-filter: blur(8px); }
.store { display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 22px 0 18px; border-radius: 14px;
  background: #000; color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.25); }
.store small { display: block; font-size: 11px; opacity: .8; line-height: 1.1; }
.store strong { display: block; font-size: 19px; line-height: 1.15; }

/* Header */
.top { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .25s, border-color .25s;
  border-bottom: 1px solid transparent; }
.top.solid { background: rgba(12,15,10,.82); backdrop-filter: blur(14px); border-color: var(--border); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none;
  font: 700 21px "Sora", sans-serif; }
.brand img { width: 36px; height: 36px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: #d8dfcf; text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: #fff; }
.nav .btn { min-height: 42px; padding: 0 18px; font-size: 15px; color: var(--on-accent); }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: rgba(255,255,255,.08); border-radius: 12px;
  color: #fff; align-items: center; justify-content: center; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 110px 0 70px; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2;
  background: url("/img/photos/hero.webp") center 30% / cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 75% 45%, rgba(198,244,50,.16), transparent 70%),
    linear-gradient(90deg, rgba(12,15,10,.96) 0%, rgba(12,15,10,.8) 40%, rgba(12,15,10,.3) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 28%); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; width: 100%; }
.hero h1 { font-size: clamp(42px, 6.4vw, 78px); font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero h1 .eyebrow { font-family: "DM Sans", system-ui, sans-serif; vertical-align: middle; line-height: 1; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: #cfd8c4; max-width: 31em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 16px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--muted); padding: 0; margin: 0; list-style: none; }
.trust li::before { content: "✓"; color: var(--accent); font-weight: 800; margin-right: 6px; }

.device { position: relative; justify-self: center; width: min(330px, 78vw); }
.phone { border-radius: 46px; padding: 9px; background: linear-gradient(145deg, #3a4431, #12160f);
  box-shadow: 0 40px 100px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.06) inset; }
.phone img { border-radius: 38px; width: 100%; height: auto; aspect-ratio: 1320 / 2868; object-fit: cover; }
.float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 18px;
  background: rgba(20,25,17,.86); backdrop-filter: blur(12px); border: 1px solid var(--border);
  box-shadow: 0 16px 40px rgba(0,0,0,.45); font-size: 14px; line-height: 1.3; white-space: nowrap; }
.float b { display: block; font: 700 18px "Sora", sans-serif; color: #fff; }
.float.reps { left: -70px; top: 22%; animation: bob 5s ease-in-out infinite; }
.float.streak { right: -60px; bottom: 16%; animation: bob 5s ease-in-out -2.5s infinite; }
.ring { --p: 80; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--accent) calc(var(--p) * 1%), #2c3526 0); }
.ring span { width: 36px; height: 36px; border-radius: 50%; background: #141911; display: grid; place-items: center;
  font: 800 14px "Sora", sans-serif; color: var(--accent); }
.fire { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--raised); font-size: 22px; }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* Stats strip */
.strip { border-block: 1px solid var(--border); background: var(--card); }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 26px 10px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--border); }
.stat b { display: block; font: 800 clamp(26px, 3vw, 36px) "Sora", sans-serif; color: var(--accent); }
.stat span { color: var(--muted); font-size: 14px; }

section.block { padding: 110px 0; }
.head { max-width: 720px; margin-bottom: 48px; }
.head.center { text-align: center; margin-inline: auto; }
.head h2 { font-size: clamp(32px, 4.4vw, 52px); }

/* Steps with photos */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: var(--card); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.step .pic { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.step .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.step:hover .pic img { transform: scale(1.05); }
.step .pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,25,17,.9), transparent 55%); }
.step .n { position: absolute; left: 18px; top: 16px; z-index: 1; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font: 800 18px "Sora", sans-serif; }
.step .tag { position: absolute; right: 14px; bottom: 14px; z-index: 1; }
.step .body { padding: 6px 24px 26px; }
.step h3 { font-size: 22px; }
.step p { color: var(--muted); margin: 0; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 700;
  background: rgba(12,15,10,.8); backdrop-filter: blur(8px); border: 1px solid rgba(198,244,50,.45); color: var(--accent); }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(198,244,50,.25);
  animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(198,244,50,0); } }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.photo { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo .pill { position: absolute; left: 20px; bottom: 20px; }
.photo .count { position: absolute; right: 20px; top: 20px; text-align: center; padding: 14px 18px; border-radius: 20px;
  background: rgba(12,15,10,.78); backdrop-filter: blur(10px); border: 1px solid var(--border); }
.photo .count b { display: block; font: 800 44px/1 "Sora", sans-serif; color: var(--accent); }
.photo .count span { font-size: 13px; color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.checks li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.checks .ic { width: 44px; height: 44px; border-radius: 13px; background: var(--raised); display: grid; place-items: center;
  color: var(--accent); }
.checks h3 { font-size: 18px; margin: 2px 0 2px; }
.checks p { color: var(--muted); margin: 0; font-size: 16px; }

/* Screens carousel */
.screens { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 20px 30px;
  scrollbar-width: none; max-width: var(--max); margin: 0 auto; }
.screens::-webkit-scrollbar { display: none; }
.screens { justify-content: safe center; }
.screens figure { margin: 0; flex: 0 0 200px; scroll-snap-align: center; text-align: center; }
.screens .phone { border-radius: 36px; padding: 7px; }
.screens .phone img { border-radius: 30px; }
.screens figcaption { margin-top: 14px; color: var(--muted); font-size: 15px; }

/* Privacy band */
.band { position: relative; border-radius: 30px; overflow: hidden; padding: 64px; isolation: isolate;
  background: radial-gradient(70% 90% at 100% 0%, rgba(198,244,50,.16), transparent 60%), var(--card); border: 1px solid var(--border);
  display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; }
.band .lock { width: 110px; height: 110px; border-radius: 30px; background: var(--raised); display: grid; place-items: center; color: var(--accent); }
.band h2 { font-size: clamp(28px, 3.4vw, 40px); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); gap: 22px; justify-content: center; }
.plan { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: var(--r); padding: 34px; }
.plan.best { border: 2px solid var(--accent); background: linear-gradient(180deg, rgba(198,244,50,.07), transparent 50%), var(--card); }
.plan .flag { position: absolute; top: -14px; left: 34px; background: var(--accent); color: var(--on-accent); font-size: 13px; font-weight: 800;
  padding: 5px 12px; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase; }
.plan h3 { font-size: 18px; color: var(--muted); font-family: "DM Sans", sans-serif; font-weight: 700; }
.price { font: 800 52px/1 "Sora", sans-serif; margin: 6px 0 6px; }
.price small { font-size: 18px; color: var(--muted); font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; }
.plan li::before { content: "✓"; color: var(--accent); font-weight: 800; margin-right: 10px; }
.plan .btn { width: 100%; }
.fine { text-align: center; font-size: 14px; color: var(--muted); margin-top: 22px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--border); padding: 22px 4px; }
.faq summary { cursor: pointer; list-style: none; font: 600 19px "Sora", sans-serif; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 26px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 12px 0 0; }

/* Final CTA */
.final { position: relative; text-align: center; padding: 140px 0; isolation: isolate; overflow: hidden; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -2;
  background: url("/img/photos/final.webp") center / cover; }
.final::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(50% 60% at 50% 50%, rgba(12,15,10,.55), rgba(12,15,10,.92)), linear-gradient(180deg, var(--bg), transparent 30%, transparent 70%, var(--bg)); }
.final h2 { font-size: clamp(36px, 5.4vw, 64px); }
.final .cta { justify-content: center; }

footer { border-top: 1px solid var(--border); padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
footer a { color: var(--muted); text-decoration: none; }

/* Exercise grid (animated SVG figures) */
.moves { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.move { position: relative; display: grid; grid-template-columns: 132px 1fr; gap: 16px; align-items: center; padding: 12px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r); transition: border-color .2s, transform .2s; }
.move:hover { border-color: rgba(198,244,50,.45); transform: translateY(-3px); }
.move .fig { aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden;
  background: radial-gradient(90% 90% at 50% 85%, #283024, #10130e); }
.move .fig img { width: 100%; height: 100%; }
.move h3 { font-size: 18px; margin: 0 0 4px; }
.move p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.4; }
.move .tag { position: absolute; top: 12px; right: 12px; font-size: 11px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--muted); }
.move .tag.easy { color: #7fe0a0; }
.move .txt { padding-top: 10px; }

/* Live counting phone */
.live-phone { width: min(330px, 78vw); }
.live-phone .phone img { aspect-ratio: 318 / 688; }

/* Feature tour */
.tour { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat { display: flex; flex-direction: column; padding: 26px; background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r); }
.feat .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--raised); display: grid; place-items: center;
  color: var(--accent); margin-bottom: 16px; }
.feat h3 { font-size: 20px; margin-bottom: 8px; }
.feat p { color: var(--muted); font-size: 15.5px; margin: 0 0 16px; flex: 1; }
.feat .where { align-self: flex-start; font-size: 13px; font-weight: 600; color: var(--accent); padding: 6px 12px;
  border-radius: 999px; background: rgba(198,244,50,.08); border: 1px solid rgba(198,244,50,.22); }

/* Mobile sticky CTA */
.sticky { display: none; }

@media (max-width: 960px) {
  .hero-bg { background-image: url("/img/photos/hero-900.webp"); }
  .final::before { background-image: url("/img/photos/final-900.webp"); }
  .nav { display: none; position: absolute; top: 70px; left: 12px; right: 12px; flex-direction: column; align-items: stretch; gap: 0;
    background: #141911; border: 1px solid var(--border); border-radius: 20px; padding: 10px; box-shadow: 0 20px 50px rgba(0,0,0,.6); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 12px; font-size: 17px; }
  .nav .btn { margin-top: 6px; min-height: 52px; }
  .menu-btn { display: inline-flex; }
  .hero { padding: 100px 0 40px; min-height: auto; }
  .hero-bg { background-position: 60% 20%; }
  .hero::before { background:
    linear-gradient(180deg, rgba(12,15,10,.55) 0%, rgba(12,15,10,.88) 45%, var(--bg) 100%); }
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .lead { margin-inline: auto; }
  .cta, .trust { justify-content: center; }
  .device { margin-top: 28px; width: min(270px, 70vw); }
  .float.reps { left: -46px; } .float.streak { right: -40px; }
  .strip .wrap { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--border); }
  section.block { padding: 76px 0; }
  .steps { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .photo { aspect-ratio: 4 / 4; }
  .band { grid-template-columns: 1fr; padding: 36px 26px; text-align: center; gap: 22px; }
  .band .lock { margin: 0 auto; width: 84px; height: 84px; }
  .plans { grid-template-columns: 1fr; }
  .final { padding: 100px 0; }
  .screens { justify-content: flex-start; }
  .moves, .tour { grid-template-columns: repeat(2, 1fr); }
  .live-phone { width: min(280px, 72vw); }
  .screens figure { flex-basis: 220px; }
  .sticky { display: flex; position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    transform: translateY(150%); transition: transform .3s; }
  .sticky.show { transform: none; }
  .sticky .btn { width: 100%; box-shadow: 0 12px 40px rgba(0,0,0,.6); }
  footer { padding-bottom: 100px; }
}
@media (max-width: 640px) {
  .moves { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .move { grid-template-columns: 1fr; gap: 8px; padding: 10px; }
  .move .txt { padding: 0 4px 4px; }
  .move h3 { font-size: 16px; }
  .move p { font-size: 13px; }
  .move .tag { position: static; padding: 0 4px 4px; font-size: 10.5px; }
  .tour { grid-template-columns: 1fr; }
  .feat { padding: 22px; }
}
@media (max-width: 420px) {
  .float { padding: 9px 12px; font-size: 12px; }
  .float b { font-size: 15px; }
  .ring, .fire { width: 38px; height: 38px; } .ring span { width: 30px; height: 30px; font-size: 12px; }
  .float.reps { left: -30px; } .float.streak { right: -26px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* Text pages (support) */
.page { max-width: 800px; padding-top: 120px; padding-bottom: 80px; }
.page h1 { font-size: clamp(36px, 5vw, 52px); }
.page h2 { font-size: 26px; margin-top: 44px; }
.page ol, .page ul { color: var(--muted); padding-left: 22px; }
.page li { margin-bottom: 8px; }
.page .note { font-size: 15px; color: var(--muted); }
.page .btn { margin: 8px 0 10px; }
