/* Light and dark colours shared by every page, and the header's theme switch.
   brand/theme.js sets <html data-theme="light|dark"> before the page is drawn. Our own styles
   (site.css, patch.css, the use-case page) take their dark colours from these variables; the template's
   own colours are turned dark by theme.js. */
:root{
  --es-bg:#fff;--es-card:#fff;--es-soft:#fafafa;--es-box:#f7f7f7;--es-raise:#fbfbfb;
  --es-ink:#171717;--es-body:#45474d;--es-mute:#767676;--es-faint:#b9babd;
  --es-line:#ebebeb;--es-edge:#d9dbde;--es-hover:#d4d4d4;
  --es-blue:#2F64C6;--es-tint:#eef3fc;--es-tint-line:#d6e2f7;--es-ok:#17a673;
  --es-btn:#041319;--es-btn-ink:#fff;--es-band:#171717;
  --es-shadow:rgba(0,0,0,.06);--es-dots:rgba(23,23,23,.07);--es-stripe:rgba(23,23,23,.04);
}
html[data-theme=dark]{
  --es-bg:#0d0e10;--es-card:#1c1f23;--es-soft:#16181b;--es-box:#141619;--es-raise:#131518;
  --es-ink:#ececee;--es-body:#b6b8bd;--es-mute:#9a9da3;--es-faint:#8b8e94;
  --es-line:#2b2e33;--es-edge:#3a3e44;--es-hover:#4a4e55;
  --es-blue:#7ea6ef;--es-tint:#1a2638;--es-tint-line:#2c3d5c;--es-ok:#2bb983;
  --es-btn:#ececee;--es-btn-ink:#0d0e10;--es-band:#000;
  --es-shadow:rgba(0,0,0,.45);--es-dots:rgba(255,255,255,.07);--es-stripe:rgba(255,255,255,.035);
  color-scheme:dark;
}
html[data-theme=dark] body{background-color:var(--es-bg)}

/* The switch. In the header it is a quiet icon; in the phone menu it carries its name. */
.es-theme{flex:none;display:inline-flex;align-items:center;justify-content:center;gap:10px;width:44px;height:44px;padding:0;border:0;border-radius:12px;background:transparent;color:var(--es-body);cursor:pointer;font:500 14px/1 Inter,system-ui,sans-serif;letter-spacing:-.01em;-webkit-tap-highlight-color:transparent}
.es-theme:hover{color:var(--es-ink);background:var(--es-stripe)}
.es-theme:focus-visible{outline:2px solid var(--es-blue);outline-offset:2px}
.es-theme svg{width:20px;height:20px;flex:none}
.es-theme.es-wide{width:100%;height:48px;border-radius:12px;box-shadow:inset 0 0 0 1px var(--es-line);color:var(--es-ink)}

/* The dark logo mark turns light. */
html[data-theme=dark] img[src*="/icon-on-light.svg"],
html[data-theme=dark] img[src*="6QGlKQK1VYxA6D2OwNa4sQshaFY"]{filter:invert(1) brightness(1.6)}

/* The template's pages in the dark theme (its colours are turned dark by theme.js; these are the exceptions). */
/* Its dark buttons ("Book a demo", "Get started free") turn light, as dark buttons do on a dark page. */
html[data-theme=dark] [data-framer-name^="Black-"]:not([data-framer-name*="Border"]),html[data-theme=dark] [data-es-btn]{background-color:var(--es-btn)!important}
html[data-theme=dark] [data-framer-name^="Black-"]:not([data-framer-name*="Border"]) *,html[data-theme=dark] [data-es-btn],html[data-theme=dark] [data-es-btn] *{--framer-text-color:var(--es-btn-ink)!important;color:var(--es-btn-ink)}
/* Pale background pictures and small dark marks, picked out by theme.js; thin dark lines drawn as boxes. */
html[data-theme=dark] img[data-es-img=pale]{filter:invert(.93) hue-rotate(180deg)}
html[data-theme=dark] img[data-es-img=mark]{filter:invert(1) hue-rotate(180deg) brightness(.92)}
html[data-theme=dark] [data-es-ink]{background-color:var(--es-ink)!important}

/* Dark colours for the sections brand/patch.js adds to the template's pages (styled in patch.css).
   Kept here rather than in patch.css so the two files can change independently. */
html[data-theme=dark] [data-framer-name="Section-Company"]::before{color:var(--es-mute)}
html[data-theme=dark] .es-partner{color:var(--es-ink)}
html[data-theme=dark] .es-partner:hover,html[data-theme=dark] .es-ucin,html[data-theme=dark] .es-tabx .all,html[data-theme=dark] .es-rail > a{color:var(--es-blue)}
/* Pricing: the credit table and the comparison table. */
html[data-theme=dark] .es-compare,html[data-theme=dark] .es-pricing,html[data-theme=dark] .es-block,html[data-theme=dark] .es-bento,html[data-theme=dark] .es-tabx{color:var(--es-ink)}
html[data-theme=dark] .es-compare .r{border-color:var(--es-line)}
html[data-theme=dark] .es-compare .r.h,html[data-theme=dark] .es-compare .r.f{background:var(--es-soft);border-color:var(--es-line)}
html[data-theme=dark] .es-compare .r.h i{color:var(--es-body)}
html[data-theme=dark] .es-compare .r.h i::before{color:var(--es-ink)}
html[data-theme=dark] .es-compare .r svg circle{fill:var(--es-ink)}
html[data-theme=dark] .es-compare .r svg path{stroke:var(--es-bg)}
html[data-theme=dark] .es-compare .r.f a,html[data-theme=dark] .es-tier a,html[data-theme=dark] .es-modal button{background:var(--es-card);border-color:var(--es-line);color:var(--es-ink);box-shadow:none}
html[data-theme=dark] .es-compare .r.f a.dk,html[data-theme=dark] .es-tier.pop a,html[data-theme=dark] .es-modal button.go,html[data-theme=dark] .es-tabx .go{background:var(--es-btn);border-color:var(--es-btn);color:var(--es-btn-ink)}
html[data-theme=dark] .es-tier,html[data-theme=dark] .es-rate{background:var(--es-card);border-color:var(--es-line);box-shadow:none}
html[data-theme=dark] .es-tier.pop{border-color:var(--es-ink);box-shadow:0 0 0 3px rgba(255,255,255,.06)}
html[data-theme=dark] .es-badge{background:var(--es-ink);color:var(--es-bg)}
html[data-theme=dark] .es-tier li,html[data-theme=dark] .es-block .hd p,html[data-theme=dark] .es-block .pt span,html[data-theme=dark] .es-block .nt,html[data-theme=dark] .es-bento .tx span,html[data-theme=dark] .es-bento > p,html[data-theme=dark] .es-tabx li span{color:var(--es-body)}
html[data-theme=dark] .es-tier .amt span,html[data-theme=dark] .es-note,html[data-theme=dark] .es-sub,html[data-theme=dark] .es-rate span,html[data-theme=dark] .es-ui small,html[data-theme=dark] .es-tabx .in small{color:var(--es-mute)}
html[data-theme=dark] .es-tier .cr,html[data-theme=dark] .es-block .pt b em{color:var(--es-blue);background:var(--es-tint);border-color:var(--es-tint-line)}
html[data-theme=dark] .es-tier li::before,html[data-theme=dark] .es-rate em,html[data-theme=dark] .es-block .pt i,html[data-theme=dark] .es-block .pt u{color:var(--es-blue)}
/* The notice before the contact form hands over. */
html[data-theme=dark] .es-modal{background:rgba(0,0,0,.6)}
html[data-theme=dark] .es-modal div{background:var(--es-card);box-shadow:0 30px 80px rgba(0,0,0,.6)}
html[data-theme=dark] .es-modal h3{color:var(--es-ink)}
html[data-theme=dark] .es-modal p{color:var(--es-body)}
/* Menu rows. */
html[data-theme=dark] .es-ucmore:hover{background:var(--es-soft)}
html[data-theme=dark] .es-ucmore i,html[data-theme=dark] .es-block .pt i,html[data-theme=dark] .es-pill{background:var(--es-card);border-color:var(--es-line)}
html[data-theme=dark] .es-ucmore b{color:var(--es-ink)}
html[data-theme=dark] .es-ucmore em,html[data-theme=dark] .es-ucmore.es-plain i{color:var(--es-body)}
html[data-theme=dark] .es-ucmore i,html[data-theme=dark] .es-ucmore.es-blue b,html[data-theme=dark] .es-pill{color:var(--es-blue)}
/* Home: the use-case tab strip and its panel. */
html[data-theme=dark] .es-tabs{background:var(--es-raise);border-color:var(--es-line)}
html[data-theme=dark] .es-rail > button{color:var(--es-body)}
html[data-theme=dark] .es-rail > button:hover{color:var(--es-ink)}
html[data-theme=dark] .es-rail > button[aria-pressed=true]{background:var(--es-card);color:var(--es-ink);border-color:var(--es-line)}
html[data-theme=dark] .es-tabs .es-arrow{color:var(--es-ink)}
html[data-theme=dark] .es-tabs .es-arrow[data-dir="-1"]{background:linear-gradient(90deg,var(--es-raise) 55%,transparent)}
html[data-theme=dark] .es-tabs .es-arrow[data-dir="1"]{background:linear-gradient(270deg,var(--es-raise) 55%,transparent)}
html[data-theme=dark] .es-tabx li::before{border-color:var(--es-blue)}
html[data-theme=dark] .es-tabx .r{background-color:var(--es-raise)}
html[data-theme=dark] .es-tabx .in a{background:var(--es-card);border-color:var(--es-line);color:var(--es-ink)}
html[data-theme=dark] .es-tabx .in a:hover{border-color:var(--es-hover)}
/* Our sections on product pages. */
html[data-theme=dark] .es-block .pt{background:var(--es-soft);border-color:var(--es-line)}
html[data-theme=dark] .es-block a.pt:hover{background:var(--es-card);border-color:var(--es-hover)}
/* Home: the extra feature cards and the small pictures in them. */
html[data-theme=dark] .es-bento > a{background-color:var(--es-raise);background-image:radial-gradient(var(--es-dots) 1px,transparent 1px);border-color:var(--es-line)}
html[data-theme=dark] .es-bento > a::after{background:linear-gradient(rgba(19,21,24,0),var(--es-raise) 45%)}
html[data-theme=dark] .es-bento > a:hover{border-color:var(--es-hover)}
html[data-theme=dark] .es-ui,html[data-theme=dark] .es-stack span,html[data-theme=dark] .es-win .bar em{background:var(--es-card);border-color:var(--es-edge);box-shadow:0 10px 30px rgba(0,0,0,.35)}
html[data-theme=dark] .es-ui .hd i,html[data-theme=dark] .es-tools code,html[data-theme=dark] .es-win .pg b{background:var(--es-tint);color:var(--es-blue);border-color:var(--es-tint-line)}
html[data-theme=dark] .es-ui .wave,html[data-theme=dark] .es-win .bar{background:var(--es-soft);border-color:var(--es-edge)}
html[data-theme=dark] .es-ui .wave s{background:var(--es-blue)}
html[data-theme=dark] .es-ui .bx{border-color:var(--es-edge)}
html[data-theme=dark] .es-ui .ok{color:var(--es-ok)}
html[data-theme=dark] .es-win .bar s{background:#4a4e55}
html[data-theme=dark] .es-win .bar em{box-shadow:none;color:var(--es-mute)}
html[data-theme=dark] .es-win .pg u{background:#2a2e35}
html[data-theme=dark] .es-stack span{color:var(--es-body);box-shadow:none}
html[data-theme=dark] .es-stack .on{color:var(--es-ink)}
html[data-theme=dark] .es-graph g[stroke]{stroke:#3a4352}
html[data-theme=dark] .es-graph rect{fill:var(--es-card)}
html[data-theme=dark] .es-graph rect[stroke="#e7ebed"]{stroke:var(--es-edge)}
html[data-theme=dark] .es-graph rect[stroke="#2F64C6"]{stroke:var(--es-blue)}
html[data-theme=dark] .es-graph text[fill="#171717"]{fill:var(--es-ink)}
html[data-theme=dark] .es-graph text[fill="#45474d"]{fill:var(--es-body)}

/* The switch in the template's header: beside "Partner login" on wide screens, in the menu on narrow ones. */
.es-theme.es-bar{margin-right:4px}
@media(max-width:1199px){.es-theme.es-bar{display:none}}
.es-theme.es-wide{margin-top:12px}
/* The home hero's research-preview chip (patch.css, .es-chip), like the template's chip turned dark. */
html[data-theme=dark] .es-chip{background:var(--es-card);border-color:var(--es-line);box-shadow:none;color:var(--es-blue)}
html[data-theme=dark] .es-chip b{color:var(--es-ink)}
html[data-theme=dark] .es-chip i{color:var(--es-mute)}
html[data-theme=dark] .es-chip:hover{border-color:var(--es-edge)}
html[data-theme=dark] .es-chip:focus-visible{outline-color:var(--es-blue)}
