/* Site-wide "Book a demo" popup (#demo-popup), dark Nimble look.
   Loaded from the site's custom code <head>. "html body" outranks the popup's own embed CSS, which comes later in the page.
   The governance-search page carries the same rules in its own stylesheet and also swaps the popup's copy. */
html body #demo-popup {
  background: rgba(4, 5, 6, 0.74);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
html body #demo-popup .popup-demo_inner {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: #0f1011;
  color: #f7f8f8;
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, 0.85);
}
html body #demo-popup .popup-demo_close-icon {
  filter: invert(1);
  opacity: 0.6;
  transition: opacity 0.2s;
}
html body #demo-popup .popup-demo_close-btn:hover .popup-demo_close-icon {
  opacity: 1;
}

/* Left: copy and logos */
html body #demo-popup .popup-dmo_left {
  background: radial-gradient(90% 55% at 0% 0%, rgba(251, 238, 35, 0.07), transparent 70%), #0f1011;
  color: #f7f8f8;
}
html body #demo-popup .popup_rich-text h3 {
  margin-bottom: 22px;
  color: #f7f8f8;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
html body #demo-popup .popup_rich-text p {
  color: #8a8f98;
}
html body #demo-popup .popup_rich-text li {
  color: #d0d6e0;
}
html body #demo-popup .popup_rich-text strong {
  color: #f7f8f8;
}
html body #demo-popup .popup_rich-text ul li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='%23fbee23' fill-opacity='.14'/%3E%3Cpath d='M7.5 12.5l3 3 6-6.5' fill='none' stroke='%23fbee23' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
html body #demo-popup .popup-demo_bottom {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
html body #demo-popup .popup-demo_logos-title {
  color: #8a8f98;
  font-family: 'Dm Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
/* Each row of logos is an even 4-column grid, every mark centered and shrunk to fit its cell. */
html body #demo-popup .popup-demo_logos-group {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  gap: 14px 18px;
}
/* invert (not brightness(0) + invert) keeps two-tone marks readable, e.g. Qodo's icon */
html body #demo-popup .popup-demo_logo {
  max-width: 100%;
  object-fit: contain;
  filter: invert(1) grayscale(1);
  opacity: 0.62;
}

/* Right: the form card hugs the form and sits centered; it goes back to full height when the
   Calendly scheduler fills it after a submit. */
html body #demo-popup .popup-demo_right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(70% 50% at 50% 0%, rgba(251, 238, 35, 0.08), transparent 70%),
    radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.2px) 0 0 / 18px 18px,
    #08090a;
}
html body #demo-popup .popup-demo_form-holder {
  height: auto;
  padding: 30px 28px 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: #141516;
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.9);
}
html body #demo-popup .popup-demo_form-holder:has(#calendly-holder:not(:empty)) {
  height: 100%;
}
html body #demo-popup .gs-dm-head {
  margin: 0 0 18px;
}
html body #demo-popup .popup-demo_form-holder:has(#calendly-holder:not(:empty)) .gs-dm-head {
  display: none;
}
html body #demo-popup .gs-dm-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #fbee23;
  font: 500 11px/1 'Dm Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
html body #demo-popup .gs-dm-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fbee23;
  box-shadow: 0 0 10px rgba(251, 238, 35, 0.7);
}

/* HubSpot form */
html body #demo-popup .hs-input {
  height: 46px;
  margin-bottom: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background-color: #1c1c1f;
  color: #f7f8f8;
  font-size: 15px;
  transition: border-color 0.2s, background-color 0.2s;
}
html body #demo-popup .hs-input::placeholder {
  color: #5f6367;
}
html body #demo-popup .hs-input:hover {
  border-color: rgba(255, 255, 255, 0.18);
}
html body #demo-popup .hs-input:focus {
  border-color: #fbee23;
  background-color: #191a1b;
}
html body #demo-popup .hs-input:-webkit-autofill {
  -webkit-text-fill-color: #f7f8f8;
  -webkit-box-shadow: 0 0 0 100px #1c1c1f inset;
  caret-color: #f7f8f8;
}
html body #demo-popup .is-placeholder {
  color: #5f6367 !important;
}
html body #demo-popup .hs_submit {
  margin-top: 6px;
}
html body #demo-popup .hs-button {
  height: 48px;
  background-color: #fbee23;
  color: #111318;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
html body #demo-popup .hs-button:hover {
  background-color: #fcf25c;
}
html body #demo-popup .hs-button:focus-visible {
  outline: 3px solid #fbee23;
  outline-offset: 2px;
}
html body #demo-popup .legal-consent-container {
  margin-top: 16px !important;
}
html body #demo-popup .legal-consent-container,
html body #demo-popup .legal-consent-container p {
  margin-bottom: 0;
  color: #8a8f98;
  font-size: 12px;
  line-height: 1.5;
}
html body #demo-popup .legal-consent-container a {
  color: #f7f8f8;
  text-decoration-color: rgba(247, 248, 248, 0.35);
  text-underline-offset: 2px;
}
html body #demo-popup .no-list.hs-error-msgs.inputs-list {
  border: 1px solid rgba(240, 82, 82, 0.4);
  background: #1c1c1f;
  color: #f05252;
  box-shadow: none;
}
html body #demo-popup .hs-error-msgs label {
  color: #f05252;
}
