/* Shared by every page: colour and size tokens, fonts, the top bar and buttons. */
@font-face{font-family:"Nexa";src:url(fonts/Nexa-Heavy-latin.ttf) format("truetype");font-weight:800;font-display:swap}
@font-face{font-family:"Nexa";src:url(fonts/Nexa-ExtraLight.ttf) format("truetype");font-weight:200;font-display:swap}
@font-face{font-family:"Red Hat Text";src:url(fonts/RedHatText-400.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Red Hat Text";src:url(fonts/RedHatText-500.woff2) format("woff2");font-weight:500;font-display:swap}
@font-face{font-family:"Red Hat Text";src:url(fonts/RedHatText-600.woff2) format("woff2");font-weight:600;font-display:swap}
@font-face{font-family:"Red Hat Text";src:url(fonts/RedHatText-700.woff2) format("woff2");font-weight:700;font-display:swap}

:root{
  --navy-950:#15212f; --navy-900:#1e2f45; --navy-700:#2b4361; --brand-navy:#384e64; --navy-500:#46678c;
  --ink-body:#4a5b6e; --ink-muted:#5d6b7a; --slate:#949cac; --gray-light:#c8cdd2;
  --border:#e3e7eb; --surface:#fff; --surface-soft:#f5f7f9; --surface-alt:#eef1f4; --blue-soft:#e6eef7;
  --sand:#e2c89a; --copper:#be855b; --copper-text:#9a5b2f;
  --font-display:"Nexa","Red Hat Text",sans-serif; --font-sans:"Red Hat Text",system-ui,sans-serif;
}
/* Computers show the whole site a little smaller, with wider margins, as a browser zoomed out would (--z).
   Phones and tablets keep full size. Sizes tied to the window use --vw and --vh, which undo the scaling,
   so they still measure the real window. */
:root{--z:1;--vw:calc(1vw / var(--z));--vh:calc(1vh / var(--z))}
@media (min-width:1025px) and (hover:hover) and (pointer:fine){:root{--z:.8}}
/* browsers that already measure the window at the zoomed-out size (menu.js checks) */
html.vw-raw{--vw:1vw;--vh:1vh}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;zoom:var(--z)}
body{margin:0;font-family:var(--font-sans);font-size:16px;line-height:1.6;color:var(--ink-body);background:#fff;overflow-x:hidden}
img{max-width:100%;height:auto;display:block}
h1,h2,h3,p{margin:0}
a{color:inherit}
/* A floating piece (chip, card, photo) that leads somewhere: no underline, a small grow on hover */
.go{color:inherit;text-decoration:none;cursor:pointer;transition:scale .25s ease}
.go:hover{scale:1.03}
.a-av>.go,.co-proof>.go{display:inline-block}
.go:focus-visible{outline:3px solid var(--sand);outline-offset:4px}
@media (prefers-reduced-motion:reduce){ .go{transition:none} }
:focus-visible{outline:2px solid currentColor;outline-offset:2px}

/* Header */
.hd{position:absolute;left:0;right:0;top:0;z-index:20}
.hd-in{max-width:1200px;margin:0 auto;padding:22px 32px;display:flex;align-items:center;gap:28px}
.hd-logo img{height:36px;width:auto}
.hd nav{margin-left:auto;display:flex;align-items:center;gap:26px;font-weight:600;font-size:15px}
.hd nav a{text-decoration:none;opacity:.92;white-space:nowrap}
/* narrower windows above the phone menu: tighter spacing, so the links stay on one line */
@media (min-width:821px) and (max-width:1100px){ .hd-in{gap:18px} .hd nav{gap:18px} }
/* the page the visitor is on: a short sand line under its name (copper on white) */
.hd nav a[aria-current=page]:not(.btn):not(.hd-gift){opacity:1;text-decoration:underline;text-decoration-color:var(--sand);text-decoration-thickness:2px;text-underline-offset:6px}
.hd--light nav a[aria-current=page]:not(.btn):not(.hd-gift),.hd.is-open nav a[aria-current=page]:not(.btn){text-decoration-color:var(--copper)}
/* the gift icon beside Book a demo: goes to the referral page */
.hd nav a.hd-gift{display:inline-grid;place-items:center;flex:none;width:34px;height:40px;margin-left:-14px;opacity:1;transition:transform .2s ease}
.hd nav a.hd-gift:hover{transform:translateY(-2px)}
.hd-gift svg{width:24px;height:24px;fill:none;stroke:var(--sand);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;transform-origin:50% 75%}
.hd-gift span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.hd--light .hd-gift svg{stroke:var(--copper-text)}
.hd--dark{color:#fff}
.hd--light{color:var(--navy-900)}
.hd-menu{display:none}
@media (max-width:820px){
  .hd-in{padding:16px 20px}
  .hd nav a:not(.btn){display:none}
  .hd nav .btn{display:none}
  .hd-menu{display:inline-flex;margin-left:auto;width:44px;height:44px;border-radius:6px;border:1px solid currentColor;background:transparent;color:inherit;align-items:center;justify-content:center;opacity:.9}
  .hd-menu span,.hd-menu span::before,.hd-menu span::after{display:block;width:18px;height:2px;background:currentColor;border-radius:2px;position:relative;content:""}
  .hd-menu span::before{position:absolute;top:-6px}.hd-menu span::after{position:absolute;top:6px}
}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font:600 15px/1.2 var(--font-sans);padding:14px 22px;border-radius:6px;text-decoration:none;border:1px solid transparent;white-space:nowrap}
.btn--main{background:var(--navy-900);color:#fff;box-shadow:0 0 0 3px var(--sand)}
.btn--second{background:#fff;color:var(--navy-900);border-color:var(--gray-light)}
.on-dark .btn--main,.btn--main.on-dark{background:#fff;color:var(--navy-900);box-shadow:0 0 0 3px var(--sand)}
.on-dark .btn--second,.btn--second.on-dark{background:transparent;color:#fff;border-color:rgba(255,255,255,.45)}
.btn--sm{padding:10px 16px;font-size:14px}

/* Small shared pieces */
.eyebrow{font:600 13px/1.4 var(--font-sans);letter-spacing:2px;text-transform:uppercase}
.sample{display:inline-flex;align-items:center;font:600 10px/1 var(--font-sans);letter-spacing:1.2px;text-transform:uppercase;padding:5px 8px;border-radius:999px;background:var(--navy-950);color:#fff;white-space:nowrap}

/* Made-asset placeholder: always visible, always labeled */
.ph{display:inline-flex;align-items:flex-start;gap:8px;max-width:270px;font:600 11px/1.35 var(--font-sans);padding:8px 10px;border-radius:4px;border:1.5px dashed var(--copper);background:rgba(255,255,255,.92);color:var(--navy-950);text-align:left;z-index:15}
.ph b{display:block;letter-spacing:1px;text-transform:uppercase;font-size:10px;color:var(--copper-text)}
.ph::before{content:"";flex:none;width:10px;height:10px;margin-top:3px;border-radius:50%;background:var(--copper)}
.ph--obj{flex-direction:column;align-items:center;justify-content:center;text-align:center;border-radius:50%;width:92px;height:92px;max-width:none;padding:8px;font-size:9.5px;line-height:1.2}
.ph--obj::before{display:none}

@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}

/* Footer: the logo, one line and the support address on the left; a link to every page in four short lists on the right */
.ft{padding:52px 32px 36px;font:500 14px/1.6 var(--font-sans)}
.ft-in{max-width:1120px;margin:0 auto}
.ft-main{display:flex;justify-content:space-between;gap:36px 64px}
.ft-brand{max-width:390px}
.ft-logo{display:inline-block}
.ft-logo img{height:32px;width:auto}
.ft-brand p{margin-top:14px}
.ft-brand p+p{margin-top:8px}
.ft a{text-decoration:none}
.ft .ft-mail{color:var(--navy-900);text-decoration:underline;text-underline-offset:3px}
/* the lists start at even steps; the last one is only as wide as its words, so it ends on the column's edge */
.ft-lists{display:grid;grid-template-columns:repeat(3,150px) max-content;gap:28px 24px}
.ft-lists ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.ft-h{font:700 14px/1.3 var(--font-sans);color:var(--navy-950);margin-bottom:14px}
.ft-lists a{font:500 15px/1.4 var(--font-sans);color:var(--ink-body);white-space:nowrap}
/* a link under the pointer: navy, with the top bar's short copper line */
.ft-lists a:hover{color:var(--navy-900);text-decoration:underline;text-decoration-color:var(--copper);text-decoration-thickness:2px;text-underline-offset:5px}
.ft-base{margin-top:40px;padding-top:20px;border-top:1px solid var(--border)}
.ft--light{background:#fff;color:var(--ink-muted);border-top:1px solid var(--border)}
/* tablets: the lists move under the logo and spread across the column */
@media (max-width:900px){.ft-main{flex-direction:column}.ft-lists{grid-template-columns:repeat(4,1fr)}}
/* phones: the lists sit two by two, each link tall enough for a thumb */
@media (max-width:760px){
  .ft{padding:36px 20px 30px}
  .ft-lists{grid-template-columns:1fr 1fr;gap:22px 24px}
  .ft-lists ul{gap:0}
  .ft-lists a{display:inline-block;padding:10px 0}
  .ft-h{margin-bottom:4px}
  .ft-base{margin-top:26px}
}

/* Phone menu: the Menu button opens the page links as a white panel under the top bar */
@media (max-width:820px){
  .hd.is-open nav{position:absolute;left:12px;right:12px;top:68px;z-index:30;display:flex;flex-direction:column;align-items:stretch;gap:0;margin:0;padding:8px;border-radius:8px;
    background:#fff;color:var(--navy-900);box-shadow:0 24px 50px rgba(21,33,47,.32),0 0 0 1px rgba(30,47,69,.08);text-align:left}
  .hd.is-open nav a:not(.btn){display:block;padding:14px;border-radius:6px;opacity:1;font-size:16px;color:var(--navy-900)}
  .hd.is-open nav a:not(.btn)+a:not(.btn){border-top:1px solid var(--border);border-radius:0}
  .hd.is-open nav a.hd-gift{display:flex;align-items:center;justify-content:flex-start;gap:10px;width:auto;height:auto;margin:0;transform:none;border-top:1px solid var(--border);border-radius:0}
  .hd.is-open nav .btn{order:1}       /* the gift comes after the button in the bar, but the button stays last in the phone menu */
  .hd.is-open .hd-gift svg{width:22px;height:22px}
  .hd.is-open .hd-gift svg{stroke:var(--copper-text)}
  .hd.is-open .hd-gift span{position:static;width:auto;height:auto;overflow:visible;clip-path:none}
  .hd.is-open nav .btn{display:flex;margin:10px 6px 6px;padding:14px 16px;font-size:15px;background:var(--navy-900);color:#fff;box-shadow:0 0 0 3px var(--sand)}
  .hd.is-open .hd-menu span{background:transparent}
  .hd.is-open .hd-menu span::before{top:0;transform:rotate(45deg)}
  .hd.is-open .hd-menu span::after{top:0;transform:rotate(-45deg)}
}

/* The top bar that follows the visitor. Made by menu.js as a second copy of the bar.
   Nothing shows at the top of the page; this slides in once the page is scrolled. */
.hd.hd--stuck{position:fixed;left:0;right:0;top:0;z-index:200;transform:translateY(-105%);visibility:hidden;transition:transform .28s ease,visibility 0s .28s;
  background:rgba(21,33,47,.97);color:#fff;box-shadow:0 8px 24px rgba(21,33,47,.28)}
.hd.hd--stuck.is-on{transform:none;visibility:visible;transition:transform .28s ease}
.hd--stuck .hd-in{padding-top:11px;padding-bottom:11px}
.hd--stuck .hd-logo img{height:30px}
/* Computers: the whole page is drawn smaller (--z), so the top bar is drawn larger to stay easy to read and click */
@media (min-width:1025px) and (hover:hover) and (pointer:fine){
  .hd-in{max-width:1280px;padding:26px 32px;gap:32px}
  .hd-logo img{height:44px}
  .hd nav{gap:6px;font-size:18px}
  .hd nav a:not(.btn):not(.hd-gift){padding:10px 12px;border-radius:8px}
  .hd nav a:not(.btn):not(.hd-gift):hover{opacity:1;background:rgba(255,255,255,.1)}
  .hd--light nav a:not(.btn):not(.hd-gift):hover{background:rgba(30,47,69,.06)}
  .hd nav .btn--sm{margin-left:12px;padding:13px 22px;font-size:17px}
  .hd nav a.hd-gift{width:42px;height:48px;margin-left:2px}
  .hd-gift svg{width:28px;height:28px}
  .hd--stuck .hd-in{padding-top:13px;padding-bottom:13px}
  .hd--stuck .hd-logo img{height:38px}
}
.hd--light.hd--stuck{background:rgba(255,255,255,.98);color:var(--navy-900);box-shadow:0 8px 24px rgba(21,33,47,.14)}
@media (max-width:820px){ .hd--stuck .hd-in{padding-top:9px;padding-bottom:9px} .hd--stuck.is-open nav{top:60px} }

/* On this page: a quiet list in the left margin of wide computer screens (1440px and wider). toc.js sets the holder
   (.toc-wrap) to run from the first section to the footer, so the list sits beside the first section and then stays at the
   top of the window. Its right edge sits 40px left of the widest column (1280px), or clear of wider pieces where the window
   allows. Each line turns white, with a soft dark shadow, over any coloured ground; a small 3D tile travels down the line on the left as the page scrolls. */
.toc-wrap{display:none}
@media (min-width:1440px) and (hover:hover) and (pointer:fine){
  .toc-wrap:not([hidden]){display:block;position:absolute;z-index:150;right:calc(50% + 680px);width:200px;pointer-events:none}
}
@media (min-width:1600px){ .toc-wrap{right:calc(50% + 746px)} }
.toc{position:sticky;top:132px;pointer-events:auto;font:500 15px/1.35 var(--font-sans);color:var(--ink-muted)}
.toc ol{list-style:none;margin:0;padding:0}
.toc a{display:block;color:inherit;text-decoration:none;border-radius:4px;transition:color .2s ease}
.toc a:hover{color:var(--navy-900)}
.toc a:focus-visible{outline:2px solid var(--focus,#1e2f45);outline-offset:2px}
.toc-h{margin:0 0 12px;font:700 12px/1 var(--font-sans);letter-spacing:2px;text-transform:uppercase;color:var(--copper-text);transition:color .2s ease}
.toc>ol{border-left:2px solid rgba(148,156,172,.4)}
.toc>ol>li>a{padding:7px 0 7px 18px}
.toc>ol>li.is-cur>a{color:var(--navy-900);font-weight:700}
.toc ol ol a{position:relative;padding:4px 0 4px 32px;font-size:14px}
.toc ol ol a[aria-current=true]{color:var(--navy-900);font-weight:700}
.toc ol ol a[aria-current=true]::before{content:"";position:absolute;left:18px;top:50%;width:6px;height:6px;margin-top:-3px;border-radius:50%;background:var(--sand)}
.toc .is-dark,.toc .is-dark a{color:#fff;text-shadow:0 1px 3px rgba(13,27,48,.55),0 0 8px rgba(13,27,48,.35)}
.toc .toc-h.is-dark{color:var(--sand)}
.toc a.is-dark:hover,.toc li.is-cur>a.is-dark,.toc ol ol a.is-dark[aria-current=true]{color:#fff}
.toc a.is-dark:focus-visible{outline-color:#fff}
/* browsers that already measure the window at the zoomed-out size (menu.js) get sticky positions wrong under the zoom:
   there the list is held to the window and toc.js moves it into place */
html.vw-raw .toc{position:fixed;top:132px;right:inherit;width:200px}
/* the tile: centred on the line, moved by toc.js (transform) */
.toc-tile{position:absolute;z-index:1;left:-14px;top:0;width:28px;height:28px;margin:0;pointer-events:none;filter:drop-shadow(0 3px 5px rgba(21,33,47,.3))}
/* where the list shows, the bar of tile buttons that follows the visitor is not needed */
html.toc-shown .sw-bar{display:none}

/* Phones: a slim "Book a demo" bar slides up once the first screen has scrolled away and slides back down as the closing
   section comes into view (browsers without scroll-linked animation never show it) */
.db-bar{display:none}
@media (max-width:760px){
  @supports (animation-timeline:scroll()){
    html{timeline-scope:--close}
    #demo{view-timeline:--close block}
    .db-bar{display:block;position:fixed;left:0;right:0;bottom:0;z-index:60;padding:10px max(16px,env(safe-area-inset-left)) calc(10px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-right));
      background:rgba(255,255,255,.92);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:0 -8px 24px rgba(21,33,47,.14);
      animation:db-in linear both,db-out linear both;animation-timeline:scroll(root),--close;animation-range:600px 760px,entry 0% entry 40%}
    .db-bar .btn{display:flex;width:100%;min-height:48px}
  }
}
@keyframes db-in{from{translate:0 110%}to{translate:0 0}}
@keyframes db-out{from{transform:none}to{transform:translateY(110%)}}
