/* Herd — ATS for Small Teams */
:root {
  --bg: #FAF7F2;
  --bg-alt: #F3EFE8;
  --fg: #1E1E2E;
  --fg-muted: #6B6479;
  --accent: #C85A18;
  --accent-light: #F0D5C0;
  --sand: #D4B483;
  --sage: #7D9B76;
  --border: #E0D9CF;
  --white: #FFFFFF;
  --radius: 10px;
  --radius-sm: 6px;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--fg);
  letter-spacing: -0.5px;
}
.nav-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  font-weight: 400;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 48px 96px;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 20px;
  background: var(--accent-light);
  padding: 5px 12px;
  border-radius: 20px;
}
.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 700;
  line-height: 1.08;
  color: var(--fg);
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}
.hero-lede {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 440px;
}

/* Pipeline Widget */
.pipeline-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 4px 24px rgba(30, 30, 46, 0.06);
}
.pipeline-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.pipeline-stages {
  display: flex;
  gap: 16px;
  overflow-x: auto;
}
.stage {
  min-width: 140px;
}
.stage-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--fg-muted);
  padding: 4px 8px;
  background: var(--bg-alt);
  border-radius: 4px;
  margin-bottom: 10px;
  display: inline-block;
}
.candidate-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.candidate {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.c-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: white;
  flex-shrink: 0;
}
.c-info {
  flex: 1;
  min-width: 0;
}
.c-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.c-role {
  font-size: 10px;
  color: var(--fg-muted);
}
.c-badge {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 6px;
  border-radius: 3px;
  flex-shrink: 0;
}
.c-badge.new { background: #DBEAFE; color: #1D4ED8; }
.c-badge.screening { background: var(--accent-light); color: var(--accent); }
.c-badge.interview { background: #D1FAE5; color: #065F46; }

/* Pipeline Stats */
.pipeline-section {
  background: var(--fg);
  color: var(--white);
  padding: 80px 48px;
}
.pipeline-headline {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 56px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.pipeline-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.pipeline-text {
  font-size: 20px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}
.pipeline-stats {
  display: flex;
  align-items: center;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
}
.stat {
  flex: 1;
}
.stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
}
.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

/* Features */
.features {
  padding: 80px 48px;
  max-width: 1200px;
  margin: 0 auto;
}
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 16px;
}
.features-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -1px;
  margin-bottom: 56px;
  line-height: 1.15;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature-card {
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow 0.2s;
}
.feature-card:hover {
  box-shadow: 0 4px 20px rgba(30, 30, 46, 0.07);
}
.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
  line-height: 1.3;
}
.feature-card p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* Process */
.process-section {
  background: var(--bg-alt);
  padding: 80px 48px;
}
.process-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -1px;
  margin-bottom: 56px;
}
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  max-width: 1000px;
}
.process-step {
  flex: 1;
}
.step-number {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 16px;
}
.process-step h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
}
.process-step p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}
.process-arrow {
  display: flex;
  align-items: center;
  padding-top: 32px;
  flex-shrink: 0;
}

/* Closing */
.closing-section {
  padding: 96px 48px;
  background: var(--fg);
  color: var(--white);
}
.closing-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.closing-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -1px;
  margin-bottom: 24px;
  line-height: 1.12;
}
.closing-body {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

/* Footer */
.footer {
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid var(--border);
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--fg);
  margin-bottom: 10px;
  display: block;
}
.footer-desc {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.5;
}
.footer-links span {
  font-size: 12px;
  color: var(--fg-muted);
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 48px 24px 64px;
  }
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
  .process-steps {
    flex-direction: column;
  }
  .process-arrow {
    transform: rotate(90deg);
    padding: 0;
    margin: 8px 0;
  }
  .pipeline-stats {
    flex-direction: column;
    gap: 24px;
  }
  .stat-divider { display: none; }
  .nav { padding: 16px 24px; }
  .features { padding: 48px 24px; }
  .process-section { padding: 48px 24px; }
  .closing-section { padding: 64px 24px; }
  .footer { flex-direction: column; gap: 24px; align-items: flex-start; }
}
@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .pipeline-section { padding: 48px 24px; }
  .pipeline-headline { flex-direction: column; gap: 8px; }
}