/* ==========================================================================
   HubGet – web. Barvy a písmo vychází z desktopové aplikace.
   ========================================================================== */

:root {
  --accent: #4f6bff;
  --accent-hover: #3f5af0;
  --accent-soft: rgb(79 107 255 / 0.1);
  --bg: #f4f5f8;
  --bg-alt: #eceef3;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #5b6475;
  --border: rgb(15 23 42 / 0.08);
  --shadow: 0 1px 2px rgb(15 23 42 / 0.04), 0 8px 24px rgb(15 23 42 / 0.06);
  --shadow-lg: 0 2px 6px rgb(15 23 42 / 0.05), 0 24px 64px rgb(15 23 42 / 0.14);
  --green: #10b981;
  --blue: #38bdf8;
  --orange: #f59e0b;
  --term-bg: #ffffff;
  --term-text: #0f172a;
  --term-muted: #5b6475;
  --term-line: rgb(15 23 42 / 0.08);
  --term-btn: rgb(15 23 42 / 0.05);
  --term-btn-hover: rgb(15 23 42 / 0.09);
  --taskbar: #eef0f4;
  --taskbar-text: #0f172a;
  --taskbar-hover: rgb(15 23 42 / 0.07);
  --nav-bg: rgb(244 245 248 / 0.8);
  --radius: 16px;
  --radius-lg: 24px;
  --font: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  --font-display: "Inter", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --shot-light: block;
  --shot-dark: none;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --accent: #6b83ff;
    --accent-hover: #8296ff;
    --accent-soft: rgb(107 131 255 / 0.14);
    --bg: #0d0f14;
    --bg-alt: #11141a;
    --card: #171a21;
    --text: #eef0f5;
    --muted: #9aa3b5;
    --border: rgb(255 255 255 / 0.08);
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 8px 24px rgb(0 0 0 / 0.25);
    --shadow-lg: 0 2px 6px rgb(0 0 0 / 0.3), 0 24px 64px rgb(0 0 0 / 0.5);
    --nav-bg: rgb(13 15 20 / 0.75);
    --term-bg: #0f121a;
    --term-text: #e6e9f2;
    --term-muted: #7d869a;
    --term-line: rgb(255 255 255 / 0.08);
    --term-btn: rgb(255 255 255 / 0.06);
    --term-btn-hover: rgb(255 255 255 / 0.12);
    --taskbar: #1c1f26;
    --taskbar-text: #ffffff;
    --taskbar-hover: rgb(255 255 255 / 0.1);
    --shot-light: none;
    --shot-dark: block;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --accent: #6b83ff;
  --accent-hover: #8296ff;
  --accent-soft: rgb(107 131 255 / 0.14);
  --bg: #0d0f14;
  --bg-alt: #11141a;
  --card: #171a21;
  --text: #eef0f5;
  --muted: #9aa3b5;
  --border: rgb(255 255 255 / 0.08);
  --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 8px 24px rgb(0 0 0 / 0.25);
  --shadow-lg: 0 2px 6px rgb(0 0 0 / 0.3), 0 24px 64px rgb(0 0 0 / 0.5);
  --nav-bg: rgb(13 15 20 / 0.75);
  --term-bg: #0f121a;
  --term-text: #e6e9f2;
  --term-muted: #7d869a;
  --term-line: rgb(255 255 255 / 0.08);
  --term-btn: rgb(255 255 255 / 0.06);
  --term-btn-hover: rgb(255 255 255 / 0.12);
  --taskbar: #1c1f26;
  --taskbar-text: #ffffff;
  --taskbar-hover: rgb(255 255 255 / 0.1);
  --shot-light: none;
  --shot-dark: block;
  color-scheme: dark;
}

/* ---------- Základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0; }
kbd {
  font: 600 0.8em var(--font);
  padding: 0.1em 0.45em;
  border: 1px solid var(--border);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: var(--card);
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 32px); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 16px; }

/* ---------- Tlačítka ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 11px 20px;
  border-radius: 12px;
  font: 600 1rem/1 var(--font);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 6px 20px rgb(79 107 255 / 0.35); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--ghost { background: var(--card); color: var(--text); border-color: var(--border); box-shadow: var(--shadow); }
.btn--ghost:hover { border-color: var(--accent); }
.btn--sm { padding: 8px 14px; font-size: 0.92rem; border-radius: 10px; box-shadow: none; }
.btn--lg { padding: 15px 26px; font-size: 1.05rem; border-radius: 14px; }

.icon-btn {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 0; background: transparent; color: var(--muted);
  cursor: pointer;
}
.icon-btn:hover { background: var(--accent-soft); color: var(--text); }
.icon-btn svg { width: 20px; height: 20px; }

/* Přepínač jazyka CZ / EN */
.lang-switch {
  display: grid; place-items: center;
  height: 30px; padding: 0 9px; margin-right: 4px;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--muted);
  font: 650 0.78rem/1 var(--font);
  letter-spacing: 0.04em;
}
.lang-switch:hover { color: var(--text); border-color: var(--accent); background: var(--accent-soft); text-decoration: none; }
.i-moon { display: none; }
:root[data-theme="dark"] .i-sun { display: none; }
:root[data-theme="dark"] .i-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .i-sun { display: none; }
  :root:not([data-theme="light"]) .i-moon { display: block; }
}

/* ---------- Navigace ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: saturate(1.6) blur(16px);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.nav.is-scrolled { border-bottom-color: var(--border); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font: 700 1.15rem var(--font-display); letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.nav__links { display: flex; gap: 4px; margin-left: 16px; }
.nav__links a { color: var(--muted); font-size: 0.94rem; font-weight: 500; padding: 8px 12px; border-radius: 8px; }
.nav__links a:hover { color: var(--text); background: var(--accent-soft); text-decoration: none; }
.nav__actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__actions .btn { margin-left: 8px; }
/* Mobilní menu: tlačítko vkládá main.js, odkazy hlavičky se pod ním rozbalí přes celou šířku */
.nav__toggle { display: none; }
.nav__toggle .i-close,
.nav__toggle[aria-expanded="true"] .i-menu { display: none; }
.nav__toggle[aria-expanded="true"] .i-close { display: block; }
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__toggle { display: grid; }
  .nav.is-open { background: var(--bg); border-bottom-color: var(--border); }
  .nav.is-open .nav__links {
    display: grid; gap: 2px;
    position: absolute; top: 100%; left: 0; right: 0;
    margin: 0; padding: 8px 16px 20px;
    max-height: calc(100dvh - 64px); overflow-y: auto;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 24px 40px rgb(15 23 42 / 0.12);
  }
  .nav.is-open .nav__links a { padding: 14px 12px; border-radius: 10px; color: var(--text); font-size: 1.05rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 720px; z-index: -1;
  background:
    radial-gradient(40% 50% at 75% 30%, rgb(79 107 255 / 0.22), transparent 70%),
    radial-gradient(25% 35% at 90% 60%, rgb(56 189 248 / 0.16), transparent 70%),
    radial-gradient(25% 35% at 55% 70%, rgb(16 185 129 / 0.10), transparent 70%);
  pointer-events: none;
}
.hero__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero__meta { font-size: 0.9rem; color: var(--muted); }

/* Na telefonu: HubGet je pro počítač – nabídka poslat si odkaz (sdílení / kopírování, main.js) */
.phone-note { display: none; }
@media (max-width: 760px) and (pointer: coarse) {
  .phone-note {
    display: grid; gap: 12px; justify-items: start;
    padding: 16px 18px;
    border-radius: var(--radius);
    background: var(--accent-soft);
    color: var(--text); font-size: 0.95rem; text-align: left;
  }
}

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: var(--card); border: 1px solid var(--border);
  color: var(--text); font-size: 0.86rem; font-weight: 550;
  box-shadow: var(--shadow);
}
.pill:hover { text-decoration: none; border-color: var(--accent); }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgb(245 158 11 / 0.18); }

.hero__visual { position: relative; }
.window {
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.window__bar {
  display: flex; align-items: center; gap: 8px;
  height: 36px; padding-left: 12px;
  font-size: 0.78rem; color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.window__ctrl { display: flex; margin-left: auto; height: 100%; }
.window__ctrl i { width: 44px; height: 100%; position: relative; }
.window__ctrl i::before { content: ""; position: absolute; inset: 0; margin: auto; width: 10px; height: 1px; background: currentColor; }
.window__ctrl i:nth-child(2)::before { height: 10px; background: none; border: 1px solid currentColor; border-radius: 2px; }
.window__ctrl i:nth-child(3)::before { width: 12px; height: 1px; transform: rotate(45deg); }
.window__ctrl i:nth-child(3)::after { content: ""; position: absolute; inset: 0; margin: auto; width: 12px; height: 1px; background: currentColor; transform: rotate(-45deg); }

.float-card {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--card); border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  font-size: 0.86rem; font-weight: 600;
  white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.float-card--a { left: -28px; bottom: 18%; }
.float-card--b { right: -18px; top: 16%; animation-delay: -3s; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot--green { background: var(--green); box-shadow: 0 0 0 4px rgb(16 185 129 / 0.18); }
.progress { width: 72px; height: 6px; border-radius: 99px; background: var(--accent-soft); overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--accent); border-radius: inherit; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------- Statistiky ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin: 72px 0 0; padding: 0;
  border-radius: var(--radius-lg);
  background: var(--card); border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.stats div { padding: 24px 28px; }
.stats div + div { border-left: 1px solid var(--border); }
.stats dt { font-size: 0.85rem; color: var(--muted); }
.stats dd { margin: 4px 0 0; font: 700 1.35rem/1.3 var(--font-display); letter-spacing: -0.02em; }

/* ---------- Sekce ---------- */
.section { padding: 104px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 760px; margin: 0 auto 56px; text-align: center; display: grid; gap: 14px; }
.section__lead { color: var(--muted); font-size: 1.1rem; }
.eyebrow { color: var(--accent); font-weight: 650; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Pilíře */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { padding: 32px; display: grid; gap: 12px; align-content: start; }
.pillar p { color: var(--muted); }
.pillar__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 8px; }
.pillar__icon svg { width: 24px; height: 24px; }
.pillar__icon--green { color: var(--green); background: rgb(16 185 129 / 0.12); }
.pillar__icon--blue { color: var(--accent); background: var(--accent-soft); }
.pillar__icon--orange { color: var(--orange); background: rgb(245 158 11 / 0.13); }

/* Funkce */
.feature { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: center; }
.feature + .feature { margin-top: 96px; }
.feature--flip .feature__copy { order: 2; }
.feature__copy { display: grid; gap: 16px; align-content: start; }
.feature__copy > p { color: var(--muted); font-size: 1.05rem; }
.ticks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.2em;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.5 2.5 2.5L14 7.5' fill='none' stroke='%234f6bff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 96px; }
.mini { padding: 26px; display: grid; gap: 10px; align-content: start; }
.mini h3 { font-size: 1.05rem; }
.mini p { color: var(--muted); font-size: 0.95rem; }

/* Zástupné pozice pro snímky obrazovky */
.shot { position: relative; margin: 0; aspect-ratio: 16 / 10; }
.shot:not(.shot--hero) {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.shot__ph {
  position: absolute; inset: 0;
  display: grid; place-content: center; justify-items: center; gap: 14px;
  padding: 24px; text-align: center;
  color: var(--muted); font-size: 0.9rem; font-weight: 500;
  background:
    linear-gradient(135deg, var(--accent-soft), transparent 60%),
    repeating-linear-gradient(45deg, transparent 0 14px, rgb(127 127 127 / 0.05) 14px 15px);
}
.shot__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; background: #0d0f14; }
.shot--hero { aspect-ratio: 2000 / 1427; }
/* Snímky ve dvou variantách se přepínají podle motivu webu */
.shot__img--light { display: var(--shot-light); background: #f4f5f8; }
.shot__img--dark { display: var(--shot-dark); }

/* Oznamovací oblast */
.tray {
  justify-self: center;
  width: min(380px, 100%);
  display: grid; gap: 12px; justify-items: end;
}
.tray__menu {
  list-style: none; margin: 0; padding: 6px;
  width: 240px;
  border-radius: 10px;
  background: var(--card); border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  font-size: 0.92rem;
}
.tray__menu li { padding: 8px 12px; border-radius: 6px; }
.tray__menu li:not(.sep):hover { background: var(--accent-soft); }
.tray__menu .sep { height: 1px; padding: 0; margin: 4px 8px; background: var(--border); }
.tray__bar {
  position: relative;
  width: 100%;
  display: flex; align-items: center; justify-content: flex-end; gap: 14px;
  padding: 8px 14px;
  border-radius: 12px;
  background: var(--taskbar); color: var(--taskbar-text);
  border: 1px solid var(--border);
  font-size: 0.75rem; line-height: 1.3; text-align: right;
}
.tray__icon { padding: 6px; border-radius: 6px; background: var(--taskbar-hover); }
.tray__img--light { display: var(--shot-light); }
.tray__img--dark { display: var(--shot-dark); }

/* Ukázka dialogu se zbytky po odinstalaci (pokročilá odinstalace) */
.cleanup {
  justify-self: center;
  width: min(520px, 100%);
  /* Dlouhé cesty se zkrátí výpustkou – nesmí roztáhnout sloupec mřížky (úzký displej) */
  min-width: 0;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
}
.cleanup__title { margin: 0 0 4px; font-weight: 650; font-size: 1.02rem; }
.cleanup__group { margin: 14px 0 8px; color: var(--muted); font-size: 0.72rem; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; }
.cleanup__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.cleanup__list li {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--bg-alt); border: 1px solid var(--border);
}
.cleanup__check {
  flex: none; width: 16px; height: 16px; border-radius: 5px;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.5 10.5 3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.cleanup__path {
  flex: 1; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 0.78rem;
}
/* Štít „vyžaduje oprávnění správce“ */
.cleanup__admin {
  flex: none; width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3 4.5 6v5.5c0 4.6 3.2 8.4 7.5 9.5 4.3-1.1 7.5-4.9 7.5-9.5V6L12 3Z' fill='none' stroke='%23f59e0b' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M12 8v4.5M12 16h.01' stroke='%23f59e0b' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.cleanup__size { flex: none; color: var(--muted); font-size: 0.78rem; font-variant-numeric: tabular-nums; }
.cleanup__note { margin: 12px 0 0; color: var(--muted); font-size: 0.78rem; }
.cleanup__foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); }
.cleanup__btn { padding: 7px 14px; border-radius: 99px; border: 1px solid var(--border); font-size: 0.84rem; font-weight: 600; }
.cleanup__btn--danger { color: #ef4444; background: rgb(239 68 68 / 0.1); border-color: transparent; }

/* Ukázka sekce Po spuštění (programy po přihlášení) – rám stejný jako .cleanup */
.startup__stats { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.startup__stat { padding: 6px 12px; border-radius: 10px; background: var(--bg-alt); border: 1px solid var(--border); color: var(--muted); font-size: 0.78rem; }
.startup__stat b { margin-right: 4px; color: var(--text); font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.startup__icon {
  flex: none; width: 28px; height: 28px; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--c); color: #fff; font-size: 0.8rem; font-weight: 700;
}
.startup__name { flex: 1; min-width: 0; display: grid; line-height: 1.3; }
.startup__name b, .startup__name small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.startup__name b { font-weight: 600; }
.startup__name small { color: var(--muted); font-size: 0.74rem; }
.startup__impact { flex: none; padding: 2px 9px; border-radius: 99px; font-size: 0.74rem; font-weight: 650; }
.startup__impact--high { color: #ef4444; background: rgb(239 68 68 / 0.12); }
.startup__impact--medium { color: #d97706; background: rgb(245 158 11 / 0.15); }
.startup__impact--low { color: #16a34a; background: rgb(34 197 94 / 0.13); }
.startup__impact--none { padding-inline: 0; color: var(--muted); font-weight: 500; }
.startup__switch { position: relative; flex: none; width: 34px; height: 20px; border-radius: 99px; background: rgb(100 116 139 / 0.4); }
.startup__switch::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 14px; height: 14px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / 0.25);
}
.startup__switch--on { background: var(--accent); }
.startup__switch--on::after { left: 17px; }
.cleanup__list li.startup__off .startup__icon, .cleanup__list li.startup__off .startup__name { opacity: 0.55; }

/* Ukázka hodnocení a recenzí (detail aplikace) – rám stejný jako .cleanup */
.rating__summary { display: flex; align-items: center; gap: 24px; margin: 12px 0 4px; }
.rating__score { display: grid; flex: none; }
.rating__score b { font-size: 3.4rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.rating__score span { margin-top: 6px; color: var(--muted); font-size: 0.8rem; }
.rating__bars { flex: 1; min-width: 0; display: grid; gap: 5px; }
.rating__row { display: flex; align-items: center; gap: 10px; }
.rating__stars { color: var(--text); letter-spacing: 1px; white-space: nowrap; }
.rating__stars s { text-decoration: none; opacity: 0.3; }
.rating__row .rating__stars { width: 58px; flex: none; text-align: right; font-size: 0.62rem; opacity: 0.7; }
.rating__bar { flex: 1; height: 4px; border-radius: 99px; background: rgb(100 116 139 / 0.25); overflow: hidden; }
.rating__bar i { display: block; height: 100%; border-radius: inherit; background: var(--text); opacity: 0.7; }
.rating__review { padding: 14px 16px; border-radius: 14px; background: var(--bg-alt); border: 1px solid var(--border); }
.rating__review b { font-weight: 650; }
.rating__review p { margin: 8px 0 0; font-size: 0.86rem; }
.rating__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 2px; color: var(--muted); font-size: 0.78rem; }
.rating__meta .rating__stars { font-size: 0.72rem; opacity: 0.8; }
.rating__foot { justify-content: space-between; align-items: center; }
.rating__mine { display: flex; align-items: center; gap: 8px; font-size: 0.86rem; font-weight: 600; }
.rating__mine .rating__stars { color: var(--accent); font-size: 1.2rem; }

/* Terminál */
.term {
  border-radius: var(--radius);
  background: var(--term-bg);
  color: var(--term-text);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--term-line);
}
.term__tabs { display: flex; gap: 4px; padding: 10px 10px 0; border-bottom: 1px solid var(--term-line); }
.term__tabs button {
  border: 0; background: none; color: var(--term-muted); cursor: pointer;
  padding: 10px 14px; font: 600 0.88rem var(--font);
  border-bottom: 2px solid transparent;
}
.term__tabs button[aria-selected="true"] { color: var(--term-text); border-bottom-color: var(--accent); }
.term__body { display: flex; align-items: center; gap: 16px; padding: 28px 20px; }
.term__body code { flex: 1; min-width: 0; font: 500 0.95rem/1.5 ui-monospace, "Cascadia Code", Consolas, monospace; overflow-wrap: anywhere; }
.term__prompt { color: var(--accent); }
.term__copy {
  flex: none;
  border: 1px solid var(--term-line); background: var(--term-btn); color: var(--term-text);
  padding: 8px 14px; border-radius: 9px; cursor: pointer; font: 600 0.85rem var(--font);
}
.term__copy:hover { background: var(--term-btn-hover); }
.term__note { padding: 0 20px 18px; color: var(--term-muted); font-size: 0.82rem; }

/* Správci */
.managers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.manager { padding: 26px; display: grid; gap: 12px; align-content: start; }
.manager p { color: var(--muted); font-size: 0.95rem; }
.manager__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.manager__count { font-weight: 600; color: var(--text) !important; }
.manager--live { border-color: rgb(16 185 129 / 0.45); }
.badge {
  font-size: 0.75rem; font-weight: 650;
  padding: 3px 10px; border-radius: 99px;
  background: rgb(245 158 11 / 0.14); color: #b45309;
}
.badge--live { background: rgb(16 185 129 / 0.14); color: #047857; }
:root[data-theme="dark"] .badge { color: #fbbf24; }
:root[data-theme="dark"] .badge--live { color: #34d399; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .badge { color: #fbbf24; }
  :root:not([data-theme="light"]) .badge--live { color: #34d399; }
}

/* Roadmapa */
.roadmap { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; counter-reset: r; }
.roadmap li {
  counter-increment: r;
  display: grid; gap: 6px; align-content: start;
  padding: 26px 26px 26px 72px;
  position: relative;
  border-radius: var(--radius);
  border: 1px dashed var(--border);
  background: transparent;
}
:root .roadmap li { border-color: color-mix(in srgb, var(--text) 18%, transparent); }
.roadmap li::before {
  content: counter(r, decimal-leading-zero);
  position: absolute; left: 24px; top: 24px;
  font: 700 1rem var(--font-display); color: var(--accent);
}
.roadmap span { color: var(--muted); font-size: 0.95rem; }
.roadmap span a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
/* Stav položky – barvy jako odznaky u správců (.badge) */
.roadmap__status {
  justify-self: start; margin-top: 6px;
  font-style: normal; font-size: 0.75rem; font-weight: 650;
  padding: 3px 10px; border-radius: 99px;
  background: rgb(245 158 11 / 0.14); color: #b45309;
}
.roadmap__status--ready { background: rgb(16 185 129 / 0.14); color: #047857; }
:root[data-theme="dark"] .roadmap__status { color: #fbbf24; }
:root[data-theme="dark"] .roadmap__status--ready { color: #34d399; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .roadmap__status { color: #fbbf24; }
  :root:not([data-theme="light"]) .roadmap__status--ready { color: #34d399; }
}

/* Stažení */
.download {
  display: grid; justify-items: center; gap: 16px; text-align: center;
  padding: 64px 32px;
  border-radius: 32px;
  background:
    radial-gradient(60% 80% at 50% 0%, rgb(79 107 255 / 0.18), transparent 70%),
    var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.download__logo { filter: drop-shadow(0 12px 24px rgb(69 96 245 / 0.35)); margin-bottom: 8px; }
.download__options { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); gap: 16px; margin-top: 16px; }
.dl {
  display: grid; gap: 4px; text-align: left;
  padding: 20px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.15s, transform 0.15s;
}
.dl:hover { text-decoration: none; border-color: var(--accent); transform: translateY(-2px); }
.dl--main { background: var(--accent); color: #fff; border-color: transparent; box-shadow: 0 10px 30px rgb(79 107 255 / 0.35); }
.dl--main:hover { background: var(--accent-hover); }
.dl__title { font-weight: 700; font-size: 1.05rem; }
.dl__file { font: 500 0.82rem ui-monospace, "Cascadia Code", Consolas, monospace; opacity: 0.85; overflow-wrap: anywhere; }
.dl__meta { font-size: 0.85rem; opacity: 0.8; }
.download__req { color: var(--muted); font-size: 0.92rem; margin-top: 8px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0 22px;
}
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 18px 32px 18px 0; position: relative;
  font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 2px; top: 50%;
  width: 9px; height: 9px; margin-top: -7px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding-bottom: 20px; color: var(--muted); }
.faq details:target { border-color: var(--accent); }

/* Patička */
.footer { padding: 56px 0 40px; border-top: 1px solid var(--border); }
.footer__inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer__brand { display: grid; gap: 10px; }
.footer__brand p, .footer__note p { color: var(--muted); font-size: 0.9rem; }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.footer__links a { color: var(--muted); font-weight: 500; }
.footer__links a:hover { color: var(--text); }
.footer__note { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); }
.footer__note p { font-size: 0.8rem; }

/* Zástupné odkazy, které ještě nejsou vyplněné */
a.is-placeholder { cursor: not-allowed; }

/* ---------- Textové stránky (ochrana soukromí, podepisování kódu) ---------- */
.legal { max-width: 760px; margin-inline: auto; padding: 48px 0 104px; }
.legal h2 { margin: 40px 0 12px; font-size: 1.35rem; }
.legal h3 { margin: 24px 0 8px; font-size: 1.05rem; }
.legal p, .legal li { color: var(--muted); line-height: 1.7; }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 8px 0 0; padding-left: 1.25rem; display: grid; gap: 6px; }
.legal strong { color: var(--text); }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal .note { margin-top: 24px; padding: 16px 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); }
.legal table { width: 100%; margin-top: 12px; border-collapse: collapse; font-size: 0.94rem; }
.legal th, .legal td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.legal th { color: var(--text); font-weight: 600; }
.legal td { color: var(--muted); }
@media (max-width: 640px) { .legal table { font-size: 0.86rem; } .legal th, .legal td { padding: 8px 6px; } }

/* ---------- Novinky (historie změn) ---------- */
.nav__links a[aria-current="page"] { color: var(--text); background: var(--accent-soft); }

.page-head { position: relative; padding: 72px 0 0; overflow: hidden; }
.page-head::before {
  content: ""; position: absolute; inset: -30% -10% auto; height: 560px; z-index: -1;
  background:
    radial-gradient(35% 50% at 50% 30%, rgb(79 107 255 / 0.2), transparent 70%),
    radial-gradient(20% 35% at 75% 55%, rgb(56 189 248 / 0.12), transparent 70%);
  pointer-events: none;
}
.page-head__inner { max-width: 780px; margin-inline: auto; display: grid; justify-items: center; gap: 18px; text-align: center; }
.page-head .stats { margin-top: 48px; }

.versions-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 8px; }
.chip {
  padding: 6px 12px;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  font-size: 0.86rem; font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.chip:hover { border-color: var(--accent); text-decoration: none; }
.chip--next { border-style: dashed; color: var(--muted); }

.highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.highlight { padding: 26px; display: grid; gap: 10px; align-content: start; }
.highlight__ver { color: var(--accent); font-size: 0.8rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.highlight h3 { font-size: 1.08rem; }
.highlight p { color: var(--muted); font-size: 0.95rem; }

/* Časová osa: vlevo číslo verze a datum (při posunu zůstanou u karty), vpravo změny */
.timeline { position: relative; display: grid; gap: 28px; }
.timeline::before {
  content: ""; position: absolute; left: 140px; top: 12px; bottom: 12px; width: 2px;
  background: linear-gradient(var(--accent-soft), var(--border) 12%, var(--border));
}
.release { display: grid; grid-template-columns: 116px 1fr; gap: 48px; align-items: start; }
.release__meta { position: sticky; top: 88px; display: grid; gap: 4px; text-align: right; }
.release__ver { font: 750 1.5rem/1.1 var(--font-display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.release__date { color: var(--muted); font-size: 0.88rem; }
.release__body { position: relative; padding: 28px 32px; display: grid; gap: 20px; }
.release__body::before {
  content: ""; position: absolute; left: -31px; top: 30px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--card); border: 3px solid var(--accent);
}
.release__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.release__head h2 { font-size: 1.35rem; font-weight: 700; }
.release__lead { color: var(--muted); }
.release--next .release__body { background: transparent; border-style: dashed; box-shadow: none; }
:root .release--next .release__body { border-color: color-mix(in srgb, var(--text) 22%, transparent); }
.release--next .release__body::before { border-color: var(--orange); background: var(--bg); }
.release--first .release__body::before { background: var(--accent); }

.badge--accent { background: var(--accent-soft); color: var(--accent) !important; }

.changes { display: grid; gap: 10px; }
.changes h3 {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--muted); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
}
.changes h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.changes--better h3::before { background: var(--green); }
.changes--fix h3::before { background: var(--orange); }
.changes ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.changes li { position: relative; padding-left: 18px; }
.changes li::before {
  content: ""; position: absolute; left: 2px; top: 0.72em;
  width: 6px; height: 6px; border-radius: 50%;
  background: color-mix(in srgb, var(--muted) 55%, transparent);
}
.changes li strong { font-weight: 650; }

/* Novinky na úvodní stránce: vlevo nadpis a odkaz, vpravo karty posledních verzí */
.pill__dot--new { background: var(--green); box-shadow: 0 0 0 4px rgb(16 185 129 / 0.18); }
.pill__arrow { color: var(--muted); }
.section--news { padding: 72px 0 8px; }
.news { display: grid; grid-template-columns: 0.85fr 1.4fr; gap: 48px; align-items: center; }
.news__head { display: grid; gap: 14px; justify-items: start; }
.news__head .btn { margin-top: 6px; }
.news__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.news-card {
  display: grid; gap: 8px; align-content: start;
  padding: 22px;
  color: var(--text);
  transition: border-color 0.15s, transform 0.15s;
}
.news-card:hover { text-decoration: none; border-color: var(--accent); transform: translateY(-2px); }
.news-card__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.news-card__ver { color: var(--accent); font-size: 0.8rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.news-card h3 { font-size: 1.05rem; }
.news-card p { color: var(--muted); font-size: 0.93rem; }
.news-card--next { background: transparent; border-style: dashed; box-shadow: none; }
:root .news-card--next { border-color: color-mix(in srgb, var(--text) 22%, transparent); }
.news-card--next .news-card__ver { color: var(--muted); }

/* Rozcestník podstránek na domovské stránce */
.explore { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.explore-card {
  display: grid; gap: 8px; align-content: start;
  padding: 24px;
  color: var(--text);
  transition: border-color 0.15s, transform 0.15s;
}
.explore-card:hover { text-decoration: none; border-color: var(--accent); transform: translateY(-2px); }
.explore-card h3 { display: flex; justify-content: space-between; gap: 12px; font-size: 1.1rem; }
.explore-card h3 span { color: var(--accent); transition: transform 0.15s; }
.explore-card:hover h3 span { transform: translateX(3px); }
.explore-card p { color: var(--muted); font-size: 0.93rem; }

.changelog-cta { margin-top: 64px; display: grid; justify-items: center; gap: 14px; text-align: center; }
.changelog-cta p { color: var(--muted); }
.changelog-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Srovnání s alternativami ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.compare-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.compare-card { display: flex; flex-direction: column; gap: 16px; padding: 32px; }
.compare-card > p:not(.compare-card__title) { color: var(--muted); }
.compare-card .compare-card__link { margin-top: auto; padding-top: 4px; }
/* Přepínání mezi srovnáními na podstránkách */
.compare-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.compare-nav .chip[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.compare-card__title { display: flex; align-items: center; gap: 10px; font: 700 1.3rem/1.2 var(--font-display); letter-spacing: -0.02em; }
.vs {
  padding: 3px 9px; border-radius: 8px;
  background: var(--accent-soft); color: var(--accent);
  font: 700 0.78rem/1.2 var(--font); letter-spacing: 0.04em; text-transform: uppercase;
}
.compare-card__link { font-weight: 650; justify-self: start; }

/* Ilustrace „HubGet vs Winstall“: vlevo karta aplikace, vpravo příkaz pro terminál */
.vs-visual {
  position: relative;
  display: grid; gap: 12px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
}
.vs-visual__side { display: grid; gap: 10px; align-content: start; min-width: 0; }
.vs-visual__name { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.92rem; }
.vs-visual__note { color: var(--muted); font-size: 0.8rem; }
.vs-visual__vs {
  justify-self: center;
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font: 700 0.78rem/1 var(--font); text-transform: uppercase;
}
.vs-app {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px;
  padding: 10px; border-radius: 12px;
  background: var(--card); border: 1px solid var(--border);
}
.vs-app__icon {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, #ff9a1f, #f26b0f); color: #fff;
  font: 800 0.66rem/1 var(--font);
}
.vs-app__icon--b { background: linear-gradient(135deg, #3b4252, #1f2430); }
.vs-app__text { display: grid; gap: 2px; min-width: 0; font-size: 0.78rem; color: var(--muted); }
.vs-app__text strong { color: var(--text); font-size: 0.84rem; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vs-app__text span { display: flex; align-items: center; gap: 3px; white-space: nowrap; }
.vs-app__btn {
  padding: 6px 10px; border-radius: 8px;
  background: var(--accent); color: #fff;
  font-size: 0.74rem; font-weight: 650;
}
.vs-app__btn--ghost { background: var(--accent-soft); color: var(--accent); }
.src { width: 7px; height: 7px; border-radius: 50%; }
.src--winget { background: #38bdf8; }
.src--choco { background: var(--orange); }
.src--scoop { background: var(--green); }
.vs-progress { height: 6px; border-radius: 99px; background: var(--accent-soft); overflow: hidden; }
.vs-progress span { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.vs-code {
  margin: 0; padding: 14px;
  border-radius: 12px;
  background: var(--term-bg); color: var(--term-text);
  border: 1px solid var(--term-line);
  font: 500 0.74rem/1.7 ui-monospace, "Cascadia Code", Consolas, monospace;
  white-space: pre-wrap; overflow-wrap: anywhere;
}

/* Ilustrace pro Ninite: zaškrtávací seznam aplikací */
.vs-checklist {
  list-style: none; margin: 0; padding: 12px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px;
  border-radius: 12px; background: var(--card); border: 1px solid var(--border);
  font-size: 0.8rem;
}
.vs-checklist li { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.vs-checklist li::before {
  content: ""; flex: none; width: 13px; height: 13px; border-radius: 4px;
  border: 1.5px solid color-mix(in srgb, var(--muted) 60%, transparent);
}
.vs-checklist li.is-on::before {
  border-color: var(--green);
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3 6.2 2 2 4-4.4' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.vs-cta { justify-self: start; padding: 7px 12px; border-radius: 8px; background: var(--green); color: #fff; font-size: 0.76rem; font-weight: 650; }

/* Ilustrace pro UniGetUI: seznam balíčků se správci */
.vs-pkgs { display: grid; border-radius: 12px; background: var(--card); border: 1px solid var(--border); overflow: hidden; font-size: 0.78rem; }
.vs-pkgs > span { display: grid; grid-template-columns: 14px 1fr auto; align-items: center; gap: 10px; padding: 8px 12px; }
.vs-pkgs > span + span { border-top: 1px solid var(--border); }
.vs-pkgs > span::before { content: ""; width: 12px; height: 12px; border-radius: 3px; border: 1.5px solid color-mix(in srgb, var(--muted) 60%, transparent); }
.vs-pkgs b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vs-pkgs i { font-style: normal; color: var(--muted); font-size: 0.72rem; }

/* Podstránka srovnání */
.compare-head { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.compare-head__copy { display: grid; gap: 18px; justify-items: start; }
.vs-visual--large { padding: 24px; box-shadow: var(--shadow-lg); background: var(--card); }
.vs-visual--large .vs-app { background: var(--bg); }

.cmp-wrap { display: grid; gap: 16px; }
.cmp {
  width: 100%;
  border-collapse: separate; border-spacing: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  font-size: 0.95rem;
}
.cmp th, .cmp td { padding: 16px 20px; text-align: left; vertical-align: top; border-top: 1px solid var(--border); }
.cmp thead th { border-top: 0; background: var(--bg-alt); font-size: 0.85rem; color: var(--muted); font-weight: 650; }
.cmp thead .cmp__us { color: var(--accent); }
.cmp__us img { display: inline-block; vertical-align: -4px; margin-right: 6px; }
.cmp tbody th { width: 22%; font-weight: 650; }
.cmp td { width: 39%; color: var(--muted); }
.cmp td:nth-of-type(1) { color: var(--text); background: color-mix(in srgb, var(--accent) 4%, transparent); }
.cmp td .mark { float: left; margin: 1px 10px 0 0; }

.mark {
  display: inline-grid; place-items: center; flex: none;
  width: 20px; height: 20px; border-radius: 50%;
  font: 800 0.72rem/1 var(--font);
}
.mark::after { content: "i"; }
.mark--yes { background: rgb(16 185 129 / 0.15); color: #059669; }
.mark--yes::after { content: "✓"; }
.mark--part { background: rgb(245 158 11 / 0.16); color: #d97706; }
.mark--part::after { content: "~"; }
.mark--no { background: rgb(239 68 68 / 0.13); color: #dc2626; }
.mark--no::after { content: "×"; font-size: 0.9rem; }
.mark--info { background: var(--accent-soft); color: var(--accent); }
:root[data-theme="dark"] .mark--yes { color: #34d399; }
:root[data-theme="dark"] .mark--part { color: #fbbf24; }
:root[data-theme="dark"] .mark--no { color: #f87171; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .mark--yes { color: #34d399; }
  :root:not([data-theme="light"]) .mark--part { color: #fbbf24; }
  :root:not([data-theme="light"]) .mark--no { color: #f87171; }
}
.cmp-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 0.85rem; }
.cmp-legend > span { display: inline-flex; align-items: center; gap: 8px; }

.choose { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.choose__card { padding: 32px; display: grid; gap: 18px; align-content: start; }
.choose__card--us { border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.ticks--muted li::before { filter: grayscale(1); opacity: 0.7; }
.cmp-source { margin-top: 48px; color: var(--muted); font-size: 0.82rem; text-align: center; }

/* ---------- Banner „zdarma“ ----------
   Vlastní sada barev pro světlý a tmavý motiv; v tmavém působí jako prémiová tmavá karta. */
.section--free { padding-bottom: 0; }
.free {
  --free-bg:
    radial-gradient(70% 60% at 25% 115%, rgb(79 107 255 / 0.16), transparent 70%),
    radial-gradient(45% 45% at 95% 0%, rgb(56 189 248 / 0.12), transparent 70%),
    linear-gradient(180deg, #ffffff, #f5f7ff);
  --free-border: rgb(79 107 255 / 0.14);
  --free-shadow: 0 2px 6px rgb(15 23 42 / 0.04), 0 30px 70px rgb(69 96 245 / 0.12), inset 0 1px 0 #ffffff;
  --free-amount: linear-gradient(180deg, #5b77ff 25%, #3f55e0);
  --free-text: #0f172a;
  --free-dim: #8c9df5;
  --free-muted: #5b6475;
  --free-badge-border: rgb(79 107 255 / 0.2);
  --free-badge-bg: linear-gradient(180deg, #ffffff, #f0f3ff);
  --free-badge-inset: inset 0 1px 0 #ffffff;
  position: relative;
  overflow: hidden;
  display: grid; gap: 72px;
  padding: 72px 64px 56px;
  border-radius: 32px;
  background: var(--free-bg);
  border: 1px solid var(--free-border);
  box-shadow: var(--free-shadow);
  color: var(--free-text);
}
:root[data-theme="dark"] .free {
  --free-bg:
    radial-gradient(70% 55% at 30% 115%, rgb(107 131 255 / 0.26), transparent 70%),
    radial-gradient(40% 40% at 95% 0%, rgb(56 189 248 / 0.08), transparent 70%),
    linear-gradient(180deg, #111318, #0a0b0f);
  --free-border: rgb(107 131 255 / 0.18);
  --free-shadow: 0 30px 80px rgb(0 0 0 / 0.28), inset 0 1px 0 rgb(255 255 255 / 0.06);
  --free-amount: linear-gradient(180deg, #c3cdff 20%, #6b83ff);
  --free-text: #f2f3f7;
  --free-dim: #7f92f0;
  --free-muted: #8b92a3;
  --free-badge-border: rgb(107 131 255 / 0.28);
  --free-badge-bg: linear-gradient(180deg, rgb(107 131 255 / 0.12), rgb(107 131 255 / 0.04));
  --free-badge-inset: inset 0 1px 0 rgb(255 255 255 / 0.06);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .free {
    --free-bg:
      radial-gradient(70% 55% at 30% 115%, rgb(107 131 255 / 0.26), transparent 70%),
      radial-gradient(40% 40% at 95% 0%, rgb(56 189 248 / 0.08), transparent 70%),
      linear-gradient(180deg, #111318, #0a0b0f);
    --free-border: rgb(107 131 255 / 0.18);
    --free-shadow: 0 30px 80px rgb(0 0 0 / 0.28), inset 0 1px 0 rgb(255 255 255 / 0.06);
    --free-amount: linear-gradient(180deg, #c3cdff 20%, #6b83ff);
    --free-text: #f2f3f7;
    --free-dim: #7f92f0;
    --free-muted: #8b92a3;
    --free-badge-border: rgb(107 131 255 / 0.28);
    --free-badge-bg: linear-gradient(180deg, rgb(107 131 255 / 0.12), rgb(107 131 255 / 0.04));
    --free-badge-inset: inset 0 1px 0 rgb(255 255 255 / 0.06);
  }
}
.free__main { display: grid; grid-template-columns: auto 1fr; gap: 72px; align-items: center; }
.free__price { margin: 0; display: grid; justify-items: center; gap: 6px; }
.free__amount {
  font: 800 clamp(5rem, 11vw, 9.5rem)/0.9 var(--font-display);
  letter-spacing: -0.06em;
  background: var(--free-amount);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  white-space: nowrap;
}
.free__per { color: var(--free-muted); font-size: 1.05rem; }
.free__pitch { display: grid; gap: 28px; justify-items: start; }
.free__title {
  font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.08;
  color: var(--free-dim);
}
.free__title span { display: block; }
.free__title span:last-child { color: var(--free-text); }
.free__badges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.free__badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--free-badge-border);
  background: var(--free-badge-bg);
  box-shadow: var(--free-badge-inset);
  color: var(--free-text); font-size: 0.92rem; font-weight: 600;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.free__badge svg { width: 17px; height: 17px; flex: none; color: var(--accent); }
.free__badge--link:hover { text-decoration: none; border-color: var(--accent); background: var(--accent-soft); transform: translateY(-1px); }
.free__foot { display: grid; gap: 8px; max-width: 760px; }
.free__foot h3 { color: var(--free-text); font-size: 1.25rem; }
.free__foot p { color: var(--free-muted); }

/* ---------- Animace při posunu ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card { animation: none; }
}

/* ---------- Responzivita ---------- */
@media (max-width: 1020px) {
  .hero__inner, .feature { grid-template-columns: 1fr; gap: 40px; }
  .feature--flip .feature__copy { order: 0; }
  .grid, .managers { grid-template-columns: repeat(2, 1fr); }
  .roadmap { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats div:nth-child(3) { border-left: 0; }
  .stats div:nth-child(n + 3) { border-top: 1px solid var(--border); }
  .float-card--a { left: 12px; }
  .float-card--b { right: 12px; }
  .highlights, .explore { grid-template-columns: repeat(2, 1fr); }
  .news { grid-template-columns: 1fr; gap: 28px; }
  .compare-head { grid-template-columns: 1fr; gap: 32px; }
  .free__main { gap: 48px; }
}
@media (max-width: 760px) {
  /* Tabulka srovnání jako karty: každý řádek zvlášť, buňky s popiskem */
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: auto; }
  .cmp thead { display: none; }
  .cmp tbody tr + tr { border-top: 1px solid var(--border); }
  .cmp th, .cmp td { border-top: 0; }
  .cmp tbody th { width: auto; padding: 18px 18px 6px; }
  .cmp td { padding: 6px 18px 10px; }
  .cmp td:last-child { padding-bottom: 18px; }
  .cmp td:nth-of-type(1) { background: none; }
  .cmp td::before { content: attr(data-label); display: block; margin-bottom: 4px; color: var(--muted); font-size: 0.75rem; font-weight: 650; letter-spacing: 0.04em; text-transform: uppercase; }
  .choose { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  /* Časová osa pod sebou: verze a datum nad kartou, bez svislé čáry */
  .timeline::before, .release__body::before { display: none; }
  .release { grid-template-columns: 1fr; gap: 10px; }
  .release__meta { position: static; display: flex; align-items: baseline; gap: 12px; text-align: left; }
  .release__body { padding: 22px 20px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding-top: 40px; }
  .section { padding: 72px 0; }
  .section__head { margin-bottom: 40px; }
  .feature + .feature, .grid { margin-top: 64px; }
  .pillars, .grid, .managers, .roadmap, .download__options, .highlights, .explore { grid-template-columns: 1fr; }
  .explore-card { padding: 18px 20px; }
  .page-head { padding-top: 40px; }
  .news__grid { grid-template-columns: 1fr; }
  .section--news { padding-top: 48px; }
  .download__options { width: 100%; }
  .download { padding: 48px 20px; border-radius: 24px; }
  .hero__cta, .hero__cta .btn { width: 100%; }
  .float-card { display: none; }
  /* Údaje ve dvou sloupcích (rozdělení čar z pravidla pro 1020 px) */
  .stats { margin-top: 48px; }
  .stats div { padding: 18px 16px; }
  .stats dd { font-size: 1.1rem; }
  .nav__actions .icon-btn[data-link] { display: none; }
  .term__body { flex-direction: column; align-items: stretch; }
  .compare-grid { grid-template-columns: 1fr; }
  .free { padding: 44px 22px 36px; gap: 44px; border-radius: 24px; }
  .free__main { grid-template-columns: 1fr; gap: 32px; }
  .free__price { justify-items: start; }
  .compare-card { padding: 24px 20px; }
  .vs-visual { padding: 16px; }

  /* Dlouhé řady karet jako vodorovný pás, který se přejíždí prstem – další karta
     vykukuje u okraje. Stránka je tak na telefonu o tisíce pixelů kratší. */
  .news__grid, .grid, .managers, .compare-grid, .roadmap, .highlights {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 84%;
    gap: 12px;
    margin-inline: -16px;
    padding: 4px 16px 18px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px;
    scrollbar-width: none;
  }
  .news__grid::-webkit-scrollbar, .grid::-webkit-scrollbar, .managers::-webkit-scrollbar,
  .compare-grid::-webkit-scrollbar, .roadmap::-webkit-scrollbar, .highlights::-webkit-scrollbar { display: none; }
  .news__grid > *, .grid > *, .managers > *, .compare-grid > *, .roadmap > *, .highlights > * { scroll-snap-align: start; }
  /* Pás karet bez animace objevení – karty mimo obrazovku by zůstaly průhledné */
  .news__grid > .reveal, .grid > .reveal, .compare-grid > .reveal, .highlights > .reveal { opacity: 1; transform: none; }
}
