/* A single clipped mascot rises from the greeting edge. No duplicated paws or desynchronised animation. */
.eyebrow{gap:9px;min-height:0;padding:7px 15px;position:relative;isolation:isolate;overflow:visible;white-space:nowrap;background:transparent;border-color:transparent;box-shadow:none}
.eyebrow::before{content:"";position:absolute;inset:0;z-index:2;border:0;border-radius:inherit;background:#fff;box-shadow:0 9px 14px -11px rgba(50,40,120,.07);pointer-events:none}
.eyebrow .pulse{position:relative;z-index:5;flex:0 0 auto}
.greeting-text{position:relative;z-index:5;display:inline-flex;align-items:center;min-width:123px;gap:2px}
.greeting-mascot-stage{position:absolute;z-index:4;right:4px;bottom:calc(100% - 6px);width:88px;height:88px;overflow:hidden;pointer-events:none}
.greeting-mascot-art{position:absolute;display:block;left:0;bottom:-3px;width:88px;height:88px;opacity:0;transform:translate3d(0,67px,0) scale(.96);transform-origin:50% 100%;backface-visibility:hidden}
.greeting-mascot-gesture{position:absolute;inset:0;display:block;transform-origin:50% 82%}
.greeting-mascot-gesture.is-acknowledging{animation:zeni-acknowledge 600ms ease-in-out}
@keyframes zeni-acknowledge{0%,100%{transform:rotate(0)}27%,45%{transform:rotate(.65deg)}}
.greeting-mascot-art img,.greeting-mascot-blink{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none}
.greeting-mascot-blink{opacity:0}
.greeting-mascot-blink.is-blinking{animation:zeni-blink 160ms ease-in-out}
@keyframes zeni-blink{0%,100%{opacity:0}35%,65%{opacity:1}}
.zeni-arriving .greeting-mascot-art{animation:zeni-greeting-rise .82s cubic-bezier(.2,.82,.24,1.06) both}
@keyframes zeni-greeting-rise{
  0%{opacity:0;transform:translate3d(0,67px,0) scale(.96)}
  14%{opacity:1}
  72%{opacity:1;transform:translate3d(0,-2px,0) scale(1.008)}
  86%{opacity:1;transform:translate3d(0,1px,0) scale(.998)}
  100%{opacity:1;transform:translate3d(0,0,0) scale(1)}
}
@media(max-width:650px){
  .greeting-mascot-stage{right:3px;bottom:calc(100% - 5px);width:74px;height:74px}
  .greeting-mascot-art{width:74px;height:74px;bottom:-2px}
}

/* One continuous memory list. Preferences carry the same weight as context. */
.memory-card{padding:22px 26px}
.memory-card .mem-head{margin-bottom:0;padding-bottom:12px;border-color:rgba(27,28,58,.06)}
.memory-card .mem-row{padding:8.5px 0;align-items:center;border-color:rgba(27,28,58,.06)}
.memory-card .mem-row:last-of-type{padding-bottom:12px}
.memory-card .mr-ic{width:30px;height:30px;border-radius:9px;font-size:14px;background:#f0edf9}
.mem-control-note{padding-top:11px;border-top:1px solid rgba(27,28,58,.06);color:var(--muted);font-size:11.5px;line-height:1.5}

/* The existing six tabs open an editorial example, not another device mockup. */
.outcome-shell{max-width:1040px}
.outcome-panel{display:grid;grid-template-columns:1fr .95fr;align-items:center;gap:40px;padding:38px;min-height:350px;overflow:hidden}
.oc-copy{min-width:0}
.outcome-panel .oc-head{align-items:flex-start;gap:14px;margin-bottom:24px}
.outcome-panel .oc-head h3{font-size:24px;line-height:1.2}
.outcome-panel .oc-ic{width:42px;height:42px;border-radius:13px;font-size:21px}
.outcome-panel .oc-list{grid-template-columns:1fr;gap:13px}
.oc-demo{min-width:0;position:relative;align-self:stretch;display:flex;align-items:center;border-left:1px solid var(--line);padding:20px 0 20px 32px}
.oc-demo::before{content:"";position:absolute;inset:-38px -38px -38px 0;z-index:0;background:linear-gradient(135deg,#f7f5fc,#eeebf8);pointer-events:none}
.oc-demo-chat{position:relative;display:flex;flex-direction:column;gap:22px;width:100%;z-index:1}
.oc-demo-bubble{position:relative;font-size:14px;line-height:1.65;overflow-wrap:break-word;box-shadow:0 3px 10px rgba(27,28,58,.035)}
.oc-demo-bubble.user{align-self:flex-end;max-width:88%;padding:13px 17px;background:var(--wa-out);color:var(--wa-out-tx);border-radius:17px 17px 4px 17px;border:1px solid rgba(80,124,55,.05)}
.oc-response{display:flex;align-items:flex-end;gap:9px}
.oc-response-mark{flex-shrink:0;width:27px;height:27px;display:grid;place-items:center;border:1px solid #fff;border-radius:9px;background:white;box-shadow:var(--shadow-sm)}
.oc-response-mark img{width:23px;height:23px;object-fit:contain}
.oc-demo-bubble.zeni{background:white;color:var(--ink2);padding:17px 19px;border:1px solid rgba(27,28,58,.05);border-radius:18px 18px 18px 4px}
.outcome-panel.anim .oc-demo-bubble.user{animation:example-arrive .45s cubic-bezier(.2,.8,.2,1) both}
.outcome-panel.anim .oc-response{animation:example-arrive .55s .15s cubic-bezier(.2,.8,.2,1) both}
@keyframes example-arrive{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}

/* A dimensional working scene underneath real, readable planning surfaces. */
.chapter-shell{max-width:1040px}
.chapter-panel.chapter-with-mascot{isolation:isolate;position:relative;grid-template-columns:1fr 1.05fr;gap:26px;padding:40px 0 0 40px;min-height:490px;overflow:hidden;background:linear-gradient(110deg,#fff 45%,#faf8ff);border-radius:26px}
.chapter-copy{position:relative;z-index:2;padding-bottom:40px;min-width:0}
.chapter-with-mascot .ch-title{font-size:30px;line-height:1.16;letter-spacing:-.8px;max-width:360px}
.chapter-art{position:relative;align-self:stretch;min-height:450px;isolation:isolate}
.chapter-art::before{content:"";position:absolute;inset:16% -18% -28% -10%;border-radius:50%;background:radial-gradient(ellipse,#e9e2f9,rgba(239,234,250,.1) 69%);z-index:-1}
.chapter-scene{position:absolute;inset:auto -5% 0 -20%;pointer-events:none;z-index:1}
.chapter-scene img{display:block;width:100%;height:auto;aspect-ratio:1000/563;object-fit:contain;object-position:bottom}
.chapter-with-mascot .ch-visual{position:relative;z-index:2;width:55%;margin:27px 23px 0 auto;padding:8px 14px;background:rgba(255,255,255,.92);border:1px solid rgba(123,97,255,.11);border-radius:16px;box-shadow:0 12px 32px rgba(54,42,103,.07);backdrop-filter:blur(8px)}
.chapter-with-mascot .ch-visual .cv-row{gap:9px;padding:11px 0;align-items:center}
.chapter-with-mascot .ch-visual .cv-ic{width:28px;height:28px;border-radius:9px;font-size:13px}
.chapter-with-mascot .ch-visual .cv-t{font-size:11.5px;line-height:1.4}
.chapter-with-mascot .ch-visual .cv-s{font-size:10.5px;line-height:1.4;margin-top:2px}
.chapter-panel.anim .chapter-scene{animation:scene-arrive .65s cubic-bezier(.2,.8,.2,1) both}
.chapter-panel.anim .ch-visual{animation:example-arrive .55s .08s ease-out both}
@keyframes scene-arrive{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}

/* The closing illustration shares the CTA's space and floor, with no image fade. */
.final-cta-card.mascot-cta{max-width:1040px;padding:46px 44px;min-height:340px;text-align:left;position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:1fr .55fr;gap:12px;align-items:center;border-radius:26px;background:linear-gradient(120deg,#fff 0%,#f6f2ff 57%,#e8e2f9 100%);border:1px solid rgba(255,255,255,.95);backdrop-filter:none}
.final-cta-copy{position:relative;z-index:2}
.mascot-cta h2{font-size:clamp(28px,3.1vw,39px);max-width:610px;line-height:1.16}
.mascot-cta h2 .g{display:block}
.mascot-cta p{font-size:14px;margin:17px 0 25px}
.final-cta-art{position:absolute;z-index:1;right:12px;bottom:0;width:32%;pointer-events:none}
.final-cta-art::before{content:"";position:absolute;inset:auto 5% 3% 5%;height:13%;border-radius:50%;background:rgba(103,83,151,.08);filter:blur(12px);z-index:-1}
.final-cta-art img{display:block;width:100%;height:auto;object-fit:contain}

@media(max-width:880px){
  .outcome-panel{gap:28px;padding:30px;grid-template-columns:1fr 1fr}
  .oc-demo{padding-left:24px}
  .oc-demo::before{inset:-30px -30px -30px 0}
  .chapter-panel.chapter-with-mascot{display:flex;flex-direction:column;padding:30px 28px 0;gap:0;min-height:0}
  .chapter-copy{padding-bottom:8px;align-self:stretch}
  .chapter-with-mascot .ch-title{font-size:27px}
  .chapter-art{width:100%;min-height:390px;max-width:620px;margin:0 auto}
  .chapter-with-mascot .ch-visual{width:48%;margin:15px 0 0 auto}
  .chapter-scene{inset:auto 0 -1px 0}
  .final-cta-card.mascot-cta{padding:34px 30px;grid-template-columns:1fr .48fr;min-height:310px}
  .final-cta-art{width:34%;right:0}
}
@media(max-width:650px){
  .memory-card{padding:20px}
  .memory-card .mem-row{gap:11px;padding:9px 0}
  .outcome-tabs{gap:8px;margin-bottom:24px}
  .ot-btn{font-size:12.5px;padding:9px 12px 9px 9px;gap:7px}
  .outcome-panel{display:flex;flex-direction:column;align-items:stretch;padding:25px 22px 0;gap:27px;min-height:0}
  .outcome-panel .oc-head{margin-bottom:22px}
  .outcome-panel .oc-head h3{font-size:23px}
  .outcome-panel .oc-head{flex-direction:row;gap:12px}
  .outcome-panel .oc-head p{font-size:13px;margin-top:7px}
  .outcome-panel .oc-ic{width:36px;height:36px;font-size:18px;border-radius:11px}
  .outcome-panel .oc-list{font-size:13.5px;gap:12px}
  .oc-demo{border-left:none;border-top:1px solid var(--line);padding:27px 0 29px}
  .oc-demo::before{inset:0 -22px}
  .oc-demo-bubble{font-size:13px}
  .oc-demo-chat{gap:18px}
  .oc-demo-bubble.user{max-width:90%;padding:11px 14px}
  .oc-demo-bubble.zeni{padding:15px 16px}
  .chapter-panel.chapter-with-mascot{display:flex;flex-direction:column;padding:27px 23px 0;gap:0;min-height:0}
  .chapter-copy{padding-bottom:12px}
  .chapter-with-mascot .ch-title{font-size:28px;max-width:none}
  .chapter-art{width:100%;min-height:420px;margin:0 auto;max-width:440px}
  .chapter-with-mascot .ch-visual{width:100%;margin:14px 0 0;padding:5px 14px;border-radius:14px}
  .chapter-with-mascot .ch-visual .cv-row{gap:7px;padding:10px 0}
  .chapter-with-mascot .ch-visual .cv-ic{width:25px;height:25px;font-size:12px}
  .chapter-with-mascot .ch-visual .cv-t{font-size:11.5px}
  .chapter-with-mascot .ch-visual .cv-s{font-size:10.5px}
  .chapter-scene{inset:auto -7% -1px -7%}
  .final-cta-card.mascot-cta{display:flex;flex-direction:column;align-items:stretch;padding:30px 25px 0;gap:0;min-height:0}
  .mascot-cta h2{font-size:30px;max-width:390px}
  .mascot-cta h2 .g{display:block}
.mascot-cta p{font-size:14px;max-width:280px}
  .mascot-cta .btn-lg{padding:14px 20px;font-size:14px}
  .final-cta-art{position:relative;width:210px;right:auto;bottom:auto;align-self:flex-end;margin:-9px -8px 0 0}
}
@media(max-width:360px){
  .chapter-panel.chapter-with-mascot{padding:24px 19px 0}
  .chapter-art{min-height:390px}
  .chapter-with-mascot .ch-visual{width:100%;margin-right:0}
  .chapter-scene{inset:auto -12% 0 -10%}
  .outcome-panel{padding-left:19px;padding-right:19px}
  .oc-demo::before{left:-19px;right:-19px}
}
@media(prefers-reduced-motion:reduce){
  .greeting-mascot-art{opacity:1;transform:none;animation:none!important}
  .greeting-mascot-gesture{animation:none!important;transform:none!important}
  .greeting-mascot-blink{display:none}
  .zeni-arrived .greeting-mascot-stage::after{opacity:.45}
  .chapter-panel.anim .chapter-scene,.chapter-panel.anim .ch-visual,.outcome-panel.anim .oc-response,.outcome-panel.anim .oc-demo-bubble.user{animation:none}
}

/* Working chapters: separate task cards in front of each working pose. */
.chapter-with-mascot .chapter-scene{inset:auto 3% 0 auto;width:88%}
.chapter-with-mascot .chapter-scene img{width:100%;height:auto;aspect-ratio:3/2;object-fit:contain}
.chapter-with-mascot .ch-visual{position:absolute;top:20px;left:0;right:auto;width:min(48%,240px);margin:0;padding:0;background:none;border:0;border-radius:0;box-shadow:none;backdrop-filter:none}
.chapter-with-mascot .ch-visual .cv-row,.chapter-with-mascot .ch-visual .cv-row:first-child{padding:10px 12px;margin:0 0 10px;border:1px solid rgba(123,97,255,.18);border-radius:14px;background:#fff;box-shadow:0 10px 25px rgba(54,42,103,.10)}
.chapter-with-mascot .ch-visual .cv-row:nth-child(2){margin-left:10px}
.chapter-with-mascot .ch-visual .cv-row:nth-child(3){margin-left:20px}
@media(max-width:880px){
  .chapter-with-mascot .chapter-scene{width:80%;right:1%;bottom:0;left:auto}
  .chapter-with-mascot .ch-visual{top:15px;left:0;width:min(48%,240px);margin:0}
}
@media(max-width:650px){
  .chapter-art{min-height:420px}
  .chapter-with-mascot .chapter-scene{width:100%;right:0;bottom:0;left:auto}
  .chapter-with-mascot .ch-visual{top:12px;left:0;width:min(68%,230px);margin:0}
  .chapter-with-mascot .ch-visual .cv-row,.chapter-with-mascot .ch-visual .cv-row:first-child{padding:8px 9px;margin-bottom:8px;border-radius:12px}
  .chapter-with-mascot .ch-visual .cv-row:nth-child(2){margin-left:5px}
  .chapter-with-mascot .ch-visual .cv-row:nth-child(3){margin-left:10px}
}
@media(max-width:360px){.chapter-art{min-height:400px}}

/* Compact phone conversations, using the hero's WhatsApp-inspired palette. */
.outcome-panel .oc-demo{justify-content:center;padding:22px 0 22px 32px}
.oc-phone{position:relative;z-index:1;width:min(100%,286px);padding:7px;border:1px solid rgba(255,255,255,.95);border-radius:35px;background:linear-gradient(160deg,rgba(255,255,255,.95),rgba(238,235,250,.86));box-shadow:0 23px 48px rgba(70,55,150,.18),0 0 0 1px rgba(180,170,230,.20)}
.oc-phone-screen{overflow:hidden;border-radius:28px;background:var(--wa-body);box-shadow:0 0 0 1px rgba(27,28,58,.05)}
.oc-phone-status{display:flex;justify-content:space-between;align-items:center;background:var(--wa-head);color:var(--wa-head-tx);padding:8px 16px 2px;font-size:10px;font-weight:600;line-height:1.3}
.oc-phone-signals,.oc-phone-actions{display:flex;align-items:center;gap:4px;color:var(--muted)}
.oc-phone-signals svg{width:12px;height:12px}
.oc-phone-header{display:flex;align-items:center;gap:8px;padding:7px 12px 10px;background:var(--wa-head);border-bottom:1px solid var(--line)}
.oc-phone-back{width:14px;height:14px;display:flex;color:var(--muted)}
.oc-phone-back svg,.oc-phone-actions svg{width:14px;height:14px}
.oc-phone-avatar{width:30px;height:30px;display:grid;place-items:center;flex:none;overflow:hidden;background:white;border-radius:50%;box-shadow:0 1px 4px rgba(0,0,0,.1)}
.oc-phone-avatar img{width:30px;height:30px;object-fit:contain}
.oc-phone-contact{min-width:0;display:flex;flex-direction:column;align-items:flex-start;line-height:1.2}
.oc-phone-name{display:flex;align-items:center;gap:4px;color:var(--ink);font-size:12px;font-weight:700}
.oc-phone-verified{display:flex;color:var(--mist)}.oc-phone-verified svg{width:12px;height:12px}
.oc-phone-online{font-size:10px;font-weight:600;color:#26703c;line-height:16px}
.oc-phone-actions{margin-left:auto;gap:10px}
.oc-demo .oc-demo-chat{display:flex;min-height:246px;flex-direction:column;gap:12px;width:100%;padding:12px 11px 20px}
.oc-phone-day{align-self:center;border-radius:7px;background:#fff;color:var(--muted);padding:3px 10px;box-shadow:var(--shadow-sm);font-size:10px;font-weight:600;line-height:1.3}
.oc-demo .oc-demo-bubble{font-size:12px;line-height:1.5;overflow-wrap:break-word}
.oc-demo .oc-demo-bubble.user{max-width:90%;padding:9px 11px;border-radius:12px 12px 4px 12px}
.oc-reply-slot{display:grid;align-items:start;justify-items:start}
.oc-reply-slot>*{grid-area:1/1}
.oc-demo .oc-response{display:block;max-width:95%;align-self:start}
.oc-demo .oc-demo-bubble.zeni{padding:10px 11px;border-radius:12px 12px 12px 4px}
.oc-phone-typing{display:flex;align-items:center;gap:4px;min-height:30px;padding:8px 11px;border-radius:12px 12px 12px 4px;background:#fff;box-shadow:0 1px 1px rgba(0,0,0,.05);opacity:0;pointer-events:none}
.oc-phone-typing i{width:5px;height:5px;border-radius:50%;background:var(--faint)}
.outcome-panel.anim .oc-demo-bubble.user{animation:oc-message-in .45s .18s both}
.outcome-panel.anim .oc-phone-typing{animation:oc-typing-show 1.8s .55s both}
.outcome-panel.anim .oc-phone-typing i{animation:blink 1.1s infinite}
.outcome-panel.anim .oc-phone-typing i:nth-child(2){animation-delay:.18s}
.outcome-panel.anim .oc-phone-typing i:nth-child(3){animation-delay:.36s}
.outcome-panel.anim .oc-response{animation:oc-message-in .5s 2.15s both}
@keyframes oc-message-in{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@keyframes oc-typing-show{0%,100%{opacity:0}12%,82%{opacity:1}}
@media(max-width:880px){.outcome-panel .oc-demo{padding-left:24px}}
@media(max-width:650px){.outcome-panel .oc-demo{padding:24px 0 28px}.oc-phone{width:min(100%,286px)}}
@media(prefers-reduced-motion:reduce){.outcome-panel.anim .oc-demo-bubble.user,.outcome-panel.anim .oc-response{animation:none}.outcome-panel.anim .oc-phone-typing,.outcome-panel.anim .oc-phone-typing i{animation:none;opacity:0}}

/* Wait for the phone to enter the viewport before replaying its exchange. */
.outcome-panel.oc-pending .oc-demo-bubble.user,.outcome-panel.oc-pending .oc-response{opacity:0}
@media(prefers-reduced-motion:reduce){.outcome-panel.oc-pending .oc-demo-bubble.user,.outcome-panel.oc-pending .oc-response{opacity:1}}
