/* ==========================================================================
   LEXGEN AI — hand-written stylesheet
   Follows the official "Styleguide 2.0" brand system (NOT the live WP site):
     Type:  Outfit (headings, 500/600) + Inter (body/UI, 400/600)
     Color: primary #0C8CE9 · secondary #56E39F · tertiary #896CFC
            base-dark #06152B · base-light #809FB8
            danger #EF6F6C · success #4AC58A · warning #F9B959
     Gradients: primary #0667AD->#53409C · secondary #0C8CE9->#56E39F
     Radius: 16px large (cards/panels/images) · 10px small (buttons/inputs)
   ========================================================================== */

/* ---- Self-hosted fonts (variable woff2, no runtime Google requests) ---- */
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url('inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url('inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit'; font-style: normal; font-weight: 500 600; font-display: swap;
  src: url('outfit-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit'; font-style: normal; font-weight: 500 600; font-display: swap;
  src: url('outfit-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---- Design tokens ---- */
:root {
  --primary: #0C8CE9;
  --primary-deep: #0667AD;   /* AA-safe blue for text/links/filled buttons on white */
  --primary-tint: #e7f2fc;
  --secondary: #56E39F;
  --secondary-deep: #17a86a;
  --tertiary: #896CFC;
  --base-dark: #06152B;
  --base-light: #809FB8;
  --bg-alt: #F0F4F8;
  --white: #ffffff;
  --text: #17263a;
  --muted: #566579;
  --prose-color: var(--muted);
  --heading-color: var(--base-dark);
  --danger: #EF6F6C;
  --success: #4AC58A;
  --warning: #F9B959;
  --grad-primary: linear-gradient(120deg, #0667AD 0%, #53409C 100%);
  --grad-secondary: linear-gradient(120deg, #0C8CE9 0%, #56E39F 100%);
  /* Exact colours sampled from the live lexgen.nl homepage (exact-match) */
  --live-blue: #2E46A8;      /* CTA band royal blue */
  --live-navy: #143F9C;      /* filled navy pill (Legal & Tax / Contact) */
  --live-green: #00A401;     /* filled green pill (Accountancy / Demo) — brand logo green, owner decision: kept on hover too, see SITE-REVIEW.md F1 */
  --live-footer: #1C1C1C;    /* near-black footer */
  --header-navy: #051E31;
  --header-height: 100px;
  --live-accent: #4F77FF;    /* back-to-top FAB blue */
  --shadow-sm: 0 2px 10px rgba(6, 21, 43, .07);
  --shadow-md: 0 16px 40px rgba(6, 21, 43, .12);
  --shadow-card: 0 12px 48px -8px rgba(6, 21, 43, .055);
  --shadow-card-active: 0 16px 56px -8px rgba(6, 21, 43, .075);
  --radius: 16px;
  --radius-sm: 10px;
  --container: clamp(1140px, 94vw, 1320px);
  --space: clamp(3rem, 7vw, 6rem);
  --font-head: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;              /* 16px */
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
/* Paragraphs and list text inherit the whitepaper's Inter 1rem / 1.6 from body. */
main :where(p, li, blockquote, dd, td) { color: var(--prose-color); }
.hero, .section--cta, .section--band, .is-flippable > .module-card__benefits {
  --prose-color: var(--white);
  --heading-color: var(--white);
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--heading-color); overflow-wrap: anywhere; font-weight: 600; line-height: 1.15; margin: 0 0 .55em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); line-height: 1.08; }      /* 64/72 */
h2 { font-size: clamp(1.7rem, 3.4vw, 2.25rem); font-weight: 500; line-height: 1.25; }  /* 36/46 */
h3 { font-size: clamp(1.2rem, 1.8vw, 1.35rem); font-weight: 500; line-height: 1.4; }   /* 20/28 */
h4 { font-size: 1.15rem; font-weight: 600; }
h5, h6 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 1.1rem; }
ul { margin: 0 0 1.2rem; padding-left: 1.2rem; }
li { margin: .35rem 0; }
li::marker { color: var(--primary); }
strong, b { font-weight: 600; }
:is(h1,h2,h3) :is(strong,b) { font-weight: inherit; }
:is(h1,h2,h3) a { color: inherit; }
hr { border: none;  margin: 2rem 0; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }

/* ---- Accessibility helpers ---- */
/* Visually hidden but available to screen readers/structure — used for
   section headings that keep the heading hierarchy sequential (no h1->h3
   skips) without adding visible text the design doesn't call for. */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 8px; top: -60px;
  background: var(--base-dark); color: #fff; padding: .6rem 1rem;
  border-radius: var(--radius-sm); z-index: 200; transition: top .2s;
}
.skip-link:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 4px; }

/* ==========================================================================
   Header / navigation
   ========================================================================== */
/* Start over the hero. Without scripting the header scrolls away with it. */
.site-header {
  --header-surface: var(--white);
  --header-ink: var(--header-navy);
  --header-secondary: var(--muted);
  --header-control: rgba(5, 30, 49, .07);
  position: absolute; inset: 0 0 auto; z-index: 100;
  background-color: transparent;
  transition: background-color .2s ease-out, box-shadow .2s ease-out;
}
.has-hero .site-header {
  --header-surface: var(--header-navy);
  --header-ink: var(--white);
  --header-secondary: #d2dfeb;
  --header-control: rgba(255, 255, 255, .12);
}
.site-header.has-scroll-state { position: fixed; }
.site-header.is-scrolled {
  background-color: var(--header-surface);
  box-shadow: 0 8px 32px -18px rgba(6, 21, 43, .16);
}
.header-inner {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: var(--header-height); padding-block: .75rem;
}
.logo { flex: 0 0 auto; }
.logo img { width: 158px; height: auto; }
.logo:hover { text-decoration: none; }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 1.75rem; }
.nav-list { display: flex; align-items: center; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: .3rem;
  background: none; border: 0; font: inherit; font-family: var(--font-body); cursor: pointer;
  color: var(--header-ink); font-weight: 600; padding: .4rem 0; font-size: .85rem;
  text-transform: uppercase; letter-spacing: .04em;
}
.nav-link:hover { color: var(--live-green); text-decoration: none; }
/* Scoped to top-level nav items only (direct li > a) — NOT .dropdown a,
   which are also descendants of .nav-list. Without this scoping, the
   current-page style painted the active dropdown item white-on-white
   inside the white dropdown panel (bug fix, see SITE-REVIEW.md). */
.nav-list > li > a[aria-current="page"],
.has-dropdown:has(a[aria-current="page"]) > .dropdown-toggle { color: var(--live-green); text-decoration: none; }
.caret { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; }

.dropdown {
  position: absolute; top: 100%; left: -1rem; min-width: 210px;
  background: #fff; border: 0; border-radius: var(--radius);
  box-shadow: var(--shadow-md); list-style: none; margin: .5rem 0 0; padding: .5rem;
  opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .18s ease-out, transform .18s ease-out, visibility .18s;
}
.has-dropdown:not(.is-enhanced):hover .dropdown,
.has-dropdown:not(.is-enhanced):focus-within .dropdown,
.dropdown-toggle[aria-expanded="true"] + .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: .55rem .7rem; border-radius: var(--radius-sm); color: var(--base-dark); font-weight: 500; }
.dropdown a:hover { background: var(--primary-tint); color: var(--primary-deep); text-decoration: none; }
/* The active dropdown link carries its own light background on both themes. */
.dropdown a[aria-current="page"] { color: var(--primary-deep); background: var(--primary-tint); }

.nav-actions { display: flex; align-items: center; gap: 1rem; }

/* NL / EN text switcher. The footer uses the light-on-dark defaults.
   Fixed NL, EN order; current language is a plain distinct span, the other
   is the link. Each item is a >=44px touch target (a11y). */
.lang-switch { display: inline-flex; align-items: center; gap: .1rem; }
.lang-switch__item {
  display: inline-grid; place-items: center;
  min-width: 44px; min-height: 44px;
  font-weight: 600; font-size: .8rem; letter-spacing: .04em;
  color: var(--header-secondary, rgba(255, 255, 255, .5)); text-decoration: none;
}
.lang-switch__item.is-current { color: var(--header-ink, #fff); }
.lang-switch__item:not(.is-current):hover { color: var(--header-ink, #fff); text-decoration: none; }

/* Hamburger (checkbox hack) */
.nav-toggle-cb { display: none; }
.nav-toggle { display: none; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; font-family: var(--font-body); font-weight: 600; font-size: .98rem; line-height: 1;
  padding: .85rem 1.6rem; border-radius: var(--radius-sm);
  border: 0; cursor: pointer; text-align: center;
  transition: transform .2s ease-out, box-shadow .2s ease-out, background-color .2s ease-out, color .2s ease-out;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--primary-deep); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: #084f85; box-shadow: var(--shadow-md); color: #fff; }
.btn--ghost { background: var(--primary-tint); color: var(--primary-deep); }
.btn--ghost:hover { background: var(--primary-deep); color: #fff; }
.btn--login {
  background: var(--live-green); color: #fff; padding: .65rem 1.35rem; font-size: .85rem;
  text-transform: uppercase; letter-spacing: .04em; box-shadow: var(--shadow-sm);
}
/* Owner decision (SITE-REVIEW.md F1): logo green stays on hover — no darker
   shade. Hover affordance is non-color instead: lift (from .btn:hover) +
   a stronger shadow, same pattern as .btn--primary:hover. */
.btn--login:hover { background: var(--live-green); color: #fff; box-shadow: var(--shadow-md); }
.cta-group { display: flex; flex-wrap: wrap; gap: .9rem; margin: 1.6rem 0 .4rem; }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { position: relative; overflow: hidden; padding-block: var(--space); }
.section--white { background: var(--white); }
.section--light { background: var(--bg-alt); }
.section .container { position: relative; z-index: 1; }
.section > .container > *:first-child { margin-top: 0; }

.section--hero { padding-block: calc(var(--header-height) + clamp(3.5rem, 8vw, 7rem)) clamp(3.5rem, 8vw, 7rem); }
.section--hero h1 { max-width: 16ch; }
.section--hero.section--light { background: linear-gradient(180deg, #e9f1fb 0%, var(--bg-alt) 65%); }
.section--hero p { max-width: 62ch; }

/* Gradient CTA banner (recurring "contact / demo" sections) */
.section--cta { background: var(--grad-primary); color: #eaf1fb; }
.section--cta .btn--primary { background: #fff; color: var(--primary-deep); }
.section--cta .btn--primary:hover { background: var(--secondary); color: var(--base-dark); }
.section--cta .btn--ghost { background: rgba(255,255,255,.12); color: #fff; }
.section--cta .btn--ghost:hover { background: #fff; color: var(--primary-deep); }

/* Decorative graphics */
.deco { position: absolute; z-index: 0; pointer-events: none; }
.deco--wave { top: -8%; right: -6%; width: min(46vw, 560px); opacity: .10; }
.deco--dots { top: 8%; right: 4%; width: 180px; opacity: .5; }
.section--hero .deco--wave { opacity: .13; }
.section--cta .deco--wave { opacity: .18; filter: brightness(0) invert(1); }

/* Media */
.content-media, .ui-illustration { margin: 1.5rem 0; }
.ui-illustration {
  background: #fff; border: 0; border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow-card);
}
.ui-illustration img { margin-inline: auto; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin: 1.8rem 0; }
.media-grid figure { margin: 0; }

/* Screenshot browser-chrome frame */
.screenshot-frame {
  margin: 1.8rem 0; border-radius: var(--radius); overflow: hidden;
  border: 0; box-shadow: var(--shadow-card); background: #fff;
}
.screenshot-bar { display: flex; gap: 7px; align-items: center; padding: 11px 14px; background: #eef2f7;  }
.screenshot-bar span { width: 11px; height: 11px; border-radius: 50%; background: #cfd8e5; }
.screenshot-bar span:nth-child(1) { background: var(--danger); }
.screenshot-bar span:nth-child(2) { background: var(--warning); }
.screenshot-bar span:nth-child(3) { background: var(--success); }
.screenshot-frame img { width: 100%; }

/* Logo rows (partner logos rendered from image-only headings) */
.logo-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2rem; margin: 1.5rem 0; }
.logo-row img { max-height: 64px; width: auto; }

/* ==========================================================================
   Team
   ========================================================================== */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.team-card {
  margin: 0; text-align: center; background: #fff; border: 0;
  border-radius: var(--radius); padding: 1.6rem 1rem; box-shadow: var(--shadow-card);
}
.avatar {
  width: 96px; height: 96px; border-radius: 50%; object-fit: cover;
  margin: 0 auto .9rem; display: flex; align-items: center; justify-content: center;
}
.avatar--initials { background: var(--grad-primary); color: #fff; font-family: var(--font-head); font-size: 2rem; font-weight: 600; letter-spacing: .02em; }
.team-name { display: block; font-family: var(--font-head); font-weight: 600; color: var(--base-dark); }
.team-name a { color: var(--base-dark); }
.team-role { display: block; color: var(--prose-color); margin-top: .2rem; }

/* ==========================================================================
   Forms
   ========================================================================== */
.lg-form {
  display: grid; gap: 1.1rem; max-width: 640px; margin-top: 1.5rem;
  background: #fff; border: 0; border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow-card);
}
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label, .field legend { font-weight: 600; color: var(--base-dark); font-size: .95rem; }
.field input, .field textarea {
  font: inherit; font-family: var(--font-body); color: var(--text); padding: .8rem .95rem;
  border: 0; border-radius: var(--radius-sm); background: var(--bg-alt);
  width: 100%;
}
.field input:focus, .field textarea:focus { background: #fff; outline: 3px solid var(--primary-deep); outline-offset: 2px; }
.field input:user-invalid, .field textarea:user-invalid { background: #fff1f0; }
.field textarea { resize: vertical; min-height: 130px; }
.field--radio { border: 0; padding: 0; margin: 0; }
.field--radio legend { margin-bottom: .5rem; }
.radio { display: inline-flex; align-items: center; gap: .45rem; margin-right: 1.4rem; font-weight: 500; color: var(--text); }
.radio input { width: 18px; height: 18px; padding: 0; margin: 0; flex: 0 0 auto; accent-color: var(--primary); }
.req { color: #9a2f2c; }
.lg-form .btn { justify-self: start; margin-top: .3rem; }
/* honeypot — visually hidden from users, available to bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ==========================================================================
   Footer (near-black — uses the white-wordmark v3 logo)
   ========================================================================== */
.site-footer { background: var(--live-footer); color: #b9c6da; }
.footer-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; padding-block: clamp(3rem, 6vw, 4.5rem); align-items: start; }
.footer-brand img { margin-bottom: 1.3rem; width: 240px; max-width: 60vw; }
.footer-email { display: inline-flex; align-items: center; gap: .6rem; color: #b9c6da; font-weight: 500; }
.footer-email:hover { color: #fff; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.footer-nav a { text-transform: uppercase; font-size: .85rem; letter-spacing: .03em; font-weight: 600; }
.site-footer a { color: #b9c6da; }
.site-footer a:hover { color: #fff; }
.footer-nav a[aria-current="page"] { color: #fff; }
.footer-bottom {  padding-block: 1.2rem; font-size: .85rem; color: #8395b1; }
.footer-bottom__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; }
.footer-copy { white-space: nowrap; }
.footer-legal { display: flex; align-items: center; gap: 1.3rem; }
.footer-legal a { text-transform: uppercase; font-size: .78rem; letter-spacing: .03em; }
/* Round white LinkedIn icon (lives ONLY in the footer bottom bar) */
.site-footer .footer-social {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; background: #fff; color: var(--header-navy); flex: 0 0 auto;
}
.site-footer .footer-social:hover { background: var(--secondary); color: var(--base-dark); text-decoration: none; }

/* Floating back-to-top button (matches the live site's #scroll-top FAB:
   rounded-square blue, white up-chevron, fixed bottom-right). Visible by
   default (works without JS); main.js hides it near the top of the page
   and reveals it on scroll, like the live site. */
.back-to-top {
  position: fixed; right: 26px; bottom: 22px; z-index: 150;
  width: 50px; height: 50px; border-radius: 14px;
  display: inline-grid; place-items: center;
  background: var(--live-accent); color: #fff;
  box-shadow: 0 6px 20px rgba(6, 21, 43, .28);
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity .25s ease, transform .25s ease, background .2s ease, visibility .25s;
}
.back-to-top.is-hidden { opacity: 0; visibility: hidden; transform: translateY(8px); }
.back-to-top:hover { background: #3660e8; color: #fff; text-decoration: none; }

/* The WordPress notice sits across the bottom. Sticky keeps room for the footer. */
.cookie-notice {
  position: sticky; bottom: 0; z-index: 175;
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 12px;
  padding: 12px 52px max(12px, env(safe-area-inset-bottom));
  background: #32323a; color: #fff; text-align: center;
  font: 400 .875rem/1.5 var(--font-body);
}
.cookie-notice[hidden] { display: none; }
.cookie-notice p { margin: 0; }
.cookie-notice a { color: inherit; text-decoration: underline; text-underline-offset: .16em; }
.cookie-actions { display: flex; align-items: center; justify-content: center; gap: 8px; }
.cookie-notice button { border: 0; cursor: pointer; font: inherit; }
.cookie-actions button {
  min-width: 52px; min-height: 36px; padding: 6px 12px; border-radius: 3px;
  background: #007801; color: #fff;
}
.cookie-actions button:hover { background: #006701; }
.cookie-close {
  position: absolute; inset: 50% 4px auto auto; transform: translateY(-50%);
  width: 44px; height: 44px; background: transparent; color: #d0d0d4;
}
.cookie-notice .cookie-close { font-size: 1.4rem; }
.cookie-close:hover { color: #fff; }
.cookie-notice :focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
[data-cookie-settings][hidden] { display: none; }
@media (max-width: 900px) {
  .cookie-notice { flex-direction: column; }
  .cookie-actions button { min-height: 44px; }
  .cookie-close { top: 4px; transform: none; }
}
@media print { .cookie-notice, [data-cookie-settings] { display: none; } }

/* ==========================================================================
   404
   ========================================================================== */
.error-page { text-align: center; max-width: 640px; margin-inline: auto; }
.error-code { font-family: var(--font-head); font-size: clamp(4rem, 12vw, 8rem); font-weight: 600; color: var(--primary); line-height: 1; margin: 0; }
.error-page .cta-group { justify-content: center; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  :root { --header-height: 81px; }
  .site-header:has(.nav-toggle-cb:checked) { background-color: var(--header-surface); }
  .nav-toggle-cb {
    display: block; position: absolute; width: 1px; height: 1px;
    overflow: hidden; clip-path: inset(50%);
  }
  .nav-toggle-cb:focus-visible + .nav-toggle { outline: 3px solid var(--primary); outline-offset: 3px; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 46px; height: 44px; margin-left: auto; border: 0;
    border-radius: var(--radius-sm); cursor: pointer; background: var(--header-control);
  }
  .nav-toggle span { display: block; width: 22px; height: 2px; background: var(--header-ink); margin-inline: auto; transition: .2s; }
  /* Anchor the menu to the actual bottom edge of the header. */
  .site-nav {
    position: absolute; inset: 100% 0 auto; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--header-surface);
    box-shadow: var(--shadow-md); padding: 1rem clamp(1.1rem, 4vw, 2rem) 1.5rem;
    max-height: calc(100vh - var(--header-height)); max-height: calc(100dvh - var(--header-height)); overflow-y: auto;
    transform: translateY(-120%); visibility: hidden;
    transition: transform .25s ease, visibility .25s; margin-left: 0;
  }
  .nav-toggle-cb:checked ~ .site-nav { transform: translateY(0); visibility: visible; }
  .nav-toggle-cb:not(:checked) ~ .site-nav .dropdown { visibility: hidden; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
    .nav-link { padding: .9rem 0; width: 100%; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: 0; border-radius: 0; margin: 0 0 .5rem .8rem; padding: 0; background: transparent;
  }
  .has-dropdown.is-enhanced .dropdown-toggle[aria-expanded="false"] + .dropdown { display: none; }
  .dropdown a { color: var(--header-ink); }
  .dropdown a:hover { background: var(--header-control); color: var(--header-ink); }
  .nav-actions { flex-wrap: wrap; padding-top: 1rem; gap: .8rem; }
  .nav-toggle-cb:checked ~ .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle-cb:checked ~ .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-toggle-cb:checked ~ .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-bottom__inner { justify-content: center; text-align: center; }
  .cta-group .btn { flex: 1 1 auto; }
  .back-to-top { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* ==========================================================================
   Homepage structural layouts (named sections: hero, showcase,
   floating-card, features, modules, cta). Reusable by any page that adopts
   the same section markers.
   ========================================================================== */

/* ---- Homepage hero and its transparent header ---- */
.hero {
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  min-height: min(90vh, 780px);
  padding: calc(var(--header-height) + clamp(3rem, 6vw, 4.5rem)) 0 90px;
  background: linear-gradient(150deg, #4D71E4 0%, #3651A4 45%, #143F9C 100%);
  color: #fff;
}
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(5, 30, 49, .6), transparent calc(var(--header-height) + 48px)),
    linear-gradient(100deg, rgba(6, 21, 43, .46) 0%, rgba(20, 63, 156, .26) 70%, rgba(20, 63, 156, .14) 100%);
}
.hero__copy { max-width: clamp(640px, 50vw, 704px); min-width: 0; }
.hero__content {
  position: relative; z-index: 2; min-width: 0;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center; gap: clamp(2rem, 5vw, 4rem);
}
.hero__media { position: relative; min-width: 0; margin: 0; }
.hero__media video { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.hero__play {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; padding: 0; border-radius: var(--radius); background: transparent; cursor: pointer;
}
.hero__play:not([hidden]) { display: grid; place-items: center; }
.hero__play::before, .hero__play::after { content: ""; grid-area: 1 / 1; }
.hero__play::before {
  width: clamp(48px, 5vw, 64px); aspect-ratio: 1;
  border-radius: 50%; background: rgba(6, 21, 43, .86);
}
.hero__play::after {
  width: 16px; height: 19px; margin-left: 3px; background: white;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.hero__play:is(:hover, :focus-visible)::before { background: var(--primary-deep); }
.hero__play:focus-visible { outline-color: white; outline-offset: -4px; }
@media (max-width: 820px) {
  .hero__content { grid-template-columns: 1fr; }
}
.hero h1 { margin-bottom: .5em; }
.hero p { margin-bottom: .6rem; }
.hero .cta-group { margin-top: 2.2rem; }

/* ---- Shared: icon tile + new button variants ---- */
.icon-tile {
  display: inline-grid; place-items: center;
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--primary-tint); color: var(--primary-deep);
  flex: 0 0 auto;
}
.icon-tile .li-icon { width: 24px; height: 24px; }

.btn--green { background: var(--live-green); color: #fff; box-shadow: var(--shadow-sm); }
/* Owner decision (SITE-REVIEW.md F1): logo green stays on hover — no darker
   shade. Hover affordance is non-color instead: lift (from .btn:hover) +
   a stronger shadow, same pattern as .btn--primary:hover. */
.btn--green:hover { background: var(--live-green); color: #fff; box-shadow: var(--shadow-md); }
.btn--live-navy { background: var(--live-navy); color: #fff; }
.btn--live-navy:hover { background: #0f2f77; color: #fff; }
.btn--hero-dark { background: #1B2F6E; color: #fff; } /* navy pill sampled from live hero */
.btn--hero-dark:hover { background: var(--base-dark); color: #fff; }
.btn--outline-light { background: rgba(255,255,255,.12); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--primary-deep); }
.btn--outline { background: var(--primary-tint); color: var(--primary-deep); }
.btn--outline:hover { background: var(--primary-deep); color: #fff; }
.btn--link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 600; font-size: .85rem; letter-spacing: .05em;
  text-transform: uppercase; color: var(--primary-deep);
  padding-block: .35rem; min-height: 44px;   /* a11y touch target */
}
.btn--link:hover { color: var(--base-dark); text-decoration: none; }

.hero .btn, .float-card .btn, .section--cta .btn, .modules__side .btn {
  text-transform: uppercase; font-size: .85rem; letter-spacing: .04em;
}

/* ---- Showcase: centered intro + 2-col card grid ---- */
.showcase { background: var(--white); }
.showcase__intro { text-align: center; max-width: 780px; margin: 0 auto 3rem; }
.showcase__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem; }
.show-card {
  background: #fff; border: 0; border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
}
.show-card h3 { margin-top: 1.1rem; }
.show-card .cta-group { margin-top: auto; padding-top: 1rem; margin-bottom: 0; }

/* ---- Floating card on blue-to-light backdrop ---- */
.card-band {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--primary-deep) 0%, #2E46A8 24%, var(--bg-alt) 72%, var(--bg-alt) 100%);
  padding-block: var(--space);
}
.float-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-card);
  padding: clamp(2rem, 4.5vw, 3.5rem);
  width: min(860px, 100%); margin-left: auto;
}
.float-card h2 { margin-top: 1.6rem; }
.float-card h2:first-child { margin-top: 0; }
.float-card li { margin: .5rem 0; }
.float-card .cta-group { margin-top: 2rem; }

/* ---- Features: icon-left rows on light band ---- */
.features { background: var(--white); }
.features__intro { max-width: 900px; margin-bottom: 3rem; }
.features__intro p { max-width: 72ch; }
.features__list { max-width: 860px; display: grid; gap: 2.5rem; }
.feature-row { display: grid; grid-template-columns: 46px 1fr; gap: 1.4rem; align-items: start; }
.feature-row h3 { margin-bottom: .5rem; }

/* ---- Modules: staggered card grid + side column ---- */
.modules { background: var(--bg-alt); }
.modules__intro { max-width: 760px; margin: 0 auto 3.5rem; text-align: center; }
.modules__layout {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr 1.05fr; gap: 2rem;
  align-items: start;
}
.modules__layout::before {
  content: ""; position: absolute; z-index: 0;
  width: 74px; height: 74px; border-radius: 50%;
  background: var(--primary-deep); top: -30px; left: 26%;
}
.modules__layout::after {
  content: ""; position: absolute; z-index: 0;
  width: 64px; height: 64px; border-radius: 16px;
  background: #23A028; top: -18px; right: 2%;
}
.modules__col { position: relative; z-index: 1; display: grid; gap: 2rem; align-content: start; }
.modules__col--b { margin-top: 5rem; }
.modules__side { position: relative; z-index: 1; align-self: center; padding-inline-start: 1.5rem; }
.module-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-card);
  --card-inset: clamp(2.625rem, 4vw, 3.625rem) clamp(2rem, 3.375vw, 3.125rem);
  border: 0; padding: var(--card-inset); overflow-wrap: anywhere;
}
.module-card h3 { margin: 1rem 0 .6rem; }
.module-card p:last-child { margin-bottom: 0; }
.module-card__benefits {  margin-top: 1.2rem; padding-top: 1.1rem; }
.module-card__benefits h4 {
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--primary-deep); margin-bottom: .4rem;
}
.modules__side h2 { margin-bottom: .8rem; }
/* Stack both faces in one grid cell so the longer text sets the card height. */
.module-card.is-flippable {
  position: relative; display: grid; perspective: 700px;
  background: transparent; padding: 0; box-shadow: none;
}
.is-flippable > .module-card__front, .is-flippable > .module-card__benefits {
  grid-area: 1 / 1; display: grid; align-content: center;
  margin: 0; padding: var(--card-inset); min-width: 0; border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow-card);
  transform-style: preserve-3d; backface-visibility: hidden;
  transition: transform 1s cubic-bezier(.7,0,.3,1.3);
  pointer-events: none;
}
/* Compensate for the 70px depth at 700px perspective so resting text stays at reading size. */
.is-flippable .module-card__inner { transform: translateZ(70px) scale(.9); backface-visibility: hidden; }
.is-flippable > .module-card__benefits { background: #143f9c; transform: rotateY(180deg); }
.is-flippable.is-flipped > .module-card__front { transform: rotateY(-180deg); }
.is-flippable.is-flipped > .module-card__benefits { transform: rotateY(0); }
.is-flippable .module-card__benefits :is(h4,p,a) { color: #fff; }
.is-flippable .module-card__benefits h4 {
  font-size: 1.08rem; letter-spacing: normal; text-transform: none;
}
.is-flippable.is-flipped .module-card__benefits a { pointer-events: auto; }
.module-card__toggle {
  position: absolute; inset: 0; width: 100%; height: 100%; padding: 0;
  background: transparent; color: inherit; border: 0; border-radius: inherit; cursor: pointer;
}
.module-card.is-flippable:has(.module-card__toggle:focus-visible) { outline: 3px solid var(--primary); outline-offset: 4px; }
.module-card.is-flippable:is(:hover,:focus-within) { box-shadow: none; }
@media (prefers-reduced-motion: reduce) {
  .is-flippable > .module-card__front, .is-flippable > .module-card__benefits { transition: none; }
}
@media print {
  :root { --header-height: 0px; }
  .site-header, .site-header.has-scroll-state { position: static; box-shadow: none; }
  .module-card.is-flippable { display: block; perspective: none; }
  .module-card.is-flippable > div, .is-flippable .module-card__inner { transform: none !important; color: #000; box-shadow: none; background: #fff; }
  .is-flippable .module-card__benefits :is(h4,p,a) { color: #000; }
  .module-card__toggle { display: none; }
}
.modules__side .cta-group { margin-block: 1.6rem 0; }

/* ---- Centered CTA band variant (homepage) — exact live royal-blue band
       with a subtle blue->indigo shift, filled navy + green pills ---- */
.section--cta-center { text-align: center; background: linear-gradient(115deg, var(--live-blue) 0%, #35379C 100%); }
.section--cta-center p { max-width: 60ch; margin-inline: auto; }
.section--cta-center .cta-group { justify-content: center; margin-top: 2rem; }

/* ---- Responsive + motion ---- */
@media (max-width: 1024px) {
  .modules__layout { grid-template-columns: 1fr 1fr; }
  .modules__side { grid-column: 1 / -1; padding: 1rem 0 0; }
}
@media (max-width: 900px) {
  .showcase__grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hero__video { display: none; } /* poster/gradient only on mobile, like live */
  .hero { min-height: 0; padding: calc(var(--header-height) + 48px) 0 60px; }
  .modules__layout { grid-template-columns: 1fr; }
  .modules__col--b { margin-top: 0; }
  .modules__layout::before, .modules__layout::after { display: none; }
  .card-band { background: linear-gradient(180deg, var(--primary-deep) 0%, var(--bg-alt) 55%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__video { display: none; }
}

/* ==========================================================================
   Homepage exact-match: eyebrow kicker + platform two-column section +
   features illustration column (sampled from live lexgen.nl)
   ========================================================================== */

/* Small kicker text above a heading */
.eyebrow {
  font-family: var(--font-body); font-weight: 600;
  font-size: .8rem; letter-spacing: .02em; color: var(--primary-deep);
  margin: 0 0 .6rem;
}
.eyebrow::before { content: "· "; }

/* ---- Platform: centered head + [cards | text] two-column ---- */
.platform { background: var(--bg-alt); }
.platform__head { text-align: center; max-width: 900px; margin: 0 auto 3.5rem; }
.platform__head .eyebrow { color: var(--muted); }
.platform__head .eyebrow::before { content: ""; }
.platform__layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.platform__cards { display: grid; gap: 1.75rem; }
.platform__cards .show-card { container-type: inline-size; padding: clamp(1.15rem, 4vw, 1.9rem); }
.platform__cards .btn--link, .platform-details > summary {
  display: inline-flex; align-items: center; gap: .5rem;
  min-height: 44px; padding-block: .35rem;
  font: 600 .9375rem/1.5 var(--font-body);
  text-transform: none; letter-spacing: normal;
}
.platform-details > summary {
  list-style: none; cursor: pointer; color: var(--muted);
}
/* The summary and link share a row; expanded copy uses the full card width. */
.platform__cards .cta-group { justify-content: flex-end; }
.platform-card-actions {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start;
  margin-top: auto; padding-top: 1rem; column-gap: .75rem;
}
.platform-card-actions > details { grid-area: 1 / 1 / 2 / -1; }
.platform-card-actions > .btn--link { grid-area: 1 / 2; justify-self: end; position: relative; }
@container (max-width: 14rem) {
  .platform-card-actions { display: flex; flex-direction: column; gap: .25rem; }
  .platform-card-actions > .btn--link { align-self: flex-end; }
}
.platform-details > summary::-webkit-details-marker { display: none; }
.platform-details > summary::after {
  content: ""; width: .45rem; height: .45rem;
  border: solid currentColor; border-width: 0 1.5px 1.5px 0;
  transform: translateY(-.12rem) rotate(45deg);
}
.platform-details[open] > summary::after { transform: translateY(.12rem) rotate(225deg); }
.platform-details > summary:hover { color: var(--base-dark); }
.platform-details:not([open]) .when-open, .platform-details[open] .when-closed { display: none; }
.platform-details[open] > summary { margin-bottom: .5rem; }
.platform__aside > p + p:not(.eyebrow) { margin-top: 1.5rem; }
.platform__aside .eyebrow { color: var(--muted); }
.platform__aside .eyebrow + h2 { margin-top: 0; }
.platform__aside h2 { margin-top: 2.6rem; }
.platform__aside h2:first-of-type { margin-top: 0; }
.platform__aside li { margin: .5rem 0; }
/* the second eyebrow (Enterprise …) is emphasised in the live design */
.platform__aside .eyebrow ~ .eyebrow { margin-top: clamp(2rem, 3vw, 2.5rem); color: var(--primary-deep); }
.platform__aside .cta-group { margin-top: 1.8rem; }

/* ---- Features: icon list LEFT, dark UI mockups RIGHT ---- */
.features__layout {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.features__layout .features__list { max-width: none; }
.features__media {
  position: relative; width: min(100%, 37rem); min-height: 27rem; aspect-ratio: 1.09;
  justify-self: center;
}
.features__mock {
  position: absolute; border-radius: 14px;
  box-shadow: var(--shadow-card); height: auto;
}
.features__mock--1 { width: max(152px, 34%); left: max(10px, 3%); top: 13%; z-index: 2; }
.features__mock--2 { width: max(212px, 45%); right: max(12px, 3%); top: max(30px, 6%); z-index: 1; }
.features__mock--3 { width: max(202px, 40%); right: 26%; bottom: max(44px, 8%); z-index: 3; }

/* Clearly perceptible, bounded artwork motion. CSS eases event-driven updates;
   nothing loops while idle. Text, cards and hit targets stay in place. */
.features__mock, .pm-icon, .modules__layout::before, .modules__layout::after {
  transition: transform .24s ease-out;
}
.features__mock { pointer-events: none; }
.features__mock--1 { transform: translate(calc(var(--pointer-x, 0) * 10px), calc(var(--scroll-drift, 0) * -24px + var(--pointer-y, 0) * 8px)); }
.features__mock--2 { transform: translate(calc(var(--pointer-x, 0) * -12px), calc(var(--scroll-drift, 0) * 20px + var(--pointer-y, 0) * -10px)); }
.features__mock--3 { transform: translate(calc(var(--pointer-x, 0) * 18px), calc(var(--scroll-drift, 0) * -32px + var(--pointer-y, 0) * 12px)); }
.pm-icon { transform: translate(calc(var(--pointer-x, 0) * 9px), calc(var(--scroll-drift, 0) * -16px + var(--pointer-y, 0) * 7px)); }
.pm-card:nth-child(even) .pm-icon { transform: translate(calc(var(--pointer-x, 0) * 9px), calc(var(--scroll-drift, 0) * -14px + var(--pointer-y, 0) * 7px)); }
.modules__layout::before { transform: translate(calc(var(--pointer-x, 0) * -10px), calc(var(--scroll-drift, 0) * -24px + var(--pointer-y, 0) * -8px)); }
.modules__layout::after { transform: translate(calc(var(--pointer-x, 0) * 14px), calc(var(--scroll-drift, 0) * 20px + var(--pointer-y, 0) * 10px)); }
@media (prefers-reduced-motion: reduce), print {
  .features__mock, .pm-icon,
  .modules__layout::before, .modules__layout::after { transform: none !important; }
}

@media (max-width: 900px) {
  .platform__layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .features__layout { grid-template-columns: 1fr; }
  .features__media { width: min(100%, 34rem); min-height: 0; }
}
@media (max-width: 540px) {
  .features__media { aspect-ratio: .98; }
  .features__mock--1 { width: 39%; }
  .features__mock--2 { width: 49%; }
  .features__mock--3 { width: 47%; right: 24%; bottom: 32px; }
}

/* ==========================================================================
   Subpage structural layouts (over-ons, platform-*, partners, whitepaper,
   contact) — exact-match to the live subpages. Sampled colours from live.
   ========================================================================== */

/* ---- Subpage hero: light centered band + faint wave, shared by 6 pages ---- */
.subhero { background: linear-gradient(180deg, #F7F9FB 0%, #EEF3F9 100%); padding-block: calc(var(--header-height) + clamp(3rem, 6vw, 5rem)) clamp(3rem, 6vw, 5rem); }
.subhero__inner { text-align: center; max-width: 860px; margin-inline: auto; }
.subhero .eyebrow { color: var(--muted); font-weight: 600; letter-spacing: .06em; text-transform: none; }
.subhero .eyebrow::before { content: ""; }
.subhero h1 { margin: .2em auto .4em; max-width: 20ch; }
.subhero > .container > .subhero__inner > p { max-width: 60ch; margin-inline: auto; }
.subhero .cta-group { justify-content: center; margin-top: 1.8rem; }
.subhero .deco--wave { top: -6%; right: -4%; width: min(52vw, 640px); opacity: .16; }

/* ---- over-ons two-column: staggered plain cards LEFT + text column RIGHT ---- */
.columns { background: var(--white); }
.columns__layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.columns__cards { display: grid; gap: 1.6rem; }
.col-card {
  background: #fff; border: 0; border-radius: var(--radius);
  padding: 1.7rem 1.9rem; box-shadow: var(--shadow-card);
}
.col-card h3 { margin-bottom: .5rem; }
.col-card p { margin-bottom: 0; }
/* subtle horizontal stagger, mirroring the live layout */
.columns__cards .col-card:nth-child(1) { margin-left: 1.6rem; }
.columns__cards .col-card:nth-child(3) { margin-left: 2.6rem; }
.columns__aside h2 { margin-bottom: 1rem; }
.columns__aside .cta-group { margin-top: 1.6rem; }

/* ---- Coloured centered band ("Missie en visie") ---- */
.section--band {
  text-align: center; color: #fff;
  background: var(--live-blue);
}
.section--band p { max-width: 70ch; margin-inline: auto; margin-bottom: 0; }
.section--band .deco--wave { display: none; }
@media (min-width: 1025px) {
  .section--band .deco--wave { display: block; opacity: .3; top: -20%; right: 0; width: 45%; }
  .section--band::before {
    content: ""; position: absolute; pointer-events: none; top: -250px; left: -250px;
    width: 784px; height: 595px; border-radius: 50%; background: #00a400;
    opacity: .2; filter: blur(100px);
  }
}

/* ---- over-ons team: featured member + experts grid ---- */
.team-section { background: var(--white); }
.team-intro { text-align: center; max-width: 760px; margin: 0 auto 2.5rem; }
.team-intro--experts { margin-top: 3.5rem; }
.featured-member {
  display: grid; grid-template-columns: minmax(0, 360px) 1fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: start; max-width: 1000px; margin: 0 auto;
}
.fm-card {
  margin: 0; background: linear-gradient(180deg, #fff 0%, #F3F6FB 100%);
  border: 0; border-radius: var(--radius);
  box-shadow: var(--shadow-card); overflow: hidden; text-align: center;
}
.fm-photo { background: var(--base-dark); }
.fm-photo img { width: 100%; height: auto; display: block; }
.fm-card figcaption { padding: 1.1rem 1rem 1.4rem; }
.fm-name { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: var(--base-dark); }
.fm-name a { color: var(--base-dark); }
.fm-role { display: block; color: var(--prose-color); margin-top: .15rem; }
.fm-bio h2 { margin-bottom: .8rem; }
.fm-bio p { margin-bottom: .6rem; }
.fm-bio li { margin: .45rem 0; }
.team-grid--experts { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

/* ---- Platform module cards: staggered 2-col grid + full-width cards ---- */
.platform-mods { background: #FAFBFD; }
.pm-intro { text-align: center; max-width: 760px; margin: 0 auto 3rem; }
.pm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.9rem 2rem; align-items: start; }
.pm-grid .pm-card:nth-child(even) { margin-top: 3.5rem; }
.pm-wide { display: grid; gap: 1.9rem; margin-top: 2.4rem; }
.pm-card {
  position: relative; background: #fff; border: 0;
  border-radius: var(--radius); box-shadow: var(--shadow-card);
  padding: 2.2rem 2rem 1.9rem;
}
.pm-card h3 { margin: 0 0 .8rem; max-width: 90%; }
.pm-card p:last-child, .pm-card ul:last-child { margin-bottom: 0; }
.pm-icon {
  position: absolute; top: -22px; right: 26px;
  display: inline-grid; place-items: center; width: 56px; height: 56px;
  border-radius: 14px; color: #fff; box-shadow: 0 10px 24px rgba(6,21,43,.18);
}
.pm-icon .li-icon { width: 28px; height: 28px; }
/* icons alternate periwinkle / green like the live cards */
.pm-card:nth-of-type(odd) .pm-icon { background: var(--live-green); }
.pm-card:nth-of-type(even) .pm-icon { background: #5568C6; }
.pm-cta { display: flex; justify-content: center; margin-top: 2.6rem; }

/* ---- Partners panel: one large white card of stacked partner blocks ---- */
.lx-partners { padding-block: var(--space); background: var(--bg-alt); }
.lx-partners__inner { max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
.lx-partners__eyebrow { font-weight: 600; color: var(--primary-deep); }
.lx-partners__eyebrow { margin: 0 0 .5rem; }
.lx-partners__intro { max-width: 70ch; margin-bottom: 2rem; }
.lx-partners__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 1.5rem; list-style: none; padding: 0; margin: 0;
}
/* Keep the five text-heavy profiles in a three-plus-two arrangement on desktop. */
@media (min-width: 1200px) {
  .lx-partners__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.lx-card { margin: 0; display: flex; flex-direction: column; padding: 1.7rem; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-card); }
.lx-card__logo { height: 64px; display: flex; align-items: center; margin-bottom: 1rem; }
.lx-card__logo img { width: auto; max-width: 175px; max-height: 58px; object-fit: contain; }
.lx-card__logo:has(img[src$="partner-nlfiscaal.svg"]) img { background: var(--header-navy); padding: 8px; border-radius: 4px; box-sizing: content-box; }
.lx-card h3 { margin-bottom: .25rem; }
.lx-card__tag { margin-bottom: .65rem; }
.lx-card__text { flex: 1; }
.lx-card__link { align-self: start; display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.panel-section { background: #F9FBFC; }
.panel {
  background: #fff; border: 0; border-radius: var(--radius);
  box-shadow: var(--shadow-card); padding: clamp(1.8rem, 4vw, 3.2rem);
  max-width: 940px; margin-inline: auto;
}
.panel .logo-row { margin: 0 0 .4rem; }
/* Partner logos: some source lines merge the logo image into the bold-title
   heading (h3/h4), others stay in a .logo-row — cap every logo either way. */
.panel .logo-row img,
.panel h2 img, .panel h3 img, .panel h4 img {
  max-height: 46px; width: auto; display: block; margin: 0 0 .9rem;
}
.panel h2, .panel h3, .panel h4 { margin-bottom: .5rem; }
/* Leave space between successive partner logos and headings. */
.panel h2:has(img):not(:first-child),
.panel .logo-row:not(:first-child) {
  margin-top: 2.4rem; padding-top: 2.2rem;
}

/* ---- Whitepaper split: text card LEFT + photo RIGHT ---- */
.split-section { background: var(--white); }
.split__layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.split__text {
  background: #fff; border: 0; border-radius: var(--radius);
  box-shadow: var(--shadow-card); padding: clamp(1.6rem, 3vw, 2.4rem);
}
.split__text p:last-child { margin-bottom: 0; }
.split-media { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); }
.split-media img { width: 100%; display: block; }

/* ---- Lead-capture section: centered heading + intro + two-up form ---- */
.form-section { background: var(--white); }
.form-section__inner { max-width: 760px; margin-inline: auto; text-align: center; }
.form-section .lg-form { text-align: left; margin-inline: auto; max-width: 760px; }
@supports (grid-template-columns: 1fr 1fr) {
  .form-section .lg-form { grid-template-columns: 1fr 1fr; }
  .form-section .lg-form .field--radio,
  .form-section .lg-form .field:has(textarea),
  .form-section .lg-form > button { grid-column: 1 / -1; }
}

/* ---- Contact FAQ: native <details> accordions ---- */
.faq-section { background: var(--white); }
.faq-intro { text-align: center; margin-bottom: 2.5rem; }
.faq-list { max-width: 820px; margin-inline: auto; }
.faq-item { margin-bottom: .5rem; border-radius: var(--radius-sm); background: #f7f9fc; padding-inline: 1rem; }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  cursor: pointer; padding: 1.15rem .25rem; list-style: none;
  font-family: var(--font-body); font-size: 1rem; font-weight: 500; line-height: 1.5;
  color: var(--base-dark);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary { color: var(--primary-deep); }
.faq-icon { position: relative; flex: 0 0 auto; width: 20px; height: 20px; }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; background: currentColor; border-radius: 2px;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
}
.faq-icon::before { width: 14px; height: 2px; }
.faq-icon::after { width: 2px; height: 14px; transition: transform .2s; }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-answer { padding: 0 .25rem 1.3rem; }
.faq-answer p { margin-bottom: 0; }

/* ---- Legal document body (Terms & Conditions, Privacy Policy): plain
       white section, no cards/sidebars — a single constrained-width reading
       column with clear clause spacing (F5/legal-page styling pass). ---- */
.legal-body { background: var(--white); }
.container.reading-column { max-width: calc(74ch + clamp(2.2rem, 8vw, 4rem)); }
.legal-body__inner { max-width: 74ch; margin-inline: auto; }
.legal-body__inner > *:first-child { margin-top: 0; }
.legal-body__inner ul, .legal-body__inner ol { padding-left: 1.4rem; margin-bottom: 1.4rem; }
.legal-body__inner li { margin: .55rem 0; }
.legal-body__inner li::marker { color: var(--base-light); }
/* space between clauses: every heading below the page h1 starts a fresh
   block, so give them consistent breathing room from the text above */
.legal-body__inner h2, .legal-body__inner h3, .legal-body__inner h4,
.legal-body__inner h5, .legal-body__inner h6 { margin-top: 2.6rem; }
.legal-body__inner hr { margin: 2.4rem 0; }

@media (max-width: 900px) {
  .columns__layout { grid-template-columns: 1fr; gap: 2.2rem; }
  .columns__cards .col-card:nth-child(1),
  .columns__cards .col-card:nth-child(3) { margin-left: 0; }
  .pm-grid { grid-template-columns: 1fr; }
  .pm-grid .pm-card:nth-child(even) { margin-top: 0; }
  .featured-member { grid-template-columns: 1fr; max-width: 480px; }
  .fm-card { max-width: 360px; margin-inline: auto; }
  .split__layout { grid-template-columns: 1fr; }
  .split__media { order: -1; }
}
@media (max-width: 560px) {
  .pm-icon { width: 48px; height: 48px; top: -18px; right: 20px; }
  .form-section .lg-form { grid-template-columns: 1fr; }
}


/* Quiet surface feedback: shadows do the separating, without decorative outlines.
   Static cards keep their position; only real controls use a pointer cursor. */
.show-card, .module-card, .col-card, .pm-card, .team-card, .fm-card {
  transition: box-shadow .22s ease-out;
}
.show-card:focus-within, .module-card:focus-within, .team-card:focus-within,
.fm-card:focus-within { box-shadow: var(--shadow-card-active); }
@media (hover: hover) and (pointer: fine) {
  .show-card:hover, .module-card:hover, .col-card:hover, .pm-card:hover,
  .team-card:hover, .fm-card:hover { box-shadow: var(--shadow-card-active); }
}
.btn:disabled { cursor: wait; opacity: .72; transform: none; }
.local-form-note { grid-column: 1 / -1; color: var(--muted); font-size: .9rem; }
.form-result {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  max-width: 760px; margin: 1.5rem auto; padding: .9rem 1.1rem;
  border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
  font-weight: 600; font-size: .95rem; line-height: 1.5;
  background: #fdecec; color: #9a2f2c;
}
.form-result--success { background: #eafaf2; color: #146c43; }
.form-result:focus { outline: none; } /* Programmatically announced status, not a control. */
.form-result__dismiss {
  flex: 0 0 auto; min-width: 44px; min-height: 44px; padding: 0;
  background: none; border: 0; color: inherit; font-size: 1.3rem; cursor: pointer;
}
@media (prefers-reduced-motion: reduce) {
  .btn:hover { transform: none; }
}
@media (forced-colors: active) {
  /* Functional boundaries remain visible in Windows high-contrast mode. */
  .field input, .field textarea, .btn { outline: 1px solid ButtonText; }
}

/* Usability refinements: comfortable targets without decorative borders. */
.btn, .nav-link, .dropdown a, .radio { min-height: 44px; }
.nav-link { white-space: nowrap; }
.footer-nav a, .footer-legal a, .footer-email { display: inline-flex; align-items: center; min-height: 44px; }
.footer-nav ul { gap: .25rem; }
.footer-nav li { margin: 0; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 1; }
.form-required { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: .9rem; }
main p a:not(.btn), main li a:not(.btn), .form-result a { text-decoration: underline; text-underline-offset: 3px; }
