/* SIRP website — v8.4. Template "sirp". Self-hosted Geist, no external requests. */

@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/static/brand/geist.woff2") format("woff2-variations"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/static/brand/geist-mono.woff2") format("woff2-variations"); }

:root {
  --ink: #111113;
  --ink-2: #2a2b2f;
  --text: #111113;
  --text-2: #5f6168;
  --muted: #8a8c93;
  --faint: #a5a6ad;
  --line: #ececef;
  --line-2: #e3e3e6;
  --line-3: #c9c9ce;
  --ground: #fbfbfa;
  --surface: #ffffff;
  --subtle: #fafafa;
  --gray: #f4f4f5;
  --acc: #5b5bd6;
  --acc-ink: #4b4bc4;
  /* v8.5 — tints follow the brand colour from SIRP's Branding */
  --acc-soft: color-mix(in srgb, var(--acc) 9%, #fff);
  --acc-line: color-mix(in srgb, var(--acc) 34%, #fff);
  --acc-bar: color-mix(in srgb, var(--acc) 22%, #fff);
  --ok: #2f9e5b;
  --ok-soft: #edf8f1;
  --ok-line: #b9dec7;
  --warn: #b06d0c;
  --warn-soft: #fdf5e8;
  --warn-line: #f0d3a4;
  --bad: #c03a3a;
  --bad-soft: #fff0f0;
  --bad-line: #efc2c2;
  --dark: #0e0e10;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --shadow-lg: 0 40px 80px -20px rgba(17, 17, 19, 0.2), 0 16px 32px -16px rgba(17, 17, 19, 0.12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font: 15px/1.55 Geist, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; padding: 8px 12px; border-radius: 8px; background: var(--ink); color: #fff; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.grow { flex: 1 1 auto; min-width: 0; }
.mono { font-family: var(--mono); }
.dots { background-image: radial-gradient(#dcdce0 1px, transparent 1px); background-size: 16px 16px; }
.dots--dark { background-image: radial-gradient(#26272c 1px, transparent 1px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 18px; border-radius: 8px; border: 1px solid transparent;
  font-size: 14px; font-weight: 500; line-height: 1; cursor: pointer;
  transition: background-color .15s, border-color .15s, transform .15s;
}
.btn--sm { height: 36px; padding: 0 14px; font-size: 13px; }
.btn--ink { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 1px 2px rgba(17,17,19,.2), inset 0 1px 0 rgba(255,255,255,.12); }
.btn--ink:hover { background: var(--ink-2); transform: translateY(-1px); }
.btn--line { background: #fff; border-color: var(--line-2); color: var(--text); }
.btn--line:hover { border-color: var(--line-3); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(17,17,19,.06); background: rgba(251,251,250,.82); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); }
.nav__row { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -0.02em; }
.brand--sm { font-size: 15px; }
.brand__logo { width: 28px; height: 28px; border-radius: 8px; object-fit: contain; }
.brand--sm .brand__logo { width: 24px; height: 24px; border-radius: 7px; }
.brand__mark { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--ink); color: #fff; }
.brand--sm .brand__logo { width: 28px; height: 28px; border-radius: 8px; object-fit: contain; }
.brand--sm .brand__logo { width: 24px; height: 24px; border-radius: 7px; }
.brand__mark { width: 24px; height: 24px; border-radius: 7px; }
.nav__links { display: flex; gap: 26px; }
.nav__links a, .nav__login { font-size: 14px; color: var(--text-2); }
.nav__links a:hover, .nav__login:hover { color: var(--text); }
.nav__spacer { flex: 1; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 80px 0 72px; border-bottom: 1px solid var(--line); }
.hero__fade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(251,251,250,0) 0%, var(--ground) 90%); pointer-events: none; }
.hero__inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 4px 12px 4px 4px; text-align: left; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; font-size: 13px; color: var(--text-2); }
.badge__tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 500; }
.hero__title { margin-top: 26px; max-width: 940px; font-size: clamp(40px, 6.2vw, 74px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 600; }
.hero__title span { color: var(--muted); }
.hero__intro { margin-top: 22px; max-width: 640px; font-size: clamp(16px, 1.6vw, 19px); color: var(--text-2); line-height: 1.6; }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 44px; }
.tab { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 128px; padding: 10px 14px 14px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: var(--text-2); font-size: 14px; font-weight: 500; text-align: left; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.tab:hover { color: var(--text); background: rgba(255,255,255,.7); }
.tab.is-on { background: #fff; border-color: var(--line-2); color: var(--text); box-shadow: 0 1px 2px rgba(17,17,19,.06); }
.tab__label { display: flex; align-items: center; gap: 7px; }
.tab__sector { font-size: 12px; font-weight: 400; color: var(--muted); }
.tab__bar { position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; border-radius: 99px; overflow: hidden; }
.tab.is-on .tab__bar { background: var(--line); }
.tab__bar span { display: block; width: 0; height: 100%; border-radius: 99px; background: var(--ink); }

.deck { position: relative; isolation: isolate; width: 100%; max-width: 1100px; margin-top: 52px; text-align: left; }
.deck__ghost { position: absolute; z-index: -1; height: 120px; border: 1px solid var(--line-2); border-radius: 14px; background: #fff; }
.deck__ghost--2 { left: 7%; right: 7%; top: -30px; opacity: .5; }
.deck__ghost--1 { left: 3.5%; right: 3.5%; top: -15px; opacity: .8; box-shadow: 0 -6px 18px -10px rgba(17,17,19,.12); }
.deck__frame { padding: 8px; border: 1px solid var(--line-2); border-radius: 14px; background: rgba(255,255,255,.75); box-shadow: var(--shadow-lg); }

/* ---------- app frame (SIRP foundation look) ---------- */
.app { display: flex; min-height: 500px; overflow: hidden; border: 1px solid #e2e3e6; border-radius: 9px; background: var(--gray); font-size: 13px; }
.app__rail { flex: none; display: flex; flex-direction: column; align-items: center; gap: 4px; width: 56px; padding: 12px 0; border-right: 1px solid #e2e3e6; background: var(--subtle); }
.app__logo { display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 10px; border-radius: 8px; background: var(--ink); color: #fff; }
.app__logo--ink { margin: 0; width: 28px; height: 28px; border-radius: 7px; }
.app__rail-item { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; color: #92949c; transition: background-color .2s, color .2s; }
.app__rail-item.is-on { background: #fff; color: var(--acc-ink); box-shadow: 0 0 0 1px #e2e3e6, 0 1px 2px rgba(17,17,19,.06); }
.app__rail-spacer { flex: 1; }
.app__avatar { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 99px; background: var(--acc-soft); color: var(--acc-ink); font-size: 10px; font-weight: 600; }
.app__main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.scr { flex: 1; display: flex; flex-direction: column; }
.scr[hidden] { display: none; }
.scr.is-on .app__body { animation: swap .45s cubic-bezier(.2,.7,.2,1) both; }
.app__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-height: 52px; padding: 0 14px; border-bottom: 1px solid #e2e3e6; background: #fff; }
.app__head strong { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.app__icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; background: var(--acc-soft); color: var(--acc-ink); }
.app__action { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 500; }
.app__body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 14px; }
.seg { display: inline-flex; gap: 2px; padding: 2px; border: 1px solid var(--line); border-radius: 8px; background: var(--gray); font-size: 12px; }
.seg > span { padding: 3px 10px; border-radius: 6px; color: #6f7178; }
.seg > span.is-on { background: #fff; color: #1f2023; box-shadow: 0 1px 2px rgba(17,17,19,.08); }
.search { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 10px; border: 1px solid #e2e3e6; border-radius: 8px; background: var(--subtle); font-size: 12px; color: #92949c; }
kbd { padding: 1px 5px; border: 1px solid #e2e3e6; border-radius: 4px; font: 400 10px var(--mono); }

.pill { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--subtle); color: #6f7178; font-size: 11px; font-weight: 500; white-space: nowrap; }
.pill i { width: 5px; height: 5px; border-radius: 99px; background: currentColor; }
.pill--ok { border-color: var(--ok-line); background: var(--ok-soft); color: var(--ok); }
.pill--warn { border-color: var(--warn-line); background: var(--warn-soft); color: var(--warn); }
.pill--bad { border-color: var(--bad-line); background: var(--bad-soft); color: var(--bad); }
.pill .pulse { width: 6px; height: 6px; }
.pulse { display: inline-block; width: 7px; height: 7px; border-radius: 99px; background: var(--ok); animation: pulse 2s ease-out infinite; }

.box { display: flex; flex-direction: column; gap: 8px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.box__title { font-size: 13px; font-weight: 600; }
.split { flex: 1; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 12px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rows { display: flex; flex-direction: column; }
.rows .row { min-height: 36px; border-bottom: 1px solid #f1f1f3; }
.muted-text { color: var(--text-2); font-size: 13px; }
.acc-text { color: var(--acc-ink); font-size: 12px; font-weight: 500; }
.ok { color: var(--ok); }
.down { color: var(--bad); }
.up { color: var(--ok); }
.warn { color: var(--warn); }
.acc { color: var(--acc-ink); }
.muted { color: var(--muted); }

.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.kpi { display: flex; flex-direction: column; gap: 4px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.kpi span { font-size: 12px; color: var(--muted); }
.kpi strong { font-size: 22px; font-weight: 600; letter-spacing: -0.03em; }
.kpi em { font-style: normal; font-size: 12px; color: var(--muted); }
.kpi em.up { color: var(--ok); }
.kpi em.down { color: var(--bad); }
.bars { flex: 1; display: flex; align-items: flex-end; gap: 10px; min-height: 180px; padding-top: 14px; }
.bars--sm { min-height: 110px; gap: 8px; }
.bar { flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px; background: var(--acc-bar); transform-origin: bottom; }
.bar.is-now { background: var(--acc); }
.bar.is-bad { background: #f6cccc; }
.scr.is-on .bar { animation: grow 1.1s cubic-bezier(.2,.7,.2,1) both; }
.scr.is-on .bar:nth-child(2) { animation-delay: .05s; } .scr.is-on .bar:nth-child(3) { animation-delay: .1s; } .scr.is-on .bar:nth-child(4) { animation-delay: .15s; }
.scr.is-on .bar:nth-child(5) { animation-delay: .2s; } .scr.is-on .bar:nth-child(6) { animation-delay: .25s; } .scr.is-on .bar:nth-child(7) { animation-delay: .3s; }
.scr.is-on .bar:nth-child(8) { animation-delay: .35s; } .scr.is-on .bar:nth-child(9) { animation-delay: .4s; } .scr.is-on .bar:nth-child(10) { animation-delay: .45s; }

/* kassa */
.scan { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 12px; border: 1px solid var(--acc-line); border-radius: 8px; background: var(--acc-soft); box-shadow: 0 0 0 3px var(--acc-soft); color: var(--acc-ink); font-size: 14px; font-weight: 500; }
.scan .mono { color: var(--text); }
.scan--sm { height: 38px; box-shadow: none; background: #fff; font-size: 13px; }
.type { display: inline-block; max-width: 240px; overflow: hidden; white-space: nowrap; vertical-align: bottom; animation: type 5s steps(22) infinite both; }
.caret { display: inline-block; width: 1px; height: 14px; margin-left: 1px; background: var(--acc); vertical-align: -2px; animation: caret 1s step-end infinite; }
.lines { display: flex; flex-direction: column; flex: 1; }
.line { display: flex; align-items: center; gap: 10px; min-height: 40px; border-bottom: 1px solid #f1f1f3; font-size: 13px; }
.line b { display: block; font-weight: 500; }
.line .mono { white-space: nowrap; }
.line small { display: block; font: 400 11px var(--mono); color: var(--faint); }
.qty { display: grid; place-items: center; flex: none; min-width: 30px; height: 26px; border-radius: 7px; background: var(--gray); font: 500 11px var(--mono); color: #6f7178; }
.line-in { animation: linein 6s cubic-bezier(.2,.7,.2,1) infinite both; overflow: hidden; }
.customer { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--subtle); font-size: 13px; }
.av { display: inline-grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 99px; background: var(--acc); color: #fff; font-size: 10px; font-weight: 600; }
.av.ok { background: var(--ok); } .av.warn { background: #d98a1c; } .av.muted { background: #7a7c84; } .av.empty { background: #c9c9ce; }
.totals { font-size: 13px; }
.totals .row { color: var(--text-2); }
.totals .row .mono { color: var(--text); }
.row--total { padding-top: 8px; border-top: 1px solid #f1f1f3; color: var(--text) !important; }
.row--total strong { font: 600 24px var(--mono); letter-spacing: -0.02em; }
.paygrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pay { display: flex; align-items: center; justify-content: center; height: 48px; border: 1px solid #e2e3e6; border-radius: 8px; background: #fff; font-weight: 500; }
.pay--ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.pay--big { height: 46px; border-radius: 9px; }
.note { flex-direction: row; align-items: center; font-size: 12px; color: var(--text-2); }
.tap { animation: tap 6s ease infinite; animation-delay: 1.2s; }

/* planning */
.roster { flex: 1; overflow: hidden; }
.roster__head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 12px; color: #6f7178; }
.roster__head strong { font-size: 13px; color: var(--text); }
.legend { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: #6f7178; }
.legend i { width: 8px; height: 8px; border-radius: 3px; }
.legend .k { background: var(--acc-line); } .legend .v { background: var(--ok-line); } .legend .w { background: var(--warn-line); } .legend .free { background: var(--line); }
.roster__grid { display: grid; grid-template-columns: 130px repeat(7, minmax(0, 1fr)); align-items: center; row-gap: 0; font-size: 12px; color: #6f7178; }
.roster__grid > .d { padding: 0 4px 6px; font-weight: 500; }
.roster__grid > .d.is-today { color: var(--text); }
.who { display: flex; align-items: center; gap: 8px; min-height: 40px; border-top: 1px solid #f1f1f3; color: var(--text); font-size: 13px; }
.who .av { width: 24px; height: 24px; }
.roster__grid > span:not(.d):not(.who) { min-height: 40px; border-top: 1px solid #f1f1f3; }
.sh { display: flex !important; align-items: center; justify-content: center; margin: 3px; min-height: 28px !important; border: 1px solid; border-radius: 6px; font: 500 11px var(--mono); white-space: nowrap; }
.sh.k { border-color: var(--acc-line); background: var(--acc-soft); color: var(--acc-ink); }
.sh.v { border-color: var(--ok-line); background: #f1faf4; color: #227a46; }
.sh.w { border-color: var(--warn-line); background: #fdf7ec; color: #9a5d08; }
.sh.open { border-style: dashed; border-color: #d64545; background: #fff5f5; color: var(--bad); }

/* horeca */
.legend-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.legend-row strong { font-size: 13px; }
.floor { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.tbl { display: flex; flex-direction: column; gap: 2px; height: 64px; padding: 8px 10px; border: 1px solid; border-radius: 8px; font-size: 13px; font-weight: 600; }
.tbl small { font-size: 11px; font-weight: 400; color: #6f7178; }
.tbl.round { border-radius: 999px; padding-left: 16px; }
.tbl.free { border-color: #e6e6e9; background: var(--subtle); color: #6f7178; }
.tbl.busy { border-color: var(--acc-line); background: var(--acc-soft); color: var(--acc-ink); }
.tbl.bill { border-color: var(--warn-line); background: #fdf7ec; color: #9a5d08; }
.ticket { gap: 6px; font-size: 13px; color: #3a3b40; }
.ticket .row { font-size: 12px; }
.ticket.is-warn { border-color: var(--warn-line); }
.ticket.is-new { border-color: var(--acc-line); }
.book { animation: book 6s cubic-bezier(.3,1.3,.5,1) infinite both; }
.book-once { animation: book-in .7s cubic-bezier(.3,1.3,.5,1) .5s both; }

/* toetsen */
.track { height: 6px; margin: 4px 0; border-radius: 99px; background: #f1f1f3; overflow: hidden; }
.track .growx { display: block; width: var(--w); height: 100%; border-radius: 99px; background: var(--acc); transform-origin: left; }
.scr.is-on .growx { animation: growx 1.4s cubic-bezier(.2,.7,.2,1) both; }
.student { font-size: 13px; }
.student b { width: 36px; text-align: right; font-size: 13px; }
.qs { display: flex; gap: 3px; }
.qs i { width: 14px; height: 14px; border-radius: 3px; background: var(--line); }
.qs i.g { background: #c6ead3; } .qs i.r { background: #f6cccc; }

/* agenda */
.agenda__cols { display: grid; grid-template-columns: 52px repeat(3, minmax(0, 1fr)); font-size: 12px; }
.agenda__cols b { padding: 0 6px 8px; }
.agenda__grid { position: relative; display: grid; grid-template-columns: 52px repeat(3, minmax(0, 1fr)); height: 300px; border-top: 1px solid var(--line); }
.agenda__hours { display: flex; flex-direction: column; }
.agenda__hours span { height: 50px; padding-top: 4px; font: 400 11px var(--mono); color: var(--faint); }
.agenda__col { position: relative; border-left: 1px solid #f1f1f3; background-image: linear-gradient(#f4f4f5 1px, transparent 1px); background-size: 100% 50px; }
.appt { position: absolute; left: 4px; right: 4px; display: block; padding: 6px 8px; overflow: hidden; border: 1px solid; border-radius: 6px; font-size: 11px; color: #5f6168; }
.appt b { display: block; font-size: 12px; }
.appt.a { border-color: var(--acc-line); background: var(--acc-soft); } .appt.a b { color: var(--acc-ink); }
.appt.g { border-color: var(--ok-line); background: #f1faf4; } .appt.g b { color: #227a46; }
.appt.o { border-color: var(--warn-line); background: #fdf7ec; } .appt.o b { color: #9a5d08; }
.agenda__now { position: absolute; left: 52px; right: 0; top: 128px; height: 2px; background: #d64545; animation: blink 2s ease-in-out infinite; }
.booking { border-color: var(--acc-line); background: var(--acc-soft); gap: 6px; }
.booking b { font-size: 14px; }

/* toast */
.toast { position: absolute; right: -14px; bottom: 26px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 8px; border-radius: 8px; background: #1f2023; color: #fff; font-size: 13px; box-shadow: 0 14px 34px rgba(17,17,19,.28); opacity: 0; pointer-events: none; }
.scr.is-on .toast { animation: toast 6.5s cubic-bezier(.2,.7,.2,1) both; }
.toast__icon { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 99px; background: rgba(255,255,255,.1); color: #5fd394; }

/* ---------- sections ---------- */
.section { padding: 112px 0 0; }
.section--tight { padding-top: 48px; padding-bottom: 96px; }
.section--dark { margin-top: 112px; padding: 112px 0; background: var(--dark); color: #f1f1f3; }
.head { display: flex; flex-direction: column; gap: 14px; max-width: 680px; margin-bottom: 48px; }
.head--left { margin-bottom: 0; }
.head h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.08; letter-spacing: -0.035em; font-weight: 600; }
.head p { font-size: 17px; color: var(--text-2); }
.section--dark .head p { color: #a5a6ad; }
.eyebrow { font: 500 13px var(--mono); letter-spacing: 0.02em; color: var(--acc); }
.section--dark .eyebrow { color: color-mix(in srgb, var(--acc) 62%, #fff); }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; gap: 14px; padding: 24px; border: 1px solid #e6e6e9; border-radius: 12px; background: #fff; }
.card h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 6px; }
.card p { font-size: 14px; color: var(--text-2); }
.card--pillar { gap: 10px; }
.card--pillar strong { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.card--pillar > span:not(.mono-muted) { font-size: 14px; color: var(--text-2); }
.card--pillar .btn { align-self: flex-start; margin-top: 4px; }
.mono-muted { font: 500 13px var(--mono); color: var(--faint); }
.icon-tile { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #e6e6e9; border-radius: 9px; background: var(--subtle); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.chip { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border: 1px solid #e6e6e9; border-radius: 999px; background: var(--subtle); font-size: 12px; color: #3a3b40; }

/* sirpos */
.split-pos { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: 56px; align-items: center; }
.ticks { display: flex; flex-direction: column; gap: 12px; margin: 10px 0 0; padding: 0; list-style: none; color: #3a3b40; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.tick { display: grid; place-items: center; flex: none; width: 22px; height: 22px; margin-top: 1px; border: 1px solid var(--line-2); border-radius: 6px; background: #fff; color: var(--ok); }
.pos-wrap { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.source { display: flex; flex-direction: column; gap: 10px; padding: 12px; border: 1px solid #e6e6e9; border-radius: 12px; background: #fff; }
.source__head { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.source__head strong { display: block; font-size: 13px; font-weight: 600; }
.source__head small { display: block; color: var(--muted); }
.flowline { display: flex; align-items: center; gap: 12px; margin: 14px 0; padding: 0 8px; }
.flowline--light { margin: 0; padding: 0 12px; }
.flowline__label { font: 500 12px var(--mono); color: color-mix(in srgb, var(--acc) 62%, #fff); }
.flowline--light .flowline__label { color: var(--acc-ink); font-size: 11px; }
.flow { flex: 1; height: 2px; opacity: .6; background-image: linear-gradient(90deg, var(--acc) 50%, transparent 50%); background-size: 12px 2px; background-repeat: repeat-x; animation: flow 1s linear infinite; }
.channels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.chan { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 12px; border: 1px solid #e6e6e9; border-radius: 9px; background: var(--subtle); color: var(--text-2); text-align: left; cursor: pointer; transition: background-color .15s, border-color .15s; }
.chan:hover { border-color: var(--line-3); color: var(--text); }
.chan strong { display: block; font-size: 13px; font-weight: 600; }
.chan small { display: block; font-size: 11px; color: var(--muted); }
.chan.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chan.is-on small { color: rgba(255,255,255,.65); }
.device { padding: 10px; border-radius: 18px; background: var(--ink); box-shadow: 0 40px 80px -24px rgba(17,17,19,.35); animation: swap .45s cubic-bezier(.2,.7,.2,1) both; }
.device[hidden] { display: none; }
.device--web { padding: 0; overflow: hidden; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; box-shadow: 0 40px 80px -24px rgba(17,17,19,.25); }
.browser { display: flex; align-items: center; gap: 12px; height: 36px; padding: 0 12px; border-bottom: 1px solid var(--line); background: var(--subtle); font-size: 11px; color: var(--muted); }
.browser .mono { flex: 1; text-align: center; }
.browser__dots { display: flex; gap: 5px; }
.browser__dots i { width: 9px; height: 9px; border-radius: 99px; background: #e2e3e6; }
.pos { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); overflow: hidden; border-radius: 10px; background: #fff; font-size: 13px; }
.pos--web { min-height: 330px; border-radius: 0; }
.pos__left { display: flex; flex-direction: column; gap: 10px; padding: 12px; background: #f6f6f7; }
.pos__right { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-left: 1px solid var(--line); }
.pos__right--soft { gap: 10px; background: var(--subtle); }
.pos__right small { font-size: 12px; color: var(--muted); }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ptile { display: flex; flex-direction: column; justify-content: space-between; gap: 8px; min-height: 76px; padding: 10px; border: 1px solid #e6e6e9; border-radius: 9px; background: #fff; }
.ptile b { display: block; font-size: 13px; font-weight: 600; line-height: 1.25; }
.ptile .mono { font-size: 12px; color: #6f7178; }
.ptile__top { display: flex; align-items: center; justify-content: space-between; }
.ptile__top i { width: 22px; height: 4px; border-radius: 99px; }
.ptile__top small { font: 400 10px var(--mono); color: var(--faint); }
.ptile__top small.low { color: var(--bad); }
.ptile__top i.t0 { background: var(--acc); }
.ptile__top i.t1 { background: #2f9e5b; }
.ptile__top i.t2 { background: #d98a1c; }
.ptile__top i.t3 { background: var(--ink); }
.ptile--horeca .ptile__top i.t0 { background: #8a5a3c; }
.ptile--horeca .ptile__top i.t3 { background: #2f9e5b; }
.ptile__img { display: block; width: 100%; aspect-ratio: 16 / 10; border-radius: 6px; object-fit: cover; background: #f6f6f7; }
.ptile.has-img { justify-content: flex-start; gap: 6px; }
.ptile.has-img .ptile__top { position: absolute; top: 14px; right: 14px; }
.ptile.has-img .ptile__top small { padding: 1px 5px; border-radius: 4px; background: rgba(255,255,255,.92); }
.ptile { position: relative; }
.cats { display: flex; flex-wrap: wrap; gap: 6px; }
.cats span { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border: 1px solid #e6e6e9; border-radius: 7px; background: #fff; font-size: 12px; font-weight: 500; color: #3a3b40; }
.cats span.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.shop { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 14px; }
.product { display: flex; flex-direction: column; gap: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 9px; }
.product__img { display: grid; place-items: center; height: 70px; border-radius: 6px; background-color: #f6f6f7; background-image: radial-gradient(#dcdce0 1px, transparent 1px); background-size: 12px 12px; color: var(--faint); }
.product b { font-size: 13px; }
.product__img img { width: 100%; height: 100%; border-radius: 6px; object-fit: cover; }
.product__img.has-img { background: #f6f6f7; overflow: hidden; }
.product .row { flex-wrap: wrap; gap: 6px; }
.product .row .mono { white-space: nowrap; }
.pos-foot { display: flex; align-items: center; gap: 10px; align-self: flex-end; font-size: 12px; color: #6f7178; }

/* bouwstenen */
.layers { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.layer { display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 1px solid #25262a; border-radius: 12px; background: #141416; }
.layer--yours { border-color: color-mix(in srgb, var(--acc) 34%, #0e0e10); }
.layer__head { display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.layer__head strong { font-weight: 600; }
.layer__head span { font-size: 11px; color: #7f8189; }
.layer__mod { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px; border: 1px solid #25262a; border-radius: 7px; background: #1a1a1d; font-size: 13px; color: #e3e4e8; }
.layer__mod.is-muted { color: #8b8ca3; }
.layer__state { font-size: 11px; color: #7f8189; }
.dot { width: 6px; height: 6px; border-radius: 99px; background: #55565d; }
.dot--ok { background: var(--ok); } .dot--acc { background: var(--acc); }
.core { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; padding: 16px; border: 1px solid color-mix(in srgb, var(--acc) 34%, #0e0e10); border-radius: 12px; background: color-mix(in srgb, var(--acc) 6%, #0e0e10); }
.core__item { display: flex; flex-direction: column; gap: 8px; padding: 14px; border: 1px solid color-mix(in srgb, var(--acc) 22%, #0e0e10); border-radius: 9px; background: color-mix(in srgb, var(--acc) 9%, #141416); color: color-mix(in srgb, var(--acc) 55%, #fff); }
.core__item strong { font-size: 13px; font-weight: 600; color: #f1f1f3; }
.core__item span { font-size: 12px; line-height: 1.45; color: #8b8ca3; }

/* cta + forms */
.cta { padding: 112px 24px 24px; }
.cta__box { max-width: 1200px; margin: 0 auto; padding: clamp(48px, 8vw, 88px) 24px; border: 1px solid #1f2023; border-radius: 20px; background-color: var(--dark); color: #f1f1f3; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.cta__box h2 { max-width: 720px; font-size: clamp(30px, 4.4vw, 52px); line-height: 1.05; letter-spacing: -0.04em; font-weight: 600; }
.cta__box > p { max-width: 520px; color: #a5a6ad; font-size: 17px; }
.cta__note { font-size: 12px; color: #7f8189; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: 100%; max-width: 640px; margin-top: 8px; text-align: left; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 500; color: var(--text-2); }
.field--wide { grid-column: 1 / -1; }
.field > span { display: block; }
.field .opt { color: var(--faint); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; min-height: 44px; padding: 0 14px; border: 1px solid #e2e3e6; border-radius: 8px; background: #fff; color: var(--text); font-size: 14px; font-weight: 400; }
.field textarea { padding: 10px 14px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 3px var(--acc-soft); }
.field.is-error input, .field.is-error textarea { border-color: #d64545; }
.form--dark .field { color: #a5a6ad; }
.form--dark .field input, .form--dark .field select, .form--dark .field textarea { border-color: #34353b; background: #17171a; color: #f1f1f3; }
.form--dark .field input:focus, .form--dark .field select:focus, .form--dark .field textarea:focus { box-shadow: 0 0 0 3px color-mix(in srgb, var(--acc) 30%, transparent); }
.form--dark .btn--ink { background: #f1f1f3; border-color: #f1f1f3; color: var(--ink); }
.form--dark .btn--ink:hover { background: #fff; }
.form__msg { margin: 0; padding: 10px 12px; border-radius: 8px; font-size: 13px; }
.form__msg.is-ok { border: 1px solid var(--ok-line); background: var(--ok-soft); color: #227a46; }
.form__msg.is-bad { border: 1px solid var(--bad-line); background: var(--bad-soft); color: var(--bad); }
.form--dark .form__msg.is-ok { border-color: #28553a; background: #17281e; color: #66c487; }
.form--dark .form__msg.is-bad { border-color: #643333; background: #301b1b; color: #eb6a6a; }
.form-done { margin: 8px 0 0; padding: 14px 18px; border: 1px solid #28553a; border-radius: 10px; background: #17281e; color: #66c487; }
.form-done--light { border-color: var(--ok-line); background: var(--ok-soft); color: #227a46; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* page head (support, 404) */
.page-head { position: relative; padding: 72px 0 40px; border-bottom: 1px solid var(--line); }
.page-head--404 { padding: 120px 0 140px; }
.page-head__inner { position: relative; display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.page-head h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.04; letter-spacing: -0.04em; font-weight: 600; }
.page-head p { font-size: 17px; color: var(--text-2); max-width: 600px; }
.page-head .hero__ctas { justify-content: flex-start; margin-top: 12px; }
.support { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.card--form .form { max-width: none; margin: 0; }
.support__side { display: flex; flex-direction: column; gap: 16px; }

/* footer */
.footer { padding: 48px 0 40px; }
.footer__row { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.footer__links { display: flex; flex-wrap: wrap; gap: 24px; font-size: 13px; color: var(--muted); }
.footer__links a:hover { color: var(--text); }

/* ---------- motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.rise { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.d1 { animation-delay: .08s; } .d2 { animation-delay: .16s; } .d3 { animation-delay: .24s; }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@keyframes grow { from { transform: scaleY(.15); } to { transform: none; } }
@keyframes growx { from { transform: scaleX(0); } to { transform: none; } }
@keyframes swap { from { opacity: 0; transform: translateY(8px) scale(.995); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(47,158,91,.45); } 70%, 100% { box-shadow: 0 0 0 7px rgba(47,158,91,0); } }
@keyframes type { 0%, 20% { max-width: 0; } 55%, 100% { max-width: 240px; } }
@keyframes caret { 50% { opacity: 0; } }
@keyframes toast { 0%, 30% { opacity: 0; transform: translateY(14px); } 38%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes book { 0%, 30% { opacity: 0; transform: translateY(-10px); } 40%, 100% { opacity: 1; transform: none; } }
@keyframes book-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes linein { 0%, 30% { opacity: 0; transform: translateX(10px); max-height: 0; } 38%, 100% { opacity: 1; transform: none; max-height: 48px; } }
@keyframes tap { 0%, 24%, 32%, 100% { transform: none; box-shadow: none; } 28% { transform: scale(.96); box-shadow: 0 0 0 3px color-mix(in srgb, var(--acc) 35%, transparent); } }
@keyframes flow { from { background-position: 0 0; } to { background-position: 24px 0; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.pop { animation: pop 6s ease infinite both; }
@keyframes pop { 0%, 15% { transform: scale(.6); opacity: 0; } 22%, 100% { transform: none; opacity: 1; } }

.preview-note { position: fixed; left: 50%; bottom: 20px; z-index: 50; transform: translateX(-50%); padding: 10px 14px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 13px; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.preview-note[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .toast { opacity: 1; }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hide-md { display: none !important; }
  .split-pos { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roster__grid { grid-template-columns: 110px repeat(5, minmax(0, 1fr)); }
  .roster__grid > :nth-child(8n+7), .roster__grid > :nth-child(8n) { display: none !important; }
  .support { grid-template-columns: minmax(0, 1fr); }
  .nav__links { gap: 18px; }
}
@media (max-width: 760px) {
  .nav__links, .nav__login { display: none; }
  .hide-sm { display: none !important; }
  .hero { padding: 56px 0 48px; }
  .tab { min-width: 0; padding: 8px 10px 12px; }
  .tab__sector { display: none; }
  .app__rail { display: none; }
  .app { min-height: 0; }
  .deck__ghost { display: none; }
  .toast { right: 8px; }
  .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .form { grid-template-columns: minmax(0, 1fr); }
  .pos { grid-template-columns: minmax(0, 1fr); }
  .pos__right { border-left: 0; border-top: 1px solid var(--line); }
  .floor { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .roster__grid { grid-template-columns: 90px repeat(3, minmax(0, 1fr)); }
  .roster__grid > :nth-child(8n+5), .roster__grid > :nth-child(8n+6) { display: none !important; }
  .agenda__cols, .agenda__grid { grid-template-columns: 44px repeat(2, minmax(0, 1fr)); }
  .section { padding-top: 80px; }
  .section--dark { margin-top: 80px; padding: 80px 0; }
  .cta { padding: 80px 16px 16px; }
  .wrap { padding: 0 16px; }
}
