@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 400 800; font-style: normal; font-display: swap; src: url(/fonts/pjs-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 400 800; font-style: normal; font-display: swap; src: url(/fonts/pjs-latinext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ADHDone — "calma con acentos vibrantes": fondo limpio, tipografía grande, el color vive en Milo y en el botón principal. */
:root {
  --bg: #ffffff; --ink: #1B2440; --muted: #69718F; --card: #ffffff; --tint: #F6F4FF; --tint2: #F1F7FF; --line: rgba(27, 36, 64, .09);
  --coral: #FF7A66; --violet: #9B6BFF; --yellow: #FFC94D; --sky: #5CC8FF; --mint: #4FD1B0; --pink: #FF8FB0;
  --grad: linear-gradient(120deg, #FF7A66 0%, #E86FB0 42%, #9B6BFF 100%);
  --grad-text: linear-gradient(100deg, #FF7A66 0%, #C46BEA 50%, #F5A93B 100%);
  --grad-ok: linear-gradient(120deg, #3CCBB0 0%, #5CC8FF 100%);
  --edge: linear-gradient(120deg, #7FC8FF, #B79CFF 35%, #FF9FC8 70%, #FFD36E);
  --shadow: 0 14px 34px -16px rgba(80, 60, 170, .30);
  --btn-soft: #F3EEFF; --btn-soft-ink: #5B3FC4; --btn-calm: #EAF5FF; --btn-calm-ink: #255D9E;
  --paper: #FFFBF4; --paper-line: rgba(160, 120, 60, .10);
  --ease: cubic-bezier(.22, 1, .36, 1); --spring: cubic-bezier(.34, 1.56, .64, 1); --out: cubic-bezier(.16, 1, .3, 1);
  --safe-t: env(safe-area-inset-top, 0px); --safe-b: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}
html[data-theme=dark] {
  --bg: #0B1026; --ink: #F3F4FF; --muted: #A3A9CF; --card: #141A3E; --tint: #161D45; --tint2: #131B42; --line: rgba(255, 255, 255, .10);
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, .75);
  --btn-soft: #241F57; --btn-soft-ink: #D6CBFF; --btn-calm: #142C55; --btn-calm-ink: #A9D3FF;
  --paper: #151B40; --paper-line: rgba(255, 255, 255, .06);
  color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--bg); color: var(--ink); font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overscroll-behavior: none; transition: background-color .5s ease, color .5s ease; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; touch-action: manipulation; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 14px; }

/* ---------- contenedor ---------- */
#app { position: relative; width: 100vw; height: 100dvh; margin: 0 auto; overflow: hidden; background: var(--bg); container-type: size; isolation: isolate; transition: background-color .5s ease; }
html[data-theme=dark] #app { background: radial-gradient(120% 70% at 50% 0%, #161C4A 0%, var(--bg) 60%); }

/* ---------- cabecera ---------- */
.top { position: absolute; z-index: 8; top: calc(var(--safe-t) + 14px); left: 0; right: 0; margin: 0 auto; width: min(100%, 1120px); padding: 0 16px; display: flex; align-items: center; justify-content: space-between; pointer-events: none; animation: fadeIn .7s both; }
.top > * { pointer-events: auto; }
.brand { font-weight: 800; font-size: 19px; letter-spacing: -.03em; color: var(--ink); opacity: .92; }
.brand b, .word b { font-weight: 800; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.top-actions { display: flex; gap: 8px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); background: var(--tint); transition: transform .25s var(--spring), background .3s; }
.icon-btn:hover { background: color-mix(in srgb, var(--violet) 14%, var(--tint)); }
.icon-btn:active { transform: scale(.86); }

/* ---------- Milo (único, se mueve entre pantallas) ----------
   Tamaño fijo (--base) y solo se mueve con transform: el navegador no recalcula la página en cada fotograma. */
#app { --base: min(300px, 74cqw); --k: .86; --t: 14cqh; --s: calc(var(--base) * var(--k)); }
@media (min-width: 700px) {
  #app { --base: clamp(260px, 38cqh, 360px); --k: 1; }
  #app[data-view=say], #app[data-view=one], #app[data-view=step], #app[data-view=heavy], #app[data-view=focus], #app[data-view=dump] { --k: .48; --t: 74px; }
  #app[data-view=session] { --k: .66; }
  #app[data-view=win], #app[data-view=paywall], #app[data-view=care], #app[data-view=disclaimer] { --k: .52; }
  #app[data-view=home] { --k: .66; }
}
.milo { position: absolute; z-index: 5; left: 50%; top: 0; width: var(--base); height: var(--base); margin-left: calc(var(--base) / -2); transform: translate3d(0, var(--t), 0) scale(var(--k)); transform-origin: 50% 0; transition: transform .62s var(--out), opacity .35s ease; will-change: transform; touch-action: manipulation; }
#app[data-view=splash] { --k: .6; --t: calc(50cqh - 150px); }
#app[data-view=intro] { --t: 13cqh; }
#app[data-view=intro] .milo { opacity: 0; }
#app[data-view=intro].hi .milo { opacity: 1; }
#app[data-view=home] { --k: .62; --t: calc(var(--safe-t) + 64px); }
#app[data-view=think] { --k: .78; --t: 20cqh; }
#app[data-view=say], #app[data-view=one], #app[data-view=step], #app[data-view=heavy], #app[data-view=focus], #app[data-view=dump] { --k: .42; --t: calc(var(--safe-t) + 66px); }
#app[data-view=session] { --k: .6; --t: calc(var(--safe-t) + 70px); }
#app[data-view=win] { --k: .48; --t: calc(var(--safe-t) + 62px); }
#app[data-view=stop] { --k: .4; --t: calc(var(--safe-t) + 64px); }
#app[data-view=paywall], #app[data-view=care], #app[data-view=disclaimer] { --k: .48; --t: calc(var(--safe-t) + 60px); }
#app.sheet-open .milo { opacity: 0; transform: translate3d(0, var(--t), 0) scale(calc(var(--k) * .8)); }
#app[data-view=home] .milo { cursor: pointer; }

/* ---------- vistas ---------- */
.view { position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; padding: calc(var(--t) + var(--s) + 12px) 24px calc(var(--safe-b) + 26px); text-align: center; z-index: 2; }
.view > * { width: 100%; max-width: 440px; }
.view.on { display: flex; animation: viewIn .42s var(--out) both; }
.view.leave { display: flex; animation: viewOut .16s ease-in both; pointer-events: none; }
.view.scroll { overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.view.scroll::-webkit-scrollbar { display: none; }
@keyframes viewIn { from { opacity: 0; transform: translate3d(0, 14px, 0) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes viewOut { to { opacity: 0; transform: translate3d(0, -6px, 0) scale(.99); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.view.on .rise { animation: rise .5s var(--out) both; animation-delay: calc(var(--i, 0) * 55ms + 60ms); }

/* splash */
#v-splash { padding-top: calc(50cqh + 96px); justify-content: flex-start; }
.word { font-size: 34px; font-weight: 800; letter-spacing: -.04em; animation: wordIn .7s .2s var(--out) both; }
@keyframes wordIn { from { opacity: 0; letter-spacing: .14em; } to { opacity: 1; } }

/* intro */
#v-intro { justify-content: flex-start; }
.intro-art { position: absolute; left: 50%; top: var(--t); width: var(--s); height: var(--s); margin-left: calc(var(--s) / -2); transition: opacity .5s ease, transform .6s var(--out); max-width: none; }
.intro-art img { width: 100%; height: 100%; object-fit: contain; animation: floaty 6s ease-in-out infinite; }
.intro-art.gone { opacity: 0; transform: scale(1.12) translateY(-16px); }
.welcome { margin: 10px 0 0; font-size: clamp(25px, 6.6cqw, 32px); line-height: 1.25; font-weight: 700; letter-spacing: -.025em; max-width: 19ch; text-wrap: balance; }
.welcome .acc { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.w { display: inline-block; opacity: 0; transform: translate3d(0, 7px, 0); animation: wordIn2 .42s var(--out) forwards; }
@keyframes wordIn2 { to { opacity: 1; transform: none; } }
@keyframes floaty { 50% { transform: translateY(-9px) rotate(1deg); } }

/* aviso */
.title { margin: 8px 0 0; font-size: clamp(28px, 7.4cqw, 34px); line-height: 1.12; font-weight: 800; letter-spacing: -.035em; text-wrap: balance; }
.sub { margin: 12px 0 0; color: var(--muted); font-size: 17px; line-height: 1.5; font-weight: 500; }
.prose-lg { margin: 16px 0 0; font-size: 17.5px; line-height: 1.55; font-weight: 500; text-align: left; padding: 20px 22px; border-radius: 24px; background: linear-gradient(var(--tint), var(--tint)) padding-box, var(--edge) border-box; border: 1.5px solid transparent; }

/* inicio */
.hello { margin: 0 0 8px; color: var(--muted); font-weight: 600; font-size: 16px; min-height: 22px; }
.ask { margin: 0; font-size: clamp(28px, 7.8cqw, 38px); line-height: 1.14; letter-spacing: -.035em; font-weight: 800; max-width: 16ch; text-wrap: balance; }
.live { min-height: 30px; margin-top: 12px; font-size: 19px; font-weight: 600; color: var(--violet); max-width: 26ch; text-wrap: balance; }
html[data-theme=dark] .live { color: #CDBFFF; }
.catchup { display: flex; gap: 10px; justify-content: center; margin-top: 14px; animation: rise .6s var(--ease) both; }
.home-bottom { margin-top: auto; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.talk-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 62px; padding: 0 30px 0 12px; border-radius: 99px; color: #fff; font-weight: 750; font-size: 18px; letter-spacing: -.01em; background: var(--grad); box-shadow: 0 16px 32px -14px rgba(200, 90, 170, .75); transition: transform .3s var(--spring), box-shadow .3s; }
.talk-btn .talk-ico { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .22); }
@media (hover: hover) { .talk-btn:hover { transform: translateY(-2px); box-shadow: 0 20px 38px -14px rgba(200, 90, 170, .85); } }
.talk-btn:active { transform: scale(.95); transition-duration: .08s; }
.talk-btn.sm { min-height: 54px; font-size: 16px; padding: 0 22px 0 8px; }
.talk-btn.sm .talk-ico { width: 38px; height: 38px; }
.talk-btn.on { animation: talkPulse 1.6s ease-in-out infinite; }
@keyframes talkPulse { 50% { box-shadow: 0 16px 32px -14px rgba(200, 90, 170, .75), 0 0 0 12px rgba(232, 111, 176, .16); } }
.fallback { width: 100%; display: none; flex-direction: column; gap: 12px; align-items: center; }
.fallback.show { display: flex; animation: rise .4s var(--out) both; }
.textrow { width: 100%; max-width: 440px; display: flex; gap: 10px; align-items: center; border-radius: 22px; padding: 6px 6px 6px 18px; background: linear-gradient(var(--card), var(--card)) padding-box, linear-gradient(120deg, color-mix(in srgb, #B79CFF 55%, transparent), color-mix(in srgb, #FFD36E 55%, transparent)) border-box; border: 1.5px solid transparent; transition: box-shadow .3s; }
.textrow:focus-within { box-shadow: 0 0 0 4px color-mix(in srgb, var(--violet) 16%, transparent); }
.textrow input { flex: 1; min-width: 0; border: 0; background: none; outline: 0; font-size: 16px; padding: 12px 0; color: var(--ink); }
.textrow input::placeholder { color: var(--muted); }
.send { width: 46px; height: 46px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: var(--grad); transition: transform .25s var(--spring); flex: none; }
.send:active { transform: scale(.86); }
.chips { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; }
.chip { padding: 10px 16px; border-radius: 99px; background: var(--card); border: 1.5px solid var(--line); font-weight: 650; font-size: 14.5px; color: var(--ink); transition: transform .25s var(--spring), border-color .3s, background .3s; animation: rise .4s var(--out) both; animation-delay: calc(var(--i) * 40ms); }
.chip:hover { border-color: var(--violet); }
.chip:active { transform: scale(.93); transition-duration: .08s; }
.chips.big .chip { padding: 13px 20px; font-size: 16px; }

.thinking { margin: 0; font-size: 20px; font-weight: 700; color: var(--muted); animation: breathe 1.6s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .5; } }

/* burbuja de Milo (borde fino de color) */
.bubble { position: relative; margin: 18px 0 0; padding: 20px 22px; border-radius: 28px; font-size: 19px; line-height: 1.42; font-weight: 600; letter-spacing: -.01em; background: linear-gradient(var(--tint), var(--tint)) padding-box, var(--edge) border-box; border: 1.5px solid transparent; animation: bubbleIn .45s var(--out) both; transition: padding .35s var(--out), font-size .35s var(--out), color .35s; }
.bubble::before { content: ''; position: absolute; top: -9px; left: 50%; width: 16px; height: 16px; margin-left: -8px; transform: rotate(45deg); background: linear-gradient(135deg, #B79CFF, #7FC8FF); clip-path: polygon(0 0, 100% 0, 0 100%); border-radius: 3px 0 0 0; }
.bubble::after { content: ''; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; margin-left: -6px; transform: rotate(45deg); background: var(--tint); clip-path: polygon(0 0, 100% 0, 0 100%); }
.bubble p { margin: 0; }
.bubble .recall { margin-top: 10px; font-size: 16px; color: var(--muted); }
@keyframes bubbleIn { from { opacity: 0; transform: translateY(10px) scale(.96); } }
.bubble.compact { padding: 14px 18px; font-size: 16px; color: var(--muted); }

/* tarjetas */
.kicker { display: block; font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; }
.stepcard, .onecard { position: relative; margin: 66px 0 0; padding: 60px 24px 26px; border-radius: 30px; background: linear-gradient(var(--card), var(--card)) padding-box, linear-gradient(135deg, #FF9A8A, #B79CFF 55%, #FFD36E) border-box; border: 2px solid transparent; box-shadow: var(--shadow); animation: cardIn .55s var(--out) both; }
.onecard { margin-top: 18px; padding-top: 26px; }
.stepart { position: absolute; width: 108px; height: 108px; top: -60px; left: 50%; margin-left: -54px; object-fit: contain; filter: drop-shadow(0 12px 14px rgba(124, 92, 255, .25)); animation: floaty 5s ease-in-out infinite; }
.steptext, .onetext { margin: 0; font-size: clamp(24px, 6.6cqw, 29px); line-height: 1.22; font-weight: 800; letter-spacing: -.028em; text-wrap: balance; }
.oneproj { margin: 10px 0 0; color: var(--muted); font-weight: 600; font-size: 15px; }
.whybtn { margin-top: 14px; padding: 8px 14px; border-radius: 99px; font-weight: 700; font-size: 14px; color: var(--btn-soft-ink); background: var(--btn-soft); transition: transform .25s var(--spring); }
.whybtn:active { transform: scale(.94); }
.onewhy { margin: 12px 0 0; font-size: 16.5px; font-weight: 600; color: var(--ink); animation: rise .5s var(--ease) both; }
.alsosoon { margin: 16px 0 0; color: var(--muted); font-weight: 600; font-size: 15px; line-height: 1.45; }
@keyframes cardIn { from { opacity: 0; transform: translateY(26px) scale(.95); } }

/* botones */
.actions { margin-top: 22px; display: flex; flex-direction: column; gap: 11px; align-items: stretch; }
.actions.in .btn { animation: rise .42s var(--out) both; }
.actions.in .btn:nth-child(2) { animation-delay: .05s; } .actions.in .btn:nth-child(3) { animation-delay: .1s; } .actions.in > :nth-child(4) { animation: rise .42s .15s var(--out) both; }
.btn { min-height: 56px; padding: 15px 24px; border-radius: 20px; font-weight: 700; font-size: 17px; letter-spacing: -.01em; text-align: center; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; position: relative; overflow: hidden; transition: transform .25s var(--spring), box-shadow .3s, filter .3s; -webkit-user-select: none; user-select: none; }
@media (hover: hover) { .btn:hover { filter: brightness(1.05); transform: translateY(-1px); } }
.btn:active { transform: scale(.96); transition-duration: .08s; }
.btn.primary { color: #fff; background: var(--grad); box-shadow: 0 14px 26px -14px rgba(200, 90, 170, .85); }
.btn.soft { color: var(--btn-soft-ink); background: var(--btn-soft); }
.btn.calm { color: var(--btn-calm-ink); background: var(--btn-calm); }
.btn.big { min-height: 62px; font-size: 19px; border-radius: 22px; }
.btn.sm { min-height: 46px; padding: 10px 18px; font-size: 15.5px; border-radius: 16px; }
.btn::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255, 255, 255, .55), transparent 55%); opacity: 0; transform: scale(.2); transition: opacity .5s, transform .6s var(--ease); }
.btn.ripple::after { opacity: 1; transform: scale(2.4); transition: none; animation: ripple .6s ease-out forwards; }
@keyframes ripple { to { opacity: 0; transform: scale(2.6); } }
.linkbtn { margin-top: 6px; padding: 12px 16px; color: var(--muted); font-weight: 700; font-size: 15.5px; border-radius: 14px; transition: color .25s, transform .25s var(--spring); }
.linkbtn:hover { color: var(--ink); }
.linkbtn:active { transform: scale(.95); }
.row-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 12px; }
.notify-card, .midcard { margin-top: 18px; padding: 18px; border-radius: 24px; background: var(--tint2); font-weight: 600; font-size: 16px; line-height: 1.45; animation: cardIn .6s var(--ease) both; }
.notify-card p, .midcard p { margin: 0; }

/* sesión de compañía / enfoque: calma, nada de rojo */
#v-session { justify-content: flex-start; }
.sess-label { margin: 4px 0 0; font-weight: 700; color: var(--muted); font-size: 15px; letter-spacing: .02em; }
.sess-purpose { margin: 6px 0 0; font-size: clamp(21px, 5.8cqw, 26px); font-weight: 800; letter-spacing: -.025em; line-height: 1.25; text-wrap: balance; }
.sess-timer { position: relative; width: 168px; height: 168px; margin: 18px 0 4px; display: grid; place-items: center; }
.sess-timer svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.sess-timer circle { fill: none; stroke-width: 6; }
.sess-timer .trk { stroke: var(--tint); }
.sess-timer .bar { stroke: url(#tg); stroke-linecap: round; stroke-dasharray: 339.3; stroke-dashoffset: 0; transition: stroke-dashoffset 1s linear; }
.sess-timer span { font-size: 38px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.sess-tip { margin: 10px 0 0; color: var(--muted); font-size: 14.5px; font-weight: 600; line-height: 1.45; }
.sess-actions { margin-top: auto; }

/* enfoque: elegir duración */
.seg { display: inline-flex; background: var(--tint); border-radius: 14px; padding: 4px; gap: 2px; }
.seg button { padding: 8px 14px; border-radius: 11px; font-weight: 700; font-size: 14.5px; color: var(--muted); transition: background .3s, color .3s, transform .25s var(--spring); }
.seg button.on { background: var(--grad); color: #fff; }
.seg button:active { transform: scale(.92); }
.seg.big { margin: 20px auto 14px; width: auto; }
.seg.big button { padding: 12px 20px; font-size: 16px; }

/* ilustraciones */
.win-art, .heavy-art { position: relative; display: grid; place-items: center; margin: 4px auto 0; }
.win-art { width: min(58cqw, 250px); aspect-ratio: 1; margin-top: 10px; }
.win-art img { width: 100%; height: 100%; object-fit: contain; animation: artIn .6s var(--spring) both, floaty 6s .6s ease-in-out infinite; }
@keyframes artIn { from { opacity: 0; transform: scale(.6) rotate(-6deg); } }
.heavy-art { width: 150px; height: 150px; margin-top: 4px; }
.heavy-art img { width: 100%; height: 100%; object-fit: contain; animation: floaty 6s ease-in-out infinite; }
.win-title { margin: 8px 0 0; font-size: 32px; line-height: 1.1; font-weight: 800; letter-spacing: -.035em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.win-text { margin: 10px 0 0; font-size: 20px; line-height: 1.38; font-weight: 600; text-wrap: balance; }
.win-q { margin: 14px 0 0; color: var(--muted); font-size: 15.5px; font-weight: 600; }
#confetti { position: absolute; inset: 0; z-index: 7; pointer-events: none; overflow: hidden; }
#confetti i { position: absolute; width: 9px; height: 14px; border-radius: 3px; opacity: 0; animation: conf 1.8s var(--ease) forwards; }
@keyframes conf { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--r)); } }

/* pago */
.pay-points { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; text-align: left; }
.pay-points li { display: flex; gap: 12px; align-items: center; font-weight: 700; font-size: 16.5px; }
.pay-points li::before { content: ''; flex: none; width: 26px; height: 26px; border-radius: 50%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center/14px no-repeat, var(--grad-ok); }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.plan { position: relative; text-align: left; padding: 18px 16px; border-radius: 22px; background: var(--card); border: 2px solid var(--line); transition: border-color .3s, transform .25s var(--spring), box-shadow .3s; }
.plan:active { transform: scale(.97); }
.plan.on { border-color: transparent; background: linear-gradient(var(--card), var(--card)) padding-box, var(--grad) border-box; box-shadow: var(--shadow); }
.plan b { display: block; font-size: 15px; color: var(--muted); }
.plan strong { display: block; margin-top: 6px; font-size: 26px; letter-spacing: -.03em; }
.plan small { color: var(--muted); font-weight: 600; }
.plan em { position: absolute; top: -11px; right: 12px; font-style: normal; font-size: 12px; font-weight: 800; color: #fff; padding: 4px 10px; border-radius: 99px; background: var(--grad-ok); }
.care-text { margin: 14px 0 0; font-size: 18px; line-height: 1.5; font-weight: 600; text-align: left; }

/* paneles */
.sheet { position: absolute; inset: 0; z-index: 9; background: var(--bg); display: flex; flex-direction: column; padding-top: var(--safe-t); animation: sheetIn .4s var(--out) both; }
.sheet.out { animation: sheetOut .22s ease-in both; }
@keyframes sheetIn { from { opacity: 0; transform: translateY(30px); } }
@keyframes sheetOut { to { opacity: 0; transform: translateY(24px); } }
.sheet-bar, .sheet-body { width: 100%; max-width: 620px; margin: 0 auto; }
.sheet-bar { display: flex; align-items: center; gap: 12px; padding: 16px 16px 8px; }
.sheet-bar h2 { margin: 0; flex: 1; font-size: 26px; font-weight: 800; letter-spacing: -.035em; }
.sheet-bar .mini { width: 48px; height: 48px; display: block; }
.sheet-body { flex: 1; overflow-y: auto; padding: 6px 16px calc(var(--safe-b) + 34px); scrollbar-width: none; }
.sheet-body::-webkit-scrollbar { display: none; }
.group { margin-top: 18px; animation: rise .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 50ms); }
.group > h3 { margin: 0 0 8px 4px; font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.card { background: var(--tint); border-radius: 22px; padding: 4px 18px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 0; font-weight: 700; font-size: 16.5px; text-align: left; }
.row + .row { border-top: 1px solid var(--line); }
.row small { display: block; color: var(--muted); font-weight: 500; font-size: 13.5px; margin-top: 3px; line-height: 1.35; }
.row.link { width: 100%; }
.row.col { flex-direction: column; align-items: stretch; }
.switch { position: relative; flex: none; width: 54px; height: 32px; border-radius: 99px; background: color-mix(in srgb, var(--muted) 35%, transparent); transition: background .3s; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); transition: transform .4s var(--spring); }
.switch[aria-checked=true] { background: var(--grad); }
.switch[aria-checked=true]::after { transform: translateX(22px); }
.danger-btn { width: 100%; padding: 15px; border-radius: 18px; font-weight: 700; color: var(--muted); background: var(--tint); margin-top: 14px; transition: transform .25s var(--spring); }
.danger-btn:active { transform: scale(.97); }
.empty { text-align: center; padding: 20px 10px; color: var(--muted); font-weight: 600; line-height: 1.45; }
.empty img { width: 170px; height: 170px; object-fit: contain; display: block; margin: 0 auto 10px; animation: floaty 6s ease-in-out infinite; }
.prose { line-height: 1.6; font-weight: 500; font-size: 16px; color: var(--ink); }
.mem-item { display: flex; align-items: center; gap: 10px; padding: 14px 0; font-weight: 600; font-size: 15.5px; line-height: 1.35; animation: rise .4s var(--ease) both; }
.mem-item + .mem-item { border-top: 1px solid var(--line); }
.mem-item span { flex: 1; text-align: left; }
.mem-item input { flex: 1; min-width: 0; font-size: 16px; padding: 8px 10px; border-radius: 12px; border: 1.5px solid var(--violet); background: var(--card); outline: 0; }
.mini-btn { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; color: var(--muted); background: var(--bg); transition: transform .25s var(--spring), color .2s; }
.mini-btn:hover { color: var(--ink); }
.mini-btn:active { transform: scale(.85); }

/* libreta cálida ("ver todo", solo a petición) */
.nb { position: relative; margin-top: 14px; padding: 10px 18px 10px 30px; border-radius: 24px; background: repeating-linear-gradient(var(--paper) 0 47px, var(--paper-line) 47px 48px), var(--paper); box-shadow: var(--shadow); }
.nb::before { content: ''; position: absolute; left: 16px; top: 14px; bottom: 14px; width: 2px; border-radius: 2px; background: linear-gradient(#FF9A8A, #B79CFF, #FFD36E); opacity: .6; }
.nb-item { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 6px 0; text-align: left; width: 100%; font-size: 17px; font-weight: 600; line-height: 1.3; animation: rise .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); }
.nb-item .dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--violet)); }
.nb-item .t { flex: 1; }
.nb-item .when { flex: none; font-size: 12.5px; font-weight: 700; color: var(--btn-soft-ink); background: var(--btn-soft); padding: 4px 10px; border-radius: 99px; }
.nb-item .p { display: block; font-size: 13px; color: var(--muted); font-weight: 600; margin-top: 2px; }
.nb-actions { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 0 12px 22px; animation: rise .35s var(--ease) both; }
.nb-actions .btn { min-height: 40px; padding: 8px 14px; font-size: 14.5px; border-radius: 14px; }
.proj { margin-top: 12px; padding: 16px 18px; border-radius: 22px; background: var(--tint); text-align: left; }
.proj b { font-size: 17px; }
.proj p { margin: 4px 0 10px; color: var(--muted); font-weight: 600; font-size: 14.5px; }
.proj li { list-style: none; display: flex; gap: 10px; align-items: center; padding: 5px 0; font-weight: 600; font-size: 15px; }
.proj ul { margin: 0; padding: 0; }
.proj li i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); flex: none; }
.proj li.done i { border: 0; background: var(--grad-ok); }
.proj li.done { color: var(--muted); }
.proj li.next { color: var(--ink); }
.proj li.next i { border-color: var(--violet); }

.toast { position: absolute; z-index: 20; left: 50%; bottom: calc(var(--safe-b) + 30px); transform: translate(-50%, 30px); max-width: min(86%, 380px); padding: 14px 20px; border-radius: 18px; background: var(--ink); color: var(--bg); font-weight: 600; font-size: 15px; text-align: center; opacity: 0; pointer-events: none; transition: opacity .4s, transform .5s var(--ease); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.gate { position: absolute; z-index: 9; left: 50%; bottom: calc(var(--safe-b) + 11cqh); transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; border-radius: 99px; font-weight: 700; font-size: 16px; color: #fff; background: var(--grad); box-shadow: 0 14px 30px -12px rgba(200, 90, 170, .9); animation: gateIn .7s var(--ease) both, gatePulse 2.2s 1s ease-in-out infinite; white-space: nowrap; }
@keyframes gateIn { from { opacity: 0; transform: translate(-50%, 20px) scale(.9); } }
@keyframes gatePulse { 50% { box-shadow: 0 14px 30px -12px rgba(200, 90, 170, .9), 0 0 0 12px rgba(232, 111, 176, .15); } }

/* ---------- inicio: la organización a la vista ---------- */
#v-home { padding-top: calc(var(--t) + var(--s) + 4px); }
.homeone { margin-top: 14px; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 22px; text-align: left; background: linear-gradient(var(--card), var(--card)) padding-box, linear-gradient(120deg, #FF9A8A, #B79CFF 55%, #FFD36E) border-box; border: 1.5px solid transparent; box-shadow: var(--shadow); transition: transform .25s var(--spring), box-shadow .3s, opacity .3s; opacity: .0; }
.homeone.ready { opacity: 1; }
.homeone:active { transform: scale(.97); transition-duration: .08s; }
@media (hover: hover) { .homeone:hover { transform: translateY(-2px); } }
.ho-ico { flex: none; width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: var(--grad); }
.homeone.empty .ho-ico { background: var(--grad-ok); }
.ho-txt { flex: 1; min-width: 0; }
.ho-txt small { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ho-txt b { display: block; margin-top: 3px; font-size: 16.5px; font-weight: 750; line-height: 1.3; letter-spacing: -.01em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.homeone.empty .ho-txt b { font-weight: 600; font-size: 15.5px; }
.ho-arrow { flex: none; color: var(--muted); transition: transform .3s var(--spring); }
.homeone:hover .ho-arrow { transform: translateX(3px); }
.home-bottom { gap: 12px; width: 100%; }
.talk-row { display: flex; gap: 10px; align-items: center; justify-content: center; width: 100%; }
.key-btn { width: 54px; height: 54px; flex: none; border-radius: 50%; display: grid; place-items: center; color: var(--ink); background: var(--tint); transition: transform .25s var(--spring), background .3s; }
.key-btn:active { transform: scale(.88); transition-duration: .08s; }
.dock { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.tile { position: relative; overflow: hidden; display: flex; align-items: center; gap: 11px; padding: 12px 12px; border-radius: 20px; text-align: left; background: var(--tint); border: 1.5px solid transparent; transition: transform .25s var(--spring), border-color .3s, background .3s, box-shadow .3s; animation: tileIn .5s var(--out) both; animation-delay: calc(var(--i) * 45ms + 140ms); }
@keyframes tileIn { from { opacity: 0; transform: translate3d(0, 14px, 0) scale(.94); } }
.tile:active { transform: scale(.95); transition-duration: .08s; }
@media (hover: hover) { .tile:hover { border-color: color-mix(in srgb, var(--c1) 45%, transparent); transform: translateY(-2px); box-shadow: var(--shadow); } }
.tile-ico { flex: none; width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 8px 16px -8px var(--c1); transition: transform .35s var(--spring); }
.tile:hover .tile-ico { transform: rotate(-6deg) scale(1.06); }
.tile-txt { min-width: 0; }
.tile-txt b { display: block; font-size: 14.5px; font-weight: 750; letter-spacing: -.01em; line-height: 1.2; }
.tile-txt small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.tile.t0 { --c1: #FF7A66; --c2: #E86FB0; } .tile.t1 { --c1: #9B6BFF; --c2: #5CC8FF; } .tile.t2 { --c1: #3CCBB0; --c2: #5CC8FF; } .tile.t3 { --c1: #7B6BFF; --c2: #B57CFF; }
.tile::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255, 255, 255, .5), transparent 55%); opacity: 0; pointer-events: none; }
.pulse { animation: pulseRing 1.2s var(--out) 1 !important; }
@keyframes pulseRing { 0% { box-shadow: 0 0 0 0 rgba(155, 107, 255, .55); } 100% { box-shadow: 0 0 0 16px rgba(155, 107, 255, 0); } }

/* ---------- vaciar la cabeza ---------- */
#v-dump { justify-content: flex-start; }
.title.sm { font-size: clamp(25px, 6.6cqw, 30px); }
#v-dump .sub { font-size: 15.5px; margin-top: 8px; }
.dump-list { flex: 1; min-height: 80px; margin-top: 14px; overflow-y: auto; display: flex; flex-direction: column; gap: 9px; padding: 4px 2px 10px; scrollbar-width: none; -webkit-mask-image: linear-gradient(transparent, #000 14px, #000 calc(100% - 14px), transparent); mask-image: linear-gradient(transparent, #000 14px, #000 calc(100% - 14px), transparent); }
.dump-list::-webkit-scrollbar { display: none; }
.dump-empty { margin: auto 0; color: var(--muted); font-weight: 600; font-size: 16px; line-height: 1.5; animation: fadeIn .5s both; }
.dump-item { --kc: #9B6BFF; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; padding: 13px 16px; border-radius: 18px; text-align: left; background: var(--card); border: 1.5px solid var(--line); border-left: 4px solid var(--kc); box-shadow: 0 10px 22px -18px rgba(60, 40, 140, .5); animation: itemIn .55s var(--spring) both; animation-delay: var(--d, 0ms); transform-origin: 50% 100%; }
@keyframes itemIn { from { opacity: 0; transform: translate3d(0, 22px, 0) scale(.9); } }
.dump-item p { margin: 0; flex: 1 1 100%; font-weight: 650; font-size: 16px; line-height: 1.35; }
.dump-item .tag { font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--kc); }
.dump-item em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--btn-soft-ink); background: var(--btn-soft); padding: 3px 9px; border-radius: 99px; }
.dump-item.k-task { --kc: #FF7A66; } .dump-item.k-emotion { --kc: #E86FB0; } .dump-item.k-context { --kc: #3CCBB0; }
.dump-item.pending { opacity: .6; animation: itemIn .4s var(--out) both, breathe 1.2s ease-in-out infinite; }
.dump-item.gather { animation: gather .5s var(--ease) forwards; animation-delay: var(--d, 0ms); }
@keyframes gather { to { opacity: 0; transform: translate3d(0, -60cqh, 0) scale(.3); } }
.dump-bottom { display: flex; flex-direction: column; gap: 10px; align-items: center; padding-top: 6px; }
.dump-bottom .live { margin: 0; min-height: 24px; font-size: 16px; }
.dump-btns { display: flex; gap: 10px; width: 100%; justify-content: center; }
.dump-btns .btn { flex: 1; max-width: 220px; white-space: nowrap; font-size: 15.5px; padding: 12px 16px; opacity: .55; transition: opacity .3s, transform .25s var(--spring); }
.dump-btns .btn.ready { opacity: 1; }

/* ---------- recorrido guiado ---------- */
.tour { position: absolute; inset: 0; z-index: 30; opacity: 0; transition: opacity .3s ease; }
.tour.in { opacity: 1; }
.tour.out { opacity: 0; }
.tour-spot { position: absolute; left: 0; top: 0; width: 60px; height: 60px; border-radius: 24px; box-shadow: 0 0 0 200vmax rgba(9, 12, 32, .62); transition: transform .5s var(--out), width .5s var(--out), height .5s var(--out), border-radius .5s var(--out); pointer-events: none; }
.tour-spot::after { content: ''; position: absolute; inset: -4px; border-radius: inherit; border: 2px solid rgba(255, 255, 255, .85); animation: spotPulse 1.6s ease-in-out infinite; }
@keyframes spotPulse { 50% { inset: -9px; opacity: .35; } }
.tour-card { position: absolute; left: 50%; width: min(calc(100% - 32px), 400px); transform: translateX(-50%); padding: 18px 20px 14px; border-radius: 24px; background: var(--card); color: var(--ink); text-align: left; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .55); transition: top .5s var(--out), bottom .5s var(--out); }
.tour-card.swap { animation: cardSwap .42s var(--out) both; }
@keyframes cardSwap { from { opacity: 0; transform: translate(-50%, 10px) scale(.97); } to { opacity: 1; transform: translate(-50%, 0); } }
.tour-card h3 { margin: 8px 0 0; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.tour-card p { margin: 6px 0 0; font-size: 15.5px; line-height: 1.45; font-weight: 550; color: var(--muted); }
.tour-dots { display: flex; gap: 5px; }
.tour-dots i { width: 6px; height: 6px; border-radius: 99px; background: var(--line); transition: width .35s var(--out), background .35s; }
.tour-dots i.on { width: 20px; background: var(--grad); }
.tour-btns { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.tour-btns .linkbtn { margin: 0; padding: 10px 6px; }

/* escritorio: misma calma, más aire */
@media (min-width: 700px) {
  .view { padding-left: 40px; padding-right: 40px; }
  .view > * { max-width: 520px; }
  .ask { font-size: 48px; }
  .onetext, .steptext { font-size: 34px; }
  .bubble { font-size: 21px; }
  .sess-purpose { font-size: 30px; }
  .top { top: 22px; padding: 0 32px; }
  .dock { grid-template-columns: repeat(4, 1fr); }
  .tile { flex-direction: column; align-items: flex-start; padding: 14px; }
  #v-home > * { max-width: 640px; }
  .brand { font-size: 22px; }
}
@media (max-height: 740px) { #app[data-view=home] { --k: .48; } .ask { font-size: 26px !important; } .homeone { margin-top: 10px; padding: 11px 14px; } .tile { padding: 9px 10px; } .tile-ico { width: 34px; height: 34px; } }
@media (max-height: 680px) { .view { padding-left: 20px; padding-right: 20px; } .stepcard { margin-top: 60px; padding-top: 54px; } .win-art { width: min(44cqw, 190px); } .ask { font-size: 26px; } }
html[data-reduce="1"] *, html[data-reduce="1"] *::before, html[data-reduce="1"] *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .15s !important; }
@media (prefers-reduced-motion: reduce) { .tour-spot::after, .intro-art img, .win-art img, .stepart, .empty img, .heavy-art img, .talk-btn.on { animation: none !important; } }
