/* ============================================================================
   HireAIJob — landing
   Estética: vidrio líquido sobre fondo profundo. Sin frameworks, sin CDN.
   Reglas: contraste AA, foco visible, nada de scroll horizontal, movimiento
   siempre activo (se ignora prefers-reduced-motion a petición de Leon).
   ========================================================================== */

:root {
  --ink: #04060a;
  --ink-2: #070a10;
  --text: #f4f7fa;
  --text-2: #b9c4d1;
  --text-3: #8a95a4;

  --accent: #5eead4;
  --accent-2: #a5f3ea;
  --accent-ink: #02231f;
  --accent-soft: rgba(94, 234, 212, 0.12);

  --glass: rgba(255, 255, 255, 0.055);
  --glass-2: rgba(255, 255, 255, 0.085);
  --glass-line: rgba(255, 255, 255, 0.14);
  --glass-line-2: rgba(255, 255, 255, 0.24);
  --blur: 26px;

  --ok: #7ff0c6;
  --warn: #f2c97d;

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --max: 1200px;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui,
          Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, p, dl, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }

::selection { background: rgba(94, 234, 212, 0.28); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}

.mono { font-family: var(--mono); font-size: 0.82em; letter-spacing: 0; }

/* --------------------------------------------------------------- fondo --- */
.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(1200px 700px at 50% -10%, rgba(94, 234, 212, 0.10), transparent 62%),
    radial-gradient(900px 600px at 92% 8%, rgba(99, 132, 255, 0.10), transparent 60%),
    linear-gradient(180deg, #05070b 0%, #04060a 55%, #030508 100%);
}
.aurora__blob {
  position: absolute;
  width: 46vmax;
  height: 46vmax;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  animation: flotar 26s var(--ease) infinite alternate;
}
.aurora__blob--a { top: -18vmax; left: -8vmax; background: radial-gradient(circle, rgba(94,234,212,.42), transparent 66%); }
.aurora__blob--b { top: 24vmax; right: -16vmax; background: radial-gradient(circle, rgba(120,140,255,.34), transparent 66%); animation-delay: -8s; }
.aurora__blob--c { bottom: -22vmax; left: 22vmax; background: radial-gradient(circle, rgba(94,234,212,.20), transparent 68%); animation-delay: -15s; }

@keyframes flotar {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(3vmax, 4vmax, 0) scale(1.12); }
}

/* grano sutil, encima del fondo y debajo del contenido */
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

main, .top, .foot { position: relative; z-index: 2; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }

.skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--text);
  color: #04060a;
  font-size: 14px;
  font-weight: 600;
  transform: translateY(-180%);
  transition: transform 0.2s var(--ease);
}
.skip:focus-visible { transform: none; }

/* -------------------------------------------------------------- vidrio --- */
.glass {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--glass-line);
  border-radius: var(--r-lg);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(180%);
  backdrop-filter: blur(var(--blur)) saturate(180%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.10) inset,
    0 -1px 0 rgba(0, 0, 0, 0.28) inset,
    0 30px 60px -40px rgba(0, 0, 0, 0.85);
}

/* brillo especular en el borde superior, como el vidrio de iOS */
.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.04) 38%,
              transparent 62%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.glass--bar { border-radius: 999px; }
.glass--card { border-radius: var(--r-xl); }

/* ------------------------------------------------------------- barra top --- */
.top { position: sticky; top: 0; z-index: 40; padding: 14px 22px 0; }

.top__in {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
  height: 62px;
  padding: 0 10px 0 18px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__name { font-size: 17px; font-weight: 600; letter-spacing: -0.03em; }
.brand__mark { width: 26px; height: 26px; }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14.5px;
  color: var(--text-2);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.07); }

.top__actions { display: flex; gap: 8px; }

/* ---------------------------------------------------------------- botones --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 560;
  letter-spacing: -0.015em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background-color 0.2s var(--ease),
              border-color 0.2s var(--ease), box-shadow 0.25s var(--ease);
}
.btn:active { transform: scale(0.975); }
.btn--sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn--xs { height: 32px; padding: 0 12px; font-size: 13px; }

.btn--primary {
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  color: var(--accent-ink);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 10px 26px -12px rgba(94, 234, 212, 0.65);
}
.btn--primary:hover { box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 16px 34px -14px rgba(94,234,212,.8); }

.btn--ghost { color: var(--text); border-color: var(--glass-line); background: rgba(255, 255, 255, 0.05); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.09); border-color: var(--glass-line-2); }

.btn--glass {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--glass-line);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
}
.btn--glass:hover { background: rgba(255, 255, 255, 0.12); }

/* ------------------------------------------------------------------ hero --- */
.hero { padding: 78px 0 26px; }
.hero__grid {
  display: grid;
  gap: 54px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--glass-line);
  background: rgba(255, 255, 255, 0.045);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-2);
}
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(94, 234, 212, 0.16);
  animation: latido 2.6s var(--ease) infinite;
}
@keyframes latido {
  0%, 100% { box-shadow: 0 0 0 4px rgba(94, 234, 212, 0.16); }
  50% { box-shadow: 0 0 0 8px rgba(94, 234, 212, 0.05); }
}

h1 {
  margin-top: 22px;
  font-size: clamp(2.35rem, 5.4vw, 4.15rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 640;
  text-wrap: balance;
}
.grad {
  background: linear-gradient(96deg, var(--accent) 10%, #9fe8ff 52%, #b8b4ff 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  margin-top: 22px;
  max-width: 54ch;
  font-size: 17.5px;
  line-height: 1.62;
  color: var(--text-2);
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 26px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.stats dt { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
.stats dd { margin: 6px 0 0; font-size: 26px; font-weight: 600; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------- tarjeta escrow --- */
.escrow {
  padding: 26px 26px 22px;
  background:
    radial-gradient(120% 90% at 80% -10%, rgba(94, 234, 212, 0.16), transparent 58%),
    rgba(255, 255, 255, 0.055);
}
.escrow__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.escrow__id { color: var(--text-3); }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--accent-line, rgba(94,234,212,.4));
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 600;
}
.pill--live::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: latido 2.2s var(--ease) infinite;
}
.escrow__label { margin-top: 20px; font-size: 12.5px; color: var(--text-3); }
.escrow__amount {
  margin-top: 4px;
  font-size: clamp(2.2rem, 4.6vw, 2.9rem);
  font-weight: 620;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
}
.escrow__amount small { font-size: 15px; font-weight: 500; color: var(--text-2); letter-spacing: 0; }

.rail { margin-top: 22px; }
.rail__track {
  display: block;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  overflow: hidden;
}
.rail__fill {
  display: block;
  height: 100%;
  width: 24%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(94,234,212,.55), var(--accent));
  box-shadow: 0 0 18px rgba(94, 234, 212, 0.55);
  transition: width 1.1s var(--ease);
}
.rail__steps {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 11.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-3);
}
.rail__steps em { font-style: normal; transition: color 0.3s var(--ease); }
.rail__steps em.on { color: var(--accent); }

.checks { margin-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.checks li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-2);
  transition: color 0.3s var(--ease);
}
.checks li b { color: var(--text); font-weight: 500; font-variant-numeric: tabular-nums; }
.checks li.is-pass { color: var(--ok); }
.checks li.is-pass b { color: var(--ok); }

.escrow__foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  color: var(--text-3);
  font-size: 11.5px;
}
.escrow__foot em { font-style: normal; color: var(--text-2); }

/* --------------------------------------------------------------- ticker --- */
.ticker {
  position: relative;
  margin: 46px 0 0;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__row {
  display: flex;
  align-items: center;
  width: max-content;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-3);
  animation: desplazar 42s linear infinite;
  will-change: transform;
}
.ticker__group { display: flex; align-items: center; flex: none; }
.tick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 30px;
  white-space: nowrap;
  font-size: 12.5px;
  letter-spacing: 0;
}
.tick::after {
  content: "";
  width: 3px; height: 3px;
  margin-left: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}
.tick b { color: var(--text); font-weight: 600; font-size: 13px; }
.tick span { color: var(--text-2); }
.tick i {
  font-style: normal;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent);
}
.tick--check { color: var(--text-3); }
.tick--check span { color: var(--text-3); }
.tick--check i { color: var(--ok); font-size: 12px; }
@keyframes desplazar {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.ticker:hover .ticker__row { animation-play-state: paused; }

/* -------------------------------------------------------------- sección --- */
.sec { padding: 92px 0; }
.sec--tight { padding: 76px 0; }
.sec__head { max-width: 660px; }
h2 {
  margin-top: 18px;
  font-size: clamp(1.85rem, 3.4vw, 2.9rem);
  line-height: 1.06;
  letter-spacing: -0.038em;
  font-weight: 620;
  text-wrap: balance;
}
.sec__sub { margin-top: 16px; color: var(--text-2); font-size: 16.5px; max-width: 56ch; }

/* -------------------------------------------------------------- mercado --- */
.jobs {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}
.jobs__loading, .jobs__empty {
  padding: 34px;
  border-radius: var(--r-lg);
  border: 1px dashed rgba(255, 255, 255, 0.14);
  color: var(--text-3);
  text-align: center;
}
.job {
  display: grid;
  gap: 10px;
  padding: 22px 24px;
  border-radius: var(--r-lg);
  background: var(--glass);
  border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  backdrop-filter: blur(20px) saturate(170%);
  transition: transform 0.35s var(--ease), background-color 0.35s var(--ease),
              border-color 0.35s var(--ease);
}
.job:hover { transform: translateY(-3px); background: var(--glass-2); border-color: var(--glass-line-2); }
.job__top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.job__state {
  font-family: var(--mono);
  font-size: 11.5px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text-2);
}
.job__state[data-s="funded"], .job__state[data-s="accepted"] { color: var(--accent); border-color: rgba(94,234,212,.4); background: var(--accent-soft); }
.job__state[data-s="delivered"], .job__state[data-s="validating"] { color: #c9d4ff; border-color: rgba(150,170,255,.4); background: rgba(140,160,255,.12); }
.job__state[data-s="released"] { color: var(--ok); border-color: rgba(127,240,198,.4); background: rgba(127,240,198,.12); }
.job h3 { font-size: 18.5px; font-weight: 580; letter-spacing: -0.025em; text-wrap: pretty; }
.job__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; color: var(--text-3); font-size: 13px; }
.job__amount { font-size: 21px; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.job__amount small { font-size: 12px; color: var(--text-3); letter-spacing: 0; }
.job__link { justify-self: start; margin-top: 4px; font-size: 14px; color: var(--accent); }
.job__link:hover { text-decoration: underline; text-underline-offset: 3px; }

.jobs__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 26px; }
#jobs-count { color: var(--text-3); }

/* ---------------------------------------------------------------- pasos --- */
.steps { display: grid; gap: 16px; margin-top: 34px; counter-reset: paso; }
.step { padding: 26px 24px 22px; }
.step__n {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.step h3 { margin-top: 14px; font-size: 19px; font-weight: 580; letter-spacing: -0.025em; }
.step p { margin-top: 9px; color: var(--text-2); font-size: 15.5px; }
.step__meta { margin-top: 16px; font-family: var(--mono); font-size: 11.5px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------------------------------------------------------------- bento --- */
.bento { display: grid; gap: 16px; margin-top: 34px; }
.card { padding: 26px 24px; }
.card h3 { font-size: 19px; font-weight: 580; letter-spacing: -0.025em; }
.card p { margin-top: 10px; color: var(--text-2); font-size: 15.5px; }
.card__meta { margin-top: 16px !important; color: var(--text-3) !important; font-size: 12px !important; }

.ledger {
  display: grid;
  gap: 22px;
  margin-top: 16px;
  padding: 26px 24px;
}
.ledger__code { display: grid; gap: 7px; font-size: 12.5px; color: var(--text-3); overflow-x: auto; }
.ledger__code span { white-space: nowrap; }
.ledger h3 { font-size: 18px; font-weight: 580; letter-spacing: -0.02em; }
.ledger p { margin-top: 8px; color: var(--text-2); font-size: 15px; }
.ledger .mono { margin-top: 12px; color: var(--text-3); font-size: 12px; }

/* ------------------------------------------------------------------ api --- */
.api__grid { display: grid; gap: 16px; margin-top: 34px; }
.code { padding: 20px 22px; border-radius: var(--r-lg); }
.code__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--text-3); }
.code pre {
  margin: 16px 0 0;
  padding: 16px;
  border-radius: var(--r-sm);
  background: rgba(0, 0, 0, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
  font-size: 12.5px;
  line-height: 1.6;
  color: #d8e6e4;
}
.code__note { margin-top: 12px; font-size: 12.5px; color: var(--text-3); }

.api__links { display: grid; gap: 14px; }
.res {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border-radius: var(--r-lg);
  transition: transform 0.35s var(--ease), background-color 0.3s var(--ease);
}
a.res:hover { transform: translateY(-3px); background: var(--glass-2); }
.res h3 { font-size: 17px; font-weight: 580; letter-spacing: -0.02em; }
.res p { margin-top: 8px; font-size: 14.5px; color: var(--text-2); }
.res .mono { display: block; margin-top: auto; padding-top: 12px; color: var(--text-3); font-size: 12px; }

/* ------------------------------------------------------------------ pie --- */
.foot { padding: 40px 0 30px; }
.foot__in {
  display: grid;
  gap: 28px;
  padding: 26px 26px 24px;
  border-radius: var(--r-xl);
}
.foot__brand p { margin-top: 12px; font-size: 13.5px; color: var(--text-3); line-height: 1.6; }
.foot__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.foot__t { font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.foot__nav a { display: block; padding: 7px 0; font-size: 14px; color: var(--text-2); }
.foot__nav a:hover { color: var(--text); }
.foot__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  margin-top: 22px;
  font-size: 12px;
  color: var(--text-3);
}

/* ----------------------------------------------------------- revelado --- */
html.js [data-reveal].reveal {
  opacity: 0;
  transform: translateY(20px) scale(0.995);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
html.js [data-reveal].reveal.is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------ responsive --- */
@media (min-width: 620px) {
  .api__links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .jobs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card--wide { grid-column: span 2; }
  .foot__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
  body { font-size: 18px; }
  .hero { padding: 96px 0 40px; }
  .hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 64px; }
  .sec { padding: 118px 0; }
  .sec--tight { padding: 96px 0; }
  .jobs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card--wide { grid-column: span 2; }
  .ledger { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); align-items: center; }
  .api__grid { grid-template-columns: 1fr; gap: 20px; }
  .api__links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot__in { grid-template-columns: minmax(0, 1fr) auto; align-items: start; padding: 30px 34px; }
  .nav { margin-left: auto; }
  .hero__visual { justify-self: end; width: 100%; max-width: 460px; }
}

@media (min-width: 1100px) {
  .escrow { padding: 30px 30px 24px; }
}

@media (max-width: 719px) {
  .nav { display: none; }
  .top { padding: 10px 14px 0; }
  .top__in { height: 58px; padding: 0 8px 0 14px; gap: 10px; }
  .top__actions .btn--ghost { display: none; }
  .wrap { padding: 0 18px; }
  .foot__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* --------------------------------------------------- movimiento reducido --- */

/* --- ajustes finos (revisión visual) -------------------------------------- */
.api__grid { align-items: start; }
.code pre { font-size: 13px; }
.code { align-self: start; }
.api__links .res { min-height: 0; }
@media (min-width: 900px) {
  .sec { padding: 104px 0; }
  .sec--tight { padding: 88px 0; }
  .jobs { margin-top: 30px; }
}

/* ============================================================================
   CAPA DE MOVIMIENTO (2026-11-05)
   Todo lo de aquí es decorativo y va siempre activo: no se respeta
   prefers-reduced-motion (decisión de Leon, 2026-11-05).
   ========================================================================== */

/* --- barra de progreso de lectura ----------------------------------------- */
.progress {
  position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 90;
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}
#progress-bar {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--accent), #9fe8ff 55%, #b8b4ff);
  box-shadow: 0 0 14px rgba(94, 234, 212, 0.85);
  transform: scaleX(0); transform-origin: left center;
  will-change: transform;
}

/* --- luz que sigue al puntero --------------------------------------------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 35;
  width: 420px; height: 420px; margin: -210px 0 0 -210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.10), rgba(120, 140, 255, 0.05) 42%, transparent 68%);
  pointer-events: none; opacity: 0;
  transition: opacity 0.5s var(--ease);
  will-change: transform;
  mix-blend-mode: screen;
}
.cursor.is-on { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* --- entrada del hero ------------------------------------------------------ */
html.js .hero__copy.is-in > .eyebrow,
html.js .hero__copy.is-in > h1,
html.js .hero__copy.is-in > .lede,
html.js .hero__copy.is-in > .hero__cta,
html.js .hero__copy.is-in > .stats {
  animation: subir 0.95s var(--ease) both;
}
html.js .hero__copy.is-in > .eyebrow { animation-delay: 0.05s; }
html.js .hero__copy.is-in > h1 { animation-delay: 0.14s; }
html.js .hero__copy.is-in > .lede { animation-delay: 0.26s; }
html.js .hero__copy.is-in > .hero__cta { animation-delay: 0.36s; }
html.js .hero__copy.is-in > .stats { animation-delay: 0.46s; }

@keyframes subir {
  from { opacity: 0; transform: translateY(26px); filter: blur(3px); }
  to   { opacity: 1; transform: none; filter: none; }
}

.hero__title { position: relative; }
.hero__title::after {
  content: "";
  position: absolute; left: 0; bottom: -26px;
  width: 128px; height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform: scaleX(0); transform-origin: left;
  animation: trazo 1.4s 0.5s var(--ease) forwards;
}
@keyframes trazo { to { transform: scaleX(1); } }

/* degradado vivo del titular */
.grad {
  background-size: 220% 100%;
  animation: gradShift 9s ease-in-out infinite;
}
@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* subrayado animado de los botones */
.btn--primary { position: relative; overflow: hidden; }
.btn--primary::after {
  content: "";
  position: absolute; top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  transform: skewX(-18deg);
  animation: brillo 4.5s 1.6s var(--ease) infinite;
}
@keyframes brillo {
  0%, 55% { left: -60%; }
  85%, 100% { left: 140%; }
}

/* --- órbitas + red del hero ------------------------------------------------ */
.hero__visual { position: relative; }
.orbit {
  position: absolute; inset: -16% -12%; z-index: 0;
  pointer-events: none;
}
.orbit__ring {
  position: absolute; top: 50%; left: 50%;
  border-radius: 50%;
  border: 1px dashed rgba(94, 234, 212, 0.22);
  transform: translate(-50%, -50%);
}
.orbit__ring--a { width: 78%; aspect-ratio: 1; animation: girar 44s linear infinite; }
.orbit__ring--b {
  width: 96%; aspect-ratio: 1;
  border-style: solid; border-color: rgba(140, 160, 255, 0.14);
  animation: girar 68s linear infinite reverse;
}
.orbit__ring--c {
  width: 60%; aspect-ratio: 1;
  border-color: rgba(255, 255, 255, 0.10);
  animation: girar 30s linear infinite;
}
@keyframes girar { to { transform: translate(-50%, -50%) rotate(360deg); } }

.orbit__sat {
  position: absolute; top: 50%; left: 50%;
  width: 100%; aspect-ratio: 1; margin: -50% 0 0 -50%;
  animation: girar 18s linear infinite;
}
.orbit__sat::before {
  content: "";
  position: absolute; top: 0; left: 50%;
  width: 9px; height: 9px; margin-left: -4.5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(94, 234, 212, 0.14), 0 0 22px rgba(94, 234, 212, 0.9);
}
.orbit__sat--b { width: 78%; margin: -39% 0 0 -39%; animation-duration: 26s; animation-direction: reverse; }
.orbit__sat--b::before { width: 6px; height: 6px; background: #a8b6ff; box-shadow: 0 0 0 4px rgba(150,170,255,.12), 0 0 18px rgba(150,170,255,.8); }
.orbit__sat--c { width: 60%; margin: -30% 0 0 -30%; animation-duration: 34s; }
.orbit__sat--c::before { width: 5px; height: 5px; opacity: 0.7; }

.net {
  position: absolute; inset: -10% -6%; z-index: 0;
  width: 112%; height: 120%;
  pointer-events: none;
  opacity: 0.85;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 72%);
  mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 72%);
}

.escrow { z-index: 2; transform-style: preserve-3d; }
.escrow__glare {
  position: absolute; inset: 0; z-index: 3;
  border-radius: inherit; pointer-events: none;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%),
              rgba(255, 255, 255, 0.16), transparent 62%);
  opacity: 0; transition: opacity 0.35s var(--ease);
}
#escrow:hover .escrow__glare { opacity: 1; }

/* escaneo vertical de la tarjeta de escrow */
.escrow::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  border-radius: inherit; overflow: hidden;
  background: linear-gradient(180deg, transparent 0%, rgba(94, 234, 212, 0.10) 48%,
              rgba(94, 234, 212, 0.22) 50%, rgba(94, 234, 212, 0.10) 52%, transparent 100%);
  background-size: 100% 220px;
  background-repeat: no-repeat;
  background-position: 0 -220px;
  animation: escanear 5.5s 1.2s var(--ease) infinite;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.75;
}
@keyframes escanear {
  0% { background-position: 0 -220px; }
  45%, 100% { background-position: 0 calc(100% + 220px); }
}

/* cada check que pasa: flash + desplazamiento */
.checks li.is-pass { position: relative; }
.checks li.is-pass b { animation: checkIn 0.5s var(--ease); }
@keyframes checkIn {
  0% { transform: translateY(-4px); opacity: 0; }
  60% { transform: translateY(1px); opacity: 1; }
  100% { transform: none; }
}
.checks li.is-pass::before {
  content: "";
  position: absolute; left: -10px; top: 50%;
  width: 3px; height: 3px; margin-top: -1.5px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 10px 2px rgba(127, 240, 198, 0.55);
}

/* --- foco que sigue al ratón en tarjetas ---------------------------------- */
[data-spot] { position: relative; }
[data-spot] > * { position: relative; z-index: 1; }
[data-spot]::after {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  border-radius: inherit;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%),
              rgba(94, 234, 212, 0.13), transparent 62%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
[data-spot]:hover::after { opacity: 1; }

/* --- pasos: línea que se dibuja + número que respira ---------------------- */
.steps { position: relative; }
.steps::before {
  content: "";
  position: absolute; top: -18px; left: 4px; right: 4px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(94, 234, 212, 0.55) 12%,
              rgba(150, 170, 255, 0.45) 55%, rgba(94, 234, 212, 0.55) 88%, transparent);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 1.8s var(--ease);
}
.steps.is-in::before { transform: scaleX(1); }
.steps.is-in .step { animation: subir 0.8s var(--ease) both; }
.steps.is-in .step:nth-child(1) { animation-delay: 0.12s; }
.steps.is-in .step:nth-child(2) { animation-delay: 0.24s; }
.steps.is-in .step:nth-child(3) { animation-delay: 0.36s; }
.steps.is-in .step:nth-child(4) { animation-delay: 0.48s; }
.step { overflow: hidden; }
.step:hover .step__n { color: var(--text); text-shadow: 0 0 22px rgba(94, 234, 212, 0.8); }
.step__n::after {
  content: "";
  display: block; width: 18px; height: 1px; margin-top: 10px;
  background: var(--accent);
  transition: width 0.4s var(--ease);
}
.step:hover .step__n::after { width: 100%; }

/* --- ledger: líneas que se escriben --------------------------------------- */
.ledger.is-in .ledger__code span {
  animation: lineaIn 0.55s var(--ease) both;
}
.ledger.is-in .ledger__code span:nth-child(1) { animation-delay: 0.25s; }
.ledger.is-in .ledger__code span:nth-child(2) { animation-delay: 0.45s; }
.ledger.is-in .ledger__code span:nth-child(3) { animation-delay: 0.65s; }
.ledger.is-in .ledger__code span:nth-child(4) { animation-delay: 0.85s; }
@keyframes lineaIn {
  from { opacity: 0; transform: translateX(-10px); clip-path: inset(0 100% 0 0); }
  to   { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
}

/* --- mercado: tarjetas que entran escalonadas ----------------------------- */
.job { animation: subir 0.7s var(--ease) both; }
.job .job__state[data-s="validating"],
.job .job__state[data-s="delivered"] {
  animation: latido 2.4s var(--ease) infinite;
}

/* --- revelado con un poco de blur ----------------------------------------- */
html.js [data-reveal].reveal {
  filter: blur(4px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease),
              filter 0.8s var(--ease);
}
html.js [data-reveal].reveal.is-in { filter: none; }
@media (min-width: 900px) {
  html.js [data-reveal] { transition-delay: var(--d, 0s); }
}

/* --- ajustes responsive de la capa de movimiento -------------------------- */
@media (max-width: 719px) {
  .orbit { inset: -8% -4%; }
  .orbit__ring--b { display: none; }
  .net { opacity: 0.6; }
  .cursor { display: none; }
}


/* --- ajustes de la revisión visual (2026-11-05, 19:30) -------------------- */
html { overflow-x: clip; }

/* el titular ya no necesita la raya: se solapaba con el párrafo */
.hero__title::after, .hero__title::before { display: none; }

.escrow {
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
  will-change: transform;
}
.escrow:hover {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.14) inset,
              0 40px 90px -50px rgba(0, 0, 0, 0.95),
              0 0 70px -20px rgba(94, 234, 212, 0.35);
}

/* aros más presentes */
.orbit__ring--a { border-color: rgba(94, 234, 212, 0.34); box-shadow: 0 0 40px -18px rgba(94, 234, 212, 0.6); }
.orbit__ring--c { border-color: rgba(255, 255, 255, 0.16); }
.orbit__ring--a::after {
  content: "";
  position: absolute; inset: -1px;
  border-radius: 50%;
  border: 1px solid transparent;
  border-top-color: rgba(94, 234, 212, 0.85);
  border-right-color: rgba(94, 234, 212, 0.35);
  filter: drop-shadow(0 0 6px rgba(94, 234, 212, 0.8));
}

/* etiquetas flotantes alrededor del escrow */
.chips { position: absolute; inset: -6% -4%; z-index: 3; pointer-events: none; }
.chip {
  position: absolute;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid var(--glass-line);
  background: rgba(8, 12, 16, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-2);
  white-space: nowrap;
  box-shadow: 0 18px 40px -26px rgba(0, 0, 0, 0.95);
  animation: flotachip 7s ease-in-out infinite;
}
.chip b { color: var(--accent); font-weight: 600; }
.chip::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 10px rgba(127, 240, 198, 0.8);
}
.chip--a { top: 12%; left: -7%; animation-delay: -0.4s; }
.chip--b { bottom: 17%; right: -9%; animation-delay: -2.4s; }
.chip--c { bottom: -3%; left: 8%; animation-delay: -4.2s; }
@keyframes flotachip {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -9px, 0); }
}

@media (max-width: 899px) {
  .chip--b { right: -2%; }
  .chip--a { left: -2%; }
  .chip { font-size: 10.5px; padding: 7px 11px; }
}
@media (max-width: 560px) {
  .chips { display: none; }
}


/* etiquetas: fuera del contenido de la tarjeta */
.chips { inset: -10% -12% -12% -8%; }
.chip--a { top: 2%; left: 0; }
.chip--b { bottom: 26%; right: 0; }
.chip--c { bottom: -2%; left: 6%; }
@media (max-width: 899px) {
  .chips { inset: -8% -4% -6% -2%; }
  .chip--a { left: 0; }
  .chip--b { right: 0; }
}

@media (max-width: 1199px) and (min-width: 900px) {
  .chip--b { display: none; }
}

/* logo recortado de la imagen 2K en la barra: micro-movimiento al pasar */
.brand__mark { transition: transform 0.4s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.08); }

.lede--small { margin-top: .9rem; font-size: .9rem; color: var(--text-3); }
.lede--small strong { color: var(--text); }

.paynote {
  margin: .7rem 0 1rem; padding: .55rem .8rem;
  border: 1px solid rgba(94,234,212,.3); border-radius: 10px;
  background: rgba(94,234,212,.07); color: var(--text-2);
  font-size: .85rem; font-weight: 600;
}
