/* Sports Contract Value Analyzer Styles */
* { box-sizing: border-box; }
html { font-size: 100%; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; line-height: 1.6; color: #1a1a1a; background: #f8f9fa; }
a { color: #2563eb; text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
header { background: #1e293b; color: white; padding: 1rem 0; }
header h1 { margin: 0; font-size: 1.5rem; }
nav a { margin-right: 1.5rem; font-size: 0.9rem; }
nav a:last-child { margin-right: 0; }
.hero { background: linear-gradient(135deg, #3b82f6, #1d4ed8); color: white; padding: 3rem 0 2rem; text-align: center; }
.hero h2 { margin-top: 0; font-size: 2rem; }
.hero p { opacity: 0.95; }
main { padding: 2rem 0; }
section { margin-bottom: 2.5rem; }
h2, h3, h4 { color: #0f172a; line-height: 1.3; }
form { background: white; padding: 2rem; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.field-group { margin-bottom: 1.5rem; }
.field-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; }
.field-group input, .field-group select { width: 100%; padding: 0.75rem; border: 1px solid #d1d5db; border-radius: 4px; font-size: 1rem; }
.field-group input:focus, .field-group select:focus { outline: 2px solid #3b82f6; border-color: #3b82f6; }
#analyze-btn { width: 100%; padding: 1rem; background: #2563eb; color: white; border: none; border-radius: 4px; font-size: 1.1rem; cursor: pointer; }
#analyze-btn:hover { background: #1d4ed8; }
#analyze-btn:focus { outline: 2px solid #2563eb; }
.results { background: #f1f5f9; padding: 2rem; border-radius: 8px; margin-top: 1rem; }
.metrics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.metric-card { background: white; padding: 1.25rem; border-radius: 6px; text-align: center; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.metric-label { display: block; font-size: 0.85rem; color: #64748b; margin-bottom: 0.5rem; }
.metric-value { font-size: 1.5rem; font-weight: 700; color: #1e293b; }
.comparison-section { background: white; padding: 1.5rem; border-radius: 6px; margin-bottom: 1.5rem; }
.actions { display: flex; gap: 0.75rem; margin-bottom: 1rem; }
.actions button { padding: 0.75rem 1.5rem; border: 1px solid #3b82f6; background: white; color: #2563eb; border-radius: 4px; cursor: pointer; }
.actions button:hover { background: #eff6ff; }
#presets, #examples { margin-top: 2rem; }
.preset-grid { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.preset-btn { padding: 0.75rem 1.25rem; background: #eff6ff; border: 1px solid #3b82f6; border-radius: 4px; color: #2563eb; cursor: pointer; }
.preset-btn:hover { background: #dbeafe; }
#examples table { width: 100%; border-collapse: collapse; background: white; border-radius: 6px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
#examples th, #examples td { padding: 1rem; text-align: left; border-bottom: 1px solid #e2e8f0; }
#examples th { background: #f8fafc; font-weight: 600; }
#examples tr:last-child td { border-bottom: none; }
.note { color: #64748b; font-size: 0.9rem; margin-top: 0.5rem; }
.guide-section { background: white; padding: 2rem; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.guide-section ul { padding-left: 1.5rem; }
.guide-section li { margin-bottom: 0.75rem; }
footer { background: #1e293b; color: #94a3b8; padding: 1.5rem 0; font-size: 0.9rem; }
footer a { color: #cbd5e1; }
@media (max-width: 768px) { .hero { padding: 2rem 0 1.5rem; }
.hero h2 { font-size: 1.5rem; }
form { padding: 1.5rem; }
.metric-value { font-size: 1.25rem; }
.actions { flex-direction: column; }
.actions button { width: 100%; }
#examples th, #examples td { padding: 0.75rem; }
.guide-section { padding: 1.5rem; }
}



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