/* assmble — the website of assmble.com (Dutch on /, English on /en/). Plain CSS, no external resources.
   House style from css/assmble.css and docs/brand/README.md; Inter is self-hosted in assets/fonts/.
   The Content-Security-Policy of the website allows no style attributes: all styling lives in this file. */
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 400; src: url("/assets/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 500; src: url("/assets/fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 600; src: url("/assets/fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 700; src: url("/assets/fonts/inter-latin-700-normal.woff2") format("woff2"); }

:root {
  --primair: #5B8FDE;      /* Primary Blue */
  --primair-d: #3E72C2;    /* buttons (white text: contrast 4.8) */
  --link: #2F5FA8;         /* links on white and Ice (contrast 5.9 or more) */
  --ink: #0F1F3D;          /* Deep Navy */
  --navy: #253A63;         /* Soft Navy */
  --ijs: #A9C7F2;          /* Light Blue */
  --paper: #F4F7FC;        /* Ice */
  --card: #FFFFFF;
  --line: #DFE7F3;
  --muted: #4A5B7A;
  --accent: #E8A33D;
  --green: #2F9E6B;
  --concept-bg: #FDF3E3;
  --concept-ink: #6B4300;
  --wrap: 1120px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; overflow-wrap: break-word; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 2px; }
a:hover { color: var(--ink); }
a:focus-visible, .btn:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(30px, 5vw, 46px); font-weight: 700; }
h2 { font-size: clamp(23px, 3.2vw, 30px); font-weight: 700; }
h3 { font-size: 18px; font-weight: 600; }
p, ul, ol, dl, table { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -48px; z-index: 10; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; }
.skip:focus { top: 8px; color: #fff; }

/* ---------- header ---------- */
.top { background: var(--card); border-bottom: 1px solid var(--line); }
.top-in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { flex: none; display: block; }
.brand img { width: 132px; }
.menu { flex: 1 1 auto; }
.menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.menu a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; padding: 4px 0; border-bottom: 2px solid transparent; }
.menu a:hover { border-bottom-color: var(--primair); }
.menu a[aria-current="page"] { border-bottom-color: var(--primair-d); font-weight: 600; }
.top-act { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.top-act a:not(.btn) { color: var(--ink); font-weight: 500; font-size: 15px; text-decoration: none; }
.top-act a:not(.btn):hover { text-decoration: underline; }
.lang { border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px; }

/* ---------- buttons ---------- */
.btn { display: inline-block; background: var(--primair-d); color: #fff; font-weight: 600; font-size: 15px; line-height: 1.3; text-decoration: none; padding: 11px 18px; border-radius: 8px; border: 2px solid var(--primair-d); }
.btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn.ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.top .btn { padding: 8px 14px; font-size: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ---------- hero ---------- */
.hero { background-color: var(--ink); background-image: linear-gradient(135deg, var(--ink) 0%, var(--navy) 100%); color: #fff; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.hero h1 { color: #fff; }
.hero .lead { color: #DCE6F6; font-size: 18px; max-width: 40em; }
.eyebrow { margin: 0 0 12px; color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hero-logo { justify-self: center; width: min(100%, 360px); }
.slogan { font-weight: 600; }
.hero .slogan { color: var(--ijs); margin-top: 20px; margin-bottom: 0; }

/* ---------- page head (other pages) ---------- */
.head { background: var(--card); border-bottom: 1px solid var(--line); }
.head-in { padding-top: 48px; padding-bottom: 40px; }
.head .lead { color: var(--muted); font-size: 18px; max-width: 46em; margin-bottom: 0; }
.head-ble { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.head-ble img { width: 120px; }

/* ---------- sections ---------- */
main { display: block; }
.sec { padding: 56px 0; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec.white { background: var(--card); }
.sec .intro { color: var(--muted); max-width: 46em; }
.prose > * { max-width: 46em; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; margin-top: 24px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 22px; }
.sec.white .card { background: var(--paper); }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card h3 { margin-bottom: .4em; }
.card h2.h3 { font-size: 18px; font-weight: 600; margin-bottom: .4em; }
.more-row { margin-top: 20px; }
.card .tag { display: inline-block; margin: 0 0 10px; font-size: 13px; font-weight: 600; color: var(--muted); }
.steps { list-style: none; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 20px; margin-top: 24px; }
.steps li { counter-increment: step; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 20px; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--primair-d); color: #fff; font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.steps h3 { margin-bottom: .3em; }
.steps p { margin: 0; color: var(--muted); }
.roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 8px 32px; margin-top: 24px; }
.roles dt { font-weight: 600; margin-top: 12px; }
.roles dd { margin: 0; color: var(--muted); }
.checks { list-style: none; padding: 0; }
.checks li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.checks li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 12px; height: 7px; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.split img { width: 128px; }
.more { font-weight: 600; }

/* ---------- modules ---------- */
.mods { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; margin-top: 24px; }
.mods .card h3 { color: var(--ink); }

/* ---------- packages ---------- */
.pk { display: flex; flex-direction: column; }
.pk .price { margin-top: auto; padding-top: 12px; font-weight: 600; color: var(--muted); margin-bottom: 0; }
.table-wrap { overflow-x: auto; margin-top: 24px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
table.cmp { width: 100%; border-collapse: collapse; font-size: 15px; margin: 0; }
.cmp th, .cmp td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cmp thead th { background: var(--ink); color: #fff; font-weight: 600; }
.cmp tbody th { font-weight: 500; }
.cmp td { text-align: center; width: 18%; }
.cmp thead th:not(:first-child) { text-align: center; }
.cmp tr.group th { background: var(--paper); font-weight: 700; font-size: 14px; color: var(--ink); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.yes { color: #237A52; font-weight: 700; }   /* darker than Succes: contrast 5.3 on white */
.no { color: var(--muted); }

/* ---------- ble. layers ---------- */
.layers { list-style: none; padding: 0; display: grid; gap: 14px; margin-top: 24px; }
.layers li { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--primair); border-radius: 8px; padding: 16px 18px; }
.layers li.server { border-left-color: var(--accent); }
.layers h3 { margin-bottom: .2em; }
.layers .where { margin: 0 0 6px; font-size: 14px; font-weight: 600; color: var(--muted); }
.layers p:last-child { margin-bottom: 0; }
.quote { font-style: italic; }

/* ---------- contact, concept ---------- */
.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 24px; }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; }
.concept { background: var(--concept-bg); color: var(--concept-ink); border: 1px solid #F0C98A; border-radius: 8px; padding: 14px 18px; margin: 0 0 24px; }
.concept strong { color: var(--concept-ink); }
.ph { background: #FFF6D6; color: var(--concept-ink); padding: 0 4px; border-radius: 3px; }
.band { background: var(--ink); color: #fff; }
.band .wrap { padding-top: 48px; padding-bottom: 48px; }
.band h2 { color: #fff; }
.band p { color: #DCE6F6; max-width: 46em; }

/* ---------- demo request form (website/demo.js) ---------- */
.form { display: grid; gap: 16px; margin-top: 8px; }
.form[hidden], .form-msg[hidden] { display: none; }
.form .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.field input, .field textarea { display: block; width: 100%; font: inherit; color: var(--ink); background: var(--card); border: 1px solid #8193B2; border-radius: 8px; padding: 10px 12px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible, button.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.field [aria-invalid="true"] { border: 2px solid #B3261E; }
.form .hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
button.btn { cursor: pointer; font-family: inherit; }
button.btn:disabled { opacity: .7; cursor: default; }
.form-note { color: var(--muted); font-size: 14px; margin: 0; }
.form-msg { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--primair); border-radius: 8px; padding: 12px 16px; margin: 16px 0 0; }
.form-msg.ok { border-left-color: var(--green); }
.form-msg.fail { border-left-color: #B3261E; }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: #DCE6F6; font-size: 15px; border-top: 1px solid var(--navy); }
.foot-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px 48px; padding-top: 40px; padding-bottom: 40px; }
.foot img { width: 120px; margin-bottom: 10px; }
.foot p { margin: 0 0 6px; }
.foot .slogan { color: var(--ijs); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px 24px; }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { text-decoration: underline; color: #fff; }

/* ---------- not found ---------- */
.nf { padding: 80px 0; }
.nf section + section { margin-top: 40px; }

@media (max-width: 820px) {
  .hero-in { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 40px; gap: 28px; }
  .hero-logo { width: 220px; justify-self: start; grid-row: 1; }
  .foot-in { grid-template-columns: 1fr; }
  .menu { order: 3; flex-basis: 100%; }
  .menu ul { gap: 2px 16px; }
}
@media (max-width: 520px) {
  body { font-size: 15.5px; }
  .top-act { gap: 12px; }
  .brand img { width: 112px; }
  .sec { padding: 40px 0; }
  .head-in { padding-top: 32px; padding-bottom: 28px; }
  .head-ble, .split { grid-template-columns: 1fr; }
  .head-ble img, .split img { width: 96px; grid-row: 1; }
  .cmp th, .cmp td { padding: 8px 6px; font-size: 13px; }
  .cmp td { width: auto; }
  .cmp thead th { font-size: 12px; padding-left: 4px; padding-right: 4px; }
  .cmp tbody th { padding-left: 10px; }
  .facts { grid-template-columns: 1fr; gap: 2px; }
  .facts dd { margin-bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
@media print { .top, .foot, .skip, .actions { display: none; } body { background: #fff; } }
