* {margin:0;padding:0;box-sizing:border-box;}
body {font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;line-height:1.6;color:#333;background:#fff;}
.container {max-width:1200px;margin:0 auto;padding:1rem;}
header {background:linear-gradient(135deg,#1a1a2e,#16213e);color:#fff;padding:2rem 0;border-bottom:3px solid #e94560;}
header h1 {font-size:2.5rem;margin-bottom:0.5rem;}
header .tagline {font-size:1.2rem;opacity:0.9;margin-bottom:1rem;}
nav a {color:#fff;margin-right:1.5rem;text-decoration:none;padding:0.5rem 1rem;border-radius:4px:hover:background:rgba(255,255,255,0.1);}
main {padding:2rem 0;}
h2 {font-size:1.8rem;margin-bottom:1rem;color:#1a1a2e;}
h3 {font-size:1.4rem;margin:1.5rem 0 1rem;color:#333;}
h4 {font-size:1.1rem;margin:1rem 0 0.5rem;color:#666;}
.calculator-section {background:#f8f9fa;padding:2rem;border-radius:12px;margin-bottom:2rem;}
.inputs-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem;}
.input-group {background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 2px 4px rgba(0,0,0,0.1);}
.input-group label {display:block;margin-bottom:0.5rem;font-weight:600;color:#333;}
.input-group input, .input-group select {width:100%;padding:0.75rem;border:2px solid #e0e0e0;border-radius:6px;font-size:1rem;background:#fff;}
.input-group input:focus, .input-group select:focus {outline:none;border-color:#e94560;}
.calculate-btn {width:100%;padding:1rem;margin-top:1rem;background:#e94560;color:#fff;border:none;border-radius:8px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:all 0.2s;}
.calculate-btn:hover {background:#c73d52;transform:translateY(-2px);}
.calculate-btn:active {transform:translateY(0);}
.results {background:#fff;padding:2rem;border-radius:8px;margin-top:1.5rem;box-shadow:0 4px 12px rgba(0,0,0,0.1);}
.calorie-display {font-size:3rem;text-align:center;margin:1rem 0;}
.calorie-number {color:#e94560;font-weight:700;}
.calorie-unit {font-size:1.2rem;color:#666;margin-left:0.5rem;}
.met-info {text-align:center;color:#666;margin:1rem 0;}
.fitness-context h4 {margin:1.5rem 0 0.5rem;color:#333;}
.fitness-context p {text-align:center;color:#555;}
.share-controls {display:flex;gap:0.75rem;margin-top:1.5rem;}
.share-btn {flex:1;padding:0.75rem;background:#1a1a2e;color:#fff;border:none;border-radius:6px;cursor:pointer;transition:background 0.2s;}
.share-btn:hover {background:#e94560;}
.hidden {display:none;}
.how-it-works, .examples, .faq-section {margin:2.5rem 0;padding:1.5rem;background:#fff;border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,0.05);}
.scenario-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin-top:1rem;}
.scenario-card {background:#f8f9fa;padding:1.5rem;border-radius:8px;}
.scenario-card h4 {color:#e94560;margin-bottom:0.5rem;}
.scenario-card .result {margin-top:0.5rem;color:#333;}
.faq-item {padding:1rem;border-bottom:1px solid #eee;}
.faq-item:last-child {border-bottom:none;}
.faq-item h3 {font-size:1rem;margin-bottom:0.5rem;color:#333;}
.faq-item p {color:#666;}
footer {background:#1a1a2e;color:#fff;padding:2rem 0;border-top:3px solid #e94560;}
footer a {color:#e94560;text-decoration:none;}
footer a:hover {text-decoration:underline;}
@media (max-width:768px) {
header h1 {font-size:1.8rem;}
header .tagline {font-size:1rem;}
nav a {margin-right:0.75rem;padding:0.25rem 0.75rem;font-size:0.9rem;}
main {padding:1rem;}
.calculator-section,.how-it-works,.examples,.faq-section {padding:1.25rem;}
.inputs-grid {grid-template-columns:1fr;}
.share-controls {flex-direction:column;}
}
@media (max-width:480px) {
header {padding:1rem 0;}
header h1 {font-size: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;
}
