/* =========================
   Scroll model (mobile-first)
   ========================= */

/* Mobile-first: normal page scroll */
html, body { height: auto; }
body { overflow-x: hidden; }
.app { height: auto; overflow: visible; }

/* Desktop only: snap-scroll container */
@media (min-width: 761px){
  html, body { height: 100%; }
  body { overflow: hidden; }

  .app{
    height: 100dvh;
    height: 100vh;              /* fallback */
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
  }

  .app-section{
    min-height: 100dvh;
    min-height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
}

/* ✅ FIX: sections kunnen meerdere children hebben (zoals footer in insights) */
.app-section{
  padding-top: var(--header-h);
  padding-bottom: 28px;
  position:relative;
  overflow-x:hidden;

  display:flex;
  flex-direction:column;
  justify-content:center;
}

/* ✅ footer in een section altijd onderaan */
.app-section > footer{ margin-top:auto; }

/* backgrounds */
.hero{
  background:
    url("./assets/hero-waves.png") bottom center / 120% no-repeat,
    linear-gradient(180deg,#ffffff 0%,#ffffff 56%,#f4f7ff 74%,#ffffff 100%);
}
.kpis-section{
  background:
    url("./assets/hero-waves.png") bottom center / 120% no-repeat,
    linear-gradient(180deg,#ffffff 0%,#ffffff 52%,#f4f7ff 74%,#ffffff 100%);
}
.voice-section{
  background:
    url("./assets/hero-waves.png") bottom center / 120% no-repeat,
    linear-gradient(180deg,#ffffff 0%,#ffffff 56%,#f4f7ff 74%,#ffffff 100%);
}
.insights-section{
  background:
    radial-gradient(900px 520px at 75% 22%, rgba(45,107,255,.10), transparent 55%),
    linear-gradient(180deg,#fbfcff 0%,#ffffff 40%,#f4f7ff 100%);
}

/* HERO grid */
.cs-grid{
  display:grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 26px;
  align-items:start;
}

.cs-card{ padding:22px; }

.cs-kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(15,27,45,.10);
  background: rgba(255,255,255,.75);
  color: rgba(15,27,45,.72);
  font-weight:900;
  font-size:13px;
  margin-bottom:14px;
}
.cs-dot{
  width:9px; height:9px;
  border-radius:999px;
  background:#22c55e;
  box-shadow:0 0 0 6px rgba(34,197,94,.12);
}

.cs-title{
  margin:0 0 10px 0;
  font-size: clamp(34px, 3.8vw, 54px);
  line-height:1.04;
  letter-spacing:-0.04em;
}
.cs-inkglow{ position:relative; display:inline-block; }
.cs-inkglow::after{
  content:"";
  position:absolute;
  left:-6px; right:-6px;
  bottom:.08em;
  height:.45em;
  background: linear-gradient(90deg, rgba(45,107,255,.14), rgba(13,73,255,.18), rgba(45,107,255,.14));
  border-radius:999px;
  z-index:-1;
}

.cs-sub{
  margin:0 0 18px 0;
  color: var(--muted);
  font-size:16px;
  line-height:1.7;
  max-width:56ch;
}

.cs-rotator{
  margin:0 0 10px 0;
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  color: rgba(15,27,45,.72);
  font-weight:900;
  font-size:13px;
}

.cs-form{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:12px;
  align-items:center;
}
.cs-input{
  flex:1 1 260px;
  height:46px;
  padding:0 14px;
  border-radius:14px;
  border:1px solid rgba(15,27,45,.14);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow2);
  font:inherit;
  outline:none;
}
.cs-input:focus{
  border-color: rgba(45,107,255,.35);
  box-shadow: 0 0 0 4px rgba(45,107,255,.10), var(--shadow2);
}
.cs-fineprint{
  margin:10px 0 0 0;
  color: rgba(15,27,45,.58);
  font-weight:650;
  font-size:12.5px;
  line-height:1.5;
}

/* HERO metrics */
.cs-metrics{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
}
.cs-metric{
  position:relative;
  flex: 1 1 180px;
  min-width:180px;
  max-width:260px;
  padding:12px;
  border-radius:18px;
  border:1px solid rgba(15,27,45,.10);
  background: rgba(255,255,255,.78);
}
.cs-metric .n{ font-weight:950; letter-spacing:-0.03em; font-size:18px; }
.cs-metric .l{ margin-top:4px; color: var(--muted); font-weight:850; font-size:12px; }

@media (max-width:520px){
  .cs-metric{ flex:1 1 100%; min-width:0; max-width:none; }
}

.cs-links{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
}
.cs-link{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(15,27,45,.10);
  background: rgba(255,255,255,.70);
  font-weight:900;
  font-size:13px;
  color: rgba(15,27,45,.72);
}

/* Right stage floats */
.cs-stage{
  position:relative;
  width:100%;
  max-width:560px;
  height:580px;
  margin-left:auto;
}
.cs-float{
  position:absolute;
  border-radius:22px;
  border:1px solid rgba(15,27,45,.10);
  background: rgba(255,255,255,.85);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.cs-float-main{ right:0; top:22px; width:min(520px, 100%); z-index:3; }
.cs-float-users{ left:0; top:64px; width:min(320px, 92%); padding:14px; z-index:4; }
.cs-float-table{ left:22px; top:260px; width:min(420px, 92%); padding:14px; z-index:4; }
.cs-float-chart{ left:22px; bottom:22px; width:min(360px, 92%); padding:14px; z-index:4; }

@media (max-height:720px){
  .cs-float-table{ display:none; }
}

/* Mini “users” */
.cs-mini-head{ display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:10px; }
.cs-mini-pill{
  display:inline-flex; align-items:center; gap:10px;
  padding:8px 10px; border-radius:999px;
  border:1px solid rgba(15,27,45,.10);
  background: rgba(255,255,255,.85);
  font-weight:950; font-size:12px;
  color: rgba(15,27,45,.78);
}
.cs-mini-dot{
  width:8px; height:8px; border-radius:999px;
  background:#22c55e;
  box-shadow:0 0 0 6px rgba(34,197,94,.12);
}
.cs-mini-tag{ font-size:12px; font-weight:950; color: rgba(15,27,45,.56); }
.cs-mini-list{
  border-radius:18px;
  background: rgba(15,27,45,.03);
  border:1px solid rgba(15,27,45,.06);
  padding:10px;
}
.cs-mini-row{ display:flex; align-items:center; gap:10px; padding:8px 6px; font-weight:850; font-size:13px; color: rgba(15,27,45,.74); }
.cs-mini-right{ margin-left:auto; font-weight:950; font-size:12px; color: rgba(15,27,45,.52); }

/* KPI Table (hero float) */
.kpi-table{ display:grid; gap:10px; }
.kpi-table-row{
  border-radius:18px;
  border:1px solid rgba(15,27,45,.08);
  background: rgba(255,255,255,.78);
  padding:10px 10px 12px;
  display:grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap:8px 10px;
}
.kpi-left{ display:flex; align-items:center; gap:10px; min-width:0; }
.kpi-meta{ min-width:0; }
.kpi-name{ font-weight:950; font-size:13px; color: rgba(15,27,45,.88); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.kpi-sub{ margin-top:2px; font-weight:750; font-size:11.5px; color: rgba(15,27,45,.54); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.kpi-right{ display:flex; align-items:baseline; gap:10px; justify-self:end; }
.kpi-value{ font-weight:950; font-size:13px; color: rgba(15,27,45,.90); }

.kpi-delta{
  font-weight:950; font-size:12px;
  padding:6px 8px; border-radius:999px;
  border:1px solid rgba(15,27,45,.10);
  background: rgba(255,255,255,.72);
}
.kpi-delta.up{ color: rgba(16,185,129,.98); border-color: rgba(16,185,129,.22); background: rgba(16,185,129,.10); }
.kpi-delta.down{ color: rgba(239,68,68,.98); border-color: rgba(239,68,68,.22); background: rgba(239,68,68,.10); }
.kpi-delta.warn{ color: rgba(245,158,11,.98); border-color: rgba(245,158,11,.22); background: rgba(245,158,11,.10); text-transform:uppercase; letter-spacing:.12em; font-size:11px; }

.kpi-bar{
  grid-column: 1 / -1;
  height:10px;
  border-radius:999px;
  background: rgba(45,107,255,.10);
  border:1px solid rgba(45,107,255,.10);
  overflow:hidden;
}
.kpi-bar .fill{
  display:block;
  height:100%;
  width:0%;
  border-radius:999px;
  transition: width 1.05s ease;
}
.fill.blue{  background: linear-gradient(90deg, rgba(45,107,255,.90), rgba(13,73,255,.95)); }
.fill.green{ background: linear-gradient(90deg, rgba(34,197,94,.92), rgba(16,185,129,.96)); }
.fill.amber{ background: linear-gradient(90deg, rgba(245,158,11,.92), rgba(251,191,36,.96)); }
.fill.red{   background: linear-gradient(90deg, rgba(239,68,68,.92), rgba(244,63,94,.96)); }

.kpi-dot{ width:10px; height:10px; border-radius:999px; flex:0 0 auto; }
.kpi-dot.blue{  background: rgba(45,107,255,1); box-shadow:0 0 0 6px rgba(45,107,255,.14); }
.kpi-dot.green{ background: rgba(34,197,94,1);  box-shadow:0 0 0 6px rgba(34,197,94,.14); }
.kpi-dot.amber{ background: rgba(245,158,11,1); box-shadow:0 0 0 6px rgba(245,158,11,.16); }
.kpi-dot.red{   background: rgba(239,68,68,1);  box-shadow:0 0 0 6px rgba(239,68,68,.14); }

/* Chart card helpers */
.mini-chart{ color: rgba(45,107,255,.95); }
.mini-kpis{ display:flex; gap:10px; margin-top:10px; }

.cs-chart-line{ stroke-dasharray:420; stroke-dashoffset:420; }
.cs-float-chart.is-animate .cs-chart-line{ animation: csDraw 2.2s ease forwards; }
@keyframes csDraw{ to{ stroke-dashoffset:0; } }

/* KPI section layout */
.kpis-grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:22px;
  align-items:start;
}
.kpis-left h2{
  margin:0 0 10px 0;
  font-size: clamp(26px, 2.8vw, 38px);
  letter-spacing:-0.03em;
  line-height:1.08;
}
.kpis-left p{
  margin:0 0 14px 0;
  color: rgba(15,27,45,.72);
  line-height:1.7;
  font-weight:650;
  max-width:58ch;
}
.kpis-right{ display:grid; gap:12px; align-content:start; }

/* ✅ FIX: geen “grijs vlak” look — cards blijven wit/premium */
.dash-card{
  border-radius:22px;
  border:1px solid rgba(15,27,45,.10);
  background: rgba(255,255,255,.86);
  box-shadow: var(--shadow2);
  padding:14px;
}
.dash-head{ display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:10px; }
.dash-title{ display:flex; align-items:center; gap:10px; font-weight:950; font-size:14px; color: rgba(15,27,45,.86); }
.dash-tag{
  font-weight:900;
  font-size:12px;
  padding:7px 10px;
  border-radius:999px;
  background: rgba(45,107,255,.08);
  border:1px solid rgba(45,107,255,.14);
  color: rgba(45,107,255,.92);
}

.dash-kpis{ display:grid; grid-template-columns: repeat(3, 1fr); gap:10px; }
.dash-kpi{
  border-radius:18px;
  border:1px solid rgba(15,27,45,.08);
  background: rgba(255,255,255,.88);
  padding:12px;
}
.dash-kpi .n{ font-weight:950; font-size:18px; letter-spacing:-0.03em; display:flex; align-items:center; gap:8px; }
.dash-kpi .l{ margin-top:4px; font-weight:850; font-size:12px; color: rgba(15,27,45,.58); }

.kpi-chip{
  font-weight:950;
  font-size:11px;
  padding:6px 8px;
  border-radius:999px;
  border:1px solid rgba(15,27,45,.10);
  background: rgba(255,255,255,.90);
}
.kpi-chip.green{ color: rgba(16,185,129,.98); border-color: rgba(16,185,129,.20); background: rgba(16,185,129,.10); }
.kpi-chip.blue{  color: rgba(45,107,255,.98); border-color: rgba(45,107,255,.22); background: rgba(45,107,255,.10); }
.kpi-chip.amber{ color: rgba(245,158,11,.98); border-color: rgba(245,158,11,.22); background: rgba(245,158,11,.10); }

/* ✅ FIX: dash-table geen grijze slab */
.dash-table{
  border-radius:18px;
  border:1px solid rgba(15,27,45,.08);
  background: rgba(255,255,255,.90);
  overflow:hidden;
}
.dash-table .thead,
.dash-table .trow{
  display:grid;
  grid-template-columns: 1.3fr .8fr .8fr .8fr;
  gap:10px;
  padding:10px 12px;
  align-items:center;
}
.dash-table .thead{
  background: rgba(255,255,255,.92);
  border-bottom:1px solid rgba(15,27,45,.08);
  font-weight:950;
  font-size:12px;
  color: rgba(15,27,45,.72);
}
.dash-table .trow{
  font-weight:850;
  font-size:12.5px;
  color: rgba(15,27,45,.78);
  border-top:1px solid rgba(15,27,45,.08);
  background: rgba(255,255,255,.86);
}
.dash-table .trow:nth-child(even){ background: rgba(255,255,255,.92); }

.tcell-muted{ color: rgba(15,27,45,.52); font-weight:900; font-size:12px; }
.tstrong{ font-weight:950; }

.status{ display:inline-flex; align-items:center; gap:8px; font-weight:950; }
.s-dot{ width:8px; height:8px; border-radius:999px; }
.s-dot.green{ background:#22c55e; box-shadow:0 0 0 6px rgba(34,197,94,.12); }
.s-dot.blue{  background: rgba(45,107,255,1); box-shadow:0 0 0 6px rgba(45,107,255,.12); }
.s-dot.amber{ background: rgba(245,158,11,1); box-shadow:0 0 0 6px rgba(245,158,11,.14); }

.tiny-bar{
  height:9px;
  border-radius:999px;
  background: rgba(45,107,255,.10);
  border:1px solid rgba(45,107,255,.10);
  overflow:hidden;
}
.tiny-bar > span{
  display:block; height:100%; width:0%;
  border-radius:999px;
  transition: width 1.1s ease;
}
.tiny-bar > span.blue{  background: linear-gradient(90deg, rgba(45,107,255,.90), rgba(13,73,255,.95)); }
.tiny-bar > span.green{ background: linear-gradient(90deg, rgba(34,197,94,.92), rgba(16,185,129,.96)); }
.tiny-bar > span.amber{ background: linear-gradient(90deg, rgba(245,158,11,.92), rgba(251,191,36,.96)); }

.impact-list{ display:grid; gap:10px; }
.impact-row{ display:flex; justify-content:space-between; align-items:center; gap:10px; }
.impact-label{ font-weight:950; color: rgba(15,27,45,.86); }

/* Voice */
.voice-grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:22px;
  align-items:start;
}
@media (min-width: 981px){
  .voice-grid{ grid-template-columns: 1fr 520px; gap:26px; }
  .voice-player{ max-width:520px; margin-left:auto; }
}

/* ✅ Voice: slightly narrower on big screens (more premium) */
@media (min-width: 981px){
  .voice-section .container{
    width: min(980px, calc(100% - (var(--site-pad) * 2)));
  }
}

.voice-left h2, .ins-left h2{
  margin:0 0 10px 0;
  font-size: clamp(26px, 2.8vw, 38px);
  letter-spacing:-0.03em;
  line-height:1.08;
}
.voice-left p, .ins-left p{
  margin:0 0 14px 0;
  color: rgba(15,27,45,.72);
  line-height:1.7;
  font-weight:650;
  max-width:56ch;
}

/* glass */
.glass{
  background:
    radial-gradient(1200px 600px at 20% 10%, rgba(255,255,255,.18), transparent 60%),
    linear-gradient(135deg, #0b2a6f, #2563eb);
  color:#fff;
  border:1px solid rgba(255,255,255,.18);
  box-shadow: 0 28px 90px rgba(3,15,40,.28);
}

/* Voice list */
.voice-list{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:14px;
  border-radius:22px;
}

/* Premium lift + highlight on hover */
.voice-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  transform: translateZ(0);
}
@media (prefers-reduced-motion: no-preference){
  .voice-row{
    transition: transform .16s ease, background .16s ease, border-color .16s ease;
  }
  .voice-row:hover{
    transform: translateY(-1px);
    background: rgba(255,255,255,.10);
    border-color: rgba(255,255,255,.22);
  }
}

.v-left{ display:flex; align-items:center; gap:12px; min-width:0; }
.v-meta{ display:flex; flex-direction:column; gap:2px; min-width:0; }
.v-name{ font-weight:900; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.v-sub{ font-size:12px; opacity:.82; font-weight:700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

/* glassy flags */
.v-avatar{
  width:42px; height:42px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.28);
  box-shadow: 0 18px 60px rgba(0,0,0,.28);
  background-size:cover;
  background-position:center;
  flex:0 0 auto;
  position:relative;
  overflow:hidden;
  isolation:isolate;
}
.v-avatar::after{
  content:"";
  position:absolute;
  inset:-20px;
  background: linear-gradient(115deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.10) 40%,
    rgba(255,255,255,.26) 52%,
    rgba(255,255,255,.10) 64%,
    rgba(255,255,255,0) 100%);
  transform: translateX(-55%) rotate(12deg);
  opacity:.55;
  pointer-events:none;
  mix-blend-mode: screen;
}
@media (prefers-reduced-motion: no-preference){
  .voice-row:hover .v-avatar::after{
    animation: flagGlint .85s ease-out 1 both;
  }
  @keyframes flagGlint{
    0%{ transform: translateX(-65%) rotate(12deg); opacity:.22; }
    55%{ opacity:.70; }
    100%{ transform: translateX(65%) rotate(12deg); opacity:.22; }
  }
}

/* flags */
.flag-nl{ background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Crect width='120' height='40' y='0' fill='%23AE1C28'/%3E%3Crect width='120' height='40' y='40' fill='%23FFFFFF'/%3E%3Crect width='120' height='40' y='80' fill='%23214368'/%3E%3C/svg%3E"); }
.flag-uk{ background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Crect width='120' height='120' fill='%23012169'/%3E%3Cpath d='M0 0 L120 120 M120 0 L0 120' stroke='%23FFFFFF' stroke-width='22'/%3E%3Cpath d='M0 0 L120 120 M120 0 L0 120' stroke='%23C8102E' stroke-width='12'/%3E%3Cpath d='M60 0 V120 M0 60 H120' stroke='%23FFFFFF' stroke-width='30'/%3E%3Cpath d='M60 0 V120 M0 60 H120' stroke='%23C8102E' stroke-width='18'/%3E%3C/svg%3E"); }
.flag-de{ background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Crect width='120' height='40' y='0' fill='%23000000'/%3E%3Crect width='120' height='40' y='40' fill='%23DD0000'/%3E%3Crect width='120' height='40' y='80' fill='%23FFCE00'/%3E%3C/svg%3E"); }

/* player */
.voice-player{ padding:16px; border-radius:22px; }
.player-top{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; }
.player-title{ font-weight:950; font-size:14px; opacity:.92; text-transform:uppercase; letter-spacing:.08em; }
.player-badge{ font-weight:900; font-size:12px; padding:8px 10px; border-radius:999px; background: rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.18); white-space:nowrap; }

.wave{
  height:92px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  display:flex;
  align-items:flex-end;
  justify-content:center;
  gap:6px;
  padding:14px;
  overflow:hidden;
}
.bar{
  width:8px;
  border-radius:999px;
  background: rgba(255,255,255,.88);
  height:30%;
  transform-origin: bottom;
  opacity:.92;
  transform: translateZ(0);
}
@media (prefers-reduced-motion: no-preference){
  .is-playing .bar{ animation: barDance 1.05s ease-in-out infinite; }
  .bar:nth-child(1){ animation-delay:.00s; }
  .bar:nth-child(2){ animation-delay:.08s; }
  .bar:nth-child(3){ animation-delay:.16s; }
  .bar:nth-child(4){ animation-delay:.24s; }
  .bar:nth-child(5){ animation-delay:.32s; }
  .bar:nth-child(6){ animation-delay:.40s; }
  .bar:nth-child(7){ animation-delay:.48s; }
  .bar:nth-child(8){ animation-delay:.56s; }
  .bar:nth-child(9){ animation-delay:.64s; }
  @keyframes barDance{
    0%{ transform:scaleY(.35); opacity:.72; }
    45%{ transform:scaleY(1.0); opacity:1; }
    100%{ transform:scaleY(.40); opacity:.78; }
  }
}

.player-actions{ display:flex; gap:10px; flex-wrap:wrap; margin-top:12px; align-items:center; }
.player-note{ font-size:12px; font-weight:700; opacity:.86; }

/* AI coach */
.ai-coach{ margin-top:12px; opacity:0; transform: translateY(10px); transition: opacity .45s ease, transform .45s ease; }
.voice-section.is-active .ai-coach{ opacity:1; transform: translateY(0); }

/* Insights */
.ins-grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:22px;
  align-items:start;
}
.ins-chips{ display:flex; gap:10px; flex-wrap:wrap; margin-top:10px; }
.ins-chip{
  display:inline-flex; align-items:center; gap:10px;
  padding:10px 12px; border-radius:999px;
  border:1px solid rgba(15,27,45,.10);
  background: rgba(255,255,255,.70);
  font-weight:900; font-size:13px;
  color: rgba(15,27,45,.78);
  box-shadow: var(--shadow2);
}
.ins-dot{ width:8px; height:8px; border-radius:999px; background: rgba(45,107,255,.95); box-shadow:0 0 0 6px rgba(45,107,255,.14); }

.ins-right{ display:grid; gap:12px; align-content:start; }
.ins-card{ padding:16px; }
.ins-card h3{ margin:0 0 8px 0; font-size:16px; letter-spacing:-0.02em; }
.ins-card p{ margin:0; color: var(--muted); line-height:1.6; font-weight:650; font-size:14px; }

.ins-timeline{
  margin-top:12px;
  border-radius:18px;
  border:1px solid rgba(15,27,45,.10);
  background: rgba(255,255,255,.78);
  padding:12px;
}
.ins-line{ height:10px; border-radius:999px; background: rgba(45,107,255,.12); overflow:hidden; }
.ins-line > span{
  display:block; height:100%;
  width:38%;
  border-radius:999px;
  background: linear-gradient(90deg, rgba(45,107,255,.85), rgba(13,73,255,.95));
  transform: translateX(-120%);
}
.insights-section.is-active .ins-line > span{ animation: insFill 1.2s ease forwards; }
@keyframes insFill{ to{ transform: translateX(0%); } }

.ins-times{
  margin-top:10px;
  display:flex;
  justify-content:space-between;
  color: rgba(15,27,45,.55);
  font-weight:850;
  font-size:12px;
}

.ins-kpi-row{ margin-top:12px; display:flex; gap:10px; flex-wrap:wrap; }
.ins-pill-row{ margin-top:12px; display:flex; gap:10px; flex-wrap:wrap; }

/* Footer */
.cs-footer{
  border-top:1px solid rgba(15,27,45,.10);
  background: rgba(251,252,255,.70);
  padding:16px 0;
}
.cs-footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  color: rgba(15,27,45,.60);
  font-weight:800;
  font-size:13px;
}
.cs-manifest-footer{
  font-size:11.5px;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
  color: rgba(15,27,45,.42);
  white-space:nowrap;
}

/* Toast */
.cs-toast{
  position:fixed;
  left:50%;
  bottom:18px;
  transform: translateX(-50%);
  z-index:999;
  pointer-events:none;
  opacity:0;
  translate:0 8px;
  transition: opacity .2s ease, translate .2s ease;
}
.cs-toast.show{ opacity:1; translate:0 0; }
.cs-toast .card{
  padding:12px 14px;
  border-radius:16px;
  background: rgba(255,255,255,.88);
  border:1px solid rgba(15,27,45,.10);
  box-shadow: 0 18px 60px rgba(24,53,102,.14);
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:900;
  color: rgba(15,27,45,.80);
}
.okdot{
  width:10px; height:10px;
  border-radius:999px;
  background:#22c55e;
  box-shadow: 0 0 0 6px rgba(34,197,94,.12);
}

/* Shared small layout helpers */
.btn-row{
  margin-top:14px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}
.note{
  font-size:12px;
  font-weight:700;
  color: rgba(15,27,45,.72);
}

/* Responsive */
@media (max-width:980px){
  .cs-grid, .kpis-grid, .voice-grid, .ins-grid{ grid-template-columns:1fr; }
  .cs-stage{ height: 660px; max-width:none; margin-top:14px; }

  .cs-float-main{ position:relative; top:0; right:0; margin-left:auto; }
  .cs-float-users{ left:10px; top:10px; }
  .cs-float-table{ left:auto; top:auto; position:relative; margin-top:12px; }
  .cs-float-chart{ left:auto; bottom:auto; position:relative; margin-top:12px; }

  .dash-kpis{ grid-template-columns:1fr; }

  /* ✅ mobile/tablet: center voice player nicely */
  .voice-player{ max-width:560px; margin: 0 auto; }
}

@media (max-width:520px){
  .cs-footer-inner{ flex-direction:column; align-items:flex-start; }
  .cs-manifest-footer{ white-space:normal; }
  .dash-table .thead, .dash-table .trow{ grid-template-columns: 1.2fr .8fr 1fr; }
  .hide-xs{ display:none; }
}

/* ===============================
   Classic VOXVEN shine (old wow)
   =============================== */

.cs-card,
.cs-float-chart{
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.cs-card::before{
  content:"";
  position:absolute;
  inset:-120px;
  background: linear-gradient(115deg,
    rgba(45,107,255,0) 0%,
    rgba(45,107,255,.10) 40%,
    rgba(255,255,255,.16) 52%,
    rgba(45,107,255,.10) 64%,
    rgba(45,107,255,0) 100%);
  transform: translateX(-55%) rotate(10deg);
  pointer-events:none;
  opacity: .35;
  z-index: 0;
}

@media (prefers-reduced-motion: no-preference){
  .cs-card::before{
    animation: csShine 7.5s ease-in-out infinite;
  }
  @keyframes csShine{
    0%   { transform: translateX(-55%) rotate(10deg); opacity: .35; }
    45%  { opacity: .70; }
    100% { transform: translateX(55%) rotate(10deg); opacity: .35; }
  }
}

.cs-card > *{
  position: relative;
  z-index: 1;
}

/* Chart card shimmer */
@media (prefers-reduced-motion: no-preference){
  .cs-float-chart::after{
    content:"";
    position:absolute;
    inset:-60px;
    background: linear-gradient(115deg,
      rgba(45,107,255,0) 0%,
      rgba(45,107,255,.10) 45%,
      rgba(255,255,255,.14) 52%,
      rgba(45,107,255,.10) 60%,
      rgba(45,107,255,0) 100%);
    transform: translateX(-60%) rotate(10deg);
    pointer-events:none;
    opacity: .20;
    z-index: 1;
    animation: csShimmer 6.8s ease-in-out infinite;
  }

  .cs-float-chart > *{
    position: relative;
    z-index: 2;
  }

  @keyframes csShimmer{
    0%   { transform: translateX(-60%) rotate(10deg); opacity: .20; }
    45%  { opacity: .55; }
    100% { transform: translateX(60%) rotate(10deg); opacity: .20; }
  }
}

/* One-shot shines */
.shine-card{
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.shine-card::before{
  content:"";
  position:absolute;
  inset:-120px;
  background: linear-gradient(115deg,
    rgba(45,107,255,0) 0%,
    rgba(45,107,255,.10) 40%,
    rgba(255,255,255,.16) 52%,
    rgba(45,107,255,.10) 64%,
    rgba(45,107,255,0) 100%);
  transform: translateX(-70%) rotate(10deg);
  pointer-events:none;
  opacity: 0;
  z-index: 0;
}
.shine-card > *{ position: relative; z-index: 1; }

@media (prefers-reduced-motion: no-preference){
  .shine-card.shine-run::before{
    opacity: .60;
    animation: shineOnceSweep 2.8s ease-in-out both;
  }
  @keyframes shineOnceSweep{
    0%   { transform: translateX(-70%) rotate(10deg); opacity: .08; }
    40%  { opacity: .70; }
    100% { transform: translateX(70%) rotate(10deg); opacity: .08; }
  }
}

.shine-glass{
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.shine-glass::before{
  content:"";
  position:absolute;
  inset:-140px;
  background: linear-gradient(115deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.10) 42%,
    rgba(255,255,255,.22) 52%,
    rgba(255,255,255,.10) 62%,
    rgba(255,255,255,0) 100%);
  transform: translateX(-70%) rotate(10deg);
  pointer-events:none;
  opacity: 0;
  z-index: 0;
  mix-blend-mode: screen;
}
.shine-glass > *{ position: relative; z-index: 1; }

@media (prefers-reduced-motion: no-preference){
  .shine-glass.shine-run::before{
    opacity: .70;
    animation: shineOnceSweep 3.0s ease-in-out both;
  }
}

/* ===============================
   SNAP 5: FAQ (enterprise + wow)
   =============================== */

.faq-section{
  background:
    radial-gradient(900px 520px at 25% 18%, rgba(45,107,255,.08), transparent 55%),
    linear-gradient(180deg,#ffffff 0%,#ffffff 50%,#f4f7ff 100%);
}

/* full width section */
.faq-section .container{
  max-width:none;
  padding-left:0;
  padding-right:0;
}

/* centered wrapper */
.faq-wrap{
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 0 18px;
}

/* header */
.faq-head{
  margin-bottom: 14px;
}
.faq-kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(15,27,45,.10);
  background: rgba(255,255,255,.80);
  color: rgba(15,27,45,.74);
  font-weight:900;
  font-size:13px;
  margin-bottom:12px;
}
.faq-dot{
  width:9px; height:9px;
  border-radius:999px;
  background: rgba(45,107,255,.95);
  box-shadow:0 0 0 6px rgba(45,107,255,.12);
}

.faq-head h2{
  margin:0 0 10px 0;
  font-size: clamp(26px, 2.8vw, 38px);
  letter-spacing:-0.03em;
  line-height:1.08;
}
.faq-head p{
  margin:0 0 14px 0;
  color: rgba(15,27,45,.72);
  line-height:1.7;
  font-weight:650;
  max-width:62ch;
}

/* main card */
.faq-card{
  padding:14px;
  border-radius:22px;
  border:1px solid rgba(15,27,45,.10);
  background: rgba(255,255,255,.92);
  box-shadow: 0 24px 78px rgba(24,53,102,.10);

  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
}

.faq-item{
  border-radius:18px;
  border:1px solid rgba(15,27,45,.10);
  background: rgba(255,255,255,.96);
  overflow:hidden;
  transform: translateZ(0);
}

@media (prefers-reduced-motion: no-preference){
  .faq-item{
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
  }
  .faq-item:hover{
    transform: translateY(-1px);
    border-color: rgba(15,27,45,.14);
    box-shadow: 0 16px 42px rgba(24,53,102,.08);
  }
}

.faq-item.is-open{
  border-color: rgba(45,107,255,.26);
  box-shadow: 0 18px 60px rgba(45,107,255,.12);
}

.faq-q{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:13px 14px;
  font:inherit;
  background:transparent;
  border:0;
  cursor:pointer;

  color: rgba(15,27,45,.90);
  font-weight:950;
  font-size:13.5px;
  text-align:left;
}
.faq-q:focus-visible{
  outline:none;
  box-shadow: 0 0 0 4px rgba(45,107,255,.14);
  border-radius:16px;
}

.faq-icon{
  width:28px; height:28px;
  border-radius:999px;
  border:1px solid rgba(15,27,45,.10);
  background: rgba(45,107,255,.08);
  position:relative;
  flex:0 0 auto;
}
.faq-icon::before{
  content:"";
  position:absolute;
  left:50%; top:50%;
  width:10px; height:10px;
  border-right:2px solid rgba(15,27,45,.62);
  border-bottom:2px solid rgba(15,27,45,.62);
  transform: translate(-50%,-55%) rotate(45deg);
  border-radius:2px;
}
@media (prefers-reduced-motion: no-preference){
  .faq-icon::before{ transition: transform .18s ease, opacity .18s ease; }
}
.faq-item.is-open .faq-icon::before{
  transform: translate(-50%,-45%) rotate(225deg);
}

.faq-a{
  padding: 0 14px 14px 14px;
  color: rgba(15,27,45,.72);
  font-weight:750;
  font-size:13px;
  line-height:1.65;

  display:grid;
  grid-template-rows: 0fr;
}
.faq-a > div{
  overflow:hidden;
  opacity:0;
  transform: translateY(-2px);
}
.faq-item.is-open .faq-a{
  grid-template-rows: 1fr;
}
.faq-item.is-open .faq-a > div{
  opacity:1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: no-preference){
  .faq-a{ transition: grid-template-rows .28s ease; }
  .faq-a > div{ transition: opacity .22s ease, transform .22s ease; }
}

@media (max-width:980px){
  .faq-card{ grid-template-columns: 1fr; }
}

/* ======================================================================
   ✅ FINAL OVERRIDES (MOST IMPORTANT)
   KPI shadow band fix + dash-kpi hover back + KPI shine back
   FAQ slab fix (remove double shadow from .card wrapper)
   ====================================================================== */

/* FAQ: remove base .card shadow inside faq-section (prevents grey slab) */
.faq-section .card{
  box-shadow: none !important;
}

/* KPI: wrapper should not add any slab/shadow */
#kpisShine{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* KPI: remove the “dark band” under KPI cards by using a tighter shadow */
.kpis-section .dash-card{
  background: rgba(255,255,255,.94) !important;
  box-shadow: 0 10px 26px rgba(24,53,102,.08) !important;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* KPI hover effect back on dash-kpi */
@media (prefers-reduced-motion: no-preference){
  .kpis-section .dash-kpi{
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
    transform: translateZ(0);
  }
  .kpis-section .dash-kpi:hover{
    transform: translateY(-2px);
    border-color: rgba(45,107,255,.22);
    background: rgba(255,255,255,.98);
    box-shadow: 0 16px 36px rgba(24,53,102,.10);
  }
}

/* KPI shine on hover (clean enterprise) */
.kpis-section .dash-card::before{
  content:"";
  position:absolute;
  inset:-120px;
  background: linear-gradient(115deg,
    rgba(45,107,255,0) 0%,
    rgba(45,107,255,.10) 40%,
    rgba(255,255,255,.18) 52%,
    rgba(45,107,255,.10) 64%,
    rgba(45,107,255,0) 100%);
  transform: translateX(-70%) rotate(10deg);
  opacity: 0;
  pointer-events:none;
  z-index:0;
}
.kpis-section .dash-card > *{ position:relative; z-index:1; }

@media (prefers-reduced-motion: no-preference){
  .kpis-section .dash-card:hover::before{
    opacity:.65;
    animation: kpiShineSweep 1.8s ease-in-out both;
  }
  @keyframes kpiShineSweep{
    0%   { transform: translateX(-70%) rotate(10deg); opacity:.10; }
    45%  { opacity: .70; }
    100% { transform: translateX(70%) rotate(10deg); opacity:.10; }
  }
}
/* KPI grey line kill-switch */
.kpis-section .dash-card{
  box-shadow: 0 10px 30px rgba(24,53,102,.08) !important;
}

/* ===============================
   FOOTER SNAP SECTION (always reachable)
   =============================== */
.footer-section{
  justify-content: flex-end;
  padding-bottom: 0;
}

/* footer styling safety */
.footer-section .cs-footer{
  width: 100%;
  border-top:1px solid rgba(15,27,45,.10);
  background: rgba(251,252,255,.70);
  padding:16px 0;
}

/* Mobile: normal scroll (footer should appear) */
@media (max-width:760px){
  body{ overflow:auto; }
  .app{
    height:auto;
    overflow-y:visible;
    scroll-snap-type:none;
  }
  .app-section{
    min-height:auto;
    scroll-snap-align:none;
    scroll-snap-stop:normal;
    padding-bottom: 22px;
  }
  .footer-section{
    padding-top: 10px;
  }
}

/* =========================================================
   ✅ INTAKE SECTION (added, SAFE, no scroll model changes)
   ========================================================= */
.intake-section{
  background:
    radial-gradient(900px 520px at 75% 18%, rgba(45,107,255,.08), transparent 55%),
    linear-gradient(180deg,#ffffff 0%,#ffffff 50%,#f4f7ff 100%);
}
.intake-grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:22px;
  align-items:start;
}
@media (max-width:980px){
  .intake-grid{ grid-template-columns:1fr; }
}

.intake-left h2{
  margin:0 0 10px 0;
  font-size: clamp(26px, 2.8vw, 38px);
  letter-spacing:-0.03em;
  line-height:1.08;
}
.intake-left p{
  margin:0 0 14px 0;
  color: rgba(15,27,45,.72);
  line-height:1.7;
  font-weight:650;
  max-width:60ch;
}

.intake-card{ padding:14px; }
.intake-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}
.intake-title{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:950;
  color: rgba(15,27,45,.86);
}
.intake-step{
  font-weight:900;
  font-size:12px;
  padding:7px 10px;
  border-radius:999px;
  background: rgba(45,107,255,.08);
  border:1px solid rgba(45,107,255,.14);
  color: rgba(45,107,255,.92);
}

.intake-thread{
  height: 300px;
  overflow:auto;
  border-radius:18px;
  border:1px solid rgba(15,27,45,.10);
  background: rgba(255,255,255,.86);
  padding:12px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.intake-bubble{
  max-width: 86%;
  padding:10px 12px;
  border-radius:16px;
  font-weight:800;
  font-size:13px;
  line-height:1.55;
  border:1px solid rgba(15,27,45,.10);
  box-shadow: 0 10px 26px rgba(24,53,102,.06);
}
.intake-bubble.is-bot{
  background: rgba(255,255,255,.92);
  color: rgba(15,27,45,.84);
}
.intake-bubble.is-user{
  margin-left:auto;
  background: linear-gradient(180deg, rgba(45,107,255,.14), rgba(13,73,255,.10));
  border-color: rgba(45,107,255,.22);
  color: rgba(15,27,45,.86);
}

.intake-quick{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:10px;
}
.intake-quick-btn{
  font: inherit;
  cursor:pointer;
  border-radius:999px;
  border:1px solid rgba(15,27,45,.12);
  background: rgba(255,255,255,.80);
  padding:10px 12px;
  font-weight:900;
  font-size:13px;
  color: rgba(15,27,45,.78);
  box-shadow: var(--shadow2);
}
.intake-quick-btn:hover{
  background: rgba(255,255,255,.92);
  border-color: rgba(15,27,45,.16);
}

.intake-form{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:10px;
  align-items:center;
}
.intake-input{
  flex:1 1 260px;
}

/* =========================================================
   ✅ HERO + KPI REFINES (NO OTHER SECTIONS CHANGED)
   - no inner scroll on desktop snap
   - stage fits 13" laptops
   - premium cockpit wow (subtle)
   - KPI: left has small card + coaching impact
   - KPI: right has donut + weekly gauge + region table
   ========================================================= */

/* Hero: a touch more top breathing room */
.hero.app-section{
  padding-top: calc(var(--header-h) + 14px);
}

/* Desktop: keep hero content inside viewport height */
@media (min-width:761px){
  .hero .cs-grid{
    align-items: start;
  }
}

/* Stage: clamp height so it never pushes beyond viewport */
@media (min-width:761px){
  .cs-stage{
    height: clamp(440px, calc(100vh - var(--header-h) - 120px), 560px);
    max-width: 560px;
  }
}

/* Remove the "chart" float usage (kept class but not used now) */
.cs-float-chart{ display:none; }

/* Tighten float positions a bit so they fit on 13" */
@media (min-width:761px){
  .cs-float-main{ top: 10px; }
  .cs-float-users{ top: 48px; }
  .cs-float-table{ top: 230px; }
}

/* Premium cockpit wow: subtle glow + scanline + micro drift */
.cs-stage{
  isolation:isolate;
}
.cs-stage::before{
  content:"";
  position:absolute;
  inset:-22px;
  background:
    radial-gradient(520px 300px at 70% 10%, rgba(45,107,255,.14), transparent 60%),
    radial-gradient(520px 320px at 18% 30%, rgba(13,73,255,.10), transparent 62%);
  filter: blur(10px);
  opacity:.55;
  z-index:0;
  pointer-events:none;
}
.cs-stage::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:26px;
  background: linear-gradient(
    180deg,
    rgba(45,107,255,.00),
    rgba(45,107,255,.04),
    rgba(45,107,255,.00)
  );
  opacity:.0;
  pointer-events:none;
  z-index:1;
}

@media (prefers-reduced-motion: no-preference){
  .cs-stage::after{
    opacity:.55;
    animation: cockpitScan 6.8s ease-in-out infinite;
  }
  @keyframes cockpitScan{
    0%   { transform: translateY(-18px); opacity:.18; }
    45%  { opacity:.55; }
    100% { transform: translateY(18px); opacity:.18; }
  }

  .cs-float{
    will-change: transform;
    animation: floatDrift 7.5s ease-in-out infinite;
  }
  .cs-float-main{ animation-duration: 8.5s; }
  .cs-float-users{ animation-duration: 7.2s; }
  .cs-float-table{ animation-duration: 9.2s; }

  @keyframes floatDrift{
    0%   { transform: translateY(0px); }
    50%  { transform: translateY(-6px); }
    100% { transform: translateY(0px); }
  }
}

/* KPI: left column now also hosts cards */
.kpis-left{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.kpis-left .btn-row{ margin-top: 6px; }

/* Small premium card under KPI text */
.kpi-left-stack{
  display:grid;
  gap:12px;
  margin-top: 6px;
}
.kpi-mini{
  padding:14px;
}
.kpi-mini-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
}
.kpi-mini-tile{
  border-radius:18px;
  border:1px solid rgba(15,27,45,.08);
  background: rgba(255,255,255,.90);
  padding:12px;
}
.kpi-mini-tile .n{
  font-weight:950;
  letter-spacing:-0.03em;
  font-size:18px;
  display:flex;
  align-items:center;
  gap:8px;
}
.kpi-mini-tile .l{
  margin-top:4px;
  font-weight:850;
  font-size:12px;
  color: rgba(15,27,45,.58);
}

/* Live coaching impact moved to left - compact */
.coach-card{
  padding:14px;
}
.coach-list{ display:grid; gap:10px; }
.coach-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  border-radius:16px;
  border:1px solid rgba(15,27,45,.08);
  background: rgba(255,255,255,.90);
  padding:10px 12px;
}
.coach-row .label{
  font-weight:950;
  color: rgba(15,27,45,.86);
}
.coach-row .delta{
  font-weight:950;
  font-size:12px;
  padding:6px 8px;
  border-radius:999px;
  border:1px solid rgba(15,27,45,.10);
  background: rgba(255,255,255,.92);
}
.delta.up{ color: rgba(16,185,129,.98); border-color: rgba(16,185,129,.20); background: rgba(16,185,129,.10); }
.delta.down{ color: rgba(239,68,68,.98); border-color: rgba(239,68,68,.20); background: rgba(239,68,68,.10); }

/* KPI right: new layout */
.kpis-right{
  display:grid;
  gap:12px;
  align-content:start;
}
.kpi-right-top{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
@media (max-width:980px){
  .kpi-right-top{ grid-template-columns: 1fr; }
}

/* Donut card */
.donut-wrap{
  display:grid;
  grid-template-columns: 130px 1fr;
  gap:12px;
  align-items:center;
}
.donut{
  width:130px; height:130px;
  position:relative;
  display:grid;
  place-items:center;
}
.donut svg{ width:130px; height:130px; transform: rotate(-90deg); }
.donut .track{
  stroke: rgba(45,107,255,.12);
}
.donut .seg{
  stroke-linecap: round;
  stroke-dasharray: 0 999;
  transition: stroke-dasharray 1.2s ease;
}
.donut .center{
  position:absolute;
  text-align:center;
  line-height:1.1;
}
.donut .center .big{
  font-weight:950;
  letter-spacing:-0.03em;
  font-size:22px;
}
.donut .center .small{
  margin-top:4px;
  font-weight:900;
  font-size:12px;
  color: rgba(15,27,45,.58);
}
.donut-legend{
  display:grid;
  gap:8px;
}
.legend-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:8px 10px;
  border-radius:16px;
  border:1px solid rgba(15,27,45,.08);
  background: rgba(255,255,255,.90);
  font-weight:900;
  font-size:12.5px;
  color: rgba(15,27,45,.80);
}
.legend-left{ display:flex; align-items:center; gap:10px; min-width:0; }
.legend-dot{ width:10px; height:10px; border-radius:999px; box-shadow:0 0 0 6px rgba(45,107,255,.12); }
.legend-dot.g{ background: rgba(34,197,94,1); box-shadow:0 0 0 6px rgba(34,197,94,.12); }
.legend-dot.b{ background: rgba(45,107,255,1); box-shadow:0 0 0 6px rgba(45,107,255,.12); }
.legend-dot.a{ background: rgba(245,158,11,1); box-shadow:0 0 0 6px rgba(245,158,11,.12); }
.legend-dot.r{ background: rgba(239,68,68,1); box-shadow:0 0 0 6px rgba(239,68,68,.10); }
.legend-name{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.legend-val{ font-weight:950; color: rgba(15,27,45,.62); }

/* Weekly gauge (half circle) */
.gauge{
  display:grid;
  gap:10px;
}
.gauge-top{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:10px;
}
.gauge-top .pct{
  font-weight:950;
  letter-spacing:-0.03em;
  font-size:22px;
}
.gauge-top .sub{
  font-weight:900;
  font-size:12px;
  color: rgba(15,27,45,.58);
}
.gauge-arc{
  width:100%;
  max-width: 280px;
  margin: 0 auto;
}
.gauge-arc svg{ width:100%; height:auto; }
.gauge-arc .bg{
  stroke: rgba(45,107,255,.14);
}
.gauge-arc .fg{
  stroke-linecap: round;
  stroke-dasharray: 0 999;
  transition: stroke-dasharray 1.2s ease;
}
.weekly-list{
  display:grid;
  gap:8px;
}
.weekly-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px 12px;
  border-radius:16px;
  border:1px solid rgba(15,27,45,.08);
  background: rgba(255,255,255,.90);
  font-weight:900;
  font-size:12.5px;
  color: rgba(15,27,45,.80);
}

/* Revenue by region table */
.rev-table{ display:grid; gap:10px; }
.rev-row{
  display:grid;
  grid-template-columns: 1.1fr 2fr auto;
  gap:12px;
  align-items:center;
  padding:10px 12px;
  border-radius:18px;
  border:1px solid rgba(15,27,45,.08);
  background: rgba(255,255,255,.90);
}
.rev-meta{ min-width:0; }
.rev-name{ font-weight:950; font-size:13px; color: rgba(15,27,45,.88); }
.rev-sub{ margin-top:2px; font-weight:850; font-size:12px; color: rgba(15,27,45,.54); }
.rev-bar{
  height:10px;
  border-radius:999px;
  background: rgba(45,107,255,.10);
  border:1px solid rgba(45,107,255,.10);
  overflow:hidden;
}
.rev-bar > span{
  display:block;
  height:100%;
  width:0%;
  border-radius:999px;
  transition: width 1.1s ease;
  background: linear-gradient(90deg, rgba(45,107,255,.88), rgba(13,73,255,.96));
}
.rev-val{
  font-weight:950;
  font-size:12.5px;
  color: rgba(15,27,45,.62);
  white-space:nowrap;
}

/* Animate donut + gauge when section is active */
@media (prefers-reduced-motion: no-preference){
  .kpis-section.is-active .donut .seg.s1{ stroke-dasharray: 92 999; }
  .kpis-section.is-active .donut .seg.s2{ stroke-dasharray: 62 999; }
  .kpis-section.is-active .donut .seg.s3{ stroke-dasharray: 48 999; }
  .kpis-section.is-active .donut .seg.s4{ stroke-dasharray: 38 999; }

  .kpis-section.is-active .gauge-arc .fg{ stroke-dasharray: 220 999; }
}

/* Compact tweaks on smaller screens (avoid overflow) */
@media (max-width:520px){
  .kpi-mini-grid{ grid-template-columns: 1fr; }
  .donut-wrap{ grid-template-columns: 1fr; }
  .donut{ margin: 0 auto; }
  .rev-row{ grid-template-columns: 1fr; gap:10px; }
  .rev-val{ justify-self:start; }
}

/* Ensure no accidental inner scroll in these sections on desktop */
@media (min-width:761px){
  #hero, #kpis{
    overflow: hidden;
  }
}
/* =========================
   GLOBAL WIDTH OVERRIDE
   ========================= */

/* ⬅️ SITE WIDTH 1240 */
.container{
  width: min(1240px, calc(100% - (var(--site-pad) * 2)));
  margin: 0 auto;
}

/* =========================
   Scroll model (mobile-first)
   ========================= */

html, body { height: auto; }
body { overflow-x: hidden; }
.app { height: auto; overflow: visible; }

@media (min-width: 761px){
  html, body { height: 100%; }
  body { overflow: hidden; }

  .app{
    height: 100dvh;
    height: 100vh;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
  }

  .app-section{
    min-height: 100dvh;
    min-height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
}

.app-section{
  padding-top: var(--header-h);
  padding-bottom: 28px;
  position:relative;
  overflow-x:hidden;

  display:flex;
  flex-direction:column;
  justify-content:center;
}

.app-section > footer{ margin-top:auto; }

/* =========================================================
   HERO GRID — RIGHT COLUMN WIDER
   ========================================================= */

.cs-grid{
  display:grid;
  grid-template-columns: 1fr 1.15fr; /* ⬅️ rechterkant breder */
  gap: 34px;
  align-items:start;
}

/* stage mag iets groter */
.cs-stage{
  max-width: 620px; /* was 560 */
  height: clamp(480px, calc(100vh - var(--header-h) - 110px), 600px);
}

/* =========================================================
   KPI GRID — RIGHT COLUMN WIDER
   ========================================================= */

.kpis-grid{
  display:grid;
  grid-template-columns: .95fr 1.2fr; /* ⬅️ rechterkant dominanter */
  gap:34px;
  align-items:start;
}

/* rechter blok meer ruimte */
.kpis-right{
  max-width: 720px;
}

/* donut iets groter */
.donut{
  width:150px;
  height:150px;
}
.donut svg{
  width:150px;
  height:150px;
}

/* =========================================================
   VOICE GRID — RIGHT SIDE WIDER
   ========================================================= */

.voice-grid{
  display:grid;
  grid-template-columns: .95fr 1.15fr;
  gap:34px;
  align-items:start;
}

@media (min-width: 1100px){
  .voice-grid{
    grid-template-columns: 1fr 600px; /* player breder */
  }
}

/* =========================================================
   INSIGHTS GRID — RIGHT SIDE WIDER
   ========================================================= */

.ins-grid{
  display:grid;
  grid-template-columns: .95fr 1.15fr;
  gap:34px;
  align-items:start;
}

/* =========================================================
   TABLE & KPI VISUAL IMPROVEMENTS FOR WIDER LAYOUT
   ========================================================= */

.rev-row{
  grid-template-columns: 1.2fr 2.2fr auto;
}

.dash-table .thead,
.dash-table .trow{
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
}

/* =========================================================
   RESPONSIVE SAFETY
   ========================================================= */

@media (max-width: 1100px){
  .cs-grid,
  .kpis-grid,
  .voice-grid,
  .ins-grid{
    grid-template-columns:1fr;
  }

  .cs-stage{
    max-width:none;
  }
}

@media (max-width: 520px){
  .container{
    width: calc(100% - 32px);
  }
}
/* ====== GLOBAL WIDTH (1240) ====== */
:root{
  --site-max: 1240px;
}

/* als .container al bestaat: override */
.container{
  width: min(var(--site-max), calc(100% - (var(--site-pad) * 2)));
}
/* ====== HERO EXTRA AIR ====== */
.cs-hero{
  padding-top: calc(var(--header-h) + 22px);
}
/* =========================================================
   VOXVEN 13" TUNING — paste underaan (final overrides)
   ========================================================= */

/* 1) Site width naar 1240 (zonder dubbele .container defs) */
:root{
  --site-max: 1240px;
  --site-pad: 20px; /* keep */
}

/* force container overal consistent via var */
.container{
  width: min(var(--site-max), calc(100% - (var(--site-pad) * 2))) !important;
  margin: 0 auto !important;
}

/* 2) Minder “druk”: section breathing op laptop */
@media (max-width: 1100px){
  .app-section{
    padding-bottom: 22px !important;
  }
}
@media (min-width: 761px) and (max-width: 1100px){
  .hero.app-section{ padding-top: calc(var(--header-h) + 18px) !important; }
  .kpis-section.app-section,
  .voice-section.app-section,
  .insights-section.app-section,
  .faq-section.app-section,
  .intake-section.app-section{
    padding-top: calc(var(--header-h) + 12px) !important;
  }
}

/* 3) Hero: rechterkolom breder + stage iets groter (13") */
@media (min-width: 981px){
  .cs-grid{
    grid-template-columns: 1fr 1.15fr !important;
    gap: 34px !important;
  }
  .cs-stage{
    max-width: 620px !important;
    height: clamp(480px, calc(100vh - var(--header-h) - 110px), 600px) !important;
  }
}

/* 4) KPI: rechterkolom breder (minder cramped) */
@media (min-width: 981px){
  .kpis-grid{
    grid-template-columns: .95fr 1.2fr !important;
    gap: 34px !important;
  }
  .kpis-right{
    max-width: 720px !important;
  }
  .kpi-right-top{
    grid-template-columns: 1fr 1fr !important;
  }
  .donut{ width:150px !important; height:150px !important; }
  .donut svg{ width:150px !important; height:150px !important; }
}

/* 5) Voice: NIET smaller maken (remove/override 980px container force) */
@media (min-width: 981px){
  .voice-section .container{
    width: min(var(--site-max), calc(100% - (var(--site-pad) * 2))) !important;
  }
  .voice-grid{
    grid-template-columns: .95fr 1.15fr !important;
    gap: 34px !important;
  }
}
@media (min-width: 1100px){
  .voice-grid{
    grid-template-columns: 1fr 600px !important;
  }
  .voice-player{
    max-width: 600px !important;
  }
}

/* 6) Insights: rechterkolom breder */
@media (min-width: 981px){
  .ins-grid{
    grid-template-columns: .95fr 1.15fr !important;
    gap: 34px !important;
  }
}

/* 7) Cards: iets minder padding op 13" zodat het “rustiger” voelt */
@media (min-width: 761px) and (max-width: 1100px){
  .cs-card{ padding: 20px !important; }
  .dash-card{ padding: 12px !important; }
  .voice-player{ padding: 14px !important; }
  .ins-card{ padding: 14px !important; }
}

/* 8) FAQ: minder velden op 13" (minder druk) */
@media (min-width: 761px) and (max-width: 1100px){
  /* laat 8 items zichtbaar (4 per kolom), verberg de rest */
  .faq-card .faq-item:nth-child(n+9){
    display: none !important;
  }

  /* iets meer ruimte rond FAQ wrapper */
  .faq-wrap{ padding: 0 20px !important; }
}

/* Optioneel: force show-all als je .faq-show-all op faq-card zet */
.faq-card.faq-show-all .faq-item{
  display: block !important;
}

/* 9) Tables net iets ruimer in brede layout */
@media (min-width: 981px){
  .rev-row{ grid-template-columns: 1.2fr 2.2fr auto !important; }
  .dash-table .thead,
  .dash-table .trow{
    grid-template-columns: 1.5fr 1fr 1fr 1fr !important;
  }
}

/* 10) Responsive safety: blijf 1 kolom op kleinere widths */
@media (max-width: 1100px){
  .cs-grid,
  .kpis-grid,
  .voice-grid,
  .ins-grid{
    grid-template-columns: 1fr !important;
  }
  .cs-stage{ max-width: none !important; }
}
/* =========================================================
   VOXVEN 13" REFINEMENT — meer lucht + gap 38
   ========================================================= */

/* 1) Meer top breathing (alle snap sections desktop) */
@media (min-width: 761px){
  .hero.app-section{
    padding-top: calc(var(--header-h) + 32px) !important;
  }

  .kpis-section.app-section,
  .voice-section.app-section,
  .insights-section.app-section,
  .faq-section.app-section,
  .intake-section.app-section{
    padding-top: calc(var(--header-h) + 24px) !important;
  }
}

/* 2) Grid gaps naar 38 (meer premium spacing) */
@media (min-width: 981px){

  .cs-grid{
    grid-template-columns: 1fr 1.15fr !important;
    gap: 38px !important;
  }

  .kpis-grid{
    grid-template-columns: .95fr 1.2fr !important;
    gap: 38px !important;
  }

  .voice-grid{
    grid-template-columns: .95fr 1.15fr !important;
    gap: 38px !important;
  }

  .ins-grid{
    grid-template-columns: .95fr 1.15fr !important;
    gap: 38px !important;
  }
}

/* 3) Interne card spacing iets rustiger */
@media (min-width: 761px) and (max-width: 1200px){

  .cs-card{ padding: 18px !important; }
  .dash-card{ padding: 12px !important; }
  .voice-player{ padding: 16px !important; }
  .ins-card{ padding: 16px !important; }

  .kpi-right-top{ gap: 16px !important; }
}

/* 4) Stage iets lager positioneren (meer top rust in hero) */
@media (min-width: 981px){
  .cs-stage{
    margin-top: 14px !important;
  }
}
/* =========================================================
   KPI STORY SWAP (left copy + right panels) — premium, calm
   ========================================================= */

.kpi-story-left{
  display:flex;
  flex-direction:column;
  gap:12px;
  position:relative;
  min-height: 240px; /* prevents jump */
}

.kpi-story-slide{
  opacity:0;
  transform: translateY(6px);
  transition: opacity .28s ease, transform .28s ease;
  pointer-events:none;
  position:absolute;
  left:0; right:0;
}

.kpi-story-slide.is-active{
  opacity:1;
  transform: translateY(0);
  pointer-events:auto;
  position:relative;
}

.kpi-story-panels{
  position:relative;
  min-height: 520px; /* prevents jump */
}

.kpi-panel{
  position:absolute;
  inset:0;
  opacity:0;
  transform: translateY(8px);
  pointer-events:none;
  transition: opacity .32s ease, transform .32s ease;
  display:grid;
  gap:12px;
  align-content:start;
}

.kpi-panel.is-active{
  opacity:1;
  transform: translateY(0);
  pointer-events:auto;
  position:relative;
}

/* subtle progress dash (sync with 2.5s cycle) */
.kpi-story-progress{
  height: 8px;
  border-radius: 999px;
  background: rgba(45,107,255,.10);
  border: 1px solid rgba(45,107,255,.12);
  overflow:hidden;
  margin-top: 10px;
}
.kpi-story-progress > span{
  display:block;
  height:100%;
  width:0%;
  border-radius:999px;
  background: linear-gradient(90deg, rgba(45,107,255,.86), rgba(13,73,255,.96));
  box-shadow: 0 10px 26px rgba(45,107,255,.16);
  transition: width 2.5s linear;
}

@media (prefers-reduced-motion: reduce){
  .kpi-story-slide,
  .kpi-panel{
    transition:none !important;
    transform:none !important;
  }
  .kpi-story-progress > span{
    transition:none !important;
    width: 100% !important;
  }
}
