/* ============================================================
   Hone — landing page
   Unified dark theme. Brand: green = go, indigo = special,
   orange = accent, violet = depth. Motion is purposeful.
   ============================================================ */

:root {
  --bg:        #06070a;
  --bg-2:      #0a0c11;
  --bg-3:      #0e1016;
  --card:      #12141b;
  --card-2:    #171a22;
  --line:      rgba(255, 255, 255, 0.09);
  --line-2:    rgba(255, 255, 255, 0.14);

  --ink:       #f4f5f7;
  --ink-soft:  rgba(244, 245, 247, 0.66);
  --ink-mute:  rgba(244, 245, 247, 0.42);

  --green:     #31d158;
  --green-lit: #54df75;
  --orange:    #ff862b;
  --indigo:    #6871ff;
  --indigo-lit:#8b92ff;
  --violet:    #4d1f8e;

  --r-sm: 12px;
  --r:    18px;
  --r-lg: 26px;
  --r-xl: 34px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: 1200px;
  --pad: clamp(20px, 5vw, 56px);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Inter, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
button, a { font: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(var(--wrap), calc(100% - var(--pad) * 2)); margin-inline: auto; }

.skip-link {
  position: fixed; z-index: 200; top: 12px; left: 12px;
  padding: 10px 16px; background: var(--green); color: #05230f;
  border-radius: 8px; font-weight: 800; transform: translateY(-160%);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

:focus-visible { outline: 2px solid var(--indigo-lit); outline-offset: 3px; border-radius: 4px; }

/* ---------- Typography ---------- */
.display {
  font-weight: 800;
  font-size: clamp(2.7rem, 7.2vw, 6rem);
  line-height: 0.97;
  letter-spacing: -0.03em;
}
.h-lg {
  font-weight: 800;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.grad-text {
  background: linear-gradient(105deg, var(--green) 0%, var(--indigo-lit) 55%, var(--orange) 115%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  margin-bottom: 20px;
  color: var(--orange);
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.lede { color: var(--ink-soft); font-size: clamp(1rem, 1.4vw, 1.22rem); line-height: 1.6; }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand-mark { display: inline-grid; place-items: center; }
.glyph { width: 40px; height: 23px; color: var(--indigo);
  filter: drop-shadow(0 0 5px rgba(104,113,255,.9)) drop-shadow(0 0 16px rgba(104,113,255,.5)); }
.brand-word { transform: translateY(1px); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px;
  font-size: 0.92rem; font-weight: 700; letter-spacing: -0.01em; cursor: pointer;
  transition: transform .22s var(--ease), background .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
  will-change: transform;
}
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-green { background: var(--green); color: #05230f; box-shadow: 0 8px 30px -10px rgba(49,209,88,.6); }
.btn-green:hover { background: var(--green-lit); box-shadow: 0 14px 40px -10px rgba(49,209,88,.75); }

.btn-ghost { border-color: var(--line-2); color: var(--ink); background: rgba(255,255,255,.02); }
.btn-ghost:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.3); }

.btn-plus {
  color: #fff;
  background: linear-gradient(120deg, var(--indigo) 0%, var(--violet) 100%);
  box-shadow: 0 10px 34px -10px rgba(104,113,255,.7);
}
.btn-plus:hover { box-shadow: 0 16px 46px -10px rgba(104,113,255,.85); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateY(3px); }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 150; background: transparent; }
.scroll-progress span { display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--green), var(--indigo), var(--orange)); box-shadow: 0 0 12px rgba(104,113,255,.6); }

/* ============================================================
   NAV
   ============================================================ */
.site-nav { position: sticky; top: 0; z-index: 120; transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s var(--ease); border-bottom: 1px solid transparent; }
.site-nav[data-scrolled] { background: rgba(6,7,10,.72); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { color: var(--ink-soft); font-size: 0.9rem; font-weight: 600; transition: color .2s; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--green); transition: width .25s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { min-height: 42px; padding: 0 18px; font-size: 0.86rem; }

.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 42px; padding: 0 11px; background: rgba(255,255,255,.04); border: 1px solid var(--line-2); border-radius: 12px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { display: none; flex-direction: column; gap: 4px; padding: 12px var(--pad) 26px; background: rgba(8,9,13,.96); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.mobile-menu a { padding: 14px 6px; color: var(--ink-soft); font-weight: 600; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
.mobile-menu a:last-child { border: none; }
.mobile-menu-cta { justify-content: center; margin-top: 12px; color: #05230f; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; padding-top: clamp(40px, 7vw, 90px); }
.hero-aura { position: absolute; inset: -10% -10% auto -10%; height: 120%; pointer-events: none; z-index: 0; }
.aura { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.aura-indigo { width: 620px; height: 620px; top: -180px; right: -120px; background: radial-gradient(circle, rgba(104,113,255,.75), transparent 68%); }
.aura-green  { width: 560px; height: 560px; top: 120px; left: -180px; background: radial-gradient(circle, rgba(49,209,88,.42), transparent 66%); }
.aura-orange { width: 420px; height: 420px; top: 380px; right: 12%; background: radial-gradient(circle, rgba(255,134,43,.30), transparent 66%); }

.grid-lines { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
}

.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(30px, 5vw, 70px); align-items: center; padding: clamp(24px, 4vw, 40px) 0 clamp(60px, 7vw, 90px); }
.hero-copy { max-width: 640px; }
.hero-eyebrow { padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255,255,255,.03); color: var(--ink-soft); letter-spacing: .1em; }
.hero-eyebrow .dot { background: var(--green); }
.hero h1 { margin: 22px 0 24px; }
.hero .lede { max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 42px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-badges li { font-size: 0.85rem; color: var(--ink-soft); }
.hero-badges strong { display: block; color: var(--ink); font-size: 1.05rem; font-weight: 800; }

/* Phone + floating chips */
.hero-stage { position: relative; display: grid; place-items: center; min-height: 560px; }
.phone { position: relative; width: min(310px, 74vw); border: 8px solid #16181d; border-radius: 46px; overflow: hidden; background: #000;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.05), 22px 26px 0 -6px rgba(104,113,255,.22); }
.phone img { width: 100%; display: block; }
.hero-phone { animation: floaty 7s ease-in-out infinite; }

@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.chip { position: absolute; z-index: 3; background: rgba(18,20,27,.86); backdrop-filter: blur(14px); border: 1px solid var(--line-2); border-radius: 16px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.9); }
.chip-rest { top: 10%; right: -2%; display: flex; align-items: center; gap: 9px; padding: 11px 16px; color: var(--orange); font-weight: 800; font-size: 0.85rem; border-color: rgba(255,134,43,.5); animation: floatchip 6s ease-in-out infinite; }
.chip-rest .chip-timer-ico { width: 16px; height: 16px; color: var(--orange); flex: 0 0 auto; animation: tickpulse 1s ease-in-out infinite; }
.chip-rest b { font-variant-numeric: tabular-nums; }

.chip-sets { bottom: 20%; left: -8%; padding: 14px 16px; min-width: 190px; animation: floatchip 7s ease-in-out infinite .6s; }
.chip-label { color: var(--ink); font-weight: 700; font-size: 0.82rem; margin-bottom: 10px; }
.chip-dots { display: flex; gap: 7px; margin-bottom: 9px; }
.chip-dots i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease); }
.chip-dots i.on { background: var(--green); border-color: var(--green); box-shadow: 0 0 12px rgba(49,209,88,.6); }
.chip-reps { color: var(--green); font-size: 0.76rem; font-weight: 800; }

.chip-weight { top: 42%; right: -6%; padding: 12px 16px; text-align: center; animation: floatchip 8s ease-in-out infinite 1.1s; }
.chip-weight-key { display: block; color: var(--ink-mute); font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 3px; }
.chip-weight b { color: var(--indigo-lit); font-size: 1.35rem; font-weight: 800; }
.chip-weight small { font-size: 0.7rem; margin-left: 2px; color: var(--ink-soft); }

@keyframes floatchip { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-12px) rotate(-1deg); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Marquee */
.marquee { position: relative; z-index: 1; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(49,209,88,.08), rgba(104,113,255,.08)); }
.marquee-track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee-group { display: flex; align-items: center; flex: 0 0 auto; height: 58px; white-space: nowrap; }
.marquee-group span { font-size: 0.82rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.marquee-group i { width: 7px; height: 7px; margin: 0 30px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 12px rgba(255,134,43,.7); flex: 0 0 auto; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   STAT BAND
   ============================================================ */
.stat-band { padding: clamp(50px, 7vw, 84px) 0; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 44px); }
.stat b { display: block; font-size: clamp(2.4rem, 4.4vw, 3.4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1;
  background: linear-gradient(140deg, var(--ink), var(--indigo-lit)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-variant-numeric: tabular-nums; }
.stat b .unit { font-size: 1.4rem; -webkit-text-fill-color: var(--ink-soft); }
.stat span { display: block; margin-top: 12px; color: var(--ink-soft); font-size: 0.92rem; max-width: 220px; }

/* ============================================================
   STATEMENT
   ============================================================ */
.statement { padding: clamp(80px, 12vw, 150px) 0; text-align: center; position: relative; }
.statement h2 { margin: 4px auto 30px; max-width: 15ch; }
.statement-lede { max-width: 62ch; margin: 0 auto; color: var(--ink-soft); font-size: clamp(1.05rem, 1.6vw, 1.28rem); }

/* ============================================================
   FLOW / CHAPTERS
   ============================================================ */
.chapter { padding: clamp(70px, 9vw, 130px) 0; position: relative; }
.chapter-dark { background: linear-gradient(180deg, #0b0713, #0a0910); overflow: hidden; }
.chapter-glow { position: absolute; top: -20%; left: 50%; transform: translateX(-50%); width: 900px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(77,31,142,.55), transparent 62%); filter: blur(60px); pointer-events: none; }
.chapter-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.chapter-copy { max-width: 500px; }
.chapter-index { display: inline-flex; align-items: baseline; gap: 12px; margin-bottom: 20px; color: var(--ink-soft); font-size: 0.78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.chapter-index span { color: var(--orange); font-size: 1rem; }
.chapter-copy h2 { margin-bottom: 22px; }
.chapter-lede { color: var(--ink-soft); font-size: clamp(1rem, 1.4vw, 1.15rem); }
.chapter-copy .chapter-lede strong { color: var(--ink); }

.feature-list { margin-top: 30px; border-top: 1px solid var(--line); }
.feature-list li { position: relative; padding: 15px 0 15px 32px; border-bottom: 1px solid var(--line); font-size: 0.95rem; font-weight: 600; color: var(--ink); }
.feature-list li::before { content: ""; position: absolute; left: 2px; top: 50%; transform: translateY(-50%); width: 12px; height: 12px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px rgba(49,209,88,.6); }

.chapter-media { display: grid; place-items: center; position: relative; }
.chapter-media .phone { width: min(320px, 76vw); }
.media-tag { margin-top: 20px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-mute); font-size: 0.72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

/* ============================================================
   TRY / INTERACTIVE SET DEMO
   ============================================================ */
.try { padding: clamp(70px, 9vw, 130px) 0; background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.try-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.try-copy { max-width: 460px; }
.try-copy h2 { margin-bottom: 22px; }
.try-status { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding: 11px 18px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255,255,255,.03); font-size: 0.88rem; font-weight: 600; color: var(--ink-soft); }
.try-status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-mute); transition: background .3s, box-shadow .3s; }
.try-status.armed .try-status-dot { background: var(--orange); box-shadow: 0 0 12px var(--orange); }
.try-status.done .try-status-dot { background: var(--green); box-shadow: 0 0 12px var(--green); }

.try-card { position: relative; padding: clamp(22px, 3vw, 32px); background: linear-gradient(180deg, var(--card), var(--bg-3)); border: 1px solid var(--line-2); border-radius: var(--r-xl); box-shadow: 0 40px 90px -40px rgba(0,0,0,.9); overflow: hidden; }
.try-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(104,113,255,.5), transparent 40%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.try-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.try-card-head h3 { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; }
.try-card-head p { margin-top: 6px; color: var(--ink-mute); font-size: 0.85rem; }
.try-pills { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.try-reps { padding: 6px 12px; border-radius: 999px; background: rgba(49,209,88,.14); color: var(--green); font-size: 0.78rem; font-weight: 800; }
.try-weight { padding: 6px 12px; border-radius: 999px; background: rgba(104,113,255,.16); color: var(--indigo-lit); font-size: 0.78rem; font-weight: 800; }

.try-rest { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px; padding: 9px 15px; border: 1.5px solid rgba(255,134,43,.6); border-radius: 999px; background: rgba(255,134,43,.1); color: var(--orange); font-weight: 800; font-size: 0.9rem; box-shadow: 0 8px 22px -12px rgba(255,134,43,.6); }
.try-rest[hidden] { display: none; }
.try-rest-ico { width: 17px; height: 17px; color: var(--orange); flex: 0 0 auto; animation: tickpulse 1s ease-in-out infinite; }
.try-rest b { font-variant-numeric: tabular-nums; min-width: 1.5em; display: inline-block; text-align: center; }
.try-rest-skip { margin-left: 4px; padding: 4px 11px; border: none; border-radius: 999px; background: rgba(255,134,43,.2); color: var(--orange); font-weight: 800; font-size: 0.74rem; cursor: pointer; }
.try-rest-skip:hover { background: rgba(255,134,43,.34); }
@keyframes tickpulse { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }

.try-sets-label { color: var(--ink-mute); font-size: 0.75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.try-sets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 28px; }
.try-set { aspect-ratio: 1; display: grid; place-items: center; border: 2px solid var(--line-2); border-radius: 50%; background: transparent; color: var(--ink-soft); font-size: 1.25rem; font-weight: 800; cursor: pointer; transition: transform .3s cubic-bezier(.34,1.56,.64,1), background .3s var(--ease), border-color .3s var(--ease), color .2s; }
.try-set:hover { border-color: rgba(255,255,255,.35); transform: translateY(-2px); }
.try-set.on { background: var(--green); border-color: var(--green); color: #05230f; box-shadow: 0 0 22px rgba(49,209,88,.55); animation: pop .4s cubic-bezier(.34,1.56,.64,1); }
@keyframes pop { 0% { transform: scale(.8); } 55% { transform: scale(1.14); } 100% { transform: scale(1); } }

.try-photo { margin: 0 0 4px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: #050607; box-shadow: inset 0 0 0 1px rgba(49,209,88,.08); }
.try-photo img { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 42%; }
.try-reset { margin-top: 20px; }
.try-reset[hidden] { display: none; }

/* ============================================================
   EXERCISE LIBRARY
   ============================================================ */
.library { padding: clamp(70px, 9vw, 130px) 0; }
.library-head { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: clamp(24px, 4vw, 60px); align-items: end; margin-bottom: 46px; }
.library-sub { color: var(--ink-soft); font-size: 1rem; max-width: 42ch; }

.library-stage { display: grid; grid-template-columns: 0.85fr 1.15fr; border: 1px solid var(--line-2); border-radius: var(--r-xl); overflow: hidden; background: var(--card); }
.library-info { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 4vw, 48px); }
.library-type { color: var(--orange); font-size: 0.72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.library-name { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.03; margin-bottom: 12px; }
.library-muscles { color: var(--ink-soft); font-size: 0.98rem; max-width: 24ch; }
.library-tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 34px; }
.ex-tab { min-height: 50px; border: 1px solid var(--line-2); border-radius: 14px; background: rgba(255,255,255,.02); color: var(--ink-soft); font-weight: 700; font-size: 0.92rem; cursor: pointer; transition: background .25s var(--ease), color .2s, border-color .25s, transform .2s; }
.ex-tab:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.3); color: var(--ink); }
.ex-tab.is-active { background: var(--green); border-color: var(--green); color: #05230f; box-shadow: 0 10px 28px -12px rgba(49,209,88,.7); }
.library-legend { display: flex; gap: 22px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.library-legend span { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-soft); font-size: 0.8rem; font-weight: 600; }
.library-legend i { width: 12px; height: 12px; border-radius: 4px; }
.lg-body { background: var(--orange); }
.lg-equip { background: #2fd44e; }

.library-frame { position: relative; background: #050607; min-height: 440px; display: grid; place-items: center; overflow: hidden; }
.library-image { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s var(--ease), transform .6s var(--ease); }
.library-image.is-changing { opacity: 0; transform: scale(1.03); }
.library-corner { position: absolute; top: 16px; right: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(0,0,0,.55); backdrop-filter: blur(8px); border: 1px solid var(--line-2); color: var(--ink-soft); font-size: 0.7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* ============================================================
   SMART WEIGHTS
   ============================================================ */
.smart { padding: clamp(70px, 9vw, 130px) 0; background: var(--bg-2); border-top: 1px solid var(--line); }
.smart-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.smart-copy { max-width: 480px; }
.smart-copy h2 { margin-bottom: 22px; }
.smart-note { margin-top: 22px; color: var(--indigo-lit); font-size: 0.9rem; font-weight: 700; }

.smart-calc { padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line-2); border-radius: var(--r-xl); background: linear-gradient(180deg, var(--card), var(--bg-3)); box-shadow: 0 40px 90px -40px rgba(0,0,0,.9); }
.smart-inputs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.smart-in { display: flex; align-items: baseline; justify-content: space-between; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.02); }
.smart-in span { color: var(--ink-soft); font-size: 0.82rem; font-weight: 700; }
.smart-in b { font-size: 1.3rem; font-weight: 800; }
.smart-in small { font-size: 0.7rem; color: var(--ink-mute); margin-left: 2px; }
.smart-flow { display: flex; justify-content: center; gap: 8px; padding: 18px 0; }
.smart-flow span { width: 7px; height: 7px; border-radius: 50%; background: var(--indigo); opacity: .4; animation: flowpulse 1.6s ease-in-out infinite; }
.smart-flow span:nth-child(2) { animation-delay: .2s; }
.smart-flow span:nth-child(3) { animation-delay: .4s; }
@keyframes flowpulse { 0%,100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(4px); } }
.smart-outputs { padding: 20px; border: 1px solid rgba(104,113,255,.4); border-radius: 18px; background: linear-gradient(180deg, rgba(104,113,255,.12), rgba(104,113,255,.04)); }
.smart-out-label { color: var(--indigo-lit); font-size: 0.72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.smart-out { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); }
.smart-out:last-child { border-bottom: none; }
.smart-out span { color: var(--ink); font-size: 0.92rem; font-weight: 600; }
.smart-out b { color: var(--indigo-lit); font-size: 1.02rem; font-weight: 800; }

/* ============================================================
   EXERCISE PROGRESS (feature demo)
   ============================================================ */
.prog2 { padding: clamp(70px, 9vw, 130px) 0; background: var(--bg-3); border-top: 1px solid var(--line); }
.prog-demo-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.prog-demo-title { font-size: 0.98rem; font-weight: 800; letter-spacing: -0.01em; }
.prog-range { font-size: 0.72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); }
/* Metric tiles (Weight / Est. 1RM / Reps) — same look as the app's delta tiles */
.prog-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.prog-tile { padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.prog-tile .lbl { display: block; font-size: 0.6rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); }
.prog-tile .val { display: block; font-size: 1.12rem; font-weight: 800; margin-top: 5px; color: var(--ink); }
.prog-tile .delta { display: block; margin-top: 3px; font-size: 0.68rem; font-weight: 800; color: var(--green); }
.prog-tile.t-weight { border-color: rgba(104, 113, 255, .4); }
.prog-tile.t-orm    { border-color: rgba(255, 255, 255, .28); }
.prog-tile.t-reps   { border-color: rgba(49, 209, 88, .4); }
/* Per-metric charts, stacked — one card each, like ExerciseProgressDetail */
.prog-charts { display: flex; flex-direction: column; gap: 10px; }
.prog-chartcard { padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.cc-title { display: block; font-size: 0.72rem; font-weight: 800; margin-bottom: 8px; }
.cc-weight { color: var(--indigo-lit); }
.cc-orm    { color: var(--ink); }
.cc-reps   { color: var(--green-lit); }
.cc-chart { display: block; width: 100%; height: 52px; }
.cc-line { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.l-weight { stroke: var(--indigo-lit); }
.l-orm    { stroke: var(--ink); }
.l-reps   { stroke: var(--green-lit); }
.cc-area { stroke: none; }
.a-weight { fill: rgba(104, 113, 255, .14); }
.a-orm    { fill: rgba(244, 245, 247, .10); }
.a-reps   { fill: rgba(49, 209, 88, .14); }

/* ============================================================
   PROGRESS + BENTO
   ============================================================ */
.progress { padding: clamp(70px, 9vw, 130px) 0; }
.progress-head { margin-bottom: 46px; max-width: 46ch; }
.progress-head h2 { margin-top: 4px; }

.bento { display: grid; gap: 18px; }
.bento-progress { grid-template-columns: repeat(2, 1fr); grid-auto-rows: minmax(180px, auto); }

.bento-card { position: relative; padding: clamp(22px, 2.6vw, 32px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); overflow: hidden; transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s; }
.bento-card:hover { transform: translateY(-4px); border-color: var(--line-2); background: var(--card-2); }
.bento-card h3 { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 10px; }
.bento-card p { color: var(--ink-soft); font-size: 0.92rem; }
.bento-icon { display: inline-grid; place-items: center; min-width: 48px; height: 48px; padding: 0 12px; border-radius: 14px; font-weight: 800; font-size: 1.1rem; margin-bottom: 20px; }
.icon-indigo { background: rgba(104,113,255,.16); color: var(--indigo-lit); }
.icon-green { background: rgba(49,209,88,.16); color: var(--green); }
.icon-orange { background: rgba(255,134,43,.16); color: var(--orange); }
.bento-tall .bento-icon { font-size: 1.3rem; }
.bento-glyph { width: 22px; height: 22px; }

.bento-heat { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: clamp(28px, 5vw, 60px); background: linear-gradient(120deg, rgba(49,209,88,.1), var(--card)); }
.bento-heat-copy { max-width: 34ch; flex: 0 1 auto; }
.bento-heat-copy h3 { margin-bottom: 10px; }
.heatmap-shot { width: clamp(300px, 48%, 560px); height: auto; display: block; border-radius: var(--r); border: 1px solid var(--line); background: #000; flex: 0 1 auto; }

/* Achievements — same medal language as the app's AchievementBadge */
.bento-ach { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: clamp(28px, 5vw, 60px); background: linear-gradient(120deg, rgba(104,113,255,.1), var(--card)); }
.bento-ach-copy { max-width: 40ch; }
.bento-ach-copy h3 { margin-bottom: 10px; }
.ach-row { display: flex; gap: clamp(14px, 2vw, 28px); flex-wrap: wrap; justify-content: center; }
.ach-badge { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 92px; text-align: center; }
.ach-medal { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; border: 2px solid rgba(255, 255, 255, .4); }
.ach-medal.c-workouts { background: linear-gradient(135deg, var(--green), rgba(49, 209, 88, .6));  box-shadow: 0 10px 22px -8px rgba(49, 209, 88, .7); }
.ach-medal.c-weight   { background: linear-gradient(135deg, var(--indigo), rgba(104, 113, 255, .6)); box-shadow: 0 10px 22px -8px rgba(104, 113, 255, .7); }
.ach-medal.c-age      { background: linear-gradient(135deg, var(--orange), rgba(255, 134, 43, .6)); box-shadow: 0 10px 22px -8px rgba(255, 134, 43, .7); }
.ach-glyph { width: 40px; height: 40px; color: #fff; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .22)); }
.ach-name { font-size: .82rem; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.ach-req { font-size: .68rem; font-weight: 700; color: var(--ink-mute); }
@media (max-width: 820px) {
  .bento-ach { flex-direction: column; align-items: flex-start; gap: 24px; }
  .ach-row { justify-content: flex-start; }
}
.mini-heatmap { display: grid; grid-template-rows: repeat(7, 8px); grid-auto-flow: column; grid-auto-columns: 8px; gap: 3px; flex: 0 0 auto; }
.mini-heatmap i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.06); }
.mini-heatmap i.l1 { background: rgba(255,134,43,.6); }
.mini-heatmap i.l2 { background: rgba(49,209,88,.45); }
.mini-heatmap i.l3 { background: rgba(49,209,88,.75); }
.mini-heatmap i.l4 { background: var(--indigo); box-shadow: 0 0 10px rgba(104,113,255,.5); }

.bento-tall { display: flex; flex-direction: column; }

/* Apple Watch mockups — real app screenshots framed in a titanium case */
.watch-stage { margin-top: auto; padding-top: 26px; display: flex; justify-content: center; align-items: center; }
.watch { position: relative; width: 156px; padding: 9px; border-radius: 38px; background: linear-gradient(155deg, #2c2d33, #131317); box-shadow: 0 26px 50px -22px rgba(0,0,0,.9), inset 0 0 0 1px rgba(255,255,255,.06); }
.watch img { display: block; width: 100%; border-radius: 30px; background: #000; }
.watch-back { transform: rotate(-7deg) translateY(8px) scale(.92); z-index: 1; }
.watch-front { margin-left: -48px; transform: rotate(5deg) translateY(-6px); z-index: 2; }
.watch-front::after { content: ""; position: absolute; top: 34%; right: -3px; width: 6px; height: 30px; border-radius: 3px; background: linear-gradient(#4a4b52, #26272c); box-shadow: 0 1px 2px rgba(0,0,0,.5); }
@media (max-width: 520px) {
  .watch { width: 132px; }
  .watch-front { margin-left: -40px; }
}

/* ============================================================
   ECOSYSTEM
   ============================================================ */
.ecosystem { position: relative; padding: clamp(70px, 9vw, 130px) 0; background: linear-gradient(180deg, #060a08, #05070a); overflow: hidden; border-top: 1px solid var(--line); }
.eco-glow { position: absolute; top: -10%; right: -5%; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(49,209,88,.28), transparent 62%); filter: blur(70px); pointer-events: none; }
.eco-head { position: relative; display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; margin-bottom: 48px; }
.eco-icon img { width: clamp(90px, 12vw, 128px); border-radius: 28px; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 0 60px rgba(104,113,255,.4); }
.eco-head .chapter-lede { margin-top: 16px; max-width: 52ch; }

.bento-eco { position: relative; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(190px, auto); }
.bento-eco .bento-tall { grid-row: span 2; grid-column: span 2; }
.bento-eco > .bento-card:nth-child(2) { grid-column: span 2; }
.eco-kicker { display: inline-block; margin-bottom: 16px; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line-2); color: var(--green); font-size: 0.72rem; font-weight: 800; letter-spacing: .06em; }
.bento-eco .bento-tall { background: linear-gradient(160deg, rgba(104,113,255,.14), var(--card)); }
.bento-eco .bento-tall h3 { font-size: 1.5rem; }
.bento-eco .bento-band { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 40px; background: linear-gradient(120deg, rgba(49,209,88,.1), var(--card)); }
.bento-band h3 { margin-bottom: 0; margin-top: 12px; }
.bento-band > p { max-width: 46ch; margin: 0; }

/* ============================================================
   HONE+
   ============================================================ */
.plus { padding: clamp(70px, 9vw, 130px) 0; }
.plus-head { text-align: center; max-width: 60ch; margin: 0 auto 52px; }
.plus-badge { display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: 0.72rem; font-weight: 900; letter-spacing: .14em; color: #fff; background: linear-gradient(120deg, var(--indigo), var(--violet)); box-shadow: 0 0 24px rgba(104,113,255,.5); }
.plus-badge.sm { padding: 3px 9px; font-size: 0.6rem; vertical-align: middle; }
.plus-head h2 { margin: 22px 0 20px; }

.plus-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 900px; margin: 0 auto; }
.plus-disclaimer { max-width: 62ch; margin: 26px auto 0; text-align: center; font-size: 0.84rem; line-height: 1.55; color: var(--ink-mute); }
.plan-card { position: relative; padding: clamp(26px, 3vw, 38px); border: 1px solid var(--line-2); border-radius: var(--r-xl); background: var(--card); display: flex; flex-direction: column; }
.plan-card-plus { border-color: rgba(104,113,255,.55); background: linear-gradient(180deg, rgba(104,113,255,.1), var(--card)); box-shadow: 0 30px 80px -40px rgba(104,113,255,.5); }
.plan-flag { position: absolute; top: 0; right: 26px; transform: translateY(-50%); padding: 6px 14px; border-radius: 999px; background: linear-gradient(120deg, var(--indigo), var(--violet)); color: #fff; font-size: 0.7rem; font-weight: 800; letter-spacing: .06em; }
.plan-name { font-size: 1.1rem; font-weight: 800; margin-bottom: 8px; }
.plan-price { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 24px; }
.plan-price small { display: block; margin-top: 4px; font-size: 0.85rem; font-weight: 600; color: var(--ink-mute); letter-spacing: 0; }
.plan-list { margin-bottom: 28px; flex: 1; }
.plan-list li { position: relative; padding: 11px 0 11px 30px; border-bottom: 1px solid var(--line); font-size: 0.92rem; color: var(--ink-soft); }
.plan-list li:last-child { border-bottom: none; }
.plan-list li b { color: var(--ink); }
.plan-list li::before { content: "✓"; position: absolute; left: 4px; top: 11px; color: var(--green); font-weight: 900; font-size: 0.85rem; }
.plan-card-plus .plan-list li::before { color: var(--indigo-lit); }

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta { position: relative; padding: clamp(90px, 13vw, 170px) 0; text-align: center; overflow: hidden; background: var(--bg-2); border-top: 1px solid var(--line); }
.cta-aura { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 55% at 50% 45%, rgba(104,113,255,.28), transparent 60%), radial-gradient(ellipse 40% 40% at 30% 80%, rgba(49,209,88,.18), transparent 60%); }
.cta-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.brand-mark-lg .glyph { width: 84px; height: 48px; filter: drop-shadow(0 0 10px rgba(104,113,255,.9)) drop-shadow(0 0 34px rgba(104,113,255,.5)); }
.cta h2 { margin: 30px 0 22px; }
.cta-lede { max-width: 52ch; color: var(--ink-soft); font-size: clamp(1.02rem, 1.5vw, 1.2rem); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 40px; }
.cta-fine { margin-top: 26px; color: var(--ink-mute); font-size: 0.82rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #040508; border-top: 1px solid var(--line); padding: clamp(50px, 7vw, 84px) 0 34px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 60px); }
.footer-brand { max-width: 34ch; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { color: var(--ink-soft); font-size: 0.9rem; }
.footer-made { margin-top: 14px; color: var(--ink-mute); font-size: 0.82rem; }
.footer-head { color: var(--ink); font-weight: 800; font-size: 0.82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--ink-soft); font-size: 0.9rem; transition: color .2s; }
.footer-col a:hover { color: var(--green); }
.footer-base { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: clamp(40px, 5vw, 64px); padding-top: 26px; border-top: 1px solid var(--line); color: var(--ink-mute); font-size: 0.82rem; }
.footer-base-links { display: inline-flex; align-items: center; gap: 22px; }
.footer-top, .footer-employee { color: var(--ink-soft); transition: color .2s; }
.footer-top:hover { color: var(--ink); }
.footer-employee { color: var(--ink-mute); }
.footer-employee:hover { color: var(--ink-soft); }

/* ============================================================
   REVEAL / MOTION UTILITIES
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
[data-stagger] > * { transition-delay: var(--d, 0ms); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 0.9fr; }
  .bento-eco { grid-template-columns: repeat(2, 1fr); }
  .bento-eco .bento-tall { grid-column: span 2; grid-row: span 1; }
  .bento-eco > .bento-card:nth-child(2) { grid-column: span 2; }
}

@media (max-width: 860px) {
  .nav-links, .nav-hide-mobile { display: none; }
  .nav-toggle { display: flex; }
  .site-nav.menu-open .mobile-menu { display: flex; }

  .hero-grid { grid-template-columns: 1fr; gap: 20px; text-align: left; padding-bottom: 50px; }
  .hero-stage { min-height: auto; margin-top: 24px; }
  .hero-copy { max-width: none; }

  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 24px; }

  .chapter-grid, .chapter-grid-rev { grid-template-columns: 1fr; gap: 44px; }
  .chapter-grid-rev .chapter-media { order: -1; }
  .chapter-copy { max-width: none; }

  .try-grid { grid-template-columns: 1fr; gap: 40px; }
  .library-head { grid-template-columns: 1fr; gap: 18px; }
  .library-stage { grid-template-columns: 1fr; }
  .library-frame { min-height: 340px; order: -1; }
  .smart-grid { grid-template-columns: 1fr; gap: 40px; }
  .plus-grid { grid-template-columns: 1fr; max-width: 460px; }
  .eco-head { grid-template-columns: 1fr; }
  .bento-heat { flex-direction: column; align-items: flex-start; gap: 24px; }
  .heatmap-shot { width: 100%; }
  .mini-heatmap { grid-template-rows: repeat(7, 7px); grid-auto-columns: 7px; gap: 2px; }
  .bento-eco .bento-band { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 520px) {
  :root { --pad: 20px; }
  .display { font-size: clamp(2.3rem, 10vw, 3rem); }
  .h-lg { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .nav-cta .btn { padding: 0 15px; }
  .hero h1 { margin: 18px 0 20px; }
  .hero-badges { gap: 18px; }
  .chip-sets { left: -2%; min-width: 168px; }
  .chip-rest { right: 0; }
  .chip-weight { right: 0; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .bento-progress, .bento-eco { grid-template-columns: 1fr; }
  .bento-eco .bento-tall, .bento-eco > .bento-card:nth-child(2) { grid-column: auto; grid-row: auto; }
  .try-sets { gap: 10px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-base { flex-direction: column; align-items: flex-start; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-phone, .chip, .marquee-track, .smart-flow span { animation: none !important; }
}
