/* Portada pública */
.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
@media (max-width: 640px) { .wrap { width: calc(100% - 32px); } }

.rise { animation: rise .5s var(--ease) both; animation-delay: calc(var(--d, 0) * 60ms + 40ms); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
.reveal { position: relative; --kk: clamp(0, (var(--k) - .28) * 2.4, 1); transition: --k .9s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.reveal.pre { --k: 0; }

/* ---------------------------------------------------------------- nav */
.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 28px; height: 64px; padding: 0 max(24px, calc((100vw - 1180px) / 2)); transition: background-color .2s var(--ease), box-shadow .2s var(--ease); }
.nav.stuck { background: var(--bg); box-shadow: 0 1px 0 var(--line); }
.nav-links { display: flex; gap: 28px; margin-left: 20px; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink-2); position: relative; padding: 6px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 2px; height: 0; background: var(--accent); transition: height .2s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { height: 100%; left: -8px; }
.nav-tools { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav-tools .btn { margin-left: 8px; }
@media (max-width: 860px) { .nav-links { display: none; } .nav { gap: 12px; padding: 0 16px; } }

/* --------------------------------------------------------------- hero */
.hero { padding: clamp(40px, 7vw, 96px) 0 0; overflow: hidden; }
.hero-title { font-size: clamp(44px, 7.2vw, 108px); font-weight: 600; letter-spacing: -.035em; line-height: .98; margin: 24px 0 0; font-variation-settings: "opsz" 96; }
.hero-foot { display: grid; gap: 24px; max-width: 560px; margin-top: clamp(24px, 4vw, 48px); }
.hero-sub { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.45; color: var(--ink-2); max-width: 48ch; }
.hero-cta { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; }
@media (max-width: 760px) { .hero-foot { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------- secciones */
.section { padding: clamp(72px, 10vw, 136px) 0; }
.section.alt { background: var(--surface); border-block: 1px solid var(--line); }
.shead { display: grid; gap: 16px; max-width: 780px; margin-bottom: clamp(36px, 5vw, 64px); }
.shead h2 { font-size: clamp(32px, 4.4vw, 56px); }
.shead.center { margin-inline: auto; text-align: center; justify-items: center; }
.shead.center .muted { max-width: 58ch; font-size: 17px; }

/* pasos */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 1px; background: var(--line-2); }
.step { display: grid; gap: 16px; align-content: start; position: relative; padding-top: 0; }
.step-tc { justify-self: start; position: relative; z-index: 1; background: var(--bg); padding-right: 12px; font-size: 14px; font-weight: 500; color: var(--accent); display: inline-flex; align-items: center; gap: 8px; }
.step-tc::before { content: ""; width: 2px; height: 22px; background: var(--accent); }
.step h3 { font-size: 25px; margin-top: 6px; }
.step p { color: var(--ink-2); max-width: 38ch; }
.step-art { height: 180px; margin-top: 12px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; display: grid; place-items: center; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 44px; } .steps::before { display: none; } }

.art-drop { place-content: center; gap: 6px; text-align: center; font-size: 13px; color: var(--ink-2); }
.art-drop b { color: var(--ink); font-size: 20px; }
.art-drop .c { position: absolute; width: 24px; height: 24px; border: 3px solid var(--accent); transform: translate(calc(var(--tx) * 12px), calc(var(--ty) * 12px)); transition: transform .5s var(--ease) .35s; }
.art-drop .tl { top: 22px; left: 22px; border-right: 0; border-bottom: 0; --tx: 1; --ty: 1; }
.art-drop .tr { top: 22px; right: 22px; border-left: 0; border-bottom: 0; --tx: -1; --ty: 1; }
.art-drop .bl { bottom: 22px; left: 22px; border-right: 0; border-top: 0; --tx: 1; --ty: -1; }
.art-drop .br { bottom: 22px; right: 22px; border-left: 0; border-top: 0; --tx: -1; --ty: -1; }
.step.pre .art-drop .c { transform: none; }
.art-drop span, .art-drop b { transition: opacity .4s var(--ease) .15s, transform .4s var(--ease) .15s; }
.step.pre .art-drop span, .step.pre .art-drop b { opacity: 0; transform: translateY(-12px); }
.art-pick { grid-auto-flow: column; gap: 16px; padding: 0 20px; }
.art-pick > div { width: 56px; aspect-ratio: 9 / 16; border-radius: 6px; background: var(--surface-2); position: relative; display: grid; place-items: end center; padding-bottom: 6px; transition: transform .4s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease); }
.art-pick i { position: absolute; inset: 6px 6px 26px; border-radius: 3px; background: repeating-linear-gradient(135deg, var(--line-2) 0 2px, transparent 2px 7px); }
.art-pick b { font-size: 11px; color: var(--ink-3); }
.art-pick .on { background: var(--ink); transform: translateY(-8px); box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--accent); transition-delay: .5s; }
.art-pick .on i { background: repeating-linear-gradient(135deg, #3b3f49 0 2px, transparent 2px 7px); }
.art-pick .on b { color: var(--mark); transition: color .3s var(--ease) .5s; }
.art-pick .on + .on { transition-delay: .75s; }
.step.pre .art-pick .on { background: var(--surface-2); transform: none; box-shadow: none; }
.step.pre .art-pick .on i { background: repeating-linear-gradient(135deg, var(--line-2) 0 2px, transparent 2px 7px); }
.step.pre .art-pick .on b { color: var(--ink-3); }
.art-export { align-content: center; gap: 12px; padding: 0 24px; justify-items: stretch; width: 100%; }
.ex-bar { height: 6px; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
.ex-bar i { display: block; height: 100%; width: 100%; background: var(--accent); transform: scaleX(.62); transform-origin: 0 50%; transition: transform 1.6s var(--ease) .4s; }
.step.pre .ex-bar i { transform: scaleX(.04); }
.ex-row { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; padding: 8px 12px; border-radius: 6px; background: var(--surface-2); }
.ex-row.dim { color: var(--ink-3); background: none; border: 1px dashed var(--line-2); }

/* funciones */
.feats { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.feat { grid-column: span 5; border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--line); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.feat.f-wide { grid-column: span 7; }
.feat.f-text { grid-column: span 6; padding-top: 28px; }
.feat.pre .demo * { animation-play-state: paused; }
.feat-copy { padding: 24px 24px 28px; display: grid; gap: 8px; align-content: start; }
.feat-copy h3 { font-size: 24px; }
.feat-copy p { color: var(--ink-2); max-width: 46ch; }
.demo { height: 236px; background: var(--stage); color: var(--stage-ink-2); position: relative; display: grid; place-items: center; overflow: hidden; }
@media (max-width: 900px) { .feat, .feat.f-wide, .feat.f-text { grid-column: 1 / -1; } }

.d-frame { position: relative; width: min(78%, 380px); aspect-ratio: 16 / 9; border-radius: 8px; background: #16181d; box-shadow: 0 0 0 1px #2b2f38; }
.face { position: absolute; bottom: 24%; width: 15%; aspect-ratio: 1; border-radius: 50%; border: 2px solid #5b606b; }
.face::after { content: ""; position: absolute; left: -45%; right: -45%; top: 108%; height: 62%; border: 2px solid #5b606b; border-bottom: 0; border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.face.a { left: 19%; } .face.b { right: 19%; }
.crop { position: absolute; top: -7px; bottom: -7px; aspect-ratio: 9 / 16; left: 26.5%; transform: translateX(-50%); border: 2px solid var(--accent); border-radius: 4px; box-shadow: 0 0 0 100vmax rgba(8,9,11,.5); clip-path: inset(-8px -400px); animation: crop-cut 5.2s steps(1) infinite; }
@keyframes crop-cut { 0% { left: 26.5%; } 46% { left: 73.5%; } }
.lv { position: absolute; bottom: 8%; display: flex; gap: 3px; align-items: end; height: 12%; }
.lv.a { left: 21%; } .lv.b { right: 21%; }
.lv b { width: 4px; background: var(--mark); border-radius: 1px; animation: lv .5s ease-in-out infinite alternate; height: 30%; }
.lv b:nth-child(2) { animation-delay: .12s; } .lv b:nth-child(3) { animation-delay: .24s; }
.lv.a { animation: speak-a 5.2s steps(1) infinite; } .lv.b { animation: speak-b 5.2s steps(1) infinite; }
@keyframes lv { to { height: 100%; } }
@keyframes speak-a { 0% { opacity: 1; } 46% { opacity: .12; } }
@keyframes speak-b { 0% { opacity: .12; } 46% { opacity: 1; } }

.demo-split { grid-auto-flow: column; gap: 24px; }
.d-land { position: relative; width: 190px; aspect-ratio: 16 / 9; border-radius: 6px; background: #16181d; box-shadow: 0 0 0 1px #2b2f38; overflow: hidden; }
.d-port { position: relative; height: 170px; aspect-ratio: 9 / 16; border-radius: 6px; background: #16181d; box-shadow: 0 0 0 1px #2b2f38; overflow: hidden; }
.demo-split .game { position: absolute; inset: 0; background: repeating-linear-gradient(115deg, #1f2229 0 14px, #191b21 14px 28px); }
.d-port .game { bottom: 38%; }
.demo-split .cam { position: absolute; border: 2px solid var(--accent); border-radius: 3px; background: #23262e; }
.demo-split .cam::after { content: ""; position: absolute; left: 50%; top: 26%; width: 26%; aspect-ratio: 1; border-radius: 50%; border: 2px solid #6b707b; transform: translateX(-50%); }
.d-land .cam { top: 8%; width: 30%; aspect-ratio: 4 / 3; animation: cam-roam 9s var(--ease) infinite; }
@keyframes cam-roam { 0%, 28% { left: 64%; top: 8%; } 34%, 62% { left: 6%; top: 56%; } 68%, 94% { left: 6%; top: 8%; } 100% { left: 64%; top: 8%; } }
.d-port .cam { left: 0; right: 0; bottom: 0; height: 38%; border-radius: 0; border-width: 2px 0 0; }
.d-arrow { color: var(--accent); }

.demo-dead { align-content: center; gap: 20px; }
.d-wave { display: flex; align-items: center; gap: 3px; height: 78px; }
.d-wave i { width: 5px; border-radius: 2px; background: #6a6f7a; transition: width .5s var(--ease), margin .5s var(--ease), opacity .3s; }
.d-wave i.dead { background: repeating-linear-gradient(135deg, var(--accent) 0 2px, transparent 2px 5px); height: 62px !important; opacity: .8; }
.d-wave.cut i.dead { width: 0; margin-left: -3px; opacity: 0; }
.d-len { font-size: 15px; } .d-len s { opacity: .5; } .d-len b { color: var(--mark); margin-left: 6px; transition: opacity .3s; }
.d-wave:not(.cut) + .d-len b { opacity: 0; }

.demo-caps { align-content: center; gap: 24px; padding: 0 20px; }
.d-cap { min-height: 2.3em; text-align: center; font-size: clamp(24px, 3.2vw, 40px); line-height: 1.08; color: #fff; transition: opacity .18s; }
.d-cap span { display: inline-block; margin: 0 .14em; transition: transform .12s var(--snap), color .1s; }
.d-langs { font-size: 12px; letter-spacing: .06em; color: #7c808a; text-align: center; }
.d-langs b { color: var(--stage-ink); font-weight: 500; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 24px; }
.chips span { padding: 8px 16px; border-radius: 99px; border: 1px solid var(--line-2); font-weight: 600; font-size: 14.5px; }
.chips span:nth-child(2) { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chips .typed { border-style: dashed; font: 500 13.5px/1.4 var(--font-mono); color: var(--ink-2); border-radius: var(--r); }
.keys { display: flex; align-items: center; gap: 8px; padding: 0 24px; }
kbd { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line-2); border-bottom-width: 4px; background: var(--surface); font: 700 16px/1 var(--font-mono); }
.keys span { margin-left: 8px; font-size: 12.5px; color: var(--ink-3); }

/* confianza */
.trust { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 72px; align-items: start; }
.trust .shead { position: sticky; top: 110px; margin: 0; }
.trust-list { list-style: none; margin: 0; padding: 0; }
.trust-list li { display: grid; grid-template-columns: 54px 1fr; gap: 8px; padding: 24px 0; border-top: 1px solid var(--line-2); }
.trust-list li:last-child { border-bottom: 1px solid var(--line-2); }
.trust-list .tc { color: var(--accent); font-weight: 700; padding-top: 4px; }
.trust-list h3 { font-size: 22px; margin-bottom: 6px; }
.trust-list p { color: var(--ink-2); max-width: 52ch; }
@media (max-width: 900px) { .trust { grid-template-columns: 1fr; } .trust .shead { position: static; } }

/* precios */
#billSeg { margin-top: 8px; }
.save { font: 600 11px/1 var(--font-mono); font-style: normal; color: var(--accent); margin-left: 4px; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
@media (max-width: 1080px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .plans { grid-template-columns: 1fr; } }
.plan { position: relative; display: grid; grid-template-rows: auto auto auto 1fr; gap: 20px; padding: 28px 24px 24px; border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--line); }
.plan.pick { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.plan.pick .muted, .plan.pick .plan-list li { color: color-mix(in srgb, var(--bg) 72%, transparent); }
.plan.pick .plan-list b { color: var(--bg); }
.plan.pick .plan-list li { border-color: color-mix(in srgb, var(--bg) 16%, transparent); }
.plan.pick .btn { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.plan .flag { margin-left: 12px; font-size: 12px; font-weight: 500; letter-spacing: 0; color: var(--accent); vertical-align: middle; }
.plan h3 { font-size: 26px; }
.plan .muted { font-size: 14px; min-height: 2.9em; }
.price { display: flex; align-items: baseline; gap: 6px; font-family: var(--font-display); }
.price b { font-size: 56px; font-weight: 600; letter-spacing: -.03em; line-height: .9; }
.price span { font: 500 13px/1.2 var(--font-mono); opacity: .7; }
.plan-list { list-style: none; margin: 0; padding: 0; font-size: 14.5px; align-self: start; }
.plan-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.plan-list b { color: var(--ink); font-weight: 600; text-align: right; white-space: nowrap; }
.plan-list .no { opacity: .5; }
.pay-line { text-align: center; margin-top: 28px; }
.pay-line b { color: var(--ink); }

/* preguntas */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px 72px; align-items: start; }
.faq .shead { margin: 0; }
.faq-list details { border-top: 1px solid var(--line-2); }
.faq-list details:last-child { border-bottom: 1px solid var(--line-2); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 20px 0; font: 500 clamp(18px, 1.8vw, 22px)/1.2 var(--font-display); letter-spacing: -.01em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font: 400 26px/1 var(--font-mono); color: var(--accent); transition: transform .25s var(--snap); flex: none; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list p { color: var(--ink-2); max-width: 62ch; padding: 0 40px 24px 0; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } }

/* cierre y pie */
.final { background: var(--stage); color: var(--stage-ink); padding: clamp(72px, 10vw, 140px) 0; text-align: center; position: relative; }
.final::before { content: ""; position: absolute; inset: 0 0 auto; height: 14px; background: repeating-linear-gradient(90deg, #2c2f37 0 1px, transparent 1px 12px); }
.final h2 { font-size: clamp(32px, 5.2vw, 72px); max-width: 16ch; margin: 0 auto 36px; }
.final .mark { background: none; color: var(--mark); }
.foot { padding: 52px 0 28px; font-size: 14.5px; }
.foot-in { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.foot nav { display: grid; gap: 12px; align-content: start; }
.foot nav a { text-decoration: none; color: var(--ink-2); justify-self: start; }
.foot nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.foot .hint { margin-top: 12px; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-3); }
@media (max-width: 720px) { .foot-in { grid-template-columns: 1fr; } }

/* páginas legales y 404 */
.doc { width: min(760px, 100% - 40px); margin: 0 auto; padding: 56px 0 96px; }
.doc h1 { font-size: clamp(36px, 6vw, 60px); margin: 20px 0 12px; }
.doc h2 { font-size: 24px; margin: 40px 0 12px; }
.doc p, .doc li { color: var(--ink-2); font-size: 16.5px; line-height: 1.62; }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 20px; display: grid; gap: 6px; }
.doc strong { color: var(--ink); }
.doc .note { margin-top: 28px; }
html[lang="es"] [data-lang="en"], html[lang="en"] [data-lang="es"] { display: none; }
.lost { min-height: 70vh; display: grid; place-content: center; justify-items: center; gap: 20px; text-align: center; padding: 40px 20px; }
.lost h1 { font-size: clamp(64px, 16vw, 180px); letter-spacing: -.04em; }
.lost h1 span { color: var(--accent); font-weight: 400; }

/* ------------------------------------------- cabeza de reproducción de la página */
.nav-head { position: absolute; left: 0; bottom: -5px; width: 2px; height: 10px; margin-left: -1px; background: var(--accent); pointer-events: none; opacity: 0; transition: opacity .2s var(--ease); will-change: transform; }
.nav.stuck .nav-head { opacity: 1; }
.nav-tc { font-size: 12px; color: var(--ink-3); margin-right: 8px; min-width: 40px; text-align: right; }
@media (max-width: 860px) { .nav-tc { display: none; } }
.billed { min-height: 1.5em; }

/* ------------------------------------------------ la mesa de edición del hero */
.bay { position: relative; margin-top: clamp(48px, 7vw, 96px); padding: 48px 0 56px; background: var(--stage); color: var(--stage-ink); }
.bay::before { content: ""; position: absolute; inset: 0 0 auto; height: 12px; background: repeating-linear-gradient(90deg, #2c2f37 0 1px, transparent 1px 12px); }
.bay-top { display: grid; grid-template-columns: minmax(0, 1fr) clamp(208px, 21vw, 264px); gap: clamp(24px, 4vw, 56px); align-items: start; }
.mon { margin: 0; border-radius: 14px; overflow: hidden; background: #17191e; box-shadow: 0 0 0 1px #2a2d35, inset 0 1px 0 rgba(255,255,255,.07), 0 40px 80px -32px #000; }
.mon-bar { display: flex; align-items: center; gap: 12px; height: 36px; padding: 0 12px; font-size: 12px; color: var(--stage-ink-2); border-bottom: 1px solid #23262d; }
.mon-dots { display: inline-flex; gap: 6px; } .mon-dots i { width: 8px; height: 8px; border-radius: 50%; background: #34373f; }
.bay-grow { flex: 1; }
.mon-view { position: relative; }
.mon-view > canvas:only-child, .mon-view video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; object-fit: contain; }
.mon-view #bayMark { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.mon-btn { display: inline-flex; align-items: center; gap: 8px; height: 24px; min-width: 28px; padding: 0 8px; justify-content: center; border: 1px solid #343842; border-radius: 6px; background: #1f2229; color: var(--stage-ink); font: 500 12px/1 var(--font-ui); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); transition: background-color .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease); }
.mon-btn:hover { background: #2a2e37; }
.mon-btn.wide { border-color: #FF5630; color: #FF5630; }
.mon-btn.wide.live { border-color: #343842; color: var(--stage-ink); }
.out { margin-top: clamp(-248px, -17vw, -144px); position: relative; z-index: 2; display: grid; gap: 16px; }
.phone { margin: 0; position: relative; padding: 8px; border-radius: 34px; background: #0a0b0d; transform: rotate(2deg); transform-origin: 50% 100%;
  box-shadow: 0 0 0 1px #363942, inset 0 0 0 1px #000, inset 0 1px 0 rgba(255,255,255,.16), 0 48px 80px -28px rgba(0,0,0,.85), 0 16px 28px -16px rgba(0,0,0,.7); }
.phone::after { content: ""; position: absolute; top: 16px; left: 50%; width: 64px; height: 16px; margin-left: -32px; border-radius: 8px; background: #0a0b0d; }
.phone canvas { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 26px; }
.out-cap { display: grid; gap: 4px; font-size: 14px; line-height: 1.3; }
.out-cap b { font-weight: 500; } .out-cap span { font-size: 12px; color: var(--stage-ink-2); }
.bay-tl { margin-top: 32px; }
.bay-meta, .bay-hint { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--stage-ink-2); }
.bay-meta { margin-bottom: 12px; } .bay-meta span:nth-child(2) { color: var(--stage-ink); }
.bay-hint { margin-top: 8px; color: #7c808a; } .bay-hint span:nth-child(2) { font-family: var(--font-ui); text-align: center; }
.bay-strip { position: relative; height: 72px; border-radius: 8px; background: #14161b; box-shadow: 0 0 0 1px #262930, inset 0 1px 0 rgba(255,255,255,.04); touch-action: none; user-select: none; cursor: pointer; }
.bay-strip canvas { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 8px; }
.bay-sel { position: absolute; top: -1px; bottom: -1px; border-block: 2px solid var(--accent); background: rgba(255,86,48,.1); pointer-events: none; }
.bay-h { position: absolute; top: -12px; bottom: -12px; width: 28px; margin-left: -14px; padding: 0; border: 0; background: none; display: grid; place-items: center; cursor: ew-resize; z-index: 3; color: #FF5630; font: 500 56px/1 var(--font-mono); }
.bay-h span { transform: translateY(-4px); transition: transform .16s var(--ease); pointer-events: none; }
.bay-h:hover span, .bay-strip.trim .bay-h span { transform: translateY(-4px) scale(1.12); }
.bay-head { position: absolute; top: -8px; bottom: -8px; width: 2px; margin-left: -1px; background: #fff; z-index: 2; pointer-events: none; }
.bay-head b { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); padding: 4px 6px; border-radius: 4px; background: #fff; color: #0c0d10; font-size: 11px; font-weight: 700; white-space: nowrap; }
.bay-ov { position: relative; height: 20px; margin-top: 20px; border-radius: 6px; background: #14161b; box-shadow: 0 0 0 1px #262930; cursor: pointer; }
.bay-ov button { position: absolute; top: 4px; bottom: 4px; min-width: 6px; padding: 0; border: 0; border-radius: 2px; background: #5a6070; transition: background-color .16s var(--ease); }
.bay-ov button:hover { background: #8d93a3; } .bay-ov button.on { background: #FF5630; }
.ov-win { position: absolute; top: -3px; bottom: -3px; min-width: 6px; border: 1px solid rgba(255,255,255,.5); border-radius: 4px; pointer-events: none; }
.bay-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-top: 24px; }
.mchip { display: grid; gap: 8px; align-content: start; padding: 12px; border-radius: 10px; border: 1px solid #262930; background: #15171c; color: var(--stage-ink-2); text-align: left; font-size: 13px; line-height: 1.3; box-shadow: inset 0 1px 0 rgba(255,255,255,.04); transition: background-color .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease); }
.mchip b { font-weight: 500; } .mchip .top { display: flex; justify-content: space-between; font-size: 12px; } .mchip .sc { color: var(--mark); }
.mchip:hover { background: #1b1e24; color: var(--stage-ink); }
.mchip.on { border-color: #FF5630; background: #1b1e24; color: var(--stage-ink); }
@media (max-width: 980px) { .bay-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .bay-top { grid-template-columns: 1fr; }
  .out { order: -1; width: 200px; margin: -96px auto 0; text-align: center; }
  .bay-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bay-hint span:first-child, .bay-hint span:last-child { display: none; }
}
.hero-cta .hint { flex-basis: 100%; }

/* ------------------------------------------------------ bajar como editar
   --k va de 0 a 1 mientras el bloque entra en pantalla. Con scroll-timeline queda atado al scroll,
   así que subir y bajar es como arrastrar la cabeza de reproducción. Sin soporte, entra una sola vez. */
@property --k { syntax: "<number>"; inherits: true; initial-value: 1; }
@keyframes scrub { from { --k: 0; } to { --k: 1; } }

/* Un bloque sin renderizar: rayado. La cabeza de reproducción lo recorre y deja el contenido listo. */
.reveal::before { content: ""; position: absolute; inset: -1px; z-index: 4; pointer-events: none; border-radius: inherit;
  background: repeating-linear-gradient(135deg, var(--sunk) 0 6px, var(--bg) 6px 12px); clip-path: inset(0 0 0 calc(var(--kk) * 100%)); }
.reveal::after { content: ""; position: absolute; top: -6px; bottom: -6px; left: calc(var(--kk) * 100%); width: 2px; margin-left: -1px; z-index: 5; pointer-events: none;
  background: var(--accent); opacity: clamp(0, min(var(--kk) * 20, (1 - var(--kk)) * 20), 1); }
.plan.pick.reveal::before { background: repeating-linear-gradient(135deg, #1b1d22 0 6px, #111216 6px 12px); }

/* Los títulos de sección entran palabra por palabra, con la palabra "dicha" resaltada, como un subtítulo. */
.shead { transition: --k 1.1s var(--ease); }
.shead.pre { --k: 0; }
.shead > :not(h2) { opacity: clamp(0, var(--k) * 4, 1); }
.shead h2 .wd { display: inline-block; --x: calc(var(--k) * (var(--n) + 3) - var(--i)); opacity: clamp(0, var(--x) * 2, 1);
  transform: translateY(calc((1 - clamp(0, var(--x) * 2, 1)) * .28em));
  background: linear-gradient(var(--mark), var(--mark)) 0 92% / calc(clamp(0, 1 - max(var(--x) - 1.3, 1.3 - var(--x)), 1) * 100%) .24em no-repeat; }
.slate { color: var(--accent); margin-right: 4px; }

@supports (animation-timeline: view()) {
  :root[data-motion="on"] .reveal, :root[data-motion="on"] .shead { animation: scrub linear both; animation-timeline: view(); animation-range: entry 0% cover 28%; transition: none; }
  :root[data-motion="on"] .shead { animation-range: entry 10% cover 34%; }
}
:root[data-motion="off"] .reveal, :root[data-motion="off"] .shead { --k: 1 !important; }
:root[data-motion="off"] .reveal::before, :root[data-motion="off"] .reveal::after { display: none; }
.motion-note { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 24px; padding: 12px 16px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--surface); font-size: 14px; color: var(--ink-2); max-width: 560px; }
.foot-base button { border: 0; background: none; padding: 0; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* La barra superior es la línea de tiempo de la página: un tramo por sección y la cabeza de reproducción encima. */
.nav-track { position: absolute; left: 0; right: 0; bottom: -3px; height: 3px; pointer-events: none; opacity: 0; transition: opacity .2s var(--ease); }
.nav.stuck .nav-track { opacity: 1; }
.nav-track i { position: absolute; top: 0; bottom: 0; border-radius: 1px; background: var(--line-2); transition: background-color .2s var(--ease); }
.nav-track i.on { background: var(--ink); }

/* reproductor con video real: una sola pista con el video entero y los momentos numerados encima */
.bay-marks { position: relative; height: 22px; margin-bottom: 4px; }
.bay-marks button { position: absolute; top: 0; bottom: 0; min-width: 20px; padding: 0 0 0 8px; border: 0; border-radius: 4px 4px 0 0; background: #23262d; color: var(--stage-ink-2); font: 500 12px/22px var(--font-mono); text-align: left; transition: background-color .16s var(--ease), color .16s var(--ease); }
.bay-marks button:hover { background: #30343d; color: var(--stage-ink); }
.bay-marks button.on { background: #FF5630; color: #140602; }
.bay.real .bay-sel, .bay.real .bay-h { transition: left .22s var(--ease), width .22s var(--ease); }
.bay.real .bay-strip.trim .bay-sel, .bay.real .bay-strip.trim .bay-h { transition: none; }
.bay.real .bay-hint { justify-content: center; font-family: var(--font-ui); font-size: 13px; }
.bay.real .bay-list { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
