:root {
  --bg: #f3f6fb;
  --surface: #ffffff;
  --ink: #112547;
  --muted: #3f556f;
  --brand: #1f67ff;
  --brand-2: #0f2a4f;
  --ring: rgba(31, 103, 255, 0.2);
  --focus-outline: #0b57d0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

html {
  font-size: 16px;
}

body.app-body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  line-height: 1.5;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, #dfe9ff 0, rgba(223, 233, 255, 0) 45%),
    linear-gradient(180deg, #f8fafe 0%, var(--bg) 100%);
}

h1, h2, h3, h4, .brand-text {
  font-family: "Manrope", sans-serif;
  letter-spacing: -0.01em;
}

.app-nav {
  min-height: 74px;
  background: #ffffff;
  border-bottom: 1px solid #dfe7f4;
}

.app-nav .container {
  position: relative;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 1100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(140%) blur(4px);
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 1450;
}

.mobile-drawer-scrim {
  position: absolute;
  inset: 0;
  border: 0;
  margin: 0;
  padding: 0;
  background: rgba(7, 22, 45, 0.48);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

.mobile-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(90vw, 400px);
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  box-shadow: -20px 0 38px rgba(10, 28, 52, 0.24);
  transform: translateX(100%);
  transition: transform .2s ease;
}

.mobile-drawer.is-open .mobile-drawer-scrim {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer.is-open .mobile-drawer-panel {
  transform: translateX(0);
}

.mobile-drawer-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: .4rem 0 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: .5rem 1rem;
  border-bottom: 1px solid #d9e5f8;
}

.mobile-drawer-brand {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: #163255;
  text-decoration: none;
  font-size: .98rem;
  font-weight: 800;
}

.mobile-drawer-close {
  width: 44px;
  min-height: 44px;
  border: 1px solid #ccdbf3;
  border-radius: 10px;
  background: #f7faff;
  color: #1a3f71;
  font-size: 1.1rem;
  font-weight: 700;
}

.mobile-drawer-actions {
  display: grid;
  gap: .45rem;
  padding: .75rem 1rem .65rem;
}

.mobile-drawer-action-primary,
.mobile-drawer-action-secondary {
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.mobile-drawer-action-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 44px;
  color: #1f4a82;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
  font-size: .95rem;
}

.mobile-drawer-nav {
  padding-bottom: 1rem;
}

.mobile-drawer-list,
.mobile-drawer-sublist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-drawer-group + .mobile-drawer-group,
.mobile-drawer-list > li + li {
  border-top: 1px solid #e1e9f6;
}

.mobile-drawer-sublist {
  border-top: 1px solid #e1e9f6;
}

.mobile-drawer-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  min-height: 56px;
  padding: .6rem 1rem;
  border: 0;
  background: #ffffff;
  color: #162f52;
  text-decoration: none;
  text-align: left;
}

.mobile-drawer .mobile-drawer-link,
.mobile-drawer .mobile-drawer-link:visited,
.mobile-drawer .mobile-drawer-row,
.mobile-drawer .mobile-drawer-row:visited {
  color: #162f52 !important;
}

.mobile-drawer-row-title {
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 700;
}

.mobile-drawer-row-subtitle {
  display: block;
  margin-top: .12rem;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #4b658a;
  font-size: .84rem;
  line-height: 1.35;
  font-weight: 500;
}

.mobile-drawer-chevron {
  width: .58rem;
  height: .58rem;
  border-right: 2px solid #436080;
  border-bottom: 2px solid #436080;
  transform: rotate(-45deg);
  flex: 0 0 auto;
  transition: transform .18s ease;
}

.mobile-drawer-accordion-toggle .mobile-drawer-chevron {
  transform: rotate(45deg);
}

.mobile-drawer-accordion-toggle[aria-expanded="true"] .mobile-drawer-chevron {
  transform: rotate(-135deg);
}

.mobile-drawer-sublist .mobile-drawer-row {
  min-height: 56px;
  padding-left: 1.5rem;
}

.mobile-drawer-row:hover,
.mobile-drawer-row:active,
.mobile-drawer-accordion-toggle:hover,
.mobile-drawer-accordion-toggle:active {
  background: #f4f8ff;
  color: #162f52;
}

.mobile-drawer-row:focus-visible,
.mobile-drawer-close:focus-visible,
.mobile-drawer-action-link:focus-visible {
  outline: 2px solid #1f67ff;
  outline-offset: -2px;
}

.mobile-drawer-sticky {
  position: sticky;
  bottom: 0;
  border-top: 1px solid #d9e5f8;
  background: rgba(255, 255, 255, .98);
  padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom));
}

.mobile-drawer-sticky-cta {
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.mobile-drawer-legal-links {
  margin-top: .55rem;
  display: flex;
  gap: .8rem;
}

.mobile-drawer-legal-links a {
  color: #4d6588;
  font-size: .78rem;
  text-decoration: none;
}

.mobile-drawer-legal-links a:hover,
.mobile-drawer-legal-links a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.brand-mark {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), #00a2ff);
  box-shadow: 0 0 0 6px rgba(31, 103, 255, 0.1);
}

.primary-nav {
  align-items: center;
  gap: .22rem;
}

@media (min-width: 992px) {
  .navbar-collapse {
    overflow: visible;
  }

  .primary-nav > .nav-item {
    display: flex;
    align-items: center;
  }
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-radius: 10px;
  padding: .44rem .72rem;
  color: var(--ink);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.3;
  transition: background-color .14s ease, color .14s ease;
}

.nav-link:visited {
  color: var(--ink);
}

.app-nav .primary-nav .nav-link,
.app-nav .primary-nav .nav-link:visited,
.app-nav .primary-nav .nav-link-toggle {
  color: #1b2f4f !important;
}

.app-nav .primary-nav .nav-link.active,
.app-nav .primary-nav .nav-link-toggle.active {
  background: transparent !important;
  color: #1b2f4f !important;
}

.nav-link:hover {
  color: #123560;
  background: #f2f6fc;
}

.nav-link:focus-visible,
.nav-link-toggle:focus-visible {
  outline: 3px solid var(--focus-outline);
  outline-offset: 2px;
  background: #f3f7fd;
}

.nav-link-toggle {
  border: 0;
  background: transparent;
}

.nav-item-mega.is-current > .nav-link-toggle {
  color: #163f73 !important;
}

.nav-item-mega.is-current > .nav-link-toggle::before {
  content: "";
  position: absolute;
  left: .7rem;
  right: .7rem;
  bottom: .25rem;
  height: 2px;
  border-radius: 99px;
  background: #9cbcf0;
}

.nav-item-mega.is-open > .nav-link-toggle,
.nav-item-mega.is-open > .nav-link-toggle:hover {
  background: transparent;
}

.nav-link-toggle::after {
  content: "";
  width: .45rem;
  height: .45rem;
  margin-left: .42rem;
  border-right: 1.7px solid #5c7293;
  border-bottom: 1.7px solid #5c7293;
  transform: rotate(45deg) translateY(-1px);
  transition: transform .16s ease;
}

.nav-item-mega.is-open > .nav-link-toggle::after {
  transform: rotate(-135deg) translateY(-1px);
}

.nav-item-mega {
  position: static;
}

.mega-menu-panel {
  position: absolute;
  left: 0;
  right: auto;
  width: min(1120px, calc(100vw - 2rem));
  top: calc(100% + 6px);
  border: 1px solid #d8e3f4;
  border-radius: 16px;
  background: #fdfefe;
  box-shadow: 0 18px 34px rgba(17, 37, 71, 0.14);
  padding: .9rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
  z-index: 1060;
}

.nav-item-mega.is-open > .mega-menu-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mega-menu-grid {
  margin: 0;
  max-width: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  display: grid;
  gap: .95rem;
}

.mega-menu-grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mega-menu-grid.cols-2 {
  grid-template-columns: 1.1fr 1fr;
}

.mega-menu-grid.cols-1 {
  grid-template-columns: minmax(0, 1fr);
}

.mega-menu-col {
  border: 1px solid #e5ecf8;
  border-radius: 12px;
  background: #ffffff;
  padding: .82rem .86rem;
}

.mega-menu-title {
  margin: 0 0 .5rem;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #4d6487;
}

.mega-menu-link {
  display: block;
  text-decoration: none;
  border-radius: 10px;
  padding: .52rem .58rem;
  color: #153861;
  min-height: 44px;
}

.mega-menu-link + .mega-menu-link {
  margin-top: .15rem;
}

.mega-menu-link:hover {
  background: #f1f6ff;
}

.mega-menu-link:focus-visible {
  outline: 3px solid var(--focus-outline);
  outline-offset: 2px;
  background: #f1f6ff;
}

.mega-menu-link span {
  display: block;
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.25;
}

.mega-menu-link small {
  display: block;
  margin-top: .18rem;
  color: #5b7192;
  line-height: 1.35;
  font-size: .84rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mega-menu-link-inline {
  margin-top: .45rem;
}

.mega-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .58rem;
}

.mega-logo-item {
  min-height: 58px;
  border: 1px solid #dde7f6;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.mega-logo-item img {
  width: 100%;
  height: 100%;
  max-width: 36px;
  max-height: 36px;
  object-fit: contain;
}

.nav-user .btn {
  border-radius: 10px;
  min-height: 40px;
  padding: .4rem .8rem;
  font-weight: 700;
  font-size: .9rem;
}

.nav-user .btn-primary {
  background: var(--brand);
  border-color: var(--brand);
}

.nav-user .btn-outline-primary {
  color: var(--brand);
  border-color: var(--brand);
}

.nav-user .btn-outline-primary:hover {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}

.hero {
  position: relative;
}

#product,
#flow,
#output,
#import,
#route-koppeling,
#route-export,
#route-mapping,
#faq-huurperiodes,
#faq-voorschotten,
#faq-start-zonder-import {
  scroll-margin-top: 96px;
}

.hero-bg {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0));
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 0.5rem;
}

.hero-title {
  max-width: 18ch;
  line-height: 1.1;
}

.hero-points {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.hero-points li {
  margin-bottom: 0.5rem;
}

.hero-overview-card {
  overflow: hidden;
}

.hero-overview-image {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #dbe5f8;
}

.hero-overview-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .75rem;
}

.hero-overview-meta span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid #d4e2fb;
  background: #f4f8ff;
  color: #2d4f80;
  padding: .2rem .55rem;
  font-size: .76rem;
  font-weight: 700;
}

.card-saas,
.feature,
.article-card,
.auth-card,
.article-page {
  background: var(--surface);
  border: 1px solid #e5ebf7;
  border-radius: 18px;
  box-shadow: 0 12px 36px rgba(17, 37, 71, 0.06);
}

.card-saas {
  padding: 1.25rem;
}

.card-saas-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  font-size: 0.75rem;
  color: var(--brand-2);
  background: #eaf0ff;
}

.section-soft {
  background: linear-gradient(180deg, rgba(212, 224, 255, 0.22), rgba(212, 224, 255, 0.05));
}

.section-tight {
  padding-top: .2rem;
  padding-bottom: .2rem;
}

.feature {
  padding: 1.1rem;
  height: 100%;
}

.feature-title {
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.feature-link {
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.feature-link:hover {
  border-color: #c8daf7;
  box-shadow: 0 14px 28px rgba(17, 37, 71, 0.11);
  transform: translateY(-2px);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.articles-grid.articles-grid-wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.articles-hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

.articles-hero-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.article-card {
  transition: transform .2s ease, box-shadow .2s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(17, 37, 71, 0.12);
}

.article-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  padding: 1rem;
}

.article-card-meta {
  font-size: .8rem;
  color: var(--muted);
  margin-bottom: .45rem;
}

.article-card-title {
  font-weight: 800;
  margin-bottom: .5rem;
}

.article-card-excerpt {
  color: var(--muted);
  margin-bottom: .8rem;
}

.article-card-cta {
  font-weight: 700;
  color: var(--brand);
}

.auth-shell {
  min-height: 70vh;
}

.auth-card {
  max-width: 460px;
  padding: 1.5rem;
}

.section-head {
  max-width: 100%;
}

.flow-steps {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.flow-step {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  border: 1px solid #e3ebf8;
  border-radius: 18px;
  background: #ffffff;
  padding: 1rem;
  box-shadow: 0 12px 28px rgba(17, 37, 71, 0.06);
  min-width: 0;
}

.flow-step > * {
  min-width: 0;
}

.flow-step:nth-child(even) {
  grid-template-columns: 1.2fr 1fr;
}

.flow-step:nth-child(even) .flow-step-copy {
  order: 2;
}

.flow-step:nth-child(even) img {
  order: 1;
}

.flow-step-kicker {
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: .4rem;
}

.flow-step img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #dbe6fb;
  box-shadow: 0 8px 18px rgba(20, 49, 97, 0.1);
}

.flow-step.flow-step-import {
  grid-template-columns: 1fr;
}

.import-explorer {
  border: 1px solid #dbe6fb;
  border-radius: 14px;
  background: linear-gradient(180deg, #fbfdff 0%, #f4f8ff 100%);
  padding: .9rem;
  min-width: 0;
  max-width: 100%;
}

.import-tablist {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  min-width: 0;
  max-width: 100%;
}

.import-tab {
  border: 1px solid #cfe0fb;
  border-radius: 999px;
  background: #fff;
  color: #1d3a67;
  font-weight: 700;
  font-size: .9rem;
  line-height: 1.3;
  min-height: 42px;
  padding: .46rem .82rem;
  transition: background-color .14s ease, color .14s ease, border-color .14s ease;
}

.import-tab:hover {
  border-color: #aac4ef;
  background: #f2f7ff;
}

.import-tab.is-active {
  border-color: #1f67ff;
  background: #1f67ff;
  color: #fff;
}

.import-tab:focus-visible {
  outline: 3px solid var(--focus-outline);
  outline-offset: 2px;
}

.import-panels {
  margin-top: .8rem;
}

.import-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: .85rem;
  align-items: center;
}

.import-panel picture,
.flow-step picture {
  display: block;
}

.import-panel[hidden] {
  display: none !important;
}

.import-panel-copy p {
  max-width: 50ch;
}

.import-panel img,
.import-slide img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid #dbe6fb;
  box-shadow: 0 8px 18px rgba(20, 49, 97, 0.1);
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.import-carousel {
  display: none;
  max-width: 100%;
  overflow: hidden;
  min-width: 0;
}

.import-carousel-track {
  display: flex;
  width: 100%;
  max-width: 100%;
  gap: .7rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  overscroll-behavior-x: contain;
  padding-bottom: .25rem;
  min-width: 0;
}

.import-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  scroll-snap-align: start;
  border: 1px solid #dbe6fb;
  border-radius: 12px;
  background: #fff;
  padding: .8rem;
}

.flow-video {
  margin: 0;
  border: 1px solid #dbe6fb;
  border-radius: 18px;
  background: #ffffff;
  padding: .9rem;
  box-shadow: 0 14px 30px rgba(17, 37, 71, 0.08);
}

.flow-video-player {
  width: 100%;
  display: block;
  border-radius: 12px;
  border: 1px solid #dbe6fb;
  box-shadow: 0 10px 22px rgba(17, 37, 71, 0.12);
  background: #09142a;
}

.flow-video figcaption {
  margin-top: .7rem;
  color: #5d7292;
  font-size: .95rem;
}

.home-video-spotlight-head {
  max-width: 64rem;
  margin: 0 auto;
}

.flow-video-spotlight {
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  padding: 1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .5s ease, transform .55s ease;
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

.conversion-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
}

.objection-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
}

.objection-item {
  border: 1px solid #d8e6fb;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
  box-shadow: 0 8px 20px rgba(17, 37, 71, 0.05);
  padding: .85rem .95rem;
}

.objection-item-title {
  font-weight: 800;
  color: #17345d;
  margin-bottom: .2rem;
}

.objection-item-copy {
  color: #5d7292;
  font-size: .88rem;
}

.conversion-item {
  border: 1px solid #dce7fb;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(17, 37, 71, 0.05);
  padding: .85rem .95rem;
}

.conversion-item-title {
  font-weight: 800;
  color: #17345d;
  margin-bottom: .2rem;
}

.conversion-item-copy {
  color: #5d7292;
  font-size: .88rem;
}

.conversion-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .9rem;
  border: 1px solid #d6e3fb;
  border-radius: 16px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
  box-shadow: 0 10px 24px rgba(17, 37, 71, 0.07);
  padding: 1rem 1.1rem;
}

.compare-feature {
  border-width: 2px;
}

.compare-feature-negative {
  border-color: #f1d4d4;
  background: linear-gradient(180deg, #fffafa 0%, #fff3f3 100%);
}

.compare-feature-positive {
  border-color: #cbe5d0;
  background: linear-gradient(180deg, #f8fffa 0%, #ecfaf0 100%);
}

.compare-list {
  margin: 0;
  padding-left: 1.1rem;
  color: #3d506c;
}

.compare-list li + li {
  margin-top: .35rem;
}

.home-sticky-cta {
  position: fixed;
  left: .7rem;
  right: .7rem;
  bottom: calc(.7rem + env(safe-area-inset-bottom));
  z-index: 1050;
  padding: .5rem;
  border: 1px solid #cfe0fb;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 28px rgba(17, 37, 71, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.home-page .home-sticky-cta.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* Homepage calming pass */
body.home-page {
  background:
    radial-gradient(circle at top right, #edf2fb 0, rgba(237, 242, 251, 0) 40%),
    linear-gradient(180deg, #f8fafe 0%, #f3f6fb 100%);
}

.home-page .hero-bg {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0.06));
}

.home-page .display-5.fw-bold.hero-title {
  font-size: clamp(2.1rem, 4.2vw, 3rem);
  line-height: 1.08;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.home-page h1,
.home-page h2,
.home-page h3 {
  overflow-wrap: anywhere;
  hyphens: auto;
}

.home-page .lead {
  font-size: 1.28rem;
  color: #405673 !important;
}

.home-page .hero-points {
  color: #4c6280;
}

.home-page .pill {
  color: #29496f;
  background: #eef3fb;
}

.home-page .hero-overview-meta span {
  border-color: #dbe4f3;
  background: #f5f7fb;
  color: #355070;
}

.home-page .section-head .h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.25rem);
  letter-spacing: -0.015em;
}

.home-page .section-head {
  max-width: 100%;
}

.home-page .section-soft {
  background: linear-gradient(180deg, rgba(245, 248, 252, 0.95), rgba(245, 248, 252, 0.72));
}

.home-page .card-saas,
.home-page .feature,
.home-page .conversion-cta,
.home-page .flow-step,
.home-page .flow-video {
  box-shadow: 0 8px 20px rgba(17, 37, 71, 0.05);
}

.home-page .home-video-spotlight {
  padding-bottom: .3rem;
}

.home-page .conversion-cta {
  border-color: #dde5f2;
  background: #f8fafd;
}

.home-page .compare-feature-negative,
.home-page .compare-feature-positive {
  border-color: #d8e2f0;
  background: #ffffff;
}

.btn-primary {
  background: var(--brand);
  border-color: var(--brand);
}

.btn-primary:hover,
.btn-primary:focus-visible,
.btn-primary:active {
  background: #1858dd;
  border-color: #1858dd;
}

.form-control:focus,
.form-check-input:focus,
.btn:focus {
  box-shadow: 0 0 0 .2rem var(--ring);
}

.app-footer {
  border-top: 1px solid #dfe6f5;
  margin-top: 3rem;
  background: rgba(255, 255, 255, 0.8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
}

.footer-title {
  font-weight: 700;
  margin-bottom: .4rem;
}

.footer-nav {
  display: grid;
  gap: .35rem;
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--brand);
}

.footer-bottom {
  margin-top: 1rem;
}

@media (max-width: 992px) {
  .container,
  .container-sm,
  .container-md,
  .container-lg,
  .container-xl,
  .container-xxl {
    max-width: calc(100dvw - 1.2rem) !important;
  }

  .home-page {
    padding-bottom: 7.4rem;
  }

  .app-nav {
    min-height: 72px;
  }

  .app-header {
    isolation: isolate;
    backdrop-filter: none;
  }

  .app-nav .container {
    position: static;
  }

  .navbar-toggler {
    border: 1px solid #d3def1;
    background: #ffffff;
  }

  .app-nav #navMain {
    display: none !important;
  }

  .home-sticky-cta {
    z-index: 1200;
  }

  .objection-strip {
    grid-template-columns: 1fr 1fr;
  }

  .conversion-strip {
    grid-template-columns: 1fr;
  }

  .conversion-cta {
    align-items: flex-start;
  }

  .flow-step,
  .flow-step:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .flow-step:nth-child(even) .flow-step-copy,
  .flow-step:nth-child(even) img {
    order: initial;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

  .articles-grid.articles-grid-wide {
    grid-template-columns: 1fr;
  }

  .articles-hero-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1023.98px) {
  .import-panel {
    grid-template-columns: 1fr;
  }

  .import-tablist {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .42rem;
    width: 100%;
    overflow: visible;
    padding-bottom: 0;
  }

  .import-tab {
    width: 100%;
    white-space: nowrap;
    min-height: 40px;
    padding: .34rem .5rem;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .01em;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .import-tablist {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .35rem;
  }

  .import-tab {
    min-height: 42px;
    font-size: .78rem;
    padding: .35rem .4rem;
    border-radius: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .import-tab,
  .import-carousel-track {
    transition: none;
    scroll-behavior: auto;
  }
}

body.article-page {
  background: linear-gradient(180deg, #f9fbff 0%, #eef3fb 100%);
}

.article-post {
  max-width: 980px;
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

.article-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
  border: 1px solid #dde6f6;
  border-radius: 20px;
  padding: 1.4rem;
  margin-bottom: 1.25rem;
  background:
    radial-gradient(120% 90% at 0% 0%, hsla(var(--article-accent), .14), transparent 55%),
    radial-gradient(110% 80% at 100% 0%, hsla(var(--article-accent-2), .16), transparent 60%),
    #fff;
}

.article-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  font-size: .75rem;
  color: hsl(var(--article-accent));
}

.article-title {
  margin: .4rem 0 .6rem;
}

.article-meta {
  display: flex;
  gap: .5rem;
  align-items: center;
  font-size: .95rem;
}

.article-lead {
  margin: .8rem 0 0;
  color: #33455f;
  max-width: 70ch;
}

.article-content {
  border: 1px solid #dde6f6;
  border-radius: 20px;
  background: #fff;
  padding: 1.4rem;
}

.article-content h2 {
  margin-top: 1.3rem;
  margin-bottom: .6rem;
  font-size: 1.5rem;
}

.article-content p {
  color: #2b3d55;
  line-height: 1.75;
}

.article-content ul {
  padding-left: 1.2rem;
}

.article-tldr {
  border: 1px solid #d6e2ff;
  background: #f5f8ff;
  border-radius: 14px;
  padding: .85rem 1rem;
  margin-top: .85rem;
}

.article-callout {
  border-left: 4px solid var(--brand);
  background: #f6f9ff;
  border-radius: 10px;
  padding: .7rem .85rem;
  color: #2b3d55;
}

.article-sources {
  margin: 0;
  padding-left: 1.15rem;
}

.app-table th {
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #5f7188;
  border-bottom-width: 1px;
}

.app-table {
  width: 100%;
}

.app-table th,
.app-table td {
  vertical-align: middle;
  padding-top: .78rem;
  padding-bottom: .78rem;
}

.app-table tbody tr:hover {
  background: rgba(235, 242, 255, 0.45);
}

.app-help {
  border-left: 4px solid var(--brand);
}

.info-tip {
  width: 1.1rem;
  height: 1.1rem;
  border: 1px solid #b8c8e6;
  border-radius: 50%;
  background: #f4f8ff;
  color: #365c94;
  font-size: .72rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: help;
  font-weight: 700;
}

.info-tip:hover {
  background: #e9f1ff;
  border-color: #97b4e4;
}

.app-trail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .9rem;
  padding: .55rem .75rem;
  border: 1px solid #e5ebf7;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
}

.app-back-btn {
  border: 1px solid #ccd9f2;
  background: #f6f9ff;
  color: #21406b;
  border-radius: 999px;
  padding: .3rem .8rem;
  font-weight: 700;
  font-size: .85rem;
}

.app-back-btn:hover {
  background: #eaf1ff;
}

.app-crumbs-list {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.app-crumb-item {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.app-crumb-item + .app-crumb-item::before {
  content: ">";
  color: #88a0c8;
  font-size: .78rem;
  margin-right: .1rem;
}

.app-crumb-link,
.app-crumb-current {
  border-radius: 999px;
  padding: .2rem .62rem;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
}

.app-crumb-link {
  color: #2b4f83;
  background: #edf3ff;
}

.app-crumb-link:hover {
  background: #dfebff;
  color: #17386a;
}

.app-crumb-current {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), #008fd8);
}

.quick-start-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .7rem;
}

.quick-start-link {
  display: block;
  text-decoration: none;
  border: 1px solid #dbe6fb;
  border-radius: 14px;
  padding: .8rem .9rem;
  background: linear-gradient(180deg, #f9fbff 0%, #eef4ff 100%);
  color: #1d3963;
  box-shadow: 0 6px 18px rgba(33, 72, 139, 0.07);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.quick-start-image {
  display: block;
  width: 56px;
  height: 56px;
  margin-bottom: .55rem;
  border-radius: 14px;
  object-fit: contain;
  border: 1px solid #d2e0fb;
  background: #e9f1ff;
}

.quick-start-link strong {
  display: block;
  font-size: .95rem;
  margin-bottom: .15rem;
}

.quick-start-link span {
  display: block;
  font-size: .8rem;
  color: #587099;
}

.quick-start-link:hover {
  transform: translateY(-2px);
  border-color: #baceef;
  box-shadow: 0 12px 22px rgba(33, 72, 139, 0.14);
  color: #112547;
}

.table-link {
  color: #143a72;
  text-decoration: none;
  font-weight: 700;
}

.table-link:hover {
  color: #0f66ff;
  text-decoration: underline;
}

.table-action-cell {
  text-align: right;
  white-space: nowrap;
}

.action-col-header {
  text-align: right;
  width: 1%;
  white-space: nowrap;
}

.app-table td.table-action-cell .btn {
  margin-left: auto;
}

.btn-detail {
  border: 1px solid #c6d6f2;
  background: #f7faff;
  color: #1f487b;
  font-weight: 700;
}

.btn-detail:hover {
  border-color: #9eb8e8;
  background: #ebf2ff;
  color: #163761;
}

body.nav-open {
  overflow: hidden;
  touch-action: none;
}

body.nav-open .home-sticky-cta {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.advance-timeline {
  display: grid;
  gap: .45rem;
}

.advance-timeline-row {
  display: grid;
  grid-template-columns: minmax(150px, 220px) 1fr;
  gap: .6rem;
  align-items: center;
}

.advance-timeline-label {
  font-size: .82rem;
  color: #4e6588;
}

.advance-timeline-track {
  position: relative;
  min-height: 30px;
  border: 1px solid #dbe7fb;
  border-radius: 999px;
  background: #f7faff;
  overflow: hidden;
}

.advance-timeline-bar {
  position: absolute;
  top: 3px;
  bottom: 3px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2c73ff 0%, #1f67ff 100%);
  color: #fff;
  font-size: .73rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 0 .5rem;
}

.chip-link {
  border: 1px solid #d8e5fd;
  background: #f4f8ff;
  color: #274d83;
  border-radius: 999px;
  padding: .24rem .7rem;
  text-decoration: none;
  font-size: .82rem;
  font-weight: 700;
}

.chip-link:hover {
  background: #e8f1ff;
}

.manage-card {
  display: block;
  text-decoration: none;
  color: var(--ink);
  height: 100%;
}

.manage-card:hover {
  border-color: #cbdaf6;
  box-shadow: 0 16px 28px rgba(17, 37, 71, 0.1);
}

.manage-card-title {
  font-weight: 800;
}

.manage-card-copy {
  margin-top: .35rem;
  font-size: .9rem;
  color: var(--muted);
}

.cost-target-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
}

.cost-target-card {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  align-items: flex-start;
  text-align: left;
  border: 1px solid #dbe6fb;
  border-radius: 14px;
  padding: 1rem;
  background: linear-gradient(180deg, #f9fbff 0%, #eef4ff 100%);
  color: #1d3963;
  box-shadow: 0 6px 18px rgba(33, 72, 139, 0.07);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.cost-target-card:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: #baceef;
  box-shadow: 0 12px 22px rgba(33, 72, 139, 0.14);
}

.cost-target-card.active {
  border-color: #7ea5e8;
  background: linear-gradient(180deg, #f0f6ff 0%, #e0edff 100%);
  box-shadow: 0 14px 26px rgba(33, 72, 139, 0.18);
}

.cost-target-card:disabled {
  opacity: .55;
  cursor: not-allowed;
  box-shadow: none;
}

.cost-target-icon {
  width: 2.1rem;
  height: 2.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid #cfe0fb;
  background: #e9f1ff;
  font-size: 1rem;
}

.cost-target-title {
  font-size: .98rem;
  font-weight: 800;
}

.cost-target-copy {
  font-size: .86rem;
  color: #587099;
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.4rem 1rem;
  border: 1px dashed #c7d8f5;
  border-radius: 16px;
  background: linear-gradient(180deg, #fbfdff 0%, #f3f8ff 100%);
}

.empty-state-illustration {
  width: 160px;
  max-width: 100%;
  margin-bottom: .65rem;
}

.empty-state-svg {
  width: 100%;
  height: auto;
  display: block;
}

.empty-state-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #17345d;
}

.empty-state-message {
  margin: .35rem 0 0;
  max-width: 52ch;
  color: #5a6f8f;
  font-size: .92rem;
}

.create-panel {
  margin: 0;
}

.create-panel summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  cursor: pointer;
  user-select: none;
}

.create-panel summary::-webkit-details-marker {
  display: none;
}

.create-panel summary::after {
  content: "+";
  font-weight: 800;
  line-height: 1;
}

.create-panel[open] summary::after {
  content: "-";
}

.create-panel-body {
  margin-top: .8rem;
}

.filter-panel {
  border: 1px solid #d9e4f8;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(17, 37, 71, 0.06);
}

.filter-panel > summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  cursor: pointer;
  padding: .7rem .85rem;
  font-weight: 700;
  color: #1b3b69;
}

.filter-panel > summary::-webkit-details-marker {
  display: none;
}

.filter-panel > summary::after {
  content: "+";
  font-weight: 800;
  line-height: 1;
}

.filter-panel[open] > summary::after {
  content: "-";
}

.filter-panel-title {
  font-size: .96rem;
}

.filter-panel-summary {
  font-size: .82rem;
  color: #5f7597;
}

.filter-panel-body {
  border-top: 1px solid #e6eefb;
  padding: .75rem .85rem .85rem;
}

.filter-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .7rem;
}

/* Form layout standard: stacked fields by default, except explicit paired fields. */
.app-content form .row.g-3:not(.allow-grid) > [class*="col-"] {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .app-content form .row.g-3:not(.allow-grid) > .keep-inline {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

.form-action-bar {
  position: sticky;
  bottom: .5rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1rem;
  padding: .55rem .65rem;
  border: 1px solid #d9e4f8;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 18px rgba(17, 37, 71, 0.08);
  z-index: 3;
}

.form-action-status {
  color: #577197;
  font-size: .82rem;
}

.addressgroup-option {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  width: 100%;
  border: 1px solid #dbe7fb;
  border-radius: 10px;
  background: #fff;
  padding: .55rem .65rem;
  cursor: pointer;
}

.addressgroup-option .form-check-input {
  margin: .2rem 0 0;
  flex: 0 0 auto;
}

.addressgroup-option span {
  font-size: .9rem;
  line-height: 1.35;
  color: #1f3f6c;
}

.app-content .form-label {
  margin-bottom: .24rem;
  font-size: .88rem;
}

.app-content .form-control,
.app-content .form-select {
  min-height: 40px;
  padding: .42rem .62rem;
}

.form-validation-summary {
  margin-bottom: .9rem;
}

.form-validation-summary ul {
  margin: .35rem 0 0;
  padding-left: 1.1rem;
}

.onboarding-guide {
  border-color: #cfe0fb;
}

.onboarding-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
}

.onboarding-step {
  display: flex;
  align-items: center;
  gap: .55rem;
  border: 1px solid #dbe7fb;
  border-radius: 12px;
  padding: .55rem .65rem;
  text-decoration: none;
  color: #1e3d68;
  background: #f8fbff;
}

.onboarding-step.pending {
  border-color: #d8e4fa;
}

.onboarding-step:hover {
  border-color: #bad2f6;
  background: #f0f6ff;
  color: #12355f;
}

.onboarding-step.done {
  border-color: #9ad5b4;
  background: #eefaf3;
}

.onboarding-step-index {
  width: 1.55rem;
  height: 1.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid #c9dcf8;
  font-size: .8rem;
  font-weight: 800;
  background: #fff;
}

.onboarding-step.done .onboarding-step-index {
  border-color: #88c7a4;
  background: #dff2e8;
}

.onboarding-step-copy {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
}

.onboarding-step-copy strong {
  font-size: .9rem;
}

.onboarding-step-copy small {
  color: #5c7395;
  font-size: .78rem;
}

.onboarding-step-status {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.2rem;
  color: #4b6793;
  font-size: .96rem;
}

.onboarding-step.done .onboarding-step-status {
  color: #1b9a56;
}

.onboarding-step.pending .onboarding-step-status {
  color: #3b5f96;
}

.onboarding-step.pending:hover .onboarding-step-status {
  color: #1f4e8e;
}

.session-timeline-list {
  display: grid;
  gap: .85rem;
}

.session-supplier-list {
  display: grid;
  gap: .85rem;
}

.session-kpi-grid {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.app-kpi-grid {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.app-kpi-card {
  min-width: 0;
  min-height: 104px;
}

.app-kpi-value {
  margin-top: .45rem;
  font-size: clamp(1rem, 1.3vw, 1.24rem);
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.app-kpi-value-number {
  font-size: clamp(1.3rem, 2.1vw, 1.95rem);
}

.session-kpi-card {
  min-width: 0;
}

.session-kpi-value {
  margin-top: .45rem;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.session-kpi-value-number {
  font-size: clamp(1.25rem, 2.2vw, 2rem);
}

.session-timeline-card {
  border: 1px solid #d7e4fa;
  border-radius: 14px;
  padding: .75rem .85rem;
  background: linear-gradient(180deg, #fbfdff 0%, #f5f9ff 100%);
}

.session-timeline-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  margin-bottom: .6rem;
}

.session-timeline-vacancy {
  font-size: .8rem;
  font-weight: 700;
  border-radius: 999px;
  padding: .18rem .55rem;
}

.session-timeline-vacancy.ok {
  color: #315c44;
  background: #e4f5eb;
}

.session-timeline-vacancy.warning {
  color: #744d16;
  background: #fff0d9;
}

.session-timeline-months {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(54px, 1fr));
  gap: .35rem;
}

.session-month {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border-radius: 8px;
  font-size: .72rem;
  font-weight: 700;
  border: 1px solid #d4e1f8;
  position: relative;
  cursor: default;
}

.session-month.occupied {
  background: #eaf3ff;
  color: #214573;
}

.session-month.vacant {
  background: #fff4e4;
  color: #7d571f;
  border-color: #f1d3a7;
}

.session-month.segment-start {
  border-radius: 9px 4px 4px 9px;
}

.session-month.segment-mid {
  border-radius: 4px;
}

.session-month.segment-end {
  border-radius: 4px 9px 9px 4px;
}

.session-month.segment-single {
  border-radius: 9px;
}

.session-month-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%) translateY(4px);
  width: 250px;
  max-width: 92vw;
  padding: .55rem .65rem;
  border-radius: 10px;
  border: 1px solid #c9daf6;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(18, 44, 80, 0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease;
  z-index: 8;
}

.session-month:hover .session-month-tooltip,
.session-month:focus .session-month-tooltip,
.session-month:focus-within .session-month-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.session-month-tooltip-title {
  font-size: .82rem;
  font-weight: 800;
  color: #173d6a;
  margin-bottom: .35rem;
}

.session-month-tooltip-row {
  display: flex;
  justify-content: space-between;
  gap: .45rem;
  margin: .1rem 0;
  font-size: .75rem;
  color: #4f688a;
}

.session-month-tooltip-row strong {
  color: #16385f;
  text-align: right;
}

.session-segment-list {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .65rem;
}

.afrekening-breakdown-list {
  display: grid;
  gap: .75rem;
}

.afrekening-breakdown-item {
  border: 1px solid #d7e4fa;
  border-radius: 14px;
  padding: .75rem .85rem;
  background: linear-gradient(180deg, #fbfdff 0%, #f5f9ff 100%);
}

.afrekening-breakdown-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .8rem;
  margin-bottom: .65rem;
}

.afrekening-breakdown-total {
  font-size: 1.1rem;
  font-weight: 800;
  color: #1b3f70;
  white-space: nowrap;
}

.afrekening-breakdown-steps {
  display: grid;
  gap: .45rem;
}

.afrekening-step {
  border: 1px solid #e0e9f8;
  border-radius: 10px;
  padding: .45rem .6rem;
  background: #ffffff;
}

.afrekening-step-label {
  font-size: .78rem;
  color: #5a7397;
  font-weight: 700;
}

.afrekening-step-value {
  font-size: .9rem;
  color: #173d6a;
  margin-top: .15rem;
}

.detail-hero {
  border: 1px solid #d6e4f8;
  background: linear-gradient(180deg, #fcfeff 0%, #f4f8ff 100%);
}

.detail-hero-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
}

.detail-hero-subtitle {
  color: #4f688a;
  font-size: .98rem;
}

.detail-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.detail-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .75rem;
}

.detail-kpi-card {
  min-height: 88px;
}

.context-note {
  margin-bottom: .75rem;
  padding: .42rem .6rem;
  border-left: 3px solid #83a7e6;
  background: #f4f8ff;
  color: #29456d;
  border-radius: 8px;
  font-size: .85rem;
}

@media (max-width: 992px) {
  .quick-start-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cost-target-grid {
    grid-template-columns: 1fr;
  }

  .onboarding-steps {
    grid-template-columns: 1fr;
  }

  .app-trail {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 576px) {
  .objection-strip {
    grid-template-columns: 1fr;
  }

  .mega-logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .flow-step {
    padding: .8rem;
  }

  .quick-start-grid {
    grid-template-columns: 1fr;
  }

  .detail-hero-actions {
    width: 100%;
  }

  .detail-hero-actions .btn {
    flex: 1 1 100%;
  }
}


/* App shell with left navigation */
body.app-shell {
  min-height: 100vh;
}

.app-shell-frame {
  display: grid;
  grid-template-columns: 248px 1fr;
  min-height: 100vh;
}

.app-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  border-right: 1px solid #e4eaf3;
  background: linear-gradient(180deg, #fbfcfe 0%, #f5f8fc 100%);
  padding: .95rem .72rem;
  display: flex;
  flex-direction: column;
  gap: .9rem;
  overflow: hidden;
}

.app-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .15rem .18rem .55rem;
  border-bottom: 1px solid #edf1f7;
}

.app-sidebar-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: #42536d;
  font-weight: 600;
  font-size: .93rem;
  padding: .24rem .2rem;
}

.app-sidebar-close {
  border: 1px solid #d0dcf3;
  background: #f7faff;
  color: #2a4874;
  border-radius: 10px;
  padding: .26rem .48rem;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1;
}

.app-sidebar-overlay {
  display: none;
}

.app-sidebar-nav {
  display: grid;
  gap: .16rem;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding-right: .08rem;
  scrollbar-width: thin;
  scrollbar-color: #cfd8e6 transparent;
}

.app-sidebar-nav::-webkit-scrollbar {
  width: 8px;
}

.app-sidebar-nav::-webkit-scrollbar-track {
  background: transparent;
}

.app-sidebar-nav::-webkit-scrollbar-thumb {
  background: #d4dbe8;
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: content-box;
}

.app-sidebar-nav::-webkit-scrollbar-thumb:hover {
  background: #c4cedf;
  background-clip: content-box;
}

.app-side-group {
  display: grid;
  gap: .14rem;
}

.app-side-group + .app-side-group {
  margin-top: .24rem;
}

.app-sidebar-nav.is-all-collapsed .app-side-group + .app-side-group {
  margin-top: .08rem;
}

.app-side-group-toggle {
  width: 100%;
  border: 0;
  background: transparent;
  color: #8a99af;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .08rem .5rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: left;
}

.app-side-group-label {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.app-side-group-label .fa-solid {
  display: none;
}

.app-side-group-toggle:hover {
  color: #8090a7;
}

.app-side-group-toggle.active {
  color: #8a99af;
}

.app-side-group-chevron {
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform .15s ease;
  margin-right: .24rem;
}

.app-side-group-toggle[aria-expanded="true"] .app-side-group-chevron {
  transform: rotate(45deg);
}

.app-side-group-toggle[aria-expanded="false"] .app-side-group-chevron {
  transform: rotate(-45deg);
}

.app-side-group-panel {
  display: grid;
  gap: .12rem;
  padding: 0;
  overflow: hidden;
  max-height: 1000px;
  opacity: 1;
  transition: max-height .18s ease, opacity .14s ease;
}

.app-side-group-panel:not(.is-open) {
  max-height: 0;
  opacity: 0;
}

.app-side-group-panel[hidden] {
  display: none !important;
}

.app-side-link {
  display: flex;
  align-items: center;
  gap: .46rem;
  min-height: 36px;
  padding: .44rem .56rem;
  border-radius: 8px;
  text-decoration: none;
  color: #35485f;
  font-weight: 500;
  font-size: .88rem;
  line-height: 1.2;
  position: relative;
  background: transparent;
}

.app-side-link .fa-solid {
  width: .92rem;
  text-align: center;
  color: #8f9db0;
  font-size: .78rem;
}

.app-side-link:hover {
  background: #f1f5fb;
  color: #2f435b;
}

.app-side-link:hover .fa-solid {
  color: #6f8098;
}

.app-side-link.active {
  background: #e8f1ff;
  color: #1f3552;
  font-weight: 600;
}

.app-side-link.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 3px;
  border-radius: 2px;
  background: #2d7ff9;
}

.app-side-link.active .fa-solid {
  color: #2a4768;
}

.app-sidebar-user {
  margin-top: .2rem;
  padding-top: .6rem;
  border-top: 1px solid #e7edf6;
  display: flex;
  gap: .45rem;
  flex-wrap: wrap;
  flex: 0 0 auto;
  background: linear-gradient(180deg, rgba(251, 252, 254, 0) 0%, rgba(251, 252, 254, .95) 28%, #fbfcfe 100%);
}

.app-sidebar-user .d-inline {
  display: block !important;
  width: 100%;
}

.app-sidebar-user .app-auth-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 42px;
  border-radius: 10px;
  font-weight: 800;
  letter-spacing: .01em;
}

.app-sidebar-user .app-auth-btn-dashboard {
  border-color: #bfd3f4;
  color: #1b457e;
  background: #f5f9ff;
}

.app-sidebar-user .app-auth-btn-dashboard:hover {
  border-color: #9ebeea;
  color: #143a6c;
  background: #eaf2ff;
}

.app-sidebar-user .app-auth-btn-logout {
  border-color: #1a4f93;
  background: linear-gradient(135deg, #1f67ff, #0f4cb6);
}

.app-sidebar-user .app-auth-btn-logout:hover {
  border-color: #113f88;
  background: linear-gradient(135deg, #1a5ce4, #0e418f);
}

.app-content {
  min-width: 0;
}

.app-toolbar {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .48rem .85rem;
  border-bottom: 1px solid #e2e9f8;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(6px);
}

.app-toolbar-menu {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  border: 1px solid #d0dcf3;
  background: #f7faff;
  color: #2a4874;
  border-radius: 999px;
  padding: .2rem .62rem;
  font-size: .8rem;
  font-weight: 700;
}

.app-toolbar-menu:hover {
  background: #ebf2ff;
}

.app-toolbar-back {
  border: 1px solid #d0dcf3;
  background: #f7faff;
  color: #2a4874;
  border-radius: 999px;
  padding: .2rem .62rem;
  font-size: .8rem;
  font-weight: 700;
}

.app-toolbar-back:hover {
  background: #ebf2ff;
}

.app-breadcrumbs {
  min-width: 0;
  overflow-x: auto;
}

.app-breadcrumbs-list {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: .2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  white-space: nowrap;
}

.app-breadcrumbs-item {
  display: inline-flex;
  align-items: center;
  gap: .2rem;
}

.app-breadcrumbs-item + .app-breadcrumbs-item::before {
  content: "/";
  color: #8ca1c5;
  font-size: .75rem;
}

.app-breadcrumb-link,
.app-breadcrumb-current {
  text-decoration: none;
  font-size: .82rem;
  font-weight: 600;
  color: #355584;
  padding: .05rem 0;
  border-radius: 0;
  max-width: 17rem;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  vertical-align: bottom;
}

.app-breadcrumb-link:hover {
  color: #173a6b;
  text-decoration: underline;
}

.app-breadcrumb-current {
  color: #112547;
  font-weight: 800;
}

.app-content-wrap {
  padding-top: .7rem;
  padding-bottom: 1.2rem;
}

.app-feedback-toast-wrap {
  z-index: 1080;
}

@media (max-width: 768px) {
  .advance-timeline-row {
    grid-template-columns: 1fr;
    gap: .35rem;
  }

  .app-table.table-mobile-cards thead {
    display: none;
  }

  .app-table.table-mobile-cards tbody,
  .app-table.table-mobile-cards tr,
  .app-table.table-mobile-cards td {
    display: block;
    width: 100%;
  }

  .app-table.table-mobile-cards tr {
    border: 1px solid #dce6f7;
    border-radius: 12px;
    margin-bottom: .7rem;
    padding: .45rem .55rem;
    background: #fff;
  }

  .app-table.table-mobile-cards td {
    border: 0;
    border-bottom: 1px dashed #e7eefb;
    padding: .42rem 0;
  }

  .app-table.table-mobile-cards td:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .app-table.table-mobile-cards td::before {
    content: attr(data-label);
    display: block;
    color: #6a7f9f;
    font-size: .74rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: .16rem;
  }

  .table-action-cell {
    text-align: left;
  }
}

@media (max-width: 1199.98px) {
  .app-table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 1023.98px) {
  .app-shell-frame {
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: min(86vw, 320px);
    max-width: 100%;
    z-index: 1100;
    border-right: 1px solid #e4eaf3;
    border-bottom: 0;
    padding: .78rem .68rem;
    gap: .7rem;
    overflow: hidden;
    transform: translateX(-108%);
    transition: transform .2s ease;
    box-shadow: 0 12px 30px rgba(17, 37, 71, 0.14);
  }

  body.app-sidebar-open {
    overflow: hidden;
  }

  body.app-sidebar-open .app-sidebar {
    transform: translateX(0);
  }

  .app-sidebar-overlay {
    position: fixed;
    inset: 0;
    z-index: 1090;
    border: 0;
    background: rgba(12, 29, 53, .45);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
  }

  body.app-sidebar-open .app-sidebar-overlay {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }

  .app-toolbar {
    padding: .5rem .65rem;
  }

  .app-breadcrumb-link,
  .app-breadcrumb-current {
    max-width: 11rem;
  }
}

@media (min-width: 1024px) {
  .app-toolbar-menu,
  .app-sidebar-close {
    display: none !important;
  }
}

/* Boekhoudkoppelingen */
.integration-kicker {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  margin-bottom: 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 800;
  color: #234c86;
  background: #eaf2ff;
  border: 1px solid #c8dbfb;
}

.integration-head {
  margin-bottom: 4px;
}

.integration-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .72rem;
}

.integration-logo-card-wrap {
  min-width: 0;
}

.integration-logo-card {
  position: relative;
  min-height: 156px;
  border: 1px solid #d8e4f6;
  border-radius: 14px;
  background: #fff;
  padding: .76rem .68rem .68rem;
  text-decoration: none;
  color: #153861;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: .28rem;
  box-shadow: 0 10px 22px rgba(15, 42, 79, 0.08);
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.integration-logo-card:hover {
  transform: translateY(-2px);
  border-color: #b8cdef;
  box-shadow: 0 16px 30px rgba(15, 42, 79, 0.12);
}

.integration-status-pill {
  position: absolute;
  top: .5rem;
  right: .5rem;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: .16rem .48rem;
  border: 1px solid #d8e0ec;
  background: #f3f5f8;
  color: #475870;
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.integration-status-pill-subtle {
  position: static;
  margin-bottom: .4rem;
}

.integration-logo-card-image-wrap {
  width: 100%;
  height: 92px;
  border: 1px solid #dbe6f5;
  border-radius: 10px;
  background: #fbfcff;
  padding: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.integration-logo-card-image-wrap-sm {
  width: 150px;
  height: 98px;
}

.integration-logo-card-image {
  width: 100%;
  height: 100%;
  max-width: 176px;
  max-height: 78px;
  object-fit: contain;
}

.integration-logo-card-name {
  font-weight: 800;
  font-size: .9rem;
  margin-top: .14rem;
}

.integration-logo-card-copy {
  display: block;
  color: #5f7190;
  font-size: .79rem;
  line-height: 1.3;
}

.integration-proposition {
  border: 1px solid #d9e5f7;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 10px 24px rgba(15, 42, 79, 0.07);
  padding: .95rem 1rem;
}

.integration-provider-hero-card {
  border: 1px solid #d9e4f7;
  border-radius: 14px;
  background: #fff;
  padding: .9rem;
  display: flex;
  align-items: center;
  gap: .9rem;
}

.integration-routes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .7rem;
}

.integration-route-card {
  border: 1px solid #d9e4f7;
  border-radius: 12px;
  background: #fff;
  padding: .8rem .78rem;
}

.integration-route-card-recommended {
  border-color: #aac5ef;
  background: linear-gradient(180deg, #fcfeff 0%, #f1f7ff 100%);
}

@media (max-width: 640px) {
  .integration-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .integration-routes {
    grid-template-columns: 1fr;
  }

  .integration-provider-hero-card {
    align-items: flex-start;
  }
}

.quick-start-image.quick-start-image-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  font-weight: 800;
  background: linear-gradient(135deg, #0f2a4f 0%, #1f4b99 100%);
  color: #ffffff;
}

.integration-home-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  overflow: hidden;
  max-width: 100%;
}

.hero-flow-video {
  margin: 0;
}

.integration-provider-head {
  max-width: 100%;
}

.integration-home-logo-item {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid #dfe8f4;
  background: #ffffff;
}

.integration-home-logo-image {
  max-width: 38px;
  max-height: 38px;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 576px) {
  .integration-home-logos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .integration-home-logo-item {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
  }

  .integration-home-logo-image {
    max-width: 30px;
    max-height: 30px;
  }
}

/* Marketing/SEO public pages */
.btn:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible,
.form-check-input:focus-visible,
a:focus-visible {
  outline: 3px solid var(--focus-outline);
  outline-offset: 2px;
}

.text-muted {
  color: var(--muted) !important;
}

.btn,
.form-control,
.form-select,
.input-group > .btn {
  min-height: 44px;
}

.footer-grid.footer-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.footer-contact span {
  color: var(--muted);
}

.article-cta {
  margin-top: 1rem;
  border: 1px solid #dde6f6;
  border-radius: 20px;
  background: #fff;
  padding: 1.2rem 1.4rem;
}

.mini-faq-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
}

.mini-faq-row a {
  text-decoration: none;
  color: #2d4f80;
  font-weight: 700;
  border: 1px solid #d7e4f8;
  border-radius: 12px;
  padding: .65rem .75rem;
  background: #f9fbff;
}

.mini-faq-row a:hover {
  background: #eef5ff;
}

.example-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem 1rem;
}

.faq-list .feature {
  padding: 1rem;
}

.legal-page {
  max-width: 850px;
}

.password-input-group .btn {
  min-width: 86px;
}

@media (max-width: 992px) {
  .footer-grid.footer-grid-four {
    grid-template-columns: 1fr 1fr;
  }

  .mini-faq-row,
  .example-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .footer-grid.footer-grid-four {
    grid-template-columns: 1fr;
  }
}

.route-lane {
  border: 1px solid #dbe6f7;
  border-radius: 16px;
  background: #fff;
  padding: 1rem;
  box-shadow: 0 8px 20px rgba(15, 42, 79, 0.06);
}

.route-lane-manual {
  border-top: 4px solid #1f67ff;
}

.route-lane-export {
  border-top: 4px solid #0ea5a4;
}

.route-lane-link {
  border-top: 4px solid #f59e0b;
}

.route-lane-flow li {
  position: relative;
  padding-left: 1.2rem;
  padding-bottom: .95rem;
}

.route-lane-flow li:last-child {
  padding-bottom: 0;
}

.route-lane-flow li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .35rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1f67ff;
}

.route-lane-export .route-lane-flow li::before {
  background: #0ea5a4;
}

.route-lane-link .route-lane-flow li::before {
  background: #f59e0b;
}

.route-lane-flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 3px;
  top: .95rem;
  bottom: .15rem;
  width: 2px;
  background: #d7e3f7;
}

@media (max-width: 991px) {
  .route-lane-grid {
    margin-top: .3rem;
  }
}


