/* Reset and base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background: #faf9f7;
  padding: 0 1rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  padding: 1rem 0;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0b3d2e;
  text-decoration: none;
}

.site-nav a {
  margin-left: 1.5rem;
  color: #333;
  text-decoration: none;
  font-size: 0.95rem;
}

.site-nav a:hover {
  text-decoration: underline;
}

/* Main sections */
main {
  padding: 2rem 0;
}

.hero {
  margin-bottom: 2.5rem;
}

.hero h1 {
  font-size: 2.2rem;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  color: #0b3d2e;
}

.lede {
  font-size: 1.1rem;
  color: #4a4a4a;
  max-width: 700px;
}

.tool-panel, .results-panel, .supporting-content {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.section-title {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #0b3d2e;
}

/* Input area */
.skill-input-area {
  margin-bottom: 1.5rem;
}

.input-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.input-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

#skill-input {
  flex: 1;
  padding: 0.6rem 0.8rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

.btn {
  padding: 0.6rem 1rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
}

.btn-primary {
  background: #0b3d2e;
  color: #fff;
}

.btn-primary:hover {
  background: #0a2f24;
}

.btn-secondary {
  background: #eef2f1;
  color: #0b3d2e;
  border: 1px solid #ccc;
}

.btn-secondary:hover {
  background: #e0e8e5;
}

.preset-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.preset-label {
  font-size: 0.9rem;
  color: #555;
}

.preset-btn {
  background: #f0f4f3;
  border: 1px solid #ccc;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9rem;
}

.preset-btn:hover {
  background: #dce5e2;
}

/* Skill list */
.skill-list-area {
  margin-bottom: 1rem;
}

.subheading {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.skill-list {
  list-style: none;
  margin-bottom: 1rem;
}

.skill-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.remove-skill {
  background: none;
  border: none;
  color: #a00;
  cursor: pointer;
  font-size: 1rem;
  padding: 0 0.5rem;
}

.empty-state {
  color: #777;
  font-style: italic;
}

.skill-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Results */
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.industry-card {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 1rem;
  background: #f9faf9;
}

.industry-card h3 {
  margin-bottom: 0.5rem;
  color: #0b3d2e;
}

.match-percentage {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.transferable-skills {
  font-size: 0.9rem;
  color: #444;
}

.demand-outlook {
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.results-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Supporting content */
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.content-block h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #0b3d2e;
}

.content-block p, .content-block li {
  margin-bottom: 0.5rem;
}

.content-block ul {
  padding-left: 1.5rem;
}

/* Footer */
.site-footer {
  background: #ffffff;
  border-top: 1px solid #e5e5e5;
  padding: 1.5rem 0;
  margin-top: 2rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: #555;
}

.footer-inner a {
  color: #0b3d2e;
  text-decoration: none;
}

.footer-inner a:hover {
  text-decoration: underline;
}

.version {
  font-size: 0.8rem;
  color: #888;
}

/* Responsive */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .site-nav {
    margin-top: 0.5rem;
  }
  .site-nav a {
    margin-left: 0;
    margin-right: 1rem;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
  .input-row {
    flex-direction: column;
  }
  .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.5rem;
  }
  .tool-panel, .results-panel, .supporting-content {
    padding: 1rem;
  }
}



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