/* sprawdzb1.pl v2 (28.10.2026): wspólny styl.
   Zasady Lidera: czarny tekst na białym, jeden krój (stos systemowy, bez pobierania fontów),
   dwie grubości (400 i 700), jeden kolor akcentu (przycisk; w wariancie V3 jeden pasek),
   jeden element graficzny na ekranie. Bez gradientów, cieni, emoji i ikon-ozdobników. */

:root {
  --ink: #000;
  --paper: #fff;
  --accent: #2563eb;   /* jedyny kolor akcentu; biały tekst na nim ma kontrast 5,2:1 */
  --line: #000;
  --max: 64rem;
  --text: 40rem;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 400;
}
h1, h2, strong, b, summary, .brand { font-weight: 700; }
h1, h2, p, ul, ol, figure { margin: 0; }
a { color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

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

/* Pasek: logo tekstowe + przełącznik języka, bez menu */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 56px; }
.brand { text-decoration: none; font-size: 18px; }
.lang { list-style: none; padding: 0; display: flex; gap: 2px; }
.lang a { display: inline-block; min-width: 44px; padding: 10px 6px; text-align: center; text-decoration: none; font-size: 16px; }
.lang a[aria-current="page"] { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

/* Pierwszy ekran */
.hero { padding: 28px 0 40px; }
.hv { display: none; }
html:not([data-w]) .hv-v1, html[data-w="v1"] .hv-v1, html[data-w="v2"] .hv-v2,
html[data-w="v3"] .hv-v3, html[data-w="a"] .hv-a { display: block; }
h1 { font-size: 28px; line-height: 1.15; letter-spacing: -0.01em; max-width: 18em; }
.lead { margin-top: 12px; max-width: 32em; }

/* Element graficzny 1: karta jednego błędu */
.g { margin: 24px 0; }
.g-card { border: 1px solid var(--line); border-radius: 6px; padding: 18px 20px; max-width: 26rem; }
.pair { font-size: 32px; line-height: 1.2; }
.pair strong { margin-left: 0.35em; }
.g-card figcaption { margin-top: 10px; font-size: 17px; }
.strike { text-decoration: line-through; text-decoration-thickness: 3px; }
@media (prefers-reduced-motion: no-preference) {
  /* Jedno przekreślenie, ok. 1 s, raz. Przy „ogranicz ruch” zostaje zwykłe, statyczne przekreślenie. */
  .strike { position: relative; text-decoration: none; }
  .strike::after {
    content: ""; position: absolute; left: -2px; right: -2px; top: 54%;
    height: 3px; background: var(--ink);
    animation: strike 1s ease-out 0.3s both;
  }
}
@keyframes strike { from { right: 100%; } to { right: -2px; } }

/* Element graficzny 2 (tylko V3): 5 pasków części, kreska progu 50%, jeden pasek w kolorze akcentu */
.g-bars { display: none; max-width: 26rem; }
html[data-w="v3"] .g-bars { display: block; }
html[data-w="v3"] .g-card { display: none; }
.bars { list-style: none; padding: 0; }
.bars li { display: grid; grid-template-columns: 9.5rem 1fr; align-items: center; gap: 10px; padding: 4px 0; font-size: 16px; }
.bb { position: relative; height: 22px; }
.bb i { display: block; height: 100%; background: var(--ink); }
.bars li.low .bb i { background: var(--accent); }
.bb::after { content: ""; position: absolute; left: 50%; top: -4px; bottom: -4px; width: 1px; background: var(--ink); }
.g-bars figcaption { margin-top: 10px; font-size: 17px; }

/* Przycisk: jedyne miejsce koloru akcentu */
.cta { margin-top: 8px; }
.btn {
  display: flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 12px 20px; width: 100%; max-width: 26rem;
  background: var(--accent); color: #fff; border-radius: 8px;
  font-weight: 700; font-size: 19px; text-decoration: none; text-align: center;
}
.btn:hover { text-decoration: underline; text-underline-offset: 3px; }
.cta-sub { margin-top: 8px; font-size: 16px; }
.trust { margin-top: 16px; font-size: 16px; max-width: 26rem; }

/* Reszta strony */
.sec { padding: 36px 0; border-top: 1px solid var(--line); max-width: var(--text); }
h2 { font-size: 24px; line-height: 1.25; margin-bottom: 14px; }
.steps, .list { padding-left: 1.4em; }
.steps li, .list li { margin: 8px 0; }
.sec .cta { margin-top: 24px; }

.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 14px 0; min-height: 48px; }
.faq details p { padding: 0 0 16px; }

.end { border-top: 0; padding-top: 8px; }
.buy-now { margin-top: 28px; font-size: 16px; }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 15px; }
footer p { margin: 0 0 10px; max-width: var(--text); }
.foot-links { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot-links a { display: inline-block; padding: 6px 0; }

/* Sticky CTA (wariant ?sticky=1): nieprzezroczysty, 64 px, bez cienia */
.sticky[hidden] { display: none; }
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  height: 64px; padding: 6px 16px calc(6px + env(safe-area-inset-bottom));
  background: var(--paper); border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 12px;
}
.sticky .btn { min-height: 52px; padding: 4px 14px; font-size: 17px; line-height: 1.2; flex: 1; max-width: 26rem; flex-direction: column; }
.sticky .btn small { font-size: 13px; font-weight: 400; }
html.sticky-on body { padding-bottom: 64px; }

/* Komputer: tekst po lewej, element graficzny po prawej */
@media (min-width: 900px) {
  .hero {
    display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    grid-template-areas: "t g" "c g" "r g"; column-gap: 64px; align-items: start;
    padding: 72px 0 64px;
  }
  .hv { grid-area: t; }
  .g { grid-area: g; margin: 0; align-self: center; width: 100%; }
  .hero > .cta { grid-area: c; margin-top: 28px; }
  .trust { grid-area: r; }
  h1 { font-size: 44px; }
  .lead { font-size: 20px; margin-top: 16px; }
  .pair { font-size: 40px; }
  .sticky { justify-content: center; }
}
