/* Responsive styles for static HTML pages */
/* Include this in all public/*.html pages */

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

/* Skip to content */
.skip-to-content {
  position: absolute; top: -100%; left: 16px; z-index: 200;
  padding: 12px 24px; background: #22c55e; color: white;
  font-weight: 700; border-radius: 8px; text-decoration: none;
}
.skip-to-content:focus { top: 16px; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus visible */
*:focus-visible {
  outline: 2px solid #22c55e; outline-offset: 2px; border-radius: 4px;
}

/* Container */
.container {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
}

/* Header responsive */
@media (max-width: 768px) {
  header nav {
    flex-wrap: wrap;
    gap: 8px;
  }
  header nav a {
    margin-left: 0 !important;
    margin-right: 12px;
    padding: 8px 4px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  h1 {
    font-size: clamp(1.75rem, 5vw, 3rem) !important;
    line-height: 1.15;
  }
  h2 {
    font-size: clamp(1.25rem, 3vw, 2rem);
  }
}

/* Grid responsive */
@media (max-width: 768px) {
  .grid,
  .cards-grid,
  .faq-grid,
  .blog-grid {
    grid-template-columns: 1fr !important;
  }
}

/* General responsive helpers */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  section, .section { padding: 32px 0; }
  header nav a { font-size: 14px; }
}

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

/* Form inputs - prevent iOS zoom */
input, textarea, select {
  font-size: max(16px, 1rem);
}

/* Touch targets */
a, button, input[type="submit"] {
  min-height: 44px;
}
