/* freshpilot — case-study only */

h3 { font-size: clamp(20px, 2.5vw, 26px); }

.cs-hero {
  padding: 64px 0 0;
  text-align: center;
}

.cs-hero h1 {
  max-width: 720px;
  margin: 0 auto 16px;
}

.cs-hero > .container > p {
  font-size: 18px;
  color: var(--bark-soft);
  max-width: 580px;
  margin: 0 auto 48px;
  line-height: 1.65;
}

.metrics-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--divider);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.metric {
  background: var(--white);
  padding: 32px 20px;
  text-align: center;
}

.metric .number {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(28px, 3.5vw, 38px);
  color: var(--forest);
  line-height: 1.1;
  margin-bottom: 6px;
}

.metric .label {
  font-size: 13px;
  color: var(--bark-soft);
  font-weight: 500;
}

.story { padding: 80px 0 60px; }

.day-section { padding: 0 0 80px; }

.day-section h2 {
  text-align: center;
  margin-bottom: 12px;
}

.day-section > .container > p {
  text-align: center;
  font-size: 17px;
  color: var(--bark-soft);
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.65;
}

.timeline {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--divider);
}

.timeline-item {
  display: flex;
  gap: 20px;
  padding-bottom: 36px;
  position: relative;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 1;
}

.timeline-content {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  flex: 1;
}

.timeline-time {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--forest);
  margin-bottom: 4px;
}

.timeline-content h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.timeline-content p {
  font-size: 14px;
  color: var(--bark-soft);
  line-height: 1.55;
}

.screenshots { padding: 0 0 80px; }

.cta-section h2 { color: var(--cream); margin-bottom: 14px; }

.screenshots h2 {
  text-align: center;
  margin-bottom: 12px;
}

.cta-section p { color: var(--sand); font-size: 17px; max-width: 480px; margin: 0 auto 32px; line-height: 1.6; }

.screenshots > .container > p {
  text-align: center;
  font-size: 17px;
  color: var(--bark-soft);
  max-width: 480px;
  margin: 0 auto 40px;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.screenshot-card {
  background: var(--cream-warm);
  border: 1px solid var(--divider);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.screenshot-image {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screenshot-image .icon {
  font-size: 40px;
  opacity: 0.4;
}

.screenshot-label {
  padding: 14px 18px;
  background: var(--white);
  border-top: 1px solid var(--divider);
  font-size: 13px;
  font-weight: 600;
  color: var(--bark-soft);
  text-align: center;
}

.callout {
  background: var(--forest);
  border-radius: var(--radius-xl);
  padding: 48px;
  text-align: center;
  color: var(--white);
}

.callout-quote {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.35;
  margin-bottom: 16px;
  font-style: italic;
}

.callout-attribution {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
}

@media (max-width: 1000px) {
  .metrics-bar { grid-template-columns: repeat(2, 1fr); }
  .screenshot-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .callout { padding: 36px 28px; }
}

@media (max-width: 600px) {
  .cs-hero { padding: 48px 0 0; }
  .metrics-bar { grid-template-columns: 1fr 1fr; }
  .timeline-dot { width: 40px; height: 40px; min-width: 40px; font-size: 16px; }
  .timeline::before { left: 19px; }
}
