/* Simplr. homepage — identity board + road.io structure */

@font-face {
  font-family: "Satoshi";
  src: url("../assets/fonts/Satoshi-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("../assets/fonts/Satoshi-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("../assets/fonts/Satoshi-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand — soft mint-chartreuse (was neon-yellow #EBFD76) */
  --forest: #052E28;
  --forest-deep: #031F1B;
  --forest-elevated: #0A3D34;
  --forest-soft: #0E4A3F;
  --lime: #B8E86A;
  --lime-bright: #C5F06E;
  --lime-hover: #C5F06E;
  --lime-ink: #052E28;
  /* Body/headline accents on light bg — darker than CTA lime for contrast */
  --accent-text: #7BC43A;
  --partner: #A2B2BD;
  --pill-mid: #B8E86A;
  --pill-deep: #B8E86A;
  --white: #FFFFFF;
  /* Light lavender page (identity board canvas) */
  --lavender: #E2E4FB;
  --lavender-soft: #ECEEFC;
  --mist: #E2E4FB;
  --mist-soft: #F4F5FC;
  --mist-alt: #E8EAF8;
  --text-on-dark: #FFFFFF;
  --text-muted-dark: rgba(255, 255, 255, 0.68);
  --text-on-light: #052E28;
  --text-muted-light: #3D5A54;
  --border-dark: rgba(184, 232, 106, 0.2);
  --border-light: rgba(5, 46, 40, 0.1);
  --shadow-sm: 0 1px 3px rgba(3, 31, 27, 0.06);
  --shadow-md: 0 8px 28px rgba(3, 31, 27, 0.1);
  --shadow-lg: 0 20px 56px rgba(3, 31, 27, 0.16);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --font: "Satoshi", system-ui, sans-serif;
  --font-display: "Satoshi", system-ui, sans-serif;
  --header-h: 96px;
  --container: 1280px;
  --container-hero: 1560px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-on-light);
  background: var(--lavender);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--lime);
  color: var(--lime-ink);
  padding: 8px 16px;
  z-index: 2000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: var(--radius-pill);
  padding: 12px 22px;
  transition: transform 0.25s var(--ease), background 0.2s ease, color 0.2s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--lime);
  color: var(--lime-ink);
  box-shadow: 0 0 0 0 rgba(184, 232, 106, 0);
}
.btn-primary:hover {
  background: var(--lime-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(184, 232, 106, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--forest);
  border: 1.5px solid var(--forest);
}
.btn-secondary:hover {
  background: var(--forest);
  color: var(--lime);
  border-color: var(--forest);
}

/* Secondary on dark surfaces (header mobile, CTA, footer) */
.site-header .btn-secondary,
.cta-band .btn-secondary,
.section--contrast .btn-secondary,
.mobile-menu .btn-secondary {
  color: var(--text-on-dark);
  border-color: rgba(255, 255, 255, 0.28);
}
.site-header .btn-secondary:hover,
.cta-band .btn-secondary:hover,
.section--contrast .btn-secondary:hover,
.mobile-menu .btn-secondary:hover {
  border-color: var(--lime);
  color: var(--lime);
  background: transparent;
}

.btn-ghost {
  color: var(--text-on-dark);
  opacity: 0.85;
  padding: 10px 14px;
}
.btn-ghost:hover { opacity: 1; color: var(--lime); }

.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn-xl { padding: 14px 26px; font-size: 1rem; }

.btn-on-light {
  background: var(--forest);
  color: var(--white);
}
.btn-on-light:hover {
  background: var(--forest-elevated);
  transform: translateY(-1px);
}

.btn-lime-outline {
  border: 1.5px solid var(--forest);
  color: var(--forest);
  background: transparent;
}
.btn-lime-outline:hover {
  background: var(--forest);
  color: var(--lime);
}

/* —— Header (road.io: logo | centered nav | actions) —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--forest);
  border-bottom: 1px solid var(--border-dark);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) auto minmax(160px, 1fr);
  align-items: center;
  gap: 20px;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  justify-self: start;
  grid-column: 1;
}

.logo-mark {
  width: 34px;
  height: 34px;
  display: block;
}

.logo-combo {
  height: 34px;
  width: auto;
  display: block;
}

.logo-word {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-size: 2.15rem;
  font-weight: 700;
  letter-spacing: -0.045em;
  color: var(--white);
  line-height: 1;
  white-space: nowrap;
  overflow: visible;
}

.site-header .logo-word {
  font-size: clamp(2.25rem, 2.8vw, 2.75rem);
  letter-spacing: -0.055em;
}

.site-header .logo-dot {
  width: 0.155em;
  height: 0.155em;
  margin-left: 0.05em;
  vertical-align: 0.02em;
}

.site-header .logo-tittle {
  width: 0.13em;
  height: 0.13em;
  top: -0.02em;
}

/* Wordmark accents: solid lime i-dot + solid lime period — no glow/halo/ring */
.logo-dot {
  display: inline-block;
  width: 0.15em;
  height: 0.15em;
  margin-left: 0.04em;
  border-radius: 50%;
  background: var(--lime);
  color: transparent;
  vertical-align: 0.01em;
  line-height: 0;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: none;
  filter: none;
  text-shadow: none;
  opacity: 1;
}

.logo-i {
  position: relative;
  color: inherit;
  display: inline-block;
}

.logo-tittle {
  position: absolute;
  left: 50%;
  top: -0.01em;
  width: 0.125em;
  height: 0.125em;
  border-radius: 50%;
  background: var(--lime);
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: none;
  filter: none;
  opacity: 1;
}

.site-header .logo-word,
.site-footer .logo-word {
  color: var(--white);
}

.main-nav {
  justify-self: center;
  grid-column: 2;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.nav-link {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.86);
  transition: background 0.2s, color 0.2s;
}
.nav-link:hover,
.nav-item:focus-within > .nav-link {
  background: rgba(184, 232, 106, 0.12);
  color: var(--lime);
}

.nav-item { position: relative; }

.mega-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  padding: 18px;
  background: var(--forest-elevated);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  z-index: 50;
}

.nav-item:hover > .mega-dropdown,
.nav-item:focus-within > .mega-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-dropdown a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
}
.mega-dropdown a:hover {
  background: rgba(184, 232, 106, 0.12);
  color: var(--lime);
}

.mega-intro {
  font-size: 0.8125rem;
  color: var(--text-muted-dark);
  margin-bottom: 10px;
  max-width: 280px;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  justify-self: end;
  grid-column: 3;
}

.site-header .btn {
  padding: 12px 20px;
  font-size: 0.95rem;
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  justify-self: end;
  grid-column: 3;
}
.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.mobile-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  background: var(--forest-deep);
  border-bottom: 1px solid var(--border-dark);
  padding: 16px 24px 28px;
}
.mobile-menu.is-open { display: block; }
.mobile-menu a {
  display: block;
  padding: 12px 0;
  color: var(--white);
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-menu-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

/* —— Hero (light lavender + product map) —— */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 88% 18%, rgba(197, 200, 240, 0.55), transparent 55%),
    radial-gradient(700px 420px at 8% 90%, rgba(168, 196, 160, 0.22), transparent 50%),
    linear-gradient(165deg, var(--lavender) 0%, var(--mist-soft) 55%, var(--lavender-soft) 100%);
  color: var(--text-on-light);
  /* Breathing room under sticky header (≥2× prior tight 8px) */
  padding: 80px 0 88px;
  min-height: 0;
  display: flex;
  align-items: flex-start;
}

.hero .container {
  max-width: var(--container-hero);
  padding-inline: 20px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(360px, 1.15fr);
  gap: 28px;
  align-items: start;
  width: 100%;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: 8px 4px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4vw, 3.05rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
  max-width: 15ch;
  color: var(--forest);
}

.hero-period {
  display: inline-block;
  width: 0.145em;
  height: 0.145em;
  margin-left: 0.04em;
  border-radius: 50%;
  background: var(--lime);
  vertical-align: 0.02em;
  color: transparent;
  line-height: 0;
}

.hero-sub {
  font-size: 1.08rem;
  font-weight: 400;
  color: var(--text-muted-light);
  max-width: 38ch;
  margin-bottom: 18px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 0;
  padding-top: 0;
  margin-bottom: 0;
}

.hero-visual {
  position: relative;
  min-height: 0;
  width: 100%;
}

/* —— Hero landkaart (from SIMPLR demo) —— */
.hero-map {
  --map-pad: 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--map-pad);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(8px);
  animation: map-in 0.85s var(--ease) both;
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
}

@keyframes map-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.hero-map-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
  max-width: 100%;
}
.hero-map-toolbar .map-seg {
  flex: 1 1 auto;
  min-width: 0;
}
.hero-map-toolbar .map-seg button {
  flex: 1 1 auto;
  padding: 7px 10px;
  font-size: 0.7rem;
}

.map-seg {
  display: inline-flex;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  overflow: hidden;
  background: var(--white);
}

.map-seg button {
  font-size: 0.75rem;
  font-weight: 650;
  padding: 7px 12px;
  color: var(--text-muted-light);
  border-right: 1px solid var(--border-light);
  transition: background 0.2s, color 0.2s;
}
.map-seg button:last-child { border-right: 0; }
.map-seg button.on {
  background: var(--forest);
  color: var(--white);
}
.map-seg button:hover:not(.on) {
  color: var(--forest);
  background: rgba(5, 46, 40, 0.04);
}

.hero-map-stage {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #E4E7DF;
  /* Wider balanced stage (~5/4) — fills white card with comfortable padding */
  aspect-ratio: 5 / 4;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: none;
}

.hero-map-stage .tegels {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-map-stage .tegels img {
  position: absolute;
  width: 256px;
  height: 256px;
  -webkit-user-drag: none;
}

#heroKaart {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  z-index: 1;
}

.hero-map-stage .mapmsg {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
  color: var(--text-muted-light);
  font-size: 0.9rem;
  background: rgba(228, 231, 223, 0.92);
}
.hero-map-stage .mapmsg[hidden] { display: none; }

.hero-map-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 12px;
  margin-top: 8px;
  align-items: end;
}

.hero-leg-txt {
  font-size: 0.75rem;
  color: var(--text-muted-light);
  margin-bottom: 6px;
}

.ramp {
  display: flex;
  height: 8px;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 4px;
}
.ramp i { flex: 1; }

.rampv {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--text-muted-light);
}

.hero-map-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.hero-map-stats div {
  background: rgba(226, 228, 251, 0.7);
  border-radius: 10px;
  padding: 10px 8px;
  text-align: center;
}
.hero-map-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 750;
  color: var(--forest);
  letter-spacing: -0.02em;
}
.hero-map-stats span {
  font-size: 0.65rem;
  color: var(--text-muted-light);
}

.tip {
  position: fixed;
  pointer-events: none;
  background: var(--forest);
  color: #fff;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.5;
  z-index: 1100;
  opacity: 0;
  transition: opacity 0.12s;
  max-width: 250px;
}
.tip.on { opacity: 1; }
.tip b { display: block; margin-bottom: 4px; font-size: 13px; }

/* —— Logo strip —— */
.logo-strip {
  background: var(--mist-soft);
  border-block: 1px solid var(--border-light);
  padding: 48px 0;
  overflow: hidden;
  margin-top: 12px;
}

.marquee {
  overflow: hidden;
  width: 100%;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 36s linear infinite;
  will-change: transform;
}

.marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0;
}

.client-logo {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(5, 46, 40, 0.45);
  letter-spacing: -0.02em;
  white-space: nowrap;
  word-break: keep-all;
  padding: 0 20px;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* —— Sections —— */
.section { padding: 128px 0; }

/* Former dark bands → soft lavender contrast on light page */
.section--dark,
.section--contrast {
  background:
    radial-gradient(700px 360px at 100% 0%, rgba(197, 200, 240, 0.45), transparent 50%),
    var(--lavender);
  color: var(--text-on-light);
}

.section--mist { background: var(--mist-soft); }
.section--mist-alt { background: var(--mist-alt); }

.section-header {
  max-width: 720px;
  margin-bottom: 56px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted-light);
  max-width: 54ch;
}

.section--dark .section-header p,
.section--contrast .section-header p { color: var(--text-muted-light); }

.accent {
  color: var(--accent-text);
  font-weight: 750;
}
.section--dark .accent,
.section--contrast .accent { color: var(--lime); }

/* Value rows — road.io style */
.value-rows {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.value-row {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  border: 1px solid var(--border-light);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.value-row:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.value-row h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 750;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.value-row p {
  color: var(--text-muted-light);
  font-size: 0.975rem;
}

/* Demo environments */
.env-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.env-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--border-light);
  transition: border-color 0.2s, background 0.2s, transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  color: var(--forest);
}
.env-card:hover {
  border-color: rgba(5, 46, 40, 0.22);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.env-num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--forest-soft);
  letter-spacing: 0.08em;
}

.env-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 750;
}

.env-card p {
  color: var(--text-muted-light);
  font-size: 0.925rem;
  flex: 1;
}

.env-card .env-cta {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--forest);
  margin-top: 4px;
}
.env-card:hover .env-cta { color: var(--lime-ink); }

/* Journey */
.journey-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.journey-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted-light);
}
.legend-item::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.legend-bank::before { background: var(--forest); }
.legend-joint::before { background: var(--lime); }
.legend-partner::before { background: var(--partner); }

.journey-play {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  background: var(--white);
  font-size: 0.8125rem;
  font-weight: 650;
  color: var(--forest);
  transition: border-color 0.2s, background 0.2s, transform 0.2s var(--ease);
}
.journey-play:hover {
  border-color: rgba(5, 46, 40, 0.22);
  transform: translateY(-1px);
}
.journey-play:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 3px;
}
.journey-play-icon {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--lime);
  box-shadow: inset 3px 0 0 var(--forest), inset -3px 0 0 var(--forest);
}
.journey-play[aria-pressed="false"] .journey-play-icon {
  width: 0;
  height: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  border-style: solid;
  border-width: 5px 0 5px 9px;
  border-color: transparent transparent transparent var(--forest);
}

.journey {
  display: flex;
  flex-direction: column;
  gap: 20px;
  --journey-progress: 0;
  --journey-seg: 0;
}

.journey-progress {
  position: relative;
  height: 18px;
  display: flex;
  align-items: center;
  margin-bottom: 4px;
}

.journey-progress-rail {
  position: relative;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: rgba(5, 46, 40, 0.1);
  overflow: visible;
}

.journey-progress-bar {
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--journey-progress) * 1%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--forest), var(--lime));
  box-shadow: 0 0 12px rgba(184, 232, 106, 0.35);
  transition: width 0.55s var(--ease);
}

.journey.is-playing .journey-progress-bar {
  animation: journey-progress-seg 4.2s linear forwards;
}

@keyframes journey-progress-seg {
  from { width: calc(var(--journey-progress) * 1%); }
  to { width: calc(var(--journey-seg) * 1%); }
}

.journey-progress-ball {
  position: absolute;
  top: 50%;
  left: calc(var(--journey-progress) * 1%);
  width: 16px;
  height: 16px;
  margin-left: -8px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #E8FFA8, var(--lime) 45%, #7BC43A 100%);
  border: 2px solid var(--forest);
  box-shadow:
    0 0 0 4px rgba(184, 232, 106, 0.22),
    0 4px 14px rgba(5, 46, 40, 0.22);
  transform: translateY(-50%);
  transition: left 0.65s var(--ease);
  z-index: 2;
  pointer-events: none;
}

.journey.is-playing .journey-progress-ball {
  animation: journey-ball-pulse 1.2s var(--ease) infinite;
}

@keyframes journey-ball-pulse {
  0%, 100% {
    box-shadow:
      0 0 0 4px rgba(184, 232, 106, 0.22),
      0 4px 14px rgba(5, 46, 40, 0.22);
    transform: translateY(-50%) scale(1);
  }
  50% {
    box-shadow:
      0 0 0 8px rgba(184, 232, 106, 0.12),
      0 6px 18px rgba(184, 232, 106, 0.35);
    transform: translateY(-50%) scale(1.08);
  }
}

.timeline {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 10px;
}

.timeline:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 12px;
  min-height: 140px;
  width: 100%;
  cursor: pointer;
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease),
    border-color 0.25s ease,
    background 0.25s ease;
}
.timeline-step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(5, 46, 40, 0.18);
}
.timeline-step:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 3px;
}
.timeline-step.is-passed {
  border-color: rgba(123, 196, 58, 0.35);
  background: rgba(184, 232, 106, 0.06);
}
.timeline-step.is-passed .step-num {
  box-shadow: 0 0 0 3px rgba(184, 232, 106, 0.18);
}
.timeline-step.is-active {
  border-color: rgba(184, 232, 106, 0.55);
  box-shadow: 0 10px 28px rgba(5, 46, 40, 0.12), 0 0 0 1px rgba(184, 232, 106, 0.35);
  transform: translateY(-6px) scale(1.02);
  background: #fff;
  z-index: 1;
}
.timeline-step.is-clicking {
  transform: translateY(-2px) scale(0.98);
}
.timeline-step .step-num {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--forest);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 10px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.timeline-step[data-owner="joint"] .step-num {
  background: var(--lime);
  color: var(--forest);
}
.timeline-step[data-owner="partner"] .step-num {
  background: var(--partner);
  color: var(--white);
}
.timeline-step.is-active .step-num {
  transform: scale(1.12);
  box-shadow: 0 0 0 6px rgba(184, 232, 106, 0.22);
  animation: journey-pulse 1.6s var(--ease) infinite;
}
@keyframes journey-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(184, 232, 106, 0.18); }
  50% { box-shadow: 0 0 0 8px rgba(184, 232, 106, 0.08); }
}
.timeline-step h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
  color: var(--forest);
}
.timeline-step .step-owner {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: auto;
}

.journey-detail {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  min-height: 168px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.journey-detail[data-owner="bank"] {
  border-color: rgba(5, 46, 40, 0.18);
}
.journey-detail[data-owner="joint"] {
  border-color: rgba(184, 232, 106, 0.45);
  box-shadow: 0 8px 28px rgba(184, 232, 106, 0.12);
}
.journey-detail[data-owner="partner"] {
  border-color: rgba(162, 178, 189, 0.55);
}

.journey-detail-inner {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  animation: journey-detail-in 0.45s var(--ease) both;
}

.journey-detail.is-updating .journey-detail-inner {
  animation: none;
  opacity: 0;
  transform: translateY(10px) scale(0.985);
}

@keyframes journey-detail-in {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

.journey-detail-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  background: var(--forest);
  color: var(--white);
}
.journey-detail[data-owner="joint"] .journey-detail-num {
  background: var(--lime);
  color: var(--forest);
}
.journey-detail[data-owner="partner"] .journey-detail-num {
  background: var(--partner);
  color: var(--white);
}

.journey-detail-owner {
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted-light);
  margin-bottom: 4px;
}

.journey-detail-copy h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: var(--forest);
}

.journey-detail-copy > p:not(.journey-detail-owner) {
  color: var(--text-muted-light);
  font-size: 1rem;
  line-height: 1.55;
  max-width: 64ch;
  margin-bottom: 14px;
}

.journey-triggers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.journey-trigger {
  display: inline-flex;
  align-items: center;
  font-size: 0.86rem;
  font-weight: 650;
  color: var(--forest);
  background: rgba(184, 232, 106, 0.18);
  border-radius: var(--radius-pill);
  padding: 7px 12px;
  letter-spacing: -0.01em;
  animation: journey-trigger-in 0.45s var(--ease) both;
}

.journey-trigger--bewoner {
  background: rgba(5, 46, 40, 0.06);
}

@keyframes journey-trigger-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.feature-card {
  display: block;
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--border-light);
  transition: transform 0.25s var(--ease), border-color 0.2s, box-shadow 0.25s var(--ease);
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(5, 46, 40, 0.22);
  box-shadow: var(--shadow-md);
}
.feature-card h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 750;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted-light);
}

/* Security */
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card-compact {
  display: block;
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--border-light);
  color: var(--forest);
  transition: transform 0.25s var(--ease), border-color 0.2s, box-shadow 0.25s var(--ease);
}
a.card-compact:hover {
  transform: translateY(-3px);
  border-color: rgba(5, 46, 40, 0.22);
  box-shadow: var(--shadow-md);
}
.card-compact h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 750;
  margin-bottom: 8px;
}
.card-compact p {
  color: var(--text-muted-light);
  font-size: 0.9rem;
}

/* Use cases */
.use-case-list {
  display: grid;
  gap: 10px;
}

.use-case-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  transition: background 0.2s, transform 0.25s var(--ease), border-color 0.2s;
}
.use-case-list a:hover {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
  transform: translateX(4px);
}
.use-case-list a:hover span { color: var(--lime); }
.use-case-list span { color: var(--lime); }

/* CTA — two-column: left text / right actions, solid forest (no glow wash) */
.cta-band {
  background: var(--forest-deep);
  color: var(--white);
  padding: 112px 0;
}

.cta-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: 40px;
}

.cta-text {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
}

.cta-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
  max-width: 22ch;
  margin-inline: 0;
  text-align: left;
}

.cta-text p {
  color: var(--text-muted-dark);
  max-width: 42ch;
  margin-inline: 0;
  text-align: left;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 14px;
  flex: 0 0 auto;
  text-align: right;
}

.cta-contact {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted-dark);
  text-align: right;
  line-height: 1.4;
}
.cta-contact a { color: var(--lime); font-weight: 650; }

/* Footer */
.site-footer {
  background: #021612;
  color: rgba(255, 255, 255, 0.78);
  padding: 64px 0 28px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.footer-brand .logo-mark {
  width: 28px;
  height: 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 750;
  color: var(--white);
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  padding: 5px 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}
.footer-col a:hover { color: var(--lime); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
}

.footer-legal {
  display: flex;
  gap: 18px;
  align-items: center;
}
.footer-legal a:hover { color: var(--lime); }

/* Motion */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.fade-in.is-visible,
.fade-in--instant {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 1100px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
  }
  .main-nav { justify-self: start; }
  .nav-link { padding: 8px 10px; font-size: 0.875rem; }
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero { min-height: 0; padding: 48px 0 56px; }
  .hero-map {
    width: 100%;
    max-width: 640px;
    margin-inline: auto;
  }
  .hero-map-stage {
    aspect-ratio: 5 / 4;
    width: 100%;
  }
  .hero-map-footer { grid-template-columns: 1fr; }
  .value-rows,
  .feature-grid,
  .card-grid-3 { grid-template-columns: 1fr 1fr; }
  .timeline {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 96px 0; }
  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
  .cta-actions {
    align-items: flex-start;
    text-align: left;
  }
  .cta-contact { text-align: left; }
}

@media (max-width: 860px) {
  .header-inner {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .main-nav { display: none; }
  .header-actions { margin-left: auto; }
  .mobile-toggle { display: inline-flex; grid-column: auto; }
  .header-actions .btn-primary { padding: 10px 16px; font-size: 0.85rem; }
  .value-rows,
  .feature-grid,
  .card-grid-3,
  .env-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .cta-actions {
    align-items: flex-start;
    text-align: left;
  }
  .cta-contact { text-align: left; }
  .hero-map-toolbar { flex-direction: column; align-items: stretch; }
  .map-seg { width: 100%; }
  .map-seg button { flex: 1; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee-track { animation: none; }
  .journey.is-playing .journey-progress-bar { animation: none; }
  .journey.is-playing .journey-progress-ball { animation: none; }
  .timeline-step.is-active .step-num { animation: none; }
}
