/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  background: var(--bg);
  color: var(--text);
  line-height: var(--line-height-base);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: var(--bg);
  background-image:
    radial-gradient(60% 40% at 15% 0%, rgba(0,0,0,0.045), transparent 60%),
    radial-gradient(50% 45% at 100% 10%, rgba(0,0,0,0.035), transparent 55%),
    radial-gradient(45% 40% at 50% 100%, rgba(0,0,0,0.03), transparent 60%);
  z-index: -10;
  pointer-events: none;
}

h1, h2, h3 {
  letter-spacing: -0.02em;
}

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

button {
  border: none;
  background: none;
  font: inherit;
  cursor: pointer;
}

::selection {
  background: var(--primary);
  color: white;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius-md);
}
