/* Explain: Base reset, typography, and bright white chrome page atmosphere */
* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 50% 2%, rgba(255, 255, 255, 0.95), transparent 32rem),
        radial-gradient(circle at 12% 30%, rgba(184, 192, 199, 0.24), transparent 28rem),
        radial-gradient(circle at 88% 62%, rgba(218, 222, 226, 0.42), transparent 30rem),
        linear-gradient(180deg, #ffffff 0%, #f6f7f8 45%, #eef1f3 100%);
    color: var(--text-color);
    font-family: var(--font-body);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.4;
    background-image:
        linear-gradient(rgba(88, 96, 104, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(88, 96, 104, 0.04) 1px, transparent 1px);
    background-size: 34px 34px;
}

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

button,
a,
input,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

::selection {
    background: var(--chrome-bright);
    color: var(--black-color);
}

:focus-visible {
    outline: 3px solid rgba(95, 102, 109, 0.38);
    outline-offset: 4px;
}

@media (max-width: 767px) {
    body {
        padding-bottom: 5.6rem;
    }
}
