/* brizday.plantekia.com — solo modo claro. Paleta y fuentes de la app (ui/theme/Theme.kt):
   bloques planos con borde de tinta y sombra dura, titulares con pegatina, etiquetas en Space Mono. */
@font-face { font-family: "Space Grotesk"; font-weight: 400; font-display: swap; src: url(/fonts/space_grotesk_400.ttf) format("truetype"); }
@font-face { font-family: "Space Grotesk"; font-weight: 700; font-display: swap; src: url(/fonts/space_grotesk_700.ttf) format("truetype"); }
@font-face { font-family: "Space Mono"; font-weight: 700; font-display: swap; src: url(/fonts/space_mono_700.ttf) format("truetype"); }
@font-face { font-family: "Unbounded"; font-weight: 700; font-display: swap; src: url(/fonts/unbounded_700.ttf) format("truetype"); }
@font-face { font-family: "Unbounded"; font-weight: 900; font-display: swap; src: url(/fonts/unbounded_900.ttf) format("truetype"); }

:root {
  --ink: #141210; --paper: #FDF0E1; --sheet: #FFFAF3; --soft: #5A5148; --line: #D9C6AE;
  --yellow: #FFD43B; --red: #FF5D4F; --blue: #6DCFF6; --green: #2DB46A; --peach: #FF9C83; --lilac: #B9A6FF;
  --bw: 2px; --r: 18px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 18px/1.6 "Space Grotesk", system-ui, sans-serif; overflow-x: clip; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: "Unbounded", system-ui, sans-serif; line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 max(16px, env(safe-area-inset-left)); }

/* Piezas de la app */
.block { background: var(--sheet); border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: 6px 6px 0 var(--ink); }
.sticker { background: var(--yellow); padding: 0 .28em .12em; border: var(--bw) solid var(--ink); border-radius: .22em; box-shadow: .09em .09em 0 var(--ink); display: inline-block; transform: rotate(-2deg); }
.sticker.blue { background: var(--blue); transform: rotate(1.5deg); }
.sticker.green { background: var(--green); transform: rotate(-1.5deg); }
.sticker.red { background: var(--red); transform: rotate(1.5deg); }
.tag { justify-self: start; align-self: start; display: inline-block; font: 700 .78rem/1 "Space Mono", monospace; text-transform: uppercase; letter-spacing: .06em; background: var(--ink); color: var(--sheet); padding: 8px 12px 7px; border-radius: 999px; }
.num { font: 900 1.5rem/1 "Unbounded", sans-serif; width: 64px; height: 56px; display: grid; place-items: center; border: var(--bw) solid var(--ink); border-radius: 14px; box-shadow: 4px 4px 0 var(--ink); background: var(--sheet); }

.btn { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; border: var(--bw) solid var(--ink); border-radius: 14px; box-shadow: 5px 5px 0 var(--ink); padding: 14px 22px; background: var(--sheet); transition: transform .12s, box-shadow .12s; }
a.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.btn.dark { background: var(--ink); color: var(--sheet); box-shadow: 5px 5px 0 var(--yellow); }
.btn.dark svg { width: 18px; height: 18px; fill: var(--yellow); }

/* iPhone dibujado: marco de tinta con sombra dura, como las capturas de la tienda */
.phone { position: relative; border: 3px solid var(--ink); border-radius: 46px; background: var(--ink); padding: 9px; box-shadow: 12px 12px 0 var(--ink); }
.phone img { border-radius: 37px; width: 100%; aspect-ratio: 1320 / 2868; object-fit: cover; object-position: top; background: var(--paper); }

/* Cabecera */
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 900 1.3rem/1 "Unbounded", sans-serif; }
.brand img { width: 46px; height: 46px; border-radius: 12px; border: var(--bw) solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }
nav.main { display: flex; align-items: center; gap: 6px 22px; flex-wrap: wrap; justify-content: flex-end; font-weight: 700; font-size: .95rem; }
nav.main a { text-decoration: none; padding: 6px 2px; }
nav.main a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.lang { display: inline-flex; border: var(--bw) solid var(--ink); border-radius: 999px; overflow: hidden; font: 700 .8rem/1 "Space Mono", monospace; }
.lang a, .lang b { padding: 8px 11px 7px !important; text-decoration: none !important; }
.lang b { background: var(--ink); color: var(--sheet); }
@media (max-width: 720px) { nav.main .hide-sm { display: none; } }

/* Hero: Círculo Dorado (creencia → enfoque → qué es) */
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-top: 32px; padding-bottom: 88px; }
.why { display: grid; gap: 22px; }
.why .step { display: grid; gap: 12px; }
.why h1 { font-weight: 700; font-size: clamp(2rem, 3.8vw, 3.05rem); line-height: 1.12; max-width: 15ch; }
.why h1 .sticker { padding: 0 .22em .06em; border-radius: .18em; box-shadow: .07em .07em 0 var(--ink); transform: rotate(-1.5deg); }
.why .how, .why .what { font-size: 1.2rem; max-width: 33ch; }
.why .what strong { font-family: "Unbounded", sans-serif; font-weight: 900; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 8px; }
.cta .note { color: var(--soft); font-size: .95rem; }

.stage { position: relative; isolation: isolate; justify-self: center; width: min(100%, 350px); margin: 24px 0 0; }
.stage::before { content: ""; position: absolute; left: 50%; top: 52%; width: 132%; aspect-ratio: 1; transform: translate(-50%, -50%); background: var(--yellow); border: var(--bw) solid var(--ink); border-radius: 50%; z-index: -1; }
.stage .phone { transform: rotate(2deg); }
.chip { position: absolute; z-index: 2; font: 700 .95rem/1 "Space Grotesk", sans-serif; display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border: var(--bw) solid var(--ink); border-radius: 14px; box-shadow: 4px 4px 0 var(--ink); background: var(--sheet); white-space: nowrap; }
.chip.done { background: var(--green); top: 44%; left: -27%; transform: rotate(-4deg); }
.chip.spark { background: var(--yellow); top: -3%; right: -14%; transform: rotate(5deg); }
.chip.calm { background: var(--blue); bottom: 10%; right: -16%; transform: rotate(-3deg); }
.chip svg { width: 18px; height: 18px; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 56px; padding-top: 8px; }
  .stage { width: min(78%, 330px); }
  .chip { font-size: .85rem; padding: 10px 12px; }
  .chip.done { left: -14%; top: 66%; } .chip.spark { right: -12%; } .chip.calm { right: -12%; }
}

/* Franja de promesas */
.promises { background: var(--ink); color: var(--sheet); border-block: var(--bw) solid var(--ink); }
.promises ul { list-style: none; margin: 0 auto; padding: 18px 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; font: 700 .9rem/1.3 "Space Mono", monospace; text-transform: uppercase; letter-spacing: .04em; max-width: 1160px; }
.promises li { display: inline-flex; align-items: center; gap: 10px; }
.promises li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); }
.promises li:nth-child(3n+2)::before { background: var(--blue); }
.promises li:nth-child(3n)::before { background: var(--red); }

/* Secciones */
section.band { padding: 96px 0; }
section.band.close { padding-top: 0; }
.head { display: grid; gap: 14px; margin-bottom: 44px; max-width: 760px; }
.head h2 { font-weight: 900; font-size: clamp(1.9rem, 4.2vw, 3.1rem); }
.head p { font-size: 1.15rem; color: var(--soft); max-width: 46ch; }

/* Cómo funciona: 01 · 02 · 03 */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; list-style: none; margin: 0; padding: 0; }
.steps li { padding: 26px 26px 0; display: grid; gap: 14px; align-content: start; overflow: hidden; }
.steps li:nth-child(1) { background: var(--yellow); }
.steps li:nth-child(2) { background: var(--blue); }
.steps li:nth-child(3) { background: var(--peach); }
.steps h3 { font-weight: 900; font-size: 1.45rem; }
.steps p { font-size: 1.02rem; }
.steps .phone { margin: 14px auto -40%; width: 78%; box-shadow: 8px 8px 0 var(--ink); border-radius: 38px; padding: 7px; }
.steps .phone img { border-radius: 31px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; max-width: 520px; } .steps .phone { width: 62%; margin-bottom: -30%; } }

/* Funciones: dos teléfonos y tarjetas */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.duo .phone:nth-child(2) { margin-top: 64px; }
.duo .phone { box-shadow: 8px 8px 0 var(--ink); border-radius: 36px; padding: 7px; }
.duo .phone img { border-radius: 29px; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; list-style: none; margin: 0; padding: 0; }
.features li { padding: 20px; display: grid; gap: 8px; align-content: start; }
.features .ic { width: 44px; height: 44px; border: var(--bw) solid var(--ink); border-radius: 12px; display: grid; place-items: center; box-shadow: 3px 3px 0 var(--ink); }
.features .ic svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.features h3 { font-weight: 700; font-size: 1.05rem; }
.features p { color: var(--soft); font-size: .98rem; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .duo { max-width: 460px; margin: 0 auto; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* Progreso amable */
.kind { background: var(--green); border-block: var(--bw) solid var(--ink); }
.kind .split { grid-template-columns: 1.1fr .9fr; }
.kind .head p { color: var(--ink); }
.kind .phone { width: min(100%, 320px); justify-self: center; transform: rotate(-2deg); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 620px; }
.stats div { padding: 16px; background: var(--sheet); }
.stats b { display: block; font: 900 1.7rem/1 "Unbounded", sans-serif; margin-bottom: 6px; }
.stats span { font-size: .92rem; }
@media (max-width: 900px) { .kind .split { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; } }

/* Brizday Pro */
.pro { background: var(--ink); color: var(--sheet); border-radius: 26px; padding: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; box-shadow: 8px 8px 0 var(--yellow); }
.pro h2 { font-weight: 900; font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.pro .lead { color: #D9CFC2; margin-top: 14px; font-size: 1.1rem; max-width: 36ch; }
.pro .tag { background: var(--yellow); color: var(--ink); }
.pro ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pro li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.pro li::before { content: ""; width: 24px; height: 24px; margin-top: 3px; border-radius: 7px; border: var(--bw) solid var(--sheet); background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141210' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat; }
.pro .free { margin-top: 22px; color: #D9CFC2; font-size: .98rem; }
@media (max-width: 860px) { .pro { grid-template-columns: 1fr; padding: 30px 24px; } }

/* Privada */
.private { background: var(--yellow); padding: 40px; display: grid; grid-template-columns: auto 1fr auto; gap: 24px 36px; align-items: center; }
.private .lock { width: 84px; height: 84px; border: var(--bw) solid var(--ink); border-radius: 22px; background: var(--sheet); display: grid; place-items: center; box-shadow: 4px 4px 0 var(--ink); }
.private .lock svg { width: 42px; height: 42px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.private h2 { font-weight: 900; font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 10px; }
.private p { max-width: 54ch; }
@media (max-width: 820px) { .private { grid-template-columns: 1fr; padding: 28px 22px; } }

/* Soporte */
.faq { display: grid; gap: 14px; max-width: 820px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; display: grid; place-items: center; border: var(--bw) solid var(--ink); border-radius: 9px; background: var(--yellow); font: 900 1.05rem/1 "Unbounded", sans-serif; }
.faq details[open] summary::after { content: "–"; background: var(--blue); }
.faq details p { padding: 0 22px 22px; color: var(--soft); }
.contact { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }

/* Cierre */
.final { background: var(--red); border-top: var(--bw) solid var(--ink); text-align: center; }
.final .wrap { display: grid; justify-items: center; gap: 26px; padding-top: 96px; padding-bottom: 96px; }
.final h2 { font-weight: 900; font-size: clamp(2.6rem, 8vw, 5.6rem); }
.final p { font-size: 1.2rem; max-width: 38ch; }

footer { background: var(--sheet); border-top: var(--bw) solid var(--ink); }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; padding-top: 28px; padding-bottom: 36px; font-size: .92rem; }
.by { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--soft); }
.by img { height: 22px; width: auto; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--soft); }

/* Política de privacidad (brizday.plantekia.com/privacidad) */
.doc { max-width: 740px; margin: 0 auto; padding: 24px max(16px, env(safe-area-inset-left)) 80px; display: grid; gap: 26px; }
.doc h1 { font-weight: 900; font-size: clamp(2.1rem, 6vw, 3.2rem); }
.doc .updated { color: var(--soft); }
.doc section { padding: 22px; display: grid; gap: 10px; }
.doc section:first-of-type { background: var(--yellow); }
.doc h2 { font-weight: 700; font-size: 1.15rem; }
.doc ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.features li:nth-child(6n+1) .ic { background: var(--yellow); }
.features li:nth-child(6n+2) .ic { background: var(--blue); }
.features li:nth-child(6n+3) .ic { background: var(--green); }
.features li:nth-child(6n+4) .ic { background: var(--peach); }
.features li:nth-child(6n+5) .ic { background: var(--lilac); }
.features li:nth-child(6n) .ic { background: var(--red); }

/* ── Portada: la pantalla «Hoy» dibujada, con las tres cosas marcándose solas (anim.js).
   Medidas en cqw para que escale con el teléfono. Sin JS o con movimiento reducido,
   se queda quieta en su primer estado, igual que una captura. */
.phone.live { container-type: inline-size; }
.phone.live .screen { container-type: inline-size; position: relative; overflow: hidden; border-radius: 37px; aspect-ratio: 1320 / 2868; background: var(--paper); padding: 13cqw 6.5cqw 0; display: flex; flex-direction: column; gap: 4.2cqw; font-family: "Space Grotesk", sans-serif; }
.m-top { display: flex; justify-content: space-between; align-items: center; }
.m-tag { font: 700 3.4cqw/1 "Space Mono", monospace; letter-spacing: .05em; background: var(--ink); color: var(--sheet); padding: 2.2cqw 3.6cqw; border-radius: 99px; transform: rotate(-2deg); }
.m-spark { display: inline-flex; align-items: center; gap: 1.2cqw; font: 700 3.8cqw/1 "Space Mono", monospace; background: var(--yellow); border: 2px solid var(--ink); border-radius: 99px; padding: 1.6cqw 3cqw; box-shadow: 1.2cqw 1.2cqw 0 var(--ink); }
.m-spark svg { width: 3.6cqw; height: 3.6cqw; fill: var(--ink); }
.m-count { display: inline-block; min-width: 4.6cqw; text-align: center; }
.m-count.bump { animation: m-bump .5s ease-out; }
.m-head { font: 900 9.5cqw/1.05 "Unbounded", sans-serif; display: grid; justify-items: start; gap: 1cqw; }
.m-sticker { background: var(--yellow); border: 2px solid var(--ink); border-radius: 2.4cqw; padding: 0 2.4cqw .8cqw; box-shadow: 1.2cqw 1.2cqw 0 var(--ink); transform: rotate(-2deg); }
.m-now { position: relative; border: 2px solid var(--ink); border-radius: 5cqw; box-shadow: 1.8cqw 1.8cqw 0 var(--ink); padding: 4.4cqw 4.4cqw 4.6cqw; min-height: 60cqw; background: var(--red); transition: background-color .6s ease; }
.screen.p1 .m-now { background: var(--yellow); }
.screen.p2 .m-now { background: var(--blue); }
.screen.all .m-now { background: var(--green); }
.m-label { display: flex; justify-content: space-between; align-items: center; font: 700 3cqw/1 "Space Mono", monospace; letter-spacing: .06em; }
.m-dots { display: flex; gap: 1.4cqw; }
.m-dots i { width: 3cqw; height: 3cqw; border: 2px solid var(--ink); border-radius: 50%; transition: background-color .4s ease; }
.screen.d1 .m-dots i:nth-child(-n+1), .screen.d2 .m-dots i:nth-child(-n+2), .screen.d3 .m-dots i { background: var(--ink); }
.m-item, .m-all { position: absolute; left: 4.4cqw; right: 4.4cqw; top: 11.5cqw; display: flex; gap: 3cqw; align-items: flex-start; opacity: 0; transform: translateY(3cqw); transition: opacity .45s ease, transform .45s ease; }
.screen.p0 .m-item[data-i="0"], .screen.p1 .m-item[data-i="1"], .screen.p2 .m-item[data-i="2"], .screen.all .m-all { opacity: 1; transform: none; }
.m-big { flex: none; font: 900 6cqw/1 "Unbounded", sans-serif; width: 12cqw; height: 12cqw; display: grid; place-items: center; background: var(--sheet); border: 2px solid var(--ink); border-radius: 3cqw; transform: rotate(-4deg); }
.m-title { font: 900 6.4cqw/1.1 "Unbounded", sans-serif; }
.m-title small { display: block; margin-top: 1.6cqw; font: 700 3.3cqw/1.2 "Space Mono", monospace; }
.m-all { flex-direction: column; gap: 1.6cqw; }
.m-all b { font: 900 8cqw/1 "Unbounded", sans-serif; }
.m-all span { font-size: 3.8cqw; }
.m-done { position: absolute; left: 4.4cqw; right: 4.4cqw; bottom: 4.6cqw; display: flex; justify-content: center; align-items: center; gap: 1.6cqw; font-weight: 700; font-size: 4cqw; background: var(--green); border: 2px solid var(--ink); border-radius: 3cqw; padding: 2.6cqw; box-shadow: 1.2cqw 1.2cqw 0 var(--ink); transition: transform .15s ease, box-shadow .15s ease, opacity .4s ease; }
.m-done svg { width: 4.4cqw; height: 4.4cqw; fill: none; stroke: var(--ink); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.m-done.press { transform: translate(1cqw, 1cqw); box-shadow: 0 0 0 var(--ink); }
.screen.all .m-done { opacity: 0; }
.m-later { font: 900 5cqw/1 "Unbounded", sans-serif; margin-top: 1cqw; }
.m-list { border: 2px solid var(--ink); border-radius: 5cqw; background: var(--sheet); box-shadow: 1.8cqw 1.8cqw 0 var(--ink); overflow: hidden; }
.m-row { display: flex; align-items: center; gap: 3cqw; padding: 0 4cqw; max-height: 18cqw; height: 18cqw; border-top: 2px solid var(--ink); transition: max-height .5s ease, opacity .4s ease, padding .5s ease; font-size: 4.2cqw; }
.m-row:first-child { border-top: 0; }
.screen.p1 .m-row[data-i="1"], .screen.p2 .m-row[data-i="1"], .screen.p2 .m-row[data-i="2"], .screen.all .m-row { max-height: 0; opacity: 0; border-top-width: 0; }
.m-later, .m-list { transition: opacity .5s ease; }
.screen.all .m-later, .screen.all .m-list { opacity: 0; }
.m-num { font: 900 4cqw/1 "Unbounded", sans-serif; width: 9cqw; height: 9cqw; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 2.4cqw; }
.n0 { background: var(--red); } .n1 { background: var(--yellow); } .n2 { background: var(--blue); }
.m-big.n0, .m-big.n1, .m-big.n2 { background: var(--sheet); }
.m-box { width: 6.5cqw; height: 6.5cqw; border: 2px solid var(--ink); border-radius: 1.8cqw; background: var(--sheet); }
.m-plus { position: absolute; left: 50%; top: 58%; display: inline-flex; align-items: center; gap: 1cqw; font: 900 5.4cqw/1 "Unbounded", sans-serif; background: var(--yellow); border: 2px solid var(--ink); border-radius: 3cqw; padding: 2cqw 3.4cqw; box-shadow: 1.2cqw 1.2cqw 0 var(--ink); opacity: 0; transform: translate(-50%, 0) scale(.6); pointer-events: none; }
.m-plus svg { width: 4.6cqw; height: 4.6cqw; fill: var(--ink); }
.m-plus.go { animation: m-plus 1.3s ease-out; }
.m-confetti { position: absolute; inset: 0; pointer-events: none; }
.m-confetti i { position: absolute; top: 46%; left: 50%; width: 3.4cqw; height: 2.4cqw; border: 2px solid var(--ink); opacity: 0; }
.m-confetti i:nth-child(4n+1) { background: var(--yellow); } .m-confetti i:nth-child(4n+2) { background: var(--red); border-radius: 50%; }
.m-confetti i:nth-child(4n+3) { background: var(--blue); } .m-confetti i:nth-child(4n) { background: var(--lilac); border-radius: 50%; }
.screen.party .m-confetti i { animation: m-pop 1.6s ease-out forwards; }
.m-confetti i:nth-child(1) { --x: -30cqw; --y: -34cqw; --r: 200deg; } .m-confetti i:nth-child(2) { --x: 28cqw; --y: -36cqw; --r: -160deg; }
.m-confetti i:nth-child(3) { --x: -40cqw; --y: -10cqw; --r: 120deg; } .m-confetti i:nth-child(4) { --x: 38cqw; --y: -14cqw; --r: -220deg; }
.m-confetti i:nth-child(5) { --x: -18cqw; --y: -46cqw; --r: 90deg; } .m-confetti i:nth-child(6) { --x: 14cqw; --y: -48cqw; --r: -90deg; }
.m-confetti i:nth-child(7) { --x: -34cqw; --y: 8cqw; --r: 260deg; } .m-confetti i:nth-child(8) { --x: 32cqw; --y: 6cqw; --r: -260deg; }
@keyframes m-plus { 0% { opacity: 0; transform: translate(-50%, 0) scale(.6); } 18% { opacity: 1; transform: translate(-50%, -4cqw) scale(1.08); } 70% { opacity: 1; transform: translate(-50%, -14cqw) scale(1); } 100% { opacity: 0; transform: translate(-50%, -20cqw) scale(1); } }
@keyframes m-pop { 0% { opacity: 0; transform: translate(-50%, 0) rotate(0); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(calc(-50% + var(--x)), calc(var(--y) + 30cqw)) rotate(var(--r)); } }
@keyframes m-bump { 40% { transform: scale(1.35); } }

/* ── Entradas suaves al bajar: una cosa cada vez, sin rebotes ni nada encima de nada.
   Solo con JS (anim.js pone .js en <html>) y sin movimiento reducido. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 90ms); }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .reveal.in .sticker { animation: sticker-in .6s cubic-bezier(.2, .8, .3, 1.2) both; animation-delay: calc(var(--i, 0) * 90ms + .25s); }
  .js .stage.reveal .phone { transition: transform .9s cubic-bezier(.2, .7, .2, 1); transform: rotate(6deg) translateY(30px); }
  .js .stage.reveal.in .phone { transform: rotate(2deg); }
  .js .stage.reveal .chip { opacity: 0; transition: opacity .5s ease; }
  .js .stage.reveal.in .chip { opacity: 1; }
  .js .stage.reveal.in .chip.spark { transition-delay: .6s; } .js .stage.reveal.in .chip.done { transition-delay: .9s; } .js .stage.reveal.in .chip.calm { transition-delay: 1.2s; }
}
@keyframes sticker-in { from { transform: rotate(-8deg) scale(.85); } }
.d-1 { --i: 1; } .d-2 { --i: 2; } .d-3 { --i: 3; } .d-4 { --i: 4; } .d-5 { --i: 5; }

.m-bar { position: absolute; left: 4cqw; right: 4cqw; bottom: 5cqw; display: flex; justify-content: space-between; align-items: center; gap: 1cqw; padding: 2cqw; border: 2px solid var(--ink); border-radius: 6cqw; background: var(--sheet); box-shadow: 1.4cqw 1.4cqw 0 var(--ink); font-weight: 700; font-size: 3cqw; }
.m-bar span { flex: 1; text-align: center; padding: 2.6cqw 0; border-radius: 4cqw; }
.m-bar span:first-child { background: var(--yellow); border: 2px solid var(--ink); }

/* Funciones en móvil: primero el título, luego los dos teléfonos grandes (se deslizan de lado) y después las tarjetas. */
@media (max-width: 1099px) {
  :is(#funciones, #features) .split { grid-template-columns: 1fr; gap: 36px; }
  :is(#funciones, #features) .copy { display: contents; }
  :is(#funciones, #features) .head { order: 1; }
  :is(#funciones, #features) .duo { order: 2; }
  :is(#funciones, #features) .features { order: 3; }
}
@media (max-width: 1099px) {
  :is(#funciones, #features) .duo { display: flex; gap: 18px; max-width: none; margin: 0 calc(-1 * max(16px, env(safe-area-inset-left))); padding: 4px max(16px, env(safe-area-inset-left)) 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(16px, env(safe-area-inset-left)); scrollbar-width: none; }
  :is(#funciones, #features) .duo::-webkit-scrollbar { display: none; }
  :is(#funciones, #features) .duo .phone { flex: 0 0 min(78%, 340px); margin-top: 0; scroll-snap-align: start; }
  :is(#funciones, #features) .duo::after { content: ""; flex: 0 0 1px; margin-inline-end: auto; }
  :is(#funciones, #features) .duo .phone:first-child { margin-inline-start: auto; }
}

/* Que respire (revisión ux-ui, 27/10/2026): interlineado de titulares, pegatinas sin pisar la línea de encima, ritmo y letra legible en móvil. */
h1, h2, h3 { line-height: 1.15; }
.why h1 { line-height: 1.18; }
.head h2, .pro h2, .private h2 { line-height: 1.18; text-wrap: balance; }
h1 .sticker, h2 .sticker { margin-block: .26em .14em; }
.pro h2 { margin-top: 16px; }
.steps li { gap: 18px; }
.steps h3 { margin-bottom: -6px; }
.features li { gap: 6px; }
.features .ic { margin-bottom: 10px; }
.features p { font-size: 1.0625rem; }
@media (max-width: 900px) { .steps .phone { width: 84%; margin-bottom: -42%; } :is(#funciones, #features) .head { margin-bottom: 8px; } }
@media (max-width: 700px) { section.band { padding: 64px 0; } section.band.close { padding-top: 0; } .final .wrap { padding-top: 64px; padding-bottom: 64px; } }
.final .wrap { gap: 32px; }
.pro .free, .cta .note { font-size: 1rem; }
@media (max-width: 900px) { .steps li:nth-child(2) .phone { margin-bottom: -76%; } }

/* «Lo justo» en ordenador: se lee primero el título, arriba a la izquierda, y luego sus tarjetas; los teléfonos van
   a la derecha, en un solo grupo grande: la frase delante (lo que promete el titular) y los hábitos detrás. */
@media (min-width: 1100px) {
  :is(#funciones, #features) .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "head duo" "feat duo"; column-gap: 72px; row-gap: 40px; align-items: start; }
  :is(#funciones, #features) .copy { display: contents; }
  :is(#funciones, #features) .head { grid-area: head; margin-bottom: 0; }
  :is(#funciones, #features) .features { grid-area: feat; }
  :is(#funciones, #features) .duo { grid-area: duo; align-self: center; display: block; position: relative; max-width: 540px; width: 100%; justify-self: center; padding: 0 0 8% 0; }
  :is(#funciones, #features) .duo .phone { margin-top: 0; }
  :is(#funciones, #features) .duo .phone:nth-child(2) { position: relative; z-index: 2; width: 68%; transform: rotate(-2.5deg); box-shadow: 12px 12px 0 var(--ink); }
  :is(#funciones, #features) .duo .phone:nth-child(1) { position: absolute; z-index: 1; right: 32px; top: 4%; width: 64%; transform: rotate(5deg); }
}
.hero { overflow-x: clip; }
:is(#funciones, #features) { overflow-x: clip; }

/* Frase del día (28/10/2026): titular a la izquierda y tres momentos de ejemplo a la derecha. */
.quotes .split { grid-template-columns: 1fr 1fr; }
.quotes .note { margin-top: 20px; font-size: 1rem; color: var(--soft); }
.moments { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.moments li { padding: 20px 24px 22px; display: grid; gap: 12px; }
.moments li:nth-child(1) { transform: rotate(-1deg); }
.moments li:nth-child(2) { transform: rotate(.8deg); margin-left: 24px; }
.moments li:nth-child(3) { transform: rotate(-.6deg); }
.moments .when { justify-self: start; font: 700 .78rem/1 "Space Mono", monospace; text-transform: uppercase; letter-spacing: .06em; background: var(--yellow); border: var(--bw) solid var(--ink); border-radius: 999px; padding: 7px 11px 6px; }
.moments q { font: 700 clamp(1.1rem, 2vw, 1.35rem)/1.3 "Unbounded", sans-serif; quotes: "«" "»"; text-wrap: balance; }
:lang(en) .moments q, .moments q:lang(en) { quotes: "“" "”"; }
.moments .who { font-size: .95rem; color: var(--soft); }
@media (max-width: 900px) { .quotes .split { grid-template-columns: 1fr; } .moments li:nth-child(2) { margin-left: 0; } }
@media (prefers-reduced-motion: no-preference) { .moments li { transition: transform .3s cubic-bezier(.2, 0, 0, 1); } }
/* Revisión ux-ui de «Frase del día»: en móvil, titular → ejemplos → cifras; cifras sin caja para no repetir «Cada cosa hecha suma». */
.stats span { display: block; line-height: 1.4; }
.quotes .stats div { background: none; border: 0; border-top: var(--bw) solid var(--ink); border-radius: 0; box-shadow: none; padding: 12px 0 0; }
.quotes .note { margin-top: 24px; color: var(--ink); text-wrap: pretty; }
.quotes .head h2 .sticker { white-space: nowrap; }
@media (min-width: 901px) { :lang(en) .quotes .head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); } }
@media (max-width: 900px) {
  .quotes .split { row-gap: 0; }
  .quotes .split > div:first-child { display: contents; }
  .quotes .head { order: 1; margin-bottom: 32px; }
  .quotes .moments { order: 2; margin-bottom: 48px; }
  .quotes .stats { order: 3; }
  .quotes .note { order: 4; }
}
@media (max-width: 480px) {
  .quotes .stats { gap: 12px; }
  .quotes .stats div { display: grid; grid-template-columns: 72px 1fr; align-items: baseline; column-gap: 12px; }
  .quotes .stats b { margin: 0; }
  .quotes .stats span { font-size: 1rem; }
}
