/* Money Page (story-first) — v1 2026-09-25. Loaded only on page-money.php.
   Tokens come from main.css (:root). Editorial "proof report": big real numbers, pull quotes,
   short sections, a way to reach us after each. No JS, no scroll libraries. */

.money-page { --mp-gap: clamp(56px, 7vw, 96px); }
.money-page section { padding: var(--mp-gap) 0; } /* override theme's global 120px */
.money-page h2 { font-size: clamp(28px, 3.1vw, 42px); line-height: 1.12; letter-spacing: -0.02em; margin: 10px 0 0; text-wrap: balance; }
.money-page h3 { text-wrap: balance; }
.money-page p { text-wrap: pretty; }
.mp-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.mp-lede { color: var(--ink-soft, #B7C0D1); font-size: 17px; line-height: 1.6; margin: 14px 0 0; }
.mp-btn { display: inline-flex; align-items: center; gap: 8px; }
.mp-btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.mp-btn--ghost:hover { border-color: var(--blue-light, #4A83F5); color: #fff; }
.money-page .gradient { background: linear-gradient(120deg, #7FA8FF 0%, #4A83F5 45%, #9BB9FF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mp-stars { color: #FBBC04; letter-spacing: 2px; font-size: 14px; }

/* 01 hero */
.mp-hero { padding: clamp(24px, 3vw, 40px) 0 clamp(48px, 6vw, 80px) !important;
  background: radial-gradient(900px 420px at 12% -10%, rgba(21,94,239,.22), transparent 60%), var(--bg); }
.mp-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 64px); align-items: center; } /* Skyler 2026-09-25: copy centered against the form */
.mp-hero__h1 { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.14; letter-spacing: -0.025em; margin: 14px 0 18px; /* taller so descenders/ascenders never touch */ text-wrap: balance; }
.mp-hero__sub { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.6; color: var(--ink-soft, #B7C0D1); max-width: 600px; margin: 0 0 22px; }
.mp-hero__proof { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14.5px; color: var(--ink); }
.mp-hero__proof li { display: inline-flex; align-items: center; gap: 8px; }
.mp-hero__proof li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--blue-light, #4A83F5); margin-right: 6px; }
.mp-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.mp-hero__hours { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.mp-hero__form .strategy-form-wrap { margin: 0; }

/* 02 proof */
.mp-proof { background: linear-gradient(180deg, var(--bg), var(--surface) 60%); border-top: 1px solid var(--line); }
.mp-proof__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.mp-proof__card { background: var(--surface-2); border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 2.4vw, 30px); display: grid; gap: 14px; }
.mp-proof__num { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.mp-proof__big { font-family: "Poppins", "Poppins Fallback", "Manrope", "Manrope Fallback", sans-serif; font-weight: 800; font-size: clamp(44px, 5vw, 68px); line-height: 1; letter-spacing: -0.03em;
  background: linear-gradient(135deg, #fff 20%, #7FA8FF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mp-proof__metric { font-size: 15px; color: var(--ink-soft, #B7C0D1); font-weight: 600; }
.mp-proof__chart svg { width: 100%; height: auto; display: block; }
.mp-proof__range { margin: 0; font-size: 13.5px; color: var(--muted); }
.mp-proof__who { display: grid; grid-template-columns: 180px 1fr; gap: 16px; align-items: center; padding-top: 14px; border-top: 1px solid var(--line); }
.mp-proof__who h3 { font-size: 17px; margin: 0 0 4px; }
.mp-proof__ind { margin: 0; font-size: 13px; color: var(--muted); }
.mp-proof__shot { display: block; border-radius: 10px; overflow: hidden; }
.mp-proof__shot .pf-shot-wrap { aspect-ratio: 16 / 10; overflow: hidden; }
.mp-proof__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.mp-proof__foot { margin: 22px 0 0; font-size: 14px; color: var(--muted); }
.mp-proof__foot a { color: var(--blue-light, #4A83F5); font-weight: 600; }

/* 02 proof — review variant (v2) */
.mp-rproof { align-content: start; }
.mp-rproof__hl { margin: 0; font-family: "Poppins", "Poppins Fallback", "Manrope", "Manrope Fallback", sans-serif; font-weight: 800; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 20%, #7FA8FF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; text-wrap: balance; }
.mp-rproof blockquote { margin: 0; }
.mp-rproof blockquote p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--ink-soft, #B7C0D1); }
.mp-rproof figcaption { display: flex; flex-direction: column; font-size: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.mp-rproof figcaption span { color: var(--muted); font-size: 13px; }

/* 02b answer first (v2) */
.mp-answer { padding-bottom: 0 !important; }
.mp-answer__box { max-width: 860px; border-left: 3px solid var(--blue-light, #4A83F5); padding: 4px 0 4px clamp(18px, 2.4vw, 28px); }
.mp-answer__box h2 { font-size: clamp(22px, 2.2vw, 30px); }
.mp-answer__box p { margin: 12px 0 0; font-size: clamp(16.5px, 1.3vw, 19px); line-height: 1.65; color: var(--ink); }

/* 03 problems */
.mp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 22px); }
.mp-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.mp-card__n { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--blue-light, #4A83F5); }
.mp-card h3 { font-size: 19px; margin: 10px 0 8px; }
.mp-card p { margin: 0; color: var(--ink-soft, #B7C0D1); font-size: 15px; line-height: 1.6; }
.mp-inline-cta { margin: 26px 0 0; font-size: 15.5px; color: var(--ink-soft, #B7C0D1); }
.mp-inline-cta a { color: var(--blue-light, #4A83F5); font-weight: 700; white-space: nowrap; }

/* 04 quotes */
.mp-quotes { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mp-quotes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 22px); }
.mp-quote { margin: 0; background: var(--surface-2); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.mp-quote blockquote { margin: 0; }
.mp-quote blockquote p { margin: 0; font-size: 16.5px; line-height: 1.6; color: var(--ink); }
.mp-quote figcaption { margin-top: auto; display: flex; flex-direction: column; font-size: 14px; }
.mp-quote figcaption span { color: var(--muted); font-size: 13px; }
.mp-quotes__foot { margin: 22px 0 0; font-size: 14px; color: var(--muted); }

/* 05 plan */
.mp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 22px); counter-reset: s; position: relative; }
.mp-step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 26px 24px 24px; }
.mp-step::before { counter-increment: s; content: counter(s); position: absolute; top: -16px; left: 24px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 800; font-size: 14px; display: grid; place-items: center; box-shadow: 0 0 0 6px var(--bg); }
.mp-step__when { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-light, #4A83F5); margin-top: 6px; }
.mp-step h3 { font-size: 19px; margin: 8px 0; }
.mp-step p { margin: 0; color: var(--ink-soft, #B7C0D1); font-size: 15px; line-height: 1.6; }

/* 06 terms */
.mp-included + .mp-terms { padding-top: 0 !important; }
.mp-terms__box { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px 48px; align-items: center; padding: clamp(26px, 3.4vw, 44px);
  border-radius: 22px; border: 1px solid rgba(74,131,245,.35); background: linear-gradient(135deg, rgba(21,94,239,.18), var(--surface-2) 70%); }
.mp-terms__price p { margin: 12px 0 0; color: var(--ink-soft, #B7C0D1); font-size: 16px; line-height: 1.6; }
.mp-terms__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.mp-terms__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; line-height: 1.5; }
.mp-terms__list svg { color: #34D399; flex: 0 0 auto; margin-top: 2px; }
.mp-terms__ctas { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; }

/* 07 local */
.mp-local__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.mp-local p { color: var(--ink-soft, #B7C0D1); font-size: 16px; line-height: 1.65; margin: 14px 0 0; }
.mp-related { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.mp-related span { color: var(--muted); font-size: 14px; }
.mp-related a { color: var(--blue-light, #4A83F5); font-weight: 600; font-size: 14.5px; }
.mp-hoods { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.mp-hoods__label { margin: 0 0 12px !important; font-size: 12px !important; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted) !important; }
.mp-hoods ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mp-hoods li { font-size: 13.5px; padding: 6px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.mp-hoods__addr { margin: 16px 0 0 !important; font-size: 13px !important; color: var(--muted) !important; }

.mp-team { margin-top: 22px !important; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px !important; }
.mp-team__label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.mp-team a { color: var(--blue-light, #4A83F5); font-weight: 600; white-space: nowrap; }

/* 08 faq */
.mp-faq .faq-list { max-width: 860px; margin: 0; }

/* 05b included */
.mp-plan + .mp-included { padding-top: 0 !important; } /* only tuck under the plan; elsewhere keep full section spacing */
.mp-inc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.mp-inc li { background: var(--surface); padding: 20px 20px 22px; }
.mp-inc h3 { font-size: 16px; margin: 0 0 6px; }
.mp-inc p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-soft, #B7C0D1); }

/* responsive */
@media (max-width: 1000px) {
  .mp-hero__grid, .mp-local__grid, .mp-terms__box { grid-template-columns: 1fr; }
  .mp-cards, .mp-quotes__grid, .mp-steps, .mp-proof__grid { grid-template-columns: 1fr; }
  .mp-steps { gap: 30px; }
  .mp-inc { grid-template-columns: repeat(2, 1fr); }
  /* phones/tablets: copy → proof → form (Skyler 2026-09-25). One form in the DOM, reordered visually. */
  .mp-top { display: flex; flex-direction: column; background: radial-gradient(700px 360px at 10% -5%, rgba(21,94,239,.22), transparent 60%), var(--bg); }
  .mp-top > .mp-hero, .mp-top > .mp-hero > .mp-hero__grid { display: contents; }
  .mp-hero__copy { order: 1; padding: clamp(24px, 5vw, 40px) var(--gutter, 20px) clamp(36px, 6vw, 56px); }
  .mp-top > .mp-proof { order: 2; }
  .mp-hero__form { order: 3; padding: 0 var(--gutter, 20px) clamp(48px, 8vw, 72px); background: linear-gradient(180deg, var(--surface), var(--bg)); }
}
@media (max-width: 600px) {
  .mp-inc { grid-template-columns: 1fr; }
  .mp-proof__who { grid-template-columns: 1fr; }
  .mp-hero__ctas .mp-btn, .mp-terms__ctas .mp-btn { width: 100%; justify-content: center; }
}

/* form heading is an h2 on money pages (heading order) — keep the shared form look */
.money-page .strategy-form-wrap .strategy-form-heading { letter-spacing: normal; margin-top: 0; }

/* ============================================================================
   Guided plan (2026-09-25, Skyler: "lock people into a section and guide them through it")
   CSS scroll-driven animations only — no JS, no GSAP. Progressive enhancement:
   unsupported browsers (Firefox today) and reduced-motion users get the static 3 cards.
   Desktop ≥1001px: the section pins (sticky stage) while steps light up 1 → 2 → 3 and a
   rail fills. Phones: no pinning — cards ease in and a left-margin line fills as you pass.
   ========================================================================== */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    @keyframes mpStepOn { from { opacity: .7; transform: translateY(14px); border-color: var(--line); box-shadow: none; }
                          to   { opacity: 1; transform: none; border-color: rgba(74,131,245,.6); box-shadow: 0 14px 44px rgba(21,94,239,.18); } }
    @keyframes mpFillX { from { transform: scaleX(0); } to { transform: scaleX(1); } }
    @keyframes mpFillY { from { transform: scaleY(0); } to { transform: scaleY(1); } }
    @keyframes mpIn    { from { opacity: .7; transform: translateY(18px); } to { opacity: 1; transform: none; } }

    @media (min-width: 1001px) and (not (any-pointer: coarse)) {
      .mp-plan { height: 230vh; padding: 0 !important; view-timeline-name: --mp-plan; view-timeline-axis: block; }
      .mp-plan > .container { position: sticky; top: 72px; min-height: calc(100vh - 72px); display: flex; flex-direction: column; justify-content: center; padding-block: 40px; }
      .mp-steps { position: relative; }
      .mp-steps::before, .mp-steps::after { content: ""; position: absolute; top: -1px; left: 40px; width: calc(66.667% + 15px); height: 2px; border-radius: 2px; z-index: 1; pointer-events: none; }
      .mp-steps::before { background: var(--line); }
      .mp-steps::after { background: linear-gradient(90deg, var(--blue), var(--blue-light, #4A83F5)); transform-origin: left center;
        animation: mpFillX linear both; animation-timeline: --mp-plan; animation-range: contain 0% contain 72%; }
      .mp-step::before { z-index: 2; }
      .mp-step { animation: mpStepOn linear both; animation-timeline: --mp-plan; }
      .mp-step:nth-child(1) { animation-range: contain 0% contain 14%; }
      .mp-step:nth-child(2) { animation-range: contain 30% contain 44%; }
      .mp-step:nth-child(3) { animation-range: contain 60% contain 74%; }
    }

    @media (max-width: 1000px) {
      .mp-steps { position: relative; padding-left: 30px; }
      .mp-steps::before, .mp-steps::after { content: ""; position: absolute; left: 9px; top: 26px; bottom: 26px; width: 2px; border-radius: 2px; pointer-events: none; }
      .mp-steps::before { background: var(--line); }
      .mp-steps::after { background: linear-gradient(180deg, var(--blue), var(--blue-light, #4A83F5)); transform-origin: center top;
        animation: mpFillY linear both; animation-timeline: view(); animation-range: cover 25% cover 75%; }
      .mp-step::before { top: 22px; left: -37px; width: 26px; height: 26px; font-size: 12px; box-shadow: 0 0 0 4px var(--bg); }
      .mp-step { animation: mpIn linear both; animation-timeline: view(); animation-range: entry 5% cover 35%; }
    }
  }
}

/* v3 2026-09-26 — showcase proof cards + local market notes */
.mp-show { align-content: start; }
.mp-show__shot { display: block; border-radius: 12px; overflow: hidden; }
.mp-show__shot .pf-shot-wrap { aspect-ratio: 16 / 10; overflow: hidden; }
.mp-show__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform .5s ease; }
.mp-show__shot:hover img { transform: scale(1.02); }
.mp-show h3 { font-size: 19px; margin: 4px 0 4px; }
.mp-show__note { margin: 10px 0 0; font-size: 15px; line-height: 1.6; color: var(--ink-soft, #B7C0D1); }
.mp-notes { margin: 24px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.mp-notes > div { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 18px 16px; }
.mp-notes dt { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-light, #4A83F5); }
.mp-notes dd { margin: 8px 0 0; font-size: 15px; line-height: 1.6; color: var(--ink-soft, #B7C0D1); }
@media (max-width: 600px) { .mp-notes { grid-template-columns: 1fr; } }

@media (min-width: 1001px) { .mp-local .mp-hoods { position: sticky; top: 96px; } }

/* 2026-09-30: an odd last review card spans the full row instead of sitting alone (Mike McGilvary quote on the Ads pages) */
@media (min-width: 761px) { .mp-proof--reviews .mp-proof__grid > .mp-rproof:last-child:nth-child(odd) { grid-column: 1 / -1; } }
