/* QuoteLeads site theme: black and white, Figtree, blue only on buttons.
   Loaded last on every page. Pages keep their own layout CSS; this file
   redefines their colour variables for light and dark, swaps the font, hides
   the old cursor and glow effects, and styles the shared header and footer
   (qln-* and qlf-* classes, so nothing collides with page CSS).

   The theme is set on <html data-theme="light|dark"> by a tiny inline script
   in each page's <head>: a saved choice, else the device setting, else light. */

@import url("/assets/chrome.css?v=7");

:root[data-theme="dark"]{
  --fg:255,255,255;
  /* main site */
  --void:#000;--deep:#0a0a0a;--surf:#0e0e0e;
  --glass:rgba(255,255,255,.035);--glass2:rgba(255,255,255,.06);
  --border:#1f1f1f;--bmid:#2a2a2a;--bblue:#2a2a2a;--bdim:rgba(255,255,255,.06);
  --white:#fff;--off:#c8c8c8;--muted:#909090;--faint:#858585;
  --sky:#fff;--mist:#fff;
  /* blog */
  --bg:#000;--bg-lift:#0a0a0a;--bg-card:#0e0e0e;--bg-deep:#0a0a0a;--border-mid:#2a2a2a;
  --ink:#fff;--ink-soft:#c8c8c8;--ink-muted:#909090;--ink-faint:#858585;
  --accent:#fff;--accent-dim:rgba(255,255,255,.06);--accent-glow:transparent;
  /* guarantee pages */
  --panel:#0a0a0a;--panel2:#0e0e0e;--line:#1f1f1f;--line2:#2a2a2a;--soft:#c8c8c8;--mute:#909090;
  --qbg:#000;--qcard:#0e0e0e;--qline:#1f1f1f;--qtext:#909090;--qhead:#fff;--qdim:#858585;
  color-scheme:dark;
}
:root[data-theme="light"]{
  --fg:10,10,10;
  --void:#fff;--deep:#fafafa;--surf:#f6f6f6;
  --glass:rgba(10,10,10,.025);--glass2:rgba(10,10,10,.045);
  --border:#ebebeb;--bmid:#dcdcdc;--bblue:#dcdcdc;--bdim:rgba(10,10,10,.05);
  --white:#0a0a0a;--off:#333;--muted:#6b6b6b;--faint:#707070;
  --sky:#0a0a0a;--mist:#0a0a0a;
  --bg:#fff;--bg-lift:#fafafa;--bg-card:#f6f6f6;--bg-deep:#fafafa;--border-mid:#dcdcdc;
  --ink:#0a0a0a;--ink-soft:#333;--ink-muted:#6b6b6b;--ink-faint:#707070;
  --accent:#0a0a0a;--accent-dim:rgba(10,10,10,.05);--accent-glow:transparent;
  --panel:#fafafa;--panel2:#f6f6f6;--line:#ebebeb;--line2:#dcdcdc;--soft:#333;--mute:#6b6b6b;
  --qbg:#fff;--qcard:#f6f6f6;--qline:#ebebeb;--qtext:#6b6b6b;--qhead:#0a0a0a;--qdim:#707070;
  --green:#15803d;--green-dim:rgba(21,128,61,.1);--red:#b91c1c;--red-dim:rgba(185,28,28,.08);--amber:#a16207;--amber-dim:rgba(161,98,7,.1);
  color-scheme:light;
}
:root[data-theme]{
  --blue:#4797ff;--blue-press:#2f86ff;--button-primary:#4797ff;
  --display:"Figtree",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  --body:"Figtree",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  --qmono:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
}

/* Pages that hid sideways overflow on both <html> and <body> turned the body
   into its own scroll box, which stops the header staying pinned at the top.
   Leaving <html> alone keeps the same sideways clipping (the body's setting
   passes to the window) and lets the header stick. */
html[data-theme]{overflow-x:visible!important;overflow-y:visible!important}
html[data-theme] body{background:var(--void);color:var(--white);font-family:var(--body);cursor:auto!important;-webkit-font-smoothing:antialiased}
html[data-theme] body *{cursor:revert}
html[data-theme] h1,html[data-theme] h2,html[data-theme] h3,html[data-theme] h4{font-family:var(--display);letter-spacing:-.03em}
html[data-theme] h1,html[data-theme] h2{font-weight:500}

/* The old look's effects: custom cursor, glow aura, particles, ambient blobs */
#cur,#curR,#aura,#particles,.hero-ambi,.glow,.ambient,.orb,.blob{display:none!important}
html[data-theme] a,html[data-theme] button{cursor:pointer}

/* Translucent page surfaces (old dark glass) follow the theme */
:root[data-theme="dark"]{--bgrgb:0,0,0}
:root[data-theme="light"]{--bgrgb:255,255,255}

/* Pricing: the recommended plan stands out with a strong outline, not a blue fill */
html[data-theme] .pc-hot{border:1.5px solid var(--white)!important}


/* Testimonial carousel (pricing, buy and city pages): readable quotes, solid
   cards, side cards dimmed but not blurred, and no dead space above the arrows */
html[data-theme] .tc{background:var(--surf);border-color:var(--border);backdrop-filter:none;-webkit-backdrop-filter:none}
html[data-theme] .tbody{color:var(--off);font-style:normal}
html[data-theme] .tc.pos-left,html[data-theme] .tc.pos-right{opacity:.6;filter:none}
@media(min-width:901px){html[data-theme] .car-scene{height:330px}html[data-theme] .car-nav{margin-top:28px}}

/* Ownership cards: both headings at full strength */
html[data-theme] .own-card .own-label{color:var(--white)}

/* Every blue button, whatever the page called it: flat blue, label centred,
   no glossy shine, glow or shadow (the old look) */
html[data-theme] :is(.btn-mag,.btn-primary,.btn-buy,.btn-submit,.btn-next,.btn-meta,.bar .btn){box-shadow:none!important;background-image:none!important;background-color:var(--blue)!important;color:#fff!important;filter:none!important;justify-content:center;text-align:center}
html[data-theme] :is(.btn-mag,.btn-primary,.btn-buy,.btn-submit,.btn-next,.btn-meta,.bar .btn)::before,
html[data-theme] :is(.btn-mag,.btn-primary,.btn-buy,.btn-submit,.btn-next,.btn-meta,.bar .btn)::after{display:none!important}
html[data-theme] :is(.btn-mag,.btn-primary,.btn-buy,.btn-submit,.btn-next,.btn-meta,.bar .btn):hover{background-color:var(--blue-press)!important}
html[data-theme] :is(.btn-primary,.btn-buy,.btn-submit,.btn-next):disabled{opacity:.55}

/* Client logos in testimonials are white artwork: darken them in light mode */
:root[data-theme="light"] .tav img,:root[data-theme="light"] img[src*="client-logo"]{filter:brightness(0);opacity:.75}

/* Example client landing pages inside the funnel demos (fx-*, mk-*) are drawn
   in that client's own brand colours, like the ad creatives: they keep light
   text on their dark brand background in both themes. */
:root[data-theme="light"] :is(.fx-ad,.fx-body,.mk-body){
  /* only the site's own colour names: the mock-ups keep theirs (--ink, --soft, --mute, --line) */
  --fg:255,255,255;--bgrgb:0,0,0;--white:#fff;--off:#d0d0d0;--muted:#a9a9a9;--faint:#8f8f8f;
  --border:rgba(255,255,255,.1);--bmid:rgba(255,255,255,.16);
  --glass:rgba(255,255,255,.04);--glass2:rgba(255,255,255,.07);--green:#34D399}

/* Guarantee pages: the lead's reply bubbles follow the theme */
html[data-theme] .msg q{background:var(--panel2,var(--surf));border-color:var(--line2,var(--bmid));color:var(--white)}

/* Numbered step circles (access guides): number in the opposite colour */
html[data-theme] .step-num{color:var(--void)}

/* Quote-ready pages: green status tags readable on white, avatars follow the theme */
:root[data-theme="light"] :is(.lcard-tag,.pill2){color:var(--green)!important;border-color:rgba(21,128,61,.35)!important}
html[data-theme] .av{background:var(--surf);color:var(--white);border:1px solid var(--bmid)}
