/* =====================================================================
   pages/pricing.css: Pricing page blocks (/pricing)
   ---------------------------------------------------------------------
   Loaded on pricing.html only, AFTER the shared design system:
     <link rel="stylesheet" href="assets/css/pds.css">
     <link rel="stylesheet" href="assets/css/pages/pricing.css">

   Same conventions as pds.css: every class starts "pds-", tokens come
   from pds.css section 1, no inline styles, no url() images. Pricing-only
   classes start "pds-price-". Breakpoints match pds.css: 1180, 1023
   (tablet), 640, 500 (phone).

   The page is mostly shared components, reused unchanged:
     page header       .pds-page-head (6.20) with the eyebrow (5) and
                       the reassurance items, .pds-micro (6.2)
     plan cards        .pds-plans / .pds-plan (6.13), plus the full
                       card (pds.css 6.22)
     closing line      .pds-statement (6.17), under the plans
     checklist panel   .pds-program (8.5)
     reviews           .pds-partner-grid + .pds-reviews (8.6)
     rescue tiles      .pds-tiles--3 + .pds-icon-tile (6.18, 6.1)
     FAQ               .pds-faq, .pds-acc, links in answers (6.14, 8.10)
     final CTA         .pds-cta-band--pets (6.15)
   What lives here is only what Pricing adds (in page order):

     PR1  Header and plans: a compact       .pds-price-head, .pds-price-plans
          header, the cards rise over its
          edge
     PR2  (moved to pds.css 6.22: the full plan card, shared with the landing pages)
     PR3  What every plan includes          .pds-price-includes (__extra, __link)
     PR4  (removed: the Fi Smart Collar bonus ended, Katie 2026-10-30)
     PR5  Value comparison: two cards       .pds-compare (__item, __vs, __num), .pds-price-compare
          and "vs"; Reviews spacing         .pds-price-reviews

   "SHARED CANDIDATE" blocks are written generically, so they can move
   into pds.css (section 6) as soon as a second page needs them.
   ===================================================================== */


/* ---------------------------------------------------------------------
   PR1. Header and plans (#plans)
   The shared centred page header (pds.css 6.20), then the three plan
   cards, whose tops rise over the header panel's bottom edge (like the
   Home audience rail). Katie (round 1 on this page): the whole cards,
   buttons included, must show in the first screen on a laptop, so this
   header is compact: shorter padding, a smaller H1 in a wider column
   (one line from 1024px), and tighter gaps. Measured: the cards end
   above the fold at 1440 × 900 and 1280 × 800.
   --pds-price-overlap is how far the cards rise: the header gets that
   much extra padding at the bottom and the plans pull up by the same
   amount.
   --------------------------------------------------------------------- */
.pds-price-head, .pds-price-plans { --pds-price-overlap: clamp(56px, 6vw, 96px); } /* siblings: both set it */
.pds-price-head.pds-page-head { padding-bottom: calc(clamp(22px, 2vw, 30px) + var(--pds-price-overlap)); } /* the compact header itself: pds.css 6.20 --compact */
.pds-price-plans {
  position: relative; z-index: 1; /* above the header panel it overlaps */
  margin-top: calc(-1 * var(--pds-price-overlap));
  padding-bottom: calc(var(--pds-section-y) * .7);
}
.pds-price-plans .pds-statement { margin-inline: auto; }


/* ---------------------------------------------------------------------
   PR2. Full plan card: moved to pds.css 6.22 (shared with the six partner and
   renewal landing pages). Pricing uses it unchanged.
   --------------------------------------------------------------------- */


/* ---------------------------------------------------------------------
   PR3. What every plan includes: the shared checklist panel (pds.css
   8.5, .pds-program: lavender panel, illustration on the right), its
   title marked up as an H2 at the panel-title size. The plan-split line
   and the link to Membership close the panel's copy column, under a
   hairline (Katie: as a separate statement banner it felt out of place).
   --------------------------------------------------------------------- */
.pds-price-includes { padding-top: calc(var(--pds-section-y) * .45); }
.pds-price-includes .pds-program__list li { text-wrap: pretty; }
.pds-price-includes__extra {
  margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--pds-line);
  font-size: var(--pds-fs-body-lg); font-weight: 500; line-height: 1.5; color: var(--pds-deep); text-wrap: pretty;
}
.pds-price-includes__link { margin-top: 16px; }


/* ---------------------------------------------------------------------
   PR5. Value comparison (two cards and a "vs") and Reviews spacing
   Katie: keep the trainer comparison, but make the visual clear. A
   centred header (H2 + lede), then two equal cards side by side with a
   "vs" disc between them, so it reads at a glance as one thing against
   another: the label on top, the price under it.
   - Left, a private training session: purple 50 card, a person icon.
   - Right, Petcademy: the deep purple of the featured plan card, a
     chat icon, and the 12-segment meter all filled in teal 200 (the
     plan cards' "12 months"), so it's clearly the one we recommend.
   - The "vs" disc is decorative (aria-hidden); a screen reader reads
     the two labels and prices in order.
   Phones (640 and below): the cards stack, the disc between them.
   <div class="pds-compare">
     <div class="pds-compare__item">
       <span class="pds-icon-tile pds-compare__icon" aria-hidden="true"><svg class="pds-i">…</svg></span>
       <p class="pds-compare__label">…</p>
       <p class="pds-compare__num">…</p>
     </div>
     <span class="pds-compare__vs" aria-hidden="true">vs</span>
     <div class="pds-compare__item pds-compare__item--us">… + <span class="pds-meter pds-meter--12" aria-hidden="true">…</span></div>
   </div>
   The white Reviews section follows, so each side keeps half its
   padding: one section's worth of space between them, not two.
   Reviews: quotes avoid a lone last word ("so am / I.").
   --------------------------------------------------------------------- */
.pds-price-compare { padding-bottom: calc(var(--pds-section-y) * .5); }

.pds-compare { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; max-width: 940px; margin: 0 auto; }
.pds-compare__item {
  --pds-tint: #fff; /* purple 50 card: white icon tile */
  display: flex; flex-direction: column; align-items: center; /* top-aligned: icon, label and price line up across the two cards */
  padding: clamp(28px, 3.4vw, 44px) 28px; border-radius: var(--pds-r-card); text-align: center;
  background: var(--pds-mist); border: 1px solid var(--pds-line);
}
.pds-compare__icon { margin-bottom: 16px; }
.pds-compare__label { font-size: var(--pds-fs-body-lg); font-weight: 500; line-height: 1.4; color: var(--pds-deep); }
.pds-compare__num {
  margin-top: 8px; white-space: nowrap;
  font-size: var(--pds-fs-stat); font-weight: 700; line-height: 1; letter-spacing: -.04em;
  color: var(--pds-deep); font-variant-numeric: tabular-nums;
}
.pds-compare__item--us {
  border-color: var(--pds-deep); box-shadow: var(--pds-shadow-lg);
  background: radial-gradient(420px 260px at 100% 0%, rgba(55, 0, 179, .9), transparent 70%), var(--pds-deep); /* the featured plan card */
}
.pds-compare__item--us .pds-compare__icon { background: var(--pds-accent-on-dark); color: var(--pds-deep); }
.pds-compare__item--us .pds-compare__label { color: var(--pds-on-dark); }
.pds-compare__item--us .pds-compare__num { color: #fff; }
.pds-compare__item--us .pds-meter { width: min(100%, 220px); margin-top: 20px; }
.pds-compare__item--us .pds-meter i { background: var(--pds-accent-on-dark); }
.pds-compare__vs { /* overlaps both cards' inner edges */
  position: relative; z-index: 1; align-self: center; display: grid; place-items: center;
  width: 52px; height: 52px; margin-inline: -16px; border-radius: 50%;
  background: #fff; border: 1px solid var(--pds-line); box-shadow: var(--pds-shadow-md);
  font-size: var(--pds-fs-meta); font-weight: 700; color: var(--pds-action);
}

.pds-price-reviews { padding-top: calc(var(--pds-section-y) * .5); }
.pds-price-reviews blockquote p { text-wrap: pretty; }

@media (max-width: 640px) {
  .pds-compare { grid-template-columns: minmax(0, 1fr); }
  .pds-compare__item { padding: 26px 20px 28px; }
  .pds-compare__vs { justify-self: center; margin: -16px 0; }
}
