/* ============================================================
   Mirrow AI — Landing · Apple-grade
   Minimal · animado · sin capturas: producto contado en código
   ============================================================ */

:root {
  --bg: #e8e6ee;
  --ink: #1d1d1f;
  --ink-2: #5f5d66;
  --ink-3: #8a8893;
  --line: rgba(40, 30, 55, 0.10);
  --line-2: rgba(40, 30, 55, 0.16);

  --glass: rgba(255, 255, 255, 0.35);
  --glass-strong: rgba(255, 255, 255, 0.55);
  --glass-line: rgba(255, 255, 255, 0.6);
  --glass-hi: inset 0 1px 0px rgba(255, 255, 255, 0.9), inset 0 0 0 1px rgba(255, 255, 255, 0.3);
  --blur: blur(60px) saturate(220%);

  --coral-1: #e23b4e;
  --coral-2: #ff9f63;
  --coral: linear-gradient(120deg, #e23b4e 0%, #f0584f 45%, #ff9f63 100%);
  --coral-soft: rgba(226, 59, 78, 0.09);

  --r-xl: 40px;
  --r-lg: 32px;
  --r-md: 20px;

  --shadow-sm: 0 2px 10px -4px rgba(0, 0, 0, 0.10);
  --shadow-md: 0 8px 40px -16px rgba(0, 0, 0, 0.16);
  --shadow-lg: 0 30px 80px -32px rgba(0, 0, 0, 0.26);

  /* tipografía de la app: Cormorant Garamond (display) + Inter (cuerpo) */
  --display: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  /* Wordmark idéntico a la app: Fredoka 700 */
  --brand: "Fredoka", "Baloo 2", var(--display);

  --maxw: 1080px;
  --maxw-wide: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background-color: #e8e6ee;
  background-image:
    radial-gradient(46% 40% at 8% 3%, rgba(255, 165, 120, 0.20), transparent 62%),
    radial-gradient(42% 38% at 93% 1%, rgba(226, 90, 120, 0.13), transparent 62%),
    radial-gradient(52% 46% at 90% 86%, rgba(150, 162, 228, 0.16), transparent 62%),
    radial-gradient(46% 42% at 5% 95%, rgba(255, 188, 150, 0.11), transparent 62%),
    linear-gradient(162deg, #f1eef5 0%, #e7e5ee 100%);
  background-attachment: fixed;
  background-size: cover;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  line-height: 1.5;
  letter-spacing: -0.008em;
}

::selection {
  background: rgba(226, 59, 78, 0.16);
}

/* ---------- helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.wrap.wide {
  max-width: var(--maxw-wide);
}

section {
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--coral-1);
  white-space: nowrap;
}

.eyebrow .gdot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
}

.gradient-text {
  background: var(--coral);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: shimmer 6s ease-in-out infinite;
}

.white-text {
  color: #fff;
}

@keyframes shimmer {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.section-head {
  max-width: 680px;
  margin-bottom: 64px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 8px 0 12px;
}

.section-head p {
  color: var(--ink-2);
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.55;
  max-width: 580px;
}

.section-head.center p {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- buttons ---------- */
.btn {
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  border-radius: 100px;
  padding: 11px 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.35s var(--ease), background 0.3s, box-shadow 0.3s;
  white-space: nowrap;
  text-decoration: none;
  will-change: transform;
}

.btn:active {
  transform: scale(0.97);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  transform: translateY(-2px) scale(1.02);
  background: #000;
  box-shadow: 0 12px 28px -12px rgba(0, 0, 0, 0.5);
}

.btn-coral {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 8px 22px -10px rgba(226, 59, 78, 0.6);
}

.btn-coral:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 30px -10px rgba(226, 59, 78, 0.7);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-2);
}

.btn-ghost:hover {
  background: rgba(0, 0, 0, 0.04);
  transform: translateY(-2px);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
}

.nav-inner {
  width: 100%;
  max-width: var(--maxw-wide);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin: 14px 16px;
  padding: 8px 12px 8px 16px;
  border-radius: 100px;
  background: var(--glass);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow-sm), var(--glass-hi);
  transition: box-shadow 0.5s, background 0.5s, border-color 0.5s;
  position: relative;
  /* sin overflow:hidden: recortaba el menu de idiomas */
}

/* borde de cristal líquido: gradiente arriba/abajo enmascarado */
.nav-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.15) 20%,
      rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0) 60%,
      rgba(255, 255, 255, 0.15) 80%, rgba(255, 255, 255, 0.45) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* brillo especular superior: la firma del liquid glass */
.nav-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.08) 38%, transparent 55%),
    radial-gradient(120% 90% at 15% -20%, rgba(255, 255, 255, 0.35), transparent 50%);
  opacity: 0.8;
  transition: opacity 0.5s;
}

.nav-inner>* {
  position: relative;
  z-index: 1;
}

.nav.scrolled .nav-inner {
  background: rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow-md), var(--glass-hi), 0 0 0 0.5px rgba(255, 255, 255, 0.7);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-circ {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.brand img {
  width: 22px;
  height: 22px;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* ---------- logo: disco de cristal líquido con la marca coral ----------
   mismo lenguaje que la píldora del nav: translúcido, blur fuerte,
   brillo especular arriba y aro de luz; la marca da el acento de color */
.logo-glass {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
  /* disco oscuro con el logo (crescent) centrado y completo, sin recortar */
  background:
    url("assets/logo-glass-icon.png") center / 92% auto no-repeat,
    radial-gradient(120% 120% at 30% 25%, #2c2747, #15121f);
  box-shadow:
    0 8px 24px -10px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.30);
  transition: transform 0.45s var(--ease), box-shadow 0.45s;
}

/* respira al pasar el cursor, como la píldora */
.brand:hover .logo-glass {
  transform: scale(1.07);
  box-shadow:
    0 12px 30px -10px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* aro de luz, como el resto de superficies liquid-glass */
.logo-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 1.2px;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.55) 0%,
      rgba(255, 255, 255, 0.15) 30%,
      rgba(255, 255, 255, 0.05) 55%,
      rgba(255, 200, 160, 0.40) 100%);
  -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;
}

.brand .name {
  font-family: var(--brand);
  /* idéntico al header de la app: Fredoka 700 · letter-spacing 0.02em */
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  transition: color 0.4s, text-shadow 0.4s;
}

.nav.scrolled .brand .name {
  color: var(--ink);
  text-shadow: none;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 100px;
  white-space: nowrap;
  transition: color 0.25s, background 0.25s;
}

.nav-links a:hover {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.05);
}

.nav-cta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

/* nav sobre el video (arriba del todo): liquid glass claro como en la app */
.nav.over .nav-inner {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 8px 32px -12px rgba(0, 0, 0, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
}

.nav.over .nav-inner::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.04) 38%, transparent 55%),
    radial-gradient(120% 90% at 15% -20%, rgba(255, 255, 255, 0.18), transparent 50%);
  opacity: 1;
}

.nav.over .brand .name {
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.nav.over .nav-links a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.nav.over .nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

.nav.over .lang-btn {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.nav.over .lang-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

.nav.over .nav-cta .btn-dark {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
}

.nav.over .nav-cta .btn-dark:hover {
  background: #fff;
}

/* ============================================================
   HERO — titular con reveal palabra a palabra + escenario vivo
   ============================================================ */
.hero {
  padding: 160px 0 100px;
  text-align: left;
  position: relative;
  color: #fff;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero>.wrap.hero-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1100px;
}

.hero-text-col {
  flex: 1;
}

.hero-form-col {
  width: 380px;
  flex-shrink: 0;
  text-align: center;
}

/* video de fondo a página completa: toda la web es un video */
.hero-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

/* primer fotograma del vídeo como fondo instantáneo: nada de
   pantalla negra mientras el vídeo carga; el vídeo entra encima
   con fundido y la costura es invisible (mismo fotograma) */
.hero-bg {
  background: #06050a url("assets/hero-poster.jpg") center / cover no-repeat;
}

.hero-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* sin filtros: el vídeo se ve tal cual, a plena calidad */
}

/* capas de vídeo: la opacidad la anima JS con requestAnimationFrame */
.hero-bg .vid {
  opacity: 0;
}

/* fallback sin JS */
.hero-bg .vid.on {
  opacity: 1;
}

/* scrim suave: solo lo justo para que el texto respire */
.hero-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.34) 0%, transparent 22%),
    linear-gradient(98deg, rgba(0, 0, 0, 0.30) 0%, rgba(0, 0, 0, 0.06) 52%, rgba(0, 0, 0, 0.18) 100%),
    radial-gradient(130% 80% at 50% 114%, rgba(0, 0, 0, 0.38), transparent 56%);
}

/* ---------- liquid glass (espec. cinemática) ---------- */
.liquid-glass {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.01);
  background-blend-mode: luminosity;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border: none;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.liquid-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.45) 0%,
      rgba(255, 255, 255, 0.15) 20%,
      rgba(255, 255, 255, 0) 40%,
      rgba(255, 255, 255, 0) 60%,
      rgba(255, 255, 255, 0.15) 80%,
      rgba(255, 255, 255, 0.45) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* velo translúcido que sube al hacer scroll (opacidad la controla app.js) */
.page-veil {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  will-change: opacity;
  background-color: #e8e6ee;
  background-image:
    radial-gradient(46% 40% at 8% 3%, rgba(255, 165, 120, 0.20), transparent 62%),
    radial-gradient(42% 38% at 93% 1%, rgba(226, 90, 120, 0.13), transparent 62%),
    radial-gradient(52% 46% at 90% 86%, rgba(150, 162, 228, 0.16), transparent 62%),
    radial-gradient(46% 42% at 5% 95%, rgba(255, 188, 150, 0.11), transparent 62%),
    linear-gradient(162deg, #f1eef5 0%, #e7e5ee 100%);
}

.logo-circ-xl {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #fff;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  animation: logoFloat 7s ease-in-out infinite;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25), inset 0 2px 4px rgba(255, 255, 255, 0.8);
}

.hero .logo-xl {
  width: 46px;
  height: 46px;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.25));
}

@keyframes logoFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 8px 16px 8px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

/* destello que recorre el badge */
.hero-badge::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.35) 50%, transparent 68%);
  transform: translateX(-130%);
  animation: badgeSweep 5.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes badgeSweep {

  18%,
  100% {
    transform: translateX(130%);
  }
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}

.hero h1 {
  /* serif de la app (Cormorant Garamond), aire editorial */
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(44px, 5.6vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}

.hero h1 .white-text {
  font-style: italic;
}

/* palabras animadas (los spans .w los crea app.js) */
.hero h1 .w {
  display: inline-block;
  opacity: 0;
  filter: blur(10px);
  transform: translateY(16px);
  animation: wordIn 0.8s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}

@keyframes wordIn {
  to {
    opacity: 1;
    filter: blur(0);
    transform: none;
  }
}

.hero .lede {
  font-size: clamp(16px, 1.4vw, 18px);
  color: rgba(255, 255, 255, 0.95);
  max-width: 480px;
  line-height: 1.5;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
  margin-bottom: 0;
}

/* email capture */
.waitlist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border-radius: var(--r-lg);
  width: 100%;
  background: var(--glass-strong);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow-lg), var(--glass-hi);
  transition: box-shadow 0.3s, transform 0.3s var(--ease);
}

.waitlist:focus-within {
  box-shadow: var(--shadow-md), var(--glass-hi), 0 0 0 3px rgba(226, 59, 78, 0.10);
  transform: translateY(-1px);
}

.waitlist input {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--glass-line);
  border-radius: 100px;
  outline: none;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14.5px;
  padding: 12px 18px;
  width: 100%;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.waitlist input::placeholder {
  color: var(--ink-3);
}

.waitlist .btn {
  width: 100%;
  padding: 12px;
  font-size: 15px;
}

.waitlist .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.waitlist.done {
  justify-content: center;
  padding: 13px;
  font-size: 14px;
  font-weight: 500;
  gap: 10px;
}

.waitlist.done .check {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  animation: pop 0.5s var(--ease);
}

@keyframes pop {
  0% {
    transform: scale(0);
  }

  70% {
    transform: scale(1.25);
  }

  100% {
    transform: scale(1);
  }
}

/* formulario del hero: pill de cristal líquido con botón circular */
.hero .waitlist {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.01);
  background-blend-mode: luminosity;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border: none;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.hero .waitlist input[type="email"] {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 15.5px;
  padding: 10px 0;
}

.hero .waitlist input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.btn-go {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  color: #0a0a0c;
  border: none;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  box-shadow: 0 6px 20px -8px rgba(0, 0, 0, 0.5);
}

.btn-go:hover {
  transform: scale(1.07);
}

.btn-go:disabled {
  opacity: 0.6;
  cursor: default;
}

.hero .waitlist.done {
  justify-content: center;
  padding: 16px 24px;
  color: #fff;
  font-weight: 600;
}

.hero-note {
  margin-top: 14px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.01em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

/* ---------- STAGE: el producto contado en código ---------- */
.hero-stage {
  margin: 52px auto 0;
  max-width: 860px;
}

.stage {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--glass-line);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  box-shadow: 0 60px 120px -50px rgba(40, 30, 60, 0.40), 0 24px 60px -36px rgba(40, 30, 60, 0.20), var(--glass-hi);
  padding: 8px;
}

.stage-bar {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
}

.stage-bar .dots {
  display: flex;
  gap: 8px;
}

.stage-bar .dots i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.stage-bar .dots i:nth-child(1) {
  background: #ff5f57;
}

.stage-bar .dots i:nth-child(2) {
  background: #febc2e;
}

.stage-bar .dots i:nth-child(3) {
  background: #28c840;
}

.stage-bar .url {
  margin: 0 auto;
  transform: translateX(-16px);
  font-size: 12px;
  color: var(--ink-3);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--glass-line);
  padding: 5px 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.stage-body {
  position: relative;
  aspect-ratio: 16 / 8.6;
  border-radius: 12px;
  overflow: hidden;
  background: #fbfafc;
}

.scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.9s var(--ease);
}

.scene.on {
  opacity: 1;
  pointer-events: auto;
}

/* —— escena 1: CREAR (editor vivo) —— */
.scene-create {
  background: linear-gradient(170deg, #ffffff 0%, #f6f4f9 100%);
  padding: clamp(20px, 5%, 44px) clamp(22px, 8%, 80px);
  text-align: left;
}

.sc-kicker {
  font-family: var(--brand);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--coral-1);
  margin-bottom: 6px;
}

.sc-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(17px, 2.4vw, 24px);
  letter-spacing: -0.02em;
  margin-bottom: clamp(12px, 2.5vw, 24px);
}

.typing {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.6vw, 13px);
}

.typing span {
  height: clamp(7px, 1vw, 9px);
  border-radius: 100px;
  background: rgba(29, 29, 31, 0.08);
  display: block;
  transform-origin: left;
  animation: type 11s var(--ease) infinite;
}

.typing span:nth-child(1) {
  width: 88%;
  animation-delay: 0s;
}

.typing span:nth-child(2) {
  width: 96%;
  animation-delay: 0.9s;
}

.typing span:nth-child(3) {
  width: 74%;
  animation-delay: 1.8s;
}

.typing span:nth-child(4) {
  width: 91%;
  animation-delay: 2.7s;
}

.typing span.ai {
  background: linear-gradient(90deg, rgba(226, 59, 78, 0.45), rgba(255, 159, 99, 0.45));
  width: 58%;
  animation-delay: 3.6s;
}

@keyframes type {
  0% {
    transform: scaleX(0);
    opacity: 0;
  }

  6% {
    opacity: 1;
  }

  14% {
    transform: scaleX(1);
  }

  86% {
    transform: scaleX(1);
    opacity: 1;
  }

  94%,
  100% {
    transform: scaleX(1);
    opacity: 0;
  }
}

.ai-chip {
  margin-top: clamp(14px, 3vw, 26px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(11px, 1.4vw, 13px);
  font-weight: 600;
  color: #fff;
  background: var(--ink);
  padding: 8px 15px;
  border-radius: 100px;
}

.ai-chip .pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral-2);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.35;
    transform: scale(0.65);
  }
}

/* —— escena 2: LEER (atmósfera inmersiva) —— */
.scene-read {
  background: radial-gradient(120% 130% at 75% 10%, #2b2440 0%, #131019 58%, #0a090d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.scene-read::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(40% 40% at 30% 70%, rgba(226, 59, 78, 0.22), transparent 65%), radial-gradient(38% 38% at 78% 28%, rgba(120, 110, 228, 0.25), transparent 65%);
  animation: drift 14s ease-in-out infinite alternate;
}

@keyframes drift {
  to {
    transform: translate(4%, -4%) scale(1.08);
  }
}

.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.particles i {
  position: absolute;
  bottom: -6px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  animation: rise linear infinite;
}

.particles i:nth-child(1) {
  left: 8%;
  animation-duration: 9s;
  animation-delay: 0s;
  width: 3px;
  height: 3px;
}

.particles i:nth-child(2) {
  left: 22%;
  animation-duration: 12s;
  animation-delay: 2s;
}

.particles i:nth-child(3) {
  left: 35%;
  animation-duration: 8s;
  animation-delay: 4s;
  width: 2px;
  height: 2px;
}

.particles i:nth-child(4) {
  left: 48%;
  animation-duration: 13s;
  animation-delay: 1s;
}

.particles i:nth-child(5) {
  left: 61%;
  animation-duration: 10s;
  animation-delay: 5s;
  width: 3px;
  height: 3px;
}

.particles i:nth-child(6) {
  left: 72%;
  animation-duration: 9s;
  animation-delay: 3s;
}

.particles i:nth-child(7) {
  left: 84%;
  animation-duration: 12s;
  animation-delay: 6s;
  width: 2px;
  height: 2px;
}

.particles i:nth-child(8) {
  left: 93%;
  animation-duration: 11s;
  animation-delay: 0.5s;
}

@keyframes rise {
  0% {
    transform: translateY(0);
    opacity: 0;
  }

  12% {
    opacity: 0.7;
  }

  85% {
    opacity: 0.4;
  }

  100% {
    transform: translateY(-460px);
    opacity: 0;
  }
}

.read-quote {
  position: relative;
  z-index: 1;
  font-family: var(--display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(16px, 2.6vw, 26px);
  color: rgba(255, 255, 255, 0.92);
  max-width: 24ch;
  text-align: center;
  letter-spacing: -0.01em;
  line-height: 1.4;
  animation: quoteBreath 7s ease-in-out infinite;
}

@keyframes quoteBreath {

  0%,
  100% {
    opacity: 0.85;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.02);
  }
}

.read-bar {
  position: absolute;
  bottom: clamp(12px, 3%, 22px);
  left: 50%;
  transform: translateX(-50%);
  width: min(320px, 60%);
  height: 3px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.read-bar i {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: 100px;
  background: var(--coral);
  animation: progress 12s linear infinite;
}

@keyframes progress {
  0% {
    width: 8%;
  }

  100% {
    width: 92%;
  }
}

/* —— escena 3: PUBLICAR (libro 3D) —— */
.scene-publish {
  background: linear-gradient(170deg, #ffffff 0%, #f3f0f7 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 3vw, 22px);
  perspective: 1100px;
}

.book {
  position: relative;
  width: clamp(92px, 16vw, 140px);
  aspect-ratio: 10 / 14.4;
  transform-style: preserve-3d;
  animation: bookFloat 7s ease-in-out infinite;
}

@keyframes bookFloat {

  0%,
  100% {
    transform: rotateY(-26deg) translateY(0);
  }

  50% {
    transform: rotateY(-18deg) translateY(-10px);
  }
}

.book .cover {
  position: absolute;
  inset: 0;
  border-radius: 4px 10px 10px 4px;
  background: linear-gradient(135deg, #25222b 0%, #3a3542 100%);
  box-shadow: 0 34px 60px -22px rgba(20, 16, 28, 0.55);
  padding: 14% 12%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 7px;
}

.book .cover::before {
  content: "";
  position: absolute;
  top: 12%;
  left: 12%;
  width: 34%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--coral);
  opacity: 0.92;
}

.book .cover i {
  height: 6px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.5);
  display: block;
}

.book .cover i:nth-of-type(2) {
  width: 62%;
  background: rgba(255, 255, 255, 0.3);
}

.book .spine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -7px;
  width: 8px;
  border-radius: 3px 0 0 3px;
  background: var(--coral);
  transform: rotateY(-70deg);
  transform-origin: right;
}

.book-shadow {
  width: clamp(90px, 15vw, 130px);
  height: 14px;
  border-radius: 50%;
  background: rgba(20, 16, 28, 0.18);
  filter: blur(8px);
  animation: shadowPulse 7s ease-in-out infinite;
}

@keyframes shadowPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.9;
  }

  50% {
    transform: scale(0.82);
    opacity: 0.55;
  }
}

.pub-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: clamp(11px, 1.4vw, 13px);
  font-weight: 600;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  padding: 8px 15px;
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
}

.pub-chip .tick {
  color: #28a745;
  font-weight: 800;
}

/* ---------- LAPTOP con las pantallas reales de la app ---------- */
.laptop {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  perspective: 1500px;
}

.lap-screen {
  position: relative;
  border-radius: 18px 18px 0 0;
  background: #0b0b0d;
  padding: 16px 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-bottom: none;
  box-shadow: 0 70px 130px -50px rgba(15, 12, 22, 0.65), 0 30px 60px -36px rgba(15, 12, 22, 0.4);
  transform-style: preserve-3d;
  transition: transform 0.35s ease-out;
  will-change: transform;
}

.lap-cam {
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #26262b;
  box-shadow: inset 0 0 2px rgba(120, 160, 255, 0.6);
}

.lap-view {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 9.4;
  background: #000;
}

.lap-view img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  opacity: 0;
  transform: scale(1.045);
  transition: opacity 0.85s var(--ease), transform 6.5s linear;
}

.lap-view img.on {
  opacity: 1;
  transform: scale(1);
}

.lap-base {
  position: relative;
  height: 17px;
  margin: 0 -3.5%;
  background: linear-gradient(180deg, #e6e4ea 0%, #c2bfca 70%, #9d99a6 100%);
  border-radius: 2px 2px 14px 14px;
  box-shadow: 0 22px 44px -18px rgba(15, 12, 22, 0.5);
}

.lap-base::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 130px;
  height: 8px;
  border-radius: 0 0 12px 12px;
  background: rgba(20, 16, 28, 0.16);
}

/* —— pestañas del escenario (Crear · Leer · Publicar) —— */
.stage-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 22px;
  padding: 4px;
  border-radius: 100px;
  background: var(--glass-strong);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow-sm), var(--glass-hi);
}

.stage-tabs button {
  font-family: var(--brand);
  font-weight: 600;
  font-size: 13px;
  color: var(--ink-2);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px 18px;
  border-radius: 100px;
  transition: color 0.3s, background 0.3s;
  position: relative;
}

.stage-tabs button.active {
  background: var(--ink);
  color: #fff;
}

.stage-caption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 500;
  transition: opacity 0.4s;
  min-height: 20px;
}

/* ============================================================
   MARQUEE de géneros
   ============================================================ */
.marquee {
  padding: 56px 0 20px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(15px, 1.8vw, 19px);
  color: var(--ink-3);
  white-space: nowrap;
}

.marquee-track span::after {
  content: "✦";
  font-size: 11px;
  color: var(--coral-1);
  opacity: 0.6;
}

/* ============================================================
   HOW — Apple-style animated numbered steps
   ============================================================ */
.how {
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.how-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

/* Vertical connector line */
.how-connector {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(226, 59, 78, 0.4), rgba(226, 59, 78, 0.1));
  margin: 0 0 0 59px;
}

.how-step {
  display: grid;
  grid-template-columns: 120px 1fr 340px;
  align-items: center;
  gap: 40px;
  padding: 48px 56px;
  border-radius: var(--r-xl);
  background: var(--glass-strong);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow-md), var(--glass-hi);
  position: relative;
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.how-step::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(226, 59, 78, 0.07) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.how-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--glass-hi);
}

.how-step:hover::before {
  opacity: 1;
}

/* Step left column: icon + number stacked */
.how-step-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(226, 59, 78, 0.12), rgba(255, 159, 99, 0.12));
  border: 1px solid rgba(226, 59, 78, 0.2);
  display: grid;
  place-items: center;
  color: var(--coral-1);
  animation: iconFloat 5s ease-in-out infinite;
  position: relative;
}

.how-step-icon.dark {
  background: linear-gradient(135deg, rgba(120, 110, 228, 0.18), rgba(80, 70, 200, 0.08));
  border-color: rgba(120, 110, 228, 0.25);
  color: #a09de0;
  animation-delay: 0.8s;
}

@keyframes iconFloat {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-6px);
  }
}

.how-step-num {
  font-family: var(--brand);
  font-weight: 800;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(29, 29, 31, 0.06);
  position: absolute;
  bottom: 16px;
  left: 20px;
  user-select: none;
  pointer-events: none;
}

.how-step-num.dark-num {
  color: rgba(255, 255, 255, 0.06);
}

.how-step-body {
  flex: 1;
}

.how-step-label {
  font-family: var(--brand);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral-1);
  margin-bottom: 10px;
}

.how-step h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(20px, 2.2vw, 28px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 12px;
}

.how-step p {
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 42ch;
}

/* Right column: app screenshot */
.how-step-preview {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #0b0b0d;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: var(--shadow-md);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
  will-change: transform;
}

.how-step:hover .how-step-preview {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.how-step-preview.dark-preview {
  border-color: rgba(255, 255, 255, 0.06);
}

.how-step-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  display: block;
}

/* Scroll entrance animation override */
.js-anim .how-step {
  transform: translateX(-20px);
  opacity: 0;
  filter: blur(4px);
  transition: transform 0.9s var(--ease), opacity 0.9s var(--ease), filter 0.9s var(--ease);
}

.js-anim .how-step.d1 {
  transition-delay: 0.1s;
}

.js-anim .how-step.d2 {
  transition-delay: 0.2s;
}

.js-anim .reveal.in.how-step,
.js-anim .how-step.in {
  transform: none;
  opacity: 1;
  filter: blur(0);
}

.js-anim .reveal.in .how-visual {
  transform: none;
  opacity: 1;
}

/* visual 1: editor */
.hv-editor {
  background: linear-gradient(170deg, #ffffff 0%, #f7f5fa 100%);
  padding: clamp(18px, 4%, 36px) clamp(20px, 7%, 64px);
  text-align: left;
}

/* visual 2: atmósfera */
.hv-read {
  background: radial-gradient(120% 140% at 70% 0%, #2b2440 0%, #14101b 60%, #0a090d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* visual 3: estantería de publicación */
.hv-publish {
  background: linear-gradient(170deg, #ffffff 0%, #f3f0f7 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(10px, 2vw, 18px);
  padding-bottom: 0;
}

.hv-publish .mini-book {
  width: clamp(54px, 8vw, 84px);
  aspect-ratio: 10/14;
  border-radius: 3px 7px 7px 3px;
  box-shadow: 0 -6px 30px -10px rgba(20, 16, 28, 0.35);
  position: relative;
  top: 12px;
  transition: transform 0.5s var(--ease);
}

.hv-publish .mini-book:hover {
  transform: translateY(-10px);
}

.hv-publish .mini-book:nth-child(1) {
  background: linear-gradient(135deg, #25222b, #3a3542);
}

.hv-publish .mini-book:nth-child(2) {
  background: var(--coral);
  top: 0;
  box-shadow: 0 -10px 40px -12px rgba(226, 59, 78, 0.5);
}

.hv-publish .mini-book:nth-child(3) {
  background: linear-gradient(135deg, #8a86c9, #6a66a8);
  top: 18px;
}

.hv-publish .mini-book::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 16%;
  height: 5px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.45);
}

/* ============================================================
   FEATURES — conmutador interactivo con pantallas reales
   ============================================================ */
.features {
  padding: 60px 0 90px;
}

.fswitch {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 30px;
  align-items: center;
}

.flist {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fitem2 {
  position: relative;
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  padding: 16px 20px;
  font-family: var(--sans);
  transition: background 0.35s, border-color 0.35s, box-shadow 0.35s, transform 0.35s var(--ease);
}

.fitem2:hover {
  background: rgba(255, 255, 255, 0.45);
}

.fitem2.active {
  background: var(--glass-strong);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border-color: var(--glass-line);
  box-shadow: var(--shadow-sm), var(--glass-hi);
  transform: translateX(6px);
}

.fitem2 h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 16.5px;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.fitem2 p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-2);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease), opacity 0.5s, margin 0.5s;
  margin-top: 0;
}

.fitem2.active p {
  max-height: 90px;
  opacity: 1;
  margin-top: 5px;
}

.fitem2 .fprog {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--coral);
  border-radius: 100px;
}

.fitem2.active .fprog {
  animation: fprog 5.5s linear forwards;
}

@keyframes fprog {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

.fshot {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16 / 9.8;
  background: #0b0b0d;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: var(--shadow-lg);
  /* responde al tilt 3D del cursor */
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
  will-change: transform;
}

.fshot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  opacity: 0;
  transform: translateX(28px) scale(1.02);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.fshot img.on {
  opacity: 1;
  transform: none;
}

/* (legacy bento — conservado por compatibilidad) */
.bento2 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.bk {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  padding: 28px 26px;
  background: var(--glass-strong);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow-sm), var(--glass-hi);
  transition: transform 0.5s var(--ease), box-shadow 0.4s;
}

.bk:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md), var(--glass-hi);
}

.bk::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(226, 59, 78, 0.13), transparent 70%);
}

.bk:hover::after {
  opacity: 1;
}

.bk h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 17.5px;
  letter-spacing: -0.015em;
  margin-bottom: 7px;
}

.bk p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 44ch;
}

.bk.dark {
  background: #0d0d0f;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.08);
}

.bk.dark p {
  color: rgba(255, 255, 255, 0.6);
}

.bk.dark::after {
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 159, 99, 0.14), transparent 70%);
}

.span3 {
  grid-column: span 3;
}

.span2 {
  grid-column: span 2;
}

.bk.span6 {
  grid-column: span 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
}

.bk.span6 .bk-copy {
  flex: 1 1 280px;
}

.bk .demo {
  margin-top: 20px;
  position: relative;
}

/* demo: lectura inmersiva (mini atmósfera) */
.demo-read {
  height: 132px;
  border-radius: 14px;
  overflow: hidden;
  background: radial-gradient(120% 150% at 70% 0%, #2b2440 0%, #14101b 60%, #0a090d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-read .read-quote {
  font-size: 14.5px;
  max-width: 30ch;
}

/* demo: chat con personajes (burbujas que conversan) */
.demo-chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 100px;
}

.demo-chat .bub {
  display: block;
  height: 30px;
  border-radius: 14px;
  opacity: 0;
  animation: bub 7.5s var(--ease) infinite;
}

.demo-chat .bub.L {
  width: 72%;
  background: rgba(29, 29, 31, 0.07);
  border-bottom-left-radius: 4px;
}

.demo-chat .bub.R {
  width: 58%;
  margin-left: auto;
  background: linear-gradient(120deg, rgba(226, 59, 78, 0.85), rgba(255, 159, 99, 0.85));
  border-bottom-right-radius: 4px;
  animation-delay: 1.2s;
}

.demo-chat .bub.L2 {
  width: 64%;
  background: rgba(29, 29, 31, 0.07);
  border-bottom-left-radius: 4px;
  animation-delay: 2.4s;
}

@keyframes bub {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }

  8%,
  76% {
    opacity: 1;
    transform: none;
  }

  90%,
  100% {
    opacity: 0;
    transform: translateY(-6px);
  }
}

/* demo: biblioteca (portadas + progreso que avanza) */
.demo-lib .covers {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.demo-lib .covers i {
  flex: 1;
  aspect-ratio: 10 / 12;
  border-radius: 8px;
  transition: transform 0.4s var(--ease);
}

.bk:hover .demo-lib .covers i {
  transform: translateY(-4px);
}

.bk:hover .demo-lib .covers i:nth-child(2) {
  transform: translateY(-8px);
}

.demo-lib .covers i:nth-child(1) {
  background: linear-gradient(135deg, #25222b, #3a3542);
}

.demo-lib .covers i:nth-child(2) {
  background: var(--coral);
}

.demo-lib .covers i:nth-child(3) {
  background: linear-gradient(135deg, #8a86c9, #6a66a8);
}

.lib-bar {
  height: 5px;
  border-radius: 100px;
  background: rgba(29, 29, 31, 0.08);
  overflow: hidden;
}

.lib-bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 100px;
  background: var(--coral);
  animation: lib 5.5s var(--ease) infinite;
}

@keyframes lib {
  0% {
    width: 4%;
  }

  55%,
  82% {
    width: 74%;
  }

  96%,
  100% {
    width: 4%;
  }
}

/* demo: digital o papel (libros flotando) */
.demo-print {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
  min-height: 100px;
  perspective: 600px;
}

.demo-print .pbook {
  width: 44px;
  aspect-ratio: 10 / 14;
  border-radius: 3px 6px 6px 3px;
  box-shadow: 0 14px 26px -12px rgba(20, 16, 28, 0.4);
  animation: pf 6s ease-in-out infinite;
}

.demo-print .pbook:nth-child(1) {
  background: linear-gradient(135deg, #25222b, #3a3542);
}

.demo-print .pbook:nth-child(2) {
  background: var(--coral);
  animation-delay: 0.7s;
}

.demo-print .pbook:nth-child(3) {
  background: linear-gradient(135deg, #8a86c9, #6a66a8);
  animation-delay: 1.4s;
}

@keyframes pf {

  0%,
  100% {
    transform: translateY(0) rotateY(-14deg);
  }

  50% {
    transform: translateY(-9px) rotateY(-4deg);
  }
}

/* demo: idiomas (palabra que muta entre lenguas) */
.demo-langs {
  position: relative;
  flex: 1 1 220px;
  height: 48px;
  margin: 0;
}

.demo-langs span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 28px);
  letter-spacing: -0.02em;
  background: var(--coral);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  opacity: 0;
  animation: langCycle 16s var(--ease) infinite;
}

.demo-langs span:nth-child(2) {
  animation-delay: 2s;
}

.demo-langs span:nth-child(3) {
  animation-delay: 4s;
}

.demo-langs span:nth-child(4) {
  animation-delay: 6s;
}

.demo-langs span:nth-child(5) {
  animation-delay: 8s;
}

.demo-langs span:nth-child(6) {
  animation-delay: 10s;
}

.demo-langs span:nth-child(7) {
  animation-delay: 12s;
}

.demo-langs span:nth-child(8) {
  animation-delay: 14s;
}

@keyframes langCycle {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
    filter: blur(5px);
  }

  2.5%,
  10% {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }

  12.5%,
  100% {
    opacity: 0;
    transform: translateY(-10px);
    filter: blur(5px);
  }
}

/* ============================================================
   POSITIONING BAND
   ============================================================ */
.band {
  padding: 40px 0 90px;
}

.band-inner {
  border-radius: var(--r-xl);
  padding: 72px 40px;
  text-align: center;
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.band-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.95;
  background: radial-gradient(70% 110% at 100% 0%, rgba(255, 159, 99, 0.16), transparent 55%), radial-gradient(60% 110% at 0% 100%, rgba(226, 59, 78, 0.16), transparent 55%);
  animation: bandGlow 10s ease-in-out infinite alternate;
}

@keyframes bandGlow {
  to {
    transform: scale(1.18) rotate(2deg);
  }
}

.band-inner>* {
  position: relative;
  z-index: 1;
}

.band-inner h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.022em;
  max-width: 20ch;
  margin: 0 auto;
}

.band-inner p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
  margin-top: 16px;
}

.band-tags {
  display: flex;
  gap: 9px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

.band-tags span {
  font-size: 12.5px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  transition: background 0.3s, transform 0.3s var(--ease);
}

.band-tags span:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing {
  padding: 30px 0 90px;
}

.toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 100px;
  background: var(--glass-strong);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--glass-line);
  margin: 0 auto 12px;
  box-shadow: var(--shadow-sm), var(--glass-hi);
}

.toggle button {
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--ink-2);
  padding: 8px 19px;
  border-radius: 100px;
  transition: color 0.3s, background 0.3s;
}

.toggle button.active {
  background: var(--ink);
  color: #fff;
}

.save-note {
  font-size: 12.5px;
  color: var(--coral-1);
  font-weight: 600;
  height: 18px;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: stretch;
  margin-top: 28px;
}

.plan {
  border-radius: var(--r-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  background: var(--glass-strong);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow-md), var(--glass-hi);
  position: relative;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.plan:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg), var(--glass-hi);
}

.plan.feat {
  border: 1px solid transparent;
  box-shadow: var(--shadow-lg), var(--glass-hi);
  transform: scale(1.02);
  z-index: 2;
}

.plan.feat:hover {
  transform: scale(1.02) translateY(-5px);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.3), var(--glass-hi);
}

@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.plan.feat::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1.5px;
  z-index: 0;
  background: conic-gradient(from var(--angle), #e23b4e, #ff9f63, #f0584f, #e23b4e);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: spinBorder 5s linear infinite;
}

@keyframes spinBorder {
  to {
    --angle: 360deg;
  }
}

.plan>* {
  position: relative;
  z-index: 1;
}

/* ---- plan gratuito: más discreto para que los de pago destaquen ---- */
.plan.free {
  background: rgba(255, 255, 255, 0.32);
}

/* ---- planes de pago: tinte cálido, brillo y acento de marca ---- */
.plan.paid {
  background:
    linear-gradient(180deg, rgba(255, 159, 99, 0.10), transparent 42%),
    var(--glass-strong);
  border-color: rgba(226, 59, 78, 0.22);
}

.plan.paid::after {
  content: "";
  position: absolute;
  top: 0;
  left: 22%;
  right: 22%;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--coral);
  z-index: 1;
}

.plan.paid.feat::after {
  display: none;
}

/* precio en degradado coral para los de pago */
.plan.paid .price>span:first-child {
  background: var(--coral);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* chispa junto al nombre del plan de pago */
.plan-spark {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 7px;
  vertical-align: -1px;
  background: var(--coral);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.4 6.6L21 11l-6.6 2.4L12 20l-2.4-6.6L3 11l6.6-2.4z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.4 6.6L21 11l-6.6 2.4L12 20l-2.4-6.6L3 11l6.6-2.4z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* etiqueta PRO: oscura, para diferenciarla de la coral de "Recomendado" */
.plan .tag.tag-pro {
  background: var(--coral);
  color: #fff;
  -webkit-text-fill-color: #fff;
  letter-spacing: 0.08em;
}

.plan .tag {
  position: absolute;
  top: 28px;
  right: 28px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--coral);
  color: #fff;
}

.plan .pname {
  font-family: var(--brand);
  font-weight: 700;
  font-size: 16.5px;
  margin-bottom: 13px;
}

.plan .price {
  font-family: var(--display);
  font-weight: 600;
  font-size: 40px;
  letter-spacing: -0.03em;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.plan .price .per {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-3);
  letter-spacing: 0;
}

.plan .price-sub {
  font-size: 12.5px;
  color: var(--ink-3);
  margin-top: 8px;
  height: 18px;
}

.plan .pdesc {
  color: var(--ink-2);
  font-size: 13.5px;
  margin: 16px 0 20px;
  line-height: 1.5;
}

.plan ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 24px;
}

.plan li {
  display: flex;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink);
  align-items: flex-start;
}

.plan li .tick {
  color: var(--coral-1);
  flex-shrink: 0;
  margin-top: 1px;
}

.plan .btn {
  margin-top: auto;
  width: 100%;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  padding: 60px 0 80px;
}

.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.quote {
  border-radius: var(--r-lg);
  padding: 28px 26px;
  background: var(--glass-strong);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow-md), var(--glass-hi);
  display: flex;
  flex-direction: column;
  transition: transform 0.45s var(--ease);
}

.quote:hover {
  transform: translateY(-5px);
}

.quote p {
  font-family: var(--display);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.012em;
  margin-bottom: 22px;
  flex: 1;
}

.quote .who {
  display: flex;
  align-items: center;
  gap: 11px;
}

/* pie del testimonio: nombre y rol, con una fina línea de acento
   encima — sobrio y editorial, sin avatares */
.quote .who {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.quote .who::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 32px;
  height: 2px;
  border-radius: 2px;
  background: var(--coral);
}

.quote .who {
  position: relative;
}

.quote .who b {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
}

.quote .who span {
  font-size: 12px;
  color: var(--ink-3);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: 60px 0 90px;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 52px;
  align-items: start;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 4px;
  cursor: pointer;
  font-size: 15.5px;
  font-weight: 500;
  font-family: var(--display);
  letter-spacing: -0.01em;
}

.faq-q .pm {
  flex-shrink: 0;
  transition: transform 0.4s var(--ease);
  color: var(--ink-3);
}

.faq-item.open .pm {
  transform: rotate(45deg);
  color: var(--coral-1);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}

.faq-a-inner {
  padding: 0 4px 20px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.6;
}

/* ============================================================
   CTA + FOOTER
   ============================================================ */
.cta {
  padding: 30px 0 80px;
}

.cta-panel {
  border-radius: var(--r-xl);
  padding: 56px 32px;
  text-align: center;
  background: var(--glass-strong);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow-md), var(--glass-hi);
  max-width: 800px;
  margin: 0 auto;
}

.cta-panel .logo-circ-xl {
  margin: 0 auto 20px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
  width: 64px;
  height: 64px;
}

.cta-panel .logo-xl {
  width: 40px;
  height: 40px;
  display: block;
}

.cta-panel h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.08;
  letter-spacing: -0.022em;
  margin-bottom: 12px;
}

.cta-panel p {
  color: var(--ink-2);
  font-size: 16px;
  margin-bottom: 28px;
}

.cta-panel .waitlist {
  margin: 0 auto;
}

/* footer estilo Anthropic sobre tema oscuro: zona ligeramente más clara
   que la página para marcarla, pero la subida de tono ocurre de forma
   gradual dentro del propio footer — contraste suave, sin línea ni banda */
footer {
  position: relative;
  padding: 110px 0 46px;
  border-top: none;
  background: linear-gradient(180deg,
      rgba(238, 234, 248, 0) 0%,
      rgba(238, 234, 248, 0.04) 70px,
      rgba(238, 234, 248, 0.09) 160px,
      rgba(238, 234, 248, 0.12) 100%);
}

footer .brand .name {
  color: var(--ink);
  -webkit-text-fill-color: var(--ink);
  background: none;
  text-shadow: none;
}

footer .foot-col a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.foot-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.foot-brand {
  max-width: 270px;
}

.foot-brand p {
  color: var(--ink-3);
  font-size: 13px;
  line-height: 1.55;
  margin-top: 14px;
}

/* rejilla limpia y alineada al estilo Anthropic: columnas de igual ancho,
   tops alineados y separación generosa y constante */
.foot-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 150px));
  gap: 64px;
  align-items: start;
}

/* estilo Anthropic: encabezado discreto y legible (sin tracking forzado),
   con buen aire respecto a la lista de enlaces */
.foot-col h5 {
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-3);
  margin-bottom: 18px;
  font-weight: 500;
}

/* enlaces espaciados y de buen tamaño; el subrayado solo aparece al hover */
.foot-col a {
  display: block;
  width: fit-content;
  color: var(--ink-2);
  text-decoration: none;
  font-size: 14.5px;
  line-height: 1.35;
  margin-bottom: 13px;
  transition: color 0.18s var(--ease);
}

.foot-col a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.foot-bottom {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--ink-3);
}

/* ============================================================
   LANGUAGE SWITCHER + TOAST
   ============================================================ */
.lang {
  position: relative;
  flex-shrink: 0;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  padding: 7px 12px;
  transition: background 0.25s;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.4);
}

.lang-btn svg {
  opacity: 0.7;
}

.lang-btn .chev {
  transition: transform 0.3s var(--ease);
}

.lang.open .lang-btn .chev {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 205px;
  max-height: 60vh;
  overflow-y: auto;
  background: var(--glass-strong);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--glass-line);
  border-radius: 18px;
  box-shadow: var(--shadow-lg), var(--glass-hi);
  padding: 7px;
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.lang.open .lang-menu {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.lang-menu button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 11px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--ink);
  text-align: left;
  transition: background 0.2s;
}

.lang-menu button:hover {
  background: rgba(255, 255, 255, 0.55);
}

.lang-menu button .flag {
  font-size: 16px;
  line-height: 1;
}

.lang-menu button .lname {
  flex: 1;
}

.lang-menu button.active {
  color: var(--coral-1);
  font-weight: 600;
}

.lang-menu button .soon {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  border: 1px solid var(--line-2);
  padding: 2px 7px;
  border-radius: 100px;
}

.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: #fff;
  padding: 11px 20px;
  border-radius: 100px;
  font-size: 13.5px;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s, transform 0.4s var(--ease);
  z-index: 300;
  box-shadow: var(--shadow-lg);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================================
   SUBPÁGINAS
   ============================================================ */
.page {
  padding: 140px 0 70px;
}

.page .wrap {
  max-width: 740px;
}

.page-head {
  margin-bottom: 40px;
}

.page-head h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.025em;
  line-height: 1.06;
  margin: 12px 0 14px;
}

.page-head .page-lede {
  color: var(--ink-2);
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.55;
  max-width: 56ch;
}

.prose {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--glass-line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm), var(--glass-hi);
  padding: clamp(28px, 4vw, 48px);
}

.prose h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.015em;
  margin: 28px 0 10px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.65;
}

.prose p {
  margin-bottom: 12px;
}

.prose ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.prose li {
  margin-bottom: 6px;
}

.prose strong {
  color: var(--ink);
  font-weight: 600;
}

.prose a {
  color: var(--coral-1);
  text-decoration: none;
}

.prose a:hover {
  text-decoration: underline;
}

.prose .muted {
  font-size: 12.5px;
  color: var(--ink-3);
}

.page-cta {
  text-align: center;
  margin-top: 36px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 8px 0 4px;
}

.ccard {
  border-radius: var(--r-lg);
  padding: 26px 24px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow-sm), var(--glass-hi);
  text-align: center;
}

.ccard .fic {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--coral-soft);
  color: var(--coral-1);
  margin: 0 auto 14px;
}

.ccard h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 5px;
}

.ccard p {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 10px;
}

.ccard a {
  font-size: 13.5px;
  color: var(--coral-1);
  text-decoration: none;
  font-weight: 500;
}

.ccard a:hover {
  text-decoration: underline;
}

.blog-soon {
  text-align: center;
  padding: 50px 20px;
}

.blog-soon .fic {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--coral-soft);
  color: var(--coral-1);
  margin: 0 auto 18px;
}

.blog-soon h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 10px;
}

.blog-soon p {
  color: var(--ink-2);
  font-size: 14.5px;
  max-width: 46ch;
  margin: 0 auto 24px;
}

/* ---------- reveal con blur (scroll) ---------- */
.reveal {
  opacity: 1;
  transform: none;
}

.js-anim .reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.985);
  filter: blur(8px);
  transition: opacity 1.05s var(--ease), transform 1.05s var(--ease), filter 1.05s var(--ease);
}

.js-anim .reveal.in {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

.js-anim .reveal.d1 {
  transition-delay: 0.08s;
}

.js-anim .reveal.d2 {
  transition-delay: 0.16s;
}

.js-anim .reveal.d3 {
  transition-delay: 0.24s;
}

/* ---------- motion extras ---------- */

/* barra de progreso de scroll */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--coral);
  transform-origin: 0 50%;
  transform: scaleX(0);
  z-index: 200;
  pointer-events: none;
}

/* brillo que sigue al cursor en tarjetas con tilt */
.tilt-glare {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  z-index: 2;
}

.plan,
.quote {
  transform-style: preserve-3d;
  will-change: transform;
}

/* títulos de sección: reveal palabra a palabra (spans .w de app.js) */
.js-anim .section-head h2 .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(14px);
  filter: blur(6px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), filter 0.7s var(--ease);
  transition-delay: var(--d, 0s);
}

.js-anim .section-head.in h2 .w {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* etiquetas de la banda flotando */
.band-tags span {
  animation: tagFloat 5s ease-in-out infinite;
}

.band-tags span:nth-child(2) {
  animation-delay: 0.6s;
}

.band-tags span:nth-child(3) {
  animation-delay: 1.2s;
}

.band-tags span:nth-child(4) {
  animation-delay: 1.8s;
}

@keyframes tagFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js-anim .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .hero h1 .w,
  .js-anim .section-head h2 .w {
    opacity: 1;
    filter: none;
    transform: none;
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 940px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding: 124px 0 26px;
  }

  .hero>.wrap.hero-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }

  .hero-form-col {
    width: 100%;
    text-align: left;
  }

  .hero-form-col .waitlist {
    max-width: 440px;
  }

  .hero-stage {
    margin-top: 44px;
  }

  .stage-body {
    aspect-ratio: 16 / 10.5;
  }

  .how-cards {
    grid-template-columns: 1fr;
  }

  .how-card {
    padding-top: 32px;
  }

  .how-visual {
    margin-top: 32px;
  }

  .span3,
  .span2 {
    grid-column: span 6;
  }

  .fswitch {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .fshot {
    order: -1;
  }

  .plans,
  .quotes {
    grid-template-columns: 1fr;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .plan.feat {
    order: -1;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .wrap {
    padding: 0 18px;
  }

  .band-inner {
    padding: 46px 22px;
  }

  .cta-panel {
    padding: 46px 22px;
  }

  .waitlist {
    flex-direction: column;
    border-radius: var(--r-lg);
    padding: 10px;
  }

  .waitlist input {
    padding: 10px 14px;
  }

  .waitlist .btn {
    width: 100%;
  }

  .stage-tabs button {
    padding: 8px 13px;
    font-size: 12px;
  }
}
/* ============================================================
   DARK CINEMATIC — todo liquid glass sobre los colores del vídeo
   (override del tema claro: las variables mandan)
   ============================================================ */
:root {
  --bg: #0b0a12;
  --ink: #f5f3fa;
  --ink-2: rgba(236, 233, 245, 0.72);
  --ink-3: rgba(236, 233, 245, 0.52);
  --line: rgba(255, 255, 255, 0.10);
  --line-2: rgba(255, 255, 255, 0.17);
  --glass: rgba(255, 255, 255, 0.05);
  --glass-strong: rgba(255, 255, 255, 0.07);
  --glass-line: rgba(255, 255, 255, 0.14);
  --glass-hi: inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  --blur: blur(22px) saturate(150%);
  --coral-soft: rgba(255, 122, 110, 0.13);
}

body {
  background: #060509;
  color: var(--ink);
}

::selection {
  background: rgba(255, 159, 99, 0.3);
}

/* el velo ya no es blanco: tinte oscuro translúcido que deja
   pasar los colores del vídeo de fondo */
.page-veil {
  background-color: rgba(8, 7, 13, 0.93);
  background-image:
    radial-gradient(46% 40% at 8% 3%, rgba(255, 130, 90, 0.07), transparent 62%),
    radial-gradient(52% 46% at 90% 86%, rgba(120, 130, 220, 0.07), transparent 62%);
}

/* nav en glass oscuro al hacer scroll */
.nav.scrolled .nav-inner {
  background: rgba(18, 16, 28, 0.55);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 0 0.5px rgba(255, 255, 255, 0.08);
}

.nav.scrolled .brand .name {
  color: #fff;
}

/* botones: blanco sólido lee mejor sobre oscuro */
.btn-dark {
  background: #fff;
  color: #0c0b14;
}

.btn-dark:hover {
  background: #ece9f3;
}

.toggle button.active {
  color: #0c0b14;
}

.toast {
  background: rgba(24, 22, 36, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* banda de posicionamiento → liquid glass en vez de bloque sólido */
.band-inner {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* formulario del CTA inferior (el del hero ya es liquid glass) */
.waitlist input {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.waitlist input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

/* el botón del nav siempre es blanco con texto oscuro */
.nav.over .nav-cta .btn-dark,
.nav.scrolled .nav-cta .btn-dark {
  color: #0c0b14;
}

/* ============================================================
   GLASS BRIGHT — el cristal brilla más: mejor lectura
   ============================================================ */
:root {
  --glass: rgba(255, 255, 255, 0.10);
  --glass-strong: rgba(255, 255, 255, 0.13);
  --glass-line: rgba(255, 255, 255, 0.26);
  --glass-hi: inset 0 1px 0 rgba(255, 255, 255, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.07);
  --blur: blur(26px) saturate(170%);
}

.liquid-glass {
  background: rgba(255, 255, 255, 0.09);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.25), 0 10px 40px -18px rgba(0, 0, 0, 0.6);
}

.liquid-glass::before {
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.7) 0%,
      rgba(255, 255, 255, 0.25) 20%,
      rgba(255, 255, 255, 0.06) 40%,
      rgba(255, 255, 255, 0.06) 60%,
      rgba(255, 255, 255, 0.25) 80%,
      rgba(255, 255, 255, 0.7) 100%);
}

.hero .waitlist {
  background: rgba(255, 255, 255, 0.09);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.25), 0 10px 40px -18px rgba(0, 0, 0, 0.6);
}

/* ============================================================
   NAV — flotante a lo Apple: compacta al scroll, links vivos
   ============================================================ */
@keyframes navIn {
  from {
    opacity: 0;
    transform: translateY(-18px);
    filter: blur(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.nav {
  animation: navIn 0.9s var(--ease) 0.15s backwards;
}

.nav-inner {
  max-width: 920px;
  transition: max-width 0.6s var(--ease), margin 0.6s var(--ease), padding 0.6s var(--ease),
    box-shadow 0.5s, background 0.5s, border-color 0.5s;
}

/* al hacer scroll la píldora se compacta, como el Dynamic Island */
.nav.scrolled .nav-inner {
  max-width: 780px;
  margin: 10px 16px;
  padding: 5px 10px 5px 14px;
}

.nav-links a {
  position: relative;
  color: rgba(255, 255, 255, 0.78);
  padding: 8px 16px;
  transition: color 0.3s, background 0.3s, transform 0.3s var(--ease);
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

/* sección activa marcada con píldora de cristal */
.nav-links a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.lang-btn {
  transition: background 0.3s, transform 0.3s var(--ease);
}

.lang-btn:hover {
  transform: translateY(-1px);
}

/* ============================================================
   TIPOGRAFÍA DE LA APP — Fredoka redondeada (como el logo)
   ============================================================ */
:root {
  --display: "Fredoka", "Baloo 2", -apple-system, system-ui, sans-serif;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(38px, 4.8vw, 66px);
  line-height: 1.07;
  letter-spacing: -0.02em;
}

/* la palabra acento con el degradado coral del logo */
.hero h1 .white-text {
  font-style: normal;
  background: var(--coral);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* wordmark con degradado coral, idéntico al logo de la app */
.brand .name,
.nav.scrolled .brand .name,
.nav.over .brand .name {
  background: var(--coral);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}

/* ============================================================
   FUNCIONES Y CARACTERÍSTICAS — glass blanco, máximo contraste
   ============================================================ */
.how-step {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 26px;
  padding: 26px 30px;
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 14px 44px -20px rgba(0, 0, 0, 0.55);
  margin-bottom: 18px;
}

.how-step h3 {
  color: #fff;
}

.how-step-body p {
  color: rgba(255, 255, 255, 0.85);
}

.how-step-num {
  color: rgba(255, 255, 255, 0.9);
}

.how-step-label {
  color: rgba(255, 255, 255, 0.75);
}

.fitem2 {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  margin-bottom: 10px;
}

.fitem2:hover {
  background: rgba(255, 255, 255, 0.15);
}

.fitem2.active {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 10px 34px -16px rgba(0, 0, 0, 0.5);
}

.fitem2 h3 {
  color: #fff;
}

.fitem2 p {
  color: rgba(255, 255, 255, 0.88);
}

/* ============================================================
   ACENTO SECUNDARIO — de coral a blanco
   ============================================================ */
.eyebrow {
  color: rgba(255, 255, 255, 0.92);
}

.eyebrow .gdot {
  background: #fff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.fitem2 .fprog {
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.55));
}

.save-note {
  color: rgba(255, 255, 255, 0.85);
}

/* ============================================================
   MONOCROMO — fuera el coral: blanco sobre los colores del vídeo
   ============================================================ */
/* wordmark como en la app: Fredoka 700 blanco, sin icono ni degradado */
.brand .name,
.nav.scrolled .brand .name,
.nav.over .brand .name {
  background: none;
  -webkit-text-fill-color: #fff;
  color: #fff;
  filter: none;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* "historias" en blanco, sin degradado */
.hero h1 .white-text {
  background: none;
  -webkit-text-fill-color: #fff;
  color: #fff;
}

.hero-badge-dot {
  background: #fff;
}

/* botones y acentos: blanco */
.btn-coral {
  background: #fff;
  color: #0c0b14;
  box-shadow: 0 8px 22px -10px rgba(0, 0, 0, 0.6);
}

.btn-coral:hover {
  background: #ece9f3;
}

.plan .tag {
  background: #fff;
  color: #0c0b14;
}

.plan li .tick {
  color: #fff;
}

.plan.feat::before {
  background: conic-gradient(from var(--angle),
      rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.15),
      rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.15),
      rgba(255, 255, 255, 0.85));
}

.scroll-progress {
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.7));
}

.how-step-icon {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

::selection {
  background: rgba(255, 255, 255, 0.25);
}

/* ============================================================
   AJUSTES DE RITMO — hero más aireado, nav equilibrado
   ============================================================ */
/* más aire entre el titular y el formulario de correo */
.hero>.wrap.hero-wrap {
  gap: clamp(56px, 9vw, 120px);
}

/* nav: los apartados se reparten con espacio uniforme */
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.nav-links {
  flex: 1;
  justify-content: space-evenly;
  gap: 0;
}

/* ============================================================
   NAV v2 — logo y CTA sueltos; solo los links en píldora glass
   (bloque autoritativo: anula la cascada previa del nav)
   ============================================================ */
.nav-inner {
  width: 100%;
  max-width: var(--maxw-wide);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  margin: 16px 24px;
  padding: 0;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  border-radius: 0;
  transition: margin 0.5s var(--ease);
}

/* el cristal vive ahora en la píldora central de links */
.nav-inner::before,
.nav-inner::after {
  content: none !important;
}

.nav.scrolled .nav-inner {
  margin: 10px 24px;
}

.brand {
  justify-self: start;
}

.nav-pill {
  justify-self: center;
}

.nav-cta {
  justify-self: end;
}

.nav-pill {
  position: relative;
  display: flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  box-shadow: 0 8px 32px -12px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition: background 0.5s, box-shadow 0.5s, border-color 0.5s;
}

/* borde de cristal líquido en la píldora */
.nav-pill::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.18) 22%,
      rgba(255, 255, 255, 0.04) 45%, rgba(255, 255, 255, 0.04) 55%,
      rgba(255, 255, 255, 0.18) 78%, rgba(255, 255, 255, 0.6) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.nav-links {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* al bajar, la píldora se vuelve liquid glass de verdad: translúcida,
   con fuerte blur+saturación (el contenido se "moja" al pasar detrás)
   y brillo especular más vivo */
.nav.scrolled .nav-pill {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03) 55%, rgba(255, 255, 255, 0.07)),
    rgba(14, 12, 24, 0.26);
  border-color: rgba(255, 255, 255, 0.30);
  -webkit-backdrop-filter: blur(34px) saturate(200%);
  backdrop-filter: blur(34px) saturate(200%);
  box-shadow:
    0 14px 44px -16px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

/* el botón de idioma y el CTA acompañan con el mismo cristal */
.nav.scrolled .lang-btn {
  background: rgba(255, 255, 255, 0.10);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* logo y CTA siempre legibles sobre el vídeo */
.nav .brand .name,
.nav.scrolled .brand .name,
.nav.over .brand .name {
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* ============================================================
   CÓMO FUNCIONA v2 — 3 tarjetas glass limpias
   ============================================================ */
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 56px;
}

.how-card {
  display: flex;
  flex-direction: column;
  border-radius: 26px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 20px 50px -28px rgba(0, 0, 0, 0.7);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s;
}

.how-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 30px 70px -30px rgba(0, 0, 0, 0.8);
}

.how-card-media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #0b0a12;
}

.how-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  transition: transform 0.7s var(--ease);
}

.how-card:hover .how-card-media img {
  transform: scale(1.05);
}

/* degradado para fundir la imagen con el cuerpo */
.how-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(11, 10, 18, 0.85) 100%);
  pointer-events: none;
}

.how-card-step {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  padding: 0 6px;
  border-radius: 12px;
  font-family: var(--brand);
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.how-card-body {
  padding: 24px 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.how-card-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--brand);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
}

.how-card-body h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #fff;
}

.how-card-body p {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 940px) {
  .how-steps {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* en móvil no hay sitio para la píldora de links */
@media (max-width: 940px) {
  .nav-pill {
    display: none;
  }

  .nav-inner {
    margin: 12px 16px;
  }
}

/* ============================================================
   CÓMO FUNCIONA v3 — cascada de filas alternas (zigzag)
   ============================================================ */
.how-flow {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 7vw, 96px);
  margin-top: 72px;
}

.how-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
}

.how-row.reverse .how-row-text {
  order: 2;
}

.how-row-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 clamp(0px, 2vw, 28px);
}

.how-row-step {
  display: flex;
  align-items: center;
  gap: 16px;
}

.how-row-num {
  font-family: var(--brand);
  font-weight: 700;
  font-size: clamp(58px, 7.5vw, 96px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ff9f63 0%, #f0584f 48%, #e23b4e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 0;
  filter: drop-shadow(0 6px 22px rgba(226, 59, 78, 0.28));
}

.how-row-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  font-family: var(--brand);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.how-row-text h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: #fff;
}

.how-row-text p {
  font-size: clamp(15px, 1.5vw, 17.5px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  max-width: 40ch;
}

.how-row-media {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 30px 70px -30px rgba(0, 0, 0, 0.8);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
  will-change: transform;
}

.how-row-media:hover {
  transform: translateY(-6px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 40px 90px -34px rgba(0, 0, 0, 0.85);
}

.how-row-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  display: block;
  transition: transform 0.8s var(--ease);
}

.how-row-media:hover img {
  transform: scale(1.04);
}

/* entrada en cascada: las filas suben y enfocan al revelarse */
.js-anim .how-row {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(6px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease);
}

.js-anim .how-row.in {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

@media (max-width: 760px) {
  .how-row,
  .how-row.reverse {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .how-row.reverse .how-row-text {
    order: 0;
  }

  .how-row-media {
    order: -1;
  }
}

/* ============================================================
   NAV v3 — más gordita + fix del encogimiento al hacer scroll
   ============================================================ */
/* el inner mantiene su ancho al hacer scroll (antes se encogía a 780px
   y apretaba logo + CTA contra la píldora) */
.nav-inner,
.nav.scrolled .nav-inner {
  max-width: var(--maxw-wide) !important;
}

/* píldora más gruesa, con más aire */
.nav-pill {
  padding: 11px 14px;
}

.nav-links {
  gap: 6px;
}

.nav-links a {
  padding: 11px 20px;
  font-size: 14px;
}

/* logo y CTA un punto más grandes para acompañar */
.brand .name {
  font-size: 24px;
}

.nav .btn.btn-dark {
  padding: 12px 22px;
  font-size: 14.5px;
}

.lang-btn {
  padding: 11px 14px;
}

/* glass de la píldora al hacer scroll: liquid glass translúcido,
   el contenido se adivina detrás gracias al blur fuerte */
.nav.scrolled .nav-pill {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03) 55%, rgba(255, 255, 255, 0.07)),
    rgba(14, 12, 24, 0.30) !important;
  border-color: rgba(255, 255, 255, 0.30);
}

/* ============================================================
   CÓMO FUNCIONA — más separación entre filas
   ============================================================ */
.how {
  padding: 150px 0 110px;
}

.how-flow {
  gap: clamp(72px, 11vw, 160px);
  margin-top: 88px;
}

/* ============================================================
   NAV v4 — píldora gordita con iconos + animaciones (estilo app)
   ============================================================ */
.nav-pill {
  padding: 8px;
  gap: 0;
  transition: transform 0.45s var(--ease), background 0.5s, box-shadow 0.5s, border-color 0.5s;
}

/* la píldora "respira" al pasar el cursor, como en la app */
.nav-pill:hover {
  transform: scale(1.04);
  box-shadow: 0 14px 40px -14px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.nav-links {
  gap: 4px;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  border-radius: 100px;
  transition: color 0.3s, background 0.35s var(--ease), transform 0.3s var(--ease);
}

.nav-links a svg {
  width: 17px;
  height: 17px;
  opacity: 0.7;
  transition: opacity 0.3s, transform 0.4s var(--ease);
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  transform: none;
}

.nav-links a:hover svg {
  opacity: 1;
  transform: scale(1.12) rotate(-3deg);
}

/* apartado activo: realce de cristal con icono al 100% */
.nav-links a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 4px 14px -6px rgba(0, 0, 0, 0.5);
}

.nav-links a.active svg {
  opacity: 1;
}

/* en reposo (sin sección activa) el primero se insinúa al cargar */
@keyframes pillPop {
  0% {
    transform: scale(0.9);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.nav-links li {
  animation: pillPop 0.5s var(--ease) backwards;
}

.nav-links li:nth-child(1) {
  animation-delay: 0.35s;
}

.nav-links li:nth-child(2) {
  animation-delay: 0.43s;
}

.nav-links li:nth-child(3) {
  animation-delay: 0.51s;
}

.nav-links li:nth-child(4) {
  animation-delay: 0.59s;
}

/* ============================================================
   CTA inferior — mismo formulario en píldora que el hero
   ============================================================ */
.cta .waitlist {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  max-width: 460px;
  margin: 26px auto 0;
  padding: 8px 8px 8px 24px;
  border-radius: 999px;
}

.cta .waitlist input[type="email"] {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 15.5px;
  padding: 10px 0;
}

.cta .waitlist input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.cta .waitlist .btn-go {
  flex-shrink: 0;
}

.cta .waitlist.done {
  justify-content: center;
  padding: 16px 24px;
  color: #fff;
  font-weight: 600;
}

/* ============================================================
   NAV — encoge suave al hacer scroll
   ============================================================ */
.nav-inner {
  transition: margin 0.45s var(--ease);
}

.nav.scrolled .nav-inner {
  margin-top: 8px;
  margin-bottom: 8px;
}

/* la píldora y sus links se compactan */
.nav.scrolled .nav-pill {
  padding: 4px;
}

.nav.scrolled .nav-links a {
  padding: 8px 15px !important;
  font-size: 13px !important;
}

.nav.scrolled .nav-links a svg {
  width: 15px !important;
  height: 15px !important;
}

.nav.scrolled .brand .name {
  font-size: 20px !important;
}

.nav.scrolled .btn.btn-dark {
  padding: 9px 18px !important;
  font-size: 13.5px !important;
}

.nav.scrolled .lang-btn {
  padding: 9px 12px !important;
}

/* transiciones suaves en cada pieza que cambia de tamaño */
.brand .name {
  transition: font-size 0.45s var(--ease), color 0.4s, text-shadow 0.4s;
}

.nav .btn.btn-dark,
.lang-btn {
  transition: padding 0.45s var(--ease), font-size 0.45s var(--ease), background 0.3s, transform 0.3s var(--ease);
}

.nav-links a svg {
  transition: width 0.45s var(--ease), height 0.45s var(--ease), opacity 0.3s, transform 0.4s var(--ease);
}

.nav-links a {
  transition: color 0.3s, background 0.35s var(--ease), padding 0.45s var(--ease), font-size 0.45s var(--ease);
}

/* ============================================================
   LIGHTBOX — ver capturas en grande (no pantalla completa)
   ============================================================ */
.zoomable {
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5vh 5vw;
  background: rgba(6, 5, 11, 0.72);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-img {
  max-width: min(1100px, 90vw);
  max-height: 86vh;
  width: auto;
  height: auto;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: scale(0.92);
  transition: transform 0.45s var(--ease);
  object-fit: contain;
}

.lightbox.open .lightbox-img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 26px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s var(--ease);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: rotate(90deg);
}

/* ============================================================
   PÁGINAS SECUNDARIAS — prosa legible en tema oscuro
   ============================================================ */
.prose {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 24px 60px -30px rgba(0, 0, 0, 0.7);
}

.prose h2 {
  color: #fff;
}

.prose p,
.prose li {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
}

.prose strong {
  color: #fff;
}

.prose a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose ul li::marker {
  color: rgba(255, 255, 255, 0.5);
}

.page-head .page-lede {
  color: rgba(255, 255, 255, 0.75);
}

/* ============================================================
   SELECTOR DE AMBIENTE — flecha de cristal en el lado izquierdo;
   al abrirla se despliegan los fondos (como el carrusel de la app)
   ============================================================ */
.atmos-dock {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* la flecha: botón circular glass, como las flechas del catálogo */
.atmos-toggle {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03) 60%),
    rgba(13, 11, 22, 0.38);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow:
    0 12px 30px -12px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition: transform 0.4s var(--ease), background 0.35s, box-shadow 0.35s;
}

.atmos-toggle:hover {
  transform: scale(1.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05) 60%),
    rgba(13, 11, 22, 0.42);
}

.atmos-toggle svg {
  transition: transform 0.45s var(--ease);
}

.atmos-dock.open .atmos-toggle svg {
  transform: rotate(180deg);
}

/* el panel con los fondos: columna de cristal que se despliega */
.atmos-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 9px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.03) 55%, rgba(255, 255, 255, 0.06)),
    rgba(13, 11, 22, 0.32);
  -webkit-backdrop-filter: blur(26px) saturate(185%);
  backdrop-filter: blur(26px) saturate(185%);
  border: 1px solid rgba(255, 255, 255, 0.20);
  box-shadow:
    0 18px 46px -18px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
  /* cerrado: invisible y recogido hacia la flecha */
  opacity: 0;
  visibility: hidden;
  transform: translateX(-14px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.45s var(--ease), visibility 0s linear 0.45s;
}

.atmos-dock.open .atmos-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
  pointer-events: auto;
  transition: opacity 0.4s var(--ease), transform 0.45s var(--ease), visibility 0s;
}

.atmos-opt {
  position: relative;
  width: 116px;
  height: 64px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  background-size: cover;
  background-position: center;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  opacity: 0.78;
  transform: translateX(-8px);
  transition: transform 0.45s var(--ease), opacity 0.35s, border-color 0.35s, box-shadow 0.35s;
}

/* entrada escalonada de las miniaturas, a lo Apple */
.atmos-dock.open .atmos-opt {
  transform: translateX(0);
}

.atmos-dock.open .atmos-opt:nth-child(1) { transition-delay: 0.04s; }
.atmos-dock.open .atmos-opt:nth-child(2) { transition-delay: 0.10s; }
.atmos-dock.open .atmos-opt:nth-child(3) { transition-delay: 0.16s; }

.atmos-opt span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 6px 5px;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
  pointer-events: none;
}

.atmos-opt:hover {
  transform: translateX(0) scale(1.05);
  opacity: 1;
  transition-delay: 0s;
}

.atmos-opt.active {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.65), 0 12px 26px -12px rgba(0, 0, 0, 0.65);
}

@media (max-width: 720px) {
  .atmos-dock { left: 10px; gap: 9px; }
  .atmos-toggle { width: 40px; height: 40px; }
  .atmos-opt { width: 92px; height: 52px; border-radius: 10px; }
  .atmos-opt span { font-size: 9.5px; }
}

/* ============================================================
   PÁGINAS INTERIORES — editorial estilo Anthropic
   (Sobre nosotros / Noticias): tipografía serif grande, secciones
   planas con divisores finos, etiqueta lateral y listas numeradas
   ============================================================ */
.page-co .wrap {
  max-width: 1020px;
}

.co-hero {
  padding: 24px 0 56px;
  border-bottom: 1px solid var(--line);
}

.co-hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(38px, 5.4vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.022em;
  margin: 16px 0 18px;
  max-width: 20ch;
}

.co-lede {
  color: var(--ink-2);
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.55;
  max-width: 58ch;
}

/* sección editorial: etiqueta a la izquierda, contenido a la derecha */
.co-section {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px 56px;
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}

.co-label {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-3);
  padding-top: 6px;
}

.co-statement {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 18px;
}

.co-statement-sm {
  font-size: clamp(21px, 2.4vw, 27px);
}

.co-body {
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.7;
  max-width: 64ch;
}

.co-body+.co-body {
  margin-top: 12px;
}

.co-mt {
  margin-top: 28px;
}

.co-body strong {
  color: var(--ink);
  font-weight: 600;
}

.co-body a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.co-body a:hover {
  color: var(--coral-1);
}

.co-grid {
  display: grid;
  gap: 36px 44px;
}

.co-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.co-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.co-cell h3 {
  font-family: var(--sans);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.co-cell p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.65;
}

.co-cell p+p {
  margin-top: 8px;
}

.co-mail {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.co-mail:hover {
  color: var(--coral-1);
}

/* principios numerados 01–04, con divisores finos entre filas */
.co-values {
  list-style: none;
  padding: 0;
  margin: 0;
}

.co-values li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.co-values li:first-child {
  border-top: none;
  padding-top: 0;
}

.co-values .num {
  font-size: 13px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
  padding-top: 3px;
}

.co-values h3 {
  font-family: var(--sans);
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 5px;
}

.co-values p {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 60ch;
}

.page-co .page-cta {
  margin-top: 48px;
}

/* ---------- Noticias (estilo newsroom) ---------- */
.news-featured {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 44px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}

.news-featured-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: contain;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 14px;
}

.news-cat {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--coral-1);
  background: var(--coral-soft);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.news-featured h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.018em;
  margin-bottom: 12px;
}

.news-featured p {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 16px;
}

.news-more {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.news-featured:hover h2 {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.news-featured:hover .news-more {
  color: var(--coral-1);
}

/* filas de la lista: fecha · categoría · titular */
.news-row {
  display: grid;
  grid-template-columns: 110px 110px minmax(0, 1fr);
  gap: 24px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}

.news-row time {
  font-size: 13px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}

.news-row .news-cat {
  justify-self: start;
}

.news-row h3 {
  font-family: var(--sans);
  font-size: 16.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.news-row:hover h3 {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

/* rejilla de tarjetas de noticias con imagen (estilo openai.com) */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px 18px;
  margin-top: 36px;
}

.news-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.news-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: contain;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 14px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.news-card:hover img {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.news-card .news-meta {
  margin-bottom: 8px;
}

.news-card h3 {
  font-family: var(--sans);
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.news-card:hover h3 {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

@media (max-width: 860px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

.news-note {
  padding: 30px 0 0;
  font-size: 14px;
  color: var(--ink-3);
}

.news-note a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.news-note a:hover {
  color: var(--coral-1);
}

@media (max-width: 860px) {
  .co-section {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 40px 0;
  }

  .co-grid-2,
  .co-grid-3 {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .news-featured {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 36px 0;
  }

  .news-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px 0;
  }
}

/* ---------- fondo de vídeo en páginas interiores ----------
   mismo .hero-bg fijo que la home; el velo deja VER el vídeo
   (tinte más ligero) con un blur mínimo que pule la compresión
   sin esconder el movimiento */
.page-veil-static {
  opacity: 1;
  background-color: rgba(7, 6, 12, 0.78);
  -webkit-backdrop-filter: blur(6px) saturate(115%);
  backdrop-filter: blur(6px) saturate(115%);
}

/* variante clara (noticias): el vídeo del fondo se ve con nitidez,
   solo un tinte ligero para mantener el texto legible */
.page-veil-static.page-veil-clear {
  background-color: rgba(7, 6, 12, 0.60);
  -webkit-backdrop-filter: blur(2px) saturate(112%);
  backdrop-filter: blur(2px) saturate(112%);
}

/* variante para Noticias: el vídeo original se ve nítido y claro —
   sin blur y con un tinte mucho más ligero, solo un degradado que
   protege la legibilidad del texto */
.page-veil-clear {
  background-color: transparent;
  background-image: linear-gradient(180deg,
      rgba(7, 6, 12, 0.72) 0%,
      rgba(7, 6, 12, 0.60) 40%,
      rgba(7, 6, 12, 0.55) 100%);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* los botones dentro del cuerpo de artículo/CTA no heredan el estilo
   de enlace subrayado: texto oscuro legible sobre el botón blanco */
.art-body a.btn,
.art-cta a.btn,
.co-body a.btn {
  color: #0c0b14;
  text-decoration: none;
}

.art-body a.btn:hover,
.art-cta a.btn:hover,
.co-body a.btn:hover {
  color: #0c0b14;
}

/* ---------- documentos legales (estilo Anthropic) ----------
   columna única centrada, secciones numeradas separadas por
   divisores finos, tipografía generosa para texto denso */
.page-legal .wrap {
  max-width: 800px;
}

.legal-date {
  color: var(--ink-3);
  font-size: 14px;
  margin-top: 14px;
}

.legal-doc section {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.legal-doc section:last-of-type {
  border-bottom: none;
}

.legal-doc h2 {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.legal-doc p,
.legal-doc li {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.75;
}

.legal-doc p+p {
  margin-top: 12px;
}

.legal-doc ul {
  padding-left: 20px;
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.legal-doc strong {
  color: var(--ink);
  font-weight: 600;
}

.legal-doc a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.legal-doc a:hover {
  color: var(--coral-1);
}

.legal-muted {
  font-size: 13px;
  color: var(--ink-3);
}

/* ---------- centro de ayuda (estilo support.claude.com) ---------- */
.sup-hero {
  text-align: center;
  padding: 28px 0 52px;
}

.sup-hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 16px 0 14px;
}

.sup-hero p {
  color: var(--ink-2);
  font-size: clamp(15px, 1.6vw, 17px);
  max-width: 52ch;
  margin: 0 auto;
}

.sup-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.sup-card {
  display: block;
  padding: 24px 22px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.sup-card:hover {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.sup-card .fic {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--coral-soft);
  color: var(--coral-2);
  margin-bottom: 14px;
}

.sup-card h3 {
  font-family: var(--sans);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.sup-card p {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.55;
}

.sup-contact {
  margin-top: 44px;
  padding: 40px 28px;
  text-align: center;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
}

.sup-contact h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(21px, 2.6vw, 28px);
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}

.sup-contact p {
  color: var(--ink-2);
  font-size: 14.5px;
  margin-bottom: 22px;
}

@media (max-width: 860px) {
  .sup-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- artículo de noticias ---------- */
.page-art .wrap {
  max-width: 860px;
}

.art-back {
  display: inline-block;
  font-size: 13.5px;
  color: var(--ink-3);
  text-decoration: none;
  margin-bottom: 28px;
}

.art-back:hover {
  color: var(--ink);
}

.art-head {
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 38px;
}

.art-head .news-meta {
  margin-bottom: 16px;
}

.art-head h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  max-width: 24ch;
}

.art-lede {
  margin-top: 16px;
  color: var(--ink-2);
  font-size: clamp(16px, 1.8vw, 18.5px);
  line-height: 1.55;
  max-width: 58ch;
}

.art-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: contain;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  margin-bottom: 38px;
}

.art-body {
  max-width: 700px;
}

.art-body p {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 18px;
}

.art-body h2 {
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 32px 0 10px;
}

.art-body ul {
  padding-left: 20px;
  margin-bottom: 18px;
  display: grid;
  gap: 8px;
}

.art-body li {
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.7;
}

.art-body strong {
  color: var(--ink);
  font-weight: 600;
}

.art-body a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.art-body a:hover {
  color: var(--coral-1);
}

.art-cta {
  margin-top: 44px;
  padding: 30px 32px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.art-cta p {
  color: var(--ink-2);
  font-size: 14.5px;
  max-width: 46ch;
}

.art-cta h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 21px;
  margin-bottom: 4px;
  color: var(--ink);
}

/* ---------- centro de ayuda v2: buscador + FAQ ---------- */
.sup-search {
  position: relative;
  max-width: 680px;
  margin: 30px auto 0;
}

.sup-search svg {
  position: absolute;
  left: 19px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-3);
  pointer-events: none;
}

.sup-search input {
  width: 100%;
  padding: 19px 24px 19px 52px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.sup-search input::placeholder {
  color: var(--ink-3);
}

.sup-search input:focus {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.095);
}

.sup-section-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-3);
  margin: 46px 0 16px;
}

.sup-grid .sup-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.sup-grid .sup-card .fic {
  margin-bottom: 0;
  flex-shrink: 0;
}

.sup-empty {
  text-align: center;
  color: var(--ink-3);
  font-size: 14px;
  padding: 34px 0;
}

.sup-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 2px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink-2);
  font-size: 15px;
  transition: color 0.18s var(--ease);
}

.sup-q::after {
  content: "→";
  color: var(--ink-3);
  flex-shrink: 0;
}

.sup-q:hover {
  color: var(--ink);
}

/* temas populares: enlaces rápidos en píldora bajo el buscador (Netflix) */
.sup-pop {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.sup-pop-label {
  align-self: center;
  font-size: 13px;
  color: var(--ink-3);
  margin-right: 4px;
}

.sup-pop-left {
  justify-content: flex-start;
  margin-top: 6px;
}

/* cuerpo de respuesta en las páginas de tema del centro de ayuda */
.help-a {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.75;
}

.help-a strong {
  color: var(--ink);
  font-weight: 600;
}

.sup-pill {
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--ink-2);
  font-size: 13.5px;
  text-decoration: none;
  transition: background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.sup-pill:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--ink);
}

/* mosaico visual de temas: tarjetas aireadas con icono y descripción */
.sup-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 14px 0 10px;
}

.sup-tile {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 22px 22px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: transform 0.22s var(--ease), background 0.22s var(--ease), border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.sup-tile:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.085);
  border-color: rgba(255, 255, 255, 0.20);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.55);
}

.sup-tile .fic {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--coral-soft);
  color: var(--coral-2);
}

.sup-tile h3 {
  font-family: var(--sans);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.sup-tile p {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.55;
  flex: 1;
}

.sup-tile .go {
  font-size: 13px;
  color: var(--ink-3);
  transition: color 0.18s var(--ease), transform 0.18s var(--ease);
}

.sup-tile:hover .go {
  color: var(--ink);
  transform: translateX(3px);
}

/* resultados del buscador: lista limpia que sustituye al mosaico */
.sup-results {
  display: none;
  margin-top: 10px;
}

.sup-results a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 2px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink-2);
  font-size: 15px;
}

.sup-results a::after {
  content: "→";
  color: var(--ink-3);
  flex-shrink: 0;
}

.sup-results a:hover {
  color: var(--ink);
}

@media (max-width: 1000px) {
  .sup-tiles {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .sup-tiles {
    grid-template-columns: 1fr;
  }
}

/* categorías en columnas de enlaces simples (estilo help.netflix.com) */
#supExplore {
  margin-top: 64px;
}

.sup-cats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 38px 32px;
  margin: 14px 0 10px;
}

.sup-cat-t {
  color: inherit;
  text-decoration: none;
}

.sup-cat-t:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.sup-cat h3 {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin-bottom: 12px;
}

.sup-cat a {
  display: block;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink-2);
  text-decoration: none;
  padding: 5px 0;
}

.sup-cat a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

/* botones de la banda de contacto (dos opciones, estilo Netflix) */
.sup-cbtns {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.34);
}

@media (max-width: 900px) {
  .sup-cats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .sup-cats {
    grid-template-columns: 1fr;
  }
}

/* filas de temas, limpias y sin tarjetas (estilo help center) */
.sup-rows {
  border-top: 1px solid var(--line-2);
}

.sup-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: background 0.18s var(--ease);
}

.sup-row:hover {
  background: rgba(255, 255, 255, 0.035);
}

.sup-row .fic {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--coral-soft);
  color: var(--coral-2);
  flex-shrink: 0;
}

.sup-row-txt h3 {
  font-family: var(--sans);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.sup-row-txt p {
  font-size: 13.5px;
  color: var(--ink-2);
  margin-top: 2px;
  line-height: 1.5;
}

.sup-row .chev {
  margin-left: auto;
  color: var(--ink-3);
  flex-shrink: 0;
  transition: transform 0.18s var(--ease), color 0.18s var(--ease);
}

.sup-row:hover .chev {
  color: var(--ink);
  transform: translateX(3px);
}

/* acordeón de respuestas dentro del centro de ayuda */
.sup-group {
  margin-top: 40px;
  scroll-margin-top: 90px;
}

.sup-group>h2 {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin-bottom: 6px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-2);
}

.sup-acc {
  border-bottom: 1px solid var(--line);
}

.sup-acc summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 2px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.18s var(--ease);
}

.sup-acc summary::-webkit-details-marker {
  display: none;
}

.sup-acc summary::after {
  content: "+";
  font-size: 18px;
  color: var(--ink-3);
  flex-shrink: 0;
  transition: transform 0.2s var(--ease);
}

.sup-acc[open] summary::after {
  transform: rotate(45deg);
}

.sup-acc summary:hover,
.sup-acc[open] summary {
  color: var(--ink);
}

.sup-acc .sup-a {
  padding: 0 2px 18px;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.7;
  max-width: 70ch;
}

.sup-acc .sup-a a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.sup-acc .sup-a a:hover {
  color: var(--coral-1);
}

/* ===== Mostrar las capturas ENTERAS (sin recorte) ===== */
.how-row-media { aspect-ratio: 16 / 8.6 !important; background: rgba(255,255,255,0.04) !important; }
.how-row-media img { object-fit: contain !important; object-position: center !important; }
.fshot { background: rgba(255,255,255,0.04) !important; }
.fshot img { object-fit: contain !important; object-position: center !important; }

/* ===== Showcase comics / manga ===== */
.showcase { padding: clamp(60px,9vw,120px) 0; }
.showcase .sec-head { max-width: 740px; margin: 0 auto clamp(30px,5vw,54px); text-align: center; }
.showcase .sec-head h2 { font-family: var(--display); font-size: clamp(28px,5vw,46px); color: var(--ink); margin: 14px 0 12px; letter-spacing:-.02em; line-height:1.05; }
.showcase .sec-sub { color: var(--ink-2); font-size: clamp(15px,1.6vw,17px); line-height:1.6; }
.showcase-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: clamp(16px,2vw,26px); max-width:760px; margin:0 auto; align-items:start; }
.showcase-card { margin:0; border-radius:18px; overflow:hidden; border:1px solid var(--glass-line); background: rgba(255,255,255,.04); box-shadow: var(--shadow-md), var(--glass-hi); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.showcase-card img { width:100%; height:auto; display:block; }
.showcase-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg), var(--glass-hi); }
@media (max-width: 760px){ .showcase-grid{ grid-template-columns:1fr; max-width:460px; } }

/* ============================================================
   COOKIE CONSENT (banner + panel de preferencias)
   ============================================================ */
.ck-banner{position:fixed;left:50%;bottom:18px;transform:translateX(-50%) translateY(170%);
  width:min(980px,calc(100% - 28px));display:flex;gap:20px 24px;align-items:center;justify-content:space-between;
  flex-wrap:wrap;background:rgba(20,18,30,0.93);backdrop-filter:blur(22px) saturate(160%);
  -webkit-backdrop-filter:blur(22px) saturate(160%);border:1px solid var(--glass-line);
  border-radius:var(--r-md);padding:18px 22px;color:var(--ink);box-shadow:var(--shadow-lg);
  z-index:400;opacity:0;transition:transform .55s var(--ease),opacity .45s}
.ck-banner.show{transform:translateX(-50%) translateY(0);opacity:1}
.ck-text{flex:1 1 430px;min-width:260px;font-family:var(--sans)}
.ck-title{display:block;font-weight:600;font-size:15px;margin-bottom:4px;color:var(--ink)}
.ck-body{margin:0;font-size:13.2px;line-height:1.55;color:var(--ink-2)}
.ck-more{display:inline-block;margin-top:6px;font-size:13px;font-weight:500;color:var(--ink);
  text-decoration:underline;text-underline-offset:2px}
.ck-more:hover{opacity:.8}
.ck-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.ck-btn{font-size:13.5px;padding:10px 18px}
.ck-modal{position:fixed;inset:0;z-index:500;display:flex;align-items:center;justify-content:center;
  padding:20px;background:rgba(5,4,10,0.55);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);
  opacity:0;pointer-events:none;transition:opacity .3s}
.ck-modal.show{opacity:1;pointer-events:auto}
.ck-panel{width:min(560px,100%);max-height:86vh;overflow:auto;background:rgba(18,16,28,0.98);
  border:1px solid var(--glass-line);border-radius:var(--r-lg);padding:28px;color:var(--ink);
  box-shadow:var(--shadow-lg);font-family:var(--sans)}
.ck-panel-title{font-family:var(--brand);font-weight:600;font-size:21px;margin:0 0 18px}
.ck-cat{padding:16px 0;border-top:1px solid var(--line)}
.ck-cat:first-of-type{border-top:none;padding-top:0}
.ck-cat-head{display:flex;align-items:center;justify-content:space-between;gap:16px}
.ck-cat-name{font-weight:600;font-size:14.5px}
.ck-cat-desc{margin:6px 0 0;font-size:12.8px;line-height:1.5;color:var(--ink-2)}
.ck-always{font-size:12px;font-weight:600;color:var(--ink-3);white-space:nowrap}
.ck-switch{position:relative;display:inline-block;width:42px;height:24px;flex:none;cursor:pointer}
.ck-switch input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}
.ck-slider{position:absolute;inset:0;border-radius:100px;background:rgba(255,255,255,0.16);
  border:1px solid var(--glass-line);transition:background .25s}
.ck-slider::before{content:"";position:absolute;top:2px;left:2px;width:18px;height:18px;border-radius:50%;
  background:#fff;transition:transform .25s var(--ease)}
.ck-switch input:checked + .ck-slider{background:linear-gradient(120deg,#e23b4e,#ff9f63);border-color:transparent}
.ck-switch input:checked + .ck-slider::before{transform:translateX(18px)}
.ck-switch input:focus-visible + .ck-slider{outline:2px solid var(--coral-1);outline-offset:2px}
.ck-panel-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:22px;flex-wrap:wrap}
@media (max-width:640px){
  .ck-banner{bottom:10px;padding:16px}
  .ck-actions{width:100%}
  .ck-actions .ck-btn{flex:1 1 auto}
}


/* ============================================================
   LEGAL INDEX (índice compacto al pie de cada página legal)
   ============================================================ */
.legal-index{display:flex;flex-wrap:wrap;gap:8px 10px;justify-content:center;
  max-width:780px;margin:48px auto 0;padding-top:30px;border-top:1px solid var(--line)}
.legal-index a{font-family:var(--sans);font-size:13px;font-weight:500;color:var(--ink-2);
  padding:7px 14px;border:1px solid var(--glass-line);border-radius:100px;background:var(--glass);
  text-decoration:none;transition:color .2s,background .2s,border-color .2s}
.legal-index a:hover{color:var(--ink);background:var(--glass-strong);border-color:var(--line-2)}
