*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #fff;
  color: #1a1a2e;
  line-height: 1.6;
  min-height: 100vh;
}

/* ── Site navigation ── */
.site-nav {
  border-bottom: 1px solid #f0f0f5;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-nav-logo img {
  display: block;
}

.site-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b7280;
  text-decoration: none;
  transition: color 0.15s;
}

.site-nav-links a:hover,
.site-nav-links a.active {
  color: #1a1a2e;
}

.site-nav-links .nav-cta.active,
.site-nav-links .nav-cta:active {
  color: #fff;
}

.site-nav-links .nav-cta {
  background: #1a1a2e;
  color: #fff;
  padding: 7px 16px;
  border-radius: 8px;
  font-weight: 500;
}

.site-nav-links .nav-cta:hover {
  background: #2d2d44;
  color: #fff;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

.hero {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #e5e7eb;
}

.hero-left {
  flex: 1.4;
}

.hero-eyebrow {
  font-size: 0.95rem;
  color: #6b7280;
  margin-bottom: 16px;
}

.hero-headline {
  font-size: 3rem;
  font-weight: 300;
  color: #1a1a2e;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-right {
  flex: 0.8;
  padding-top: 48px;
}

.hero-right p {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.7;
}

.meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 12px;
}

.meta-bar .job-count {
  font-size: 0.9rem;
  color: #6b7280;
}

.meta-bar .last-updated {
  font-size: 0.85rem;
  color: #9ca3af;
}


.search-wrapper {
  margin-bottom: 24px;
}

.search-wrapper input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  color: #1a1a2e;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-wrapper input::placeholder {
  color: #9ca3af;
}

.search-wrapper input:focus {
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

/* ── Job list ── */
.jobs-list {
  border-top: 1px solid #f0f0f5;
}

.job-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid #f0f0f5;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.12s;
}

.job-row:hover {
  background-color: #faf8ff;
  margin: 0 -12px;
  padding-left: 12px;
  padding-right: 12px;
  border-radius: 8px;
}

.job-row-left {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  flex: 1;
}

.job-logo-wrap {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
}

.job-logo {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: contain;
  background: #f9fafb;
  border: 1px solid #f0f0f5;
}

.job-logo-fallback {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 1rem;
  color: #fff;
}

.job-row-info {
  min-width: 0;
}

.job-row-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: #1a1a2e;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
}

.job-row-meta {
  font-size: 0.82rem;
  color: #6b7280;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5;
}

.meta-dot {
  color: #c0c5ce;
  font-size: 1.8em;
  margin: 0 6px;
  vertical-align: middle;
  line-height: 0;
}

.meta-salary {
  color: #1a1a2e;
}

.job-row-right {
  text-align: right;
  flex-shrink: 0;
}

.job-row-location {
  font-size: 0.85rem;
  color: #1a1a2e;
  white-space: nowrap;
}

.job-row-date {
  font-size: 0.78rem;
  color: #9ca3af;
  white-space: nowrap;
}

.no-results {
  text-align: center;
  padding: 48px 20px;
  color: #9ca3af;
  font-size: 1rem;
}

/* ── Browse by category ── */
.browse-categories {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #f0f0f5;
}

.browse-categories h2 {
  font-size: 1.15rem;
  font-weight: 500;
  color: #1a1a2e;
  margin-bottom: 16px;
}

.category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.category-link {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #374151;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  text-decoration: none;
  transition: border-color 0.15s, background-color 0.15s;
}

.category-link:hover {
  border-color: #7c3aed;
  background: #faf8ff;
}

.category-link span {
  color: #9ca3af;
  font-weight: 400;
}

/* ── Category pages ── */
.category-hero {
  margin-bottom: 32px;
}

.category-hero h1 {
  font-size: 1.75rem;
  font-weight: 500;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.category-hero p {
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.6;
  max-width: 640px;
  margin-bottom: 12px;
}

.category-count {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  color: #7c3aed;
  background: #f5f3ff;
  padding: 4px 12px;
  border-radius: 9999px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.category-card {
  display: block;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.category-card:hover {
  border-color: #7c3aed;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.08);
}

.category-card h3 {
  font-size: 1.05rem;
  font-weight: 500;
  color: #1a1a2e;
  margin-bottom: 6px;
}

.category-card p {
  font-size: 0.85rem;
  color: #6b7280;
  line-height: 1.5;
  margin-bottom: 12px;
}

/* ── Detail page ── */
.detail-page {
  max-width: 1100px;
}

.detail-page-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}

.breadcrumb {
  margin-bottom: 28px;
  font-size: 0.85rem;
  color: #9ca3af;
}

.breadcrumb a {
  color: #6b7280;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  color: #1a1a2e;
  font-weight: 500;
}

.detail-main {
  min-width: 0;
}

.detail-company-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.detail-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: contain;
  background: #f9fafb;
  border: 1px solid #f0f0f5;
}

.detail-logo-fallback {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}

.detail-company-name {
  font-size: 1rem;
  font-weight: 500;
  color: #1a1a2e;
}

.detail-title {
  font-size: 1.75rem;
  font-weight: 500;
  color: #1a1a2e;
  line-height: 1.25;
  margin-bottom: 12px;
}

.detail-meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 20px;
}

.detail-meta-line .meta-dot {
  color: #c0c5ce;
  font-size: 1.8em;
  margin: 0 8px;
  vertical-align: middle;
  line-height: 0;
}

.detail-meta-salary {
  color: #1a1a2e;
  font-weight: 500;
}

.detail-meta-location {
  color: #6b7280;
}

.detail-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.pill {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 400;
  border: 1px solid #e5e7eb;
  color: #374151;
  background: #fff;
  line-height: 1.4;
}

.job-description {
  line-height: 1.75;
  color: #374151;
  font-size: 0.95rem;
}

.job-description h1,
.job-description h2,
.job-description h3,
.job-description h4 {
  color: #1a1a2e;
  margin: 1.5em 0 0.5em;
  line-height: 1.3;
}

.job-description h1 { font-size: 1.3rem; }
.job-description h2 { font-size: 1.15rem; }
.job-description h3 { font-size: 1.05rem; }

.job-description p {
  margin-bottom: 0.75em;
}

.job-description ul,
.job-description ol {
  margin: 0.5em 0 1em 1.5em;
}

.job-description li {
  margin-bottom: 0.35em;
}

.job-description a {
  color: #7c3aed;
}

.detail-sidebar {
  position: sticky;
  top: 72px;
}

.apply-button {
  display: block;
  text-align: center;
  background: #1a1a2e;
  color: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.15s;
  margin-bottom: 20px;
}

.apply-button:hover {
  background: #2d2d44;
}

.sidebar-card {
  background: #f9fafb;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid #f0f0f5;
}

.sidebar-card-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: #1a1a2e;
  margin-bottom: 16px;
}

.sidebar-info-row {
  display: flex;
  gap: 16px;
  padding: 6px 0;
  font-size: 0.85rem;
}

.sidebar-info-label {
  color: #9ca3af;
  min-width: 70px;
  flex-shrink: 0;
}

.sidebar-info-value {
  color: #374151;
  font-weight: 500;
}

.detail-bottom-apply {
  margin-top: 32px;
}

/* ── Content pages (about, post-a-job) ── */
.content-page {
  max-width: 720px;
}

.content-hero {
  text-align: center;
  margin-bottom: 48px;
}

.content-hero h1 {
  font-size: 2rem;
  font-weight: 500;
  color: #1a1a2e;
  margin-bottom: 10px;
  line-height: 1.25;
}

.content-hero p {
  font-size: 1.05rem;
  color: #6b7280;
  line-height: 1.6;
}

.content-section {
  margin-bottom: 40px;
}

.content-section h2 {
  font-size: 1.2rem;
  font-weight: 500;
  color: #1a1a2e;
  margin-bottom: 12px;
}

.content-section p {
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.7;
  margin-bottom: 12px;
}

.content-section a {
  color: #1a1a2e;
  text-decoration: underline;
}

/* How it works steps */
.how-it-works {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.how-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.how-step-num {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #1a1a2e;
  color: #fff;
  font-weight: 500;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.how-step h3 {
  font-size: 0.95rem;
  font-weight: 500;
  color: #1a1a2e;
  margin-bottom: 4px;
}

.how-step p {
  font-size: 0.9rem;
  color: #6b7280;
  margin: 0;
}

.values-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.values-list li {
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
}

.values-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1a1a2e;
}

/* Benefits grid (post a job page) */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 8px;
}

.benefit-card {
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
}

.benefit-card h3 {
  font-size: 0.9rem;
  font-weight: 500;
  color: #1a1a2e;
  margin-bottom: 6px;
}

.benefit-card p {
  font-size: 0.85rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.5;
}

.post-job-cta-section {
  text-align: center;
  padding: 32px;
  background: #f9fafb;
  border-radius: 12px;
  border: 1px solid #f0f0f5;
}

.post-job-cta {
  display: inline-block;
  margin-top: 16px;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item h3 {
  font-size: 0.95rem;
  font-weight: 500;
  color: #1a1a2e;
  margin-bottom: 4px;
}

.faq-item p {
  font-size: 0.9rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.6;
}

/* ── Site footer ── */
.site-footer {
  border-top: 1px solid #f0f0f5;
  margin-top: 48px;
  padding: 40px 20px;
  background: #f9fafb;
}

.site-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 64px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 500;
  color: #1a1a2e;
  margin-bottom: 4px;
}

.footer-col p {
  font-size: 0.8rem;
  color: #9ca3af;
  max-width: 260px;
}

.footer-col a {
  font-size: 0.8rem;
  color: #6b7280;
  text-decoration: none;
}

.footer-col a:hover {
  color: #7c3aed;
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .container {
    padding: 24px 16px;
  }

  .hero {
    flex-direction: column;
    gap: 16px;
    padding-bottom: 24px;
    margin-bottom: 24px;
  }

  .hero-headline {
    font-size: 2rem;
  }

  .hero-right {
    padding-top: 0;
  }

  .site-nav-inner {
    flex-wrap: wrap;
    gap: 12px;
  }

  .site-nav-links {
    gap: 16px;
  }

  .site-nav-links a {
    font-size: 0.8rem;
  }

  .job-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 14px 0;
  }

  .job-row:hover {
    margin: 0;
    padding-left: 0;
    padding-right: 0;
    border-radius: 0;
  }

  .job-row-right {
    text-align: left;
    padding-left: 64px;
  }

  .job-row-title {
    white-space: normal;
  }

  .job-row-meta {
    white-space: normal;
  }

  .detail-page-layout {
    grid-template-columns: 1fr;
  }

  .detail-title {
    font-size: 1.35rem;
  }

  .detail-sidebar {
    position: static;
  }

  .detail-meta-line {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .site-footer-inner {
    flex-direction: column;
    gap: 32px;
  }

  .content-hero h1 {
    font-size: 1.5rem;
  }
}
