/* ============================================================
   LEVELPOINT — styles.css
   Paleta: papier / atrament / czerwień tyczki geodezyjnej
   Typografia: Instrument Sans (display + tekst), IBM Plex Mono (dane)
   Sygnatura: biało-czerwony pasek tyczki + krzyż celowniczy
   ============================================================ */

:root {
  --paper: #FCFCFA;
  --ink: #14171A;
  --muted: #686D72;
  --hairline: #E2E2DD;
  --signal: #E03A2F;          /* czerwień tyczki */
  --signal-soft: #FBEAE8;

  --font-sans: "Instrument Sans", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", monospace;

  --max-w: 1080px;
  --pad-x: clamp(20px, 5vw, 64px);
  --section-y: clamp(72px, 12vh, 140px);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
}

/* ============================================================
   SYGNATURA 1: pasek tyczki geodezyjnej (separator sekcji)
   ============================================================ */
.pole-rule {
  height: 6px;
  max-width: var(--max-w);
  margin: 0 auto;
  background: repeating-linear-gradient(
    90deg,
    var(--signal) 0 56px,
    var(--paper) 56px 112px
  );
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

/* ============================================================
   SYGNATURA 2: krzyż celowniczy przy nagłówkach kart
   ============================================================ */
.crosshair {
  display: inline-block;
  width: 14px; height: 14px;
  margin-right: 12px;
  position: relative;
  vertical-align: baseline;
  transform: translateY(1px);
}
.crosshair::before,
.crosshair::after {
  content: "";
  position: absolute;
  background: var(--signal);
}
.crosshair::before { left: 50%; top: 0; width: 1.5px; height: 100%; transform: translateX(-50%); }
.crosshair::after  { top: 50%; left: 0; height: 1.5px; width: 100%; transform: translateY(-50%); }

/* ---------- logo ---------- */
.logo, .footer-logo {
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 20px;
  text-decoration: none;
  white-space: nowrap;
}
.logo-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--signal);
  margin: 0 2px 1px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 28px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 36px);
}
.site-nav a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s ease;
}
.site-nav a:hover { color: var(--ink); }

.nav-cta {
  color: var(--ink) !important;
  border: 1px solid var(--ink);
  padding: 8px 18px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-cta:hover {
  background: var(--ink);
  color: var(--paper) !important;
}

/* rozwijane menu kategorii */
.nav-group { position: relative; }
.nav-group > a .nav-caret {
  display: inline-block;
  margin-left: 5px;
  font-size: 9px;
  color: var(--muted);
  transform: translateY(-1px);
}
.nav-sub {
  position: absolute;
  top: 100%;
  left: -18px;
  min-width: 210px;
  padding: 14px 0 10px;
  background: var(--paper);
  border: 1px solid var(--hairline);
  box-shadow: 0 12px 30px rgba(20, 23, 26, 0.08);
  display: none;
  z-index: 20;
}
.nav-group:hover .nav-sub,
.nav-group:focus-within .nav-sub { display: block; }
.nav-sub a {
  display: block;
  padding: 8px 18px;
  font-size: 14.5px;
}
.nav-sub a:hover { background: #F7F7F3; color: var(--ink); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  transform: translateY(3.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(56px, 10vh, 120px) var(--pad-x) var(--section-y);
  position: relative;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(44px, 8vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 600;
  max-width: 14ch;
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
}
.title-dot { color: var(--signal); }

.hero-lede {
  margin-top: 32px;
  max-width: 52ch;
  font-size: clamp(17px, 2vw, 20px);
  color: var(--muted);
}

.hero-actions {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  font-size: 15.5px;
  padding: 14px 28px;
  border-radius: 999px;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
}
.btn-primary:hover { background: var(--signal); border-color: var(--signal); }
.btn-ghost {
  border: 1px solid var(--hairline);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--ink); }

.hero-readout {
  position: absolute;
  right: var(--pad-x);
  bottom: var(--section-y);
  text-align: right;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.9;
}
.readout-line { display: block; }
.readout-line:last-child { color: var(--signal); }

/* ============================================================
   SEKCJE
   ============================================================ */
.section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--section-y) var(--pad-x);
}

.section-head { margin-bottom: clamp(40px, 6vh, 64px); }

.section-head h2 {
  font-size: clamp(30px, 4.6vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 600;
}

/* ---------- karty rozwiązań ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}

.card {
  background: var(--paper);
  padding: clamp(28px, 4vw, 44px);
  transition: background 0.2s ease;
}
.card:hover { background: #F7F7F3; }

.card h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.card p { color: var(--muted); font-size: 15.5px; }

.spec {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink) !important;
  background: var(--signal-soft);
  display: inline-block;
  padding: 6px 12px;
  border-left: 2px solid var(--signal);
}

.card-link { margin-top: 18px; }
.card-link a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink) !important;
  text-decoration: none;
  border-bottom: 1px solid var(--signal);
  padding-bottom: 2px;
}
.card-link a:hover { color: var(--signal) !important; }

/* ---------- podejście ---------- */
.approach {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
}

.approach-marker {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hairline);
  position: relative;
}
.approach-marker::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 28px; height: 1px;
  background: var(--signal);
}

.approach-item p:last-child {
  color: var(--muted);
  font-size: 15.5px;
}

/* ---------- wsparcie ---------- */
.support-text {
  max-width: 58ch;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.55;
  color: var(--ink);
}

/* ---------- kontakt ---------- */
.contact-mail {
  font-size: clamp(24px, 4.4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  border-bottom: 2px solid var(--signal);
  padding-bottom: 4px;
  transition: color 0.15s ease;
  word-break: break-all;
}
.contact-mail:hover { color: var(--signal); }

.contact-note {
  margin-top: 28px;
  max-width: 48ch;
  color: var(--muted);
  font-size: 15.5px;
}

/* ============================================================
   STRONA PRODUKTOWA
   ============================================================ */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 28px;
}
.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}
.breadcrumb a:hover { color: var(--signal); }

.hero-product { padding-bottom: clamp(48px, 8vh, 88px); }

/* hero ze zdjęciem produktu */
.hero-product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-figure { margin: 0; }
.hero-figure img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 40px rgba(20, 23, 26, 0.14));
}
.hero-readout-inline {
  position: static;
  text-align: left;
  margin-top: 44px;
}

/* galeria zdjęć */
.section-gallery { padding-top: clamp(48px, 8vh, 88px); padding-bottom: clamp(48px, 8vh, 88px); }
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: end;
}
.gallery-item { margin: 0; text-align: center; }
.gallery-item img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 24px rgba(20, 23, 26, 0.12));
  transition: transform 0.25s ease;
}
.gallery-item:hover img { transform: translateY(-4px); }
.gallery-item figcaption {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* pasek kluczowych liczb */
.stat-strip {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x) var(--section-y);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: transparent;
}
.stat {
  border-left: 1px solid var(--hairline);
  padding: 6px 0 6px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat:first-child { border-left-color: var(--signal); }
.stat-value {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* notka pod kartami */
.product-note {
  margin-top: 40px;
  max-width: 62ch;
  color: var(--muted);
  font-size: 15.5px;
  padding-left: 20px;
  border-left: 2px solid var(--signal);
}
.product-note strong { color: var(--ink); }

/* tabela specyfikacji */
.spec-table {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(32px, 5vw, 64px);
}

.spec-group-title {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 16px;
}

.spec-row {
  display: grid;
  grid-template-columns: minmax(140px, 38%) 1fr;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--hairline);
}
.spec-row dt {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.spec-row dd {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.55;
}

.spec-footnote {
  margin-top: 48px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
  max-width: 72ch;
  line-height: 1.8;
}

/* ============================================================
   SEKCJE SEO STRON PRODUKTOWYCH
   ============================================================ */

/* H1 z pełną nazwą kategorii (dłuższy niż sama nazwa modelu) */
.hero-title--seo {
  font-size: clamp(34px, 5vw, 60px);
  max-width: 16ch;
}

/* najważniejsze informacje w punktach */
.key-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 clamp(28px, 5vw, 64px);
  max-width: 920px;
}
.key-list li {
  padding: 13px 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 15.5px;
  color: var(--muted);
}
.key-list li strong { color: var(--ink); font-weight: 600; }

/* lista modeli w wierszach (strona kategorii) */
.model-list { border-top: 1px solid var(--hairline); }
.model-row {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(36px, 6vh, 60px) 0;
  border-bottom: 1px solid var(--hairline);
}
.model-figure {
  margin: 0;
  display: flex;
  justify-content: center;
}
.model-figure img {
  max-height: 250px;
  width: auto;
  max-width: 100%;
  filter: drop-shadow(0 14px 24px rgba(20, 23, 26, 0.12));
  transition: transform 0.25s ease;
}
.model-row:hover .model-figure img { transform: translateY(-4px); }
.model-row:nth-child(even) .model-figure { order: 2; }
.model-body h3 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}
.model-body p { color: var(--muted); font-size: 15.5px; max-width: 56ch; }

@media (max-width: 860px) {
  .model-row { grid-template-columns: 1fr; gap: 24px; }
  .model-row:nth-child(even) .model-figure { order: 0; }
  .model-figure img { max-height: 200px; }
}

/* karta modelu ze zdjęciem (strona kategorii) */
.card-figure {
  margin: 4px 0 22px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 170px;
}
.card-figure img {
  max-height: 170px;
  width: auto;
  max-width: 100%;
  filter: drop-shadow(0 14px 24px rgba(20, 23, 26, 0.12));
  transition: transform 0.25s ease;
}
.card:hover .card-figure img { transform: translateY(-4px); }

/* cena na karcie kategorii (strona główna) */
.card-price {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.card-price .price-label,
.card-price .price-note { font-size: 11px; }
.card-price .price-amount { font-size: 23px; }

/* mniejszy przycisk w kartach */
.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}
.card .btn { margin-top: 18px; }
.card-links-row {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.card-links-row .btn { margin-top: 0; }

/* tabela porównawcza */
.compare-wrap { overflow-x: auto; }
.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
.compare th, .compare td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--hairline);
  vertical-align: top;
}
.compare thead th {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.compare thead th.compare-this { color: var(--signal); }
.compare tbody th {
  font-weight: 500;
  font-size: 14px;
  color: var(--muted);
}
.compare tr.compare-group th {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal);
  padding-top: 26px;
}
.compare td.compare-this { background: var(--signal-soft); }
.compare-note {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

/* sekcja ekspercka — proza */
.prose { max-width: 68ch; }
.prose p { margin-bottom: 16px; }
.prose p:last-child { margin-bottom: 0; }
.prose h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 34px 0 12px;
}
.prose ul {
  margin: 0 0 16px;
  padding-left: 20px;
  color: var(--muted);
}
.prose ul li { margin-bottom: 8px; }
.prose ul li strong { color: var(--ink); }

/* słowniczek pojęć */
.glossary-row {
  display: grid;
  grid-template-columns: minmax(140px, 32%) 1fr;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--hairline);
  max-width: 820px;
}
.glossary-row dt {
  font-family: var(--font-mono);
  font-size: 12.5px;
  padding-top: 2px;
}
.glossary-row dd { font-size: 14.5px; color: var(--muted); }

/* FAQ */
.faq { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-item summary {
  cursor: pointer;
  padding: 18px 36px 18px 0;
  font-weight: 600;
  font-size: 16.5px;
  list-style: none;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 16px;
  color: var(--signal);
  font-weight: 600;
  font-size: 20px;
}
.faq-item[open] summary::after { content: "\2013"; }
.faq-item .faq-answer {
  padding: 0 0 20px;
  color: var(--muted);
  font-size: 15.5px;
  max-width: 70ch;
}

/* wideo (lite embed — iframe dopiero po kliknięciu) */
.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
}
.video-item { margin: 0; }
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  background: var(--ink);
  border: 1px solid var(--hairline);
}
.video-facade {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: var(--ink);
  cursor: pointer;
  position: relative;
}
.video-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
  transition: opacity 0.2s ease;
}
.video-facade:hover img { opacity: 1; }
.video-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 64px;
  height: 44px;
  background: var(--signal);
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-play::after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent var(--paper);
}
.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  position: absolute;
  inset: 0;
}
.video-item figcaption {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

@media (max-width: 720px) {
  .video-grid { grid-template-columns: 1fr; }
}

/* blog */
.post-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.article-lede {
  max-width: 64ch;
  font-size: clamp(17px, 2vw, 19px);
  color: var(--muted);
  margin-top: 24px;
}
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 8px 0 20px; }
.prose table th, .prose table td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--hairline);
  vertical-align: top;
}
.prose table thead th {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* cena „od" na karcie produktu */
.price-from {
  margin-top: 28px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.price-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.price-amount {
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  border-bottom: 3px solid var(--signal);
  padding-bottom: 3px;
}
.price-note {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

/* formularz leadowy (demo / wypożyczenie) */
.lead-form { max-width: 760px; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.field label .req { color: var(--signal); }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  font-family: var(--font-sans);
  font-size: 15.5px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 0;
  padding: 12px 14px;
  width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 0;
  border-color: var(--signal);
}
.choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.choice {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--hairline);
  padding: 9px 14px;
  font-size: 14.5px;
  cursor: pointer;
  user-select: none;
  background: var(--paper);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.choice:hover { border-color: var(--ink); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice:has(input:checked) {
  border-color: var(--signal);
  background: var(--signal-soft);
}
.choice:has(input:focus-visible) { outline: 2px solid var(--signal); outline-offset: 2px; }
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  max-width: 64ch;
}
.consent input { margin-top: 3px; accent-color: var(--signal); }
.form-actions { margin-top: 28px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-actions .btn { border: 0; cursor: pointer; font-family: var(--font-sans); }
.form-aside {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}
.form-success {
  border-left: 2px solid var(--signal);
  background: var(--signal-soft);
  padding: 20px 24px;
  max-width: 62ch;
  margin-bottom: 36px;
}
.form-success strong { display: block; margin-bottom: 6px; }

@media (max-width: 720px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* podsumowanie + E-E-A-T */
.summary-text {
  max-width: 64ch;
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.6;
}
.eeat-note {
  margin-top: 36px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
  max-width: 72ch;
}

@media (max-width: 720px) {
  .key-list { grid-template-columns: 1fr; }
  .glossary-row { grid-template-columns: 1fr; gap: 4px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--hairline);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px var(--pad-x) 56px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 32px;
}
.footer-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}
.footer-meta:last-child { margin-left: auto; }

/* ============================================================
   ANIMACJE (scroll reveal)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* ============================================================
   STICKY CTA (mobile)
   ============================================================ */
.sticky-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 30;
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 15.5px;
  padding: 15px 20px calc(15px + env(safe-area-inset-bottom));
}
.sticky-cta:active { background: var(--signal); }
@media (max-width: 720px) {
  .sticky-cta { display: block; }
  body { padding-bottom: 56px; }
}

/* ============================================================
   RESPONSYWNOŚĆ
   ============================================================ */
@media (max-width: 860px) {
  .grid { grid-template-columns: 1fr; }
  .approach { grid-template-columns: 1fr; }
  .hero-readout { position: static; text-align: left; margin-top: 48px; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
  .spec-table { grid-template-columns: 1fr; }
  .hero-product-grid { grid-template-columns: 1fr; }
  .hero-figure { order: -1; max-width: 420px; margin: 0 auto; }
  .gallery { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }

  .site-nav {
    display: none;
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: var(--paper);
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px var(--pad-x);
    gap: 20px;
    z-index: 10;
  }
  .site-nav.is-open { display: flex; }

  .site-header { position: relative; }

  .nav-sub {
    position: static;
    display: block;
    min-width: 0;
    padding: 8px 0 0 16px;
    border: 0;
    box-shadow: none;
    background: none;
  }
  .nav-sub a { padding: 6px 0; color: var(--muted); }
  .nav-group > a .nav-caret { display: none; }
}
