@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

:root {
  --bg: #f5f2eb;
  --bg-dark: #1c1c1e;
  --bg-form: #26252a;
  --bg-input: #3a3a3c;
  --text: #1a1715;
  --text-mid: rgba(26,23,21,0.6);
  --text-light: rgba(26,23,21,0.4);
  --text-white: #fff;
  --green: #34c759;
  --green-dim: rgba(52,199,89,0.12);
  --radius: 14px;
  --max-w: 1140px;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ---- TOPBAR ---- */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  background: rgba(245,242,235,0.8);
  backdrop-filter: blur(20px);
  z-index: 100;
}
.brand {
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.topbar-cta {
  background: var(--green);
  color: var(--text-white);
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14px;
  transition: opacity 0.2s;
}
.topbar-cta:hover { opacity: 0.85; }

/* ---- HERO ---- */
.hero {
  min-height: 100svh;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 120px 32px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-avatar {
  width: 220px;
  height: auto;
  margin: 0 auto 32px;
  display: block;
  filter: drop-shadow(0 6px 20px rgba(0,0,0,0.12));
}
.hero-copy {
  text-align: center;
}
.hero-stack {
  margin: 0 auto 32px;
  max-width: 560px;
  display: grid;
  justify-items: center;
  gap: 10px;
}
.hero-title {
  max-width: 540px;
  margin: 0 auto;
  color: var(--text);
  font-size: clamp(36px, 5.8vw, 56px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
  text-align: center;
}
.hero-title span {
  display: block;
}
.hero-specialism {
  margin: 4px auto 0;
  color: var(--green);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0;
  text-align: center;
}
.hero-subcopy {
  display: grid;
  gap: 0;
  margin-top: 2px;
  width: min(100%, clamp(320px, 34vw, 455px));
  text-align: center;
}
.hero-subcopy p {
  margin: 0;
  font-size: clamp(17px, 2.1vw, 22px);
  line-height: 1.28;
  letter-spacing: 0;
  text-wrap: balance;
}
.hero-subcopy p:first-child {
  color: var(--text-mid);
}
.hero-subcopy p:last-child {
  color: var(--text-light);
  font-size: clamp(15px, 1.8vw, 19px);
}
/* Legacy stack classes kept for older cached markup. */
.stack-line {
  margin: 0;
  line-height: 1.12;
  display: block;
  text-align: center;
  font-weight: 400;
  text-wrap: balance;
}
.stack-dark {
  font-size: clamp(30px, 7vw, 50px);
  color: var(--text);
  letter-spacing: 0;
}
.stack-green {
  font-size: clamp(24px, 5.6vw, 40px);
  color: var(--green);
  letter-spacing: 0;
  margin-top: 6px;
}
.stack-gray {
  font-size: clamp(16px, 3.4vw, 23px);
  color: var(--text-mid);
  letter-spacing: 0;
  margin-top: 10px;
}
.stack-gray-light {
  font-size: clamp(14px, 2.9vw, 19px);
  color: var(--text-light);
  letter-spacing: 0;
}
.hero-copy .lead {
  font-size: 18px;
  color: var(--text-mid);
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.6;
}
.btn-green {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: var(--text-white);
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-green:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(52,199,89,0.3);
}

/* Social proof */
.social-proof {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(26,23,21,0.08);
}
.proof-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  margin-bottom: 12px;
}
.proof-logos {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}
.proof-logos span {
  font-size: 16px;
  font-weight: 600;
  color: rgba(26,23,21,0.2);
  letter-spacing: 0.02em;
}

/* ---- iPhone mockup ---- */
.hero-visual {
  display: flex;
  justify-content: center;
}
.iphone {
  width: 320px;
  background: #000;
  border-radius: 44px;
  padding: 14px;
  box-shadow:
    0 0 0 2px rgba(255,255,255,0.1),
    0 32px 100px rgba(0,0,0,0.25),
    0 8px 32px rgba(0,0,0,0.15);
  position: relative;
}
.iphone-notch {
  width: 120px;
  height: 28px;
  background: #000;
  border-radius: 0 0 18px 18px;
  margin: 0 auto -14px;
  position: relative;
  z-index: 2;
}
.iphone-status {
  display: flex;
  justify-content: space-between;
  padding: 8px 20px 4px;
  font-size: 12px;
  font-weight: 600;
  color: white;
}
.iphone-icons {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
}
.batt {
  display: inline-block;
  width: 20px;
  height: 10px;
  border: 1.5px solid white;
  border-radius: 2px;
  position: relative;
}
.batt::after {
  content: '';
  position: absolute;
  left: 2px; top: 2px; bottom: 2px;
  width: 60%;
  background: var(--green);
  border-radius: 1px;
}
.iphone-content {
  background: var(--bg-dark);
  border-radius: 32px;
  padding: 16px;
  min-height: 520px;
  display: flex;
  flex-direction: column;
}

/* Phone header */
.phone-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 12px;
}
.phone-avatar-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(255,255,255,0.1);
}
.phone-name {
  color: white;
  font-weight: 600;
  font-size: 15px;
}
.phone-time {
  color: rgba(255,255,255,0.3);
  font-size: 11px;
  margin-left: auto;
}

/* Chat bubbles */
.chat-bubbles {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.chat-bubble {
  max-width: 88%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.45;
}
.chat-bubble.ai {
  background: var(--green);
  color: white;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

/* Phone form (inside iPhone) */
.phone-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}
.phone-form-kicker {
  margin: 0 0 8px;
  color: rgba(255,255,255,0.72);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}
.phone-form label {
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.phone-input-row {
  display: flex;
  gap: 6px;
}
.flag-prefix {
  background: var(--bg-input);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 10px 10px;
  color: white;
  font-size: 13px;
  white-space: nowrap;
  display: flex;
  align-items: center;
}
.phone-form input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid rgba(255,255,255,0.1);
  color: white;
  padding: 10px 12px;
  border-radius: 10px;
  font: inherit;
  font-size: 13px;
  outline: none;
}
.phone-form input:focus {
  border-color: var(--green);
}
.phone-form input::placeholder {
  color: rgba(255,255,255,0.25);
}
.phone-cta {
  background: var(--green);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  margin-top: 4px;
  transition: opacity 0.2s;
}
.phone-cta:hover { opacity: 0.9; }

/* Zoom animation when phone is targeted */
.iphone {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
}
.iphone.zoomed {
  transform: scale(1.15);
  box-shadow:
    0 0 0 2px rgba(255,255,255,0.1),
    0 48px 120px rgba(0,0,0,0.35),
    0 16px 48px rgba(0,0,0,0.2);
  z-index: 50;
}
@keyframes blink-cursor {
  0%, 100% { border-color: var(--green); }
  50% { border-color: transparent; }
}
.phone-form input.focus-blink:placeholder-shown {
  border-color: var(--green);
  animation: blink-cursor 1s step-end infinite;
}

/* ---- Nav brand with avatar ---- */
.brand {
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

/* Footer brand */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* ---- STATS COMPACT ---- */
.stats-compact {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px 32px;
}
.stat-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.stat-pill {
  background: white;
  border: 1px solid rgba(26,23,21,0.1);
  border-radius: 999px;
  padding: 10px 24px;
  font-size: 15px;
  color: var(--text-mid);
  white-space: nowrap;
}
.stat-num {
  font-weight: 600;
  color: var(--green);
  margin-right: 4px;
}

/* ---- HOW IT WORKS ---- */
.how {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 32px;
  border-top: 1px solid rgba(26,23,21,0.08);
}
.how h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
  text-align: center;
}
.how h2 em {
  font-style: normal;
  color: var(--text-light);
}
.how-video {
  max-width: 480px;
  margin: 0 auto 48px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
.how-video video {
  width: 100%;
  display: block;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green-dim);
  color: var(--green);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 16px;
}
.step h3 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 8px;
}
.step p {
  color: var(--text-mid);
  font-size: 15px;
  line-height: 1.55;
}

/* ---- CTA / FORM (dark section) ---- */
.cta-section {
  background: var(--bg-dark);
  padding: 100px 32px;
  margin-top: 80px;
}
.cta-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.cta-avatar {
  width: 120px;
  height: auto;
  margin: 0 auto 20px;
  display: block;
  filter: drop-shadow(0 6px 24px rgba(0,0,0,0.4));
}
.cta-section h2 {
  color: var(--text-white);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.cta-intro {
  color: rgba(255,255,255,0.72);
  font-size: 16px;
  line-height: 1.65;
  max-width: 500px;
  margin: 0 auto 16px;
}
.cta-tagline {
  color: var(--green);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 8px auto 32px;
}
.cta-section .btn-green {
  font-size: 18px;
  padding: 16px 36px;
}
.cta-form {
  max-width: 420px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
  text-align: left;
}
.cta-form label {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  font-weight: 500;
  display: grid;
  gap: 6px;
}
.cta-form input,
.cta-form select {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid rgba(255,255,255,0.1);
  color: white;
  padding: 14px 16px;
  border-radius: 12px;
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}
.cta-form input:focus {
  border-color: var(--green);
}
.cta-form input::placeholder {
  color: rgba(255,255,255,0.25);
}
.cta-form .check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,255,255,0.4);
  font-size: 13px;
  line-height: 1.4;
}
.cta-form .check input {
  width: auto;
  margin-top: 2px;
}
.cta-form .check a {
  color: rgba(255,255,255,0.6);
  text-decoration: underline;
}
.cta-form .btn-green {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}
.form-note {
  color: rgba(255,255,255,0.3);
  font-size: 13px;
  text-align: center;
  margin-top: 12px;
}

/* ---- FOOTER ---- */
footer {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-light);
}
footer a {
  color: var(--text-mid);
  margin-left: 24px;
}
footer a:hover { color: var(--text); }

/* ---- RESPONSIVE ---- */
@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 100px 20px 60px;
    text-align: center;
  }
  .hero-avatar { width: 150px; margin: 0 auto 24px; display: block; }
  .hero-copy .lead { margin: 0 auto 32px; }
  .hero-visual { margin-top: 40px; }
  .iphone { width: 300px; }
  .social-proof { text-align: center; }
  .proof-logos { justify-content: center; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .steps-grid { grid-template-columns: 1fr; gap: 32px; }
  .topbar { padding: 0 20px; }
  footer { flex-direction: column; gap: 16px; text-align: center; }
  footer a { margin-left: 0; margin: 0 12px; }
}

/* ---- TELEFOON (echte mobile-first tuning) ---- */
@media (max-width: 480px) {
  .topbar {
    height: 56px;
    padding: 0 10px;
    gap: 8px;
  }
  .brand {
    font-size: 16px;
    flex: 0 0 auto;
  }
  .brand-logo {
    width: 28px;
    height: 28px;
  }
  nav {
    gap: 6px;
    min-width: 0;
  }
  nav a,
  nav a:not(.topbar-cta),
  .topbar-cta {
    font-size: 12px;
    padding: 8px 10px;
    min-height: 36px;
    white-space: nowrap;
  }
  nav a[href="/partners"] {
    display: none;
  }
  .hero {
    min-height: calc(100svh - 56px);
    padding: 58px 18px 0;
    gap: 8px;
    overflow: hidden;
    align-items: start;
  }
  .hero-copy {
    display: grid;
    justify-items: center;
    gap: 6px;
  }
  .hero-avatar { display: none; }
  .hero-stack {
    max-width: 340px;
    margin: 0 auto;
    gap: 3px;
  }
  .hero-title {
    max-width: 330px;
    font-size: 28px;
    line-height: 1.04;
  }
  .hero-specialism {
    margin-top: 3px;
    font-size: 23px;
    line-height: 1.05;
  }
  .hero-subcopy {
    width: min(100%, 330px);
    margin-top: 0;
  }
  .hero-subcopy p {
    font-size: 14px;
    line-height: 1.18;
  }
  .hero-subcopy p:last-child {
    font-size: 12px;
  }
  .hero-copy > .btn-green,
  .social-proof {
    display: none;
  }
  .hero-visual {
    width: 100%;
    margin-top: 4px;
    max-height: calc(100svh - 204px);
    overflow: hidden;
    align-items: flex-start;
  }
  .iphone {
    width: min(100%, 292px);
    max-width: 292px;
    padding: 10px;
    border-radius: 36px;
  }
  .iphone-notch {
    width: 104px;
    height: 18px;
    margin-bottom: -10px;
  }
  .iphone-status {
    padding: 5px 16px 2px;
    font-size: 10px;
  }
  .iphone-content {
    min-height: auto;
    padding: 11px;
    border-radius: 26px;
  }
  .phone-header {
    padding-bottom: 7px;
    margin-bottom: 7px;
  }
  .phone-avatar-img {
    width: 26px;
    height: 26px;
  }
  .phone-name {
    font-size: 13px;
  }
  .phone-time {
    font-size: 10px;
  }
  .chat-bubbles {
    gap: 6px;
    margin-bottom: 7px;
  }
  .chat-bubble {
    max-width: 92%;
    padding: 7px 10px;
    font-size: 11px;
    line-height: 1.24;
    border-radius: 12px;
  }
  .phone-form-kicker {
    margin-bottom: 4px;
    font-size: 11px;
    color: rgba(255,255,255,0.82);
  }
  .phone-form {
    gap: 6px;
    margin-top: 0;
  }
  .phone-form label {
    gap: 2px;
    font-size: 10px;
  }
  .phone-input-row {
    gap: 5px;
  }
  .flag-prefix {
    flex: 0 0 64px;
    justify-content: center;
  }

  /* consistente 20px horizontale padding overal */
  .stats-compact { padding: 32px 20px; }
  .how { padding: 56px 20px; }
  .cta-section { padding: 64px 20px; margin-top: 56px; }
  .bureaus-hero, main { padding-left: 20px; padding-right: 20px; }
  footer { padding: 32px 20px; }

  /* compactere koppen op telefoon */
  .how h2, .stats h2 { font-size: 30px; margin-bottom: 28px; }
  .how-video { margin-bottom: 32px; }
  .cta-section h2 { font-size: 28px; }

  /* stat-pills: 2 per rij i.p.v. uitwaaieren */
  .stat-row { gap: 8px; }
  .stat-pill { padding: 9px 16px; font-size: 14px; }

  /* tap-targets blijven duidelijk, maar compact genoeg voor de eerste fold */
  .phone-cta, .btn-green { padding: 10px 20px; min-height: 40px; }
  .phone-form input, .phone-form .flag-prefix {
    padding: 9px 10px;
    font-size: 12px;
    border-radius: 9px;
  }
  .phone-cta {
    font-size: 13px;
    border-radius: 9px;
  }
  /* bureaus: 1 kolom, video boven */
  .bureaus-hero-video { width: 100%; max-width: 320px; margin: 0 auto; }
}

/* ---- INNER PAGES (intake, etc) ---- */
main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 100px 32px 64px;
}
.page-head { padding: 24px 0 28px; }
.page-head h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  letter-spacing: -0.02em;
}
.page-head p {
  color: var(--text-mid);
  font-size: 18px;
  max-width: 600px;
}
.form {
  background: white;
  border: 1px solid rgba(26,23,21,0.08);
  border-radius: var(--radius);
  padding: 28px;
  max-width: 640px;
}
.form label {
  display: grid;
  gap: 6px;
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 16px;
}
.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid rgba(26,23,21,0.12);
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  background: white;
  outline: none;
  transition: border-color 0.2s;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--green);
}
.form textarea { min-height: 100px; resize: vertical; }
.form .check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0;
  font-size: 14px;
  color: var(--text-mid);
}
.form .check input { width: auto; margin-top: 3px; }
.form .check a { text-decoration: underline; }
.form .btn-green { width: 100%; justify-content: center; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 500;
  border: 1px solid rgba(26,23,21,0.12);
  background: white;
  cursor: pointer;
  font: inherit;
}
.button.primary {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.notice {
  border: 1px solid rgba(52,199,89,0.3);
  background: rgba(52,199,89,0.06);
  color: #1a6b3a;
  padding: 14px 18px;
  border-radius: var(--radius);
}
nav { display: flex; gap: 16px; align-items: center; }
nav a { color: var(--text-mid); font-weight: 500; font-size: 15px; }
nav a:hover { color: var(--text); }
nav a:not(.topbar-cta) {
  padding: 10px 20px;
  background: var(--bg-dark);
  color: var(--text-white);
  border: none;
  border-radius: 999px;
  font-size: 14px;
  transition: opacity 0.2s;
}
nav a:not(.topbar-cta):hover {
  opacity: 0.85;
}

/* ---- BUREAUS PAGE ---- */
.bureaus-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
}
.bureaus-hero-text .section-label {
  color: var(--text-light);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.bureaus-hero-text h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  letter-spacing: -0.02em;
}
.bureaus-hero-text h1 em {
  font-style: normal;
  color: var(--text-light);
}
.bureaus-hero-text p {
  color: var(--text-mid);
  font-size: 17px;
  max-width: 520px;
  margin-top: 12px;
}
.bureaus-hero-video {
  width: 240px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  background: var(--bg-dark);
}
.bureaus-hero-video video {
  width: 100%;
  display: block;
  border-radius: 20px;
}

/* Tiles grid */
.bureau-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
.tile {
  background: white;
  border: 1px solid rgba(26,23,21,0.15);
  border-radius: 16px;
  padding: 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.tile:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.07);
  transform: translateY(-2px);
}
.tile-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.tile-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}
.tile-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: contain;
  flex-shrink: 0;
  background: white;
  padding: 4px;
  border: 1px solid rgba(26,23,21,0.06);
}
.tile-top h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}
.tile-badge {
  font-size: 11px;
  font-weight: 500;
  color: var(--green);
  background: var(--green-dim);
  padding: 2px 8px;
  border-radius: 999px;
}
.tile p {
  color: var(--text-mid);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 14px;
}
.tile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tile-tags span {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-mid);
  background: rgba(26,23,21,0.04);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(26,23,21,0.06);
}

/* Featured / sponsor tile */
.tile-featured {
  grid-column: span 2;
  background: white;
  border: 1.5px solid rgba(52,199,89,0.25);
  box-shadow: 0 4px 20px rgba(52,199,89,0.06);
}
.tile-featured-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}
.tile-featured-main {
  display: flex;
  flex-direction: column;
}
.tile-badge-sponsor {
  background: var(--green);
  color: white;
}
.tile-featured-article {
  border-left: 1px solid rgba(26,23,21,0.06);
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.article-photo {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 4px;
}
.article-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
}
.article-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  margin: 0;
}
.article-excerpt {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.5;
  margin: 0;
}
.article-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  margin-top: auto;
  transition: opacity 0.2s;
}
.article-link:hover { opacity: 0.7; }
@media (max-width: 960px) {
  .tile-featured { grid-column: span 2; }
  .tile-featured-inner { grid-template-columns: 1fr; }
  .tile-featured-article { border-left: none; border-top: 1px solid rgba(26,23,21,0.06); padding-left: 0; padding-top: 16px; }
}
@media (max-width: 600px) {
  .tile-featured { grid-column: span 1; }
}

/* Rest tiles (smaller, 3-col) */
.bureau-tiles-rest {
  margin-top: 32px;
  grid-template-columns: repeat(3, 1fr);
}
.tile-small {
  padding: 18px 20px;
}
.tile-small .tile-top h3 {
  font-size: 15px;
}
.tile-small p {
  font-size: 13px;
  margin-bottom: 0;
}
.tile-small .tile-badge {
  font-size: 10px;
}

/* Rest of bureaus list */
.bureau-rest {
  margin-bottom: 48px;
  padding: 32px;
  background: white;
  border: 1px solid rgba(26,23,21,0.15);
  border-radius: 16px;
}
.bureau-rest h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 20px;
  color: var(--text);
}
.rest-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.rest-list span {
  font-size: 13px;
  color: var(--text-mid);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(26,23,21,0.1);
  background: var(--bg);
  white-space: nowrap;
}

.bureau-cta {
  text-align: center;
  padding: 48px 0 40px;
  border-top: 1px solid rgba(26,23,21,0.06);
}
.bureau-cta p {
  color: var(--text-mid);
  margin-bottom: 24px;
  font-size: 17px;
}

@media (max-width: 960px) {
  .bureau-tiles { grid-template-columns: repeat(2, 1fr); }
  .bureaus-hero { grid-template-columns: 1fr; }
  .bureaus-hero-video { width: 200px; }
}
@media (max-width: 600px) {
  .bureau-tiles { grid-template-columns: 1fr; }
  .bureaus-hero-video { width: 100%; max-width: 280px; }
}

/* ---- STATUS / DANKJEWEL-PAGINA ---- */
.status-page {
  max-width: 680px;
  margin: 24px auto 0;
  text-align: center;
}
.status-avatar {
  width: 130px;
  height: auto;
  display: block;
  margin: 0 auto 24px;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.12));
}
.status-title {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 16px;
}
.status-lead {
  color: var(--text-mid);
  font-size: 18px;
  line-height: 1.6;
  max-width: 540px;
  margin: 0 auto 44px;
}
.status-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
  margin-bottom: 40px;
}
.status-step .step-num { margin-bottom: 12px; }
.status-step.done .step-num { background: var(--green); color: #fff; }
.status-step.active .step-num {
  background: var(--green);
  color: #fff;
  box-shadow: 0 0 0 4px var(--green-dim);
}
.status-step h3 { font-size: 17px; font-weight: 500; margin-bottom: 6px; }
.status-step p { color: var(--text-mid); font-size: 14px; line-height: 1.5; }
.status-note { color: var(--text-light); font-size: 13px; margin-top: 14px; }
@media (max-width: 700px) {
  .status-steps { grid-template-columns: 1fr; gap: 16px; }
}

/* Hide admin link from nav for public */
.grid { display: grid; gap: 16px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.content-grid { margin-bottom: 16px; }
.panel {
  background: white;
  border: 1px solid rgba(26,23,21,0.1);
  border-radius: 8px;
  padding: 22px;
  overflow: auto;
}
.panel h2 {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 14px;
}
.panel h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 18px 0 10px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
th, td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid rgba(26,23,21,0.08);
  vertical-align: top;
}
th {
  color: var(--text-mid);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}
small, .muted { color: var(--text-mid); }
.metrics, .mini-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  margin: 16px 0;
}
.metrics div, .mini-metrics div {
  border: 1px solid rgba(26,23,21,0.08);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255,255,255,0.72);
}
.metrics strong, .mini-metrics strong {
  display: block;
  font-size: 24px;
  line-height: 1.1;
}
.metrics span, .mini-metrics span {
  display: block;
  color: var(--text-mid);
  font-size: 12px;
  margin-top: 4px;
}
.directie-head .decision {
  display: grid;
  grid-template-columns: 140px 160px 1fr;
  gap: 14px;
  align-items: center;
  margin-top: 22px;
  padding: 18px;
  border-radius: 8px;
  border: 1px solid rgba(26,23,21,0.1);
  background: white;
}
.decision span {
  display: block;
  color: var(--text-mid);
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 600;
}
.decision small,
.decision strong {
  display: block;
}
.decision strong {
  font-size: 22px;
}
.decision p {
  max-width: none;
  font-size: 15px;
}
.decision-pauzeren { border-left: 6px solid #d04444 !important; }
.decision-stabiliseren { border-left: 6px solid #b7791f !important; }
.decision-groeien { border-left: 6px solid var(--green) !important; }
.directie-reasons {
  display: grid;
  gap: 8px;
  margin: -10px 0 18px;
}
.directie-reasons p {
  background: rgba(26,23,21,0.04);
  border: 1px solid rgba(26,23,21,0.08);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--text-mid);
  font-size: 14px;
}
.director-panel {
  min-width: 0;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
}
.status-groen { color: #136a35; background: rgba(52,199,89,0.14); }
.status-oranje { color: #8a4d0a; background: rgba(183,121,31,0.14); }
.status-rood { color: #9b2c2c; background: rgba(208,68,68,0.14); }
.readiness-list, .quality-row, .rule-list {
  display: grid;
  gap: 8px;
}
.readiness-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(26,23,21,0.08);
  padding: 7px 0;
}
.readiness-list span, .rule-list li {
  color: var(--text-mid);
  font-size: 14px;
}
.quality-row {
  grid-template-columns: repeat(4, 1fr);
}
.quality-row span {
  border: 1px solid rgba(26,23,21,0.08);
  border-radius: 8px;
  padding: 10px;
  font-weight: 600;
}
.rule-list {
  padding-left: 18px;
}
.command-list {
  display: grid;
  gap: 10px;
}
.command-list div {
  border: 1px solid rgba(26,23,21,0.08);
  border-radius: 8px;
  background: rgba(26,23,21,0.03);
  padding: 10px;
  min-width: 0;
}
.command-list span,
.command-list small {
  display: block;
  color: var(--text-mid);
  font-size: 12px;
  line-height: 1.35;
}
.command-list strong {
  display: block;
  margin: 4px 0;
  overflow-wrap: anywhere;
}
.admin-dashboard-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
  padding: 8px 0 12px;
}
.admin-dashboard-head .eyebrow {
  margin-bottom: 4px;
}
.admin-dashboard-head h1 {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.05;
}
.admin-dashboard-head > p {
  font-size: 14px;
  max-width: 540px;
  grid-column: 1;
}
.admin-dashboard-head .decision {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 120px 120px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-top: 0;
  padding: 10px 12px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(26,23,21,0.08);
  border-radius: 8px;
}
.admin-dashboard-head .decision strong {
  font-size: 18px;
}
.admin-dashboard-head .decision p {
  font-size: 13px;
}
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  justify-content: flex-end;
}
.admin-actions form {
  margin: 0;
}
.admin-workflow-board {
  display: grid;
  gap: 16px;
  margin-bottom: 12px;
  border-color: rgba(43,201,91,0.24);
  box-shadow: 0 12px 34px rgba(26,23,21,0.06);
}
.admin-board-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.32fr);
  gap: 14px;
  align-items: start;
}
.admin-board-head h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin: 0 0 6px;
}
.admin-board-status {
  border-left: 5px solid var(--green);
  border-radius: 8px;
  background: rgba(26,23,21,0.03);
  padding: 12px;
}
.admin-board-status span,
.admin-board-status small {
  display: block;
  color: var(--text-mid);
  font-size: 12px;
}
.admin-board-status strong {
  display: block;
  font-size: 22px;
  line-height: 1.1;
  margin: 4px 0 6px;
}
.admin-tabbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  overflow: visible;
  padding-bottom: 2px;
}
.admin-tabbar a {
  flex: 0 0 auto;
  border: 1px solid rgba(26,23,21,0.1);
  border-radius: 999px;
  background: white;
  color: var(--text-mid);
  font-size: 13px;
  font-weight: 650;
  padding: 8px 12px;
}
.admin-tabbar a:hover {
  color: var(--text);
  border-color: rgba(43,201,91,0.55);
}
.workflow-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.workflow-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  border: 1px solid rgba(26,23,21,0.09);
  border-radius: 8px;
  background: rgba(255,255,255,0.82);
  padding: 12px;
  min-width: 0;
}
.workflow-step span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(43,201,91,0.14);
  color: var(--green);
  font-weight: 800;
}
.workflow-step.active span {
  background: var(--green);
  color: white;
}
.workflow-step strong,
.workflow-step small {
  display: block;
  overflow-wrap: anywhere;
}
.workflow-step small {
  color: var(--text-mid);
  font-size: 12px;
  line-height: 1.3;
}
.admin-kpi-nav {
  margin-bottom: 12px;
}
.legacy-kpi-grid {
  display: none;
}
.admin-login-wrap {
  min-height: calc(100vh - 170px);
  display: grid;
  place-items: center;
}
.admin-login-card {
  width: min(100%, 430px);
  background: white;
  border: 1px solid rgba(26,23,21,0.1);
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 20px 60px rgba(26,23,21,0.08);
}
.admin-login-card h1 {
  font-size: 38px;
  font-weight: 500;
  line-height: 1.08;
  margin-bottom: 10px;
}
.admin-login-card p {
  color: var(--text-mid);
  line-height: 1.55;
}
.admin-login-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}
.admin-login-form label {
  display: grid;
  gap: 7px;
  color: var(--text-mid);
  font-size: 13px;
  font-weight: 600;
}
.admin-login-form input {
  border: 1px solid rgba(26,23,21,0.14);
  border-radius: 8px;
  padding: 12px 13px;
  font: inherit;
}
.login-error {
  margin-top: 16px;
  border: 1px solid rgba(208,68,68,0.25);
  border-radius: 8px;
  background: rgba(208,68,68,0.08);
  color: #9b2c2c;
  padding: 10px 12px;
  font-size: 14px;
}
.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 8px 0 18px;
}
.admin-kpi-grid article,
.kpi-link {
  display: block;
  background: white;
  border: 1px solid rgba(26,23,21,0.1);
  border-radius: 8px;
  padding: 16px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}
.kpi-link:hover {
  border-color: rgba(43,201,91,0.55);
  box-shadow: 0 10px 22px rgba(26,23,21,0.06);
  transform: translateY(-1px);
}
.admin-kpi-grid span,
.admin-kpi-grid small {
  display: block;
  color: var(--text-mid);
  font-size: 12px;
  line-height: 1.35;
}
.admin-kpi-grid strong {
  display: block;
  font-size: 28px;
  line-height: 1.1;
  margin: 6px 0;
  overflow-wrap: anywhere;
}
.executive-week,
.growth-actions-panel,
.database-universe {
  margin-bottom: 16px;
}
.week-hero,
.section-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.35fr);
  gap: 18px;
  align-items: start;
}
.week-hero h2,
.section-title-row h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 500;
  line-height: 1.08;
  margin-bottom: 10px;
}
.week-hero p {
  color: var(--text-mid);
  max-width: 760px;
}
.week-forecast {
  border: 1px solid rgba(26,23,21,0.08);
  border-radius: 8px;
  padding: 16px;
  background: rgba(26,23,21,0.03);
}
.week-forecast span,
.week-forecast small,
.action-counts span {
  display: block;
  color: var(--text-mid);
  font-size: 12px;
  line-height: 1.4;
}
.week-forecast strong {
  display: block;
  font-size: 24px;
  line-height: 1.1;
  margin: 8px 0;
}
.weekly-targets,
.database-section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  margin-top: 18px;
}
.weekly-targets div,
.database-section-grid article {
  border: 1px solid rgba(26,23,21,0.08);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255,255,255,0.76);
}
.weekly-targets strong {
  display: block;
  font-size: 24px;
  line-height: 1.1;
}
.weekly-targets span,
.database-section-grid article > span {
  color: var(--text-mid);
  font-size: 12px;
  overflow-wrap: anywhere;
}
.action-counts {
  display: grid;
  gap: 8px;
  justify-self: end;
  min-width: 180px;
}
.action-counts span {
  border: 1px solid rgba(26,23,21,0.08);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.76);
}
.growth-action-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.growth-lanes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 20px;
}
.growth-lane {
  border: 1px solid rgba(26,23,21,0.09);
  border-radius: 8px;
  background: rgba(255,255,255,0.62);
  padding: 12px;
  min-width: 0;
}
.growth-lane-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  border-bottom: 1px solid rgba(26,23,21,0.08);
  padding-bottom: 10px;
  margin-bottom: 12px;
}
.growth-lane-head span {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.growth-lane-head h3 {
  font-size: 15px;
  line-height: 1.25;
  margin: 4px 0 0;
  font-weight: 650;
}
.growth-lane-head strong {
  border-radius: 999px;
  background: rgba(43,201,91,0.12);
  color: var(--green);
  min-width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.growth-action-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}
.growth-action-card {
  border: 1px solid rgba(26,23,21,0.1);
  border-radius: 8px;
  padding: 16px;
  background: white;
  min-width: 0;
}
.growth-action-card.compact {
  padding: 14px;
  box-shadow: 0 10px 22px rgba(26,23,21,0.04);
}
.growth-action-card.risk-low { border-left: 4px solid var(--green); }
.growth-action-card.risk-medium { border-left: 4px solid #b7791f; }
.growth-action-card.risk-high { border-left: 4px solid #d04444; }
.growth-action-card h3 {
  font-size: 17px;
  line-height: 1.2;
  margin: 10px 0;
}
.growth-action-card.compact h3 {
  font-size: 16px;
  margin: 9px 0 7px;
}
.growth-action-card p,
.growth-action-card dd {
  color: var(--text-mid);
  font-size: 13px;
  line-height: 1.45;
}
.action-meta,
.action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.action-meta span {
  border-radius: 999px;
  background: rgba(26,23,21,0.05);
  color: var(--text-mid);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 8px;
}
.growth-action-card dl {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}
.growth-action-card dt {
  color: var(--text-light);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}
.growth-action-card dd {
  margin: 2px 0 0;
}
.action-buttons {
  margin-top: 12px;
}
.growth-action-card .button {
  padding: 11px 16px;
  min-height: 42px;
}
.growth-action-card .button.secondary {
  background: white;
}
.improve-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 8px;
}
.improve-form input {
  min-width: 0;
  border: 1px solid rgba(26,23,21,0.14);
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
}
.top-actions-detail {
  margin-top: 18px;
}
.top-actions-detail summary {
  cursor: pointer;
  font-weight: 600;
  margin-bottom: 10px;
}
.database-section-grid h3 {
  font-size: 17px;
  margin: 6px 0 12px;
}
.database-metrics,
.compact-list {
  display: grid;
  gap: 7px;
}
.database-metrics div,
.compact-list div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid rgba(26,23,21,0.06);
  padding-top: 7px;
}
.database-metrics strong,
.compact-list strong {
  font-size: 16px;
}
.database-metrics small,
.compact-list span {
  color: var(--text-mid);
  font-size: 12px;
}
.subpanel {
  background: rgba(26,23,21,0.02);
}
.compact-kpis {
  margin-top: 14px;
}
.message-template-panel {
  margin-bottom: 16px;
}
.message-template-grid {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
}
.message-template-card {
  display: grid;
  gap: 9px;
  flex: 0 0 300px;
  scroll-snap-align: start;
  border: 1px solid rgba(26,23,21,0.1);
  border-radius: 8px;
  background: rgba(255,255,255,0.76);
  padding: 12px;
}
.template-card-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  align-items: flex-start;
}
.template-step {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(43,201,91,0.14);
  color: var(--green);
  font-size: 13px;
}
.template-card-head span,
.template-card-head small {
  color: var(--text-light);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}
.template-card-head h3 {
  font-size: 15px;
  line-height: 1.2;
  margin-top: 4px;
}
.template-card-head small {
  grid-column: 1 / -1;
  overflow-wrap: anywhere;
}
.message-template-card p {
  color: var(--text-mid);
  font-size: 12px;
  line-height: 1.35;
}
.message-template-card label {
  display: grid;
  gap: 6px;
  color: var(--text-mid);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}
.message-template-card input,
.message-template-card textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(26,23,21,0.14);
  border-radius: 8px;
  background: white;
  color: var(--text);
  font: 12px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  padding: 10px;
}
.message-template-card textarea {
  min-height: 116px;
  resize: vertical;
}
.detail-list {
  display: grid;
  gap: 10px;
}
.detail-list div {
  border-top: 1px solid rgba(26,23,21,0.07);
  padding-top: 10px;
}
.detail-list dt {
  color: var(--text-light);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}
.detail-list dd {
  margin: 3px 0 0;
  color: var(--text);
}
.call-transcript,
.report-preview {
  border: 1px solid rgba(26,23,21,0.08);
  border-radius: 8px;
  padding: 14px;
  margin-top: 12px;
  background: rgba(255,255,255,0.7);
}
.call-transcript pre,
.report-preview pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: 13px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: rgba(26,23,21,0.04);
  border-radius: 8px;
  padding: 12px;
  max-height: 420px;
  overflow: auto;
}
.compact-row {
  grid-template-columns: 1fr;
}
.workflow-funnel {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: stretch;
}
.workflow-funnel .workflow-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 132px;
}
.workflow-funnel .workflow-step strong {
  font-size: 16px;
  line-height: 1.2;
  overflow-wrap: normal;
  word-break: normal;
}
.workflow-funnel .workflow-step small {
  overflow-wrap: normal;
  word-break: normal;
}
.cockpit-split {
  margin-bottom: 16px;
}
.cockpit-split > .panel {
  min-width: 0;
}
.cockpit-split .section-title-row {
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}
.cockpit-split .section-title-row .button {
  justify-self: start;
  white-space: nowrap;
}
.feedback-panel h2,
.flow-health-panel h2 {
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.12;
}
.feedback-stats,
.flow-health-grid,
.sales-preview-lanes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.feedback-stats div,
.flow-health-grid a,
.sales-preview-lanes a {
  border: 1px solid rgba(26,23,21,0.09);
  border-radius: 8px;
  background: rgba(255,255,255,0.74);
  padding: 13px;
  color: inherit;
}
.feedback-stats strong,
.flow-health-grid strong,
.sales-preview-lanes strong {
  display: block;
  font-size: 24px;
  line-height: 1.05;
}
.feedback-stats span,
.flow-health-grid span,
.sales-preview-lanes span {
  display: block;
  color: var(--text-mid);
  font-size: 12px;
  margin-top: 4px;
  overflow-wrap: anywhere;
}
.compact-list a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid rgba(26,23,21,0.06);
  padding-top: 7px;
  color: inherit;
}
.improvement-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.improvement-list article {
  border: 1px solid rgba(26,23,21,0.09);
  border-radius: 8px;
  background: rgba(255,255,255,0.78);
  padding: 14px;
}
.improvement-list span {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.improvement-list h3 {
  font-size: 17px;
  line-height: 1.25;
  margin: 4px 0;
}
.improvement-list p,
.improvement-list small {
  color: var(--text-mid);
}
.sales-kanban-board {
  width: min(100%, 1420px);
  margin: 0 auto 48px;
  padding: 0 32px;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  align-items: stretch;
}
.sales-lane {
  flex: 0 0 280px;
  border: 1px solid rgba(26,23,21,0.09);
  border-radius: 8px;
  background: rgba(255,255,255,0.72);
  padding: 12px;
}
.sales-lane-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(26,23,21,0.08);
  margin-bottom: 10px;
}
.sales-lane-head h2 {
  font-size: 16px;
  line-height: 1.2;
}
.sales-lane-head span {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  border-radius: 999px;
  color: var(--green);
  background: rgba(43,201,91,0.13);
  font-weight: 800;
}
.sales-card {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(26,23,21,0.08);
  border-radius: 8px;
  background: white;
  padding: 12px;
  margin-bottom: 8px;
  color: inherit;
  box-shadow: 0 8px 18px rgba(26,23,21,0.04);
}
.sales-card span,
.sales-card small {
  color: var(--text-mid);
  font-size: 12px;
  overflow-wrap: anywhere;
}
.review-page {
  min-height: calc(100vh - 64px);
  display: grid;
  place-items: center;
  padding: 120px 24px 60px;
}
.review-panel {
  width: min(100%, 640px);
  background: white;
  border: 1px solid rgba(26,23,21,0.1);
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 24px 70px rgba(26,23,21,0.08);
}
.review-panel h1 {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.06;
  font-weight: 500;
  margin-bottom: 12px;
}
.review-panel p {
  color: var(--text-mid);
  font-size: 17px;
}
.review-form,
.stack-form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}
.review-form label,
.stack-form label {
  display: grid;
  gap: 7px;
  color: var(--text-mid);
  font-size: 13px;
  font-weight: 700;
}
.review-form input,
.review-form select,
.review-form textarea,
.stack-form input,
.stack-form select,
.stack-form textarea {
  width: 100%;
  border: 1px solid rgba(26,23,21,0.14);
  border-radius: 8px;
  padding: 12px;
  font: inherit;
  background: white;
}
.table-wrap {
  width: 100%;
  overflow-x: auto;
}
@media (max-width: 820px) {
  main { padding: 80px 20px 40px; }
  .grid.two, .grid.three, .grid.four { grid-template-columns: 1fr; }
  .directie-head .decision { grid-template-columns: 1fr; }
  .admin-kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-dashboard-head {
    grid-template-columns: 1fr;
  }
  .admin-actions {
    justify-content: flex-start;
  }
  .admin-dashboard-head .decision,
  .admin-board-head {
    grid-template-columns: 1fr;
  }
  .workflow-steps {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
  }
  .workflow-step {
    flex: 0 0 210px;
    scroll-snap-align: start;
  }
  .week-hero,
  .section-title-row,
  .growth-action-grid,
  .growth-lanes {
    grid-template-columns: 1fr;
  }
  .action-counts {
    justify-self: stretch;
  }
  .improve-form {
    grid-template-columns: 1fr;
  }
  .growth-action-list {
    grid-template-columns: 1fr;
  }
  .message-template-card {
    flex-basis: 82vw;
  }
  .sales-kanban-board {
    padding: 0 20px 34px;
  }
  .sales-lane {
    flex-basis: 82vw;
  }
}

/* ---- MARKETING / NICHE PAGES ---- */
.marketing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 32px;
  align-items: stretch;
  padding: 24px 0 40px;
}
.marketing-hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.04;
  max-width: 820px;
}
.marketing-hero p {
  color: var(--text-mid);
  font-size: 18px;
  line-height: 1.65;
  max-width: 700px;
  margin-top: 16px;
}
.eyebrow,
.signal-label {
  color: var(--text-light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.signal-panel {
  background: #202124;
  color: white;
  border-radius: 16px;
  padding: 24px;
  min-height: 100%;
}
.signal-panel p,
.signal-panel li {
  color: rgba(255,255,255,0.72);
  font-size: 15px;
  line-height: 1.6;
}
.signal-panel ul {
  display: grid;
  gap: 12px;
  list-style: none;
  margin-top: 16px;
}
.signal-panel li {
  padding-left: 18px;
  position: relative;
}
.signal-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}
.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 16px 0 40px;
  overflow: hidden;
  border: 1px solid rgba(26,23,21,0.08);
  border-radius: 16px;
  background: rgba(26,23,21,0.08);
}
.metric-strip div {
  background: white;
  padding: 22px;
}
.metric-strip strong {
  display: block;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.metric-strip span {
  color: var(--text-mid);
  font-size: 14px;
}
.copy-grid,
.pricing-grid,
.loop-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 0 48px;
}
.copy-grid article,
.loop-steps article,
.price-card {
  background: white;
  border: 1px solid rgba(26,23,21,0.12);
  border-radius: 8px;
  padding: 24px;
}
.copy-grid span,
.loop-steps span {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--green-dim);
  color: var(--green);
  font-weight: 700;
  margin-bottom: 14px;
}
.copy-grid p,
.loop-steps p,
.price-card p {
  color: var(--text-mid);
}
.niche-intake-section,
.partner-loop {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  gap: 32px;
  align-items: start;
  padding: 48px 0;
  border-top: 1px solid rgba(26,23,21,0.08);
}
.niche-intake-section h2,
.partner-loop h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.niche-intake-section > div > p:not(.eyebrow) {
  color: var(--text-mid);
  margin-top: 14px;
  max-width: 460px;
}
.niche-form {
  max-width: none;
}
.related-niches {
  padding: 36px 0 0;
  border-top: 1px solid rgba(26,23,21,0.08);
}
.related-niches div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.related-niches a {
  background: white;
  border: 1px solid rgba(26,23,21,0.1);
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--text-mid);
  font-weight: 500;
}
.pricing-grid {
  grid-template-columns: repeat(2, 1fr);
}
.price-card {
  display: grid;
  gap: 22px;
}
.price-card h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.price-card ul {
  display: grid;
  gap: 10px;
  color: var(--text-mid);
  padding-left: 18px;
}
.partner-loop {
  grid-template-columns: 0.7fr 1.3fr;
}
.loop-steps {
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 0;
}
@media (max-width: 900px) {
  .marketing-hero,
  .niche-intake-section,
  .partner-loop {
    grid-template-columns: 1fr;
  }
  .metric-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .copy-grid,
  .pricing-grid,
  .loop-steps {
    grid-template-columns: 1fr;
  }
}

/* ---- PARTNER REGISTRATION ---- */
.partner-reg-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 40px;
  align-items: center;
  padding: 38px 0 54px;
}
.partner-reg-copy h1 {
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: 1.02;
  font-weight: 500;
  max-width: 880px;
}
.hero-lead {
  max-width: 720px;
  margin-top: 22px;
  color: var(--text-mid);
  font-size: 19px;
}
.trust-line {
  display: inline-flex;
  margin-top: 22px;
  padding: 10px 14px;
  border: 1px solid rgba(26,23,21,0.13);
  border-radius: 999px;
  background: white;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}
.partner-reg-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  align-content: end;
  justify-items: center;
  overflow: hidden;
  border: 1px solid rgba(26,23,21,0.1);
  border-radius: 8px;
  background: #efede6;
  padding: 28px;
}
.partner-reg-abol {
  position: absolute;
  top: 16px;
  left: 50%;
  width: min(310px, 70%);
  transform: translateX(-50%);
  object-fit: contain;
}
.dashboard-mock {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: 220px;
  background: #1c1c1e;
  color: white;
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 26px 70px rgba(26,23,21,0.18);
}
.mock-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.mock-head span {
  color: rgba(255,255,255,0.62);
}
.mock-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.mock-grid span {
  display: grid;
  gap: 4px;
  min-height: 88px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.72);
  font-size: 13px;
}
.mock-grid strong {
  color: white;
  font-size: 28px;
  line-height: 1;
}
.partner-reg-section {
  padding: 52px 0;
  border-top: 1px solid rgba(26,23,21,0.08);
}
.section-head {
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin-bottom: 26px;
}
.section-head h2,
.partner-solution h2,
.marketing-package-preview h2 {
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.08;
  font-weight: 500;
}
.section-head p,
.partner-solution p,
.marketing-package-preview p {
  color: var(--text-mid);
}
.partner-pain-grid,
.monthly-data-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.partner-pain-grid article,
.monthly-data-grid article,
.asset-stack article {
  border: 1px solid rgba(26,23,21,0.1);
  border-radius: 8px;
  background: white;
  padding: 22px;
}
.partner-pain-grid h3 {
  margin-bottom: 10px;
  font-size: 18px;
}
.partner-pain-grid p,
.monthly-data-grid p {
  color: var(--text-mid);
  font-size: 15px;
}
.partner-solution,
.marketing-package-preview {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
  gap: 34px;
  align-items: start;
}
.solution-list {
  display: grid;
  gap: 12px;
}
.solution-list article,
.thanks-next article {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid rgba(26,23,21,0.1);
  border-radius: 8px;
  background: white;
}
.solution-list span,
.thanks-next span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  font-weight: 700;
}
.monthly-data-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.monthly-data-grid span {
  display: block;
  margin-bottom: 6px;
  font-size: 38px;
  line-height: 1;
  font-weight: 600;
}
.example-note {
  max-width: 820px;
  margin-top: 16px;
  color: var(--text-mid);
  font-size: 14px;
}
.check-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  list-style: none;
}
.check-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text-mid);
}
.check-list li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
}
.asset-stack {
  display: grid;
  gap: 14px;
}
.asset-stack span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--green-dim);
  color: var(--green);
  font-weight: 700;
  font-size: 13px;
}
.partner-pricing-grid {
  margin-bottom: 22px;
}
.partner-price-card h3 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
}
.partner-checkout-form {
  display: grid;
  gap: 20px;
  padding: 26px;
  border-radius: 8px;
  background: #202124;
  color: white;
}
.form-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}
.form-head h3 {
  font-size: 28px;
  font-weight: 500;
}
.partner-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.partner-checkout-form label {
  display: grid;
  gap: 7px;
  color: rgba(255,255,255,0.76);
  font-size: 14px;
  font-weight: 600;
}
.partner-checkout-form input {
  min-height: 48px;
  width: 100%;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  background: #303136;
  color: white;
  padding: 12px 14px;
  font: inherit;
}
.partner-checkout-form input::placeholder {
  color: rgba(255,255,255,0.36);
}
.partner-checkout-form .wide {
  grid-column: 1 / -1;
}
.plan-toggle {
  display: inline-flex;
  gap: 8px;
  padding: 5px;
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
}
.plan-toggle label {
  display: inline-flex;
  grid-auto-flow: column;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 999px;
  color: white;
}
.plan-toggle input {
  width: auto;
  min-height: auto;
}
.ack-row {
  display: flex !important;
  grid-auto-flow: column;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 12px !important;
  max-width: 900px;
}
.ack-row input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}
.partner-thanks {
  max-width: 860px;
  padding: 80px 0;
}
.partner-thanks h1 {
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.05;
  font-weight: 500;
}
.partner-thanks > p {
  margin-top: 16px;
  color: var(--text-mid);
  font-size: 18px;
}
.thanks-next {
  display: grid;
  gap: 12px;
  margin: 30px 0;
}
@media (max-width: 980px) {
  .partner-reg-hero,
  .partner-solution,
  .marketing-package-preview {
    grid-template-columns: 1fr;
  }
  .partner-pain-grid,
  .monthly-data-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .partner-reg-hero {
    padding-top: 20px;
  }
  .partner-reg-visual {
    min-height: 440px;
    padding: 18px;
  }
  .partner-reg-abol {
    width: min(250px, 78%);
  }
  .dashboard-mock {
    margin-top: 180px;
  }
  .mock-grid,
  .partner-pain-grid,
  .monthly-data-grid,
  .partner-form-grid {
    grid-template-columns: 1fr;
  }
  .form-head {
    align-items: stretch;
    flex-direction: column;
  }
  .partner-checkout-form {
    padding: 20px;
  }
}
