@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600&display=swap');
@import './variables.css';

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

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

body {
  font-family: var(--font-family);
  font-weight: var(--font-weight-regular);
  color: var(--color-body);
  background-color: var(--color-bg-base);
  line-height: var(--line-height-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: 0; /* Removed padding-top since hero section handles spacing */
}

/* Typography - Desktop */
h1 {
  font-family: var(--font-family);
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-h1-desktop);
  color: var(--color-heading);
  line-height: var(--line-height-base);
}

h2 {
  font-family: var(--font-family);
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-h2-desktop);
  color: var(--color-heading);
  line-height: var(--line-height-base);
}

h3 {
  font-family: var(--font-family);
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-h3-desktop);
  color: var(--color-heading);
  line-height: var(--line-height-base);
}

h4 {
  font-family: var(--font-family);
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-h4-desktop);
  color: var(--color-heading);
  line-height: var(--line-height-base);
}

h4.medium {
  font-weight: var(--font-weight-medium);
}

h5 {
  font-family: var(--font-family);
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-h5-desktop);
  color: var(--color-heading);
  line-height: var(--line-height-base);
}

h6 {
  font-family: var(--font-family);
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-h6-desktop);
  color: var(--color-heading);
  line-height: var(--line-height-base);
}

p, .b1 {
  font-family: var(--font-family);
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-b1-desktop);
  color: var(--color-body);
  line-height: var(--line-height-base);
}

.b2 {
  font-family: var(--font-family);
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-b2-desktop);
  color: var(--color-body);
  line-height: var(--line-height-base);
}

.b3 {
  font-family: var(--font-family);
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-b3-desktop);
  color: var(--color-body);
  line-height: var(--line-height-base);
}

/* Typography - Mobile */
@media (max-width: 768px) {
  body {
    padding-top: 0; /* Removed padding-top since hero section handles spacing */
  }

  h1 {
    font-size: var(--font-size-h1-mobile);
  }

  h2 {
    font-size: var(--font-size-h2-mobile);
  }

  h3 {
    font-size: var(--font-size-h3-mobile);
  }

  h4 {
    font-size: var(--font-size-h4-mobile);
  }

  p, .b1 {
    font-size: var(--font-size-b1-mobile);
  }

  .b2 {
    font-size: var(--font-size-b2-mobile);
  }

  .b3 {
    font-size: var(--font-size-b3-mobile);
  }
}

/* Links */
a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-button-primary-hover);
}

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

/* Lists */
ul, ol {
  list-style: none;
}

/* Focus States */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}


