/* =========================================================
   dev-crm.pl – strona produktu
   Identyfikacja: "ink & paper" – ciemna zieleń nocy, kremowy papier,
   Bricolage Grotesque (nagłówki), Instrument Sans (tekst), JetBrains Mono (etykiety)
   ========================================================= */

/* ---------- Fonty (self-hosted, OFL) ---------- */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/instrument-sans-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/instrument-sans-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/instrument-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/instrument-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* ---------- Tokeny ---------- */
:root {
  --paper: #f4f1ea;
  --paper-2: #faf8f2;
  --white: #fffdf8;
  --ink: #121612;
  --ink-2: #3d423c;
  --ink-3: #6f746d;
  --line: rgba(18, 22, 18, 0.14);
  --line-soft: rgba(18, 22, 18, 0.08);

  --night: #0b1710;
  --night-2: #122319;
  --night-3: #1a3023;
  --night-line: rgba(255, 255, 255, 0.1);
  --night-text: #edf2ec;
  --night-muted: #9db1a3;

  --green: #16a749;
  --green-bright: #2fd36b;
  --green-deep: #0d7a37;
  --green-soft: #dcefe1;
  --green-glow: rgba(47, 211, 107, 0.32);

  --font-display: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --r: 6px;
  --r-lg: 12px;
  --container: 1200px;
  --topbar-h: 64px;
  --shadow-hard: 10px 10px 0 var(--green-soft);
}

/* ---------- Baza ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media (min-width: 1024px) { body { font-size: 17px; } }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -100px; left: 1rem; z-index: 100; padding: 0.5rem 1rem; border-radius: var(--r); background: var(--green-bright); color: var(--ink); font-weight: 600; }
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 640px) { .container { padding-inline: 2rem; } }
@media (min-width: 1280px) { .container { padding-inline: 2.5rem; } }

h1, h2, h3, .display { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; text-wrap: balance; }
.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.accent { color: var(--green-bright); }
.muted { color: var(--ink-3); }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  height: 44px; padding: 0 1.125rem; border-radius: var(--r); border: 1px solid transparent;
  font-family: var(--font-body); font-size: 15px; font-weight: 600; white-space: nowrap; line-height: 1;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.1s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn .arrow { transition: transform 0.15s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn:hover .arrow-up { transform: translate(2px, -2px); }
.btn:hover .arrow-down { transform: translateY(3px); }
.btn-green { background: var(--green-bright); color: var(--ink); }
.btn-green:hover { background: #5de48f; }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: #2a302a; }
.btn-ghost { border-color: var(--night-line); color: var(--night-text); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.25); }
.btn-outline { border-color: var(--line); color: var(--ink); }
.btn-outline:hover { background: var(--white); }
.btn-lg { height: 52px; padding: 0 1.5rem; font-size: 16px; }

.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--r); transition: background-color 0.15s; }
.icon-btn svg { width: 18px; height: 18px; }

/* ---------- Pasek górny ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: var(--night); color: var(--night-text);
  border-bottom: 1px solid var(--night-line);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--topbar-h); }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 24px; width: auto; }
.nav { display: none; align-items: center; gap: 1.5rem; }
@media (min-width: 1100px) { .nav { display: flex; } }
.nav a { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--night-muted); padding: 0.5rem 0; position: relative; transition: color 0.15s; }
.nav a .n { color: var(--green-bright); margin-right: 0.4em; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--green-bright); transform: scaleX(0); transform-origin: left; transition: transform 0.2s; }
.nav a:hover, .nav a.is-active { color: var(--night-text); }
.nav a.is-active::after { transform: scaleX(1); }
.topbar-actions { display: flex; align-items: center; gap: 0.5rem; }
.topbar-cta { display: none; }
@media (min-width: 640px) { .topbar-cta { display: inline-flex; height: 40px; } }
.menu-btn { color: var(--night-text); }
.menu-btn:hover { background: rgba(255, 255, 255, 0.08); }
@media (min-width: 1100px) { .menu-btn { display: none; } }
.icon-close { display: none; }
.menu-btn[aria-expanded="true"] .icon-menu { display: none; }
.menu-btn[aria-expanded="true"] .icon-close { display: block; }
.mobile-nav { display: none; border-top: 1px solid var(--night-line); background: var(--night); }
.mobile-nav.is-open { display: block; }
@media (min-width: 1100px) { .mobile-nav { display: none !important; } }
.mobile-nav ul { padding: 0.75rem 0 1rem; }
.mobile-nav li + li { border-top: 1px solid var(--night-line); }
.mobile-nav a { display: flex; align-items: baseline; gap: 0.75rem; padding: 0.875rem 0; font-family: var(--font-display); font-size: 1.125rem; font-weight: 500; color: var(--night-text); }
.mobile-nav a .n { font-family: var(--font-mono); font-size: 12px; color: var(--green-bright); }
.mobile-nav .btn { margin-top: 1rem; width: 100%; }
.mobile-nav li.cta { border: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--night); color: var(--night-text); padding-top: 4rem; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
@media (min-width: 1024px) { .hero { padding-top: 6rem; } }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--night-line) 1px, transparent 1px), linear-gradient(90deg, var(--night-line) 1px, transparent 1px);
  background-size: 72px 72px; background-position: center top;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 0%, #000 20%, transparent 100%);
  mask-image: radial-gradient(80% 70% at 50% 0%, #000 20%, transparent 100%);
}
.hero-glow { position: absolute; left: 50%; top: -10%; width: 60vw; max-width: 900px; height: 60vw; max-height: 700px; transform: translateX(-50%); pointer-events: none; background: radial-gradient(closest-side, var(--green-glow), transparent 70%); opacity: 0.6; }
.hero .container { position: relative; }
.hero-copy { max-width: 56rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 0.75rem; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-bright); }
.eyebrow::before { content: ""; width: 1.5rem; height: 1px; background: currentColor; }
.hero h1 { margin-top: 1.5rem; font-size: clamp(2.75rem, 7.2vw, 5.75rem); font-weight: 700; letter-spacing: -0.035em; line-height: 0.96; color: #fff; }
.hero .lead { margin-top: 1.75rem; max-width: 52ch; font-size: 1.125rem; line-height: 1.6; color: var(--night-muted); }
@media (min-width: 1024px) { .hero .lead { font-size: 1.25rem; } }
.hero-actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-facts { margin-top: 3rem; display: grid; gap: 0; border-top: 1px solid var(--night-line); }
@media (min-width: 640px) { .hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .hero-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.hero-facts li { padding: 1rem 0; border-bottom: 1px solid var(--night-line); font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.02em; color: var(--night-muted); display: flex; gap: 0.75rem; align-items: baseline; }
.hero-facts li::before { content: "■"; font-size: 8px; color: var(--green-bright); }
.hero-facts strong { color: var(--night-text); font-weight: 500; }
@media (min-width: 640px) { .hero-facts li { padding-right: 1.5rem; } }

.hero-window { position: relative; z-index: 2; margin-top: 3.5rem; margin-bottom: -4rem; }
@media (min-width: 1024px) { .hero-window { margin-top: 4.5rem; margin-bottom: -7rem; } }
.hero-window .win { box-shadow: 0 40px 100px -30px var(--green-glow), 0 30px 60px -30px rgba(0, 0, 0, 0.6); }

/* ---------- Okna ze zrzutami ---------- */
.win { overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--night-line); background: var(--night-2); }
.win-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.5rem 0.875rem; border-bottom: 1px solid var(--night-line); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; color: var(--night-muted); }
.win-bar .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green-bright); margin-right: 0.5rem; vertical-align: middle; }
.win-light { background: var(--white); border-color: var(--line); box-shadow: var(--shadow-hard); }
.win-light .win-bar { border-color: var(--line); color: var(--ink-3); background: var(--paper-2); }

.shot { position: relative; display: block; width: 100%; overflow: hidden; background: var(--night-2); text-align: left; }
.win-light .shot, .shot.framed { background: var(--paper-2); }
.shot.framed { border-radius: var(--r-lg); border: 1px solid var(--line); }
.shot img { width: 100%; height: auto; }
.shot .zoom {
  position: absolute; right: 0.625rem; bottom: 0.625rem;
  display: inline-flex; align-items: center; gap: 0.4rem; height: 28px; padding: 0 0.6rem;
  border-radius: 4px; background: var(--ink); color: #fff;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em;
  opacity: 0; transform: translateY(4px); transition: opacity 0.15s, transform 0.15s;
}
.shot .zoom svg { width: 13px; height: 13px; }
.shot:hover .zoom, .shot:focus-visible .zoom { opacity: 1; transform: none; }

/* ---------- Sekcje ---------- */
.sec { padding: 5rem 0; border-top: 1px solid var(--line); scroll-margin-top: var(--topbar-h); }
@media (min-width: 1024px) { .sec { padding: 7rem 0; } }
.sec-light { background: var(--paper-2); }
.sec-head { max-width: 44rem; }
.sec-index { display: flex; align-items: center; gap: 1rem; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-deep); }
.sec-index .rule { flex: 0 0 2.5rem; height: 1px; background: var(--green-deep); opacity: 0.5; }
.sec-head h2 { margin-top: 1.25rem; font-size: clamp(1.9rem, 3.6vw, 2.75rem); line-height: 1.06; letter-spacing: -0.025em; }
.sec-head p { margin-top: 1.125rem; font-size: 1.0625rem; line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
@media (min-width: 1024px) { .sec-head p { font-size: 1.125rem; } }

/* ---------- Proces ---------- */
#proces { padding-top: calc(4rem + 4rem); }
@media (min-width: 1024px) { #proces { padding-top: calc(7rem + 6rem); } }
.pipeline { margin-top: 3.5rem; display: grid; gap: 0; counter-reset: step; }
@media (min-width: 768px) { .pipeline { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.pipe-step { position: relative; padding: 1.5rem 0 1.5rem 3.75rem; border-top: 1px solid var(--line); }
@media (min-width: 768px) { .pipe-step { padding: 2rem 1.5rem 0 0; border-top: 0; } }
.pipe-num {
  position: absolute; left: 0; top: 1.5rem;
  display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem;
  border-radius: var(--r); background: var(--ink); color: var(--green-bright);
  font-family: var(--font-mono); font-size: 13px; font-weight: 500;
}
@media (min-width: 768px) {
  .pipe-num { position: static; }
  .pipe-step::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
  .pipe-step::after { content: ""; position: absolute; left: 0; top: -3px; width: 7px; height: 7px; background: var(--ink); border-radius: 50%; }
}
.pipe-step h3 { margin-top: 1.25rem; font-size: 1.375rem; letter-spacing: -0.02em; }
@media (max-width: 767px) { .pipe-step h3 { margin-top: 0; } }
.pipe-step p { margin-top: 0.5rem; font-size: 0.9375rem; line-height: 1.5; color: var(--ink-2); max-width: 24ch; }
.pipe-step .via { display: block; margin-top: 0.75rem; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.04em; color: var(--green-deep); }

/* ---------- Układy dwukolumnowe ---------- */
.feat { display: grid; align-items: center; gap: 3rem; }
@media (min-width: 1024px) { .feat { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4rem; } .c5 { grid-column: span 5; } .c7 { grid-column: span 7; } .c4 { grid-column: span 4; } .c8 { grid-column: span 8; } .lg-first { order: -1; } }

.list-num { margin-top: 2rem; }
.list-num li { display: grid; grid-template-columns: 2.5rem 1fr; gap: 0.75rem; padding: 0.9rem 0; border-top: 1px solid var(--line-soft); font-size: 0.9875rem; line-height: 1.55; color: var(--ink-2); }
.list-num li:last-child { border-bottom: 1px solid var(--line-soft); }
.list-num .n { font-family: var(--font-mono); font-size: 12px; color: var(--green-deep); padding-top: 0.25rem; }
.list-num em { font-style: normal; font-weight: 600; color: var(--ink); }

.leads-media { position: relative; }
@media (min-width: 768px) { .leads-media { padding-bottom: 4rem; padding-right: 1rem; } }
.leads-detail { display: none; }
@media (min-width: 768px) { .leads-detail { display: block; position: absolute; bottom: 0; left: -1.5rem; width: 44%; } .leads-detail .win { box-shadow: 10px 10px 0 var(--green-soft), 0 30px 60px -30px rgba(18, 22, 18, 0.35); } }
.grid-2 { margin-top: 1.25rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }

/* ---------- Kafle (zamówienia) ---------- */
.tiles { margin-top: 3rem; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 768px) { .tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); } .t4 { grid-column: span 4; } .t3 { grid-column: span 3; } .t2 { grid-column: span 2; } .r2 { grid-row: span 2; } }
.tile { background: var(--white); padding: 1.25rem; display: flex; flex-direction: column; }
.tile-media { padding: 1.25rem; }
.tile-media .shot { border-radius: var(--r); border: 1px solid var(--line); }
.tile-text h3 { font-size: 1.25rem; letter-spacing: -0.02em; margin-top: 1.5rem; }
.tile-text p { margin-top: 0.625rem; font-size: 0.9375rem; line-height: 1.55; color: var(--ink-2); }
.tile .tag { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-deep); }
.tile .tag::before { content: ""; width: 8px; height: 8px; background: currentColor; border-radius: 2px; }
.tile-green { background: var(--green-bright); color: var(--ink); }
.tile-green p { color: rgba(18, 22, 18, 0.78); }
.tile-green .tag { color: var(--ink); }
.tile-ink { background: var(--ink); color: var(--night-text); }
.tile-ink p { color: var(--night-muted); }
.tile-ink .tag { color: var(--green-bright); }

/* ---------- Zakładki ---------- */
.tabs { margin-top: 3rem; }
.tablist { display: flex; flex-wrap: wrap; gap: 0 2rem; border-bottom: 1px solid var(--line); }
.tab { position: relative; padding: 0.875rem 0; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); transition: color 0.15s; }
.tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); transform: scaleX(0); transition: transform 0.2s; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); }
.tab[aria-selected="true"]::after { transform: scaleX(1); }
.tabpanel { margin-top: 2.5rem; }
.tabpanel[hidden] { display: none; }
.panel { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .panel { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; gap: 3rem; } }
.panel h3 { font-size: 1.5rem; letter-spacing: -0.02em; }
.panel .list-num { margin-top: 1.25rem; }
.stack > * + * { margin-top: 1.25rem; }

/* ---------- Sklep ---------- */
.tpl-bar { margin-top: 3rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; }
.tpl-bar .hint { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.02em; color: var(--ink-3); }
.seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--white); }
.seg button { padding: 0.55rem 0.9rem; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); border-right: 1px solid var(--line); transition: background-color 0.15s, color 0.15s; }
.seg button:last-child { border-right: 0; }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--green-bright); }
.shop-window { margin-top: 1.5rem; }
.shop-grid { margin-top: 3.5rem; display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .shop-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4rem; } }
.thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.caption { margin-top: 0.75rem; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.02em; color: var(--ink-3); }
.caption strong { color: var(--ink); font-weight: 500; }
.dl { display: grid; gap: 0 2rem; }
@media (min-width: 640px) { .dl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dl > div { padding: 1rem 0; border-top: 1px solid var(--line-soft); }
.dl dt { font-family: var(--font-display); font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; }
.dl dd { margin-top: 0.375rem; font-size: 0.9375rem; line-height: 1.55; color: var(--ink-2); }

/* ---------- Zaplecze ---------- */
.features { margin-top: 3rem; display: grid; gap: 0 2.5rem; }
@media (min-width: 768px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .features { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.feature { padding: 1.5rem 0; border-top: 1px solid var(--line); }
.feature .n { font-family: var(--font-mono); font-size: 12px; color: var(--green-deep); letter-spacing: 0.08em; }
.feature h3 { margin-top: 0.75rem; font-size: 1.25rem; letter-spacing: -0.02em; }
.feature p { margin-top: 0.5rem; font-size: 0.9375rem; line-height: 1.55; color: var(--ink-2); }

.carousel { position: relative; margin-top: 3.5rem; }
.carousel-track { position: relative; display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0.75rem 7.5% 1rem; }
.carousel-track::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .carousel-track { padding-inline: 18%; } }
@media (min-width: 1024px) { .carousel-track { padding-inline: 26%; } }
.carousel-item { width: 100%; flex-shrink: 0; scroll-snap-align: center; opacity: 0.45; transition: opacity 0.4s ease-out; }
.carousel-item.is-active { opacity: 1; }
.carousel-item .win { box-shadow: none; }
.carousel-item.is-active .win { box-shadow: var(--shadow-hard); }
.carousel-btn { position: absolute; top: 45%; z-index: 2; transform: translateY(-50%); display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: var(--r); border: 1px solid var(--line); background: var(--white); color: var(--ink); transition: background-color 0.15s, color 0.15s; }
.carousel-btn:hover { background: var(--ink); color: var(--green-bright); }
.carousel-btn:disabled { opacity: 0.35; pointer-events: none; }
.carousel-btn svg { width: 18px; height: 18px; }
.carousel-btn.prev { left: 1rem; }
.carousel-btn.next { right: 1rem; }
@media (min-width: 640px) { .carousel-btn.prev { left: calc(18% - 4.5rem); } .carousel-btn.next { right: calc(18% - 4.5rem); } }
@media (min-width: 1024px) { .carousel-btn.prev { left: calc(26% - 7rem); } .carousel-btn.next { right: calc(26% - 7rem); } }
.dots { margin-top: 1rem; display: flex; justify-content: center; gap: 0.5rem; }
.dots button { width: 22px; height: 4px; border-radius: 2px; background: var(--line); transition: background-color 0.15s, width 0.2s; }
.dots button:hover { background: var(--ink-3); }
.dots button[aria-current="true"] { background: var(--ink); width: 36px; }

/* ---------- Integracje ---------- */
.integ { margin-top: 3rem; display: grid; gap: 0 2.5rem; }
@media (min-width: 640px) { .integ { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .integ { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.integ li { display: grid; grid-template-columns: 2.25rem 1fr auto; gap: 0.75rem; align-items: start; padding: 1.125rem 0; border-top: 1px solid var(--line); }
.integ .n { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); padding-top: 0.2rem; }
.integ h3 { font-size: 1.0625rem; letter-spacing: -0.01em; }
.integ p { margin-top: 0.25rem; font-size: 0.9rem; line-height: 1.5; color: var(--ink-2); }
.integ .st { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-deep); background: var(--green-soft); padding: 0.25rem 0.45rem; border-radius: 4px; white-space: nowrap; margin-top: 0.15rem; }

/* ---------- Bezpieczeństwo (ciemna sekcja) ---------- */
.sec-dark { background: var(--night); color: var(--night-text); border-top: 0; }
.sec-dark .sec-index { color: var(--green-bright); }
.sec-dark .sec-index .rule { background: var(--green-bright); }
.sec-dark .sec-head h2 { color: #fff; }
.sec-dark .sec-head p { color: var(--night-muted); }
.security { margin-top: 3.5rem; display: grid; gap: 3rem; }
@media (min-width: 1024px) { .security { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4rem; align-items: start; } }
.twofa .big { font-family: var(--font-display); font-size: clamp(4.5rem, 10vw, 7.5rem); font-weight: 800; letter-spacing: -0.05em; line-height: 0.9; color: var(--green-bright); }
.twofa h3 { margin-top: 1.25rem; font-size: 1.5rem; color: #fff; }
.twofa p { margin-top: 0.875rem; max-width: 52ch; color: var(--night-muted); line-height: 1.6; }
.twofa .win { margin-top: 2rem; }
.sec-list li { display: grid; grid-template-columns: 2.5rem 1fr; gap: 0.75rem; padding: 1.5rem 0; border-top: 1px solid var(--night-line); }
.sec-list li:last-child { border-bottom: 1px solid var(--night-line); }
.sec-list .n { font-family: var(--font-mono); font-size: 12px; color: var(--green-bright); padding-top: 0.35rem; }
.sec-list h3 { font-size: 1.25rem; color: #fff; letter-spacing: -0.02em; }
.sec-list p { margin-top: 0.5rem; font-size: 0.9375rem; line-height: 1.55; color: var(--night-muted); }

/* ---------- Porównanie jasny / ciemny ---------- */
.compare { position: relative; aspect-ratio: 1554 / 760; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--paper-2); user-select: none; -webkit-user-select: none; box-shadow: var(--shadow-hard); }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.compare .after { position: absolute; inset: 0; clip-path: inset(0 0 0 50%); }
.compare .handle { pointer-events: none; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--green-bright); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3); }
.compare .handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: var(--r); background: var(--ink); color: var(--green-bright); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25); }
.compare .handle svg { width: 18px; height: 18px; }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; cursor: ew-resize; opacity: 0; }

/* ---------- FAQ ---------- */
.faq { margin-top: 2.5rem; max-width: 50rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1.5rem; cursor: pointer; list-style: none; padding: 1.25rem 0; font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; }
@media (min-width: 640px) { .faq summary { font-size: 1.25rem; } }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: var(--r); border: 1px solid var(--line); color: var(--ink); transition: background-color 0.15s, color 0.15s; }
.faq summary .pm svg { width: 14px; height: 14px; transition: transform 0.2s; }
.faq details[open] summary .pm { background: var(--ink); color: var(--green-bright); }
.faq details[open] summary .pm svg { transform: rotate(45deg); }
.faq details p { padding: 0 0 1.5rem; max-width: 64ch; color: var(--ink-2); line-height: 1.6; }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(100deg, #2fd36b, #19b553); color: var(--ink); border-top: 0; }
.cta-grid { display: grid; gap: 2.5rem; align-items: end; }
@media (min-width: 1024px) { .cta-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); } }
.cta .eyebrow { color: var(--ink); }
.cta h2 { margin-top: 1.25rem; font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; letter-spacing: -0.035em; line-height: 0.98; }
.cta p { margin-top: 1.25rem; max-width: 46ch; font-size: 1.125rem; line-height: 1.55; color: rgba(18, 22, 18, 0.8); }
.cta .btn { margin-top: 2rem; }
.cta-contact { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 1024px) { .cta-contact { align-items: flex-end; } }
.cta-contact a { display: inline-flex; align-items: center; gap: 0.75rem; font-family: var(--font-mono); font-size: 15px; font-weight: 500; letter-spacing: 0.02em; padding: 0.5rem 0; border-bottom: 1px solid rgba(18, 22, 18, 0.35); transition: border-color 0.15s; }
.cta-contact a:hover { border-color: var(--ink); }
.cta-contact svg { width: 16px; height: 16px; }

/* ---------- Podstrona prawna (polityka prywatności) ---------- */
.page-head { position: relative; background: var(--night); color: var(--night-text); padding: 4rem 0 3.5rem; border-bottom: 1px solid var(--night-line); overflow: hidden; }
@media (min-width: 1024px) { .page-head { padding: 6rem 0 5rem; } }
.page-head .container { position: relative; }
.page-head h1 { margin-top: 1.25rem; font-size: clamp(2.25rem, 5.5vw, 4rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1; color: #fff; }
.page-head .lead { margin-top: 1.25rem; max-width: 52ch; font-size: 1.125rem; line-height: 1.6; color: var(--night-muted); }
.legal { padding: 3.5rem 0 5rem; }
@media (min-width: 1024px) { .legal { padding: 5rem 0 8rem; } }
.legal article { max-width: 48rem; padding: 2.5rem 0; border-top: 1px solid var(--line); }
.legal article:first-child { padding-top: 0; border-top: 0; }
.legal h2 { font-size: 1.5rem; letter-spacing: -0.02em; }
.legal ol { margin-top: 1.25rem; counter-reset: item; }
/* Numer jako ::before pozycjonowany absolutnie (nie grid), żeby linki w treści nie łamały układu. */
.legal ol > li { counter-increment: item; position: relative; padding: 0.9rem 0 0.9rem 3.25rem; border-top: 1px solid var(--line-soft); font-size: 0.9875rem; line-height: 1.6; color: var(--ink-2); }
.legal ol > li:last-child { border-bottom: 1px solid var(--line-soft); }
.legal ol > li::before { content: counter(item, decimal-leading-zero); position: absolute; left: 0; top: 1.2rem; font-family: var(--font-mono); font-size: 12px; line-height: 1; color: var(--green-deep); }
.legal ol > li > ul { margin-top: 0.25rem; list-style: disc; padding-left: 1.25rem; }
.legal ol > li > ul li { padding: 0.2rem 0; }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line); transition: text-decoration-color 0.15s; }
.legal a:hover { text-decoration-color: var(--green); }

/* ---------- Stopka ---------- */
.footer { background: var(--night); color: var(--night-text); }
.footer .container { padding: 4rem 1.25rem 2rem; }
@media (min-width: 640px) { .footer .container { padding-inline: 2rem; } }
@media (min-width: 1024px) { .footer .container { padding-top: 5rem; } }
.footer-grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); } .footer-brand { grid-column: span 5; } .footer-cols { grid-column: span 7; } }
.footer-brand img { height: 26px; width: auto; }
.footer-brand > p { margin-top: 1.25rem; max-width: 26rem; font-size: 0.9375rem; line-height: 1.6; color: var(--night-muted); }
.footer-brand .by { margin-top: 1.5rem; display: inline-flex; align-items: center; gap: 0.75rem; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--night-muted); }
.footer-brand .by svg { height: 11px; width: auto; stroke-width: 20; color: var(--green-bright); }
.footer address { margin-top: 1.75rem; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.9375rem; color: var(--night-muted); }
.footer address a { display: inline-flex; align-items: flex-start; gap: 0.625rem; transition: color 0.15s; }
.footer address a:hover { color: #fff; }
.footer address svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; }
.footer-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
@media (min-width: 640px) { .footer-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.footer-cols h2 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-bright); font-weight: 500; }
.footer-cols ul { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-cols ul a { font-size: 0.9375rem; color: var(--night-muted); transition: color 0.15s; }
.footer-cols ul a:hover { color: #fff; }
.footer-company { grid-column: span 2; }
@media (min-width: 640px) { .footer-company { grid-column: span 1; } }
.company { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.9375rem; color: var(--night-muted); }
.company .row { display: flex; gap: 0.5rem; }
.company dd.mono { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0; text-transform: none; color: var(--night-text); }
.company .break { word-break: break-all; }
.footer-social { margin-top: 1.25rem; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.9375rem; color: var(--night-muted); transition: color 0.15s; }
.footer-social:hover { color: #fff; }
.footer-social svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.footer-bottom { margin-top: 3.5rem; display: flex; flex-direction: column; gap: 0.75rem; border-top: 1px solid var(--night-line); padding-top: 1.5rem; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.02em; color: var(--night-muted); }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-bottom .links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.footer-bottom .links a, .footer-bottom .links button { letter-spacing: inherit; transition: color 0.15s; }
.footer-bottom a:hover, .footer-bottom .links button:hover { color: #fff; }

/* ---------- Lightbox ---------- */
.lightbox { margin: auto; max-height: 94vh; width: min(96vw, 1400px); max-width: none; overflow: auto; border-radius: var(--r-lg); border: 1px solid var(--night-line); background: var(--night-2); color: var(--night-text); padding: 0.5rem; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); }
.lightbox::backdrop { background: rgba(5, 12, 8, 0.85); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.lightbox-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.5rem 0.5rem 0.5rem 0.75rem; }
.lightbox-head p { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.02em; color: var(--night-muted); }
.lightbox-head .icon-btn { color: var(--night-text); width: 34px; height: 34px; }
.lightbox-head .icon-btn:hover { background: rgba(255, 255, 255, 0.1); }
.lightbox img { margin-top: 0.25rem; width: 100%; height: auto; border-radius: var(--r); }

/* ---------- Baner cookies (CookieConsent v3) ----------
   Biblioteka styluje się przez zmienne --cc-*; mapujemy je na tokeny strony
   (vendor/cookieconsent/cookieconsent.css ładuje się przed tym plikiem). */
:root {
  --cc-font-family: var(--font-body);
  --cc-modal-border-radius: var(--r-lg);
  --cc-btn-border-radius: var(--r);
  --cc-pm-toggle-border-radius: 9999px;
  --cc-modal-transition-duration: 0.25s;
  --cc-modal-margin: 1.25rem;
  --cc-z-index: 60;

  --cc-bg: var(--white);
  --cc-primary-color: var(--ink);
  --cc-secondary-color: var(--ink-2);
  --cc-link-color: var(--green-deep);

  --cc-btn-primary-bg: var(--ink);
  --cc-btn-primary-color: var(--white);
  --cc-btn-primary-border-color: var(--ink);
  --cc-btn-primary-hover-bg: #2a302a;
  --cc-btn-primary-hover-color: var(--white);
  --cc-btn-primary-hover-border-color: #2a302a;

  --cc-btn-secondary-bg: var(--white);
  --cc-btn-secondary-color: var(--ink);
  --cc-btn-secondary-border-color: var(--line);
  --cc-btn-secondary-hover-bg: var(--paper);
  --cc-btn-secondary-hover-color: var(--ink);
  --cc-btn-secondary-hover-border-color: var(--line);

  --cc-separator-border-color: var(--line-soft);
  --cc-section-category-border: var(--line);
  --cc-cookie-category-block-bg: var(--paper-2);
  --cc-cookie-category-block-border: var(--line-soft);
  --cc-cookie-category-block-hover-bg: var(--paper);
  --cc-cookie-category-block-hover-border: var(--line);
  --cc-cookie-category-expanded-block-bg: transparent;
  --cc-cookie-category-expanded-block-hover-bg: var(--paper);

  --cc-toggle-on-bg: var(--green);
  --cc-toggle-off-bg: #d6d3cb;
  --cc-toggle-on-knob-bg: #fff;
  --cc-toggle-off-knob-bg: #fff;
  --cc-toggle-enabled-icon-color: var(--green);
  --cc-toggle-disabled-icon-color: var(--ink-3);
  --cc-toggle-readonly-bg: var(--green-soft);
  --cc-toggle-readonly-knob-bg: #fff;
  --cc-toggle-readonly-knob-icon-color: var(--green-deep);

  --cc-overlay-bg: rgba(5, 12, 8, 0.6);
  --cc-webkit-scrollbar-bg: var(--line);
  --cc-webkit-scrollbar-hover-bg: var(--ink-3);

  --cc-footer-bg: var(--paper-2);
  --cc-footer-color: var(--ink-3);
  --cc-footer-border-color: var(--line-soft);
}
/* Okna banera jak .win-light: obrys i twardy zielony cień; tytuły w kroju display. */
#cc-main .cm, #cc-main .pm { border: 1px solid var(--line); }
#cc-main .cm { box-shadow: var(--shadow-hard), 0 30px 60px -30px rgba(18, 22, 18, 0.35); }
#cc-main .cm__title, #cc-main .pm__title, #cc-main .pm__section-title { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.015em; }

/* ---------- Animacje wejścia ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .carousel-item, .btn .arrow, .nav a::after, .tab::after { transition: none; }
  :root { --cc-modal-transition-duration: 0s; }
}
