/* Explain: Base styles, resets, and global typography defaults. */
* {
    box-sizing: border-box;
}

html {
    background: var(--background-color);
    scroll-behavior: smooth;
    scroll-padding-top: 4.5rem;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    overflow-wrap: break-word;
    background: var(--background-color);
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.brand-font {
    font-family: var(--font-heading);
}

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

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

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

button,
.btn,
[role="button"] {
    cursor: pointer;
}

::selection {
    background: rgba(15, 107, 87, 0.18);
    color: var(--secondary-color);
}

:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}