/* ==========================================================================
   Glyde — dictado por voz. Réplica de "Glaido" (build 1: hero medido con cinta
   3D; build 2: secciones de completado). Fondo negro-verdoso, lima como único
   acento, sans grotesk light en el hero y serif display con itálica en el resto.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Paleta */
  --bg: #0b0d09;
  --bg-2: #141a0f;
  --ink: #f2f2ee;
  --ink-soft: #a3a89b;
  --ink-mute: #6f7568;
  --lime: #c9f25a;
  --lime-2: #cdf464;
  --chip: #1c2118;
  --line: rgba(242, 242, 238, 0.1);
  --card: #10140d;
  --card-2: #171c12;
  --white-card: #f7f7f2;

  /* Tipografía */
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;

  /* Escala */
  --fs-hero: clamp(3.5rem, 12.2vh, 7.4rem);
  --fs-s2: clamp(2.6rem, 7.8vh, 4.6rem);
  --fs-h2: clamp(2.4rem, 5.2vw, 4.6rem);
  --fs-body: 0.9375rem;
  --fs-small: 0.75rem;
  --fs-micro: 0.5625rem;

  /* Movimiento */
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 0.6s;

  /* Layout */
  --gutter: 4vw;
  --radius: 10px;
  --radius-lg: 20px;
  --shadow-chip: 0 10px 30px rgba(0, 0, 0, 0.55), 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  color-scheme: dark;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}
h1,
h2,
h3,
p,
ul {
  margin: 0;
}
ul {
  padding: 0;
  list-style: none;
}
.wrap {
  width: min(92vw, 1240px);
  margin-inline: auto;
}
.lime {
  color: var(--lime);
}
.mono {
  font-family: var(--mono);
}

/* Titulares serif (secciones de completado) */
.serif {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--fs-h2);
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.serif em {
  font-style: italic;
}
.center {
  text-align: center;
}
.mono-overline {
  font-family: var(--mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
  text-align: center;
  margin-bottom: 1.4rem;
}
.section-lead {
  color: var(--ink-soft);
  text-align: center;
  max-width: 34rem;
  margin: 1.4rem auto 0;
  font-size: var(--fs-body);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.72em 1.35em;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: transform var(--dur) var(--ease-expo), background var(--dur) var(--ease-expo),
    border-color var(--dur) var(--ease-expo);
  cursor: pointer;
  font-family: inherit;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-outline {
  border-color: rgba(242, 242, 238, 0.22);
  color: var(--ink);
  background: rgba(11, 13, 9, 0.5);
}
.btn-outline:hover {
  border-color: rgba(242, 242, 238, 0.5);
}
.btn-outline.light {
  background: transparent;
}
.btn-lime {
  background: var(--lime);
  color: #0b0d09;
}
.btn-lime:hover {
  background: #d8ff70;
}
.btn-black {
  background: #0b0d09;
  color: var(--lime);
  font-size: 0.75rem;
  padding: 0.9em 1.6em;
}

/* ---------- Marca ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.brand-mark {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--lime);
  color: #0b0d09;
  font-weight: 500;
  font-size: 0.8rem;
  display: grid;
  place-items: center;
  line-height: 1;
}
.brand-mark.small {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  font-size: 0.65rem;
}
.brand-name {
  font-weight: 500;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   Header — fijo, se oculta en los primeros 12 vh de scroll (scrubbed, reversible)
   ========================================================================== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  height: 72px;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  animation: header-hide linear both;
  animation-timeline: scroll(root);
  animation-range: 0 12vh;
}
@keyframes header-hide {
  to {
    transform: translateY(-100%);
    opacity: 0;
  }
}

/* ==========================================================================
   Escenario pinned: 250 vh de recorrido, panel sticky de 100 vh.
   Progreso p = scrollY / 150 vh. Rangos:
     hero texto   opacity 1→0     p 0–0,25  (0–37,5 vh)
     chips        parallax        p 0–0,7   (0–105 vh) expo-out
     pantalla 2   fade-in+subida  p 0,35–0,55 (52–82 vh)
   ========================================================================== */
.stage {
  height: 250vh;
  position: relative;
}
.stage-panel {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: radial-gradient(120% 90% at 70% 40%, var(--bg-2) 0%, var(--bg) 60%);
}
.ribbon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 2;
  pointer-events: none;
}

/* Fallback sin WebGL: la foto en el lugar de la cinta, con glow */
.fallback {
  display: none;
  position: absolute;
  left: 48%;
  top: 18%;
  width: 48%;
  height: 57%;
  z-index: 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  animation: fade-out linear both;
  animation-timeline: scroll(root);
  animation-range: 0 37.5vh;
}
.fallback::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(201, 242, 90, 0.45), transparent 70%);
  z-index: 1;
}
.fallback img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) brightness(0.9);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 50%, #000 30%, transparent 78%);
  mask-image: radial-gradient(70% 60% at 50% 50%, #000 30%, transparent 78%);
}
html.no-webgl .fallback {
  display: block;
}
html.no-webgl .ribbon {
  display: none;
}

/* ---- Hero (pantalla 1) ---- */
.hero {
  position: absolute;
  left: 5vw;
  top: 20vh;
  width: min(46vw, 620px);
  z-index: 5;
  animation: fade-out linear both;
  animation-timeline: scroll(root);
  animation-range: 0 37.5vh;
}
@keyframes fade-out {
  to {
    opacity: 0;
  }
}
.overline {
  font-size: var(--fs-micro);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.hero-title {
  margin-top: 0.9rem;
  font-weight: 300;
  font-size: var(--fs-hero);
  line-height: 0.95;
  letter-spacing: -0.02em;
  display: grid;
}
.hero-lead {
  margin-top: 3vh;
  color: var(--ink-soft);
  font-size: var(--fs-small);
  line-height: 1.55;
}
.hero .btn {
  margin-top: 4.2vh;
}

/* Píldora de estado en (63 %, 77 %) */
.status-pill {
  position: absolute;
  left: 63%;
  top: 77%;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: #ecefe6;
  color: #1b2017;
  font-size: 0.75rem;
  box-shadow: var(--shadow-chip);
  white-space: nowrap;
}
.hero-only {
  animation: fade-out linear both;
  animation-timeline: scroll(root);
  animation-range: 0 37.5vh;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #58c43a;
  box-shadow: 0 0 0 3px rgba(88, 196, 58, 0.2);
  display: inline-block;
}

/* ---- Chips flotantes: parallax por vector propio (scrubbed) + flotación idle ---- */
.chips {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}
.chip-track {
  position: absolute;
  left: var(--x);
  top: var(--y);
  animation: chip-fly var(--ease-expo) both;
  animation-timeline: scroll(root);
  animation-range: 0 105vh;
}
@keyframes chip-fly {
  to {
    translate: var(--dx) var(--dy);
  }
}
.chip {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--chip);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-chip);
  display: grid;
  place-items: center;
  color: #e8ebe1;
  animation: float 6s ease-in-out infinite alternate;
  animation-delay: var(--delay, 0s);
}
.chip svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.glyph {
  font-weight: 500;
  font-size: 1rem;
  font-family: var(--serif);
}
.glyph-m {
  font-family: var(--sans);
  font-weight: 500;
  color: #f1f1f1;
}
@keyframes float {
  from {
    transform: translate(0, 0) rotate(-1deg);
  }
  to {
    transform: translate(1.2vw, -1.4vh) rotate(2deg);
  }
}
/* Posiciones hero → vector hacia pantalla 2 (medido: cubo (49,26)→(30,7); Notion (85,23)→(91,44);
   Teams (95,50)→sale por la derecha; M (55,68)→(25,98); grilla (75,83)→[Probable] baja-derecha) */
.chip-cube {
  --x: 49%;
  --y: 26%;
  --dx: -19vw;
  --dy: -19vh;
  --delay: -1s;
}
.chip-notion {
  --x: 85%;
  --y: 23%;
  --dx: 6vw;
  --dy: 21vh;
  --delay: -3s;
}
.chip-teams {
  --x: 95%;
  --y: 50%;
  --dx: 14vw;
  --dy: 6vh;
  --delay: -2s;
}
.chip-gmail {
  --x: 55%;
  --y: 68%;
  --dx: -30vw;
  --dy: 30vh;
  --delay: -4.5s;
}
.chip-grid {
  --x: 75%;
  --y: 83%;
  --dx: 10vw;
  --dy: 24vh;
  --delay: -0.5s;
}

/* ---- Pantalla 2 ---- */
.screen2 {
  position: absolute;
  inset: 0;
  z-index: 5;
  text-align: center;
  opacity: 0;
  animation: s2-in var(--ease-expo) both;
  animation-timeline: scroll(root);
  animation-range: 52vh 82vh;
  pointer-events: none;
}
@keyframes s2-in {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.screen2-title {
  position: absolute;
  left: 0;
  right: 0;
  top: 21vh;
  font-weight: 300;
  font-size: var(--fs-s2);
  line-height: 1.02;
  letter-spacing: -0.02em;
  display: grid;
}
.result-card {
  position: absolute;
  left: 33%;
  width: 34%;
  top: 44%;
  height: 10%;
  min-height: 56px;
  background: var(--white-card);
  color: #171a14;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0 1.2rem;
  font-size: 0.8125rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}
.result-card .glyph {
  font-size: 1.1rem;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  display: grid;
  place-items: center;
}
.result-text {
  flex: 1;
  text-align: left;
}
.check {
  color: #4a9e2f;
  font-weight: 500;
}
.screen2-sub {
  position: absolute;
  left: 0;
  right: 0;
  top: 57%;
  font-size: 0.6875rem;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}
/* Onda plana DOM (solo reduced-motion / sin WebGL) */
.flat-wave {
  display: none;
  position: absolute;
  left: 37%;
  width: 58%;
  top: 75%;
  height: 8vh;
  align-items: center;
  justify-content: space-between;
  translate: 0 -50%;
}
.flat-wave b {
  width: 5px;
  border-radius: 3px;
  background: var(--lime);
  height: calc(var(--h) * 100%);
  min-height: 3px;
}
.flat-wave b.g {
  background: #8a8f86;
}
html.no-webgl .flat-wave {
  display: flex;
}

/* Pie del escenario */
.stage-foot {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 4vh;
  z-index: 6;
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-micro);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ==========================================================================
   Franja lima
   ========================================================================== */
.lime-band {
  background: var(--lime);
  color: #0b0d09;
  padding: 12vh 0 12vh;
  position: relative;
  z-index: 7;
}
.lime-band .serif {
  max-width: 12ch;
}
.band-lead {
  margin-top: 1.6rem;
  max-width: 34rem;
  color: rgba(11, 13, 9, 0.72);
}
.stats {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.stat {
  background: #0b0d09;
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem 1.6rem;
  display: grid;
  gap: 0.4rem;
}
.stat strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1;
  color: var(--lime);
}
.stat span {
  color: var(--ink-soft);
  font-size: var(--fs-small);
}
.lime-band .btn-black {
  margin-top: 3rem;
}

/* ==========================================================================
   Secciones oscuras
   ========================================================================== */
.how,
.demo,
.privacy,
.apps,
.pricing {
  padding: 12vh 0;
  position: relative;
  z-index: 7;
  background: var(--bg);
}
.cards3 {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.card {
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.4rem 1.6rem;
  display: grid;
  gap: 0.6rem;
  align-content: start;
}
.card h3 {
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.card p {
  color: var(--ink-soft);
  font-size: var(--fs-small);
  line-height: 1.6;
}
.card-step {
  font-family: var(--mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
  margin-top: 0.4rem;
}
.card-art {
  height: 150px;
  border-radius: 14px;
  background: radial-gradient(70% 80% at 50% 110%, rgba(201, 242, 90, 0.22), transparent 70%), #0b0d09;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.keycap {
  width: 88px;
  height: 88px;
  border-radius: 14px;
  background: linear-gradient(180deg, #f4f4ef, #d8d9d1);
  color: #1b2017;
  display: grid;
  align-content: end;
  justify-items: start;
  padding: 10px;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  font-weight: 500;
  box-shadow: 0 8px 0 #9a9c92, 0 18px 30px rgba(0, 0, 0, 0.5);
}
.keycap small {
  font-size: 0.65rem;
  letter-spacing: 0;
  margin-bottom: 0.4rem;
}
.keycap.dark {
  background: linear-gradient(180deg, #2a2f25, #171b14);
  color: var(--lime);
  box-shadow: 0 8px 0 #0a0c08, 0 18px 30px rgba(0, 0, 0, 0.6);
}
.wave-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: #1c2118;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-chip);
}
.bars,
.vn-wave {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 18px;
}
.bars b,
.vn-wave b {
  width: 3px;
  border-radius: 2px;
  background: var(--lime);
  height: 40%;
  animation: eq 1.1s ease-in-out infinite alternate;
}
.bars b:nth-child(2n) {
  animation-delay: -0.3s;
  height: 80%;
}
.bars b:nth-child(3n) {
  animation-delay: -0.6s;
  height: 60%;
}
.vn-wave b:nth-child(2n) {
  animation-delay: -0.2s;
  height: 90%;
}
.vn-wave b:nth-child(3n) {
  animation-delay: -0.7s;
  height: 55%;
}
@keyframes eq {
  from {
    transform: scaleY(0.4);
  }
  to {
    transform: scaleY(1);
  }
}
.white-card {
  width: 150px;
  height: 84px;
  border-radius: 12px;
  background: var(--white-card);
  padding: 14px;
  display: grid;
  gap: 8px;
  align-content: start;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}
.white-card span {
  height: 7px;
  border-radius: 4px;
  background: #d5d7cd;
}
.white-card span:nth-child(1) {
  width: 70%;
  background: #1b2017;
}
.white-card span:nth-child(3) {
  width: 45%;
}
.grid-art {
  display: grid;
  grid-template-columns: repeat(3, 22px);
  gap: 8px;
}
.grid-art b {
  height: 22px;
  border-radius: 6px;
  background: #1c2118;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.grid-art b:nth-child(5) {
  background: var(--lime);
}
.lang-art {
  display: flex;
  gap: 6px;
}
.lang-art i {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.65rem;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--ink-soft);
}
.lang-art i:first-child {
  background: var(--lime);
  color: #0b0d09;
  border-color: var(--lime);
}

/* ---- Demo por pestañas ---- */
.tabs {
  margin: 2.6rem auto 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.tabs button {
  font: inherit;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.6em 1.3em;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background var(--dur) var(--ease-expo), color var(--dur) var(--ease-expo);
}
.tabs button[aria-selected="true"] {
  background: var(--lime);
  color: #0b0d09;
  border-color: var(--lime);
}
.demo-panel {
  position: relative;
  margin-top: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #0e120b;
  padding: 3.5rem 3rem 3.5rem;
  overflow: hidden;
  min-height: 420px;
}
.demo-glow {
  position: absolute;
  left: -10%;
  bottom: -35%;
  width: 55%;
  height: 80%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(201, 242, 90, 0.35), transparent 70%);
  pointer-events: none;
}
.tab-content {
  position: relative;
  animation: tab-in 0.5s var(--ease-expo) both;
}
@keyframes tab-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
.demo-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  text-align: center;
  letter-spacing: -0.01em;
}
.pair {
  margin-top: 2.4rem;
  display: grid;
  grid-template-columns: 1fr 24px 1.2fr;
  align-items: center;
  gap: 1rem;
}
.pair-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(201, 242, 90, 0.18);
  justify-self: center;
}
.voice-note,
.result {
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
  font-size: 0.8125rem;
}
.voice-note {
  background: #14180f;
  border: 1px solid var(--line);
  display: grid;
  gap: 0.8rem;
}
.vn-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--lime);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.vn-text {
  color: var(--ink-soft);
  min-height: 3.2em;
}
.vn-text::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 0.9em;
  margin-left: 2px;
  background: var(--lime);
  vertical-align: -0.1em;
  animation: blink 1s steps(2) infinite;
}
@keyframes blink {
  to {
    opacity: 0;
  }
}
.result.dark {
  background: #1a1e17;
  border: 1px solid var(--line);
  color: var(--ink);
}
.result.light {
  background: var(--white-card);
  color: #171a14;
}
.res-head {
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 0.8rem;
}
.res-input {
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.5rem 0.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink-mute);
  font-size: 0.75rem;
}
.res-input.light {
  border-color: rgba(0, 0, 0, 0.12);
  color: #171a14;
  width: max-content;
  padding-inline: 1rem;
  background: var(--lime);
  border-radius: 999px;
}
.send {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--lime);
}
.todo li {
  padding: 0.35rem 0 0.35rem 1.6rem;
  position: relative;
}
.todo li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  border: 1px solid rgba(0, 0, 0, 0.3);
}
.code {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  line-height: 1.6;
  color: #d9dccf;
  white-space: pre;
  overflow-x: auto;
}

/* ---- Respiro: 150 PPM con banda de luz ---- */
.speed {
  position: relative;
  padding: 22vh 4vw;
  overflow: hidden;
  background: var(--bg);
  z-index: 7;
}
.light-band {
  position: absolute;
  left: -10%;
  right: -10%;
  top: 50%;
  height: 34%;
  translate: 0 -50%;
  background: linear-gradient(90deg, transparent, rgba(201, 242, 90, 0.28) 35%, rgba(201, 242, 90, 0.4) 50%, rgba(201, 242, 90, 0.28) 65%, transparent);
  filter: blur(40px);
  animation: band-slide linear both;
  animation-timeline: view();
  animation-range: entry 0% exit 100%;
}
@keyframes band-slide {
  from {
    transform: translateX(-12%);
  }
  to {
    transform: translateX(12%);
  }
}
.speed h2 {
  position: relative;
}

/* ---- Apps ---- */
.app-pills {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}
.app-pills span {
  padding: 0.55em 1.1em;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #10140d;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

/* ---- Precios ---- */
.plans {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 420px));
  justify-content: center;
  gap: 1rem;
}
.plan {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--card-2), var(--card));
  padding: 2rem;
  display: grid;
  gap: 1.2rem;
  align-content: start;
}
.plan.featured {
  border-color: rgba(201, 242, 90, 0.5);
  box-shadow: 0 0 80px rgba(201, 242, 90, 0.12);
}
.plan-name {
  font-size: var(--fs-micro);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
}
.plan-price strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 3.2rem;
  line-height: 1;
}
.plan-price span {
  color: var(--ink-soft);
  font-size: var(--fs-small);
  margin-left: 0.4rem;
}
.plan ul {
  display: grid;
  gap: 0.5rem;
  color: var(--ink-soft);
  font-size: var(--fs-small);
}
.plan li::before {
  content: "✓";
  color: var(--lime);
  margin-right: 0.6rem;
}
.plan .btn {
  justify-self: start;
  font-size: 0.75rem;
}

/* ---- CTA final sobre el paisaje ---- */
.cta {
  position: relative;
  min-height: 92vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 12vh var(--gutter);
  z-index: 7;
  background: var(--bg);
}
.cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
  filter: saturate(0.75) brightness(0.8) hue-rotate(20deg);
}
.cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 40% at 50% 35%, rgba(205, 244, 100, 0.35), transparent 70%),
    linear-gradient(180deg, rgba(11, 13, 9, 0.75), rgba(11, 13, 9, 0.2) 40%, rgba(11, 13, 9, 0.85));
}
.cta-card {
  position: relative;
  text-align: center;
  padding: 3.5rem 3rem;
  border-radius: 24px;
  background: rgba(11, 13, 9, 0.45);
  border: 1px solid rgba(242, 242, 238, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  max-width: 720px;
  display: grid;
  justify-items: center;
  gap: 1.6rem;
}
.cta-card .mono-overline {
  margin: 0;
}
.cta .serif {
  font-size: clamp(2.2rem, 4.4vw, 3.8rem);
}
.cta .btn {
  font-size: 0.75rem;
  padding: 0.9em 1.7em;
}
.meta {
  font-size: var(--fs-micro);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---- Footer ---- */
.footer {
  position: relative;
  z-index: 7;
  background: #070806;
  padding: 3rem var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--line);
}
.footer-nav {
  display: flex;
  gap: 1.6rem;
  font-size: 0.75rem;
  color: var(--ink-soft);
}
.footer-nav a:hover,
.footer-meta a:hover {
  color: var(--lime);
}
.footer-meta {
  justify-self: end;
  font-size: var(--fs-micro);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ==========================================================================
   Reveals de tarjetas (scrubbed al entrar, con stagger por rango)
   ========================================================================== */
.reveal {
  animation: reveal-up var(--ease-expo) both;
  animation-timeline: view();
  animation-range: entry 0% entry 55%;
}
.reveal:nth-child(2) {
  animation-range: entry 10% entry 65%;
}
.reveal:nth-child(3) {
  animation-range: entry 20% entry 75%;
}
@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1000px) {
  .cards3,
  .stats {
    grid-template-columns: 1fr;
  }
  .plans {
    grid-template-columns: minmax(0, 480px);
  }
  .pair {
    grid-template-columns: 1fr;
  }
  .pair-dot {
    display: none;
  }
  .demo-panel {
    padding: 2.4rem 1.4rem;
  }
  .footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .footer-meta {
    justify-self: center;
  }
}
@media (max-width: 720px) {
  :root {
    --fs-hero: clamp(3.4rem, 15.5vw, 4.4rem);
    --fs-s2: clamp(2.3rem, 10vw, 3rem);
    --gutter: 5vw;
  }
  .header {
    height: 64px;
  }
  .hero {
    left: var(--gutter);
    top: 13vh;
    width: 90vw;
  }
  .hero-lead {
    margin-top: 2vh;
  }
  .hero .btn {
    margin-top: 2.6vh;
  }
  .status-pill {
    left: auto;
    right: var(--gutter);
    top: 55%;
    font-size: 0.7rem;
  }
  .chip-teams,
  .chip-grid {
    display: none;
  }
  .chip-cube {
    --x: 70%;
    --y: 60%;
    --dx: -40vw;
    --dy: -46vh;
  }
  .chip-notion {
    --x: 12%;
    --y: 66%;
    --dx: 70vw;
    --dy: -18vh;
  }
  .chip-gmail {
    --x: 78%;
    --y: 86%;
    --dx: -60vw;
    --dy: 14vh;
  }
  .fallback {
    left: 6%;
    width: 88%;
    top: 58%;
    height: 34%;
  }
  .screen2-title {
    top: 16vh;
  }
  .result-card {
    left: 8%;
    width: 84%;
    top: 40%;
  }
  .screen2-sub {
    top: 51%;
  }
  .flat-wave {
    left: 6%;
    width: 88%;
  }
  .lime-band,
  .how,
  .demo,
  .privacy,
  .apps,
  .pricing {
    padding: 10vh 0;
  }
  .lime-band .serif {
    max-width: none;
  }
  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem 1.2rem;
  }
  .cta-card {
    padding: 2.4rem 1.4rem;
  }
}

/* ==========================================================================
   Reduced motion: todo visible y quieto. El escenario deja de ser pinned:
   hero (100 vh, cinta en pose de hero) y pantalla 2 (100 vh, onda plana DOM).
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none;
    transition: none;
  }
  /* Las reglas de clase pesan más que el reset de `*`: se apagan una por una */
  .header,
  .hero,
  .hero-only,
  .fallback,
  .chip-track,
  .chip,
  .screen2,
  .light-band,
  .reveal,
  .tab-content,
  .bars b,
  .vn-wave b,
  .vn-text::after,
  .btn {
    animation: none;
    transition: none;
  }
  .stage {
    height: auto;
  }
  .stage-panel {
    position: relative;
    height: 200vh;
  }
  .ribbon,
  .fallback {
    height: 100vh;
    bottom: auto;
  }
  .fallback {
    height: 57vh;
  }
  .hero,
  .status-pill,
  .chip-track {
    opacity: 1;
    translate: 0 0;
  }
  .chips {
    bottom: 100vh;
  }
  .screen2 {
    top: 100vh;
    opacity: 1;
    transform: none;
  }
  .status-pill {
    top: 77vh;
  }
  .flat-wave {
    display: flex;
  }
  .stage-foot {
    bottom: auto;
    top: 96vh;
  }
  .header {
    position: absolute;
    transform: none;
    opacity: 1;
  }
  .vn-text::after {
    display: none;
  }
}
