/* Landing page Onsito. Tokeny a komponenty: onsito.css */

/* Hlavicka */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--night) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--steel); }
.top-in { display: flex; align-items: center; gap: 2rem; min-height: 68px; }
.brand img { width: 132px; height: auto; }
.nav { display: flex; gap: 1.75rem; margin-left: auto; }
.nav a { text-decoration: none; color: var(--mist); font-size: 0.9375rem; }
.nav a:hover { color: var(--paper); }
.top-act { display: flex; align-items: center; gap: 1rem; }
.lang { display: flex; }
.lang a { min-width: 36px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; font: 500 0.75rem var(--f-mono); letter-spacing: 0.06em; color: var(--mist); text-decoration: none; }
.lang a:hover, .lang a[aria-current] { color: var(--paper); }
.lang a[aria-current] { text-decoration: underline; text-decoration-color: var(--signal); text-underline-offset: 6px; }
.btn-sm { min-height: 44px; padding: 0 1.1em; }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.scene-cap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
@media (max-width: 820px) {
  .top-in { flex-wrap: wrap; gap: 0 1rem; justify-content: space-between; }
  .nav { order: 3; width: 100%; margin: 0; gap: 1.25rem; overflow-x: auto; white-space: nowrap; padding: 0 0 10px; scrollbar-width: none; -ms-overflow-style: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { min-height: 32px; display: inline-flex; align-items: center; }
  /* Prepinac jazyka na uzkem displeji do radku s navigaci (nav zabere zbytek radku a scrolluje) */
  .top-act { display: contents; }
  .lang { order: 3; margin-left: -8px; }
  .nav { order: 4; width: auto; flex: 1 1 60%; min-width: 0; }
}

/* Hero */
.hero { padding: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) 0 var(--space); }
.hero h1 { margin: 0.4em 0 0.4em; }
.cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.75rem 0 clamp(2rem, 1.5rem + 2vw, 3rem); }

/* Scena v hero */
.scene { margin: 0; }
.scene-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) 96px minmax(0, 1fr); background: var(--deep); border-radius: var(--r); overflow: hidden; }
.cam, .cloud { padding: 14px; min-width: 0; }
.cam-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 12px; min-height: 26px; }
.cam svg { width: 100%; height: auto; border-radius: var(--r); }
.zone rect { fill: none; stroke: #3A6168; stroke-width: 2; stroke-dasharray: 6 6; }
.zone text { fill: var(--mist); font: 500 13px var(--f-mono); letter-spacing: 0.04em; }
.part { fill: #C6D3CF; }
.link { fill: #2E555C; } .link2 { fill: #3A6870; }
.joint { fill: var(--night); stroke: #5B868D; stroke-width: 3; }
.base { fill: #23464C; stroke: #5B868D; stroke-width: 3; }
.grip { fill: none; stroke: #8FB1B4; stroke-width: 6; stroke-linejoin: round; }
.bbox path { fill: none; stroke: var(--signal); stroke-width: 3; }
.bbox text { fill: var(--signal); font: 500 13px var(--f-mono); }
.cam-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.cam-stats div { background: var(--night); border-radius: var(--r); padding: 10px 12px; display: grid; gap: 6px; }
.cam-stats b { font-size: clamp(1.1rem, 0.9rem + 0.8vw, 1.6rem); font-weight: 500; }

.fence { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: var(--night); padding: 14px 6px; text-align: center; }
.fence .label { font-size: 0.6875rem; }
.fence-line { position: relative; flex: 1; width: 0; border-left: 2px dashed var(--mist); min-height: 120px; }
.fence-line i { position: absolute; left: -6px; top: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--signal); opacity: 0; }
.fence-line i.go { animation: cross-x .7s ease-in-out; }
@keyframes cross-x { 0% { opacity: 0; transform: translateX(-60px); } 20% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; transform: translateX(60px); } }
.fence-note { display: grid; gap: 4px; font: 500 0.6875rem/1.3 var(--f-mono); color: var(--mist); text-transform: uppercase; letter-spacing: 0.06em; }
.fence-note span:last-child { color: var(--signal); }

.shift { background: var(--night); border-radius: var(--r); padding: 12px; }
.shift-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 10px; }
.shift-row .num { color: var(--mist); white-space: nowrap; } .shift-row b { color: var(--paper); font-weight: 500; font-size: 1.25rem; }
.bar { height: 6px; background: var(--steel); border-radius: 3px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 96%; background: var(--signal); transition: width .4s; }
.events { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; align-content: start; min-height: 290px; }
.events li { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: baseline; background: var(--night); border-radius: var(--r); padding: 9px 12px; font-size: 0.875rem; }
.events li.new { animation: ev-in .35s ease-out; }
.events time { font: 400 0.75rem var(--f-mono); color: var(--mist); }
.events li .status { justify-self: start; }
.events li span.txt { grid-column: 1 / -1; color: var(--paper); }
@keyframes ev-in { from { opacity: 0; transform: translateY(-6px); } }
.scene figcaption { margin-top: 14px; text-transform: none; letter-spacing: 0.02em; font-weight: 400; }

@media (max-width: 900px) {
  .scene-grid { grid-template-columns: minmax(0, 1fr); }
  .fence { flex-direction: row; padding: 10px 14px; }
  .fence-line { flex: 1; width: auto; min-height: 0; height: 0; border-left: 0; border-top: 2px dashed var(--mist); }
  .fence-line i { left: 50%; top: -6px; }
  .fence-line i.go { animation-name: cross-y; }
  .fence-note { text-align: right; }
}
@keyframes cross-y { 0% { opacity: 0; transform: translateY(-40px); } 20%, 80% { opacity: 1; } 100% { opacity: 0; transform: translateY(40px); } }
@media (max-width: 520px) { .cam-stats { gap: 6px; } .cam-stats div { padding: 8px; } .cam-bar .label { font-size: 0.625rem; } }
@media (prefers-reduced-motion: reduce) { .events li.new, .fence-line i.go { animation: none; } }

/* Sekce */
.sec { padding: var(--space) 0; border-top: 1px solid var(--steel); }
.sec h2 { margin: 0.6em 0 1.2em; max-width: 18em; }
.list { margin: 1rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.7rem; color: var(--mist); }
.list li { padding-left: 1.1rem; position: relative; }
.list li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 6px; height: 6px; background: var(--steel); }

.sec .lead { margin: -0.4em 0 2.5rem; }
.viz { margin: 0; }
.viz figcaption { margin-top: 12px; text-transform: none; letter-spacing: 0.02em; font-weight: 400; }
.more { margin-top: 1.5rem; }
.more a { color: var(--signal); }
.signal { color: var(--signal); }
.card.viz { padding: clamp(1rem, 0.8rem + 1vw, 1.5rem); }
.viz-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1rem; align-items: baseline; margin-bottom: 1rem; }
.viz-head b { font-weight: 500; }

/* V2 kniha smeny proti mereni */
.book { background: var(--deep); border-radius: var(--r); padding: clamp(1rem, 0.6rem + 2vw, 2rem); display: grid; gap: 1.6rem; }
.book-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 0.6rem; }
.book-head b { font-weight: 500; font-size: 1.05rem; }
.track { position: relative; height: 36px; background: color-mix(in srgb, var(--st-run) 22%, var(--night)); border-radius: var(--r); }
.track.paper { background: var(--night); border: 1px dashed var(--steel); }
.seg { position: absolute; top: 0; bottom: 0; border-radius: 2px; }
.seg.wait { background: var(--st-wait); } .seg.stop { background: var(--st-stop); }
.seg.note { background: #2A4A50; }
.seg.note em { position: absolute; left: 0; bottom: calc(100% + 6px); white-space: nowrap; font: 400 0.8125rem var(--f-mono); color: var(--mist); font-style: normal; }
.seg.note + .seg.note em { bottom: auto; top: calc(100% + 6px); }
.book .book-row:first-child { padding-bottom: 1.4rem; }
.seg.missed { outline: 2px dashed var(--paper); outline-offset: 2px; }
.seg.tick { min-width: 3px; }
.book .track.paper { margin-top: 1.6rem; }
.axis { display: flex; justify-content: space-between; margin-top: 6px; font: 400 0.75rem var(--f-mono); color: var(--mist); }
.book-sum { display: flex; gap: 1.25rem; align-items: center; border-top: 1px solid var(--steel); padding-top: 1.25rem; }
.big { font-size: clamp(2.25rem, 1.6rem + 2.5vw, 3.5rem); font-weight: 500; color: var(--signal); line-height: 1; }
.book-sum p { color: var(--mist); max-width: 40em; }
.js .book .tick { opacity: 0; transform: scaleY(0.2); transition: opacity .3s, transform .3s; }
.js .book.on .tick { opacity: 1; transform: none; }
@media (max-width: 640px) {
  .seg.note em { display: none; }
  .book .book-row:first-child { padding-bottom: 0; }
  .book .track.paper { margin-top: 0; }
  .axis span:nth-child(2n) { visibility: hidden; }
  .book-sum { flex-direction: column; align-items: flex-start; }
}

/* V3 prehled smeny */
.gantt { background: var(--deep); border-radius: var(--r); padding: clamp(1rem, 0.6rem + 2vw, 2rem); }
.gantt-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center; margin-bottom: 1.25rem; }
.gantt-head > div:first-child { display: grid; gap: 4px; }
.gantt-head b { font: 500 1.05rem var(--f-body); }
.legend { display: flex; flex-wrap: wrap; gap: 8px; }
.gantt-body { display: grid; gap: 10px; }
.g-row { display: grid; grid-template-columns: 9.5rem 1fr 15rem; gap: 14px; align-items: center; }
.g-name { font-weight: 600; font-size: 0.9375rem; }
.g-bar { position: relative; height: 30px; background: color-mix(in srgb, var(--st-run) 26%, var(--night)); border-radius: var(--r); overflow: hidden; }
.g-bar .seg { cursor: pointer; border: 0; padding: 0; }
.g-bar .seg:focus-visible { outline: 2px solid var(--paper); outline-offset: -2px; }
.g-bar .rest { position: absolute; top: 0; bottom: 0; right: 0; background: repeating-linear-gradient(135deg, var(--night) 0 6px, #142B30 6px 12px); }
.g-now { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--paper); }
.g-nums { display: flex; justify-content: space-between; gap: 10px; white-space: nowrap; font: 400 0.8125rem var(--f-mono); color: var(--mist); }
.g-nums b { color: var(--paper); font-weight: 500; }
.g-axis { display: grid; grid-template-columns: 9.5rem 1fr 15rem; gap: 14px; }
.g-axis div { display: flex; justify-content: space-between; font: 400 0.75rem var(--f-mono); color: var(--mist); }
.gantt-tip { margin-top: 1rem; min-height: 2.6em; padding: 10px 12px; background: var(--night); border-radius: var(--r); font: 400 0.875rem var(--f-mono); color: var(--mist); }
.gantt-tip b { color: var(--paper); font-weight: 500; }
.g-more { display: none; }
@media (max-width: 760px) {
  .g-row { grid-template-columns: 1fr; gap: 6px; background: var(--night); padding: 10px; border-radius: var(--r); }
  .g-axis { display: none; }
  .g-row.extra { display: none; }
  .gantt.all .g-row.extra { display: grid; }
  .g-more { display: inline-flex; margin-top: 10px; }
  .gantt.all .g-more { display: none; }
}

.pair { display: grid; grid-template-columns: 1.2fr 1fr; gap: 12px; margin-top: 12px; }
@media (max-width: 900px) { .pair { grid-template-columns: 1fr; } }

/* V4 plan proti skutecnosti */
.plan svg { width: 100%; height: auto; }
.ax line { stroke: var(--steel); stroke-width: 1.5; }
.ax text, .plan-label, .note text { fill: var(--mist); font: 400 11px var(--f-mono); }
.ax text { text-anchor: middle; }
.plan-line { stroke: var(--mist); stroke-width: 2; stroke-dasharray: 6 6; }
.real-line { fill: none; stroke: var(--paper); stroke-width: 3; stroke-linejoin: round; }
.note line { stroke: var(--st-wait); stroke-width: 1.5; }
.note text { fill: var(--st-wait); }
.r-run { fill: color-mix(in srgb, var(--st-run) 35%, var(--night)); } .r-wait { fill: var(--st-wait); } .r-stop { fill: var(--st-stop); }
.js .plan .real-line { stroke-dasharray: 900; stroke-dashoffset: 900; transition: stroke-dashoffset 1.6s ease-out; }
.js .plan.on .real-line { stroke-dashoffset: 0; }

/* V5 ranni report */
.mail { display: grid; gap: 1rem; align-content: start; }
.mail-head { display: grid; gap: 6px; padding-bottom: 0.9rem; border-bottom: 1px solid var(--steel); font-size: 0.9375rem; }
.mail-head .label { display: inline-block; min-width: 5.5em; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tiles div { background: var(--night); border-radius: var(--r); padding: 10px; display: grid; gap: 6px; }
.tiles b { font-size: 1.15rem; font-weight: 500; }
.top3 { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 0.9375rem; }
.top3 li { display: flex; justify-content: space-between; gap: 1rem; padding: 6px 0; border-bottom: 1px solid var(--steel); }
.mail-sum { color: var(--mist); }
.mail .btn { justify-self: start; pointer-events: none; }
.mail-note { color: var(--signal); }
@media (max-width: 420px) { .tiles { grid-template-columns: 1fr; } }

/* V6 architektura */
.arch { background: var(--deep); border-radius: var(--r); padding: clamp(1rem, 0.6rem + 2vw, 2rem); }
.arch svg { width: 100%; height: auto; }
.arch-narrow { display: none; }
@media (max-width: 760px) { .arch-wide { display: none; } .arch-narrow { display: block; max-width: 420px; margin: 0 auto; } }
.arch text { fill: var(--paper); font: 500 15px var(--f-body); }
.arch .t { fill: var(--mist); font: 400 11px var(--f-mono); }
.arch .tb { fill: var(--paper); font: 600 17px var(--f-display); }
.arch .zt { fill: var(--mist); font: 500 12px var(--f-mono); letter-spacing: 0.06em; }
.arch .cams rect, .arch .node rect { fill: var(--night); stroke: #5B868D; stroke-width: 2; }
.arch .cams circle { fill: none; stroke: #8FB1B4; stroke-width: 3; }
.arch .cams text { fill: var(--mist); font: 400 11px var(--f-mono); }
.arch .video path { fill: none; stroke: #5B868D; stroke-width: 7; stroke-linecap: round; opacity: .55; }
.arch .box rect { fill: var(--night); stroke: var(--steel); stroke-width: 2; }
.arch .box .corner { fill: none; stroke: var(--paper); stroke-width: 4; }
.arch .inst rect { fill: var(--night); stroke: var(--signal); stroke-width: 2; }
.arch .loop { fill: none; stroke: var(--mist); stroke-width: 2; stroke-dasharray: 3 6; }
.arch .thin { fill: none; stroke: var(--mist); stroke-width: 2; }
.arch .green { fill: none; stroke: var(--signal); stroke-width: 2.5; }
.arch .fence-l { stroke: var(--mist); stroke-width: 2; stroke-dasharray: 8 8; }
.arch .lock rect { fill: var(--signal); } .arch .lock path { fill: none; stroke: var(--signal); stroke-width: 3; }
.arch .dot-g { fill: var(--signal); }
.payload { margin-top: 1.25rem; background: var(--night); border-radius: var(--r); padding: 14px 16px; display: grid; gap: 8px; }
.payload pre, .see-data pre { margin: 0; white-space: pre-wrap; word-break: break-word; color: var(--signal); font-size: 0.875rem; }
.payload p:last-child { color: var(--mist); }

/* V7 co kamera vidi a co odejde */
.see { max-width: 980px; }
.see-stage { position: relative; border-radius: var(--r); overflow: hidden; background: var(--night); --cut: 50%; }
.see-shot { width: 100%; height: auto; }
.person-box { fill: none; stroke: var(--mist); stroke-width: 2; stroke-dasharray: 5 5; }
.person-label { fill: var(--mist); font: 500 12px var(--f-mono); }
.bbox-s path { fill: none; stroke: var(--signal); stroke-width: 3; }
.bbox-s text { fill: var(--signal); font: 500 13px var(--f-mono); }
.see-data { position: absolute; inset: 0; background: var(--deep); padding: 1rem 1rem 1rem calc(var(--cut) + 1rem); display: grid; align-content: center; gap: 10px; clip-path: inset(0 0 0 var(--cut)); }
.see-data .label { margin-top: 6px; }
.gone { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.gone li { text-decoration: line-through; color: var(--mist); font: 400 0.875rem var(--f-mono); background: var(--night); padding: 4px 8px; border-radius: var(--r); }
.see-handle { position: absolute; top: 0; bottom: 0; left: var(--cut); width: 2px; background: var(--paper); }
.see-handle::after { content: ""; position: absolute; top: 50%; left: -9px; width: 20px; height: 20px; border-radius: 50%; background: var(--signal); transform: translateY(-50%); }
.see-range { display: grid; gap: 8px; margin-top: 12px; }
.see-range input { width: 100%; min-height: 44px; accent-color: var(--signal); }
@media (max-width: 640px) {
  /* Na mobilu bez posuvniku: snimek a pod nim, co odejde */
  .see-data { position: static; clip-path: none; padding: 1rem; }
  .see-handle, .see-range { display: none; }
  .see-data pre { font-size: 0.8125rem; }
}
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 2rem; }
.roles > div { background: var(--deep); border-radius: var(--r); padding: clamp(1rem, 0.8rem + 1vw, 1.5rem); }
@media (max-width: 900px) { .roles { grid-template-columns: 1fr; } }

/* V8 srovnani */
.cmp table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.cmp th, .cmp td { padding: 14px 12px; border-bottom: 1px solid var(--steel); text-align: center; }
.cmp tbody th { text-align: left; font-weight: 400; color: #C9D5D2; }
.cmp thead th { font: 500 var(--t-label)/1.3 var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--mist); vertical-align: bottom; }
.cmp .c-onsito { background: var(--deep); }
.cmp thead .c-onsito { color: var(--signal); }
.pt { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--steel); vertical-align: middle; }
.pt.full { background: var(--signal); border-color: var(--signal); }
.pt.half { border-color: var(--signal); background: linear-gradient(90deg, var(--signal) 50%, transparent 50%); }
.cmp-note { margin-top: 1rem; color: var(--mist); }
.cmp-switch { display: none; gap: 8px; margin-bottom: 1rem; }
.cmp-switch button { min-height: 44px; padding: 0 14px; border-radius: var(--r); border: 1px solid var(--steel); background: none; color: var(--mist); font: 500 0.875rem var(--f-body); cursor: pointer; }
.cmp-switch button[aria-pressed="true"] { border-color: var(--signal); color: var(--paper); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 640px) {
  .cmp-switch { display: flex; }
  .cmp[data-show="cidlo"] .c-plc, .cmp[data-show="plc"] .c-cidlo { display: none; }
  .cmp th, .cmp td { padding: 12px 8px; }
}

/* V9 pilot */
/* Jak probiha pilot: kroky na jedne ose */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; position: relative; }
.flow::before { content: ""; position: absolute; left: 20px; right: 20px; top: 19px; border-top: 2px dashed var(--steel); }
.step { position: relative; display: grid; grid-template-rows: auto 1fr; gap: 14px; }
.step-n { position: relative; z-index: 1; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--night); border: 2px solid var(--steel); color: var(--mist); font-size: 0.8125rem; font-weight: 500; }
.step.on .step-n { background: var(--signal); border-color: var(--signal); color: var(--night); }
.step-card { background: var(--deep); border-radius: var(--r); padding: 18px 18px 16px; display: grid; gap: 10px; height: 100%; align-content: start; }
.step-card h3 { font-size: 1.125rem; margin-bottom: 2px; }
.step-card .who, .step-card .out { display: grid; gap: 3px; color: #C9D5D2; font-size: 0.9375rem; line-height: 1.4; }
.step-card .out { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--steel); color: var(--paper); }
.step-card .out .label { color: var(--signal); }
.flow-phase { display: grid; grid-template-columns: 3fr 2fr; gap: 14px; margin-top: 14px; font: 500 var(--t-label) var(--f-mono); letter-spacing: 0.04em; text-transform: uppercase; }
.flow-phase span { padding: 8px 12px; border-radius: var(--r); background: color-mix(in srgb, var(--mist) 10%, transparent); color: var(--mist); }
.flow-phase span:last-child { background: color-mix(in srgb, var(--signal) 14%, transparent); color: var(--signal); }
@media (max-width: 1000px) {
  .flow { grid-template-columns: 1fr; gap: 12px; }
  .flow::before { left: 19px; right: auto; top: 20px; bottom: 20px; border-top: 0; border-left: 2px dashed var(--steel); }
  .step { grid-template-columns: 40px 1fr; gap: 14px; }
  .flow-phase { grid-template-columns: 1fr 1fr; }
}

/* Zakladatel a vyzva */
.closing { margin-top: 3rem; display: grid; grid-template-columns: 170px minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(1.5rem, 1rem + 2vw, 3rem); align-items: center; background: var(--deep); border-radius: var(--r); padding: clamp(1.5rem, 1rem + 2.5vw, 3rem); }
.founder-photo { margin: 0; position: relative; width: 170px; height: 170px; }
.founder-photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.founder-photo::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--signal); opacity: .55; }
.founder-text h3 { margin: 0.4rem 0 0.8rem; }
.founder-text blockquote { margin: 0 0 0.8rem; font: 600 1.25rem/1.35 var(--f-display); letter-spacing: -0.015em; color: var(--paper); }
.founder-text p:last-child { color: var(--mist); font-size: 0.9375rem; }
.closing-cta { display: grid; gap: 0.8rem; justify-items: start; padding-left: clamp(1rem, 0.5rem + 2vw, 2.5rem); border-left: 1px solid var(--steel); }
.closing-cta p { color: var(--mist); }
@media (max-width: 1000px) {
  .closing { grid-template-columns: 120px 1fr; }
  .founder-photo { width: 120px; height: 120px; }
  .closing-cta { grid-column: 1 / -1; padding-left: 0; border-left: 0; border-top: 1px solid var(--steel); padding-top: 1.25rem; }
}
@media (max-width: 560px) { .closing { grid-template-columns: 1fr; } }

.foot { border-top: 1px solid var(--steel); padding: 2.5rem 0 3rem; }
.foot-in { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; color: var(--mist); font-size: 0.875rem; }

/* Otazky */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
.faq details:nth-child(2) { border-top: 1px solid var(--steel); }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } .faq details:nth-child(2) { border-top: 0; } }
.faq details { border-bottom: 1px solid var(--steel); }
.faq details:first-child { border-top: 1px solid var(--steel); }
.faq summary { list-style: none; cursor: pointer; padding: 1.2rem 2.5rem 1.2rem 0; position: relative; font: 600 1.0625rem/1.4 var(--f-body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.25rem; top: 1.05rem; font: 400 1.4rem/1 var(--f-mono); color: var(--signal); }
.faq details[open] summary::after { content: "-"; }
.faq details p { color: var(--mist); padding: 0 2.5rem 1.4rem 0; max-width: 44em; }

/* Podstranky (content/*.md -> scripts/build-pages.py) */
.doc { padding: clamp(3rem, 2rem + 4vw, 6rem) 0 var(--space); }
.doc-in { max-width: 46rem; }
.doc-in > .label a { color: var(--mist); text-decoration: none; }
.doc-in > .label a:hover { color: var(--paper); }
.doc h1 { font-size: var(--t-h2); margin: 0.6em 0 1em; }
.doc h2 { font-size: 1.5rem; margin: 2.4em 0 0.7em; padding-top: 1.2em; border-top: 1px solid var(--steel); }
.doc h3 { margin: 1.8em 0 0.5em; }
.doc p, .doc li { color: #C9D5D2; }
.doc p + p { margin-top: 1em; }
.doc ul, .doc ol { padding-left: 1.2em; display: grid; gap: 0.5em; margin: 1em 0; }
.doc a { color: var(--signal); }
.doc strong { color: var(--paper); }
.doc code { font: 0.9em var(--f-mono); background: var(--deep); padding: 0.1em 0.35em; border-radius: var(--r); }
.doc .table { overflow-x: auto; margin: 1em 0; scrollbar-width: none; -ms-overflow-style: none; }
.doc .table::-webkit-scrollbar { display: none; }
.doc table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 0.55em 0.75em 0.55em 0; border-bottom: 1px solid var(--steel); color: #C9D5D2; }
.doc th { color: var(--paper); font-weight: 600; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.foot-nav a { color: var(--mist); text-decoration: none; }
.foot-nav a:hover, .foot-nav a[aria-current] { color: var(--paper); }
.doc mark.todo { background: none; color: var(--st-stop); font: 500 0.85em var(--f-mono); }
.bbox.stop path { stroke: var(--st-stop); } .bbox.stop text { fill: var(--st-stop); }
.bbox.wait path { stroke: var(--st-wait); } .bbox.wait text { fill: var(--st-wait); }
@media (max-width: 600px) {
  .zone text { font-size: 15px; }
  .bbox text, .person-label { font-size: 16px; }
}
@media (max-width: 600px) { .cam svg { aspect-ratio: 580 / 430; } }

