/* HKM Agents · landing. Línea gráfica @hkmagents: azul señal, marino, celeste.
   Tipografías autoalojadas (la CSP solo admite recursos del propio sitio). */
@font-face {
  font-family: "Bricolage";
  src: url("fonts/bricolage-grotesque-latin-opsz-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --signal: #2a5bff;
  --signal-2: #7c9bff;
  --sky: #e4ebff;
  --navy: #0e1424;
  --navy-2: #172038;
  --paper: #f3f5f9;
  --ink: #0e1424;
  --muted: #5a6478;
  --on-navy: #f3f5f9;
  --on-navy-muted: rgba(243, 245, 249, 0.62);
  --line: #dde2ec;
  --ok: #19b37d;
  --display: "Bricolage", "Avenir Next", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --mx: 0;
  --my: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}
/* «clip» recorta las capas decorativas sin romper el panel fijo (sticky). */
html,
body {
  overflow-x: clip;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  font-family: var(--display);
  letter-spacing: -0.03em;
  margin: 0;
}
:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: 6px;
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  background: var(--signal);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
}
.skip:focus {
  left: 8px;
}

/* Sello «HKM.» en negativo sobre oscuro */
.seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--signal);
  font: 800 11px/1 var(--display);
  letter-spacing: -0.01em;
  color: var(--on-navy);
  flex-shrink: 0;
}
.seal i {
  font-style: normal;
  color: var(--signal-2);
}
.seal-sm {
  width: 30px;
  height: 30px;
  font-size: 9px;
}
.seal-xl {
  width: clamp(200px, 26vw, 340px);
  height: clamp(200px, 26vw, 340px);
  font-size: clamp(44px, 6vw, 80px);
  border-width: 2px;
  color: rgba(243, 245, 249, 0.07);
  border-color: rgba(42, 91, 255, 0.35);
}
.seal-xl i {
  color: rgba(124, 155, 255, 0.35);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font: 500 12px/1.3 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--signal-2);
}
.eyebrow-dark {
  color: var(--signal);
}
.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal-2);
  box-shadow: 0 0 0 0 rgba(124, 155, 255, 0.6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  70% {
    box-shadow: 0 0 0 10px rgba(124, 155, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(124, 155, 255, 0);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 24px;
  border-radius: 999px;
  font: 600 15.5px/1 var(--body);
  text-decoration: none;
  transition:
    transform 0.25s var(--ease),
    background 0.25s,
    box-shadow 0.25s;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-small {
  padding: 10px 16px;
  font-size: 14px;
  background: var(--signal);
  color: #fff;
}
.btn-signal {
  background: var(--signal);
  color: #fff;
  box-shadow: 0 14px 40px -12px rgba(42, 91, 255, 0.8);
}
.btn-signal:hover {
  box-shadow: 0 20px 50px -12px rgba(42, 91, 255, 0.95);
}
.btn-ghost {
  color: var(--on-navy);
  border: 1px solid rgba(243, 245, 249, 0.22);
}
.btn-ghost:hover {
  background: rgba(243, 245, 249, 0.06);
}
.btn-light {
  background: #fff;
  color: var(--navy);
}

/* Navegación: transparente sobre la portada, sólida al bajar */
.nav {
  position: fixed;
  inset: 14px var(--gutter) auto;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 10px 10px 10px 16px;
  border-radius: 999px;
  color: var(--on-navy);
  transition:
    background 0.3s,
    box-shadow 0.3s,
    backdrop-filter 0.3s;
}
.nav.is-solid {
  background: rgba(14, 20, 36, 0.92);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 10px 40px -20px rgba(0, 0, 0, 0.6);
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font: 700 17px/1 var(--display);
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: 14.5px;
}
.nav-links a {
  text-decoration: none;
  color: var(--on-navy-muted);
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--on-navy);
}

/* Portada */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: 40px;
  padding: 120px var(--gutter) 90px;
  background: var(--navy);
  color: var(--on-navy);
  overflow: hidden;
  isolation: isolate;
}
.layer {
  will-change: transform;
}
.hero-grid {
  position: absolute;
  inset: -20% -10%;
  z-index: -3;
  background-image:
    linear-gradient(rgba(243, 245, 249, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 245, 249, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(
    ellipse 70% 60% at 60% 45%,
    #000 30%,
    transparent 75%
  );
}
.hero-glow {
  position: absolute;
  z-index: -2;
  width: 70vw;
  height: 70vw;
  right: -18vw;
  top: -24vw;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(42, 91, 255, 0.55),
    rgba(42, 91, 255, 0) 62%
  );
  filter: blur(10px);
}
.hero-orbit {
  position: absolute;
  z-index: -1;
  right: 6%;
  top: 50%;
  margin-top: calc(clamp(200px, 26vw, 340px) / -2);
}
.hero-copy {
  max-width: 760px;
}
.hero-title {
  font-size: clamp(38px, 4.6vw, 72px);
  line-height: 1;
  font-weight: 750;
}
.hero-title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.14em;
  margin-bottom: -0.1em;
}
.hero-title .line > span {
  display: inline-block;
  transform: translateY(105%);
  animation: rise 1s var(--ease) forwards;
}
.hero-title .line:nth-child(2) > span {
  animation-delay: 0.12s;
}
.hero-title em {
  font-style: normal;
  color: var(--signal-2);
}
@keyframes rise {
  to {
    transform: none;
  }
}
.hero-sub {
  max-width: 480px;
  margin: 26px 0 34px;
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--on-navy-muted);
  opacity: 0;
  animation: fade 0.9s 0.35s var(--ease) forwards;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  opacity: 0;
  animation: fade 0.9s 0.5s var(--ease) forwards;
}
@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-cards {
  position: relative;
  height: min(560px, 70vh);
}
.float-card {
  position: absolute;
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  min-width: 220px;
  border-radius: 18px;
  background: rgba(23, 32, 56, 0.72);
  border: 1px solid rgba(243, 245, 249, 0.1);
  backdrop-filter: blur(16px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
  opacity: 0;
  animation: fade 1s var(--ease) forwards;
}
.float-card small {
  font: 500 10.5px/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal-2);
}
.float-card strong {
  font: 650 17px/1.2 var(--display);
}
.fc-1 {
  top: 6%;
  left: 4%;
  animation-delay: 0.55s;
}
.fc-2 {
  top: 30%;
  right: 0;
  animation-delay: 0.7s;
}
.fc-3 {
  bottom: 10%;
  left: 0;
  animation-delay: 0.85s;
}
.fc-4 {
  bottom: 2%;
  right: 12%;
  animation-delay: 1s;
}
.fc-actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}
.fc-actions span {
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
}
.fc-yes {
  background: var(--signal);
}
.fc-no {
  border: 1px solid rgba(243, 245, 249, 0.2);
  color: var(--on-navy-muted);
}
.fc-bar {
  height: 6px;
  border-radius: 3px;
  background: rgba(243, 245, 249, 0.1);
  overflow: hidden;
}
.fc-bar i {
  display: block;
  height: 100%;
  width: 78%;
  background: linear-gradient(90deg, var(--signal), var(--signal-2));
  animation: load 3.6s var(--ease) infinite;
}
@keyframes load {
  from {
    width: 8%;
  }
  60%,
  to {
    width: 100%;
  }
}
.fc-note {
  font-size: 12.5px;
  color: var(--on-navy-muted);
}
.float-card code {
  font: 500 13px/1 var(--mono);
  color: var(--ok);
  background: rgba(25, 179, 125, 0.12);
  padding: 7px 10px;
  border-radius: 8px;
  justify-self: start;
}
.fc-spark {
  width: 180px;
  height: 40px;
}
.fc-spark polyline {
  fill: none;
  stroke: var(--signal-2);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: draw 2s 1.2s var(--ease) forwards;
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border: 1.5px solid rgba(243, 245, 249, 0.3);
  border-radius: 14px;
}
.scroll-cue span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--on-navy);
  animation: cue 1.8s infinite;
}
@keyframes cue {
  to {
    transform: translateY(14px);
    opacity: 0;
  }
}

/* Cinta */
.ticker {
  background: var(--signal);
  color: #fff;
  overflow: hidden;
  padding: 18px 0;
  transform: rotate(-1.4deg) scale(1.03);
  margin: -14px 0 0;
  position: relative;
  z-index: 2;
}
.ticker-track {
  display: flex;
  gap: 28px;
  width: max-content;
  font: 600 clamp(15px, 1.5vw, 19px)/1 var(--display);
  letter-spacing: -0.01em;
  animation: ticker 32s linear infinite;
}
.ticker-track b {
  color: var(--navy);
}
@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

/* Cómo funciona */
.how {
  position: relative;
  height: 320vh;
  background: var(--paper);
}
.how-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 6vw, 96px);
  padding: 90px var(--gutter) 40px;
}
.how h2,
.section-head h2 {
  font-size: clamp(30px, 3.4vw, 50px);
  line-height: 0.98;
  font-weight: 750;
}
.how-steps {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.how-steps li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 16px;
  opacity: 0.38;
  transition:
    opacity 0.4s,
    background 0.4s,
    transform 0.4s var(--ease);
}
.how-steps li.is-active {
  opacity: 1;
  background: #fff;
  transform: translateX(8px);
  box-shadow: 0 16px 40px -28px rgba(14, 20, 36, 0.5);
}
.how-steps b {
  font: 500 13px/1.6 var(--mono);
  color: var(--signal);
}
.how-steps strong {
  display: block;
  font: 650 19px/1.2 var(--display);
}
.how-steps span {
  color: var(--muted);
  font-size: 15.5px;
}
.how-stage {
  display: grid;
  place-items: center;
}
.device {
  width: min(360px, 100%);
  border-radius: 28px;
  background: var(--navy);
  color: var(--on-navy);
  padding: 18px;
  box-shadow:
    0 50px 100px -40px rgba(14, 20, 36, 0.7),
    0 0 0 8px rgba(14, 20, 36, 0.06);
  transform: rotate(var(--rot, -2deg));
  transition: transform 0.6s var(--ease);
}
.device-top {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-navy-muted);
  padding: 4px 4px 16px;
}
.device-body {
  display: grid;
  gap: 14px;
}
.req {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 18px;
  background: var(--navy-2);
}
.req small {
  font: 500 10.5px/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal-2);
}
.req strong {
  font: 700 22px/1.15 var(--display);
}
.req-lines {
  display: grid;
  gap: 7px;
}
.req-lines i {
  height: 7px;
  border-radius: 4px;
  background: rgba(243, 245, 249, 0.1);
}
.req-lines i:nth-child(2) {
  width: 86%;
}
.req-lines i:nth-child(3) {
  width: 62%;
}
.req-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--on-navy-muted);
}
.state-pill {
  position: relative;
  height: 34px;
  overflow: hidden;
}
.sp {
  position: absolute;
  inset: 0 auto 0 0;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transform: translateY(120%);
  opacity: 0;
  transition:
    transform 0.5s var(--ease),
    opacity 0.5s;
}
.sp-0 {
  background: rgba(243, 245, 249, 0.1);
}
.sp-1 {
  background: rgba(240, 178, 90, 0.18);
  color: #f0b25a;
}
.sp-2 {
  background: rgba(25, 179, 125, 0.18);
  color: #4cc99a;
}
.device[data-state="0"] .sp-0,
.device[data-state="1"] .sp-1,
.device[data-state="2"] .sp-2 {
  transform: none;
  opacity: 1;
}
.device-actions {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 10px;
}
.device-actions > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 15px;
  transition:
    background 0.4s,
    transform 0.4s var(--ease),
    box-shadow 0.4s;
}
.da-no {
  border: 1px solid rgba(243, 245, 249, 0.18);
  color: var(--on-navy-muted);
}
.da-yes {
  background: var(--navy-2);
  color: var(--on-navy-muted);
}
.da-check {
  font-style: normal;
  width: 0;
  overflow: hidden;
  transition: width 0.4s var(--ease);
}
.device[data-state="1"] .da-yes {
  background: var(--signal);
  color: #fff;
  box-shadow: 0 0 0 6px rgba(42, 91, 255, 0.25);
  animation: nudge 1.4s infinite;
}
.device[data-state="2"] .da-yes {
  background: var(--ok);
  color: #fff;
}
.device[data-state="2"] .da-check {
  width: 1em;
}
@keyframes nudge {
  50% {
    box-shadow: 0 0 0 12px rgba(42, 91, 255, 0);
  }
}
.log {
  display: grid;
  gap: 8px;
  padding: 6px 4px 2px;
}
.log-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(243, 245, 249, 0.3);
  transition: color 0.4s;
}
.log-row i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(243, 245, 249, 0.15);
  transition: background 0.4s;
}
.device[data-state="0"] .log-row:nth-child(1),
.device[data-state="1"] .log-row:nth-child(-n + 2),
.device[data-state="2"] .log-row {
  color: var(--on-navy);
}
.device[data-state="0"] .log-row:nth-child(1) i,
.device[data-state="1"] .log-row:nth-child(-n + 2) i,
.device[data-state="2"] .log-row i {
  background: var(--signal-2);
}

/* Módulos en damero */
.modules {
  padding: clamp(70px, 9vw, 120px) var(--gutter) clamp(80px, 10vw, 140px);
  background: var(--paper);
  overflow: hidden;
}
.section-head {
  max-width: 900px;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.board-col {
  display: grid;
  gap: 16px;
  will-change: transform;
}
.board-col-mid {
  margin-top: 48px;
}
.tile {
  position: relative;
  aspect-ratio: 16 / 10;
  padding: clamp(20px, 2.4vw, 32px);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease);
}
.tile:hover {
  transform: translateY(-6px) rotate(-0.6deg);
}
.tile h3 {
  margin-top: auto;
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 0.95;
  font-weight: 750;
}
.tile p {
  margin: 10px 0 0;
  font-size: 15.5px;
  opacity: 0.72;
}
.tile-no {
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.12em;
  opacity: 0.6;
}
.t-paper {
  background: #fff;
  color: var(--navy);
  box-shadow: inset 0 0 0 1px var(--line);
}
.t-navy {
  background: var(--navy);
  color: var(--on-navy);
}
.t-blue {
  background: var(--signal);
  color: #fff;
}
.tile-glyph {
  position: absolute;
  top: clamp(20px, 2.4vw, 32px);
  right: clamp(20px, 2.4vw, 32px);
  width: 17%;
  aspect-ratio: 1;
  transition: transform 0.6s var(--ease);
}
.tile:hover .tile-glyph {
  transform: rotate(-12deg) scale(1.06);
}
/* Glifos geométricos por módulo */
.g-opera {
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0.18;
  box-shadow: inset 0 0 0 14px transparent;
  background: radial-gradient(
    circle at 50% 50%,
    var(--signal) 0 16%,
    transparent 17%
  );
  opacity: 1;
  border-color: rgba(14, 20, 36, 0.15);
}
.g-atiende {
  border-radius: 40% 40% 40% 6px;
  background: rgba(243, 245, 249, 0.1);
  box-shadow: inset 0 0 0 2px rgba(124, 155, 255, 0.6);
}
.g-comunica {
  background:
    linear-gradient(
      135deg,
      transparent 49%,
      rgba(255, 255, 255, 0.55) 50%,
      transparent 51%
    ),
    linear-gradient(
      45deg,
      transparent 49%,
      rgba(255, 255, 255, 0.55) 50%,
      transparent 51%
    );
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 10px;
  aspect-ratio: 1.4;
  width: 22%;
}
.g-sella {
  border-radius: 50%;
  border: 2px dashed rgba(124, 155, 255, 0.7);
  background: radial-gradient(
    circle,
    rgba(124, 155, 255, 0.3) 0 34%,
    transparent 35%
  );
}
.g-mide {
  background: linear-gradient(
    to top,
    var(--signal) 0 30%,
    transparent 30% 34%,
    var(--signal) 34% 60%,
    transparent 60% 64%,
    var(--signal) 64% 100%
  );
  clip-path: polygon(
    0 100%,
    0 70%,
    30% 70%,
    30% 40%,
    64% 40%,
    64% 0,
    100% 0,
    100% 100%
  );
  opacity: 0.9;
}
.g-memoria {
  border-radius: 12px;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.55) 0 3px,
    transparent 3px 14px
  );
  border: 2px solid rgba(255, 255, 255, 0.55);
}

/* Principios */
.principles {
  position: relative;
  padding: clamp(70px, 9vw, 120px) 0;
  background: var(--navy);
  color: var(--on-navy);
  overflow: hidden;
}
.giant {
  font: 800 clamp(64px, 9vw, 140px)/0.9 var(--display);
  letter-spacing: -0.04em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(124, 155, 255, 0.18);
  will-change: transform;
}
.giant-2 {
  -webkit-text-stroke-color: rgba(243, 245, 249, 0.08);
}
.principles-inner {
  position: relative;
  padding: clamp(30px, 5vw, 70px) var(--gutter);
}
.principle-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}
.principle-list li {
  display: flex;
  align-items: baseline;
  gap: clamp(16px, 3vw, 40px);
  padding: clamp(14px, 2vw, 26px) 0;
  border-bottom: 1px solid rgba(243, 245, 249, 0.1);
  font: 600 clamp(22px, 2.8vw, 40px)/1.1 var(--display);
  letter-spacing: -0.03em;
}
.principle-list b {
  font: 500 14px/1 var(--mono);
  color: var(--signal-2);
  letter-spacing: 0.1em;
}

/* Llamada final */
.cta {
  padding: clamp(70px, 10vw, 140px) var(--gutter);
  background: var(--paper);
}
.cta-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: clamp(40px, 5.5vw, 80px) clamp(24px, 5vw, 72px);
  background: var(--signal);
  color: #fff;
  isolation: isolate;
}
.cta-card .eyebrow {
  color: var(--sky);
}
.cta-card h2 {
  font-size: clamp(32px, 4vw, 58px);
  line-height: 0.95;
  font-weight: 750;
}
.cta-sub {
  margin: 22px 0 34px;
  font-size: clamp(17px, 1.6vw, 21px);
  color: rgba(255, 255, 255, 0.82);
}
.cta-rings {
  position: absolute;
  right: -6%;
  top: 50%;
  z-index: -1;
  width: 46%;
  aspect-ratio: 1;
  translate: 0 -50%;
}
.cta-rings i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
}
.cta-rings i:nth-child(2) {
  inset: 15%;
  border-color: rgba(255, 255, 255, 0.3);
}
.cta-rings i:nth-child(3) {
  inset: 32%;
  background: var(--navy);
  border: 0;
}
.cta-seal {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 800 clamp(20px, 2.6vw, 38px) / 1 var(--display);
  letter-spacing: -0.02em;
  color: var(--on-navy);
}
.cta-seal b {
  color: var(--signal-2);
}
@media (max-width: 960px) {
  .cta-rings {
    opacity: 0.35;
  }
}

.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  padding: 34px var(--gutter);
  background: var(--navy);
  color: var(--on-navy-muted);
  font-size: 14px;
}
.foot a {
  color: var(--on-navy);
  text-decoration: none;
}
.foot small {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 12px;
}

/* Aparición al entrar en pantalla */
.reveal {
  opacity: 0;
  translate: 0 40px;
  transition:
    opacity 0.9s var(--ease),
    translate 0.9s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  translate: 0 0;
}

@media (max-width: 960px) {
  .nav-links {
    display: none;
  }
  .nav .btn-small {
    margin-left: auto;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 110px;
  }
  .hero-cards {
    height: 380px;
  }
  .hero-orbit {
    right: -30%;
    top: 18%;
  }
  .how {
    height: auto;
  }
  .how-sticky {
    position: relative;
    height: auto;
    grid-template-columns: 1fr;
    padding-top: 80px;
    padding-bottom: 80px;
  }
  .board {
    grid-template-columns: 1fr 1fr;
  }
  .board-col,
  .board-col-mid {
    display: contents;
  }
}
@media (max-width: 560px) {
  body {
    font-size: 16px;
  }
  .cta-rings {
    display: none;
  }
  .nav-brand > span:last-child {
    display: none;
  }
  .float-card {
    min-width: 0;
    max-width: 78%;
    padding: 13px 14px;
  }
  .fc-4 {
    display: none;
  }
  .board {
    grid-template-columns: 1fr;
  }
  .tile {
    aspect-ratio: auto;
    min-height: 220px;
  }
  .foot small {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .layer,
  .board-col,
  .giant {
    transform: none !important;
  }
  .ticker-track {
    animation: none;
  }
}
