@font-face{font-family:'Host Grotesk';font-style:normal;font-weight:400 600;font-display:swap;src:url(/assets/fonts/host-grotesk-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Host Grotesk';font-style:normal;font-weight:400 600;font-display:swap;src:url(/assets/fonts/host-grotesk-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 700;font-display:swap;src:url(/assets/fonts/inter-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 700;font-display:swap;src:url(/assets/fonts/inter-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400 600;font-display:swap;src:url(/assets/fonts/jetbrains-mono-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400 600;font-display:swap;src:url(/assets/fonts/jetbrains-mono-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
/* =====================================================================
   MyBoard web. Vizuální jazyk rodiny MyWebdesign.cz: noc, švestka,
   lila papír a jediný teplý akcent amber. Display Host Grotesk,
   text Inter, technické popisky JetBrains Mono.
   ===================================================================== */
:root {
	--night: #110B2B;
	--plum: #1C1545;
	--plum-2: #2A1F60;
	--violet: #3B2D83;
	--violet-2: #6753AE;
	--lavender: #B4A8E6;
	--amber: #F59E0B;
	--amber-2: #FBB52E;
	--green: #22A06B;
	--green-l: #4ADE80;
	--red: #E5484D;

	--bg: #F4F2F9;
	--bg-2: #EAE6F4;
	--card: #FFFFFF;
	--card-2: #F7F5FC;
	--text: #1C1545;
	--muted: #5A527C;
	--line: rgba(59, 45, 131, .16);
	--line-2: rgba(59, 45, 131, .28);
	--em: #6753AE;
	--shadow: 0 30px 60px -34px rgba(28, 21, 69, .38);
	--chip: rgba(103, 83, 174, .1);
	--chip-t: #4A3A9A;

	--f-display: "Host Grotesk", "Inter", "Segoe UI", system-ui, sans-serif;
	--f-sans: "Inter", "Segoe UI", system-ui, sans-serif;
	--f-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

	--wrap: 1240px;
	--gutter: clamp(18px, 4vw, 48px);
	--r: 10px;
	--hdr: 72px;
	--ease: cubic-bezier(.2, .7, .1, 1);
	color-scheme: light;
}
/* Tmavé plochy jen přelaďují proměnné, komponenty zůstávají stejné. */
.hero, .phero, .band--night, .band--dark, .hdr:not(.is-solid), .hdr.is-menu, .menu {
	--text: #F1EEF9;
	--muted: #ACA4D0;
	--line: rgba(241, 238, 249, .14);
	--line-2: rgba(241, 238, 249, .26);
	--em: var(--amber);
	--card: rgba(255, 255, 255, .045);
	--card-2: rgba(255, 255, 255, .07);
	--chip: rgba(180, 168, 230, .14);
	--chip-t: var(--amber);
	color: var(--text);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 12px); }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 400 17px/1.6 var(--f-sans);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
@media (max-width: 767.98px) { body { font-size: 16px; } }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--amber); color: var(--plum); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--amber); color: var(--plum); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.mono { font-family: var(--f-mono); font-size: .82em; letter-spacing: 0; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.band { position: relative; padding-block: clamp(64px, 10vw, 136px); }
.band--paper-2 { background: var(--bg-2); }
.band--night { --band-bg: var(--night); background: var(--night); overflow-x: clip; }
.band--dark { background: var(--plum); }
.band--tight { padding-block: clamp(48px, 7vw, 96px); }

/* ---- Typografie ------------------------------------------------------ */
.h2 {
	font-family: var(--f-display);
	font-size: clamp(34px, 4.6vw, 62px);
	font-weight: 500;
	line-height: 1.03;
	letter-spacing: -.04em;
	text-wrap: balance;
}
.h2 span { color: var(--em); }
.h3 { margin: 0 0 8px; font-size: 19px; font-weight: 600; line-height: 1.3; letter-spacing: -.015em; }
.lede { color: var(--muted); max-width: 520px; font-size: 17px; }
.kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; font-size: 14.5px; font-weight: 500; color: var(--muted); }
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--amber); flex: none; }
.head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px 72px; align-items: end; margin-bottom: clamp(36px, 6vw, 80px); }
@media (max-width: 991.98px) { .head { grid-template-columns: minmax(0, 1fr); } }
.prose p + p { margin-top: 1em; }
.prose p { color: var(--muted); }
.prose strong { color: var(--text); font-weight: 600; }

/* ---- Tlačítka -------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 15px 24px; border: 1px solid transparent; border-radius: 999px;
	font: 500 16px/1.1 var(--f-sans); text-decoration: none; white-space: nowrap; cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn .ic { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .ic--arrow { transform: translateX(4px); }
.btn:active { transform: scale(.98); }
.btn--amber { background: var(--amber); color: var(--plum); }
.btn--amber:hover { background: var(--amber-2); }
.btn--line { color: var(--text); border-color: var(--line-2); }
.btn--line:hover { border-color: var(--amber); color: var(--amber); }
.btn--violet { background: var(--violet); color: #fff; }
.btn--violet:hover { background: var(--plum-2); }
.btn--sm { padding: 11px 18px; font-size: 14.5px; }
.more { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 3px; border-bottom: 1px solid currentColor; font-weight: 500; text-decoration: none; white-space: nowrap; }
.more .ic { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.more:hover { color: var(--em); }
.more:hover .ic { transform: translateX(4px); }

/* ---- Hlavička -------------------------------------------------------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hdr); transition: background-color .3s, box-shadow .3s, backdrop-filter .3s; }
.hdr.is-solid { background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.hdr.is-menu { background: var(--night); box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.hdr__in { display: flex; align-items: center; gap: 28px; height: 100%; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.logo__mark { width: 32px; height: 32px; transition: transform .4s var(--ease); }
.logo:hover .logo__mark { transform: rotate(-8deg) scale(1.05); }
.logo__word { font: 600 21px/1 var(--f-display); letter-spacing: -.03em; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand__by { position: relative; padding-left: 12px; font-size: 13px; line-height: 1.2; color: var(--muted); text-decoration: none; white-space: nowrap; transition: color .2s; }
.brand__by::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 22px; margin-top: -11px; background: var(--line-2); }
.brand__by b { font-weight: 600; color: var(--text); transition: color .2s; }
.brand__by:hover, .brand__by:hover b { color: var(--amber); }
@media (max-width: 1199.98px) and (min-width: 992px) { .hdr__nav a { padding-inline: 10px; } .hdr__nav { margin-left: 0; } }
@media (max-width: 420px) { .brand { gap: 9px; } .brand__by { padding-left: 9px; font-size: 12px; } .brand__by b { display: block; } }
.hdr__nav { margin-left: 18px; }
.hdr__nav ul { display: flex; gap: 4px; list-style: none; padding: 0; margin: 0; }
.hdr__nav a { position: relative; display: block; padding: 10px 14px; font-size: 15px; font-weight: 500; color: var(--muted); text-decoration: none; transition: color .2s; }
.hdr__nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.hdr__nav a:hover, .hdr__nav a[aria-current] { color: var(--text); }
.hdr__nav a:hover::after, .hdr__nav a[aria-current]::after { transform: none; }
.hdr__act { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.burger { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line-2); border-radius: 50%; background: none; cursor: pointer; transition: border-color .2s, color .2s, transform .3s var(--ease); }
.burger:hover { border-color: var(--amber); color: var(--amber); }
.burger .ic { width: 19px; height: 19px; }
.burger { display: none; }
.burger__close, .burger[aria-expanded="true"] .burger__open { display: none; }
.burger[aria-expanded="true"] .burger__close { display: block; }
@media (max-width: 991.98px) {
	.hdr__nav { display: none; }
	.burger { display: grid; }
}
@media (max-width: 575.98px) { .hdr__cta { display: none; } }
.menu { position: fixed; inset: var(--hdr) 0 0; background: var(--night); overflow-y: auto; padding: 24px 0 40px; animation: menu-in .35s var(--ease); }
.menu[hidden] { display: none; }
.menu ul { list-style: none; padding: 0; margin: 0 0 28px; }
.menu li a { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); font: 500 28px/1.1 var(--f-display); letter-spacing: -.03em; text-decoration: none; }
.menu li a[aria-current] { color: var(--amber); }
.menu li .ic { width: 22px; height: 22px; color: var(--amber); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
body.menu-open { overflow: hidden; }

/* ---- Hero ------------------------------------------------------------ */
.hero {
	position: relative; isolation: isolate; overflow: hidden;
	padding: calc(var(--hdr) + clamp(36px, 7vh, 96px)) 0 clamp(48px, 7vw, 96px);
	background: radial-gradient(120% 90% at 82% 0%, #33277A 0%, var(--plum) 52%, var(--night) 100%);
}
.hero__glow { position: absolute; z-index: -1; right: -10%; top: 10%; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; border-radius: 50%; background: radial-gradient(circle, rgba(103, 83, 174, .45), transparent 65%); filter: blur(10px); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(241, 238, 249, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(241, 238, 249, .04) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(80% 70% at 70% 30%, #000, transparent 75%); -webkit-mask-image: radial-gradient(80% 70% at 70% 30%, #000, transparent 75%); pointer-events: none; }
.hero__grid { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (max-width: 1099.98px) { .hero__grid { grid-template-columns: minmax(0, 1fr); } .hero__copy { max-width: 720px; } .hero__vis { width: 100%; max-width: 720px; justify-self: center; } }
.hero__title { margin: 0 0 clamp(22px, 3.4vh, 34px); font-family: var(--f-display); font-size: clamp(42px, 5.4vw, 80px); font-weight: 500; line-height: 1.02; letter-spacing: -.05em; text-wrap: balance; }
.hero__title > span { display: block; animation: rise .9s var(--ease) both; }
.hero__title > span:nth-child(2) { animation-delay: .07s; }
.hero__title > span:nth-child(3) { animation-delay: .14s; }
.hero__em { color: var(--amber); }
.hero__lede { max-width: 540px; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.55; color: var(--muted); }
.hero__lede strong { color: var(--text); font-weight: 600; }
.kicker a { color: var(--text); text-decoration-color: var(--amber); text-underline-offset: 4px; }
.kicker a:hover { color: var(--amber); }
.hero__note { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 9px 16px 9px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, .05); font-size: 15px; color: var(--text); }
.hero__note .ic { width: 20px; height: 20px; color: var(--amber); }
.hero__note a { font-weight: 600; color: var(--amber); text-underline-offset: 3px; }
.hero__note.rise { animation-delay: .26s; }
.hero__act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(26px, 4vh, 38px); }
.rise { animation: rise .9s .22s var(--ease) both; }
.hero__act.rise { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.hero__vis { position: relative; animation: rise 1s .3s var(--ease) both; }
@media (min-width: 1100px) { .hero__vis { margin-right: calc(-1 * min(24px, var(--gutter) / 2)); } }

/* ---- Mozek v hero ---------------------------------------------------- */
.mind__defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.mind { position: relative; container-type: inline-size; --hot: #FBB52E; }
.mind__stage { display: grid; grid-template-areas: "in" "svgm" "out" "svgc" "ok" "info"; }
.mind__svg { display: block; width: 100%; height: auto; overflow: visible; }
.mind__svg--d { display: none; }
.mind__svg--m { grid-area: svgm; margin-top: -2px; }
.mind__svg--c { grid-area: svgc; }
.mind__in, .mind__out { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.mind__in { grid-area: in; }
.mind__out { grid-area: out; }
.mind__i--cal { order: -1; }
.mind__btn { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; padding: 4px 2px; border: 0; background: none; color: var(--text); font: 600 12px/1.2 var(--f-sans); text-align: center; cursor: pointer; border-radius: 12px; transition: opacity .3s, color .2s; }
.mind__ic { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(180, 168, 230, .38); border-radius: 50%; background: #1E1650; color: var(--lavender); box-shadow: 0 10px 24px -14px #000; transition: background-color .3s, color .3s, border-color .3s, transform .4s var(--ease), box-shadow .3s; }
.mind__ic .ic { width: 21px; height: 21px; }
.mind__out .mind__ic { border-radius: 12px; }
.mind__long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mind__btn:hover .mind__ic, .mind__btn:focus-visible .mind__ic, .is-hot > .mind__btn .mind__ic { border-color: var(--hot); background: var(--hot); color: var(--plum); transform: translateY(-2px) scale(1.06); box-shadow: 0 0 0 6px rgba(251, 181, 46, .16), 0 14px 30px -14px rgba(251, 181, 46, .7); }
.mind__btn[aria-pressed="true"] .mind__ic { box-shadow: 0 0 0 3px var(--plum), 0 0 0 5px var(--hot); }
.mind__btn:focus-visible { outline: none; }
.mind__btn:focus-visible .mind__l { outline: 2px solid var(--hot); outline-offset: 3px; border-radius: 4px; }
.mind__ok { grid-area: ok; justify-self: center; display: inline-flex; align-items: center; gap: 8px; margin-top: 2px; padding: 10px 22px; border-radius: 999px; background: #157A4C; color: #fff; font: 700 15.5px/1.2 var(--f-sans); box-shadow: 0 0 0 0 rgba(74, 222, 128, .45), 0 18px 40px -18px rgba(34, 160, 107, .9); animation: ok-pulse 5s ease-out infinite; animation-delay: 4.4s; }
.mind__ok .ic { width: 18px; height: 18px; stroke-width: 2.6; }
@keyframes ok-pulse { 0%, 82% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0), 0 18px 40px -18px rgba(34, 160, 107, .9); } 88% { box-shadow: 0 0 0 7px rgba(74, 222, 128, .28), 0 18px 40px -18px rgba(34, 160, 107, .9); } 100% { box-shadow: 0 0 0 14px rgba(74, 222, 128, 0), 0 18px 40px -18px rgba(34, 160, 107, .9); } }
.mind__info { grid-area: info; min-height: 4.4em; margin: 16px auto 0; max-width: 440px; font-size: 14px; line-height: 1.45; text-align: center; color: var(--muted); }
.mind__info b { color: var(--hot); font-weight: 600; }

/* Vodiče a impulzy (pathLength=100, jeden cyklus 5 s, fáze podle trasy) */
.mw { fill: none; stroke: rgba(196, 184, 244, .6); stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease) calc(var(--o, 0) * .14s), stroke .3s, stroke-width .3s, opacity .3s; }
.mw-g--tr .mw { stroke: #FBB52E; stroke-width: 2.6; opacity: .92; }
.mw-g--amb .mw { opacity: .55; }
.mp { fill: none; stroke: #FFE3A3; stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 6 94; stroke-dashoffset: 6; opacity: 0; animation: 5s linear infinite both; animation-delay: calc(var(--o, 0) * 1s); }
.mw-g--tr .mp { stroke: #FFFFFF; stroke-width: 4; }
.mp--a { animation-name: mp-a; }
.mp--b { animation-name: mp-b; }
.mp--c { animation-name: mp-c; }
.mp--d { animation-name: mp-d; }
.mp--e { animation-name: mp-e; }
.mw-g--amb .mp { animation-duration: 3.4s; animation-name: mp-a; }
@keyframes mp-a { 0% { stroke-dashoffset: 6; opacity: 1; } 34% { stroke-dashoffset: -94; opacity: 1; } 34.1%, 100% { stroke-dashoffset: -94; opacity: 0; } }
@keyframes mp-b { 0%, 34% { stroke-dashoffset: 6; opacity: 0; } 34.1% { opacity: 1; } 56% { stroke-dashoffset: -94; opacity: 1; } 56.1%, 100% { stroke-dashoffset: -94; opacity: 0; } }
@keyframes mp-c { 0%, 56% { stroke-dashoffset: 6; opacity: 0; } 56.1% { opacity: 1; } 66% { stroke-dashoffset: -94; opacity: 1; } 66.1%, 100% { stroke-dashoffset: -94; opacity: 0; } }
@keyframes mp-d { 0%, 66% { stroke-dashoffset: 6; opacity: 0; } 66.1% { opacity: 1; } 86% { stroke-dashoffset: -94; opacity: 1; } 86.1%, 100% { stroke-dashoffset: -94; opacity: 0; } }
@keyframes mp-e { 0%, 86% { stroke-dashoffset: 6; opacity: 0; } 86.1% { opacity: 1; } 99.9% { stroke-dashoffset: -94; opacity: 1; } 100% { opacity: 0; } }
.mind__node { fill: #FBB52E; transform-box: fill-box; transform-origin: center; animation: node-hit 5s ease-out infinite; animation-delay: calc(var(--o, 0) * 1s); }
.mind__node--amb { animation: none; opacity: .8; }
@keyframes node-hit { 0%, 33% { transform: scale(1); } 36% { transform: scale(1.8); } 46%, 100% { transform: scale(1); } }
.mind__core-glow { transform-box: fill-box; transform-origin: center; animation: core 2.6s ease-in-out infinite; }
@keyframes core { 0%, 100% { transform: scale(.82); opacity: .7; } 50% { transform: scale(1.22); opacity: 1; } }
.mind__halo { transform-box: fill-box; transform-origin: center; animation: halo 7s ease-in-out infinite; }
@keyframes halo { 0%, 100% { opacity: .8; } 50% { opacity: 1; transform: scale(1.04); } }
.mind__area rect { fill: rgba(17, 11, 43, .74); stroke: rgba(251, 181, 46, .55); stroke-width: 1.2; }
.mind__area text { fill: #FFE2A8; font: 600 14.5px var(--f-mono); letter-spacing: .02em; }

/* Zvýraznění trasy */
.mind.is-focus .mw-g:not(.is-hot), .mind.is-focus .mind__node:not(.is-hot) { opacity: .16; }
.mind.is-focus .mind__area { opacity: .35; }
.mw-g.is-hot .mw { stroke: var(--hot); stroke-width: 2.6; opacity: 1; }
.mw-g--tr.is-hot .mw { stroke-width: 3.6; }
.mind.is-focus .mind__i:not(.is-hot) .mind__btn, .mind.is-focus .mind__o:not(.is-hot) .mind__btn { opacity: .42; }
.mind__area, .mind__node { transition: opacity .3s; }

/* Vstup do scény */
.js .mind:not(.is-in) .mw { stroke-dashoffset: 100; }
.js .mind .mind__i, .js .mind .mind__o, .js .mind .mind__ok { transition: opacity .6s var(--ease), scale .6s var(--ease); }
.js .mind:not(.is-in) .mind__i, .js .mind:not(.is-in) .mind__o, .js .mind:not(.is-in) .mind__ok { opacity: 0; scale: .9; }
.js .mind .mind__o { transition-delay: .7s; }
.js .mind .mind__ok { transition-delay: 1s; }
.js .mind:not(.is-live) .mp, .js .mind:not(.is-live) .mind__node, .js .mind:not(.is-live) .mind__core-glow, .js .mind:not(.is-live) .mind__halo, .js .mind:not(.is-live) .mind__ok { animation-play-state: paused; }

@container (min-width: 560px) {
	.mind__stage { display: block; position: relative; aspect-ratio: 660 / 720; }
	.mind__svg--d { display: block; position: absolute; inset: 0; height: 100%; }
	.mind__svg--m, .mind__svg--c { display: none; }
	.mind__in, .mind__out { display: block; }
	.mind__i, .mind__o { position: absolute; left: var(--x); transform: translate(-50%, -50%); }
	.mind__i { top: var(--y); width: 23.5%; }
	.mind__o { top: 80.3%; width: 19.4%; }
	.mind__btn { flex-direction: row; gap: 10px; padding: 8px 10px 8px 8px; border: 1px solid rgba(180, 168, 230, .3); border-radius: 14px; background: rgba(28, 21, 69, .86); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-size: 13px; line-height: 1.25; text-align: left; transition: border-color .3s, background-color .3s, opacity .3s, transform .35s var(--ease); }
	.mind__btn:hover, .is-hot > .mind__btn { border-color: rgba(251, 181, 46, .7); background: rgba(42, 31, 96, .95); }
	.mind__ic { width: 36px; height: 36px; flex: none; box-shadow: none; }
	.mind__ic .ic { width: 19px; height: 19px; }
	.mind__out .mind__btn { flex-direction: column; justify-content: center; gap: 8px; padding: 12px 3px; text-align: center; font-size: min(13px, 1.95cqi); letter-spacing: -.01em; white-space: nowrap; }
	.mind__out .mind__ic { width: 32px; height: 32px; border-radius: 10px; }
	.mind__long { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; }
	.mind__short { display: none; }
	.mind__out .mind__long { white-space: nowrap; }
	.mind__ok { position: absolute; left: 50%; top: 93.9%; margin: 0; transform: translate(-50%, -50%); padding: 11px 26px; font-size: 16.5px; }
	.mind__info { position: absolute; left: 50%; top: 0; width: 54%; min-height: 0; margin: 0; padding: 8px 16px; border: 1px solid rgba(180, 168, 230, .22); border-radius: 14px; background: rgba(17, 11, 43, .55); transform: translateX(-50%); font-size: 13px; }
}
@container (min-width: 760px) {
	.mind__btn { font-size: 14px; }
}

/* ---- Ukázka ranního běhu (dříve v hero) ------------------------------ */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.story .steps { grid-column: 1; grid-row: 1; }
.demo-vis { position: relative; grid-column: 2; grid-row: 1; padding-top: 34px; }
.demo-vis .term { width: 92%; }
.demo-vis__card { position: relative; width: min(410px, 82%); margin: -64px 0 0 auto; z-index: 2; }
.demo-vis__toast { position: absolute; right: -10px; top: -22px; width: min(330px, 72%); z-index: 3; animation: toast-in .8s 3.2s var(--ease) both; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-14px) scale(.96); } to { opacity: 1; transform: none; } }
.js .demo-vis:not(.is-in) .term__body li, .js .demo-vis:not(.is-in) .demo-vis__toast { animation: none; opacity: 0; }
.story .steps--v { grid-template-columns: minmax(0, 1fr); border-top: 0; }
.story .steps--v li, .story .steps--v li + li { padding: 24px 0; border-left: 0; border-top: 1px solid var(--line); }
.story .steps--v .mono { margin-bottom: 10px; }
.story .steps--v li:first-child { border-top: 0; padding-top: 0; }
@media (max-width: 991.98px) {
	.story { grid-template-columns: minmax(0, 1fr); }
	.story .steps, .demo-vis { grid-column: 1; grid-row: auto; }
	.demo-vis { order: 2; }
	.demo-vis { max-width: 620px; }
}
@media (max-width: 575.98px) {
	.demo-vis { padding-top: 0; }
	.demo-vis .term { width: 100%; }
	.demo-vis__toast { position: relative; top: 0; right: 0; width: 100%; margin-top: 16px; }
	.demo-vis__card { width: 94%; margin-top: 12px; }
}

/* Terminál */
.term { position: relative; z-index: 1; max-width: 560px; border: 1px solid rgba(241, 238, 249, .16); border-radius: var(--r); background: #1C1545; box-shadow: 0 50px 90px -40px rgba(4, 2, 18, .9); font: 400 13.5px/1.7 var(--f-mono); color: #E4DFF5; }
@media (max-width: 575.98px) { .term { font-size: 11.5px; } }
.term__bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid rgba(241, 238, 249, .08); }
.term__bar i { width: 11px; height: 11px; border-radius: 50%; background: #E5484D; }
.term__bar i:nth-child(2) { background: #F59E0B; }
.term__bar i:nth-child(3) { background: #22A06B; }
.term__bar span { margin-left: 8px; font-size: 12px; color: #B9B1DC; }
.term__body { margin: 0; padding: 16px 20px 20px; list-style: none; overflow-wrap: anywhere; }
.term__body li { animation: rise .45s var(--ease) both; }
.term__body li:nth-child(1) { animation-delay: .7s; }
.term__body li:nth-child(2) { animation-delay: 1.05s; }
.term__body li:nth-child(3) { animation-delay: 1.4s; }
.term__body li:nth-child(4) { animation-delay: 1.75s; }
.term__body li:nth-child(5) { animation-delay: 2.1s; }
.term__body li:nth-child(6) { animation-delay: 2.45s; }
.term__body li:nth-child(7) { animation-delay: 2.8s; }
.term__body li:nth-child(8) { animation-delay: 3.15s; }
.term b { font-weight: 500; }
.t-prompt b { color: var(--amber); }
.t-k { display: inline-block; min-width: 7.2ch; color: var(--lavender); }
.t-n { color: var(--amber-2); }
.t-ok { margin-top: 6px; color: var(--green-l); }
.t-dim { color: #9C95BE; }

/* Mockup karty návrhu */
.mcard { padding: 18px 20px 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: #1C1545; box-shadow: 0 40px 80px -36px rgba(4, 2, 18, .8); font-size: 14px; line-height: 1.5; }
.mcard__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 12px; }
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 500; line-height: 1.4; background: rgba(103, 83, 174, .12); color: #4A3A9A; }
.tag .ic { width: 13px; height: 13px; }
.tag--cat { background: rgba(245, 158, 11, .16); color: #8A5300; }
.tag--gh { background: rgba(34, 160, 107, .14); color: #11744A; }
.mcard__conf { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #5A527C; }
.mcard__conf i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.mcard__t { font: 600 17px/1.3 var(--f-sans); letter-spacing: -.01em; }
.mcard__from { margin-top: 2px; font-size: 13px; color: #5A527C; }
.mcard__draft { margin-top: 12px; padding: 12px 14px; border-radius: 10px; background: #F4F2F9; font-size: 13.5px; }
.mcard__draft span { display: block; margin-bottom: 4px; font: 500 10.5px/1.4 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: #6753AE; }
.mcard__btns { display: flex; gap: 8px; margin-top: 14px; }
.mbtn { display: inline-flex; align-items: center; padding: 8px 14px; border: 1px solid rgba(59, 45, 131, .2); border-radius: 8px; font-size: 13.5px; font-weight: 500; }
.mbtn--pri { background: #4A3A9A; border-color: #4A3A9A; color: #fff; animation: pulse 2.6s 4s ease-in-out infinite; }
.mbtn--ghost { margin-left: auto; border-color: transparent; color: #C2353A; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(103, 83, 174, .0); } 50% { box-shadow: 0 0 0 6px rgba(103, 83, 174, .25); } }

/* Notifikace (ntfy) */
.toast { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; padding: 14px 16px; border: 1px solid rgba(241, 238, 249, .16); border-radius: 16px; background: rgba(42, 31, 96, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #F1EEF9; font-size: 13.5px; line-height: 1.4; box-shadow: 0 30px 60px -30px rgba(4, 2, 18, .9); }
.toast__ic { grid-row: span 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--amber); color: var(--plum); }
.toast__ic .ic { width: 18px; height: 18px; }
.toast__txt b { display: block; font-weight: 600; }
.toast__txt { color: #CFC8EA; }
.toast__btns { display: flex; gap: 6px; margin-top: 8px; }
.toast__btns span { padding: 5px 10px; border-radius: 8px; background: rgba(241, 238, 249, .1); font-size: 12px; font-weight: 500; color: #F1EEF9; }
.toast__btns span:first-child { background: var(--amber); color: var(--plum); }

/* ---- Čísla ----------------------------------------------------------- */
.ledger { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; padding: 0; border-top: 1px solid var(--line); }
.ledger li { padding: 28px 28px 0 0; }
.ledger li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.ledger strong { display: block; margin-bottom: 10px; font-family: var(--f-display); font-size: clamp(46px, 5.6vw, 84px); font-weight: 500; line-height: .95; letter-spacing: -.055em; white-space: nowrap; }
.ledger strong small { font-size: .42em; letter-spacing: -.03em; margin-left: .12em; }
.ledger span { display: block; max-width: 230px; font-size: 15px; line-height: 1.45; color: var(--muted); }
.ledger--hero { margin-top: clamp(56px, 8vw, 104px); }
.ledger--hero strong { font-size: clamp(40px, 4.6vw, 68px); }
@media (max-width: 991.98px) {
	.ledger { grid-template-columns: 1fr 1fr; }
	.ledger li { padding-bottom: 30px; }
	.ledger li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 575.98px) { .ledger li { padding-right: 12px; } .ledger li + li { padding-left: 14px; } .ledger li:nth-child(3) { padding-left: 0; } }

/* ---- Kroky a seznamy ------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.steps li { padding: 30px 32px 0 0; }
.steps li + li { padding-left: 32px; border-left: 1px solid var(--line); }
.steps .mono { display: block; margin-bottom: 22px; color: var(--amber); font-weight: 500; }
.band:not(.band--night):not(.band--dark) .steps .mono { color: #8A5300; }
.steps p { color: var(--muted); font-size: 15.5px; line-height: 1.6; }
@media (max-width: 991.98px) {
	.steps { grid-template-columns: minmax(0, 1fr); }
	.steps li { padding: 26px 0; }
	.steps li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}
.why { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(40px, 6vw, 96px); counter-reset: why; }
.why li { display: grid; grid-template-columns: 56px minmax(0, 1fr); padding: 30px 0 34px; border-top: 1px solid var(--line); }
.why li::before { counter-increment: why; content: "0" counter(why); padding-top: 3px; font: 500 13px/1.4 var(--f-mono); color: var(--em); }
.why p { color: var(--muted); font-size: 15.5px; line-height: 1.6; }
@media (max-width: 767.98px) { .why { grid-template-columns: minmax(0, 1fr); } }

.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 991.98px) { .tiles { grid-template-columns: minmax(0, 1fr); } }
.tile { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 30px 28px 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); text-decoration: none; overflow: hidden; transition: transform .35s var(--ease), border-color .3s, box-shadow .35s; }
.tile:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: var(--shadow); }
.tile__ic { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 12px; background: var(--chip); color: var(--em); transition: transform .4s var(--ease); }
.tile:hover .tile__ic { transform: rotate(-6deg) scale(1.06); }
.tile__ic .ic { width: 24px; height: 24px; }
.tile .mono { color: var(--muted); }
.tile p { color: var(--muted); font-size: 15.5px; margin-bottom: 22px; }
.tile .more { margin-top: auto; align-self: flex-start; }
.tile--accent { background: var(--plum); border-color: transparent; --text: #F1EEF9; --muted: #ACA4D0; --em: var(--amber); --chip: rgba(245, 158, 11, .14); color: var(--text); }

/* ---- Reveal ---------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---- Infografika ----------------------------------------------------- */
.sys { overflow: hidden; }
.sys .wrap { max-width: calc(1360px + 2 * var(--gutter)); }
.sys .head { max-width: var(--wrap); margin-inline: auto; }
.sys__bg { position: absolute; inset: -10% -10% auto auto; width: 70%; height: 80%; background: radial-gradient(closest-side, rgba(103, 83, 174, .32), transparent); pointer-events: none; }
.ig { position: relative; --node-bg: rgba(255, 255, 255, .045); --node-bd: rgba(241, 238, 249, .14); }
.ig__wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.ig__grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(40px, 4.4vw, 64px); align-items: stretch; }
.ig__col { display: flex; flex-direction: column; }
.ig__stack { display: flex; flex-direction: column; gap: 12px; flex: 1; justify-content: center; }
.ig__col--core .ig__stack { gap: 64px; }
.ig__col--human .ig__stack { gap: 56px; }
.ig__label { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 13.5px; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.ig__label .mono { color: var(--amber); }
.ig__base { position: relative; z-index: 1; margin-top: 88px; }
.ig__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px clamp(40px, 4.4vw, 64px); align-items: start; }
.ig__hint { display: flex; align-items: center; gap: 8px; margin-top: 36px; font-size: 14px; color: var(--muted); }
.ig__hint .ic { width: 17px; height: 17px; color: var(--amber); }

.node { position: relative; border: 1px solid var(--node-bd); border-radius: 14px; background: #1A1342; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: border-color .3s, background-color .3s, opacity .4s, transform .4s var(--ease), box-shadow .3s; }
.node__btn { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; width: 100%; padding: 14px 34px 14px 14px; border: 0; background: none; text-align: left; cursor: pointer; border-radius: 14px; }
.node__ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(180, 168, 230, .14); color: var(--lavender); transition: background-color .3s, color .3s, transform .4s var(--ease); }
.node__ic .ic { width: 20px; height: 20px; }
.node__t { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; color: #F1EEF9; }
.node__s { display: block; margin-top: 3px; font-size: 13px; line-height: 1.45; color: #B6AED8; }
.node__more { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgba(241, 238, 249, .2); color: #B6AED8; transition: transform .35s var(--ease), border-color .2s, color .2s; }
.node__more .ic { width: 12px; height: 12px; }
.node__d { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .4s var(--ease), visibility .4s; }
.node__d > div { overflow: hidden; }
.node__d p { padding: 0 16px 16px 64px; font-size: 13.5px; line-height: 1.55; color: #D9D4EC; }
.node.is-open .node__d { grid-template-rows: 1fr; visibility: visible; }
.node.is-open .node__more { transform: rotate(45deg); border-color: var(--amber); color: var(--amber); }
.node__chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: -2px 0 0; padding: 0 14px 14px 64px; }
.node__chips li { padding: 4px 9px; border-radius: 999px; background: rgba(180, 168, 230, .12); font-size: 12px; font-weight: 500; color: #D9D4EC; }
.node--big { border-color: rgba(180, 168, 230, .3); background: linear-gradient(160deg, rgba(59, 45, 131, .9), rgba(28, 21, 69, .92)); }
.node--big .node__ic { width: 44px; height: 44px; background: var(--amber); color: var(--plum); }
.node--big .node__ic .ic { width: 23px; height: 23px; }
.node--big .node__t { font-family: var(--f-display); font-size: 21px; font-weight: 500; letter-spacing: -.03em; }
.node--big .node__chips, .node--big .node__d p { padding-left: 70px; }
.node[data-node="sent"] .node__ic { background: rgba(74, 222, 128, .16); color: var(--green-l); }
.node--base .node__ic { background: rgba(245, 158, 11, .14); color: var(--amber-2); }
.node:hover, .node.is-open, .node:focus-within { border-color: rgba(245, 158, 11, .55); }
.node:hover .node__ic { transform: scale(1.08) rotate(-4deg); }
.node:hover .node__more { border-color: var(--amber); color: var(--amber); }
.ig.is-focus .node:not(.is-hot) { opacity: .38; }
.ig.is-focus .node.is-hot { box-shadow: 0 0 0 1px rgba(245, 158, 11, .5), 0 20px 50px -20px rgba(245, 158, 11, .35); }

.wire { fill: none; stroke: rgba(180, 168, 230, .4); stroke-width: 1.5; transition: stroke .3s, opacity .3s, stroke-width .3s; }
.wire--alt { stroke: rgba(245, 158, 11, .32); stroke-dasharray: 4 6; }
.wire.draw { stroke-dasharray: var(--len) var(--len); stroke-dashoffset: var(--len); }
.ig.is-drawn .wire.draw { stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s var(--ease) var(--wd, 0s), stroke .3s, opacity .3s; }
.ig.is-focus .wire { opacity: .15; }
.ig.is-focus .wire.is-hot { opacity: 1; stroke: var(--amber); stroke-width: 2; }
.dot { fill: var(--amber); opacity: 0; transition: opacity .6s; }
.dot--l { fill: var(--lavender); }
.ig.is-live .dot { opacity: .95; }
.ig.is-focus .dot:not(.is-hot) { opacity: .1; }

/* Uzly se při prvním zobrazení skládají po sloupcích. */
.js .ig .node { opacity: 0; transform: translateY(16px); }
.js .ig.is-in .node { opacity: 1; transform: none; transition-delay: var(--nd, 0s); }
.js .ig.is-in.is-done .node { transition-delay: 0s; }
.ig.is-focus .node:not(.is-hot) { opacity: .38; }

@media (max-width: 1099.98px) {
	.ig__grid { grid-template-columns: minmax(0, 1fr); gap: 52px; }
	.ig__stack, .ig__col--core .ig__stack, .ig__col--human .ig__stack { gap: 52px; }
	.ig__col--src .ig__stack, .ig__col--out .ig__stack { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
	.ig__col--core .ig__stack, .ig__col--human .ig__stack { max-width: 620px; width: 100%; margin-inline: auto; }
	.ig__label { position: relative; z-index: 2; width: fit-content; margin-inline: auto; padding: 4px 12px; border-radius: 999px; background: var(--band-bg, var(--night)); }
	.ig__base { margin-top: 52px; }
	.ig__row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.ig__base .node--big { grid-column: 1 / -1; }
}
@media (max-width: 767.98px) {
	.ig__col--src .ig__stack, .ig__col--out .ig__stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ig__col--src .node:last-child, .ig__col--out .node:last-child { grid-column: 1 / -1; }
	.ig__row { grid-template-columns: minmax(0, 1fr); }
	.ig .node:not(.node--big) .node__btn { grid-template-columns: auto minmax(0, 1fr); padding: 12px; gap: 10px; }
	.ig .node:not(.node--big) .node__more { display: none; }
	.ig .node:not(.node--big) .node__ic { width: 32px; height: 32px; }
	.ig .node:not(.node--big) .node__d p { padding: 0 12px 12px; }
	.node__t { font-size: 14px; }
	.node__s { font-size: 12.5px; }
	.node--big .node__chips, .node--big .node__d p { padding-left: 14px; }
	.ig__row .node .node__s { display: block; }
}
@media (max-width: 420px) {
	.ig__col--src .ig__stack, .ig__col--out .ig__stack { gap: 8px; }
	.ig .node:not(.node--big) .node__btn { grid-template-columns: minmax(0, 1fr); }
	.ig .node:not(.node--big) .node__ic { width: 30px; height: 30px; }
}

/* ---- Hero podstránek ------------------------------------------------- */
.phero {
	position: relative; isolation: isolate; overflow: hidden;
	padding: calc(var(--hdr) + clamp(40px, 8vh, 104px)) 0 clamp(52px, 7vw, 96px);
	background: radial-gradient(110% 100% at 85% 0%, #33277A 0%, var(--plum) 50%, var(--night) 100%);
}
.phero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(241, 238, 249, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(241, 238, 249, .04) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(70% 80% at 75% 20%, #000, transparent 75%); -webkit-mask-image: radial-gradient(70% 80% at 75% 20%, #000, transparent 75%); pointer-events: none; }
.phero__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px clamp(40px, 6vw, 96px); align-items: end; }
@media (max-width: 991.98px) { .phero__grid { grid-template-columns: minmax(0, 1fr); } }
.phero__title { margin-bottom: 26px; font-family: var(--f-display); font-size: clamp(42px, 6vw, 88px); font-weight: 500; line-height: 1; letter-spacing: -.05em; text-wrap: balance; }
.phero__title > span { display: block; animation: rise .9s var(--ease) both; }
.phero__title > span + span { animation-delay: .08s; }
.phero__em { color: var(--amber); }
.phero__lede { max-width: 620px; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: var(--muted); }
.phero__chips { display: flex; flex-wrap: wrap; gap: 8px; align-content: end; }
.phero__chips a { display: inline-flex; align-items: center; padding: 9px 15px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14.5px; font-weight: 500; text-decoration: none; color: var(--text); transition: border-color .2s, color .2s, background-color .2s, transform .25s var(--ease); }
.phero__chips a:hover { border-color: var(--amber); color: var(--amber); transform: translateY(-2px); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.chips li { padding: 4px 10px; border-radius: 999px; background: var(--chip); font-size: 12.5px; font-weight: 500; color: var(--chip-t); }

/* ---- Brain krok za krokem (časová osa) ------------------------------- */
.pipe { position: relative; --p: 0; max-width: 1080px; margin-inline: auto; }
.pipe::before, .pipe::after { content: ""; position: absolute; top: 24px; bottom: 24px; left: 50%; width: 2px; margin-left: -1px; border-radius: 2px; background: var(--line); }
.pipe::after { background: linear-gradient(var(--violet-2), var(--amber)); transform: scaleY(var(--p)); transform-origin: top; }
.pipe__step { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr); align-items: start; }
.pipe__step + .pipe__step { margin-top: -28px; }
.pipe__dot { position: relative; z-index: 1; grid-column: 2; grid-row: 1; justify-self: center; display: grid; place-items: center; width: 52px; height: 52px; margin-top: 18px; border: 2px solid var(--line-2); border-radius: 50%; background: var(--bg); color: var(--muted); transition: background-color .4s, border-color .4s, color .4s, transform .5s var(--ease), box-shadow .4s; }
.pipe__dot .ic { width: 22px; height: 22px; }
.pipe__step.is-active .pipe__dot { border-color: var(--amber); background: var(--amber); color: var(--plum); transform: scale(1.06); box-shadow: 0 0 0 8px rgba(245, 158, 11, .14); }
.pipe__body { grid-row: 1; padding: 26px 28px 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); box-shadow: 0 24px 50px -40px rgba(28, 21, 69, .45); transition: border-color .4s, box-shadow .4s; }
.pipe__step:nth-child(odd) .pipe__body { grid-column: 1; }
.pipe__step:nth-child(even) .pipe__body { grid-column: 3; }
.pipe__step.is-active .pipe__body { border-color: rgba(245, 158, 11, .45); box-shadow: 0 30px 60px -40px rgba(178, 107, 0, .5); }
.pipe__n { display: block; margin-bottom: 8px; color: #8A5300; font-weight: 500; }
.pipe__t { margin-bottom: 8px; font: 500 clamp(24px, 2.4vw, 30px)/1.1 var(--f-display); letter-spacing: -.035em; }
.pipe__body p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 991.98px) {
	.pipe::before, .pipe::after { left: 23px; }
	.pipe__step { grid-template-columns: 48px minmax(0, 1fr); gap: 0 18px; }
	.pipe__step + .pipe__step { margin-top: 18px; }
	.pipe__dot { grid-column: 1; width: 48px; height: 48px; margin-top: 4px; }
	.pipe__step:nth-child(n) .pipe__body { grid-column: 2; }
	.pipe__body { padding: 20px 20px 22px; }
}

/* ---- Kanály ---------------------------------------------------------- */
.chan { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1099.98px) { .chan { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .chan { grid-template-columns: minmax(0, 1fr); } }
.chan__card { display: flex; flex-direction: column; padding: 28px 24px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); transition: transform .35s var(--ease), box-shadow .35s, border-color .3s; }
.chan__card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line-2); }
.chan__card:hover .tile__ic { transform: rotate(-6deg) scale(1.06); }
.chan__card > p { color: var(--muted); font-size: 15px; }
.chan__out { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 18px; font-size: 14px; font-weight: 600; color: var(--violet) !important; }
.chan__out .ic { width: 16px; height: 16px; color: #8A5300; }
.also { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 28px; margin-top: 44px; border-top: 1px solid var(--line); }
@media (max-width: 991.98px) { .also { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .also { grid-template-columns: minmax(0, 1fr); } }
.also li { display: flex; gap: 14px; padding: 22px 0; }
.also .ic { width: 22px; height: 22px; margin-top: 2px; color: var(--violet-2); }
.also b { display: block; font-weight: 600; }
.also span { display: block; font-size: 14.5px; color: var(--muted); }

/* ---- Ukázka portálu -------------------------------------------------- */
.app { overflow: hidden; border: 1px solid rgba(241, 238, 249, .16); border-radius: 18px; background: #F4F2F9; color: #1C1545; box-shadow: 0 60px 120px -50px rgba(4, 2, 18, .95); }
.app__top { display: flex; align-items: center; gap: 18px; padding: 12px 18px; background: #fff; border-bottom: 1px solid rgba(59, 45, 131, .12); }
.app__logo { display: inline-flex; align-items: center; gap: 8px; font: 600 16px/1 var(--f-display); letter-spacing: -.02em; }
.app__logo .logo__mark { width: 26px; height: 26px; }
.app__search { flex: 1; max-width: 420px; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 9px; background: #F4F2F9; font-size: 13.5px; color: #5A527C; }
.app__search .ic { width: 15px; height: 15px; }
.app__icons { margin-left: auto; display: flex; align-items: center; gap: 14px; color: #5A527C; }
.app__icons .ic { width: 19px; height: 19px; }
.app__icons i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #4A3A9A; color: #fff; font: 600 13px/1 var(--f-sans); font-style: normal; }
.app__main { display: grid; grid-template-columns: 200px minmax(0, 1fr); min-height: 520px; }
.app__side { display: flex; flex-direction: column; gap: 2px; padding: 16px 12px; border-right: 1px solid rgba(59, 45, 131, .1); background: #fff; }
.app__side span { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; font-size: 14px; font-weight: 500; color: #5A527C; }
.app__side .ic { width: 17px; height: 17px; }
.app__side .is-on { background: rgba(103, 83, 174, .12); color: #1C1545; }
.app__side em { margin-left: auto; padding: 1px 8px; border-radius: 999px; background: var(--amber); color: #1C1545; font: 600 12px/1.5 var(--f-sans); font-style: normal; }
.app__feed { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 22px clamp(14px, 2.4vw, 28px) 24px; }
.app__h { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 18px; }
.app__h p { font-size: 14px; color: #5A527C; }
.app__h b { margin-right: 8px; font: 600 20px/1.2 var(--f-display); letter-spacing: -.02em; color: #1C1545; }
.app__h .mono { color: #5A527C; font-size: 12px; }
.app__card { box-shadow: 0 16px 34px -26px rgba(28, 21, 69, .5); transition: opacity .55s var(--ease), transform .55s var(--ease), max-height .55s var(--ease); }
.app__card.is-sent { opacity: 0; transform: translateX(60px) rotate(1.5deg); }
.app__card.is-dropped { opacity: 0; transform: translateX(-60px) rotate(-1.5deg); }
.app__card .mbtn { cursor: pointer; background: #fff; transition: background-color .2s, border-color .2s, transform .15s; }
.app__card .mbtn:hover { border-color: #4A3A9A; }
.app__card .mbtn:active { transform: scale(.97); }
.app__card .mbtn--pri { background: #4A3A9A; color: #fff; }
.app__card .mbtn--pri:hover { background: #3B2D83; }
.app__card .mbtn--ghost { background: none; color: #C2353A; }
.app__src { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 12.5px; color: #5A527C; }
.app__src .ic { width: 14px; height: 14px; }
.app__empty { display: none; flex-direction: column; align-items: center; gap: 10px; padding: 70px 20px; text-align: center; color: #5A527C; }
.app__empty .ic { width: 44px; height: 44px; color: var(--green); }
.app__empty b { color: #1C1545; }
.app__empty .mbtn { cursor: pointer; background: #fff; }
.app.is-empty .app__empty { display: flex; }
.app__note { min-height: 1.5em; font-size: 13px; color: #5A527C; }
@media (max-width: 767.98px) {
	.app__main { grid-template-columns: minmax(0, 1fr); min-height: 0; }
	.app__side { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid rgba(59, 45, 131, .1); padding: 8px; }
	.app__side span { flex: none; padding: 7px 10px; font-size: 13px; }
	.app__search { display: none; }
	.app .mcard { padding: 14px 14px 16px; }
	.app .mcard__conf { margin-left: 0; }
	.app .mcard__btns { flex-wrap: wrap; }
}

/* ---- Tok nabídky ----------------------------------------------------- */
.flow { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; counter-reset: fl; }
.flow::before { content: ""; position: absolute; left: 6%; right: 6%; top: 31px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px); }
.flow__i { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.flow__ic { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 14px; border: 1px solid var(--line-2); border-radius: 18px; background: var(--card); color: var(--violet-2); box-shadow: 0 16px 30px -24px rgba(28, 21, 69, .6); transition: transform .4s var(--ease); }
.flow__i:hover .flow__ic { transform: translateY(-4px) rotate(-4deg); }
.flow__ic .ic { width: 26px; height: 26px; }
.flow__i b { font-size: 15.5px; font-weight: 600; line-height: 1.3; }
.flow__i > span:last-child { font-size: 13.5px; color: var(--muted); }
.flow__i--you .flow__ic { background: var(--amber); border-color: var(--amber); color: var(--plum); }
.flow__i--ok .flow__ic { background: var(--green); border-color: var(--green); color: #fff; }
@media (max-width: 991.98px) {
	.flow { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.flow::before { left: 31px; right: auto; top: 20px; bottom: 20px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--line-2) 0 6px, transparent 6px 12px); }
	.flow__i { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 0 18px; align-items: center; text-align: left; padding: 8px 0; }
	.flow__ic { grid-row: span 2; margin: 0; }
	.flow__i b { align-self: end; }
	.flow__i > span:last-child { align-self: start; }
}

/* ---- MyÚčto a vývoj -------------------------------------------------- */
.mu { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 991.98px) { .mu { grid-template-columns: minmax(0, 1fr); } }
.mu__list li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; padding: 24px 0; border-top: 1px solid var(--line); }
.mu__list li:first-child { border-top: 0; padding-top: 0; }
.mu__list .tile__ic { margin: 0; }
.mu__list p { color: var(--muted); font-size: 15.5px; }
.dev { position: sticky; top: calc(var(--hdr) + 24px); padding: 26px 24px; border-radius: 18px; background: var(--plum); color: #F1EEF9; box-shadow: var(--shadow); }
.dev__h { margin-bottom: 18px; color: var(--amber); }
.dev ol { position: relative; list-style: none; margin: 0; padding: 0; }
.dev ol::before { content: ""; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 2px; background: rgba(241, 238, 249, .14); }
.dev li { position: relative; display: flex; align-items: center; gap: 14px; padding: 7px 0; font-size: 15px; color: #D9D4EC; }
.dev li > span { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px; background: #2A1F60; color: var(--lavender); }
.dev li .ic { width: 18px; height: 18px; }
.dev li.is-you { color: #fff; font-weight: 600; }
.dev li.is-you > span { background: var(--amber); color: var(--plum); }
@media (max-width: 991.98px) { .dev { position: relative; top: 0; } }

/* ---- Vzdálená práce -------------------------------------------------- */
.remote { overflow: hidden; }
.remote__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 991.98px) { .remote__grid { grid-template-columns: minmax(0, 1fr); } }
.rmap { position: relative; display: grid; grid-template-columns: minmax(0, .8fr) auto minmax(0, 1.2fr); gap: 18px; align-items: center; }
.rmap__col { display: flex; flex-direction: column; gap: 12px; }
.rmap__n { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #1A1342; font-size: 14.5px; font-weight: 500; }
.rmap__n .ic { width: 19px; height: 19px; color: var(--lavender); }
.rmap__vpn { position: relative; display: grid; place-items: center; width: 92px; height: 100%; min-height: 160px; }
.rmap__vpn::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: repeating-linear-gradient(90deg, var(--amber) 0 8px, transparent 8px 14px); background-size: 28px 2px; animation: vpn-flow 1.2s linear infinite; }
.rmap__vpn span { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; background: var(--amber); color: var(--plum); font-size: 13px; font-weight: 600; }
.rmap__vpn .ic { width: 14px; height: 14px; }
@keyframes vpn-flow { to { background-position: 28px 0; } }
.rmap__box { display: flex; flex-direction: column; gap: 8px; padding: 14px; border: 1px solid var(--line-2); border-radius: 16px; background: rgba(59, 45, 131, .35); }
.rmap__box + .rmap__box { margin-top: 4px; }
.rmap__box .mono { margin-bottom: 2px; color: var(--amber); text-transform: uppercase; letter-spacing: .08em; font-size: 11.5px; }
.rmap__box--cloud { border-style: dashed; background: rgba(255, 255, 255, .03); }
.rmap__box--cloud .ic { color: var(--amber-2); }
@media (max-width: 575.98px) {
	.rmap { grid-template-columns: minmax(0, 1fr); }
	.rmap__col:first-child { flex-direction: row; }
	.rmap__col:first-child .rmap__n { flex: 1; }
	.rmap__vpn { width: 100%; min-height: 64px; }
	.rmap__vpn::before { left: 50%; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--amber) 0 8px, transparent 8px 14px); background-size: 2px 28px; animation-name: vpn-flow-v; }
}
@keyframes vpn-flow-v { to { background-position: 0 28px; } }
.phone { justify-self: center; width: min(330px, 100%); padding: 12px; border-radius: 44px; background: linear-gradient(160deg, #3B2D83, #110B2B); box-shadow: 0 60px 100px -50px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(241, 238, 249, .14); }
.phone__in { display: flex; flex-direction: column; gap: 10px; min-height: 540px; padding: 34px 14px 20px; border-radius: 34px; background: radial-gradient(120% 70% at 50% 0%, #4A3A9A, #1C1545 70%); }
.phone__time { text-align: center; font: 500 58px/1 var(--f-display); letter-spacing: -.04em; color: #fff; }
.phone__date { margin: 2px 0 18px; text-align: center; font-size: 14px; color: #CFC8EA; }
.note { padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; background: rgba(17, 11, 43, .45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 13px; line-height: 1.4; color: #E8E4F6; }
.note b { display: block; color: #fff; }
.note__app { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: #E2DCF6; }
.note__app .ic { width: 13px; height: 13px; }
.note__btns { display: flex; gap: 6px; margin-top: 8px; }
.note__btns span { flex: 1; padding: 6px 4px; border-radius: 10px; background: rgba(255, 255, 255, .14); text-align: center; font-size: 12px; font-weight: 600; color: #fff; }
.note__btns span:first-child { background: var(--amber); color: var(--plum); }
.js .phone .note { opacity: 0; transform: translateY(-12px) scale(.97); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .phone.is-in .note { opacity: 1; transform: none; }
.js .phone.is-in .note:nth-of-type(2) { transition-delay: .5s; }
.js .phone.is-in .note:nth-of-type(3) { transition-delay: 1s; }
.night { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: clamp(48px, 7vw, 88px); border-top: 1px solid var(--line); }
.night li { padding: 26px 26px 0 0; }
.night li + li { padding-left: 26px; border-left: 1px solid var(--line); }
.night__ic { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 11px; background: var(--chip); color: var(--amber); }
.night__ic .ic { width: 20px; height: 20px; }
.night .mono { display: block; margin-bottom: 4px; color: var(--amber); }
.night b { display: block; margin-bottom: 6px; font-size: 17px; font-weight: 600; }
.night p { font-size: 15px; color: var(--muted); }
@media (max-width: 991.98px) {
	.night { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.night li { padding-bottom: 26px; }
	.night li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 575.98px) {
	.night { grid-template-columns: minmax(0, 1fr); }
	.night li, .night li + li { padding: 22px 0; border-left: 0; }
	.night li + li { border-top: 1px solid var(--line); }
}

/* ---- Bezpečnost ------------------------------------------------------ */
.sec { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 991.98px) { .sec { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .sec { grid-template-columns: minmax(0, 1fr); } }
.sec li { padding: 28px 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); transition: transform .35s var(--ease), box-shadow .35s; }
.sec li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.sec p { color: var(--muted); font-size: 15px; }

/* ---- Technologie: architektura --------------------------------------- */
.arch { position: relative; display: flex; flex-direction: column; gap: 34px; }
.arch__row { position: relative; display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; align-items: center; }
.arch__row + .arch__row::before { content: ""; position: absolute; left: calc(180px + 24px + 50%); top: -34px; height: 34px; width: 2px; margin-left: -1px; background: repeating-linear-gradient(180deg, var(--amber) 0 6px, transparent 6px 11px); background-size: 2px 22px; animation: vpn-flow-v 1.1s linear infinite; }
.arch__row + .arch__row::before { left: calc(204px + (100% - 204px) / 2); }
.arch__label { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.arch__label .mono { color: #8A5300; }
.arch__boxes { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 14px; padding: 14px; border: 1px dashed var(--line-2); border-radius: 18px; background: var(--card-2); }
.arch__box { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); transition: transform .35s var(--ease), box-shadow .35s, border-color .3s; }
.arch__box:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(245, 158, 11, .5); }
.arch__ic { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--chip); color: var(--em); }
.arch__ic .ic { width: 20px; height: 20px; }
.arch__box b { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.arch__box small { display: block; font-size: 13px; line-height: 1.4; color: var(--muted); }
.arch__row:nth-child(3) .arch__boxes { background: rgba(245, 158, 11, .07); border-color: rgba(245, 158, 11, .4); }
.arch__row:nth-child(3) .arch__ic { background: var(--amber); color: var(--plum); }
.js .arch .arch__row { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i) * .12s); }
.js .arch.is-in .arch__row { opacity: 1; transform: none; }
.js .arch.reveal { opacity: 1; transform: none; }
@media (max-width: 991.98px) {
	.arch__row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.arch__row + .arch__row::before { left: 50%; }
	.arch__boxes { grid-auto-flow: row; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
}
@media (max-width: 575.98px) { .arch__boxes { grid-template-columns: minmax(0, 1fr); padding: 10px; gap: 8px; } .arch__box { padding: 11px; } }

/* Monorepo a stack */
.mono2 { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 991.98px) { .mono2 { grid-template-columns: minmax(0, 1fr); } }
.term--light { max-width: none; background: #1C1545; border-color: #2A1F60; box-shadow: 0 40px 80px -40px rgba(28, 21, 69, .7); }
.tree { list-style: none; margin: 0; padding: 16px 20px 22px; font: 400 13.5px/1.6 var(--f-mono); }
.tree li { display: flex; flex-wrap: wrap; gap: 0 14px; padding: 3px 0; }
.tree li.l2 { padding-left: 2.2ch; position: relative; }
.tree li.l2::before { content: "├─"; position: absolute; left: 0; color: #6E66A0; }
.tree b { color: var(--amber-2); font-weight: 500; min-width: 11ch; }
.tree span { color: #ACA4D0; }
@media (max-width: 575.98px) { .tree { font-size: 12px; padding: 12px 14px 16px; } .tree b { min-width: 0; } .tree span { flex-basis: 100%; padding-left: 0; } }
.stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
@media (max-width: 575.98px) { .stack { grid-template-columns: minmax(0, 1fr); } }
.stack > li { padding: 18px 0 20px; border-top: 1px solid var(--line); }
.stack .mono { color: #8A5300; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; }
.stack .chips { margin-top: 10px; }

/* Specifikace ve sloupcích */
.spec { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.spec--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 40px; }
@media (max-width: 991.98px) { .spec, .spec--2 { grid-template-columns: minmax(0, 1fr); } }
.spec__col { padding: 28px 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.spec__col .h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.spec__col .h3 .ic { width: 22px; height: 22px; color: var(--violet-2); }
.spec__col ul { list-style: none; padding: 0; }
.spec__col li { position: relative; padding: 9px 0 9px 22px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.spec__col li:first-child { border-top: 0; }
.spec__col li::before { content: ""; position: absolute; left: 2px; top: 18px; width: 8px; height: 8px; border-radius: 2px; background: var(--amber); transform: rotate(45deg); }
.spec__col li b { color: var(--text); font-weight: 600; }

/* Hardware a modely */
.hw { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 48px); }
.hw__spec { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 28px; }
.hw__spec li:nth-child(-n+4) { border-top: 0; padding-top: 0; }
@media (max-width: 1099.98px) { .hw { grid-template-columns: minmax(0, 1fr); } }
.hw__spec li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 2px 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.hw__spec li:first-child { border-top: 0; padding-top: 0; }
.hw__ic { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--chip); color: var(--amber); }
.hw__ic .ic { width: 22px; height: 22px; }
.hw__spec b { font-size: 17px; font-weight: 600; }
.hw__spec li > span:last-child { font-size: 14.5px; color: var(--muted); }
@media (max-width: 1099.98px) { .hw__spec { grid-template-columns: 1fr 1fr; } .hw__spec li:nth-child(n+3) { border-top: 1px solid var(--line); padding-top: 18px; } }
@media (max-width: 575.98px) { .hw__spec { grid-template-columns: minmax(0, 1fr); } .hw__spec li:nth-child(n+2) { border-top: 1px solid var(--line); padding-top: 18px; } }
.models { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1099.98px) { .models { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767.98px) { .models { grid-template-columns: minmax(0, 1fr); } }
.model--dense { border-color: rgba(251, 181, 46, .45); }
.model { padding: 28px 26px; border: 1px solid var(--line-2); border-radius: 18px; background: linear-gradient(160deg, rgba(59, 45, 131, .55), rgba(28, 21, 69, .6)); }
.model .mono { color: var(--amber); text-transform: uppercase; letter-spacing: .08em; }
.model h3 { margin: 6px 0 10px; font: 500 clamp(26px, 2.6vw, 34px)/1.05 var(--f-display); letter-spacing: -.04em; }
.model > p:not(.mono) { font-size: 15px; color: var(--muted); }
.meter { margin: 20px 0 0; }
.meter > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 4px 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.meter dt { font-size: 14px; color: var(--muted); }
.meter dd { margin: 0; font-size: 14px; color: var(--muted); }
.meter strong { font: 500 26px/1 var(--f-display); letter-spacing: -.03em; color: var(--text); }
.meter__bar { grid-column: 1 / -1; position: relative; height: 4px; border-radius: 4px; background: rgba(241, 238, 249, .1); overflow: hidden; }
.meter__bar::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--violet-2), var(--amber)); transform: scaleX(var(--v)); transform-origin: left; transition: transform 1.4s var(--ease) .3s; }
.js .model:not(.is-in) .meter__bar::after { transform: scaleX(0); }
.note2 { display: flex; align-items: flex-start; gap: 12px; max-width: 860px; margin-top: 40px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); font-size: 15px; color: var(--muted); }
.note2 .ic { width: 22px; height: 22px; margin-top: 1px; color: var(--amber); }
.note2--light .ic { color: var(--violet-2); }

/* Žebříček modelů */
.ladder { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; align-items: end; }
.ladder li { position: relative; display: flex; flex-direction: column; min-height: 340px; padding: 22px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); overflow: hidden; isolation: isolate; }
.ladder__n { margin-bottom: auto; font: 500 13px/1.4 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: #8A5300; }
.ladder li .h3 { margin-top: 18px; }
.ladder li p { font-size: 14.5px; color: var(--muted); }
.ladder__bar { position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: var(--h); background: linear-gradient(180deg, rgba(103, 83, 174, .08), rgba(103, 83, 174, .2)); transform: scaleY(0); transform-origin: bottom; transition: transform 1.2s var(--ease) .2s; }
.ladder li.is-in .ladder__bar, html:not(.js) .ladder__bar { transform: none; }
.ladder--codex { border-color: rgba(245, 158, 11, .4) !important; }
.ladder--codex .ladder__bar { background: linear-gradient(180deg, rgba(245, 158, 11, .06), rgba(245, 158, 11, .2)); }
@media (max-width: 1099.98px) { .ladder { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ladder li { min-height: 260px; } }
@media (max-width: 767.98px) { .ladder { grid-template-columns: minmax(0, 1fr); } .ladder li { min-height: 0; } .ladder li .h3 { margin-top: 8px; } .ladder__bar { top: 0; bottom: 0; right: auto; width: var(--h); height: auto; transform: scaleX(0); transform-origin: left; } }

/* Úrovně autonomie */
.levels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 991.98px) { .levels { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .levels { grid-template-columns: minmax(0, 1fr); } }
.lvl { position: relative; display: flex; flex-direction: column; padding: 26px 24px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.lvl__l { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 18px; border-radius: 14px; font: 600 20px/1 var(--f-display); color: #fff; background: color-mix(in srgb, var(--violet) calc(60% + var(--i) * 13%), var(--lavender)); }
.lvl p { font-size: 15px; color: var(--muted); }
.lvl__when { align-self: flex-start; margin-top: auto; padding: 4px 10px; border-radius: 999px; background: var(--chip); font-size: 12.5px; font-weight: 600; color: var(--em); }
.lvl p + .lvl__when { margin-top: 18px; }
.lvl:nth-child(2) { border-color: var(--amber); box-shadow: 0 0 0 1px var(--amber); }
.lvl:nth-child(2) .lvl__when { background: var(--amber); color: var(--plum); }
.never { margin-top: 28px; padding: 22px 24px; border-radius: 16px; background: var(--plum); color: #F1EEF9; }
.never__h { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.never__h .ic { width: 20px; height: 20px; color: var(--amber); }
.never .chips li { background: rgba(245, 158, 11, .16); color: #FFD488; }

/* Stavový automat */
.fsm { padding: clamp(20px, 3vw, 36px); border: 1px solid var(--line); border-radius: 20px; background: var(--card); background-image: radial-gradient(var(--line) 1px, transparent 1px); background-size: 18px 18px; }
.fsm__main { display: flex; align-items: center; gap: 0; }
.fsm__arr { position: relative; flex: 1; min-width: 18px; height: 2px; background: var(--line-2); overflow: hidden; }
.fsm__arr::after { content: ""; position: absolute; top: 0; left: -40%; width: 40%; height: 100%; background: var(--amber); animation: fsm-run 2.4s var(--ease) infinite; }
@keyframes fsm-run { to { left: 100%; } }
.st { display: inline-flex; flex-direction: column; align-items: center; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--card); font: 500 14px/1.3 var(--f-mono); color: var(--text); white-space: nowrap; text-align: center; }
.st small { font: 400 12px/1.3 var(--f-sans); color: var(--muted); white-space: normal; }
.st--wait { border-color: var(--amber); background: #FFF7E6; }
.st--ok { border-color: var(--green); background: #E9F7F0; color: #11744A; }
.st--bad { border-color: rgba(229, 72, 77, .5); background: #FDF0F0; color: #B4262B; }
.st--muted { color: var(--muted); }
.fsm__side { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 22px; padding-top: 22px; border-top: 1px dashed var(--line-2); }
@media (max-width: 991.98px) {
	.fsm__main { flex-direction: column; align-items: stretch; }
	.fsm__arr { flex: none; width: 2px; height: 22px; min-width: 0; margin-inline: auto; }
	.fsm__arr::after { left: 0; top: -40%; width: 100%; height: 40%; animation-name: fsm-run-v; }
	.st { flex-direction: row; justify-content: space-between; gap: 12px; text-align: right; }
	.fsm__side { flex-direction: column; align-items: stretch; }
}
@keyframes fsm-run-v { to { top: 100%; } }
.token { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-bottom: 10px; padding: 12px 14px; border-radius: 10px; background: var(--plum); font: 400 12.5px/1.5 var(--f-mono); overflow-wrap: anywhere; }
.token__p { color: var(--lavender); }
.token__dot { color: #fff; }
.token__s { color: var(--amber-2); }

/* Worktree a testy */
.wt { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 991.98px) { .wt { grid-template-columns: minmax(0, 1fr); } }
.wt__map { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.wt__main, .wt__gate { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 14.5px; }
.wt__main { background: var(--violet); color: #fff; font-family: var(--f-mono); }
.wt__gate { background: var(--amber); color: var(--plum); text-align: center; }
.wt__main .ic, .wt__gate .ic { width: 18px; height: 18px; }
.wt__forks { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; }
.wt__forks::before, .wt__forks::after { content: ""; position: absolute; left: 16%; right: 16%; height: 2px; background: repeating-linear-gradient(90deg, var(--amber) 0 6px, transparent 6px 11px); background-size: 22px 2px; animation: vpn-flow 1.1s linear infinite; }
.wt__forks::before { top: -12px; }
.wt__forks::after { bottom: -12px; }
.wt__f { display: flex; flex-direction: column; gap: 6px; padding: 14px; border: 1px solid var(--line-2); border-radius: 14px; background: rgba(59, 45, 131, .35); font-size: 13.5px; }
.wt__f .mono { color: var(--amber); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; }
.wt__f span { display: flex; align-items: center; gap: 8px; color: #D9D4EC; }
.wt__f .ic { width: 16px; height: 16px; color: var(--lavender); }
.wt__f--cloud { border-style: dashed; background: rgba(255, 255, 255, .03); }
@media (max-width: 575.98px) { .wt__forks { grid-template-columns: minmax(0, 1fr); } .wt__forks::before, .wt__forks::after { display: none; } }
.ledger--tech { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ledger--tech li:nth-child(3) { padding-left: 0; border-left: 0; }
.ledger--tech li { padding-bottom: 28px; }
.ledger--tech strong { font-size: clamp(40px, 4.4vw, 62px); }
.also--dark { margin-top: 56px; }
.also--dark .ic { color: var(--amber); }

/* ---- Pro vaši firmu --------------------------------------------------- */
.proof { display: flex; flex-direction: column; gap: 0; border-left: 1px solid var(--line-2); }
.proof li { padding: 14px 0 14px 24px; }
.proof li + li { border-top: 1px solid var(--line); }
.proof b { display: block; font: 500 24px/1.15 var(--f-display); letter-spacing: -.03em; color: var(--amber); }
.proof span { font-size: 15px; color: var(--muted); }
@media (max-width: 991.98px) { .proof { border-left: 0; border-top: 1px solid var(--line-2); } .proof li { padding-left: 0; } }
.uses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 991.98px) { .uses { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .uses { grid-template-columns: minmax(0, 1fr); } }
.uses li { padding: 28px 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); transition: transform .35s var(--ease), box-shadow .35s, border-color .3s; }
.uses li:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(245, 158, 11, .5); }
.uses li:hover .tile__ic { transform: rotate(-6deg) scale(1.06); }
.uses p { font-size: 15px; color: var(--muted); }
.phases { position: relative; --p: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; padding-top: 30px; }
.phases::before, .phases::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: 3px; background: var(--line); }
.phases::after { background: linear-gradient(90deg, var(--violet-2), var(--amber)); transform: scaleX(var(--p)); transform-origin: left; }
.phase { position: relative; display: flex; flex-direction: column; padding: 24px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); transition: border-color .4s, background-color .4s; }
.phase::before { content: ""; position: absolute; top: -37px; left: 22px; width: 15px; height: 15px; border-radius: 50%; border: 3px solid var(--night); background: var(--line-2); transition: background-color .4s, box-shadow .4s; }
.phase.is-active { border-color: rgba(245, 158, 11, .45); background: rgba(245, 158, 11, .06); }
.phase.is-active::before { background: var(--amber); box-shadow: 0 0 0 6px rgba(245, 158, 11, .2); }
.phase__n { color: var(--amber); }
.phase__ic { display: grid; place-items: center; width: 46px; height: 46px; margin: 14px 0 16px; border-radius: 12px; background: var(--chip); color: var(--amber); }
.phase__ic .ic { width: 22px; height: 22px; }
.phase__t { font: 500 24px/1.1 var(--f-display); letter-spacing: -.03em; }
.phase__dur { margin: 6px 0 12px; font-size: 13px; font-weight: 600; color: var(--lavender); }
.phase p { font-size: 14.5px; color: var(--muted); }
.phase__out { display: flex; gap: 8px; margin-top: auto; padding-top: 16px; font-weight: 600; color: var(--text) !important; }
.phase__out .ic { width: 18px; height: 18px; margin-top: 2px; color: var(--green-l); }
@media (max-width: 1099.98px) {
	.phases { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 0 0 0 34px; }
	.phases::before, .phases::after { top: 0; bottom: 0; left: 6px; right: auto; width: 3px; height: auto; }
	.phases::after { transform: scaleY(var(--p)); transform-origin: top; }
	.phase::before { top: 28px; left: -35px; }
	.phase { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 0 16px; }
	.phase__n { grid-column: 1 / -1; }
	.phase__ic { grid-row: span 2; margin: 10px 0 0; }
	.phase__t { margin-top: 10px; }
	.phase > p { grid-column: 2; }
	.phase__dur { grid-column: 2; margin-bottom: 8px; }
}
@media (max-width: 575.98px) { .phase { grid-template-columns: minmax(0, 1fr); } .phase__ic { grid-row: auto; } .phase > p, .phase__dur { grid-column: 1; } }
.faq-wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 991.98px) { .faq-wrap { grid-template-columns: minmax(0, 1fr); } }
.faq-lede { margin-top: 22px; }
.faq-lede a { color: var(--text); text-underline-offset: 3px; }
.faq-lede a:hover { color: var(--em); }
.faq__i { border-top: 1px solid var(--line); }
.faq__i:last-child { border-bottom: 1px solid var(--line); }
.faq__i summary { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 22px 0; font-size: 18px; font-weight: 600; cursor: pointer; list-style: none; }
.faq__i summary::-webkit-details-marker { display: none; }
.faq__i summary span { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border: 1px solid var(--line-2); border-radius: 50%; color: var(--em); transition: transform .35s var(--ease), background-color .2s, border-color .2s; }
.faq__i summary span .ic { width: 16px; height: 16px; }
.faq__i summary:hover span { border-color: var(--amber); }
.faq__i[open] summary span { transform: rotate(45deg); background: var(--amber); border-color: var(--amber); color: var(--plum); }
.faq__i p { padding: 0 48px 24px 0; color: var(--muted); animation: rise .5s var(--ease); }

/* ---- Patička a CTA --------------------------------------------------- */
.cta { overflow: hidden; text-align: left; }
.cta__glow { position: absolute; left: 50%; top: -30%; width: 900px; height: 900px; margin-left: -200px; border-radius: 50%; background: radial-gradient(closest-side, rgba(245, 158, 11, .2), transparent); pointer-events: none; }
.cta__in { position: relative; }
.cta__h { max-width: 900px; font-size: clamp(40px, 6.4vw, 92px); }
.cta__p { max-width: 620px; margin-top: 26px; color: var(--muted); font-size: 18px; }
.cta__act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.ftr { padding: 64px 0 28px; background: var(--bg); border-top: 1px solid var(--line); }
.ftr__in { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 36px; }
.ftr__brand p { max-width: 380px; margin-top: 16px; color: var(--muted); font-size: 15px; }
.ftr__brand p a, .ftr__bar a { color: var(--text); text-underline-offset: 3px; }
.ftr__brand p a:hover, .ftr__bar a:hover { color: var(--em); }
.ftr__co b { color: var(--text); font-weight: 600; }
.ftr__h { margin-bottom: 12px; font: 500 12.5px/1.4 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.ftr__nav ul { list-style: none; padding: 0; }
.ftr__nav li + li { margin-top: 6px; }
.ftr__nav a { text-decoration: none; font-size: 15px; }
.ftr__nav a:hover { color: var(--em); text-decoration: underline; text-underline-offset: 3px; }
.ftr__bar { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 22px; font-size: 13.5px; color: var(--muted); }
.ftr__bar::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line); }
@media (max-width: 767.98px) { .ftr__in { grid-template-columns: 1fr 1fr; } .ftr__brand { grid-column: 1 / -1; } }

/* ---- Omezený pohyb --------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
	.js .reveal, .js .ig .node { opacity: 1; transform: none; }
	.dot, .mp { display: none; }
}
html:not(.js) .reveal { opacity: 1; transform: none; }
@media (max-width: 991.98px) { .demo-vis [data-parallax] { translate: none !important; } }
