/* ============================================================
   EngageDM — Pricing page

   Loaded after theme.css, paper.css and lp.css. It reuses lp.css's
   shared pieces (.lx-cta, .lx-cycles, .lx-stepper, .lx-amount) via
   body class "lpx", and adds only what is specific to this page.

   MOBILE FIRST. Base rules are the 375px case; `min-width` adds the
   rest. There is no `max-width` query in this file.

   THE ARGUMENT OF THE PAGE
   ------------------------
   Free is the headline and the price is the follow-up, so the free
   panel is the visually dominant one and the Pro panel sits beside it
   as the answer to "and after that?". Both are sheets on the same desk
   — the free one is simply laid on top.

   THE TABLE IS A REAL <table>. A grid of divs would look identical and
   be worth nothing to a screen reader or an answer engine, and this is
   the page most likely to be quoted for "how much does it cost".
============================================================ */

body.pxp {
  --px-gut: 18px;
  --px-max: 1120px;
  --px-pad: 52px;
}
@media (min-width: 600px)  { body.pxp { --px-gut: 26px; --px-pad: 68px; } }
@media (min-width: 900px)  { body.pxp { --px-gut: 34px; --px-pad: 88px; } }
@media (min-width: 1200px) { body.pxp { --px-gut: 44px; --px-pad: 104px; } }

body.pxp .px-shell {
  max-width: var(--px-max);
  margin-inline: auto;
  padding-inline: var(--px-gut);
}
body.pxp .px-sec { padding-block: var(--px-pad); }
body.pxp .px-sec + .px-sec { border-top: 1px solid var(--border-subtle); }

/* ============================================================
   1. HERO
============================================================ */
body.pxp .px-hero { padding-block: 40px 8px; text-align: center; }
@media (min-width: 900px) { body.pxp .px-hero { padding-block: 60px 12px; } }

body.pxp .px-kicker {
  font-family: var(--lx-data);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}

body.pxp .px-h1 {
  font-family: var(--lx-display);
  font-weight: 800;
  font-size: clamp(34px, 6.8vw, 60px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin: 0 auto 16px;
  max-width: 13ch;
  text-wrap: balance;
}
body.pxp .px-h1 em { font-style: normal; color: var(--accent); }

body.pxp .px-sub {
  font-size: clamp(16.5px, 4.4vw, 20px);
  line-height: 1.55;
  color: var(--text-body, var(--text-secondary));
  max-width: 44ch;
  margin: 0 auto 28px;
}

/* ============================================================
   2. PLAN PANELS
   Free is the taller, brighter sheet and comes first in the DOM, so it
   is also first for a screen reader and on a phone.
============================================================ */
body.pxp .px-plans {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 900px) {
  body.pxp .px-plans {
    /* Free is deliberately the wider column. */
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    gap: 22px;
    align-items: start;
  }
}

body.pxp .px-plan { padding: 24px 20px 26px; position: relative; }
@media (min-width: 900px) { body.pxp .px-plan { padding: 32px 28px 34px; } }

/* The free panel is the one carrying the offer, so it gets the gold edge. */
body.pxp .px-plan--free { border-color: var(--accent); }

body.pxp .px-plan__name {
  font-family: var(--lx-data);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 12px;
}
body.pxp .px-plan--free .px-plan__name { color: var(--accent); }

body.pxp .px-plan__big {
  font-family: var(--lx-display);
  font-weight: 800;
  font-size: clamp(32px, 6vw, 48px);
  line-height: 1;
  letter-spacing: -0.032em;
  margin: 0 0 8px;
}

body.pxp .px-plan__note {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0 0 20px;
}

/* Bullet list. A dash, not a tick — a page of green ticks is a template. */
body.pxp .px-list { list-style: none; margin: 0 0 22px; padding: 0; }
body.pxp .px-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 9px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-body, var(--text-secondary));
}
body.pxp .px-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.68em;
  width: 9px; height: 1px;
  background: var(--accent);
}

/* ============================================================
   3. COMPARISON TABLE
   Fixed layout so the two answer columns stay narrow and the whole
   thing fits a 375px screen without sideways scrolling.
============================================================ */
body.pxp .px-tablewrap {
  border: 1px solid var(--border-subtle);
  border-radius: var(--sheet-radius);
  background: var(--bg-elevated);
  box-shadow: var(--sheet-rest), var(--sheet-edge-light);
  overflow: hidden;
}

body.pxp table.px-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

body.pxp .px-table th,
body.pxp .px-table td {
  padding: 12px 10px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 13.5px;
  line-height: 1.4;
}
@media (min-width: 700px) {
  body.pxp .px-table th,
  body.pxp .px-table td { padding: 15px 18px; font-size: 15px; }
}

/* The feature name takes the room; the two answers stay tight. */
body.pxp .px-table col.px-c-feat { width: 46%; }
body.pxp .px-table col.px-c-val  { width: 27%; }

body.pxp .px-table thead th {
  background: var(--bg-elevated-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-primary);
}
@media (min-width: 700px) { body.pxp .px-table thead th { font-size: 13px; } }

body.pxp .px-table tbody th {
  font-weight: 650;
  color: var(--text-primary);
}
body.pxp .px-table td { color: var(--text-body, var(--text-secondary)); }
body.pxp .px-table tbody tr:last-child th,
body.pxp .px-table tbody tr:last-child td { border-bottom: 0; }

/* Pro column gets the faintest gold wash so the eye can follow it down
   without a heavy border. */
body.pxp .px-table .px-pro { background: rgba(201, 121, 63, 0.055); }

/* Yes/no marks. Colour is never the only signal — each carries a glyph
   and a screen-reader word. */
body.pxp .px-mark { font-weight: 700; font-size: 15px; }
body.pxp .px-mark--y { color: var(--green-readable, #146633); }
body.pxp .px-mark--n { color: var(--text-subtle); }

body.pxp .px-caption {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 12px 0 0;
}

/* ============================================================
   4. SECTION HEADS
============================================================ */
body.pxp .px-h2 {
  font-family: var(--lx-display);
  font-weight: 800;
  font-size: clamp(24px, 3.8vw, 36px);
  line-height: 1.04;
  letter-spacing: -0.028em;
  margin: 0 0 12px;
  text-wrap: balance;
}
body.pxp .px-h2 em { font-style: normal; color: var(--accent); }

body.pxp .px-lede {
  font-size: clamp(16px, 4.2vw, 18.5px);
  line-height: 1.55;
  color: var(--text-body, var(--text-secondary));
  max-width: 52ch;
  margin: 0 0 28px;
}

/* ============================================================
   5. AFTER-TRIAL NOTE
   The honest bit, and therefore the bit that must not look like a
   disclaimer hidden at the bottom.
============================================================ */
body.pxp .px-after {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 800px) {
  body.pxp .px-after { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
}
body.pxp .px-after__c { padding: 20px 18px; }
body.pxp .px-after__n {
  font-family: var(--lx-data);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 10px;
}
body.pxp .px-after__t {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.012em;
  margin: 0 0 6px;
}
body.pxp .px-after__p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-body, var(--text-secondary));
  margin: 0;
}

/* ============================================================
   6. CLOSE
============================================================ */
body.pxp .px-close { text-align: center; padding-block: var(--px-pad); border-top: 1px solid var(--border-strong); }
body.pxp .px-close .lx-actions { display: grid; gap: 12px; }
@media (min-width: 600px) {
  body.pxp .px-close .lx-actions { display: flex; justify-content: center; gap: 12px 24px; }
}
