/* Kolejkomat — wspólny styl serwisu.
   Jeden plik, zero zależności: strona ma się otworzyć na komórce w poczekalni,
   a nie ładować pół megabajta biblioteki. */
:root {
  --atrament: #0f172a;
  --tekst: #334155;
  --przygaszony: #64748b;
  --akcent: #2563eb;
  --akcent-ciemny: #1d4ed8;
  --tlo: #ffffff;
  --tlo-sekcji: #f8fafc;
  --ramka: #e2e8f0;
  --sukces: #059669;
  --szerokosc: 68rem;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--tekst);
  background: var(--tlo);
  line-height: 1.65;
  font-size: 17px;
}
h1, h2, h3 { color: var(--atrament); line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--akcent); }

.srodek { max-width: var(--szerokosc); margin: 0 auto; padding: 0 1.5rem; }
section { padding: 4.5rem 0; }
section.przygaszona { background: var(--tlo-sekcji); border-block: 1px solid var(--ramka); }

/* Nagłówek */
.gora { border-bottom: 1px solid var(--ramka); position: sticky; top: 0; background: rgba(255,255,255,.92);
        backdrop-filter: blur(8px); z-index: 10; }
.gora .srodek { display: flex; align-items: center; justify-content: space-between; height: 4rem; gap: 1rem; }
.znak { font-weight: 700; font-size: 1.2rem; color: var(--atrament); text-decoration: none; letter-spacing: -.02em; }
.menu { display: flex; gap: 1.4rem; align-items: center; }
.menu a { color: var(--tekst); text-decoration: none; font-size: .95rem; }
.menu a:hover { color: var(--akcent); }
@media (max-width: 46rem) { .menu a.chowany { display: none; } }

/* Przyciski */
.przycisk, .przycisk-drugi {
  display: inline-block; padding: .85rem 1.6rem; border-radius: 8px; text-decoration: none;
  font-weight: 600; font-size: 1rem; border: 1px solid transparent; cursor: pointer;
}
.przycisk { background: var(--akcent); color: #fff; }
.przycisk:hover { background: var(--akcent-ciemny); }
.przycisk-drugi { background: #fff; color: var(--atrament); border-color: var(--ramka); }
.przycisk-drugi:hover { border-color: var(--akcent); color: var(--akcent); }

/* Nagłówek strony */
.hero { padding: 5rem 0 4rem; }
.hero p.wiodacy { font-size: 1.25rem; max-width: 44rem; color: var(--tekst); }
.dzialania { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: 2rem; }
.pod-dzialaniami { font-size: .92rem; color: var(--przygaszony); margin-top: 1rem; }

/* Siatki */
.siatka { display: grid; gap: 1.5rem; }
.siatka-2 { grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); }
.siatka-3 { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.karta { background: #fff; border: 1px solid var(--ramka); border-radius: 12px; padding: 1.6rem; }
.karta h3 { margin-bottom: .4rem; }
.karta p:last-child { margin-bottom: 0; }
.karta .drobne { font-size: .92rem; color: var(--przygaszony); }

/* Kroki */
ol.kroki { counter-reset: k; list-style: none; padding: 0; margin: 0; }
ol.kroki li { counter-increment: k; position: relative; padding-left: 3.2rem; margin-bottom: 1.6rem; }
ol.kroki li::before {
  content: counter(k); position: absolute; left: 0; top: -.15rem;
  width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--akcent); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .95rem;
}
ol.kroki strong { color: var(--atrament); }

/* Tabela porównania */
table { width: 100%; border-collapse: collapse; font-size: .96rem; }
th, td { text-align: left; padding: .8rem .9rem; border-bottom: 1px solid var(--ramka); vertical-align: top; }
th { color: var(--atrament); font-weight: 600; }
.zwijak { overflow-x: auto; }

/* Formularz */
form.konto { max-width: 34rem; }
form.konto label { display: block; margin-bottom: 1rem; }
form.konto span.etykieta { display: block; font-size: .92rem; color: var(--atrament); margin-bottom: .3rem; font-weight: 600; }
form.konto input {
  width: 100%; padding: .75rem .9rem; border: 1px solid var(--ramka); border-radius: 8px;
  font-size: 1rem; font-family: inherit;
}
form.konto input:focus { outline: 2px solid var(--akcent); outline-offset: -1px; border-color: var(--akcent); }
.komunikat { padding: 1rem 1.2rem; border-radius: 8px; margin-top: 1.2rem; display: none; }
.komunikat.widoczny { display: block; }
.komunikat.dobry { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.komunikat.zly { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }

/* Stopka */
footer { background: var(--atrament); color: #cbd5e1; padding: 3rem 0 2rem; font-size: .95rem; }
footer a { color: #fff; }
footer .siatka { margin-bottom: 2rem; }
footer h3 { color: #fff; font-size: 1rem; }
footer .drobne { color: #94a3b8; font-size: .88rem; border-top: 1px solid #1e293b; padding-top: 1.5rem; }
