/* ==========================================================================
   SPEARPOINT ADVISORS — Exit Planning Page Stylesheet
   ==========================================================================
   Page-specific rules only. Loaded after style.css, so it can rely on all
   design tokens (--color-*, --space-*, --fs-*, --radius-*, --shadow-*,
   --transition-*) and shared components already defined there.

   Reuses as-is (confirmed present in style.css itself, not a page-local
   file, before assuming so — see note below): .hero-decor, .hero__cta-group,
   .about-section__header, .section-decor, .stats-grid/.value-card,
   .services-grid/.service-card, .drivers-list/.drivers-list__item/
   .drivers-list__number/.drivers-list__label/.drivers-list__text,
   .process-grid/.process-step (used unmodified — this page's process is
   exactly 3 gates, same as the grid's built-in column count),
   .founder-section__grid/__image-wrap/__image/__content, .trade-panel__highlight,
   .credentials/.credential-tag, .testimonials-section/.testimonials-slider/
   .testimonial-card, .cta-section, .btn.

   NOTE: .services-list and .services-mark (used on Executive Coaching)
   turned out to be page-local to services.css, not style.css — learned
   that the hard way. Everything listed above was grep-verified in
   style.css itself before being treated as shared here.
   ========================================================================== */

/* --- Hero — centered like the other two service pages, with two CTAs
   (this page's md copy calls for a primary + outline pair, unlike
   Executive Coaching's single button). --- */
.exit-hero {
  padding-top: calc(var(--nav-height) + var(--space-12));
  position: relative;
  z-index: 1;
  background-color: var(--color-bg);
}

.exit-hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.exit-hero__content h1 {
  margin-bottom: var(--space-6);
}

.exit-hero__content p {
  margin: 0 auto var(--space-8);
}

/* "Who This Exit Planning Work Is For" reuses the same .process-grid as
   the Discover/Prepare/Decide section further down, but its text reads
   better centered — scoped to this section only so that one stays
   left-aligned. */
#who-this-is-for .process-step__text {
  text-align: center;
}

.exit-hero__content .hero__cta-group {
  justify-content: center;
}

/* --- Quote block — this page's pull-quote treatment (used twice), same
   visual idea as the-5-ds.css's/executive-coaching.css's .quote-block,
   rebuilt locally per the per-page-CSS convention rather than shared
   across pages. --- */
.quote-block {
  position: relative;
  max-width: 760px;
  margin: var(--space-8) auto 0;
  padding: var(--space-8) var(--space-10);
  background: linear-gradient(160deg, rgba(232, 83, 14, 0.07), transparent);
  border: 1px solid rgba(232, 83, 14, 0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.quote-block__mark {
  position: absolute;
  top: var(--space-4);
  left: var(--space-6);
  font-size: 3rem;
  color: rgba(232, 83, 14, 0.15);
  z-index: 0;
}

.quote-block blockquote {
  position: relative;
  z-index: 1;
  font-size: var(--fs-lg);
  font-weight: var(--fw-medium);
  font-style: italic;
  color: var(--color-text);
  line-height: var(--lh-relaxed);
  text-align: center;
}

/* --- Space below the 3-gate process grid for the standalone "See the
   Full Process" button — style.css's .process-grid doesn't reserve room
   for a trailing CTA since the homepage's own version doesn't have one. --- */
.exit-process-cta {
  margin-top: var(--space-12);
  text-align: center;
}

/* --- Exit Planning Isn't About Selling Section Spacing & Centered Stat --- */
#not-about-selling .about-section__header {
  margin-bottom: var(--space-10);
}

.exit-planning-stat-paragraph {
  max-width: 760px;
  margin: 0 auto var(--space-10);
  text-align: center;
}

.exit-planning-stat-paragraph p {
  font-size: var(--fs-md);
  color: var(--color-text-2);
  line-height: var(--lh-relaxed);
}

/* --- Exit Paths Tab Panels — full-width paragraphs --- */
#exit-paths .trade-panel__content p {
  max-width: none;
}


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 768px) {
  /* Centered by design on tablet/desktop (see base rules above);
     left-aligned on phones only. */
  .exit-hero__content,
  #who-this-is-for .process-step__text,
  .quote-block blockquote,
  .exit-process-cta,
  .exit-planning-stat-paragraph {
    text-align: left;
  }

  .quote-block {
    padding: var(--space-6);
  }
}
