/* Global styles */
:root {
  --primary-color: #181818;
  --secondary-color: #2563eb;
  --text-color: #444;
  --background-color: #fafbfc;
  --bg-primary: #fafbfc;
  --bg-secondary: #f0f2f5;
  --text-primary: #181818;
}

html {
  scroll-behavior: smooth;
}

html, body {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  background: var(--background-color);
  color: var(--text-color);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-size: 18px;
  line-height: 1.7;
}

@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;
    scroll-behavior: auto !important;
  }
}

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

.container {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  margin: 2.5rem 0 1rem 0;
  color: var(--primary-color);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 5vw, 2.5rem);
  margin-top: 3rem;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 1.7rem);
}

a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover, a:focus {
  color: #1a47b8;
  outline: none;
}

a:focus-visible {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

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

button {
  cursor: pointer;
}

button:focus-visible {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

::selection {
  background: #e0e7ef;
}

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