/* /wordpress-websites (pages/wordpress-websites, 2026-10-14). Needs public/css/rt-hue.css (tokens, .hx-*, .hxs-ti, .hx-works).
   1. hero: a WordPress admin window and a phone with the front end; four chapters (架站 / 外掛 / 購物網站 / AI 維護) driven by
      public/js/pg-wordpress-websites.js. The stage follows the site theme (no dark block in light mode).
   2. bento of six services, each with a small loop that only runs while on screen (.is-live)
   3. WordPress client sites, AI section around the scenario films + before/after cards, RoamerHost band, FAQ, end CTA. */

@property --wc{syntax:'<color>';inherits:true;initial-value:#3CC6F2}

.wpx-wrap{max-width:1500px;margin:0 auto;padding:clamp(18px,2.4vw,34px) clamp(16px,3vw,48px) clamp(36px,4.6vw,72px)}
.wpx-sec{padding:clamp(56px,6.4vw,96px) 0 0;scroll-margin-top:calc(var(--nav-h) + 16px)}

/* ================= 1. HERO ================= */
.wpx-hero{--c:var(--hx-web);--wc:var(--c);transition:--wc .9s ease;position:relative;container-type:inline-size;border:1px solid var(--line);border-radius:20px;overflow:hidden;isolation:isolate;background:var(--chrome);
  box-shadow:0 34px 80px -46px rgba(0,0,0,.85),0 0 110px -60px var(--wc)}
html[data-theme="light"] .wpx-hero{box-shadow:0 30px 70px -48px rgba(15,40,70,.4),0 0 110px -64px var(--wc)}
.wpx-frame{position:relative;overflow:hidden;isolation:isolate;background:var(--hx-stage);color:var(--hx-text)}
.wpx-frame::before{content:"";position:absolute;inset:0;z-index:0;background-image:radial-gradient(var(--hx-grid) 1.2px,transparent 1.6px);background-size:26px 26px;
  -webkit-mask-image:radial-gradient(80% 90% at 70% 45%,#000 30%,transparent 85%);mask-image:radial-gradient(80% 90% at 70% 45%,#000 30%,transparent 85%)}
.wpx-aura{position:absolute;inset:-25%;z-index:0;pointer-events:none;
  background:radial-gradient(34% 40% at 72% 46%,color-mix(in srgb,var(--wc) 30%,transparent),transparent 70%),
             radial-gradient(26% 32% at 14% 90%,color-mix(in srgb,var(--hx-sub) 15%,transparent),transparent 70%),
             radial-gradient(24% 28% at 34% 6%,color-mix(in srgb,var(--hx-pink) 13%,transparent),transparent 70%);
  animation:wpx-drift 20s ease-in-out infinite alternate}
@keyframes wpx-drift{to{transform:translate3d(-3%,2%,0) scale(1.06)}}
/* drifting building blocks: the WordPress "blocks" idea, no particles (kept clear of the pause button corner) */
.wpx-float{position:absolute;inset:0;z-index:0;pointer-events:none}
.wpx-float i{position:absolute;width:var(--s,22px);height:var(--s,22px);border-radius:6px;border:1.5px solid color-mix(in srgb,var(--wc) 45%,transparent);background:color-mix(in srgb,var(--wc) 8%,transparent);opacity:.55;animation:wpx-bob 9s ease-in-out infinite alternate}
.wpx-float i:nth-child(1){--s:18px;left:6%;top:12%}
.wpx-float i:nth-child(2){--s:26px;left:44%;top:6%;animation-delay:-3s;border-color:color-mix(in srgb,var(--hx-sub) 50%,transparent);background:color-mix(in srgb,var(--hx-sub) 8%,transparent)}
.wpx-float i:nth-child(3){--s:14px;left:52%;bottom:9%;animation-delay:-6s}
.wpx-float i:nth-child(4){--s:30px;right:8%;top:5%;animation-delay:-2s;border-color:color-mix(in srgb,var(--hx-pink) 45%,transparent);background:color-mix(in srgb,var(--hx-pink) 7%,transparent)}
.wpx-float i:nth-child(5){--s:20px;left:30%;bottom:6%;animation-delay:-5s;border-color:color-mix(in srgb,var(--hx-ai) 45%,transparent)}
@keyframes wpx-bob{to{transform:translateY(-26px) rotate(18deg)}}
.wpx-body{position:relative;z-index:2;min-height:max(580px,44cqw);display:grid;grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);align-items:center;gap:3cqw;padding:3.4cqw 3.6cqw 3.4cqw 4.6cqw}

/* copy */
.wpx-kicker{display:inline-flex;align-items:center;gap:10px;margin:0 0 20px;padding:7px 15px;border:1px solid color-mix(in srgb,var(--wc) 45%,var(--line));border-radius:99px;background:color-mix(in srgb,var(--wc) 9%,transparent);font:600 14.5px/1.25 var(--font-mono);letter-spacing:.04em;color:var(--hx-text-2)}
.wpx-kicker i{width:8px;height:8px;border-radius:50%;background:var(--wc);box-shadow:0 0 10px var(--wc);animation:wpx-blink 1.8s ease-in-out infinite}
@keyframes wpx-blink{50%{opacity:.25}}
.wpx-hero h1{margin:0;font-size:clamp(32px,3.7cqw,58px);line-height:1.14;letter-spacing:-.035em;font-weight:900;color:var(--hx-text);word-break:keep-all;text-wrap:balance}
.wpx-hero h1 span{display:block}
.wpx-hero h1 .g{margin-top:.2em;font-size:.62em;line-height:1.3;letter-spacing:-.02em;background:linear-gradient(100deg,var(--hx-web) 0%,var(--hx-pink) 52%,var(--hx-sub) 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
.wpx-now{display:flex;align-items:center;flex-wrap:wrap;gap:10px 12px;margin:22px 0 0;font-size:clamp(17px,1.45cqw,20px);font-weight:700;color:var(--hx-text-2)}
.wpx-now b{display:inline-flex;align-items:center;gap:9px;min-width:6.4em;padding:7px 16px;border-radius:99px;background:color-mix(in srgb,var(--wc) 15%,transparent);border:1px solid color-mix(in srgb,var(--wc) 50%,transparent);color:var(--wc);font-weight:800}
.wpx-now b::before{content:"";width:9px;height:9px;border-radius:50%;background:var(--wc)}
.wpx-now b.is-swap{animation:wpx-swap .5s cubic-bezier(.2,.8,.2,1)}
@keyframes wpx-swap{from{opacity:0;transform:translateY(10px)}}
.wpx-lead{margin:18px 0 0;max-width:30em;font-size:18px;line-height:1.8;color:var(--hx-text-2)}
.wpx-hero .actions{margin-top:26px;gap:12px}
/* secondary path for people who only need one site: the shared text link (.hx-more), allowed to wrap */
.wpx-alt{display:inline-block;margin-top:20px;min-height:40px;line-height:1.7;white-space:normal}
.wpx-nw{white-space:nowrap}

/* visual: admin window + phone + two chips. Sizes follow the visual's own width (cqw). */
.wpx-visual{position:relative;height:clamp(420px,37cqw,560px);container-type:inline-size}
.wpx-admin{position:absolute;left:0;top:10%;width:78%;height:78%;--c:var(--wc);
  box-shadow:0 40px 80px -44px rgba(0,0,0,.85),0 0 0 1px color-mix(in srgb,var(--wc) 26%,transparent),0 0 70px -26px color-mix(in srgb,var(--wc) 60%,transparent)}
html[data-theme="light"] .wpx-admin{box-shadow:0 36px 70px -40px rgba(15,40,70,.42),0 0 0 1px color-mix(in srgb,var(--wc) 26%,transparent),0 0 60px -28px color-mix(in srgb,var(--wc) 50%,transparent)}
.wpx-admin .hx-win-bar{height:30px;font-size:12px}
.wpx-url{display:inline-flex;align-items:center;gap:6px;margin-left:10px;padding:3px 12px;border-radius:99px;background:var(--hx-surface);border:1px solid var(--line-soft);color:var(--hx-text-2)}
.wpx-url::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--wc)}
.wpx-demo{margin-left:auto;padding:2px 8px;border-radius:99px;border:1px solid var(--line);font-style:normal;font-size:12px;color:var(--hx-text-2)}
.wpx-admin-body{display:grid;grid-template-columns:25% 1fr;background:var(--hx-surface)}
.wpx-menu{display:flex;flex-direction:column;gap:3px;margin:0;padding:10px 7px;list-style:none;border-right:1px solid var(--line-soft);background:color-mix(in srgb,var(--wc) 7%,var(--hx-surface-2));min-width:0}
.wpx-menu li{display:flex;align-items:center;gap:7px;padding:6px 8px;border-radius:7px;font-size:clamp(12px,2.2cqw,13px);font-weight:700;color:var(--hx-text-2);white-space:nowrap;overflow:hidden;transition:background .35s,color .35s}
.wpx-menu li span{overflow:hidden;text-overflow:ellipsis}
.wpx-menu li>i{flex:none;width:8px;height:8px;border-radius:3px;background:var(--line)}
.wpx-menu li.is-on{background:var(--wc);color:var(--hx-on)}
.wpx-menu li.is-on>i{background:var(--hx-on)}
.wpx-menu .wpx-logo{gap:8px;margin-bottom:6px;padding:4px 6px 10px;border-bottom:1px solid var(--line-soft);border-radius:0;color:var(--hx-text)}
.wpx-logo b{flex:none;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;border:2px solid currentColor;font:900 12px/1 Georgia,serif}
.wpx-main{position:relative;min-width:0;overflow:hidden;container-type:size}

/* screens in the admin. Default styles = the finished state; animations play from the empty state (so reduced motion shows the result). */
.wpx-scr{position:absolute;inset:0;display:flex;flex-direction:column;gap:3.2cqh;padding:5cqh 5cqw;opacity:0;visibility:hidden;transform:translateY(8px);
  transition:opacity .45s ease,transform .6s cubic-bezier(.2,.8,.2,1),visibility 0s linear .45s;font-size:clamp(12px,3.4cqw,13.5px);color:var(--hx-text)}
.wpx-scr.is-on{opacity:1;visibility:visible;transform:none;transition:opacity .45s ease,transform .6s cubic-bezier(.2,.8,.2,1)}
.w-h{display:flex;align-items:baseline;gap:10px}
.w-h b{font-size:1.25em;font-weight:900}
.w-h span{font-size:12px;color:var(--hx-text-2);font-weight:600}

/* 1 build */
.w-build{flex:1;display:grid;grid-template-columns:30% 1fr;gap:5cqw;min-height:0}
.w-pal{display:flex;flex-direction:column;gap:2.6cqh;margin:0;padding:0;list-style:none}
.w-pal li{padding:2.4cqh 3cqw;border-radius:7px;border:1px dashed color-mix(in srgb,var(--wc) 45%,var(--line));font-weight:700;color:var(--hx-text-2);white-space:nowrap}
.wpx-scr.is-on .w-pal li{animation:wpx-pick .5s ease both;animation-delay:calc(var(--i) * .75s + .4s)}
@keyframes wpx-pick{0%{background:transparent}40%{background:var(--wc);color:var(--hx-on);border-style:solid}100%{background:transparent}}
.w-page{display:flex;flex-direction:column;gap:2.4cqh;padding:3cqh 3.4cqw;border-radius:10px;border:1px solid var(--line-soft);background:var(--hx-surface-2);min-height:0}
.w-page i,.w-page span{display:block;border-radius:6px}
.w-page .pg-h{height:6cqh;background:color-mix(in srgb,var(--hx-text) 14%,transparent)}
.w-page .pg-hero{position:relative;flex:1.6;background:linear-gradient(130deg,color-mix(in srgb,var(--wc) 70%,var(--hx-surface)),color-mix(in srgb,var(--hx-ai) 45%,var(--hx-surface)))}
.w-page .pg-hero em{position:absolute;right:12%;top:20%;width:18%;aspect-ratio:1;border-radius:50%;background:color-mix(in srgb,var(--hx-sub) 85%,#fff)}
.w-page .pg-cards{flex:1;display:grid;grid-template-columns:repeat(3,1fr);gap:2.4cqw}
.w-page .pg-cards i{background:color-mix(in srgb,var(--wc) 16%,var(--hx-surface));border:1px solid color-mix(in srgb,var(--wc) 25%,transparent)}
.w-page .pg-form{height:8cqh;background:color-mix(in srgb,var(--hx-sub) 22%,var(--hx-surface));border:1px solid color-mix(in srgb,var(--hx-sub) 40%,transparent)}
.wpx-scr.is-on .w-page>*{animation:wpx-drop .6s cubic-bezier(.2,.9,.3,1.2) both;animation-delay:calc(var(--i) * .75s + .6s)}
@keyframes wpx-drop{from{opacity:0;transform:translateX(-30%) scale(.9)}}
.w-btn{align-self:flex-end;padding:1.8cqh 5cqw;border-radius:8px;background:var(--wc);color:var(--hx-on);font-weight:800}
.wpx-scr.is-on .w-btn{animation:wpx-press .5s ease 3.8s both}
@keyframes wpx-press{50%{transform:scale(.88);filter:brightness(1.25)}}

/* 2 plugin */
.w-plugins{display:flex;flex-direction:column;gap:2.6cqh;margin:0;padding:0;list-style:none}
.w-plugins li{display:flex;align-items:center;gap:3cqw;padding:3cqh 3.4cqw;border-radius:9px;border:1px solid var(--line-soft);background:var(--hx-surface-2)}
.w-plugins .ic{width:7cqw;height:7cqw;max-width:26px;max-height:26px;border-radius:7px;background:color-mix(in srgb,var(--hx-text) 14%,transparent)}
.w-plugins b{font-weight:800}
.w-plugins em{padding:2px 8px;border-radius:99px;background:color-mix(in srgb,var(--wc) 18%,transparent);color:var(--wc);font-style:normal;font-size:12px;font-weight:800}
.w-plugins .tg{position:relative;margin-left:auto;width:9cqw;max-width:34px;height:5cqw;max-height:19px;border-radius:99px;background:var(--wc)}
.w-plugins .tg::after{content:"";position:absolute;top:2px;bottom:2px;right:2px;aspect-ratio:1;border-radius:50%;background:var(--hx-surface)}
.w-plugins .new{border-color:color-mix(in srgb,var(--wc) 55%,var(--line));background:color-mix(in srgb,var(--wc) 8%,var(--hx-surface-2))}
.w-plugins .new .ic{background:var(--wc)}
.wpx-scr.is-on .w-plugins .new{animation:wpx-slide .6s cubic-bezier(.2,.9,.3,1.2) .6s both}
@keyframes wpx-slide{from{opacity:0;transform:translateY(-14px)}}
.wpx-scr.is-on .w-plugins .new .tg{animation:wpx-tg-bg 1.9s steps(1) both}
.wpx-scr.is-on .w-plugins .new .tg::after{animation:wpx-tg-dot 1.9s cubic-bezier(.2,.9,.3,1.3) both}
@keyframes wpx-tg-bg{0%{background:var(--line)}100%{background:var(--wc)}}
@keyframes wpx-tg-dot{0%,85%{right:calc(100% - 2px);transform:translateX(100%)}100%{right:2px;transform:none}}
.w-flow{display:flex;align-items:center;gap:2cqw;margin-top:auto}
.w-flow span{flex:none;padding:2cqh 3cqw;border-radius:99px;border:1px solid color-mix(in srgb,var(--wc) 50%,var(--line));background:color-mix(in srgb,var(--wc) 10%,var(--hx-surface));font-weight:800;white-space:nowrap}
.w-flow i{flex:1;height:2px;background:linear-gradient(90deg,var(--wc),color-mix(in srgb,var(--wc) 30%,transparent))}
.wpx-scr.is-on .w-flow span{animation:wpx-pop .5s cubic-bezier(.2,.9,.3,1.3) both;animation-delay:calc(var(--i) * .5s + 2.3s)}
.wpx-scr.is-on .w-flow i{animation:wpx-line .5s ease both 2.6s}
.wpx-scr.is-on .w-flow i+span+i{animation-delay:3.1s}
@keyframes wpx-pop{from{opacity:0;transform:scale(.7)}}
@keyframes wpx-line{from{transform:scaleX(0);transform-origin:left}}

/* 3 shop */
.w-pay{display:flex;flex-direction:column;gap:2cqh;margin:0;padding:0;list-style:none}
.w-pay li{display:flex;align-items:center;gap:3cqw;padding:2.4cqh 3.4cqw;border-radius:9px;border:1px solid var(--line-soft);background:var(--hx-surface-2)}
.w-pay li>i{width:5cqw;max-width:18px;aspect-ratio:1;border-radius:5px;background:var(--wc)}
.w-pay b{font-weight:800}
.w-pay .st{position:relative;margin-left:auto;display:grid}
.w-pay .st>span{grid-area:1/1;padding:2px 10px;border-radius:99px;font-size:12px;font-weight:800;text-align:center;white-space:nowrap}
.w-pay .st .a{background:color-mix(in srgb,var(--hx-text) 10%,transparent);color:var(--hx-text-2);opacity:0}
.w-pay .st .b{background:var(--wc);color:var(--hx-on)}
.wpx-scr.is-on .w-pay .st .a{animation:wpx-out .3s ease both;animation-delay:calc(var(--i) * .55s + .9s)}
.wpx-scr.is-on .w-pay .st .b{animation:wpx-in .4s cubic-bezier(.2,.9,.3,1.4) both;animation-delay:calc(var(--i) * .55s + .9s)}
@keyframes wpx-out{from{opacity:1}to{opacity:0}}
@keyframes wpx-in{from{opacity:0;transform:scale(.6)}}

/* 4 care */
.w-say{align-self:flex-end;max-width:82%;margin:0;padding:2.6cqh 3.6cqw;border-radius:12px 12px 3px 12px;background:var(--wc);color:var(--hx-on);font-weight:800;line-height:1.5}
.wpx-scr.is-on .w-say{animation:wpx-pop .5s cubic-bezier(.2,.9,.3,1.3) .3s both}
.w-steps{display:flex;flex-direction:column;gap:2cqh;margin:0;padding:0;list-style:none}
.w-steps li{display:flex;align-items:center;gap:2.6cqw;padding:2.2cqh 3cqw;border-radius:9px;background:var(--hx-surface-2);border:1px solid var(--line-soft);font-weight:700}
.w-steps svg{flex:none;width:16px;height:16px;padding:2px;border-radius:50%;background:var(--wc);color:var(--hx-on)}
.wpx-scr.is-on .w-steps li{animation:wpx-slide .5s cubic-bezier(.2,.9,.3,1.2) both;animation-delay:calc(var(--i) * .6s + 1s)}
.w-toast{display:inline-flex;align-items:center;gap:8px;align-self:center;margin-top:auto;padding:2cqh 4cqw;border-radius:99px;background:var(--hx-text);color:var(--hx-surface);font-weight:800;white-space:nowrap}
.w-toast svg{width:15px;height:15px}
.wpx-scr.is-on .w-toast{animation:wpx-pop .5s cubic-bezier(.2,.9,.3,1.3) 3.6s both}

/* phone */
.wpx-phone{position:absolute;right:0;bottom:1%;z-index:3;width:25%;aspect-ratio:9/17;max-height:78%;padding:9% 5% 6%;border-radius:22px;border:5px solid var(--hx-text);background:var(--hx-surface);--c:var(--wc);
  box-shadow:0 30px 60px -28px rgba(0,0,0,.8),0 0 50px -20px color-mix(in srgb,var(--wc) 60%,transparent)}
html[data-theme="light"] .wpx-phone{box-shadow:0 26px 50px -26px rgba(15,40,70,.5),0 0 40px -18px color-mix(in srgb,var(--wc) 50%,transparent)}
.wpx-phone .notch{position:absolute;top:4%;left:50%;width:32%;height:3.4%;margin-left:-16%;border-radius:99px;background:var(--hx-text)}
.wpx-ph-box{position:relative;height:100%;container-type:size;overflow:hidden}
.wpx-ph{position:absolute;inset:0;display:flex;flex-direction:column;gap:5cqh;opacity:0;visibility:hidden;transition:opacity .45s ease,visibility 0s linear .45s;font-size:12px;color:var(--hx-text)}
.wpx-ph.is-on{opacity:1;visibility:visible;transition:opacity .45s ease}
.wpx-ph i,.wpx-ph span,.wpx-ph b{display:block}
.wpx-ph .ph-btn{height:9cqh;border-radius:99px;background:var(--wc);margin-top:auto}
.wpx-ph .ph-t{font-weight:900;font-size:13px}
.p-build .ph-top{height:6cqh;border-radius:5px;background:color-mix(in srgb,var(--hx-text) 14%,transparent)}
.p-build .ph-hero{flex:1.4;border-radius:10px;background:linear-gradient(140deg,color-mix(in srgb,var(--wc) 70%,var(--hx-surface)),color-mix(in srgb,var(--hx-ai) 45%,var(--hx-surface)))}
.p-build .ph-row{flex:1;display:grid;grid-template-columns:1fr 1fr;gap:6cqw}
.p-build .ph-row i{border-radius:8px;background:color-mix(in srgb,var(--wc) 16%,var(--hx-surface-2));border:1px solid var(--line-soft)}
.wpx-ph.is-on.p-build>*{animation:wpx-rise .55s cubic-bezier(.2,.9,.3,1.2) both}
.wpx-ph.is-on.p-build>:nth-child(1){animation-delay:.7s}.wpx-ph.is-on.p-build>:nth-child(2){animation-delay:1.45s}.wpx-ph.is-on.p-build>:nth-child(3){animation-delay:2.2s}.wpx-ph.is-on.p-build>:nth-child(4){animation-delay:2.95s}
@keyframes wpx-rise{from{opacity:0;transform:translateY(16px)}}
.p-plugin .ph-f{height:9cqh;border-radius:7px;border:1px solid color-mix(in srgb,var(--wc) 40%,var(--line));background:var(--hx-surface-2)}
.p-plugin .ph-days{display:grid;grid-template-columns:repeat(3,1fr);gap:5cqw}
.p-plugin .ph-days i{height:11cqh;border-radius:7px;border:1px solid var(--line-soft);background:var(--hx-surface-2)}
.p-plugin .ph-days i.on{background:var(--wc);border-color:transparent}
.p-plugin .ph-ok{position:absolute;left:50%;bottom:16cqh;transform:translateX(-50%);padding:3cqh 8cqw;border-radius:99px;background:var(--hx-text);color:var(--hx-surface);font-weight:800;white-space:nowrap}
.wpx-ph.is-on.p-plugin>*{animation:wpx-rise .5s ease both .9s}
.wpx-ph.is-on.p-plugin .ph-days i.on{animation:wpx-sel .5s ease 2.2s both}
@keyframes wpx-sel{from{background:var(--hx-surface-2)}}
.wpx-ph.is-on.p-plugin .ph-btn{animation:wpx-press .45s ease 3s both}
.wpx-ph.is-on.p-plugin .ph-ok{animation:wpx-toast .5s cubic-bezier(.2,.9,.3,1.3) 3.3s both}
@keyframes wpx-toast{from{opacity:0;transform:translate(-50%,10px)}}
.p-shop .ph-cart{position:relative;align-self:flex-end;width:20cqw;height:20cqw;max-width:30px;max-height:30px;display:grid;place-items:center;border-radius:8px;background:color-mix(in srgb,var(--wc) 16%,var(--hx-surface-2));color:var(--wc)}
.p-shop .ph-cart svg{width:62%;height:62%;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.p-shop .ph-cart b{position:absolute;right:-7px;top:-7px;min-width:17px;height:17px;padding:0 4px;border-radius:99px;background:var(--wc);color:var(--hx-on);font-size:12px;line-height:17px;text-align:center}
.p-shop .ph-prod{flex:1.6;border-radius:10px;background:linear-gradient(150deg,color-mix(in srgb,var(--hx-sub) 60%,var(--hx-surface)),color-mix(in srgb,var(--hx-orange) 55%,var(--hx-surface)))}
.p-shop .ph-name{height:5cqh;width:78%;border-radius:99px;background:color-mix(in srgb,var(--hx-text) 16%,transparent)}
.p-shop .ph-price{height:5cqh;width:42%;border-radius:99px;background:var(--wc)}
.wpx-ph.is-on.p-shop .ph-btn{animation:wpx-press .45s ease 1.4s both}
.wpx-ph.is-on.p-shop .ph-cart b{animation:wpx-bump .5s cubic-bezier(.2,.9,.3,1.6) 1.7s both}
@keyframes wpx-bump{0%{transform:scale(0)}70%{transform:scale(1.4)}100%{transform:none}}
.p-care .ph-l{height:7cqh;border-radius:6px;background:var(--hx-surface-2);border:1px solid var(--line-soft)}
.p-care .ph-l.s{width:70%}
.p-care .ph-flash{position:absolute;inset:-10%;background:var(--hx-surface);opacity:0;pointer-events:none}
.p-care .ph-check{position:absolute;left:50%;top:42%;width:30cqw;height:30cqw;max-width:46px;max-height:46px;margin-left:min(-15cqw,-23px);display:grid;place-items:center;border-radius:50%;background:var(--wc);color:var(--hx-on);box-shadow:0 0 0 7px color-mix(in srgb,var(--wc) 25%,transparent)}
.p-care .ph-check svg{width:55%;height:55%}
.wpx-ph.is-on.p-care .ph-flash{animation:wpx-flash .7s ease 3.2s both}
@keyframes wpx-flash{0%{opacity:0}25%{opacity:.9}100%{opacity:0}}
.wpx-ph.is-on.p-care .ph-check{animation:wpx-bump .55s cubic-bezier(.2,.9,.3,1.6) 3.5s both}

.wpx-chip{position:absolute;z-index:4;display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border-radius:12px;background:var(--hx-surface);border:1px solid color-mix(in srgb,var(--wc) 50%,var(--line));
  box-shadow:var(--hx-shadow);font-size:clamp(12px,2.5cqw,14px);font-weight:800;color:var(--hx-text);white-space:nowrap}
.wpx-chip svg{width:16px;height:16px;flex:none;color:var(--wc)}
.wpx-chip[hidden]{display:none}
.wpx-chip.c1{left:-2%;bottom:2%}
.wpx-chip.c2{right:0;top:0}
.wpx-chip.is-pop{animation:wpx-chip .6s cubic-bezier(.2,.9,.3,1.3) both}
.wpx-chip.c2.is-pop{animation-delay:.18s}
@keyframes wpx-chip{from{opacity:0;transform:translateY(12px) scale(.85)}}

/* corner pause button (no chapter bar: the six service tiles below already cover the four topics) */
.wpx-pause{position:absolute;z-index:6;top:14px;right:14px;width:44px;height:44px;display:grid;place-items:center;border:1px solid var(--line);border-radius:99px;
  background:color-mix(in srgb,var(--hx-surface) 90%,transparent);color:var(--hx-text);cursor:pointer;box-shadow:var(--hx-shadow);transition:border-color .2s,color .2s}
.wpx-pause:hover{border-color:var(--wc);color:var(--wc)}
.wpx-pause svg{width:16px;height:16px;fill:currentColor}
.wpx-pause .i-play,.wpx-hero.is-paused .wpx-pause .i-pause{display:none}
.wpx-hero.is-paused .wpx-pause .i-play{display:block}
.wpx-pause[hidden]{display:none}
.wpx-hero :is(button,a):focus-visible{outline:2px solid var(--accent);outline-offset:2px}
/* paused or scrolled away: freeze everything inside the stage */
/* the short word / chip entrances always finish, so a pause never leaves them invisible */
.wpx-hero:is(.is-paused,.is-away) :is(.wpx-scr *,.wpx-ph *,.wpx-scr,.wpx-ph,.wpx-float i,.wpx-kicker i),.wpx-hero.is-away .wpx-aura{animation-play-state:paused!important}

/* ================= 2. SERVICES BENTO ================= */
.wpx-bento{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.wpx-tile{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:16px;background:var(--panel);overflow:hidden;
  transition:transform .3s cubic-bezier(.2,.8,.2,1),border-color .3s,box-shadow .3s}
html[data-theme="light"] .wpx-tile{box-shadow:0 12px 28px -22px rgba(15,40,70,.3)}
.wpx-tile:hover{border-color:color-mix(in srgb,var(--c) 45%,var(--line));box-shadow:0 26px 50px -32px color-mix(in srgb,var(--c) 60%,transparent)}
.wpx-art{position:relative;height:190px;overflow:hidden;border-bottom:1px solid var(--line-soft);
  background:radial-gradient(80% 100% at 70% 0%,color-mix(in srgb,var(--c) 20%,transparent),transparent 72%),var(--hx-stage)}
.wpx-art::before{content:"";position:absolute;inset:0;background-image:radial-gradient(var(--hx-grid) 1.2px,transparent 1.6px);background-size:20px 20px}
.wpx-tile>:not(.wpx-art){margin-inline:26px}
.wpx-tile-t{display:flex;align-items:center;gap:14px;margin-top:24px}
.wpx-tile-t .hxs-ti{flex:none;width:52px;height:52px;border-radius:14px;filter:none}
.wpx-tile-t .hxs-ti svg{width:26px;height:26px}
.wpx-tile-t h3{font-size:21px;line-height:1.35;font-weight:700;color:var(--fg)}
.wpx-tile-t p{margin:3px 0 0;font-size:15.5px;font-weight:700;color:var(--c)}
.wpx-tile-d{margin-top:14px;margin-bottom:0;font-size:16.5px;line-height:1.75;color:var(--fg-2)}
.wpx-tags{display:flex;flex-wrap:wrap;align-content:flex-start;gap:8px;margin-top:16px;margin-bottom:0;padding:0;list-style:none}
.wpx-tags li{display:inline-flex;align-items:center;gap:7px;padding:6px 13px;border-radius:99px;background:color-mix(in srgb,var(--c) 7%,var(--panel));border:1px solid color-mix(in srgb,var(--c) 28%,var(--line));font-size:15px;font-weight:600;color:var(--fg)}
.wpx-tags svg{width:14px;height:14px;color:var(--c)}
.wpx-tile-go{align-self:start;min-height:44px;margin-top:12px;margin-bottom:14px}
@supports (grid-template-rows:subgrid){
  .wpx-tile{display:grid;grid-row:span 5;grid-template-rows:subgrid;row-gap:0}
  .wpx-tile-go{align-self:end}
}
[data-reveal] .wpx-tile{opacity:0;transform:translateY(20px);transition:opacity .6s ease,transform .7s cubic-bezier(.2,.8,.2,1),border-color .3s,box-shadow .3s;transition-delay:calc(var(--i,0) * 70ms)}
[data-reveal].in-view .wpx-tile{opacity:1;transform:none;transition-delay:0s}
[data-reveal].in-view .wpx-tile:hover{transform:translateY(-4px)}

/* tile art: default = finished frame, the loop runs only while .is-live (pg-wordpress-websites.js) */
.wpx-art>*{position:absolute;z-index:1}
/* build: palette + page that fills, a phone outline */
.a-build .ab-pal{left:7%;top:16%;display:flex;flex-direction:column;gap:9px}
.a-build .ab-pal i{padding:6px 12px;border-radius:8px;border:1px dashed color-mix(in srgb,var(--c) 50%,var(--line));background:var(--hx-surface);font:700 13px/1.2 var(--font-sans);font-style:normal;color:var(--hx-text-2)}
.a-build .ab-page{left:36%;right:22%;top:12%;bottom:12%;display:flex;flex-direction:column;gap:7px;padding:10px;border-radius:12px;border:1px solid var(--line);background:var(--hx-surface);box-shadow:var(--hx-shadow)}
.a-build .ab-page i,.a-build .ab-page span{display:block;border-radius:5px}
.a-build .ab-page .h{height:12px;background:color-mix(in srgb,var(--hx-text) 14%,transparent)}
.a-build .ab-page .v{flex:1.5;background:linear-gradient(130deg,color-mix(in srgb,var(--c) 65%,var(--hx-surface)),color-mix(in srgb,var(--hx-ai) 40%,var(--hx-surface)))}
.a-build .ab-page .c{flex:1;display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.a-build .ab-page .c i{background:color-mix(in srgb,var(--c) 16%,var(--hx-surface-2));border:1px solid var(--line-soft)}
.a-build .ab-page .f{height:16px;background:color-mix(in srgb,var(--hx-sub) 25%,var(--hx-surface))}
.a-build .ab-dev{right:6%;bottom:12%;width:13%;aspect-ratio:9/16;padding:8px 5px;border-radius:12px;border:3px solid var(--hx-text);background:var(--hx-surface)}
.a-build .ab-dev i{display:block;height:100%;border-radius:4px;background:linear-gradient(180deg,color-mix(in srgb,var(--c) 60%,var(--hx-surface)) 0 40%,color-mix(in srgb,var(--c) 14%,var(--hx-surface)) 40%)}
.is-live .a-build .ab-page>*{animation:wpx-tile-drop 6s cubic-bezier(.2,.9,.3,1.2) infinite both}
.is-live .a-build .ab-page>:nth-child(2){animation-delay:.5s}.is-live .a-build .ab-page>:nth-child(3){animation-delay:1s}.is-live .a-build .ab-page>:nth-child(4){animation-delay:1.5s}
@keyframes wpx-tile-drop{0%{opacity:0;transform:translateX(-24px)}12%,88%{opacity:1;transform:none}100%{opacity:0}}
.is-live .a-build .ab-pal i{animation:wpx-tile-pick 6s ease infinite}
.is-live .a-build .ab-pal i:nth-child(2){animation-delay:.5s}.is-live .a-build .ab-pal i:nth-child(3){animation-delay:1s}.is-live .a-build .ab-pal i:nth-child(4){animation-delay:1.5s}
@keyframes wpx-tile-pick{0%,10%{background:var(--c);color:var(--hx-on);border-style:solid}16%,100%{background:var(--hx-surface)}}
/* plugin: rows, the custom one switches on */
.a-plugin{display:flex;flex-direction:column;justify-content:center;gap:10px;padding:0 9%}
.a-plugin>*{position:relative}
.a-plugin .ap-row{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:10px;border:1px solid var(--line-soft);background:var(--hx-surface);font:800 14px/1.2 var(--font-sans);color:var(--hx-text)}
.a-plugin .ap-row>i{width:18px;height:18px;border-radius:5px;background:color-mix(in srgb,var(--hx-text) 14%,transparent)}
.a-plugin .ap-row em{position:relative;margin-left:auto;width:32px;height:18px;border-radius:99px;background:var(--c)}
.a-plugin .ap-row em::after{content:"";position:absolute;top:2px;right:2px;width:14px;height:14px;border-radius:50%;background:var(--hx-surface);transition:right .3s}
.a-plugin .ap-row.new{border-color:color-mix(in srgb,var(--c) 55%,var(--line));box-shadow:0 0 0 3px color-mix(in srgb,var(--c) 14%,transparent)}
.a-plugin .ap-row.new>i{background:var(--c)}
.is-live .a-plugin .ap-row.new em{animation:wpx-tg-loop 4s steps(1) infinite}
.is-live .a-plugin .ap-row.new em::after{animation:wpx-tg-dot-loop 4s cubic-bezier(.2,.9,.3,1.3) infinite}
@keyframes wpx-tg-loop{0%{background:var(--line)}40%,100%{background:var(--c)}}
@keyframes wpx-tg-dot-loop{0%,35%{right:16px}45%,100%{right:2px}}
/* shop: cart + payment and delivery chips that light up */
.a-shop .as-cart{left:9%;top:50%;width:84px;height:84px;margin-top:-42px;display:grid;place-items:center;border-radius:22px;background:var(--hx-surface);border:1px solid color-mix(in srgb,var(--c) 45%,var(--line));color:var(--c);box-shadow:var(--hx-shadow)}
.a-shop .as-cart svg{width:42px;height:42px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.a-shop .as-cart b{position:absolute;right:-8px;top:-8px;min-width:26px;height:26px;border-radius:99px;background:var(--c);color:var(--hx-on);font:800 14px/26px var(--font-sans);text-align:center}
.a-shop .as-pay{left:calc(9% + 112px);right:6%;top:50%;transform:translateY(-50%);display:flex;flex-wrap:wrap;gap:9px}
.a-shop .as-pay i{padding:8px 13px;border-radius:99px;border:1px solid color-mix(in srgb,var(--c) 55%,var(--line));background:color-mix(in srgb,var(--c) 14%,var(--hx-surface));font:800 14px/1.2 var(--font-sans);font-style:normal;color:var(--hx-text)}
.is-live .a-shop .as-pay i{animation:wpx-chip-on 6s ease infinite both;animation-delay:calc(var(--n) * .45s)}
@keyframes wpx-chip-on{0%{opacity:.35;background:var(--hx-surface);border-color:var(--line)}8%,90%{opacity:1}100%{opacity:.35}}
.is-live .a-shop .as-cart b{animation:wpx-bump-loop 6s cubic-bezier(.2,.9,.3,1.6) infinite}
@keyframes wpx-bump-loop{0%,40%{transform:scale(0)}47%{transform:scale(1.35)}52%,100%{transform:none}}
/* speed: gauge fills, needle swings to the fast side, shield */
.a-speed .ag{left:50%;top:18%;width:min(62%,190px);margin-left:max(-31%,-95px);overflow:visible}
.a-speed .ag path{fill:none;stroke-width:10;stroke-linecap:round}
.a-speed .ag .bg{stroke:var(--line)}
.a-speed .ag .fg{stroke:var(--c);stroke-dasharray:151;stroke-dashoffset:22}
.a-speed .ag .nd{stroke:var(--hx-text);stroke-width:4;stroke-linecap:round;transform-origin:60px 62px;transform:rotate(58deg)}
.a-speed .ag circle{fill:var(--hx-text)}
.a-speed .ag-sh{right:12%;bottom:14%;width:46px;height:46px;display:grid;place-items:center;border-radius:14px;background:var(--c);color:var(--hx-on);box-shadow:0 10px 24px -10px var(--c)}
.a-speed .ag-sh svg{width:26px;height:26px}
.is-live .a-speed .ag .fg{animation:wpx-gauge 5s cubic-bezier(.4,0,.2,1) infinite}
.is-live .a-speed .ag .nd{animation:wpx-needle 5s cubic-bezier(.4,0,.2,1) infinite}
@keyframes wpx-gauge{0%{stroke-dashoffset:151}45%,90%{stroke-dashoffset:22}100%{stroke-dashoffset:151}}
@keyframes wpx-needle{0%{transform:rotate(-80deg)}45%,90%{transform:rotate(58deg)}100%{transform:rotate(-80deg)}}
/* ai: chat request, reply with a screenshot thumbnail */
.a-ai{display:flex;flex-direction:column;justify-content:center;gap:12px;padding:0 9%}
.a-ai>*{position:relative}
.a-ai .aa-say{align-self:flex-end;max-width:88%;padding:9px 13px;border-radius:13px 13px 3px 13px;background:var(--c);color:var(--hx-on);font:800 14px/1.45 var(--font-sans)}
.a-ai .aa-re{align-self:flex-start;display:flex;align-items:center;gap:10px;max-width:92%;padding:9px 11px 9px 13px;border-radius:13px 13px 13px 3px;background:var(--hx-surface);border:1px solid var(--line);font:700 14px/1.45 var(--font-sans);color:var(--hx-text)}
.a-ai .aa-re b{font-weight:700}
.a-ai .aa-re i{flex:none;width:44px;height:34px;border-radius:6px;border:1px solid var(--line);background:linear-gradient(180deg,color-mix(in srgb,var(--c) 55%,var(--hx-surface)) 0 45%,var(--hx-surface-2) 45%)}
.is-live .a-ai .aa-say{animation:wpx-chat 6s cubic-bezier(.2,.9,.3,1.3) infinite both}
.is-live .a-ai .aa-re{animation:wpx-chat 6s cubic-bezier(.2,.9,.3,1.3) 1.2s infinite both}
@keyframes wpx-chat{0%{opacity:0;transform:translateY(10px) scale(.94)}10%,85%{opacity:1;transform:none}100%{opacity:0}}
/* takeover: a lens passes over the old site and ticks what it checked */
.a-takeover .at-doc{left:14%;right:14%;top:16%;bottom:16%;display:flex;flex-direction:column;justify-content:center;gap:9px;padding:12px 16px;border-radius:12px;border:1px solid var(--line);background:var(--hx-surface)}
.a-takeover .at-doc i{display:flex;align-items:center;gap:9px;font:700 14px/1.2 var(--font-sans);font-style:normal;color:var(--hx-text)}
.a-takeover .at-doc i::before{content:"✓";display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--c);color:var(--hx-on);font-size:12px;font-weight:900}
.a-takeover .at-lens{left:58%;top:22%;width:58px;height:58px;border-radius:50%;border:4px solid var(--c);background:color-mix(in srgb,var(--c) 10%,transparent)}
.a-takeover .at-lens::after{content:"";position:absolute;right:-16px;bottom:-12px;width:22px;height:5px;border-radius:3px;background:var(--c);transform:rotate(42deg)}
.is-live .a-takeover .at-lens{animation:wpx-lens 6s ease-in-out infinite}
@keyframes wpx-lens{0%,100%{transform:translate(0,0)}33%{transform:translate(-40px,30px)}66%{transform:translate(10px,60px)}}
.is-live .a-takeover .at-doc i::before{animation:wpx-tick 6s steps(1) infinite}
.is-live .a-takeover .at-doc i:nth-child(2)::before{animation-delay:1.5s}.is-live .a-takeover .at-doc i:nth-child(3)::before{animation-delay:3s}
@keyframes wpx-tick{0%{background:var(--line);color:transparent}25%,100%{background:var(--c);color:var(--hx-on)}}

/* ================= 3. WORK ================= */
.wpx-works{grid-template-columns:repeat(3,minmax(0,1fr))}
.wpx-wp{position:absolute;z-index:2;right:12px;bottom:12px;padding:5px 12px;border-radius:99px;background:var(--hx-surface);border:1px solid var(--line);font:700 14.5px/1.3 var(--font-sans);font-style:normal;color:var(--fg);box-shadow:var(--hx-shadow)}

/* ================= 4. AI (pink panel around the films) ================= */
.wpx-ai{position:relative;border:1px solid color-mix(in srgb,var(--hx-pink) 32%,var(--line));border-radius:20px;padding:clamp(24px,3vw,44px);
  background:radial-gradient(60% 70% at 100% 0%,color-mix(in srgb,var(--hx-pink) 13%,transparent),transparent 70%),radial-gradient(40% 60% at 0% 100%,color-mix(in srgb,var(--hx-ai) 9%,transparent),transparent 70%),var(--panel)}
.wpx-ai .hx-head h2 .hl{color:var(--hx-pink)}
.wpx-badge{display:inline-flex;align-items:center;gap:8px;margin-bottom:14px;padding:7px 14px;border-radius:99px;background:var(--hx-pink);color:var(--hx-on);font-size:15px;font-weight:800;letter-spacing:.04em}
.wpx-badge svg{width:15px;height:15px;fill:currentColor}
/* tabs and scene copy use the shared styles (rt-v3); only keep the tabs wrapping instead of scrolling sideways */
.wpx .sv-tabs{flex-wrap:wrap;overflow:visible}
.wpx-feats{display:flex;flex-direction:column;gap:10px;margin:0;padding:0;list-style:none}
.wpx-feats li{display:flex;align-items:center;gap:10px;font-size:16.5px;line-height:1.6;font-weight:700;color:var(--fg)}
.wpx-feats svg{flex:none;width:22px;height:22px;padding:3px;border-radius:50%;background:color-mix(in srgb,var(--hx-pink) 18%,transparent);color:var(--hx-pink)}
.wpx-scene-link{margin-top:16px;min-height:44px}
.wpx-cmp-h{display:flex;align-items:center;gap:10px;margin:44px 0 18px;font-size:21px;font-weight:700;color:var(--fg)}
.wpx-cmp-h span{color:var(--hx-pink)}
.wpx-cmp{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:0;padding:0;list-style:none}
.wpx-cmp li{display:flex;flex-direction:column;gap:12px;padding:24px;border-radius:16px;background:var(--editor);border:1px solid var(--line-soft);transition:border-color .25s}
.wpx-cmp li:hover{border-color:color-mix(in srgb,var(--hx-pink) 40%,var(--line))}
@supports (grid-template-rows:subgrid){.wpx-cmp li{display:grid;grid-row:span 3;grid-template-rows:subgrid;row-gap:12px}}
.wpx-cmp .k{display:flex;align-items:center;gap:12px;font-size:20px;font-weight:700;color:var(--fg)}
.wpx-cmp .k svg{flex:none;width:40px;height:40px;padding:9px;border-radius:14px;background:color-mix(in srgb,var(--hx-pink) 14%,transparent);color:var(--hx-pink);fill:none;stroke:currentColor}
.wpx-cmp p{margin:0;font-size:16.5px;line-height:1.7}
.wpx-cmp small{display:block;margin-bottom:4px;font-size:14.5px;font-weight:700;letter-spacing:.04em}
.wpx-cmp .was{color:var(--fg-2)}
.wpx-cmp .was small{color:var(--fg-2)}
.wpx-cmp .now{position:relative;align-self:stretch;padding:14px 16px;border-radius:14px;background:color-mix(in srgb,var(--hx-pink) 7%,var(--panel));border:1px solid color-mix(in srgb,var(--hx-pink) 28%,var(--line));font-weight:700;color:var(--fg)}
.wpx-cmp .now small{color:var(--hx-pink)}

/* ================= responsive ================= */
@media (max-width:1180px){
  .wpx-body{grid-template-columns:1fr;gap:34px;padding:42px 36px 34px;min-height:0}
  .wpx-visual{height:460px;min-height:0}
  .wpx-hero h1{font-size:clamp(34px,6cqw,54px)}
  .wpx-bento{grid-template-columns:repeat(2,minmax(0,1fr))}
  .wpx-cmp{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:720px){
  .wpx-wrap{padding-top:14px}
  .wpx-body{padding:28px 20px 24px;gap:26px}
  .wpx-hero h1{font-size:clamp(30px,8.6cqw,40px)}
  .wpx-hero h1 .g{font-size:.66em}
  .wpx-now{margin-top:18px}
  .wpx-hero .actions .action{flex:1 1 100%;justify-content:center}
  .wpx-visual{height:330px}
  .wpx-admin{top:5%;width:100%;height:80%}
  .wpx-admin-body{grid-template-columns:30% 1fr}
  .wpx-menu li{padding:5px 6px;gap:5px}
  .wpx-demo{display:none}
  .wpx-phone{width:30%;max-height:62%;bottom:-2%;right:-2%;border-width:4px;border-radius:18px}
  .wpx-chip{padding:7px 11px}
  .wpx-chip.c1{left:-4px;bottom:-8px}
  .wpx-chip.c2{right:-4px;top:-14px}
  .wpx-bento{grid-template-columns:1fr;gap:20px}
  .wpx-tile>:not(.wpx-art){margin-inline:20px}
  .wpx-tile-t{margin-top:20px}
  .wpx-lead{font-size:17px}
  .wpx-works{grid-template-columns:repeat(2,minmax(0,1fr))}
  .wpx-cmp{grid-template-columns:1fr;gap:16px}
  .wpx-cmp li{padding:20px}
  .a-shop .as-cart{width:64px;height:64px;margin-top:-32px;left:6%}
  .a-shop .as-cart svg{width:32px;height:32px}
  .a-shop .as-pay{left:calc(6% + 84px);gap:7px}
  .a-shop .as-pay i{padding:6px 10px;font-size:13px}
  .wpx .sv-tabs button{flex:1 1 auto;justify-content:center}
  .wpx-wp{font-size:14.5px;padding:4px 10px;right:8px;bottom:8px}
}
@media (prefers-reduced-motion:reduce){
  .wpx-hero *,.wpx-hero *::before,.wpx-hero *::after,.wpx-art *,.wpx-art *::before,.wpx-art *::after{animation:none!important;transition:none!important}
  [data-reveal] .wpx-tile{opacity:1;transform:none;transition:none}
}
