/* Sample evidence pack pop-up (evidence-pack-modal.js): the dialog, on any launch-site page that links
   /sample-evidence-pack. Its HubSpot form's fields are styled in forms.css (.ckm .ck-hsform). Self-contained
   (its own --rs-* values on .ckm), so it works with site.css (homepage) and site-styles.css. */
.ckm {
  --rs-ink: #042f2e;
  --rs-text: #406160;
  --rs-muted: #557170;
  --rs-dark: #125467;
  --rs-mint: #9bf4ef;
  --rs-mint-2: #17b0b5;
  --rs-accent: #0c7c80;
  --rs-alt: #eceff1;
  --rs-r: 16px;
  --rs-r-sq: 8px;
  --rs-r-btn: 6px;
  --rs-sh-photo: 0 24px 60px rgba(4, 47, 46, .16);
  --rs-ease: cubic-bezier(.22, 1, .36, 1);
  --rs-font: "Plus Jakarta Sans", -apple-system, system-ui, "Segoe UI", Roboto, sans-serif;
}
/* The buttons that open it (<button data-ckm-open>): no browser button look, so each one keeps the style of its
   class (.btn, .btn-default-lg, .pr-more), at zero specificity so those classes win. .ckm-link: one in running
   text, styled like the text links around it. */
:where(button[data-ckm-open]) {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: inherit;
  cursor: pointer;
}
button.ckm-link {
  display: inline;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: .15em;
}
html.ckm-lock,
html.ckm-lock body {
  overflow: hidden;
}
.ckm[hidden] {
  display: none;
}
.ckm {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  font-family: var(--rs-font);
}
.ckm .ckm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 47, 46, .55);
}
.ckm .ckm-dialog {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 32px;
  border-radius: var(--rs-r);
  background: #fff;
  box-shadow: var(--rs-sh-photo);
  color: var(--rs-text);
  text-align: left;
  font-size: 16px;
  line-height: 1.55;
}
.ckm .ckm-dialog *,
.ckm .ckm-dialog *::before,
.ckm .ckm-dialog *::after {
  box-sizing: border-box;
}
.ckm .ckm-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--rs-r-btn);
  background: transparent;
  color: var(--rs-ink);
  cursor: pointer;
}
.ckm .ckm-close:hover {
  background: var(--rs-alt);
}
.ckm .ckm-close:focus-visible,
.ckm .ckm-dialog a:focus-visible,
.ckm .ckm-done-h:focus-visible {
  outline: 3px solid var(--rs-accent);
  outline-offset: 2px;
}
.ckm .ckm-eb {
  margin: 0 52px 6px 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--rs-text);
}
.ckm .ckm-title {
  margin: 0 52px 8px 0;
  font-family: var(--rs-font);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.01em;
  color: var(--rs-ink);
}
.ckm .ckm-intro {
  margin: 0 0 20px;
  font-size: 15px;
}
.ckm .ckm-form {
  display: grid;
  gap: 14px;
  margin: 0;
}
.ckm .ckm-consent {
  margin: 0;
  font-size: 13px;
  color: var(--rs-muted);
}
.ckm .ckm-dialog a {
  color: var(--rs-dark);
  text-decoration: underline;
}
.ckm .ckm-done {
  display: none;
}
.ckm.sent .ckm-form,
.ckm.sent .ckm-intro {
  display: none;
}
.ckm.sent .ckm-done {
  display: block;
}
.ckm .ckm-done-h {
  margin: 8px 0 8px;
  font-family: var(--rs-font);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--rs-ink);
}
.ckm .ckm-done p {
  margin: 0;
  font-size: 15px;
}
.ckm .ckm-more {
  margin: 16px 0 0;
  font-size: 14px;
}
@media (max-width: 520px) {
  .ckm {
    padding: 8px;
  }
  .ckm .ckm-dialog {
    padding: 24px 20px;
    max-height: calc(100vh - 16px);
    max-height: calc(100dvh - 16px);
  }
  .ckm .ckm-title {
    font-size: 21px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .ckm .ckm-dialog {
    animation: ckm-in .2s var(--rs-ease);
  }
}
@keyframes ckm-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
