/* Mobile-first touch target optimization
   All interactive elements should be at least 44x44px for comfortable touch targets */

@media (max-width: 640px) {
  /* Ensure buttons are easily tappable on mobile */
  button, [role="button"] {
    min-height: 44px;
    min-width: 44px;
  }

  /* Ensure links and interactive elements have adequate padding */
  a, [role="link"] {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  /* Optimize spacing for mobile readability */
  h1 {
    line-height: 1.2;
    letter-spacing: -0.02em;
  }

  p {
    line-height: 1.6;
  }

  /* Ensure CTAs are always visible and accessible */
  .cta-primary {
    position: relative;
    z-index: 10;
  }
}

/* Performance: Reduce paint and layout shifts */
* {
  box-sizing: border-box;
}

/* Reduce cumulative layout shift for images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Optimize critical rendering path */
body {
  margin: 0;
  padding: 0;
}
