/* WEDDOO · /app y /piloto. Mismo sistema que la app (tema-editorial.css, bloques finales):
   lienzo blanco, cajas cálidas #FDFAFA, degradado del orbe, esfera mate con estrella, cristal iOS estratégico,
   Inter Display con escala tipo iOS y números que ruedan. */
@layer app, reset; /* las láminas de /lam/lam.css (sin capa) ganan a app.css dentro de .lam */
@layer app {
@font-face { font-family: 'Inter Display'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/app/inter-display.woff2) format('woff2'); }

:root {
  color-scheme: light;
  --paper: #FFFFFF; --box: #FDFAFA; --box-2: #F7F2F2; --ink: #050505; --ink-2: #575757; --mute: #6F6869;
  --line: rgba(5, 5, 5, .07); --night: #0A0A0A; --night-fg: #F5F3F3; --mute-night: #CFC8C9; --line-night: rgba(255, 255, 255, .12);
  --coral: #F13A5A; --warm: #FF5A1F; --cool: #F06BC8;
  --grad: linear-gradient(135deg, var(--warm) 0%, var(--coral) 52%, var(--cool) 100%);
  --sphere:
    radial-gradient(120% 120% at 30% 22%, rgba(255, 255, 255, .46) 0%, transparent 38%),
    radial-gradient(90% 90% at 78% 82%, var(--cool) 0%, transparent 62%),
    radial-gradient(100% 100% at 20% 90%, var(--warm) 0%, transparent 60%),
    var(--coral);
  --sphere-shadow: 0 10px 18px -6px rgba(5, 5, 5, .28), 0 3px 6px rgba(5, 5, 5, .12);
  --sphere-shadow-sm: 0 3px 6px -2px rgba(5, 5, 5, .26), 0 1px 2px rgba(5, 5, 5, .1);
  /* cristal «regular» y «fino» de la app */
  --glass-tint: rgba(255, 255, 255, .78);
  --glass-filter: blur(24px) saturate(190%) brightness(1.04);
  --glass-rim: inset 0 1px .5px rgba(255, 255, 255, .95), inset 0 -1px .5px rgba(255, 255, 255, .4), inset 0 0 0 .5px rgba(255, 255, 255, .45), inset 0 10px 18px -12px rgba(255, 255, 255, .85), inset 0 -10px 18px -14px rgba(5, 5, 5, .1);
  --glass-shadow: 0 0 0 .5px rgba(5, 5, 5, .06), 0 .5px 1px rgba(5, 5, 5, .1), 0 6px 16px -6px rgba(5, 5, 5, .16), 0 18px 40px -18px rgba(5, 5, 5, .22);
  --font: 'Inter Display', Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  /* escala: tipo iOS en lo pequeño, editorial en lo grande */
  --t-hero: clamp(44px, 6.4vw, 96px); --t-title: clamp(32px, 4.4vw, 64px); --t-card: clamp(17px, 1.4vw, 20px);
  --t-lead: clamp(17px, 1.45vw, 21px); --t-body: 16px; --t-note: 14px; --t-label: 12px;
  --gutter: max(clamp(16px, 4.4vw, 64px), env(safe-area-inset-left, 0px));
  --spring: cubic-bezier(.22, 1, .36, 1);
  --pop: cubic-bezier(.3, 1.25, .5, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: var(--t-body); line-height: 1.5; font-optical-sizing: auto; -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; font-weight: 650; letter-spacing: -.035em; line-height: 1.02; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }

/* esfera mate con icono blanco (la familia del orbe) */
.orb { display: inline-grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--sphere); box-shadow: var(--sphere-shadow-sm); }
.orb svg { width: 52%; height: 52%; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.orb svg:has(use) { fill: #fff; stroke: none; width: 50%; height: 50%; }

/* cristal */
.glass { background: var(--glass-tint); -webkit-backdrop-filter: var(--glass-filter); backdrop-filter: var(--glass-filter); box-shadow: var(--glass-rim), var(--glass-shadow); }

/* barra (cristal fino) */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); box-shadow: 0 .5px 0 rgba(5, 5, 5, .08); padding-top: env(safe-area-inset-top, 0px); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .22em; font-size: 13.5px; text-decoration: none; }
.brand .star { width: 20px; height: 20px; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; font-size: 14px; font-weight: 550; color: var(--ink-2); }
.nav-links a { display: block; padding: 8px 12px; border-radius: 999px; text-decoration: none; transition: background .2s, color .2s; }
.nav-links a:hover { background: var(--box-2); color: var(--ink); }

/* botones: principal con el degradado del orbe y en negrita (como la app) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0; background: var(--grad); color: #fff; font: inherit; font-weight: 700; font-size: 16px; letter-spacing: -.01em; text-decoration: none; box-shadow: inset 0 1px .5px rgba(255, 255, 255, .45), 0 14px 28px -14px rgba(241, 58, 90, .9), 0 4px 10px -6px rgba(255, 90, 31, .5); transition: transform .35s var(--spring), box-shadow .35s var(--spring); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--spring); }
.btn:hover { transform: translateY(-1px); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn.sm { min-height: 40px; padding: 0 18px; font-size: 14px; line-height: 1.35; }
.btn.soft { background: var(--box); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgba(5, 5, 5, .04); }

/* chip de cristal con la esfera */
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px; background: var(--box); box-shadow: inset 0 0 0 1px var(--line); font-size: var(--t-note); font-weight: 600; color: var(--ink-2); }

/* ---------------------------------------------------------------- héroe */
.hero { position: relative; padding-block: clamp(36px, 6vw, 96px) clamp(56px, 8vw, 120px); overflow: clip; }
.hero-glow { position: absolute; inset: -10% -10% auto auto; width: min(980px, 90vw); aspect-ratio: 1; pointer-events: none;
  background:
    radial-gradient(34% 34% at 56% 44%, rgba(241, 58, 90, .26), transparent 70%),
    radial-gradient(30% 30% at 70% 64%, rgba(240, 107, 200, .22), transparent 70%),
    radial-gradient(28% 28% at 40% 62%, rgba(255, 90, 31, .16), transparent 70%);
  filter: blur(20px); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.hero h1 { font-size: var(--t-hero); letter-spacing: -.045em; line-height: .98; margin-top: 26px; max-width: 11ch; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }
.lead { font-size: var(--t-lead); line-height: 1.45; color: var(--ink-2); max-width: 46ch; text-wrap: pretty; }
.hero .lead { margin-top: 26px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.note { margin-top: 14px; font-size: var(--t-note); color: var(--mute); }
.perks { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 34px 0 0; }
.perks li { display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--box); box-shadow: inset 0 0 0 1px var(--line); font-size: var(--t-note); font-weight: 600; }
.perks .orb { width: 26px; height: 26px; }

.hero-art { position: relative; display: grid; justify-items: center; min-width: 0; padding-block: 24px; }
.hero-phone { --w: clamp(250px, 23vw, 330px); z-index: 2; }
.seal { position: absolute; z-index: 1; top: 0; left: calc(50% + var(--w, 300px) / 2 - 36px); --w: clamp(250px, 23vw, 330px); width: clamp(110px, 11vw, 160px); aspect-ratio: 1; border-radius: 50%; background: var(--sphere); box-shadow: var(--sphere-shadow), 0 30px 60px -20px rgba(241, 58, 90, .5); display: grid; place-items: center; animation: drift 9s ease-in-out infinite; }
.seal svg { width: 34%; height: 34%; fill: #fff; filter: drop-shadow(0 2px 3px rgba(5, 5, 5, .18)); }
.float { position: absolute; z-index: 3; border-radius: 22px; }
.f-count { left: -4%; top: 16%; padding: 14px 18px 15px; display: grid; gap: 2px; animation: drift 8s ease-in-out -2s infinite; }
.f-k { font-size: var(--t-label); font-weight: 600; letter-spacing: .02em; color: var(--ink-2); }
.f-v { font-size: 22px; font-weight: 650; letter-spacing: -.03em; }
.f-v b { font-weight: 750; }
.f-seal { right: -6%; bottom: 14%; display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 999px; animation: drift 10s ease-in-out -5s infinite; }
.f-seal .orb { width: 40px; height: 40px; }
.f-seal span { display: grid; line-height: 1.25; }
.f-seal b { font-size: 15px; font-weight: 650; letter-spacing: -.02em; }
.f-seal small { font-size: var(--t-label); color: var(--ink-2); }
@keyframes drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------------------------------------------------------------- iPhone */
.phone { --w: 300px; position: relative; width: var(--w); aspect-ratio: 418 / 872; padding: calc(var(--w) * .0335); border-radius: calc(var(--w) * .148); background: linear-gradient(150deg, #2E2D2F 0%, #0B0B0C 38%, #1C1B1D 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 0 0 1.5px #C7C1C2, 0 50px 90px -36px rgba(70, 18, 32, .55), 0 18px 30px -18px rgba(0, 0, 0, .4); container-type: inline-size; flex: none; }
.phone::before, .phone::after { content: ""; position: absolute; width: 1%; background: #BEB8B9; }
.phone::before { right: -1%; top: 25%; height: 11%; border-radius: 0 3px 3px 0; }
.phone::after { left: -1%; top: 19%; height: 7%; border-radius: 3px 0 0 3px; box-shadow: 0 calc(var(--w) * .2) 0 #BEB8B9; }
.screen { position: relative; overflow: hidden; width: 100%; height: 100%; border-radius: calc(var(--w) * .1145); background: #EDE9E8; isolation: isolate; }
.screen img, .screen video { width: 100%; height: 100%; object-fit: cover; }
.island { position: absolute; top: 1.3%; left: 50%; width: 32%; height: 4.3%; transform: translateX(-50%); background: #000; border-radius: 999px; z-index: 3; }
.sbar { position: absolute; inset: 0 0 auto 0; height: 5.6%; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: .4% 9% 0 11%; color: #050505; font-size: 4.1cqw; font-weight: 650; letter-spacing: -.01em; pointer-events: none; }
.sbar .ic { display: inline-flex; align-items: center; gap: 1.6cqw; }
.sbar svg { height: 3.2cqw; width: auto; fill: currentColor; }
.home { position: absolute; left: 50%; bottom: .9%; width: 36%; height: .62%; transform: translateX(-50%); border-radius: 999px; background: #050505; z-index: 2; pointer-events: none; }
.phone.on-photo .sbar { color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .35); }
.phone.on-photo .home { background: #fff; }

/* ---------------------------------------------------------------- números que ruedan (como ui/rolling-number.tsx) */
.roll { display: inline-flex; height: 1.1em; line-height: 1.1em; overflow: hidden; vertical-align: -.16em; font-variant-numeric: tabular-nums; }
.roll-d { display: inline-block; width: 1ch; height: 1.1em; overflow: hidden; text-align: center; -webkit-mask-image: linear-gradient(transparent 0, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(transparent 0, #000 12%, #000 88%, transparent 100%); }
.roll-col { display: flex; flex-direction: column; will-change: transform; }
.roll-col > span { display: block; height: 1.1em; }
.roll-col.go { transition: transform 1.6s var(--pop); }

/* entrada del héroe */
.hero-copy > * { animation: rise .9s var(--spring) both; }
.hero-copy > :nth-child(2) { animation-delay: .06s; } .hero-copy > :nth-child(3) { animation-delay: .12s; }
.hero-copy > :nth-child(4) { animation-delay: .18s; } .hero-copy > :nth-child(5) { animation-delay: .22s; } .hero-copy > :nth-child(6) { animation-delay: .26s; }
.hero-art { animation: rise 1.1s var(--spring) .1s both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { max-width: 12ch; }
  .hero-art { margin-top: 8px; }
  .hero-phone { --w: min(66vw, 290px); }
  .f-count { left: 0; top: 10%; }
  .f-seal { right: 0; bottom: 10%; }
  .seal { --w: min(66vw, 290px); width: 84px; top: 3%; left: calc(50% + var(--w) / 2 - 52px); }
  .perks { display: none; }
  .hero .cta { margin-top: 28px; }
  .hero-glow { display: none; }
  .hero-art::before { content: ""; position: absolute; inset: 0 -20%; background: radial-gradient(40% 36% at 50% 46%, rgba(241, 58, 90, .2), transparent 100%), radial-gradient(30% 30% at 64% 66%, rgba(240, 107, 200, .16), transparent 100%); pointer-events: none; }
}
@media (max-width: 520px) {
  .hero .cta .btn { flex: 1 1 auto; padding: 0 20px; }
  .f-v { font-size: 19px; }
  .f-count { padding: 11px 14px 12px; border-radius: 18px; }
  .f-seal { padding: 8px 14px 8px 8px; }
  .f-seal .orb { width: 34px; height: 34px; }
  .f-seal b { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ================================================================ resto de la página (/app y /piloto) */
[id] { scroll-margin-top: 76px; }
.sec { position: relative; padding-block: clamp(64px, 9vw, 128px); overflow: clip; }
.sec.tight { padding-block: clamp(32px, 4vw, 56px); }
.sec-head { display: grid; justify-items: start; max-width: 800px; }
.sec-head.center { justify-items: center; text-align: center; margin-inline: auto; }
.sec-head .lead { margin-top: 18px; }
.h2 { font-size: var(--t-title); letter-spacing: -.04em; line-height: 1.02; margin-top: 22px; }
.h3 { font-size: var(--t-card); letter-spacing: -.02em; line-height: 1.2; }
.box { background: var(--box); border-radius: 28px; box-shadow: inset 0 0 0 1px var(--line); }
.orb.lg { width: 40px; height: 40px; }
.orb.xl { width: 56px; height: 56px; }
.orb.n { font-size: 14px; font-weight: 700; color: #fff; }
.mute { color: var(--mute); }

/* aparecer al bajar (si hay JavaScript) */
@media (scripting: enabled) {
  [data-rise] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--spring), transform .9s var(--spring); }
  [data-rise].in { opacity: 1; transform: none; }
  .steps > :nth-child(2)[data-rise], .also > :nth-child(2)[data-rise], .also > :nth-child(5)[data-rise] { transition-delay: .07s; }
  .steps > :nth-child(3)[data-rise], .also > :nth-child(3)[data-rise], .also > :nth-child(6)[data-rise] { transition-delay: .14s; }
  .also > :nth-child(4)[data-rise], .also > :nth-child(7)[data-rise] { transition-delay: .21s; }
}

/* zona oscura (privacidad y cierre: los únicos bloques oscuros) */
.night { background: var(--night); color: var(--night-fg); }
.night { --t-note: 15px; }
.night .lead, .night p { color: var(--mute-night); }
.night .chip { background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px var(--line-night); color: #E8E3E3; }
.night .btn.soft { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1px var(--line-night); }

/* antes / después */
.vs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); margin-top: clamp(32px, 4vw, 56px); }
.vs-col { padding: clamp(22px, 3vw, 40px); border-radius: 32px; background: var(--box); box-shadow: inset 0 0 0 1px var(--line); }
.vs-col.new { border: 1.5px solid transparent; background: linear-gradient(var(--box), var(--box)) padding-box, var(--grad) border-box; box-shadow: none; }
.vs-col h3 { font-size: var(--t-card); letter-spacing: -.02em; }
.vs-col.old h3 { color: var(--mute); }
.vs-col ul { list-style: none; margin: 18px 0 0; padding: 0; }
.vs-col li { display: flex; align-items: flex-start; gap: 14px; padding-block: 14px; border-top: 1px solid var(--line); font-size: var(--t-body); line-height: 1.4; }
.vs-col.old li { color: var(--ink-2); }
.vs-col .orb { width: 24px; height: 24px; margin-top: -1px; }
.xo { display: grid; place-items: center; flex: none; width: 24px; height: 24px; margin-top: -1px; border-radius: 50%; background: var(--box-2); }
.xo svg { width: 11px; height: 11px; fill: none; stroke: var(--mute); stroke-width: 2.4; stroke-linecap: round; }

/* cómo funciona */
.steps { list-style: none; margin: clamp(32px, 4vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.step { position: relative; display: flex; flex-direction: column; padding: 28px 26px 0; border-radius: 32px; background: var(--box); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.step .orb { margin-bottom: 18px; }
.step h3 { font-size: var(--t-card); letter-spacing: -.02em; }
.step p { margin-top: 8px; font-size: var(--t-note); color: var(--ink-2); max-width: 32ch; }
.step .phone { --w: min(76%, 230px); margin: 28px auto calc(var(--w) * -.62); }

/* funciones */
.feat { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(28px, 6vw, 96px); align-items: center; margin-top: clamp(56px, 8vw, 112px); }
.feat.rev { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
.feat.rev .feat-copy { order: 2; }
.feat-copy h3 { font-size: clamp(26px, 3.1vw, 42px); letter-spacing: -.04em; line-height: 1.04; margin-top: 18px; max-width: 18ch; }
.feat-copy p { margin-top: 16px; font-size: var(--t-lead); line-height: 1.45; color: var(--ink-2); max-width: 44ch; text-wrap: pretty; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 24px 0 0; padding: 0; }
.tags li { padding: 7px 14px; border-radius: 999px; background: var(--box); box-shadow: inset 0 0 0 1px var(--line); font-size: var(--t-note); font-weight: 600; color: var(--ink-2); }
.stage { position: relative; isolation: isolate; container-type: inline-size; display: flex; justify-content: center; align-items: flex-start; gap: clamp(10px, 3cqw, 24px); padding: clamp(28px, 6cqw, 52px) clamp(14px, 4cqw, 40px) 0; border-radius: 40px; background: var(--box); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.stage::before { content: ""; position: absolute; inset: auto -10% -22% -10%; height: 70%; z-index: -1; pointer-events: none; background: radial-gradient(40% 50% at 30% 60%, rgba(241, 58, 90, .16), transparent 100%), radial-gradient(36% 46% at 72% 70%, rgba(240, 107, 200, .14), transparent 100%), radial-gradient(30% 40% at 50% 90%, rgba(255, 90, 31, .1), transparent 100%); }
.stage .phone { --w: min(62cqw, 320px); margin-bottom: calc(var(--w) * -.4); }
.stage.duo .phone { --w: min(44cqw, 264px); }
.stage.duo .phone:last-of-type { margin-top: calc(var(--w) * .2); margin-bottom: calc(var(--w) * -.6); }
.stage .float { z-index: 3; }
.stage .f-a { left: 5%; bottom: 14%; right: auto; top: auto; animation: drift 9s ease-in-out -3s infinite; }
.stage .f-b { right: 5%; top: 14%; left: auto; bottom: auto; animation: drift 8s ease-in-out -1s infinite; }
.sealed-sphere { position: absolute; z-index: 3; right: 7%; top: 7%; width: clamp(84px, 14cqw, 130px); aspect-ratio: 1; border-radius: 50%; background: var(--sphere); box-shadow: var(--sphere-shadow), 0 30px 60px -20px rgba(241, 58, 90, .5); display: grid; place-items: center; animation: drift 9s ease-in-out infinite; }
.sealed-sphere svg { width: 34%; height: 34%; fill: #fff; }

/* y además */
.also { list-style: none; margin: clamp(28px, 3.5vw, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.also li { padding: 22px 22px 26px; border-radius: 26px; background: var(--box); box-shadow: inset 0 0 0 1px var(--line); }
.also h3 { margin-top: 18px; font-size: 17px; letter-spacing: -.02em; line-height: 1.2; }
.also p { margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.and { margin-top: clamp(72px, 9vw, 128px); }

/* para quién */
.who { list-style: none; margin: clamp(32px, 4vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); grid-template-rows: repeat(3, auto); gap: clamp(12px, 1.6vw, 20px); }
.who li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 18px; align-items: start; padding: 22px 24px 24px; border-radius: 28px; background: var(--box); box-shadow: inset 0 0 0 1px var(--line); }
.who li .orb { grid-row: span 2; }
.who h3 { font-size: 19px; letter-spacing: -.025em; line-height: 1.2; align-self: center; }
.who p { grid-column: 2; font-size: var(--t-note); color: var(--ink-2); line-height: 1.5; }
.who .main { grid-row: 1 / span 3; grid-template-columns: 1fr; align-content: end; gap: 12px; padding: clamp(26px, 3.4vw, 44px); border: 1.5px solid transparent; background: linear-gradient(var(--box), var(--box)) padding-box, var(--grad) border-box; box-shadow: none; }
.who .main .orb { grid-row: auto; margin-bottom: clamp(48px, 9vw, 140px); }
.who .main h3 { font-size: clamp(26px, 2.8vw, 38px); letter-spacing: -.04em; }
.who .main p { grid-column: 1; font-size: var(--t-lead); max-width: 34ch; }

/* privacidad */
.priv { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 80px); margin-top: clamp(32px, 4vw, 56px); align-items: start; }
.big { position: relative; padding: clamp(26px, 3.4vw, 44px); border-radius: 32px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line-night); overflow: hidden; }
.big::before { content: ""; position: absolute; inset: auto -20% -40% -20%; height: 80%; pointer-events: none; background: radial-gradient(40% 50% at 50% 70%, rgba(241, 58, 90, .3), transparent 100%), radial-gradient(30% 40% at 72% 80%, rgba(240, 107, 200, .22), transparent 100%); }
.big-n { position: relative; display: flex; align-items: baseline; gap: .12em; font-size: clamp(88px, 12vw, 176px); font-weight: 700; letter-spacing: -.06em; line-height: 1; color: #fff; }
.big-n small { font-size: .22em; font-weight: 600; letter-spacing: -.02em; color: var(--mute-night); }
.big p { position: relative; margin-top: 14px; max-width: 28ch; font-size: var(--t-lead); line-height: 1.4; color: var(--night-fg); }
.priv-list { list-style: none; margin: 0; padding: 0; }
.priv-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 18px; padding-block: 22px; border-top: 1px solid var(--line-night); }
.priv-list li:first-child { border-top: 0; padding-top: 0; }
.priv-list .orb { grid-row: span 2; }
.priv-list h3 { font-size: 19px; letter-spacing: -.025em; align-self: center; }
.priv-list p { grid-column: 2; font-size: var(--t-note); line-height: 1.5; }

/* piloto */
.pil { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); padding: clamp(26px, 4.4vw, 64px); border-radius: 40px; background: var(--box); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; align-items: center; isolation: isolate; }
.pil::before { content: ""; position: absolute; z-index: -1; inset: -30% -10% auto auto; width: 70%; aspect-ratio: 1; pointer-events: none; background: radial-gradient(40% 40% at 60% 50%, rgba(241, 58, 90, .16), transparent 100%), radial-gradient(30% 30% at 40% 60%, rgba(240, 107, 200, .12), transparent 100%); }
.pil .h2 { margin-top: 18px; }
.pil .lead { margin-top: 16px; }
.plazas { display: inline-flex; align-items: baseline; gap: 10px; margin-top: 26px; font-size: clamp(22px, 2.2vw, 30px); font-weight: 650; letter-spacing: -.03em; }
.plazas b { font-weight: 750; font-size: 1.35em; }
.pil .cta { margin-top: 28px; }
.rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.rows li { display: flex; align-items: flex-start; gap: 16px; padding: 18px 20px; border-radius: 24px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: var(--t-body); line-height: 1.45; color: var(--ink-2); }
.rows li b { display: block; margin-bottom: 2px; color: var(--ink); font-weight: 650; letter-spacing: -.015em; }

/* preguntas */
.faq { display: grid; gap: 10px; max-width: 820px; margin: clamp(28px, 3.5vw, 48px) auto 0; }
.faq details { border-radius: 24px; background: var(--box); box-shadow: inset 0 0 0 1px var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 14px 20px 14px 24px; cursor: pointer; list-style: none; font-size: 17px; font-weight: 600; letter-spacing: -.015em; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--box-2); font-size: 20px; font-weight: 500; line-height: 1; color: var(--ink-2); transition: transform .4s var(--spring), background .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--sphere); color: #fff; }
.faq p { padding: 0 24px 22px; max-width: 62ch; color: var(--ink-2); line-height: 1.55; }

/* cierre y pie */
.end { text-align: center; padding-block: clamp(80px, 11vw, 160px); isolation: isolate; }
.end::before { content: ""; position: absolute; z-index: -1; inset: auto -10% -30% -10%; height: 80%; pointer-events: none; background: radial-gradient(34% 44% at 40% 70%, rgba(241, 58, 90, .3), transparent 100%), radial-gradient(28% 40% at 62% 76%, rgba(240, 107, 200, .22), transparent 100%), radial-gradient(24% 34% at 50% 90%, rgba(255, 90, 31, .18), transparent 100%); }
.end .orb { width: clamp(72px, 8vw, 104px); height: clamp(72px, 8vw, 104px); box-shadow: var(--sphere-shadow), 0 30px 60px -20px rgba(241, 58, 90, .55); animation: drift 9s ease-in-out infinite; }
.end h2 { margin: 28px auto 0; font-size: var(--t-hero); letter-spacing: -.045em; line-height: .98; max-width: 12ch; }
.end .lead { margin: 22px auto 0; }
.end .cta { justify-content: center; }
.end .note { color: var(--mute-night); }
.foot { background: var(--night); color: var(--mute-night); border-top: 1px solid var(--line-night); font-size: 15px; padding-block: 26px calc(26px + env(safe-area-inset-bottom, 0px)); }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; }

/* piloto: línea de tiempo con el degradado */
.hero h1.mid { font-size: clamp(40px, 5.4vw, 80px); max-width: 12ch; }
.hero .sub { margin-top: 14px; font-size: var(--t-body); line-height: 1.5; color: var(--ink-2); max-width: 52ch; text-wrap: pretty; }
.cards { list-style: none; margin: clamp(28px, 3.5vw, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.cards li { padding: 24px 24px 28px; border-radius: 28px; background: var(--box); box-shadow: inset 0 0 0 1px var(--line); }
.cards h3 { margin-top: 20px; font-size: 19px; letter-spacing: -.025em; line-height: 1.2; }
.cards p { margin-top: 8px; font-size: var(--t-note); line-height: 1.5; color: var(--ink-2); }
.tl { position: relative; list-style: none; margin: clamp(28px, 3.5vw, 48px) 0 0; padding: 0; }
.tl::before { content: ""; position: absolute; left: 13px; top: 14px; bottom: 14px; width: 2px; border-radius: 2px; background: var(--grad); }
.tl li { position: relative; display: grid; grid-template-columns: 28px minmax(0, 15rem) minmax(0, 1fr); gap: 0 22px; align-items: start; padding-block: 16px; }
.tl .orb { width: 28px; height: 28px; }
.tl b { font-size: 17px; font-weight: 650; letter-spacing: -.02em; line-height: 28px; }
.tl span { color: var(--ink-2); line-height: 1.5; padding-top: 2px; }
.tl.compact li { padding-block: 12px; }

@media (max-width: 960px) {
  .vs, .priv, .pil { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step { padding-bottom: 0; }
  .step .phone { --w: min(60%, 230px); }
  .feat, .feat.rev { grid-template-columns: minmax(0, 1fr); }
  .feat.rev .feat-copy { order: 0; }
  .feat-copy h3, .feat-copy p { max-width: none; }
  .also { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .who { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .who .main { grid-row: auto; }
  .who .main .orb { margin-bottom: 32px; }
  .step .phone { margin-bottom: calc(var(--w) * -.7); }
}
@media (max-width: 640px) {
  .also { grid-template-columns: minmax(0, 1fr); }
  .also li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 16px; padding: 18px 20px; }
  .also .orb { grid-row: span 2; }
  .also h3 { margin-top: 0; align-self: center; }
  .also p { grid-column: 2; margin-top: 2px; }
  .tl li { grid-template-columns: 28px minmax(0, 1fr); gap: 2px 16px; }
  .tl span { grid-column: 2; }
  .stage { border-radius: 32px; }
  .end .cta .btn { flex: 1 1 auto; }
  .faq summary { font-size: 16px; padding-left: 20px; }
  .faq p { padding-inline: 20px; }
  .stage .f-a, .stage .f-b { display: none; }
}
.f-count.low { top: 44%; }
.cards.wide { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
@media (min-width: 961px) { .cards.wide { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.orb.n { font-style: normal; }
.sec.nt { padding-top: 0; }

/* ---------------------------------------------------------------- anclas bajo la barra fija */
[id] { scroll-margin-top: 76px; }
.hero-video, .demo-video { pointer-events: none; }

/* ---------------------------------------------------------------- demo en un iPhone (ordenador) */
.demo-dlg { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; overflow: auto; }
.demo-dlg::backdrop { background: rgba(5, 5, 5, .42); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); }
.demo-dlg[open] { display: grid; place-items: center; }
.demo-box { position: relative; display: grid; grid-template-columns: auto minmax(0, 340px); gap: clamp(28px, 4vw, 64px); align-items: center; margin: 24px; padding: clamp(28px, 3.4vw, 48px); border-radius: 36px; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: var(--glass-filter); backdrop-filter: var(--glass-filter); box-shadow: var(--glass-rim), var(--glass-shadow); animation: rise .5s var(--spring) both; }
.demo-phone { --w: min(300px, calc((100vh - 140px) * 418 / 872)); }
.demo-side h2 { font-size: clamp(26px, 2.4vw, 34px); margin-top: 18px; }
.demo-side p { margin-top: 12px; color: var(--ink-2); }
.demo-side .cta { margin-top: 24px; }
.demo-x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--box-2); color: var(--ink); font: inherit; font-size: 15px; cursor: pointer; }
.demo-x:hover { background: #EFE9E9; }
@media (max-width: 760px) { .demo-box { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; } .demo-side .cta { justify-content: center; } }

/* menú también en el móvil: una fila de píldoras que se desliza bajo la barra */
@media (max-width: 960px) {
  .nav .wrap { flex-wrap: wrap; height: auto; padding-block: 10px 0; row-gap: 6px; }
  .nav .nav-links { display: flex; order: 3; flex: 1 0 100%; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; gap: 2px; font-size: 14px; }
  .nav .nav-links::-webkit-scrollbar { display: none; }
  .nav .nav-links a { white-space: nowrap; min-height: 40px; display: flex; align-items: center; padding: 0 12px; background: var(--box); box-shadow: inset 0 0 0 1px var(--line); }
  .nav .nav-links li + li { margin-left: 4px; }
  [id] { scroll-margin-top: 120px; }
}

/* ================================================================ mejora (18-nov): ritmo, vistas, pasos, cobertura, hover */
/* franjas de caja cálida: las tarjetas pasan a blanco para que se vean */
.sec.warm { background: var(--box); }
.sec.mid { padding-block: clamp(48px, 6vw, 88px); }
.warm .chip, .warm .vs-col, .warm .step, .warm .stage, .warm .also li, .warm .who li, .warm .faq details, .warm .tags li, .warm .cards li, .warm .role, .warm .perks li { background: var(--paper); }
.warm .vs-col.new, .warm .who .main { background: linear-gradient(var(--paper), var(--paper)) padding-box, var(--grad) border-box; }
.warm .tl li { background: none; }
.warm .rows li { background: var(--paper); }
.warm .xo, .warm .faq summary::after { background: var(--box-2); }
.warm .faq details[open] summary::after { background: var(--sphere); }

/* qué ve cada uno */
.roles { list-style: none; margin: clamp(32px, 4vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.role { position: relative; display: flex; flex-direction: column; padding: 26px 24px 0; border-radius: 32px; background: var(--box); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.role-head { display: flex; align-items: center; gap: 14px; min-height: 58px; }
.role-head h3 { font-size: 22px; letter-spacing: -.03em; line-height: 1.1; }
.role-head p { margin-top: 4px; font-size: var(--t-note); line-height: 1.35; color: var(--mute); }
.pts { list-style: none; margin: 20px 0 0; padding: 0; flex: 1; }
.pts li { display: flex; align-items: flex-start; gap: 12px; padding-block: 11px; border-top: 1px solid var(--line); font-size: var(--t-note); line-height: 1.45; color: var(--ink-2); }
.pts .orb { width: 22px; height: 22px; margin-top: 0; }
.role .phone { --w: min(70%, 220px); margin: 22px auto calc(var(--w) * -.5); flex: none; }

/* cómo empieza una planner: cuatro pasos unidos por la línea del degradado */
.path { list-style: none; margin: clamp(32px, 4vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); counter-reset: p; }
.pstep { position: relative; padding-top: 4px; }
.pstep .orb { position: relative; z-index: 1; box-shadow: var(--sphere-shadow-sm), 0 0 0 6px var(--box); }
.pstep::before { content: ""; position: absolute; left: 40px; right: calc(clamp(14px, 2vw, 28px) * -1); top: 24px; height: 2px; border-radius: 2px; background: var(--grad); }
.pstep:last-child::before { display: none; }
.pstep h3 { margin-top: 22px; font-size: var(--t-card); letter-spacing: -.02em; line-height: 1.2; }
.pstep p { margin-top: 8px; font-size: var(--t-note); line-height: 1.5; color: var(--ink-2); max-width: 30ch; }

/* sin cobertura */
.offline { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.offline-copy .h2 { margin-top: 20px; max-width: 14ch; }
.offline-copy .lead { margin-top: 18px; }
.offline-copy .tags { margin-top: 26px; }
.offline-copy .note { margin-top: 18px; max-width: 46ch; }
.stage.air { justify-content: center; padding-top: clamp(100px, 14cqw, 116px); }
.stage.air .phone { --w: min(56cqw, 280px); margin-bottom: calc(var(--w) * -.34); }
.f-air { top: 7%; left: 50%; translate: -50% 0; display: flex; align-items: center; gap: 12px; padding: 9px 20px 9px 9px; border-radius: 999px; white-space: nowrap; animation: none; z-index: 4; }
.f-air .orb { width: 38px; height: 38px; }
.f-air span { display: grid; line-height: 1.25; }
.f-air b { font-size: 15px; font-weight: 650; letter-spacing: -.02em; }
.f-air small { font-size: var(--t-label); color: var(--ink-2); }
.sbar .plane { height: 3.6cqw; width: 3.6cqw; fill: currentColor; }

/* para quién: cifras de la tarjeta de planners */
.who-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: clamp(28px, 5vw, 64px); }
.who-stats > div { display: grid; gap: 6px; align-content: start; padding: 16px 16px 18px; border-radius: 22px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.who-stats b { font-size: clamp(34px, 3.6vw, 52px); font-weight: 700; letter-spacing: -.05em; line-height: 1; }
.who-stats > div > span { font-size: var(--t-note); line-height: 1.35; color: var(--ink-2); }
.who .main .orb { margin-bottom: clamp(20px, 3vw, 36px); }

/* privacidad: lo pequeño, legible */
.night .priv-list p, .night .big p, .night .end .note { color: var(--mute-night); }
.night .priv-list p { font-size: 15px; line-height: 1.55; }
.foot a { padding-block: 6px; }
.foot a { color: #E6E0E1; }

/* hover y foco: sutiles, con el muelle de la app */
@media (hover: hover) {
  .vs-col, .step, .role, .also li, .who li, .cards li, .rows li, .pil, .stage { transition: opacity .9s var(--spring), transform .9s var(--spring), box-shadow .45s var(--spring), translate .45s var(--spring); }
  .step:hover, .role:hover, .also li:hover, .who li:hover, .cards li:hover, .rows li:hover, .vs-col:hover, .who-stats > div:hover { translate: 0 -3px; box-shadow: inset 0 0 0 1px rgba(241, 58, 90, .3), 0 18px 36px -22px rgba(70, 18, 32, .35); }
  .vs-col.new:hover, .who .main:hover { box-shadow: 0 18px 36px -22px rgba(70, 18, 32, .35); }
  .tags li, .perks li, .nav-links a { transition: background-color .3s var(--spring), box-shadow .3s var(--spring), color .3s; }
  .tags li:hover, .perks li:hover { background: var(--paper); box-shadow: inset 0 0 0 1px rgba(241, 58, 90, .4); color: var(--ink); }
  .warm .tags li:hover, .warm .perks li:hover { background: var(--box); }
  .faq details { transition: box-shadow .35s var(--spring), background-color .35s var(--spring); }
  .faq details:hover { box-shadow: inset 0 0 0 1px rgba(241, 58, 90, .3), 0 12px 28px -20px rgba(70, 18, 32, .3); }
  .btn.soft { transition: transform .35s var(--spring), box-shadow .35s var(--spring), background-color .3s; }
  .btn.soft:hover { background: var(--paper); box-shadow: inset 0 0 0 1px rgba(241, 58, 90, .4), 0 8px 18px -10px rgba(70, 18, 32, .25); }
  .night .btn.soft:hover { background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
}
.faq summary { border-radius: 24px; transition: background-color .3s var(--spring); }
.faq summary:focus-visible { outline: 2px solid var(--coral); outline-offset: -3px; }
.faq details[open] { box-shadow: inset 0 0 0 1px rgba(241, 58, 90, .22); }
.tags li:focus-within, .btn:focus-visible { outline-offset: 4px; }
.nav-links a:focus-visible { outline-offset: -2px; }

/* respuestas de la FAQ que se abren con suavidad (donde el navegador lo permite; en el resto, app.js) */
:root { interpolate-size: allow-keywords; }
@supports selector(::details-content) {
  .faq details::details-content { block-size: 0; opacity: 0; overflow: clip; transition: block-size .5s var(--spring), opacity .35s ease, content-visibility .5s allow-discrete; }
  .faq details[open]::details-content { block-size: auto; opacity: 1; }
}

@media (max-width: 1100px) {
  .path { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .pstep:nth-child(2)::before { display: none; }
}
@media (max-width: 960px) {
  .roles { grid-template-columns: minmax(0, 1fr); }
  .role { padding-bottom: 28px; }
  .role .phone { --w: min(60%, 230px); margin: 24px auto 0; }
  /* tres pasos: los iPhones, enteros */
  .step { padding-bottom: 28px; }
  .step .phone { --w: min(62%, 240px); margin: 24px auto 0; }
  .offline { grid-template-columns: minmax(0, 1fr); }
  .offline-copy .h2 { max-width: none; }
  .who-stats { margin-bottom: 28px; }
}
@media (max-width: 640px) {
  .path { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .pstep { padding: 0 0 28px 56px; }
  .pstep .orb { position: absolute; left: 0; top: 0; }
  .pstep h3 { margin-top: 0; line-height: 40px; }
  .pstep::before { left: 19px; right: auto; top: 44px; bottom: 4px; width: 2px; height: auto; }
  .pstep:nth-child(2)::before { display: block; }
  .pstep:last-child { padding-bottom: 0; }
  .stage.air .phone { --w: min(60cqw, 250px); }
  .who-stats { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .who-stats > div { grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 12px; padding: 12px 16px; border-radius: 18px; }
  .who-stats > div > span { font-size: 14px; }
}

/* ================================================================ bloques por público (18-nov): Problema → La app → Resultado */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.blk { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.blk + .blk { margin-top: clamp(72px, 9vw, 128px); }
.blk.rev { grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); }
.blk.rev .blk-copy { order: 2; }
.blk-copy .h2 { font-size: clamp(28px, 3.3vw, 46px); max-width: 16ch; margin-top: 18px; }
.blk-copy .tags { margin-top: 22px; }
.blk-copy .note { margin-top: 14px; }
.blk-copy .lead { margin-top: 16px; }

/* tres pasos visuales, una línea cada uno */
.ptr { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; }
.ptr li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 1px 14px; align-items: center; padding: 14px 18px 14px 14px; border: 1.5px solid transparent; border-radius: 22px; background: var(--box); box-shadow: inset 0 0 0 1px var(--line); }
.ptr li > i { grid-row: span 2; }
.ptr .xo { width: 28px; height: 28px; margin: 0; }
.ptr .k { font-size: var(--t-label); font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--mute); line-height: 1.2; }
.ptr .v { font-size: var(--t-body); line-height: 1.38; color: var(--ink); letter-spacing: -.01em; text-wrap: pretty; }
.ptr .p .v { color: var(--ink-2); }
.ptr .r { background: linear-gradient(var(--box), var(--box)) padding-box, var(--grad) border-box; box-shadow: none; }
.ptr .r .k { color: var(--coral); }
.warm .ptr li { background: var(--paper); }
.warm .ptr .r { background: linear-gradient(var(--paper), var(--paper)) padding-box, var(--grad) border-box; }

/* gráficos dibujados dentro del escenario */
.stage.mix { align-items: center; gap: clamp(10px, 3cqw, 22px); padding-top: clamp(28px, 6cqw, 48px); padding-bottom: 0; }
.stage.mix .phone { --w: min(38cqw, 240px); align-self: flex-end; margin-bottom: calc(var(--w) * -.34); flex: none; }
.stage.mix > .draw, .stage.mix > .draw-col { flex: 1 1 0; min-width: 0; margin-bottom: clamp(24px, 5cqw, 44px); }
.draw { position: relative; z-index: 3; display: grid; gap: 10px; min-width: 0; padding: 16px 18px 18px; border-radius: 24px; }
.draw-col { display: grid; gap: 12px; align-content: center; }
.lab { font-size: var(--t-label); font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--mute); }
.sm:not(.btn) { font-size: 13px; line-height: 1.35; color: var(--ink-2); } /* .btn.sm (botón pequeño) conserva su texto blanco */
.pill-g { display: inline-flex; align-items: center; justify-self: start; min-height: 34px; padding: 0 16px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 14px; font-weight: 700; letter-spacing: -.01em; box-shadow: inset 0 1px .5px rgba(255, 255, 255, .45), 0 8px 16px -10px rgba(241, 58, 90, .9); }
.strike { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.strike li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--mute); text-decoration: line-through; text-decoration-color: rgba(241, 58, 90, .55); }
.strike .xo { width: 22px; height: 22px; margin: 0; }
.down { width: 28px; height: 28px; }
.ring { --p: 46; position: relative; display: grid; place-items: center; flex: none; width: 76px; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(from 0deg, var(--warm), var(--coral) calc(var(--p) * .6%), var(--cool) calc(var(--p) * 1%), var(--box-2) 0); }
.ring::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--paper); }
.ring b { position: relative; font-size: 26px; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.ring.s { width: 56px; }
.ring.s::before { inset: 6px; }
.ring.s b { font-size: 18px; }
.ringrow { display: flex; align-items: center; gap: 14px; }
.ringrow > div:last-child { display: grid; gap: 1px; min-width: 0; }
.big2 { font-size: 17px; font-weight: 650; letter-spacing: -.025em; line-height: 1.15; }
.mini3 { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.mini3 li { display: grid; gap: 2px; padding: 8px 8px 9px; border-radius: 14px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: 11.5px; line-height: 1.25; color: var(--ink-2); }
.mini3 b { font-size: 22px; font-weight: 700; letter-spacing: -.04em; color: var(--ink); line-height: 1; }
.rem { display: grid; gap: 8px; }
.from-to { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.from-to b { font-size: clamp(34px, 4.6cqw, 46px); font-weight: 700; letter-spacing: -.05em; line-height: 1; color: var(--mute); }
.from-to b.g { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.from-to .orb { width: 26px; height: 26px; }
.from-to .sm { flex-basis: 100%; }
.plan { width: 100%; height: auto; display: block; }
.plan .tb { fill: var(--paper); stroke: rgba(5, 5, 5, .16); stroke-width: 1; }
.plan .sf { fill: var(--coral); }
.plan .se { fill: var(--box-2); stroke: rgba(5, 5, 5, .18); stroke-width: 1; }
.plan .tn { font-size: 13px; font-weight: 700; fill: var(--ink); }
.plan .tl2 { font-size: 10.5px; font-weight: 650; fill: var(--ink); }
.plan .tl3 { font-size: 10px; font-weight: 600; fill: var(--mute); }
.dos { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.dos li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 16px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.dos .orb { width: 30px; height: 30px; }
.dos span { display: grid; line-height: 1.25; min-width: 0; }
.dos b { font-size: 14px; font-weight: 650; letter-spacing: -.015em; }
.dos small { font-size: 12px; color: var(--ink-2); }
.dos em { font-style: normal; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--box-2); color: var(--ink-2); white-space: nowrap; }

/* flujo de tres móviles */
.stage.tri { gap: clamp(8px, 2.4cqw, 20px); align-items: flex-start; padding-inline: clamp(10px, 3cqw, 30px); }
.tri .col { display: grid; justify-items: center; gap: 14px; min-width: 0; flex: 1 1 0; }
.stage.tri .phone { --w: min(100%, 210px); margin-bottom: calc(var(--w) * -.5); }
.lbl { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; font-weight: 650; letter-spacing: -.01em; }
.lbl .orb { width: 22px; height: 22px; font-size: 12px; }

/* sin cobertura (una línea) y «Y además» */
.offstrip { display: flex; align-items: center; gap: 16px; margin-top: clamp(40px, 5vw, 64px); padding: 14px 24px 14px 14px; border-radius: 28px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); max-width: 860px; margin-inline: auto; }
.offstrip p { font-size: var(--t-note); line-height: 1.45; color: var(--ink-2); }
.offstrip b { color: var(--ink); font-weight: 650; }
.also .num { display: flex; align-items: baseline; gap: 10px; margin-top: 12px; }
.also .num b { font-size: 40px; font-weight: 700; letter-spacing: -.05em; color: var(--coral); }
.also .num > span { font-size: 13px; color: var(--mute); }
@media (min-width: 961px) { .also.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* quién ve qué */
.permbox { margin-top: clamp(48px, 6vw, 88px); }
.perm-w { margin-top: 16px; overflow-x: auto; border-radius: 24px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.perm { width: 100%; border-collapse: collapse; font-size: 14px; }
.perm th, .perm td { padding: 11px 10px; text-align: center; border-top: 1px solid var(--line); vertical-align: middle; }
.perm thead th { border-top: 0; font-size: 13px; font-weight: 650; letter-spacing: -.01em; color: var(--ink); line-height: 1.2; }
.perm tbody th { text-align: left; font-weight: 600; color: var(--ink); padding-left: 18px; width: 30%; line-height: 1.3; }
.perm .pl { background: rgba(241, 58, 90, .06); }
.perm .orb { width: 22px; height: 22px; }
.perm .no { color: var(--mute); }
.perm .tx { font-size: 12px; font-weight: 600; line-height: 1.25; color: var(--ink-2); }
.permbox .note { margin-top: 12px; }

@media (max-width: 960px) {
  .blk, .blk.rev { grid-template-columns: minmax(0, 1fr); }
  .blk.rev .blk-copy { order: 0; }
  .blk-copy .h2 { max-width: none; }
}
@media (max-width: 640px) {
  .stage.mix { flex-direction: column; align-items: stretch; padding-top: 20px; }
  .stage.mix .phone { --w: min(62cqw, 250px); align-self: center; margin-bottom: calc(var(--w) * -.34); }
  .stage.mix > .draw, .stage.mix > .draw-col { flex: none; margin-bottom: 20px; }
  .stage.tri { flex-direction: row; align-items: flex-start; }
  .ptr li { padding: 12px 14px 12px 12px; }
  .perm th, .perm td { padding: 9px 4px; }
  .perm tbody th { padding-left: 12px; font-size: 13px; }
  .perm thead th { font-size: 12px; }
  .perm .tx { font-size: 11px; }
  .offstrip { border-radius: 24px; padding: 12px 16px 12px 12px; }
}
@media (hover: hover) { .ptr li, .dos li { transition: box-shadow .45s var(--spring), translate .45s var(--spring); } .ptr li:hover { translate: 0 -2px; } }
.stage.mix.wd .phone { --w: min(31cqw, 200px); }
.also .num { margin-top: 16px; }

/* ================================================================ gráficos y movimiento (piezas de la presentación, adaptadas) */
.screen video { pointer-events: none; }
@property --p { syntax: "<number>"; initial-value: 0; inherits: true; }

/* antes → después: lo que hoy está repartido converge en la app (.ba de la presentación) */
.ba { display: grid; grid-template-columns: minmax(0, 1fr) minmax(28px, .5fr) auto; align-items: stretch; gap: 0; }
.ba-from { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; min-width: 0; }
.ba-chip { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 12px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); color: #8E8788; font-size: 13px; font-weight: 550; white-space: nowrap; overflow: hidden; }
.ba-chip svg { width: 16px; height: 16px; flex: none; }
.ba-lines { width: 100%; height: 100%; min-height: 120px; overflow: visible; }
.ba-lines path { fill: none; stroke: var(--coral); stroke-width: 1.6; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; opacity: .75; }
.ba-to { display: grid; align-content: center; justify-items: center; gap: 8px; text-align: center; }
.ba-orb { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--sphere); box-shadow: 0 12px 24px -10px rgba(241, 58, 90, .8); }
.ba-orb svg { width: 24px; height: 24px; fill: #fff; stroke: none; }
.ba-to b { font-size: 12px; line-height: 1.25; font-weight: 650; }

/* flechas discontinuas entre pasos (.mp-flow / .mp-arr de la presentación) */
.mp-arr { flex: 0 0 clamp(18px, 6cqw, 56px); min-width: 14px; height: 14px; align-self: center; margin-top: 8%; overflow: visible; }
.mp-arr path { fill: none; stroke: var(--coral); stroke-width: 1.8; stroke-dasharray: 3 5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.mp-arr path.h { stroke-dasharray: none; stroke-linejoin: round; }

/* conectores entre Problema → La app → Resultado */
.ptr li { position: relative; }
.ptr li + li::before { content: ""; position: absolute; left: 28px; top: -11px; height: 10px; border-left: 1.5px dashed var(--coral); }

@keyframes dashflow { to { stroke-dashoffset: -14; } }
@keyframes pop { from { opacity: 0; transform: scale(.4); } 60% { transform: scale(1.12); } to { opacity: 1; transform: none; } }
@keyframes slidein { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
@keyframes rise2 { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fillring { from { --p: 0; } }
@keyframes seatin { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: none; } }

/* solo cuando el bloque entra en pantalla (.in lo pone app.js); sin JS o sin movimiento se ve el resultado final */
@media (prefers-reduced-motion: no-preference) {
  .in .ba-lines path, .in .mp-arr path:not(.h) { animation: dashflow 1.1s linear infinite; }
  .in .ba-chip { animation: slidein .6s var(--spring) both; }
  .in .ba-chip:nth-child(2) { animation-delay: .1s; } .in .ba-chip:nth-child(3) { animation-delay: .2s; } .in .ba-chip:nth-child(4) { animation-delay: .3s; }
  .in .ba-orb { animation: pop .8s var(--pop) .5s both; }
  .in .ring { animation: fillring 1.6s var(--spring) .2s both; }
  .in .mini3 li { animation: rise2 .6s var(--spring) both; }
  .in .mini3 li:nth-child(1) { animation-delay: .5s; } .in .mini3 li:nth-child(2) { animation-delay: .6s; } .in .mini3 li:nth-child(3) { animation-delay: .7s; }
  .in .rem .pill-g { animation: pop .7s var(--pop) 1s both; }
  .in .plan .sf, .in .plan .se { transform-box: fill-box; transform-origin: center; animation: seatin .35s var(--pop) both; animation-delay: calc(var(--i) * 45ms + .2s); }
  .in .from-to .orb { animation: pop .7s var(--pop) .3s both; }
  .in .dos li { animation: slidein .6s var(--spring) both; }
  .in .dos li:nth-child(2) { animation-delay: .15s; } .in .dos li:nth-child(3) { animation-delay: .3s; }
  .in .dos em { animation: pop .6s var(--pop) .8s both; }
  .in.ptr li, .ptr.in li { animation: rise2 .6s var(--spring) both; }
  .ptr.in li:nth-child(2) { animation-delay: .15s; } .ptr.in li:nth-child(3) { animation-delay: .3s; }
  .in .tri .col, .tri.in .col { animation: rise2 .7s var(--spring) both; }
  .in .tri .col:nth-of-type(2) { animation-delay: .15s; } .in .tri .col:nth-of-type(3) { animation-delay: .3s; }
}
.from-to b.g.roll { background: none; -webkit-text-fill-color: var(--coral); color: var(--coral); }
@media (max-width: 640px) { .also .num { grid-column: 2; margin-top: 6px; } }

/* ================================================================ estilo de la presentación (18-nov): láminas que alternan blanco y negro, fondos vivos, rótulos y gráficos
   Piezas copiadas de presentacion/muestra (.sheet.alive, .eyebrow, .t1-*, .cp6-*, .rv6-*, .nx-mx, .dt) y adaptadas a .sec */
.sec.alive { isolation: isolate; }
.sec.alive::before {
  content: ""; position: absolute; inset: -10% -10%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(34% 30% at 18% 30%, color-mix(in srgb, var(--warm) 13%, transparent) 0%, transparent 70%),
    radial-gradient(30% 34% at 82% 26%, color-mix(in srgb, var(--cool) 13%, transparent) 0%, transparent 70%),
    radial-gradient(40% 32% at 56% 82%, color-mix(in srgb, var(--coral) 11%, transparent) 0%, transparent 70%);
  background-size: 140% 140%, 150% 150%, 130% 130%;
  animation: alive 26s ease-in-out infinite alternate;
}
.sec.alive.night::before { filter: saturate(1.25); background:
    radial-gradient(34% 30% at 18% 30%, color-mix(in srgb, var(--warm) 22%, transparent) 0%, transparent 70%),
    radial-gradient(30% 34% at 82% 26%, color-mix(in srgb, var(--cool) 22%, transparent) 0%, transparent 70%),
    radial-gradient(40% 32% at 56% 82%, color-mix(in srgb, var(--coral) 20%, transparent) 0%, transparent 70%);
  background-size: 140% 140%, 150% 150%, 130% 130%; }
@keyframes alive { 0% { background-position: 0% 0%, 100% 0%, 50% 100%; } 50% { background-position: 60% 40%, 30% 60%, 0% 40%; } 100% { background-position: 100% 100%, 0% 100%, 100% 0%; } }
.night { background: #050505; }
.sec.warm { background: var(--paper); }

/* rótulo (eyebrow) en vez de píldora */
.sec .chip { padding: 0; background: none; box-shadow: none; gap: 9px; font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.sec .chip .orb { width: 18px; height: 18px; background: none; box-shadow: none; }
.sec .chip .orb svg { stroke: var(--coral); stroke-width: 2.2; }
.sec .chip .orb svg:has(use) { fill: var(--coral); stroke: none; }
.night .chip { background: none; box-shadow: none; color: var(--mute-night); }
.night .chip .orb svg:has(use) { fill: var(--coral); }
.warm .chip { background: none; }
.sec .blk-copy .h2, .sec .sec-head .h2 { letter-spacing: -.045em; }
.blk-copy .h2 { font-size: clamp(30px, 3.6vw, 52px); max-width: 17ch; }
.sec-head .h2 { font-size: var(--t-title); max-width: 20ch; }
.sec-head.center .h2 { max-width: none; }

/* lo oscuro: tarjetas y rótulos de las láminas negras */
.night .h2, .night h3 { color: #fff; }
.night .tags li { background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px var(--line-night); color: #fff; }
.night .ptr li { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line-night); }
.night .ptr .r { background: linear-gradient(#17090c, #17090c) padding-box, var(--grad) border-box; box-shadow: none; }
.night .ptr .v { color: #fff; } .night .ptr .p .v { color: var(--mute-night); } .night .ptr .k { color: var(--mute-night); }
.night .ptr .r .k { color: var(--coral); }
.night .ptr .xo { background: rgba(255, 255, 255, .12); } .night .ptr .xo svg { stroke: #fff; }
.night .stage { background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line-night); }
.night .stage::before { background: radial-gradient(40% 50% at 30% 60%, rgba(241, 58, 90, .34), transparent 100%), radial-gradient(36% 46% at 72% 70%, rgba(240, 107, 200, .26), transparent 100%), radial-gradient(30% 40% at 50% 90%, rgba(255, 90, 31, .2), transparent 100%); }
.night .draw, .night .lbl, .night .offstrip { color: var(--ink); }
.night .draw p, .night .lbl, .night .draw .sm { color: var(--ink-2); }
.night .draw .lab { color: var(--mute); }
.night .note { color: var(--mute-night); }
.night .btn.soft { color: #fff; }
.night .rem .sm, .night .from-to .sm { color: var(--ink-2); }
.night .lbl { background: rgba(255, 255, 255, .9); }
.night .pil { background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line-night); }
.night .pil .lead { color: var(--night-fg); }
.night .plazas { color: #fff; }
.night .rows li { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line-night); color: var(--mute-night); }
.night .rows li b { color: #fff; }
.night .cards li { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line-night); }
.night .cards p, .night .tl span { color: var(--mute-night); }
.night .tl b { color: #fff; }
.night .faq details { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line-night); }
.night .faq summary { color: #fff; } .night .faq summary::after { background: rgba(255, 255, 255, .12); color: #fff; }
.night .faq p { color: var(--mute-night); }

/* cierre con el degradado de la lámina «Gracias» */
.end.cl { background: linear-gradient(165deg, var(--coral) 0%, #8E1B36 38%, #1A0509 72%, #050505 100%); color: #fff; }
.end.cl::before { opacity: .55; }
.end.cl .lead, .end.cl .note, .end.cl p { color: rgba(255, 255, 255, .82); }
.end.cl .btn:not(.soft) { background: #fff; color: #1A0509; }
.end.cl .btn.soft { background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); color: #fff; }

/* botones repetidos (Pide tu plaza · Ver la demo) */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 3.4vw, 44px); }
.cta-row.center { justify-content: center; }

/* ---------------------------------------------------------------- recorrido: cada función en un iPhone */
.tour { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 72px); align-items: start; margin-top: clamp(32px, 4vw, 56px); }
.tour-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.tour-tab { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 1px 14px; align-items: center; width: 100%; padding: 7px 12px 7px 7px; border: 0; border-radius: 24px; background: none; text-align: left; cursor: pointer; color: inherit; min-height: 56px; transition: background-color .4s var(--spring), opacity .4s; }
.tour-tab .orb { grid-row: span 2; width: 44px; height: 44px; filter: saturate(.2) brightness(.7); opacity: .6; transition: transform .45s var(--pop), filter .4s, opacity .4s; }
.tour-tab .orb svg { width: 46%; height: 46%; }
.tour-tab b { font-size: var(--t-card); font-weight: 650; letter-spacing: -.02em; line-height: 1.2; color: var(--mute-night); transition: color .3s; }
.tour-tab small { font-size: var(--t-note); line-height: 1.35; color: var(--mute-night); opacity: .75; }
.tour-tab:hover b { color: #fff; }
.tour-tab[aria-selected="true"] { background: rgba(255, 255, 255, .07); }
.tour-tab[aria-selected="true"] .orb { filter: none; opacity: 1; transform: scale(1.1); box-shadow: 0 10px 24px -10px rgba(241, 58, 90, .7); }
.tour-tab[aria-selected="true"] b { color: #fff; }
.tour-tab[aria-selected="true"] small { opacity: 1; color: var(--night-fg); }
.tour-tab:focus-visible { outline-offset: -2px; }
.tour-stage { position: sticky; top: 92px; display: grid; justify-items: center; padding-block: 8px 0; }
.tour-stage::before { content: ""; position: absolute; inset: 6% -6% 0; z-index: -1; pointer-events: none; background: radial-gradient(46% 50% at 50% 46%, rgba(241, 58, 90, .32), transparent 100%), radial-gradient(30% 36% at 70% 66%, rgba(240, 107, 200, .28), transparent 100%), radial-gradient(26% 32% at 30% 70%, rgba(255, 90, 31, .2), transparent 100%); filter: blur(10px); }
.tour-phone { --w: clamp(240px, 24vw, 310px); margin-bottom: 0; }
.tour-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; visibility: hidden; transform: scale(1.025); transition: opacity .55s var(--spring), transform .8s var(--spring), visibility 0s .55s; }
.tour-img.on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.tour-tag { left: auto; right: 0; top: 14%; display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 999px; color: var(--ink); animation: drift 9s ease-in-out -3s infinite; }
.tour-tag .orb { width: 38px; height: 38px; }
.tour-tag span { display: grid; line-height: 1.25; }
.tour-tag b { font-size: 15px; font-weight: 650; letter-spacing: -.02em; color: var(--ink); }
.tour-tag small { font-size: var(--t-label); color: var(--ink-2); }
.tour-cap { display: none; }
/* 18-nov: las 24 funciones en 4 grupos + rejilla de tarjetas, en vez de una columna larga */
.tour-side { display: grid; gap: 18px; align-content: start; min-width: 0; }
.tour-grp { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line-night); width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tour-grp::-webkit-scrollbar { display: none; }
.tour-grp button { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 18px; border: 0; border-radius: 999px; background: none; color: var(--mute-night); font: 650 15px var(--font); letter-spacing: -.01em; cursor: pointer; transition: background-color .35s var(--spring), color .3s; }
.tour-grp button small { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(255, 255, 255, .1); color: inherit; }
.tour-grp button:hover { color: #fff; }
.tour-grp button[aria-pressed="true"] { color: #fff; background: var(--grad); box-shadow: 0 10px 24px -12px rgba(241, 58, 90, .8); }
.tour-grp button[aria-pressed="true"] small { background: rgba(255, 255, 255, .25); }
.tour-side .tour-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tour-side .tour-list li[hidden] { display: none; }
.tour-side .tour-tab { min-height: 72px; padding: 10px 14px 10px 10px; border-radius: 22px; background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px var(--line-night); }
.tour-side .tour-tab small { display: none; }
.tour-side .tour-tab[aria-selected="true"] { background: rgba(255, 255, 255, .09); box-shadow: inset 0 0 0 1.5px rgba(241, 58, 90, .7); }
.tour-side + .tour-stage .tour-cap { display: grid; justify-items: center; gap: 4px; margin-top: 22px; text-align: center; max-width: 34ch; }
.tour-side + .tour-stage .tour-cap b { font-size: var(--t-card); color: #fff; letter-spacing: -.02em; }
.tour-side + .tour-stage .tour-cap span { font-size: var(--t-note); color: var(--mute-night); line-height: 1.4; }
@media (prefers-reduced-motion: no-preference) { .tour-side .tour-list li:not([hidden]) { animation: rise .45s var(--spring) both; } }
.sec .lupa-btn { top: 10%; right: calc(var(--w) * -.06); }
.phone[data-lupa] .screen { cursor: zoom-in; }
.lupa-btn { position: absolute; z-index: 6; width: 44px; height: 44px; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: zoom-in; color: var(--coral); background: color-mix(in srgb, var(--paper) 90%, transparent); -webkit-backdrop-filter: blur(14px) saturate(1.6); backdrop-filter: blur(14px) saturate(1.6); box-shadow: 0 0 0 1px var(--line), 0 12px 26px -12px rgba(60, 20, 30, .45); transition: transform .4s var(--pop); }
.lupa-btn:hover { transform: scale(1.08); }
.lupa-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.lupa-btn::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; box-shadow: 0 0 0 2px var(--coral); opacity: 0; animation: lupa-ping 3.2s var(--spring) 1.2s infinite; }
@keyframes lupa-ping { 0% { opacity: .5; transform: scale(.8); } 60%, 100% { opacity: 0; transform: scale(1.35); } }
dialog.lupa { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; overflow: hidden; }
dialog.lupa[open] { display: grid; place-items: center; }
dialog.lupa::backdrop { background: rgba(5, 5, 5, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
dialog.lupa .phone { --w: min(86vw, calc((100dvh - 110px) * 418 / 872), 420px); cursor: zoom-out; animation: rise .5s var(--spring) both; }
.lupa-x { position: fixed; z-index: 2; top: max(16px, env(safe-area-inset-top, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; font: 600 14px var(--font); color: var(--ink); background: var(--paper); cursor: pointer; }
.lupa-cap { position: fixed; left: 50%; bottom: max(14px, env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); margin: 0; font-size: var(--t-note); color: var(--night-fg); white-space: nowrap; }

/* ---------------------------------------------------------------- antes → ahora: cinco quebraderos que desaparecen */
.fix { list-style: none; margin: clamp(32px, 4vw, 56px) 0 0; padding: 0; display: grid; gap: 12px; }
.fix li { display: grid; grid-template-columns: minmax(0, 5fr) 36px minmax(0, 7fr); gap: clamp(8px, 1.4vw, 20px); align-items: center; }
.fix .old, .fix .new { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 9px 20px 9px 9px; border-radius: 999px; min-width: 0; }
.fix .old { background: var(--box); box-shadow: inset 0 0 0 1px var(--line); color: var(--mute); font-weight: 600; }
.fix .old b { font-weight: 600; text-decoration: line-through; text-decoration-color: rgba(241, 58, 90, .6); }
.fix .old .xo { width: 44px; height: 44px; margin: 0; background: var(--box-2); }
.fix .old .xo svg { width: 18px; height: 18px; }
.fix .new { border-radius: 28px; background: var(--paper); border: 1.5px solid transparent; background: linear-gradient(var(--paper), var(--paper)) padding-box, var(--grad) border-box; color: var(--ink-2); font-size: var(--t-body); line-height: 1.4; }
.fix .new b { display: block; font-size: var(--t-card); color: var(--ink); letter-spacing: -.02em; line-height: 1.2; }
.fix .new .orb { width: 44px; height: 44px; }
.fix .new .orb svg { width: 46%; height: 46%; }
.fix .arr { width: 36px; height: 14px; overflow: visible; }
.fix .arr path { fill: none; stroke: var(--coral); stroke-width: 1.8; stroke-dasharray: 3 5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.fix .arr path.h { stroke-dasharray: none; stroke-linejoin: round; }
.fix-h { display: grid; grid-template-columns: minmax(0, 5fr) 36px minmax(0, 7fr); gap: clamp(8px, 1.4vw, 20px); margin: clamp(32px, 4vw, 48px) 0 -12px; font-size: var(--t-label); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.fix-h span:last-child { color: var(--coral); grid-column: 3; }
.fix-h span:first-child { padding-left: 20px; }
@media (prefers-reduced-motion: no-preference) {
  .fix.in .arr path:not(.h) { animation: dashflow 1.1s linear infinite; }
  .fix.in li { animation: rise2 .7s var(--spring) both; }
  .fix.in li:nth-child(2) { animation-delay: .12s; } .fix.in li:nth-child(3) { animation-delay: .24s; } .fix.in li:nth-child(4) { animation-delay: .36s; } .fix.in li:nth-child(5) { animation-delay: .48s; }
}

/* ---------------------------------------------------------------- láminas con texto a un lado y gráfico al otro (.t1 de la presentación) */
.t1 { margin-top: clamp(28px, 3.4vw, 52px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.t1-copy { padding-top: clamp(0px, 2vw, 24px); }
.t1-copy { display: grid; gap: clamp(16px, 2vw, 26px); align-content: center; justify-items: start; min-width: 0; }
.t1-lead { margin: 0; font-size: var(--t-lead); line-height: 1.45; color: var(--ink); max-width: 34ch; text-wrap: pretty; }
.night .t1-lead { color: var(--night-fg); }
.t1-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.t1-steps li { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 14px; align-items: center; }
.t1-steps b { font-size: var(--t-card); font-weight: 650; letter-spacing: -.02em; }
.t1-steps small { grid-column: 2; font-size: var(--t-note); color: var(--mute); }
.night .t1-steps b { color: #fff; } .night .t1-steps small { color: var(--mute-night); }
.t1-orb { grid-row: span 2; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); box-shadow: 0 10px 24px -10px rgba(241, 58, 90, .6); transition: transform .45s var(--pop); flex: none; }
.t1-orb svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.t1-chips { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.t1-chips li { min-height: 40px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; font-size: var(--t-note); font-weight: 600; background: var(--box); box-shadow: inset 0 0 0 1px var(--line); }
.night .t1-chips li { color: #fff; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.t1 .note { margin: 0; }

/* 7 apps → 1 (competencia, A nueva) */
.cp6-stage { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: clamp(12px, 1.6vw, 24px); align-items: center; }
.cp6-col { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; min-width: 0; }
.cp6-tile { position: relative; z-index: 2; min-width: 0; display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 10px; align-items: center; padding: 8px 12px 8px 8px; border-radius: 20px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); transition: transform .75s var(--spring), opacity .5s; }
.cp6-tile .t1-orb { grid-row: span 2; width: 34px; height: 34px; background: rgba(255, 255, 255, .14); box-shadow: none; }
.cp6-tile .t1-orb svg { width: 17px; height: 17px; stroke-width: 1.9; }
.cp6-tile b { font-size: var(--t-note); font-weight: 650; line-height: 1.15; color: #fff; }
.cp6-tile small { font-size: 12px; color: var(--mute-night); line-height: 1.2; }
.cp6-tile.fly { transform: translate(var(--dx, 0), var(--dy, 0)) scale(.12); opacity: 0; }
.cp6-mid { display: grid; justify-items: center; gap: 12px; }
.cp6-phone.phone { --w: clamp(170px, 14vw, 230px); }
.cp6-mid.pulse .cp6-phone { animation: beat .9s var(--spring) both; }
@keyframes beat { 0% { transform: scale(1); } 40% { transform: scale(1.06); } 100% { transform: scale(1); } }
.cp6-count { margin: 0; font-size: var(--t-card); font-weight: 650; white-space: nowrap; color: #fff; }
.night .cp6-count { color: #fff; }
.cp6-count b { font-size: 1.7em; font-weight: 750; font-variant-numeric: tabular-nums; }
.cp6-to { color: var(--coral); transition: opacity .4s; }
.cp6.run .cp6-to { opacity: 0; } .cp6.run .cp6-to.on { opacity: 1; }
.cp6-tag { margin: 0; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px 0 8px; border-radius: 999px; background: var(--grad); color: #fff; font-size: var(--t-note); font-weight: 700; }
.cp6-tag svg { width: 24px; height: 24px; fill: #fff; }
.night .cp6-tag { color: #fff; }

/* tabla frente a los demás (.nx-mx + .rv6) */
.nx-mx { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); border-radius: 22px; background: var(--box); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.nx-mx > * { padding: 11px 8px; border-top: 1px solid var(--line); display: grid; place-items: center; text-align: center; min-width: 0; font-size: var(--t-note); }
.nx-mx > .l { justify-items: start; text-align: left; padding-left: 16px; font-weight: 600; }
.nx-mx > .hd { border-top: 0; font-weight: 700; font-size: var(--t-label); padding-block: 14px; }
.nx-mx > .me { background: rgba(241, 58, 90, .07); }
.nx-mx > .hd.me { color: var(--coral); }
.dt { width: 18px; height: 18px; border-radius: 50%; display: block; }
.dt.y { background: var(--grad); }
.dt.p { background: linear-gradient(90deg, var(--coral) 50%, transparent 50%); box-shadow: inset 0 0 0 2px var(--coral); }
.dt.u { width: 12px; height: 2px; border-radius: 2px; background: #CFC9C9; }
.dt.w { box-sizing: border-box; background: linear-gradient(90deg, var(--coral) 50%, transparent 50%); border: 2px dashed var(--coral); }
.nx-key { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: var(--t-label); color: var(--mute); }
.nx-key span { display: inline-flex; align-items: center; gap: 7px; }
.nx-key .dt { width: 12px; height: 12px; } .nx-key .dt.u { width: 10px; height: 2px; }
.rv6-stage { min-width: 0; }
.rv6-mx { grid-template-columns: minmax(0, 1.7fr) repeat(4, minmax(0, 1fr)); }
.rv6-mx > * { padding-block: 7px; }
.rv6-mx > .hd { font-size: 11.5px; letter-spacing: .02em; }
.rv6-mx > .rv6-tl, .rv6-mx > .rv6-t { border-top: 1.5px solid var(--line); padding-block: 12px; }
.rv6-t { display: grid; justify-items: center; gap: 0; }
.rv6-t b { font-size: clamp(20px, 1.9vw, 28px); font-weight: 750; line-height: 1; font-variant-numeric: tabular-nums; color: var(--mute); }
.rv6-t small { font-size: 10.5px; color: var(--mute); }
.rv6-mx > .me.rv6-t b { color: var(--coral); transition: transform .3s var(--pop); }
.rv6-mx > .me.rv6-t.pop b { transform: scale(1.22); }
.rv6.run .rv6-mx > :not(.hd):not(.on) { opacity: .25; }
.rv6.run .rv6-mx > :not(.hd):not(.on) .dt { transform: scale(.3); }
.rv6-mx > :not(.hd) { transition: opacity .35s; }
.rv6-mx .dt { transition: transform .5s var(--pop); }
.rv6-src { margin-top: 10px; font-size: var(--t-label); color: var(--mute); line-height: 1.45; max-width: 62ch; }

/* cifras de la boda de ejemplo */
.stats { list-style: none; margin: clamp(32px, 4vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.stats li { position: relative; padding: 22px 24px 24px; border-radius: 28px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line-night); overflow: hidden; }
.stats li::after { content: ""; position: absolute; inset: auto -20% -60% -20%; height: 90%; pointer-events: none; background: radial-gradient(40% 50% at 50% 70%, rgba(241, 58, 90, .22), transparent 100%); }
.stats b { position: relative; display: block; font-size: clamp(48px, 5.4vw, 80px); font-weight: 700; letter-spacing: -.055em; line-height: 1; color: #fff; }
.stats b .of { font-size: .4em; letter-spacing: -.02em; color: var(--mute-night); font-weight: 600; margin-left: .15em; }
.stats li > span { position: relative; display: block; margin-top: 10px; font-size: var(--t-card); font-weight: 650; letter-spacing: -.02em; color: #fff; }
.stats li > small { position: relative; display: block; margin-top: 2px; font-size: var(--t-note); color: var(--mute-night); line-height: 1.4; }
.stats b.roll { display: inline-flex; }

@media (max-width: 960px) {
  .tour { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .tour-list { display: flex; overflow-x: auto; gap: 8px; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 6px; scroll-snap-type: x proximity; order: 0; }
  .tour-list::-webkit-scrollbar { display: none; }
  .tour-list li { flex: none; scroll-snap-align: center; }
  .tour-side { gap: 12px; }
  .tour-grp { width: 100%; gap: 2px; padding: 4px; }
  .tour-grp button { flex: 1 1 auto; justify-content: center; padding: 0 8px; font-size: 14px; }
  .tour-grp button small { display: none; }
  .tour-side .tour-list { display: flex; }
  .tour-side .tour-tab { min-height: 48px; padding: 4px 18px 4px 4px; border-radius: 999px; }
  .tour-tab { display: flex; align-items: center; gap: 10px; width: auto; min-height: 48px; padding: 4px 18px 4px 4px; border-radius: 999px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px var(--line-night); white-space: nowrap; }
  .tour-tab .orb { width: 40px; height: 40px; }
  .tour-tab b { font-size: 15px; }
  .tour-tab small { display: none; }
  .tour-tab[aria-selected="true"] { background: rgba(255, 255, 255, .16); }
  .tour-stage { position: relative; top: 0; }
  .tour-tag { display: none; }
  .tour-cap { display: grid; justify-items: center; gap: 4px; margin-top: 22px; text-align: center; max-width: 34ch; }
  .tour-cap b { font-size: var(--t-card); color: #fff; letter-spacing: -.02em; }
  .tour-cap span { font-size: var(--t-note); color: var(--mute-night); line-height: 1.4; }
  .tour-phone { --w: min(64vw, 280px); }
  .t1 { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sec .lupa-btn { right: -8px; }
}
@media (max-width: 699px) {
  .cp6-stage { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cp6-mid { grid-column: 1 / -1; grid-row: 1; }
  .cp6-tile { grid-template-columns: 28px minmax(0, 1fr); padding: 6px 8px 6px 6px; column-gap: 8px; }
  .cp6-tile .t1-orb { width: 28px; height: 28px; }
  .cp6-tile small { font-size: 10.5px; }
  .rv6-t b { font-size: 18px; } .rv6-t small { font-size: 8.5px; }
  .nx-mx > * { padding: 9px 3px; font-size: 12px; } .nx-mx > .l { padding-left: 10px; }
  .fix li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .fix .arr { transform: rotate(90deg); margin: 0 0 0 22px; }
  .fix .new { border-radius: 24px; }
  .fix-h { display: none; }
  .stats { gap: 10px; }
  .stats li { padding: 16px 16px 18px; border-radius: 22px; }
  .stats li > span { font-size: 15px; }
  .stats li > small { font-size: 12.5px; }
}
@media (max-width: 1180px) and (min-width: 961px) { .nav-links { font-size: 13px; } .nav-links a { padding: 8px 8px; } }
@media (prefers-reduced-motion: reduce) {
  .sec.alive::before { animation: none; }
  .tour-tag, .lupa-btn::after { animation: none; }
}
.sec:not(.night) .stats li { background: var(--box); box-shadow: inset 0 0 0 1px var(--line); }
.sec:not(.night) .stats b, .sec:not(.night) .stats li > span { color: var(--ink); }
.sec:not(.night) .stats b .of, .sec:not(.night) .stats li > small { color: var(--mute); }
.sec:not(.night) .stats li::after { background: radial-gradient(40% 50% at 50% 70%, rgba(241, 58, 90, .12), transparent 100%); }
.sec:not(.night) .stats b.roll, .sec:not(.night) .stats .roll { color: var(--ink); }
.nav .wrap { max-width: 1360px; }
.nav .btn.sm { white-space: nowrap; flex: none; }
.sec .chip .orb svg, .sec .chip .orb svg:has(use) { width: 18px; height: 18px; }
.tour-tag { top: auto; bottom: 16%; right: -3%; }
@media (max-width: 1180px) and (min-width: 961px) { .nav-links { font-size: 13px; } .nav-links a { padding: 8px 7px; } }
@media (max-width: 699px) {
  .rv6-mx { grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); }
  .rv6-mx > .hd { font-size: 9.5px; letter-spacing: 0; padding-inline: 1px; }
  .rv6-mx > .l { font-size: 11.5px; line-height: 1.25; }
  .rv6-mx .dt.y, .rv6-mx .dt.p, .rv6-mx .dt.w { width: 16px; height: 16px; }
}
@media (max-width: 1120px) and (min-width: 961px) { .nav-links li:nth-child(4), .nav-links li:nth-child(6), .nav-links li:nth-child(10) { display: none; } }

} /* fin @layer app */
