/* fitness.dad-look.com - Book Fit: deep navy, electric lime and coral, like a workout app at 6am */
body { margin: 0; background: #14162b; color: #f2f3fa; font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; }
[hidden] { display: none !important; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #c6f432; outline-offset: 3px; }
.fi-kicker { margin: 0 0 6px; font-size: 13px; font-weight: 900; letter-spacing: 0.2em; text-transform: uppercase; color: #c6f432; }

/* The stick figure (also used in the player) */
.fi-figure { display: block; width: 100%; height: auto; }
.fi-limb { stroke: #f2f3fa; stroke-width: 8; stroke-linecap: round; }
.fi-back { stroke: #8f93b8; }
.fi-head { fill: #f2f3fa; }
.fi-floor { stroke: #3a3e66; stroke-width: 3; }
.fi-wall { fill: #3a3e66; }
.fi-cover { fill: #111111; stroke: #d9b24c; stroke-width: 1.5; }
.fi-gold { fill: #d9b24c; }

/* Hero */
.fi-hero { max-width: 1100px; margin: 0 auto; padding: 50px 24px 30px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.fi-logo { margin: 0 0 18px; font-size: 26px; font-weight: 900; font-style: italic; letter-spacing: 0.04em; }
.fi-logo span { color: #c6f432; }
.fi-hero h1 { margin: 0; font-size: clamp(34px, 5.5vw, 58px); line-height: 1.04; letter-spacing: -0.02em; }
.fi-lede { margin: 18px 0 0; font-size: 18px; line-height: 1.55; color: #c4c7e0; }
.fi-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 26px; }
.fi-hero-figure { padding: 20px; border-radius: 28px; background: radial-gradient(circle at 50% 40%, #2a2e57, #1b1d38 70%); box-shadow: inset 0 0 0 2px #2a2e57; }
.fi-button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border: 0; border-radius: 999px; background: #c6f432; color: #14162b; font: inherit; font-size: 17px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.04em; text-decoration: none; cursor: pointer; }
.fi-button:hover { background: #d6ff52; }
.fi-button-ghost { min-height: 44px; padding: 0 18px; background: rgba(255, 255, 255, 0.1); color: #f2f3fa; font-size: 14px; }
.fi-button-ghost:hover { background: rgba(255, 255, 255, 0.2); }
.fi-link { font-weight: 800; color: #c6f432; }

.fi-page { max-width: 1100px; margin: 0 auto; padding: 20px 24px 0; display: flex; flex-direction: column; gap: 50px; }
.fi-page h2 { margin: 0 0 18px; font-size: 30px; letter-spacing: -0.01em; }

/* Equipment */
.fi-equipment ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.fi-equipment li { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: 16px; background: #1d2040; }
.fi-equipment b { font-size: 19px; color: #c6f432; }
.fi-equipment span { font-size: 14px; color: #c4c7e0; line-height: 1.45; }

/* The moves */
.fi-grid { margin: 0; padding: 0; list-style: none; counter-reset: move; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.fi-move { counter-increment: move; display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: #1d2040; }
.fi-move-visual { position: relative; padding: 10px 30px; background: radial-gradient(circle at 50% 40%, #2a2e57, #1b1d38 75%); }
.fi-move-visual::before { content: counter(move, decimal-leading-zero); position: absolute; top: 14px; left: 16px; font-size: 14px; font-weight: 900; color: #c6f432; }
.fi-move-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.fi-tags { margin: 0; display: flex; justify-content: space-between; gap: 10px; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #8f93b8; }
.fi-level { color: #c6f432; letter-spacing: 2px; }
.fi-move h3 { margin: 6px 0 2px; font-size: 22px; }
.fi-reps { margin: 0 0 10px; font-size: 15px; font-weight: 800; color: #ff8a7a; }
.fi-steps { margin: 0; padding-left: 20px; font-size: 15px; line-height: 1.5; color: #dfe1f0; }
.fi-steps li + li { margin-top: 4px; }
.fi-tip { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: rgba(198, 244, 50, 0.08); font-size: 14px; line-height: 1.45; color: #e6f7b0; }
.fi-share-move { align-self: flex-start; margin-top: auto; min-height: 36px; padding: 0 14px; border: 1px solid #3a3e66; border-radius: 999px; background: none; color: #c4c7e0; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.fi-tip + .fi-share-move { margin-top: 14px; }
.fi-share-move:hover { border-color: #c6f432; color: #c6f432; }

.fi-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.fi-stats p { margin: 0; padding: 18px; border-radius: 16px; background: #1d2040; text-align: center; font-size: 14px; color: #c4c7e0; }
.fi-stats b { display: block; font-size: 34px; color: #c6f432; }

/* The follow-along player */
.fi-player { position: fixed; inset: 0; z-index: 20; display: flex; align-items: center; justify-content: center; padding: 20px; background: #14162b; overflow-y: auto; }
.fi-player-inner { position: relative; width: 100%; max-width: 520px; text-align: center; }
.fi-close { position: absolute; top: -6px; right: 0; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.1); color: #ffffff; font-size: 26px; cursor: pointer; }
.fi-phase { margin: 0; font-size: 14px; font-weight: 900; letter-spacing: 0.2em; text-transform: uppercase; color: #c6f432; }
.fi-phase.is-rest { color: #ff8a7a; }
.fi-player h2 { margin: 6px 0 0; font-size: clamp(26px, 5vw, 36px); }
.fi-player-figure { width: min(320px, 70vw); margin: 10px auto 0; }
.fi-timer { margin: 0; font-size: 72px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.fi-player-tip { margin: 10px 0 0; min-height: 44px; font-size: 16px; line-height: 1.4; color: #c4c7e0; }
.fi-player-bar { height: 6px; margin: 16px 0; border-radius: 3px; background: #2a2e57; overflow: hidden; }
.fi-player-bar span { display: block; width: 0; height: 100%; background: #c6f432; transition: width 0.3s linear; }
.fi-player-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.fi-done { margin-top: 16px; }
.fi-done-title { margin: 0 0 12px; font-size: 30px; font-weight: 900; color: #c6f432; }
.fi-done ul { margin: 0 0 18px; padding: 0; list-style: none; display: flex; justify-content: center; gap: 12px; }
.fi-done li { min-width: 90px; padding: 10px; border-radius: 12px; background: #1d2040; font-size: 13px; color: #c4c7e0; }
.fi-done li b { display: block; font-size: 22px; color: #ffffff; }

/* Bottom */
.fi-bottom { max-width: 1100px; margin: 0 auto; padding: 60px 24px 48px; display: flex; flex-direction: column; gap: 28px; }
.fi-cta { padding: 44px 24px; border-radius: 26px; background: #c6f432; color: #14162b; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.fi-cta .fi-kicker { color: #4a5a00; }
.fi-cta h2 { margin: 0; font-size: 40px; }
.fi-cta p { margin: 0; max-width: 560px; font-size: 17px; line-height: 1.5; }
.fi-cta-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; box-sizing: border-box; width: 100%; max-width: 560px; min-height: 72px; padding: 18px 24px; border-radius: 999px; background: #ec6e6a; color: #ffffff; font-size: 21px; font-weight: 900; text-transform: uppercase; text-decoration: none; }
.fi-cta-button:hover { background: #d95450; }
.fi-cta-arrow { display: inline-block; }
.fi-share { min-height: 48px; padding: 0 22px; border: 2px solid #14162b; border-radius: 999px; background: none; color: #14162b; font: inherit; font-size: 16px; font-weight: 800; cursor: pointer; }
.fi-share:hover { background: #14162b; color: #c6f432; }
.fi-status { margin: 0; font-size: 14px; font-weight: 700; color: #2b4a00; }
.fi-status:empty { display: none; }
.fi-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; line-height: 1.5; color: #8f93b8; border-top: 1px solid #2a2e57; padding-top: 14px; }
.fi-bottom .more-title { color: #ffffff; }

@media (max-width: 800px) {
	.fi-hero { grid-template-columns: minmax(0, 1fr); padding: 34px 16px 20px; gap: 24px; }
	.fi-hero-figure { max-width: 320px; width: 100%; margin: 0 auto; box-sizing: border-box; }
	.fi-page { padding: 10px 16px 0; gap: 40px; }
	.fi-equipment ul, .fi-stats { grid-template-columns: minmax(0, 1fr); }
	.fi-grid { grid-template-columns: minmax(0, 1fr); }
	.fi-timer { font-size: 56px; }
	.fi-bottom { padding: 44px 16px 40px; }
	.fi-cta h2 { font-size: 30px; }
	.fi-cta-button { font-size: 17px; min-height: 64px; }
}

/* Animations - only with JavaScript and when the visitor allows motion */
@media (prefers-reduced-motion: no-preference) {
	.js .fi-hero-text > * { animation: fi-rise 0.6s ease both; }
	.js .fi-hero-text > *:nth-child(2) { animation-delay: 0.08s; }
	.js .fi-hero-text > *:nth-child(3) { animation-delay: 0.16s; }
	.js .fi-hero-text > *:nth-child(4) { animation-delay: 0.24s; }
	.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
	.js .reveal.is-in { opacity: 1; transform: none; }
	.fi-timer.is-tick { animation: fi-tick 0.3s ease; }
	.fi-cta-button { animation: fi-glow 2.2s ease-in-out infinite; transition: transform 0.15s ease; }
	.fi-cta-button:hover { transform: scale(1.02); }
	.fi-cta-arrow { animation: fi-nudge 1.1s ease-in-out infinite; }
}

@keyframes fi-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fi-tick { 0% { transform: scale(1.15); } 100% { transform: none; } }
@keyframes fi-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(236, 110, 106, 0.5); } 50% { box-shadow: 0 0 0 12px rgba(236, 110, 106, 0); } }
@keyframes fi-nudge { 0%, 100% { transform: none; } 50% { transform: translateX(8px); } }
