/*
Theme Name: PPF Pro Blueprint
Theme URI: https://tvpwestgate.com/
Author: PPF Pro Blueprint Team
Author URI: https://tvpwestgate.com/
Description: Premium-minimal single-page theme for the PPF Pro Blueprint course landing page on tvpwestgate.com. Dark hero, gold accents, system font stack, native details/summary FAQ, Fluent Forms waitlist styling.
Version: 1.2.42
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ppf-pro-blueprint
Tags: landing-page, dark, minimal, one-column, custom-colors
*/

/* ==========================================================================
   0a. FONTS: Mattone self-hosted (OFL-1.1, see assets/fonts/OFL-ATTRIBUTION.txt).
   Regular weight only, matching the reference site's usage. woff2 format with
   font-display: swap so text never goes invisible while the file loads;
   same-origin so no third-party request and no CDN outage mode.
   ========================================================================== */
@font-face {
  font-family: 'Mattone';
  src: url('assets/fonts/Mattone-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   0. TOKENS - single source of truth (see design-spec.md)
   ========================================================================== */
:root {
  --ink:       #141213;  /* page dark / primary text */
  --ink-2:     #2a2827;  /* raised dark surface */
  --gold:      #FDB521;  /* canonical gold - CTAs and key accents only, ink text sits on it */
  --gold-soft: #FECC67;  /* gold hover state; focus halo on dark surfaces only */
  --paper:     #FFFFFD;  /* page light background */
  --card:      #ffffff;  /* card surface */
  --muted:     #5E6266;  /* secondary body text on paper/card - neutral gray */
  --line:      #D0D3D4;  /* hairline borders on light - Pantone 427C */
  --hero-sub:  #D0D3D4;  /* body text on dark surfaces - Pantone 427C */
  --foot-sub:  #9AA0A3;  /* footer/muted on dark surfaces - 427C darkened */
  --field-bd:  #707578;  /* form field border on dark - neutral charcoal */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  /* v1.2.24: display face for headings (self-hosted Mattone, OFL-1.1).
     Fallback chain holds if the font files are missing: Arial Black
     approximates the heavy cut. */
  --font-heading: 'Mattone', 'Arial Black', 'Helvetica Neue', Arial, sans-serif;
}

/* ==========================================================================
   1. BASE
   ========================================================================== */
/* v1.2.20 (a11y F5): smooth anchor scrolling was unconditional, so anchor
   jumps (e.g. the sticky-CTA "#join" link) animated for users who asked for
   reduced motion. Gate on no-preference; the default (auto) is instant. */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }

/* v1.2.24: headings use the display face. Weight 400 selects Mattone Regular,
   the same weight XPEL uses for its headings. */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* v1.2.1 - slim top utility bar with student login button. */
.topbar {
  background: #141213;
  border-bottom: 1px solid rgba(253,181,33,.18);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
}
.topbar-brand {
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .01em;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;   /* v1.2.18 - brand is a link (F-S6-02) */
}
.topbar-brand:hover,
.topbar-brand:focus-visible {
  text-decoration: underline;
  text-decoration-color: rgba(253,181,33,.55);
  text-underline-offset: 3px;
}
.topbar-account {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
/* v1.2.4 - "Back to the waitlist" link uses home_url( '/#join' ) so staging users stay on staging. */
/* v1.2.3 - gold-shield logo mark beside the brand name in the top utility bar. */
.topbar-logo {
  display: block;
  height: 26px;
  width: auto;
}
.topbar-login {
  display: inline-block;
  color: var(--ink);
  background: var(--gold);
  font-weight: 700;
  font-size: 14px;
  padding: 8px 20px;
  border-radius: 999px;
  text-decoration: none;
  line-height: 1;
}
.topbar-login:hover,
.topbar-login:focus-visible {
  background: var(--gold-soft);
  color: var(--ink);
}

/* v1.2.20 (a11y F1): the topbar login pill had the same weak-only indicator
   (1.22:1 background shift). Ink ring around the gold pill on the paper
   topbar - consistent with .tier .cta on light surfaces (style.css:536). */
.topbar-login:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

section { scroll-margin-top: 24px; }

/* ==========================================================================
   3. HERO - the one full-bleed dark statement
   ========================================================================== */
.hero {
  background:
    radial-gradient(60% 40% at 50% 0%, rgba(253,181,33,.07), transparent 70%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.005) 0 1px, transparent 1px 3px),
    linear-gradient(160deg, #141213 0%, #2a2827 55%, #141213 100%);
  color: #fff;
  padding: 120px 0 96px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(253,181,33,.45);
  padding: 9px 20px;
  border-radius: 999px;
  margin-bottom: 32px;
}

.hero h1 {
  font-size: clamp(36px, 9.5vw, 60px);
  font-weight: 400;  /* v1.2.24: true Mattone weight, no synthetic bold */
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}

.hero h1 .accent { color: var(--gold); }

.hero p.lede {
  font-size: clamp(17px, 2.4vw, 21px);
  font-weight: 400;
  line-height: 1.65;
  color: var(--hero-sub);
  max-width: 680px;
  margin: 0 auto;
}

.micro {
  font-size: 13px;
  line-height: 1.6;
  color: var(--foot-sub);
  max-width: 520px;
  margin: 16px auto 0;
}

/* ---- Hero email form: native stub + Fluent Forms, identical values ---- */
.hero .fluentform,
.hero form.capture {
  max-width: 560px;
  margin: 36px auto 0;
}

/* v1.2.25 (F-S1-05): hero CTA for logged-in visitors replaces the signup
   form. Mirrors .tier .cta.gold; focus ring follows the #math dark-surface
   pattern (gold halo, offset outside the button). */
.hero-cta {
  max-width: 560px;
  margin: 36px auto 0;
}

.hero-cta .cta.gold {
  display: block;
  text-align: center;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  padding: 15px;
  min-height: 52px;          /* >=44px tap target */
  border-radius: 10px;
  background: var(--gold);
  color: var(--ink);
}

.hero-cta .cta.gold:hover { background: var(--gold-soft); }
.hero-cta .cta.gold:active { transform: scale(.99); }

.hero-cta .cta.gold:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.hero form.capture,
.hero .fluentform form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
}

.hero .fluentform .ff-el-group {
  flex: 1 1 240px;
  margin-bottom: 0;
  min-width: 0;
}

.hero .fluentform .ff-el-group.ff_submit_btn_wrapper { flex: 0 0 auto; }

.hero form.capture input[type="email"],
.hero .fluentform input[type="email"],
.hero .fluentform input[type="text"],
.hero .fluentform input[type="name"],
.hero .fluentform .ff-el-form-control {
  width: 100%;
  font-family: var(--font);
  font-size: 16px;            /* never below 16px - prevents iOS zoom-on-focus */
  line-height: 1.5;
  color: #fff;
  background: #141213;       /* slightly darker than hero - reads as inset */
  border: 1px solid var(--field-bd);
  border-radius: 10px;
  padding: 16px 18px;
}

.hero form.capture input[type="email"]::placeholder,
.hero .fluentform input::placeholder { color: var(--foot-sub); }

.hero form.capture input[type="email"]:focus,
.hero .fluentform input:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.hero form.capture button,
.hero .fluentform .ff-btn-submit {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
  background: var(--gold);
  border: none;
  border-radius: 10px;
  padding: 16px 30px;
  min-height: 54px;
  min-width: 44px;
  cursor: pointer;
}

.hero form.capture button:hover,
.hero .fluentform .ff-btn-submit:hover { background: var(--gold-soft); }

.hero form.capture button:active,
.hero .fluentform .ff-btn-submit:active { transform: scale(.99); }

/* v1.2.16 (T1): Fluent Forms injects its button stylesheet AFTER the theme CSS,
   so its var(--fluentform-primary) rule wins equal-specificity fights on source
   order. The theme no longer overrides it globally: each marketing surface
   scopes its own gold at (0,3,0) or higher, and never uses the important flag.
   Quiz submit buttons are owned by the plugin (#ppfb-quiz .ff-btn-submit);
   the theme claims nothing on quiz surfaces. */
/* Variable redefinitions: make FF's own var-driven button rule resolve gold
   by specificity (each selector below is (0,3,0)), not by source order. The
   reference copy of fluent-forms-public.css available at build time did not
   include FF's button rule, so the direct declarations elsewhere in this file
   also cover background/border/color outright too (belt and suspenders),
   while still avoiding the important flag. */
.hero .fluentform .ff-btn-submit,
#join .fluentform .ff-btn-submit,
.kit .fluentform .ff-btn-submit,
.page-id-51 .fluentform .ff-btn-submit {
  --fluentform-primary: #FDB521;
  --fluentform-primary-hover: #FECC67;
}
/* Focus state: the removed global override used to paint :focus gold. The
   per-surface :hover rules above stay untouched; these match them. */
.hero .fluentform .ff-btn-submit:focus,
#join .fluentform .ff-btn-submit:focus,
.kit .fluentform .ff-btn-submit:focus { background: var(--gold-soft); }

/* v1.2.17 (front-end loop R1, B3 residuals): Fluent Forms' real per-form
   button rule on staging sits at (0,3,1) and beats the theme's (0,3,0) color
   declarations, so hero/toolkit/#join/page-51 submits shipped white
   (#ffffff) text on gold at rest/hover/focus. Pin dark ink text AND the gold
   fills one specificity notch higher via the submit wrapper, so color and
   background-color win regardless of stylesheet order: rest is ink on
   var(--gold), hover/focus is ink on var(--gold-soft). The .hero/.kit/
   .page-id-51 selectors are (0,4,0); the #join selectors are (1,3,0); both
   strictly beat (0,3,1). Quiz surfaces stay plugin-owned under the
   quiz-surface authority split; this block claims nothing on quiz markup.
   Specificity wins; no important flag. */
.hero .fluentform .ff_submit_btn_wrapper .ff-btn-submit,
#join .fluentform .ff_submit_btn_wrapper .ff-btn-submit,
.kit .fluentform .ff_submit_btn_wrapper .ff-btn-submit,
.page-id-51 .fluentform .ff_submit_btn_wrapper .ff-btn-submit {
  color: var(--ink);
  background-color: var(--gold);
}
.hero .fluentform .ff_submit_btn_wrapper .ff-btn-submit:hover,
.hero .fluentform .ff_submit_btn_wrapper .ff-btn-submit:focus,
#join .fluentform .ff_submit_btn_wrapper .ff-btn-submit:hover,
#join .fluentform .ff_submit_btn_wrapper .ff-btn-submit:focus,
.kit .fluentform .ff_submit_btn_wrapper .ff-btn-submit:hover,
.kit .fluentform .ff_submit_btn_wrapper .ff-btn-submit:focus,
.page-id-51 .fluentform .ff_submit_btn_wrapper .ff-btn-submit:hover,
.page-id-51 .fluentform .ff_submit_btn_wrapper .ff-btn-submit:focus {
  color: var(--ink);
  background-color: var(--gold-soft);
}
/* v1.2.17 (front-end loop R2, B3 residual): Fluent Forms zeroes the outline
   on the page-51 submit, leaving keyboard users with no focus signal. Add
   a visible ink ring, (0,5,0), which survives FF's per-form rule. Scoped to
   page-51 only; hero/kit/#join button focus outline stays a known latent gap
   for a later round. */
.page-id-51 .fluentform .ff_submit_btn_wrapper .ff-btn-submit:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

/* v1.2.20 (a11y F1): extend the v1.2.17 page-51 pattern to the hero, kit, and
   #join submit buttons. The removed global override used to leave these with
   only a background shift on focus (measured 1.22:1, below WCAG 2.2 AA 2.4.13's
   3:1). Ring color follows the existing per-surface input convention:
   gold on the dark hero/kit surfaces (their inputs use gold at style.css:217
   and :720), ink on the white #join band (its inputs use ink at :898). The
   .ff_submit_btn_wrapper scoping sits at (0,5,0) / (1,4,0), strictly above
   Fluent Forms' per-form rule at (0,3,1) documented in the v1.2.17 comment,
   so it survives regardless of stylesheet order. */
.hero .fluentform .ff_submit_btn_wrapper .ff-btn-submit:focus-visible,
.kit .fluentform .ff_submit_btn_wrapper .ff-btn-submit:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
#join .fluentform .ff_submit_btn_wrapper .ff-btn-submit:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

/* Fluent Forms chrome: keep labels screen-reader-only, errors legible on dark */
.fluentform .ff-el-input--label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.fluentform .ff-el-error {
  color: #ffb4ab;
  font-size: 13px;
  line-height: 1.5;
  margin-top: 6px;
}

/* ==========================================================================
   2. SECTIONS - whitespace rhythm
   ========================================================================== */
section { padding: 96px 0; }

h2.section-title {
  font-size: clamp(28px, 7.2vw, 38px);
  font-weight: 400;  /* v1.2.24: true Mattone weight */
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
  text-align: center;
}

p.section-sub {
  color: var(--muted);
  text-align: center;
  max-width: 660px;
  margin: 0 auto 48px;
  font-size: 18px;
  line-height: 1.65;
}

/* ==========================================================================
   4. WHAT'S-INSIDE CARDS - elevated, touch-first, no hover effects
   ========================================================================== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 8px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px 30px;
  box-shadow: 0 2px 8px rgba(20,18,19,.05);
}

.card .num {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);          /* decorative label - the H3 below carries meaning */
  margin-bottom: 10px;
}

.card h3 {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 10px;
}

.card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
  overflow-wrap: break-word;
}
/* v1.2.18 - in-card CTA links (F-S5-01 homepage part): ink text, gold underline. */
.card .card-cta {
  margin-top: 14px;
}
.card .card-cta a {
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}
.card .card-cta a:hover,
.card .card-cta a:focus-visible {
  text-decoration-thickness: 2px;
}

/* ==========================================================================
   5. TIERS - featured is quieter and more confident, not louder
   ========================================================================== */
#tiers {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 880px;
  margin: 8px auto 0;
}

.tier {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px 34px;
  position: relative;
}

.tier.featured {
  border: 2px solid var(--gold);
  box-shadow: 0 12px 36px rgba(253,181,33,.16), 0 2px 8px rgba(20,18,19,.06);
  padding-top: 44px;          /* reserve the badge zone - badge never overlaps the H3 */
  margin-top: 18px;          /* clip rule: badge clears the grid above */
}

.tier .badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 999px;
  white-space: nowrap;
  border-bottom: 2px solid var(--ink);   /* ink hairline replaces the retired red accent */
}

.tier h3 {
  font-size: 23px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}

.tier .price {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  margin: 8px 0 4px;
}

.tier .price-note {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  margin-bottom: 24px;
}

.tier ul {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.tier li {
  padding: 9px 0 9px 30px;
  position: relative;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  overflow-wrap: break-word;
}

.tier li::before {
  content: "✓";              /* text glyph, not an emoji */
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 800;
}

.tier .cta {
  display: block;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  padding: 15px;
  min-height: 52px;          /* ≥44px tap target */
  border-radius: 10px;
}

.tier .cta.gold {
  background: var(--gold);
  color: var(--ink);
}

.tier .cta.gold:hover { background: var(--gold-soft); }
.tier .cta.gold:active { transform: scale(.99); }

.tier .cta.ghost {
  border: 2px solid var(--ink);
  color: var(--ink);
  background: transparent;
}

.tier .cta.ghost:hover { background: rgba(20,18,19,.045); }
.tier .cta.ghost:active { transform: scale(.99); }

.tier .cta:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

/* ==========================================================================
   5b. MONEY SECTION - dark rhythm-break between #inside (paper) and #tiers
   (white). Market rates only: what jobs sell for, never income promises.
   ========================================================================== */
#math {
  background: var(--ink);
  color: #fff;
  text-align: center;
}

#math .section-title { color: #fff; }

#math .section-sub { color: var(--hero-sub); }

#math .eyebrow { margin-bottom: 28px; }

.math-table {
  width: 100%;
  max-width: 880px;
  margin: 8px auto 32px;
  border-collapse: collapse;
  text-align: left;
}

.math-table caption { text-align: left; }

.math-table th,
.math-table td {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  vertical-align: top;
}

.math-table thead th {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--foot-sub);
  border-bottom: 1px solid rgba(255,255,255,.2);
}

.math-table tbody th[scope="row"] {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  white-space: nowrap;
}

.math-table td {
  font-size: 15px;
  line-height: 1.6;
  color: var(--hero-sub);
}

.math-table td.price {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

#math .source,
#math .disclaimer {
  font-size: 13px;
  line-height: 1.65;
  color: var(--foot-sub);
  max-width: 760px;
  margin: 0 auto;
  overflow-wrap: break-word;
}

#math .disclaimer { margin-top: 10px; }

.math-cta { margin-top: 32px; }

#math .cta {
  display: inline-block;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  padding: 15px 36px;
  min-height: 52px;
  border-radius: 10px;
}

#math .cta.gold {
  background: var(--gold);
  color: var(--ink);
}

#math .cta.gold:hover { background: var(--gold-soft); }
#math .cta.gold:active { transform: scale(.99); }

#math .cta:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ==========================================================================
   5e. TRAILER (v1.2.28) - hero-adjacent trailer section. Click-to-play with
   native controls, no autoplay. Mirrors the production waitlist line.
   ========================================================================== */
.trailer-player {
  margin: 0 auto;
  max-width: 960px;
}
.trailer-player video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #000;
}
/* v1.2.39: fallback content shown only when the browser cannot play the
   trailer (e.g. no H.264 support). Invisible in all playing browsers. */
.trailer-fallback {
  padding: 40px 24px;
  text-align: center;
  color: var(--hero-sub, #B1AEA6);
}
.trailer-fallback a {
  color: var(--gold, #FDB521);
}
.trailer-share {
  margin: 22px auto 0;
  text-align: center;
}
#share-trailer {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 16px;
  padding: 14px 28px;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}
#share-trailer:hover,
#share-trailer:focus-visible {
  background: var(--gold-soft);
}

/* ==========================================================================
   6. STARTER-KIT BAND - inset dark panel, not full-bleed
   ========================================================================== */
.kit {
  background: var(--ink-2);
  color: #fff;
  border-radius: 20px;
  padding: 64px 56px;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);  /* inner edge catches light */
}

.kit h2 {
  font-size: clamp(28px, 7.2vw, 38px);
  font-weight: 400;  /* v1.2.24: true Mattone weight */
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 14px;
}

.kit h2 .accent { color: var(--gold); }

.kit p {
  color: var(--hero-sub);
  font-size: 17px;
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto;
}

.kit .fluentform,
.kit form.capture {
  max-width: 560px;
  margin: 28px auto 0;
}

.kit form.capture,
.kit .fluentform form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
}

.kit .fluentform .ff-el-group {
  flex: 1 1 240px;
  margin-bottom: 0;
  min-width: 0;
}

.kit .fluentform .ff-el-group.ff_submit_btn_wrapper { flex: 0 0 auto; }

.kit form.capture input[type="email"],
.kit .fluentform input[type="email"],
.kit .fluentform input[type="text"],
.kit .fluentform input[type="name"],
.kit .fluentform .ff-el-form-control {
  width: 100%;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: #fff;
  background: #141213;
  border: 1px solid var(--field-bd);
  border-radius: 10px;
  padding: 16px 18px;
}

.kit form.capture input[type="email"]::placeholder,
.kit .fluentform input::placeholder { color: var(--foot-sub); }

.kit form.capture input[type="email"]:focus,
.kit .fluentform input:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.kit form.capture button,
.kit .fluentform .ff-btn-submit {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
  background: var(--gold);
  border: none;
  border-radius: 10px;
  padding: 16px 30px;
  min-height: 54px;
  min-width: 44px;
  cursor: pointer;
}

.kit form.capture button:hover,
.kit .fluentform .ff-btn-submit:hover { background: var(--gold-soft); }

.kit form.capture button:active,
.kit .fluentform .ff-btn-submit:active { transform: scale(.99); }

.kit .micro { margin-top: 16px; }

/* ==========================================================================
   7. PROOF - the dashed border is the honesty signal
   ========================================================================== */
#proof { padding-top: 0; }

.proof {
  border: 1px dashed var(--hero-sub);
  background: var(--card);
  border-radius: 14px;
  padding: 48px 40px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.proof p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
  overflow-wrap: break-word;
}

.proof strong { color: var(--ink); }

/* When real results arrive: swap dashed → solid and accept photo/quote markup.
   .proof.filled { border-style: solid; border-color: var(--line); } */

/* ==========================================================================
   8. FAQ - native details/summary, zero JS
   ========================================================================== */
#faq { padding-top: 0; }

.faq-list {
  max-width: 760px;
  margin: 8px auto 0;
}

details.faq {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0;
  margin-bottom: 12px;
}

details.faq[open] {
  border-color: var(--line);
  box-shadow: 0 2px 10px rgba(20,18,19,.05);
}

details.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  min-height: 56px;          /* ≥44px tap target */
}

details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::marker { content: ""; }

details.faq summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 20px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}

details.faq[open] summary::after { transform: rotate(45deg); }  /* + becomes × */

details.faq summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 12px;
}

details.faq .faq-answer,
details.faq > div,
details.faq > p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  padding: 0 24px 22px;
  margin: 0;
  overflow-wrap: break-word;
}

/* ==========================================================================
   9. JOIN - white band, light fields; button stays gold
   ========================================================================== */
#join {
  background: #fff;
  border-top: 1px solid var(--line);
  text-align: center;
}

#join .fluentform,
#join form.capture {
  max-width: 560px;
  margin: 0 auto;
}

#join form.capture,
#join .fluentform form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
}

#join .fluentform .ff-el-group {
  flex: 1 1 240px;
  margin-bottom: 0;
  min-width: 0;
}

#join .fluentform .ff-el-group.ff_submit_btn_wrapper { flex: 0 0 auto; }

#join form.capture input[type="email"],
#join .fluentform input[type="email"],
#join .fluentform input[type="text"],
#join .fluentform input[type="name"],
#join .fluentform .ff-el-form-control {
  width: 100%;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: #fff;          /* dark fields would vanish on the white band */
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 18px;
}

#join form.capture input[type="email"]::placeholder,
#join .fluentform input::placeholder { color: var(--muted); }

#join form.capture input[type="email"]:focus,
#join .fluentform input:focus {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

#join form.capture button,
#join .fluentform .ff-btn-submit {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
  background: var(--gold);
  border: none;
  border-radius: 10px;
  padding: 16px 30px;
  min-height: 54px;
  min-width: 44px;
  cursor: pointer;
}

#join form.capture button:hover,
#join .fluentform .ff-btn-submit:hover { background: var(--gold-soft); }

#join form.capture button:active,
#join .fluentform .ff-btn-submit:active { transform: scale(.99); }

#join .micro { color: var(--muted); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background: var(--ink);
  color: var(--foot-sub);
  padding: 56px 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.7;
}

footer p { margin: 0; }
footer p + p { margin-top: 8px; }

footer a {
  color: var(--hero-sub);
  text-decoration: none;
  padding: 6px 12px;         /* ≥44px-ish hit area with line-height */
  display: inline-block;
}

footer a:hover,
footer a:focus-visible { text-decoration: underline; }

footer a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ==========================================================================
   STICKY MOBILE CTA BAR - ≤640px only, fixed bottom, dismissible.
   Shown/hidden by the inline script via [hidden]; no transitions, so
   prefers-reduced-motion is inherently respected.
   ========================================================================== */
#sticky-cta { display: none; }

@media (max-width: 640px) {
  #sticky-cta:not([hidden]) {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    background: rgba(20,18,19,.97);
    border-top: 1px solid rgba(253,181,33,.35);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  }

  #sticky-cta a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    background: var(--gold);
    color: var(--ink);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    padding: 12px;
    border-radius: 10px;
  }

  #sticky-cta a:active { transform: scale(.99); }

  /* v1.2.20 (a11y F7): the CTA link was the one interactive element on the
     page outside the theme's deliberate ring system (UA default only).
     Gold ring on the dark bar, mirroring #sticky-cta-close directly below -
     the ring sits outside the gold button on the near-black bar. */
  #sticky-cta a:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
  }

  #sticky-cta-close {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid var(--field-bd);
    border-radius: 8px;
    color: var(--hero-sub);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
  }

  #sticky-cta-close:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
  }

  /* Money table → stacked cards: no horizontal-scroll tables on mobile */
  .math-table,
  .math-table tbody,
  .math-table tr,
  .math-table td,
  .math-table th { display: block; }

  .math-table { max-width: 480px; }

  .math-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }

  .math-table tbody tr {
    background: var(--ink-2);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 14px;
    padding: 24px 22px;
    margin-bottom: 16px;
  }

  .math-table th,
  .math-table td {
    border-bottom: none;
    padding: 0;
  }

  .math-table tbody th[scope="row"] {
    font-size: 18px;
    margin-bottom: 6px;
    white-space: normal;
  }

  .math-table td { margin-bottom: 10px; }

  .math-table td.price {
    font-size: 26px;
    margin-bottom: 0;
  }
}

/* ==========================================================================
   MOTION - calm only, reduced-motion-gated
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  details.faq summary::after { transition: transform .25s ease; }
  .hero form.capture button,
  .hero .fluentform .ff-btn-submit,
  .kit form.capture button,
  .kit .fluentform .ff-btn-submit,
  #join form.capture button,
  #join .fluentform .ff-btn-submit,
  .tier .cta { transition: background-color .18s ease, transform .12s ease; }
}

/* ==========================================================================
   10. RESPONSIVE
   ========================================================================== */
@media (max-width: 768px) {
  .hero { padding: 88px 0 72px; }
  section { padding: 72px 0; }
}

@media (max-width: 560px) {
  /* Forms stack full-width below 560px */
  .hero form.capture,
  .hero .fluentform form,
  .kit form.capture,
  .kit .fluentform form,
  #join form.capture,
  #join .fluentform form { display: block; }

  .hero form.capture button,
  .hero .fluentform .ff-btn-submit,
  .kit form.capture button,
  .kit .fluentform .ff-btn-submit,
  #join form.capture button,
  #join .fluentform .ff-btn-submit {
    width: 100%;
    margin-top: 4px;
  }
}

@media (max-width: 480px) {
  /* Single column guaranteed - never a squeezed two-column */
  .cards,
  .tiers { grid-template-columns: 1fr; }
}

@media (max-width: 440px) {
  .wrap { padding: 0 22px; }
  section { padding: 60px 0; }
}

@media (max-width: 360px) {
  .wrap { padding: 0 20px; }
  .hero { padding: 64px 0 56px; }
  section { padding: 56px 0; }
  .card { padding: 26px 22px; }
  .card h3 { font-size: 19px; }
  .tier { padding: 36px 26px; }
  .tier.featured { padding-top: 44px; }   /* badge zone stays reserved */
  .kit { padding: 44px 24px; border-radius: 16px; }
  p.section-sub { font-size: 17px; margin-bottom: 32px; }
  details.faq summary { font-size: 16px; }
}

/* ==========================================================================
   FREE-ACCOUNT PAGE (?page_id=51) - iOS guards (v1.2.15)
   Renders via index.php, so body carries .page-id-51 (body_class). The theme's
   54px submit-button guard and 16px input guard only scoped .hero/.kit/#join.
   ========================================================================== */
/* Tap target: Fluent Forms' injected stylesheet sizes this page's submit button
   ~40-42px; force it to the theme's 54px minimum (clears the 44px iOS bar).
   v1.2.16 (T1): this page's gold button used to ride the removed global
   important-flag override; it is now declared here at (0,3,0). */
.page-id-51 .fluentform .ff-btn-submit {
  min-height: 54px;
  min-width: 44px;
  background-color: #FDB521;
  border-color: #FDB521;
  color: #141213;
}
.page-id-51 .fluentform .ff-btn-submit:hover,
.page-id-51 .fluentform .ff-btn-submit:focus {
  background-color: #FECC67;
  border-color: #FECC67;
  color: #141213;
}
/* iOS zoom: the page's inputs inherit 16px from the browser today, but nothing
   pins it. Pin 16px explicitly so a future browser/Fluent default can't drop
   below it and trigger zoom-on-focus. */
.page-id-51 .fluentform input,
.page-id-51 .fluentform .ff-el-form-control {
  font-size: 16px;
}

/* ==========================================================================
   11. COURSE SHELL (v1.2.26) - the premium student backend
   --------------------------------------------------------------------------
   Renders the page.php shell (Training Dashboard, My Account, Capstone,
   free signup, Privacy Policy) and the lesson footer (footer.php). The
   plugin owns the lesson chrome bar and the in-content dashboard/account
   chrome; the theme owns this shell. Tokens deliberately echo the plugin's
   warm-paper design language so shell and plugin surfaces read as one
   product; the charcoal header/footer and amber CTA echo the theme.
   iPhone-first: 44px touch targets, 16px form text (no zoom-on-focus),
   wrapping nav, safe-area padding.
   ========================================================================== */
body.ppf-course {
  --course-paper: #EDEFF0;   /* 427C tinted up - replaces warm beige */
  --course-ink: #141213;     /* canonical ink */
  --course-quiet: #5E6266;   /* neutral gray - replaces warm gray */
  --course-line: #D0D3D4;    /* Pantone 427C - replaces warm beige line */
  --course-card: #FFFFFF;    /* replaces warm card */
  --course-charcoal: #141213;
  --course-charcoal-2: #2a2827;
  --course-gold: #FDB521;
  --course-gold-soft: #FECC67;
  --course-on-charcoal: #FFFFFD;
  --course-on-charcoal-quiet: #D0D3D4;   /* Pantone 427C */
  background: var(--course-paper);
  color: var(--course-ink);
}

/* ---------- Header ---------- */
.ppf-course-header {
  background: var(--course-charcoal);
  border-bottom: 1px solid rgba(253,181,33,.35);
}
.ppf-course-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}
.ppf-course-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-height: 44px;
  flex: none;
}
.ppf-course-brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: block;
}
.ppf-course-brand-wordmark {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 19px;
  letter-spacing: .02em;
  color: var(--course-on-charcoal);
  white-space: nowrap;
}
.ppf-course-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.ppf-course-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--course-on-charcoal-quiet);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.ppf-course-nav a:hover {
  color: var(--course-gold);
  background: rgba(255,255,255,.06);
}
.ppf-course-nav a:focus-visible {
  outline: 2px solid var(--course-gold);
  outline-offset: 2px;
}
.ppf-course-nav a[aria-current="page"] {
  color: var(--course-on-charcoal);
  background: rgba(255,255,255,.1);
}
/* Utility mode (dashboard / account pages, where the plugin chrome bar
   carries the brand): nav hugs the right edge. */
.ppf-course-nav-utility {
  margin-left: auto;
}

/* ---------- Main ---------- */
.ppf-course-main {
  padding: 44px 0 72px;
}
.ppf-course-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.ppf-course-title {
  font-size: 32px;
  line-height: 1.2;
  color: var(--course-ink);
  margin: 0 0 24px;
  letter-spacing: .01em;
}
.ppf-course-content {
  font-size: 17px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.ppf-course-content a {
  color: var(--course-ink);
  text-decoration: underline;
  text-decoration-color: var(--course-gold);
  text-underline-offset: 3px;
}
.ppf-course-content a:hover {
  color: var(--course-ink);
}

/* ---------- Footer (page.php shell + lesson footer.php) ---------- */
.ppf-course-footer {
  background: var(--course-charcoal);
  border-top: 1px solid rgba(253,181,33,.25);
}
.ppf-course-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 24px calc(28px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.ppf-course-footer-brand {
  margin: 0;
  color: var(--course-on-charcoal-quiet);
  font-size: 14px;
}
.ppf-course-footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.ppf-course-footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  color: var(--course-on-charcoal-quiet);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 8px;
}
.ppf-course-footer-nav a:hover {
  color: var(--course-gold);
}
.ppf-course-footer-nav a:focus-visible {
  outline: 2px solid var(--course-gold);
  outline-offset: 2px;
}

/* Lesson footer (footer.php): the same premium voice on lesson pages,
   rendered below the plugin's quiet footer. */
.ppf-brand-footer {
  background: var(--course-charcoal);
  border-top: 1px solid rgba(253,181,33,.25);
  text-align: center;
  padding: 28px 16px calc(28px + env(safe-area-inset-bottom));
}
.ppf-brand-footer-copy {
  margin: 0 0 12px;
  color: var(--course-on-charcoal-quiet);
  font-size: 14px;
}
.ppf-brand-footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
}
.ppf-brand-footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  color: var(--course-on-charcoal-quiet);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
}
.ppf-brand-footer-nav a:hover {
  color: var(--course-gold);
}
.ppf-brand-footer-nav a:focus-visible {
  outline: 2px solid var(--course-gold);
  outline-offset: 2px;
}
.ppf-brand-footer-link {
  margin: 0;
}
.ppf-brand-footer-link a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  color: var(--course-on-charcoal-quiet);
  font-size: 14px;
  font-weight: 600;
}
.ppf-brand-footer-link a:hover {
  color: var(--course-gold);
}
.ppf-brand-footer-link a:focus-visible {
  outline: 2px solid var(--course-gold);
  outline-offset: 2px;
}

/* ==========================================================================
   12. WOOCOMMERCE MY ACCOUNT (v1.2.26)
   --------------------------------------------------------------------------
   The /my-account/ page rendered as a plain white page. Everything here is
   scoped under body.woocommerce-account (WooCommerce's own body class) so
   no other surface is touched. Card, table, form, and button treatments
   follow the course-shell tokens; primary actions use the theme amber.
   ========================================================================== */
body.woocommerce-account .ppf-course-content .woocommerce {
  overflow-wrap: anywhere;
}

/* Login form (logged-out view): a centered premium card. */
body.woocommerce-account .woocommerce-form-login {
  max-width: 480px;
  margin: 8px auto 0;
  background: var(--course-card);
  border: 1px solid var(--course-line);
  border-radius: 16px;
  padding: 32px 28px;
}
body.woocommerce-account .woocommerce-form-login .form-row {
  margin-bottom: 16px;
}

/* Account layout: nav card + content card. */
body.woocommerce-account .woocommerce-MyAccount-navigation {
  background: var(--course-card);
  border: 1px solid var(--course-line);
  border-radius: 16px;
  padding: 8px;
  margin-bottom: 24px;
}
body.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
body.woocommerce-account .woocommerce-MyAccount-navigation li {
  margin: 0;
}
body.woocommerce-account .woocommerce-MyAccount-navigation li a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 10px;
  color: var(--course-ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
body.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
  background: rgba(20,18,19,.05);
}
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
  background: var(--course-charcoal);
  color: var(--course-on-charcoal);
}
body.woocommerce-account .woocommerce-MyAccount-navigation li a:focus-visible {
  outline: 2px solid var(--course-gold);
  outline-offset: 2px;
}
body.woocommerce-account .woocommerce-MyAccount-content {
  background: var(--course-card);
  border: 1px solid var(--course-line);
  border-radius: 16px;
  padding: 32px 28px;
}
body.woocommerce-account .woocommerce-MyAccount-content h2,
body.woocommerce-account .woocommerce-MyAccount-content h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--course-ink);
  letter-spacing: .01em;
}
body.woocommerce-account .woocommerce-MyAccount-content h2 {
  font-size: 24px;
  margin: 0 0 16px;
}
body.woocommerce-account .woocommerce-MyAccount-content h3 {
  font-size: 20px;
  margin: 24px 0 12px;
}
body.woocommerce-account .woocommerce-MyAccount-content p {
  color: var(--course-ink);
}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Message,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message {
  margin-top: 0;
}

/* Notices: quiet cards with a colored edge, never bare text. */
body.woocommerce-account .woocommerce-message,
body.woocommerce-account .woocommerce-info,
body.woocommerce-account .woocommerce-error {
  background: var(--course-card);
  border: 1px solid var(--course-line);
  border-left: 4px solid var(--course-ink);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--course-ink);
  font-size: 15px;
  margin-bottom: 20px;
  list-style: none;
}
body.woocommerce-account .woocommerce-message {
  border-left-color: var(--course-gold);
}
body.woocommerce-account .woocommerce-error {
  border-left-color: var(--course-ink);
}

/* Tables: quiet header row, hairline dividers, scroll on narrow screens. */
body.woocommerce-account .woocommerce table.shop_table {
  width: 100%;
  border: 1px solid var(--course-line);
  border-radius: 12px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  background: var(--course-card);
  margin-bottom: 24px;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
body.woocommerce-account .woocommerce table.shop_table thead th {
  background: rgba(20,18,19,.04);
  color: var(--course-quiet);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--course-line);
  white-space: nowrap;
}
body.woocommerce-account .woocommerce table.shop_table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--course-line);
  font-size: 15px;
  vertical-align: middle;
}
body.woocommerce-account .woocommerce table.shop_table tr:last-child td {
  border-bottom: none;
}

/* Buttons: the theme amber CTA language. */
body.woocommerce-account .woocommerce .button,
body.woocommerce-account .woocommerce-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border: 0;
  border-radius: 10px;
  background: var(--course-gold);
  color: var(--course-charcoal);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
body.woocommerce-account .woocommerce .button:hover,
body.woocommerce-account .woocommerce-button:hover {
  background: var(--course-gold-soft);
  color: var(--course-charcoal);
}
body.woocommerce-account .woocommerce .button:focus-visible,
body.woocommerce-account .woocommerce-button:focus-visible {
  outline: 2px solid var(--course-ink);
  outline-offset: 2px;
}
body.woocommerce-account .woocommerce .button:disabled,
body.woocommerce-account .woocommerce .button.disabled {
  opacity: .55;
  cursor: not-allowed;
}

/* Forms: card fields, 16px text (no iOS zoom), bronze focus ring. */
body.woocommerce-account .woocommerce form .form-row {
  margin-bottom: 18px;
  padding: 0;
}
body.woocommerce-account .woocommerce form label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--course-ink);
  margin-bottom: 8px;
}
body.woocommerce-account .woocommerce form .required {
  color: var(--course-ink);
}
body.woocommerce-account .woocommerce form input[type="text"],
body.woocommerce-account .woocommerce form input[type="email"],
body.woocommerce-account .woocommerce form input[type="password"],
body.woocommerce-account .woocommerce form input[type="tel"],
body.woocommerce-account .woocommerce form input[type="number"],
body.woocommerce-account .woocommerce form select,
body.woocommerce-account .woocommerce form textarea {
  width: 100%;
  max-width: 100%;
  padding: 12px 14px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--course-ink);
  background: #ffffff;
  border: 1px solid var(--course-line);
  border-radius: 10px;
}
body.woocommerce-account .woocommerce form input:focus,
body.woocommerce-account .woocommerce form select:focus,
body.woocommerce-account .woocommerce form textarea:focus {
  outline: none;
  border-color: var(--course-ink);
  box-shadow: 0 0 0 2px rgba(20,18,19,.25);
}
body.woocommerce-account .woocommerce form fieldset {
  border: 1px solid var(--course-line);
  border-radius: 12px;
  padding: 20px;
  margin: 0 0 20px;
}
body.woocommerce-account .woocommerce form fieldset legend {
  font-weight: 700;
  font-size: 15px;
  padding: 0 8px;
  color: var(--course-ink);
}
body.woocommerce-account .woocommerce-form-row--wide {
  clear: both;
}

/* Addresses: two cards side by side, stacked on phones. */
body.woocommerce-account .woocommerce-Addresses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 8px;
}
body.woocommerce-account .woocommerce-Address {
  background: rgba(20,18,19,.03);
  border: 1px solid var(--course-line);
  border-radius: 12px;
  padding: 20px;
}
body.woocommerce-account .woocommerce-Address-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
body.woocommerce-account .woocommerce-Address-title h3 {
  margin: 0;
}
body.woocommerce-account .woocommerce-Address address {
  font-style: normal;
  font-size: 15px;
  line-height: 1.7;
  color: var(--course-quiet);
}
body.woocommerce-account .woocommerce-Address .edit {
  font-size: 14px;
  font-weight: 700;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* Order again / view buttons inside tables stay compact. */
body.woocommerce-account .woocommerce table.shop_table .button {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 14px;
}

/* Pagination on the orders endpoint. */
body.woocommerce-account .woocommerce-pagination {
  margin-top: 8px;
}
body.woocommerce-account .woocommerce-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--course-line);
  border-radius: 10px;
  color: var(--course-ink);
  font-weight: 700;
  text-decoration: none;
  margin-right: 8px;
}
body.woocommerce-account .woocommerce-pagination .page-numbers.current {
  background: var(--course-charcoal);
  border-color: var(--course-charcoal);
  color: var(--course-on-charcoal);
}

/* ---------- Course-shell responsive (iPhone-first) ---------- */
@media (max-width: 640px) {
  .ppf-course-main {
    padding: 32px 0 56px;
  }
  .ppf-course-header-inner {
    flex-wrap: wrap;
    padding: 12px 20px;
    min-height: 0;
  }
  .ppf-course-nav,
  .ppf-course-nav-utility {
    margin-left: 0;
    width: 100%;
  }
  .ppf-course-nav ul {
    width: 100%;
  }
  .ppf-course-nav li {
    flex: 1 1 0;
  }
  .ppf-course-nav a {
    width: 100%;
    justify-content: center;
    padding: 10px 8px;
    font-size: 14px;
  }
  .ppf-course-title {
    font-size: 26px;
  }
  .ppf-course-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  body.woocommerce-account .woocommerce-MyAccount-content {
    padding: 24px 20px;
  }
  body.woocommerce-account .woocommerce-Addresses {
    grid-template-columns: 1fr;
  }
  body.woocommerce-account .woocommerce-form-login {
    padding: 28px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ppf-course-nav a,
  .ppf-course-footer-nav a,
  .ppf-brand-footer-nav a,
  body.woocommerce-account .woocommerce .button {
    transition: none;
  }
}
/* PPF Manual homepage design theme — 2026-09-25
   Apple-style pill buttons + blue hero text.
   OWNER DECISION: lives in the PARENT theme stylesheet (ppf-pro-blueprint/style.css),
   appended as one marked block at end of file.
   WARNING: a parent theme update replaces style.css and will wipe this block.
   Restore = append this exact file again. Last verified live: 2026-09-25. */

.tier .cta.gold,
#math .cta.gold,
.hero-cta .cta.gold {
  display: inline-block;
  border-radius: 9999px;
  padding: 14px 34px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  background: #306edb;
  color: #fff;
  border: 2px solid #306edb;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .12s ease;
}
.tier .cta.gold:hover,
#math .cta.gold:hover,
.hero-cta .cta.gold:hover {
  background: #2a61c1;
  border-color: #2a61c1;
  color: #fff;
}
.tier .cta.gold:active,
#math .cta.gold:active,
.hero-cta .cta.gold:active { transform: scale(.99); }
.tier .cta.gold:focus-visible,
#math .cta.gold:focus-visible,
.hero-cta .cta.gold:focus-visible { outline: 2px solid #2a61c1; outline-offset: 2px; }

.tier .cta.ghost {
  display: inline-block;
  border-radius: 9999px;
  padding: 14px 34px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  background: transparent;
  color: #306edb;
  border: 2px solid #306edb;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .12s ease;
}
.tier .cta.ghost:hover { background: #306edb; color: #fff; }
.tier .cta.ghost:active { transform: scale(.99); }
.tier .cta.ghost:focus-visible { outline: 2px solid #306edb; outline-offset: 2px; }

#hero .hero-slide h1,
#hero .hero-slide p.lede { color: #f5f5f7; text-shadow: 0 2px 14px rgba(0,0,0,.35); }

/* Hero breathing room — Apple-style top spacing; video stays full-bleed behind it. */
#hero { padding-top: clamp(40px, 7vw, 72px); }

/* Apple-style scroll transitions — reveal on scroll. */
html.js .ppf-reveal:not(.in) {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.22,.61,.36,1);
  transition-delay: var(--reveal-delay, 0ms);
}
html.js .ppf-reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  html.js .ppf-reveal:not(.in) { opacity: 1; transform: none; transition: none; }
}
/* Desktop: the hero is a 4:3 rounded banner exactly as wide as the Free tool
   guide (.ppfb-tool-guide-inner = 1100px); the background video is re-cropped
   by the banner shape (object-fit:cover) instead of the old thin full-bleed
   strip. The page-content inline <style> forces #hero full-bleed
   (width:100vw + negative margins); body #hero out-specifies it (1-0-1 > 1-0-0)
   so no !important is needed. Videos/overlay are inset:0 absolute, so they
   fill the banner and clip cleanly (overflow:hidden is inline). The copy
   wrapper (last div child) is vertically centered via flex, with horizontal
   padding keeping text off the banner edges. Below 1024px the hero keeps its
   full-bleed mobile behavior. */
@media (min-width: 1024px) {
  body #hero {
    width: auto;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 24px;
    border-radius: 18px;
    aspect-ratio: 4 / 3;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  body #hero > div:not([aria-hidden="true"]) {
    padding: clamp(32px, 5vw, 64px) clamp(24px, 5vw, 64px);
  }
}
/* ============ Homepage visual sweep — 2026-09-25 (batch 2) ============
   Purely visual; no copy/structure/behavior changes. Each item is
   independently removable. */

/* Item 1 — center the "Continue with Google" button in #join.
   Nextend 3.x: .nsl-container > .nsl-container-buttons > a.nsl-button-google.
   (1,1,0) beats Nextend's class-only alignment rules; viewport-agnostic. */
#join .nsl-container,
#join .nsl-container-buttons { display:flex; justify-content:center; }

/* Item 2 — hero trust line: quiet supporting line, readable over video.
   Scoped to #hero so the #join/fluentform .micro lines are untouched. */
#hero .micro {
  margin: clamp(12px, 2.2vw, 20px) 0 clamp(8px, 1.6vw, 14px);
  font-size: clamp(0.9375rem, 1.4vw, 1.0625rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #f5f5f7;
  text-shadow: 0 2px 14px rgba(0,0,0,.35);
}

/* Item 3 — tool-guide carousel: hide native scrollbar, clear arrows off cards.
   Scrolling (swipe/wheel/keyboard/JS) is untouched — no overflow:hidden. */
.ppfb-tool-guide .ppfb-tool-track {
  scrollbar-width: none;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.ppfb-tool-guide .ppfb-tool-track::-webkit-scrollbar { display: none; }
.ppfb-tool-guide .ppfb-tool-carousel {
  padding-left: 3.5rem;
  padding-right: 3.5rem;
}
@media (max-width: 640px) {
  .ppfb-tool-guide .ppfb-tool-carousel {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

/* Item 4 — market-rate rows: compact spacing + TVP Auto link contrast.
   Copy, numbers, and link href untouched. */
#math .math-table > tbody > tr > th,
#math .math-table > tbody > tr > td {
  padding-top: 10px;
  padding-bottom: 10px;
}
#math .source a { color: #306edb; }
#math .source a:hover {
  color: #2457b0;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
#math .source a:focus-visible {
  outline: 2px solid #306edb;
  outline-offset: 2px;
}

/* Item 5 — pricing .tier cards: dead-space collapse + CTA harmonization.
   Cards are flex columns with CTAs pinned to the bottom so all four align. */
#tiers .tier { display:flex; flex-direction:column; }
#tiers .tier > :first-child { margin-top:0; }
#tiers .tier ul { margin-bottom:24px; }
#tiers .tier { padding-bottom:28px; }
#tiers .tier .cta { margin-top:auto; }
.tier .cta:not(.gold):not(.ghost) {
  display:inline-block; border-radius:9999px; padding:14px 34px;
  font-size:17px; font-weight:600; line-height:1.25; text-align:center;
  text-decoration:none; background:transparent; color:#306edb;
  border:2px solid #306edb;
  transition:background-color .2s ease, border-color .2s ease, color .2s ease, transform .12s ease;
}
.tier .cta:not(.gold):not(.ghost):hover { background:#306edb; color:#fff; }
.tier .cta:not(.gold):not(.ghost):active { transform:scale(.99); }
.tier .cta:not(.gold):not(.ghost):focus-visible { outline:2px solid #306edb; outline-offset:2px; }

/* Items 6+7 — FluentForm #4: visible password borders + blue pill submit.
   Selectors follow FluentForm's documented output (#fluentform_4,
   .fluentform_wrapper_4, .ff-el-form-control, .ff-btn-submit) — the backup
   holds only the shortcode, so confirm against the live DOM on staging.
   Button label text untouched. */
#fluentform_4 input[type="password"].ff-el-form-control,
.fluentform_wrapper_4 input[type="password"].ff-el-form-control {
  box-sizing:border-box;
  width:100%;
  max-width:100%;
  border:2px solid #a3acb9;
  border-radius:8px;
  transition:border-color .2s ease, box-shadow .2s ease;
}
#fluentform_4 input[type="password"].ff-el-form-control:focus,
.fluentform_wrapper_4 input[type="password"].ff-el-form-control:focus {
  border-color:#306edb;
  outline:3px solid rgba(48,110,219,.30);
  outline-offset:1px;
}
#fluentform_4 .ff-btn-submit,
.fluentform_wrapper_4 .ff-btn-submit,
#fluentform_4 input[type="submit"],
.fluentform_wrapper_4 input[type="submit"] {
  box-sizing:border-box;
  display:inline-block;
  border-radius:9999px;
  padding:14px 34px;
  font-size:17px;
  font-weight:600;
  line-height:1.25;
  text-align:center;
  text-decoration:none;
  background:#306edb;
  color:#fff;
  border:2px solid #306edb;
  cursor:pointer;
  transition:background-color .2s ease, border-color .2s ease, color .2s ease, transform .12s ease;
}
#fluentform_4 .ff-btn-submit:hover,
.fluentform_wrapper_4 .ff-btn-submit:hover,
#fluentform_4 input[type="submit"]:hover,
.fluentform_wrapper_4 input[type="submit"]:hover { background:#2a61c1; border-color:#2a61c1; color:#fff; }
#fluentform_4 .ff-btn-submit:active,
.fluentform_wrapper_4 .ff-btn-submit:active,
#fluentform_4 input[type="submit"]:active,
.fluentform_wrapper_4 input[type="submit"]:active { transform:scale(.99); }
#fluentform_4 .ff-btn-submit:focus-visible,
.fluentform_wrapper_4 .ff-btn-submit:focus-visible,
#fluentform_4 input[type="submit"]:focus-visible,
.fluentform_wrapper_4 input[type="submit"]:focus-visible { outline:2px solid #2a61c1; outline-offset:2px; }

/* Item 8 — "free" glyph investigation: NO CSS FIX. All 12 occurrences are
   clean ASCII; "free" contains no ligature sequence, and no CSS distorts it.
   Suspect is the theme font's "fr" glyph or text-shadow rendering — needs a
   live-browser glyph inspection, not a stylesheet change. */
/* Item 9 — hero slide centering: NO CSS NEEDED. The live 1100px banner already
   centers the copy wrapper via flex with horizontal padding. */
/* Mobile hero copy padding — 2026-09-25. Below the desktop banner breakpoint
   the hero is full-bleed and the slide text sat against the viewport edge.
   Gives the copy 20px gutters on phones/tablets; desktop keeps its banner
   padding from the 4:3 block above. */
@media (max-width: 1023.98px) {
  #hero > div:not([aria-hidden="true"]) {
    padding-left: 20px;
    padding-right: 20px;
  }
}
/* Homepage hero atmosphere + typography polish — 2026-09-25.
   Replaces the single-glow aura. Copy untouched; CSS only. */

/* A. The space around the banner: faint cool page tint, soft site-blue glow
   centered on the hero, whisper of brand gold upper-right, gentle top wash. */
body.home {
  background-color: #f8faff;
  background-image:
    radial-gradient(1000px 620px at 50% 320px, rgba(48,110,219,.13), rgba(48,110,219,0) 70%),
    radial-gradient(640px 400px at 84% 90px, rgba(245,185,66,.10), rgba(245,185,66,0) 70%),
    linear-gradient(180deg, #edf2fc 0, rgba(237,242,252,0) 420px);
  background-repeat: no-repeat;
}

/* B. Banner frame: delicate blue hairline + deeper soft shadow. */
@media (min-width: 1024px) {
  body #hero {
    box-shadow: 0 0 0 1px rgba(48,110,219,.22), 0 30px 80px -20px rgba(23,43,99,.35), 0 8px 24px rgba(23,43,99,.12);
  }
}

/* C. Eyebrow: frosted gold pill. */
#hero .eyebrow {
  display: inline-block;
  padding: 9px 18px;
  border: 1px solid rgba(245,185,66,.5);
  border-radius: 999px;
  background: rgba(8,12,24,.38);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #f6c453;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-shadow: none;
  margin-bottom: clamp(14px, 2.4vw, 22px);
}

/* C2. Headline: tighter tracking, balanced lines, deeper shadow;
   the .accent line gets a bright gold gradient. */
#hero .hero-slide h1 {
  letter-spacing: -0.015em;
  text-wrap: balance;
  text-shadow: 0 3px 24px rgba(0,0,0,.5), 0 1px 3px rgba(0,0,0,.6);
}
#hero .hero-slide h1 .accent {
  text-shadow: none;
  background: linear-gradient(180deg, #ffdf9e 0%, #f5b942 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* C3. Lede: brighter, easier rhythm. */
#hero .hero-slide p.lede {
  color: rgba(255,255,255,.94);
  line-height: 1.65;
  text-shadow: 0 2px 16px rgba(0,0,0,.5);
}/* ============ PHI SYSTEM — golden-ratio landing composition — 2026-09-25 ============
   φ = 1.618; major = 61.8%; minor = 38.2%.
   Spacing runs on a Fibonacci scale (…, 21, 34, 55, 89, 144).
   CSS only. Copy, links, pricing, forms, and carousel behavior untouched. */

/* ---- 1. Hero: copy rests on the golden cut (38.2% from the top). ---- */
/* The active slide vertically centers inside the JS-sized deck. Before, it
   hugged the deck top, stranding a video void under the shorter slides.
   Absolute (inactive) slides and the deck script's min-height measurement
   are unaffected. */
.hero-deck {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Mobile: bias the deck centering to the golden cut. The [style] guard means
   this only applies after the deck script sets its inline min-height (tallest
   slide), so no-JS users keep normal flow. container-type: size is safe here
   because the deck's height comes from that inline min-height, never from its
   content — and it unlocks cqh units, making the 23.6% offset exact at any
   height. Older browsers ignore the padding and fall back to plain centering. */
@media (max-width: 1023.98px) {
  .hero-deck[style*="min-height"] {
    container-type: size;
    padding-bottom: 23.6cqh;
  }
}

/* Desktop: golden cut through the banner frame. padding-bottom % resolves
   against width; the locked 4:3 aspect-ratio makes 17.7% of the width exactly
   23.6% of the height, so the copy centers in the remaining 76.4% with its
   optical center on the cut. */
@media (min-width: 1024px) {
  body #hero { padding-bottom: 17.7%; }
}

/* ---- 2. Section rhythm: Fibonacci padding (89/55 ≈ φ). ---- */
@media (min-width: 1024px) {
  section#inside,
  section#math,
  section#tiers,
  section#join { padding-top: 89px; padding-bottom: 89px; }
}
@media (max-width: 1023.98px) {
  section#inside,
  section#math,
  section#tiers,
  section#join { padding-top: 55px; padding-bottom: 55px; }
}

/* ---- 3. Golden-measure section intros: 61.8% centered (desktop). ---- */
@media (min-width: 1024px) {
  #inside .section-sub,
  #math .section-sub,
  #tiers .section-sub,
  #join .section-sub { max-width: 61.8%; }
}
#inside .section-sub,
#math .section-sub,
#tiers .section-sub,
#join .section-sub {
  margin-bottom: 55px;
}

/* ---- 4. Inside carousel: φ² cards in view (2.618 desktop, 1.618 mobile). ----
   NOTE: the page's inline <style> scopes the carousel as #inside .inside-track
   (1,2,0), so these use section#inside (1,2,1) to out-specify it. */
section#inside .inside-track { gap: 21px; }
@media (min-width: 1024px) {
  section#inside .inside-track .card { flex: 0 0 calc((100% - 1.618 * 21px) / 2.618); }
}
@media (max-width: 1023.98px) {
  section#inside .inside-track .card { flex: 0 0 61.8%; }
}

/* ---- 5. Tiers: φ-weighted grid; the featured tier holds 1.618 shares. ---- */
@media (min-width: 1024px) {
  #tiers .tiers {
    grid-template-columns: 1fr 1fr 1.618fr 1fr;
    max-width: 1080px;
    gap: 21px;
  }
}

/* ---- 6. Join: the signup stack at the golden measure. ---- */
#join .wrap { max-width: 668px; }

/* ============ PHI SYSTEM · course pages ============
   Golden-ratio rhythm for the lesson + dashboard surfaces, audited
   against ppf-blueprint-lms 0.3.103 (2026-09-25).
   Deliberately OUT of scope: type scale (panel spec S2 keeps ×1.25 for
   readability — the old φ type scale stays retired), 16:9 video ratio
   (content), palette (WCAG contract), player/quiz/chrome behavior.
   This block tunes vertical rhythm and measures only.
   Specificity note: plugin layout rules sit at .ppfb-scope .x (0,2,0),
   so course rules use .ppfb-scope.ppfb-lesson (0,3,0) / .ppfb-scope
   (0,2,0 vs 0,1,0) to win regardless of stylesheet load order. */

/* ---- 7. Lesson rhythm: Fibonacci block gaps (34px), 55px terminal breaks. ---- */
.ppfb-scope.ppfb-lesson .ppfb-block { margin-bottom: 34px; }
.ppfb-scope.ppfb-lesson .ppfb-quiz,
.ppfb-scope.ppfb-lesson .ppfb-complete { margin-bottom: 55px; }

/* ---- 8. Dashboard: 34px card rhythm (was 24px); scope keeps the 680px
   golden measure shared with lessons. ---- */
.ppfb-scope .ppfb-10k-card { margin-bottom: 34px; }

/* ============ PPF Manual funnel fixes 2026-09-25 — moved from homepage inline <style> ============ */
/* [FUNNEL-6] hero slides 2-5 headings (p.hero-h) mirror the theme's hero h1 */
#hero .hero-slide p.hero-h{
  font-family:var(--font-heading);
  font-weight:400;
  font-size:2em;
  margin:0.67em 0;
  color:#f5f5f7;
  letter-spacing:-0.015em;
  text-wrap:balance;
  text-shadow:0 3px 24px rgba(0,0,0,.5), 0 1px 3px rgba(0,0,0,.6);
}
.hero #hero .hero-slide p.hero-h{
  font-size:clamp(36px,9.5vw,60px);
  line-height:1.12;
  margin:0 0 20px;
}
/* [FUNNEL-5] CTA under the What's-inside carousel */
#inside .inside-cta{text-align:center;margin:1.25rem 0 .5rem;}
#inside .inside-cta .cta.gold{display:inline-block;border-radius:9999px;padding:14px 34px;font-size:17px;font-weight:600;line-height:1.25;text-align:center;text-decoration:none;background:#306edb;color:#fff;border:2px solid #306edb;transition:background-color .2s ease,border-color .2s ease,color .2s ease,transform .12s ease;}
#inside .inside-cta .cta.gold:hover{background:#2a61c1;border-color:#2a61c1;color:#fff;}
#inside .inside-cta .cta.gold:active{transform:scale(.99);}
#inside .inside-cta .cta.gold:focus-visible{outline:2px solid #2a61c1;outline-offset:2px;}
/* [FUNNEL-7] soft toolkit CTA below the signup section */
.ppf-funnel-kit-cta{text-align:center;padding:0 1rem 3rem;}
.ppf-funnel-kit-cta p.section-sub{max-width:38rem;margin:0 auto;}

/* TVP PPF Manual - Site logo sizing (2026-09-30). Wide transparent logo. */
.site-logo, .ppf-course-brand-logo { max-height: 48px; width: auto; height: auto; border-radius: 0; }

/* My Hero - Video Background (2026-09-30) */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease;
}
.hero-bg-video.is-active {
  opacity: 1;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.7));
}
.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 40px 20px;
  color: #fff;
}
.hero-badge {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  color: #fff;
  opacity: 0.9;
}
.hero-headline {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 20px 0;
  color: #fff;
}
.hero-subtext {
  font-size: 20px;
  line-height: 1.5;
  margin: 0 0 32px 0;
  color: rgba(255,255,255,0.9);
}
.hero-cta {
  margin-top: 24px;
}
@media (max-width: 768px) {
  .hero-headline {
    font-size: 32px;
  }
  .hero-subtext {
    font-size: 17px;
  }
}
/* ============================================================================
   HOMEPAGE HERO — FULL-BLEED VIDEO (2026-10-13)
   Replaces the pinned scroll-scrub image card (.hero-track / .hero-card).
   Lives in the PARENT theme stylesheet (ppf-pro-blueprint/style.css) as one
   marked appended block, per the owner's 2026-09-25 convention; this exact
   block is also appended to the canonical restore copy
   (ops/v101/homepage-design-theme/homepage-design-theme.css).
   Design language: the homepage tokens (--deep, --teal, --coral, Bricolage
   Grotesque) with golden-ratio measures — copy column capped at the 61.8%
   cut, Fibonacci spacing steps (21 / 34 / 55), headline on the existing
   type scale. Selectors are scoped .hero-video (0,2,0 and up) so they win
   over the template's older inline hero rules regardless of load order.
   ========================================================================== */

.hero-video {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: var(--deep);
  color: var(--white);
}

/* Media layer: poster under video, scrim over both. */
.hero-video .hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-video .hero-poster-pic { position: absolute; inset: 0; display: block; }
.hero-video .hero-poster-img,
.hero-video .hero-video-el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.hero-video .hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 22, 41, .52) 0, rgba(5, 22, 41, 0) 24%),
    linear-gradient(90deg, rgba(5, 22, 41, .84) 0%, rgba(5, 22, 41, .58) 42%, rgba(5, 22, 41, .10) 74%),
    linear-gradient(0deg, var(--deep) 0%, rgba(5, 22, 41, 0) 30%);
}

/* Still state: reduced motion, autoplay refused, or media failed.
   The poster becomes the hero; the video never shows a black box. */
.hero-video.is-still .hero-video-el { display: none; }

/* Copy layer. */
.hero-video .hero-inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  padding: calc(89px + env(safe-area-inset-top, 0px)) var(--gutter) 89px;
}
.hero-video .hero-copy { width: min(680px, 61.8vw); }
.hero-video .hero-eyebrow { margin: 0 0 21px; animation: heroFadeIn 1.2s var(--ease-out) .35s both; }
.hero-video h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.9rem, 6.8vw, 5.9rem);
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: .98;
  background: linear-gradient(180deg, #fff 35%, #9CC9E3 135%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 18px rgba(3, 13, 25, .45));
}
.hero-video h1 .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-video h1 .line > span { display: block; animation: heroLineUp 1.2s var(--ease-out) both; animation-delay: calc(.15s + var(--i, 0) * .14s); }
.hero-video .lead {
  margin: 21px 0 0;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, .88);
  max-width: 32em;
  text-shadow: 0 1px 12px rgba(3, 13, 25, .5);
  animation: heroFadeIn 1.2s var(--ease-out) .6s both;
}
.hero-video .hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  animation: heroFadeIn 1.2s var(--ease-out) .8s both;
}
.hero-video .hero-price {
  margin: 21px 0 0;
  color: rgba(255, 255, 255, .75);
  font-size: .98rem;
  text-shadow: 0 1px 10px rgba(3, 13, 25, .5);
  animation: heroFadeIn 1.2s var(--ease-out) .95s both;
}
.hero-video .hero-price strong { color: var(--white); font-weight: 600; }

/* Scroll cue: quiet, bottom center, respects the home-indicator inset. */
.hero-video .scroll-cue {
  position: absolute;
  left: 50%;
  bottom: calc(21px + env(safe-area-inset-bottom, 0px));
  translate: -50% 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .72);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  pointer-events: none;
}
.hero-video .scroll-cue i {
  display: block;
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, 0));
  animation: heroCue 2.2s var(--ease-io) infinite;
}

@keyframes heroLineUp { from { translate: 0 110%; } to { translate: 0 0; } }
@keyframes heroFadeIn { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
@keyframes heroCue { 0%, 100% { scale: 1 .55; opacity: .45; } 50% { scale: 1 1; opacity: 1; } }

/* Phone: portrait reel, copy grounded at the golden cut from the bottom,
   CTAs full-width and thumb-reachable, cue retired to avoid crowding. */
@media (max-width: 820px) {
  .hero-video .hero-scrim {
    background:
      linear-gradient(180deg, rgba(5, 22, 41, .55) 0, rgba(5, 22, 41, 0) 26%),
      linear-gradient(0deg, rgba(5, 22, 41, .92) 0%, rgba(5, 22, 41, .62) 46%, rgba(5, 22, 41, .12) 78%),
      linear-gradient(0deg, var(--deep) 0%, rgba(5, 22, 41, 0) 22%);
  }
  .hero-video .hero-inner {
    align-items: flex-end;
    padding: calc(96px + env(safe-area-inset-top, 0px)) 20px calc(34px + env(safe-area-inset-bottom, 0px));
  }
  .hero-video .hero-copy { width: 100%; }
  .hero-video h1 { font-size: clamp(2.6rem, 12.4vw, 3.9rem); }
  .hero-video .lead { margin-top: 16px; font-size: 1rem; }
  .hero-video .hero-actions { margin-top: 26px; flex-direction: column; align-items: stretch; }
  .hero-video .hero-actions .btn { width: 100%; min-height: 52px; }
  .hero-video .scroll-cue { display: none; }
}

/* Reduced motion: poster only, no entrance choreography, no cue pulse. */
@media (prefers-reduced-motion: reduce) {
  .hero-video .hero-video-el { display: none; }
  .hero-video .hero-eyebrow,
  .hero-video h1 .line > span,
  .hero-video .lead,
  .hero-video .hero-actions,
  .hero-video .hero-price { animation: none; }
  .hero-video .scroll-cue i { animation: none; }
}
