/* ---------------------------------------------------------------------------
   deskmate.css — lo propio de deskmate.es

   Se carga DESPUÉS de kit/foundation.css, que trae los tokens semánticos de Arc
   (--background, --foreground, --text-secondary, --border, --accent…). Aquí se
   les da nuestro valor: así un componente de Arc que se traiga mañana hereda la
   marca sin tocarle una línea.

   Ver README.md para cómo se porta un componente.
--------------------------------------------------------------------------- */

:root {
  /* La marca, sacada del logotipo. */
  --cian:    #2DD8DE;
  --magenta: #FD4990;
  --coral:   #FD764C;
  --degradado: linear-gradient(100deg, var(--cian), var(--magenta) 52%, var(--coral));

  /* Y los tokens de Arc apuntando a lo nuestro. Arc trae un acento neutro
     oscuro por defecto; el nuestro es el coral. */
  --accent: var(--coral);
  --accent-strong: #e85f33;
  --accent-subtle: color-mix(in oklab, var(--coral) 12%, transparent);
  --accent-foreground: #fff;
}

/* Puente: los nombres que usa esta página, apoyados en los de Arc. Mantener
   los dos juegos deja que el CSS de aquí se lea en español y que un componente
   de Arc siga encontrando lo que busca. */
:root {
  --fondo:   var(--background);
  --tinta:   var(--foreground);
  --suave:   var(--text-secondary);
  --tenue:   var(--text-muted);
  --tarjeta: var(--surface-muted);
  --borde:   var(--border);
  --nav:     color-mix(in oklab, var(--background) 76%, transparent);

  --ancho:   1080px;
  --medida:  620px;
  --radio:   22px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--fondo);
  color: var(--tinta);
  font-family: -apple-system, system-ui, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: -apple-system, system-ui, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.06;
  margin: 0;
}

a { color: inherit; }

.envoltorio { width: 100%; max-width: var(--ancho); margin: 0 auto; padding: 0 20px; }

/* La barra vive en componentes/cabecera.css. La píldora no: se usa también en
   el héroe y en el cierre, así que es de la página, no de la cabecera. */

.pildora {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--tinta); color: var(--fondo);
  border-radius: 99px; padding: 8px 15px;
  font-size: 13.5px; font-weight: 600; text-decoration: none;
  transition: transform .18s cubic-bezier(.2,.8,.3,1), opacity .18s;
}
.pildora:hover { transform: translateY(-1px); opacity: .9; }
.pildora .flecha { transition: transform .22s cubic-bezier(.2,.8,.3,1); }
.pildora:hover .flecha { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .pildora, .pildora .flecha { transition: none; } }

/* --- Héroe --------------------------------------------------------------- */

.heroe { text-align: center; padding: 74px 0 0; }
.heroe .icono {
  width: 86px; height: 86px; border-radius: 20px; display: block; margin: 0 auto 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.14);
}
.heroe .nombre { font-size: 14px; color: var(--suave); margin: 0 0 22px; }
.heroe h1 { font-size: clamp(40px, 7.2vw, 70px); }
.heroe h1 .dos { color: var(--suave); display: block; }
.heroe .entradilla { max-width: 540px; margin: 20px auto 0; color: var(--suave); }
.heroe .entradilla b { color: var(--tinta); font-weight: 600; }

.acciones { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.chip {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--borde); border-radius: 14px; padding: 7px 13px 7px 8px;
  background: var(--fondo);
}
.chip .fecha { background: var(--tarjeta); border-radius: 9px; padding: 3px 8px; text-align: center; line-height: 1.1; }
.chip .fecha span { display: block; font-size: 9px; letter-spacing: .09em; color: var(--coral); font-weight: 700; }
.chip .fecha b { font-size: 16px; font-weight: 600; }
.chip .que { text-align: left; }
.chip .que b { display: block; font-size: 13px; font-weight: 600; }
.chip .que span { font-size: 11.5px; color: var(--suave); }

/* --- Capítulos ----------------------------------------------------------- */

.cap { padding: 110px 0; position: relative; }
.cap.oscuro {
  /* Negro siempre, no según el tema: es un recurso de diseño, no un modo. */
  background: #0a0c10; color: #f2f4f7;
  --suave: #9aa1ae; --tinta: #f2f4f7; --borde: #232830; --tarjeta: #14171d; --tenue: #6b7280;
}
.cap .cabecera { text-align: center; max-width: 760px; margin: 0 auto; }
.etiqueta {
  font-size: 12.5px; font-weight: 600; letter-spacing: .02em;
  background: var(--degradado); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin: 0 0 14px;
}
.cap h2 { font-size: clamp(30px, 4.6vw, 48px); }
.cap h2 .dos { display: block; color: var(--suave); }
.cap p.texto { max-width: var(--medida); margin: 18px auto 0; color: var(--suave); }
.cap p.texto b { color: var(--tinta); font-weight: 600; }
.pieza { margin-top: 48px; }

/* El remate: la última frase del párrafo, en cursiva. Es un recurso suyo y es
   bueno — cierra la idea con voz propia en vez de dejar el párrafo colgando. */
.cap p.texto em, .heroe .entradilla em { font-style: italic; color: var(--tinta); }

/* --- Tarjetas con dibujo arriba ------------------------------------------- */

.tarjetas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 920px; margin: 0 auto; }
.tarjeta {
  background: var(--tarjeta); border: 1px solid var(--borde); border-radius: 26px;
  overflow: hidden; display: flex; flex-direction: column;
}
.tarjeta.ancha { grid-column: 1 / -1; }
.tarjeta .dibujo {
  height: 172px; display: grid; place-items: center; position: relative; overflow: hidden;
  background: linear-gradient(165deg, rgba(45,216,222,.10), rgba(253,73,144,.08) 55%, rgba(253,118,76,.10));
  border-bottom: 1px solid var(--borde);
}
.tarjeta.ancha .dibujo { height: 200px; }
.tarjeta .letra { padding: 20px 22px 24px; }
.tarjeta .letra h3 { font-size: 19px; margin-bottom: 6px; }
.tarjeta .letra p { margin: 0; color: var(--suave); font-size: 15px; line-height: 1.5; }
@media (max-width: 680px) { .tarjetas { grid-template-columns: 1fr; } }

/* Dibujitos de las tarjetas, todos CSS/SVG. */
.ondas { position: relative; width: 108px; height: 108px; }
.ondas i { position: absolute; inset: 0; border: 2px solid var(--coral); border-radius: 50%; opacity: 0; }
.visible .ondas i { animation: onda 2.8s cubic-bezier(.2,.6,.3,1) infinite; animation-delay: calc(var(--k) * .7s); }
@keyframes onda { 0% { transform: scale(.25); opacity: .9; } 85%,100% { transform: scale(1); opacity: 0; } }
.ondas b { position: absolute; inset: 42%; background: var(--coral); border-radius: 50%; }

.chispa { width: 170px; height: 62px; }
.chispa path { fill: none; stroke: url(#degChispa); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 420; stroke-dashoffset: 420; }
.visible .chispa path { animation: trazar 1.6s cubic-bezier(.3,.7,.3,1) .3s forwards; }
@keyframes trazar { to { stroke-dashoffset: 0; } }

.nitidez { display: flex; gap: 14px; align-items: center; }
.nitidez span { font-size: 25px; font-weight: 600; letter-spacing: -.02em; }
.nitidez .borroso { filter: blur(2.4px); opacity: .5; }
.nitidez .flecha2 { color: var(--tenue); font-size: 17px; }

.posturas { display: flex; gap: 11px; align-items: flex-end; }
.posturas i { display: block; border: 2px solid var(--coral); border-radius: 5px; opacity: .85; }
.posturas i.p1 { width: 26px; height: 46px; }
.posturas i.p2 { width: 52px; height: 38px; }
.posturas i.p3 { width: 34px; height: 34px; transform: rotate(-12deg); }

.teclas { display: flex; gap: 7px; flex-wrap: wrap; justify-content: center; max-width: 210px; }
.teclas b {
  font-size: 11.5px; font-weight: 600; padding: 6px 10px; border-radius: 8px;
  background: var(--fondo); border: 1px solid var(--borde); color: var(--suave);
}

.candado { display: flex; align-items: center; gap: 14px; }
.candado svg { stroke: var(--coral); fill: none; stroke-width: 1.7; stroke-linecap: round; }
.candado .huella-txt { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; color: var(--tenue); letter-spacing: .02em; }

/* --- Enlace activo en la barra -------------------------------------------- */
.enlaces a.activo { color: var(--tinta); font-weight: 600; }

/* --- Aparecer al entrar en pantalla --------------------------------------- */

.ap { opacity: 0; transform: translateY(18px); }
.visible .ap {
  opacity: 1; transform: none;
  transition: opacity .62s cubic-bezier(.2,.7,.2,1), transform .62s cubic-bezier(.2,.7,.2,1);
  transition-delay: calc(var(--i, 0) * 70ms);
}

/* --- Pieza: se redibuja para caber ---------------------------------------- */

.comparar { display: flex; gap: 28px; justify-content: center; align-items: flex-start; flex-wrap: wrap; }
.movil {
  width: 206px; aspect-ratio: 9 / 19.5; border-radius: 30px;
  background: var(--tarjeta); border: 1px solid var(--borde);
  padding: 9px; position: relative; overflow: hidden;
  box-shadow: 0 18px 44px rgba(0,0,0,.13);
}
.movil .pantalla {
  width: 100%; height: 100%; border-radius: 22px; overflow: hidden;
  background: #000; position: relative; display: flex; align-items: center; justify-content: center;
}
.pie-movil { text-align: center; margin-top: 14px; font-size: 13px; color: var(--suave); }
.pie-movil b { display: block; color: var(--tinta); font-weight: 600; font-size: 14px; }

/* Escritorio de pega. Dibujado con cajas porque una captura de pantalla
   pesa, envejece y hay que rehacerla en cada idioma; esto escala a cualquier
   tamaño y se adapta al modo claro y oscuro sin pedir permiso. */
.escritorio {
  background: linear-gradient(160deg, #10141e, #0b0e15 60%);
  display: flex; flex-direction: column; overflow: hidden;
  container-type: size;
}
.esc-menu {
  height: 6%; min-height: 9px; flex: none; display: flex; align-items: center; gap: 4px;
  padding: 0 6px; background: rgba(255,255,255,.07);
}
.esc-menu u { width: 5px; height: 5px; border-radius: 99px; background: rgba(255,255,255,.3); text-decoration: none; }
.esc-menu s { height: 3px; width: 16px; border-radius: 2px; background: rgba(255,255,255,.17); text-decoration: none; }
.esc-menu s.corta { width: 10px; }
.esc-cuerpo { flex: 1; display: flex; min-height: 0; }
.esc-lateral {
  width: 26%; min-width: 46px; background: rgba(255,255,255,.045);
  padding: 7px 6px; display: flex; flex-direction: column; gap: 5px;
}
.esc-lateral s { height: 4px; border-radius: 2px; background: rgba(255,255,255,.16); text-decoration: none; }
.esc-lateral s:nth-child(2) { background: rgba(253,118,76,.55); }
.esc-lateral s.corta { width: 60%; }
.esc-principal { flex: 1; padding: 8px; display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.esc-ventana {
  flex: 1; border-radius: 6px; background: rgba(255,255,255,.07);
  box-shadow: 0 6px 16px rgba(0,0,0,.35); overflow: hidden; display: flex; flex-direction: column;
  min-height: 0;
}
.esc-ventana .titulo { height: 11px; flex: none; display: flex; align-items: center; gap: 3px; padding: 0 5px; background: rgba(255,255,255,.07); }
.esc-ventana .titulo u { width: 4px; height: 4px; border-radius: 99px; text-decoration: none; }
.esc-ventana .titulo u:nth-child(1) { background: #ff5f57; }
.esc-ventana .titulo u:nth-child(2) { background: #febc2e; }
.esc-ventana .titulo u:nth-child(3) { background: #28c840; }
.esc-ventana .cuerpo { flex: 1; padding: 7px; display: flex; flex-direction: column; gap: 4px; min-height: 0; }
.esc-ventana .cuerpo s { height: 3px; border-radius: 2px; background: rgba(255,255,255,.17); text-decoration: none; }
.esc-ventana .cuerpo s.corta { width: 55%; }
.esc-ventana .cuerpo s.media { width: 78%; }
.esc-foto { height: 30%; min-height: 22px; flex: none; border-radius: 6px;
  background: linear-gradient(118deg, rgba(45,216,222,.5), rgba(253,73,144,.45) 55%, rgba(253,118,76,.5)); }

/* En poco ancho (el escritorio encogido dentro de un móvil) se simplifica:
   amontonar detalle en 60 px no es realismo, es ruido. */
@container (max-width: 190px) {
  .esc-lateral { width: 30%; }
  .esc-ventana .cuerpo s:nth-child(n+4) { display: none; }
}

/* Izquierda: encogido. Un escritorio ancho metido a la fuerza en vertical. */
.encogido .escritorio { width: 196%; aspect-ratio: 16 / 10; transform-origin: center; transform: scale(.5); }
/* Derecha: redibujado. Ocupa la pantalla entera con la forma del móvil. */
.redibujado .escritorio { width: 100%; height: 100%; grid-template-columns: 36% 1fr; }

.visible .encogido .escritorio { animation: encoger 6s cubic-bezier(.45,.05,.2,1) .4s infinite; }
@keyframes encoger {
  0%, 16%   { transform: scale(1); }
  36%, 84%  { transform: scale(.5); }
  100%      { transform: scale(.5); }
}

/* --- Pieza interactiva: elige aparato y modo ------------------------------ */

.panel {
  border: 1px solid var(--borde); border-radius: 26px; background: var(--tarjeta);
  padding: 18px; max-width: 860px; margin: 0 auto;
}
.selector { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; margin-bottom: 18px; }
.selector button {
  border: 1px solid var(--borde); background: var(--fondo); color: var(--suave);
  border-radius: 99px; padding: 7px 14px; font: inherit; font-size: 13px; font-weight: 500;
  cursor: pointer; transition: all .2s cubic-bezier(.2,.8,.3,1);
}
.selector button:hover { color: var(--tinta); }
.selector button[aria-pressed="true"] { background: var(--tinta); color: var(--fondo); border-color: var(--tinta); }

.escena { display: grid; place-items: center; min-height: 360px; padding: 8px 0 4px; }
.aparato {
  position: relative; background: #1a1f2b; border: 1px solid #2a3040;
  display: grid; place-items: center; overflow: hidden;
  /* Un bisel fino. Sin él el escritorio llega al canto y deja de parecer un
     aparato: parece un rectángulo con dibujos. */
  padding: 7px;
  box-shadow: 0 22px 54px rgba(0,0,0,.26);
  transition: width .55s cubic-bezier(.4,0,.2,1), height .55s cubic-bezier(.4,0,.2,1),
              border-radius .55s cubic-bezier(.4,0,.2,1);
}
.aparato .bisagra {
  position: absolute; top: 6%; bottom: 6%; left: 50%; width: 1px; z-index: 3;
  background: rgba(255,255,255,.16); opacity: 0; transition: opacity .4s;
}
.aparato.plegable .bisagra { opacity: 1; }
.lienzo-escena {
  position: absolute; inset: 7px; display: grid; place-items: center; background: #000;
  border-radius: inherit; overflow: hidden;
}
.lienzo-escena .escritorio {
  transition: width .55s cubic-bezier(.4,0,.2,1), height .55s cubic-bezier(.4,0,.2,1);
}

.medidor { display: flex; align-items: center; gap: 12px; justify-content: center; flex-wrap: wrap;
  border-top: 1px solid var(--borde); margin-top: 14px; padding-top: 14px; font-size: 13.5px; }
.medidor .riel2 { width: 180px; height: 8px; border-radius: 99px; background: var(--borde); overflow: hidden; }
.medidor .relleno2 { height: 100%; border-radius: 99px; background: var(--degradado); width: 0;
  transition: width .55s cubic-bezier(.4,0,.2,1); }
.medidor .pct { font-weight: 600; font-variant-numeric: tabular-nums; min-width: 46px; }
.medidor .dicho { color: var(--suave); }
.nota-panel { text-align: center; color: var(--tenue); font-size: 12.5px; margin: 12px 0 0; }

@media (max-width: 560px) {
  .selector button { font-size: 12px; padding: 6px 11px; }
  .medidor .riel2 { width: 120px; }
}

/* --- Pieza: el plegable --------------------------------------------------- */

.duo { display: flex; justify-content: center; perspective: 1500px; }
.duo .hojas { display: flex; transform-style: preserve-3d; }
.duo .hoja {
  width: 150px; aspect-ratio: 9 / 15; background: #11151f;
  border: 1px solid var(--borde); overflow: hidden;
  box-shadow: 0 18px 44px rgba(0,0,0,.4);
}
.duo .hoja.izq { border-radius: 26px 4px 4px 26px; border-right: none; transform-origin: right center; }
.duo .hoja.der { border-radius: 4px 26px 26px 4px; border-left: none; }
.duo .lienzo { width: 100%; height: 100%; }
.visible .duo .hoja.izq { animation: plegar 7s cubic-bezier(.45,.05,.2,1) 1.2s infinite; }
@keyframes plegar {
  0%, 24%  { transform: rotateY(0deg); }
  42%, 64% { transform: rotateY(-74deg); }
  82%,100% { transform: rotateY(0deg); }
}

/* --- Pieza: los 16 ms ----------------------------------------------------- */

.medida { text-align: center; }
.medida .numero {
  font-size: clamp(68px, 14vw, 150px); font-weight: 600; letter-spacing: -.045em; line-height: 1;
  background: var(--degradado); -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
}
.medida .unidad { font-size: .3em; letter-spacing: -.01em; }
.medida .bajo { color: var(--suave); font-size: 14px; margin-top: 10px; }
.barras { max-width: 520px; margin: 34px auto 0; display: grid; gap: 12px; }
.barras .fila { display: grid; grid-template-columns: 118px 1fr 58px; align-items: center; gap: 12px; font-size: 13px; }
.barras .riel { height: 9px; border-radius: 99px; background: var(--tarjeta); overflow: hidden; }
.barras .relleno { height: 100%; width: 0; border-radius: 99px; background: var(--degradado); }
.visible .barras .relleno { width: var(--w); transition: width 1.2s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--j) * 140ms + .25s); }
.barras .cifra { text-align: right; color: var(--suave); font-variant-numeric: tabular-nums; }

/* --- Rejilla de detalles -------------------------------------------------- */

.rejilla { display: grid; grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); gap: 16px; }
.ficha {
  background: var(--tarjeta); border: 1px solid var(--borde); border-radius: var(--radio);
  padding: 22px; transition: transform .25s cubic-bezier(.2,.8,.3,1);
}
.ficha:hover { transform: translateY(-3px); }
.ficha .glifo { width: 36px; height: 36px; border-radius: 11px; background: var(--degradado); display: grid; place-items: center; margin-bottom: 13px; }
.ficha .glifo svg { width: 19px; height: 19px; stroke: #fff; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ficha h3 { font-size: 16.5px; margin-bottom: 5px; letter-spacing: -.012em; }
.ficha p { margin: 0; font-size: 14.5px; color: var(--suave); line-height: 1.5; }

/* --- Conexión ------------------------------------------------------------- */

.enlace-visual { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; }
.caja-mac, .caja-movil { background: var(--tarjeta); border: 1px solid var(--borde); display: grid; place-items: center; }
.caja-mac { width: 210px; height: 136px; border-radius: 16px; }
.caja-movil { width: 86px; height: 170px; border-radius: 20px; }
.qr { width: 74px; height: 74px; display: grid; grid-template-columns: repeat(9, 1fr); gap: 2px; }
.qr b { background: var(--tinta); border-radius: 1px; opacity: 0; }
.visible .qr b { animation: puntoQR .45s ease forwards; animation-delay: calc(var(--i) * 11ms + .3s); }
@keyframes puntoQR { to { opacity: 1; } }
.hilo { width: 92px; height: 2px; background: var(--borde); position: relative; overflow: hidden; }
.hilo::after { content: ""; position: absolute; inset: 0; width: 34px; background: var(--degradado); transform: translateX(-40px); }
.visible .hilo::after { animation: viajar 2.4s cubic-bezier(.5,0,.5,1) infinite; }
@keyframes viajar { to { transform: translateX(96px); } }
@media (max-width: 620px) {
  .hilo { width: 2px; height: 56px; }
  .visible .hilo::after { animation: none; transform: translateX(0); }
}

/* --- Preguntas ------------------------------------------------------------ */

.preguntas { max-width: 760px; margin: 0 auto; }
details { border-bottom: 1px solid var(--borde); padding: 18px 2px; }
summary {
  cursor: pointer; list-style: none; font-weight: 600; font-size: 17px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; letter-spacing: -.01em;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; width: 9px; height: 9px; flex: none;
  border-right: 2px solid var(--tenue); border-bottom: 2px solid var(--tenue);
  transform: rotate(45deg) translateY(-3px); transition: transform .25s;
}
details[open] summary::after { transform: rotate(225deg) translateY(-1px); }
details p { color: var(--suave); margin: 12px 0 0; font-size: 15.5px; max-width: 640px; }

/* --- Cierre y pie --------------------------------------------------------- */

.cierre { text-align: center; padding: 120px 0; }
.cierre h2 { font-size: clamp(32px, 5vw, 52px); }
.cierre .texto { max-width: 520px; margin: 18px auto 30px; color: var(--suave); }

footer { border-top: 1px solid var(--borde); padding: 38px 0 58px; color: var(--suave); font-size: 14px; text-align: center; }
footer a { color: var(--suave); }
footer .firma { margin-top: 6px; color: var(--tenue); font-size: 13px; }

/* --- Quien no quiere movimiento, no lo tiene ------------------------------ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ap { opacity: 1; transform: none; transition: none; }
  .visible .encogido .escritorio { animation: none; transform: scale(.5); }
  .visible .duo .hoja.izq { animation: none; }
  .visible .hilo::after { animation: none; transform: translateX(30px); }
  .visible .qr b { animation: none; opacity: 1; }
  .visible .barras .relleno { transition: none; width: var(--w); }
  .pildora, .ficha { transition: none; }
}

/* --- Índice de la portada ------------------------------------------------- */

.indice { display: grid; grid-template-columns: repeat(auto-fit, minmax(286px, 1fr)); gap: 14px; max-width: 920px; margin: 0 auto; }
.entrada {
  display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 4px 16px;
  padding: 22px; border: 1px solid var(--borde); border-radius: 20px; background: var(--tarjeta);
  text-decoration: none; color: inherit;
  transition: transform .25s cubic-bezier(.2,.8,.3,1), border-color .25s;
}
.entrada:hover { transform: translateY(-3px); border-color: var(--accent); }
.entrada b { font-size: 17.5px; font-weight: 600; letter-spacing: -.012em; }
.entrada span { grid-column: 1 / -1; color: var(--suave); font-size: 14.5px; line-height: 1.5; }
.entrada i { font-style: normal; color: var(--accent); font-size: 17px; transition: transform .22s cubic-bezier(.2,.8,.3,1); }
.entrada:hover i { transform: translateX(3px); }

/* --- Siguiente capítulo --------------------------------------------------- */

.siguiente { max-width: var(--ancho); margin: 70px auto 0; padding: 0 20px; }
.siguiente a {
  display: flex; align-items: baseline; gap: 12px; justify-content: flex-end;
  text-decoration: none; color: var(--suave); font-size: 15px;
  padding-top: 26px; border-top: 1px solid var(--borde);
  transition: color .2s;
}
.siguiente a:hover { color: var(--tinta); }
.siguiente b { font-size: 20px; font-weight: 600; color: var(--tinta); letter-spacing: -.015em; }
.siguiente i { font-style: normal; color: var(--accent); transition: transform .22s cubic-bezier(.2,.8,.3,1); }
.siguiente a:hover i { transform: translateX(4px); }

/* --- Requisitos de la beta ------------------------------------------------ */

.requisitos { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; max-width: 820px; margin: 0 auto; text-align: left; }
.requisito { padding: 20px; border: 1px solid var(--borde); border-radius: 18px; background: var(--tarjeta); }
.requisito b { display: block; font-size: 15.5px; font-weight: 600; margin-bottom: 4px; }
.requisito span { color: var(--suave); font-size: 14.5px; line-height: 1.5; }

/* --- Enlaces del pie ------------------------------------------------------ */

.pie-enlaces { display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: center; margin-bottom: 22px; }
.pie-enlaces a { font-size: 14px; text-decoration: none; }
.pie-enlaces a:hover { color: var(--tinta); }

@media (prefers-reduced-motion: reduce) {
  .entrada, .entrada i, .siguiente i, .siguiente a { transition: none; }
}
