:root {
  --color-bg: #07090c;
  --color-surface: #12161c;
  --color-surface-raised: #1a2028;
  --color-text: #e9edf2;
  --color-muted: #aeb7c2;
  --color-accent: #087ee5;
  --color-accent-dark: #0562b3;
  --color-border: rgba(255, 255, 255, 0.11);
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: "Montserrat", var(--font-body);
  --container-width: 1200px;
  --page-gutter: clamp(20px, 4vw, 48px);
  --header-height: 96px;
  --page-ambient-background:
    radial-gradient(
      ellipse 46rem 34rem at 8% 18%,
      rgba(8, 126, 229, 0.12),
      transparent 72%
    ),
    radial-gradient(
      ellipse 44rem 32rem at 94% 42%,
      rgba(8, 126, 229, 0.102),
      transparent 74%
    ),
    radial-gradient(
      ellipse 40rem 30rem at 12% 76%,
      rgba(8, 126, 229, 0.09),
      transparent 72%
    ),
    radial-gradient(
      ellipse 36rem 28rem at 88% 96%,
      rgba(8, 126, 229, 0.075),
      transparent 74%
    );
}

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

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  isolation: isolate;
  min-width: 320px;
  margin: 0;
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  background: var(--page-ambient-background);
  pointer-events: none;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
}

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

a:not(.button) {
  transition: color 180ms ease;
}

a:not(.button):hover {
  color: var(--color-accent);
}

button,
input,
textarea {
  font: inherit;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.125rem, 2vw, 1.35rem);
}

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 10px 16px;
  background: #fff;
  color: #000;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
