/* Pixel Polishers mockup, dark theme. Tokens first, then base, then sections. */
:root {
    --bg0: #0b1226;      /* page */
    --bg1: #0f1830;      /* alternate sections */
    --bg2: #141f3d;      /* raised surfaces */
    --deep: #070c1b;     /* footer */
    --line: #26335a;
    --text: #dce3f5;
    --muted: #9aa6c7;
    --white: #ffffff;
    --blue: #3b82f6;
    --purple: #8b5cf6;
    --pink: #ec4899;
    --orange: #f97316;
    --brand: linear-gradient(90deg, #60a5fa, #c084fc 35%, #f472b6 65%, #fb923c);
    --head: "Poppins", system-ui, sans-serif;
    --body: "IBM Plex Sans", system-ui, sans-serif;
    --corner: 2px 18px 2px 2px; /* squares, with one corner polished */
    --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; color-scheme: dark; }
body { margin: 0; background: var(--bg0); color: var(--text); font: 400 1.0625rem/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; font-family: var(--head); font-weight: 700; letter-spacing: -0.025em; line-height: 1.12; margin: 0; color: var(--white); }
p { margin: 0; }
:focus-visible { outline: 3px solid #c084fc; outline-offset: 3px; }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; background: #fff; color: var(--bg0); padding: 10px 16px; z-index: 50; }
.skip:focus { top: 12px; }

/* Buttons and links */
.btn {
    display: inline-block; font: 600 1rem/1 var(--head); padding: 16px 24px; text-decoration: none; border: 0; cursor: pointer;
    border-radius: var(--corner); color: var(--bg0); background: var(--brand); background-size: 140% 100%; background-position: 0 0;
    transition: background-position .4s ease, filter .2s;
}
.btn:hover { background-position: 100% 0; filter: brightness(1.06); }
.btn-small { padding: 12px 18px; font-size: .9375rem; }
.link { font-weight: 500; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: #c084fc; }
.link:hover { text-decoration-color: #fb923c; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: transparent; border-bottom: 1px solid transparent; transition: background-color .25s, border-color .25s; }
.site-header.is-scrolled { background: rgba(11, 18, 38, .88); backdrop-filter: blur(10px); border-bottom-color: var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 24px; }
.brand img { height: 68px; width: auto; margin-block: -6px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; color: var(--text); }
.nav a:not(.btn):hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: #c084fc; }
.menu-toggle { display: none; font: 600 .9375rem var(--head); background: transparent; border: 2px solid var(--text); border-radius: var(--corner); padding: 9px 14px; color: var(--text); cursor: pointer; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 96px) 0 clamp(150px, 15vw, 200px); background: var(--bg0); }
.pixel-field { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6.4fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.75rem, 5.4vw, 5.1rem); line-height: 1.02; letter-spacing: -0.035em; }
.lead { font-size: 1.1875rem; color: var(--muted); max-width: 34em; }
.hero .lead { margin-top: 24px; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 28px; margin-top: 36px; }

.polish { margin: 0; }
.polish-stage { position: relative; aspect-ratio: 11 / 7; background: var(--bg1); border-radius: 2px 28px 2px 2px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 0 90px -10px rgba(139, 92, 246, .5), 0 40px 80px -30px rgba(0, 0, 0, .8); }
#polish-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.polish figcaption { margin-top: 4px; color: var(--muted); font-size: .9375rem; }

/* Sections */
.section { position: relative; padding: clamp(64px, 8vw, 112px) 0; background: var(--bg0); }
.sec-alt { background: var(--bg1); }
.section-head { max-width: 52rem; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2, .principles h2, .faq-grid h2, .contact h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 1.125rem; }

/* Process: a real sequence, markers get finer at each step */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 3px solid transparent; border-image: linear-gradient(90deg, #60a5fa, #c084fc, #f472b6, #fb923c) 1; }
.step { padding: 28px 24px 8px 0; }
.step + .step { padding-left: 24px; border-left: 1px solid var(--line); }
.step h3 { font-size: 1.5rem; margin: 22px 0 10px; }
.step p { color: var(--muted); font-size: 1rem; }
.mosaic { width: 64px; height: 64px; display: grid; gap: 2px; }
.mosaic i { display: block; }

/* Services: an index, not a card grid */
.services { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.services li { --c: var(--blue); position: relative; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); gap: 16px 40px; align-items: baseline; padding: 28px 0 28px 34px; border-bottom: 1px solid var(--line); transition: background-color .2s; }
.services li:nth-child(4n+2) { --c: var(--purple); }
.services li:nth-child(4n+3) { --c: var(--pink); }
.services li:nth-child(4n+4) { --c: var(--orange); }
.services li::before { content: ""; position: absolute; left: 0; top: 40px; width: 16px; height: 16px; background: var(--c); box-shadow: 0 0 14px var(--c); transition: border-radius .25s, transform .25s; }
.services li:hover { background: color-mix(in srgb, var(--c) 10%, var(--bg0)); }
.services li:hover::before { border-radius: 50%; transform: scale(1.25); }
.services h3 { font-size: clamp(1.375rem, 2.2vw, 1.875rem); }
.services p { color: var(--muted); }
.services h3 a { color: inherit; text-decoration: none; }
.services h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.stack { color: var(--text); font-weight: 500; font-size: .9375rem; }

/* Principles */
.principles { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 40px 72px; align-items: start; }
.principles-list { display: grid; gap: 28px; }
.principles-list p { font-size: 1.1875rem; max-width: 36em; padding-left: 22px; border-left: 4px solid; border-image: linear-gradient(180deg, #60a5fa, #f472b6, #fb923c) 1; color: var(--text); }
.principles-list strong { font-family: var(--head); font-weight: 600; letter-spacing: -0.01em; color: var(--white); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 40px 72px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 48px 22px 0; font: 600 1.1875rem/1.35 var(--head); color: var(--white); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: var(--blue); box-shadow: 0 0 12px var(--blue); transition: transform .25s, border-radius .25s, background .25s, box-shadow .25s; }
.faq details[open] summary::after { border-radius: 50%; background: var(--pink); box-shadow: 0 0 12px var(--pink); transform: rotate(90deg); }
.faq details p { color: var(--muted); padding: 0 48px 24px 0; max-width: 40em; }

/* Contact */
.contact { padding-bottom: clamp(150px, 15vw, 190px); overflow: hidden; }
.contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px 72px; align-items: start; }
.contact .lead { margin-top: 18px; }
form { background: var(--bg2); border: 1px solid var(--line); border-radius: 2px 28px 2px 2px; padding: clamp(24px, 3vw, 40px); display: grid; gap: 20px; box-shadow: 0 0 80px -30px rgba(236, 72, 153, .45); }
.field label { display: block; font: 600 .9375rem var(--head); margin-bottom: 8px; color: var(--white); }
.field input, .field textarea { width: 100%; font: inherit; color: var(--white); background: var(--bg0); border: 1.5px solid var(--line); border-radius: 2px; padding: 13px 14px; }
.field input:focus, .field textarea:focus { outline: none; border-color: #c084fc; box-shadow: 0 0 0 3px rgba(192, 132, 252, .3); }
.field.invalid input, .field.invalid textarea { border-color: #fb7185; }
.error { color: #fda4af; font-size: .9375rem; margin-top: 6px; }
.error:empty { display: none; }
form .btn { justify-self: start; }
.form-status { font-weight: 500; }
.form-status.ok { color: #6ee7b7; }

/* Pixel dissolve edges */
.dissolve { position: absolute; left: 0; bottom: 0; width: 100%; height: 150px; display: block; pointer-events: none; }
.dissolve-foot { height: 130px; }

/* Footer */
.site-footer { background: var(--deep); color: var(--muted); padding: 80px 0 0; border-top: 3px solid transparent; border-image: linear-gradient(90deg, #60a5fa, #c084fc 35%, #f472b6 65%, #fb923c) 1; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr)); gap: 48px 40px; }
.footer-intro img { height: 84px; width: auto; margin: -10px 0 0 -8px; }
.tagline { font: 600 1.5rem/1.2 var(--head); color: #fff; margin-top: 14px; letter-spacing: -0.01em; }
.about { margin: 12px 0 0; max-width: 26em; }
.footer-title { font: 600 1rem var(--head); color: #fff; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li a { display: inline-block; padding: 5px 0; color: var(--text); text-decoration: none; }
.footer-col li a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: #c084fc; }
.footer-col .note { max-width: 18em; margin-bottom: 18px; }
.footer-col .btn { white-space: nowrap; }
.footer-bottom { margin-top: 56px; border-top: 1px solid #1c2748; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px; padding: 28px 0 36px; font-size: .875rem; color: #7d89ab; }
.footer-bottom a { color: var(--text); text-underline-offset: 5px; }


/* ---- Hero animation, tools, panel ---- */
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
[hidden] { display: none !important; }
.hero h1 .line { display: block; }
.intro .hero h1 .line { opacity: 0; }
.polish-meta { display: flex; align-items: center; gap: 14px; margin-top: 14px; font-weight: 500; font-size: .9375rem; color: var(--text); }
.polish-meta .track { flex: 1; height: 6px; background: #1c2748; border-radius: 1px; overflow: hidden; }
.polish-meta .fill { height: 100%; width: 0; background: linear-gradient(90deg, #60a5fa, #c084fc, #f472b6, #fb923c); }
.polish figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.replay { font: 500 .9375rem var(--body); color: var(--text); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: #c084fc; }
.replay:hover { text-decoration-color: #fb923c; }

.bar .nav { margin-left: auto; }
.tools { display: flex; align-items: center; gap: 12px; margin-left: 28px; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 2px 10px 2px 2px; overflow: hidden; }
.lang button, .lang a { font: 600 .8125rem var(--head); color: var(--text); background: transparent; border: 0; padding: 9px 12px; cursor: pointer; min-width: 40px; }
.lang button[aria-pressed="true"], .lang a[aria-current="true"] { background: #fff; color: var(--bg0); }
.lang a:not([aria-current="true"]):hover, .lang button:not([aria-pressed="true"]):hover { background: var(--bg2); }
.a11y-toggle { display: grid; place-items: center; width: 42px; height: 42px; color: var(--text); background: transparent; border: 1px solid var(--line); border-radius: 2px 12px 2px 2px; cursor: pointer; }
.a11y-toggle:hover, .a11y-toggle[aria-expanded="true"] { background: var(--bg2); border-color: #c084fc; }

.a11y-panel { position: fixed; top: 92px; right: 24px; z-index: 40; width: min(24rem, calc(100vw - 32px)); max-height: calc(100vh - 110px); overflow: auto; background: var(--bg2); color: var(--text); border: 1px solid var(--line); border-radius: 2px 22px 2px 2px; padding: 20px 22px 22px; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .04); }
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.panel-head h2 { font-size: 1.25rem; }
.panel-close { display: grid; place-items: center; width: 36px; height: 36px; color: var(--text); background: transparent; border: 1px solid var(--line); border-radius: 2px 10px 2px 2px; cursor: pointer; }
.panel-close:hover { background: var(--bg1); }
.panel-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
label.panel-row { cursor: pointer; }
.size-ctl { display: inline-flex; align-items: center; gap: 8px; }
.size-ctl button { font: 700 .9375rem var(--head); color: var(--text); background: var(--bg1); border: 1px solid var(--line); border-radius: 2px 10px 2px 2px; width: 44px; height: 38px; cursor: pointer; }
.size-ctl button:disabled { opacity: .4; cursor: default; }
.size-ctl button:not(:disabled):hover { border-color: #c084fc; }
.size-ctl output { min-width: 48px; text-align: center; font-variant-numeric: tabular-nums; }
.toggle { appearance: none; -webkit-appearance: none; width: 26px; height: 26px; margin: 0; border: 2px solid var(--text); border-radius: 2px; background: transparent; cursor: pointer; transition: border-radius .2s, background .2s; flex: none; }
.toggle:checked { background: linear-gradient(135deg, #60a5fa, #f472b6 60%, #fb923c); border-color: transparent; border-radius: 50%; }
.toggle:focus-visible { outline: 3px solid #c084fc; outline-offset: 3px; }
.reset { margin-top: 18px; font: 600 .9375rem var(--head); color: var(--text); background: transparent; border: 1px solid var(--line); border-radius: 2px 12px 2px 2px; padding: 11px 16px; cursor: pointer; }
.reset:hover { border-color: #c084fc; }

/* ---- Accessibility modes (set on <html>) ---- */
html[data-size="1"] { font-size: 115%; }
html[data-size="2"] { font-size: 130%; }
html[data-size="3"] { font-size: 150%; }
html[data-font="readable"] { --head: "Atkinson Hyperlegible", system-ui, sans-serif; --body: "Atkinson Hyperlegible", system-ui, sans-serif; }
html[data-font="readable"] h1, html[data-font="readable"] h2, html[data-font="readable"] h3 { letter-spacing: 0; }
html[data-font="readable"] body { line-height: 1.75; }
html[data-links="underline"] a:not(.btn), html[data-links="underline"] .replay { text-decoration: underline !important; text-decoration-thickness: 2px; text-underline-offset: 4px; }
html[data-contrast="high"] { --bg0: #04070f; --bg1: #090f1f; --bg2: #0e1630; --deep: #02040a; --line: #8494c4; --text: #ffffff; --muted: #e6ebfb; }
html[data-contrast="high"] .polish-stage, html[data-contrast="high"] form, html[data-contrast="high"] .services li::before, html[data-contrast="high"] .mosaic i, html[data-contrast="high"] .faq summary::after { box-shadow: none; }
html[data-contrast="high"] .pixel-field { opacity: .35; }
html[data-contrast="high"] .polish-stage { outline: 2px solid #fff; }
html[data-contrast="high"] .field input, html[data-contrast="high"] .field textarea { border-color: #fff; }
html[data-contrast="high"] :focus-visible { outline: 4px solid #ffd166; outline-offset: 3px; }
html[data-contrast="high"] .site-footer .fine, html[data-contrast="high"] .footer-bottom { color: #e6ebfb; }
html[data-motion="reduced"] *, html[data-motion="reduced"] *::before, html[data-motion="reduced"] *::after { transition: none !important; animation: none !important; }
html[data-motion="reduced"] { scroll-behavior: auto; }

@media (max-width: 760px) {
    .tools { margin-left: auto; }
    .lang-header { display: none; }
    .a11y-panel { top: 84px; right: 16px; }
}

/* Responsive */
@media (max-width: 1020px) {
    .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-intro { grid-column: 1 / -1; }
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 0; border-image: none; }
    .step { border-top: 3px solid #8b5cf6; padding: 24px 24px 24px 0 !important; border-left: 0 !important; }
    .services li { grid-template-columns: 1fr; gap: 8px; }
    .principles, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
    .menu-toggle { display: inline-block; }
    .nav { display: none; position: absolute; top: 84px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 18px; padding: 24px; background: var(--bg0); border-bottom: 1px solid var(--line); }
    .nav.open { display: flex; }
    .brand img { height: 56px; }
    .steps { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
    
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}

/* Dutch words are longer: keep "ideeën tot leven" on one line */
html:lang(nl) .hero h1 { font-size: clamp(2.3rem, 3.9vw, 4rem); }
@media (max-width: 900px) { html:lang(nl) .hero h1 { font-size: clamp(2.4rem, 8vw, 3.6rem); } }
@media (max-width: 900px) { .pixel-field { display: none; } }

/* Panel rows must cope with long Dutch labels and larger text */
.panel-row > span { flex: 1 1 auto; min-width: 0; }
.panel-lang { flex-direction: column; align-items: stretch; gap: 10px; }
.panel-lang .lang { display: flex; width: 100%; }
.panel-lang .lang button, .panel-lang .lang a { flex: 1 1 0; padding: 12px 14px; font-size: .9375rem; white-space: nowrap; }
.lang button, .lang a { white-space: nowrap; }

/* Contact call to action (replaces the mockup form: the real flow is the project wizard) */
.cta-card { background: var(--bg2); border: 1px solid var(--line); border-radius: 2px 28px 2px 2px; padding: clamp(24px, 3vw, 40px); display: grid; gap: 22px; justify-items: start; box-shadow: 0 0 80px -30px rgba(236, 72, 153, .45); }
.cta-card p { font-size: 1.1875rem; max-width: 26em; color: var(--text); }
.faq details .more { display: inline-block; margin: -8px 0 24px; font-weight: 500; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: #c084fc; }
.faq details .more:hover { text-decoration-color: #fb923c; }

/* =========================================================
      Inner pages: shared components
      ========================================================= */
.nav a[aria-current="page"]:not(.btn) { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: #c084fc; }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: #c084fc; filter: none; background: rgba(139, 92, 246, .12); }
.btn:disabled { opacity: .45; cursor: default; }

/* Page header: title, lead and pixels */
.page-hero { position: relative; overflow: hidden; background: var(--bg0); padding: clamp(48px, 7vw, 104px) 0 clamp(130px, 13vw, 170px); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4.25rem); line-height: 1.04; letter-spacing: -0.035em; max-width: 16em; }
.page-hero .lead { margin-top: 22px; max-width: 38em; }
.page-hero .actions { margin-top: 34px; }

/* Article text (FAQ answers and long explanations) */
.crumbs ol { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: .9375rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--line); }
.crumbs a { color: var(--text); text-underline-offset: 4px; }
.prose { max-width: 44rem; }
.prose h2 { font-size: clamp(1.625rem, 2.6vw, 2.125rem); margin: 56px 0 16px; }
.prose h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); margin: 44px 0 12px; }
.prose h4 { font: 600 1.0625rem/1.3 var(--head); color: var(--white); margin: 30px 0 8px; display: flex; align-items: center; gap: 12px; }
.prose p { margin: 0 0 16px; color: var(--text); }
.prose p.lead-in { font-size: 1.25rem; color: var(--muted); margin-bottom: 8px; }
.prose ul { list-style: none; margin: 0 0 18px; padding: 0; }
.prose li { position: relative; padding: 4px 0 4px 28px; color: var(--text); }
.prose li::before { content: ""; position: absolute; left: 4px; top: .95em; width: 9px; height: 9px; background: var(--blue); box-shadow: 0 0 10px var(--blue); }
.prose li:nth-child(4n+2)::before { background: var(--purple); box-shadow: 0 0 10px var(--purple); }
.prose li:nth-child(4n+3)::before { background: var(--pink); box-shadow: 0 0 10px var(--pink); }
.prose li:nth-child(4n+4)::before { background: var(--orange); box-shadow: 0 0 10px var(--orange); }
.prose li strong { color: var(--white); font-weight: 600; }
.prose .note { padding-left: 16px; border-left: 3px solid var(--purple); color: var(--muted); }
.badge { display: inline-block; font: 600 .75rem/1 var(--head); color: var(--bg0); background: var(--brand); padding: 6px 10px; border-radius: 2px 8px 2px 2px; }
.prose .steps-text { list-style: none; margin: 0 0 18px; padding: 0; counter-reset: s; }
.prose .steps-text li { padding-left: 52px; counter-increment: s; min-height: 38px; }
.prose .steps-text li::before { content: counter(s); top: 4px; left: 0; width: 32px; height: 32px; display: grid; place-items: center; background: var(--bg2); box-shadow: none; border: 1.5px solid var(--line); font: 600 .9375rem var(--head); color: var(--white); }
.article-end { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; }

/* Service blocks */
.service { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px clamp(32px, 6vw, 88px); align-items: start; }
.service h2 { font-size: clamp(1.875rem, 3.2vw, 2.75rem); }
.service .tagline { margin-top: 10px; font: 600 1.25rem/1.3 var(--head); color: #c4b5fd; }
.service .desc { margin-top: 18px; max-width: 36em; }
.service .stack { margin: 16px 0 32px; color: #c4b5fd; }
.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 18px 36px; margin: 28px 0 32px; }
.facts dt { font-size: .875rem; color: var(--muted); }
.facts dd { margin: 2px 0 0; font: 600 1.0625rem var(--head); color: var(--white); }
.service-lists h3 { font-size: 1.25rem; margin: 0 0 12px; }
.service-lists h3 + ul { margin-bottom: 30px; }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { position: relative; padding: 7px 0 7px 28px; border-bottom: 1px solid var(--line); }
.checks li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 10px; height: 10px; background: var(--c, var(--blue)); box-shadow: 0 0 10px var(--c, var(--blue)); }
.sec-alt .checks li { border-bottom-color: #1f2c52; }
.service:nth-of-type(n) .checks { --c: var(--blue); }

/* Values and facts lists */
.values { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.values li { --c: var(--blue); position: relative; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 12px 48px; padding: 30px 0 30px 34px; border-bottom: 1px solid var(--line); }
.values li:nth-child(4n+2) { --c: var(--purple); } .values li:nth-child(4n+3) { --c: var(--pink); } .values li:nth-child(4n+4) { --c: var(--orange); }
.values li::before { content: ""; position: absolute; left: 0; top: 40px; width: 16px; height: 16px; background: var(--c); box-shadow: 0 0 14px var(--c); }
.values h3 { font-size: clamp(1.375rem, 2.2vw, 1.875rem); }
.values p { color: var(--muted); max-width: 36em; }
.quote { margin: 0; max-width: 46rem; padding-left: 26px; border-left: 4px solid; border-image: linear-gradient(180deg, #60a5fa, #f472b6, #fb923c) 1; }
.quote p { font: 500 clamp(1.375rem, 2.6vw, 2rem)/1.4 var(--head); color: var(--white); letter-spacing: -0.015em; }
.quote + .actions { margin-top: 32px; }
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.stats li { padding: 32px 24px 8px 0; }
.stats li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.stats b { display: block; font: 700 clamp(2.25rem, 4vw, 3.5rem)/1 var(--head); color: var(--white); letter-spacing: -0.03em; }
.stats span { display: block; margin-top: 8px; color: var(--muted); }
.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step .when { display: inline-block; margin-top: 12px; font-weight: 500; color: var(--white); font-size: .9375rem; }
.link-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.link-list li { border-bottom: 1px solid var(--line); }
.link-list a { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 8px 40px; padding: 26px 0; text-decoration: none; transition: background-color .2s; }
.link-list a:hover { background: linear-gradient(90deg, rgba(139, 92, 246, .1), transparent 70%); }
.link-list h3 { font-size: clamp(1.1875rem, 1.9vw, 1.5rem); }
.link-list p { color: var(--muted); }
.link-list a:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: #c084fc; }
.band { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 28px 72px; align-items: center; }
.band h2 { font-size: clamp(1.875rem, 3.2vw, 2.75rem); }
.band p { color: var(--muted); font-size: 1.125rem; }
.band .actions { margin-top: 24px; }

/* Contact */
.contact-split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px clamp(32px, 6vw, 80px); align-items: start; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field select { width: 100%; font: inherit; color: var(--white); background: var(--bg0); border: 1.5px solid var(--line); border-radius: 2px; padding: 13px 14px; }
.field select:focus { outline: none; border-color: #c084fc; box-shadow: 0 0 0 3px rgba(192, 132, 252, .3); }
.form-note { color: var(--muted); font-size: .9375rem; }
.aside h3 { font-size: 1.25rem; margin: 0 0 14px; }
.aside + .aside { margin-top: 40px; }
.info { margin: 0; display: grid; gap: 14px; }
.info dt { font-size: .875rem; color: var(--muted); }
.info dd { margin: 2px 0 0; color: var(--white); font-weight: 500; }
.info a { color: var(--white); text-underline-offset: 4px; }
.next-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: n; }
.next-steps li { position: relative; padding-left: 52px; counter-increment: n; }
.next-steps li::before { content: counter(n); position: absolute; left: 0; top: 0; width: 34px; height: 34px; display: grid; place-items: center; border: 1.5px solid var(--line); background: var(--bg2); font: 600 .9375rem var(--head); color: var(--white); border-radius: 2px 10px 2px 2px; }
.next-steps strong { display: block; color: var(--white); font-family: var(--head); font-weight: 600; }
.next-steps span { color: var(--muted); }
.direct { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.direct li { --c: var(--blue); position: relative; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); gap: 8px 32px; align-items: baseline; padding: 24px 0 24px 34px; border-bottom: 1px solid var(--line); }
.direct li:nth-child(3n+2) { --c: var(--pink); } .direct li:nth-child(3n+3) { --c: var(--orange); }
.direct li::before { content: ""; position: absolute; left: 0; top: 34px; width: 16px; height: 16px; background: var(--c); box-shadow: 0 0 14px var(--c); }
.direct h3 { font-size: 1.375rem; }
.direct p { color: var(--muted); }
.direct a { color: var(--white); font-weight: 500; text-underline-offset: 5px; text-decoration-thickness: 2px; text-decoration-color: #c084fc; }

/* Project wizard */
.wizard { max-width: 52rem; margin: 0 auto; }
.wiz-head h1 { font-size: clamp(2.25rem, 4.2vw, 3.5rem); line-height: 1.05; letter-spacing: -0.03em; }
.wiz-head .lead { margin-top: 16px; }
.wiz-progress { margin: 36px 0 8px; }
.wiz-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.wiz-bar i { display: block; height: 10px; background: #1c2748; transition: background-color .3s; }
.wiz-bar i.on { background: var(--c); box-shadow: 0 0 12px var(--c); }
.wiz-bar i:nth-child(1) { --c: #3b82f6; } .wiz-bar i:nth-child(2) { --c: #8b5cf6; } .wiz-bar i:nth-child(3) { --c: #ec4899; } .wiz-bar i:nth-child(4) { --c: #f97316; }
.wiz-count { margin-top: 10px; color: var(--muted); font-size: .9375rem; }
.wiz-card { margin-top: 28px; background: var(--bg2); border: 1px solid var(--line); border-radius: 2px 28px 2px 2px; padding: clamp(22px, 3.2vw, 40px); }
.wiz-card h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.wiz-card .hint { margin: 8px 0 24px; color: var(--muted); }
.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 12px; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt-card { display: block; position: relative; height: 100%; padding: 18px 48px 18px 18px; border: 1.5px solid var(--line); border-radius: 2px 14px 2px 2px; background: var(--bg1); transition: border-color .2s, background-color .2s; }
.opt-card::after { content: ""; position: absolute; right: 16px; top: 18px; width: 18px; height: 18px; border: 2px solid var(--muted); transition: border-radius .2s, background .2s, border-color .2s; }
.opt input[type="radio"] + .opt-card::after { border-radius: 2px; }
.opt input:checked + .opt-card { border-color: #c084fc; background: rgba(139, 92, 246, .14); }
.opt input:checked + .opt-card::after { border-radius: 50%; border-color: transparent; background: linear-gradient(135deg, #60a5fa, #f472b6 60%, #fb923c); }
.opt input:focus-visible + .opt-card { outline: 3px solid #c084fc; outline-offset: 3px; }
.opt-card strong { display: block; font: 600 1.0625rem/1.3 var(--head); color: var(--white); }
.opt-card span.d { display: block; margin-top: 4px; color: var(--muted); font-size: .9375rem; }
.opt-card .badge { margin-top: 10px; }
.wiz-card form { background: none; border: 0; padding: 0; box-shadow: none; border-radius: 0; }
.summary { margin: 28px 0 0; padding: 18px 20px; border: 1.5px dashed var(--line); border-radius: 2px 14px 2px 2px; }
.summary h3 { font-size: 1.0625rem; margin-bottom: 10px; }
.summary dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; }
.summary dt { color: var(--muted); } .summary dd { margin: 0; color: var(--white); }
.wiz-error { margin-bottom: 20px; padding: 14px 16px; border-left: 4px solid #fb7185; background: rgba(251, 113, 133, .12); color: #fecdd3; font-weight: 500; }
.wiz-nav { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.wiz-nav .right { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.wiz-done h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.wiz-done p { margin-top: 14px; color: var(--text); max-width: 34em; }
.wiz-done .actions { margin-top: 26px; }
.copy-box { margin-top: 20px; width: 100%; min-height: 9rem; font: .9375rem/1.5 var(--body); color: var(--text); background: var(--bg0); border: 1.5px solid var(--line); border-radius: 2px; padding: 12px; }

/* 404 */
.notfound { min-height: 56vh; display: grid; align-content: center; }
.notfound h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); }

html[data-contrast="high"] .opt-card, html[data-contrast="high"] .wiz-card { border-color: #fff; }
html[data-contrast="high"] .checks li, html[data-contrast="high"] .values li, html[data-contrast="high"] .direct li, html[data-contrast="high"] .link-list li { border-color: #8494c4; }

@media (max-width: 1020px) {
    .service, .band, .contact-split, .values li { grid-template-columns: 1fr; }
    .steps-3, .steps-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stats li:nth-child(3) { padding-left: 0; border-left: 0; }
    .link-list a, .direct li { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .facts { grid-template-columns: 1fr 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .stats { grid-template-columns: 1fr 1fr; }
}
.page-hero.compact { padding-bottom: clamp(110px, 11vw, 140px); }
.page-hero.compact h1 { font-size: clamp(2rem, 4vw, 3.25rem); max-width: 22em; }

.more-link { margin-top: 36px; }
.step h3 a { text-decoration: none; }
.step h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: #c084fc; }

/* Language switch: plain links */
.lang a { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; text-align: center; }
.panel-lang .lang a { flex: 1 1 0; padding: 12px 14px; font-size: .9375rem; }

/* Long words (Dutch compounds) must not run into the selection marker */
.opt-card strong, .opt-card .d { overflow-wrap: break-word; hyphens: auto; }
.opt-card { padding-right: 52px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
