/* fonts:self-hosted:begin */
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/ibm-plex-mono-400-latin-ext-v1.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;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/ibm-plex-mono-500-latin-ext-v1.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;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/ibm-plex-mono-400-latin-v1.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;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/ibm-plex-mono-500-latin-v1.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;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/instrument-sans-italic-400-latin-ext-v1.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;
}
/* latin */
@font-face {
  font-family: 'Instrument Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/instrument-sans-italic-400-latin-v1.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;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/fonts/instrument-sans-latin-ext-v1.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;
}
/* latin */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/fonts/instrument-sans-latin-v1.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;
}
/* latin-ext */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 200 500;
  font-display: swap;
  src: url(/fonts/unbounded-latin-ext-v1.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;
}
/* latin */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 200 500;
  font-display: swap;
  src: url(/fonts/unbounded-latin-v1.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;
}
/* fonts:self-hosted:end */
/* ============================================================
   Orbispect - shared design system
   ------------------------------------------------------------
   Extracted from the near-identical <style> blocks that used to
   be duplicated by hand across every page in mockups/deploy/.
   Linked from <head> on every page (except 404.html, which stays
   fully self-contained on purpose). Edit here once; it applies
   everywhere it is linked. Page-specific rules stay local to
   each page's own <style> block and load after this file, so
   they continue to win the cascade exactly as before.
   ============================================================ */

/* ---------- reset ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ---------- design tokens ---------- */
:root {
  --ink: #06080a;
  --panel: #0d1217;
  --panel-2: #10161c;
  --line: rgba(160, 190, 200, 0.1);
  --line-2: rgba(160, 190, 200, 0.18);
  --txt: #e8eef0;
  --txt-2: #93a4ad;
  --txt-3: #75889a;
  --lime: #c8ff4d;
  --cyan: #6de2e2;
  --amber: #ffb454;
  --r: 14px;
}

/* ---------- base typography ---------- */
body {
  background: var(--ink);
  color: var(--txt);
  font-family: "Instrument Sans", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
::selection {
  background: var(--lime);
  color: var(--ink);
}
.mono {
  font-family: "IBM Plex Mono", monospace;
}
h1 .hl {
  color: var(--lime);
  font-weight: 400;
}
a[href^="mailto:"] {
  color: var(--lime);
  font-weight: 600;
}

/* ---------- header / nav ---------- */
nav {
  display: flex;
  gap: 30px;
}
nav a {
  color: var(--txt-2);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  transition: color 0.2s;
}
nav a:hover,
nav a.on {
  color: var(--lime);
}
.wordmark b {
  font-weight: 200;
  color: var(--txt-2);
}
@media (max-width: 1020px) {
  nav {
    display: none;
  }
}

/* ---------- footer ---------- */
.foot .mono {
  font-size: 11px;
  color: var(--txt-3);
  letter-spacing: 0.1em;
}
.dateline b {
  color: var(--txt-2);
  font-weight: 500;
}
@media (max-width: 640px) {
  footer {
    margin-top: 36px;
  }
}

/* ---------- kicker accent ---------- */
.kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--lime);
}

/* ---------- CTA banner atoms ---------- */
.cta .ck {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--amber);
  margin-bottom: 10px;
}
.cta h3 {
  font-family: "Unbounded", sans-serif;
  font-weight: 300;
  font-size: 20px;
  line-height: 1.2;
  margin-bottom: 8px;
}
@media (max-width: 640px) {
  .cta a {
    width: 100%;
    text-align: center;
  }
}

/* ---------- key-judgment box (article pages) ---------- */
.kj ol {
  list-style: none;
  counter-reset: kj;
}
.kj li {
  counter-increment: kj;
  position: relative;
  padding: 14px 0 14px 40px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--txt-2);
}
.kj li:first-child {
  border-top: none;
}
.kj li b {
  color: var(--txt);
}
.kj .fc {
  display: block;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--txt-3);
  line-height: 1.5;
}
@media (max-width: 640px) {
  .kj {
    padding: 20px 18px;
  }
}

/* ---------- confidence badges (article pages) ---------- */
.conf {
  font-family: "IBM Plex Mono", monospace;
  font-size: 8.5px;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: 99px;
  margin-left: 5px;
  white-space: nowrap;
  display: inline-block;
}
.conf.mod {
  color: var(--amber);
  border: 1px solid rgba(255, 180, 84, 0.5);
}
.conf.low {
  color: var(--txt-3);
  border: 1px solid var(--line-2);
}

/* ---------- table of contents / citations / limits (article pages) ---------- */
.toc h4 {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--txt-3);
  margin-bottom: 14px;
}
.toc li:first-child {
  border-top: none;
}
.cite h4 {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--txt-3);
  margin-bottom: 16px;
}
.cite p b {
  color: var(--txt);
}
.limits ul {
  margin: 0;
  padding: 0;
}
.limits li:last-child {
  border-bottom: none;
}
.limits li::before {
  content: "—";
  color: var(--amber);
  position: absolute;
  left: 0;
}
.limits li b {
  color: var(--txt);
  font-weight: 600;
}
.story p b {
  color: var(--txt);
}

/* ---------- figures (article + product pages) ---------- */
.figure img {
  width: 100%;
  display: block;
}
.kpi .up {
  color: var(--lime);
}

/* ---------- "last updated" / draft note ---------- */
.updated {
  margin-top: 18px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--txt-3);
  text-transform: uppercase;
}
.draft-note {
  margin-top: 26px;
  border: 1px solid var(--line-2);
  border-left: 2px solid var(--amber);
  border-radius: var(--r);
  padding: 18px 22px;
  background: var(--panel);
  max-width: 72ch;
}
.draft-note .dk {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--amber);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.draft-note p {
  font-size: 13.5px;
  color: var(--txt-2);
  line-height: 1.6;
}

/* ---------- legal pages (privacy / terms / cookies / imprint) ---------- */
.legal {
  padding: 64px 0 0;
}
.legal .wrap {
  max-width: 840px;
}
.legal section {
  padding: 0 0 40px;
}
.legal h2 {
  font-family: "Unbounded", sans-serif;
  font-weight: 300;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.2;
  margin-bottom: 16px;
}
.legal h2 .hl {
  color: var(--lime);
  font-weight: 400;
}
.legal h3 {
  font-family: "Instrument Sans", sans-serif;
  font-weight: 600;
  font-size: 16px;
  margin: 24px 0 10px;
  color: var(--txt);
}
.legal p {
  font-size: 15px;
  color: var(--txt-2);
  line-height: 1.7;
  margin-bottom: 14px;
  max-width: 74ch;
}
.legal a {
  color: var(--lime);
}

/* ---------- related link card ---------- */
.rel {
  display: block;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  text-decoration: none;
  color: var(--txt);
}
.rel .rt {
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--txt-3);
  margin-bottom: 8px;
}
.rel b {
  font-family: "Unbounded", sans-serif;
  font-weight: 400;
  font-size: 13px;
  display: block;
  margin-bottom: 6px;
}
.rel span {
  font-size: 11.5px;
  color: var(--txt-2);
  line-height: 1.5;
}
.rel:hover {
  border-color: var(--line-2);
}

/* ---------- generic mobile responsive helpers ---------- */
@media (max-width: 640px) {
  .kick {
    font-size: 9.5px;
    letter-spacing: 0.18em;
    margin-bottom: 14px;
  }
  .section-kick {
    font-size: 9.5px;
    letter-spacing: 0.18em;
    margin: 34px 0 4px;
  }
  .section-h {
    font-size: clamp(22px, 6.2vw, 27px);
  }
  .kpi {
    padding: 16px 14px;
  }
  .kpi .pn {
    min-height: 0;
    margin-bottom: 7px;
  }
  .chart-card {
    padding-bottom: 10px;
  }
  .story {
    padding: 20px 18px;
  }
  .story h3,
  .chart-head b,
  .g28 h3 {
    font-size: 14.5px;
  }
  .story p {
    font-size: 13.5px;
  }
  .grid2,
  .deep,
  .seam,
  .users,
  .related,
  .steps,
  .clientgrid,
  .grid3,
  .vals,
  .people,
  .checklist,
  .twocol {
    grid-template-columns: 1fr !important;
  }
  svg,
  canvas,
  img {
    max-width: 100%;
  }
  .g28 td:first-child {
    white-space: normal;
  }
  input,
  textarea,
  select {
    font-size: 16px;
  }
  a,
  button,
  input,
  select,
  textarea {
    touch-action: manipulation;
  }
}

/* 2026-09-30: link „przejdź do treści” dla klawiatury i czytników ekranu */
.skip-link{position:absolute;left:-9999px;top:8px;z-index:100;background:#c8ff4d;color:#06080a;padding:10px 16px;border-radius:8px;font:600 14px/1 "Instrument Sans",sans-serif;text-decoration:none}
.skip-link:focus{left:16px}

/* 2026-09-30: zwykłe linki w treści (bez klasy i stylu) miały domyślny niebieski #0000ee (kontrast 2:1 na ciemnym tle) */
main a:not([class]):not([style]):not(.cta a){color:var(--lime,#c8ff4d);text-underline-offset:3px}

/* ---------- menu na telefonie i tablecie (hamburger) ---------- */
.nav-toggle, .nav-burger { display: none; }
@media (max-width: 1020px) {
  header .bar { position: relative; }
  .nav-burger { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; padding: 11px; cursor: pointer; border: 1px solid var(--line-2, rgba(255,255,255,.18)); border-radius: 10px; background: var(--panel, transparent); margin-left: auto; }
  .nav-burger span { display: block; height: 2px; width: 100%; background: var(--txt, #fff); border-radius: 2px; transition: transform .25s, opacity .2s; }
  .nav-toggle:checked + .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked + .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked + .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  header nav.site-nav { display: none; position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 50; flex-direction: column; gap: 0; padding: 6px 18px 10px; background: #06080a; border: 1px solid var(--line, rgba(255,255,255,.12)); border-radius: 12px; box-shadow: 0 18px 40px rgba(0,0,0,.5); }
  .nav-toggle:checked ~ nav.site-nav { display: flex; }
  header nav.site-nav a { padding: 14px 4px; font-size: 16px; border-bottom: 1px solid var(--line, rgba(255,255,255,.12)); }
  header nav.site-nav a:last-child { border-bottom: none; }
}
