/* Figtree variable auto-hospedada (fontsource 5.3.0, OFL: assets/fonts/OFL.txt). */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url(/assets/fonts/figtree-v9-latin-ext-wght.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url(/assets/fonts/figtree-v9-latin-wght.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  --canvas: #FAF9F7; --surface: #FFFFFF; --surface-2: #F3F4F7; --surface-3: #ECEEF2;
  --hairline: #E6E8EE; --hairline-strong: #D6DAE2;
  --ink: #16181D; --ink-muted: #4C5261; --ink-subtle: #5A6070; --ink-faint: #6B7180;
  --accent: #284292; --accent-hover: #1B2E6B; --accent-dim: rgba(40,66,146,.09); --sky: #3E61A9;
  --spark: #E06C3C; --spark-text: #A0491C; --danger: #B42318;
  --font: 'Figtree', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Figtree', ui-sans-serif, system-ui, sans-serif; --ease: cubic-bezier(0.16, 1, 0.3, 1); --ciclo: 6200ms;
  --shadow-card: 0 1px 2px rgba(16,18,40,.04), 0 12px 32px -18px rgba(16,18,40,.22);
  --shadow-shot: 0 2px 6px rgba(16,18,40,.06), 0 40px 80px -40px rgba(16,18,40,.32);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--canvas); line-height: 1.55; letter-spacing: -0.006em; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.03em; margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 28px; }
.eyebrow { font-size: 13px; letter-spacing: .11em; text-transform: uppercase; font-weight: 600; color: var(--accent); }

/* Topbar */
.topbar { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--canvas) 85%, transparent); backdrop-filter: saturate(150%) blur(12px); -webkit-backdrop-filter: saturate(150%) blur(12px); border-bottom: 1px solid var(--hairline); }
.topbar .row { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.topbar .logo { height: 25px; }
.top-right { display: flex; align-items: center; gap: 16px; }
.lang { display: inline-flex; border: 1px solid var(--hairline-strong); border-radius: 8px; overflow: hidden; }
.lang button { border: none; background: var(--surface); color: var(--ink-subtle); font-size: 13px; font-weight: 600; padding: 5px 10px; transition: background 140ms var(--ease), color 140ms var(--ease); }
.lang button.on { background: var(--accent); color: #fff; }
.btn { display: inline-flex; align-items: center; gap: 7px; font-family: var(--display); font-weight: 600; font-size: 15px; padding: 10px 18px; border-radius: 10px; border: 1px solid transparent; transition: transform 150ms var(--ease), background 150ms var(--ease), box-shadow 150ms var(--ease); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px -8px rgba(40,66,146,.5); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-ghost { border-color: var(--hairline-strong); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { background: var(--surface-2); }

/* Hero */
/* Longhands: el shorthand pisaba los 28 px laterales de .wrap. */
.hero { text-align: center; padding-top: 76px; padding-bottom: 0; }
.hero .eyebrow { display: inline-block; }
.hero h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 700; line-height: 1.06; margin: 16px auto 0; max-width: 800px; }
.hero p { font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-muted); margin: 20px auto 0; max-width: 600px; }
.hero-cta { margin-top: 28px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 14px; font-size: 14px; color: var(--ink-faint); }
.hero-note a { color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.hero-note a:hover { color: var(--accent-hover); }
/* Precio animado del hero: entra como infinito naranja, gira hasta ser el 8 azul
   y recién ahí aparece el resto del número. El infinito es una lemniscata dibujada
   —el 8 de la tipografía girado se lee "oo"—, pero se funde con el glifo real antes
   de quedar quieto: el número final es texto, en la misma fuente que el resto. */
/* La altura la fija el símbolo grande de la entrada, no el número final: sin esto
   el infinito se le monta a los botones de arriba. */
.hero-precio { margin-top: 30px; display: flex; flex-direction: column; align-items: center;
               justify-content: center; gap: 8px; min-height: 132px; }
.precio { display: flex; align-items: center; font-family: var(--display); font-weight: 700;
          font-size: clamp(38px, 6vw, 60px); color: var(--accent); letter-spacing: -.04em; line-height: 1;
          transform: translateX(-.27em); animation: precioCentra var(--ciclo) var(--ease) infinite; }
/* El glifo fija el ancho desde el primer frame; la lemniscata va encima en absoluto,
   así crece y gira sin mover a nadie. */
.precio .uno { position: relative; display: inline-block; }
/* Medido contra el glifo: el 8 de Figtree bold mide 43,4 px de alto y 9 px de trazo a
   60 px, y ese es el tamaño al que la lemniscata tiene que aterrizar para que la fusión
   no se vea. El trazo engorda con el giro porque entra grande y termina del peso del 8. */
.precio .lem { position: absolute; left: 50%; top: 50%; width: .717em; height: .717em; overflow: visible; }
.precio .lem path { fill: none; stroke: var(--spark); stroke-linecap: round; }
.precio .coma { margin: 0 .02em; }
.precio .usd, .precio .dos, .precio .tres, .precio .coma, .precio .uno > .num { opacity: 0; }
.precio .lem  { animation: precioGira var(--ciclo) var(--ease) infinite; }
.precio .uno > .num { animation: precioFunde var(--ciclo) var(--ease) infinite; }
.precio .usd  { animation: precioEntraUsd  var(--ciclo) var(--ease) infinite; }
.precio .coma { animation: precioEntraComa var(--ciclo) var(--ease) infinite; }
.precio .dos  { animation: precioEntraDos  var(--ciclo) var(--ease) infinite; }
.precio .tres { animation: precioEntraTres var(--ciclo) var(--ease) infinite; }
/* Un solo keyframe por elemento y ningun `animation-delay`: el delay desplaza el ciclo
   entero y con `infinite` desincroniza el cierre, asi que los tiempos van adentro. */
@keyframes precioCentra {
  0%, 28.23%      { transform: translateX(-.27em); }
  42.74%, 95.16% { transform: none; }
  97.58%, 100%   { transform: translateX(-.27em); } }
/* El 25.97% es el momento en que la lemniscata ya es un 8 azul quieto: ahi empieza
   a ceder contra el glifo. Cerrado el ciclo vuelve a ser infinito mientras esta
   invisible, y reaparece en los ultimos 150 ms para arrancar la vuelta siguiente. */
@keyframes precioGira {
  0%, 11.29%  { transform: translate(-50%, -50%) rotate(90deg) scale(3.65); stroke: var(--spark); stroke-width: 17; opacity: 1; }
  25.97%     { transform: translate(-50%, -50%) rotate(0deg) scale(1); stroke: var(--accent); stroke-width: 33.5; opacity: 1; }
  32.26%, 87.1% { transform: translate(-50%, -50%) rotate(0deg) scale(1); stroke: var(--accent); stroke-width: 33.5; opacity: 0; }
  97.58%       { transform: translate(-50%, -50%) rotate(90deg) scale(3.65); stroke: var(--spark); stroke-width: 17; opacity: 0; }
  100%            { transform: translate(-50%, -50%) rotate(90deg) scale(3.65); stroke: var(--spark); stroke-width: 17; opacity: 1; } }
@keyframes precioFunde {
  0%, 26.13%   { opacity: 0; }
  30.97%, 87.1% { opacity: 1; }
  95.16%, 100% { opacity: 0; } }
@keyframes precioEntraUsd {
  0%, 29.03%   { opacity: 0; transform: translateY(.16em); }
  39.52%      { opacity: 1; transform: none; }
  87.1%      { opacity: 1; transform: none; }
  95.16%, 100% { opacity: 0; transform: none; } }
@keyframes precioEntraComa {
  0%, 31.94%   { opacity: 0; transform: translateY(.16em); }
  42.42%      { opacity: 1; transform: none; }
  87.1%      { opacity: 1; transform: none; }
  95.16%, 100% { opacity: 0; transform: none; } }
@keyframes precioEntraDos {
  0%, 33.87%   { opacity: 0; transform: translateY(.16em); }
  44.35%      { opacity: 1; transform: none; }
  87.1%      { opacity: 1; transform: none; }
  95.16%, 100% { opacity: 0; transform: none; } }
@keyframes precioEntraTres {
  0%, 35.81%   { opacity: 0; transform: translateY(.16em); }
  46.29%      { opacity: 1; transform: none; }
  87.1%      { opacity: 1; transform: none; }
  95.16%, 100% { opacity: 0; transform: none; } }
@keyframes precioEntraPie {
  0%, 37.74%   { opacity: 0; transform: translateY(.16em); }
  48.23%      { opacity: 1; transform: none; }
  87.1%      { opacity: 1; transform: none; }
  95.16%, 100% { opacity: 0; transform: none; } }
.precio-pie { font-size: 14px; color: var(--ink-faint); opacity: 0;
              animation: precioEntraPie var(--ciclo) var(--ease) infinite; }

.btn-demo { display: inline-flex; align-items: center; gap: 9px; }
.btn-demo svg { width: 16px; height: 16px; color: var(--accent); }
.demo-modal { width: min(1100px, calc(100vw - 32px), calc((100vh - 96px) * 1.6)); padding: 0; border: 0; border-radius: 14px; background: #0f1128; box-shadow: 0 40px 100px -30px rgba(16,18,40,.7); overflow: visible; }
.demo-modal:not([open]) { display: none; }
.demo-modal::backdrop { background: rgba(16,18,40,.72); backdrop-filter: blur(6px); }
.demo-modal video { display: block; width: 100%; height: auto; border-radius: 14px; }
.demo-close { position: absolute; right: -8px; top: -44px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font: 400 24px/1 var(--font); cursor: pointer; }
.demo-close:hover { background: rgba(255,255,255,.28); }
body:has(dialog[open]) { overflow: hidden; }
.hero-shot { margin: 56px auto 0; max-width: 1000px; position: relative; }
.shot { border-radius: 14px; border: 1px solid var(--hairline); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-shot); }
.shot img { display: block; width: 100%; height: auto; }
.hero-shot::after { content:''; position: absolute; left: 10%; right: 10%; bottom: -1px; height: 60px; background: linear-gradient(to top, var(--canvas), transparent); pointer-events: none; }

/* Trust */
.trust { text-align: center; color: var(--ink-subtle); font-size: 16px; padding-top: 40px; padding-bottom: 8px; max-width: 680px; margin: 0 auto; }
.trust b { color: var(--ink); font-weight: 600; }

/* Features */
.features { padding-top: 60px; padding-bottom: 24px; }
.features .head { text-align: center; max-width: 620px; margin: 0 auto; }
.features .head h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; margin-top: 12px; }
.features .head p { color: var(--ink-muted); font-size: 17px; margin-top: 14px; }
.feature { display: grid; grid-template-columns: 1fr 1.12fr; gap: 52px; align-items: center; margin-top: 72px; }
.feature.rev .f-txt { order: 2; }
.f-num { font-family: var(--display); font-size: 14px; font-weight: 600; color: var(--accent); }
.feature h3 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 600; margin-top: 10px; }
.feature .f-txt > p { color: var(--ink-muted); font-size: 17px; margin-top: 12px; max-width: 400px; }
.f-list { margin: 18px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.f-list li { display: flex; align-items: center; gap: 9px; font-size: 15.5px; color: var(--ink); }
.f-list svg { width: 17px; height: 17px; color: var(--accent); stroke-width: 2.2; flex-shrink: 0; }
.f-shot .shot { box-shadow: var(--shadow-card); transition: transform 400ms var(--ease), box-shadow 400ms var(--ease); }
.f-shot .shot:hover { transform: translateY(-3px); box-shadow: 0 4px 10px rgba(16,18,40,.07), 0 44px 80px -40px rgba(16,18,40,.36); }

/* Alcance */
.scope { margin-top: 96px; }
.scope .card { background: var(--surface); border: 1px solid var(--hairline); border-radius: 18px; box-shadow: var(--shadow-card); padding: 40px 36px; }
.scope h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; text-align: center; }
.scope > .card > p { color: var(--ink-muted); text-align: center; max-width: 560px; margin: 14px auto 0; font-size: 17px; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 32px; }
.col h3 { font-size: 16px; font-weight: 600; font-family: var(--font); letter-spacing: 0; }
.col ul { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.col li { display: flex; gap: 10px; font-size: 15.5px; color: var(--ink-muted); line-height: 1.45; }
.mark { flex-shrink: 0; width: 18px; height: 18px; border-radius: 6px; display: grid; place-items: center; font-size: 13px; font-weight: 700; margin-top: 2px; }
.mark.yes { background: var(--accent-dim); color: var(--accent); }
.mark.no { background: #FBEDE6; color: var(--spark-text); }

/* Precio */
.price { margin-top: 96px; text-align: center; }
.price h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; margin-top: 12px; }
.price-card { margin: 28px auto 0; max-width: 460px; background: var(--surface); border: 1px solid var(--hairline); border-radius: 18px; box-shadow: var(--shadow-card); padding: 36px 28px; }
.price-num { font-family: var(--display); font-size: 46px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.price-unit { color: var(--ink-faint); font-size: 15px; margin-top: 8px; }
.price-list { margin: 22px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; text-align: left; }
.price-list li { display: flex; align-items: flex-start; gap: 9px; font-size: 15.5px; color: var(--ink-muted); }
.price-list svg { width: 17px; height: 17px; color: var(--accent); stroke-width: 2.2; flex-shrink: 0; margin-top: 3px; }

/* Datos */
.data { margin-top: 88px; }
.data h2 { font-size: clamp(22px, 2.8vw, 28px); font-weight: 700; text-align: center; }
.data-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.data-item { background: var(--surface); border: 1px solid var(--hairline); border-radius: 14px; padding: 22px 20px; }
.data-item h3 { font-size: 16px; font-weight: 600; font-family: var(--font); letter-spacing: 0; }
.data-item p { color: var(--ink-muted); font-size: 15px; margin: 8px 0 0; }

/* CTA */
.cta { margin-top: 96px; scroll-margin-top: 76px; }
.cta .card { background: var(--surface); border: 1px solid var(--hairline); border-radius: 18px; box-shadow: var(--shadow-card); text-align: center; padding: 56px 32px; }
.cta h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; max-width: 560px; margin: 0 auto; line-height: 1.1; }
.cta p { color: var(--ink-muted); margin: 16px auto 28px; max-width: 480px; font-size: 17px; }

/* Footer */
footer { margin-top: 72px; border-top: 1px solid var(--hairline); }
.footrow { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 32px; padding-bottom: 32px; }
footer .logo { height: 20px; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; }
.foot-links a { color: var(--ink-subtle); }
.foot-links a:hover { color: var(--accent); }
.foot-copy { font-size: 14px; color: var(--ink-faint); }

/* Motion */
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; }
.reveal.in { animation: rise .7s var(--ease) forwards; }

@media (max-width: 860px) {
  .feature, .feature.rev { grid-template-columns: 1fr; gap: 26px; }
  .feature.rev .f-txt { order: 0; }
  .cols, .data-grid { grid-template-columns: 1fr; gap: 24px; }
  .topbar .btn { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; animation: none !important; }
  .precio, .precio *, .precio-pie { animation: none !important; opacity: 1 !important; transform: none !important; }
  .precio .lem { display: none; }
  html { scroll-behavior: auto; }
}

/* Lista de espera */
.wl { max-width: 520px; margin: 28px auto 0; text-align: left; }
.wl-field { margin-top: 20px; }
.wl-field:first-child { margin-top: 0; }
.wl label, .wl legend { display: block; font-size: 15px; font-weight: 600; color: var(--ink); }
.wl .opt { font-weight: 400; color: var(--ink-subtle); }
.wl input[type="text"], .wl input[type="email"] {
  display: block; width: 100%; margin-top: 7px; padding: 11px 14px; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--surface); border: 1px solid var(--hairline-strong); border-radius: 10px;
  transition: border-color 140ms var(--ease), box-shadow 140ms var(--ease);
}
.wl input[type="text"]:focus, .wl input[type="email"]:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.wl input[aria-invalid="true"] { border-color: var(--danger); }
.wl fieldset { margin: 20px 0 0; padding: 0; border: 0; min-width: 0; }
.wl legend { padding: 0; }
.choices { display: flex; flex-direction: column; gap: 8px; margin-top: 9px; }
.choices.inline { flex-direction: row; flex-wrap: wrap; }
.wl .choice { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--hairline); border-radius: 10px; background: var(--surface); font-size: 15.5px; font-weight: 400; color: var(--ink-muted); cursor: pointer; transition: border-color 140ms var(--ease), background 140ms var(--ease); }
.choices.inline .choice { flex: 1 1 auto; justify-content: center; }
.choice:hover { border-color: var(--hairline-strong); }
.wl .choice:has(input:checked) { border-color: var(--accent); background: var(--accent-dim); color: var(--ink); }
.choice input, .consent input { margin: 0; width: 17px; height: 17px; accent-color: var(--accent); flex-shrink: 0; }
.wl fieldset.invalid .choice { border-color: color-mix(in srgb, var(--danger) 45%, var(--hairline)); }
.wl .consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 22px; font-size: 15px; font-weight: 400; color: var(--ink-muted); line-height: 1.5; cursor: pointer; }
.consent input { margin-top: 3px; }
.consent a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.wl-error { display: block; margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--danger); }
.wl-error:empty { display: none; }
.wl-hint { display: block; margin-top: 6px; font-size: 14px; color: var(--ink-subtle); }
.wl-hint[hidden] { display: none; }
.wl-summary { margin-bottom: 20px; padding: 14px 16px; border: 1px solid color-mix(in srgb, var(--danger) 40%, var(--hairline)); border-radius: 12px; background: #FDF1EF; }
.wl-summary[hidden] { display: none; }
.wl .wl-summary p { margin: 0; font-size: 15px; font-weight: 600; color: var(--danger); }
.wl-summary ul { margin: 6px 0 0; padding-left: 18px; }
.wl-summary li { font-size: 14.5px; margin: 3px 0; }
.wl-summary a { color: var(--danger); text-decoration: underline; }
.wl-actions { margin-top: 24px; }
.wl-actions .btn { width: 100%; justify-content: center; padding: 12px 18px; }
.wl-actions .btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.wl .wl-legal { max-width: none; margin: 12px 0 0; font-size: 13.5px; color: var(--ink-faint); text-align: center; }
.wl-ts { margin-top: 18px; }
.wl-ts:empty { margin-top: 0; }
.wl .wl-status { max-width: none; margin: 16px 0 0; font-size: 15px; text-align: center; }
.wl-status:empty { display: none; }
.wl-status.err { color: var(--danger); font-weight: 600; }
.cta .wl-done { max-width: 520px; text-align: left; margin: 28px auto 0; padding: 18px 20px; border-radius: 12px; background: var(--accent-dim); color: var(--ink); font-size: 16.5px; }
.wl-done[hidden] { display: none; }
.wl-done strong { word-break: break-all; }
/* Honeypot: fuera de la vista y del árbol de accesibilidad. */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 560px) {
  .cta .card { padding: 40px 20px; }
  .choices.inline .choice { flex: 1 1 40%; }
}
