/* Authored builder film: isolated from the real editor and plan controls. */
.builder-film{position:relative;width:min(1120px,100%);margin:56px auto 0;aspect-ratio:16/9;isolation:isolate;overflow:hidden;border-radius:16px;background:#090a0d;box-shadow:0 45px 100px #0009;text-align:left;perspective:1400px;color:#fff}
.builder-film::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 50% 85%,#394eff66,transparent 65%),radial-gradient(ellipse at 5% 10%,#790c2940,transparent 60%)}
.bf-screen{position:absolute;inset:10% 7% 15%;background:#18191b;border-radius:12px;overflow:hidden;box-shadow:0 32px 55px #0009;transform:rotateX(9deg) rotateY(-12deg) rotateZ(-3deg) scale(.93);transition:transform 1.7s cubic-bezier(.16,1,.3,1);transform-origin:50% 45%;font:500 clamp(5px,1vw,12px)/1.5 'Plus Jakarta Sans',sans-serif}
.bf-bar{height:10%;display:flex;align-items:center;gap:1em;padding:0 2%;background:#222325}.bf-bar img{width:2em;height:2em}.bf-bar strong{font-size:1.1em}.bf-save{margin-left:auto;color:#c9c9cb}.bf-publish{background:#c6ff3d;color:#101408;border-radius:5px;padding:.35em 1em}
.bf-work{display:flex;height:90%;gap:1%;padding:1%;box-sizing:border-box}.bf-tools{width:18%;flex:none;background:#222325;border-radius:8px;padding:2%;box-sizing:border-box}.bf-tools b{display:block;margin-bottom:1em}.bf-field{padding:.65em .7em;background:#3a3b3d;border-radius:5px;margin:.65em 0;color:#f9f9f9}.bf-swatches{display:flex;gap:8%;margin:15% 0}.bf-swatches i{width:20%;aspect-ratio:1;border-radius:50%;background:#c6ff3d}.bf-swatches i:nth-child(2){background:#ffb795}.bf-swatches i:nth-child(3){background:#b5b8ff}.bf-tool-note{color:#c9c9cb;font-size:.85em}
.bf-canvas{position:relative;flex:1;min-width:0;background:#f0eee7;color:#24271e;border-radius:6px;overflow:hidden;transition:background 1s,color 1s,transform 1.2s;transform-origin:center}.bf-site-nav{display:flex;justify-content:space-between;padding:3% 5%;font-size:.85em}.bf-site-nav b{font-size:1.2em}.bf-site-body{padding:5%;position:relative;z-index:1}.bf-site-body h3{font-size:3.9em;line-height:1.06;letter-spacing:normal;margin:0 0 .35em;max-width:8em;color:inherit!important;font-weight:800}.bf-site-body p{font-size:1em;max-width:20em;margin:1.2em 0}.bf-site-button{display:inline-block;background:#24271e;color:#fff;padding:.65em 1.2em;border-radius:4px}.bf-selection{position:absolute;inset:-.12em;outline:1.5px solid #394eff;opacity:0;transition:opacity .3s}.bf-title-wrap{position:relative;width:fit-content}.bf-selection::after{content:"Text";position:absolute;left:0;top:-1.65em;background:#394eff;color:#fff;font-size:.2em;padding:.2em .7em}.bf-art{position:absolute;width:42%;height:77%;right:-3%;bottom:-15%;background:url('plan-builder-custom-generated-v3.webp') center/contain no-repeat;transform:rotate(-15deg);opacity:.75}.bf-cursor{position:absolute;left:65%;top:65%;width:2.4%;z-index:5;filter:drop-shadow(0 2px 3px #0008);transition:transform 1.4s cubic-bezier(.16,1,.3,1)}
.bf-caption{position:absolute;left:5%;bottom:5%;font-size:clamp(11px,1.6vw,20px);font-weight:600;max-width:75%;color:#fff!important;margin:0}.bf-caption span{color:#b5b8ff}.bf-controls{position:absolute;right:4%;bottom:4.5%;background:#ffffff16;color:#fff;border:0;border-radius:6px;padding:8px 12px;font:600 12px inherit;cursor:pointer}.bf-controls:focus-visible{outline:2px solid #c6ff3d;outline-offset:4px}.bf-progress{position:absolute;bottom:0;left:0;height:2px;background:#b5b8ff;width:100%;transform:scaleX(0);transform-origin:left}.bf-flash{position:absolute;inset:0;background:#fff;opacity:0;pointer-events:none;transition:opacity .6s}.bf-label{position:absolute;top:3%;left:5%;font-size:clamp(8px,1vw,11px);color:#c9c9cb}
.builder-film[data-shot="edit"] .bf-screen{transform:translate(9%,10%) rotateX(2deg) rotateY(7deg) rotateZ(1deg) scale(1.28)}
.builder-film[data-shot="edit"] .bf-selection{opacity:1}.builder-film[data-shot="edit"] .bf-cursor{transform:translate(-1150%,-400%)}
.builder-film[data-shot="colour"] .bf-screen{transform:translate(14%,7%) rotateX(3deg) rotateY(-7deg) rotateZ(-2deg) scale(1.15)}
.builder-film[data-shot="colour"] .bf-cursor{transform:translate(-2350%,-250%)}
.builder-film[data-theme="dark"] .bf-canvas{background:#202b25;color:#f3f1e8}.builder-film[data-theme="dark"] .bf-site-button{background:#c6ff3d;color:#101408}
.builder-film[data-shot="reveal"] .bf-screen{transform:rotateX(0) rotateY(0) scale(1.02)}
.builder-film[data-shot="reveal"] .bf-canvas{transform:translateX(-8%) scale(1.04)}
.builder-film[data-shot="reveal"] .bf-tools{opacity:.25;transition:opacity 1s}.builder-film[data-shot="reveal"] .bf-cursor{opacity:0}
.builder-film[data-shot="flash"] .bf-flash{opacity:.55}
.builder-plan-page .pp-stage{padding-bottom:64px}.builder-plan-page .pp-orbs{display:none}
@media(max-width:600px){.builder-film{margin-top:40px;aspect-ratio:1.18;border-radius:12px}.bf-screen{inset:18% -12% 23%;font-size:8px}.bf-label{top:6%}.bf-caption{bottom:7%;max-width:65%;font-size:12px}.bf-controls{bottom:6%}.bf-site-body h3{font-size:3.5em}}
@media(prefers-reduced-motion:reduce){.builder-film .bf-screen{transform:none!important}.builder-film .bf-canvas{transform:none!important}.builder-film *{transition:none!important}.bf-cursor,.bf-progress{display:none}}
/* Plan typography is white globally; the illustrated website owns its palette. */
.builder-plan-page .plan-main .builder-film .bf-canvas :is(h3,p,span){color:inherit!important;text-shadow:none;-webkit-text-stroke:0}
.builder-plan-page .plan-main .builder-film .bf-canvas .bf-site-button{color:#fff!important}
.builder-plan-page .plan-main .builder-film[data-theme="dark"] .bf-canvas .bf-site-button,.builder-plan-page .plan-main .builder-film .bf-publish{color:#101408!important}
.builder-plan-page .plan-main .builder-film .bf-caption span{color:#b5b8ff!important}
@media(max-width:600px){
 .builder-film .bf-screen{inset:17% 4% 23%;font-size:5.5px}
 .builder-film[data-shot="edit"] .bf-screen{transform:translate(3%,3%) rotateY(3deg) scale(1.08)}
 .builder-film[data-shot="colour"] .bf-screen{transform:translate(3%,2%) rotateY(-4deg) scale(1.06)}
 .builder-film[data-shot="reveal"] .bf-screen{transform:scale(1)}
 .builder-film .bf-label{left:6%;font-size:8px}
 .builder-film .bf-caption{left:6%;bottom:8%;font-size:11px;max-width:60%}
 .builder-film .bf-controls{right:5%;bottom:7%;font-size:11px;padding:8px}
}
/* Revised film follows the actual template → edit → responsive preview workflow. */
.builder-plan-page .pp-stage{justify-content:flex-start;padding-top:32px}
.builder-plan-page .pp-stage .bf-accessible-title{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.builder-film{margin:28px auto 32px;aspect-ratio:1.95}
.bf-gallery{position:absolute;inset:10% 0 0;padding:3% 11%;background:#141517;z-index:3;transition:opacity .6s,transform .9s cubic-bezier(.16,1,.3,1)}
.builder-plan-page .plan-main .bf-gallery h2{font-size:2em!important;margin:0 0 .35em!important;line-height:1.2}
.bf-gallery>p{margin:0 0 1em;font-size:.9em}.bf-search{background:#2a2b2d;border-radius:20px;padding:.7em 1em;color:#c9c9cb;width:65%}.bf-categories{padding:1em 0;color:#c9c9cb;font-size:.8em}.bf-templates{display:flex;gap:2%}.bf-template{width:32%;border-radius:10px;overflow:hidden;background:#2a2b2d;transition:transform .6s,box-shadow .6s}.bf-thumb{height:10em;background:radial-gradient(ellipse at 80% 80%,#b7d1e9,transparent 70%),#f2f7fa;padding:1em;color:#102b3e}.bf-thumb small{display:block;font-size:.6em}.bf-thumb b{display:block;font-size:1.6em;line-height:1.08;margin-top:1.7em}.bf-template-1 .bf-thumb{background:radial-gradient(ellipse at 80% 80%,#6c6031,transparent 70%),#181a15;color:#fff}.bf-template-2 .bf-thumb{background:radial-gradient(ellipse at 80% 80%,#9accc5,transparent 70%),#edf6f3}.bf-template-copy{padding:1em}.bf-template-copy p{font-size:.8em;min-height:3em}.bf-template-copy span{display:inline-block;padding:.5em .8em;border-radius:20px;background:#c6ff3d;color:#101408!important;font-size:.8em}
.builder-film .bf-screen{inset:9% 5% 16%;transform:rotateX(5deg) rotateY(-5deg) scale(.98)}
.builder-film:not([data-shot="choose"]):not([data-shot="pick"]) .bf-gallery{opacity:0;transform:scale(1.15);pointer-events:none}
.builder-film[data-shot="pick"] .bf-template-0{transform:translateY(-4%) scale(1.03);box-shadow:0 0 0 2px #c6ff3d}
.builder-film[data-shot="choose"] .bf-cursor{transform:translate(-450%,180%)}
.builder-film[data-shot="pick"] .bf-cursor{transform:translate(-1350%,350%)}
.builder-film .bf-canvas{background:radial-gradient(ellipse at 90% 30%,#bed9ea,transparent 65%),#eef5f9;color:#102b3e}
.bf-contact{position:absolute;right:5%;top:30%;width:29%;padding:3%;border-radius:10px;background:#ffffffa8;color:#102b3e}.bf-contact p{font-size:.8em!important;margin:1em 0}.bf-site-body{max-width:66%;padding-top:8%}.bf-site-body h3{font-size:3em}.bf-tools{font-size:.9em}.bf-devices{font-size:.8em}
.builder-film[data-shot="phone"] .bf-screen{transform:rotateY(0) scale(1)}
.builder-film[data-shot="phone"] .bf-canvas{flex:none;width:32%;margin:auto;transform:none;box-shadow:0 12px 25px #0007}
.builder-film[data-shot="phone"] .bf-contact{display:none}.builder-film[data-shot="phone"] .bf-site-body{max-width:100%;padding:12% 8%}.builder-film[data-shot="phone"] .bf-site-body h3{font-size:2.7em}.builder-film[data-shot="phone"] .bf-site-nav span{display:none}.builder-film[data-shot="phone"] .bf-cursor{opacity:0}
.builder-film[data-shot="reveal"] .bf-canvas{transform:none}.builder-film[data-shot="reveal"] .bf-tools{opacity:1}
/* Owner-requested silver-grey surfaces with green light at the lower right. */
.builder-plan-page .plan-quick .plan-options .plan-grid>.plan-tier,.builder-plan-page .plan-quick .plan-options .plan-grid>.plan-tier.is-recommended{background:radial-gradient(90% 42% at 0% 0%,rgba(255,168,60,.30),transparent 64%),radial-gradient(60% 30% at 50% 0%,rgba(255,255,255,.08),transparent 70%),radial-gradient(60% 40% at 100% 108%,rgba(198,255,61,.18),transparent 68%),radial-gradient(80% 45% at 50% 115%,rgba(198,255,61,.30),transparent 70%),#2a2b2d;border-color:#000;box-shadow:0 20px 44px #0005}
.builder-plan-page .plan-tier::before,.builder-plan-page .plan-tier.is-recommended::before{content:none}
@media(max-width:600px){.builder-film{aspect-ratio:1.22;margin-top:20px}.builder-film .bf-screen{inset:13% 3% 20%;font-size:6px}.bf-gallery{padding:5%}.bf-template-copy{padding:.7em}.bf-thumb{height:12em}.bf-categories{white-space:nowrap;overflow:hidden}.bf-contact{font-size:.8em}.bf-site-body h3{font-size:3em}.builder-film[data-shot="edit"] .bf-screen{transform:translate(1%,2%) scale(1.04)}.builder-film[data-shot="phone"] .bf-canvas{width:43%}}
/* Frameless hero. Only the actual editor retains its application surface. */
.builder-plan-page .pp-stage{min-height:0;padding:36px 0 64px;margin-bottom:0;animation:none}
.builder-plan-page .pp-stage .sn-ai-card{margin:0 auto 24px}
.builder-film{background:none;box-shadow:none;border:0;border-radius:0;overflow:visible;margin:0 auto 28px;aspect-ratio:1.95;perspective:1800px}
.builder-film::before,.builder-film .bf-label,.builder-film .bf-flash{display:none}
.builder-film .bf-screen{inset:5% 3% 17%;box-shadow:0 36px 65px #0007;transform-style:preserve-3d;transition:transform 1.5s cubic-bezier(.16,1,.3,1),filter .8s;backface-visibility:hidden}
.builder-film .bf-caption{left:3%;bottom:2%;font-size:clamp(12px,1.5vw,18px);line-height:1.5;max-width:72%}
.builder-film .bf-controls{right:3%;bottom:1%;min-height:36px;background:#ffffff12;font-family:inherit;font-size:12px}
.builder-film .bf-progress{bottom:-10px;left:3%;width:94%;height:1px;opacity:.6}
.builder-plan-page .pp-stage>.pp-btn{margin:4px 0 0}
.builder-plan-page .pp-stage>.pp-more{margin-top:18px}
.builder-plan-page .pp-stage>.pp-notes{margin-top:24px}
.builder-plan-page .pp-plans-head{padding-top:32px;padding-bottom:24px}
.builder-film .bf-gallery{transition:opacity .45s,transform 1.15s cubic-bezier(.16,1,.3,1),filter .65s,clip-path 1s cubic-bezier(.16,1,.3,1);transform-origin:20% 60%;clip-path:inset(0)}
.builder-film:not([data-shot="choose"]):not([data-shot="pick"]) .bf-gallery{transform:translate3d(-20%,0,200px) scale(2.5);filter:blur(12px);clip-path:inset(0 0 0 100%)}
.builder-film .bf-canvas{transition:width 1.3s cubic-bezier(.16,1,.3,1),transform 1.3s cubic-bezier(.16,1,.3,1),filter .8s}
@media(prefers-reduced-motion:no-preference){
 .builder-film[data-shot="choose"] .bf-screen{transform:rotateX(8deg) rotateY(-11deg) rotateZ(-2deg) scale(.92)}
 .builder-film[data-shot="pick"] .bf-screen{transform:translate3d(5%,3%,100px) rotateY(7deg) rotateZ(1deg) scale(1.03)}
 .builder-film[data-shot="wide"] .bf-screen{transform:rotateX(3deg) rotateY(-5deg) scale(.97);animation:bf-rack-focus .85s both}
 .builder-film[data-shot="edit"] .bf-screen{transform:translate3d(6%,5%,100px) rotateY(8deg) rotateZ(1deg) scale(1.12)}
 .builder-film[data-shot="phone"] .bf-screen{transform:rotateX(5deg) rotateY(-13deg) rotateZ(-2deg) scale(.96);animation:bf-rack-focus .75s both}
 .builder-film[data-shot="reveal"] .bf-screen{transform:rotateX(0) rotateY(0) rotateZ(0) scale(1);animation:bf-reveal 1.7s cubic-bezier(.16,1,.3,1) both}
 .builder-film .bf-caption{animation:bf-caption-in .6s cubic-bezier(.16,1,.3,1) both}
}
@keyframes bf-rack-focus{0%{filter:blur(7px);opacity:.6}100%{filter:blur(0);opacity:1}}
@keyframes bf-reveal{0%{filter:blur(5px);clip-path:inset(8% 0)}100%{filter:blur(0);clip-path:inset(0)}}
@keyframes bf-caption-in{from{opacity:.2;translate:0 8px}to{opacity:1;translate:0 0}}
@media(max-width:600px){
 .builder-plan-page .pp-stage{padding:24px 0 44px}
 .builder-plan-page .pp-stage .sn-ai-card{margin-bottom:20px}
 .builder-film{aspect-ratio:1.16;margin:0 auto 24px}
 .builder-film .bf-screen{inset:6% 0 23%;font-size:6px}
 .builder-film .bf-caption{left:0;bottom:3%;max-width:65%;font-size:12px}
 .builder-film .bf-caption span{display:block}
 .builder-film .bf-controls{right:0;bottom:3%;padding:8px 10px}
 .builder-film .bf-progress{left:0;width:100%;bottom:0}
 .builder-plan-page .pp-stage>.pp-notes{margin-top:20px}
 .builder-plan-page .pp-plans-head{padding-top:20px}
}
@media(max-width:600px) and (prefers-reduced-motion:no-preference){
 .builder-film[data-shot="choose"] .bf-screen{transform:rotateY(-7deg) rotateX(4deg) scale(.94)}
 .builder-film[data-shot="pick"] .bf-screen{transform:rotateY(5deg) scale(.98)}
 .builder-film[data-shot="edit"] .bf-screen{transform:translateX(1%) rotateY(4deg) scale(1.025)}
 .builder-film[data-shot="phone"] .bf-screen{transform:rotateY(-7deg) scale(.96)}
}
/* A deliberate press of Play opts into the film on reduced-motion devices. */
.builder-film[data-motion="enabled"] .bf-screen{transition:transform 1.5s cubic-bezier(.16,1,.3,1),filter .8s!important}
.builder-film[data-motion="enabled"] .bf-gallery{transition:opacity .45s,transform 1.15s cubic-bezier(.16,1,.3,1),filter .65s,clip-path 1s cubic-bezier(.16,1,.3,1)!important}
.builder-film[data-motion="enabled"] .bf-canvas{transition:width 1.3s cubic-bezier(.16,1,.3,1),transform 1.3s cubic-bezier(.16,1,.3,1)!important}
.builder-film[data-motion="enabled"][data-shot="choose"] .bf-screen{transform:rotateX(8deg) rotateY(-11deg) rotateZ(-2deg) scale(.92)!important}
.builder-film[data-motion="enabled"][data-shot="pick"] .bf-screen{transform:rotateY(7deg) rotateZ(1deg) scale(1.03)!important}
.builder-film[data-motion="enabled"][data-shot="wide"] .bf-screen{transform:rotateY(-5deg) scale(.97)!important;animation:bf-rack-focus .85s both}
.builder-film[data-motion="enabled"][data-shot="edit"] .bf-screen{transform:translate(3%,3%) rotateY(8deg) scale(1.06)!important}
.builder-film[data-motion="enabled"][data-shot="phone"] .bf-screen{transform:rotateX(5deg) rotateY(-10deg) rotateZ(-2deg) scale(.96)!important;animation:bf-rack-focus .75s both}
.builder-film[data-motion="enabled"][data-shot="reveal"] .bf-screen{transform:none!important;animation:bf-reveal 1.7s cubic-bezier(.16,1,.3,1) both}
.builder-film[data-motion="enabled"] .bf-cursor{display:block;transition:transform 1.4s cubic-bezier(.16,1,.3,1)!important}
/* Autoplay hero flows directly into the primary action, without a caption row. */
.builder-film .bf-caption,.builder-film .bf-progress{display:none}
.builder-film{aspect-ratio:2.3;margin-bottom:28px}
.builder-film .bf-screen{inset:3% 3% 4%}
.builder-film .bf-controls{right:4%;bottom:6%;z-index:6;min-height:28px;padding:5px 9px;font-size:11px;background:#18191be8}
@media(max-width:600px){.builder-film{aspect-ratio:1.5;margin-bottom:24px}.builder-film .bf-screen{inset:4% 0 5%}.builder-film .bf-controls{right:2%;bottom:7%;font-size:10px;min-height:26px}}
/* Compact primary hero action. */
.builder-plan-page .pp-stage>.pp-btn{min-height:34px;height:auto;padding:5px 16px;line-height:1.35;box-sizing:border-box}
.builder-plan-page .pp-stage>.pp-btn .bf-gift{order:-1;flex:none;width:18px;height:18px;margin:0}
.builder-plan-page .pp-stage>.pp-btn>span{flex:1;text-align:left}
/* Explicit block size avoids Safari's flex-item aspect-ratio height expansion. */
.builder-plan-page .builder-film{flex:none;min-height:0;aspect-ratio:auto;height:clamp(260px,39vw,460px);max-height:58svh}
.bf-launch{position:fixed;z-index:90;left:50%;bottom:calc(16px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:7px 18px;box-sizing:border-box;border:3px solid #000;border-radius:10px;background:#394eff;color:#fff;font:700 15px/1.3 'Plus Jakarta Sans',sans-serif;text-decoration:none;box-shadow:0 8px 24px #0005;white-space:nowrap}
.bf-launch svg{width:21px;height:21px;flex:none}
.bf-launch[hidden]{display:none}
.bf-launch:focus-visible{outline:2px solid #c6ff3d;outline-offset:4px}
.bf-launch:hover{background:#485cff}
@media(max-width:600px){.builder-plan-page .builder-film{height:clamp(180px,62vw,300px);max-height:42svh;margin-bottom:20px}.bf-launch{bottom:calc(12px + env(safe-area-inset-bottom,0px))}}
.builder-plan-page .plan-quick .plan-steps .plan-grid>.plan-tier{background:radial-gradient(90% 42% at 0% 0%,rgba(255,168,60,.30),transparent 64%),radial-gradient(60% 30% at 50% 0%,rgba(255,255,255,.08),transparent 70%),radial-gradient(60% 40% at 100% 108%,rgba(198,255,61,.18),transparent 68%),radial-gradient(80% 45% at 50% 115%,rgba(198,255,61,.30),transparent 70%),#2a2b2d;border-color:#000;box-shadow:0 20px 44px #0005}
.builder-plan-page .plan-tier .plan-feature-icon{width:23px;height:23px;flex:0 0 23px;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;color:#9aa6ff;margin-right:10px;vertical-align:middle}
.builder-plan-page .plan-tier li{align-items:center}
