/* iMiTech structural skin engine (retained for compatibility). Studio Builder v11 controls full page structure. */
:root{--theme-gap:clamp(18px,3vw,54px)}
html,body{max-width:100%;overflow-x:hidden}body{font-family:var(--font-body,system-ui,sans-serif)}
.hero-copy h1,.page-title,.section-head h2,.workshop-display,.product-info h2,.article-card h2,.custom-block h2{font-family:var(--font-display,var(--font-body));font-weight:400!important;line-height:1.38}
.product-showcase>*{min-width:0}.carousel{min-width:0;overflow:hidden}.carousel-stage{overflow:hidden}.carousel-thumbs{overscroll-behavior-inline:contain;scroll-behavior:smooth;touch-action:pan-x;max-width:100%}.carousel-thumb{scroll-margin-inline:8px}.product-stack,.product-showcase,.catalog-tools{max-width:100%}
/* Aurora: polished split studio */
body[data-preset="aurora"] .hero-grid{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:72px}
body[data-preset="aurora"] .hero-copy{padding-inline-start:16px}
body[data-preset="aurora"] .hero-stage{border-radius:40px;box-shadow:0 34px 110px rgba(68,56,150,.14)}
body[data-preset="aurora"] .product-feature-grid{grid-template-columns:repeat(12,1fr)}
body[data-preset="aurora"] .product-feature:nth-child(1){grid-column:span 7}body[data-preset="aurora"] .product-feature:nth-child(2){grid-column:span 5}body[data-preset="aurora"] .product-feature:nth-child(n+3){grid-column:span 4}
/* Midnight: centered cinematic canvas */
body[data-preset="midnight"] .hero{padding-top:60px}body[data-preset="midnight"] .hero-grid{display:flex;flex-direction:column;gap:34px;text-align:center}body[data-preset="midnight"] .hero-copy{max-width:980px;margin:auto;display:flex;flex-direction:column;align-items:center}body[data-preset="midnight"] .hero-copy p{margin-inline:auto}body[data-preset="midnight"] .hero-stage{width:min(1080px,100%);min-height:620px}body[data-preset="midnight"] .trust-grid{width:min(1080px,100%);margin-inline:auto}body[data-preset="midnight"] .section-head{margin-inline:auto;text-align:center}body[data-preset="midnight"] .product-feature-grid{grid-template-columns:repeat(2,1fr)}body[data-preset="midnight"] .product-feature:nth-child(1){grid-column:span 2}body[data-preset="midnight"] .product-showcase{grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr)}body[data-preset="midnight"] .product-showcase .product-info{order:2}body[data-preset="midnight"] .product-showcase>div:last-child{order:1}
/* Glass: cards floating in one large glass shell */
body[data-preset="glass"] main{position:relative}body[data-preset="glass"] .hero>.container{padding:28px;border:1px solid rgba(255,255,255,.55);border-radius:42px;background:color-mix(in srgb,var(--surface) 62%,transparent);backdrop-filter:blur(26px);box-shadow:0 30px 100px rgba(43,58,100,.10)}body[data-preset="glass"] .hero-grid{grid-template-columns:1fr 1fr;gap:28px}body[data-preset="glass"] .hero-stage{min-height:520px;border-radius:30px}body[data-preset="glass"] .trust-grid{margin-top:18px}body[data-preset="glass"] .product-feature-grid{grid-template-columns:repeat(2,1fr)}body[data-preset="glass"] .product-feature{display:grid;grid-template-columns:.9fr 1.1fr;align-items:stretch}body[data-preset="glass"] .product-feature-media{height:auto;min-height:320px;border-bottom:0;border-inline-end:1px solid var(--line)}
/* Editorial: magazine layout */
body[data-preset="editorial"] .container{--max:1240px}body[data-preset="editorial"] .hero-grid{grid-template-columns:1.2fr .8fr;align-items:start;border-top:3px solid var(--ink);padding-top:26px}body[data-preset="editorial"] .hero-copy{order:1}body[data-preset="editorial"] .hero-stage{order:2;min-height:470px;border-radius:0}body[data-preset="editorial"] .hero-copy h1{font-size:clamp(58px,7vw,94px);line-height:1.06}body[data-preset="editorial"] .trust-grid{border-top:1px solid var(--ink);border-bottom:1px solid var(--ink);gap:0}body[data-preset="editorial"] .trust-card{border:0;border-inline-end:1px solid var(--line);border-radius:0;background:transparent}body[data-preset="editorial"] .section-head{display:grid;grid-template-columns:.6fr 1.4fr;max-width:none;gap:34px;border-top:2px solid var(--ink);padding-top:18px}body[data-preset="editorial"] .section-head .eyebrow{justify-self:start}body[data-preset="editorial"] .section-head h2,body[data-preset="editorial"] .section-head p{grid-column:2}body[data-preset="editorial"] .product-feature-grid{grid-template-columns:repeat(2,1fr)}body[data-preset="editorial"] .product-feature{border-radius:0;box-shadow:none;border-width:0 0 1px}body[data-preset="editorial"] .product-showcase{border-radius:0;box-shadow:none;border-width:1px 0;grid-template-columns:minmax(360px,.68fr) minmax(0,1.32fr)}
/* Neon: dashboard / AI studio composition */
body[data-preset="neon"] .hero-grid{grid-template-columns:minmax(320px,.72fr) minmax(0,1.28fr);align-items:stretch}body[data-preset="neon"] .hero-copy{align-self:center;padding:34px;border:1px solid #243653;border-radius:28px;background:linear-gradient(145deg,#0d1422cc,#111b2dcc);box-shadow:0 0 0 1px #7b39ed22,0 30px 90px #0008}body[data-preset="neon"] .hero-stage{min-height:650px}body[data-preset="neon"] .trust-grid{grid-template-columns:2fr 1fr 1fr 1fr}body[data-preset="neon"] .product-feature-grid{grid-template-columns:repeat(6,1fr)}body[data-preset="neon"] .product-feature:nth-child(1),body[data-preset="neon"] .product-feature:nth-child(4){grid-column:span 4}body[data-preset="neon"] .product-feature:nth-child(2),body[data-preset="neon"] .product-feature:nth-child(3),body[data-preset="neon"] .product-feature:nth-child(n+5){grid-column:span 2}
/* Custom builder blocks */
.custom-block[data-template="image"]{display:grid;place-items:center;min-height:320px}.custom-block[data-template="image"] img{max-width:100%;max-height:620px;border-radius:calc(var(--ui-radius) + 4px);object-fit:contain}.custom-block[data-template="split"]{display:grid;grid-template-columns:1fr 1fr;gap:34px;align-items:center}.custom-block[data-template="split"] .builder-media{min-height:320px;border-radius:var(--ui-radius);overflow:hidden;background:var(--surface-2)}.custom-block[data-template="split"] .builder-media img{width:100%;height:100%;object-fit:cover}.custom-block[data-template="button"]{min-height:140px;display:grid;place-items:center;text-align:center}.custom-block[data-template="spacer"]{min-height:var(--spacer,72px);background:transparent;border:1px dashed color-mix(in srgb,var(--line) 70%,transparent)}.custom-block[data-template="divider"]{padding:10px 0;background:transparent;border:0}.custom-block[data-template="divider"]:after{content:"";display:block;border-top:1px solid var(--line)}
@media(max-width:1080px){body[data-preset] .hero-grid{grid-template-columns:1fr!important;display:grid!important;text-align:start!important}body[data-preset] .hero-copy{align-items:flex-start!important;max-width:none!important;margin:0!important}body[data-preset] .hero-stage{width:100%!important;min-height:520px!important}body[data-preset] .product-feature-grid{grid-template-columns:repeat(2,1fr)!important}body[data-preset] .product-feature{grid-column:auto!important;display:block!important}body[data-preset] .product-showcase{grid-template-columns:1fr!important}body[data-preset="midnight"] .product-showcase .product-info{order:1}body[data-preset="midnight"] .product-showcase>div:last-child{order:2}body[data-preset="editorial"] .section-head{display:block}.custom-block[data-template="split"]{grid-template-columns:1fr}}
@media(max-width:700px){body[data-preset] .product-feature-grid{grid-template-columns:1fr!important}body[data-preset="neon"] .trust-grid,body[data-preset] .trust-grid{grid-template-columns:repeat(2,1fr)!important}.carousel-thumbs{padding-bottom:6px}.hero-copy h1,body[data-preset="editorial"] .hero-copy h1{font-size:44px!important}.hero>.container{padding-inline:0!important}}
/* Gallery stability: changing screenshots never scrolls or shifts the page. */
.carousel,.carousel-stage,.carousel-thumbs{contain:layout paint}.carousel-stage{touch-action:pan-y;overscroll-behavior:contain}.carousel-thumbs{overscroll-behavior-x:contain}.product-showcase{overflow:hidden}.product-showcase .carousel{width:100%}
.builder-media{display:grid;place-items:center;min-height:320px}.builder-media-placeholder{display:grid;place-items:center;width:100%;min-height:280px;border:1px dashed var(--line);border-radius:var(--ui-radius);color:var(--muted);font-size:12px;background:var(--surface-2)}
.builder-page .compact-builder-hero{padding-bottom:24px}.builder-extra-sections{display:contents}
