/* Homepage-only interactive product demo. The content is server-rendered; JS adds interaction. */
.page-home .hero-flow{max-width:1180px}.hero-media-wrap-interactive{width:min(100%,1160px)}
.home-interactive-demo{--demo-brand:#8d075f;--demo-purple:#6f2de8;--demo-green:#1d9a66;--demo-ink:#24263a;position:relative;overflow:hidden;border:1px solid rgba(210,215,232,.95);border-bottom:0;border-radius:18px 18px 0 0;background:#fff;box-shadow:0 20px 45px rgba(31,22,57,.11);text-align:left}.home-interactive-demo *{box-sizing:border-box}.home-interactive-demo [hidden]{display:none!important}.home-interactive-demo button,.home-interactive-demo input,.home-interactive-demo textarea{font:inherit}
.home-demo-label{min-height:38px;display:flex;align-items:center;gap:8px;padding:9px 18px;border-bottom:1px solid #ebe7ed;background:#faf9fb;color:var(--demo-brand);font-size:8.5px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.home-demo-label i{font-size:9px}
.home-demo-controls{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.7fr) minmax(255px,.72fr);gap:12px;padding:18px;border-bottom:1px solid #e8dfe8;background:linear-gradient(135deg,#fff8fc,#f6f1fb 55%,#f1f8f5)}.home-demo-controls:before,.home-demo-controls:after{content:"";position:absolute;border-radius:48% 52% 63% 37%;filter:blur(3px);opacity:.28;pointer-events:none;animation:homeDemoFloat 7s ease-in-out infinite alternate}.home-demo-controls:before{width:180px;height:105px;left:5%;bottom:-60px;background:linear-gradient(135deg,#eb8fc6,#b393f2)}.home-demo-controls:after{width:155px;height:100px;right:4%;top:-62px;background:linear-gradient(135deg,#8fe0bf,#bca5ed);animation-delay:-2.6s}
.home-demo-switch{position:relative;z-index:1;min-width:0;min-height:86px;display:grid;grid-template-columns:42px 52px minmax(0,1fr) 36px;align-items:center;gap:12px;padding:12px 16px;border:1px solid rgba(255,255,255,.45);border-radius:17px;background:linear-gradient(120deg,#88105f,#6c256f 52%,#56318d);box-shadow:0 13px 30px rgba(89,28,82,.2),inset 0 1px rgba(255,255,255,.14);color:#fff;cursor:pointer;text-align:left;transition:transform .2s ease,box-shadow .2s ease}.home-demo-switch:hover{transform:translateY(-2px);box-shadow:0 17px 36px rgba(89,28,82,.26),inset 0 1px rgba(255,255,255,.18)}.home-demo-switch.is-ready{box-shadow:0 0 0 5px rgba(202,53,143,.12),0 18px 40px rgba(111,26,91,.27);animation:homeDemoReady 1.55s ease-in-out infinite}.home-demo-hand{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:rgba(255,255,255,.15);font-size:16px;animation:homeDemoHand 1.8s ease-in-out infinite}.home-demo-switch.is-ready .home-demo-hand{background:#fff;color:var(--demo-brand)}.home-demo-screen{position:relative;width:44px;height:33px;display:flex;align-items:flex-start;justify-content:flex-end;gap:3px;padding:7px 6px 7px 13px;border:1px solid rgba(255,255,255,.55);border-radius:7px;background:rgba(255,255,255,.96)}.home-demo-screen:before{content:"";position:absolute;inset:0 auto 0 0;width:8px;border-radius:6px 0 0 6px;background:#a4186f}.home-demo-screen:after{content:"";position:absolute;right:6px;bottom:6px;left:14px;height:12px;border-radius:3px;background:linear-gradient(135deg,#e9dce5,#f7f1f5)}.home-demo-screen i{position:relative;z-index:2;width:3px;height:3px;border-radius:50%;background:#aa8ca0}.home-demo-switch-copy{min-width:0;display:grid;gap:3px}.home-demo-switch-copy small{display:flex;align-items:center;gap:7px;color:#f2badb;font-size:8px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.home-demo-switch-copy small:before{content:"";width:6px;height:6px;flex:0 0 auto;border-radius:50%;background:#77dfaf;box-shadow:0 0 0 4px rgba(119,223,175,.12)}.home-demo-switch-copy strong{font-size:15px;line-height:1.2}.home-demo-switch-copy em{color:#e2d8e3;font-size:10px;font-style:normal;line-height:1.35}.home-demo-arrow{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#fff;color:#75205e;font-size:11px}
.home-demo-video-trigger{position:relative;z-index:1;min-width:0;display:grid;grid-template-columns:42px minmax(0,1fr) 18px;align-items:center;gap:10px;padding:12px 14px;border:1px solid #ded4e0;border-radius:17px;background:rgba(255,255,255,.9);box-shadow:0 10px 24px rgba(55,36,64,.08);color:#5f3155;cursor:pointer;text-align:left;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}.home-demo-video-trigger:hover{border-color:#ba8caf;background:#fff;transform:translateY(-2px);box-shadow:0 14px 28px rgba(76,35,68,.13)}.home-demo-video-trigger>span:first-child{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#f2e5ee;color:var(--demo-brand)}.home-demo-video-trigger>span:nth-child(2){min-width:0;display:grid;gap:4px}.home-demo-video-trigger small{color:#928391;font-size:7.5px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.home-demo-video-trigger strong{color:#57264b;font-size:12px;line-height:1.25}.home-demo-video-trigger>i{color:#9f7a98;font-size:10px}
.home-demo-context{display:flex;align-items:center;gap:14px;padding:14px 19px;border-bottom:1px solid #e5e3e9;background:linear-gradient(90deg,#faf7ff,#f5faf8)}.home-demo-context>span{width:40px;height:40px;display:grid;place-items:center;flex:0 0 auto;border-radius:11px;background:#eee5ff;color:#6e27ca;font-size:13px}.home-demo-context>div{min-width:0;display:grid;grid-template-columns:215px 1fr;align-items:center;gap:3px 17px}.home-demo-context small{grid-row:1/3;color:#7d7185;font-size:8.5px;font-weight:850;letter-spacing:.07em;text-transform:uppercase}.home-demo-context strong{color:#36394c;font-size:13px}.home-demo-context em{max-width:690px;color:#85899b;font-size:10px;font-style:normal;line-height:1.45}
.home-demo-stage{height:460px;display:flex;overflow:hidden;background:rgba(249,249,251,.92)}.home-demo-wp-rail{width:58px;display:flex;flex:0 0 auto;flex-direction:column;align-items:center;gap:11px;padding-top:16px;background:#202327;color:#fff}.home-demo-wp-rail>i{font-size:25px}.home-demo-wp-rail>b{width:25px;height:8px;border-radius:3px;background:linear-gradient(90deg,#565a5e,#303438);opacity:.72}.home-demo-wp-rail>span{width:37px;height:37px;display:block;overflow:hidden;border-radius:7px;box-shadow:0 5px 13px rgba(141,7,95,.3)}.home-demo-wp-rail img{width:100%;height:100%;display:block;object-fit:cover}.home-demo-sidebar{width:215px;display:flex;flex:0 0 auto;flex-direction:column;gap:12px;padding:27px 15px;border-right:1px solid #e7e5eb;background:#fff}.home-demo-sidebar>img{width:122px;height:auto;display:block;margin:0 auto 24px}.home-demo-sidebar>span{min-height:44px;padding:12px 14px;border-left:3px solid var(--demo-purple);border-radius:8px;background:linear-gradient(90deg,#eee5ff,#f6f6f7);color:#39334e;font-size:13px;font-weight:800}.home-demo-sidebar>i{width:calc(100% - 13px);height:34px;margin-left:7px;border-radius:6px;background:linear-gradient(90deg,#dedee1,#f4f4f6);filter:blur(.2px)}.home-demo-sidebar>i:nth-last-child(2){width:72%}.home-demo-sidebar>i:last-child{width:54%}.home-interactive-demo.is-front-view .home-demo-wp-rail,.home-interactive-demo.is-front-view .home-demo-sidebar{display:none}
.home-demo-editor{min-width:0;flex:1;overflow-y:auto;overscroll-behavior-y:auto;-webkit-overflow-scrolling:touch;padding:17px 21px 24px;scrollbar-color:#c9bdd1 transparent;scrollbar-width:thin}.home-demo-editor::-webkit-scrollbar{width:7px}.home-demo-editor::-webkit-scrollbar-thumb{border:2px solid transparent;border-radius:999px;background:#c9bdd1;background-clip:padding-box}.home-demo-toolbar{position:sticky;z-index:3;top:-17px;display:flex;align-items:center;gap:7px;margin:0 0 12px;padding:12px 2px 10px;border-bottom:1px solid #e5e0e9;background:rgba(248,248,250,.94);backdrop-filter:blur(10px);color:#61657a;font-size:10px;font-weight:800}.home-demo-toolbar i{color:var(--demo-brand)}.home-demo-widgets{display:grid;gap:9px}.home-demo-widget{overflow:hidden;border:1px solid #dedce5;border-radius:12px;background:rgba(255,255,255,.96);box-shadow:0 4px 13px rgba(42,32,61,.045)}.home-demo-widget.is-open{border-color:#cfc5dc;box-shadow:0 0 0 2px rgba(111,45,232,.045),0 7px 18px rgba(42,32,61,.055)}.home-demo-widget-summary{width:100%;min-height:66px;display:grid;grid-template-columns:42px minmax(92px,.72fr) minmax(140px,1fr) 98px 13px;align-items:center;gap:10px;padding:10px 13px;border:0;background:transparent;color:#262940;text-align:left}.home-demo-widget-summary[data-home-demo-widget-toggle]{cursor:pointer}.home-demo-widget-summary[data-home-demo-widget-toggle]:hover{background:#fdfcff}.home-demo-widget-icon{width:37px;height:37px;display:grid;place-items:center;border:1px solid #d9c0ff;border-radius:10px;background:#f5efff;color:var(--demo-purple);font-size:16px}.home-demo-widget-icon i{font-size:12px}.home-demo-widget-summary>strong{font-size:12px}.home-demo-preview{min-width:0;max-width:100%;justify-self:end;overflow:hidden;padding:7px 9px;border:1px solid #bce7cf;border-radius:7px;background:#eafaf1;color:#176b4c;font-size:9px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.home-demo-source{display:flex;align-items:center;justify-content:flex-end;gap:5px;color:#242434;font-size:8px;font-weight:900;letter-spacing:.03em;text-transform:uppercase}.home-demo-source i{color:#b51266;font-size:12px}.home-demo-chevron{color:#888da1;font-size:8px}.home-demo-widget-panel{padding:2px 13px 13px 66px;border-top:1px solid #efebf1;background:linear-gradient(180deg,#fff,#fdfcff)}.home-demo-widget-panel>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0 7px;color:#898c9d;font-size:8px}.home-demo-widget-panel>div b{padding:4px 7px;border-radius:999px;background:#eaf8f0;color:#167c52;font-size:6.5px;text-transform:uppercase}.home-demo-widget-panel input,.home-demo-widget-panel textarea{width:100%;display:block;padding:11px 12px;border:1px solid #d7d8e2;border-radius:8px;outline:0;background:#fff;color:#333747;font-size:11px}.home-demo-widget-panel textarea{min-height:61px;resize:vertical;line-height:1.4}.home-demo-widget-panel input:focus,.home-demo-widget-panel textarea:focus{border-color:#8c62d4;box-shadow:0 0 0 3px rgba(111,45,232,.08)}.home-demo-widget-panel>small{display:block;margin-top:5px;color:#9b9eaa;font-size:7px;text-align:right}.home-demo-widget-panel>small.is-reached{color:#b65435;font-weight:900}.home-demo-placeholder{border-color:#e5e4e9;background:rgba(247,247,249,.9);box-shadow:none;opacity:.55}.home-demo-placeholder .home-demo-widget-icon{border-color:#dedde3;background:#ececf0;color:#a5a6ae}.home-demo-placeholder .home-demo-widget-summary>strong{color:#8e909b}.home-demo-skeleton{height:10px;border-radius:999px;background:linear-gradient(90deg,#dedee3,#f0f0f3)}.home-demo-mock-source{justify-self:end;color:#a1a2aa;font-size:7.5px;font-weight:850;text-transform:uppercase}
.home-demo-front{position:relative;min-width:0;flex:1;overflow:hidden;background:radial-gradient(circle at 65% 38%,rgba(139,44,147,.07),transparent 27%),linear-gradient(180deg,#fff,#f7f6f9);animation:homeDemoFade .3s ease both}.home-demo-front>header{height:58px;display:flex;align-items:center;justify-content:space-between;padding:0 25px;border-bottom:1px solid #e6e3e8;background:rgba(255,255,255,.84);backdrop-filter:blur(8px)}.home-demo-front-brand{color:#333342;font-family:var(--font-display);font-size:17px;font-weight:720;letter-spacing:-.02em}.home-demo-front-brand span{color:#ad2d78}.home-demo-front nav{display:flex;align-items:center;gap:14px}.home-demo-front nav i{width:38px;height:7px;border-radius:999px;background:#dedde3}.home-demo-front nav i:nth-child(2){width:49px}.home-demo-front nav i:nth-child(3){width:34px}.home-demo-front>div{max-width:800px;margin:56px auto 20px;padding:0 24px;text-align:center}.home-demo-front h3{max-width:760px;margin:0 auto;color:#24263a;font-family:var(--font-display);font-size:35px;font-weight:650;line-height:1.08;letter-spacing:-.035em;overflow-wrap:anywhere}.home-demo-front p{max-width:710px;margin:15px auto 0;color:#696d7f;font-size:12.5px;line-height:1.62;overflow-wrap:anywhere}.home-demo-front>div>button{margin-top:20px;padding:11px 20px;border:0;border-radius:7px;background:#70265e;box-shadow:0 7px 16px rgba(112,38,94,.16);color:#fff;font-size:9px;font-weight:900}.home-demo-front>i{display:block;width:66%;height:12px;margin:16px auto 0;border-radius:4px;background:linear-gradient(90deg,#e7e5e9,#f6f5f8);filter:blur(.45px)}.home-demo-front>i:last-child{width:42%}
.home-interactive-demo .home-demo-scope{display:flex;align-items:center;gap:8px;margin:0;padding:9px 16px;border-top:1px solid #e8e5eb;background:#fff;color:#7a7d8c;font-size:10px;font-weight:500;line-height:1.45;text-align:left}.home-interactive-demo .home-demo-scope>i{flex:0 0 auto;color:#8a67bd;font-size:9px}.home-interactive-demo .home-demo-scope>span{display:block;max-width:1060px}.home-demo-features{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #e4e1e8;background:#faf9fb}.home-demo-features>div{min-width:0;min-height:78px;display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;padding:16px;border-right:1px solid #ebe8ef;border-bottom:1px solid #ebe8ef}.home-demo-features>div:nth-child(3n){border-right:0}.home-demo-features>div:nth-last-child(-n+3){border-bottom:0}.home-demo-features>div>i{width:42px;height:42px;display:grid;place-items:center;border-radius:11px;background:#f0edf3;color:#8d7995;font-size:13px}.home-demo-features>div>span{min-width:0;display:grid;gap:4px}.home-demo-features strong{font-size:12.5px;line-height:1.25}.home-demo-features strong a{color:#55586a;text-decoration:none}.home-demo-features strong a:hover{color:var(--demo-brand);text-decoration:underline;text-underline-offset:3px}.home-demo-features small{color:#888b99;font-size:10.5px;line-height:1.4}.home-demo-features b{align-self:start;padding:6px 9px;border-radius:999px;background:#e5f8ed;color:#19915e;font-size:9px;font-weight:900;line-height:1;text-transform:uppercase}.home-demo-features b.is-pro{background:#f0e6ff;color:#7328d0}
.hero-media-wrap-interactive .hero-media-panel{border-radius:0 0 20px 20px}.hero-media-wrap-interactive .hero-media-panel p{max-width:88ch}
.home-demo-modal{--demo-brand:#8d075f;position:fixed;z-index:2147483000;inset:0;display:grid;place-items:center;padding:24px;isolation:isolate}.home-demo-modal[hidden]{display:none!important}.home-demo-modal-backdrop{position:absolute;z-index:0;inset:0;border:0;background:rgba(17,11,22,.8);cursor:pointer;touch-action:none;backdrop-filter:blur(8px)}.home-demo-dialog{position:relative;z-index:2;width:min(1040px,94vw);max-height:calc(100dvh - 48px);display:flex;flex-direction:column;overflow:hidden;border:1px solid rgba(255,255,255,.18);border-radius:14px;background:#151118;box-shadow:0 28px 90px rgba(0,0,0,.45);color:#fff;pointer-events:auto}.home-demo-dialog>header{position:relative;z-index:3;min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:20px;flex:0 0 auto;padding:10px 16px 10px 19px;border-bottom:1px solid rgba(255,255,255,.1)}.home-demo-dialog>header span{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:800}.home-demo-dialog>header span i{color:#d462a6}.home-demo-dialog>header button{position:relative;z-index:4;width:37px;height:37px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.14);border-radius:9px;background:rgba(255,255,255,.06);color:#fff;cursor:pointer;pointer-events:auto}.home-demo-dialog>div{position:relative;min-height:0;display:grid;place-items:center;overflow:hidden;background:#0d0b11}.home-demo-dialog video{width:100%;max-height:calc(100dvh - 155px);display:block;object-fit:contain;background:#0d0b11}.home-demo-dialog [data-home-demo-play-video]{position:absolute;left:50%;top:50%;display:grid;grid-template-columns:44px auto;grid-template-rows:auto auto;align-items:center;column-gap:11px;min-width:250px;padding:12px 16px;border:1px solid rgba(255,255,255,.72);border-radius:12px;background:rgba(31,20,37,.84);box-shadow:0 16px 45px rgba(18,8,20,.35);color:#fff;cursor:pointer;text-align:left;transform:translate(-50%,-50%);backdrop-filter:blur(10px)}.home-demo-dialog [data-home-demo-play-video]>span{grid-row:1/3;width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:#fff;color:var(--demo-brand)}.home-demo-dialog [data-home-demo-play-video] strong{font-size:11px}.home-demo-dialog [data-home-demo-play-video] small{margin-top:3px;color:#d9cedb;font-size:8px}.home-demo-dialog>div.is-playing [data-home-demo-play-video]{display:none}.home-demo-dialog>p{margin:0;flex:0 0 auto;padding:15px 19px 17px;color:#c9c4ce;font-size:11px;line-height:1.55}.home-demo-dialog>p strong{color:#fff}html.home-demo-video-open,body.home-demo-video-open{overflow:hidden!important;overscroll-behavior:none}body.home-demo-video-open{position:fixed;inset-inline:0;top:var(--home-demo-scroll-offset,0);width:100%;padding-right:var(--home-demo-scrollbar-width,0)!important}
@keyframes homeDemoHand{0%,100%{transform:translate(0,0) rotate(-7deg)}50%{transform:translate(3px,-2px) rotate(2deg)}}@keyframes homeDemoFloat{0%{transform:translate3d(-8px,3px,0) rotate(-4deg) scale(.96)}100%{transform:translate3d(12px,-5px,0) rotate(7deg) scale(1.08)}}@keyframes homeDemoReady{50%{transform:translateY(-2px);box-shadow:0 0 0 8px rgba(202,53,143,.07),0 20px 44px rgba(111,26,91,.29)}}@keyframes homeDemoFade{from{opacity:.35;transform:translateY(4px)}to{opacity:1;transform:none}}
@media(max-width:820px){.home-demo-controls{grid-template-columns:1fr}.home-demo-context>div{grid-template-columns:1fr}.home-demo-context small{grid-row:auto}.home-demo-stage{height:430px}.home-demo-wp-rail,.home-demo-sidebar{display:none}.home-demo-editor{padding:16px}.home-demo-widget-summary{grid-template-columns:40px minmax(86px,.7fr) minmax(125px,1fr) 92px 12px;gap:8px}.home-demo-widget-panel{padding-left:58px}}
@media(max-width:640px){.home-demo-label{min-height:36px;justify-content:center;padding:8px 12px;font-size:8px}.home-demo-controls{padding:12px 10px 14px}.home-demo-switch{min-height:96px;grid-template-columns:35px 40px minmax(0,1fr) 28px;gap:7px;padding:9px;border-radius:14px}.home-demo-hand{width:35px;height:35px;border-radius:10px;font-size:13px}.home-demo-screen{width:38px;height:29px;padding:6px 5px 6px 11px}.home-demo-screen:before{width:7px}.home-demo-screen:after{right:5px;bottom:5px;left:12px;height:10px}.home-demo-switch-copy small{font-size:6.8px}.home-demo-switch-copy strong{font-size:11.5px}.home-demo-switch-copy em{font-size:8.5px}.home-demo-arrow{width:28px;height:28px;font-size:9px}.home-demo-video-trigger{min-height:70px;border-radius:14px}.home-demo-video-trigger strong{font-size:11px}.home-demo-context{align-items:flex-start;padding:12px}.home-demo-context>span{width:32px;height:32px}.home-demo-context strong{font-size:11px}.home-demo-context em{font-size:9px}.home-demo-editor{padding:11px 9px 17px}.home-demo-toolbar{top:-11px;padding:9px 2px;font-size:9px}.home-demo-widgets{gap:7px}.home-demo-widget-summary{min-height:68px;grid-template-columns:35px minmax(0,1fr) 82px 12px;grid-template-rows:auto auto;gap:5px 7px;padding:8px}.home-demo-widget-icon{grid-row:1/3;width:33px;height:33px}.home-demo-widget-summary>strong{font-size:10.5px}.home-demo-preview{grid-column:2/5;grid-row:2;padding:5px 7px;font-size:8px}.home-demo-source{font-size:6.5px}.home-demo-chevron{grid-column:4;grid-row:1}.home-demo-widget-panel{padding:0 8px 11px 50px}.home-demo-widget-panel input,.home-demo-widget-panel textarea{padding:9px;font-size:9.5px}.home-demo-placeholder .home-demo-skeleton{grid-column:2/5;grid-row:2}.home-demo-placeholder .home-demo-mock-source{grid-column:3;grid-row:1;font-size:6px}.home-demo-features{grid-template-columns:1fr}.home-demo-features>div,.home-demo-features>div:nth-child(3n),.home-demo-features>div:nth-last-child(-n+3){border-right:0;border-bottom:1px solid #ebe8ef}.home-demo-features>div:last-child{border-bottom:0}.home-demo-features strong{font-size:12px}.home-demo-features small{font-size:10px}.home-demo-modal{padding:10px}.home-demo-dialog{width:100%;max-height:calc(100dvh - 20px)}.home-demo-dialog video{max-height:calc(100dvh - 135px)}.home-demo-dialog [data-home-demo-play-video]{min-width:218px;grid-template-columns:37px auto;padding:10px 12px}.home-demo-dialog [data-home-demo-play-video]>span{width:37px;height:37px}}
@media(prefers-reduced-motion:reduce){.home-interactive-demo *{animation:none!important;transition:none!important}}

/* Phone layout: the demo becomes part of the native page flow. The compact
   editor no longer captures vertical swipes, while secondary capabilities use
   a short horizontal rail that visibly exposes the next card. */
@media(max-width:640px){
  .home-interactive-demo{border-radius:16px}
  .home-demo-label{min-height:38px;justify-content:flex-start;padding-inline:14px;font-size:8.5px}
  .home-demo-controls{gap:9px;padding:12px}
  .home-demo-switch{min-height:90px}
  .home-demo-video-trigger{min-height:64px;grid-template-columns:38px minmax(0,1fr) 16px;padding:10px 12px}
  .home-demo-video-trigger>span:first-child{width:38px;height:38px;border-radius:11px}
  .home-demo-context{gap:10px;padding:13px 12px}
  .home-demo-context>div{gap:4px}
  .home-demo-context small{font-size:7.5px}
  .home-demo-context strong{font-size:11.5px;line-height:1.35}
  .home-demo-context em{font-size:9.5px;line-height:1.5}
  .home-demo-stage{height:auto;min-height:0;overflow:visible}
  .home-demo-editor{overflow:visible;padding:12px 9px 14px}
  .home-demo-toolbar{position:static;margin-bottom:9px;padding:6px 2px 9px}
  .home-demo-widgets .home-demo-placeholder:nth-of-type(n+6){display:none}
  .home-demo-widget-summary{min-height:66px}
  .home-demo-widget-panel{padding-bottom:12px}
  .home-demo-front{min-height:370px}
  .home-demo-front>header{height:52px;padding-inline:16px}
  .home-demo-front>div{margin:46px auto 18px;padding-inline:18px}
  .home-demo-front h3{font-size:clamp(27px,8.2vw,33px)}
  .home-demo-front p{font-size:11.5px}
  .home-interactive-demo .home-demo-scope{align-items:flex-start;padding:10px 12px;font-size:9.5px}
  .home-interactive-demo .home-demo-scope>i{margin-top:3px}
  .home-demo-features{display:flex;align-items:stretch;gap:10px;padding:12px 16vw 14px 10px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch;background:#faf9fb}
  .home-demo-features::-webkit-scrollbar{display:none}
  .home-demo-features>div,.home-demo-features>div:nth-child(3n),.home-demo-features>div:nth-last-child(-n+3){flex:0 0 min(79vw,310px);min-height:92px;padding:13px;border:1px solid #e7e3eb;border-radius:13px;background:rgba(255,255,255,.94);box-shadow:0 8px 20px rgba(42,32,61,.045);scroll-snap-align:start;scroll-snap-stop:always}
  .home-demo-features>div>i{width:38px;height:38px}
  .home-demo-features strong{font-size:11.5px}
  .home-demo-features small{font-size:9.5px}
  .home-demo-features b{padding:5px 7px;font-size:8px}
}
@media(max-width:380px){
  .home-demo-switch{grid-template-columns:34px 36px minmax(0,1fr) 26px}
  .home-demo-hand{width:34px;height:34px}
  .home-demo-screen{width:36px}
  .home-demo-switch-copy strong{font-size:11px}
}

@media(max-height:540px) and (orientation:landscape) and (max-width:950px){
  .home-demo-controls{grid-template-columns:minmax(0,1.25fr) minmax(220px,.75fr);gap:10px;padding:10px}
  .home-demo-switch,.home-demo-video-trigger{min-height:70px}
  .home-demo-stage{height:360px}
  .home-demo-editor{padding:12px}
  .home-demo-dialog{max-height:calc(100dvh - 16px)}
  .home-demo-dialog video{max-height:calc(100dvh - 104px)}
}

/* On phones the real WordPress recording is the clearest product preview.
   Keep the full interactive workflow for larger screens and turn the same
   localized video action into a direct, poster-led entry point on mobile. */
@media(max-width:640px),(max-height:540px) and (orientation:landscape) and (max-width:950px){
  .home-interactive-demo{
    overflow:visible;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
  }
  .home-demo-label,
  .home-demo-switch,
  .home-demo-context,
  .home-demo-stage,
  .home-interactive-demo .home-demo-scope,
  .home-demo-features{
    display:none!important;
  }
  .home-demo-controls{
    display:block;
    overflow:visible;
    padding:0;
    border:0;
    background:transparent;
  }
  .home-demo-controls::before,
  .home-demo-controls::after{
    display:none;
  }
  .home-demo-video-trigger{
    width:100%;
    min-height:0;
    aspect-ratio:1.446/1;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    flex-direction:column;
    gap:0;
    overflow:hidden;
    padding:16px;
    border:1px solid rgba(102,76,137,.22);
    border-radius:18px;
    background:
      linear-gradient(180deg,rgba(18,10,27,0) 44%,rgba(18,10,27,.18) 64%,rgba(18,10,27,.78) 100%),
      url("../img/product/editly-elementor-content-editor-video-poster.png") center/cover no-repeat;
    box-shadow:0 18px 42px rgba(40,28,66,.14);
    color:#fff;
    text-align:center;
  }
  .home-demo-video-trigger:hover{
    border-color:rgba(102,76,137,.3);
    background:
      linear-gradient(180deg,rgba(18,10,27,0) 44%,rgba(18,10,27,.18) 64%,rgba(18,10,27,.78) 100%),
      url("../img/product/editly-elementor-content-editor-video-poster.png") center/cover no-repeat;
    box-shadow:0 18px 42px rgba(40,28,66,.14);
    transform:none;
  }
  .home-demo-video-trigger>span:first-child{
    position:absolute;
    top:50%;
    left:50%;
    width:58px;
    height:58px;
    border:1px solid rgba(255,255,255,.74);
    border-radius:50%;
    background:rgba(255,255,255,.94);
    box-shadow:0 12px 30px rgba(34,17,43,.25);
    color:var(--demo-brand);
    transform:translate(-50%,-50%);
    backdrop-filter:blur(8px);
  }
  .home-demo-video-trigger>span:nth-child(2){
    width:100%;
    gap:3px;
    padding:10px 12px;
    border:1px solid rgba(255,255,255,.18);
    border-radius:12px;
    background:rgba(24,14,29,.62);
    backdrop-filter:blur(9px);
  }
  .home-demo-video-trigger small{
    color:rgba(255,255,255,.72);
    font-size:8px;
  }
  .home-demo-video-trigger strong{
    color:#fff;
    font-size:12px;
  }
  .home-demo-video-trigger>i{
    display:none;
  }
}
