/* QuickJob — strona firmowa. Jedna czcionka, dwa kolory, zero bibliotek. */

@font-face {
  font-family: "Space Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/space-mono-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Space Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/space-mono-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: "Space Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/space-mono-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Space Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/space-mono-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: dark;
  --bg: #0a0a0b;
  --fg: #f4f4f2;
  --muted: #8d8d93;   /* 6.3:1 na --bg, WCAG AA z zapasem */
  --line: #26262a;
  --pad: clamp(20px, 4vw, 56px);
  --max: 1120px;
}

* { box-sizing: border-box; }

html { background: var(--bg); scroll-behavior: smooth; }
body { margin: 0 auto; background: var(--bg); color: var(--fg); }

body {
  font: 15px/1.6 "Space Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  -webkit-font-smoothing: antialiased;
  max-width: calc(var(--max) + 2 * var(--pad));
  padding: var(--pad);
  padding-top: max(var(--pad), env(safe-area-inset-top));
  padding-bottom: max(var(--pad), env(safe-area-inset-bottom));
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  gap: clamp(28px, 5vh, 64px);
}

::selection { background: var(--fg); color: var(--bg); }

a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--muted); transition: border-color .15s; }
a:hover { border-bottom-color: var(--fg); }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  padding: 8px 14px;
  background: var(--fg);
  color: var(--bg);
  border: 0;
  font-weight: 700;
  z-index: 10;
}
.skip:focus { left: var(--pad); }

/* ---- nagłówek ---- */
.site-header { padding-bottom: 12px; border-bottom: 1px solid var(--line); }

.bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  flex-wrap: wrap;
  padding-bottom: clamp(14px, 2.2vh, 22px);
}

.brand {
  font-weight: 700;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1;
  letter-spacing: .02em;
  display: inline-flex;
  align-items: center;
  border-bottom: 0;
}
/* Kursor-blok zamiast logotypu: jedyny „znak graficzny" na stronie. */
.brand::after {
  content: "";
  width: .5em;
  height: .82em;
  margin-left: .14em;
  background: var(--fg);
  animation: blink 1.1s steps(1) infinite;
}

.clock {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .12em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: .6em;
}
.clock time { color: var(--fg); font-variant-numeric: tabular-nums; }
.clock .sep { opacity: .5; }
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1px solid var(--muted);
}
.clock.is-open .dot { background: var(--fg); border-color: var(--fg); animation: pulse 2.4s ease-out infinite; }
.clock.is-open [data-state] { color: var(--fg); }

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px 28px;
  flex-wrap: wrap;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0 26px; margin: 0; padding: 0; }
.nav a,
.lang a {
  display: inline-block;
  padding: 8px 0 6px;
  border-bottom: 1px solid transparent;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.nav a:hover, .lang a:hover { color: var(--fg); }
.nav [aria-current="page"] { color: var(--fg); border-bottom-color: var(--fg); }
.lang { margin: 0; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .12em; }
.lang [aria-current] { color: var(--fg); font-weight: 700; }

/* ---- treść ---- */
main { min-width: 0; counter-reset: sec; }
main:focus { outline: 0; }

.tag {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .12em;
}

h1 {
  position: relative;
  margin: 0 0 22px;
  font-size: clamp(28px, 4.2vw, 56px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -.01em;
  white-space: pre-line;
}
.page-head h1, .doc-head h1 { font-size: clamp(26px, 3.6vw, 46px); }
.hero h1 { font-size: clamp(28px, 3.7vw, 48px); }
h1 .ghost { visibility: hidden; }
h1 .typed { position: absolute; inset: 0; }
.caret {
  display: inline-block;
  width: .08em;
  height: .9em;
  margin-left: .06em;
  vertical-align: -.1em;
  background: var(--fg);
  animation: blink 1.1s steps(1) infinite;
}

h2 {
  margin: 0 0 22px;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -.005em;
}
h3 { margin: 0 0 8px; font-size: 15px; line-height: 1.4; font-weight: 700; }

p { margin: 0 0 14px; }
.lead p, .page-head p, .prose p, .prose ul { max-width: 64ch; }
.page-head .lead, .doc-head .lead { font-size: 16px; max-width: 60ch; }

/* Hero strony głównej: tekst po lewej, karta firmy po prawej. */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 96px);
  align-content: center;
}

/* „Od pracowników dla pracowników, od pracodawców dla pracodawców" — dwie linie, jeden rytm. */
.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 58ch;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.pair p { margin: 0; font-weight: 700; line-height: 1.45; }
.pair .k {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-weight: 400;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.pair .k::before { content: "> "; }

.status { margin: 22px 0 0; color: var(--muted); max-width: 58ch; }
.status .k {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.status .k::before { content: "> "; }
.status a { color: var(--fg); }

/* Etykiety numerowane 01–05: rytm formularza, nie dekoracja. */
.contact {
  counter-reset: field;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 20px;
  align-self: center;
  padding-left: clamp(0px, 3vw, 40px);
  border-left: 1px solid var(--line);
}
.contact dl { margin: 0; counter-increment: field; }
.contact dt {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 6px;
}
.contact dt::before { content: counter(field, decimal-leading-zero) "  "; white-space: pre; opacity: .55; }
.contact dd { margin: 0; overflow-wrap: anywhere; }
.contact dd.strong { font-weight: 700; letter-spacing: .04em; }
.contact dd .sub { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; font-weight: 400; letter-spacing: 0; }
.contact .wide { grid-column: 1 / -1; }

/* Sekcje: numerowane 01, 02… przez licznik, oddzielone linią. */
.block {
  margin-top: clamp(40px, 7vh, 84px);
  padding-top: clamp(24px, 4vh, 40px);
  border-top: 1px solid var(--line);
}
.block > h2::before {
  counter-increment: sec;
  content: counter(sec, decimal-leading-zero) "  ";
  white-space: pre;
  color: var(--muted);
  font-weight: 400;
}
.page-head + .block { margin-top: clamp(32px, 5vh, 56px); }

.cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
}
.cols h3 {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.cols h3::before { content: "> "; }

/* Kroki: numery 01… to rytm, nie ozdoba. */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; max-width: 880px; }
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 2.6em minmax(0, 1fr);
  gap: 0 10px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); color: var(--muted); }
.steps strong { display: block; margin-bottom: 2px; }

/* Kafelki zasad: siatka linii zamiast kart. */
.tiles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.tiles li { background: var(--bg); padding: 22px 20px 24px; }
.tiles p { margin: 0; }

.more { margin: 22px 0 0; }
.nb { white-space: nowrap; }

/* Lista z myślnikiem zamiast kropki. */
.list { list-style: none; margin: 0 0 14px; padding: 0; }
.list li { position: relative; padding: 0 0 8px 1.7em; }
.list li::before { content: ">"; position: absolute; left: 0; color: var(--muted); }

/* Tabela danych: etykieta po lewej, wartość po prawej. */
.facts {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(140px, 240px) minmax(0, 1fr);
  border-top: 1px solid var(--line);
  max-width: 880px;
}
.facts dt, .facts dd { margin: 0; padding: 13px 0; border-bottom: 1px solid var(--line); }
.facts dt {
  padding-top: 15px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.facts dd { overflow-wrap: anywhere; }
.facts dd.strong { font-weight: 700; letter-spacing: .04em; }

/* Pytania: <details> działa bez JS. */
.faq { max-width: 880px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative;
  padding: 16px 32px 16px 0;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 16px;
  color: var(--muted);
  font-weight: 400;
}
.faq details[open] summary::after { content: "−"; color: var(--fg); }
.faq details p { margin: 0 0 18px; max-width: 64ch; }

/* Wezwanie do kontaktu. */
.cta {
  margin-top: clamp(40px, 7vh, 84px);
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--fg);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}
.cta p { margin: 0; max-width: 46ch; font-weight: 700; font-size: clamp(16px, 2vw, 20px); line-height: 1.4; }
.btn {
  display: inline-block;
  padding: 12px 22px;
  background: var(--fg);
  color: var(--bg);
  border: 1px solid var(--fg);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.btn:hover, .btn:focus-visible { background: transparent; color: var(--fg); border-color: var(--fg); }

/* ---- pasek danych firmy (pod hero): tożsamość spółki widać od razu ---- */
.contact.strip {
  grid-template-columns: 1.15fr 1.15fr .9fr 1.3fr 1fr;
  align-self: stretch;
  margin-top: clamp(28px, 5vh, 56px);
  padding: 20px 0;
  border-left: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.contact.strip .wide { grid-column: auto; }

/* ---- telefon: ramka na zrzut z aplikacji ---- */
.device { margin: 0; }
.device-frame {
  position: relative;
  aspect-ratio: 786 / 1704;
  border-radius: 12% / 5.55%;
  overflow: hidden;
  background: #151517;
  border: 1px solid #3a3a41;
  box-shadow: 0 0 0 5px #0d0d0f, 0 0 0 6px #2b2b31, 0 30px 50px -24px rgba(0, 0, 0, .95);
}
.device-frame::after {           /* „wyspa" — sam kształt, żeby ramka wyglądała jak telefon */
  content: "";
  position: absolute;
  z-index: 3;
  top: 1.5%;
  left: 50%;
  width: 26%;
  aspect-ratio: 3.4 / 1;
  transform: translateX(-50%);
  background: #000;
  border-radius: 99px;
  pointer-events: none;
}
.device-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---- pokaz slajdów w hero: czyste CSS, 4 ekrany po 3,5 s ---- */
.showcase { display: grid; justify-items: center; align-content: center; gap: 26px; }
.showcase .device { width: clamp(210px, calc((100vh - 320px) * .4613), 268px); }
.slide { position: absolute; inset: 0; opacity: 0; animation: slide 14s ease-in-out infinite; }
.slide:nth-child(2) { animation-delay: 3.5s; }
.slide:nth-child(3) { animation-delay: 7s; }
.slide:nth-child(4) { animation-delay: 10.5s; }
.slide:first-child { opacity: 1; }
.showcase-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 14px;
  width: min(100%, 420px);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: st;
}
.showcase-steps li {
  counter-increment: st;
  position: relative;
  padding-top: 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  animation: stepon 14s linear infinite;
}
.showcase-steps li::before {
  content: counter(st, decimal-leading-zero);
  display: block;
  margin-bottom: 2px;
  letter-spacing: .12em;
  opacity: .7;
}
.showcase-steps li::after {      /* pasek postępu nad krokiem */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--line);
}
.showcase-steps li i {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--fg);
  transform-origin: left;
  transform: scaleX(0);
  animation: fill 14s linear infinite;
}
.showcase-steps li:nth-child(1), .showcase-steps li:nth-child(1) i { animation-delay: 0s; }
.showcase-steps li:nth-child(2), .showcase-steps li:nth-child(2) i { animation-delay: 3.5s; }
.showcase-steps li:nth-child(3), .showcase-steps li:nth-child(3) i { animation-delay: 7s; }
.showcase-steps li:nth-child(4), .showcase-steps li:nth-child(4) i { animation-delay: 10.5s; }
.showcase:hover .slide, .showcase:hover .showcase-steps li, .showcase:hover .showcase-steps li i { animation-play-state: paused; }

/* ---- kroki z telefonem: telefon przykleja się obok listy i zmienia ekran wraz z przewijaniem ---- */
.tour {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.tour .steps { max-width: none; }
.tour .steps li { padding: 26px 0; }
.tour .steps li::before { transition: color .3s; }
.js .tour .steps li { opacity: .38; transition: opacity .35s ease; }
.js .tour .steps li.is-active { opacity: 1; }
.tour .steps li.is-active::before { color: var(--fg); opacity: 1; }
.tour-phone { position: sticky; top: 28px; }
.tour-phone .device { width: 100%; }
.tour-img { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease; }
.tour-img.is-on { opacity: 1; }

@keyframes slide {
  0%   { opacity: 0; transform: translateX(7%) scale(1.03); }
  3%   { opacity: 1; transform: none; }
  25%  { opacity: 1; transform: none; }
  28%  { opacity: 0; transform: translateX(-7%) scale(.97); }
  100% { opacity: 0; }
}
@keyframes stepon { 0%, 25% { color: var(--fg); } 28%, 100% { color: var(--muted); } }
@keyframes fill { 0% { transform: scaleX(0); } 25% { transform: scaleX(1); } 100% { transform: scaleX(1); } }

/* ---- cennik: zrzut usługi obok opisu i cen ---- */
.offer {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: clamp(22px, 4vw, 56px);
  align-items: start;
  max-width: 880px;
}
.offer .device { width: 100%; }
.offer .facts { margin-top: 18px; }
.offer .strong { font-weight: 700; letter-spacing: .04em; }
.rates { width: 100%; margin: 18px 0; border-collapse: collapse; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.rates th, .rates td { padding: 10px 14px 10px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-weight: 400; }
.rates td { white-space: nowrap; }
.rates thead th, .rates [scope="rowgroup"] { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.rates [scope="rowgroup"] { padding-top: 20px; }
.pay-logos { display: block; }
.site-footer .pay-logos { margin-top: 10px; }

/* ---- dokumenty prawne (generowane z legal.ts) ---- */
.doc { max-width: 78ch; }
.doc-head .lead { margin-bottom: 0; }
.doc .note {
  margin: 28px 0 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  color: var(--muted);
}
.doc .note strong { color: var(--fg); }
.toc { margin: 32px 0 0; padding: 18px 20px; border: 1px solid var(--line); }
.toc h2 {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.toc ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 32px; }
.toc li { break-inside: avoid; padding: 2px 0; }
.toc a { border-bottom-color: transparent; }
.toc a:hover { border-bottom-color: var(--fg); }
.doc section { margin-top: 38px; scroll-margin-top: 20px; }
.doc section h2 { margin-bottom: 14px; font-size: clamp(17px, 2vw, 21px); }
.doc section ul { margin: 0 0 14px; padding: 0 0 0 1.4em; }
.doc section li { padding: 0 0 8px; }
.doc .doc-foot { margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); }

/* ---- stopka ---- */
.site-footer {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px 40px;
}
.site-footer p { margin: 0 0 4px; }
.site-footer .legal-name { color: var(--fg); font-weight: 700; letter-spacing: .02em; }
.site-footer .note { grid-column: 1 / -1; margin: 0; padding-top: 12px; border-top: 1px solid var(--line); }
.site-footer nav { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.site-footer nav a { display: inline-block; padding: 2px 0; }

@keyframes blink { 50% { opacity: 0; } }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(244, 244, 242, .45); }
  70%  { box-shadow: 0 0 0 7px rgba(244, 244, 242, 0); }
  100% { box-shadow: 0 0 0 0 rgba(244, 244, 242, 0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .showcase-steps li:first-child { color: var(--fg); }
}

/* ---- tablet: dwie kolumny kafelków ---- */
@media (max-width: 980px) {
  .contact.strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .tour { grid-template-columns: 1fr; }
  .tour-phone { display: none; }
  .tour .steps li { padding: 14px 0; }
  .js .tour .steps li { opacity: 1; }
}

/* ---- bardzo wąskie ekrany (iPhone SE): zegar w nagłówku może się zawinąć, podpisy pod telefonem 2×2 ---- */
@media (max-width: 480px) {
  .clock { flex-wrap: wrap; white-space: normal; row-gap: 2px; font-size: 12px; letter-spacing: .06em; }
  .showcase-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
  .showcase-steps li { overflow-wrap: anywhere; }
}

/* ---- telefon: jedna kolumna, przewijanie dozwolone ---- */
@media (max-width: 760px) {
  body { gap: 32px; }
  .bar { align-items: flex-start; flex-direction: column; }
  .nav { align-items: flex-start; flex-direction: column; }
  .nav ul { gap: 0 20px; }
  .hero { grid-template-columns: 1fr; gap: 32px; }
  .pair { grid-template-columns: 1fr; gap: 16px; }
  .contact { grid-template-columns: 1fr; gap: 18px; padding-left: 0; border-left: 0; padding-top: 24px; border-top: 1px solid var(--line); }
  .contact.strip { grid-template-columns: 1fr; padding: 22px 0; }
  .showcase .device { width: min(70vw, 250px); }
  .cols { grid-template-columns: 1fr; gap: 36px; }
  .tiles { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .facts dt { padding: 14px 0 2px; border-bottom: 0; }
  .facts dd { padding: 0 0 14px; }
  .toc ul { columns: 1; }
  .offer { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .offer .device { width: 140px; }
  .rates { font-size: 13px; }
  .rates th, .rates td { padding-right: 10px; }
  .rates td { white-space: normal; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer nav { align-items: flex-start; flex-direction: row; flex-wrap: wrap; gap: 4px 20px; }
}

/* ---- wydruk: regulamin i polityka mają dać się wydrukować ---- */
@media print {
  :root { color-scheme: light; --bg: #fff; --fg: #000; --muted: #444; --line: #bbb; }
  body { display: block; padding: 0; font-size: 11pt; }
  .clock, .nav, .skip, .cta, .toc, .brand::after { display: none !important; }
  a { border-bottom: 0; }
  .doc section { break-inside: avoid; }
}
