/* 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; }
/* Nad nagłówkiem „Już 100 salonów używa Color Lab” (ciemna ramka) i pod nią „od 2020”; pod nagłówkiem korzyści jedną linijką. */
.hero-badges { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin: 0 0 22px; }
.hero-badges span { display: inline-block; padding: 7px 12px; border-radius: 6px; font: 500 0.82rem/1.3 var(--mono); letter-spacing: 0.03em; text-transform: uppercase; }
.hero-badges .hb-main { background: var(--ink); color: #fff; }
.hero-badges .hb-sub { background: var(--card); color: var(--ink); border: 1px solid var(--ink); }
.hero-points { margin: -10px 0 26px; font: 500 0.8rem/1.6 var(--mono); letter-spacing: 0.03em; text-transform: uppercase; color: var(--green); }
/* Dłuższy polski nagłówek („Prawdopodobnie najprostsza…”): mniejszy, żeby opis i przyciski zostały na pierwszym ekranie. */
.hero h1.long { font-size: clamp(2rem, 4.4vw, 3.8rem); }
.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; }

/* Hero with the colouring video: text above and below it on phones, video on the right on wide screens. */
.hero .wrap.hero-grid { grid-template-areas: "top media" "bottom media"; row-gap: 0; }
.hero-top { grid-area: top; }
.hero-bottom { grid-area: bottom; }
.hero-media { grid-area: media; padding: 18px; margin: 0; }
.hero-video { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; max-height: 620px; object-fit: cover; object-position: 50% 45%; background: #2f2f2c; }

/* ---------- „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); }
/* tabela porównawcza z tekstem zamiast liczb */
.data.compare { min-width: 620px; }
.data.compare th, .data.compare td { white-space: normal; text-align: left; vertical-align: top; }
.data.compare td, .data.compare tbody th { font-family: inherit; font-size: 0.92rem; font-variant-numeric: normal; }
.data.compare tbody th { font-weight: 700; }
.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; }
  .hero .wrap.hero-grid { grid-template-areas: "top" "media" "bottom"; gap: 0; }
  .hero-media { margin: 0 0 28px; padding: 14px; }
  .hero-video { aspect-ratio: 1 / 1; max-height: 70vh; object-position: 50% 68%; }
  .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; }
/* Filmy z aplikacji przy funkcjach na stronie głównej: pionowe 9:16, wąskie, żeby mieściły się na ekranie */
.clip { margin: 0; }
.clip video { display: block; width: 100%; max-width: 300px; height: auto; aspect-ratio: 9 / 16; border-radius: 6px; background: var(--ink); }

/* 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 li small { display: block; margin-top: 3px; color: var(--copper); font-size: 0.85rem; }
.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; max-width: 760px; }
.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; }
/* Promocja w planie Pro: jedna inwentaryzacja gratis (karta Pro w cenniku i baner w poradniku o inwentaryzacji) */
.plan-promo { margin: 16px 0 0; padding: 14px 16px; background: var(--green); color: #fff; border-radius: 3px; }
.plan-promo p { margin: 0; }
.plan-promo-kicker { font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: .06em; color: #cfe5d7; }
.plan-promo .plan-promo-title { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.15; margin: 4px 0 6px; }
.plan-promo-text { font-size: 0.9rem; color: #eef6f0; }
.plan-promo a { color: #fff; }
.promo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin: 0 0 28px; padding: 24px 28px; background: var(--green); color: #fff; border-radius: 4px; }
.promo-body { flex: 1 1 380px; }
.promo p { max-width: 40em; }
.promo-kicker { font-family: var(--mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 6px; color: #cfe5d7; }
.promo-title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 10px; }
.promo-text { margin: 0; font-size: 1rem; color: #eef6f0; }
.promo-side { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.promo-price { margin: 0; font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; white-space: nowrap; }
.promo .btn { background: #fff; color: var(--green); }
.promo .btn:hover { background: var(--paper); }
.prose .promo { margin: 32px 0; }
/* Dodatek za 0 zł w pierwszym roku: przekreślona cena jak przy wdrożeniu */
.extras td.free s { color: var(--ink-3); font-weight: 400; margin-right: 6px; }
.extras td.free b { color: var(--green); font-size: 1.25rem; 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; bottom: 16px; z-index: 40; width: calc(100% - 32px); max-width: 420px; 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: 10px; padding: 12px 14px; }
.cookie-inner p { margin: 0; flex: 1 1 100%; font-size: 0.85rem; line-height: 1.45; color: var(--ink-2); }
.cookie-inner p strong { color: var(--ink); margin-right: 6px; }
.cookie-actions { display: flex; gap: 8px; width: 100%; }
.cookie-actions button { flex: 1; font: 700 0.85rem var(--sans); padding: 7px 10px; 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; width: calc(100% - 16px); max-width: none; bottom: calc(80px + env(safe-area-inset-bottom)); }
}
@media print { .cookie-banner { display: none !important; } }

/* Zrzuty ekranu w miejscu slotów */
.shot { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; border: 1px solid var(--rule); border-radius: 6px; background: var(--card); }
.app-shot {
  display: block; width: 100%; height: auto;
  border: 1px solid #cfcbbf; border-radius: 6px; background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 12px 28px -18px rgba(25,27,24,.35);
}
/* Kadr z części ekranu: prawa krawędź wygasa, ekran „ciągnie się dalej” */
.app-shot.cut-r {
  -webkit-mask-image: linear-gradient(to right, #000 var(--fade, 90%), transparent);
  mask-image: linear-gradient(to right, #000 var(--fade, 90%), transparent);
}


/* „Zamów” obok „Umów prezentację”: na górze na komputerze, w pasku na telefonie */
.top .cta-order { background: var(--ink); margin-right: -18px; }
.top .cta-order:hover { background: #000; }
@media (max-width: 640px) {
  .mbar { display: flex; }
  .mbar a { flex: 1 1 0; min-width: 0; padding: 10px 4px; font-size: 0.95rem; line-height: 1.2; display: flex; align-items: center; justify-content: center; }
  .mbar a.mbar-demo { flex-grow: 1.7; }
  .mbar-order { background: var(--ink); color: var(--paper); }
}
/* „Wyślij znajomemu” (js/share.js): w pasku na telefonie, pod cennikiem i na końcu poradników. */
.mbar .mbar-share { flex: 1 1 0; min-width: 0; display: flex; align-items: center; justify-content: center; padding: 10px 4px; border: 1px solid var(--ink); border-radius: 3px; background: var(--card); color: var(--ink); font: 700 0.95rem/1.2 var(--sans); cursor: pointer; }
.share-line { margin: 28px 0 0; color: var(--ink-2); }
.share-line .linkbtn { color: var(--green); font-weight: 700; }
.share-menu { position: fixed; left: 50%; bottom: calc(88px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 45; width: min(320px, calc(100vw - 32px)); background: var(--card); border: 1px solid var(--rule); border-radius: 6px; box-shadow: 0 18px 40px -18px rgba(25, 27, 24, .55); padding: 14px 16px 10px; }
.share-menu .share-title { margin: 0 28px 8px 0; font-weight: 700; }
.share-menu a, .share-menu .share-copy { display: block; width: 100%; text-align: left; padding: 10px 0; border: 0; border-top: 1px solid var(--rule); background: none; font: inherit; color: var(--ink); text-decoration: none; cursor: pointer; }
.share-menu .share-close { position: absolute; top: 6px; right: 8px; border: 0; background: none; font-size: 1.5rem; line-height: 1; color: var(--ink-3); cursor: pointer; }

/* Czat na każdej stronie (js/chat.js). Pod banerem cookies (z-index 40), nad paskiem na telefonie. */
.chat-bubble { position: fixed; right: 20px; bottom: 20px; z-index: 35; display: flex; align-items: center; gap: 8px; background: var(--green); color: #fff; border: 0; border-radius: 999px; padding: 12px 18px; font: 700 1rem var(--sans); cursor: pointer; box-shadow: 0 10px 28px -12px rgba(25, 27, 24, .6); }
.chat-bubble:hover { background: #155537; }
.chat-unread { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--copper); color: #fff; font: 700 0.75rem/20px var(--sans); text-align: center; }
.chat-panel { position: fixed; right: 20px; bottom: 84px; z-index: 45; width: min(380px, calc(100vw - 32px)); height: min(540px, calc(100vh - 120px)); display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--rule); border-radius: 10px; box-shadow: 0 22px 48px -20px rgba(25, 27, 24, .55); overflow: hidden; }
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; background: var(--green); color: #fff; }
.chat-close { background: none; border: 0; color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 0 4px; }
.chat-log { flex: 1; overflow-y: auto; list-style: none; margin: 0; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.chat-msg { max-width: 85%; padding: 9px 12px; border-radius: 12px; font-size: 0.95rem; line-height: 1.4; overflow-wrap: anywhere; }
.chat-in { align-self: flex-end; background: var(--green); color: #fff; border-bottom-right-radius: 3px; }
.chat-out { align-self: flex-start; background: var(--paper-2); color: var(--ink); border-bottom-left-radius: 3px; }
.chat-sys { align-self: center; max-width: 92%; background: none; color: var(--ink-3); font-size: 0.88rem; text-align: center; padding: 2px 6px; }
.chat-failed { opacity: .55; }
.chat-phone, .chat-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--rule); }
.chat-phone[hidden] { display: none; }
.chat-phone input, .chat-form textarea { flex: 1; min-width: 0; font: 400 1rem var(--sans); padding: 9px 10px; border: 1px solid #b9b5a8; border-radius: 6px; background: #fff; color: var(--ink); resize: none; }
.chat-phone button, .chat-form button { flex: 0 0 auto; border: 0; border-radius: 6px; padding: 0 14px; background: var(--ink); color: var(--paper); font: 700 0.9rem var(--sans); cursor: pointer; }
.chat-form button { background: var(--green); color: #fff; }
.chat-note { margin: 0; padding: 0 12px 8px; font-size: 0.75rem; }
.chat-note a { color: var(--ink-3); }
.chat-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 640px) {
  .chat-bubble { right: 16px; bottom: calc(82px + env(safe-area-inset-bottom)); padding: 13px; }
  .chat-bubble-label { display: none; }
  .chat-panel { inset: 0; width: auto; height: auto; border-radius: 0; border: 0; z-index: 50; }
  .chat-is-open body { overflow: hidden; }
}
@media print { .chat-bubble, .chat-panel { display: none !important; } }

/* Ustawienia zgody: pomiar reklam i reklamy dopasowane osobno (js/consent.js) */
.cookie-settings { flex: 1 1 100%; display: grid; gap: 10px; padding-top: 12px; border-top: 1px solid var(--rule); }
.cookie-settings[hidden] { display: none; }
.cookie-settings label { display: flex; gap: 10px; align-items: flex-start; font-size: 0.85rem; color: var(--ink-2); cursor: pointer; }
.cookie-settings input { margin-top: 3px; accent-color: var(--green); }
.cookie-settings b { color: var(--ink); }
.cookie-settings button { justify-self: start; font: 700 0.85rem var(--sans); padding: 7px 14px; border-radius: 3px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); cursor: pointer; }

/* ===== Zamówienie i prezentacja: /zamow/, /umow-prezentacje/, /order/, /book-a-demo/ (js/book.js) ===== */
.checkout { padding: 44px 0 88px; }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: start; max-width: 1080px; }
.checkout-eyebrow { font: 500 0.78rem var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--green); margin: 0 0 10px; }
.checkout h1 { font-size: clamp(2.2rem, 4.4vw, 3.2rem); letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 14px; }
.checkout-lead { font-size: 1.12rem; line-height: 1.55; color: var(--ink-2); max-width: 34em; margin: 0 0 26px; }
.checkout-chosen { display: none; }
.checkout-steps { list-style: none; display: flex; gap: 0; margin: 0 0 18px; padding: 0; counter-reset: none; }
.checkout-steps li { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; font-weight: 600; color: var(--ink-3); }
.checkout-steps li + li::before { content: ""; width: 28px; height: 1px; background: var(--rule); margin: 0 12px 0 10px; }
.checkout-steps span { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--rule); background: var(--card); font: 600 0.78rem var(--mono); color: var(--ink-3); }
.checkout-steps .is-active { color: var(--ink); }
.checkout-steps .is-active span { border-color: var(--green); background: var(--green); color: #fff; }
.checkout-steps .is-done span { border-color: var(--green); color: var(--green); }
.checkout-card { position: relative; background: #fff; border: 1px solid #e3e0d6; border-radius: 14px; padding: 30px; box-shadow: 0 1px 2px rgba(25, 27, 24, .04), 0 18px 40px -28px rgba(25, 27, 24, .35); }
.field { margin: 0 0 18px; }
.field label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--ink); margin: 0 0 7px; }
.field .optional { font-weight: 400; color: var(--ink-3); margin-left: 4px; }
.field input, .field select { width: 100%; height: 50px; font: 400 1.05rem var(--sans); color: var(--ink); background: #fff; border: 1px solid #cfcabd; border-radius: 9px; padding: 0 14px; transition: border-color .15s, box-shadow .15s; }
.field input::placeholder { color: #b3afa4; }
.field input:focus, .field select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px var(--green-tint); }
.phone-field { display: flex; gap: 8px; }
.phone-field select { width: auto; max-width: 10em; flex: 0 0 auto; padding: 0 10px; background: var(--paper); text-overflow: ellipsis; }
.phone-field input { flex: 1; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.field-error { display: none; margin: 7px 0 0; font-size: 0.85rem; color: var(--copper); }
.field.has-error input { border-color: var(--copper); }
.field.has-error .field-error { display: block; }
.checkout-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 54px; margin-top: 6px; border: 0; border-radius: 10px; background: var(--green); color: #fff; font: 700 1.05rem var(--sans); cursor: pointer; transition: background .15s, transform .05s; }
.checkout-btn:hover { background: #155537; }
.checkout-btn:active { transform: translateY(1px); }
.checkout-back { display: block; margin: 14px auto 0; background: none; border: 0; color: var(--ink-3); font: 500 0.9rem var(--sans); cursor: pointer; }
.checkout-back:hover { color: var(--ink); }
.checkout-done { text-align: center; padding: 18px 0 8px; }
.checkout-done svg { width: 56px; height: 56px; margin: 0 auto 14px; display: block; }
.checkout-done h2 { font-size: 1.7rem; margin: 0 0 8px; letter-spacing: -0.02em; outline: none; }
.checkout-done p { margin: 0; color: var(--ink-2); font-size: 1.05rem; }
.checkout-alt { margin: 20px 0 0; color: var(--ink-2); font-size: 0.95rem; }
.checkout-alt a { color: var(--ink); font-weight: 600; white-space: nowrap; }
/* Strona prezentacji (/umow-prezentacje/, /book-a-demo/): trzy zdania nad zapisem */
.demo-facts { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 16px; }
.demo-facts li { position: relative; padding-left: 34px; font-size: 1.02rem; line-height: 1.5; color: var(--ink-2); }
.demo-facts li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--green-tint); }
.demo-facts li::after { content: ""; position: absolute; left: 6px; top: 9px; width: 9px; height: 5px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.demo-facts b { color: var(--ink); }
a.checkout-btn { text-decoration: none; }
/* Zapis na prezentację (js/demo.js): telefon, dzień i godzina, potwierdzenie i dane nieobowiązkowe */
.checkout-main > .demo-facts { margin: 0 0 26px; }
/* „To spotkanie tylko z Tobą”: wyraźniej niż punkty pod spodem, w kolorach strony */
.demo-personal { margin: -6px 0 24px; padding: 16px 18px 16px 20px; background: var(--green-tint); border: 1px solid #c9ddcf; border-left: 4px solid var(--green); border-radius: 10px; font-size: 1rem; line-height: 1.5; color: var(--ink-2); max-width: 36em; }
.demo-personal b { display: block; margin: 0 0 4px; font-size: 1.18rem; line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); }
.demo-personal a { color: var(--ink); font-weight: 700; white-space: nowrap; }
.demo-picked .demo-keep { margin: 0 0 10px; font-size: 0.88rem; font-weight: 600; color: var(--green); }
.checkout-done a { color: var(--ink); font-weight: 600; white-space: nowrap; }
.demo-book [hidden] { display: none !important; }
.field-hint { margin: 7px 0 0; font-size: 0.85rem; color: var(--ink-3); }
/* Kraje bez SMS-ów (demo.js): e-mail albo WhatsApp zamiast SMS-a */
.demo-manual { margin: 0 0 18px; }
.demo-manual-note { margin: 0 0 14px; font-size: 0.92rem; line-height: 1.45; color: var(--ink-2); }
.demo-manual .field { margin-bottom: 12px; }
/* Turnstile: niewidoczny, dopóki nie poprosi o kliknięcie */
.demo-turnstile { max-width: 100%; overflow: hidden; }
.demo-turnstile.is-shown { margin: 4px 0 14px; }
.field.has-error .field-hint { display: none; }
.checkout-btn:disabled, .checkout-btn:disabled:hover { background: #5f8f75; cursor: progress; transform: none; }
.demo-h { font-size: 1.3rem; letter-spacing: -0.01em; margin: 0 0 4px; outline: none; }
.demo-tz { margin: 0 0 16px; font-size: 0.88rem; color: var(--ink-3); }
.demo-days { display: grid; grid-template-columns: repeat(auto-fill, minmax(68px, 1fr)); gap: 8px; margin: 0 0 18px; }
.demo-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.demo-day, .demo-time { font: inherit; color: var(--ink); background: #fff; border: 1px solid #cfcabd; border-radius: 9px; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: border-color .15s, background .15s, box-shadow .15s; }
.demo-day { display: grid; gap: 1px; justify-items: center; align-content: center; min-height: 52px; padding: 6px 2px; }
.demo-day span { font-size: 0.78rem; color: var(--ink-3); }
.demo-day b { font-size: 0.95rem; white-space: nowrap; }
.demo-time { height: 46px; padding: 0 4px; font-size: 1rem; font-weight: 600; white-space: nowrap; }
.demo-day:hover, .demo-time:hover { border-color: var(--green); }
.demo-day:focus-visible, .demo-time:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.demo-day[aria-pressed="true"] { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); background: var(--green-tint); }
.demo-day[aria-pressed="true"] span { color: var(--green); }
.demo-time[aria-pressed="true"] { border-color: var(--green); background: var(--green); color: #fff; }
.demo-msg { margin: 14px 0 0; font-size: 0.92rem; line-height: 1.45; color: var(--ink-2); }
.demo-msg.is-bad { color: var(--copper); }
.demo-msg a { color: var(--ink); font-weight: 600; white-space: nowrap; }
.demo-pick { margin: 20px 0 0; padding-top: 18px; border-top: 1px solid var(--rule); scroll-margin-bottom: 90px; }
.demo-picked p { margin: 0 0 4px; font-size: 0.95rem; color: var(--ink-2); }
.demo-picked b { color: var(--ink); }
/* Formularz pod godzinami (od 26.11): numer po wyborze godziny albo „Nie ma terminu, który Ci pasuje?” */
.demo-pick > .field { margin: 14px 0 16px; }
.demo-call-h { margin: 0 0 4px; font-size: 1.1rem; letter-spacing: -0.01em; outline: none; }
.demo-when-opt { margin: 0 0 14px; }
.demo-when-opt summary { padding: 4px 0; font-size: 0.9rem; font-weight: 600; color: var(--ink); cursor: pointer; }
.demo-when-opt summary .optional { font-weight: 400; color: var(--ink-3); margin-left: 4px; }
.demo-when-opt .demo-tz { margin: 6px 0 8px; }
.demo-contact-q { margin: 0 0 10px; font-size: 0.95rem; font-weight: 600; color: var(--ink); text-align: center; }
.checkout-done .demo-when { margin: 0 0 10px; font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.demo-cal { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 4px 0 16px; }
.checkout-done .demo-cal-btn { flex: 1 1 220px; display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 14px; border: 1px solid var(--green); border-radius: 9px; background: #fff; color: var(--green); font-size: 0.95rem; font-weight: 600; line-height: 1.25; text-decoration: none; white-space: normal; }
.checkout-done .demo-cal-btn:first-child { background: var(--green-tint); }
.checkout-done .demo-cal-btn:hover { border-color: #155537; color: #155537; }
.demo-when small { display: block; margin-top: 2px; font-size: 0.85rem; font-weight: 400; color: var(--ink-3); }
.demo-details { margin: 24px 0 0; padding-top: 22px; border-top: 1px solid var(--rule); }
.demo-details h3 { font-size: 1.1rem; margin: 0 0 4px; }
.demo-details h3 .optional { font-size: 0.85rem; font-weight: 400; color: var(--ink-3); margin-left: 6px; }
.demo-details > p { margin: 0 0 18px; font-size: 0.95rem; color: var(--ink-2); }
.demo-interests { min-width: 0; margin: 0 0 18px; padding: 0; border: 0; }
.demo-interests legend { padding: 0; margin: 0 0 8px; font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.demo-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.demo-check { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #fff; border: 1px solid #e3e0d6; border-radius: 9px; font-size: 0.92rem; line-height: 1.3; color: var(--ink); cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.demo-check:hover { border-color: #cfcabd; }
.demo-check:has(input:checked) { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.demo-check input { flex: 0 0 auto; width: 18px; height: 18px; margin: 0; accent-color: var(--green); cursor: pointer; }
/* „Nie ma terminu, który Ci pasuje?” i arkusz „Wyślij mi link”: zgoda, telefon / SMS i siatka dni × godzin jak w Doodle */
.demo-contact { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--rule); }
.demo-contact-open { display: block; width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--green); border-radius: 10px; background: #fff; color: var(--green); font: 600 1rem var(--sans); cursor: pointer; }
.demo-contact-open:hover { background: var(--green-tint); }
.demo-contact-open[aria-expanded="true"] { background: var(--green-tint); }
.demo-contact-form { margin-top: 16px; }
.demo-contact-form fieldset, .demo-callopts fieldset { min-width: 0; margin: 0 0 16px; padding: 0; border: 0; }
.demo-contact-form legend, .demo-callopts legend { padding: 0; margin: 0 0 8px; font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.demo-contact-form legend .optional { font-weight: 400; color: var(--ink-3); margin-left: 4px; }
.dgrid { margin: 0 -6px; overflow-x: auto; }
.dgrid table { width: 100%; min-width: 290px; table-layout: fixed; border-collapse: separate; border-spacing: 3px; }
.dgrid thead td, .dgrid tbody th { width: 46px; }
.dgrid th { padding: 0; font-weight: 600; }
.dgrid th button { display: block; width: 100%; min-height: 34px; padding: 2px; border: 0; border-radius: 6px; background: none; color: var(--ink-2); font: 600 0.8rem var(--sans); cursor: pointer; white-space: nowrap; }
.dgrid th button:hover { background: var(--green-tint); color: var(--green); }
.dgrid th button:focus-visible { outline: 2px solid var(--green); outline-offset: 1px; }
.dgrid td { padding: 0; }
.dgrid label { position: relative; display: block; height: 40px; }
.dgrid input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.dgrid label span { display: grid; place-items: center; height: 100%; border: 1px solid #cfcabd; border-radius: 8px; background: #fff; color: transparent; font: 800 1rem/1 var(--sans); pointer-events: none; }
.dgrid label span::after { content: "✓"; }
.dgrid input:checked + span { border-color: var(--green); background: var(--green); color: #fff; }
.dgrid input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.dgrid label:hover span { border-color: var(--green); }
.demo-consent { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 14px; font-size: 0.92rem; line-height: 1.4; color: var(--ink); cursor: pointer; }
.demo-consent input { flex: 0 0 auto; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--green); }
/* Krótka uwaga w języku przeglądarki (np. ukraiński na polskiej stronie) */
@media (prefers-reduced-motion: reduce) { .demo-contact-open, .dgrid th button { transition: none; } }
.demo-thanks { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--rule); text-align: center; font-size: 1.05rem; font-weight: 600; color: var(--green); outline: none; }
@media (prefers-reduced-motion: reduce) {
  .demo-day, .demo-time, .demo-check, .checkout-btn { transition: none; }
  .checkout-btn:active { transform: none; }
}
.checkout-legal { margin: 6px 0 0; font-size: 0.8rem; }
.checkout-legal a { color: var(--ink-3); }
.checkout-summary { position: sticky; top: 96px; background: var(--card); border: 1px solid var(--rule); border-radius: 14px; padding: 26px; }
.checkout-summary h2 { font-size: 1.05rem; margin: 0 0 16px; letter-spacing: 0; }
.plan-switch { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, .7fr) minmax(0, 1.45fr); gap: 4px; padding: 4px; background: var(--paper-2); border-radius: 10px; margin: 0 0 20px; }
.plan-switch label { position: relative; cursor: pointer; }
.plan-switch input { position: absolute; opacity: 0; pointer-events: none; }
.plan-switch span { display: block; text-align: center; padding: 9px 2px; border-radius: 7px; font-size: 0.84rem; font-weight: 600; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plan-switch input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(25, 27, 24, .16); }
.plan-switch input:focus-visible + span { outline: 2px solid var(--green); }
.summary-price { margin: 0; font-size: 0.95rem; color: var(--ink-2); }
.summary-price b { font-size: 2.1rem; letter-spacing: -0.02em; color: var(--ink); margin-right: 4px; }
.summary-sub { margin: 2px 0 16px; font-size: 0.85rem; color: var(--ink-3); }
.summary-price s { margin-right: 8px; color: var(--ink-3); }
.coupon { margin: 0 0 20px; padding: 16px 0 0; border-top: 1px solid var(--rule); }
.coupon label { display: block; margin: 0 0 8px; font-size: 0.95rem; font-weight: 700; color: var(--ink); }
.coupon-row { display: flex; gap: 8px; }
.coupon-row input { flex: 1; min-width: 0; height: 44px; padding: 0 12px; font: 500 1rem var(--mono); text-transform: uppercase; color: var(--ink); background: #fff; border: 1px solid #cfcabd; border-radius: 9px; transition: border-color .15s, box-shadow .15s; }
.coupon-row input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px var(--green-tint); }
.coupon-row button { height: 44px; padding: 0 16px; border: 1px solid var(--ink); border-radius: 9px; background: #fff; color: var(--ink); font: 600 0.92rem var(--sans); cursor: pointer; }
.coupon-row button:hover { background: var(--ink); color: #fff; }
.coupon-msg { margin: 8px 0 0; font-size: 0.85rem; line-height: 1.4; color: var(--ink-2); }
.coupon-msg:empty { display: none; }
.coupon-msg.is-ok { color: var(--green); font-weight: 600; }
.coupon-msg.is-bad { color: var(--copper); }
.summary-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 8px; }
.summary-list li { position: relative; padding-left: 24px; font-size: 0.92rem; line-height: 1.4; color: var(--ink-2); }
.summary-list li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 11px; height: 6px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.addons { min-width: 0; margin: 0 0 20px; padding: 16px 0 0; border: 0; border-top: 1px solid var(--rule); }
.addons legend { float: left; width: 100%; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 0 0 2px; padding: 0; font-size: 0.95rem; font-weight: 700; color: var(--ink); }
.addons legend span { font-size: 0.8rem; font-weight: 400; color: var(--ink-3); }
.addon { clear: both; display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 10px; align-items: start; margin-top: 8px; padding: 11px 12px; background: #fff; border: 1px solid #e3e0d6; border-radius: 10px; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.addon:hover { border-color: #cfcabd; }
.addon:has(input:checked) { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.addon input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--green); cursor: pointer; }
.addon-text b { display: block; font-size: 0.9rem; line-height: 1.3; color: var(--ink); }
.addon-text small { display: block; margin-top: 3px; font-size: 0.8rem; line-height: 1.35; color: var(--ink-3); }
.addon-price { text-align: right; white-space: nowrap; font-size: 0.9rem; font-weight: 700; color: var(--ink); }
.addon-price s { margin-right: 2px; font-weight: 400; color: var(--ink-3); }
.addon-price small { display: block; margin-top: 3px; font-size: 0.78rem; font-weight: 400; color: var(--ink-3); }
/* Dodatki z liczbą (js/book.js): kolejne wagi 0–50, kalendarz dla 1–50 fryzjerów */
.addon.addon-qty { grid-template-columns: minmax(0, 1fr) auto; cursor: default; }
.addon.addon-qty.is-on { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.addon-qty .qty { grid-column: 1 / -1; justify-self: start; }
.addon .qty-num { width: 56px; height: auto; margin: 0; accent-color: auto; cursor: text; }
.qty { display: inline-flex; align-items: stretch; margin-top: 2px; border: 1px solid #cfcabd; border-radius: 9px; background: #fff; overflow: hidden; }
.qty-btn { width: 44px; min-height: 40px; border: 0; background: var(--paper); color: var(--ink); font: 600 1.2rem/1 var(--sans); cursor: pointer; }
.qty-btn:hover:not(:disabled) { background: var(--green-tint); color: var(--green); }
.qty-btn:disabled { color: #b3afa4; cursor: default; }
.qty-btn:focus-visible { outline: 2px solid var(--green); outline-offset: -2px; }
.qty-num { width: 56px; border: 0; border-left: 1px solid #e3e0d6; border-right: 1px solid #e3e0d6; text-align: center; font: 600 1rem var(--sans); color: var(--ink); background: #fff; -moz-appearance: textfield; appearance: textfield; }
.qty-num::-webkit-inner-spin-button, .qty-num::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty-num:focus { outline: none; box-shadow: inset 0 0 0 2px var(--green); }
.addon-count { clear: both; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; padding: 10px 12px; background: var(--green-tint); border-radius: 10px; }
.addon-count[hidden] { display: none; }
.addon-count label { font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.addon-count .qty { margin-top: 0; }
@media (prefers-reduced-motion: reduce) { .qty-btn { transition: none; } }
.summary-terms { margin: 0; padding: 16px 0 0; border-top: 1px solid var(--rule); display: grid; gap: 10px; }
.summary-terms div { display: flex; justify-content: space-between; gap: 14px; font-size: 0.88rem; }
.summary-terms dt { color: var(--ink-3); }
.summary-terms dd { margin: 0; text-align: right; color: var(--ink); font-weight: 600; }
.summary-terms s { color: var(--ink-3); font-weight: 400; margin-right: 6px; }
.summary-trust { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--rule); font-size: 0.85rem; color: var(--ink-3); }
@media (max-width: 900px) {
  .checkout-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .checkout-summary { position: static; }
  .checkout-chosen { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 18px; padding: 12px 14px; background: var(--card); border: 1px solid var(--rule); border-radius: 10px; font-size: 0.92rem; }
  .checkout-chosen[hidden] { display: none; }
  .checkout-chosen a { color: var(--green); font-weight: 600; white-space: nowrap; }
}
@media (max-width: 640px) {
  .checkout { padding: 28px 0 56px; }
  .checkout-card { padding: 22px 18px; border-radius: 12px; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .checkout-steps li + li::before { width: 14px; margin: 0 8px; }
}
@media (max-width: 380px) {
  .checkout-steps { flex-wrap: wrap; row-gap: 8px; }
  .checkout-steps li { gap: 6px; font-size: 0.82rem; }
  .checkout-steps li + li::before { width: 8px; margin: 0 6px; }
}

/* „Your data stays yours” (tylko strony angielskie) */
.data-card ul { list-style: none; margin: 0; padding: 0; background: var(--card); border: 1px solid var(--rule); border-radius: 12px; }
.data-card li { display: grid; gap: 3px; padding: 16px 20px 16px 52px; position: relative; border-top: 1px solid var(--rule); }
.data-card li:first-child { border-top: 0; }
.data-card li::before { content: ""; position: absolute; left: 20px; top: 19px; width: 18px; height: 18px; border-radius: 50%; background: var(--green-tint); }
.data-card li::after { content: ""; position: absolute; left: 25px; top: 24px; width: 8px; height: 4px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.data-card b { font-size: 1rem; color: var(--ink); }
.data-card span { font-size: 0.92rem; color: var(--ink-2); }

/* Czat: prośba o numer po pierwszej wiadomości (js/chat.js) */
.chat-ask { padding: 16px 16px 12px; border-top: 1px solid var(--rule); background: var(--green-tint); }
.chat-ask[hidden] { display: none; }
.chat-ask-title { margin: 0 0 4px; font-weight: 700; font-size: 1rem; color: var(--ink); }
.chat-ask-text { margin: 0 0 12px; font-size: 0.9rem; line-height: 1.45; color: var(--ink-2); }
.chat-ask .chat-phone { padding: 0; border: 0; }
.chat-ask .chat-phone input { border-color: var(--green-2); }
.chat-ask .chat-phone button { background: var(--green); color: #fff; padding: 0 18px; }
.chat-ask-error { margin: 8px 0 0; font-size: 0.85rem; color: var(--copper); }
.chat-ask-error[hidden] { display: none; }
.chat-later { display: block; margin: 10px auto 0; background: none; border: 0; font: 600 0.88rem var(--sans); color: var(--ink-3); cursor: pointer; }
.chat-later:hover { color: var(--ink); }
.chat-form[hidden] { display: none; }
.chat-chip { border: 1px solid var(--green-2); background: #fff; color: var(--green); border-radius: 999px; padding: 6px 14px; font: 600 0.85rem var(--sans); cursor: pointer; }
.chat-chip:hover { background: var(--green-tint); }

/* Czat: podpowiedź na telefonie, gdy czat otwiera się sam (js/chat.js) */
.chat-hint { position: fixed; right: 16px; bottom: calc(146px + env(safe-area-inset-bottom)); z-index: 36; display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 32px); padding: 10px 12px 10px 16px; border: 1px solid var(--rule); border-radius: 14px 14px 4px 14px; background: var(--card); color: var(--ink); font: 600 0.95rem var(--sans); box-shadow: 0 12px 28px -14px rgba(25, 27, 24, .5); cursor: pointer; }
.chat-hint[hidden] { display: none; }
.chat-hint-x { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: var(--ink-3); font-size: 1.1rem; }
.chat-hint-x:hover { background: var(--paper-2); color: var(--ink); }

/* Pasek „strona dla Twojego kraju” nad menu (js/region.js): tylko dla odwiedzających z innego kraju */
.region-bar { background: var(--green-tint); border-bottom: 1px solid var(--rule); color: var(--ink); font-size: 0.95rem; line-height: 1.45; }
.region-in { display: flex; align-items: flex-start; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.region-body { flex: 1 1 auto; min-width: 0; }
.region-body p { margin: 0 0 8px; }
.region-body p:last-child { margin-bottom: 0; }
.region-sites { display: flex; flex-wrap: wrap; gap: 8px; }
.region-chip { display: inline-block; padding: 6px 12px; border: 1px solid var(--ink); border-radius: 3px; background: var(--card); color: var(--ink); font: 700 0.9rem/1.3 var(--sans); text-decoration: none; cursor: pointer; }
.region-chip:hover { background: var(--ink); color: var(--paper); }
.region-chip.is-main { background: var(--green); border-color: var(--green); color: #fff; }
.region-chip.is-main:hover { background: #155537; }
.region-demo { color: var(--green); font-weight: 700; }
.region-lead a { color: var(--green); }
.region-note { color: var(--ink-2); font-size: 0.88rem; }
.region-close { flex: none; width: 32px; height: 32px; margin: -4px -6px 0 0; border: 0; border-radius: 50%; background: none; color: var(--ink-2); font: 400 1.5rem/1 var(--sans); cursor: pointer; }
.region-close:hover { background: var(--paper-2); color: var(--ink); }
/* Przypomnienie pod przyklejonym menu, gdy pasek zniknie przy przewijaniu: leży na stronie, nic nie przesuwa */
.region-mini { position: absolute; left: 0; right: 0; top: 100%; background: var(--green-tint); border-bottom: 1px solid var(--rule); box-shadow: 0 10px 18px -16px rgba(25, 27, 24, .5); color: var(--ink); font-size: 0.9rem; line-height: 1.35; }
.region-mini[hidden] { display: none; }
.top .region-mini-in { display: flex; align-items: center; gap: 10px; min-height: 0; flex-wrap: nowrap; padding-top: 6px; padding-bottom: 6px; }
.region-mini-text { flex: 1 1 auto; min-width: 0; margin: 0; }
.region-mini-text a { color: var(--green); }
.region-mini-up { background: none; border: 0; padding: 0; color: var(--ink); font: 700 0.9rem/1.35 var(--sans); text-align: left; cursor: pointer; }
.region-mini .region-close { width: 28px; height: 28px; margin: 0 -6px 0 0; font-size: 1.3rem; }
@media print { .region-mini { display: none !important; } }
@media (max-width: 640px) {
  .region-bar { font-size: 0.88rem; line-height: 1.4; }
  .region-in { padding-top: 10px; padding-bottom: 10px; }
  .region-body p { margin-bottom: 6px; }
  .region-sites { gap: 6px; }
  .region-chip { padding: 5px 8px; font-size: 0.82rem; }
  .region-note { font-size: 0.8rem; }
  .region-mini, .region-mini-up { font-size: 0.84rem; }
}
@media print { .region-bar { display: none !important; } }

/* Polish menu has 7 links (with „Strona główna” and „Magazyn”): between phone and wide screens it gets its own row
   under the logo and buttons, instead of pushing „Umów prezentację” onto a second line. */
@media (min-width: 641px) and (max-width: 1240px) {
  html[lang="pl"] .nav { order: 3; width: 100%; margin-left: 0; gap: 6px 22px; padding-bottom: 14px; }
  html[lang="pl"] .top .cta-sms { margin-left: auto; }
}
/* The English menu has 7 links too (with "Home" and "Stock"/"Inventory"); its words are shorter, so it needs its own row
   only below about 1120px (up to 1040px for the menu itself, up to 1120px so "Text me the link" keeps its full label). */
@media (min-width: 641px) and (max-width: 1120px) {
  html[lang^="en"] .nav { order: 3; width: 100%; margin-left: 0; gap: 6px 22px; padding-bottom: 14px; }
  html[lang^="en"] .top .cta-sms { margin-left: auto; }
}

/* Crossed-out regular price next to the code price (Salon Manager with code 2026). */
.plan .price s { font-size: 0.55em; font-weight: 500; letter-spacing: 0; color: var(--ink-3); margin-right: 6px; }
.plan .gross s { color: var(--ink-3); margin-right: 4px; }
.fpage s { color: var(--ink-3); }

/* A table of words, not numbers (e.g. „Zwykła waga a waga z Color Lab”): left-aligned, normal font. */
.data.words th, .data.words td { text-align: left; font-family: inherit; font-variant-numeric: normal; font-feature-settings: normal; letter-spacing: normal; }
@media (max-width: 640px) { .data.words th, .data.words td { white-space: normal; vertical-align: top; } }

/* „Wyślij mi stronę SMS-em” / "Text me the link" (js/textlink.js): a small outlined button in the top bar on a computer
   (Polish: short „Wyślij mi link” where the menu shares the row, from 1241px; the Polish top bar has no „Zamów” since
   18.11, it is under the plans), the first button of the phone bar, and the sheet it opens (from the bottom on a phone,
   in the middle on a computer). Never a bare „SMS” / "Text" (owner: nobody would guess what it means). */
.sms-ico { flex: 0 0 auto; display: block; }
/* Same height as „Umów prezentację” / „Zamów” next to it (.top .cta: 0.95rem, line-height 1.6, 9px top and bottom; here 8px + 1px border). */
.top .cta-sms { display: inline-flex; align-items: center; gap: 6px; margin-right: -18px; padding: 8px 11px; border: 1px solid var(--green); border-radius: 3px; background: var(--card); color: var(--green); font: 700 0.95rem/1.6 var(--sans); white-space: nowrap; cursor: pointer; }
.top .cta-sms:hover { background: var(--green-tint); }
.cta-sms-short { display: none; }
@media (min-width: 1241px) {
  /* The Polish menu is long: a little less space between its links so „Wyślij mi link” fits on the same row. */
  html[lang="pl"] .nav { gap: 16px; }
  html[lang="pl"] .top .cta-sms { margin-left: -10px; padding: 8px 9px; }
  html[lang="pl"] .cta-sms-long { display: none; }
  html[lang="pl"] .cta-sms-short { display: inline; }
}
/* Ukrainian and Russian pages (/uk/, /ru/): the short label wherever the button shows, the menu a little tighter
   from 1001px, so the top bar keeps the Polish page's rows. */
@media (min-width: 641px) {
  html[lang="uk"] .cta-sms-long, html[lang="ru"] .cta-sms-long { display: none; }
  html[lang="uk"] .cta-sms-short, html[lang="ru"] .cta-sms-short { display: inline; }
}
/* Like the English menu: its own row below 1121px. */
@media (min-width: 641px) and (max-width: 1120px) {
  html[lang="uk"] .nav, html[lang="ru"] .nav { order: 3; width: 100%; margin-left: 0; gap: 6px 22px; padding-bottom: 14px; }
  html[lang="uk"] .top .cta-sms, html[lang="ru"] .top .cta-sms { margin-left: auto; }
}
@media (min-width: 1121px) {
  html[lang="uk"] .nav, html[lang="ru"] .nav { gap: 16px; }
  html[lang="uk"] .top .cta-sms, html[lang="ru"] .top .cta-sms { margin-left: -10px; padding: 8px 9px; }
}
@media (max-width: 640px) {
  .top .cta-sms { display: none; }
  .mbar { gap: 6px; }
  .mbar a, .mbar .mbar-share { min-width: auto; }
  .mbar .mbar-sms { flex: 1 1 0; min-width: 0; display: flex; align-items: center; justify-content: center; padding: 10px 4px; border: 1px solid var(--green); border-radius: 3px; background: var(--card); color: var(--green); font: 700 0.95rem/1.2 var(--sans); text-align: center; cursor: pointer; }
  html.tl-open { overflow: hidden; }
}
@media (max-width: 374px) {
  .mbar { padding-left: 10px; padding-right: 10px; }
  .mbar a, .mbar .mbar-share, .mbar .mbar-sms { font-size: 0.85rem; padding-left: 3px; padding-right: 3px; }
}
.tl-sheet { width: min(480px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); margin: auto; padding: 0; overflow-y: auto; overscroll-behavior: contain; border: 1px solid var(--rule); border-radius: 10px; background: var(--card); color: var(--ink); box-shadow: 0 24px 60px -20px rgba(25, 27, 24, .55); }
.tl-sheet:not([open]) { display: none; }
.tl-sheet::backdrop { background: rgba(25, 27, 24, .45); }
.tl-sheet [hidden] { display: none !important; }
.tl-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px 20px 6px; background: var(--card); }
.tl-head h2 { margin: 0; font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.01em; }
.tl-x { flex: 0 0 auto; width: 40px; height: 40px; margin: -8px -10px 0 0; border: 0; border-radius: 6px; background: none; color: var(--ink-3); font: 400 1.7rem/1 var(--sans); cursor: pointer; }
.tl-x:hover { background: var(--paper); color: var(--ink); }
.tl-form, .tl-after { padding: 0 20px 20px; }
.tl-lead { margin: 0 0 16px; color: var(--ink-2); font-size: 0.95rem; line-height: 1.45; }
.tl-ok { margin: 6px 0 18px; padding: 12px 14px; border-radius: 9px; background: var(--green-tint); color: var(--green); font-weight: 700; outline: none; }
.tl-ask { margin: 4px 0 0; font-size: 1.05rem; line-height: 1.3; }
.tl-after .demo-contact-form { margin-top: 12px; }
.tl-after .demo-checks { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.tl-after .demo-thanks { margin-top: 6px; }
.tl-inline { margin-top: 12px; color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 0.18em; }
.tl-inline:hover { color: #155537; }
@media (max-width: 640px) {
  .tl-sheet { width: 100%; max-width: 100%; max-height: calc(100dvh - 24px); margin: auto 0 0; border-width: 1px 0 0; border-radius: 14px 14px 0 0; }
  .tl-head { padding: 16px 16px 6px; }
  .tl-form, .tl-after { padding: 0 16px calc(18px + env(safe-area-inset-bottom)); }
}
@media print { .cta-sms, .mbar-sms, .tl-sheet { display: none !important; } }
/* Przełącznik języka colorlab.pl w menu: PL · УКР · РУС (od 26.11, strona-en/i18n.py). Nie może zabrać miejsca
   w menu, które ledwo się mieści: gdy menu ma własny wiersz, stoi na jego końcu; gdy całe menu jest w jednym
   wierszu z przyciskami, mały w prawym górnym rogu nad nimi; na telefonie obok logo. */
.top .wrap { position: relative; }
.nav .lang-switch { display: inline-flex; align-items: center; gap: 1px; white-space: nowrap; line-height: 1; }
.nav .lang-switch a { padding: 3px 5px; border-radius: 3px; font: 600 0.75rem/1.2 var(--sans); letter-spacing: 0.03em; color: var(--ink-3); text-decoration: none; }
.nav .lang-switch a:hover { color: var(--ink); background: var(--green-tint); text-decoration: none; }
.nav .lang-switch a[aria-current="true"] { color: var(--ink); text-decoration: underline; text-underline-offset: 0.2em; }
@media (min-width: 641px) and (max-width: 1240px) {
  .nav .lang-switch { margin-left: auto; }
}
/* Narrow tablets: no room in the menu row; the language bar (js/region.js) still offers the page. */
@media (min-width: 641px) and (max-width: 900px) {
  .nav .lang-switch { display: none; }
}
@media (min-width: 1241px) {
  .nav .lang-switch { position: absolute; top: 1px; right: var(--gutter); }
  .nav .lang-switch a { padding: 2px 4px; font-size: 0.68rem; }
}
@media (min-width: 1121px) and (max-width: 1240px) {
  html[lang="uk"] .nav .lang-switch, html[lang="ru"] .nav .lang-switch { position: absolute; top: 1px; right: var(--gutter); margin-left: 0; }
  html[lang="uk"] .nav .lang-switch a, html[lang="ru"] .nav .lang-switch a { padding: 2px 4px; font-size: 0.68rem; }
}
@media (max-width: 640px) {
  .nav .lang-switch { position: absolute; top: 20px; right: var(--gutter); }
}
/* Pod pionowymi filmami (js/klipy.js, od 26.11): w języku odwiedzającego, że na filmie jest wersja angielska,
   a aplikacja działa też w jego języku. Wyraźnie, tuż pod filmem, tej samej szerokości co film. */
.vid-lang { margin: 8px 0 0; padding: 8px 12px; border-radius: 6px; background: var(--ink); color: #fff; font: 600 0.88rem/1.35 var(--sans); }
.clip .vid-lang { max-width: 300px; }
/* WhatsApp (od 27.11): na stronie prezentacji pod „Zostaw numer, oddzwonimy”, na dolnym pasku zamiast „Wyślij mi link”. */
.demo-wa { display: block; width: 100%; min-height: 46px; margin-top: 8px; padding: 10px 14px; border: 1px solid var(--green); border-radius: 10px; background: #fff; color: var(--green); font: 600 1rem/1.5 var(--sans); text-align: center; text-decoration: none; }
.demo-wa:hover { background: var(--green-tint); }
.mbar .mbar-wa { border: 1px solid var(--green); color: var(--green); background: var(--card); }
/* Dodatek w cenie planu (js/book.js, data-included-in): skaner w Salon Managerze, od 27.11. */
.addon-incl { display: none; }
.addon.is-included { cursor: default; }
.addon.is-included .addon-price { display: none; }
.addon.is-included .addon-incl { display: block; margin-left: auto; font-weight: 700; color: var(--green); white-space: nowrap; }
