/* WorkSignals company pages (Cloudflare Pages Functions) shared styles.
   These pages are plain HTML (not React), so styling is done with a small
   hand-written stylesheet instead of Tailwind classes. Visual intent matches
   the previous Next.js-rendered company pages. */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f8fafc; /* slate-50 */
  color: #020617; /* slate-950 */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.page-container {
  max-width: 64rem;
  margin: 0 auto;
  padding: 2.5rem 1rem;
}

.card {
  background: #fff;
  border: 1px solid #e2e8f0; /* slate-200 */
  border-radius: 1.5rem;
  padding: 1.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  margin-bottom: 2rem;
}

.header-card h1 {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 1rem 0 0;
}

.lede {
  margin-top: 1rem;
  max-width: 48rem;
  color: #475569; /* slate-600 */
  line-height: 1.7;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.pill {
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #475569;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.75rem;
}

.pill-dark {
  background: #020617;
  color: #fff;
  border-color: #020617;
  font-weight: 600;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  padding: 0.375rem;
  margin-bottom: 2rem;
  width: fit-content;
}

.tab {
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
}

.tab:hover {
  background: #f1f5f9;
}

.tab-active {
  background: #020617;
  color: #fff;
}

.card-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.badge {
  background: #d1fae5;
  color: #065f46;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}

.job-list {
  display: grid;
  gap: 0.75rem;
}

.job-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: space-between;
  padding: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
}

.job-row h3 {
  margin: 0;
}

.job-meta {
  font-size: 0.875rem;
  color: #64748b;
  margin-top: 0.25rem;
}

.muted {
  color: #94a3b8;
  text-transform: capitalize;
}

.btn-outline {
  align-self: flex-start;
  padding: 0.5rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  background: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  color: #020617;
}

.btn-dark {
  display: inline-flex;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  background: #020617;
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
}

.callout {
  margin-top: 1.25rem;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 1rem;
  padding: 1rem;
  font-size: 0.875rem;
  color: #78350f;
}

.callout a {
  color: inherit;
  text-decoration: underline;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .signal-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.signal-pill {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1rem;
}

.signal-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #94a3b8;
}

.signal-value {
  margin-top: 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  text-transform: capitalize;
}

.cta-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

.cta-card p {
  color: #475569;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.related-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.related-pill {
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #334155;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  text-decoration: none;
}

.related-pill:hover {
  background: #f1f5f9;
}

.prep-text {
  line-height: 1.7;
  color: #334155;
  white-space: pre-wrap;
}

.not-found {
  max-width: 48rem;
  margin: 4rem auto;
  text-align: center;
}
