/**
 * Home — The challenge section (vertical friction timeline).
 */
.mkt-section--challenge.mkt-section--problem {
  background: transparent;
  border: none;
}

.mkt-section--challenge.mkt-section--alt {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.mkt-challenge-head {
  text-align: left;
  max-width: 36em;
  margin: 0 0 clamp(20px, 3vw, 28px);
}

.mkt-challenge-head__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: var(--portal-accent-soft, rgba(37, 99, 235, 0.1));
  color: var(--portal-primary-dark, #0f2744);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mkt-challenge-head h2 {
  font-size: clamp(1.625rem, 4.2vw, 2.375rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin: 0 0 14px;
  color: var(--portal-ink);
}

.mkt-challenge-head__lead {
  margin: 0;
  font-size: clamp(0.9375rem, 2.2vw, 1.0625rem);
  line-height: 1.6;
  color: var(--portal-ink-muted);
}

.mkt-challenge-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
}

@media (min-width: 900px) {
  .mkt-challenge-timeline {
    max-width: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(24px, 4vw, 48px);
    row-gap: 0;
  }

  .mkt-challenge-step:nth-child(odd) {
    padding-right: clamp(12px, 2vw, 20px);
  }

  .mkt-challenge-step:nth-child(even) {
    padding-left: clamp(12px, 2vw, 20px);
  }
}

.mkt-challenge-step {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  padding: clamp(18px, 2.8vw, 24px) 0;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.35);
}

.mkt-challenge-step:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.mkt-challenge-step:first-child {
  padding-top: 0;
}

.mkt-challenge-step__rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.mkt-challenge-step__dot {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--step-dot-bg, rgba(148, 163, 184, 0.14));
  border: 2px solid var(--step-dot-border, rgba(148, 163, 184, 0.35));
  color: var(--step-dot-color, #475569);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.mkt-challenge-step__line {
  flex: 1;
  width: 2px;
  min-height: 24px;
  margin-top: 8px;
  background: linear-gradient(180deg, var(--step-line, rgba(148, 163, 184, 0.4)) 0%, transparent 100%);
}

.mkt-challenge-step:last-child .mkt-challenge-step__line {
  display: none;
}

.mkt-challenge-step__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 4px;
}

.mkt-challenge-step__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mkt-challenge-step__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--step-icon-bg, rgba(148, 163, 184, 0.12));
  color: var(--step-icon-color, #64748b);
}

.mkt-challenge-step__title {
  margin: 0;
  font-size: clamp(1rem, 1.8vw, 1.0625rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.28;
  color: var(--portal-ink);
}

.mkt-challenge-step__desc {
  margin: 0;
  padding-left: 50px;
  font-size: 14px;
  line-height: 1.62;
  color: var(--portal-ink-muted);
}

.mkt-challenge-step--peach {
  --step-dot-bg: rgba(251, 146, 60, 0.14);
  --step-dot-border: rgba(251, 146, 60, 0.45);
  --step-dot-color: #c2410c;
  --step-line: rgba(251, 146, 60, 0.45);
  --step-icon-bg: rgba(251, 146, 60, 0.12);
  --step-icon-color: #ea580c;
}

.mkt-challenge-step--rose {
  --step-dot-bg: rgba(244, 63, 94, 0.12);
  --step-dot-border: rgba(244, 63, 94, 0.4);
  --step-dot-color: #be123c;
  --step-line: rgba(244, 63, 94, 0.4);
  --step-icon-bg: rgba(244, 63, 94, 0.1);
  --step-icon-color: #e11d48;
}

.mkt-challenge-step--stone {
  --step-dot-bg: rgba(100, 116, 139, 0.12);
  --step-dot-border: rgba(100, 116, 139, 0.38);
  --step-dot-color: #334155;
  --step-line: rgba(100, 116, 139, 0.38);
  --step-icon-bg: rgba(100, 116, 139, 0.1);
  --step-icon-color: #475569;
}

.mkt-challenge-step--amber {
  --step-dot-bg: rgba(245, 158, 11, 0.14);
  --step-dot-border: rgba(245, 158, 11, 0.42);
  --step-dot-color: #b45309;
  --step-line: rgba(245, 158, 11, 0.42);
  --step-icon-bg: rgba(245, 158, 11, 0.12);
  --step-icon-color: #d97706;
}

@media (max-width: 899px) {
  .mkt-challenge-step__desc {
    padding-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mkt-challenge-step {
    transition: none;
  }
}
