/* innowacyjnegrzanie.com — r3 (mobile-first; breakpoints 768 / 1200)
   Kierunek: spokojny, architektoniczno-redakcyjny. Materiały systemu: tynk, miedź, woda (tylko rysunek), grafit.
   Linie zamiast kart, bez cieni, jedna reguła na komponent. */

/* ---------- Fonty (hostowane lokalnie; podzbiór: łacina + polskie znaki) ---------- */
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 400 800; font-stretch: 75% 100%; font-display: swap;
  src: url("fonts/archivo-pl-v1.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/plex-mono-500-pl-v1.woff2") format("woff2");
}

/* ---------- Tokeny ---------- */
:root {
  color-scheme: light;
  --plaster: #f5f4f1; --plaster-2: #ecebe6; --surface: #fff;
  --ink: #1d1c1a; --ink-2: #413f3a; --muted: #6b6861;
  --copper: #b0532c; --copper-hover: #9a4623; --copper-ink: #8e3f1f; --copper-soft: #f4e5da;
  --water: #2f6f95; --water-fill: #d4e5f0;
  --line: #dedbd4; --line-2: #c9c5bc; --control-line: #8a867e;
  --graphite: #1c1b19; --graphite-2: #262522; --graphite-line: #484641;
  --on-dark: #f2f0eb; --on-dark-2: #bbb7b0; --copper-on-dark: #e8a27e;
  --footer: #141311;
  --draw-ink: #24231f; --draw-hatch: #8d887e;
  --f-body: "Archivo", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --gutter: max(20px, env(safe-area-inset-left), env(safe-area-inset-right));
  --header-h: 64px;
  --h1-size: 2rem;
  --r-btn: 8px; --r-img: 12px; --r-sheet: 8px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 360px) { :root { --h1-size: 2.25rem; } }
@media (min-width: 768px) { :root { --gutter: max(32px, env(safe-area-inset-left), env(safe-area-inset-right)); --header-h: 72px; --h1-size: 3rem; } }
@media (min-width: 1200px) { :root { --gutter: max(40px, env(safe-area-inset-left), env(safe-area-inset-right)); --h1-size: 3.25rem; } }

/* ---------- Podstawy ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 16px);
  background: var(--plaster);
}
body {
  margin: 0; background: var(--plaster); color: var(--ink);
  font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.6; font-stretch: 100%;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip; overflow-wrap: break-word;
}
@media (min-width: 768px) { body { font-size: 1.125rem; } }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p, figure { margin: 0; }
h1, h2, h3 { margin: 0; text-wrap: balance; font-weight: 700; }
ul, ol { margin: 0; padding: 0; }
strong { font-weight: 650; }
address { font-style: normal; }
::selection { background: var(--copper-soft); color: var(--ink); }
main:focus { outline: none; }

.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.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; }
:focus-visible { outline: 3px solid var(--copper-ink); outline-offset: 3px; border-radius: 4px; }
.contact :focus-visible, .site-footer :focus-visible { outline-color: var(--copper-on-dark); }
.skip {
  position: absolute; left: var(--gutter); top: -80px; z-index: 100; padding: 12px 18px; border-radius: var(--r-btn);
  background: var(--ink); color: #fff; font-weight: 600; text-decoration: none;
}
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 10px); }

/* ---------- Typografia ---------- */
.label {
  display: inline-flex; align-items: flex-start; gap: 10px;
  font-family: var(--f-mono); font-size: .75rem; line-height: 1.5; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--copper-ink);
}
.label::before { content: ""; width: 18px; height: 1.5px; flex: none; margin-top: calc(.75em - .75px); background: currentColor; }
.h1 { font-size: var(--h1-size); font-weight: 700; font-stretch: 90%; letter-spacing: -.025em; line-height: 1.06; }
@media (max-width: 359px) { .h1 { font-stretch: 86%; } }
.h2 { font-size: 1.75rem; font-weight: 700; font-stretch: 90%; letter-spacing: -.02em; line-height: 1.16; margin-top: 12px; }
@media (min-width: 768px) { .h2 { font-size: 2rem; line-height: 1.14; } }
@media (min-width: 1200px) { .h2 { font-size: 2.25rem; line-height: 1.12; } }
.h2-short { font-size: 1.5rem; font-weight: 700; font-stretch: 95%; letter-spacing: -.015em; line-height: 1.2; margin-top: 12px; }
.nw { white-space: nowrap; }
/* nagłówki z ulotki: w DOM wersaliki jak w oryginale, na ekranie zdanie */
.u2s, .lc { text-transform: lowercase; }
.u2s::first-letter { text-transform: uppercase; }
.brand-word { font-weight: 650; color: var(--copper-ink); }
.num { font-weight: 650; color: var(--copper-ink); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 20px; border: 1px solid transparent; border-radius: var(--r-btn);
  font: inherit; font-size: 1rem; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--copper); color: #fff; }
.btn-primary:hover { background: var(--copper-hover); }
.btn-outline { border-color: var(--control-line); color: var(--ink); background: var(--surface); }
.btn-outline:hover { border-color: var(--ink); }
.btn .sub { font-weight: 500; font-variant-numeric: tabular-nums; }

/* ---------- Nagłówek ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px);
  background: var(--plaster); border-bottom: 1px solid var(--line);
}
.site-header .wrap { height: var(--header-h); display: flex; align-items: center; gap: 12px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; margin-right: auto; }
.brand img { display: block; height: 22px; width: auto; }
@media (min-width: 768px) { .brand img { height: 24px; } }
.menu-btn {
  width: 44px; height: 44px; display: inline-grid; place-items: center; flex: none;
  border: 1px solid var(--control-line); border-radius: var(--r-btn); background: var(--surface); color: var(--ink); cursor: pointer;
}
.menu-btn svg { width: 22px; height: 22px; }
.menu-btn .i-close, .menu-open .menu-btn .i-open { display: none; }
.menu-open .menu-btn .i-close { display: block; }
.header-call { display: none; }
.nav {
  position: fixed; left: 0; right: 0; top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  display: grid; padding: 8px var(--gutter) max(20px, env(safe-area-inset-bottom, 0px));
  background: var(--plaster); border-bottom: 1px solid var(--line); box-shadow: 0 18px 32px -24px rgba(29, 28, 26, .35);
  max-height: calc(100vh - var(--header-h) - env(safe-area-inset-top, 0px));
  max-height: calc(100dvh - var(--header-h) - env(safe-area-inset-top, 0px));
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s var(--ease), visibility .2s;
}
.menu-open .nav { opacity: 1; visibility: visible; transform: none; }
.nav a {
  display: flex; align-items: center; min-height: 52px; padding: 0 2px; border-bottom: 1px solid var(--line);
  text-decoration: none; font-weight: 600; font-size: 1.0625rem; color: var(--ink);
}
.nav a:hover { color: var(--copper-ink); }
.nav .nav-call { margin-top: 16px; justify-content: center; border: 0; border-radius: var(--r-btn); background: var(--copper); color: #fff; }
.nav .nav-call:hover { color: #fff; background: var(--copper-hover); }
@media (min-width: 768px) and (max-width: 1199px) {
  .header-call { display: inline-flex; order: 1; min-height: 44px; padding: 8px 16px; font-size: .95rem; }
  .menu-btn { order: 2; }
  .nav .nav-call { display: none; }
}
@media (min-width: 1200px) {
  .menu-btn { display: none; }
  .brand { margin-right: 0; }
  .nav {
    position: static; display: flex; align-items: center; gap: 4px; margin-left: auto; padding: 0;
    background: none; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; transition: none;
    max-height: none; overflow: visible;
  }
  .nav a { min-height: 44px; padding: 0 12px; border: 0; font-size: .96rem; font-weight: 550; color: var(--ink-2); }
  .nav .nav-call { display: none; }
  .nav { order: 1; }
  .header-call { display: inline-flex; order: 2; min-height: 44px; padding: 8px 16px; margin-left: 12px; font-size: .95rem; }
}

/* ---------- Hero ---------- */
.hero { padding-block: 32px 48px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
.hero-text, .hero-figure { min-inline-size: 0; }
.hero-figure { width: 100%; max-width: 48rem; }
.hero .h1 { margin-top: 12px; }
.hero .h1 .l1, .hero .h1 .l2 { display: block; }
.hero .h1 .l2 { color: var(--copper); }
.hero-actions { display: grid; gap: 12px; margin-top: 24px; }
.hero-actions .btn { padding-inline: 16px; }
.privacy-link {
  display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px;
  font-size: .875rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px;
}
.privacy-link:hover { color: var(--ink); }
@media (min-width: 640px) { .hero-actions { display: flex; flex-wrap: wrap; } }
@media (min-width: 768px) { .hero { padding-block: 48px 64px; } .hero .wrap { gap: 32px; } }
@media (min-width: 1200px) {
  .hero { padding-block: 64px 80px; }
  .hero .wrap { grid-template-columns: minmax(0, 47fr) minmax(0, 53fr); gap: 48px; align-items: center; }
}

/* porównanie: wnętrze / rozkład ciepła */
.reveal {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-img);
  aspect-ratio: 3 / 2; background: #d9d3c9;
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; touch-action: pan-y pinch-zoom; cursor: ew-resize;
  --pos: 50%;
}
.reveal img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* zdarzenia wskaźnika trafiają tylko w .reveal: bez natywnego przeciągania obrazka i przejmowania dotyku */
.reveal img, .reveal .ir, .reveal .handle { pointer-events: none; -webkit-user-drag: none; }
.reveal .ir { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.reveal .handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }
.reveal .knob {
  position: absolute; top: 50%; left: var(--pos); width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25); pointer-events: none;
}
.reveal .knob svg { width: 20px; height: 20px; }
.reveal input[type="range"] {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; z-index: 3;
  -webkit-appearance: none; appearance: none; pointer-events: none;
}
.reveal input[type="range"]:focus-visible ~ .knob { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 7px #fff; }
.reveal.is-dragging { cursor: grabbing; }
.reveal-cap { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: .875rem; font-weight: 600; color: var(--ink-2); }
.reveal-note { display: block; margin-top: 4px; font-size: .875rem; line-height: 1.45; color: var(--muted); }

/* ---------- Sekcje ---------- */
.section { padding-block: 56px; }
.section.shade { background: var(--plaster-2); }
.section.white { background: var(--surface); }
.section-head { max-width: 52rem; margin-bottom: 24px; }
.section.tight { padding-block: 48px; }
@media (min-width: 768px) { .section { padding-block: 72px; } .section-head { margin-bottom: 32px; } }
@media (min-width: 1200px) { .section { padding-block: 96px; } .section-head { margin-bottom: 40px; } .section.tight { padding-block: 64px; } }

/* System RAYON */
.system-intro { display: grid; gap: 16px; max-width: 66ch; margin-top: 20px; color: var(--ink-2); }
.system-intro .lead { font-size: 1.125rem; line-height: 1.6; font-weight: 450; color: var(--ink); }
.system-intro .lead strong { color: var(--copper-ink); font-weight: 650; }
.system-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line); }
.prose { display: grid; gap: 1em; max-width: 40rem; color: var(--ink-2); }
@media (min-width: 768px) { .system-intro .lead { font-size: 1.25rem; line-height: 1.55; } }
@media (min-width: 1200px) {
  .system-intro .lead { font-size: 1.375rem; }
  .system-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; margin-top: 40px; padding-top: 40px; }
}

.facts { align-self: start; border-top: 2px solid var(--ink); }
.fact { padding: 20px 0; border-bottom: 1px solid var(--line); container-type: inline-size; }
.fact-pair { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; gap: 12px; }
.fact-cap { font-size: .9375rem; line-height: 1.45; color: var(--muted); }
.fact-val { margin-top: 6px; font-weight: 700; font-stretch: 88%; font-size: 2rem; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--ink); }
.fact-val.copper { color: var(--copper); }
.fact-sub { font-size: .9375rem; font-weight: 500; font-stretch: 100%; letter-spacing: 0; color: var(--muted); white-space: nowrap; }
.fact-tail { margin-top: 8px; font-size: .9375rem; line-height: 1.45; color: var(--muted); }
.fact-arrow { width: 22px; height: 22px; color: var(--muted); margin-bottom: 6px; }
@media (min-width: 360px) { .fact-val { font-size: 2.25rem; } }
@media (min-width: 768px) { .fact-val { font-size: 2.5rem; } }
@container (max-width: 15em) {
  .fact-pair { grid-template-columns: minmax(0, 1fr); }
  .fact-arrow { transform: rotate(90deg); }
}

/* Jak działa */
.how-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
.how-text .prose { margin-top: 16px; }
.key-fact { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line-2); color: var(--ink-2); }
.key-fact strong { color: var(--ink); }
@media (min-width: 1200px) { .how-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; } }

.sheet { container-type: inline-size; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sheet); overflow: hidden; }
.sheet-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 20px 16px 16px; }
.sheet-body > svg { width: 100%; max-width: 260px; height: auto; margin-inline: auto; color: var(--draw-ink); }
@media (max-width: 767px) { .sheet-body > svg { max-width: 250px; max-height: max(300px, 42vh); max-height: max(300px, 40svh); } }
@container (min-width: 560px) { .sheet-body { grid-template-columns: 260px minmax(0, 1fr); align-items: center; gap: 28px; padding: 24px; } }
.parts { list-style: none; display: grid; }
.parts li { border-top: 1px solid var(--line); }
.parts li:first-child { border-top: 0; }
.part-btn {
  display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 6px;
  border: 0; border-radius: 6px; background: none; font: inherit; font-size: .9375rem; line-height: 1.45; color: var(--ink-2); text-align: left; cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}
.part-btn:hover, .part-btn[aria-pressed="true"] { background: var(--copper-soft); color: var(--ink); }
.part-btn b {
  width: 26px; height: 26px; border-radius: 50%; border: 1.25px solid var(--draw-ink); display: grid; place-items: center;
  font-family: var(--f-mono); font-size: .78rem; font-weight: 500; color: var(--draw-ink);
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.part-btn[aria-pressed="true"] b { background: var(--copper); border-color: var(--copper); color: #fff; }
.parts-wrap { display: grid; gap: 6px; align-content: center; }
.parts-legend { display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 12px; margin: 0; padding-inline: 6px; line-height: 1.35; padding-top: 10px; border-top: 1px solid var(--line-2); font-size: .875rem; color: var(--muted); }
.parts-legend + .parts-legend { border-top: 0; padding-top: 0; }
.parts-legend svg { width: 28px; height: 12px; overflow: visible; }
.sheet-foot { display: grid; gap: 12px; padding: 14px 16px 16px; border-top: 1px solid var(--line); }
.sheet-note { font-size: .875rem; line-height: 1.5; color: var(--muted); }
.motion-toggle {
  justify-self: start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px;
  border: 1px solid var(--control-line); border-radius: var(--r-btn); background: var(--surface); color: var(--ink);
  font: 600 .875rem var(--f-body); cursor: pointer;
}
.motion-toggle:hover { border-color: var(--ink); }
.motion-toggle svg { width: 16px; height: 16px; }
.motion-toggle .i-pause, .sheet.is-playing .motion-toggle .i-play { display: none; }
.sheet.is-playing .motion-toggle .i-pause { display: block; }
.title-block { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; border-top: 1px solid var(--line); background: var(--plaster); font-family: var(--f-mono); }
.title-block span { padding: 11px 16px; font-size: .75rem; font-weight: 500; line-height: 1.4; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.title-block span + span { border-left: 1px solid var(--line); }
.title-block span:last-child { color: var(--copper-ink); }
@media (max-width: 359px) { .title-block .tb-scale { display: none; } }

/* rysunek: linie ISO (szeroka 1.5 / wąska .75), animacja tylko na żądanie */
.dw-line { fill: none; stroke: currentColor; stroke-width: 1.5; }
.dw-center { fill: none; stroke: currentColor; stroke-width: .75; stroke-dasharray: 16 3 1 3; opacity: .55; }
.dw-leader { fill: none; stroke: currentColor; stroke-width: .8; }
.dw-flow { fill: none; stroke: currentColor; stroke-width: 1; }
.dw-dot { fill: currentColor; }
.dw-balloon { fill: var(--surface); stroke: currentColor; stroke-width: .9; }
.dw-num { font-family: var(--f-mono); font-size: 15px; font-weight: 500; fill: currentColor; }
.dw-heat { fill: none; stroke: var(--copper); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.vap, .drip, .bub { opacity: 0; }
.sheet.is-playing .vap { animation: rise 3s linear infinite; }
.sheet.is-playing .drip { animation: drip 3.6s ease-in infinite; }
.sheet.is-playing .bub { animation: bub 1.6s ease-in infinite; }
.bub { transform-box: fill-box; transform-origin: center; }
@keyframes rise { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: .9; } 85% { opacity: .9; } 100% { transform: translateY(-250px); opacity: 0; } }
@keyframes drip { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(250px); opacity: 0; } }
@keyframes bub { 0% { transform: translateY(0) scale(.6); opacity: 0; } 20% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(var(--rise, -12px)) scale(1); opacity: 0; } }
.sheet-body > svg [data-part], .sheet-body > svg .dw-heat { transition: opacity .22s ease; }
.sheet[data-active] .sheet-body > svg .dw-heat { opacity: .3; }
.sheet[data-active="1"] .sheet-body > svg [data-part]:not([data-part="1"]),
.sheet[data-active="2"] .sheet-body > svg [data-part]:not([data-part="2"]),
.sheet[data-active="3"] .sheet-body > svg [data-part]:not([data-part="3"]),
.sheet[data-active="4"] .sheet-body > svg [data-part]:not([data-part="4"]),
.sheet[data-active="5"] .sheet-body > svg [data-part]:not([data-part="5"]),
.sheet[data-active="6"] .sheet-body > svg [data-part]:not([data-part="6"]) { opacity: .3; }
.sheet[data-active="1"] .callout[data-part="1"], .sheet[data-active="2"] .callout[data-part="2"],
.sheet[data-active="3"] .callout[data-part="3"], .sheet[data-active="4"] .callout[data-part="4"],
.sheet[data-active="5"] .callout[data-part="5"], .sheet[data-active="6"] .callout[data-part="6"] { color: var(--copper); }

/* Korzyści: grupy z liniami, bez kart */
.benefits { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.benefit { border-top: 1px solid var(--line-2); padding: 24px 0; }
.benefit-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.benefit-ico { width: 32px; height: 32px; flex: none; display: grid; place-items: center; color: var(--copper); }
.benefit-ico svg { width: 24px; height: 24px; }
.benefit h3 { font-size: 1.125rem; font-weight: 700; font-stretch: 95%; line-height: 1.35; min-width: 0; }
.ticks { list-style: none; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 18px; color: var(--ink-2); font-size: 1rem; line-height: 1.6; }
.ticks li::before { content: ""; position: absolute; left: 1px; top: .64em; width: 6px; height: 6px; background: var(--copper); }
.ticks strong { color: var(--ink); }
@media (min-width: 768px) and (max-width: 1199px) {
  .benefit { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; }
  .benefit-head { flex-direction: column; align-items: flex-start; margin: 0; }
}
@media (min-width: 1200px) {
  .benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .benefit { border-top: 2px solid var(--copper); }
  .benefit h3 { font-size: 1.25rem; min-height: 2.7em; }
  .benefit-head { align-items: flex-start; }
}
.interior { margin-top: 32px; }
.interior picture { display: block; overflow: hidden; border-radius: var(--r-img); aspect-ratio: 3 / 2; background: var(--plaster-2); }
.interior img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.interior figcaption { margin-top: 8px; font-size: .875rem; line-height: 1.45; color: var(--muted); }
@media (min-width: 768px) { .interior picture { aspect-ratio: 16 / 9; } .interior img { object-position: 50% 30%; } }
@media (min-width: 1200px) { .interior { margin-top: 48px; } .interior picture { aspect-ratio: 2 / 1; } }

/* Dokumenty */
.certs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 56rem; }
.cert { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: center; border-top: 1px solid var(--line-2); padding: 20px 0; }
.cert-ico { width: 32px; height: 32px; display: grid; place-items: center; color: var(--copper); }
.cert-ico svg { width: 24px; height: 24px; }
.cert h3 { font-size: 1.0625rem; line-height: 1.3; }
.cert p { margin-top: 2px; font-family: var(--f-mono); font-size: .875rem; color: var(--muted); letter-spacing: .02em; overflow-wrap: anywhere; }
.certs-note { margin-top: 16px; max-width: 46rem; font-size: .875rem; line-height: 1.6; color: var(--muted); }
@media (min-width: 768px) { .certs { grid-template-columns: 1fr 1fr; gap: 0 32px; } }

/* Kontakt: kolumny z liniami na grafitowym tle */
.contact { background: var(--graphite); color: var(--on-dark); }
.contact .label { color: var(--copper-on-dark); }
.contact .h2 { color: var(--on-dark); }
.owner-line { margin-top: 8px; font-size: .9375rem; color: var(--on-dark-2); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.c-card { display: grid; gap: 4px; align-content: start; min-width: 0; border-top: 1px solid var(--graphite-line); padding: 24px 0; }
.c-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; color: var(--copper-on-dark); }
.c-top svg { width: 20px; height: 20px; }
.c-top span { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-2); }
.c-big {
  display: inline-flex; align-items: center; min-height: 48px; font-weight: 700; font-stretch: 95%; font-size: 1.625rem; line-height: 1.3;
  letter-spacing: -.01em; color: var(--on-dark); text-decoration: none; font-variant-numeric: tabular-nums; min-width: 0;
  transition: color .18s ease;
}
.c-big:hover { color: var(--copper-on-dark); }
.c-big.c-mail { font-size: 1.25rem; overflow-wrap: anywhere; }
.c-card address { color: var(--on-dark-2); line-height: 1.6; }
.c-card address strong { color: var(--on-dark); }
.reg { margin-top: 10px; display: grid; gap: 2px; font-family: var(--f-mono); font-size: .8125rem; color: var(--on-dark-2); }
.reg b { color: var(--on-dark); font-weight: 500; }
.rodo-note { margin-top: 24px; max-width: 58rem; font-size: .875rem; line-height: 1.65; color: var(--on-dark-2); }
.rodo-note a { color: var(--copper-on-dark); font-weight: 600; text-underline-offset: 3px; }
@media (min-width: 768px) {
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
  .contact-grid .c-card:last-child { grid-column: 1 / -1; }
}
@media (min-width: 1200px) {
  .contact-grid { grid-template-columns: 1fr 1fr 1.2fr; gap: 32px; }
  .contact-grid .c-card:last-child { grid-column: auto; }
  .c-big { font-size: 1.75rem; }
  .c-big.c-mail { font-size: 1.375rem; }
}
/* kopiowanie: tylko przy myszy (na telefonie numer się wybiera, długie przytrzymanie kopiuje) */
.c-row { display: flex; align-items: center; gap: 4px; flex-wrap: nowrap; min-width: 0; }
.copy-btn {
  position: relative; flex: none; width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; border-radius: var(--r-btn); background: transparent; color: var(--on-dark-2); opacity: .6; cursor: pointer;
  transition: opacity .18s ease, background-color .18s ease, color .18s ease;
}
.copy-btn svg { width: 18px; height: 18px; }
.copy-btn .i-check { display: none; }
.copy-btn:hover, .copy-btn:focus-visible { opacity: 1; color: var(--on-dark); background: rgba(242, 240, 235, .07); }
.copy-btn.is-done { opacity: 1; color: var(--copper-on-dark); }
.copy-btn.is-done .i-copy { display: none; }
.copy-btn.is-done .i-check { display: block; }
.copy-btn::after {
  content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 2px); transform: translate(-50%, 4px);
  padding: 4px 8px; border-radius: 6px; background: var(--on-dark); color: var(--graphite);
  font-family: var(--f-mono); font-size: .6875rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .15s ease, transform .15s ease;
}
.copy-btn:hover::after, .copy-btn:focus-visible::after, .copy-btn.is-done::after { opacity: 1; transform: translate(-50%, 0); }
@media (hover: none) and (pointer: coarse) { .copy-btn { display: none; } }

/* Stopka */
.site-footer { background: var(--footer); color: var(--on-dark-2); padding-block: 40px calc(32px + env(safe-area-inset-bottom, 0px)); font-size: .875rem; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--graphite-line); }
.foot-legal { margin-top: 16px; max-width: 46rem; line-height: 1.65; }
.foot-links { display: grid; }
.foot-links a { display: flex; align-items: center; gap: .35em; min-height: 44px; color: var(--on-dark); font-weight: 600; text-decoration: none; }
.foot-links a:hover { color: var(--copper-on-dark); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; padding-top: 18px; font-family: var(--f-mono); font-size: .75rem; }
.foot-bottom > * { min-width: 0; }
@media (min-width: 768px) { .foot-top { grid-template-columns: minmax(0, 1fr) auto; } }

/* Pasek szybkiego kontaktu (telefon < 768 px); miejsce rezerwuje ciemna stopka */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
  background: var(--plaster); border-top: 1px solid var(--line); box-shadow: 0 -12px 24px -20px rgba(29, 28, 26, .4);
  transition: transform .25s var(--ease), visibility .25s;
}
.action-bar .btn { min-height: 48px; padding: 10px 14px; font-size: 1rem; }
.action-bar.is-hidden { transform: translateY(110%); visibility: hidden; }
@media (max-width: 767px) {
  .js body.with-bar .site-footer { padding-bottom: calc(98px + env(safe-area-inset-bottom, 0px)); }
  html { scroll-padding-bottom: 88px; }
  .facts { display: none; }
}
.page-404 { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.page-404 main { flex: 1; }
@media (min-width: 768px) { .action-bar { display: none; } }

/* ---------- Polityka prywatności ---------- */
.doc-hero { padding-block: 40px 32px; border-bottom: 1px solid var(--line); }
.doc-hero .h1 { margin-top: 12px; }
.doc-hero .label { color: var(--copper-ink); }
.doc-updated { margin-top: 10px; color: var(--muted); font-family: var(--f-mono); font-size: .8125rem; }
.doc-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-btn); padding: 4px 16px; }
.toc summary { display: flex; align-items: center; min-height: 44px; font-weight: 600; cursor: pointer; list-style: none; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: ""; width: 8px; height: 8px; margin-left: auto; margin-right: 4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s ease; }
.toc[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.toc ol { padding: 0 0 8px 1.5em; font-family: var(--f-mono); font-size: .8125rem; color: var(--muted); }
.toc li { padding-left: 4px; }
.toc a { display: flex; align-items: center; min-height: 44px; font-family: var(--f-body); font-size: .9375rem; text-decoration: none; color: var(--ink-2); font-weight: 550; overflow-wrap: anywhere; }
.toc a:hover { color: var(--copper-ink); }
.doc { max-width: 44rem; color: var(--ink-2); font-size: 1.0625rem; line-height: 1.7; }
.doc > * + * { margin-top: 1em; }
.doc h2 { display: flex; gap: 10px; margin-top: 2.2em; font-size: 1.3125rem; line-height: 1.3; font-stretch: 95%; color: var(--ink); overflow-wrap: anywhere; }
.doc h2 .n { flex: none; font-family: var(--f-mono); font-weight: 500; color: var(--copper-ink); }
.doc ul { padding-left: 1.2em; display: grid; gap: .5em; }
.doc li::marker { color: var(--copper); }
.doc a { color: var(--copper-ink); font-weight: 600; text-underline-offset: 3px; overflow-wrap: anywhere; }
.doc strong { color: var(--ink); }
.doc .intro { font-size: 1.125rem; color: var(--ink); }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-btn); padding: 18px 20px; }
.box-strong { border-color: var(--copper); background: var(--copper-soft); }
.purposes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.purpose { border-top: 1px solid var(--line-2); padding: 16px 0; }
.purpose h3 { font-size: 1.0625rem; color: var(--ink); line-height: 1.35; }
.purpose p { margin-top: 6px; }
.doc-h3 { margin-top: 1.4em; font-size: 1.0625rem; font-stretch: 95%; color: var(--ink); }
.purpose p .basis { display: table; margin: 0 0 6px; }
.basis { display: inline-block; margin-top: 10px; font-family: var(--f-mono); font-size: .75rem; color: var(--copper-ink); background: var(--copper-soft); border-radius: 4px; padding: 3px 8px; }
@media (min-width: 1200px) {
  .doc-hero { padding-block: 64px 48px; }
  .doc-layout { grid-template-columns: 260px minmax(0, 1fr); gap: 56px; }
  .toc { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100dvh - var(--header-h) - 40px); overflow: auto; }
}

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px var(--gutter); }
.notfound .code { font-family: var(--f-mono); font-size: clamp(3.5rem, 14vw, 6rem); font-weight: 500; line-height: 1; color: var(--copper); }
.notfound h1 { margin-top: 12px; font-size: 1.5rem; }
.notfound p { margin-top: 10px; color: var(--muted); }
.notfound .links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }

/* ---------- Bez JavaScript: zwykła strona ---------- */
.no-js .menu-btn, .no-js .action-bar, .no-js .copy-btn, .no-js .motion-toggle, .no-js .reveal .knob, .no-js .reveal input[type="range"] { display: none !important; }
@media (max-width: 1199px) {
  .no-js .site-header { position: static; }
  .no-js .site-header .wrap { height: auto; min-height: var(--header-h); flex-wrap: wrap; padding-block: 12px; }
  .no-js .header-call { display: none !important; }
  .no-js .nav {
    position: static; display: flex; flex-wrap: wrap; gap: 0 16px; flex-basis: 100%; max-height: none; overflow: visible;
    padding: 0; background: none; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none;
  }
  .no-js .nav a { min-height: 44px; border: 0; font-size: .95rem; padding: 0; }
  .no-js .nav .nav-call { display: none; }
}
.no-js .reveal { cursor: auto; }
.no-js .part-btn { pointer-events: none; cursor: default; }

/* ---------- Tryb wysokiego kontrastu ---------- */
@media (forced-colors: active) {
  .btn, .menu-btn, .motion-toggle, .sheet, .toc, .box { border: 1px solid ButtonText; }
  .reveal .handle { background: CanvasText; forced-color-adjust: none; }
  .reveal .knob { border: 2px solid CanvasText; forced-color-adjust: none; background: Canvas; color: CanvasText; }
  .label::before, .ticks li::before { background: CanvasText; forced-color-adjust: none; }
  :focus-visible { outline: 3px solid Highlight; }
}

/* ---------- Ograniczony ruch ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .vap, .drip, .bub, .motion-toggle { display: none !important; }
}

/* ---------- Druk ---------- */
@media print {
  html, body { background: #fff !important; color: #000 !important; }
  .site-header, .action-bar, .hero-actions, .privacy-link, .motion-toggle, .copy-btn, .skip { display: none !important; }
  .contact, .site-footer { background: transparent !important; color: #000 !important; }
  .contact *, .site-footer * { color: #000 !important; }
  .c-card { border-color: #777 !important; }
  .site-footer { padding-bottom: 0 !important; }
  .section { padding-block: 18pt; }
  .toc { position: static; max-height: none; overflow: visible; }
  .sheet, .cert, .benefit, .fact { break-inside: avoid; }
  .reveal { aspect-ratio: auto; }
  .reveal .photo { position: static; width: 100%; height: auto; }
  .reveal .ir, .reveal .handle, .reveal .knob { display: none !important; }
  .vap, .drip, .bub { display: none !important; }
  .site-footer .brand { display: none !important; }
}
