/* ==========================================================================
   AI Quiz Funnels page styles — page-scoped companion to /prehook-ui.css.
   Shared tokens + components (ph-*) live in /prehook-ui.css; everything here
   is specific to /apps/ai-quiz-funnels/. No inline styles anywhere: runtime
   state is toggled via classes (.is-open on FAQ items).
   Note: the hero CTA keeps the literal "btn btn-primary" class names as a
   JS hook for the floating-CTA island's hero probe — do not remove them.
   `.gtm-hidden` used to live here; it is shared with the VTO page and now
   sits in /prehook-ui.css.
   ========================================================================== */

/* ---- keyframes ---------------------------------------------------------- */
@keyframes ssvCaret { 0%, 50% { opacity: 1; } 51%, to { opacity: 0; } }
@keyframes ssvFloat { 0%, to { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes rsScrollLeft { 0% { transform: translate(0); } to { transform: translate(-50%); } }
@keyframes rsScrollRight { 0% { transform: translate(-50%); } to { transform: translate(0); } }
@keyframes csPulse {
  0%, to { box-shadow: 0 0 0 6px #8562aa2e, 0 0 0 1px #8562aa99 inset; }
  50% { box-shadow: 0 0 0 12px #8562aa0f, 0 0 0 1px #8562aa99 inset; }
}
@keyframes dfPulse { 0%, to { transform: translate(0); } 50% { transform: translate(2px); } }

/* ---- review marquee ------------------------------------------------------ */
.rs-band { position: relative; overflow: hidden; padding: 8px 0 12px; }
.rs-band:hover .rs-track { animation-play-state: paused; }
.rs-fade { position: absolute; top: 0; bottom: 0; width: 140px; z-index: 2; pointer-events: none; }
.rs-fade-l { left: 0; background: linear-gradient(to right, var(--ink-50) 0%, rgba(246, 249, 252, 0) 100%); }
.rs-fade-r { right: 0; background: linear-gradient(to left, var(--ink-50) 0%, rgba(246, 249, 252, 0) 100%); }
.rs-row { overflow: hidden; }
.rs-track { display: flex; gap: 22px; width: max-content; will-change: transform; }
.rs-track--left { animation: rsScrollLeft 70s linear infinite; }
.rs-track--right { animation: rsScrollRight 80s linear infinite; }
.rs-card { flex-shrink: 0; width: 380px; min-height: 230px; background: #fff; border: 1px solid var(--ink-100); border-radius: 14px; padding: 22px 24px 20px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 6px 18px #25303f0f; transition: transform .2s cubic-bezier(.2, .8, .2, 1), box-shadow .2s; }
.rs-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px #25303f1a; }
.rs-card-head { display: flex; align-items: center; justify-content: space-between; }
.rs-stars { color: var(--accent-amber); font-size: 14px; letter-spacing: 1.5px; }
.rs-tag { font-family: var(--font-body); font-weight: 700; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--color-primary); background: #8562aa1a; padding: 5px 9px; border-radius: 999px; }
.rs-quote { margin: 0; flex: 1; font-family: var(--font-body); font-size: 15px; line-height: 1.55; color: var(--color-fg); display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.rs-attr { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 12px; border-top: 1px solid var(--ink-100); margin-top: 4px; padding-top: 14px; }
.rs-avatar { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 14px; color: #fff; }
.rs-brand { font-family: var(--font-body); font-weight: 700; font-size: 14px; color: var(--color-fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rs-meta { font-family: var(--font-body); font-size: 12px; color: var(--color-fg-muted); }
.rs-flag { margin-right: 6px; }
.rs-shopify { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 7px; background: #95bf471f; }

/* ---- store-session vignette bubbles -------------------------------------- */
.ssv-bubble { position: absolute; background: #1F2630; color: #fff; border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; padding: 12px 18px; font-family: var(--font-body); font-style: italic; font-weight: 600; font-size: 16px; line-height: 1.4; letter-spacing: -.005em; box-shadow: 0 18px 32px rgba(15, 20, 30, .32), 0 4px 10px rgba(15, 20, 30, .18); transition: opacity 600ms ease-out; white-space: nowrap; max-width: 90%; pointer-events: none; z-index: 2; opacity: 1; animation: ssvFloat 6s ease-in-out infinite; }
.ssv-bubble[data-bubble="0"] { left: 4%; top: 8%; }
.ssv-bubble[data-bubble="1"] { left: 56%; top: 4%; animation-delay: .4s; }
.ssv-bubble[data-bubble="2"] { left: 30%; top: 60%; animation-delay: .8s; }
.ssv-bubble[data-bubble="3"] { left: 2%; top: 78%; animation-delay: 1.2s; }
.ssv-caret { display: inline-block; margin-left: 1px; color: var(--color-primary); font-weight: 800; animation: ssvCaret 1s step-end infinite; opacity: 0; }

/* ---- integrations dataflow "Synced" cards --------------------------------- */
.qz-sync-card { background: #fff; border: 1px solid var(--ink-200); border-radius: 10px; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; box-shadow: 0 4px 10px rgba(37, 48, 63, .05); animation: dfPulse 4s ease-in-out infinite; }
.qz-sync-card:nth-child(2) { animation-delay: .15s; }
.qz-sync-card:nth-child(3) { animation-delay: .3s; }
.qz-sync-card:nth-child(4) { animation-delay: .45s; }
.qz-sync-card:nth-child(5) { animation-delay: .6s; }

/* ---- small hand-named helpers --------------------------------------------- */
.qz-center-block { text-align: center; margin: 0 auto; }
.qz-video-rounded { border-radius: 12px; }

/* ==========================================================================
   Generated component/decoration classes (values captured 1:1 from the
   reference rendering; qz-<section>-<n> names are one-off decorations)
   ========================================================================== */
.qz-top-1 { padding-top: 88px; padding-bottom: 88px; background: linear-gradient(rgb(255, 255, 255) 0%, rgb(251, 247, 242) 100%); position: relative; }
.qz-top-2 { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: center; position: relative; z-index: 1; }
.qz-top-3 { display: flex; flex-direction: column; gap: 24px; }
.qz-top-4 { color: var(--color-primary); font-style: italic; font-weight: 800; }
.qz-top-5 { display: flex; gap: 12px; flex-wrap: nowrap; margin-top: 8px; align-items: center; }
.qz-btn-hero { padding: 18px 24px; font-size: 13px; white-space: nowrap; }
.qz-top-6 { display: flex; align-items: center; gap: 10px; margin-top: 8px; flex-wrap: nowrap; white-space: nowrap; }
.qz-top-7 { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-fg-muted); }
.qz-top-8 { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-300); }
.qz-top-9 { display: flex; justify-content: center; align-items: center; }
.qz-top-10 { width: 100%; max-width: 1120px; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: rgb(0, 0, 0); box-shadow: rgba(37, 48, 63, 0.16) 0px 30px 60px, rgba(37, 48, 63, 0.06) 0px 8px 16px; }
.qz-top-11 { width: 100%; height: 100%; display: block; border: 0px; }
.qz-s2-1 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.qz-s2-2 { background: rgb(255, 255, 255); border: 1px solid var(--ink-100); border-radius: 12px; padding: 36px 32px; display: flex; flex-direction: column; gap: 6px; position: relative; overflow: hidden; }
.qz-s2-3 { font-family: var(--font-display); font-weight: 800; font-size: 13px; letter-spacing: 0.2em; color: var(--color-primary); }
.qz-s2-4 { font-family: var(--font-display); font-weight: 900; font-size: 72px; line-height: 1; letter-spacing: -0.03em; color: var(--color-fg); margin-top: 12px; font-variant-numeric: tabular-nums; }
.qz-s2-5 { font-family: var(--font-display); font-weight: 800; font-size: 18px; color: var(--color-fg); margin-top: 6px; }
.qz-s2-6 { font-family: var(--font-body); font-size: 14px; line-height: 1.6; color: var(--color-fg-muted); margin: 10px 0px 0px; }
.qz-s3-1 { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.qz-s3-2 { display: flex; flex-direction: column; gap: 22px; }
.qz-s3-3 { list-style: none; padding: 0px; margin: 0px; display: flex; flex-direction: column; gap: 8px; font-family: var(--font-body); font-size: 17px; color: var(--ink-body); }
.qz-li-row { display: flex; align-items: center; gap: 12px; }
.qz-bullet-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-300); flex-shrink: 0; }
.qz-s3-4 { font-style: italic; font-weight: 800; color: var(--color-primary); }
.qz-s3-5 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 8px; }
.qz-s3-6 { border: 1px solid rgb(247, 21, 53); border-radius: 10px; padding: 20px 22px; background: rgb(255, 245, 244); }
.qz-s3-7 { font-family: var(--font-display); font-weight: 800; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: rgb(199, 15, 44); }
.qz-s3-8 { font-family: var(--font-body); font-size: 15px; line-height: 1.55; color: var(--color-fg); margin: 8px 0px 0px; }
.qz-s3-9 { border-width: 1px; border-style: solid; border-color: var(--color-primary); border-image: none; border-radius: 10px; padding: 20px 22px; background: var(--prehook-purple-50); }
.qz-s3-10 { font-family: var(--font-display); font-weight: 800; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-primary); }
.qz-s3-11 { align-self: flex-start; margin-top: 8px; }
.qz-s3-12 { position: sticky; top: 100px; }
.qz-s3-13 { position: relative; background: rgb(255, 255, 255); border: 1px solid var(--ink-100); border-radius: 14px; padding: 20px 20px 24px; box-shadow: var(--shadow-md); overflow: hidden; }
.qz-s3-14 { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-fg-muted); margin-bottom: 16px; }
.qz-live-dot { width: 8px; height: 8px; border-radius: 50%; background: rgb(63, 157, 88); box-shadow: rgba(63, 157, 88, 0.18) 0px 0px 0px 4px; }
.qz-s3-15 { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid var(--ink-100); background: var(--ink-50); line-height: 0; }
.qz-s3-16 { display: block; width: 100%; height: auto; filter: saturate(0.85); }
.rs-qmark { color: var(--color-primary); opacity: 0.9; font-weight: 800; margin: 0px 4px; }
.qz-s3-17 { display: flex; align-items: center; gap: 16px; margin-top: 22px; padding: 16px 18px; background: var(--ink-50); border-radius: 10px; }
.qz-s3-18 { font-family: var(--font-display); font-weight: 900; font-size: 32px; color: var(--color-primary); line-height: 1; letter-spacing: -0.02em; }
.qz-s3-19 { font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-fg-muted); margin-top: 4px; }
.qz-s3-20 { flex: 1 1 0%; height: 1px; background: var(--ink-200); margin: 0px 18px; }
.qz-s3-21 { font-family: var(--font-display); font-weight: 900; font-size: 32px; color: rgb(199, 15, 44); line-height: 1; letter-spacing: -0.02em; }
.qz-journey-1 { display: flex; flex-direction: column; gap: 96px; }
.journey-row { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.journey-copy { order: 1; display: flex; flex-direction: column; gap: 18px; }
.journey-media { order: 2; display: flex; justify-content: center; }
.qz-journey-2 { width: 100%; max-width: 480px; background: rgb(255, 255, 255); border: 1px solid var(--ink-100); border-radius: 14px; padding: 0px; box-shadow: rgba(37, 48, 63, 0.08) 0px 20px 40px; overflow: hidden; }
.qz-journey-3 { width: 100%; max-width: 480px; background: rgb(255, 255, 255); border: 1px solid var(--ink-100); border-radius: 14px; padding: 24px; box-shadow: rgba(37, 48, 63, 0.08) 0px 20px 40px; }
.qz-journey-4 { font-family: var(--font-body); font-weight: 700; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-fg-muted); margin-bottom: 16px; }
.qz-journey-5 { width: 100%; max-width: 460px; display: block; }
.qz-journey-6 { font-family: var(--font-body); font-size: 13px; font-style: italic; color: var(--color-fg-muted); text-align: center; margin: 16px 0px 0px; }
.qz-journey-7 { border-radius: 10px; overflow: hidden; border: 1px solid var(--ink-100); background: var(--ink-50); line-height: 0; }
.qz-journey-8 { border-radius: 12px; overflow: hidden; border: 1px solid var(--ink-100); background: var(--ink-50); line-height: 0; }
.qz-journey-9 { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 10px 14px; background: rgba(63, 157, 88, 0.08); border: 1px solid rgba(63, 157, 88, 0.25); border-radius: 8px; }
.qz-journey-10 { font-size: 14px; }
.qz-journey-11 { font-family: var(--font-body); font-size: 13px; color: rgb(45, 122, 66); }
.qz-journey-12 { display: flex; align-items: center; gap: 12px; padding: 14px; background: var(--ink-50); border-radius: 10px; }
.qz-journey-13 { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, rgb(205, 182, 225), rgb(133, 97, 170)); flex-shrink: 0; }
.qz-journey-14 { flex: 1 1 0%; min-width: 0px; }
.qz-journey-15 { font-family: var(--font-body); font-weight: 700; font-size: 14px; color: var(--color-fg); }
.qz-journey-16 { font-family: var(--font-mono); font-size: 11px; color: var(--color-fg-muted); }
.qz-journey-17 { font-size: 11px; font-weight: 700; color: rgb(63, 157, 88); background: rgba(63, 157, 88, 0.12); padding: 4px 10px; border-radius: 999px; }
.qz-journey-18 { margin-top: 14px; }
.qz-journey-19 { font-family: var(--font-display); font-size: 11px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-fg-muted); margin-bottom: 8px; }
.qz-journey-20 { display: flex; justify-content: space-between; padding: 8px 0px; border-bottom: 1px dashed var(--ink-100); }
.qz-journey-21 { font-family: var(--font-mono); font-size: 12px; color: var(--color-fg-muted); }
.qz-journey-22 { font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--color-primary); }
.qz-journey-23 { margin-top: 14px; padding: 12px 14px; border: 1px dashed var(--prehook-purple-300); border-radius: 8px; background: var(--prehook-purple-50); }
.qz-journey-24 { font-size: 11px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-primary); }
.qz-journey-25 { font-family: var(--font-body); font-size: 13px; color: var(--color-fg); margin-top: 4px; }
.qz-templates-1 { font-style: italic; color: var(--color-primary); }
.tpl-row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
.tpl-media { direction: ltr; background: var(--ink-50); border: 1px solid var(--ink-100); border-radius: 16px; overflow: hidden; aspect-ratio: 5 / 4; width: 100%; max-width: 560px; justify-self: center; box-shadow: rgba(37, 48, 63, 0.45) 0px 40px 80px -24px, rgba(37, 48, 63, 0.25) 0px 12px 28px -10px; }
.tpl-media-fill { width: 100%; height: 100%; object-fit: contain; display: block; background: var(--ink-50); }
.tpl-copy { direction: ltr; display: flex; flex-direction: column; gap: 14px; }
.qz-templates-2 { font-family: var(--font-display); font-weight: 800; font-size: 40px; line-height: 1.15; letter-spacing: -0.01em; color: var(--color-fg); margin: 0px; text-wrap: balance; }
.qz-templates-3 { font-family: var(--font-body); font-size: 18px; line-height: 1.6; color: var(--color-fg-muted); margin: 0px; max-width: 44ch; }
.tpl-row--flip { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; direction: rtl; }
.qz-reviews-1 { padding-top: 96px; padding-bottom: 112px; background: var(--ink-50); }
.qz-reviews-2 { margin-bottom: 56px; }
.qz-reviews-3 { margin-bottom: 0px; }
.qz-reviews-4 { margin-top: 0px; }
.rs-avatar--purple { background: linear-gradient(135deg, rgb(205, 182, 225), rgb(133, 97, 170)); }
.rs-avatar--amber { background: linear-gradient(135deg, rgb(245, 179, 1), rgb(240, 90, 40)); }
.rs-avatar--blue { background: linear-gradient(135deg, rgb(122, 194, 255), rgb(58, 123, 213)); }
.rs-avatar--green { background: linear-gradient(135deg, rgb(63, 157, 88), rgb(37, 48, 63)); }
.qz-reviews-5 { margin-top: 22px; }
.qz-case-study-1 { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; margin-bottom: 56px; }
.qz-case-study-2 { max-width: 640px; color: var(--color-fg-muted); }
.qz-case-study-3 { display: grid; grid-template-columns: repeat(4, 1fr); background: rgb(255, 255, 255); border: 1px solid var(--ink-200); border-radius: 14px; padding: 8px 0px; box-shadow: rgba(37, 48, 63, 0.06) 0px 8px 24px; margin-bottom: 72px; }
.qz-case-study-4 { padding: 30px 28px; text-align: center; border-left-width: medium; border-left-style: none; border-left-color: currentcolor; }
.qz-case-study-5 { font-family: var(--font-display); font-weight: 900; font-size: 56px; line-height: 1; letter-spacing: -0.025em; color: var(--color-primary); }
.qz-case-study-6 { font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-fg-muted); margin-top: 10px; }
.qz-case-study-7 { padding: 30px 28px; text-align: center; border-left: 1px solid var(--ink-200); }
.qz-case-study-8 { display: grid; grid-template-columns: minmax(0px, 1.15fr) minmax(0px, 1fr); gap: 56px; align-items: center; }
.qz-case-study-9 { position: relative; }
.qz-case-study-10 { background: rgb(255, 255, 255); border: 1px solid var(--ink-200); border-radius: 14px; overflow: hidden; box-shadow: rgba(37, 48, 63, 0.3) 0px 30px 60px -25px, rgba(37, 48, 63, 0.08) 0px 12px 24px; }
.qz-case-study-11 { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: rgb(242, 244, 247); border-bottom: 1px solid var(--ink-200); }
.qz-case-study-12 { display: flex; gap: 6px; width: 56px; }
.qz-case-study-13 { width: 11px; height: 11px; border-radius: 50%; display: block; background: rgb(255, 95, 87); }
.qz-case-study-14 { width: 11px; height: 11px; border-radius: 50%; display: block; background: rgb(254, 188, 46); }
.qz-case-study-15 { width: 11px; height: 11px; border-radius: 50%; display: block; background: rgb(40, 200, 64); }
.qz-case-study-16 { flex: 1 1 0%; display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0px 12px; background: rgb(255, 255, 255); border: 1px solid var(--ink-200); border-radius: 6px; font-family: var(--font-body); font-size: 12px; color: rgb(107, 114, 128); max-width: 360px; margin: 0px auto; }
.qz-case-study-17 { flex-shrink: 0; }
.qz-case-study-18 { width: 56px; }
.qz-case-study-19 { position: relative; display: block; line-height: 0; }
.qz-case-study-20 { position: absolute; left: 10.5%; top: 64%; width: 18%; height: 11%; border-radius: 8px; border: 2px solid var(--color-primary); box-shadow: rgba(133, 98, 170, 0.18) 0px 0px 0px 6px, rgba(133, 98, 170, 0.6) 0px 0px 0px 1px inset; pointer-events: none; animation: 2.4s ease-in-out 0s infinite normal none running csPulse; }
.qz-case-study-21 { position: absolute; right: -28px; top: -32px; width: 270px; pointer-events: none; }
.qz-case-study-22 { background: rgb(255, 255, 255); border: 1px solid var(--ink-200); border-radius: 12px; padding: 14px 16px; box-shadow: rgba(37, 48, 63, 0.1) 0px 10px 24px; pointer-events: auto; }
.qz-case-study-23 { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-body); font-weight: 700; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 8px; }
.qz-case-study-24 { width: 8px; height: 8px; border-radius: 50%; background: var(--color-primary); }
.qz-case-study-25 { font-family: var(--font-body); font-size: 13px; line-height: 1.5; color: var(--color-fg); }
.qz-case-study-26 { position: absolute; left: -150px; top: 50px; transform: scaleX(-1); }
.qz-case-study-27 { position: absolute; left: -28px; bottom: -28px; display: flex; align-items: center; gap: 14px; background: rgb(255, 255, 255); border: 1px solid var(--ink-200); border-radius: 14px; padding: 14px 20px; box-shadow: rgba(37, 48, 63, 0.14) 0px 14px 32px; }
.qz-case-study-28 { width: 40px; height: 40px; border-radius: 10px; background: var(--color-primary); display: flex; align-items: center; justify-content: center; }
.qz-case-study-29 { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--color-fg); line-height: 1; }
.qz-case-study-30 { font-family: var(--font-body); font-weight: 700; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-fg-muted); margin-top: 4px; }
.qz-case-study-31 { margin: 0px; padding: 32px 36px 28px; background: rgb(255, 255, 255); border: 1px solid var(--ink-200); border-radius: 14px; position: relative; box-shadow: rgba(37, 48, 63, 0.06) 0px 8px 24px; }
.qz-case-study-32 { font-family: var(--font-display); font-weight: 900; font-size: 90px; line-height: 0.7; color: var(--color-primary); position: absolute; left: 28px; top: 18px; }
.qz-case-study-33 { margin: 32px 0px 24px; font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.4; color: var(--color-fg); }
.qz-case-study-34 { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, rgb(37, 48, 63), rgb(79, 88, 100)); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 14px; color: rgb(255, 255, 255); letter-spacing: 0.04em; }
.qz-case-study-35 { font-family: var(--font-body); font-weight: 700; font-size: 15px; color: var(--color-fg); }
.qz-case-study-36 { font-family: var(--font-body); font-size: 12px; color: var(--color-fg-muted); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; }
.qz-case-study-37 { display: flex; flex-wrap: nowrap; gap: 10px; align-items: center; }
.qz-btn-compact { padding: 16px 22px; font-size: 13px; white-space: nowrap; }
.qz-integrations-1 { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.qz-integrations-2 { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px; background: var(--ink-50); border-radius: 10px; }
.qz-integrations-3 { font-family: var(--font-display); font-weight: 800; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-fg); margin-bottom: 4px; }
.qz-integrations-4 { display: flex; justify-content: center; }
.qz-integrations-5 { display: grid; grid-template-columns: 1fr 100px 1fr; gap: 0px; width: 100%; max-width: 560px; align-items: stretch; padding: 28px 0px; }
.qz-integrations-6 { background: rgb(255, 255, 255); border: 1px solid var(--ink-200); border-radius: 12px; padding: 20px 22px; box-shadow: rgba(37, 48, 63, 0.08) 0px 8px 20px; align-self: center; }
.qz-integrations-7 { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.qz-integrations-8 { display: flex; justify-content: space-between; gap: 12px; font-family: var(--font-mono); font-size: 12px; }
.qz-integrations-9 { color: var(--color-fg-muted); }
.qz-integrations-10 { color: var(--color-primary); font-weight: 700; }
.qz-integrations-11 { width: 100%; height: 220px; }
.qz-integrations-12 { display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.qz-int-logo { height: 22px; max-width: 110px; object-fit: contain; }
.qz-sync-badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-body); font-size: 11px; font-weight: 700; color: rgb(63, 157, 88); }
.qz-sync-dot { width: 6px; height: 6px; border-radius: 50%; background: rgb(63, 157, 88); box-shadow: rgba(63, 157, 88, 0.18) 0px 0px 0px 3px; }
.qz-s9-1 { display: grid; grid-template-columns: minmax(260px, 360px) minmax(0px, 1fr); gap: 40px; align-items: center; }
.qz-s9-2 { display: flex; flex-direction: column; gap: 20px; }
.qz-s9-3 { background: rgb(255, 255, 255); border: 1px solid var(--ink-100); border-radius: 14px; padding: 22px 24px 24px; box-shadow: rgba(37, 48, 63, 0.06) 0px 8px 20px; }
.qz-s9-4 { font-family: var(--font-display); font-weight: 800; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--color-primary); }
.qz-s9-5 { font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 1.2; color: var(--color-fg); margin: 8px 0px; }
.qz-s9-6 { font-family: var(--font-body); font-size: 15px; line-height: 1.55; color: var(--color-fg-muted); margin: 0px; }
.qz-s9-7 { margin: 0px; background: rgb(255, 255, 255); border: 1px solid var(--ink-200); border-radius: 14px; overflow: hidden; box-shadow: rgba(37, 48, 63, 0.3) 0px 30px 60px -25px, rgba(37, 48, 63, 0.08) 0px 12px 24px; }
.qz-s9-8 { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: rgb(242, 244, 247); border-bottom: 1px solid var(--ink-200); }
.qz-s9-9 { flex: 1 1 0%; height: 24px; padding: 0px 12px; display: flex; align-items: center; justify-content: center; background: rgb(255, 255, 255); border: 1px solid var(--ink-200); border-radius: 6px; font-family: var(--font-body); font-size: 12px; color: rgb(107, 114, 128); max-width: 360px; margin: 0px auto; }
.qz-s10-1 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.qz-format-card { background: rgb(255, 255, 255); border: 1px solid var(--ink-100); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.qz-format-media { background: var(--ink-50); border-bottom: 1px solid var(--ink-100); display: block; overflow: hidden; }
.qz-format-body { padding: 20px 22px 24px; }
.qz-format-title { font-family: var(--font-display); font-weight: 800; font-size: 17px; color: var(--color-fg); margin: 0px; }
.qz-format-text { font-family: var(--font-body); font-size: 13px; line-height: 1.55; color: var(--color-fg-muted); margin: 8px 0px 0px; }
.qz-s11-1 { background: rgb(255, 255, 255); border-radius: 14px; overflow: hidden; border: 1px solid var(--ink-200); box-shadow: rgba(37, 48, 63, 0.06) 0px 8px 20px; max-width: 1000px; margin: 0px auto; }
.qz-s11-2 { display: grid; grid-template-columns: 1fr 1fr; }
.cmp-head-cell--without { padding: 26px 28px; background: var(--ink-50); color: var(--color-fg-muted); }
.qz-s11-3 { font-family: var(--font-display); font-weight: 800; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--color-fg); }
.qz-s11-4 { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--color-fg); margin-top: 6px; }
.cmp-head-cell--with { padding: 26px 28px; background: var(--color-primary); }
.qz-s11-5 { font-family: var(--font-display); font-weight: 800; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: rgb(255, 255, 255); }
.qz-s11-6 { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: rgba(255, 255, 255, 0.85); margin-top: 6px; }
.cmp-row { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink-100); }
.cmp-cell--no { padding: 22px 28px; font-family: var(--font-body); font-size: 16px; line-height: 1.55; color: var(--color-fg-muted); display: flex; align-items: flex-start; gap: 14px; background: rgba(199, 15, 44, 0.024); }
.cmp-x { width: 24px; height: 24px; border-radius: 50%; background: rgba(199, 15, 44, 0.12); color: rgb(199, 15, 44); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; flex-shrink: 0; line-height: 1; }
.cmp-cell--yes { padding: 22px 28px; font-family: var(--font-body); font-size: 16px; line-height: 1.55; color: var(--color-fg); display: flex; align-items: flex-start; gap: 14px; font-weight: 600; border-left: 1px solid var(--ink-100); background: rgba(133, 98, 170, 0.04); }
.cmp-check { width: 24px; height: 24px; border-radius: 50%; background: var(--prehook-purple-50); color: var(--color-primary); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; flex-shrink: 0; }
.qz-s11-7 { text-align: center; margin-top: 40px; font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--color-fg); letter-spacing: -0.005em; }
.qz-pricing-1 { display: grid; grid-template-columns: 1fr 0.85fr; gap: 80px; align-items: center; }
.qz-pricing-2 { color: var(--prehook-purple-300); }
.qz-pricing-3 { color: rgb(255, 255, 255); text-wrap: balance; }
.qz-pricing-4 { color: rgba(255, 255, 255, 0.75); max-width: 44ch; }
.qz-pricing-5 { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.qz-pricing-6 { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.85); }
.qz-pricing-7 { width: 20px; height: 20px; border-radius: 50%; background: var(--color-primary); color: rgb(255, 255, 255); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; }
.qz-pricing-8 { background: rgb(255, 255, 255); color: var(--color-fg); border-radius: 16px; padding: 32px 36px; box-shadow: rgba(0, 0, 0, 0.35) 0px 30px 60px, rgba(255, 255, 255, 0.05) 0px 0px 0px 1px; position: relative; }
.qz-pricing-9 { position: absolute; top: 24px; right: 24px; font-family: var(--font-display); font-weight: 800; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-primary); background: var(--prehook-purple-50); padding: 6px 12px; border-radius: 999px; }
.qz-pricing-10 { display: flex; align-items: flex-end; gap: 8px; margin-top: 16px; }
.qz-pricing-11 { font-family: var(--font-display); font-weight: 900; font-size: 96px; line-height: 0.9; letter-spacing: -0.04em; color: var(--color-primary); }
.qz-pricing-12 { display: flex; flex-direction: column; padding-bottom: 12px; }
.qz-pricing-13 { font-family: var(--font-display); font-weight: 900; font-size: 44px; line-height: 0.95; letter-spacing: -0.025em; color: var(--color-fg); white-space: nowrap; }
.qz-pricing-14 { font-family: var(--font-body); font-size: 15px; line-height: 1.55; color: var(--color-fg-muted); margin: 16px 0px 22px; }
.qz-pricing-15 { margin-top: 4px; }
.qz-pricing-16 { font-family: var(--font-body); font-size: 12px; color: var(--color-fg-muted); text-align: center; margin-top: 12px; }
.qz-pricing-17 { height: 1px; background: var(--ink-100); margin: 24px 0px 22px; }
.qz-pricing-18 { display: flex; flex-direction: column; gap: 10px; }
.qz-pricing-19 { font-family: var(--font-display); font-weight: 800; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-fg-muted); }
.qz-faq-1 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1100px; margin: 0px auto; }
.qz-faq-2 { max-width: 1100px; margin: 56px auto 0px; background: var(--ink-50); border-radius: 12px; padding: 24px 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.qz-faq-3 { font-family: var(--font-display); font-weight: 800; font-size: 18px; color: var(--color-fg); }
.qz-faq-4 { font-family: var(--font-body); font-size: 14px; color: var(--color-fg-muted); margin-top: 4px; }
.qz-s14-1 { background: var(--prehook-purple-50); padding-top: 96px; padding-bottom: 96px; position: relative; overflow: hidden; }
.qz-s14-2 { position: absolute; inset: 0px; background: radial-gradient(circle, rgba(133, 98, 170, 0.18) 1.2px, transparent 1.5px) 0px 0px / 24px 24px; pointer-events: none; mask-image: radial-gradient(rgb(0, 0, 0) 30%, transparent 75%); }
.qz-s14-3 { position: relative; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.qz-s14-4 { margin: 0px; font-size: 56px; line-height: 1.1; text-wrap: balance; }
.qz-s14-5 { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.qz-s14-6 { display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 14px; font-family: var(--font-body); font-size: 13px; color: var(--color-fg-muted); }

/* ---- modifiers (must follow the generated block) --------------------------- */
.qz-bullet-dot--primary { background: var(--color-primary); }
.journey-copy.is-flipped { order: 2; }
.journey-media.is-flipped { order: 1; }

/* ---- responsive (ported 1:1 from the reference design) --------------------- */
@media (max-width: 900px) {
  .r-collapse { grid-template-columns: minmax(0, 1fr) !important; }
  .r-grid-multi, .r-grid-2up { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .journey-row { grid-template-columns: minmax(0, 1fr) !important; gap: 32px !important; }
  .journey-row > div:first-child { order: 1 !important; }
  .journey-row > div:last-child { order: 2 !important; }
  .tpl-row { grid-template-columns: minmax(0, 1fr) !important; direction: ltr !important; gap: 28px !important; }
  .eh-right { position: static !important; top: auto !important; }
  .pricing-grid { gap: 40px !important; }
  .case-annotation, .case-badge { display: none !important; }
  .proof-n { font-size: 56px !important; }
  .case-statN { font-size: 40px !important; }
  .price-main { font-size: 80px !important; }
  .tpl-headline { font-size: 32px !important; }
}
@media (max-width: 560px) {
  /* price row: 96px numeral + nowrap unit overflowed a 320px viewport */
  .qz-pricing-1 { grid-template-columns: minmax(0, 1fr) !important; gap: 40px !important; }
  .qz-pricing-8 { padding: 26px 20px !important; }
  .qz-pricing-10 { flex-wrap: wrap !important; }
  .qz-pricing-11 { font-size: 64px !important; }
  .qz-pricing-13 { font-size: 30px !important; }
  .qz-pricing-9 { position: static !important; display: inline-block; margin-bottom: 10px; }
  .r-grid-multi, .r-grid-2up, .eh-split { grid-template-columns: minmax(0, 1fr) !important; }
  .proof-n { font-size: 48px !important; }
  .case-statN { font-size: 34px !important; }
  .price-main { font-size: 66px !important; }
  .tpl-headline { font-size: 27px !important; }
  .hero-proof { flex-wrap: wrap !important; white-space: normal !important; }
  .case-cta-row { flex-wrap: wrap !important; }
  .case-cta-row > a { flex: 1 1 auto; }
  .dataflow { grid-template-columns: minmax(0, 1fr) !important; gap: 16px !important; }
  .dataflow-connector { display: none !important; }
  .cmp-head-cell { padding: 18px 14px !important; }
  .cmp-cell { padding: 16px 12px !important; font-size: 13px !important; gap: 8px !important; }
  .cmp-head-cell > div:last-child { font-size: 15px !important; }
  .rs-card { width: 300px !important; min-height: 200px !important; }
  .faq-help { flex-direction: column !important; align-items: flex-start !important; }
  .ssv-bubble { font-size: 12px !important; padding: 7px 11px !important; line-height: 1.3 !important; max-width: 96% !important; white-space: nowrap !important; border-radius: 11px !important; }
  .ssv-bubble[data-bubble="0"] { left: 3% !important; right: auto !important; top: 2% !important; }
  .ssv-bubble[data-bubble="1"] { left: auto !important; right: 3% !important; top: 27% !important; }
  .ssv-bubble[data-bubble="2"] { left: 3% !important; right: auto !important; top: 51% !important; }
  .ssv-bubble[data-bubble="3"] { left: auto !important; right: 3% !important; top: 76% !important; }
}
