/* Vizicard – dokumenty (regulamin, polityka prywatności) i strona 404. Ten sam papier, atrament i krój co strona
   produktu; pliki HTML generuje site/build.mjs z site/legal/<język>.js. */

@font-face { font-family: "Schibsted Grotesk"; src: url("/static/site/fonts/SchibstedGrotesk.woff2?v=fbb5ff9e2b") format("woff2"); font-weight: 400 900; font-display: swap; }

:root { color-scheme: light; --bg: #f5f4ef; --surface: #ffffff; --text: #131313; --muted: #55554f; --line: rgba(19,19,19,.09); --accent: #4b50d6; --display: "Schibsted Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 "Schibsted Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; -webkit-text-size-adjust: 100%; }
main { max-width: 720px; margin: 0 auto; padding: max(28px, env(safe-area-inset-top)) 20px 56px; }
a { color: var(--accent); }
a.site { text-decoration: none; color: inherit; }
header.site { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
header.site img { width: 44px; height: 44px; border-radius: 11px; }
header.site strong { font: 700 21px/1 var(--display); letter-spacing: -.04em; }
h1 { font: 700 42px/1.04 var(--display); margin: 0 0 10px; letter-spacing: -.045em; }
h2 { font: 700 24px/1.15 var(--display); margin: 34px 0 8px; letter-spacing: -.03em; }
p, li { color: var(--text); }
.muted { color: var(--muted); }
.card { background: var(--surface); border-radius: 24px; padding: 22px 24px; margin: 16px 0; border: 1px solid var(--line); }
ul { padding-left: 22px; }
footer { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer .langs { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 6px 0 0; padding: 0; list-style: none; font-size: 14px; }
footer .langs a { color: var(--muted); }
footer .langs a[aria-current] { color: var(--text); font-weight: 600; text-decoration: none; }

/* Długie słowa (np. niemieckie złożenia) nie mogą poszerzać strony na telefonie. */
main { overflow-wrap: break-word; }
h1, h2, h3 { hyphens: auto; -webkit-hyphens: auto; }
nav.docs { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0 0 26px; font-size: 15px; }
nav.docs a { color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; padding: 4px 0; }
nav.docs a:hover { color: var(--text); }
nav.docs a[aria-current="page"] { color: var(--text); font-weight: 600; }
nav.docs a[aria-current="page"]::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #5cc15c; }
.meta { margin: 0 0 22px; }
.lead { font-size: 19px; line-height: 1.5; }
h2 { scroll-margin-top: 16px; }
h2 .n { color: var(--muted); font-weight: 600; margin-right: 2px; }
h3 { font: 700 18px/1.3 var(--display); letter-spacing: -.02em; margin: 22px 0 6px; }
.card h3:first-child, .card h2:first-child { margin-top: 0; }
.summary h2 { font-size: 20px; margin: 0 0 4px; }
.summary ul { margin: 8px 0 0; }
.summary li { margin: 6px 0; }
.toc h2 { font-size: 20px; margin: 0 0 8px; }
.toc ol { margin: 0; padding-left: 24px; columns: 2 240px; column-gap: 32px; }
.toc li { margin: 3px 0; break-inside: avoid; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--accent); text-decoration: underline; }
li { margin: 4px 0; }
/* Chrome daje numerom list cyfry tabelaryczne, które ten krój rozsuwa jak „1 .” */
li::marker { font-variant-numeric: normal; }
.facts { margin: 14px 0; }
.facts dl { margin: 0; display: grid; grid-template-columns: 1fr; gap: 2px 18px; }
.facts dt { color: var(--muted); font-size: 15px; font-weight: 600; margin-top: 8px; }
.facts dd { margin: 0; }
@media (min-width: 620px) {
  .facts dl { grid-template-columns: 150px 1fr; }
  .facts dt { margin-top: 6px; }
  .facts dd { margin-top: 6px; }
}
dl.defs dt { font-weight: 700; margin-top: 12px; }
dl.defs dd { margin: 2px 0 0; }
.fine { font-size: 15px; }
@media print {
  body { background: #fff; color: #000; font-size: 12pt; }
  nav.docs, footer, .toc, header.site img { display: none; }
  .card { border: 1px solid #999; break-inside: avoid; }
  a { color: inherit; }
}
