/* Home page. Every section is a normal block you scroll past: nothing is pinned and nothing moves with the scroll
   position (owner, 29 Nov: no scroll animation on phone or desktop). home.js only sizes the phone mock-ups to the
   screen (the --variables below) and runs the plan builder and the grade ladder. */
.sec { position: relative; height: 100vh; height: 100svh; min-height: 660px; max-height: 1100px; overflow: hidden }
.glow { position: absolute; left: 50%; top: 46%; width: min(1100px, 150vw); aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(255,255,255,.085), rgba(255,255,255,.03) 45%, transparent 70%) }
@keyframes float { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-12px) } }
.cap h2, .col-text h2 { font-size: clamp(30px, 3.3vw, 46px); font-weight: 700; line-height: 1.06; letter-spacing: -.03em; text-wrap: balance }
.cap p, .col-text p { margin-top: 14px; color: #D3D6DB; font-size: 17px; line-height: 1.5; max-width: 350px }
.col-text { position: absolute; z-index: 5; left: max(36px, calc(50% - 640px)); top: 24vh; width: 380px }
.col-text > .btn, .col-text .dl-row { margin-top: 26px }
.dl-row { display: flex; gap: 8px }

/* phone */
.phone { width: 300px; height: 620px; border-radius: 48px; background: #08090A; position: relative; overflow: hidden; flex: none;
  box-shadow: 0 0 0 1.5px #4A4D54, 0 0 0 8px #0D0E10, 0 0 0 9.5px #2C2E33, 0 50px 120px rgba(0,0,0,.85); font-family: var(--font) }
.phone::after { content: ""; position: absolute; top: 11px; left: 50%; width: 84px; height: 24px; margin-left: -42px; border-radius: 20px; background: #000; z-index: 6 }
.scr { position: absolute; inset: 0; padding: 46px 14px 14px; display: flex; flex-direction: column; background: #08090A }
.pv-btn { margin-top: auto; height: 46px; border-radius: 99px; background: #fff; color: #0A0B0D; display: grid; place-items: center; font: 600 14px var(--font); flex: none }
.tabbar { display: flex; justify-content: space-between; padding: 10px 6px 2px; margin: 10px -4px 0; border-top: 1px solid var(--line); flex: none }
.tabbar span { display: grid; justify-items: center; gap: 4px; font-size: 8.5px; color: var(--dim); width: 44px }
.tabbar i { width: 16px; height: 16px; border-radius: 5px; border: 1.6px solid currentColor }
.tabbar .on { color: #fff }
.flame { width: 1em; height: .92em; flex: none }

/* ---------- 1. hero ---------- */
.s-hero { --ex: 1; --s0: .8; --y0: 40vh; --c0: 70vh }
.hero-copy { position: absolute; inset: 0 0 auto 0; padding: clamp(100px, 14vh, 150px) 20px 0; text-align: center; z-index: 5 }
.hero-copy h1 { font: 700 clamp(46px, 6.300vw, 100px)/1 var(--disp); letter-spacing: -.04em }
.hero-copy h1 em { font-style: normal; color: var(--volt) }
.hero-copy .sub { max-width: 520px; margin: clamp(16px, 2.600vh, 28px) auto 0; font-size: clamp(16px, 1.400vw, 19px); line-height: 1.45; color: #E3E5E9 }
.hero-copy .stores { margin-top: clamp(16px, 2.600vh, 28px) }
.pill { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; padding: 6px 13px; border-radius: 99px; border: 1px solid var(--line); background: rgba(255,255,255,.03); font-size: 13.5px; color: #D7DADF }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 9px; background: var(--volt); box-shadow: 0 0 10px var(--volt) }
.mcard { position: absolute; z-index: 4; display: flex; align-items: center; gap: 11px; padding: 10px 18px 10px 11px; border-radius: 18px; white-space: nowrap;
  background: rgba(24,25,29,.9); border: 1px solid var(--line2); box-shadow: 0 16px 40px rgba(0,0,0,.6); animation: float 6s ease-in-out infinite }
.mcard b { display: block; font: 600 14.5px var(--font) } .mcard small { color: var(--mute); font-size: 12.5px }
.mcard img { width: 42px; height: 42px } .mcard .flame { font-size: 34px; margin: 0 4px }
.mcard .up { font: 700 15px var(--disp); font-style: normal; color: #0A0B0D; background: var(--volt); border-radius: 12px; padding: 9px 9px; letter-spacing: -.02em }
.mc1 { right: calc(50% + 250px); top: calc(var(--c0) - 70px) } .mc2 { left: calc(50% + 280px); top: calc(var(--c0) + 30px); animation-delay: -2s }
.mc3 { left: calc(50% + 200px); top: calc(var(--c0) - 190px); animation-delay: -4s }

/* the logging screen: taken apart in the hero (--ex: 1), flat everywhere else (--ex: 0) */
.phA { --ex: 0 }
.s-hero .phA { --ex: 1; position: absolute; left: 50%; top: 0; margin-left: -150px; z-index: 3; overflow: visible; transform-style: preserve-3d;
  transform: translate3d(0, var(--y0), 0) rotateX(56deg) rotateZ(-32deg) scale(var(--s0)) }
.s-hero .phA::after { transform: translateZ(1px) }
.s-hero .phA .scr-log { background: transparent; transform-style: preserve-3d; overflow: visible }
.ly { position: relative; transform: translateZ(calc(var(--z) * var(--ex) * 34px)); border-radius: 12px; background: rgba(16,17,20, calc(var(--ex) * .96));
  box-shadow: 0 0 0 calc(var(--ex) * 8px) rgba(16,17,20, calc(var(--ex) * .96)), 0 0 0 calc(var(--ex) * 9px) rgba(255,255,255, calc(var(--ex) * .14)), calc(var(--ex) * -22px) calc(var(--ex) * 30px) calc(var(--ex) * 44px) rgba(0,0,0, calc(var(--ex) * .65)) }
.ly + .ly { margin-top: calc(var(--ex) * 6px) }
.lg-top { display: flex; align-items: center; justify-content: space-between; padding: 0 2px }
.lg-time { font: 600 17px var(--disp); font-variant-numeric: tabular-nums } .lg-time::before { content: "⌄ "; color: var(--mute); font-weight: 400 }
.lg-fin { padding: 5px 13px; border-radius: 99px; border: 1px solid var(--line2); font-size: 11.5px; font-weight: 600 }
.lg-strip { display: flex; gap: 9px; margin-top: 12px } .lg-strip img { width: 44px; height: 44px; border-radius: 99px; object-fit: cover; background: #000; border: 1px solid var(--line); opacity: .7 }
.lg-strip img.on { border: 2px solid #fff; opacity: 1 }
.lg-fig { position: relative; height: 170px; margin: 6px -6px 0; display: grid; place-items: center; border-radius: 12px; background: #000 }
.lg-fig > img:first-child { height: 182px; width: auto; max-width: none }
.lg-badge { position: absolute; right: 12px; bottom: 6px; width: 44px; filter: drop-shadow(0 0 10px rgba(25,195,125,.6)) }
.lg-name { font: 600 15.5px var(--disp); margin-top: 8px } .lg-cue { color: var(--mute); font-size: 11.5px; margin-top: 2px }
.lg-pills { display: flex; gap: 7px; margin-top: 10px } .lg-pills span { padding: 6px 11px; border-radius: 99px; background: var(--card2); font-size: 10.5px; font-weight: 600 }
.lg-sets { margin-top: 10px; font-size: 11.5px }
.lg-sets .hd, .lg-sets .r { display: grid; grid-template-columns: 26px 1fr 56px 46px 26px; gap: 6px; align-items: center; padding: 5px 6px }
.lg-sets .hd { color: var(--dim); font-weight: 700; font-size: 9px; letter-spacing: .08em } .lg-sets .hd span:nth-child(n+2) { text-align: center }
.lg-sets .r { border-radius: 10px; color: var(--mute); margin-top: 3px }
.lg-sets .n { width: 22px; height: 22px; border-radius: 7px; background: var(--card2); display: grid; place-items: center; font-weight: 700; color: var(--ink) }
.lg-sets .pv { text-align: center }
.lg-sets .v { background: var(--card2); border: 1px solid var(--line); border-radius: 8px; text-align: center; padding: 4px 0; font-weight: 700; color: var(--ink) }
.lg-sets .t { width: 22px; height: 22px; border-radius: 99px; background: #2A2C31; display: grid; place-items: center; color: #6B6F77 }
.lg-sets .t svg { width: 11px; height: 11px }
.lg-sets .r.done { background: #1F2A0C; color: #DCE8B8 } .lg-sets .r.done .v { background: transparent; border-color: transparent }
.lg-sets .r.done .t { background: var(--volt); color: #0A0B0D }
.lg-sets .r.cur { background: #16181B }

/* ---------- 2 and 3. what to lift, the streak: a phone with big numbers either side ---------- */
.s-lift, .s-streak { --ps: 1; --pw: 300px; --y1: 12vh; --cy: 40vh }
.s-lift .phA, .s-streak .phS { position: absolute; left: 50%; top: 0; margin-left: -150px; z-index: 3; transform: translateY(var(--y1)) scale(var(--ps)) }
.scr-streak { align-items: center; text-align: center; padding-top: 74px; background: radial-gradient(120% 60% at 50% 30%, #1B0E06, #08090A 70%) }
.scr-streak h4 { font: 600 19px var(--disp) }
.sk-num { display: flex; align-items: center; gap: 10px; margin-top: 30px; color: var(--fire); font: 600 54px/1 var(--disp) } .sk-num .flame { font-size: 68px }
.sk-week { display: flex; gap: 9px; margin-top: 34px } .sk-week span { display: grid; gap: 6px; justify-items: center } .sk-week small { font-size: 8.5px; color: var(--mute); text-transform: uppercase }
.sk-week i { width: 25px; height: 25px; border-radius: 99px; background: #1C1D21; display: grid; place-items: center; color: #55585F } .sk-week i svg { width: 11px }
.sk-week .on i { background: var(--fire); color: #fff }
.scr-streak p { margin-top: 26px; font-size: 13px; font-weight: 500 } .sk-how { margin-top: auto; font-size: 11px; color: var(--mute) } .scr-streak .pv-btn { margin-top: 12px; width: 100% }
.big { position: absolute; top: var(--cy); z-index: 2; display: flex; align-items: baseline; gap: 6px; white-space: nowrap; transform: translateY(-50%) }
.big b { font: 700 clamp(84px, 12vw, 190px)/.9 var(--disp); letter-spacing: -.045em }
.big span { font: 700 clamp(22px, 2.800vw, 44px)/1 var(--disp); color: #8D9198 }
.big-l { right: calc(50% + var(--pw) / 2 + clamp(20px, 3vw, 52px)) } .big-r { left: calc(50% + var(--pw) / 2 + clamp(20px, 3vw, 52px)) }
.wk { position: absolute; left: 4px; bottom: calc(100% + 10px); font: 600 clamp(15px, 1.300vw, 19px) var(--font); font-style: normal; color: #C4C8CF; display: flex; align-items: center; gap: 10px }
.wk i { font-style: normal } .wk u { text-decoration: none; font: 700 13px var(--font); color: #0A0B0D; background: var(--volt); padding: 3px 9px; border-radius: 99px }
.spark { position: absolute; left: 6px; top: calc(100% + 14px); width: clamp(140px, 15vw, 220px); color: var(--volt); overflow: visible } .spark circle { fill: var(--volt) }
.big.strk, .big.strk span { color: var(--fire) }
.cal { position: absolute; z-index: 2; left: calc(50% + var(--pw) / 2 + clamp(24px, 4vw, 70px)); top: var(--cy); transform: translateY(-50%) }
.cal-h { display: flex; align-items: center; gap: 10px; color: #C4C8CF; font: 600 15px var(--font); margin-bottom: 14px } .cal-h .flame { font-size: 30px }
.cal-g { display: grid; grid-template-columns: repeat(7, clamp(26px, 2.500vw, 38px)); gap: clamp(6px, .700vw, 10px) }
.cal-g i { aspect-ratio: 1; border-radius: 28%; background: #17181B }
.cal-g i.on { background: var(--fire); box-shadow: 0 0 22px rgba(255,90,31,.4) } .cal-g i.rest.on { background: #3A1C0E; box-shadow: none }
.cap { position: absolute; z-index: 5; left: max(36px, calc(50% - 640px)); bottom: clamp(26px, 8vh, 90px); width: min(370px, calc(100% - 40px)) }
.mbig { display: none }

/* ---------- 4. plan builder ---------- */
.bd { position: absolute; z-index: 4; left: calc(50% - 190px); right: max(28px, calc(50% - 660px)); top: 50%; transform: translateY(calc(-50% + 26px)); padding: 20px 22px 22px; border-radius: 28px;
  border: 1px solid var(--line2); background: linear-gradient(180deg, #16171A, #0F1012); box-shadow: 0 40px 120px rgba(0,0,0,.6), 0 0 120px rgba(212,255,58,.05) }
.bd-q { display: grid; grid-template-columns: 124px 1fr; align-items: center; gap: 12px; padding: 8px 0 } .bd-q > small { color: var(--mute); font-size: 13.5px; font-weight: 500 }
.opts { display: flex; gap: 8px; flex-wrap: wrap }
.opts button { padding: 9px 16px; border-radius: 99px; border: 1px solid var(--line2); background: transparent; font: 600 14px var(--font); color: #D3D6DB; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .15s }
.opts button:hover { border-color: #fff } .opts button:active { transform: scale(.96) }
.opts button.on { background: var(--volt); border-color: var(--volt); color: #0A0B0D }
.opts.nums button { width: 46px; padding: 9px 0 }
.opts.pics button { position: relative; padding: 0; width: clamp(84px, 9vw, 118px); height: 62px; border-radius: 14px; overflow: hidden; background: #000 }
.opts.pics img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; transition: opacity .25s, transform .4s } .opts.pics button:hover img { opacity: .75 }
.opts.pics span { position: absolute; left: 10px; bottom: 7px; font-size: 13px; color: #fff; text-shadow: 0 1px 8px #000 }
.opts.pics button.on { background: #000; border-color: var(--volt); box-shadow: 0 0 0 1.5px var(--volt) } .opts.pics button.on img { opacity: .95; transform: scale(1.06) }
.bd-out { margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--line) }
.bd-st { display: flex; align-items: center; gap: 10px; min-height: 24px } .bd-dot { width: 8px; height: 8px; border-radius: 9px; background: var(--volt); box-shadow: 0 0 12px var(--volt); flex: none }
.bd.busy .bd-dot { animation: pulse .7s infinite } @keyframes pulse { 50% { opacity: .35 } }
#bd-title { font: 600 16px var(--disp) } #bd-sub { color: var(--mute); font-size: 13px; margin-left: auto; text-align: right }
.bd-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-top: 14px; min-height: clamp(142px, 21vh, 190px) }
.dc { min-height: clamp(142px, 21vh, 190px); border-radius: 14px; padding: 10px 9px; background: transparent; border: 1px dashed var(--line2); display: flex; flex-direction: column; gap: 3px; min-width: 0 }
.dc small { font-size: 11px; color: var(--mute); font-weight: 600 } .dc b { font: 700 13.5px/1.2 var(--disp) }
.dc ul { list-style: none; font-size: 10.5px; color: #3D4046; line-height: 1.3; display: grid; gap: 3px; margin-top: 4px } .dc em { margin-top: auto; font-style: normal; font-size: 10.5px; color: #70747B }
.dc.on { background: #fff; color: #0A0B0D; border: 1px solid #fff } .dc.on small { color: #70747B }
.dc.rest b { color: var(--dim); font-weight: 600 }
.dc.pop { animation: dcin .4s cubic-bezier(.22,1,.36,1) both; animation-delay: calc(var(--k) * 40ms) }
@keyframes dcin { 0% { opacity: 0; transform: translateY(10px) scale(.97) } }
.bd.busy .dc { opacity: .4 }

/* ---------- 5. grades ---------- */
.s-grades { --gc: #19C37D; --bh: 600px }
.g-glow { position: absolute; left: calc(50% + 150px); top: 52%; width: min(980px, 140vw); aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, color-mix(in srgb, var(--gc) 38%, transparent), transparent 72%); transition: background .5s }
.g-fig { position: absolute; inset: 0 0 0 calc(50% - 300px); display: flex; flex-direction: column; align-items: center; justify-content: center }
.g-letter { position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); font: 800 calc(var(--bh) * .9)/1 var(--disp); letter-spacing: -.06em; color: var(--gc); opacity: .16; transition: color .5s; pointer-events: none }
.bodies { position: relative; z-index: 2; display: flex; gap: clamp(6px, 3vw, 56px); height: var(--bh); margin-top: 30px; mix-blend-mode: screen }
/* the 3D figure: the unlit picture, and one light layer per muscle area tinted with that muscle's grade colour */
.b3 { position: relative; height: 100%; aspect-ratio: 630 / 1560; flex: none }
.b3 img { width: 100%; height: 100%; display: block }
.ml { position: absolute; inset: 0; background-color: var(--mc, transparent); -webkit-mask: var(--mk) center / 100% 100% no-repeat; mask: var(--mk) center / 100% 100% no-repeat; mix-blend-mode: screen; transition: background-color .5s ease }
.ladder { position: absolute; z-index: 3; right: max(26px, calc((100vw - 1340px) / 2)); top: 50%; transform: translateY(calc(-50% + 30px)); display: grid; gap: clamp(2px, 1vh, 10px) }
.lr { display: flex; flex-direction: row-reverse; align-items: center; gap: 10px; padding: 0; border: 0; background: none; cursor: pointer; opacity: .3; filter: grayscale(1); transform-origin: 100% 50%; transition: opacity .3s, filter .3s, transform .35s cubic-bezier(.2,1.5,.4,1) }
.lr img { width: clamp(34px, 5.200vh, 48px); height: auto } .lr span { font: 600 13px var(--font); color: #E3E5E9; opacity: 0; transition: opacity .3s }
.lr:hover { opacity: .8; filter: none } .lr.lit { opacity: 1; filter: none } .lr.cur { transform: scale(1.34) } .lr.cur span { opacity: 1 }
.lr.cur img { filter: drop-shadow(0 0 12px color-mix(in srgb, var(--gc) 80%, transparent)) }

/* ---------- 6. coach ---------- */
.ai-glow { position: absolute; left: calc(50% + 230px); top: 52%; width: min(1100px, 150vw); aspect-ratio: 1; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(180,255,70,.1), rgba(70,110,255,.06) 50%, transparent 72%) }
.ai-card { position: absolute; z-index: 4; left: calc(50% - 40px); top: 50%; width: min(560px, calc(50vw - 30px)); transform: translateY(calc(-50% + 26px));
  border-radius: 30px; border: 1px solid var(--line2); background: linear-gradient(180deg, #17181B, #101113); box-shadow: 0 40px 140px rgba(0,0,0,.7); display: flex; flex-direction: column; padding: 18px 20px 16px }
.ai-bar { display: flex; gap: 12px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line) } .ai-bar img { width: 40px; height: 40px; border-radius: 11px }
.ai-bar b { font: 600 15.5px var(--disp); display: block } .ai-bar small { color: var(--mute); font-size: 12.5px }
.ai-thread { display: flex; flex-direction: column; gap: 12px; padding: 16px 0 6px }
.uq { align-self: flex-end; background: var(--volt); color: #0A0B0D; padding: 10px 16px; border-radius: 20px 20px 6px 20px; font: 600 15px var(--font) }
.reads { display: grid; gap: 7px } .rd { display: flex; gap: 9px; align-items: center; font-size: 13.5px; color: #D3D6DB }
.rd i { width: 16px; height: 16px; border-radius: 99px; flex: none; background: var(--volt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.300l2 2 4-4.300' fill='none' stroke='%230A0B0D' stroke-width='1.800' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat }
.ans { font: 400 clamp(15.500px, 1.300vw, 17.500px)/1.5 var(--font); color: #F1F2F5 } .ans p + p { margin-top: 10px } .ans b { font-weight: 700 }
.wcard { display: flex; gap: 12px; align-items: center; padding: 10px 14px 10px 10px; border-radius: 16px; background: #1C1D21; border: 1px solid var(--line2) }
.wcard img { width: 54px; height: 54px; border-radius: 12px; object-fit: cover; background: #000 } .wcard small { color: var(--volt); font-size: 11.5px; font-weight: 600 } .wcard b { display: block; font: 600 15px var(--disp) } .wcard em { font-style: normal; color: var(--mute); font-size: 12.5px }
.ai-input { margin-top: 12px; height: 48px; border-radius: 99px; background: rgba(255,255,255,.05); border: 1px solid var(--line); display: flex; align-items: center; padding: 0 7px 0 18px; font-size: 15px; flex: none }
.ai-input .ph { color: var(--dim) }
.send { margin-left: auto; width: 34px; height: 34px; border-radius: 99px; background: #3A3C42; color: #9EA2AA; display: grid; place-items: center }

/* ---------- 7. progress ---------- */
.s-prog { --ps: 1 }
.p-text { top: 30vh }
.p-fig { position: absolute; left: calc(50% + 10px); top: 50%; width: 300px; height: 620px; margin-top: -296px; transform: scale(var(--ps)) }
.pg-h { font: 700 22px var(--disp) } .pg-tabs { display: flex; gap: 6px; margin-top: 12px } .pg-tabs span { padding: 5px 12px; border-radius: 99px; font-size: 11px; font-weight: 600; color: var(--mute); background: var(--card2) } .pg-tabs .on { background: #fff; color: #0A0B0D }
.pg-card { margin-top: 12px; padding: 14px; border-radius: 18px; background: var(--card); border: 1px solid var(--line) } .pg-card small { color: var(--mute); font-size: 11px }
.pg-n { margin-top: 2px; font-size: 13px; color: var(--mute) } .pg-n b { font: 700 28px var(--disp); color: #fff; letter-spacing: -.02em } .pg-n em { font-style: normal; color: var(--volt); font-weight: 700; margin-left: 4px }
.pg-bars { display: flex; align-items: flex-end; gap: 5px; height: 92px; margin-top: 12px } .pg-bars i { flex: 1; border-radius: 5px 5px 2px 2px; height: calc(var(--h) * 1%); background: linear-gradient(180deg, #fff, #8E939B); opacity: .9 }
.pg-bars i:last-child { background: linear-gradient(180deg, #E6FF8A, var(--volt)) }
.pg-h2 { margin: 16px 0 4px; font: 600 14px var(--disp) }
.pg-pr { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line) } .pg-pr img { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; background: #000 }
.pg-pr div { flex: 1; min-width: 0 } .pg-pr b { display: block; font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis } .pg-pr small { font-size: 10px; color: var(--mute) } .pg-pr span { font: 700 12px var(--disp); white-space: nowrap }
.scr-prog .tabbar { margin-top: auto }
.sharecard { position: absolute; z-index: 5; right: -250px; bottom: 34px; width: 232px; padding: 18px 16px 20px; border-radius: 26px; text-align: center; transform: rotate(6deg);
  background: radial-gradient(120% 80% at 50% 36%, #0F3023, #0B0D0C 74%); border: 1px solid var(--line2); box-shadow: 0 30px 80px rgba(0,0,0,.7); display: grid; justify-items: center }
.sh-brand { display: flex; align-items: center; gap: 7px; font: 800 11px var(--disp); letter-spacing: .04em; text-transform: uppercase } .sh-brand img { width: 22px; border-radius: 6px }
.sh-badge { width: 150px; margin-top: 10px; filter: drop-shadow(0 0 28px rgba(25,195,125,.5)) }
.sh-ex { font: 700 15px var(--disp); margin-top: 6px } .sh-set { color: #C9CDD3; font-size: 13px; margin-top: 1px } .sh-pct { color: #37D996; font-weight: 600; font-size: 11.5px; margin-top: 10px }
.toast { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 9px 16px 9px 10px; border-radius: 16px; background: rgba(24,25,29,.92); border: 1px solid var(--line2); box-shadow: 0 16px 40px rgba(0,0,0,.6); white-space: nowrap; transform: rotate(var(--rz, 0deg)) }
.toast::after { content: ""; position: absolute; right: -3px; top: -3px; width: 9px; height: 9px; border-radius: 9px; background: var(--volt) }
.toast img { width: 36px; height: 36px } .toast .tr { font-style: normal; font-size: 22px; width: 36px; text-align: center } .toast .flame { font-size: 30px; margin: 0 3px }
.toast b { display: block; font: 600 13.5px var(--font) } .toast small { color: var(--mute); font-size: 11.5px }
.t1 { left: -230px; top: 8%; --rz: -4deg } .t2 { right: -250px; top: 4%; --rz: 5deg } .t3 { left: -210px; bottom: 12%; --rz: 4deg }

/* ---------- 8. what you get ---------- */
.feats { padding: clamp(70px, 12vh, 130px) 0 clamp(60px, 10vh, 110px); position: relative; background: var(--bg) }
.feats h2 { font: 700 clamp(30px, 3.600vw, 46px)/1.08 var(--disp); max-width: 13em; text-wrap: balance }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 34px }
.bt { background: #121315; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; padding-bottom: 24px; transition: border-color .3s } .bt:hover { border-color: var(--line2) }
.bt-plan, .bt-over { grid-column: span 3 } .bt-track, .bt-lib, .bt-grade { grid-column: span 2 }
.bt h3 { font: 600 18px/1.3 var(--disp); margin: 20px 22px 0; display: flex; gap: 10px; align-items: center; flex-wrap: wrap } .bt p { margin: 8px 22px 0; color: #C4C8CF; font-size: 15px; line-height: 1.5 }
.pro { font: 700 11px var(--font); padding: 3px 9px; border-radius: 99px; background: var(--volt); color: #0A0B0D; letter-spacing: .02em }
.bv { height: 200px; background: #18191C; position: relative; overflow: hidden; display: grid; place-items: center }
.bv-plan { grid-template-columns: repeat(7, 1fr); gap: 6px; padding: 0 18px; place-content: center }
.bv-plan div { height: 92px; border-radius: 12px; background: #fff; color: #0A0B0D; padding: 9px 8px; display: grid; align-content: space-between; min-width: 0 } .bv-plan small { font-size: 10px; color: #70747B; font-weight: 600 } .bv-plan b { font: 700 12px/1.150 var(--disp) }
.bv-plan .rest { background: transparent; border: 1px dashed var(--line2); color: var(--dim) } .bv-plan .rest b { font-weight: 600 }
.bv-over svg { position: absolute; inset: auto 0 0 0; width: 100%; height: 130px } .ov-n { position: absolute; left: 22px; top: 18px; font-size: 14px; color: var(--mute) } .ov-n b { font: 700 36px var(--disp); color: #fff; letter-spacing: -.03em }
.ov-n em { font: 700 12px var(--font); font-style: normal; color: #0A0B0D; background: var(--volt); padding: 3px 8px; border-radius: 99px; margin-left: 8px; vertical-align: 6px }
.bv-fig { background: #000 } .bv-fig img { height: 240px; width: auto; max-width: none; margin-top: 26px }
.bv-lib { display: block; background: #000; -webkit-mask: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent) }
.mq { display: flex; gap: 4px; width: max-content; height: 100%; align-items: center; animation: mq 60s linear infinite } .mq img { width: 164px; height: 164px; max-width: none; flex: none }
@keyframes mq { to { transform: translateX(-50%) } }
.bv-badges { display: flex; align-items: center; justify-content: center; gap: 0 } .bv-badges img { width: 96px } .bv-badges img:nth-child(2) { width: 118px; transform: translateY(-8px); filter: drop-shadow(0 0 26px rgba(47,139,255,.45)) }
.fnote { margin-top: 34px; display: flex; gap: 20px 30px; align-items: center; justify-content: space-between; flex-wrap: wrap } .fnote p { color: var(--mute); font-size: 14px; max-width: 420px } .fnote div { display: flex; gap: 8px; flex-wrap: wrap }

/* ---------- 9. download ---------- */
.s-dl { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 40px 20px clamp(90px, 14vh, 150px) }
.arc { position: relative; width: 128px; height: 128px; margin: clamp(130px, 20vh, 190px) 0 clamp(30px, 5vh, 50px) }
.appicon { position: relative; z-index: 2; width: 128px; height: 128px; border-radius: 29px; box-shadow: 0 0 0 1px var(--line2), 0 30px 80px rgba(0,0,0,.8), 0 0 90px rgba(212,255,58,.14) }
.ab { position: absolute; z-index: 1; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; --a: calc(-96deg + var(--i) * 32deg);
  transform: rotate(var(--a)) translateY(calc(-118px - var(--i) * 9px)) rotate(calc(-1 * var(--a))) scale(calc(.62 + var(--i) * .09)) }
.s-dl h2 { position: relative; font: 700 clamp(36px, 5.200vw, 74px)/1.05 var(--disp); letter-spacing: -.04em; max-width: 12em; text-wrap: balance }
.s-dl p { position: relative; margin-top: 14px; color: #C4C8CF; font-size: clamp(16px, 1.400vw, 19px) } .s-dl .stores { margin-top: 26px } .s-dl .soon { color: var(--dim); font-size: 13px }

/* ---------- small screens ---------- */
@media (max-width: 1180px) {
  .mc1 { right: auto; left: 3% } .mc2 { left: auto; right: 3% } .mc3 { left: auto; right: 7% }
  .t1 { left: -150px } .t2 { right: -120px } .t3 { left: -130px } .sharecard { right: -150px }
  .ladder { right: 14px }
}
@media (max-width: 900px) {
  .sec { min-height: 0; max-height: none }
  .s-hero, .s-lift, .s-streak { min-height: 600px }
  .s-build, .s-grades, .s-ai, .s-prog { height: auto; display: flex; flex-direction: column; padding-bottom: 34px }
  .big, .cal, .mc3 { display: none }
  .mcard { padding: 7px 12px 7px 8px; gap: 8px; border-radius: 14px } .mcard b { font-size: 12.5px } .mcard small { font-size: 11px } .mcard .up { font-size: 13px; padding: 7px } .mcard .flame { font-size: 26px }
  .mc1 { left: 8px; top: calc(var(--c0) + 70px) } .mc2 { right: 8px; top: calc(var(--c0) - 130px) }
  .hero-copy { padding-top: 104px } .hero-copy h1 { font-size: clamp(42px, 12.500vw, 64px) } .hero-copy .sub { max-width: 400px }
  .cap { left: 20px; right: 20px; width: auto; bottom: 22px } .cap h2, .col-text h2 { font-size: clamp(26px, 7.400vw, 34px) } .cap p, .col-text p { font-size: 15.5px; margin-top: 8px; max-width: none }
  .cap .eyebrow { display: none }
  .mbig { display: flex; align-items: baseline; gap: 5px; margin-bottom: 6px; white-space: nowrap } .mbig b { font: 700 46px/1 var(--disp); letter-spacing: -.04em } .mbig small { font: 700 17px var(--disp); color: #8D9198; margin-right: 8px }
  .mbig em { font: 700 12px var(--font); font-style: normal; color: #0A0B0D; background: var(--volt); padding: 3px 9px; border-radius: 99px; align-self: center }
  .mbig.fire, .mbig.fire small { color: var(--fire) } .mbig.fire .flame { font-size: 40px; align-self: center; margin-right: 4px }
  .col-text { position: relative; left: auto; top: auto; width: auto; padding: 84px 20px 0; flex: none } .col-text .eyebrow { margin-bottom: 6px } .col-text > .btn, .col-text .dl-row { margin-top: 14px }
  .bd { position: relative; left: auto; right: auto; top: auto; transform: none; margin: 18px 12px 0; padding: 12px 14px 14px; border-radius: 22px }
  .bd-q { grid-template-columns: 1fr; gap: 5px; padding: 5px 0 } .bd-q > small { font-size: 12px } .opts { gap: 6px } .opts button { padding: 7px 13px; font-size: 13px } .opts.nums button { width: 42px; padding: 7px 0 }
  .opts.pics button { width: calc(25% - 5px); height: 44px; border-radius: 12px } .opts.pics span { font-size: 11px; left: 7px; bottom: 5px }
  .bd-out { margin-top: 8px; padding-top: 10px } #bd-title { font-size: 14.5px } #bd-sub { font-size: 12px }
  .bd-week { grid-template-columns: 1fr; gap: 5px; margin-top: 8px; min-height: 0 }
  .dc { min-height: 0; flex-direction: row; align-items: center; gap: 9px; padding: 7px 10px; border-radius: 11px } .dc.rest { display: none }
  .dc small { width: 28px; flex: none } .dc b { width: 84px; flex: none; font-size: 13px } .dc ul { display: block; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0; font-size: 11px } .dc li { display: inline } .dc li + li::before { content: ", " } .dc em { display: none }
  .g-fig { position: relative; inset: auto; justify-content: flex-start } .g-glow { left: 50%; top: 62% }
  .bodies { margin-top: 14px; gap: 8px }
  .ladder { position: relative; right: auto; top: auto; transform: none; display: flex; flex-direction: row-reverse; justify-content: center; gap: 6px; order: -1; margin-top: 18px; height: 44px; align-items: center }
  .lr { transform-origin: 50% 50% } .lr img { width: 36px } .lr span { display: none } .lr.cur { transform: scale(1.25) }
  .ai-card { position: relative; left: auto; top: auto; width: auto; margin: 18px 12px 0; transform: none; border-radius: 24px; padding: 14px 14px 12px }
  .ai-bar { padding-bottom: 10px } .ai-thread { padding-top: 12px; gap: 10px } .ans { font-size: 15px } .wcard { padding: 8px 12px 8px 8px } .wcard img { width: 46px; height: 46px }
  .p-fig { position: relative; left: auto; top: auto; margin: 26px auto 0; transform-origin: 50% 0; margin-bottom: calc((var(--ps) - 1) * 620px) }
  .t1, .t3 { display: none } .t2 { right: -78px; top: -3% } .sharecard { right: -92px; bottom: 10px; width: 190px; padding: 14px 12px 16px } .sh-badge { width: 118px }
  .toast { padding: 7px 12px 7px 8px; gap: 8px } .toast img { width: 30px; height: 30px } .toast b { font-size: 12.5px } .toast small { font-size: 11px }
  .bento { grid-template-columns: 1fr } .bt-plan, .bt-over, .bt-track, .bt-lib, .bt-grade { grid-column: auto } .bv-plan { padding: 0 10px; gap: 4px } .bv-plan div { padding: 8px 5px; height: 84px } .bv-plan b { font-size: 10.5px }
  .ab { width: 54px; height: 54px; margin: -27px 0 0 -27px; transform: rotate(var(--a)) translateY(calc(-100px - var(--i) * 7px)) rotate(calc(-1 * var(--a))) scale(calc(.62 + var(--i) * .08)) }
}
@media (max-width: 380px) { .hero-copy h1 { font-size: 40px } .store { min-width: 148px; padding: 0 12px } }
@media (prefers-reduced-motion: reduce) { .mcard, .mq { animation: none } .dc.pop { animation: none } }
