/* ==========================================================================
   Base: design tokens, reset, typography, shared building blocks
   ========================================================================== */

:root {
  /* colors (taken from the Elite TV1 logo) */
  --bg: #05080f;
  --bg-2: #080d18;
  --panel: #0c1322;
  --line: #1a2540;
  --text: #e9eef7;
  --muted: #8d99b0;
  --blue: #1f7bff;
  --blue-2: #0a4dff;
  --cyan: #3fb8ff;
  --ok: #4ade80;

  /* type */
  --font-display: "Saira", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  /* shape & motion */
  --radius: 18px;
  --radius-sm: 14px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --container: 1180px;
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  line-height: 1.05;
}

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--container), 100% - 32px); margin-inline: auto; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
