/* TechCast — commerciële site (techcast.be). Ontwerp overgenomen uit de eerste versie (artifact, 8 nov 2026). */
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/instrument-sans-400.woff2) format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/instrument-sans-500.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/figtree-400.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/figtree-500.woff2) format("woff2"); }
:root {
  color-scheme: dark;
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --text-xs: 0.8125rem; --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.25rem; --text-xl: 1.5625rem; --text-2xl: 1.953rem; --text-3xl: 2.441rem;
  --text-display-s: clamp(2.25rem, 4vw + 0.5rem, 3.75rem); --text-display: clamp(2.75rem, 5vw + 1rem, 5.25rem);
  --text-section: clamp(2rem, 2.5vw + 1rem, 3.5rem); --text-title: clamp(1.25rem, 0.75vw + 0.875rem, 1.625rem); --text-lead: clamp(1.125rem, 0.35vw + 1rem, 1.375rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;
  --color-error: oklch(52% 0.19 27); --color-success: oklch(50% 0.12 150);
  --container: 1440px; --gutter: 64px; --gap-columns: 32px; --section-gap-s: 120px; --section-gap: 144px; --section-gap-l: 176px;
  --z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-sticky-nav: 300; --z-modal: 400; --z-toast: 500; --z-tooltip: 600;
  --color-paper: oklch(13.2% 0.022 258); --color-paper-2: oklch(16.4% 0.022 258); --color-paper-3: oklch(19.6% 0.022 258);
  --color-ink: oklch(93.5% 0.012 85); --color-ink-2: oklch(84% 0.014 85); --color-muted: oklch(72% 0.02 255);
  --color-rule: oklch(27% 0.02 258); --color-rule-2: oklch(22% 0.02 258);
  --color-accent: oklch(82% 0.095 68); --color-accent-soft: oklch(34% 0.05 66); --color-accent-ink: oklch(20% 0.03 62); --color-focus: oklch(84% 0.15 70);
  --color-band: oklch(10.5% 0.02 258); --color-band-ink: oklch(93.5% 0.012 85);
  --color-slot: oklch(30% 0.03 258);
  --color-land: oklch(9% 0.016 258); --color-haze: oklch(24% 0.05 245);
  --metal-hi: oklch(44% 0.012 255); --metal-lo: oklch(25% 0.014 255);
  --edge-light: inset 0 1px 0 oklch(100% 0 0 / 0.07); --edge-lit: inset 0 1px 0 oklch(100% 0 0 / 0.35); --grip: oklch(100% 0 0 / 0.06);
  --shadow-part: 0 1px 0 oklch(4% 0.01 258 / 0.6), 0 10px 18px -6px oklch(4% 0.01 258 / 0.7);
  --shadow-panel: 0 1px 0 oklch(4% 0.01 258 / 0.5), 0 24px 48px -16px oklch(4% 0.01 258 / 0.8);
  --shadow-bed: inset 0 2px 4px oklch(4% 0.01 258 / 0.7), inset 0 0 0 1px oklch(4% 0.01 258 / 0.5);
  --font-display: "Instrument Sans", ui-sans-serif, system-ui, sans-serif; --font-body: "Figtree", ui-sans-serif, system-ui, sans-serif;
  --font-outlier: "JetBrains Mono", ui-monospace, monospace;
  --radius-card: 20px; --radius-part: 6px; --radius-pill: 999px; --rule-hair: 1px;
  --shadow-card: none;
  --tracking-display: -0.035em; --display-weight: 400;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scrollbar-color: var(--color-muted) var(--color-paper); scroll-padding-top: var(--space-3xl); }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.55; -webkit-font-smoothing: antialiased; caret-color: var(--color-accent); }
::selection { background: color-mix(in oklab, var(--color-accent) 22%, transparent); color: var(--color-ink); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight, 700); font-synthesis: none; letter-spacing: var(--tracking-display); line-height: 1.05; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
h1 { max-width: 20ch; font-size: var(--text-display); } h2 { max-width: 30ch; font-size: var(--text-section); } h3 { max-width: 40ch; font-size: var(--text-title); line-height: 1.2; }
.lead { font-size: var(--text-lead); line-height: 1.45; max-width: 52ch; }
p { margin: 0; text-wrap: pretty; }
p:not([class]) { max-width: 65ch; }
img, video { max-width: 100%; height: auto; display: block; }
svg { display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); box-sizing: border-box; }
.num, .figure, td.num { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[data-slot] { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--color-paper-2, var(--color-paper)), var(--color-paper-3, var(--color-paper))); }
[data-slot] > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
[data-slot]:has(> img) > :not(img):not([data-keep]) { display: none !important; }
@media (max-width: 60rem) { :root { --gutter: 24px; --section-gap-s: 80px; --section-gap: 96px; --section-gap-l: 120px; } }
@media (max-width: 40rem) { :root { --gutter: 16px; --section-gap-s: 56px; --section-gap: 72px; --section-gap-l: 96px; --gap-columns: 16px; } }
@media (prefers-reduced-motion: reduce) { *:not(.keep-motion), *:not(.keep-motion)::before, *:not(.keep-motion)::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }
/* photographs: muted sepia=14 */
[data-slot] > img { filter: saturate(0.65) contrast(0.97) sepia(0.14); }

body { background: var(--color-paper); }
.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); border-radius: var(--radius-part); }
.skip:focus-visible { top: var(--space-md); }

.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); }

/* Buttons: machined pills, lit from above */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 52px; padding: 0 var(--space-lg); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-pill); background: linear-gradient(var(--color-paper-3), var(--color-paper-2)); box-shadow: var(--edge-light), var(--shadow-part); color: var(--color-ink); font: 500 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:hover { border-color: var(--color-muted); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn[aria-busy="true"] { cursor: progress; }
.btn--primary { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); box-shadow: var(--edge-lit), var(--shadow-part); }
.btn--primary:hover { background: var(--color-focus); border-color: var(--color-focus); }
.btn--small { min-height: 44px; padding: 0 var(--space-md); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* Nav */
.nav { position: absolute; top: 0; left: 0; right: 0; z-index: var(--z-raised); }
.nav__in { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: var(--space-lg); }
.wordmark { font: 500 var(--text-xl)/1 var(--font-display); letter-spacing: -0.02em; text-decoration: none; color: var(--color-ink); border-radius: var(--radius-part); }
.wordmark:hover { color: var(--color-ink-2); }
.nav__links { display: flex; align-items: center; gap: var(--space-lg); }
.nav__link { font-size: var(--text-sm); color: var(--color-muted); text-decoration: none; white-space: nowrap; border-radius: var(--radius-part); transition: color var(--dur-short) var(--ease-out); }
.nav__link:hover { color: var(--color-ink); }
.nav__link:focus-visible, .wordmark:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }

/* Stage: the night drawn behind nav and hero */
.stage { position: relative; isolation: isolate; background: linear-gradient(to bottom, var(--color-paper) 0%, var(--color-paper) 45%, var(--color-haze) 82%, var(--color-land) 100%); }
.stage__night, .horizon__night { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.grain { position: absolute; inset: 0; z-index: -1; background-image: var(--grain); background-size: 160px; mix-blend-mode: soft-light; opacity: 0.3; pointer-events: none; }

.hero { min-height: 100svh; display: grid; align-items: center; padding-block: calc(76px + var(--space-xl)) var(--space-3xl); }
.hero__col { display: grid; justify-items: center; text-align: center; gap: var(--space-lg); }
.hero h1 { max-width: none; font-size: clamp(3.5rem, 8vw, 7.5rem); line-height: 1.02; }
.hero .lead { color: var(--color-muted); max-width: 56ch; }

/* Account form */
.signup { display: grid; gap: var(--space-xs); width: min(100%, 30rem); text-align: left; }
.signup label { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
.signup__row { display: flex; gap: var(--space-xs); }
.signup input, .country select { flex: 1; min-width: 0; min-height: 52px; padding: 0 var(--space-lg); border: 1px solid var(--color-muted); border-radius: var(--radius-pill); background: var(--color-band); color: var(--color-ink); box-shadow: var(--shadow-bed); outline: 2px solid transparent; outline-offset: 2px; font-size: var(--text-md); }
.signup input::placeholder { color: var(--color-muted); }
.signup input:hover, .country select:hover { border-color: var(--color-ink-2); }
.signup input:focus-visible, .country select:focus-visible { outline-color: var(--color-focus); }
.signup input[aria-invalid] { border-color: var(--color-error); }
.signup input:disabled { opacity: 0.55; cursor: not-allowed; }
.signup__help { min-height: 1lh; font-size: var(--text-sm); color: var(--color-muted); }

/* Signature: two hours against eight minutes, to scale */
.scale { width: min(100%, 54rem); margin: var(--space-xl) 0 0; display: grid; grid-template-columns: 8rem minmax(0, 1fr) 6.5rem; align-items: center; column-gap: var(--space-lg); row-gap: var(--space-md); text-align: left; }
.scale dt { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
.scale dd { margin: 0; display: contents; }
.scale__bar { height: 2px; border-radius: var(--radius-pill); background: var(--color-muted); opacity: 0.6; }
.scale__bar--short { width: 6.667%; height: 6px; background: var(--color-accent); opacity: 1; box-shadow: var(--edge-light); }
.scale__val { font: 400 var(--text-xl)/1 var(--font-display); font-variant-numeric: tabular-nums; text-align: right; color: var(--color-ink); white-space: nowrap; }
.scale__val--lit { color: var(--color-accent); }

/* Sections */
.section { padding-block: var(--section-gap); }
.section--tight { padding-block: var(--section-gap-s); }
.section--long { padding-block: var(--section-gap-l); }
.head { min-width: 0; display: grid; gap: var(--space-lg); align-content: start; }
.head .lead { color: var(--color-muted); }

/* The summary as it lands: split */
.split { align-items: center; }
.split .head { grid-column: 1 / span 5; }
.split .demo { grid-column: 6 / span 7; }
.demo { min-width: 0; min-height: 480px; padding: var(--space-xl); border-radius: var(--radius-card); background: linear-gradient(var(--color-paper-3), var(--color-paper-2)); box-shadow: var(--edge-light), var(--shadow-panel); display: grid; gap: var(--space-lg); align-content: start; }
.demo__top { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-md); padding-bottom: var(--space-md); border-bottom: 1px solid var(--color-rule); }
.demo__title { font: 500 var(--text-xl)/1.2 var(--font-display); letter-spacing: -0.015em; }
.demo__ep { font-size: var(--text-sm); color: var(--color-muted); white-space: nowrap; }
.demo__meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); margin: 0; }
.demo__meta dt { font-size: var(--text-sm); color: var(--color-muted); }
.demo__meta dd { margin: var(--space-2xs) 0 0; font-weight: 500; font-variant-numeric: tabular-nums; }
.seg { display: flex; flex-wrap: wrap; gap: var(--space-2xs); padding: var(--space-2xs); border-radius: var(--radius-pill); background: var(--color-band); box-shadow: var(--shadow-bed); width: fit-content; max-width: 100%; }
.seg button { min-height: 44px; padding: 0 var(--space-md); border: 1px solid transparent; border-radius: var(--radius-pill); background: transparent; color: var(--color-muted); font-size: var(--text-sm); font-weight: 500; cursor: pointer; white-space: nowrap; transition: color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.seg button:hover { color: var(--color-ink); }
.seg button:active { transform: translateY(1px); }
.seg button:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.seg button:disabled { opacity: 0.55; cursor: not-allowed; }
.seg button[aria-selected="true"] { background: linear-gradient(var(--metal-hi), var(--metal-lo)); color: var(--color-ink); border-color: var(--color-rule); box-shadow: var(--edge-light), var(--shadow-part); }
[data-switch] { display: grid; gap: var(--space-lg); }
.demo__text { font-size: var(--text-lg); line-height: 1.65; color: var(--color-ink-2); max-width: 58ch; }
.player { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--space-md); padding-top: var(--space-md); border-top: 1px solid var(--color-rule); }
.player__time { font-size: var(--text-sm); color: var(--color-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.scrub { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; --pos: 0%; }
.scrub::-webkit-slider-runnable-track { height: 6px; border-radius: var(--radius-pill); background: linear-gradient(to right, var(--color-accent) var(--pos), var(--color-band) var(--pos)); box-shadow: var(--shadow-bed); }
.scrub::-moz-range-track { height: 6px; border-radius: var(--radius-pill); background: linear-gradient(to right, var(--color-accent) var(--pos), var(--color-band) var(--pos)); box-shadow: var(--shadow-bed); }
.scrub::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 20px; margin-top: -7px; border-radius: var(--radius-part); border: 1px solid var(--color-rule); background: repeating-linear-gradient(to right, transparent 0 3px, var(--grip) 3px 4px), linear-gradient(var(--metal-hi), var(--metal-lo)); box-shadow: var(--edge-light), var(--shadow-part); }
.scrub::-moz-range-thumb { width: 28px; height: 20px; border-radius: var(--radius-part); border: 1px solid var(--color-rule); background: linear-gradient(var(--metal-hi), var(--metal-lo)); box-shadow: var(--edge-light), var(--shadow-part); }
.scrub:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; border-radius: var(--radius-part); }
.scrub:disabled { opacity: 0.55; cursor: not-allowed; }
.scrub:active::-webkit-slider-thumb { transform: translateY(1px); }

/* From link to listening: rows */
.rows-wrap .head { grid-column: 1 / span 4; }
.rows { grid-column: 5 / span 8; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.rows li { counter-increment: step; display: grid; grid-template-columns: 4rem minmax(0, 1fr) minmax(0, 1.3fr); gap: var(--gap-columns); align-items: baseline; padding-block: var(--space-xl); border-top: 1px solid var(--color-rule); }
.rows li:last-child { border-bottom: 1px solid var(--color-rule); }
.rows li::before { content: counter(step); font: 400 var(--text-xl)/1 var(--font-display); color: var(--color-accent); font-variant-numeric: tabular-nums; }
.rows h3 { font-size: var(--text-title); }
.rows p { color: var(--color-muted); }

/* Sample library: index */
.lib .head { grid-column: 1 / span 7; margin-bottom: var(--space-2xl); }
.table-wrap { grid-column: 1 / -1; overflow-x: auto; }
.lib table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.lib th { text-align: left; font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); padding: 0 0 var(--space-md); border-bottom: 1px solid var(--color-rule); white-space: nowrap; }
.lib td { padding: var(--space-lg) 0; border-bottom: 1px solid var(--color-rule); color: var(--color-ink-2); }
.lib td:first-child { color: var(--color-ink); font-weight: 500; }
.lib th.num, .lib td.num { text-align: right; }
.lib td.lit { color: var(--color-accent); }
.lib tr.lead-row td { padding-block: var(--space-xl); font-size: var(--text-lg); }
.lib tr.lead-row td:first-child { font: 400 var(--text-title)/1.2 var(--font-display); letter-spacing: -0.015em; }
.lib caption { caption-side: bottom; text-align: left; padding-top: var(--space-md); font-size: var(--text-sm); color: var(--color-muted); }

/* Statement band */
.band { background: var(--color-band); color: var(--color-band-ink); }
.statement { grid-column: 1 / span 10; max-width: none; font-size: var(--text-section); line-height: 1.12; }

/* Price under the horizon */
.horizon { position: relative; isolation: isolate; background: linear-gradient(to bottom, var(--color-paper) 0%, var(--color-haze) 70%, var(--color-land) 100%); }
.price { align-items: center; }
.price__fig { grid-column: 1 / span 6; display: grid; gap: var(--space-lg); }
.price h2 { max-width: none; font-size: clamp(6rem, 12vw, 10rem); line-height: 0.95; font-variant-numeric: tabular-nums; }
.price h2 small { display: block; margin-top: var(--space-sm); font: 400 var(--text-xl)/1.2 var(--font-display); letter-spacing: -0.015em; color: var(--color-muted); }
.price__fig p { color: var(--color-muted); max-width: 36ch; }
.price__form { grid-column: 8 / span 5; display: grid; gap: var(--space-lg); }
.country { display: grid; gap: var(--space-xs); }
.country label { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
.country select { flex: none; width: 100%; padding-right: var(--space-xl); cursor: pointer; }
.price .signup { width: 100%; }
.fill { padding: 0 0.25em; border: 1px dashed color-mix(in oklch, var(--color-muted) 70%, transparent); border-radius: 3px; color: var(--color-muted); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.price h2 .fill { font-size: var(--text-section); font-variant-numeric: tabular-nums; }

/* Footer: colophon block */
.foot { padding-block: var(--space-3xl) var(--space-2xl); background: var(--color-land); }
.foot__in { display: grid; gap: var(--space-xl); }
.foot .wordmark { font-size: var(--text-2xl); }
.foot p { color: var(--color-muted); max-width: 60ch; }
.foot nav ul { display: flex; flex-wrap: wrap; gap: var(--space-lg); list-style: none; margin: 0; padding: 0; }
.foot a { color: var(--color-ink-2); border-radius: var(--radius-part); text-decoration-color: var(--color-rule); }
.foot a:hover { color: var(--color-ink); text-decoration-color: var(--color-accent); }
.foot a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.foot__legal { max-width: none; padding-top: var(--space-lg); border-top: 1px solid var(--color-rule); font-size: var(--text-sm); }

/* One reveal */
.js:not(.sdt) [data-reveal] { opacity: 0; transform: translateY(8px); transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); transition-delay: calc(var(--i, 0) * 60ms); }
.js:not(.sdt) [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1; transform: none; transition: none; } .btn, .seg button, .nav__link { transition: none; } }

/* Under 60rem everything stacks */
@media (max-width: 60rem) {
  .split .head, .split .demo, .rows-wrap .head, .rows, .lib .head, .statement, .price__fig, .price__form { grid-column: 1 / -1; }
  .split, .rows-wrap, .price { row-gap: var(--space-2xl); }
  .rows li { grid-template-columns: 2.5rem minmax(0, 1fr); }
  .rows li p { grid-column: 2; }
  .nav__link--hide { display: none; }
  .demo { padding: var(--space-lg); min-height: 0; }
}
@media (max-width: 24rem) { .nav__links .nav__link { display: none; } }
@media (max-width: 40rem) {
  .scale { grid-template-columns: minmax(0, 1fr) auto; }
  .scale dt { grid-column: 1 / -1; margin-bottom: calc(-1 * var(--space-xs)); }
  .signup__row { flex-direction: column; }
  .nav__links { gap: var(--space-md); }
  .nav__links .btn { padding: 0 var(--space-sm); }
  .wordmark { font-size: var(--text-lg); }
  .seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; border-radius: var(--radius-card); }
  .player { grid-template-columns: auto minmax(0, 1fr); }
  .player__time { grid-column: 1 / -1; }
  .lib thead { display: none; }
  .lib tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; padding-block: var(--space-md); border-bottom: 1px solid var(--color-rule); }
  .lib td { border: 0; padding: var(--space-2xs) 0; }
  .lib tr.lead-row td { padding-block: var(--space-2xs); }
  .lib td.num { text-align: right; }
}

.nav { padding-top: env(safe-area-inset-top, 0px); }
.foot { padding-bottom: calc(var(--space-2xl) + env(safe-area-inset-bottom, 0px)); }
html { scroll-padding-top: env(safe-area-inset-top, 0px); }
/* ---------- Motion ---------- */
.spine { display: none; position: fixed; top: 0; bottom: 0; left: max(12px, 1.2vw); width: 2px; background: var(--color-rule); z-index: var(--z-sticky); pointer-events: none; }
.spine::after { content: ""; position: absolute; inset: 0; background: var(--color-accent); transform-origin: top; transform: scaleY(0); }
.len { display: inline-block; vertical-align: middle; width: calc(var(--l) * 7rem); height: 2px; margin-right: var(--space-md); border-radius: var(--radius-pill); background: var(--color-muted); opacity: 0.6; transform-origin: right; }
.len--lit { height: 4px; background: var(--color-accent); opacity: 1; }
.rows li { position: relative; }
.rows li::after { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--color-accent); transform-origin: left; transform: scaleX(0); opacity: 0; }
.demo__text.stream span { display: inline-block; animation: word var(--dur-long) var(--ease-out) both; animation-delay: calc(var(--w) * 28ms); }
@keyframes word { from { opacity: 0; transform: translateY(6px); } }

/* Hero entrance on load */
@media (prefers-reduced-motion: no-preference) {
  .js .hero h1, .js .hero .lead, .js .hero .signup { animation: rise 900ms var(--ease-out) both; }
  .js .hero .lead { animation-delay: 120ms; }
  .js .hero .signup { animation-delay: 240ms; }
  .js .scale dt, .js .scale__val { animation: fade 700ms var(--ease-out) 500ms both; }
  .js .scale__bar { transform-origin: left; animation: draw 1400ms var(--ease-out) 450ms both; }
  .js .scale__bar--short { animation-delay: 1500ms; animation-duration: 700ms; }
  .js .scale__val--lit { animation-delay: 1700ms; }
  @keyframes rise { from { opacity: 0; transform: translateY(28px); } }
  @keyframes fade { from { opacity: 0; } }
  @keyframes draw { from { transform: scaleX(0); } }
}

/* Scroll-driven, where supported */
@supports (animation-timeline: view()) {
  .sdt .spine { display: block; }
  .sdt .spine::after { animation: spine linear both; animation-timeline: scroll(root); }
  @keyframes spine { to { transform: scaleY(1); } }

  .sdt .hero__col { animation: hero-out linear both; animation-timeline: view(); animation-range: exit 5% exit 90%; }
  @keyframes hero-out { to { opacity: 0.1; transform: translateY(-80px) scale(0.96); } }

  .sdt .split .head { animation: from-left linear both; animation-timeline: view(); animation-range: entry 10% cover 38%; }
  .sdt .split .demo { transform-origin: 50% 100%; animation: panel-in linear both; animation-timeline: view(); animation-range: entry 0% cover 42%; }
  @keyframes from-left { from { opacity: 0; transform: translateX(-64px); } }
  @keyframes panel-in { from { opacity: 0; transform: perspective(1400px) translateY(120px) rotateX(18deg) scale(0.92); } }

  .sdt .rows-wrap .head h2 { animation: wipe linear both; animation-timeline: view(); animation-range: entry 20% cover 40%; }
  .sdt .rows li::after { animation: sweep linear both; animation-timeline: view(); animation-range: entry 15% cover 45%; }
  .sdt .rows li > *, .sdt .rows li::before { animation: row-in linear both; animation-timeline: view(); animation-range: entry 15% cover 38%; }
  @keyframes sweep { 0% { transform: scaleX(0); opacity: 1; } 75% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
  @keyframes row-in { from { opacity: 0.12; transform: translateX(40px); } }

  .sdt .lib h2 { animation: wipe linear both; animation-timeline: view(); animation-range: entry 20% cover 40%; }
  .sdt .lib tbody tr { animation: row-up linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
  .sdt .lib .len { animation: grow linear both; animation-timeline: view(); animation-range: entry 40% cover 35%; }
  @keyframes row-up { from { opacity: 0; transform: translateY(32px); } }
  @keyframes grow { from { transform: scaleX(0); } }

  .sdt .statement { animation: wipe linear both; animation-timeline: view(); animation-range: entry 25% cover 50%; }
  @keyframes wipe { from { clip-path: inset(0 100% 0 0); transform: translateX(-0.3em); } to { clip-path: inset(0 0 0 0); transform: none; } }

  .sdt .price [data-price] { display: inline-block; animation: price-rise linear both; animation-timeline: view(); animation-range: entry 5% cover 40%; }
  .sdt .price h2 small, .sdt .price__fig p { animation: fade linear both; animation-timeline: view(); animation-range: entry 30% cover 45%; }
  .sdt .price__form { animation: from-right linear both; animation-timeline: view(); animation-range: entry 10% cover 40%; }
  @keyframes price-rise { from { opacity: 0; transform: translateY(45%) scale(0.88); } }
  @keyframes from-right { from { opacity: 0; transform: translateX(64px); } }
}
@media (prefers-reduced-motion: reduce) { .spine { display: none !important; } .demo__text.stream span { animation: none; } }

.wordmark--icon { display: inline-flex; align-items: center; gap: var(--space-sm); }
.app-icon { width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px; }
@media (max-width: 40rem) { .app-icon { width: 32px; height: 32px; border-radius: 8px; } }

/* ---------- Toevoegingen voor de live site (techcast.be) ---------- */
.nav__lang { font-size: var(--text-sm); font-weight: 500; color: var(--color-ink-2); text-decoration: none; padding: var(--space-2xs) var(--space-xs); border: 1px solid var(--color-rule); border-radius: var(--radius-pill); }
.nav__lang:hover { border-color: var(--color-muted); color: var(--color-ink); }
.nav__lang:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }

.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-sm); }
.hero__note { font-size: var(--text-sm); color: var(--color-muted); }

/* Prijs: maand / jaar */
.plans { display: grid; gap: var(--space-lg); }
.plans__fig { display: grid; gap: var(--space-xs); }
.plans__amount { font: var(--display-weight) clamp(5rem, 11vw, 9rem)/0.95 var(--font-display); letter-spacing: var(--tracking-display); font-variant-numeric: tabular-nums; }
.plans__per { font: 400 var(--text-xl)/1.2 var(--font-display); color: var(--color-muted); }
.plans__note { min-height: 1lh; color: var(--color-accent); font-weight: 500; }
.plans__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-xs); color: var(--color-ink-2); }
.plans__list li::before { content: "—"; color: var(--color-accent); margin-right: var(--space-xs); }
.plans__fine { font-size: var(--text-sm); color: var(--color-muted); }

/* Veelgestelde vragen */
.faq .head { grid-column: 1 / span 4; }
.faq__list { grid-column: 5 / span 8; display: grid; }
.faq details { border-top: 1px solid var(--color-rule); padding-block: var(--space-lg); }
.faq details:last-child { border-bottom: 1px solid var(--color-rule); }
.faq summary { cursor: pointer; font: 500 var(--text-title)/1.3 var(--font-display); letter-spacing: -0.015em; list-style: none; display: flex; justify-content: space-between; gap: var(--space-md); border-radius: var(--radius-part); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--color-accent); font-variant-numeric: tabular-nums; }
.faq details[open] summary::after { content: "–"; }
.faq summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.faq details p { margin-top: var(--space-sm); color: var(--color-muted); }
@media (max-width: 60rem) { .faq .head, .faq__list { grid-column: 1 / -1; } .faq { row-gap: var(--space-xl); } }

/* Juridische pagina's */
.legal { padding-block: calc(76px + var(--space-2xl)) var(--section-gap); }
.legal__in { max-width: 72ch; margin-inline: auto; display: grid; gap: var(--space-md); }
.legal h1 { font-size: var(--text-display-s); max-width: none; margin-bottom: var(--space-md); }
.legal h2 { font-size: var(--text-xl); max-width: none; margin-top: var(--space-xl); }
.legal p, .legal li { color: var(--color-ink-2); }
.legal ul { margin: 0; padding-left: 1.2em; display: grid; gap: var(--space-2xs); }
.legal__draft { padding: var(--space-md); border: 1px dashed var(--color-accent); border-radius: var(--radius-part); color: var(--color-accent) !important; font-size: var(--text-sm); }
.legal__meta { color: var(--color-muted) !important; font-size: var(--text-sm); }

.foot__row { display: flex; flex-wrap: wrap; gap: var(--space-lg); align-items: baseline; justify-content: space-between; }
/* Gsm: de knop "Account aanmaken" staat al in de hero en bij de prijs; de navigatie blijft zo binnen het scherm. */
@media (max-width: 40rem) { .nav__links .btn { display: none; } }
