/* Shared Paper design system for every Cuebase website page. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/bricolage-grotesque-variable.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/ibm-plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  --cb-white: #fff;
  --cb-blue: #2454ff;
  --cb-ink: #17191d;
  --cb-muted: #59616e;
  --cb-line: #e2e5eb;
  --cb-pale: #edf2ff;
  --cb-soft: #f7f8fa;
  --cb-head: "Bricolage Grotesque", system-ui, sans-serif;
  --cb-sans: system-ui, sans-serif;
  --cb-mono: "IBM Plex Mono", ui-monospace, monospace;
}
html {
  scroll-padding-top: 120px;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  font-family: var(--cb-sans);
  font-weight: 400;
}
.paper-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  height: 100px;
  padding: 0 72px;
  border-bottom: 1px solid var(--cb-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.paper-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: 700 30px/36px var(--cb-head);
  letter-spacing: -0.04em;
}
.paper-brand img {
  display: block;
  flex-shrink: 0;
  height: 34px;
  width: auto;
}
.paper-nav nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.paper-nav nav > a:not(.button):hover,
.paper-footer a:hover {
  color: var(--cb-blue);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 8px;
  padding: 14px 22px;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  transition:
    transform 0.15s,
    background 0.15s;
}
.button:hover {
  transform: translateY(-1px);
}
.button-dark {
  background: var(--cb-ink);
  color: #fff;
}
.button-blue {
  background: var(--cb-blue);
  color: #fff;
  padding: 18px 26px;
  font-size: 17px;
  line-height: 22px;
}
.paper-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 72px;
  gap: 24px;
}
.paper-footer .paper-brand {
  font-size: 24px;
  line-height: 30px;
}
.paper-footer > div {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--cb-muted);
  font-size: 14px;
  line-height: 18px;
}
.paper-footer span {
  white-space: nowrap;
}
@media (min-width: 1051px) and (max-width: 1280px) {
  .paper-nav,
  .paper-footer {
    padding-inline: 5vw;
  }
}
@media (max-width: 1050px) {
  html {
    scroll-padding-top: 103px;
  }
  .paper-nav {
    height: 83px;
    padding: 20px 24px;
  }
  .paper-brand {
    gap: 8px;
    font-size: 24px;
    line-height: 30px;
  }
  .paper-brand img {
    height: 28px;
    width: auto;
  }
  .paper-nav nav {
    gap: 0;
  }
  .paper-nav nav > a:not(.button) {
    display: none;
  }
  .paper-nav .button {
    padding: 12px 14px;
    font-size: 14px;
    line-height: 18px;
  }
  .paper-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 32px;
    padding: 64px 24px;
  }
  .paper-footer > div {
    flex-wrap: wrap;
    gap: 18px;
  }
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  background: #fff;
  color: var(--cb-ink);
  font: 400 18px/30px var(--cb-sans);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
:focus-visible {
  outline: 3px solid var(--cb-blue);
  outline-offset: 5px;
}
.paper-nav {
  font: 400 16px/20px var(--cb-sans);
}
.paper-nav a[aria-current] {
  color: var(--cb-blue);
}
.paper-nav .button-dark {
  color: #fff;
}
.paper-landing .button-blue {
  color: #fff;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
