/* komunikacnapomocka.sk
   Štýl: čistý, klinický, inšpirovaný Apple HIG. Žiadne ikony, hierarchiu nesie typografia,
   biely priestor a tenké linky. Akcent: Isaac teal #17806f. */

@font-face { font-family: "OpenDyslexic"; src: url("../fonts/OpenDyslexic-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "OpenDyslexic"; src: url("../fonts/OpenDyslexic-Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --line: #d2d2d7;
  --line-soft: #e8e8ed;
  --accent: #12594e;
  --accent-hover: #0f6a5c;
  --accent-ink: #12594e;
  --on-accent: #ffffff;
  --ink-bg: #101418;
  --ink-text: #f5f5f7;
  --ink-2: #a1a1a6;
  --device: #1d1d1f;
  --focus: #0071e3;
  --error: #c4291c;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Helvetica Neue", Arial, sans-serif;
  --fs: 1.0625rem;
  --lh: 1.53;
  --w: 1120px;
}
:root[data-size="l"] { --fs: 1.2rem; }
:root[data-size="xl"] { --fs: 1.35rem; }
:root[data-spacing="on"] { --lh: 1.95; }
:root[data-spacing="on"] body { letter-spacing: .02em; word-spacing: .1em; }
:root[data-dyslexia="on"] { --font: "OpenDyslexic", sans-serif; --font-display: "OpenDyslexic", sans-serif; }

@media (prefers-color-scheme: dark) {
  :root:not([data-contrast="on"]) {
    --bg: #000000; --bg-alt: #111113; --text: #f5f5f7; --text-2: #a1a1a6; --line: #38383d; --line-soft: #26262a;
    --accent: #3fb8a3; --accent-hover: #5fcab7; --accent-ink: #5fcab7; --on-accent: #001b17;
    --ink-bg: #111113; --device: #2c2c2e; --focus: #2997ff; --error: #ff6961;
  }
}
:root[data-dark="on"]:not([data-contrast="on"]) {
  --bg: #000000; --bg-alt: #111113; --text: #f5f5f7; --text-2: #a1a1a6; --line: #38383d; --line-soft: #26262a;
  --accent: #3fb8a3; --accent-hover: #5fcab7; --accent-ink: #5fcab7; --on-accent: #001b17;
  --ink-bg: #111113; --device: #2c2c2e; --focus: #2997ff; --error: #ff6961;
}
:root[data-contrast="on"] {
  --bg: #fff; --bg-alt: #fff; --text: #000; --text-2: #000; --line: #000; --line-soft: #000;
  --accent: #000; --accent-hover: #000; --accent-ink: #000; --on-accent: #ffff00;
  --ink-bg: #000; --ink-text: #ffff00; --ink-2: #ffff00; --focus: #0047ff; --error: #b00000;
}
:root[data-contrast="on"] .panel, :root[data-contrast="on"] .form, :root[data-contrast="on"] .buy a { border: 2px solid #000; }
:root[data-links="on"] main a:not(.btn), :root[data-links="on"] footer a { text-decoration: underline !important; text-decoration-thickness: 2px !important; background: #fff3a8; color: #111 !important; }
:root[data-motion="on"] *, :root[data-motion="on"] *::before, :root[data-motion="on"] *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: var(--fs); line-height: var(--lh); letter-spacing: -.011em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .15em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: 100%; max-width: var(--w); margin: 0 auto; padding: 0 20px; }
@media (min-width: 740px) { .container { padding: 0 32px; } }
.narrow { max-width: 820px; }
.center { text-align: center; justify-content: center; }
.br-md { display: none; }
@media (min-width: 740px) { .br-md { display: inline; } }

.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--text); color: var(--bg); padding: 12px 18px; border-radius: 10px; font-weight: 600; }
.skip-link:focus { top: 10px; }

/* Typografia */
.eyebrow { font-size: .9em; font-weight: 600; color: var(--accent-ink); margin: 0 0 .6em; letter-spacing: 0; }
h1 { font-size: clamp(2.5rem, 1.5rem + 4.6vw, 5rem); font-weight: 700; line-height: 1.04; letter-spacing: -.035em; }
.h-xl { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.75rem); font-weight: 700; line-height: 1.06; letter-spacing: -.03em; margin-bottom: .45em; }
.h-lg { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); font-weight: 700; line-height: 1.1; letter-spacing: -.025em; margin-bottom: .5em; }
h3 { font-size: 1.18em; font-weight: 600; letter-spacing: -.015em; line-height: 1.25; }
.lead { font-size: clamp(1.1rem, 1rem + .45vw, 1.35rem); line-height: 1.45; color: var(--text-2); max-width: 46ch; letter-spacing: -.015em; }
.muted { color: var(--text-2); }
.fine { font-size: .82em; color: var(--text-2); margin: 12px 0 0; }
.label { font-size: .8em; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--text-2); }

/* Tlačidlá */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 999px; font: inherit; font-weight: 500; font-size: 1em; text-decoration: none !important; border: 0; cursor: pointer; white-space: nowrap; transition: background-color .2s; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-sm { min-height: 34px; padding: 0 16px; font-size: .85em; }
.btn-block { width: 100%; white-space: normal; text-align: center; }
.link-more { font-weight: 500; display: inline-flex; align-items: center; min-height: 48px; }
.link-more::after { content: "›"; margin-left: .35em; font-size: 1.25em; line-height: 1; transform: translateY(-1px); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 28px; }
.btn-text { background: none; border: 0; font: inherit; color: var(--accent-ink); cursor: pointer; min-height: 44px; padding: 0 4px; }
.btn-text:hover { text-decoration: underline; }

/* Hlavička */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px); border-bottom: 1px solid var(--line-soft); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 52px; }
.wordmark { font-weight: 600; color: var(--text); font-size: 1rem; letter-spacing: -.02em; white-space: nowrap; }
.wordmark:hover { text-decoration: none; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: block; padding: 8px 12px; color: var(--text); opacity: .82; font-size: .85em; white-space: nowrap; border-radius: 8px; }
.main-nav a:hover { opacity: 1; text-decoration: none; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.hdr-btn { background: none; border: 0; font: inherit; font-size: .85em; color: var(--text); opacity: .82; cursor: pointer; min-height: 44px; padding: 0 10px; border-radius: 8px; }
.hdr-btn:hover, .hdr-btn[aria-expanded="true"] { opacity: 1; background: var(--bg-alt); }
.nav-toggle { display: none; }
@media (max-width: 1000px) {
  .nav-toggle { display: inline-block; }
  .header-actions { margin-left: auto; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line-soft); display: none; margin: 0; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 8px 20px 20px; }
  .main-nav a { font-size: 1.3em; font-weight: 600; padding: 12px 0; opacity: 1; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
}
@media (max-width: 520px) { .hide-sm { display: none; } .header-inner { gap: 8px; } .header-actions { gap: 0; } .hdr-btn { padding: 0 8px; } .wordmark { font-size: .92rem; } }

/* Panel prístupnosti */
.a11y-panel { background: var(--bg); border-top: 1px solid var(--line-soft); padding: 24px 0 20px; max-height: calc(100vh - 52px); overflow-y: auto; }
.a11y-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.a11y-head h2 { font-size: 1.4em; font-weight: 700; letter-spacing: -.02em; }
.a11y-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin: 16px 0 8px; }
.a11y-size { border: 0; margin: 0; padding: 0; min-width: 0; grid-column: 1 / -1; }
.a11y-size legend { font-size: .85em; color: var(--text-2); margin-bottom: 8px; }
.seg { display: inline-flex; background: var(--bg-alt); border-radius: 10px; padding: 3px; gap: 2px; max-width: 100%; }
.seg button { min-height: 40px; min-width: 76px; border: 0; border-radius: 8px; background: transparent; color: var(--text); font: inherit; font-size: .9em; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--bg); box-shadow: 0 1px 3px rgba(0,0,0,.12); font-weight: 600; }
:root[data-contrast="on"] .seg button[aria-pressed="true"] { background: #000; color: #ffff00; }
.switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 0 14px 0 16px; border-radius: 12px; border: 0; background: var(--bg-alt); color: var(--text); font: inherit; font-size: .95em; text-align: left; cursor: pointer; }
.switch::after { content: ""; flex: none; width: 44px; height: 26px; border-radius: 999px; background: var(--line); box-shadow: inset 0 0 0 2px transparent; transition: background-color .2s; background-image: radial-gradient(circle at 13px 13px, #fff 10px, transparent 11px); }
.switch[aria-pressed="true"]::after { background-color: var(--accent); background-image: radial-gradient(circle at 31px 13px, #fff 10px, transparent 11px); }
:root[data-contrast="on"] .switch { border: 2px solid #000; }
.a11y-note { font-size: .82em; color: var(--text-2); margin: 6px 0 0; }

/* Hero */
.hero { padding: 72px 0 0; text-align: center; overflow: hidden; }
@media (min-width: 740px) { .hero { padding-top: 110px; } }
.hero-copy { display: flex; flex-direction: column; align-items: center; }
.hero-lead { font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem); color: var(--text-2); max-width: 34em; margin: 22px auto 0; line-height: 1.42; letter-spacing: -.015em; }
.hero .cta-row { justify-content: center; }

/* Zariadenie (iPad) a miesto pre screenshot */
.device { margin: 0; background: var(--device); border-radius: clamp(18px, 3vw, 38px); padding: clamp(8px, 1.3vw, 16px); box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 40px 80px -30px rgba(0,0,0,.35); }
.device-screen { position: relative; aspect-ratio: 4 / 3; border-radius: clamp(10px, 1.8vw, 22px); overflow: hidden; background: var(--bg-alt); }
.device-screen::before { content: "Screenshot: " attr(data-label); position: absolute; inset: 0; display: grid; place-items: center; font-size: .8rem; color: var(--text-2); background:
  repeating-linear-gradient(0deg, transparent 0 calc(25% - 1px), var(--line-soft) calc(25% - 1px) 25%),
  repeating-linear-gradient(90deg, transparent 0 calc(16.66% - 1px), var(--line-soft) calc(16.66% - 1px) 16.66%), var(--bg-alt); }
.device-screen img { position: relative; width: 100%; }
.device-screen img.missing { display: none; }
.device-hero { max-width: 980px; margin: 64px auto 0; }

.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 20px; margin: 80px auto 0; padding: 0 0 80px; max-width: 980px; text-align: center; }
@media (min-width: 740px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.facts dt { font-family: var(--font-display); font-size: clamp(2.4rem, 1.8rem + 2.2vw, 3.5rem); font-weight: 700; letter-spacing: -.035em; line-height: 1; color: var(--text); }
.facts dd { margin: 8px 0 0; color: var(--text-2); font-size: .95em; }

.partners-strip { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding: 28px 0; }
.partners-strip .container { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 32px; justify-content: center; text-align: center; }
.partners-strip ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 32px; list-style: none; margin: 0; padding: 0; }
.partners-strip li { font-weight: 600; font-size: .95em; letter-spacing: -.01em; }

/* Sekcie */
.section { padding: 96px 0; }
@media (min-width: 740px) { .section { padding: 140px 0; } }
.section-gray { background: var(--bg-alt); }
.section-ink { background: var(--ink-bg); color: var(--ink-text); }
.section-ink .eyebrow { color: #5fcab7; }
:root[data-contrast="on"] .section-ink .eyebrow { color: #ffff00; }

/* Odborný list (AAK) */
.sheet { margin: 64px 0 0; border-top: 1px solid var(--line); }
.sheet-row { display: grid; gap: 8px 40px; padding: 28px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 740px) { .sheet-row { grid-template-columns: 220px 1fr; } }
.sheet dt { font-weight: 600; font-size: 1.05em; }
.sheet dd { margin: 0; color: var(--text-2); max-width: 62ch; }
.sheet dd strong { color: var(--text); font-weight: 600; }
.cols { list-style: none; padding: 0; margin: 0; columns: 2 220px; column-gap: 32px; }
.cols li { padding: 6px 0; border-bottom: 1px solid var(--line-soft); break-inside: avoid; color: var(--text); }

/* Scroll príbeh */
.story { display: grid; gap: 0; margin-top: 56px; }
.step { padding: 40px 0; border-top: 1px solid var(--line); }
.step:first-child { border-top: 0; }
.step-n { font-family: var(--font-display); font-size: .95em; font-weight: 600; color: var(--accent-ink); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.step h3 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem); font-weight: 700; letter-spacing: -.028em; line-height: 1.1; margin-bottom: .45em; }
.step p:not(.step-n) { color: var(--text-2); font-size: 1.1em; line-height: 1.5; max-width: 30em; }
.step-shot { margin-top: 28px; }
.story-stage { display: none; }

@media (min-width: 1000px) {
  .story { grid-template-columns: minmax(300px, 0.75fr) 1.25fr; gap: 64px; align-items: start; }
  .step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; border-top: 0; padding: 0; opacity: .28; transition: opacity .4s ease; }
  .step.is-active { opacity: 1; }
  .step-shot { display: none; }
  .story-stage { display: block; position: sticky; top: calc(50vh - 260px); order: 2; }
  .story-steps { order: 1; padding: 6vh 0; }
  .stack { position: relative; }
  .stack .layer { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease; }
  .stack .layer.is-active { opacity: 1; }
  .stack .layer::before { content: "Screenshot: " attr(data-label); position: absolute; inset: 0; display: grid; place-items: center; font-size: .85rem; color: var(--text-2); background:
    repeating-linear-gradient(0deg, transparent 0 calc(25% - 1px), var(--line-soft) calc(25% - 1px) 25%),
    repeating-linear-gradient(90deg, transparent 0 calc(16.66% - 1px), var(--line-soft) calc(16.66% - 1px) 16.66%), var(--bg-alt); }
  .stack::before { display: none; }
  .stack .layer img { position: relative; width: 100%; }
  .progress { display: flex; gap: 6px; justify-content: center; list-style: none; padding: 0; margin: 22px 0 0; }
  .progress li { width: 7px; height: 7px; border-radius: 999px; background: color-mix(in srgb, var(--text-2) 45%, transparent); transition: width .3s, background-color .3s; }
  .progress li.is-active { width: 22px; background: var(--accent); }
}
:root[data-motion="on"] .step, :root[data-contrast="on"] .step { opacity: 1; }

.specs { display: grid; gap: 0 40px; margin-top: 96px; border-top: 1px solid var(--line); }
@media (min-width: 740px) { .specs { grid-template-columns: 1fr 1fr; } }
.specs div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-weight: 600; margin-bottom: 4px; }
.specs dd { margin: 0; color: var(--text-2); }

/* Kúpa */
.buy { list-style: none; padding: 0; margin: 56px 0 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.buy a { display: flex; flex-direction: column; height: 100%; min-height: 190px; padding: 28px; border-radius: 22px; background: var(--bg-alt); color: var(--text); text-decoration: none; transition: transform .25s ease; }
.buy a:hover { transform: scale(1.015); text-decoration: none; }
.buy-k { font-family: var(--font-display); font-size: 1.45em; font-weight: 700; letter-spacing: -.025em; }
.buy-t { color: var(--text-2); margin-top: 6px; }
.buy-cta { margin-top: auto; padding-top: 18px; color: var(--accent-ink); font-weight: 500; }
.buy-cta::after { content: " ›"; font-size: 1.15em; }
.buy-main a { background: var(--accent); color: var(--on-accent); }
.buy-main .buy-t, .buy-main .buy-cta { color: inherit; opacity: .9; }

/* Príspevok */
.grant { display: grid; gap: 48px; margin-top: 64px; align-items: start; }
@media (min-width: 1000px) { .grant { grid-template-columns: 1.3fr 1fr; gap: 64px; } }
.numbered { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.numbered li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.num { font-family: var(--font-display); font-weight: 600; color: var(--accent-ink); font-variant-numeric: tabular-nums; padding-top: 2px; }
.numbered h3 { margin-bottom: .3em; }
.numbered p { margin: 0; color: var(--text-2); }
.panel { background: var(--bg); border-radius: 22px; padding: 32px; }
@media (min-width: 1000px) { .panel { position: sticky; top: 84px; } }
.panel h3 { font-size: 1.3em; margin-bottom: .8em; }
.plain { list-style: none; padding: 0; margin: 0 0 24px; border-top: 1px solid var(--line-soft); }
.plain li { padding: 11px 0; border-bottom: 1px solid var(--line-soft); }
.panel-note { color: var(--text-2); font-size: .95em; }
.panel-note strong { color: var(--text); font-weight: 600; }
.panel .btn { margin-top: 8px; }

/* Školy */
.school { display: grid; gap: 56px; align-items: start; }
@media (min-width: 1000px) { .school { grid-template-columns: 1fr 1fr; gap: 72px; } }
.school .plain { margin-top: 28px; }
.form { background: var(--bg-alt); border-radius: 22px; padding: clamp(24px, 4vw, 36px); }
.form h3 { font-size: 1.4em; letter-spacing: -.02em; }
.form .fine { margin: 6px 0 20px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; min-width: 0; }
.field-row { display: grid; gap: 0 14px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
label { font-size: .88em; font-weight: 500; }
input, select, textarea { width: 100%; min-height: 48px; padding: 11px 14px; font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; }
input:focus, select:focus, textarea:focus { outline: 3px solid color-mix(in srgb, var(--focus) 35%, transparent); border-color: var(--focus); }
input[aria-invalid="true"] { border-color: var(--error); }
.field.check { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 12px; }
.field.check input { width: 22px; height: 22px; min-height: 0; margin-top: 2px; flex: none; accent-color: var(--accent); }
.field.check label { flex: 1; min-width: 0; font-weight: 400; }
.field.check .error { flex-basis: 100%; }
.error { color: var(--error); font-size: .85em; font-weight: 500; margin: 0; }
.form-status { margin: 12px 0 0; font-weight: 500; }

/* Spolupráca */
.partner-list { list-style: none; padding: 0; margin: 56px 0 0; border-top: 1px solid rgba(255,255,255,.18); }
.partner-list li { display: grid; gap: 6px 40px; padding: 30px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
@media (min-width: 740px) { .partner-list li { grid-template-columns: 1.1fr 1fr; align-items: baseline; } }
.partner-list h3 { font-size: clamp(1.3rem, 1rem + 1vw, 1.75rem); font-weight: 600; letter-spacing: -.02em; }
.partner-list p { margin: 0; color: var(--ink-2); }
.ink-note { margin-top: 32px; color: var(--ink-2); font-size: .92em; }
:root[data-contrast="on"] .partner-list li, :root[data-contrast="on"] .partner-list { border-color: #ffff00; }

/* FAQ */
.faq { margin-top: 40px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 1.1em; font-weight: 600; }
.faq summary::after { content: "+"; font-size: 1.6em; font-weight: 300; color: var(--text-2); line-height: 1; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text-2); padding: 0 40px 24px 0; margin: 0; }

/* Záver */
.final { padding: 120px 0; text-align: center; background: var(--bg-alt); }
.final .lead { margin: 0 auto; }

/* Pätička */
.site-footer { background: var(--bg-alt); color: var(--text-2); font-size: .82em; padding: 40px 0 28px; border-top: 1px solid var(--line-soft); }
.site-footer a { color: var(--text); }
.footer-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.footer-mark { color: var(--text); font-weight: 600; font-size: 1.1em; margin-bottom: .4em; }
.f-h { font-size: 1em; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); }
.footer-bottom p { margin: 0; }

/* Objavovanie */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
:root[data-motion="on"] .reveal { opacity: 1; transform: none; }

.reading { background: #fff3a8 !important; color: #111 !important; border-radius: 4px; }

@media print { .site-header, .a11y-panel, .story-stage, .form, .final { display: none !important; } }

/* ---------- Rozšírenie: publikum, prax, funkcie, porovnanie, zariadenia, školenia ---------- */

/* Záložky */
.tabs { margin-top: 48px; }
.seg-lg { display: flex; flex-wrap: wrap; width: fit-content; max-width: 100%; }
.seg-lg [role="tab"] { min-height: 44px; padding: 0 18px; border: 0; border-radius: 8px; background: transparent; color: var(--text); font: inherit; font-size: .95em; cursor: pointer; }
.seg-lg [role="tab"][aria-selected="true"] { background: var(--bg); box-shadow: 0 1px 3px rgba(0,0,0,.12); font-weight: 600; }
:root[data-contrast="on"] .seg-lg [role="tab"][aria-selected="true"] { background: #000; color: #ffff00; }
@media (max-width: 560px) { .seg-lg { display: grid; grid-template-columns: 1fr 1fr; width: 100%; } }
.tabpanel { padding-top: 40px; }
.tp-grid { display: grid; gap: 32px 64px; }
@media (min-width: 900px) { .tp-grid { grid-template-columns: .8fr 1.2fr; } }
.tp-grid h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.15; margin-bottom: .5em; }
.tp-grid > div > p { color: var(--text-2); font-size: 1.05em; }
.mini-steps { list-style: none; counter-reset: ms; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.mini-steps li { counter-increment: ms; position: relative; padding: 18px 0 18px 44px; border-bottom: 1px solid var(--line); color: var(--text-2); }
.mini-steps li::before { content: counter(ms, decimal-leading-zero); position: absolute; left: 0; top: 18px; font-weight: 600; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.mini-steps strong { color: var(--text); font-weight: 600; }

/* Pojmy */
.terms { margin: 56px 0 0; display: grid; gap: 0 40px; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .terms { grid-template-columns: repeat(3, 1fr); border-top: 0; } }
.terms > div { padding: 24px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .terms > div { border-top: 1px solid var(--line); border-bottom: 0; } }
.terms dt { font-family: var(--font-display); font-size: 2.2em; font-weight: 700; letter-spacing: -.03em; line-height: 1; margin-bottom: 12px; }
.terms dd { margin: 0; color: var(--text-2); font-size: .97em; }
.terms dd strong { color: var(--text); font-weight: 600; display: block; margin-bottom: 4px; }

/* Filtre (chips) */
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 48px 0 24px; }
.chip { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit; font-size: .9em; cursor: pointer; }
.chip:hover { border-color: var(--text-2); }
.chip[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }
:root[data-contrast="on"] .chip[aria-pressed="true"] { background: #000; color: #ffff00; }

/* Prípady z praxe */
.cases { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.case { background: var(--bg-alt); border-radius: 22px; padding: 28px; }
.case[hidden] { display: none; }
.case-k { font-size: .82em; font-weight: 600; color: var(--accent-ink); margin-bottom: 10px; }
.case h3 { font-size: 1.35em; font-weight: 700; letter-spacing: -.02em; margin-bottom: .5em; }
.case-s { color: var(--text-2); }
.case-i { margin: 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: .97em; }
.case-i strong { font-weight: 600; }
:root[data-contrast="on"] .case { border: 2px solid #000; }

/* Funkcie */
.ftools { margin-top: 48px; }
.ftools input[type="search"] { max-width: 520px; border-radius: 999px; padding-left: 20px; background: var(--bg-alt); border-color: transparent; }
.ftools input[type="search"]:focus { background: var(--bg); border-color: var(--focus); }
.ftools .filter { margin: 16px 0 8px; }
.f-count { font-size: .85em; color: var(--text-2); margin: 0 0 12px; min-height: 1.4em; }
.ftable { width: 100%; border-collapse: collapse; }
.ftable thead th { text-align: left; font-size: .8em; font-weight: 600; color: var(--text-2); padding: 0 16px 12px 0; border-bottom: 1px solid var(--line); }
.ftable tbody th, .ftable td { text-align: left; vertical-align: top; padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line-soft); }
.ftable tbody th { font-weight: 600; width: 28%; }
.ftable td { color: var(--text-2); }
.ftable td:last-child { width: 18%; font-size: .85em; white-space: nowrap; }
.ftable tr[hidden] { display: none; }
@media (max-width: 700px) {
  .ftable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ftable tbody tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
  .ftable tbody th, .ftable td { display: block; width: auto !important; padding: 0; border: 0; }
  .ftable td:last-child { margin-top: 4px; color: var(--accent-ink); white-space: normal; }
}
.f-empty { color: var(--text-2); padding: 24px 0; }

/* Porovnanie */
.ctable-wrap { margin-top: 48px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ctable { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; background: var(--bg); border-radius: 22px; overflow: hidden; }
.ctable th, .ctable td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.ctable thead th { font-family: var(--font-display); font-size: 1.05em; font-weight: 700; letter-spacing: -.015em; padding-top: 24px; }
.ctable tbody th { font-weight: 600; width: 24%; }
.ctable td { color: var(--text-2); }
.ctable tbody tr:last-child th, .ctable tbody tr:last-child td { border-bottom: 0; }
.ctable .is-isaac { background: color-mix(in srgb, var(--accent) 8%, var(--bg)); color: var(--text); }
.ctable thead .is-isaac { color: var(--accent-ink); }

/* Zariadenia */
.devices { display: grid; gap: 48px 32px; margin-top: 64px; align-items: end; }
@media (min-width: 900px) { .devices { grid-template-columns: .75fr 1fr 1.5fr; } }
.dev { margin: 0; }
.dev-frame { background: var(--device); padding: 8px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.35); }
.dev-phone .dev-frame { border-radius: 34px; max-width: 220px; margin: 0 auto; }
.dev-phone .device-screen { aspect-ratio:19.5 / 9; border-radius: 27px; }
.dev-tablet .dev-frame { border-radius: 26px; padding: 10px; }
.dev-tablet .device-screen { border-radius: 16px; }
.dev-board .dev-frame { border-radius: 10px; padding: 12px; }
.dev-board .device-screen { aspect-ratio: 16 / 9; border-radius: 3px; }
.dev figcaption { margin-top: 20px; color: var(--text-2); font-size: .95em; text-align: center; }
.dev figcaption strong { display: block; color: var(--text); font-size: 1.15em; font-weight: 600; margin-bottom: 4px; }

/* Príspevok: položky */
.items { margin-top: 64px; max-width: 760px; }
.items h3 { font-size: 1.4em; font-weight: 700; letter-spacing: -.02em; margin-bottom: .5em; }
.itable { width: 100%; border-collapse: collapse; margin: 20px 0; }
.itable th, .itable td { text-align: left; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.itable thead th { font-size: .8em; color: var(--text-2); font-weight: 600; }
.itable tbody th { font-weight: 600; }
.itable td { color: var(--text-2); }

/* Školenia */
.trainings { list-style: none; padding: 0; margin: 56px 0 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.trainings li { background: var(--bg); border-radius: 22px; padding: 28px; }
.t-meta { font-size: .82em; font-weight: 600; color: var(--accent-ink); margin-bottom: 10px; }
.trainings h3 { font-size: 1.25em; font-weight: 700; letter-spacing: -.02em; margin-bottom: .45em; }
.trainings li p:last-child { color: var(--text-2); margin: 0; }
.booking { margin-top: 40px; }
.booking .muted { margin-top: 12px; font-size: .9em; }
.booking-panel { margin-top: 24px; background: var(--bg); border-radius: 22px; padding: 8px; }
.booking-panel iframe { display: block; width: 100%; height: min(760px, 85vh); border: 0; border-radius: 16px; background: var(--bg-alt); }
.booking-panel .fine { padding: 4px 16px 12px; }
:root[data-contrast="on"] .trainings li, :root[data-contrast="on"] .booking-panel { border: 2px solid #000; }

.f-more { margin-top: 20px; }
.ftable tr.is-folded { display: none; }

/* Slovenčina */
.h-xxl { font-size: clamp(2.4rem, 1.2rem + 5vw, 5.2rem); font-weight: 700; line-height: 1.02; letter-spacing: -.04em; margin-bottom: .4em; }
.sk { background: var(--bg); }
.sk .lead { max-width: 40em; }
.sk-demo { margin: 56px 0 0; padding: clamp(24px, 4vw, 44px); background: var(--bg-alt); border-radius: 28px; }
.sk-forms { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 28px; }
.sk-forms span { padding: 10px 18px; border-radius: 14px; background: var(--bg); font-size: 1.15em; font-weight: 500; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.sk-forms .sk-base { background: var(--accent); color: var(--on-accent); font-weight: 600; }
.sk-sentence { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; font-family: var(--font-display); font-size: clamp(1.5rem, 1rem + 2vw, 2.4rem); font-weight: 700; letter-spacing: -.025em; }
.sk-sentence span { padding: 4px 14px; border-radius: 12px; background: var(--bg); }
.sk-sentence .sk-pred { color: var(--accent-ink); background: color-mix(in srgb, var(--accent) 10%, var(--bg)); }
.sk-demo .fine { margin-top: 14px; }
.sk-list { list-style: none; padding: 0; margin: 72px 0 0; display: grid; gap: 0 48px; counter-reset: sk; }
@media (min-width: 740px) { .sk-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .sk-list { grid-template-columns: repeat(3, 1fr); } }
.sk-list li { counter-increment: sk; padding: 28px 0; border-top: 1px solid var(--line); }
.sk-list li::before { content: counter(sk, decimal-leading-zero); display: block; font-weight: 600; color: var(--accent-ink); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.sk-list h3 { font-size: 1.35em; font-weight: 700; letter-spacing: -.02em; margin-bottom: .4em; }
.sk-list p { color: var(--text-2); margin: 0; }
:root[data-contrast="on"] .sk-forms span, :root[data-contrast="on"] .sk-sentence span { border: 2px solid #000; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
