/* V3: product scenes. The incumbent tokens and physical product remain the identity. */
.site-header{display:block;width:100%;max-width:none;margin:0;padding:0;min-height:0}.header-inner{display:flex;align-items:center;max-width:1440px;margin:auto;padding:18px 4%;gap:5%;min-height:78px}.site-header .wordmark{font-size:1.7rem;letter-spacing:-.035em}.main-nav{font-size:.8rem;gap:30px}.header-actions{gap:28px}.language-switch{font-size:.7rem}.contact-action{min-height:40px;padding:5px 20px;font-size:.8rem}.site-header[data-scrolled=true]{border-bottom:1px solid var(--rule)}
.opening{display:block;max-width:1920px;margin:auto;overflow:hidden}.introduction{display:block;text-align:center;padding:58px 24px 64px;max-width:1200px;margin:auto}.introduction h1,html[lang=pl] .introduction h1{font-size:clamp(3.2rem,6.6vw,5.3rem);line-height:1;letter-spacing:-.025em;max-width:100%;margin:0 auto 25px;text-wrap:balance}.introduction h1 span{display:block;white-space:normal}.introduction h1 span:last-child{color:var(--blue)}.lead-summary{display:block;max-width:none}.lead-summary>p{font-size:1rem;line-height:1.4;color:var(--muted);max-width:61ch;margin:0 auto 28px}.hero-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:16px}.explore-action{min-height:48px;padding:8px 22px;font-size:.85rem;gap:22px}.secondary-action{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:8px 22px;border:1px solid var(--rule);border-radius:10px;background:transparent;font-size:.85rem;font-weight:600;color:var(--ink);text-decoration:none;white-space:nowrap;transition:background-color .2s ease,border-color .2s ease,color .2s ease}.secondary-action:hover{background:#2261b208;border-color:var(--action);color:var(--action)}
.product-region{background:var(--ink);color:#fff;position:relative;margin:0 24px;min-width:0;min-height:0;border-radius:16px;overflow:hidden;padding:52px 6% 34px;display:block}.product-identity{display:block;text-align:center;position:relative;z-index:3}.app-heading{display:flex;align-items:center;justify-content:center;gap:12px;margin:0}.product-logo{width:42px;height:42px;flex:none;border-radius:10px}.app-heading h2{font-size:1.5rem;font-weight:600;line-height:1.2;margin:0}.product-identity h3,html[lang=pl] .product-identity h3{font-size:clamp(2.5rem,4.6vw,3.8rem);font-weight:600;line-height:1.04;letter-spacing:-.02em;max-width:22ch;margin:22px auto 12px;text-wrap:balance}.product-identity h3 br{display:none}
.product-showcase{position:relative;display:flex;align-items:center;justify-content:center;max-width:1150px;width:100%;min-height:0;margin:0 auto;aspect-ratio:2.05}.device-perspective{width:100%;max-width:none;margin:0;padding:0;perspective:1600px;position:relative;z-index:2;flex:none}.device{width:100%;margin:0;transform:translateY(var(--scene-shift,0px)) rotate(calc(var(--stage-angle,-5deg) + var(--scene-turn,0deg))) rotateX(calc(var(--stage-x,0deg) + var(--tilt-x,0deg))) rotateY(calc(var(--stage-y,0deg) + var(--tilt-y,0deg))) scale(var(--scene-scale,1));filter:drop-shadow(0 28px 30px #0009);transition:transform .6s cubic-bezier(.16,1,.3,1)}.signal-detail{position:absolute;z-index:3;right:1%;top:71%;width:27%;margin:0;overflow:hidden;border-radius:12px;background:#fff;color:var(--ink);box-shadow:0 20px 38px #0007;transform:translateY(var(--detail-shift,0px)) rotate(4deg);transition:transform .6s cubic-bezier(.16,1,.3,1)}.detail-viewport{position:relative;overflow:hidden;aspect-ratio:2.8;background:#fff}.detail-viewport img{position:absolute;width:190%;max-width:none;height:auto;left:-75%;top:-45%;display:block}.signal-detail figcaption{padding:8px 14px;font-size:.65rem;line-height:1.3;border-top:1px solid var(--rule)}.product-region[data-story=measure] .detail-viewport img{width:210%;left:-72%;top:-135%}.product-region[data-story=adjust] .detail-viewport img{width:210%;left:-110%;top:-15%}.detail-viewport .outgoing-screen{z-index:1;pointer-events:none}
.product-story-controls{position:relative;z-index:4;max-width:650px;margin:34px auto 0}.product-view-controls{display:flex;gap:0;margin:0 auto;max-width:490px;padding:5px;background:#ffffff14;border-radius:30px;justify-content:center}.product-view-controls button{display:flex;align-items:center;justify-content:center;gap:10px;flex:1;width:auto;min-height:46px;padding:8px 20px;border:0;border-radius:24px;color:#d7e5f5;font-size:.85rem;white-space:nowrap;transition:background .25s,color .25s}.product-view-controls button:hover{background:#ffffff1c}.product-view-controls button[aria-pressed=true]{background:#fff;color:var(--ink)}.product-region :focus-visible{outline-color:var(--signal)}.story-index{font-size:.65rem;font-variant-numeric:tabular-nums;opacity:.8}.hero-caption{font-size:.8rem;line-height:1.4;text-align:center;min-height:2.8em;max-width:58ch;margin:20px auto 0;color:#d7e5f5}.hero-error{margin:0;text-align:center}.product-meta{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px 28px;margin:18px auto 0;text-align:center}.product-meta .product-link{font-size:.85rem;gap:14px}.product-meta .app-status{font-size:.7rem;line-height:1.4;max-width:none;margin:0;color:#c5d6eb}.story-note{width:100%;font-size:.65rem;line-height:1.4;color:#c5d6eb;margin:2px 0 0}
.section-space{padding-left:max(4%,calc((100vw - 1280px)/2));padding-right:max(4%,calc((100vw - 1280px)/2))}.product-details{display:block;padding-top:115px;padding-bottom:100px}.product-story{display:block;text-align:center;max-width:970px;margin:0 auto 64px}.product-story h2{font-size:clamp(2.7rem,4.4vw,3.7rem);line-height:1.04;letter-spacing:-.02em;max-width:100%;margin:0 0 28px;text-wrap:balance}.product-story h2 br{display:none}.product-story>p{font-size:1rem;line-height:1.5;max-width:66ch;margin:18px auto}.product-story>.text-link{font-size:.85rem;justify-content:center}.product-story>.release-note{font-size:.7rem;max-width:65ch;margin-top:16px}.product-story>.subtle{font-size:.85rem;max-width:68ch}
.product-explorer{display:grid;grid-template-columns:27% 1fr;gap:4%;align-items:start}.screen-controls{display:flex;flex-direction:column;gap:0;margin:0;border:0;min-width:0}.screen-controls button{position:relative;display:grid;grid-template-columns:1fr 22px;gap:14px 12px;text-align:left;padding:25px 20px 25px 0;border:0;border-top:1px solid var(--rule);background:transparent;color:var(--muted);font-size:1.1rem;font-weight:600;line-height:1.2;white-space:normal;transition:color .25s}.screen-controls button svg{width:22px;height:22px;align-self:start;transition:transform .25s}.screen-controls button small{grid-column:1/-1;font-size:.8rem;font-weight:400;line-height:1.4;max-width:28ch}.screen-controls button[aria-pressed=true]{color:var(--action);border-bottom:0}.screen-controls button[aria-pressed=true] svg{transform:translateX(5px)}.screen-controls button:hover{color:var(--ink)}.gallery-viewer{min-width:0}.screen-stage{aspect-ratio:2622/1206;overflow:hidden;position:relative;border-radius:12px;background:#e6edf5;box-shadow:0 24px 46px #0e14241a}.screen-stage>img{display:block;width:100%;height:100%;object-fit:contain}.gallery-caption{display:flex;justify-content:space-between;align-items:start;gap:20px;margin-top:24px}.screen-caption{font-size:.75rem!important;line-height:1.45!important;max-width:54ch!important;margin:0!important}
.expertise-section{background:var(--panel);color:#fff;display:grid;grid-template-columns:42% 1fr;gap:10%;padding-top:100px;padding-bottom:110px;align-items:start}.expertise-intro{display:block;position:sticky;top:130px}.expertise-intro h2{font-size:clamp(2.5rem,4vw,3.5rem);line-height:1.05;max-width:15ch;margin:0 0 28px;text-wrap:balance}.expertise-intro p{color:var(--on-panel);font-size:.95rem;max-width:43ch;line-height:1.5;margin-bottom:24px}.expertise-intro .text-link{color:var(--signal);font-size:.8rem}.expertise-list{display:block;margin:0}.service-disclosure{border-top:1px solid #bfccd647}.service-disclosure:last-child{border-bottom:1px solid #bfccd647}.service-disclosure summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:28px;cursor:pointer;padding:27px 0}.service-disclosure summary::-webkit-details-marker{display:none}.service-disclosure summary h3{font-size:1.4rem;font-weight:600;line-height:1.2;margin:0}.service-disclosure summary>svg{width:25px;height:25px;flex:none;color:var(--signal);transition:transform .25s}.service-disclosure[open] summary>svg{transform:rotate(45deg)}.service-description{padding:0 50px 30px 0}.service-description p{font-size:.9rem;line-height:1.5;color:var(--on-panel);max-width:48ch;margin:0 0 22px}.service-description .text-link{font-size:.8rem;color:var(--signal)}.expertise-section :focus-visible{outline-color:var(--signal)}
.process-section{display:block;background:var(--paper);color:var(--ink);padding-top:100px;padding-bottom:100px}.process-intro{display:flex;align-items:end;justify-content:space-between;gap:10%}.process-intro h2{font-size:clamp(2.5rem,4vw,3.5rem);line-height:1.05;max-width:18ch;margin:0;flex:1;text-wrap:balance}.process-intro>p{font-size:.95rem;line-height:1.5;max-width:38ch;margin:0;flex:1;color:var(--muted)}.process-explorer{margin-top:55px}.process-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:40px}.process-tabs button{display:flex;align-items:baseline;flex-direction:row;gap:20px;padding:12px 0 22px;color:var(--muted);border-bottom:1px solid var(--rule);font-size:1rem}.process-tabs button[aria-selected=true]{color:var(--action);border-color:var(--action)}.process-tabs button:hover{color:var(--ink)}.step-number{font-size:2.4rem;line-height:1;font-weight:400;color:inherit}.process-description{display:grid;grid-template-columns:36% 1fr;gap:0 12%;padding-top:38px;min-height:0}.process-description h3{grid-row:1/3;font-size:1.6rem;line-height:1.2;max-width:22ch;margin:0}.process-description>p{font-size:.95rem;line-height:1.5;color:var(--muted);max-width:55ch;margin:0}.process-description .process-output{font-size:.8rem;color:var(--action);margin:24px 0 0;justify-self:start}
.studio-section{background:var(--blue);color:#fff;display:grid;grid-template-columns:48% 1fr;gap:10%;align-items:center;padding-top:100px;padding-bottom:105px}.studio-section h2{font-size:clamp(2.8rem,4.6vw,4rem);line-height:1.04;letter-spacing:-.02em;margin:0;max-width:16ch;text-wrap:balance}.studio-section>div{display:block;margin:0;max-width:none}.studio-section .studio-statement{font-size:1.35rem!important;line-height:1.35!important;color:#fff!important;margin:0 0 26px}.studio-section>div>p:last-child{font-size:.9rem;line-height:1.5;color:#dceafe;margin:0}
.contact-section{padding-top:105px;padding-bottom:105px;gap:10%;align-items:start}.contact-section h2{font-size:clamp(2.5rem,4vw,3.5rem);line-height:1.05;max-width:15ch;margin-bottom:24px}.contact-intro>p{font-size:.95rem;max-width:43ch;line-height:1.5}.contact-email{font-size:1.15rem;gap:16px}.copy-email{font-size:.7rem}.contact-form{font-size:.85rem}.form-field label{font-size:.8rem}.form-field input,.form-field textarea{font-size:.85rem;border-radius:10px}.form-submit{font-size:.85rem;min-height:48px}.site-footer{max-width:1440px;margin:auto;padding:32px 4%;font-size:.7rem}.site-footer .wordmark{font-size:1.7rem}.site-footer p,.back-top{font-size:.7rem}
@media(min-width:1600px){.introduction{padding-block:70px 72px}.product-region{margin-inline:36px}.product-showcase{max-width:1240px}.product-story-controls{margin-top:44px}}
@media(max-width:1100px){.introduction{padding-top:50px;padding-bottom:52px}.introduction h1,html[lang=pl] .introduction h1{font-size:clamp(3rem,7vw,4.4rem)}.product-region{padding:42px 5% 30px}.product-identity h3,html[lang=pl] .product-identity h3{font-size:2.8rem;max-width:22ch}.signal-detail{width:29%;right:0}.product-showcase{width:100%;aspect-ratio:1.9}.product-story-controls{margin-top:40px}.section-space{padding-inline:5%}.product-details{padding-block:80px}.product-story h2{font-size:3rem}.product-explorer{grid-template-columns:28% 1fr;gap:4%}.screen-controls button{font-size:.95rem;padding-block:20px}.screen-controls button small{font-size:.75rem}.gallery-caption{display:block}.expertise-section{gap:7%;grid-template-columns:43% 1fr;padding-block:80px}.expertise-intro h2,.process-intro h2{font-size:2.7rem}.service-disclosure summary h3{font-size:1.2rem}.process-section{padding-block:80px}.process-tabs{gap:25px}.process-tabs button{flex-direction:column;gap:16px;font-size:.95rem}.studio-section{padding-block:85px;gap:8%}.studio-section h2{font-size:3rem}.contact-section{padding-block:85px;gap:7%}.contact-section h2{font-size:2.7rem}}
@media(max-width:760px){.header-inner{display:grid;grid-template-columns:1fr auto;padding:16px 24px 12px;gap:12px}.site-header .wordmark{font-size:1.6rem}.header-actions{gap:20px;grid-column:2;grid-row:1}.main-nav{grid-column:1/-1;grid-row:2;font-size:.8rem;gap:28px}.contact-action{font-size:.75rem;min-height:36px;padding:4px 16px}.introduction{padding:38px 24px 44px}.introduction h1,html[lang=pl] .introduction h1{font-size:clamp(2.4rem,7.5vw,3.2rem);max-width:100%;line-height:1.03;margin-bottom:22px}.lead-summary>p{font-size:.9rem;max-width:56ch;line-height:1.45}.product-region{margin:0 12px;padding:34px 24px 28px}.product-identity h3,html[lang=pl] .product-identity h3{font-size:2.5rem;max-width:20ch;margin-top:18px}.product-identity h3 br{display:none}.product-showcase{aspect-ratio:1.95;margin-block:20px 0}.signal-detail{width:31%;top:69%}.signal-detail figcaption{font-size:.6rem;padding:6px 10px}.product-story-controls{margin-top:42px}.product-meta{flex-direction:column;gap:14px}.product-meta .app-status{font-size:.7rem}.story-note{font-size:.65rem}.product-details{padding:70px 24px}.product-story{margin-bottom:40px}.product-story h2{font-size:2.7rem;max-width:17ch;margin-inline:auto}.product-story>p{font-size:.9rem}.product-story>.subtle{font-size:.8rem}.product-explorer{display:block}.screen-controls{flex-direction:row;gap:22px;overflow-x:auto;margin-bottom:26px;scrollbar-width:thin;scrollbar-color:#a5b5c9 transparent}.screen-controls button{flex:1;display:block;min-width:135px;padding:12px 0;border-top:0;border-bottom:1px solid var(--rule);font-size:.85rem;line-height:1.3;white-space:normal;text-align:left}.screen-controls button small,.screen-controls button svg{display:none}.screen-controls button[aria-pressed=true]{border-bottom:2px solid var(--action)}.gallery-caption{display:flex;gap:20px}.screen-caption{font-size:.75rem!important}.expertise-section{display:block;padding:70px 24px}.expertise-intro{position:static;margin-bottom:36px}.expertise-intro h2{font-size:2.6rem;max-width:17ch}.expertise-intro p{font-size:.9rem;max-width:60ch}.service-disclosure summary{padding:25px 0}.service-disclosure summary h3{font-size:1.25rem}.service-description{padding-right:15px}.service-description p{font-size:.9rem}.process-section{padding:70px 24px}.process-intro{display:block}.process-intro h2{font-size:2.6rem;max-width:18ch;margin-bottom:24px}.process-intro>p{font-size:.9rem;max-width:60ch}.process-explorer{margin-top:35px}.process-tabs{gap:24px;grid-template-columns:1fr 1fr}.process-tabs button{flex-direction:row;gap:14px;padding-bottom:18px;font-size:.9rem}.step-number{font-size:1.8rem}.process-description{grid-template-columns:34% 1fr;gap:0 8%;padding-top:30px}.process-description h3{font-size:1.3rem}.process-description>p{font-size:.9rem}.studio-section{display:block;padding:70px 24px}.studio-section h2{font-size:2.8rem;max-width:18ch;margin-bottom:35px}.studio-section>div{display:grid;grid-template-columns:1fr 1fr;gap:8%}.studio-section .studio-statement{font-size:1.15rem!important}.studio-section>div>p:last-child{font-size:.85rem}.contact-section{padding:70px 24px;display:block}.contact-section h2{font-size:2.6rem;max-width:18ch}.contact-intro>p{font-size:.9rem;max-width:60ch}.contact-form{margin-top:36px;max-width:none}.site-footer{padding:28px 24px;gap:24px;flex-wrap:wrap}}
@media(max-width:500px){.introduction{padding-top:28px;padding-bottom:38px}.introduction h1,html[lang=pl] .introduction h1{font-size:clamp(2.15rem,10vw,2.75rem);max-width:12ch;line-height:1.02}.lead-summary>p{font-size:.85rem;max-width:39ch;margin-bottom:24px}.hero-actions{gap:12px}.explore-action{font-size:.75rem;min-height:44px;padding-inline:16px;gap:13px}.explore-action svg{width:22px;height:22px}.secondary-action{font-size:.75rem;min-height:44px;padding-inline:16px}.product-region{padding:30px 18px 25px}.product-logo{width:34px;height:34px}.app-heading h2{font-size:1.25rem}.product-identity h3,html[lang=pl] .product-identity h3{font-size:clamp(1.8rem,8vw,2.2rem);line-height:1.05;max-width:15ch;margin:20px auto 8px}.product-showcase{width:112%;margin-left:-6%;aspect-ratio:1.8;margin-top:20px}.device-perspective{width:103%}.signal-detail{width:36%;right:2%;top:71%;border-radius:10px}.signal-detail figcaption{font-size:.55rem;line-height:1.2;padding:6px 8px}.product-story-controls{margin-top:36px}.product-view-controls{max-width:100%;padding:4px}.product-view-controls button{min-height:44px;padding:7px 9px;font-size:.75rem;gap:7px}.story-index{font-size:.6rem}.hero-caption{font-size:.7rem;max-width:36ch;margin-top:18px}.product-meta{margin-top:18px}.product-meta .product-link{font-size:.8rem}.product-meta .app-status{font-size:.65rem;max-width:37ch}.story-note{font-size:.6rem;max-width:40ch}.product-details{padding-top:60px;padding-bottom:60px}.product-story h2{font-size:2.4rem;max-width:15ch}.product-story>p{font-size:.85rem}.product-story>.subtle{font-size:.8rem}.product-story>.text-link{font-size:.75rem}.product-story>.release-note{font-size:.65rem}.screen-controls{gap:18px;margin-bottom:22px}.screen-controls button{min-width:115px;font-size:.8rem}.gallery-caption{display:block;margin-top:20px}.screen-caption{font-size:.75rem!important}.expertise-intro h2,.process-intro h2{font-size:2.4rem}.expertise-section,.process-section,.studio-section,.contact-section{padding-block:60px}.service-disclosure summary h3{font-size:1.15rem}.service-description p{font-size:.85rem}.service-description .text-link{font-size:.75rem}.process-tabs{gap:24px 18px}.process-tabs button{font-size:.85rem;gap:10px}.step-number{font-size:1.6rem}.process-description{display:block}.process-description h3{font-size:1.35rem;max-width:100%;margin-bottom:18px}.process-description>p{font-size:.85rem}.process-description .process-output{font-size:.75rem;margin-top:22px}.studio-section h2{font-size:2.6rem;max-width:17ch;margin-bottom:28px}html[lang=pl] .studio-section h2{font-size:clamp(1.7rem,10vw,2.25rem);max-width:100%}.studio-section>div{display:block}.studio-section .studio-statement{font-size:1.15rem!important;max-width:35ch}.studio-section>div>p:last-child{font-size:.85rem}.contact-section h2{font-size:2.4rem}.contact-intro>p{font-size:.85rem}.form-fields{grid-template-columns:1fr}.form-field input,.form-field textarea{font-size:.85rem}.site-footer{flex-direction:column;align-items:start}.site-footer p{font-size:.65rem}.site-footer .wordmark{font-size:1.6rem}}
@media(max-width:380px){.introduction h1,html[lang=pl] .introduction h1{font-size:2.1rem}.hero-actions{gap:12px}.hero-actions .explore-action{font-size:.7rem;padding-inline:13px;gap:10px}.secondary-action{font-size:.7rem;padding-inline:13px}.product-region{padding-inline:16px}.product-view-controls button{font-size:.7rem;gap:5px}.story-index{font-size:.55rem}.product-identity h3,html[lang=pl] .product-identity h3{font-size:1.8rem}.product-story h2{font-size:2.2rem}.expertise-intro h2,.process-intro h2,.contact-section h2{font-size:2.15rem}.service-disclosure summary h3{font-size:1.05rem}.studio-section h2{font-size:2.3rem}.process-tabs button{font-size:.8rem}.step-number{font-size:1.45rem}}
@media(prefers-reduced-motion:reduce){.device{transform:rotate(-3deg)}.signal-detail{transform:rotate(3deg)}.expertise-intro{position:static}}

/* Wide openings keep the studio proposition on one line so the product arrives sooner. */
@media(min-width:1101px){.introduction h1,html[lang=pl] .introduction h1{font-size:clamp(3rem,5.5vw,4.5rem)}.introduction h1 span{display:inline}}
@media(max-width:760px){.screen-controls{flex-wrap:nowrap}}
/* V3's light process surface uses the action color for selection and focus. */
.process-tabs button[aria-selected=true] .step-number{color:var(--action)}
.process-section :focus-visible{outline-color:var(--action)}

/* Preserve white breathing room around the original Simulatic symbol. */
.product-logo img{width:120%;height:120%;margin-left:-10%;margin-top:-10%}
/* Calibrate the frame aperture to the native 2622×1206 iPhone 16 Pro capture.
   Only the surround changes shape; application pixels retain their original ratio. */
.device{aspect-ratio:1689 / 1002.2109158186864}
.device-frame{width:100%;height:100%;object-fit:fill}
.device-screen{left:7.6376554174%;top:17.2932330827%;width:84.665482534%;height:65.6283566058%}
.device-screen>img{object-fit:contain}
.device-picker{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.device-picker button{min-height:44px;padding:9px 15px;border:1px solid var(--rule);border-radius:10px;background:transparent;color:var(--muted);font-size:.75rem;line-height:1.3}
.device-picker button:hover{border-color:var(--action);color:var(--action)}
.device-picker button[aria-pressed=true]{background:var(--action);color:#fff;border-color:var(--action)}


.screen-stage[data-device=ipad]{aspect-ratio:2752 / 2064}
.screen-stage[data-device=iphone]{aspect-ratio:2622 / 1206}

.demo-section{display:block;padding-top:0;padding-bottom:100px}
.demo-section>div:first-child{display:flex;align-items:end;justify-content:space-between;gap:60px;margin-bottom:34px}
.demo-section h2{font-size:clamp(2.4rem,4vw,3.2rem);line-height:1.06;max-width:17ch;margin:0;text-wrap:balance}
.demo-section>div:first-child>p{font-size:.9rem;line-height:1.5;max-width:45ch;margin:0}
.video-launch{aspect-ratio:16 / 9}
.video-launch>img{width:100%;height:100%;aspect-ratio:16 / 9;object-fit:contain;filter:none}
.video-launch .play-label{inset:auto;bottom:26px;left:26px;gap:10px;min-height:46px;padding:10px 18px;border-radius:24px;background:#fff;color:var(--ink);font-size:.85rem;box-shadow:0 6px 18px #0003}
.video-launch .play-label svg{width:22px;height:22px}
#demo-video{aspect-ratio:16 / 9;object-fit:contain;background:var(--ink)}
@media(max-width:760px){.demo-section{padding:0 24px 70px}.demo-section>div:first-child{display:block;margin-bottom:28px}.demo-section h2{font-size:2.5rem;max-width:20ch;margin-bottom:22px}.demo-section>div:first-child>p{font-size:.85rem;max-width:60ch}.device-picker button{font-size:.7rem;padding:9px 12px}}
@media(max-width:500px){.demo-section h2{font-size:2.2rem}.demo-section{padding-bottom:60px}.video-launch .play-label{bottom:12px;left:12px;font-size:.7rem;padding:9px 13px;min-height:44px}.video-launch .play-label svg{width:18px;height:18px}.device-picker{gap:8px}.device-picker button{font-size:.65rem;padding:9px 10px}}

/* Intrinsic media dimensions must stay responsive below their source width. */
.video-launch>img,#demo-video{height:auto}

/* Keep the Polish service heading intact on narrow phones. */
@media(max-width:500px){html[lang=pl] .expertise-intro h2{font-size:clamp(1.7rem,10vw,2.4rem)}}

/* Store artwork stays unaltered; the inactive iOS badge is explicitly labeled. */
.product-story{margin-bottom:40px}
.store-badges{display:flex;flex-wrap:wrap;align-items:start;justify-content:center;gap:28px;margin:28px auto 0;padding:12px}
.store-option{display:grid;justify-items:center;gap:12px}
.store-badge{display:block;min-height:48px;padding:0;border:0;background:transparent;border-radius:7px}
.store-badge img{display:block;height:48px;width:auto;max-width:none}
.store-placeholder{cursor:not-allowed}

.gallery-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px 20px;margin-bottom:14px}
.gallery-toolbar .device-picker{margin:0}






/* Remove 180px of the iPhone's 212px blank safe-area gutter, preserving every control. */
.screen-stage[data-device=iphone]{aspect-ratio:2622 / 1206}

@media(max-width:500px){.store-badges{gap:28px 24px}.product-story{margin-bottom:30px}.gallery-toolbar{gap:12px}}

@media(max-width:500px){.store-badge{min-height:44px}.store-badge img{height:44px}}

/* A product story, with navigation that recedes behind the app. */
.gallery-toolbar{justify-content:center;position:relative;margin-bottom:16px}
.gallery-toolbar .device-picker{gap:28px;align-items:center}
.gallery-toolbar .device-picker button{position:relative;min-width:60px;min-height:44px;padding:6px 0 10px;border:0;border-radius:0;background:transparent;color:var(--muted);font-size:.8rem;line-height:1.3}
.gallery-toolbar .device-picker button::after{content:"";position:absolute;left:0;right:0;bottom:2px;height:2px;background:var(--action);transform:scaleX(0);transition:transform .3s cubic-bezier(.16,1,.3,1)}
.gallery-toolbar .device-picker button[aria-pressed=true]{background:transparent;color:var(--ink);font-weight:600}
.gallery-toolbar .device-picker button[aria-pressed=true]::after{transform:scaleX(1)}
.gallery-toolbar .device-picker button:hover{color:var(--ink)}
.screen-controls button{grid-template-columns:1fr;transition:color .5s ease}
.screen-controls button[aria-pressed=true]{border-top-color:var(--action)}
.gallery-caption{min-height:2.9em}
.gallery-motion-toggle{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.gallery-motion-toggle:focus-visible{position:relative;width:auto;height:auto;padding:8px 12px;margin:0;overflow:visible;clip-path:none;white-space:normal;background:var(--paper);color:var(--action);font-size:.75rem;text-decoration:underline;text-underline-offset:4px}
@media(max-width:760px){.screen-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible;gap:18px}.screen-controls button{min-width:0;min-height:44px}.gallery-toolbar{margin-bottom:12px}.gallery-toolbar .device-picker button{font-size:.75rem}}

/* Device choices stay responsive while decoded frames swap behind them. */
.device-picker button,.screen-controls button{cursor:pointer}

/* A short, fading circuit grid extends from the two quiet media corners. */
.gallery-media{position:relative;isolation:isolate}
.gallery-media::before,.gallery-media::after{content:"";position:absolute;z-index:-1;width:clamp(110px,28%,220px);height:clamp(90px,20vw,160px);pointer-events:none;background-image:linear-gradient(#2261b22e 1px,transparent 1px),linear-gradient(90deg,#2261b22e 1px,transparent 1px);background-size:18px 18px;mask-image:radial-gradient(ellipse at center,#000 12%,transparent 72%)}
.gallery-media::before{top:-28px;right:-28px}
.gallery-media::after{bottom:-28px;left:-28px}
@media(max-width:760px){.gallery-media::before,.gallery-media::after{background-size:14px 14px}.gallery-media::before{top:-18px;right:-18px}.gallery-media::after{bottom:-18px;left:-18px}}

/* The feature column starts on the image row, below the device choices. */
@media(min-width:761px){.product-explorer{row-gap:0}.product-explorer>.screen-controls{grid-column:1;grid-row:2}.product-explorer>.gallery-toolbar{grid-column:2;grid-row:1}.product-explorer>.gallery-viewer{grid-column:2;grid-row:2}}

/* The approved mobile selector keeps its compact selected surface. */
.feature-description{display:none}
@media(max-width:760px){
 .screen-controls{gap:8px}
 .screen-controls button{min-width:0;min-height:72px;padding:14px 10px;border:0;border-radius:8px;background:transparent;color:var(--ink);text-align:center;transition:background-color .3s ease,color .3s ease}
 .screen-controls button>span{font-size:.8rem;font-weight:600;line-height:1.3}
 .screen-controls button:hover{background:#2261b20a;color:var(--action)}
 .screen-controls button[aria-pressed=true]{background:#2261b212;color:var(--action);border:0}
}
/* Desktop navigation takes its hierarchy from product typography, not tiles. */
@media(min-width:761px){
 .screen-controls{gap:0;align-items:stretch}
 .screen-controls button{display:block;min-height:0;padding:17px 0;border:0;border-radius:0;background:transparent;color:var(--muted);transition:color .25s ease}
 .screen-controls button:first-child{padding-top:0}
 .screen-controls button>span{display:inline-block;padding-bottom:8px;font-size:clamp(1.15rem,2vw,1.6rem);font-weight:600;line-height:1.2;letter-spacing:-.02em;background-image:linear-gradient(var(--action),var(--action));background-size:0 1px;background-position:left bottom;background-repeat:no-repeat;transition:background-size .35s cubic-bezier(.16,1,.3,1)}
 .screen-controls button small{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .screen-controls button:hover,.screen-controls button[aria-pressed=true]{background:transparent;color:var(--ink);border:0}
 .screen-controls button:hover>span,.screen-controls button[aria-pressed=true]>span{background-size:100% 1px}
 .screen-controls .feature-description{display:block;max-width:29ch;margin:25px 0 0;padding:0;font-size:.85rem;line-height:1.55;color:var(--muted)}
}
.screen-controls button:focus-visible{outline:3px solid var(--action);outline-offset:4px}
@media(prefers-reduced-motion:reduce){.screen-controls button,.screen-controls button>span{transition:none}}

/* The selected circuit step moves as one continuous segment. Scroll never selects it. */
.product-view-controls{position:relative;isolation:isolate}
.product-view-controls::before{content:"";position:absolute;z-index:0;top:5px;bottom:5px;left:5px;width:calc((100% - 10px)/3);border-radius:24px;background:#fff;transform:translateX(calc(var(--story-index,0)*100%));transition:transform .42s cubic-bezier(.16,1,.3,1);pointer-events:none}
.product-view-controls button{position:relative;z-index:1;flex:1 1 0;min-width:0;cursor:pointer;transition:color .22s ease}
.product-view-controls button:hover{background:transparent;color:#fff}
.product-view-controls button[aria-pressed=true]{background:transparent;color:var(--ink)}
@media(prefers-reduced-motion:reduce){.product-view-controls::before,.product-view-controls button{transition:none}}

/* A distinct pose for each timed circuit step; scroll adds its existing subtle motion. */
.product-region[data-story=build]{--stage-angle:-5deg;--stage-x:2deg;--stage-y:-3deg}
.product-region[data-story=measure]{--stage-angle:-1deg;--stage-x:0deg;--stage-y:0deg}
.product-region[data-story=adjust]{--stage-angle:3deg;--stage-x:-2deg;--stage-y:3deg}
.hero-motion-toggle:focus-visible{background:var(--ink);color:#fff;outline-color:var(--signal)}

/* Quiet slide position and directional controls, above the image layers. */
.gallery-navigation{position:absolute;top:10px;right:10px;z-index:2;display:flex;align-items:center;gap:0;padding:0 2px;border-radius:999px;background:transparent;color:var(--muted)}
.gallery-navigation button{display:grid;place-items:center;width:44px;height:44px;padding:12px;border:0;border-radius:50%;background:transparent;color:inherit;cursor:pointer;transition:color .2s ease}
.gallery-navigation button:hover{background:transparent;color:var(--action)}
.gallery-navigation button:focus-visible{outline:2px solid var(--action);outline-offset:-3px;color:var(--action)}
.gallery-navigation svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
#gallery-count{min-width:32px;text-align:center;font-size:.6rem;font-weight:500;line-height:1;font-variant-numeric:tabular-nums;white-space:nowrap}
@media(max-width:760px){.gallery-toolbar{justify-content:flex-start}.gallery-toolbar .device-picker{gap:12px}.gallery-navigation{top:-56px;right:0;background:transparent}}
@media(prefers-reduced-motion:reduce){.gallery-navigation button{transition:none}}

@media(prefers-reduced-motion:reduce){.secondary-action{transition:none}}

/* Company identity stays secondary to the studio footer. */
.site-footer{display:block}
.footer-main{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}
.company-details{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;margin:28px 0 0;padding-top:24px;border-top:1px solid var(--rule);font-size:.75rem;line-height:1.5;color:var(--ink);font-weight:500;font-variant-numeric:tabular-nums;align-items:start}
.company-identity{display:flex;flex-direction:column;gap:4px;min-width:0}
.company-identifiers{display:flex;flex-direction:column;gap:4px;text-align:right}
.company-identifiers>div{white-space:nowrap}
.company-label{color:var(--muted);font-weight:400;margin-right:6px}
@media(max-width:760px){.company-details{gap:16px}.company-identifiers{flex-direction:column;gap:4px}}
@media(max-width:500px){.footer-main{align-items:flex-start;flex-direction:column;gap:22px}.company-details{margin-top:26px}}

/* Separate watching the demo from browsing product features. */
.product-meta{gap:16px 28px;margin-top:22px}
.product-meta .product-link{min-height:48px;justify-content:center;border-bottom:0;padding:8px 0;line-height:1.3}
.product-meta #hero-video-link{background:var(--white,#fff);color:var(--ink);border-radius:999px;padding:12px 22px;gap:10px;transition:background .2s ease}
.product-meta #hero-video-link:hover{background:#e6edf5}
.product-meta #hero-video-link svg{width:20px;height:20px;flex:none;transform:none}
.product-meta a[href="#simulatic-details"]{color:#d7e5f5;font-weight:500;gap:10px}
.product-meta a[href="#simulatic-details"] span{text-decoration:underline;text-decoration-color:transparent;text-underline-offset:5px;transition:text-decoration-color .2s ease}
.product-meta a[href="#simulatic-details"]:hover span{text-decoration-color:currentColor}
.product-meta a[href="#simulatic-details"] svg{width:22px;height:22px}
@media(max-width:760px){.product-meta{gap:8px}}
@media(prefers-reduced-motion:reduce){.product-meta #hero-video-link,.product-meta a[href="#simulatic-details"] span{transition:none}}
