/* marketing-pricing.css — chrome for the home-page pricing section (Slot C, before the FAQ).
   The cards themselves come from plan-card.css / eventtpl.PlanCard; this file styles only the
   section wrapper, grid, demo note, and partner teaser strip. Uses tokens.css custom properties
   so it reads as native to the marketing shell. */

.mkt-pricing {
  /* Match the marketing shell's brand red (Elementor --e-global-color-secondary: #f00202),
     NOT the app's WCAG-adjusted --color-primary (#D40000) that plan-card.css uses in the create
     funnel — so the cards read as native to the home page. Cascades to the cards + partner strip
     nested inside this section. */
  --mkt-red: #f00202;
  max-width: 70rem;
  margin: 0 auto;
  padding: var(--space-16) var(--space-5);
}

.mkt-pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  align-items: start;
  margin-top: var(--space-8);
}

.mkt-pricing__demo-note {
  text-align: center;
  margin-top: var(--space-6);
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
}

.mkt-pricing__demo-note a {
  color: var(--mkt-red);
  font-weight: var(--font-weight-semibold);
}

.mkt-pricing__demo-note a:hover {
  text-decoration: underline;
}

.mkt-partner {
  margin-top: var(--space-8);
  display: flex;
  gap: var(--space-4);
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: var(--space-5) var(--space-6);
  border: 0.0625rem solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface-alt);
}

.mkt-partner__text {
  margin: 0;
  max-width: 40rem;
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  color: var(--color-text);
  line-height: var(--line-height-base);
}

.mkt-partner__cta {
  white-space: nowrap;
  font-family: var(--font-body);
  font-weight: var(--font-weight-bold);
  color: var(--mkt-red);
  text-decoration: none;
}

.mkt-partner__cta:hover {
  text-decoration: underline;
}

/* Card colour overrides, scoped to the marketing section.
   Two jobs: (1) re-align every red the reused plan-card.css paints (button/badge background,
   popular border, highlighted-bullet check) from the app's --color-primary to the marketing
   --mkt-red; (2) force the CTA text white — the Elementor shell styles links via `.elementor a`
   (specificity 0,1,1), which outranks plan-card.css's single-class `.plan-card__cta` (0,1,0) and
   was painting the button label red-on-red. `.mkt-pricing .plan-card__cta` (0,2,0) wins. */
.mkt-pricing .plan-card__cta {
  background: var(--mkt-red);
  color: #fff;
}

/* Keep the button steady on hover: same brand red, text stays white. Without the explicit
   color, the Elementor shell's `.elementor a:hover` rule (specificity 0,2,1) outranks the
   base `.mkt-pricing .plan-card__cta` (0,2,0) and faded the label to grey-on-dark-red. */
.mkt-pricing .plan-card__cta:hover {
  background: var(--mkt-red);
  color: #fff;
}

.mkt-pricing .plan-card--popular {
  border-color: var(--mkt-red);
}

.mkt-pricing .plan-card__badge {
  background: var(--mkt-red);
  color: #fff;
}

.mkt-pricing .plan-card__highlight .plan-card__check {
  color: var(--mkt-red);
}

@media (max-width: 53.75rem) {
  .mkt-pricing__grid {
    grid-template-columns: 1fr;
  }
}
