/* Site-wide polish (feedback: blurry text, mixed sizes, gaps, generated-looking details).
   Loaded on every page right after site.css. Same palette and type (Inter); only consistency fixes. */

/* 1. One colour per headline: no single highlighted word, no gradient text */
html body :is(#page-home,#page-results,#page-blog,#page-contact) :is(h1,h2) :is(em,span,.grad,i){color:inherit!important;background:none!important;-webkit-text-fill-color:currentColor!important;font-style:normal}

/* 2. Crisp text: cards tilted in 3D rasterise their text; keep them flat */
html body #page-home#page-home .qe-fan{perspective:none}
html body #page-home#page-home .qe-fan .qe-sc{transform:none!important}
html body :is(#page-home,#page-results,#page-blog,#page-contact) .post-meta .sep{opacity:1;color:var(--txt-3,#5d6371)}

/* 3. One title scale for every page */
html body :is(#page-home,#page-results,#page-blog,#page-contact) :is(.hero,.ct-hero,.lg-hero,.op-hero) h1,html body #page-results#page-results .rs-h1,html body #page-home#page-home .hero h1{font-size:clamp(36px,4.8vw,56px)!important;line-height:1.06;letter-spacing:-.03em}
html body :is(#page-home,#page-results,#page-blog,#page-contact) .sec-head h2{font-size:clamp(28px,3.4vw,40px)!important;line-height:1.12;letter-spacing:-.025em}
html body :is(#page-home,#page-results,#page-blog,#page-contact) .sec-head p{font-size:17px!important;line-height:1.6}
html body :is(#page-home,#page-results,#page-blog,#page-contact) .ctaband h2{font-size:clamp(28px,3.4vw,40px)!important;letter-spacing:-.025em}

/* 4. Nothing readable below 12px */
html body :is(#page-home,#page-results,#page-blog,#page-contact) .foot h5,html body :is(#page-home,#page-results,#page-blog,#page-contact) .foot-col h5{font-size:13px!important;font-weight:600;color:var(--txt,#171717);letter-spacing:0}
html body :is(#page-home,#page-results,#page-blog,#page-contact) :is(.lg-line,.lg-risk,.copy){font-size:12.5px!important;line-height:1.6}
html body :is(#page-home,#page-results,#page-blog,#page-contact) :is(.lg-line,.lg-risk,.copy) a{font-size:inherit!important}
html body :is(#page-home,#page-results,#page-blog,#page-contact) .tag{font-size:12px!important}
html body #page-home#page-home :is(.bcat,.gauge-cap,.risk,.src){font-size:12px!important}
html body #page-home#page-home .pribbon{font-size:12px!important}
html body #page-home#page-home .lfact span{font-size:12.5px!important}
html body #page-home#page-home .qe-foot{font-size:11.5px!important}
html body #page-home#page-home .qe-top{font-size:10.5px!important}
html body #page-home#page-home :is(.rze-t,.rze-who,.rze-ms,.rze-pill,.rzp-floor){font-size:11px!important}
html body #page-results#page-results :is(.vp-head){font-size:13px!important}
html body #page-results#page-results :is(.vstate,.risk-badge){font-size:12px!important}
html body #page-results#page-results .hero-stat :is(small,.note){font-size:12.5px!important}
html body #page-results#page-results .stat small,html body #page-results#page-results .curve small,html body #page-results#page-results .curve-foot span{font-size:12.5px!important}
html body #page-contact#page-contact :is(.op-src,.op-who small,.op-who time){font-size:12.5px!important}
html body :is(#page-home,#page-results,#page-blog,#page-contact) :is(.k2-badge){font-size:12px!important}
html body :is(#page-home,#page-results,#page-blog,#page-contact) :is(.k3-long,.k3-secure){font-size:12.5px!important}

/* 5. No blue glows: flat buttons and cards with a neutral shadow where elevation is needed */
html body :is(#page-home,#page-results,#page-blog,#page-contact) :is(.btn,.nav-cta,.pcta,.lang-opt,.op-f,.pill,.mx-t,.cb-b1,.cb-b2,.bl-more,.op-whopbtn),
html body :is(#page-home,#page-results,#page-blog,#page-contact) :is(.btn,.nav-cta,.pcta,.lang-opt,.op-f,.pill,.mx-t,.cb-b1,.cb-b2,.bl-more,.op-whopbtn):hover{box-shadow:none!important}
html body :is(#page-home,#page-results,#page-blog,#page-contact) :is(.rc,.qe-sc,.qe-top,.rc-ava,.pribbon,.vlogo,.tn,.rze-ms,.rze-dot){box-shadow:0 1px 2px rgba(15,23,42,.08)!important}
html body :is(#page-home,#page-results,#page-blog,#page-contact) .qb-fab{box-shadow:0 6px 16px -4px rgba(15,23,42,.28)!important}

/* small labels inside the closing blue band's phone */
html body :is(#page-home,#page-results,#page-blog,#page-contact) .cb-scr :is(small,span){font-size:11px!important}
html body #page-results#page-results .mx-zones span{font-size:11.5px!important}
html body #page-results#page-results .mx-mk b{font-size:12px!important}
html body :is(#page-home,#page-results,#page-blog,#page-contact) .foot-badges span{font-size:12px!important}
html body #page-home#page-home :is(.qe-sc-f,.qe-sc-f b,.qe-sc-p small){font-size:10.5px!important}
html body #page-home#page-home .qe-sc-h b{font-size:12px!important}
html body #page-home#page-home .rzv-acct :is(small,em){font-size:10.5px!important}
html body #page-home#page-home .wn small{font-size:12px!important}
html body :is(#page-home,#page-results,#page-blog,#page-contact) :is(.k3-price small,.k3-cb span,.k3-cb a){font-size:12.5px!important}
html body :is(#page-home,#page-results,#page-blog,#page-contact) :is(h1,h2,h3){text-wrap:balance}
/* Small phones: logo, CTA and menu button must all fit in the header */
@media (max-width:480px){
  html body :is(#page-home,#page-results,#page-blog,#page-contact) header.nav .nav-in{padding-left:16px!important;padding-right:16px!important;gap:10px!important}
  html body :is(#page-home,#page-results,#page-blog,#page-contact) header.nav .nav-cta{padding:9px 13px!important;font-size:13.5px!important;white-space:nowrap}
  html body :is(#page-home,#page-results,#page-blog,#page-contact) header.nav .nav-cta svg{display:none}
  html body :is(#page-home,#page-results,#page-blog,#page-contact) header.nav .brand-logo{height:26px!important}
}

/* Newsletter (The Institutional Brief), home and blog */
html body :is(#page-home,#page-blog) .brief-body h3{margin:0!important}
html body :is(#page-home,#page-blog) .brief-body .txt>p{margin-top:12px!important}
html body :is(#page-home,#page-blog) .brief-body .txt>p.brief-latest{margin-top:18px!important;font-size:14.5px!important;color:var(--txt-2,#525252)}
html body :is(#page-home,#page-blog) .brief-latest span{font-weight:600;color:var(--txt,#171717)}
html body :is(#page-home,#page-blog) .brief-latest a{color:var(--brand-d,#0044cc);font-weight:600;text-decoration:underline;text-decoration-color:rgba(0,68,204,.3);text-underline-offset:3px}
html body :is(#page-home,#page-blog) .brief-latest a:hover{text-decoration-color:currentColor}
html body :is(#page-home,#page-blog) .brief .brief-lbl{display:block;margin:0 0 8px;font-size:14px;font-weight:600;color:var(--txt,#171717)}
html body :is(#page-home,#page-blog) .brief .form button{box-shadow:none!important;white-space:nowrap}
html body :is(#page-home,#page-blog) .brief .form button:hover{transform:none!important;filter:brightness(1.06)}
html body :is(#page-home,#page-blog) .brief .form .fine{margin-top:12px;font-size:13px!important;line-height:1.55;color:var(--txt-2,#525252)}
html body :is(#page-home,#page-blog) .brief .form .fine a{color:inherit;text-decoration:underline}
html body :is(#page-home,#page-blog) .brief .form{max-width:480px!important;flex:1 1 380px}

/* Home reviews: a still grid of real reviews instead of an endless scrolling wall */
html body #page-home#page-home .rv3d.rv-flat{height:auto!important;overflow:visible!important;-webkit-mask-image:none!important;mask-image:none!important;margin-top:28px!important}
html body #page-home#page-home .rv3d.rv-flat .rv3d-track{animation:none!important;transform:none!important;will-change:auto;gap:16px!important}
html body #page-home#page-home .rv3d.rv-flat .rv3d-col:nth-child(2){margin-top:0!important}
html body #page-home#page-home .rv3d.rv-flat .rv3d-plane{gap:16px!important;align-items:start}
html body #page-home#page-home .rv3d.rv-flat .rv3d-track>.tcard:nth-child(n+3),html body #page-home#page-home .rv3d.rv-flat .rv3d-clone{display:none!important}
html body #page-home#page-home .rv3d.rv-flat .tcard{padding:22px 22px 20px!important;border-radius:14px!important;border:1px solid var(--line)!important;box-shadow:none!important;background:#fff!important}
html body #page-home#page-home .rv3d.rv-flat .tcard:hover{border-color:#cfd6e3!important;box-shadow:none!important}
html body #page-home#page-home .tcard .src{display:none!important}
html body #page-home#page-home .tcard .stars{color:#e8a317!important;font-size:15px!important;letter-spacing:1px!important}
html body #page-home#page-home .tcard .quote{font-size:16px!important;line-height:1.55!important;font-weight:500;color:var(--txt)!important;margin:0 0 18px!important}
html body #page-home#page-home .tcard .wav{background:#eef1f6!important;color:#3f4551!important;width:34px!important;height:34px!important;font-weight:600!important;font-size:13px!important}
html body #page-home#page-home .tcard .wn b{font-size:14.5px!important;font-weight:600!important}
html body #page-home#page-home .tcard .wn small{font-size:13px!important;color:var(--txt-2,#525252)!important}
@media (max-width:900px){html body #page-home#page-home .rv3d.rv-flat .rv3d-col .rv3d-track>.tcard:nth-child(3){display:block!important}}
@media (max-width:600px){html body #page-home#page-home .rv3d.rv-flat .rv3d-col:nth-child(1) .rv3d-track>.tcard:nth-child(-n+4){display:block!important}}

/* Contact: channels as a plain list under a real heading, no floating cards, no animated fake chat */
html body #page-contact#page-contact .ct-h{margin:0 0 10px;font-size:21px;line-height:1.25;font-weight:700;letter-spacing:-.015em;color:var(--txt)}
html body #page-contact#page-contact .ct-info{gap:0!important}
html body #page-contact#page-contact .ct-info .ct-h+.ct-chan{border-top:1px solid var(--line)!important}
html body #page-contact#page-contact .ct-chan{border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;background:none!important;box-shadow:none!important;padding:16px 4px!important;margin:0!important;transform:none!important}
html body #page-contact#page-contact .ct-chan:hover{background:#f7f9fc!important;transform:none!important;box-shadow:none!important}
html body #page-contact#page-contact .ct-chan .ic{width:22px!important;height:22px!important;background:none!important;border:0!important;border-radius:0!important}
html body #page-contact#page-contact .ct-chan .ic svg{width:21px!important;height:21px!important}
html body #page-contact#page-contact .ct-chan .tx b{font-size:16px!important}
html body #page-contact#page-contact .ct-chan .tx span{font-size:15px!important;color:#3f4551!important}
html body #page-contact#page-contact .ct-note{margin-top:18px!important;padding:0!important;border:0!important;background:none!important;font-size:14.5px;color:#3f4551}

/* Choose strategy: same treatment as results; no hanging badge, no double shadow */
html body #page-contact#page-contact .k2-card{border:1px solid var(--line)!important;background:#fff!important;box-shadow:0 1px 2px rgba(15,23,42,.06)!important;border-radius:18px!important}
html body #page-contact#page-contact .k2-card.on,html body #page-contact#page-contact .k2-card.is-on,html body #page-contact#page-contact .k2-card[aria-selected="true"]{border-color:var(--brand)!important;box-shadow:0 0 0 1px var(--brand)!important}
html body #page-contact#page-contact .k2-badge{position:absolute!important;top:26px!important;right:24px!important;left:auto!important;padding:0!important;background:none!important;box-shadow:none!important;border-radius:0!important;color:var(--brand-d,#0044cc)!important;font:600 13px/1.2 "Inter",system-ui,sans-serif!important}
html body #page-contact#page-contact .k2-card .k2-sel{box-shadow:none!important}
html body #page-contact#page-contact .k2-stats{background:#f6f7f9!important;border:0!important;box-shadow:none!important}
