/* PointMintz pricing page (P1 fix per BrokeNeedsFixed.MD 2026-05-11).
 * Visual system inherits from platform-brand.css; layout focuses on
 * three-card plan comparison + comparator promise + FAQ accordion. */

:root {
  --pp-bg: #0a1f1a;
  --pp-surface: #0f2f24;
  --pp-text: #e8f5ee;
  --pp-mist: #94a3b8;
  --pp-mint: #7cf5d2;
  --pp-mint-deep: #047857;
  --pp-line: rgba(124, 245, 210, 0.16);
  --pp-amber: #f59e0b;
  --pp-radius: 14px;
  --pp-shadow: 0 8px 24px rgba(2, 12, 9, 0.35);
  --pp-shadow-strong: 0 16px 48px rgba(2, 12, 9, 0.55);
}
* { box-sizing: border-box; }
html, body { max-width: 100%; }
body {
  margin: 0;
  background: var(--pp-bg);
  color: var(--pp-text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.55;
  /* Issue #10666 (smoke-2026-05-11): /pricing showed 13px horizontal scroll
   * at 375x667 (Class P mobile-broken). Belt-and-suspenders guard against any
   * future child element extending past viewport on mobile. `clip` (not
   * `hidden`) preserves position:sticky descendants and avoids the focus-jump
   * regression that `overflow-x: hidden` causes on iOS Safari. */
  overflow-x: clip;
}
a { color: var(--pp-mint); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; padding: .5rem 1rem; background: white; color: black; border-radius: 6px; }

/* HEADER */
/* Issue #10666 root cause: .site-nav was a flex row WITHOUT flex-wrap.
 * Six links + a CTA button cannot fit in 375px so the nav itself stayed
 * wider than the viewport (the parent .header-inner already wraps, but
 * the un-wrapped nav child was the overflowing block). Adding flex-wrap
 * + justify-content:flex-end keeps desktop layout identical (still a row)
 * while letting the nav break onto multiple lines on mobile. */
.site-header { padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--pp-line); max-width: 100%; }
.header-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.brand-link { display: flex; align-items: center; gap: 0.5rem; color: inherit; text-decoration: none; font-weight: 700; font-size: 1.05rem; }
.brand-mark { color: var(--pp-mint); font-size: 1.25rem; }
.site-nav { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
/* #11070 — pricing site-nav anchors (FAQ 31x44, Help 35x44) were short
   on the width axis. Inline-flex with `min-width: 44px` + horizontal
   padding lifts the smallest-label anchor to 44x44, meeting WCAG 2.5.5
   on both axes. */
.site-nav a {
  color: var(--pp-text);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 6px 10px;
  box-sizing: border-box;
}
.site-nav a[aria-current="page"] { color: var(--pp-mint); }
.btn-cta {
  background: var(--pp-mint);
  color: var(--pp-bg) !important;
  padding: 0.65rem 1.1rem;
  border-radius: var(--pp-radius);
  text-decoration: none;
  font-weight: 700;
  display: inline-block;
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: var(--pp-shadow); }
.btn-cta-large { padding: 1rem 2rem; font-size: 1.05rem; }

/* HERO */
.pricing-hero { max-width: 900px; margin: 4rem auto 2rem; padding: 0 1.5rem; text-align: center; }
.pricing-hero h1 { font-size: clamp(2rem, 4vw, 2.75rem); margin: 0 0 1rem; line-height: 1.15; }
.pricing-hero .lede { font-size: 1.15rem; color: var(--pp-mist); margin: 0 auto 1.5rem; max-width: 700px; }
.hero-meta { display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap; }
.meta-pill {
  background: rgba(124, 245, 210, 0.08);
  border: 1px solid var(--pp-line);
  color: var(--pp-mint);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Industry selector — drives /api/pricing/tiers cluster, shows real
 * per-industry prices. Issue #11050 (smoke-2026-05-12). */
.industry-selector {
  margin: 1.75rem auto 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  max-width: 100%;
  background: rgba(124, 245, 210, 0.06);
  border: 1px solid var(--pp-line);
  padding: 0.75rem 1.1rem;
  border-radius: 12px;
}
.industry-selector label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--pp-mint);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.industry-selector select {
  background: var(--pp-surface);
  color: var(--pp-text);
  border: 1px solid var(--pp-line);
  border-radius: 8px;
  padding: 0.55rem 0.85rem;
  font: inherit;
  min-width: 280px;
  max-width: 100%;
}
@media (max-width: 480px) {
  .industry-selector { width: 100%; padding: 0.75rem; }
  .industry-selector select { min-width: 0; width: 100%; max-width: 100%; }
  /* Issue #11020 (smoke-2026-05-11 mobile-320): /upgrade was retired to a
     301-redirect to /pricing, so the comparison-table overflow lives here
     now. The pricing-grid uses `repeat(auto-fit, minmax(280px, 1fr))` which
     cannot satisfy a 280px column in a 272px-wide container (320 viewport
     - 48px gutters). Forcing a single column at 480px keeps the plan cards
     readable and the document at viewport width. */
  .pricing-grid { grid-template-columns: 1fr; padding: 0 1rem; }
  .pricing-hero { padding: 0 1rem; }
}

/* PLAN GRID */
.pricing-grid {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}
.plan-card {
  position: relative;
  background: var(--pp-surface);
  border: 1px solid var(--pp-line);
  border-radius: var(--pp-radius);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--pp-shadow);
}
.plan-card-featured {
  border-color: var(--pp-mint);
  box-shadow: var(--pp-shadow-strong), 0 0 0 2px var(--pp-mint-deep);
  transform: translateY(-4px);
}
.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--pp-mint);
  color: var(--pp-bg);
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.plan-card h2 { margin: 0; font-size: 1.5rem; }
.plan-tagline { margin: 0; color: var(--pp-mist); font-size: 0.9rem; }
.plan-price { margin: 0.5rem 0 0; font-family: 'Space Grotesk', 'Inter', sans-serif; font-weight: 700; }
.price-amount { font-size: 2.5rem; color: var(--pp-mint); }
.price-unit { font-size: 1rem; color: var(--pp-mist); margin-left: 0.25rem; }
.plan-fine { margin: 0; font-size: 0.78rem; color: var(--pp-mist); }
.plan-features {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}
.plan-features li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.92rem;
  color: var(--pp-text);
}
.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--pp-mint);
  font-weight: 700;
}
.plan-cta { align-self: stretch; text-align: center; margin-top: auto; }

/* PROMISE */
.pricing-promise {
  max-width: 800px;
  margin: 4rem auto;
  padding: 2rem 1.5rem;
  background: var(--pp-surface);
  border: 1px solid var(--pp-line);
  border-radius: var(--pp-radius);
  text-align: center;
}
.pricing-promise h2 { color: var(--pp-mint); margin: 0 0 1rem; }
.pricing-promise p { margin: 0 0 1rem; color: var(--pp-text); }

/* FAQ */
.pricing-faq {
  max-width: 800px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}
.pricing-faq h2 { margin: 0 0 1.5rem; }
.pricing-faq details {
  background: var(--pp-surface);
  border: 1px solid var(--pp-line);
  border-radius: var(--pp-radius);
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
}
.pricing-faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--pp-mint);
  padding: 0.25rem 0;
}
.pricing-faq details[open] summary { margin-bottom: 0.5rem; }
.pricing-faq p { margin: 0.5rem 0 0; color: var(--pp-mist); }

/* CTA */
.pricing-cta {
  max-width: 800px;
  margin: 4rem auto;
  padding: 0 1.5rem;
  text-align: center;
}
.pricing-cta h2 { margin: 0 0 0.5rem; }
.pricing-cta p { margin: 0 0 1.5rem; color: var(--pp-mist); }

/* FOOTER */
.site-footer {
  border-top: 1px solid var(--pp-line);
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--pp-mist);
  font-size: 0.85rem;
}
/* #11070 — site-footer anchors on /pricing were rendering 40-168 wide
   by 16-20 tall (Privacy 47x16, Terms 40x16, hello@... 168x20). Inline-flex
   + 44px min-height with vertical padding lifts every footer anchor to
   the WCAG 2.5.5 44x44 floor without altering the centered underlined
   text presentation. */
.site-footer a {
  color: var(--pp-mist);
  text-decoration: underline;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 4px;
  box-sizing: border-box;
}
.site-footer a:hover { color: var(--pp-mint); }

@media (max-width: 700px) {
  .plan-card-featured { transform: none; }
  .site-nav { gap: 0.75rem; }
}

/* CSP cleanup 2026-05-11 */
.pricing-cta-walkthrough { margin-top: 1rem; }

/* ───────────────────────────────────────────────────────────────────────────
 * Per-vertical marketing surfaces (#11970 landing / #12026 pricing emphasis).
 * Shared by /for/:vertical (for-vertical.html) and the /pricing emphasis
 * banner + highlighted tier card. Reuses the --pp-* tokens above.
 * ─────────────────────────────────────────────────────────────────────────── */

/* Secondary CTA button (used on vertical landing hero alongside .btn-cta). */
.btn-secondary {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  border-radius: var(--pp-radius);
  border: 1px solid var(--pp-line);
  color: var(--pp-mint);
  text-decoration: none;
  font-weight: 600;
  background: transparent;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.btn-secondary:hover { border-color: var(--pp-mint); transform: translateY(-2px); }

/* Vertical landing hero CTA row. */
.vertical-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

/* Vertical landing feature grid. */
.vertical-features { max-width: 1080px; margin: 3.5rem auto; padding: 0 1.5rem; }
.vertical-features h2 { text-align: center; font-size: 1.6rem; margin-bottom: 2rem; }
.vertical-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.vertical-feature-card {
  background: var(--pp-surface);
  border: 1px solid var(--pp-line);
  border-radius: var(--pp-radius);
  padding: 1.5rem;
}
.vertical-feature-card h3 { color: var(--pp-mint); font-size: 1.15rem; margin: 0 0 0.6rem; }
.vertical-feature-card p { color: var(--pp-mist); margin: 0; line-height: 1.55; }

/* Vertical landing "also included" proof list. */
.vertical-proof { max-width: 760px; margin: 3rem auto; padding: 0 1.5rem; text-align: center; }
.vertical-proof h2 { font-size: 1.4rem; margin-bottom: 1.25rem; }
.vertical-proof-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.vertical-proof-list li {
  background: var(--pp-surface);
  border: 1px solid var(--pp-line);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  color: var(--pp-text);
  font-size: 0.95rem;
}
.vertical-pricing-link { margin-top: 3rem; }

/* #12026 — pricing-page vertical emphasis banner + highlighted tier card. */
.vertical-pricing-banner {
  max-width: 720px;
  margin: 0 auto 1.5rem;
  padding: 0.85rem 1.25rem;
  border-radius: var(--pp-radius);
  border: 1px solid var(--pp-mint);
  background: rgba(124, 245, 210, 0.08);
  color: var(--pp-text);
  font-weight: 600;
}
.plan-card-vertical-pick {
  border-color: var(--pp-mint);
  box-shadow: var(--pp-shadow-strong), 0 0 0 2px var(--pp-mint);
}
.plan-vertical-badge {
  position: absolute;
  top: -14px;
  right: 14px;
  background: var(--pp-amber);
  color: var(--pp-bg);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}
