/* And Repeat, AI Native Data Layer site, volgens Brand Styleguide v1 */

:root {
  --terracotta: #C05A2E;
  --terracotta-deep: #A8471F;
  --dark: #101216;
  --panel: #16181E;
  --panel-2: #1B1E25;
  --light: #F4F4F2;
  --body: #24262B;
  --grey: #8A9099;
  --grey-mid: #6E747E;
  --grey-deep: #3A3D44;
  --line: #262A32;
  --card-light: #FBFBFA;
  --border-light: #E4E4E0;
  --caption: #6B6B67;
  --font-sans: 'Space Grotesk', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--dark);
  color: var(--light);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 18px 0; }
h1 { font-size: clamp(40px, 6.5vw, 78px); }
h2 { font-size: clamp(30px, 4.5vw, 48px); }
h3 { font-size: 20px; }
p { margin: 0 0 16px 0; color: var(--grey); }

a { color: var(--terracotta); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.amp { color: var(--terracotta); }

/* Kickers */
.kicker {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 16px;
}
.kicker::before { content: "> "; }
.kicker.muted { color: var(--grey); }

/* Cursor: één knipperende cursor per pagina (hero) */
@keyframes rr-blink { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } }
.cursor { animation: rr-blink 1.1s step-end infinite; font-weight: 700; color: var(--terracotta); }
.chat-caret { display: inline-block; width: 9px; background: var(--grey-mid); height: 1em; vertical-align: text-bottom; }

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(16, 18, 22, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }

.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 70px;
}

.logo {
  text-decoration: none;
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.02em;
  color: var(--light);
  white-space: nowrap;
}
.logo .prompt { font-family: var(--font-mono); font-weight: 400; font-size: 15px; color: var(--grey); }
.logo .amp { color: var(--terracotta); }

.nav-toggle { display: none; }
.nav-toggle-label {
  display: none;
  font-family: var(--font-mono);
  font-size: 14px;
  cursor: pointer;
  color: var(--light);
  padding: 8px 4px;
}

nav.main-nav { display: flex; align-items: center; gap: 26px; }
nav.main-nav a { text-decoration: none; color: var(--grey); font-size: 15px; font-weight: 500; transition: color 0.2s; }
nav.main-nav a:hover { color: var(--light); }
nav.main-nav a.btn { color: var(--dark); }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15.5px;
  text-decoration: none;
  padding: 13px 24px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--terracotta); color: var(--dark); }
.btn-primary:hover { background: #d06838; }
.btn-ghost { border-color: var(--grey-deep); color: var(--light); background: transparent; }
.btn-ghost:hover { border-color: var(--grey); }

.on-light .btn-primary { background: var(--terracotta-deep); color: var(--light); }
.on-light .btn-primary:hover { background: var(--terracotta); }
.on-light .btn-ghost { border-color: var(--border-light); color: var(--body); }
.on-light .btn-ghost:hover { border-color: var(--caption); }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px 0;
  overflow: hidden;
}
#hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
}
/* Verloop over het canvas zodat de tekst links rustig leesbaar blijft */
.hero-scrim {
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(90deg,
    rgba(16, 18, 22, 0.94) 0%,
    rgba(16, 18, 22, 0.82) 34%,
    rgba(16, 18, 22, 0.35) 58%,
    rgba(16, 18, 22, 0) 78%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-copy h1, .hero-copy .lead, .hero-copy .prompt-line {
  text-shadow: 0 2px 26px rgba(16, 18, 22, 0.85);
}
.hero .prompt-line {
  font-family: var(--font-mono);
  font-size: clamp(15px, 2vw, 19px);
  color: var(--grey);
  margin-bottom: 14px;
  min-height: 1.6em;
}
.hero .lead { font-size: clamp(17px, 2vw, 20px); max-width: 600px; margin-top: 24px; }
.hero .actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }

.scroll-hint {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--grey-mid);
  z-index: 2;
  animation: hint-bob 2.4s ease-in-out infinite;
}
@keyframes hint-bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* Secties */
.section { padding: 110px 0; position: relative; }
.section.on-light { background: var(--light); color: var(--body); }
.section.on-light h2, .section.on-light h3 { color: var(--body); }
.section.on-light p { color: var(--caption); }
.section.on-light .kicker { color: var(--terracotta-deep); }
.section-intro { max-width: 760px; margin-bottom: 56px; }
.section-intro .big { font-size: clamp(18px, 2.2vw, 22px); color: var(--light); }
.section.on-light .section-intro .big { color: var(--body); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }
.reveal[data-delay="3"] { transition-delay: 0.36s; }

/* Vergelijking: inside-out vs outside-in */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 36px;
  position: relative;
  overflow: hidden;
}
.compare-card.winner { border-color: var(--terracotta-deep); }
.compare-card h3 { font-size: 24px; }
.compare-card .tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin-bottom: 18px;
}
.compare-card.winner .tag { color: var(--terracotta); }
.compare-card ul { margin: 22px 0 0 0; padding: 0; list-style: none; }
.compare-card ul li {
  padding: 9px 0 9px 26px;
  position: relative;
  color: var(--grey);
  font-size: 15.5px;
  border-top: 1px solid var(--line);
}
.compare-card ul li::before {
  position: absolute; left: 0; top: 9px;
  font-family: var(--font-mono);
}
.compare-card.loser ul li::before { content: "×"; color: var(--grey-mid); }
.compare-card.winner ul li::before { content: ">"; color: var(--terracotta); }

/* Mini-diagrammen in vergelijking */
.mini-diagram { height: 190px; position: relative; margin-bottom: 22px; }
.mini-diagram .mono-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.monolith {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 150px; height: 110px;
  border: 2px solid var(--grey-deep);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 12px; color: var(--grey-mid);
  animation: monolith-strain 3.2s ease-in-out infinite;
}
@keyframes monolith-strain {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.035); }
}
.monolith::after {
  content: "🔒";
  position: absolute; top: -12px; right: -12px;
  font-size: 18px;
}
/* Externe pakketten rond de monoliet: gelabelde chips */
.sat {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-mid);
  background: var(--panel-2);
  border: 1px solid var(--grey-deep);
  border-radius: 6px;
  padding: 5px 10px;
  white-space: nowrap;
  animation: sat-pull 3.2s ease-in-out infinite;
  transition: color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.sat.ok {
  color: var(--light);
  border-color: var(--grey);
  box-shadow: 0 0 12px rgba(138, 144, 153, 0.4);
}
.sat.err {
  color: #C4574A;
  border-color: #C4574A;
  box-shadow: 0 0 12px rgba(196, 87, 74, 0.55);
  animation: sat-shake 0.45s ease;
}
@keyframes sat-shake {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-2px, 1px); }
  45% { transform: translate(2px, -1px); }
  70% { transform: translate(-1px, -2px); }
}
.sat.s1 { left: 3%; top: 12%; animation-delay: 0s; }
.sat.s2 { right: 3%; top: 8%; animation-delay: 0.5s; }
.sat.s3 { left: 2%; top: 72%; animation-delay: 1s; }
.sat.s4 { right: 2%; top: 68%; animation-delay: 1.5s; }
@keyframes sat-pull {
  0%, 100% { transform: translate(0, 0); opacity: 0.85; }
  50% { transform: translate(4px, 3px); opacity: 0.55; }
}

.core-mini {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 96px; height: 96px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #1E2833, #131C24);
  border: 1px solid var(--terracotta-deep);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em;
  color: var(--light); text-align: center;
  box-shadow: 0 0 34px rgba(192, 90, 46, 0.18);
  animation: core-pulse 3s ease-in-out infinite;
}
@keyframes core-pulse {
  0%, 100% { box-shadow: 0 0 24px rgba(192, 90, 46, 0.12); }
  50% { box-shadow: 0 0 44px rgba(192, 90, 46, 0.3); }
}
.orbit-ring-mini {
  position: absolute; left: 50%; top: 50%;
  width: 172px; height: 172px;
  margin: -86px 0 0 -86px;
  border: 1px dashed var(--grey-deep);
  border-radius: 50%;
  animation: spin 26s linear infinite;
}
.orbit-ring-mini .dot {
  position: absolute;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--grey-mid);
}
.orbit-ring-mini .dot:nth-child(1) { top: -6px; left: 50%; margin-left: -6px; background: var(--terracotta); }
.orbit-ring-mini .dot:nth-child(2) { bottom: -6px; left: 50%; margin-left: -6px; }
.orbit-ring-mini .dot:nth-child(3) { left: -6px; top: 50%; margin-top: -6px; }
.orbit-ring-mini .dot:nth-child(4) { right: -6px; top: 50%; margin-top: -6px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Platform: interactieve orbit */
.platform-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: center;
}
.orbit-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 620px;
  margin: 0 auto;
}
#orbit-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.orbit-core {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 168px; height: 168px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #1E2833, #10161C);
  border: 1px solid var(--terracotta-deep);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  gap: 4px;
  z-index: 3;
  box-shadow: 0 0 60px rgba(192, 90, 46, 0.2);
  animation: core-pulse 3.6s ease-in-out infinite;
}
.orbit-core .t1 { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; color: var(--terracotta); }
.orbit-core .t2 { font-weight: 700; font-size: 15px; line-height: 1.25; letter-spacing: -0.01em; }
.orbit-core .t3 { font-family: var(--font-mono); font-size: 9.5px; color: var(--grey); }

.orbit-node {
  position: absolute;
  transform: translate(-50%, -50%);
  background: var(--panel-2);
  border: 1px solid var(--grey-deep);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--light);
  white-space: nowrap;
  cursor: pointer;
  z-index: 4;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.orbit-node .ico { margin-right: 6px; }
.orbit-node:hover, .orbit-node.active {
  border-color: var(--terracotta);
  background: #23180F;
  box-shadow: 0 0 24px rgba(192, 90, 46, 0.25);
}

.orbit-info {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px;
  min-height: 300px;
}
.orbit-info h3 { font-size: 24px; margin-bottom: 12px; }
.orbit-info p { font-size: 16px; }
.orbit-info .facts-line {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--grey-mid);
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 18px;
}
.orbit-hint {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--grey-mid);
  margin-top: 14px;
}

/* Oplossingen */
.sol-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.sol-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.sol-card:hover { transform: translateY(-5px); border-color: var(--grey-deep); }
.sol-card h3 { font-size: 17.5px; margin: 16px 0 8px 0; }
.sol-card p { font-size: 14px; margin: 0; }

.sol-visual {
  height: 96px;
  border-radius: 9px;
  background: var(--dark);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

/* micro-visual: browser */
.vis-browser .bar-top { position: absolute; top: 0; left: 0; right: 0; height: 18px; background: var(--panel-2); display: flex; align-items: center; gap: 4px; padding: 0 8px; }
.vis-browser .bar-top i { width: 5px; height: 5px; border-radius: 50%; background: var(--grey-deep); display: block; }
.vis-browser .line { position: absolute; left: 12px; height: 7px; border-radius: 3px; background: var(--grey-deep); animation: load-line 2.8s ease-in-out infinite; }
.vis-browser .line.l1 { top: 30px; width: 55%; animation-delay: 0s; }
.vis-browser .line.l2 { top: 45px; width: 75%; animation-delay: 0.25s; }
.vis-browser .line.l3 { top: 60px; width: 40%; animation-delay: 0.5s; background: var(--terracotta-deep); }
@keyframes load-line { 0% { transform: scaleX(0); transform-origin: left; opacity: 0; } 25%, 85% { transform: scaleX(1); opacity: 1; } 100% { opacity: 0; } }

/* micro-visual: phone */
.vis-phone .phone { position: absolute; left: 50%; top: 12px; transform: translateX(-50%); width: 44px; height: 84px; border: 2px solid var(--grey-deep); border-radius: 9px; }
.vis-phone .notif { position: absolute; left: 50%; top: 24px; transform: translateX(-50%); width: 34px; height: 12px; border-radius: 4px; background: var(--terracotta-deep); animation: notif-pop 3s ease infinite; }
@keyframes notif-pop { 0%, 20% { transform: translateX(-50%) scale(0); opacity: 0; } 30%, 75% { transform: translateX(-50%) scale(1); opacity: 1; } 90%, 100% { transform: translateX(-50%) scale(0.9); opacity: 0; } }

/* micro-visual: chart */
.vis-chart { display: flex; align-items: flex-end; gap: 7px; padding: 14px 16px 12px 16px; }
.vis-chart i { flex: 1; background: var(--grey-deep); border-radius: 3px 3px 0 0; animation: bar-grow 3.2s ease-in-out infinite; transform-origin: bottom; display: block; }
.vis-chart i:nth-child(1) { height: 34%; animation-delay: 0s; }
.vis-chart i:nth-child(2) { height: 52%; animation-delay: 0.15s; }
.vis-chart i:nth-child(3) { height: 44%; animation-delay: 0.3s; }
.vis-chart i:nth-child(4) { height: 70%; animation-delay: 0.45s; }
.vis-chart i:nth-child(5) { height: 88%; animation-delay: 0.6s; background: var(--terracotta-deep); }
@keyframes bar-grow { 0% { transform: scaleY(0); } 30%, 85% { transform: scaleY(1); } 100% { transform: scaleY(0); } }

/* micro-visual: chat */
.vis-chat .bubble { position: absolute; border-radius: 8px; padding: 0; height: 12px; background: var(--grey-deep); animation: bubble-in 3.4s ease infinite; }
.vis-chat .b1 { left: 12px; top: 18px; width: 45%; }
.vis-chat .b2 { right: 12px; top: 40px; width: 55%; background: var(--terracotta-deep); animation-delay: 0.6s; }
.vis-chat .b3 { left: 12px; top: 62px; width: 35%; animation-delay: 1.2s; }
@keyframes bubble-in { 0% { transform: translateY(6px); opacity: 0; } 18%, 85% { transform: none; opacity: 1; } 100% { opacity: 0; } }

/* micro-visual: terminal / agents */
.vis-term { padding: 12px 14px; font-family: var(--font-mono); font-size: 10px; color: var(--grey-mid); line-height: 1.9; }
.vis-term span { display: block; overflow: hidden; white-space: nowrap; animation: term-type 4s steps(30) infinite; }
.vis-term span:nth-child(2) { animation-delay: 0.8s; }
.vis-term span:nth-child(3) { animation-delay: 1.6s; color: var(--terracotta); }
@keyframes term-type { 0% { width: 0; } 40%, 90% { width: 100%; } 100% { width: 100%; opacity: 0; } }

/* micro-visual: seo groei-lijn */
.vis-seo svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.vis-seo .growth { fill: none; stroke: var(--terracotta-deep); stroke-width: 2; stroke-dasharray: 220; stroke-dashoffset: 220; animation: draw-line 3.6s ease-in-out infinite; }
.vis-seo .grid-l { stroke: var(--line); stroke-width: 1; }
@keyframes draw-line { 0% { stroke-dashoffset: 220; } 45%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }

/* micro-visual: koppelingen */
.vis-link .blk { position: absolute; width: 26px; height: 26px; border: 1.5px solid var(--grey-deep); border-radius: 6px; }
.vis-link .blk.a { left: 16px; top: 34px; }
.vis-link .blk.b { right: 16px; top: 34px; }
.vis-link .wire { position: absolute; left: 46px; right: 46px; top: 46px; height: 2px; background: var(--grey-deep); }
.vis-link .packet { position: absolute; top: 42px; left: 46px; width: 10px; height: 10px; border-radius: 50%; background: var(--terracotta); animation: packet-move 2.2s ease-in-out infinite; }
@keyframes packet-move { 0% { left: 46px; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 56px); opacity: 0; } }

/* micro-visual: webshop */
.vis-shop .item { position: absolute; width: 22px; height: 28px; border: 1.5px solid var(--grey-deep); border-radius: 4px; top: 22px; }
.vis-shop .item.i1 { left: 18px; }
.vis-shop .item.i2 { left: 52px; }
.vis-shop .item.i3 { left: 86px; animation: item-sold 3s ease infinite; border-color: var(--terracotta-deep); }
.vis-shop .badge { position: absolute; right: 14px; top: 20px; font-family: var(--font-mono); font-size: 9px; color: var(--terracotta); animation: bubble-in 3s ease infinite; }
.vis-shop .row { position: absolute; left: 18px; right: 14px; bottom: 16px; height: 7px; border-radius: 3px; background: var(--grey-deep); }
@keyframes item-sold { 0%, 40% { transform: none; } 55%, 100% { transform: translateY(-4px); } }

/* Datastroom: scroll-getekend pad van apps naar de core */
.flow-wrap { position: relative; padding: 20px 0 40px 0; }
.flow-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  overflow: visible;
}
.flow-base {
  fill: none;
  stroke: var(--grey-deep);
  stroke-width: 2;
  stroke-dasharray: 6 9;
  opacity: 0.55;
}
.flow-progress {
  fill: none;
  stroke: var(--terracotta);
  stroke-width: 2.5;
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(192, 90, 46, 0.45));
}
.flow-pulse {
  fill: var(--terracotta);
  filter: drop-shadow(0 0 10px rgba(192, 90, 46, 0.8));
}

.flow-station {
  position: relative;
  padding: 42px 0;
}
.station-spacer { display: none; }
.flow-dot {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.flow-dot i {
  display: block;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--grey-deep);
  border: 2px solid var(--dark);
  box-shadow: 0 0 0 2px var(--grey-deep);
  transition: background 0.4s, box-shadow 0.4s, transform 0.4s;
}
.flow-station.active .flow-dot i {
  background: var(--terracotta);
  box-shadow: 0 0 0 2px var(--terracotta), 0 0 18px rgba(192, 90, 46, 0.6);
  transform: scale(1.25);
}

.station-card {
  position: relative;
  z-index: 1;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 28px;
  max-width: 350px;
  margin-right: auto;
  opacity: 0.45;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.5s ease;
}
.flow-station.side-right .station-card { margin-right: 0; margin-left: auto; }
.flow-station.active .station-card {
  opacity: 1;
  transform: none;
  border-color: rgba(192, 90, 46, 0.45);
}
.station-card .ico { font-size: 26px; margin-bottom: 10px; }
.station-card h3 { font-size: 19px; margin-bottom: 8px; }
.station-card p { font-size: 14.5px; margin-bottom: 12px; }
.station-card .event-line {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--grey-mid);
  border-top: 1px solid var(--line);
  padding-top: 10px;
  transition: color 0.4s;
}
.flow-station.active .station-card .event-line { color: var(--terracotta); }

.flow-core { position: relative; text-align: center; padding-top: 56px; }
.flow-core-start { padding-top: 0; padding-bottom: 40px; }
.flow-core-start .core-circle {
  width: 168px; height: 168px;
}
.flow-core-start .t2 { font-size: 17px; }
.flow-core .core-circle {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #1E2833, #10161C);
  border: 1px solid var(--grey-deep);
  transition: border-color 0.6s, box-shadow 0.6s;
}
.flow-core .t1 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; color: var(--grey-mid); transition: color 0.6s; }
.flow-core .t2 { font-weight: 700; font-size: 21px; line-height: 1.2; letter-spacing: -0.01em; }
.flow-core .t3 { font-family: var(--font-mono); font-size: 11px; color: var(--grey); }
.flow-core.reached .core-circle {
  border-color: var(--terracotta);
  box-shadow: 0 0 80px rgba(192, 90, 46, 0.35);
  animation: core-pulse 3s ease-in-out infinite;
}
.flow-core.reached .t1 { color: var(--terracotta); }
.flow-core .core-caption {
  max-width: 460px;
  margin: 28px auto 0 auto;
  font-size: 15.5px;
}

@media (max-width: 700px) {
  .flow-station { padding: 24px 0; }
  .station-card, .flow-station.side-right .station-card { max-width: none; margin-left: 44px; margin-right: 0; }
  .flow-core .core-circle { width: 180px; height: 180px; }
}

/* Demo chat */
.demo-shell {
  max-width: 780px;
  margin: 0 auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.demo-bar {
  background: var(--panel-2);
  padding: 12px 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--grey-mid);
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--line);
}
.demo-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--grey-deep); display: block; }
.demo-body { padding: 28px; min-height: 360px; display: flex; flex-direction: column; gap: 16px; }
.msg { max-width: 82%; border-radius: 12px; padding: 12px 16px; font-size: 15px; line-height: 1.6; opacity: 0; transform: translateY(10px); transition: opacity 0.4s, transform 0.4s; }
.msg.show { opacity: 1; transform: none; }
.msg.user { align-self: flex-end; background: #23180F; border: 1px solid var(--terracotta-deep); color: var(--light); }
.msg.ai { align-self: flex-start; background: var(--panel-2); border: 1px solid var(--line); color: var(--grey); }
.msg.ai .mono { font-family: var(--font-mono); font-size: 12.5px; color: var(--grey-mid); display: block; margin-bottom: 6px; }
.msg.ai strong { color: var(--light); }
.msg .mini-bars { display: flex; align-items: flex-end; gap: 5px; height: 52px; margin-top: 12px; }
.msg .mini-bars i { width: 22px; background: var(--grey-deep); border-radius: 2px 2px 0 0; transform: scaleY(0); transform-origin: bottom; transition: transform 0.5s ease; display: block; }
.msg.show .mini-bars i { transform: scaleY(1); }
.msg .mini-bars i.hot { background: var(--terracotta); }
.demo-input {
  border-top: 1px solid var(--line);
  padding: 16px 22px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--light);
  background: var(--panel-2);
  min-height: 54px;
}
.demo-input .prefix { color: var(--terracotta); }

/* Groeipad (licht) */
.path-wrap { position: relative; max-width: 860px; margin: 0 auto; }
.path-line {
  position: absolute; left: 27px; top: 8px; bottom: 8px;
  width: 2px; background: var(--border-light);
}
.path-line .fill {
  position: absolute; top: 0; left: 0; width: 100%; height: 0%;
  background: var(--terracotta-deep);
  transition: height 0.2s linear;
}
.path-step {
  position: relative;
  padding: 0 0 52px 84px;
}
.path-step:last-child { padding-bottom: 0; }
.path-step .num {
  position: absolute; left: 0; top: 0;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--card-light);
  border: 2px solid var(--border-light);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--caption);
  transition: border-color 0.35s, color 0.35s, background 0.35s;
}
.path-step.active .num { border-color: var(--terracotta-deep); color: var(--terracotta-deep); background: #FDF6F2; }
.path-step h3 { font-size: 22px; margin-bottom: 8px; }
.path-step p { max-width: 620px; margin-bottom: 0; }
.path-step .mono-note { font-family: var(--font-mono); font-size: 12px; color: var(--terracotta-deep); margin-bottom: 6px; letter-spacing: 0.08em; }

/* Beloftes / counters */
.promise-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.promise {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px 26px;
  text-align: left;
}
.promise .big-val {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--light);
  line-height: 1.1;
}
.promise .big-val .unit { font-size: 0.5em; color: var(--grey); font-weight: 500; }
.promise .label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey-mid); margin-top: 10px; }

.statement {
  font-size: clamp(24px, 3.4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  max-width: 900px;
  color: var(--light);
}
.statement .dim { color: var(--grey-deep); }
.on-light .statement { color: var(--body); }
.on-light .statement .dim { color: var(--caption); }

/* Beveiliging en AVG: security-scan en trust-cards */
.scan-body { position: relative; padding: 26px 30px; overflow: hidden; }
.scan-sweep {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--terracotta), transparent);
  box-shadow: 0 0 14px rgba(192, 90, 46, 0.7);
  transition: top 2.6s linear;
}
.scan-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; position: relative; z-index: 2; }
.scan-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-family: var(--font-mono);
  font-size: 14.5px;
  color: var(--grey-mid);
  opacity: 0.55;
  transition: opacity 0.35s ease, color 0.35s ease;
}
.scan-list li .chk {
  flex-shrink: 0;
  width: 18px;
  color: var(--grey-deep);
  transition: color 0.35s ease;
}
.scan-list li.done { opacity: 1; color: var(--light); }
.scan-list li.done .chk { color: var(--terracotta); }

.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.trust-card { background: var(--card-light); border: 1px solid var(--border-light); border-radius: 14px; padding: 26px 26px; }
.trust-card .tick {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--terracotta-deep);
  color: var(--terracotta-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  margin-bottom: 16px;
}
.trust-card h3 { font-size: 17px; margin-bottom: 8px; color: var(--body); }
.trust-card p { font-size: 14.5px; margin-bottom: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
form.contact-form { max-width: 560px; }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin-bottom: 7px;
}
.field input, .field textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--light);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 15px;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--terracotta); outline-offset: 0; border-color: transparent; }

/* Honeypot: onzichtbaar voor mensen, wel aanwezig voor bots */
.hp-field {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.form-note {
  margin: 16px 0 0 0;
  font-size: 14.5px;
  min-height: 1.4em;
}
.form-note.ok { color: var(--terracotta); }
.form-note.err { color: #C4574A; }
.contact-submit-disabled { opacity: 0.6; cursor: default; }

.facts { display: grid; grid-template-columns: 150px 1fr; gap: 10px 24px; font-size: 15.5px; }
.facts dt { font-family: var(--font-mono); font-size: 13px; color: var(--grey-mid); padding-top: 3px; }
.facts dd { margin: 0; color: var(--light); }
.facts dd a { color: var(--terracotta); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 40px 0; color: var(--grey); }
.site-footer .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.site-footer h4 {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 400;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--grey-mid); margin: 0 0 14px 0;
}
.site-footer a { color: var(--light); text-decoration: none; }
.site-footer a:hover { color: var(--terracotta); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { margin-bottom: 8px; font-size: 15px; }
.footer-repeat { font-weight: 700; font-size: 20px; letter-spacing: -0.02em; line-height: 1.15; margin-top: 20px; }
.footer-repeat .r1 { color: var(--light); }
.footer-repeat .r2 { color: var(--grey-mid); }
.footer-repeat .r3 { color: var(--grey-deep); }
.footer-bottom {
  margin-top: 48px; padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-family: var(--font-mono); font-size: 12px; color: var(--grey-mid);
}

/* Responsive */
@media (max-width: 1020px) {
  .hero-scrim {
    background: linear-gradient(180deg,
      rgba(16, 18, 22, 0.55) 0%,
      rgba(16, 18, 22, 0.72) 55%,
      rgba(16, 18, 22, 0.9) 100%);
  }
  .platform-layout { grid-template-columns: 1fr; }
  .sol-grid { grid-template-columns: repeat(2, 1fr); }
  .promise-strip { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .compare-grid, .contact-grid, .sol-grid, .trust-grid { grid-template-columns: 1fr; }
  .promise-strip { grid-template-columns: 1fr 1fr; }
  .scan-list li { font-size: 13px; }
  .section { padding: 72px 0; }
  .hero { padding-top: 110px; }
  .site-footer .footer-grid { grid-template-columns: 1fr; }
  .orbit-stage { max-width: 420px; }
  .orbit-core { width: 128px; height: 128px; }
  .orbit-core .t2 { font-size: 12.5px; }
  .orbit-node { font-size: 11.5px; padding: 7px 11px; }

  .nav-toggle-label { display: block; }
  nav.main-nav {
    display: none;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: var(--dark);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px 24px;
    gap: 16px;
  }
  .nav-toggle:checked ~ nav.main-nav { display: flex; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
