/* Portada (/). Solo se carga en index.html; /unirse, /privacidad y /404 siguen
   con styles.css. Colores: siempre los --page-* de styles.css (que salen de
   Color.kt vía tokens.css) o tokens de tokens.css, nunca hex sueltos.
   Forma: tarjetas a 24px, piezas internas a 16-20px, todo lo que se toca en pill. */

:root {
  --lp-max: 1200px;
  --lp-gutter: clamp(16px, 4.5vw, 64px);
  --lp-section: clamp(72px, 10vw, 136px);
  --lp-radius: 24px;
  --lp-on-soft: var(--page-fg);
  --lp-avatar-purple: var(--avatar-purple);
  --lp-avatar-purple-ink: var(--avatar-purple-ink);
  --lp-on-accent-soft: var(--on-accent-soft);
  --lp-phone-bezel: var(--text-primary);
}

@media (prefers-color-scheme: dark) {
  :root {
    --lp-avatar-purple: var(--avatar-purple-dark);
    --lp-avatar-purple-ink: var(--avatar-purple-ink-dark);
    --lp-on-accent-soft: var(--on-accent-soft-dark);
    --lp-phone-bezel: var(--surface-alt-dark);
  }
}

:where(.landing) p {
  margin: 0;
}

:where(.landing) ul,
:where(.landing) ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

:where(.landing) li {
  margin: 0;
}

.lp-wrap {
  width: 100%;
  max-width: calc(var(--lp-max) + 2 * var(--lp-gutter));
  margin-inline: auto;
  padding-inline: var(--lp-gutter);
}

.lp-section-title {
  color: var(--page-fg);
  font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.06;
  max-width: 20ch;
}

/* Botones y enlaces ---------------------------------------------------------- */

.lp-btn {
  border-radius: 999px;
  display: inline-block;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  padding: 17px 30px;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 220ms var(--page-ease),
    box-shadow 220ms var(--page-ease);
}

/* $mint-bright con tinta $art-ink: 6.4:1 sobre el verde profundo. */
.lp-btn--mint,
.lp-btn--mint:hover {
  background: var(--mint-bright);
  color: var(--art-ink);
}

@media (hover: hover) {
  .lp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgb(var(--page-shadow-rgb) / 0.32);
  }
}

.lp-btn:active {
  transform: scale(0.98);
  box-shadow: none;
}

.lp-hero__tester {
  align-items: center;
  color: var(--page-on-deep);
  display: inline-flex;
  min-height: 44px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

.lp-hero__tester:hover {
  color: var(--mint-bright);
}

.lp-btn:focus-visible,
.lp-hero__tester:focus-visible,
.lp-footer a:focus-visible,
.lp-cell a:focus-visible,
.lp-faq__item a:focus-visible,
.lp-faq__item summary:focus-visible {
  outline: 3px solid var(--page-accent);
  outline-offset: 3px;
}

/* Hero ----------------------------------------------------------------------- */

.lp-hero {
  background: var(--page-hero-bg);
  color: var(--page-on-deep);
  overflow: hidden;
  position: relative;
}

/* Grano fijo encima del verde: sin eventos y con opacidad baja para no tocar el
   contraste del texto. */
.lp-hero::after,
.lp-closing::after {
  background: url("/images/grain.svg") 0 0 / 220px 220px;
  content: "";
  inset: 0;
  mix-blend-mode: soft-light;
  opacity: 0.5;
  pointer-events: none;
  position: absolute;
}

.lp-hero__inner {
  display: grid;
  gap: 48px;
  margin-inline: auto;
  max-width: calc(var(--lp-max) + 2 * var(--lp-gutter));
  padding: clamp(40px, 7vw, 88px) var(--lp-gutter) 0;
  position: relative;
  z-index: 1;
}

.lp-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.lp-hero__title {
  font-size: clamp(2.4rem, 1.3rem + 3.4vw, 4.1rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.lp-hero__title > span {
  display: block;
}

.lp-hero__eyebrow {
  color: var(--page-on-deep-muted);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  margin-bottom: -8px;
  text-transform: uppercase;
}

.lp-hero__lead {
  color: var(--page-on-deep-muted);
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.25rem);
  line-height: 1.55;
  max-width: 38ch;
}

.lp-hero__actions {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 8px;
}

.lp-hero__visual {
  display: flex;
  justify-content: center;
  position: relative;
}

/* Resplandor detrás del teléfono: los dos focos del splash de la app. */
.lp-hero__visual::before {
  background:
    radial-gradient(50% 45% at 35% 55%, color-mix(in srgb, var(--splash-glow-a) 60%, transparent), transparent 72%),
    radial-gradient(45% 40% at 70% 80%, color-mix(in srgb, var(--splash-glow-b) 50%, transparent), transparent 74%);
  content: "";
  inset: 0 -30% 0;
  pointer-events: none;
  position: absolute;
}

/* El teléfono sube desde el borde de la sección: se corta abajo a propósito. */
.lp-phone {
  background: var(--lp-phone-bezel);
  border-radius: 44px 44px 0 0;
  height: clamp(360px, 54vh, 560px);
  overflow: hidden;
  padding: 10px 10px 0;
  position: relative;
  width: clamp(250px, 27vw, 330px);
}

.lp-phone img {
  border-radius: 34px 34px 0 0;
  display: block;
  height: auto;
  width: 100%;
}

/* Notificaciones (maqueta en HTML) ------------------------------------------- */

.lp-notif {
  background: var(--page-surface);
  border-radius: 20px;
  box-shadow: 0 18px 40px rgb(var(--page-shadow-rgb) / 0.18);
  color: var(--page-fg);
  padding: 14px 16px 16px;
  text-align: left;
}

.lp-notif__head {
  align-items: center;
  color: var(--page-muted);
  display: flex;
  font-size: 12.5px;
  gap: 6px;
  margin-bottom: 6px;
}

.lp-notif__mark {
  color: var(--page-primary);
  flex: none;
  height: 15px;
  width: 15px;
}

.lp-notif__time::before {
  content: "·";
  margin-right: 6px;
}

.lp-notif__title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.lp-notif__body {
  color: var(--page-muted);
  font-size: 14.5px;
  line-height: 1.45;
}

.lp-notif--hero {
  left: 50%;
  position: absolute;
  top: 58%;
  transform: translateX(-58%);
  width: min(290px, 82vw);
  z-index: 2;
}

/* Problema ------------------------------------------------------------------- */

.lp-problem {
  background: var(--page-bg);
  padding-block: var(--lp-section);
}

.lp-problem__title {
  color: var(--page-fg);
  font-size: clamp(2rem, 1.1rem + 3.6vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.04;
  max-width: 17ch;
}

.lp-problem__grid {
  align-items: center;
  display: grid;
  gap: 40px;
  margin-top: clamp(36px, 5vw, 64px);
}

.lp-chat {
  background: var(--page-surface-alt);
  border-radius: var(--lp-radius);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(18px, 3vw, 32px);
}

.lp-chat__msg {
  background: var(--page-surface);
  border-radius: 18px 18px 18px 6px;
  font-size: 15px;
  line-height: 1.4;
  max-width: 82%;
  padding: 10px 14px 11px;
}

.lp-chat__msg b {
  color: var(--page-primary);
  display: block;
  font-size: 12.5px;
  font-weight: 600;
}

.lp-chat__msg--alt {
  align-self: flex-end;
  border-radius: 18px 18px 6px 18px;
}

.lp-chat__msg:last-child {
  background: var(--page-accent-soft);
}

.lp-chat__msg:last-child b {
  color: var(--lp-on-accent-soft);
}

.lp-problem__copy {
  color: var(--page-fg);
  font-size: clamp(1.05rem, 0.95rem + 0.45vw, 1.3rem);
  line-height: 1.55;
  max-width: 40ch;
}

.lp-problem__item {
  border-radius: 20px;
  box-shadow: 0 16px 36px rgb(var(--page-shadow-rgb) / 0.1);
  display: block;
  height: auto;
  margin-top: 28px;
  max-width: 460px;
  width: 100%;
}

/* Cómo funciona -------------------------------------------------------------- */

.lp-how {
  background: var(--page-surface);
  padding-block: var(--lp-section);
}

.lp-how__stage {
  display: none;
}

.lp-how__list {
  display: flex;
  flex-direction: column;
  gap: 56px;
  margin-top: 40px;
}

.lp-how__step {
  border-left: 3px solid var(--page-accent);
  padding-left: clamp(18px, 2.4vw, 32px);
}

.lp-how__step h3 {
  color: var(--page-fg);
  font-size: clamp(1.7rem, 1rem + 2.4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.06;
}

.lp-how__step p {
  color: var(--page-muted);
  font-size: clamp(1rem, 0.92rem + 0.35vw, 1.2rem);
  line-height: 1.55;
  margin-top: 14px;
  max-width: 36ch;
}

.lp-how__inline {
  border: 1px solid var(--page-outline-variant);
  border-radius: var(--lp-radius);
  display: block;
  height: auto;
  margin-top: 24px;
  max-width: 360px;
  width: 100%;
}

/* Funciones (bento) ---------------------------------------------------------- */

.lp-features {
  background: var(--page-bg);
  padding-block: var(--lp-section);
}

.lp-bento {
  display: grid;
  gap: 16px;
  margin-top: clamp(32px, 4vw, 56px);
}

.lp-cell {
  border-radius: var(--lp-radius);
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  padding: clamp(24px, 3vw, 36px);
}

.lp-cell h3 {
  font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
  max-width: 20ch;
}

.lp-cell p {
  font-size: 15.5px;
  line-height: 1.55;
  max-width: 44ch;
}

.lp-cell img {
  display: block;
  height: auto;
  max-width: 100%;
}

.lp-cell--catalog {
  background: var(--page-accent-soft);
  color: var(--page-fg);
}

.lp-cell--catalog img {
  border-radius: 18px;
  margin-top: auto;
  width: 100%;
}

.lp-cell .lp-cell__credit {
  font-size: 13px;
}

.lp-cell__credit a {
  color: inherit;
}

.lp-cell--anon {
  align-items: center;
  background: var(--page-primary-soft);
  color: var(--page-fg);
  flex-direction: row;
  gap: 20px;
}

.lp-cell--anon picture {
  flex: none;
  width: clamp(96px, 11vw, 136px);
}

.lp-cell--anon h3 {
  margin-bottom: 8px;
}

.lp-cell--live {
  background: var(--page-hero-bg);
  color: var(--page-on-deep);
}

.lp-cell--live p {
  color: var(--page-on-deep-muted);
}

.lp-cell--live img {
  border-radius: 18px;
  margin-top: auto;
  width: 100%;
}

.lp-cell--history {
  background: var(--page-surface);
  color: var(--page-fg);
}

.lp-cell--history p,
.lp-cell--export p {
  color: var(--page-muted);
}

.lp-cell--history img {
  border: 1px solid var(--page-outline-variant);
  border-radius: 18px;
  height: 300px;
  object-fit: cover;
  object-position: top;
  width: 100%;
}

.lp-cell--history h3 {
  margin-bottom: 10px;
}

.lp-cell--export {
  background: var(--page-surface);
  color: var(--page-fg);
}

.lp-cell--export h3 {
  margin-bottom: 10px;
}

.lp-cell .lp-file {
  align-items: center;
  border: 1px solid var(--page-outline);
  border-radius: 999px;
  color: var(--page-fg);
  display: inline-flex;
  font-size: 13.5px;
  font-weight: 600;
  gap: 8px;
  margin-top: 18px;
  padding: 5px 14px 5px 5px;
}

.lp-file span {
  background: var(--page-primary);
  border-radius: 999px;
  color: var(--page-surface);
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 9px;
}

.lp-wa {
  background: var(--page-surface-alt);
  border-radius: 20px;
  padding: 18px;
}

.lp-wa__bubble {
  background: var(--page-primary-soft);
  border-radius: 16px 16px 4px 16px;
  color: var(--page-fg);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 0 auto;
  max-width: 320px;
  padding: 14px 16px;
  white-space: pre-wrap;
}

/* Hogar e invitaciones ------------------------------------------------------- */

.lp-house {
  background: var(--page-surface);
  padding-block: var(--lp-section);
}

.lp-house__grid {
  align-items: center;
  display: grid;
  gap: 48px;
}

.lp-house__lead {
  color: var(--page-muted);
  font-size: clamp(1rem, 0.92rem + 0.35vw, 1.2rem);
  line-height: 1.55;
  margin-top: 18px;
  max-width: 40ch;
}

.lp-code {
  display: flex;
  gap: clamp(6px, 1.2vw, 10px);
  margin-top: 32px;
}

.lp-code span {
  align-items: center;
  border: 2px solid var(--page-primary);
  border-radius: 14px;
  color: var(--page-fg);
  display: flex;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 800;
  height: clamp(52px, 9vw, 68px);
  justify-content: center;
  width: clamp(42px, 8vw, 56px);
}

.lp-share {
  background: var(--page-primary-soft);
  border-radius: 18px 18px 18px 6px;
  color: var(--page-fg);
  font-size: 15px;
  line-height: 1.45;
  margin-top: 20px;
  max-width: 32ch;
  padding: 12px 16px;
}

.lp-house__note {
  color: var(--page-muted);
  font-size: 14.5px;
  line-height: 1.5;
  margin-top: 20px;
  max-width: 44ch;
}

.lp-roles {
  background: var(--page-bg);
  border: 1px solid var(--page-outline-variant);
  border-radius: var(--lp-radius);
  padding: clamp(22px, 3vw, 34px);
}

.lp-roles__head {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.lp-roles__head span {
  color: var(--page-muted);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 400;
  margin-left: 6px;
}

.lp-roles__list li {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  padding: 18px 0;
}

.lp-roles__list li + li {
  border-top: 1px solid var(--page-outline-variant);
}

.lp-avatar {
  align-items: center;
  border-radius: 50%;
  display: flex;
  flex: none;
  font-size: 15px;
  font-weight: 600;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.lp-avatar--primary {
  background: var(--page-primary);
  color: var(--page-surface);
}

.lp-avatar--accent {
  background: var(--page-accent-soft);
  color: var(--lp-on-accent-soft);
}

.lp-avatar--purple {
  background: var(--lp-avatar-purple);
  color: var(--lp-avatar-purple-ink);
}

.lp-roles__name {
  font-size: 16.5px;
  font-weight: 600;
}

.lp-role {
  background: var(--page-surface-alt);
  border-radius: 999px;
  color: var(--page-fg);
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  margin-left: 6px;
  padding: 2px 10px;
  vertical-align: 1px;
}

.lp-roles__desc {
  color: var(--page-muted);
  font-size: 15px;
  line-height: 1.5;
  margin-top: 4px;
}

.lp-roles__foot {
  border-top: 1px solid var(--page-outline-variant);
  color: var(--page-muted);
  font-size: 14px;
  padding-top: 16px;
}

/* Avisos --------------------------------------------------------------------- */

.lp-alerts {
  background: var(--page-primary-soft);
  color: var(--page-fg);
  overflow: hidden;
  padding-block: var(--lp-section);
}

.lp-alerts__inner {
  align-items: center;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.lp-alerts__title {
  font-size: clamp(2.1rem, 1.2rem + 3.6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.04;
  max-width: 14ch;
}

.lp-alerts__lead {
  font-size: clamp(1rem, 0.92rem + 0.35vw, 1.2rem);
  line-height: 1.55;
  margin-top: 20px;
  max-width: 46ch;
}

.lp-alerts__stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: clamp(36px, 5vw, 56px);
  max-width: 400px;
  width: 100%;
}

.lp-alerts__foot {
  font-size: 15px;
  line-height: 1.5;
  margin-top: clamp(32px, 4vw, 48px);
  max-width: 44ch;
}

/* Privacidad ----------------------------------------------------------------- */

.lp-privacy {
  background: var(--page-bg);
  padding-block: var(--lp-section);
}

.lp-privacy__grid {
  display: grid;
  gap: 40px;
}

.lp-privacy__lead {
  color: var(--page-muted);
  font-size: clamp(1rem, 0.92rem + 0.35vw, 1.2rem);
  line-height: 1.55;
  margin-top: 18px;
  max-width: 34ch;
}

.lp-privacy__list {
  display: grid;
  gap: 32px 40px;
  margin: 0;
}

.lp-privacy__list > div {
  border-top: 3px solid var(--page-accent);
  padding-top: 18px;
}

.lp-privacy__list dt {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.lp-privacy__list dd {
  color: var(--page-muted);
  font-size: 15px;
  line-height: 1.55;
  margin: 8px 0 0;
}

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

.lp-faq {
  background: var(--page-surface);
  padding-block: var(--lp-section);
}

.lp-faq__grid {
  display: grid;
  gap: 48px;
  margin-top: clamp(32px, 4vw, 56px);
}

.lp-faq__group h3 {
  color: var(--page-primary-deep);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.lp-faq__item {
  border-bottom: 1px solid var(--page-outline-variant);
}

.lp-faq__item summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 16.5px;
  font-weight: 700;
  gap: 16px;
  justify-content: space-between;
  line-height: 1.35;
  list-style: none;
  padding: 18px 0;
}

.lp-faq__item summary::-webkit-details-marker {
  display: none;
}

.lp-faq__item summary::after {
  color: var(--page-accent);
  content: "+";
  flex: none;
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  transition: transform 220ms var(--page-ease);
}

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

@media (hover: hover) {
  .lp-faq__item summary:hover {
    color: var(--page-primary);
  }
}

.lp-faq__item p {
  color: var(--page-muted);
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 60ch;
  padding-bottom: 20px;
}

/* Cierre --------------------------------------------------------------------- */

.lp-closing {
  background: var(--page-hero-bg);
  color: var(--page-on-deep);
  padding: var(--lp-section) var(--lp-gutter);
  position: relative;
}

.lp-closing__inner {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-inline: auto;
  max-width: 760px;
  position: relative;
  text-align: center;
  z-index: 1;
}

.lp-closing__icon {
  border-radius: 24px;
  box-shadow: 0 16px 36px rgb(var(--page-shadow-rgb) / 0.45);
  display: block;
  height: 96px;
  width: 96px;
}

.lp-closing__title {
  font-size: clamp(2rem, 1.2rem + 3vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  max-width: 16ch;
}

.lp-closing__note {
  color: var(--page-on-deep-muted);
  font-size: clamp(1rem, 0.94rem + 0.3vw, 1.15rem);
  line-height: 1.55;
  max-width: 46ch;
}

.lp-closing__actions {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 6px;
}

/* Pie ------------------------------------------------------------------------ */

.lp-footer {
  background: var(--page-bg);
  border-top: 1px solid var(--page-outline-variant);
  padding-block: 48px 40px;
}

.lp-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.lp-footer__brand {
  align-items: center;
  color: var(--page-primary-deep);
  display: flex;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 19px;
  font-weight: 800;
  gap: 8px;
  letter-spacing: -0.02em;
}

.lp-footer__brand svg {
  color: var(--page-art-ink);
  height: 24px;
  width: 24px;
}

.lp-footer__tagline {
  color: var(--page-muted);
  font-size: 14.5px;
  margin-top: 6px;
}

.lp-footer__links {
  display: flex;
  flex-direction: column;
}

.lp-footer__links a {
  align-items: center;
  color: var(--page-fg);
  display: inline-flex;
  min-height: 44px;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
}

.lp-footer__links a:hover {
  color: var(--page-accent);
}

.lp-footer__legal {
  color: var(--page-muted);
  font-size: 13px;
  margin-top: 28px;
}

/* Tablet --------------------------------------------------------------------- */

@media (min-width: 640px) {
  .lp-hero__actions {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px 28px;
  }

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

  .lp-cell--catalog,
  .lp-cell--history,
  .lp-cell--export {
    grid-column: span 2;
  }

  .lp-cell--history,
  .lp-cell--export {
    align-items: center;
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .lp-alerts__stack .lp-notif:nth-child(1) {
    transform: translateX(-36px);
  }

  .lp-alerts__stack .lp-notif:nth-child(2) {
    transform: translateX(28px);
  }

  .lp-alerts__stack .lp-notif:nth-child(3) {
    transform: translateX(-10px);
  }

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

  .lp-footer__inner {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
  }

  .lp-footer__links {
    flex-direction: row;
    gap: 28px;
  }
}

/* Escritorio ----------------------------------------------------------------- */

@media (min-width: 960px) {
  .lp-hero__inner {
    align-items: end;
    gap: 40px;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  }

  .lp-hero__copy {
    align-self: center;
    padding-bottom: clamp(56px, 7vw, 96px);
  }

  .lp-notif--hero {
    left: -30%;
    top: 62%;
    transform: none;
  }

  .lp-problem__grid {
    gap: clamp(48px, 6vw, 96px);
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  /* Paso a paso con el teléfono fijo: la pantalla cambia según el paso que está
     en el centro del viewport (landing.js). Sin JS queda la primera captura y
     los tres pasos legibles a la derecha. */
  .lp-how__grid {
    align-items: start;
    display: grid;
    gap: clamp(48px, 7vw, 112px);
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .lp-how__stage {
    display: block;
    position: sticky;
    top: clamp(88px, 12vh, 120px);
  }

  .lp-how__frame {
    aspect-ratio: 780 / 960;
    background: var(--page-bg);
    border: 1px solid var(--page-outline-variant);
    border-radius: 32px;
    box-shadow: 0 24px 60px rgb(var(--page-shadow-rgb) / 0.12);
    margin-left: auto;
    max-height: calc(100dvh - 180px);
    max-width: 440px;
    overflow: hidden;
    position: relative;
  }

  .lp-how__frame img {
    height: 100%;
    inset: 0;
    object-fit: cover;
    object-position: top;
    opacity: 0;
    position: absolute;
    transition: opacity 420ms var(--page-ease);
    width: 100%;
  }

  .lp-how[data-step="0"] .lp-how__frame img:nth-child(1),
  .lp-how[data-step="1"] .lp-how__frame img:nth-child(2),
  .lp-how[data-step="2"] .lp-how__frame img:nth-child(3) {
    opacity: 1;
  }

  .lp-how__inline {
    display: none;
  }

  .lp-how__list {
    gap: 0;
    margin-top: 24px;
  }

  .lp-how__step {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 62vh;
  }

  .lp-js .lp-how__step {
    border-left-color: var(--page-outline-variant);
    transition: border-color 320ms var(--page-ease);
  }

  .lp-js .lp-how__step h3 {
    color: var(--page-muted);
    transition: color 320ms var(--page-ease);
  }

  .lp-js .lp-how[data-step="0"] [data-step-index="0"],
  .lp-js .lp-how[data-step="1"] [data-step-index="1"],
  .lp-js .lp-how[data-step="2"] [data-step-index="2"] {
    border-left-color: var(--page-accent);
  }

  .lp-js .lp-how[data-step="0"] [data-step-index="0"] h3,
  .lp-js .lp-how[data-step="1"] [data-step-index="1"] h3,
  .lp-js .lp-how[data-step="2"] [data-step-index="2"] h3 {
    color: var(--page-fg);
  }

  .lp-bento {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .lp-cell--catalog {
    grid-column: 1 / span 7;
    grid-row: 1 / span 2;
  }

  .lp-cell--anon {
    grid-column: 8 / span 5;
    grid-row: 1;
  }

  .lp-cell--live {
    grid-column: 8 / span 5;
    grid-row: 2;
  }

  .lp-cell--history {
    display: flex;
    grid-column: 1 / span 5;
    grid-row: 3;
  }

  .lp-cell--history img {
    height: 260px;
    margin-top: auto;
  }

  .lp-cell--export {
    grid-column: 6 / span 7;
    grid-row: 3;
  }

  .lp-house__grid {
    gap: clamp(48px, 7vw, 112px);
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .lp-privacy__grid {
    align-items: start;
    gap: clamp(48px, 7vw, 112px);
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }

  .lp-faq__grid {
    column-gap: 72px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

/* Movimiento -----------------------------------------------------------------
   Entrada del hero en CSS puro. El aviso flotante llega al final: cuenta que
   alguien de la casa está agregando productos mientras miras la lista. Las
   revelaciones al hacer scroll usan view() donde existe; donde no, el contenido
   se ve quieto, nunca escondido. */

@keyframes lp-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes lp-phone-in {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes lp-notif-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
  }
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .lp-hero__eyebrow,
  .lp-hero__title > span,
  .lp-hero__lead,
  .lp-hero__actions {
    animation: lp-rise 640ms var(--page-ease) backwards;
  }

  .lp-hero__title > span:nth-child(2) {
    animation-delay: 90ms;
  }

  .lp-hero__lead {
    animation-delay: 200ms;
  }

  .lp-hero__actions {
    animation-delay: 300ms;
  }

  .lp-phone {
    animation: lp-phone-in 900ms var(--page-ease) 160ms backwards;
  }

  .lp-notif--hero {
    animation: lp-notif-in 560ms var(--page-ease) 1100ms backwards;
  }

  @supports (animation-timeline: view()) {
    .lp-section-title,
    .lp-problem__title,
    .lp-alerts__title,
    .lp-closing__title,
    .lp-cell,
    .lp-chat__msg,
    .lp-roles,
    .lp-privacy__list > div,
    .lp-alerts__stack .lp-notif {
      animation: lp-rise 1ms linear both;
      animation-range: entry 5% entry 45%;
      animation-timeline: view();
    }

    /* La conversación entra mensaje por mensaje, como llega en el teléfono. */
    .lp-chat__msg:nth-child(2) {
      animation-range: entry 15% entry 55%;
    }

    .lp-chat__msg:nth-child(3) {
      animation-range: entry 25% entry 65%;
    }

    .lp-chat__msg:nth-child(4) {
      animation-range: entry 35% entry 75%;
    }

    /* Los avisos ya tienen su desplazamiento lateral: solo opacidad. */
    .lp-alerts__stack .lp-notif {
      animation-name: lp-fade;
    }

    .lp-alerts__stack .lp-notif:nth-child(2) {
      animation-range: entry 15% entry 55%;
    }

    .lp-alerts__stack .lp-notif:nth-child(3) {
      animation-range: entry 25% entry 65%;
    }
  }
}

@keyframes lp-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp-how__frame img {
    transition: none;
  }
}
