/* SRSA NEST – veřejný web. Bez frameworku a bez externích fontů (rychlost, GDPR). */
:root {
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --navy: #0a1020;
  --navy-2: #111a2e;
  --navy-3: #1b2740;
  --accent: #1f7ae0;
  --accent-2: #155fb3;
  --accent-soft: #e8f1fc;
  --ok: #16a34a;
  --warn: #d97706;
  --danger: #dc2626;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .06);
  --shadow-lg: 0 24px 60px rgba(2, 6, 23, .35);
  --container: 1200px;
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--ink); background: var(--bg); text-rendering: optimizeLegibility; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.15rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 650; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
code, kbd { font-family: var(--mono); font-size: .9em; }
kbd { border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 4px; padding: 0 .35em; background: var(--bg-soft); white-space: nowrap; }
:focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -3rem; background: #fff; padding: .5rem 1rem; z-index: 100; border-radius: 6px; }
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--navy); color: #cbd5e1; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section-dark .section-head p { color: #94a3b8; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: .75rem; }
.lead { font-size: 1.15rem; color: var(--ink-2); }
.muted { color: var(--muted); }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2.5rem; }

/* ---------- tlačítka ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .78rem 1.35rem; border-radius: 10px; font-weight: 650; font-size: 1rem; border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s, color .15s, transform .15s; line-height: 1.2; white-space: nowrap; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(31, 122, 224, .35); }
.btn-primary:hover { background: var(--accent-2); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: .5rem .9rem; font-size: .9rem; border-radius: 8px; }
.btn-lg { padding: 1rem 1.7rem; font-size: 1.08rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.disabled { opacity: .55; pointer-events: none; }
.btn-group { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- hlavička ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10, 16, 32, .96); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.header-inner { display: flex; align-items: center; gap: 1.25rem; height: 68px; }
.brand { display: flex; align-items: center; gap: .6rem; color: #fff; font-weight: 750; font-size: 1.1rem; letter-spacing: .02em; flex-shrink: 0; }
.brand:hover { color: #fff; text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand small { display: block; font-size: .62rem; font-weight: 600; color: #7c93b8; letter-spacing: .14em; text-transform: uppercase; line-height: 1; }
.main-nav { display: flex; align-items: center; gap: .1rem; margin-left: auto; }
.main-nav a { color: #cbd5e1; font-size: .92rem; font-weight: 550; padding: .5rem .6rem; border-radius: 8px; white-space: nowrap; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .07); text-decoration: none; }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.header-actions .btn-sm { padding: .5rem .85rem; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid rgba(255, 255, 255, .25); color: #fff; border-radius: 8px; padding: .45rem .6rem; cursor: pointer; }
.nav-toggle svg { display: block; }

.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; color: #cbd5e1; font-size: .85rem; font-weight: 650; padding: .45rem .6rem; border: 1px solid rgba(255, 255, 255, .18); border-radius: 8px; display: flex; align-items: center; gap: .35rem; }
.lang summary::-webkit-details-marker { display: none; }
.lang[open] summary, .lang summary:hover { color: #fff; border-color: rgba(255, 255, 255, .4); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border-radius: 10px; box-shadow: var(--shadow-lg); padding: .4rem; min-width: 170px; display: grid; z-index: 60; }
.lang-menu a { color: var(--ink); padding: .45rem .7rem; border-radius: 6px; font-size: .92rem; display: flex; justify-content: space-between; gap: 1rem; }
.lang-menu a:hover { background: var(--bg-soft); text-decoration: none; }
.lang-menu a[aria-current="true"] { font-weight: 700; color: var(--accent); }
.lang-menu small { color: var(--muted); text-transform: uppercase; }

@media (max-width: 1500px) {
  .header-inner { gap: .9rem; }
  .main-nav a { padding: .5rem .45rem; font-size: .88rem; }
}
/* Hamburger: pod 1180 px vždy, nad tím jen když se menu v daném jazyce nevejde (třídu is-compact přidá site.js). */
@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: var(--navy); flex-direction: column; align-items: stretch; padding: .75rem 20px 1.25rem; gap: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); margin: 0; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .8rem .5rem; font-size: 1rem; border-bottom: 1px solid rgba(255, 255, 255, .06); border-radius: 0; }
  .header-actions { margin-left: .25rem; }
}
.site-header.is-compact .nav-toggle { display: inline-flex; }
.site-header.is-compact .main-nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: var(--navy); flex-direction: column; align-items: stretch; padding: .75rem 20px 1.25rem; gap: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); margin: 0; }
.site-header.is-compact .main-nav.open { display: flex; }
.site-header.is-compact .main-nav a { padding: .8rem .5rem; font-size: 1rem; border-bottom: 1px solid rgba(255, 255, 255, .06); border-radius: 0; }
.site-header.is-compact .header-actions { margin-left: .25rem; }
@media (max-width: 560px) {
  .header-actions .btn-download { display: none; }
  .brand small { display: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 75% -10%, rgba(31, 122, 224, .35), transparent 60%), linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); color: #cbd5e1; padding: 80px 0 0; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(180deg, #000 0%, transparent 80%); pointer-events: none; }
.hero .container { position: relative; }
.hero-copy { max-width: 820px; margin: 0 auto; text-align: center; }
.hero h1 { color: #fff; }
.hero .lead { color: #a8b6cc; font-size: clamp(1.05rem, 1.6vw, 1.25rem); margin: 0 auto 2rem; max-width: 720px; }
.hero .btn-group { justify-content: center; }
.hero-note { margin-top: 1.25rem; font-size: .9rem; color: #7c8ba3; }
.hero-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 1.5rem; }
.badge { display: inline-flex; align-items: center; gap: .35rem; font-size: .78rem; font-weight: 650; padding: .3rem .65rem; border-radius: 999px; background: rgba(255, 255, 255, .07); color: #cbd5e1; border: 1px solid rgba(255, 255, 255, .1); }
.hero-shot { margin: 56px auto 0; max-width: 1100px; border-radius: 14px 14px 0 0; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .12); border-bottom: 0; background: #0b1324; }
.hero-shot img { width: 100%; }
.hero-shot-placeholder { aspect-ratio: 16 / 9; display: grid; place-items: center; color: #64748b; }

.page-hero { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); color: #a8b6cc; padding: 56px 0 48px; }
.page-hero h1 { color: #fff; margin-bottom: .4em; }
.page-hero p { max-width: 760px; font-size: 1.12rem; margin: 0; }

/* ---------- drobečková navigace ---------- */
.breadcrumbs { font-size: .85rem; margin-bottom: 1rem; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.breadcrumbs li + li::before { content: "›"; margin-right: .35rem; color: #64748b; }
.breadcrumbs a { color: #93a4bd; }
.breadcrumbs [aria-current] { color: #cbd5e1; }

/* ---------- mřížky a karty ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .section { padding: 56px 0; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .45em; }
.card p:last-child { margin-bottom: 0; }
.card-icon { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 14px; }
.card-icon svg { width: 24px; height: 24px; }
.feature-card { position: relative; }
.feature-card ul { margin: .6em 0 0; color: var(--ink-2); font-size: .95rem; }
.feature-card li { margin-bottom: .25em; }
.status { display: inline-block; font-size: .7rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; padding: .2rem .5rem; border-radius: 999px; }
.status-ok { background: #dcfce7; color: #166534; }
.status-soon { background: #fef3c7; color: #92400e; }
.feature-card .status { position: absolute; top: 18px; right: 18px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 28px; } .split.reverse > :first-child { order: 0; } }
.shot { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #0b1324; }
.shot img { width: 100%; }
.checklist { list-style: none; padding: 0; margin: 1rem 0; }
.checklist li { position: relative; padding-left: 1.9rem; margin-bottom: .6rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%231f7ae0'%3E%3Cpath d='M8.1 13.6 4.5 10l-1.1 1.1 4.7 4.7 9-9-1.1-1.1z'/%3E%3C/svg%3E") center / 80% no-repeat; }
.section-dark .checklist li::before { background-color: rgba(31, 122, 224, .2); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats strong { display: block; font-size: 2rem; color: #fff; font-family: var(--font-display); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

.industries { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.industries span { padding: .55rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 600; color: var(--ink-2); font-size: .95rem; }

/* ---------- postup (kroky) ---------- */
.steps { counter-reset: step; display: grid; gap: 20px; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; }
.step-num { width: 56px; height: 56px; border-radius: 14px; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 750; font-size: 1.35rem; }
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.timeline .card { padding: 20px; }
@media (max-width: 1024px) { .timeline { grid-template-columns: 1fr; } }

/* ---------- ceník ---------- */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; align-items: stretch; }
.plan { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 30px; box-shadow: var(--shadow); position: relative; scroll-margin-top: 90px; }
.plan.featured { border: 2px solid var(--accent); box-shadow: 0 20px 50px rgba(31, 122, 224, .18); }
.plan-tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: .75rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; padding: .3rem .8rem; border-radius: 999px; white-space: nowrap; }
.plan h3 { font-size: 1.35rem; margin-bottom: .2em; }
.plan .tagline { color: var(--muted); min-height: 3em; font-size: .95rem; }
.price { font-family: var(--font-display); font-size: 2.6rem; font-weight: 750; color: var(--ink); line-height: 1.1; margin: .5rem 0 .2rem; }
.price small { font-size: 1rem; font-weight: 550; color: var(--muted); }
.price-note { font-size: .82rem; color: var(--muted); margin-bottom: 1.25rem; }
.plan .checklist { flex: 1; font-size: .95rem; }
.plan-meta { font-size: .85rem; color: var(--ink-2); background: var(--bg-soft); border-radius: 8px; padding: .6rem .8rem; margin-bottom: 1.2rem; }

/* ---------- galerie a lightbox ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.gallery figure { margin: 0; }
.gallery a { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #0b1324; transition: transform .2s, box-shadow .2s; }
.gallery a:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(15, 23, 42, .18); }
.gallery img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.gallery figcaption { padding: .7rem .2rem 0; font-size: .95rem; }
.gallery figcaption strong { display: block; color: var(--ink); }
.gallery figcaption span { color: var(--muted); font-size: .88rem; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(2, 6, 23, .94); display: none; align-items: center; justify-content: center; padding: 56px 16px 72px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1600px, 100%); max-height: 100%; width: auto; border-radius: 8px; box-shadow: var(--shadow-lg); }
.lightbox-caption { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; color: #cbd5e1; padding: 0 70px; font-size: .95rem; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .1); color: #fff; border: 0; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; font-size: 1.4rem; line-height: 1; }
.lightbox button:hover { background: rgba(255, 255, 255, .22); }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- video ---------- */
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; box-shadow: var(--shadow-lg); }
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-placeholder { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, var(--navy-3), var(--navy)); display: grid; place-items: center; text-align: center; color: #cbd5e1; padding: 24px; }
.video-placeholder img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .25; }
.video-placeholder div { position: relative; }
.video-placeholder .play { width: 72px; height: 72px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); display: grid; place-items: center; margin: 0 auto 1rem; }

/* ---------- stažení ---------- */
.download-box { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 36px; box-shadow: var(--shadow); }
@media (max-width: 860px) { .download-box { grid-template-columns: 1fr; padding: 24px; } }
.meta-list { display: grid; grid-template-columns: auto 1fr; gap: .45rem 1.25rem; margin: 1.25rem 0; font-size: .95rem; }
.meta-list dt { color: var(--muted); }
.meta-list dd { margin: 0; font-weight: 600; word-break: break-all; }
.notice { border-radius: 10px; padding: 14px 16px; font-size: .95rem; border: 1px solid; }
.notice-info { background: var(--accent-soft); border-color: #bfdbfe; color: #1e3a8a; }
.notice-warn { background: #fffbeb; border-color: #fde68a; color: #78350f; }
.notice-ok { background: #f0fdf4; border-color: #bbf7d0; color: #14532d; }
.notice-error { background: #fef2f2; border-color: #fecaca; color: #7f1d1d; }
.changelog { margin: 0; padding-left: 1.2em; }
.changelog li { margin-bottom: .4em; }
.release-list details { border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; background: #fff; margin-bottom: 10px; }
.release-list summary { cursor: pointer; font-weight: 650; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 18px 4px; }
.faq-list summary { cursor: pointer; font-weight: 650; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--accent); transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list .answer { padding-top: .75rem; color: var(--ink-2); }
.faq-group { margin-bottom: 40px; }

/* ---------- dokumentace a články ---------- */
.doc-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 48px; align-items: start; }
.doc-nav { position: sticky; top: 92px; font-size: .93rem; border-left: 2px solid var(--line); padding-left: 16px; }
.doc-nav a { display: block; color: var(--ink-2); padding: .3rem 0; }
.doc-nav a:hover { color: var(--accent); }
@media (max-width: 900px) { .doc-layout { grid-template-columns: 1fr; } .doc-nav { position: static; } }
.prose { max-width: 780px; min-width: 0; overflow-wrap: break-word; }
.doc-layout > * { min-width: 0; }
pre { overflow-x: auto; max-width: 100%; background: var(--navy); color: #e2e8f0; padding: 1rem 1.1rem; border-radius: 10px; font-size: .88rem; line-height: 1.55; }
pre code { background: none; color: inherit; padding: 0; white-space: pre; }
.prose h2 { margin-top: 2.2em; scroll-margin-top: 90px; }
.prose h3 { margin-top: 1.6em; }
.prose img { border-radius: 10px; border: 1px solid var(--line); margin: 1.5em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.25em 0; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: .5rem .7rem; text-align: left; vertical-align: top; }
.prose th { background: var(--bg-soft); }
.prose blockquote { margin: 1.5em 0; padding: .8em 1.2em; border-left: 4px solid var(--accent); background: var(--bg-soft); border-radius: 0 8px 8px 0; }
.post-meta { color: var(--muted); font-size: .9rem; }
.post-card { display: flex; flex-direction: column; height: 100%; }
.post-card img { border-radius: 10px; margin-bottom: 14px; aspect-ratio: 16 / 9; object-fit: cover; }
.post-card h3 a { color: var(--ink); }

/* ---------- formuláře ---------- */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; color: var(--ink-2); }
input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="url"], input[type="number"], input[type="date"], input[type="datetime-local"], input[type="search"], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1px solid #cbd5e1; border-radius: 9px; padding: .7rem .85rem; transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(31, 122, 224, .18); }
.check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 450; font-size: .93rem; }
.check input { margin-top: .3rem; width: 1.05rem; height: 1.05rem; flex-shrink: 0; }
.field-error { color: var(--danger); font-size: .85rem; margin-top: .3rem; }
.is-invalid { border-color: var(--danger) !important; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.auth-box { max-width: 460px; margin: 0 auto; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 32px; box-shadow: var(--shadow); }
@media (max-width: 520px) { .form-card { padding: 22px; } }

/* ---------- tabulky (účet) ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
table.table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.table th, .table td { padding: .75rem .9rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.table th { background: var(--bg-soft); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.table tr:last-child td { border-bottom: 0; }
.pill { display: inline-block; padding: .15rem .55rem; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--bg-soft); color: var(--ink-2); }
.pill-ok { background: #dcfce7; color: #166534; } .pill-warn { background: #fef3c7; color: #92400e; } .pill-bad { background: #fee2e2; color: #991b1b; }
.key { font-family: var(--mono); font-weight: 700; letter-spacing: .04em; }
.account-nav { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 28px; }

/* ---------- CTA pruh ---------- */
.cta-band { background: radial-gradient(800px 300px at 20% 0%, rgba(31, 122, 224, .45), transparent 60%), var(--navy-2); color: #a8b6cc; border-radius: 20px; padding: 52px; display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; }
.cta-band h2 { color: #fff; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; padding: 32px 24px; } }

/* ---------- patička ---------- */
.site-footer { background: var(--navy); color: #8a9ab3; padding: 64px 0 28px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45rem; }
.site-footer a { color: #b6c3d7; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 44px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.footer-langs { display: flex; flex-wrap: wrap; gap: .35rem .8rem; }

/* ---------- stránkování ---------- */
.pagination { display: flex; gap: .4rem; justify-content: center; margin-top: 36px; list-style: none; padding: 0; flex-wrap: wrap; }
.pagination a, .pagination span { display: inline-block; min-width: 40px; text-align: center; padding: .5rem .75rem; border: 1px solid var(--line); border-radius: 8px; color: var(--ink-2); background: #fff; }
.pagination [aria-current] span { background: var(--accent); border-color: var(--accent); color: #fff; }
.pagination .disabled span { opacity: .45; }

/* ---------- chybové stránky ---------- */
.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 20px; }
.error-code { font-size: 5rem; font-weight: 800; color: var(--accent); line-height: 1; font-family: var(--font-display); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .btn { display: none !important; } .hero, .page-hero { background: none; color: #000; } }

.center-group { justify-content: center; }
.site-header .container { max-width: 1400px; }
.h3 { font-size: 1.15rem; font-weight: 650; }
.feature-card .h3 { padding-right: 110px; }
.split.align-start { align-items: start; }
.help { font-size: .85rem; color: var(--muted); margin-top: .3rem; }
.h2 { font-size: clamp(1.5rem, 2.6vw, 2.15rem); font-weight: 700; }
.mb-3 { margin-bottom: 1.5rem; }
.account-nav form { margin: 0; }
.install-wrap { max-width: 860px; margin: 0 auto; padding: 40px 20px 80px; }
fieldset { border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px 20px; margin: 0; }
legend { font-weight: 700; padding: 0 .4rem; }
.req-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .3rem; font-size: .95rem; }
.req-list .ok::before { content: '? '; color: var(--ok); }
.req-list .bad::before { content: '? '; color: var(--danger); }
