/* ==========================================================================
   FinancIA Partners — landing publica (index.html)
   --------------------------------------------------------------------------
   Clon estructural de biblioteca.codigomaestria.com/repos con la marca
   FinancIA Partners: cabecera, hero, "Que hay dentro" (6 categorias),
   cinta de cifras, "La oportunidad", "Quienes estan detras", pie, y la
   intro tipo Matrix que abre la pagina.

   Los tokens y las primitivas vienen de assets/tokens.css.
   ========================================================================== */

/* ==========================================================================
   Cabecera fija
   ========================================================================== */
.fp-header {
  position: sticky; top: 0; z-index: var(--fp-z-header);
  border-bottom: 1px solid var(--fp-line-soft);
  background: rgba(3, 10, 34, 0.72);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.fp-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }

.fp-brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--fp-white); font-weight: 900; letter-spacing: -0.02em; font-size: 1rem; white-space: nowrap;
}
.fp-brand__logo {
  width: 34px; height: 34px; display: grid; place-items: center; flex: none;
  border-radius: 10px; background: #fff; color: var(--fp-accent);
  box-shadow: 0 0 16px rgba(0, 112, 248, 0.6);
}
.fp-brand__logo svg { width: 20px; height: 20px; }
.fp-brand em { font-style: normal; color: var(--fp-accent-ink); }
.fp-brand small {
  padding: 3px 7px; border-radius: 6px; border: 1px solid var(--fp-line);
  font: 600 0.6rem/1 var(--fp-mono); letter-spacing: 0.16em; color: var(--fp-glow);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.fp-hero {
  position: relative; isolation: isolate;
  padding-block: clamp(36px, 5vw, 64px) clamp(56px, 7vw, 96px); overflow: clip;
}

/* Fondo procedural: el original usaba una foto. Aqui es rejilla + halo, que
   ademas no pesa nada y no depende de un CDN. */
.fp-hero__bg { position: absolute; inset: 0 0 auto 0; height: min(100%, 980px); z-index: -2; overflow: hidden; }
.fp-hero__bg::before {
  content: ''; position: absolute; inset: -30% -10%;
  background:
    radial-gradient(ellipse 52% 42% at 50% 8%, rgba(0, 112, 248, 0.55), transparent 68%),
    radial-gradient(ellipse 36% 30% at 12% 46%, rgba(31, 134, 255, 0.26), transparent 72%),
    radial-gradient(ellipse 34% 32% at 88% 40%, rgba(0, 88, 204, 0.3), transparent 72%),
    linear-gradient(180deg, #071a44 0%, #04102e 52%, #030a22 100%);
}
.fp-hero__bg::after {
  content: ''; position: absolute; inset: 0; opacity: 0.5;
  background-image:
    linear-gradient(rgba(91, 156, 225, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 156, 225, 0.13) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(ellipse 72% 74% at 50% 30%, #000, transparent 76%);
  mask-image: radial-gradient(ellipse 72% 74% at 50% 30%, #000, transparent 76%);
}
.fp-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 62% 56% at 50% 32%, rgba(3, 10, 34, 0.78), rgba(3, 10, 34, 0.4) 70%, rgba(3, 10, 34, 0.25)),
    linear-gradient(180deg, rgba(3, 10, 34, 0.2) 0%, rgba(3, 10, 34, 0.55) 45%, var(--fp-bg) 88%);
}
.fp-hero__inner { display: grid; justify-items: center; gap: clamp(18px, 2vw, 24px); text-align: center; }
.fp-hero__inner > * { max-width: 100%; }
.fp-hero__sub { max-width: 40em; font-size: clamp(1.02rem, 0.95rem + 0.5vw, 1.28rem); line-height: 1.5; color: var(--fp-muted); }
.fp-hero__sub strong { color: var(--fp-white); font-weight: 700; }

/* --- Temas del hero: dos filas en bucle -------------------------------- */
.fp-tags {
  display: grid; justify-items: center; gap: 2px; max-width: 100%;
  font-size: clamp(1.02rem, 0.95rem + 0.5vw, 1.28rem); line-height: 1.5; color: var(--fp-text);
}
.fp-tags__row { max-width: 100%; }
.fp-tags__track { display: flex; white-space: nowrap; }
.fp-tags i { font-style: normal; color: var(--fp-accent-hi); margin-inline: 0.45em; }
.fp-tags__end, .fp-tags__clone { display: none; }

/* --- Video (portada + play abren el registro) -------------------------- */
.fp-video {
  position: relative; width: min(100%, 880px); margin-top: clamp(10px, 1.6vw, 20px);
  aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden;
  border: 2px solid #3d9dff; background: var(--fp-bg-deep); cursor: pointer;
  box-shadow: 0 0 0 1px rgba(140, 198, 255, 0.35), 0 0 30px rgba(0, 112, 248, 0.7),
              0 0 110px rgba(0, 112, 248, 0.35), 0 30px 80px rgba(0, 0, 0, 0.6);
}
.fp-video__art { position: absolute; inset: 0; background: linear-gradient(150deg, #07205a 0%, #04102e 55%, #02061a 100%); }
.fp-video__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(91, 156, 225, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 156, 225, 0.14) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000, transparent 88%);
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000, transparent 88%);
}
/* Mini tablero de tesoreria dibujado con CSS: da contexto de que va el video
   sin necesitar una captura real. */
.fp-video__ui { position: absolute; inset: 0; padding: 9% 8% 12%; display: grid; align-content: end; gap: 4%; }
.fp-video__kpis { display: flex; gap: 2.4%; flex-wrap: wrap; }
.fp-video__kpi {
  display: grid; gap: 2px; padding: 8px 12px; border-radius: 10px;
  border: 1px solid rgba(91, 156, 225, 0.34); background: rgba(2, 10, 34, 0.72);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.fp-video__kpi b {
  font: 800 clamp(0.72rem, 0.5rem + 0.9vw, 1.05rem)/1 var(--fp-mono);
  color: var(--fp-white); font-variant-numeric: tabular-nums;
}
.fp-video__kpi span { font: 600 clamp(0.46rem, 0.36rem + 0.3vw, 0.6rem)/1 var(--fp-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--fp-glow); }
.fp-video__chart { width: 100%; height: auto; overflow: visible; }
.fp-video__chart .spark { stroke-dasharray: 340; stroke-dashoffset: 340; animation: fp-spark 3.4s var(--fp-ease) infinite; }
@keyframes fp-spark { 0% { stroke-dashoffset: 340; } 55%, 100% { stroke-dashoffset: 0; } }

.fp-video::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, rgba(2, 6, 26, 0) 38%, rgba(2, 6, 26, 0.5));
}
.fp-video__play {
  position: absolute; left: 50%; top: 50%; z-index: 2; display: grid; place-items: center;
  width: clamp(72px, 9vw, 104px); aspect-ratio: 1; border-radius: 50%; padding: 0;
  border: 2px solid rgba(140, 198, 255, 0.9);
  background: rgba(0, 112, 248, 0.32); color: #fff; transform: translate(-50%, -50%);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 0 0 14px rgba(0, 112, 248, 0.16), 0 0 0 30px rgba(0, 112, 248, 0.08), 0 0 40px rgba(0, 112, 248, 0.7);
  transition: transform 0.25s var(--fp-ease), background 0.25s ease;
  animation: fp-ring 2.6s ease-in-out infinite;
}
.fp-video__play:hover { transform: translate(-50%, -50%) scale(1.06); background: rgba(0, 112, 248, 0.55); }
.fp-video__play svg { width: 36%; height: 36%; margin-left: 8%; fill: currentColor; stroke: none; }
.fp-video__tag { position: absolute; left: 16px; bottom: 16px; z-index: 2; font-size: 0.64rem; }
@keyframes fp-ring {
  0%, 100% { box-shadow: 0 0 0 14px rgba(0,112,248,0.16), 0 0 0 30px rgba(0,112,248,0.08), 0 0 40px rgba(0,112,248,0.7); }
  50% { box-shadow: 0 0 0 18px rgba(0,112,248,0.2), 0 0 0 38px rgba(0,112,248,0.06), 0 0 56px rgba(0,112,248,0.85); }
}

.fp-hero__cta { display: grid; justify-items: center; gap: 18px; margin-top: clamp(10px, 1.6vw, 18px); }

/* ==========================================================================
   Que hay dentro — 6 categorias
   ========================================================================== */
.fp-lib-grid { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fp-lib-card {
  display: grid; align-content: start; gap: 12px; padding: clamp(20px, 2.2vw, 28px);
  border-radius: var(--fp-r-lg);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s var(--fp-ease);
}
.fp-lib-card:hover { border-color: var(--fp-line-strong); box-shadow: var(--fp-neon-hi), 0 26px 60px rgba(0, 0, 0, 0.5); transform: translateY(-3px); }
.fp-lib-card__top { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.fp-lib-card__n { font: 700 0.78rem/1 var(--fp-mono); letter-spacing: 0.12em; color: var(--fp-accent-hi); }
.fp-lib-card__count {
  margin-left: auto; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--fp-line-strong);
  background: rgba(0, 112, 248, 0.16);
  font: 600 0.7rem/1 var(--fp-mono); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--fp-glow); white-space: nowrap;
}
.fp-lib-card__title { color: var(--fp-white); font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.45rem); font-weight: 900; letter-spacing: -0.025em; line-height: 1.15; }
.fp-lib-card__text { color: var(--fp-muted); font-size: 0.95rem; line-height: 1.5; }
.fp-lib-card__list { display: grid; gap: 10px; margin-top: 4px; padding-top: 14px; border-top: 1px solid rgba(91, 156, 225, 0.22); }
.fp-lib-card__list li { display: flex; align-items: flex-start; gap: 10px; color: var(--fp-text); font-size: 0.92rem; font-weight: 600; line-height: 1.35; }
.fp-lib-card__list .ic { flex: none; margin-top: 2px; font-size: 1.05em; color: var(--fp-accent-hi); stroke-width: 3; }

.fp-punch {
  margin-top: clamp(30px, 3.4vw, 46px); text-align: center;
  font-size: clamp(1.2rem, 1rem + 1vw, 1.7rem); font-weight: 800; color: var(--fp-white);
  letter-spacing: -0.02em; line-height: 1.3; text-wrap: balance;
}
.fp-punch .fp-blue { color: var(--fp-accent-hi); text-shadow: 0 0 22px rgba(0, 112, 248, 0.75); }

/* --- Soluciones bloqueadas --------------------------------------------- */
.fp-locked { position: relative; margin-top: clamp(26px, 3vw, 40px); padding: 8px; border-radius: var(--fp-r-lg); overflow: hidden; }
.fp-locked__list {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 6px;
  max-height: 250px; overflow: hidden; filter: blur(3.5px); opacity: 0.75;
  pointer-events: none; user-select: none;
}
.fp-locked__i {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 12px; border-radius: 10px; border: 1px solid var(--fp-line);
  background: rgba(2, 8, 30, 0.6);
  font-size: 0.84rem; color: var(--fp-white); font-weight: 600;
  white-space: nowrap; overflow: hidden;
}
.fp-locked__i span { flex: none; color: var(--fp-muted); font-weight: 500; font-size: 0.76rem; }
.fp-locked__over {
  position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 14px;
  padding: 20px; text-align: center;
  background: radial-gradient(ellipse at center, rgba(2, 6, 26, 0.9) 0%, rgba(2, 6, 26, 0.62) 60%, rgba(2, 6, 26, 0.3) 100%);
}
.fp-locked__over b { font-size: clamp(1.2rem, 1rem + 1.2vw, 1.8rem); font-weight: 900; color: var(--fp-white); letter-spacing: -0.03em; line-height: 1.1; }

/* ==========================================================================
   La oportunidad
   ========================================================================== */
/* Titular marcado a mano: dos lineas rotadas sobre un resaltado azul con
   borde irregular. El clip-path es lo que le da el aspecto de rotulador. */
.fp-marks {
  display: grid; justify-items: start; gap: 0.14em; line-height: 1.12;
  font-size: min(clamp(1.9rem, 1.1rem + 3.4vw, 3.5rem), calc((100vw - 2 * var(--fp-gutter)) / 15.2));
}
.fp-marks__line {
  position: relative; z-index: 0; display: inline-block;
  padding: 0.14em 0.46em 0.2em; color: var(--fp-white); text-shadow: none;
  white-space: nowrap; transform: rotate(-0.8deg);
}
.fp-marks__line--b { transform: rotate(0.6deg); margin-left: 0.3em; }
.fp-marks__line::before {
  content: ''; position: absolute; inset: 0; z-index: -1; background: #0064d8;
  clip-path: polygon(0% 2.1px, 6.7% 3.6px, 13.3% 3.5px, 20% 3.6px, 26.7% 3.9px, 33.3% 2.7px, 40% 2.8px, 46.7% 3.2px, 53.3% 4.3px, 60% 2.8px, 66.7% 2.1px, 73.3% 0.7px, 80% 1.8px, 86.7% 2.5px, 93.3% 0.8px, 100% 2.6px, calc(100% - 2.4px) 16.7%, calc(100% - 8.9px) 33.3%, calc(100% - 1.5px) 50%, calc(100% - 5.9px) 66.7%, 100% 83.3%, 100% calc(100% - 4.5px), 93.3% calc(100% - 4.5px), 86.7% calc(100% - 3.2px), 80% calc(100% - 1.4px), 73.3% calc(100% - 2.2px), 66.7% calc(100% - 2.4px), 60% calc(100% - 1.8px), 53.3% calc(100% - 1.8px), 46.7% calc(100% - 1.3px), 40% calc(100% - 1.2px), 33.3% 100%, 26.7% 100%, 20% 100%, 13.3% 100%, 6.7% 100%, 0% calc(100% - 0.5px), 1.8px 83.3%, 6.9px 66.7%, 0.6px 50%, 6.7px 33.3%, 0.2px 16.7%);
}
.fp-marks__line--b::before {
  clip-path: polygon(0% 1.5px, 6.7% 2.8px, 13.3% 2px, 20% 2.1px, 26.7% 1.5px, 33.3% 1.2px, 40% 2.9px, 46.7% 1.5px, 53.3% 1.3px, 60% 0.3px, 66.7% 0px, 73.3% 1.8px, 80% 1.2px, 86.7% 1.6px, 93.3% 1.3px, 100% 2.1px, calc(100% - 1.1px) 16.7%, calc(100% - 6px) 33.3%, calc(100% - 1.1px) 50%, calc(100% - 7.4px) 66.7%, calc(100% - 2px) 83.3%, 100% calc(100% - 3.1px), 93.3% calc(100% - 4.5px), 86.7% calc(100% - 3.8px), 80% calc(100% - 3.4px), 73.3% calc(100% - 3.8px), 66.7% calc(100% - 3.2px), 60% calc(100% - 2.9px), 53.3% calc(100% - 2px), 46.7% calc(100% - 1.1px), 40% calc(100% - 1px), 33.3% 100%, 26.7% 100%, 20% calc(100% - 1px), 13.3% calc(100% - 0.9px), 6.7% calc(100% - 1.7px), 0% calc(100% - 1px), 2.3px 83.3%, 7.2px 66.7%, 0.3px 50%, 5.9px 33.3%, 0.9px 16.7%);
}

.fp-stats { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.fp-stat { padding: 24px; display: grid; gap: 8px; }
.fp-stat__n {
  font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem); font-weight: 900;
  letter-spacing: -0.04em; line-height: 1; color: var(--fp-white);
  text-shadow: 0 0 26px rgba(0, 112, 248, 0.8);
}
.fp-stat__n span { color: var(--fp-accent-ink); }
.fp-stat__n b { font-weight: inherit; font-variant-numeric: tabular-nums; }
.fp-stat__t { color: var(--fp-text); font-size: 0.98rem; }

.fp-curve { margin-top: 14px; padding: clamp(22px, 3vw, 40px); display: grid; gap: 18px; }
.fp-curve svg { width: 100%; height: auto; overflow: visible; }
.fp-curve__head p { margin-top: 8px; max-width: 60ch; }
.fp-curve__axis {
  display: flex; justify-content: space-between; gap: 10px;
  font: 600 0.7rem/1.3 var(--fp-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--fp-muted);
}
.fp-curve__axis .is-on { color: var(--fp-glow); }
.fp-quote { margin-top: 8px; font-size: clamp(1.02rem, 0.95rem + 0.5vw, 1.25rem); color: var(--fp-white); font-weight: 600; max-width: 56ch; text-wrap: pretty; }
.fp-quote cite { display: block; margin-top: 10px; font: 600 0.78rem/1 var(--fp-mono); font-style: normal; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fp-muted); }

/* ==========================================================================
   Quienes estan detras
   ========================================================================== */
.fp-host { display: grid; gap: clamp(28px, 4vw, 60px); align-items: center; }
.fp-host__photo {
  position: relative; border-radius: var(--fp-r-lg); overflow: hidden;
  border: 1.5px solid var(--fp-line-strong);
  box-shadow: var(--fp-neon-hi), 0 30px 80px rgba(0, 0, 0, 0.6);
  max-width: 460px; justify-self: center; width: 100%; aspect-ratio: 1 / 1.1;
  background: linear-gradient(160deg, #0a2a70, #04102e 60%, #02061a);
}
/* Monograma en vez de retrato: no inventamos caras ni usamos fotos ajenas. */
.fp-host__art { position: absolute; inset: 0; display: grid; place-items: center; }
.fp-host__art::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(91, 156, 225, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 156, 225, 0.16) 1px, transparent 1px);
  background-size: 38px 38px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000, transparent 80%);
}
.fp-host__art span {
  position: relative; display: grid; place-items: center;
  width: 46%; aspect-ratio: 1; border-radius: 30%;
  border: 2px solid rgba(140, 198, 255, 0.7);
  background: linear-gradient(160deg, rgba(0, 112, 248, 0.5), rgba(2, 10, 34, 0.9));
  color: var(--fp-white);
  font: 900 clamp(1.6rem, 5vw, 3rem)/1 var(--fp-mono); letter-spacing: -0.04em;
  box-shadow: 0 0 0 14px rgba(0, 112, 248, 0.12), 0 0 60px rgba(0, 112, 248, 0.5);
}
.fp-host__photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(2, 6, 26, 0.8) 100%),
              linear-gradient(200deg, rgba(0, 112, 248, 0.3), transparent 46%);
}
.fp-host__body { display: grid; gap: 20px; justify-items: start; }

.fp-creds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; }
.fp-cred { padding: 16px; border-radius: 16px; }
.fp-cred b {
  display: block; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); font-weight: 900;
  letter-spacing: -0.04em; line-height: 1; color: var(--fp-white);
  text-shadow: 0 0 22px rgba(0, 112, 248, 0.8); font-variant-numeric: tabular-nums;
}
.fp-cred span { display: block; margin-top: 6px; font-size: 0.84rem; color: var(--fp-muted); line-height: 1.3; }

.fp-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.fp-badge {
  display: grid; place-items: center; height: 54px; padding: 8px 20px; border-radius: 14px;
  background: #fff; color: #04102e; overflow: hidden;
  font: 800 0.78rem/1 var(--fp-sans); letter-spacing: 0.08em;
  box-shadow: 0 0 20px rgba(0, 112, 248, 0.4), 0 10px 26px rgba(0, 0, 0, 0.4);
}

/* --- Riel de sesiones -------------------------------------------------- */
.fp-talks { margin-top: clamp(40px, 5vw, 70px); display: grid; gap: 22px; }
.fp-talks__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.fp-talks__title { font-size: clamp(1.5rem, 1.2rem + 1.8vw, 2.4rem); }
.fp-talks__nav { display: flex; gap: 10px; }
.fp-talks__rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(74%, 270px); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 6px var(--fp-gutter) 14px; margin-inline: calc(var(--fp-gutter) * -1);
}
.fp-talks__rail::-webkit-scrollbar { display: none; }

.fp-poster {
  margin: 0; scroll-snap-align: start; border-radius: 20px; overflow: hidden;
  border: 1.5px solid var(--fp-line); background: var(--fp-bg-deep);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55);
  transition: transform 0.4s var(--fp-ease), border-color 0.3s ease, box-shadow 0.3s ease;
}
.fp-poster:hover { transform: translateY(-6px); border-color: var(--fp-line-strong); box-shadow: var(--fp-neon-hi), 0 24px 60px rgba(0, 0, 0, 0.6); }
.fp-poster__art {
  position: relative; display: grid; align-content: space-between; gap: 14px;
  aspect-ratio: 4 / 5; padding: 20px; isolation: isolate;
}
.fp-poster__art::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0.4;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 20%, #000, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 70% at 30% 20%, #000, transparent 80%);
}
.fp-poster__k { font: 700 0.66rem/1 var(--fp-mono); letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.82); }
.fp-poster__t { color: #fff; font-weight: 900; font-size: 1.2rem; line-height: 1.12; letter-spacing: -0.02em; text-shadow: 0 2px 14px rgba(2, 6, 26, 0.9); }
.fp-poster__art--a { background: linear-gradient(155deg, #1f86ff, #062b6b); }
.fp-poster__art--b { background: linear-gradient(155deg, #0ea5a5, #073f52); }
.fp-poster__art--c { background: linear-gradient(155deg, #7c4dff, #2a1a63); }
.fp-poster__art--d { background: linear-gradient(155deg, #ff7a45, #63240f); }
.fp-poster__art--e { background: linear-gradient(155deg, #2e9bff, #0b2c1f); }
.fp-poster figcaption { padding: 12px 16px; font-size: 0.8rem; color: var(--fp-muted); border-top: 1px solid rgba(91, 156, 225, 0.22); }

/* ==========================================================================
   Pie
   ========================================================================== */
.fp-footer {
  border-top: 1px solid var(--fp-line-soft); background: rgba(2, 8, 30, 0.6);
  padding-block: 40px;
}
.fp-footer__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.fp-footer__note { font-size: 0.82rem; color: var(--fp-muted); max-width: 46ch; }
.fp-footer__nav { display: flex; gap: 22px; font-size: 0.86rem; font-weight: 600; color: var(--fp-muted); }
.fp-footer__nav a { transition: color 0.2s ease; }
.fp-footer__nav a:hover { color: var(--fp-white); }

/* ==========================================================================
   Intro tipo Matrix (canvas). Se salta con un clic o con cualquier tecla.
   ========================================================================== */
html.fp-intro-lock, html.fp-intro-lock body { overflow: hidden !important; }

.fp-intro {
  position: fixed; inset: 0; z-index: 2147483647; overflow: hidden;
  background: var(--fp-bg-deep); color: #fff; cursor: pointer;
  opacity: 1; transition: opacity var(--fp-intro-fade, 800ms) var(--fp-ease);
  -webkit-tap-highlight-color: transparent;
}
.fp-intro * { box-sizing: border-box; }
.fp-intro.is-out { opacity: 0; pointer-events: none; }
.fp-intro canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.fp-intro canvas.fp-intro__front { filter: blur(3px); opacity: 0.75; transform: scale(1.03); }
.fp-intro__veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 34% 30% at 50% 50%, rgba(1, 3, 12, 0.55), rgba(1, 3, 12, 0) 100%),
    radial-gradient(ellipse 90% 40% at 50% 112%, rgba(31, 107, 255, 0.42), rgba(31, 107, 255, 0) 70%),
    linear-gradient(180deg, rgba(1, 3, 12, 0.55) 0%, rgba(1, 3, 12, 0) 22%, rgba(1, 3, 12, 0) 70%, rgba(1, 3, 12, 0.35) 100%),
    radial-gradient(ellipse at center, rgba(1, 3, 12, 0) 45%, rgba(1, 3, 12, 0.92) 100%);
}
.fp-intro__center { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 0 16px; pointer-events: none; }
.fp-intro__card {
  position: relative; max-width: 100%;
  filter: drop-shadow(0 0 18px rgba(31, 107, 255, 0.45)) drop-shadow(0 0 60px rgba(31, 107, 255, 0.22));
  opacity: 0; transform: translateY(10px);
  animation: fp-intro-card 700ms var(--fp-ease) 120ms both;
}
@keyframes fp-intro-card { to { opacity: 1; transform: none; } }
.fp-intro__box {
  display: grid; justify-items: center; gap: 14px;
  padding: clamp(26px, 6vw, 52px) clamp(24px, 7vw, 64px);
  border: 1px solid rgba(61, 139, 255, 0.55);
  background: linear-gradient(180deg, rgba(3, 14, 44, 0.86), rgba(2, 6, 26, 0.9));
  box-shadow: inset 0 0 40px rgba(31, 107, 255, 0.16), 0 0 0 1px rgba(31, 107, 255, 0.14);
  clip-path: polygon(18px 0, calc(100% - 18px) 0, 100% 18px, 100% calc(100% - 18px), calc(100% - 18px) 100%, 18px 100%, 0 calc(100% - 18px), 0 18px);
}
.fp-intro__brand {
  font: 800 clamp(1.6rem, 1rem + 4.2vw, 3.4rem)/1.05 var(--fp-mono);
  letter-spacing: -0.02em; color: #fff; text-align: center;
  text-shadow: 0 0 24px rgba(31, 107, 255, 0.75);
  white-space: nowrap;
}
.fp-intro__brand i { font-style: normal; color: #4da3ff; }
.fp-intro__label {
  font: 600 clamp(0.6rem, 0.5rem + 0.4vw, 0.76rem)/1 var(--fp-mono);
  letter-spacing: 0.34em; text-transform: uppercase; color: #8cc6ff;
}
.fp-intro__bar { width: min(320px, 62vw); height: 3px; border-radius: 3px; background: rgba(61, 139, 255, 0.24); overflow: hidden; }
.fp-intro__bar i { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, #1f6bff, #8cc6ff); box-shadow: 0 0 12px #3d8bff; transition: transform 120ms linear; }
.fp-intro__brackets { position: absolute; inset: 0; pointer-events: none; }
.fp-intro__brackets i { position: absolute; width: 34px; height: 34px; border: 2px solid rgba(61, 139, 255, 0.75); }
.fp-intro__brackets i:nth-child(1) { top: 18px; left: 18px; border-right: 0; border-bottom: 0; }
.fp-intro__brackets i:nth-child(2) { top: 18px; right: 18px; border-left: 0; border-bottom: 0; }
.fp-intro__brackets i:nth-child(3) { bottom: 18px; right: 18px; border-left: 0; border-top: 0; }
.fp-intro__brackets i:nth-child(4) { bottom: 18px; left: 18px; border-right: 0; border-top: 0; }
.fp-intro__hint {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  font: 600 0.7rem/1 var(--fp-mono); letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(140, 198, 255, 0.75); pointer-events: none; white-space: nowrap;
}
.fp-intro__hint b { color: #fff; font-weight: 700; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 920px) {
  .fp-host { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
  .fp-talks__rail { grid-auto-columns: 270px; }
}
@media (max-width: 999px) {
  .fp-lib-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 919px) {
  .fp-head:not(.fp-head--center) { justify-items: center; text-align: center; }
  .fp-head:not(.fp-head--center) .fp-lead { margin-inline: auto; }
  .fp-marks { justify-items: center; }
  .fp-marks__line--b { margin-left: 0; }
  .fp-curve__head, .fp-quote { text-align: center; }
  .fp-curve__head p, .fp-quote { margin-inline: auto; }
  .fp-stat { text-align: center; }
  .fp-host__body { justify-items: center; text-align: center; }
  .fp-host__body .fp-lead { margin-inline: auto; }
  .fp-badges { justify-content: center; }
  .fp-cred { text-align: center; }
  .fp-talks__head { justify-content: center; text-align: center; }
}
@media (max-width: 640px) {
  .fp-lib-grid { grid-template-columns: minmax(0, 1fr); }
  .fp-locked__list { max-height: 300px; }
  .fp-locked__over .fp-btn { width: 100%; }
  .fp-creds { grid-template-columns: minmax(0, 1fr); }
  .fp-header__bar { flex-wrap: wrap; padding-block: 10px; min-height: 60px; }
  .fp-header .fp-btn--sm { width: 100%; }
  .fp-brand small { display: none; }
  .fp-video { border-radius: 16px; }
  .fp-video__tag { display: none; }
  /* Nueve temas no caben en dos lineas: cada fila se desliza en bucle. */
  .fp-tags { justify-items: stretch; width: 100%; }
  .fp-tags__row {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  }
  .fp-tags__track { width: max-content; animation: fp-marquee 26s linear infinite; }
  .fp-tags__row--b .fp-tags__track { animation-direction: reverse; animation-duration: 22s; }
  .fp-tags__end, .fp-tags__clone { display: inline; }
  .fp-intro__hint { font-size: 0.7rem; letter-spacing: 0.16em; }
}
