@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial');
  size-adjust: 107%;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}

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

html {
  background: var(--bg2);
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  min-height: 100vh;
  font-family: 'Inter', 'Inter Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: linear-gradient(160deg, #030712 0%, #050816 40%, #07101f 100%);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
}

a {
  color: inherit;
}

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

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

::-webkit-scrollbar-track {
  background: var(--bg2);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #1e3a5f, #1e293b);
  border-radius: 20px;
  border: 2px solid var(--bg2);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #2563eb, #334155);
}

::selection {
  background: rgba(56, 189, 248, 0.3);
  color: #fff;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 8px;
  background: #0ea5e9;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(2, 6, 23, 0.35);
}

.skip-link:focus {
  top: 16px;
  outline: 2px solid #7dd3fc;
  outline-offset: 2px;
}

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