/* 1URL.PL – reset, typografia, layout bazowy */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }
img, svg, video { max-width: 100%; height: auto; }
svg { flex-shrink: 0; }
h1, h2, h3, h4 { margin: 0 0 var(--s-3); line-height: 1.15; letter-spacing: -.02em; font-weight: 700; color: var(--text); }
h1 { font-size: var(--fs-4xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-xl); letter-spacing: -.01em; }
h4 { font-size: var(--fs-lg); }
p { margin: 0 0 var(--s-4); }
a { color: var(--primary); text-decoration: none; transition: color .15s var(--ease); }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
ul, ol { margin: 0 0 var(--s-4); padding-left: 1.25rem; }
hr { border: 0; border-top: 1px solid var(--border); margin: var(--s-8) 0; }
code, kbd, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; }
code { background: var(--surface-2); border: 1px solid var(--border); padding: .1em .4em; border-radius: 6px; }
::selection { background: var(--primary); color: #fff; }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--s-4); }
@media (min-width: 768px) { .container { padding-inline: var(--s-6); } }
.container-narrow { max-width: 760px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--s-4); top: -60px; z-index: 1000;
  background: var(--btn-bg); color: #fff; padding: var(--s-2) var(--s-4);
  border-radius: var(--r-sm); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: var(--s-3); }

.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.stack > * + * { margin-top: var(--s-4); }
.grid { display: grid; gap: var(--s-6); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.section { padding-block: var(--s-16); }
@media (min-width: 768px) { .section { padding-block: var(--s-20); } }
.section-head { max-width: 680px; margin: 0 auto var(--s-10); text-align: center; }
.section-head p { color: var(--text-muted); font-size: var(--fs-lg); }
.eyebrow {
  display: inline-block; font-size: var(--fs-sm); font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--primary); margin-bottom: var(--s-3);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
