/* ==========================================================================
   LedgerDomain — Buy / Pricing page redesign
   Loaded only on the /buy page (see ld_is_buy_page() in functions.php).
   Scoped under body.ld-buy-page so nothing leaks to other pages.
   Shares the contact redesign's brand system: navy #051964 · coral #F55064 ·
   blue #6991F0 · Chivo / Chivo Mono.
   ========================================================================== */

body.ld-buy-page{
  --navy:#051964; --navy-2:#0e2f9e; --blue:#6991F0; --blue-soft:#e8eefd;
  --coral:#F55064; --coral-soft:#ffe7ea; --ink:#051964; --muted:#56689b;
  --bg-soft:#f4f6fb; --line:#e4e9f5;
  --mono:'Chivo Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans:'Chivo', Arial, Helvetica, sans-serif;
}

/* Replace Avada's default page title bar / top padding with our hero */
body.ld-buy-page .fusion-page-title-bar{display:none !important;}
body.ld-buy-page #content{padding-top:0 !important;padding-bottom:0 !important;}

/* 100% width template removes the row cap; re-assert the site width (1366px)
   so content lines up with the header/footer, keeping band backgrounds full-bleed. */
body.ld-buy-page .ld-b-hero .fusion-row,
body.ld-buy-page .ld-b-section .fusion-row,
body.ld-buy-page .ld-b-demo .fusion-row{
  max-width:1366px !important;margin-left:auto !important;margin-right:auto !important;float:none !important;
}

/* shared type bits */
body.ld-buy-page .ld-eyebrow{
  display:inline-flex;align-items:center;gap:9px;font-family:var(--mono);font-size:12.5px;font-weight:600;
  letter-spacing:2.5px;text-transform:uppercase;color:#bcd0ff;background:rgba(105,145,240,.16);
  border:1px solid rgba(105,145,240,.4);padding:7px 14px;border-radius:100px;
}
body.ld-buy-page .ld-eyebrow .ld-dot{width:7px;height:7px;border-radius:50%;background:var(--coral);box-shadow:0 0 0 4px rgba(245,80,100,.25);}
body.ld-buy-page .ld-h1{font-family:var(--sans);font-size:clamp(32px,4.4vw,52px);font-weight:800;line-height:1.07;letter-spacing:-.5px;margin:20px 0 16px;color:#fff !important;}
body.ld-buy-page .ld-h1 .hl{color:#7ea2ff;}
body.ld-buy-page .ld-standfirst{font-size:18px;line-height:1.6;color:#cfdcff !important;font-weight:300;max-width:760px;margin:0;}
body.ld-buy-page .ld-section-label{font-family:var(--mono);font-size:12px;font-weight:600;letter-spacing:2.5px;text-transform:uppercase;color:var(--blue);display:inline-block;margin:0 0 12px;}

/* ---------- HERO ---------- */
body.ld-buy-page .ld-b-hero{position:relative;overflow:hidden;color:#fff;}
body.ld-buy-page .ld-b-hero::before{content:"";position:absolute;inset:0;pointer-events:none;z-index:0;background-image:radial-gradient(rgba(255,255,255,.13) 1px,transparent 1px);background-size:22px 22px;opacity:.5;}
body.ld-buy-page .ld-b-hero::after{content:"";position:absolute;width:460px;height:460px;right:-130px;top:-150px;pointer-events:none;z-index:0;background:radial-gradient(circle,rgba(245,80,100,.5),transparent 65%);filter:blur(20px);}
body.ld-buy-page .ld-b-hero .fusion-row{position:relative;z-index:2;}
.fusion-fullwidth.fullwidth-box.ld-b-hero{
  background-color:#051964 !important;
  background-image:linear-gradient(125deg,#041450 0%,#051964 32%,#0e2f9e 78%,#2a52c9 120%) !important;
  padding-top:68px !important;padding-bottom:74px !important;
}

/* ---------- PRICING SECTIONS ---------- */
.fusion-fullwidth.fullwidth-box.ld-b-section{background-color:#f4f6fb !important;background-image:none !important;padding-top:60px !important;padding-bottom:64px !important;}
.fusion-fullwidth.fullwidth-box.ld-b-section.ld-b-section--alt{background-color:#fff !important;}
body.ld-buy-page .ld-b-head{text-align:center;max-width:760px;margin:0 auto 38px;}
body.ld-buy-page .ld-b-head h2{font-family:var(--sans);font-size:clamp(24px,2.8vw,34px);font-weight:800;letter-spacing:-.4px;color:var(--navy) !important;margin:0 0 10px;line-height:1.15;}
body.ld-buy-page .ld-b-head p{color:var(--muted);font-size:16.5px;margin:0;line-height:1.6;}
/* ---------- LEADER LINE + PROOF CHIPS (above the tier cards) ---------- */
body.ld-buy-page .ld-b-lead{
  font-size:18px;line-height:1.55;color:var(--ink) !important;font-weight:500;margin:2px 0 0;
}
body.ld-buy-page .ld-b-chips{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-top:16px;}
body.ld-buy-page .ld-chip{
  display:inline-flex;align-items:center;font-family:var(--mono);font-size:12px;font-weight:600;
  letter-spacing:1.2px;text-transform:uppercase;color:var(--navy);background:var(--blue-soft);
  border:1px solid #cdd9f6;padding:6px 13px;border-radius:100px;white-space:nowrap;
}
body.ld-buy-page .ld-chip::before{
  content:"";width:7px;height:7px;border-radius:50%;background:var(--coral);margin-right:8px;flex:none;
}

/* ---------- MONTHLY EQUIVALENT (inside tier cards) ---------- */
body.ld-buy-page .ld-mo{
  font-family:var(--mono);font-size:12.5px;font-weight:500;color:var(--muted);margin-top:7px;letter-spacing:.2px;
}

/* ---------- REASSURANCE NOTE (below the tier cards) ---------- */
body.ld-buy-page .ld-b-assure{
  text-align:center;font-size:13.5px;line-height:1.55;color:var(--muted) !important;font-weight:400;
  background:none;border:0;border-radius:0;max-width:640px;
  margin:20px auto 0;padding:0;box-shadow:none;
}
body.ld-buy-page .ld-b-assure::before{
  content:"* ";color:var(--muted);
}

/* ---------- COMPARISON MATRIX ---------- */
body.ld-buy-page .ld-b-matrix-wrap{
  overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--line);border-radius:16px;
  background:#fff;box-shadow:0 24px 50px -36px rgba(5,25,100,.5);
}
body.ld-buy-page .ld-b-matrix-table{
  width:100%;min-width:860px;border-collapse:collapse;font-family:var(--sans);font-size:14.5px;margin:0;
}
body.ld-buy-page .ld-b-matrix-table th,
body.ld-buy-page .ld-b-matrix-table td{
  padding:12px 16px;border-bottom:1px solid var(--line);text-align:center;color:var(--ink);line-height:1.45;vertical-align:middle;
}
body.ld-buy-page .ld-b-matrix-table thead th{
  background:var(--navy);color:#fff;font-weight:700;font-size:13.5px;letter-spacing:.3px;border-bottom:0;
}
body.ld-buy-page .ld-b-matrix-table thead th:first-child{border-top-left-radius:15px;}
body.ld-buy-page .ld-b-matrix-table thead th:last-child{border-top-right-radius:15px;}
body.ld-buy-page .ld-b-matrix-table tbody th{
  text-align:left;font-weight:600;color:var(--navy);background:var(--bg-soft);font-size:13.5px;white-space:nowrap;
}
body.ld-buy-page .ld-b-matrix-table tbody tr:last-child th,
body.ld-buy-page .ld-b-matrix-table tbody tr:last-child td{border-bottom:0;}
body.ld-buy-page .ld-b-matrix-table td.y{color:var(--navy);font-weight:600;}
body.ld-buy-page .ld-b-matrix-table td.y::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--coral);margin-right:7px;vertical-align:1px;}
body.ld-buy-page .ld-b-matrix-table td.n{color:#b6c2e2;}
body.ld-buy-page .ld-b-matrix-table td.a{color:var(--muted);font-weight:600;}

/* ---------- BILLING FAQ ---------- */
body.ld-buy-page .ld-faq{
  display:grid;grid-template-columns:repeat(3,1fr);gap:18px;max-width:1120px;margin:0 auto;align-items:stretch;
}
body.ld-buy-page .ld-faq-item{
  background:#fff;border:1px solid var(--line);border-radius:14px;padding:22px 22px 20px;
  box-shadow:0 20px 44px -36px rgba(5,25,100,.5);
}
body.ld-buy-page .ld-faq-item h3{
  font-family:var(--sans);font-size:16px;font-weight:800;color:var(--navy) !important;margin:0 0 8px;line-height:1.3;
}
body.ld-buy-page .ld-faq-item p{font-size:14.5px;line-height:1.6;color:var(--muted);margin:0;}

/* ---------- QUESTIONS / CALENDLY ---------- */
.fusion-fullwidth.fullwidth-box.ld-b-demo{background-color:#fff !important;background-image:none !important;padding-top:60px !important;padding-bottom:60px !important;}
body.ld-buy-page .ld-b-demo .ld-b-head{margin-bottom:26px;}
body.ld-buy-page .ld-b-demo .calendly-inline-widget{border-radius:16px;overflow:hidden;border:1px solid var(--line);box-shadow:0 30px 70px -44px rgba(5,25,100,.5);}

/* ---------- RESPONSIVE ---------- */
@media(max-width:980px){
  body.ld-buy-page .ld-faq{grid-template-columns:repeat(2,1fr);}
}
@media(max-width:560px){
  .fusion-fullwidth.fullwidth-box.ld-b-hero{padding-top:52px !important;padding-bottom:56px !important;}
  body.ld-buy-page .ld-faq{grid-template-columns:1fr;}
  body.ld-buy-page .ld-b-chips{gap:8px;}
}
