/* Functional additions to the supplied visual system. */
::selection {
  background: #8a6bff55;
  color: #f1eef9;
}
.skip-link {
  position: fixed;
  z-index: 100;
  left: 16px;
  top: 16px;
  transform: translateY(-180%);
  padding: 12px 18px;
  color: #f1eef9;
  background: #12101e;
  border: 1px solid #8a6bff;
  border-radius: 12px;
}
.skip-link:focus {
  transform: none;
}
.pending-link {
  opacity: 0.65;
  cursor: help;
}
.nl-footer-col > .pending-link {
  font: inherit;
}
.nl-input {
  caret-color: var(--accent);
}
.nl-input:disabled {
  cursor: not-allowed;
}
.nl-menu[data-open="false"] {
  visibility: hidden;
}
.nl-menu[data-open="true"] {
  visibility: visible;
}
.nl-form-done .nl-btn {
  margin-top: 16px;
}
.nl-doc main,
.nl-doc p,
.nl-doc li {
  overflow-wrap: anywhere;
}
.nl-doc-section-body,
.nl-arch-wrap {
  min-width: 0;
}
.nl-arch-wrap {
  overscroll-behavior-x: contain;
}
.nl-arch-wrap:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
[hidden] {
  display: none !important;
}
.nl-consent-panel { box-sizing: border-box; position: fixed; z-index: 90; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); left: max(16px, env(safe-area-inset-left, 0px)); width: min(400px, calc(100% - 32px)); padding: 20px; border: 1px solid #494252; border-radius: 16px; background: #171320; color: #f1eef9; box-shadow: 0 12px 48px #0006; font: 400 15px/1.5 "Onest", sans-serif; }
.nl-consent-panel #nl-consent-title { font-weight: 500; color: #f1eef9; }
.nl-consent-panel .nl-body-sm { font: inherit; color: #c9c2dc; }
.nl-consent-panel p { margin: 0 0 12px; }
.nl-consent-panel > div { display: flex; flex-wrap: wrap; gap: 12px; }
.nl-consent-panel button { padding: 12px 16px; border: 1px solid #8a6bff; border-radius: 10px; background: #211b34; color: #f1eef9; font: 500 14px/1.4 "Onest", sans-serif; cursor: pointer; }
.nl-consent-panel button { min-height: 44px; touch-action: manipulation; }
.nl-consent-panel button:hover { background: #34294c; border-color: #c4b4ff; }
.nl-consent-panel a { color: #c1afff; text-underline-offset: 3px; }
.nl-consent-panel a:hover { color: #f1eef9; }
.nl-consent-panel a:focus-visible { outline: 2px solid #c4b4ff; outline-offset: 3px; }
body:has(.nl-consent-panel:not([hidden])) { padding-bottom: 240px; }
.nl-privacy-settings { margin: 16px 0; border: 0; padding: 8px 0; color: inherit; background: none; font: inherit; text-decoration: underline; cursor: pointer; }
.nl-consent-panel button:focus-visible, .nl-privacy-settings:focus-visible, .nl-chat-status a:focus-visible { outline: 2px solid #c4b4ff; outline-offset: 3px; }
.nl-chat-status { margin: 16px 0; font: 400 14px/1.5 "Onest", sans-serif; color: #c9c2dc; }
.nl-chat-status a { color: #c4b4ff; text-underline-offset: 3px; }
.nl-chat-status a:hover { color: #f1eef9; }
.nl-chat-status:empty { display: none; }
.nl-transfer-consent { display: block; font-size: 14px; line-height: 1.5; margin-block: 16px; }
.nl-product-shot { display: block; width: 100%; height: auto; border-radius: inherit; }
.nl-case-result .nl-stat { font-size: clamp(24px, 2.8vw, 40px); }
.nl-case-media:has(.nl-product-shot), .nl-doc-media:has(.nl-product-shot) { aspect-ratio: 8 / 5; overflow: hidden; padding: 0; }
.nl-demo { margin: 0; }
.nl-demo video { display: block; width: 100%; height: auto; background: #110e1a; border: 1px solid var(--line); border-radius: 16px; }
.nl-demo figcaption { margin-top: 12px; font-size: 14px; line-height: 1.6; }
.nl-screen-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
.nl-screen-grid figure { margin: 0; min-width: 0; }
.nl-screen-grid img { border-radius: 12px; }
.nl-screen-grid figcaption { margin-top: 12px; font-size: 14px; }
.nl-service-directory { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 32px; margin-top: 32px; }
.nl-service-directory a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; color: inherit; border-bottom: 1px solid var(--line); text-decoration: none; }
.nl-service-directory a:hover { color: var(--accent); }
.nl-service-faq { border-top: 1px solid var(--line); padding: 18px 0; }
.nl-doc-head > .nl-btn { justify-self: start; }
.nl-service-faq summary { cursor: pointer; font-weight: 600; line-height: 1.5; }
.nl-service-faq p, .nl-recipe-steps p { line-height: 1.7; }
.nl-recipe-steps { padding-left: 24px; }
.nl-recipe-steps h3 { margin-bottom: 8px; }
.nl-recipe-steps li + li { margin-top: 24px; }
@media(max-width: 700px) {
  .nl-screen-grid, .nl-service-directory { grid-template-columns: 1fr; }
  .nl-consent-panel { padding: 16px; bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
  .nl-consent-panel button { flex: 1; padding-inline: 12px; }
  body:has(.nl-consent-panel:not([hidden])) { padding-bottom: 320px; }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  :is(.nl-page, .nl-consent-panel, .nl-privacy-settings, .skip-link),
  :is(.nl-page, .nl-consent-panel) *,
  :is(.nl-page, .nl-consent-panel) *::before,
  :is(.nl-page, .nl-consent-panel) *::after {
    animation: none !important;
    transition: none !important;
  }
  /* Jivo uses an entrance animation to become visible. Finish it instead of
     removing its keyframes (which would leave its mobile launcher invisible). */
  jdiv, jdiv::before, jdiv::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}
