/* gab-reh base.css. Reset i elementy HTML, przeniesione z <style> strony design systemu. Krój tymczasowy Figtree self-hosted. */

/* optional zamiast swap: bez podmiany fontu i skoku tytułu; font, który nie zdąży w ok */
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: optional; src: url("../fonts/figtree.woff2") format("woff2"); }

@layer base {
	*, *::before, *::after { box-sizing: border-box; }
	html { scrollbar-gutter: stable; }  /* miejsce na pasek przewijania zawsze: krótka strona nie przesuwa nagłówka */
	body { margin: 0; background: var(--gr-color-bg); color: var(--gr-color-text); font: var(--gr-weight-regular) var(--gr-text-body)/var(--gr-leading-body) var(--gr-font-sans); }
	h1, h2, h3 { margin: 0; letter-spacing: var(--gr-tracking-snug); }
	h1, h2, h3, h4, h5, h6, b, strong, th { font-weight: var(--gr-weight-semibold); }
	a { color: var(--gr-color-link); text-underline-offset: 0.15em; }
	:focus-visible { outline: var(--gr-focus-ring) solid var(--gr-color-focus); outline-offset: var(--gr-focus-ring); }
	img, svg { display: block; max-width: 100%; }
	img { height: auto; }
}
