/* bina.gym.lean landing page. Phone first, reel colours, on top of scrollcraft.css. */
:root {
  --navy: #0a0f2a; --navy2: #1d2244; --navy3: #2a3058; --blue: #2c3fb0; --lime: #c6f432; --red: #ff5a5a; --orange: #ff9f1c;
  --cream: #f7f6ef; --paper: #fff; --ink: #141933; --muted: #5b6183; --soft: #b9bfdd; --line: #e3e2d8;
  --lime-t: #eefac6; --red-t: #ffe6e3;
  /* scroll-craft tokens */
  --sc-canvas: #0a0f2a; --sc-surface: #1d2244; --sc-ink: #ffffff; --sc-ink-soft: #b9bfdd;
  --sc-accent: #c6f432; --sc-accent-ink: #0a0f2a;
  --sc-font-display: "Poppins", system-ui, sans-serif; --sc-font-text: "Poppins", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: "Poppins", system-ui, sans-serif; font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--navy); overflow-x: clip; }
h1, h2, h3, h4, p, ol, ul { margin: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 760px; }
[data-sc-progress] { background: var(--lime); }

/* Buttons and small parts */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 99px; font: 700 16px/1 "Poppins", sans-serif; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn.lime { background: var(--lime); color: var(--navy); box-shadow: 0 4px 0 #7f9e12; }
.btn.lime:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #7f9e12; }
.btn.ghost { color: #fff; border: 2px solid var(--navy3); }
.btn.ghost:hover { border-color: var(--lime); }
.kicker { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 5px 12px; border-radius: 99px; background: var(--navy); color: var(--lime); }
.moves-act .kicker, .plan-act .kicker { background: var(--lime); color: var(--navy); }
.tag { display: inline-grid; place-items: center; min-width: 30px; height: 26px; padding: 0 9px; border-radius: 7px; font-size: 13px; font-weight: 800; vertical-align: middle; }
.tag.a { background: var(--lime); color: var(--navy); }
.tag.b { background: var(--blue); color: #fff; }
h2 { font-size: clamp(30px, 7vw, 48px); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; margin: 14px 0 10px; }
h2 em { font-style: normal; color: var(--lime); }
.lead { font-size: 18px; color: var(--muted); max-width: 40em; }
.fine { font-size: 13px; color: var(--muted); }

/* Hero: text plus three art planes */
.hero { color: #fff; padding: 24px 0 48px; position: relative; overflow: hidden; }
.hero-in { display: grid; gap: 4px; align-items: center; }
.brand { font-weight: 700; letter-spacing: .04em; text-decoration: none; color: #fff; }
.hero h1 { font-size: clamp(40px, 11vw, 76px); line-height: 1.04; font-weight: 800; letter-spacing: -.03em; margin: 22px 0 16px; }
.hero h1 span { display: block; color: var(--lime); margin-top: .12em; line-height: 1.12; }
.sub { font-size: 18px; color: var(--soft); max-width: 30em; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btns .btn { flex: 1 1 220px; }
.hero-art { position: relative; height: 230px; order: -1; }
.plane { position: absolute; inset: 0; display: grid; place-items: center; will-change: transform; }
.ring::before { content: ""; width: 196px; height: 196px; border-radius: 50%; background: var(--blue); opacity: .6; box-shadow: 0 0 0 16px var(--navy), 0 0 0 19px var(--navy3); }
.guy-wrap .guy { height: 210px; width: auto; }
.tags span { position: absolute; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 99px; background: var(--lime); color: var(--navy); box-shadow: 0 6px 16px rgba(0,0,0,.35); }
.tags .t1 { left: 4%; top: 18%; rotate: -6deg; }
.tags .t2 { right: 4%; top: 42%; rotate: 5deg; background: var(--orange); }
.tags .t3 { left: 10%; bottom: 6%; rotate: 3deg; background: #fff; }

/* The reel character doing jumping jacks */
.fig-front .leg-l, .fig-front .leg-r, .fig-front .arm-l, .fig-front .arm-r { transform-box: view-box; }
.pose-jacks .leg-l { transform-origin: 85px 255px; transform: rotate(18deg); }
.pose-jacks .leg-r { transform-origin: 115px 255px; transform: rotate(-18deg); }
.pose-jacks .arm-l { transform-origin: 54px 150px; transform: rotate(150deg); }
.pose-jacks .arm-r { transform-origin: 146px 150px; transform: rotate(-150deg); }
@media (prefers-reduced-motion: no-preference) {
  .jumping { animation: hop .9s ease-in-out infinite; }
  .jumping .leg-l { animation: legL .9s ease-in-out infinite; }
  .jumping .leg-r { animation: legR .9s ease-in-out infinite; }
  .jumping .arm-l { animation: armL .9s ease-in-out infinite; }
  .jumping .arm-r { animation: armR .9s ease-in-out infinite; }
  .tags span { animation: bob 3.2s ease-in-out infinite; }
  .tags .t2 { animation-delay: -1.1s; } .tags .t3 { animation-delay: -2.2s; }
}
@keyframes hop { 0%, 100% { transform: translateY(0); } 25%, 75% { transform: translateY(-10px); } 50% { transform: translateY(0); } }
@keyframes legL { 0%, 100% { transform: rotate(18deg); } 50% { transform: rotate(2deg); } }
@keyframes legR { 0%, 100% { transform: rotate(-18deg); } 50% { transform: rotate(-2deg); } }
@keyframes armL { 0%, 100% { transform: rotate(150deg); } 50% { transform: rotate(10deg); } }
@keyframes armR { 0%, 100% { transform: rotate(-150deg); } 50% { transform: rotate(-10deg); } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* Signature act: the character runs through the 10 moves as you scroll */
.moves-act { color: #fff; background: var(--navy); }
.moves-stage { display: grid; align-items: center; }
.moves-in { display: grid; grid-template-rows: auto 1fr auto; gap: 14px; height: 100%; padding-top: 6vh; padding-bottom: 5vh; }
.moves-txt h2 { color: #fff; }
.move-now { font-size: 24px; font-weight: 800; display: flex; align-items: center; gap: 10px; min-height: 36px; }
.move-easy { color: var(--soft); font-size: 15px; margin-top: 6px; min-height: 48px; max-width: 30em; }
.moves-pic { position: relative; background: var(--navy2); border-radius: 24px; min-height: 200px; }
.pose { position: absolute; inset: 12px; display: grid; place-items: center; opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .28s, transform .28s; }
.pose.on { opacity: 1; transform: none; }
.pose svg { width: 100%; height: 100%; max-height: 100%; }
.move-dots { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; }
.move-dots li { height: 8px; border-radius: 4px; background: var(--navy3); font-size: 0; transition: background .2s, transform .2s; }
.move-dots li.on.a { background: var(--lime); transform: scaleY(1.5); }
.move-dots li.on.b { background: var(--blue); transform: scaleY(1.5); }

/* Sections */
.sec { padding: 56px 0; }
.sec.light { background: var(--cream); border-radius: 28px 28px 0 0; }
.sec.dark { background: var(--navy); color: #fff; }

/* Free plan + form */
.free-in { display: grid; gap: 28px; }
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-top: 20px; }
.day { border-radius: 12px; padding: 10px 2px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.day span { font-size: 10px; font-weight: 700; text-transform: uppercase; opacity: .8; }
.day b { font-size: 15px; line-height: 1.1; }
.day.a { background: var(--lime); color: var(--navy); }
.day.b { background: var(--blue); color: #fff; }
.day.w { background: var(--orange); color: var(--navy); }
.day.r { background: #e2e1d8; color: var(--muted); }
.free-pages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
.free-pages img { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 8px 20px rgba(10,15,42,.18); }
.free-pages img:nth-child(2) { translate: 0 14px; }
.lead-form, .buy-form { display: grid; gap: 8px; }
.lead-form { background: var(--paper); border-radius: 24px; padding: 22px; box-shadow: 0 3px 0 var(--line); border: 3px solid var(--lime); align-self: start; }
.lead-form h3 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.lead-form label, .buy-form label { font-weight: 600; font-size: 15px; margin-top: 4px; }
.lead-form input:not([type=checkbox]), .buy-form input { font: 16px "Poppins", sans-serif; min-height: 52px; padding: 0 16px; border-radius: 14px; border: 2px solid var(--line); background: #fbfbf7; width: 100%; color: var(--ink); }
.lead-form input:focus, .buy-form input:focus { outline: none; border-color: var(--blue); }
.lead-form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; line-height: 1.45; margin: 8px 0 6px; }
.check input { width: 20px; height: 20px; flex: none; margin-top: 1px; accent-color: var(--blue); }
.form-msg { font-size: 14px; font-weight: 600; color: #3b6a00; min-height: 1em; }
.form-msg.bad { color: #c62828; }

/* Paid ebook: pages pan sideways */
.plan-act { background: var(--navy); color: #fff; }
.plan-stage { display: flex; align-items: center; overflow: hidden; }
.rail { display: flex; gap: 18px; align-items: center; padding: 0 16px; width: max-content; }
.rail-lead { width: min(84vw, 420px); flex: none; }
.rail-lead .lead { color: var(--soft); }
.rail img { width: min(58vw, 300px); height: auto; border-radius: 10px; box-shadow: 0 16px 40px rgba(0,0,0,.45); flex: none; }
.rail img:nth-child(odd) { rotate: -2deg; }
.rail img:nth-child(even) { rotate: 2deg; translate: 0 12px; }

/* What's inside + buy */
.buy-sec { padding-top: 24px; }
.inside { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.in { background: var(--navy2); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 2px; }
.in b { color: var(--lime); font-size: 18px; }
.in span { font-size: 14px; color: var(--soft); line-height: 1.45; }
.buy { margin-top: 26px; background: var(--paper); color: var(--ink); border-radius: 24px; padding: 22px; display: grid; gap: 18px; border: 3px solid var(--lime); }
.price b { display: block; font-size: 52px; line-height: 1; font-weight: 800; }
.price span { color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 10px; margin-top: 20px; }
details { background: var(--paper); border-radius: 16px; box-shadow: 0 2px 0 var(--line); }
summary { cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 700; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 18px; top: 12px; font-size: 24px; color: var(--blue); }
details[open] summary::after { content: "–"; }
details p { padding: 0 18px 16px; color: var(--muted); }

/* Footer */
.foot { color: var(--soft); padding: 40px 0 48px; text-align: center; }
.foot .wrap { display: grid; gap: 10px; }
.foot .brand { color: var(--lime); }
.foot .fine { color: #8d94b8; }
.legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: 14px; }
.legal a { color: #fff; }

/* Policy pages */
.legal-top { padding: 18px 0; }
.legal-page .sec.light { min-height: 60vh; }
.doc h1 { font-size: clamp(30px, 7vw, 44px); line-height: 1.1; font-weight: 800; margin-bottom: 6px; }
.doc h2 { font-size: 21px; margin: 28px 0 8px; }
.doc p, .doc li { color: #2b3150; }
.doc p + p { margin-top: 10px; }
.doc ul { padding-left: 20px; display: grid; gap: 6px; }
.doc .fine { margin-bottom: 18px; }
.contact-card { background: var(--paper); border-radius: 18px; padding: 18px; margin: 18px 0; display: grid; gap: 6px; box-shadow: 0 2px 0 var(--line); }
.contact-card p + p { margin-top: 0; }

/* Wider screens */
@media (min-width: 760px) {
  .hero { padding: 40px 0 70px; }
  .hero-in { grid-template-columns: 1.15fr .85fr; gap: 30px; }
  .hero-art { order: 0; height: 470px; }
  .ring::before { width: 360px; height: 360px; }
  .guy-wrap .guy { height: 400px; }
  .btns .btn { flex: 0 0 auto; }
  .moves-in { grid-template-columns: 1fr 1.2fr; grid-template-rows: 1fr auto; column-gap: 40px; align-items: center; padding-top: 10vh; }
  .moves-pic { height: 56vh; }
  .move-dots { grid-column: 1 / -1; }
  .free-in { grid-template-columns: 1.1fr .9fr; gap: 40px; }
  .day b { font-size: 20px; } .day span { font-size: 12px; } .day { padding: 16px 2px; }
  .rail { gap: 28px; padding: 0 6vw; }
  .rail img { width: 300px; }
  .inside { grid-template-columns: repeat(3, 1fr); }
  .buy { grid-template-columns: 220px 1fr; align-items: center; padding: 30px; }
}
@media (prefers-reduced-motion: no-preference) {
  .pose.on svg { animation: breathe 1.4s ease-in-out infinite; transform-origin: 50% 90%; }
}
@keyframes breathe { 0%, 100% { scale: 1; } 50% { scale: 1.03; } }
