/* E-Scooter Safety Gear Comparator Styles */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; line-height: 1.6; color: #333; background: #fff; }
a { color: #2563eb; text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1200px; margin: 0 auto; padding: 1rem; }

.site-header { background: linear-gradient(135deg, #1e40af, #3b82f6); color: white; padding: 1rem 0; margin-bottom: 2rem; }
.site-header h1 { font-size: 1.8rem; margin-bottom: 0.5rem; }
.nav { display: flex; gap: 1.5rem; }
.nav a { color: rgba(255,255,255,0.9); font-weight: 500; }
.nav a:hover { color: white; }

.hero { text-align: center; padding: 2rem 0; margin-bottom: 2rem; }
.tagline { font-size: 1.5rem; font-weight: 700; color: #1e40af; margin-bottom: 0.5rem; }

.filters-section { background: #f8fafc; padding: 1.5rem; border-radius: 8px; margin-bottom: 2rem; border: 1px solid #e2e8f0; }
.filter-group { margin-bottom: 1rem; }
.filter-group label { display: block; font-weight: 600; margin-bottom: 0.5rem; color: #1e293b; }
.filter-group input[type="range"] { width: 100%; margin: 0.5rem 0; }
.range-values { display: flex; justify-content: space-between; font-size: 0.875rem; color: #64748b; }
.product-selectors { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.selector select { width: 100%; padding: 0.75rem; border: 1px solid #cbd5e1; border-radius: 6px; background: white; }

.compare-section { margin-bottom: 2rem; }
.comparison-table { width: 100%; border-collapse: collapse; margin: 1rem 0; background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.comparison-table th, .comparison-table td { padding: 1rem; text-align: left; border-bottom: 1px solid #f1f5f9; }
.comparison-table th { background: #f8fafc; font-weight: 600; color: #475569; }
.comparison-table tr:hover { background: #f8fafc; }
.action-buttons { display: gap: 0.5rem; flex-wrap: wrap; margin: 1.5rem 0; }
.action-buttons button { padding: 0.75rem 1.5rem; background: #2563eb; color: white; border: none; border-radius: 6px; cursor: pointer; font-weight: 500; }
.action-buttons button:hover { background: #1d4ed8; }
.action-buttons button:focus { outline: 2px solid #2563eb; outline-offset: 2px; }

.guide-section .grid-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.guide-card { background: white; padding: 1.5rem; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.guide-card h3 { color: #1e40af; margin-bottom: 0.75rem; font-size: 1.1rem; }
.guide-card ul { padding-left: 1.25rem; }
.guide-card li { margin-bottom: 0.5rem; }

.faq-section .faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.faq-item { background: white; padding: 1.25rem; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.faq-item h4 { color: #1e40af; font-size: 1rem; margin-bottom: 0.5rem; }

.warnings-section { background: #fffbeb; border: 1px solid #fcd34d; padding: 1.25rem; border-radius: 8px; margin-top: 2rem; }
.warnings-section h2 { color: #92400e; margin-bottom: 1rem; font-size: 1.25rem; }

.site-footer { background: #1e293b; color: #cbd5e1; padding: 1.5rem 0; margin-top: 2rem; font-size: 0.875rem; }
.site-footer a { color: #3b82f6; }

@media (max-width: 768px) {
  .site-header h1 { font-size: 1.4rem; }
  .nav { gap: 1rem; font-size: 0.875rem; }
  .tagline { font-size: 1.25rem; }
  .product-selectors { grid-template-columns: 1fr; }
  .comparison-table { font-size: 0.9rem; }
  .comparison-table th, .comparison-table td { padding: 0.75rem; }
}
@media (max-width: 480px) {
  .container { padding: 0.75rem; }
  .site-header { padding: 0.75rem 0; }
  .filters-section, .guide-card, .faq-item { padding: 1rem; }
}


/* Factory-injected deployment helpers. The AI owns the site design above this block. */
.ad-unit {
  width: min(100%, 720px);
  min-height: 120px;
  margin: 24px auto;
  display: block;
}

.legal-page {
  width: min(900px, calc(100% - 32px));
  margin: 40px auto;
}

.factory-fallback-nav {
  width: min(900px, calc(100% - 32px));
  margin: 24px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  font-size: 0.95rem;
}

.factory-fallback-nav a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
