/* =========================================================
   letsgodrop · las piezas de cada paso (acciones, prompts, tu producto,
   calculadoras, resultados, opciones, anuncios…). Mismo lenguaje que base.css:
   dentro de un paso, los acentos salen del color de su fase (--h1, --h2, --hc).
   ========================================================= */

/* ====== Composiciones extra ====== */
.lay--demo { grid-template-columns: minmax(270px, 340px) minmax(0, 1fr); }
.lay--demo-w { grid-template-columns: minmax(300px, 390px) minmax(0, 1fr); }
.lay--ads { grid-template-columns: minmax(0, 1fr) minmax(250px, 330px); }
.lay--phone { grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; }
.btns { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.lead-sm { margin: 0; font-size: 16.5px; line-height: 1.5; letter-spacing: -0.016em; color: var(--ink-soft); }
.lead-sm b { color: var(--ink); font-weight: 620; }
.note--top { margin-top: 22px; }
.link--ic { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 550; color: var(--brand-ink); text-decoration: none; }
.link--ic .ic { width: 22px; height: 22px; padding: 5px; border-radius: 50%; color: #fff; background: var(--brand); }
.link--ic:hover { text-decoration: underline; text-underline-offset: 3px; }
kbd {
  display: inline-block; min-width: 24px; padding: 2px 7px; border-radius: 7px; border: 1px solid var(--line-strong); border-bottom-width: 2px;
  font-family: var(--font-sans); font-size: 12.5px; font-weight: 600; color: var(--ink); background: var(--card); text-align: center;
}

/* ====== Visuales (maqueta + su pie) ====== */
.vis { margin: 0; display: grid; gap: 14px; min-width: 0; }
/* Texto seguido (no flex: con flex, cada trozo y cada negrita iban sueltos y salía «Modo privado :») */
.vis__cap { display: block; margin: 0; font-size: 14.5px; color: var(--ink-soft); line-height: 1.45; letter-spacing: -0.012em; }
.vis__cap .kicker {
  display: inline-flex; align-items: center; height: 24px; margin: 0 10px 0 0; padding: 0 10px; border-radius: 999px; vertical-align: 1px;
  font-size: 12.5px; font-weight: 650; color: var(--hc); background: color-mix(in srgb, var(--hc) 12%, transparent);
}
.vis__cap b { color: var(--ink); font-weight: 620; }

/* ====== Tarjeta de una web de fuera (Shopify, el proveedor) ====== */
.ext { display: grid; gap: 18px; }
.ext__top { display: flex; align-items: center; gap: 14px; }
.ext__logo { width: 54px; height: 54px; flex: none; padding: 9px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.07), 0 8px 18px -10px rgba(0, 0, 0, 0.35); }
.ext__name { margin: 0 0 3px; font-size: 19px; font-weight: 700; letter-spacing: -0.03em; }
.ext__d { margin: 0; font-size: 14.5px; color: var(--ink-soft); line-height: 1.42; }
.ext__price { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 14.5px; color: var(--ink-soft); }
.ext__price b { color: var(--ink); font-size: 17px; letter-spacing: -0.02em; }

/* ====== Línea de tiempo (1.2): tres nodos unidos ====== */
.tl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; position: relative; }
.tl__i { position: relative; display: grid; gap: 3px; padding: 18px 16px 16px; border-radius: 22px; background: var(--card); border: 1px solid var(--line-2); box-shadow: var(--shadow-sm); }
:root[data-theme="dark"] .tl__i { border-color: var(--line); }
.tl__i:not(:last-child)::after {
  content: ''; position: absolute; top: 31px; right: -13px; width: 14px; height: 2px; z-index: 1;
  background: color-mix(in srgb, var(--hc) 40%, transparent); border-radius: 2px;
}
.tl__i:first-child { color: #fff; border-color: transparent; background: var(--h2); box-shadow: 0 16px 30px -18px var(--h2); }
.tl__n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 8px; font-size: 12.5px; font-weight: 700; color: var(--hc); background: color-mix(in srgb, var(--hc) 13%, transparent); }
.tl__i:first-child .tl__n { color: #fff; background: rgba(255, 255, 255, 0.25); }
.tl__i b { font-size: 21px; font-weight: 720; letter-spacing: -0.035em; line-height: 1.1; }
.tl__i span:last-child { font-size: 13.5px; color: var(--ink-soft); }
.tl__i:first-child span:last-child { color: rgba(255, 255, 255, 0.85); }

/* ====== Archivo para descargar (2.2) ====== */
.file { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 14px 14px 16px; }
.file__ic {
  display: grid; place-items: center; width: 46px; height: 56px; border-radius: 12px; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 0.04em;
  background: var(--h2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22), 0 6px 14px -8px var(--h2);
  clip-path: polygon(0 0, 72% 0, 100% 22%, 100% 100%, 0 100%);
}
.file__name { margin: 0; font-size: 15.5px; font-weight: 650; letter-spacing: -0.02em; }
.file__meta { margin: 2px 0 0; font-size: 13px; color: var(--ink-muted); }

/* ====== Bloques numerados (2.3, 2.5) ====== */
.block { display: grid; gap: 12px; }
.block__k { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 15.5px; font-weight: 650; letter-spacing: -0.02em; color: var(--ink); }
.block__k small { font-weight: 400; color: var(--ink-muted); font-size: 13.5px; letter-spacing: -0.01em; }
.block__n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: 13px; font-weight: 700; color: var(--hc); background: color-mix(in srgb, var(--hc) 13%, transparent); flex: none; }
.note__claude { display: grid; place-items: center; width: 30px; height: 30px; flex: none; margin-top: -3px; border-radius: 10px; background: #d9643f; }
.note__claude .claude-logo { width: 16px; height: 16px; margin: 0; color: #fff; }

/* 2.3 · Las categorías van a lo ancho, encima de la demo: caben en dos líneas */
.block--wide { margin: 0 0 26px; max-width: 1080px; }
.pills--compact { gap: 8px; }
.pills--compact .pill { height: 34px; padding: 0 14px; font-size: 14px; }
/* Píldoras de categorías y de ángulos */
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  height: 36px; padding: 0 15px; border-radius: 999px; border: 0; background: var(--fill-2);
  font-size: 14px; font-weight: 550; letter-spacing: -0.012em; color: var(--ink-2); cursor: pointer;
  transition: background .2s var(--ease-soft), color .2s, transform .4s var(--ease-spring), box-shadow .3s;
}
.pill:hover { background: var(--fill); color: var(--ink); }
.pill:active { transform: scale(0.95); }
.pill[aria-pressed="true"] { color: #fff; background: var(--h2); box-shadow: 0 4px 12px -6px var(--h2); }
.pill--all[aria-pressed="false"] { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-strong); }

/* ====== El prompt: lo tuyo resaltado, lo que falta subrayado ====== */
.prompt { border-radius: 22px; background: var(--code); border: 1px solid var(--line-2); overflow: hidden; }
:root[data-theme="dark"] .prompt { border-color: var(--line); }
.prompt__text {
  margin: 0; padding: 16px 18px 14px; font-family: var(--font-mono); font-size: 13.5px; line-height: 1.7; color: var(--ink-2);
  white-space: pre-wrap; word-break: break-word; max-height: 220px; overflow-y: auto; letter-spacing: 0;
}
.prompt__text .fill { color: var(--hc); background: color-mix(in srgb, var(--hc) 11%, transparent); border-radius: 6px; padding: 1px 4px; font-weight: 500; }
.prompt__text .miss { color: var(--ink-muted); text-decoration: underline dashed rgba(var(--c), 0.35); text-underline-offset: 3px; }
.prompt__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 10px 10px 16px; border-top: 1px solid var(--line-2); background: var(--card); }
:root[data-theme="dark"] .prompt__bar { background: rgba(255, 255, 255, 0.02); border-color: var(--line); }
.prompt__bar .btn { margin-left: auto; }
.prompt__sp { flex: 1; }
.prompt__key { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; }
.prompt__key .ic { width: 16px; height: 16px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px; border-radius: 999px; background: var(--fill-2); font-size: 12.5px; font-weight: 550; color: var(--ink-soft); white-space: nowrap; }

/* ====== Diagrama corto: quién hace qué (nodos unidos por una línea con un punto que viaja) ====== */
.mflow { display: flex; align-items: flex-start; padding: 18px 14px 14px; border-radius: 22px; background: var(--fill-2); }
.mflow__n { display: grid; justify-items: center; gap: 4px; flex: none; min-width: 74px; text-align: center; line-height: 1.2; }
.mflow__n .gi, .mflow__n .logo-tile { --s: 42px; margin-bottom: 4px; }
.mflow__n b { font-size: 13.5px; font-weight: 650; letter-spacing: -0.02em; }
.mflow__n small { font-size: 12px; color: var(--ink-muted); }
.mflow__l { position: relative; flex: 1; min-width: 16px; height: 2px; margin: 20px 2px 0; background-image: radial-gradient(circle, var(--line-strong) 1.2px, transparent 1.6px); background-size: 7px 2px; background-repeat: repeat-x; }
.mflow__l i { position: absolute; top: 50%; left: 0; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--hc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--hc) 18%, transparent), 0 0 10px var(--hc); animation: diaDot 2.4s var(--ease-soft) infinite; }
.mflow__l:nth-of-type(4) i { animation-delay: 1.2s; }

/* ====== Lista de pasos que va con la demo ====== */
.do--sync > li { cursor: pointer; padding: 8px 10px 8px 8px; margin: -4px 0; border-radius: 18px; transition: background .25s var(--ease-soft), color .25s; }
.do--sync > li:hover { background: var(--fill-2); color: var(--ink); }
.do--sync > li.is-cur { background: color-mix(in srgb, var(--hc) 9%, transparent); color: var(--ink); }
.do--sync > li.is-cur::before { color: #fff; background: var(--h2); transform: scale(1.06); }

/* ====== Verificar (tienda, clave) ====== */
.verify { display: grid; gap: 9px; margin-top: 12px; }
.verify__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.verify__row .btn { height: 50px; }
.verify__msg { display: flex; align-items: flex-start; gap: 8px; margin: 0; min-height: 20px; font-size: 14px; color: var(--ink-muted); line-height: 1.45; }
.verify__msg .ic { width: 17px; height: 17px; margin-top: 1px; }
.verify[data-st="ok"] .verify__msg { color: var(--ok); }
.verify[data-st="ok"] .fld__box { border-color: color-mix(in srgb, var(--ok-fill) 60%, transparent); background: var(--card); }
.verify[data-st="bad"] .verify__msg { color: var(--danger-text); }
.verify[data-st="bad"] .fld__box { border-color: rgba(255, 59, 48, 0.55); background: var(--card); }
.verify[data-st="wait"] .verify__msg { color: var(--ink-soft); }

/* ====== Tu producto (2.4) y su versión fija ====== */
.inv { display: grid; gap: 12px; }
.inv__empty { display: grid; justify-items: center; text-align: center; gap: 12px; padding: 40px 28px; border: 2px dashed var(--line-strong); box-shadow: none; background: var(--card-2); }
.inv__ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; color: #fff; background: var(--h2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22), 0 8px 18px -10px var(--h2); }
.inv__ic .ic { width: 28px; height: 28px; }
.inv__t { margin: 4px 0 0; font-size: 22px; font-weight: 720; letter-spacing: -0.035em; }
.inv__d { margin: 0 0 6px; max-width: 360px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.5; }
.inv__d b { color: var(--ink); font-weight: 650; }
.inv__paste {
  width: 100%; min-height: 110px; padding: 14px 16px; border-radius: 18px; resize: vertical;
  border: 1px solid var(--brand); background: var(--card); color: var(--ink); font-family: var(--font-mono); font-size: 13px; outline: none;
  box-shadow: 0 0 0 4px rgba(var(--brand-rgb), 0.15);
}
.prod { display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 20px; align-items: start; padding: 18px; }
.prod__img { position: relative; margin: 0; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: #fff; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06); }
.prod__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.prod__ph { color: #b9b9c0; }
.prod__ph .ic { width: 28px; height: 28px; }
.prod.has-img .prod__ph { display: none; }
.prod__k { margin: 0 0 4px; font-size: 13px; font-weight: 650; color: var(--hc); }
.prod__name { margin: 0; font-size: 22px; font-weight: 720; line-height: 1.15; letter-spacing: -0.035em; }
.prod__t { margin: 6px 0 0; font-size: 13px; color: var(--ink-muted); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prod__nums { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 12px 30px; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line-2); justify-content: start; }
.prod__nums div { display: grid; gap: 2px; }
.prod__nums dt { display: flex; align-items: center; gap: 2px; font-size: 12.5px; color: var(--ink-soft); }
.prod__nums dd { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.prod__nums .is-m dd.ok { color: var(--ok); }
.prod__nums .is-m dd.bad { color: var(--danger); }
.prod__in { height: 40px; width: 118px; padding: 0 10px; }
.prod__in input { font-size: 17px; font-weight: 700; }
.prod__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.prod--mini { grid-template-columns: 76px minmax(0, 1fr); gap: 14px; padding: 12px; }
.prod--mini .prod__name { font-size: 17px; }
.prod--mini .prod__nums { margin-top: 8px; padding-top: 8px; gap: 6px 24px; }
.prod--mini .prod__nums > div:nth-child(-n+2) { display: none; }
.prod--mini .prod__nums dd { font-size: 15px; }
.prod--mini .prod__t { display: none; }

/* ====== Opciones para elegir (camino, dónde, rediseñar…): el mismo componente siempre ====== */
.opts { display: grid; gap: 14px; }
.opts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.opts--big { max-width: 920px; }
.opt {
  position: relative; display: grid; gap: 8px; align-content: start; text-align: left; padding: 20px; border-radius: 26px;
  border: 1px solid var(--line-2); background: var(--card); box-shadow: var(--shadow-sm); cursor: pointer; color: var(--ink);
  transition: border-color .3s var(--ease-soft), transform .5s var(--ease-out-quint), box-shadow .35s var(--ease-soft), background .3s;
}
:root[data-theme="dark"] .opt { border-color: var(--line); box-shadow: none; }
.opt:hover { transform: translate3d(0, -3px, 0); box-shadow: var(--shadow-md); }
.opt:focus-visible { outline: 3px solid rgba(var(--brand-rgb), 0.45); outline-offset: 3px; }
.opt__ic {
  width: 46px; height: 46px; padding: 12px; border-radius: 14px; color: #fff;
  background: var(--h2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22), 0 6px 14px -8px var(--h2);
}
.opt__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.opt__head .gi { --s: 46px; }
.opt__t { font-size: 20px; font-weight: 720; letter-spacing: -0.035em; line-height: 1.15; }
.opt__d { font-size: 14.5px; color: var(--ink-soft); line-height: 1.45; letter-spacing: -0.012em; }
.opt__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.opt__meta span { display: inline-block; font-size: 13.5px; line-height: 1.3; color: var(--ink-soft); }
.opt__meta span::before { content: ''; display: inline-block; width: 6px; height: 6px; margin: 0 8px 2px 0; border-radius: 50%; background: var(--hc); vertical-align: middle; }
.opt__meta b { color: var(--ink); font-weight: 650; }
.opt[aria-checked="true"], .opt.is-on { border-color: transparent; box-shadow: 0 0 0 2.5px var(--hc), var(--shadow-md); background: color-mix(in srgb, var(--hc) 5%, var(--card)); }
.opt[aria-checked="true"]::after {
  content: ''; position: absolute; top: 18px; right: 18px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--hc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23fff' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
  animation: okPop .45s var(--ease-spring) both;
}
.opts--big .opt { padding: 26px; gap: 10px; }
.opts--big .opt__t { font-size: 26px; }
.opts--big .opt[aria-checked="true"] .tag { visibility: hidden; }
.choice { display: grid; gap: 14px; }
.where__cost { max-width: 440px; margin-top: 18px; }

/* ====== Hechos cortos (3.1) ====== */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fact { display: grid; gap: 4px; padding: 18px; border-radius: 22px; background: var(--card); border: 1px solid var(--line-2); box-shadow: var(--shadow-sm); }
:root[data-theme="dark"] .fact { border-color: var(--line); box-shadow: none; }
.fact b { font-size: 28px; font-weight: 750; letter-spacing: -0.045em; line-height: 1.05; color: var(--hc); }
.fact span { font-size: 13.5px; color: var(--ink-soft); line-height: 1.42; }
.paso[data-view="ask"] .v-tuto, .paso[data-view="tuto"] .v-ask { display: none; }

/* ====== Comparador antes / con IA ====== */
.cmp { position: relative; aspect-ratio: 1; border-radius: 26px; overflow: hidden; background: #111; --pos: 50%; user-select: none; touch-action: pan-y; width: 100%; max-width: min(520px, calc(100vh - 430px)); min-width: min(100%, 300px); box-shadow: var(--shadow-lg); }
.cmp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.cmp__b { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.cmp__tag { position: absolute; top: 14px; height: 30px; padding: 0 12px; border-radius: 999px; display: inline-flex; align-items: center; font-size: 13px; font-weight: 650; color: #fff; background: rgba(0, 0, 0, 0.42); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); border: 1px solid rgba(255, 255, 255, 0.22); }
.cmp__tag--a { left: 14px; }
.cmp__tag--b { right: 14px; background: rgba(255, 255, 255, 0.78); color: #1d1d1f; border-color: rgba(255, 255, 255, 0.9); }
.cmp__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 14px rgba(0, 0, 0, 0.35); pointer-events: none; }
.cmp__line i { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: rgba(255, 255, 255, 0.85); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #111; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3); }
.cmp__line .ic { width: 15px; height: 15px; }
.cmp__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.cmp__thumbs { display: flex; gap: 10px; }
.cmp__thumbs button { width: 64px; height: 64px; padding: 0; border-radius: 16px; overflow: hidden; border: 0; cursor: pointer; opacity: 0.55; transition: opacity .25s, box-shadow .25s, transform .4s var(--ease-spring); background: none; }
.cmp__thumbs button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cmp__thumbs button.is-on, .cmp__thumbs button:hover { opacity: 1; box-shadow: 0 0 0 2.5px var(--hc); }
.cmp__thumbs button:active { transform: scale(0.94); }

/* ====== Carrusel y demo: la misma barra de control ====== */
.slides { display: grid; gap: 12px; min-width: 0; }
.slides__view { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--line-2); background: var(--code); box-shadow: var(--shadow-md); }
.slides__track { display: flex; transition: transform .7s var(--ease-out-quint); }
.slide { flex: 0 0 100%; margin: 0; min-width: 0; }
.slide > img { display: block; width: 100%; height: auto; aspect-ratio: 1400 / 740; object-fit: cover; }
.slide > figcaption { display: none; }
.slides--mk .slides__view { border: 0; background: none; overflow: hidden; box-shadow: none; }
.slides--mk .slide { padding: 2px; }
.ctl { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.ctl__prev, .ctl__next {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 0;
  background: var(--fill-2); color: var(--ink); cursor: pointer; transition: background .25s var(--ease-soft), transform .4s var(--ease-spring), box-shadow .3s;
}
.ctl__next { background: var(--brand); color: #fff; box-shadow: 0 8px 18px -10px rgba(var(--brand-rgb), 0.9); }
.ctl__prev:hover { background: var(--fill); }
.ctl__next:hover { background: var(--brand-hover); }
.ctl__prev:active, .ctl__next:active { transform: scale(0.9); }
.ctl__prev:disabled, .ctl__next:disabled { opacity: 0.35; cursor: default; }
.ctl__next:disabled { background: var(--fill-2); color: var(--ink); box-shadow: none; }
.ctl__prev .ic, .ctl__next .ic { width: 18px; height: 18px; }
.ctl__cap { margin: 0; display: flex; align-items: baseline; gap: 10px; min-width: 0; font-size: 14.5px; line-height: 1.42; color: var(--ink-soft); letter-spacing: -0.012em; }
.ctl__cap b { color: var(--ink); font-weight: 620; }
.ctl__cap a { color: var(--brand-ink); }
.ctl__n { flex: none; display: inline-grid; place-items: center; min-width: 26px; height: 22px; padding: 0 7px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--hc); background: color-mix(in srgb, var(--hc) 13%, transparent); font-variant-numeric: tabular-nums; }
.ctl__dots { display: flex; justify-content: center; gap: 6px; }
.ctl__dots i { width: 7px; height: 7px; border-radius: 999px; background: var(--fill); transition: all .4s var(--ease-out-quint); cursor: pointer; }
.ctl__dots i.is-on { width: 22px; background: var(--hc); }
.ctl__dots i.is-seen { background: color-mix(in srgb, var(--hc) 40%, transparent); }
.demo { margin: 0; display: grid; gap: 12px; min-width: 0; width: 100%; justify-self: center;
  /* Que la demo y su barra quepan en la pantalla: el alto que queda entre la cabecera, el título del paso y el pie */
  max-width: max(540px, calc((100vh - 400px) * 900 / 580)); }
.demo[data-synced] .ctl__t { display: none; }
/* 2.3 lleva encima las categorías: su demo, un poco más baja para que quepa con su barra */
/* En la 2.3 la demo empieza más abajo (encima van tus categorías): su ancho sale del alto que le queda hasta el pie */
#paso-2\.3 .demo { max-width: max(480px, calc((100vh - 550px) * 900 / 580)); }

/* ====== Formularios de la tienda (3.2) ====== */
.forge { display: grid; gap: 14px; }
.forge__mode { font-size: 14px; }

/* ====== Test del móvil (3.3) ====== */
.checks { list-style: none; margin: 0; display: grid; gap: 2px; border-radius: 26px; background: var(--card); border: 1px solid var(--line-2); box-shadow: var(--shadow-sm); padding: 8px; }
:root[data-theme="dark"] .checks { border-color: var(--line); box-shadow: none; }
.checks li .ck { width: 100%; padding: 12px 12px; border-radius: 18px; transition: background .2s; }
.checks li .ck:hover { background: var(--fill-2); }
.score { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 15px; color: var(--ink-soft); }
.score b { font-size: 34px; font-weight: 750; letter-spacing: -0.05em; color: var(--ink); font-variant-numeric: tabular-nums; }
.paso.is-full .score, .paso.is-full .score b { color: var(--ok); }
.vis--phone { justify-items: center; }

/* ====== Pagos, envío, dominio: la tarjeta de configuración ====== */
.pay { display: grid; gap: 16px; align-content: start; }
.pay__top { display: flex; align-items: center; gap: 14px; }
.pay__top > div { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.pay__logo { width: 50px; height: 50px; flex: none; border-radius: 15px; background: #fff; padding: 8px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.07), 0 8px 18px -10px rgba(0, 0, 0, 0.35); }
.pay__logo--sp { display: grid; place-items: center; padding: 9px; }
.pay__logo--sp svg { width: 100%; height: 100%; }
.pay__logo--ic { display: grid; place-items: center; padding: 0; color: #fff; background: var(--h2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22), 0 6px 14px -8px var(--h2); }
.pay__logo--ic .ic { width: 24px; height: 24px; }
.pay__name { margin: 0; width: 100%; font-size: 19px; font-weight: 700; letter-spacing: -0.03em; }
.pay__rec { font-size: 12.5px; color: var(--ink-muted); }
.pay__d { margin: 0; font-size: 15px; color: var(--ink-soft); line-height: 1.5; letter-spacing: -0.012em; }
.pay__ck { margin-top: 2px; padding: 14px 4px 0; border-top: 1px solid var(--line-2); width: 100%; }
:root[data-theme="dark"] .pay__ck { border-color: var(--line); }
.pay.is-done { box-shadow: 0 0 0 2px color-mix(in srgb, var(--ok-fill) 55%, transparent), var(--shadow-sm); border-color: transparent; }
.pay.is-skip { opacity: 0.6; }
.pay.is-skip .pay__ck .ck__t { text-decoration: line-through; color: var(--ink-muted); }
.part { display: none; }
.paso[data-part="envio"] .part[data-part-of="envio"], .paso[data-part="mercado"] .part[data-part-of="mercado"] { display: block; animation: pasoIn .5s var(--ease-out-quint) both; }
.part__k { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 13.5px; font-weight: 650; color: var(--hc); letter-spacing: -0.01em; }
.part__dot { width: 20px; height: 6px; border-radius: 999px; background: var(--fill); }
.part__dot.is-on { background: var(--hc); }
.part__dot.is-done { background: var(--ok-fill); }
.part__dot:last-of-type { margin-right: 8px; }
.part__go { justify-self: start; }

/* Comparación de precios (4.2): dos recibos */
.cmpx { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cmpx__c { display: grid; gap: 10px; align-content: start; padding: 22px; border-radius: 24px; background: #fff; color: #1d1d1f; border: 1px solid rgba(0, 0, 0, 0.06); box-shadow: var(--shadow-md); }
.cmpx__k { margin: 0 0 4px; font-size: 13px; font-weight: 650; color: #6e6e73; }
.cmpx__row, .cmpx__tot { display: flex; justify-content: space-between; font-size: 14.5px; color: #3a3a3c; }
.cmpx__row b { font-weight: 550; color: #1d1d1f; font-variant-numeric: tabular-nums; }
.cmpx__row b.ok { color: #1e9b52; }
.cmpx__tot { padding-top: 10px; border-top: 1px solid #ececf0; font-weight: 700; color: #1d1d1f; font-size: 16px; }
.cmpx__v { display: flex; align-items: flex-start; gap: 7px; margin: 6px 0 0; font-size: 13px; line-height: 1.4; color: #1e9b52; font-weight: 600; }
.cmpx__v .ic { width: 18px; height: 18px; padding: 3px; border-radius: 50%; color: #fff; background: #34c759; flex: none; }
.cmpx__v--no { color: #d1281e; }
.cmpx__v--no .ic { background: #ff3b30; }
.cmpx__c--yes { box-shadow: 0 0 0 2.5px #34c759, var(--shadow-md); }

/* ====== Compra de prueba (4.4): cuatro pantallas en fila ====== */
.buy { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: buy; position: relative; }
.buy__i { position: relative; display: grid; gap: 12px; align-content: start; }
.buy__i:not(:last-child)::after {
  content: ''; position: absolute; top: 13px; right: -16px; width: 16px; height: 2px; border-radius: 2px;
  background: color-mix(in srgb, var(--hc) 45%, transparent);
}
.buy__k { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 15.5px; font-weight: 680; letter-spacing: -0.02em; }
.buy__k span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: #fff; background: var(--h2); font-size: 13px; font-weight: 700; flex: none; }
.buy__k small { display: block; font-weight: 400; font-size: 13px; color: var(--ink-muted); }
.buy__mk { display: grid; gap: 10px; align-content: start; min-height: 200px; padding: 16px; border-radius: 22px; background: #fff; color: #1d1d1f; border: 1px solid rgba(0, 0, 0, 0.06); box-shadow: var(--shadow-md); font-size: 12.5px; }
.bm__h { display: flex; align-items: center; gap: 8px; margin: 0 0 2px; font-size: 14px; font-weight: 700; }
.bm__row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.bm__row img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.bm__row span { display: grid; gap: 2px; min-width: 0; }
.bm__row span b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bm__row small { color: #777; }
.bm__btn { display: grid; place-items: center; height: 36px; border-radius: 10px; background: #1d1d1f; color: #fff; font-weight: 650; margin-top: auto; }
.bm__pp { display: flex; align-items: center; justify-content: center; gap: 6px; height: 36px; border-radius: 10px; background: #ffc439; font-weight: 700; color: #003087; }
.bm__pp svg { width: 18px; height: 18px; }
.bm__or { text-align: center; color: #888; font-size: 11.5px; }
.bm__in { height: 34px; border-radius: 10px; border: 1px solid #d9d9de; display: flex; align-items: center; padding: 0 10px; color: #444; font-family: var(--font-mono); font-size: 11.5px; }
.bm__mail { display: flex; align-items: center; gap: 8px; margin: 0; color: #666; font-size: 12px; }
.bm__mail .ic { width: 16px; height: 16px; }
.bm__msg { display: grid; gap: 3px; padding: 10px; border-radius: 12px; background: #f2f6ff; border-left: 3px solid #2f6bff; }
.bm__msg small { color: #555; line-height: 1.35; }
.bm__ok { display: flex; align-items: center; gap: 6px; margin-top: auto; color: #1e9b52; font-weight: 650; font-size: 12px; }
.bm__ok .ic { width: 17px; height: 17px; padding: 3px; border-radius: 50%; background: #34c759; color: #fff; }
.bm__pv { width: 20px; height: 20px; }
.bm__ord { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px; border-radius: 12px; border: 1px solid #ececf0; }
.bm__ord span { display: grid; gap: 2px; min-width: 0; }
.bm__ord small { color: #666; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bm__ord em { font-style: normal; font-size: 11px; font-weight: 650; padding: 3px 8px; border-radius: 999px; background: #fff1c2; color: #7a5a00; }

/* ====== Calculadoras ====== */
.calc__in { display: grid; gap: 18px; align-content: start; }
.calc__out { display: grid; gap: 18px; align-content: start; }
.fld__help .ic { width: 14px; height: 14px; vertical-align: -2px; color: var(--ink-muted); }
.fld__lk { display: none; }
.fld__box.is-lock .fld__lk { display: block; }
.big { display: grid; gap: 2px; }
.big__v { margin: 0; font-size: clamp(40px, 4.2vw, 56px); font-weight: 760; line-height: 1; letter-spacing: -0.055em; color: var(--hc); font-variant-numeric: tabular-nums; }
.big.is-wait .big__v { color: var(--ink-muted); opacity: 0.6; }
.big.is-bad .big__v { color: var(--danger); }
.split { display: flex; height: 38px; border-radius: 12px; overflow: hidden; gap: 3px; }
.split i { display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 650; color: rgba(255, 255, 255, 0.95); min-width: 2px; transition: width .7s var(--ease-out-quint); white-space: nowrap; overflow: hidden; border-radius: 10px; }
.split .is-wait { width: 100%; color: var(--ink-muted); font-weight: 450; background: var(--fill-2); }
.legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13.5px; color: var(--ink-soft); }
.legend li, .legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.legend b { color: var(--ink); font-weight: 650; font-variant-numeric: tabular-nums; }
.calc__msg { margin: 0; font-size: 14.5px; color: var(--ink-soft); line-height: 1.5; letter-spacing: -0.012em; }
.calc__msg b { color: var(--ink); }
.days { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.day { display: grid; gap: 8px; padding: 14px; border-radius: 18px; background: var(--fill-2); }
/* Donde va un gráfico del kit (graficos.js) */
.viz { min-width: 0; }
.donut-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: center; }
.viz--donut { width: 190px; }
.viz--donut.viz--sm { width: 150px; }
.legend--col { display: grid; gap: 8px; }
.legend--col li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px 0; font-size: 14px; }
.legend--col li + li { border-top: 1px solid var(--line-2); }
.legend--col li b { font-size: 15px; }
.legend--col .term { justify-self: start; }

/* Resultado (5.5, 7.3): el mismo componente */
.res { min-height: 320px; }
.res > div { display: none; }
.res[data-state="idle"] .res__idle, .res[data-state="win"] .res__win, .res[data-state="lose"] .res__lose { display: grid; gap: 14px; align-content: start; justify-items: start; animation: pasoIn .5s var(--ease-out-quint) both; }
.res[data-state="win"] { border-color: transparent; box-shadow: 0 0 0 2px color-mix(in srgb, var(--ok-fill) 55%, transparent), var(--shadow-md); background: var(--card); }
.res[data-state="lose"] { border-color: transparent; box-shadow: 0 0 0 2px color-mix(in srgb, var(--danger-fill) 45%, transparent), var(--shadow-md); background: var(--card); }
.res__t { margin: 0; font-size: 16.5px; color: var(--ink-soft); line-height: 1.5; max-width: 36ch; }
.res__t b { color: var(--ink); }
.res__idle .kicker { margin: 0; }
.res__big { margin: 0; font-size: clamp(28px, 2.9vw, 38px); font-weight: 750; line-height: 1.04; letter-spacing: -0.045em; }
.res__win .res__big em { font-style: normal; color: var(--ok); }
.res__lose .res__big em { font-style: normal; color: var(--danger); }
.res__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 26px; width: 100%; margin: 0; }
.res__fine { margin: 0; font-size: 13.5px; color: var(--ink-muted); }
.res__viz { width: 100%; max-width: 380px; }
/* 5.3: la etiqueta de la línea de referencia, a la izquierda (a la derecha tapaba la cifra del día 3) */
#b-bars .g-bars__mkl { right: auto; left: 0; }
.res__gauge { grid-column: 1 / -1; justify-self: center; width: min(100%, 240px); margin-bottom: 0; }
/* El medidor: la cifra dentro del arco, con su tamaño fijo (cabe en el hueco con margen) y debajo, pequeño, de qué es */
.res__gauge .g-center { font-size: 16px; padding-bottom: 6px; }
.res__gauge .g-center > * { max-width: 150px; }
.res__gauge .res__gn { display: block; font-size: 30px; font-weight: 760; line-height: 1; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.res__gauge .res__gn--t { font-size: 21px; letter-spacing: -0.03em; }
.res__gauge .res__gl { margin-top: 5px; font-size: 12px; font-weight: 550; color: var(--ink-soft); }
.res__win .res__gn { color: var(--ok); }
.res__lose .res__gn { color: var(--danger); }
.legend__wait { color: var(--ink-muted); }
.legend__wait i { background: var(--fill) !important; }
p.res__stats { display: block; font-size: 15px; color: var(--ink-soft); line-height: 1.5; }

/* Gráfico de la caja (6.3) */
.chart { min-height: 0; display: grid; gap: 4px; }
.chart__hint { display: grid; place-items: center; min-height: 200px; margin: 0; padding: 22px; border-radius: 20px; border: 2px dashed var(--line); color: var(--ink-muted); font-size: 14.5px; text-align: center; }

/* ====== CPA tope (6.1) ====== */
.legend .is-ads { background: var(--h2); }
.legend .is-you { background: var(--ok-fill); }

/* ====== Cursos (5.4) ====== */
.course { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 26px; align-items: center; padding: 18px; }
.course__vid { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #000; box-shadow: var(--shadow-md); }
.course__vid img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s var(--ease-out-quint), filter .4s; filter: brightness(.88); }
.course__vid:hover img { transform: scale(1.05); filter: brightness(1); }
.course__play { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; transition: transform .45s var(--ease-spring); }
.course__play svg { width: 100%; height: 100%; }
.course__vid:hover .course__play { transform: scale(1.12); }
.course__txt { display: grid; gap: 10px; justify-items: start; padding-right: 6px; }
.course__txt .card__k { margin: 0; color: var(--hc); }
.course__t { margin: 0; font-size: 24px; font-weight: 720; line-height: 1.15; letter-spacing: -0.035em; }

/* ====== Anuncios (6.2): 3 ángulos × 3 formatos ====== */
/* Los 9 anuncios caben en la pantalla: el alto de cada uno sale del alto que queda */
.ads { --adh: clamp(150px, calc((100vh - 360px) / 3), 300px); display: grid; grid-template-columns: auto repeat(3, calc(var(--adh) * 9 / 16)); gap: 10px 12px; align-items: center; justify-content: start; }
.ads__src { margin: 0; font-size: 13px; color: var(--ink-muted); }
/* 6.2 · Los anuncios, como en Instagram: cada formato en su sitio (Reels, Historias y el feed), con su interfaz */
.ad { position: relative; aspect-ratio: 9 / 16; border-radius: 20px; overflow: hidden; background: #000; color: #fff; font-family: var(--font-sans); letter-spacing: -0.01em; box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.6); container-type: inline-size; }
.ad p { margin: 0; }
.ad .ic { width: 1em; height: 1em; }
.ad__media { position: absolute; inset: 0; }
.ad__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kb 9s ease-in-out infinite alternate; }
@keyframes kb { from { transform: scale(1.04); } to { transform: scale(1.14) translate(-1.5%, 1%); } }
.ad[data-f="demo"] .ad__media img { animation-delay: -3s; }
/* El ángulo cambia la foto donde toca: la rotonda con «El problema» y el cliente con «Opiniones» */
.ad__media .ad__alt { opacity: 0; transition: opacity .5s var(--ease-soft); }
.adlab[data-angle="0"] .ad[data-f="demo"] .ad__alt, .adlab[data-angle="2"] .ad[data-f="unbox"] .ad__alt { opacity: 1; }
.ad__ui { position: absolute; inset: 0; display: flex; flex-direction: column; }
.ad__av { flex: none; display: grid; place-items: center; width: 1.9em; height: 1.9em; border-radius: 50%; background: #0f0f11; color: #ffcc1a; font-style: italic; font-weight: 800; font-size: 1em; letter-spacing: -0.02em; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4); }
/* El gancho: el texto con su fondo blanco por línea, como se escribe en Reels e Historias */
.ad__hook { position: relative; text-align: center; font-size: 7.4cqw; font-weight: 750; line-height: 1.5; letter-spacing: -0.02em; transition: opacity .25s; }
.ad__hook span { padding: 0.18em 0.42em; border-radius: 0.3em; background: #fff; color: #111; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.ad__stars { color: #f5a800; letter-spacing: 0.06em; }
.ad__win { position: absolute; z-index: 2; top: 24cqw; right: 4cqw; display: inline-flex; align-items: center; gap: 1.6cqw; padding: 1.6cqw 3.6cqw; border-radius: 99px; background: #f5b400; color: #3d2b00; font-size: 5.4cqw; font-weight: 750; box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.5); }
.ad__win .ic { width: 5.6cqw; height: 5.6cqw; }
.ad.is-win { box-shadow: 0 0 0 3px var(--hc), 0 24px 48px -24px rgba(0, 0, 0, 0.6); }

/* Reels: «Reels» y la cámara arriba, la columna de la derecha, la cuenta, el texto y COMPRAR AHORA abajo */
.ad--reels .ad__ui { padding: 5cqw 4cqw 4cqw; background: linear-gradient(180deg, rgba(0, 0, 0, 0.32), transparent 16%, transparent 50%, rgba(0, 0, 0, 0.74)); }
.ad__top { display: flex; align-items: center; justify-content: space-between; font-size: 7.6cqw; font-weight: 750; letter-spacing: -0.02em; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3); }
.ad--reels .ad__hook { margin: 13cqw 3cqw 0; }
.ad__rail { position: absolute; right: 3cqw; bottom: 22cqw; display: grid; justify-items: center; gap: 4.4cqw; margin: 0; padding: 0; list-style: none; font-size: 4.2cqw; font-weight: 600; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45); }
.ad__rail li { display: grid; justify-items: center; gap: 0.8cqw; }
.ad__rail .ic { width: 8cqw; height: 8cqw; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.35)); }
.ad__rail .ad__disc { display: grid; place-items: center; width: 8.6cqw; height: 8.6cqw; border-radius: 2.2cqw; border: 2px solid #fff; background: #0f0f11; color: #ffcc1a; font-style: italic; font-weight: 800; font-size: 4.4cqw; text-shadow: none; }
.ad__foot { margin-top: auto; display: grid; gap: 2.2cqw; }
.ad__foot > p { margin-right: 13cqw; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4); }
.ad__who { display: flex; align-items: center; gap: 2.4cqw; min-width: 0; font-size: 5cqw; font-weight: 650; }
.ad__follow { padding: 0.8cqw 2.4cqw; border: 1px solid rgba(255, 255, 255, 0.75); border-radius: 1.8cqw; font-size: 4.2cqw; font-weight: 600; }
.ad__cap { font-size: 4.6cqw; line-height: 1.3; }
.ad__cap span { opacity: 0.7; }
.ad__meta { display: flex; flex-wrap: wrap; gap: 0.6cqw 3cqw; font-size: 4cqw; opacity: 0.9; }
.ad__meta span { display: inline-flex; align-items: center; gap: 1.2cqw; }
.ad__cta { display: flex; align-items: center; justify-content: space-between; height: 10.5cqw; margin-top: 1cqw; padding: 0 3.4cqw; border-radius: 2.2cqw; background: #0095f6; color: #fff; font-size: 4.8cqw; font-weight: 650; }

/* Historias: las rayitas de progreso, la cuenta, el gancho en medio y, abajo, el botón que se desliza hacia arriba */
.ad--story .ad__ui { padding: 3cqw 4cqw 5cqw; background: linear-gradient(180deg, rgba(0, 0, 0, 0.42), transparent 20%, transparent 70%, rgba(0, 0, 0, 0.5)); }
.ad__segs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2cqw; }
.ad__segs i { position: relative; height: 0.9cqw; border-radius: 99px; background: rgba(255, 255, 255, 0.38); overflow: hidden; }
.ad__segs i.is-full { background: #fff; }
.ad__segs i.is-play::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 40%; background: #fff; animation: adbar 6s linear infinite; }
@keyframes adbar { from { width: 0; } to { width: 100%; } }
.ad--story .ad__who { margin-top: 3cqw; font-size: 4.8cqw; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4); }
.ad--story .ad__who small { font-size: 4.2cqw; font-weight: 500; opacity: 0.85; }
.ad__x { display: inline-flex; gap: 3cqw; margin-left: auto; font-size: 6cqw; }
.ad--story .ad__hook { margin: auto 3cqw 0; transform: translateY(-8cqw); }
.ad__swipe { display: grid; justify-items: center; gap: 1cqw; margin-top: auto; font-size: 6cqw; }
.ad__pill { display: inline-flex; align-items: center; gap: 1.8cqw; height: 10cqw; padding: 0 4.6cqw; border-radius: 99px; background: #fff; color: #111; font-size: 4.8cqw; font-weight: 650; box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.5); }
.ad__pill .ic { color: #0095f6; }

/* El feed: la publicación entera en blanco, con la foto en 4:5 (antes arriba y después abajo) y su barra de compra */
.ad--feed { display: flex; flex-direction: column; background: #fff; color: #0c0c0d; }
.ad__fh { display: flex; align-items: center; gap: 2.4cqw; height: 13cqw; padding: 0 3.6cqw; font-size: 4.4cqw; }
.ad__fh span { display: grid; flex: 1; min-width: 0; line-height: 1.2; }
.ad__fh b { font-weight: 650; }
.ad__fh small { font-size: 3.8cqw; color: #555; }
.ad__fh .ic { font-size: 5.4cqw; }
.ad--feed .ad__av { font-size: 3.9cqw; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12); }
.ad__split { position: relative; flex: none; display: grid; grid-template-rows: 1fr 1fr; height: 125cqw; background: #000; }
.ad__split::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 0.8cqw; margin-top: -0.4cqw; background: #fff; }
.ad__split figure { position: relative; margin: 0; overflow: hidden; }
.ad__split img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.ad__split em { position: absolute; left: 3cqw; top: 3cqw; padding: 1cqw 3cqw; border-radius: 99px; background: rgba(0, 0, 0, 0.55); color: #fff; font-style: normal; font-size: 4.2cqw; font-weight: 700; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ad__split figure + figure em { background: #12a15a; }
.ad__fcta { flex: none; display: flex; align-items: center; justify-content: space-between; height: 10cqw; padding: 0 3.6cqw; background: #0095f6; color: #fff; font-size: 4.6cqw; font-weight: 650; }
.ad__acts { display: flex; align-items: center; gap: 3.6cqw; padding: 2.6cqw 3.6cqw 1cqw; font-size: 6.6cqw; }
.ad__acts .ad__save { margin-left: auto; }
.ad__likes { padding: 0 3.6cqw; font-size: 4.2cqw; font-weight: 650; }
.ad__fcap { padding: 1cqw 3.6cqw 0; font-size: 4.2cqw; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ad__fcap .ad__stars { font-size: 0.95em; }
.ad__fcap br { display: none; }

/* ====== Generador de políticas ====== */
.pol__intro { margin: 0 0 20px; font-size: 15.5px; color: var(--ink-soft); max-width: 70ch; }
.pol__form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.pol__g { display: grid; gap: 14px; margin: 0; padding: 20px; border-radius: 26px; background: var(--card); border: 1px solid var(--line-2); box-shadow: var(--shadow-sm); min-width: 0; }
:root[data-theme="dark"] .pol__g { border-color: var(--line); box-shadow: none; }
.pol__g legend { float: left; width: 100%; padding: 0; margin: 0 0 4px; font-size: 15px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.pol__go { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.pol__go p { margin: 0; font-size: 14px; color: var(--ink-muted); }
.pol__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.pol__tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; padding: 4px; border-radius: 999px; background: var(--fill-2); width: fit-content; max-width: 100%; }
.pol__tabs button { height: 34px; padding: 0 14px; border-radius: 999px; border: 0; background: none; color: var(--ink-soft); font-size: 13.5px; font-weight: 550; cursor: pointer; transition: all .25s var(--ease-soft); }
.pol__tabs button:hover { color: var(--ink); }
.pol__tabs button.is-on { background: var(--card); color: var(--ink); font-weight: 650; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 4px 12px -6px rgba(0, 0, 0, 0.2); }
:root[data-theme="dark"] .pol__tabs button.is-on { background: #3a3a3e; }
.pol__tabs button.is-copied::after { content: ' ✓'; color: var(--ok); }
.pol__p { display: none; gap: 12px; }
.pol__p.is-on { display: grid; }
.pol__p textarea { width: 100%; min-height: 300px; padding: 18px; border-radius: 20px; border: 1px solid var(--line); background: var(--code); color: var(--ink); font-family: var(--font-sans); font-size: 14px; line-height: 1.6; resize: vertical; outline: none; }
.pol__where { margin: 0; font-size: 14px; color: var(--ink-soft); }
.pol__where b { color: var(--ink); }
.pol__end { display: flex; justify-content: center; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }

/* ====== Final: un panel con tus números ====== */
/* La vista final sí puede bajar (scroll): es el resumen de todo, con aire */
.vista--final { padding: 30px var(--gut) 64px; }
/* El reparto: el donut y, a su lado, la leyenda (en una fila: así las cifras de al lado no se estiran) */
/* El stock propio: una banda a lo ancho (icono, qué es y, a la derecha, la cifra) */
/* El icono de cada fase, lineal y de su color, centrado dentro de su anillo */

/* ====== Fase 4: el recorrido de un pedido ====== */
.flow { margin: 18px 0 0; padding: 30px 28px 22px; border-radius: 30px; background: var(--card); border: 1px solid var(--line-2); box-shadow: var(--shadow-sm); }
:root[data-theme="dark"] .flow { border-color: var(--line); box-shadow: none; }
.flow__row { display: grid; grid-template-columns: auto minmax(20px, 1fr) auto minmax(20px, 1fr) auto minmax(20px, 1fr) auto; align-items: center; gap: 6px; }
.flow__n { display: grid; justify-items: center; gap: 5px; text-align: center; min-width: 100px; }
.flow__i { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; color: #fff; background: #8a8a93; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22), 0 6px 14px -8px rgba(0, 0, 0, 0.35); transition: transform .5s var(--ease-spring), box-shadow .4s; }
.flow__i .ic { width: 25px; height: 25px; }
.flow__n b { font-size: 15px; font-weight: 680; letter-spacing: -0.02em; }
.flow__n small { font-size: 12.5px; color: var(--ink-muted); }
.flow__n--gate .flow__i { background: #0a7cff; }
.flow__n--you .flow__i { background: var(--h2); }
.flow__n:last-child .flow__i, .flow__n:nth-of-type(7) .flow__i { background: #f2721a; }
.flow__l { position: relative; height: 2px; margin-bottom: 26px; background-image: radial-gradient(circle, var(--line-strong) 1.2px, transparent 1.6px); background-size: 8px 2px; background-repeat: repeat-x; }
.flow__dot { position: absolute; top: 50%; left: 0; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--hc); box-shadow: 0 0 0 4px color-mix(in srgb, var(--hc) 18%, transparent), 0 0 12px var(--hc); opacity: 0; }
.flow[data-k="0"] .flow__l:nth-of-type(2) .flow__dot, .flow[data-k="1"] .flow__l:nth-of-type(4) .flow__dot, .flow[data-k="2"] .flow__l:nth-of-type(6) .flow__dot { animation: flowDot 1.05s var(--ease-soft) both; }
@keyframes flowDot { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 10px); opacity: 0; } }
.flow[data-k="0"] .flow__n:nth-of-type(1) .flow__i, .flow[data-k="1"] .flow__n--gate .flow__i, .flow[data-k="2"] .flow__n--you .flow__i, .flow[data-k="3"] .flow__n:nth-of-type(7) .flow__i { transform: scale(1.1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22), 0 10px 20px -10px rgba(0, 0, 0, 0.4); }
.flow__back { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-2); font-size: 14px; color: var(--ink-soft); }
.flow__van { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 13px; color: #fff; background: #12a15a; transition: transform 1s var(--ease-out-quint); }
.flow__van .ic { width: 20px; height: 20px; }
.flow[data-k="3"] .flow__van, .flow[data-k="4"] .flow__van { transform: translateX(12px); }

/* ====== Intermedia y móvil ====== */
@media (max-width: 1180px) {
  .lay--demo, .lay--demo-w { grid-template-columns: minmax(0, 1fr); }
  .lay--demo .do--sync { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
  .buy { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .buy__i::after { display: none; }
  .pol__form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .lay--ads, .lay--phone { grid-template-columns: minmax(0, 1fr); }
  .course { grid-template-columns: minmax(0, 1fr); }
  .flow__row { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 14px; }
  .flow__l { display: none; }
  .flow__n { min-width: 0; }
}
@media (max-width: 680px) {
  .grid2, .opts--2, .facts, .cmpx, .res__stats { grid-template-columns: minmax(0, 1fr); }
  .big__v { font-size: 38px; }
  .res__big { font-size: 28px; }
  .pills--compact .pill { height: 32px; padding: 0 12px; font-size: 13.5px; }
  .tl { grid-template-columns: minmax(0, 1fr); }
  .tl__i { grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: 10px; padding: 14px; }
  .tl__i:not(:last-child)::after { display: none; }
  .tl__n { margin: 0; }
  .tl__i b { font-size: 19px; }
  .prod { grid-template-columns: 92px minmax(0, 1fr); gap: 14px; padding: 14px; }
  .prod__name { font-size: 19px; }
  .buy { grid-template-columns: minmax(0, 1fr); }
  .buy__mk { min-height: 0; }
  .file { grid-template-columns: auto minmax(0, 1fr); }
  .file .btn { grid-column: 1 / -1; }
  .verify__row { grid-template-columns: minmax(0, 1fr); }
  .pol__form { grid-template-columns: minmax(0, 1fr); }
  .ads { gap: 6px; grid-template-columns: auto repeat(3, minmax(0, 1fr)); }
  .opts--big .opt { padding: 20px; }
  .opts--big .opt__t { font-size: 23px; }
  .flow { padding: 22px 16px 18px; }
  .flow__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* En el móvil, las cuatro cifras de dos en dos; el producto, el reparto y el stock, a lo ancho */
  .res { min-height: 0; }
  .ctl__cap { font-size: 13.5px; }
  .donut-row { grid-template-columns: minmax(0, 1fr); justify-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  .ad__media img, .ad__segs i::before { animation: none !important; }
}

/* Maqueta ancha bajo dos tarjetas (4.1 y 4.3) */
.vis--wide { margin-top: 26px; max-width: 980px; }

/* 6.2 · Tres formatos a la vez y el ángulo con las mismas píldoras de siempre */
.adlab { display: grid; gap: 16px; min-width: 0; }
.adlab__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.ads3 { --adh: clamp(300px, calc(100vh - 420px), 520px); display: grid; grid-template-columns: repeat(3, minmax(0, calc(var(--adh) * 9 / 16))); gap: 16px; justify-content: start; }
.ads3__c { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 9px; min-width: 0; }
.ads3__c figcaption { font-size: 13.5px; font-weight: 650; letter-spacing: -0.01em; color: var(--ink-soft); }
.ad__win { opacity: 0; transform: scale(0.9); transition: opacity .3s, transform .45s var(--ease-spring); }
.ads3__c figcaption { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ads3__c figcaption b { font-weight: 650; color: var(--ink); }
.ads3__c figcaption span { display: inline-flex; align-items: center; gap: 5px; font-weight: 550; color: var(--ink-muted); }
.ads3__ig { width: 15px; height: 15px; flex: none; }
.adlab[data-angle="0"] .ad.is-win .ad__win { opacity: 1; transform: none; }
.adlab:not([data-angle="0"]) .ad.is-win { box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.6); }
@media (max-width: 680px) {
  .ads3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .ads3__c figcaption { flex-direction: column; align-items: flex-start; gap: 2px; font-size: 11px; }
  .ads3__ig { width: 12px; height: 12px; }
}

/* Modo claro: los recibos y tarjetas blancas necesitan su borde sobre el papel */
:root:not([data-theme="dark"]) .cmpx__c, :root:not([data-theme="dark"]) .buy__mk { border: 1px solid rgba(0, 0, 0, 0.07); }

/* ====== Bloques (bento): las cifras de cada calculadora en baldosas hermanas, cada una con su icono.
   Ninguna va dentro de otra: la columna de resultados es la rejilla, no una tarjeta ====== */
.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-content: start; }
.tile {
  position: relative; display: grid; align-content: start; gap: 4px; min-width: 0; padding: 18px 20px 20px; border-radius: 26px;
  background: var(--card); border: 1px solid var(--line-2); box-shadow: var(--shadow-sm);
}
:root[data-theme="dark"] .tile { border-color: var(--line); box-shadow: none; }
.tile--wide, .bento > .note, .bento > .res__go, .bento > .res__fine, .bento > .calc__msg { grid-column: 1 / -1; }
.tile__h { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: 14px; font-weight: 600; line-height: 1.25; letter-spacing: -0.012em; color: var(--ink-soft); }
.tile__h .gi { --s: 30px; border-radius: 9px; }
.tile__h .info { margin-left: -4px; }
.tile__x { margin-left: auto; font-size: 13px; font-weight: 550; color: var(--ink-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tile__x b { color: var(--ink); }
.tile__v { margin: 0; font-size: 28px; font-weight: 730; line-height: 1.05; letter-spacing: -0.045em; color: var(--ink); font-variant-numeric: tabular-nums; }
.tile__v--sm { font-size: 19px; letter-spacing: -0.025em; line-height: 1.2; }
.tile__v small { font-size: 14px; font-weight: 550; letter-spacing: -0.01em; color: var(--ink-muted); }
.tile__s { margin: 0; font-size: 13px; line-height: 1.4; color: var(--ink-muted); }
.tile__s b { color: var(--ink-soft); font-weight: 650; }
.tile .big__v { margin-top: 2px; font-size: clamp(30px, 2.7vw, 40px); }
.tile--hero.big .big__v, .tile--wide.big .big__v { font-size: clamp(40px, 4.2vw, 56px); }
.tile .viz { margin-top: 4px; }
.tile .calc__msg { margin-top: 6px; }
.tile .donut-row { margin-top: 4px; }
/* La cifra que manda, teñida con el color de su fase */
.tile--hero { background: color-mix(in srgb, var(--h2) 6%, var(--card)); border-color: color-mix(in srgb, var(--h2) 22%, var(--line-2)); }
:root[data-theme="dark"] .tile--hero { background: color-mix(in srgb, var(--h2) 12%, var(--card)); border-color: color-mix(in srgb, var(--h2) 30%, transparent); }
.tile--hero.is-bad { background: color-mix(in srgb, var(--danger-fill) 6%, var(--card)); border-color: color-mix(in srgb, var(--danger-fill) 26%, var(--line-2)); }
.tile--hero.is-bad .gi { --h2: #ec3b31; }
.tile.is-wait .gi { --h2: #8a8a93; }
.tile.is-wait .tile__v { color: var(--ink-muted); }
.tile.is-bad .tile__v { color: var(--danger); }
/* Bien o mal: el icono y la cifra lo dicen sin leer */
.tile--ok .gi { --h2: #12a15a; }
.tile--ok .tile__v { color: var(--ok); }
.tile--bad .gi { --h2: #ec3b31; }
.tile--bad .tile__v { color: var(--danger); }
.tile--empty { min-height: 300px; place-content: center; justify-items: center; gap: 10px; text-align: center; border-style: dashed; background: transparent; box-shadow: none; }
.tile--empty .gi { margin-bottom: 6px; }
.tile--empty .res__t { max-width: 30ch; }

/* El resultado (5.5 y 7.3): la cabecera dice si vende y las cifras van en baldosas */
.calc__out.res[data-state] { border-color: transparent; background: none; box-shadow: none; }
.res .res__idle { min-height: 300px; }
.res[data-state="idle"] .res__idle.tile--empty { align-content: center; justify-items: center; gap: 10px; }
.res[data-state] .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; justify-items: stretch; }
.bento > .res__stats { display: contents; }
.res__head { gap: 10px; justify-items: start; }
.res__head .tile__s { font-size: 14.5px; color: var(--ink-soft); }
.res__head--g { grid-template-columns: minmax(0, 1fr) auto; column-gap: 18px; align-items: center; align-content: center; }
.res__head--g > .tag, .res__head--g > .res__big { grid-column: 1; }
.res__head--g > .res__big { align-self: start; }
.res__head--g > .tag { align-self: end; }
.res__head--g > .res__gauge { grid-column: 2; grid-row: 1 / span 2; width: 210px; justify-self: end; margin: 0; }
.res__head--g > .res__gauge:empty { display: none; }
.res[data-state="win"] .res__head { border-color: transparent; box-shadow: 0 0 0 2px color-mix(in srgb, var(--ok-fill) 55%, transparent), var(--shadow-md); }
.res[data-state="lose"] .res__head { border-color: transparent; box-shadow: 0 0 0 2px color-mix(in srgb, var(--danger-fill) 45%, transparent), var(--shadow-md); }
.bento > .res__go { justify-self: start; margin-top: 4px; }
.bento > .res__fine { margin: -2px 0 0; }
.res__head + .tile .res__viz { max-width: none; }

/* 6.3 · Lo que hace cada venta con tu caja, en una línea: sale hoy y vuelve después */
.io { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; padding-top: 14px; border-top: 1px solid var(--line-2); font-size: 14px; color: var(--ink-muted); }
.io:empty { display: none; }
.io__k { width: 100%; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.io b { font-size: 18px; font-weight: 720; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.io__o b { color: var(--danger); }
.io__i b { color: var(--ok); }
.io > .ic { width: 16px; height: 16px; color: var(--ink-muted); }

/* Cursos (5.4 y 5.3o): el vídeo grande y, al lado, lo que aprendes con sus iconos */
.course.tile { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 30px; align-items: center; align-content: center; padding: 16px 30px 16px 16px; }
/* Los cursos, a todo el ancho del paso: el vídeo grande y, al lado, lo que aprendes */
.lay--course { max-width: 1080px; }
.lay--course .course.tile { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 44px; padding: 18px 44px 18px 18px; }
.lay--course .course__t { font-size: clamp(24px, 2.2vw, 30px); }
.lay--course .course__list { gap: 12px; }
.lay--course .course__list li { font-size: 16.5px; }
.lay--course .course__list .gi { --s: 36px; }
.course__badge { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: rgba(0, 0, 0, 0.5); color: #fff; font-size: 12.5px; font-weight: 650; letter-spacing: -0.005em; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.course__txt { gap: 14px; }
.course__list { list-style: none; margin: 2px 0 6px; padding: 0; display: grid; gap: 10px; }
.course__list li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; font-weight: 560; letter-spacing: -0.018em; }
.course__list .gi { --s: 32px; border-radius: 10px; }

@media (max-width: 980px) {
  .course.tile, .lay--course .course.tile { grid-template-columns: minmax(0, 1fr); padding: 14px 14px 22px; gap: 20px; }
  .course__txt { padding: 0 8px; }
}
@media (max-width: 680px) {
  .bento { gap: 10px; }
  .tile { padding: 16px 16px 18px; border-radius: 24px; }
  .tile__h { gap: 8px; font-size: 13.5px; }
  .tile__h .gi { --s: 28px; }
  .tile__v { font-size: 24px; }
  .tile__v--sm { font-size: 17px; }
  .tile .big__v { font-size: 30px; }
  .tile--hero.big .big__v, .tile--wide.big .big__v { font-size: 40px; }
  .res__head--g { grid-template-columns: minmax(0, 1fr); }
  .res__head--g > .res__gauge { grid-column: 1; grid-row: auto; justify-self: center; width: min(100%, 230px); }
  .res__head--g > .tag, .res__head--g > .res__big { align-self: auto; }
  .tile--empty, .res .res__idle { min-height: 220px; }
}

/* Las diapositivas se pasan pulsando encima (hasta la última) */
.slides:not(.is-last) .slides__view, .demo:not(.is-last) > .mk { cursor: pointer; }

/* ====== Ordenador: cada pantalla cabe entera entre la cabecera y el pie, sin que la página haga scroll
   (lo pidió el dueño el 18/10/2026; en el móvil el scroll está bien). Se revisa con _herramientas/letsgodrop/medir-scroll.js ====== */
@media (min-width: 1024px) {
  .vista--paso { padding-top: 12px; padding-bottom: calc(var(--pie-h) + 4px); }
  .paso__head { margin-bottom: 18px; }
  .paso__d { margin-top: 6px; font-size: 17px; }

  /* 4.1 y 4.3: las dos tarjetas, una encima de otra, a la izquierda; la maqueta de Shopify, a la derecha */
  #paso-4\.1.is-on, #paso-4\.3.is-on { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); column-gap: 28px; align-items: start; }
  #paso-4\.1 > .paso__head, #paso-4\.3 > .paso__head { grid-column: 1 / -1; }
  #paso-4\.1 > .lay--even, #paso-4\.3 > .lay--even { grid-column: 1; grid-template-columns: minmax(0, 1fr); gap: 14px; }
  #paso-4\.3 > .note { grid-column: 1; margin-top: 14px; }
  #paso-4\.1 > .vis, #paso-4\.3 > .vis { grid-column: 2; grid-row: 2 / span 2; margin: 0; max-width: none; }
  #paso-4\.1 .card.pay, #paso-4\.3 .card.pay { gap: 12px; padding: 20px 22px; }

  /* 3.3: el móvil, del alto que queda; la lista, más junta */
  #paso-3\.3 .mk--phone { width: min(100%, 330px, max(200px, calc((100vh - 400px) * 0.4875))); }
  #paso-3\.3 .checks li .ck { padding: 9px 12px; }
  #paso-3\.3 .lay__col { gap: 14px; }

  /* 5.1: la cifra que manda, el ROAS y la comisión en una columna; el reparto del precio, al lado */
  #paso-5\.1 .bento { grid-template-areas: "hero split" "roas split" "fee split"; }
  #paso-5\.1 .bento > :nth-child(1) { grid-area: hero; }
  #paso-5\.1 .bento > :nth-child(2) { grid-column: 1 / -1; }
  #paso-5\.1 .bento > :nth-child(3) { grid-area: roas; }
  #paso-5\.1 .bento > :nth-child(4) { grid-area: fee; }
  #paso-5\.1 .bento > :nth-child(5) { grid-area: split; align-content: start; }
  #paso-5\.1 .bento > :nth-child(5) .donut-row { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 14px; }
  #paso-5\.1 .bento > :nth-child(5) .legend { width: 100%; }
  #paso-5\.1 .viz--donut { width: 168px; }

  /* 6.3: las tres cifras en una fila y, debajo, el gráfico */
  #paso-6\.3 .bento { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); }
  #paso-6\.3 .bento > #e-big { grid-column: 1; }
  #paso-6\.3 .bento > .chart { grid-column: 1 / -1; }
  #paso-6\.3 .tile--hero.big .big__v { font-size: 46px; }
  #paso-6\.3 .chart__hint { min-height: 150px; }

  /* Los prompts largos, del alto que quede (se desplazan por dentro); en la 2.5, el aviso más compacto */
  .prompt__text { max-height: clamp(110px, calc(100vh - 740px), 220px); }
  /* Los carruseles de maquetas, del alto que quede */
  .slides--mk { width: 100%; max-width: calc((100vh - 400px) * 1.55); justify-self: center; }
  #paso-2\.5 .lay__col > .note { padding: 10px 14px; font-size: 13.5px; }
}

/* Las páginas de fase no tienen pie: sin el hueco de abajo */
@media (min-width: 1024px) {
  .vista--fase { padding-bottom: 28px; }
}
/* Pantallas bajas (portátiles de 768 de alto): todo un poco más junto para que siga cabiendo */
@media (min-width: 1024px) and (max-height: 820px) {
  .vista--paso { padding-top: 4px; }
  .paso__head { margin-bottom: 10px; }
  .paso__t { font-size: clamp(28px, 2.8vw, 38px); }
  .paso__d { margin-top: 4px; font-size: 15.5px; }
  /* Las fases: el arte, los pasos y el recorrido del pedido, más pequeños */
  .fv__hero { gap: 28px; padding-bottom: 16px; }
  .fv__art { width: 140px; height: 140px; border-radius: 34px; }
  .fv__t { font-size: clamp(32px, 3.6vw, 46px); margin-bottom: 8px; }
  .fv__lead { font-size: 16.5px; }
  .fv__cta { margin-top: 16px; }
  .fv__step { min-height: 128px; padding: 14px 16px 16px; }
  .fv__step > .gi { --s: 40px; }
  .flow { padding: 18px 24px 14px; }
  .flow__i { width: 44px; height: 44px; border-radius: 14px; }
  .flow__back { margin-top: 12px; padding-top: 10px; }
  /* 4.1 y 4.3: tarjetas más ceñidas */
  #paso-4\.1 .card.pay, #paso-4\.3 .card.pay { gap: 8px; padding: 14px 18px; }
  #paso-4\.1 .pay__d, #paso-4\.3 .pay__d { font-size: 14px; line-height: 1.45; }
  /* 2.3: la demo puede ser algo más pequeña; 3.3: el móvil también */
  #paso-2\.3 .demo { max-width: max(380px, calc((100vh - 540px) * 900 / 580)); }
  #paso-3\.3 .mk--phone { width: min(100%, 330px, max(170px, calc((100vh - 400px) * 0.4875))); }
  /* 2.5: el aviso se queda fuera (lo enseña la demo); la ficha de la 3.2, más corta */
  #paso-2\.5 .lay__col > .note { display: none; }
  #paso-3\.2 .card.prod { padding-top: 12px; padding-bottom: 12px; }
  #paso-3\.2 .forge { gap: 10px; }
  .prompt__text { max-height: clamp(80px, calc(100vh - 740px), 220px); }
  #paso-4\.1 > .lay--even, #paso-4\.3 > .lay--even { gap: 8px; }
  #paso-4\.1 .card.pay .btn, #paso-4\.3 .card.pay .btn { height: 40px; }
  #paso-4\.1 .pay__ck { padding-top: 6px; padding-bottom: 6px; }
  #paso-5\.1 .viz--donut { width: 140px; }
  #paso-4\.1 .pay__logo, #paso-4\.3 .pay__logo { width: 42px; height: 42px; border-radius: 13px; padding: 7px; }
  #paso-4\.1 .pay__name, #paso-4\.3 .pay__name { font-size: 17px; }
  #paso-4\.1 .pay__top > div, #paso-4\.3 .pay__top > div { gap: 3px 8px; }
  #paso-4\.1 .pay__ck { margin-top: 0; padding-top: 6px; }
  #paso-3\.2 .fld { gap: 4px; }
  #paso-6\.1 .lay { gap: 20px; }
}

/* ====== El final: tu tienda en números, todo el recorrido en una pantalla ====== */
.fin { max-width: 1240px; margin: 0 auto; }
.fin__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 32px; margin: 0 0 28px; }
.fin__t { margin: 6px 0 12px; font-size: clamp(38px, 4.4vw, 62px); font-weight: 760; line-height: 1; letter-spacing: -0.055em; }
.fin__lead { margin: 0; font-size: 18px; color: var(--ink-soft); max-width: 46em; letter-spacing: -0.018em; }
.fin__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.fin__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.fin__c { display: grid; align-content: start; gap: 16px; padding: 24px 26px; min-width: 0; }
.fin__h { display: flex; align-items: center; gap: 11px; margin: 0; font-size: 16.5px; font-weight: 650; letter-spacing: -0.015em; }
.fin__h .gi { --s: 36px; border-radius: 11px; }
.fin__h > .tag { margin-left: auto; }
.fin__rows { list-style: none; margin: 0; padding: 0; display: grid; }
.fin__rows li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line-2); font-size: 15px; line-height: 1.35; color: var(--ink-soft); }
.fin__rows li:first-child { border-top: 0; padding-top: 0; }
.fin__rows b, .fin__rows a { flex: none; display: inline-flex; align-items: center; gap: 5px; font-weight: 680; font-variant-numeric: tabular-nums; }
.fin__rows b { color: var(--ink); }
.fin__rows b small { font-size: 12.5px; font-weight: 550; color: var(--ink-muted); }
.fin__rows .ic { width: 14px; height: 14px; }
.fin__rows .is-ok { color: var(--ok); }
.fin__rows .is-bad { color: var(--danger); }
.fin__rows .is-muted { color: var(--ink-muted); font-weight: 550; }
.fin__rows a { color: var(--brand); text-decoration: none; }
.fin__rows a:hover { text-decoration: underline; text-underline-offset: 3px; }
.fin__big { margin: 0; font-size: 44px; font-weight: 760; line-height: 1; letter-spacing: -0.05em; color: var(--hc); font-variant-numeric: tabular-nums; }
.fin__big small { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink-muted); }
.fin__split { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: center; }
.fin__donut { width: 156px; }
.fin__legend { margin: 0; }
.fin__legend li { padding-top: 7px; padding-bottom: 7px; font-size: 14px; }
.fin__empty { margin: 0; color: var(--ink-muted); font-size: 14px; }
.fin__c--prod.prod { grid-template-columns: 116px minmax(0, 1fr); gap: 18px; padding: 24px 26px; }
.fin__c--prod .prod__name { font-size: 22px; }
.fin__c--prod .prod__nums { gap: 12px 28px; margin-top: 14px; padding-top: 14px; }
.fin__phases { margin-top: 18px; padding: 22px 24px 18px; }
.fin__phases > .fin__h { margin-bottom: 14px; }
.fin__rings { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.fin__ph { position: relative; display: grid; justify-items: center; gap: 6px; padding: 10px 4px 8px; border-radius: 16px; text-decoration: none; color: var(--ink-soft); text-align: center; transition: background .25s; }
.fin__ph:hover { background: var(--fill-2); }
.fin__pr { position: relative; display: grid; place-items: center; width: 56px; height: 56px; }
.fin__pr .ring { position: absolute; inset: 0; width: 56px; height: 56px; }
.fin__phn { display: grid; place-items: center; color: var(--hc); transition: transform .45s var(--ease-spring); }
.fin__phn .ic { width: 22px; height: 22px; }
.fin__ph:hover .fin__phn { transform: scale(1.12); }
.fin__ph small { font-size: 13.5px; font-weight: 650; line-height: 1.25; letter-spacing: -0.015em; color: var(--ink); }
.fin__ph em { font-style: normal; font-size: 12.5px; font-weight: 550; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.fin__ph.is-done em { color: var(--ok); }
@media (max-width: 1100px) {
  .fin__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fin__rings { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .fin__grid { grid-template-columns: minmax(0, 1fr); }
  .fin__head { display: block; }
  .fin__cta { margin-top: 14px; }
  .fin__rings { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fin__c--prod.prod { grid-template-columns: 84px minmax(0, 1fr); }
  /* Cada venta, repartida: el donut arriba y su leyenda debajo, a lo ancho */
  .fin__split { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 16px; }
  .fin__legend { width: 100%; }
}

/* ====== El generador de políticas, sin scroll en el ordenador ======
   Tus datos en una banda de cuatro columnas; debajo, devoluciones y envíos lado a lado. Ya generadas, el texto
   de la política llena el hueco que queda (y es él el que baja, no la hoja). */
@media (min-width: 1024px) {
  .sheet__head { padding: 16px 26px 13px; }
  .sheet__t { font-size: 27px; }
  .sheet__body#polgen { padding: 16px 26px 20px; }
  .pol__intro { margin: 0 0 12px; font-size: 14.5px; }
  .pol__form { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 12px; }
  .pol__g { gap: 10px 14px; padding: 15px 18px 17px; border-radius: 22px; }
  .pol__g legend { grid-column: 1 / -1; margin: 0; font-size: 14.5px; }
  .pol__g--tienda { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pol__g--envios { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pol__g .fld { gap: 5px; }
  .pol__g .fld__l { font-size: 13px; }
  .pol__g .fld__box { height: 44px; padding: 0 13px; }
  .pol__g .fld__box input, .pol__g .fld__box select { font-size: 15px; }
  .pol__go { margin-top: 12px; padding-top: 14px; }
  /* El formulario, a su altura; ya generadas, la hoja entera para el texto */
  .sheet__win:has(#polgen:not(.is-out)) { height: auto; max-height: min(92vh, 900px); }
  /* Ya generadas */
  #polgen.is-out { display: flex; flex-direction: column; }
  #polgen.is-out .pol__top { margin-bottom: 12px; }
  #polgen.is-out .pol__tabs { margin-bottom: 12px; }
  #polgen.is-out .pol__p.is-on { flex: 1 1 auto; min-height: 0; grid-template-rows: minmax(0, 1fr) auto auto; }
  #polgen.is-out .pol__p textarea { height: 100%; min-height: 160px; resize: none; }
  #polgen.is-out .pol__end { margin-top: 14px; padding-top: 14px; }
}
@media (min-width: 1024px) and (max-height: 820px) {
  .sheet { padding: 12px; }
  .sheet__win { height: calc(100vh - 24px); }
  .sheet__win:has(#polgen:not(.is-out)) { height: auto; max-height: calc(100vh - 24px); }
  .sheet__head { padding: 12px 22px 10px; }
  .sheet__head .kicker { margin-bottom: 2px; }
  .sheet__t { font-size: 24px; }
  .sheet__body#polgen { padding: 12px 22px 14px; }
  .pol__intro { margin-bottom: 10px; font-size: 14px; }
  .pol__form { gap: 10px; }
  .pol__g { gap: 8px 12px; padding: 12px 16px 14px; border-radius: 20px; }
  .pol__g .fld { gap: 4px; }
  .pol__g .fld__box { height: 40px; }
  .pol__go { margin-top: 10px; padding-top: 10px; }
  .pol__go .btn { height: 44px; }
}
