/*! SIGNAL design system · signal.css (generado por scripts/build.mjs — no editar a mano) */
/* ==========================================================================
   SIGNAL · tokens.css — fuente de verdad de los design tokens
   Lenguaje visual documentado en docs/00-analisis.md, normalizado.
   Reglas: nunca uses un hex suelto en un componente; usa estos tokens.
   Para cambiar de marca solo toca el bloque "SIGNAL (marca)" o corre
   `node scripts/rebrand.mjs '#hex'`.
   ========================================================================== */

:root {
  /* ---- SIGNAL (marca) ---------------------------------------------------- */
  --sig: #cff846;          /* acento principal (lemon) */
  --sig-hi: #ecff7a;       /* versión luminosa, extremos del gradiente */
  --sig-2: #6fdb5e;        /* paso 2 del gradiente (green) */
  --sig-3: #2fcb7e;        /* paso 3 del gradiente (mint) */
  --on-sig: #101a05;       /* texto/ícono SOBRE el acento */
  --sig-text-light: #4f7d00; /* acento legible sobre fondos claros (AA) */

  /* derivados del acento (no editar: se recalculan solos) */
  --sig-a08: color-mix(in oklab, var(--sig) 8%, transparent);
  --sig-a12: color-mix(in oklab, var(--sig) 12%, transparent);
  --sig-a16: color-mix(in oklab, var(--sig) 16%, transparent);
  --sig-a22: color-mix(in oklab, var(--sig) 22%, transparent);
  --sig-a30: color-mix(in oklab, var(--sig) 30%, transparent);
  --sig-a60: color-mix(in oklab, var(--sig) 60%, transparent);
  --grad-sig: linear-gradient(100deg, var(--sig-hi), var(--sig) 40%, var(--sig-2) 75%, var(--sig-3));
  --grad-sig-bar: linear-gradient(90deg, var(--sig), var(--sig-2), var(--sig-3));
  --grad-lava: linear-gradient(120deg, var(--sig-hi) 0%, var(--sig) 22%, var(--sig-2) 44%, var(--sig-3) 58%, var(--sig) 78%, var(--sig-hi) 100%);
  --glow-sig: 0 8px 34px -8px color-mix(in oklab, var(--sig-2) 65%, transparent);
  --glow-sig-hover: 0 13px 40px -8px color-mix(in oklab, var(--sig-2) 80%, transparent);

  /* ---- Series de datos categóricas (validadas con validate_palette.js) ----
     Orden fijo d1→d4, nunca ciclar. Un 5º grupo va a "Otros".
     Una sola serie / énfasis (sparkline, área, progreso) usa --sig, no --d1.
     Claro (sobre #fff y #f3f4f6): banda L, croma, CVD ΔE≥8 y contraste ≥3:1 → PASS */
  --d1: #598005;      /* lima */
  --d2: #7a4aba;      /* violeta */
  --d3: #a86003;      /* ámbar */
  --d4: #006ebe;      /* azul */
  --alert: #ff5a5a;   /* LIVE, errores, "lo viejo" tachado */
  --alert-soft: #ff7070;

  /* ---- Superficies inmersivas (siempre oscuras) -------------------------- */
  --void: #07080a;      /* hero, statement, money, final, footer */
  --void-deep: #050607; /* escenas 3D / canvas */
  --void-raise: #0e1013;/* tarjetas grandes dentro de void */

  /* ---- Tipografía -------------------------------------------------------- */
  --f-display: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --t-hero: clamp(44px, 5.6vw, 118px);      /* h1 — lh .95, ls -.05em, 700 */
  --t-h2: clamp(34px, 5.4vw, 108px);        /* h2 de sección — lh 1.02, 700 */
  --t-final: clamp(36px, 6.6vw, 136px);     /* h2 del CTA final — lh 1 */
  --t-statement: clamp(30px, 5vw, 100px);   /* párrafo manifiesto — lh 1.08, 600 */
  --t-h3: clamp(21px, 1.6vw, 32px);         /* títulos de card — 600 */
  --t-h3-lg: clamp(28px, 2.3vw, 46px);      /* títulos de panel/tour */
  --t-lede: clamp(17.5px, 1.25vw, 24px);    /* bajada de sección — lh 1.5 */
  --t-body: 16px;                           /* lh 1.55 */
  --t-body-lg: clamp(15px, 1vw, 19px);
  --t-small: clamp(14px, .95vw, 18px);
  --t-micro: 12.5px;
  --t-eyebrow: clamp(12px, .75vw, 14.5px);  /* mono, uppercase, ls .14em */
  --t-metric: clamp(64px, 5.6vw, 116px);    /* número protagonista — ls -.055em */
  --t-stat: clamp(28px, 2.2vw, 42px);       /* números secundarios */

  --ls-hero: -.05em;
  --ls-display: -.035em;
  --ls-tight: -.02em;
  --ls-eyebrow: .14em;

  /* ---- Espaciado (Fibonacci / proporción áurea) -------------------------- */
  --s1: 5px; --s2: 8px; --s3: 13px; --s4: 21px;
  --s5: 34px; --s6: 55px; --s7: 89px; --s8: 144px;
  --gutter: clamp(21px, 4vw, 96px);           /* margen lateral full-bleed */
  --band-top: clamp(89px, 9vw, 190px);        /* padding superior de banda */
  --band-bottom: clamp(55px, 6vw, 130px);     /* padding inferior de banda */
  --head-gap: clamp(55px, 4.5vw, 96px);       /* sec-head → contenido */
  --hdr-h: 68px;                              /* 84px ≥1100px */

  /* ---- Radios ----------------------------------------------------------- */
  --r-xs: 7px;    /* chips de marca */
  --r-sm: 12px;   /* icon tiles 40px */
  --r-md: 15px;   /* sub-tarjetas dentro de un HUD */
  --r: 21px;      /* tarjetas, frames, filas */
  --r-lg: 28px;   /* paneles grandes, tarjeta métrica */
  --r-xl: 34px;   /* HUD del hero */
  --r-pill: 999px;

  /* ---- Movimiento -------------------------------------------------------- */
  --ease-out: cubic-bezier(.16, 1, .3, 1);   /* expo-out: TODA entrada */
  --ease-std: cubic-bezier(.2, .7, .2, 1);   /* barras, anchos, datos */
  --ease-pop: cubic-bezier(.2, 1.6, .4, 1);  /* confirmaciones (check) */
  --dur-fast: .2s;    /* hover, color, fondo */
  --dur-base: .45s;   /* subrayados, indicadores */
  --dur-data: .8s;    /* barras y gráficos que cambian */
  --dur-reveal: 1.1s; /* .reveal */
  --dur-mask: 1.3s;   /* .mask (títulos) */
  --stagger: 90ms;    /* retraso entre hermanos (máx 5) */

  /* ---- Capas ------------------------------------------------------------- */
  --z-base: 1; --z-ui: 2; --z-header: 50; --z-safe: 60;

  /* ---- TEMA CLARO (por defecto) ------------------------------------------ */
  color-scheme: light;
  --bg: #f3f4f6;
  --bg-2: #ffffff;
  --fg: #090b0f;
  --fg-2: #3d434c;
  --fg-3: #6c727b;
  --line: rgb(9 11 15 / .09);
  --line-2: rgb(9 11 15 / .16);
  --tile: rgb(9 11 15 / .03);
  --glass: rgb(255 255 255 / .72);
  --glass-edge: rgb(9 11 15 / .08);
  --ink-tile: #090b0f;
  --ink-panel: #090b0f;
  --ink-edge: #090b0f;
  --haze-a: color-mix(in oklab, var(--sig) 30%, transparent);
  --haze-b: rgb(120 160 230 / .24);
  --shadow: 0 1px 1px rgb(16 24 40 / .04), 0 21px 55px -21px rgb(16 24 40 / .22);
  --sig-text: var(--sig-text-light);
  --hdr-bg: rgb(255 255 255 / .8);
  --hdr-fg: #090b0f;
  --hdr-mute: rgb(9 11 15 / .62);
  --hdr-line: rgb(9 11 15 / .08);
  --hdr-ctl: rgb(9 11 15 / .04);
  --hdr-ctl-line: rgb(9 11 15 / .14);
  --hdr-on-bg: #090b0f;
  --hdr-on-fg: #ffffff;
}

/* ---- TEMA OSCURO: mismo bloque en 3 lugares ------------------------------
   1) preferencia del sistema  2) data-theme="dark"  3) .immersive (forzado) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0b0c0e; --bg-2: #111317; --fg: #f2f4f7; --fg-2: #c3c8d0; --fg-3: #8b919a;
    --line: rgb(255 255 255 / .08); --line-2: rgb(255 255 255 / .16); --tile: rgb(255 255 255 / .05);
    --glass: rgb(22 24 28 / .62); --glass-edge: rgb(255 255 255 / .09);
    --ink-tile: color-mix(in oklab, var(--sig) 14%, transparent);
    --ink-panel: linear-gradient(135deg, #171b14, #0f1113 60%);
    --ink-edge: color-mix(in oklab, var(--sig) 28%, transparent);
    --haze-a: var(--sig-a12); --haze-b: rgb(80 120 200 / .18);
    --shadow: 0 21px 55px -21px rgb(0 0 0 / .7);
    --sig-text: var(--sig);
    --d1: #73a402; --d2: #9769dc; --d3: #c88004; --d4: #2892cf;
    --hdr-bg: rgb(11 12 14 / .72); --hdr-fg: #fff; --hdr-mute: rgb(255 255 255 / .72);
    --hdr-line: rgb(255 255 255 / .08); --hdr-ctl: rgb(255 255 255 / .06);
    --hdr-ctl-line: rgb(255 255 255 / .18); --hdr-on-bg: #fff; --hdr-on-fg: #090b0f;
  }
}
:root[data-theme="dark"],
:root:not([data-theme="light"]) .immersive,
:root[data-theme="light"] :is(.hero, .story, .code, .foot) {
  color-scheme: dark;
  --bg: #0b0c0e; --bg-2: #111317; --fg: #f2f4f7; --fg-2: #c3c8d0; --fg-3: #8b919a;
  --line: rgb(255 255 255 / .08); --line-2: rgb(255 255 255 / .16); --tile: rgb(255 255 255 / .05);
  --glass: rgb(22 24 28 / .62); --glass-edge: rgb(255 255 255 / .09);
  --ink-tile: color-mix(in oklab, var(--sig) 14%, transparent);
  --ink-panel: linear-gradient(135deg, #171b14, #0f1113 60%);
  --ink-edge: color-mix(in oklab, var(--sig) 28%, transparent);
  --haze-a: var(--sig-a12); --haze-b: rgb(80 120 200 / .18);
  --shadow: 0 21px 55px -21px rgb(0 0 0 / .7);
  --sig-text: var(--sig);
  --d1: #73a402; --d2: #9769dc; --d3: #c88004; --d4: #2892cf; /* oscuro: PASS sobre #07080a/#0c0e10/#111317 */
  --hdr-bg: rgb(11 12 14 / .72); --hdr-fg: #fff; --hdr-mute: rgb(255 255 255 / .72);
  --hdr-line: rgb(255 255 255 / .08); --hdr-ctl: rgb(255 255 255 / .06);
  --hdr-ctl-line: rgb(255 255 255 / .18); --hdr-on-bg: #fff; --hdr-on-fg: #090b0f;
}
/* las superficies inmersivas son un poco más profundas que el tema oscuro */
.immersive { --bg: var(--void); }

@media (min-width: 1100px) { :root { --hdr-h: 84px; } }

/* ==========================================================================
   SIGNAL · components.css — base, layout, componentes, secciones y motion
   Requiere tokens.css antes. `scripts/build.mjs` concatena ambos en signal.css.
   Convención: clases cortas y semánticas; estados con aria-* o .on/.solid/.hot.
   ========================================================================== */

/* 1 · BASE ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 8px); overflow-x: clip; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 var(--t-body)/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body::before { /* tapa el notch en iOS con viewport-fit=cover */
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: var(--z-safe); background: var(--void);
}
main > section, footer { overflow-x: clip; }
a { color: inherit; text-decoration: none; }
img, svg, video, canvas { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--f-display); text-wrap: balance; margin: 0; letter-spacing: var(--ls-display); }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--sig); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--sig); color: var(--on-sig); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.num { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--f-mono); }
.i { width: 1em; height: 1em; flex: none; } /* íconos de línea: stroke=currentColor, 24x24, stroke-width 2 */

/* 2 · LAYOUT -------------------------------------------------------------- */
.rail { width: 100%; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.rail.narrow { max-width: 1500px; margin-inline: auto; }
section.band { position: relative; padding-block: var(--band-top) var(--band-bottom); }
.immersive { background: var(--void); color: var(--fg); }
.haze { background:
  radial-gradient(60rem 34rem at 6% 0%, var(--haze-a), transparent 62%),
  radial-gradient(52rem 40rem at 100% 40%, var(--haze-b), transparent 60%), var(--bg); }
.gridbg { position: relative; isolation: isolate; }
.gridbg::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 55px 55px; opacity: .45;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent); mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent); }
.glowbg { position: relative; isolation: isolate; }
.glowbg::before { content: ""; position: absolute; z-index: -1; width: 900px; height: 900px; left: -300px; top: -200px; pointer-events: none;
  background: radial-gradient(closest-side, var(--sig-a16), transparent); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s5); align-items: center; }
.split.wide-left { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); }
.cols-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3); }
.stack-s3 > * + * { margin-top: var(--s3); }

/* 3 · TIPOGRAFÍA ---------------------------------------------------------- */
.eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: 6px;
  font: 400 var(--t-eyebrow)/1.3 var(--f-mono); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--fg-3); }
.eyebrow b { color: var(--sig-text); font-weight: 500; }
.eyebrow svg { width: 1.2em; height: 1.2em; color: var(--sig-text); flex: none; }
.h-hero { font-size: var(--t-hero); line-height: .95; font-weight: 700; letter-spacing: var(--ls-hero); }
.h-sec { font-size: var(--t-h2); line-height: 1.02; font-weight: 700; }
.h-final { font-size: var(--t-final); line-height: 1; font-weight: 700; }
.h-card { font-size: var(--t-h3); font-weight: 600; letter-spacing: var(--ls-tight); line-height: 1.15; }
.lede { font-size: var(--t-lede); line-height: 1.5; color: var(--fg-2); max-width: 46ch; }
.text-sig { background: var(--grad-sig); -webkit-background-clip: text; background-clip: text; color: transparent; }
.text-acc { color: var(--sig-text); }
.dim { color: var(--fg-3); }

/* 4 · BOTONES Y CONTROLES ------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); height: 48px; padding: 0 var(--s4);
  border-radius: var(--r-pill); border: 0; cursor: pointer; white-space: nowrap; font: 600 15px/1 var(--f-body); letter-spacing: -.005em;
  transition: transform var(--dur-fast), box-shadow var(--dur-fast), background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform var(--dur-base) var(--ease-out); }
.btn:hover .go { transform: translateX(3px); }
.btn-signal { color: var(--on-sig); background: var(--grad-lava); background-size: 300% 300%; animation: sig-lava 7s ease-in-out infinite alternate; box-shadow: var(--glow-sig); }
.btn-signal:hover { transform: translateY(-1px); box-shadow: var(--glow-sig-hover); }
.btn-ghost { color: #fff; background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .22); -webkit-backdrop-filter: blur(13px); backdrop-filter: blur(13px); }
.btn-ghost:hover { background: rgb(255 255 255 / .16); }
.btn-outline { color: var(--fg); background: var(--glass); border: 1px solid var(--line-2); }
.btn-outline:hover { border-color: var(--fg-3); }
.btn-ink { color: var(--bg); background: var(--fg); }
.btn-sm { height: 40px; font-size: 14px; padding: 0 var(--s3) 0 var(--s4); }
.btn-lg { height: 54px; font-size: 16px; padding: 0 var(--s5); }
.ctas { display: flex; flex-wrap: wrap; gap: var(--s3); }

.seg { --seg-on-bg: var(--fg); --seg-on-fg: var(--bg);
  display: inline-flex; gap: 2px; padding: 3px; border-radius: var(--r-pill); background: var(--tile); border: 1px solid var(--line); }
.seg button { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px; border: 0; border-radius: var(--r-pill);
  background: transparent; color: var(--fg-3); font: 500 12px/1 var(--f-body); cursor: pointer; transition: background var(--dur-fast), color var(--dur-fast); }
.seg button svg { width: 13px; height: 13px; }
.seg > svg { width: 15px; height: 15px; margin: 0 4px 0 7px; opacity: .7; align-self: center; }
.seg button:hover { color: var(--fg); }
.seg button[aria-selected="true"], .seg button[aria-pressed="true"] { background: var(--seg-on-bg); color: var(--seg-on-fg); }

.live { display: inline-flex; align-items: center; gap: 6px; font: 400 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: #ff6b6b; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 9px; background: var(--alert); animation: sig-ping 1.6s infinite; }

.chip { display: inline-grid; place-items: center; flex: none; height: 22px; min-width: 22px; padding: 0 5px; border-radius: var(--r-xs);
  background: #fff; color: #090b0f; box-shadow: 0 0 0 1px rgb(9 11 15 / .08); font: 700 10px/1 var(--f-body); }
.tag { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: var(--r-pill);
  font: 600 11.5px/1 var(--f-body); background: var(--sig-a16); color: var(--sig-text); border: 1px solid var(--sig-a30); }

.ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-sm); background: var(--ink-tile); color: var(--sig); flex: none; }
.ic svg { width: 20px; height: 20px; }
.ic.solid { background: var(--sig); color: var(--on-sig); }
.ic.sm { width: 34px; height: 34px; border-radius: 10px; } .ic.sm svg { width: 18px; height: 18px; }
.ic.lg { width: 52px; height: 52px; border-radius: var(--r-md); } .ic.lg svg { width: 24px; height: 24px; }

/* 5 · HEADER -------------------------------------------------------------- */
.top { --h-fg: #fff; --h-mute: rgb(255 255 255 / .72); --h-ctl: rgb(255 255 255 / .06); --h-ctl-line: rgb(255 255 255 / .18); --h-on-bg: #fff; --h-on-fg: #090b0f;
  position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: var(--z-header); color: var(--h-fg);
  transition: background .3s, border-color .3s, box-shadow .3s; border-bottom: 1px solid transparent; }
.top.solid { --h-fg: var(--hdr-fg); --h-mute: var(--hdr-mute); --h-ctl: var(--hdr-ctl); --h-ctl-line: var(--hdr-ctl-line); --h-on-bg: var(--hdr-on-bg); --h-on-fg: var(--hdr-on-fg);
  background: var(--hdr-bg); -webkit-backdrop-filter: blur(21px) saturate(1.4); backdrop-filter: blur(21px) saturate(1.4);
  border-bottom-color: var(--hdr-line); box-shadow: 0 8px 34px -21px rgb(9 11 15 / .25); }
.top .rail { display: flex; align-items: center; gap: var(--s4); height: var(--hdr-h); }
.top::after { /* barra de progreso de lectura (JS escribe --sp 0..1) */
  content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: calc(var(--sp, 0) * 100%);
  background: var(--grad-sig-bar); box-shadow: 0 0 13px var(--sig-a60); pointer-events: none; }
.brand { display: flex; align-items: center; gap: var(--s2); font: 700 20px/1 var(--f-display); letter-spacing: -.03em; color: var(--h-fg, var(--fg)); }
.brand .mark { width: 34px; height: 34px; border-radius: 10px; flex: none; }
.brand em { font-style: normal; color: var(--sig); }
.nav { display: flex; gap: var(--s4); margin-left: auto; font-size: 14px; font-weight: 500; color: var(--h-mute); }
.nav a { position: relative; display: inline-flex; align-items: center; gap: 6px; transition: color var(--dur-fast); }
.nav a svg { width: 15px; height: 15px; opacity: .7; transition: color var(--dur-fast), opacity var(--dur-fast); }
.nav a:hover, .nav a.on { color: var(--h-fg); }
.nav a:hover svg, .nav a.on svg { opacity: 1; color: var(--sig-text); }
.top:not(.solid) .nav a:hover svg, .top:not(.solid) .nav a.on svg { color: var(--sig); }
.nav a::after { content: ""; position: absolute; left: 21px; right: 0; bottom: -9px; height: 2px; border-radius: 2px; background: var(--h-fg);
  transform: scaleX(0); transform-origin: left; transition: transform var(--dur-base) var(--ease-out); }
.nav a.on::after { transform: scaleX(1); }
.ctl { display: inline-grid; place-items: center; height: 40px; min-width: 40px; border-radius: var(--r-pill); cursor: pointer;
  border: 1px solid var(--h-ctl-line); background: var(--h-ctl); color: var(--h-fg); transition: background var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast); }
.ctl svg { width: 17px; height: 17px; }
.ctl:hover { background: color-mix(in oklab, var(--h-fg) 12%, transparent); }
.ctl.text { display: inline-flex; gap: 7px; padding: 0 var(--s3) 0 14px; font: 600 14px/1 var(--f-body); }
.top .seg { --seg-on-bg: var(--h-on-bg); --seg-on-fg: var(--h-on-fg); height: 40px; align-items: center; background: var(--h-ctl); border-color: var(--h-ctl-line); }
.top .seg button { height: 32px; min-width: 36px; padding: 0 9px; color: var(--h-mute); font: 600 12.5px/1 var(--f-body); letter-spacing: .04em; justify-content: center; }
.top .btn { height: 40px; font-size: 14px; padding: 0 var(--s3) 0 var(--s4); }

/* 6 · HERO (inmersivo, prueba en vivo) ------------------------------------ */
.hero { position: relative; min-height: min(100svh, 980px); overflow: hidden; display: flex; align-items: flex-start; isolation: isolate; }
.hero-media, .hero-media > video, .hero-media > canvas, .hero-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media { z-index: -2; transform: scale(calc(1 + var(--hp, 0) * .14)) translateY(calc(var(--hp, 0) * 70px)); transform-origin: 50% 40%; }
.hero-media video, .hero-media img { filter: saturate(.62) contrast(1.08) brightness(.6); }
.hero-shade { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(120% 90% at 50% 40%, transparent 35%, rgb(7 8 10 / .55) 100%),
  linear-gradient(180deg, rgb(7 8 10 / .78) 0%, rgb(7 8 10 / .32) 26%, rgb(7 8 10 / .38) 52%, rgb(7 8 10 / .96) 100%),
  radial-gradient(70% 60% at 0% 100%, rgb(7 8 10 / .85), transparent 70%); }
.hero-scan { position: absolute; inset: 0; z-index: -1; pointer-events: none; mix-blend-mode: overlay;
  background: repeating-linear-gradient(0deg, rgb(255 255 255 / .025) 0 1px, transparent 1px 4px); }
.hero-note { position: absolute; z-index: var(--z-ui); left: max(var(--gutter), env(safe-area-inset-left, 0px)); top: calc(var(--hdr-h) + 28px);
  display: flex; gap: 8px; align-items: flex-start; font: 400 11px/1.6 var(--f-mono); letter-spacing: .06em; color: rgb(255 255 255 / .5); text-transform: uppercase; }
.hero-note svg { width: 16px; height: 16px; color: var(--sig); flex: none; margin-top: 1px; }
.hero-inner { position: relative; z-index: var(--z-ui); width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  gap: var(--s6); align-items: start; padding-block: calc(var(--hdr-h) + 72px) var(--s6); }
.hero-copy { transform: translateY(calc(var(--hp, 0) * -110px)); opacity: calc(1 - var(--hp, 0) * 1.2); }
.hero h1 em { font-style: normal; background: var(--grad-sig); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { margin-top: var(--s4); color: rgb(255 255 255 / .8); max-width: 38ch; }
.hero .ctas { margin-top: var(--s5); }

/* 7 · HUD (tarjeta de datos en vivo) -------------------------------------- */
.hud { --c1: var(--d1); --c2: var(--d2); --c3: var(--d3);
  border-radius: var(--r-xl); padding: clamp(21px, 1.7vw, 34px); color: #fff;
  background: rgb(12 14 16 / .55); border: 1px solid rgb(255 255 255 / .12);
  -webkit-backdrop-filter: blur(21px) saturate(1.3); backdrop-filter: blur(21px) saturate(1.3); box-shadow: 0 34px 89px -34px rgb(0 0 0 / .8);
  transform: translateY(calc(var(--hp, 0) * -50px)); }
.hud-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); font-size: 13.5px; color: rgb(255 255 255 / .72); }
.hud-head > span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.hud-head svg { width: 15px; height: 15px; color: var(--sig); }
.hud-total { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s4); align-items: end; margin-top: var(--s4); }
.hud-total small, .label { display: block; font: 400 11px/1.3 var(--f-mono); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: rgb(255 255 255 / .55); }
.metric { font-size: var(--t-metric); font-weight: 700; letter-spacing: -.055em; line-height: .95; font-variant-numeric: tabular-nums; margin-top: 6px; }
.hud-total .l { display: block; margin-top: 6px; max-width: 30ch; font-size: 14px; line-height: 1.35; color: rgb(255 255 255 / .62); }
.facts { display: grid; gap: 8px; text-align: right; font-size: 12.5px; color: rgb(255 255 255 / .55); padding-bottom: 4px; }
.facts b { display: block; font-size: 19px; font-weight: 600; letter-spacing: var(--ls-tight); color: #fff; font-variant-numeric: tabular-nums; }
.mix { display: flex; gap: 3px; height: 8px; margin-top: var(--s4); border-radius: 9px; overflow: hidden; }
.mix i { display: block; height: 100%; flex: 1 1 0; transition: flex-grow var(--dur-data) var(--ease-std); }
.c1 { --c: var(--c1, var(--d1)); } .c2 { --c: var(--c2, var(--d2)); } .c3 { --c: var(--c3, var(--d3)); }
.mix i, .bar i { background: var(--c); }
.chans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: var(--s3); }
.ch { min-width: 0; border-radius: var(--r-md); padding: var(--s3); background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .09); }
.ch-h { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: rgb(255 255 255 / .88); white-space: nowrap; overflow: hidden; }
.ch-h svg { width: 15px; height: 15px; flex: none; color: var(--c); }
.ch b { display: block; margin-top: 8px; font-size: var(--t-stat); font-weight: 700; letter-spacing: -.045em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.ch > span { display: block; font-size: 12px; line-height: 1.3; color: rgb(255 255 255 / .52); }
.ch .spark { width: 100%; height: 30px; margin-top: 8px; color: var(--c); }
.geo { margin-top: var(--s3); border-radius: var(--r-md); padding: var(--s3); background: rgb(0 0 0 / .22); border: 1px solid rgb(255 255 255 / .08); }
.geo-h { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); flex-wrap: wrap; }
.geo-h > span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: rgb(255 255 255 / .85); }
.geo-h > span svg { width: 15px; height: 15px; color: var(--sig); }
.rows { display: grid; gap: 9px; margin-top: var(--s3); }
.rows li { display: grid; grid-template-columns: minmax(0, 170px) minmax(0, 1fr) 48px; gap: var(--s3); align-items: center; animation: sig-rowin .5s both; }
.rows li:nth-child(2) { animation-delay: .05s; } .rows li:nth-child(3) { animation-delay: .1s; } .rows li:nth-child(4) { animation-delay: .15s; }
.rows .pl { min-width: 0; }
.rows .pl b { display: block; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rows .pl span { display: block; font-size: 11.5px; color: rgb(255 255 255 / .5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar { display: flex; gap: 2px; height: 7px; border-radius: 9px; overflow: hidden; background: rgb(255 255 255 / .06); }
.bar i { display: block; height: 100%; transition: width var(--dur-data) var(--ease-std); }
.rows .tot { text-align: right; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.hud-foot { display: flex; gap: var(--s2); align-items: center; margin-top: var(--s3); font-size: 12.5px; color: rgb(255 255 255 / .66); }
.hud-foot svg { width: 15px; height: 15px; color: var(--sig); flex: none; }
.hud .seg { background: rgb(255 255 255 / .07); border-color: transparent; --seg-on-bg: #fff; --seg-on-fg: #090b0f; }

/* 8 · STATEMENT + VERSUS --------------------------------------------------- */
.statement { padding-block: clamp(144px, 11vw, 220px) clamp(89px, 8vw, 160px); }
.statement .eyebrow { margin-bottom: var(--s4); }
.big-wrap { position: relative; }
.big { font-size: var(--t-statement); line-height: 1.08; font-weight: 600; letter-spacing: -.04em; max-width: 24ch; text-wrap: balance; }
.big .dim { color: rgb(255 255 255 / .34); }
.big em { font-style: normal; color: var(--sig); }
.big.typing-src { color: transparent !important; } .big.typing-src * { color: transparent !important; }
.big.typed { position: absolute; inset: 0; margin: 0; pointer-events: none; }
.big.typed .tc { transition: opacity .25s linear, text-shadow .25s linear; }
.versus { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3); margin-top: var(--s7); }
.vs { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r); padding: clamp(21px, 1.7vw, 34px);
  border: 1px solid var(--line); background: linear-gradient(180deg, rgb(255 255 255 / .04), rgb(255 255 255 / 0)); }
.vs-bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: .26; filter: grayscale(.3) contrast(1.05) brightness(.9);
  transform: scale(1.04); transition: opacity .6s, transform 1.2s var(--ease-out);
  -webkit-mask-image: linear-gradient(180deg, #000, rgb(0 0 0 / .55) 55%, rgb(0 0 0 / .15)); mask-image: linear-gradient(180deg, #000, rgb(0 0 0 / .55) 55%, rgb(0 0 0 / .15)); }
.vs:has(.vs-bg)::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(7 8 10 / .25), rgb(7 8 10 / .85) 75%); }
.vs:hover .vs-bg { opacity: .4; transform: scale(1.08); }
.vs > svg { width: 28px; height: 28px; color: var(--fg); margin-bottom: var(--s3); }
.vs .what { font-weight: 600; font-size: clamp(17px, 1.25vw, 24px); letter-spacing: var(--ls-tight); }
.vs .old, .vs .new { display: flex; gap: 6px; align-items: flex-start; }
.vs .old { margin-top: var(--s3); font-size: 15px; color: var(--fg-3); }
.vs .old span { text-decoration: line-through; text-decoration-color: color-mix(in oklab, var(--alert) 60%, transparent); }
.vs .new { margin-top: 6px; font-size: 16px; color: var(--sig-text); }
.vs .old svg, .vs .new svg { width: 15px; height: 15px; flex: none; margin-top: 4px; }
.vs .old svg { color: var(--alert-soft); }

/* 9 · SCROLL STORY (sección fijada con escena) ----------------------------- */
.story { position: relative; height: 330vh; background: var(--void-deep); }
.story-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.story-sticky canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.story-sticky::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background:
  radial-gradient(80% 70% at 50% 45%, transparent 40%, rgb(5 6 7 / .85)), linear-gradient(180deg, var(--void-deep), transparent 18%, transparent 70%, var(--void-deep)); }
.story-ui { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none;
  padding-top: calc(var(--hdr-h) + 26px); padding-bottom: var(--s6); }
.story-title { margin-top: var(--s3); font-size: var(--t-h2); line-height: 1.02; font-weight: 700; letter-spacing: -.04em; max-width: 15ch; }
.story-dots { display: flex; gap: 8px; margin-top: var(--s3); }
.story-dots i { position: relative; width: 34px; height: 3px; border-radius: 3px; overflow: hidden; background: rgb(255 255 255 / .18); }
.story-dots i b { position: absolute; inset: 0; background: var(--sig); transform-origin: left; transform: scaleX(0); }
.story-low { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s5); flex-wrap: wrap; }
.story-steps { position: relative; min-height: 160px; width: min(560px, 100%); }
.sstep { position: absolute; left: 0; bottom: 0; opacity: 0; transform: translateY(21px); filter: blur(6px); transition: all .8s var(--ease-out); }
.sstep.on { opacity: 1; transform: none; filter: none; }
.sstep .n { font: 400 12px/1 var(--f-mono); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--sig); }
.sstep h3 { margin-top: var(--s2); font-size: clamp(24px, 2.4vw, 46px); font-weight: 600; line-height: 1.12; }
.sstep p { margin-top: var(--s2); max-width: 44ch; font-size: clamp(15.5px, 1.05vw, 19px); color: rgb(255 255 255 / .66); }
.statgrid { display: grid; grid-template-columns: repeat(3, auto); gap: 1px; border-radius: var(--r); overflow: hidden;
  background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .12); -webkit-backdrop-filter: blur(21px); backdrop-filter: blur(21px); }
.statgrid > div { min-width: 130px; padding: var(--s3) var(--s4); background: rgb(10 12 14 / .72); }
.statgrid small { display: flex; align-items: center; gap: 6px; font-size: 12px; color: rgb(255 255 255 / .55); }
.statgrid small svg { width: 14px; height: 14px; color: var(--sig); }
.statgrid b { display: block; margin-top: 2px; font-size: clamp(28px, 2.2vw, 40px); font-weight: 700; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }

/* 10 · CABECERA DE SECCIÓN -------------------------------------------------- */
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: var(--s5); align-items: end; margin-bottom: var(--head-gap); }
.sec-head .eyebrow { margin-bottom: var(--s3); }
.sec-head h2 { font-size: var(--t-h2); line-height: 1.02; font-weight: 700; }
.sec-head > p { font-size: var(--t-lede); line-height: 1.5; color: var(--fg-2); max-width: 46ch; }

/* 11 · CARDS, CALLOUT, PANEL ----------------------------------------------- */
.card { border-radius: var(--r); padding: clamp(21px, 2vw, 40px) clamp(21px, 2vw, 40px) clamp(34px, 2.6vw, 55px);
  background: var(--glass); border: 1px solid var(--glass-edge); -webkit-backdrop-filter: blur(21px) saturate(1.3); backdrop-filter: blur(21px) saturate(1.3); box-shadow: var(--shadow); }
.card > .ic { margin-bottom: var(--s4); }
.card h3 { font-size: var(--t-h3); font-weight: 600; letter-spacing: var(--ls-tight); }
.card p { margin-top: var(--s2); font-size: var(--t-body-lg); color: var(--fg-2); }
.check { display: grid; gap: 6px; margin-top: var(--s3); font-size: var(--t-small); color: var(--fg-2); }
.check li { display: flex; gap: var(--s2); }
.check li svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--sig-text); }
.callout { display: flex; flex-wrap: wrap; gap: var(--s4); align-items: center; justify-content: space-between; margin-top: var(--s5);
  border-radius: var(--r); padding: var(--s4) var(--s5); background: var(--ink-panel); border: 1px solid var(--ink-edge); color: #fff; }
.callout .nh { display: flex; align-items: center; gap: var(--s3); }
.callout b { font-size: clamp(20px, 2.3vw, 44px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.callout b em { font-style: normal; color: var(--sig); }
.callout > span { max-width: 46ch; font-size: 17px; color: rgb(255 255 255 / .68); }
.panel { border-radius: var(--r-lg); padding: clamp(21px, 2vw, 40px) clamp(28px, 2.6vw, 55px); background: var(--tile); border: 1px solid var(--line); }
.panel h3 { display: flex; align-items: center; gap: var(--s2); font-size: clamp(20px, 1.5vw, 30px); font-weight: 600; letter-spacing: var(--ls-tight); }
.panel h3 svg { width: 18px; height: 18px; color: var(--sig-text); }
.panel > p { margin-top: var(--s2); font-size: 15px; color: var(--fg-3); }
.frame { border-radius: var(--r); overflow: hidden; border: 1px solid var(--glass-edge); background: var(--bg-2); box-shadow: var(--shadow); }

/* 12 · DISPOSITIVOS (marcos CSS, sin assets de terceros) ------------------- */
.devices { position: relative; perspective: 1800px; max-width: 1500px; margin-inline: auto; padding: 0 8% 6% 0; }
.device { position: relative; background: #0b0c0e; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14), 0 0 0 1px #24272c,
  0 34px 55px rgb(10 14 20 / .28), 0 8px 13px rgb(10 14 20 / .12); }
.device-screen { position: absolute; overflow: hidden; background: var(--bg-2); container-type: inline-size; }
.device-tablet { aspect-ratio: 4 / 3; width: 100%; border-radius: 3.6% / 4.8%; }
.device-tablet .device-screen { inset: 3.2% 2.4%; border-radius: 1.6% / 2.1%; }
.device-phone { aspect-ratio: 9 / 19.2; width: 100%; border-radius: 15% / 7%; }
.device-phone .device-screen { inset: 2.4% 4.6%; border-radius: 12% / 5.6%; }
.device-phone::after { content: ""; position: absolute; z-index: 3; left: 50%; top: 3.6%; width: 30%; height: 3.2%; translate: -50% 0; border-radius: 99px; background: #050607; }
.devices .device-tablet { transform: rotateX(calc((1 - var(--dp, 1)) * 30deg)) scale(calc(.86 + var(--dp, 1) * .14)); transform-origin: 50% 100%; }
.devices .device-phone { position: absolute; right: 0; bottom: 0; width: 23%;
  transform: translate(calc((1 - var(--dp, 1)) * 180px), calc((1 - var(--dp, 1)) * 140px)) rotate(calc((1 - var(--dp, 1)) * 9deg)); }

/* 13 · PRODUCT TOUR (tabs con autoplay) ------------------------------------ */
.tabs { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s4); }
.tab { display: inline-flex; align-items: center; gap: var(--s2); height: 48px; padding: 0 var(--s4) 0 var(--s3); border-radius: var(--r-pill);
  border: 1px solid var(--line-2); background: var(--glass); color: var(--fg-2); font: 500 16px/1 var(--f-body); cursor: pointer; transition: all var(--dur-fast); }
.tab svg { width: 16px; height: 16px; }
.tab:hover { color: var(--fg); }
.tab[aria-selected="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.tour { display: grid; grid-template-columns: minmax(0, 1fr) clamp(320px, 24vw, 480px); gap: clamp(21px, 2.4vw, 55px); align-items: start; }
.stage { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; border: 1px solid var(--glass-edge); background: var(--bg-2); box-shadow: var(--shadow); container-type: inline-size; }
.stage > .slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.015); transition: opacity .5s, transform .7s var(--ease-out); }
.stage > .slide.on { opacity: 1; transform: none; }
.stage > .slide > img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.tour-copy { position: sticky; top: calc(var(--hdr-h) + 32px); }
.tour-copy h3 { font-size: var(--t-h3-lg); font-weight: 600; line-height: 1.1; }
.tour-copy p { margin-top: var(--s3); font-size: var(--t-body-lg); color: var(--fg-2); }
.tour-copy .check { margin-top: var(--s4); gap: var(--s2); font-size: var(--t-body-lg); }
.progress { height: 3px; margin-top: var(--s5); border-radius: 9px; overflow: hidden; background: var(--line); }
.progress i { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--sig), var(--sig-2)); }

/* 14 · FLUJO, OFERTA, TARJETA MÉTRICA -------------------------------------- */
.flow { display: grid; gap: var(--s3); }
.flow .row { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: var(--s3); padding: clamp(21px, 1.7vw, 34px); border-radius: var(--r); border: 1px solid var(--line); background: var(--tile); }
.flow .row .ic { width: 44px; height: 44px; border-radius: 13px; }
.flow h3 { font-size: clamp(19px, 1.45vw, 28px); font-weight: 600; letter-spacing: var(--ls-tight); }
.flow p { margin-top: 4px; font-size: clamp(14.5px, 1vw, 18.5px); color: var(--fg-3); }
.offer { margin-top: var(--s3); border-radius: var(--r); padding: var(--s4); background: linear-gradient(135deg, color-mix(in oklab, var(--sig-hi) 16%, transparent), color-mix(in oklab, var(--sig-3) 10%, transparent)); border: 1px solid var(--sig-a30); }
.offer small { display: flex; align-items: center; gap: 6px; font: 400 11px/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--sig-text); }
.offer small svg { width: 15px; height: 15px; }
.offer b { display: block; margin-top: 6px; font-size: clamp(26px, 2.1vw, 40px); letter-spacing: -.03em; line-height: 1.1; }
.offer > span { display: flex; gap: 6px; align-items: flex-start; margin-top: 6px; font-size: 14.5px; color: var(--fg-3); }
.mcard { container-type: inline-size; position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-lg); padding: clamp(34px, 3vw, 64px); color: #fff;
  background: linear-gradient(160deg, rgb(255 255 255 / .09), rgb(255 255 255 / .02) 40%), var(--void-raise); border: 1px solid rgb(255 255 255 / .12);
  box-shadow: 0 55px 144px -55px color-mix(in oklab, var(--sig) 35%, transparent), inset 0 1px 0 rgb(255 255 255 / .08); }
.mcard::before { content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; opacity: .28; filter: blur(70px);
  background: conic-gradient(from 200deg, var(--sig-hi), var(--sig), var(--sig-2), var(--sig-3), var(--sig-hi)); animation: sig-spin 14s linear infinite; }
.mcard > * { position: relative; }
.mcard-top { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); font-weight: 600; font-size: 15px; }
.mcard .label { margin-top: var(--s5); }
.bignum { display: flex; align-items: flex-start; margin-top: var(--s2); font-weight: 700; letter-spacing: -.055em; line-height: 1; font-variant-numeric: tabular-nums; }
.bignum .cur { margin: .18em 4px 0 0; font-size: clamp(28px, 2.6vw, 52px); color: rgb(255 255 255 / .7); }
.bignum .int { font-size: var(--bn, clamp(56px, 7vw, 150px)); } /* números largos: --bn con cqw (la .mcard es contenedor) */
.bignum .dec { margin-top: .2em; font-size: clamp(26px, 2.4vw, 48px); color: rgb(255 255 255 / .55); }
.subrow { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); margin-top: var(--s3); font-size: 16px; color: rgb(255 255 255 / .7); }
.subrow span { display: inline-flex; align-items: center; gap: 6px; } .subrow svg { width: 16px; height: 16px; } .subrow .up { color: var(--sig); }
.mcard .ctas { margin-top: var(--s5); }
.mcard-foot { margin-top: auto; padding-top: var(--s5); }
.area { display: block; width: 100%; height: 110px; color: var(--sig); }
.splits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: var(--s3); }
.splits > div { min-width: 0; display: grid; gap: 4px; padding: 10px 12px; border-radius: 13px; background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .08); }
.splits .sw { display: block; width: 34px; height: 3px; border-radius: 3px; background: var(--c); }
.splits .nm { font-size: 12.5px; color: rgb(255 255 255 / .7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.splits b { font-size: 17px; letter-spacing: var(--ls-tight); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ledger { display: grid; margin-top: var(--s3); }
.ledger li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: var(--s3); align-items: center; padding: 10px 0; border-top: 1px solid var(--line); animation: sig-rowin .5s both; }
.ledger li:first-child { border-top: 0; }
.ledger .chip { width: 44px; height: 30px; }
.ledger b { display: block; font-size: 15.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ledger li > div > span { display: block; font-size: 13px; color: var(--fg-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ledger .amt { font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--sig-text); }
.ledger .amt.out { color: var(--fg-2); }

/* 15 · STATS SINCRONIZADOS + MEDIDOR -------------------------------------- */
.sync { display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--s3); align-items: center; margin-top: var(--s5); }
.stat { border-radius: var(--r); padding: var(--s4); background: var(--glass); border: 1px solid var(--glass-edge); box-shadow: var(--shadow); -webkit-backdrop-filter: blur(21px); backdrop-filter: blur(21px); }
.stat small { display: flex; align-items: center; gap: 6px; font: 400 11px/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); }
.stat small svg { width: 15px; height: 15px; color: var(--fg); }
.stat b { display: block; margin-top: 4px; font-size: clamp(30px, 2.5vw, 48px); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.stat > span { font-size: 13.5px; color: var(--fg-3); }
.link { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 99px; background: var(--ink-tile); color: var(--sig); }
.link svg { width: 20px; height: 20px; animation: sig-spin 6s linear infinite; }
.meter { display: flex; align-items: center; gap: var(--s3); margin-top: var(--s3); padding: var(--s4); border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); font-size: 16px; color: var(--fg-2); }
.meter > svg { width: 18px; height: 18px; flex: none; color: var(--fg); }
.meter .track { flex: 1; height: 8px; border-radius: 9px; overflow: hidden; background: var(--line); }
.meter .track i { display: block; height: 100%; background: linear-gradient(90deg, var(--sig), var(--sig-2)); transition: width var(--dur-data) var(--ease-std); }
.meter b { color: var(--fg); font-variant-numeric: tabular-nums; }

/* 16 · TIERS (escala) ------------------------------------------------------ */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); margin-top: var(--s5); }
.tier { position: relative; border-radius: var(--r); padding: clamp(21px, 2vw, 40px); border: 1px solid var(--line-2); background: var(--bg-2); }
.tier > .ic { position: absolute; top: clamp(21px, 2vw, 40px); right: clamp(21px, 2vw, 40px); }
.tier .count { font-size: clamp(44px, 3.8vw, 80px); font-weight: 700; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.tier .count small { margin-left: 6px; font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--fg-3); }
.tier h3 { margin-top: var(--s3); font-size: clamp(18px, 1.45vw, 28px); font-weight: 600; }
.tier p { margin-top: 6px; font-size: clamp(14.5px, 1vw, 18px); color: var(--fg-2); }
.tier .check { font-size: clamp(14.5px, 1vw, 18px); }
.tier.hot { background: var(--ink-panel); border-color: var(--ink-edge); color: #fff; }
.tier.hot .count { color: var(--sig); }
.tier.hot p, .tier.hot .count small, .tier.hot .check { color: rgb(255 255 255 / .72); }
.tier.hot .check svg { color: var(--sig); }
.tier.hot > .ic { background: var(--sig); color: var(--on-sig); }

/* 17 · BENTO (rejilla con líneas de 1px) ----------------------------------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; overflow: hidden; border-radius: var(--r); background: var(--line); border: 1px solid var(--line); }
.bento > div { display: flex; flex-direction: column; gap: var(--s2); min-height: clamp(150px, 11vw, 230px); padding: clamp(21px, 1.7vw, 34px); background: var(--bg-2); transition: background var(--dur-fast); }
.bento > div:hover { background: var(--bg); }
.bento svg { width: 28px; height: 28px; color: var(--fg); }
.bento b { margin-top: auto; font-size: clamp(16px, 1.2vw, 22px); font-weight: 600; }
.bento span { font-size: clamp(13.5px, .95vw, 16.5px); line-height: 1.4; color: var(--fg-3); }
.bento > .k, .bento > .k:hover { background: var(--ink-panel); }
.bento > .k svg { color: var(--sig); } .bento > .k b { color: #fff; } .bento > .k span { color: rgb(255 255 255 / .66); }

/* 18 · PASOS --------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); }
.step { border-top: 2px solid var(--fg); padding-top: var(--s4); }
.step .num { display: flex; align-items: center; justify-content: space-between; font: 400 14px/1 var(--f-mono); color: var(--fg-3); }
.step h3 { margin-top: var(--s2); font-size: clamp(22px, 1.8vw, 34px); font-weight: 600; }
.step p { margin-top: var(--s2); font-size: clamp(15px, 1.05vw, 19px); color: var(--fg-2); }

/* 19 · FAQ ----------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); padding: var(--s4) 0; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); cursor: pointer; list-style: none;
  font-size: clamp(19px, 1.45vw, 28px); font-weight: 600; letter-spacing: var(--ls-tight); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q { display: flex; align-items: center; gap: var(--s3); }
.faq summary::after { content: "+"; flex: none; font-weight: 400; color: var(--fg-3); transition: transform var(--dur-fast); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > p { max-width: 68ch; margin-top: var(--s3); padding-left: 47px; font-size: clamp(16px, 1.05vw, 19.5px); color: var(--fg-2); }

/* 20 · CTA FINAL ----------------------------------------------------------- */
.final { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding-block: var(--s8); }
.final::before { content: ""; position: absolute; z-index: -1; inset: auto -20% -60% -20%; height: 120%; background: radial-gradient(50% 50% at 50% 50%, var(--sig-a22), transparent 70%); }
.final .mark { width: 110px; height: 110px; margin: 0 auto var(--s5); border-radius: 26px; box-shadow: 0 21px 89px -13px color-mix(in oklab, var(--sig) 50%, transparent); }
.final p { max-width: 46ch; margin: var(--s4) auto 0; font-size: clamp(18px, 1.35vw, 25px); color: rgb(255 255 255 / .7); }
.final .ctas { justify-content: center; margin-top: var(--s5); }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s2) var(--s4); margin-top: var(--s5); font-size: 14px; color: rgb(255 255 255 / .62); }
.trust span { display: inline-flex; align-items: center; gap: 6px; }
.trust svg { width: 16px; height: 16px; color: var(--sig); }

/* 21 · FOOTER -------------------------------------------------------------- */
.foot { position: relative; overflow: hidden; font-size: 14px; color: rgb(255 255 255 / .5); border-top: 1px solid var(--line); }
.foot-top { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.4fr) auto auto; gap: var(--s5); align-items: start; padding-block: var(--s6) var(--s5); }
.foot-brand p { max-width: 34ch; margin-top: var(--s3); font-size: 16px; color: rgb(255 255 255 / .55); }
.foot h5 { margin: 0 0 var(--s3); font: 500 11px/1 var(--f-mono); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: rgb(255 255 255 / .45); }
.social { display: flex; gap: var(--s2); }
.social a { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 13px; color: #fff; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .12); transition: background var(--dur-fast), color var(--dur-fast), transform var(--dur-fast); }
.social a:hover { background: var(--sig); color: var(--on-sig); transform: translateY(-2px); }
.social svg { width: 19px; height: 19px; }
.foot-links { display: grid; gap: 10px; } .foot-links a:hover { color: #fff; }
.foot-bottom { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: var(--s4); justify-content: space-between; padding-block: var(--s4); border-top: 1px solid var(--line); }
.foot-bottom span { display: inline-flex; align-items: center; gap: 6px; } .foot-bottom svg { width: 14px; height: 14px; flex: none; }
.watermark { position: relative; z-index: 0; margin: var(--s4) 0 -.16em; text-align: center; white-space: nowrap; user-select: none; pointer-events: none;
  font: 800 clamp(90px, 23vw, 330px)/.8 var(--f-display); letter-spacing: -.07em;
  background: linear-gradient(180deg, rgb(255 255 255 / .09), rgb(255 255 255 / 0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.watermark i { font-style: normal; background: linear-gradient(180deg, color-mix(in oklab, var(--sig) 28%, transparent), transparent 85%); -webkit-background-clip: text; background-clip: text; }

/* 22 · MOTION -------------------------------------------------------------- */
.reveal { transition: transform var(--dur-reveal) var(--ease-out), opacity var(--dur-reveal) var(--ease-out), filter var(--dur-reveal) var(--ease-out); }
.reveal.pre { opacity: 0; transform: translateY(34px) scale(.985); filter: blur(6px); }
.mask { transition: clip-path var(--dur-mask) var(--ease-out), transform var(--dur-mask) var(--ease-out); }
.mask.pre { clip-path: inset(0 0 100% 0); transform: translateY(44px); }
.tapdot { position: absolute; z-index: 3; width: 13%; aspect-ratio: 1; border-radius: 50%; pointer-events: none; opacity: 0;
  background: var(--sig-a60); border: 2px solid var(--sig); box-shadow: 0 0 18px var(--sig-a60); transform: translate(-50%, -50%) scale(.6); }
.tapdot.go { animation: sig-tap .7s ease-out; }
@keyframes sig-lava { 0% { background-position: 0% 30%; } 35% { background-position: 60% 80%; } 70% { background-position: 100% 20%; } 100% { background-position: 40% 60%; } }
@keyframes sig-ping { 0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--alert) 60%, transparent); } 70%, 100% { box-shadow: 0 0 0 8px transparent; } }
@keyframes sig-spin { to { transform: rotate(360deg); } }
@keyframes sig-rowin { from { opacity: 0; transform: translateY(5px); } }
@keyframes sig-pop { from { transform: scale(.4); opacity: 0; } }
@keyframes sig-ring { from { transform: scale(.45); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
@keyframes sig-tap { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.5); } 30% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.6); } }
@keyframes sig-pulse { 50% { transform: scale(1.04); box-shadow: 0 0 24px var(--sig-a60); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal.pre, .mask.pre { opacity: 1; transform: none; filter: none; clip-path: none; }
  .hero-media, .hero-copy, .hud, .devices .device-tablet, .devices .device-phone { transform: none !important; opacity: 1 !important; }
  .story { height: auto; } .story-sticky { position: relative; height: auto; min-height: 100svh; }
  .story-ui { position: relative; min-height: 100svh; gap: var(--s5); } .story-steps { display: grid; gap: var(--s4); min-height: 0; }
  .sstep { position: relative; opacity: 1; filter: none; transform: none; }
}

/* 23 · RESPONSIVE ---------------------------------------------------------- */
@media (min-width: 1100px) {
  .brand { font-size: 24px; } .brand .mark { width: 42px; height: 42px; border-radius: 12px; }
  .nav { font-size: 15.5px; gap: clamp(21px, 1.8vw, 34px); } .nav a svg { width: 17px; height: 17px; }
  .ctl { height: 46px; min-width: 46px; } .ctl.text { font-size: 15.5px; padding: 0 18px 0 16px; }
  .top .seg { height: 46px; } .top .seg button { height: 38px; min-width: 40px; font-size: 13.5px; }
  .top .btn { height: 46px; font-size: 15.5px; }
  .btn { height: 56px; font-size: 17px; padding: 0 var(--s5); } .btn svg { width: 20px; height: 20px; }
  .btn-lg { height: 60px; font-size: 17.5px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, min(640px, 36vw)); }
  .hero-copy { padding-top: 66px; } .hero h1 em { display: block; }
  .hero-note { font-size: 12px; }
}
@media (max-width: 1080px) { .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); } }
@media (max-width: 900px) {
  .nav { display: none; } .top .rail { gap: var(--s3); } .top .seg { margin-left: auto; }
  .hero-inner { grid-template-columns: 1fr; padding-block: calc(var(--hdr-h) + 52px) var(--s5); gap: var(--s5); } .hero-note { display: none; }
  .sec-head, .split, .split.wide-left, .tour, .cols-3, .tiers, .steps { grid-template-columns: 1fr; }
  .tour-copy { position: static; } .versus, .cols-4, .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-top { grid-template-columns: 1fr; } .devices { padding-right: 4%; } .devices .device-phone { width: 26%; }
}
@media (max-width: 700px) {
  .story { height: 280vh; } .story-ui { padding-top: calc(var(--hdr-h) + 18px); padding-bottom: var(--s5); }
  .statgrid { grid-template-columns: repeat(3, 1fr); width: 100%; } .statgrid > div { min-width: 0; padding: 10px; } .statgrid b { font-size: 20px; }
}
@media (max-width: 560px) { .top .btn { display: none; } .top .seg > svg { display: none; } .ctl.text { height: 36px; padding: 0 12px; font-size: 13px; } .ctl.text svg { display: none; } }
@media (max-width: 520px) {
  .versus, .bento, .cols-4 { grid-template-columns: 1fr; }
  .hud { padding: var(--s3); } .chans { gap: 6px; } .ch { padding: 10px; } .ch b { font-size: 24px; } .ch-h { font-size: 11.5px; } .ch .spark, .facts { display: none; }
  .rows li { grid-template-columns: minmax(0, 118px) minmax(0, 1fr) 38px; gap: 10px; }
  .mcard .ctas .btn { flex: 1 1 auto; } .splits > div { padding: 8px; } .splits b { font-size: 14px; } .sync { grid-template-columns: 1fr; justify-items: stretch; } .sync .link { justify-self: center; }
}
