/* Úvod harvest.sk: verne podľa prototypu v39 (index.html), rozhodnutie zadávateľa 17.11.2026.
   Písma z vlastného servera (pisma.css). */

/* Rozloženie: tmavý úvod s náhľadom profilu firmy, pás čísel, štyri ukážky produktu striedavo vľavo a vpravo, nové firmy, návod, tmavá výzva na hľadanie. */
:root {
  --bg: #FBFAF8; --surface: #FFFFFF; --surface-2: #F2F1EE; --ink: #17171F; --muted: #5F5E6B; --line: #E6E4DF;
  --accent: #4A5DE0; --accent-soft: #E8EBFD; --on-accent: #FFFFFF;
  --night: #121219; --night-2: #1B1C2A; --night-ink: #F3F3F7; --night-muted: #ABAABD; --night-line: rgba(255,255,255,.12); --glow: #3A3F86;
  --card-shadow: 0 1px 2px rgba(16,16,28,.05), 0 12px 32px rgba(16,16,28,.08);
  --f-display: 'Inter Tight', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-text: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1180px; --r: 16px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #111117; --surface: #1A1A23; --surface-2: #22222D; --ink: #EDEDF3; --muted: #A4A3B3; --line: #2C2C39;
  --accent: #8E9BFF; --accent-soft: #262A52; --on-accent: #111117; --card-shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px rgba(0,0,0,.35); color-scheme: dark; } }
:root[data-theme="dark"] {
  --bg: #111117; --surface: #1A1A23; --surface-2: #22222D; --ink: #EDEDF3; --muted: #A4A3B3; --line: #2C2C39;
  --accent: #8E9BFF; --accent-soft: #262A52; --on-accent: #111117; --card-shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px rgba(0,0,0,.35); color-scheme: dark; }

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--f-text); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; letter-spacing: -0.03em; line-height: 1.05; margin: 0; text-wrap: balance; }
p { margin: 0; }
.num { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }


/* hlavička nad tmavým úvodom */
.top { background: var(--night); color: var(--night-ink); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; border-bottom: 1px solid var(--night-line); }
.top .wrap { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.1; }
.brand b { font: 600 20px/1 var(--f-display); letter-spacing: -0.02em; }
.brand b span { color: var(--night-muted); font-weight: 400; }
.brand small { font-size: 11px; color: var(--night-muted); margin-top: 3px; }
.top nav { display: flex; gap: 22px; margin-left: auto; font-size: 14px; }
.top nav a { text-decoration: none; color: var(--night-muted); }
.top nav a:hover { color: var(--night-ink); }
.lang { font-size: 14px; color: var(--night-muted); }


/* úvod */
.hero { background: radial-gradient(90% 120% at 100% 0%, var(--glow) 0%, transparent 55%), radial-gradient(60% 80% at 0% 100%, #1F2A3F 0%, transparent 60%), var(--night); color: var(--night-ink); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; padding-block: 72px 88px; align-items: center; }
@media (min-width: 980px) { .hero .wrap { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); padding-block: 96px 112px; } }
.hero h1 { font-size: clamp(42px, 6.4vw, 76px); font-weight: 300; letter-spacing: -0.045em; }
.hero__lead { margin-top: 24px; max-width: 34rem; font-size: clamp(17px, 1.6vw, 19px); color: var(--night-muted); }
.search { margin-top: 36px; display: flex; max-width: 34rem; background: #FFFFFF; border-radius: 999px; padding: 6px; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; font: 17px var(--f-text); color: #17171F; padding: 0 18px; outline: none; }
.search input::placeholder { color: #77768A; }
.search button { border: 0; border-radius: 999px; background: #4A5DE0; color: #FFFFFF; font: 500 15px var(--f-text); padding: 0 22px; min-height: 48px; cursor: pointer; }
.search button:hover { background: #3747C4; }
.search:focus-within { box-shadow: 0 0 0 3px rgba(142,155,255,.55), 0 20px 50px rgba(0,0,0,.35); }
.hint { margin-top: 14px; font-size: 14px; color: var(--night-muted); }
.hint a { color: var(--night-ink); text-underline-offset: 3px; }

/* náhľad produktu v úvode: dve prekrývajúce sa karty */
.stage { position: relative; min-height: 420px; }
.mock { background: #FFFFFF; color: #17171F; border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.45); font-size: 13px; }
.mock--profile { position: relative; width: min(100%, 440px); margin-left: auto; padding: 22px 22px 18px; animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.mock--check { position: absolute; left: 0; bottom: -24px; width: min(78%, 320px); padding: 16px 18px; animation: rise .9s .15s cubic-bezier(.2,.7,.2,1) both; }
@keyframes rise { from { transform: translateY(18px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .mock { animation: none; } }
.mock h3 { font: 500 20px/1.15 var(--f-display); letter-spacing: -0.02em; }
.mock .state { display: inline-flex; gap: 6px; align-items: center; margin-top: 6px; color: #2E6B4E; font-size: 12px; }
.mock dl { margin: 14px 0 0; }
.mock dl div { display: grid; grid-template-columns: 76px minmax(0, 1fr); padding-block: 7px; border-top: 1px solid #ECEAE6; }
.mock dt { color: #5F5E72; }
.mock dd { margin: 0; }
.mock .bars { display: flex; align-items: flex-end; gap: 8px; height: 92px; margin-top: 16px; border-bottom: 1px solid #17171F; }
.mock .bars i { flex: 1; background: #E3E6FB; border-radius: 4px 4px 0 0; }
.mock .bars i:last-child { background: #4A5DE0; }
.mock .axis { display: flex; justify-content: space-between; color: #5F5E72; font-size: 11px; padding-top: 4px; }
.mock .cap { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; }
.mock .cap b { font: 500 22px var(--f-display); letter-spacing: -0.02em; }
.mock .cap span { color: #5F5E72; font-size: 12px; }
.mock--check h4 { margin: 0 0 6px; font: 600 11px var(--f-text); letter-spacing: .1em; text-transform: uppercase; color: #5F5E72; }
.mock--check div { display: flex; justify-content: space-between; gap: 12px; padding-block: 6px; border-top: 1px solid #ECEAE6; }
.mock--check div span:first-child { color: #5F5E6B; }
@media (max-width: 979px) { .stage { min-height: 0; } .mock--profile { margin: 0; } .mock--check { position: relative; left: auto; bottom: auto; width: 100%; margin-top: -40px; margin-left: 24px; max-width: calc(100% - 24px); } }

/* pás čísel */
.stats { background: var(--night); color: var(--night-ink); border-top: 1px solid var(--night-line); }
.stats dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .stats dl { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stats dl > div { padding: 36px 20px 40px 0; border-right: 1px solid var(--night-line); display: flex; flex-direction: column-reverse; gap: 6px; }
.stats dl > div:last-child { border-right: 0; }
.stats dl > div + div { padding-left: 24px; }
@media (max-width: 899px) { .stats dl > div:nth-child(2) { border-right: 0; } .stats dl > div:nth-child(3) { padding-left: 0; } .stats dl > div:nth-child(n+3) { border-top: 1px solid var(--night-line); } }
.stats dd { margin: 0; white-space: nowrap; font: 300 clamp(30px, 4.4vw, 52px)/1 var(--f-display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.stats dt { color: var(--night-muted); font-size: 15px; }

/* ukážky produktu */
.section { padding-block: 96px; }
.section + .section { padding-top: 24px; }
.eyebrow { font: 500 13px var(--f-text); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.intro { max-width: 44rem; display: flex; flex-direction: column; gap: 16px; }
.intro h2 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 300; letter-spacing: -0.04em; }
.intro p { font-size: 18px; color: var(--muted); }
.feature { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; padding-block: 56px; border-top: 1px solid var(--line); }
.feature:first-of-type { margin-top: 56px; }
@media (min-width: 900px) { .feature { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; } .feature--flip .feature__text { order: 2; } }
.feature__text { display: flex; flex-direction: column; gap: 14px; max-width: 30rem; }
.feature__text h3 { font-size: clamp(28px, 3vw, 38px); }
.feature__text p { color: var(--muted); font-size: 17px; }
.feature__text a { color: var(--accent); font-weight: 500; text-decoration: none; margin-top: 6px; }
.feature__text a:hover { text-decoration: underline; text-underline-offset: 4px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--card-shadow); padding: 22px 24px; font-size: 14px; min-width: 0; }
.panel__h { font: 600 11px var(--f-text); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.rows > div { display: grid; grid-template-columns: minmax(7rem, 38%) minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 42px; border-top: 1px solid var(--line); }
.rows > div:last-child { border-bottom: 1px solid var(--line); }
.rows dt { color: var(--muted); }
.rows dd { margin: 0; overflow-wrap: anywhere; }
.copy { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; color: var(--accent); }
.copy svg { width: 15px; height: 15px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.split { grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chips span { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 13px; color: var(--ink); background: var(--surface); }
.chips span::after { content: " ↗"; color: var(--accent); }
.minibars { display: flex; align-items: flex-end; gap: 10px; height: 150px; border-bottom: 1px solid var(--ink); margin-top: 8px; }
.minibars i { flex: 1; border-radius: 5px 5px 0 0; background: var(--accent-soft); position: relative; }
.minibars i:last-child { background: var(--accent); }
.minibars i b { position: absolute; bottom: 100%; left: 0; right: 0; text-align: center; font: 500 11px var(--f-text); color: var(--muted); padding-bottom: 4px; }
.minibars i:last-child b { color: var(--ink); }
.axis2 { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; padding-top: 6px; }
.axis2 span { flex: 1; text-align: center; }
.cmp { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.cmp b { white-space: nowrap; font: 400 26px var(--f-display); letter-spacing: -0.02em; }
.cmp span { color: var(--muted); font-size: 13px; max-width: 18rem; }
.donut { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; align-items: center; }
.donut svg { width: 96px; height: 96px; }
.donut circle { fill: none; stroke-width: 14; }
.legend { display: grid; gap: 6px; font-size: 13px; }
.legend span { display: flex; align-items: center; gap: 8px; }
.legend i { width: 9px; height: 9px; border-radius: 2px; }
.addr h4 { margin: 0; font: 400 24px/1.15 var(--f-display); letter-spacing: -0.02em; }
.addr p { color: var(--muted); margin-top: 4px; }
.addr ol { list-style: none; margin: 14px 0 0; padding: 0; }
.addr li { display: flex; justify-content: space-between; gap: 12px; padding-block: 9px; border-top: 1px solid var(--line); }
.addr li span:last-child { color: var(--muted); white-space: nowrap; }

/* nové firmy a návody */
.duo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
@media (min-width: 900px) { .duo { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }
.duo h3 { font-size: 30px; margin-bottom: 18px; }
.list { list-style: none; margin: 0; padding: 0; }
.list li a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding-block: 13px; border-top: 1px solid var(--line); text-decoration: none; }
.list li:last-child a { border-bottom: 1px solid var(--line); }
.list li a:hover strong { color: var(--accent); }
.list strong { font-weight: 500; }
.list small { display: block; color: var(--muted); font-size: 13px; }
.list time { color: var(--muted); font-size: 14px; }
.guide { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; text-decoration: none; background: var(--accent-soft); border-radius: 20px; padding: 28px; min-height: 260px; }
.guide .eyebrow { color: var(--accent); }
.guide h3 { font-size: 32px; margin-top: 10px; }
.guide p { color: var(--muted); margin-top: 10px; }
.guide b { color: var(--accent); font-weight: 500; }
.more { display: inline-block; margin-top: 16px; color: var(--accent); font-weight: 500; text-decoration: none; }

/* záverečná výzva */
.cta { background: radial-gradient(70% 140% at 50% 0%, var(--glow) 0%, transparent 60%), var(--night); color: var(--night-ink); text-align: center; }
.cta .wrap { padding-block: 104px; display: flex; flex-direction: column; align-items: center; }
.cta h2 { font-size: clamp(36px, 5vw, 60px); font-weight: 300; letter-spacing: -0.045em; max-width: 16ch; }
.cta .search { width: 100%; margin-inline: auto; }

/* päta */
footer { background: var(--bg); color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
footer .wrap { padding-block: 40px 56px; display: flex; flex-direction: column; gap: 18px; }
footer p { margin: 0; }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
footer .brand b { color: var(--ink); font-size: 20px; }
footer .brand b span { color: var(--muted); font-weight: 400; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; }
footer nav a, .langs a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
footer nav a:hover { color: var(--ink); }
.partner { display: flex; align-items: center; gap: 14px; font-size: 13px; }
.partner a { display: inline-flex; align-items: center; min-height: 36px; }
.partner img { display: block; height: 28px; width: auto; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .partner img { filter: brightness(0) invert(1); opacity: .92; } }
:root[data-theme="dark"] .partner img { filter: brightness(0) invert(1); opacity: .92; }
.langs { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.langs a[aria-current] { color: var(--ink); text-decoration: none; }
.note { font-size: 12px; line-height: 1.6; max-width: 70ch; }
.note a { color: var(--accent); }
.ph { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; border: 1px dashed var(--line); border-radius: 999px; padding: 1px 6px; white-space: nowrap; }

/* ---------- pohyb (08.10.2026): všetko je viditeľné aj bez skriptu; skript iba prehráva ---------- */
.hero { position: relative; isolation: isolate; }
.aurora { position: absolute; inset: -20%; z-index: -1; pointer-events: none; filter: blur(70px); opacity: .85; }
.aurora i { position: absolute; border-radius: 50%; }
.aurora i:nth-child(1) { width: 46vw; height: 46vw; right: 6%; top: 4%; background: #3B3F95; animation: drift1 26s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { width: 34vw; height: 34vw; right: 30%; top: 38%; background: #1E5560; opacity: .7; animation: drift2 32s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { width: 28vw; height: 28vw; left: 2%; bottom: 0; background: #2A2F6E; opacity: .8; animation: drift3 38s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(-12vw, 8vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(10vw, -10vh) scale(.85); } }
@keyframes drift3 { to { transform: translate(14vw, -6vh) scale(1.2); } }
.hero { background: var(--night); }
.stage { perspective: 1400px; }
.stage__inner { transform-origin: 50% 0; will-change: transform; }
.mock .swap { transition: opacity .35s ease, transform .35s ease; }
.mock.is-swapping .swap { opacity: 0; transform: translateY(6px); }
.mock .bars i { transition: height .7s cubic-bezier(.2,.7,.2,1); }
.mock .live { display: inline-flex; align-items: center; gap: 6px; float: right; font-size: 11px; color: #5F5E72; }
.mock .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2BA66B; box-shadow: 0 0 0 0 rgba(43,166,107,.5); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 7px rgba(43,166,107,0); } 100% { box-shadow: 0 0 0 0 rgba(43,166,107,0); } }

/* veta, ktorá sa pri posúvaní rozsvieti po slovách */
.statement { background: var(--night); color: var(--night-ink); }
.statement .wrap { padding-block: 96px 112px; }
.statement p { font: 300 clamp(30px, 4.6vw, 58px)/1.12 var(--f-display); letter-spacing: -0.035em; max-width: 22ch; text-wrap: balance; }
.statement .w { transition: color .25s ease; }
.statement.is-armed .w { color: #4A4A5C; }
.statement.is-armed .w.on { color: var(--night-ink); }

/* ukážky v paneloch: prehrávajú sa po zobrazení, opakujú sa, dajú sa zastaviť */
.demo { position: relative; padding-bottom: 56px; }
.pause { position: absolute; right: 12px; bottom: 12px; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--muted); display: grid; place-items: center; cursor: pointer; z-index: 2; }
.pause svg { width: 12px; height: 12px; }
.demo.play .rows > div, .demo.play .addr-li, .demo.play .chips span { animation: inrow .55s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i, 0) * 110ms + 150ms); }
@keyframes inrow { from { opacity: 0; transform: translateY(10px); } }
.demo.play .minibars i { animation: grow .9s cubic-bezier(.2,.7,.2,1) both; transform-origin: bottom; animation-delay: calc(var(--i, 0) * 120ms + 100ms); }
@keyframes grow { from { transform: scaleY(0); } }
.demo.play .minibars b { animation: fade .4s both; animation-delay: calc(var(--i, 0) * 120ms + 700ms); }
@keyframes fade { from { opacity: 0; } }
.demo.play .donut svg { animation: spinin 1.1s cubic-bezier(.2,.7,.2,1) both; }
@keyframes spinin { from { transform: rotate(-120deg) scale(.85); opacity: 0; } }
.demo.play .legend span { animation: inrow .5s both; animation-delay: calc(var(--i, 0) * 120ms + 500ms); }
.demo.play .rows dd.check { animation: tick .6s both; animation-delay: calc(var(--i, 0) * 110ms + 450ms); }
@keyframes tick { 0% { color: transparent; } 40% { color: var(--accent); } 100% { color: var(--ink); } }
.toast { position: absolute; right: 18px; top: 16px; background: var(--ink); color: var(--bg); font-size: 13px; padding: 7px 12px; border-radius: 999px; opacity: 0; transform: translateY(-6px); pointer-events: none; }
.demo.play .toast { animation: toast 2.6s ease both; animation-delay: 1.4s; }
@keyframes toast { 0% { opacity: 0; transform: translateY(-6px); } 12%, 80% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.demo.play .copy.hit { animation: hit .5s both; animation-delay: 1.25s; }
@keyframes hit { 50% { background: var(--accent-soft); transform: scale(1.15); } }
@media (prefers-reduced-motion: reduce) { .aurora i, .mock .live::before { animation: none; } .demo .pause { display: none; } }

/* doplnky webu (17.11.2026) */
.top .wrap { justify-content: flex-start; }
.top nav a[aria-current="true"] { color: var(--night-ink); }
.ukazka-zdroj { font-size: 12px; color: var(--muted); margin-top: 10px; }
.mock a, .panel a.firma { color: inherit; text-decoration: none; }
.footer-ops { font-size: 12px; line-height: 1.6; max-width: 70ch; }

/* hero: tlačidlo zastavenia striedania ukážok (nález 28); kontrast drobných textov v ukážkach aspoň 4,5 : 1 (nález 43) */
.hero .pause--hero { position: relative; right: auto; bottom: auto; margin-top: 12px; justify-self: end; background: rgba(255,255,255,.08); border-color: var(--night-line); color: var(--night-ink); }
.ukazka-zdroj { color: #5F5E72; }

.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 8px; background: #FFFFFF; color: #17171F; text-decoration: none; }
.skip-link:focus { top: 8px; }

/* mobil: odkazy v druhom riadku s posúvaním (WEB.md časť E bod 4, test 18.11.2026 nález 30) */
@media (max-width: 760px) {
  .top .wrap { flex-wrap: wrap; row-gap: 6px; }
  .top nav { order: 3; flex: 1 1 100%; margin-left: 0; overflow-x: auto; scrollbar-width: none; gap: 18px; padding-bottom: 4px; }
  .top nav a { flex-shrink: 0; min-height: 32px; display: inline-flex; align-items: center; }
  .lang { margin-left: auto; }
  .search input { font: 16px var(--f-text); padding: 0 8px 0 12px; }
  .search button { padding: 0 14px; font-size: 14px; }
}