/* =========================
   CTA Repair: Presence + Spacing + Alignment
   ========================= */

.end-section.intake {
  /* ~20% wider than main article column */
  width: min(96vw, calc(var(--content-max, 760px) * 1.2));
  margin-top: clamp(2.4rem, 5vw, 3.2rem);
  margin-bottom: clamp(6rem, 12vw, 12rem);
}

.end-section.intake .intake-card {
  --crimson: rgb(230, 57, 70);
  --pad: clamp(1.4rem, 3vw, 2.6rem);

  position: relative;
  overflow: hidden;

  border-radius: 22px;
  border: 1px solid rgba(230, 57, 70, 0.20);

  /* cleaner contrast (less "blending") */
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(245, 247, 252, 0.92) 100%
  );

  /* more air + extra left padding so content doesn't feel pinned to the rail */
  padding: var(--pad);
  padding-left: calc(var(--pad) + 0.9rem);

  box-shadow: 0 14px 44px rgba(15, 23, 42, 0.10);

  /* business-competent baseline type */
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
}

/* Left rail */
.end-section.intake .intake-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 7px; /* slightly stronger presence */
  background: var(--crimson);
}

/* --- Title: make it stand proud --- */
.end-section.intake h2 {
  margin: 0;
  padding-top: 0.15rem;

  color: rgb(46, 52, 82);
  font-size: clamp(2.05rem, 3vw, 2.65rem);
  line-height: 1.08;
  font-weight: 850;
  letter-spacing: -0.02em;
}

/* Subtle divider under title (gives "space it commands") */
.end-section.intake h2::after {
  content: "";
  display: block;
  height: 1px;
  width: 100%;
  margin-top: 0.95rem;
  background: rgba(15, 23, 42, 0.10);
}

/* Headings */
.end-section.intake h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.55rem;

  color: rgb(46, 52, 82);
  font-size: clamp(1.25rem, 1.75vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* Body text: bigger + darker + stronger */
.end-section.intake p {
  color: rgba(20, 28, 45, 0.92); /* darker than #2f4561 */
  font-size: clamp(1.12rem, 1.25vw, 1.34rem);
  line-height: 1.75;
  font-weight: 500;

  /* less clumped, more deliberate */
  margin: 0.95em 0;
}

/* Lead: slightly larger */
.end-section.intake .intake-lead {
  font-size: clamp(1.18rem, 1.35vw, 1.42rem);
  line-height: 1.75;
  font-weight: 520;
  margin-top: 1.05rem;
}

/* Keep the note snippet in the "current" article font */
.end-section.intake .intake-note {
  font-family: source-serif-pro, ui-serif, Georgia, "Times New Roman", serif !important;

  border-left: 4px solid rgba(230, 57, 70, 0.40);
  background: rgb(255 240 169 / 28%)

  border-radius: 14px;
  padding: 0.95rem 1.05rem;

  /* make it feel intentional, not boxed-in */
  margin-top: 1.1rem;
  margin-bottom: 1.2rem;

  color: rgba(20, 28, 45, 0.90);
}

/* Divider */
.end-section.intake .intake-divider {
  height: 1px;
  width: 100%;
  background: rgba(15, 23, 42, 0.10);
  margin: 1.6rem 0 1.2rem 0;
}

/* --- How it works: PERFECT alignment with grid --- */
.end-section.intake .intake-steps {
  list-style: none;
  padding-left: 0;
  margin: 0.9rem 0 0 0;
}

.end-section.intake .intake-steps li {
  display: grid;
  grid-template-columns: 34px 1fr; /* consistent alignment */
  column-gap: 0.95rem;
  align-items: start;

  margin: 0.95rem 0;

  color: rgba(20, 28, 45, 0.92);
  font-size: clamp(1.12rem, 1.25vw, 1.34rem);
  line-height: 1.75;
  font-weight: 520;
}

/* Circled numbers: centered + aligned with first line */
.end-section.intake .step-tag {
  width: 30px;
  height: 30px;
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-weight: 900;
  line-height: 1;

  margin-top: 0.15rem; /* aligns circle to first text line cleanly */

  background: rgba(230, 57, 70, 0.12);
  color: var(--crimson);
  border: 1px solid rgba(230, 57, 70, 0.30);
}

/* Email callout: stronger, less "scared" */
.end-section.intake .intake-email {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
  font-weight: 900;
  letter-spacing: 0.02em;

  color: var(--crimson);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(230, 57, 70, 0.22);
  border-radius: 14px;

  padding: 0.9rem 1rem;
  margin: 0.9em 0 0.95em 0;
}

.end-section.intake .intake-fineprint {
  opacity: 0.92;
}

/* Mobile */
@media (max-width: 600px) {
  .end-section.intake {
    width: 94vw;
  }

  .end-section.intake .intake-card {
    border-radius: 18px;
    padding: 1.2rem;
    padding-left: 1.55rem; /* keep rail spacing without wasting space */
  }

  .end-section.intake .intake-card::before {
    width: 6px;
  }

  .end-section.intake .intake-steps li {
    grid-template-columns: 32px 1fr;
  }

  .end-section.intake .step-tag {
    width: 28px;
    height: 28px;
  }
}
