/* radian.tax: the Radian boards of the approved canvas, 1-to-1 (Radian{,.en,.uk}{,.dark}.dc.html).
   Every value below is the board's own; the light/dark difference is the board pair's diff, carried by tokens. */

/* The band hides parts with the `hidden` attribute; a class's display (.rd-split is flex) would otherwise win. */
[hidden] {
  display: none !important;
}

@font-face {
  font-family: 'Instrument Sans';
  src: url('/fonts/instrumentsans.ttf') format('truetype');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
/* Onest for uk (row-4 note: the Latin faces have no Cyrillic). The board loads it as a VARIABLE font
   (wght 400..600), so its weight 450 renders as 450: static 400/500 files would snap 450 to 500, set wider and
   wrap differently (measured: +62 px on the uk hero). These are the same variable subsets, self-hosted (OFL). */
@font-face {
  font-family: 'Onest';
  src: url('/fonts/Onest-var-cyrillic.woff2') format('woff2');
  font-weight: 400 600;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Onest';
  src: url('/fonts/Onest-var-latin-ext.woff2') format('woff2');
  font-weight: 400 600;
  font-display: swap;
  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-20C4, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'Onest';
  src: url('/fonts/Onest-var-latin.woff2') format('woff2');
  font-weight: 400 600;
  font-display: swap;
  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 {
  /* light board - unified Bookeper x Radian warm alabaster + obsidian + signal gold palette */
  --rd-page: #f6f3ec;
  --rd-ink: #141414;
  --rd-eyebrow-ink: #6e6b64;
  --rd-body-copy: #4b4a46;
  --rd-rule: #dad5c9;
  --rd-muted-light: #6e6b64;
  /* the dark sections are the same on both boards */
  --rd-top: #0b0d12;
  --rd-platform: #0b0d12;
  --rd-approach: #0e1118;
  --rd-on-dark: #f4f4f6;
  --rd-on-dark-copy: #c9ced8;
  --rd-on-dark-muted: #919bab;
  --rd-on-dark-eyebrow: #b3bac7;
  --rd-accent: #ffd60a;
  --rd-solid: #ffd60a;
  --rd-ink-on-solid: #141414;
  --rd-line-10: rgba(244, 244, 246, 0.1);
  --rd-line-12: rgba(244, 244, 246, 0.12);
  --rd-line-14: rgba(244, 244, 246, 0.14);
  --rd-line-16: rgba(244, 244, 246, 0.16);
  --rd-line-38: rgba(244, 244, 246, 0.34);
  /* Light page keeps high-contrast carbon ink focus ring (16.5:1); dark surfaces use #ffd60a signal gold (13.9:1). */
  --rd-focus: var(--rd-ink);
  --rd-font: 'Instrument Sans', system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    /* the .dark board: page, ink, eyebrow ink, body copy and rules change; nothing else */
    --rd-page: #0b0d12;
    --rd-ink: #f4f4f6;
    --rd-eyebrow-ink: #919bab;
    --rd-body-copy: #c9ced8;
    --rd-rule: rgba(244, 244, 246, 0.18);
    --rd-muted-light: #919bab;
    --rd-focus: #ffd60a;
    color-scheme: dark;
  }
}
.lang-uk {
  --rd-font: 'Onest', system-ui, sans-serif;
}

/* No box-sizing reset: the boards have none, so a bordered box is its content plus its border (a 48 px button is
   50 px tall), as on the board. */
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body.rd {
  margin: 0;
  background: var(--rd-page);
  color: var(--rd-ink);
  font-family: var(--rd-font);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
.rd a {
  color: inherit;
  text-decoration: none;
}
.rd img,
.rd video {
  max-width: 100%;
}
.rd-btn:focus-visible,
.rd a:focus-visible,
.rd button:focus-visible {
  outline: 2px solid var(--rd-focus);
  outline-offset: 3px;
}
.rd p {
  margin: 0;
}

.rd-pad {
  padding-left: 56px;
  padding-right: 56px;
}
.rd-dark {
  --rd-focus: #ffd60a;
  background: var(--rd-top);
  color: var(--rd-on-dark);
}
.rd-eyebrow {
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--rd-on-dark-eyebrow);
}
.rd-eyebrow-ink {
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--rd-eyebrow-ink);
}
.rd-eyebrow-bright {
  color: var(--rd-on-dark);
}
.rd-eyebrow-star {
  margin-right: 14px;
  vertical-align: -1px;
  color: var(--rd-accent);
}
.rd-muted-dark {
  color: var(--rd-on-dark-muted);
}
.rd-muted-light {
  color: var(--rd-muted-light);
}
.rd-body-copy {
  color: var(--rd-body-copy);
}
.rd-tabular {
  font-variant-numeric: tabular-nums;
}

/* buttons */
.rd-btn {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  height: 56px;
  padding: 0 24px;
  font: inherit;
}
.rd-btn-sm {
  height: 48px;
  padding: 0 20px;
  font-size: 15px;
}
.rd-btn-ghost {
  border: 1px solid var(--rd-line-38);
  background: transparent;
  color: var(--rd-on-dark);
  cursor: pointer;
}
.rd-btn-gap24 {
  gap: 24px;
}
.rd-btn-solid {
  background: var(--rd-solid);
  color: var(--rd-ink-on-solid, #141414) !important;
  font-weight: 600;
}

/* header */
.rd-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 28px;
  border-top: 3px solid var(--rd-accent);
  border-bottom: 1px solid var(--rd-line-10);
}
.rd-logo {
  display: block;
  line-height: 0;
}
.rd-logo img {
  display: block;
  height: 56px;
  width: auto;
  margin: -14px 0 -14px -20px;
  mix-blend-mode: lighten;
}
.rd-nav-links {
  display: flex;
  gap: 40px;
  font-size: 15px;
  color: var(--rd-on-dark-copy);
}

/* hero */
.rd-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
  padding-top: 72px;
  padding-bottom: 88px;
}
.rd-hero-copy {
  flex: 1 1 520px;
  min-width: 0;
}
.rd-h1 {
  margin: 36px 0 0;
  font-weight: 450;
  font-size: 112px;
  line-height: 0.97;
  letter-spacing: -6px;
}
.rd-hero-lead {
  margin: 40px 0 0 !important;
  max-width: 26em;
  font-size: 19px;
  line-height: 1.45;
  color: var(--rd-on-dark-copy);
  text-wrap: pretty;
}
.rd-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 44px;
}
.rd-hero-film {
  flex: 1 1 560px;
  min-width: 0;
}
.rd-hero-film video {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: lighten;
  background: var(--rd-top);
}
.rd-film-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--rd-line-14);
}
.rd-film-steps > div {
  padding: 16px 16px 0 0;
}
.rd-film-steps > div:last-child {
  padding: 16px 0 0 0;
}
.rd-film-step-text {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--rd-on-dark-muted);
}
.rd-film-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
}
.rd-film-caption {
  font-size: 13px;
  color: var(--rd-on-dark-copy);
}
.rd-film-toggle {
  flex: none;
  padding: 8px 12px;
  border: 1px solid var(--rd-line-38);
  background: none;
  color: var(--rd-on-dark);
  cursor: pointer;
  font-family: inherit;
}

/* shared section layouts */
.rd-section {
  padding-top: 88px;
  padding-bottom: 88px;
}
.rd-split {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.rd-split-label {
  flex: 0 0 220px;
}
.rd-split-body {
  flex: 1 1 560px;
  min-width: 0;
  margin: 0;
}
.rd-h2 {
  margin: 0;
  font-weight: 450;
  font-size: 64px;
  line-height: 1.02;
  letter-spacing: -2.6px;
  text-wrap: balance;
}
.rd-h2-idea {
  max-width: 15em;
}
.rd-lead {
  font-size: 19px;
  color: var(--rd-body-copy);
  text-wrap: pretty;
}
.rd-lead-34 {
  margin-top: 32px !important;
  max-width: 34em;
}
.rd-lead-dark {
  margin-top: 24px !important;
  max-width: 30em;
  font-size: 19px;
  color: var(--rd-on-dark-copy);
}

/* 02 platform */
.rd-platform {
  background: var(--rd-platform);
}
.rd-platform-head {
  padding-top: 104px;
}
.rd-cards-wrap {
  padding-top: 64px;
}
.rd-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  border: 1px solid var(--rd-line-16);
}
.rd-card {
  position: relative;
  padding: 28px;
  border-right: 1px solid var(--rd-line-16);
}
.rd-card-last {
  border-right: 0;
}
.rd-card-title {
  margin-top: 24px;
  font-weight: 450;
  font-size: 26px;
  letter-spacing: -0.6px;
}
.rd-rows {
  margin-top: 20px;
  font-size: 14px;
}
.rd-rows-tight {
  margin-top: 0;
}
.rd-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--rd-line-12);
}
.rd-row-key {
  color: var(--rd-on-dark-muted);
}
.rd-chip {
  padding: 0 8px;
  background: var(--rd-solid);
  color: #171a21;
}
.rd-card-note {
  margin: 20px 0 0 !important;
  font-size: 14px;
  color: var(--rd-on-dark-muted);
}
.rd-arrow {
  position: absolute;
  right: -13px;
  top: 50%;
  width: 26px;
  height: 26px;
  margin-top: -13px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--rd-platform);
  border: 1px solid var(--rd-line-38);
  font-size: 13px;
  z-index: 1;
}

/* the core picture: three states crossfading in a 14 s loop (board keyframes); reduced motion shows state 3 */
.rd-stack {
  position: relative;
  height: 220px;
  margin-top: 16px;
}
.rd-stack img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: lighten;
  opacity: 0;
}
.rd-stack img.s3 {
  opacity: 1;
}
@keyframes rd-a1 {
  0%,
  22% {
    opacity: 1;
  }
  28%,
  95% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes rd-a2 {
  0%,
  22% {
    opacity: 0;
  }
  28%,
  47% {
    opacity: 1;
  }
  53%,
  100% {
    opacity: 0;
  }
}
@keyframes rd-a3 {
  0%,
  47% {
    opacity: 0;
  }
  53%,
  95% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .rd-stack img.s1 {
    animation: rd-a1 14s linear infinite;
  }
  .rd-stack img.s2 {
    animation: rd-a2 14s linear infinite;
  }
  .rd-stack img.s3 {
    animation: rd-a3 14s linear infinite;
  }
}

/* 'W produkcji' band */
.rd-band-head {
  padding-top: 88px;
}
.rd-band-lead {
  margin-top: 0 !important;
}
.rd-band-wrap {
  padding-top: 40px;
  padding-bottom: 104px;
}
.rd-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  border-top: 1px solid var(--rd-line-12);
}
.rd-stat {
  padding: 32px 24px 0 0;
}
.rd-stat-last {
  padding: 32px 0 0;
}
.rd-stat-figure {
  font-weight: 450;
  font-size: 64px;
  line-height: 1;
  letter-spacing: -2.6px;
  font-variant-numeric: tabular-nums;
  min-height: 64px;
}
.rd-stat-unit::before {
  content: ' ';
}
.rd-stat-label {
  margin-top: 14px;
}
/* Both the dated static snapshot and a complete live response carry real units. */
.rd-band:not([data-state='ok']):not([data-state='snapshot']) .rd-stat-unit {
  display: none;
}
.rd-stat[data-empty='true'] {
  display: none;
}
.rd-hours-rule,
.rd-band-asof {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--rd-on-dark-copy);
}

.rd-held-vies {
  margin: 8px 0 0 !important;
  font-size: 15px;
  color: var(--rd-on-dark-copy);
}
.rd-held-vies:empty {
  display: none;
}

/* 03 audience */
.rd-audience {
  margin-top: 64px;
  display: grid;
  /* Deviation from the board (minmax(320px, 1fr)) below a 360 px container only: it overflowed at 320. */
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  border: 1px solid var(--rd-rule);
}
.rd-audience-card {
  display: block;
  padding: 40px;
  border-right: 1px solid var(--rd-rule);
}
.rd-audience-card-last {
  border-right: 0;
}
.rd-audience-title {
  margin: 20px 0 0 !important;
  font-weight: 450;
  font-size: 40px;
  line-height: 1.05;
  letter-spacing: -1.4px;
}
.rd-audience-text {
  margin: 16px 0 0 !important;
  max-width: 30em;
}
.rd-audience-cta {
  margin-top: 40px;
  font-weight: 500;
}

/* 04 approach */
.rd-approach {
  background: var(--rd-approach);
}
.rd-approach-head {
  padding-top: 104px;
}
.rd-approach-head .rd-h2 {
  text-wrap: wrap;
}
.rd-approach-wrap {
  padding-top: 64px;
  padding-bottom: 104px;
}
.rd-approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  border-top: 1px solid var(--rd-line-14);
  border-left: 1px solid var(--rd-line-14);
}
.rd-approach-card {
  padding: 32px;
  border-right: 1px solid var(--rd-line-14);
  border-bottom: 1px solid var(--rd-line-14);
}
.rd-approach-svg {
  display: block;
  width: 100%;
  max-width: 240px;
  height: auto;
  margin-top: 28px;
}
.rd-approach-title {
  margin: 28px 0 0 !important;
  font-weight: 450;
  font-size: 32px;
  letter-spacing: -1px;
  line-height: 1.1;
}
.rd-approach-text {
  margin: 12px 0 0 !important;
  font-size: 15px;
  color: var(--rd-on-dark-muted);
}

/* 05 brands */
.rd-brands-lead {
  margin-top: 28px !important;
}
.rd-brands {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  border-top: 1px solid var(--rd-rule);
}
.rd-brand {
  padding: 28px 28px 0 0;
}
.rd-brand-last {
  padding: 28px 0 0;
}
.rd-brand-text {
  margin: 14px 0 0 !important;
  max-width: 26em;
}
.rd-brand-cta {
  display: inline-block;
  margin-top: 20px;
  font-weight: 500;
}
.rd-brand-cta-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}
.rd-brand-cta-mark img {
  height: 36px;
  width: auto;
}

/* footer */
.rd-footer {
  overflow: hidden;
  border-top: 2px solid var(--rd-accent);
}
.rd-footer-cta {
  padding-top: 96px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}
.rd-footer-copy {
  min-width: 0;
}
.rd-footer-title {
  margin: 20px 0 0 !important;
  font-weight: 450;
  font-size: 56px;
  line-height: 1.02;
  letter-spacing: -2.2px;
  max-width: 11em;
}
.rd-footer-lead {
  margin: 20px 0 0 !important;
  max-width: 30em;
  color: var(--rd-on-dark-copy);
}
.rd-footer-mark {
  padding-top: 72px;
}
.rd-footer-mark img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: -9%;
  mix-blend-mode: lighten;
}
.rd-footer-meta {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  padding-bottom: 20px;
  border-top: 1px solid var(--rd-line-12);
  background: var(--rd-top);
}
/* Operator identification (u.ś.u.d.e. art. 5; t139 2026-11-12 16:50): small, as on the live site. */
.rd-footer-operator {
  position: relative;
  margin: 0 !important;
  padding-bottom: 20px;
  font-size: 11px;
  line-height: 1.5;
  color: var(--rd-on-dark-muted);
  background: var(--rd-top);
}

/* board breakpoint */
@media (max-width: 900px) {
  .rd-nav-links {
    display: none !important;
  }
  .rd-h1 {
    font-size: 56px;
    letter-spacing: -2.5px;
  }
  .rd-h2 {
    font-size: 38px;
    letter-spacing: -1.5px;
  }
  .rd-pad {
    padding-left: 20px;
    padding-right: 20px;
  }
  .rd-arrow {
    display: none;
  }
}

/* consulting sections: engagement steps, scope lists, the named case, print */
.rd-liczby .rd-band-wrap {
  padding-top: 48px;
  padding-bottom: 64px;
}
.rd-items {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
  counter-reset: rd-item;
}
.rd-items-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 32px;
}
.rd-items li {
  border-top: 1px solid var(--rd-rule);
  padding: 20px 0 28px;
  counter-increment: rd-item;
}
.rd-items h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--rd-ink);
}
.rd-items-steps h3::before {
  content: '0' counter(rd-item) ' / ';
  color: var(--rd-eyebrow-ink);
}
.rd-items p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--rd-body-copy);
}
.rd-case {
  margin: 40px 0 0;
  padding: 32px 0 0;
  border-top: 1px solid var(--rd-rule);
}
/* The logo file is black on transparent: a light chip keeps it legible in the dark theme too. */
.rd-case-logo {
  display: inline-block;
  padding: 14px 20px;
  background: #fff;
  border: 1px solid var(--rd-rule);
  border-radius: 8px;
}
.rd-case-logo img {
  display: block;
  width: 156px;
  height: auto;
}
.rd-case-client {
  margin: 20px 0 0;
  font-size: 18px;
  color: var(--rd-ink);
}
.rd-case-facts {
  list-style: none;
  margin: 24px 0;
  padding: 0;
  display: grid;
  gap: 12px;
  font-size: 22px;
  line-height: 1.3;
  color: var(--rd-ink);
}
.rd-case-facts li {
  border-left: 3px solid var(--rd-accent);
  padding-left: 16px;
}
.rd-status {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rd-eyebrow-ink);
}
.rd-items-plain li {
  padding-bottom: 20px;
}
.rd-chips {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.rd-chips li {
  padding: 6px 12px;
  border: 1px solid var(--rd-line-12);
  border-radius: 999px;
  font-size: 14px;
}
.rd-chips-light li {
  border-color: var(--rd-rule);
  color: var(--rd-ink);
}
/* The customer's own words, above the caption that names them. Quote marks follow each language's typography. */
.rd-case-quote {
  margin: 28px 0 0;
  padding: 0 0 0 20px;
  border-left: 2px solid var(--rd-rule);
  quotes: '„' '”';
}
.lang-en .rd-case-quote {
  quotes: '“' '”';
}
.lang-uk .rd-case-quote {
  quotes: '«' '»';
}
.rd-case-quote p {
  margin: 0;
  font-size: 22px;
  line-height: 1.4;
  color: var(--rd-ink);
}
.rd-case-quote p::before {
  content: open-quote;
}
.rd-case-quote p::after {
  content: close-quote;
}
.rd-footer-legal {
  text-decoration: underline !important;
  text-underline-offset: 4px;
}
.rd-case-body {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  color: var(--rd-body-copy);
}
.rd-hero-mail {
  align-self: center;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.rd-footer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}
.rd-pdf-hint {
  flex-basis: 100%;
  margin: 0;
  font-size: 14px;
  color: var(--rd-on-dark-copy);
}
.rd-section[id] {
  scroll-margin-top: 24px;
}
@media (max-width: 900px) {
  .rd-items,
  .rd-items-steps {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media print {
  .rd-header,
  .rd-hero-film,
  .rd-hero-ctas,
  .rd-liczby,
  .rd-print-only-hide,
  .rd-hero-chips {
    display: none !important;
  }
  .rd,
  .rd-dark {
    background: #fff !important;
    color: #000 !important;
  }
  .rd-items li,
  .rd-case {
    break-inside: avoid;
  }
  a[href^='http']::after {
    content: ' (' attr(href) ')';
    font-size: 11px;
  }
}

.rd-case figcaption {
  margin-top: 16px;
}

/* Team pedigree strip (monochrome, nominative fair use) */
.rd-pedigree {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--rd-rule);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
}
.rd-pedigree-label {
  flex: none;
}
.rd-pedigree-logos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
}
.rd-pedigree-mark {
  display: block;
  width: auto;
  opacity: 0.72;
}
.rd-pedigree-jpm {
  height: 17px;
}
.rd-pedigree-citi {
  height: 19px;
}
.rd-pedigree-hsbc {
  height: 17px;
}
.rd-pedigree-revolut {
  height: 15px;
}
.rd-pedigree-deel {
  height: 15px;
}
.rd-pedigree-billennium {
  height: 16px;
}
.rd-pedigree-movens {
  height: 19px;
}
.rd-pedigree-skydeck {
  height: 14px;
}
.rd-pedigree-eic {
  height: 17px;
  opacity: 0.52;
}
.rd-cherry-line {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(23, 26, 33, 0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  font-size: 14px;
}
.rd-cherry-mark {
  display: block;
  height: 15px;
  width: auto;
  opacity: 0.65;
}
@media (prefers-color-scheme: dark) {
  .rd-pedigree-mark,
  .rd-cherry-mark,
  .rd-brand-cta-mark img {
    filter: invert(1);
    opacity: 0.82;
  }
  .rd-brand-cta-mark img {
    opacity: 1;
  }
  .rd-pedigree-eic {
    opacity: 0.62;
  }
  .rd-cherry-line {
    border-top-color: var(--rd-line-14);
  }
}
.rd-team-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 28px 40px;
}
.rd-team-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.rd-team-avatar {
  width: 56px;
  height: 56px;
  flex: none;
  border-radius: 10px;
  object-fit: cover;
  object-position: top;
  border: 1px solid rgba(23, 26, 33, 0.14);
}
@media (prefers-color-scheme: dark) {
  .rd-team-avatar {
    border-color: var(--rd-line-16);
  }
}
.rd-team-bio {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.58;
}

/* Monochrome 4-up hairline architecture grid (Open Mercato-inspired) */
.rd-iso-shell {
  margin-top: 32px;
  border: 1px solid var(--rd-rule);
  background: var(--rd-page);
}
.rd-iso-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--rd-rule);
}
.rd-iso-caption {
  margin: 0;
}
.rd-iso-toggle {
  appearance: none;
  border: 1px solid var(--rd-rule);
  border-radius: 999px;
  background: transparent;
  color: var(--rd-ink);
  font-family: inherit;
  font-size: 12px;
  padding: 4px 12px;
  cursor: pointer;
}
.rd-iso-toggle:hover {
  border-color: var(--rd-ink);
}
.rd-iso-svg {
  display: block;
  width: 100%;
  height: auto;
}
.rd-iso-gridline {
  stroke: var(--rd-rule);
  stroke-width: 0.75;
  opacity: 0.55;
}
.rd-iso-top {
  fill: var(--rd-page);
  stroke: var(--rd-ink);
  stroke-width: 1.15;
}
.rd-iso-side-l {
  fill: var(--rd-rule);
  stroke: var(--rd-ink);
  stroke-width: 1.05;
}
.rd-iso-side-r {
  fill: var(--rd-page);
  stroke: var(--rd-ink);
  stroke-width: 1.05;
}
.rd-iso-slab-top {
  fill: #0b0d12;
  stroke: #ffd60a;
  stroke-width: 1.5;
}
.rd-iso-slab-side-l {
  fill: #1c202a;
  stroke: #0b0d12;
  stroke-width: 1.2;
}
.rd-iso-slab-side-r {
  fill: #13161f;
  stroke: #0b0d12;
  stroke-width: 1.2;
}
.rd-iso-label {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9.8px;
  font-weight: 600;
  fill: var(--rd-ink);
  letter-spacing: 0.35px;
}
.rd-iso-sub {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 7.5px;
  fill: var(--rd-eyebrow-ink);
  letter-spacing: 0.3px;
}
.rd-iso-slab-title {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  fill: #f7f4ef;
  letter-spacing: 0.5px;
}
.rd-iso-slab-check {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 7.5px;
  fill: #4ade80;
  letter-spacing: 0.2px;
}
.rd-iso-slab-check[data-tone='amber'] {
  fill: #fbbf24;
}
.rd-iso-beam {
  stroke: var(--rd-eyebrow-ink);
  stroke-width: 1.2;
  stroke-linecap: round;
  opacity: 0.25;
}
.rd-iso-beam-dashed {
  stroke-dasharray: 0.04 0.025;
}
.rd-iso-beam[data-tone='green'] {
  stroke: #29ad46;
}
.rd-iso-beam[data-tone='amber'] {
  stroke: #d97706;
}
.rd-iso-dot {
  fill: #9aa097;
}
.rd-iso-dot[data-tone='ready'],
.rd-iso-dot[data-tone='green'] {
  fill: #29ad46;
}
.rd-iso-dot[data-tone='amber'] {
  fill: #d97706;
}
.rd-iso-packet {
  fill: #29ad46;
}
.rd-iso-packet[data-tone='amber'] {
  fill: #d97706;
}
.rd-iso-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding: 14px 18px;
  border-top: 1px solid var(--rd-rule);
}
.rd-iso-status {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  color: var(--rd-ink);
}
.rd-iso-shell[data-iso-state='hold'] .rd-iso-status {
  color: #b45309;
}
.rd-iso-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.rd-iso-pill {
  appearance: none;
  border: 1px solid var(--rd-rule);
  border-radius: 999px;
  background: transparent;
  color: var(--rd-body-copy);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  padding: 4px 10px;
  cursor: pointer;
}
.rd-iso-pill[aria-pressed='true'] {
  border-color: var(--rd-ink);
  color: var(--rd-ink);
  background: rgba(20, 20, 20, 0.06);
}
.rd-iso-pill-hold[aria-pressed='true'] {
  border-color: #d97706;
  color: #b45309;
  background: rgba(217, 119, 6, 0.12);
}
@media (prefers-color-scheme: dark) {
  .rd-iso-slab-top {
    fill: #13161f;
    stroke: #ffd60a;
  }
  .rd-iso-slab-side-l {
    fill: #242936;
    stroke: #ffd60a;
  }
  .rd-iso-slab-side-r {
    fill: #1a1e29;
    stroke: #ffd60a;
  }
  .rd-iso-slab-title {
    fill: #f4f4f6;
  }
  .rd-iso-slab-check {
    fill: #4ade80;
  }
  .rd-iso-slab-check[data-tone='amber'] {
    fill: #ffd60a;
  }
  .rd-iso-shell[data-iso-state='hold'] .rd-iso-status,
  .rd-iso-pill-hold[aria-pressed='true'] {
    color: #fbbf24;
  }
  .rd-iso-pill[aria-pressed='true'] {
    background: rgba(255, 255, 255, 0.1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .rd-iso-toggle {
    display: none;
  }
}
.rd-arch-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--rd-rule);
  border-left: 1px solid var(--rd-rule);
}
.rd-arch-card {
  padding: 24px 20px;
  border-right: 1px solid var(--rd-rule);
  border-bottom: 1px solid var(--rd-rule);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rd-arch-svg {
  display: block;
  width: 100%;
  height: auto;
  color: var(--rd-ink);
  margin-bottom: 8px;
}
.rd-svg-inv {
  fill: var(--rd-page);
}
.rd-arch-card h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--rd-ink);
}
.rd-arch-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--rd-body-copy);
}

/* 4-row comparison table */
.rd-compare-wrap {
  margin-top: 36px;
  overflow-x: auto;
}
.rd-compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.45;
}
.rd-compare thead th {
  text-align: left;
  padding: 0 16px 14px 0;
  font-size: 13px;
  font-weight: 500;
  border-bottom: 1px solid var(--rd-rule);
}
.rd-compare-head-muted {
  color: var(--rd-eyebrow-ink);
}
.rd-compare-head-strong {
  color: var(--rd-ink);
  font-weight: 600 !important;
}
.rd-compare tbody th,
.rd-compare tbody td {
  text-align: left;
  vertical-align: top;
  padding: 18px 16px 18px 0;
  border-bottom: 1px solid var(--rd-rule);
}
.rd-compare tbody th {
  font-weight: 500;
  color: var(--rd-ink);
  width: 28%;
}
.rd-compare-no {
  color: var(--rd-body-copy);
  width: 36%;
}
.rd-compare-yes {
  color: var(--rd-ink);
  font-weight: 500;
  width: 36%;
}
.rd-mark-no,
.rd-mark-yes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  margin-right: 10px;
  font-size: 13px;
  font-weight: 700;
  vertical-align: -1px;
}
.rd-mark-no {
  color: #b42318;
  background: rgba(180, 35, 24, 0.08);
}
.rd-mark-yes {
  color: #166534;
  background: rgba(22, 101, 52, 0.12);
}
@media (prefers-color-scheme: dark) {
  .rd-mark-no {
    color: #fca5a5;
    background: rgba(252, 165, 165, 0.14);
  }
  .rd-mark-yes {
    color: #86efac;
    background: rgba(134, 239, 172, 0.16);
  }
}
@media (max-width: 1100px) {
  .rd-arch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 680px) {
  .rd-arch-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .rd-compare thead {
    display: none;
  }
  .rd-compare tbody tr {
    display: grid;
    gap: 8px;
    padding: 16px 0;
    border-bottom: 1px solid var(--rd-rule);
  }
  .rd-compare tbody th,
  .rd-compare tbody td {
    border: 0;
    padding: 0;
    width: auto;
  }
}

/* Use cases (#zastosowania): four groups of three, each case a <details>. Open from 901 px by CSS alone (the
   ::details-content override), closed on phones: title and status visible, body on tap. No script, no storage. */
.rd-uses-group {
  margin-top: 48px;
}
.rd-uses-group-title {
  margin: 0;
  font-weight: 400;
}
.rd-uses-stat {
  margin: 12px 0 0 !important;
  max-width: 44em;
  font-size: 15px;
  line-height: 1.5;
  color: var(--rd-body-copy);
}
.rd-uses-stat-figure {
  margin-right: 4px;
  font-size: 28px;
  font-weight: 450;
  letter-spacing: -0.8px;
  line-height: 1;
  color: var(--rd-ink);
  font-variant-numeric: tabular-nums;
}
.rd-uses-source,
.rd-uses-peers a {
  text-decoration: underline;
  text-decoration-color: var(--rd-rule);
  text-underline-offset: 3px;
}
.rd-uses-source {
  font-size: 13px;
  color: var(--rd-eyebrow-ink);
  white-space: nowrap;
}
.rd-uses {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0 32px;
}
.rd-uses > li {
  border-top: 1px solid var(--rd-rule);
}
.rd-use > summary {
  display: block;
  list-style: none;
  padding: 18px 0 8px;
  cursor: pointer;
}
.rd-use > summary::-webkit-details-marker {
  display: none;
}
.rd-use .rd-use-status {
  margin-bottom: 8px;
}
/* Status marker beside the label (never colour alone): prod = signal gold with an ink ring, live = ink dot,
   impl = a half-filled ink ring (the program has it; we start it on your data), build = an open ring. */
.rd-use-status::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border: 1.5px solid var(--rd-ink);
  border-radius: 50%;
  vertical-align: 0;
}
.rd-use[data-status='prod'] .rd-use-status::before {
  background: var(--rd-accent);
}
.rd-use[data-status='live'] .rd-use-status::before {
  background: var(--rd-ink);
}
.rd-use[data-status='impl'] .rd-use-status::before {
  background: linear-gradient(90deg, var(--rd-ink) 50%, transparent 50%);
}
/* Team members are <details> too (owner card msg_81a2bd16): the summary is the avatar and name row. */
.rd-team-member > summary {
  list-style: none;
  cursor: pointer;
}
.rd-team-member > summary::-webkit-details-marker {
  display: none;
}
.rd-use-title {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--rd-ink);
}
.rd-use-body {
  margin: 0 0 24px !important;
  font-size: 15px;
  line-height: 1.5;
  color: var(--rd-body-copy);
}
.rd-uses-peers {
  margin: 16px 0 0 !important;
  font-size: 14px;
  line-height: 1.5;
  color: var(--rd-eyebrow-ink);
}
/* Both desktop rules sit behind @supports: a browser without ::details-content (Firefox ESR, Safari before 18.4) drops
   the selector list whole, so it must not get the pointer-events rule either; it keeps the ordinary tap-to-open
   <details>. */
@media (min-width: 901px) {
  @supports selector(::details-content) {
    .rd-use::details-content,
    .rd-team-member::details-content {
      content-visibility: visible;
    }
    .rd-use > summary,
    .rd-team-member > summary {
      pointer-events: none;
    }
  }
}

/* Five nav items (JPK_CIT added) fit one line from 901 px: no wrapping, a tighter gap below 1100 px. */
.rd-nav-links a {
  white-space: nowrap;
}
@media (max-width: 1100px) {
  .rd-nav-links {
    gap: 22px;
  }
}

/* JPK_CIT (#jpk-cit): three steps, the approval note, one call to action. */
.rd-items-steps-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.rd-jpkcit-note {
  margin: 4px 0 0 !important;
  max-width: 44em;
  font-size: 14px;
  line-height: 1.5;
  color: var(--rd-eyebrow-ink);
}
.rd-jpkcit-cta {
  margin-top: 28px;
}

/* The four Certifier controls (#przyklad), as a compact two-by-two. */
.rd-case-controls-label {
  margin-top: 28px;
}
.rd-case-controls {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
}
.rd-case-controls li {
  border-top: 1px solid var(--rd-rule);
  padding: 14px 0 18px;
}
.rd-case-controls h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--rd-ink);
}
.rd-case-controls p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--rd-body-copy);
}

/* Phone pass (owner 2026-11-21: targeted fixes, no redesign). Measured 20.2 screens at 390 x 844 on 2026-12-04. */
@media (max-width: 900px) {
  .rd-section {
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .rd-split {
    gap: 16px;
  }
  .rd-lead-34 {
    margin-top: 20px !important;
  }
  .rd-items {
    margin-top: 24px;
  }
  .rd-items li {
    padding: 16px 0 20px;
  }
  .rd-items-steps-3 {
    grid-template-columns: minmax(0, 1fr);
  }
  /* numbers band: two columns instead of five stacked 64 px figures */
  .rd-band-head {
    padding-top: 56px;
  }
  .rd-liczby .rd-band-wrap {
    padding-top: 24px;
    padding-bottom: 48px;
  }
  .rd-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rd-stat,
  .rd-stat-last {
    padding: 20px 12px 0 0;
  }
  .rd-stat-last {
    grid-column: 1 / -1;
  }
  .rd-stat-figure {
    font-size: 36px;
    letter-spacing: -1.2px;
    min-height: 36px;
  }
  .rd-stat-label {
    margin-top: 8px;
  }
  /* use cases as an accordion */
  .rd-uses-group {
    margin-top: 32px;
  }
  .rd-uses {
    grid-template-columns: minmax(0, 1fr);
  }
  .rd-use > summary {
    position: relative;
    padding: 14px 36px 14px 0;
    cursor: pointer;
  }
  .rd-team-member > summary {
    position: relative;
    padding-right: 36px;
    cursor: pointer;
  }
  .rd-use > summary::after,
  .rd-team-member > summary::after {
    content: '';
    position: absolute;
    right: 6px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid var(--rd-ink);
    border-bottom: 1.5px solid var(--rd-ink);
    transform: translateY(-70%) rotate(45deg);
    transition: transform 0.2s ease;
  }
  .rd-use[open] > summary::after,
  .rd-team-member[open] > summary::after {
    transform: translateY(-30%) rotate(225deg);
  }
  .rd-use > summary:focus-visible,
  .rd-team-member > summary:focus-visible {
    outline: 2px solid var(--rd-focus);
    outline-offset: 2px;
  }
  .rd-use .rd-use-status {
    margin-bottom: 4px;
  }
  .rd-use-title {
    font-size: 17px;
  }
  .rd-use-body {
    margin-bottom: 18px !important;
  }
  .rd-case-controls {
    grid-template-columns: minmax(0, 1fr);
  }
  /* blank gaps: after the film, around the footer call, before the wordmark */
  .rd-hero {
    padding-top: 48px;
    padding-bottom: 40px;
  }
  .rd-footer-cta {
    padding-top: 56px;
  }
  .rd-footer-mark {
    padding-top: 40px;
  }
  /* tap targets at least 44 px high */
  .rd-logo {
    padding: 8px 0;
  }
  .rd-hero-mail,
  .rd-brand-cta,
  .rd-brand-cta-mark {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .rd-film-toggle,
  .rd-iso-toggle,
  .rd-iso-pill {
    box-sizing: border-box;
    min-height: 44px;
  }
  .rd-iso-pill {
    padding: 4px 14px;
  }
  .rd-footer-meta a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  /* inline source links keep their line box; the padding widens only the hit area */
  .rd-uses-source,
  .rd-uses-peers a {
    padding: 14px 0;
  }
}
@media (max-width: 680px) {
  .rd-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }
  /* the four architecture cards repeat the isometric flow above them: on a phone their diagrams (aria-hidden) go,
     the titles and text stay */
  .rd-arch-svg {
    display: none;
  }
  .rd-arch-card {
    padding: 16px;
    gap: 6px;
  }
  /* the isometric flow becomes its status line (owner card msg_81a2bd16): the drawing goes, the caption, the pause
     control (the status keeps updating, WCAG 2.2.2), the status and the route buttons stay */
  .rd-iso-svg {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rd-use > summary::after,
  .rd-team-member > summary::after {
    transition: none;
  }
}
@media print {
  .rd-use::details-content,
  .rd-team-member::details-content {
    content-visibility: visible;
  }
}
