/* ==========================================================================
   Riconos — Component styles
   Mobile-first. Breakpoints: 480 / 768 / 1024 / 1440.
   Organised by component so each block maps to a CMS widget later.
   Requires tokens.css.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-body);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Layout guards, mobile-first. Long unbreakable strings (Dutch compounds like
     "Verwerkersovereenkomst", URLs, e-mails) must wrap instead of pushing the
     page wider than the viewport; overflow-wrap is inherited, so this covers all
     text. overflow-x:hidden stays as the last-resort clip - real width control
     comes from break-word here + minmax(0,...) grid tracks, not from clipping. */
  overflow-wrap: break-word;
  overflow-x: hidden;
}

h1, h2, h3, p { margin: 0; text-wrap: pretty; }

img, svg { display: block; max-width: 100%; }

/* Layout safety net: grid items default to min-width:auto, so a wide child (a
   demo table, long word, media) can force its track wider than the viewport and
   break the page on narrow screens. Let the page-layout grids' items shrink;
   wide content then scrolls inside its own .mock__scroll or wraps (break-word).
   Add any new full-width section grid here so future pages stay safe. */
.hero__grid > *, .detail__grid > *, .problem__grid > *, .card-grid > *,
.how__grid > *, .plans > *, .features__grid > *, .feature-card > *,
.site-footer__top > *, .footer-cols > * { min-width: 0; }

a { color: var(--color-green-700); text-decoration: none; }
a:hover { color: var(--color-navy-800); text-decoration: underline; }

ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--color-brand-navy);
  outline-offset: 2px;
  border-radius: 4px;
}

.visually-hidden {
  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: var(--space-4); top: -100px;
  z-index: 100; background: var(--color-brand-navy); color: #fff;
  padding: 12px 18px; border-radius: var(--radius-sm); font-weight: 700;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: var(--space-4); text-decoration: none; color:#fff; }

/* --------------------------------------------------------------------------
   2. Layout helpers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }

.eyebrow {
  font-size: var(--font-size-xs);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-navy-300);
}

/* --------------------------------------------------------------------------
   3. Buttons  (min 44px touch target, tolerate long NL labels)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: var(--tap-min);
  padding: 12px 24px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  font: inherit;
  font-weight: 800;
  font-size: var(--font-size-base);
  line-height: 1.2;
  text-align: center;
  text-wrap: balance;
  cursor: pointer;
  transition: transform var(--dur) var(--ease),
              background var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--color-brand-green); color: var(--color-brand-navy); }
.btn--primary:hover { background: var(--color-green-400); color: var(--color-brand-navy); }

.btn--navy { background: var(--color-brand-navy); color: #fff; }
.btn--navy:hover { background: var(--color-navy-800); color: #fff; }

.btn--secondary {
  background: transparent;
  border-color: #d8d5e6;
  color: var(--color-brand-navy);
}
.btn--secondary:hover { border-color: var(--color-brand-navy); color: var(--color-brand-navy); }

.btn--block { width: 100%; }

/* --------------------------------------------------------------------------
   4. Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border-2);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-4);
  min-height: var(--header-h);
  padding-block: 12px;
}
.site-header__logo { display: inline-flex; }
.site-header__logo img { height: 34px; width: auto; }

/* primary nav — hidden below 1024, shown as drawer */
.primary-nav { display: none; }

.nav-actions { display: flex; align-items: center; gap: var(--space-3); }

/* language switcher */
.lang-switch {
  display: inline-flex;
  border: 1px solid var(--color-border-2);
  border-radius: var(--radius-pill);
  overflow: hidden;
  background: var(--color-surface);
}
.lang-switch__btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; min-height: 40px;
  padding: 0 12px;
  text-align: center; line-height: 1;
  border: 0; background: transparent;
  font: inherit; font-weight: 700; font-size: var(--font-size-sm);
  color: var(--color-navy-300); cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.lang-switch__btn[aria-pressed="true"] {
  background: var(--color-brand-navy); color: #fff;
}

/* hamburger */
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: var(--tap-min); height: var(--tap-min);
  padding: 0; border: 1px solid var(--color-border-2);
  border-radius: var(--radius-sm); background: var(--color-surface);
  cursor: pointer; color: var(--color-brand-navy);
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

/* drawer (mobile) */
.drawer {
  position: fixed; inset: var(--header-h) 0 0 0;
  z-index: 40;
  background: var(--color-surface);
  padding: var(--space-6) var(--gutter) var(--space-10);
  display: flex; flex-direction: column; gap: var(--space-2);
  transform: translateY(-8px);
  opacity: 0; visibility: hidden; pointer-events: none;
  overflow-y: auto;
  transition: opacity var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              visibility var(--dur) var(--ease);
}
.drawer[data-open="true"] {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0);
}
.drawer a.drawer__link {
  display: flex; align-items: center;
  min-height: var(--tap-min);
  padding: 8px 4px;
  font-size: 1.0625rem; font-weight: 700;
  color: var(--color-navy-600);
  border-bottom: 1px solid var(--color-border-2);
}
.drawer a.drawer__link:hover { color: var(--color-brand-navy); text-decoration: none; }
.drawer__cta { margin-top: var(--space-4); }
.drawer__lang { margin-top: var(--space-4); align-self: flex-start; }

/* --------------------------------------------------------------------------
   5. Hero  (component: Hero)
   -------------------------------------------------------------------------- */
.hero { background: var(--color-surface); }
.hero__grid {
  display: grid;
  /* minmax(0,1fr), not 1fr: a 1fr track keeps an "auto" (content) minimum, so the
     media column grows to the demo table's min-content and drags the whole page
     wider than the viewport on mobile (the .mock__scroll overflow never engages).
     minmax(0,...) lets the track shrink so the table scrolls inside the mock. */
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-10);
  align-items: center;
}
.hero__copy { display: flex; flex-direction: column; gap: var(--space-5); align-items: flex-start; }
.badge {
  display: inline-flex; align-items: center;
  font-size: var(--font-size-xs); font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--color-green-700); background: var(--color-green-50);
  padding: 6px 12px; border-radius: var(--radius-pill);
}
.hero__title {
  font-size: var(--font-size-h1);
  line-height: var(--line-tight);
  font-weight: 800; letter-spacing: -0.02em;
  color: var(--color-brand-navy);
}
.hero__lead {
  font-size: var(--font-size-lead);
  color: var(--color-navy-500);
  max-width: 52ch;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.hero__note { font-size: var(--font-size-sm); color: var(--color-navy-200); font-weight: 600; }

/* product mock */
.mock {
  background: var(--color-surface-2);
  border: 1px solid #e6e3f0;
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-md);
}
.mock__window { background: #fff; border: 1px solid #e9e7f1; border-radius: var(--radius-md); overflow: hidden; }
.mock__bar {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);
  padding: 12px 16px; border-bottom: 1px solid #efedf5;
}
.mock__title { font-size: var(--font-size-sm); font-weight: 800; color: var(--color-brand-navy); }
.pill {
  font-size: var(--font-size-xs); font-weight: 700;
  padding: 4px 10px; border-radius: var(--radius-pill);
}
.pill--ok { color: var(--color-green-700); background: var(--color-green-50); }
.mock__scroll { overflow-x: auto; }
.mock__table {
  width: 100%; min-width: 380px; border-collapse: collapse;
  font-size: var(--font-size-xs);
}
.mock__table th {
  text-align: left; font-weight: 700; color: var(--color-navy-200);
  padding: 9px 14px; border-bottom: 1px solid #f2f0f7; white-space: nowrap;
}
.mock__table td {
  padding: 11px 14px; border-bottom: 1px solid #f6f4fa; color: var(--color-navy-600);
  vertical-align: top;
}
.mock__table tr.is-flag td { background: var(--color-warning-bg); }
.status-ok { color: var(--color-green-700); font-weight: 700; white-space: nowrap; }
.status-flag { color: var(--color-warning); font-weight: 700; white-space: nowrap; }
.mock__foot { display: flex; justify-content: flex-end; padding: 12px 16px; border-top: 1px solid #efedf5; }
.mock__foot .tag {
  background: var(--color-brand-navy); color: #fff;
  font-size: var(--font-size-xs); font-weight: 700;
  padding: 8px 16px; border-radius: 7px;
}

/* --------------------------------------------------------------------------
   6. Integration strip  (component: IntegrationLogos)
   -------------------------------------------------------------------------- */
.integrations { border-top: 1px solid var(--color-border-2); background: var(--color-surface); }
.integrations__inner {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: var(--space-4) var(--space-8);
  padding-block: var(--space-8);
}
.integrations__label {
  font-size: var(--font-size-sm); font-weight: 700; color: var(--color-navy-300);
  flex: 1 1 100%;
}
.integrations__list {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-4);
}
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border: 1px solid var(--color-border);
  border-radius: var(--radius-pill); background: var(--color-bg);
  font-size: var(--font-size-sm); font-weight: 700; color: var(--color-navy-600);
}
.chip--soon { color: var(--color-navy-200); border-style: dashed; }
.chip--soon::after {
  content: "binnenkort"; font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--color-green-700);
  background: var(--color-green-50); padding: 2px 7px; border-radius: var(--radius-pill);
}

/* --------------------------------------------------------------------------
   7. Problem / quote  (component: QuoteBlock)
   -------------------------------------------------------------------------- */
.problem { background: var(--color-surface); border-top: 1px solid var(--color-border-2); }
.problem__grid {
  display: grid; grid-template-columns: 1fr; gap: var(--space-10); align-items: center;
}
.problem__copy { display: flex; flex-direction: column; gap: var(--space-3); }
.problem__copy h2 { font-size: var(--font-size-h2); font-weight: 800; letter-spacing: -0.015em; color: var(--color-brand-navy); }
.problem__copy p { font-size: var(--font-size-lead); color: var(--color-navy-500); }
.quote {
  background: var(--color-surface-2);
  border-left: 4px solid var(--color-brand-green);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: var(--space-8);
}
.quote p { font-size: var(--font-size-h3); line-height: var(--line-snug); font-weight: 700; color: var(--color-brand-navy); }
.quote cite { display: block; margin-top: var(--space-4); font-size: var(--font-size-sm); font-style: normal; color: var(--color-navy-300); font-weight: 700; }

/* --------------------------------------------------------------------------
   8. Recognition grid  (component: FeatureGrid variant)
   -------------------------------------------------------------------------- */
.recognition { display: flex; flex-direction: column; align-items: center; gap: var(--space-8); text-align: center; }
.recognition__title { font-size: var(--font-size-h2); font-weight: 800; letter-spacing: -0.01em; color: var(--color-brand-navy); max-width: 20ch; }
.card-grid {
  display: grid; grid-template-columns: 1fr; gap: var(--space-4);
  width: 100%; max-width: 900px; text-align: left;
}
.check-card {
  display: flex; gap: var(--space-4); align-items: flex-start;
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: var(--space-6);
}
.check-card__mark {
  flex: none; width: 28px; height: 28px; border-radius: var(--radius-pill);
  background: var(--color-green-50); color: var(--color-green-700);
  font-weight: 800; display: grid; place-items: center; font-size: var(--font-size-sm);
}
.check-card p { font-size: var(--font-size-base); color: var(--color-navy-600); }
.check-card strong { color: var(--color-brand-navy); }
.recognition__note { font-size: var(--font-size-sm); color: var(--color-navy-300); max-width: 60ch; }

/* --------------------------------------------------------------------------
   9. How-it-works  (component: FlowSteps)  — dark
   -------------------------------------------------------------------------- */
.how { background: var(--color-brand-navy); color: #fff; }
.how__grid {
  display: grid; grid-template-columns: 1fr; gap: var(--space-10); align-items: start;
}
.how__intro { display: flex; flex-direction: column; gap: var(--space-3); }
.how__intro .eyebrow { color: var(--color-brand-green); }
.how__intro h2 { font-size: var(--font-size-h2); font-weight: 800; letter-spacing: -0.01em; line-height: var(--line-snug); }
.how__intro p { font-size: var(--font-size-base); color: var(--color-navy-100); }
.steps { display: flex; flex-direction: column; }
.step { display: flex; gap: var(--space-5); padding-bottom: var(--space-6); }
.step:last-child { padding-bottom: 0; }
.step__rail { display: flex; flex-direction: column; align-items: center; flex: none; }
.step__num {
  width: 32px; height: 32px; border-radius: var(--radius-pill);
  background: var(--color-brand-green); color: var(--color-brand-navy);
  font-weight: 800; display: grid; place-items: center; font-size: var(--font-size-sm);
}
.step:last-child .step__num { background: #fff; }
.step__line { width: 2px; flex: 1; background: rgba(255,255,255,0.18); margin-top: 6px; }
.step:last-child .step__line { display: none; }
.step__body { padding-top: 4px; }
.step__body strong { font-size: var(--font-size-h3); font-weight: 800; }
.step__body p { margin-top: var(--space-1); font-size: var(--font-size-sm); color: var(--color-navy-100); }

/* --------------------------------------------------------------------------
   10. Pricing  (component: PricingTable) — stacked cards on mobile
   -------------------------------------------------------------------------- */
.pricing { display: flex; flex-direction: column; align-items: center; gap: var(--space-8); }
.pricing__head { text-align: center; display: flex; flex-direction: column; gap: var(--space-2); }
.pricing__head h2 { font-size: var(--font-size-h2); font-weight: 800; letter-spacing: -0.01em; color: var(--color-brand-navy); }
.pricing__head p { font-size: var(--font-size-lead); color: var(--color-navy-300); }
.plans {
  display: grid; grid-template-columns: 1fr; gap: var(--space-4);
  width: 100%; max-width: 960px;
}
.plan {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-xl); padding: var(--space-8); text-align: center;
  display: flex; flex-direction: column; gap: 4px;
}
.plan--featured { border: 2.5px solid var(--color-brand-green); box-shadow: 0 10px 30px rgba(149,193,31,0.15); }
.plan__name { font-size: var(--font-size-base); font-weight: 800; color: var(--color-navy-300); }
.plan--featured .plan__name { color: var(--color-green-700); }
.plan__price { font-size: clamp(2rem, 1.6rem + 1.6vw, 2.625rem); font-weight: 800; color: var(--color-brand-navy); margin-block: 8px 2px; }
.plan__meta { font-size: var(--font-size-sm); color: var(--color-navy-300); }
.pricing__note { font-size: var(--font-size-sm); color: var(--color-navy-300); text-align: center; max-width: 68ch; }

/* --------------------------------------------------------------------------
   11. CTA banner  (component: CtaBanner)
   -------------------------------------------------------------------------- */
.cta-banner {
  background: var(--color-green-50);
  border: 1px solid var(--color-green-200);
  border-radius: var(--radius-2xl);
  padding: clamp(28px, 4vw, 52px);
  display: flex; flex-direction: column; gap: var(--space-6);
  align-items: flex-start;
}
.cta-banner__copy { display: flex; flex-direction: column; gap: var(--space-2); }
.cta-banner__copy h2 { font-size: var(--font-size-h2); font-weight: 800; letter-spacing: -0.01em; color: var(--color-brand-navy); }
.cta-banner__copy p { font-size: var(--font-size-lead); color: var(--color-navy-400); max-width: 52ch; }
.cta-banner__actions { display: flex; flex-direction: column; gap: var(--space-2); align-items: flex-start; }
.cta-banner__actions .muted { font-size: var(--font-size-sm); font-weight: 700; color: var(--color-navy-400); }

/* --------------------------------------------------------------------------
   12. Footer  (component: Footer)
   -------------------------------------------------------------------------- */
.site-footer { background: var(--color-brand-navy); color: var(--color-navy-100); }
.site-footer__top {
  display: grid; grid-template-columns: 1fr; gap: var(--space-10);
  padding-block: var(--section-y);
}
.site-footer__brand { display: flex; flex-direction: column; gap: var(--space-4); align-items: flex-start; }
.site-footer__brand img { height: 34px; }
.site-footer__brand p { font-size: var(--font-size-sm); color: var(--color-navy-100); max-width: 40ch; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); }
.footer-col h3 { font-size: var(--font-size-sm); text-transform: uppercase; letter-spacing: 0.08em; color: #fff; margin-bottom: var(--space-3); }
.footer-col a {
  display: inline-flex; align-items: center; min-height: 36px;
  color: var(--color-navy-100); font-size: var(--font-size-sm);
}
.footer-col a:hover { color: #fff; }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6);
  justify-content: space-between; align-items: center;
  padding-block: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: var(--font-size-xs); color: var(--color-navy-200);
}

/* --------------------------------------------------------------------------
   13. Responsive — progressive layout upgrades
   -------------------------------------------------------------------------- */
@media (min-width: 480px) {
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .plan--featured { transform: translateY(-8px); }
  .problem__grid { grid-template-columns: 1fr 1fr; }
  .how__grid { grid-template-columns: 1fr 1.2fr; }
  .how__intro { position: sticky; top: calc(var(--header-h) + 16px); }
  .cta-banner { flex-direction: row; align-items: center; justify-content: space-between; }
  .cta-banner__actions { align-items: center; flex: none; }
  .site-footer__top { grid-template-columns: 1.2fr 2fr; }
}

@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
  .nav-toggle { display: none; }
  .drawer { display: none; }
  .primary-nav { display: flex; align-items: center; gap: var(--space-8); }
  .primary-nav a {
    display: inline-flex; align-items: center; min-height: var(--tap-min);
    font-size: var(--font-size-sm); font-weight: 700; color: var(--color-navy-600);
  }
  .primary-nav a:hover { color: var(--color-brand-navy); text-decoration: none; }
}

/* --------------------------------------------------------------------------
   14. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .btn:hover, .plan--featured { transform: none; }
}

/* --------------------------------------------------------------------------
   15. Lead form (module view, styled by the theme so it follows the tokens)
   -------------------------------------------------------------------------- */
.lead-form { max-width: 560px; }
.lead-form__stack { display: grid; gap: var(--space-4); }
.lead-form__stack input[type="text"],
.lead-form__stack input[type="email"] {
  width: 100%;
  min-height: var(--tap-min);
  padding: var(--space-2) var(--space-3);
}
.lead-form__consent { display: flex; gap: var(--space-2); align-items: baseline; }
.form-error {
  color: var(--color-error);
  background: var(--color-error-bg);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
}


/* ==========================================================================
   PRODUCT PAGE COMPONENTS (added for the Product page — additive, tokens-only)
   Sections 16-20 below sit after the theme's section 15 (Lead form).
   ========================================================================== */
/* --------------------------------------------------------------------------
   16. Sub-hero page intro  (product/about/etc header band)
   -------------------------------------------------------------------------- */
.page-hero { background: var(--color-surface); border-bottom: 1px solid var(--color-border-2); }
.page-hero__inner { display: flex; flex-direction: column; gap: var(--space-5); align-items: flex-start; max-width: 62ch; }
.page-hero h1 {
  font-size: var(--font-size-h1); line-height: var(--line-tight);
  font-weight: 800; letter-spacing: -0.02em; color: var(--color-brand-navy);
}
.page-hero__lead { font-size: var(--font-size-lead); color: var(--color-navy-500); }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* --------------------------------------------------------------------------
   17. Feature cards  (component: FeatureGrid / FeatureCard)
   -------------------------------------------------------------------------- */
.features__head { display: flex; flex-direction: column; gap: var(--space-3); max-width: 60ch; }
.features__head .eyebrow { color: var(--color-green-700); }
.features__head h2 { font-size: var(--font-size-h2); font-weight: 800; letter-spacing: -0.015em; color: var(--color-brand-navy); }
.features__head p { font-size: var(--font-size-lead); color: var(--color-navy-500); }
.features__grid { display: grid; grid-template-columns: 1fr; gap: var(--space-4); margin-top: var(--space-8); }
@media (min-width: 480px) { .features__grid { grid-template-columns: repeat(2, 1fr); } }
.feature-card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: var(--space-5);
  display: grid; grid-template-columns: auto 1fr;
  column-gap: var(--space-4); row-gap: var(--space-2); align-items: center;
}
.feature-card__icon {
  grid-column: 1; grid-row: 1;
  width: 40px; height: 40px; border-radius: var(--radius-md);
  background: var(--color-green-50); color: var(--color-green-700);
  display: grid; place-items: center; flex: none;
}
.feature-card__icon svg { width: 20px; height: 20px; }
.feature-card h3 { grid-column: 2; grid-row: 1; font-size: var(--font-size-h3); font-weight: 800; color: var(--color-brand-navy); }
.feature-card p { grid-column: 1 / -1; font-size: var(--font-size-sm); color: var(--color-navy-500); }
.feature-card__tag {
  grid-column: 1 / -1; justify-self: start;
  font-size: var(--font-size-xs); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--color-navy-300); background: var(--color-surface-2);
  padding: 4px 10px; border-radius: var(--radius-pill);
}

/* --------------------------------------------------------------------------
   18. Detail rows  (component: SplitFeature — alternating copy + mock)
   -------------------------------------------------------------------------- */
.detail { border-top: 1px solid var(--color-border-2); background: var(--color-surface); }
.detail:nth-of-type(even) { background: var(--color-bg); }
.detail__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-10); align-items: center; }
.detail__copy { display: flex; flex-direction: column; gap: var(--space-4); align-items: flex-start; }
.detail__copy .eyebrow { color: var(--color-green-700); }
.detail__copy h2 { font-size: var(--font-size-h2); font-weight: 800; letter-spacing: -0.015em; color: var(--color-brand-navy); }
.detail__copy > p { font-size: var(--font-size-lead); color: var(--color-navy-500); }
.detail__list { display: flex; flex-direction: column; gap: var(--space-3); }
.detail__list li { display: flex; gap: var(--space-3); align-items: flex-start; font-size: var(--font-size-base); color: var(--color-navy-600); }
.detail__list .check-card__mark { margin-top: 2px; }
.detail__list strong { color: var(--color-brand-navy); }

/* margin mock extra states */
.status-neg { color: var(--color-error); font-weight: 700; white-space: nowrap; }
.mock__table tr.is-neg td { background: var(--color-error-bg); }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* --------------------------------------------------------------------------
   19. Animated koppel-demo  (hero mock on product page — decoratief)
   -------------------------------------------------------------------------- */
.demo-mock { position: relative; }
.demo-mock [data-demo-status] span,
.demo-mock [data-demo-clientlabel] { transition: color var(--dur) var(--ease); }

/* fake pointer */
.demo-pointer {
  position: absolute; top: 0; left: 0; z-index: 8;
  pointer-events: none; opacity: 0;
  transform: translate(20px, 20px);
  transition: transform 620ms var(--ease), opacity 260ms var(--ease);
  filter: drop-shadow(0 3px 5px rgba(12, 8, 96, 0.30));
}
.demo-mock.is-live .demo-pointer { opacity: 1; }
.demo-pointer svg { display: block; }

/* click ripple */
.demo-ripple-wrap {
  position: absolute; top: 0; left: 0; z-index: 7;
  pointer-events: none; transform: translate(20px, 20px);
}
.demo-ripple {
  position: absolute; left: -17px; top: -17px;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(149, 193, 31, 0.5); opacity: 0; transform: scale(0.2);
}
.demo-ripple.is-on { animation: demoRipple 480ms var(--ease) forwards; }
@keyframes demoRipple {
  0%   { opacity: 0.6; transform: scale(0.2); }
  100% { opacity: 0;   transform: scale(1.7); }
}

/* dropdown */
.demo-menu {
  position: absolute; top: 0; left: 0; z-index: 6;
  min-width: 210px; max-width: 82%;
  background: #fff; border: 1px solid #e6e3f0;
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  padding: 6px; font-size: var(--font-size-xs);
  opacity: 0; transform: translateY(-6px) scale(0.98);
  transform-origin: top left; pointer-events: none;
  transition: opacity 200ms var(--ease), transform 200ms var(--ease);
}
.demo-menu.is-open { opacity: 1; transform: translateY(0) scale(1); }
.demo-menu__opt {
  display: flex; align-items: center; min-height: 34px;
  padding: 6px 10px; border-radius: 7px;
  color: var(--color-navy-600); font-weight: 600;
}
.demo-menu__opt.is-hover { background: var(--color-surface-2); color: var(--color-brand-navy); }
.demo-menu__sep { height: 1px; background: #f0eef7; margin: 4px 2px; }
.demo-menu__input {
  display: flex; align-items: center; gap: 6px; min-height: 34px;
  padding: 6px 10px; border: 1px dashed #d8d5e6; border-radius: 7px;
  color: var(--color-navy-300);
}
.demo-menu__input.is-hover { border-color: var(--color-brand-green); color: var(--color-navy-500); }
.demo-typed { color: var(--color-brand-navy); font-weight: 700; }
.demo-ph[hidden], .demo-caret[hidden] { display: none; }
.demo-caret {
  display: inline-block; width: 1.5px; height: 1.05em;
  background: var(--color-brand-navy); margin-left: 1px;
  transform: translateY(2px);
  animation: demoCaret 1000ms steps(1, end) infinite;
}
@keyframes demoCaret { 50% { opacity: 0; } }

/* disabled/enabled factuur-knop in de uitval-demo */
.mock__foot .tag--disabled { background: #eceaf2; color: var(--color-navy-300); }
.status-skip { color: var(--color-navy-300); font-weight: 700; white-space: nowrap; }
.pill--warn { color: var(--color-warning); background: var(--color-warning-bg); }

/* --------------------------------------------------------------------------
   20. Mock filter bars + interactieve maand-vergelijking
   -------------------------------------------------------------------------- */
.mock__filter {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  padding: 10px 14px; border-bottom: 1px solid #efedf5;
}
.mock__filter-icon {
  display: inline-grid; place-items: center; width: 26px; height: 26px;
  border-radius: 7px; background: var(--color-surface-2); color: var(--color-navy-400); flex: none;
}
.mock__filter-icon svg { width: 15px; height: 15px; }
.mfilter-field {
  display: inline-flex; align-items: center; min-height: 28px; padding: 4px 10px;
  border: 1px solid var(--color-border-2); border-radius: 7px; white-space: nowrap;
  font-size: var(--font-size-xs); color: var(--color-navy-200); background: #fff;
}
.mfilter-chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 4px 10px;
  border: 1px solid var(--color-border-2); border-radius: var(--radius-pill);
  font-size: var(--font-size-xs); font-weight: 700; color: var(--color-navy-400); background: #fff;
}
.mfilter-chip svg { width: 13px; height: 13px; }

.month-filter { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding: 10px 14px; border-bottom: 1px solid #efedf5; }
.month-filter__label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--font-size-xs); font-weight: 700; color: var(--color-navy-300); margin-right: 2px;
}
.month-filter__label svg { width: 14px; height: 14px; }
.month-chip {
  min-height: 32px; padding: 5px 11px;
  border: 1px solid var(--color-border-2); border-radius: var(--radius-pill);
  background: #fff; color: var(--color-navy-400);
  font: inherit; font-size: var(--font-size-xs); font-weight: 700; cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.month-chip:hover { border-color: var(--color-navy-300); }
.month-chip[aria-pressed="true"] { background: var(--color-brand-navy); color: #fff; border-color: var(--color-brand-navy); }

/* --------------------------------------------------------------------------
   21. Product responsive + bilingual tweaks (feature/detail breakpoints,
       numeric mock column, EN "soon" chip label)
   -------------------------------------------------------------------------- */
.mock__table th.num { text-align: right; }
html[lang="en"] .chip--soon::after { content: "soon"; }
.mock__foot--split { justify-content: space-between; align-items: center; gap: 12px; }
.mock__hint { font-size: var(--font-size-xs); color: var(--color-navy-300); white-space: nowrap; }
.month-filter__sep { width: 1px; align-self: stretch; background: var(--color-border-2); }
@media (min-width: 1024px) {
  /* Media column wider than the copy (62/38): the uitval mock has a 5-column
     table + filter bar and the marge mock a dimension + month + total filter
     row that otherwise wrap onto a second row. */
  .detail__grid { grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr); }
  .detail--reverse .detail__grid { grid-template-columns: minmax(0, 1.24fr) minmax(0, 0.76fr); }
  .detail--reverse .detail__media { order: -1; }
}
