/* Color Lab – strona. Jeden plik stylów, bez frameworka. */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/fonts/schibsted-latin.woff2") format("woff2");
  font-weight: 400 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/fonts/schibsted-latin-ext.woff2") format("woff2");
  font-weight: 400 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/fonts/schibsted-italic-latin.woff2") format("woff2");
  font-weight: 400 900; font-style: italic; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/fonts/schibsted-italic-latin-ext.woff2") format("woff2");
  font-weight: 400 900; font-style: italic; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/plexmono-400-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/plexmono-400-latin-ext.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/plexmono-500-latin.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/plexmono-500-latin-ext.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;
  --paper: #f5f3ec;
  --paper-2: #ebe8dd;
  --card: #fffefb;
  --ink: #191b18;
  --ink-2: #4c5049;
  --ink-3: #767a71;
  --rule: #d6d2c5;
  --green: #1d6a46;
  --green-2: #2e7d5b;
  --green-tint: #e2eee6;
  --copper: #a3461d;
  --copper-tint: #f4e4da;
  --grid: rgba(29, 106, 70, 0.075);
  --sans: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --gutter: 24px;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 16px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
figure { margin: 0; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--green-2); outline-offset: 2px; border-radius: 2px; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.022em; line-height: 1.05; text-wrap: balance; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; line-height: 1.25; }
strong { font-weight: 700; }
.mono, code { font-family: var(--mono); font-size: 0.92em; }
.num { font-variant-numeric: tabular-nums; }

.skip {
  position: absolute; left: 8px; top: -60px; z-index: 10;
  background: var(--ink); color: var(--paper); padding: 8px 14px; text-decoration: none;
}
.skip:focus { top: 8px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- nagłówek ---------- */
.top { border-bottom: 1px solid var(--rule); }
.top .wrap { display: flex; align-items: center; gap: 28px; min-height: 72px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; }
.brand svg { width: 38px; height: 38px; }
.nav { display: flex; gap: 22px; flex-wrap: wrap; margin-left: auto; font-size: 0.95rem; }
.nav a { color: var(--ink-2); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; }
.top .tel { font-family: var(--mono); font-weight: 500; font-size: 0.95rem; color: var(--ink); text-decoration: none; border: 1px solid var(--ink); padding: 6px 12px; border-radius: 3px; white-space: nowrap; }
.top .tel:hover { background: var(--ink); color: var(--paper); }

/* ---------- hero ---------- */
.hero { padding: 64px 0 72px; border-bottom: 1px solid var(--rule); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; }
.eyebrow { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 22px; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.7rem); line-height: 0.98; letter-spacing: -0.035em; margin-bottom: 30px; }
.hero h1 .soft { color: var(--ink-3); font-style: italic; font-weight: 700; }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.3rem); line-height: 1.5; max-width: 36em; color: var(--ink); }
.lead + p { color: var(--ink-2); max-width: 38em; }
.actions { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 30px; }
.btn {
  display: inline-block; background: var(--green); color: #fff; text-decoration: none;
  font-weight: 700; padding: 14px 22px; border-radius: 3px; font-size: 1.05rem;
}
.btn:hover { background: #155537; }
.btn .mono { font-weight: 500; margin-left: 6px; }
.quiet { color: var(--ink); font-weight: 600; }

/* papier milimetrowy pod kartą */
.bench {
  position: relative; padding: 28px;
  background-color: var(--card);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px),
    linear-gradient(rgba(29,106,70,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29,106,70,.035) 1px, transparent 1px);
  background-size: 50px 50px, 50px 50px, 10px 10px, 10px 10px;
  border: 1px solid var(--rule);
}
.bench figcaption { font-size: 0.85rem; color: var(--ink-3); margin-top: 14px; }

/* ---------- „ekran" aplikacji ---------- */
.screen {
  background: #fff; border: 1px solid #cfcbbf; border-radius: 6px;
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 12px 28px -18px rgba(25,27,24,.35);
  font-size: 0.95rem; overflow: hidden;
}
.screen__bar { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-bottom: 1px solid #ebe8df; font-family: var(--mono); font-size: 0.75rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; }
.screen__who { padding: 12px 14px 6px; font-weight: 700; }
.screen__who span { font-weight: 400; color: var(--ink-3); }
.rows { list-style: none; margin: 0; padding: 4px 8px 8px; }
.rows li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 8px; border-bottom: 1px dashed #e7e3d8; }
.rows li:last-child { border-bottom: 0; }
.rows b { font-family: var(--mono); font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rows li.on { background: var(--green-tint); border-radius: 4px; border-bottom-color: transparent; box-shadow: inset 3px 0 0 var(--green-2); }
.rows li.on b { color: var(--green); }
.rows small { display: block; color: var(--ink-3); font-size: 0.8rem; }
.rows .sum { border-top: 1px solid var(--ink); border-bottom: 0; margin-top: 4px; font-weight: 700; }
.rows .waste b { color: var(--copper); }
.live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green-2); margin-right: 6px; vertical-align: 1px; animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .live { animation: none; } }

/* panel proporcji – jak w aplikacji */
.ratios { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid #cfcbbf; border-radius: 6px; overflow: hidden; background: #fff; }
.ratios div { padding: 12px 6px 10px; text-align: center; border-left: 1px solid #ebe8df; }
.ratios div:first-child { border-left: 0; }
.ratios dt { font-family: var(--mono); font-size: 0.8rem; color: var(--ink-3); }
.ratios dd { margin: 4px 0 0; font-family: var(--mono); font-weight: 500; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.ratios .hit { background: var(--green-tint); }
.ratios .hit dd { color: var(--green); }

/* ---------- przebieg wizyty ---------- */
.steps { padding: 72px 0; border-bottom: 1px solid var(--rule); }
.steps h2 { max-width: 18em; margin-bottom: 40px; }
.steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: s; }
.steps li { padding: 18px 24px 4px 0; border-top: 2px solid var(--ink); counter-increment: s; }
.steps li + li { padding-left: 24px; border-left: 1px solid var(--rule); }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--mono); font-size: 0.8rem; color: var(--ink-3); margin-bottom: 10px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--ink-2); font-size: 1rem; }

/* ---------- funkcje (wiersze z marginesem) ---------- */
.feature { padding: 64px 0; border-bottom: 1px solid var(--rule); }
.feature .wrap { display: grid; grid-template-columns: 88px minmax(0, 6fr) minmax(0, 5fr); gap: 0 40px; align-items: start; }
.feature .no { font-family: var(--mono); font-size: 0.85rem; color: var(--ink-3); padding-top: 6px; border-top: 2px solid var(--ink); }
.kicker { font-family: var(--mono); font-size: 0.8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--green); margin: 0 0 12px; }
.feature h2 { margin-bottom: 20px; max-width: 16em; }
.feature .text p { max-width: 34em; }
.feature .demo { padding-top: 6px; }
.feature .demo figcaption { font-size: 0.85rem; color: var(--ink-3); margin-top: 10px; }
.feature.band { background: var(--paper-2); }

.facts { list-style: none; padding: 0; margin: 18px 0 0; max-width: 34em; }
.facts li { padding: 8px 0 8px 22px; border-top: 1px solid var(--rule); position: relative; font-size: 1rem; }
.facts li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 9px; height: 2px; background: var(--green-2); }

.note { border-left: 3px solid var(--ink); padding: 4px 0 4px 16px; margin: 22px 0 0; max-width: 34em; color: var(--ink); }
.note strong { display: block; }

/* przelicznik dorabiania */
.scale-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid #cfcbbf; border-radius: 6px; overflow: hidden; font-size: 0.95rem; }
.scale-table th, .scale-table td { padding: 10px 12px; text-align: right; border-bottom: 1px dashed #e7e3d8; }
.scale-table th:first-child, .scale-table td:first-child { text-align: left; }
.scale-table thead th { font-family: var(--mono); font-weight: 400; font-size: 0.75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); border-bottom: 1px solid #ebe8df; }
.scale-table td + td { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.scale-table tfoot td { font-weight: 700; border-top: 1px solid var(--ink); border-bottom: 0; }
.scale-table .new { color: var(--green); font-weight: 500; }

/* SMS */
.sms { max-width: 330px; background: #fff; border: 1px solid #cfcbbf; border-radius: 16px 16px 16px 4px; padding: 14px 16px; font-size: 0.95rem; box-shadow: 0 10px 24px -18px rgba(25,27,24,.4); }
.sms + .sms-meta { font-family: var(--mono); font-size: 0.75rem; color: var(--ink-3); margin-top: 8px; }

/* ---------- pytania ---------- */
.faq { padding: 72px 0; border-bottom: 1px solid var(--rule); }
.faq .wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; }
.faq h2 { position: sticky; top: 24px; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 700; font-size: 1.1rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-family: var(--mono); font-size: 1.4rem; font-weight: 400; color: var(--ink-3); }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 0 18px; max-width: 40em; color: var(--ink-2); }

/* ---------- kontakt ---------- */
.contact { background: var(--ink); color: var(--paper); padding: 80px 0; }
.contact .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: end; }
.contact h2 { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1; margin-bottom: 18px; }
.contact p { color: #cfccc2; max-width: 32em; }
.contact .big { display: block; font-family: var(--sans); font-weight: 800; font-variant-numeric: tabular-nums; font-size: clamp(2.2rem, 5vw, 3.6rem); color: #fff; text-decoration: none; letter-spacing: -0.02em; line-height: 1.1; }
.contact .big:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.contact .mail { color: #fff; font-size: 1.15rem; }
.contact .label { font-family: var(--mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: .05em; color: #9e9b92; margin: 22px 0 6px; }
.contact .label:first-child { margin-top: 0; }

/* ---------- stopka ---------- */
.foot { padding: 36px 0 44px; font-size: 0.9rem; color: var(--ink-2); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { color: var(--ink-2); }

/* ---------- poradniki ---------- */
.crumbs { font-size: 0.85rem; color: var(--ink-3); padding-top: 22px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--rule); }
.crumbs a { color: var(--ink-3); }
.article { padding: 36px 0 72px; }
.article .wrap { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 56px; align-items: start; }
.article header h1 { font-size: clamp(2.2rem, 5.2vw, 3.9rem); line-height: 1; letter-spacing: -0.03em; margin: 0 0 18px; }
.byline { font-family: var(--mono); font-size: 0.8rem; color: var(--ink-3); margin-bottom: 28px; }
.answer { background: var(--card); border: 1px solid var(--rule); border-left: 4px solid var(--green-2); padding: 20px 22px; margin: 0 0 36px; font-size: 1.12rem; }
.answer p:last-child { margin-bottom: 0; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 48px 0 14px; padding-top: 14px; border-top: 2px solid var(--ink); }
.prose h3 { margin: 26px 0 8px; }
.prose p, .prose ul, .prose ol { max-width: 40em; }
.prose li { margin-bottom: 6px; }
.formula { font-family: var(--mono); font-size: 1rem; background: #fff; border: 1px dashed #c9c5b8; padding: 14px 16px; margin: 0 0 1.2em; max-width: 40em; overflow-wrap: anywhere; }
.aside { position: sticky; top: 24px; display: grid; gap: 20px; }
.aside .box { background: var(--card); border: 1px solid var(--rule); padding: 20px; }
.aside .box h2 { font-size: 1.15rem; letter-spacing: -0.01em; margin-bottom: 10px; }
.aside .box p { font-size: 0.95rem; color: var(--ink-2); }
.aside ul { margin: 0; padding-left: 18px; font-size: 0.95rem; }

.data { width: 100%; border-collapse: collapse; margin: 6px 0 10px; font-size: 0.95rem; background: #fff; border: 1px solid var(--rule); }
.data caption { text-align: left; font-size: 0.85rem; color: var(--ink-3); padding: 0 0 8px; caption-side: top; }
.data th, .data td { padding: 8px 10px; border-bottom: 1px solid #ebe8df; text-align: right; white-space: nowrap; }
.data td { font-variant-numeric: tabular-nums; }
.data td { font-family: var(--mono); font-size: 0.92rem; }
.data th:first-child, .data td:first-child { text-align: left; }
.data thead th { background: var(--paper-2); font-weight: 700; font-size: 0.85rem; border-bottom: 1px solid var(--rule); }
.data tbody th { font-family: var(--mono); font-weight: 500; font-size: 0.92rem; }
.data tbody tr:nth-child(even) { background: #fbfaf6; }
.data tfoot td, .data tfoot th { font-weight: 700; border-top: 1px solid var(--ink); }
.table-scroll { overflow-x: auto; max-width: 100%; -webkit-overflow-scrolling: touch; }
.small { font-size: 0.88rem; color: var(--ink-3); }

/* kalkulatory */
.calc { background: #fff; border: 1px solid #cfcbbf; border-radius: 6px; padding: 20px; margin: 10px 0 28px; max-width: 40em; }
.calc label { display: block; font-weight: 700; margin-bottom: 6px; }
.calc .field { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.calc input { font: 500 1.2rem var(--mono); width: 8.5em; padding: 8px 10px; border: 1px solid #b9b5a8; border-radius: 3px; background: var(--paper); color: var(--ink); }
.calc input:focus { outline: 3px solid var(--green-tint); border-color: var(--green-2); }
.calc output { font-family: var(--mono); font-weight: 500; }
.calc .total { font-size: 1.15rem; margin: 14px 0 0; }
.calc button { font: 700 0.95rem var(--sans); background: none; border: 1px solid var(--ink); color: var(--ink); padding: 8px 14px; border-radius: 3px; cursor: pointer; }
.calc button:hover { background: var(--ink); color: var(--paper); }
.cost-rows { width: 100%; border-collapse: collapse; margin-bottom: 12px; }
.cost-rows th { text-align: left; font-size: 0.8rem; font-weight: 400; color: var(--ink-3); padding: 0 6px 6px 0; }
.cost-rows td { padding: 4px 6px 4px 0; }
.cost-rows input { width: 100%; min-width: 4.5em; font-size: 1rem; }
.cost-rows input[type="text"] { font-family: var(--sans); font-weight: 400; }
.cost-rows output { white-space: nowrap; }

.cta-inline { margin: 40px 0 0; padding: 22px; background: var(--ink); color: var(--paper); max-width: 40em; }
.cta-inline p { margin: 0 0 12px; }
.cta-inline a { color: #fff; font-weight: 700; }

/* ---------- mniejsze ekrany ---------- */
@media (max-width: 1000px) {
  .hero .wrap, .contact .wrap, .article .wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .feature .wrap { grid-template-columns: 64px minmax(0, 1fr); }
  .feature .demo { grid-column: 2; margin-top: 28px; }
  .steps ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .faq .wrap { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .faq h2, .aside { position: static; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 1rem; }
  .top .wrap { gap: 10px 16px; padding-top: 12px; padding-bottom: 12px; }
  .nav { order: 3; width: 100%; margin-left: 0; gap: 6px 16px; font-size: 0.9rem; }
  .top .tel { margin-left: auto; }
  .hero { padding: 40px 0 48px; }
  .bench { padding: 14px; }
  .steps, .faq { padding: 52px 0; }
  .steps ol { grid-template-columns: minmax(0, 1fr); }
  .steps li, .steps li + li { padding: 16px 0 4px; border-left: 0; }
  .feature { padding: 48px 0; }
  .feature .wrap { grid-template-columns: minmax(0, 1fr); }
  .feature .no { border-top: 0; padding: 0; margin-bottom: 6px; }
  .feature .demo { grid-column: 1; }
  .ratios dd { font-size: 0.9rem; }
  .ratios dt { font-size: 0.72rem; }
  .contact { padding: 56px 0; }
  .calc { padding: 14px; }
  .cost-rows thead { display: none; }
  .cost-rows tr { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 10px 0; border-bottom: 1px dashed #e7e3d8; }
  .cost-rows td:first-child { grid-column: 1 / -1; }
  .cost-rows td { padding: 0; }
  .cost-rows td[data-label]::before { content: attr(data-label); display: block; font-size: 0.75rem; color: var(--ink-3); }
}

@media print {
  .top .tel, .nav, .contact, .calc { display: none; }
  body { background: #fff; }
}

/* ===== v2: nagłówek z przyciskiem, dowody, cennik, kalkulator, sloty, funkcje, dokumenty ===== */
.top .cta { background: var(--green); color: #fff; text-decoration: none; font-weight: 700; font-size: 0.95rem; padding: 9px 16px; border-radius: 3px; white-space: nowrap; }
.top .cta:hover { background: #155537; }
.nav .login { color: var(--ink); font-weight: 600; }
.hero .alt { color: var(--ink-2); }
.hero .alt a { color: var(--ink); font-weight: 700; text-decoration: none; font-family: var(--mono); }

.proof { padding: 28px 0; border-bottom: 1px solid var(--rule); }
.proof .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 40px; }
.proof p { margin: 0; font-weight: 700; font-size: 1.05rem; max-width: 15em; line-height: 1.3; }
.proof p span { display: block; font-weight: 400; font-size: 0.85rem; color: var(--ink-3); }
.logos { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 36px; margin: 0; padding: 0; list-style: none; }
.logos img { height: 46px; width: auto; filter: grayscale(1); mix-blend-mode: multiply; opacity: .85; }

.more { margin: 18px 0 0; font-size: 0.95rem; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.plan-tag { display: inline-block; font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); border: 1px solid var(--rule); background: var(--card); padding: 2px 8px; border-radius: 2px; margin-left: 8px; vertical-align: 2px; }
.demo-stack { display: grid; gap: 18px; }

/* sloty na zdjęcia i filmy */
.slot { border: 2px dashed #b9b5a8; background: repeating-linear-gradient(-45deg, #f0ede4, #f0ede4 10px, #ebe8de 10px, #ebe8de 20px); border-radius: 6px; display: grid; place-content: center; text-align: center; padding: 20px; color: var(--ink-2); aspect-ratio: 16 / 9; }
.slot.photo { aspect-ratio: 4 / 3; }
.slot.tall { aspect-ratio: 3 / 4; max-width: 360px; }
.slot b { display: block; font-family: var(--mono); font-size: 0.75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--copper); margin-bottom: 6px; }
.slot span { font-size: 0.95rem; max-width: 30em; }
.steps .slot { margin-top: 36px; max-width: 880px; }

/* film: miniatura z przyciskiem, odtwarzacz YouTube po kliknięciu */
.film { margin: 36px 0 0; max-width: 880px; }
.film__play, .film iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 6px; }
.film__play { position: relative; padding: 0; overflow: hidden; background: var(--ink); cursor: pointer; }
.film__play img { display: block; width: 100%; height: 100%; object-fit: cover; }
.film__play::after { content: ""; position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; box-shadow: 0 4px 18px rgba(0, 0, 0, .3); background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%23fff'/%3E%3C/svg%3E") no-repeat 56% 50% / 30px; }
.film__play:hover::after { background-color: #155537; }

/* oszczędności */
.savings { padding: 72px 0; border-bottom: 1px solid var(--rule); background: var(--paper-2); }
.savings .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px; align-items: start; }
.savings h2 { margin-bottom: 12px; }
.savings form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; margin-top: 24px; }
.savings label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 4px; }
.savings input[type="number"] { width: 100%; font: 500 1.15rem var(--mono); padding: 9px 10px; border: 1px solid #b9b5a8; border-radius: 3px; background: #fff; color: var(--ink); }
.savings input:focus { outline: 3px solid var(--green-tint); border-color: var(--green-2); }
.savings .range { grid-column: 1 / -1; }
.savings input[type="range"] { width: 100%; accent-color: var(--green); }
.savings .result { background: var(--ink); color: var(--paper); padding: 26px; border-radius: 4px; }
.savings .result dl { margin: 0; display: grid; gap: 18px; }
.savings .result dt { font-family: var(--mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: .05em; color: #a9a69c; }
.savings .result dd { margin: 2px 0 0; font-weight: 800; font-size: clamp(1.8rem, 3.6vw, 2.6rem); letter-spacing: -0.02em; line-height: 1.05; }
.savings .result dd.sm { font-size: 1.4rem; }
.savings .result p { margin: 18px 0 0; font-size: 0.82rem; color: #a9a69c; }

/* opinia */
.quote { padding: 64px 0; border-bottom: 1px solid var(--rule); }
.quote figure { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 0 28px; max-width: 900px; }
.quote img { width: 80px; height: 80px; border-radius: 50%; grid-row: span 2; }
.quote blockquote { margin: 0; font-size: clamp(1.35rem, 2.6vw, 1.9rem); font-weight: 700; line-height: 1.3; letter-spacing: -0.015em; text-wrap: balance; }
.quote blockquote::before { content: "„"; }
.quote blockquote::after { content: "”"; }
.quote figcaption { margin-top: 16px; color: var(--ink-2); }
.quote figcaption a { margin-left: 10px; }

/* cennik */
.pricing { padding: 72px 0; border-bottom: 1px solid var(--rule); }
.pricing h2 { margin-bottom: 8px; }
.pricing .sub { color: var(--ink-2); margin-bottom: 32px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.plan { background: var(--card); border: 1px solid var(--rule); padding: 24px; display: flex; flex-direction: column; border-radius: 4px; }
.plan.pop { border: 2px solid var(--ink); }
.plan h3 { font-size: 1.3rem; margin-bottom: 2px; }
.plan .badge { font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--green); min-height: 1.2em; margin: 0 0 6px; }
.plan .price { font-weight: 800; font-size: 2.6rem; letter-spacing: -0.03em; line-height: 1; margin: 14px 0 4px; }
.plan .price small { font-size: 0.95rem; font-weight: 500; letter-spacing: 0; color: var(--ink-2); }
.plan ul { list-style: none; padding: 0; margin: 18px 0 22px; flex: 1; }
.plan li { padding: 7px 0 7px 22px; border-top: 1px solid #ebe8df; position: relative; font-size: 0.98rem; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 9px; height: 2px; background: var(--green-2); }
.plan li.all { color: var(--ink-2); }
.plan .btn { text-align: center; font-size: 0.98rem; padding: 12px 16px; }
.plan:not(.pop) .btn { background: none; color: var(--ink); border: 1px solid var(--ink); }
.plan:not(.pop) .btn:hover { background: var(--ink); color: var(--paper); }
.extras { margin: 28px 0 0; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; align-items: start; }
.extras table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--rule); }
.extras th, .extras td { padding: 12px 14px; border-bottom: 1px solid #ebe8df; text-align: left; vertical-align: top; }
.extras td { text-align: right; font-weight: 700; white-space: nowrap; }
.extras th { font-weight: 400; }
.extras th b { display: block; font-weight: 700; }
.extras th span { font-size: 0.9rem; color: var(--ink-2); }
.extras .slot { aspect-ratio: 4 / 3; }

/* stopka v2 */
.foot .wrap { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: 24px 32px; }
.foot nav { display: flex; flex-direction: column; gap: 6px; }
.foot .foot-h { font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); margin: 0 0 4px; }
.foot p { margin: 0 0 10px; }

/* funkcje */
.fhero { padding-top: 48px; padding-bottom: 24px; }
.fhero h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); line-height: 1; letter-spacing: -0.03em; margin-bottom: 14px; }
.fhero .lead { max-width: 34em; }
.fgroup { padding-top: 24px; padding-bottom: 8px; }
.fgroup h2 { font-size: 1rem; font-family: var(--mono); font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.fgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0 0 24px; padding: 0; list-style: none; }
.fgrid a { display: block; height: 100%; background: var(--card); border: 1px solid var(--rule); padding: 20px; color: var(--ink); text-decoration: none; border-radius: 4px; }
.fgrid a:hover { border-color: var(--ink); }
.fgrid h3 { margin-bottom: 6px; }
.fgrid p { margin: 0; color: var(--ink-2); font-size: 0.95rem; }
.fpage { padding: 28px 0 72px; }
.fpage .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; }
.fpage h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1; letter-spacing: -0.03em; margin: 0 0 16px; }
.fpage .lead { margin-bottom: 26px; }
.fpage h2 { font-size: 1.4rem; margin: 34px 0 12px; padding-top: 12px; border-top: 2px solid var(--ink); }
.howto { padding-left: 1.4em; margin: 0; max-width: 38em; }
.howto li { margin-bottom: 10px; padding-left: 4px; }
.howto li::marker { font-family: var(--mono); font-weight: 500; color: var(--green); }
.fpage .media { display: grid; gap: 18px; position: sticky; top: 24px; }
.pager { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--rule); }

/* dokumenty */
.legal { padding: 36px 0 72px; }
.legal .wrap { max-width: 860px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.03em; margin-bottom: 10px; }
.legal h2 { font-size: 1.3rem; margin: 32px 0 10px; }
.legal p, .legal li { max-width: 46em; }
.legal table { width: 100%; border-collapse: collapse; font-size: 0.92rem; background: var(--card); border: 1px solid var(--rule); margin: 8px 0 16px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid #ebe8df; }
.legal thead th { background: var(--paper-2); }

@media (max-width: 1000px) {
  .savings .wrap, .extras, .fpage .wrap { grid-template-columns: minmax(0, 1fr); }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
  .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot .wrap { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot .wrap > div:first-child { grid-column: 1 / -1; }
  .fpage .media { position: static; }
}
@media (max-width: 640px) {
  .top .cta { margin-left: auto; padding: 8px 12px; font-size: 0.9rem; }
  .proof .wrap { gap: 14px; }
  .logos { gap: 14px 24px; }
  .logos img { height: 36px; }
  .savings, .pricing { padding: 52px 0; }
  .savings form { grid-template-columns: minmax(0, 1fr); }
  .quote figure { grid-template-columns: minmax(0, 1fr); }
  .quote img { grid-row: auto; margin-bottom: 14px; width: 64px; height: 64px; }
  .fgrid { grid-template-columns: minmax(0, 1fr); }
  .foot .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .legal table { display: block; overflow-x: auto; }
}
@media (max-width: 640px) {
  .extras th, .extras td { display: block; text-align: left; white-space: normal; }
  .extras th { border-bottom: 0; padding-bottom: 2px; }
  .extras td { padding-top: 0; }
}

/* ===== menu zawsze widoczne + pasek kontaktu na telefonie ===== */
html { scroll-padding-top: 96px; }
.top { position: sticky; top: 0; z-index: 20; background: var(--paper); }
.faq h2, .aside, .fpage .media { top: 96px; }
.mbar { display: none; }
@media (max-width: 640px) {
  html { scroll-padding-top: 116px; }
  .top .cta { display: none; }
  .nav { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .mbar {
    display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--paper); border-top: 1px solid var(--rule);
    box-shadow: 0 -8px 20px -14px rgba(25, 27, 24, .45);
  }
  .mbar a { text-align: center; padding: 12px 8px; border-radius: 3px; font-weight: 700; text-decoration: none; font-size: 1rem; }
  .mbar-call { border: 1px solid var(--ink); color: var(--ink); background: var(--card); }
  .mbar-demo { background: var(--green); color: #fff; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}
@media print { .mbar { display: none !important; } .top { position: static; } }
@media (max-width: 640px) {
  .nav a[href$="#oszczednosci"] { display: none; }
}
.onboard { display: flex; justify-content: space-between; align-items: center; gap: 10px 24px; flex-wrap: wrap; margin: 20px 0 0; padding: 16px 20px; background: var(--green-tint); border: 1px solid #c6dccd; border-radius: 4px; }
.onboard-price { white-space: nowrap; }
.onboard-price s { color: var(--ink-3); font-size: 1.05rem; margin-right: 6px; }
.onboard-price b { color: var(--green); font-size: 1.5rem; font-weight: 800; }
.screen__bar .offline { color: var(--copper); }
.screen__bar .offline::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--copper); margin-right: 6px; vertical-align: 1px; }
.plan .gross { margin: 0; color: var(--ink-2); font-size: 0.92rem; }
.extras td small { display: block; font-weight: 400; color: var(--ink-2); font-size: 0.85rem; margin-top: 2px; }

/* stopka z kolumną krajów */
.foot .wrap { grid-template-columns: minmax(0, 4fr) repeat(4, minmax(0, 2fr)); }
@media (max-width: 1000px) {
  .foot .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot .wrap > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .nav a[href$="#savings"] { display: none; }
}

/* zgoda na pliki cookie */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; max-width: 780px; margin: 0 auto; background: var(--card); border: 1px solid var(--ink); border-radius: 4px; box-shadow: 0 18px 40px -22px rgba(25, 27, 24, .55); }
.cookie-banner[hidden] { display: none; }
.cookie-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; padding: 16px 18px; }
.cookie-inner p { margin: 0; flex: 1 1 320px; font-size: 0.95rem; color: var(--ink-2); }
.cookie-inner p strong { color: var(--ink); margin-right: 6px; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions button { font: 700 0.95rem var(--sans); padding: 10px 18px; border-radius: 3px; border: 1px solid var(--ink); background: var(--card); color: var(--ink); cursor: pointer; }
.cookie-actions button:hover { background: var(--ink); color: var(--paper); }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--ink-2); text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; text-align: left; }
.linkbtn:hover { color: var(--ink); }
.legal .linkbtn { color: var(--green); }
@media (max-width: 640px) {
  .cookie-banner { left: 8px; right: 8px; bottom: calc(80px + env(safe-area-inset-bottom)); }
  .cookie-actions { width: 100%; }
  .cookie-actions button { flex: 1; }
}
@media print { .cookie-banner { display: none !important; } }
