/* SpotZone, veřejný web. Čisté CSS bez frameworku, písma z vlastního serveru (D-89). */

@font-face { font-family: Figtree; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/Figtree-500.ttf") format("truetype"); }
@font-face { font-family: Figtree; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/Figtree-600.ttf") format("truetype"); }
@font-face { font-family: Figtree; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/Figtree-700.ttf") format("truetype"); }
@font-face { font-family: Roboto; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/Roboto-400.ttf") format("truetype"); }
@font-face { font-family: Roboto; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/Roboto-500.ttf") format("truetype"); }
@font-face { font-family: Roboto; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/Roboto-700.ttf") format("truetype"); }

:root {
	color-scheme: light dark;
	--seed: #24508f;
	--accent: #7fb2e0;
	--bg: #f8f9fc;
	--surface: #ffffff;
	--surface-2: #edf1f8;
	--text: #171b22;
	--muted: #475160;
	--border: #d6deea;
	--primary: #24508f;
	--on-primary: #ffffff;
	--primary-soft: #e2ebf8;
	--link: #1c4a8c;
	--focus: #0b5fd1;
	--danger: #a42323;
	--danger-soft: #fbe9e9;
	--success: #17784a;
	--success-soft: #dcf3e6;
	--hero-bg: radial-gradient(900px 480px at 88% 8%, rgb(127 178 224 / 38%), transparent 62%), radial-gradient(700px 380px at 0% 100%, rgb(64 196 140 / 20%), transparent 60%), linear-gradient(160deg, #0d2347 0%, #1b4280 58%, #24508f 100%);
	--shadow-lg: 0 2px 6px rgb(16 24 40 / 10%), 0 24px 48px rgb(16 24 40 / 18%);
	--cta-bg: #24508f;
	--shadow: 0 1px 2px rgb(16 24 40 / 6%), 0 8px 24px rgb(16 24 40 / 8%);
	--radius: 16px;
	--radius-sm: 10px;
	--font-head: Figtree, "Segoe UI", system-ui, sans-serif;
	--font-body: Roboto, "Segoe UI", system-ui, sans-serif;
}

/* Tmavý vzhled: podle systému, pokud si návštěvník ručně nezvolil světlý, nebo ruční volbou (assets/js/theme.js). */
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--bg: #0f141b;
		--surface: #171d26;
		--surface-2: #1e2631;
		--text: #e7ecf3;
		--muted: #a9b4c3;
		--border: #2b3644;
		--primary: #8db8e8;
		--on-primary: #0a1a30;
		--primary-soft: #1d3250;
		--link: #9dc4f0;
		--focus: #8db8e8;
		--danger: #ff9b9b;
		--danger-soft: #3a1c1c;
		--success: #6fd6a2;
		--success-soft: #163628;
		--hero-bg: radial-gradient(900px 480px at 88% 8%, rgb(80 140 210 / 28%), transparent 62%), radial-gradient(700px 380px at 0% 100%, rgb(64 196 140 / 14%), transparent 60%), linear-gradient(160deg, #07111f 0%, #0d2140 58%, #132d55 100%);
		--shadow-lg: 0 2px 6px rgb(0 0 0 / 40%), 0 24px 48px rgb(0 0 0 / 50%);
		--cta-bg: #1a3862;
		--shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 8px 24px rgb(0 0 0 / 40%);
	}
}

:root[data-theme="dark"] {
	color-scheme: dark;
	--bg: #0f141b;
	--surface: #171d26;
	--surface-2: #1e2631;
	--text: #e7ecf3;
	--muted: #a9b4c3;
	--border: #2b3644;
	--primary: #8db8e8;
	--on-primary: #0a1a30;
	--primary-soft: #1d3250;
	--link: #9dc4f0;
	--focus: #8db8e8;
	--danger: #ff9b9b;
	--danger-soft: #3a1c1c;
	--success: #6fd6a2;
	--success-soft: #163628;
	--hero-bg: radial-gradient(900px 480px at 88% 8%, rgb(80 140 210 / 28%), transparent 62%), radial-gradient(700px 380px at 0% 100%, rgb(64 196 140 / 14%), transparent 60%), linear-gradient(160deg, #07111f 0%, #0d2140 58%, #132d55 100%);
	--shadow-lg: 0 2px 6px rgb(0 0 0 / 40%), 0 24px 48px rgb(0 0 0 / 50%);
	--cta-bg: #1a3862;
	--shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 8px 24px rgb(0 0 0 / 40%);
}

:root[data-theme="light"] { color-scheme: light; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.6;
}

img, svg { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
main:focus { outline: none; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 0.6em; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw + 0.5rem, 3.4rem); }
h2 { font-size: clamp(1.5rem, 2.4vw + 0.8rem, 2.15rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
h1, h2 { text-wrap: balance; }

.container { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 16px; }
.narrow { max-width: 760px; }
.center { text-align: center; justify-content: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: absolute; left: 8px; top: -60px; background: var(--primary); color: var(--on-primary); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 8px; }

/* Záhlaví */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--surface); border-bottom: 1px solid var(--border); }
.header-bar { display: flex; align-items: center; gap: 12px; min-height: 64px; }
@media (min-width: 960px) { .header-bar { gap: 24px; } }
.brand { display: inline-flex; align-items: center; margin-right: auto; }
.brand img { display: block; }
.main-nav { display: none; gap: 4px; }
.main-nav a { color: var(--text); text-decoration: none; padding: 8px 12px; border-radius: 999px; font-weight: 500; }
.main-nav a:hover { background: var(--surface-2); }
.main-nav a[aria-current="page"] { background: var(--primary-soft); color: var(--link); font-weight: 700; }
.header-actions { display: none; align-items: center; gap: 8px; }
.lang-switch { display: inline-grid; place-items: center; min-width: 36px; height: 36px; padding: 0 8px; color: var(--muted); font-weight: 700; text-decoration: none; border: 1px solid var(--border); border-radius: 8px; font-size: 0.85rem; line-height: 1; }
.lang-switch:hover { color: var(--text); border-color: var(--muted); }
.theme-toggle { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--border); border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; flex: none; }
.theme-toggle[hidden] { display: none; }
.theme-toggle:hover { color: var(--text); border-color: var(--muted); }
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
	:root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}

.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary:hover { background: var(--surface-2); }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; content: ""; position: relative; }
.menu-icon::before { position: absolute; top: -7px; }
.menu-icon::after { position: absolute; top: 7px; }
.menu-panel { position: absolute; right: 0; top: 52px; width: min(300px, calc(100vw - 32px)); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; display: grid; }
.menu-panel a { color: var(--text); text-decoration: none; padding: 12px 14px; border-radius: 10px; font-weight: 500; }
.menu-panel a:hover { background: var(--surface-2); }

@media (min-width: 960px) {
	.main-nav, .header-actions { display: flex; }
	.menu { display: none; }
	.brand { margin-right: 0; }
	.main-nav { margin-right: auto; }
}

/* Tlačítka */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent; font: 700 1rem/1.2 var(--font-head); text-decoration: none; cursor: pointer; transition: background 0.15s, border-color 0.15s; }
.btn--small { min-height: 40px; padding: 8px 16px; font-size: 0.95rem; }
.btn--large { min-height: 54px; padding: 14px 28px; font-size: 1.05rem; }
.btn--primary { background: var(--primary); color: var(--on-primary); }
.btn--primary:hover { filter: brightness(1.1); }
.btn--ghost { background: transparent; color: var(--link); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--link); background: var(--primary-soft); }
.btn--light { background: #ffffff; color: #1b3f74; }
.btn--light:hover { background: #eaf2fc; }
.btn--outline-light { color: #ffffff; border-color: rgb(255 255 255 / 60%); }
.btn--outline-light:hover { background: rgb(255 255 255 / 12%); border-color: #ffffff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }

.stores { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.store { display: inline-flex; flex-direction: column; background: #101419; color: #ffffff; text-decoration: none; padding: 8px 18px; border-radius: 12px; font: 700 1.05rem/1.2 var(--font-head); border: 1px solid #3a4452; }
.store:hover { background: #1c2430; }
.store-small { font: 400 0.7rem/1.2 var(--font-body); opacity: 0.85; }

/* Úvodní blok */
.eyebrow { color: var(--link); font: 700 0.85rem/1.2 var(--font-head); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.eyebrow a { color: inherit; }
.lead { font-size: clamp(1.05rem, 0.6vw + 0.95rem, 1.25rem); color: var(--muted); }
.note { color: var(--muted); font-size: 0.9rem; }
.hero { position: relative; padding: 48px 0 64px; color: #ffffff; background: var(--hero-bg); overflow: hidden; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5vw + 0.8rem, 4.1rem); line-height: 1.04; letter-spacing: -0.025em; margin-bottom: 0.45em; }
.hero .hl { display: block; color: #9ed3ff; }
@supports (background-clip: text) or (-webkit-background-clip: text) {
	.hero .hl { background: linear-gradient(90deg, #a8d6ff 0%, #7fe3bb 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
}
.hero .lead { color: #d7e5f6; max-width: 36em; }
.hero .actions { margin: 28px 0 22px; }
.hero .stores { margin-top: 20px; }
.pill { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 6px 14px 6px 12px; border-radius: 999px; background: rgb(255 255 255 / 12%); border: 1px solid rgb(255 255 255 / 24%); font: 600 0.9rem/1.3 var(--font-head); }
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: #7fe3bb; box-shadow: 0 0 0 4px rgb(127 227 187 / 25%); flex: none; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: #d7e5f6; font-size: 0.95rem; }
.hero-points li { position: relative; padding-left: 24px; }
.hero-points li::before { content: ""; position: absolute; left: 3px; top: 0.3em; width: 6px; height: 11px; border: solid #7fe3bb; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.hero-visual { position: relative; display: flex; justify-content: center; padding: 12px 0; }
.hero-visual .phone { position: relative; z-index: 1; max-width: 300px; border: 7px solid #0b1424; box-shadow: 0 30px 70px rgb(0 0 0 / 40%); }
.hero-glow { position: absolute; inset: 8% 0; border-radius: 50%; background: radial-gradient(circle, rgb(127 227 187 / 30%), transparent 65%); filter: blur(24px); }
.float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px 14px 10px 10px; background: var(--surface); color: var(--text); border-radius: 14px; box-shadow: var(--shadow-lg); font: 700 0.9rem/1.2 var(--font-head); white-space: nowrap; }
.float-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--primary-soft); color: var(--link); flex: none; }
.float--open .float-icon { background: var(--success-soft); color: var(--success); }
.float--near { left: 0; top: 16%; }
.float--open { right: 0; bottom: 14%; }
@media (max-width: 420px) {
	.float { font-size: 0.8rem; padding: 8px 10px 8px 8px; }
	.float-icon { width: 26px; height: 26px; }
}
@media (min-width: 900px) {
	.hero { padding: 88px 0 96px; }
	.hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
	.float--near { left: -8px; }
	.float--open { right: -8px; }
}

.phone { margin: 0; width: 100%; max-width: 290px; border-radius: 38px; overflow: hidden; border: 6px solid #111a2b; box-shadow: var(--shadow-lg); background: var(--surface); line-height: 0; }
.phone img { width: 100%; height: auto; display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .phone { border-color: #000000; outline: 1px solid var(--border); } }
:root[data-theme="dark"] .phone { border-color: #000000; outline: 1px solid var(--border); }

/* Čísla */
.stats-band { padding: 32px 0; background: var(--surface); border-block: 1px solid var(--border); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 0 0 8px; text-align: center; }
.stat dt { color: var(--muted); font-size: 0.95rem; order: 2; }
.stat dd { margin: 0; font: 700 clamp(1.8rem, 4vw, 2.6rem)/1.1 var(--font-head); color: var(--link); }
.stat { display: flex; flex-direction: column; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } }

/* Sekce */
.section { padding: 64px 0; }
@media (min-width: 900px) { .section { padding: 96px 0; } }
.section--alt { background: var(--surface-2); }
.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.more { text-align: center; margin: 32px 0 0; font-weight: 700; }
.page-head { padding: 56px 0 24px; background: linear-gradient(180deg, var(--primary-soft), var(--bg)); }
.page-head h1 { font-size: clamp(1.9rem, 4vw + 0.5rem, 2.8rem); }
.meta { display: flex; flex-wrap: wrap; gap: 12px; color: var(--muted); align-items: center; }

.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.cards--list { list-style: none; padding: 0; margin: 0; grid-template-columns: 1fr; }
@media (min-width: 720px) { .cards--list { grid-template-columns: 1fr 1fr; } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.section--alt .card { background: var(--surface); }
.card h3 { margin-bottom: 0.4em; }
.card p { color: var(--muted); margin: 0; }
.card-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--primary-soft); color: var(--link); margin-bottom: 16px; }
.card-icon svg, .benefit-icon svg, .float-icon svg, .compare-arrow svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.float-icon svg { width: 20px; height: 20px; }

.split { display: grid; gap: 40px; align-items: center; }
.split-shot { display: flex; justify-content: center; }
@media (min-width: 900px) {
	.split { grid-template-columns: 1.2fr 0.8fr; gap: 64px; }
	.split--reverse { grid-template-columns: 0.8fr 1.2fr; }
	.split--reverse .split-copy { order: 2; }
}

.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 22px; height: 22px; border-radius: 50%; background: var(--primary-soft); }
.checks li::after { content: ""; position: absolute; left: 7px; top: 0.45em; width: 6px; height: 11px; border: solid var(--link); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; position: relative; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: var(--on-primary); font: 700 1.1rem var(--font-head); margin-bottom: 14px; }
.steps p { color: var(--muted); margin: 0; }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; padding: 0; margin: 0; }
.chips li { background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 8px 18px; font-weight: 500; }

.premium-teaser { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.premium-teaser .lead { max-width: 720px; margin: 0; }
@media (min-width: 900px) { .premium-teaser { flex-direction: row; align-items: center; justify-content: space-between; gap: 48px; } }

.cta-band { background: var(--cta-bg); color: #ffffff; padding: 64px 0; text-align: center; }
.cta-band p { color: #dbe7f6; max-width: 560px; margin-inline: auto; }
.cta-band .stores { justify-content: center; }
.cta-band--home { background: var(--hero-bg); padding: 80px 0; }
.cta-band--home h2 { font-size: clamp(1.9rem, 3vw + 1rem, 2.8rem); max-width: 16em; margin-inline: auto; letter-spacing: -0.02em; }
.cta-band .cta-note { color: #c3d5ec; font-size: 0.92rem; margin-top: 4px; }
@media (min-width: 900px) { .cta-band--home { padding: 112px 0; } }

/* Úvodní stránka: příběh, otevřená platforma, zdarma, navíc */
.muted { color: var(--muted); }
.compare { display: grid; gap: 16px; align-items: stretch; max-width: 980px; margin-inline: auto; }
.compare-card { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.compare-card--after { border: 2px solid var(--primary); }
.compare-label { font: 700 0.8rem/1.2 var(--font-head); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 0 0 16px; }
.compare-card--after .compare-label { color: var(--link); }
.chat-mock { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.bubble { justify-self: start; max-width: 88%; padding: 9px 14px; border-radius: 18px 18px 18px 6px; background: var(--surface-2); font-size: 0.95rem; line-height: 1.4; }
.bubble--me { justify-self: end; background: var(--primary-soft); border-radius: 18px 18px 6px 18px; }
.compare-result { margin: auto 0 0; font-weight: 500; }
.compare-card--before .compare-result { color: var(--danger); }
.compare-card--after .compare-result { color: var(--success); }
.compare-arrow { justify-self: center; align-self: center; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: var(--on-primary); transform: rotate(90deg); }
.event-mock { background: var(--surface-2); border-radius: 18px; padding: 18px; margin-bottom: 18px; }
.event-mock-title { font: 700 1.1rem/1.3 var(--font-head); margin: 0 0 2px; }
.event-mock-meta { color: var(--muted); font-size: 0.9rem; margin: 0 0 14px; }
.event-mock-teams { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.team { padding: 6px 12px; border-radius: 999px; font: 700 0.85rem/1.2 var(--font-head); }
.team--members { background: var(--primary-soft); color: var(--link); }
.team--guests { background: var(--success-soft); color: var(--success); }
.team-plus { font-weight: 700; color: var(--muted); }
.event-mock-bar { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--primary) 0 50%, var(--success) 50% 100%); margin-bottom: 10px; }
.event-mock-full { margin: 0; font: 700 0.9rem/1.2 var(--font-head); color: var(--success); }
@media (min-width: 860px) {
	.compare { grid-template-columns: 1fr auto 1fr; gap: 24px; }
	.compare-arrow { transform: none; }
}

.benefits { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 22px; }
.benefits li { display: flex; gap: 16px; align-items: flex-start; }
.benefit-icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--primary); color: var(--on-primary); }
.benefit-icon svg { width: 24px; height: 24px; }
.benefits h3 { font-size: 1.12rem; margin: 2px 0 4px; }
.benefits p { margin: 0; color: var(--muted); }
.sports { margin-top: 32px; }
.sports-title { font: 700 0.8rem/1.2 var(--font-head); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 12px; }
.sports .chips { justify-content: flex-start; }
.chips .chip-more { background: transparent; border-style: dashed; color: var(--muted); }

.free { background: linear-gradient(180deg, var(--bg) 0%, var(--primary-soft) 100%); }
.free-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.free-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.free-card h3 { margin-bottom: 0.4em; }
.free-card p { color: var(--muted); margin: 0; }
.free-note { text-align: center; color: var(--muted); max-width: 640px; margin: 32px auto 0; }

.extras { display: grid; gap: 40px; align-items: start; }
.extras-head { margin-bottom: 28px; }
.extras-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.extra { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.extra .card-icon { width: 42px; height: 42px; margin-bottom: 12px; }
.extra .card-icon svg { width: 22px; height: 22px; }
.extra h3 { font-size: 1.05rem; margin-bottom: 4px; }
.extra p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.more-link { margin: 20px 0 0; font-weight: 700; }
.top-card { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.top-card h2 { font-size: 1.4rem; }
.top-groups { list-style: none; counter-reset: top; padding: 0; margin: 0 0 20px; }
.top-groups li { counter-increment: top; display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.top-groups li::before { content: counter(top); flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--primary-soft); color: var(--link); font: 700 0.95rem var(--font-head); }
.top-groups li:first-child::before { background: #f4c542; color: #3d2c00; }
.top-name { flex: 1; min-width: 0; font-weight: 500; overflow-wrap: anywhere; }
.top-xp { color: var(--muted); font-size: 0.9rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (min-width: 960px) { .extras { grid-template-columns: 1.6fr 1fr; gap: 56px; } }

/* Tabulky */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); margin: 0 0 1.2em; }
table { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
th, td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
thead th { background: var(--surface-2); font-family: var(--font-head); font-weight: 700; white-space: nowrap; }
tbody tr:last-child > * { border-bottom: 0; }
tbody th { font-weight: 500; }
th small { display: block; color: var(--muted); font-weight: 400; font-size: 0.85rem; margin-top: 2px; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tables { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.table-card h3 { margin-bottom: 12px; }
.leaderboard .rank { font: 700 1.05rem var(--font-head); color: var(--link); width: 4.5rem; }

.callout { background: var(--primary-soft); border: 1px solid var(--border); border-left: 6px solid var(--primary); border-radius: var(--radius-sm); padding: 24px; margin: 24px 0; }
.callout h2 { font-size: 1.35rem; }
.callout p:last-child { margin-bottom: 0; }

.plans { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); margin-bottom: 16px; }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.plan--recommended { border: 2px solid var(--primary); box-shadow: var(--shadow); }
.plan-badges { display: flex; gap: 8px; flex-wrap: wrap; min-height: 28px; margin-bottom: 12px; }
.plan-prices { margin: 0; display: grid; gap: 16px; }
.plan-prices dt { color: var(--muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }
.plan-prices dd { margin: 2px 0 0; display: flex; flex-direction: column; gap: 2px; }
.plan-prices strong { font: 700 1.3rem var(--font-head); }
.plan-prices span { color: var(--muted); font-size: 0.92rem; }
.subhead { margin-top: 40px; }
.badge { display: inline-block; background: var(--primary); color: var(--on-primary); font: 700 0.78rem/1 var(--font-head); padding: 6px 10px; border-radius: 999px; }
.badge--accent { background: var(--primary-soft); color: var(--link); border: 1px solid var(--border); }

.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 20px; font: 700 1.02rem var(--font-head); }
.faq details p { padding: 0 20px 16px; margin: 0; color: var(--muted); }

.empty { text-align: center; color: var(--muted); padding: 32px 0; }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 16px 0 24px; color: var(--muted); }
.doc-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.doc-list a { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 18px; text-decoration: none; font-weight: 500; }
.doc-list a:hover { border-color: var(--link); }

/* Texty (právní dokumenty, nápověda) */
.prose { overflow-wrap: anywhere; }
.prose h1 { font-size: 2rem; }
.prose h2 { margin-top: 1.8em; font-size: 1.5rem; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin-bottom: 0.35em; }
.prose blockquote { margin: 1em 0; padding: 12px 18px; background: var(--primary-soft); border-left: 5px solid var(--primary); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.prose blockquote p:last-child { margin: 0; }
.prose code { background: var(--surface-2); padding: 2px 6px; border-radius: 6px; font-size: 0.92em; }
.prose pre { background: var(--surface-2); padding: 16px; border-radius: var(--radius-sm); overflow-x: auto; }
.prose pre code { padding: 0; background: none; }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 2em 0; }
.prose .anchor { text-decoration: none; margin-left: -1.1em; padding-right: 0.3em; opacity: 0; font-weight: 400; }
.prose h2:hover .anchor, .prose h3:hover .anchor, .prose .anchor:focus { opacity: 0.6; }
.prose address { font-style: normal; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 20px; margin-bottom: 1em; }
.role-label { display: inline-block; background: var(--primary-soft); color: var(--link); font: 700 0.8rem var(--font-head); padding: 5px 12px; border-radius: 999px; }

/* Nápověda */
.docs { display: grid; gap: 24px; padding-block: 32px 64px; }
@media (min-width: 960px) { .docs { grid-template-columns: 290px minmax(0, 1fr); gap: 48px; align-items: start; } .docs-nav { position: sticky; top: 88px; max-height: calc(100vh - 104px); overflow-y: auto; } }
.docs-search { display: flex; gap: 8px; margin-bottom: 16px; }
.docs-search input { flex: 1; min-width: 0; }
.docs-section { border-bottom: 1px solid var(--border); }
.docs-section summary { cursor: pointer; padding: 12px 4px; font: 700 1rem var(--font-head); }
.docs-section ul { list-style: none; margin: 0 0 12px; padding: 0; }
.docs-section a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--text); text-decoration: none; font-size: 0.95rem; }
.docs-section a:hover { background: var(--surface-2); }
.docs-section a[aria-current="page"] { background: var(--primary-soft); color: var(--link); font-weight: 700; }
.docs-main { min-width: 0; }
.docs-toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 20px; margin: 32px 0; }
.docs-toc h2 { font-size: 1rem; margin-bottom: 8px; }
.docs-toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.docs-toc .sub { padding-left: 16px; }
.docs-pager { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; margin-top: 32px; }
.docs-pager a { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 18px; text-decoration: none; font-weight: 700; }
.docs-pager a:hover { border-color: var(--link); }
.docs-pager small { display: block; color: var(--muted); font-weight: 400; }
.docs-pager .next { grid-column: 2; text-align: right; }
.docs-pager .prev { grid-column: 1; }
.results { list-style: none; padding: 0; display: grid; gap: 12px; }
.results li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 18px; }
.results a { font: 700 1.05rem var(--font-head); }
.results p { margin: 6px 0 0; color: var(--muted); font-size: 0.95rem; }

/* Formuláře */
.form { display: grid; gap: 20px; }
.field label, .field--check label { font-weight: 700; display: block; margin-bottom: 6px; }
input[type="text"], input[type="email"], input[type="search"], textarea, select {
	width: 100%; padding: 12px 14px; background: var(--surface); color: var(--text); border: 1.5px solid var(--muted); border-radius: var(--radius-sm); font: inherit; min-height: 48px;
}
input[type="search"] { min-height: 40px; padding: 8px 12px; }
textarea { resize: vertical; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--danger); }
.field-row { display: grid; gap: 20px; }
@media (min-width: 720px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field--check label { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.field--check input { width: 24px; height: 24px; margin-top: 2px; flex: none; accent-color: var(--primary); }
.hint { color: var(--muted); font-size: 0.9rem; margin: 6px 0 0; }
.error { color: var(--danger); font-weight: 700; font-size: 0.92rem; margin: 6px 0 0; }
.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-weight: 500; }
.alert--error { background: var(--danger-soft); color: var(--danger); border: 1px solid var(--danger); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Chybové stránky */
.error-page { padding: 96px 0; }
.error-code { font: 700 clamp(4rem, 14vw, 8rem)/1 var(--font-head); color: var(--primary); opacity: 0.35; margin: 0; }

/* Patička */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 48px 0 24px; margin-top: 0; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.3fr 0.8fr 1fr 1.2fr; } }
.footer-brand p { color: var(--muted); max-width: 320px; margin-top: 12px; }
.footer-title { font: 700 0.85rem var(--font-head); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--text); }
.site-footer address { font-style: normal; color: var(--muted); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.9rem; }

@media print {
	.site-header, .site-footer, .cta-band, .docs-nav { display: none; }
	body { background: #fff; color: #000; }
}

/* Drobečková navigace nápovědy */
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; margin: 0 0 16px; padding: 0; font-size: 0.875rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: 0.6; }

/* Žebříček na telefonu: pořadí, skupina a XP se vejdou bez posouvání */
@media (max-width: 600px) {
	/* Záhlaví se zalamuje, aby čísla a jejich popisky zůstaly na 375 px vidět. Široké tabulky se posouvají ve vlastním rámu. */
	table { font-size: 0.9rem; }
	th, td { padding: 10px 8px; }
	thead th, thead th.num { white-space: normal; hyphens: auto; }
	.prose th, .prose td { min-width: 6rem; overflow-wrap: anywhere; }
	.leaderboard th:nth-child(3), .leaderboard td:nth-child(3), .leaderboard th:nth-child(4), .leaderboard td:nth-child(4) { display: none; }
}

/* Podstránky s tmavým úvodem (Funkce, SpotZone+) */
.hero--page { padding: 48px 0 56px; }
.hero--page h1 { font-size: clamp(2.2rem, 4vw + 0.8rem, 3.4rem); }
@media (min-width: 900px) { .hero--page { padding: 80px 0 88px; } }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.jump a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 10px; border-radius: 999px; background: rgb(255 255 255 / 10%); border: 1px solid rgb(255 255 255 / 22%); color: #ffffff; text-decoration: none; font: 600 0.95rem/1.2 var(--font-head); }
.jump a:hover { background: rgb(255 255 255 / 18%); }
.jump-icon { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: rgb(255 255 255 / 14%); }
.jump-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature { scroll-margin-top: 64px; }
.feature-tag { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; color: var(--link); font: 700 0.85rem/1.2 var(--font-head); text-transform: uppercase; letter-spacing: 0.08em; }
.feature-tag .benefit-icon { width: 40px; height: 40px; border-radius: 12px; }
.feature-tag .benefit-icon svg { width: 22px; height: 22px; }
.feature-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 24px 0 0; font-weight: 700; }
.free-banner { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; background: var(--surface); border: 2px solid var(--primary); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.free-banner h2 { font-size: clamp(1.4rem, 1.6vw + 0.9rem, 1.9rem); margin-bottom: 0.4em; }
.free-banner p { margin: 0; color: var(--muted); max-width: 52em; }
.free-banner-icon { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--success-soft); color: var(--success); }
.free-banner-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 720px) { .free-banner { flex-direction: row; align-items: center; gap: 28px; padding: 32px 40px; } }

/* SpotZone+: běžná a soukromá akce na časové ose */
.timeline { list-style: none; counter-reset: tl; padding: 0; margin: 0 0 18px; display: grid; gap: 0; }
.timeline li { counter-increment: tl; position: relative; padding: 0 0 18px 44px; min-height: 32px; }
.timeline li::before { content: counter(tl); position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--primary-soft); color: var(--link); font: 700 0.9rem var(--font-head); }
.timeline li::after { content: ""; position: absolute; left: 14px; top: 30px; bottom: 2px; width: 2px; background: var(--border); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::after { display: none; }
.timeline li.timeline--open::before { background: var(--success-soft); color: var(--success); }
.timeline--private li::before { background: var(--primary); color: var(--on-primary); }
.compare-arrow--lock svg { width: 22px; height: 22px; }
.notes { list-style: none; padding: 0; margin: 32px auto 0; max-width: 980px; display: grid; gap: 16px; }
.notes li { display: flex; gap: 14px; align-items: flex-start; background: var(--surface-2); border-radius: var(--radius); padding: 16px 18px; }
.notes .benefit-icon { width: 38px; height: 38px; border-radius: 10px; }
.notes .benefit-icon svg { width: 20px; height: 20px; }
.notes p { margin: 0; color: var(--muted); align-self: center; }
@media (min-width: 860px) { .notes { grid-template-columns: 1fr 1fr; } }
.free-card p:only-of-type { color: var(--text); }
.steps--list { grid-template-columns: 1fr; margin-top: 24px; }
.steps--list li { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; padding: 20px; }
.steps--list li::before { grid-row: span 2; margin: 0; }
.steps--list h3 { margin: 6px 0 4px; }
.free-grid--wide { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.steps--list + .note { margin-top: 16px; }

/* Úvodní video */
.hero-video-link { display: inline-flex; align-items: center; gap: 10px; margin: -6px 0 22px; color: #ffffff; font-weight: 700; text-decoration: none; }
.hero-video-link .play { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgb(255 255 255 / 14%); border: 1px solid rgb(255 255 255 / 35%); transition: background 0.15s; }
.hero-video-link .play svg { width: 14px; height: 14px; margin-left: 2px; fill: currentColor; }
.hero-video-link:hover .play, .hero-video-link:focus-visible .play { background: rgb(255 255 255 / 26%); }
.hero-video-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.intro-video { scroll-margin-top: 64px; }
.section.intro-video { padding: 48px 0; }
.video-split { display: grid; gap: 24px; align-items: center; max-width: 980px; }
.video-split h2 { font-size: clamp(1.4rem, 1.5vw + 0.9rem, 1.9rem); margin-bottom: 0.4em; }
.video-split .lead { margin-bottom: 0; font-size: 1rem; }
@media (min-width: 900px) { .section.intro-video { padding: 56px 0; } .video-split { grid-template-columns: 1fr 400px; gap: 56px; } }
.video-teaser { margin: 0; }
.video-thumb { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: #0b1f3f; box-shadow: var(--shadow-lg); line-height: 0; }
.video-thumb img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.3s; }
.video-thumb::after { content: ""; position: absolute; inset: 0; background: rgb(11 31 63 / 18%); transition: background 0.2s; }
.video-play { position: absolute; z-index: 1; left: 50%; top: 50%; display: grid; place-items: center; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: #ffffff; color: var(--primary); box-shadow: 0 8px 24px rgb(0 0 0 / 35%); transition: transform 0.2s; }
.video-play svg { width: 22px; height: 22px; margin-left: 3px; fill: currentColor; }
.video-duration { position: absolute; z-index: 1; right: 12px; bottom: 12px; padding: 4px 8px; border-radius: 6px; background: rgb(0 0 0 / 65%); color: #ffffff; font: 700 0.8rem/1.2 var(--font-head); }
.video-thumb:hover img, .video-thumb:focus-visible img { transform: scale(1.03); }
.video-thumb:hover::after, .video-thumb:focus-visible::after { background: rgb(11 31 63 / 5%); }
.video-thumb:hover .video-play, .video-thumb:focus-visible .video-play { transform: scale(1.08); }
.video-teaser figcaption { margin-top: 8px; color: var(--muted); font-size: 0.72rem; line-height: 1.4; }
.about-video { max-width: 560px; margin-top: 40px; }
.video-dialog { width: min(1100px, calc(100vw - 32px)); max-width: none; padding: 0; border: 0; border-radius: var(--radius); background: #000000; overflow: visible; }
.video-dialog::backdrop { background: rgb(5 12 26 / 82%); }
.video-dialog video { display: block; width: 100%; height: auto; max-height: calc(100vh - 96px); aspect-ratio: 16 / 9; border-radius: var(--radius); background: #000000; }
.video-close { position: absolute; z-index: 1; right: 0; top: -48px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid rgb(255 255 255 / 35%); border-radius: 50%; background: rgb(255 255 255 / 12%); color: #ffffff; cursor: pointer; }
.video-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; }
.video-close:hover, .video-close:focus-visible { background: rgb(255 255 255 / 25%); }
