/* Relevo Lab, opción H: lenguaje visual de producto, adaptado a los servicios de Relevo Lab.
   Fondos que alternan blanco, gris y negro; titulares grandes y centrados; píldora azul. */

:root {
  --white: #FFFFFF;
  --gray: #F5F5F7;
  --gray-2: #E8E8ED;
  --black: #000000;
  --ink: #1D1D1F;
  --ink-soft: #424245;
  --ink-2: #6E6E73;
  --ink-3: #86868B;
  --blue: #0071E3;
  --blue-hover: #0062C4;
  --link: #0066CC;
  --link-dark: #2997FF;
  --panel-dark: #1D1D1F;
  --line: #D2D2D7;
  --warn: #B64400;
  --warn-dark: #FF9F0A;
  --ok: #008009;
  --ok-dark: #30D158;
  --err-dark: #FF6961;

  --font: -apple-system, BlinkMacSystemFont, "Inter", "Helvetica Neue", sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --gutter: 22px;
  --wrap: 1040px;
  --edge: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  --section: 160px;
  --nav: 48px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.016em;
  font-feature-settings: "kern";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 0.18em; }
button { font: inherit; letter-spacing: inherit; color: inherit; }
img, svg { display: block; }
::selection { background: rgba(0, 113, 227, 0.22); }
input { caret-color: var(--link-dark); }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.story :focus-visible, .nums :focus-visible, .close :focus-visible { outline-color: var(--link-dark); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 980px; background: var(--ink); color: var(--white); font-size: 15px; }
.skip:focus { top: 8px; }

.wrap { width: min(var(--wrap), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.wrap--narrow { width: min(820px, calc(100% - 2 * var(--gutter))); }

.h2 {
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.06;
  font-weight: 600;
  letter-spacing: -0.032em;
  text-wrap: balance;
}
.h2--center { text-align: center; }

/* ---------- el símbolo: dos barras que se pasan la posta ---------- */
.sym path { fill: none; stroke-width: 10; stroke-linecap: round; }
.sym .sym__a { stroke: var(--blue); }
.sym .sym__b { stroke: var(--ink); }
.sym path { transform-box: fill-box; }

/* ---------- botones y enlaces ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 11px 22px;
  border: 0; border-radius: 980px;
  background: var(--blue); color: var(--white);
  font-size: 17px; line-height: 1.3; font-weight: 400; letter-spacing: -0.016em; white-space: nowrap;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
  -webkit-tap-highlight-color: transparent;
}
.pill:hover { background: var(--blue-hover); text-decoration: none; }
.pill:active { transform: scale(0.97); }
.pill--sm { min-height: 30px; padding: 5px 14px; font-size: 14px; }

.more { display: inline-flex; align-items: center; min-height: 44px; font-size: 17px; color: var(--link); -webkit-tap-highlight-color: transparent; }
.more::after { content: "\203A"; display: inline-block; margin-left: 0.28em; font-size: 1.15em; line-height: 1; transform: translateY(-0.04em); transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .more:hover::after { transform: translate(3px, -0.04em); } }
.link { color: var(--link-dark); }

/* ---------- una sola barra: fija, delgada y translúcida ---------- */
.snav {
  position: sticky; top: 0; z-index: 50; height: var(--nav);
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}
.snav__in { position: relative; display: flex; align-items: center; gap: 24px; height: 100%; width: min(var(--wrap), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.snav__name { display: inline-flex; align-items: center; height: 44px; margin-right: auto; }
.snav .logo { height: 19px; }
@media (max-width: 380px) { .snav .logo { height: 15px; } }
.snav__links { display: flex; gap: 24px; }
.snav__links a { display: inline-flex; align-items: center; height: 44px; font-size: 13px; color: var(--ink-soft); letter-spacing: -0.01em; transition: color 200ms ease; }
.snav__links a:hover { color: var(--ink); text-decoration: none; }
.snav__links a[aria-current="true"] { color: var(--ink); }
.snav__toggle { display: none; }

@media (prefers-reduced-transparency: reduce) {
  .snav { background: var(--white); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ---------- 1. portada ---------- */
.hero { position: relative; background: var(--gray); padding: 56px 0 96px; text-align: center; overflow: clip; }
.hero__copy { width: min(900px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.sym--hero { width: 60px; height: auto; margin: 0 auto 18px; }
.hero__title { font-size: clamp(76px, 10vw, 144px); line-height: 0.98; font-weight: 600; letter-spacing: -0.04em; }
.hero__line { margin-top: 10px; font-size: clamp(28px, 3.3vw, 44px); line-height: 1.12; font-weight: 600; letter-spacing: -0.028em; }
.hero__sub { max-width: 36ch; margin: 16px auto 0; font-size: clamp(19px, 1.6vw, 21px); line-height: 1.38; color: var(--ink-2); letter-spacing: -0.01em; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 28px; margin-top: 28px; }

.stage { --pw: 316px; --ph: 648px; position: relative; width: min(1120px, calc(100% - 2 * var(--gutter))); height: calc(var(--ph) + 24px); margin: clamp(44px, 4.4vw, 64px) auto 0; text-align: left; }
.stage__note { margin-top: 20px; font-size: 14px; color: var(--ink-2); }
.hero__bot { max-width: 32em; margin: 28px auto 0; padding-inline: var(--gutter); font-size: clamp(17px, 1.5vw, 19px); line-height: 1.47; color: var(--ink); }

.phone-wrap { position: absolute; z-index: 2; top: 0; left: calc(50% - var(--pw) / 2); width: var(--pw); }
.phone[data-ui] {
  position: relative; height: var(--ph); padding: 11px;
  border-radius: 58px; background: #1D1D1F;
  box-shadow: inset 0 0 0 2px #3A3A3C, 0 0 0 1px #A1A1A6, 0 60px 90px -40px rgba(0, 0, 0, 0.38);
  transform-origin: 50% 0;
}
.phone__screen { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 47px; background: var(--white); }
.phone__status { position: relative; display: flex; align-items: center; justify-content: space-between; height: 46px; padding: 6px 28px 0 32px; font-size: 14px; font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.phone__cam { position: absolute; left: 50%; top: 13px; width: 13px; height: 13px; margin-left: -6.5px; border-radius: 50%; background: #0B0B0C; }
.phone__bat { position: relative; width: 25px; height: 12px; border-radius: 4px; background: var(--ink); }
.phone__bat::after { content: ""; position: absolute; right: -3px; top: 4px; width: 2px; height: 4px; border-radius: 0 2px 2px 0; background: var(--ink); }

.chat__head { display: flex; align-items: center; gap: 10px; padding: 8px 18px 12px; background: var(--white); }
.ava { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--blue); }
.ava svg, .typing svg { width: 20px; height: auto; overflow: visible; }
.ava path, .typing path { fill: none; stroke-width: 10; stroke-linecap: round; transform-box: fill-box; }
.ava path { stroke: var(--white); }
.typing path.ava__a { stroke: var(--blue); }
.typing path.ava__b { stroke: var(--ink); }
.chat__head.is-typing .ava__a, .typing .ava__a { animation: posta-a 1000ms var(--ease-io) infinite; }
.chat__head.is-typing .ava__b, .typing .ava__b { animation: posta-b 1000ms var(--ease-io) infinite; }
@keyframes posta-a { 0%, 100% { transform: translateX(-9px); } 50% { transform: translateX(9px); } }
@keyframes posta-b { 0%, 100% { transform: translateX(9px); } 50% { transform: translateX(-9px); } }
.chat__who { display: flex; flex-direction: column; line-height: 1.2; }
.chat__who b { font-size: 15px; font-weight: 600; }
.chat__who span { font-size: 12px; color: var(--ink-2); }

.chat__log { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 8px; overflow-y: auto; scrollbar-width: none; background: var(--white); }
.chat__log { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 12px); mask-image: linear-gradient(to bottom, transparent 0, #000 12px); }
.chat__log::-webkit-scrollbar { display: none; }
.msg { max-width: 80%; padding: 8px 12px; border-radius: 18px; font-size: 14px; line-height: 1.34; letter-spacing: -0.01em; transform-origin: 0 100%; }
.msg b { font-weight: 600; }
.msg--bot { align-self: flex-start; background: #E9E9EB; color: var(--ink); border-bottom-left-radius: 6px; }
.msg--me { align-self: flex-end; background: var(--blue); color: var(--white); border-bottom-right-radius: 6px; transform-origin: 100% 100%; }
.msg--note { align-self: center; max-width: 92%; padding: 4px 8px; font-size: 12px; color: var(--ink-2); text-align: center; }
.msg--typing { display: flex; align-items: center; padding: 11px 16px; }
.typing { display: block; width: 26px; }
.typing svg { width: 26px; }
.msg.is-new { animation: msg-in 320ms var(--ease-out) backwards; }
@keyframes msg-in { from { opacity: 0; transform: translateY(8px) scale(0.96); } }

.chat__chips { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; padding: 8px 12px 22px; background: var(--white); }
.chip {
  min-height: 32px; padding: 6px 12px; border: 0; border-radius: 980px;
  background: #EEF4FC; color: var(--link); font-size: 13px; line-height: 1.4; text-align: left;
  cursor: pointer; transition: transform 140ms var(--ease-out), opacity 200ms ease;
  -webkit-tap-highlight-color: transparent;
}
.chip:active { transform: scale(0.96); }
.chip:disabled { opacity: 0.45; cursor: default; }
.chip.is-new { animation: msg-in 280ms var(--ease-out) backwards; animation-delay: calc(var(--n, 0) * 50ms); }

/* tarjetas flotantes en capas */
.float { position: absolute; z-index: 1; }
.float__step { display: none; }
.float--sheet { top: 38%; right: calc(50% + var(--pw) / 2 + 28px); width: min(360px, calc(50% - var(--pw) / 2 - 36px)); }
.float--alert { top: 9%; left: calc(50% + var(--pw) / 2 + 28px); width: min(340px, calc(50% - var(--pw) / 2 - 36px)); }
.float__card[data-ui] {
  position: relative; padding: 16px 18px 14px; border-radius: 22px; background: var(--white);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04), 0 30px 60px -24px rgba(0, 0, 0, 0.24);
}
.card__bar { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; font-size: 13px; }
.card__bar b { font-weight: 600; }
.card__bar span { color: var(--ink-2); }
.card__foot { margin-top: 8px; font-size: 12px; color: var(--ok); font-weight: 500; }

.sheet { position: relative; }
.sheet__t { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.sheet__t th { padding: 4px 6px 6px; text-align: left; font-size: 11px; font-weight: 500; color: var(--ink-2); }
.sheet__t td { padding: 7px 6px; border-top: 1px solid #E8E8ED; white-space: nowrap; }
.sheet__t .n { text-align: right; }
.sheet__t td > span { display: block; }
.sheet__t tr.is-new td { overflow: hidden; }
.sheet__t tr.is-new td > span { animation: cell-up 520ms var(--ease-out) backwards; }
.sheet__t tr.is-new td:nth-child(2) > span { animation-delay: 60ms; }
.sheet__t tr.is-new td:nth-child(3) > span { animation-delay: 120ms; }
@keyframes cell-up { from { transform: translateY(110%); } }
.sheet__hl { position: absolute; left: 12px; right: 12px; top: 0; height: 33px; border-radius: 8px; background: rgba(0, 113, 227, 0.1); opacity: 0; pointer-events: none; transition: opacity 900ms ease; }
.sheet__hl.is-on { opacity: 1; transition-duration: 120ms; }

.alert__top { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-2); }
.alert__app { width: 20px; height: 20px; flex: none; }
.alert__app rect { fill: var(--ink); }
.alert__app path { fill: none; stroke-width: 5; stroke-linecap: round; }
.alert__app .a { stroke: var(--link-dark); }
.alert__app .b { stroke: var(--white); }
.alert__from { font-weight: 600; color: var(--ink); }
.alert__when { margin-left: auto; }
.alert__prod { margin-top: 8px; font-size: 15px; font-weight: 600; letter-spacing: -0.012em; }
.alert__meter { position: relative; height: 6px; margin: 10px 0 8px; border-radius: 3px; background: var(--gray-2); }
.alert__fill { position: absolute; inset: 0; border-radius: 3px; background: var(--warn); transform-origin: 0 50%; transform: scaleX(var(--v, 0.2)); transition: transform 700ms var(--ease-out); }
.alert__min { position: absolute; top: -3px; width: 2px; height: 12px; border-radius: 1px; background: var(--ink); left: calc(var(--m, 0.6) * 100%); }
.alert__txt { font-size: 13px; color: var(--ink-2); }
.alert__body.is-swap { animation: swap-in 460ms var(--ease-out); }
@keyframes swap-in { from { opacity: 0; transform: translateY(-10px) scale(0.98); } }

/* carga de la portada (CSS: corre aunque falle el script) */
@media (prefers-reduced-motion: no-preference) {
  html.js .sym--hero .sym__a { animation: bar-run 900ms var(--ease-out) 60ms backwards; --from: -30px; }
  html.js .sym--hero .sym__b { animation: bar-run 1000ms var(--ease-out) 300ms backwards; --from: -52px; }
  html.js .hero__title { animation: rise 1000ms var(--ease-out) 120ms backwards; --rise: 30px; }
  html.js .hero__line { animation: rise 1000ms var(--ease-out) 200ms backwards; --rise: 22px; }
  html.js .hero__sub { animation: rise 1000ms var(--ease-out) 270ms backwards; --rise: 18px; }
  html.js .hero__cta { animation: rise 1000ms var(--ease-out) 330ms backwards; --rise: 14px; }
  html.js .phone-wrap { animation: rise 1300ms var(--ease-out) 300ms backwards; --rise: 90px; }
  html.js .float--alert { animation: float-in 1200ms var(--ease-out) 620ms backwards; }
  html.js .float--sheet { animation: float-in 1200ms var(--ease-out) 720ms backwards; }
  html.js .stage__note { animation: rise 900ms var(--ease-out) 900ms backwards; --rise: 8px; }
}
@keyframes rise { from { opacity: 0; transform: translateY(var(--rise, 24px)); } }
@keyframes float-in { from { opacity: 0; transform: translateY(40px) scale(0.96); } }
@keyframes bar-run { from { opacity: 0; transform: translateX(var(--from, -30px)); } }

/* ---------- 2. lo más destacado ---------- */
.hl { padding-block: var(--section) calc(var(--section) - 24px); background: var(--white); overflow: clip; }
.hl__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.hl__head .more { font-size: clamp(17px, 1.5vw, 21px); }
.hl__view { margin-top: clamp(32px, 4vw, 56px); padding-inline: var(--edge); }
.hl__track { --cw: min(1000px, calc(100vw - 2 * var(--edge) - 36px)); --ch: clamp(520px, 44vw, 640px); display: flex; gap: 20px; }
.hl__card { position: relative; flex: 0 0 var(--cw); height: var(--ch); padding: 48px; border-radius: 28px; background: var(--gray); overflow: hidden; }
.hl__cap { position: relative; z-index: 1; max-width: 23em; font-size: clamp(19px, 2vw, 28px); line-height: 1.38; font-weight: 600; letter-spacing: -0.024em; color: var(--ink-2); }
.hl__cap b { color: var(--ink); font-weight: 600; }
.hl.is-armed .hl__cap { transition: opacity 600ms ease; }
.hl.is-armed .hl__card:not(.is-on) .hl__cap { opacity: 0; }

/* sin script: el carrusel se desliza a mano */
.hl:not(.is-ready) .hl__view { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge); scrollbar-width: none; }
.hl:not(.is-ready) .hl__card { scroll-snap-align: start; }
.hl.is-ready .hl__view { touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.hl.is-ready .hl__view.is-drag { cursor: grabbing; }
.hl.is-ready .hl__track { transition: transform 900ms var(--ease-drawer); will-change: transform; }
.hl.is-ready .hl__track.is-drag { transition: none; }

.hl__vis[data-ui] { position: absolute; left: clamp(20px, 3.4vw, 48px); right: clamp(20px, 3.4vw, 48px); bottom: clamp(20px, 3vw, 44px); top: 40%; }

/* tarjeta 1: muchas formas de preguntar, una respuesta */
.vis-ask[data-ui] .ask, .vis-ask[data-ui] .ask__ans {
  position: absolute; padding: 12px 20px; border-radius: 24px; background: var(--white);
  font-size: clamp(15px, 1.6vw, 21px); line-height: 1.3; white-space: nowrap;
  box-shadow: 0 10px 30px -14px rgba(0, 0, 0, 0.18);
}
.vis-ask .ask--1 { left: 4%; top: 2%; }
.vis-ask .ask--2 { left: 46%; top: 0; }
.vis-ask .ask--3 { right: 3%; top: 20%; }
.vis-ask .ask--4 { left: 10%; top: 32%; }
.vis-ask .ask--5 { left: 52%; top: 44%; }
.vis-ask[data-ui] .ask__ans { left: 50%; bottom: 4%; transform: translateX(-50%); background: var(--blue); color: var(--white); font-weight: 600; }

/* tarjeta 2: carga de ventas */
.vis-load { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: end; }
.load__win[data-ui], .vis-load[data-ui] .load__win { padding: 16px 18px; border-radius: 18px; background: var(--white); box-shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.2); }
.load__bar { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 13px; }
.load__bar span { color: var(--ink-2); }
.load__rows li { display: grid; grid-template-columns: 1fr 1.2fr 0.4fr; gap: 8px; padding: 9px 4px; font-size: 14px; font-variant-numeric: tabular-nums; }
.vis-load[data-ui] .load__rows li + li { border-top: 1px solid #E8E8ED; }
.load__rows .n { text-align: right; }
.load__done { display: flex; flex-direction: column; gap: 4px; padding: 0 4px 6px; }
.load__n { font-size: clamp(56px, 7vw, 96px); line-height: 1; font-weight: 600; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.load__done span:last-child { font-size: 17px; color: var(--ok); font-weight: 600; }

/* tarjeta 3: niveles de stock */
.vis-stock { display: flex; flex-direction: column; justify-content: flex-end; gap: 18px; }
.lvl { display: flex; flex-direction: column; gap: 18px; }
.lvl li { display: grid; grid-template-columns: minmax(110px, 0.9fr) 2.4fr 40px; align-items: center; gap: 16px; font-size: clamp(14px, 1.4vw, 17px); }
.lvl__bar { position: relative; height: 12px; border-radius: 6px; background: var(--gray-2); }
.lvl__fill { position: absolute; inset: 0; border-radius: 6px; background: var(--blue); transform-origin: 0 50%; transform: scaleX(var(--v)); }
.lvl li:nth-child(n+2) .lvl__fill { background: var(--warn); }
.lvl__min { position: absolute; top: -5px; width: 3px; height: 22px; border-radius: 2px; background: var(--ink); left: calc(var(--m) * 100%); }
.lvl__q { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.lvl__note { align-self: flex-start; padding: 8px 14px; border-radius: 980px; background: var(--white); color: var(--warn); font-size: 15px; font-weight: 600; }

/* tarjeta 4: avisos del día */
.vis-notes { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 10px; }
.vis-notes[data-ui] .note {
  position: relative; display: flex; align-items: flex-start; gap: 12px; width: min(440px, 100%);
  padding: 14px 16px; border-radius: 20px; background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 40px -22px rgba(0, 0, 0, 0.24); font-size: 14px; line-height: 1.3;
}
.note__app { position: relative; flex: none; width: 28px; height: 28px; margin-top: 1px; border-radius: 7px; background: var(--ink); }
.note__app::before, .note__app::after { content: ""; position: absolute; width: 11px; height: 4px; border-radius: 2px; }
.note__app::before { left: 5px; top: 8px; background: var(--link-dark); }
.note__app::after { left: 11px; top: 16px; background: var(--white); }
.note__txt { display: flex; flex: 1; flex-direction: column; gap: 2px; min-width: 0; }
.note b { font-weight: 600; }
.note__txt span { color: var(--ink-soft); }
.note time { flex: none; color: var(--ink-2); font-size: 13px; }
.vis-notes .note + .note { width: min(410px, 94%); }
.vis-notes .note + .note + .note { width: min(380px, 88%); }

/* tarjeta 5: portal */
.vis-portal { display: flex; align-items: flex-end; justify-content: center; }
.portal__win[data-ui], .vis-portal[data-ui] .portal__win { width: min(620px, 100%); padding: 16px 18px 10px; border-radius: 18px; background: var(--white); box-shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.2); }
.portal__bar { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 13px; }
.portal__bar span { color: var(--ink-2); }
.portal__rows li { display: grid; grid-template-columns: 0.8fr 1.2fr auto; align-items: center; gap: 10px; padding: 11px 4px; font-size: 14px; }
.vis-portal[data-ui] .portal__rows li + li { border-top: 1px solid #E8E8ED; }
.st { padding: 3px 10px; border-radius: 980px; background: var(--gray); color: var(--ink-soft); font-size: 13px; white-space: nowrap; }
.st--rev { background: #FFF4E5; color: var(--warn); }
.st--ok { background: #E9F7EC; color: var(--ok); }

/* tarjeta 5: la tienda en un navegador genérico */
.browser { overflow: hidden; border-radius: 14px; background: var(--white); }
.browser__bar { display: flex; align-items: center; gap: 12px; padding: 8px 14px; background: var(--gray-2); }
.browser__dots { display: flex; gap: 6px; }
.browser__dots span { width: 9px; height: 9px; border-radius: 50%; background: #C7C7CC; }
.browser__url { flex: 1; max-width: 260px; margin: 0 auto; padding: 3px 10px; border-radius: 7px; background: var(--white); color: var(--ink-2); font-size: 13px; line-height: 1.3; text-align: center; transform: translateX(-24px); }
.browser img { display: block; width: 100%; height: auto; }
.vis-web { position: absolute; left: 48px; right: 48px; bottom: 0; top: 30%; display: flex; align-items: flex-end; justify-content: center; }
.browser--hl { width: min(760px, 100%); max-height: 100%; border-radius: 14px 14px 0 0; }

/* lo que se mueve dentro de cada tarjeta cuando le toca */
@media (prefers-reduced-motion: no-preference) {
  .hl.is-armed .hl__card .ask,
  .hl.is-armed .hl__card .note,
  .hl.is-armed .hl__card .load__rows li,
  .hl.is-armed .hl__card .portal__rows li { opacity: 0; transform: translateY(16px); transition: opacity 500ms ease, transform 700ms var(--ease-out); }
  .hl.is-armed .hl__card .ask__ans, .hl.is-armed .hl__card .load__done, .hl.is-armed .hl__card .lvl__note { opacity: 0; transition: opacity 500ms ease, transform 700ms var(--ease-out); }
  .hl.is-armed .hl__card .ask__ans { transform: translate(-50%, 16px) scale(0.96); }
  .hl.is-armed .hl__card .load__done, .hl.is-armed .hl__card .lvl__note { transform: translateY(12px); }
  .hl.is-armed .hl__card .lvl__fill { transform: scaleX(0); transition: transform 1100ms var(--ease-out); }

  .hl.is-armed .hl__card.is-on .ask,
  .hl.is-armed .hl__card.is-on .note,
  .hl.is-armed .hl__card.is-on .load__rows li,
  .hl.is-armed .hl__card.is-on .portal__rows li { opacity: 1; transform: none; transition-delay: calc(var(--k, 0) * 110ms + 200ms); }
  .hl.is-armed .hl__card.is-on .ask__ans { opacity: 1; transform: translate(-50%, 0); transition-delay: 900ms; }
  .hl.is-armed .hl__card.is-on .load__done { opacity: 1; transform: none; transition-delay: 700ms; }
  .hl.is-armed .hl__card.is-on .lvl__note { opacity: 1; transform: none; transition-delay: 1000ms; }
  .hl.is-armed .hl__card.is-on .lvl__fill { transform: scaleX(var(--v)); transition-delay: calc(var(--k, 0) * 120ms + 250ms); }
  .hl.is-armed .hl__card .browser--hl { opacity: 0; transform: translateY(48px) scale(0.97); transform-origin: 50% 100%; transition: opacity 600ms ease, transform 1100ms var(--ease-out); }
  .hl.is-armed .hl__card.is-on .browser--hl { opacity: 1; }
  .hl.is-armed .hl__card.is-on .browser--hl { transform: none; transition-delay: 150ms; }
}

/* puntos de avance y pausa */
.hl__ctrl { display: none; align-items: center; justify-content: center; gap: 14px; margin-top: 32px; }
.hl.is-ready .hl__ctrl { display: flex; }
.dots { position: relative; width: 172px; height: 52px; border-radius: 980px; background: var(--gray-2); }
.dot { position: absolute; left: 0; top: 4px; width: 24px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; transition: transform 500ms var(--ease-drawer); -webkit-tap-highlight-color: transparent; }
.dot[aria-current="true"] { width: 56px; }
.dot::before, .dot__fill { content: ""; position: absolute; left: 8px; top: 18px; width: 40px; height: 8px; border-radius: 4px; }
.dot::before { background: var(--ink-3); clip-path: inset(0 32px 0 0 round 4px); transition: clip-path 500ms var(--ease-drawer); }
.dot[aria-current="true"]::before { clip-path: inset(0 0 0 0 round 4px); }
.dot__fill { background: var(--ink); clip-path: inset(0 0 0 0 round 4px); transform-origin: 0 50%; transform: scaleX(0); opacity: 0; }
.dot[aria-current="true"] .dot__fill { opacity: 1; }
.hl.is-playing .dot[aria-current="true"] .dot__fill { animation: dot-run var(--dur, 6000ms) linear forwards; }
.hl.is-paused .dot[aria-current="true"] .dot__fill { animation-play-state: paused; }
.hl:not(.is-playing) .dot[aria-current="true"] .dot__fill { transform: scaleX(1); }
@keyframes dot-run { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (hover: hover) and (pointer: fine) { .dot:not([aria-current="true"]):hover::before { background: var(--ink-2); } }

.play { display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: var(--gray-2); color: var(--ink); cursor: pointer; transition: transform 160ms var(--ease-out), background-color 200ms ease; -webkit-tap-highlight-color: transparent; }
.play:hover { background: #DCDCE1; }
.play:active { transform: scale(0.94); }
.play svg { grid-area: 1 / 1; width: 20px; height: 20px; fill: currentColor; transition: opacity 180ms ease, transform 220ms var(--ease-out); }
.play .play__play { opacity: 0; transform: scale(0.7); }
.hl:not(.is-playing) .play .play__pause, .hl.is-paused .play .play__pause { opacity: 0; transform: scale(0.7); }
.hl:not(.is-playing) .play .play__play, .hl.is-paused .play .play__play { opacity: 1; transform: none; }

/* etiqueta de los fragmentos de interfaz */
[data-ui] .ui-tag { font-size: 12px; line-height: 1.3; color: var(--ink-2); text-align: right; }
.hl__vis[data-ui] > .ui-tag { position: absolute; right: 0; top: -28px; }
.tile__vis[data-ui] > .ui-tag { margin: -6px 0 10px; }

/* ---------- 3. un día con Relevo Lab (escena fija) ---------- */
.story { background: var(--black); color: #F5F5F7; }
.scene > .scene-stage { position: relative; }
.story__stage { padding-block: var(--section); }
.story__h { color: #F5F5F7; }
.story__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(32px, 6vw, 88px); row-gap: 72px; align-items: center; margin-top: 56px; }
.beat { grid-column: 1; grid-row: var(--r); }
.shot { grid-column: 2; grid-row: var(--r); }
.beat__time { overflow: hidden; font-size: clamp(64px, 8vw, 112px); line-height: 1.02; font-weight: 600; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; color: #F5F5F7; }
.beat__time span { display: block; }
.beat__txt { max-width: 22em; margin-top: 14px; font-size: clamp(21px, 2.1vw, 28px); line-height: 1.3; font-weight: 600; letter-spacing: -0.022em; color: var(--ink-3); }
.beat__txt b { color: #F5F5F7; font-weight: 600; }
.story__prog { display: none; }

.shot[data-ui] { min-height: 340px; padding: 26px 28px 28px; border-radius: 28px; background: var(--panel-dark); color: #F5F5F7; }
.shot__bar { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 22px; font-size: 15px; }
.shot__bar b { font-weight: 600; }
.shot__bar span { font-size: 13px; color: var(--ink-3); }
.shot__chat { display: flex; flex-direction: column; gap: 10px; }
.bub { max-width: 82%; padding: 11px 15px; border-radius: 20px; font-size: 17px; line-height: 1.32; }
.bub--in { align-self: flex-start; background: #2C2C2E; border-bottom-left-radius: 6px; }
.bub--out { align-self: flex-end; background: var(--blue); color: var(--white); border-bottom-right-radius: 6px; }
.shot__ok { margin-top: 18px; font-size: 15px; font-weight: 600; color: var(--ok-dark); }
.shot__t { width: 100%; border-collapse: collapse; font-size: 16px; font-variant-numeric: tabular-nums; }
.shot__t th { padding: 0 8px 10px; text-align: left; font-size: 13px; font-weight: 500; color: var(--ink-3); }
.shot__t td { position: relative; padding: 12px 8px; border-top: 1px solid #3A3A3C; }
.shot__t .n { text-align: right; }
.shot__new td { color: var(--link-dark); font-weight: 600; }
.shot__prod { font-size: 17px; color: var(--ink-3); }
.shot__count { margin-top: 4px; font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }
.shot__big { display: inline-block; font-size: 64px; line-height: 1; letter-spacing: -0.04em; margin-right: 6px; vertical-align: -0.06em; }
.shot__meter { position: relative; height: 10px; margin: 22px 0 18px; border-radius: 5px; background: #3A3A3C; }
.shot__fill { position: absolute; inset: 0; border-radius: 5px; background: var(--warn-dark); transform-origin: 0 50%; transform: scaleX(0.4); }
.shot__min { position: absolute; left: 50%; top: -5px; width: 3px; height: 20px; border-radius: 2px; background: #F5F5F7; }
.shot__warn { font-size: 17px; color: #F5F5F7; }
.shot__warn b { color: var(--warn-dark); font-weight: 600; }
.shot__mail div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; font-size: 17px; }
.shot[data-ui] .shot__mail div + div { border-top: 1px solid #3A3A3C; }
.shot__mail dt { color: var(--ink-3); }
.shot__mail dd { font-weight: 600; font-variant-numeric: tabular-nums; }

/* escena en marcha: el escenario queda fijo mientras avanza el día */
html.js .scene.is-live { height: calc((var(--hold, 3) + 1) * 100svh); }
html.js .scene.is-live > .scene-stage { position: sticky; top: 0; height: 100svh; padding-block: 0; overflow: clip; display: flex; align-items: center; }
.scene.is-live .story__in { padding-top: calc(var(--nav) + 8px); }
.scene.is-live .story__grid { margin-top: clamp(28px, 4vh, 48px); row-gap: 0; }
.scene.is-live .beat, .scene.is-live .shot { grid-row: 1; will-change: transform, opacity; }
.scene.is-live .story__prog { display: flex; gap: 8px; margin-top: clamp(28px, 4vh, 44px); }
.story__prog > span { position: relative; width: 56px; height: 4px; border-radius: 2px; background: #424245; overflow: hidden; }
.story__prog > span > span { position: absolute; inset: 0; border-radius: 2px; background: #F5F5F7; transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- 4. mosaicos ---------- */
.tiles { padding-block: var(--section); background: var(--white); }
.tiles__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: clamp(40px, 5vw, 64px); }
.tile { display: flex; flex-direction: column; align-items: center; min-height: 500px; padding: clamp(40px, 4.4vw, 56px) clamp(24px, 3vw, 40px) 0; border-radius: 28px; background: var(--gray); text-align: center; overflow: hidden; }
.tile h3 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.08; font-weight: 600; letter-spacing: -0.03em; }
.tile > p { margin-bottom: 36px; }
.tile > p, .tile__copy p { max-width: 24em; margin-top: 10px; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.4; letter-spacing: -0.012em; }
.tile__vis[data-ui] {
  width: min(460px, 100%); margin-top: auto; padding: 24px 24px 30px; border-radius: 22px 22px 0 0;
  background: var(--white); text-align: left; box-shadow: 0 -10px 40px -26px rgba(0, 0, 0, 0.18);
  transform: translateY(8px);
}
.tb { max-width: 84%; margin-bottom: 8px; padding: 9px 13px; border-radius: 18px; font-size: 15px; line-height: 1.3; width: fit-content; }
.tb--in { background: #E9E9EB; border-bottom-left-radius: 6px; }
.tb--out { margin-left: auto; background: var(--blue); color: var(--white); border-bottom-right-radius: 6px; }
.tb__note { margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--ok); }
.tt { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.tt th { padding: 0 6px 8px; text-align: left; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.tt td { padding: 10px 6px; border-top: 1px solid #E8E8ED; }
.tt .n { text-align: right; }
.tm div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 2px; font-size: 15px; }
.tile__vis[data-ui] .tm div + div { border-top: 1px solid #E8E8ED; }
.tm dt { color: var(--ink-2); }
.tm dd { font-weight: 600; font-variant-numeric: tabular-nums; }

.tile--web { grid-column: 1 / -1; min-height: 0; padding-bottom: 0; }
.tile--web > p { max-width: 34em; margin-bottom: 0; }
.tile--web .tile__proof { margin: 14px 0 0; font-size: 17px; color: var(--ink-2); }
.tile__proof .more { min-height: 0; font-size: inherit; }
.tile__proof .more::after { content: none; }
.trust { margin-top: 24px; }
.trust__t { font-size: 14px; color: var(--ink-2); }
.trust__logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 36px; margin-top: 8px; }
.trust__logos a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 4px; opacity: 0.82; transition: opacity 200ms ease; }
.trust__logos img { display: block; width: auto; height: 40px; }
@media (hover: hover) and (pointer: fine) { .trust__logos a:hover { opacity: 1; } }
.web { position: relative; width: min(860px, 100%); margin-top: 44px; padding-right: 64px; }
.web .browser { height: clamp(260px, 34vw, 440px); border-radius: 16px 16px 0 0; }
.web__phone { position: absolute; right: 0; bottom: 24px; width: clamp(96px, 13vw, 156px); padding: 6px; border-radius: 26px; background: var(--ink); }
.web__phone img { display: block; width: 100%; height: auto; border-radius: 20px; }
.tile--wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; column-gap: 40px; min-height: 420px; padding: 0 clamp(24px, 4vw, 56px); text-align: left; }
.tile--wide .tile__copy { padding-block: 48px; }
.tile--wide .tile__vis--portal[data-ui] { align-self: end; width: 100%; max-width: 480px; justify-self: center; }
.roles { display: inline-flex; gap: 4px; margin-bottom: 14px; padding: 4px; border-radius: 980px; background: var(--gray-2); }
.role { min-height: 32px; padding: 5px 14px; border: 0; border-radius: 980px; background: transparent; color: var(--ink-soft); font-size: 14px; cursor: pointer; transition: transform 140ms var(--ease-out), color 200ms ease; -webkit-tap-highlight-color: transparent; }
.role[aria-pressed="true"] { background: var(--white); color: var(--ink); font-weight: 600; }
.role:active { transform: scale(0.96); }
.tm--portal div[hidden] { display: none; }
.tm--portal div.is-new { animation: rise 420ms var(--ease-out) backwards; --rise: 8px; }

/* ---------- 5. cifras ---------- */
.nums { padding-block: var(--section); background: var(--black); color: #F5F5F7; }
.nums .h2 { color: #F5F5F7; }
.nums__lead { max-width: 30em; margin: 16px auto 0; text-align: center; font-size: clamp(19px, 1.6vw, 21px); color: var(--ink-3); }
.nums__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(56px, 7vw, 96px) clamp(32px, 6vw, 96px); width: min(880px, 100%); margin: clamp(56px, 7vw, 96px) auto 0; }
.num { font-size: clamp(96px, 13vw, 184px); line-height: 0.95; font-weight: 600; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.num [data-count] { display: inline-block; min-width: 1.15em; text-align: right; }
.num__u { font-size: clamp(40px, 5.5vw, 77px); letter-spacing: -0.03em; color: var(--ink-3); margin-left: 0.06em; }
.num__txt { max-width: 18em; margin-top: 14px; font-size: clamp(19px, 1.6vw, 21px); line-height: 1.4; font-weight: 600; letter-spacing: -0.02em; color: var(--ink-3); }

/* ---------- 6. elige cómo empezar ---------- */
.plans { padding-block: var(--section); background: var(--gray); }
.cmp { width: 100%; margin-top: clamp(40px, 5vw, 72px); border-collapse: collapse; table-layout: fixed; }
.cmp__plan { padding: 0 12px 36px; vertical-align: top; font-weight: 400; }
.cmp__plan > * { display: block; margin-inline: auto; }
.cmp__sym { width: clamp(64px, 8vw, 96px); height: auto; margin-bottom: 22px; overflow: visible; }
.cmp__sym path { fill: none; stroke-width: 10; stroke-linecap: round; transform-box: fill-box; transition: transform 900ms var(--ease-out), opacity 700ms ease; }
.cmp__sym .sym__a { stroke: var(--blue); }
.cmp__sym .sym__b { stroke: var(--ink); }
.cmp__sym .sym__ghost { stroke: var(--line); }
.cmp__sym--2 .sym__b { transform: translateX(-16px); }
.cmp__name { font-size: clamp(21px, 2.2vw, 28px); line-height: 1.1; font-weight: 600; letter-spacing: -0.026em; }
.cmp__price { margin-top: 6px; font-size: clamp(17px, 1.6vw, 21px); color: var(--ink-2); }
.cmp__plan .pill, .cmp__plan .more { margin-top: 18px; width: fit-content; }
.cmp td { padding: 26px 16px; border-top: 1px solid var(--line); text-align: center; vertical-align: top; font-size: 17px; line-height: 1.4; }
.cmp.rise-wait .cmp__sym .sym__a { transform: translateX(-18px); opacity: 0; }
.cmp.rise-wait .cmp__sym .sym__b { transform: translateX(-30px); opacity: 0; }
.cmp.rise-go .cmp__sym path { transition-delay: 300ms; }
.plans__note { max-width: 34em; margin: 40px auto 0; text-align: center; font-size: 17px; color: var(--ink); }
.plans__cta { display: none; margin-top: 24px; text-align: center; }

/* ---------- 7. preguntas ---------- */
.faq { padding-block: var(--section); background: var(--white); }
.faq__list { display: flex; flex-direction: column; gap: 12px; margin-top: clamp(32px, 4vw, 48px); }
.faq details { border-radius: 20px; background: var(--gray); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; padding: 20px 26px; cursor: pointer; list-style: none; font-size: clamp(19px, 1.6vw, 21px); line-height: 1.32; font-weight: 600; letter-spacing: -0.02em; border-radius: 20px; -webkit-tap-highlight-color: transparent; }
.faq summary::-webkit-details-marker { display: none; }
.plus { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--gray-2); transition: transform 320ms var(--ease-out), background-color 200ms ease; }
.plus::before, .plus::after { content: ""; position: absolute; left: 10px; top: 15px; width: 12px; height: 2px; border-radius: 1px; background: var(--ink); }
.plus::after { transform: rotate(90deg); }
.faq details[open] .plus { transform: rotate(45deg); }
@media (hover: hover) and (pointer: fine) { .faq summary:hover .plus { background: var(--line); } }
.faq__a { padding: 0 26px 24px; }
.faq__a p { max-width: 40em; font-size: 17px; line-height: 1.5; }
@media (prefers-reduced-motion: no-preference) {
  .faq details[open] .faq__a { animation: rise 420ms var(--ease-out) backwards; --rise: -6px; }
}

/* ---------- 8. contacto ---------- */
.close { padding-block: var(--section); background: var(--black); color: #F5F5F7; text-align: center; overflow: clip; }
.sym--close { width: clamp(150px, 17vw, 236px); height: auto; margin: 0 auto clamp(36px, 4vw, 56px); overflow: visible; }
.sym--close .sym__a { stroke: var(--link-dark); }
.sym--close .sym__b { stroke: var(--white); }
.close .h2 { color: #F5F5F7; }
.close__lead { max-width: 32em; margin: 16px auto 0; font-size: clamp(19px, 1.6vw, 21px); color: var(--ink-3); }
.form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: start; gap: 16px 14px; width: min(880px, 100%); margin: clamp(40px, 5vw, 56px) auto 0; text-align: left; }
.field label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 500; color: #F5F5F7; }
.field input {
  width: 100%; height: 52px; padding: 0 16px;
  border: 1px solid #48484A; border-radius: 12px; background: var(--panel-dark);
  color: #F5F5F7; font: inherit; font-size: 17px; letter-spacing: -0.01em;
  transition: border-color 200ms ease;
}
.field input:hover { border-color: #636366; }
.field input:focus-visible { outline: 2px solid var(--link-dark); outline-offset: 2px; border-color: var(--link-dark); }
.field input[aria-invalid="true"] { border-color: var(--err-dark); }
.field__err { min-height: 0; margin-top: 6px; font-size: 14px; color: var(--err-dark); }
.field__err:empty { display: none; }
.pill--form { height: 52px; margin-top: 30px; padding-inline: 26px; }
.form__status { grid-column: 1 / -1; font-size: 14px; color: var(--ink-3); text-align: center; }
.form__status.is-sent { color: var(--ok-dark); }
.form__status.is-error { color: var(--err-dark); }

/* ---------- pie ---------- */
.foot { padding: 64px 0 28px; background: var(--gray); color: var(--ink-2); font-size: 14px; line-height: 1.45; letter-spacing: -0.01em; }
.foot__top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.foot__home { display: inline-flex; padding-block: 6px; }
.foot .logo--foot { height: 24px; }
.foot__tag { margin-top: 12px; max-width: 26ch; font-size: 17px; line-height: 1.4; letter-spacing: -0.015em; color: var(--ink); }
.foot__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot__h { font-size: 14px; line-height: 1.4; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.foot__cols ul { display: grid; margin-top: 8px; }
.foot__cols a, .foot__cols li > span { display: inline-block; padding-block: 5px; color: var(--ink-soft); overflow-wrap: anywhere; }
.foot__cols a { transition: color 150ms ease; }
@media (hover: hover) and (pointer: fine) { .foot__cols a:hover { color: var(--link); } }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; margin-top: 56px; font-size: 13px; color: var(--ink-2); }
.foot__legal { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot__legal a { display: inline-block; padding-block: 4px; color: var(--ink-soft); }
@media (hover: hover) and (pointer: fine) { .foot__legal a:hover { color: var(--link); } }
.form__privacy { grid-column: 1 / -1; margin-top: -4px; font-size: 14px; color: var(--ink-3); text-align: center; }

/* ---------- páginas legales: misma voz que la portada ---------- */
.snav__back { display: inline-flex; align-items: center; min-height: 44px; margin-left: auto; font-size: 14px; color: var(--link); }
.lg-hero { padding: 72px 0 88px; background: var(--gray); text-align: center; overflow: clip; }
.lg-hero .sym--hero { width: 56px; }
.lg-hero__title { font-size: clamp(56px, 8.4vw, 120px); line-height: 0.98; font-weight: 600; letter-spacing: -0.04em; color: var(--ink); text-wrap: balance; }
.lg-hero__line { margin-top: 12px; font-size: clamp(24px, 2.8vw, 36px); line-height: 1.15; font-weight: 600; letter-spacing: -0.025em; color: var(--ink); text-wrap: balance; }
.lg-hero__meta { margin-top: 18px; font-size: 15px; color: var(--ink-2); }
.lg-key { padding: 64px 0 0; background: var(--white); }
.lg-key__panel { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding: clamp(28px, 3.4vw, 44px); border-radius: 28px; background: var(--gray); }
.lg-check { width: 26px; height: 26px; fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.lg-key__t { margin-top: 14px; font-size: 19px; line-height: 1.25; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.lg-key__d { margin-top: 6px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.lg-body { padding: 72px 0 var(--section); background: var(--white); }
.lg-body__in { display: grid; grid-template-columns: 220px minmax(0, 680px); justify-content: space-between; gap: 72px; align-items: start; }
.lg-toc { position: sticky; top: calc(var(--nav) + 32px); }
.lg-toc summary { list-style: none; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--ink); }
.lg-toc summary::-webkit-details-marker { display: none; }
.lg-toc ol { display: grid; margin-top: 12px; border-left: 2px solid var(--gray-2); }
.lg-toc a { display: block; margin-left: -2px; padding: 6px 0 6px 14px; border-left: 2px solid transparent; font-size: 14px; line-height: 1.35; color: var(--ink-2); transition: color 150ms ease, border-color 200ms var(--ease-out); }
.lg-toc a[aria-current] { border-left-color: var(--blue); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .lg-toc a:hover { color: var(--ink); } }
.lg-doc { min-width: 0; }
.lg-doc__lead { font-size: clamp(19px, 1.6vw, 21px); line-height: 1.45; letter-spacing: -0.015em; color: var(--ink); }
.lg-doc section { margin-top: 56px; scroll-margin-top: calc(var(--nav) + 24px); }
.lg-doc h2 { display: flex; align-items: baseline; gap: 14px; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; font-weight: 600; letter-spacing: -0.025em; color: var(--ink); }
.lg-n { flex: none; font-size: 15px; font-weight: 600; color: var(--blue); font-variant-numeric: tabular-nums; }
.lg-doc p, .lg-doc li, .lg-doc dd { font-size: 17px; line-height: 1.6; color: var(--ink-soft); }
.lg-doc h2 + *, .lg-doc p + *, .lg-doc ul + p, .lg-doc dl + p { margin-top: 14px; }
.lg-doc a { color: var(--link); }
.lg-list { display: grid; gap: 10px; padding-left: 1.2em; list-style: disc; }
.lg-list li::marker { color: var(--blue); }
.lg-rows { display: grid; gap: 4px; padding: 8px; border-radius: 20px; background: var(--gray); }
.lg-rows div { display: grid; grid-template-columns: minmax(0, 14em) minmax(0, 1fr); gap: 6px 20px; padding: 14px 16px; border-radius: 14px; background: var(--white); }
.lg-rows dt { font-size: 15px; font-weight: 600; color: var(--ink); }
.lg-rows dd { font-size: 15px; line-height: 1.5; }
.lg-rights { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.lg-rights li { padding: 20px 20px 22px; border-radius: 20px; background: var(--gray); }
.lg-rights b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); }
.lg-rights span { display: block; margin-top: 4px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.lg-close__cta { margin-top: 32px; }
@media (prefers-reduced-motion: no-preference) {
  html.js .lg-hero__title { animation: rise 1000ms var(--ease-out) 120ms backwards; --rise: 30px; }
  html.js .lg-hero__line { animation: rise 1000ms var(--ease-out) 200ms backwards; --rise: 22px; }
  html.js .lg-hero__meta { animation: rise 1000ms var(--ease-out) 270ms backwards; --rise: 14px; }
  html.js .lg-key__item { animation: rise 900ms var(--ease-out) backwards; --rise: 20px; }
  html.js .lg-key__item:nth-child(1) { animation-delay: 360ms; }
  html.js .lg-key__item:nth-child(2) { animation-delay: 420ms; }
  html.js .lg-key__item:nth-child(3) { animation-delay: 480ms; }
  html.js .lg-key__item:nth-child(4) { animation-delay: 540ms; }
}
@media (max-width: 1068px) {
  .lg-key__panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .lg-body { padding-top: 40px; }
  .lg-body__in { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .lg-toc { position: static; }
  .lg-toc__box { padding: 4px 20px; border-radius: 20px; background: var(--gray); }
  .lg-toc summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; font-size: 17px; }
  .lg-toc summary::after { content: ""; width: 9px; height: 9px; margin-right: 4px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: translateY(-3px) rotate(45deg); transition: transform 200ms var(--ease-out); }
  .lg-toc__box[open] summary::after { transform: translateY(2px) rotate(-135deg); }
  .lg-toc ol { margin: 0 0 14px; border-left: 0; }
  .lg-toc a { margin-left: 0; padding: 9px 0; border-left: 0; font-size: 16px; }
}
@media (max-width: 734px) {
  .lg-hero { padding: 48px 0 64px; }
  .lg-key { padding-top: 40px; }
  .lg-key__panel { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 26px 22px; }
  .lg-key__item { display: grid; grid-template-columns: 24px minmax(0, 1fr); column-gap: 14px; }
  .lg-check { grid-row: span 2; width: 24px; height: 24px; margin-top: 1px; }
  .lg-key__t { margin-top: 0; font-size: 17px; }
  .lg-doc section { margin-top: 44px; }
  .lg-rows div { grid-template-columns: minmax(0, 1fr); }
}

.logo { height: 18px; width: auto; }
.logo path, .logo circle { fill: none; stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; }
.logo .sym__a { stroke: var(--blue); }
.logo .sym__b, .logo__word path, .logo__word circle { stroke: var(--ink); }
.logo__lab path, .logo__lab circle { stroke: var(--blue); }

/* ---------- entradas al hacer scroll (solo transform y opacidad) ---------- */
.rise-wait { opacity: 0; transform: translateY(36px); }
.tile.rise-wait { transform: translateY(48px) scale(0.97); }
.rise-go { transition: opacity 900ms ease, transform 1100ms var(--ease-out); transition-delay: var(--d, 0ms); }

/* ---------- tableta ---------- */
@media (max-width: 1068px) {
  :root { --section: 120px; }
  .foot__top { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hl__card { padding: 36px; }
  .stage { --pw: 280px; --ph: 576px; }
  .float--sheet { top: 44%; }
  .tile { min-height: 460px; }
}

/* el teléfono al centro y las tarjetas arriba y abajo cuando no caben al lado */
@media (max-width: 900px) {
  .stage { --pw: 262px; --ph: 540px; height: auto; display: flex; flex-direction: column; align-items: center; margin-top: 40px; }
  .phone-wrap { position: relative; left: auto; order: 1; }
  /* debajo del teléfono, la operación en orden: primero la planilla, después el aviso */
  .float { position: relative; inset: auto; display: flex; flex-direction: column; align-items: center; width: min(340px, 100%); }
  .float::before { content: ""; width: 2px; height: 36px; margin: 6px 0 12px; border-radius: 1px; background: linear-gradient(to bottom, rgba(0, 113, 227, 0), var(--blue)); }
  .float--sheet { order: 2; }
  .float--alert { order: 3; }
  .float__step { display: block; max-width: 26ch; margin-bottom: 12px; font-size: 15px; line-height: 1.35; font-weight: 600; letter-spacing: -0.012em; color: var(--ink); text-align: center; text-wrap: balance; }
  .float__card[data-ui] { width: 100%; }
  .chat__chips { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; padding-bottom: 18px; }
  .chat__chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; white-space: nowrap; }
}

@media (max-width: 834px) {
  .snav__links {
    position: absolute; top: var(--nav); left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter));
    display: flex; flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px;
    background: var(--white);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity 220ms ease, transform 260ms var(--ease-out), visibility 0s linear 260ms;
  }
  .snav__links a { height: 48px; font-size: 17px; color: var(--ink); }
  .snav.is-open .snav__links { visibility: visible; opacity: 1; transform: none; transition: opacity 220ms ease, transform 260ms var(--ease-out), visibility 0s; }
  .snav__toggle { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .snav__toggle svg { width: 20px; height: 20px; overflow: visible; }
  .snav__toggle path { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; transform-box: fill-box; transform-origin: center; transition: transform 300ms var(--ease-out); }
  .snav.is-open .tg__a { transform: translate(2.5px, 2.5px) rotate(45deg); }
  .snav.is-open .tg__b { transform: translate(-2.5px, -2.5px) rotate(-45deg); }
  .snav__in { gap: 10px; }
}

/* ---------- teléfono ---------- */
@media (max-width: 734px) {
  :root { --gutter: 20px; --section: 88px; }
  .hero { padding: 32px 0 64px; }
  .hl__card { padding: 28px; }
  .sym--hero { width: 48px; margin-bottom: 14px; }
  .hero__title { font-size: clamp(46px, 13.5vw, 88px); }
  .hero__line { font-size: clamp(25px, 7vw, 30px); }
  .hero__sub { font-size: 17px; max-width: 30ch; }
  .hero__cta { flex-direction: column; gap: 4px; margin-top: 24px; }

  .stage { --pw: 252px; --ph: 520px; }
  .phone[data-ui] { border-radius: 48px; padding: 9px; }
  .phone__screen { border-radius: 39px; }
  .float { width: min(330px, 100%); }

  .hl__track { --ch: 540px; gap: 12px; }
  .hl__card { border-radius: 24px; }
  .hl__vis[data-ui] { top: 46%; }
  .vis-ask[data-ui] .ask { font-size: 15px; padding: 9px 14px; }
  .vis-ask .ask--1 { left: 0; top: 0; }
  .vis-ask .ask--2 { left: auto; right: 0; top: 16%; }
  .vis-ask .ask--3 { left: 6%; right: auto; top: 33%; }
  .vis-ask .ask--4 { display: none; }
  .vis-ask .ask--5 { left: auto; right: 4%; top: 52%; }
  .vis-ask[data-ui] .ask__ans { white-space: normal; width: max-content; max-width: 100%; text-align: center; font-size: 15px; }
  .vis-load { grid-template-columns: 1fr; gap: 12px; }
  .load__done { flex-direction: row; align-items: baseline; gap: 12px; order: -1; }
  .load__n { font-size: 52px; }
  .load__rows li:nth-child(n+4) { display: none; }
  .lvl li { grid-template-columns: 1fr 32px; gap: 8px 12px; }
  .lvl__name { grid-column: 1 / -1; }
  .portal__rows li { grid-template-columns: 1fr auto; }
  .portal__rows li span:nth-child(2) { display: none; }

  .story__grid { grid-template-columns: minmax(0, 1fr); row-gap: 20px; margin-top: 40px; }
  .beat { grid-column: 1; grid-row: calc(var(--r) * 2 - 1); margin-top: 24px; }
  .shot { grid-column: 1; grid-row: calc(var(--r) * 2); }
  .shot[data-ui] { min-height: 0; padding: 20px; border-radius: 22px; }
  .bub { font-size: 15px; }
  .shot__t { font-size: 14px; }
  .scene.is-live .story__grid { row-gap: 20px; margin-top: 28px; }
  .scene.is-live .beat { grid-row: 1; margin-top: 0; }
  .scene.is-live .shot { grid-row: 2; }
  .scene.is-live .shot[data-ui] { min-height: 280px; }
  .beat__time { font-size: 60px; }
  .beat__txt { margin-top: 8px; font-size: 19px; }

  .tiles__grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .tile { min-height: 0; padding-inline: 20px; border-radius: 24px; }
  .tile > p { margin-bottom: 28px; }
  .tile--web > p { margin-bottom: 0; }
  .tile--wide { grid-template-columns: minmax(0, 1fr); text-align: center; padding: 0 20px; }
  .tile--wide .tile__copy { padding: 40px 0 32px; }
  .tile--wide .tile__vis--portal[data-ui] { justify-self: stretch; max-width: none; }
  .web { margin-top: 32px; padding-right: 36px; }
  .web .browser { height: 210px; border-radius: 12px 12px 0 0; }
  .web__phone { bottom: 16px; border-radius: 18px; padding: 4px; }
  .web__phone img { border-radius: 14px; }
  .browser__url { transform: none; max-width: 160px; }
  .vis-web { left: 28px; right: 28px; top: 44%; }

  .nums__grid { grid-template-columns: minmax(0, 1fr); gap: 56px; text-align: center; }
  .num__txt { margin-inline: auto; }

  .cmp { table-layout: fixed; }
  .cmp__plan { padding: 0 4px 28px; }
  .cmp__sym { width: 56px; margin-bottom: 14px; }
  .cmp__name { font-size: 18px; }
  .cmp__price { font-size: 15px; }
  .cmp__plan .pill, .cmp__plan .more { display: none; }
  .plans__cta { display: block; }
  .cmp td { padding: 18px 6px; font-size: 14px; }

  .faq summary { padding: 18px 20px; font-size: 19px; }
  .faq__a { padding: 0 20px 20px; }

  .form { grid-template-columns: minmax(0, 1fr); }
  .pill--form { width: 100%; margin-top: 4px; }

  .foot { padding: 48px 0 28px; }
  .foot__top { gap: 32px; }
  .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "serv emp" "serv con"; gap: 24px 20px; }
  .foot__col--serv { grid-area: serv; }
  .foot__col--emp { grid-area: emp; }
  .foot__col--con { grid-area: con; }
  .foot__cols a, .foot__cols li > span { padding-block: 7px; font-size: 15px; }
  .foot__bottom { flex-direction: column; margin-top: 32px; }
}

/* ---------- movimiento reducido: todo en su estado final ---------- */
@media (prefers-reduced-motion: reduce) {
  .hl.is-ready .hl__track, .dot, .dot::before { transition: none; }
  .rise-wait { opacity: 1; transform: none; }
  .msg.is-new, .chip.is-new, .alert__body.is-swap, .sheet__t tr.is-new td > span, .tm--portal div.is-new { animation: none; }
  .typing path, .chat__head.is-typing .ava path, .snav__toggle path { animation: none; transition: none; }
  .alert__fill, .plus, .pill, .chip, .role, .play, .play svg { transition: none; }
}
