@charset "UTF-8";
/* ==========================================================================
   Motion: the premium layer. Every rule sits under html.m-on, which
   assets/js/motion.js sets, so without that script the app looks as before.
   Movement is short and quiet (it is a working tool), and nothing moves with
   "reduce motion" switched on.
   ========================================================================== */
:root {
  --m-out: cubic-bezier(.16, 1, .3, 1);          /* expo out: arrives fast, settles slowly */
  --m-spring: cubic-bezier(.34, 1.36, .64, 1);   /* a small overshoot */
  --m-light: rgba(14, 16, 47, .05);              /* the pointer light on a card */
}
[data-theme="dark"] { --m-light: rgba(255, 255, 255, .065); }

/* ---- page: its blocks rise in, one after another (only blocks in view) ---- */
html.m-on .page.is-entering { animation: none; }
html.m-on .m-in { animation: m-rise .62s var(--m-out) backwards; animation-delay: calc(var(--mi, 0) * 55ms); }
@keyframes m-rise { from { opacity: 0; transform: translateY(14px) scale(.985); filter: blur(5px); } }

/* ---- numbers count up (done in motion.js); a changed number gives a soft glow ---- */
html.m-on .m-tick { animation: m-tick 1.1s ease-out; border-radius: 6px; }
@keyframes m-tick { 0% { background: color-mix(in srgb, var(--orange, #EE5A24) 16%, transparent); } 100% { background: transparent; } }

/* ---- main navigation: one pill that slides to the page you open ---- */
html.m-on .nav { position: relative; isolation: isolate; }
html.m-on .nav-ind {
  position: absolute; top: 0; left: 0; z-index: -1; border-radius: 999px; background: var(--primary);
  box-shadow: 0 6px 16px -8px rgba(14, 16, 47, .55);
  transition: transform .5s var(--m-spring), width .5s var(--m-spring), opacity .2s ease;
  pointer-events: none;
}
html.m-on .nav-ind.no-anim { transition: none; }
html.m-on .nav.has-ind a[aria-current="page"], html.m-on .nav.has-ind a[aria-current="page"]:hover { background: transparent; }
html.m-on .nav.has-ind a { transition: background .15s, color .3s ease; }

/* ---- forms (sheets) and dialogs: a softer, springier arrival ---- */
html.m-on .sheet { transition: transform .55s var(--m-out), opacity .3s ease; }
html.m-on .sheet-wrap.closing .sheet { transition-duration: .2s; transition-timing-function: ease-in; }
html.m-on .sheet-wrap .scrim, html.m-on .dialog-wrap .scrim { -webkit-backdrop-filter: blur(3px) saturate(1.1); backdrop-filter: blur(3px) saturate(1.1); }
html.m-on .m-sh { animation: m-rise .5s var(--m-out) backwards; animation-delay: calc(80ms + var(--mi, 0) * 40ms); }
html.m-on .dialog { transform: scale(.94) translateY(8px); transition: transform .42s var(--m-spring), opacity .2s ease; }
html.m-on .dialog-wrap.open .dialog { transform: none; }

/* ---- buttons: a light sweep on hover, a springy press ---- */
html.m-on .btn { transition: background .15s, color .15s, border-color .15s, transform .26s var(--m-spring), box-shadow .2s; }
html.m-on .btn:active { transform: scale(.96); transition-duration: .08s; }
html.m-on .btn-dark, html.m-on .ab-quick { position: relative; overflow: hidden; isolation: isolate; }
html.m-on .btn-dark::after, html.m-on .ab-quick::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .22) 48%, transparent 66%);
  transform: translateX(-120%);
}
html.m-on .ab-quick::after { background: linear-gradient(105deg, transparent 30%, rgba(14, 16, 47, .07) 48%, transparent 66%); }
@media (hover: hover) {
  html.m-on .btn-dark:hover::after, html.m-on .ab-quick:hover::after { transform: translateX(120%); transition: transform .75s var(--m-out); }
  html.m-on .btn-dark:hover { box-shadow: 0 8px 20px -10px rgba(14, 16, 47, .6); }
}

/* ---- cards: a soft light follows the pointer; lorry cards lift a little ---- */
html.m-on .kpi, html.m-on .fig, html.m-on .vcard { position: relative; isolation: isolate; }
html.m-on .kpi::after, html.m-on .fig::after, html.m-on .vcard::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 1;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), var(--m-light), transparent 70%);
  opacity: 0; transition: opacity .35s ease;
}
html.m-on .kpi.is-feature::after { background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .2), transparent 70%); }
@media (hover: hover) {
  html.m-on .kpi:hover::after, html.m-on .fig:hover::after, html.m-on .vcard:hover::after { opacity: 1; }
  html.m-on .vcard { transition: border-color .2s, box-shadow .3s, transform .4s var(--m-out); }
  html.m-on .vcard:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(14, 16, 47, .35); }
}

/* the Sales card: one slow sheen as the page opens */
html.m-on .kpi.is-feature { overflow: hidden; }
html.m-on .kpi.is-feature::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .26) 50%, transparent 65%);
  transform: translateX(-110%);
}
html.m-on .kpi.is-feature.m-in::before { animation: m-sheen 1.5s var(--m-out) .45s both; }
@keyframes m-sheen { to { transform: translateX(110%); } }

/* ---- still: reduce motion, and print ---- */
@media (prefers-reduced-motion: reduce) {
  html.m-on .m-in, html.m-on .m-sh, html.m-on .m-tick, html.m-on .kpi.is-feature.m-in::before { animation: none; }
  html.m-on .nav-ind, html.m-on .vcard, html.m-on .btn { transition: none; }
  html.m-on .vcard:hover { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  html.m-on .sheet-wrap .scrim, html.m-on .dialog-wrap .scrim { -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media print {
  html.m-on .m-in, html.m-on .m-sh { animation: none; }
  html.m-on .kpi::after, html.m-on .fig::after, html.m-on .vcard::after, html.m-on .kpi.is-feature::before, html.m-on .nav-ind { display: none; }
}
