/* Společný vzhled statických telefonů a interaktivních ukázek. */
.kp .feature-showcase .fs-hero{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:64px;align-items:center;padding-top:64px;padding-bottom:64px}
.kp .feature-showcase .fs-visual{margin:0;min-width:0;text-align:center;position:relative}
.kp .feature-showcase .fs-visual-stage{position:relative;isolation:isolate;display:flex;justify-content:center;align-items:center;width:100%;max-width:520px;aspect-ratio:3/4;margin:0 auto;perspective:1400px}
.kp .feature-showcase .fs-visual-stage::before{content:"";position:absolute;z-index:-1;width:92%;aspect-ratio:1;border-radius:50%;background:#e9e7e2;top:15%}
.kp .feature-showcase .fs-phone-shell{position:relative;width:66%;padding:7px;border:2px solid #85878a;border-radius:46px;background:#101113;transform:rotateY(-14deg) rotateZ(5deg);box-shadow:1px 0 0 #d9dade,3px 0 0 #64666b,6px 1px 0 #24262a,8px 2px 0 #929499,9px 2px 0 #35373b,18px 24px 28px -14px rgba(18,28,40,.35),36px 44px 54px -28px rgba(18,28,40,.25),inset 0 0 0 1px #46484c}
.kp .feature-showcase .fs-phone-shell::before,.kp .feature-showcase .fs-phone-shell::after{content:"";position:absolute;width:3px;border-radius:2px;background:linear-gradient(90deg,#35363a,#9b9da2,#4a4c50);left:-5px}
.kp .feature-showcase .fs-phone-shell::before{top:19%;height:6%;box-shadow:0 49px 0 #626469}
.kp .feature-showcase .fs-phone-shell::after{left:auto;right:-10px;top:25%;height:10%}
.kp .feature-showcase .fs-phone-back{position:absolute;z-index:1;width:51%;left:4%;top:5%;transform:rotateY(-10deg) rotateZ(-9deg)}
.kp .feature-showcase .fs-phone-front{position:absolute;z-index:2;width:54%;right:4%;top:11%}
.kp .feature-showcase .fs-phone-display{position:relative;overflow:hidden;border-radius:36px;background:#fff;box-shadow:0 0 0 1px #000}
.kp .feature-showcase .fs-phone{display:block;width:100%;height:auto}
.kp .feature-showcase .fs-phone-island{position:absolute;top:2%;left:50%;transform:translateX(-50%);width:28%;height:3.6%;border-radius:30px;background:#08090b;box-shadow:inset 0 1px 2px #242529}
.kp .feature-showcase .fs-phone-island::after{content:"";position:absolute;right:9%;top:30%;height:40%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle at 35% 35%,#263a54,#0d1420 55%,#06070a 75%);box-shadow:0 0 0 2px #111216}
.kp .feature-showcase .fs-visual figcaption{margin-top:4px;font-size:14px;color:var(--text-secondary)}
.kp .feature-showcase .fs-demo-link{display:inline-flex;align-items:center;gap:12px;margin-top:12px;font-size:14px;font-weight:700;color:var(--red);text-underline-offset:5px}
.kp .feature-showcase .fs-demo-link:hover{text-decoration:underline}
.kp .feature-showcase .fs-demo-link:focus-visible{outline:2px solid var(--red);outline-offset:6px;border-radius:2px}
.kp .feature-showcase .fs-playground{padding-bottom:0;scroll-margin-top:90px}
.kp .feature-showcase .fs-demo-stage{max-width:980px;margin:0 auto;padding:40px;background:var(--bg-light);border-radius:28px}
.kp .feature-showcase .fs-demo-interactive{outline:none}
.kp .feature-showcase .fs-complete{position:fixed;inset:0;margin:auto;width:min(480px,calc(100vw - 40px));max-height:calc(100dvh - 40px);overflow:auto;padding:60px 36px 40px;border:0;border-radius:24px;background:#fff;color:var(--text-primary);text-align:center;box-shadow:0 24px 80px rgba(0,0,0,.2)}
.kp .feature-showcase .fs-complete::backdrop{background:rgba(20,24,30,.36);backdrop-filter:blur(4px)}
.kp .feature-showcase .fs-complete h3{font-size:30px;line-height:1.15;letter-spacing:-.025em;text-wrap:balance;margin:0 0 18px}
.kp .feature-showcase .fs-complete p{font-size:16px;line-height:1.6;color:var(--text-secondary);margin:0 0 28px;text-wrap:balance}
.kp .feature-showcase .fs-complete .btn{max-width:100%;white-space:normal}
.kp .feature-showcase .fs-complete-close{position:absolute;top:12px;right:12px;width:40px;height:40px;display:grid;place-items:center;border:0;border-radius:50%;background:transparent;color:var(--text-secondary);cursor:pointer}
.kp .feature-showcase .fs-complete-close:hover{background:var(--bg-light);color:var(--text-primary)}
.kp .feature-showcase .fs-complete-close:focus-visible{outline:2px solid var(--red);outline-offset:2px}
.kp .feature-showcase .fs-demo-stage .demo.ph.wide{width:100%;max-width:704px;margin:0 auto;display:grid;grid-template-columns:minmax(0,340px) 300px;grid-template-rows:max-content max-content 1fr;column-gap:64px;row-gap:24px;align-items:start}
.kp .feature-showcase .fs-demo-stage .demo-h{align-self:start;padding:0}
.kp .feature-showcase .fs-demo-stage .demo-h .lbl{font-size:18px;letter-spacing:0;text-transform:none;color:var(--text-primary)}
.kp .feature-showcase .fs-demo-stage .demo.ph.wide .demo-h .seg2{max-width:280px}
.kp .feature-showcase .fs-demo-stage .demo.ph.wide .ctl{align-self:start;position:static;padding:0}
.kp .feature-showcase .fs-demo-stage .stp small{font-size:14px;line-height:1.55;text-wrap:pretty}
.kp .feature-showcase .rz-count{white-space:nowrap}
.kp .feature-showcase .fs-demo-stage .stp > div{min-width:0}
.kp .feature-showcase .fs-demo-stage .stp .mini{margin-top:14px}
.kp .feature-showcase .fs-demo-stage .stp button{white-space:normal;line-height:1.4}
.kp .feature-showcase .fs-demo-stage [id$="S"]{align-self:start}
.kp .feature-showcase .fs-walkthrough > .sec:last-child{padding-top:64px}
@media(max-width:980px){
  .kp .feature-showcase .fs-hero{gap:32px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .kp .feature-showcase .fs-demo-stage{padding:32px}
  .kp .feature-showcase .fs-demo-stage .demo.ph.wide{column-gap:32px}
}
@media(max-width:760px){
  .kp .feature-showcase .fs-hero{grid-template-columns:1fr;gap:24px;padding-top:40px;padding-bottom:40px}
  .kp .feature-showcase .fs-hero > .stack{display:contents}
  .kp .feature-showcase .fs-hero > .stack > *{order:5}
  .kp .feature-showcase .fs-hero > .stack > h1{order:0}
  .kp .feature-showcase .fs-hero > .stack > .lead{order:1}
  .kp .feature-showcase .fs-hero > .stack > .row{order:2}
  .kp .feature-showcase .fs-visual{order:3}
  .kp .feature-showcase .fs-visual{width:100%;max-width:400px;margin:0 auto}
  .kp .feature-showcase .fs-visual-stage{max-width:400px}
  .kp .feature-showcase .fs-phone-shell{border-radius:28px;padding:5px}
  .kp .feature-showcase .fs-phone-display{border-radius:21px}
  .kp .feature-showcase .fs-demo-stage{padding:24px 16px;border-radius:20px}
  .kp .feature-showcase .fs-demo-stage .demo.ph.wide{display:flex;flex-direction:column;max-width:340px;gap:20px}
  .kp .feature-showcase .fs-demo-stage .demo-h{width:100%;align-self:stretch;flex-direction:column;align-items:stretch}
  .kp .feature-showcase .fs-demo-stage .ctl{width:100%;order:1}
  .kp .feature-showcase .fs-demo-stage [id$="S"]{order:2}
  .kp .feature-showcase .fs-walkthrough > .sec:last-child{padding-top:40px}
}

@media(min-width:761px){
.kp .feature-showcase .fs-demo-stage .demo.ph.wide>.demo-h{grid-row:1}
.kp .feature-showcase .fs-demo-stage .demo.ph.wide>.ctl{grid-row:2}
.kp .feature-showcase .fs-demo-stage .demo.ph.wide>[id$="S"]{grid-row:1/4}
}

/* Obsah posunutý pod pevnou hlavičkou aplikace; rámeček telefonu se nemění. */
.kp .feature-showcase .fs-phone-scrolled > .fs-phone{transform:translateY(var(--screen-offset));clip-path:inset(0 0 var(--screen-footer) 0)}
.kp .feature-showcase .fs-phone-fixed{position:absolute;inset:0;display:block;width:100%;height:100%;pointer-events:none}
.kp .feature-showcase .fs-phone-fixed-top{clip-path:inset(0 0 calc(100% - var(--screen-header)) 0)}
.kp .feature-showcase .fs-phone-fixed-bottom{clip-path:inset(calc(100% - var(--screen-footer)) 0 0 0)}

/* Samostatný telefon nebo skutečný webový náhled u funkcí bez dvojice aplikace/Wallet. */
.kp .feature-showcase .fs-visual-single .fs-phone-shell{width:60%;transform:rotateY(-12deg) rotateZ(4deg)}
.kp .feature-showcase .fs-stage-browser,.kp .feature-showcase .fs-stage-card{aspect-ratio:auto;min-height:420px}
.kp .feature-showcase .fs-stage-browser::before,.kp .feature-showcase .fs-stage-card::before{top:0}
.kp .feature-showcase .fs-browser-shell{position:relative;width:100%;border:1px solid #ccc;border-radius:14px;background:white;overflow:hidden;transform:perspective(1200px) rotateY(-6deg) rotateZ(2deg);box-shadow:15px 24px 48px -25px #29324266}
.kp .feature-showcase .fs-browser-bar{display:flex;align-items:center;gap:5px;height:30px;padding:0 12px;background:#f0f0f1;border-bottom:1px solid #ddd}
.kp .feature-showcase .fs-browser-bar i{width:6px;height:6px;background:#bbb;border-radius:50%}
.kp .feature-showcase .fs-browser-bar span{margin:auto;font-size:10px;color:#777;padding-right:28px}
.kp .feature-showcase .fs-card-shell{position:relative;width:92%;transform:rotate(-5deg);filter:drop-shadow(15px 25px 18px #29324233)}
.kp .feature-showcase .fs-card-display{border-radius:18px;overflow:hidden}
.kp .feature-showcase .fs-demo-stage.fs-demo-gallery{max-width:1160px;padding:32px}
.kp .feature-showcase .fs-demo-gallery > *{max-width:100%;min-width:0}
@media(max-width:760px){
  .kp .feature-showcase .fs-stage-browser,.kp .feature-showcase .fs-stage-card{min-height:280px}
  .kp .feature-showcase .fs-demo-stage.fs-demo-gallery{padding:20px 12px}
}

/* Ovládání tvoří jeden sloupec: žádný krok neposouvá jeho horní okraj. */
.kp .ow-controls{display:contents}
@media(min-width:761px){
.kp .feature-showcase .fs-demo-stage .demo.ph.wide[data-demo="objweb"]{grid-template-rows:auto;align-items:start}
.kp .feature-showcase .fs-demo-stage [data-demo="objweb"] .ow-controls{display:flex;flex-direction:column;gap:24px;grid-column:1;grid-row:1;min-width:0;align-self:start}
.kp .feature-showcase .fs-demo-stage [data-demo="objweb"] .ow-controls>.demo-h,
.kp .feature-showcase .fs-demo-stage [data-demo="objweb"] .ow-controls>.ctl{width:100%;align-self:stretch}
.kp .feature-showcase .fs-demo-stage .demo.ph.wide[data-demo="objweb"] #owS{grid-row:1;align-self:start}
}
