/*
 * Zalando Sans: variable font, self-hosted (no CDN).
 * Axes: wght 200–900, wdth 75–125. Licence: SIL OFL 1.1 (see OFL.txt).
 * Source: Google Fonts build of github.com/zalando/sans, v1.800.
 * Two files split by unicode-range; the browser downloads latin-ext only when
 * the page contains Polish diacritics (ą ę ł ż ź ć ń ś, plus ó from latin).
 * The paths are relative to this file.
 */
@font-face {
  font-family: "Zalando Sans";
  font-style: normal;
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-display: swap;
  src: url("../fonts/ZalandoSans-VF-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: "Zalando Sans";
  font-style: normal;
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-display: swap;
  src: url("../fonts/ZalandoSans-VF-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;
}

/* Cyrillic (Ukrainian version): Zalando Sans has no Cyrillic, so the next family in --font-sans,
   "RR Sans Cyrillic", maps U+0400–045F, U+0490–0491 (і ї є ґ) to Roboto Flex: a neo-grotesque with the same axes
   (wght 200–900, wdth 100–151, so the brand's 112.5% / 125% widths work). Google Fonts subset,
   SIL OFL 1.1 (OFL-RobotoFlex.txt). Downloaded only when a page shows Cyrillic text. */
@font-face {
  font-family: "RR Sans Cyrillic";
  font-style: normal;
  font-weight: 200 900;
  font-stretch: 100% 151%;
  font-display: swap;
  src: url("../fonts/RobotoFlex-VF-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* Metric-matched fallback so that swapping fonts causes little layout shift.
   Tuned for body text at font-stretch 112.5% (Polish sample text, weight 400):
   Zalando Sans is 111.6% as wide as Arial, ascent 964 and descent 250 per 1000 units.
   For 125% headings the ideal size-adjust would be 124%, but body text matters most for CLS. */
@font-face {
  font-family: "Zalando Sans Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 112%;
  ascent-override: 86%;
  descent-override: 22%;
  line-gap-override: 0%;
}

/* =====================================================================
   RRparts design tokens (v1, 2026-10-15)
   Source of truth: design/DESIGN.md. Every value there has its rationale.
   Import: <link rel="stylesheet" href="/design/tokens.css">
   The fonts are imported from ../assets/fonts/fonts.css (relative to this
   file). Adjust the path if the build moves files.
   ===================================================================== */

:root {
  /* ---------- Layer 1: primitives ---------- */
  /* Brand green. The PDF brand book prints CMYK 40/0/100/0 as rgb(175,202,5). */
  --rr-green-50:  #F1FAD8;  /* tint background (light theme, success bg) */
  --rr-green-100: #E6F3BE;
  --rr-green-200: #D2ED61;  /* glow / highlight core (light streaks) */
  --rr-green-300: #C2DC4F;  /* hover state of green on dark */
  --rr-green-500: #AFCA05;  /* BRAND: logo green, primary actions, key lines */
  --rr-green-600: #9DB50F;  /* tone-on-tone logo on green bars (brand book p.2–4) */
  --rr-green-700: #5D6C00;  /* green TEXT on light backgrounds (5.82:1 on white) */
  --rr-green-800: #485400;  /* hover/pressed of green-700 links (8.26:1) */
  --rr-green-900: #2B320A;  /* deep green tint surface on dark (rare) */

  --rr-black-print: #1A1A18; /* K100 as rendered in the brand book; logo badge fill */
  --rr-stage:     #010101;  /* measured black of the HQ intro as Chrome decodes it (0–1 per channel); intro stage only */
  --rr-ink-950:   #0B0B0C;  /* page background (dark) */
  --rr-ink-900:   #141416;  /* surface 1: cards, nav */
  --rr-ink-850:   #1C1C1F;  /* surface 2: raised, inputs, hover */
  --rr-ink-800:   #2A2A2F;  /* hairline border */
  --rr-ink-700:   #3A3A40;  /* strong border, dividers on surface 2 */
  --rr-ink-600:   #6E6E78;  /* input border (>=3:1 on all surfaces) */
  --rr-ink-500:   #8A8A93;  /* tertiary text on dark (>=4.97:1) */
  --rr-ink-300:   #B4B4BA;  /* secondary text on dark */
  --rr-ink-100:   #F4F4F5;  /* primary text on dark; light-theme paper 2 */
  --rr-ghost-light: #ECECEC; /* brand-book background word on white */
  --rr-ghost-dark:  #17171A; /* the same device on #0B0B0C */
  --rr-grey-600:  #55555C;  /* muted text on light */
  --rr-white:     #FFFFFF;

  --rr-red-400:   #FF6B5E;  /* error on dark */
  --rr-red-700:   #C42B1C;  /* error on light */
  --rr-amber-400: #F5B000;  /* warning on dark */

  /* ---------- Layer 2: semantic (dark is the default theme) ---------- */
  --color-bg:            var(--rr-ink-950);
  --color-surface-1:     var(--rr-ink-900);
  --color-surface-2:     var(--rr-ink-850);
  --color-border:        var(--rr-ink-800);
  --color-border-strong: var(--rr-ink-700);
  --color-border-input:  var(--rr-ink-600);
  --color-text:          var(--rr-ink-100);
  --color-text-2:        var(--rr-ink-300);
  --color-text-3:        var(--rr-ink-500);
  --color-accent:        var(--rr-green-500);
  --color-accent-hover:  var(--rr-green-300);
  --color-on-accent:     var(--rr-ink-950);  /* text on green is always black, never white (1.86:1) */
  --color-link:          var(--rr-green-500);
  --color-link-hover:    var(--rr-green-300);
  --color-focus:         var(--rr-green-500);
  --color-ghost-word:    var(--rr-ghost-dark);
  --color-error:         var(--rr-red-400);
  --color-warning:       var(--rr-amber-400);
  --color-success:       var(--rr-green-500);

  /* ---------- Typography ---------- */
  --font-sans: "Zalando Sans", "RR Sans Cyrillic", "Zalando Sans Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  /* The brand book sets all text at width 125% (Expanded). Measured from the PDF. */
  --stretch-display: 125%;   /* headings, nav, buttons, labels, ghost words */
  --stretch-body:    112.5%; /* paragraphs: still on-brand, more characters per line */
  --stretch-dense:   100%;   /* tables, long spec lists, legal text */

  --fw-extralight: 200;  /* ghost words, light display lines */
  --fw-regular:    400;  /* body */
  --fw-bold:       700;  /* headings, buttons, nav */
  --fw-black:      900;  /* hero headline, big numbers */

  --fs-2xs:   0.75rem;                                   /* 12: caps labels, legal */
  --fs-xs:    0.8125rem;                                 /* 13: meta, captions */
  --fs-sm:    0.875rem;                                  /* 14: UI, buttons, nav */
  --fs-base:  1rem;                                      /* 16: body */
  --fs-lg:    clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);   /* 17–20: lead */
  --fs-xl:    clamp(1.25rem, 1.05rem + 0.8vw, 1.625rem); /* 20–26: h4 */
  --fs-2xl:   clamp(1.5rem, 1.15rem + 1.5vw, 2.25rem);   /* 24–36: h3 */
  --fs-3xl:   clamp(1.875rem, 1.3rem + 2.6vw, 3.25rem);  /* 30–52: h2 */
  --fs-4xl:   clamp(2.25rem, 1.4rem + 4vw, 4.5rem);      /* 36–72: h1 / hero */
  --fs-ghost: clamp(4.5rem, 1rem + 16vw, 15rem);         /* 72–240: background word */

  --lh-tight: 1.05;  /* display */
  --lh-snug:  1.2;   /* headings */
  --lh-body:  1.6;   /* paragraphs */
  --tracking-display: -0.02em;
  --tracking-caps:     0.18em;  /* "K S I Ę G A  Z N A K U" style labels */
  --tracking-caption:  0.32em;  /* "Repair & Remanufacture" video caption style */
  --measure: 62ch;

  /* ---------- Spacing (4px base) ---------- */
  --space-1: 0.25rem;  /* 4 */
  --space-2: 0.5rem;   /* 8 */
  --space-3: 0.75rem;  /* 12 */
  --space-4: 1rem;     /* 16 */
  --space-5: 1.5rem;   /* 24 */
  --space-6: 2rem;     /* 32 */
  --space-7: 3rem;     /* 48 */
  --space-8: 4rem;     /* 64 */
  --space-9: 6rem;     /* 96 */
  --space-10: 8rem;    /* 128 */
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --section-y: clamp(4rem, 2.5rem + 6vw, 8rem);
  --container: 1240px;

  /* ---------- Shape ---------- */
  /* The logo badge corner radius is 22.15% of its height; the app icon's is 11.84% of its side. */
  --radius-badge-ratio: 0.2215;
  --radius-xs: 4px;    /* tags, small chips */
  --radius-sm: 6px;    /* inputs, checkboxes */
  --radius-md: 10px;   /* buttons (44–48px tall: 22% of height, as on the badge) */
  --radius-lg: 16px;   /* product tiles, cards (same ratio as the tiles in the intro) */
  --radius-xl: 24px;   /* large panels, modals */
  --radius-pill: 999px;
  --stroke-hair: 1px;
  --stroke-line: 2px;  /* green connector lines, tile borders */

  /* ---------- Elevation and glow ---------- */
  --shadow-card:  0 1px 0 0 rgb(255 255 255 / 0.04) inset, 0 12px 32px -8px rgb(0 0 0 / 0.6);
  --shadow-float: 0 24px 64px -12px rgb(0 0 0 / 0.75);
  --glow-sm:   0 0 0 1px rgb(175 202 5 / 0.55), 0 0 12px 0 rgb(175 202 5 / 0.30);
  --glow-md:   0 0 0 1px rgb(175 202 5 / 0.70), 0 0 28px 2px rgb(175 202 5 / 0.40);
  --glow-text: 0 0 18px rgb(210 237 97 / 0.45);
  --glow-line: drop-shadow(0 0 3px rgb(210 237 97 / 0.85)) drop-shadow(0 0 10px rgb(175 202 5 / 0.45));
  --streak-gradient: linear-gradient(90deg, rgb(175 202 5 / 0) 0%, rgb(175 202 5 / 0.9) 55%, #F4FFC0 85%, #FFFFFF 100%);

  /* ---------- Motion ---------- */
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);     /* fly-in arrival: fast start, long settle */
  --ease-in:      cubic-bezier(0.7, 0, 0.84, 0);     /* streak exit: accelerating */
  --ease-in-out:  cubic-bezier(0.65, 0, 0.35, 1);    /* scene changes */
  --ease-ui:      cubic-bezier(0.2, 0, 0, 1);        /* hover and focus */
  --dur-micro:   120ms;
  --dur-ui:      200ms;
  --dur-enter:   450ms;
  --dur-flyin:   700ms;
  --dur-line:    500ms;   /* connector line draw */
  --dur-streak:  900ms;
  --dur-page:    600ms;   /* route transition */
  --stagger:     70ms;

  /* ---------- Layers ---------- */
  --z-ghost: 0;
  --z-content: 1;
  --z-hotspot: 5;
  --z-nav: 50;
  --z-modal: 100;

  color-scheme: dark;
}

/* Light theme for document-style sections such as legal pages, specs and print. Scope it per section. */
[data-theme="light"] {
  --color-bg:            var(--rr-white);
  --color-surface-1:     var(--rr-ink-100);
  --color-surface-2:     #EAEAEC;
  --color-border:        #E2E2E5;
  --color-border-strong: #C9C9CE;
  --color-border-input:  #8A8A93;
  --color-text:          var(--rr-ink-950);
  --color-text-2:        var(--rr-grey-600);
  --color-text-3:        #6B6B73;
  --color-accent:        var(--rr-green-500);   /* fills only: buttons, bars, lines */
  --color-accent-hover:  var(--rr-green-300);
  --color-on-accent:     var(--rr-ink-950);
  --color-link:          var(--rr-green-700);   /* brand green fails as text on white */
  --color-link-hover:    var(--rr-green-800);
  --color-focus:         var(--rr-green-700);
  --color-ghost-word:    var(--rr-ghost-light);
  --color-error:         var(--rr-red-700);
  --color-success:       var(--rr-green-700);
  color-scheme: light;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-enter: 1ms; --dur-flyin: 1ms; --dur-line: 1ms; --dur-streak: 1ms; --dur-page: 1ms; --stagger: 0ms;
  }
}

/* =====================================================================
   RR Parts – site styles
   Every colour, size, radius, duration comes from tokens.css
   (design/DESIGN.md). Component-only values are marked (Appifi).
   ===================================================================== */

:root {
  --hdr-h: 68px;                 /* DESIGN §8 nav height */
  --photo-bg: #E9E9E7;           /* DESIGN §8 product tile photo background */
  --tile-border: rgb(175 202 5 / .55);
  --stage-bar: 64px;             /* controls row under the intro (Appifi) */
  --bstrip: 52px;                /* brands strip at the bottom of the first screen */
  --todo: var(--rr-amber-400);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; min-height: 100vh;
  background: var(--color-bg); color: var(--color-text-2);
  font-family: var(--font-sans); font-size: var(--fs-base); line-height: var(--lh-body);
  font-stretch: var(--stretch-body); font-weight: var(--fw-regular);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--color-focus); outline-offset: 3px; border-radius: var(--radius-xs);
}
::selection { background: var(--rr-green-500); color: var(--rr-ink-950); }
main:focus { outline: none; }
[hidden] { display: none !important; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 16px; top: 12px; z-index: calc(var(--z-modal) + 1);
  padding: 12px 18px; border-radius: var(--radius-md);
  background: var(--rr-green-500); color: var(--rr-ink-950);
  font-weight: var(--fw-bold); font-stretch: var(--stretch-display); font-size: var(--fs-sm);
  transform: translateY(-160%); transition: transform var(--dur-ui) var(--ease-ui);
}
.skip:focus { transform: none; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); position: relative; z-index: var(--z-content); }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--space-5); row-gap: var(--space-7); }
.sec { position: relative; padding-block: var(--section-y); }
.sec--tight { padding-block: calc(var(--section-y) * .5); }
.sec__head { margin-bottom: var(--space-8); max-width: 48rem; }
.sec__more { margin-top: var(--space-7); }

/* ---------- type ---------- */
.h1, .h2, .h3, .h4, .eyebrow, .caption, .btn, .label, .num { font-stretch: var(--stretch-display); }
.h1 { font-size: var(--fs-4xl); font-weight: var(--fw-black); line-height: var(--lh-tight); letter-spacing: var(--tracking-display); color: var(--color-text); text-wrap: balance; }
.h2 { font-size: var(--fs-3xl); font-weight: var(--fw-bold); line-height: 1.1; letter-spacing: var(--tracking-display); color: var(--color-text); text-wrap: balance; }
.h3 { font-size: var(--fs-2xl); font-weight: var(--fw-bold); line-height: var(--lh-snug); letter-spacing: -.01em; color: var(--color-text); text-wrap: balance; }
.h4 { font-size: var(--fs-xl); font-weight: var(--fw-bold); line-height: var(--lh-snug); color: var(--color-text); text-wrap: balance; }
.lead { font-size: var(--fs-lg); line-height: 1.55; color: var(--color-text-2); max-width: var(--measure); text-wrap: pretty; }
p { text-wrap: pretty; }
.eyebrow, .caption {
  font-size: var(--fs-2xs); font-weight: var(--fw-regular); text-transform: uppercase;
  letter-spacing: var(--tracking-caption); color: var(--color-text-2);
}
.eyebrow { margin-bottom: var(--space-4); display: flex; align-items: center; gap: 14px; }
.eyebrow::before { content: ""; width: 32px; height: var(--stroke-line); background: var(--color-accent); flex: none; }
.num { font-weight: var(--fw-black); color: var(--color-accent); font-variant-numeric: tabular-nums; letter-spacing: -.02em; line-height: 1; }
.note { margin-top: var(--space-4); font-size: var(--fs-xs); color: var(--color-text-3); padding-left: 14px; border-left: 2px solid var(--color-border-strong); max-width: var(--measure); }
.prose p + p { margin-top: var(--space-4); }
.prose p { font-size: var(--fs-lg); max-width: var(--measure); }

/* ---------- placeholders ([DO UZUPEŁNIENIA: …]) ---------- */
.todo {
  color: var(--color-text);
  text-decoration: underline dashed var(--todo); text-decoration-thickness: 1px; text-underline-offset: 4px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.todo__k {
  display: inline-block; margin-right: .45em; padding: 1px 6px; vertical-align: .1em;
  border: 1px dashed var(--todo); border-radius: var(--radius-xs);
  font-size: .62em; line-height: 1.5; font-weight: var(--fw-bold); font-stretch: var(--stretch-display);
  letter-spacing: .12em; text-transform: uppercase; color: var(--todo); text-decoration: none;
}
.todo__t { font-style: normal; }
.todo__k:last-child { margin-right: 0; }
.todo--c { color: inherit; cursor: help; }
[data-theme="light"] { --todo: #9A6A00; }
.vtag {
  display: inline-block; margin-left: 12px; vertical-align: middle; padding: 2px 8px;
  border: 1px dashed var(--color-border-input); border-radius: var(--radius-xs);
  font-size: var(--fs-2xs); font-weight: var(--fw-regular); font-stretch: var(--stretch-display); letter-spacing: var(--tracking-caps);
  text-transform: uppercase; color: var(--color-text-3); white-space: nowrap; line-height: 1.6;
}
.h2 .vtag { font-size: .25em; }

/* ---------- buttons ---------- */
.btn {
  --b-bg: transparent; --b-fg: var(--color-text); --b-bd: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: var(--radius-md);
  background: var(--b-bg); color: var(--b-fg); box-shadow: inset 0 0 0 1px var(--b-bd);
  font-size: var(--fs-sm); font-weight: var(--fw-bold); line-height: 1.2; letter-spacing: .01em; text-align: center;
  cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent;
  transition: background-color var(--dur-ui) var(--ease-ui), box-shadow var(--dur-ui) var(--ease-ui), color var(--dur-ui) var(--ease-ui), transform var(--dur-micro) var(--ease-ui);
}
.btn .i { width: 18px; height: 18px; flex: none; }
.btn .i-arrow { transition: transform var(--dur-ui) var(--ease-ui); }
.btn:hover .i-arrow { transform: translateX(4px); }
.btn:active { transform: translateY(1px) scale(.985); transition-duration: var(--dur-micro); }
.btn:focus-visible { border-radius: var(--radius-md); }
.btn--primary { --b-bg: var(--color-accent); --b-fg: var(--color-on-accent); }
.btn--primary:hover { --b-bg: var(--color-accent-hover); box-shadow: var(--glow-md); }
.btn--secondary { --b-bd: var(--color-border-input); }
.btn--secondary:hover { --b-bd: var(--color-accent); box-shadow: var(--glow-sm); }
.btn--text { padding: 0; min-height: 44px; --b-fg: var(--color-link); }
.btn--text span { text-decoration: underline transparent; text-underline-offset: 5px; text-decoration-thickness: 2px; transition: text-decoration-color var(--dur-ui) var(--ease-ui); }
.btn--text:hover span { text-decoration-color: currentColor; }
.btn--ink { --b-bg: var(--rr-ink-950); --b-fg: var(--rr-green-500); }
.btn--ink:hover { --b-bg: var(--rr-ink-850); --b-fg: var(--rr-green-300); box-shadow: 0 10px 30px -10px rgb(0 0 0 / .6); }
.btn--ink:focus-visible { outline-color: var(--rr-ink-950); }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: var(--fs-base); }
.btn[aria-disabled="true"], .btn:disabled { opacity: .5; cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }

/* ---------- streaks (intro phase 2.5–4.0 s) ---------- */
.streak-rule {
  height: var(--stroke-line); width: min(420px, 60%); margin-inline: auto;
  background: linear-gradient(90deg, rgb(175 202 5 / 0) 0%, rgb(175 202 5 / .9) 50%, rgb(175 202 5 / 0) 100%);
  filter: var(--glow-line);
}
.streak-rule--left { margin: var(--space-8) 0 0; width: min(360px, 70%); background: var(--streak-gradient); transform-origin: left; }
.js .streak-rule--left[data-reveal] { transform: scaleX(0); opacity: 1; transition: transform var(--dur-streak) var(--ease-out) .35s; }
.js .streak-rule--left[data-reveal].is-in { transform: scaleX(1); }
.streaks { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.streaks i {
  position: absolute; left: 0; height: var(--stroke-line); width: 46%;
  background: var(--streak-gradient); filter: var(--glow-line);
  transform-origin: left center; transform: translateX(-100%) scaleX(0); opacity: 0;
}
.streaks i:nth-child(1) { top: 28%; width: 52%; }
.streaks i:nth-child(2) { top: 64%; width: 34%; height: 3px; }
.streaks i:nth-child(3) { top: 82%; width: 42%; }
.streaks--top i:nth-child(1) { top: 0; }
.streaks--top i:nth-child(2) { top: 6px; }
.streaks.is-in i { animation: streak calc(var(--dur-streak) + var(--i) * 180ms) var(--ease-in) forwards; animation-delay: calc(var(--i) * 120ms); }
@keyframes streak {
  0%   { transform: translateX(-30%) scaleX(0); opacity: 1; }
  40%  { transform: translateX(0) scaleX(1); opacity: 1; }
  100% { transform: translateX(230%) scaleX(.6); opacity: 0; }
}

/* ---------- reveal (page load / scroll: rise out of darkness) ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(16px) scale(.98);
  transition: opacity var(--dur-enter) var(--ease-out), transform var(--dur-enter) var(--ease-out);
  transition-delay: calc(var(--i, 0) * var(--stagger));
}
.js [data-reveal="fly-l"] { transform: perspective(1200px) translateX(-40px) rotateY(35deg); transform-origin: left center; transition-duration: var(--dur-flyin); }
.js [data-reveal="fly-r"] { transform: perspective(1200px) translateX(40px) rotateY(-35deg); transform-origin: right center; transition-duration: var(--dur-flyin); }
.js [data-reveal="up"] { transform: perspective(1200px) translateY(40px) rotateX(20deg); transition-duration: var(--dur-flyin); }
.js [data-reveal="ghost"] { transform: translateX(6%); opacity: 0; transition: opacity 1.2s var(--ease-out), transform 1.4s var(--ease-out); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { transform: none !important; transition: opacity 150ms linear !important; transition-delay: 0s !important; }
  .streaks { display: none; }
}

/* ---------- ghost word (brand book device) ---------- */
.ghost {
  position: absolute; left: 0; right: 0; top: calc(var(--space-6) * -.2); z-index: var(--z-ghost);
  pointer-events: none; user-select: none; overflow: hidden; container-type: inline-size;
}
.ghost__w {
  display: block; padding-left: calc(var(--gutter) * .6);
  /* Długie słowa (Aftermarket, Współpraca) zmniejszają się tak, żeby zmieścić się w całości: --len = liczba znaków (build.py), ~0,7 em na znak. */
  font-size: min(var(--fs-ghost), calc((100cqi - var(--gutter) * .6 - .5rem) / (var(--len, 6) * .7)));
  font-weight: var(--fw-extralight); font-stretch: var(--stretch-display);
  line-height: .8; letter-spacing: -.02em; white-space: nowrap; color: var(--color-ghost-word);
}
@media (max-width: 640px) { .ghost__label { display: none; } }
.ghost__label {
  position: absolute; right: var(--gutter); top: calc(var(--fs-ghost) * .66);
  font-size: var(--fs-2xs); font-stretch: var(--stretch-display); letter-spacing: var(--tracking-caption); text-transform: uppercase; color: var(--color-text-3);
}

/* ---------- top bar + header ---------- */
.topbar { height: 6px; background: var(--rr-green-500); position: relative; z-index: calc(var(--z-nav) + 1); }
.hdr {
  position: sticky; top: 0; z-index: var(--z-nav); height: var(--hdr-h);
  background: rgb(11 11 12 / .82); -webkit-backdrop-filter: blur(12px) saturate(140%); backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid var(--color-border);
  transition: opacity var(--dur-enter) var(--ease-out), visibility 0s, background-color var(--dur-ui) var(--ease-ui), border-color var(--dur-ui);
}
.hdr__in { height: 100%; max-width: 1480px; margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; gap: var(--space-5); }
.hdr__logo { display: block; flex: none; padding: 6px 0; margin-right: auto; border-radius: var(--radius-xs); }
.hdr__logo img { height: 28px; width: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--radius-md);
  font-size: var(--fs-sm); font-weight: var(--fw-bold); font-stretch: var(--stretch-display); color: var(--color-text-2); white-space: nowrap;
  transition: color var(--dur-ui) var(--ease-ui), background-color var(--dur-ui) var(--ease-ui);
}
.nav__link:hover { color: var(--color-text); background: var(--color-surface-2); }
.nav__link[aria-current="page"], .nav__link.is-parent { color: var(--color-text); box-shadow: inset 0 -2px 0 var(--color-accent); border-radius: var(--radius-md) var(--radius-md) 0 0; }
.has-sub .nav__link { padding-right: 4px; }
.nav__sub-btn { width: 32px; height: 44px; display: grid; place-items: center; border-radius: var(--radius-md); color: var(--color-text-3); transition: color var(--dur-ui), background-color var(--dur-ui); }
.nav__sub-btn:hover, .nav__sub-btn[aria-expanded="true"] { color: var(--color-text); background: var(--color-surface-2); }
.nav__sub-btn .i { width: 16px; height: 16px; transition: transform var(--dur-ui) var(--ease-ui); }
.nav__sub-btn[aria-expanded="true"] .i { transform: rotate(180deg); }
.sub {
  position: absolute; top: calc(100% + 12px); left: -12px; width: min(760px, 70vw);
  padding: var(--space-4); border-radius: var(--radius-lg);
  background: var(--rr-ink-900);
  border: 1px solid var(--color-border-strong); box-shadow: var(--shadow-float);
  transform-origin: 40px 0; animation: subIn var(--dur-ui) var(--ease-out);
}
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* hover bridge */
@keyframes subIn { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
.sub__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.sub__item { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: var(--radius-md); transition: background-color var(--dur-ui) var(--ease-ui); }
.sub__item:hover, .sub__item[aria-current="page"] { background: var(--color-surface-2); }
.sub__img { flex: none; width: 56px; height: 56px; border-radius: var(--radius-sm); overflow: hidden; background: var(--photo-bg); box-shadow: inset 0 0 0 1px var(--tile-border); }
.sub__img img { width: 100%; height: 100%; object-fit: cover; }
.sub__name { display: block; font-size: var(--fs-sm); font-weight: var(--fw-bold); font-stretch: var(--stretch-display); color: var(--color-text); line-height: 1.3; }
.sub__teaser { display: block; font-size: var(--fs-xs); color: var(--color-text-3); line-height: 1.4; margin-top: 2px; }
.sub__all { display: inline-flex; align-items: center; gap: 8px; margin: var(--space-3) 10px 4px; min-height: 40px; font-size: var(--fs-sm); font-weight: var(--fw-bold); font-stretch: var(--stretch-display); color: var(--color-link); }
.sub__all .i { width: 16px; height: 16px; transition: transform var(--dur-ui) var(--ease-ui); }
.sub__all:hover .i { transform: translateX(4px); }
.hdr__phone { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 8px; font-size: var(--fs-sm); font-weight: var(--fw-bold); font-stretch: var(--stretch-display); color: var(--color-text-2); border-radius: var(--radius-md); white-space: nowrap; }
.hdr__phone:hover { color: var(--color-text); }
.hdr__phone .i { width: 18px; height: 18px; color: var(--color-accent); }
.hdr__cta { flex: none; min-height: 44px; }
.hdr__menu { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border-radius: var(--radius-md); box-shadow: inset 0 0 0 1px var(--color-border-input); font-size: var(--fs-sm); font-weight: var(--fw-bold); font-stretch: var(--stretch-display); color: var(--color-text); }
.hdr__menu:hover { box-shadow: inset 0 0 0 1px var(--color-accent); }
.hdr__menu-lines { width: 18px; height: 12px; position: relative; }
.hdr__menu-lines i { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform var(--dur-ui) var(--ease-ui), top var(--dur-ui) var(--ease-ui); }
.hdr__menu-lines i:first-child { top: 1px; } .hdr__menu-lines i:last-child { top: 9px; }
.hdr__menu[aria-expanded="true"] .hdr__menu-lines i:first-child { top: 5px; transform: rotate(45deg); }
.hdr__menu[aria-expanded="true"] .hdr__menu-lines i:last-child { top: 5px; transform: rotate(-45deg); }
/* language switcher (header): globe + code; list shows each language in its own name + code */
.lsw { position: relative; flex: none; }
.lsw__btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 8px 0 10px; border-radius: var(--radius-md); font-size: var(--fs-sm); font-weight: var(--fw-bold); font-stretch: var(--stretch-display); color: var(--color-text-2); transition: color var(--dur-ui), background-color var(--dur-ui); }
.lsw__btn:hover, .lsw__btn[aria-expanded="true"] { color: var(--color-text); background: var(--color-surface-2); }
/* flags (client 2026-10-27): 21x14, thin outline so white stripes stay visible on the dark header */
.flag { flex: none; display: block; width: 21px; height: 14px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgb(255 255 255 / .18); }
.lsw__btn .flag { margin-right: 2px; }
.lsw__a-name, .mlang__a-name { display: inline-flex; align-items: center; gap: 10px; }
.lsw__btn .i-chev { width: 14px; height: 14px; color: var(--color-text-3); transition: transform var(--dur-ui) var(--ease-ui); }
.lsw__btn[aria-expanded="true"] .i-chev { transform: rotate(180deg); }
.lsw__cur { letter-spacing: .04em; }
.lsw__pop {
  position: absolute; top: calc(100% + 12px); right: 0; min-width: 230px; padding: 6px;
  border-radius: var(--radius-lg); background: var(--rr-ink-900); border: 1px solid var(--color-border-strong); box-shadow: var(--shadow-float);
  transform-origin: calc(100% - 30px) 0; animation: subIn var(--dur-ui) var(--ease-out);
}
.lsw__list { display: grid; gap: 2px; }
.lsw__a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 0 12px; border-radius: var(--radius-md); color: var(--color-text-2); transition: background-color var(--dur-ui), color var(--dur-ui); }
.lsw__a:hover, .lsw__a:focus-visible { background: var(--color-surface-2); color: var(--color-text); }
.lsw__a-name { font-size: var(--fs-sm); font-weight: var(--fw-bold); font-stretch: var(--stretch-display); white-space: nowrap; }
.lsw__a-code { font-size: var(--fs-2xs); letter-spacing: var(--tracking-caps); color: var(--color-text-3); }
.lsw__a[aria-current] { color: var(--color-text); box-shadow: inset 3px 0 0 var(--color-accent); }
.lsw__a[aria-current] .lsw__a-code { color: var(--color-accent); }
/* mobile sheet: language chips */
.mmenu__eyebrow > span { font-size: var(--fs-2xs); letter-spacing: var(--tracking-caption); text-transform: uppercase; color: var(--color-text-3); display: inline-flex; min-height: 32px; align-items: center; }
.mlang { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 10.5rem), 1fr)); gap: 8px; margin-top: var(--space-2); }
.mlang__a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; padding: 0 14px; border-radius: var(--radius-md); box-shadow: inset 0 0 0 1px var(--color-border-strong); color: var(--color-text-2); }
.mlang__a-name { font-size: var(--fs-sm); font-weight: var(--fw-bold); font-stretch: var(--stretch-display); white-space: nowrap; }
.mlang__a-code { font-size: var(--fs-2xs); letter-spacing: var(--tracking-caps); color: var(--color-text-3); }
.mlang__a[aria-current] { color: var(--color-text); box-shadow: inset 0 0 0 2px var(--color-accent); }
.mlang__a[aria-current] .mlang__a-code { color: var(--color-accent); }
@media (min-width: 1380px) { .hdr__phone { display: inline-flex; } }
@media (max-width: 1179px) {
  .nav, .hdr__phone { display: none !important; }
  .hdr__menu { display: inline-flex; }
}
@media (max-width: 520px) {
  .hdr__cta, .hdr .lsw { display: none; }
  .hdr__logo img { height: 24px; }
}

/* mobile sheet menu */
.mmenu {
  position: fixed; inset: var(--hdr-h) 0 0; z-index: calc(var(--z-nav) - 1);
  background: var(--rr-ink-950); overflow-y: auto; overscroll-behavior: contain;
  padding: var(--space-6) var(--gutter) calc(var(--space-8) + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: var(--space-7);
}
.has-topbar .mmenu { top: calc(var(--hdr-h) + 6px); }
.mmenu__eyebrow a { font-size: var(--fs-2xs); letter-spacing: var(--tracking-caption); text-transform: uppercase; color: var(--color-text-3); display: inline-flex; min-height: 32px; align-items: center; }
.mmenu__cats li a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; border-bottom: 1px solid var(--color-border); font-size: var(--fs-xl); font-weight: var(--fw-bold); font-stretch: var(--stretch-display); color: var(--color-text); }
.mmenu__cats .i { width: 20px; color: var(--color-accent); flex: none; }
.mmenu__main { margin-top: var(--space-6); }
.mmenu__main a { display: flex; align-items: center; min-height: 56px; font-size: var(--fs-2xl); font-weight: var(--fw-bold); font-stretch: var(--stretch-display); color: var(--color-text); letter-spacing: -.01em; }
.mmenu__main a[aria-current="page"] { color: var(--color-accent); }
.mmenu__foot { display: grid; grid-template-columns: 1fr 1.5fr; gap: var(--space-3); margin-top: auto; }
.mmenu li { animation: mIn var(--dur-flyin) var(--ease-out) both; animation-delay: calc(var(--i) * 40ms); }
@keyframes mIn { from { opacity: 0; transform: perspective(1200px) translateX(40px) rotateY(-25deg); } }
html.menu-open { overflow: hidden; }

/* mobile sticky bar */
.mbar { display: none; }
@media (max-width: 767px) {
  .mbar {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-nav);
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgb(11 11 12 / .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-top: 1px solid var(--color-border);
    transition: transform var(--dur-enter) var(--ease-out);
  }
  .mbar.is-hidden { transform: translateY(110%); }
  .mbar__btn { min-height: 48px; padding: 0 10px; min-width: 0; white-space: nowrap; }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  html.menu-open .mbar { display: none; }
}

/* ---------- footer ---------- */
.ftr { position: relative; background: var(--color-surface-1); border-top: 1px solid var(--color-border); padding-top: var(--space-9); }
.ftr > .streak-rule { position: absolute; top: -1px; left: 50%; transform: translateX(-50%); }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--space-7) var(--space-6); padding-bottom: var(--space-8); }
.ftr__brand img { width: 200px; height: auto; }
.ftr__brand .caption { margin-top: var(--space-4); }
.ftr__about { margin-top: var(--space-4); font-size: var(--fs-sm); max-width: 30ch; }
.ftr__h { font-size: var(--fs-2xs); font-weight: var(--fw-regular); font-stretch: var(--stretch-display); letter-spacing: var(--tracking-caption); text-transform: uppercase; color: var(--color-text-3); margin-bottom: var(--space-4); }
.ftr__col li { font-size: var(--fs-sm); line-height: 1.5; }
.ftr__col li + li { margin-top: 6px; }
.ftr__col a { display: inline-flex; min-height: 28px; align-items: center; color: var(--color-text-2); transition: color var(--dur-ui); }
.ftr__col a:hover { color: var(--color-accent); }
.ftr address { font-style: normal; }
.ftr__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3) var(--space-6); padding-block: var(--space-5) var(--space-6); border-top: 1px solid var(--color-border); font-size: var(--fs-2xs); color: var(--color-text-3); font-stretch: var(--stretch-dense); }
.ftr__tm { flex-basis: 100%; order: 3; max-width: 90ch; }
.ftr__legal-links { display: flex; flex-wrap: wrap; gap: var(--space-5); }
.ftr__legal a { text-decoration: underline; text-underline-offset: 3px; }
.ftr__legal a:hover { color: var(--color-text); }
@media (max-width: 900px) { .ftr__grid { grid-template-columns: 1fr 1fr; } .ftr__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .ftr__grid { grid-template-columns: 1fr; } }

/* =====================================================================
   HOME – intro stage
   ===================================================================== */
.home .hdr { background: rgb(1 1 1 / .7); border-bottom-color: transparent; }
.home .hdr.is-scrolled { background: rgb(11 11 12 / .82); border-bottom-color: var(--color-border); }
.intro-play .home .hdr, html.intro-play .hdr { opacity: 0; visibility: hidden; transition: opacity var(--dur-enter) var(--ease-out), visibility 0s var(--dur-enter); animation: hdrFailsafe 0s 14s forwards; }
@keyframes hdrFailsafe { to { opacity: 1; visibility: visible; } } /* never lose the nav if the intro script fails */

.stage { position: relative; background: var(--rr-stage); margin-top: calc(-1 * var(--hdr-h)); padding-top: var(--hdr-h); }
/* The video is a 16:9 master (1920×1080). The box is as wide as the viewport allows at 16:9; when the
   viewport is narrower than that, the frame keeps its height and crops only the black sides, never past
   the end card's widest element, the ghost caption (keep x 280–1640: 1360×1080, aspect 1.2593). Everything inside .stage__canvas (video, stills,
   hotspots, chips) shares one 16:9 coordinate system, so the percentages in hotspots.json always hold. */
.stage__box {
  --fh: calc(100svh - var(--hdr-h) - var(--stage-bar) - var(--bstrip) - 8px);
  width: min(100%, calc(var(--fh) * 16 / 9)); margin-inline: auto;
  container-type: inline-size;
}
.stage__frame {
  --ch: min(var(--fh), calc(100cqw / 1.2593));   /* frame = canvas height */
  --cw: calc(var(--ch) * 16 / 9);               /* canvas width (≥ frame width) */
  position: relative; width: 100%; height: var(--ch); overflow: hidden; background: var(--rr-stage);
}
.stage__canvas { position: absolute; top: 0; left: 50%; width: var(--cw); height: 100%; transform: translateX(-50%); }
/* Edge feather while the intro plays: the light rays and lightning reach the frame edges. */
.stage__frame::after {
  content: ""; position: absolute; inset: -1px; z-index: 2; pointer-events: none; opacity: 0;
  background:
    linear-gradient(to right, var(--rr-stage), rgb(1 1 1 / .78) 2%, rgb(1 1 1 / .45) 4.5%, rgb(1 1 1 / .18) 7%, rgb(1 1 1 / 0) 9.5%,
      rgb(1 1 1 / 0) 90.5%, rgb(1 1 1 / .18) 93%, rgb(1 1 1 / .45) 95.5%, rgb(1 1 1 / .78) 98%, var(--rr-stage)),
    linear-gradient(to bottom, var(--rr-stage), rgb(1 1 1 / .7) 2%, rgb(1 1 1 / .3) 5%, rgb(1 1 1 / 0) 8.5%,
      rgb(1 1 1 / 0) 91.5%, rgb(1 1 1 / .3) 95%, rgb(1 1 1 / .7) 98%, var(--rr-stage));
  transition: opacity 400ms linear;
}
.stage[data-state="play"] .stage__frame::after { opacity: 1; }
.stage__canvas { --u: calc(var(--cw) / 1920); }   /* 1 px of the 1080p master, at any stage size */
.stage__canvas > img, .stage__v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage__v { opacity: 0; transition: opacity 200ms linear; pointer-events: none; }
/* The intro video ends on frame 112 (lightning, truck close up). Its radial mask is "open" while it plays
   (mask 400 % of the box) and closes to a soft ellipse during the zoom-out, so the shrinking frame has no edge. */
.stage__intro {
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent); mask-image: radial-gradient(closest-side, #000 72%, transparent);
  -webkit-mask-size: 400% 400%; mask-size: 400% 400%; -webkit-mask-position: 50% 50%; mask-position: 50% 50%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; transform-origin: 50% 50%;
}
.stage__final { opacity: 0; transition: opacity 250ms linear; }
.no-js .stage__final { opacity: 1; }
/* play state */
.stage[data-state="play"].intro-on .stage__intro { opacity: 1; }
/* final state */
.stage[data-state="final"] .stage__final { opacity: 1; }
.stage[data-state="final"] .stage__poster { opacity: 0; }
html.intro-final .stage[data-state="init"] .stage__final { opacity: 1; }
html.intro-final .stage[data-state="init"] .stage__poster { opacity: 0; }
/* ended -> end card: the frozen frame zooms out until its truck matches the plate's truck (scale and offset
   measured on the headlights, hotspots.json "transition") and fades; the plate fades in under it. */
.stage.is-zoom[data-state="final"] .stage__intro {
  opacity: 0; transform: translate(var(--ztx), var(--zty)) scale(var(--zs));
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  transition: transform 1100ms cubic-bezier(.33, 0, .15, 1), opacity 650ms linear 380ms, -webkit-mask-size 700ms ease-out, mask-size 700ms ease-out;
}
.stage.is-zoom[data-state="final"] .stage__final { transition: opacity 750ms cubic-bezier(.4, 0, .2, 1) 200ms; }

.stage__bar { height: var(--stage-bar); display: flex; align-items: center; gap: var(--space-4); padding-inline: max(4px, calc(var(--gutter) - (100vw - 100%) / 2)); }
.stage__bar:has(.stage__note:not(:empty)) .stage__hint { display: none; }
.stage__hint, .stage__note { font-size: var(--fs-xs); color: var(--color-text-3); font-stretch: var(--stretch-display); }
.stage__hint { opacity: 0; transition: opacity var(--dur-enter) var(--ease-out) .6s; }
.stage[data-state="final"] .stage__hint, .no-js .stage__hint { opacity: 1; }
.stage__note:empty { display: none; }
.stage__note { color: var(--color-text-2); }
.stage__note + .ictl, .stage__bar .ictl { margin-left: auto; }
.ictl {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 12px; border-radius: var(--radius-md);
  box-shadow: inset 0 0 0 1px var(--rr-ink-700); color: var(--color-text);
  font-size: var(--fs-xs); font-weight: var(--fw-bold); font-stretch: var(--stretch-display); letter-spacing: .02em;
  background: rgb(20 20 22 / .6); white-space: nowrap; flex: none;
  transition: box-shadow var(--dur-ui) var(--ease-ui), color var(--dur-ui);
}
.ictl .i { width: 14px; height: 14px; color: var(--color-accent); }
.ictl:hover { box-shadow: inset 0 0 0 1px var(--color-accent), var(--glow-sm); }
.ictl:active { transform: translateY(1px); }

/* End card: 4 HTML tiles in the style of the intro's tiles (pale-green frame, photo on light grey, lime label
   bar starting 6 px left of the tile) plus connector lines to the truck. Sizes in --u (1080p pixels). */
.hs, .hs__wires { position: absolute; inset: 0; z-index: var(--z-hotspot); margin: 0; padding: 0; list-style: none; }
.hs__wires { pointer-events: none; }
.hs[inert] { pointer-events: none; }
.hs__li { position: absolute; transition: opacity 250ms linear, transform 250ms var(--ease-out); }
.hs__a {
  position: absolute; inset: 0; display: block; border-radius: calc(16 * var(--u)); overflow: visible;
  background: #E9EAE6; box-shadow: inset 0 0 0 calc(4 * var(--u)) #CFE37A, 0 calc(10 * var(--u)) calc(40 * var(--u)) rgb(0 0 0 / .45);
  transition: box-shadow var(--dur-ui) var(--ease-ui), transform var(--dur-ui) var(--ease-ui);
}
.hs__img { position: absolute; inset: calc(4 * var(--u)); border-radius: calc(12 * var(--u)); overflow: hidden; isolation: isolate; }
.hs__img img { width: 100%; height: 100%; object-fit: cover; }   /* client photos are full-bleed scenes (2026-10-28), so no multiply onto the grey field */
.hs__chip {
  position: absolute; z-index: 1; left: calc(-8 * var(--u)); bottom: calc(18 * var(--u)); max-width: calc(100% + 16 * var(--u));
  display: flex; align-items: center; gap: .5em; min-height: calc(54 * var(--u)); box-sizing: border-box;
  padding: calc(8 * var(--u)) calc(16 * var(--u)) calc(8 * var(--u)) calc(22 * var(--u));
  background: var(--rr-green-500); color: var(--rr-ink-950); border-radius: calc(4 * var(--u));
  /* 25 px of the master (client, 2026-10-27: ~1.5–2× the old 15); one size for all 4 labels, shrunk when the longest
     one (build.py --len on .hs = its characters) and the hover arrow would not fit the 268 px text room;
     --k = widest caps advance in em for each stretch */
  --k: .94;
  font-size: clamp(9px, min(calc(25 * var(--u)), calc(268 * var(--u) / (var(--len, 8) * var(--k) + 1.35))), 28px); font-weight: var(--fw-bold); font-stretch: var(--stretch-display);
  line-height: 1.15; letter-spacing: .02em;
  transition: background-color var(--dur-ui) var(--ease-ui);
}
@container (max-width: 1180px) { .hs__chip { font-stretch: var(--stretch-body); --k: .83; } }
.hs__txt { padding-block: .1em; text-wrap: balance; }  /* a longer name wraps to 2 lines on smaller stages; the bar grows upwards */
.hs__chip .i { width: 1.05em; height: 1.05em; flex: none; margin-right: -.2em; opacity: 0; transform: translateX(-.4em); transition: opacity var(--dur-ui) var(--ease-ui), transform var(--dur-ui) var(--ease-ui); }
.stage[data-state="final"] .hs__a:hover, .stage[data-state="final"] .hs__a:focus-visible {
  box-shadow: inset 0 0 0 calc(4 * var(--u)) var(--rr-green-200), var(--glow-md); transform: translateY(calc(-4 * var(--u)));
}
.stage[data-state="final"] .hs__a:hover .hs__chip, .stage[data-state="final"] .hs__a:focus-visible .hs__chip { background: var(--rr-green-300); }
.stage[data-state="final"] .hs__a:hover .hs__chip .i, .stage[data-state="final"] .hs__a:focus-visible .hs__chip .i { opacity: 1; transform: none; }
.hs__a:focus-visible { outline: 2px solid var(--rr-green-200); outline-offset: 5px; }
.hs__a:active { transform: scale(.985); }
/* connector lines: tile -> truck, a dot where they meet the truck */
.hs__wire { position: absolute; height: max(1px, calc(3 * var(--u))); margin-top: calc(-1.5 * var(--u)); background: var(--rr-green-500); filter: var(--glow-line); transition: transform 250ms var(--ease-out); }
.hs__wire::after { content: ""; position: absolute; top: 50%; width: max(4px, calc(10 * var(--u))); aspect-ratio: 1; border-radius: 50%; background: var(--rr-green-500); transform: translate(-50%, -50%); }
.hs__wire--l { transform-origin: left center; }
.hs__wire--l::after { left: 100%; }
.hs__wire--r { transform-origin: right center; }
.hs__wire--r::after { left: 0; }
/* hidden while the intro plays (and before the script decides, on a first visit) */
.stage[data-state="play"] .hs__li, html.intro-play .stage[data-state="init"] .hs__li { opacity: 0; transform: scale(.9); }
.stage[data-state="play"] .hs--l, html.intro-play .stage[data-state="init"] .hs--l { transform: translateX(calc(-40 * var(--u))) scale(.9); }
.stage[data-state="play"] .hs--r, html.intro-play .stage[data-state="init"] .hs--r { transform: translateX(calc(40 * var(--u))) scale(.9); }
.stage[data-state="play"] .hs__wire, html.intro-play .stage[data-state="init"] .hs__wire { transform: scaleX(0); }
/* choreography after the zoom-out: tiles in list order, then their lines */
.stage.is-zoom .hs__li { transition: opacity 500ms var(--ease-out) calc(750ms + var(--k) * 110ms), transform 800ms var(--ease-out) calc(750ms + var(--k) * 110ms); }
.stage.is-zoom .hs__wire { transition: transform var(--dur-line) var(--ease-out) calc(1150ms + var(--k) * 110ms); }

/* category grid under the video on phones (the chips there are too small to read: they only cover the bars) */
.mcats { display: none; padding-inline: var(--gutter); }
.mcats ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mcats li { animation: mIn var(--dur-flyin) var(--ease-out) both; animation-delay: calc(var(--i) * var(--stagger)); }
.mcats li:nth-child(odd) { animation-name: mInL; }
.mcard { display: block; height: 100%; border-radius: var(--radius-lg); overflow: hidden; background: var(--color-surface-1); box-shadow: inset 0 0 0 2px var(--tile-border); transition: box-shadow var(--dur-ui) var(--ease-ui), transform var(--dur-micro); }
.mcard:active { transform: scale(.98); }
.mcard:hover, .mcard:focus-visible { box-shadow: inset 0 0 0 2px var(--rr-green-500), var(--glow-md); }
.mcard__img { display: block; aspect-ratio: 1; background: var(--photo-bg); margin: 2px 2px 0; border-radius: calc(var(--radius-lg) - 2px) calc(var(--radius-lg) - 2px) 0 0; overflow: hidden; }
.mcard__img img { width: 100%; height: 100%; object-fit: cover; }
.mcard__name { display: flex; align-items: center; min-height: 52px; padding: 8px 12px; font-size: var(--fs-xs); font-weight: var(--fw-bold); font-stretch: var(--stretch-display); color: var(--color-text); line-height: 1.25; }
@media (max-width: 699px) {
  .stage { margin-top: calc(-1 * var(--hdr-h)); padding-bottom: var(--space-7); }
  .stage__box { width: 100%; }
  .stage__bar { height: 56px; }
  .stage__hint { display: none; }
  .hs__txt, .hs__chip .i { display: none; }
  .hs__chip { width: 70%; padding: 0; min-height: calc(40 * var(--u)); }
  .mcats { display: block; }
}
@keyframes mInL { from { opacity: 0; transform: perspective(1200px) translateX(-30px) rotateY(25deg); } }
@media (min-width: 700px) { .sr-cats { display: block; } .stage[data-state="final"] .sr-cats { display: none; } }
@media (max-width: 699px) { .sr-cats { display: none; } }

/* ---------- home hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: calc(var(--section-y) * 1.1) calc(var(--section-y) * .35); }
.hero .ghost { top: calc(var(--section-y) * .25); }
.hero__in { padding-top: calc(var(--fs-ghost) * .45); }
.hero__h { max-width: 15ch; font-size: clamp(2.25rem, 1.2rem + 4.4vw, 5rem); }
.hero .lead { margin-top: var(--space-6); }

/* ---------- value ---------- */
.value__copy { grid-column: 1 / span 6; }
.value__copy .lead { margin-top: var(--space-5); }
.value__facts { grid-column: 8 / span 5; }
.callouts { display: grid; gap: 0; }
.callout { position: relative; padding: var(--space-5) 0 var(--space-5) 56px; border-top: 1px solid var(--color-border); }
.callout:last-child { border-bottom: 1px solid var(--color-border); }
.callout::before { content: ""; position: absolute; left: 0; top: calc(var(--space-5) + .9em); width: 40px; height: var(--stroke-line); background: var(--color-accent); }
.callout::after { content: ""; position: absolute; left: 36px; top: calc(var(--space-5) + .9em - 3px); width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent); box-shadow: 0 0 10px rgb(175 202 5 / .6); }
.callout p { margin-top: var(--space-2); font-size: var(--fs-sm); line-height: 1.6; }
.callout .h4 { font-size: var(--fs-lg); }
@media (max-width: 900px) { .value__copy, .value__facts { grid-column: 1 / -1; } }

/* ---------- process track (connector line) ---------- */
.process { overflow: hidden; }
.track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); padding-top: 44px; }
.track--3 { grid-template-columns: repeat(3, 1fr); }
.track::before, .track::after { content: ""; position: absolute; top: 7px; left: 8px; right: 8px; height: var(--stroke-line); }
.track::before { background: var(--color-border-strong); }
.track::after { background: var(--rr-green-500); filter: var(--glow-line); transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease-out) .2s; }
.track.is-in::after { transform: scaleX(1); }
.no-js .track::after, .track.is-static::after { transform: scaleX(1); }
.track__step { position: relative; padding: var(--space-6); background: var(--color-surface-1); border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.track__step::before { content: ""; position: absolute; left: var(--space-6); top: -1px; width: 40px; height: var(--stroke-line); background: var(--color-accent); }
.track__node { position: absolute; top: -44px; left: var(--space-6); width: 16px; height: 16px; border-radius: 50%; background: var(--rr-ink-950); box-shadow: inset 0 0 0 2px var(--rr-ink-700); transition: box-shadow var(--dur-ui) var(--ease-ui) calc(400ms + var(--i) * 260ms), background-color var(--dur-ui) calc(400ms + var(--i) * 260ms); }
.track.is-in .track__node { background: var(--rr-green-500); box-shadow: 0 0 0 4px rgb(175 202 5 / .18), 0 0 16px rgb(175 202 5 / .6); }
.track__step .num { display: block; font-size: var(--fs-3xl); margin-bottom: var(--space-5); }
.track__step p { margin-top: var(--space-3); font-size: var(--fs-sm); }
.track--3 .track__step p.h4 { margin-top: 0; font-size: var(--fs-lg); color: var(--color-text); }
@media (max-width: 1000px) {
  .track, .track--3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .track, .track--3 { grid-template-columns: 1fr; padding-top: 0; padding-left: 36px; gap: var(--space-4); }
  .track::before, .track::after { top: 8px; bottom: 8px; left: 7px; right: auto; width: var(--stroke-line); height: auto; }
  .track::after { transform-origin: top; transform: scaleY(0); }
  .track.is-in::after { transform: scaleY(1); }
  .track__node { top: var(--space-6); left: -36px; }
}

/* ---------- why ---------- */
.why { overflow: hidden; }
.why__sign { position: absolute; right: -6vw; top: 50%; width: min(56vw, 720px); height: auto; opacity: .05; transform: translateY(-50%); pointer-events: none; }
.why__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-7) var(--space-6); }
.why__item { border-top: 1px solid var(--color-border-strong); padding-top: var(--space-5); container-type: inline-size; }
/* Najdłuższe słowo („Powtarzalność”) ma się mieścić w kolumnie w całości: rozmiar zależy też od szerokości kolumny (cqi), bez dzielenia wyrazów. */
.why__t { font-size: min(clamp(1.75rem, .9rem + 2.2vw, 3.25rem), 12.5cqi); overflow-wrap: normal; hyphens: manual; font-weight: var(--fw-extralight); font-stretch: var(--stretch-display); letter-spacing: -.02em; line-height: 1.05; color: var(--color-text); margin-bottom: var(--space-5); }
.why__item p { font-size: var(--fs-sm); max-width: 40ch; }
@media (max-width: 900px) { .why__list { grid-template-columns: 1fr; } }

/* ---------- b2b teaser ---------- */
.b2b { padding-top: 0; }
.b2b__panel {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: var(--space-6);
  padding: clamp(32px, 5vw, 72px); border-radius: var(--radius-xl);
  background: var(--color-surface-1); border: 1px solid var(--color-border);
}
.b2b__slash { position: absolute; right: -12%; top: -40%; width: 36%; height: 180%; background: linear-gradient(180deg, var(--rr-ink-850), var(--rr-ink-900)); transform: skewX(-24deg); pointer-events: none; }
.b2b__slash::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--stroke-line); background: linear-gradient(180deg, transparent, rgb(175 202 5 / .7), transparent); filter: var(--glow-line); }
.b2b__copy, .b2b__act { position: relative; }
.b2b__copy { max-width: 40rem; }
.b2b__copy .lead { margin-top: var(--space-4); }
@media (max-width: 800px) { .b2b__panel { grid-template-columns: 1fr; } .b2b__slash { width: 40%; right: -46%; } }

/* ---------- green CTA band (brand book cover) ---------- */
.band { position: relative; overflow: hidden; background: var(--rr-green-500); color: var(--rr-ink-950); padding-block: clamp(56px, 7vw, 104px); }
.band .h2 { color: var(--rr-ink-950); max-width: 18ch; }
.band p { color: var(--rr-ink-950); font-size: var(--fs-lg); margin-top: var(--space-4); max-width: 46ch; }
.band__sign { position: absolute; right: -4%; top: 50%; width: min(40vw, 460px); height: auto; transform: translateY(-50%); opacity: .1; pointer-events: none; } /* black at 10% on #AFCA05 = tone-on-tone ≈ green-600 */
.band__in { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: var(--space-6); }
.band__act { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); position: relative; }
.band__phone { margin: 0 !important; font-size: var(--fs-sm) !important; }
.band__phone a { font-weight: var(--fw-bold); text-decoration: underline; text-underline-offset: 3px; }
.band .todo { color: var(--rr-ink-950); text-decoration-color: var(--rr-ink-950); }
.band .todo__k { color: var(--rr-ink-950); border-color: var(--rr-ink-950); }
.band a:focus-visible { outline-color: var(--rr-ink-950); }
@media (max-width: 800px) { .band__in { grid-template-columns: 1fr; } .band__sign { opacity: .07; } }

/* =====================================================================
   Subpages
   ===================================================================== */
.phead { position: relative; overflow: hidden; padding-block: calc(var(--section-y) * .9) calc(var(--section-y) * .5); }
.phead__in { padding-top: calc(var(--fs-ghost) * .36); }
.phead .lead { margin-top: var(--space-5); }
.phead__meta { margin-top: var(--space-4); }
.phead__meta .vtag { margin-left: 0; }
.crumbs { margin-bottom: var(--space-6); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: var(--fs-xs); font-stretch: var(--stretch-display); color: var(--color-text-3); }
.crumbs li { display: flex; align-items: center; }
.crumbs li + li::before { content: ""; width: 14px; height: 1px; background: var(--color-border-input); margin: 0 10px; }
.crumbs a { display: inline-flex; min-height: 32px; align-items: center; color: var(--color-text-2); text-decoration: underline transparent; text-underline-offset: 3px; transition: text-decoration-color var(--dur-ui); }
.crumbs a:hover { text-decoration-color: currentColor; }
.crumbs [aria-current] { color: var(--color-text); }

/* product tiles (oferta) */
.ptiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-7) var(--space-5); }
.ptile { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; background: var(--photo-bg); box-shadow: inset 0 0 0 2px var(--tile-border); transition: box-shadow var(--dur-ui) var(--ease-ui), transform var(--dur-ui) var(--ease-ui); isolation: isolate; }
.ptile__img { display: block; aspect-ratio: 1; }
.ptile__img img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: -1; }
.ptile__bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 48px 20px 18px; background: linear-gradient(0deg, rgb(11 11 12 / .92) 0%, rgb(11 11 12 / .6) 55%, rgb(11 11 12 / 0) 100%); color: var(--color-text); }
.ptile__name { font-size: var(--fs-base); font-weight: var(--fw-bold); font-stretch: var(--stretch-display); line-height: 1.25; }
.ptile__bar .i { width: 20px; height: 20px; flex: none; color: var(--rr-green-500); transition: transform var(--dur-ui) var(--ease-ui); }
a.ptile:hover, a.ptile:focus-visible { box-shadow: inset 0 0 0 2px var(--rr-green-500), var(--glow-md); transform: translateY(-3px); }
a.ptile:hover .i { transform: translateX(4px); }
a.ptile:active { transform: translateY(-1px) scale(.995); }
a.ptile:focus-visible { outline-offset: 4px; border-radius: var(--radius-lg); }
.ptile__teaser { margin-top: var(--space-4); font-size: var(--fs-sm); max-width: 36ch; }
.other { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-5); padding: var(--space-7); border: 1px dashed var(--color-border-input); border-radius: var(--radius-xl); }
.other p { margin-top: var(--space-2); }
@media (max-width: 1000px) { .ptiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ptiles { grid-template-columns: 1fr; } }

/* category hero */
.chero { position: relative; overflow: hidden; padding-block: calc(var(--section-y) * .7) calc(var(--section-y) * .6); }
.chero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-8); align-items: center; padding-top: calc(var(--fs-ghost) * .4); }
.chero__h { font-size: clamp(2rem, 1.3rem + 3vw, 4rem); }
.chero .lead { margin-top: var(--space-5); }
.chero__fig { position: relative; }
.chero__fig .ptile { box-shadow: inset 0 0 0 2px var(--tile-border), var(--shadow-float); }
.chero__wire { position: absolute; right: 100%; top: 50%; width: clamp(24px, 3.5vw, 64px); height: var(--stroke-line); background: var(--rr-green-500); filter: var(--glow-line); transform-origin: right; transform: scaleX(0); transition: transform var(--dur-line) var(--ease-out) calc(var(--dur-flyin) + 100ms); }
.chero__wire::before { content: ""; position: absolute; left: -4px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--rr-green-500); }
.chero__fig.is-in .chero__wire, .no-js .chero__wire { transform: scaleX(1); }
.chero__cap { margin-top: var(--space-3); font-size: var(--fs-xs); color: var(--color-text-3); }
@media (max-width: 900px) {
  .chero__grid { grid-template-columns: 1fr; gap: var(--space-7); }
  .chero__fig { max-width: 440px; }
  .chero__wire { display: none; }
}

/* spec rows (F-pattern: heading | content) */
.specs { padding-bottom: var(--section-y); }
.srow { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-6); padding-block: var(--space-8); border-top: 1px solid var(--color-border); }
.srow__head { position: sticky; top: calc(var(--hdr-h) + 24px); align-self: start; }
.srow__head .vtag { margin: var(--space-3) 0 0; }
.srow__body > p { max-width: var(--measure); }
.srow__body > * + * { margin-top: var(--space-5); }
@media (max-width: 800px) { .srow { grid-template-columns: 1fr; gap: var(--space-5); padding-block: var(--space-7); } .srow__head { position: static; } }
.list li { position: relative; padding: 12px 0 12px 34px; border-bottom: 1px solid var(--color-border); max-width: 68ch; color: var(--color-text-2); }
.list li:first-child { padding-top: 4px; }
.list li:first-child::before { top: calc(4px + .8em); }
.list li::before { content: ""; position: absolute; left: 0; top: calc(12px + .8em); width: 18px; height: var(--stroke-line); background: var(--color-accent); }
.rail { position: relative; counter-reset: r; }
.rail::before { content: ""; position: absolute; left: 19px; top: 12px; bottom: 12px; width: var(--stroke-line); background: linear-gradient(180deg, var(--rr-green-500), var(--rr-ink-700)); }
.rail li { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: var(--space-4); align-items: start; padding-block: 10px; max-width: 72ch; }
.rail__n { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--color-bg); box-shadow: inset 0 0 0 2px var(--rr-green-500); font-size: var(--fs-2xs); font-weight: var(--fw-black); font-stretch: var(--stretch-display); color: var(--color-accent); }
.rail li > span:last-child { padding-top: 8px; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
@media (max-width: 640px) { .opts { grid-template-columns: 1fr; } }
.card { position: relative; padding: var(--space-6); background: var(--color-surface-1); border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.card::before { content: ""; position: absolute; left: var(--space-6); top: -1px; width: 40px; height: var(--stroke-line); background: var(--color-accent); }
.card .h4 { font-size: var(--fs-lg); }
.card p { margin-top: var(--space-3); font-size: var(--fs-sm); }
.card--wide p { font-size: var(--fs-base); max-width: var(--measure); }
.chain { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.chain li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface-1); }
.chain__n { font-size: var(--fs-xs); font-weight: var(--fw-black); font-stretch: var(--stretch-display); color: var(--color-accent); }
.chain__t { font-size: var(--fs-sm); font-weight: var(--fw-bold); font-stretch: var(--stretch-display); color: var(--color-text); line-height: 1.3; }
@media (max-width: 900px) { .chain { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .chain { grid-template-columns: 1fr; } }
.faq__i { border-bottom: 1px solid var(--color-border); }
.faq__i:first-child { border-top: 1px solid var(--color-border); }
.faq__i summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 64px; padding: 14px 0; cursor: pointer; list-style: none; font-size: var(--fs-base); font-weight: var(--fw-bold); font-stretch: var(--stretch-display); color: var(--color-text); transition: color var(--dur-ui); }
.faq__i summary::-webkit-details-marker { display: none; }
.faq__i summary:hover { color: var(--color-accent); }
.faq__i summary .i { width: 18px; height: 18px; flex: none; color: var(--color-accent); transition: transform var(--dur-ui) var(--ease-ui); }
.faq__i[open] summary .i { transform: rotate(45deg); }
.faq__a { padding: 0 0 var(--space-5); max-width: var(--measure); }
.faq__i[open] .faq__a { animation: faqIn var(--dur-enter) var(--ease-out); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }
.others__head { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); margin-bottom: var(--space-5); }
.ocats { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-3); }
.ocat { display: flex; flex-direction: column; gap: 10px; padding: 10px 10px 14px; border-radius: var(--radius-lg); border: 1px solid var(--color-border); background: var(--color-surface-1); height: 100%; transition: border-color var(--dur-ui), box-shadow var(--dur-ui), transform var(--dur-ui) var(--ease-ui); }
.ocat:hover, .ocat:focus-visible { border-color: var(--rr-green-500); box-shadow: var(--glow-sm); transform: translateY(-2px); }
.ocat__img { display: block; aspect-ratio: 1; border-radius: var(--radius-md); overflow: hidden; background: var(--photo-bg); }
.ocat__img img { width: 100%; height: 100%; object-fit: cover; }
.ocat__name { font-size: var(--fs-xs); font-weight: var(--fw-bold); font-stretch: var(--stretch-display); color: var(--color-text); line-height: 1.3; padding-inline: 4px; flex: 1; }
.ocat .i { width: 16px; height: 16px; color: var(--color-accent); margin-left: 4px; }
@media (max-width: 1000px) { .ocats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .ocats { grid-template-columns: 1fr 1fr; } }

/* proces timeline */
.tl { position: relative; max-width: 980px; }
.tl::before, .tl::after { content: ""; position: absolute; left: 31px; top: 32px; bottom: 32px; width: var(--stroke-line); }
.tl::before { background: var(--color-border-strong); }
.tl::after { background: var(--rr-green-500); filter: var(--glow-line); transform-origin: top; transform: scaleY(var(--p, 0)); }
.no-js .tl::after { transform: none; }
.tl__step { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: var(--space-6); padding-block: var(--space-6); }
.tl__node { position: absolute; left: 24px; top: calc(var(--space-6) + 24px); width: 16px; height: 16px; border-radius: 50%; background: var(--rr-ink-950); box-shadow: inset 0 0 0 2px var(--rr-ink-700); z-index: 1; transition: background-color var(--dur-ui), box-shadow var(--dur-ui); }
.tl__step.is-lit .tl__node { background: var(--rr-green-500); box-shadow: 0 0 0 5px rgb(175 202 5 / .15), 0 0 16px rgb(175 202 5 / .6); }
.tl__n { grid-column: 2; font-size: var(--fs-3xl); font-weight: var(--fw-black); font-stretch: var(--stretch-display); color: var(--color-text-3); line-height: 1; transition: color var(--dur-ui); }
.tl__step.is-lit .tl__n { color: var(--color-accent); }
.tl__body { grid-column: 2; }
.tl__body p { margin-top: var(--space-3); max-width: var(--measure); }
.tl__step { grid-template-rows: auto auto; }
.core__copy { grid-column: 1 / span 5; }
.core__copy .lead { margin-top: var(--space-5); }
.core__body { grid-column: 7 / span 6; }
.core__ch { margin: var(--space-7) 0 var(--space-4); }
@media (max-width: 900px) { .core__copy, .core__body { grid-column: 1 / -1; } }
.tbl-wrap:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.tbl-wrap { margin-top: var(--space-7); overflow-x: auto; border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface-1); }
.tbl { width: 100%; border-collapse: collapse; font-stretch: var(--stretch-dense); font-size: var(--fs-sm); min-width: 640px; }
.tbl th, .tbl td { text-align: left; padding: 18px 24px; border-bottom: 1px solid var(--color-border); vertical-align: top; }
.tbl tbody tr:last-child > * { border-bottom: 0; }
.tbl thead th { font-size: var(--fs-2xs); font-weight: var(--fw-regular); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--color-text-3); font-stretch: var(--stretch-display); background: var(--color-surface-2); }
.tbl thead th:nth-child(2) { color: var(--color-accent); box-shadow: inset 0 2px 0 var(--color-accent); }
.tbl tbody th { font-weight: var(--fw-bold); color: var(--color-text); font-stretch: var(--stretch-display); width: 24%; }
.tbl td:nth-child(2) { color: var(--color-text); background: rgb(175 202 5 / .03); }

/* b2b */
.b2cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.b2col .list { margin-top: var(--space-5); }
.b2col .list li:last-child { border-bottom: 0; }
@media (max-width: 800px) { .b2cols { grid-template-columns: 1fr; } }
.terms__head { grid-column: 1 / span 4; container-type: inline-size; }
.terms__head .h2 { font-size: min(var(--fs-3xl), 10.5cqi); }
.terms__dl { grid-column: 6 / span 7; }
@media (max-width: 900px) { .terms__head, .terms__dl { grid-column: 1 / -1; } }
.dl__row { display: grid; grid-template-columns: minmax(120px, 1fr) 2fr; gap: var(--space-5); padding-block: var(--space-4); border-top: 1px solid var(--color-border); }
.dl__row:last-child { border-bottom: 1px solid var(--color-border); }
.dl dt { font-size: var(--fs-2xs); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--color-text-3); font-stretch: var(--stretch-display); padding-top: 4px; }
.dl dd { color: var(--color-text); }
@media (max-width: 480px) { .dl__row { grid-template-columns: 1fr; gap: 4px; } }

/* about */
.about { overflow: hidden; }
.about__copy { grid-column: 1 / span 8; }
@media (max-width: 900px) { .about__copy { grid-column: 1 / -1; } }
.photo-ph__frame { display: grid; place-items: center; aspect-ratio: 4 / 3; margin-bottom: var(--space-5); border-radius: var(--radius-lg); border: 1px dashed var(--color-border-input); background: repeating-linear-gradient(-45deg, var(--rr-ink-900) 0 14px, var(--rr-ink-950) 14px 28px); }
.photo-ph__frame img { width: 64px; opacity: .35; }
.photo-ph p { margin-top: var(--space-3); }

/* privacy (light document, as the brand book pages) */
.p-doc { background: var(--color-bg); }
.p-doc .hdr { background: rgb(11 11 12 / .92); }
.p-doc .hdr, .p-doc .mmenu, .p-doc .mbar, .p-doc .ftr { --color-text: var(--rr-ink-100); --color-text-2: var(--rr-ink-300); --color-text-3: var(--rr-ink-500); --color-border: var(--rr-ink-800); --color-border-strong: var(--rr-ink-700); --color-border-input: var(--rr-ink-600); --color-surface-1: var(--rr-ink-900); --color-surface-2: var(--rr-ink-850); --color-accent: var(--rr-green-500); --color-link: var(--rr-green-500); --color-focus: var(--rr-green-500); color-scheme: dark; }
.p-doc .mmenu { background: var(--rr-ink-950); }
.p-doc .hdr, .p-doc .mmenu, .p-doc .mbar, .p-doc .ftr { color: var(--color-text-2); --todo: var(--rr-amber-400); }
.doc__body { grid-column: 1 / span 8; }
.doc__notice { padding: var(--space-5); border: 1px dashed var(--todo); border-radius: var(--radius-lg); margin-bottom: var(--space-7); }
.psec { padding-block: var(--space-6); border-top: 1px solid var(--color-border); }
.psec p { margin-top: var(--space-3); max-width: var(--measure); }
@media (max-width: 900px) { .doc__body { grid-column: 1 / -1; } }

/* 404 */
.nf { position: relative; overflow: hidden; min-height: 70vh; padding-block: var(--section-y); }
.nf__in { padding-top: calc(var(--fs-ghost) * .55); }
.nf .lead { margin-top: var(--space-5); }
.nf__phone { margin-top: var(--space-7); font-size: var(--fs-sm); }

/* =====================================================================
   Contact + enquiry form
   ===================================================================== */
.kgrid { display: grid; grid-template-columns: minmax(0, 7.5fr) minmax(0, 4.5fr); gap: var(--space-8); align-items: start; padding-bottom: var(--section-y); }
@media (max-width: 1000px) { .kgrid { grid-template-columns: 1fr; } }
.cbox { position: sticky; top: calc(var(--hdr-h) + 24px); padding: var(--space-6); border-radius: var(--radius-xl); background: var(--color-surface-1); border: 1px solid var(--color-border); box-shadow: var(--shadow-card); }
.cbox::before { content: ""; position: absolute; left: var(--space-6); top: -1px; width: 40px; height: var(--stroke-line); background: var(--color-accent); }
.cbox__dl { margin-top: var(--space-5); }
.cbox__dl > div { padding-block: var(--space-4); border-top: 1px solid var(--color-border); }
.cbox dt { display: flex; align-items: center; gap: 8px; font-size: var(--fs-2xs); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--color-text-3); font-stretch: var(--stretch-display); }
.cbox dt .i { width: 16px; height: 16px; color: var(--color-accent); }
.cbox dd { margin-top: 6px; color: var(--color-text); }
.cbox dd a { text-decoration: underline transparent; text-underline-offset: 3px; transition: text-decoration-color var(--dur-ui); }
.cbox dd a:hover { text-decoration-color: currentColor; }
.cbox__big { font-size: var(--fs-xl); font-weight: var(--fw-bold); font-stretch: var(--stretch-display); }
.cbox__note { margin-top: var(--space-4); font-size: var(--fs-xs); color: var(--color-text-3); }
@media (max-width: 1000px) { .cbox { position: static; } }

.enq { min-width: 0; }
.demo-note { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: var(--radius-pill); border: 1px dashed var(--todo); color: var(--color-text); font-size: var(--fs-xs); font-stretch: var(--stretch-display); margin-bottom: var(--space-6); }
.demo-note__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--todo); box-shadow: 0 0 10px rgb(245 176 0 / .6); }
.enq__intro { margin-top: var(--space-3); max-width: var(--measure); }
.enq__privacy { margin-top: var(--space-6); font-size: var(--fs-xs); color: var(--color-text-3); max-width: var(--measure); }
.enq__privacy a { text-decoration: underline; text-underline-offset: 3px; color: var(--color-text-2); }

.form { margin-top: var(--space-7); }
.fg { border: 0; margin: 0 0 var(--space-5); padding: var(--space-6); min-width: 0; border-radius: var(--radius-xl); background: var(--color-surface-1); border: 1px solid var(--color-border); }
.fg__legend { float: left; width: 100%; display: flex; align-items: center; gap: 14px; margin-bottom: var(--space-5); padding: 0; font-size: var(--fs-xl); font-weight: var(--fw-bold); font-stretch: var(--stretch-display); color: var(--color-text); }
.fg__legend + * { clear: both; }
.fg__n { font-size: var(--fs-xs); font-weight: var(--fw-black); color: var(--color-accent); padding: 4px 8px; border-radius: var(--radius-xs); box-shadow: inset 0 0 0 1px rgb(175 202 5 / .5); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5) var(--space-5); clear: both; }
@media (max-width: 640px) { .fgrid { grid-template-columns: 1fr; } .fg { padding: var(--space-5) var(--space-4); } }
.field { min-width: 0; border: 0; padding: 0; margin: 0; }
.fg > .field + .field, .fg > .field + .either, .fg > .either + .field, .fg > .fgrid + .field, .fg > .field + .reveal-wrap, .fg > .reveal-wrap + .field { margin-top: var(--space-5); }
.label { display: flex; align-items: baseline; gap: 6px; margin-bottom: 8px; padding: 0; font-size: var(--fs-sm); font-weight: var(--fw-bold); color: var(--color-text); }
legend.label { float: left; width: 100%; }
legend.label + * { clear: both; }
.opt { font-weight: var(--fw-regular); color: var(--color-text-3); font-size: var(--fs-xs); }
.counter { margin-left: auto; font-size: var(--fs-2xs); font-weight: var(--fw-regular); color: var(--color-text-3); font-variant-numeric: tabular-nums; }
.counter.is-ok { color: var(--color-accent); }
.input-wrap { position: relative; }
.input {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--radius-sm);
  background: var(--color-surface-2); border: 1px solid var(--color-border-input); color: var(--color-text);
  font-size: var(--fs-base); font-stretch: var(--stretch-body); line-height: 1.4;
  transition: border-color var(--dur-ui) var(--ease-ui), box-shadow var(--dur-ui) var(--ease-ui);
  -webkit-appearance: none; appearance: none;
}
.input:hover { border-color: var(--rr-ink-500); }
.input:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 1px var(--color-accent); }
.input:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.input[aria-invalid="true"] { border-color: var(--color-error); box-shadow: 0 0 0 1px var(--color-error); }
.input--area { min-height: 112px; resize: vertical; }
.has-pre .input { padding-left: 56px; }
.input__pre { position: absolute; left: 1px; top: 1px; bottom: 1px; width: 46px; display: grid; place-items: center; border-right: 1px solid var(--color-border-strong); color: var(--color-text-3); font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
#f-vin, #f-numer { text-transform: uppercase; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
/* Part numbers and VINs: no contextual alternates (the font turns 4X2 into a dimension sign) */
.input, .success dd, .file__name { font-feature-settings: "calt" 0; font-variant-ligatures: no-contextual; }
#f-vin::placeholder, #f-numer::placeholder { text-transform: none; }
.hint { margin-top: 8px; font-size: var(--fs-xs); color: var(--color-text-3); line-height: 1.5; }
.err { display: flex; gap: 8px; margin-top: 8px; font-size: var(--fs-xs); color: var(--color-error); line-height: 1.5; font-weight: var(--fw-bold); }
.err::before { content: "!"; flex: none; display: grid; place-items: center; width: 16px; height: 16px; margin-top: 1px; border-radius: 50%; background: var(--color-error); color: var(--rr-ink-950); font-size: 11px; font-weight: var(--fw-black); }
.field--narrow { max-width: 220px; }
.field--narrow2 { max-width: 300px; }

/* radio tiles */
.rtiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.rtile { position: relative; display: block; cursor: pointer; }
.rtile input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.rtile__box { display: flex; align-items: center; gap: 10px; height: 100%; min-height: 64px; padding: 8px 12px 8px 8px; border-radius: var(--radius-md); background: var(--color-surface-2); box-shadow: inset 0 0 0 1px var(--color-border-strong); transition: box-shadow var(--dur-ui) var(--ease-ui), background-color var(--dur-ui); }
.rtile__img { flex: none; width: 44px; height: 44px; border-radius: var(--radius-sm); overflow: hidden; background: var(--photo-bg); }
.rtile__img img { width: 100%; height: 100%; object-fit: cover; }
.rtile__img--q { display: grid; place-items: center; background: var(--rr-ink-800); color: var(--color-text-2); font-weight: var(--fw-black); font-stretch: var(--stretch-display); }
.rtile__name { font-size: var(--fs-xs); font-weight: var(--fw-bold); font-stretch: var(--stretch-display); color: var(--color-text); line-height: 1.25; }
.rtile__tick { position: absolute; right: 6px; top: 6px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--rr-green-500); color: var(--rr-ink-950); opacity: 0; transform: scale(.6); transition: opacity var(--dur-ui), transform var(--dur-ui) var(--ease-out); }
.rtile__tick .i { width: 12px; height: 12px; }
.rtile:hover .rtile__box { box-shadow: inset 0 0 0 1px var(--rr-ink-500); }
.rtile input:checked + .rtile__box { box-shadow: inset 0 0 0 2px var(--rr-green-500), var(--glow-sm); background: rgb(175 202 5 / .06); }
.rtile input:checked + .rtile__box .rtile__tick { opacity: 1; transform: none; }
.rtile input:focus-visible + .rtile__box { outline: 2px solid var(--color-focus); outline-offset: 3px; }
[data-field="rodzaj"].is-invalid .rtile__box { box-shadow: inset 0 0 0 1px var(--color-error); }

/* number OR photo */
.either { display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--space-4); align-items: start; }
.either__or { align-self: stretch; display: flex; flex-direction: column; align-items: center; padding-top: 30px; }
.either__or span { font-size: var(--fs-2xs); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--color-text-3); padding: 6px 0; }
.either__or::before, .either__or::after { content: ""; width: 1px; flex: 1; background: var(--color-border-strong); min-height: 16px; }
@media (max-width: 760px) {
  .either { grid-template-columns: 1fr; }
  .either__or { flex-direction: row; padding: 0; gap: 12px; }
  .either__or::before, .either__or::after { height: 1px; width: auto; min-height: 0; }
}
.drop { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 120px; padding: 18px; text-align: center; border-radius: var(--radius-md); border: 1px dashed var(--color-border-input); background: var(--color-surface-2); transition: border-color var(--dur-ui), background-color var(--dur-ui), box-shadow var(--dur-ui); }
.drop:hover { border-color: var(--rr-ink-500); }
.drop.is-over { border-color: var(--rr-green-500); background: rgb(175 202 5 / .06); box-shadow: var(--glow-sm); }
.drop:has(.drop__input:focus-visible) { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.drop.is-invalid { border-color: var(--color-error); }
.drop__input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.drop__icon .i { width: 28px; height: 28px; color: var(--color-accent); }
.drop__txt { font-size: var(--fs-sm); color: var(--color-text-2); }
.drop__pick { color: var(--color-link); font-weight: var(--fw-bold); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.drop__txt--mob { display: none; }
@media (hover: none) and (pointer: coarse) { .drop__txt--desk { display: none; } .drop__txt--mob { display: inline-flex; } .drop__icon { display: none; } }
.files { display: grid; gap: 8px; margin-top: 10px; }
.files:empty { display: none; }
.file { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 8px; border-radius: var(--radius-md); background: var(--color-surface-2); border: 1px solid var(--color-border-strong); animation: faqIn var(--dur-enter) var(--ease-out); }
.file__th { width: 48px; height: 48px; border-radius: var(--radius-sm); overflow: hidden; background: var(--rr-ink-800); display: grid; place-items: center; font-size: var(--fs-2xs); font-weight: var(--fw-black); font-stretch: var(--stretch-display); color: var(--color-text-2); }
.file__th img { width: 100%; height: 100%; object-fit: cover; }
.file__name { font-size: var(--fs-xs); color: var(--color-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-stretch: var(--stretch-dense); }
.file__meta { font-size: var(--fs-2xs); color: var(--color-text-3); display: block; }
.file__rm { min-height: 40px; padding: 0 12px; border-radius: var(--radius-sm); font-size: var(--fs-xs); font-weight: var(--fw-bold); font-stretch: var(--stretch-display); color: var(--color-error); box-shadow: inset 0 0 0 1px rgb(255 107 94 / .5); transition: box-shadow var(--dur-ui), background-color var(--dur-ui); }
.file__rm:hover { box-shadow: inset 0 0 0 1px var(--color-error); background: rgb(255 107 94 / .08); }

/* stepper */
.stepper { display: grid; grid-template-columns: 48px 1fr 48px; border-radius: var(--radius-sm); }
.stepper .input { border-radius: 0; text-align: center; border-left: 0; border-right: 0; -moz-appearance: textfield; font-variant-numeric: tabular-nums; font-weight: var(--fw-bold); }
.stepper .input::-webkit-outer-spin-button, .stepper .input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper__b { display: grid; place-items: center; background: var(--color-surface-2); border: 1px solid var(--color-border-input); color: var(--color-text); transition: background-color var(--dur-ui), color var(--dur-ui); }
.stepper__b:first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.stepper__b:last-child { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.stepper__b:hover { background: var(--rr-ink-800); color: var(--color-accent); }
.stepper__b:active { background: var(--rr-ink-700); }
.stepper__b .i { width: 16px; height: 16px; }

/* segmented */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 560px) { .seg { grid-template-columns: 1fr; } }
.seg__o { position: relative; cursor: pointer; }
.seg__o input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg__box { display: block; height: 100%; padding: 14px 16px 14px 48px; border-radius: var(--radius-md); background: var(--color-surface-2); box-shadow: inset 0 0 0 1px var(--color-border-strong); position: relative; transition: box-shadow var(--dur-ui), background-color var(--dur-ui); }
.seg__box::before { content: ""; position: absolute; left: 16px; top: 16px; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--color-border-input); transition: box-shadow var(--dur-ui) var(--ease-ui); }
.seg__t { display: block; font-size: var(--fs-sm); font-weight: var(--fw-bold); font-stretch: var(--stretch-display); color: var(--color-text); }
.seg__h { display: block; margin-top: 4px; font-size: var(--fs-xs); color: var(--color-text-3); }
.seg__o:hover .seg__box { box-shadow: inset 0 0 0 1px var(--rr-ink-500); }
.seg__o input:checked + .seg__box { box-shadow: inset 0 0 0 2px var(--rr-green-500); background: rgb(175 202 5 / .06); }
.seg__o input:checked + .seg__box::before { box-shadow: inset 0 0 0 5px var(--rr-green-500); }
.seg__o input:focus-visible + .seg__box { outline: 2px solid var(--color-focus); outline-offset: 3px; }
[data-field="przekazanie"].is-invalid .seg__box { box-shadow: inset 0 0 0 1px var(--color-error); }

/* checkbox */
.field--check { margin-top: var(--space-5); }
.check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: var(--fs-sm); color: var(--color-text-2); line-height: 1.5; min-height: 44px; padding-top: 2px; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box { flex: none; width: 22px; height: 22px; border-radius: var(--radius-xs); display: grid; place-items: center; background: var(--color-surface-2); box-shadow: inset 0 0 0 1px var(--color-border-input); color: var(--rr-ink-950); transition: background-color var(--dur-ui), box-shadow var(--dur-ui); }
.check__box .i { width: 14px; height: 14px; opacity: 0; transform: scale(.6); transition: opacity var(--dur-micro), transform var(--dur-ui) var(--ease-out); }
.check:hover .check__box { box-shadow: inset 0 0 0 1px var(--rr-ink-300); }
.check input:checked + .check__box { background: var(--rr-green-500); box-shadow: none; }
.check input:checked + .check__box .i { opacity: 1; transform: none; }
.check input:focus-visible + .check__box { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.check input[aria-invalid="true"] + .check__box { box-shadow: inset 0 0 0 2px var(--color-error); }
.check a { color: var(--color-link); text-decoration: underline; text-underline-offset: 3px; }
.reveal-wrap { animation: faqIn var(--dur-enter) var(--ease-out); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* summary of errors / alerts */
.errsum { margin-top: var(--space-6); padding: var(--space-5); border-radius: var(--radius-lg); border: 1px solid var(--color-error); background: rgb(255 107 94 / .06); }
.errsum:focus { outline: 2px solid var(--color-error); outline-offset: 3px; }
.errsum__h { font-size: var(--fs-base); font-weight: var(--fw-bold); font-stretch: var(--stretch-display); color: var(--color-text); }
.errsum ul { margin-top: var(--space-3); display: grid; gap: 4px; }
.errsum a { color: var(--color-error); text-decoration: underline; text-underline-offset: 3px; font-size: var(--fs-sm); }
.falert { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); margin-top: var(--space-6); padding: var(--space-5); border-radius: var(--radius-lg); border: 1px solid var(--color-error); background: rgb(255 107 94 / .06); color: var(--color-text); }
.falert__msg { flex: 1 1 320px; font-size: var(--fs-sm); }

/* submit + upload */
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: var(--space-5); margin-top: var(--space-6); }
.form__submit { min-width: 260px; }
.form__submit .spin { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgb(11 11 12 / .25); border-top-color: var(--rr-ink-950); animation: spin .7s linear infinite; }
.form__submit.is-loading .spin { display: block; }
.form__submit.is-loading .i-arrow { display: none; }
.form__submit.is-loading { cursor: progress; pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .form__submit .spin { animation-duration: 1.6s; } }
.upbar { flex: 1 1 240px; display: grid; gap: 6px; }
.upbar__track { height: 4px; border-radius: 2px; background: var(--rr-ink-800); overflow: hidden; }
.upbar__fill { display: block; height: 100%; width: var(--p, 0%); background: var(--streak-gradient); transition: width 120ms linear; }
.upbar__txt { font-size: var(--fs-xs); color: var(--color-text-2); font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .form__foot { flex-direction: column; align-items: stretch; } .form__submit { width: 100%; min-width: 0; } }

/* success */
.success { margin-top: var(--space-7); padding: clamp(24px, 4vw, 48px); border-radius: var(--radius-xl); background: var(--color-surface-1); border: 1px solid var(--rr-green-500); box-shadow: var(--glow-sm); animation: faqIn var(--dur-enter) var(--ease-out); }
.success:focus { outline: none; }
.success__icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--rr-green-500); color: var(--rr-ink-950); margin-bottom: var(--space-5); box-shadow: 0 0 0 8px rgb(175 202 5 / .12); }
.success__icon .i { width: 26px; height: 26px; }
.success__ref { display: inline-block; margin-top: var(--space-3); padding: 6px 12px; border-radius: var(--radius-sm); background: var(--color-surface-2); font-weight: var(--fw-black); font-stretch: var(--stretch-display); color: var(--color-accent); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.success__cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); margin-top: var(--space-7); }
@media (max-width: 760px) { .success__cols { grid-template-columns: 1fr; } }
.success h3 { font-size: var(--fs-2xs); font-weight: var(--fw-regular); letter-spacing: var(--tracking-caption); text-transform: uppercase; color: var(--color-text-3); font-stretch: var(--stretch-display); margin-bottom: var(--space-3); }
.success .dl__row { grid-template-columns: 1fr 1.4fr; padding-block: 10px; }
.success .dl dd { font-size: var(--fs-sm); overflow-wrap: anywhere; }
.success .rail li { font-size: var(--fs-sm); }
.success__demo { margin-top: var(--space-6); font-size: var(--fs-xs); color: var(--color-text-3); }
.success .actions { margin-top: var(--space-6); }

/* =====================================================================
   v3 (2026-10-26): brands marquee, 4 categories, about blocks, contact without form
   ===================================================================== */
/* brands: one line, seamless loop (two identical lists, track moves by exactly -50 %) */
.brands { overflow: hidden; }
.brands__h { margin-bottom: var(--space-6); }
.marquee { position: relative; overflow: hidden; padding-block: var(--space-5); border-block: 1px solid var(--color-border);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee var(--marquee-dur, 50s) linear infinite; will-change: transform; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; flex: none; align-items: center; }
.marquee__list li {
  display: flex; align-items: center; white-space: nowrap;
  font-size: clamp(1.125rem, .9rem + 1vw, 1.75rem); font-weight: var(--fw-bold); font-stretch: var(--stretch-display);
  letter-spacing: .04em; text-transform: uppercase; color: var(--color-text-2); line-height: 1.2;
}
.marquee__list li::after { content: var(--sep, "·"); padding-inline: .9em; color: var(--color-accent); font-weight: var(--fw-black); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.brands__note { margin-top: var(--space-4); font-size: var(--fs-2xs); color: var(--color-text-3); max-width: 80ch; font-stretch: var(--stretch-dense); }
/* brands strip in the first screen (client 2026-10-27: visible without scrolling on home and oferta) */
.bstrip { position: relative; display: flex; align-items: center; height: var(--bstrip); border-block: 1px solid var(--color-border); background: var(--rr-stage); }
.bstrip__h {
  flex: none; display: flex; align-items: center; height: 100%; padding-inline: var(--gutter) var(--space-5);
  font-size: var(--fs-2xs); font-weight: var(--fw-bold); font-stretch: var(--stretch-display); letter-spacing: .08em; text-transform: uppercase;
  color: var(--color-accent); white-space: nowrap; border-right: 1px solid var(--color-border);
}
.marquee--strip { flex: 1; min-width: 0; padding-block: 0; border-block: 0; }
.marquee--strip .marquee__list li { font-size: clamp(.9375rem, .85rem + .35vw, 1.125rem); letter-spacing: .05em; }
.bstrip--page { margin-top: calc(var(--section-y) * -.15); }
@media (max-width: 899px) { .bstrip__h { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; padding-inline: var(--gutter); }
  .marquee__track { animation: none; width: auto; max-width: calc(var(--container)); margin-inline: auto; }
  .marquee__list { flex: 1 1 100%; min-width: 0; flex-wrap: wrap; row-gap: var(--space-2); }
  .marquee__list[aria-hidden="true"] { display: none; }
  .marquee__list li:last-child::after { content: none; }
  /* the strip keeps one line: no motion, scrolls sideways instead of wrapping */
  .marquee--strip { overflow-x: auto; scrollbar-width: none; padding-inline: var(--space-4); }
  .marquee--strip .marquee__track { max-width: none; margin: 0; }
  .marquee--strip .marquee__list { flex-wrap: nowrap; }
}

/* oferta: 4 tiles in 2 x 2 */
.ptiles--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1000px; }
.ptiles--4 .ptile__name { font-size: var(--fs-lg); }
@media (max-width: 560px) { .ptiles--4 { grid-template-columns: 1fr; } }
/* category page: 3 other categories */
.ocats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 820px; }
@media (max-width: 560px) { .ocats--3 { grid-template-columns: 1fr 1fr; } }
.chain--long { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.chain--long li { align-items: flex-start; flex-direction: column; gap: 10px; padding: 18px 20px; }
.chain__t--long { font-weight: var(--fw-regular); font-stretch: var(--stretch-body); font-size: var(--fs-base); color: var(--color-text-2); line-height: 1.5; }
.chain--long .chain__n { font-size: var(--fs-lg); }
@media (max-width: 900px) { .chain--long { grid-template-columns: 1fr; } }
.note--strong { font-size: var(--fs-base); color: var(--color-text); border-left-color: var(--color-accent); }

/* o firmie: subheadings in the h3 style */
.about__blk + .about__blk { margin-top: var(--space-7); }
.about__blk .h3 { margin-bottom: var(--space-4); }
.about__closing { margin-top: var(--space-7); padding-top: var(--space-5); border-top: 1px solid var(--color-border); color: var(--color-text); }
.dl dd a { text-decoration: underline transparent; text-underline-offset: 3px; transition: text-decoration-color var(--dur-ui); }
.dl dd a:hover { text-decoration-color: currentColor; color: var(--color-accent); }

/* współpraca: one column (fleet column hidden) */
.b2cols--1 { grid-template-columns: minmax(0, 1fr); max-width: 820px; }

/* footer */
.ftr__brand .caption--2 { margin-top: 6px; }
.ftr__company { max-width: 110ch; line-height: 1.6; }
.ftr__legal { flex-direction: column; }

/* links in running text */
a.tel { color: inherit; font-weight: var(--fw-bold); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--color-accent); white-space: nowrap; }
a.tel:hover { color: var(--color-accent); }

/* kontakt without the form (publish.form = false): the contact box is the page */
.kgrid--solo { grid-template-columns: minmax(0, 1fr); max-width: 720px; margin-left: 0; }
.cbox--solo { position: static; scroll-margin-top: calc(var(--hdr-h) + 24px); }
.cbox__mail { word-break: break-all; }

/* form v3 */
.select-wrap { position: relative; }
.select { padding-right: 44px; cursor: pointer; }
.select-wrap .i { position: absolute; right: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); pointer-events: none; color: var(--color-text-3); }
.field--half { max-width: 420px; }
.input--big { min-height: 200px; font-feature-settings: "calt" 0; }
.fgrid .field--wide { grid-column: 1 / -1; max-width: calc(50% - var(--space-5) / 2); }
@media (max-width: 640px) { .fgrid .field--wide { max-width: none; } }
.fg > .field + .field { margin-top: var(--space-5); }
.file__th { font-size: 10px; }

/* ---------- page transition (cross-document, progressive) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut var(--dur-page) var(--ease-in) both; }
::view-transition-new(root) { animation: vtIn var(--dur-page) var(--ease-out) both; }
@keyframes vtOut { to { opacity: 0; transform: scale(1.04); filter: blur(6px); } }
@keyframes vtIn { from { opacity: 0; transform: scale(.96); } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  .mmenu li, .mcats li, .sub { animation: none !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .hdr, .mbar, .sub { background: var(--rr-ink-900); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --color-border: var(--rr-ink-600); --color-text-3: var(--rr-ink-300); }
}
@media print {
  .hdr, .mbar, .mmenu, .stage, .streaks, .band, .ftr > .streak-rule { display: none !important; }
  body { background: #fff; color: #000; }
}

/* Nagłówki nigdy nie dzielą wyrazów myślnikiem ani w środku słowa. */
h1, h2, h3, h4, .hero__h, .chero__h { hyphens: manual; -webkit-hyphens: manual; overflow-wrap: normal; word-break: normal; }

/* ---------- i18n: long words and labels (2026-10-26) ----------
   build.py writes --lw (longest word of the heading, in characters) on every h1/h2. The heading keeps its design
   size and only shrinks when that word would not fit its column (100cqi / word length / average glyph width).
   Polish headings never hit the limit, so the Polish layout is unchanged. */
.phead__in, .chero__copy, .hero__in, .nf__in { container-type: inline-size; }
.h1[style*="--lw"] { font-size: min(var(--fs-4xl), calc(100cqi / var(--lw) / .72)); }
.chero__h[style*="--lw"] { font-size: min(clamp(2rem, 1.3rem + 3vw, 4rem), calc(100cqi / var(--lw) / .72)); }
.h2[style*="--lw"] { font-size: min(var(--fs-3xl), calc(100cqi / var(--lw) / .66)); }
.terms__head .h2[style*="--lw"] { font-size: min(var(--fs-3xl), 10.5cqi, calc(100cqi / var(--lw) / .66)); }
/* buttons with long labels (>= 18 characters, class from build.py): narrower letterforms on phones instead of a 2-line label */
@media (max-width: 480px) {
  .btn--long { font-stretch: var(--stretch-dense); padding-inline: 16px; gap: 8px; letter-spacing: 0; }
  .btn--text.btn--long { padding-inline: 0; }
}
.others__head { flex-wrap: wrap; }
.others__head .btn { white-space: nowrap; }
.stage__note { min-width: 0; flex: 1 1 auto; line-height: 1.3; }
@media (max-width: 699px) { .stage__note { font-size: var(--fs-2xs); } }
.hdr__menu-txt { white-space: nowrap; }
@media (max-width: 1179px) { .hdr__in { gap: var(--space-4); } }
@media (max-width: 420px) {
  /* open state: the cross is the label; the text stays for screen readers */
  .hdr__menu[aria-expanded="true"] { padding-inline: 13px; }
  .hdr__menu[aria-expanded="true"] .hdr__menu-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .mmenu__foot { grid-template-columns: 1fr; }
}
.hero__h[style*="--lw"] { font-size: min(clamp(2.25rem, 1.2rem + 4.4vw, 5rem), calc(100cqi / var(--lw) / .72)); }
/* German register names are single long words: tighter caps tracking in the company-data labels */
:lang(de) .dl dt { letter-spacing: .1em; }
