/* ========================================
   ANTHEON. Booking funnel pages
   Loads after blog/blog.css and reuses its tokens, buttons, cards,
   tables (.prose), takeaways card, CTA band, footer and motion.
   Only funnel-specific layout lives here.
   ======================================== */

/* Show content straight away: the blog's whole-page fade would delay the hero (LCP). */
body.funnel { opacity: 1; animation: none; }

/* Placeholders that must be confirmed before publishing. Remove this class when done. */
.ph { background: #FEF3C7; color: #78350F; border-radius: 4px; padding: 0 4px; font-style: normal; font-size: 1em; }

/* --- Minimal header: logo + one CTA --- */
.f-header nav { height: 72px; }
.f-header .btn { padding: 12px 20px; font-size: 15px; min-height: 44px; }
@media (max-width: 380px) { .f-header .btn { padding: 11px 14px; font-size: 14px; } }

/* --- Hero --- */
.f-hero { padding: 64px 0 40px; background: linear-gradient(180deg, var(--bg-tint) 0%, var(--bg) 100%); }
.f-hero .inner { max-width: 880px; margin: 0 auto; text-align: center; }
.f-hero .eyebrow { margin-bottom: 18px; }
.f-hero h1 { font-size: 64px; margin: 0 0 18px; }
.f-hero .sub { text-wrap: balance; font-size: 21px; color: var(--text-muted); max-width: 640px; margin: 0 auto 30px; line-height: 1.6; }
.f-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 26px; }
.f-actions .btn { min-height: 52px; font-size: 17px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 600; color: var(--brand-violet); min-height: 44px; }
.text-link svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.text-link:hover { color: var(--brand-blue); }
.text-link:hover svg { transform: translate(2px, -2px); }
.micro { text-wrap: balance; font-size: 15px; color: var(--text-muted); margin-top: 16px; line-height: 1.55; }
.trust { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 14px; margin-top: 18px; font-size: 14px; color: var(--text-muted); }
.trust span { display: inline-flex; align-items: center; gap: 6px; }
.trust svg { width: 15px; height: 15px; color: var(--brand-violet); flex-shrink: 0; }
.f-cover { padding-top: 40px; }
@media (max-width: 767px) {
  .f-hero { padding: 36px 0 24px; }
  .f-hero .inner { text-align: left; }
  .f-hero h1 { font-size: 36px; margin-bottom: 14px; }
  .f-hero .sub { font-size: 17px; margin: 0 0 22px; }
  .f-actions { justify-content: flex-start; }
  .f-actions .btn { width: 100%; }
  .trust { justify-content: flex-start; font-size: 13px; }
  .micro { font-size: 14px; }
  .f-cover { padding-top: 24px; }
}

/* --- Sections --- */
.f-sec { padding: 72px 0; }
.f-sec.tint { background: var(--bg-alt); }
.f-col { max-width: 760px; margin: 0 auto; }
.f-wide { max-width: 1040px; margin: 0 auto; }
.f-sec .prose > h2:first-child { margin-top: 0; }
.f-sec .prose h2 { font-size: 44px; }
.lead-in { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-violet); margin-bottom: 12px; }
@media (max-width: 767px) {
  .f-sec { padding: 48px 0; }
  .f-sec .prose h2 { font-size: 30px; }
  .lead-in { font-size: 13px; }
}

/* Quick answer: reuses the blog's "Key takeaways" card */
.qa { padding: 8px 0 0; }
.qa .takeaways { margin: 0 auto; max-width: 760px; }
.qa .takeaways p { font-size: 18px; line-height: 1.7; }
.qa .updated { font-size: 14px; color: var(--text-muted); margin-top: 10px; }
@media (max-width: 767px) { .qa .takeaways p { font-size: 16px; } .qa .updated { font-size: 13px; } }

/* Inline CTA row that closes a section */
.f-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--border); }
.f-cta .btn { min-height: 52px; }
.f-cta p { font-size: 15px !important; color: var(--text-muted); margin: 0 !important; flex: 1 1 260px; line-height: 1.55; }
@media (max-width: 767px) { .f-cta .btn { width: 100%; } }

/* Pain list */
.pain { list-style: none; padding: 0 !important; display: grid; gap: 12px; }
.pain li { margin: 0 !important; padding: 14px 18px 14px 50px !important; position: relative; background: #fff; border: 1px solid var(--border); border-radius: 12px; font-size: 18px; line-height: 1.55; }
.pain li::before { content: ""; position: absolute; left: 18px; top: 18px; width: 18px; height: 18px; border-radius: 50%; background: #FDECEB; box-shadow: inset 0 0 0 5px #F87171; }
@media (max-width: 767px) { .pain li { font-size: 16px; } }

/* Definition blocks */
.defs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 1.6em; }
.def { background: var(--bg-tint); border: 1px solid #ECE7FB; border-radius: 14px; padding: 18px 20px; }
.prose .def h3 { margin: 0 0 6px; font-size: 18px; }
.prose .def p { margin: 0; font-size: 18px; line-height: 1.6; }
@media (max-width: 767px) { .defs { grid-template-columns: 1fr; } .prose .def p { font-size: 16px; } }

/* Video facade: nothing loads until the visitor presses play */
.vid { position: relative; margin: 1.6em 0 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); aspect-ratio: 16 / 9; background: #0f0b1f; box-shadow: 0 30px 60px -32px rgba(26, 18, 48, 0.45); }
.vid img, .vid video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0 !important; border-radius: 0 !important; }
.vid-play { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; border: 0; cursor: pointer; background: linear-gradient(180deg, rgba(26, 18, 48, 0) 40%, rgba(26, 18, 48, 0.55) 100%); }
.vid-play .disc { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-gradient); color: #fff; box-shadow: 0 16px 36px -10px rgba(109, 72, 230, 0.75); transition: transform 0.25s ease; }
.vid-play .disc svg { width: 30px; height: 30px; margin-left: 4px; }
.vid-play:hover .disc { transform: scale(1.06); }
.vid-play:focus-visible { outline: 3px solid var(--brand-violet); outline-offset: -3px; }
.vid-play .lbl { position: absolute; left: 18px; bottom: 16px; color: #fff; font-size: 15px; font-weight: 600; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35); }
@media (max-width: 767px) { .vid-play .disc { width: 64px; height: 64px; } .vid-play .disc svg { width: 24px; height: 24px; } .vid-play .lbl { font-size: 13px; left: 12px; bottom: 10px; } }
.sample-note { font-size: 14px !important; color: var(--text-muted); margin-top: 10px !important; }
.walk { counter-reset: w; list-style: none; padding: 0 !important; }
.walk li { counter-increment: w; position: relative; padding-left: 40px !important; }
.walk li::before { content: counter(w); position: absolute; left: 0; top: 2px; width: 26px; height: 26px; border-radius: 50%; background: var(--bg-tint); border: 1px solid #ECE7FB; color: var(--brand-violet); font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.walk li::marker { content: ""; }

/* Steps (How We Work, same four stages as the homepage) */
.steps-f { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.step-f { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 22px 20px; display: flex; flex-direction: column; gap: 10px; }
.step-f .num { font-family: var(--font-display); font-size: 34px; line-height: 1; background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step-f h3 { font-size: 20px; }
.step-f p { font-size: 16px; color: var(--text-muted); line-height: 1.6; }
.step-f .get { font-size: 15px; color: var(--text); line-height: 1.55; }
.step-f .get b { display: block; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-violet); margin-bottom: 4px; }
.step-f .time { margin-top: auto; font-size: 14px; color: var(--text-muted); padding-top: 10px; border-top: 1px solid var(--border); }
@media (max-width: 1023px) { .steps-f { grid-template-columns: 1fr 1fr; } }
@media (max-width: 639px) { .steps-f { grid-template-columns: 1fr; } }

/* Who this is for / not for */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.fit > div { border-radius: 16px; padding: 22px 24px; border: 1px solid var(--border); background: #fff; }
.fit h3 { font-size: 19px; margin-bottom: 10px; }
.fit ul { list-style: none; display: grid; gap: 8px; }
.fit li { position: relative; padding-left: 28px; font-size: 18px; line-height: 1.55; }
@media (max-width: 767px) { .fit li { font-size: 16px; } }
.fit li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.fit .yes li::before { content: "\2713"; color: #15803D; }
.fit .no li::before { content: "\2715"; color: #B91C1C; }
.fit .yes { background: linear-gradient(160deg, #FBFAFF 0%, #F5F3FF 100%); border-color: #ECE7FB; }
@media (max-width: 767px) { .fit { grid-template-columns: 1fr; } }

/* FAQ accordion (button inside the heading, answer always in the DOM) */
.faq { margin-top: 24px; border-top: 1px solid var(--border); }
.faq-i { border-bottom: 1px solid var(--border); }
.prose .faq-i h3 { margin: 0; font-size: 19px; }
.faq-b { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; min-height: 56px; background: none; border: 0; cursor: pointer; text-align: left; font: inherit; font-weight: 600; color: var(--text); line-height: 1.4; }
.faq-b svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--brand-violet); transition: transform 0.25s ease; }
.faq-b[aria-expanded="true"] svg { transform: rotate(180deg); }
.faq-b:focus-visible { outline: 2px solid var(--brand-violet); outline-offset: 4px; border-radius: 6px; }
.faq-p { padding: 0 0 20px; }
.prose .faq-p p { font-size: 18px; margin: 0 0 10px; }
.faq-p[hidden] { display: none; }
@media (max-width: 767px) { .prose .faq-i h3 { font-size: 17px; } .prose .faq-p p { font-size: 16px; } }


/* Final CTA band with the audit form */
.f-final { padding: 24px 0 96px; }
.f-final .cta-band { margin-top: 0; text-align: left; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; padding: 52px 48px; }
.f-final .cta-band h2 { font-size: 44px; }
.f-final .cta-band p { margin: 0 0 18px; }
.f-final .next { list-style: none; display: grid; gap: 10px; margin: 6px 0 0; }
.f-final .next li { position: relative; padding-left: 28px; color: rgba(255, 255, 255, 0.86); font-size: 18px; line-height: 1.55; }
.f-final .next li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--brand-gradient); }
.f-final .ph { background: #FDE68A; color: #3B2600; }
.audit-form { background: #fff; color: var(--text); border-radius: 14px; padding: 26px 24px; box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.5); }
.audit-form .field { margin-bottom: 14px; }
.audit-form label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.audit-form label small { font-weight: 400; color: var(--text-muted); font-size: 14px; }
.audit-form input, .audit-form textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; min-height: 48px; border: 1px solid var(--border-strong); border-radius: 10px; background: #fff; color: var(--text); }
.audit-form textarea { min-height: 88px; resize: vertical; }
.audit-form input:focus, .audit-form textarea:focus { outline: none; border-color: var(--brand-violet); box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.15); }
.audit-form .btn { width: 100%; min-height: 54px; font-size: 17px; margin-top: 4px; }
.audit-form .err { color: #B91C1C; font-size: 14px; margin-top: 6px; }
.audit-form .err[hidden] { display: none; }
.audit-form .privacy { font-size: 14px; color: var(--text-muted); margin: 14px 0 0; line-height: 1.55; }
.audit-form .privacy a { color: var(--brand-violet); text-decoration: underline; }
@media (max-width: 899px) { .f-final .cta-band { grid-template-columns: 1fr; gap: 24px; padding: 30px 20px; } .f-final .cta-band h2 { font-size: 30px; } }
@media (max-width: 767px) { .f-final { padding-bottom: 56px; } .audit-form { padding: 20px 16px; } .f-final .next li { font-size: 15px; } }

/* Minimal footer */
.f-footer { padding: 44px 0 36px; }
.f-footer .row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.f-footer .f-about { margin-top: 10px; }
.f-footer .links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.f-footer .links a { display: inline-flex; align-items: center; min-height: 44px; }

/* Mobile sticky CTA (Antheon sticky-bar rules: bottom 0, flat padding, ::after bleed, no safe-area insets) */
.sticky-cta { display: none; }
@media (max-width: 767px) {
  .sticky-cta {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    padding: 14px 24px; background: var(--brand-gradient); color: #fff;
    font-size: 16px; font-weight: 700; line-height: 24px;
    transform: translateZ(0) translateY(110%); transition: transform 0.3s ease;
    box-shadow: 0 -8px 24px -12px rgba(26, 18, 48, 0.5);
  }
  .sticky-cta::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 50px; background: inherit; }
  .sticky-cta svg { width: 18px; height: 18px; }
  .sticky-cta.show { transform: translateZ(0) translateY(0); }
  .sticky-cta:hover, .sticky-cta:focus { color: #fff; }
  body.funnel { padding-bottom: 52px; }
}
@media (max-width: 767px) and (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }

/* Buttons and arrow links inside article-styled sections keep their own colours */
.prose a.btn-primary, .prose a.btn-primary:hover { color: #fff; text-decoration: none; }
.prose a.text-link { text-decoration: none; }

/* Final band: Book now card (book.antheonph.com) above the request form */
.book-col { display: grid; gap: 14px; }
.book-card .bc-kicker { font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-violet); margin: 0 0 6px; }
.book-card .bc-title { font-family: var(--font-display); font-size: 32px; line-height: 1.15; margin: 0 0 14px; color: var(--text); }
.book-card .bc-list { list-style: none; display: grid; gap: 10px; margin: 0 0 20px; }
.book-card .bc-list li { position: relative; padding-left: 28px; font-size: 16px; line-height: 1.55; color: var(--text); }
.book-card .bc-list li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: #15803D; font-weight: 700; }
.book-card .btn { gap: 10px; }
.f-final .cta-band p.or-request { margin: 6px 2px 0; font-size: 16px; color: rgba(255, 255, 255, 0.85); }
@media (max-width: 767px) { .book-card .bc-title { font-size: 26px; } .book-card .bc-list li { font-size: 15px; } .f-final .cta-band p.or-request { font-size: 15px; } }
