/* Recession-Proof Skill Identifier - 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, Oxygen, Ubuntu, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background: #f8f9fa;
}
.container { max-width: 900px; margin: 0 auto; padding: 0 1.5rem; }
.site-header { background: #2c3e50; color: white; padding: 1rem 0; }
.site-title { font-size: 1.8rem; margin-bottom: 0.5rem; }
.site-nav a {
  color: #ecf0f1;
  text-decoration: none;
  margin-left: 1.5rem;
  font-size: 0.9rem;
  transition: opacity 0.2s;
}
.site-nav a:hover { opacity: 0.8; }
.site-nav a.active { opacity: 1; font-weight: 600; }
.intro, .assessment-panel, .results-panel, .supporting-content, .faq-section {
  background: white;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.intro { display: flex; flex-direction: column; align-items: center; text-align: center; }
h2 { font-size: 1.5rem; margin-bottom: 1rem; color: #2c3e50; }
h3 { font-size: 1.2rem; margin: 1.2rem 0 0.8rem; color: #34495e; }
h4 { font-size: 1rem; margin: 0.8rem 0 0.5rem; color: #555; }
ul, ol { margin-left: 1.5rem; line-height: 1.8; }
.quick-start { margin-top: 1rem; }
.primary-btn, .secondary-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s, transform 0.1s;
}
.primary-btn { background: #3498db; color: white; }
.primary-btn:hover { background: #2980b9; }
.secondary-btn { background: #95a5a6; color: white; }
.secondary-btn:hover { background: #7f8c8d; }
.secondary-btn:active { transform: scale(0.98); }
.form-group { margin-bottom: 1.2rem; }
label { display: block; margin-bottom: 0.3rem; font-weight: 500; color: #333; }
input[type="text"] {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.2s;
}
input[type="text"]:focus { outline: none; border-color: #3498db; box-shadow: 0 0 0 2px rgba(52,152,219,0.2); }
.hint { font-size: 0.8rem; color: #777; margin-top: 0.3rem; }
.form-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.hidden { display: none; }
.results-panel h2 { font-size: 1.4rem; }
#resultsContent { padding: 1rem 0; }
.result-card {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  border-left: 4px solid #3498db;
}
.result-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; color: #2c3e50; }
.result-card ul { margin-left: 1rem; }
.result-card li { margin-bottom: 0.3rem; }
.results-actions { display: flex; gap: 0.75rem; margin-top: 1rem; flex-wrap: wrap; }
.presets { text-align: center; }
.presets h3 { font-size: 1.1rem; margin-bottom: 0.8rem; }
.preset-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0.75rem; }
.preset-btn {
  background: #ecf0f1;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.preset-btn:hover { background: #dee2e6; }
.preset-btn:active { transform: scale(0.98); }
.preset-btn span { display: block; font-size: 0.75rem; color: #666; font-weight: normal; }
.presets .small { font-size: 0.75rem; color: #666; }
.presets .small:first-child { margin-top: 0.2rem; }
.supported-content h2, .supporting-content h3 { color: #2c3e50; }
.supporting-content ul { margin-left: 1.5rem; line-height: 1.8; }
.supporting-content li { margin-bottom: 0.5rem; }
.faq-section { background: #f8f9fa; }
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; }
.faq-item { background: white; padding: 1rem; border-radius: 6px; box-shadow: 0 1px 4px rgba(0,0,0,0.05); }
.site-footer { background: #34495e; color: #bdc3c7; padding: 1.5rem 0; text-align: center; margin-top: 2rem; }
.footer-note { font-size: 0.9rem; margin-bottom: 0.5rem; }
.footer-note a { color: #ecf0f1; text-decoration: underline; }
.site-version { font-size: 0.8rem; color: #7f8c8d; }
.ad-slot-container { margin: 2rem auto; text-align: center; }
@media (min-width: 768px) {
  .site-title { font-size: 2rem; }
  .site-nav { flex-direction: row; }
  .form-row { flex-direction: row; }
  .results-actions { flex-direction: row; }
  .faq-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .container { max-width: 960px; }
  .preset-grid { grid-template-columns: repeat(4, 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;
}
