/* lukaspavelek.cz v2 — směr A „Ops Console“ (ECOA-4900, z mockupu /v2a/ ECOA-4897).
   Mobile-first. Fonty self-hosted OFL (Space Grotesk, Inter, JetBrains Mono), latin + latin-ext. */
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 500 700; font-display: swap; src: url(/assets/fonts/space-grotesk-normal-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 500 700; font-display: swap; src: url(/assets/fonts/space-grotesk-normal-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/inter-normal-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/inter-normal-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/assets/fonts/jetbrains-mono-normal-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/assets/fonts/jetbrains-mono-normal-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #0B0F14; --surf: #121821; --surf2: #18202b; --line: #243042;
  --text: #E6EDF3; --muted: #9AA7B6; --dim: #6f7d8e; --acc: #3DDC97; --amber: #F5B83D;
  --h: 'Space Grotesk', system-ui, sans-serif; --b: 'Inter', system-ui, sans-serif; --m: 'JetBrains Mono', ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--b); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--h); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; overflow-wrap: break-word; }
h1 { font-size: clamp(34px, 5vw, 60px); }
h1 em { font-style: normal; color: var(--acc); }
h2 { font-size: clamp(27px, 3.4vw, 42px); }
h3 { font-size: 21px; }
p, ul, ol { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
.mono { font-family: var(--m); font-size: 13px; letter-spacing: .02em; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 800px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--acc); color: #04140c; padding: 10px 14px; border-radius: 6px; }
/* [doplní Lukáš: …] — osobní fakta, která dodá board; na náhledu záměrně vidět */
.ph { background: #FFE14D; color: #111; padding: 0 4px; border-radius: 3px; font-family: var(--m); font-size: .85em; }

/* --- tlačítka a odkazy --- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; background: var(--acc); color: #04140c; font: 600 16px/1.2 var(--h); border: 1px solid var(--acc); border-radius: 8px; text-decoration: none; text-align: center; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(61, 220, 151, .25); }
.btn-sm { min-height: 44px; padding: 10px 16px; font-size: 15px; }
.btn-lg { min-height: 52px; padding: 14px 26px; font-size: 17px; }
.btn-full { width: 100%; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--acc); box-shadow: none; }
.link { display: inline-flex; align-items: center; min-height: 44px; color: var(--acc); text-decoration: none; font-weight: 500; }
.link:hover { text-decoration: underline; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; text-align: left; min-height: 44px; }
main a:not(.btn):not(.link):not(.door-link) { color: var(--acc); }

/* --- hlavička --- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(11, 15, 20, .9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 600 18px var(--h); text-decoration: none; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 12px var(--acc); flex: none; }
.menu-btn { display: inline-grid; place-items: center; width: 48px; height: 48px; background: none; border: 1px solid var(--line); border-radius: 8px; color: var(--text); cursor: pointer; position: relative; z-index: 31; }
.bars, .bars::before, .bars::after { display: block; width: 20px; height: 2px; background: currentColor; position: relative; transition: transform .2s; }
.bars::before, .bars::after { content: ''; position: absolute; left: 0; }
.bars::before { top: -6px; } .bars::after { top: 6px; }
.menu-open .bars { background: transparent; }
.menu-open .bars::before { transform: translateY(6px) rotate(45deg); }
.menu-open .bars::after { transform: translateY(-6px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 30; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 80px 24px 24px; background: var(--bg); font: 600 26px var(--h); visibility: hidden; opacity: 0; transition: opacity .2s, visibility .2s; }
.menu a:not(.btn) { padding: 12px 0; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line); }
.menu a[aria-current="page"]:not(.btn) { color: var(--acc); }
.menu .btn { margin-top: 20px; min-height: 56px; font-size: 18px; }
.menu-open .menu { visibility: visible; opacity: 1; }
.menu-open body { overflow: hidden; }

/* --- hero --- */
.hero { padding: 40px 0 56px; border-bottom: 1px solid var(--line); background: radial-gradient(800px 400px at 85% 10%, rgba(61, 220, 151, .08), transparent 70%); }
.hero-grid { display: grid; gap: 32px; align-items: center; }
.kicker { color: var(--acc); text-transform: uppercase; margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.kicker-warn { color: var(--amber); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.lead { font-size: 18px; color: var(--muted); max-width: 36em; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; }
.micro { color: var(--dim); margin: 14px 0 0; font-size: 12px; }
.sub { color: var(--muted); max-width: 46em; }

.feed-panel { background: var(--surf); border: 1px solid var(--line); border-radius: 14px; padding: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, .4); min-width: 0; }
.feed-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; color: var(--muted); padding: 2px 4px 14px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.feed-head b { color: var(--acc); font-weight: 600; font-size: 15px; }
.feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.feed li { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; padding: 12px 14px; background: var(--surf2); border: 1px solid var(--line); border-radius: 10px; }
.feed li:nth-child(n+4) { display: none; }
.feed li.new { animation: slide .5s ease-out; }
@keyframes slide { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
.role { grid-row: span 2; align-self: start; font: 600 12px var(--m); color: var(--bg); background: var(--text); padding: 3px 8px; border-radius: 5px; }
.t { font-weight: 500; }
.st { font: 12px var(--m); color: var(--muted); }
.st.ok { color: var(--acc); }
.st.wait { color: var(--amber); }
.st.run::before { content: '● '; color: var(--acc); }
.feed-note { color: #5d6b7c; margin: 12px 4px 0; font-size: 11px; }

/* --- ticker --- */
.ticker { background: var(--surf); border-bottom: 1px solid var(--line); padding: 22px 0 18px; }
.tick { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 0; font-size: 13px; color: var(--muted); }
.tick li { padding: 4px 16px; border-left: 1px solid var(--line); line-height: 1.35; }
.tick li:nth-child(odd) { border-left: 0; padding-left: 0; }
.tick b { display: block; font: 600 28px/1.1 var(--h); color: var(--acc); letter-spacing: -.01em; margin-bottom: 4px; }
.tick li:last-child b { color: var(--amber); }
.tick-note { color: #5d6b7c; font-size: 11px; margin: 14px 0 0; }

/* --- sekce --- */
.sec { padding: 64px 0; border-bottom: 1px solid var(--line); }
.sec-alt { background: var(--surf); }

/* --- dveře (služby) a terminálové karty --- */
.doors { display: grid; gap: 18px; margin-top: 32px; }
.term { background: var(--surf); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.term-main { border-color: rgba(61, 220, 151, .55); box-shadow: 0 0 0 1px rgba(61, 220, 151, .15), 0 20px 60px rgba(0, 0, 0, .3); }
.term-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: var(--surf2); border-bottom: 1px solid var(--line); color: var(--muted); }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2c3747; flex: none; }
.term-bar span { margin-left: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.term-main .term-bar i:first-child { background: var(--acc); }
.term-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.term-body p { color: var(--muted); }
.term-body h3 small { display: block; margin-top: 6px; font: 500 13px var(--m); color: var(--acc); letter-spacing: .02em; }
.door-num { color: var(--dim); }
.door-link { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-height: 44px; margin-top: auto; color: var(--acc); text-decoration: none; font-weight: 600; }
.door-link:hover { text-decoration: underline; }
.door-link .mono { color: var(--dim); font-weight: 400; }

/* --- org chart --- */
.org { margin-top: 32px; }
.org-root { display: flex; justify-content: center; }
.node-me { display: inline-flex; flex-direction: column; align-items: center; padding: 12px 32px; border: 1px solid var(--amber); border-radius: 10px; background: rgba(245, 184, 61, .08); }
.node-me b { font: 600 18px var(--h); }
.node-me small { color: var(--amber); font: 12px var(--m); }
.org-line { height: 28px; width: 1px; margin: 0 auto; background: var(--line); position: relative; }
.org-grid { list-style: none; margin: 0; padding: 22px 0 0; display: grid; grid-template-columns: 1fr; gap: 14px; }
.agent { display: flex; flex-direction: column; background: var(--surf); border: 1px solid var(--line); border-radius: 12px; padding: 18px 18px 0; transition: border-color .15s; }
.agent:hover { border-color: var(--acc); }
.a-role { color: var(--acc); font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.a-does { font-size: 15px; color: var(--text); flex: 1; }
.a-no { margin: 0 -18px; padding: 12px 18px 14px; border-top: 1px dashed rgba(245, 184, 61, .45); background: rgba(245, 184, 61, .07); border-radius: 0 0 12px 12px; font-size: 14px; color: #f3dca6; }
.a-no span { display: block; font-size: 11px; color: var(--amber); text-transform: uppercase; margin-bottom: 2px; }
.a-no span::before { content: '⛔ '; }
.org-foot { margin: 22px 0 0; padding: 16px 20px; border-left: 3px solid var(--amber); background: var(--surf); border-radius: 0 10px 10px 0; }

/* --- tail -f log --- */
.log { margin-top: 32px; background: #070a0e; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.log-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: var(--surf2); border-bottom: 1px solid var(--line); color: var(--muted); }
.log-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2c3747; }
.log-bar span { margin-left: 10px; }
.log-row { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 14px 16px; border-bottom: 1px solid #151c26; }
.log-row:last-child { border-bottom: 0; }
.log-row time, .log-row .when { color: var(--acc); font-size: 15px; padding-top: 2px; }
.log-row p { margin: 0; }
.log-row p + p { margin-top: .8em; }
.log-row h3 { font-size: 19px; margin: 0 0 .35em; }
.log-row.done { background: rgba(61, 220, 151, .06); }
.log-row.done > p:last-child::after { content: '  ✓ done'; font: 13px var(--m); color: var(--acc); }
.log-row.warn .when { color: var(--amber); }

/* --- incidenty --- */
.inc-grid { display: grid; gap: 18px; margin-top: 32px; }
.inc { background: var(--surf); border: 1px solid var(--line); border-left: 3px solid var(--amber); border-radius: 0 12px 12px 0; padding: 22px 20px; }
.inc-tag { color: var(--amber); text-transform: uppercase; font-size: 11px; margin-bottom: 8px; }
.inc h3 { font-size: 20px; }
.inc p:last-child { color: var(--muted); margin: 0; }
.rule { color: var(--text); background: linear-gradient(transparent 60%, rgba(61, 220, 151, .22) 60%); }
.inc-end { margin: 28px 0 0; font-size: 18px; max-width: 46em; }
/* /jak-to-bezi/: delší verze příběhů pod sebou (ECOA-5861) */
.inc-list { display: grid; gap: 18px; margin-top: 32px; }
.inc-long p { margin: 0; }
.inc.inc-long p + p { margin-top: .8em; }
.inc.inc-long p:last-child { color: var(--text); }
.inc-long strong { color: var(--text); font-weight: 600; }
.inc-long h3 { margin-bottom: .6em; }

/* --- whoami karta (místo fotky) --- */
.ja-grid { display: grid; gap: 28px; align-items: center; }
.whoami { background: #070a0e; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; min-width: 0; }
.whoami dl { margin: 0; padding: 18px 18px 20px; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font: 13px/1.5 var(--m); }
.whoami .cmd { grid-column: 1 / -1; color: var(--acc); }
.whoami .me { grid-column: 1 / -1; margin: 0 0 6px; color: var(--text); font-weight: 600; }
.whoami dt { color: var(--dim); }
.whoami dd { margin: 0; color: var(--text); min-width: 0; overflow-wrap: anywhere; }

/* --- obecné bloky podstránek --- */
.cards { display: grid; gap: 16px; margin-top: 28px; }
.card { background: var(--surf); border: 1px solid var(--line); border-radius: 12px; padding: 22px 20px; min-width: 0; }
.card h3 { font-size: 19px; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--muted); }
.card-main { border-color: rgba(61, 220, 151, .55); grid-column: 1 / -1; }
.card-main h3 { color: var(--acc); }
.callout { margin: 24px 0 0; padding: 16px 20px; border-left: 3px solid var(--acc); background: var(--surf); border-radius: 0 10px 10px 0; font-size: 18px; font-weight: 500; }
.split2 { display: grid; gap: 18px; margin-top: 28px; }
.list-box { background: var(--surf); border: 1px solid var(--line); border-radius: 12px; padding: 22px 20px; }
.list-box h3 { font-size: 15px; font-family: var(--m); text-transform: uppercase; letter-spacing: .04em; }
.list-box.ok h3 { color: var(--acc); }
.list-box.no { border-color: rgba(245, 184, 61, .4); }
.list-box.no h3 { color: var(--amber); }
.marks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.marks li { position: relative; padding-left: 28px; }
.marks li::before { position: absolute; left: 0; top: 0; font: 600 15px/1.6 var(--m); }
.ok .marks li::before, .checks li::before { content: '✓'; color: var(--acc); }
.no .marks li::before { content: '✕'; color: var(--amber); }
.checks { list-style: none; padding: 0; }
.checks li { position: relative; padding-left: 28px; margin-bottom: .7em; }
.checks li::before { position: absolute; left: 0; top: 0; font: 600 15px/1.6 var(--m); }
.steps { list-style: none; padding: 0; margin: 28px 0 0; counter-reset: step; display: grid; gap: 14px; }
.steps li { counter-increment: step; position: relative; padding: 18px 18px 18px 64px; background: var(--surf); border: 1px solid var(--line); border-radius: 12px; }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 18px; top: 18px; font: 600 15px/1.6 var(--m); color: var(--acc); }
.prose h2 { margin-top: 1.6em; font-size: clamp(23px, 2.6vw, 30px); }
.prose h3 { margin-top: 1.3em; font-size: 19px; }
.prose p, .prose li { color: #cdd6df; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 1.2em; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose th { background: var(--surf2); color: var(--text); }
.prose code { font: 13px var(--m); color: var(--acc); }
.note { font-size: 13px; color: var(--dim); }
.eyebrow { font: 13px var(--m); letter-spacing: .02em; text-transform: uppercase; color: var(--acc); margin-bottom: 18px; }
.section { padding: 56px 0; border-bottom: 1px solid var(--line); }
.cta-band { background: var(--surf); border: 1px solid var(--line); border-radius: 14px; padding: 28px 22px; }
.cta-band p { color: var(--muted); }
.cta-band .h-sm { margin-top: 0; }
.cta-band .note { margin: 16px 0 0; }

/* --- FAQ --- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; font: 600 17px/1.4 var(--h); padding: 16px 36px 16px 0; min-height: 44px; position: relative; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 4px; top: 12px; font: 400 22px var(--m); color: var(--acc); }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { color: var(--muted); margin: 0 0 18px; }

/* --- formuláře --- */
.cta-grid { display: grid; gap: 28px; align-items: start; }
.form { background: var(--surf); border: 1px solid var(--line); border-radius: 14px; padding: 22px 18px; display: grid; gap: 16px; min-width: 0; }
.form-head { color: var(--acc); margin: 0; }
.field { display: grid; gap: 6px; font-size: 14px; color: var(--muted); border: 0; padding: 0; margin: 0; min-width: 0; }
.field legend { margin-bottom: 8px; padding: 0; }
.field .opt { color: var(--dim); font-size: 13px; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field textarea, .field select { width: 100%; min-height: 48px; padding: 10px 14px; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 8px; font: 16px var(--b); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--acc); outline: none; box-shadow: 0 0 0 3px rgba(61, 220, 151, .15); }
.field ::placeholder { color: #5d6b7c; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips label { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); cursor: pointer; font-size: 15px; }
.chips label.on { border-color: var(--acc); color: var(--acc); background: rgba(61, 220, 151, .1); }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips label:focus-within { outline: 2px solid var(--acc); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); min-height: 44px; }
.check input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--acc); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { margin: 0; padding: 12px 14px; border: 1px solid rgba(245, 184, 61, .5); background: rgba(245, 184, 61, .08); color: var(--amber); border-radius: 8px; }
.alert[hidden] { display: none; }
.form .note { margin: 0; }

/* --- patička --- */
.foot { padding: 40px 0 104px; color: var(--muted); font-size: 14px; }
.foot-in { display: grid; gap: 24px; }
.foot nav { display: flex; flex-direction: column; }
.foot a, .foot .linklike { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--muted); font-size: 14px; }
.foot a:hover, .foot .linklike:hover { color: var(--text); }
.foot-brand { display: flex; align-items: center; gap: 10px; color: var(--text); font: 600 17px var(--h); margin: 0 0 6px; }
.foot-copy { color: #5d6b7c; margin: 28px 0 0; font-size: 12px; }

/* --- sticky CTA (mobil) --- */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(11, 15, 20, .94); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .25s; }
.show-sticky .sticky-cta { transform: none; }

/* --- cookie lišta --- */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 12px; }
.consent[hidden] { display: none; }
.consent-box { max-width: 760px; margin: 0 auto; background: var(--surf2); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 -10px 40px rgba(0, 0, 0, .5); padding: 18px; font-size: 14px; color: var(--muted); }
.consent-box a { color: var(--acc); }
.consent-title { font: 600 13px var(--m); text-transform: uppercase; color: var(--acc); margin-bottom: .4em; }
.consent-settings { display: grid; gap: 4px; margin-bottom: 12px; }
.consent-settings[hidden] { display: none; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.consent-actions .btn { min-height: 44px; padding: 9px 16px; font-size: 15px; }
.consent-actions [hidden] { display: none; }

@media (min-width: 640px) {
  .wrap { padding: 0 24px; }
  .org-grid { grid-template-columns: 1fr 1fr; }
  .feed li:nth-child(n+4) { display: grid; }
  .form { padding: 28px; }
  .form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .foot-in { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (min-width: 901px) {
  body { font-size: 17px; }
  .menu-btn { display: none; }
  .menu { position: static; flex-direction: row; align-items: center; gap: 22px; padding: 0; background: none; font: 400 15px var(--b); visibility: visible; opacity: 1; transition: none; }
  .menu a:not(.btn) { padding: 0; border: 0; color: var(--muted); display: inline-flex; align-items: center; min-height: 44px; }
  .menu a:not(.btn):hover { color: var(--text); }
  .menu .btn { margin: 0; min-height: 44px; font-size: 15px; }
  .hero { padding: 72px 0 88px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; }
  .hero-solo .hero-grid { grid-template-columns: minmax(0, 860px); }
  .lead { font-size: 19px; }
  .sec { padding: 96px 0; }
  .section { padding: 80px 0; }
  .tick { grid-template-columns: repeat(4, 1fr); gap: 0; font-size: 14px; }
  .tick li, .tick li:nth-child(odd) { padding: 4px 20px; border-left: 1px solid var(--line); }
  .tick li:first-child { border-left: 0; padding-left: 0; }
  .tick b { font-size: 34px; }
  .doors { grid-template-columns: 1fr 1fr; gap: 20px; }
  .term-body { padding: 28px; }
  .org-line::after { content: ''; position: absolute; left: 50%; bottom: 0; width: min(1150px, 92vw); height: 1px; transform: translateX(-50%); background: var(--line); }
  .org-grid { grid-template-columns: repeat(4, 1fr); }
  .log-row { grid-template-columns: 140px 1fr; gap: 20px; padding: 16px 22px; }
  .inc-grid { grid-template-columns: 1fr 1fr; }
  .inc { padding: 22px 24px; }
  .inc-end { font-size: 19px; }
  .ja-grid { grid-template-columns: 340px 1fr; gap: 56px; }
  .cta-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .split2 { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 44px 48px; }
  .foot { padding-bottom: 40px; }
  .sticky-cta { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.h-sm { font-size: 22px; margin-top: 1.4em; }
.nw { white-space: nowrap; }
.callout { margin-bottom: 24px; }
/* copy v2.2 (ECOA-5943): menu se 6 položkami — na užším desktopu krátké popisky, na mobilu vždy dlouhé */
.nav-s { display: none; }
@media (min-width: 901px) and (max-width: 1239px) {
  .menu { gap: 18px; }
  .menu .nav-l { display: none; }
  .menu .nav-s { display: inline; }
}
@media (min-width: 901px) {
  .cards-2 { grid-template-columns: 1fr 1fr; }
}
.log-row.ok .when { color: var(--acc); }
/* dlouhé H1 v2.2 (HP, /weby/): na mobilu max. 3 řádky (copy v2.2, pravidlo mobilního H1) */
@media (max-width: 900px) {
  .h1-long { font-size: clamp(20px, 6.1vw, 34px); }
  .h1-mid { font-size: clamp(24px, 7.6vw, 34px); }
}
@media (min-width: 901px) {
  .h1-long { font-size: clamp(40px, 3.7vw, 54px); }
}
