html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table,
caption, tbody, tfoot, thead, tr, th, td
{margin: 0;padding: 0;border: 0;outline: 0;
    font-size: 100%;vertical-align: baseline;
    background: transparent;}
body              	{line-height: 1;}
ol, ul            	{list-style: none;}
blockquote, q     	{quotes: none;}
blockquote:before, blockquote:after,
q:before, q:after 	{content: none;}
ins               	{text-decoration: none;}
del               	{text-decoration: line-through;}
table             	{border-collapse: collapse;border-spacing: 0;}

a{
    text-decoration: none;
    color: inherit;
}

button{
    border: none;
}

*{
    box-sizing:border-box;
}

ul{
    list-style: disc inside;
}

h1, h2, h3{
    margin: 0 0;
}

img{
    max-width: 100%;
    display: block;
}

/* moderní system-font stack (bez externích CDN, věrné projektu) */
:root{
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
}

h1, h2, h3, h4, h5{
    font-family: var(--font-sans);
}

body{
    height: 100%;
    width: 100%;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    min-height: 100vh;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

textarea{
    font-family: var(--font-sans);
}

::selection{
    background: #e6312e;
    color: #ffffff;
}

/* viditelný keyboard focus (přístupnost) */
:focus-visible{
    outline: 2px solid #ffb700;
    outline-offset: 3px;
    border-radius: 4px;
}

html{scroll-behavior:smooth}

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