@font-face { font-family: Outfit; src: url(/fonts/outfit-600.woff2) format("woff2"); font-weight: 500 700; font-display: swap; }
@font-face { font-family: Outfit; src: url(/fonts/outfit-400.woff2) format("woff2"); font-weight: 300 400; font-display: swap; }

:root {
  --navy: #0B1A3A; --navy-2: #13284f; --teal: #1AA3B8; --teal-dark: #0E7C8E; --blue: #3B7CC0;
  --ink: #1d2433; --muted: #55607a; --bg: #fff; --bg-soft: #F2F8FA; --line: #DCE7EC;
  --radius: 12px; --wrap: 72rem;
  --font-head: Outfit, "Segoe UI", system-ui, sans-serif;
  --font-body: Outfit, "Segoe UI", system-ui, sans-serif;
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font: 1.0625rem/1.65 var(--font-body); font-size-adjust: from-font; color: var(--ink); background: var(--bg); caret-color: var(--teal-dark); }
::selection { background: rgb(26 163 184 / .22); color: var(--navy); }
h1, h2, h3 { font-family: var(--font-head); font-size-adjust: from-font; color: var(--navy); line-height: 1.2; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 1.3rem + 2.6vw, 3.4rem); letter-spacing: -.025em; line-height: 1.08; margin: .5rem 0 1.25rem; }
h2 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.6rem); letter-spacing: -.02em; line-height: 1.12; margin: 2.5rem 0 1rem; }
h3 { font-size: 1.35rem; letter-spacing: -.01em; margin: 1.5rem 0 .5rem; }
p, li { text-wrap: pretty; max-width: 58ch; }
a { color: var(--teal-dark); text-underline-offset: .2em; text-decoration-thickness: from-font; }
main a:not(.btn):hover { color: var(--navy); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 1rem; }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 1rem; top: 1rem; z-index: 10; background: #fff; padding: .5rem 1rem; }

/* Header + nav (popover menu on narrow screens, inline on wide) */
.site-header { position: sticky; top: 0; z-index: 5; background: rgb(255 255 255 / .95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 4.25rem; }
.brand { margin-inline-end: auto; display: flex; }
.brand img { height: 2.25rem; width: auto; }
.menu-button { font: 600 1rem var(--font-head); color: var(--navy); background: none; border: 1px solid var(--line); border-radius: 8px; padding: .5rem .8rem; cursor: pointer; }
/* Narrow: full-screen menu below the sticky header */
.site-menu { position: fixed; inset: 4.25rem 0 0 0; inline-size: 100%; max-inline-size: none; block-size: auto; max-block-size: none; overflow: auto; margin: 0; padding: 1rem 1rem 2rem; list-style: none; border: 0; border-top: 1px solid var(--line); background: #fff; }
.site-menu > li { max-width: none; border-bottom: 1px solid var(--line); }
.site-menu > li > a, .site-menu > li > .dropdown-trigger { font: 600 1.3rem/1.4 var(--font-head); padding: 1rem .5rem; }
.site-menu .dropdown-list a { font-size: 1.1rem; padding: .7rem .5rem; }
.site-menu a { display: block; padding: .65rem .75rem; border-radius: 8px; text-decoration: none; color: var(--navy); font-weight: 500; }
.site-menu a:hover { background: var(--bg-soft); }
.site-menu a[aria-current="page"] { color: var(--teal-dark); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
@media (min-width: 62rem) {
  .menu-button { display: none; }
  .site-menu[popover] { display: flex; position: static; inline-size: auto; max-block-size: none; margin: 0; padding: 0; border: 0; box-shadow: none; background: none; gap: .1rem; }
}
.dropdown-trigger { display: flex; align-items: center; justify-content: space-between; gap: .35rem; inline-size: 100%; font: 500 1.0625rem/1.65 var(--font-body); color: var(--navy); background: none; border: 0; border-radius: 8px; padding: .65rem .75rem; cursor: pointer; }
.dropdown-trigger:hover, .dropdown-trigger[aria-expanded="true"] { background: var(--bg-soft); }
.dropdown-trigger.is-current { color: var(--teal-dark); }
.chev { flex: none; inline-size: 1rem; block-size: 1rem; transition: rotate .2s; opacity: .7; }
.dropdown-trigger[aria-expanded="true"] .chev { rotate: 180deg; opacity: 1; }
.dropdown-list { list-style: none; margin: 0; padding: 0 0 .25rem .75rem; }
.menu-button { display: inline-flex; align-items: center; gap: .45rem; }
.burger { inline-size: 1.15rem; block-size: 1.15rem; }
@media (min-width: 62rem) {
  .site-menu[popover] { align-items: center; }
  .site-menu a, .dropdown-trigger { padding: .45rem .7rem; font-size: .95rem; line-height: 1.4; white-space: nowrap; }
  .dropdown-trigger { inline-size: auto; justify-content: flex-start; gap: .25rem; padding-inline-end: .5rem; }
  .site-menu > li > a:hover, .dropdown-trigger:hover { background: var(--bg-soft); }
  .dropdown-list[popover] { position: absolute; position-area: block-end span-inline-end; position-try-fallbacks: flip-block, flip-inline; inset: auto; height: auto; min-inline-size: 15rem; margin: .5rem 0 0; padding: .4rem; overflow: visible; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 16px 40px rgb(11 26 58 / .16); }
  .dropdown-list::before { content: ""; position: absolute; inset-inline: 0; inset-block-end: 100%; block-size: .6rem; }
  .dropdown-list:not(:popover-open) { display: none; }
  .dropdown-list a { padding: .55rem .75rem; }
}
@supports not (position-area: block-end) { .dropdown-list[popover] { position: fixed; margin: .5rem 0 0; } }
.header-cta { white-space: nowrap; }

/* Buttons + CTA */
.btn { display: inline-block; font: 600 1rem/1 var(--font-head); padding: .95rem 1.4rem; border-radius: 999px; background: var(--teal-dark); color: #fff; text-decoration: none; border: 2px solid var(--teal-dark); transition: background .15s; }
.btn:hover { background: var(--navy); border-color: var(--navy); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { color: #fff; }
.btn-sm { padding: .6rem 1rem; font-size: .95rem; }
.cta { margin: 3rem 0; padding: clamp(1.5rem, 4vw, 3rem); border-radius: calc(var(--radius) * 1.5); background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #e8f1f6; }
.cta h2 { color: #fff; margin-top: 0; }
.cta .btn-ghost { color: #fff; border-color: #fff; }
.cta .btn-ghost:hover { background: #fff; color: var(--navy); }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Content blocks pages can use */
.hero { padding-block: clamp(2rem, 6vw, 5rem) 1rem; }
.hero .lead { font-size: 1.2rem; color: var(--muted); }
.eyebrow { font: 600 .85rem var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--teal-dark); }
.grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); margin-block: 1.5rem; }
.card { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.card h3 { margin-top: 0; }
.card a { font-weight: 600; }
.soft { background: var(--bg-soft); border-radius: calc(var(--radius) * 1.5); padding: clamp(1.25rem, 4vw, 2.5rem); margin-block: 2rem; }
.checks { padding: 0; list-style: none; }
.checks li { padding-left: 1.75rem; position: relative; margin-block: .5rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .35em; inline-size: 1.1em; block-size: 1.1em; background: var(--teal-dark); mask: var(--check) center / contain no-repeat; }
table { border-collapse: collapse; width: 100%; margin-block: 1.5rem; font-size: .98rem; }
.table-wrap { overflow-x: auto; }
th, td { text-align: left; padding: .75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--navy); font-family: var(--font-head); }
.crumbs { font-size: .9rem; color: var(--muted); margin-top: 1rem; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq summary { cursor: pointer; font: 600 1.1rem var(--font-head); color: var(--navy); }
.faq p { margin: .75rem 0 0; }

/* Footer */
.site-footer { background: var(--navy); color: #c9d6e3; margin-top: 4rem; padding-block: 3rem 5rem; }
.site-footer a { color: #fff; }
.site-footer h2 { color: #fff; font-size: 1.1rem; margin-top: 0; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin-block: .4rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.badge { display: inline-block; border: 1px solid #2f4570; border-radius: 8px; padding: .5rem .75rem; font-size: .9rem; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid #2f4570; font-size: .85rem; }

/* Sticky call/mail bar on phones */
.mobile-cta { position: fixed; inset: auto 0 0 0; display: grid; grid-template-columns: 1fr; z-index: 5; box-shadow: 0 -4px 16px rgb(11 26 58 / .15); }
.mobile-cta a { padding: 1rem; text-align: center; font: 600 1rem var(--font-head); text-decoration: none; color: #fff; background: var(--teal-dark); }
.mobile-cta a + a { background: var(--navy); }
@media (min-width: 48rem) { .mobile-cta { display: none; } .site-footer { padding-bottom: 3rem; } }
@media (max-width: 30rem) { .header-cta { display: none; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media (forced-colors: active) { .site-menu a[aria-current="page"] { outline: 2px solid; } }

/* Visuals */
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 60rem) { .hero-grid { grid-template-columns: 1.3fr 1fr; } }
.mock { margin: 0; border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.5); background: #fff; box-shadow: 0 24px 60px rgb(11 26 58 / .14); overflow: hidden; font-size: .95rem; }
.mock-head { display: flex; align-items: center; gap: .35rem; padding: .7rem 1rem; background: var(--navy); color: #fff; font: 600 .9rem var(--font-head); }
.mock-head span { inline-size: .6rem; block-size: .6rem; border-radius: 50%; background: #2f4570; }
.mock-head span:nth-child(3) { margin-inline-end: .5rem; }
.mock-body { display: grid; grid-template-columns: 7rem 1fr; gap: 1.25rem; padding: 1.25rem; align-items: center; background: linear-gradient(180deg, var(--bg-soft), #fff); }
.mock dl { margin: 0; display: grid; gap: .5rem; }
.mock dl div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px dashed var(--line); padding-bottom: .35rem; }
.mock dt { color: var(--muted); }
.mock dd { margin: 0; font-weight: 600; color: var(--navy); }
.mock-foot { display: flex; align-items: center; gap: .5rem; padding: .75rem 1rem; background: #e6f6f8; color: #0a5b68; font-weight: 600; }
.mock-foot::before { content: ""; inline-size: 1.1em; block-size: 1.1em; background: currentColor; mask: var(--check) center / contain no-repeat; }
.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; margin-block: clamp(3rem, 8vw, 6.5rem); }
@media (min-width: 56rem) { .split { grid-template-columns: 1.1fr 1fr; } }
.split img { border-radius: var(--radius); justify-self: center; max-block-size: 34rem; inline-size: auto; }
.logos { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.5rem; }
.logos li { max-width: none; }
.logos img { block-size: 2.75rem; inline-size: auto; }

/* Wide: undo the full-screen narrow menu styles */
@media (min-width: 62rem) {
  .site-menu[popover] { inset: auto; border-top: 0; overflow: visible; }
  .site-menu > li { border: 0; }
  .site-menu > li > a, .site-menu > li > .dropdown-trigger { font: 500 .95rem/1.4 var(--font-body); padding: .45rem .7rem; }
  .site-menu > li > .dropdown-trigger { padding-inline-end: .5rem; }
  .site-menu .dropdown-list a { font-size: .95rem; padding: .55rem .75rem; }
}
.site-menu > li > .dropdown-trigger .chev { inline-size: 1.25rem; block-size: 1.25rem; }
.site-menu > .menu-cta { border: 0; display: grid; gap: .75rem; padding-top: 1.5rem; }
.site-menu > .menu-cta a { text-align: center; text-decoration: none; padding: 1rem; color: #fff; font-size: 1rem; }
.site-menu > .menu-cta a.btn-ghost { color: var(--navy); }
@media (min-width: 62rem) {
  .menu-button, .site-menu > .menu-cta { display: none; }
  .site-menu > li > .dropdown-trigger .chev { inline-size: 1rem; block-size: 1rem; }
}

/* Hero visual + Microsoft partner badge */
.hero-visual { margin: 0; text-align: center; }
.hero-visual img { inline-size: min(100%, 34rem); }
.hero-visual figcaption { font-size: .9rem; color: var(--muted); margin-top: .5rem; text-wrap: balance; }
.crm-visual { margin: 0; text-align: center; }
.crm-visual .panes { display: inline-block; }
.crm-visual .panes img { display: block; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.split .crm-visual img { inline-size: min(100%, 419px); block-size: auto; }
.crm-visual figcaption { font-size: .9rem; color: var(--muted); margin-top: .5rem; }
.ms-partner { display: inline-flex; align-items: center; gap: .45rem; padding-inline-start: .9rem; border-inline-start: 1px solid var(--line); font: 600 .82rem/1.15 var(--font-body); color: #444; letter-spacing: .01em; }
.ms-partner svg { flex: none; }
.brand { margin-inline-end: 0; }
.site-nav { margin-inline-start: auto; }
/* phones: keep the partner badge (positioning: Microsoft first), compact header to fit */
@media (max-width: 40rem) {
  .header-inner { gap: .6rem; }
  .brand img { height: 1.9rem; }
  .ms-partner { gap: .35rem; padding-inline-start: .6rem; font-size: .7rem; }
  .ms-partner svg { inline-size: 18px; block-size: 18px; }
}
@media (max-width: 26rem) { .menu-button span { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); } .menu-button { padding: .55rem; } }
.badge { display: inline-flex; align-items: center; gap: .6rem; margin-inline-end: .5rem; }
.badge img { inline-size: 28px; block-size: 28px; }
.ms-logo { display: flex; align-items: center; justify-content: center; gap: .6rem; margin-top: 1rem; font: 600 1.5rem/1 "Segoe UI", system-ui, sans-serif; color: #737373; letter-spacing: -.01em; }

/* Copilot + agents graphic */
.ai-flow { margin: 0; display: grid; gap: .75rem; }
.ai-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; box-shadow: 0 8px 24px rgb(11 26 58 / .06); }
.ai-head { display: grid; grid-template-columns: auto 1fr; column-gap: .65rem; align-items: center; margin-bottom: .75rem; }
.ai-head img, .agent-badge { grid-row: span 2; inline-size: 40px; block-size: 40px; border-radius: 10px; }
.ai-head strong { font-family: var(--font-head); color: var(--navy); line-height: 1.2; }
.ai-head span:last-child { font-size: .85rem; color: var(--muted); line-height: 1.3; }
.agent-badge { display: grid; place-items: center; font: 700 .9rem var(--font-head); color: #fff; background: var(--navy); clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%); border-radius: 0; }
.bubble { margin: .4rem 0; padding: .55rem .8rem; border-radius: 14px; font-size: .92rem; max-width: 88%; }
.bubble.you { margin-inline-start: auto; background: var(--navy); color: #fff; border-end-end-radius: 4px; }
.bubble.ai { background: #f0eefc; color: var(--ink); border-end-start-radius: 4px; }
.ai-core { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .2rem; }
.ai-core strong { font-family: var(--font-head); color: var(--navy); }
.ai-core span:not(.ai-line) { font-size: .82rem; color: var(--muted); }
.ai-line { inline-size: 0; block-size: 1.1rem; border-inline-start: 2px dashed var(--teal); }
.ai-steps { margin: 0; padding-inline-start: 1.25rem; font-size: .92rem; }
.ai-steps li { margin-block: .3rem; max-width: none; }
.ai-steps li.you { font-weight: 600; color: var(--teal-dark); }
.ai-flow figcaption { font-size: .85rem; color: var(--muted); text-align: center; text-wrap: balance; }
.split .ai-flow img { max-block-size: none; justify-self: auto; }
.split .ai-core img { inline-size: 56px; block-size: 56px; border-radius: 0; }
.split .ai-head img { inline-size: 40px; block-size: 40px; }

/* Mobile carousel for "Kies uw oplossing" (grid on wider screens) */
.visually-hidden { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.carousel-dots { display: none; }
@media (max-width: 47.99rem) {
  .carousel-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; touch-action: manipulation; gap: 1rem; margin-inline: -1rem; padding: .25rem 1rem 1rem; scroll-padding-inline: 1rem; scrollbar-width: none; }
  .carousel-track::-webkit-scrollbar { display: none; }
  .carousel-track > * { flex: 0 0 82%; scroll-snap-align: start; }
  .carousel-dots { display: flex; justify-content: center; gap: .35rem; }
  .carousel-dots button { inline-size: 28px; block-size: 28px; padding: 9px; border: 0; background: none; cursor: pointer; touch-action: manipulation; }
  .carousel-dots button::before { content: ""; display: block; inline-size: 10px; block-size: 10px; border-radius: 50%; background: #9fb3c2; transition: transform .2s; }
  .carousel-dots button[aria-current="true"]::before { background: var(--teal-dark); transform: scale(1.4); }
  .carousel-dots button:focus-visible { outline: 3px solid var(--blue); outline-offset: 0; border-radius: 50%; }
}
@media (prefers-reduced-motion: no-preference) { .carousel-track { scroll-behavior: smooth; } }

/* Cookie banner (non-blocking, no cookie wall) */
.cookie-banner { position: fixed; z-index: 30; inset: auto 1rem 1rem auto; inline-size: min(26rem, calc(100% - 2rem)); padding: 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 20px 50px rgb(11 26 58 / .25); }
.cookie-banner[hidden], .cookie-prefs[hidden] { display: none; }
.cookie-banner h2 { font-size: 1.15rem; margin: 0 0 .5rem; }
.cookie-banner p { font-size: .92rem; margin: 0 0 .75rem; }
.cookie-prefs { display: grid; gap: .5rem; margin-bottom: .9rem; }
.cookie-prefs label { display: grid; grid-template-columns: auto 1fr; column-gap: .5rem; font-weight: 600; color: var(--navy); }
.cookie-prefs input { inline-size: 1.1rem; block-size: 1.1rem; margin-top: .2rem; accent-color: var(--teal-dark); grid-row: span 2; }
.cookie-prefs span { font-weight: 400; font-size: .85rem; color: var(--muted); }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.cookie-actions .btn { padding: .8rem .5rem; font-size: .95rem; text-align: center; cursor: pointer; }
.cookie-actions .cookie-prefs-btn { grid-column: 1 / -1; justify-self: center; color: var(--teal-dark); padding: .35rem .5rem; }
.cookie-actions .cookie-prefs-btn[aria-expanded="true"] { justify-self: stretch; text-decoration: none; font: 600 .95rem/1 var(--font-head); padding: .8rem .5rem; border: 2px solid var(--navy); border-radius: 999px; color: var(--navy); }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: #fff; text-decoration: underline; cursor: pointer; }
@media (max-width: 47.99rem) {
  .cookie-banner { inset: auto .5rem .5rem .5rem; inline-size: auto; padding: .9rem 1rem .6rem; }
  .cookie-banner h2 { font-size: 1rem; margin-bottom: .25rem; }
  .cookie-banner p { font-size: .85rem; line-height: 1.45; margin-bottom: .6rem; }
  .cookie-actions .btn { padding: .7rem .5rem; }
  /* one bottom bar at a time: hide the mail bar while the consent banner is open */
  body:has(.cookie-banner:not([hidden])) .mobile-cta { display: none; }
}
.link-inline { color: var(--teal-dark); }

/* Redesign: hero with configurator, glass "double pane" motif from the logo */
.hero-grid { gap: clamp(2.5rem, 6vw, 5rem); }
@media (min-width: 60rem) { .hero-grid { grid-template-columns: 1.25fr 1fr; } }
.hero .lead { font-size: clamp(1.15rem, 1rem + .5vw, 1.3rem); line-height: 1.55; color: var(--ink); max-width: 60ch; }
.hero-grid .lead { font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); max-width: 34ch; }
.hero-ai { display: flex; align-items: center; gap: .6rem; color: var(--muted); font-size: 1rem; max-width: 46ch; }
.hero-ai img { flex: none; }
.cta-actions { align-items: center; gap: .75rem 1.25rem; margin-top: 1.75rem; }
.panes { position: relative; isolation: isolate; padding: 1.25rem 1.25rem 0 0; }
.panes::before { content: ""; position: absolute; z-index: -1; inset: 0 0 1.25rem 1.25rem; border-radius: calc(var(--radius) * 1.5); border: 2px solid rgb(26 163 184 / .45); background: linear-gradient(150deg, rgb(26 163 184 / .16), rgb(59 124 192 / .10)); }
.hero-config .mock { font-size: 1.02rem; }
.hero-config .mock-body { grid-template-columns: 9rem 1fr; padding: 1.5rem; }
.hero-config-note { margin: 1.25rem 0 0; font-size: .95rem; color: var(--muted); }
/* phones: the configurator becomes a compact "order ticket": small drawing + value chips (labels stay for screen readers) */
@media (max-width: 30rem) {
  .panes { padding: .6rem .6rem 0 0; }
  .panes::before { inset: 0 0 .6rem .6rem; }
  .mock .mock-body:not(.mock-body-rows) { grid-template-columns: 3.75rem 1fr; gap: .9rem; padding: .9rem 1rem; }
  .mock-body:not(.mock-body-rows) dl { display: flex; flex-wrap: wrap; gap: .4rem; }
  .mock-body:not(.mock-body-rows) dl div { border: 0; padding: .25rem .6rem; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
  .mock-body:not(.mock-body-rows) dt { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); }
  .mock-body:not(.mock-body-rows) dd { font-size: .85rem; white-space: nowrap; }
  .mock-pane text { display: none; }
  .mock-head { padding: .55rem .9rem; font-size: .85rem; }
  .mock-foot { padding: .6rem 1rem; font-size: .88rem; }
}

/* Platform: image first on wide screens */

.platform h2 { margin-top: 0; }

/* Solutions: cards as offset glass panes */
/* front pane = ::after (white face + border), back pane = ::before (offset tint); both behind the content */
.pane { position: relative; isolation: isolate; display: flex; flex-direction: column; background: none; border: 0; }
.solutions .pane > p:last-child:has(a) { margin-top: auto; }
.pane h2 { font-size: 1.5rem; margin-top: 0; }
.pane::before, .pane::after { content: ""; position: absolute; border-radius: var(--radius); transition: translate .3s cubic-bezier(.16, 1, .3, 1); }
.pane::before { z-index: -2; inset: 0; translate: .5rem -.5rem; border: 1px solid rgb(59 124 192 / .35); background: rgb(26 163 184 / .1); }
.pane::after { z-index: -1; inset: 0; background: #fff; border: 1px solid rgb(26 163 184 / .45); }
.pane:hover::before { translate: .8rem -.8rem; }
.grid:has(.pane) { gap: 1.75rem; padding-top: .5rem; }
@media (min-width: 48rem) { .solutions .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 47.99rem) { .carousel-track:has(.pane) { padding-top: 1rem; } }

/* Benefits: plain columns on wide screens, cards only in the mobile carousel */
@media (min-width: 48rem) {
  .benefits .card { border: 0; border-top: 2px solid var(--teal); border-radius: 0; padding: 1.25rem 0 0; background: none; }
}
@media (min-width: 36rem) { .checks-cols { columns: 2; column-gap: 2rem; } .checks-cols li { break-inside: avoid; margin-block: 0 .6rem; } }

/* Process band: one glass pane travels through the six steps as you scroll (the page's one authored motion) */
.process { margin-block: clamp(3rem, 8vw, 6rem); padding: clamp(1.75rem, 5vw, 3.5rem); border-radius: calc(var(--radius) * 1.5); background: var(--navy); color: #c9d6e3; view-timeline-name: --process; }
.process h2 { color: #fff; margin-top: 0; }
.process > p { color: #c9d6e3; }
.process-track { position: relative; margin-top: 2.5rem; container-type: inline-size; }
.process-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; position: relative; }
.process-steps li { position: relative; display: grid; grid-template-columns: 3rem 1fr; column-gap: 1rem; align-content: start; max-width: none; }
.process-steps strong { font: 600 1.1rem/1.3 var(--font-head); color: #fff; align-self: end; }
.process-steps li > span:last-child { grid-column: 2; font-size: .92rem; line-height: 1.45; color: #b9c7d8; }
.step-icon { grid-row: span 2; display: grid; place-items: center; inline-size: 3rem; block-size: 3rem; border-radius: 10px; border: 1.5px solid var(--teal); background: #0e3a52; color: #fff; position: relative; z-index: 1; }
/* track line + filled progress, centred on the icons */
.process-steps::before, .process-steps::after { content: ""; position: absolute; background: #2f4570; inset: 1.5rem auto 1.5rem calc(1.5rem - 1px); inline-size: 2px; }
.process-steps::after { background: var(--teal); display: none; }
.process-token { display: none; }
@media (min-width: 56rem) {
  .process-steps { grid-template-columns: repeat(6, 1fr); gap: 1.25rem; }
  .process-steps li { grid-template-columns: 1fr; row-gap: .4rem; }
  .step-icon { grid-row: auto; margin-bottom: .6rem; }
  .process-steps li > span:last-child { grid-column: 1; }
  /* icons sit at the start of each of 6 columns (gap 1.25rem): line runs first icon centre -> last icon centre */
  .process-steps::before, .process-steps::after { inset: calc(1.5rem - 1px) calc((100% - 6.25rem) / 6 - 1.5rem) auto 1.5rem; inline-size: auto; block-size: 2px; }
  .process-steps::after { display: block; transform-origin: left; }
  .process-token { display: block; position: absolute; z-index: 0; inset: .875rem auto auto .875rem; inline-size: 1.25rem; block-size: 1.25rem; pointer-events: none; opacity: 0; }
  .process-token::before, .process-token::after { content: ""; position: absolute; inset: 0 .3rem .3rem 0; border-radius: 3px; border: 1.5px solid #9fe3ee; background: rgb(26 163 184 / .55); }
  .process-token::after { inset: .3rem 0 0 .3rem; background: rgb(59 124 192 / .6); border-color: #c7dbf2; }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    /* narrow: the band is taller than the screen, so each step lights as it scrolls past ~80% of the viewport */
    .step-icon { animation: step-on linear both; animation-timeline: view(); animation-range: cover 12% cover 24%; }
    @media (min-width: 56rem) {
      .process-steps::after { animation: process-fill-x linear both; animation-timeline: --process; animation-range: contain 5% contain 75%; }
      .step-icon { animation-timeline: --process; animation-range: contain calc(3% + var(--i) * 14%) contain calc(7% + var(--i) * 14%); }
      .process-token { animation: token-travel linear both; animation-timeline: --process; animation-range: contain 5% contain 75%; }
    }
  }
}
@keyframes process-fill-x { from { scale: 0 1; } to { scale: 1 1; } }
@keyframes step-on { from { border-color: #2f4570; background: var(--navy); color: #7f93ad; } to { border-color: var(--teal); background: #0e3a52; color: #fff; } }
@keyframes token-travel { 0% { opacity: 0; translate: 0 0; } 6% { opacity: 1; } 94% { opacity: 1; } 100% { opacity: 0; translate: calc(5 * ((100cqi - 6.25rem) / 6 + 1.25rem)) 0; } }

/* Sub-pages: same system as home */
.mock-body-rows { grid-template-columns: 1fr; }
.sub-hero .hero-visual img { inline-size: min(100%, 30rem); }
/* text panels: open hairline blocks instead of grey boxes */
.soft { background: none; border-radius: 0; border-top: 2px solid var(--teal); padding: 1.75rem 0 0; margin-block: clamp(2.5rem, 6vw, 4.5rem); }
.soft > h2:first-child { margin-top: 0; }

/* Flow diagram: vertical chain of systems, line runs through the icon centres */
.flow { margin: 0; }
.flow ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; position: relative; }
.flow ol::before { content: ""; position: absolute; inset: 1.5rem auto 1.5rem calc(1.5rem - 1px); border-inline-start: 2px dashed rgb(26 163 184 / .55); }
.flow li { position: relative; display: grid; grid-template-columns: 3rem 1fr; column-gap: 1rem; align-items: center; max-width: none; }
.flow-icon { grid-row: span 2; display: grid; place-items: center; inline-size: 3rem; block-size: 3rem; border-radius: 10px; background: #fff; border: 1px solid rgb(26 163 184 / .45); color: var(--teal-dark); box-shadow: 0 6px 16px rgb(11 26 58 / .08); }
.flow-icon img { inline-size: 2rem; block-size: 2rem; object-fit: contain; }
.flow li strong { font: 600 1rem/1.25 var(--font-head); color: var(--navy); align-self: end; }
.flow li > span:last-child { font-size: .93rem; line-height: 1.4; color: var(--muted); align-self: start; }
.flow figcaption { margin-top: 1rem; font-size: .85rem; color: var(--muted); }
.split .flow img { max-block-size: none; border-radius: 0; }

/* Comparison table: rows become labelled cards on phones */
@media (max-width: 37.5rem) {
  .table-wrap table.compare, .compare tbody, .compare tr, .compare td { display: block; }
  .compare thead { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); }
  .compare tr { padding: 1rem 0; border-bottom: 1px solid var(--line); }
  .compare td { border: 0; padding: .2rem 0; }
  .compare td:first-child { font: 600 1.05rem var(--font-head); color: var(--navy); }
  .compare td[data-label]::before { content: attr(data-label) ": "; font-weight: 600; color: var(--teal-dark); }
}
.grid:has(.pane) { padding-inline-end: .5rem; }
.contact-grid { grid-template-columns: minmax(0, 40rem); }
@media (max-width: 30rem) { .mock .mock-body-rows { padding: .8rem 1rem; } .mock-body-rows dl { gap: .35rem; } }
