@font-face {
  font-family: "Barlow Condensed";
  src: url("../assets/fonts/barlow-condensed-black-italic.ttf") format("truetype");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../assets/fonts/manrope-variable.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-ink: #08090b;
  --color-surface: #111318;
  --color-surface-raised: #181b21;
  --color-yellow: #ffbd0a;
  --color-yellow-deep: #e79a00;
  --color-white: #f7f7f4;
  --color-muted: #aaaeb7;
  --color-line: rgba(255, 255, 255, 0.13);
  --color-pink: #ef2f7e;
  --font-display: "Barlow Condensed", sans-serif;
  --font-body: "Manrope", sans-serif;
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 5rem;
  --space-8: 8rem;
  --radius-sm: 0.65rem;
  --radius-md: 1.1rem;
  --radius-lg: 1.75rem;
  --container: 76rem;
  --shadow-yellow: 0 18px 55px rgba(255, 189, 10, 0.18);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 500ms;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--color-ink);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

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

:focus-visible {
  outline: 3px solid var(--color-yellow);
  outline-offset: 4px;
}

::selection {
  background: var(--color-yellow);
  color: var(--color-ink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
