/* reset.css — modern, safe reset */

/* 1) Box sizing */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* 2) Remove default margins */
* {
    margin: 0;
}

/* 3) Base document */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 4) Media elements */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

/* 5) Forms: inherit typography */
input,
button,
textarea,
select {
    font: inherit;
    color: inherit;
}

/* Buttons: make clickable + remove weird defaults */
button {
    cursor: pointer;
}

button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
    cursor: not-allowed;
}

/* 6) Links */
a {
    color: inherit;
    text-decoration: none;
}

/* 7) Lists */
ul,
ol {
    list-style: none;
    padding: 0;
}

/* 8) Tables */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* 9) Headings: don’t force bold/size, you control it */
h1,
h2,
h3,
h4,
h5,
h6 {
    font: inherit;
}

/* 10) Text overflow safety */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

/* 11) Improve focus visibility (keyboard users) */
:focus:not(:focus-visible) {
    outline: none;
}

/* 12) Remove default fieldset styles */
fieldset {
    border: 0;
    min-width: 0;
    padding: 0;
}

/* 13) HR */
hr {
    border: 0;
    border-top: 0.0625rem solid currentColor;
    opacity: 0.15;
}

/* 14) Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
html {
    scroll-behavior: smooth;
    font-size: calc(10px + (6 * ((100vw - 320px) / (1600 - 320))));
}
body {
    font-family: "TT Firs Neue";
    line-height: 1.2;
}