/* Salesforge rebuild: shared styles for every page.
   New code written for this rebuild. Design values (colours, sizes, breakpoints) follow salesforge.ai. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #101828;          /* headings, dark backgrounds */
  --ink-2: #1d2939;
  --body: #475467;         /* body text */
  --gray-700: #344054;
  --gray-500: #667085;
  --gray-400: #98a2b3;
  --gray-300: #d0d5dd;
  --gray-200: #eaecf0;
  --gray-100: #f2f4f7;
  --gray-50: #f9fafb;
  --violet: #6e40d7;
  --violet-hover: #5e39b4;
  --violet-50: #f9f5ff;
  --violet-100: #f4ebff;
  --white: #fff;
  --radius: 8px;
  --shadow-xs: 0 1px 2px rgba(16, 24, 40, 0.05);
  --nav-h: 81px;
  --out-circ: cubic-bezier(.075, .82, .165, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  margin: 0;
  min-height: 100%;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.4;
  color: var(--body);
  background: var(--white);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
:where(ul[role="list"]) { list-style: none; margin: 0; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* page frame: 3% side gutters, 1280px content */
.wrap { width: 100%; padding-left: 3%; padding-right: 3%; }
.container { width: 100%; max-width: 1280px; margin-left: auto; margin-right: auto; position: relative; }
@media (max-width: 767px) { .wrap { padding-left: 16px; padding-right: 16px; } }

/* thin full-width rules between sections */
.rule { height: 1px; background: var(--gray-200); }
@media (max-width: 991px) { .rule--desktop { display: none; } }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 16px; border-radius: var(--radius);
  font-weight: 600; white-space: nowrap; line-height: 1.4;
  border: 1px solid var(--violet); background: var(--violet); color: var(--white);
  box-shadow: var(--shadow-xs); transition: background-color .4s, border-color .4s, color .4s;
}
.btn:hover { background: var(--violet-hover); border-color: var(--violet-hover); }
.btn--light { background: var(--white); color: var(--gray-700); border-color: var(--gray-300); }
.btn--light:hover { background: var(--gray-50); border-color: var(--gray-300); }

/* ---------------------------------------------------------------- header */
.nav {
  position: sticky; top: 0; z-index: 999;
  background: var(--white); border-bottom: 1px solid var(--gray-200);
}
.nav__bar { height: 80px; display: flex; align-items: center; justify-content: center; }
.nav__logo {
  position: absolute; left: -20px; top: 0; bottom: 0;
  display: flex; align-items: center; padding: 0 20px; z-index: 1;
}
.nav__logo img { width: 158px; height: 30px; }
.nav__menu { display: flex; align-items: center; justify-content: center; gap: .2vw; padding: 0 32px; }
.nav__link {
  display: flex; align-items: center; gap: 10px;
  padding: 12px; border-radius: var(--radius);
  font-weight: 500; color: #222; white-space: nowrap; transition: background-color .4s;
}
.nav__link:hover, .nav__dd.is-open .nav__dd-toggle { background: var(--gray-100); }
.nav__dd { position: relative; }
.nav__dd-toggle { padding: 12px 8px 12px 12px; }
.nav__chev { width: 16px; height: 16px; }
/* desktop: the panel rises 2rem and fades in (Frank: 200 ms move, 300 ms fade, "outCirc") */
.nav__dd-panel {
  position: absolute; top: 46px; left: 0; min-width: 100%; z-index: 900;
  padding: 12px 16px 24px; background: var(--white);
  border: 1px solid var(--gray-200); border-radius: var(--radius); box-shadow: 0 20px 24px rgba(0, 0, 0, .03);
  opacity: 0; visibility: hidden; transform: translateY(2rem); pointer-events: none;
  transition: opacity .3s var(--out-circ), transform .3s var(--out-circ), visibility 0s .3s;
}
.nav__dd.is-open .nav__dd-panel {
  opacity: 1; visibility: visible; transform: none; pointer-events: auto;
  transition: opacity .3s var(--out-circ), transform .2s var(--out-circ);
}
.nav__dd-list { display: flex; flex-direction: column; min-width: 17rem; }
.nav__dd-shadow { position: absolute; left: 0; right: 0; bottom: -10rem; height: 10rem; overflow: hidden; pointer-events: none; }
.nav__dd-shadow::before {
  content: ""; position: absolute; top: -5rem; left: 20%; width: 60%; height: 80px;
  border-radius: 9999px; background: #000; opacity: .1; filter: blur(3rem);
}
.nav__dd-item {
  display: flex; align-items: flex-start; gap: 14px; padding: 12px;
  border-radius: var(--radius); transition: background-color .4s;
}
.nav__dd-item:hover { background: var(--gray-100); }
.nav__dd-icon { width: 20px; height: 20px; flex: none; color: var(--violet); }
.nav__dd-icon svg { width: 100%; height: 100%; }
.nav__dd-text { display: flex; flex-direction: column; gap: 4px; color: var(--ink); }
.nav__dd-title { font-size: 15px; font-weight: 600; line-height: 1.4; }
.nav__dd-sub { font-size: 13px; line-height: 1.4; color: var(--gray-700); }
.nav__burger { display: none; }

@media (max-width: 991px) {
  :root { --nav-h: 65px; }
  .nav .wrap { padding-left: 0; padding-right: 0; }
  .nav__bar { height: 64px; justify-content: flex-end; }
  .nav__logo { left: 0; height: 64px; }
  .nav__burger {
    display: flex; justify-content: flex-end; align-items: flex-start;
    width: 64px; height: 64px; padding: 16px 16px 0 16px; position: relative; z-index: 2;
  }
  .nav__burger-box { width: 32px; height: 32px; overflow: hidden; position: relative; }
  .nav__burger-box svg { width: 32px; height: 32px; transition: transform .3s cubic-bezier(.22, 1, .36, 1); }
  .nav__burger-box .nav__burger-x { position: absolute; left: 0; top: 0; transform: translateY(32px); }
  .nav.is-open .nav__burger-lines { transform: translateY(-32px); }
  .nav.is-open .nav__burger-x { transform: translateY(0); }
  .nav__menu {
    position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    padding: 0 32px; background: var(--white); overflow: auto;
    opacity: 0; visibility: hidden;
    transition: opacity .3s, visibility 0s .3s;
  }
  .nav.is-open .nav__menu { opacity: 1; visibility: visible; transition: opacity .3s; }
  .nav__link {
    width: 100%; height: 64px; padding: 0 20px; border-radius: 0;
    border-bottom: 1px solid var(--gray-200); background: var(--white); font-size: 18px;
    justify-content: space-between;
    transition: background-color .3s var(--out-circ), border-color .3s var(--out-circ);
  }
  .nav__link:hover { background: var(--white); }
  .nav__dd.is-open .nav__dd-toggle { background: var(--gray-50); border-bottom-color: var(--gray-50); transition-duration: .1s; }
  .nav__dd-toggle { padding: 0 20px; }
  .nav__chev { width: 24px; height: 24px; transition: transform .3s var(--out-circ); }
  .nav__dd.is-open .nav__chev { transform: rotate(180deg); }
  /* phone menu: the list opens downward (Frank: 500 ms open, 300 ms close, "outCirc") */
  .nav__dd-panel {
    position: static; display: grid; grid-template-rows: 0fr; padding: 0; min-width: 0;
    border: 0; border-radius: 0; box-shadow: none; background: var(--gray-50);
    opacity: 1; visibility: visible; transform: none; pointer-events: auto;
    transition: grid-template-rows .3s var(--out-circ);
  }
  .nav__dd.is-open .nav__dd-panel { grid-template-rows: 1fr; transition: grid-template-rows .5s var(--out-circ); }
  .nav__dd-list { min-width: 0; min-height: 0; overflow: hidden; }
  .nav__dd-list::after { content: ""; display: block; height: 20px; border-bottom: 1px solid var(--gray-200); }
  .nav__dd-shadow { display: none; }
  .nav__dd-item {
    padding: 12px 20px; gap: 20px; align-items: center; border-radius: 0;
  }
  .nav__dd-item:hover { background: var(--gray-50); }
  .nav__dd-icon { width: 24px; height: 24px; }
  .nav__dd-text { gap: 2px; }
  .nav__dd-title { font-size: 16px; font-weight: 500; }
  .nav__dd-sub { font-size: 15px; }
  body.nav-locked { overflow: hidden; }
}

/* screenshot mode for the build checks: no motion, fixed first frames */
.shot *, .shot *::before, .shot *::after { animation: none !important; transition: none !important; }
