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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  height: 100%;
}

body {
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul, ol {
  list-style: none;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--color-teal);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-cyan);
}

/* ==========================================================================
   TYPOGRAPHY UTILITY CLASSES
   ========================================================================== */
.h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: var(--font-h1);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--color-text-primary);
}

.h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: var(--font-h2);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
}

.h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: var(--font-h3);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--color-text-primary);
}

.body-lg {
  font-size: var(--font-body-lg);
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.overline {
  font-size: var(--font-overline);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.w-full {
  width: 100%;
}

.section-header {
  margin-bottom: 48px;
}

.section-header.text-center {
  text-align: center;
}

.section-header .h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: var(--font-body-lg);
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}
