/* Variant: Kanban — light with a violet accent; a project board from analysis to operation.
   Hero markup in src/variants/kanban; the rest is shared content. Light only. */

:root {
  --bg: #f6f5fb;
  --surface: #ffffff;
  --muted: #eeedf6;
  --ink: #1a1730;
  --ink-2: #5c5876;
  --line: #e3e1ef;
  --accent: #6d3fd8;
  --accent-ink: #ffffff;
  --accent-soft: #ece4ff;
  --green-soft: #e0edff;
  --amber-soft: #fff1c2;
  --night: #1a1730;
  --night-2: #282445;

  --ui-accent: #6d3fd8;
  --ui-img: #f1ecff;

  color-scheme: light;
}

.kb-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 3vw, 2rem);
}
@media (min-width: 64em) { .kb-hero__inner { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } }
.kb-title { font-size: clamp(2.75rem, 5vw, 5rem); line-height: 0.98; letter-spacing: -0.05em; }
.kb-hero .hero__lead { margin-top: 1.5rem; }
.kb-hero .hero__actions { margin-top: 2rem; }

.kb {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--muted);
  box-shadow: 0 40px 80px -50px rgba(40, 30, 90, 0.45);
}
.kb__top { display: flex; justify-content: space-between; align-items: center; padding: 4px 6px 0; font-size: 0.9375rem; }
.kb__avatars { display: flex; padding-left: 6px; }
.kb__avatars .av { width: 26px; height: 26px; margin-left: -6px; border: 2px solid var(--muted); }
.kb__avatars .av:nth-child(1) { background: #ffd2b8; } .kb__avatars .av:nth-child(2) { background: #cfd9ff; } .kb__avatars .av:nth-child(3) { background: #e3d4ff; }

.kb__cols {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(11rem, 72%);
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  scrollbar-width: thin;
}
@media (min-width: 64em) { .kb__cols { grid-auto-columns: minmax(0, 1fr); overflow: visible; } }
.kb-col { display: flex; flex-direction: column; gap: 8px; min-height: 19rem; padding: 10px; border-radius: 16px; background: rgba(255, 255, 255, 0.55); }
.kb-col__head { display: flex; justify-content: space-between; align-items: center; padding: 2px 2px 4px; font-size: 0.8125rem; font-weight: 600; color: var(--ink-2); }
.kb-col__head b { min-width: 1.4rem; padding: 0 0.4rem; border-radius: 999px; background: #ffffff; font-size: 0.75rem; text-align: center; }

.kb-card {
  display: grid;
  gap: 6px;
  padding: 10px 11px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(26, 23, 48, 0.06), 0 6px 14px -10px rgba(26, 23, 48, 0.3);
  font-size: 0.8125rem;
}
.kb-card strong { font-weight: 600; line-height: 1.3; }
.kb-card.is-dragging {
  position: relative;
  z-index: 1;
  rotate: 4deg;
  translate: 12px -4px;
  outline: 2px solid var(--accent);
  box-shadow: 0 24px 40px -18px rgba(60, 30, 140, 0.5);
}
.kb-tag { justify-self: start; padding: 0.1rem 0.5rem; border-radius: 999px; font-size: 0.6875rem; font-weight: 650; }
.kb-tag--con { background: #ece4ff; color: #5a2fc2; }
.kb-tag--crm { background: #e0edff; color: #1f5fbf; }
.kb-tag--web { background: #ffe8d6; color: #b54708; }
.kb-tag--doc { background: #ffe1ec; color: #b4235a; }
.kb-tag--coa { background: #fff1c2; color: #8a5a00; }
.kb-meta { display: flex; align-items: center; gap: 6px; }
.kb-meta .av { width: 18px; height: 18px; background: #e3d4ff; }
.kb-bar { flex: 1; height: 5px; border-radius: 999px; background: linear-gradient(90deg, var(--accent) 45%, var(--line) 45%); }
.kb-col:nth-child(1) .kb-bar { background: linear-gradient(90deg, var(--accent) 20%, var(--line) 20%); }
.kb-col:nth-child(4) .kb-bar { background: var(--accent); }

/* Shared sections */
.tile--dark .focus strong { color: #c9b5ff; }
.steps li::before { background: var(--accent); }
.faq summary::after { background: var(--accent-soft); color: var(--accent); }
.product__visual--water { background: #e0edff; }
.product__visual--jobs { background: #ece4ff; }
.product__visual--food { background: #ffe8d6; }
.product__link { color: var(--accent); }
.phscale__ticks { color: var(--ink-2); }
