/* Analog Music Distribution Equity - Styles */
* { box-sizing: border-box; }
html { font-size: 16px; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background: #fafafa;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.site-header {
  background: #2c3e50;
  color: white;
  padding: 1rem 0;
  border-bottom: 4px solid #e74c3c;
}
.site-header h1 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}
.main-nav {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.5rem;
}
.main-nav a {
  color: #ecf0f1;
  text-decoration: none;
  font-size: 0.9rem;
  transition: opacity 0.2s;
}
.main-nav a:hover { opacity: 0.8; }
.main-nav a.active { text-decoration: underline; }
.hero-section {
  padding: 2rem 0;
}
.hero-section h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #2c3e50;
}
.hero-section p {
  color: #555;
  margin-bottom: 1.5rem;
}
.calculator-form {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  color: #333;
}
.form-group input {
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.2s;
}
.form-group input:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}
.presets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.presets button {
  padding: 0.4rem;
  font-size: 0.8rem;
  background: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}
.presets button:hover { background: #e0e0e0; }
.calc-button {
  background: #3498db;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.2s;
  margin-top: 1rem;
}
.calc-button:hover { background: #2980b9; }
.results-section {
  padding: 2rem 0;
  background: white;
  margin: 2rem 0;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.results-section h2 {
  font-size: 1.75rem;
  color: #2c3e50;
  margin-bottom: 1.5rem;
}
.result-card {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  border-left: 4px solid #3498db;
}
.result-card.vinyl { border-left-color: #e74c3c; }
.result-card.cassette { border-left-color: #2ecc71; }
.result-card.cd { border-left-color: #9b59b6; }
.result-card h3 {
  margin: 0 0 0.75rem 0;
  font-size: 1.1rem;
  color: #2c3e50;
}
.result-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
.result-item {
  display: flex;
  justify-content: space-between;
}
.result-item .label { color: #666; font-size: 0.9rem; }
.result-item .value { font-weight: 500; }
.result-item.total { border-top: 1px solid #ddd; padding-top: 0.5rem; margin-top: 0.5rem; }
.money { color: #27ae60; font-weight: 600; }
.result-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
}
.result-actions button {
  padding: 0.5rem 1rem;
  border: 1px solid #3498db;
  background: white;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s;
}
.result-actions button:hover { background: #3498db; color: white; }
.case-studies { padding: 2rem 0; }
case-studies h2 { font-size: 1.75rem; color: #2c3e50; margin-bottom: 1.5rem; }
.case-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.case-card {
  background: white;
  padding: 1.25rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.case-card h3 { margin: 0 0 0.75rem 0; font-size: 1.1rem; color: #2c3e50; }
.case-card p { margin: 0.25rem 0; font-size: 0.9rem; }
.assumptions, .faq-section { padding: 1.5rem 0; }
.assumptions h2, .faq-section h2 { font-size: 1.75rem; color: #2c3e50; margin-bottom: 1rem; }
.assumptions ul, .faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.assumptions li { padding: 0.75rem; background: #f8f9fa; border-radius: 6px; }
.faq-item { padding: 1rem; background: #f8f9fa; border-radius: 6px; }
.faq-item h4 { margin: 0 0 0.5rem 0; font-size: 1rem; color: #2c3e50; }
.faq-item p { margin: 0; font-size: 0.9rem; color: #555; }
.site-footer {
  background: #2c3e50;
  color: #bdc3c7;
  padding: 1rem 0;
  margin-top: 2rem;
}
.site-footer a { color: #bdc3c7; text-decoration: underline; }
.site-footer p { font-size: 0.85rem; margin: 0; }
.ad-slot-reserve { background: #ecf0f1; border: 1px dashed #bdc3c7; border-radius: 4px; padding: 1rem; text-align: center; color: #7f8c8d; font-size: 0.85rem; margin: 1rem 0; }
@media (max-width: 768px) {
  .site-header h1 { font-size: 1.25rem; }
  .main-nav { gap: 1rem; }
  .form-grid { grid-template-columns: 1fr; }
  .result-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
}



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