/* ==========================================================================
   /home-b/ Challenger B — conversion + UX + Apple marketing bar
   v1.3.1 — φ + Funnel B video hero restored on /ppf/
   ========================================================================== */

:root {

  /* φ = 1.618 golden-ratio system */
  --phi: 1.618;
  --phi-inv: 0.618;
  --phi-sq: 2.618;
  --hb-base: 17px;
  --hb-fs-1: calc(var(--hb-base) * var(--phi-inv) * var(--phi-inv)); /* ~6.5 — micro */
  --hb-fs-2: calc(var(--hb-base) * var(--phi-inv)); /* ~10.5 — kicker */
  --hb-fs-3: var(--hb-base); /* 17 — body */
  --hb-fs-4: calc(var(--hb-base) * var(--phi)); /* ~27.5 — card h3 */
  --hb-fs-5: calc(var(--hb-base) * var(--phi) * var(--phi)); /* ~44.5 — h2 */
  --hb-fs-6: calc(var(--hb-base) * var(--phi) * var(--phi) * var(--phi)); /* ~72 — display */
  --hb-space-1: calc(8px * var(--phi-inv)); /* ~5 */
  --hb-space-2: 8px;
  --hb-space-3: calc(8px * var(--phi)); /* ~13 */
  --hb-space-4: calc(8px * var(--phi) * var(--phi)); /* ~21 */
  --hb-space-5: calc(8px * var(--phi) * var(--phi) * var(--phi)); /* ~34 */
  --hb-space-6: calc(8px * var(--phi) * var(--phi) * var(--phi) * var(--phi)); /* ~55 */
  --hb-space-7: calc(8px * var(--phi) * var(--phi) * var(--phi) * var(--phi) * var(--phi)); /* ~89 */
  --hb-space-8: calc(8px * var(--phi) * var(--phi) * var(--phi) * var(--phi) * var(--phi) * var(--phi)); /* ~144 */
  --hb-prose-phi: 38.2%; /* 1/φ² of viewport content band approx */
  --hb-content-phi: min(1080px, 100%);
  --hb-hero-text-max: 38.2ch; /* ≈ φ⁻² * 100ch */
  --hb-cta-offset: 61.8%; /* φ⁻¹ vertical weight toward lower third */
  --hb-black: #000000;
  --hb-void: #050507;
  --hb-card: #141416;
  --hb-elev: #1c1c1f;
  --hb-line: rgba(255,255,255,0.09);
  --hb-line-strong: rgba(255,255,255,0.16);
  --hb-porcelain: #f5f5f7;
  --hb-silver: #d2d2d7;
  --hb-ash: #a1a1a6;
  --hb-mute: #6e6e73;
  --hb-blue: #0071e3;
  --hb-link: #2997ff;
  --hb-gold: #fdb521;
  --hb-gold-soft: #fecc67;
  /* Primary buttons = LMS Apple Button blue; gold = accents only (1.2.3) */
  --hb-btn: #0071e3;
  --hb-btn-hover: #0068d1;
  --hb-btn-text: #ffffff;
  --hb-shadow: 0 24px 80px rgba(0,0,0,0.55);
  --hb-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  --hb-max: 1080px;
  --hb-prose: 680px;
  --hb-pill: 980px;
  --hb-tap: 48px;
}

body.ppf-home-b-page {
  margin: 0;
  padding: 0 !important;
  padding-bottom: 0 !important;
  background: var(--hb-black);
  color: var(--hb-porcelain);
  font-family: var(--hb-font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
html {
  overflow-x: hidden; /* backup: iOS Safari may ignore body overflow-x */
}
body.ppf-home-b-page.hb-has-sticky {
  padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
}
body.ppf-home-b-page > .topbar:not(.hb-topbar) { display: none !important; }

/* ---- Topbar ---- */
.hb-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0,0,0,0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hb-line);
}
.hb-topbar-inner {
  max-width: var(--hb-max);
  margin: 0 auto;
  padding: max(10px, env(safe-area-inset-top, 0px)) 20px 10px;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--hb-space-3);
}
.hb-brand {
  color: var(--hb-porcelain);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  min-height: var(--hb-tap);
  display: inline-flex;
  align-items: center;
}
.hb-topbar-actions { display: flex; align-items: center; gap: var(--hb-space-3); }
.hb-login {
  color: var(--hb-ash);
  font-size: 13px;
  white-space: nowrap;
  text-decoration: none;
  min-height: var(--hb-tap);
  display: inline-flex;
  align-items: center;
  padding: 0 4px;
}
.hb-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 18px;
  border-radius: var(--hb-pill);
  background: var(--hb-btn);
  border: 1.5px solid var(--hb-btn);
  color: var(--hb-btn-text) !important;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}
.hb-cta:hover { background: var(--hb-btn-hover); border-color: var(--hb-btn-hover); }

.hb-shell { background: var(--hb-black); color: var(--hb-porcelain); }
.hb-shell a:not(.hb-btn):not(.hb-cta) { color: var(--hb-link); text-underline-offset: 3px; }
.hb-wrap {
  max-width: var(--hb-max);
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}
.hb-prose { max-width: min(var(--hb-prose), 61.8vw); margin-left: auto; margin-right: auto; }

/* ---- Hero ---- */
.hb-hero {
  position: relative;
  isolation: isolate;
  min-height: min(89vh, 900px); /* φ-ish viewport */
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  width: 100vw;
  max-width: 100%; /* fix h-overflow: 100vw includes scrollbar width */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.hb-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
.hb-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.42) 26%, rgba(0,0,0,.5) 45%, rgba(0,0,0,.9) 70%, #000 100%),
    radial-gradient(ellipse 90% 50% at 50% 12%, rgba(0,57,101,.32), transparent 58%);
}
.hb-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--hb-max);
  margin: 0 auto;
  padding: var(--hb-space-8) 24px var(--hb-space-7); /* 144 / 89 */
  box-sizing: border-box;
}
.hb-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hb-gold);
  margin: 0 0 18px;
  text-shadow: 0 2px 12px rgba(0,0,0,.6);
}
.hb-display {
  font-size: clamp(2.75rem, 11vw, 4.85rem); /* ~φ³ from 17px base */
  font-weight: 680;
  line-height: 1.02;
  letter-spacing: -0.042em;
  color: #fff;
  margin: 0 0 20px;
  text-wrap: balance;
  text-shadow: 0 4px 28px rgba(0,0,0,.65), 0 1px 2px rgba(0,0,0,.8);
  max-width: 11.8ch; /* ≈ φ³ */
}
.hb-display em { font-style: normal; color: #e8e8ed; }
.hb-lede {
  font-size: clamp(1.125rem, 3.4vw, 1.375rem);
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: #e4e4e8;
  margin: 0 0 28px;
  max-width: var(--hb-hero-text-max);
  text-shadow: 0 2px 18px rgba(0,0,0,.7);
}
.hb-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  margin: 0 0 28px;
  color: #c8c8cd;
  font-size: 14px;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 10px rgba(0,0,0,.55);
}
.hb-hero-meta strong { color: #fff; font-weight: 650; }
.hb-dot {
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--hb-mute); display: inline-block;
}

/* Primary CTA — 48px+ tap */
.hb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 16px 32px;
  border-radius: var(--hb-pill);
  background: var(--hb-btn);
  border: 2px solid var(--hb-btn);
  color: var(--hb-btn-text) !important;
  font-family: var(--hb-font);
  font-size: 17px;
  font-weight: 680;
  letter-spacing: -0.01em;
  text-decoration: none !important;
  box-shadow: 0 12px 40px rgba(0,113,227,.32);
  transition: background .2s ease, border-color .2s ease, transform .12s ease, box-shadow .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.hb-btn:hover {
  background: var(--hb-btn-hover);
  border-color: var(--hb-btn-hover);
  box-shadow: 0 16px 48px rgba(0,113,227,.4);
  transform: translateY(-1px);
}
.hb-btn:active { transform: scale(0.985); }
.hb-btn-row { margin: 0 0 16px; }
.hb-btn-row--inline { margin-top: 32px; }
.hb-quiet {
  font-size: 14px;
  color: var(--hb-ash);
  margin: 0;
  max-width: 38ch;
  line-height: 1.5;
}
.hb-quiet a { color: var(--hb-link); }

/* Sticky Buy (mobile) */
.hb-sticky {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(0,0,0,.88);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-top: 1px solid var(--hb-line-strong);
  box-shadow: 0 -12px 40px rgba(0,0,0,.45);
}
.hb-btn--sticky {
  width: 100%;
  min-height: 52px;
  box-sizing: border-box;
  box-shadow: 0 8px 28px rgba(253,181,33,.28);
}
.hb-sticky[hidden] { display: none !important; }

/* Trust strip */
.hb-trust {
  border-top: 1px solid var(--hb-line);
  border-bottom: 1px solid var(--hb-line);
  background: linear-gradient(180deg, #0a0a0c, #050507);
  padding: 26px 0;
}
.hb-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px 12px;
  text-align: center;
}
.hb-trust-item strong {
  display: block;
  font-size: 22px;
  font-weight: 680;
  letter-spacing: -0.025em;
  color: var(--hb-porcelain);
  margin-bottom: 4px;
}
.hb-trust-item span {
  font-size: 11px;
  color: var(--hb-mute);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Sections — scroll rhythm */
.hb-section {
  padding: var(--hb-space-7) 0; /* 89px ≈ φ⁷ */
  border-bottom: 1px solid var(--hb-line);
}
.hb-section-alt { background: var(--hb-void); }
.hb-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hb-blue);
  margin: 0 0 14px;
}
.hb-h2 {
  font-size: clamp(1.9rem, 6.5vw, 2.85rem);
  font-weight: 680;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0 0 22px;
  color: var(--hb-porcelain);
  text-wrap: balance;
  max-width: 16.18ch;
}
.hb-body {
  font-size: 18px;
  line-height: 1.55;
  letter-spacing: -0.012em;
  color: var(--hb-silver);
  margin: 0 0 18px;
  max-width: 42ch; /* ~ φ² * 16 */
}

.hb-features {
  display: grid;
  gap: var(--hb-space-3); /* 13≈φ */
  margin-top: var(--hb-space-6); /* 55 */
}
.hb-card {
  background: var(--hb-card);
  border: 1px solid var(--hb-line-strong);
  border-radius: calc(8px * var(--phi) * var(--phi)); /* 21 */
  padding: 26px 24px;
  box-shadow: var(--hb-shadow);
}
.hb-card h3 {
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.022em;
  margin: 0 0 10px;
  color: var(--hb-porcelain);
}
.hb-card p {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--hb-ash);
  margin: 0;
  letter-spacing: -0.01em;
}
.hb-card .hb-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hb-gold);
  margin-bottom: 10px;
}

/* Objections grid */
.hb-obj-grid {
  display: grid;
  gap: var(--hb-space-3); /* 13≈φ */
  margin-top: var(--hb-space-5); /* 34 */
}
.hb-obj-grid .hb-card h3 {
  font-size: 17px;
  margin-bottom: 12px;
  color: var(--hb-porcelain);
}

/* Offer panel */
.hb-offer {
  margin-top: var(--hb-space-6);
  background:
    linear-gradient(145deg, rgba(0,113,227,.14), transparent 42%),
    var(--hb-elev);
  border: 1px solid var(--hb-line-strong);
  border-radius: calc(8px * var(--phi) * var(--phi) + 5px); /* ~26 */
  padding: 36px 26px;
  box-shadow: var(--hb-shadow);
}
.hb-offer-price {
  font-size: clamp(2.5rem, 8vw, 3.5rem);
  font-weight: 680;
  letter-spacing: -0.04em;
  color: var(--hb-porcelain);
  margin: 0 0 10px;
}
.hb-offer-price span {
  font-size: 0.38em;
  font-weight: 500;
  color: var(--hb-ash);
  letter-spacing: -0.01em;
  vertical-align: middle;
  margin-left: 4px;
}
.hb-offer-note {
  font-size: 15px;
  color: var(--hb-ash);
  margin: 0 0 26px;
  line-height: 1.5;
  max-width: 48ch;
}
.hb-offer-list { list-style: none; padding: 0; margin: 0 0 28px; }
.hb-offer-list li {
  position: relative;
  padding: 15px 0 15px 28px;
  border-top: 1px solid var(--hb-line);
  font-size: 16px;
  line-height: 1.45;
  color: var(--hb-silver);
  letter-spacing: -0.01em;
}
.hb-offer-list li:last-child { border-bottom: 1px solid var(--hb-line); }
.hb-offer-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 1.25em;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--hb-gold);
  box-shadow: 0 0 0 3px rgba(253,181,33,.2);
}
.hb-offer-list strong { color: var(--hb-porcelain); font-weight: 650; }

/* Steps */
.hb-steps {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  display: grid;
  gap: var(--hb-space-3);
}
.hb-steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: var(--hb-space-3); /* 13≈φ */
  align-items: start;
  background: var(--hb-card);
  border: 1px solid var(--hb-line);
  border-radius: calc(8px * var(--phi) + 5px); /* ~18 */
  padding: 18px 16px;
}
.hb-steps .n {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #1a2740, #0d1524);
  border: 1px solid rgba(41,151,255,.4);
  color: var(--hb-link);
  font-weight: 700;
  font-size: 16px;
}
.hb-steps h3 {
  margin: 4px 0 6px;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--hb-porcelain);
}
.hb-steps p {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: var(--hb-ash);
}

/* Who */
.hb-who { display: grid; gap: var(--hb-space-3); margin-top: var(--hb-space-5); /* 34 */ }
.hb-who-card {
  border-radius: calc(8px * var(--phi) * var(--phi));
  padding: 24px 22px;
  border: 1px solid var(--hb-line);
  background: var(--hb-card);
}
.hb-who-card.yes { border-color: rgba(253,181,33,.32); }
.hb-who-card h3 {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hb-gold);
}
.hb-who-card.no h3 { color: var(--hb-mute); }
.hb-who-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--hb-silver);
}

/* FAQ — large tap summaries */
.hb-faq details {
  border-top: 1px solid var(--hb-line);
  padding: 0;
}
.hb-faq details:last-child { border-bottom: 1px solid var(--hb-line); }
.hb-faq summary {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
  color: var(--hb-porcelain);
  min-height: var(--hb-tap);
  display: flex;
  align-items: center;
  padding: 14px 0;
  -webkit-tap-highlight-color: transparent;
}
.hb-faq summary::-webkit-details-marker { display: none; }
.hb-faq details p {
  margin: 0 0 18px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--hb-ash);
  max-width: 48ch;
}

/* Final */
.hb-final {
  text-align: center;
  padding: var(--hb-space-8) 24px calc(var(--hb-space-8) * var(--phi-inv) + var(--hb-space-6));
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(0,113,227,.24), transparent 55%),
    var(--hb-black);
  border-top: 1px solid var(--hb-line);
  width: 100vw;
  max-width: 100%; /* fix h-overflow: 100vw includes scrollbar width */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
}
.hb-final .hb-h2 {
  max-width: 11.8ch; /* ≈ φ³ */
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(2.2rem, 8vw, 3.4rem);
}
.hb-final .hb-body {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  max-width: 28ch;
  margin-bottom: 32px;
}
.hb-final .hb-btn-row { display: flex; justify-content: center; }

.hb-footer {
  background: var(--hb-black);
  border-top: 1px solid var(--hb-line);
  text-align: center;
  padding: 40px 20px max(36px, env(safe-area-inset-bottom, 0px) + 16px);
  color: var(--hb-mute);
  font-size: 13px;
  line-height: 1.65;
}
body.hb-has-sticky .hb-footer {
  padding-bottom: calc(36px + env(safe-area-inset-bottom, 0px));
}
.hb-footer a { color: var(--hb-link); text-decoration: none; }
.hb-footer-offer { color: var(--hb-ash); margin: 0 0 10px; }

@media (min-width: 700px) {
  .hb-trust-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .hb-features { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
  .hb-obj-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hb-who { grid-template-columns: 1fr 1fr; }
  .hb-steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hb-hero-inner { padding: calc(var(--hb-space-8) * var(--phi-inv) + var(--hb-space-7)) 32px var(--hb-space-7); }
  .hb-offer { padding: 44px 40px; }
  .hb-section { padding: calc(var(--hb-space-7) * var(--phi)) 0; /* ~144 */ }
}
@media (max-width: 480px) {
  .hb-hero { min-height: min(88vh, 740px); }
  .hb-hero-inner { padding: 96px 18px 68px; }
  .hb-section { padding: var(--hb-space-6) 0; /* 55 */ }
  .hb-btn { width: 100%; max-width: 100%; box-sizing: border-box; }
  .hb-wrap { padding: 0 18px; }
  .hb-final { padding: var(--hb-space-7) 18px calc(var(--hb-space-7) + var(--hb-space-3)); }
  .hb-display { font-size: clamp(2.35rem, 11vw, 2.85rem); }
}
@media (prefers-reduced-motion: reduce) {
  .hb-btn, .hb-cta { transition: none !important; }
  .hb-hero-video { display: none; }
  .hb-hero {
    background: #0a0a0c url("https://tvpwestgate.com/wp-content/uploads/2026/09/hero-bg-poster.jpg") center/cover;
  }
}

/* ---- Tesla-like specs / benefits / include / sticky price (v1.3) ---- */
.hb-price-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
  margin: 0 0 var(--hb-space-5);
}
.hb-price {
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: 680;
  letter-spacing: -0.035em;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,.55);
}
.hb-price-note {
  font-size: 14px;
  color: #c8c8cd;
  letter-spacing: -0.01em;
}

.hb-specs {
  padding: var(--hb-space-7) 0;
  border-bottom: 1px solid var(--hb-line);
  background: var(--hb-void);
}
.hb-specs-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hb-mute);
  margin: 0 0 var(--hb-space-5);
  text-align: center;
}
.hb-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--hb-line);
  border-left: 1px solid var(--hb-line);
}
.hb-spec {
  padding: var(--hb-space-4) var(--hb-space-3);
  border-right: 1px solid var(--hb-line);
  border-bottom: 1px solid var(--hb-line);
  min-height: calc(var(--hb-space-7) * var(--phi-inv) + var(--hb-space-4));
}
.hb-spec dt {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hb-mute);
}
.hb-spec dd {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--hb-porcelain);
  line-height: 1.3;
}

.hb-benefits {
  list-style: none;
  padding: 0;
  margin: var(--hb-space-5) 0 0;
  max-width: 42ch;
}
.hb-benefits li {
  padding: var(--hb-space-4) 0;
  border-top: 1px solid var(--hb-line);
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--hb-silver);
}
.hb-benefits li:last-child { border-bottom: 1px solid var(--hb-line); }
.hb-benefits strong { color: var(--hb-porcelain); font-weight: 650; }

.hb-include {
  margin-top: var(--hb-space-5);
  border-top: 1px solid var(--hb-line);
}
.hb-include-row {
  display: grid;
  grid-template-columns: minmax(7rem, 38.2%) 1fr;
  gap: var(--hb-space-3);
  align-items: baseline;
  padding: var(--hb-space-4) 0;
  border-bottom: 1px solid var(--hb-line);
  font-size: 15px;
}
.hb-include-row span {
  color: var(--hb-mute);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hb-include-row strong {
  color: var(--hb-porcelain);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.4;
}

.hb-path {
  list-style: none;
  padding: 0;
  margin: var(--hb-space-5) 0 var(--hb-space-4);
  counter-reset: hbpath;
}
.hb-path li {
  counter-increment: hbpath;
  position: relative;
  padding: var(--hb-space-3) 0 var(--hb-space-3) var(--hb-space-6);
  font-size: 17px;
  line-height: 1.45;
  color: var(--hb-silver);
  border-bottom: 1px solid var(--hb-line);
}
.hb-path li::before {
  content: counter(hbpath);
  position: absolute;
  left: 0;
  top: var(--hb-space-3);
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--hb-card);
  border: 1px solid rgba(41,151,255,.35);
  color: var(--hb-link);
  font-size: 13px;
  font-weight: 700;
}
.hb-path strong { color: var(--hb-porcelain); }

.hb-sticky-inner {
  max-width: var(--hb-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.hb-sticky-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.hb-sticky-meta strong {
  font-size: 14px;
  font-weight: 650;
  color: var(--hb-porcelain);
  letter-spacing: -0.01em;
}
.hb-sticky-meta span {
  font-size: 15px;
  font-weight: 680;
  color: var(--hb-gold);
  letter-spacing: -0.02em;
}
.hb-btn--sticky {
  width: auto;
  min-width: 7.5rem;
  min-height: 48px;
  padding: 12px 22px;
  flex-shrink: 0;
}

@media (min-width: 700px) {
  .hb-spec-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .hb-include-row { grid-template-columns: minmax(9rem, 23.6%) 1fr; /* φ⁻² / rest */ }
}

/* ---- Live / header polish: TVP PPF logo + φ topbar ---- */
.hb-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  text-decoration: none;
}
.hb-brand-logo {
  display: block;
  height: 36px;
  width: auto;
  max-width: 72px;
  object-fit: contain;
  border-radius: 6px;
}
.hb-brand-text {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--hb-porcelain, #f5f5f7);
  white-space: nowrap;
}
.hb-beta-pill {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(245,245,247,.72);
  border: 1px solid rgba(245,245,247,.28);
  border-radius: 999px;
  padding: 2px 9px;
  line-height: 1.5;
  white-space: nowrap;
}
.hb-topbar-inner {
  padding-top: max(12px, env(safe-area-inset-top, 0px));
  padding-bottom: 12px;
  min-height: 56px;
}
.hb-cta {
  min-height: 44px;
  padding: 10px 18px;
  font-weight: 600;
  white-space: nowrap;
}
@media (max-width: 420px) {
  .hb-brand-text { font-size: 13px; }
  .hb-brand-logo { height: 32px; max-width: 56px; }
  .hb-cta { padding: 10px 14px; font-size: 13px; }
}
@media (max-width: 360px) {
  .hb-brand-text { display: none; }
}
.ppfb-tool-guide{display:none!important;}

/* ---- Funnel premium images (v1.1.1) — sparse Apple placement ---- */
.hb-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  z-index: 0;
  pointer-events: none;
}
/* video hero restored — Funnel B cinematic (was: display:none !important on .hb-hero-video) */

.hb-spec-visual {
  margin: var(--hb-space-6, 55px) 0 0;
  border-radius: 18px;
  overflow: hidden;
  background: #0a0a0c;
  aspect-ratio: 16 / 9;
}
.hb-spec-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
}

.hb-how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 3vw, 28px);
  margin-top: var(--hb-space-5, 34px);
}
.hb-how-card {
  margin: 0;
  background: #0c0c0e;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}
.hb-how-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #0a0a0c;
}
.hb-how-card figcaption {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hb-how-card figcaption strong {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: #f5f5f7;
}
.hb-how-card figcaption span {
  font-size: 13px;
  line-height: 1.45;
  color: #a1a1a6;
}

.hb-include-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  margin-top: var(--hb-space-5, 34px);
}
.hb-include-visual {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #0a0a0c;
  border: 1px solid rgba(255,255,255,0.06);
}
.hb-include-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hb-proof-hero {
  margin: var(--hb-space-5, 34px) 0 0;
  border-radius: 18px;
  overflow: hidden;
  background: #0a0a0c;
  border: 1px solid rgba(255,255,255,0.06);
}
.hb-proof-hero img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.hb-proof-hero figcaption {
  padding: 14px 18px 18px;
  font-size: 13px;
  color: #a1a1a6;
  letter-spacing: -0.01em;
}

@media (max-width: 820px) {
  .hb-how-grid { grid-template-columns: 1fr; }
  .hb-how-card img { aspect-ratio: 16 / 10; }
  .hb-include-split { grid-template-columns: 1fr; }
  .hb-include-visual { order: -1; max-width: 520px; }
}
@media (max-width: 480px) {
  .hb-spec-visual,
  .hb-proof-hero,
  .hb-include-visual,
  .hb-how-card { border-radius: 14px; }
}

/* Product page sparse gallery */
.ppf-product-gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 12px;
  margin: 28px 0;
}
.ppf-product-gallery figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #0a0a0c;
}
.ppf-product-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.ppf-product-gallery figure:first-child {
  grid-row: span 2;
}
.ppf-product-gallery figure:first-child img { aspect-ratio: 3 / 4; }
@media (max-width: 640px) {
  .ppf-product-gallery { grid-template-columns: 1fr 1fr; }
  .ppf-product-gallery figure:first-child { grid-row: auto; grid-column: span 2; }
  .ppf-product-gallery figure:first-child img { aspect-ratio: 16 / 9; }
}

/* ==========================================================================
   /ppf/ Funnel — dual pricing + Mattone display (2026-10-01)
   ========================================================================== */
body.ppf-funnel-page .hb-display,
body.ppf-funnel-page .hb-h2,
body.ppf-funnel-page .hb-specs-title,
body.ppf-funnel-page .hb-who-card h3,
body.ppf-funnel-page .hb-card h3,
body.ppf-funnel-page .hb-plan-label,
body.ppf-funnel-page .hb-plan-amt {
  font-family: 'Mattone', 'Arial Black', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
}

.hb-btn-row--dual {
  display: flex;
  flex-wrap: wrap;
  gap: var(--hb-space-3);
  align-items: center;
}
.hb-btn--ghost {
  background: transparent !important;
  border-color: rgba(255,255,255,0.28) !important;
  color: var(--hb-porcelain) !important;
  box-shadow: none !important;
}
.hb-btn--ghost:hover {
  background: rgba(255,255,255,0.08) !important;
  border-color: rgba(255,255,255,0.45) !important;
  box-shadow: none !important;
}
.hb-btn--block {
  width: 100%;
  box-sizing: border-box;
}

.hb-plans-section { padding: var(--hb-space-7) 0; }
.hb-plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--hb-space-4);
  margin-top: var(--hb-space-5);
}
@media (min-width: 720px) {
  .hb-plans {
    grid-template-columns: 1fr 1fr;
    gap: var(--hb-space-5);
    align-items: stretch;
  }
}
.hb-plan {
  position: relative;
  background: var(--hb-card);
  border: 1px solid var(--hb-line-strong);
  border-radius: 22px;
  padding: var(--hb-space-5) var(--hb-space-4);
  display: flex;
  flex-direction: column;
  gap: var(--hb-space-3);
}
.hb-plan--featured {
  border-color: rgba(0,113,227,0.55);
  box-shadow: 0 24px 64px rgba(0,113,227,0.18);
}
.hb-plan-badge {
  position: absolute;
  top: 14px;
  right: 16px;
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--hb-btn);
  border-radius: 999px;
  padding: 5px 10px;
}
.hb-plan-label {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hb-ash);
}
.hb-plan-price {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.hb-plan-amt {
  font-size: clamp(2.4rem, 7vw, 3.1rem);
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1;
}
.hb-plan-per {
  font-size: 15px;
  color: var(--hb-ash);
}
.hb-plan-note {
  margin: 0;
  font-size: 15px;
  color: var(--hb-silver);
  line-height: 1.45;
}
.hb-plan-bullets {
  margin: 0 0 var(--hb-space-3);
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  flex: 1;
}
.hb-plan-bullets li {
  font-size: 15px;
  color: var(--hb-porcelain);
  padding-left: 1.1em;
  position: relative;
}
.hb-plan-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hb-btn);
}
.hb-plan-sku {
  margin: 0;
  font-size: 12px;
  color: var(--hb-mute);
  text-align: center;
}

.hb-sticky-inner--dual {
  gap: 10px;
}
.hb-sticky-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.hb-btn--ghost-sticky {
  background: transparent !important;
  border-color: rgba(255,255,255,0.28) !important;
  color: var(--hb-porcelain) !important;
  box-shadow: none !important;
  min-width: 4.5rem;
  padding-left: 14px;
  padding-right: 14px;
}
/* Sticky buy bar: stack copy above CTAs on narrow phones (visual fix 2026-10-02).
   The meta column used to collapse to ~one word wide beside the two buttons. */
@media (max-width: 640px) {
  .hb-sticky-inner--dual {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .hb-sticky-meta { min-width: 0; }
  .hb-sticky-meta span { font-size: 13px; }
  .hb-sticky-actions { flex-shrink: 1; width: 100%; }
  .hb-sticky-actions .hb-btn--sticky {
    flex: 1 1 0;
    min-width: 0;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 15px;
  }
}
.hb-proof-secondary img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  border: 1px solid var(--hb-line);
}

@media (max-width: 900px) {
  .hb-btn-row--dual .hb-btn { flex: 1 1 auto; min-width: min(100%, 11rem); }
  body.hb-has-sticky { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)) !important; }
}
/* Stacked sticky buy bar is taller: keep page content clear of it (visual fix 2026-10-02). */
@media (max-width: 640px) {
  body.hb-has-sticky { padding-bottom: calc(124px + env(safe-area-inset-bottom, 0px)) !important; }
}
