/* ===========================================================================
   Site chrome: header, navigation, CTA buttons, footer.
   Follows design/Unicorn.pm (Marketing website). Hand-written rather than
   Tailwind utilities so it needs no CSS rebuild to change.
   ======================================================================== */
:root {
  --uc-pink: #E6007E;
  --uc-pink-dark: #C4006C;
  --uc-pink-tint: #FFF7FB;
  --uc-ink: #111827;
  --uc-body: #374151;
  --uc-body2: #4B5563;
  --uc-blue: #425ad6;
  --uc-blue-tint: #DFE4FA;
  --uc-blue-soft: #F4F6FE;
  --uc-muted: #6B7280;
  --uc-faint: #9CA3AF;
  --uc-line: #E5E7EB;
  --uc-hairline: #F3F4F6;
  --uc-wash: #F9FAFB;
}

/* Page background, per the designs (body { background: #ffffff }). Set on
   html, not body: with html left transparent, a body background would paint
   over the hero wash, which sits at z-index -1. Without any background, the
   page is transparent and shows whatever the browser puts behind it (a dark
   canvas in forced-dark modes and some embedded previews). */
html { background-color: #fff; color-scheme: light; }
/* Long words never push past the screen: Dutch compounds such as
   "applicatieportfoliomanagement" get hyphenated where Dutch allows, and
   any word that still does not fit wraps instead of overflowing. `anywhere`
   rather than `break-word`, because only `anywhere` also stops a long word
   from stretching its grid or flex column wider than the screen (browsers
   without a Dutch hyphenation dictionary, such as Chrome on Windows). */
h1, h2, h3, h4 { overflow-wrap: anywhere; }
:lang(nl) h1, :lang(nl) h2, :lang(nl) h3, :lang(nl) h4 { -webkit-hyphens: auto; hyphens: auto; }

/* ------------------------------------------------------------------ header */
/* The fixed wrapper (baseof.html) ignores the body padding that stands in for
   the scrollbar while a modal locks the page scroll, so it is inset by
   --uc-sbw itself and the header doesn't shift sideways. */
.uc-headerwrap { right: var(--uc-sbw, 0px); }
.uc-header { position: sticky; top: 0; z-index: 40; padding: 14px 20px 0; }
.uc-header-inner { position: relative; max-width: 1160px; margin: 0 auto; }

/* Floating pill bar: translucent over whatever scrolls beneath it. */
.uc-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: rgba(255, 255, 255, .6);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 99px;
  padding: 9px 12px 9px 22px;
  box-shadow: 0 8px 28px rgba(17, 24, 39, .08), inset 0 1px 0 rgba(255, 255, 255, .8);
}
.uc-brand { display: flex; align-items: center; }
.uc-brand img { height: 30px; display: block; }

.uc-nav { display: flex; align-items: center; gap: 2px; font-size: 14.5px; font-weight: 500; }
.uc-nav a, .uc-nav button { white-space: nowrap; }
.uc-nav > a,
.uc-navtrigger {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 99px;
  color: var(--uc-body); background: none; border: 0;
  font: inherit; cursor: pointer;
  transition: background .15s, color .15s;
}
.uc-nav > a:hover, .uc-navtrigger:hover { background: var(--uc-wash); color: var(--uc-pink); }

/* Hover/focus dropdowns, no script. The padding-top keeps the pointer inside
   the hover area while it travels from the trigger to the panel. */
.uc-drop { position: relative; }
.uc-dropmenu {
  visibility: hidden; opacity: 0; transform: translateY(4px);
  transition: opacity .15s ease, transform .15s ease;
  position: absolute; top: 100%; left: 0; padding-top: 10px; z-index: 30;
}
.uc-drop:hover .uc-dropmenu,
.uc-drop:focus-within .uc-dropmenu,
.uc-drop.is-open .uc-dropmenu { visibility: visible; opacity: 1; transform: translateY(0); }

.uc-panel {
  background: #fff; border: 1px solid var(--uc-hairline); border-radius: 16px;
  box-shadow: 0 12px 36px rgba(17, 24, 39, .10); padding: 10px;
}
.uc-featuregrid { display: grid; grid-template-columns: repeat(3, 210px); gap: 6px; }
.uc-featuregrid.is-wide { grid-template-columns: repeat(2, 250px); }
.uc-featuregrid a { display: block; padding: 14px; border-radius: 12px; color: var(--uc-ink); transition: background .15s; }
.uc-featuregrid a:hover { background: var(--uc-pink-tint); color: var(--uc-ink); }
.uc-feature-name { display: block; font-size: 14px; font-weight: 700; }
.uc-feature-desc { display: block; font-size: 12.5px; color: var(--uc-muted); line-height: 1.5; margin-top: 4px; white-space: normal; }

/* ------------------------------------------------------- language switcher */
.uc-langbtn {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--uc-line); background: #fff; border-radius: 99px;
  padding: 10px 14px; font-size: 13px; line-height: 19px; box-sizing: border-box;
  font-weight: 600; font-family: inherit; color: var(--uc-body);
  cursor: pointer; transition: border-color .15s;
}
.uc-langbtn:hover { border-color: var(--uc-pink); }
.uc-langmenu { left: auto; right: 0; }
.uc-langpanel { display: flex; flex-direction: column; gap: 2px; border-radius: 12px; min-width: 180px; padding: 8px; }
.uc-langhead { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--uc-faint); padding: 4px 12px 6px; }
.uc-langopt { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--uc-body); }
.uc-langopt:hover { background: var(--uc-wash); color: var(--uc-ink); }
.uc-langopt.is-on { background: var(--uc-pink-tint); color: var(--uc-pink); }
.uc-langopt .uc-check { margin-left: auto; display: inline-flex; }
.uc-flag { border-radius: 50%; display: block; flex-shrink: 0; }
/* func/flag.html emits a bare <svg> with no intrinsic size. Without a size
   here it expands to fill whatever box it lands in. */
.lang-switch__flag { width: 16px; height: 16px; border-radius: 50%; display: block; flex-shrink: 0; }
.lang-switch__code { font-size: 10px; font-weight: 700; color: var(--uc-body); }

/* ------------------------------------------------------------------ buttons
   Hover: the button lifts a little, its shadow deepens and the arrow nudges
   forward; the primary also shifts its gradient, gains a soft violet halo and
   a light sheen sweeps across it. Pressing settles it back down. The lift
   only applies on devices that can hover, so taps don't leave it raised. */
.uc-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 22px; border-radius: 99px; border: 0;
  font-size: 14.5px; font-weight: 600; letter-spacing: .3px; font-family: inherit;
  cursor: pointer; text-align: center;
  transition: transform .22s cubic-bezier(.2, .8, .2, 1), box-shadow .25s ease,
              background-position .6s ease, border-color .15s, color .15s;
}
.uc-btn svg { flex-shrink: 0; transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
.uc-btn:hover svg { transform: translateX(3px); }
.uc-btn:active { transform: translateY(0) scale(.98); transition-duration: .08s; }
.uc-btn:focus-visible { outline: 2px solid #7c3aed; outline-offset: 3px; }
@media (hover: hover) {
  .uc-btn:hover { transform: translateY(-1px); }
  .uc-btn-lg:hover { transform: translateY(-2px); }
}

.uc-btn-primary {
  background: linear-gradient(100deg, #425ad6 0%, #7c3aed 50%, #425ad6 100%);
  background-size: 200% 100%; background-position: 0% 0%;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(66, 90, 214, .35);
  overflow: hidden; isolation: isolate;
}
.uc-btn-primary:hover {
  color: #fff !important; background-position: 100% 0%;
  box-shadow: 0 10px 24px -6px rgba(66, 90, 214, .6), 0 0 0 4px rgba(124, 58, 237, .14);
}
/* The sheen: parked off the left edge, it sweeps across once per hover and
   jumps back unseen when the pointer leaves. */
.uc-btn-primary::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 60%; z-index: -1;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, .32) 50%, rgba(255, 255, 255, 0) 80%);
  transform: translateX(-110%); pointer-events: none;
}
.uc-btn-primary:hover::after { transform: translateX(280%); transition: transform .75s ease; }

.uc-btn-secondary { background: #fff; color: var(--uc-ink) !important; border: 1px solid var(--uc-line); }
.uc-btn-secondary:hover { border-color: var(--uc-pink); color: var(--uc-pink) !important; box-shadow: 0 8px 20px -8px rgba(230, 0, 126, .35); }
.uc-btn-lg { padding: 14px 28px; font-size: 16px; }

@media (prefers-reduced-motion: reduce) {
  .uc-btn, .uc-btn svg { transition: color .15s, border-color .15s, box-shadow .15s; }
  .uc-btn:hover, .uc-btn:hover svg, .uc-btn:active { transform: none; }
  .uc-btn-primary::after { display: none; }
}

/* --------------------------------------------------------------- mobile nav */
.uc-mob { display: none; position: static; }
.uc-mobtn {
  width: 40px; height: 40px; border-radius: 99px; border: 1px solid var(--uc-line);
  background: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.uc-mobtn:hover { border-color: var(--uc-pink); }
.uc-drawer {
  visibility: hidden; opacity: 0; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease;
  position: absolute; top: calc(100% + 10px); left: 0; right: 0; z-index: 50;
}
/* .is-open is set by js/menus.js on tap (Safari never focuses a tapped
   button, so :focus-within alone did not open the drawer on iPhones). */
.uc-mob:focus-within .uc-drawer,
.uc-mob.is-open .uc-drawer { visibility: visible; opacity: 1; transform: translateY(0); }
.uc-drawer-panel {
  display: flex; flex-direction: column; gap: 2px; background: #fff;
  border: 1px solid var(--uc-hairline); border-radius: 20px;
  box-shadow: 0 16px 48px rgba(17, 24, 39, .14); padding: 14px;
}
.uc-drawer a { padding: 12px 14px; border-radius: 12px; font-size: 16px; font-weight: 600; color: var(--uc-ink); }
.uc-drawer a:hover { color: var(--uc-pink); }
.uc-drawer .uc-sub { padding: 8px 14px 8px 30px; font-size: 14.5px; color: var(--uc-muted); font-weight: 500; }
.uc-drawer-langs { display: flex; gap: 8px; padding: 10px 14px 2px; }
.uc-drawer-langs a, .uc-drawer-langs span {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px;
  border: 1px solid var(--uc-line); border-radius: 99px; font-size: 13.5px; font-weight: 600;
  color: var(--uc-body);
}
.uc-drawer-langs .is-on { background: var(--uc-pink-tint); border-color: var(--uc-pink); color: var(--uc-pink); }

/* ------------------------------------------------------------------ footer */
.uc-footer { border-top: 1px solid var(--uc-hairline); padding: 40px 48px 24px; }
.uc-footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; }
.uc-footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.uc-footer-brand img { height: 32px; display: block; }
.uc-social {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border: 1px solid var(--uc-line); border-radius: 8px;
  color: var(--uc-muted); transition: color .15s, border-color .15s;
}
.uc-social:hover { color: var(--uc-pink); border-color: var(--uc-pink); }
.uc-footer-head { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--uc-faint); margin-bottom: 12px; }
.uc-footer-links { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; }
.uc-footer-links a { color: var(--uc-body); }
.uc-footer-links a:hover { color: var(--uc-pink); }
.uc-footer-bottom { max-width: 1200px; margin: 32px auto 0; padding-top: 20px; border-top: 1px solid var(--uc-hairline); font-size: 13px; color: var(--uc-faint); text-align: center; }
/* The language switch sits quietly under the copyright line. */
.uc-footer-bottom { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.uc-footer-lang { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--uc-faint); }
.uc-footer-lang svg { flex-shrink: 0; opacity: .8; }
.uc-footer-lang a { color: var(--uc-faint); transition: color .15s; }
.uc-footer-lang a:hover { color: var(--uc-pink); }
.uc-footer-lang [aria-current] { color: var(--uc-muted); }
.uc-footer-lang-sep { opacity: .6; }

/* ------------------------------------------------------------- responsive */
@media (max-width: 1120px) {
  .uc-nav { display: none !important; }
  .uc-mob { display: block; }
  .uc-lang { display: none !important; }
}
@media (max-width: 1024px) {
  .uc-footer-grid { grid-template-columns: repeat(4, 1fr); gap: 32px 24px; }
  .uc-footer-brand { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (max-width: 760px) {
  .uc-footer { padding: 32px 20px 20px; }
  .uc-footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* Wide screens: keep the pill bar and the footer in step with the wider
   page container that page-sections.css switches to at the same width. */
@media (min-width: 1600px) {
  .uc-header-inner { max-width: 1320px; }
  .uc-footer-grid,
  .uc-footer-bottom { max-width: 1360px; }
}

/* The drawer carries its own Request Demo button, so on the narrowest phones
   the one in the bar can step aside and leave the logo room to breathe. */
.uc-drawer-cta { margin-top: 10px; }
.uc-drawer .uc-drawer-cta { padding: 13px; font-size: 15px; color: #fff; }
@media (max-width: 430px) {
  .uc-bar-cta { display: none; }
}

/* ---------------------------------------------------------- cookie consent
   A floating card, bottom left. It never blocks the page (no cookie wall),
   and Reject and Accept share one style and size so neither is nudged. */
.uc-cc {
  position: fixed; left: 20px; bottom: 20px; z-index: 80;
  width: 400px; max-width: calc(100vw - 24px);
  opacity: 0; transform: translateY(16px);
  transition: opacity .22s ease, transform .22s cubic-bezier(.16, 1, .3, 1);
}
.uc-cc.is-open { opacity: 1; transform: none; }

/* Language suggestion bar (partials/lang-suggest.html). Bottom-right on wide
   screens, clear of the cookie banner bottom-left; at the top, under the
   header, below 1180px so the two never overlap. */
.uc-langsuggest {
  /* --uc-sbw: the scrollbar's width while a modal locks the page scroll. */
  position: fixed; right: calc(20px + var(--uc-sbw, 0px)); bottom: 20px; z-index: 79; max-width: calc(100vw - 24px);
  display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 14px;
  background: #fff; border: 1px solid var(--uc-line); border-radius: 16px;
  box-shadow: 0 18px 50px rgba(17, 24, 39, .14), 0 2px 6px rgba(17, 24, 39, .05);
  font-size: 14px; color: var(--uc-body);
  opacity: 0; transform: translateY(16px);
  transition: opacity .22s ease, transform .22s cubic-bezier(.16, 1, .3, 1);
}
.uc-langsuggest.is-open { opacity: 1; transform: none; }
.uc-langsuggest-flag { display: flex; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; overflow: hidden; }
.uc-langsuggest-flag svg { width: 100%; height: 100%; }
.uc-langsuggest-text { line-height: 1.4; }
.uc-langsuggest-cta {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; white-space: nowrap;
  padding: 8px 14px; border-radius: 99px; font-weight: 600; font-size: 13.5px;
  color: #fff; background: linear-gradient(135deg, var(--uc-blue), #7C5CFF);
}
.uc-langsuggest-cta:hover { filter: brightness(1.08); }
.uc-langsuggest-close {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 32px; height: 32px; border-radius: 50%; border: 0; background: none; color: var(--uc-faint); cursor: pointer;
}
.uc-langsuggest-close:hover { background: var(--uc-wash); color: var(--uc-ink); }
@media (max-width: 1180px) {
  .uc-langsuggest { top: 88px; bottom: auto; transform: translateY(-12px); }
}
@media (max-width: 900px) {
  .uc-langsuggest { left: 12px; right: 12px; flex-wrap: wrap; }
  .uc-langsuggest-text { flex: 1 1 0; min-width: 0; }
  .uc-langsuggest-cta { order: 3; flex: 1 1 100%; justify-content: center; }
}
.uc-cc-card {
  background: #fff; border: 1px solid var(--uc-line); border-radius: 20px;
  box-shadow: 0 18px 50px rgba(17, 24, 39, .16), 0 2px 6px rgba(17, 24, 39, .05);
  padding: 22px;
}
.uc-cc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.uc-cc-icon {
  width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0;
  background: #FCE0EF; color: var(--uc-pink);
  display: flex; align-items: center; justify-content: center;
}
.uc-cc-title { font-size: 15.5px; font-weight: 700; color: var(--uc-ink); margin: 0; line-height: 1.3; }
.uc-cc-text { font-size: 13.5px; line-height: 1.6; color: var(--uc-muted); margin: 0; }
.uc-cc-text a { color: var(--uc-pink); font-weight: 600; white-space: nowrap; }
.uc-cc-text a:hover { color: var(--uc-pink-dark); }

/* Second layer */
.uc-cc-prefs { margin-top: 16px; border-top: 1px solid var(--uc-hairline); }
.uc-cc-cat { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--uc-hairline); }
.uc-cc-cat-name { font-size: 14px; font-weight: 700; color: var(--uc-ink); margin-bottom: 3px; }
.uc-cc-cat-desc { font-size: 12.5px; line-height: 1.55; color: var(--uc-muted); }
.uc-cc-always {
  flex-shrink: 0; font-size: 11.5px; font-weight: 700; letter-spacing: .02em;
  color: var(--uc-muted); background: var(--uc-wash); border: 1px solid var(--uc-line);
  padding: 4px 10px; border-radius: 99px; white-space: nowrap;
}

/* On/off switch */
.uc-cc-switch {
  flex-shrink: 0; position: relative; width: 42px; height: 24px; margin-top: 2px;
  border-radius: 99px; border: 0; padding: 0; cursor: pointer;
  background: #D1D5DB; transition: background .18s;
}
.uc-cc-switch[aria-checked="true"] { background: var(--uc-pink); }
.uc-cc-knob {
  position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(17, 24, 39, .25);
  transition: transform .18s ease;
}
.uc-cc-switch[aria-checked="true"] .uc-cc-knob { transform: translateX(18px); }
.uc-cc-switch:focus-visible { outline: 2px solid var(--uc-pink); outline-offset: 2px; }

/* Buttons */
.uc-cc-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.uc-cc-btn {
  flex: 1 1 0; min-width: 0; padding: 11px 16px; border-radius: 99px;
  border: 1px solid var(--uc-ink); background: var(--uc-ink); color: #fff;
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  transition: background .15s, border-color .15s;
}
.uc-cc-btn:hover { background: #374151; border-color: #374151; }
.uc-cc-btn:focus-visible { outline: 2px solid var(--uc-pink); outline-offset: 2px; }
.uc-cc-link {
  flex-basis: 100%; margin-top: 2px; padding: 6px 0 0; border: 0; background: none;
  font: inherit; font-size: 13px; font-weight: 600; color: var(--uc-muted);
  cursor: pointer; text-align: center; text-decoration: underline;
  text-decoration-color: var(--uc-line); text-underline-offset: 3px;
}
.uc-cc-link:hover { color: var(--uc-pink); text-decoration-color: currentColor; }

/* "Cookie settings" in the footer looks like the links next to it. */
.uc-footer-linkbtn {
  display: block; padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; color: var(--uc-body); text-align: left;
}
.uc-footer-linkbtn:hover { color: var(--uc-pink); }

@media (max-width: 520px) {
  .uc-cc { left: 12px; right: 12px; bottom: 12px; width: auto; max-width: none; }
  .uc-cc-card { padding: 18px; border-radius: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .uc-cc { transition: none; }
}
