/* PULSE.DV — a viewport-sized introduction to the app. */
@font-face{font-family:Manrope;src:url('assets/manrope-400.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Manrope;src:url('assets/manrope-500.ttf') format('truetype');font-weight:500;font-display:swap}
@font-face{font-family:Manrope;src:url('assets/manrope-600.ttf') format('truetype');font-weight:600;font-display:swap}
@font-face{font-family:Onest;src:url('assets/onest-700.ttf') format('truetype');font-weight:700;font-display:swap}
@font-face{font-family:Caveat;src:url('assets/caveat-500.ttf') format('truetype');font-weight:500;font-display:swap}
:root{--red:#e3222e;--red-deep:#c91625;--ink:#191b20;--muted:#6d7581;--ease:cubic-bezier(.22,1,.36,1);--font:Manrope,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;height:100svh;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;background:#fff;color:var(--ink);font:400 1rem/1.6 var(--font);-webkit-font-smoothing:antialiased}
main{min-height:0;display:flex}
img{display:block;max-width:100%}
h1,p,figure{margin:0}
a{color:inherit;text-decoration:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
a:focus-visible{outline:2px solid var(--ink);outline-offset:5px}
.wrap{width:min(calc(100% - 80px),1320px);margin-inline:auto}
.svg-sprite{position:absolute;width:0;height:0;overflow:hidden}
.icon{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.skip-link{position:fixed;top:-100px;left:20px;padding:10px 16px;background:var(--ink);color:#fff;z-index:100;border-radius:10px}
.skip-link:focus{top:12px}
.header{height:clamp(72px,11svh,106px);display:flex;align-items:center;justify-content:space-between;gap:20px;position:relative;z-index:10}
.brand{display:block;flex-shrink:0;line-height:1}
.brand-logo{width:285px;height:auto}
.socials{display:flex;align-items:center;gap:8px}
.social-link{display:grid;place-items:center;width:44px;height:44px;border:1px solid #e7e8eb;border-radius:50%;color:#25272d;background:#fff;transition:background .2s,transform .25s var(--ease),border-color .2s}
.social-link:hover{background:#f3f3f5;border-color:#c8cbd0;transform:translateY(-2px)}
.social-link:active{transform:scale(.95)}
.social-link .icon{width:22px;height:22px;stroke-width:1.6}
.hero{height:100%;min-height:0;display:grid;grid-template-columns:1fr 1.08fr;align-items:center;gap:24px;padding-block:6px 12px}
.hero-copy{min-width:0;position:relative;z-index:2}
h1{font-family:Onest,var(--font);font-size:clamp(40px,min(5vw,8.4svh),76px);font-weight:700;line-height:1.065;letter-spacing:-.045em;font-kerning:normal}
.headline-line{display:block}
/* Only the pencil swatch is animated. The text stays readable without JS. */
.headline-accent{display:inline-block;position:relative;isolation:isolate;margin:14px 0 0 -9px;padding:8px 15px 11px;color:#fff;font-size:.66em;line-height:1.18;letter-spacing:-.035em;white-space:nowrap;transform:rotate(-.8deg)}
.headline-accent:before{content:"";position:absolute;inset:0;z-index:-1;background:url('assets/pencil-highlight.svg') center/100% 100% no-repeat;transform-origin:left center}
.headline-accent>span{display:block;transform:rotate(.8deg)}
.hero-description{max-width:445px;margin-top:clamp(16px,3svh,28px);color:var(--muted);font-size:clamp(15px,1.25vw,18px);line-height:1.7;text-wrap:pretty}
.hero-actions{display:flex;align-items:center;gap:24px;margin-top:clamp(18px,3.5svh,34px)}
.button{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:30px;min-height:66px;padding:20px 34px;font-weight:600;font-size:17px;isolation:isolate;transition:transform .3s var(--ease)}
.button-primary{min-width:278px;color:#fff}
.button-primary:before{content:"";position:absolute;z-index:-1;inset:-4px -6px;background:url('assets/pencil-button.svg') center/100% 100% no-repeat;transform:rotate(-.6deg);transition:transform .3s var(--ease)}
.button-primary:hover{transform:translateY(-2px)}
.button-primary:hover:before{transform:rotate(.4deg) scale(1.015)}
.button-primary:active{transform:scale(.98)}
.button .icon{width:25px;height:25px;transition:transform .3s var(--ease)}
.button:hover .icon{transform:translateX(4px)}
.hero-actions{position:relative;z-index:5}
.qr-link{position:relative;display:flex;align-items:center;gap:10px;color:#727983}
.qr-frame{--qr-rest-scale:.3461538462;position:relative;display:block;flex:none;width:72px;height:72px}
/* Render the SVG at its expanded size so the scanning surface stays sharp. */
.qr-popout{position:absolute;z-index:1;left:0;top:50%;display:block;width:208px;height:208px;padding:12px;background:#fff;border:1px solid #e5e7eb;border-radius:28px;transform-origin:left center;transform:translateY(-50%) scale(var(--qr-rest-scale));transition:transform .4s var(--ease),box-shadow .4s var(--ease)}
.qr-popout img{width:100%;height:100%}
.qr-link:focus-visible{z-index:10;outline:0}
.qr-link:focus-visible .qr-popout{transform:translateY(-50%) scale(1);box-shadow:0 14px 38px rgba(25,27,32,.15);outline:2px solid var(--ink);outline-offset:4px}
@media(hover:hover) and (pointer:fine){.qr-link:hover{z-index:10}.qr-link:hover .qr-popout{transform:translateY(-50%) scale(1);box-shadow:0 14px 38px rgba(25,27,32,.15)}}
.qr-caption{font-size:11px;line-height:1.5}
.benefits{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;max-width:470px;margin:clamp(22px,4svh,40px) 0 0;padding:0}
.benefit{display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-width:0}
.benefit-icon{position:relative;width:46px;height:46px;border-radius:15px;display:grid;place-items:center;background:#f8f8fa;border:1px solid #e9ecf1;transition:transform .3s var(--ease)}
.benefit-svg{width:28px;height:28px;overflow:visible;fill:none;stroke-linecap:round;stroke-linejoin:round;transition:opacity .18s}
.icon-stroke{stroke:#363e4c;stroke-width:1.65}.icon-accent{stroke:var(--red);stroke-width:1.8}.icon-tint{fill:#e31e2b0c;stroke:none}
.benefit-label{font-size:13px;color:#535b67;line-height:1.5;letter-spacing:-.15px}
.benefit:hover .benefit-icon{transform:translateY(-2px)}
.lottie-host{position:absolute;width:32px;height:32px;inset:0;margin:auto;opacity:0;transition:opacity .18s;pointer-events:none}
.lottie-host svg{display:block;width:100%;height:100%}
.lottie-ready .benefit-svg{opacity:0}.lottie-ready .lottie-host{opacity:1}
.hero-visual{display:grid;grid-template-rows:auto minmax(0,1fr) auto;align-self:center;gap:4px;position:relative;min-width:0;min-height:0;width:100%;height:100%;max-height:740px;isolation:isolate}
.visual-stage{grid-row:2;position:relative;min-width:0;min-height:0;width:100%}
.art-interaction{position:absolute;inset:0;transform:translate3d(var(--art-x,0px),var(--art-y,0px),0) rotate(var(--art-rotate,0deg));transition:transform .8s var(--ease)}
.art-float{height:100%;width:100%}
.phones-image{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply;user-select:none;-webkit-user-drag:none}
.handwriting{position:relative;z-index:1;font-family:Caveat,"Segoe Print",cursive;font-weight:500;font-size:clamp(24px,2.2vw,34px);line-height:1.2;color:var(--red-deep);letter-spacing:-.35px;pointer-events:none}
.handwriting-top{justify-self:end;padding:3px 18px 2px;transform:rotate(-3deg);text-align:right}
.written-emphasis{position:relative;white-space:nowrap}
.written-emphasis:after{content:"";position:absolute;left:-3%;right:-5%;bottom:-2px;height:4px;border-top:1px solid currentColor;border-radius:50%;transform:rotate(-4deg);opacity:.65}
.handwriting-bottom{justify-self:end;text-align:center;padding:0 18px 8px;transform:rotate(-2deg)}
.handwriting-bottom>span{white-space:nowrap}
.footer{min-height:46px;display:flex;align-items:center;justify-content:flex-end;padding-block:10px max(12px,env(safe-area-inset-bottom,0px))}
.brand-signature{display:flex;align-items:center;gap:10px;font-size:11px;color:#747b86;line-height:1.4}
.brand-signature strong{font-weight:500;letter-spacing:.7px;font-size:10px;white-space:nowrap}
.signature-divider{width:20px;height:1px;background:#d0d4dc;flex-shrink:0}
.enter,.reveal{opacity:1}
@keyframes arrive{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@keyframes pencil-reveal{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes pencil-copy{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:no-preference){
 .enter{animation:arrive .7s var(--ease) both;animation-delay:var(--delay,0ms)}
 .headline-accent:before{animation:pencil-reveal .85s var(--ease) .3s both}
 .headline-accent>span{animation:pencil-copy .3s ease .62s both}
 .js-reveal .reveal{opacity:0;transform:translateY(8px);transition:opacity .6s var(--ease),transform .6s var(--ease);transition-delay:var(--delay,0ms)}
 .js-reveal .reveal.is-visible{opacity:1;transform:translateY(0)}
 .is-paused *,.is-paused *:before{animation-play-state:paused!important}
}
@media(min-width:960px) and (max-width:1199px){.wrap{width:calc(100% - 64px)}.hero{gap:14px}.qr-caption{display:none}.hero-actions{gap:20px}.button-primary{min-width:242px}.button{font-size:16px;padding-inline:28px}.brand-logo{width:260px}}
@media(min-width:960px) and (max-height:680px){
 .header{height:72px}.brand-logo{width:260px}.footer{min-height:34px;padding-block:6px 10px}h1{font-size:clamp(36px,7.4svh,50px)}.headline-accent{margin-top:8px;padding-block:6px 8px}.hero-description{margin-top:14px;font-size:14px;line-height:1.6;max-width:390px}.hero-actions{margin-top:18px}.button{min-height:56px;padding-block:14px;font-size:16px}.qr-frame{--qr-rest-scale:.2980769231;width:62px;height:62px}.benefits{margin-top:22px}.benefit{gap:7px}.benefit-icon{width:40px;height:40px;border-radius:13px}.benefit-svg{width:25px;height:25px}.lottie-host{width:29px;height:29px}.benefit-label{font-size:12px}.handwriting{font-size:26px}
}
@media(max-width:959px){
 .wrap{width:min(calc(100% - 40px),620px)}
 .header{height:78px;padding-top:env(safe-area-inset-top,0px);gap:12px}.brand-logo{width:224px}.socials{gap:5px}.social-link{width:44px;height:44px;border:0;border-radius:14px}.social-link .icon{width:21px;height:21px}
 .hero{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);align-items:stretch;gap:10px;padding-block:5px}
 .hero-copy{text-align:center}
 h1{font-size:clamp(30px,min(8.8vw,5.8svh),50px);line-height:1.065;letter-spacing:-.04em}
 .headline-accent{margin:8px auto 0;padding:7px 12px 9px;font-size:.68em}
 .hero-description{max-width:36ch;margin:12px auto 0;font-size:14px;line-height:1.55;text-wrap:balance}
 .hero-actions{display:block;margin:16px auto 0;width:min(100% - 12px,340px)}
 .button-primary{width:100%;min-width:0;min-height:54px;padding:14px 25px;font-size:16px;justify-content:center;gap:28px}
 .qr-link{display:none}
 .benefits{max-width:360px;width:100%;margin:18px auto 0;gap:8px}
 .benefit{align-items:center;gap:6px}.benefit-icon{width:36px;height:36px;border-radius:12px}.benefit-svg{width:23px;height:23px}.lottie-host{width:27px;height:27px}.benefit-label{font-size:11px;line-height:1.4}
 .hero-visual{max-width:420px;width:100%;margin-inline:auto;height:100%;gap:0}
 .handwriting{font-size:23px;line-height:1.15}.handwriting-top{padding:2px 4px;justify-self:center;transform:rotate(-2deg)}.handwriting-bottom{justify-self:center;padding:1px 4px 4px;margin:0;transform:rotate(-2deg)}
 .footer{min-height:30px;justify-content:center;padding-block:6px max(8px,env(safe-area-inset-bottom,0px))}.brand-signature{font-size:9px;gap:7px}.brand-signature strong{font-size:9px}.signature-divider{width:12px}
}
@media(max-width:959px) and (max-height:740px){
 .header{height:64px}.brand-logo{width:206px}h1{font-size:clamp(27px,7.6vw,36px)}.headline-accent{margin-top:5px;padding-block:6px 8px}.hero-description{margin-top:10px;font-size:12px;line-height:1.5;max-width:38ch}.hero-actions{margin-top:12px}.button-primary{min-height:48px;padding-block:12px;font-size:15px}.benefits{margin-top:13px}.benefit-icon{width:30px;height:30px;border-radius:10px}.benefit-svg{width:21px;height:21px}.lottie-host{width:24px;height:24px}.benefit-label{font-size:10px}.hero{gap:8px}.handwriting{font-size:20px}.footer{min-height:26px}
}
@media(max-width:359px){.wrap{width:calc(100% - 32px)}.brand-logo{width:190px}.socials{gap:1px}.social-link{width:44px}.header{gap:6px}.hero-description{font-size:12px}.brand-signature{font-size:8px}.brand-signature strong{font-size:8px}}
@media(max-width:959px) and (max-height:620px){.hero-visual .handwriting{display:none}}
/* Preserve access to every action at enlarged text sizes and landscape heights. */
@media(max-width:959px) and (max-height:520px),(min-width:960px) and (max-height:460px){body{height:auto;min-height:100svh}.hero{height:auto;min-height:0}.hero-visual{min-height:220px}.visual-stage{min-height:170px}.footer{margin-top:10px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}.enter,.reveal{opacity:1!important;transform:none!important}.art-interaction{transform:none!important}}
