/* ==========================================================================
   CXO Medical Billing — brand stylesheet (loaded from a real file src by
   cxb-brand.php). Navy + emerald: same family as CXO Systems' indigo, but it
   has to read as money and healthcare, not software.
   ========================================================================== */

:root {
  --cxb-ink:      #0A1B2E;
  --cxb-navy:     #14365E;
  --cxb-graphite: #1D2B3E;
  --cxb-em:       #0E9F7E;
  --cxb-em-d:     #0B7E64;
  --cxb-em-l:     #E3F5EF;
  --cxb-slate:    #45566B;
  --cxb-muted:    #6A7888;
  --cxb-mist:     #F4F7F9;
  --cxb-line:     #E1E7ED;
  --cxb-white:    #FFFFFF;
  --cxb-red:      #C2410C;
  --cxb-sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body { font-family: var(--cxb-sans); color: var(--cxb-slate); background: var(--cxb-white); }
.entry-content > * { margin-top: 0; }
.content-area { margin-top: 0 !important; margin-bottom: 0 !important; }

/* ---------- header (Kadence) ------------------------------------------- */
.site-branding .site-title { font-weight: 800; letter-spacing: -0.02em; color: var(--cxb-ink); }
.main-navigation .primary-menu-container > ul > li.menu-item > a { font-weight: 600; color: var(--cxb-graphite); }
.main-navigation .primary-menu-container > ul > li.menu-item > a:hover { color: var(--cxb-em-d); }
.main-navigation li.cxb-nav-cta > a {
  background: var(--cxb-em); color: #fff !important; border-radius: 8px;
  padding: 10px 18px !important; margin-left: 8px;
}
.main-navigation li.cxb-nav-cta > a:hover { background: var(--cxb-em-d); }

/* ---------- sections ---------------------------------------------------- */
.cxb-section { max-width: 1140px; margin: 0 auto; padding: 84px 24px; }
.cxb-alt { background: var(--cxb-mist); }
.cxb-dark { background: var(--cxb-ink); color: #C9D4E3; }
.cxb-dark h2, .cxb-dark h3 { color: #fff !important; }
.cxb-section h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.45rem); line-height: 1.15; letter-spacing: -0.02em;
  color: var(--cxb-ink); margin: 0 0 18px; font-weight: 750;
}
.cxb-section h3 { font-size: 1.14rem; color: var(--cxb-ink); margin: 0 0 10px; font-weight: 680; letter-spacing: -0.01em; }
.cxb-section p, .cxb-section li { font-size: 1.02rem; line-height: 1.72; }
.cxb-lead { font-size: 1.14rem; line-height: 1.7; max-width: 760px; }
.cxb-kicker {
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.72rem;
  font-weight: 750; color: var(--cxb-em-d); margin: 0 0 14px;
}
.cxb-dark .cxb-kicker { color: #4FD1B0; }
.cxb-center { text-align: center; }
.cxb-center .cxb-lead { margin-left: auto; margin-right: auto; }

/* ---------- hero -------------------------------------------------------- */
.cxb-hero {
  background:
    radial-gradient(900px 480px at 8% -12%, rgba(14,159,126,0.32), transparent 62%),
    radial-gradient(800px 440px at 96% 6%, rgba(40,110,190,0.30), transparent 60%),
    var(--cxb-ink);
  color: #DCE5F0; padding: 112px 24px 100px;
}
.cxb-hero-inner { max-width: 1140px; margin: 0 auto; }
.cxb-eyebrow { text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.74rem; font-weight: 750; color: #4FD1B0; margin: 0 0 20px; }
.cxb-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.55rem); line-height: 1.08; letter-spacing: -0.032em;
  color: #fff; margin: 0 0 22px; font-weight: 780; max-width: 19ch;
}
.cxb-hero .lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); line-height: 1.65; color: #B5C3D5; max-width: 62ch; margin: 0 0 34px; }
.cxb-hero-sm { padding: 88px 24px 76px; }
.cxb-hero-sm h1 { font-size: clamp(2rem, 4.4vw, 3rem); max-width: 24ch; }

/* ---------- buttons ----------------------------------------------------- */
.cxb-btn {
  display: inline-block; background: var(--cxb-em); color: #fff !important;
  padding: 14px 30px; border-radius: 8px; font-weight: 650; font-size: 0.98rem;
  text-decoration: none !important; margin: 0 12px 12px 0; border: 0; cursor: pointer;
  transition: background .16s ease, transform .16s ease;
}
.cxb-btn:hover { background: var(--cxb-em-d); transform: translateY(-1px); }
.cxb-btn-ghost { background: transparent; border: 1.5px solid rgba(255,255,255,.35); }
.cxb-btn-ghost:hover { background: rgba(255,255,255,.08); }
.cxb-btn-light { background: #fff; color: var(--cxb-ink) !important; }
.cxb-btn-light:hover { background: var(--cxb-em-l); }

/* ---------- stat band --------------------------------------------------- */
.cxb-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin: 28px 0 0; }
.cxb-stat { background: #fff; border: 1px solid var(--cxb-line); border-radius: 14px; padding: 26px 22px; }
.cxb-dark .cxb-stat { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); }
.cxb-stat strong { display: block; font-size: clamp(1.8rem, 3.4vw, 2.5rem); color: var(--cxb-em-d); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.cxb-dark .cxb-stat strong { color: #4FD1B0; }
.cxb-stat span { display: block; margin-top: 8px; font-size: .92rem; font-weight: 600; }

/* placeholders — loud on purpose so an unset number can't pass as real */
.cxb-placeholder { background: #FFF4D6; color: #8A5A00 !important; border: 1px dashed #D9A400; border-radius: 6px; padding: 0 6px; font-size: .8em; font-family: ui-monospace, monospace; }
.cxb-placeholder-block { background: #FFF4D6; color: #8A5A00; border: 1px dashed #D9A400; border-radius: 8px; padding: 16px; font-family: ui-monospace, monospace; font-size: .9rem; }

/* ---------- cards / grids ---------------------------------------------- */
.cxb-grid { display: grid; gap: 20px; margin-top: 34px; }
.cxb-grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.cxb-grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.cxb-card { background: #fff; border: 1px solid var(--cxb-line); border-radius: 14px; padding: 28px 26px; }
.cxb-alt .cxb-card { box-shadow: 0 1px 2px rgba(10,27,46,.04); }
.cxb-card p { margin: 0; font-size: .98rem; }
.cxb-card ul { margin: 12px 0 0; padding-left: 18px; }
.cxb-card li { font-size: .96rem; line-height: 1.6; margin-bottom: 4px; }
.cxb-icon { display: inline-flex; width: 42px; height: 42px; border-radius: 10px; background: var(--cxb-em-l); color: var(--cxb-em-d); align-items: center; justify-content: center; font-size: 1.25rem; margin-bottom: 14px; }
.cxb-tag { display: inline-block; font-size: .7rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--cxb-em-d); background: var(--cxb-em-l); border-radius: 999px; padding: 3px 10px; margin-bottom: 12px; }

/* problem → answer rows */
.cxb-pa { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--cxb-line); border-radius: 14px; overflow: hidden; margin-top: 34px; background: #fff; }
.cxb-pa > div { padding: 20px 24px; border-top: 1px solid var(--cxb-line); }
.cxb-pa > div:nth-child(-n+2) { border-top: 0; }
.cxb-pa .cxb-pa-h { background: var(--cxb-mist); font-weight: 750; color: var(--cxb-ink); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; }
.cxb-pa .cxb-pa-p { color: var(--cxb-ink); font-weight: 650; border-right: 1px solid var(--cxb-line); }
.cxb-pa .cxb-pa-p small { display: block; font-weight: 500; color: var(--cxb-muted); margin-top: 4px; font-size: .9rem; }
@media (max-width: 720px) {
  .cxb-pa { grid-template-columns: 1fr; }
  .cxb-pa .cxb-pa-h:nth-child(2) { display: none; }
  .cxb-pa .cxb-pa-p { border-right: 0; background: var(--cxb-mist); }
}

/* ---------- comparison table ------------------------------------------- */
.cxb-table-wrap { overflow-x: auto; margin-top: 34px; border: 1px solid var(--cxb-line); border-radius: 14px; background: #fff; }
.cxb-compare { width: 100%; border-collapse: collapse; min-width: 720px; font-size: .95rem; }
.cxb-compare th, .cxb-compare td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--cxb-line); vertical-align: top; line-height: 1.5; }
.cxb-compare thead th { background: var(--cxb-mist); color: var(--cxb-ink); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.cxb-compare thead th.cxb-us { background: var(--cxb-em); color: #fff; }
.cxb-compare td.cxb-us { background: #F2FBF8; color: var(--cxb-ink); font-weight: 600; }
.cxb-compare tbody th { color: var(--cxb-ink); font-weight: 700; width: 22%; }
.cxb-compare tr:last-child td, .cxb-compare tr:last-child th { border-bottom: 0; }
.cxb-yes::before { content: "✓ "; color: var(--cxb-em-d); font-weight: 800; }
.cxb-no::before  { content: "✕ "; color: var(--cxb-red); font-weight: 800; }
.cxb-meh::before { content: "~ "; color: #B7791F; font-weight: 800; }

/* ---------- steps ------------------------------------------------------- */
.cxb-steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 34px; }
.cxb-step { position: relative; padding: 26px 24px 24px; background: #fff; border: 1px solid var(--cxb-line); border-radius: 14px; }
.cxb-step::before { counter-increment: step; content: counter(step); display: inline-flex; width: 34px; height: 34px; border-radius: 50%; background: var(--cxb-navy); color: #fff; font-weight: 800; align-items: center; justify-content: center; margin-bottom: 14px; }
.cxb-step p { margin: 0; font-size: .96rem; }

/* ---------- checklist --------------------------------------------------- */
.cxb-check { list-style: none; padding: 0; margin: 18px 0 0; }
.cxb-check li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.cxb-check li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--cxb-em-d); font-weight: 800; }

/* ---------- split ------------------------------------------------------- */
.cxb-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .cxb-split { grid-template-columns: 1fr; gap: 28px; } }
.cxb-quote { border-left: 4px solid var(--cxb-em); padding: 6px 0 6px 22px; font-size: 1.15rem; line-height: 1.6; color: var(--cxb-ink); font-weight: 600; margin: 24px 0; }

/* ---------- form -------------------------------------------------------- */
.cxb-form { background: #fff; border: 1px solid var(--cxb-line); border-radius: 16px; padding: 30px 28px; box-shadow: 0 10px 30px rgba(10,27,46,.06); }
.cxb-form label { display: block; font-weight: 650; font-size: .9rem; color: var(--cxb-ink); margin-bottom: 16px; }
.cxb-form input, .cxb-form select, .cxb-form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 11px 13px; font: inherit; font-weight: 400;
  border: 1px solid #CBD5E0; border-radius: 8px; background: #fff; color: var(--cxb-ink); box-sizing: border-box;
}
.cxb-form input:focus, .cxb-form select:focus, .cxb-form textarea:focus { outline: 2px solid var(--cxb-em); outline-offset: 1px; border-color: var(--cxb-em); }
.cxb-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 600px) { .cxb-form-row { grid-template-columns: 1fr; } }
.cxb-form-note { font-size: .85rem !important; color: var(--cxb-muted); margin: 0 0 18px; }
.cxb-form-err { background: #FDECEA; color: #9B1C1C; border-radius: 8px; padding: 10px 14px; font-weight: 600; }
.cxb-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.cxb-detail { margin-bottom: 22px; }
.cxb-detail h4 { margin: 0 0 6px; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--cxb-em-d); }
.cxb-detail address, .cxb-detail p { font-style: normal; margin: 0; line-height: 1.6; }

/* ---------- legal ------------------------------------------------------- */
.cxb-legal { max-width: 800px; }
.cxb-legal h2 { font-size: 1.3rem !important; margin-top: 34px !important; }

/* ---------- footer ------------------------------------------------------ */
.cxb-footer-cta { background: linear-gradient(120deg, var(--cxb-em-d), var(--cxb-navy)); color: #fff; }
.cxb-footer-cta-inner { max-width: 1140px; margin: 0 auto; padding: 56px 24px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cxb-footer-cta h2 { color: #fff; margin: 0 0 6px; font-size: clamp(1.4rem, 2.6vw, 1.9rem); letter-spacing: -0.02em; }
.cxb-footer-cta p { margin: 0; color: #D7EDE6; }
.cxb-footer { background: var(--cxb-ink); color: #93A3B8; font-size: .92rem; }
.cxb-footer-inner { max-width: 1140px; margin: 0 auto; padding: 52px 24px 36px; }
.cxb-footer-top { display: flex; justify-content: space-between; gap: 36px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.08); }
.cxb-footer-brand { max-width: 380px; }
.cxb-footer-brand span { display: block; margin-top: 10px; line-height: 1.6; }
.cxb-wordmark { font-size: 1.25rem; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.cxb-wordmark em { font-style: normal; color: #4FD1B0; }
.cxb-footer-brand .cxb-wordmark { margin: 0; }
.cxb-footer-nav { display: grid; grid-template-columns: repeat(2, minmax(140px, auto)); gap: 10px 36px; }
.cxb-footer-nav a { color: #C9D4E3; text-decoration: none; }
.cxb-footer-nav a:hover { color: #fff; }
.cxb-footer-meta { padding-top: 22px; display: flex; flex-direction: column; gap: 6px; font-size: .85rem; }
.cxb-footer-meta address { font-style: normal; }
.cxb-footer-meta a { color: #C9D4E3; text-decoration: none; }
