@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 900; font-stretch: 62% 125%; font-display: swap; src: url("/fonts/archivo-latin.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 100 1000; font-display: swap; src: url("/fonts/dmsans-latin.woff2") format("woff2"); }
/* Portada de piquefit.app, versión 2 (PIQ-652). Diseño aprobado: https://claude.ai/artifact/TnWkuGG9qBUKV8EuUx13S3
   Una idea por pantalla: el móvil real en grande, un titular corto y el scroll como mando.
   Mismos tokens que piquefit_colors.dart (tema oscuro de la app). Un solo mundo visual: oscuro. */
:root {
  color-scheme: dark;
  --page: #0A0B0D; --bg: #0F1114; --surface: #191B1F; --surface-hi: #222429; --surface-higher: #2E3137;
  --line: #2A2D33; --spec: rgba(255,255,255,.07);
  --text: #F2F3F5; --soft: #C9CDD3; --muted: #9EA3AB;
  --accent: #C6F432; --on-accent: #0F1012; --acc-cont: #1E280B; --acc-border: #3D5214;
  --mob: #7CC8FF; --mob-cont: #13283A; --rival: #FF8A6B;
  --f-display: "Archivo", -apple-system, "Segoe UI", sans-serif;
  --f-body: "DM Sans", -apple-system, "Segoe UI", Roboto, sans-serif;
  --gl: max(16px, env(safe-area-inset-left, 0px)); --gr: max(16px, env(safe-area-inset-right, 0px));
  --ease: cubic-bezier(.2,.7,.2,1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--text); font-family: var(--f-body); font-size: 17px; line-height: 1.5; overflow-x: clip; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--page); }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--f-display); text-wrap: balance; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: 1120px; margin-inline: auto; padding-left: var(--gl); padding-right: var(--gr); }
.kicker { font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.kicker.blue { color: var(--mob); }
.big { font-size: clamp(38px, 6.4vw, 84px); font-weight: 900; font-stretch: 125%; line-height: .94; letter-spacing: -.03em; text-transform: uppercase; }
.big.mid { font-size: clamp(30px, 4.4vw, 56px); }
.lead { color: var(--soft); font-size: clamp(17px, 1.6vw, 21px); max-width: 30em; }
.lime { color: var(--accent); }
.i { width: 1em; height: 1em; fill: currentColor; flex: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; background: var(--accent); color: var(--on-accent); border: 0; border-radius: 16px; font-weight: 700; padding: 15px 26px; font-size: 16px; text-decoration: none; transition: transform .25s var(--ease), box-shadow .3s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 34px -8px rgba(198,244,50,.5); }
.btn:active { transform: scale(.97); }
.btn.ghost { background: var(--surface-hi); color: var(--text); }
.btn.ghost:hover { box-shadow: none; background: var(--surface-higher); }
.btn.sm { padding: 10px 16px; font-size: 14px; border-radius: 999px; }

/* iPHONE. Todo en cqw para que el aparato sea el mismo a cualquier tamaño. La pantalla nunca recorta la captura:
   si la captura no trae barra de estado (salen del código, sin simulador), el marco se la pone encima. */
.iph { container-type: inline-size; width: var(--w, 280px); flex: none; position: relative; }
.iph .body { position: relative; background: #060607; border-radius: 15.6cqw; padding: 2.1cqw; box-shadow: 0 0 0 .55cqw #3b3d42, 0 0 0 .9cqw #141518, 0 14cqw 26cqw -12cqw rgba(0,0,0,.95); }
.iph .body::before, .iph .body::after { content: ""; position: absolute; width: .9cqw; background: #2b2d32; border-radius: .5cqw; }
.iph .body::before { left: -1.5cqw; top: 36cqw; height: 9cqw; box-shadow: 0 12cqw 0 #2b2d32, 0 -11cqw 0 0 #2b2d32; }
.iph .body::after { right: -1.5cqw; top: 42cqw; height: 15cqw; }
.iph .scr { position: relative; overflow: hidden; border-radius: 13.6cqw; background: var(--bg, #0f1014); display: flex; flex-direction: column; }
.iph .scr > img, .iph .scr > video { display: block; width: 100%; height: auto; }
.iph .scr > video { aspect-ratio: 640 / 1386; object-fit: cover; }
.sb { position: relative; z-index: 3; flex: none; height: 12cqw; display: flex; align-items: center; justify-content: space-between; padding: 1.8cqw 8cqw 0 13.6cqw; color: #fff; }
.sb b { font: 600 4.3cqw -apple-system, "SF Pro Text", "Segoe UI", Roboto, sans-serif; letter-spacing: -.01em; }
.sb .isl { position: absolute; left: 50%; top: 2.9cqw; width: 31.6cqw; height: 9.3cqw; margin-left: -15.8cqw; background: #000; border-radius: 5cqw; }
.sb svg { width: 17.4cqw; height: auto; fill: currentColor; }
.iph.over .sb { position: absolute; inset: 0 0 auto; }
.crown { position: absolute; left: 50%; top: 49.6cqw; transform: translate(-50%, -50%); font-size: 6.2cqw; line-height: 1; transition: opacity .3s; }
.js .crown, .iph.pre .crown { opacity: 0; }
.js .iph.visto:not(.pre) .crown { opacity: 1; }
/* Sin JavaScript el vídeo no arranca: encima va su último fotograma */
.iph .scr .fin { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; aspect-ratio: 640 / 1386; object-fit: cover; }

/* RELOJ */
.aw { container-type: inline-size; width: var(--w, 200px); flex: none; }
.aw .body { position: relative; background: #060607; border-radius: 27cqw; padding: 5.6cqw; box-shadow: 0 0 0 .9cqw #3b3d42, 0 0 0 1.5cqw #141518, 0 16cqw 30cqw -14cqw rgba(0,0,0,.95); }
.aw .body::after { content: ""; position: absolute; right: -4.6cqw; top: 23cqw; width: 3.6cqw; height: 15cqw; background: #34363b; border-radius: 1.4cqw; }
.aw .body::before { content: ""; position: absolute; right: -3cqw; top: 50cqw; width: 2cqw; height: 22cqw; background: #2b2d32; border-radius: 1cqw; }
.aw .scr { border-radius: 21cqw; overflow: hidden; background: #000; }
.aw img { display: block; width: 100%; height: auto; }

/* NAVEGADOR */
.browser { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 50px 100px -40px rgba(0,0,0,.95), inset 0 1px 0 var(--spec); }
.browser .top { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--surface-hi); }
.browser .top i { width: 10px; height: 10px; border-radius: 50%; background: var(--surface-higher); }
.browser .top span { margin-inline: auto; font-size: 12px; color: var(--muted); background: var(--bg); padding: 3px 16px; border-radius: 999px; }
.browser img { display: block; width: 100%; height: auto; }

/* FEED dentro del móvil: cabecera real de la captura + publicaciones con foto */
.feedph .scr, .feed2 .scr { aspect-ratio: 590 / 1282; }
.post.rt .media { margin: 0 -3.6cqw; } .post.rt .media img { display: block; width: 100%; height: auto; }
.post .rh { display: flex; justify-content: space-between; align-items: baseline; } .post .rh b { font-size: 3.9cqw; } .post .rh .g { font-size: 4.2cqw; }
.post .rs { display: flex; justify-content: space-between; font-size: 2.7cqw; color: var(--muted); }
.post .rs span { display: grid; gap: .4cqw; } .post .rs b { font: 800 4.4cqw var(--f-display); color: var(--text); letter-spacing: -.02em; } .post .rs small { font: 500 2.8cqw var(--f-body); color: var(--muted); }
.post.rt .c { color: var(--text); font-size: 3.4cqw; margin: 0; }
.post .av.y { background: var(--acc-cont); color: var(--accent); }
.feed { position: relative; flex: 1; min-height: 0; overflow: hidden; font-family: var(--f-body); }
.posts { display: flex; flex-direction: column; gap: 3cqw; padding: 0 3.4cqw; }
.post { background: var(--surface); border-radius: 5cqw; padding: 3.6cqw; display: grid; gap: 2.6cqw; }
.post header { display: flex; align-items: center; gap: 2.4cqw; }
.post .av { width: 8.6cqw; height: 8.6cqw; border-radius: 50%; display: grid; place-items: center; font: 800 3.6cqw var(--f-display); flex: none; }
.post .av.d { background: #13283A; color: var(--mob); } .post .av.m { background: #2C2140; color: #CDB6FF; }
.post .who { flex: 1; min-width: 0; display: grid; line-height: 1.2; }
.post .who b { font-size: 3.8cqw; } .post .who small { font-size: 3cqw; color: var(--muted); }
.post header .i { font-size: 5.4cqw; color: var(--muted); }
.post .in { background: var(--surface-hi); border-radius: 4cqw; padding: 3.2cqw; display: grid; gap: 1.6cqw; }
.post .st { display: flex; align-items: baseline; justify-content: space-between; }
.post .n { font: 800 9cqw/1 var(--f-display); font-stretch: 112%; letter-spacing: -.02em; }
.post .n small { font: 500 3.2cqw var(--f-body); color: var(--muted); margin-left: 1.2cqw; letter-spacing: 0; }
.post .g { font: 800 5cqw var(--f-display); color: var(--accent); }
.post .su { display: flex; justify-content: space-between; font-size: 3cqw; color: var(--muted); }
.post .su span { display: inline-flex; align-items: center; gap: 1cqw; }
.post .pic { position: relative; border-radius: 3.4cqw; overflow: hidden; aspect-ratio: 16 / 10; margin-top: 1cqw; }
/* Fuera del flujo: con `width` y `height` en la etiqueta, la foto estiraría la tarjeta a su proporción propia */
.post .pic img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.post footer { display: flex; align-items: center; gap: 1.8cqw; padding: 0; }
.post .add, .post .r { height: 8.4cqw; border-radius: 99px; background: var(--surface-hi); display: inline-flex; align-items: center; justify-content: center; font-size: 3.5cqw; font-weight: 700; }
.post .add { width: 8.4cqw; font-size: 5cqw; color: var(--soft); } .post .r { padding: 0 2.8cqw; gap: 1cqw; }
.post .r:first-of-type { background: var(--acc-cont); box-shadow: inset 0 0 0 .35cqw var(--acc-border); }
.post .cm { margin-left: auto; display: inline-flex; align-items: center; gap: 1.4cqw; color: var(--accent); font-weight: 700; font-size: 3.5cqw; }
.post .cm .i { font-size: 4.8cqw; }
.post .c { font-size: 3.2cqw; color: var(--soft); } .post .c b { color: var(--text); }
.dock { position: absolute; inset: auto 0 0; padding: 12cqw 3.4cqw 3cqw; background: linear-gradient(transparent, var(--bg) 46%); display: grid; gap: 2.4cqw; }
.dock .pub { background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 4cqw; text-align: center; padding: 3.6cqw; border-radius: 4.6cqw; }
.dock nav { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border: .25cqw solid var(--line); border-radius: 8cqw; padding: 1.4cqw; }
.dock nav span { display: grid; justify-items: center; gap: .6cqw; font-size: 2.7cqw; font-weight: 600; padding: 1.8cqw 0; border-radius: 7cqw; }
.dock nav .i { font-size: 5.4cqw; } .dock nav .on { background: var(--acc-cont); color: var(--accent); }
.js .feedph .posts { transform: translateY(calc(-1 * var(--h, 0px))); }
.js .feedph .post.new { opacity: 0; }
.js .feedph.go .posts { transform: none; transition: transform .7s var(--ease) .45s; }
.js .feedph.go .post.new { opacity: 1; transition: opacity .5s ease .6s; }
.cnt.bump { display: inline-block; animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.5); } }

/* VIDEOLLAMADA dentro del móvil */
.callph .scr { aspect-ratio: 390 / 844; }
.callph .bgp { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.call { position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.45), transparent 22%, transparent 62%, rgba(0,0,0,.6)); color: #fff; font-family: var(--f-body); }
.call .top { position: absolute; left: 4cqw; top: 14cqw; display: flex; align-items: center; gap: 2.6cqw; }
.call .rb { width: 9cqw; height: 9cqw; border-radius: 50%; background: rgba(20,22,26,.62); display: grid; place-items: center; font-size: 6cqw; }
.call .who { display: grid; line-height: 1.25; } .call .who b { font-size: 4cqw; } .call .who small { font-size: 3cqw; opacity: .85; }
.call .pip { position: absolute; right: 4cqw; bottom: 31cqw; width: 27cqw; height: 37cqw; border-radius: 4.6cqw; overflow: hidden; box-shadow: 0 2cqw 6cqw rgba(0,0,0,.5); }
.call .pip img, .pip2 img { display: block; width: 100%; height: 100%; object-fit: cover; }
.call .ctl { position: absolute; inset: auto 0 7cqw; display: flex; justify-content: space-evenly; }
.call .ctl span { display: grid; justify-items: center; gap: 1.6cqw; font-size: 2.8cqw; font-weight: 500; }
.call .ctl i { width: 13cqw; height: 13cqw; border-radius: 50%; background: rgba(34,36,41,.8); display: grid; place-items: center; font-size: 5.8cqw; }
.call .ctl .end { background: #F0424D; }
.pip2 { position: absolute; left: 68.6%; top: 74.8%; width: 28%; height: 18%; border-radius: 4.8cqw; overflow: hidden; background: #222; box-shadow: inset 0 0 0 .5cqw var(--accent); }
.pip2::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 .5cqw var(--accent), inset 0 -11cqw 8cqw -6cqw rgba(0,0,0,.6); }
.pip2 em { position: absolute; z-index: 1; left: 2.6cqw; bottom: 2.2cqw; font: 700 3cqw var(--f-body); color: #fff; display: flex; align-items: center; gap: 1.2cqw; }
.pip2 em::before { content: ""; width: 1.8cqw; height: 1.8cqw; border-radius: 50%; background: var(--accent); }

/* NAV */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; padding-top: 12px; }
.nav .bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 12px; border-radius: 999px; background: rgba(15,17,20,.78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-display); font-weight: 800; font-stretch: 112%; font-size: 18px; letter-spacing: -.02em; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.links { display: flex; gap: 4px; margin-right: auto; }
.links a { text-decoration: none; color: var(--soft); font-size: 14px; font-weight: 600; padding: 8px 12px; border-radius: 999px; }
.links a:hover { background: var(--surface-hi); color: var(--text); }
@media (max-width: 900px) { .links { display: none; } }

/* HERO */
.hero { text-align: center; padding-top: clamp(48px, 9vw, 110px); position: relative; }
.hero h1 { font-size: clamp(42px, 7vw, 100px); font-weight: 900; font-stretch: 125%; line-height: .88; letter-spacing: -.035em; text-transform: uppercase; margin-top: 18px; }
.hero .lead { margin: 26px auto 0; }
.hero .cta { margin-top: 30px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hero .cta small { color: var(--muted); font-size: 14px; }
.hero-dev { --v: .25; position: relative; display: flex; justify-content: center; align-items: flex-start; margin-top: clamp(40px, 6vw, 72px); padding-top: 12px; height: clamp(380px, 52vw, 640px); overflow: hidden; -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); }
.hero-dev::before { content: ""; position: absolute; left: 50%; top: 18%; width: min(760px, 90%); aspect-ratio: 1.6; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(198,244,50,.22), transparent); pointer-events: none; }
.hero-dev .iph { --w: clamp(210px, 27vw, 330px); z-index: 2; }
.hero-dev .side { --w: clamp(180px, 23vw, 280px); position: absolute; top: 9%; z-index: 1; }
.hero-dev .side.l { right: 50%; transform: translate(calc(-28% - var(--v) * 46%), calc(var(--v) * -40px)) rotate(calc(-3deg - var(--v) * 6deg)); }
.hero-dev .side.r { left: 50%; transform: translate(calc(28% + var(--v) * 46%), calc(var(--v) * -40px)) rotate(calc(3deg + var(--v) * 6deg)); }

/* CAPÍTULOS FIJADOS: sin JS (o con «reducir movimiento») son tres bloques normales, uno bajo otro */
.pin { position: relative; }
.beat-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(24px, 6vw, 88px); max-width: 1040px; margin-inline: auto; padding: 56px var(--gr) 56px var(--gl); }
.beat .copy { display: grid; gap: 18px; justify-items: start; }
.beat .iph { --w: min(calc((100vh - 150px) * .425), 300px); }
.dots { display: none; }
.js .pin { height: calc(var(--n) * 90vh + 100vh); }
.js .pin .stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.js .pin .beat { position: absolute; inset: 0; display: grid; align-items: center; opacity: 0; visibility: hidden; transition: opacity .55s var(--ease), visibility 0s .55s; }
.js .pin .beat.on { opacity: 1; visibility: visible; transition: opacity .55s var(--ease), visibility 0s; }
.js .pin .beat-in { width: 100%; padding-block: 84px 24px; }
.js .pin .beat .copy { transform: translateY(28px); transition: transform .7s var(--ease); }
.js .pin .beat.on .copy { transform: none; }
.js .dots { display: flex; flex-direction: column; gap: 6px; position: absolute; right: max(10px, env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); z-index: 3; }
.js .dots i { width: 4px; height: 22px; border-radius: 4px; background: var(--surface-higher); transition: background .3s, height .3s; }
.js .dots i.on { background: var(--accent); height: 34px; }
@media (max-width: 760px) {
  .beat-in { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 20px; }
  .beat .copy { justify-items: center; gap: 10px; }
  .beat .iph { --w: min(calc((100svh - 310px) * .425), 250px, 70vw); }
  .js .pin .beat { align-items: start; }
  .js .pin .beat-in { padding-block: 80px 0; }
}

/* FRASE QUE SE ENCIENDE */
.say { padding-block: clamp(90px, 16vw, 200px); }
.say p { font-family: var(--f-display); font-weight: 800; font-stretch: 112%; font-size: clamp(30px, 5.2vw, 68px); line-height: 1.05; letter-spacing: -.025em; max-width: 16em; }
.say .w { transition: opacity .25s linear; }
.js .say .w { opacity: .16; } .js .say .w.lit { opacity: 1; }

/* ENTRENO: tres aparatos */
.sec { padding-block: clamp(70px, 10vw, 130px); position: relative; }
.sec-head { display: grid; gap: 18px; justify-items: center; text-align: center; margin-bottom: clamp(36px, 6vw, 72px); }
.trio { --e: 1; display: grid; grid-template-columns: 1fr 1.25fr .8fr; align-items: end; gap: clamp(16px, 4vw, 56px); max-width: 900px; margin-inline: auto; }
.trio figure { margin: 0; display: grid; gap: 18px; justify-items: center; text-align: center; }
.trio figcaption b { display: block; font-family: var(--f-display); font-weight: 800; font-size: 19px; }
.trio figcaption span { color: var(--muted); font-size: 15px; }
.trio .iph { --w: 100%; } .trio .aw { --w: 100%; margin-bottom: 26%; }
.trio .par { transform: translateY(calc((1 - var(--e)) * 110px)); }
.trio .par.slow { transform: translateY(calc((1 - var(--e)) * 190px)); }
@media (max-width: 700px) {
  .trio { grid-template-columns: 1fr 1fr; align-items: start; }
  .trio .main { grid-column: 1 / -1; order: -1; } .trio .main .iph { --w: 66%; }
  .trio .aw { margin-bottom: 0; --w: 86%; }
  .trio .par, .trio .par.slow { transform: translateY(calc((1 - var(--e)) * 50px)); }
}

/* GPS */
.gps { background: var(--bg); overflow: hidden; }
.gps .route { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.gps .route path { fill: none; stroke: var(--accent); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--e, 1)); filter: drop-shadow(0 0 14px rgba(198,244,50,.55)); opacity: .5; }
.gps .grid { --e: 1; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(24px, 6vw, 80px); }
.gps .copy { display: grid; gap: 20px; justify-items: start; }
.stats { display: flex; flex-wrap: wrap; gap: 10px 34px; margin-top: 8px; }
.stats div { display: grid; }
.stats b { font-family: var(--f-display); font-weight: 900; font-stretch: 125%; font-size: clamp(30px, 4vw, 48px); letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1; }
.stats span { color: var(--muted); font-size: 14px; margin-top: 6px; }
.duo { display: flex; align-items: flex-start; }
.duo { gap: clamp(14px, 2.4vw, 32px); }
.duo .iph { --w: clamp(170px, 23vw, 290px); }
.duo .iph.feed2 { --w: clamp(128px, 17vw, 214px); margin-top: 30%; transform: translateY(calc((1 - var(--e)) * 70px)); }
.duo.one { position: relative; padding-bottom: clamp(40px, 7vw, 90px); }
.duo.one .iph { --w: clamp(220px, 25vw, 300px); }
.rcard { position: absolute; left: -46%; bottom: 0; width: 78%; margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 30px 70px rgba(0,0,0,.6); transform: translateY(calc((1 - var(--e)) * 70px)); z-index: 2; }
.rcard img { display: block; width: 100%; height: auto; }
@media (max-width: 760px) { .duo.one .iph { --w: 62%; } .rcard { left: 0; width: 60%; } .duo.one { justify-content: flex-end; padding-bottom: 36vw; } }
@media (max-width: 760px) { .gps .grid { grid-template-columns: minmax(0, 1fr); } .duo { justify-content: center; } .duo .iph { --w: 52%; } .duo .iph.feed2 { --w: 38%; } }

/* AMIGOS */
.vs { --e: 1; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(24px, 6vw, 88px); }
.vs .iph { --w: clamp(220px, 26vw, 310px); transform: rotate(calc((1 - var(--e)) * -5deg)) translateY(calc((1 - var(--e)) * 60px)); }
.vs .copy { display: grid; gap: 20px; justify-items: start; }
.score { font-family: var(--f-display); font-weight: 900; font-stretch: 125%; font-size: clamp(72px, 13vw, 190px); line-height: .85; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.score .r { color: var(--rival); }
@media (max-width: 760px) { .vs { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; } .vs .iph { order: 2; --w: 66%; } .vs .copy { justify-items: center; } }

/* ENTRENADOR */
.coach { background: linear-gradient(var(--page), #0B1118 30%, #0B1118 70%, var(--page)); }
.coach .scene { --e: 1; max-width: 980px; margin-inline: auto; }
.coach .browser { transform: scale(calc(.82 + var(--e) * .18)); transform-origin: 50% 0; }
.pair { --e: 1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(20px, 5vw, 64px); max-width: 1120px; margin: calc(clamp(90px, 15vw, 200px) * -1) auto 0; position: relative; z-index: 2; }
.pair > :not(.iph) { align-self: end; padding-bottom: 4%; }
.pair .iph { --w: clamp(170px, 21vw, 250px); }
.pair .iph:first-child { transform: translateY(calc((1 - var(--e)) * 60px)); }
.pair .iph:last-child { transform: translateY(calc((1 - var(--e)) * 130px)); }
.three { display: grid; gap: 30px; }
.three b { display: block; font-family: var(--f-display); font-weight: 800; font-size: 21px; margin-bottom: 6px; }
.three span { color: var(--muted); font-size: 16px; }
.coach .more { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 22px; margin-top: 52px; }
/* Puertas a piquefit.app/entrenadores: en la barra con sitio; si no cabe, bajo el botón del inicio */
.txt, .nav .pro, .hero .also { color: var(--soft); font-size: 14px; font-weight: 600; text-decoration: none; }
.txt { font-size: 16px; padding: 10px 4px; }
.txt::after, .hero .also::after { content: " ›"; }
.nav .pro { padding: 8px 10px; border-radius: 999px; white-space: nowrap; }
.txt:hover, .nav .pro:hover, .hero .also:hover { color: var(--text); }
.hero .also { display: none; padding: 8px 4px; }
@media (max-width: 1040px) { .nav .pro { display: none; } .hero .also:not(.in) { display: inline-block; } }
@media (max-width: 560px) { .nav .btn.in { display: none; } .hero .also.in { display: inline-block; margin-top: -12px; } }
/* El aviso del otro idioma (lo enciende portada-antes.js). */
.otro-idioma { display: none; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 12px; margin: 0; padding: 8px 44px 8px 16px; position: relative; background: var(--surface); border-bottom: 1px solid var(--line); color: var(--soft); font-size: 14px; text-align: center; }
html.con-otro-idioma .otro-idioma { display: flex; }
.otro-idioma a { color: var(--text); font-weight: 700; padding: 6px 2px; }
.otro-idioma button { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; background: none; color: var(--soft); font-size: 22px; line-height: 1; cursor: pointer; border-radius: 999px; }
.otro-idioma button:hover { color: var(--text); }
@media (max-width: 760px) {
  .pair { grid-template-columns: 1fr 1fr; align-items: start; }
  .pair { margin-top: -14vw; } .pair > :not(.iph) { padding-bottom: 0; }
  .pair .iph { --w: 100%; } .pair .iph:first-child, .pair .iph:last-child { transform: none; }
  .three { grid-column: 1 / -1; order: 3; gap: 22px; }
}

/* TU AÑO */
.year { overflow: hidden; }
.reel { display: flex; align-items: flex-start; gap: clamp(18px, 2.6vw, 32px); padding: 12px var(--gr) 40px var(--gl); overflow-x: auto; scroll-snap-type: x mandatory; }
.reel .iph { --w: clamp(210px, 27vw, 330px); scroll-snap-align: center; }
.js .reel { overflow: visible; width: max-content; will-change: transform; }

/* LO BÁSICO */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.facts div { padding: 28px 20px 28px 0; }
.facts b { display: block; font-family: var(--f-display); font-weight: 900; font-stretch: 118%; font-size: clamp(20px, 2.4vw, 28px); letter-spacing: -.02em; text-transform: uppercase; line-height: 1; margin-bottom: 10px; }
.facts span { color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr 1fr; } }

/* FAQ + BETA */
.faq { max-width: 760px; margin-inline: auto; display: grid; gap: 10px; }
.faq details { background: var(--surface); border-radius: 16px; padding: 0 20px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--soft); padding-bottom: 18px; font-size: 16px; }
.beta { text-align: center; }
.beta .box { position: relative; max-width: 560px; margin: 40px auto 0; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(20px, 4vw, 32px); display: grid; gap: 12px; text-align: left; }
.beta label { font-size: 13px; font-weight: 700; color: var(--muted); display: grid; gap: 6px; }
.beta input[type=text], .beta input[type=email] { font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; width: 100%; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--bg); border-radius: 12px; padding: 4px; }
.seg label { display: block; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; text-align: center; padding: 10px; border-radius: 9px; color: var(--soft); font-size: 15px; font-weight: 700; cursor: pointer; }
.seg input:checked + span { background: var(--surface-higher); color: var(--text); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); }

/* ANTES y conmutador de revisión */

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* Idioma, formulario de la beta y pie */
.nav-r { display: flex; align-items: center; gap: 8px; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; font-size: 12px; font-weight: 700; }
.lang a, .lang span { text-decoration: none; padding: 4px 9px; border-radius: 999px; color: var(--muted); }
.lang .on { background: var(--surface-hi); color: var(--text); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.beta .via, .beta .fine { font-size: 13px; color: var(--muted); }
.beta .fine a { color: var(--soft); }
.beta .msg { font-size: 14px; font-weight: 700; color: var(--rival); text-align: center; min-height: 0; }
.beta .msg:empty { display: none; }
.beta .okbox { display: none; text-align: center; gap: 6px; padding: 18px 0; }
.beta .okbox b { font-family: var(--f-display); font-weight: 800; font-size: 22px; color: var(--accent); }
.beta .okbox p { color: var(--soft); }
.beta .box.sent > :not(.okbox) { display: none; }
.beta .box.sent .okbox { display: grid; }
.beta .btn:disabled { opacity: .6; }
.faq-more { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 26px; font-size: 15px; }
.faq-more a { color: var(--soft); }
.faq details p a { color: var(--accent); }
body > footer { padding: 36px 0 56px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer a { color: var(--soft); text-decoration: none; }
footer a:hover { color: var(--text); }
.nav .btn.sm { white-space: nowrap; }
@media (max-width: 420px) { .nav .btn.sm { padding: 9px 12px; font-size: 13px; } .nav .lang { display: none; } .big { font-size: clamp(26px, 9.2vw, 38px); } .hero h1 { font-size: clamp(32px, 11.6vw, 42px); } .facts b { overflow-wrap: anywhere; } .facts div { min-width: 0; padding-right: 12px; } }

/* MÓVIL: un móvil protagonista por pantalla, a un tamaño que se lea (PIQ-652).
   La liga deja de ir fijada: cada paso es un bloque con su móvil entero. */
@media (max-width: 760px) {
  :root { --mw: min(78vw, 340px); }
  .hero-dev { height: clamp(430px, 118vw, 560px); }
  .hero-dev .iph { --w: min(66vw, 300px); }
  .hero-dev .side { --w: min(54vw, 250px); }
  .js .pin { height: auto; }
  .js .pin .stage { position: static; height: auto; overflow: visible; }
  .js .pin .beat { position: static; opacity: 1; visibility: visible; display: block; transition: none; }
  .js .pin .beat .copy { transform: none; }
  .js .pin .beat-in, .beat-in { padding-block: 44px 28px; gap: 28px; }
  .js .dots { display: none; }
  .beat .iph { --w: var(--mw); }
  .trio { gap: 28px 16px; }
  .trio .main .iph { --w: var(--mw); }
  .duo { flex-direction: column-reverse; align-items: center; gap: 36px; }
  .duo .iph, .duo .iph.feed2 { --w: var(--mw); margin-top: 0; }
  .vs .iph { --w: var(--mw); }
  /* Entrenador: la escena de siempre (la web y los dos móviles montados encima), casi de borde a borde */
  .pair { gap: 26px 3.2vw; margin: -16vw -6px 0; }
  .reel .iph { --w: min(72vw, 320px); }
}
