/* =====================================================================
   Hezuo Global Partners - design v4 (local preview, 2026-10-23)
   Light corporate logistics style: white and pale grey/sand fields,
   deep navy type, one bright blue for actions, square buttons,
   split bands of text and photography. One typeface: Inter (self-hosted).
   Motion is limited to colour changes on hover and focus.
   ===================================================================== */

@font-face{font-family:'Inter';font-style:normal;font-weight:300 700;font-display:swap;src:url(assets/fonts/inter-300-700-latin-ext.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-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:300 700;font-display:swap;src:url(assets/fonts/inter-300-700-latin.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}
@font-face{font-family:'Archivo';font-style:normal;font-weight:300;font-display:swap;src:url(assets/fonts/archivo-300-latin-ext.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-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Archivo';font-style:normal;font-weight:300;font-display:swap;src:url(assets/fonts/archivo-300-latin.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}

:root {
  --navy: #0a2c47;
  --navy-2: #2f4c62;
  --navy-3: #4f6577;   /* ≥ 4.9:1 on every light ground (white, grey, sand) */
  --blue: #1c60e8;
  --blue-hover: #124bc4;
  --blue-press: #0d3b9e;
  --blue-soft: #dbe9fb;
  --blue-light: #9cc2ff;   /* blue text on navy and on the hero film */
  --grey: #eef1f3;
  --sand: #f4f3ee;
  --line: #dde3e8;
  --line-strong: #8a9aa7;
  --white: #ffffff;
  --font: 'Inter', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --pad: clamp(16px, 5.3vw, 76px);
  --max: 1288px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body { margin: 0; background: var(--white); color: var(--navy); font-family: var(--font); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.split--navy :focus-visible, .hero :focus-visible { outline-color: var(--white); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--navy); color: var(--white); }
.skip:focus { top: 8px; }
.w { width: calc(100% - var(--pad) * 2); max-width: var(--max); margin-inline: auto; }
h1, h2, h3 { font-weight: 500; letter-spacing: -.01em; }
h1 { font-size: clamp(2.125rem, 1.5rem + 2vw, 3rem); line-height: 1.15; }
h2 { font-size: clamp(1.75rem, 1.35rem + 1.3vw, 2.5rem); line-height: 1.2; }
h3 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.625rem); line-height: 1.25; }
p + p { margin-top: .6em; }
.kicker { margin-bottom: 18px; font-size: 1rem; color: var(--white); }
.kicker--dark { margin-bottom: 8px; color: var(--navy-2); }
.lead { font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); line-height: 1.5; }
.link { color: var(--blue); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; transition: color .15s var(--ease); }
.link:hover { color: var(--blue-hover); }

/* ---------- buttons: square, flat ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px 17px; border: 1px solid var(--blue); border-radius: 0; background: var(--blue); color: var(--white); font-size: 1rem; font-weight: 500; line-height: 1.25; text-align: center; transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease); }
.btn:hover { background: var(--blue-hover); border-color: var(--blue-hover); }
.btn:active { background: var(--blue-press); border-color: var(--blue-press); }
.btn--lg { min-height: 56px; padding: 12px 22px; font-size: clamp(1.0625rem, 1rem + .2vw, 1.125rem); }
.btn--block { display: flex; width: 100%; }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: rgba(10, 44, 71, .06); color: var(--navy); border-color: var(--navy); }
.btn--outline-light { background: transparent; color: var(--white); border-color: var(--white); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .1); border-color: var(--white); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ---------- header: two rows ---------- */
.hd { position: relative; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.hd__top { border-bottom: 1px solid var(--line); }
.hd__toprow { height: 62px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.hd .w { max-width: 1536px; width: calc(100% - 48px); }
.hd__logo { justify-self: start; color: var(--navy); }
.brand__logo { display: block; height: 36px; width: auto; color: currentColor; }
.hd__tabs { display: flex; padding: 4px; border: 1px solid var(--line); background: var(--white); }
.hd__tabs a { padding: 8px 12px; font-size: .9375rem; color: var(--navy-2); transition: background-color .15s var(--ease), color .15s var(--ease); }
.hd__tabs a:hover { background: var(--grey); color: var(--navy); }
.hd__tabs a[aria-current="page"] { background: var(--blue-soft); color: var(--navy); font-weight: 500; }
.hd__tabs a.nav-hl, .v4-home .hd__tabs a.nav-hl { background: var(--blue); color: var(--white); font-weight: 500; }
.hd__tabs a.nav-hl:hover, .v4-home .hd__tabs a.nav-hl:hover { background: var(--blue-hover); color: var(--white); }
.hd__tabs a.nav-hl:active { background: var(--blue-press); }
.menu__nav a.nav-hl { color: var(--blue); }
.hd__burger { display: none; justify-self: end; width: 44px; height: 44px; border: 0; background: none; place-items: center; }
.hd__burger i { display: block; width: 20px; height: 2px; background: var(--navy); box-shadow: 0 -6px 0 var(--navy), 0 6px 0 var(--navy); }
.hd__barrow { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hd__links { display: flex; gap: 8px; margin-left: -12px; }
.hd__links a { padding: 10px 12px; font-size: .9375rem; font-weight: 500; transition: background-color .15s var(--ease); }
.hd__links a:hover { background: var(--grey); }
.hd__links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--blue); }
.hd__tools { display: flex; align-items: center; gap: 16px; }
.lang { display: inline-flex; gap: 2px; }
.lang a { padding: 8px 9px; font-size: .875rem; font-weight: 500; color: var(--navy-2); transition: background-color .15s var(--ease); }
.lang a:hover { background: var(--grey); }
.lang a[aria-current="page"] { color: var(--navy); background: var(--blue-soft); }
.hd__icon { display: grid; place-items: center; width: 40px; height: 40px; transition: background-color .15s var(--ease); }
.hd__icon:hover { background: var(--grey); }
.hd__icon svg { width: 22px; height: 22px; fill: var(--navy); }

/* mobile menu */
.menu { position: fixed; inset: 0; z-index: 60; background: var(--white); color: var(--navy); display: flex; flex-direction: column; visibility: hidden; opacity: 0; transition: opacity .2s var(--ease), visibility 0s linear .2s; overscroll-behavior: contain; }
.menu.is-open { visibility: visible; opacity: 1; transition: opacity .2s var(--ease); }
.menu > .wrap { width: calc(100% - 32px); margin-inline: auto; display: flex; flex-direction: column; min-height: 100%; }
.menu__top { height: 62px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.menu .brand { color: var(--navy); }
.menu__close { width: 44px; height: 44px; border: 0; background: none; position: relative; }
.menu__close::before, .menu__close::after { content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 2px; background: var(--navy); transform: translate(-50%, -50%) rotate(45deg); }
.menu__close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.menu__nav { display: grid; padding: 16px 0; }
.menu__nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.25rem; font-weight: 500; }
.menu__nav a[aria-current="page"] { color: var(--blue); }
.lang--menu { margin: 16px 0; }
.menu__foot { margin-top: auto; padding: 24px 0 32px; display: grid; gap: 4px; font-size: .875rem; color: var(--navy-3); }
html.menu-open { overflow: hidden; }

/* ---------- split bands: text on one half, photo or field on the other ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; }
.split__text { display: flex; align-items: center; padding: 56px var(--pad); background: var(--white); }
.split__in { max-width: 620px; }
.split__in h2 { margin-bottom: 16px; }
.split__in > .btn { margin-top: 24px; }
.split__pic { position: relative; min-height: 420px; overflow: hidden; background: var(--grey); }
.split__pic img, .split__pic video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* home: the film fills the whole first screen; the menu floats over it as a rounded bar and the headline sits on a dark fade at the bottom */
.v4-home .hd { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: min(1480px, calc(100% - 32px)); display: flex; align-items: center; gap: 20px; padding: 8px 10px 8px 24px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 10px 30px -12px rgba(0, 12, 30, .45); }
.v4-home .hd__top, .v4-home .hd__toprow, .v4-home .hd__bar, .v4-home .hd__barrow { display: contents; }
.v4-home .hd__logo { margin-right: auto; flex-shrink: 0; }
.v4-home .brand__logo { height: 32px; }
.v4-home .hd__tabs { padding: 0; border: 0; background: none; gap: 2px; }
.v4-home .hd__tabs a, .v4-home .hd__links a { padding: 9px 12px; border-radius: 999px; font-size: .9375rem; font-weight: 500; color: var(--navy); }
.v4-home .hd__links { margin-left: 0; gap: 2px; }
.v4-home .hd__tools { margin-left: auto; gap: 6px; }
.v4-home .lang a, .v4-home .hd__icon { border-radius: 999px; }
.v4-home .hd__burger { margin-left: auto; }
.hero-film { position: relative; display: flex; align-items: flex-end; min-height: 100vh; min-height: 100svh; overflow: hidden; background: #0b1626; color: var(--white); }
.hero-film__media { position: absolute; inset: 0; }
.hero-film__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-film__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 16, 32, .94) 0%, rgba(6, 16, 32, .75) 32%, rgba(6, 16, 32, .35) 55%, rgba(6, 16, 32, 0) 75%), linear-gradient(to bottom, rgba(6, 16, 32, .35), rgba(6, 16, 32, 0) 22%), linear-gradient(to right, rgba(6, 16, 32, .7) 0%, rgba(6, 16, 32, .35) 32%, rgba(6, 16, 32, 0) 55%); }
.hero-film__in { position: relative; width: 100%; max-width: none; min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr) minmax(0, 500px); grid-template-rows: auto 1fr; padding: clamp(104px, 14vh, 124px) clamp(24px, 3vw, 56px) clamp(40px, 7vh, 80px); }
.hero-film__in > :first-child { grid-column: 1; grid-row: 1 / 3; align-self: start; }
.hero-film__in > :last-child { grid-column: 3; grid-row: 1 / 3; align-self: end; }
.hero-film h1 { margin: 0; font-family: 'Archivo', 'Inter', system-ui, sans-serif; font-size: clamp(2.5rem, 1.4rem + 3.2vw, 4.5rem); font-weight: 300; line-height: 1.04; letter-spacing: -.02em; }
.hero-film .kicker { color: rgba(255, 255, 255, .85); }
.hero-film .lead { color: rgba(255, 255, 255, .9); }
.hero-film .btns { margin-top: 24px; justify-content: flex-end; }
.hero-film :focus-visible { outline-color: var(--white); }
/* home hero text: badge, three-line headline with a highlighted middle line, live figures, accented intro; lines rise in on load */
.hero-film__in { grid-template-columns: minmax(0, 980px) minmax(0, 1fr) minmax(0, 540px); }
.hf-badge { margin-bottom: 26px; font-size: 1.0625rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #9cc2ff; }
.hero-film h1.hf-h { font-size: clamp(3.2rem, 1.4rem + 5.2vw, 6.8rem); line-height: 1.02; letter-spacing: -.028em; text-shadow: 0 2px 28px rgba(0, 8, 24, .35); }
.hf-ln { display: block; }
.hf-acc { font-weight: 400; background: linear-gradient(95deg, #7fb0ff 0%, #b9d4ff 45%, #ffffff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; }
.hf-r { padding-left: 22px; border-left: 2px solid var(--blue); }
.hf-r .lead { font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem); }
.hero-film .hf-r .btns { justify-content: flex-start; }
.hf-badge, .hf-ln, .hf-r { animation: hf-up .9s var(--ease) both; animation-delay: calc(.15s + var(--i) * .12s); }
@keyframes hf-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes hf-ping { 0% { box-shadow: 0 0 0 0 rgba(77, 141, 255, .7); } 80%, 100% { box-shadow: 0 0 0 9px rgba(77, 141, 255, 0); } }
@media (max-width: 900px) { .hf-r { padding-left: 0; border-left: 0; } }
/* shorter laptop screens: keep the whole home hero inside one screen */
@media (min-width: 901px) and (max-height: 820px) { .hero-film__in { padding-top: 104px; padding-bottom: 36px; } .hf-badge { margin-bottom: 16px; } .hero-film h1.hf-h { font-size: clamp(2.9rem, 1.2rem + 4.6vw, 5.8rem); } }
@media (min-width: 901px) and (max-height: 680px) { .hero-film h1.hf-h { font-size: clamp(2.6rem, 1.1rem + 3.9vw, 4.8rem); } }
@media (prefers-reduced-motion: reduce) { .hf-badge, .hf-ln, .hf-r { animation: none; } }
.hd__tabs a, .hd__links a { white-space: nowrap; }
@media (max-width: 1320px) {
  .v4-home .hd { padding: 6px 6px 6px 18px; }
  .v4-home .hd__tabs, .v4-home .hd__links, .v4-home .hd__tools { display: none; }
  .v4-home .hd__burger { display: grid; }
}
@media (max-width: 900px) {
  /* phones: the film sits in a 16:9 strip under the floating menu, text on navy below, so nothing important is cropped away */
  .hero-film { display: block; min-height: 0; padding-top: 84px; background: var(--navy); }
  .hero-film__media { position: relative; inset: auto; aspect-ratio: 16 / 9; }
  .hero-film__media::after { display: none; }
  .hero-film__in { min-height: 0; grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 24px; padding: 28px var(--pad) 40px; }
  .hero-film__in > :first-child, .hero-film__in > :last-child { grid-column: 1; grid-row: auto; }
  .hero-film .btns { justify-content: flex-start; }
}
.split--navy .split__text { background: var(--navy); color: var(--white); }
.split--blue .split__pic--field { display: grid; place-items: center; padding: 40px 32px; background: var(--blue); }

/* hero */
.hero { min-height: 460px; }
.hero h1 { margin-bottom: 16px; }
.hero .split__text { padding-block: 56px; padding-right: 40px; }
.hero h1 { font-size: clamp(2.125rem, 1.5rem + 1.8vw, 2.875rem); }
/* home: fill the first screen below the header */
@media (min-width: 901px) { .hero--full { min-height: calc(100vh - var(--head-h)); min-height: calc(100svh - var(--head-h)); } }
/* full-screen hero that leaves a white strip at the bottom, hinting there is more below */
@media (min-width: 901px) { .hero--full.hero--peek { min-height: calc(100vh - var(--head-h) - 48px); min-height: calc(100svh - var(--head-h) - 48px); } }

/* database preview sheet on the blue field */
.sheet { width: min(100%, 580px); padding: 22px 22px 18px; background: var(--white); box-shadow: 0 18px 40px -16px rgba(0, 20, 60, .45); }
.sheet__tbl { width: 100%; border-collapse: collapse; font-size: .8125rem; }
.sheet__tbl th { text-align: left; padding: 8px 6px; border-bottom: 2px solid var(--navy); font-weight: 600; white-space: nowrap; }
.sheet__tbl td { padding: 9px 6px; border-bottom: 1px solid var(--line); }
.sheet__tbl td:nth-child(3), .sheet__tbl td:nth-child(4) { white-space: nowrap; }
.sheet__tbl td:first-child { width: 28%; }
.sheet figcaption { margin-top: 14px; font-size: .8125rem; line-height: 1.45; color: var(--navy-3); }
.bl { display: inline-block; width: var(--w, 80px); max-width: 100%; height: .7em; background: var(--line); vertical-align: middle; }
.lk { color: var(--blue); font-weight: 600; }

.nums { display: flex; gap: 40px; margin-top: 20px; }
.nums div { display: flex; flex-direction: column-reverse; }
.nums dd { font-size: 1.75rem; font-weight: 500; line-height: 1.15; font-variant-numeric: tabular-nums; }
.nums dt { font-size: .875rem; color: var(--navy-3); }

/* ---------- intro: centred heading + text ---------- */
.intro { padding: 48px 0 52px; background: var(--white); }
.intro__in { max-width: 860px; }
.intro h2 { margin-bottom: 16px; }

/* ---------- sections ---------- */
.sec { padding: 56px 0; background: var(--white); }
.sec--grey { background: var(--grey); }
.sec--sand { background: var(--sand); }
.sec__head { max-width: 860px; margin-bottom: 28px; }
.sec__head h2 + p { margin-top: 10px; }
.sec__head--row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 32px; max-width: none; }
.sec__cta { margin-top: 28px; }

/* cards: picture on top, white body, full-width button */
.cards { display: grid; gap: 24px; }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; background: var(--white); }
.card__pic { display: block; position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--grey); }
.card__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.card__body h3 { margin-bottom: 8px; }
.card__body p { margin-bottom: 20px; }
.card__body .btn { margin-top: auto; }
.card--sand .card__body { background: var(--sand); }
.card__tag { margin-bottom: 8px; font-size: .875rem; color: var(--navy-3); }
.card__meta { display: flex; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 14px; font-size: .875rem; color: var(--navy-3); }
.card__more { color: var(--blue); font-weight: 500; }
a.card:hover h3 { text-decoration: underline; text-underline-offset: 3px; }

/* text columns */
.cols { display: grid; gap: 24px; }
.cols--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.col h3 { margin-bottom: 6px; }

/* trade figures (shared markup from build.py), shown flat */
.sb { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; }
.sb__i { display: flex; flex-direction: column; gap: 6px; padding: 20px; background: var(--white); }
.sb__f { order: 1; display: flex; align-items: baseline; gap: 6px; }
.sb__t { order: 2; font-weight: 500; }
.sb__c { order: 3; display: grid; gap: 6px; margin: 0; font-size: .9375rem; }
.sb__x { color: var(--navy-3); }
.sb__v { order: 4; margin: 10px 0 0; }
.sb__n { font-size: clamp(2rem, 1.6rem + 1.1vw, 2.5rem); font-weight: 500; line-height: 1.1; font-variant-numeric: tabular-nums; }
.sb__u { font-size: 1.125rem; color: var(--navy-2); }
.sb dd { margin: 0; }
.sb__src { margin-top: 12px; font-size: .8125rem; color: var(--navy-3); }
.sbc-cols { display: flex; align-items: flex-end; gap: 12px; height: 108px; position: relative; }
.sbc-col { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; flex: 0 1 64px; min-width: 0; }
.sbc-val { font-size: .8125rem; margin-bottom: 4px; white-space: nowrap; }
.sbc-bar { width: 100%; height: calc(var(--h) * 70px); background: var(--blue-soft); }
.sbc-col.is-key .sbc-bar { background: var(--blue); }
.sbc-lab { margin-top: 4px; font-size: .8125rem; color: var(--navy-3); white-space: nowrap; }
.sbc-tag { position: absolute; right: 0; top: 0; padding: 2px 8px; background: var(--blue-soft); font-size: .8125rem; font-weight: 600; }
.sbc-stack { display: flex; height: 24px; gap: 2px; }
.sbc-seg { width: var(--w); }
.sbc-seg--0 { background: var(--navy-3); }
.sbc-seg--1 { background: var(--blue); }
.sbc-seg--2 { background: var(--blue-soft); }
.sbc-legend { display: grid; gap: 4px; margin-top: 12px; font-size: .8125rem; }
.sbc-legend li { display: flex; align-items: center; gap: 8px; }
.sbc-legend i { width: 10px; height: 10px; flex: none; }
.sbc-legend b { margin-left: auto; font-weight: 500; }
.sbc-rows { display: grid; gap: 12px; }
.sbc-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 8px; font-size: .8125rem; }
.sbc-hbar { grid-column: 1 / -1; height: 12px; width: calc(var(--w) * 100%); background: var(--blue-soft); }
.sbc-row.is-key .sbc-hbar { background: var(--blue); }

/* ---------- closing band + footer ---------- */
.cta-band .split__in p { margin-bottom: 0; }
.cta-band .split__pic { min-height: 310px; }
.ft { padding: 48px 0 28px; background: var(--white); }
.ft .w { max-width: 1536px; width: calc(100% - 48px); }
.ft__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.ft__col h3 { margin-bottom: 12px; font-size: .875rem; font-weight: 400; color: var(--navy-3); letter-spacing: 0; }
.ft__col ul { display: grid; gap: 6px; }
.ft__col a { font-weight: 500; transition: color .15s var(--ease); }
.ft__col a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.ft__col p { line-height: 1.5; }
.ft__logo { display: inline-block; margin-bottom: 12px; color: var(--navy); }
.ft__news { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; align-items: start; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.ft__news h3 { margin-bottom: 8px; font-size: 1.25rem; }
.ft__follow { display: flex; align-items: center; gap: 16px; margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line); }
.ft__social { display: grid; place-items: center; width: 40px; height: 40px; transition: background-color .15s var(--ease); }
.ft__social:hover { background: var(--grey); }
.ft__social svg { width: 18px; height: 18px; fill: var(--navy); }
.ft__base { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.ft__logo--s { margin: 0; }
.ft__logo--s .brand__logo { height: 32px; }
.ft__base nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.ft__base nav a { font-weight: 500; }
.ft__base nav a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.ft__legal { flex: 1 0 100%; font-size: .8125rem; color: var(--navy-3); }

/* newsletter form */
.sub { display: flex; flex-wrap: wrap; gap: 8px; max-width: 560px; }
.sub input[type="email"] { flex: 1; min-width: 0; min-height: 48px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 0; background: var(--white); }
.sub input[type="email"]:focus-visible { outline: none; border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.sub button { min-height: 48px; padding: 0 20px; border: 0; background: var(--blue); color: var(--white); font-weight: 500; transition: background-color .15s var(--ease); }
.sub button:hover { background: var(--blue-hover); }
.sub__consent { flex: 1 0 100%; display: flex; gap: 10px; font-size: .8125rem; line-height: 1.5; color: var(--navy-2); cursor: pointer; }
.sub__consent input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--blue); flex: none; }
.sub__consent a { text-decoration: underline; text-underline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.ok, .err { display: none; flex: 1 0 100%; padding: 12px 14px; font-size: .875rem; }
.ok { background: #e3f4ea; }
.err { background: #fde8e8; }
.ok.is-on, .err.is-on { display: block; }

/* ---------- Chinese pages ---------- */
html:lang(zh) h1, html:lang(zh) h2, html:lang(zh) h3 { letter-spacing: 0; line-height: 1.3; }
html:lang(zh) body { line-height: 1.7; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .hd__tabs, .hd__bar { display: none; }
  .hd__toprow { grid-template-columns: 1fr auto; }
  .hd__burger { display: grid; }
  .cols--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sb { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split__pic { min-height: 0; aspect-ratio: 16 / 10; }
  .split--blue .split__pic--field { aspect-ratio: auto; }
  .cta-band .split__pic { min-height: 0; }
  .split__text { padding: 40px var(--pad); }
  .hero .split__text { padding-block: 40px; }
  .split--blue .split__pic--field { order: 2; }
  .cards--2, .cards--3 { grid-template-columns: minmax(0, 1fr); }
  .ft__cols { grid-template-columns: 1fr 1fr; }
  .ft__news { grid-template-columns: minmax(0, 1fr); }
  .intro { padding: 40px 0; }
  .sec { padding: 40px 0; }
}
@media (max-width: 600px) {
  .cols--5, .sb, .ft__cols { grid-template-columns: minmax(0, 1fr); }
  .btns .btn { width: 100%; }
  .sub { flex-direction: column; }
  .nums { gap: 32px; }
  .sheet { padding: 16px 14px; }
  .sheet__tbl th:first-child, .sheet__tbl td:first-child { display: none; }
  .sheet__tbl th, .sheet__tbl td, .sheet__tbl td:nth-child(3), .sheet__tbl td:nth-child(4) { white-space: normal; }
  .split--blue .split__pic--field { padding: 32px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
}
@media print {
  .hd, .menu, .ft, .cta-band { display: none !important; }
}

/* ---------- services page ---------- */
.stages-band { padding: 64px 0 32px; background: var(--white); border-bottom: 1px solid var(--line); }
.stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stage { display: grid; gap: 4px; height: 100%; padding: 16px 20px; background: var(--grey); border-bottom: 3px solid transparent; transition: background-color .15s var(--ease), border-color .15s var(--ease); }
.stage:hover { background: var(--blue-soft); border-bottom-color: var(--blue); }
.stage__n { font-size: .875rem; color: var(--navy-3); }
.stage__t { font-size: 1.25rem; font-weight: 500; line-height: 1.3; }
.stage__c { font-size: .875rem; color: var(--blue); font-weight: 500; }
.stages--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* Dla chińskich partnerów: the two ways to work with us, as large photo cards */
.cpw__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.cpw__card { position: relative; display: flex; flex-direction: column; background: var(--grey); color: var(--navy); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.cpw__card::before { content: ""; position: absolute; inset: 0 0 auto; z-index: 2; height: 4px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.cpw__card:hover, .cpw__card:focus-visible { transform: translateY(-4px); box-shadow: 0 26px 46px -24px rgba(10, 44, 71, .45); }
.cpw__card:hover::before, .cpw__card:focus-visible::before { transform: scaleX(1); }
.cpw__pic { position: relative; display: block; aspect-ratio: 16 / 5.5; overflow: hidden; background: var(--navy); }
.cpw__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cpw__pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 18, 36, .75), rgba(6, 18, 36, .05) 60%); }
.cpw__card:hover .cpw__pic img { transform: scale(1.05); }
.cpw__num { position: absolute; left: 22px; bottom: 10px; z-index: 1; font-size: clamp(2.25rem, 1.8rem + 1.4vw, 3.25rem); font-weight: 300; line-height: 1; color: var(--white); letter-spacing: -.03em; }
.cpw__body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 18px 22px 20px; }
.cpw__k { font-size: .875rem; color: var(--navy-3); }
.cpw__t { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); font-weight: 500; line-height: 1.2; }
.cpw__d { font-size: .9375rem; color: var(--navy-2); }
.cpw__pts { display: grid; gap: 5px; margin: 6px 0 2px; }
.cpw__pts li { display: flex; align-items: center; gap: 8px; font-size: .9375rem; font-weight: 500; }
.cpw__pts svg { flex-shrink: 0; width: 17px; height: 17px; padding: 3px; background: var(--blue); fill: none; stroke: var(--white); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.cpw__go { margin-top: auto; padding-top: 8px; font-size: .9375rem; color: var(--blue); font-weight: 600; }
.cpw__go span { display: inline-block; transition: transform .25s var(--ease); }
.cpw__card:hover .cpw__go span { transform: translateY(3px); }
@media (max-width: 900px) { .cpw__grid { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .cpw__card, .cpw__card::before, .cpw__pic img, .cpw__go span { transition: none; } .cpw__card:hover { transform: none; } .cpw__card:hover .cpw__pic img { transform: none; } }
/* Dla chińskich partnerów */
.cp-n { font-size: .875rem; font-weight: 600; color: var(--blue); }
.cp-ct { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; color: var(--navy-2); }
.cp-ct b { color: var(--navy); font-weight: 600; }
.svlist.svlist--light, .svlist.svlist--light li { border-color: rgba(255, 255, 255, .18); }
.svlist.svlist--light p { color: rgba(255, 255, 255, .8); }
.split--stage .split__in > .btn { margin-top: 24px; }
.tcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tcard { display: flex; flex-direction: column; gap: 8px; padding: 24px 20px; background: var(--white); }
.sec:not(.sec--sand) .tcard { background: var(--sand); }
.tcard__get { margin-top: auto !important; padding-top: 16px; border-top: 1px solid var(--line); }
.tcard__get b { display: block; margin-bottom: 2px; font-size: .875rem; font-weight: 600; color: var(--blue); }
.pkgs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1180px) { .pkgs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pkg { display: flex; flex-direction: column; gap: 10px; padding: 24px 20px 20px; background: var(--white); }
.pkg__n { font-size: .875rem; color: var(--navy-3); }
.pkg dl { display: grid; gap: 10px; flex: 1; }
.pkg dt { font-size: .875rem; color: var(--navy-3); }
.pkg dd { margin-top: 2px; }
.pkg__price { padding-top: 10px; border-top: 1px solid var(--line); font-size: 1.25rem; font-weight: 500; }
.intro--center { text-align: center; }
.intro--center .intro__in { max-width: 760px; }
.intro--center h2 { margin-bottom: 12px; }
.intro--center .btn { margin-top: 8px; }
@media (max-width: 1180px) { .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .tcards, .pkgs { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .stages { grid-template-columns: minmax(0, 1fr); } .stages-band { padding: 32px 0; } }

/* services: stages as alternating split bands */
.split--stage .split__text { align-items: flex-start; padding-block: 56px; }
.split--stage .split__in h2 { margin-bottom: 12px; }
.split--stage .lead { margin-bottom: 4px; }
.svlist { display: grid; margin-top: 20px; border-top: 1px solid var(--line); }
.svlist li { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.svlist h3 { font-size: 1.25rem; }
.svlist p + p { margin-top: 4px; }
.svlist__get b { display: block; font-size: .875rem; font-weight: 600; color: var(--blue); }
.split--stage + .split--stage { border-top: 1px solid var(--line); }
.sheet--doc { width: min(100%, 400px); padding: 32px 28px 28px; }
.sheet__logo { display: block; color: var(--navy); margin-bottom: 24px; }
.sheet__logo .brand__logo { height: 28px; }
.sheet__t { font-size: 1.75rem; font-weight: 600; line-height: 1.15; margin-bottom: 16px; }
.sheet__list { display: grid; gap: 8px; }
.sheet__list li { display: grid; gap: 4px; padding: 14px 16px; background: var(--blue); color: var(--white); font-size: .875rem; line-height: 1.45; }
.sheet__list li:nth-child(n+2) { background: var(--sand); color: var(--navy); }
.sheet__list b { font-size: 1rem; font-weight: 600; }
@media (min-width: 901px) { .split--rev .split__pic { order: -1; } }
@media (max-width: 900px) { .split--stage .split__text { padding-block: 56px; } .split--stage .split__pic--field { order: 2; } }

/* ---------- database landing ---------- */
.hero__note { margin-top: 20px; font-size: .875rem; color: rgba(255, 255, 255, .78); }
.figs4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.figs4 div { display: flex; flex-direction: column-reverse; gap: 4px; padding: 20px; background: var(--white); }
.figs4 dd { font-size: clamp(2rem, 1.6rem + 1.1vw, 2.5rem); font-weight: 500; line-height: 1.1; font-variant-numeric: tabular-nums; }
.figs4 dt { color: var(--navy-2); }
/* database figures: clickable cards that count up, show their share of the base and lift on hover (main.js section 7b) */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.kpi { position: relative; display: flex; flex-direction: column; padding: 22px 22px 18px; background: var(--white); color: var(--navy); box-shadow: 0 1px 0 rgba(10, 44, 71, .06); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.kpi::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.kpi:hover, .kpi:focus-visible { transform: translateY(-4px); box-shadow: 0 18px 34px -18px rgba(10, 44, 71, .35); }
.kpi:hover::before, .kpi:focus-visible::before { transform: scaleX(1); }
.kpi__ic { position: absolute; top: 20px; right: 20px; display: grid; place-items: center; width: 42px; height: 42px; background: var(--blue-soft); transition: background-color .25s var(--ease); }
.kpi__ic svg { width: 22px; height: 22px; fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; transition: stroke .25s var(--ease); }
.kpi:hover .kpi__ic, .kpi:focus-visible .kpi__ic { background: var(--blue); }
.kpi:hover .kpi__ic svg, .kpi:focus-visible .kpi__ic svg { stroke: var(--white); }
.kpi__n { font-size: clamp(2.25rem, 1.7rem + 1.4vw, 3rem); font-weight: 500; line-height: 1.05; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.kpi__l { margin-top: 4px; color: var(--navy-2); }
.kpi__bar { position: relative; height: 4px; margin-top: 18px; background: var(--grey); overflow: hidden; }
.kpi__bar i { position: absolute; inset: 0 auto 0 0; width: var(--p); background: var(--blue); transition: width 1.2s var(--ease) .15s; }
.kpi__bar--seg i { background: repeating-linear-gradient(90deg, var(--blue) 0 calc(100% / var(--n, 33) - 2px), transparent calc(100% / var(--n, 33) - 2px) calc(100% / var(--n, 33))); }
[data-kpis][data-armed]:not(.is-in) .kpi__bar i { width: 0; }
.kpi__m { display: flex; justify-content: space-between; gap: 8px; margin-top: 10px; font-size: .875rem; color: var(--navy-3); white-space: nowrap; }
.kpi__go { color: var(--blue); font-weight: 500; opacity: 0; transform: translateX(-6px); transition: opacity .2s var(--ease), transform .2s var(--ease); }
.kpi:hover .kpi__go, .kpi:focus-visible .kpi__go { opacity: 1; transform: none; }
@media (hover: none) { .kpi__go { opacity: 1; transform: none; } }
@media (max-width: 1180px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .kpis { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .kpi, .kpi::before, .kpi__bar i, .kpi__go { transition: none; } .kpi:hover { transform: none; } }
.prev { position: relative; }
.tablewrap { overflow-x: auto; border: 1px solid var(--line); background: var(--white); }
.tbl { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.tbl th { text-align: left; padding: 14px 12px; border-bottom: 2px solid var(--navy); font-size: .875rem; font-weight: 600; white-space: nowrap; background: var(--white); }
.tbl td { padding: 13px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; vertical-align: top; }
.tbl tbody tr:hover { background: var(--grey); }
.tbl__no { color: var(--navy-3); font-variant-numeric: tabular-nums; }
html:lang(zh) .tbl th, html:lang(zh) .tbl td { word-break: keep-all; }
.bl--p { background: var(--blue-soft); }
.prev__hint { font-size: .8125rem; color: var(--navy-3); }
.prev__fade { position: absolute; left: 1px; right: 1px; bottom: 1px; height: 64%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 16px; padding: 0 16px 32px; background: linear-gradient(rgba(255,255,255,0), var(--white) 60%); text-align: center; }
.prev__fade p { font-size: 1.125rem; font-weight: 500; }
.fields { display: grid; gap: 6px; }
.fields li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 12px; background: var(--sand); font-size: .875rem; }
.fields li.is-free { background: var(--blue); color: var(--white); }
.fields b { font-weight: 600; white-space: nowrap; }
.fields li:not(.is-free) b { color: var(--blue); }
/* "Co zawiera baza": compact two-column field tiles, free vs Premium, with figures and two actions on the text side */
.fx__card { width: min(100%, 600px); padding: 28px 28px 24px; }
.fx__card .sheet__logo { margin-bottom: 20px; }
.fx__g { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--navy-2); }
.fx__grid + .fx__g { margin-top: 20px; }
.fx__dot { width: 8px; height: 8px; background: var(--blue); }
.fx__dot--p { background: var(--navy-3); }
.fx__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.fx__grid li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; background: var(--sand); font-size: .875rem; transition: transform .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease); }
.fx__grid li.is-free { background: var(--blue); color: var(--white); }
.fx__grid li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.fx__grid svg { flex-shrink: 0; width: 16px; height: 16px; fill: none; stroke: var(--navy-3); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .2s var(--ease); }
.fx__grid li.is-free svg { stroke: var(--white); }
.fx__grid li:hover { transform: translateY(-2px); box-shadow: 0 8px 16px -10px rgba(10, 44, 71, .45); }
.fx__grid li:not(.is-free):hover { background: var(--blue-soft); }
.fx__grid li:not(.is-free):hover svg { stroke: var(--blue); }
.fx__nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 28px 0 8px; }
.fx__nums div { display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 16px; border-top: 3px solid var(--blue); background: var(--grey); }
.fx__nums div + div { border-top-color: var(--navy-3); }
.fx__nums b { font-size: clamp(2.25rem, 1.8rem + 1.2vw, 3rem); font-weight: 500; line-height: 1; }
.fx__nums span { font-size: .9375rem; color: var(--navy-2); }
@media (max-width: 600px) { .fx__card { padding: 22px 16px 18px; } .fx__grid { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .fx__grid li { transition: none; } .fx__grid li:hover { transform: none; } }
.geo { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: start; }
.geo__box { padding: 24px; background: var(--white); }
.geo__box h3 { margin-bottom: 8px; }
.bars { display: grid; gap: 12px; }
.bars li { display: grid; grid-template-columns: 9em 1fr 4.5em; gap: 16px; align-items: center; }
.bars__n { font-weight: 500; }
.bars__b { height: 12px; background: var(--grey); }
.bars__b i { display: block; height: 100%; width: var(--w); background: var(--blue); }
.bars b { text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }
.cats li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cats b { font-weight: 500; font-variant-numeric: tabular-nums; color: var(--navy-2); }
.geo__more { margin-top: 10px; font-size: .875rem; color: var(--navy-3); }
.cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.col__n { margin-bottom: 4px; font-size: .875rem; font-weight: 600; color: var(--blue); }
.plans2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
.plan2 { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--line); background: var(--white); }
.plan2--navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.plan2__price { font-size: 1.25rem; font-weight: 500; color: var(--blue); }
.plan2--navy .plan2__price { color: #8cb8ff; }
.ticks { display: grid; gap: 6px; flex: 1; margin-bottom: 6px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .35em; width: 14px; height: 8px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.plan2--navy .ticks li::before { border-color: #8cb8ff; }
.plan2--navy .btn { background: var(--blue); }
.faqw { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 20px 56px; align-items: start; }
.acc details { border-bottom: 1px solid var(--line-strong); background: transparent; }
.acc details:first-child { border-top: 1px solid var(--line-strong); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 16px; font-size: 1.125rem; font-weight: 500; transition: background-color .15s var(--ease); }
.acc summary:hover { background: rgba(10, 44, 71, .05); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s var(--ease); }
.acc details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.acc details p { padding: 0 16px 16px; max-width: 70ch; }
@media (max-width: 1180px) { .figs4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .geo, .plans2, .faqw, .cols--3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .figs4 { grid-template-columns: minmax(0, 1fr); } .bars li { grid-template-columns: 7em 1fr 4em; } .geo__box { padding: 24px 16px; } }

/* ---------- buttons that open the map ---------- */
.mapbtn { margin-top: 16px; }
.btn--map { gap: 10px; background: var(--white); color: var(--navy); border-color: var(--navy); }
.btn--map:hover { background: var(--blue-soft); color: var(--navy); border-color: var(--navy); }
.btn--map svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.geo__box .mapbtn { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }

/* ---------- full-screen supplier map (mapa.html) ---------- */
.mp { margin: 0; height: 100dvh; overflow: hidden; background: #cfe3f8; }
.mp__stage { position: relative; height: 100dvh; overflow: hidden; touch-action: none; -webkit-user-select: none; user-select: none; }
.mp__svg { display: block; width: 100%; height: 100%; }
.mp__pv { fill: #ffffff; stroke: #b3cfec; stroke-width: .8px; vector-effect: non-scaling-stroke; stroke-linejoin: round; transition: fill .15s var(--ease); }
.mp__pv.has { cursor: pointer; }
.mp__pv.has:hover { fill: #eef5fd; }
.mp__labels text { font-family: var(--font); font-size: calc(11px / var(--k, 1)); fill: #9db6cf; text-anchor: middle; pointer-events: none; }
.mp__dot circle { fill: var(--blue); fill-opacity: .9; stroke: #ffffff; stroke-width: calc(1.5px / var(--k, 1)); transition: fill .15s var(--ease); }
.mp__dot:hover circle, .mp__dot:focus-visible circle { fill: var(--navy); }
.mp__dot:focus-visible { outline: none; }
.mp__dot:focus-visible circle { stroke: var(--navy); stroke-width: calc(3px / var(--k, 1)); }
.mp__logo { position: absolute; left: 32px; top: 28px; color: var(--navy); }
.mp__logo .brand__logo { height: 40px; }
.mp__pill { position: absolute; left: 50%; top: 28px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; max-width: calc(100% - 340px); height: 52px; padding: 0 8px 0 20px; border-radius: 999px; background: rgba(255, 255, 255, .92); box-shadow: 0 2px 10px rgba(10, 44, 71, .1); }
.mp__pill svg { width: 22px; height: 22px; flex: none; fill: var(--navy); }
.mp__pill select { min-width: 0; max-width: 100%; height: 40px; padding: 0 30px 0 4px; border: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230a2c47' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 8px center; color: var(--navy); font-size: 1.125rem; font-weight: 500; appearance: none; -webkit-appearance: none; cursor: pointer; text-overflow: ellipsis; }
.mp__pill select:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.mp__round { display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--navy); font-size: 1.75rem; font-weight: 300; line-height: 1; box-shadow: 0 2px 10px rgba(10, 44, 71, .1); transition: background-color .15s var(--ease); }
.mp__round:hover { background: var(--white); }
.mp__round svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.mp__tr { position: absolute; right: 32px; top: 28px; display: flex; gap: 12px; }
.mp__zoom { position: absolute; right: 32px; bottom: 40px; display: grid; gap: 16px; }
.mp__legend { position: absolute; left: 32px; bottom: 40px; display: grid; gap: 14px; padding: 18px 20px; background: rgba(255, 255, 255, .94); box-shadow: 0 2px 10px rgba(10, 44, 71, .1); font-size: 1.0625rem; color: var(--navy); }
.mp__legend li { display: flex; align-items: center; gap: 8px; }
.mp__lg { display: inline-block; flex: none; border-radius: 50%; background: var(--blue); }
.mp__lg--s { width: 10px; height: 10px; }
.mp__lg--m { width: 15px; height: 15px; }
.mp__lg--l { width: 20px; height: 20px; margin-right: 8px; }
.mp__lg--land { width: 28px; height: 18px; border-radius: 2px; background: #fff; border: 1px solid #a9c8ea; margin-right: 8px; }
.mp__sum { padding-top: 10px; border-top: 1px solid #a9c8ea; }
.mp__sum b { font-weight: 600; font-variant-numeric: tabular-nums; }
.mp__panel { position: absolute; right: 32px; top: 96px; width: min(360px, calc(100% - 32px)); padding: 24px; background: var(--white); box-shadow: 0 10px 30px rgba(10, 44, 71, .18); color: var(--navy); }
.mp__panel h2 { margin-bottom: 12px; font-size: 1.25rem; }
.mp__panel p { font-size: .9375rem; }
.mp__tip { position: absolute; left: 0; top: 0; z-index: 5; display: grid; gap: 2px; min-width: 150px; padding: 10px 14px; background: var(--navy); color: var(--white); font-size: .9375rem; line-height: 1.35; pointer-events: none; }
.mp__tip[hidden] { display: none; }
.mp__tip b { font-size: 1rem; }
.mp__tip small { font-size: .8125rem; color: #b9cde2; }
@media (max-width: 900px) {
  .mp__logo { left: 16px; top: 16px; }
  .mp__logo .brand__logo { height: 32px; }
  .mp__pill { top: auto; bottom: 16px; left: 16px; right: 84px; transform: none; max-width: none; height: 48px; }
  .mp__pill select { font-size: 1rem; width: 100%; }
  .mp__tr { right: 16px; top: 16px; }
  .mp__round { width: 44px; height: 44px; }
  .mp__zoom { right: 16px; bottom: 16px; gap: 10px; }
  .mp__legend { left: 16px; top: 72px; bottom: auto; padding: 10px 12px; gap: 8px; font-size: .875rem; }
  .mp__panel { right: 16px; top: 72px; }
}

/* region around China and transport corridors */
.mp__ct { fill: #ffffff; stroke: #b3cfec; stroke-width: .8px; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.mp__cn { fill: #ffffff; }
.mp__codes text { font-family: var(--font); font-size: calc(13px / var(--k, 1)); fill: #b2c4d6; text-anchor: middle; letter-spacing: .04em; }
.mp__sea path, .mp__rail path { fill: none; stroke: var(--blue); stroke-width: 1.8px; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.mp__rail path { stroke-dasharray: 7 6; stroke-linecap: butt; }
.mp__node { fill: #ffffff; stroke: var(--blue); stroke-width: 2px; vector-effect: non-scaling-stroke; r: calc(4.5px / var(--k, 1)); }
.mp__edge { font-family: var(--font); font-size: calc(15px / var(--k, 1)); font-weight: 500; fill: var(--navy); paint-order: stroke; stroke: #cfe3f8; stroke-width: calc(4px / var(--k, 1)); }
.mp__edge--r { text-anchor: end; }
.mp__lg--sea, .mp__lg--rail { width: 28px; height: 0; border-radius: 0; background: none; border-top: 2px solid var(--blue); margin-right: 8px; }
.mp__lg--rail { border-top-style: dashed; }
.mp__lg--node { width: 12px; height: 12px; background: #fff; border: 2px solid var(--blue); margin: 0 16px 0 8px; }
.mp__border path { fill: none; stroke: var(--navy-3); stroke-width: 1.4px; vector-effect: non-scaling-stroke; stroke-linejoin: round; pointer-events: none; }
/* database hero: the map picture opens the full map */
.split__pic--map { display: block; background: #cfe3f8; }
.split__pic--map img { object-position: 48% 46%; transition: opacity .15s var(--ease); }
.maptag { position: absolute; right: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; background: var(--white); color: var(--navy); font-weight: 500; box-shadow: 0 2px 10px rgba(10, 44, 71, .12); transition: background-color .15s var(--ease); }
.maptag svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.split__pic--map:hover .maptag { background: var(--blue-soft); }
.split__pic--map:focus-visible { outline-offset: -4px; }
@media (max-width: 600px) { .maptag { right: 12px; bottom: 12px; padding: 8px 12px; font-size: .875rem; } .maptag svg { width: 16px; height: 16px; } }
/* long sentence used as a section heading: one size down */

/* ---------- about page ---------- */
.todo { margin-top: 16px; color: var(--blue); font-style: italic; font-size: .9375rem; }
.mission { background: var(--white); }
.mission__t { font-size: clamp(1.375rem, 1.1rem + .9vw, 1.875rem); font-weight: 500; line-height: 1.35; }
.tcards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.teams { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.team { position: relative; overflow: hidden; display: grid; gap: 8px; align-content: start; min-height: 200px; padding: 24px; background: var(--grey); }
.team--navy { background: var(--navy); color: var(--white); }
.team__flag { position: absolute; right: 16px; bottom: -18px; font-size: 6rem; font-weight: 700; line-height: 1; opacity: .07; }
.team p:not(.team__flag) { max-width: 52ch; }
.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.person { display: grid; gap: 2px; }
.person__ph { display: grid; place-items: center; aspect-ratio: 4 / 3; margin-bottom: 8px; background: var(--grey); }
.person__ph svg { width: 30%; fill: none; stroke: var(--navy-3); stroke-width: 1.2; stroke-linecap: round; }
.person b { font-weight: 600; }
.person > span:last-child { font-size: .9375rem; color: var(--navy-2); }
.sheet--map { width: min(100%, 760px); padding: clamp(16px, 2.2vw, 28px); }
.split--blue .split__pic--field:has(.sheet--map) { padding: clamp(20px, 3vw, 40px); }
.sheet--map .am { width: 100%; height: auto; overflow: visible; }
.am__pv { fill: #eef3f8; stroke: #c3d4e6; stroke-width: 1; stroke-linejoin: round; }
.am__pv.is-hub { fill: var(--blue); stroke: var(--blue); }
.am__hub line { stroke: var(--navy-3); stroke-width: 1.4; }
.am__c { fill: var(--navy); }
.am__r { fill: none; stroke: var(--navy); stroke-width: 1.6; opacity: .5; }
.am__hub text { font-family: var(--font); font-size: 34px; font-weight: 600; fill: var(--navy); }
.am__hub .am__s { font-size: 24px; font-weight: 400; fill: var(--navy-2); }
/* map interaction: every province reacts to the cursor; a hub (province or its label) lights up and the other two step back */
.am__pv { transition: fill .2s var(--ease), opacity .2s var(--ease); }
.am__pv:not(.is-hub):hover { fill: #dce6f1; }
.am__pv.is-hub, .am__hub { cursor: default; transition: fill .2s var(--ease), opacity .25s var(--ease), filter .25s var(--ease); }
.am__hit { fill: transparent; }
.am__hub line { transition: stroke .2s var(--ease), stroke-width .2s var(--ease); }
.am__hub text { transition: fill .2s var(--ease); }
.am__r { transform-box: fill-box; transform-origin: center; }
.am__hub:focus { outline: none; }
.am:has([data-h]:hover, .am__hub:focus-visible) .am__pv.is-hub, .am:has([data-h]:hover, .am__hub:focus-visible) .am__hub { opacity: .35; }
.am:has([data-h="Jiangsu"]:hover, .am__hub[data-h="Jiangsu"]:focus-visible) .am__pv.is-hub[data-h="Jiangsu"], .am:has([data-h="Jiangsu"]:hover, .am__hub[data-h="Jiangsu"]:focus-visible) .am__hub[data-h="Jiangsu"] { opacity: 1; }
.am:has([data-h="Jiangsu"]:hover, .am__hub[data-h="Jiangsu"]:focus-visible) .am__pv.is-hub[data-h="Jiangsu"] { fill: #0d47c9; filter: drop-shadow(0 6px 10px rgba(13, 40, 110, .35)); }
.am:has([data-h="Jiangsu"]:hover, .am__hub[data-h="Jiangsu"]:focus-visible) .am__hub[data-h="Jiangsu"] line { stroke: var(--blue); stroke-width: 2.6; }
.am:has([data-h="Jiangsu"]:hover, .am__hub[data-h="Jiangsu"]:focus-visible) .am__hub[data-h="Jiangsu"] text { fill: var(--blue); }
.am:has([data-h="Jiangsu"]:hover, .am__hub[data-h="Jiangsu"]:focus-visible) .am__hub[data-h="Jiangsu"] .am__r { opacity: 1; stroke: var(--blue); animation: am-pulse 1.4s var(--ease) infinite; }
.am:has([data-h="Zhejiang"]:hover, .am__hub[data-h="Zhejiang"]:focus-visible) .am__pv.is-hub[data-h="Zhejiang"], .am:has([data-h="Zhejiang"]:hover, .am__hub[data-h="Zhejiang"]:focus-visible) .am__hub[data-h="Zhejiang"] { opacity: 1; }
.am:has([data-h="Zhejiang"]:hover, .am__hub[data-h="Zhejiang"]:focus-visible) .am__pv.is-hub[data-h="Zhejiang"] { fill: #0d47c9; filter: drop-shadow(0 6px 10px rgba(13, 40, 110, .35)); }
.am:has([data-h="Zhejiang"]:hover, .am__hub[data-h="Zhejiang"]:focus-visible) .am__hub[data-h="Zhejiang"] line { stroke: var(--blue); stroke-width: 2.6; }
.am:has([data-h="Zhejiang"]:hover, .am__hub[data-h="Zhejiang"]:focus-visible) .am__hub[data-h="Zhejiang"] text { fill: var(--blue); }
.am:has([data-h="Zhejiang"]:hover, .am__hub[data-h="Zhejiang"]:focus-visible) .am__hub[data-h="Zhejiang"] .am__r { opacity: 1; stroke: var(--blue); animation: am-pulse 1.4s var(--ease) infinite; }
.am:has([data-h="Guangdong"]:hover, .am__hub[data-h="Guangdong"]:focus-visible) .am__pv.is-hub[data-h="Guangdong"], .am:has([data-h="Guangdong"]:hover, .am__hub[data-h="Guangdong"]:focus-visible) .am__hub[data-h="Guangdong"] { opacity: 1; }
.am:has([data-h="Guangdong"]:hover, .am__hub[data-h="Guangdong"]:focus-visible) .am__pv.is-hub[data-h="Guangdong"] { fill: #0d47c9; filter: drop-shadow(0 6px 10px rgba(13, 40, 110, .35)); }
.am:has([data-h="Guangdong"]:hover, .am__hub[data-h="Guangdong"]:focus-visible) .am__hub[data-h="Guangdong"] line { stroke: var(--blue); stroke-width: 2.6; }
.am:has([data-h="Guangdong"]:hover, .am__hub[data-h="Guangdong"]:focus-visible) .am__hub[data-h="Guangdong"] text { fill: var(--blue); }
.am:has([data-h="Guangdong"]:hover, .am__hub[data-h="Guangdong"]:focus-visible) .am__hub[data-h="Guangdong"] .am__r { opacity: 1; stroke: var(--blue); animation: am-pulse 1.4s var(--ease) infinite; }
@keyframes am-pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .am__r { animation: none !important; } }
.intel__h { margin: 20px 0 8px; font-size: 1.25rem; }
.intel { display: grid; border-top: 1px solid var(--line); }
.intel li { display: grid; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.intel b { font-weight: 600; }
.intel span { color: var(--navy-2); }
.intel__n { margin-top: 14px; }
@media (max-width: 1180px) { .tcards--4, .people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .teams { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .tcards--4 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- news page ---------- */
.nlband { padding: 32px 0; background: var(--grey); }
.nlband__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px 48px; align-items: center; }
.nlband h2 { margin-bottom: 4px; font-size: 1.5rem; }
.warnlist { display: grid; gap: 8px; counter-reset: w; }
.warnlist li { counter-increment: w; position: relative; padding: 12px 14px 12px 46px; background: var(--sand); font-size: .875rem; line-height: 1.45; }
.warnlist li:first-child { background: var(--blue); color: var(--white); }
.warnlist li::before { content: counter(w); position: absolute; left: 14px; top: 11px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: var(--white); font-size: .8125rem; font-weight: 600; }
.warnlist li:first-child::before { background: var(--white); color: var(--blue); }
.warnlist b { display: block; font-size: .9375rem; }
.topics4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.topic { display: flex; align-items: flex-end; min-height: 140px; padding: 20px; background: var(--white); border-bottom: 3px solid var(--blue); font-size: 1.125rem; font-weight: 500; line-height: 1.35; }
@media (max-width: 1180px) { .topics4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .nlband__in { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .topics4 { grid-template-columns: minmax(0, 1fr); } .topic { min-height: 0; } }

/* ---------- contact page ---------- */
.hero--short { min-height: 380px; }
.ctgrid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: start; }
.ctform { padding: 32px; background: var(--white); }
.ctform h2 { margin-bottom: 20px; }
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .9375rem; font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: 0; background: var(--white); color: var(--navy); font-size: 1rem; transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230a2c47' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 14px center; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--navy); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.note { font-size: .875rem; color: var(--navy-2); }
.legal-note { font-size: .8125rem; line-height: 1.5; color: var(--navy-3); }
.legal-note a, .note a { text-decoration: underline; text-underline-offset: 2px; }
.ctside { display: grid; gap: 24px; }
.contact-data { display: grid; gap: 10px; padding: 24px; background: var(--navy); color: var(--white); }
.contact-data .label { font-size: .875rem; font-weight: 500; color: #9fc2ff; }
.contact-data p { margin: 0; line-height: 1.5; }
.contact-data a { color: var(--white); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); text-underline-offset: 3px; transition: color .15s var(--ease), text-decoration-color .15s var(--ease); }
.contact-data a:hover { color: #9fc2ff; text-decoration-color: #9fc2ff; }
.cp-ct a:hover b { color: var(--blue); }
.contact-data__note { display: inline-block; margin-top: 4px; font-size: .8125rem; color: rgba(255, 255, 255, .7); }
.ctnext { padding: 24px; background: var(--white); }
.ctnext h3 { margin-bottom: 12px; font-size: 1.25rem; }
.after { display: grid; gap: 10px; counter-reset: a; }
.after li { counter-increment: a; position: relative; padding-left: 36px; }
.after li::before { content: counter(a); position: absolute; left: 0; top: 0; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: var(--white); font-size: .8125rem; font-weight: 600; }
@media (max-width: 900px) { .ctgrid { grid-template-columns: minmax(0, 1fr); } .ctform { padding: 24px 16px; } }
/* supplier questionnaire (zgloszenie-dostawcy.html): fields grouped in fieldsets, two columns on wide screens */
.fset { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; margin: 0 0 10px; padding: 0; border: 0; min-width: 0; }
.fset legend { grid-column: 1 / -1; float: left; width: 100%; margin-bottom: 4px; padding: 0 0 8px; border-bottom: 1px solid var(--line); font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.fset legend + * { clear: left; }
.field--file input[type=file] { min-height: 0; padding: 12px 14px; border-style: dashed; background: var(--grey); cursor: pointer; }
.field--file input[type=file]::file-selector-button { margin-right: 14px; padding: 8px 14px; border: 1px solid var(--navy); border-radius: 0; background: var(--white); color: var(--navy); font: inherit; font-size: .9375rem; cursor: pointer; transition: background-color .15s var(--ease), color .15s var(--ease); }
.field--file input[type=file]:hover::file-selector-button { background: var(--navy); color: var(--white); }
.field--file input[type=file]:active::file-selector-button { transform: scale(.98); }
.field--file .note { margin: 0; font-size: .8125rem; color: var(--navy-3); }
.ctnext .svlist { margin-top: 0; }
.ctnext .svlist h3 { font-size: 1rem; }
.ctnext .svlist p { font-size: .9375rem; color: var(--navy-2); }
.ctnext .svlist li:last-child { border-bottom: 0; padding-bottom: 0; }
@media (max-width: 640px) { .fset { grid-template-columns: minmax(0, 1fr); } }


/* =====================================================================
   MEMBERS AREA + LEGAL PAGES in design v4
   The shared page template (.page / .page__head) and the members/legal
   components, ported from the previous stylesheet onto v4 tokens.
   ===================================================================== */
body.v4 {
  --bg: #ffffff; --bg-2: var(--grey); --bg-3: #e2e8ed; --bg-4: #d3dbe2;
  --ink: var(--navy); --ink-2: var(--navy-2); --ink-3: var(--navy-3);
  --accent: var(--blue); --accent-2: var(--blue-hover); --accent-ink: var(--blue); --accent-rgb: 28, 96, 232;
  --ok: #1f8a55; --danger: #c62828;
  --r: 0; --r-s: 0; --head-h: 132px;
  --t-body: 1rem; --t-small: .875rem; --t-h3: 1.25rem; --t-h2: clamp(1.625rem, 1.3rem + 1vw, 2.25rem); --t-h1: clamp(2rem, 1.5rem + 1.6vw, 2.75rem);
  --map-0: #eef3f8; --map-1: #d6e5f6; --map-2: #a9c8ef; --map-3: #6f9ff0; --map-4: #3a78ee; --map-5: #0d3b9e;
  --map-line: rgba(10, 44, 71, .25);
}
.wrap { width: calc(100% - var(--pad) * 2); max-width: var(--max); margin-inline: auto; }
.h-display, .h-big, .h-section, .h-sub { font-weight: 500; letter-spacing: -.01em; }
.h-big, .page__head h1 { font-size: var(--t-h1); line-height: 1.15; }
.h-section { font-size: var(--t-h2); line-height: 1.2; }
.h-sub { font-size: 1.25rem; line-height: 1.3; }
.copy { font-size: 1.0625rem; line-height: 1.55; max-width: 60ch; }
.text-link { color: var(--blue); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.text-link:hover { color: var(--blue-hover); }
button.text-link { border: 0; background: none; padding: 0; cursor: pointer; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: rgba(10, 44, 71, .06); color: var(--navy); border-color: var(--navy); }
.btn--danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn--danger:hover { background: #9f1f1f; border-color: #9f1f1f; }
.sh { display: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; color: var(--navy-2); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.check a { text-decoration: underline; text-underline-offset: 2px; }
.alert { padding: 12px 16px; background: var(--blue-soft); color: var(--navy); font-size: .9375rem; margin-bottom: 16px; }
.alert p + p { margin-top: 4px; }
.inline { display: inline; }

/* page template: navy title band, then content on white */
.page { padding: 0 0 56px; background: var(--white); }
.page .page__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 12px 48px; align-items: end;
  margin: 0 calc(50% - 50vw) 40px; padding: 44px calc(50vw - 50%) 40px; background: var(--navy); color: var(--white); border: 0; }
.page__head > * { grid-column: 1; }
.page__head > .copy { grid-column: 2; grid-row: 1; color: rgba(255, 255, 255, .86); }
.page__head > .dtype { grid-row: auto; color: #9fc2ff; }
.page__head .text-link { color: #9fc2ff; }
.page__head h1 { max-width: 22ch; }
.back { margin-bottom: 20px; }
.block { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 16px 48px; padding: 32px 0; border-top: 1px solid var(--line); }
.block__side { display: grid; gap: 12px; align-content: start; }
.block__body { display: grid; gap: .7em; max-width: 70ch; align-content: start; }
.cta { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 12px 40px; align-items: end; margin-top: 40px; padding: 32px; background: var(--navy); color: var(--white); }
.cta .h-section { grid-row: span 2; }
.cta .btn { justify-self: start; }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 500; }

/* ---------- Members area ---------- */
.auth-grid { display: grid; gap: 40px clamp(40px, 6vw, 104px); align-items: start; }
.authbox { padding: clamp(24px, 3vw, 36px); border-radius: var(--r); background: var(--bg-2); }
.authside { display: grid; gap: 14px; color: var(--ink-2); align-content: start; }
.authside .h-sub { color: var(--ink); }
.userbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding: 14px 0; margin-bottom: 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: var(--t-small); color: var(--ink-2); }
.userbar b { color: var(--ink); }
.userbar__links { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.userbar form { display: inline; }
.badge { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; background: var(--bg-3); font-size: var(--t-small); font-weight: 500; color: var(--ink-2); vertical-align: 1px; }
.badge--ok { background: var(--ink); color: var(--bg); }
.plan-free { color: var(--ink-3); }
.plan-free .text-link { margin-left: 6px; }
.dbtabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.dbtabs a { display: inline-flex; align-items: baseline; gap: 10px; min-height: 44px; padding: 11px 18px; border-radius: var(--r-s); background: var(--bg-2); font-weight: 500; color: var(--ink-2); transition: background-color .2s ease, color .2s ease; }
.dbtabs a b { font-size: var(--t-small); font-weight: 500; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.dbtabs a:hover { background: var(--bg-3); color: var(--ink); }
.dbtabs a[aria-current="page"] { background: var(--ink); color: var(--bg); }
.dbtabs a[aria-current="page"] b { color: var(--bg-4); }
.dbtabs__note { font-size: var(--t-small); color: var(--ink-3); margin: 6px 0 28px; max-width: 70ch; }
.dtype { color: var(--accent-ink); }
.dbstats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; margin-bottom: 40px; }
.dbstats .gcell { display: grid; gap: 6px; padding-top: 18px; border-top: 1px solid var(--line); }
.dbstats .gcell h3 { font-size: var(--t-h2); letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.dbstats .gcell p { color: var(--ink-3); font-size: var(--t-small); }
.filters { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr auto; gap: 14px 16px; align-items: end; margin-bottom: 24px; }
.f-go { display: flex; gap: 16px; align-items: center; }
.f-ver { padding-bottom: 12px; }
.count { font-size: var(--t-small); color: var(--ink-3); margin: 0 0 12px; }
.empty { padding: 40px 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); }
.tablewrap:has(.tbl--suppliers) { --tw: min(100vw - var(--pad) * 2, 1760px); width: var(--tw); margin-left: calc(50% - var(--tw) / 2); }
.tbl { width: 100%; border-collapse: collapse; font-size: var(--t-small); }
.tbl th { text-align: left; font-size: var(--t-small); font-weight: 500; color: var(--ink-3); padding: 13px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; background: var(--bg-2); }
.tbl td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.4; color: var(--ink-2); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover { background: var(--bg-2); }
html:lang(zh) .tbl th, html:lang(zh) .tbl td { word-break: keep-all; }
.tbl--suppliers { font-size: .875rem; }
.tbl__name { display: block; color: var(--ink); font-weight: 600; font-size: var(--t-small); }
.tbl__name:hover { color: var(--accent-ink); }
.tbl__zh { display: block; color: var(--ink-3); font-size: var(--t-small); margin-top: 2px; }
.tbl__firm { min-width: 170px; }
.tbl__prod { min-width: 190px; }
.tbl__long { min-width: 150px; color: var(--ink-3); }
.tbl__contact { min-width: 140px; }
.tbl__no, .tbl__num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; font-size: var(--t-small); }
.tbl__www, .tbl__tel { white-space: nowrap; font-variant-numeric: tabular-nums; }
.tbl__link { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.tbl__link:hover { color: var(--accent-ink); text-decoration-color: currentColor; }
.th-lock { white-space: nowrap; }
.lockico { display: inline-block; width: 10px; height: 10px; margin-left: 6px; vertical-align: -1px; fill: currentColor; opacity: .7; }
.locked { display: inline-block; }
.locked__txt { display: inline-block; background: var(--bg-3); color: transparent; border-radius: 2px; user-select: none; -webkit-user-select: none; pointer-events: none; white-space: nowrap; line-height: 1.1; }
.pagelinks { display: flex; gap: 24px; justify-content: center; align-items: center; margin-top: 28px; font-size: .875rem; color: var(--ink-3); }
.upsell { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; margin: 0 0 18px; padding: 18px 22px; border-radius: var(--r); background: var(--bg); color: var(--ink); }
.upsell p { font-size: var(--t-small); line-height: 1.5; max-width: 74ch; color: var(--ink-2); }
.upsell b { color: var(--ink); }
.detail { display: grid; border-top: 1px solid var(--line); margin: 0 0 40px; }
.detail > div { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 6px 32px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.detail dt { font-size: .875rem; font-weight: 500; color: var(--ink-3); padding-top: .15em; }
.detail dd { color: var(--ink); max-width: 70ch; }
.detail .text-link { word-break: break-all; }
.plans { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 16px; margin: 8px 0 60px; }
.plan { display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 3vw, 36px); border-radius: var(--r); background: var(--bg-2); }
.plan--premium { background: var(--bg); color: var(--ink); }
.plan__name { font-size: var(--t-h3); font-weight: 600; letter-spacing: -.02em; }
.plan__price { font-weight: 600; color: var(--accent-ink); }
.plan__price small { font-size: var(--t-small); font-weight: 400; color: var(--ink-2); }
.plan__price--alt { margin-top: 2px; }
.plan__list { list-style: none; display: grid; align-content: start; gap: 10px; flex: 1; }
.plan__list li { position: relative; padding-left: 22px; color: var(--ink-2); }
.plan__list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.plan__cta { display: grid; gap: 10px; justify-items: start; }
.plan__state { font-size: var(--t-small); font-weight: 500; }
.plan__note { font-size: .875rem; color: var(--ink-3); }
.plan--premium .text-link { color: var(--ink); }
.order { display: grid; gap: 14px; }
.order__period { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.order__period legend { margin-bottom: 6px; }
.withdraw { margin-top: clamp(32px, 4vw, 56px); padding: clamp(20px, 3vw, 32px); border-radius: var(--r); background: var(--bg-2); max-width: 720px; }
.withdraw .note { margin: 8px 0 16px; }
.withdraw details > summary { list-style: none; display: inline-flex; cursor: pointer; }
.withdraw details > summary::-webkit-details-marker { display: none; }
.withdraw details[open] > summary { margin-bottom: 14px; }
.withdraw details .check { margin-bottom: 14px; }
.account { display: grid; gap: 20px; max-width: 720px; margin-top: 24px; }
.account__data { display: grid; grid-template-columns: max-content 1fr; gap: 10px 28px; padding: clamp(20px, 3vw, 32px); border-radius: var(--r); background: var(--bg-2); }
.account__data dt { font-size: .875rem; color: var(--ink-3); padding-top: 2px; }
.account__delete { margin-top: 12px; padding-top: 28px; border-top: 1px solid var(--line); }
.account__delete .note { margin: 8px 0 18px; }
.account__delete .form { max-width: 420px; }

/* database page map */
.cmap { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 28px clamp(32px, 4vw, 64px); margin: 0 0 44px; padding: 28px; border-radius: var(--r); background: var(--bg-2); scroll-margin-top: calc(var(--head-h) + 12px); }
.cmap__stage { position: relative; min-width: 0; }
.cmap__svg { display: block; width: 100%; height: auto; overflow: visible; }
.cmap__p path, .cmap__p circle { stroke: var(--map-line); stroke-width: .8; stroke-linejoin: round; transition: opacity .2s ease; }
.cmap__p { cursor: pointer; outline: none; }
.cmap__l0 path, .cmap__l0 circle, i.cmap__l0 { fill: var(--map-0); background: var(--map-0); }
.cmap__l1 path, .cmap__l1 circle, i.cmap__l1 { fill: var(--map-1); background: var(--map-1); }
.cmap__l2 path, .cmap__l2 circle, i.cmap__l2 { fill: var(--map-2); background: var(--map-2); }
.cmap__l3 path, .cmap__l3 circle, i.cmap__l3 { fill: var(--map-3); background: var(--map-3); }
.cmap__l4 path, .cmap__l4 circle, i.cmap__l4 { fill: var(--map-4); background: var(--map-4); }
.cmap__l5 path, .cmap__l5 circle, i.cmap__l5 { fill: var(--map-5); background: var(--map-5); }
.cmap__l0 { cursor: default; }
.cmap__dot { stroke-width: 1.5 !important; }
.cmap__svg:hover .cmap__p:not(:hover) path { opacity: .85; }
.cmap__hl { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; pointer-events: none; }
.cmap__hl--sel { stroke-width: 2.4; }
.cmap__p:focus-visible path { stroke: var(--ink); stroke-width: 2; }
.cmap__tip { position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; display: grid; gap: 2px; min-width: 150px; padding: 10px 12px; background: var(--ink); color: var(--bg); border-radius: var(--r-s); font-size: .875rem; line-height: 1.35; }
.cmap__tip b { font-weight: 600; font-size: var(--t-body); }
.cmap__tip small { font-size: var(--t-small); opacity: .75; }
.cmap__tip[hidden] { display: none; }
.cmap__side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.cmap__current { font-size: var(--t-small); display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; padding: 10px 12px; border-radius: var(--r-s); background: var(--bg-3); }
.cmap__sub { font-size: var(--t-small); font-weight: 500; color: var(--ink-3); margin-top: 4px; }
.cmap__rank { list-style: none; display: grid; gap: 2px; }
.cmap__rank a { display: grid; grid-template-columns: 9.5em 1fr auto; align-items: center; gap: 12px; padding: 6px; font-size: var(--t-small); border-radius: 3px; transition: background-color .2s ease; }
.cmap__rank a:hover, .cmap__rank a:focus-visible { background: var(--bg-3); outline: none; }
.cmap__rank a[aria-current] { background: var(--bg-4); }
.cmap__rank b { font-weight: 500; font-size: .875rem; font-variant-numeric: tabular-nums; text-align: right; min-width: 3.5ch; }
.cmap__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmap__bar { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--accent) var(--w), var(--bg-4) var(--w)); }
.cmap__legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: var(--t-small); color: var(--ink-3); margin-top: auto; }
.cmap__legend li { display: inline-flex; align-items: center; gap: 6px; }
.cmap__legend i { width: 14px; height: 10px; display: inline-block; border-radius: 2px; box-shadow: inset 0 0 0 1px var(--map-line); }


/* legal pages */
.legal { display: grid; grid-template-columns: minmax(200px, 260px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.legal__toc { position: sticky; top: calc(var(--head-h) + 24px); font-size: .875rem; }
.legal__toc ol { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.legal__toc a { color: var(--ink-2); }
.legal__toc a:hover, .legal__toc a:focus-visible { color: var(--accent-ink); }
.legal__body { max-width: 72ch; }
.legal__body section { scroll-margin-top: calc(var(--head-h) + 24px); padding-top: 8px; margin-bottom: 40px; }
.legal__body h2 { font-size: clamp(1.25rem, 1rem + .8vw, 1.6rem); letter-spacing: -.015em; margin-bottom: 14px; }
.legal__body h3 { font-size: var(--t-body); margin-bottom: 8px; }
.legal__body p, .legal__body li, .legal__body dd { color: var(--ink-2); line-height: 1.7; }
.legal__body p + p, .legal__body p + ol, .legal__body ol + p, .legal__body p + ul, .legal__body ul + p { margin-top: 12px; }
.legal__body ol, .legal__body ul { padding-left: 1.3em; display: grid; gap: 6px; }
.legal__body a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.legal__date { font-size: .875rem; color: var(--ink-3); margin-bottom: 24px; }
.legal__lang { padding: 12px 16px; border-radius: var(--r-s); background: var(--bg-2); margin-bottom: 28px; }
.legal__purpose { padding: 18px 0; border-top: 1px solid var(--line); }
.legal__purpose dl { display: grid; grid-template-columns: 150px 1fr; gap: 6px 20px; }
.legal__purpose dt { font-size: .875rem; color: var(--ink-3); padding-top: 3px; }
.legal__form { padding: clamp(20px, 3vw, 32px); border-radius: var(--r); background: var(--bg-2); }
.legal__form ul { list-style: none; padding-left: 0; gap: 14px; margin-top: 14px; }
.legal__tbl td { vertical-align: top; }


/* v4 adjustments on the ported components */
.authbox, .plan, .withdraw, .account__data { background: var(--grey); }
.plan--premium, .upsell { background: var(--navy); color: var(--white);
  --bg: #0a2c47; --bg-2: #123a59; --bg-3: #1c4a6d; --ink: #fff; --ink-2: rgba(255,255,255,.82); --ink-3: rgba(255,255,255,.65); --line: rgba(255,255,255,.2); --accent-ink: #9fc2ff; }
.plan--premium .btn, .upsell .btn { background: var(--blue); border-color: var(--blue); color: #fff; }
.dbtabs a { background: var(--grey); }
.dbtabs a[aria-current="page"] { background: var(--navy); color: #fff; }
.dbtabs a[aria-current="page"] b { color: #9fc2ff; }
.tbl th { background: var(--grey); border-bottom: 2px solid var(--navy); color: var(--navy); }
.cmap { background: var(--grey); }
.cmap__tip { background: var(--navy); color: #fff; }
.userbar { margin-top: 0; }
.badge--ok { background: var(--blue); color: #fff; }
.legal__toc a[aria-current], .legal__toc a:hover { color: var(--blue); }
@media (max-width: 900px) {
  .page .page__head, .block, .cta { grid-template-columns: minmax(0, 1fr); }
  .page__head > .copy { grid-column: 1; grid-row: auto; }
  .page .page__head { padding-top: 32px; padding-bottom: 28px; margin-bottom: 28px; }
}
@media (min-width: 1025px) { .auth-grid { grid-template-columns: 1.1fr .9fr; } }
@media (max-width: 1180px) {
  .filters { grid-template-columns: 1fr 1fr; }
  .filters .f-q { grid-column: 1 / -1; }
  .cmap { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .cmap__side { display: contents; }
  .cmap__side > .h-sub, .cmap__side > .note, .cmap__current { order: -1; }
}
@media (max-width: 900px) {
  .plans, .legal { grid-template-columns: minmax(0, 1fr); }
  .dbstats { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .detail > div, .legal__purpose dl, .account__data { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .legal__toc { position: static; }
}
@media (max-width: 600px) { .filters { grid-template-columns: minmax(0, 1fr); } .cmap__rank a { grid-template-columns: 8em 1fr auto; } }
.tablewrap { position: relative; }   /* keeps hidden labels inside the scrollable table box */
.legal__tbl td, .legal__tbl th { white-space: normal; }
.legal__body .tablewrap { margin: 12px 0 16px; }

/* ---------- final review fixes ---------- */
/* sentence-length headings (article titles, stage bands) one step smaller; phone headings smaller */
.split--stage h2, article.split h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem); line-height: 1.22; }
@media (max-width: 600px) {
  h1, .hero h1, .h-big, .page__head h1 { font-size: 1.875rem; line-height: 1.2; }
  h2, .h-section { font-size: 1.5rem; line-height: 1.25; }
  .split--stage h2, article.split h2 { font-size: 1.375rem; }
}
/* readable line length */
.note, .legal-note, .ctform .form > p, .acc details p { max-width: 75ch; }
.legal__body { max-width: 68ch; }
/* database preview: the industry column wraps, so the table fits on desktop */
.prev .tbl td:nth-child(4) { white-space: normal; min-width: 180px; }
.prev .tbl td, .prev .tbl th { padding-inline: 10px; }

/* supplier database closed for maintenance (baza.php notice) */
.bzc { margin-bottom: 48px; }   /* white gap before the navy "Porozmawiajmy" band */
.bzc__note { margin-top: 14px; color: rgba(255, 255, 255, .78); }
.bzc__tag { position: absolute; right: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; background: var(--white); color: var(--navy); font-weight: 500; box-shadow: 0 10px 24px -12px rgba(0, 20, 60, .45); }
.bzc__tag i { width: 8px; height: 8px; border-radius: 50%; background: #f59e0b; animation: hf-ping 2.2s var(--ease) infinite; }
@media (prefers-reduced-motion: reduce) { .bzc__tag i { animation: none; } }
@media (min-width: 901px) { .hero-film__in > :first-child { grid-column: 1 / 3; } .hf-ln { width: max-content; white-space: nowrap; } }

/* ================= home: clearer section rhythm (2026-11-11) ================= */
.v4-home .sec, .v4-home .intro { padding-block: clamp(72px, 8vw, 120px); }
.v4-home .sec--stats { padding-top: 0; }
.v4-home h2 { font-size: clamp(2rem, 1.3rem + 2.1vw, 3.25rem); line-height: 1.1; letter-spacing: -.022em; font-weight: 500; }
.v4-home .split h2 { font-size: clamp(1.875rem, 1.3rem + 1.5vw, 2.75rem); }
.v4-home .kicker { margin-bottom: 14px; font-size: 1rem; font-weight: 500; color: var(--blue); }
.v4-home .proc .kicker { color: var(--blue-light); }
.v4-home .sec__head { margin-bottom: clamp(32px, 4vw, 56px); }
.v4-home .sec__head .lead { margin-top: 16px; max-width: 640px; color: var(--navy-2); }

/* intro: heading left, text right, on the same grey as the figures below so they read as one block */
.intro--home { background: var(--grey); }
.intro__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px clamp(40px, 6vw, 96px); align-items: end; }
.intro__txt { color: var(--navy-2); }
.intro__txt .lead { color: var(--navy); }
.v4-home .sec--stats .sb__i { border-top: 3px solid var(--blue); }

/* splits: more air */
.v4-home .split--home .split__text { padding-block: clamp(64px, 8vw, 112px); }
.v4-home .split--home .split__pic { min-height: 520px; }

/* cards: photos ease in on hover */
.cards--home .card { transition: transform .35s var(--ease); }
.cards--home .card__pic img { transition: transform .7s var(--ease); }
.cards--home .card:hover .card__pic img { transform: scale(1.04); }
.cards--home .card__body { padding: 28px; }
.v4-home #aktualnosci .card:hover h3 { color: var(--blue); }
.v4-home #aktualnosci .card h3 { transition: color .15s var(--ease); }

/* ---- Jak pracujemy: navy band with a numbered timeline ---- */
.proc { background: var(--navy); color: var(--white); }
.proc__head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px clamp(40px, 6vw, 96px); align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.proc__aside .lead { color: rgba(255, 255, 255, .78); margin-bottom: 24px; }
.proc__steps { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: none; }
.proc__steps::before, .proc__steps::after { content: ""; position: absolute; left: 0; right: 0; top: 86px; height: 2px; background: rgba(255, 255, 255, .16); }
.proc__steps::after { background: var(--blue); transform-origin: left; }
.proc__step { position: relative; padding: 0 28px 8px 0; }
.proc__n { display: flex; align-items: flex-end; height: 64px; font-size: clamp(2.75rem, 2rem + 2vw, 4rem); font-weight: 300; line-height: 1; letter-spacing: -.03em; color: var(--blue-light); font-variant-numeric: tabular-nums; }
.proc__dot { position: relative; z-index: 1; display: block; width: 14px; height: 14px; margin: 15px 0 28px; border: 2px solid var(--blue); border-radius: 50%; background: var(--navy); transition: background-color .2s var(--ease), transform .2s var(--ease); }
.proc__step h3 { margin-bottom: 10px; font-size: 1.375rem; font-weight: 500; }
.proc__step p { color: rgba(255, 255, 255, .74); }
.proc__step:hover .proc__dot { background: var(--blue); transform: scale(1.25); }
.proc .btn:focus-visible, .proc a:focus-visible { outline-color: var(--white); }

/* scroll entrances (transform + opacity only) */
@media (prefers-reduced-motion: no-preference) {
  .js .v4-home [data-r] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
  .js .v4-home [data-r].is-in { opacity: 1; transform: none; }
  .js .v4-home .proc__steps[data-r] { opacity: 1; transform: none; }
  .js .v4-home .proc__steps[data-r]::after { transform: scaleX(0); transition: transform 1.4s var(--ease) .15s; }
  .js .v4-home .proc__steps[data-r].is-in::after { transform: scaleX(1); }
  .js .v4-home .proc__steps[data-r] .proc__step { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
  .js .v4-home .proc__steps[data-r].is-in .proc__step { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .intro__grid, .proc__head { grid-template-columns: minmax(0, 1fr); }
  .v4-home .split--home .split__pic { min-height: 320px; }
  .proc__steps { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-left: 36px; }
  .proc__steps::before, .proc__steps::after { left: 6px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; }
  .proc__steps::after { transform-origin: top; }
  .js .v4-home .proc__steps[data-r]::after { transform: scaleY(0); }
  .js .v4-home .proc__steps[data-r].is-in::after { transform: scaleY(1); }
  .proc__step { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; padding: 0; }
  .proc__dot { position: absolute; left: -36px; top: 6px; margin: 0; }
  .proc__n { grid-row: 1 / 3; align-self: start; display: block; height: auto; font-size: 2.25rem; }
  .proc__step h3 { margin: 2px 0 6px; }
  .proc__step p { grid-column: 2; }
}

/* ---------- Baza wiedzy (knowledge base, 2026-11-11) ---------- */
.bwf { padding: 28px 0; }
.bwf__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.bwf__row > div { display: flex; align-items: baseline; gap: 12px; padding-left: 16px; border-left: 3px solid var(--blue); }
.bwf__row b { font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); font-weight: 600; line-height: 1; color: var(--navy); }
.bwf__row span { color: var(--navy-2); }
.mods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.mod { display: flex; flex-direction: column; gap: 14px; padding: 24px 22px 20px; background: var(--sand); }
.mod__n { display: flex; align-items: center; gap: 10px; font-size: .875rem; font-weight: 500; color: var(--blue); }
.mod__tag { padding: 3px 9px; background: var(--white); color: var(--navy); font-size: .75rem; font-weight: 600; letter-spacing: .02em; }
.mod h3 { margin-top: 6px; font-size: 1.25rem; }
.mod__d { margin-top: 6px; color: var(--navy-2); }
.mod__list { display: grid; gap: 8px; flex: 1; align-content: start; padding-top: 14px; border-top: 1px solid var(--line); }
.mod__list li { position: relative; padding-left: 18px; font-size: .9375rem; }
.mod__list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; background: var(--blue); }
.mod__go { display: grid; gap: 2px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .9375rem; }
.mod__go span { font-size: .8125rem; color: var(--navy-3); }
.mod--lead { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px 48px; padding: 32px; background: var(--navy); color: var(--white); }
.mod--lead .mod__n { color: var(--blue-light); }
.mod--lead h3 { font-size: clamp(1.5rem, 1.2rem + .9vw, 2rem); }
.mod--lead .mod__d { color: rgba(255, 255, 255, .82); }
.mod--lead .mod__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; padding-top: 0; border-top: 0; align-content: start; }
.mod--lead .mod__list li::before { background: var(--blue-light); }
.mod--lead .mod__go { grid-column: 1 / -1; border-color: rgba(255, 255, 255, .2); }
.mod--lead .mod__go span { color: rgba(255, 255, 255, .7); }
.mod--lead .link { color: var(--blue-light); }
.mod--lead .link:hover { color: var(--white); }
.sheet__list--toc li { grid-template-columns: 84px minmax(0, 1fr); align-items: baseline; gap: 10px; padding: 10px 14px; }
.sheet__list--toc b { font-weight: 600; font-size: .8125rem; }
.bw-soon { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 12px 14px; background: var(--blue-soft); color: var(--navy); font-weight: 500; }
.bw-soon i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.bw-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; margin-top: 32px; padding: 28px; background: var(--white); border-left: 3px solid var(--blue); }
.bw-cta > div { max-width: 720px; }
.bw-cta h3 { margin-bottom: 6px; }
.sec__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.bzc__more { margin-top: 18px; color: rgba(255, 255, 255, .78); }
.bzc__more a { color: var(--blue-light); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.bzc__more a:hover { color: var(--white); }
/* module 08 (only in the complete book) closes the grid at full width */
.mods > .mod:last-child:not(.mod--lead) { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 14px 48px; }
.mods > .mod:last-child:not(.mod--lead) .mod__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 28px; padding-top: 0; border-top: 0; }
.mods > .mod:last-child:not(.mod--lead) .mod__go { grid-column: 1 / -1; }
.mod__tag--soft { background: var(--blue-soft); }

/* members page: Baza wiedzy modules (baza-wiedzy-moduly.php) */
.kbbook { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px 48px; align-items: center; padding: 32px; background: var(--navy); color: var(--white); }
.kbbook h2 { margin: 6px 0 10px; font-size: clamp(1.5rem, 1.2rem + .9vw, 2rem); color: var(--white); }
.kbbook p { color: rgba(255, 255, 255, .82); }
.kbbook .kbm__n { color: var(--blue-light); }
.kbbook__files { display: grid; gap: 14px; }
.kbbook .kbm__f { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.kbbook .kbm__lang { flex-basis: 100%; font-size: .875rem; color: rgba(255, 255, 255, .72); }
.kbmods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 24px 0; }
.kbm { display: grid; gap: 10px; align-content: start; padding: 22px; background: var(--sand); }
.kbm__n { font-size: .875rem; font-weight: 500; color: var(--blue); }
.kbm h3 { font-size: 1.125rem; }
.kbm .kbm__f { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; padding-top: 10px; border-top: 1px solid var(--line); font-size: .9375rem; }
.kbm .kbm__lang { min-width: 9.5em; color: var(--navy-2); }
.kbm__note { color: var(--navy-2); font-size: .9375rem; }
.kbm--book { background: var(--blue-soft); }
.kblock { display: grid; gap: 14px; max-width: 720px; padding: 28px; background: var(--sand); border-left: 3px solid var(--blue); }
@media (max-width: 1100px) { .mods { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .bwf__row { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .mods { grid-template-columns: minmax(0, 1fr); }
  .mod--lead { grid-template-columns: minmax(0, 1fr); padding: 24px 22px; }
  .mod--lead .mod__list { grid-template-columns: minmax(0, 1fr); }
  .mods > .mod:last-child:not(.mod--lead), .mods > .mod:last-child:not(.mod--lead) .mod__list { grid-template-columns: minmax(0, 1fr); }
  .kbbook, .kbmods { grid-template-columns: minmax(0, 1fr); }
  .kbbook { padding: 24px 22px; }
}
