@font-face {
  font-family: "Uncut Sans";
  src: url("../../assets/merco-site/fonts/UncutSans-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family: "Uncut Sans", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  --color-paper: #f5f1ef;
  --color-muted: rgba(245, 241, 239, 0.96);
  --color-accent: #d32c17;
  --color-orange: #e06428;
  --color-dark: #060606;
  --ticker-height: 62px;
  --shell-width: 1648px;
  --shell-gutter: 24px;
}

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

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  scrollbar-color: #aaa5a1 #060606;
  scrollbar-width: thin;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track,
::-webkit-scrollbar-corner {
  background: #060606;
}

::-webkit-scrollbar-thumb {
  border: 2px solid #060606;
  border-radius: 999px;
  background: #aaa5a1;
}

::-webkit-scrollbar-thumb:hover {
  background: #d8d2cd;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: #160909;
  color: var(--color-paper);
  font-family: "Uncut Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
}

button,
a {
  color: inherit;
  font: inherit;
}

a {
  text-decoration: none;
}

::selection {
  background: #d32c17;
  color: #fff;
}

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

.grid-shell {
  width: 100%;
  max-width: var(--shell-width);
  margin-inline: auto;
  padding-inline: var(--shell-gutter);
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
  border: 0;
}

.skip-link:focus-visible {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 12px 16px;
  clip: auto;
  clip-path: none;
  border-radius: 8px;
  background: #fff;
  color: #111;
  white-space: normal;
}

:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
