/* ------------------------------------------------------------------
   /features/chase-plans

   Loaded after feature-page.css, integrations.css (hero, jump pills,
   bands, dark card band), email-triage.css (screenshot frame, steps,
   problem tiles, use cards, CTA) and sms-whatsapp.css (the white
   artwork card and the chain). Only this page's artwork lives here,
   under `cp-`.
   ------------------------------------------------------------------ */

.cp-hero-inner {
  grid-template-columns: minmax(0, 1fr) 400px;
}

/* The shared band colours go by position (nth-of-type), so the At a glance panel and the steps section
   would flip them. Each band is set by id instead: white and beige alternating from the panel down. */
.feature-snapshot-wrap {
  padding: 48px 0;
  background: white;
}

#problem,
#stages,
#describe,
#everywhere,
#stops {
  background: var(--bg);
}

#how,
#deadline,
#texts,
#with-requests,
#uses {
  background: white;
}

#problem .ix-panel,
#stages .ix-panel,
#describe .ix-panel,
#everywhere .ix-panel,
#stops .ix-panel {
  background: white;
}

#deadline .ix-panel,
#texts .ix-panel,
#with-requests .ix-panel {
  background: var(--bg);
  box-shadow: none;
}

@media (min-width: 900px) {
  .cp-uses .et-shape-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------- Hero: one plan, gentle to firm ---------- */

.cp-hero-art {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding: 10px 0 20px;
  color: var(--primary);
}

.cp-plan {
  background: white;
  border-radius: 18px;
  padding: 18px 20px 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.cp-plan-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.cp-plan-head strong {
  display: block;
  font-size: 0.98rem;
}

.cp-plan-head small {
  font-size: 0.8rem;
  color: #6b7b80;
}

.cp-plan-icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(162, 185, 100, 0.25);
  color: #5d7230;
}

.cp-stages {
  list-style: none;
  margin: 0;
  padding: 0 0 0 14px;
  border-left: 2px dashed rgba(34, 54, 60, 0.15);
  display: grid;
  gap: 12px;
}

.cp-stage {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cp-stage-icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.cp-stage-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  font-size: 0.85rem;
  line-height: 1.3;
}

.cp-stage-main strong {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b7b80;
}

.cp-stage-email .cp-stage-icon {
  background: rgba(162, 185, 100, 0.22);
  color: #5d7230;
}

.cp-stage-firm .cp-stage-icon {
  background: rgba(245, 204, 75, 0.32);
  color: #8a6a07;
}

.cp-stage-text .cp-stage-icon {
  background: rgba(37, 211, 102, 0.16);
  color: #128c4b;
}

.cp-stage-tell .cp-stage-icon {
  background: rgba(181, 164, 203, 0.32);
  color: #6d5a8a;
}

.cp-replied {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  padding: 10px 14px;
  border-radius: 14px;
  background: white;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.25);
  font-size: 0.88rem;
  font-weight: 700;
  color: #5d7230;
}

/* ---------- Deadline countdown ---------- */

.cp-deadline {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 18px;
}

.cp-deadline-date {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
}

.cp-countdown {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.cp-countdown li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 4px;
  border-radius: 12px;
  background: rgba(181, 164, 203, 0.18);
  color: var(--primary);
}

.cp-count-days {
  font-size: 1.25rem;
  font-weight: 800;
}

.cp-count-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #6d5a8a;
}

.cp-countdown .cp-count-tell {
  background: rgba(245, 204, 75, 0.3);
}

.cp-count-tell .cp-count-label {
  color: #8a6a07;
}

.cp-count-caption {
  margin: 8px 0 14px;
  text-align: center;
}

/* Accent stripe on the left, so that side stays square. */
.cp-stop {
  margin: 0;
  padding: 10px 14px;
  border-left: 4px solid var(--purple);
  border-radius: 0 12px 12px 0;
  background: rgba(181, 164, 203, 0.16);
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 600;
}

/* ---------- The plans list, under the steps ---------- */

.cp-how-shot {
  margin-top: 48px;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}

/* ---------- One email for the day ---------- */

.cp-mail-subject {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0 0 12px;
  color: var(--primary);
}

.cp-mail-items {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}

.cp-mail-items li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  color: var(--primary);
  font-size: 0.9rem;
}

.cp-mail-items li + li {
  border-top: 1px solid rgba(34, 54, 60, 0.07);
}

.cp-mail-icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--accent-soft, rgba(245, 204, 75, 0.22));
  color: var(--accent-ink, #8a6a07);
}

.cp-mail-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid rgba(34, 54, 60, 0.08);
  font-size: 0.85rem;
  font-weight: 600;
  color: #5d7230;
}

.cp-mail-foot svg {
  flex: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .cp-hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .cp-countdown {
    gap: 4px;
  }

  .cp-count-days {
    font-size: 1.05rem;
  }
}

/* A sent-back item's note in the information request chase */
.cp-mail-note {
  display: block;
  margin-top: 2px;
  font-size: 0.85em;
  color: #9a5b12;
}
