/* Explain: Base reset, typography, and global styles for the application. */
* {
    box-sizing: border-box;
}

html {
    background: var(--background-color);
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    margin: 0;
    line-height: 1.85;
}

[x-cloak] {
    display: none !important;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.4;
    margin: 0;
}

p {
    margin: 0;
}

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

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

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

::selection {
    background: var(--primary-color);
    color: #fff;
}

body {
    padding-bottom: 96px;
}