/**
 * css/core/reset.css
 * ==================
 * Minimal browser reset and base HTML/body defaults.
 * Engine-level -- applies to every page, every brand.
 * Do NOT put brand colours or fonts here; use design-tokens.css.
 */

/* -- Box model ------------------------------------------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* -- Root defaults --------------------------------------------------------- */

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

body {
    background-color: var(--theme-bg);
    color: var(--theme-text);
    font-family: var(--theme-font-sans);
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* -- Media defaults -------------------------------------------------------- */

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

/* -- List reset ------------------------------------------------------------ */

ul,
ol {
    list-style: none;
}

/* -- Link reset ------------------------------------------------------------ */

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

/* -- Accessibility --------------------------------------------------------- */

.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--theme-primary);
    color: #FFFFFF;
    padding: 1rem;
    text-decoration: none;
    z-index: 10000;
    font-family: var(--theme-font-sans);
}

.skip-link:focus {
    top: 0;
}
