/* ============================================================================
   LUMENA — styles.css
   Sistema de diseño editorial: hueso cálido + verde bosque, Fraunces + Inter.
   Light mode base, dark mode vía html.dark. Mobile-first.
   ========================================================================== */

/* ----- Tokens ----- */
:root {
  /* Color — modo claro */
  --bg: #F5F1EA;
  --bg-2: #EDE7DC;
  --surface: #FCFAF6;
  --text: #0F0F0F;
  --text-2: #4A4A46;
  --muted: #8A857D;
  --accent: #2A4A3D;
  --accent-hover: #1F3A2E;
  --accent-soft: rgba(42, 74, 61, 0.06);
  --border: rgba(15, 15, 15, 0.08);
  --divider: rgba(15, 15, 15, 0.06);
  --btn-text: #F5F1EA;
  --nav-bg: rgba(245, 241, 234, 0.85);

  /* Bloque oscuro (waitlist + footer) — estable en ambos modos */
  --inv-bg: #0F0E0C;
  --inv-text: #F5F1EA;

  /* Tipografía */
  --font-serif: "Fraunces", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Consolas, monospace;

  /* Movimiento */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* Espaciado */
  --space-section: clamp(96px, 12vw, 160px);
  --container-pad: clamp(24px, 5vw, 48px);
}

html.dark {
  --bg: #0F0E0C;
  --bg-2: #171613;
  --surface: #1C1A16;
  --text: #F5F1EA;
  --text-2: #B8B3AA;
  --muted: #8A857D;
  --accent: #7FB89E;
  --accent-hover: #97CBB2;
  --accent-soft: rgba(127, 184, 158, 0.08);
  --border: rgba(245, 241, 234, 0.1);
  --divider: rgba(245, 241, 234, 0.07);
  --btn-text: #0F0E0C;
  --nav-bg: rgba(15, 14, 12, 0.85);
  --inv-bg: #171613;
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 300ms ease, color 300ms ease;
}

h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
svg { display: block; }

::selection { background: var(--accent); color: var(--bg); }

/* ----- Accesibilidad ----- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  transform: translateY(-200%);
  background: var(--accent); color: var(--btn-text);
  padding: 12px 20px; border-radius: 6px;
  font-size: 0.875rem; font-weight: 500; text-decoration: none;
  transition: transform 200ms var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}
.btn:focus-visible { border-radius: 6px; }

/* ----- Tipografía ----- */
.display-1 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  letter-spacing: -0.03em;
  line-height: 0.98;
  text-wrap: balance;
}

.display-2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-wrap: balance;
}

h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.35;
}

.body-lg { font-size: 1.25rem; font-weight: 400; line-height: 1.55; }

.caption { font-size: 0.875rem; font-weight: 500; letter-spacing: 0.02em; }

.meta {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.text-muted { color: var(--muted); }

/* ----- Layout ----- */
.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section { padding-block: var(--space-section); background: var(--bg); }
.section--alt { background: var(--bg-2); }

.section__sub { color: var(--text-2); max-width: 520px; margin-top: 24px; }

/* ----- Botones ----- */
.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 200ms ease-out, color 200ms ease-out,
              border-color 200ms ease-out, transform 200ms ease-out;
  will-change: transform;
}

.btn--primary { background: var(--accent); color: var(--btn-text); }
.btn--primary:hover { background: var(--accent-hover); transform: translateY(-1px); }

.btn--secondary {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}
.btn--secondary:hover { background: var(--accent-soft); transform: translateY(-1px); }

.btn--inverse { background: #F5F1EA; color: #0F0E0C; }
.btn--inverse:hover { background: #FFFDF8; transform: translateY(-1px); }

.btn--lg { padding: 18px 40px; font-size: 1.05rem; }

/* ----- Links ----- */
.link-arrow {
  position: relative;
  display: inline-block;
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
  padding-bottom: 2px;
}
.link-arrow::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms var(--ease);
}
.link-arrow:hover::after { transform: scaleX(1); }

/* ============================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 300ms ease, border-color 300ms ease,
              backdrop-filter 300ms ease;
}

.nav.is-scrolled {
  background: var(--nav-bg);
  border-bottom-color: var(--divider);
}
@supports (backdrop-filter: blur(20px)) {
  .nav.is-scrolled {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
}

.nav__inner {
  max-width: 1200px;
  margin-inline: auto;
  padding: 16px var(--container-pad);
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav__logo {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.25rem;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav__links {
  display: none;
  margin-left: auto;
  gap: 32px;
}

.nav__link {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--text-2);
  padding-bottom: 2px;
  transition: color 200ms ease;
}
.nav__link::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms var(--ease);
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after { transform: scaleX(1); }

.nav__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav__cta { padding: 10px 20px; font-size: 0.9rem; }

.theme-toggle {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 6px;
  color: var(--text-2);
  transition: color 200ms ease, background-color 200ms ease;
}
.theme-toggle:hover { color: var(--text); background: var(--accent-soft); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-moon { display: none; }
html.dark .theme-toggle .icon-sun { display: none; }
html.dark .theme-toggle .icon-moon { display: block; }

@media (min-width: 768px) {
  .nav__links { display: flex; }
  .nav__actions { margin-left: 0; }
}

/* ============================================================================
   HERO
   ========================================================================== */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 120px;
  padding-bottom: 0;
  background: var(--bg);
}

.hero__grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: center;
  flex: 1;
  padding-block: 24px;
}

.hero__content .meta { margin-bottom: 32px; }

.hero__sub {
  color: var(--text-2);
  max-width: 480px;
  margin-top: 40px;
}

.hero__cta { margin-top: 48px; }
.hero__cta .caption { margin-top: 16px; }

/* Palabra rotatoria */
.rotor {
  display: inline-block;
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
  transition: opacity 200ms ease, transform 200ms ease;
}
.rotor.is-out { opacity: 0; transform: translateY(8px); }

/* Visual del hero */
.hero__visual { display: none; }

@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: 60fr 40fr; gap: 48px; }
  .hero__visual { display: block; }
}

/* ----- Marquesina ----- */
.marquee {
  overflow: hidden;
  padding-block: 20px;
  border-top: 1px solid var(--divider);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 60s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }

.marquee__group {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.marquee__dot { color: var(--accent); }

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

/* ============================================================================
   MOCKUPS (hero + dashboard) — 100% HTML/CSS/SVG
   ========================================================================== */
.mock {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 20px 60px -20px rgba(15, 15, 15, 0.15);
}

.mock--hero {
  padding: 32px;
  max-width: 400px;
  margin-left: auto;
}

.mock--dashboard {
  max-width: 960px;
  margin: 64px auto 0;
  padding: clamp(24px, 5vw, 48px);
}

.mock-meta {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.mock-num {
  font-family: var(--font-serif);
  font-weight: 300;
  color: var(--text);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144;
}
.mock-num--xxl { font-size: clamp(3rem, 6vw, 5rem); margin-top: 12px; }
.mock-num--xl  { font-size: clamp(2.6rem, 4vw, 3.4rem); margin-top: 10px; }
.mock-num--md  { font-size: clamp(1.8rem, 2.5vw, 2.5rem); margin-top: 10px; }
.mock-num__of  { font-size: 0.55em; color: var(--muted); font-weight: 300; }

.mock-caption {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 8px;
}

.sparkline {
  width: 100%;
  max-width: 260px;
  height: 44px;
  margin-top: 20px;
  color: var(--accent);
}
.sparkline--lg { max-width: 320px; height: 52px; }

.mock__divider {
  height: 1px;
  background: var(--divider);
  margin-block: 24px;
}

/* Bloque "Tu próxima acción" */
.mock-action {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 20px;
}
.mock-action--lg { padding: 24px; }

.mock-action__meta { color: var(--accent); }

.mock-action__text {
  font-size: 0.95rem;
  font-weight: 500;
  margin-top: 8px;
  line-height: 1.5;
}

.mock-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 8px 16px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 500;
}

/* Barra de progreso (meta de ahorro) */
.mock-progress {
  margin-top: 16px;
  height: 2px;
  background: var(--divider);
  border-radius: 1px;
  overflow: hidden;
}
.mock-progress__fill {
  display: block;
  width: 65%;
  height: 100%;
  background: var(--accent);
}

/* Movimientos */
.dash__movs { margin-top: 32px; }

.mock-rows { margin-top: 4px; }
.mock-rows--lg { margin-top: 12px; }

.mock-row {
  display: grid;
  grid-template-columns: 3.5rem 1fr auto;
  align-items: baseline;
  gap: 12px;
  padding-block: 12px;
  border-bottom: 1px solid var(--divider);
  font-size: 0.875rem;
}
.mock-row:last-child { border-bottom: 0; padding-bottom: 0; }

.mock-row__day { color: var(--muted); font-size: 0.8rem; }
.mock-row__desc { color: var(--text-2); }

.mock-row__amount {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
  color: var(--text);
}

.sign--neg { color: var(--muted); }
.sign--pos { color: var(--accent); }

/* Fila superior del dashboard */
.dash__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .dash__top {
    grid-template-columns: 50fr 25fr 25fr;
    gap: 48px;
  }
}

/* ============================================================================
   EL PROBLEMA
   ========================================================================== */
.problema__cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-top: 72px;
}

.problema__cols p {
  max-width: 500px;
  color: var(--text-2);
}
.problema__cols p + p { margin-top: 24px; }

.problema__closer {
  font-weight: 600;
  color: var(--text) !important;
}

@media (min-width: 768px) {
  .problema__cols { grid-template-columns: 1fr 1fr; gap: 64px; }
}

/* ============================================================================
   CÓMO FUNCIONA
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 72px;
}

.step {
  padding-block: 40px;
  border-top: 1px solid var(--border);
}
.step:first-child { border-top: 0; padding-top: 0; }

.step__num {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(4rem, 5vw, 6rem);
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.step h3 { margin-top: 24px; }

.step p:not(.step__num) {
  margin-top: 16px;
  max-width: 280px;
  color: var(--text-2);
}

@media (min-width: 768px) {
  .steps { grid-template-columns: 1fr 1fr 1fr; }
  .step {
    border-top: 0;
    border-left: 1px solid var(--border);
    padding: 0 40px;
  }
  .step:first-child { border-left: 0; padding-left: 0; }
  .step:last-child { padding-right: 0; }
  .step:nth-child(2) { transition-delay: 100ms; }
  .step:nth-child(3) { transition-delay: 200ms; }
}

/* ============================================================================
   DEMO INTERACTIVO
   ========================================================================== */
.section--demo { text-align: center; }

.demo__head .meta { margin-bottom: 24px; }

.demo__sub {
  color: var(--text-2);
  max-width: 520px;
  margin: 24px auto 0;
}

.demo-card {
  max-width: 640px;
  margin: 64px auto 0;
  padding: clamp(32px, 5vw, 48px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(15, 15, 15, 0.04);
  text-align: left;
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease),
              opacity 600ms var(--ease);
}
.demo-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -12px rgba(15, 15, 15, 0.12);
}
/* el hover no debe pisar el reveal */
.demo-card.reveal:not(.is-visible):hover { transform: translateY(20px); }

.field + .field { margin-top: 36px; }

.field__label { display: block; margin-bottom: 4px; }

.field__wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
  border-bottom: 1px solid var(--muted);
  transition: border-color 200ms ease;
}
.field__wrap:focus-within { border-bottom-color: var(--accent); }

.field__prefix {
  color: var(--muted);
  font-size: 1.25rem;
}

.field__input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  padding: 12px 0;
  font-size: 1.35rem;
  font-family: var(--font-sans);
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.field__input::placeholder { color: var(--muted); opacity: 0.6; }
.field__input:focus { outline: none; }

.field__hint { margin-top: 8px; }

/* Resultado */
.demo-result {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--divider);
  min-height: 120px;
}

.demo-result__title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144;
  color: var(--text);
}
.demo-result__body.is-ok .demo-result__title { color: var(--accent); }

.demo-result__text {
  margin-top: 24px;
  color: var(--text-2);
  max-width: 460px;
  line-height: 1.6;
}
.demo-result__text strong {
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.demo-result__body { animation: demo-fade 400ms var(--ease); }
@keyframes demo-fade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.demo__note { max-width: 480px; margin: 40px auto 0; }
.demo__cta { margin-top: 24px; }

/* ============================================================================
   MANIFIESTO
   ========================================================================== */
.section--manifiesto { text-align: center; }

.manifiesto .meta { margin-bottom: 32px; }

.manifiesto__title em {
  font-style: italic;
  font-weight: 400;
  font-variation-settings: "SOFT" 60;
}

.manifiesto__body {
  max-width: 620px;
  margin: 56px auto 0;
  text-align: center;
}

.manifiesto__body p {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--text-2);
}
.manifiesto__body p + p { margin-top: 24px; }

.manifiesto__sign {
  display: block;
  max-width: 620px;
  margin: 48px auto 0;
  text-align: right;
  color: var(--muted);
}

/* ============================================================================
   PREGUNTAS (FAQ)
   ========================================================================== */
.faq {
  max-width: 760px;
  margin-top: 72px;
  border-top: 1px solid var(--divider);
}

.faq__item { border-bottom: 1px solid var(--divider); }

.faq__q { font-size: 1.15rem; font-weight: 500; }

.faq__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  padding: 28px 4px;
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.4;
  transition: color 200ms ease;
}
.faq__btn:hover { color: var(--accent); }

.faq__chevron {
  flex-shrink: 0;
  width: 16px; height: 16px;
  color: var(--muted);
  transition: transform 300ms var(--ease);
}
.faq__btn[aria-expanded="true"] .faq__chevron { transform: rotate(180deg); }

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 300ms var(--ease);
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

.faq__a-inner { overflow: hidden; }

.faq__a-inner p {
  color: var(--text-2);
  max-width: 640px;
  padding: 0 4px 28px;
}

/* ============================================================================
   WAITLIST
   ========================================================================== */
.waitlist {
  background: var(--inv-bg);
  color: var(--inv-text);
  padding-block: clamp(112px, 14vw, 160px);
  text-align: center;
}

.waitlist__title { color: var(--inv-text); }

.waitlist__sub {
  color: rgba(245, 241, 234, 0.75);
  max-width: 520px;
  margin: 32px auto 0;
}

.waitlist__form { max-width: 480px; margin: 56px auto 0; }

.waitlist__row {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.waitlist__input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(245, 241, 234, 0.4);
  padding: 12px 0;
  font-size: 1.1rem;
  color: var(--inv-text);
  transition: border-color 200ms ease;
}
.waitlist__input::placeholder { color: rgba(245, 241, 234, 0.4); }
.waitlist__input:focus {
  outline: none;
  border-bottom-color: var(--inv-text);
}
.waitlist__input:focus-visible { outline: none; }

.waitlist__error { color: rgba(245, 241, 234, 0.85); margin-top: 16px; }

.waitlist__legal {
  color: rgba(245, 241, 234, 0.6);
  margin-top: 24px;
}

.waitlist__form.is-out {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 400ms var(--ease), transform 400ms var(--ease);
}

.waitlist__done { margin-top: 56px; }
.waitlist__done.is-in { animation: done-fade 400ms var(--ease); }
@keyframes done-fade {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

.waitlist__done-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.02em;
}

.waitlist__done-sub {
  margin-top: 16px;
  color: rgba(245, 241, 234, 0.75);
}
.waitlist__done-sub span {
  font-family: var(--font-serif);
  color: var(--inv-text);
}

.waitlist__count {
  margin-top: 48px;
  color: rgba(245, 241, 234, 0.6);
}

@media (min-width: 768px) {
  .waitlist__row {
    flex-direction: row;
    align-items: flex-end;
  }
  .waitlist__row .btn { flex-shrink: 0; }
}

/* ============================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--inv-bg);
  color: var(--inv-text);
  padding-block: 64px;
  border-top: 1px solid rgba(245, 241, 234, 0.08);
}

.footer__cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.footer__logo {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.5rem;
}

.footer__tagline {
  margin-top: 16px;
  color: rgba(245, 241, 234, 0.6);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer__meta { color: rgba(245, 241, 234, 0.5); margin-bottom: 20px; }

.footer__list li + li { margin-top: 12px; }

.footer__link {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--inv-text);
  transition: color 200ms ease;
}
.footer__link:hover { color: rgba(245, 241, 234, 0.75); }

.footer__bottom {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid rgba(245, 241, 234, 0.15);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__legal { color: rgba(245, 241, 234, 0.5); }

@media (min-width: 768px) {
  .footer__cols { grid-template-columns: 2fr 1fr 1fr; gap: 64px; }
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 64px;
  }
  .footer__legal--right { max-width: 520px; text-align: right; }
}

/* ============================================================================
   REVEALS (scroll)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* La tarjeta demo conserva sus transiciones de hover aunque sea .reveal */
.demo-card.reveal {
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease),
              opacity 600ms var(--ease);
}

/* ============================================================================
   CURSOR PERSONALIZADO (solo desktop con puntero fino)
   ========================================================================== */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: #fff;
  mix-blend-mode: difference;
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
  transition: opacity 250ms ease, width 200ms ease, height 200ms ease,
              margin 200ms ease;
  will-change: transform;
}
.cursor.is-ready { opacity: 0.6; }
.cursor.is-active {
  width: 32px; height: 32px;
  margin: -16px 0 0 -16px;
}

@media (max-width: 1023px), (hover: none), (pointer: coarse) {
  .cursor { display: none; }
}

/* ============================================================================
   REDUCED MOTION
   El contenido siempre visible; se desactivan las animaciones de scroll,
   la rotación de palabra (vía JS) y el smooth scroll.
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .rotor { transition: none; }

  .demo-result__body,
  .waitlist__done.is-in { animation: none; }
}
