/* Tender vopred: shared styles for all public pages. */
:root {
  --ink: #0b1220; --ink-2: #334155; --muted: #64748b; --line: #e2e8f0; --line-2: #cbd5e1;
  --bg: #ffffff; --bg-soft: #f6f8fb;
  --brand: #2563eb; --brand-600: #1d4ed8; --brand-soft: #eff6ff; --brand-ink: #ffffff;
  --accent: #10b981; --warn: #b45309; --warn-soft: #fef3c7;
  --hero: #0a1020; --hero-2: #111a33; --hero-ink: #e6ebf5; --hero-muted: #9aa7c0;
  --radius: 14px; --radius-sm: 10px;
  --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, .45);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { display: block; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20; background: rgba(10, 16, 32, .97);
  backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; letter-spacing: -.01em; font-size: 17px; }
.brand:hover { text-decoration: none; }
.brand .mark { width: 30px; height: 30px; }
.brand b { color: #7fb0ff; font-weight: 700; }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { color: var(--hero-muted); font-size: 14.5px; font-weight: 500; }
.nav a:hover { color: #fff; text-decoration: none; }
.nav .btn { color: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--brand); color: var(--brand-ink); border: 1px solid transparent; border-radius: 999px;
  padding: 13px 22px; font-family: inherit; font-size: 15.5px; font-weight: 600; line-height: 1.1; cursor: pointer; white-space: nowrap;
  transition: background .15s, transform .15s, box-shadow .15s; box-shadow: 0 6px 18px rgba(37, 99, 235, .35);
}
.btn:hover { background: var(--brand-600); text-decoration: none; transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: default; transform: none; }
.btn.sm { padding: 9px 16px; font-size: 14px; box-shadow: none; }
.btn.ghost { background: transparent; color: var(--hero-ink); border-color: rgba(255, 255, 255, .22); box-shadow: none; }
.btn.ghost:hover { background: rgba(255, 255, 255, .08); }
.btn.outline { background: #fff; color: var(--ink); border-color: var(--line-2); box-shadow: none; }
.btn.outline:hover { border-color: var(--ink-2); background: #fff; }
.btn.block { width: 100%; }
.btn:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; }

/* ---------- hero ---------- */
.hero-dark {
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(59, 130, 246, .35), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(16, 185, 129, .18), transparent 60%),
    linear-gradient(180deg, var(--hero) 0%, var(--hero-2) 100%);
  color: var(--hero-ink); overflow: hidden;
}
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding-block: 72px 88px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: var(--hero-ink);
  font-size: 13px; font-weight: 500;
}
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(16, 185, 129, .2); }
h1 { font-size: clamp(38px, 5.6vw, 64px); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; margin: 22px 0 20px; }
h1 .grad { background: linear-gradient(90deg, #7fb0ff, #6ee7b7); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 19px; line-height: 1.6; color: var(--hero-muted); margin: 0 0 30px; max-width: 34em; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.trust { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 34px; color: var(--hero-muted); font-size: 14px; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: #6ee7b7; flex: none; }
.note { font-size: 14px; color: var(--muted); margin-top: 12px; }
.hero-dark .note { color: var(--hero-muted); }

/* app-window preview */
.app {
  background: #fff; color: var(--ink); border-radius: 16px; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, .08); overflow: hidden; transform: rotate(-.4deg);
}
.app-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #f1f5f9; border-bottom: 1px solid var(--line); }
.app-bar i { width: 11px; height: 11px; border-radius: 50%; background: #cbd5e1; }
.app-bar i:nth-child(1) { background: #fca5a5; } .app-bar i:nth-child(2) { background: #fcd34d; } .app-bar i:nth-child(3) { background: #86efac; }
.app-bar span { margin-left: 10px; font-size: 12.5px; color: var(--muted); font-weight: 500; }
.app-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; padding: 18px 20px 10px; }
.app-head h4 { margin: 0; font-size: 16px; letter-spacing: -.01em; }
.app-head p { margin: 2px 0 0; font-size: 12.5px; color: var(--muted); }
.sample-label { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--warn); background: var(--warn-soft); padding: 3px 8px; border-radius: 6px; white-space: nowrap; margin: 0; }
.rows { padding: 4px 12px 14px; }
.row { display: grid; grid-template-columns: 106px 1fr auto; gap: 14px; align-items: center; padding: 12px 8px; border-top: 1px solid var(--line); }
.row:first-child { border-top: 0; }
.row .when b { display: block; font-size: 14px; }
.chip { white-space: nowrap; display: inline-block; font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.chip.warn { background: var(--warn-soft); color: var(--warn); }
.chip.blue { background: var(--brand-soft); color: var(--brand-600); }
.chip.gray { background: #f1f5f9; color: var(--ink-2); }
.row .who b { display: block; font-size: 14px; }
.row .who small { color: var(--muted); font-size: 12.5px; }
.row .who .chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 5px; }
.row .val { text-align: right; font-variant-numeric: tabular-nums; }
.row .val b { display: block; font-size: 15px; }
.row .val small { color: var(--muted); font-size: 12px; }

/* ---------- sections ---------- */
section { padding-block: 88px; }
section.soft { background: var(--bg-soft); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin: 0 0 12px; }
h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.1; letter-spacing: -.03em; margin: 0 0 16px; font-weight: 800; }
.sub { font-size: 18px; color: var(--ink-2); max-width: 40em; margin: 0 0 44px; }
.center { text-align: center; } .center .sub { margin-inline: auto; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.feature .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 16px; }
.feature .ico svg { width: 22px; height: 22px; }
.feature h3 { margin: 0 0 6px; font-size: 18px; letter-spacing: -.01em; }
.feature p { margin: 0; color: var(--ink-2); font-size: 15.5px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: s; }
.step { position: relative; padding-top: 4px; }
.step::before {
  counter-increment: s; content: counter(s); display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 12px; background: var(--ink); color: #fff; font-weight: 700; margin-bottom: 16px;
}
.step h3 { margin: 0 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--ink-2); }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.plan.featured { border: 2px solid var(--brand); position: relative; box-shadow: 0 18px 50px rgba(37, 99, 235, .18); }
.plan .tag { position: absolute; top: -12px; left: 28px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.plan h3 { margin: 0; font-size: 18px; }
.plan .for { color: var(--muted); font-size: 14.5px; margin: 4px 0 18px; }
.amount { font-size: 44px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.amount small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; flex: 1; align-content: start; }
.plan li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-2); }
.plan li svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--accent); }
.fine { text-align: center; color: var(--muted); font-size: 14px; margin-top: 22px; }

/* ---------- banner, faq ---------- */
.banner {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; padding: 40px;
  border-radius: 22px; color: var(--hero-ink);
  background: radial-gradient(600px 300px at 100% 0, rgba(16, 185, 129, .25), transparent 60%), linear-gradient(135deg, #0f1b3d, #0a1020);
}
.banner h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); }
.banner p { color: var(--hero-muted); margin: 0; }
.banner .cta-row { justify-content: flex-end; }
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font-weight: 600; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 24px; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--ink-2); }

/* ---------- form ---------- */
.signup-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
.bullets { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.bullets li { display: flex; gap: 12px; color: var(--ink-2); }
.bullets svg { width: 22px; height: 22px; color: var(--accent); flex: none; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); }
.card h3 { margin: 0 0 18px; font-size: 20px; letter-spacing: -.01em; }
form { display: grid; gap: 14px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.two:has(> [hidden]) { grid-template-columns: 1fr; }
label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; color: var(--ink); }
label .opt { font-weight: 400; color: var(--muted); }
input[type=email], input[type=text], select {
  font: inherit; font-weight: 400; font-size: 15px; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-2); background: #fff; color: var(--ink); width: 100%; transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(37, 99, 235, .12); outline: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--ink-2); font-size: 13.5px; }
.check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--brand); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg { padding: 12px 14px; border-radius: var(--radius-sm); display: none; font-size: 14.5px; }
.msg.ok { display: block; background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.msg.err { display: block; background: #fff7ed; color: #9a3412; border: 1px solid #fed7aa; }

/* ---------- tables (vertical pages, benchmark) ---------- */
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th { text-align: left; font-weight: 600; color: var(--muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; padding: 10px; border-bottom: 1px solid var(--line); }
td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
td.num, th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.days { display: block; font-size: 12px; color: var(--warn); font-weight: 600; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.cols > *, .signup-grid > *, .hero > * { min-width: 0; }
.card { overflow-x: auto; }
td { overflow-wrap: anywhere; }
.cols h3 { margin: 0 0 12px; font-size: 18px; }
.price { font-size: 36px; font-weight: 800; letter-spacing: -.02em; margin: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--hero); color: var(--hero-muted); font-size: 14px; padding-block: 44px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; }
.site-footer a { color: var(--hero-ink); }
.site-footer .brand { margin-bottom: 10px; }
.site-footer p { margin: 6px 0; }

/* ---------- responsive ---------- */
/* ---------- live strip (landing, filled nightly) ---------- */
section.live { padding-block: 56px; border-bottom: 1px solid var(--line); }
.live h2 { margin-bottom: 6px; }
.live-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 24px; }
.live-card { display: grid; gap: 2px; padding: 18px 18px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); box-shadow: var(--shadow); transition: border-color .15s, transform .15s; }
.live-card:hover { text-decoration: none; border-color: var(--brand); transform: translateY(-2px); }
.live-card b { font-size: 28px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.live-card span { font-weight: 600; font-size: 14.5px; }
.live-card small { color: var(--muted); font-size: 13px; }
.live-card em { font-style: normal; color: var(--brand); font-weight: 600; font-size: 13.5px; margin-top: 6px; }
.app-more { display: block; padding: 12px 20px 16px; font-weight: 600; font-size: 14px; border-top: 1px solid var(--line); }
.sample-label.real { color: #065f46; background: #d1fae5; }

/* ---------- product tables (prehľad, mapa, porovnanie) ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 14px; align-items: end; margin: 8px 0 14px; }
.filters label { flex: 1 1 170px; }
.filters .btn { flex: 0 0 auto; }
.filters input, .filters select { height: 46px; }
.hero-dark.compact h1 { font-size: clamp(30px, 4.2vw, 44px); }
.count { margin: 0 0 12px; color: var(--muted); font-size: 14px; font-weight: 600; }
.card.flush { padding: 0; }
.card.flush table th:first-child, .card.flush table td:first-child { padding-left: 20px; }
.card.flush table th:last-child, .card.flush table td:last-child { padding-right: 20px; }
td small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 400; margin-top: 2px; }
td b { font-weight: 600; }
td .chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
td.when { white-space: nowrap; }
tbody tr:hover td { background: var(--bg-soft); }
.stack { display: grid; gap: 28px; }
.stack .card table { min-width: 560px; }

@media (max-width: 960px) {
  .hero, .signup-grid, .banner, .cols { grid-template-columns: 1fr; }
  .hero { gap: 40px; padding-block: 48px 64px; }
  .live-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .plans, .steps { grid-template-columns: 1fr; }
  .banner .cta-row { justify-content: flex-start; }
  .nav a:not(.btn) { display: none; }
  .app { transform: none; }
  section { padding-block: 64px; }
  .site-footer .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wrap { padding-inline: 16px; }
  .site-header .wrap { gap: 12px; }
  .brand { font-size: 16px; }
  .app-head { flex-direction: column; align-items: flex-start; }
  .btn { white-space: normal; }
  .nav .btn { white-space: nowrap; }
  .two { grid-template-columns: 1fr; }
  .row { grid-template-columns: 74px 1fr; }
  .row .val { grid-column: 2; text-align: left; }
  .banner { padding: 28px 22px; }
  .hide-sm { display: none; }
  /* product tables become one card per row on phones */
  .card.flush thead { display: none; }
  .card.flush table, .card.flush tbody, .card.flush tr, .card.flush td { display: block; width: 100%; }
  .card.flush tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .card.flush td { border: 0; padding: 1px 0 !important; text-align: left; white-space: normal; }
  .card.flush td.hide-sm { display: block; font-size: 13.5px; margin-top: 4px; }
  .card.flush td.num { text-align: left; margin-top: 4px; font-weight: 600; }
  .card.flush td.when { display: flex; gap: 8px; align-items: baseline; font-weight: 600; }
  .card.flush td.when .days { display: inline; }
  .lead { font-size: 17px; }
}
