/* Interleaved page: the film is one fixed, full-screen layer behind the page
   that never moves. Film chapters are transparent windows onto it; every site
   section is opaque and scrolls over it. (Moving the film between chapters
   made the GPU rebuild ~60 layers at each boundary: 250 ms stalls.) */
#film-host { position: fixed; inset: 0; z-index: 0; display: block; contain: strict; }
.film-seg { position: relative; }
/* Each film chapter's scroll length (story share × 19 screens, 17 on phones), reserved by CSS alone. */
.film-seg[data-from="0.0"] { height: calc(max(100vh, 500px) * 5.674); }
.film-seg[data-from="0.246"] { height: calc(max(100vh, 500px) * 2.805); }
.film-seg[data-from="0.341"] { height: calc(max(100vh, 500px) * 2.995); }
.film-seg[data-from="0.446"] { height: calc(max(100vh, 500px) * 3.375); }
.film-seg[data-from="0.571"] { height: calc(max(100vh, 500px) * 2.615); }
.film-seg[data-from="0.656"] { height: calc(max(100vh, 500px) * 4.420); }
.film-seg[data-from="0.836"] { height: calc(max(100vh, 500px) * 2.520); }
.film-seg[data-from="0.916"] { height: calc(max(100vh, 500px) * 2.596); }
@media (max-width: 820px) {
  .film-seg[data-from="0.0"] { height: calc(max(100vh, 500px) * 5.182); }
  .film-seg[data-from="0.246"] { height: calc(max(100vh, 500px) * 2.615); }
  .film-seg[data-from="0.341"] { height: calc(max(100vh, 500px) * 2.785); }
  .film-seg[data-from="0.446"] { height: calc(max(100vh, 500px) * 3.125); }
  .film-seg[data-from="0.571"] { height: calc(max(100vh, 500px) * 2.445); }
  .film-seg[data-from="0.656"] { height: calc(max(100vh, 500px) * 4.060); }
  .film-seg[data-from="0.836"] { height: calc(max(100vh, 500px) * 2.360); }
  .film-seg[data-from="0.916"] { height: calc(max(100vh, 500px) * 2.428); }
}
/* The film layer (poster and opening headline included) is in the HTML as a
   declarative shadow root, so it paints before any script. */
html.film-failed #film-host { display: none; }
/* Without script (or when it failed) the headline is shown on the poster. */
html.film-failed .film-seg .film-sr {
  position: relative; width: auto; height: auto; margin: 0; padding: 120px 24px 48px;
  overflow: visible; clip: auto; white-space: normal; max-width: 960px;
  color: #252525; font: 500 clamp(32px, 5vw, 64px)/1.12 Arial, sans-serif;
}
/* Without the film (script failed; no-script: css/film-noscript.css) the chapters collapse. */
html.film-failed .film-seg { display: none; height: auto !important; }
html.film-failed .film-seg:first-child { display: block; min-height: 100svh; }
main > :not(.film-seg), .site-footer { position: relative; z-index: 1; }
/* Opaque over the film; a section's own background (dark or light) still wins. */
:where(main > :not(.film-seg)) { background-color: var(--paper, #f4f1e9); }
.alt-lifted { padding-block: clamp(56px, 9vh, 96px); }

/* Their headline stays in the document for search engines and screen readers. */
.film-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.alt-hero-rest .hero-inner { display: grid; gap: clamp(40px, 6vh, 72px); padding-block: clamp(56px, 9vh, 96px); }

/* ---- Later site sections, in the calm style of "Hoe werkt het?" ----
   Sans headings, grey intros, thin rules, white cards; no numbered mono labels. */
main > :is(.examples-section, .process-library, .faq-section, .start-section, .terms-band) {
  background: #fafafa; color: #252525; border-top: 1px solid #e5e5e5; border-bottom: 0; font-family: Arial, Helvetica, sans-serif;
}
main > :is(.process-library, .terms-band) { background: #f7f7f5; }
main > .terms-band { border-top: 0; }
main > .section { padding-block: 92px 100px; }
main :is(.examples-heading, .library-heading, .faq-intro, .start-layout) h2 {
  margin: 0; max-width: 820px; color: #252525; font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(34px, 3.2vw, 46px); font-weight: 500; letter-spacing: -.045em; line-height: 1.12; text-wrap: balance;
}
main :is(.examples-heading > div > p, .library-heading > p:last-child, .faq-intro > p:last-child, .start-action > p) {
  max-width: 640px; color: #666; font-size: 17px; line-height: 1.6;
}
main :is(.section-label, .section-index, .simple-note) { display: none; }

/* Examples: request → result */
main .examples-heading { display: block; margin: 0 auto 56px; text-align: center; }
main .examples-heading h2 { margin-inline: auto; }
main .examples-heading > div > p { margin: 19px auto 0; }
main .example-list { border-top: 1px solid #e5e5e5; }
main .work-example { grid-template-columns: 28px minmax(0, .9fr) 40px minmax(0, 1fr); padding-block: 32px; border-bottom: 1px solid #e5e5e5; }
main .example-number { color: #8a8a8a; font-family: inherit; font-size: 12px; font-weight: 400; }
main .example-chip, main .example-result .example-chip { min-height: 0; padding: 0; border: 0; background: none; color: #737373; font-family: inherit; font-size: 12px; font-weight: 400; letter-spacing: 0; text-transform: none; }
main .example-block h3, main .example-result h3 { margin-top: 8px; color: #252525; font-family: inherit; font-size: 19px; font-weight: 600; letter-spacing: -.02em; line-height: 1.35; }
main .example-block p { color: #555; font-size: 15px; line-height: 1.6; }
main .example-result { padding: 22px; border: 1px solid #e2e2e2; border-radius: 8px; background: #fff; }
main .example-arrow { width: 36px; height: 36px; border-color: #ddd; color: #777; font-size: 16px; }

/* Process library: light, with a white panel */
main .library-heading { display: block; margin-bottom: 48px; }
main .library-heading > p:last-child { margin-top: 19px; }
main .process-explorer { min-height: 0; border: 1px solid #e2e2e2; border-radius: 8px; background: #fff; overflow: hidden; }
main .process-tabs { border-right: 1px solid #e5e5e5; }
main .process-tabs button { min-height: 64px; border-bottom: 1px solid #eee; color: #444; font-family: inherit; }
main .process-tabs button span, main .process-tabs button i { color: #8a8a8a; font-family: inherit; font-size: 12px; letter-spacing: 0; }
main .process-tabs button strong { font-size: 15px; font-weight: 600; }
main .process-tabs button:hover { background: #f4f4f2; color: #252525; }
main .process-tabs button[aria-selected="true"] { background: #252525; color: #fff; }
main .process-tabs button[aria-selected="true"] :is(span, i) { color: #bdbdbd; }
main .process-panel { margin: 0; padding: clamp(28px, 4vw, 48px); background: #fff; }
main .panel-topline { color: #737373; font-family: inherit; font-size: 12px; font-weight: 400; letter-spacing: 0; text-transform: none; border-color: #e5e5e5; }
main .panel-status { color: #555; font-family: inherit; font-size: 12px; font-weight: 400; letter-spacing: 0; text-transform: none; }
main .process-panel > h3 { margin-top: 32px; font-family: inherit; font-size: clamp(28px, 2.6vw, 36px); font-weight: 500; letter-spacing: -.04em; line-height: 1.15; }
main .panel-summary { color: #555; font-size: 16px; min-height: 0; }
main .panel-ledger { margin-top: 32px; border-color: #e5e5e5; }
main .panel-ledger > div { grid-template-columns: 130px 1fr; border-color: #eee; }
main .panel-ledger dt { color: #737373; font-family: inherit; font-size: 13px; font-weight: 400; letter-spacing: 0; text-transform: none; }
main .panel-ledger dd { font-size: 14px; font-weight: 600; }
main .panel-receipt { border: 1px solid #e2e2e2; border-radius: 8px; background: #fafafa; color: #252525; }
main .panel-receipt small { color: #737373; font-family: inherit; font-size: 12px; letter-spacing: 0; text-transform: none; }
main .panel-receipt strong { font-size: 14px; }

/* Plans' small print: three quiet columns */
main .terms-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; max-width: 1240px; margin: 0 auto; padding: 0 0 72px; }
main .terms-grid article { min-height: 0; padding: 22px 0 0; border-left: 0; border-top: 1px solid #cfcfcb; }
main .term-number { color: #8a8a8a; font-family: inherit; font-size: 12px; }
main .terms-grid h2 { margin-top: 8px; font-family: inherit; font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
main .terms-grid article p { color: #555; font-size: 14px; }

/* Questions */
main .faq-intro { top: 96px; }
main .faq-intro > p:last-child { margin-top: 19px; }
main .faq-list { border-top: 1px solid #e5e5e5; }
main .faq-list details { border-bottom: 1px solid #e5e5e5; }
main .faq-list summary { grid-template-columns: 28px 1fr 22px; min-height: 68px; font-family: inherit; font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
main .faq-list summary span { color: #8a8a8a; font-family: inherit; font-size: 12px; font-weight: 400; letter-spacing: 0; }
main .faq-list summary i::before, main .faq-list summary i::after { background: #777; }
main .faq-list details > p { margin-left: 46px; color: #555; font-size: 15px; }

/* First process */
main .start-layout { align-items: end; padding-block: 92px 100px; }
main .start-section .button-light { border-color: #252525; border-radius: 4px; background: #252525; color: #fff; }
main .start-section .button-light:hover { border-color: #444; background: #444; color: #fff; }
main .start-action > small { color: #737373; font-family: inherit; font-size: 13px; letter-spacing: 0; text-transform: none; }

/* ---- Privacy: edge anonymisation, after the film's privacy chapter ---- */
.alt-privacy { padding: 92px 24px 100px; background: #fafafa; color: #252525; border-top: 1px solid #e5e5e5; font-family: Arial, Helvetica, sans-serif; }
.alt-privacy-inner { max-width: 1240px; margin: 0 auto; }
.alt-privacy svg { width: 22px; height: 22px; flex: 0 0 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.alt-privacy-intro { max-width: 780px; margin: 0 auto 56px; text-align: center; }
.alt-privacy-label { margin: 0 0 16px; color: #737373; font-size: 13px; font-weight: 600; }
.alt-privacy-intro h2 { margin: 0 0 19px; font-size: clamp(34px, 3.2vw, 46px); font-weight: 500; letter-spacing: -.045em; line-height: 1.12; text-wrap: balance; }
.alt-privacy-intro > p:last-child { margin: 0; color: #666; font-size: 18px; line-height: 1.6; }
.alt-privacy-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(28px, 4vw, 56px); align-items: center; padding: clamp(24px, 3vw, 40px); border: 1px solid #e2e2e2; border-radius: 8px; background: #fff; }
.alt-privacy-feature h3 { display: flex; gap: 10px; align-items: center; margin: 0 0 14px; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.alt-privacy-feature p { margin: 0; color: #555; font-size: 16px; line-height: 1.65; }
.alt-privacy-feature a { display: inline-block; margin-top: 18px; color: #252525; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.alt-privacy-flow { display: flex; align-items: stretch; gap: 10px; margin: 0; padding: 0; list-style: none; }
.alt-privacy-flow > li:not(.alt-privacy-arrow) { flex: 1 1 0; min-width: 0; padding: 18px 16px; border: 1px solid #e5e5e5; border-radius: 8px; background: #fafafa; }
.alt-privacy-flow > li:nth-child(3) { border-color: #252525; background: #252525; color: #fff; }
.alt-privacy-flow small { display: block; margin: 12px 0 8px; color: #737373; font-size: 12px; }
.alt-privacy-flow > li:nth-child(3) small { color: #bdbdbd; }
.alt-privacy-flow p { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.alt-privacy-flow p span { font-size: 14px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.alt-privacy-flow > li:nth-child(3) p span { font-weight: 400; color: #e6e6e6; }
.alt-privacy-flow > li:nth-child(5) p span { padding: 2px 7px; border-radius: 4px; background: #ececea; font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 13px; font-weight: 500; }
.alt-privacy-arrow { display: grid; place-items: center; color: #9a9a9a; }
.alt-privacy-items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 48px 0 0; padding: 0; list-style: none; }
.alt-privacy-items li { padding-top: 22px; border-top: 1px solid #e5e5e5; }
.alt-privacy-items i { display: block; color: #555; }
.alt-privacy-items h3 { margin: 14px 0 8px; font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.alt-privacy-items p { margin: 0; color: #555; font-size: 15px; line-height: 1.6; }
@media (max-width: 900px) {
  .alt-privacy-feature { grid-template-columns: minmax(0, 1fr); }
  .alt-privacy-flow { flex-direction: column; }
  .alt-privacy-arrow svg { transform: rotate(90deg); }
  .alt-privacy-items { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .alt-privacy-items li { padding-block: 22px 6px; }
  main .work-example { grid-template-columns: minmax(0, 1fr); }
  main .example-arrow { transform: rotate(90deg); }
  main .terms-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  main .terms-grid article { padding-bottom: 18px; }
}
@media (max-width: 640px) {
  .alt-privacy, main > .section { padding-block: 60px; }
  main .faq-list details > p { margin-left: 0; }
}

/* ---- Models: every AI and every agent, after the film's model-agnostic chapter ---- */
.alt-models { padding: 92px 24px 100px; background: #fafafa; color: #252525; border-top: 1px solid #e5e5e5; font-family: Arial, Helvetica, sans-serif; }
.alt-models-inner { max-width: 1240px; margin: 0 auto; }
.alt-models-intro { max-width: 780px; margin: 0 auto 56px; text-align: center; }
.alt-models-label { margin: 0 0 16px; color: #737373; font-size: 13px; font-weight: 600; }
.alt-models-intro h2 { margin: 0 0 19px; font-size: clamp(34px, 3.2vw, 46px); font-weight: 500; letter-spacing: -.045em; line-height: 1.12; text-wrap: balance; }
.alt-models-intro > p:last-child { margin: 0; color: #666; font-size: 18px; line-height: 1.6; }
.alt-models-group { margin: 0 0 16px; color: #737373; font-size: 13px; font-weight: 600; }
.alt-models ul { display: grid; margin: 0; padding: 0; list-style: none; }
.alt-models img { display: block; width: 28px; height: 28px; flex: 0 0 28px; object-fit: contain; }
.alt-models ul.alt-models-companies { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 44px; }
.alt-models-companies li { display: flex; gap: 12px; align-items: center; min-width: 0; padding: 18px 16px; border: 1px solid #e2e2e2; border-radius: 8px; background: #fff; }
.alt-models-companies h3 { margin: 0 0 3px; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.alt-models-companies p { margin: 0; color: #555; font-size: 13px; line-height: 1.4; }
.alt-models-companies p span { color: #8a8a8a; }
.alt-models ul.alt-models-agents { grid-template-columns: repeat(8, minmax(0, 1fr)); border-top: 1px solid #e5e5e5; }
.alt-models-agents li { display: flex; flex-direction: column; gap: 10px; align-items: center; padding: 22px 8px 0; text-align: center; font-size: 14px; font-weight: 600; }
.alt-models-note { margin: 44px 0 0; color: #555; font-size: 15px; text-align: center; }
@media (max-width: 1100px) { .alt-models ul.alt-models-companies { grid-template-columns: repeat(3, minmax(0, 1fr)); } .alt-models ul.alt-models-agents { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 8px; } }
@media (max-width: 640px) {
  .alt-models { padding-block: 60px; }
  .alt-models ul.alt-models-companies { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .alt-models-companies li { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
  .alt-models ul.alt-models-agents { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
