

:root {

  --background: #0A0C10;
  --surface: #12151B;
  --card: #12151B;
  --foreground: #F4F1EA;
  --muted-foreground: #948C7C;
  --primary: #546DB3;
  --primary-deep: #262239;
  --accent: #546DB3;
  --gradient-primary: linear-gradient(135deg, #546DB3 0%, #262239 100%);
  --border: rgba(244, 241, 234, 0.12);
  --border-strong: rgba(244, 241, 234, 0.2);
  --error: #C97B6A;


  --font-family-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-family-base: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --font-family-monospace: "IBM Plex Mono", ui-monospace, monospace;


  --spacing-1: 0.25rem;
  --spacing-2: 0.5rem;
  --spacing-3: 0.75rem;
  --spacing-4: 1rem;
  --spacing-5: 1.25rem;
  --spacing-6: 1.5rem;
  --spacing-8: 2rem;
  --spacing-10: 2.5rem;
  --spacing-12: 3rem;
  --spacing-16: 4rem;
  --spacing-20: 5rem;


  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;


  --animation-duration-fast: 150ms;
  --animation-duration-normal: 300ms;
  --animation-duration-slow: 700ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);


  --shadow-focus: 0 0 0 3px rgba(84, 109, 179, 0.55);


  --nav-height: 76px;
}

@media (max-width: 480px) {
  :root {
    --nav-height: 64px;
  }
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  margin: 0;
  padding-top: var(--nav-height);
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-family-base);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

button {
  font-family: inherit;
  color: inherit;
}

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

section {
  position: relative;
}

:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
  border-radius: var(--radius-sm);
}

.eyebrow {
  font-family: var(--font-family-monospace);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
}

.mono-number {
  font-family: var(--font-family-monospace);
  font-variant-numeric: tabular-nums;
}

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

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