/*
 * Release 2 lead-funnel pages (/book, /assessment).
 *
 * Ported from the approved prototypes on prototype/release-2-funnel-pages. Everything is scoped under
 * `.funnel-page` so the site's own sheets (site, site-updates, review-updates) can load beside it, and
 * the funnel's own component classes carry an `fn-` prefix because site.css already defines global
 * `.card` and `.form-grid` (its `.card` even paints a background-image) that would otherwise bleed into
 * this markup. The prototype's chrome replica, variant B/C styles and the prototype switcher are left
 * out — the real pages wear the site header/footer and render only variant A.
 *
 * Fonts mirror the site's typography: STANDARD_FONTS (pageStyles.ts) loads Inter 400–800 and
 * Poppins 500–700, the same families the prototype used, so `--fn-display`/`--fn-body` point at them.
 */

.funnel-page {
  --fn-violet: #7f28d8;
  --fn-purple: #7000e0;
  --fn-deep2: #2c0a6b;
  --fn-yellow: #ffc436;
  --fn-teal: #55cbd6;
  --fn-teal2: #579fbb;
  --fn-ink: #18181d;
  --fn-ink2: #4d4a58;
  --fn-rule: #e4e6f1;
  --fn-paper: #f7f6f2;
  --fn-ground: #fbfcf8;
  --fn-display: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fn-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

body.funnel-page {
  background: var(--fn-ground);
}
/* The funnel typography is scoped to the page content, NOT the body: the global header and footer share
   this body, and must keep the site's own Arial 14px/20px #333 (set by site.css on `body`) rather than
   inherit the funnel's Inter 16px. */
.funnel-page main {
  padding: 0;
  color: var(--fn-ink);
  font-family: var(--fn-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
/* While the personal-link head script has stashed the ?access token (it marks <html data-book-link>),
   hide the server-rendered sign-up so the browser never paints it before the client renders the link
   state. The BookFunnel component removes the marker on mount. Fail-safe: if the client bundle never
   runs (so the marker is never removed), reveal the content after ~5s rather than leave it hidden
   forever — the keyframe holds it hidden, then flips to visible. */
html[data-book-link] .funnel-page main .fn-root {
  visibility: hidden;
  animation: fn-reveal-failsafe 0s linear 5s forwards;
}
@keyframes fn-reveal-failsafe {
  to {
    visibility: visible;
  }
}
/* The element resets are scoped to the block root (.fn-root), NOT the whole page, so they never reach
   the global header and footer that share the funnel-page body — their link colour, nav colours,
   heading fonts and focus ring stay the site's. */
.funnel-page .fn-root *,
.funnel-page .fn-root *::before,
.funnel-page .fn-root *::after {
  box-sizing: border-box;
}
.funnel-page .fn-root h1,
.funnel-page .fn-root h2,
.funnel-page .fn-root h3,
.funnel-page .fn-root h4 {
  font-family: var(--fn-display);
  margin: 0;
  line-height: 1.14;
  letter-spacing: -0.01em;
}
.funnel-page .fn-root p {
  margin: 0;
}
.funnel-page .fn-root img {
  max-width: 100%;
  display: block;
}
/* :where keeps this at the specificity of a class rule, so a link styled as a button (.fn-btn-*,
   declared later) keeps its own text colour instead of inheriting the surrounding ink. */
.funnel-page .fn-root :where(a) {
  color: inherit;
}
/* tabindex="-1" marks the headings the page focuses programmatically on a stage change (so screen
   readers announce it). They are not tab stops, so they get no ring: neither ours nor the browser's
   default focus outline, which Chrome otherwise draws around the heading. */
.funnel-page .fn-root [tabindex='-1']:focus {
  outline: none;
}
/* :where keeps this ring at low specificity, so a component's own focus style (the fields' violet
   border) replaces it rather than stacking a second outline on top. */
.funnel-page .fn-root :where(a, button, input, select, [tabindex]:not([tabindex='-1'])):focus-visible {
  outline: 3px solid var(--fn-yellow);
  outline-offset: 2px;
  border-radius: 6px;
}

.funnel-page .fn-min0 {
  min-width: 0;
}
.funnel-page .fn-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding-inline: 16px;
}
.funnel-page .fn-kicker {
  font-family: var(--fn-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fn-purple);
}

/* buttons */
.funnel-page .fn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-family: var(--fn-body);
  line-height: 1.1;
  text-align: center;
}
.funnel-page .fn-btn-primary {
  background: var(--fn-violet);
  color: #fff;
}
.funnel-page .fn-btn-primary:hover {
  background: var(--fn-purple);
}
.funnel-page .fn-btn-yellow {
  background: var(--fn-yellow);
  color: var(--fn-ink);
}
.funnel-page .fn-btn-yellow:hover {
  filter: brightness(0.95);
}
.funnel-page .fn-btn-line {
  background: transparent;
  color: inherit;
  border: 1.5px solid currentColor;
}
.funnel-page .fn-btn-ghost {
  background: #fff;
  color: var(--fn-ink);
  border: 1.5px solid var(--fn-rule);
}
.funnel-page .fn-btn-block {
  width: 100%;
}
.funnel-page .fn-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* sections (shared) */
.funnel-page .fn-section {
  padding: 52px 0;
}
.funnel-page .fn-section-dark {
  background: #230056;
  color: #fff;
}
.funnel-page .fn-sec-head {
  max-width: 60ch;
  margin-bottom: 26px;
}
.funnel-page .fn-sec-head h2 {
  font-size: clamp(24px, 3.6vw, 34px);
}
.funnel-page .fn-sec-head-dark h2 {
  color: #fff;
}
.funnel-page .fn-sec-head p {
  color: var(--fn-ink2);
  margin-top: 8px;
}

/* form fields (shared by the book sign-up and the assessment contact step) */
.funnel-page .fn-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.funnel-page .fn-field {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.funnel-page .fn-field-full {
  grid-column: 1 / -1;
}
.funnel-page .fn-field label {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  /* The site's Webflow base stylesheet gives every label a 5px bottom margin; the field's gap sets it. */
  margin-bottom: 0;
}
.funnel-page .fn-req {
  color: var(--fn-violet);
}
.funnel-page .fn-field input,
.funnel-page .fn-field select {
  font-family: var(--fn-body);
  font-size: 15px;
  padding: 11px 12px;
  border: 1.5px solid var(--fn-rule);
  border-radius: 9px;
  background: #fff;
  color: var(--fn-ink);
  width: 100%;
  min-width: 0;
}
.funnel-page .fn-field input:hover,
.funnel-page .fn-field select:hover {
  border-color: #c6bce0;
}
/* Fields show focus with their own border instead of the page's 3px focus ring, which read as too
   heavy on a text box; the violet border plus a 1px ring stays clearly visible. */
.funnel-page .fn-root .fn-field :is(input, select):focus-visible {
  outline: none;
  border-color: var(--fn-violet);
  box-shadow: 0 0 0 1px var(--fn-violet);
}
.funnel-page .fn-field .fn-err {
  font-size: 12.5px;
  color: #b3261e;
  font-weight: 600;
}
.funnel-page .fn-field input[aria-invalid='true'],
.funnel-page .fn-field select[aria-invalid='true'] {
  border-color: #b3261e;
  background: #fdf3f2;
}
.funnel-page .fn-form-errors {
  color: #b3261e;
  font-weight: 600;
  font-size: 13.5px;
  margin-bottom: 12px;
}
@media (max-width: 560px) {
  .funnel-page .fn-form-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Book page ===== */
/* No fill of its own: the hero sits on the site's page background (--body-bg #fbfcf8). */
.funnel-page .fn-hero {
  background: transparent;
}
.funnel-page .fn-hero .fn-wrap {
  max-width: 1200px;
  padding-top: 42px;
  padding-bottom: 42px;
}
/* The cover takes the larger share so the book reads big (its image carries ~11% transparent margin
   on each side); proportional columns keep the form usable on narrower laptops. */
.funnel-page .fn-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.funnel-page .fn-cover-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.funnel-page .fn-cover {
  width: 100%;
  max-width: 100%;
  height: auto;
}
.funnel-page .fn-cover-col .fn-btn {
  width: 100%;
  max-width: 300px;
}
.funnel-page .fn-buyline {
  font-size: 12.5px;
  color: var(--fn-ink2);
  text-align: center;
}
.funnel-page .fn-hero h1 {
  font-size: clamp(30px, 5vw, 48px);
  color: var(--fn-purple);
  margin-top: 10px;
  font-weight: 700;
}
.funnel-page .fn-benefit {
  font-size: 18px;
  color: var(--fn-ink2);
  margin-top: 14px;
  max-width: 52ch;
}
.funnel-page .fn-formcard {
  background: #fff;
  border: 2px solid var(--fn-yellow);
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 18px 40px -30px rgba(35, 0, 86, 0.5);
  margin-top: 24px;
}
.funnel-page .fn-formcard h2 {
  font-size: 21px;
  margin-bottom: 14px;
}
.funnel-page .fn-fc-note {
  font-size: 12.5px;
  color: var(--fn-ink2);
  margin-top: 10px;
}
.funnel-page .fn-tgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.funnel-page .fn-tcard {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 20px;
  min-width: 0;
}
.funnel-page .fn-tcard .fn-q {
  font-size: 15.5px;
  line-height: 1.55;
  color: #ece7f6;
}
.funnel-page .fn-tcard .fn-who {
  margin-top: 14px;
  font-weight: 600;
  font-size: 14px;
}
.funnel-page .fn-tcard .fn-who small {
  display: block;
  color: #c9bde3;
  font-weight: 500;
  font-size: 12.5px;
  margin-top: 2px;
}
@media (max-width: 880px) {
  .funnel-page .fn-hero-grid {
    grid-template-columns: 1fr;
  }
  .funnel-page .fn-cover-col {
    order: -1;
  }
  /* The grid is a single column here, so cap the cover (which otherwise fills its column) to the
     desktop column width; the centred column keeps it from stretching across the page. */
  .funnel-page .fn-cover {
    max-width: 420px;
  }
}
@media (max-width: 780px) {
  .funnel-page .fn-tgrid {
    grid-template-columns: 1fr;
  }
}

/* centred single-column stages (check email, download, link resent, invalid link) */
.funnel-page .fn-stage-wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 0;
}
.funnel-page .fn-stage-card {
  background: #fff;
  border: 1px solid var(--fn-rule);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 20px 50px -34px rgba(35, 0, 86, 0.5);
}
.funnel-page .fn-stage-ico {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--fn-rule);
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  color: var(--fn-teal2);
}
.funnel-page .fn-stage-ico svg {
  width: 30px;
  height: 30px;
}
.funnel-page .fn-stage-ico.fn-stage-warn {
  background: #fdf1ec;
  border-color: #f3c9b3;
  color: #b3591e;
}
.funnel-page .fn-stage-card h1 {
  font-size: clamp(24px, 4.4vw, 32px);
  color: var(--fn-purple);
}
.funnel-page .fn-stage-body {
  color: var(--fn-ink2);
  margin-top: 10px;
}
.funnel-page .fn-stage-email {
  color: var(--fn-ink);
  font-weight: 600;
}
.funnel-page .fn-resent-banner {
  background: #fff;
  border: 1px solid var(--fn-rule);
  color: var(--fn-purple);
  border-radius: 10px;
  padding: 11px 14px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 16px;
  display: flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
}
.funnel-page .fn-resend-row {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.funnel-page .fn-cooldown {
  font-size: 13px;
  color: var(--fn-ink2);
}
.funnel-page .fn-cooldown b {
  color: var(--fn-ink);
  font-variant-numeric: tabular-nums;
}
.funnel-page .fn-linkrow {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.funnel-page .fn-textlink {
  background: none;
  border: 0;
  color: var(--fn-purple);
  font-family: var(--fn-body);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* download */
/* The download list is plain rows split by hairline dividers, not cards. */
.funnel-page .fn-dl-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  border-top: 1px solid rgba(35, 0, 86, 0.14);
}
.funnel-page .fn-dl-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(35, 0, 86, 0.14);
}
.funnel-page .fn-dl-meta {
  min-width: 0;
}
.funnel-page .fn-dl-meta b {
  display: block;
  font-size: 16px;
}
.funnel-page .fn-dl-meta small {
  color: var(--fn-ink2);
  font-size: 13px;
}
.funnel-page .fn-dl-row .fn-btn {
  flex: none;
  min-height: 42px;
}
.funnel-page .fn-dl-note {
  font-size: 13px;
  color: var(--fn-ink2);
  margin-top: 14px;
}
/* The next-step band after the downloads: full width and dark like the testimonials band. */
.funnel-page .fn-next {
  text-align: center;
}
.funnel-page .fn-next h2 {
  font-size: clamp(24px, 3.6vw, 34px);
  color: #fff;
}
.funnel-page .fn-next p {
  color: #d9cff0;
  margin-top: 8px;
}
.funnel-page .fn-next .fn-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}
.funnel-page .fn-btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}
.funnel-page .fn-btn-outline-light:hover {
  border-color: #fff;
}

/* ===== Assessment ===== */
/* Room under the site header and above the footer, so the assessment card never butts against either. */
.funnel-page .fn-assess {
  padding-block: 48px 88px;
}
.funnel-page .fn-stage-head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
}
.funnel-page .fn-stage-head h1 {
  font-size: clamp(24px, 4vw, 34px);
  color: var(--fn-purple);
}
.funnel-page .fn-lede {
  color: var(--fn-ink2);
  max-width: 64ch;
  margin-top: 6px;
}
.funnel-page .fn-card {
  background: #fff;
  border: 1px solid var(--fn-rule);
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 14px 30px -26px rgba(35, 0, 86, 0.4);
}
.funnel-page .fn-navrow {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.funnel-page .fn-navrow .fn-spacer {
  flex: 1;
}
.funnel-page .fn-contact-note {
  font-size: 13px;
  color: var(--fn-ink2);
  margin-top: 4px;
}

.funnel-page .fn-a-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}
.funnel-page .fn-rail {
  position: sticky;
  top: 84px;
  background: #fff;
  border: 1px solid var(--fn-rule);
  border-radius: 12px;
  padding: 12px;
}
.funnel-page .fn-rail ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.funnel-page .fn-rail li {
  margin: 0;
}
.funnel-page .fn-rail button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  background: transparent;
  border: 0;
  border-radius: 9px;
  padding: 10px 10px;
  cursor: pointer;
  text-align: left;
  font-family: var(--fn-body);
  color: var(--fn-ink);
}
.funnel-page .fn-rail button:hover {
  background: var(--fn-paper);
}
.funnel-page .fn-rail li.fn-on button {
  background: #f3ecfb;
}
.funnel-page .fn-rail .fn-dot {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--fn-paper);
  border: 1.5px solid var(--fn-rule);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--fn-ink2);
}
.funnel-page .fn-rail li.fn-on .fn-dot {
  background: var(--fn-violet);
  border-color: var(--fn-violet);
  color: #fff;
}
.funnel-page .fn-rail li.fn-done .fn-dot {
  background: #fff;
  border-color: var(--fn-violet);
  color: var(--fn-violet);
}
.funnel-page .fn-rail .fn-rl-name {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.25;
}
.funnel-page .fn-rail .fn-rl-count {
  display: block;
  font-size: 12px;
  color: var(--fn-ink2);
}
.funnel-page .fn-area-intro {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}
.funnel-page .fn-area-big {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fn-violet);
}
.funnel-page .fn-area-title {
  font-size: clamp(21px, 3.4vw, 27px);
  margin: 4px 0 2px;
}
.funnel-page .fn-area-desc {
  color: var(--fn-ink2);
  margin-bottom: 16px;
}
.funnel-page .fn-stmt {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-top: 1px solid var(--fn-rule);
}
.funnel-page .fn-stmt:first-of-type {
  border-top: 0;
}
.funnel-page .fn-stmt .fn-txt {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}
.funnel-page .fn-seg {
  flex: none;
  display: inline-flex;
  background: var(--fn-paper);
  border: 1px solid var(--fn-rule);
  border-radius: 10px;
  padding: 3px;
}
.funnel-page .fn-seg-btn {
  border: 0;
  background: transparent;
  font-family: var(--fn-body);
  font-weight: 600;
  font-size: 13px;
  padding: 9px 13px;
  border-radius: 8px;
  cursor: pointer;
  color: var(--fn-ink2);
  white-space: nowrap;
}
.funnel-page .fn-seg-btn[aria-pressed='true'] {
  color: #fff;
  background: var(--fn-violet);
}
.funnel-page .fn-seg-btn.fn-no[aria-pressed='true'] {
  background: #6b6676;
}
@media (max-width: 880px) {
  .funnel-page .fn-a-grid {
    grid-template-columns: 1fr;
  }
  .funnel-page .fn-rail {
    position: static;
  }
  .funnel-page .fn-rail ol {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }
  .funnel-page .fn-rail li {
    flex: 1 1 150px;
  }
}
@media (max-width: 520px) {
  .funnel-page .fn-stmt {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .funnel-page .fn-seg {
    align-self: flex-start;
  }
}

/* analysing */
.funnel-page .fn-analysing {
  max-width: 560px;
  margin: 40px auto;
  text-align: center;
}
.funnel-page .fn-brainmark {
  display: block;
  width: 150px;
  max-width: 100%;
  height: auto;
  margin: 0 auto 22px;
  overflow: visible;
}
.funnel-page .fn-brainmark .fn-bm-links {
  opacity: 0.4;
}
.funnel-page .fn-brainmark .fn-bm-node {
  transform-box: fill-box;
  transform-origin: center;
  animation: fn-bm-blink 2.2s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.22s - 2.2s);
}
@keyframes fn-bm-blink {
  0%,
  45%,
  100% {
    opacity: 0.3;
    transform: scale(0.9);
  }
  18% {
    opacity: 1;
    transform: scale(1.08);
  }
}
.funnel-page .fn-an-msg {
  font-family: var(--fn-display);
  font-weight: 600;
  font-size: 20px;
  min-height: 1.6em;
}
.funnel-page .fn-an-steps {
  display: flex;
  gap: 7px;
  justify-content: center;
  margin-top: 18px;
}
.funnel-page .fn-an-steps span {
  width: 34px;
  height: 5px;
  border-radius: 999px;
  background: var(--fn-rule);
}
.funnel-page .fn-an-steps span.fn-on {
  background: var(--fn-violet);
}

/* results */
.funnel-page .fn-res-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 26px;
  align-items: start;
}
.funnel-page .fn-levelbig {
  font-family: var(--fn-display);
  font-weight: 700;
  font-size: clamp(30px, 6vw, 46px);
  color: var(--fn-purple);
  line-height: 1.05;
}
.funnel-page .fn-levelsub {
  font-size: 15px;
  color: var(--fn-ink2);
  margin-top: 4px;
}
.funnel-page .fn-res-section {
  margin-top: 22px;
}
.funnel-page .fn-res-section h3 {
  font-size: 16px;
  margin-bottom: 10px;
}
.funnel-page .fn-areabar {
  margin: 9px 0;
}
.funnel-page .fn-areabar .fn-al {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  margin-bottom: 5px;
}
.funnel-page .fn-areabar .fn-al b {
  font-weight: 600;
}
.funnel-page .fn-areabar .fn-track {
  height: 10px;
  background: var(--fn-paper);
  border: 1px solid var(--fn-rule);
  border-radius: 999px;
  overflow: hidden;
}
.funnel-page .fn-areabar .fn-f {
  height: 100%;
  background: linear-gradient(90deg, var(--fn-violet), var(--fn-purple));
  border-radius: 999px;
}
.funnel-page .fn-prose {
  color: var(--fn-ink2);
  line-height: 1.6;
}
.funnel-page .fn-res-section h3 + .fn-prose {
  margin-top: 8px;
}
.funnel-page .fn-prose h1,
.funnel-page .fn-prose h2,
.funnel-page .fn-prose h3,
.funnel-page .fn-prose h4 {
  color: var(--fn-ink);
  margin: 18px 0 8px;
  font-size: 17px;
}
.funnel-page .fn-prose p {
  margin: 0 0 10px;
}
.funnel-page .fn-prose ul,
.funnel-page .fn-prose ol {
  margin: 0 0 10px;
  padding-left: 22px;
}
.funnel-page .fn-prose li {
  margin: 4px 0;
}
.funnel-page .fn-prose strong {
  color: var(--fn-ink);
  font-weight: 600;
}
.funnel-page .fn-res-aside {
  background: #fff;
  border: 1px solid var(--fn-rule);
  border-radius: 14px;
  padding: 18px;
  position: sticky;
  top: 84px;
}
.funnel-page .fn-res-aside h4 {
  font-size: 15px;
  margin-bottom: 6px;
}
.funnel-page .fn-res-aside p {
  font-size: 13.5px;
  color: var(--fn-ink2);
}
.funnel-page .fn-res-aside img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
/* The Levels pyramid with the assessed level revealed: the veil covers the levels above it, with a
   caption naming the level (the approved prototype's Results aside). */
.funnel-page .fn-pyr-wrap {
  position: relative;
  max-width: 100%;
}
.funnel-page .fn-pyr-veil {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  background: rgba(251, 252, 248, 0.8);
  border-bottom: 2px dashed rgba(127, 40, 216, 0.5);
  pointer-events: none;
}
.funnel-page .fn-pyr-cap {
  font-size: 12.5px;
  color: var(--fn-ink2);
  margin-top: 8px;
  text-align: center;
}
.funnel-page .fn-pyr-cap b {
  color: var(--fn-purple);
}
.funnel-page .fn-ctanote {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--fn-ink2);
  background: #fff;
  border: 1px solid var(--fn-rule);
  border-radius: 8px;
  padding: 10px 12px;
}
@media (max-width: 880px) {
  .funnel-page .fn-res-grid {
    grid-template-columns: 1fr;
  }
  .funnel-page .fn-res-aside {
    position: static;
  }
}

/* The assessment's qualified-result booking section, below the result. Mounted from the first render
   (hidden) so booking.js/conversion.js find #calendly-booking at load; revealed on a qualifying result. */
.funnel-page .fn-res-booking {
  max-width: 820px;
  margin: 28px auto 0;
}
.funnel-page .fn-res-booking[hidden] {
  display: none;
}
.funnel-page .fn-res-booking > h2 {
  font-size: clamp(22px, 3.4vw, 28px);
  margin-bottom: 8px;
}
.funnel-page .fn-res-booking > p {
  color: var(--fn-ink2);
  margin-bottom: 16px;
}

/*
 * Calendly embed, reused on the assessment's qualified result through CalendlyParts. These ids and
 * class names are the contract with public/booking.js and public/conversion.js, so they keep the exact
 * names launch-updates.css uses on /strategy-call; ported here because the funnel design does not load
 * launch-updates.css.
 */
.funnel-page .booking-embed {
  position: relative;
}
.funnel-page #calendly-booking {
  min-width: 0;
  width: 100%;
  height: 700px;
  background: #fff;
}
.funnel-page #calendly-booking iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 1;
  transition: opacity 0.18s ease-out;
}
.funnel-page #calendly-booking[data-state='loading'] iframe {
  opacity: 0;
}
.funnel-page #calendly-booking[data-state='failed'] {
  height: 150px !important;
}
.funnel-page .calendar-loading {
  position: absolute;
  z-index: 1;
  inset: 48px 20px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--fn-ink2);
  font-size: 0.95rem;
  line-height: 1.5;
}
.funnel-page .calendar-loading[hidden] {
  display: none;
}
.funnel-page .calendar-loading::before {
  content: '';
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border: 2px solid #e8e2f4;
  border-top-color: var(--fn-purple);
  border-radius: 50%;
  animation: fn-calendar-spin 0.8s linear infinite;
}
.funnel-page .calendar-loading[data-failed='true']::before {
  display: none;
}
@keyframes fn-calendar-spin {
  to {
    transform: rotate(360deg);
  }
}
.funnel-page .calendar-fallback {
  margin-top: 16px;
  font-size: 0.9rem;
}
.funnel-page .booking-confirmation {
  margin-block: 20px;
  padding: 24px;
  border-radius: 12px;
  background: #e0f1e9;
}
.funnel-page .booking-confirmation[hidden] {
  display: none;
}
.funnel-page .booking-confirmation h2 {
  font-size: 1.5rem;
}
.funnel-page .booking-confirmation p {
  margin: 0;
}
@media (max-width: 620px) {
  .funnel-page #calendly-booking {
    height: 602px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .funnel-page .fn-brainmark .fn-bm-node {
    animation: none;
  }
  .funnel-page #calendly-booking iframe {
    transition: none;
  }
  .funnel-page .calendar-loading::before {
    animation: none;
  }
}
