/* products.css — shared design system for the /products/* landing pages.
   Loaded AFTER layout.css on every product page. Keeps all product-page
   styling in one file so the ten pages share one polished, consistent look.
   The header gradient + nav come from layout.css (--hero-gradient, .wrap) —
   this file defines the page-level hero, gallery, pricing, trial and
   coming-soon sections, plus all responsive behaviour. */

:root{
  --ink:#0d1b16;
  --moss:#1f3a2e;
  --leaf:#2f6b4f;
  --lime:#9be564;
  --gold:#e7c46b;
  --cream:#f6f3ea;
  --paper:#fbfaf4;
  --mist:#e9efe8;
  --danger:#c14b3a;
  --ink-60:rgba(13,27,22,.62);
  --ink-10:rgba(13,27,22,.1);
  --line:rgba(13,27,22,.12);
}

/* ---- Base ---- */
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:'Inter',system-ui,-apple-system,sans-serif;
  color:var(--ink);
  background:var(--paper);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{
  font-family:'Fraunces',Georgia,serif;
  font-weight:600;
  letter-spacing:-.015em;
  line-height:1.15;
  text-wrap:balance;
}
a{color:inherit}
img{max-width:100%;display:block}
.wrap{max-width:1140px;margin:0 auto;padding:0 24px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* Header: `<header class="hero">` gradient masthead + wrap pinning come from
   layout.css (single source of truth). No local rules here. */

/* ---- Buttons ---- */
/* the .btn base + .btn-ghost look live in /css/ui.css now (#1313/#1630);
   ui.css's dark scopes (header/.p-hero) carry the cream hero ghost.
   #1661 folded the .btn-dark/.btn-inkline looks in there too — the look
   census fails the suite on any painter outside ui.css. #1745 folded the
   bare .btn-lg size as well (ui.css's :where(.btn-lg) default). */

/* ---- Product hero ---- */
/* Hero lives INSIDE the page <header> (same element that paints the nav
   gradient) so --hero-gradient flows continuously under the nav. No
   background here — the header behind it provides the one continuous
   gradient; this section only layers content + the radial highlight. */
.p-hero{
  color:var(--cream);
  padding:52px 0 84px;
  position:relative;
  overflow:hidden;
}
.p-hero .wrap{position:relative;z-index:1}
/* The two-format notice flag (#1227) — a quiet "the new format is here"
   line under the hero CTAs, linking the team-lab deep link. Dark-hero
   palette: cream body, lime pill, matching .hero-lede's translucency. */
.p-heroflag{
  margin:14px 0 0;font-size:13.5px;color:rgba(246,243,234,.82);
}
.p-heroflag a{color:var(--lime);font-weight:600;text-decoration:underline;text-underline-offset:3px}
.p-heroflag .p-flagpill{
  display:inline-block;margin-right:6px;padding:2px 9px;border-radius:999px;
  font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;
  /* #1572: moss, not leaf — leaf on lime computes ~4.13:1, moss clears 4.5:1
     (pinned in server/test/contrast-guard.test.js). */
  color:var(--moss);background:var(--lime);
}

/* Hero copy uses the canonical component from /css/layout.css (single
   source): .hero-inner + .hero-eyebrow + .hero-lede + .hero-actions +
   .hero-meta. The .p-hero section supplies its own vertical rhythm
   (padding 52px 0 84px), so the canonical .hero-inner margin-top is
   neutralized here.

   IMPORTANT: no background overlay on .p-hero. The header's --hero-gradient
   must flow continuously from the nav strip through the whole hero (and down
   to the bottom of this section). An earlier .p-hero::after radial glow was
   anchored at its TOP edge -- 85% 0%, exactly where the nav ends (~64px) --
   so it re-lit the hero top and created a visible brighter band / seam at the
   nav->hero boundary on product pages (coaches had no such overlay and stayed
   seamless). Keep .p-hero background-free so every page shows the same
   unbroken gradient. */
.p-hero .hero-inner{margin-top:0;padding:0}

/* #1339: the product IN the first viewport. ≥1024px the hero is two
   columns — copy left (bounded, the issue's ≤560px), the product's lead
   capture right in the shared browser-chrome frame (.p-hero-shot, the index
   walkthrough frame). Below 1024px nothing grids: the shot stacks under the
   CTAs at 100% of the copy width (it follows .hero-inner in source order,
   so the mobile stack is free). */
.p-hero-shot{margin:36px 0 0;max-width:640px}
@media(min-width:1024px){
  .p-hero .wrap{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,520px);
    gap:24px 56px;
    align-items:center;
  }
  .p-hero .hero-inner{max-width:560px}
  .p-hero-shot{margin:0;min-width:0}
}

/* #1339: the meta facts already wrap as a flex gap list (layout.css
   .hero-meta), but the "·" separator spans orphan — a trailing "·" after
   the last fact, or a lone word on line 2. On product heroes the <b>labels
   carry the structure, so the separator glyphs never render. */
.p-hero .hero-meta .sep{display:none}

/* #1583: the flagship fact row — four proven facts under the hero CTAs
   (bcgquant's .p-facts replaces its .hero-meta strip). Big Fraunces numbers
   over 14px labels; the labels sit on the dark hero gradient at .78 cream,
   between the shipped .hero-lede (.82) and .hero-meta (.68) tones (>= 4.5:1).
   Two columns inside the 560px copy column, one column on narrow screens.
   Scoped to .p-hero (#1811): this treatment is hero-specific (cream on the
   dark gradient, 2-col grid) and must not cascade onto any other .p-facts
   list — the #1586 overview proof lines style the same class for the light
   overview column. */
.p-hero .p-facts{
  list-style:none;margin:28px 0 0;padding:0;
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 28px;
}
.p-hero .p-facts .p-fact-num{
  display:block;font-family:'Fraunces',serif;font-weight:800;
  font-size:28px;line-height:1.1;color:var(--cream);
}
.p-hero .p-facts .p-fact-label{display:block;margin-top:2px;font-size:14px;color:rgba(246,243,234,.78)}
@media(max-width:480px){.p-hero .p-facts{grid-template-columns:minmax(0,1fr)}}

/* ---- Shared browser-chrome frame (#1339) ----
   One frame for the hero lead capture and every gallery shot, modeled on
   index.html's .demo-frame walkthrough frame: traffic-light topbar + URL,
   full-bleed stage (captures are full-bleed app screenshots — no letterbox
   mat), and the gallery's caption strip inside the frame. */
.p-shot-chrome{
  display:flex;align-items:center;gap:6px;
  padding:10px 14px;background:var(--ink);
}
.p-shot-chrome i{width:9px;height:9px;border-radius:50%;background:rgba(246,243,234,.25);flex-shrink:0}
.p-shot-chrome i:nth-child(1){background:#e36b6b}
.p-shot-chrome i:nth-child(2){background:#e7c46b}
.p-shot-chrome i:nth-child(3){background:#9be564}
.p-shot-chrome span{
  margin-left:8px;font-size:11.5px;color:rgba(246,243,234,.6);
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.p-shot-stage{background:var(--paper);overflow:hidden;min-width:0}
.p-shot-stage img{width:100%;height:auto;display:block}

/* ---- Section scaffolding ---- */
.p-section{padding:72px 0}
.p-section.alt{background:var(--mist)}
.p-section .p-kicker{
  font-size:12.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;
  color:var(--leaf);margin:0 0 12px;
}
.p-section h2{font-size:clamp(26px,3.4vw,38px);margin:0 0 10px}
.p-section .lede{font-size:17px;color:var(--ink-60);max-width:64ch;margin:0 0 36px}

/* ---- Overview / features ---- */
.p-overview-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;align-items:start}
.p-overview-grid .p-copy p{color:rgba(13,27,22,.75);margin:0 0 18px;font-size:16.5px}
.p-overview-grid .p-copy p:last-child{margin-bottom:0}
.p-features{list-style:none;margin:0;padding:0}
.p-features li{
  display:flex;gap:14px;align-items:flex-start;
  padding:16px 18px;border:1px solid var(--line);border-radius:14px;
  background:#fff;margin-bottom:12px;
}
.p-features li:last-child{margin-bottom:0}
.p-features .tick{
  flex-shrink:0;width:26px;height:26px;border-radius:50%;
  background:var(--mist);color:var(--leaf);
  display:grid;place-items:center;font-weight:800;font-size:14px;margin-top:1px;
}
.p-features .ft{font-weight:600;font-size:15.5px;display:block;margin-bottom:2px}
.p-features .fd{font-size:14px;color:rgba(13,27,22,.65)}
/* #1586: the live proof lines (quantAttempts/quantBuyers) under the overview
   copy. Served stamped or removed wholesale — the static page ships none.
   Scoped to .p-copy (#1811): the stacked bordered-line treatment belongs to
   the light overview column only — the hero fact row's grid treatment is
   .p-hero .p-facts above, and the two blocks must never cross. */
.p-copy .p-facts{list-style:none;margin:22px 0 0;padding:0}
.p-copy .p-facts li{font-size:14.5px;color:rgba(13,27,22,.72);padding:6px 0;border-top:1px solid var(--line)}
.p-copy .p-facts li:first-child{border-top:0}
.p-copy .p-facts b{font-weight:700;color:var(--ink)}

/* ---- Feature cards (caseace "What's inside" + "The flow") ---- */
.p-feature-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:18px}
.p-feature-card{border:1px solid var(--line);border-radius:16px;background:#fff;padding:20px;min-width:0;box-shadow:0 6px 18px rgba(13,27,22,.05)}
.p-feature-card .p-fc-ic{font-size:26px;line-height:1;margin-bottom:10px}
.p-feature-card h3{margin:0 0 6px;font-family:'Fraunces',serif;font-size:16.5px;font-weight:700;color:var(--ink)}
.p-feature-card p{margin:0;font-size:13.5px;line-height:1.55;color:rgba(13,27,22,.68)}
/* Flow headers (#1339): "01 Pick your case" — the number badge + the title
   on one line; the label span wraps (never overflows the card) at narrow
   widths. The old "[icon] · 1 · Title" anatomy (glyph slot + separator dots)
   is retired with its plumbing. */
.p-feature-card h3.p-fc-line{display:flex;align-items:center;gap:10px}
.p-feature-card h3.p-fc-line .p-fc-label{min-width:0;overflow-wrap:break-word}

/* ---- The flow (#1339): one numbered path, never an orphaned 5th card ----
   Five steps in a 4-column auto-fit grid leave the 5th card orphaned with
   three empty cells. Desktop ≥1024px is five real columns; below, the cards
   stack as a vertical (numbered) timeline — a connector stub through each
   gap keeps the rail reading as one path on mobile. */
.p-flow-grid{grid-template-columns:1fr;gap:0}
.p-flow-grid .p-feature-card{position:relative;margin-bottom:16px}
.p-flow-grid .p-feature-card:last-child{margin-bottom:0}
.p-flow-grid .p-feature-card::after{
  content:'';position:absolute;left:41px;bottom:-17px;
  width:2px;height:16px;background:var(--line);
}
.p-flow-grid .p-feature-card:last-child::after{content:none}
.p-flow-grid .p-fc-num{
  display:inline-grid;place-items:center;flex-shrink:0;
  min-width:42px;height:42px;padding:0 10px;border-radius:12px;
  background:var(--mist);color:var(--leaf);
  font-family:'Fraunces',Georgia,serif;font-weight:800;font-size:16px;
  letter-spacing:.02em;
}
@media(min-width:1024px){
  .p-flow-grid{grid-template-columns:repeat(5,1fr);gap:18px}
  .p-flow-grid .p-feature-card{margin-bottom:0}
  .p-flow-grid .p-feature-card::after{content:none}
}

/* ---- Screenshots ---- */
/* #1339: every shot is the shared browser-chrome frame — .p-shot-chrome
   topbar + full-bleed .p-shot-stage + the caption strip INSIDE the frame.
   No aspect-ratio crop: the captures are 1440×950 full-bleed app
   screenshots, and cropping them was what cut cards in half. */
.p-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr));gap:22px}
.p-shot{
  border:1px solid var(--line);border-radius:16px;overflow:hidden;
  background:#fff;box-shadow:0 10px 30px rgba(13,27,22,.06);
  min-width:0;
}
.p-shot figcaption{padding:13px 16px;font-size:13.5px;color:rgba(13,27,22,.68);border-top:1px solid var(--line)}
.p-shot figcaption b{display:block;color:var(--ink);font-size:14.5px;margin-bottom:2px}

/* ---- After-every-attempt report figures (#1584) ---- */
.p-report-grid{display:grid;grid-template-columns:1fr;gap:22px;margin-top:4px}
@media(min-width:900px){.p-report-grid{grid-template-columns:1fr 1fr}}
.p-report-link{margin:22px 0 0;font-size:14.5px}
.p-report-link a{color:var(--leaf);font-weight:600}

/* ---- Screenshot carousel (PR #181 review: flick through page-width captures) ---- */
.p-carousel{position:relative;margin-top:4px}
.p-carousel .p-car-track{
  display:flex;gap:0;overflow-x:auto;scroll-snap-type:x mandatory;
  border-radius:16px;-webkit-overflow-scrolling:touch;scrollbar-width:none;
}
.p-carousel .p-car-track::-webkit-scrollbar{display:none}
.p-carousel .p-shot{flex:0 0 100%;scroll-snap-align:start;scroll-snap-stop:always;border-radius:0;border:none;border-left:1px solid var(--line);border-right:1px solid var(--line)}
.p-carousel .p-shot:first-child{border-left:none}
.p-carousel .p-shot:last-child{border-right:none}
.p-car-btn{
  position:absolute;top:42%;transform:translateY(-50%);z-index:2;
  width:44px;height:44px;border-radius:50%;border:1px solid var(--line);
  background:rgba(255,255,255,.94);color:var(--ink);cursor:pointer;
  font-size:20px;line-height:1;display:grid;place-items:center;
  box-shadow:0 4px 14px rgba(13,27,22,.18);
}
.p-car-btn:hover{background:#fff}
.p-car-btn:focus-visible{outline:3px solid var(--leaf);outline-offset:2px}
.p-car-btn[data-dir="-1"]{left:12px}
.p-car-btn[data-dir="1"]{right:12px}
.p-car-btn:disabled{opacity:.25;cursor:default;box-shadow:none}
.p-car-dots{display:flex;gap:8px;justify-content:center;padding:2px 0 0}
/* #1129: the BUTTON is the touch target — 44×44px (WCAG 2.5.5 / Apple HIG
 * floor) with >= 8px between hit areas (the .p-car-dots gap). The visible
 * 9px dot is a ::after inside it, so the rail stays visually light. Arrows
 * stay visible at every width (no display:none at 640px any more): with the
 * tiny dots retired, they are the <=640px sideways-movement affordance. */
.p-car-dot{width:44px;height:44px;border-radius:50%;border:none;background:transparent;cursor:pointer;padding:0;display:grid;place-items:center}
.p-car-dot::after{content:'';width:9px;height:9px;border-radius:50%;background:rgba(13,27,22,.22)}
.p-car-dot.on::after{background:var(--leaf)}
.p-car-dot:focus-visible{outline:2px solid var(--leaf);outline-offset:2px}

/* ---- Pricing ---- */
.p-price-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:22px;align-items:stretch}
.p-price-card{
  display:flex;flex-direction:column;
  border:1px solid var(--line);border-radius:18px;background:#fff;
  padding:28px;box-shadow:0 10px 30px rgba(13,27,22,.05);min-width:0;
}
.p-price-card.featured{
  border:1.5px solid var(--leaf);
  background:linear-gradient(180deg,#fff,#f4faf5);
  box-shadow:0 18px 44px rgba(47,107,79,.12);
  position:relative;
}
.p-price-card .corner{
  position:absolute;top:-13px;left:24px;
  background:var(--leaf);color:#fff;font-size:12px;font-weight:700;
  letter-spacing:.1em;text-transform:uppercase;padding:6px 13px;border-radius:999px;
}
.p-price-card .plan-name{font-size:13px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--leaf);margin:0 0 12px}
.p-price-card .price{font-family:'Fraunces',Georgia,serif;font-size:44px;font-weight:800;letter-spacing:-.02em;line-height:1;margin:0 0 6px}
.p-price-card .per{font-size:13.5px;color:rgba(13,27,22,.6);margin-bottom:18px}
.p-price-card ul{list-style:none;margin:0 0 22px;padding:0;flex:1}
/* #1339: the li is NOT a flex container — a bullet with inline markup
   (<strong>/<a>) became several flex items with 10px gaps and the sentence
   broke mid-line. The li stays display:block; the ✓ hangs off an absolute
   ::before with padding-left reserving its column. */
.p-price-card ul li{display:block;position:relative;font-size:14px;color:rgba(13,27,22,.78);padding:7px 0 7px 24px}
.p-price-card ul li::before{content:"✓";position:absolute;left:0;top:7px;color:var(--leaf);font-weight:800}
.p-price-card .btn{width:100%}
.p-price-card .save-line{font-weight:700;color:var(--leaf);margin:-10px 0 14px;font-size:14px}
.p-price-card .per-tool{font-size:13px;color:rgba(13,27,22,.6);margin:-14px 0 14px}
.p-price-card .p-trial-link{display:block;text-align:center;margin-top:12px;font-size:13.5px;color:var(--leaf);font-weight:600}
.p-price-card .p-guarantee{font-size:12.5px;margin:12px 0 0;text-align:center;color:rgba(13,27,22,.65)}
/* #1316: the outcome-guarantee badge on the featured McKinsey-bundle card —
   a quiet line under the CTA; the shield glyph takes the leaf the card's ✓
   marks use. These pages link /css/glyphs.css for the stamp. */
.p-price-card .guarantee{display:flex;gap:8px;align-items:flex-start;margin-top:12px;font-size:12.5px;line-height:1.5;color:rgba(13,27,22,.72);text-decoration:none}
.p-price-card .guarantee .glyph{color:var(--leaf);margin-top:2px}
.p-price-card .guarantee:hover span{text-decoration:underline}

/* #1576: purchase-confidence fine print under the price cards — what an
   attempt is, VAT, Stripe — and the all-firms cross-sell line (the
   bundle saving itself rides the #1332 .save-line above). */
.p-fine{font-size:14px;color:rgba(13,27,22,.72);margin:14px 0 0}
.p-fine a{color:var(--leaf);font-weight:600}

/* ---- Social proof (#1577): the rating row under the hero (.p-proof) and the
   candidate quotes above the pricing cards (.p-quote). Values are stamped
   server-side from lib/review-stats.js — unrated products serve NEITHER (the
   stamper removes their .p-proof / .p-quotes markup before the response
   ships), so stars never sit next to "New". No AggregateRating JSON-LD until
   the figures' provenance is confirmed (#1549). ---- */
.p-proof{display:flex;gap:8px;align-items:center;margin:16px 0 0;font-size:15px;color:rgba(246,243,234,.85)}
.p-proof .stars{color:var(--gold)}
.p-quote{margin:0 0 20px;padding:18px 20px;border-left:3px solid var(--leaf);background:var(--mist);border-radius:0 12px 12px 0}
.p-quote blockquote{margin:0;font-size:16px}
.p-quote figcaption{font-size:14px;color:rgba(13,27,22,.72);margin-top:8px}

/* ---- FAQ (#1316): the same <details> accordion component as the landing
   page's FAQ (index-faq-accordion.test.js pins it there) — the native
   disclosure element carries the keyboard contract (#1116: Enter/Space
   toggle for free), single column, product-scoped questions. ---- */
.p-faq{display:grid;grid-template-columns:1fr;gap:12px;max-width:720px;margin-top:28px}
.p-faq .faq{background:#fff;border:1px solid var(--line);border-radius:14px;padding:0}
.p-faq .faq summary{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:16px 20px;cursor:pointer;list-style:none}
.p-faq .faq summary::-webkit-details-marker{display:none}
.p-faq .faq summary:focus-visible{outline:2px solid var(--leaf);outline-offset:-2px}
.p-faq .faq h3{margin:0;font-size:15.5px;font-family:inherit;font-weight:700;line-height:inherit;letter-spacing:normal}
.p-faq .faq .chev{flex-shrink:0;color:rgba(13,27,22,.6);transition:transform .2s ease}
.p-faq .faq[open] .chev{transform:rotate(180deg)}
.p-faq .faq-a{padding:2px 20px 18px}
.p-faq .faq-a p{margin:0;font-size:14px;color:rgba(13,27,22,.72)}
.p-faq .faq-a a{color:var(--leaf);font-weight:600}

/* ---- Ways-to-prepare comparison (#1587): one accessible table (caption +
   scope attrs in the markup) comparing KINDS of prep, never named providers.
   Wide by design, so the wrapper owns the mobile behaviour: horizontal scroll
   with a visible affordance (the .p-compare-hint line, shown <=760px, plus an
   always-styled scrollbar). ---- */
.table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;margin-top:28px}
.table-scroll::-webkit-scrollbar{height:8px}
.table-scroll::-webkit-scrollbar-thumb{background:rgba(13,27,22,.25);border-radius:4px}
.table-scroll table{border-collapse:collapse;width:100%;min-width:640px}
.p-compare caption{caption-side:top;text-align:left;font-size:13px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--ink-60);padding:0 0 10px}
.p-compare th,.p-compare td{border:1px solid var(--line);padding:12px 14px;text-align:left;vertical-align:top;font-size:14.5px}
.p-compare thead th{background:var(--ink);color:var(--cream);font-size:13.5px;white-space:nowrap}
.p-compare tbody th{background:var(--mist);font-weight:700;width:220px}
.p-compare tbody td:nth-child(2){background:rgba(155,229,100,.16);font-weight:600}
.p-compare-hint{display:none;font-size:13px;color:var(--ink-60);margin:8px 0 0}
@media(max-width:760px){.p-compare-hint{display:block}}

/* ---- Trial banner (mirrors index.html trial-strip) ---- */
.p-trial{
  background:linear-gradient(135deg,#1f3a2e 0%,#2f6b4f 45%,#3d7d5f 100%);
  padding:40px 0;position:relative;overflow:hidden;
}
.p-trial::before{
  content:'';position:absolute;inset:0;
  background:radial-gradient(ellipse at 30% 0%,rgba(155,229,100,.12),transparent 60%),radial-gradient(ellipse at 80% 100%,rgba(231,196,107,.08),transparent 55%);
  pointer-events:none;
}
.p-trial .wrap{display:flex;align-items:center;justify-content:center;gap:12px 26px;flex-wrap:wrap;position:relative;z-index:1}
.p-trial .trial-copy{flex:0 1 auto;max-width:100%;text-align:center}
.p-trial .trial-copy h2{font-family:'Fraunces',Georgia,serif;font-size:clamp(22px,2.6vw,30px);margin:0;color:#fff;line-height:1.15;letter-spacing:-.01em}
.p-trial .trial-copy h2 em{font-style:italic;color:var(--lime)}
.p-trial .trial-form{display:flex;gap:10px;flex-wrap:wrap;align-items:center;justify-content:center}
.p-trial input[type=email]{width:min(300px,82vw);padding:14px 18px;border:2px solid rgba(255,255,255,.15);border-radius:999px;font-size:15px;font-family:inherit;background:rgba(255,255,255,.96);color:var(--ink);box-shadow:0 4px 14px rgba(0,0,0,.14)}
.p-trial input[type=email]:focus{outline:none;border-color:var(--lime);box-shadow:0 0 0 4px rgba(155,229,100,.22),0 4px 14px rgba(0,0,0,.12)}
.p-trial .btn-trial{
  background:linear-gradient(135deg,#9be564 0%,#7bc94c 100%);color:#0d1b16;
  padding:14px 28px;border-radius:999px;border:none;font-weight:700;font-size:15px;
  cursor:pointer;font-family:inherit;white-space:nowrap;
  transition:transform .15s,box-shadow .3s;
  box-shadow:0 0 12px rgba(155,229,100,.4),0 4px 16px rgba(0,0,0,.18);
  animation:trialBtnGlow 2.5s ease-in-out infinite;
}
.p-trial .trial-consent{display:flex;align-items:center;gap:8px;justify-content:center;width:100%;cursor:pointer;font-size:13px;color:rgba(255,255,255,.78)}
.p-trial .trial-consent input{width:16px;height:16px;cursor:pointer;accent-color:#9be564}
.p-trial .trial-consent span{line-height:1.35}
/* #1572: support copy — 13px, and white at .95: over the gradient's lightest
   stop (#3d7d5f) .88 computes ~4.18:1, .95 clears 4.5:1 (contrast-guard pin).
   The note's inline link is the same line of copy, so it rides the same tone. */
.p-trial .trial-note{font-size:13px;color:rgba(255,255,255,.95);margin-top:10px;text-align:center;width:100%}
.p-trial .trial-note a{color:rgba(255,255,255,.95);text-decoration:underline}
.p-trial .trial-msg{font-size:14px;font-weight:600;color:#fff;margin-top:10px;text-align:center;width:100%;display:none}
.p-trial .trial-msg.show{display:block}
.p-trial .trial-msg.err{color:#ffd0c8}
@keyframes trialBtnGlow{
  0%,100%{box-shadow:0 0 12px rgba(155,229,100,.4),0 4px 16px rgba(0,0,0,.18)}
  50%{box-shadow:0 0 24px rgba(155,229,100,.62),0 6px 22px rgba(0,0,0,.22)}
}
@media(max-width:560px){.p-trial .wrap{flex-direction:column;gap:14px}.p-trial .trial-copy{width:100%}}

/* ---- Coming soon (light waitlist page) ----
   This is a centered, LIGHT pattern (sits on --paper below the dark
   masthead), per ui-ux-pro-max's waitlist-coming-soon hero. It uses the
   canonical anatomy (.hero-inner--center + .hero-eyebrow + .hero-lede +
   .hero-actions) with a danger-red "soon" pill; all copy is ink (it renders
   on the cream page, not on the gradient). */
.p-soon{
  color:var(--ink);
  padding:64px 0 56px;text-align:center;position:relative;overflow:hidden;
}
.p-soon::after{
  content:'';position:absolute;inset:0;
  background:radial-gradient(ellipse 55% 40% at 50% 0%,rgba(193,75,58,.1),transparent 70%);
  pointer-events:none;
}
.p-soon .wrap{position:relative;z-index:1;max-width:820px}
/* The .hero-inner--center wrapper is centered by layout.css; only ink
   inversion + the danger pill differ from the dark heroes. */
.p-soon .hero-inner h1{color:var(--ink)}
.p-soon .hero-eyebrow--soon{
  background:rgba(193,75,58,.1);border-color:rgba(193,75,58,.4);color:var(--danger);
}
.p-soon .hero-eyebrow--soon::before{background:var(--danger);box-shadow:0 0 0 3px rgba(193,75,58,.2)}
.p-soon .hero-lede{color:rgba(13,27,22,.68);margin:0 auto}
.p-soon .hero-actions{justify-content:center}
/* The coming-soon hero is ink-on-paper (light) — the ghost keeps the ink
   look via /css/ui.css's .p-soon scope, which out-beats the dark
   header/.p-hero scopes (#1630). */

.p-alt-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:18px;margin-top:8px}
.p-alt-card{
  border:1px solid var(--line);border-radius:16px;background:#fff;
  padding:22px;text-decoration:none;display:block;min-width:0;
  transition:transform .15s ease,box-shadow .2s ease,border-color .2s ease;
}
.p-alt-card:hover{transform:translateY(-3px);box-shadow:0 16px 36px rgba(13,27,22,.1);border-color:var(--leaf)}
.p-alt-card .aic{font-size:26px;margin-bottom:10px}
.p-alt-card h3{font-size:17px;margin:0 0 6px}
.p-alt-card p{font-size:13.5px;color:rgba(13,27,22,.65);margin:0 0 12px}
.p-alt-card .go{font-size:13.5px;font-weight:700;color:var(--leaf)}
.p-alt-card .go::after{content:"→";margin-left:5px}

/* ---- Responsive ---- */
@media(max-width:900px){
  .p-overview-grid{grid-template-columns:1fr;gap:32px}
  .p-section{padding:56px 0}
  .p-hero{padding:42px 0}
}
@media(max-width:560px){
  .p-hero .hero-actions{flex-direction:column;align-items:stretch}
  /* #1572: on phones the stat strip's facts lay out as a 2-column grid
     (the stranded "·" separators are already gone product-wide — the
     #1339 rule above hides .p-hero .hero-meta .sep at every width).
     Scoped to .p-hero (all 15 product pages' hero): the site-wide .hero-meta
     in layout.css also serves the lime-dot variant (coaches/cvbuilder/guides
     hub), where a grid would split each dot from its label. */
  .p-hero .hero-meta{display:grid;grid-template-columns:1fr 1fr;gap:6px 16px}
}