/* aiagentmaken.be: page CSS on top of the taste-skill kit in /media/kit (variant C, chosen by Kenzo on 2026-11-23).
   Built from the design work in ~/hexelos-share/projects/emd-sites/werk/aiagentmaken-taste. */
/* Page CSS inside the two visuals the kit lacks: the agent demo (hero) and the savings calculator.
   Only kit tokens; one radius family; nothing outside these two components. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.ad-ic {
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* agent demo: fills its frame; the sheet keeps one height in every state */
.ad {
  --ad-card: color-mix(in oklab, var(--bg) 35%, #fff);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  height: 100%;
  padding: var(--s-6);
  background: var(--ad-card);
  color: var(--ink);
  font: 400 15px/1.45 var(--font-text);
  text-align: left;
}
.ad__kicker {
  margin: 0;
  font: 500 13px/1.3 var(--font-text);
  color: var(--accent);
}
.ad__title {
  margin: 4px 0 0;
  font: 500 20px/1.3 var(--font-text);
  letter-spacing: -0.01em;
}
.ad__tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border-radius: var(--r-md);
  background: var(--bg);
}
.ad__tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 8px;
  border: 0;
  border-radius: calc(var(--r-md) - 4px);
  background: transparent;
  color: var(--muted);
  font: 500 13px/1 var(--font-text);
  cursor: pointer;
  transition:
    background-color 0.3s var(--ease),
    color 0.3s var(--ease);
}
.ad__tab:hover {
  color: var(--ink);
}
.ad__tab[aria-pressed="true"] {
  background: var(--action);
  color: var(--action-ink);
}
.ad__queue {
  display: flex;
  justify-content: space-between;
  gap: var(--s-4);
  margin-bottom: -8px;
}
.ad__label {
  margin: 0;
  font: 500 13px/1.3 var(--font-text);
  color: var(--muted);
}
.ad__count {
  margin: 0;
  font: 400 13px/1.3 var(--font-text);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.ad__bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ad__bar li {
  height: 4px;
  border-radius: 2px;
  background: var(--line-strong);
  transition: background-color 0.3s var(--ease);
}
.ad__bar li:is([data-s="done"], [data-s="yes"], [data-s="no"]) {
  background: var(--accent);
}
.ad__bar li[data-s="busy"] {
  background: color-mix(in oklab, var(--accent) 45%, transparent);
}
.ad__bar li[data-s="doubt"] {
  background: var(--ink);
}
.ad__sheet {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: var(--s-4);
  border-radius: var(--r-md);
  background: var(--bg);
}
.ad__sheet.is-new {
  animation: ad-in 0.5s var(--ease) both;
}
@keyframes ad-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
.ad__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
}
.ad__from {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  font-size: 13px;
  color: var(--muted);
}
.ad__from span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ad__pill {
  flex: none;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--ad-card);
  color: var(--muted);
  font: 500 13px/1.2 var(--font-text);
}
.ad__pill[data-s="doubt"] {
  background: var(--action);
  color: var(--action-ink);
}
.ad__item {
  margin: 0;
  font: 500 18px/1.35 var(--font-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ad__did {
  display: grid;
  gap: 4px;
  padding-top: var(--s-3);
  border-top: 1px solid var(--line);
}
.ad__cell {
  display: grid;
  height: 44px;
}
.ad__cell > * {
  grid-area: 1 / 1;
  margin: 0;
  transition: opacity 0.3s var(--ease);
}
.ad__skel {
  display: grid;
  align-content: center;
  gap: 8px;
}
.ad__skel i {
  display: block;
  height: 8px;
  width: 80%;
  border-radius: 4px;
  background: var(--surface);
}
.ad__skel i + i {
  width: 50%;
}
.ad__result {
  font-size: 15px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ad__result.is-doubt {
  color: var(--accent);
  font-weight: 500;
}
.is-off {
  opacity: 0;
  visibility: hidden;
}
.ad__choice {
  display: flex;
  align-items: center;
  min-height: 40px;
}
.ad__ask {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  width: 100%;
  color: var(--accent);
}
.ad__ask-l {
  margin-right: auto;
  font-size: 13px;
  color: var(--muted);
}
.ad__btn {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--action);
  border-radius: var(--r-btn);
  background: var(--action);
  color: var(--action-ink);
  font: 500 14px/1 var(--font-text);
  cursor: pointer;
  transition: transform 0.2s var(--ease);
}
.ad__btn:active {
  transform: scale(0.98);
}
.ad__btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.ad__done {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.ad__done.is-on {
  opacity: 1;
}
.ad__done .ad-ic {
  color: var(--accent);
}
.ad__list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ad__row {
  display: flex;
  justify-content: space-between;
  gap: var(--s-4);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.ad__row-t {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ad__row-s {
  flex: none;
  color: var(--muted);
  font-size: 13px;
}
.ad__row.is-cur .ad__row-t {
  font-weight: 500;
}
.ad__row[data-s="doubt"] .ad__row-s {
  color: var(--accent);
  font-weight: 500;
}
.ad.ui {
  font-size: 15px;
}
.ad__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  margin-top: auto;
  font-size: 14px;
  color: var(--muted);
}
.ad__foot p {
  margin: 0;
}
.ad__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 4px;
}
.ad--wide {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-rows: auto auto auto auto auto 1fr auto;
  column-gap: var(--s-7);
  row-gap: var(--s-4);
  width: 100%;
}
.ad--wide > * {
  grid-column: 1 / -1;
}
.demo-section .ad__head {
  display: none;
}
.ad--wide > .ad__sheet {
  grid-column: 1;
  grid-row: 5;
}
.ad--wide > .ad__list {
  grid-column: 2;
  grid-row: 5;
  align-self: stretch;
}
.ad--wide > .ad__foot {
  grid-row: 7;
}
@media (max-width: 1023px) {
  .ad--wide {
    display: flex;
  }
  .ad--wide .ad__list {
    display: none;
  }
}
/* the hero's compact demo (variant C): departments down the left, the open message in the middle,
   the queue on the right, so the whole demo shows in the first screen */
.ad--hero {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) minmax(0, 0.85fr);
  grid-template-rows: auto auto auto;
  column-gap: var(--s-6);
  row-gap: var(--s-4);
  padding: var(--s-5) var(--s-6);
  height: auto;
}
.ad--hero > .ad__head {
  grid-column: 1 / 3;
  grid-row: 1;
  display: flex;
  align-items: baseline;
  gap: var(--s-3);
}
.ad--hero .ad__title {
  margin: 0;
  font-size: 18px;
}
.ad--hero > .ad__queue {
  grid-column: 3;
  grid-row: 1;
  align-self: end;
  margin: 0;
}
.ad--hero > .ad__tabs {
  grid-column: 1;
  grid-row: 2 / 4;
  grid-template-columns: 1fr;
  align-content: start;
}
.ad--hero .ad__tab {
  justify-content: flex-start;
  padding: 0 12px;
}
.ad--hero > .ad__bar {
  grid-column: 2 / 4;
  grid-row: 2;
  align-self: center;
}
.ad--hero > .ad__sheet {
  grid-column: 2;
  grid-row: 3;
}
.ad--hero > .ad__list {
  grid-column: 3;
  grid-row: 3;
  align-self: start;
}
.ad--hero > .ad__foot {
  display: none;
}
.ad--hero .ad__row {
  padding: 9px 0;
}
@media (max-width: 639px) {
  .ad {
    padding: var(--s-4);
    gap: var(--s-3);
  }
  .ad__tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ad__list,
  .ad__head {
    display: none;
  }
  .ad__ask-l {
    display: none;
  }
}

/* savings calculator: the controls and the result card; the card swaps its view in place, so its height holds */
.cx-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-2);
  margin-bottom: var(--s-6);
}
.cx-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--muted);
  font: 500 15px/1 var(--font-text);
  cursor: pointer;
  transition:
    background-color 0.3s var(--ease),
    color 0.3s var(--ease);
}
.cx-tab:hover {
  color: var(--ink);
}
.cx-tab[aria-pressed="true"] {
  background: var(--action);
  border-color: var(--action);
  color: var(--action-ink);
}
.cx-field {
  display: grid;
  gap: var(--s-2);
  margin-bottom: var(--s-5);
  font: 500 16px/1.4 var(--font-text);
}
.cx-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s-4);
}
.cx-row b {
  font: 500 20px/1 var(--font-text);
  font-variant-numeric: tabular-nums;
}
.cx-field input[type="range"] {
  width: 100%;
  height: 44px;
  margin: 0;
  accent-color: var(--accent);
}
.cx-money {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  height: var(--btn-h);
  padding: 0 var(--s-3);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--bg);
  color: var(--muted);
}
.cx-money input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  background: none;
  color: var(--ink);
  font: 400 16px/1 var(--font-text);
  font-variant-numeric: tabular-nums;
  outline: none;
}
.cx-money:focus-within {
  border-color: var(--accent);
}
.cx-help {
  margin: 0;
  font: 400 14px/1.5 var(--font-text);
  color: var(--ink);
}
.cx-help .is-error {
  color: var(--error, #b42318);
}
.cx-card {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: var(--s-6);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--cx-card, color-mix(in oklab, var(--bg) 35%, #fff));
  min-height: 100%;
}
.ground-inverse {
  --cx-card: var(--surface);
}
.cx-label {
  margin: 0;
  font: 500 13px/1.3 var(--font-text);
  color: var(--muted);
}
.cx-big {
  margin: 0;
  font: var(--display-weight) var(--t-stat, 38px)/1.1 var(--font-display);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.cx-sub {
  margin: 0;
  font-size: 16px;
  color: var(--ink);
}
.cx-bars {
  display: grid;
  gap: var(--s-4);
  margin-top: var(--s-3);
}
.cx-bar p {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2px var(--s-4);
  margin: 0 0 6px;
  font-size: 14px;
  color: var(--ink);
}
.cx-bar b {
  font: 500 16px/1.3 var(--font-text);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.cx-bar b.is-accent {
  color: var(--accent);
}
.cx-track {
  position: relative;
  height: 8px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--surface);
}
.cx-track i {
  position: absolute;
  inset: 0;
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.cx-range {
  background: color-mix(in oklab, var(--accent) 35%, transparent);
}
.cx-fill {
  background: var(--accent);
}
.cx-fill.is-strong {
  background: var(--ink);
}
.cx-fine {
  margin: 0;
  font: 400 14px/1.5 var(--font-text);
  color: var(--ink);
}
.cx-dl {
  display: grid;
  margin: 0;
}
.cx-dl div {
  display: flex;
  justify-content: space-between;
  gap: var(--s-4);
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.cx-dl dt {
  color: var(--muted);
}
.cx-dl dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.cx-toggle {
  align-self: flex-start;
  margin-top: auto;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  font: 500 15px/1 var(--font-text);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 4px;
  cursor: pointer;
}
.cx-toggle:hover {
  text-decoration-color: var(--accent);
}

/* ---------- shared page rules ---------- */
.nav__logo,
.closing .nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand-logo {
  flex: none;
}
.rows__plain {
  font-weight: 400;
}
.cx-intro {
  margin-bottom: var(--s-6);
}
#aanbod .panel {
  --ground-bg: var(--surface);
  --p-h: 300px;
}
.frame--split {
  --ground-bg: var(--surface);
}
#wat-is .frame--split {
  --ratio: 0px;
  min-height: 640px;
}
#vragen-vooraf .frame--split {
  --ratio: 0px;
  min-height: 420px;
}
.hero .hero-text .hero__lead {
  color: var(--ink);
}
.proposal-frame {
  --ratio: 0px;
  min-height: 300px;
}
.hero-phone {
  display: none;
}
@media (max-width: 1023px) {
  .hero-phone {
    display: block;
    width: 100%;
    --ratio: 0px;
    min-height: 150px;
    margin-top: var(--s-5);
  }
}
.choice-frame {
  --ratio: 0px;
  min-height: 420px;
}
.meet-frame {
  --ratio: 0px;
  min-height: 240px;
}
.peek-frame {
  min-height: 600px;
}
.peek-more {
  margin-top: var(--s-6);
}
.demo-frame {
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: color-mix(in oklab, var(--bg) 35%, #fff);
}
.demo-frame .ad {
  width: 100%;
}
@media (min-width: 1024px) {
  .phone-demo {
    display: none;
  }
}
@media (max-width: 1023px) {
  .hero__media.hero-demo,
  .hero__window.hero-demo {
    display: none;
  }
}
@media (max-width: 639px) {
  #aanbod .panel {
    --p-h: 150px;
  }
  #werkwijze .mo-pc__visual {
    display: none;
  }
  #wat-is .frame--split,
  #vragen-vooraf .frame--split {
    min-height: 360px;
  }
  .choice-frame,
  .proposal-frame {
    display: none;
  }
  .peek-frame {
    min-height: 300px;
  }
}
@media (max-width: 400px) {
  .closing .nav__logo {
    font-size: 26px;
  }
  .closing .btn--xl {
    white-space: normal;
    font-size: 18px;
  }
}
/* ---------- variant C ---------- */
.hero--centred .hero__window {
  background: color-mix(in oklab, var(--bg) 35%, #fff);
  border: 1px solid var(--line);
  flex: 0 0 auto;
  min-height: 0;
  -webkit-mask-image: none;
  mask-image: none;
}
.hero--centred .hero__c {
  gap: var(--s-3);
}
/* Kenzo's feedback: sections as tall as their content, the same space above and below (the hero and the pinned steps keep their screens) */
:root {
  --sec-pad: 120px;
}
@media (max-width: 1023px) {
  :root {
    --sec-pad: 88px;
  }
}
@media (max-width: 639px) {
  :root {
    --sec-pad: 64px;
  }
}
html main > section.section:not(.hero, [data-moment="pinned-chapters"]) {
  height: auto;
  min-height: 0;
  padding-block: var(--sec-pad);
}
html main > section.section.g2 > .wrap {
  grid-template-rows: auto auto;
  row-gap: var(--sec-pad);
}
/* the four agents: titles, lines and panels on one line across the row */
#aanbod .grid {
  grid-template-rows: auto auto auto;
  row-gap: 0;
}
#aanbod .card {
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
  row-gap: var(--s-2);
  align-content: start;
}
#aanbod .card > .panel {
  margin-top: var(--s-5);
}
/* what an agent is: the diagram as tall as the text beside it */
#wat-is .grid {
  align-items: stretch;
}
#wat-is .frame--split {
  min-height: 360px;
  height: 100%;
}
/* the build steps: each step's screen centred in the frame */
#werkwijze .mo-pc__visuals .mo-pc__visual {
  display: grid;
  place-items: center;
  margin: 0;
  padding: var(--s-6);
}
#werkwijze .mo-pc__visual > .ui {
  width: min(460px, 100%);
}
/* the pinned steps start where every other section starts and end on their own content, no empty screen around them */
html main #werkwijze.is-live > .mo-pc__grid {
  height: auto;
  padding-top: calc(var(--nav) + 48px);
  padding-bottom: 48px;
  align-content: start;
}
/* the close and the links as one block, the same space above as every section */
html footer.closing {
  height: auto;
  min-height: 0;
  padding-block: var(--sec-pad) 48px;
}
html footer.closing > .wrap {
  display: flex;
  flex-direction: column;
  row-gap: 96px;
  height: auto;
}
@media (min-width: 1024px) {
  :root {
    --ly-scale: 0.7;
  }
  .hero--centred h1 {
    max-width: 30ch;
  }
}
@media (max-width: 639px) {
  :root {
    --ly-scale: 0.85;
  }
}
/* Kenzo: "Zelf maken of laten maken" as two equal cards */
.compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-5) var(--gut, 24px);
}
.compare__card {
  display: grid;
  align-content: start;
  gap: var(--s-4);
  padding: var(--s-6);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.compare__card--build {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.compare__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}
.compare__list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: var(--s-3);
  align-items: start;
  padding-block: var(--s-3);
  border-top: 1px solid color-mix(in oklab, currentColor 14%, transparent);
}
.compare__ico {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.compare__note {
  grid-column: 1 / -1;
  margin: 0;
}
@media (max-width: 767px) {
  .compare {
    grid-template-columns: 1fr;
  }
}
.flow .ui-check.is-done .ui-check__label::after {
  display: none;
}
/* "Wat de agent oplevert" as one request, step by step */
.flow__steps {
  list-style: none;
  margin: var(--s-7) 0 0;
  padding: 0;
  display: grid;
  gap: var(--s-5);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: auto auto auto 1fr;
}
.flow__step {
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid;
  row-gap: var(--s-2);
}
.flow__step > p:not(.t-label) {
  margin: 0;
}
.flow__frame {
  margin-top: var(--s-4);
  min-height: 300px;
}
.flow__frame .stage {
  display: grid;
  place-items: center;
  padding: var(--s-4);
  height: 100%;
}
.flow__frame .ui {
  width: 100%;
}
/* the form's trap for bots: off screen, out of the tab order */
.form__hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
/* privacy and 404: one readable column under the nav */
html main > section.legal {
  padding-top: calc(var(--nav, 72px) + var(--sec-pad));
}
.legal__body {
  max-width: 720px;
}
.legal__body h1 {
  font-size: clamp(36px, 4vw, 56px);
}
.legal__body h2 {
  font-size: 22px;
  margin-top: var(--s-4);
}
.flow-doc {
  padding: var(--s-4);
  display: grid;
  gap: var(--s-2);
}
.flow-doc__label {
  font-size: 12px;
  color: var(--muted);
}
.flow-doc__title {
  font-weight: 600;
}
.flow-doc__row {
  display: flex;
  justify-content: space-between;
  gap: var(--s-3);
  font-size: 14px;
  border-top: 1px solid var(--line);
  padding-top: var(--s-2);
}
@media (max-width: 1023px) {
  .flow__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }
  .flow__step {
    grid-row: auto;
    grid-template-rows: none;
  }
}
@media (max-width: 639px) {
  .flow__steps {
    grid-template-columns: 1fr;
  }
  .flow__frame {
    min-height: 200px;
  }
}
