/* ==========================================================================
   ProntoCore — levende mini-demo's (home + dienstpagina's)
   ========================================================================== */

.demo {
  position: relative;
  width: min(440px, 100%);
  font-size: 0.8125rem;
}

/* Chat */
.demo--chat {
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: min(420px, 100%);
  min-height: 320px;
  border-radius: 20px;
  background: rgba(10, 12, 20, 0.95);
  border: 1px solid rgba(143, 180, 255, 0.1);
  box-shadow: var(--shadow-panel);
  overflow: hidden;
}

.demo__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.demo__avatar {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #1b2030, #0b0d15);
  border: 1px solid rgba(255, 179, 107, 0.35);
  display: grid;
  place-items: center;
}

.demo__avatar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #fff, #FFB36B 40%, #FF5B1F);
  box-shadow: 0 0 10px #FF5B1F;
}

.demo__who {
  display: grid;
  flex: 1;
  line-height: 1.25;
}

.demo__who small {
  color: var(--ok-400);
  font-size: 0.6875rem;
}

.demo__body {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px;
  overflow: hidden;
}

.msg {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 16px;
  line-height: 1.4;
  animation: msg-in 0.5s var(--ease-out) both;
}

@keyframes msg-in {
  from { opacity: 0; transform: translateY(10px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

.msg--user {
  align-self: flex-end;
  background: var(--bone-50);
  color: var(--ink-950);
  border-bottom-right-radius: 5px;
}

.msg--bot {
  align-self: flex-start;
  background: var(--ink-750);
  border: 1px solid rgba(143, 180, 255, 0.1);
  border-bottom-left-radius: 5px;
}

.msg--sys {
  align-self: center;
  max-width: none;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ok-400);
  background: rgba(91, 228, 155, 0.08);
  border: 1px solid rgba(91, 228, 155, 0.25);
}

.msg--typing {
  display: inline-flex;
  gap: 4px;
  padding: 14px 16px;
}

.msg--typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-3);
  animation: typing 1.2s ease-in-out infinite;
}

.msg--typing i:nth-child(2) { animation-delay: 0.15s; }
.msg--typing i:nth-child(3) { animation-delay: 0.3s; }

@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.demo__input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 12px 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  color: var(--text-4);
}

.demo__input i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--plasma-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2305060B' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 19V5M6.5 10.5 12 5l5.5 5.5'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* Flow */
.demo--flow {
  display: grid;
  gap: 12px;
  width: min(460px, 100%);
}

.flow__head,
.flow__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-3);
}

.flow__foot {
  font-size: 0.75rem;
}

.flow__foot b {
  font-family: var(--font-mono);
  color: var(--bone-50);
  font-weight: 500;
}

.flow__graph {
  position: relative;
  aspect-ratio: 4 / 3;
}

.flow__wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.flow__wire {
  fill: none;
  stroke: rgba(143, 180, 255, 0.18);
  stroke-width: 1.2;
  stroke-dasharray: 3 5;
  vector-effect: non-scaling-stroke;
}

.flow__pulse {
  fill: none;
  stroke: var(--plasma-300);
  stroke-width: 2.5;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 0.16 1;
  stroke-dashoffset: 0.16;
  opacity: 0;
  filter: drop-shadow(0 0 4px rgba(255, 91, 31, 0.9));
}

.flow__pulse.is-run {
  animation: pulse-run 0.8s var(--ease-in-out) forwards;
}

@keyframes pulse-run {
  0% { stroke-dashoffset: 0.16; opacity: 1; }
  90% { opacity: 1; }
  100% { stroke-dashoffset: -1; opacity: 0; }
}

.flow__node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 12px;
  background: rgba(12, 15, 24, 0.95);
  border: 1px solid rgba(143, 180, 255, 0.14);
  white-space: nowrap;
  font-size: 0.75rem;
  transition: border-color 0.4s, box-shadow 0.4s, color 0.4s;
}

.flow__node i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink-500);
  transition: background-color 0.4s, box-shadow 0.4s;
}

.flow__node.is-lit {
  border-color: rgba(255, 122, 61, 0.7);
  box-shadow: 0 0 24px -4px rgba(255, 91, 31, 0.6);
}

.flow__node.is-lit i {
  background: var(--plasma-400);
  box-shadow: 0 0 8px var(--plasma-500);
}

.flow__node--done.is-lit {
  border-color: rgba(91, 228, 155, 0.6);
  box-shadow: 0 0 24px -4px rgba(91, 228, 155, 0.5);
  color: var(--ok-400);
}

.flow__node--done.is-lit i {
  background: var(--ok-400);
  box-shadow: 0 0 8px var(--ok-400);
}

/* App */
.demo--app {
  display: grid;
  grid-template-columns: 44px 1fr;
  width: min(480px, 100%);
  height: 320px;
  border-radius: 18px;
  background: rgba(10, 12, 20, 0.96);
  border: 1px solid rgba(143, 180, 255, 0.1);
  box-shadow: var(--shadow-panel);
  overflow: hidden;
}

.app__side {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 14px;
  padding: 16px 0;
  border-right: 1px solid var(--line);
}

.app__side i {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: var(--ink-700);
}

.app__side i.is-on {
  background: var(--plasma-500);
  box-shadow: 0 0 12px rgba(255, 91, 31, 0.6);
}

.app__main {
  position: relative;
  padding: 14px;
}

.app__top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.app__search {
  flex: 1;
  height: 24px;
  border-radius: 8px;
  background: var(--ink-800);
}

.app__avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ice-500), var(--plasma-400));
}

.app__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  height: calc(100% - 38px);
}

.app__col {
  border-radius: 10px;
  background: rgba(17, 21, 34, 0.7);
  padding: 8px;
}

.app__col-title {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-4);
}

.app__card {
  position: absolute;
  left: 0;
  top: 0;
  width: calc((100% - 28px - 16px) / 3 - 12px);
  display: grid;
  gap: 4px;
  padding: 8px 9px;
  border-radius: 9px;
  background: var(--ink-750);
  border: 1px solid rgba(143, 180, 255, 0.12);
  font-size: 0.625rem;
  line-height: 1.25;
  transition: transform 0.9s var(--ease-in-out), border-color 0.4s, box-shadow 0.4s;
}

.app__card b {
  font-weight: 500;
  font-size: 0.6875rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app__card span {
  color: var(--text-3);
  font-family: var(--font-mono);
}

.app__card i {
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--plasma-400) var(--w), var(--ink-600) var(--w));
}

.app__card.is-moving {
  border-color: rgba(255, 122, 61, 0.6);
  box-shadow: 0 10px 30px -6px rgba(255, 91, 31, 0.45);
  z-index: 2;
}

/* Web */
.demo--web {
  display: grid;
  gap: 14px;
  width: min(460px, 100%);
}

.web__chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 14px 14px 0 0;
  background: var(--ink-800);
  border: 1px solid rgba(143, 180, 255, 0.1);
  border-bottom: 0;
  margin-bottom: -14px;
}

.web__chrome > i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink-600);
}

.web__url {
  flex: 1;
  margin-left: 10px;
  padding: 5px 12px;
  border-radius: 8px;
  background: var(--ink-900);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--text-3);
}

.web__page {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 18px;
  min-height: 210px;
  border-radius: 0 0 14px 14px;
  background: linear-gradient(180deg, #0c0f18, #090b12);
  border: 1px solid rgba(143, 180, 255, 0.1);
  overflow: hidden;
}

.web__hero {
  display: grid;
  gap: 8px;
  padding: 20px 16px;
  border-radius: 10px;
  background: radial-gradient(circle at 80% 30%, rgba(255, 91, 31, 0.25), transparent 60%), var(--ink-800);
}

.web__hero b {
  height: 12px;
  border-radius: 4px;
  background: var(--bone-100);
  width: 70%;
  transform-origin: 0 50%;
}

.web__hero b + b {
  width: 45%;
  height: 8px;
  background: var(--ink-500);
}

.web__btn {
  width: 70px;
  height: 18px;
  border-radius: 9px;
  background: var(--plasma-500);
  margin-top: 4px;
}

.web__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.web__row span {
  height: 54px;
  border-radius: 8px;
  background: var(--ink-800);
  border: 1px solid rgba(143, 180, 255, 0.06);
}

.demo--web.is-building .web__hero b,
.demo--web.is-building .web__btn,
.demo--web.is-building .web__row span {
  animation: build-in 0.7s var(--ease-out) both;
}

.demo--web.is-building .web__hero b + b { animation-delay: 0.12s; }
.demo--web.is-building .web__btn { animation-delay: 0.24s; }
.demo--web.is-building .web__row span:nth-child(1) { animation-delay: 0.36s; }
.demo--web.is-building .web__row span:nth-child(2) { animation-delay: 0.44s; }
.demo--web.is-building .web__row span:nth-child(3) { animation-delay: 0.52s; }

@keyframes build-in {
  from { opacity: 0; transform: translateY(8px) scaleX(0.6); }
  to { opacity: 1; transform: none; }
}

.web__toast {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(22, 27, 42, 0.95);
  border: 1px solid rgba(91, 228, 155, 0.35);
  font-size: 0.6875rem;
  transform: translateY(140%);
  transition: transform 0.6s var(--ease-spring);
}

.web__toast i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok-400);
  box-shadow: 0 0 8px var(--ok-400);
}

.demo--web.is-toast .web__toast {
  transform: none;
}

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

.score {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 12px 6px;
  border-radius: 12px;
  background: rgba(12, 15, 24, 0.9);
  border: 1px solid rgba(143, 180, 255, 0.08);
}

.score svg {
  width: 44px;
  height: 44px;
  transform: rotate(-90deg);
}

.score circle {
  fill: none;
  stroke: var(--ink-700);
  stroke-width: 3;
}

.score .score__fill {
  stroke: var(--ok-400);
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 1.4s var(--ease-out);
}

.demo--web.is-scored .score__fill {
  stroke-dashoffset: calc(100 - var(--v) * 100);
}

.score b {
  position: absolute;
  top: 24px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
}

.score span {
  font-size: 0.625rem;
  color: var(--text-3);
}

/* Map */
.demo--map {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  background: #0a0d16;
  border: 1px solid rgba(143, 180, 255, 0.1);
}

.map__roads {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map__roads path {
  fill: none;
  stroke: rgba(143, 180, 255, 0.14);
  stroke-width: 7;
  stroke-linecap: round;
}

.map__roads .map__water {
  fill: rgba(79, 123, 224, 0.1);
  stroke: none;
}

.map__pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 16px;
  height: 16px;
  margin: -16px 0 0 -8px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--ink-500);
  border: 2px solid var(--ink-700);
}

.map__pin--me {
  width: 26px;
  height: 26px;
  margin: -26px 0 0 -13px;
  background: var(--grad-plasma);
  border-color: #fff;
  box-shadow: 0 0 24px rgba(255, 91, 31, 0.8);
  z-index: 2;
  animation: pin-drop 3.2s var(--ease-spring) infinite;
}

.map__pin--me i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 70px;
  height: 70px;
  margin: -35px 0 0 -35px;
  border-radius: 50%;
  border: 1px solid rgba(255, 122, 61, 0.6);
  animation: fab-ring 2.4s var(--ease-out) infinite;
}

@keyframes pin-drop {
  0%, 100% { translate: 0 0; }
  8% { translate: 0 -8px; }
  16% { translate: 0 0; }
}

.map__search {
  position: absolute;
  left: 12px;
  top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  background: rgba(243, 239, 232, 0.94);
  color: var(--ink-950);
  font-size: 0.75rem;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.7);
}

.map__search .icon {
  width: 14px;
  height: 14px;
  stroke-width: 2;
}

.map__card {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 10px 10px;
  border-radius: 14px;
  background: rgba(12, 15, 24, 0.95);
  border: 1px solid rgba(255, 122, 61, 0.35);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.8);
  white-space: nowrap;
}

.map__rank {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--grad-plasma);
  color: var(--ink-950);
  font-weight: 700;
}

.map__biz {
  display: grid;
  line-height: 1.3;
}

.map__biz small {
  color: var(--text-3);
  font-size: 0.6875rem;
}

.map__stars {
  color: #FFC24B;
  letter-spacing: 1px;
}

.map__chart {
  position: absolute;
  right: 12px;
  top: 12px;
  display: grid;
  gap: 4px;
  width: 130px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(12, 15, 24, 0.92);
  border: 1px solid rgba(143, 180, 255, 0.1);
  font-size: 0.5625rem;
  color: var(--text-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.map__chart svg {
  width: 100%;
  height: 34px;
}

.map__chart path {
  fill: none;
  stroke: var(--plasma-400);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  transition: stroke-dashoffset 2s var(--ease-out);
}

.demo--map.is-on .map__chart path {
  stroke-dashoffset: 0;
}

/* Dashboard */
.demo--dash {
  display: grid;
  gap: 12px;
  width: min(480px, 100%);
}

.dash__kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.kpi {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(12, 15, 24, 0.95);
  border: 1px solid rgba(143, 180, 255, 0.1);
}

.kpi span {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-4);
}

.kpi b {
  font-size: clamp(0.95rem, 0.8rem + 0.6vw, 1.25rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.kpi em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--ok-400);
}

.dash__chart {
  position: relative;
  height: 150px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(12, 15, 24, 0.95);
  border: 1px solid rgba(143, 180, 255, 0.1);
}

.dash__bars {
  position: absolute;
  inset: 14px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
}

.dash__bars i {
  flex: 1;
  height: calc(var(--h) * 100%);
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, rgba(143, 180, 255, 0.4), rgba(143, 180, 255, 0.08));
  transform-origin: 50% 100%;
  transform: scaleY(0);
  transition: transform 1s var(--ease-out);
}

.dash__bars i:last-child {
  background: linear-gradient(180deg, var(--plasma-300), rgba(255, 91, 31, 0.2));
  box-shadow: 0 0 20px rgba(255, 91, 31, 0.4);
}

.demo--dash.is-on .dash__bars i {
  transform: scaleY(1);
}

.dash__line {
  position: absolute;
  inset: 14px;
  width: calc(100% - 28px);
  height: calc(100% - 28px);
}

.dash__line path {
  fill: none;
  stroke: var(--plasma-300);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.8s var(--ease-out) 0.4s;
}

.demo--dash.is-on .dash__line path {
  stroke-dashoffset: 0;
}

.dash__ask {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(12, 15, 24, 0.95);
  border: 1px solid rgba(255, 122, 61, 0.25);
  min-height: 86px;
}

.dash__q {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--bone-50);
}

.dash__q::before {
  content: "› ";
  color: var(--plasma-400);
}

.dash__a {
  font-size: 0.8125rem;
  color: var(--text-2);
}

.dash__a:not(:empty)::before {
  content: "AI  ";
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--plasma-300);
}

.type-caret::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 1em;
  margin-left: 2px;
  vertical-align: -2px;
  background: var(--plasma-400);
  animation: caret 0.9s steps(1) infinite;
}

@keyframes caret {
  50% { opacity: 0; }
}

/* Care */
.demo--care {
  display: grid;
  gap: 12px;
  width: min(460px, 100%);
}

.care__monitor {
  padding: 16px;
  border-radius: 16px;
  background: rgba(12, 15, 24, 0.95);
  border: 1px solid rgba(143, 180, 255, 0.1);
}

.care__monitor-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
  color: var(--text-3);
}

.care__monitor-head b {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--ok-400);
  font-weight: 500;
}

.care__pulse {
  width: 100%;
  height: 80px;
}

.care__pulse path {
  fill: none;
  stroke: var(--ok-400);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 60 540;
  filter: drop-shadow(0 0 4px rgba(91, 228, 155, 0.8));
  animation: pulse-line 2.6s linear infinite;
}

@keyframes pulse-line {
  from { stroke-dashoffset: 600; }
  to { stroke-dashoffset: 0; }
}

.care__checks {
  display: grid;
  gap: 6px;
}

.care__checks li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 12px;
  background: rgba(12, 15, 24, 0.9);
  border: 1px solid rgba(143, 180, 255, 0.08);
}

.care__checks i {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok-400);
}

.care__checks i::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(91, 228, 155, 0.7);
  animation: ring-ping 2.4s var(--ease-out) infinite;
}

.care__checks li:nth-child(2) i::after { animation-delay: 0.4s; }
.care__checks li:nth-child(3) i::after { animation-delay: 0.8s; }
.care__checks li:nth-child(4) i::after { animation-delay: 1.2s; }
.care__checks li:nth-child(5) i::after { animation-delay: 1.6s; }

.care__checks b {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 400;
  color: var(--text-3);
}

/* Audit op afstand */
.demo--audit {
  display: grid;
  gap: 12px;
  width: min(460px, 100%);
  padding: 16px;
  border-radius: 20px;
  background: rgba(10, 12, 20, 0.95);
  border: 1px solid rgba(143, 180, 255, 0.1);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}

.audit__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(143, 180, 255, 0.08);
  color: var(--text-3);
}

.audit__checks {
  display: grid;
  gap: 6px;
}

.audit__checks li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 12px;
  background: rgba(12, 15, 24, 0.9);
  border: 1px solid rgba(143, 180, 255, 0.08);
  transition: border-color 0.4s, background-color 0.4s;
}

.audit__checks i {
  position: relative;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid var(--ink-500);
  transition: border-color 0.3s, background-color 0.3s;
}

.audit__checks i::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1.5px;
  width: 4px;
  height: 7px;
  border-right: 1.5px solid var(--ink-950);
  border-bottom: 1.5px solid var(--ink-950);
  transform: rotate(45deg) scale(0);
  transition: transform 0.3s var(--ease-spring);
}

.audit__checks b {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 400;
  color: var(--text-4);
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.4s, transform 0.4s var(--ease-out);
}

.audit__checks li.is-busy {
  border-color: rgba(255, 122, 61, 0.35);
}

.audit__checks li.is-busy i {
  border-color: var(--plasma-400);
  border-top-color: transparent;
  animation: audit-spin 0.8s linear infinite;
}

.audit__checks li.is-done i {
  border-color: var(--ok-400);
  background: var(--ok-400);
}

.audit__checks li.is-done i::after {
  transform: rotate(45deg) scale(1);
}

.audit__checks li.is-done b {
  opacity: 1;
  transform: none;
  color: var(--plasma-200);
}

.audit__bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-4);
}

.audit__bar i {
  position: relative;
  height: 4px;
  border-radius: 4px;
  background: rgba(143, 180, 255, 0.1);
  overflow: hidden;
}

.audit__bar b {
  position: absolute;
  inset: 0;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--plasma-600), var(--plasma-300));
  transition: transform 0.12s linear;
}

.audit__bar em {
  font-style: normal;
  color: var(--bone-50);
}

.audit__call {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(91, 228, 155, 0.3);
  background: rgba(91, 228, 155, 0.07);
  color: var(--text-2);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.audit__call .icon {
  width: 18px;
  height: 18px;
  color: var(--ok-400);
}

.audit__call b {
  color: var(--bone-50);
  font-weight: 500;
}

.demo--audit.is-call .audit__call {
  opacity: 1;
  transform: none;
}

@keyframes audit-spin {
  to { transform: rotate(360deg); }
}
