/* edoklad.com — prezentační web Šanonu a Kasy. Statické HTML bez buildu, barvy podle Šanonu. */
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 100 900; 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: "Inter"; font-style: normal; font-weight: 100 900; 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;
}

:root {
  --bg: #ffffff;
  --bg-soft: #f7f8fb;
  --bg-tint: #f1f5ff;
  --fg: #0a0f1e;
  --fg-2: #2a3347;
  --muted: #5b6579;
  --faint: #8a93a6;
  --border: #e6e9f0;
  --border-strong: #d5dae5;
  --primary: #2563eb;
  --primary-strong: #1d4ed8;
  --primary-soft: #e8efff;
  --on-primary: #ffffff;
  --accent: #7c3aed;
  --accent-2: #06b6d4;
  --success: #16a34a;
  --success-soft: #e7f8ee;
  --warning: #b45309;
  --warning-soft: #fdf3dc;
  --card: #ffffff;
  --glass: rgb(255 255 255 / .72);
  --ink-panel: #070b17;
  --shadow-sm: 0 1px 2px rgb(10 15 30 / .05);
  --shadow: 0 1px 2px rgb(10 15 30 / .04), 0 12px 32px -12px rgb(10 15 30 / .14);
  --shadow-lg: 0 2px 4px rgb(10 15 30 / .04), 0 40px 80px -24px rgb(30 50 120 / .28);
  --grid-line: rgb(10 15 30 / .045);
  --radius: 18px;
  --max: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #05070e; --bg-soft: #0a0e1a; --bg-tint: #0b1224; --fg: #eef1f8; --fg-2: #c9d0de; --muted: #95a0b6; --faint: #6b7590;
    --border: #171e30; --border-strong: #242d44; --primary: #5b8cff; --primary-strong: #82a8ff; --primary-soft: #121d3a;
    --on-primary: #05070e; --accent: #a78bfa; --accent-2: #22d3ee; --success: #4ade80; --success-soft: #0d2418;
    --warning: #fbbf24; --warning-soft: #2a1f08; --card: #0b101d; --glass: rgb(5 7 14 / .7); --ink-panel: #0b1120;
    --shadow-sm: 0 1px 2px rgb(0 0 0 / .5); --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 12px 32px -12px rgb(0 0 0 / .6);
    --shadow-lg: 0 2px 4px rgb(0 0 0 / .4), 0 40px 80px -24px rgb(0 0 0 / .8); --grid-line: rgb(255 255 255 / .04);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #05070e; --bg-soft: #0a0e1a; --bg-tint: #0b1224; --fg: #eef1f8; --fg-2: #c9d0de; --muted: #95a0b6; --faint: #6b7590;
  --border: #171e30; --border-strong: #242d44; --primary: #5b8cff; --primary-strong: #82a8ff; --primary-soft: #121d3a;
  --on-primary: #05070e; --accent: #a78bfa; --accent-2: #22d3ee; --success: #4ade80; --success-soft: #0d2418;
  --warning: #fbbf24; --warning-soft: #2a1f08; --card: #0b101d; --glass: rgb(5 7 14 / .7); --ink-panel: #0b1120;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / .5); --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 12px 32px -12px rgb(0 0 0 / .6);
  --shadow-lg: 0 2px 4px rgb(0 0 0 / .4), 0 40px 80px -24px rgb(0 0 0 / .8); --grid-line: rgb(255 255 255 / .04);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 16px/1.65 Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-feature-settings: "cv11", "ss01", "ss03";
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
/* Ikony ze spritu (<use>) nedědí atributy kořene icons.svg — obrys se nastavuje tady */
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
::selection { background: color-mix(in srgb, var(--primary) 25%, transparent); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.022em; font-weight: 700; color: var(--fg); text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.5rem); letter-spacing: -.045em; line-height: 1.02; font-weight: 750; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.9rem); letter-spacing: -.035em; line-height: 1.08; }
h3 { font-size: 1.12rem; letter-spacing: -.015em; line-height: 1.3; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul { padding-left: 1.2em; }
code { font: .88em ui-monospace, "Cascadia Code", Consolas, monospace; background: var(--bg-soft); border: 1px solid var(--border); padding: 1px 6px; border-radius: 6px; }
pre.codeblock { margin: 16px 0 20px; padding: 16px 18px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); overflow-x: auto; font-size: .85rem; line-height: 1.6; }
pre.codeblock code { background: none; border: 0; padding: 0; font-size: 1em; white-space: pre; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .container { padding: 0 18px; } }
.muted { color: var(--muted); }
.center { text-align: center; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--card); padding: 8px 12px; border-radius: 8px; }
.grad {
  background: linear-gradient(100deg, var(--primary) 0%, var(--accent) 55%, var(--accent-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Hlavička ─────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; transition: background .3s, border-color .3s, box-shadow .3s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: var(--glass); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border-bottom-color: var(--border); }
.nav { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); font-weight: 700; font-size: 1.12rem; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 4px 14px -4px rgb(37 99 235 / .6); }
.brand small { font-weight: 500; color: var(--faint); font-size: .78rem; letter-spacing: 0; padding-left: 10px; border-left: 1px solid var(--border-strong); }
.nav-links { display: flex; gap: 2px; margin: 0 auto; list-style: none; padding: 0; }
.nav-links a { display: block; padding: 8px 14px; border-radius: 999px; color: var(--fg-2); font-weight: 500; font-size: .93rem; white-space: nowrap; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--fg); background: var(--bg-soft); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--fg); background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--border); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--card); color: var(--fg-2); cursor: pointer; transition: border-color .2s, color .2s;
}
.icon-btn:hover { border-color: var(--border-strong); color: var(--fg); }
.icon-btn svg { width: 18px; height: 18px; }
.theme-btn .i-sun { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun { display: block; }
:root[data-theme="dark"] .theme-btn .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-btn .i-moon { display: none; }
}
.menu-btn { display: none; }
@media (min-width: 1121px) { .nav-links .mobile-only { display: none; } }
@media (min-width: 1121px) and (max-width: 1340px) { .nav { gap: 14px; } .nav-links a { padding: 8px 10px; font-size: .9rem; } .brand small { display: none; } }
@media (max-width: 1120px) {
  .menu-btn { display: inline-grid; }
  .nav { gap: 10px; }
  .nav-actions { margin-left: auto; }
  .nav-actions .btn-login { display: none; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; margin: 0;
    background: var(--bg); border-bottom: 1px solid var(--border); padding: 10px 18px 18px; gap: 2px; box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; border-radius: 12px; font-size: 1rem; }
  .site-header:has(.nav-links.open) { background: var(--bg); border-bottom-color: var(--border); }
}
@media (max-width: 480px) { .brand small { display: none; } }

/* ── Tlačítka ─────────────────────────────────────────── */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font: 600 .96rem/1.2 inherit; letter-spacing: -.01em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, border-color .2s, color .2s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 17px; height: 17px; flex: none; transition: transform .2s var(--ease); }
.btn:hover svg.arrow { transform: translateX(3px); }
.btn-primary {
  background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 88%, white), var(--primary));
  color: var(--on-primary);
  box-shadow: 0 1px 0 rgb(255 255 255 / .25) inset, 0 0 0 1px color-mix(in srgb, var(--primary) 70%, black), 0 8px 22px -8px color-mix(in srgb, var(--primary) 80%, transparent);
}
.btn-primary:hover { box-shadow: 0 1px 0 rgb(255 255 255 / .25) inset, 0 0 0 1px color-mix(in srgb, var(--primary) 70%, black), 0 14px 30px -10px color-mix(in srgb, var(--primary) 90%, transparent); transform: translateY(-1px); }
.btn-dark { background: var(--fg); color: var(--bg); }
.btn-dark:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline { border-color: var(--border-strong); color: var(--fg); background: var(--card); box-shadow: var(--shadow-sm); }
.btn-outline:hover { border-color: var(--faint); }
.btn-ghost { color: var(--fg-2); }
.btn-ghost:hover { color: var(--fg); background: var(--bg-soft); }
.btn-sm { padding: 8px 16px; font-size: .88rem; }
.btn-lg { padding: 15px 28px; font-size: 1.02rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── Sekce ────────────────────────────────────────────── */
section { padding: 110px 0; position: relative; }
@media (max-width: 760px) { section { padding: 72px 0; } }
.section-soft { background: var(--bg-soft); border-block: 1px solid var(--border); }
.section-head { max-width: 760px; margin: 0 auto 60px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.12rem; }
.section-head.left { margin-left: 0; text-align: left; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; letter-spacing: .02em;
  color: var(--primary); margin-bottom: 18px; padding: 5px 12px; border-radius: 999px;
  background: var(--primary-soft); border: 1px solid color-mix(in srgb, var(--primary) 18%, transparent);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 22%, transparent); }

/* Světelné pozadí a mřížka */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.aurora::before, .aurora::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55;
}
.aurora::before { width: 720px; height: 520px; left: 50%; top: -260px; transform: translateX(-75%); background: radial-gradient(closest-side, color-mix(in srgb, var(--primary) 55%, transparent), transparent); animation: drift 18s ease-in-out infinite alternate; }
.aurora::after { width: 640px; height: 480px; left: 50%; top: -200px; transform: translateX(5%); background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 45%, transparent), transparent); animation: drift 22s ease-in-out infinite alternate-reverse; }
.gridbg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
}
@keyframes drift { from { translate: 0 0; } to { translate: 60px 40px; } }

.page-hero { position: relative; padding: 96px 0 56px; overflow: hidden; }
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.page-hero p { color: var(--muted); font-size: 1.18rem; max-width: 720px; }
.page-hero.center p { margin-left: auto; margin-right: auto; }

/* ── Hero úvodní stránky ──────────────────────────────── */
.hero { position: relative; padding: 88px 0 40px; overflow: hidden; }
.hero > .container { position: relative; z-index: 1; }
.hero-copy { max-width: 880px; margin: 0 auto; text-align: center; }
.hero p.lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--muted); max-width: 680px; margin: 22px auto 0; }
.hero .btn-row { justify-content: center; margin: 34px 0 22px; }
.hero-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: .92rem; }
.hero-points li { display: flex; align-items: center; gap: 7px; }
.hero-points svg { width: 16px; height: 16px; color: var(--success); stroke-width: 2.4; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--border); font-size: .87rem; font-weight: 500; color: var(--fg-2);
  margin-bottom: 26px; box-shadow: var(--shadow-sm); backdrop-filter: blur(8px);
}
.pill b { background: linear-gradient(100deg, var(--primary), var(--accent)); color: #fff; padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 600; }
.pill svg { width: 14px; height: 14px; color: var(--faint); }
.pill:hover { text-decoration: none; border-color: var(--border-strong); }

/* Ukázka aplikace */
.showcase { position: relative; margin: 64px auto 0; max-width: 1080px; perspective: 1800px; }
.showcase::before {
  content: ""; position: absolute; inset: 10% 6% -6%; border-radius: 40px; z-index: -1; filter: blur(60px); opacity: .5;
  background: linear-gradient(100deg, var(--primary), var(--accent) 60%, var(--accent-2));
}
.app {
  display: grid; grid-template-columns: 210px 1fr; min-height: 470px; border-radius: 16px; overflow: hidden;
  background: var(--card); border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg);
  transform: rotateX(8deg) scale(.98); transform-origin: 50% 0; transition: transform 1.2s var(--ease);
  font-size: .8rem; text-align: left;
}
.showcase.in .app { transform: rotateX(0) scale(1); }
.app-side { background: var(--bg-soft); border-right: 1px solid var(--border); padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; }
.app-dots { display: flex; gap: 6px; padding: 2px 6px 14px; }
.app-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.app-dots i:nth-child(1) { background: #ff5f57; } .app-dots i:nth-child(2) { background: #febc2e; } .app-dots i:nth-child(3) { background: #28c840; }
.app-side .grp { font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); padding: 12px 8px 4px; font-weight: 600; }
.app-side a { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 7px; color: var(--fg-2); font-weight: 500; }
.app-side a:hover { text-decoration: none; }
.app-side a.on { background: var(--card); color: var(--fg); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--border); }
.app-side a svg { width: 14px; height: 14px; color: var(--faint); }
.app-side a.on svg { color: var(--primary); }
.app-main { padding: 18px 22px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.app-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.app-top b { font-size: 1.05rem; letter-spacing: -.02em; }
.app-search { flex: 1; max-width: 260px; height: 30px; border-radius: 8px; border: 1px solid var(--border); background: var(--bg-soft); color: var(--faint); display: flex; align-items: center; padding: 0 10px; gap: 8px; }
.app-search kbd { margin-left: auto; font-size: .68rem; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kpi { border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; }
.kpi span { color: var(--muted); font-size: .7rem; }
.kpi b { display: block; font-size: 1.02rem; letter-spacing: -.02em; margin-top: 2px; font-variant-numeric: tabular-nums; }
.kpi em { font-style: normal; font-size: .68rem; color: var(--success); font-weight: 600; }
.app-split { display: grid; grid-template-columns: 1.35fr 1fr; gap: 12px; flex: 1; }
.panel { border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; min-width: 0; }
.panel h5 { margin: 0 0 6px; font-size: .74rem; color: var(--muted); font-weight: 600; display: flex; justify-content: space-between; }
.row { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid var(--border); }
.row:first-of-type { border-top: 0; }
.row .av { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; font-size: .66rem; font-weight: 700; color: #fff; flex: none; }
.row .nm { flex: 1; min-width: 0; }
.row .nm b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .nm span { color: var(--faint); font-size: .7rem; }
.row .am { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 120px; padding-top: 8px; }
.bars i { flex: 1; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--primary), color-mix(in srgb, var(--primary) 35%, transparent)); transform-origin: bottom; transform: scaleY(.1); transition: transform 1s var(--ease); }
.showcase.in .bars i { transform: scaleY(1); }
.bars i:nth-child(odd) { background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent) 30%, transparent)); }
.bars-l { display: flex; gap: 6px; font-size: .62rem; color: var(--faint); margin-top: 4px; }
.bars-l span { flex: 1; text-align: center; }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: .68rem; font-weight: 600; white-space: nowrap; }
.tag-ok { background: var(--success-soft); color: var(--success); }
.tag-ai { background: var(--primary-soft); color: var(--primary); }
.tag-warn { background: var(--warning-soft); color: var(--warning); }

.float {
  position: absolute; z-index: 2; background: var(--card); border: 1px solid var(--border-strong); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 12px 14px; font-size: .78rem; text-align: left;
  animation: bob 6s ease-in-out infinite;
}
.float b { font-weight: 600; }
.float-ai { left: -34px; top: 150px; width: 230px; }
.float-ai .ln { display: flex; justify-content: space-between; gap: 8px; padding: 4px 0; border-top: 1px dashed var(--border); }
.float-ai .ln:first-of-type { border-top: 0; }
.float-ai .ln span { color: var(--muted); }
.float-receipt {
  right: -30px; bottom: -40px; width: 190px; background: #fffdf8; color: #111; border-color: #e7e2d6;
  font: 11px/1.5 ui-monospace, Consolas, monospace; transform: rotate(3deg); animation-delay: -3s; padding: 14px 14px 18px;
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 8px) no-repeat, radial-gradient(circle 5px at 50% 100%, transparent 98%, #000) bottom / 12px 9px repeat-x;
          mask: linear-gradient(#000 0 0) top / 100% calc(100% - 8px) no-repeat, radial-gradient(circle 5px at 50% 100%, transparent 98%, #000) bottom / 12px 9px repeat-x;
}
.float-receipt hr { border: 0; border-top: 1px dashed #aaa; margin: 6px 0; }
.float-receipt .r { display: flex; justify-content: space-between; }
.float-receipt .qr { width: 46px; height: 46px; margin: 8px auto 0; background: conic-gradient(#111 25%, #fff 0 50%, #111 0 75%, #fff 0) 0 0 / 10px 10px; outline: 3px solid #111; outline-offset: -3px; }
.float-eet { right: -36px; top: 118px; display: flex; align-items: center; gap: 10px; animation-delay: -1.5s; }
.float-eet .dot { width: 30px; height: 30px; border-radius: 9px; background: var(--success-soft); color: var(--success); display: grid; place-items: center; }
.float-eet .dot svg { width: 16px; height: 16px; stroke-width: 2.4; }
.float-eet span { display: block; color: var(--muted); font-size: .7rem; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@media (max-width: 1100px) { .float-ai { left: 12px; top: auto; bottom: -50px; } .float-receipt { right: 12px; } }
@media (max-width: 860px) {
  .app { grid-template-columns: 1fr; min-height: 0; }
  .app-side { display: none; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .app-split { grid-template-columns: 1fr; }
  .float-ai, .float-eet { display: none; }
  .float-receipt { right: 8px; bottom: -36px; width: 160px; }
}
@media (max-width: 520px) { .float-receipt { display: none; } .app-search { display: none; } }

/* ── Pruh integrací (marquee) ─────────────────────────── */
.marquee { padding: 70px 0 10px; }
.marquee p { text-align: center; color: var(--faint); font-size: .86rem; font-weight: 500; margin-bottom: 22px; }
.marquee-track { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-row { display: flex; gap: 56px; padding-right: 56px; flex: none; animation: scroll 38s linear infinite; }
.marquee-row span { font-size: 1.25rem; font-weight: 700; letter-spacing: -.03em; color: var(--faint); white-space: nowrap; display: flex; align-items: center; gap: 10px; }
.marquee-row span small { font-size: .62rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; border: 1px solid var(--border-strong); }
@keyframes scroll { to { transform: translateX(-100%); } }

/* ── Bento ────────────────────────────────────────────── */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile {
  position: relative; grid-column: span 2; background: var(--card); border: 1px solid var(--border); border-radius: 22px;
  padding: 28px; overflow: hidden; display: flex; flex-direction: column; min-height: 300px;
  transition: border-color .3s, box-shadow .3s, transform .3s var(--ease);
}
.tile:hover { border-color: var(--border-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.tile.w3 { grid-column: span 3; } .tile.w4 { grid-column: span 4; } .tile.w6 { grid-column: span 6; }
.tile h3 { font-size: 1.22rem; margin-bottom: 8px; }
.tile p { color: var(--muted); font-size: .96rem; margin: 0; }
.tile .viz { margin-top: auto; padding-top: 22px; }
.tile .k { font-size: .76rem; font-weight: 600; color: var(--primary); margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.tile .k svg { width: 15px; height: 15px; }
.tile-dark { background: radial-gradient(120% 120% at 100% 0%, #1b2a5e 0%, var(--ink-panel) 55%); border-color: #1a2340; color: #e8ecf6; }
.tile-dark h3 { color: #fff; } .tile-dark p { color: #a8b3cc; } .tile-dark .k { color: #8fb0ff; }
@media (max-width: 1000px) { .bento { grid-template-columns: repeat(2, 1fr); } .tile, .tile.w3, .tile.w4 { grid-column: span 1; } .tile.w6, .tile.wide-m { grid-column: span 2; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .tile, .tile.w3, .tile.w4, .tile.w6, .tile.wide-m { grid-column: span 1; } .tile { min-height: 0; } }

/* Vizualizace v dlaždicích */
.extract { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: center; }
.doc { position: relative; background: #fff; color: #222; border-radius: 10px; padding: 14px; border: 1px solid #e6e8ee; box-shadow: 0 10px 30px -12px rgb(0 0 0 / .25); font-size: .64rem; overflow: hidden; }
.doc .l { height: 6px; border-radius: 3px; background: #e9ecf2; margin: 6px 0; }
.doc .l.h { height: 9px; width: 55%; background: #cfd6e4; }
.doc .l.s { width: 40%; } .doc .l.m { width: 70%; }
.doc .hl { background: color-mix(in srgb, #2563eb 22%, transparent); outline: 1px solid #2563eb; border-radius: 3px; }
.doc::after { content: ""; position: absolute; left: 0; right: 0; height: 40px; top: -40px; background: linear-gradient(180deg, transparent, rgb(37 99 235 / .25), transparent); animation: scan 3.2s ease-in-out infinite; }
@keyframes scan { 0% { top: -40px; } 60%, 100% { top: 110%; } }
.fields { display: flex; flex-direction: column; gap: 7px; }
.field { display: flex; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: 9px; background: var(--bg-soft); border: 1px solid var(--border); font-size: .76rem; opacity: 0; translate: 8px 0; transition: opacity .5s, translate .5s var(--ease); }
.field span { color: var(--muted); } .field b { font-weight: 600; font-variant-numeric: tabular-nums; }
.in .field { opacity: 1; translate: 0 0; }
.in .field:nth-child(2) { transition-delay: .15s; } .in .field:nth-child(3) { transition-delay: .3s; } .in .field:nth-child(4) { transition-delay: .45s; } .in .field:nth-child(5) { transition-delay: .6s; }
.tile-dark .field { background: rgb(255 255 255 / .05); border-color: rgb(255 255 255 / .09); }
.tile-dark .field span { color: #93a0bb; }

.chat { display: flex; flex-direction: column; gap: 8px; font-size: .82rem; }
.chat .me { align-self: flex-end; background: var(--primary); color: #fff; padding: 8px 12px; border-radius: 14px 14px 4px 14px; max-width: 85%; }
.chat .ai { align-self: flex-start; background: var(--bg-soft); border: 1px solid var(--border); padding: 8px 12px; border-radius: 14px 14px 14px 4px; max-width: 90%; }
.chat .ai b { color: var(--fg); }
.typing { display: inline-flex; gap: 3px; } .typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--faint); animation: blink 1.2s infinite; } .typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }

.match { display: flex; flex-direction: column; gap: 8px; }
.match .m { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 11px; border: 1px solid var(--border); background: var(--card); font-size: .78rem; }
.match .m .nm { flex: 1; } .match .m .nm span { display: block; color: var(--faint); font-size: .7rem; }
.match .link { align-self: center; color: var(--success); display: flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 600; }
.match .link svg { width: 14px; height: 14px; stroke-width: 2.4; }

.xml { font: .72rem/1.65 ui-monospace, Consolas, monospace; background: #0a0f1e; color: #b7c3dd; border-radius: 12px; padding: 14px 16px; border: 1px solid #1a2340; overflow: hidden; white-space: pre; }
.xml .t { color: #82a8ff; } .xml .a { color: #c4a7ff; } .xml .v { color: #7ee2b8; }

.queue { display: flex; flex-direction: column; gap: 6px; }
.queue .q { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px; background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .09); font-size: .76rem; }
.queue .q b { flex: 1; font-weight: 500; color: #dfe6f5; }
.queue .q .st { font-size: .66rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.st-ok { background: rgb(74 222 128 / .14); color: #6ee7a0; }
.st-wait { background: rgb(251 191 36 / .14); color: #fcd34d; }
.st-wait::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: 5px; animation: blink 1.2s infinite; }

.devices { display: flex; gap: 10px; align-items: flex-end; justify-content: center; }
.dev { border: 1px solid var(--border-strong); background: var(--bg-soft); border-radius: 10px; display: grid; place-items: center; color: var(--primary); }
.dev svg { width: 22px; height: 22px; }
.dev.pc { width: 120px; height: 78px; } .dev.tab { width: 76px; height: 96px; } .dev.ph { width: 44px; height: 80px; border-radius: 12px; }

.metric { font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 750; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }

/* ── Kroky (jak to funguje) ───────────────────────────── */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: f; }
.flow-step { position: relative; padding: 28px; border-radius: 22px; border: 1px solid var(--border); background: var(--card); counter-increment: f; }
.flow-step::before { content: "0" counter(f); font-size: .8rem; font-weight: 700; color: var(--primary); letter-spacing: .06em; display: block; margin-bottom: 18px; }
.flow-step h3 { font-size: 1.2rem; }
.flow-step p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .flow { grid-template-columns: 1fr; } }

/* ── Karty a mřížky ───────────────────────────────────── */
.grid { display: grid; gap: 18px; }
.grid > * { min-width: 0; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; transition: border-color .3s, box-shadow .3s; }
.card:hover { border-color: var(--border-strong); }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card h3 { display: flex; align-items: center; gap: 10px; }
.card-lg { padding: 34px; }
.ico {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; flex: none; margin-bottom: 18px;
  color: var(--primary); background: linear-gradient(180deg, var(--card), var(--primary-soft));
  border: 1px solid color-mix(in srgb, var(--primary) 20%, var(--border)); box-shadow: var(--shadow-sm);
}
.ico svg { width: 21px; height: 21px; }
.card .ico + h3 { margin-top: 0; }
.app-logo { display: block; width: 56px; height: 56px; flex: none; margin-bottom: 18px; border-radius: 14px; box-shadow: var(--shadow-sm); }
.product {
  position: relative; display: flex; flex-direction: column; border-radius: 24px; padding: 36px; border: 1px solid var(--border);
  background: var(--card); box-shadow: var(--shadow); overflow: hidden;
}
.product::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--primary) 60%, transparent), transparent); }
.product .btn-row { margin-top: auto; padding-top: 18px; }
.product ul { margin: 0 0 1em; }
a.product { transition: transform .3s var(--ease), box-shadow .3s; }
a.product:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { position: relative; padding-left: 28px; margin: 9px 0; color: var(--fg-2); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--success-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* ── Tmavý panel (EET, CTA) ───────────────────────────── */
.band {
  position: relative; overflow: hidden; border-radius: 28px; padding: 56px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center;
  background: radial-gradient(90% 140% at 100% 0%, #233a8a 0%, transparent 55%), radial-gradient(70% 120% at 0% 100%, #3b1d7a 0%, transparent 60%), var(--ink-panel);
  color: #e6ebf5; border: 1px solid #1a2340; box-shadow: var(--shadow-lg);
}
.band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgb(255 255 255 / .04) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .04) 1px, transparent 1px);
  background-size: 40px 40px; mask-image: radial-gradient(ellipse at 70% 30%, #000, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000, transparent 70%);
}
.band > * { position: relative; z-index: 1; }
.band h2 { color: #fff; }
.band p { color: #b3bed6; font-size: 1.06rem; }
.band .eyebrow { background: rgb(255 255 255 / .08); border-color: rgb(255 255 255 / .14); color: #a9c1ff; }
.band .btn-outline { background: rgb(255 255 255 / .06); color: #fff; border-color: rgb(255 255 255 / .22); box-shadow: none; }
.band .btn-outline:hover { border-color: rgb(255 255 255 / .5); }
.band .btn-primary { background: #fff; color: #0a0f1e; box-shadow: 0 10px 30px -10px rgb(140 170 255 / .7); }
.band-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.band-stats div { background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .1); border-radius: 16px; padding: 18px; }
.band-stats b { display: block; font-size: 1.6rem; letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; }
.band-stats span { font-size: .84rem; color: #a8b3cc; }
.band.cta { grid-template-columns: 1fr; text-align: center; padding: 80px 40px; }
.band.cta h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); max-width: 760px; margin: 0 auto 16px; }
.band.cta p { max-width: 580px; margin: 0 auto; }
.band.cta .btn-row { justify-content: center; margin-top: 32px; }
@media (max-width: 860px) { .band { grid-template-columns: 1fr; padding: 32px 24px; border-radius: 22px; } .band.cta { padding: 56px 22px; } }

.notice {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 14px;
  background: var(--warning-soft); color: var(--fg); border: 1px solid color-mix(in srgb, var(--warning) 28%, transparent);
}
.notice svg { width: 20px; height: 20px; color: var(--warning); flex: none; margin-top: 3px; }
.notice.info { background: var(--primary-soft); border-color: color-mix(in srgb, var(--primary) 25%, transparent); }
.notice.info svg { color: var(--primary); }
.notice p:last-child { margin-bottom: 0; }

/* ── Integrace ────────────────────────────────────────── */
.integrations { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.integration { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--border); background: var(--card); font-weight: 600; box-shadow: var(--shadow-sm); }
.integration.ready { border-color: color-mix(in srgb, var(--success) 35%, var(--border)); }

/* ── Ceník ────────────────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 540px; margin: 0 auto; } }
.plan { display: flex; flex-direction: column; position: relative; border-radius: 24px; }
.plan h3 { font-size: 1.25rem; }
.plan.featured { border: 1px solid transparent; background: linear-gradient(var(--card), var(--card)) padding-box, linear-gradient(140deg, var(--primary), var(--accent), var(--accent-2)) border-box; box-shadow: var(--shadow-lg); }
.plan .ribbon { position: absolute; top: 22px; right: 22px; background: linear-gradient(100deg, var(--primary), var(--accent)); color: #fff; font-size: .72rem; font-weight: 600; padding: 4px 11px; border-radius: 999px; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 14px 0 4px; }
.price b { font-size: 3rem; letter-spacing: -.05em; line-height: 1; font-weight: 750; font-variant-numeric: tabular-nums; }
.price span { color: var(--muted); }
.plan .btn { margin-top: auto; }
.plan .checks { margin-top: 14px; padding-top: 18px; border-top: 1px solid var(--border); }
table.tbl { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tbl th, .tbl td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--border); vertical-align: top; }
.tbl th { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; background: var(--bg-soft); }
.tbl td.num, .tbl th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tbl tbody tr { transition: background .2s; }
.tbl tbody tr:hover { background: var(--bg-soft); }
.tbl tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); }
.yes { color: var(--success); font-weight: 700; }
.no { color: var(--faint); }

/* ── Stažení ──────────────────────────────────────────── */
.dl { display: flex; flex-direction: column; gap: 10px; }
.dl-item { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid var(--border); border-radius: 16px; background: var(--card); color: var(--fg); transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; }
a.dl-item:hover { border-color: color-mix(in srgb, var(--primary) 45%, var(--border)); text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow); }
.dl-item svg.os { width: 28px; height: 28px; flex: none; color: var(--fg-2); }
.dl-item .meta { flex: 1; min-width: 0; }
.dl-item .meta b { display: block; font-weight: 600; }
.dl-item .meta span { font-size: .85rem; color: var(--muted); }
.dl-item .go { color: var(--primary); font-weight: 600; font-size: .88rem; white-space: nowrap; display: flex; align-items: center; gap: 6px; }

/* ── Návody ───────────────────────────────────────────── */
.docs { display: grid; grid-template-columns: 270px 1fr; gap: 56px; align-items: start; }
.docs > * { min-width: 0; }
.toc { position: sticky; top: 96px; font-size: .92rem; max-height: calc(100vh - 120px); overflow: auto; padding-right: 6px; }
.toc h4 { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); margin: 22px 0 6px; font-weight: 600; }
.toc h4:first-of-type { margin-top: 6px; }
.toc ul { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--border); }
.toc a { display: block; padding: 5px 12px; margin-left: -1px; border-left: 1px solid transparent; color: var(--muted); }
.toc a:hover { color: var(--fg); text-decoration: none; }
.toc a.active { color: var(--primary); border-left-color: var(--primary); font-weight: 500; }
.guide { padding-bottom: 44px; margin-bottom: 44px; border-bottom: 1px solid var(--border); }
.guide:last-child { border-bottom: 0; }
.guide h2 { font-size: 1.7rem; }
.guide h3 { margin-top: 1.6em; }
.guide p, .guide li { color: var(--fg-2); }
.guide code { overflow-wrap: anywhere; }
.tbl code { white-space: nowrap; overflow-wrap: normal; }
.guide .tbl td:last-child { min-width: 220px; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps > li { counter-increment: s; position: relative; padding-left: 46px; margin: 0 0 16px; min-height: 30px; }
.steps > li::before {
  content: counter(s); position: absolute; left: 0; top: -1px; width: 30px; height: 30px; border-radius: 10px;
  background: var(--card); border: 1px solid var(--border-strong); color: var(--fg); font-weight: 600; font-size: .82rem; display: grid; place-items: center; box-shadow: var(--shadow-sm);
}
kbd, .ui { font: 600 .86em Inter, system-ui, sans-serif; background: var(--bg-soft); border: 1px solid var(--border-strong); border-radius: 7px; padding: 1px 7px; box-decoration-break: clone; -webkit-box-decoration-break: clone; color: var(--fg); }
kbd { white-space: nowrap; box-shadow: 0 1px 0 var(--border-strong); }
.doc-search { width: 100%; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--border-strong); background: var(--card); color: var(--fg); font: inherit; margin-bottom: 8px; }
.doc-search:focus { outline: 2px solid color-mix(in srgb, var(--primary) 40%, transparent); border-color: var(--primary); }
@media (max-width: 900px) {
  .docs { grid-template-columns: 1fr; gap: 32px; }
  .toc { position: static; max-height: none; border: 1px solid var(--border); border-radius: 16px; padding: 16px; }
}

/* ── FAQ ──────────────────────────────────────────────── */
.faq details { border-bottom: 1px solid var(--border); }
.faq details:first-child { border-top: 1px solid var(--border); }
.faq summary { cursor: pointer; padding: 22px 4px; font-weight: 600; font-size: 1.04rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 22px; height: 22px; flex: none; border-radius: 50%; border: 1px solid var(--border-strong); background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6579' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 12px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 4px 22px; color: var(--muted); max-width: 720px; }

/* ── Funkce (detail) ──────────────────────────────────── */
.feature-block { display: grid; grid-template-columns: 320px 1fr; gap: 56px; padding: 64px 0; border-top: 1px solid var(--border); }
.feature-block:first-of-type { border-top: 0; }
.feature-block > div:first-child { position: sticky; top: 100px; align-self: start; }
.feature-block > div:first-child h2 { font-size: 2rem; }
.feature-block > div:first-child p { color: var(--muted); font-size: 1.04rem; }
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; }
.feature-list > div { background: var(--card); padding: 22px 24px; transition: background .2s; }
.feature-list > div:hover { background: var(--bg-soft); }
.feature-list h4 { font-size: 1rem; margin-bottom: 6px; letter-spacing: -.01em; }
.feature-list p { color: var(--muted); font-size: .94rem; margin: 0; }
.feature-list > div:last-child:nth-child(odd) { grid-column: span 2; }
@media (max-width: 900px) { .feature-block { grid-template-columns: 1fr; gap: 24px; padding: 48px 0; } .feature-block > div:first-child { position: static; } .feature-list { grid-template-columns: 1fr; } .feature-list > div:last-child:nth-child(odd) { grid-column: auto; } }
.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.subnav a { padding: 8px 15px; border-radius: 999px; border: 1px solid var(--border); background: var(--glass); color: var(--fg-2); font-size: .88rem; font-weight: 500; backdrop-filter: blur(6px); }
.subnav a:hover { border-color: var(--border-strong); color: var(--fg); text-decoration: none; }

/* ── Časová osa EET ───────────────────────────────────── */
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { position: relative; padding: 0 0 28px 34px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--card); border: 4px solid var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.timeline li::after { content: ""; position: absolute; left: 7px; top: 24px; bottom: 0; width: 2px; background: linear-gradient(var(--primary), var(--border)); }
.timeline li:last-child::after { display: none; }
.timeline b { display: block; font-size: 1.1rem; letter-spacing: -.02em; }

/* ── Odhalování při scrollu ───────────────────────────── */
/* Hero je vidět hned (bez opacity 0 — nezdržuje LCP), jen se jemně zvedne */
.rise { animation: rise .9s var(--ease) both; }
.hero-copy .rise:nth-child(2) { animation-delay: .05s; } .hero-copy .rise:nth-child(3) { animation-delay: .1s; }
.hero-copy .rise:nth-child(4) { animation-delay: .15s; } .hero-copy .rise:nth-child(5) { animation-delay: .2s; }
@keyframes rise { from { transform: translateY(14px); } to { transform: none; } }
.js .reveal { opacity: 0; translate: 0 24px; transition: opacity .8s var(--ease), translate .8s var(--ease); }
.js .reveal.in { opacity: 1; translate: 0 0; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; }

/* ── Patička ──────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--border); padding: 72px 0 32px; font-size: .92rem; background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer-grid h4 { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); font-weight: 600; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: 9px 0; }
.footer-grid a { color: var(--fg-2); }
.footer-grid a:hover { color: var(--fg); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--faint); font-size: .85rem; }
.status { display: inline-flex; align-items: center; gap: 8px; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px color-mix(in srgb, var(--success) 25%, transparent); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; translate: 0 0; }
  .app { transform: none; } .bars i { transform: none; } .field { opacity: 1; translate: 0 0; }
}
@media print { .site-header, .site-footer, .aurora, .gridbg { display: none; } }
@media (max-width: 560px) {
  .hide-sm { display: none; }
  .hero .btn-row .btn { flex: 1 1 100%; }
  .pill { white-space: nowrap; }
}

/* ── Kontakt ──────────────────────────────────────────── */
a.contact-card { color: inherit; }
a.contact-card:hover { text-decoration: none; }
.contact-label { font-size: .8rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; }
.contact-value { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 700; letter-spacing: -.035em; margin: 4px 0 10px; font-variant-numeric: tabular-nums; color: var(--fg); }
.facts { margin: 0; display: grid; gap: 0; }
.facts > div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 13px 0; border-top: 1px solid var(--border); }
.facts > div:first-child { border-top: 0; padding-top: 0; }
.facts dt { color: var(--muted); font-size: .9rem; }
.facts dd { margin: 0; font-weight: 500; }
@media (max-width: 520px) { .facts > div { grid-template-columns: 1fr; gap: 2px; } }
.footer-company { margin-top: 18px; font-size: .86rem; color: var(--faint); line-height: 1.6; }
.footer-company a { color: var(--fg-2); }

/* Právní texty (ochrana osobních údajů, smazání účtu) */
.legal { max-width: 780px; }
.legal h2 { font-size: 1.35rem; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--muted); line-height: 1.7; }
.legal ul, .legal ol { padding-left: 1.3em; margin: 8px 0 16px; }
.legal li { margin: 4px 0; }
.legal strong { color: var(--fg); }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: .95rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.legal th { font-weight: 600; }
@media (max-width: 640px) { .legal table, .legal tbody, .legal tr, .legal td, .legal th { display: block; } .legal thead { display: none; } .legal td { border: 0; padding: 4px 0; } .legal tr { border-bottom: 1px solid var(--border); padding: 10px 0; } }
@media (max-width: 640px) { .legal td[data-label]::before { content: attr(data-label) ": "; color: var(--muted); } }

/* ── Návody: rozcestník ───────────────────────────────── */
.hub-search { position: relative; max-width: 720px; margin: 0 auto 44px; }
.hub-search svg { position: absolute; left: 18px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; color: var(--faint); }
.hub-search input { width: 100%; padding: 16px 18px 16px 50px; border-radius: 16px; border: 1px solid var(--border-strong); background: var(--card); color: var(--fg); font: inherit; font-size: 1.05rem; box-shadow: var(--shadow); }
.hub-search input:focus { outline: 2px solid color-mix(in srgb, var(--primary) 40%, transparent); border-color: var(--primary); }
.hub-videos h2, .hub-cat h2 { font-size: 1.4rem; margin: 0; }
.hub-videos { margin-bottom: 56px; }
.hub-videos h2 { margin-bottom: 18px; }
.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .vgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .vgrid { grid-template-columns: 1fr; } }
.vcard { display: flex; flex-direction: column; gap: 10px; color: var(--fg); }
.vcard:hover { text-decoration: none; }
.vthumb { position: relative; display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); aspect-ratio: 16 / 10; background: var(--bg-soft); }
.vthumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.vcard:hover .vthumb img { transform: scale(1.03); }
.vthumb .play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 58px; height: 58px; border-radius: 50%; background: rgb(10 15 30 / .72); backdrop-filter: blur(4px); box-shadow: 0 10px 30px rgb(0 0 0 / .3); transition: transform .3s var(--ease), background .3s; }
.vthumb .play::after { content: ""; position: absolute; left: 23px; top: 18px; border-left: 18px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.vcard:hover .play { transform: scale(1.08); background: var(--primary); }
.vthumb .vlen { position: absolute; right: 10px; bottom: 10px; font-size: .74rem; font-weight: 600; color: #fff; background: rgb(10 15 30 / .75); padding: 2px 8px; border-radius: 6px; }
.vcard b { font-weight: 600; letter-spacing: -.01em; }
.hub-cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 900px) { .hub-cats { grid-template-columns: 1fr; } }
.hub-cat { padding: 26px; border-radius: 22px; border: 1px solid var(--border); background: var(--card); scroll-margin-top: 90px; }
.hub-cat-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.hub-cat-head .ico { margin: 0; }
.hub-cat-head p { color: var(--muted); margin: 4px 0 0; font-size: .93rem; }
.hub-list { display: flex; flex-direction: column; }
.hub-list a { display: block; padding: 12px; margin: 0 -12px; border-radius: 12px; color: var(--fg); transition: background .2s; }
.hub-list a:hover { background: var(--bg-soft); text-decoration: none; }
.hub-list a b { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.hub-list a span { display: block; color: var(--muted); font-size: .88rem; margin-top: 2px; }
.badge-video { font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--primary); background: var(--primary-soft); padding: 2px 7px; border-radius: 999px; }

/* ── Návody: stránka návodu ───────────────────────────── */
.guide-hero { padding-bottom: 36px; }
.guide-hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); max-width: 860px; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: .9rem; margin-bottom: 18px; color: var(--faint); }
.crumbs a { color: var(--muted); }
.guide-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.guide-meta > * { display: inline-flex; align-items: center; gap: 7px; font-size: .86rem; font-weight: 500; color: var(--fg-2); padding: 6px 12px; border-radius: 999px; background: var(--glass); border: 1px solid var(--border); }
.guide-meta svg { width: 15px; height: 15px; color: var(--primary); }
.guide-meta a:hover { text-decoration: none; border-color: var(--primary); }
.guide-body { min-width: 0; max-width: 860px; }
.guide-body > h2 { font-size: 1.6rem; margin-top: 2.2em; }
.guide-body > h2:first-child { margin-top: 0; }
.guide-body > h3 { font-size: 1.15rem; margin-top: 1.8em; }
.guide-body p, .guide-body li { color: var(--fg-2); }
.guide-body ul { margin: 0 0 1.2em; }
.guide-body li { margin: 6px 0; }
.guide-body .notice { margin: 22px 0; }
.guide-body code { overflow-wrap: anywhere; }
.shot { margin: 24px 0 30px; }
.shot a { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--border-strong); box-shadow: var(--shadow); cursor: zoom-in; background: var(--bg-soft); }
.shot img { width: 100%; height: auto; transition: transform .4s var(--ease); }
.shot a:hover img { transform: scale(1.01); }
.shot figcaption, .guide-video figcaption { font-size: .86rem; color: var(--muted); margin-top: 10px; display: flex; align-items: center; gap: 8px; }
.guide-video { margin: 0 0 34px; scroll-margin-top: 90px; }
.guide-video video { width: 100%; height: auto; display: block; border-radius: 16px; border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg); background: #0a0f1e; }
.guide-video figcaption svg { width: 15px; height: 15px; color: var(--primary); }
.toc-video { font-size: .7rem; color: var(--primary); }
.guide-help { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 22px; margin: 44px 0 0; border-radius: 16px; background: var(--bg-soft); border: 1px solid var(--border); }
.guide-help b { display: block; }
.guide-help span { color: var(--muted); font-size: .92rem; }
.guide-body .related-h { font-size: 1.25rem; margin-top: 44px; }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 760px) { .related { grid-template-columns: 1fr; } .guide-help { flex-direction: column; align-items: flex-start; } }
.related a { display: block; padding: 16px; border-radius: 14px; border: 1px solid var(--border); background: var(--card); color: var(--fg); transition: border-color .2s, transform .2s var(--ease); }
.related a:hover { border-color: var(--border-strong); transform: translateY(-2px); text-decoration: none; }
.related b { display: block; font-weight: 600; margin-bottom: 4px; }
.related span { color: var(--muted); font-size: .86rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.guide-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border); }
.guide-pn a { display: block; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--border); color: var(--fg); }
.guide-pn a:hover { border-color: var(--primary); text-decoration: none; }
.guide-pn a span { display: block; font-size: .8rem; color: var(--muted); }
.guide-pn a b { font-weight: 600; }
.guide-pn .next { text-align: right; }

/* Lightbox screenshotů */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgb(5 7 14 / .88); display: flex; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out; animation: lbIn .2s ease; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 10px; box-shadow: 0 30px 80px rgb(0 0 0 / .5); }
.lightbox button { position: absolute; top: 16px; right: 16px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgb(255 255 255 / .12); color: #fff; font-size: 22px; cursor: pointer; }
@keyframes lbIn { from { opacity: 0; } }
@media (max-width: 900px) { .docs > .guide-body { order: 1; } .docs > .toc { order: 2; } }
.store-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.dl-item.dl-minor { padding: 10px 18px; background: transparent; box-shadow: none; }
.dl-item.dl-minor .meta b { font-weight: 500; font-size: .92rem; }
.dl-item.dl-minor svg.os { width: 22px; height: 22px; color: var(--faint); }
/* Produktové stránky (Kasa, Pohoda) a novinky */
.section-head .app-logo { margin: 0 auto 16px; }
.hero-shot { max-width: 1040px; margin: 44px auto 0; }
.hero-shot figcaption { justify-content: center; }
.news-wrap { max-width: 860px; padding-bottom: 72px; }
.news-day { padding: 28px 0; border-top: 1px solid var(--border); scroll-margin-top: 90px; }
.news-day:first-child { border-top: 0; }
.news-day h2 { font-size: 1.35rem; margin-bottom: 16px; }
.news { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.news li { display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: start; }
.news li .tag { justify-self: start; margin-top: 4px; }
.news li > div { color: var(--fg-2); }
@media (max-width: 560px) { .news li { grid-template-columns: 1fr; gap: 6px; } }

/* ── AI Šanon (/ai): kontrola dokladu, předkontace, schvalovací řetěz ── */
.aicheck { position: relative; max-width: 1060px; margin: 52px auto 0; display: grid; grid-template-columns: .92fr 1.08fr; border-radius: 26px; border: 1px solid var(--border); background: var(--card); box-shadow: var(--shadow-lg); overflow: hidden; text-align: left; }
.aicheck-doc { position: relative; padding: 30px 26px; background: var(--bg-soft); border-right: 1px solid var(--border); display: flex; align-items: center; justify-content: center; }
.aicheck-doc .doc { width: 100%; max-width: 360px; padding: 20px 20px 92px; font-size: .62rem; line-height: 1.45; }
.doc .dh { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.doc .dh b { color: #14532d; font-size: .82rem; } .doc .dh span { font-weight: 700; color: #111; font-size: .64rem; }
.doc .dt { width: 100%; border-collapse: collapse; margin: 10px 0 6px; font-size: .6rem; }
.doc .dt th { text-align: left; background: #f1f3f7; font-weight: 600; padding: 4px 5px; }
.doc .dt td { padding: 4px 5px; border-bottom: 1px solid #eef0f4; }
.doc .dt td:last-child, .doc .dt th:last-child { text-align: right; }
.doc .sum { display: flex; justify-content: space-between; font-weight: 700; padding-top: 4px; border-top: 1.5px solid #222; margin-left: 40%; }
.doc .rc { display: inline-block; margin-top: 8px; padding: 1px 4px; border-radius: 3px; background: color-mix(in srgb, #f59e0b 26%, transparent); outline: 1px solid #d97706; font-weight: 600; }
.stamp { position: absolute; bottom: 18px; padding: 5px 9px; border: 2px solid currentColor; border-radius: 6px; background: rgb(255 255 255 / .9); font-size: .56rem; line-height: 1.35; color: #15803d; rotate: -5deg; }
.stamp b { display: block; font-size: .7rem; letter-spacing: .08em; }
.stamp.s1 { left: 20px; } .stamp.s2 { right: 20px; color: #1d4ed8; rotate: 4deg; }
.js .stamp { opacity: 0; scale: 1.25; transition: opacity .35s, scale .35s var(--ease); }
.js .in .stamp { opacity: 1; scale: 1; }
.js .in .stamp.s1 { transition-delay: 1.5s; } .js .in .stamp.s2 { transition-delay: 1.9s; }
.aicheck-list { padding: 24px 26px 22px; }
.aicheck-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.aicheck-head b { font-size: .98rem; display: flex; align-items: center; gap: 8px; }
.aicheck-head b svg { width: 18px; height: 18px; color: var(--primary); }
.aicheck-head span { color: var(--faint); font-size: .76rem; }
.ck { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px dashed var(--border); font-size: .86rem; }
.ck:first-of-type { border-top: 0; }
.ck > span { color: var(--fg); font-weight: 500; line-height: 1.3; }
.ck small { display: block; color: var(--muted); font-size: .74rem; font-weight: 400; margin-top: 1px; }
.ck i { width: 20px; height: 20px; border-radius: 50%; background: var(--success-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.ck i.w { background: var(--warning-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d97706' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M12 6v8M12 18.5v.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.ck .tag { font-size: .7rem; }
.js .ck { opacity: 0; translate: 10px 0; transition: opacity .45s, translate .45s var(--ease); }
.js .in .ck { opacity: 1; translate: 0 0; }
.js .in .ck:nth-of-type(2) { transition-delay: .12s; } .js .in .ck:nth-of-type(3) { transition-delay: .24s; } .js .in .ck:nth-of-type(4) { transition-delay: .36s; }
.js .in .ck:nth-of-type(5) { transition-delay: .48s; } .js .in .ck:nth-of-type(6) { transition-delay: .6s; } .js .in .ck:nth-of-type(7) { transition-delay: .72s; }
.js .in .ck:nth-of-type(8) { transition-delay: .84s; } .js .in .ck:nth-of-type(9) { transition-delay: .96s; }
.aicheck-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding: 12px 14px; border-radius: 13px; background: var(--primary-soft); color: var(--primary); font-size: .86rem; font-weight: 600; }
.aicheck-foot span { color: var(--muted); font-weight: 400; font-size: .78rem; }
@media (max-width: 900px) { .aicheck { grid-template-columns: 1fr; } .aicheck-doc { border-right: 0; border-bottom: 1px solid var(--border); } }
@media (max-width: 520px) { .aicheck { margin-top: 36px; border-radius: 20px; } .aicheck-doc { padding: 20px 14px; } .aicheck-list { padding: 18px 16px; } .ck { font-size: .82rem; } .aicheck-head span { display: none; } .aicheck-foot { flex-direction: column; align-items: flex-start; } }

.srcs { display: grid; gap: 10px; }
.src { padding: 14px 16px; border-radius: 16px; background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .1); }
.src-top { display: flex; justify-content: space-between; gap: 10px; font-size: .9rem; color: #fff; font-weight: 600; }
.src-top em { font-style: normal; color: #8fb0ff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.src p { margin: 4px 0 0; font-size: .8rem; color: #a8b3cc; }
.src .bar { height: 6px; border-radius: 3px; background: rgb(255 255 255 / .08); margin-top: 10px; overflow: hidden; }
.src .bar i { display: block; height: 100%; width: var(--w); border-radius: 3px; background: linear-gradient(90deg, #5b8cff, #a78bfa); transform-origin: left; }
.js .src .bar i { transform: scaleX(0); transition: transform 1.1s var(--ease) .3s; }
.js .in .src .bar i { transform: scaleX(1); }
.src.res { background: rgb(74 222 128 / .1); border-color: rgb(74 222 128 / .3); }
.src.res .src-top em { color: #6ee7a0; }

.chain { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: c; }
.chain li { position: relative; padding: 22px 20px; border-radius: 20px; border: 1px solid var(--border); background: var(--card); counter-increment: c; }
.chain li:not(:last-child)::after { content: ""; position: absolute; top: 36px; right: -17px; width: 18px; height: 2px; background: linear-gradient(90deg, var(--primary), var(--accent)); }
.chain .who { --c: var(--primary); display: inline-flex; align-items: center; gap: 6px; font-size: .7rem; font-weight: 700; padding: 4px 10px 4px 5px; border-radius: 999px; background: var(--primary-soft); color: var(--c); margin-bottom: 14px; }
.chain .who::before { content: counter(c); display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: var(--c); color: var(--card); font-size: .64rem; }
.chain .who.ai { --c: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); }
.chain .who.ok { --c: var(--success); background: var(--success-soft); }
.chain h3 { font-size: 1.06rem; margin-bottom: 6px; }
.chain p { color: var(--muted); font-size: .9rem; margin: 0; }
@media (max-width: 1100px) { .chain { grid-template-columns: repeat(2, 1fr); } .chain li::after { display: none; } .chain li:last-child { grid-column: span 2; } }
@media (max-width: 640px) { .chain { grid-template-columns: 1fr; } .chain li:last-child { grid-column: auto; } }

.queue .st-due { background: rgb(251 191 36 / .14); color: #fcd34d; }
.band .checks li { color: #dbe3f3; }
.band .checks li::before { background-color: rgb(74 222 128 / .16); }
.stock-map { display: flex; flex-direction: column; gap: 7px; }
.stock-map .m { display: grid; grid-template-columns: 1fr 16px auto; gap: 8px; align-items: center; padding: 8px 12px; border-radius: 11px; border: 1px solid var(--border); background: var(--bg-soft); font-size: .76rem; }
.stock-map .m span { color: var(--muted); } .stock-map .m svg { width: 14px; height: 14px; color: var(--faint); }
@media (prefers-reduced-motion: reduce) { .js .ck, .js .stamp { opacity: 1; translate: none; scale: none; } .js .src .bar i { transform: none; } }
