:root {
  color-scheme: dark;
  --aq-bg: #07111f;
  --aq-bg-deep: #040a12;
  --aq-surface: #0b1726;
  --aq-surface-raised: #102033;
  --aq-surface-soft: #13253a;
  --aq-border: rgba(164, 187, 211, 0.18);
  --aq-border-strong: rgba(121, 213, 222, 0.38);
  --aq-text: #f3f7fa;
  --aq-text-soft: #c1ceda;
  --aq-muted: #8fa1b3;
  --aq-accent: #62dce5;
  --aq-accent-strong: #7ff2cf;
  --aq-accent-ink: #032027;
  --aq-positive: #78ddb3;
  --aq-warning: #f4c76a;
  --aq-negative: #f28a9b;
  --aq-focus: #a2eff4;
  --aq-display: "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  --aq-body: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --aq-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --aq-radius-xs: 8px;
  --aq-radius-sm: 12px;
  --aq-radius-md: 18px;
  --aq-radius-lg: 28px;
  --aq-shadow-sm: 0 12px 32px rgba(0, 0, 0, 0.2);
  --aq-shadow-lg: 0 28px 72px rgba(0, 0, 0, 0.34);
  --aq-shell: 1220px;
  --aq-readable: 760px;
  --aq-page-pad: clamp(20px, 4vw, 48px);
  --aq-section-pad: clamp(72px, 9vw, 124px);
  --aq-header-height: 80px;
}

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

html {
  background: var(--aq-bg);
  color: var(--aq-text);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--aq-header-height) + 24px);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--aq-body);
  color: var(--aq-text);
  background: var(--aq-bg);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

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

:where(a, button, input, textarea, select, summary):focus-visible {
  outline: 3px solid var(--aq-focus);
  outline-offset: 3px;
}

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

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

