/*
 * kyberhero.sk – predajná stránka
 * Princíp: jediný výrazný prvok je žltý zvýrazňovač, ktorým sa označujú varovné signály.
 * Všetko ostatné je tiché: tmavomodrý text, biely papier, chladná sivá, jemné linky.
 */
:root {
  --ink: #12203a;
  --ink-soft: #3d4a60;
  --muted: #677387;
  --paper: #ffffff;
  --mist: #eef2f6;
  --rule: #d6dde7;
  --marker: #ffd84d;
  --marker-deep: #e9b800;
  --safe: #0e7c6b;
  --font: "Schibsted Grotesk", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --wrap: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; font-feature-settings: "ss01"; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
h2 { font-size: clamp(28px, 3.3vw, 40px); line-height: 1.1; margin-bottom: 18px; }
h3 { font-size: 20px; line-height: 1.25; letter-spacing: -0.01em; margin-bottom: 8px; }
p { margin: 0 0 14px; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--marker-deep); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.text-link { color: var(--ink); text-decoration: underline; text-decoration-color: var(--marker-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; font-weight: 600; }
.text-link:hover { background: var(--marker); }

/* ---------- logo ---------- */
.logo { font-weight: 800; font-size: 21px; letter-spacing: -0.02em; text-decoration: none; color: var(--ink); white-space: nowrap; }
.logo-hero { padding: 0 2px 0 0; margin-left: 0; border-radius: 0 2px 2px 0; background: linear-gradient(transparent 52%, var(--marker) 52%, var(--marker) 92%, transparent 92%); }
.closing .logo-hero, .foot .logo-hero { color: inherit; }
.logo.small { font-size: 14px; }

/* ---------- hlavička ---------- */
.top { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--rule); }
.top-in { height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.top-nav { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 500; }
.top-nav a { text-decoration: none; color: var(--ink-soft); }
.top-nav a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--marker-deep); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.top-nav .top-login { color: var(--ink); border: 1.5px solid var(--ink); border-radius: 8px; padding: 7px 14px; }
.top-nav .top-login:hover { background: var(--ink); color: #fff; text-decoration: none; }
@media (max-width: 820px) { .top-nav a:not(.top-login) { display: none; } }

/* ---------- tlačidlá ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 8px; font-weight: 700; font-size: 16px; text-decoration: none; border: 1.5px solid transparent; transition: background-color .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #1e3358; }
.btn-quiet { color: var(--ink); text-decoration: underline; text-decoration-color: var(--marker-deep); text-decoration-thickness: 2px; text-underline-offset: 5px; padding: 0 8px; }
.btn-quiet:hover { background: var(--marker); }
.btn-outline { border-color: var(--ink); color: var(--ink); width: 100%; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-marker { background: var(--marker); color: var(--ink); }
.btn-marker:hover { background: #ffe57f; }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.btn-ghost-light:hover { border-color: #fff; }

/* ---------- úvod ---------- */
.hero { padding: 72px 0 88px; background: linear-gradient(var(--paper) 0, var(--paper) 52%, var(--mist) 52%); }
.hero h1 { font-size: clamp(36px, 5.4vw, 68px); line-height: 1.02; letter-spacing: -0.035em; max-width: 15.5em; }
.hero-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; margin: 28px 0 48px; }
.lead { font-size: 20px; line-height: 1.55; color: var(--ink-soft); max-width: 36em; margin: 0; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
@media (max-width: 860px) { .hero-row { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- ukážka e-mailu so zvýrazňovačom ---------- */
.specimen-block { background: var(--paper); border: 1px solid var(--rule); border-radius: 14px; box-shadow: 0 30px 60px -34px rgba(18, 32, 58, 0.35); overflow: hidden; }
.sector-switch { display: flex; gap: 2px; padding: 10px 12px 0; border-bottom: 1px solid var(--rule); background: #f7f9fb; overflow-x: auto; scrollbar-width: none; }
.sector-switch::-webkit-scrollbar { display: none; }
.sector-switch button { font: inherit; font-size: 15px; font-weight: 600; color: var(--muted); background: none; border: 0; padding: 10px 14px 12px; cursor: pointer; white-space: nowrap; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.sector-switch button:hover { color: var(--ink); }
.sector-switch button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }

.specimen { margin: 0; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.mail { padding: 34px 40px 38px; border-right: 1px dashed var(--rule); font-size: 17px; }
.mail-head { border-bottom: 1px solid var(--rule); padding-bottom: 16px; margin-bottom: 20px; }
.mail-line { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; padding: 4px 0; }
.mail-line .k { color: var(--muted); font-size: 15px; padding-top: 2px; }
.mail-line .v { min-width: 0; }
.mail-line mark[data-f="fromAddr"], .mail-link mark { font-family: var(--mono); font-size: 14.5px; }
.mail-line mark[data-f="subject"] { font-weight: 700; }
.mail-body p { margin: 0 0 12px; max-width: 34em; }
.mail-body p:has(> mark[data-f="ask"]) { margin-top: -12px; }
.mail-btn { display: inline-block; background: #2a56c6; color: #fff; font-weight: 700; font-size: 15px; padding: 10px 18px; border-radius: 6px; margin: 10px 0 6px !important; }
.mail-link { font-size: 14px; color: var(--muted); }

/* zvýrazňovač: farba sa „natiahne“ zľava doprava, postupne pri každom signáli */
.specimen mark {
  position: relative; color: inherit; padding: 1px 3px; margin: 0 -1px; border-radius: 3px;
  background: linear-gradient(100deg, rgba(255, 216, 77, 0.85), var(--marker) 30%, rgba(255, 216, 77, 0.9)) no-repeat 0 60% / 100% 88%;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.specimen mark::after {
  content: attr(data-n); display: inline-block; width: 18px; height: 18px; margin-left: 5px; border-radius: 50%; vertical-align: 2px;
  background: var(--ink); color: #fff; font: 700 11px/18px var(--font); text-align: center; letter-spacing: 0;
}
.specimen.is-marking mark { animation: mark-sweep .5s cubic-bezier(.4, .1, .3, 1) both; }
.specimen.is-marking mark::after { animation: pop .25s ease-out both; }
.specimen.is-marking mark[data-n="1"], .specimen.is-marking mark[data-n="1"]::after { animation-delay: .25s; }
.specimen.is-marking mark[data-n="2"], .specimen.is-marking mark[data-n="2"]::after { animation-delay: .6s; }
.specimen.is-marking mark[data-n="3"], .specimen.is-marking mark[data-n="3"]::after { animation-delay: .95s; }
.specimen.is-marking mark[data-n="4"], .specimen.is-marking mark[data-n="4"]::after { animation-delay: 1.3s; }
.specimen.is-marking .notes li { animation: note-in .35s ease-out both; }
.specimen.is-marking .notes li[data-n="1"] { animation-delay: .45s; }
.specimen.is-marking .notes li[data-n="2"] { animation-delay: .8s; }
.specimen.is-marking .notes li[data-n="3"] { animation-delay: 1.15s; }
.specimen.is-marking .notes li[data-n="4"] { animation-delay: 1.5s; }
@keyframes mark-sweep { from { background-size: 0% 88%; } to { background-size: 100% 88%; } }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes note-in { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }

.notes { list-style: none; margin: 0; padding: 30px 36px 34px; display: grid; align-content: start; gap: 20px; background: #fbfcfd; }
.notes li { position: relative; padding-left: 38px; font-size: 15.5px; line-height: 1.5; color: var(--ink-soft); }
.notes li::before {
  content: attr(data-n); position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--marker); color: var(--ink); font-weight: 800; font-size: 13px; line-height: 24px; text-align: center;
}
.notes b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 1px; }
.specimen figcaption { grid-column: 1 / -1; border-top: 1px solid var(--rule); padding: 14px 40px; font-size: 14px; color: var(--muted); background: #f7f9fb; }

@media (max-width: 860px) {
  .specimen { grid-template-columns: 1fr; }
  .mail { border-right: 0; border-bottom: 1px dashed var(--rule); padding: 26px 22px; font-size: 16px; }
  .mail-line { grid-template-columns: 1fr; gap: 0; }
  .notes { padding: 24px 22px; }
  .specimen figcaption { padding: 14px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .specimen.is-marking mark, .specimen.is-marking mark::after, .specimen.is-marking .notes li { animation: none; }
}

/* ---------- sekcie ---------- */
.section { padding: 96px 0; scroll-margin-top: 66px; }
.section.tint { background: var(--mist); }
.section-lead { font-size: 19px; color: var(--ink-soft); max-width: 40em; margin-bottom: 40px; }

/* postup – skutočná postupnosť, preto číslovaný */
.band { background: var(--mist); padding: 8px 0 96px; scroll-margin-top: 66px; }
.process { list-style: none; counter-reset: step; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.process li { counter-increment: step; padding: 26px 32px 0 0; position: relative; }
.process li + li { padding-left: 32px; border-left: 1px solid var(--rule); }
.process li::before { content: counter(step); display: block; font-size: 54px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--ink); margin-bottom: 18px; }
.process p { color: var(--ink-soft); margin: 0; max-width: 24em; }
@media (max-width: 860px) {
  .process { grid-template-columns: 1fr; }
  .process li, .process li + li { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--rule); }
}

/* text + obsah vedľa seba */
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
.split-rev { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.split-text > p { color: var(--ink-soft); max-width: 30em; }
@media (max-width: 960px) { .split, .split-rev { grid-template-columns: 1fr; gap: 40px; } }

/* osnova ako tabuľka */
.syllabus { width: 100%; border-collapse: collapse; }
.syllabus th, .syllabus td { padding: 15px 0; border-bottom: 1px solid var(--rule); vertical-align: baseline; text-align: left; }
.syllabus tr:first-child th, .syllabus tr:first-child td { border-top: 2px solid var(--ink); }
.syllabus th { width: 44px; font-weight: 800; font-size: 15px; color: var(--muted); }
.syllabus td b { display: block; font-size: 17.5px; font-weight: 700; }
.syllabus td span { display: block; font-size: 15px; color: var(--muted); }
.syllabus .min { text-align: right; white-space: nowrap; font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; padding-left: 16px; }
.syllabus .test td b::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--safe); margin-right: 10px; vertical-align: 2px; }
.syllabus .test th, .syllabus .test td { border-bottom: 2px solid var(--ink); }

/* funkcie pre správcu */
.features { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 20px; }
.features li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 16px; align-items: start; color: var(--ink-soft); }
.features svg { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }
.features b { color: var(--ink); }

/* report ako dokument na papieri */
.doc { background: #fff; padding: 30px 30px 26px; border-radius: 4px; box-shadow: 0 1px 0 var(--rule), 0 28px 50px -30px rgba(18, 32, 58, 0.45); font-size: 14px; transform: rotate(1.2deg); }
.doc-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--rule); padding-bottom: 10px; }
.doc-date { color: var(--muted); font-size: 12.5px; }
.doc-title { font-weight: 800; font-size: 18px; line-height: 1.25; margin: 16px 0 2px; letter-spacing: -0.01em; }
.doc-org { color: var(--muted); margin-bottom: 16px; }
.doc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 16px; }
.doc-stats div { background: var(--mist); border-radius: 4px; padding: 10px 12px; }
.doc-stats .ok { background: #e2f2ee; }
.doc-stats dt { font-size: 12px; color: var(--muted); }
.doc-stats dd { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.doc-table { width: 100%; border-collapse: collapse; }
.doc-table td { padding: 8px 0; border-bottom: 1px solid var(--rule); }
.doc-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.doc-table .ok { color: var(--safe); font-weight: 600; }
.doc-sign { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 30px; }
.doc-sign span { border-top: 1px solid var(--ink); padding-top: 4px; font-size: 11.5px; color: var(--muted); }
@media (max-width: 960px) { .doc { transform: none; } }

/* zákon */
.law { border-left: 4px solid var(--ink); padding: 4px 0 4px 32px; max-width: 52em; }
.law h2 { font-size: clamp(24px, 2.4vw, 30px); }
.law p { font-size: 19px; color: var(--ink-soft); margin: 0; }

/* cenník – stĺpce oddelené linkami, nie karty */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); }
.pr-col { padding: 30px 32px 32px; display: flex; flex-direction: column; }
.pr-col + .pr-col { border-left: 1px solid var(--rule); }
.pr-name { font-weight: 700; font-size: 18px; margin-bottom: 18px; }
.pr-price { font-size: 17px; color: var(--muted); margin-bottom: 2px; }
.pr-price span { font-size: 52px; font-weight: 800; letter-spacing: -0.04em; color: var(--ink); line-height: 1; margin-right: 4px; font-variant-numeric: tabular-nums; }
.pr-per { color: var(--muted); font-size: 15px; margin-bottom: 26px; flex: 1; }
.price-note { color: var(--ink-soft); font-size: 15.5px; margin-top: 22px; }
@media (max-width: 860px) {
  .pricing { grid-template-columns: 1fr; }
  .pr-col, .pr-col + .pr-col { padding: 26px 0; border-left: 0; }
  .pr-col + .pr-col { border-top: 1px solid var(--rule); }
}

/* autor */
.author { max-width: 46em; }
.author p { font-size: 19px; color: var(--ink-soft); margin: 0; }

/* otázky */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 72px; }
.faq-list { border-top: 2px solid var(--ink); }
details { border-bottom: 1px solid var(--rule); }
summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 18px; padding: 18px 40px 18px 0; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 6px; top: 26px; width: 10px; height: 10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .2s; }
details[open] summary::after { transform: rotate(-135deg); top: 30px; }
details p { color: var(--ink-soft); margin: 0 0 20px; max-width: 38em; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; gap: 8px; } }

/* záver */
.closing { background: var(--ink); color: #fff; padding: 88px 0; }
.closing-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.closing h2 { color: #fff; margin: 0; max-width: 18em; }
@media (max-width: 860px) { .closing-in { grid-template-columns: 1fr; } }

/* pätička */
.foot { padding: 44px 0 56px; font-size: 15px; color: var(--muted); }
.foot-in { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.foot p { margin: 8px 0 0; }
.foot a { color: var(--ink-soft); }
.foot nav { display: grid; gap: 6px; align-content: start; }
@media (max-width: 760px) { .foot-in { grid-template-columns: 1fr; } }

/* cenník s dvoma balíkmi (stránka pre seniorov) */
@media (min-width: 720px) { .pricing.pricing-2 { grid-template-columns: repeat(2, 1fr); max-width: 760px; } }
.pricing-sub { font-size: 1.05rem; margin: 36px 0 12px; }

/* Právne stránky (podmienky, ochrana údajov) */
.legal { max-width: 760px; }
.legal h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 24px; }
.legal h2 { font-size: 22px; margin: 36px 0 12px; }
.legal h3 { font-size: 18px; margin: 24px 0 8px; }
.legal p, .legal li { font-size: 17px; line-height: 1.65; }
.legal ul { padding-left: 22px; }
.legal-table { overflow-x: auto; margin: 12px 0 20px; }
.legal-table table { border-collapse: collapse; width: 100%; font-size: 15px; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--rule); }
.legal-table th { font-weight: 700; border-bottom: 2px solid var(--ink); }
.legal mark.todo { background: #ffd6d0; outline: 2px solid #c42b1c; padding: 0 3px; }

.foot-legal { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--rule); }
.foot-legal p { margin: 0; font-size: 13px; line-height: 1.5; }

/* Päta: štyri stĺpce */
.foot-in { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
@media (max-width: 900px) { .foot-in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-in { grid-template-columns: 1fr; } }
/* Podstránky a poradňa */
.plain-list { margin: 0; padding-left: 20px; }
.plain-list li { margin-bottom: 8px; }
.small-meta { font-size: 14px; color: var(--muted); margin: 0 0 8px; }
.article h2 { margin-top: 32px; }
.article-cta { margin-top: 40px; padding: 20px 22px; background: var(--soft, #eef2f6); border-radius: 10px; }
.article-cta p { margin: 0 0 14px; }
.article-list { list-style: none; padding: 0; display: grid; gap: 18px; }
.article-list li { border-top: 1px solid var(--rule); padding-top: 14px; }
.article-list p { margin: 4px 0 0; color: var(--ink-soft); }
