/* pushupbro.app. Tokens from the app's PBPalette; display type is the app's Cabinet Grotesk plus Anton for the giant words. */
:root {
  --navy-950: #0B1020; --navy-900: #111729; --navy-800: #17203A; --navy-700: #252E4A; --slate-400: #8E96A9; --mist-200: #E4E9F4; --mist-100: #ECF0F9;
  --blue: #5E9EFF; --blue-light: #7FB2FF; --red: #E5534B; --red-hot: #FF3B2E; --jungle: #2FA37A; --leaf: #4FB35A; --banana: #F5C343; --orange: #F5A623; --ice: #4A90E2;
  --ink: #050507; --paper: #0B0B0E; --text: #F2F2F0; --mute: #A9AFC0;
  --cg: 'Cabinet Grotesk', 'Helvetica Neue', Arial, sans-serif; --sat: 'Satoshi', 'Helvetica Neue', Arial, sans-serif; --anton: 'Anton', Impact, 'Arial Narrow Bold', sans-serif; --mono: ui-monospace, 'SF Mono', Menlo, monospace;
  --fight: 0;
  color-scheme: dark;
}
@font-face { font-family: 'Cabinet Grotesk'; font-weight: 800; font-display: swap; src: url(/fonts/CabinetGrotesk-Extrabold.ttf) format('truetype'); }
@font-face { font-family: 'Cabinet Grotesk'; font-weight: 700; font-display: swap; src: url(/fonts/CabinetGrotesk-Bold.ttf) format('truetype'); }
@font-face { font-family: 'Satoshi'; font-weight: 400; font-display: swap; src: url(/fonts/Satoshi-Regular.ttf) format('truetype'); }
@font-face { font-family: 'Satoshi'; font-weight: 700; font-display: swap; src: url(/fonts/Satoshi-Bold.ttf) format('truetype'); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; }
body { background: var(--paper); color: var(--text); font-family: var(--sat); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3 { margin: 0; text-wrap: balance; font-family: var(--cg); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--banana); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--banana); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.eyebrow { display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--banana); }
.eyebrow.red { color: var(--red-hot); }
.huge { font-size: clamp(38px, 6vw, 84px); }
.huge .blue { color: var(--blue-light); }
.lede { font-size: clamp(18px, 1.7vw, 22px); color: #D9DCE5; max-width: 56ch; margin-top: 22px; }
.small { font-size: 15px; color: var(--mute); margin-top: 18px; }
.giant { font-family: var(--anton); font-weight: 400; letter-spacing: -.01em; line-height: .82; text-transform: uppercase; display: grid; }
.giant span { display: block; }
.giant .out { color: transparent; -webkit-text-stroke: 3px var(--banana); }
.giant.red span { color: var(--red-hot); mix-blend-mode: screen; }
.giant.small { font-size: clamp(90px, 14vw, 200px); }

/* ---- nav ---- */
.nav { position: fixed; left: 0; right: 0; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 24px; mix-blend-mode: normal; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--cg); font-weight: 800; font-size: 20px; text-decoration: none; letter-spacing: -.02em; }
.brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 4px 12px rgba(0,0,0,.5); }
.nav .links { display: flex; gap: 22px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.nav .links a { text-decoration: none; opacity: .85; }
.nav .links a:hover { opacity: 1; color: var(--banana); }

/* ---- store button ---- */
.store { position: relative; display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px; border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none; line-height: 1.05; font-family: var(--cg); font-weight: 800; transition: transform .15s, box-shadow .15s; box-shadow: 0 12px 30px rgba(0,0,0,.45); white-space: nowrap; }
.store svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.store small { display: block; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; opacity: .7; font-family: var(--mono); }
.store b { display: block; font-size: 16px; }
.store:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 18px 40px rgba(0,0,0,.5); }
.store:active { transform: translateY(1px) scale(.99); }
.store.nav { padding: 10px 16px; background: var(--banana); }
.store.nav b { font-size: 14px; }
.store.xl { padding: 20px 30px; background: var(--banana); box-shadow: 0 0 0 0 rgba(245,195,67,.5), 0 18px 50px rgba(245,195,67,.35); animation: throb 2.6s ease-in-out infinite; }
.store.xl svg { width: 30px; height: 30px; }
.store.xl b { font-size: clamp(18px, 2vw, 24px); }
.store.xl:hover { animation-play-state: paused; }
.store .spark { position: absolute; width: 16px; height: 16px; fill: var(--banana); pointer-events: none; }
.store .spark.a { left: -20px; top: -10px; animation: twinkle 2.4s ease-in-out .2s infinite; }
.store .spark.b { left: -26px; bottom: 8px; width: 10px; height: 10px; animation: twinkle 2.4s ease-in-out 1s infinite; }
.store .spark.c { right: -14px; bottom: -14px; animation: twinkle 2.4s ease-in-out 1.7s infinite; }
@keyframes throb { 0%, 100% { box-shadow: 0 0 0 0 rgba(245,195,67,.45), 0 18px 50px rgba(245,195,67,.35); } 50% { box-shadow: 0 0 0 14px rgba(245,195,67,0), 0 18px 60px rgba(245,195,67,.5); } }
@keyframes twinkle { 0%, 100% { opacity: .2; transform: scale(.7) rotate(0); } 50% { opacity: 1; transform: scale(1.15) rotate(20deg); } }

/* ---- stage ---- */
.stage { position: relative; height: calc(100vh + 300vh); height: calc(100lvh + 300lvh); background: var(--ink); }
.sticky { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; background: radial-gradient(900px 600px at 30% 40%, #1A2440 0%, #0B0F1C 50%, #050507 100%); }
.placeholder { position: absolute; left: 50%; top: 52%; width: min(52vh, 420px); transform: translate(-50%, -50%); filter: drop-shadow(0 40px 60px rgba(0,0,0,.8)); transition: opacity .8s; z-index: 1; }
.stage.ready .placeholder { opacity: 0; }
.placeholder.pump { animation: pump .5s cubic-bezier(.3,.9,.3,1.2); }
@keyframes pump { 0% { transform: translate(-50%, -50%) scale(1); } 40% { transform: translate(-50%, -38%) scale(1.08, .82); } 100% { transform: translate(-50%, -50%) scale(1); } }
.hero-slot { position: absolute; inset: 0; z-index: 2; overflow: hidden; opacity: 0; transition: opacity .8s; }
.hero-slot > div, .hero-slot flutter-view, .hero-slot flt-glass-pane { width: 100%; height: 100%; }
.stage.ready .hero-slot { opacity: 1; }
.tap-layer { position: absolute; inset: 0; z-index: 3; cursor: pointer; touch-action: pan-y; }
.duotone { position: absolute; inset: 0; z-index: 4; pointer-events: none; background: radial-gradient(900px 600px at 50% 60%, #ff5a4a 0%, #8a2218 55%, #3a0c08 100%); mix-blend-mode: multiply; opacity: calc(var(--fight) * .8); transition: opacity .2s linear; }
.scan { position: absolute; inset: 0; z-index: 5; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0,0,0,.35) 0 2px, transparent 2px 5px); opacity: calc(var(--fight) * .9); }
.grain { position: absolute; inset: -50%; width: 200%; height: 200%; pointer-events: none; opacity: .13; z-index: 6; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0,0); } 20% { transform: translate(-4%,3%); } 40% { transform: translate(3%,-5%); } 60% { transform: translate(-6%,-2%); } 80% { transform: translate(5%,6%); } 100% { transform: translate(0,0); } }
.burst { position: fixed; z-index: 60; pointer-events: none; font-family: var(--anton); font-size: 28px; color: var(--banana); transform: translate(-50%, -50%); animation: burst .7s ease-out forwards; }
@keyframes burst { to { transform: translate(-50%, -140%) scale(1.3); opacity: 0; } }

/* hero overlay */
.hero-ui, .fight-ui, .win-ui { position: absolute; inset: 0; z-index: 7; pointer-events: none; padding: 92px 32px 70px; display: grid; align-content: space-between; transition: opacity .35s; }
.hero-ui .cta, .win-ui .cta, .hero-ui .scrollhint { pointer-events: auto; }
.hero-ui .giant { font-size: clamp(88px, 17vw, 250px); justify-self: start; margin-top: 10px; }
.hero-ui .hint { position: absolute; left: 32px; bottom: 150px; display: grid; gap: 2px; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.hero-ui .hint .k { color: var(--banana); font-size: 14px; }
.hero-ui .count { position: absolute; right: 32px; top: 92px; text-align: right; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.hero-ui .count b { display: block; font-family: var(--anton); font-size: clamp(64px, 9vw, 120px); line-height: .85; color: var(--banana); }
.hero-ui .cta { justify-self: center; align-self: end; }
.hero-ui .scrollhint { position: absolute; right: 32px; bottom: 70px; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); text-decoration: none; animation: nudge 2.2s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
.stage.fighting .hero-ui { opacity: 0; }
.stage.fighting .hero-ui .cta, .stage.fighting .hero-ui .scrollhint { pointer-events: none; }

/* fight overlay */
.fight-ui { opacity: 0; justify-items: center; text-align: center; align-content: space-between; }
.stage.fighting:not(.won) .fight-ui { opacity: 1; }
.fight-ui .giant { font-size: clamp(64px, 10vw, 150px); margin-top: 0; line-height: .8; }
.fight-ui .giant span { display: inline; }
.fight-ui .giant span + span::before { content: ' '; }
.fight-ui .top { display: grid; justify-items: center; gap: 10px; }
.fight-ui .bottom { display: grid; gap: 16px; justify-items: center; width: 100%; padding-bottom: 36px; }
.fight-ui .hp { width: min(560px, 90%); pointer-events: none; }
.fight-ui .hp-head { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; color: #fff; }
.fight-ui .hp-bar { height: 14px; border: 2px solid #fff; border-radius: 999px; overflow: hidden; background: rgba(0,0,0,.4); }
.fight-ui .hp-bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--leaf), var(--banana)); transition: width .25s cubic-bezier(.2,.9,.3,1.2); }
.fight-ui .hp.shake { animation: shake .18s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.fight-ui .prompt { font-size: clamp(16px, 1.6vw, 20px); color: #fff; max-width: 40ch; }
.fight-ui .prompt b { color: var(--banana); }
.fight-ui .legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.fight-ui .legend span::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.fight-ui .legend .g::before { background: var(--leaf); } .fight-ui .legend .b::before { background: var(--ice); } .fight-ui .legend .y::before { background: var(--banana); }

/* victory overlay */
.win-ui { opacity: 0; justify-items: center; text-align: center; align-content: center; gap: 18px; }
.stage.won .win-ui { opacity: 1; }
.stage.won .duotone, .stage.won .scan { opacity: 0; }
.win-ui .giant { font-size: clamp(88px, 18vw, 260px); }
.win-ui .prompt { font-size: clamp(16px, 1.6vw, 20px); color: #fff; max-width: 40ch; }
.ticker { position: absolute; left: 0; right: 0; bottom: 0; z-index: 8; overflow: hidden; white-space: nowrap; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; padding: 10px 0; background: var(--banana); color: var(--ink); pointer-events: none; }
.ticker span { display: inline-block; padding-right: 48px; animation: tick 28s linear infinite; }
@keyframes tick { to { transform: translateX(-50%); } }
.anchor { position: absolute; top: 100vh; top: 100lvh; }

/* ---- tracking ---- */
.tracking { padding: 110px 0 90px; background: linear-gradient(180deg, var(--ink), var(--navy-950)); }
.ways { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.way { background: var(--navy-900); border: 1px solid #22283A; border-radius: 28px; padding: 28px; display: grid; gap: 14px; align-content: start; }
.way h3 { font-size: clamp(24px, 2.6vw, 34px); }
.way p { color: #D9DCE5; }
.way ul { display: grid; gap: 8px; padding-left: 18px; list-style: disc; color: var(--mute); font-size: 15px; }
.way li::marker { color: var(--banana); }
.way-art { position: relative; height: 180px; border-radius: 18px; background: var(--navy-800); overflow: hidden; }
.way-art.airpods .pod { position: absolute; top: 48px; width: 34px; height: 78px; border-radius: 17px 17px 10px 10px; background: #fff; box-shadow: 0 10px 24px rgba(0,0,0,.4); }
.way-art.airpods .pod.l { left: 38%; transform: rotate(-12deg); } .way-art.airpods .pod.r { left: 54%; transform: rotate(12deg); }
.way-art.airpods .pulse { position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; border: 2px solid var(--blue); border-radius: 50%; transform: translate(-50%, -50%); animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { 0% { transform: translate(-50%,-50%) scale(.6); opacity: .9; } 100% { transform: translate(-50%,-50%) scale(1.9); opacity: 0; } }
.way-art.camera .skeleton { position: absolute; left: 50%; top: 40px; width: 160px; height: 100px; transform: translateX(-50%); }
.way-art.camera .skeleton i { position: absolute; height: 4px; background: var(--leaf); border-radius: 2px; box-shadow: 0 0 10px var(--leaf); }
.way-art.camera .skeleton i:nth-child(1) { left: 0; top: 30px; width: 160px; }
.way-art.camera .skeleton i:nth-child(2) { left: 20px; top: 30px; width: 50px; transform: rotate(70deg); transform-origin: left; }
.way-art.camera .skeleton i:nth-child(3) { left: 120px; top: 30px; width: 50px; transform: rotate(110deg); transform-origin: left; }
.way-art.camera .skeleton i:nth-child(4) { left: 150px; top: 30px; width: 40px; transform: rotate(-30deg); transform-origin: left; }
.way-art.camera .skeleton i:nth-child(5) { left: 150px; top: 30px; width: 14px; height: 14px; border-radius: 50%; top: 20px; left: 178px; }
.way-art.camera .skeleton i:nth-child(6) { left: 0; top: 30px; width: 50px; transform: rotate(40deg); transform-origin: left; }
.way-art.camera .tag { position: absolute; left: 14px; bottom: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; background: var(--banana); color: var(--ink); padding: 4px 8px; border-radius: 6px; }
.proofline { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 36px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.proofline span::before { content: '✦ '; color: var(--banana); }

/* ---- trek ---- */
.trek { padding: 100px 0; background: radial-gradient(1000px 700px at 80% 20%, #2a0806 0%, var(--navy-950) 60%); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.split.rev { grid-template-columns: .9fr 1.1fr; }
.stages { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; margin-top: 26px; font-weight: 700; }
.stages li { display: flex; gap: 12px; align-items: baseline; }
.stages .n { font-family: var(--mono); font-size: 11px; color: var(--red-hot); letter-spacing: .1em; }
.landmarks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.landmarks img { filter: drop-shadow(0 20px 30px rgba(0,0,0,.5)); animation: bob 5s ease-in-out infinite; }
.landmarks img:nth-child(2) { animation-delay: 1.2s; } .landmarks img:nth-child(3) { animation-delay: 2.4s; } .landmarks img:nth-child(4) { animation-delay: .6s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---- island ---- */
.island { padding: 100px 0; background: linear-gradient(180deg, var(--navy-950), #0E1A3A 60%, var(--navy-950)); }
.buildings { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.buildings img { filter: drop-shadow(0 20px 30px rgba(0,0,0,.5)); animation: bob 6s ease-in-out infinite; }
.buildings img:nth-child(2) { animation-delay: 1.5s; } .buildings img:nth-child(3) { animation-delay: 3s; } .buildings .carlos { animation-delay: .8s; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chips span { font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 999px; background: var(--navy-800); border: 1px solid #2E3856; }

/* ---- faq ---- */
.faq { padding: 100px 0; background: var(--navy-950); }
.faq .list { display: grid; gap: 10px; max-width: 800px; margin-top: 30px; }
.faq details { border: 1px solid #22283A; border-radius: 16px; background: var(--navy-900); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; padding: 16px 20px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--banana); font-family: var(--anton); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 20px 18px; color: #D9DCE5; }

/* ---- download ---- */
.download { padding: 110px 0 120px; text-align: center; background: radial-gradient(800px 500px at 50% 100%, #1A2440, var(--ink) 70%); }
.download .wrap { display: grid; justify-items: center; gap: 22px; }
.download img { width: 240px; filter: drop-shadow(0 40px 60px rgba(0,0,0,.8)); animation: bob 5s ease-in-out infinite; }
.download .lede { text-align: center; margin-top: 0; }

/* ---- footer ---- */
footer { background: #000; padding: 44px 0; font-size: 15px; color: var(--mute); }
footer .grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; }
footer .brand { color: var(--text); }
footer h3 { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--banana); margin-bottom: 12px; }
footer ul { display: grid; gap: 8px; }
footer a { color: var(--text); }
footer .muted { margin-top: 12px; }

/* ---- responsive ---- */
@media (max-width: 1000px) {
  .nav .links { display: none; }
  .ways, .split, .split.rev { grid-template-columns: 1fr; }
  .stages { grid-template-columns: 1fr; }
  footer .grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero-ui, .fight-ui, .win-ui { padding: 80px 18px 64px; }
  .hero-ui .giant { font-size: 22vw; }
  .hero-ui .hint { left: 18px; bottom: 140px; }
  .hero-ui .count { right: 18px; top: 84px; }
  .hero-ui .count b { font-size: 56px; }
  .hero-ui .scrollhint { display: none; }
  .store.xl { padding: 16px 22px; }
  .store.xl b { font-size: 16px; }
  .placeholder { width: 70vw; }
  .fight-ui .giant, .win-ui .giant { font-size: 24vw; }
  .landmarks img, .buildings img { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .grain, .ticker span, .store.xl, .store .spark, .landmarks img, .buildings img, .download img, .scrollhint, .way-art.airpods .pulse { animation: none !important; }
  html { scroll-behavior: auto; }
  .duotone, .scan { transition: none; }
}
