/* Shared shell for the Uptick subpages. Built on the Papier en Kobalt tokens (styles.css).
   One colour (kobalt) for actions, 1px lijn borders, 6 to 8px radii, no shadows on cards,
   arrival motion only (rise and fade), everything behind prefers-reduced-motion. */

:root { --wrap: var(--content-max); --gutter: 6vw; --nav-h: 72px; }

html { scroll-behavior: smooth; }
body { margin: 0; background: var(--papier); color: var(--inkt); overflow-x: hidden; }
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin: 0 auto; }
.measure { max-width: var(--measure); }
.tnum { font-variant-numeric: tabular-nums; }
.muted { color: var(--grafiet); }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header, identical to the homepage: logo left, dark pill right */
.site-header { position: sticky; top: 0; z-index: 60; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 4vw; background: var(--papier); }
.site-header .brand { display: flex; align-items: center; }
.site-header .brand img { height: 26px; width: auto; display: block; }
.nav-pill { display: flex; align-items: center; gap: 2px; padding: 5px 6px 5px 8px; background: rgba(28,28,30,.92); border-radius: 12px; box-shadow: var(--shadow-pop); font: 500 14px/1 var(--font-sans); }
.nav-pill a, .nav-pill button { color: var(--papier); text-decoration: none; padding: 10px 12px; border-radius: 8px; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; background: transparent; border: 0; cursor: pointer; font: inherit; }
.nav-pill a:hover, .nav-pill button:hover { background: rgba(255,255,255,.12); text-decoration: none; }
.nav-pill a[aria-current="page"] { background: rgba(255,255,255,.16); }
.nav-pill .lang { font-size: 13px; letter-spacing: .03em; padding: 9px 12px; }
.nav-toggle { display: none; appearance: none; border: 1px solid var(--lijn); background: var(--papier); border-radius: 8px; width: 40px; height: 40px; align-items: center; justify-content: center; cursor: pointer; color: var(--inkt); }
.nav-sheet { display: none; }
@media (max-width: 719px) {
  .nav-pill { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-sheet { position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 59; background: var(--papier); border-bottom: 1px solid var(--lijn); padding: 8px 4vw 16px; flex-direction: column; }
  .nav-sheet.open { display: flex; }
  .nav-sheet a, .nav-sheet button { font: 500 17px/1.2 var(--font-sans); color: var(--inkt); text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--lijn-zacht); background: transparent; border-left: 0; border-right: 0; border-top: 0; text-align: left; cursor: pointer; }
}

/* Buttons, after the design system Button */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: var(--control-h-lg); padding: 0 22px; border-radius: var(--radius-sm); font: 500 16px/1 var(--font-sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); white-space: nowrap; }
.btn:hover { text-decoration: none; }
.btn:focus-visible { outline: 2px solid var(--inkt); outline-offset: 3px; }
.btn-primary { background: var(--kobalt); color: var(--papier); }
.btn-primary:hover { background: var(--kobalt-hover); }
.btn-primary:active { background: var(--kobalt-active); }
.btn-secondary { background: var(--papier); color: var(--inkt); border-color: var(--lijn); }
.btn-secondary:hover { background: var(--nevel); border-color: var(--lijn-sterk); }
.btn-ghost { background: transparent; color: var(--inkt); }
.btn-ghost:hover { background: var(--nevel); }
.on-dark .btn-secondary { background: var(--papier); color: var(--inkt); border-color: transparent; }
.on-dark .btn-ghost { color: var(--papier); }
.on-dark .btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-md { height: var(--control-h-md); padding: 0 16px; font-size: 14px; }
.btn i, .btn svg { width: 18px; height: 18px; }

/* Floating CTA like the homepage */
.float-cta { position: fixed; right: 24px; bottom: 24px; z-index: 70; opacity: 0; transform: translateY(8px); transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); pointer-events: none; }
.float-cta.on { opacity: 1; transform: none; pointer-events: auto; }

/* Hero: the homepage's dark panel, shorter, for every subpage */
.hero { position: relative; padding: 6px 4vw 4vw; }
.hero .panel { position: relative; isolation: isolate; overflow: hidden; border-radius: 24px; background: var(--inkt); color: var(--papier); min-height: min(56vh, 640px); display: flex; align-items: center; padding: clamp(48px, 8vw, 96px) clamp(24px, 6vw, 96px); }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: .55; z-index: -1; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 13px/1.25 var(--font-sans); letter-spacing: .01em; color: rgba(255,255,255,.82); margin: 0 0 22px; }
.hero .eyebrow::before { content: ""; width: 6px; height: 6px; background: var(--papier); display: inline-block; }
.hero h1 { font: 600 var(--text-display) var(--font-sans); line-height: var(--leading-display); letter-spacing: var(--tracking-heading); margin: 0 0 22px; max-width: 16ch; }
.hero p { font: 400 clamp(16px, 1.35vw, 20px)/1.5 var(--font-sans); color: rgba(255,255,255,.82); max-width: 40rem; margin: 0 0 28px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero.hero--center .panel { justify-content: center; text-align: center; }
.hero.hero--center h1, .hero.hero--center p { margin-left: auto; margin-right: auto; }
.hero.hero--center .actions { justify-content: center; }
.hero.hero--full .panel { box-sizing: border-box; min-height: calc(100vh - var(--nav-h) - 4vw - 6px); }
.hero .giant { font: 600 clamp(6rem, 22vw, 18rem)/.9 var(--font-sans); letter-spacing: -.05em; margin: 0 0 20px; max-width: none; font-variant-numeric: tabular-nums; }
.hero.hero--light .panel { background: var(--nevel); color: var(--inkt); }
.hero.hero--light .eyebrow { color: var(--grafiet); }
.hero.hero--light .eyebrow::before { background: var(--inkt); }
.hero.hero--light p { color: var(--grafiet); }
.hero.hero--light canvas { opacity: .75; }

/* Sections */
.section { padding: var(--section-y) 0; }
.section--tight { padding: calc(var(--section-y) * .6) 0; }
.section--nevel { background: var(--nevel); }
/* Chrome resolves url() inside a custom property against the page, not the token file, so the patterns get a page-relative path here. */
.section--dots { position: relative; isolation: isolate; background: transparent; }
.section--dots::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2716%27 height=%2716%27%3E%3Ccircle cx=%271%27 cy=%271%27 r=%271%27 fill=%27%23b8b8bf%27/%3E%3C/svg%3E"); background-size: 16px 16px; opacity: .85; -webkit-mask-image: radial-gradient(ellipse 55% 65% at 50% 50%, #000 25%, transparent 100%); mask-image: radial-gradient(ellipse 55% 65% at 50% 50%, #000 25%, transparent 100%); }
.section--tint { background: var(--kobalt-tint); }
.section--tint .card, .section--dots .card { background: var(--papier); }
.section--lines { background-color: var(--papier); background-image: url("assets/patterns/patroon-lijnen.svg"); background-size: 32px 32px; }
.lead { max-width: 44rem; margin-bottom: 48px; }
.lead.center { margin-left: auto; margin-right: auto; }
.lead h2, .h2 { font: 600 clamp(28px, 3.4vw, 44px)/1.08 var(--font-sans); letter-spacing: var(--tracking-heading); margin: 0 0 16px; text-wrap: pretty; }
.lead p { font: 400 var(--text-md)/1.5 var(--font-sans); color: var(--grafiet); margin: 0; text-wrap: pretty; }
.serif h2, .h2.serif { font: 400 clamp(36px, 4.6vw, 64px)/1.02 var(--font-serif); letter-spacing: -.01em; }
h3 { font: 600 var(--text-md)/1.25 var(--font-sans); letter-spacing: -.02em; margin: 0 0 8px; }
.section p { text-wrap: pretty; }

/* Grids and cards */
.grid { display: grid; gap: 24px; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(min(var(--cols, 3), 2), minmax(0, 1fr)); } }
.grid--bento > .card { padding: 28px; }
@media (min-width: 901px) { .grid--bento > :nth-child(1), .grid--bento > :nth-child(8), .grid--bento > :nth-child(9) { grid-column: span 2; } }
.reveal-group.in > .mb-card { transition: opacity .8s var(--ease-out), transform .18s ease, box-shadow .25s ease, border-color .25s ease; }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--nevel); border: 1px solid var(--lijn); border-radius: var(--radius-md); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.card .icon { width: 36px; height: 36px; border-radius: var(--radius-sm); background: var(--kobalt-tint); border: 1px solid transparent; color: var(--kobalt); display: inline-flex; align-items: center; justify-content: center; color: var(--inkt); margin-bottom: 6px; }
.card .icon svg { width: 18px; height: 18px; }
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--grafiet); font-size: var(--text-base); }
.card ul { margin: 6px 0 0; padding-left: 18px; color: var(--grafiet); }
.card ul li { margin: 4px 0; }
.card--paper { background: var(--papier); }
.card--link { transition: border-color var(--dur-fast) var(--ease); text-decoration: none; color: inherit; }
.card--link:hover { border-color: var(--kobalt); text-decoration: none; }
.card--link:hover h3 { color: var(--kobalt); }

/* Split rows: text beside a visual, alternating */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split + .split { margin-top: var(--section-y); }
.split.reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }
.split h2 { font: 600 clamp(26px, 3vw, 36px)/1.1 var(--font-sans); letter-spacing: var(--tracking-heading); margin: 0 0 14px; }
.split p { color: var(--grafiet); font-size: var(--text-md); margin: 0 0 16px; }
.split .num { font: 500 13px/1 var(--font-sans); color: var(--kobalt); font-variant-numeric: tabular-nums; display: block; margin-bottom: 14px; letter-spacing: .02em; }
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 10px; }
.checks li { display: flex; align-items: flex-start; gap: 10px; font-size: var(--text-base); }
.checks li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: var(--kobalt-tint); border: 1px solid var(--kobalt); mask: none; position: relative; }
.checks li::after { content: ""; position: absolute; }
.checks li { position: relative; }
.checks li > span.tick { position: absolute; left: 4px; top: 4px; width: 10px; height: 6px; border-left: 2px solid var(--kobalt); border-bottom: 2px solid var(--kobalt); transform: rotate(-45deg); }

/* Prose, for the story and other long text */
.prose { max-width: var(--measure); }
.prose p { font: 400 var(--text-md)/1.6 var(--font-sans); margin: 0 0 20px; color: var(--inkt); text-wrap: pretty; }
.prose p.muted { color: var(--grafiet); font-size: var(--text-base); }
.prose h2 { font: 600 var(--text-xl)/1.2 var(--font-sans); letter-spacing: -.02em; margin: 40px 0 12px; }
.prose .big { font: 400 clamp(22px, 2.4vw, 30px)/1.3 var(--font-serif); color: var(--inkt); margin: 0 0 28px; }

/* Small hand-built product mocks: a note, an email, a sequence, a list */
.ui { background: var(--papier); border: 1px solid var(--lijn); border-radius: var(--radius-md); padding: 18px 20px; font: 400 14px/1.45 var(--font-sans); color: var(--inkt); display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow-pop); }
.ui .ui-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--lijn); }
.ui .ui-title { font-weight: 600; letter-spacing: -.01em; font-size: 15px; }
.ui .ui-muted { color: var(--grafiet); font-size: 13px; }
.ui .ui-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--lijn-zacht); }
.ui .ui-row:last-child { border-bottom: 0; }
.ui .ui-tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border: 1px solid var(--lijn); border-radius: var(--radius-xs); font: 500 12px/1 var(--font-sans); color: var(--inkt); background: var(--papier); white-space: nowrap; }
.ui .ui-tag.tint { background: var(--kobalt-tint); border-color: var(--kobalt-tint); color: var(--kobalt); }
.ui .ui-btn { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: var(--radius-sm); background: var(--kobalt); color: var(--papier); font: 500 13px/1 var(--font-sans); white-space: nowrap; }
.ui .ui-btn.ghost { background: var(--papier); color: var(--inkt); border: 1px solid var(--lijn); }
.ui .ui-btn svg { width: 14px; height: 14px; }
.ui .ui-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--kobalt); flex: none; }
.ui .ui-dot.line { background: var(--lijn-sterk); }
.ui .ui-mail { padding: 4px 0; white-space: pre-line; }
.ui .ui-actions { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 8px; }
.ui .ui-note { background: var(--nevel); border: 1px solid var(--lijn); border-radius: var(--radius-sm); padding: 12px 14px; }
.ui .ui-kv { display: grid; grid-template-columns: 96px 1fr; gap: 4px 12px; font-size: 13px; margin: 0; }
.ui .ui-kv dt { color: var(--grafiet); }
.ui .ui-kv dd { margin: 0; }
.ui .ui-num { font-variant-numeric: tabular-nums; }
.ui .ui-bar { height: 6px; border-radius: 3px; background: var(--nevel); overflow: hidden; }
.ui .ui-bar span { display: block; height: 100%; background: var(--kobalt); }
.ui-stack { display: flex; flex-direction: column; gap: 12px; }

/* Visual frames */
.mock { border: 1px solid var(--lijn); border-radius: var(--radius-md); overflow: hidden; background: var(--papier); }
.mock img { display: block; width: 100%; }
.photo { border: 1px solid var(--lijn); border-radius: var(--radius-md); overflow: hidden; }
.photo img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.screen { position: relative; background: #1c1c1e; border-radius: 22px 22px 12px 12px; padding: 14px 14px 0; box-shadow: var(--shadow-dialog); }
.screen::after { content: ""; display: block; height: 18px; margin: 0 -14px; background: #2c2c2e; border-radius: 0 0 12px 12px; border-top: 1px solid #3a3a3c; }
.screen img { display: block; width: 100%; border-radius: 8px 8px 0 0; }

/* Tabs, for the module deep dive */
.tabs { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 900px) { .tabs { grid-template-columns: 1fr; } }
.tablist { display: flex; flex-direction: column; gap: 2px; border-left: 1px solid var(--lijn); }
.tablist button { appearance: none; background: transparent; border: 0; border-left: 2px solid transparent; margin-left: -1px; text-align: left; padding: 12px 16px; font: 500 15px/1.3 var(--font-sans); color: var(--grafiet); cursor: pointer; transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease); }
.tablist button:hover { color: var(--inkt); }
.tablist button[aria-selected="true"] { color: var(--inkt); border-left-color: var(--inkt); }
@media (max-width: 900px) { .tablist { flex-direction: row; flex-wrap: wrap; border-left: 0; border-bottom: 1px solid var(--lijn); } .tablist button { border-left: 0; border-bottom: 2px solid transparent; margin: 0 0 -1px; } .tablist button[aria-selected="true"] { border-bottom-color: var(--inkt); } }
.tabpanel[hidden] { display: none; }
.tabpanel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; align-items: center; }
@media (max-width: 900px) { .tabpanel { grid-template-columns: 1fr; } }

/* Timeline, for the onboarding page */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 140px 24px minmax(0, 1fr); gap: 20px; padding: 28px 0; border-top: 1px solid var(--lijn); }
.timeline li:last-child { border-bottom: 1px solid var(--lijn); }
.timeline .when { font: 500 13px/1.4 var(--font-sans); color: var(--grafiet); letter-spacing: .02em; font-variant-numeric: tabular-nums; padding-top: 4px; }
.timeline .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--papier); border: 1px solid var(--inkt); margin-top: 6px; }
.timeline li.now .dot { background: var(--kobalt); border-color: var(--kobalt); }
.timeline h3 { margin: 0 0 6px; }
.timeline p { margin: 0; color: var(--grafiet); }
@media (max-width: 600px) { .timeline li { grid-template-columns: 24px minmax(0, 1fr); } .timeline .when { grid-column: 2; order: -1; padding: 0 0 4px; } .timeline .dot { grid-row: 1 / span 2; } }

/* Steps in a row (numbered) */
.steps { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 24px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }
.step { border-top: 1px solid var(--lijn); padding-top: 14px; }
.step .n { font: 500 13px/1 var(--font-sans); color: var(--kobalt); font-variant-numeric: tabular-nums; margin-bottom: 10px; display: block; }
.step { border-top-color: var(--kobalt-tint); }
.step:first-child { border-top-color: var(--kobalt); }
.step h3 { margin: 0 0 8px; }
.step p { margin: 0; color: var(--grafiet); }

/* FAQ accordion */
.faq { border-top: 1px solid var(--lijn); }
.faq-item { border-bottom: 1px solid var(--lijn); }
.faq-item button { appearance: none; width: 100%; background: transparent; border: 0; text-align: left; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; font: 500 var(--text-md)/1.3 var(--font-sans); color: var(--inkt); cursor: pointer; }
.faq-item button svg { flex: none; width: 18px; height: 18px; color: var(--grafiet); transition: transform var(--dur-slow) var(--ease); }
.faq-item[open] button svg { transform: rotate(180deg); color: var(--kobalt); }
.faq-item[open] button { color: var(--kobalt); }
.timeline .when { color: var(--kobalt); }
.faq-item .answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-slow) var(--ease); }
.faq-item[open] .answer { grid-template-rows: 1fr; }
.faq-item .answer > div { overflow: hidden; }
.faq-item .answer p { margin: 0 0 20px; color: var(--grafiet); max-width: var(--measure); }

/* Pricing quote builder */
.quote { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: start; }
@media (max-width: 900px) { .quote { grid-template-columns: 1fr; } }
.quote fieldset { border: 0; padding: 0; margin: 0 0 32px; }
.quote legend { font: 600 var(--text-md)/1.3 var(--font-sans); margin-bottom: 14px; }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.choice { position: relative; display: block; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; }
.choice span { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 14px; border: 1px solid var(--lijn); border-radius: var(--radius-sm); background: var(--papier); font: 500 15px/1.2 var(--font-sans); text-align: center; transition: border-color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease); cursor: pointer; }
.choice:hover span { border-color: var(--lijn-sterk); }
.choice input:checked + span { border-color: var(--inkt); background: var(--kobalt-tint); }
.choice input:focus-visible + span { box-shadow: var(--focus-ring); }
.quote-summary { position: sticky; top: calc(var(--nav-h) + 24px); background: var(--nevel); border: 1px solid var(--lijn); border-radius: var(--radius-md); padding: 24px; }
.quote-summary dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0 0 20px; font-size: var(--text-base); }
.quote-summary dt { color: var(--grafiet); }
.quote-summary dd { margin: 0; font-weight: 500; }

/* Contact blocks */
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-grid .card a { color: var(--inkt); font-weight: 500; }

/* Legal articles */
.legal { max-width: var(--measure); margin: 0 auto; }
.legal .meta { font: 400 var(--text-sm)/1.45 var(--font-sans); color: var(--grafiet); margin: 0 0 32px; }
.legal h2 { font: 600 var(--text-xl)/1.2 var(--font-sans); letter-spacing: -.02em; margin: 40px 0 12px; }
.legal h3 { font: 600 var(--text-md)/1.3 var(--font-sans); margin: 24px 0 8px; }
.legal p, .legal li { font: 400 var(--text-base)/1.6 var(--font-sans); color: var(--inkt); }
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--lijn); vertical-align: top; }
.legal th { font-weight: 500; color: var(--grafiet); }
.toc { background: var(--nevel); border: 1px solid var(--lijn); border-radius: var(--radius-md); padding: 20px 24px; margin: 0 0 40px; }
.toc ol { margin: 0; padding-left: 0; list-style: none; columns: 2; column-gap: 32px; }
.tablewrap { overflow-x: auto; }
@media (max-width: 600px) { .toc ol { columns: 1; } }
.toc li { margin: 4px 0; break-inside: avoid; }
.toc a { color: var(--inkt); }

/* CTA band, dark, at the bottom of every marketing page */
.cta-band { padding: 0 4vw 4vw; }
.cta-band .panel { position: relative; isolation: isolate; overflow: hidden; border-radius: 24px; background: var(--inkt); color: var(--papier); text-align: center; padding: clamp(56px, 8vw, 96px) clamp(24px, 6vw, 96px); }
.cta-band canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: .45; z-index: -1; }
.cta-band h2 { font: 600 clamp(28px, 3.6vw, 48px)/1.06 var(--font-sans); letter-spacing: var(--tracking-heading); margin: 0 auto 14px; max-width: 18ch; }
.cta-band p { color: rgba(255,255,255,.82); font-size: var(--text-md); max-width: 36rem; margin: 0 auto 28px; }
.cta-band .note { font-size: var(--text-sm); color: rgba(255,255,255,.7); margin: 16px 0 0; }

/* Footer, same structure as the homepage */
.site-footer { position: relative; z-index: 7; background: var(--papier); padding: 0 6vw 0; }
.site-footer .inner { position: relative; background: var(--nevel); border: 1px solid var(--lijn); border-bottom: 0; border-radius: 24px 24px 0 0; padding: 56px clamp(24px, 4vw, 64px) 32px; overflow: hidden; }
.site-footer .inner::before { content: ""; position: absolute; left: 50%; top: -1px; width: 33%; height: 1px; transform: translateX(-50%); background: var(--kobalt); opacity: .6; pointer-events: none; }
.site-footer .inner::after { content: ""; position: absolute; left: 50%; top: -64px; width: 36%; height: 128px; transform: translateX(-50%); background: var(--kobalt-tint); border-radius: 50%; filter: blur(48px); opacity: .9; pointer-events: none; }
.site-footer .cols { position: relative; display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 900px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .site-footer .cols { grid-template-columns: 1fr; } }
.site-footer .brandcol img { height: 30px; width: auto; display: block; margin-bottom: 18px; }
.site-footer .brandcol p { margin: 0 0 24px; color: var(--grafiet); font-size: var(--text-base); }
.site-footer .brandcol .fine { font-size: var(--text-sm); }
.site-footer .col span.head { display: block; font: 500 13px/1.25 var(--font-sans); color: var(--inkt); margin-bottom: 14px; }
.site-footer .col a { display: flex; align-items: center; gap: 6px; color: var(--grafiet); text-decoration: none; font: 400 14px/1.3 var(--font-sans); margin: 0 0 10px; transition: color var(--dur-fast) var(--ease); }
.site-footer .col a:hover { color: var(--inkt); }
.site-footer .col a svg { width: 16px; height: 16px; }
.site-footer .col .plain { color: var(--grafiet); font: 400 14px/1.3 var(--font-sans); margin: 0 0 10px; }
.site-footer .bottom { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--lijn); font: 400 var(--text-sm)/1.4 var(--font-sans); color: var(--grafiet); }
.lang-switch { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--lijn); border-radius: 6px; background: var(--papier); }
.lang-switch button { appearance: none; border: 0; background: transparent; color: var(--grafiet); font: 500 12px/1 var(--font-sans); padding: 7px 9px; border-radius: 4px; cursor: pointer; letter-spacing: .02em; }
.lang-switch button[aria-pressed="true"] { background: var(--inkt); color: var(--papier); }

/* Arrival motion */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal-group > * { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal-group.in > * { opacity: 1; transform: none; }
.reveal-group.in > :nth-child(2) { transition-delay: .09s; }
.reveal-group.in > :nth-child(3) { transition-delay: .18s; }
.reveal-group.in > :nth-child(4) { transition-delay: .27s; }
.reveal-group.in > :nth-child(5) { transition-delay: .36s; }
.reveal-group.in > :nth-child(6) { transition-delay: .45s; }
.reveal-group.in > :nth-child(n+7) { transition-delay: .5s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-group > * { opacity: 1; transform: none; transition: none; }
  .faq-item .answer, .faq-item button svg, .float-cta { transition: none; }
}

/* Checks as small cobalt pills instead of a list */
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.checks li { position: relative; display: inline-flex; align-items: flex-start; gap: 8px; padding: 8px 12px 8px 16px; border-radius: 10px; background: var(--kobalt-tint); color: var(--inkt); font: 400 14px/1.4 var(--font-sans); text-wrap: pretty; }
.checks li::after { content: none; }
.checks li > span.tick { display: none; }
.on-tint .checks li, .section--tint .checks li, .section--dots .checks li { background: var(--papier); }

/* Product story: the lead in the middle of a full-width sticky stage. Every module comes by as a card
   beside it while its block flies in; when the next module arrives the block joins the orbit. The steps
   are scroll spacers whose content the script copies into the cards. */
.story { position: relative; padding: 0; background: var(--papier); }
.story-stage { position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h)); min-height: 520px; background: var(--inkt); overflow: hidden; isolation: isolate; }
.story-stage .story-silk { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: .6; z-index: 0; }
.story-stage canvas[data-lead3d] { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 1; }
.story-chips { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.orb-chip { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px 5px 7px; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--inkt); font: 500 12px/1 var(--font-sans); white-space: nowrap; box-shadow: 0 6px 18px rgba(0,0,0,.28); opacity: 0; transition: opacity .35s ease; will-change: transform; }
.orb-chip svg { width: 13px; height: 13px; color: var(--kobalt); }
.orb-chip.on { opacity: 1; }
.orb-chip.on.back { opacity: .32; }
.story-cards { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.story-card { position: absolute; top: 50%; width: min(270px, 26%); padding: 22px 24px; border-radius: 14px; background: rgba(255,255,255,.96); color: var(--inkt); box-shadow: 0 24px 60px rgba(0,0,0,.35); opacity: 0; transition: opacity .4s var(--ease), transform .65s var(--ease-out); }
.story-card--left { left: 4%; transform: translate(-48px, -50%) perspective(900px) rotateY(22deg); transform-origin: 100% 50%; }
.story-card--right { right: 4%; transform: translate(48px, -50%) perspective(900px) rotateY(-22deg); transform-origin: 0 50%; }
.story-card.in { opacity: 1; transform: translate(0, -50%); pointer-events: auto; }
.story-card .n { display: block; font: 500 13px/1 var(--font-sans); color: var(--kobalt); font-variant-numeric: tabular-nums; letter-spacing: .02em; margin-bottom: 14px; }
.story-card .ic { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: var(--kobalt); color: var(--papier); margin-bottom: 14px; }
.story-card .ic svg { width: 20px; height: 20px; }
.story-card h3 { margin: 0 0 6px; font: 600 clamp(22px, 2.2vw, 28px)/1.1 var(--font-sans); letter-spacing: var(--tracking-heading); }
.story-card p { margin: 0; color: var(--grafiet); font-size: var(--text-base); text-wrap: pretty; }
.story-card a { display: inline-block; margin-top: 12px; font: 500 14px/1 var(--font-sans); color: var(--kobalt); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.story-progress { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 3; display: flex; align-items: center; gap: 6px; font: 500 12px/1 var(--font-sans); color: rgba(255,255,255,.85); font-variant-numeric: tabular-nums; }
.story-progress .seg { width: 20px; height: 2px; background: rgba(255,255,255,.26); transition: background-color .35s ease; }
.story-progress .seg.on { background: #9db0ff; }
.story-progress .cur { margin-right: 6px; }
.story-progress .tot { margin-left: 6px; color: rgba(255,255,255,.5); }
.story-steps { position: relative; z-index: 0; pointer-events: none; }
.story-step { height: 85vh; visibility: hidden; }
.story-end { height: 45vh; pointer-events: none; }
.story-stage { z-index: 1; }
@media (max-width: 900px) {
  .story-stage { min-height: 480px; }
  .story-card, .story-card--left, .story-card--right { top: auto; left: 16px; right: 16px; bottom: 62px; width: auto; transform: translateY(24px); transform-origin: 50% 100%; padding: 16px 18px; }
  .story-card.in { transform: none; }
  .story-card .ic { width: 36px; height: 36px; margin-bottom: 10px; }
  .story-card h3 { font-size: 20px; }
  .story-progress { bottom: 18px; }
  .story-step { height: 70vh; }
}
@media (prefers-reduced-motion: reduce) { .story-card, .orb-chip, .story-progress .seg { transition: none; } }

/* Module deep dive in tabs: the text column of a panel */
.tablist button { display: flex; align-items: center; gap: 10px; }
.tablist button svg { width: 18px; height: 18px; flex: none; color: var(--kobalt); }
.tabpanel .num { font: 500 13px/1 var(--font-sans); color: var(--kobalt); font-variant-numeric: tabular-nums; display: block; margin-bottom: 14px; letter-spacing: .02em; }
.tabpanel h2 { font: 600 clamp(24px, 2.6vw, 32px)/1.12 var(--font-sans); letter-spacing: var(--tracking-heading); margin: 0 0 12px; text-wrap: pretty; }
.tabpanel p { color: var(--grafiet); font-size: var(--text-md); margin: 0 0 12px; text-wrap: pretty; }
.tabpanel p.plan { font-size: var(--text-sm); color: var(--kobalt); margin: -2px 0 12px; }
.tabpanel .screen, .tabpanel .ui, .tabpanel .facts { max-width: 560px; }

/* Pipeline board inside a ui mock */
.ui .ui-board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.ui .ui-col { background: var(--nevel); border-radius: 6px; padding: 8px; min-height: 96px; }
.ui .ui-col h4 { margin: 0 0 6px; display: flex; justify-content: space-between; align-items: center; font: 500 12px/1 var(--font-sans); color: var(--grafiet); }
.ui .ui-col h4 span { font-variant-numeric: tabular-nums; color: var(--inkt); }
.ui .ui-card { background: var(--papier); border: 1px solid var(--lijn); border-radius: 4px; padding: 6px 8px; font: 400 12px/1.3 var(--font-sans); margin-top: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ui .ui-card.tint { background: var(--kobalt-tint); border-color: var(--kobalt-tint); color: var(--kobalt); }
@media (max-width: 600px) { .ui .ui-board { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* The steps as a wheel you scroll through (onboarding page) */
.wheel { position: relative; background: var(--nevel); }
.wheel-track { height: calc(var(--wheel-n, 7) * 52vh + 100vh); }
.wheel-stage { position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h)); display: flex; align-items: center; overflow: hidden; }
.wheel-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.wheel-side .lead { margin-bottom: 20px; }
.wheel-count { font: 500 14px/1 var(--font-sans); color: var(--kobalt); font-variant-numeric: tabular-nums; margin: 0 0 8px; }
.wheel-hint { font-size: var(--text-sm); margin: 0; }
.wheel-viewport { position: relative; height: min(72vh, 600px); perspective: 1500px; perspective-origin: 50% 50%; }
.wheel-ring { position: absolute; inset: 0; transform-style: preserve-3d; }
.wheel-item { position: absolute; left: 50%; top: 50%; width: min(100%, 580px); transform: translate(-50%, -50%); background: var(--papier); border: 1px solid var(--lijn); border-radius: 12px; padding: 24px 28px; box-shadow: var(--shadow-pop); will-change: transform, opacity; backface-visibility: hidden; }
.wheel-item .when { display: inline-block; font: 500 12px/1 var(--font-sans); color: var(--grafiet); letter-spacing: .04em; margin-bottom: 12px; padding: 6px 9px; border-radius: 999px; background: var(--nevel); transition: background-color .2s ease, color .2s ease; }
.wheel-item.is-active .when { background: var(--kobalt); color: var(--papier); }
.wheel-item h3 { margin: 0 0 8px; font-size: var(--text-lg); }
.wheel-item p { margin: 0; color: var(--grafiet); }
@media (max-width: 900px) { .wheel-grid { grid-template-columns: 1fr; gap: 12px; align-content: center; } .wheel-viewport { height: min(50vh, 400px); } .wheel-side .lead { margin-bottom: 6px; } .wheel-side .lead p { display: none; } .wheel-item { padding: 18px 20px; } }
.wheel--flat .wheel-track { height: auto; }
.wheel--flat .wheel-stage { position: static; height: auto; display: block; padding: var(--section-y) 0; overflow: visible; }
.wheel--flat .wheel-viewport { height: auto; perspective: none; }
.wheel--flat .wheel-ring { position: static; display: grid; gap: 12px; }
.wheel--flat .wheel-item { position: static; transform: none !important; opacity: 1 !important; }

/* Marker highlight in the story: a cobalt tint sweeps in under the words, with a thin cobalt line beneath */
mark.hl { color: inherit; background-color: transparent; background-image: linear-gradient(var(--kobalt-tint), var(--kobalt-tint)), linear-gradient(var(--kobalt), var(--kobalt)); background-repeat: no-repeat; background-size: 0% 100%, 0% 2px; background-position: 0 0, 0 100%; padding: .04em .14em; margin: 0 -.14em; border-radius: 4px; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size 1s var(--ease-out); }
.in mark.hl { background-size: 100% 100%, 100% 2px; }
.in mark.hl:nth-of-type(2) { transition-delay: .25s; }
.in mark.hl:nth-of-type(3) { transition-delay: .5s; }
.prose p:nth-of-type(2) mark.hl { transition-delay: .35s; }
.prose p:nth-of-type(2) mark.hl:nth-of-type(2) { transition-delay: .6s; }
.prose p:nth-of-type(3) mark.hl { transition-delay: .7s; }
.prose p:nth-of-type(3) mark.hl:nth-of-type(2) { transition-delay: .95s; }
.prose p:nth-of-type(3) mark.hl:nth-of-type(3) { transition-delay: 1.2s; }
@media (prefers-reduced-motion: reduce) { mark.hl { transition: none; background-size: 100% 100%, 100% 2px; } }

/* Handover: what you bring (ticks draw themselves) beside what you skip (struck through), on the onboarding page */
.handover { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 900px) { .handover { grid-template-columns: 1fr; } }
.hand { background: var(--papier); border: 1px solid var(--lijn); border-radius: 16px; padding: 28px; }
.hand-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.hand-head h3 { margin: 0; font-size: var(--text-lg); }
.hand-tag { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; font: 500 12px/1 var(--font-sans); letter-spacing: .04em; background: var(--kobalt); color: var(--papier); }
.hand-tag--us { background: var(--inkt); }
.hand-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.hand-list li { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-top: 1px solid var(--lijn-zacht); }
.hand-list li:first-child { border-top: 0; }
.hand-list .t { display: inline-block; position: relative; font: 600 var(--text-md)/1.3 var(--font-sans); letter-spacing: -.01em; color: var(--inkt); }
.hand-list .d { display: block; color: var(--grafiet); font-size: var(--text-sm); margin-top: 2px; }
.hand-check, .hand-x { flex: none; width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; transition: background-color .3s ease, color .3s ease; }
.hand-check { background: var(--nevel); color: var(--kobalt); }
.hand-x { background: var(--nevel); color: var(--grafiet); }
.hand-check svg, .hand-x svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hand-check svg path { stroke-dasharray: 26; stroke-dashoffset: 26; transition: stroke-dashoffset .5s var(--ease-out); }
.hand-x svg path { stroke-dasharray: 30; stroke-dashoffset: 30; transition: stroke-dashoffset .45s var(--ease-out); }
.hand-list--strike .t::after { content: ""; position: absolute; left: -2px; top: 54%; height: 2px; width: 0; background: var(--inkt); transition: width .5s var(--ease-out); }
.hand-list--strike .t { transition: color .4s ease .3s; }
.handover.in .hand-check { background: var(--kobalt-tint); }
.handover.in .hand-check svg path, .handover.in .hand-x svg path { stroke-dashoffset: 0; }
.handover.in .hand-list--strike .t::after { width: calc(100% + 4px); }
.handover.in .hand-list--strike .t { color: var(--grafiet); }
.handover.in .hand-list li:nth-child(1) svg path, .handover.in .hand-list li:nth-child(1) .t::after { transition-delay: .4s; }
.handover.in .hand-list li:nth-child(2) svg path, .handover.in .hand-list li:nth-child(2) .t::after { transition-delay: .65s; }
.handover.in .hand-list li:nth-child(3) svg path, .handover.in .hand-list li:nth-child(3) .t::after { transition-delay: .9s; }
.handover.in .hand-list li:nth-child(4) svg path, .handover.in .hand-list li:nth-child(4) .t::after { transition-delay: 1.15s; }
.handover.in .hand-list--strike li:nth-child(1) .t { transition-delay: .7s; } .handover.in .hand-list--strike li:nth-child(2) .t { transition-delay: .95s; } .handover.in .hand-list--strike li:nth-child(3) .t { transition-delay: 1.2s; } .handover.in .hand-list--strike li:nth-child(4) .t { transition-delay: 1.45s; }
.hand-list li:hover .hand-check { background: var(--kobalt); color: var(--papier); }
@media (prefers-reduced-motion: reduce) { .hand-check svg path, .hand-x svg path, .hand-list--strike .t::after, .hand-list--strike .t { transition: none; } }

/* The founder story with the why card beside it */
.story-why { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .story-why { grid-template-columns: 1fr; } }
.why { position: sticky; top: calc(var(--nav-h) + 24px); background: var(--inkt); color: var(--papier); border-radius: 20px; padding: 32px; }
@media (max-width: 900px) { .why { position: static; } }
.why-eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font: 500 12px/1.3 var(--font-sans); letter-spacing: .04em; color: rgba(255,255,255,.72); }
.why-eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--kobalt); }
.why-line { margin: 0 0 16px; font: 400 clamp(22px, 2.1vw, 30px)/1.25 var(--font-serif); letter-spacing: -.01em; text-wrap: pretty; }
.why-sub { margin: 0; font: 400 var(--text-base)/1.55 var(--font-sans); color: rgba(255,255,255,.72); }
.why mark.hl { background-image: linear-gradient(var(--kobalt), var(--kobalt)), linear-gradient(transparent, transparent); color: var(--papier); }

/* Pills fold open one after another when their block arrives or its step becomes active */
.checks li { transform-origin: 50% 0; transition: opacity .5s var(--ease-out), transform .6s var(--ease-out), box-shadow .25s ease; }
.reveal .checks li, .reveal-group .checks li { opacity: 0; transform: perspective(500px) rotateX(-60deg) translateY(6px); }
.reveal.in .checks li, .reveal-group.in .checks li { opacity: 1; transform: none; }
.checks li:nth-child(1) { transition-delay: .12s; } .checks li:nth-child(2) { transition-delay: .24s; } .checks li:nth-child(3) { transition-delay: .36s; } .checks li:nth-child(4) { transition-delay: .48s; } .checks li:nth-child(n+5) { transition-delay: .6s; }
.checks li:hover, .reveal.in .checks li:hover, .reveal-group.in .checks li:hover, .story-step.is-active .checks li:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(59,91,219,.18); transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) { .checks li, .reveal .checks li, .reveal-group .checks li, .story-steps.has-active .story-step:not(.is-active) .checks li { opacity: 1; transform: none; transition: none; } }

/* Facts: the points of a step as small tiles side by side, a keyword and one sentence each. They fold open
   one after another when the block reveals or the step becomes active. */
.facts { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.facts:has(> :nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.facts li { position: relative; background: var(--kobalt-tint); border-radius: 12px; padding: 12px 12px 12px 17px; font: 400 12.5px/1.45 var(--font-sans); color: var(--grafiet); text-wrap: pretty; transform-origin: 50% 0; transition: opacity .5s var(--ease-out), transform .6s var(--ease-out), box-shadow .25s ease; }
.facts li::before { content: ""; position: absolute; left: 7px; top: 13px; width: 3px; height: 14px; border-radius: 2px; background: var(--kobalt); }
.facts .k { display: block; font: 600 14px/1.25 var(--font-sans); letter-spacing: -.01em; color: var(--inkt); margin-bottom: 4px; }
.on-tint .facts li, .section--tint .facts li, .section--dots .facts li { background: var(--papier); }
.reveal .facts li { opacity: 0; transform: perspective(500px) rotateX(-60deg) translateY(6px); }
.reveal.in .facts li { opacity: 1; transform: none; }
.facts li:nth-child(1) { transition-delay: .12s; } .facts li:nth-child(2) { transition-delay: .24s; } .facts li:nth-child(3) { transition-delay: .36s; } .facts li:nth-child(n+4) { transition-delay: .48s; }
.facts li:hover, .reveal.in .facts li:hover, .story-step.is-active .facts li:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(59,91,219,.16); transition-delay: 0s; }
@media (max-width: 600px) { .facts, .facts:has(> :nth-child(4)) { grid-template-columns: 1fr 1fr; } }
@media (prefers-reduced-motion: reduce) { .facts li, .reveal .facts li { opacity: 1; transform: none; transition: none; } }

/* Steps with a scene above the columns (site.js stepsScenes): a track, satellites, pillars or a cube.
   The step in the spotlight shows a cobalt line, its number becomes a cobalt pill, hovering pins it. */
.steps--scene { position: relative; }
.steps-scene { position: relative; margin: -8px 0 2px; }
.steps-scene--track { height: 200px; }
.steps-scene--orbit { height: 390px; }
.steps-scene--pillars { height: 250px; }
.steps-scene canvas { display: block; width: 100%; height: 100%; }
.steps--scene .step { position: relative; border-top-color: var(--lijn); }
.steps--scene .step::before { content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 2px; background: var(--kobalt); transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--ease-out); }
.steps--scene .step.is-on::before { transform: scaleX(1); }
.steps--scene .step .n { display: inline-block; padding: 5px 7px; margin: 0 0 8px -7px; border-radius: 6px; transition: background-color .3s ease, color .3s ease; }
.steps--scene .step.is-on .n { background: var(--kobalt); color: var(--papier); }
/* the cube: three visible faces, one per step */
.steps-scene--cube { height: 250px; display: flex; align-items: center; justify-content: center; perspective: 1100px; margin-bottom: 16px; }
.cube-scene { position: relative; width: 150px; height: 150px; transform-style: preserve-3d; }
.cube { position: absolute; inset: 0; transform-style: preserve-3d; animation: cube-rock 9s ease-in-out infinite alternate; }
.cube .face { position: absolute; inset: 0; background: var(--papier); border: 1px solid var(--lijn); display: grid; place-items: center; font: 500 26px/1 var(--font-sans); color: var(--kobalt); font-variant-numeric: tabular-nums; backface-visibility: hidden; transition: background-color .35s ease, color .35s ease, border-color .35s ease; }
.face--front { transform: translateZ(75px); }
.face--right { transform: rotateY(90deg) translateZ(75px); background: #f3f3f6; }
.face--top { transform: rotateX(90deg) translateZ(75px); }
.face--back { transform: rotateY(180deg) translateZ(75px); background: var(--nevel); }
.face--left { transform: rotateY(-90deg) translateZ(75px); background: var(--nevel); }
.face--bottom { transform: rotateX(-90deg) translateZ(75px); background: var(--nevel); }
.cube[data-on="0"] .face--front, .cube[data-on="1"] .face--right, .cube[data-on="2"] .face--top { background: var(--kobalt); border-color: var(--kobalt); color: var(--papier); }
.cube-shadow { position: absolute; left: 50%; bottom: -46px; width: 230px; height: 56px; margin-left: -115px; border-radius: 50%; background: radial-gradient(closest-side, rgba(28,28,30,.2), transparent); }
@keyframes cube-rock { from { transform: rotateX(-24deg) rotateY(-30deg); } to { transform: rotateX(-30deg) rotateY(-48deg); } }
@media (max-width: 900px) { .steps-scene { display: none; } .steps--scene .step.is-on::before { transform: scaleX(0); } .steps--scene .step:first-child { border-top-color: var(--kobalt); } .steps--scene .step .n { background: none; color: var(--kobalt); } }
@media (prefers-reduced-motion: reduce) { .cube { animation: none; transform: rotateX(-27deg) rotateY(-38deg); } }

/* Product page: the hero fills the screen, the story stage is its own rounded panel that rises into place
   in 3D as you scroll (site.js sets the transform per frame; the class story--entrance sets the start state) */
.story--inset .story-stage { margin: 0 4vw; border-radius: 24px; top: calc(var(--nav-h) + 12px); height: calc(100vh - var(--nav-h) - 24px); transform-origin: 50% 100%; will-change: transform, opacity; }
.story--entrance .story-stage { transform: perspective(1400px) rotateX(16deg) scale(.86) translateY(40px); opacity: .4; }
@media (prefers-reduced-motion: reduce) { .story--entrance .story-stage { transform: none; opacity: 1; } }
.tabpanel.flash { animation: panel-flash 1.2s ease-out; }
@keyframes panel-flash { 0% { background: var(--kobalt-tint); } 100% { background: transparent; } }

/* Plans: three cards, the middle one in front, the outer ones slightly turned towards it */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; perspective: 1400px; margin-bottom: 24px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px 24px 24px; border: 1px solid var(--lijn); border-radius: 16px; background: var(--papier); transition: border-color .25s ease, opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.plan:hover { border-color: var(--kobalt); }
.plan--main { border: 2px solid var(--kobalt); z-index: 1; padding-top: 34px; }
.plans > .plan:nth-child(1) { transform-origin: 100% 50%; }
.plans > .plan:nth-child(3) { transform-origin: 0 50%; }
.reveal-group.in > .plan:nth-child(1) { transform: translateX(14px) scale(.94) rotateY(8deg); }
.reveal-group.in > .plan:nth-child(3) { transform: translateX(-14px) scale(.94) rotateY(-8deg); }
.reveal-group.in > .plan--main { transform: translateY(-14px); }
.plan-badge { position: absolute; top: -1px; right: -1px; padding: 7px 12px; border-radius: 0 14px 0 12px; background: var(--kobalt); color: var(--papier); font: 500 12px/1 var(--font-sans); letter-spacing: .02em; }
.plan-name { font: 600 28px/1.1 var(--font-sans); letter-spacing: var(--tracking-heading); color: var(--inkt); }
.plan-desc { margin: 0; color: var(--grafiet); font-size: var(--text-base); text-wrap: pretty; }
.plan-list { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.plan-list li { display: flex; align-items: flex-start; gap: 10px; font-size: var(--text-base); color: var(--inkt); }
.plan-list li svg { flex: none; width: 16px; height: 16px; color: var(--kobalt); margin-top: 3px; }
.plan .btn { margin-top: auto; width: 100%; box-sizing: border-box; }
.plan-note { margin: 0; padding-top: 12px; border-top: 1px solid var(--lijn); font-size: var(--text-sm); color: var(--grafiet); }
@media (max-width: 900px) and (min-width: 760px) { .plans { grid-template-columns: 1fr; } .reveal-group.in > .plan { transform: none; } }
@media (prefers-reduced-motion: reduce) { .reveal-group.in > .plan { transform: none; } }
