:root {
  --ink: #172641;
  --body: #40516c;
  --brand: #2156ac;
  --line: #dbe5f1;
  --paper: #f3f7fc;
  --control-line: #c9d8ec;
}

body { font-family: "Segoe UI", system-ui, sans-serif; }
.wrap { width: min(1280px, calc(100% - 80px)); }
.site-header { background: #f7f9fc; border-color: var(--line); }
.brand img { width: 111px; }
.nav nav a, .login { color: var(--ink); }
.button, .ai-float {
  background: var(--brand);
  color: #fff;
  border: 1px solid var(--brand);
  border-radius: 9px;
  box-shadow: none;
}
.button:hover, .ai-float:hover { background: #194788; border-color: #194788; }
.secondary, .ai-inline {
  background: #fff;
  color: var(--brand);
  border: 1px solid var(--control-line);
  border-radius: 9px;
}
.secondary:hover, .ai-inline:hover { background: #e9f1fc; }
.hero {
  background: var(--paper);
  padding-block: clamp(30px, 6vh, 62px);
}
.hero-grid { grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); gap: clamp(27px, 4vw, 62px); }
.hero .eyebrow { color: var(--brand); font-size: .82rem; letter-spacing: .045em; }
.hero .eyebrow::before { width: 6px; height: 6px; background: var(--brand); border-radius: 50%; }
.hero h1 { font-size: clamp(2.5rem, 4.35vw, 4.45rem); letter-spacing: -.05em; }
.hero h1 em { color: var(--brand); }
.cockpit {
  background: #f7f9fc;
  border-color: var(--line);
  border-radius: 16px;
  box-shadow: 0 12px 34px #17264112;
}
.cockpit .cap { background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); }
.cap small { color: var(--body); }
.cockpit-grid .card, .tile { border-color: var(--line); border-radius: 16px; }
.team-strip li { border-color: var(--line); border-radius: 9px; }
.card dd, .amount, .chart { font-variant-numeric: tabular-nums; }
.card .bar { background: var(--brand); }
.card .cash { background: #a87722; }
.team-icon { background: #edf2fa; color: var(--brand); }
.section h2 { letter-spacing: -.045em; }
.ai-section, .dark { background: var(--paper); color: var(--ink); border-top: 1px solid var(--line); }
.hero + .ai-section { border-top: 0; }
.ai-section p, .dark p { color: var(--body); }
.ai-preview { background: #fff; border-color: var(--line); border-radius: 14px; }
.people { border-radius: 14px; }
.foot { background: #f7f9fc; color: var(--ink); border-top: 1px solid var(--line); }
.foot p { color: var(--body); }
.foot a:focus-visible, .dark a:focus-visible { outline-color: var(--brand); }

@media (min-width: 900px) and (max-height: 900px) {
  .hero { padding-block: clamp(18px, 3.8vh, 34px); }
  .hero h1 { font-size: clamp(2.35rem, 3.65vw, 3.85rem); }
}
@media (max-width: 899px) {
  .hero-grid { grid-template-columns: 1fr; }
  .wrap { width: calc(100% - 32px); }
}

.migration-flow { grid-column: 1 / -1; margin: 0; padding: clamp(14px, 4vw, 34px); background: #fff; border: 1px solid var(--line); border-radius: 16px; text-align: center; }
.migration-flow figcaption { font-size: 1.15rem; font-weight: 750; margin-bottom: 18px; }
.migration-node { padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); overflow-wrap: anywhere; }
.migration-node h3 { font-size: 1rem; }
.migration-node p { margin: 4px auto 0; font-size: .92rem; }
.migration-source, .migration-check, .migration-result { width: min(100%, 510px); margin-inline: auto; }
.migration-source, .migration-result { font-weight: 750; }
.migration-inputs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(8px, 3vw, 20px); max-width: 650px; margin-inline: auto; }
.migration-connector { height: 20px; width: 2px; background: var(--brand); margin-inline: auto; }
.migration-branch, .migration-merge { position: relative; width: min(51%, 335px); background: linear-gradient(var(--brand),var(--brand)) center / 2px 50% no-repeat; border-inline: 2px solid transparent; }
.migration-branch::before, .migration-merge::before { content: ""; position: absolute; inset: 50% -2px 0; border: 2px solid var(--brand); border-bottom: 0; border-radius: 5px 5px 0 0; }
.migration-merge::before { inset: 0 -2px 50%; border: 2px solid var(--brand); border-top: 0; border-radius: 0 0 5px 5px; }
.migration-branch { background-position: center top; }
.migration-merge { background-position: center bottom; }
.migration-result { background: #e9f1fc; border-color: var(--control-line); color: var(--ink); }
.migration-result span { color: var(--brand); margin-inline-end: 5px; }

/* The reading line occupies a dedicated gutter at every section. */
.dot-route {
  --route-gutter: clamp(22px, 3vw, 44px);
  --route-width: min(1280px, calc(100% - 80px));
  --route-x: calc((100% - var(--route-width)) / 2 + var(--route-gutter) / 4);
  position: relative;
  isolation: isolate;
}
.dot-route > section { position: relative; }
.dot-route > section > .wrap { padding-inline-start: var(--route-gutter); }
.dot-route::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: var(--route-x);
  width: 1px;
  background: linear-gradient(transparent, #aabdd8 75px, #aabdd8 calc(100% - 75px), transparent);
  z-index: 1;
  pointer-events: none;
}
.dot-route > section > .route-dot::before {
  content: "";
  display: block;
  width: 13px;
  height: 13px;
  border: 2px solid #172641;
  border-radius: 50%;
  background: #ffd466;
  box-shadow: 0 0 0 4px var(--paper);
  z-index: 2;
  pointer-events: none;
}
.dot-route > .hero > .route-dot { inset-block-start: calc(clamp(30px, 6vh, 62px) + 10px); }
.hero .eyebrow::before { display: none; }
.brand-dot { display: block; width: 12px; height: 12px; border: 2px solid #172641; background: #ffd466; border-radius: 50%; }
.signal:has(.brand-dot) { background: #edf2fa; }
@media (min-width: 900px) and (max-height: 900px) {
  .dot-route > .hero > .route-dot { inset-block-start: calc(clamp(18px, 3.8vh, 34px) + 10px); }
}
@media (max-width: 899px) {
  .dot-route { --route-width: calc(100% - 32px); }
  .dot-route > section > .route-dot::before { width: 11px; height: 11px; box-shadow: 0 0 0 3px var(--paper); }
}

.dot-route > section > .route-dot {
  position: absolute;
  inset-inline-start: var(--route-x);
  inset-block-start: calc(clamp(55px, 8vw, 105px) + 14px);
  transform: translate(-50%, -25%);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  z-index: 2;
}
.route-dot:hover::before, .route-dot:focus-visible::before {
  box-shadow: 0 0 0 5px #ffd46666;
  background: #ffdd85;
}
@media (prefers-reduced-motion: no-preference) {
  .route-dot::before {
    transform: translate(var(--dot-x, 0px), var(--dot-y, 0px)) scale(var(--dot-scale, 1));
    transition: transform .18s ease, box-shadow .18s ease;
  }
  .route-dot:hover, .route-dot:focus-visible { --dot-scale: 1.25; }
}

.brand-art { display: block; width: 111px; height: auto; color: #172641; }
.brand-wink { opacity: 0; }
@media (max-width: 390px) { .brand-art { width: 106px; } }
@media (prefers-reduced-motion: no-preference) {
  .brand:hover .brand-punctuation, .brand.logo-clicked .brand-punctuation { animation: logo-dot-hop .55s ease both; }
  .brand:hover .brand-wink, .brand.logo-clicked .brand-wink { animation: logo-wink .55s ease both; }
  @keyframes logo-dot-hop { 0%, 100% { transform: none; } 45% { transform: translateY(-8px); } }
  @keyframes logo-wink { 0%, 12%, 78%, 100% { opacity: 0; } 28%, 65% { opacity: 1; } }
}

/* Section surfaces distinguish each step without interrupting the reading line. */
.dot-route > section { --section-surface: var(--paper); background: var(--section-surface); }
.dot-route > .white { --section-surface: #fff; }
.dot-route > .ai-section { --section-surface: #e6effb; }
.dot-route > .dark { --section-surface: #eaf2fc; border-top: 0; }
.dot-route > section > .route-dot::before { box-shadow: 0 0 0 4px var(--section-surface); }
.dot-route > section > .route-dot:hover::before,
.dot-route > section > .route-dot:focus-visible::before { box-shadow: 0 0 0 5px #ffd46666; }

.communication-note { margin-top: 14px; }
.communication-example { margin-top: clamp(24px, 5vw, 54px); padding: clamp(16px, 3vw, 30px); background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.communication-example header p { margin-top: 4px; font-size: .9rem; }
.communication-example .steps { margin: 16px 0 0; }
.communication-example .agenda-example { margin-top: 12px; padding: 8px 10px; background: #e6effb; color: var(--ink); border-radius: 9px; }

.communication-example { margin-inline: 0; }
.communication-example figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin-bottom: 14px; }
.communication-example figcaption span { color: var(--body); font-size: .86rem; }
.example-countdown { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 12px; padding: 10px 13px; margin-bottom: 14px; background: #e6effb; border-radius: 9px; }
.example-countdown strong, .example-mention { color: var(--brand); }
.invoice-workspace { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 14px; }
.invoice-workspace .tile { padding: clamp(14px, 3vw, 23px); }
.invoice-preview dl { margin: 12px 0; }
.invoice-preview dl div { display: flex; justify-content: space-between; gap: 8px; padding-block: 6px; border-bottom: 1px solid var(--line); }
.invoice-preview dd { margin: 0; text-align: end; font-weight: 650; }
.example-task, .invoice-thread li { background: var(--paper); border-radius: 9px; padding: 9px 12px; }
.invoice-thread ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.invoice-thread .internal-note { background: #e6effb; }
.example-mention { font-weight: 750; }
@media (max-width: 720px) { .invoice-workspace { grid-template-columns: 1fr; } }

.example-countdown small, .workspace-detail small { display: block; color: var(--body); line-height: 1.25; }
.example-clock { margin-inline-start: auto; color: var(--brand); font-weight: 750; font-variant-numeric: tabular-nums; }
.workspace-icon { display: inline-grid; place-items: center; width: 34px; height: 34px; flex: none; background: #e6effb; color: var(--brand); border-radius: 9px; }
.workspace-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.workspace-detail { margin-top: 9px; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); }
.workspace-detail summary { display: flex; align-items: center; gap: 9px; padding: 9px; cursor: pointer; list-style: none; }
.workspace-detail summary::-webkit-details-marker { display: none; }
.workspace-detail summary::after { content: "+"; margin-inline-start: auto; color: var(--brand); font-weight: 750; }
.workspace-detail[open] summary::after { content: "−"; }
.workspace-detail summary:hover { background: #ecf3fd; }
.workspace-detail .workspace-content { padding: 0 9px 9px; }
.internal-detail .workspace-icon { background: #fff0c8; color: #694b0b; }
.example-person { display: flex; align-items: center; gap: 7px; margin-top: 7px; }
.example-person .workspace-icon { width: 26px; height: 26px; }
.example-person svg { width: 16px; height: 16px; }

.hero-migration { display: flex; width: fit-content; max-width: 100%; align-items: center; gap: 9px; margin-top: 12px; color: var(--brand); font-size: .92rem; font-weight: 650; text-decoration: none; border-radius: 8px; }
.hero-migration:hover { color: #194788; text-decoration: underline; text-underline-offset: 4px; }
.migration-icon { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 7px; background: #e6effb; }
.migration-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.hero-migration:hover .migration-icon { background: #dbe8fc; }

.site-header .actions { gap: clamp(9px, 1.5vw, 20px); }
.site-header .login { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 6px; border-radius: 6px; white-space: nowrap; }
.site-header .login svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; }
.site-header .login:hover { color: var(--brand); text-decoration: none; background: #edf3fc; }
.site-header .actions .button { min-height: 42px; padding: 8px 14px; font-size: .91rem; letter-spacing: -.01em; font-weight: 670; border-radius: 7px; }
.site-header .actions .button:hover { text-decoration: none; }
@media (max-width: 440px) {
  .site-header .actions { gap: 4px; }
  .site-header .login { padding-inline: 5px; font-size: .81rem; }
  .site-header .login svg { display: none; }
  .site-header .actions .button { padding-inline: 8px; font-size: .81rem; }
}

#platform .communication-example { margin-block: 0; }
.communication-scope { margin-top: 12px; font-size: .92rem; }

.invoice-actions { display: flex; flex-wrap: wrap; gap: 9px 20px; margin-bottom: 10px; }
.invoice-actions > div { display: flex; flex-wrap: wrap; gap: 6px; }
.invoice-actions button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 7px 10px; color: var(--brand); background: #fff; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: .88rem; font-weight: 650; cursor: pointer; }
.invoice-actions button:hover { background: #e6effb; }
.invoice-actions svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.invoice-status:not(:empty) { margin-block: 0 10px; color: var(--brand); font-size: .9rem; }
.invoice-action-dialog p { margin-top: 6px; }
.invoice-action-dialog label:not([hidden]) { display: grid; gap: 6px; margin-top: 14px; }
.invoice-action-dialog textarea { width: 100%; padding: 8px; border: 1px solid var(--control-line); border-radius: 8px; font: inherit; }
.invoice-action-dialog .actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.invoice-action-dialog button { cursor: pointer; }
.workspace-content > p + p { margin-top: 7px; }

.journey-label { color: var(--brand); font-weight: 750; margin-bottom: 8px; }
.journey-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; list-style: none; padding: 0; margin: 24px 0 0; }
.journey-cards .tile { padding: 17px; }
.journey-cards .tile p { margin-top: 4px; }
.dot-route > .figures-section { --section-surface: #f3f7fc; }
.dot-route > #direct-starten .button { margin-top: 16px; }

.dot-route:has(.reading-rail)::before { content: none; }
.reading-rail {
  position: absolute;
  inset-block: 0;
  inset-inline-start: var(--route-x);
  width: 30px;
  transform: translateX(-50%);
  z-index: 1;
  cursor: pointer;
}
.reading-rail::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: calc(50% - .5px);
  width: 1px;
  background: #aabdd8;
  pointer-events: none;
}
.rail-active .reading-rail::before { background: #5278ad; }
.dot-route .route-dot.rail-highlight::before { box-shadow: 0 0 0 5px #ffd46666; }
.rail-window {
  position: sticky;
  top: 0;
  height: min(100svh, 100%);
  overflow: hidden;
  pointer-events: none;
}
.rail-cue { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .rail-cue {
    display: block;
    position: absolute;
    top: 0;
    left: calc(50% - 1.5px);
    width: 3px;
    height: 32px;
    background: linear-gradient(transparent, #fff 35% 65%, transparent);
    animation: reading-rail-gap 5s linear infinite;
  }
  .route-dot.rail-highlight { --dot-scale: 1.2; }
  @keyframes reading-rail-gap {
    0% { transform: translateY(-32px); }
    76%, 100% { transform: translateY(100svh); }
  }
}

.faq-list { max-width: 780px; display: grid; gap: 9px; }
.faq-list details { border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.faq-list summary { padding: 13px 16px; cursor: pointer; font-weight: 680; }
.faq-list details > p { margin: 0; padding: 0 16px 15px; }
.faq-list a { color: var(--brand); }

.dot-route > .slim-section { --section-surface: #e6effb; }
.slim-section .split { align-items: start; }
.slim-section .ai-inline { margin-top: 18px; }
.slim-examples { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.slim-examples .tile { padding: 15px 18px; }
.slim-examples p { margin-top: 4px; }

.slim-console { min-width: 0; padding: clamp(14px, 3vw, 24px); border: 1px solid var(--control-line); border-radius: 16px; background: #fff; }
.slim-console header p { font-size: .85rem; }
.slim-controls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-block: 14px; }
.slim-controls button { display: grid; justify-items: center; gap: 4px; padding: 6px 3px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font: inherit; font-size: .84rem; cursor: pointer; }
.slim-controls button[aria-pressed=true] { border-color: var(--brand); background: #edf4ff; color: var(--brand); }
.journey-icon { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: #e6effb; color: var(--brand); }
.journey-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
#koppelingen .journey-icon { display: grid; margin-bottom: 8px; }
.slim-answer { min-height: 125px; padding: 12px; border-radius: 9px; background: var(--paper); overflow-wrap: anywhere; }
.slim-answer p { margin-top: 4px; }
.slim-question { margin-top: 13px; }
.slim-question label { display: block; margin-bottom: 6px; font-weight: 650; }
.slim-question > div { display: flex; flex-wrap: wrap; gap: 7px; }
.slim-question input { flex: 1 1 170px; min-width: 0; border: 1px solid var(--control-line); border-radius: 8px; padding: 8px; font: inherit; }
.slim-question button { cursor: pointer; }
@media (prefers-reduced-motion: no-preference) {
  .icons-arrived .journey-icon svg { animation: journey-icon-arrive .65s ease-out both; }
  .icons-arrived > :nth-child(2) svg { animation-delay: .08s; }
  .icons-arrived > :nth-child(3) svg { animation-delay: .16s; }
  .icons-arrived > :nth-child(n+4) svg { animation-delay: .24s; }
  .journey-icon { transition: transform .2s ease; }
  #koppelingen .tile:hover .journey-icon, .slim-controls button:hover .journey-icon, .slim-controls button:focus-visible .journey-icon { transform: translateY(-3px); }
  @keyframes journey-icon-arrive { 0% { transform: translateY(5px); opacity: .45; } 65% { transform: translateY(-2px); } 100% { transform: none; opacity: 1; } }
}

.slim-task-list { margin: 8px 0 0; padding-inline-start: 20px; color: var(--body); }
.slim-task-list li + li { margin-top: 4px; }
.slim-profit { margin: 9px 0 12px; }
.slim-profit figcaption { font-size: .86rem; font-weight: 680; }
.slim-plot { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px; margin-top: 7px; }
.slim-axis { display: flex; flex-direction: column; justify-content: space-between; padding-bottom: 17px; color: var(--body); font-size: .67rem; }
.slim-bars { display: grid; grid-template-columns: repeat(11, minmax(0,1fr)); gap: 2px; height: 112px; background: linear-gradient(var(--line), var(--line)) center 46% / 100% 1px no-repeat; }
.slim-bars > div { position: relative; min-width: 0; border-bottom: 1px solid var(--line); margin-bottom: 17px; }
.slim-bar { position: absolute; inset: auto 20% 0; height: var(--bar-height); background: var(--brand); border-radius: 3px 3px 0 0; }
.slim-bars small { position: absolute; inset: 100% 0 auto; text-align: center; font-size: .61rem; color: var(--body); }
.slim-overdue { margin-top: 11px; }
.slim-overdue summary { display: inline-flex; white-space: normal; cursor: pointer; }
.slim-overdue table { width: 100%; margin-top: 8px; border-collapse: collapse; font-size: .81rem; text-align: start; }
.slim-overdue caption { text-align: start; color: var(--body); }
.slim-overdue th, .slim-overdue td { padding: 4px 3px; border-bottom: 1px solid var(--line); text-align: start; }
.slim-overdue td:last-child, .slim-overdue thead th:last-child { text-align: end; }

.finance-preview { margin: 24px 0 0; }
.finance-preview figcaption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 14px; margin-bottom: 10px; }
.finance-preview figcaption span, .finance-card p { font-size: .88rem; color: var(--body); }
.finance-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.finance-card { min-width: 0; padding: clamp(13px, 2vw, 22px); }
.finance-card dl { margin: 8px 0 0; }
.finance-card dl div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 8px; padding: 4px 0; border-bottom: 1px solid var(--line); }
.finance-card dd { margin: 0; font-weight: 650; font-variant-numeric: tabular-nums; }
.finance-card .finance-total { font-weight: 750; color: var(--brand); }
.finance-value { display: block; font-size: 1.55rem; line-height: 1.2; }
.finance-revenue { display: grid; grid-template-columns: 5fr 3fr 2fr; gap: 3px; height: 16px; margin: 14px 0 8px; overflow: hidden; border-radius: 5px; }
.finance-revenue span, .finance-key { background: var(--brand); }
.finance-revenue span:nth-child(2), .finance-key.medium { background: #8aaada; }
.finance-revenue span:nth-child(3), .finance-key.gold { background: #b98c30; }
.finance-key { display: inline-block; width: 8px; height: 8px; margin-inline-end: 6px; border-radius: 2px; }
.finance-insight { margin-top: 8px; }
@media (max-width: 720px) { .finance-grid { grid-template-columns: 1fr; } }

.home-route > section:nth-of-type(odd) { --section-surface: #edf4fd; }
.home-route > section:nth-of-type(even) { --section-surface: #fff; }
.home-route > section { border-top: 0; }

.safe-demo-label { margin: 18px 0 8px; font-size: .86rem; color: var(--body); }
.safe-demo { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); align-items: start; gap: 10px; }
.safe-card { min-width: 0; padding: 0; overflow: hidden; }
.safe-card summary { display: flex; align-items: center; gap: 10px; padding: 13px; list-style: none; cursor: pointer; }
.safe-card summary::-webkit-details-marker { display: none; }
.safe-card summary:focus-visible { outline-offset: -4px; }
.safe-card summary::after { content: "+"; margin-inline-start: auto; color: var(--brand); font-weight: 750; }
.safe-card[open] summary::after { content: "−"; }
.safe-card summary:hover { background: #edf4fd; }
.safe-card summary small { display: block; color: var(--body); }
.safe-demo-content { padding: 0 13px 13px; }
.safe-demo-content p { margin-top: 6px; font-size: .9rem; }
.safe-demo-list { margin: 0; }
.safe-demo-list div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; padding: 5px 0; border-bottom: 1px solid var(--line); }
.safe-demo-list dd { margin: 0; color: var(--brand); font-weight: 650; }
.safe-events { margin: 0; padding-inline-start: 19px; }
.safe-events li + li { margin-top: 8px; }
.safe-card:nth-child(2) .journey-icon { background: #fff0c8; color: #694b0b; }
@media (max-width: 720px) { .safe-demo { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: no-preference) { .safe-card summary:hover .journey-icon, .safe-card summary:focus-visible .journey-icon { transform: translateY(-3px); } }

.safe-workspace { max-width: 880px; margin-top: 24px; overflow: hidden; border: 1px solid var(--control-line); border-radius: 16px; background: #fff; }
.safe-workspace-header { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; padding: 14px 18px; background: #f7f9fc; border-bottom: 1px solid var(--line); }
.safe-workspace-header span { font-size: .82rem; color: var(--body); }
.safe-workspace .safe-demo { display: block; }
.safe-workspace .safe-card { border: 0; border-radius: 0; }
.safe-workspace .safe-card + .safe-card { border-top: 1px solid var(--line); }
.safe-workspace .safe-card summary { padding: 13px 18px; }
.safe-workspace .safe-card[open] summary { background: #f1f6fd; }
.safe-workspace .safe-demo-content { padding: 11px 18px 15px; }
.safe-workspace .safe-demo-list div { padding: 7px 0; align-items: baseline; }
.safe-state { display: inline-block; padding: 2px 8px; border-radius: 6px; background: #edf3fc; color: #244879; font-size: .77rem; font-weight: 650; }
.safe-state.allowed { background: #e7f3eb; color: #22553c; }
.safe-state.review { background: #fff0c8; color: #694b0b; }
.safe-workspace .safe-events { list-style: none; padding: 0; }
.safe-workspace .safe-events li { padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px; }
.safe-workspace .safe-events strong { display: block; margin-top: 4px; }

.home-route > section {
  min-block-size: 100svh;
  display: grid;
  align-items: center;
  padding-block: clamp(26px, 5svh, 64px);
}
.home-route > .hero { min-block-size: calc(100svh - 79px); }
.home-route > section > .route-dot {
  inset-block-start: calc(clamp(26px, 5svh, 64px) + 14px);
}
@media (min-width: 900px) and (max-height: 900px) {
  .home-route > .hero { min-block-size: calc(100svh - 65px); }
}
@media (max-width: 760px) {
  .home-route > .hero { min-block-size: calc(100svh - 105px); }
}

/* Keep the header in view and use its measured height for section anchors. */
html:has(.dot-route) { --site-header-height: 79px; scroll-padding-top: var(--site-header-height); }
.site-header { position: sticky; top: 0; z-index: 10; }
.site-header .skip { z-index: 11; }
html:has(.dot-route) > body > .skip { z-index: 11; }
.home-route > section, .home-route > .hero {
  min-block-size: calc(100svh - var(--site-header-height));
}
@media (min-width: 900px) and (max-height: 900px) {
  html:has(.dot-route) { --site-header-height: 65px; }
}
@media (max-width: 760px) {
  html:has(.dot-route) { --site-header-height: 105px; }
}

.migration-page .lead { max-width: 63ch; }
.migration-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
.migration-option { padding: clamp(16px, 3vw, 28px); }
.migration-option h2, .migration-start h2 { margin: 10px 0; font-size: clamp(1.45rem, 3vw, 2rem); letter-spacing: -.035em; }
.migration-option ol { margin-block: 14px; padding-inline-start: 22px; color: var(--body); }
.migration-option ol li + li { margin-top: 6px; }
.migration-option h3 { font-size: .96rem; }
.migration-providers { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 8px 0 0; padding: 0; }
.migration-providers li { background: #e6effb; color: #244879; border-radius: 7px; padding: 4px 9px; font-size: .86rem; font-weight: 650; }
.migration-start { margin-top: 26px; }
.migration-start .button { margin-top: 10px; }
@media (max-width: 720px) { .migration-options { grid-template-columns: 1fr; } }

.start-offers { margin-block: 18px 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr)); }
.start-kicker { margin-bottom: 8px; color: var(--brand); font-weight: 750; }
#direct-starten h2 em { color: var(--brand); font-style: normal; }
.start-offers strong { color: var(--brand); font-size: clamp(1.1rem, 2vw, 1.45rem); }
.start-note + .start-note { margin-top: 7px; }

.hero-providers { margin-top: 5px; color: var(--body); font-size: .8rem; }
.cockpit-example { margin: 0 11px 11px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.cockpit-example summary { display: flex; align-items: center; gap: 10px; padding: 9px 12px; cursor: pointer; }
.cockpit-example summary::after { content: '+'; margin-inline-start: auto; color: var(--brand); font-weight: 750; }
.cockpit-example[open] summary::after { content: '-'; }
.cockpit-example summary small, .cockpit-example summary strong { display: block; }
.example-dot { flex: 0 0 10px; height: 10px; background: var(--lime); border: 1px solid var(--ink); border-radius: 50%; }
.cockpit-example-body { padding: 0 12px 12px 32px; font-size: .88rem; }
.cockpit-example-body a { display: inline-block; margin-top: 6px; color: var(--brand); font-weight: 700; }
#cockpit-voorbeeld, #factuur-opvolgen { scroll-margin-top: 112px; }
.migration-option > h3 { font-size: 1.35rem; }
.migration-flow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-block: 14px; }
.migration-flow div { padding: 10px; border: 1px solid currentColor; border-radius: 8px; }
.migration-flow div:last-child { grid-column: 1 / -1; }
.migration-flow strong, .migration-flow span { display: block; }
.migration-flow span { font-size: .85rem; }
.start-actions { flex-wrap: wrap; margin-top: 10px; }
@media (max-width: 760px), (max-height: 740px) {
  .home-route > #overstappen, .home-route > #faq, .home-route > #direct-starten { min-block-size: auto; }
}

.mobile-menu-toggle, .nav .mobile-menu-link { display: none; }
@media (max-width: 1100px) {
  html:has(.has-mobile-menu) { --site-header-height: 65px; }
  .has-mobile-menu .nav { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; min-height: 64px; gap: 8px; }
  .has-mobile-menu .nav > .actions { margin-inline-start: auto; order: 0; gap: 8px; }
  .has-mobile-menu .nav > .actions > .login { display: none; }
  .has-mobile-menu .nav > .actions > .button { min-height: 44px; padding-inline: 10px; font-size: .82rem; }
  .has-mobile-menu .mobile-menu-toggle {
    order: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 44px;
    padding: 6px 9px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
  }
  .mobile-menu-toggle svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
  .has-mobile-menu .nav > nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    width: auto;
    max-block-size: calc(100dvh - var(--site-header-height));
    overflow-y: auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    padding: 10px max(16px, 4vw);
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 12px 26px #17264124;
  }
  .mobile-menu-toggle[aria-expanded="true"] + nav { display: grid; }
  .has-mobile-menu .nav > nav a { display: flex; align-items: center; min-height: 44px; padding: 6px 9px; border-radius: 6px; font-size: .9rem; }
  .has-mobile-menu .nav > nav a:hover, .has-mobile-menu .nav > nav a:focus-visible { background: #edf3fc; }
  #cockpit-voorbeeld, #factuur-opvolgen { scroll-margin-top: 12px; }
}
@media (max-width: 420px) {
  .has-mobile-menu .brand-art { width: 94px; height: auto; }
  .home-route > section { min-block-size: auto; }
  .hero-grid > *, .migration-option { min-width: 0; }
}

.start-intro { margin-block: 12px; padding: 12px 16px; border-inline-start: 3px solid var(--lime); border-radius: 8px; background: #edf3fc; }
.start-intro > strong { display: block; color: var(--brand); font-size: .88rem; }
.start-intro p { margin-top: 3px; }
