/* Lanvura Studio — lanvura.com. Bez frameworku; barvy jako tokeny, světlý i tmavý režim. */

@font-face {
  font-family: "Inter Var";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/inter-latin.3100e775e8.woff2") format("woff2-variations"), url("fonts/inter-latin.3100e775e8.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 Var";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/inter-latin-ext.34b9c504ca.woff2") format("woff2-variations"), url("fonts/inter-latin-ext.34b9c504ca.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Barvy, stíny, písmo a rozměry z brand kitu Lanvura (assets/brand/tokens.v*.css, libs/brand/sync.py) — tady jen
   napojení na proměnné webu a to, co kit nemá (sklo, hover, gradient nadpisů, mřížka). */
:root {
  color-scheme: light;
  --bg: var(--lv-bg);
  --bg-2: var(--lv-bg-2);
  --surface: var(--lv-surface);
  --surface-2: var(--lv-surface-2);
  --glass: rgba(255, 255, 255, .78);
  --text: var(--lv-text);
  --text-2: var(--lv-text-2);
  --text-3: var(--lv-text-3);
  --line: var(--lv-line);
  --line-2: var(--lv-line-2);
  --accent: var(--lv-brand);
  --accent-text: var(--lv-brand-text);
  --accent-hover: #4a3bc9;
  --accent-soft: var(--lv-brand-soft);
  --btn-bg: var(--lv-btn-bg);
  --btn-text: var(--lv-btn-text);
  --btn-hover: #2a2638;
  --ok: var(--lv-ok);
  --ok-soft: var(--lv-ok-soft);
  --alpha: var(--lv-alpha);
  --alpha-soft: var(--lv-alpha-soft);
  --focus: var(--lv-focus);
  --shadow-sm: var(--lv-shadow-sm);
  --shadow-md: var(--lv-shadow-md);
  --shadow-lg: var(--lv-shadow-lg);
  --grad-text: linear-gradient(100deg, #5b4bdb 0%, #9333ea 45%, #db2777 100%);
  --grid-line: rgba(18, 16, 24, .055);
  --radius: var(--lv-radius-md);
  --radius-lg: var(--lv-radius-lg);
  --wrap: var(--lv-wrap);
  --gutter: 24px;
  --header-h: 68px;
  --font: var(--lv-font-sans);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --glass: rgba(28, 26, 38, .78);
    --accent-hover: #9d91ff;
    --btn-hover: #ffffff;
    --grad-text: linear-gradient(100deg, #a99fff 0%, #d8b4fe 45%, #f9a8d4 100%);
    --grid-line: rgba(255, 255, 255, .05);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --glass: rgba(28, 26, 38, .78);
  --accent-hover: #9d91ff;
  --btn-hover: #ffffff;
  --grad-text: linear-gradient(100deg, #a99fff 0%, #d8b4fe 45%, #f9a8d4 100%);
  --grid-line: rgba(255, 255, 255, .05);
}

/* ---------- základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -.025em; font-weight: 700; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
::selection { background: rgba(91, 75, 219, .22); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px;
  background: var(--btn-bg); color: var(--btn-text); font-weight: 600; text-decoration: none; transition: top .15s;
}
.skip:focus { top: 12px; color: var(--btn-text); }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }
.center { text-align: center; margin-inline: auto; }
.center .section-lead { margin-inline: auto; }

/* ---------- tlačítka ---------- */
.btn {
  --h: 44px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--h); padding: 0 18px; border-radius: 12px; border: 1px solid transparent;
  font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .18s, border-color .18s, color .18s, transform .18s, box-shadow .18s;
  white-space: nowrap;
}
.btn svg { flex: none; }
.btn:active { transform: translateY(1px); }
.btn-sm { --h: 38px; padding: 0 14px; font-size: 14.5px; border-radius: 10px; }
.btn-lg { --h: 52px; padding: 0 24px; font-size: 16.5px; border-radius: 14px; }
.btn-primary { background: var(--btn-bg); color: var(--btn-text); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--btn-hover); color: var(--btn-text); box-shadow: var(--shadow-md); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { color: var(--text); border-color: var(--text-3); }
.btn-ghost { background: transparent; color: var(--text-2); }
.btn-ghost:hover { color: var(--text); background: var(--surface-2); }
.btn-tone { background: var(--tone-btn, var(--btn-bg)); color: var(--tone-on, #fff); box-shadow: 0 8px 22px -10px var(--tone-shadow, rgba(0,0,0,.4)); }
.btn-tone:hover { color: var(--tone-on, #fff); filter: brightness(1.08); }
.btn .btn-flag { display: inline-flex; align-items: center; gap: 5px; margin-left: 2px; padding: 2px 6px 2px 3px; border-radius: 6px; background: rgba(255,255,255,.18); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid transparent;
  background: transparent; color: var(--text-2); cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.icon-btn:hover { background: var(--surface-2); color: var(--text); }
.linklike { background: none; border: 0; padding: 0; color: inherit; cursor: pointer; text-align: left; }
.linklike:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.text-link svg { transition: transform .18s; }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- hlavička ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40; height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .2s, background-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: -.02em; font-size: 17.5px; }
.brand:hover { color: var(--text); }
.brand-name span { color: var(--text-3); font-weight: 600; }
.nav { display: flex; gap: 4px; }
.nav a { padding: 8px 12px; border-radius: 9px; color: var(--text-2); font-size: 15px; font-weight: 500; text-decoration: none; transition: color .15s, background-color .15s; }
.nav a:hover { color: var(--text); background: var(--surface-2); }
.header-tools { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.theme-btn .i-sun, .theme-btn .i-moon { display: none; }
:root[data-theme="light"] .theme-btn .i-auto, :root[data-theme="dark"] .theme-btn .i-auto { display: none; }
:root[data-theme="light"] .theme-btn .i-sun { display: block; }
:root[data-theme="dark"] .theme-btn .i-moon { display: block; }

/* přepínač jazyků */
.lang-switch { position: relative; }
.lang-switch > summary { list-style: none; width: auto; padding: 0 10px; gap: 7px; display: inline-flex; align-items: center; font-size: 14px; font-weight: 600; color: var(--text-2); }
.lang-switch > summary::-webkit-details-marker, .menu > summary::-webkit-details-marker { display: none; }
.lang-switch > summary .chev { transition: transform .2s; }
.lang-switch[open] > summary .chev { transform: rotate(180deg); }
.lang-switch ul, .menu-panel {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 210px; list-style: none; margin: 0; padding: 6px;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: var(--shadow-lg);
}
.lang-switch li a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; color: var(--text); text-decoration: none; font-size: 15px; }
.lang-switch li a:hover { background: var(--surface-2); }
.lang-switch li a[aria-current="page"] { background: var(--accent-soft); color: var(--accent-text); font-weight: 600; }
.lang-switch li a small { margin-left: auto; color: var(--text-3); font-size: 12px; font-weight: 600; }
.flag { width: 20px; height: 15px; border-radius: 3px; flex: none; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.menu { display: none; position: relative; }
.menu > summary { list-style: none; }
.menu-panel a { display: block; padding: 11px 12px; border-radius: 9px; color: var(--text); text-decoration: none; font-weight: 500; }
.menu-panel a:hover { background: var(--surface-2); }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 112px); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.aurora {
  position: absolute; inset: -20% -10% auto -10%; height: 120%;
  background:
    radial-gradient(40% 45% at 72% 38%, rgba(168, 85, 247, .20), transparent 70%),
    radial-gradient(35% 40% at 88% 18%, rgba(236, 72, 153, .14), transparent 70%),
    radial-gradient(38% 40% at 58% 70%, rgba(91, 75, 219, .16), transparent 70%),
    radial-gradient(30% 35% at 10% 10%, rgba(251, 191, 36, .10), transparent 70%);
  filter: blur(10px);
}
.grid-fade {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero-copy { max-width: 880px; margin-inline: auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; margin-bottom: 26px;
  border-radius: 999px; background: var(--glass); border: 1px solid var(--line-2); box-shadow: var(--shadow-sm);
  font-size: 14px; font-weight: 600; color: var(--text-2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); }
.hero-title { font-size: clamp(2.55rem, 5.4vw, 4.5rem); line-height: 1.02; letter-spacing: -.045em; font-weight: 750; }
.grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero-lead { margin-top: 24px; max-width: 36em; font-size: clamp(1.06rem, 1.5vw, 1.24rem); line-height: 1.6; color: var(--text-2); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* rozcestník divizí (catalog/apps.json → divisions, build.py → hub_section): karta = rodina brand kitu (data-lv-family
   → --lv-accent*, --lv-grad-accent), logo rodiny světlé/tmavé podle motivu, celá karta klikací přes odkaz */
.hero.hub { padding: clamp(32px, 5vw, 64px) 0 clamp(48px, 6vw, 80px); }
.hero.hub .hero-title { font-size: clamp(2.25rem, 4.6vw, 3.75rem); }
.hero.hub .badge { margin-bottom: 20px; }
.hub-title { margin: clamp(36px, 5vw, 56px) 0 18px; display: flex; align-items: center; gap: 16px; font-size: 13.5px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.hub-title::before, .hub-title::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.hub-grid { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.hub-card { grid-column: span 2; }
.hub-n5 .hub-card:nth-child(-n+2), .hub-n4 .hub-card, .hub-n2 .hub-card { grid-column: span 3; }
.hub-n1 .hub-card { grid-column: 2 / span 4; }
.hub-card {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 14px; min-height: 200px;
  padding: clamp(22px, 2.4vw, 30px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); transition: transform .2s var(--lv-ease-spring, ease), box-shadow .2s, border-color .2s;
}
.hub-card::before {   /* pruh v gradientu rodiny + jemná záře */
  content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--lv-grad-accent); z-index: -1;
}
.hub-card::after {
  content: ""; position: absolute; inset: auto -30% -60% auto; width: 70%; aspect-ratio: 1; border-radius: 50%; z-index: -2;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--lv-accent) 18%, transparent), transparent); transition: transform .35s;
}
.hub-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--lv-accent) 40%, var(--line)); }
.hub-card:hover::after { transform: scale(1.25); }
.hub-card:has(.hub-link:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.hub-mark { position: absolute; right: clamp(18px, 2vw, 26px); top: clamp(18px, 2vw, 26px); width: 44px; height: 44px; border-radius: 30%;
  display: grid; place-items: center; color: #fff; background: var(--lv-grad-accent); opacity: .14; transform: rotate(8deg) scale(1.6);
  transition: opacity .2s, transform .3s; }
.hub-mark svg { width: 58%; height: 58%; }
.hub-card:hover .hub-mark { opacity: .3; transform: rotate(0) scale(1.75); }
.hub-logo { margin: 0; line-height: 0; padding-right: 60px; }
.hub-logo img { height: 34px; width: auto; max-width: 100%; }
.hub-logo .logo-dark { display: none; }
.hub-desc { color: var(--text-2); font-size: 15.5px; line-height: 1.55; max-width: 30em; }
.hub-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 650; font-size: 15px;
  color: var(--lv-accent-text); text-decoration: none; overflow-wrap: anywhere; }
.hub-link svg { flex: none; transition: transform .2s; }
.hub-card:hover .hub-link svg { transform: translateX(4px); }
.hub-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }   /* celá karta = odkaz */
.hub-link:focus-visible { outline: none; }
.hub-more { margin-top: 22px; text-align: center; }
.hub-more .text-link svg { margin-left: 2px; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hub-logo .logo-light { display: none; }
  :root:not([data-theme="light"]) .hub-logo .logo-dark { display: block; }
}
:root[data-theme="dark"] .hub-logo .logo-light { display: none; }
:root[data-theme="dark"] .hub-logo .logo-dark { display: block; }

/* ---------- ikony aplikací ---------- */
.app-icon {
  --ai: 44px;
  width: var(--ai); height: var(--ai); flex: none; border-radius: 28%; display: inline-grid; place-items: center; color: #fff;
  background: var(--ag); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -1px 0 rgba(0,0,0,.08), 0 6px 16px -8px var(--as);
}
.app-icon svg { width: 56%; height: 56%; }
.app-icon.sm { --ai: 2.3em; }
.launch .app-icon { width: var(--ai); height: var(--ai); }
/* dlaždice v gradientu rodiny z brand kitu (data-lv-family doplní build.py podle ikony, viz FAMILY) */
.app-icon[data-lv-family] { --ag: var(--lv-grad-accent); --as: color-mix(in srgb, var(--lv-accent) 70%, transparent); }

/* ---------- sekce ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.eyebrow { font-size: 13.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 14px; }
.section-title { font-size: clamp(2rem, 3.8vw, 3.1rem); letter-spacing: -.04em; line-height: 1.06; }
.section-lead { margin-top: 18px; max-width: 40em; font-size: clamp(1.04rem, 1.4vw, 1.18rem); color: var(--text-2); }
.products-intro { padding-bottom: clamp(24px, 4vw, 48px); }

/* produkty */
.product { padding: clamp(48px, 7vw, 96px) 0; }
.product-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.product.flip .product-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
.product.flip .product-copy { order: 2; }
.product-head { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.product-name { font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 650; letter-spacing: .01em; background: var(--accent-soft); color: var(--accent-text); white-space: nowrap; }
.tag-alpha { background: var(--alpha-soft); color: var(--alpha); }
.product .eyebrow { color: var(--tone-text); }
.product-title { font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -.035em; line-height: 1.1; }
.product-desc { margin-top: 18px; color: var(--text-2); font-size: 1.06rem; }
.checks { list-style: none; margin: 24px 0 30px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; color: var(--text); font-size: 15.5px; line-height: 1.5; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 7px; background: var(--tone-soft);
  -webkit-mask: none; mask: none;
}
.checks li::after {
  content: ""; position: absolute; left: 6px; top: 6px; width: 10px; height: 6px; border-left: 2.2px solid var(--tone-text); border-bottom: 2.2px solid var(--tone-text); transform: rotate(-45deg);
}
.product-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
/* Helpento na lanvura.com: „Vyzkoušet hned“ otevře živého asistenta vpravo dole */
.try-now { gap: 10px; }
.try-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--lv-accent); box-shadow: 0 0 0 0 color-mix(in srgb, var(--lv-accent) 55%, transparent); animation: try-pulse 2s ease-out infinite; }
@keyframes try-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--lv-accent) 55%, transparent); } 70%, 100% { box-shadow: 0 0 0 9px transparent; } }
.try-note { margin-top: 12px; font-size: 13.5px; color: var(--text-2); max-width: 36em; }
.avail { display: flex; align-items: center; gap: 8px; color: var(--text-3); font-size: 13.5px; }
.avail-flags { display: inline-flex; gap: 4px; }
.avail-flags .flag { width: 16px; height: 12px; }

/* Barvy karty = akcent rodiny z brand kitu ([data-lv-family] na sekci, kontrast AA hlídá tools/tests/test_brand.py);
   jemné záře v pozadí ukázky (--tone-a/-b) z barev gradientu rodiny. */
.product[data-lv-family] {
  --tone: var(--lv-accent); --tone-text: var(--lv-accent-text); --tone-soft: var(--lv-accent-soft);
  --tone-btn: var(--lv-accent); --tone-on: var(--lv-on-accent); --tone-shadow: color-mix(in srgb, var(--lv-accent) 55%, transparent);
}
.product[data-lv-family="helpento"] { --tone-a: rgba(13, 148, 136, .22); --tone-b: rgba(14, 165, 233, .16); }
.product[data-lv-family="learn"] { --tone-a: rgba(109, 74, 255, .22); --tone-b: rgba(56, 189, 248, .16); }
.product[data-lv-family="gifts"] { --tone-a: rgba(201, 149, 43, .24); --tone-b: rgba(169, 34, 43, .14); }
.product[data-lv-family="games"] { --tone-a: rgba(236, 72, 153, .22); --tone-b: rgba(124, 58, 237, .2); }
.product[data-lv-family="academy"] { --tone-a: rgba(37, 99, 235, .22); --tone-b: rgba(8, 145, 178, .16); }

/* vlajka cílového jazyka u odkazu (Sezónně) */
.lb { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; opacity: .85; }
.lb .flag { width: 15px; height: 11px; border-radius: 2px; }

/* scéna s makety */
.product-visual { container-type: inline-size; }
.stage {
  position: relative; aspect-ratio: 6 / 5; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate;
  font-size: 2.25cqw;
  background:
    radial-gradient(70% 60% at 20% 10%, var(--tone-a), transparent 70%),
    radial-gradient(60% 60% at 90% 90%, var(--tone-b), transparent 70%),
    var(--surface-2);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.stage::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 6cqw 6cqw;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
}
.float-card {
  position: absolute; display: flex; align-items: center; gap: .8em; padding: .8em 1.1em .8em .8em; border-radius: 1.1em;
  background: var(--glass); border: 1px solid var(--line-2); box-shadow: var(--shadow-lg);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  line-height: 1.3; animation: floaty 8s ease-in-out infinite;
}
.float-card > div { display: flex; flex-direction: column; }
.float-card b { font-size: .95em; }
.float-card small { font-size: .82em; color: var(--text-2); }
.fc-ico { width: 2.4em; height: 2.4em; border-radius: .75em; display: grid; place-items: center; background: var(--tone-soft); color: var(--tone-text); flex: none; }
.fc-ico svg { width: 1.3em; height: 1.3em; }

/* prohlížeč (Helpento) */
.browser { position: absolute; left: 6%; right: 6%; top: 9%; bottom: -4%; border-radius: 1.1em 1.1em 0 0; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); overflow: hidden; display: flex; flex-direction: column; }
.browser-bar { display: flex; align-items: center; gap: .45em; padding: .8em 1em; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.browser-bar > i { width: .75em; height: .75em; border-radius: 50%; background: #f87171; }
.browser-bar > i:nth-child(2) { background: #fbbf24; }
.browser-bar > i:nth-child(3) { background: #34d399; }
.browser-url { margin-left: 1.2em; flex: 1; max-width: 22em; display: flex; align-items: center; gap: .45em; padding: .3em .8em; border-radius: .6em; background: var(--surface); border: 1px solid var(--line); font-size: .8em; color: var(--text-3); }
.browser-url svg { width: 1em; height: 1em; }
.browser-body { flex: 1; display: grid; grid-template-columns: 1fr 1.25fr; gap: 1.2em; padding: 1.2em; min-height: 0; }
.site-skel { display: flex; flex-direction: column; gap: .7em; }
.sk-hero { height: 7.5em; border-radius: .8em; background: linear-gradient(135deg, var(--tone-soft), var(--surface-2)); position: relative; }
.sk-hero span { position: absolute; left: 1em; bottom: 1em; width: 55%; height: .9em; border-radius: .4em; background: var(--line-2); }
.sk-line { height: .7em; border-radius: .35em; background: var(--line); }
.w80 { width: 80%; } .w70 { width: 70%; } .w55 { width: 55%; } .w40 { width: 40%; }
.sk-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5em; }
.sk-cards i { height: 4.2em; border-radius: .6em; background: var(--surface-2); border: 1px solid var(--line); }
.chat { display: flex; flex-direction: column; border-radius: 1em; border: 1px solid var(--line-2); background: var(--surface); box-shadow: var(--shadow-md); overflow: hidden; min-height: 0; }
.chat-head { display: flex; align-items: center; gap: .65em; padding: .75em .9em; background: linear-gradient(135deg, #2563eb, #4338ca); color: #fff; }
.chat-head .app-icon { box-shadow: none; background: rgba(255,255,255,.2); }
.chat-head > div { display: flex; flex-direction: column; line-height: 1.25; }
.chat-head b { font-size: .88em; }
.chat-head small { font-size: .72em; opacity: .9; display: flex; align-items: center; gap: .35em; }
.online { width: .55em; height: .55em; border-radius: 50%; background: #4ade80; }
.chat-body { flex: 1; padding: .9em; display: flex; flex-direction: column; gap: .6em; }
.msg { font-size: .8em; line-height: 1.42; padding: .6em .8em; border-radius: 1em; max-width: 88%; }
.msg-user { align-self: flex-end; background: #2563eb; color: #fff; border-bottom-right-radius: .3em; }
.msg-bot { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--line); border-bottom-left-radius: .3em; }
.chat-chips { display: flex; flex-wrap: wrap; gap: .4em; }
.chat-chips span { font-size: .72em; font-weight: 600; padding: .35em .8em; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); }
.chat-chips span.on { background: #2563eb; color: #fff; border-color: #2563eb; }
.chat-input { display: flex; align-items: center; gap: .5em; margin: 0 .8em .8em; padding: .45em .45em .45em .9em; border-radius: .8em; border: 1px solid var(--line-2); }
.chat-input span { flex: 1; height: .6em; border-radius: .3em; background: var(--line); max-width: 50%; }
.chat-input i { margin-left: auto; width: 1.9em; height: 1.9em; border-radius: .55em; background: #2563eb; color: #fff; display: grid; place-items: center; }
.chat-input i svg { width: 1em; height: 1em; }
.fc-notify { left: 3%; bottom: 8%; max-width: 62%; animation-delay: -2s; }

/* telefon */
.phone { position: relative; aspect-ratio: 9 / 19.2; padding: .55em; border-radius: 3em; background: #0e0d14; box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset, var(--shadow-lg); }
.phone::before { content: ""; position: absolute; top: 1.15em; left: 50%; width: 26%; height: 1.45em; transform: translateX(-50%); border-radius: 1em; background: #0e0d14; z-index: 2; }
.phone-screen { position: relative; height: 100%; border-radius: 2.5em; overflow: hidden; padding: .9em 1em 1em; }
.phone-status { display: flex; justify-content: space-between; align-items: center; padding: .1em .9em 0; font-size: .74em; font-weight: 650; height: 1.8em; }
.ps-icons { display: inline-flex; gap: .25em; align-items: flex-end; }
.ps-icons i { width: .3em; background: currentColor; border-radius: 1px; height: .5em; }
.ps-icons i:nth-child(2) { height: .7em; } .ps-icons i:nth-child(3) { height: .9em; }
.stage-phone .phone { position: absolute; left: 50%; top: 8%; width: 46%; transform: translateX(-50%); }
.learn-screen { background: #faf8ff; color: #1e1b2e; display: flex; flex-direction: column; gap: .7em; }
.learn-top { display: flex; justify-content: space-between; align-items: center; margin-top: .4em; }
.streak { display: inline-flex; align-items: center; gap: .3em; font-size: .72em; font-weight: 700; padding: .3em .7em .3em .45em; border-radius: 999px; background: #fff7ed; color: #c2410c; }
.streak svg { width: 1.2em; height: 1.2em; }
.xp { font-size: .72em; font-weight: 700; color: #6d28d9; }
.learn-progress { height: .5em; border-radius: 1em; background: #ede9fe; overflow: hidden; }
.learn-progress span { display: block; width: 30%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #8b5cf6, #d946ef); }
.learn-count { font-size: .7em; color: #6b6780; font-weight: 600; }
.learn-q { font-size: 1.3em; font-weight: 750; letter-spacing: -.02em; line-height: 1.2; }
.learn-opts { display: grid; grid-template-columns: 1fr 1fr; gap: .5em; }
.learn-opts span { display: flex; align-items: center; justify-content: center; gap: .3em; height: 2.6em; border-radius: .8em; background: #fff; border: 1px solid #e4defa; font-weight: 700; font-size: .95em; box-shadow: 0 2px 0 #e4defa; }
.learn-opts span.ok { background: #dcfce7; border-color: #22c55e; color: #15803d; box-shadow: 0 2px 0 #22c55e; }
.learn-opts span svg { width: 1em; height: 1em; }
.learn-ok { font-size: .78em; font-weight: 700; color: #15803d; text-align: center; }
.panda { display: flex; gap: .6em; align-items: flex-start; padding: .7em; border-radius: 1em; background: #fff; border: 1px solid #ece7fb; box-shadow: 0 6px 18px -10px rgba(91, 33, 182, .35); }
.panda-ava { width: 2.4em; height: 2.4em; flex: none; }
.panda p { font-size: .74em; line-height: 1.4; color: #3b3650; }
.fc-score { right: 3%; top: 66%; animation-delay: -4s; max-width: 48%; }
.ring { --p: 86; width: 3em; height: 3em; flex: none; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(#8b5cf6 calc(var(--p) * 1%), var(--line-2) 0); position: relative; }
.ring::before { content: ""; position: absolute; inset: .3em; border-radius: 50%; background: var(--surface); }
.ring b { position: relative; font-size: .8em; }

/* telefon (Autoškola) */
.product-note { margin-top: 18px; font-size: 13px; line-height: 1.5; color: var(--text-3); max-width: 34em; }
.drive-screen { background: #f6fbfa; color: #10201e; display: flex; flex-direction: column; gap: .6em; }
.drive-top { display: flex; justify-content: space-between; align-items: center; margin-top: .4em; }
.drive-pill { font-size: .72em; font-weight: 700; padding: .3em .75em; border-radius: 999px; background: #ccfbf1; color: #0f766e; }
.drive-timer { font-size: .78em; font-weight: 700; font-variant-numeric: tabular-nums; color: #0f766e; }
.drive-progress { height: .5em; border-radius: 1em; background: #d5efe9; overflow: hidden; }
.drive-progress span { display: block; width: 48%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #14b8a6, #0ea5e9); }
.drive-count { font-size: .7em; color: #5b6f6b; font-weight: 600; }
.drive-scene { position: relative; border-radius: .9em; overflow: hidden; aspect-ratio: 16 / 10; box-shadow: 0 4px 14px -8px rgba(15, 118, 110, .5); }
.drive-video { background: linear-gradient(180deg, #7dd3fc 0%, #bae6fd 44%, #86efac 44%, #4ade80 100%); }
.dv-road { position: absolute; left: 50%; bottom: 0; width: 120%; height: 56%; transform: translateX(-50%); background: #475569; clip-path: polygon(44% 0, 56% 0, 100% 100%, 0 100%); }
.dv-road::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1.6%; transform: translateX(-50%); background: repeating-linear-gradient(#fff 0 12%, transparent 12% 24%); }
.dv-play { position: absolute; left: 50%; top: 50%; width: 2.6em; height: 2.6em; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-items: center; background: rgba(15, 23, 42, .62); color: #fff; box-shadow: 0 4px 14px rgba(15, 23, 42, .35); }
.dv-play svg { width: 1.2em; height: 1.2em; margin-left: .12em; }
.drive-video small { position: absolute; left: .6em; top: .55em; font-size: .62em; font-weight: 700; padding: .2em .6em; border-radius: 999px; background: rgba(15, 23, 42, .62); color: #fff; }
.drive-q { font-size: .98em; font-weight: 750; letter-spacing: -.015em; line-height: 1.22; }
.drive-opts { display: grid; gap: .4em; }
.drive-opts span { display: flex; align-items: center; gap: .55em; min-height: 2.3em; padding: .3em .8em; line-height: 1.2; border-radius: .75em; background: #fff; border: 1px solid #d5e9e4; font-weight: 650; font-size: .8em; box-shadow: 0 2px 0 #d5e9e4; }
.drive-opts i { width: 1.5em; height: 1.5em; border-radius: .45em; background: #ccfbf1; color: #0f766e; font-style: normal; font-size: .85em; font-weight: 800; display: grid; place-items: center; flex: none; }
.drive-tip { display: flex; gap: .55em; align-items: flex-start; padding: .6em; border-radius: .9em; background: #fff; border: 1px solid #d5e9e4; }
.drive-tip .app-icon { box-shadow: none; }
.drive-tip p { font-size: .7em; line-height: 1.38; color: #2f4542; }
.stage-drive .phone { left: 37%; }
.fc-ready { right: 3%; top: 22%; animation-delay: -4s; max-width: 37%; }
.fc-brake { right: 3%; top: 56%; animation-delay: -1.5s; max-width: 37%; }
.ring-drive { background: conic-gradient(#14b8a6 calc(var(--p) * 1%), var(--line-2) 0); }

/* papír (Gifts) */
.stage-paper .paper { position: absolute; border-radius: .5em; box-shadow: var(--shadow-lg); }
.paper-cert { left: 5%; top: 14%; width: 44%; aspect-ratio: 1 / 1.3; transform: rotate(-7deg); background: #fffdf7; }
.cert-inner { position: absolute; inset: .9em; border: .18em double #c8961e; border-radius: .3em; display: flex; flex-direction: column; align-items: center; padding-top: 1.6em; gap: .7em; }
.cert-star { width: 2.6em; height: 2.6em; color: #d4a017; }
.cert-title { font-size: .95em; font-weight: 750; text-transform: uppercase; letter-spacing: .12em; color: #7c2d12; text-align: center; padding: 0 1em; line-height: 1.25; }
.cert-name { font-family: "Snell Roundhand", "Apple Chancery", "Segoe Script", "Brush Script MT", cursive; font-size: 2em; color: #9f1239; line-height: 1; }
.cert-line { width: 60%; height: .25em; border-radius: 1em; background: #ead9b8; }
.cert-line.short { width: 40%; }
.paper-letter { right: 6%; top: 6%; width: 50%; aspect-ratio: 1 / 1.38; transform: rotate(3deg); background: linear-gradient(180deg, #fffaf0, #fdf3df); }
.letter-inner { position: absolute; inset: 1em; border: .12em solid #e5c88f; border-radius: .3em; padding: 1.2em 1.1em; display: flex; flex-direction: column; }
.letter-kicker { font-size: .66em; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #a16207; text-align: center; }
.letter-dear { margin-top: .7em; font-family: "Snell Roundhand", "Apple Chancery", "Segoe Script", "Brush Script MT", cursive; font-size: 1.7em; color: #9f1239; line-height: 1.1; }
.handwriting { margin-top: .6em; width: 100%; height: 8.5em; color: #1e3a8a; opacity: .85; }
.letter-sign { margin-top: auto; text-align: right; color: #9f1239; font-size: .9em; }
.seal { position: absolute; right: -1em; bottom: -1em; width: 3.6em; height: 3.6em; border-radius: 50%; display: grid; place-items: center; color: #fecaca; background: radial-gradient(circle at 35% 30%, #ef4444, #991b1b 70%); box-shadow: 0 4px 10px rgba(127, 29, 29, .45), inset 0 0 0 .3em rgba(0,0,0,.12); }
.seal svg { width: 1.6em; height: 1.6em; }
.fc-pdf { left: 4%; bottom: 7%; animation-delay: -3s; }

/* Party */
.stage-party { background: radial-gradient(70% 60% at 20% 10%, rgba(236, 72, 153, .55), transparent 70%), radial-gradient(70% 70% at 90% 90%, rgba(124, 58, 237, .6), transparent 70%), #1a1033; border-color: rgba(255,255,255,.08); }
.stage-party::before { background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); }
.party-card { position: absolute; width: 40%; aspect-ratio: 3 / 4.2; border-radius: 1.6em; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .5em; padding: 1.4em; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.party-card.word { left: 10%; top: 13%; transform: rotate(-6deg); background: #fff; color: #1e1b2e; }
.party-card.word small { font-size: .8em; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #7c3aed; }
.party-card.word b { font-size: 2.3em; letter-spacing: -.03em; }
.party-emoji svg { width: 4.6em; height: 4.6em; }
.party-card.impostor { right: 10%; top: 20%; transform: rotate(5deg); background: linear-gradient(150deg, #f472b6, #db2777 45%, #7c3aed); color: #fff; }
.party-card.impostor b { font-size: 1.5em; line-height: 1.15; letter-spacing: -.02em; }
.party-card.impostor small { font-size: .82em; opacity: .9; }
.mask { width: 4.2em; height: 4.2em; border-radius: 1.2em; background: rgba(255,255,255,.18); display: grid; place-items: center; margin-bottom: .4em; }
.mask svg { width: 2.6em; height: 2.6em; }
.fc-players { left: 50%; bottom: 7%; transform: translateX(-50%); animation: none; gap: .9em; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.18); color: #fff; }
.fc-players small { color: rgba(255,255,255,.85); white-space: nowrap; }
.avatars { display: inline-flex; }
.avatars i { width: 2em; height: 2em; border-radius: 50%; background: var(--c); color: #fff; font-style: normal; font-size: .8em; font-weight: 700; display: grid; place-items: center; border: .15em solid #2a1650; }
.avatars i + i { margin-left: -.55em; }

/* Academy (kurz + certifikát) */
.stage-courses .course-panel { position: absolute; left: 7%; top: 12%; width: 60%; padding: 1.4em 1.6em 1.5em; border-radius: 1.3em; background: #fff; color: #1e1b2e; box-shadow: 0 1.4em 3em -1.2em rgba(49, 46, 129, .45); transform: rotate(-2deg); }
.course-title { font-weight: 750; font-size: 1.25em; letter-spacing: -.01em; }
.course-bar { margin: .9em 0 1.1em; height: .6em; border-radius: 1em; background: #e0e7ff; overflow: hidden; }
.course-bar span { display: block; width: 68%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #6366f1, #0ea5e9); }
.course-steps { list-style: none; display: grid; gap: .75em; font-size: 1.05em; color: #475569; }
.course-steps li { display: flex; align-items: center; gap: .7em; }
.course-steps i { width: 1.6em; height: 1.6em; border-radius: 50%; flex: none; display: grid; place-items: center; border: .16em solid #c7d2fe; }
.course-steps li.done i { background: #6366f1; border-color: #6366f1; color: #fff; }
.course-steps li.done i svg { width: .95em; height: .95em; }
.course-steps li.now { color: #1e1b2e; font-weight: 650; }
.course-steps li.now i { border-color: #6366f1; box-shadow: inset 0 0 0 .3em #fff, inset 0 0 0 1em #6366f1; }
.course-cert { position: absolute; right: 6%; top: 38%; width: 31%; aspect-ratio: 1 / 1.08; padding: 1em; border-radius: 1em; background: #fffdf7; color: #7c2d12; border: .25em double #c8961e; box-shadow: 0 1.4em 3em -1.2em rgba(120, 53, 15, .45); transform: rotate(5deg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35em; text-align: center; }
.course-cert .cert-star { width: 2.4em; height: 2.4em; }
.course-cert b { font-size: .95em; text-transform: uppercase; letter-spacing: .1em; }
.course-cert small { font-size: .9em; color: #9a3412; }
.cert-qr { width: 2.4em; height: 2.4em; margin-top: .3em; border: .25em solid #fff; outline: .12em solid #7c2d12; background: repeating-conic-gradient(#7c2d12 0 25%, #fff 0 50%) 0 0 / .62em .62em; opacity: .8; }
.fc-quiz { left: 5%; bottom: 8%; animation-delay: -3s; }

/* ---------- sezónně (vánoční nabídka; mimo období se ani nevygeneruje, JS ji navíc skryje) ---------- */
.season { padding: clamp(8px, 2vw, 24px) 0 clamp(24px, 4vw, 48px); }
.season[hidden] { display: none; }
.season-card {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 44px);
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 48px); align-items: center;
  color: #fdf4f4;
  background:
    radial-gradient(60% 90% at 0% 0%, rgba(225, 29, 72, .55), transparent 70%),
    radial-gradient(50% 80% at 100% 100%, rgba(202, 138, 4, .32), transparent 70%),
    linear-gradient(135deg, #3b0a1e, #1c1030 70%);
  box-shadow: var(--shadow-lg);
}
.season-deco { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,.55) 0 1.2px, transparent 1.6px), radial-gradient(circle, rgba(255,255,255,.3) 0 1px, transparent 1.4px);
  background-size: 64px 64px, 38px 38px; background-position: 0 0, 19px 23px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); }
.season-deco i { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #fde68a; box-shadow: 0 0 14px 4px rgba(253, 230, 138, .55); animation: twinkle 4s ease-in-out infinite; }
.season-deco i:nth-child(1) { left: 6%; top: 14%; }
.season-deco i:nth-child(2) { left: 38%; top: 8%; width: 6px; height: 6px; animation-delay: -1s; }
.season-deco i:nth-child(3) { right: 8%; top: 12%; animation-delay: -2s; }
.season-deco i:nth-child(4) { right: 30%; bottom: 10%; width: 6px; height: 6px; animation-delay: -3s; }
.season-deco i:nth-child(5) { left: 22%; bottom: 14%; width: 7px; height: 7px; animation-delay: -1.6s; }
@keyframes twinkle { 0%, 100% { opacity: .35; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.15); } }
.season .eyebrow { display: inline-flex; align-items: center; gap: 7px; color: #fcd34d; margin-bottom: 10px; }
.season-title { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -.035em; line-height: 1.08; color: #fff; }
.season-lead { margin-top: 12px; color: rgba(253, 244, 244, .82); font-size: 1.02rem; }
.season-grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.season-item { display: flex; align-items: center; gap: 12px; height: 100%; padding: 12px 14px; border-radius: 16px; text-decoration: none; color: #fff;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background-color .15s, border-color .15s, transform .15s; }
.season-item:hover { background: rgba(255, 255, 255, .14); border-color: rgba(253, 230, 138, .55); transform: translateY(-1px); }
.season-item .app-icon { box-shadow: none; }
.si-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; flex: 1; }
.si-text b { font-size: 14.5px; font-weight: 650; }
.si-text small { font-size: 12.5px; color: rgba(253, 244, 244, .7); }
.season-item .lb { color: rgba(253, 244, 244, .85); }
.si-arrow { flex: none; opacity: .7; transition: transform .18s; }
.season-item:hover .si-arrow { transform: translateX(3px); opacity: 1; }

/* ---------- všechny aplikace ---------- */
/* mobilní aplikace: pruh s odznaky obchodů (build.py mobile_app_section; ukáže ho site.js podle viditelnosti v katalogu) */
.mobile-app { padding: clamp(28px, 5vw, 56px) 0; }
.mobile-app[hidden] { display: none; }
.mobile-app-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding: clamp(20px, 3vw, 32px) clamp(20px, 4vw, 40px); border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow-sm); }
.mobile-app-title { font-size: clamp(1.25rem, 2.2vw, 1.7rem); letter-spacing: -.03em; line-height: 1.15; }
.mobile-app-lead { margin-top: 6px; color: var(--text-2); max-width: 34em; }
.mobile-app-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.store-badge { display: inline-flex; align-items: center; border-radius: 8px; }
.store-badge img { display: block; width: auto; }
.store-badge:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; }
@media (max-width: 640px) { .mobile-app-card { flex-direction: column; align-items: flex-start; } }

.directory { background: var(--bg-2); border-block: 1px solid var(--line); }
.dir-groups { display: grid; gap: 20px; margin-top: 56px; }
.dir-group { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; padding: 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.dir-head { display: flex; align-items: center; gap: 12px; align-self: start; position: sticky; top: calc(var(--header-h) + 20px); }
.dir-head h3 { font-size: 17px; letter-spacing: -.02em; }
.dir-head .tag { margin-left: auto; }
.dir-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 12px; }
.dir-item { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); }
.dir-item h4 { font-size: 15.5px; letter-spacing: -.015em; line-height: 1.3; }
.dir-item h4 .tag { height: 20px; padding: 0 8px; font-size: 11.5px; margin-left: 6px; vertical-align: 2px; }
.dir-item p { font-size: 14px; line-height: 1.5; color: var(--text-2); }
.dir-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: auto; padding-top: 10px; }
.dir-links .label { font-size: 12.5px; color: var(--text-3); margin-right: 2px; }
.dir-links .missing { width: 100%; font-size: 12.5px; color: var(--text-3); }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 3px 10px 3px 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); color: var(--text); font-size: 13px; font-weight: 600; text-decoration: none; transition: border-color .15s, background-color .15s, color .15s; }
.chip:hover { border-color: var(--accent); color: var(--accent-text); }
.chip .flag { width: 16px; height: 12px; }
.chip.plain { padding-left: 10px; }
.chip.primary { background: var(--btn-bg); color: var(--btn-text); border-color: var(--btn-bg); padding-right: 12px; }
.chip.primary:hover { background: var(--btn-hover); color: var(--btn-text); }
.chip.primary svg.arrow { width: 14px; height: 14px; }

/* ---------- proč my ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 56px; border-radius: var(--radius-lg); border: 1px solid var(--line); overflow: hidden; background: var(--line); gap: 1px; }
.why-item { padding: 32px 30px 34px; background: var(--surface); }
.why-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); margin-bottom: 20px; }
.why-ico svg { width: 22px; height: 22px; }
.why-item h3 { font-size: 18px; letter-spacing: -.02em; }
.why-item p { margin-top: 8px; color: var(--text-2); font-size: 15.5px; }

/* ---------- O nás (build.py → about_section; údaje z site.config.json → legal.operator) ---------- */
.about { padding-top: 0; }
.about-card { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 5vw, 72px); align-items: center;
  padding: clamp(28px, 5vw, 56px); border-radius: var(--radius-lg); background: var(--bg-2); border: 1px solid var(--line); }
.about-person { position: relative; padding: 26px 26px 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow-md); }
.about-mark { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px; }
.about-mark svg { width: 48px; height: 48px; }
.about-name { font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; color: var(--text); }
.about-text { margin-top: 8px; color: var(--text-2); font-size: 15.5px; }
.about-id { margin-top: 12px; font-size: 13.5px; color: var(--text-3); font-variant-numeric: tabular-nums; }

/* ---------- FAQ ---------- */
.faq { padding-top: 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-grid > div:first-child { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-list { border-top: 1px solid var(--line-2); }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; font-size: 1.08rem; font-weight: 600; letter-spacing: -.015em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { flex: none; width: 20px; height: 20px; color: var(--text-3); transition: transform .25s; }
.faq-item[open] summary svg { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--accent-text); }
.faq-item .faq-a { padding: 0 44px 24px 4px; color: var(--text-2); }

/* ---------- kontakt ---------- */
.contact { padding-top: 0; padding-bottom: clamp(64px, 8vw, 96px); }
.contact-card { position: relative; overflow: hidden; isolation: isolate; border-radius: 32px; padding: clamp(40px, 7vw, 88px) clamp(24px, 6vw, 80px); color: #fff; background: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 45%, #9d174d 100%); text-align: center; }
.contact-glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 15% 0%, rgba(167, 139, 250, .55), transparent 70%), radial-gradient(50% 70% at 100% 100%, rgba(251, 113, 133, .45), transparent 70%); }
.contact-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%); }
.contact-card .eyebrow { color: #ddd6fe; }
.contact-card .section-lead { color: rgba(255,255,255,.82); margin-inline: auto; }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.btn-light { background: #fff; color: #1e1b4b; }
.btn-light:hover { background: #f5f3ff; color: #1e1b4b; }
.btn-outline-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-outline-light:hover { background: rgba(255,255,255,.16); color: #fff; }
.btn-outline-light.copied::after { content: attr(data-copied); position: absolute; transform: translateY(-160%); padding: 4px 10px; border-radius: 8px; background: #fff; color: #1e1b4b; font-size: 13px; }

/* ---------- patička ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 28px; background: var(--bg); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-brand p { margin-top: 14px; color: var(--text-2); max-width: 26em; }
.footer-mail { display: inline-block; margin-top: 12px; font-weight: 600; }
.footer-h { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); font-weight: 700; margin-bottom: 14px; letter-spacing: .08em; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a, .footer-links .linklike { color: var(--text-2); text-decoration: none; font-size: 15px; }
.footer-links a:hover, .footer-links .linklike:hover { color: var(--text); text-decoration: underline; }
.footer-bottom { margin-inline: max(var(--gutter), calc((100% - var(--wrap)) / 2)); width: auto; max-width: none; padding-inline: 0; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; color: var(--text-3); font-size: 13.5px; }
.footer-op { display: block; margin-top: 2px; }
.footer-since { display: block; margin-top: 2px; }
.footer-langs { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.footer-langs a { display: inline-flex; align-items: center; gap: 6px; color: var(--text-3); text-decoration: none; }
.footer-langs .flag { width: 16px; height: 12px; }
.footer-langs a:hover { color: var(--text); }
.footer-langs a[aria-current="page"] { color: var(--text); font-weight: 600; }

/* ---------- právní stránky a 404 ---------- */
.legal { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 112px); }
.back { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 600; text-decoration: none; color: var(--text-2); }
.back svg { transform: rotate(180deg); }
.legal h1 { margin-top: 24px; font-size: clamp(2.2rem, 4.4vw, 3.3rem); letter-spacing: -.04em; }
.legal-meta { margin-top: 12px; color: var(--text-3); font-size: 14.5px; }
.legal-intro { margin-top: 24px; font-size: 1.15rem; color: var(--text-2); }
.legal h2 { margin: 44px 0 12px; font-size: 1.35rem; letter-spacing: -.02em; }
.legal p + p { margin-top: 12px; }
.legal p, .legal li { color: var(--text-2); }
.legal strong { color: var(--text); }
.placeholder { background: rgba(250, 204, 21, .22); color: var(--text); padding: 1px 6px; border-radius: 6px; font-weight: 600; }
.table-wrap { margin-top: 28px; overflow-x: auto; border: 1px solid var(--line-2); border-radius: 16px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
.legal caption { text-align: left; padding: 14px 16px; font-weight: 700; color: var(--text); background: var(--surface-2); border-bottom: 1px solid var(--line-2); }
.legal th, .legal td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); }
.legal tr:last-child td { border-bottom: 0; }
.legal td code { font-size: 13.5px; font-weight: 600; color: var(--text); }
.legal .btn { margin-top: 20px; }
.legal h3 { margin: 28px 0 8px; font-size: 1.1rem; letter-spacing: -.01em; }
.legal ul, .legal ol { margin: 12px 0 0; padding-left: 1.3em; }
.legal li + li { margin-top: 6px; }
.legal p + ul, .legal p + ol, .legal ul + p, .legal ol + p, .legal .table-wrap + p { margin-top: 12px; }
.legal td { color: var(--text-2); }
.legal a { overflow-wrap: anywhere; }
.legal-note { margin-top: 16px; padding: 10px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line-2); font-size: 14.5px; color: var(--text-2); }
.legal-box { margin-top: 24px; padding: 18px 20px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line-2); }
.legal-box > :first-child { margin-top: 0; }
.legal-toc { margin-top: 28px; padding: 16px 20px; border-radius: 16px; border: 1px solid var(--line-2); }
.legal-toc p { font-weight: 700; color: var(--text); }
.legal-toc ol { margin-top: 8px; }
.legal-toc li + li { margin-top: 2px; }
.doc-list { list-style: none; padding: 0 !important; margin-top: 16px !important; display: grid; gap: 10px; }
.doc-list li { display: grid; gap: 2px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 14px; margin: 0 !important; }
.doc-list span { font-size: 14.5px; color: var(--text-3); }
.notfound { padding: clamp(64px, 12vw, 160px) 0; text-align: center; }
.notfound .code { font-size: clamp(5rem, 16vw, 10rem); font-weight: 800; letter-spacing: -.06em; line-height: 1; }
.notfound p { margin: 16px auto 28px; color: var(--text-2); max-width: 32em; }
.notfound .langs { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }

/* ---------- cookie lišta ---------- */
.consent {
  position: fixed; z-index: 80; left: 16px; right: 16px; bottom: 16px; margin-inline: auto; max-width: 1040px;
  border-radius: 20px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow-lg);
  padding: 20px 22px; animation: rise .35s ease-out both;
}
.consent[hidden] { display: none; }
.consent-body { display: flex; align-items: center; gap: 24px; }
.consent-copy { flex: 1; min-width: 0; }
.consent h2 { font-size: 16.5px; letter-spacing: -.015em; }
.consent p { margin-top: 4px; font-size: 14.5px; color: var(--text-2); line-height: 1.5; }
.consent-actions { display: grid; grid-template-columns: auto auto; gap: 8px; flex: none; }
.consent-actions .btn-consent-settings { grid-column: 1 / -1; min-height: 34px; font-size: 14px; }
.btn-consent { background: var(--btn-bg); color: var(--btn-text); min-width: 150px; }
.btn-consent:hover { background: var(--btn-hover); color: var(--btn-text); }
@keyframes rise { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
.consent-dialog { width: min(560px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; border: 1px solid var(--line-2); border-radius: 22px; background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg); }
.consent-dialog::backdrop { background: rgba(10, 8, 20, .5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.consent-form { padding: 22px 24px 20px; }
.consent-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.consent-dialog-head h2 { font-size: 20px; }
.consent-dialog-text { margin: 6px 0 18px; color: var(--text-2); font-size: 14.5px; }
.consent-cat { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 16px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); margin-top: 8px; cursor: pointer; }
div.consent-cat { cursor: default; }
.consent-cat[hidden] { display: none; }
.consent-cat-text { display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; color: var(--text-2); line-height: 1.45; }
.consent-cat-name { font-size: 15px; font-weight: 650; color: var(--text); }
.consent-always { font-size: 12.5px; font-weight: 650; color: var(--ok); white-space: nowrap; }
.switch { -webkit-appearance: none; appearance: none; flex: none; position: relative; width: 44px; height: 26px; border-radius: 999px; background: var(--line-2); cursor: pointer; transition: background-color .2s; margin: 0; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: transform .2s; }
.switch:checked { background: var(--accent); }
.switch:checked::after { transform: translateX(18px); }
.consent-dialog-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.consent-dialog-actions .btn { flex: 1 1 140px; }
.consent-dialog-actions .btn-primary { background: var(--accent); color: #fff; }
:root[data-theme="dark"] .consent-dialog-actions .btn-primary { background: #5b4bdb; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .consent-dialog-actions .btn-primary { background: #5b4bdb; } }
.consent-dialog-foot { margin-top: 14px; font-size: 13px; color: var(--text-3); text-align: center; }

/* odkazy na landing stránky produktů (karta aplikace, adresář) — build.py landing_links_for */
.lp-card-links { margin-top: 18px; }
.lp-card-link { font-size: 15.5px; }

/* ---------- jemné animace ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- responzivita ---------- */
@media (max-width: 1220px) {   /* Aplikace, Dárky, Videa, Proč, O nás, Otázky, Kontakt se nevejdou → menu */
  .nav { display: none; }
  .menu { display: block; }
}
@media (max-width: 980px) {
  .product-grid, .product.flip .product-grid { grid-template-columns: minmax(0, 1fr); }
  .product.flip .product-copy { order: 0; }
  .hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hub-grid .hub-card, .hub-n5 .hub-card:nth-child(-n+2), .hub-n4 .hub-card, .hub-n2 .hub-card { grid-column: auto; }
  .hub-n5 .hub-card:first-child, .hub-n3 .hub-card:first-child, .hub-n1 .hub-card { grid-column: 1 / -1; }
  .about-card { grid-template-columns: minmax(0, 1fr); }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dir-group { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 20px; }
  .dir-head { position: static; }
  .season-card { grid-template-columns: minmax(0, 1fr); }
  .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-grid > div:first-child { position: static; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .header-cta { display: none; }
  .consent-body { flex-direction: column; align-items: stretch; gap: 14px; }
  .consent-actions { grid-template-columns: 1fr 1fr; }
  .btn-consent { min-width: 0; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; --header-h: 60px; }
  body { font-size: 16px; }
  .brand-name span { display: none; }
  .lang-switch > summary .lang-code { display: none; }
  .hub-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .hub-grid .hub-card { grid-column: auto !important; min-height: 0; }
  .hub-logo img { height: 30px; }
  .hub-logo, .hub-desc { padding-right: 48px; }
  .hub-mark { transform: rotate(8deg) scale(1.25); }
  .hub-title { margin-top: 36px; }
  .about-person { padding: 22px 20px; }
  .why-grid { grid-template-columns: minmax(0, 1fr); }
  .why-item { padding: 26px 22px; }
  .stage { aspect-ratio: 1 / 1; font-size: 2.7cqw; }
  .browser { left: 4%; right: 4%; }
  .browser-body { grid-template-columns: 1fr; }
  .site-skel { display: none; }
  .stage-phone .phone { width: 56%; }
  .paper-cert { left: 4%; width: 54%; }
  .paper-letter { right: 4%; width: 60%; }
  .party-card { width: 46%; }
  .party-card.word { left: 4%; }
  .party-card.impostor { right: 4%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .consent { left: 8px; right: 8px; bottom: 8px; padding: 16px; border-radius: 18px; }
  .stage-courses .course-panel { left: 5%; width: 66%; }
  .course-cert { right: 4%; width: 34%; }
  .season-card { padding: 24px 18px; }
  .season-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .season-grid li:nth-child(n+5) { display: none; }   /* na mobilu střídmě: 4 nabídky, zbytek v katalogu */
  .season-item { padding: 10px 12px; }
  .season-lead { font-size: .96rem; }
  .faq-item .faq-a { padding-right: 8px; }
}
@media (max-width: 380px) {
  .header-tools { gap: 2px; }
  .lang-switch > summary { padding: 0 6px; }
}
@media print {
  .site-header, .consent, .consent-dialog, .product-visual { display: none !important; }
}
