/* WorkMesh Base Styles — reset, typography, and global defaults */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--wm-color-grey-900);
  background: var(--wm-color-white);
}

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

a {
  color: var(--wm-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

p, ul, ol {
  margin-bottom: var(--wm-space-4);
}

ul, ol {
  padding-left: var(--wm-space-6);
}

li {
  margin-bottom: var(--wm-space-2);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--wm-brand);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: var(--wm-space-4);
}

h1 {
  font-size: 2.75rem; /* 44px */
  letter-spacing: -0.03em;
}

h2 {
  font-size: 2rem; /* 32px */
}

h3 {
  font-size: 1.5rem; /* 24px */
}

h4 {
  font-size: 1.25rem; /* 20px */
}

h5 {
  font-size: 1rem; /* 16px */
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (min-width: 768px) {
  h1 {
    font-size: 3.5rem; /* 56px */
  }
  h2 {
    font-size: 2.5rem; /* 40px */
  }
  h3 {
    font-size: 1.75rem; /* 28px */
  }
}

@media (min-width: 1024px) {
  h1 {
    font-size: 4rem; /* 64px */
  }
}

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