/* =========================================================
   Voxa · De voz a prompt — réplica fiel de "lemon"
   Secciones: tokens · base · header · hero (paisaje, lazo, loma, mock)
   · logos · cómo funciona · demo con tabs · dictado · nos quieren
   · CTA · footer · reveals · responsive · reduced motion
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* paleta */
  --cream: #f7f5ee;
  --white: #ffffff;
  --ink: #111110;
  --ink-2: #4a4a46;
  --ink-3: #8a8a84;
  --line: rgba(17, 17, 16, 0.08);
  --lavender: #d7cbe6;
  --lavender-2: #b9b0d2;
  --lime: #cfe3a4;
  --lime-2: #c6dd8e;
  --lime-3: #dfe58f;
  --lime-dot: #b9d95a;
  --sun: #f7e88f;
  --dark: #1b1b19;
  --dark-2: #262624;
  --orange: #e07a4f;

  /* tipografía */
  --font-serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --font-sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --fs-hero: clamp(2.6rem, 4.45vw, 4rem); /* ≈ 64 px a 1440 */
  --fs-h2: clamp(2rem, 3.1vw, 2.75rem); /* ≈ 44 px */
  --fs-h2-demo: clamp(1.75rem, 2.4vw, 2.25rem); /* ≈ 34 px */
  --fs-lead: 1.0625rem; /* 17 px */
  --fs-body: 0.9375rem; /* 15 px */
  --fs-small: 0.8125rem; /* 13 px */
  --fs-tiny: 0.6875rem; /* 11 px */

  /* geometría */
  --gutter: 16px;
  --radius-card: 28px;
  --radius-win: 16px;
  --radius-pill: 999px;
  --dome-h: 270px;
  --header-h: 72px;

  /* sombras */
  --shadow-win: 0 30px 60px -20px rgba(30, 26, 40, 0.28), 0 8px 20px -8px rgba(30, 26, 40, 0.14);
  --shadow-pill: 0 14px 30px -10px rgba(0, 0, 0, 0.45);
  --shadow-card: 0 1px 2px rgba(17, 17, 16, 0.04), 0 12px 30px -16px rgba(17, 17, 16, 0.12);

  /* movimiento */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 0.25s;
  --dur-reveal: 0.9s;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1,
h2,
h3,
p,
ul,
figure {
  margin: 0;
}
ul {
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* Tipografía compartida */
h1,
h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.04;
}
h1 em,
h2 em {
  font-style: italic;
}
.overline {
  font-size: var(--fs-tiny);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.lead {
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--ink-2);
}
.meta {
  font-size: var(--fs-tiny);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* Botones píldora */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  border-radius: var(--radius-pill);
  font-weight: 500;
  white-space: nowrap;
  transition: transform 0.4s var(--ease-out), background-color var(--dur-fast) ease;
}
.btn-dark {
  background: var(--ink);
  color: var(--white);
}
.btn-dark:hover {
  background: #2a2a28;
  transform: translateY(-1px);
}
.btn-sm {
  padding: 0.6rem 1.05rem;
  font-size: var(--fs-small);
}
.btn-lg {
  padding: 0.9rem 1.5rem;
  font-size: var(--fs-body);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 32px;
  background: color-mix(in srgb, var(--cream) 86%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: box-shadow 0.4s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 1px 0 var(--line);
}
.site-header > .btn {
  justify-self: end;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--ink);
  color: var(--lime);
}
.site-nav {
  display: flex;
  gap: 30px;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--ink-2);
}
.site-nav a {
  transition: color var(--dur-fast) ease;
}
.site-nav a:hover {
  color: var(--ink);
}

/* ---------- Hero ---------- */
.hero {
  padding: 0 var(--gutter);
}
.hero-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius-card);
  padding: 92px 24px 48px;
  text-align: center;
  background: var(--lavender);
}

/* Paisaje pastel (compartido con .demo-card y .cta-card) */
.sky {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    180deg,
    var(--lavender) 0%,
    #dbcfe6 28%,
    #e9e3e6 46%,
    #e5ebca 62%,
    var(--lime) 78%,
    #f1f0d6 100%
  );
}
.hill {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  filter: blur(38px);
  pointer-events: none;
}
.hill-far-l {
  left: -12%;
  top: 44%;
  width: 66%;
  height: 40%;
  background: var(--lavender-2);
  opacity: 0.85;
}
.hill-far-r {
  right: -18%;
  top: 48%;
  width: 62%;
  height: 34%;
  background: #c8c0da;
  opacity: 0.8;
}
.hill-mid-l {
  left: -22%;
  top: 60%;
  width: 78%;
  height: 52%;
  background: var(--lime-2);
}
.hill-mid-r {
  right: -24%;
  top: 58%;
  width: 78%;
  height: 54%;
  background: #d9e39c;
}
.hill-near {
  left: -6%;
  top: 76%;
  width: 112%;
  height: 52%;
  background: var(--lime-3);
}
.sun {
  position: absolute;
  z-index: 0;
  right: 10%;
  top: 30%;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 232, 143, 0.95) 0%, rgba(247, 232, 143, 0) 65%);
  pointer-events: none;
}
.halo {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 6%;
  width: 70%;
  height: 46%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 65%);
  pointer-events: none;
}

/* Lazo verde lima (assets/loop.webp) recortado con el filtro SVG */
.loop {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  will-change: transform;
}
.loop img {
  width: 100%;
  height: auto;
  filter: url(#recorte-loop) drop-shadow(0 30px 24px rgba(60, 80, 10, 0.18));
  /* la reflexión del piso queda en la franja inferior de la foto: se funde */
  -webkit-mask-image: linear-gradient(to bottom, #000 68%, transparent 84%);
  mask-image: linear-gradient(to bottom, #000 68%, transparent 84%);
}
.loop-main {
  right: -2%;
  top: 22%;
  width: clamp(260px, 30vw, 440px);
  transform: rotate(-8deg);
}
.loop-small {
  left: -4%;
  top: 46%;
  width: clamp(160px, 17vw, 260px);
  transform: rotate(14deg) scaleX(-1);
  opacity: 0.9;
}
@keyframes loop-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-8deg);
  }
  50% {
    transform: translate3d(0, -14px, 0) rotate(-5deg);
  }
}
@keyframes loop-float-b {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(14deg) scaleX(-1);
  }
  50% {
    transform: translate3d(0, -10px, 0) rotate(17deg) scaleX(-1);
  }
}

/* Texto del hero */
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 760px;
  margin: 0 auto;
}
.hero-content h1 {
  font-size: var(--fs-hero);
  margin-top: 22px;
}
.hero-content .lead {
  max-width: 600px;
  margin: 26px auto 0;
}
.hero-content .btn {
  margin-top: 30px;
}
.hero-content .meta {
  margin-top: 22px;
}

/* Carga del hero: fade-in escalonado [Probable] */
.hero-content > *,
.mock,
.loop {
  animation-fill-mode: both;
}
.hero-content > * {
  animation-name: fade-up;
  animation-duration: 1s;
  animation-timing-function: var(--ease-out);
}
.hero-content > :nth-child(1) { animation-delay: 0.05s; }
.hero-content > :nth-child(2) { animation-delay: 0.12s; }
.hero-content > :nth-child(3) { animation-delay: 0.2s; }
.hero-content > :nth-child(4) { animation-delay: 0.28s; }
.hero-content > :nth-child(5) { animation-delay: 0.34s; }
.mock {
  animation: fade-up 1.1s var(--ease-out) 0.42s both;
}
/* entrada (una vez) + flotación (infinita) encadenadas */
.loop-main {
  animation-name: loop-in, loop-float;
  animation-duration: 1.4s, 8s;
  animation-delay: 0.3s, 1.7s;
  animation-timing-function: var(--ease-out), var(--ease-io);
  animation-iteration-count: 1, infinite;
  animation-fill-mode: both, none;
}
.loop-small {
  animation-name: loop-in-b, loop-float-b;
  animation-duration: 1.4s, 10s;
  animation-delay: 0.5s, 1.9s;
  animation-timing-function: var(--ease-out), var(--ease-io);
  animation-iteration-count: 1, infinite;
  animation-fill-mode: both, none;
}
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes loop-in {
  from {
    opacity: 0;
    transform: translate3d(30px, 20px, 0) rotate(-14deg) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(-8deg) scale(1);
  }
}
@keyframes loop-in-b {
  from {
    opacity: 0;
    transform: translate3d(-30px, 20px, 0) rotate(20deg) scaleX(-1) scale(0.94);
  }
  to {
    opacity: 0.9;
    transform: translate3d(0, 0, 0) rotate(14deg) scaleX(-1) scale(1);
  }
}

/* Gran semicírculo blanco: loma que es contenido de la página */
.dome {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: calc(100% - var(--dome-h));
  width: 150%;
  height: calc(var(--dome-h) * 2);
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 -30px 80px rgba(255, 255, 255, 0.6);
  pointer-events: none;
}

/* Mock: píldora oscura + ventana Asistente */
.mock {
  position: relative;
  z-index: 4;
  width: min(100%, 680px);
  margin: 52px auto 0;
}
.rec-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(100%, 520px);
  margin: 0 auto;
  padding: 9px 12px 9px 10px;
  border-radius: var(--radius-pill);
  background: var(--dark);
  color: #e8e8e4;
  box-shadow: var(--shadow-pill);
  font-size: 0.75rem;
  text-align: left;
}
.rec-logo {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
}
.rec-text {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #cfcfc9;
}
.rec-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
}
.rec-timer {
  font-variant-numeric: tabular-nums;
  color: #9d9d97;
  letter-spacing: 0;
}
.rec-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime-dot);
  animation: blink 1.2s ease-in-out infinite;
}
@keyframes blink {
  50% {
    opacity: 0.25;
  }
}

/* Onda de barras */
.wave {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 14px;
  flex: 0 0 auto;
}
.wave i {
  display: block;
  width: 2px;
  height: 60%;
  border-radius: 1px;
  background: var(--lime);
  animation: wave 1s ease-in-out infinite;
}
.wave i:nth-child(2) { animation-delay: 0.12s; }
.wave i:nth-child(3) { animation-delay: 0.24s; }
.wave i:nth-child(4) { animation-delay: 0.36s; }
.wave i:nth-child(5) { animation-delay: 0.48s; }
@keyframes wave {
  0%,
  100% {
    height: 30%;
  }
  50% {
    height: 100%;
  }
}

/* Ventana estilo app */
.win {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-win);
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-win);
  text-align: left;
  overflow: hidden;
}
.win-hero {
  width: min(100%, 680px);
  min-height: 400px;
  margin: 16px auto 0;
}
.win-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-small);
}
.lights {
  display: inline-flex;
  gap: 6px;
}
.lights i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e5e5e0;
}
.win-title {
  font-weight: 600;
}
.win-action {
  margin-left: auto;
  font-size: var(--fs-tiny);
  color: var(--ink-3);
}
.win-body {
  flex: 1 1 auto;
  padding: 22px 24px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-2);
}
.typed::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  vertical-align: -0.15em;
  background: var(--ink);
  animation: blink 0.9s steps(2, start) infinite;
}
.typed.is-done::after {
  opacity: 0;
  animation: none;
}
.win-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 14px 14px;
  padding: 10px 10px 10px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: var(--fs-small);
  color: var(--ink-3);
}
.win-send {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--orange);
  color: var(--white);
}
.win-send-dark {
  background: var(--ink);
}

/* Fila de logos ficticios */
.logos {
  padding: 40px 24px 8px;
  text-align: center;
}
.logos-label {
  font-size: var(--fs-tiny);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.logos-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px 56px;
  margin-top: 22px;
  color: #a6a6a0;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.06em;
}
.logo-nubaria { font-weight: 500; letter-spacing: -0.02em; font-size: 1.25rem; }
.logo-kestrel { font-family: var(--font-serif); font-weight: 400; font-size: 1.5rem; letter-spacing: 0; }
.logo-tramo { letter-spacing: 0.22em; font-size: 1rem; }
.logo-pilar { font-weight: 600; letter-spacing: -0.03em; font-size: 1.3rem; }
.logo-ondula { font-family: var(--font-serif); font-style: italic; font-size: 1.5rem; letter-spacing: 0; }
.logo-folio { font-weight: 800; letter-spacing: 0.14em; font-size: 1rem; }

/* ---------- Secciones genéricas ---------- */
.section {
  padding: 112px var(--gutter) 0;
}
.section-head {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.section-head h2 {
  font-size: var(--fs-h2);
  margin-top: 18px;
}
.section-head .lead {
  margin-top: 18px;
}

/* ---------- Cómo funciona ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1120px;
  margin: 48px auto 0;
}
.step {
  padding: 24px 24px 28px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}
.step-num {
  font-size: var(--fs-tiny);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.step-art {
  display: grid;
  place-items: center;
  height: 150px;
  margin: 18px 0 20px;
  border-radius: 14px;
  background: linear-gradient(160deg, #ece6f0, #e8efd2);
}
.step h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.step p:last-child {
  margin-top: 8px;
  font-size: var(--fs-small);
  color: var(--ink-2);
}
.step-art-key {
  grid-auto-flow: column;
  gap: 8px;
}
.key {
  display: inline-grid;
  place-items: center;
  height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 3px 0 #d9d9d3, 0 8px 16px -8px rgba(0, 0, 0, 0.25);
  font-size: var(--fs-small);
  font-weight: 600;
}
.key-lg {
  padding: 0 32px;
}
.mini-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 12px;
  border-radius: var(--radius-pill);
  background: var(--dark);
  color: var(--lime);
  font-size: var(--fs-tiny);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: var(--shadow-pill);
}
.mini-card {
  display: grid;
  gap: 8px;
  width: 180px;
  padding: 16px;
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow-win);
}
.mini-card i {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: #e2e2dc;
}
.mini-card i.short {
  width: 55%;
  background: var(--lime);
}

/* ---------- Demo con tabs ---------- */
.tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
.tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.6rem 1.1rem 0.6rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: transparent;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--ink-2);
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.tab:hover {
  background: rgba(17, 17, 16, 0.05);
}
.tab-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink-3);
  transition: background-color var(--dur-fast) ease;
}
.tab[aria-selected="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.tab[aria-selected="true"] .tab-dot {
  background: var(--lime-dot);
}
.demo-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  max-width: 1120px;
  margin: 24px auto 0;
  padding: 56px 32px 64px;
  border-radius: var(--radius-card);
  background: var(--lavender);
  text-align: center;
}
.demo-card .sky {
  background: linear-gradient(180deg, var(--lavender) 0%, #dfd5e7 30%, #e9e6dc 50%, #dfe8bc 72%, #f0eac4 100%);
}
.demo-head {
  position: relative;
  z-index: 2;
  max-width: 620px;
  margin: 0 auto;
}
.demo-head h2 {
  font-size: var(--fs-h2-demo);
  margin-top: 14px;
}
.demo-head .lead {
  font-size: var(--fs-body);
  margin-top: 12px;
}
.demo-panel {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1.25fr);
  align-items: center;
  gap: 0;
  max-width: 900px;
  margin: 56px auto 0;
  transition: opacity var(--dur-fast) ease, transform 0.4s var(--ease-out);
}
.demo-panel.is-switching {
  opacity: 0;
  transform: translateY(8px);
}
.voice-card {
  display: flex;
  flex-direction: column;
  min-height: 190px;
  padding: 14px 16px 14px;
  border-radius: 16px;
  background: var(--dark);
  color: #e8e8e4;
  box-shadow: var(--shadow-pill);
  text-align: left;
}
.voice-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-tiny);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9d9d97;
}
.voice-from {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.voice-from .rec-logo {
  width: 20px;
  height: 20px;
}
.voice-arrow {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--dark-2);
  color: var(--lime);
}
.voice-text {
  flex: 1 1 auto;
  margin: 16px 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #f0f0ec;
}
.voice-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-tiny);
  color: #9d9d97;
}
.link-dot {
  justify-self: center;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lime-dot);
  box-shadow: 0 0 0 6px rgba(185, 217, 90, 0.25);
}
.win-demo {
  min-height: 240px;
}

/* ---------- Dictado ---------- */
.dictation-card {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 32px;
  border-radius: var(--radius-card);
  background: var(--lime);
  background-image: radial-gradient(60% 80% at 100% 100%, rgba(255, 255, 255, 0.45), transparent 70%);
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 48px auto 0;
}
.stats li {
  padding: 26px 24px;
  border-radius: 18px;
  background: var(--ink);
  color: var(--white);
}
.stats strong {
  display: block;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2rem, 3vw, 2.75rem);
  line-height: 1;
  color: var(--lime);
}
.stats span {
  display: block;
  margin-top: 10px;
  font-size: var(--fs-small);
  color: #bdbdb6;
}

/* ---------- Nos quieren ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1120px;
  margin: 48px auto 0;
}
.quote {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  padding: 28px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}
.quote p {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  line-height: 1.3;
}
.quote footer {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--fs-small);
  color: var(--ink-3);
}
.quote footer b {
  display: block;
  font-weight: 600;
  color: var(--ink);
}
.avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--lavender), var(--lime));
  font-size: var(--fs-tiny);
  font-weight: 600;
  color: var(--ink);
}

/* ---------- CTA final ---------- */
.cta-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  max-width: 1120px;
  margin: 0 auto;
  padding: 96px 32px 200px;
  border-radius: var(--radius-card);
  background: var(--lavender);
  text-align: center;
  --dome-h: 150px;
}
.cta-content {
  position: relative;
  z-index: 3;
  max-width: 640px;
  margin: 0 auto;
}
.cta-content h2 {
  font-size: var(--fs-h2);
  margin-top: 18px;
}
.cta-content .btn {
  margin-top: 30px;
}
.cta-content .meta {
  margin-top: 20px;
}

/* ---------- Footer ---------- */
.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 64px 32px 40px;
  font-size: var(--fs-small);
  color: var(--ink-3);
}
.footer-nav {
  display: flex;
  gap: 24px;
  font-weight: 500;
  color: var(--ink-2);
}
.footer-meta {
  justify-self: end;
}
.coleccion {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Reveals ligados al scroll ---------- */
@supports (animation-timeline: view()) {
  .reveal {
    animation: fade-up var(--dur-reveal) var(--ease-out) both;
    animation-timeline: view();
    animation-range: entry 0% entry 35%;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    padding: 0 20px;
  }
  .site-nav {
    justify-self: center;
    gap: 18px;
  }
  .steps,
  .quotes,
  .stats {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
  .demo-panel {
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: 560px;
  }
  .link-dot {
    display: none;
  }
  .loop-main {
    right: -8%;
    top: 30%;
  }
  .sun {
    width: 280px;
    height: 280px;
  }
}
@media (max-width: 640px) {
  :root {
    --gutter: 10px;
    --dome-h: 130px;
    --header-h: 60px;
  }
  .site-nav {
    display: none;
  }
  .site-header > .btn {
    padding: 0.5rem 0.85rem;
    font-size: var(--fs-tiny);
  }
  .hero-card {
    padding: 56px 18px 32px;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .hero-content .lead {
    font-size: var(--fs-body);
  }
  .loop-main {
    width: 190px;
    right: -16%;
    top: 55%;
  }
  .loop-small {
    width: 110px;
    left: -12%;
    top: 61%;
  }
  .mock {
    margin-top: 40px;
  }
  .rec-pill {
    gap: 8px;
    font-size: 0.6875rem;
  }
  .rec-state {
    display: none;
  }
  .win-hero {
    min-height: 300px;
  }
  .win-body {
    padding: 16px;
    font-size: var(--fs-small);
  }
  .logos-row {
    gap: 12px 26px;
    font-size: 0.9375rem;
  }
  .section {
    padding-top: 72px;
  }
  .demo-card,
  .dictation-card,
  .cta-card {
    padding-left: 18px;
    padding-right: 18px;
  }
  .cta-card {
    padding-top: 64px;
    padding-bottom: 150px;
    --dome-h: 100px;
  }
  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 48px 20px 32px;
  }
  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 18px;
  }
  .footer-meta {
    justify-self: center;
  }
}

/* ---------- Reduced motion: todo visible y quieto ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001s;
    animation-delay: 0s;
    animation-iteration-count: 1;
    transition-duration: 0.001s;
  }
  .loop-main,
  .loop-small,
  .mock,
  .hero-content > *,
  .reveal {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .loop-main {
    transform: rotate(-8deg);
  }
  .loop-small {
    transform: rotate(14deg) scaleX(-1);
    opacity: 0.9;
  }
  .wave i {
    height: 60%;
  }
  .wave i:nth-child(2n) {
    height: 90%;
  }
  .typed::after {
    display: none;
  }
}
