/* ISF Pro inner-page components (pg-*). Loaded after isf-pro.css. */

.pg { overflow-x: clip; }
.pg-section { padding: 104px 0; }
.pg-section--white { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pg-section--ink { background: var(--ink); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.pg-section--ink::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 400px at 100% 0%, rgba(47,127,224,.22), transparent 60%); }

/* Photo */
.pg-photo { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--ink-2); box-shadow: var(--shadow-2); }
.pg-photo img { display: block; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.pg-photo--43 { aspect-ratio: 4 / 3; }
.pg-photo--45 { aspect-ratio: 4 / 5; }
.pg-photo--wide { aspect-ratio: 16 / 10; }
.pg-photo-wrap { position: relative; }
.pg-float {
  position: absolute; z-index: 2;
  background: #fff; color: var(--text); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: 0 20px 50px rgba(4, 16, 30, .28); padding: 16px 18px;
  display: flex; align-items: center; gap: 14px; max-width: 290px;
}
.pg-float--bl { left: -28px; bottom: 28px; }
.pg-float--tr { right: -22px; top: 28px; }
.pg-float__icon { flex-shrink: 0; width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: var(--formula-soft); color: var(--formula); }
.pg-float__icon--blue { background: var(--swoosh-soft); color: var(--swoosh); }
.pg-float strong { display: block; font-family: var(--display); font-size: 19px; font-weight: 800; color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; }
.pg-float span { display: block; font-size: 13px; color: var(--muted); line-height: 1.35; margin-top: 2px; }

/* Page hero */
.pg-hero { position: relative; background: var(--ink); color: #fff; padding: 80px 0 96px; overflow: hidden; isolation: isolate; }
.pg-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(800px 460px at 90% 0%, rgba(47,127,224,.26), transparent 60%), radial-gradient(520px 360px at 0% 100%, rgba(242,113,28,.12), transparent 60%); }
.pg-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 72px; align-items: center; }
.pg-hero__grid--center { grid-template-columns: 1fr; text-align: center; max-width: 820px; margin: 0 auto; }
.pg-hero h1 { font-size: clamp(38px, 4.8vw, 62px); line-height: 1.04; font-weight: 800; letter-spacing: -0.035em; color: #fff; margin: 0 0 22px; }
.pg-hero h1 em { font-style: normal; color: var(--formula); }
.pg-hero__lead { font-size: 18.5px; line-height: 1.65; color: var(--muted-dark); max-width: 560px; margin: 0 0 32px; }
.pg-hero__grid--center .pg-hero__lead { margin-left: auto; margin-right: auto; }
.pg-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.pg-hero__grid--center .pg-hero__ctas { justify-content: center; }
.pg-hero .pg-photo { box-shadow: 0 30px 80px rgba(2, 10, 22, .55), 0 0 0 1px rgba(255,255,255,.08); }
.pg-hero-stats { display: flex; flex-wrap: wrap; row-gap: 16px; margin-top: 40px; border-top: 1px solid var(--line-dark); padding-top: 28px; }
.pg-hero-stats div { padding-right: 32px; margin-right: 32px; border-right: 1px solid var(--line-dark); }
.pg-hero-stats div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.pg-hero-stats strong { display: block; font-family: var(--display); font-size: 30px; font-weight: 800; color: #fff; letter-spacing: -0.03em; line-height: 1; }
.pg-hero-stats span { display: block; font-size: 13px; color: var(--muted-dark); margin-top: 6px; }
.pg-hero__grid--center .pg-hero-stats { justify-content: center; }

/* Split */
.pg-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.pg-split--flip > :first-child { order: 2; }
.pg-split .hp-lead + .hp-lead { margin-top: 16px; }
.pg-badges { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 32px; }
.pg-badge { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; }
.pg-badge__icon { flex-shrink: 0; width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: var(--ink); color: #fff; }
.pg-badge h3 { font-size: 15.5px; font-weight: 700; color: var(--ink); margin: 2px 0 2px; letter-spacing: -0.01em; }
.pg-badge p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.5; }

/* Stat band */
.pg-statband { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pg-statband > div { padding: 8px 40px; border-left: 1px solid var(--line-dark); }
.pg-statband > div:first-child { border-left: 0; padding-left: 0; }
.pg-statband strong { display: block; font-family: var(--display); font-size: clamp(40px, 4vw, 56px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: #fff; }
.pg-statband strong small { font-size: .5em; color: var(--formula); margin-left: 2px; }
.pg-statband h3 { font-size: 16px; font-weight: 700; color: #fff; margin: 14px 0 6px; }
.pg-statband p { font-size: 14.5px; color: var(--muted-dark); margin: 0; line-height: 1.6; }

/* Stories */
.pg-stories { display: grid; gap: 28px; }
.pg-story { display: grid; grid-template-columns: 290px minmax(0, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-1); }
.pg-story__side { background: var(--ink); color: #fff; padding: 32px 28px; display: flex; flex-direction: column; gap: 18px; position: relative; isolation: isolate; }
.pg-story__side::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(260px 200px at 100% 0%, rgba(47,127,224,.3), transparent 70%); }
.pg-story__avatar { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 26px; color: #fff; background: var(--formula); border: 3px solid rgba(255,255,255,.18); }
.pg-story__avatar--blue { background: var(--swoosh); }
.pg-story__avatar--steel { background: var(--ink-3); }
.pg-story__name { font-family: var(--display); font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin: 0; color: #fff; }
.pg-story__role { font-size: 13.5px; color: var(--muted-dark); margin: 4px 0 0; line-height: 1.45; }
.pg-story__outcome { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line-dark); font-size: 14px; font-weight: 600; line-height: 1.45; display: flex; gap: 10px; color: #fff; }
.pg-story__outcome svg { color: var(--formula); flex-shrink: 0; margin-top: 1px; }
.pg-story__body { padding: 36px 44px; display: flex; flex-direction: column; justify-content: center; }
.pg-story__body > svg { color: var(--swoosh); opacity: .4; margin-bottom: 10px; }
.pg-story__body blockquote { margin: 0; font-size: 18px; line-height: 1.7; color: var(--text); }

/* FAQ page */
.pg-faq { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 72px; align-items: start; }
.pg-faq__aside { position: sticky; top: calc(var(--header-h) + 32px); }
.pg-faq__aside .pg-photo { margin-bottom: 20px; }
.pg-help { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 28px; }
.pg-help h3 { font-size: 20px; font-weight: 800; margin: 0 0 8px; color: #fff; }
.pg-help p { font-size: 14.5px; color: var(--muted-dark); margin: 0 0 20px; line-height: 1.6; }
.pg-help .btn { width: 100%; }
.pg-help .btn + .btn { margin-top: 10px; }
.hp-faq__list a { color: var(--swoosh); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Pricing */
.pg-prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.pg-price { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px 30px 30px; box-shadow: var(--shadow-1); }
.pg-price--feature { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 30px 70px rgba(10,37,64,.35); transform: translateY(-12px); }
.pg-price__tag { position: absolute; top: -14px; left: 30px; background: var(--formula); color: #fff; font-family: var(--display); font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.pg-price h3 { font-size: 21px; font-weight: 800; margin: 0 0 6px; color: var(--ink); }
.pg-price--feature h3 { color: #fff; }
.pg-price__desc { font-size: 14.5px; color: var(--muted); margin: 0 0 24px; line-height: 1.55; min-height: 45px; }
.pg-price--feature .pg-price__desc { color: var(--muted-dark); }
.pg-price__amt { font-family: var(--display); font-size: 52px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--ink); }
.pg-price--feature .pg-price__amt { color: #fff; }
.pg-price__amt sup { font-size: 24px; vertical-align: top; position: relative; top: 8px; margin-right: 2px; }
.pg-price__once { font-size: 13px; color: var(--muted); margin: 8px 0 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.pg-price--feature .pg-price__once { color: var(--muted-dark); border-color: var(--line-dark); }
.pg-price ul { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 12px; }
.pg-price li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 15px; line-height: 1.45; }
.pg-price li svg { color: var(--formula); margin-top: 1px; }
.pg-price .btn { margin-top: auto; width: 100%; }
.pg-price .btn-outline { border-color: var(--ink); }
.pg-guarantee { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center; margin-top: 64px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 32px; }
.pg-guarantee__icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--formula-soft); color: var(--formula); }
.pg-guarantee h3 { font-size: 19px; font-weight: 800; color: var(--ink); margin: 0 0 4px; }
.pg-guarantee p { font-size: 15px; color: var(--muted); margin: 0; }

/* Forms */
.pg-form { background: #fff; color: var(--text); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px; box-shadow: var(--shadow-1); }
.pg-form h2 { font-size: 24px; font-weight: 800; color: var(--ink); margin: 0 0 6px; }
.pg-form > p { font-size: 15px; color: var(--muted); margin: 0 0 24px; }
.pg-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pg-field { display: grid; gap: 7px; margin-bottom: 16px; }
.pg-field label { font-family: var(--display); font-size: 13.5px; font-weight: 700; color: var(--ink); }
.pg-field input, .pg-field select, .pg-field textarea {
  width: 100%; font: inherit; font-size: 15.5px; color: var(--text);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px; padding: 13px 14px;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.pg-field input:focus, .pg-field select:focus, .pg-field textarea:focus { outline: none; border-color: var(--swoosh); background: #fff; box-shadow: 0 0 0 4px rgba(47,127,224,.14); }
.pg-form .btn { width: 100%; }
.pg-form__fine { font-size: 13px; color: var(--muted); text-align: center; margin: 14px 0 0; }
.pg-contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.pg-contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; }
.pg-contact-list .ic { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--swoosh-soft); color: var(--swoosh); }
.pg-contact-list b { display: block; font-family: var(--display); font-size: 14px; color: var(--ink); }
.pg-contact-list a, .pg-contact-list span { font-size: 14.5px; color: var(--muted); }
.pg-contact-list a { color: var(--swoosh); font-weight: 600; word-break: break-word; }

/* Free report book */
.pg-book { position: relative; width: min(340px, 80%); margin: 0 auto; aspect-ratio: 3 / 4; border-radius: 6px 14px 14px 6px; background: linear-gradient(160deg, #1D5288, #0A2540 70%); box-shadow: 30px 40px 80px rgba(2,10,22,.55), inset 10px 0 0 rgba(255,255,255,.06); padding: 34px 30px 30px 40px; color: #fff; display: flex; flex-direction: column; transform: rotate(-3deg); }
.pg-book::before { content: ""; position: absolute; left: 16px; top: 0; bottom: 0; width: 2px; background: rgba(255,255,255,.14); }
.pg-book__kicker { font-family: var(--display); font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--formula); }
.pg-book__title { font-family: var(--display); font-size: clamp(26px, 2.6vw, 34px); line-height: 1.04; font-weight: 800; letter-spacing: -0.03em; margin: 14px 0 12px; }
.pg-book__title em { font-style: normal; color: var(--formula); }
.pg-book__sub { font-size: 13.5px; color: var(--muted-dark); line-height: 1.5; }
.pg-book__list { margin-top: auto; display: grid; gap: 8px; }
.pg-book__list i { display: block; height: 6px; border-radius: 3px; background: rgba(255,255,255,.14); }
.pg-book__list i:nth-child(2) { width: 80%; } .pg-book__list i:nth-child(3) { width: 60%; }
.pg-book__logo { margin-top: 22px; height: 26px; width: auto; max-width: none; align-self: flex-start; }

/* Homepage additions (photos) */
.hp-media { position: relative; padding: 0 0 40px 40px; }
.hp-media .pg-photo { aspect-ratio: 5 / 5.4; }
.hp-media .hp-sheet { position: absolute; left: -10px; bottom: 0; width: min(330px, 78%); padding: 20px 20px 16px; transform: rotate(-1.5deg); }
.hp-media .hp-sheet .hp-q { padding: 10px 0; }
.hp-media .hp-sheet__title { font-size: 15.5px; }
.hp-media .hp-sheet-chip { left: auto; right: -14px; bottom: auto; top: 26px; transform: rotate(2deg); }
.hp-gaps--row { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 56px; }
.hp-tools-photo { margin-bottom: 18px; aspect-ratio: 16 / 7; }
.hp-tools-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,37,64,.75), transparent 55%); }
.hp-tools-photo figcaption { position: absolute; left: 20px; bottom: 16px; z-index: 1; font-family: var(--display); font-weight: 700; font-size: 15px; color: #fff; }

/* Members area fixes */
.research-article .prose-content blockquote { background: var(--swoosh-soft); color: var(--ink); border-left-color: var(--swoosh); }
.research-sidebar__back { color: rgba(226, 236, 248, .75); }
.research-sidebar__back:hover { color: #fff; }

/* AI tools: the form uses the full width until results are generated */
@media (min-width: 1024px) {
  .aitool-layout:has(> .aitool-results[hidden]) { grid-template-columns: minmax(0, 1fr); }
}
.aitool-form-panel { border-color: var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-1); }
.aitool-results { border-color: var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-1); }

/* Keep fixed/sticky bars below the WordPress admin bar when it is shown */
body:has(#wpadminbar) .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  body:has(#wpadminbar) .site-header { top: 46px; }
}
@media screen and (max-width: 600px) {
  body:has(#wpadminbar) .site-header { top: 0; }
}

/* Responsive */
@media (max-width: 1080px) {
  .pg-prices { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .pg-price--feature { transform: none; }
}
@media (max-width: 960px) {
  .pg-section { padding: 80px 0; }
  .pg-hero { padding: 56px 0 72px; }
  .pg-hero__grid, .pg-split, .pg-faq { grid-template-columns: 1fr; gap: 48px; }
  .pg-split--flip > :first-child { order: 0; }
  .pg-faq__aside { position: static; }
  .pg-story { grid-template-columns: 1fr; }
  .pg-statband { grid-template-columns: 1fr; gap: 32px; }
  .pg-statband > div { border-left: 0; padding: 0; }
  .pg-float--bl { left: 12px; bottom: 12px; }
  .pg-float--tr { right: 12px; top: 12px; }
  .pg-guarantee { grid-template-columns: 1fr; }
  .hp-gaps--row { grid-template-columns: 1fr; }
  .hp-media { padding: 0 0 40px 0; max-width: 560px; }
  .hp-media .hp-sheet { left: 12px; }
  .hp-media .hp-sheet-chip { right: 12px; }
}
@media (max-width: 640px) {
  .pg-badges, .pg-form__row { grid-template-columns: 1fr; }
  .pg-form { padding: 24px; }
  .pg-story__body { padding: 28px 24px; }
  .pg-story__body blockquote { font-size: 16.5px; }
  .pg-hero-stats div { padding-right: 18px; margin-right: 18px; }
  .pg-hero-stats strong { font-size: 24px; }
  .pg-float { max-width: 230px; padding: 12px 14px; }
  .hp-media .hp-sheet { position: relative; left: 0; width: 100%; margin-top: -60px; transform: none; }
  .hp-media .hp-sheet-chip { display: none; }
}
