/* Supercars Race Day Planner Styles */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-size: 16px; line-height: 1.5; }
body { color: #1a1a1a; background: #f8f9fa; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
a { color: #d32f2f; text-decoration: none; }
 a:hover { text-decoration: underline; }
header { background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%); color: white; padding: 1rem 0; }
header .tagline { font-size: 0.9rem; opacity: 0.9; }
nav a { margin-right: 1.5rem; font-weight: 500; }
nav a:hover { opacity: 0.8; }
main { padding: 2rem 0; }
.hero { text-align: center; padding: 2rem 0; background: white; margin-bottom: 2rem; }
.hero h2 { font-size: 2rem; margin-bottom: 0.5rem; color: #1a1a1a; }
.hero p { color: #666; }
.planner-section { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 3rem; }
.planner-card { background: white; border-radius: 12px; padding: 2rem; box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; }
.form-group input, .form-group select { width: 100%; padding: 0.75rem; border: 1px solid #ddd; border-radius: 6px; font-size: 1rem; }
.form-group small { color: #666; margin-top: 0.25rem; }
.btn-primary { background: #d32f2f; color: white; border: none; padding: 0.875rem 1.5rem; border-radius: 6px; font-size: 1rem; font-weight: 500; cursor: pointer; width: 100%; }
.btn-primary:hover { background: #b71c1c; }
.results-section h3 { margin-bottom: 1rem; color: #1a1a1a; }
.schedule-card { background: #fff8e1; border-radius: 8px; padding: 1.5rem; border-left: 4px solid #d32f2f; }
.empty-state { text-align: center; color: #666; padding: 2rem; }
.benefits-section { background: white; padding: 2.5rem 0; margin-bottom: 3rem; }
.benefits-section h2 { text-align: center; margin-bottom: 2rem; color: #1a1a1a; }
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.benefit-card { background: #fff; border-radius: 8px; padding: 1.5rem; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.benefit-card h3 { color: #d32f2f; margin-bottom: 0.75rem; }
.examples-section { padding: 2.5rem 0; margin-bottom: 3rem; }
.examples-section h2 { text-align: center; margin-bottom: 2rem; color: #1a1a1a; }
.example-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.example-card { background: white; border-radius: 8px; padding: 1.5rem; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.example-card h3 { color: #1a1a1a; margin-bottom: 0.5rem; font-size: 1.05rem; }
.tips-section { background: #e3f2fd; padding: 2rem 0; }
.tips-section h2 { text-align: center; margin-bottom: 1.5rem; color: #1a1a1a; }
.tips-list { list-style: none; max-width: 800px; margin: 0 auto; }
.tips-list li { padding: 1rem; margin-bottom: 0.75rem; background: white; border-radius: 8px; }
.tips-list li strong { color: #d32f2f; }
.ad-slot { min-height: 120px; display: flex; align-items: center; justify-content: center; background: #e0e0e0; border-radius: 8px; }
.ad-slot.placeholder { font-size: 0.8rem; color: #666; }
footer { background: #1a1a1a; color: #aaa; padding: 1rem 0; text-align: center; font-size: 0.9rem; }
footer a { color: #aaa; }
@media (max-width: 768px) { 
.planner-section { grid-template-columns: 1fr; }
.hero h2 { font-size: 1.5rem; }
}
@media (max-width: 480px) { 
header nav a { margin-right: 0.75rem; font-size: 0.9rem; }
}



/* 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;
}
