/* Chain Grease Matchmaker Styles */
* {box-sizing:border-box;margin:0;padding:0;}
html {font-size:16px;scroll-behavior:smooth;}
body {
font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
line-height:1.6;color:#333;background:#fafafa;
}
.container {max-width:1200px;margin:0 auto;padding:0 1rem;}
.site-header {
background:linear-gradient(135deg,#1a365d,#2c5282);
color:#fff;padding:1rem 0;border-bottom:3px solid #4a5568;
}
.site-title {font-size:1.75rem;font-weight:700;margin-bottom:0.5rem;}
.site-nav {display:flex gap:1.5rem;}
.nav-link {
color:#e2e8f0;text-decoration:none;font-weight:500;
padding:0.25rem 0.5rem;border-radius:4px;
transition:background-color 0.2s;
}
.nav-link:hover,.nav-link:focus {background:rgba(255,255,255,0.1);outline:2px solid #63b3ed;}
.matchmaker-hero {padding:2rem 0;text-align:center;}
.matchmaker-hero h2 {font-size:2rem;margin-bottom:0.5rem;color:#1a202c;}
.hero-sub {font-size:1.1rem;color:#4a5568;margin-bottom:2rem;}
.match-inputs {display:grid gap:1.5rem;max-width:600px;margin:0 auto;}
.input-group {display:flex;flex-direction:column;gap:0.5rem;}
.input-label {font-weight:600;color:#2d3748;font-size:0.95rem;}
.chain-select,.budget-slider {
padding:0.75rem;border:2px solid #e2e8f0;border-radius:6px;
font-size:1rem;background:#fff;}
.chain-select:focus {outline:2px solid #4299e1;border-color:#4299e1;}
.condition-group {display:grid grid-template-columns:repeat(2,1fr);gap:0.75rem;}
.condition-option {display:flex;align-items:center;gap:0.5rem;padding:0.5rem;background:#fff;border:1px solid #e2e8f0;border-radius:4px;cursor:pointer;transition:all 0.15s;}
.condition-option input {width:18px;height:18px;}
.condition-option:hover {background:#edf2f7;border-color:#90cdf4;}
.condition-option input:checked + span {background:#4299e1;color:#fff;}
.wet-flag {background:#ebf8ff;border-color:#90cdf4;}
.cold-flag {background:#fff5e6;border-color:#ed8936;}
.hot-flag {background:#fff0f5;border-color:#ed4a5a;}
.budget-group {align-items:center;}
#budget-value {font-weight:600;color:#2c5282;}
.results-section {padding:1.5rem 0;}
#results-container {display:grid gap:1rem;}
.result-placeholder {text-align:center;padding:2rem;color:#718096;}
.result-card {
background:#fff;border-left:4px solid #4299e1;padding:1rem;
shadow:0 2px 4px rgba(0,0,0,0.05);border-radius:4px;
}
.result-card h4 {color:#2c5282;margin-bottom:0.5rem;font-size:1.1rem;}
.result-card p {color:#4a5568;font-size:0.95rem;}
.result-card .temp-range {font-weight:500;color:#2d3748;}
.supporting-content {padding:2rem 0;background:#f7fafc;}
supporting-content h3 {font-size:1.5rem;margin-bottom:1rem;color:#1a202c;}
supporting-content h4 {font-size:1.1rem;margin:1.5rem 0 0.75rem;color:#2d3748;}
supporting-content ul {padding-left:1.5rem;margin-bottom:1rem;}
supporting-content li {margin-bottom:0.5rem;color:#4a5568;}
.temp-table {width:100%;border-collapse:collapse;background:#fff;}
.temp-table th,.temp-table td {padding:0.75rem;text-align:left;border-bottom:1px solid #e2e8f0;}
.temp-table th {background:#edf2f7;color:#2c5282;font-weight:600;}
temp-table tr:hover {background:#f7fafc;}
.ad-slot-placeholder {text-align:center;padding:1rem 0;}
.site-footer {
background:#1a365d;color:#cbd5e0;padding:1.5rem 0;
border-top:2px solid #2c5282;
}
.site-footer a {color:#90cdf4;text-decoration:none;}
.site-footer a:hover {text-decoration:underline;}
@media (max-width:768px) {
.match-inputs {flex-direction:column;}
.condition-group {grid-template-columns:1fr;}
.chain-select {max-width:400px;margin:0 auto;}
}
@media (max-width:480px) {
.site-nav {flex-direction:column;gap:0.75rem;}
.condition-group {grid-template-columns:1fr;}
.temp-table {font-size:0.85rem;}
.temp-table th,.temp-table td {padding:0.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;
}
