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

* {
  margin: 0;
  padding: 0;
}

:root {
  --sae-black: #06090f;
  --sae-navy-900: #0b1220;
  --sae-navy-800: #101c31;
  --sae-navy-700: #162542;
  --sae-navy-600: #1e3460;
  --sae-navy-500: #264280;
  --sae-steel-400: #3b5ea6;
  --sae-steel-300: #5b7ec2;
  --sae-steel-200: #8aaad8;
  --sae-steel-100: #c4d4ee;
  --sae-accent: #1c5bff;
  --sae-accent-hov: #3b73ff;
  --sae-accent-dim: rgba(28, 91, 255, 0.15);
  --sae-gold: #c9943a;
  --sae-gold-light: #e5b96a;
  --sae-gold-dim: rgba(201, 148, 58, 0.12);
  --sae-muted: #8b96b0;
  --sae-white: #ffffff;
  --color-bg-base: var(--sae-black);
  --color-bg-surface: var(--sae-navy-900);
  --color-bg-elevated: var(--sae-navy-800);
  --color-bg-card: var(--sae-navy-700);
  --color-text-primary: var(--sae-white);
  --color-text-secondary: var(--sae-steel-200);
  --color-text-muted: var(--sae-muted);
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-accent: rgba(28, 91, 255, 0.3);
  --font-display: "Bebas Neue", "Barlow Condensed", sans-serif;
  --font-condensed: "Barlow Condensed", sans-serif;
  --font-body: "Barlow", sans-serif;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-pill: 999px;
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
  --shadow-accent: 0 0 24px rgba(28, 91, 255, 0.25);
  --shadow-gold: 0 0 20px rgba(201, 148, 58, 0.2);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 150ms;
  --dur-base: 250ms;
  --dur-enter: 700ms;
  --max-w: 1280px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 80px 80px,
    linear-gradient(180deg, var(--sae-black), var(--sae-black));
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  min-width: 320px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

ul {
  list-style: none;
}

:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(28, 91, 255, 0.5);
}

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

.skip-link {
  background: var(--sae-accent);
  border-radius: var(--radius-sm);
  color: var(--sae-white);
  font-family: var(--font-condensed);
  font-size: 0.75rem;
  font-weight: 700;
  left: 16px;
  letter-spacing: 0.12em;
  padding: 10px 14px;
  position: fixed;
  text-transform: uppercase;
  top: 16px;
  transform: translateY(-150%);
  z-index: 1000;
}

.skip-link:focus {
  transform: translateY(0);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeUp var(--dur-enter) var(--ease-out) both;
}

.delay-1 {
  animation-delay: 80ms;
}

.delay-2 {
  animation-delay: 180ms;
}

.delay-3 {
  animation-delay: 320ms;
}

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