/* ------------------------------------------------------------------
 * Data Tables — final CTA
 * The previous CTA reused a 2-column grid with only one column filled,
 * so half the dark panel was empty, and its button inherited a stray
 * purple outline ring around an orange fill. This scoped block owns the
 * section: centred, balanced, and free of the ring.
 * Colours come from the shared brand tokens in shared.css.
 * ------------------------------------------------------------------ */

.apb-page .dt-cta-section {
  padding: 80px 0 96px;
}

.apb-page .dt-cta-panel {
  position: relative;
  overflow: hidden;
  background-color: var(--gutsy-green);
  color: #ffffff;
  border-radius: 40px;
  padding: 56px 32px;
  text-align: center;
  box-shadow: 0 20px 45px rgba(6, 60, 74, 0.18);
}

/* Faint dotted texture, matching the hero's decorative grid */
.apb-page .dt-cta-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.14) 1px, transparent 0);
  background-size: 40px 40px;
  opacity: 0.5;
}

.apb-page .dt-cta-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0 auto;
}

.apb-page .dt-cta-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 16px;
}

.apb-page .dt-cta-text {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(252, 250, 237, 0.82);
  margin-bottom: 32px;
}

/* Cream pill with purple label — same treatment as the page hero's
   primary CTA, and legible on the dark green panel. */
.apb-page .dt-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 36px;
  border-radius: var(--radius-pill);
  background-color: var(--gutsy-cream);
  border: 2px solid var(--gutsy-cream);
  color: var(--gutsy-purple);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.25px;
  line-height: 1;
  text-decoration: none;
  outline: none;
  transition: background-color 0.3s ease, border-color 0.3s ease,
              color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.apb-page .dt-cta-btn:hover,
.apb-page .dt-cta-btn:focus-visible {
  background-color: #ffffff;
  border-color: #ffffff;
  color: var(--gutsy-purple-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(6, 60, 74, 0.35);
}

.apb-page .dt-cta-btn:focus-visible {
  outline: 3px solid var(--gutsy-cream);
  outline-offset: 3px;
}

@media (min-width: 900px) {
  .apb-page .dt-cta-section { padding: 96px 0 120px; }
  .apb-page .dt-cta-panel { padding: 72px 64px; }
}