/* Cobalt homepage — scoped under body.layout-home so it does not leak into portal/admin. */

body.layout-home{
 --bg:#f3f5f9;--surface:#ffffff;--surface-2:#eaeef5;--line:rgba(11,16,32,.08);--line-2:rgba(11,16,32,.14);
 --text:#0b1020;--muted:#5a6275;--subtle:#8a91a3;
 --cobalt:#2b4dff;--cobalt-ink:#1a34d6;--cobalt-soft:#e2e7ff;--periwinkle:#aab8ff;
 --mint:#1fa971;--mint-soft:#dcf5ea;--amber:#c98a00;--amber-soft:#fbefd2;
 --night:#0b1020;--night-2:#141a2e;--on-night:#eef1fa;--on-night-muted:#9aa3bd;
 --sans:'Geist',system-ui,-apple-system,'Segoe UI',sans-serif;--mono:'Geist Mono',ui-monospace,monospace;
 --r:24px;--shadow:0 1px 1px rgba(11,16,32,.04),0 8px 24px -12px rgba(11,16,32,.12),0 32px 64px -32px rgba(11,16,32,.18);
 --ease:cubic-bezier(.2,.8,.2,1)}
html:has(body.layout-home){margin:0;padding:0;width:100%;max-width:100%;overflow-x:hidden}
body.layout-home *{box-sizing:border-box;margin:0;padding:0}
body.layout-home{margin:0;padding:0;width:100%;max-width:100%;scroll-behavior:smooth;overflow-x:clip}
body.layout-home{background:var(--bg);color:var(--text);font:400 17px/1.55 var(--sans);-webkit-font-smoothing:antialiased;overflow-x:hidden}
body.layout-home a{color:inherit;text-decoration:none}
body.layout-home :focus-visible{outline:2px solid var(--cobalt);outline-offset:3px;border-radius:8px}
body.layout-home .wrap{max-width:1280px;margin:0 auto;padding:0 32px}
body.layout-home h1,body.layout-home h2,body.layout-home h3{font-weight:600;letter-spacing:-.045em;line-height:.98}
body.layout-home p{color:var(--muted)}
body.layout-home .mono{font:500 12px/1 var(--mono);letter-spacing:.02em;text-transform:uppercase;color:var(--subtle)}
body.layout-home .btn{display:inline-flex;align-items:center;gap:10px;height:48px;padding:0 22px;border-radius:999px;font-weight:500;font-size:15px;transition:transform .3s var(--ease),background .3s,box-shadow .3s}
body.layout-home .btn .ic{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.18);transition:transform .3s var(--ease)}
body.layout-home .btn:hover .ic{transform:translateX(3px) rotate(-45deg)}
body.layout-home .btn-primary{background:var(--text);color:#fff;padding-right:12px;box-shadow:0 10px 30px -12px rgba(11,16,32,.6)}
body.layout-home .btn-primary:hover{background:var(--cobalt)}
body.layout-home .btn-ghost{background:var(--surface);box-shadow:inset 0 0 0 1px var(--line-2)}
body.layout-home .btn-ghost:hover{box-shadow:inset 0 0 0 1px var(--text)}

/* ambient background */
body.layout-home .ambient{position:absolute;inset:0 0 auto 0;height:1100px;pointer-events:none;overflow:hidden;z-index:0}
body.layout-home .ambient:before{content:'';position:absolute;width:900px;height:900px;left:50%;top:-420px;transform:translateX(-30%);background:radial-gradient(closest-side,rgba(43,77,255,.16),transparent 70%);filter:blur(10px);animation:drift 18s ease-in-out infinite alternate}
body.layout-home .ambient:after{content:'';position:absolute;inset:0;background-image:linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px);background-size:64px 64px;mask-image:radial-gradient(ellipse 70% 55% at 50% 20%,#000,transparent 75%);opacity:.7}
@keyframes drift{to{transform:translateX(-60%) translateY(60px)}}

/* nav */
body.layout-home .nav{position:fixed;top:16px;left:50%;transform:translateX(-50%);z-index:50;width:min(1100px,calc(100% - 32px));display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 8px 8px 20px;border-radius:999px;background:rgba(255,255,255,.72);backdrop-filter:blur(18px) saturate(1.6);-webkit-backdrop-filter:blur(18px) saturate(1.6);box-shadow:0 0 0 1px var(--line),0 12px 40px -20px rgba(11,16,32,.35)}
body.layout-home .logo{display:flex;align-items:center;gap:9px;font-weight:600;font-size:19px;letter-spacing:-.04em;line-height:1;width:max-content;color:inherit;text-decoration:none}
body.layout-home .logo svg{display:block;flex-shrink:0}.logo-icon{display:block;flex-shrink:0}.logo-icon-bg{fill:#0b1020}.logo-icon-d{fill:#fff}.logo-icon-dot{fill:#2b4dff}.side.dark .logo-icon-bg,.logo-on-dark .logo-icon-bg{fill:#fff}.side.dark .logo-icon-d,.logo-on-dark .logo-icon-d{fill:#0b1020}
body.layout-home .links{display:flex;gap:4px;font-size:14.5px;color:var(--muted)}
body.layout-home .links a{padding:8px 14px;border-radius:999px;transition:.2s}body.layout-home .links a:hover{background:var(--surface-2);color:var(--text)}
body.layout-home .nav-r{display:flex;gap:8px;align-items:center}
body.layout-home .nav-r .zone{font-size:14.5px;padding:0 14px;height:40px;display:flex;align-items:center;gap:8px;color:var(--text);border-radius:999px}
body.layout-home .nav-r .zone:hover{background:var(--surface-2)}
body.layout-home .nav-r .zone i{width:7px;height:7px;border-radius:50%;background:var(--mint);box-shadow:0 0 0 3px var(--mint-soft)}
body.layout-home .nav-r .btn{height:40px;font-size:14px;padding:0 8px 0 16px}
body.layout-home .nav-r .btn .ic{width:24px;height:24px}
body.layout-home .burger{display:none;width:40px;height:40px;border-radius:50%;border:0;background:var(--text);color:#fff;font-size:16px}

/* hero */
body.layout-home .hero{position:relative;padding:144px 0 0}
body.layout-home .hero .wrap{position:relative;z-index:1;container-type:inline-size;container-name:hero}
body.layout-home .status{display:inline-flex;align-items:center;gap:10px;padding:6px 14px 6px 6px;border-radius:999px;background:var(--surface);box-shadow:inset 0 0 0 1px var(--line);font-size:14px;color:var(--muted)}
body.layout-home .status b{font-weight:500;color:var(--cobalt);background:var(--cobalt-soft);padding:3px 10px;border-radius:999px;font-size:12.5px}
body.layout-home .hero h1{font-size:clamp(50px,9.47cqw,136px);margin-top:26px;letter-spacing:-.055em;line-height:.94}
body.layout-home .chip{display:inline-flex;vertical-align:middle;align-items:center;gap:8px;height:.66em;padding:0 .14em 0 .1em;margin:0 .04em;border-radius:999px;background:var(--surface);box-shadow:var(--shadow),inset 0 0 0 1px var(--line);transform:translateY(-.06em)}
body.layout-home .chip .av{display:flex}body.layout-home .chip .av span{width:.44em;height:.44em;border-radius:50%;border:3px solid #fff;margin-left:-.12em;background:linear-gradient(135deg,#c9d2ff,#6f86ff)}
body.layout-home .chip .av span:first-child{margin-left:0;background:linear-gradient(135deg,#1b2140,#3d4a80)}body.layout-home .chip .av span:nth-child(3){background:linear-gradient(135deg,#bfeedd,#1fa971)}
body.layout-home .chip.code{background:var(--night);color:var(--on-night);font:500 .26em/1 var(--mono);letter-spacing:0;padding:0 .5em;gap:.4em}
body.layout-home .chip.code em{font-style:normal;color:var(--periwinkle)}
body.layout-home .hl{background:linear-gradient(100deg,var(--cobalt) 10%,#7d8fff 90%);-webkit-background-clip:text;background-clip:text;color:transparent;padding-right:.04em}
body.layout-home .hero-row{display:grid;grid-template-columns:1fr auto;gap:40px;align-items:end;margin-top:36px}
body.layout-home .hero-row p{max-width:460px;font-size:19px;color:var(--muted)}
body.layout-home .hero-row .ctas{display:flex;gap:10px;flex-wrap:wrap}

/* product stage */
body.layout-home .stage{position:relative;margin-top:72px;perspective:1800px}
body.layout-home .window{position:relative;border-radius:28px;background:var(--surface);box-shadow:0 0 0 1px var(--line),0 50px 100px -40px rgba(11,16,32,.45),0 30px 60px -30px rgba(43,77,255,.25);transform:rotateX(14deg) scale(.98);transform-origin:50% 0;overflow:hidden;-webkit-mask-image:linear-gradient(#000 55%,transparent 96%);mask-image:linear-gradient(#000 55%,transparent 96%);animation:settle 1.4s var(--ease) .2s both}
@keyframes settle{from{transform:rotateX(26deg) translateY(40px) scale(.94);opacity:0}to{transform:rotateX(14deg) scale(.98);opacity:1}}
body.layout-home .win-bar{display:flex;align-items:center;gap:8px;padding:14px 18px;border-bottom:1px solid var(--line)}
body.layout-home .win-bar i{width:11px;height:11px;border-radius:50%;background:var(--surface-2)}
body.layout-home .win-bar .url{margin:0 auto;font:400 12.5px var(--mono);color:var(--subtle);background:var(--bg);padding:6px 16px;border-radius:999px}
body.layout-home .app{display:grid;grid-template-columns:220px 1fr 300px;min-height:430px}
body.layout-home .side{border-right:1px solid var(--line);padding:20px 14px;display:flex;flex-direction:column;gap:4px;font-size:14px;color:var(--muted)}
body.layout-home .side .me{display:flex;gap:10px;align-items:center;padding:6px 8px 18px;color:var(--text);font-weight:500}
body.layout-home .side .me span{width:30px;height:30px;border-radius:10px;background:linear-gradient(135deg,#1b2140,#3d4a80)}
body.layout-home .side a{padding:9px 10px;border-radius:10px;display:flex;justify-content:space-between}
body.layout-home .side a.on{background:var(--cobalt-soft);color:var(--cobalt-ink);font-weight:500}
body.layout-home .side a small{font:500 11px var(--mono);background:var(--surface-2);padding:2px 7px;border-radius:999px}
body.layout-home .main{padding:26px 28px;display:flex;flex-direction:column;gap:18px}
body.layout-home .main h3{font-size:24px;letter-spacing:-.03em}
body.layout-home .kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
body.layout-home .kpi{border-radius:16px;background:var(--bg);padding:16px}
body.layout-home .kpi b{display:block;font-size:26px;font-weight:600;letter-spacing:-.04em;margin-top:6px}
body.layout-home .kpi .up{color:var(--mint);font:500 12px var(--mono)}
body.layout-home .chart{flex:1;border-radius:16px;background:var(--bg);padding:16px;position:relative;min-height:150px}
body.layout-home .chart svg{position:absolute;inset:40px 16px 12px}
body.layout-home .panel-r{border-left:1px solid var(--line);padding:22px 20px;display:flex;flex-direction:column;gap:12px}
body.layout-home .task{border-radius:14px;box-shadow:inset 0 0 0 1px var(--line);padding:13px 14px;font-size:14px}
body.layout-home .task .mono{font-size:10.5px}
body.layout-home .task p{color:var(--text);font-weight:500;margin-top:6px;line-height:1.35}
body.layout-home .tag{display:inline-flex;font:500 11px var(--mono);padding:3px 8px;border-radius:999px;margin-top:8px}
body.layout-home .t-ok{background:var(--mint-soft);color:#11744c}body.layout-home .t-prog{background:var(--cobalt-soft);color:var(--cobalt-ink)}body.layout-home .t-wait{background:var(--amber-soft);color:#8a5d00}
body.layout-home .float{position:absolute;z-index:3;border-radius:18px;background:rgba(255,255,255,.82);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:var(--shadow),inset 0 0 0 1px rgba(255,255,255,.6);padding:14px 16px;font-size:14px;animation:bob 6s ease-in-out infinite}
body.layout-home .float b{display:block;font-weight:600;letter-spacing:-.02em;font-size:15px}
body.layout-home .f1{left:-36px;top:330px}body.layout-home .f2{right:-24px;top:40px;animation-delay:-3s}
body.layout-home .f1 .dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--mint);margin-right:6px}
@keyframes bob{50%{transform:translateY(-10px)}}
body.layout-home .fade{position:absolute;left:-40px;right:-40px;bottom:-2px;height:240px;background:linear-gradient(rgba(243,245,249,0),var(--bg) 85%);z-index:10;pointer-events:none}

/* marquee — full-bleed viewport width, readable type, fade only at edges */
body.layout-home .marquee{contain:paint;position:relative;z-index:11;left:0;right:0;width:100%;max-width:none;box-sizing:border-box;margin:20px 0 0;overflow:hidden;padding:28px 0;background:transparent;-webkit-mask-image:linear-gradient(90deg,transparent,#000 48px,#000 calc(100% - 48px),transparent);mask-image:linear-gradient(90deg,transparent,#000 48px,#000 calc(100% - 48px),transparent)}
body.layout-home .track{display:flex;align-items:center;gap:64px;width:max-content;animation:scroll 40s linear infinite;font-weight:650;font-size:24px;line-height:1.4;letter-spacing:0;color:#0b1020}
body.layout-home .track span{display:flex;align-items:center;gap:12px;white-space:nowrap;color:inherit;line-height:1.4}
body.layout-home .track span:before{content:'';width:8px;height:8px;border-radius:2px;background:currentColor;opacity:.7;transform:rotate(45deg);flex:none}
@keyframes scroll{to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){
  body.layout-home .marquee{-webkit-mask-image:none;mask-image:none}
  body.layout-home .track{animation:none!important;flex-wrap:wrap;justify-content:center;width:100%;max-width:none;gap:12px 40px;padding:0 32px}
  body.layout-home .track span:nth-child(n+10){display:none}
}
@media (max-width:720px){
  body.layout-home .track{font-size:20px;gap:40px}
  body.layout-home .marquee{-webkit-mask-image:linear-gradient(90deg,transparent,#000 32px,#000 calc(100% - 32px),transparent);mask-image:linear-gradient(90deg,transparent,#000 32px,#000 calc(100% - 32px),transparent)}
}

/* sections */
body.layout-home .sec{padding:140px 0;position:relative}
body.layout-home .sec-head{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:end;margin-bottom:56px}
body.layout-home .sec-head h2{font-size:clamp(40px,5.4vw,80px)}
body.layout-home .sec-head p{font-size:19px;max-width:440px;justify-self:end}
body.layout-home .sec-head .mono{display:block;margin-bottom:22px;color:var(--cobalt)}

/* bento */
body.layout-home .bento{display:grid;grid-template-columns:repeat(6,1fr);grid-auto-rows:minmax(240px,auto);gap:16px}
body.layout-home .cell{position:relative;border-radius:var(--r);background:var(--surface);box-shadow:0 0 0 1px var(--line);padding:28px;overflow:hidden;display:flex;flex-direction:column;transition:transform .5s var(--ease),box-shadow .5s var(--ease)}
body.layout-home .cell:hover{transform:translateY(-4px);box-shadow:0 0 0 1px var(--line-2),var(--shadow)}
body.layout-home .cell:before{content:'';position:absolute;inset:0;background:radial-gradient(400px circle at var(--mx,50%) var(--my,0%),rgba(43,77,255,.07),transparent 60%);opacity:0;transition:opacity .4s;pointer-events:none}
body.layout-home .cell:hover:before{opacity:1}
body.layout-home .cell h3{font-size:30px;letter-spacing:-.04em;line-height:1.05;max-width:16ch}
body.layout-home .cell p{margin-top:10px;font-size:15.5px;max-width:42ch}
body.layout-home .cell .price{margin-top:auto;padding-top:22px;display:flex;justify-content:space-between;align-items:center;font-size:14px;color:var(--muted)}
body.layout-home .cell .price b{color:var(--text);font-weight:600}
body.layout-home .go{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:var(--bg);transition:.4s var(--ease)}
body.layout-home .cell:hover .go{background:var(--text);color:#fff;transform:rotate(-45deg)}
body.layout-home .c-web{grid-column:span 4;grid-row:span 2}
body.layout-home .c-app{grid-column:span 2;grid-row:span 2;background:var(--night);color:var(--on-night);box-shadow:none}
body.layout-home .c-app p,body.layout-home .c-app .price{color:var(--on-night-muted)}body.layout-home .c-app .price b{color:#fff}body.layout-home .c-app .go{background:var(--night-2);color:#fff}
body.layout-home .c-host{grid-column:span 3}body.layout-home .c-care{grid-column:span 3}
body.layout-home .c-web .preview{margin-top:28px;flex:1;min-height:260px;border-radius:18px;background:linear-gradient(180deg,var(--bg),#e6ebf6);position:relative;overflow:hidden}
body.layout-home .pv-card{position:absolute;border-radius:14px;background:#fff;box-shadow:var(--shadow)}
body.layout-home .pv-a{left:6%;top:14%;width:56%;height:120%;padding:18px}
body.layout-home .pv-a .bar{height:10px;border-radius:5px;background:var(--surface-2);margin-bottom:10px}
body.layout-home .pv-a .hero-b{height:90px;border-radius:10px;background:linear-gradient(135deg,var(--night),#28356b);margin:14px 0}
body.layout-home .pv-a .grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px}body.layout-home .pv-a .grid i{height:56px;border-radius:8px;background:var(--surface-2)}
body.layout-home .pv-b{right:6%;top:24%;width:30%;padding:16px;font-size:13px}
body.layout-home .pv-b b{display:block;font-size:30px;letter-spacing:-.04em;margin-top:4px}
body.layout-home .pv-c{right:10%;bottom:10%;width:26%;padding:14px;font-size:12.5px;display:flex;gap:10px;align-items:center}
body.layout-home .pv-c span{width:30px;height:30px;border-radius:9px;background:var(--cobalt-soft);display:grid;place-items:center;color:var(--cobalt);font-weight:700}
body.layout-home .code{margin-top:26px;flex:1;border-radius:16px;background:var(--night-2);padding:18px;font:400 13px/1.75 var(--mono);color:var(--on-night-muted);box-shadow:inset 0 0 0 1px rgba(255,255,255,.06)}
body.layout-home .code .k{color:var(--periwinkle)}body.layout-home .code .s{color:#9fe0c3}body.layout-home .code .c{color:#5e6886}
body.layout-home .uptime{display:flex;gap:3px;margin-top:20px;height:34px;align-items:end}
body.layout-home .uptime i{flex:1;border-radius:3px;background:var(--mint);opacity:.85;height:100%}body.layout-home .uptime i.d{background:var(--amber);height:60%}
body.layout-home .up-meta{display:flex;justify-content:space-between;font:500 12px var(--mono);color:var(--subtle);margin-top:8px}
body.layout-home .domain{margin-top:20px;display:flex;align-items:center;gap:8px;padding:6px 6px 6px 16px;border-radius:999px;background:var(--bg);box-shadow:inset 0 0 0 1px var(--line);font-size:15px}
body.layout-home .domain span{flex:1}body.layout-home .domain em{font-style:normal;font:500 12px var(--mono);color:#11744c;background:var(--mint-soft);padding:6px 10px;border-radius:999px}


/* process timeline — Cobalt stepper, shared visual for úvod i /proces */
body.layout-home .proc-inner{position:relative}
body.layout-home .proc-head{max-width:820px;margin:0 0 64px}
body.layout-home .proc-eyebrow{display:block;font:500 12px/1.4 var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--cobalt);margin-bottom:18px}
body.layout-home .proc-head h2{font-size:clamp(40px,5.4vw,76px);letter-spacing:-.05em;line-height:.98;font-weight:600}
body.layout-home .proc-head p{margin-top:22px;font-size:19px;line-height:1.55;color:var(--muted);max-width:540px}
body.layout-home .proc-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:0 28px;position:relative}
body.layout-home .proc-steps:before{content:"";position:absolute;top:22px;left:calc(12.5% + 6px);right:calc(12.5% + 6px);height:1px;background:linear-gradient(90deg,var(--cobalt),rgba(43,77,255,.18) 55%,var(--line-2));pointer-events:none;z-index:0}
body.layout-home .proc-step{display:flex;flex-direction:column;align-items:flex-start;min-width:0;position:relative}
body.layout-home .proc-marker{display:flex;align-items:center;justify-content:center;width:100%;margin-bottom:28px;position:relative;z-index:1}
body.layout-home .proc-num{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:var(--night);color:#fff;font:500 13px/1 var(--mono);letter-spacing:.02em;box-shadow:0 0 0 8px var(--bg),0 0 0 9px rgba(11,16,32,.08),0 0 0 16px rgba(43,77,255,.08)}
body.layout-home .proc-step:first-child .proc-num{background:var(--cobalt);box-shadow:0 0 0 8px var(--bg),0 0 0 9px rgba(43,77,255,.16),0 10px 24px -8px rgba(43,77,255,.55)}
body.layout-home .proc-body{display:flex;flex-direction:column;align-items:flex-start;width:100%;padding-top:2px}
body.layout-home .proc-kicker{display:block;font:500 11px/1.3 var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--subtle);margin-bottom:12px}
body.layout-home .proc-body h3{font-size:clamp(22px,1.8vw,28px);letter-spacing:-.04em;line-height:1.15;font-weight:600;color:var(--text)}
body.layout-home .proc-body p{margin-top:10px;font-size:15.5px;line-height:1.55;color:var(--muted);max-width:32ch}

/* work */
body.layout-home .work{display:grid;grid-template-columns:repeat(12,1fr);gap:16px}
body.layout-home .case{position:relative;border-radius:var(--r);overflow:hidden;min-height:440px;color:#fff;display:flex;flex-direction:column;justify-content:flex-end;padding:28px;isolation:isolate}
body.layout-home .case .bg{position:absolute;inset:0;z-index:-1;transition:transform 1s var(--ease)}
body.layout-home .case:hover .bg{transform:scale(1.04)}
body.layout-home .case:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,transparent 45%,rgba(6,9,20,.75))}
body.layout-home .case h3{font-size:34px;letter-spacing:-.045em}
body.layout-home .case p{color:rgba(255,255,255,.75);font-size:15px;margin-top:4px}
body.layout-home .case .meta{display:flex;gap:6px;margin-bottom:auto}
body.layout-home .case .meta span{font:500 11.5px var(--mono);padding:5px 10px;border-radius:999px;background:rgba(255,255,255,.16);backdrop-filter:blur(8px)}
body.layout-home .k1{grid-column:span 7}body.layout-home .k2{grid-column:span 5}body.layout-home .k3{grid-column:span 5}body.layout-home .k4{grid-column:span 7}
body.layout-home .k1 .bg{background:radial-gradient(120% 90% at 80% 10%,#4a64ff,#1a2350 55%,#0b1020)}
body.layout-home .k2 .bg{background:radial-gradient(120% 90% at 20% 0%,#9fb0ff,#4b5fd6 50%,#1d2565)}
body.layout-home .k3 .bg{background:radial-gradient(120% 90% at 70% 0%,#7fd8b4,#1f7d5a 55%,#0d2b22)}
body.layout-home .k4 .bg{background:radial-gradient(120% 90% at 30% 10%,#5a6382,#232a44 55%,#0b1020)}
body.layout-home .device{position:absolute;right:28px;top:72px;width:58%;aspect-ratio:16/10;border-radius:14px;background:rgba(255,255,255,.92);box-shadow:0 40px 80px -30px rgba(0,0,0,.6);transform:rotate(-3deg);transition:transform .8s var(--ease);overflow:hidden;padding:12px}
body.layout-home .case:hover .device{transform:rotate(0) translateY(-6px)}
body.layout-home .device i{display:block;height:8px;border-radius:4px;background:#e4e8f2;margin-bottom:8px}
body.layout-home .device .blk{height:46%;border-radius:8px;background:linear-gradient(135deg,#0b1020,#2b4dff);margin:10px 0}
body.layout-home .k2 .device,body.layout-home .k3 .device{width:70%;right:50%;transform:translateX(50%) rotate(2deg)}body.layout-home .k2:hover .device,body.layout-home .k3:hover .device{transform:translateX(50%) translateY(-6px)}

/* cta */
body.layout-home .cta{position:relative;border-radius:36px;background:var(--night);color:var(--on-night);padding:96px 72px;overflow:hidden;isolation:isolate}
body.layout-home .cta:before{content:'';position:absolute;inset:-40%;z-index:-1;background:conic-gradient(from 200deg at 70% 40%,transparent,rgba(43,77,255,.45),transparent 30%,rgba(170,184,255,.25),transparent 60%);filter:blur(60px);animation:spin 24s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
body.layout-home .cta h2{font-size:clamp(44px,7vw,108px);max-width:11ch}
body.layout-home .cta-row{display:grid;grid-template-columns:1fr auto;gap:40px;align-items:end;margin-top:40px}
body.layout-home .cta p{color:var(--on-night-muted);font-size:19px;max-width:460px}
body.layout-home .cta .btn-primary{background:#fff;color:var(--text)}body.layout-home .cta .btn-primary .ic{background:var(--cobalt);color:#fff}body.layout-home .cta .btn-primary:hover{background:var(--cobalt-soft)}
body.layout-home .cta .btn-ghost{background:rgba(255,255,255,.06);color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)}
body.layout-home .contacts{display:flex;gap:28px;margin-top:56px;padding-top:28px;border-top:1px solid rgba(255,255,255,.1);flex-wrap:wrap;font-size:15px;color:var(--on-night-muted)}
body.layout-home .contacts b{display:block;color:#fff;font-weight:500;font-size:17px;margin-top:4px}

body.layout-home footer{padding:80px 0 40px}
body.layout-home .fgrid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:32px;font-size:15px}
body.layout-home .fgrid h4{font:500 12px var(--mono);text-transform:uppercase;color:var(--subtle);margin-bottom:16px}
body.layout-home .fgrid div:not(:first-child) a{display:block;color:var(--muted);margin-bottom:10px}body.layout-home .fgrid a:hover{color:var(--text)}
body.layout-home .wordmark-wrap{container-type:inline-size;width:100%;overflow:visible;margin-top:64px}body.layout-home .wordmark{font-weight:700;letter-spacing:-.06em;font-size:20.6cqw;line-height:.92;margin:0;padding:.06em 0 .14em;overflow:visible;white-space:nowrap;background:linear-gradient(180deg,#c9cfdb 8%,rgba(201,207,219,0) 100%);-webkit-background-clip:text;background-clip:text;color:transparent;user-select:none}
body.layout-home .fbot{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;font-size:13.5px;color:var(--subtle);margin-top:12px}

/* reveal is enhancement only: content is visible without JS and if IO never fires.
   html.js .rv stays visible (opacity 1). When .in is added, a short animation may run. */
body.layout-home .rv{opacity:1;transform:none}
@media (prefers-reduced-motion:no-preference){
  html.js body.layout-home .rv.in{animation:home-rv .7s var(--ease)}
}
@keyframes home-rv{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){body.layout-home *{animation:none!important;transition:none!important}body.layout-home .rv{opacity:1;transform:none}}

@media(max-width:1000px){
 body.layout-home .wrap{padding:0 20px}body.layout-home .links,body.layout-home .nav-r .zone{display:none}body.layout-home .burger{display:block}body.layout-home .nav-r .btn{display:none}
 body.layout-home .hero{padding-top:128px}body.layout-home .hero-row,body.layout-home .sec-head,body.layout-home .cta-row{grid-template-columns:1fr}body.layout-home .sec-head p{justify-self:start}
 body.layout-home .chip.code{display:none}
 body.layout-home .stage{margin-top:48px}body.layout-home .window{transform:none;animation:none}body.layout-home .app{grid-template-columns:1fr}body.layout-home .side,body.layout-home .panel-r{display:none}body.layout-home .kpis{grid-template-columns:1fr 1fr}body.layout-home .kpi .up{font-size:11px}body.layout-home .kpis .kpi:last-child{display:none}
 body.layout-home .f1{display:none}body.layout-home .f2{display:none}
 body.layout-home .bento{grid-template-columns:1fr}body.layout-home .bento .cell{grid-column:auto;grid-row:auto}body.layout-home .c-web .preview{min-height:220px}body.layout-home .pv-c{display:none}body.layout-home .pv-a{width:62%}body.layout-home .pv-b{width:34%}
 body.layout-home .work{grid-template-columns:1fr}body.layout-home .work .case{grid-column:auto;min-height:380px}body.layout-home .device{width:78%!important;right:50%!important;transform:translateX(50%) rotate(-2deg)!important}
 body.layout-home .sec{padding:96px 0}
 body.layout-home .cta{padding:56px 24px;border-radius:28px}body.layout-home .fgrid{grid-template-columns:1fr 1fr}
}

/* homepage extras: skip, cookie, toast, mobile menu, VAT line */
body.layout-home .skip{position:fixed;top:-100px;left:20px;z-index:100;background:var(--cobalt);color:#fff;padding:10px 14px;border-radius:999px}
body.layout-home .skip:focus{top:16px}
body.layout-home .hidden{display:none!important}
body.layout-home .toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);padding:14px 23px;max-width:90%;background:var(--night);color:#fff;border-radius:14px;z-index:100;font-size:14px}
body.layout-home .cookie{position:fixed;left:20px;right:auto;bottom:20px;transform:none;width:min(360px,calc(100vw - 40px));max-width:360px;padding:14px 16px;display:flex;flex-direction:column;align-items:flex-start;gap:10px;flex-wrap:nowrap;background:var(--surface);box-shadow:0 10px 32px rgba(11,16,32,.14);border:1px solid var(--line);border-radius:18px;z-index:35}
body.layout-home .cookie b{font-size:13px;letter-spacing:-.02em;white-space:normal}
body.layout-home .cookie p{font-size:13px;margin:0;color:var(--muted)}
body.layout-home .cookie .row{display:flex;gap:8px;margin:0;flex-shrink:0}
body.layout-home:has(#cookie:not(.hidden)) .hero{padding-bottom:240px;min-height:100vh;max-height:100vh;overflow:hidden;box-sizing:border-box}
@media (max-width:720px){
  body.layout-home .cookie{left:0;right:0;bottom:0;width:100%;max-width:none;padding:10px 16px;gap:8px 12px;flex-direction:row;flex-wrap:wrap;align-items:center;border-radius:16px 16px 0 0;box-shadow:0 -8px 24px rgba(11,16,32,.12)}
  body.layout-home .cookie p{display:none}
  body.layout-home .cookie b{flex:1 1 auto;min-width:0;font-size:12.5px}
  body.layout-home .cookie .row{margin-left:auto;flex-shrink:0}
  body.layout-home:has(#cookie:not(.hidden)) .hero{padding-bottom:72px;min-height:100vh;max-height:100vh;overflow:hidden;box-sizing:border-box}
  body.layout-home:has(#cookie:not(.hidden)) .stage{margin-top:16px}
}
body.layout-home header.nav.is-open{z-index:60}
body.layout-home .mobile-menu{display:none}
@media(max-width:1000px){
  body.layout-home header.nav.is-open{border-radius:28px;flex-wrap:wrap;align-items:flex-start}
  body.layout-home header.nav.is-open .mobile-menu{display:flex;flex-direction:column;gap:4px;width:100%;padding:8px 12px 16px;font-size:16px}
  body.layout-home header.nav.is-open .mobile-menu a{padding:10px 12px;border-radius:12px;color:var(--muted)}
  body.layout-home header.nav.is-open .mobile-menu a:hover{background:var(--surface-2);color:var(--text)}
  body.layout-home .fbot .vat{display:block;width:100%;margin-top:4px}
}
body.layout-home .vat{color:var(--subtle)}

/* kalkulačka na úvodu — stejná karta jako na /kalkulacka */
body.layout-home .calculator{background:var(--surface);border:1px solid var(--line);padding:44px;border-radius:24px;display:grid;grid-template-columns:1.4fr 1fr;gap:48px;box-shadow:var(--shadow)}
body.layout-home .calc-label,body.layout-home .calc-sec > summary.calc-label{display:block;font:500 12px var(--mono);color:var(--subtle);letter-spacing:.08em;text-transform:uppercase;margin:32px 0 12px}
body.layout-home .calc-form > .calc-label:first-child{margin-top:0}
body.layout-home #calcPagesBlock{margin-top:8px}
body.layout-home .choices{display:flex;flex-wrap:wrap;gap:8px}
body.layout-home .choice{border:1px solid var(--line-2);background:var(--surface);border-radius:999px;padding:10px 16px;font-size:14px;cursor:pointer;font-family:inherit;color:var(--text)}
body.layout-home .choice.active,body.layout-home .choice[aria-pressed=true]{background:var(--cobalt);border-color:var(--cobalt);color:#fff}
body.layout-home .check-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;font-size:14px}
body.layout-home .check{display:flex;gap:10px;align-items:flex-start;font-size:14px}
body.layout-home .check b{display:block;font-weight:600}
body.layout-home .check small{display:block;color:var(--muted);font-size:12px;margin-top:2px}
body.layout-home .calc-pages input{width:120px;border:1px solid var(--line-2);border-radius:12px;padding:10px 12px;font:inherit}
body.layout-home .calc-hint{margin:8px 0 0;font-size:13px;color:var(--muted)}
body.layout-home .estimate{padding-left:8px;position:sticky;top:120px;align-self:start}
body.layout-home .estimate .price{font-size:clamp(28px,3vw,42px);font-weight:700;letter-spacing:-.03em;margin:12px 0 6px}
body.layout-home .estimate .tag,body.layout-home .tag{display:inline-flex;align-items:center;border-radius:999px;padding:4px 10px;font-size:12px;background:var(--cobalt-soft);color:var(--cobalt-ink)}
body.layout-home .calc-note{margin-top:22px;color:var(--muted);font-size:14px}
body.layout-home .textbtn{background:none;border:0;padding:0;font:inherit;color:var(--cobalt-ink);cursor:pointer;margin-top:15px}
body.layout-home .estimate .btn{margin-top:22px}
@media(max-width:900px){
  body.layout-home .calculator{grid-template-columns:1fr;padding:24px;gap:28px}
  body.layout-home .check-grid{grid-template-columns:1fr}
  body.layout-home .estimate{position:static}
}

body.layout-home .calc-sec{margin-top:28px;padding:18px 18px 14px;border:1px solid var(--line);border-radius:20px;background:var(--bg)}
body.layout-home .calc-sec > .calc-label,body.layout-home .calc-sec > summary.calc-label{margin-top:0;margin-bottom:12px}
body.layout-home .calc-sec > summary.calc-label{cursor:pointer;list-style:none;display:flex;align-items:center;gap:10px}
body.layout-home .calc-sec > summary.calc-label::-webkit-details-marker{display:none}
body.layout-home .calc-sec > summary.calc-label:before{content:'';width:7px;height:7px;border-right:2px solid var(--subtle);border-bottom:2px solid var(--subtle);transform:rotate(-45deg);flex:none;transition:transform .2s}
body.layout-home .calc-sec[open] > summary.calc-label:before{transform:rotate(45deg)}
body.layout-home .calc-addon-list{display:grid;gap:8px}
body.layout-home .calc-addon{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid var(--line);border-radius:16px;background:var(--bg)}
body.layout-home .calc-addon.is-on{border-color:rgba(43,77,255,.35);background:var(--cobalt-soft)}
body.layout-home .calc-addon .check{flex:1;margin:0;align-items:flex-start}
body.layout-home .calc-addon .check span{display:flex;flex-direction:column;gap:2px}
body.layout-home .calc-addon .check b{font-weight:600;letter-spacing:-.02em}
body.layout-home .calc-addon .check small{display:block;color:var(--muted);font-weight:400;font-size:13px}
body.layout-home .calc-addon-price{color:var(--text)!important;font-weight:500}
body.layout-home .calc-stepper[hidden]{display:none!important}
body.layout-home .calc-stepper{display:flex;align-items:center;gap:6px;flex-shrink:0;margin-top:2px}
body.layout-home .calc-stepper button{width:32px;height:32px;border-radius:10px;border:1px solid var(--line-2);background:#fff;font-size:18px;line-height:1;cursor:pointer}
body.layout-home .calc-stepper input{width:56px;height:32px;border:1px solid var(--line-2);border-radius:10px;text-align:center;font:inherit}
body.layout-home .calc-stepper span{font-size:12px;color:var(--muted);white-space:nowrap}
body.layout-home .calc-totals{display:grid;gap:16px;margin:12px 0 6px}
body.layout-home .calc-total-label{display:block;font:500 12px var(--mono);color:var(--subtle);letter-spacing:.08em;text-transform:uppercase}
body.layout-home .estimate .price{font-size:clamp(28px,3vw,42px);font-weight:700;letter-spacing:-.03em;margin:4px 0 0}
body.layout-home .estimate .price-month{font-size:clamp(22px,2.4vw,32px)}
body.layout-home .calc-included,body.layout-home #calcIncludedNote{margin:8px 0 0}
@media(max-width:800px){
  body.layout-home .calculator{grid-template-columns:1fr;padding:24px;gap:28px}
  body.layout-home .calc-addon{flex-direction:column}
}
@media (max-width:900px){
  body.layout-home .proc-head{margin-bottom:40px}
  body.layout-home .proc-head h2{font-size:clamp(34px,8vw,56px)}
  body.layout-home .proc-head p{font-size:17px;margin-top:16px}
  body.layout-home .proc-steps{grid-template-columns:1fr;gap:0}
  body.layout-home .proc-steps:before{left:22px;right:auto;top:22px;bottom:22px;width:1px;height:auto;background:linear-gradient(180deg,var(--cobalt),rgba(43,77,255,.16) 40%,var(--line-2))}
  body.layout-home .proc-step{display:grid;grid-template-columns:44px 1fr;gap:0 18px;align-items:start;padding-bottom:36px}
  body.layout-home .proc-step:last-child{padding-bottom:0}
  body.layout-home .proc-marker{width:44px;margin:0 0 0;justify-content:center}
  body.layout-home .proc-num{box-shadow:0 0 0 6px var(--bg),0 0 0 7px rgba(11,16,32,.08)}
  body.layout-home .proc-step:first-child .proc-num{box-shadow:0 0 0 6px var(--bg),0 0 0 7px rgba(43,77,255,.2)}
  body.layout-home .proc-body h3{font-size:22px}
  body.layout-home .proc-body p{font-size:15px;max-width:none}
}

body.layout-home .case .bg.photo{
  background-size:cover;
  background-position:top center;
}
body.layout-home .case .bg.photo:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(11,16,32,.15) 0%,rgba(11,16,32,.55) 55%,rgba(11,16,32,.92) 100%);
}
