/* ============================================================
   INNER PAGES
   Only what the homepage components could not already express.
   No new colours, no new type scale, no new spacing values: every
   rule below composes existing tokens and existing components
   (.card, .panel, .prod, .steps, .faq, .bullet, .sec-head).
   ============================================================ */

/* ---------- layout helpers ----------
   .g12 has no generic mobile collapse (the homepage collapses named children
   one by one), so inner pages use their own two column primitive that folds
   at the same breakpoint as everything else. minmax(0,..) so long words in a
   grid child cannot push the track wider than the viewport. */
.two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:var(--s7) var(--gutter);align-items:start}
.two.wide{grid-template-columns:minmax(0,7fr) minmax(0,5fr)}
.mt3{margin-top:var(--s3)}.mt4{margin-top:var(--s4)}.mt5{margin-top:var(--s5)}
.mt6{margin-top:var(--s6)}.mb6{margin-bottom:var(--s6)}

/* ---------- page hero ----------
   Register A rhythm, but a page hero is a headline and a lead, not a
   stage: no Punkt field, so it does not need the 12 column split. */
.pghero{padding-top:var(--s7);padding-bottom:var(--s8)}
.pghero h1{margin:var(--s4) 0 var(--s5)}
.pghero .lead{max-width:32em}
.pghero .cta-row{margin-top:var(--s6);display:flex;align-items:center;
  gap:var(--s5);flex-wrap:wrap}
.pghero .cta-row .btn-ghost{white-space:nowrap}

/* breadcrumb: the mono micro register, so it reads as instrumentation
   rather than as a second navigation bar */
.crumbs{font-family:var(--font-mono);font-size:11px;letter-spacing:.09em;
  text-transform:uppercase;color:var(--text-3)}
.crumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:var(--s3);margin:0;padding:0}
.crumbs a{color:var(--text-3)}
.crumbs a:hover{color:var(--text-2)}
.crumbs li+li::before{content:"/";margin-right:var(--s3);color:var(--line-2)}
.crumbs [aria-current]{color:var(--text-2)}

/* price, stated once and stated plainly */
.pricetag{display:flex;align-items:baseline;gap:var(--s3);flex-wrap:wrap}
.pricetag .amt{font-size:48px;line-height:1;font-weight:600;letter-spacing:-.022em}
.pricetag .note{font-family:var(--font-mono);font-size:12px;color:var(--text-3)}
.pghero .pricetag{margin-top:var(--s6);padding-top:var(--s5);
  border-top:1px solid var(--line-1)}

/* ---------- two situation paths ---------- */
.paths{display:grid;grid-template-columns:1fr 1fr;gap:var(--gutter)}
.paths .card{display:flex;flex-direction:column;gap:var(--s4)}
.paths h3{font-size:22px}
.paths .tags{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.paths .tags li{font-family:var(--font-mono);font-size:12px;color:var(--text-2);
  border:1px solid var(--line-1);border-radius:var(--r-pill);padding:4px 10px}
.paths .core{color:var(--text-2);font-size:15px;line-height:1.6}
.paths .foot{margin-top:auto;padding-top:var(--s5);border-top:1px solid var(--line-1);
  display:flex;align-items:baseline;justify-content:space-between;gap:var(--s4);flex-wrap:wrap}
.paths .foot .pkg{font-weight:600}
.paths .foot .amt{font-family:var(--font-mono);color:var(--accent-text)}

/* ---------- comparison ----------
   Two panels, not a table: a table with two columns and fifteen rows
   is unreadable on a phone and the rows are not comparable anyway. */
.cmp{display:grid;grid-template-columns:1fr 1fr;gap:var(--gutter)}
.cmp .panel{display:flex;flex-direction:column}
.cmp .panel-head{align-items:baseline}
.cmp .panel-head h3{font-size:20px}
.cmp .panel-head .amt{font-family:var(--font-mono);font-size:16px;color:var(--accent-text);
  white-space:nowrap}
.cmp .panel-body{display:flex;flex-direction:column;gap:var(--s5);flex:1}
.cmp ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.cmp li{display:flex;gap:10px;font-size:14px;line-height:1.5;color:var(--text-2)}
.cmp .who{color:var(--text-3);font-size:13px}
.cmp .cmp-cta{margin-top:auto;padding-top:var(--s5);border-top:1px solid var(--line-1)}
.cmp-note{margin-top:var(--s5)}

/* ---------- specification list ----------
   The product scope block. Two columns on desktop so it scans as a
   specification rather than a wall, one column on a phone. */
.spec{list-style:none;margin:0;padding:0;display:grid;
  grid-template-columns:1fr 1fr;gap:var(--s4) var(--s7)}
.spec li{display:flex;gap:10px;font-size:15px;line-height:1.5;color:var(--text-2)}
.spec li b{color:var(--text-1);font-weight:500}
.spec.one{grid-template-columns:1fr}
.spec-foot{margin-top:var(--s6);padding-top:var(--s5);border-top:1px solid var(--line-1)}

/* ---------- structure example ---------- */
.pagelist{display:flex;flex-wrap:wrap;gap:var(--s3);margin:0 0 var(--s5);padding:0;list-style:none}
.pagelist li{font-family:var(--font-mono);font-size:13px;color:var(--text-1);
  background:var(--bg-s2);border:1px solid var(--line-1);border-radius:var(--r-sm);
  padding:8px 12px}

/* ---------- before / after ---------- */
.ba{display:grid;grid-template-columns:1fr 1fr;gap:var(--gutter)}
.ba .panel-head .lab{margin:0}
.ba ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:var(--s3)}
.ba li{display:flex;gap:10px;font-size:15px;line-height:1.5;color:var(--text-2)}
.ba .pos li{color:var(--text-1)}   /* not .after: that class is the next steps grid */
.ba-note{margin-top:var(--s5)}

/* ---------- quiet list: scope exclusions ----------
   Exclusions are information, not a warning. Same list component,
   muted markers, no red, no icons. */
.quiet{list-style:none;margin:0;padding:0;display:grid;
  grid-template-columns:1fr 1fr;gap:var(--s3) var(--s7)}
.quiet li{display:flex;gap:10px;font-size:15px;line-height:1.5;color:var(--text-2)}

/* ---------- demo figure ---------- */
.demofig{margin:0}
.demoshots{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,1fr);
  gap:var(--gutter);align-items:start}
.demoshots .shot{position:relative;border:1px solid var(--line-1);
  border-radius:var(--r-md);overflow:hidden;background:var(--bg-s2)}
.demoshots img{display:block;width:100%;height:auto}
.demotag{display:inline-flex;align-items:center;gap:8px;font-family:var(--font-mono);
  font-size:11px;letter-spacing:.09em;text-transform:uppercase;color:var(--accent-text);
  margin-bottom:var(--s4)}
.demotag i{width:6px;height:6px;border-radius:50%;background:var(--accent);flex:none}
.demofig h3{margin-bottom:var(--s5)}
.demofig figcaption{margin-top:var(--s5);max-width:60ch}
.light .demoshots .shot{border-color:var(--line-inv);background:var(--bg-inv2)}
.light .demotag{color:var(--accent-inv)}
.light .demotag i{background:var(--accent-inv)}

/* ---------- after launch: optional next steps ---------- */
.after{display:grid;grid-template-columns:1fr 1fr;gap:var(--gutter)}
.after .card{display:flex;flex-direction:column;gap:var(--s3)}
.after .amt{font-family:var(--font-mono);font-size:15px;color:var(--accent-text)}
.after .card p{font-size:15px;line-height:1.6;color:var(--text-2)}
.after .card .btn-ghost{margin-top:auto;padding-top:var(--s4)}
.after-note{margin-top:var(--s5)}

/* ---------- closing call to action ----------
   The homepage band, without the four option cards: on an inner page
   the visitor has already chosen a direction. */
.endcta{background:var(--bg-s1);border-top:1px solid var(--line-1);
  border-bottom:1px solid var(--line-1);text-align:center}
.endcta h2{margin-bottom:var(--s4)}
.endcta p{max-width:52ch;margin:0 auto}
.endcta .btn{margin-top:var(--s6)}
.endcta .lab{margin-top:var(--s5)}

/* ---------- notes and flags ---------- */
.flag{display:flex;gap:var(--s4);align-items:flex-start;background:var(--bg-s1);
  border:1px solid var(--line-1);border-left:2px solid var(--accent);
  border-radius:var(--r-md);padding:var(--s5);max-width:72ch}
.flag .mono{font-size:11px;letter-spacing:.09em;text-transform:uppercase;
  color:var(--text-3);flex:none;padding-top:2px}

@media (max-width:1100px){
  .two,.two.wide{grid-template-columns:1fr;gap:var(--s6)}
  .demoshots{grid-template-columns:1fr}
  .demoshots .shot.mob{max-width:320px}
}
@media (max-width:760px){
  .pghero{padding-top:var(--s6);padding-bottom:var(--s7)}
  .pricetag .amt{font-size:36px}
  .paths,.cmp,.ba,.after{grid-template-columns:1fr}
  .spec,.quiet{grid-template-columns:1fr;gap:var(--s3)}
  .pghero .cta-row .btn{width:100%}
  .endcta .btn{width:100%}
  /* a comparison is only useful if both sides stay scannable: on a phone
     the panels stack and each one keeps its own price in its header */
  .cmp .panel-head{flex-direction:column;align-items:flex-start;gap:6px}
  /* a panel head holds a name and a qualifier; on a phone they stack rather
     than compete for one line */
  .panel-head{flex-wrap:wrap}
  /* section names are nowrap by design on the homepage, where they are two
     words. Inner page names are longer, so here they may wrap. */
  .sec-head{align-items:flex-start;flex-wrap:wrap}
  .sec-head .nm{white-space:normal;min-width:0}
  .sec-head .rule{margin-top:8px}
}

/* The process rail. .step::before draws the connecting line and overshoots by
   one gutter to reach the next column; on a phone the steps stack full width,
   so that overshoot became 4px of horizontal page scroll. Scoped here because
   the same rule lives on the homepage and that page is not in this sprint. */
@media (max-width:760px){
  .step::before{right:0}
}

/* ============================================================
   SPRINT 2: GROW, eCOMMERCE, O NAMA
   Same rule as above: compose existing components, add nothing new
   to the colour, type or spacing systems.
   ============================================================ */

/* problem cards. Two up for GROW, three up for eCommerce, where the
   list is longer and each item is shorter. */
.cards{display:grid;grid-template-columns:repeat(2,1fr);gap:var(--gutter)}
.cards.three{grid-template-columns:repeat(3,1fr)}
.cards .card{display:flex;flex-direction:column;gap:var(--s3)}
.cards h3{font-size:19px;line-height:1.3}
.cards p{font-size:15px;line-height:1.6;color:var(--text-2);margin:0}
.cards .card .lab{margin-bottom:2px}

/* service areas: a title, a short lead and the concrete list */
.areas{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--gutter)}
.areas .card{display:flex;flex-direction:column;gap:var(--s4)}
.areas h3{font-size:18px}
.areas ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.areas li{display:flex;gap:10px;font-size:14px;line-height:1.45;color:var(--text-2)}
.areas-note{margin-top:var(--s6)}

/* three maturity paths on the About page */
.paths.three{grid-template-columns:repeat(3,1fr)}
.paths.three h3{font-size:19px}

/* who does what. Two responsibility cards, no names and no portraits
   until real assets exist. */
.roles2{display:grid;grid-template-columns:1fr 1fr;gap:var(--gutter)}
.roles2 .card{display:flex;flex-direction:column;gap:var(--s4)}
.roles2 h3{font-size:20px}
.roles2 ul{list-style:none;margin:0;padding:0;display:grid;
  grid-template-columns:1fr 1fr;gap:8px var(--s5)}
.roles2 li{display:flex;gap:10px;font-size:14px;line-height:1.45;color:var(--text-2)}
.roles2 .said{margin-top:auto;padding-top:var(--s5);border-top:1px solid var(--line-1);
  font-size:15px;line-height:1.6;color:var(--text-2)}

/* the About page breathes more than the product pages */
.airy .measure{max-width:32em}
.airy p+p{margin-top:var(--s5)}

@media (max-width:1100px){
  .cards.three,.areas{grid-template-columns:repeat(2,1fr)}
  .paths.three{grid-template-columns:1fr}
}
@media (max-width:760px){
  .cards,.cards.three,.areas,.roles2,.paths.three{grid-template-columns:1fr}
  .roles2 ul{grid-template-columns:1fr}
}

/* a quiet list inside a narrow column stays one column: two columns of
   exclusions in a 5/12 track is a word per line */
.quiet.one{grid-template-columns:1fr}
/* a three stage process uses three tracks, so the rail does not end in an
   empty fourth column */
.steps.three{grid-template-columns:repeat(3,1fr)}
@media (max-width:760px){.steps.three{grid-template-columns:1fr}}

/* ============================================================
   SPRINT 3: KONTAKT, AUTOMATIZACIJA, CARE
   ============================================================ */

/* ---------- contact ---------- */
.cform{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:var(--s7) var(--s8);
  align-items:start}
.cform form{display:flex;flex-direction:column;gap:var(--s5)}
.cform form[hidden]{display:none}
.fld label{display:block;font-family:var(--font-mono);font-size:11px;letter-spacing:.09em;
  text-transform:uppercase;color:var(--text-3);margin-bottom:8px}
.fld input,.fld select,.fld textarea{width:100%;min-height:48px;padding:13px var(--s3);
  background:var(--bg-s2);border:1px solid var(--line-1);border-radius:var(--r-sm);
  color:var(--text-1);font-family:inherit;font-size:16px;line-height:1.5}
.fld textarea{min-height:150px;resize:vertical}
.fld input:focus-visible,.fld select:focus-visible,.fld textarea:focus-visible{
  border-color:var(--accent);outline:2px solid var(--accent);outline-offset:1px}
.fld input[aria-invalid="true"],.fld textarea[aria-invalid="true"]{
  border-color:var(--status-critical);border-width:2px}
.fld .hint{margin-top:8px;font-size:13.5px;color:var(--text-3)}
.fld .req{color:var(--accent-text)}
.f2{display:grid;grid-template-columns:1fr 1fr;gap:var(--s5)}
.mailbig{display:inline-flex;align-items:center;gap:var(--s3);font-size:22px;font-weight:600;
  letter-spacing:-.01em;color:var(--text-1);word-break:break-all}
.mailbig:hover{color:var(--accent-text)}
.mailbig i{width:8px;height:8px;border-radius:50%;background:var(--accent);flex:none}
.cside{background:var(--bg-s1);border:1px solid var(--line-1);border-radius:var(--r-md);
  padding:var(--s6)}
.cside ol{list-style:none;margin:var(--s5) 0 0;padding:0;
  display:flex;flex-direction:column;gap:var(--s5)}
.cside li{display:flex;gap:var(--s4)}
.cside .n{font-family:var(--font-mono);font-size:11px;letter-spacing:.09em;color:var(--accent-text);
  flex:none;padding-top:4px}
.cside h3{font-size:16px;margin-bottom:4px}
.cside p{font-size:14.5px;line-height:1.55;color:var(--text-2)}
.formstate{border:1px solid var(--line-1);border-left:2px solid var(--accent);
  border-radius:var(--r-md);background:var(--bg-s1);padding:var(--s6)}
.formstate h3{margin-bottom:var(--s3)}
.formstate a{color:var(--accent-text);text-decoration:underline;text-underline-offset:3px}
.formstate[hidden]{display:none}

/* ---------- automation: capability blocks ---------- */
.caps{display:flex;flex-direction:column;gap:0}
.cap{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:var(--s6) var(--gutter);
  padding:var(--s6) 0;border-top:1px solid var(--line-1)}
.cap:last-child{border-bottom:1px solid var(--line-1)}
.cap .num{font-family:var(--font-mono);font-size:11px;letter-spacing:.09em;color:var(--accent-text)}
.cap h3{font-size:20px;margin:var(--s3) 0 var(--s3)}
.cap p{font-size:15.5px;line-height:1.6;color:var(--text-2);max-width:44em}
.cap .warn{margin-top:var(--s4);font-size:14px;color:var(--text-3)}

/* ---------- stack layers ---------- */
.layers{display:flex;flex-direction:column;gap:var(--s4)}
.layer{background:var(--bg-s1);border:1px solid var(--line-1);border-radius:var(--r-md);
  padding:var(--s5);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);
  gap:var(--s4) var(--gutter);align-items:start}
.layer .lh{display:flex;flex-direction:column;gap:8px}
.layer h3{font-size:17px}
.layer p{font-size:14.5px;line-height:1.55;color:var(--text-2)}
.chipset{display:flex;flex-wrap:wrap;gap:8px;align-content:flex-start}
.chipset span{font-family:var(--font-mono);font-size:12.5px;color:var(--text-1);
  background:var(--bg-s2);border:1px solid var(--line-1);border-radius:var(--r-sm);
  padding:7px 11px}
.chipset span.soft{color:var(--text-3);border-style:dashed}
.stacknote{margin-top:var(--s5)}

/* ---------- when AI is not the answer ---------- */
.aiv{display:grid;grid-template-columns:1fr;gap:0;margin-top:var(--s6)}
.aiv>div{display:grid;grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr);
  gap:var(--s4);align-items:center;padding:var(--s5) 0;border-top:1px solid var(--line-1)}
.aiv>div:last-child{border-bottom:1px solid var(--line-1)}
.aiv .k{font-size:16px;font-weight:500}
.aiv .ar{font-family:var(--font-mono);color:var(--text-3);text-align:center}
.aiv .v{font-size:15px;color:var(--text-2)}

/* ---------- workflow examples ---------- */
.flows{display:grid;grid-template-columns:1fr 1fr;gap:var(--gutter)}
.flow{background:var(--bg-s1);border:1px solid var(--line-1);border-radius:var(--r-md);
  padding:var(--s5)}
.flow h3{font-size:16px;margin-bottom:var(--s4)}
.flow .path{margin:0}

/* ---------- care: technology profiles ---------- */
.techs{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--gutter)}
.techs .card{display:flex;flex-direction:column;gap:var(--s4)}
.techs h3{font-size:18px}
.techs ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.techs li{display:flex;gap:10px;font-size:14px;line-height:1.45;color:var(--text-2)}
.techs .plus{font-family:var(--font-mono);font-size:11px;letter-spacing:.09em;color:var(--text-3)}

@media (max-width:1100px){
  .cform,.cap,.layer{grid-template-columns:1fr}
  .flows,.techs{grid-template-columns:1fr}
  .layer .chipset{margin-top:var(--s2)}
}
@media (max-width:760px){
  .f2{grid-template-columns:1fr}
  .aiv>div{grid-template-columns:1fr;gap:6px}
  .aiv .ar{text-align:left}
  .mailbig{font-size:18px}
  .cform form .btn{width:100%}
}

/* two demo figures side by side (Business Start and Shop Start) */
.demopair{display:grid;grid-template-columns:1fr 1fr;gap:var(--s7) var(--gutter)}
.demofig .shot{display:block;position:relative;border:1px solid var(--line-1);
  border-radius:var(--r-md);overflow:hidden;background:var(--bg-s2);max-width:100%}
.demofig .shot img{display:block;width:100%;height:auto}
.light .demofig .shot{border-color:var(--line-inv);background:var(--bg-inv2)}
.light .demofig .shot:hover{border-color:rgba(11,13,16,.3)}

/* honeypot: hidden by position, never by display:none or type=hidden, because
   bots read both. Same rule as the configurator. */
.hp{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}

@media (max-width:900px){
  .demopair{grid-template-columns:1fr}
}

@media (max-width:760px){
  /* a long secondary line in the hero must wrap rather than push the page */
  .pghero .cta-row{align-items:flex-start;gap:var(--s4)}
  .pghero .cta-row .btn-ghost{white-space:normal}
  .pghero .cta-row>.small{max-width:100%}
}

/* a five stage process gets five tracks, so the connecting rail does not
   wrap onto a second row with a dangling line */
.steps.five{grid-template-columns:repeat(5,1fr)}
@media (max-width:1100px){.steps.five{grid-template-columns:repeat(3,1fr);row-gap:var(--s6)}}
@media (max-width:760px){.steps.five{grid-template-columns:1fr}}

/* ---------- legal pages ----------
   A legal text is read in long passes, not scanned. One column, generous
   measure, headings that break it into answerable questions. */
.legal{max-width:70ch}
.legal h2{margin:var(--s7) 0 var(--s4)}
.legal h2:first-child{margin-top:0}
.legal p{font-size:16.5px;line-height:1.75;color:var(--text-2);margin-bottom:var(--s4)}
.legal p:last-child{margin-bottom:0}
.legal a{color:var(--accent-text);text-decoration:underline;text-underline-offset:3px}
