/* Základ: reset, typografie, kontejnery, utility. Hodnoty jen z tokens.css. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--font-size-md);
  line-height: var(--line-height-body);
  color: var(--color-text);
  background: var(--color-surface);
  font-feature-settings: "cv11" 1;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
h1, h2, h3, h4 { color: var(--color-text-strong); line-height: var(--line-height-tight); margin: 0 0 var(--space-3); font-weight: var(--font-weight-bold); letter-spacing: -0.01em; }
h1 { font-size: var(--font-size-3xl); }
h2 { font-size: var(--font-size-2xl); }
h3 { font-size: var(--font-size-xl); font-weight: var(--font-weight-semibold); }
h4 { font-size: var(--font-size-lg); font-weight: var(--font-weight-semibold); }
p { margin: 0 0 var(--space-4); }
a { color: var(--color-brand-strong); text-underline-offset: 0.18em; }
a:hover { color: var(--color-brand-strong-hover); }
:focus-visible { outline: 3px solid var(--color-brand-strong); outline-offset: 2px; border-radius: 4px; }
code, kbd { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.9em; }
hr { border: 0; border-top: 1px solid var(--color-line); margin: var(--space-6) 0; }

.container { width: 100%; max-width: var(--content-width); margin: 0 auto; padding: 0 var(--space-4); }
.narrow { max-width: 640px; }
.muted { color: var(--color-text-muted); }
.small { font-size: var(--font-size-sm); }
.nowrap { white-space: nowrap; }
.tabular { font-feature-settings: "tnum" 1; }
.visually-hidden {
  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(--space-4); top: -100px; z-index: 100; padding: var(--space-2) var(--space-4); background: var(--color-surface); border-radius: var(--radius-sm); box-shadow: var(--shadow-md); }
.skip-link:focus { top: var(--space-2); }

@media (min-width: 768px) {
  .container { padding: 0 var(--space-5); }
  h1 { font-size: var(--font-size-4xl); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
