/* 2P Studio v3 — free-sample form visual layer */
:root{--logo:url(../img/2p-logo-site-cropped.png);--v3-blue:#2f7cff;--v3-blue-2:#7cb2ff;--v3-warm:#ffcf6b;--v3-ease:cubic-bezier(.16,.84,.24,1);--v3-line:rgba(255,255,255,.1)}
.v3-form .trial-question-progress,.v3-form .trial-question-progress-copy{display:none!important}
.v3-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:clamp(24px,4vw,56px);align-items:start}
.v3-questions{min-width:0}

/* ---------- live phone ---------- */
.v3-live{position:sticky;top:12px;display:flex;flex-direction:column;align-items:center;gap:14px}
.v3-live__phone{width:100%;max-width:230px;aspect-ratio:9/18.5;border-radius:34px;padding:8px;background:linear-gradient(145deg,#2a2f3a,#0c0f15 40%,#1d222c);box-shadow:0 40px 90px -30px rgba(47,124,255,.55),0 0 0 1px rgba(255,255,255,.12);transition:box-shadow .6s var(--v3-ease),transform .6s var(--v3-ease)}
.v3-live.has-media .v3-live__phone{box-shadow:0 40px 110px -24px rgba(47,124,255,.85),0 0 0 1px rgba(124,178,255,.35)}
.v3-live__screen{position:relative;width:100%;height:100%;border-radius:27px;overflow:hidden;background:radial-gradient(80% 60% at 50% 40%,#122042,#04060b)}
.v3-live__island{position:absolute;top:8px;left:50%;width:30%;height:16px;margin-left:-15%;border-radius:12px;background:#000;z-index:5}
.v3-live__media{position:absolute;inset:0}
.v3-clip{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .25s}
.v3-clip.is-on{opacity:1;animation:v3-punch .6s var(--v3-ease)}
@keyframes v3-punch{from{transform:scale(1.12);filter:brightness(1.4)}to{transform:none;filter:none}}
.v3-live__empty{position:absolute;inset:0;display:grid;place-content:center;justify-items:center;gap:14px;text-align:center;color:rgba(255,255,255,.55);font:600 .78rem/1.3 Montserrat,sans-serif}
.v3-live__empty i{width:44px;height:44px;border-radius:50%;border:1.5px dashed rgba(124,178,255,.6);animation:v3-spin 8s linear infinite}
@keyframes v3-spin{to{transform:rotate(360deg)}}
.v3-live__platform{position:absolute;top:32px;left:10px;z-index:4;display:flex;align-items:center;gap:6px;padding:5px 9px 5px 6px;border-radius:999px;background:rgba(0,0,0,.5);backdrop-filter:blur(8px);font:700 .62rem/1 Montserrat,sans-serif;color:#fff;opacity:0;transform:translateY(-8px);transition:.45s var(--v3-ease)}
.v3-live__platform.is-on{opacity:1;transform:none}
.v3-live__platform .v3-ico{width:14px;height:14px;margin:0}
.v3-live__cap{position:absolute;left:0;right:0;top:50%;z-index:4;padding:0 12px;text-align:center;color:#fff;transform:translateY(-50%)}
.v3-live__cap small{display:block;margin-top:6px;opacity:0;animation:v3-up .8s var(--v3-ease) .5s forwards}
.v3-w{display:inline-block}
@keyframes v3-up{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.v3-cap--elegante .v3-cap__main{font:italic 400 1.5rem/1.05 "Instrument Serif",Georgia,serif;text-shadow:0 2px 18px rgba(0,0,0,.7)}
.v3-cap--elegante .v3-w{opacity:0;filter:blur(6px);letter-spacing:.2em;animation:v3-el 1.2s var(--v3-ease) forwards;animation-delay:calc(var(--i)*.15s)}
.v3-cap--elegante small{font:600 .5rem/1 Montserrat,sans-serif;letter-spacing:.35em;text-transform:uppercase}
@keyframes v3-el{to{opacity:1;filter:none;letter-spacing:0}}
.v3-cap--dinamico .v3-cap__main{font:900 1.25rem/1 Montserrat,sans-serif;text-transform:uppercase;-webkit-text-stroke:1px #000;paint-order:stroke fill;text-shadow:0 3px 0 #000}
.v3-cap--dinamico .v3-w{opacity:0;transform:scale(.3) rotate(-6deg);animation:v3-pop .42s cubic-bezier(.3,1.8,.5,1) forwards;animation-delay:calc(var(--i)*.14s)}
.v3-cap--dinamico .v3-w:last-child{color:var(--v3-warm)}
.v3-cap--dinamico small{display:inline-block;font:800 .55rem/1 Montserrat,sans-serif;text-transform:uppercase;background:var(--v3-blue);padding:4px 7px;border-radius:4px}
@keyframes v3-pop{to{opacity:1;transform:none}}
.v3-cap--emozionale .v3-cap__main{font:700 1.15rem/1.15 Montserrat,sans-serif;letter-spacing:-.01em;text-shadow:0 2px 20px rgba(0,0,0,.8)}
.v3-cap--emozionale .v3-w{opacity:0;transform:translateY(14px);filter:blur(4px);animation:v3-emo 1.4s var(--v3-ease) forwards;animation-delay:calc(var(--i)*.25s)}
.v3-cap--emozionale small{font:italic 400 .9rem/1 "Instrument Serif",Georgia,serif}
@keyframes v3-emo{to{opacity:1;transform:none;filter:none}}
.v3-cap--scelta-2p .v3-cap__main{font:800 1.2rem/1.05 Montserrat,sans-serif}
.v3-cap--scelta-2p .v3-w{animation:v3-glitch 2.4s steps(1) infinite;animation-delay:calc(var(--i)*.1s)}
.v3-cap--scelta-2p small{font:600 .55rem/1 Montserrat,sans-serif;letter-spacing:.3em;text-transform:uppercase}
@keyframes v3-glitch{0%{text-shadow:-3px 0 #ff2e63,3px 0 #08d9d6;transform:translateX(-2px)}6%{text-shadow:2px 0 #ff2e63,-2px 0 #08d9d6;transform:translateX(2px)}12%,100%{text-shadow:0 2px 14px rgba(0,0,0,.7);transform:none}}
.v3-live__music{position:absolute;left:12px;right:12px;bottom:14px;height:22px;z-index:4;display:flex;align-items:flex-end;gap:2px}
.v3-live__music i{flex:1;height:100%;border-radius:2px;background:rgba(255,255,255,.85);transform-origin:bottom;animation:v3-bar var(--sp,1s) ease-in-out infinite alternate;animation-delay:calc(var(--i)*-.13s)}
.v3-live__music[data-wave="calm"] i{--sp:1.8s;--lo:.15;--hi:.45}
.v3-live__music[data-wave="up"] i{--sp:.35s;--lo:.2;--hi:1}
.v3-live__music[data-wave="cine"] i{--sp:1.2s;--lo:.1;--hi:.9}
.v3-live__music[data-wave="clean"] i{--sp:.9s;--lo:.25;--hi:.5}
.v3-live__music[data-wave="auto"] i{--sp:.7s;--lo:.15;--hi:.75}
@keyframes v3-bar{from{transform:scaleY(var(--lo,.2))}to{transform:scaleY(var(--hi,.8))}}
.v3-live__info{text-align:center;line-height:1.35}
.v3-live__info strong{display:block;font-size:.95rem;color:#fff}
.v3-live__info span{font-size:.78rem;color:#9aa6b8}

/* ---------- step timeline ---------- */
.v3-steps{display:flex;align-items:center;gap:4px;margin:0 0 22px}
.v3-steps i{flex:1;max-width:64px;height:6px;border-radius:3px;background:rgba(255,255,255,.1);position:relative;overflow:hidden}
.v3-steps i::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,var(--v3-blue),var(--v3-blue-2));transform:scaleX(0);transform-origin:left;transition:transform .6s var(--v3-ease)}
.v3-steps i.is-done::after{transform:scaleX(1)}
.v3-steps i.is-now::after{transform:scaleX(.5);animation:v3-now 1.6s ease-in-out infinite alternate}
@keyframes v3-now{to{transform:scaleX(.85)}}
.v3-steps span{margin-left:10px;font:700 .72rem/1 Montserrat,sans-serif;letter-spacing:.08em;color:#9aa6b8;white-space:nowrap}

/* step change: questions arrive towards you */
.v3-form .trial-question-screen.is-active .trial-question-wrap{animation:v3-in .7s var(--v3-ease)}
@keyframes v3-in{from{opacity:0;transform:perspective(900px) translate3d(0,24px,-120px) rotateX(10deg)}to{opacity:1;transform:none}}

/* ---------- choice cards ---------- */
.v3-form .trial-choice-grid label>span{transition:transform .35s var(--v3-ease),box-shadow .35s var(--v3-ease),border-color .35s}
.v3-form .trial-choice-grid label:hover>span{transform:translateY(-2px)}
.v3-form .trial-choice-grid input:checked+span{box-shadow:0 0 0 2px var(--v3-blue),0 18px 40px -18px rgba(47,124,255,.8)!important;transform:translateY(-2px)}
.v3-ico{display:block;width:26px;height:26px;margin:0 0 10px;background:currentColor;-webkit-mask:var(--m) center/contain no-repeat;mask:var(--m) center/contain no-repeat}
.v3-icons label>span{display:flex;flex-direction:column}
.v3-ico--ig{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2C4.2 2 2 4.2 2 7v10c0 2.8 2.2 5 5 5h10c2.8 0 5-2.2 5-5V7c0-2.8-2.2-5-5-5H7zm10 2c1.7 0 3 1.3 3 3v10c0 1.7-1.3 3-3 3H7c-1.7 0-3-1.3-3-3V7c0-1.7 1.3-3 3-3h10zm-5 3.5A5.5 5.5 0 1 0 17.5 13 5.5 5.5 0 0 0 12 7.5zm0 2A3.5 3.5 0 1 1 8.5 13 3.5 3.5 0 0 1 12 9.5zm5-3a1 1 0 1 0 1 1 1 1 0 0 0-1-1z'/%3E%3C/svg%3E")}
.v3-ico--tt{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 8.2a7.1 7.1 0 0 1-4.8-2v7.4a6.3 6.3 0 1 1-5.2-6.2v3.3a3 3 0 1 0 2.2 2.9V2h3a7.1 7.1 0 0 0 4.8 2z'/%3E%3C/svg%3E")}
.v3-ico--fb{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M22 12a10 10 0 1 0-11.6 9.9v-7H8.1V12h2.3V9.8c0-2.3 1.4-3.6 3.5-3.6 1 0 2 .1 3 .3v2.6h-1.7c-1.3 0-1.7.8-1.7 1.6V12h3l-.5 2.9h-2.5v7A10 10 0 0 0 22 12z'/%3E%3C/svg%3E")}
.v3-ico--web{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c3 3.5 3 14.5 0 18M12 3c-3 3.5-3 14.5 0 18'/%3E%3C/svg%3E")}
.v3-ico--multi{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='3' width='7' height='7' rx='2'/%3E%3Crect x='14' y='3' width='7' height='7' rx='2'/%3E%3Crect x='3' y='14' width='7' height='7' rx='2'/%3E%3Crect x='14' y='14' width='7' height='7' rx='2'/%3E%3C/svg%3E")}
.v3-ico--help{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.5 9a2.5 2.5 0 1 1 3.5 2.3c-.6.3-1 .9-1 1.5V14M12 17.5v.01'/%3E%3C/svg%3E")}
.v3-icons input[value="Instagram Reel"]:checked+span .v3-ico{background:linear-gradient(45deg,#feda75,#d62976,#962fbf)}

/* style demo inside cards */
.v3-styles label>span{display:flex;flex-direction:column}
.v3-demo{display:grid;place-items:center;height:64px;margin:0 0 12px;border-radius:12px;background:linear-gradient(160deg,#1a2a4a,#070b14);overflow:hidden;color:#fff;font-weight:400;text-align:center;padding:0 6px}
.v3-demo--elegante{font:italic 400 1.35rem/1 "Instrument Serif",Georgia,serif;animation:v3-demo-el 3.2s var(--v3-ease) infinite}
@keyframes v3-demo-el{0%{opacity:0;letter-spacing:.3em;filter:blur(5px)}35%,80%{opacity:1;letter-spacing:0;filter:none}100%{opacity:0}}
.v3-demo--dinamico{display:flex;justify-content:center;align-items:center;gap:4px;font:900 .8rem/1 Montserrat,sans-serif}
.v3-demo--dinamico i{font-style:normal;animation:v3-demo-pop 2.4s cubic-bezier(.3,1.8,.5,1) infinite}
.v3-demo--dinamico i:nth-child(2){animation-delay:.15s}
.v3-demo--dinamico i:nth-child(3){animation-delay:.3s;color:var(--v3-warm)}
@keyframes v3-demo-pop{0%{opacity:0;transform:scale(.2)}15%,80%{opacity:1;transform:none}100%{opacity:0}}
.v3-demo--emozionale{font:700 .85rem/1.2 Montserrat,sans-serif;animation:v3-demo-emo 3.4s var(--v3-ease) infinite}
@keyframes v3-demo-emo{0%{opacity:0;transform:translateY(10px);filter:blur(4px)}40%,85%{opacity:1;transform:none;filter:none}100%{opacity:0}}
.v3-demo--sorpresa{font:800 1.8rem/1 Montserrat,sans-serif;animation:v3-glitch 1.8s steps(1) infinite}

/* music waves */
.v3-music{grid-template-columns:repeat(5,minmax(0,1fr))!important}
.v3-music label>span{display:flex!important;flex-direction:column;align-items:center;text-align:center;gap:10px;padding:14px 8px!important;font-size:.85rem}
.v3-wave{display:flex;align-items:center;gap:2px;height:22px;width:46px}
.v3-wave::before,.v3-wave::after{content:"";flex:1;height:100%;background:repeating-linear-gradient(90deg,var(--v3-blue-2) 0 3px,transparent 3px 5px);transform-origin:center;animation:v3-bar var(--sp,1s) ease-in-out infinite alternate}
.v3-wave::after{animation-delay:-.4s}
.v3-wave[data-wave="calm"]{--sp:1.8s;--lo:.2;--hi:.5}
.v3-wave[data-wave="up"]{--sp:.35s;--lo:.2;--hi:1}
.v3-wave[data-wave="cine"]{--sp:1.2s;--lo:.15;--hi:.95}
.v3-wave[data-wave="clean"]{--sp:.9s;--lo:.3;--hi:.55}
.v3-wave[data-wave="auto"]{--sp:.7s;--lo:.2;--hi:.8}
.v3-sub{margin:26px 0 10px;font-weight:700;color:#fff}

/* optional details */
.v3-more{margin-top:18px;border:1px solid var(--v3-line);border-radius:16px;background:rgba(255,255,255,.025)}
.v3-more summary{cursor:pointer;list-style:none;padding:16px 18px;font-weight:700;color:#fff;display:flex;align-items:center;gap:10px}
.v3-more summary::-webkit-details-marker{display:none}
.v3-more summary::after{content:"+";margin-left:auto;font-size:1.3rem;line-height:1;color:var(--v3-blue-2);transition:transform .3s}
.v3-more[open] summary::after{transform:rotate(45deg)}
.v3-more summary small{font-weight:500;color:#9aa6b8}
.v3-more__body{padding:0 18px 18px;display:grid;gap:14px}
.v3-pills{border:0;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.v3-pills legend{width:100%;margin-bottom:8px;font-size:.85rem;font-weight:600;color:#c7d0dd}
.v3-pills label{position:relative}
.v3-pills input{position:absolute;opacity:0;pointer-events:none}
.v3-pills span{display:inline-block;padding:9px 14px;border-radius:999px;border:1px solid var(--v3-line);font-size:.85rem;color:#dfe6f0;cursor:pointer;transition:.25s}
.v3-pills input:checked+span{background:#fff;color:#05070d;border-color:#fff}
.v3-pills input:focus-visible+span{outline:2px solid var(--v3-warm);outline-offset:2px}

/* ---------- upload film strip ---------- */
.v3-strip{display:none;gap:8px;overflow-x:auto;padding:14px 2px 6px;scrollbar-width:none}
.v3-strip.has-items{display:flex}
.v3-frame{position:relative;flex:0 0 58px;aspect-ratio:9/16;border-radius:10px;overflow:hidden;background:#111a2c;box-shadow:0 0 0 1px var(--v3-line);animation:v3-fly .7s var(--v3-ease) both;animation-delay:calc(var(--i)*.06s)}
@keyframes v3-fly{from{opacity:0;transform:translate3d(0,-40px,0) rotate(-12deg) scale(1.3)}to{opacity:1;transform:none}}
.v3-frame video,.v3-frame img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.v3-frame b{position:absolute;inset:0;background:rgba(5,8,15,.72);transform-origin:top;transition:transform .5s var(--v3-ease)}
.v3-frame span{position:absolute;left:0;right:0;bottom:6px;text-align:center;font:800 .62rem/1 Montserrat,sans-serif;color:#fff;text-shadow:0 1px 4px #000}
.v3-frame.is-complete{box-shadow:0 0 0 2px var(--v3-blue)}
.v3-frame.is-complete span{font-size:.9rem;color:#fff}
.v3-frame.is-error{box-shadow:0 0 0 2px #ff5c5c}
.v3-frame.is-queued b{animation:v3-wait 1.4s ease-in-out infinite alternate}
@keyframes v3-wait{to{background:rgba(5,8,15,.5)}}
.v3-form .trial-file-list{margin-top:8px}

/* ---------- finale ---------- */
.v3-finale{position:relative;text-align:center;margin:0 auto 18px}
.v3-finale__phone{position:relative;width:120px;aspect-ratio:9/18;margin:0 auto 18px;border-radius:24px;padding:6px;background:linear-gradient(145deg,#2a2f3a,#0c0f15 40%,#1d222c);box-shadow:0 0 0 1px rgba(255,255,255,.14),0 30px 90px -20px rgba(47,124,255,.9);animation:v3-phone-in 1s var(--v3-ease) both}
@keyframes v3-phone-in{from{opacity:0;transform:translateY(30px) scale(.8) rotate(-6deg)}to{opacity:1;transform:none}}
.v3-finale__screen{position:relative;width:100%;height:100%;border-radius:19px;overflow:hidden;background:#05070d}
.v3-finale__clip{position:absolute;inset:0;animation:v3-clip-out 2.6s var(--v3-ease) forwards}
.v3-finale__clip video,.v3-finale__clip img{width:100%;height:100%;object-fit:cover}
@keyframes v3-clip-out{0%,45%{opacity:1;filter:none}70%,100%{opacity:0;filter:brightness(2) blur(4px)}}
.v3-finale__logo{position:absolute;inset:0;display:grid;place-items:center;background:radial-gradient(70% 50% at 50% 45%,#16264a,#03050a);opacity:0;animation:v3-fade .6s ease 1.6s forwards}
.v3-finale__logo .v2-mark{width:62%;aspect-ratio:1;-webkit-mask:var(--logo) center/contain no-repeat;mask:var(--logo) center/contain no-repeat;background:linear-gradient(100deg,#9fb3cf 40%,#fff 50%,#9fb3cf 60%);background-size:300% 100%;animation:v3-logo-light 2s ease-in-out 1.8s infinite}
@keyframes v3-logo-light{0%{background-position:100% 0}60%,100%{background-position:0 0}}
@keyframes v3-fade{to{opacity:1}}
.v3-finale__sweep{position:absolute;inset:-20%;background:linear-gradient(110deg,transparent 40%,rgba(255,255,255,.7) 50%,transparent 60%);transform:translateX(-100%);animation:v3-sweep 1.1s ease-in-out 1.1s forwards}
@keyframes v3-sweep{to{transform:translateX(100%)}}
.v3-finale__burst{position:absolute;left:50%;top:110px;width:0;height:0}
.v3-finale__burst i{position:absolute;width:12px;height:20px;margin:-10px 0 0 -6px;border-radius:3px;background:linear-gradient(var(--v3-blue-2),var(--v3-blue));opacity:0;animation:v3-burst 1.4s var(--v3-ease) 1.5s forwards}
.v3-finale__burst i:nth-child(3n){background:var(--v3-warm)}
.v3-finale__burst i:nth-child(4n){background:#fff}
@keyframes v3-burst{0%{opacity:1;transform:translate(0,0) rotate(0) scale(.4)}100%{opacity:0;transform:translate(var(--x),var(--y)) rotate(var(--r)) scale(1)}}
.v3-finale__eyebrow{margin:0 0 6px;font:800 .72rem/1 Montserrat,sans-serif;letter-spacing:.24em;color:var(--v3-blue-2);opacity:0;animation:v3-up .7s var(--v3-ease) 2s forwards}
.v3-finale__title{margin:0;font:800 clamp(1.5rem,4vw,2.2rem)/1.05 Montserrat,sans-serif;letter-spacing:-.03em;color:#fff;opacity:0;animation:v3-up .8s var(--v3-ease) 2.2s forwards}
.v3-finale__title em{display:block;font:italic 400 1.15em/1.1 "Instrument Serif",Georgia,serif;color:var(--v3-blue-2);letter-spacing:0}

/* ---------- phone layout ---------- */
@media (max-width:900px){
  .v3-layout{display:block}
  .v3-live{position:sticky;top:0;z-index:6;flex-direction:row;justify-content:flex-start;gap:14px;margin:0 -4px 14px;padding:8px 4px 10px;background:linear-gradient(#070d18 75%,rgba(7,13,24,0))}
  .v3-live__phone{width:68px;flex:0 0 68px;border-radius:16px;padding:4px}
  .v3-live__screen{border-radius:12px}
  .v3-live__island,.v3-live__platform,.v3-live__music,.v3-live__empty span{display:none}
  .v3-live__empty i{width:24px;height:24px}
  .v3-live__cap{padding:0 4px}
  .v3-live__cap .v3-cap__main{font-size:.62rem!important;-webkit-text-stroke:0!important;text-shadow:0 1px 6px #000!important}
  .v3-live__cap small{display:none}
  .v3-live__info{text-align:left}
  .v3-music{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .v3-demo{height:52px}
}
@media (prefers-reduced-motion:reduce){
  .v3-form *,.v3-finale *{animation:none!important;transition:none!important}
  .v3-finale__logo,.v3-finale__eyebrow,.v3-finale__title{opacity:1}
  .v3-finale__clip{display:none}
}
.trial-complete .v3-finale__title{font-size:clamp(1.6rem,6vw,2.3rem)!important;line-height:1.05!important}
.trial-complete .v3-finale__title em{font-size:1.2em!important}
.trial-complete .v3-finale__eyebrow{font-size:.72rem!important}
.v3-finale__mail{display:inline-block;margin:14px 0 0;padding:8px 14px;border-radius:999px;background:rgba(124,178,255,.12);color:#cfe0ff;font:600 .85rem/1 Montserrat,sans-serif;opacity:0;animation:v3-up .8s var(--v3-ease) 2.5s forwards}
.v3-mail-ico{display:block;width:28px;height:28px;margin-bottom:10px;background:var(--v3-blue-2);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 6L2 7'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 6L2 7'/%3E%3C/svg%3E") center/contain no-repeat;animation:v3-mail 2.4s ease-in-out infinite}
@keyframes v3-mail{0%,100%{transform:none}50%{transform:translateY(-4px) rotate(-6deg)}}
.v3-mail-card strong#deliveryEstimate{display:none!important}
/* "Decidete voi" is the default: calm, clean caption instead of a glitch */
.v3-cap--scelta-2p .v3-cap__main{font:800 1.2rem/1.05 Montserrat,sans-serif;text-shadow:0 2px 16px rgba(0,0,0,.75)}
.v3-cap--scelta-2p .v3-w{opacity:0;transform:translateY(10px);animation:v3-up .7s var(--v3-ease) forwards;animation-delay:calc(var(--i)*.12s);text-shadow:inherit}
.v3-demo--sorpresa{font:900 1.5rem/1 Montserrat,sans-serif;letter-spacing:-.04em;color:#fff;animation:v3-glow 2.4s ease-in-out infinite}
@keyframes v3-glow{0%,100%{text-shadow:0 0 0 rgba(124,178,255,0)}50%{text-shadow:0 0 18px rgba(124,178,255,.9)}}
.v3-styles label:has(input[value="scelta-2p"])>span{box-shadow:inset 0 0 0 1px rgba(124,178,255,.35)}
@media (max-width:520px){.v3-form .trial-step-actions:has(.trial-submit){flex-wrap:wrap;justify-content:center}.v3-form .trial-step-actions .trial-submit{flex:1 1 100%;order:-1}}

/* ---------- layout fix: one scroll area, page behind locked, buttons always visible ---------- */
html:has(body.trial-studio-open),body.studio-site.trial-studio-open{overflow:hidden!important;overscroll-behavior:none}
.trial-studio .trial-studio__scroll.v3-scroll{overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y}
.trial-studio .v3-form .trial-question-screen,.trial-studio .v3-form .trial-question-wrap,.trial-studio .v3-form .trial-question-wrap--upload,.trial-studio .v3-form .trial-upload-scroll{height:auto!important;max-height:none!important;min-height:0!important;overflow:visible!important;flex:none!important}
.trial-studio .v3-form .trial-step-actions{position:sticky!important;bottom:0;z-index:6;margin-top:18px!important;padding:16px 0 calc(16px + env(safe-area-inset-bottom))!important;background:linear-gradient(rgba(8,13,24,0),#080d18 28%)!important}
.trial-studio .v3-form{padding-bottom:0!important}
.trial-studio form.v3-form{height:auto!important;min-height:100%!important;max-height:none!important;overflow:visible!important}
.trial-studio .v3-form .trial-file-list{max-height:none!important;height:auto!important;overflow:visible!important}

/* review step: stack the two cards (old rules forced a 52px column) */
.trial-studio .v3-form .trial-finish-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
.trial-studio .v3-form .trial-review-card,.trial-studio .v3-form .trial-delivery-card{width:auto!important;min-width:0!important;max-width:none!important;position:relative!important;inset:auto!important;grid-column:auto!important;grid-row:auto!important}
.trial-studio .v3-form .trial-review-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
.trial-studio .v3-form .trial-review-grid>div{min-width:0}
.trial-studio .v3-form .trial-review-grid b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.trial-studio .v3-form .trial-review-head{display:flex;justify-content:space-between;align-items:baseline;gap:10px;flex-wrap:wrap}

/* required-field message */
.v3-error{margin:8px 2px 0;color:#ff9b9b;font-size:.9rem;font-weight:600;line-height:1.4}
.v3-form input.is-invalid{border-color:#ff6b6b!important;box-shadow:0 0 0 3px rgba(255,107,107,.18)!important}
.v3-shake{animation:v3-shake .4s ease}
@keyframes v3-shake{20%,60%{transform:translateX(-6px)}40%,80%{transform:translateX(6px)}}

/* ---------- phones: the Reel being built sits big in the centre, one compact question below ---------- */
@media (max-width:900px){
  .trial-studio .v3-form .trial-preview-note{display:none!important}
  .v3-layout{display:flex;flex-direction:column}
  .v3-live{position:relative;top:auto;flex-direction:column;align-items:center;gap:6px;margin:0 0 8px;padding:0;background:none}
  .v3-live__phone{width:auto!important;max-width:none;height:clamp(150px,28svh,250px);flex:none;aspect-ratio:9/18.5;border-radius:24px;padding:5px}
  .v3-live__screen{border-radius:19px}
  .v3-live__island{display:block;top:5px;height:9px}
  .v3-live__platform{display:flex;top:18px;left:6px;padding:3px 6px 3px 4px;font-size:.5rem}
  .v3-live__platform .v3-ico{width:10px;height:10px}
  .v3-live__music{display:flex;left:8px;right:8px;bottom:7px;height:11px}
  .v3-live__empty span{display:block;font-size:.62rem}
  .v3-live__empty i{width:28px;height:28px}
  .v3-live__cap{padding:0 8px}
  .v3-live__cap .v3-cap__main{font-size:.9rem!important;-webkit-text-stroke:0!important;text-shadow:0 1px 8px rgba(0,0,0,.8)!important}
  .v3-live__cap small{display:block;font-size:.5rem;margin-top:3px}
  .v3-live__info{text-align:center}
  .v3-live__info strong{font-size:.86rem}
  .v3-live__info span{font-size:.7rem}
  .v3-steps{justify-content:center;margin:0 0 10px}
  .v3-steps i{max-width:30px;height:4px}
  .v3-steps span{font-size:.62rem}
  .trial-studio .v3-form .trial-question-wrap{gap:10px!important;padding:0!important}
  .trial-studio .v3-form .trial-step-heading{margin:0!important;text-align:center}
  .trial-studio .v3-form .trial-step-heading>span{font-size:.6rem!important}
  .trial-studio .v3-form .trial-step-heading h3{font-size:1.3rem!important;line-height:1.12!important;margin:4px 0 4px!important}
  .trial-studio .v3-form .trial-step-heading p{font-size:.78rem!important;line-height:1.35!important;margin:0!important}
  .trial-studio .v3-form .trial-choice-grid{gap:8px!important;margin:8px 0 0!important}
  .trial-studio .v3-form .trial-choice-grid label>span{min-height:0!important;padding:10px 8px!important;font-size:.8rem!important;line-height:1.2!important;border-radius:12px!important}
  .trial-studio .v3-form .trial-choice-grid small{display:none!important}
  .trial-studio .v3-form .v3-icons{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .trial-studio .v3-form .v3-icons label>span{align-items:center;text-align:center}
  .v3-ico{width:20px;height:20px;margin:0 auto 6px}
  .trial-studio .v3-form .v3-styles{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .v3-demo{height:36px!important;margin:0 0 6px!important;font-size:.9em}
  .v3-demo--elegante{font-size:1.05rem!important}
  .v3-demo--sorpresa{font-size:1.2rem!important}
  .trial-studio .v3-form .v3-music{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .trial-studio .v3-form .v3-music label>span{gap:6px!important}
  .trial-studio .v3-form .trial-dropzone{padding:14px!important;min-height:0!important}
  .trial-studio .v3-form .trial-dropzone .trial-upload-icon{display:none!important}
  .trial-studio .v3-form .trial-dropzone small{font-size:.62rem!important}
  .trial-studio .v3-form .trial-question-input input{padding:12px 14px!important}
  .trial-studio .v3-form .trial-step-actions{margin-top:10px!important;padding:10px 0 calc(10px + env(safe-area-inset-bottom))!important}
}
@media (max-width:900px) and (max-height:700px){
  .v3-live__phone{height:clamp(120px,22svh,180px)}
  .trial-studio .v3-form .trial-step-heading p{display:none}
}
@media (max-width:900px){
  .v3-live{gap:4px;margin:0 0 6px}
  .v3-live__phone{height:clamp(130px,22svh,200px)}
  .v3-live__info span{display:none}
  .v3-steps{margin:0 0 6px}
  .trial-studio .v3-form .trial-step-heading h3{font-size:1.18rem!important;margin:2px 0!important}
  .trial-studio .v3-form .trial-step-heading p{font-size:.74rem!important}
  .trial-studio .v3-form .trial-choice-grid label>span{padding:8px 6px!important}
  .v3-ico{width:18px;height:18px;margin:0 auto 4px}
  .v3-demo{height:30px!important;margin:0 0 4px!important}
  .v3-wave{height:16px}
  .trial-studio .v3-form .trial-step-actions{margin-top:6px!important;padding:8px 0 calc(8px + env(safe-area-inset-bottom))!important}
  .trial-studio .v3-form .trial-step-actions .btn{padding-top:13px!important;padding-bottom:13px!important}
}
@media (max-width:900px) and (max-height:700px){
  .v3-live__phone{height:clamp(110px,18svh,150px)}
  .v3-live__info{display:none}
}
@media (max-width:900px){
  .v3-live{width:100%}
  .v3-live__phone{margin:0 auto}
  .trial-studio .v3-form .trial-question-wrap{gap:8px!important}
}
@media (max-width:900px) and (max-height:700px){
  .v3-live__phone{height:clamp(110px,19svh,140px)}
  .v3-live__cap small{display:none}
  .v3-demo{height:24px!important;font-size:.8em}
  .v3-demo--elegante{font-size:.9rem!important}
  .trial-studio .v3-form .trial-step-heading h3{font-size:1.08rem!important}
  .trial-studio .v3-form .trial-choice-grid{gap:6px!important;margin-top:4px!important}
}
@media (max-width:900px) and (max-height:700px){
  .trial-studio .v3-form .trial-question-screen:not([data-step="1"]) .trial-step-heading p{display:none!important}
}

/* ---------- upload progress: badge on the phone + box on the last step ---------- */
.v3-live__up{position:absolute;top:30px;right:8px;z-index:6;padding:5px 8px;border-radius:999px;background:var(--v3-blue);color:#fff;font:800 .68rem/1 Montserrat,sans-serif;box-shadow:0 6px 18px -6px rgba(47,124,255,.9)}
.v3-live__up.is-done{background:#22b573}
.v3-live__up.is-error{background:#e5484d}
.v3-upload{margin:0 0 12px;padding:14px 16px;border-radius:16px;background:rgba(47,124,255,.08);box-shadow:inset 0 0 0 1px rgba(124,178,255,.28)}
.v3-upload.is-done{background:rgba(34,181,115,.1);box-shadow:inset 0 0 0 1px rgba(34,181,115,.4)}
.v3-upload.is-error{background:rgba(229,72,77,.1);box-shadow:inset 0 0 0 1px rgba(229,72,77,.45)}
.v3-upload__top{display:flex;justify-content:space-between;align-items:baseline;gap:10px;color:#fff}
.v3-upload__top strong{font-size:.95rem}
.v3-upload__top b{font:800 1.5rem/1 Montserrat,sans-serif;color:var(--v3-blue-2)}
.v3-upload.is-done .v3-upload__top b{color:#4fd69a}
.v3-upload__bar{height:8px;margin:10px 0 8px;border-radius:4px;background:rgba(255,255,255,.1);overflow:hidden}
.v3-upload__bar i{display:block;height:100%;background:linear-gradient(90deg,var(--v3-blue),var(--v3-blue-2));transform-origin:left;transform:scaleX(0);transition:transform .4s ease}
.v3-upload.is-done .v3-upload__bar i{background:#22b573}
.v3-upload p{margin:0 0 10px;font-size:.8rem;line-height:1.4;color:#c7d0dd}
.v3-upload__list{list-style:none;margin:0;padding:0;display:grid;gap:6px;max-height:156px;overflow-y:auto}
.v3-upload__list li{display:grid;grid-template-columns:28px minmax(0,1fr) auto auto;align-items:center;gap:8px;font-size:.8rem;color:#dfe6f0}
.v3-upload__pic{width:28px;height:28px;border-radius:6px;overflow:hidden;background:#111a2c}
.v3-upload__pic video,.v3-upload__pic img{width:100%;height:100%;object-fit:cover;display:block}
.v3-upload__name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.v3-upload__pct{font-weight:800;color:#fff}
.v3-upload__list li.is-complete .v3-upload__pct{color:#4fd69a}
.v3-upload__list li.is-error .v3-upload__pct{color:#ff8a8a}
.v3-upload__retry{border:0;border-radius:999px;padding:5px 10px;background:#e5484d;color:#fff;font:700 .72rem/1 Montserrat,sans-serif;cursor:pointer}
@media (max-width:900px){.v3-live__up{top:18px;right:6px;padding:3px 6px;font-size:.55rem}}

/* ---- free idea (step 2): big text box + starter phrases ---- */
.trial-studio .v3-form .v3-idea textarea{min-height:170px!important;max-height:240px!important;resize:vertical!important}
.v3-sparks{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 18px}
.v3-sparks button{padding:8px 13px;border-radius:999px;border:1px dashed rgba(255,255,255,.3);background:transparent;color:#dfe6f0;font:inherit;font-size:.84rem;cursor:pointer;transition:.25s}
.v3-sparks button:hover,.v3-sparks button:focus-visible{border-style:solid;border-color:#fff;color:#fff;outline:none}
.trial-studio .v3-form .trial-review-grid>.v3-review-idea{grid-column:1/-1}
.trial-studio .v3-form .trial-review-grid>.v3-review-idea b{white-space:normal;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;line-height:1.4}
@media (max-width:620px){.trial-studio .v3-form .v3-idea textarea{min-height:140px!important}}

/* ---- video tiers with price (step 3) + payment note (last step) ---- */
.v3-tiers{border:0;margin:0 0 18px;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.v3-tiers label{position:relative;cursor:pointer}
.v3-tiers input{position:absolute;opacity:0;pointer-events:none}
.v3-tiers span{display:flex;flex-direction:column;gap:4px;height:100%;padding:14px 14px 13px;border-radius:16px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.03);transition:.25s}
.v3-tiers b{font-size:.98rem;color:#fff}
.v3-tiers em{font-style:normal;font-weight:800;font-size:1.25rem;color:var(--v3-blue-2)}
.v3-tiers small{font-size:.78rem;line-height:1.35;color:#aab5c5}
.v3-tiers input:checked+span{border-color:#fff;background:rgba(47,124,255,.16);box-shadow:0 0 0 1px #fff inset}
.v3-tiers input:focus-visible+span{outline:2px solid var(--v3-warm);outline-offset:2px}
.v3-dest-title{margin:4px 0 10px;font-weight:700;color:#dfe6f0;font-size:.92rem}
.v3-pay-note{margin:12px 0 4px;padding:12px 14px;border-radius:14px;border:1px solid rgba(124,178,255,.35);background:rgba(47,124,255,.08);color:#dfe6f0;font-size:.86rem;line-height:1.5}
@media (max-width:620px){.v3-tiers{grid-template-columns:1fr}.v3-tiers span{flex-direction:row;flex-wrap:wrap;align-items:baseline;column-gap:10px}.v3-tiers small{flex-basis:100%}}
/* tiers: beat the generic ".trial-studio label span" rules of the older form CSS */
.trial-studio .v3-form .v3-tiers{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
.trial-studio .v3-form .v3-tiers label>span{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:4px!important;min-height:0!important;padding:14px!important;text-align:left!important}
.trial-studio .v3-form .v3-tiers label>span>b,.trial-studio .v3-form .v3-tiers label>span>em,.trial-studio .v3-form .v3-tiers label>span>small{display:block!important;margin:0!important}
.trial-studio .v3-form .v3-tiers label>span>em{white-space:nowrap}
.trial-studio .v3-form .v3-tiers label>span>em s{margin-right:6px;font-size:.8em;font-weight:600;color:#8d99ab;text-decoration-thickness:2px}
/* tiers on the last step: small title above them */
.v3-tiers-title{margin:4px 0 8px!important;font-size:1rem!important;color:#fff!important}
.trial-question-wrap--review .v3-pay-note{margin:0 0 14px!important}
