/* ===== phones: the ending as a vertical story (see js/sections/end2-stack.js) ===== */
.e2s{display:none}
@media(max-width:600px){
.end2{height:auto!important;min-height:0!important}
.end2 .e2-stick{display:none!important}
.e2s{display:block;padding:110px 22px 80px;color:#fff;font-family:Poppins,sans-serif}
.e2s-intro{overflow-x:clip;text-align:center;min-height:var(--sh,100svh);box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;margin:0 -22px;padding:80px 22px}
.e2s-pre{margin:0 0 26px;font:500 19px/1.3 Poppins,sans-serif;color:#e8dcff}
.e2s-words{list-style:none;margin:0;padding:0;display:grid;gap:12px;justify-items:center}
.e2s-w{display:flex;gap:.22em;align-items:center;font-weight:800;line-height:1.1;letter-spacing:-.04em;color:#ffe14d;opacity:0;transform:translateY(24px) scale(.94);transition:opacity .6s ease var(--d,0s),transform .7s cubic-bezier(.3,1.4,.5,1) var(--d,0s)}
.e2s-w{white-space:nowrap;max-width:100%}.e2s-w.w1{font-size:min(22px,5.6vw)}.e2s-w.w2{font-size:min(29px,7.4vw)}.e2s-w.w3{font-size:min(36px,9.2vw)}.e2s-w.w4{font-size:min(43px,10.8vw)}.e2s-w.w5{font-size:min(52px,12.6vw)}
.e2s-w.in.w1{opacity:.4}.e2s-w.in.w2{opacity:.55}.e2s-w.in.w3{opacity:.7}.e2s-w.in.w4{opacity:.85}.e2s-w.in.w5{opacity:1}
.e2s-w.in{transform:none}
.e2s-lead{margin:60px 0 28px;text-align:center;font:600 20px/1.3 Poppins,sans-serif;color:#e8dcff;opacity:0;transform:translateY(20px);transition:opacity .5s ease,transform .6s ease}
.e2s-lead.in{opacity:1;transform:none}
.e2s-tl{list-style:none;margin:0;padding:0 0 0 34px;position:relative}
.e2s-it{margin-bottom:56px}
.e2s-tl::before{content:"";position:absolute;left:8px;top:14px;bottom:20px;width:6px;margin-left:-1.5px;border-radius:6px;background:#ffffff26}
.e2s-fill{position:absolute;left:8px;top:14px;width:6px;height:0;margin-left:-1.5px;border-radius:6px;background:#ffffffaa}
.e2s-coin{position:absolute;left:9.5px;top:14px;width:22px;height:22px;border-radius:50%;background:#ffe14d;border:3px solid #fff;box-sizing:border-box;z-index:4;opacity:0;box-shadow:0 4px 12px #1d0a5a77}
.e2s-it{position:relative;margin:0 34px 34px 0;opacity:0;will-change:transform,opacity;display:flex;justify-content:center}
.e2s-it::before{content:"";position:absolute;left:-34px;top:calc(50% - 6px);width:13px;height:13px;margin-left:2px;border-radius:50%;background:#ffe14d;border:2px solid #5525b9}
.e2s-tk p{position:relative;display:inline-flex;align-items:center;gap:9px;margin:0;background:#fff;color:#2b1b3c;border-radius:14px;padding:10px 13px;font:600 14px/1.2 Poppins,sans-serif}
.e2s-tk p b{font-weight:700}.e2s-tk i{font-style:normal}
.e2s-pol figure{position:relative;margin:0;width:128px;background:#fff;color:#2b1b3c;padding:7px 7px 0;border-radius:3px;transform:rotate(var(--r));box-shadow:0 14px 28px #1d0a5a55}
.e2s-pol .e2-ph{aspect-ratio:1;overflow:hidden}
.e2s-pol .e2-ph img{width:100%;height:100%;object-fit:cover;display:block}
.e2s-pol figure p{display:flex;justify-content:space-between;margin:7px 2px 0;padding-bottom:9px;font:600 12.5px/1.2 Poppins,sans-serif}
.e2s-pol figure p b{font-weight:700}
.e2s-it .e2-ok{position:absolute;right:-8px;top:-8px;width:26px;height:26px;border-radius:50%;background:#22c55e;color:#fff;display:grid;place-items:center;font:700 14px/1 Inter,sans-serif;transform:scale(0);transition:transform .4s cubic-bezier(.3,1.7,.5,1) .35s}
.e2s-it.seen .e2-ok{transform:scale(1)}
/* the phone is a see-through frame that stays mid-screen while the month scrolls under it, scanning it; at the end it shows the recap */
.e2s-stage{position:relative;--pw:min(58vw,230px);--ph:calc(var(--pw)*19/9);margin-bottom:0}
/* the month runs under the phone: it is pulled up over the phone's place (the phone keeps its own height in the flow, so it is released exactly at the end of the stage and never slides over the hammock) */
.e2s-stage .e2s-tl{margin-top:calc(var(--ph)*-1)}
/* room under the month for the phone to stay put and show the recap. It is real content, not padding: a sticky element is released at the end of its parent's content */
.e2s-stage::after{content:"";display:block;height:calc(var(--ph) + 16svh)}
/* the stop where the phone shows the recap: one screen high, its top is the scroll position where the phone sits mid-screen at the end of the month (see scroll-stops.js) */
.e2s-stop{position:absolute;left:0;width:1px;height:var(--sh,100svh);top:calc(100% - 54svh - var(--ph)/2);pointer-events:none;visibility:hidden}
.e2s-stick{position:sticky;top:calc(50svh - var(--ph)/2);height:var(--ph);z-index:3;display:flex;justify-content:center;pointer-events:none}
.e2s-phone{position:relative;width:var(--pw);height:var(--ph);border-radius:34px;border:6px solid #0f0d18;background:transparent;box-shadow:0 20px 44px #1d0a5a55;transform:rotate(-2deg)}
.e2s-phone .e2-scr{position:relative;height:100%;border-radius:28px;overflow:hidden;container-type:inline-size;background:#2a0e6e22;transition:background .6s}
.e2s-stage .e2-scr{transition:background 1.4s ease}
.e2s-stage.done .e2-scr{background:linear-gradient(180deg,#8a32ff,#5e19d6)}
.e2s-stage.done .e2-scan{opacity:0;transition:opacity .6s}
.e2s-stage .e2-logo{position:absolute;left:50%;top:7%;bottom:auto;width:36%;transform:translateX(-50%);opacity:0;transition:opacity .9s ease .3s}
.e2s-stage.done .e2-logo{opacity:.95}
.e2s-stage .e2-msg{opacity:0;top:22%;left:7%;right:7%;transition:opacity .8s ease .2s}
.e2s-stage.done .e2-msg{opacity:1}
.e2s-stage .e2-rc{gap:3.8cqw}
.e2s-stage .e2-rc li{opacity:0;transform:translateY(12px);transition:opacity .55s ease,transform .6s cubic-bezier(.3,1.4,.5,1);animation:none}
.e2s-stage .e2-rc li.on{opacity:1;transform:none}
.e2s-stage .e2-rc li i{transform:scale(0);transition:transform .5s cubic-bezier(.3,2,.5,1)}
.e2s-stage .e2-rc li.tick i{transform:scale(1)}
.e2s-stage .e2-rc .e2-over{padding:4.4cqw 4.4cqw}
.e2s-stage .e2-coach{margin-top:11cqw;opacity:0;transform:translateY(12px);transition:opacity .6s ease,transform .7s cubic-bezier(.3,1.4,.5,1);animation:none}
.e2s-stage .e2-coach.on{opacity:1;transform:none}
.e2s-calm{text-align:center;opacity:0;transform:translateY(26px);transition:opacity .6s ease,transform .7s ease}
.e2s-calm.in{opacity:1;transform:none}
.e2s-ham{display:block;width:min(78vw,320px);height:auto;margin:-10px auto 10px}
.e2s-calm h2{margin:0;font:800 clamp(26px,7.4vw,32px)/1.15 Poppins,sans-serif;letter-spacing:-.035em;color:#fff}
.e2s-calm h2 span{color:#ffe14d}
.e2s-cta{margin-top:28px}
}

/* r97 phones: the first thing in the phone is "Salaris" (it starts lower, clear of the notch); the caption of a card never gets cut off */
.e2s-stage .e2s-tl{--pad:calc(var(--ph)*.2);padding-top:var(--pad)}
.e2s-stage .e2s-tl::before,.e2s-stage .e2s-fill{top:calc(var(--pad) + 14px)}
.e2s-stage .e2s-tl::before{bottom:20px}
.e2s-pol figure{width:150px}
.e2s-pol figure p{gap:4px;font-size:11.5px;white-space:nowrap;margin-left:0;margin-right:0}
.e2s-pol figure p span{min-width:0}.e2s-pol figure p b{flex:none}
