@font-face {
  font-family: 'Bahnschrift Local';
  src: local('Bahnschrift'), local('Bahnschrift SemiBold');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #091120;
  --bg-elevated: #0c1628;
  --blue: #0078ff;
  --blue-deep: #0059ff;
  --blue-hover: #004ca4;
  --text: #ffffff;
  --muted: #9aa8bc;
  --muted-2: #c5cdd8;
  --line: rgba(255, 255, 255, 0.08);
  --radius: 14px;
  --header-h: 72px;
  --content: min(1100px, calc(100% - 2.5rem));
  --section-y: clamp(2.5rem, 5vw, 4.5rem);
  --scroll-track: #0a1424;
  --scroll-thumb: #0059ff;
  --scroll-thumb-hover: #0078ff;
}

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

html {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  scrollbar-width: thin;
  scrollbar-color: var(--scroll-thumb) var(--scroll-track);
}

/* Chrome / Edge / Safari */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
  background: linear-gradient(180deg, #070e1a 0%, #0c1628 100%);
  border-left: 1px solid rgba(0, 120, 255, 0.12);
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #0078ff 0%, #0046cc 100%);
  border-radius: 999px;
  border: 2px solid #0a1424;
  box-shadow: 0 0 12px rgba(0, 120, 255, 0.35);
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #3d9aff 0%, #0078ff 100%);
}

html::-webkit-scrollbar-corner,
body::-webkit-scrollbar-corner {
  background: var(--scroll-track);
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-weight: 400;
  font-family: 'Bahnschrift Local', Bahnschrift, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.45;
}

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

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

.slider {
  touch-action: pan-y;
}

@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;
  }
}
