/* ==========================================================================
   Capa nueva (src/landing): preloader, texto animado, iconos y whitepaper.
   CSS plano: el mirror trae Tailwind ya compilado, asi que las clases que
   no existan alli no pintan nada. Todo lo nuevo lleva prefijo lp-/wp-.
   ========================================================================== */

/* Digitos del contador: Archivo Black, una grotesca pesadisima y ancha.
   Sustituye a Pricedown (la de GTA) que no pega con esta marca. */
@font-face {
  font-family: "Archivo Black";
  src: url("/fonts/archivo-black-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

:root {
  --lp-bg: 228 45% 4%;
  --lp-primary: 252 70% 65%;
  --lp-violet: #7c3aed;
  --lp-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --lp-font-display: "Hanken Grotesk", system-ui, sans-serif;
  --lp-font-mono: "Space Mono", "Titillium Web", monospace;
  --lp-font-sans: Inter, system-ui, sans-serif;
}

/* Fondo negro hasta que la cortina termina (clase is-ready desde main.jsx):
   asi el primer pintado del navegador ya es negro, sin fogonazo. */
html {
  background: #000;
}
html.is-ready {
  background: hsl(var(--lp-bg));
}

/* ------------------------------------------------------------ preloader */
.lp-preloader {
  position: fixed;
  inset: 0;
  z-index: 105;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #000;
}
.lp-counter {
  position: relative;
  display: inline-block;
  font-family: "Archivo Black", "Archivo", Impact, "Arial Black", sans-serif;
  font-size: clamp(56px, 9vw, 112px);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: #fff;
  user-select: none;
  -webkit-user-select: none;
}
.lp-counter-row {
  display: flex;
  align-items: center;
}
.lp-reel {
  position: relative;
  display: inline-block;
  height: 1em;
  overflow: hidden;
  vertical-align: baseline;
}
.lp-reel-stack {
  display: flex;
  flex-direction: column;
  will-change: transform;
}
.lp-reel-digit {
  display: flex;
  height: 1em;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.lp-curtain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 110;
  width: 100%;
  height: 100%;
}

/* transicion de pagina (misma cortina, por encima de todo, sin bloquear) */
.lp-transition {
  position: fixed;
  inset: 0;
  z-index: 120;
  pointer-events: none;
}
.lp-transition-black {
  position: absolute;
  inset: 0;
  background: #000;
}
.lp-transition .lp-curtain {
  z-index: 1;
  position: absolute;
}

/* --------------------------------------------------------- texto animado */
.lp-rt-w {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  /* margen interior para que la mascara no recorte ascendentes/descendentes */
  padding: 0.1em 0.03em 0.14em 0;
  margin: -0.1em 0 -0.14em 0;
}
.lp-rt-wi {
  display: inline-block;
  will-change: transform, opacity, filter;
}
.lp-rb {
  will-change: transform, opacity, filter;
}

/* ------------------------------------------------------------- iconos */
.lp-icon {
  display: inline-flex;
  line-height: 0;
}
.lp-chip {
  display: inline-flex;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: hsl(var(--lp-primary) / 0.1);
  border: 1px solid hsl(var(--lp-primary) / 0.28);
  color: hsl(252 85% 80%);
  box-shadow:
    inset 0 1px 0 hsl(0 0% 100% / 0.08),
    0 12px 32px -14px hsl(var(--lp-primary) / 0.55);
  transition: background 220ms ease, border-color 220ms ease, transform 220ms var(--lp-ease);
}
.lp-chip:hover {
  background: hsl(var(--lp-primary) / 0.18);
  border-color: hsl(var(--lp-primary) / 0.5);
  transform: translateY(-2px);
}
.lp-chip--muted {
  background: hsl(0 0% 100% / 0.04);
  border-color: hsl(0 0% 100% / 0.1);
  color: hsl(0 0% 98% / 0.8);
  box-shadow: inset 0 1px 0 hsl(0 0% 100% / 0.06);
}
.lp-chip--sm {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}
.lp-chip--lg {
  width: 68px;
  height: 68px;
  border-radius: 20px;
}
/* Fila de chips en la seccion de estadisticas y en las tarjetas */
.lp-chip-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ------------------------------------------------------------ whitepaper */
.wp {
  position: relative;
  min-height: 100vh;
  background: hsl(var(--lp-bg));
  color: hsl(0 0% 98%);
  font-family: var(--lp-font-sans);
}
.wp-glow {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.wp-glow::before {
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  top: -320px;
  left: 50%;
  transform: translateX(-70%);
  border-radius: 50%;
  background: hsl(var(--lp-primary) / 0.12);
  filter: blur(160px);
}
.wp-wrap {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 112px 24px 96px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media (min-width: 860px) {
  .wp-wrap {
    flex-direction: row;
    gap: 64px;
    padding-top: 128px;
  }
}

/* ---- side panel ---- */
.wp-side {
  flex-shrink: 0;
}
@media (min-width: 860px) {
  .wp-side {
    width: 280px;
  }
  .wp-side-inner {
    position: sticky;
    top: 104px;
  }
}
.wp-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--lp-font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: hsl(0 0% 98% / 0.4);
  text-decoration: none;
  transition: color 200ms ease;
}
.wp-back:hover {
  color: hsl(0 0% 98%);
}
.wp-brand {
  display: block;
  margin-top: 20px;
  text-decoration: none;
  color: inherit;
}
.wp-brand-name {
  display: block;
  font-family: var(--lp-font-display);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}
.wp-brand-logo {
  display: block;
  width: 190px;
  height: auto;
}
.wp-brand-sub {
  display: block;
  margin-top: 6px;
  font-family: var(--lp-font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  color: hsl(var(--lp-primary));
}
.wp-side-meta {
  display: none;
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: hsl(0 0% 98% / 0.4);
}
@media (min-width: 860px) {
  .wp-side-meta {
    display: block;
  }
}
.wp-nav {
  position: sticky;
  top: 60px;
  z-index: 30;
  margin: 20px -24px 0;
  padding: 10px 24px;
  background: hsl(var(--lp-bg) / 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
@media (min-width: 860px) {
  .wp-nav {
    position: static;
    margin: 28px 0 0;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
.wp-list {
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.wp-list::-webkit-scrollbar {
  display: none;
}
@media (min-width: 860px) {
  .wp-list {
    flex-direction: column;
    gap: 2px;
    overflow-x: visible;
  }
}
.wp-list li {
  flex-shrink: 0;
}
.wp-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-family: var(--lp-font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
  color: hsl(0 0% 98% / 0.45);
  transition: color 200ms ease, background-color 200ms ease;
}
.wp-link:hover {
  color: hsl(0 0% 98%);
  background: hsl(0 0% 100% / 0.04);
}
/* Activo: solo el texto en blanco y el numero encendido. Sin barra ni fondo. */
.wp-link[aria-current="page"] {
  color: hsl(0 0% 98%);
  background: transparent;
}
.wp-link[aria-current="page"] .wp-link-num {
  color: hsl(0 0% 98% / 0.7);
}
.wp-link-bar {
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 22px;
  border-radius: 999px;
  background: hsl(var(--lp-primary));
  transform: translateY(-50%);
  display: none;
}
@media (min-width: 860px) {
}
.wp-link-num {
  font-variant-numeric: tabular-nums;
  color: hsl(0 0% 98% / 0.25);
}
.wp-link .lp-icon {
  color: hsl(0 0% 98% / 0.4);
}
.wp-link[aria-current="page"] .lp-icon,
.wp-link:hover .lp-icon {
  color: hsl(var(--lp-primary));
}

/* ilustracion de cabecera del capitulo */
.wp-hero {
  margin: 28px 0 8px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid hsl(0 0% 100% / 0.08);
  background: hsl(0 0% 100% / 0.02);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}
.wp-hero img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* ---- content ---- */
.wp-main {
  flex: 1;
  min-width: 0;
}
@media (min-width: 860px) {
  .wp-main {
    max-width: 760px;
  }
}
.wp-article {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.wp-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--lp-font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: hsl(0 0% 98% / 0.4);
}
.wp-kicker .lp-chip {
  width: 40px;
  height: 40px;
  border-radius: 11px;
}
.wp-kicker-line {
  height: 1px;
  width: 32px;
  background: hsl(0 0% 98% / 0.12);
}
.wp-title {
  margin: 0;
  font-family: var(--lp-font-display);
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.wp-intro {
  margin: 0;
  max-width: 62ch;
  font-size: clamp(17px, 2.1vw, 20px);
  line-height: 1.55;
  color: hsl(0 0% 98% / 0.62);
  text-wrap: pretty;
}
.wp-rule {
  height: 1px;
  width: 100%;
  border: 0;
  margin: 4px 0;
  background: hsl(0 0% 98% / 0.08);
}
.wp-h2 {
  margin: 12px 0 0;
  font-family: var(--lp-font-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.wp-h2::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 3px;
  margin-right: 12px;
  border-radius: 999px;
  background: hsl(var(--lp-primary));
  vertical-align: middle;
  transform: translateY(-0.2em);
}
.wp-p {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.72;
  color: hsl(0 0% 98% / 0.72);
  text-wrap: pretty;
}
.wp-p code,
.wp-td code {
  font-family: var(--lp-font-mono);
  font-size: 0.86em;
  padding: 1px 6px;
  border-radius: 6px;
  background: hsl(0 0% 100% / 0.06);
  color: hsl(0 0% 98% / 0.9);
}
.wp-bullets {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wp-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  line-height: 1.6;
  color: hsl(0 0% 98% / 0.78);
}
.wp-dot {
  margin-top: 0.62em;
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: hsl(var(--lp-primary));
}
.wp-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 640px) {
  .wp-grid {
    grid-template-columns: 1fr 1fr;
  }
  .wp-grid > .wp-span2 {
    grid-column: span 2;
  }
}
.wp-card {
  display: flex;
  height: 100%;
  flex-direction: column;
  padding: 22px;
  border-radius: 18px;
  background: hsl(0 0% 100% / 0.03);
  border: 1px solid hsl(0 0% 100% / 0.07);
  text-decoration: none;
  color: inherit;
  transition: border-color 250ms ease, background-color 250ms ease, transform 300ms var(--lp-ease);
}
.wp-card:hover {
  background: hsl(0 0% 100% / 0.045);
  border-color: hsl(var(--lp-primary) / 0.35);
  transform: translateY(-2px);
}
.wp-card h3 {
  margin: 16px 0 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--lp-font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.wp-card p {
  margin: 8px 0 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: hsl(0 0% 98% / 0.6);
}
.wp-card .wp-ext {
  color: hsl(var(--lp-primary));
}
.wp-quote {
  margin: 0;
  padding: 6px 0 6px 22px;
  border-left: 2px solid hsl(var(--lp-primary));
  font-family: var(--lp-font-display);
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: hsl(0 0% 98% / 0.9);
  text-wrap: balance;
}
.wp-quote cite {
  display: block;
  margin-top: 10px;
  font-family: var(--lp-font-mono);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: hsl(0 0% 98% / 0.4);
}
.wp-callout {
  display: flex;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 16px;
  background: hsl(var(--lp-primary) / 0.08);
  border: 1px solid hsl(var(--lp-primary) / 0.25);
}
.wp-callout .lp-chip {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}
.wp-callout-body h4 {
  margin: 0;
  font-family: var(--lp-font-display);
  font-size: 16px;
  font-weight: 600;
}
.wp-callout-body p {
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: hsl(0 0% 98% / 0.7);
}
.wp-phases {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.wp-phase {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid hsl(0 0% 98% / 0.07);
}
.wp-phase:last-child {
  border-bottom: 1px solid hsl(0 0% 98% / 0.07);
}
.wp-phase-num {
  font-family: var(--lp-font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: hsl(var(--lp-primary));
  padding-top: 5px;
}
.wp-phase h4 {
  margin: 0;
  font-family: var(--lp-font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.wp-phase p {
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: hsl(0 0% 98% / 0.62);
}
.wp-phase-tag {
  display: inline-block;
  margin-left: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  font-family: var(--lp-font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  vertical-align: middle;
  background: hsl(0 0% 100% / 0.06);
  color: hsl(0 0% 98% / 0.55);
}
.wp-phase-tag--live {
  background: hsl(var(--lp-primary) / 0.18);
  color: hsl(252 85% 82%);
}
.wp-table-wrap {
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid hsl(0 0% 100% / 0.07);
}
.wp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
.wp-table th {
  text-align: left;
  padding: 12px 16px;
  font-family: var(--lp-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: hsl(0 0% 98% / 0.45);
  background: hsl(0 0% 100% / 0.03);
  border-bottom: 1px solid hsl(0 0% 100% / 0.07);
}
.wp-td {
  padding: 12px 16px;
  border-bottom: 1px solid hsl(0 0% 100% / 0.05);
  color: hsl(0 0% 98% / 0.75);
  line-height: 1.5;
  vertical-align: top;
}
.wp-table tr:last-child .wp-td {
  border-bottom: 0;
}
.wp-td:first-child {
  color: hsl(0 0% 98%);
  font-weight: 500;
}
.wp-socials {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 640px) {
  .wp-socials {
    grid-template-columns: 1fr 1fr;
  }
}
.wp-social {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 18px;
  background: hsl(0 0% 100% / 0.03);
  border: 1px solid hsl(0 0% 100% / 0.07);
  text-decoration: none;
  color: inherit;
  transition: border-color 250ms ease, transform 300ms var(--lp-ease), background-color 250ms ease;
}
.wp-social:hover {
  border-color: hsl(var(--lp-primary) / 0.4);
  background: hsl(0 0% 100% / 0.05);
  transform: translateY(-2px);
}
.wp-social-body {
  min-width: 0;
}
.wp-social-body strong {
  display: block;
  font-family: var(--lp-font-display);
  font-size: 16px;
  font-weight: 600;
}
.wp-social-body span {
  display: block;
  margin-top: 3px;
  font-family: var(--lp-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: hsl(0 0% 98% / 0.45);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wp-social--soon {
  opacity: 0.55;
  pointer-events: none;
}
.wp-social-arrow {
  margin-left: auto;
  color: hsl(var(--lp-primary));
}
.wp-pager {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 16px;
  padding-top: 28px;
  border-top: 1px solid hsl(0 0% 98% / 0.08);
}
@media (min-width: 640px) {
  .wp-pager {
    grid-template-columns: 1fr 1fr;
  }
}
.wp-pager-link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid hsl(0 0% 100% / 0.07);
  background: hsl(0 0% 100% / 0.02);
  text-decoration: none;
  color: inherit;
  transition: border-color 250ms ease, background-color 250ms ease;
}
.wp-pager-link:hover {
  border-color: hsl(var(--lp-primary) / 0.4);
  background: hsl(0 0% 100% / 0.04);
}
.wp-pager-link--next {
  text-align: right;
  align-items: flex-end;
}
.wp-pager-link small {
  font-family: var(--lp-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: hsl(0 0% 98% / 0.4);
}
.wp-pager-link strong {
  font-family: var(--lp-font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.wp-pager-empty {
  border: 1px dashed hsl(0 0% 100% / 0.06);
  border-radius: 16px;
}
.wp-foot {
  margin: 48px 0 0;
  font-family: var(--lp-font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: hsl(0 0% 98% / 0.3);
}

/* Foco visible en todo lo nuevo */
.wp a:focus-visible,
.lp-chip:focus-visible {
  outline: 2px solid hsl(var(--lp-primary));
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .lp-reel-stack,
  .lp-chip,
  .wp-card,
  .wp-social {
    transition: none !important;
  }
}

/* ==========================================================================
   Secciones nuevas de la home: pila de tarjetas + tablet de monedas (vs-),
   scroll horizontal (hs-) y tablet en perspectiva (ts-).
   ========================================================================== */

/* ------------------------------------------------------- vs: dos lados */
.vs {
  position: relative;
  color: hsl(0 0% 98%);
}
.vs-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  /* stretch (defecto): la columna derecha mide lo que la izquierda (3
     pantallas) y su hijo sticky puede quedarse pegado toda la seccion. */
  align-items: stretch;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  gap: 40px;
}
.vs-left {
  min-width: 0;
}
.vs-card-slot {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 72px 0;
  box-sizing: border-box;
}
.vs-card {
  position: relative;
  width: 100%;
  max-width: 560px;
  padding: 36px 36px 30px;
  border-radius: 6px;
  background: hsl(228 40% 6%);
  border: 1px solid hsl(0 0% 100% / 0.07);
  box-shadow: 0 30px 80px -30px hsl(0 0% 0% / 0.8);
  transform-origin: 50% 40%;
  will-change: transform, filter;
}
.vs-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: hsl(0 0% 100% / 0.22);
  border-style: solid;
  border-width: 0;
}
.vs-corner--tl { top: -1px; left: -1px; border-top-width: 1px; border-left-width: 1px; }
.vs-corner--tr { top: -1px; right: -1px; border-top-width: 1px; border-right-width: 1px; }
.vs-corner--bl { bottom: -1px; left: -1px; border-bottom-width: 1px; border-left-width: 1px; }
.vs-corner--br { bottom: -1px; right: -1px; border-bottom-width: 1px; border-right-width: 1px; }
.vs-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-family: var(--lp-font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: hsl(0 0% 98% / 0.35);
}
.vs-card-line {
  flex: 1;
  height: 1px;
  background: hsl(0 0% 98% / 0.1);
}
.vs-card .lp-chip {
  margin-bottom: 22px;
}
.vs-card-title {
  margin: 0 0 10px;
  font-family: var(--lp-font-display);
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.vs-card-meta {
  margin: 0 0 18px;
  font-family: var(--lp-font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: hsl(0 0% 98% / 0.4);
}
.vs-card-body {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.65;
  color: hsl(0 0% 98% / 0.65);
  max-width: 44ch;
}
.vs-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.vs-card-cta {
  font-family: var(--lp-font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: hsl(0 0% 98% / 0.75);
  text-decoration: none;
  transition: color 200ms ease;
}
.vs-card-cta:hover { color: hsl(0 0% 98%); }
.vs-card-count {
  font-family: var(--lp-font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: hsl(0 0% 98% / 0.25);
  font-variant-numeric: tabular-nums;
}
.vs-right {
  min-width: 0;
}
.vs-right-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 0;
  box-sizing: border-box;
}
/* La tablet: marco oscuro, hairline y sombra apilada (los valores de
   .tf-screen de nolvipaysarrow), en RETRATO para llenar la columna. */
.vs-tablet {
  width: min(100%, 440px);
  aspect-ratio: 3 / 4;
  max-height: calc(100vh - 112px);
  background: #1a1a1f;
  border: 4px solid #5c5c66;
  border-radius: 30px;
  padding: 18px;
  box-sizing: border-box;
  box-shadow:
    0 9px 20px rgba(0, 0, 0, 0.35),
    0 37px 37px rgba(0, 0, 0, 0.3),
    0 84px 50px rgba(0, 0, 0, 0.18),
    0 149px 60px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 hsl(0 0% 100% / 0.08);
  will-change: transform;
  transform: perspective(1400px);
}
.vs-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% 0%, hsl(252 70% 30% / 0.55) 0%, transparent 60%),
    linear-gradient(180deg, #0c0e1c 0%, #07080f 100%);
}
.coins-host {
  position: absolute;
  inset: 0;
}
.vs-hud {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--lp-font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: hsl(0 0% 98% / 0.5);
  pointer-events: none;
}
.vs-hud--bottom {
  top: auto;
  bottom: 14px;
  justify-content: flex-end;
  color: hsl(0 0% 98% / 0.3);
}
.vs-hud-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: hsl(var(--lp-primary));
  box-shadow: 0 0 10px hsl(var(--lp-primary));
}
@media (max-width: 860px) {
  .vs {
    height: auto !important;
  }
  .vs-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .vs-right { order: -1; }
  .vs-right-sticky {
    position: static;
    height: auto;
    padding: 96px 0 24px;
  }
  .vs-tablet {
    width: min(100%, 360px);
    aspect-ratio: 3 / 4;
    max-height: 62vh;
  }
  .vs-card-slot {
    height: 100vh;
    padding: 48px 0;
  }
  .vs-card { padding: 26px 22px 22px; }
}

/* ------------------------------------------------- hs: scroll horizontal */
.hs {
  position: relative;
  color: hsl(0 0% 98%);
}
.hs--desktop {
  height: 300vh;
}
.hs-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  width: 100%;
}
.hs-track {
  display: flex;
  height: 100%;
  width: 300vw;
  will-change: transform;
}
.hs--desktop .hs-slide {
  flex: 0 0 100vw;
  width: 100vw;
  height: 100%;
}
.hs-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 96px 24px;
  box-sizing: border-box;
}
.hs-cols {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  align-items: start;
}
.hs-col--narrow .lp-chip { margin-bottom: 22px; }
.hs-center {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
}
.hs-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-family: var(--lp-font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: hsl(0 0% 98% / 0.35);
}
.hs-center .hs-kicker { justify-content: center; }
.hs-kicker-line {
  width: 32px;
  height: 1px;
  background: hsl(0 0% 98% / 0.12);
}
.hs-title {
  margin: 0;
  font-family: var(--lp-font-display);
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-wrap: balance;
}
.hs-title--center {
  margin: 0 auto 44px;
  max-width: 20ch;
  font-size: clamp(30px, 4vw, 52px);
}
.hs-body {
  margin: 0 0 20px;
  font-size: clamp(16px, 1.2vw, 17px);
  line-height: 1.7;
  color: hsl(0 0% 98% / 0.65);
}
.hs-body code {
  font-family: var(--lp-font-mono);
  font-size: 0.9em;
  color: hsl(0 0% 98% / 0.85);
}
.hs-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: hsl(0 0% 98% / 0.06);
  border: 1px solid hsl(0 0% 98% / 0.06);
  text-align: left;
}
.hs-stat {
  position: relative;
  padding: 28px 26px;
  background: hsl(var(--lp-bg));
}
.hs-stat-index {
  position: absolute;
  top: 12px;
  right: 12px;
  font-family: var(--lp-font-mono);
  font-size: 10px;
  color: hsl(0 0% 98% / 0.15);
}
.hs-stat .lp-chip { margin-bottom: 20px; }
.hs-stat-figure {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
  font-family: var(--lp-font-display);
  font-size: clamp(30px, 2.6vw, 38px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hs-stat-figure small {
  font-family: var(--lp-font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: hsl(0 0% 98% / 0.4);
}
.hs-stat-detail {
  margin-bottom: 12px;
  font-family: var(--lp-font-mono);
  font-size: 12px;
  line-height: 1.5;
  color: hsl(0 0% 98% / 0.6);
  min-height: 2.5em;
}
.hs-stat-label {
  padding-top: 12px;
  border-top: 1px solid hsl(0 0% 98% / 0.06);
  font-family: var(--lp-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: hsl(0 0% 98% / 0.35);
}
.hs-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  text-align: left;
}
.hs-step {
  padding: 28px 26px;
  border-radius: 6px;
  background: hsl(228 40% 6% / 0.6);
  border: 1px solid hsl(0 0% 98% / 0.07);
}
.hs-step .lp-chip { margin-bottom: 18px; }
.hs-step-letter {
  margin-bottom: 8px;
  font-family: var(--lp-font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: hsl(0 0% 98% / 0.3);
}
.hs-step-name {
  margin: 0 0 12px;
  font-family: var(--lp-font-display);
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.hs-step-body {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.65;
  color: hsl(0 0% 98% / 0.62);
}
.hs-link {
  font-family: var(--lp-font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: hsl(0 0% 98% / 0.75);
  text-decoration: none;
}
.hs-link:hover { color: hsl(0 0% 98%); }
.hs-rail {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: hsl(0 0% 98% / 0.08);
}
.hs-rail-fill {
  height: 100%;
  width: 100%;
  background: hsl(var(--lp-primary));
  transform-origin: left center;
  transform: scaleX(0);
  will-change: transform;
}
.hs--mobile .hs-slide {
  min-height: 80svh;
}
.hs--mobile .hs-panel {
  height: auto;
  padding: 72px 20px;
}
@media (max-width: 1100px) {
  .hs-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hs-cols { grid-template-columns: 1fr; gap: 28px; }
  .hs-steps { grid-template-columns: 1fr; }
  .hs-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ---------------------------------------------- ts: tablet en perspectiva */
.ts {
  position: relative;
  padding: 120px 24px 40px;
  overflow: hidden;
  color: hsl(0 0% 98%);
}
.ts-inner {
  max-width: 1180px;
  margin: 0 auto;
  /* la perspectiva va en el PADRE del que gira */
  perspective: 1000px;
}
.ts-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 52px;
  transform-style: preserve-3d;
  will-change: transform, opacity;
}
.ts-eyebrow {
  margin: 0 0 18px;
  font-family: var(--lp-font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: hsl(var(--lp-primary));
}
.ts-title {
  margin: 0 0 18px;
  font-family: var(--lp-font-display);
  font-size: clamp(34px, 5.4vw, 68px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-wrap: balance;
}
.ts-lede {
  margin: 0 auto;
  max-width: 48ch;
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.6;
  color: hsl(0 0% 98% / 0.62);
}
.ts-stage {
  transform-style: preserve-3d;
  will-change: transform;
  margin-bottom: 80px;
}
.ts-screen {
  background: #1a1a1f;
  border: 4px solid #5c5c66;
  border-radius: 30px;
  padding: 22px;
  box-shadow:
    0 9px 20px rgba(0, 0, 0, 0.35),
    0 37px 37px rgba(0, 0, 0, 0.3),
    0 84px 50px rgba(0, 0, 0, 0.18),
    0 149px 60px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 hsl(0 0% 100% / 0.08);
}
.ts-shot {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  object-fit: cover;
  object-position: top center;
  background: #0b0e1c;
}
@media (max-width: 860px) {
  .ts { padding: 80px 16px 24px; }
  .ts-screen { border-radius: 22px; padding: 10px; border-width: 3px; }
  .ts-shot { border-radius: 12px; }
  .ts-stage { margin-bottom: 40px; }
}

/* ------------------------------------------------------------ tablet realista */
.tab-shell {
  position: relative;
  box-sizing: border-box;
  border-radius: 34px;
  padding: 7px;
  /* carcasa: aluminio grafito con la arista iluminada arriba-izquierda */
  background:
    linear-gradient(135deg, #3a3b42 0%, #1c1d22 22%, #0f1014 55%, #1a1b20 82%, #2c2d34 100%);
  box-shadow:
    inset 0 0 0 1px hsl(0 0% 100% / 0.06),
    inset 0 1px 0 hsl(0 0% 100% / 0.16),
    inset 0 -1px 0 hsl(0 0% 0% / 0.6),
    0 2px 2px rgba(0, 0, 0, 0.45),
    0 14px 24px rgba(0, 0, 0, 0.45),
    0 44px 44px rgba(0, 0, 0, 0.35),
    0 96px 64px rgba(0, 0, 0, 0.22),
    0 160px 80px rgba(0, 0, 0, 0.08);
}
.tab-shell::before {
  /* canto exterior: reflejo fino que sigue el radio */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, hsl(0 0% 100% / 0.35), hsl(0 0% 100% / 0.04) 35%, hsl(0 0% 100% / 0) 60%, hsl(0 0% 100% / 0.12));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.tab-btn {
  position: absolute;
  background: linear-gradient(90deg, #2b2c33, #15161b);
  box-shadow: inset 0 1px 0 hsl(0 0% 100% / 0.12), 0 1px 2px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}
.tab-shell--portrait .tab-btn--power {
  top: 54px;
  right: -3px;
  width: 3px;
  height: 46px;
  border-radius: 0 2px 2px 0;
}
.tab-shell--portrait .tab-btn--vol {
  top: 46px;
  left: -3px;
  width: 3px;
  height: 84px;
  border-radius: 2px 0 0 2px;
}
.tab-shell--landscape .tab-btn--power {
  top: -3px;
  right: 64px;
  width: 54px;
  height: 3px;
  border-radius: 2px 2px 0 0;
}
.tab-shell--landscape .tab-btn--vol {
  top: -3px;
  left: 64px;
  width: 92px;
  height: 3px;
  border-radius: 2px 2px 0 0;
}
.tab-bezel {
  position: relative;
  height: 100%;
  border-radius: 27px;
  padding: 16px;
  box-sizing: border-box;
  background: #060608;
  box-shadow:
    inset 0 0 0 1px hsl(0 0% 100% / 0.05),
    inset 0 0 18px rgba(0, 0, 0, 0.9);
}
.tab-shell--landscape .tab-bezel {
  padding: 22px;
}
.tab-cam {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #3b3f63, #0a0b12 65%);
  box-shadow: 0 0 0 1px hsl(0 0% 100% / 0.08), 0 0 6px rgba(80, 90, 160, 0.35);
}
.tab-shell--portrait .tab-cam {
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
}
.tab-shell--landscape .tab-cam {
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
}
.tab-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #07080f;
  box-shadow: inset 0 0 0 1px hsl(0 0% 100% / 0.04);
}
.tab-glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(112deg, hsl(0 0% 100% / 0.07) 0%, hsl(0 0% 100% / 0.02) 18%, hsl(0 0% 100% / 0) 36%),
    linear-gradient(180deg, hsl(0 0% 100% / 0.035) 0%, hsl(0 0% 100% / 0) 22%);
  mix-blend-mode: screen;
}
.tab-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(0, 0, 0, 0.42) 100%);
}

/* retrato en la pila */
.vs-tablet {
  width: min(100%, 440px);
  max-height: calc(100vh - 112px);
  aspect-ratio: 3 / 4;
  will-change: transform;
  transform: perspective(1400px);
  background: none;
  border: 0;
  padding: 0;
  box-shadow: none;
}
.vs-tab {
  width: 100%;
  height: 100%;
}
.vs-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: opacity, transform;
  transition: none;
}
/* pantalla en perspectiva */
.ts-screen {
  background: none;
  border: 0;
  padding: 0;
  box-shadow: none;
}
.ts-shot {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  border-radius: 0;
  object-fit: cover;
  object-position: top center;
  background: #0b0e1c;
}
@media (max-width: 860px) {
  .tab-shell { border-radius: 26px; padding: 5px; }
  .tab-bezel { border-radius: 21px; padding: 10px; }
  .tab-shell--landscape .tab-bezel { padding: 12px; }
  .tab-screen { border-radius: 11px; }
}

/* ---------------------------------------------- sin barra de scroll (Lenis) */
html {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

/* ----------------------------------------- tablet: menos negro, mas luz */
.tab-shell {
  background:
    linear-gradient(135deg, #55575f 0%, #2c2d33 20%, #1b1c21 52%, #26272d 80%, #45464e 100%);
  box-shadow:
    inset 0 0 0 1px hsl(0 0% 100% / 0.08),
    inset 0 1px 0 hsl(0 0% 100% / 0.22),
    inset 0 -1px 0 hsl(0 0% 0% / 0.55),
    0 2px 2px rgba(0, 0, 0, 0.4),
    0 14px 24px rgba(0, 0, 0, 0.38),
    0 44px 44px rgba(0, 0, 0, 0.28),
    0 96px 64px rgba(0, 0, 0, 0.18),
    0 0 80px rgba(124, 58, 237, 0.10);
}
.tab-bezel {
  background: linear-gradient(180deg, #131317 0%, #0a0a0d 60%, #0d0d11 100%);
  box-shadow:
    inset 0 0 0 1px hsl(0 0% 100% / 0.07),
    inset 0 1px 0 hsl(0 0% 100% / 0.06),
    inset 0 0 22px rgba(0, 0, 0, 0.75);
}
.tab-screen {
  background: #0a0c18;
  box-shadow:
    inset 0 0 0 1px hsl(0 0% 100% / 0.06),
    inset 0 0 60px rgba(124, 58, 237, 0.06);
}
.tab-glare {
  background:
    linear-gradient(112deg, hsl(0 0% 100% / 0.11) 0%, hsl(0 0% 100% / 0.035) 16%, hsl(0 0% 100% / 0) 34%),
    linear-gradient(180deg, hsl(0 0% 100% / 0.05) 0%, hsl(0 0% 100% / 0) 26%),
    radial-gradient(60% 40% at 78% 8%, hsl(0 0% 100% / 0.07), transparent 70%);
}
.tab-vignette {
  background: radial-gradient(120% 90% at 50% 50%, transparent 62%, rgba(0, 0, 0, 0.3) 100%);
}
/* luz ambiente de la pantalla sobre el bisel (backlight) */
.tab-bezel::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 20px;
  box-shadow: 0 0 28px 4px rgba(124, 58, 237, 0.12);
  pointer-events: none;
}
.vs-tablet {
  will-change: transform;
  transform-style: preserve-3d;
}

/* ------------------------------------------------- insignias de tickers */
.tk-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.tk-row--lg { gap: 18px; }
.tk-row--sm { gap: 8px; }
.tk-item { display: inline-flex; }
.tk {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: hsl(0 0% 98%);
}
.tk-disc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, hsl(0 0% 100% / 0.16), hsl(0 0% 100% / 0.03) 60%);
  border: 1px solid hsl(0 0% 100% / 0.14);
  box-shadow:
    inset 0 1px 0 hsl(0 0% 100% / 0.16),
    0 10px 24px -10px rgba(0, 0, 0, 0.8),
    0 0 0 0 hsl(var(--lp-primary) / 0);
  overflow: hidden;
  transition: transform 260ms var(--lp-ease), box-shadow 260ms ease, border-color 260ms ease;
}
.tk-disc img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.tk:hover .tk-disc {
  transform: translateY(-3px) scale(1.04);
  border-color: hsl(var(--lp-primary) / 0.6);
  box-shadow:
    inset 0 1px 0 hsl(0 0% 100% / 0.2),
    0 16px 30px -12px rgba(0, 0, 0, 0.85),
    0 0 0 6px hsl(var(--lp-primary) / 0.12);
}
.tk--usdg .tk-disc {
  border-color: hsl(var(--lp-primary) / 0.5);
  box-shadow:
    inset 0 1px 0 hsl(0 0% 100% / 0.2),
    0 10px 24px -10px rgba(0, 0, 0, 0.8),
    0 0 26px hsl(var(--lp-primary) / 0.28);
}
.tk--lg .tk-disc { width: 76px; height: 76px; }
.tk--sm .tk-disc { width: 40px; height: 40px; }
.tk-label {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
}
.tk-label b {
  font-family: var(--lp-font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.tk-label i {
  font-style: normal;
  font-family: var(--lp-font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: hsl(0 0% 98% / 0.45);
  margin-top: 3px;
}
.tk--lg .tk-label b { font-size: 17px; }
.tk--sm .tk-label b { font-size: 12px; }

/* tickers bajo la tablet-dashboard */
.ts-tickers {
  margin: -24px auto 0;
  max-width: 980px;
  text-align: center;
}
.ts-tickers-label {
  margin: 0 0 22px;
  font-family: var(--lp-font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: hsl(0 0% 98% / 0.4);
}
.ts-tickers .tk-row { justify-content: center; }

/* tickers en las tarjetas de la pila */
.vs-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.vs-card .vs-card-top .lp-chip { margin-bottom: 0; }
.vs-card-tickers { justify-content: flex-end; }

/* panel 1 del scroll horizontal: antes / despues */
.hs-compare {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid hsl(0 0% 98% / 0.08);
  flex-wrap: wrap;
}
.hs-compare-col { display: flex; flex-direction: column; gap: 12px; }
.hs-compare-label {
  font-family: var(--lp-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: hsl(0 0% 98% / 0.4);
}
.hs-compare-col--after .hs-compare-label { color: hsl(252 85% 80%); }
.hs-compare-arrow {
  font-size: 26px;
  color: hsl(0 0% 98% / 0.35);
  padding: 0 4px;
  margin-top: 18px;
}
.hs-stat-logo { display: inline-flex; margin-bottom: 20px; }
.hs-strip { margin-top: 34px; }
.hs-strip .tk-row { justify-content: center; }
.hs-step-logos { margin-bottom: 18px; }

/* roadmap: tickers que vienen */
.rm-tickers {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid hsl(0 0% 98% / 0.08);
}
.rm-tickers-label {
  margin: 0 0 14px;
  font-family: var(--lp-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: hsl(0 0% 98% / 0.4);
}
@media (max-width: 860px) {
  .tk--lg .tk-disc { width: 60px; height: 60px; }
  .tk-disc { width: 48px; height: 48px; }
  .ts-tickers { margin-top: 0; }
}

/* ------------------------------------------------ fondo del footer (paths) */
.fp {
  position: absolute;
  inset: 0;
  overflow: hidden;
  color: hsl(252 90% 86%);
  opacity: 0.9;
}
.fp-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.fp-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, hsl(var(--lp-bg)) 0%, hsl(var(--lp-bg) / 0) 22%, hsl(var(--lp-bg) / 0.1) 100%),
    radial-gradient(70% 60% at 50% 100%, hsl(var(--lp-primary) / 0.12), transparent 70%);
}

/* ------------------------------------------- navbar: texto que rueda (hover) */
.lp-roll {
  display: inline-block;
  white-space: nowrap;
}
.lp-roll-ch {
  position: relative;
  display: inline-block;
  perspective: 10000px;
  transform-style: preserve-3d;
}
.lp-roll-a,
.lp-roll-b {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-block;
  backface-visibility: hidden;
  transition: transform 340ms cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: calc(var(--i) * 28ms);
  will-change: transform;
}
.lp-roll-a {
  transform-origin: 50% 25%;
  transform: rotateX(0deg);
}
.lp-roll-b {
  transform-origin: 50% 100%;
  transform: rotateX(90deg);
  transition-delay: calc(var(--i) * 28ms + 60ms);
}
.lp-roll-w {
  visibility: hidden;
}
.lp-roll-host:hover .lp-roll-a,
.lp-roll-host:focus-visible .lp-roll-a {
  transform: rotateX(90deg);
}
.lp-roll-host:hover .lp-roll-b,
.lp-roll-host:focus-visible .lp-roll-b {
  transform: rotateX(0deg);
}
.lp-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
  .lp-roll-a,
  .lp-roll-b {
    transition: none;
  }
}

/* --------------------------------------- boton Dashboard (hover interactivo) */
.lp-hbtn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  min-width: 132px;
  padding: 9px 22px 9px 34px;
  border-radius: 999px;
  border: 1px solid hsl(0 0% 98% / 0.2);
  background: hsl(var(--lp-bg) / 0.6);
  color: hsl(0 0% 98%);
  font-family: var(--lp-font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 300ms ease;
}
.lp-hbtn:hover {
  border-color: hsl(var(--lp-primary) / 0.7);
}
.lp-hbtn-text {
  position: relative;
  z-index: 2;
  display: inline-block;
  transform: translateX(2px);
  transition: transform 300ms ease, opacity 300ms ease;
}
.lp-hbtn:hover .lp-hbtn-text {
  transform: translateX(48px);
  opacity: 0;
}
.lp-hbtn-alt {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: hsl(0 0% 100%);
  opacity: 0;
  transform: translateX(48px);
  transition: transform 300ms ease, opacity 300ms ease;
}
.lp-hbtn:hover .lp-hbtn-alt {
  opacity: 1;
  transform: translateX(-2px);
}
.lp-hbtn-alt svg {
  flex-shrink: 0;
}
.lp-hbtn-dot {
  position: absolute;
  left: 16px;
  top: calc(50% - 4px);
  z-index: 1;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: hsl(var(--lp-primary));
  box-shadow: 0 0 10px hsl(var(--lp-primary) / 0.7);
  transform: scale(1);
  transition: left 300ms ease, top 300ms ease, width 300ms ease, height 300ms ease, transform 300ms ease, box-shadow 300ms ease;
}
.lp-hbtn:hover .lp-hbtn-dot {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transform: scale(1.8);
}
@media (prefers-reduced-motion: reduce) {
  .lp-hbtn-text,
  .lp-hbtn-alt,
  .lp-hbtn-dot {
    transition: none;
  }
}

/* Brasas de la home (src/landing/SideEmbers.jsx): capa fija detras del
   contenido, sobre el fondo del html. Entra con un fundido de 2,4 s. */
/* El contenedor raiz del mirror pinta el mismo color que html/body: se le
   quita para que la capa de brasas (z-index -1, sobre el fondo del html)
   se vea a traves. */
html.is-ready div.min-h-screen.bg-background {
  background-color: transparent;
}
.lp-embers {
  position: fixed;
  inset: 0;
  /* Por encima del canvas del hero (su composer pinta opaco) y en mezcla
     aditiva: sobre fondo oscuro es lo mismo que estar detras, y sobre el
     3D suma luz en vez de taparlo. El texto (z 10+) queda encima. */
  z-index: 2;
  mix-blend-mode: screen;
  pointer-events: none;
  background-repeat: no-repeat;
  animation: lp-embers-in 2.4s cubic-bezier(0.25, 0.1, 0.25, 1) both;
}
/* El canvas es un elemento reemplazado: inset:0 no lo estira. */
.lp-embers--gl {
  width: 100%;
  height: 100%;
  display: block;
}
@keyframes lp-embers-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-embers { animation: none; }
}

/* ------------------------------------------- navbar compacto (al scrollear) */
/* Al pasar de ~48 px de scroll el navbar deja de ser una barra a todo lo ancho
   y se recoge en una píldora de cristal violeta: los enlaces de sección se
   pliegan (overflow hidden + max-width 0), "Building" se va por la izquierda,
   aparece Twitter y el logo viaja hacia el centro. Todo son transiciones CSS,
   así que un scroll arriba/abajo rápido solo reorienta la que está en curso. */
.lp-nav-inner {
  border-radius: 18px;
  border: 1px solid transparent;
  transition:
    max-width 560ms cubic-bezier(0.22, 1, 0.36, 1),
    padding 450ms cubic-bezier(0.22, 1, 0.36, 1),
    gap 450ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 450ms ease,
    border-color 450ms ease,
    box-shadow 450ms ease;
}
.lp-nav-compact .lp-nav-inner {
  max-width: 44rem;
  padding: 9px 12px 9px 20px;
  gap: 18px;
  /* Cristal oscuro con el violeta de marca dentro: filo superior iluminado,
     filo inferior en sombra, sombra de contacto y halo violeta debajo. */
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.012) 55%),
    linear-gradient(180deg, rgba(106, 0, 255, 0.46), rgba(70, 0, 170, 0.32)),
    rgba(12, 7, 30, 0.9);
  border-color: rgba(182, 164, 255, 0.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(5, 2, 12, 0.6),
    0 1px 2px rgba(5, 2, 12, 0.7),
    0 18px 40px -18px rgba(106, 0, 255, 0.6),
    0 30px 60px -30px rgba(5, 2, 12, 0.95);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}
/* Grano fino sobre el cristal: mata el plástico plano. */
.lp-nav-inner {
  position: relative;
  isolation: isolate;
}
.lp-nav-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  transition: opacity 450ms ease;
}
.lp-nav-compact .lp-nav-inner::before {
  opacity: 0.06;
}
/* Logo: un poco más pequeño en la píldora. */
.lp-nav-logo img {
  transition: height 450ms cubic-bezier(0.22, 1, 0.36, 1);
}
.lp-nav-compact .lp-nav-logo img {
  height: 22px !important;
}
/* "Building" y su raya se pliegan hacia la izquierda. */
.lp-nav-sep,
.lp-nav-building {
  overflow: hidden;
  max-width: 160px;
  transition:
    max-width 500ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 280ms ease,
    margin 500ms cubic-bezier(0.22, 1, 0.36, 1);
}
.lp-nav-compact .lp-nav-sep,
.lp-nav-compact .lp-nav-building {
  max-width: 0;
  opacity: 0;
  margin-left: -12px;
  pointer-events: none;
}
/* Enlaces: el hueco lo dan los márgenes, no el gap del flex, para que un
   enlace plegado no deje su hueco detrás. */
.lp-nav-links {
  gap: 0 !important;
}
.lp-nav-link {
  display: inline-block;
  overflow: hidden;
  max-width: 200px;
  margin: 0 clamp(10px, 0.9vw, 14px);
  transition:
    max-width 500ms cubic-bezier(0.22, 1, 0.36, 1),
    margin 500ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 260ms ease,
    color 300ms ease;
}
.lp-nav-compact .lp-nav-slink {
  max-width: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}
.lp-nav-x {
  max-width: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}
.lp-nav-compact .lp-nav-x {
  max-width: 120px;
  margin: 0 clamp(10px, 0.9vw, 14px);
  opacity: 1;
  pointer-events: auto;
}
/* Tinta sobre la píldora violeta: más blanca. */
.lp-nav-compact .lp-nav-link {
  color: rgba(255, 255, 255, 0.78);
}
.lp-nav-compact .lp-nav-link:hover {
  color: #fff;
}
/* Botón Dashboard dentro de la píldora: chip claro sobre el violeta. */
.lp-nav-compact .lp-hbtn {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
}
@media (prefers-reduced-motion: reduce) {
  .lp-nav-inner,
  .lp-nav-inner::before,
  .lp-nav-logo img,
  .lp-nav-sep,
  .lp-nav-building,
  .lp-nav-link {
    transition: none;
  }
}
