/* "Jak s námi spolupráce probíhá": the four steps from the first call to the finished app, one under another
   on a rail that fills as the visitor scrolls (process.js). Ours, added 24. 11. 2026 in the page's own language:
   its ink, grey, line, green and lime (base.css), its heading sizes (proof.css). */
.hw-section { border-top:1px solid var(--line); }
.hw-layout { display:grid; grid-template-columns:36% 1fr; gap:7%; align-items:start; }
.hw-heading { position:sticky; top:112px; }
.hw-heading h2 { font-size:clamp(38px,3.8vw,54px); line-height:1.06; font-weight:650; letter-spacing:-.055em; text-wrap:balance; }
.hw-heading > p { color:var(--muted); font-size:18px; line-height:1.6; margin-top:22px; max-width:400px; }

.hw-steps { --hw-p:0; position:relative; list-style:none; margin:0; padding:0; }
.hw-steps::before,.hw-steps::after { content:""; position:absolute; left:23px; top:24px; bottom:60px; width:2px; border-radius:2px; }
.hw-steps::before { background:var(--line); }
.hw-steps::after { background:var(--green); transform-origin:top; transform:scaleY(var(--hw-p)); }

.hw-step { position:relative; display:grid; grid-template-columns:48px 1fr; column-gap:28px; padding-bottom:56px; }
.hw-num { position:relative; z-index:1; display:grid; place-items:center; width:48px; height:48px; border-radius:50%; background:#fff; border:2px solid var(--line); color:var(--muted); font-size:14px; font-weight:650; letter-spacing:.02em; transition:background .35s,border-color .35s,color .35s; }
.hw-step.is-on .hw-num { background:var(--lime); border-color:var(--lime); color:var(--ink); }
.hw-body { padding-top:7px; }
.hw-body h3 { font-size:28px; line-height:1.15; font-weight:630; letter-spacing:-.04em; }
.hw-when { margin-top:8px !important; font-size:12px; font-weight:650; letter-spacing:.1em; text-transform:uppercase; color:#5d7900; }
.hw-text { margin-top:14px !important; font-size:18px; line-height:1.6; color:var(--ink); max-width:560px; }
/* What the client has after the step: the line the eye should land on. */
.hw-gain { display:flex; align-items:flex-start; gap:12px; margin-top:18px !important; padding-top:16px; border-top:1px solid var(--line); font-size:18px; line-height:1.45; font-weight:600; letter-spacing:-.015em; color:var(--ink); max-width:560px; }
.hw-gain svg { flex:none; margin-top:4px; color:#5d7900; }

.hw-step--done { padding-bottom:0; }
.hw-step--done .hw-num { border-color:var(--ink); background:var(--ink); color:#fff; }
.hw-done { background:var(--lime); border-radius:14px; padding:30px 32px 32px; }
.hw-done h3 { font-size:clamp(28px,2.6vw,36px); line-height:1.1; font-weight:650; letter-spacing:-.05em; }
.hw-done p { margin-top:12px !important; font-size:17px; line-height:1.55; max-width:460px; }
.hw-done .hw-cta { display:inline-flex; align-items:center; gap:14px; margin-top:24px; background:var(--ink); color:#fff !important; border-radius:999px; padding:15px 22px; font-size:15px; font-weight:600; letter-spacing:-.02em; transition:background .18s,transform .18s; }
.hw-done .hw-cta:hover { background:#34402e; transform:translateY(-1px); }

/* The page's earlier three-step version stays in the document, hidden (motion-story.js still looks for it). */
.cos-story .cs-process[hidden] { display:none; }

@media (max-width:860px) {
  .hw-layout { grid-template-columns:1fr; gap:44px; }
  .hw-heading { position:static; }
  .hw-heading h2 { font-size:42px; }
}
@media (max-width:520px) {
  .hw-heading h2 { font-size:36px; }
  .hw-heading > p { font-size:16px; }
  .hw-steps::before,.hw-steps::after { left:19px; top:20px; }
  .hw-step { grid-template-columns:40px 1fr; column-gap:18px; padding-bottom:44px; }
  .hw-num { width:40px; height:40px; font-size:13px; }
  .hw-body { padding-top:5px; }
  .hw-body h3 { font-size:23px; }
  .hw-text,.hw-gain { font-size:16px; }
  .hw-done { padding:24px 22px 26px; }
  .hw-done .hw-cta { width:100%; justify-content:space-between; }
}
@media (prefers-reduced-motion:reduce) {
  .hw-num { transition:none; }
}

/* "Jak je to možné?": the comparison's own answer, in the same section right under the table (24. 11. 2026).
   One sentence and a small flow: senior developers + Chief of Speed system -> quality code (two things working together, Marian),
   with a dot travelling along the link to the result. */
.hp-why { text-align:center; }
/* Table, guarantee band, then the explanation: the band sits tight between them. */
#srovnani { padding-bottom:72px; }
.hp-why-section { padding-top:88px; }
.hp-why h3 { font-size:clamp(30px,3vw,42px); line-height:1.08; font-weight:650; letter-spacing:-.05em; }
.hp-lead { max-width:720px; margin:20px auto 0 !important; font-size:20px; line-height:1.55; color:var(--ink); text-wrap:pretty; }
/* The visual: who builds (two rows, people + system) on the left, what comes out (a real delivered app) on the
   right. When it scrolls into view (process.js adds .is-in) the app is drawn from a grey skeleton, top to bottom. */
.hp-build { display:grid; grid-template-columns:minmax(260px,340px) 56px minmax(0,1fr); align-items:center; max-width:1040px; margin:56px auto 0; text-align:left; }
.hp-crew { display:flex; flex-direction:column; align-items:stretch; }
.hp-row { display:flex; align-items:center; gap:14px; min-height:76px; padding:14px 18px; border:1px solid var(--line); border-radius:14px; background:#fff; transition:border-color .4s; }
.hp-row strong { font-size:18px; font-weight:630; letter-spacing:-.03em; line-height:1.2; }
/* The developers' row has the label alone: centred in its box. */
.hp-row:not(.hp-row--system) { justify-content:center; text-align:center; }
.hp-row em { margin-left:auto; font-style:normal; font-size:11px; font-weight:650; letter-spacing:.08em; text-transform:uppercase; background:var(--lime); color:var(--ink); border-radius:999px; padding:5px 9px; white-space:nowrap; }
.hp-mascot { flex:none; display:grid; place-items:center; width:44px; height:44px; border-radius:50%; background:var(--ink); }
.hp-mascot img { width:30px; height:30px; }
.hp-plus { align-self:center; padding:8px 0; font-size:26px; font-weight:500; line-height:1; color:var(--ink); }
.hp-build.is-in .hp-row { border-color:var(--ink); }
.hp-join { height:2px; background:var(--line); position:relative; overflow:hidden; }
.hp-join::after { content:""; position:absolute; inset:0; background:var(--green); transform:scaleX(0); transform-origin:left; transition:transform .7s ease-out .2s; }
.hp-build.is-in .hp-join::after { transform:scaleX(1); }
.hp-app { margin:0; border:1px solid var(--line); border-radius:14px; background:#fff; overflow:hidden; box-shadow:0 18px 50px -28px rgba(21,24,18,.35); }
.hp-bar { display:flex; gap:6px; padding:11px 14px; border-bottom:1px solid var(--line); }
.hp-bar i { width:9px; height:9px; border-radius:50%; background:var(--line); }
.hp-shot { position:relative; aspect-ratio:16 / 9; overflow:hidden; background:
  linear-gradient(#eceee8,#eceee8) 9% 14% / 30% 9% no-repeat,
  linear-gradient(#eceee8,#eceee8) 9% 46% / 38% 30% no-repeat,
  linear-gradient(#eceee8,#eceee8) 62% 46% / 22% 30% no-repeat,
  linear-gradient(#eceee8,#eceee8) 96% 46% / 22% 30% no-repeat,
  linear-gradient(#eceee8,#eceee8) 9% 92% / 62% 22% no-repeat, #f7f8f4; }
.hp-shot img { display:block; width:100%; height:100%; object-fit:cover; object-position:top left; clip-path:inset(0 0 100% 0); transition:clip-path 1.6s cubic-bezier(.6,0,.2,1) .7s; }
.hp-build.is-in .hp-shot img { clip-path:inset(0 0 0 0); }
.hp-app figcaption { display:flex; align-items:center; gap:10px; padding:14px 18px; border-top:1px solid var(--line); font-size:17px; font-weight:630; letter-spacing:-.03em; }
.hp-app figcaption::before { content:""; flex:none; width:10px; height:10px; border-radius:50%; background:var(--lime); box-shadow:0 0 0 4px rgba(193,234,10,.3); }
@media (max-width:860px) {
  #srovnani { padding-bottom:48px; }
  .hp-why-section { padding-top:56px; }
  .hp-lead { font-size:17px; }
  .hp-build { grid-template-columns:1fr; margin-top:34px; }
  .hp-join { width:2px; height:36px; justify-self:center; }
  .hp-join::after { transform:scaleY(0); transform-origin:top; }
  .hp-build.is-in .hp-join::after { transform:scaleY(1); }
  .hp-row strong { font-size:17px; }
}
@media (prefers-reduced-motion:reduce) {
  .hp-shot img,.hp-join::after,.hp-row { transition:none; }
}
