/* Citgentic landing pages (SEO engine) v2. Loaded only by /ai-receptionist/, /ai-receptionist-cost/, /guides/, /compare/ pages.
   Chart colors validated (dataviz validate_palette): light gold #E3AA00 vs charcoal #55514A; dark #FFD02C vs #6F6A60. */
:root { --lp-gold: #E3AA00; --lp-gold-deep: #7a5f00; --lp-char: #55514A; --lp-line: rgba(0, 0, 0, 0.08); }

/* ---------- rhythm: less empty space ---------- */
.lp-sec { padding: 88px 0; }
.lp-sec + .lp-sec { border-top: 0; }
@media (max-width: 760px) { .lp-sec { padding: 56px 0; } }

/* ---------- hero: copy left, live call card right ---------- */
.lp-hero { padding-bottom: 72px; }
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 56px; align-items: center; }
.lp-hero .page-hero-content { max-width: none; }
.lp-hero .h1 { font-size: clamp(40px, 4.4vw, 64px); line-height: 1.04; margin-bottom: 24px; }
.lp-hero .page-hero { padding-top: 140px; }
.lp-offer { display: inline-flex; align-items: center; gap: 8px; margin: 8px 0 24px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 208, 44, 0.14); color: var(--c-yellow); font-weight: 700; font-size: 15px; }
.lp-offer svg { width: 16px; height: 16px; flex: none; }
.lp-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; font-size: 14px; color: rgba(255, 255, 255, 0.6); }
.lp-crumbs a { color: rgba(255, 255, 255, 0.75); text-decoration: none; }
.lp-crumbs a:hover { color: var(--c-yellow); }
.lp-crumbs [aria-current] { color: var(--c-yellow); }

.lp-phone { position: relative; border-radius: 28px; padding: 24px; background: linear-gradient(160deg, #2a2a2a, #161616); border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); }
.lp-phone-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.lp-phone-live { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-yellow); }
.lp-phone-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--c-yellow); box-shadow: 0 0 0 0 rgba(255, 208, 44, 0.6); animation: lpPulse 1.8s ease-out infinite; }
@keyframes lpPulse { to { box-shadow: 0 0 0 10px rgba(255, 208, 44, 0); } }
.lp-phone-time { font-size: 13px; color: rgba(255, 255, 255, 0.55); }
.lp-phone-who { font-size: 20px; font-weight: 700; color: var(--c-white); margin: 0 0 4px; }
.lp-phone-where { font-size: 14px; color: rgba(255, 255, 255, 0.55); margin: 0 0 16px; }
.lp-bubble { max-width: 88%; padding: 12px 16px; border-radius: 16px; font-size: 15px; line-height: 1.45; margin-bottom: 8px; }
.lp-bubble.them { background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.88); border-bottom-left-radius: 4px; }
.lp-bubble.us { margin-left: auto; background: var(--c-yellow); color: var(--c-ink); border-bottom-right-radius: 4px; }
.lp-booked { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding: 12px 16px; border-radius: 14px; background: rgba(255, 208, 44, 0.12); color: var(--c-yellow); font-weight: 700; font-size: 15px; }
.lp-booked svg { width: 18px; height: 18px; flex: none; }
@media (prefers-reduced-motion: reduce) { .lp-phone-live i { animation: none; } }

/* ---------- two-column sections ---------- */
.lp-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 64px; align-items: center; }
.lp-split.flip > :first-child { order: 2; }
.lp-split .h2 { margin-bottom: 16px; }
.lp-intro-block { max-width: 760px; margin-bottom: 40px; }

.lp-prose p { font-size: 18px; line-height: 1.7; color: #3d3d3d; margin: 0 0 16px; }
.lp-prose ul { margin: 0 0 24px; padding-left: 24px; list-style: disc; }
.lp-prose li::marker { color: var(--lp-gold); }
.lp-prose li { font-size: 18px; line-height: 1.7; color: #3d3d3d; margin-bottom: 8px; }
.lp-prose strong { color: var(--c-ink); }
.lp-prose a { color: var(--lp-gold-deep); font-weight: 600; }
.lp-note { margin-top: 24px; padding: 16px 24px; border-left: 4px solid var(--c-yellow); background: var(--c-soft-yellow); border-radius: 0 16px 16px 0; font-size: 17px; line-height: 1.6; color: var(--c-ink); }
.lp-source { margin-top: 16px; font-size: 14px; line-height: 1.5; color: var(--c-muted); }

/* ---------- stat tiles (colored) ---------- */
.lp-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.lp-stat { position: relative; padding: 24px; border-radius: 22px; background: var(--c-white); border: 1px solid var(--lp-line); overflow: hidden; }
.lp-stat b { display: block; font-size: clamp(28px, 2.8vw, 40px); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; color: var(--c-ink); margin: 16px 0 8px; }
.lp-stat span { display: block; font-size: 15px; line-height: 1.45; color: var(--c-muted); }
.lp-stat-ic { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--c-cloud); color: var(--c-ink); }
.lp-stat .lp-stat-ic { display: inline-flex; align-items: center; justify-content: center; line-height: 0; }
.lp-stat-ic svg { width: 20px; height: 20px; display: block; }
.lp-stat:nth-child(1) { background: var(--c-ink); border-color: var(--c-ink); }
.lp-stat:nth-child(1) b { color: var(--c-yellow); }
.lp-stat:nth-child(1) span { color: rgba(255, 255, 255, 0.7); }
.lp-stat:nth-child(1) .lp-stat-ic { background: rgba(255, 208, 44, 0.16); color: var(--c-yellow); }
.lp-stat:nth-child(2) { background: var(--c-yellow); border-color: var(--c-yellow); }
.lp-stat:nth-child(2) span { color: rgba(26, 26, 26, 0.72); }
.lp-stat:nth-child(2) .lp-stat-ic { background: rgba(26, 26, 26, 0.1); }
.lp-stat:nth-child(3) { background: var(--c-soft-yellow); border-color: var(--c-soft-yellow); }

/* ---------- chart card (shared) ---------- */
.lp-viz { padding: 32px; border-radius: 24px; background: var(--c-white); border: 1px solid var(--lp-line); box-shadow: 0 18px 50px rgba(26, 26, 26, 0.06); }
.lp-viz-title { font-size: 18px; font-weight: 700; color: var(--c-ink); margin: 0 0 4px; }
.lp-viz-sub { font-size: 14px; color: var(--c-muted); margin: 0 0 24px; }
.lp-viz-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; font-size: 14px; color: var(--c-ink); }
.lp-viz-legend span { display: inline-flex; align-items: center; gap: 8px; }
.lp-viz-legend i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.lp-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.bg-cloud .lp-viz { box-shadow: none; }

/* unit chart: 100 dots, one per call */
.lp-waffle { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; max-width: 360px; }
.lp-waffle i { aspect-ratio: 1; border-radius: 50%; background: var(--lp-char); opacity: 0.85; transition: transform 0.15s ease; }
.lp-waffle i.on { background: var(--lp-gold); opacity: 1; }
.lp-waffle:hover i.on { transform: scale(1.12); }
.lp-waffle-big { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.lp-waffle-big b { font-size: 56px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: var(--c-ink); }
.lp-waffle-big span { font-size: 16px; color: var(--c-muted); }

/* ranked bars (meter list) */
.lp-bars { display: flex; flex-direction: column; gap: 16px; }
.lp-bar-row { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; align-items: center; }
.lp-bar-name { font-size: 15px; font-weight: 600; color: var(--c-ink); line-height: 1.3; }
.lp-bar-track { position: relative; height: 32px; }
.lp-bar-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 0 4px 4px 0; background: var(--lp-char); min-width: 4px; transition: filter 0.15s ease; }
.lp-bar-row.hl .lp-bar-fill { background: var(--lp-gold); }
.lp-bar-row:hover .lp-bar-fill { filter: brightness(1.12); }
.lp-bar-val { position: absolute; top: 50%; transform: translateY(-50%); font-size: 14px; font-weight: 700; color: var(--c-ink); white-space: nowrap; padding-left: 8px; }
.lp-bar-row.hl .lp-bar-name { color: var(--lp-gold-deep); }

/* month strip */
.lp-months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; }
.lp-month { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.lp-month i { width: 100%; height: 120px; border-radius: 8px; background: var(--c-cloud); transition: transform 0.15s ease; }
.lp-month.l1 i { background: #F6D77A; }
.lp-month.l2 i { background: var(--lp-gold); }
.lp-month:hover i { transform: translateY(-3px); }
.lp-month span { font-size: 13px; font-weight: 600; color: var(--c-muted); }
.lp-month.l1 span, .lp-month.l2 span { color: var(--c-ink); }

/* decision flow */
.lp-flow { display: flex; flex-direction: column; gap: 12px; }
.lp-flow-q { padding: 16px 20px; border-radius: 16px; background: var(--c-cloud); font-weight: 700; color: var(--c-ink); font-size: 16px; }
.lp-flow-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lp-flow-a { padding: 14px 16px; border-radius: 14px; font-size: 15px; line-height: 1.4; border: 1px solid var(--lp-line); }
.lp-flow-a b { display: block; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 4px; }
.lp-flow-a.hot { background: var(--c-ink); color: rgba(255, 255, 255, 0.85); border-color: var(--c-ink); }
.lp-flow-a.hot b { color: var(--c-yellow); }
.lp-flow-a.calm { background: var(--c-white); color: #3d3d3d; }
.lp-flow-a.calm b { color: var(--lp-gold-deep); }

/* checklist card */
.lp-check { list-style: none; margin: 0; padding: 32px; border-radius: 24px; background: var(--c-ink); display: flex; flex-direction: column; gap: 16px; }
.lp-check li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; line-height: 1.45; color: rgba(255, 255, 255, 0.88); }
.lp-check li svg { width: 22px; height: 22px; flex: none; color: var(--c-ink); background: var(--c-yellow); border-radius: 50%; padding: 4px; }
.lp-check-title { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-yellow); }

/* call examples as chat cards */
.lp-calls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lp-call { padding: 24px; border-radius: 22px; background: var(--c-white); border: 1px solid var(--lp-line); display: flex; flex-direction: column; gap: 10px; }
.lp-call-when { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--lp-gold-deep); }
.lp-call-when svg { width: 16px; height: 16px; }
.lp-call .lp-bubble.them { background: var(--c-cloud); color: var(--c-ink); }
.lp-call .lp-bubble.us { background: var(--c-soft-yellow); color: var(--c-ink); }
.lp-call-out { margin-top: auto; display: flex; gap: 8px; align-items: flex-start; padding-top: 12px; border-top: 1px solid var(--lp-line); font-size: 15px; font-weight: 700; color: var(--c-ink); }
.lp-call-out svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--lp-gold-deep); }

/* steps (dark band) */
.lp-steps { counter-reset: lp; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.lp-steps li { counter-increment: lp; padding: 24px; border-radius: 20px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--c-border); color: rgba(255, 255, 255, 0.82); font-size: 16px; line-height: 1.55; }
.lp-steps li::before { content: counter(lp); display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--c-yellow); color: var(--c-ink); font-weight: 800; margin-bottom: 16px; }
.lp-steps li b { display: block; color: var(--c-white); font-size: 18px; margin-bottom: 8px; }
.lp-steps li:last-child { background: var(--c-yellow); color: rgba(26, 26, 26, 0.78); border-color: var(--c-yellow); }
.lp-steps li:last-child b { color: var(--c-ink); }
.lp-steps li:last-child::before { background: var(--c-ink); color: var(--c-yellow); }

/* FAQ split with side card */
.lp-faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.lp-faq-grid .guide-list { margin-top: 0; max-width: none; }
.lp-side-card { margin-top: 32px; padding: 24px; border-radius: 22px; background: var(--c-ink); color: rgba(255, 255, 255, 0.82); }
.lp-side-card b { display: block; color: var(--c-white); font-size: 20px; margin-bottom: 8px; }
.lp-side-card .btn { margin-top: 16px; }

/* related links as cards */
.lp-links-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lp-link-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border-radius: 18px; background: var(--c-white); border: 1px solid var(--lp-line); color: var(--c-ink); font-weight: 700; text-decoration: none; transition: border-color 0.15s ease, transform 0.15s ease; }
.lp-link-card:hover { border-color: var(--c-yellow); transform: translateY(-2px); }
.lp-link-card svg { width: 18px; height: 18px; flex: none; color: var(--lp-gold-deep); }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .lp-hero-grid, .lp-split, .lp-faq-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .lp-split.flip > :first-child { order: 0; }
  .lp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-calls { grid-template-columns: minmax(0, 1fr); }
  .lp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-links-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .lp-stats, .lp-steps, .lp-links-grid { grid-template-columns: minmax(0, 1fr); }
  .lp-prose p, .lp-prose li { font-size: 17px; }
  .lp-viz { padding: 24px; }
  .lp-bar-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .lp-month i { height: 80px; }
  .lp-month span { font-size: 11px; }
  .lp-flow-row { grid-template-columns: minmax(0, 1fr); }
  .lp-waffle-big b { font-size: 44px; }
}

/* line chart */
.lp-line { width: 100%; height: auto; display: block; overflow: visible; }
.lp-pt:hover circle:nth-child(2) { r: 6; }

/* ---------- v3: sourced facts, maths cards, calculator, sources, question cards ---------- */
.lp-fn { font-size: 0.62em; line-height: 0; margin-left: 2px; }
.lp-fn a { color: var(--lp-gold-deep); font-weight: 700; text-decoration: none; padding: 0 2px; }
.lp-fn a:hover { text-decoration: underline; }
.lp-asof { margin-top: 16px; font-size: 14px; color: var(--c-muted); }
.lp-facts { counter-reset: f; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.bg-white .lp-facts li { background: var(--c-cloud); border-color: transparent; }
.lp-facts li { counter-increment: f; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 16px; align-items: start; padding: 24px; border-radius: 20px; background: var(--c-white); border: 1px solid var(--lp-line); font-size: 16px; line-height: 1.55; color: #3d3d3d; }
.lp-facts li::before { content: counter(f); display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 10px; background: var(--c-ink); color: var(--c-yellow); font-weight: 800; font-size: 14px; }
.lp-facts b { color: var(--c-ink); }

.lp-eq { padding: 24px 32px; border-radius: 22px; background: var(--c-white); border: 1px solid var(--lp-line); margin-bottom: 16px; }
.bg-white .lp-eq { background: var(--c-cloud); border-color: transparent; }
.lp-eq-title { font-size: 17px; font-weight: 700; color: var(--c-ink); margin: 0 0 16px; }
.lp-eq-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.lp-eq-term { display: flex; flex-direction: column; min-width: 96px; }
.lp-eq-term b { font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; color: var(--c-ink); line-height: 1.1; letter-spacing: -0.01em; }
.lp-eq-term small { font-size: 14px; color: var(--c-muted); line-height: 1.35; margin-top: 4px; max-width: 180px; }
.lp-eq-op { font-size: 24px; font-weight: 700; color: var(--lp-gold-deep); }
.lp-eq-res { padding: 8px 16px; border-radius: 14px; background: var(--c-ink); }
.lp-eq-res b { color: var(--c-yellow); }
.lp-eq-res small { color: rgba(255, 255, 255, 0.72); }

.lp-calc { display: grid; gap: 16px; padding: 32px; border-radius: 24px; background: var(--c-ink); color: var(--c-white); }
.lp-calc label { display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, 0.86); }
.lp-calc input { font: inherit; font-size: 18px; font-weight: 700; padding: 12px 16px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.06); color: var(--c-white); }
.lp-calc input:focus { outline: 2px solid var(--c-yellow); outline-offset: 2px; }
.lp-calc-out { margin-top: 8px; padding: 16px 24px; border-radius: 16px; background: var(--c-yellow); color: var(--c-ink); display: flex; flex-direction: column; gap: 4px; }
.lp-calc-out span { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.lp-calc-out b { font-size: 40px; font-weight: 800; line-height: 1.05; }
.lp-calc-out small { font-size: 14px; color: rgba(26, 26, 26, 0.75); }

.lp-sources { margin: 0; padding: 24px 24px 24px 48px; border-radius: 22px; background: var(--c-white); border: 1px solid var(--lp-line); display: flex; flex-direction: column; gap: 12px; font-size: 15px; line-height: 1.5; color: #3d3d3d; }
.bg-white .lp-sources { background: var(--c-cloud); border-color: transparent; }
.lp-sources li::marker { color: var(--lp-gold-deep); font-weight: 700; }
.lp-sources a { color: var(--c-ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--c-yellow); text-underline-offset: 3px; overflow-wrap: anywhere; }
.lp-sources li:target { background: var(--c-soft-yellow); border-radius: 8px; }

.lp-qgroup { margin-bottom: 40px; }
.lp-qgroup-h { font-size: 22px; font-weight: 800; color: var(--c-ink); margin: 0 0 16px; display: flex; align-items: center; gap: 12px; }
.lp-qgroup-h::before { content: ""; width: 24px; height: 4px; border-radius: 2px; background: var(--c-yellow); }
.lp-qcards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.lp-qcard { display: grid; grid-template-columns: 48px minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 24px; align-items: start; padding: 24px; border-radius: 22px; background: var(--c-white); border: 1px solid var(--lp-line); scroll-margin-top: 96px; }
.bg-white .lp-qcard { background: var(--c-cloud); border-color: transparent; }
.lp-qnum { width: 48px; height: 48px; border-radius: 14px; background: var(--c-ink); color: var(--c-yellow); font-weight: 800; font-size: 20px; display: inline-flex; align-items: center; justify-content: center; }
.lp-qcard h4 { font-size: 18px; line-height: 1.35; color: var(--c-ink); margin: 0 0 8px; }
.lp-qwhy { font-size: 15px; line-height: 1.55; color: #4a4a4a; margin: 0 0 12px; }
.lp-qcard .lp-bubble.us { max-width: 100%; margin-left: 0; background: var(--c-soft-yellow); border-bottom-right-radius: 16px; border-bottom-left-radius: 4px; }
.lp-qmeta { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; font-size: 14px; line-height: 1.45; color: #4a4a4a; }
.lp-qmeta b { color: var(--c-ink); }

.lp-checklist { list-style: none; margin: 0; padding: 24px; border-radius: 22px; background: var(--c-white); border: 1px solid var(--lp-line); display: flex; flex-direction: column; gap: 4px; }
.lp-checklist label { display: flex; gap: 12px; align-items: flex-start; padding: 8px; border-radius: 10px; font-size: 16px; line-height: 1.45; color: #3d3d3d; cursor: pointer; }
.lp-checklist label:hover { background: var(--c-cloud); }
.lp-checklist input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--lp-gold); flex: none; }

.lp-month i { position: relative; }
.lp-month i em { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; font-style: normal; font-size: 13px; font-weight: 800; color: var(--c-ink); }

@media (max-width: 1024px) { .lp-facts { grid-template-columns: minmax(0, 1fr); } .lp-qcard { grid-template-columns: 48px minmax(0, 1fr); } .lp-qcard > :last-child { grid-column: 2; } }
@media (max-width: 560px) {
  .lp-eq { padding: 24px; }
  .lp-qcard { grid-template-columns: minmax(0, 1fr); gap: 16px; } .lp-qcard > :last-child { grid-column: auto; }
  .lp-month i em { font-size: 10px; }
  .lp-calc { padding: 24px; }
}
@media print {
  .navbar, .lp-hero, .cta-band, .footer, .scroll-progress, .lp-sec:not(.lp-print) { display: none !important; }
  .lp-print { display: block !important; }
  .lp-print .btn { display: none; }
}
.lp-ph { display: inline-block; padding: 0 6px; border-radius: 6px; background: rgba(26, 26, 26, 0.08); font-weight: 700; }
