/* ai.verest whitelabel — light theme */
:root {
  --blue-900: #003a66;
  --blue-700: #005fa8;
  --blue-500: #007fdc;
  --blue-400: #3da5e8;
  --blue-300: #7dc4f0;
  --blue-200: #b8dcf5;
  --blue-100: #e6f4fd;
  --blue-50:  #f4fafe;
  --ink-900: #0a2540;
  --ink-700: #2a4968;
  --ink-500: #56708d;
  --ink-300: #95a9bf;
  --paper: #ffffff;
  --paper-tint: #fbfdff;
  --line: rgba(10, 37, 64, 0.08);
  --line-strong: rgba(10, 37, 64, 0.14);
  --glow: 0 0 60px rgba(0, 127, 220, 0.25);
  --soft-shadow: 0 20px 50px -20px rgba(0, 50, 100, 0.25);
  --glass: rgba(255, 255, 255, 0.72);
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html, body {
  background: var(--paper);
  color: var(--ink-900);
  font-family: 'Inter', 'Helvetica Neue', system-ui, sans-serif;
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}

body {
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(0,127,220,0.10), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(0,127,220,0.08), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  min-height: 100vh;
}

.display {
  font-family: 'Instrument Serif', 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  font-style: italic;
}

.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }

h1, h2, h3, h4 { letter-spacing: -0.03em; line-height: 1.05; font-weight: 600; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

/* Scroll */
html { scroll-behavior: smooth; }

::selection { background: var(--blue-500); color: white; }

/* ---- Layout ---- */
.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

/* ---- Navbar ---- */
.nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 17px; letter-spacing: -0.01em;
}
.brand-mark {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 127, 220, 0.4);
}
.brand-mark::after {
  content: ''; position: absolute; inset: 6px;
  border: 2px solid white; border-radius: 3px;
  border-right-color: transparent; border-bottom-color: transparent;
  transform: rotate(-45deg);
}
.brand-dot { color: var(--blue-500); }
.nav-links { display: flex; gap: 32px; font-size: 14px; color: var(--ink-700); }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--blue-500); }
.nav-cta {
  display: flex; gap: 10px; align-items: center;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 20px;
  border-radius: 10px;
  font-size: 14px; font-weight: 500;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue-500);
  color: white;
  box-shadow: 0 6px 16px -4px rgba(0, 127, 220, 0.55), inset 0 1px 0 rgba(255,255,255,0.3);
}
.btn-primary:hover {
  background: var(--blue-700);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -6px rgba(0, 127, 220, 0.6), inset 0 1px 0 rgba(255,255,255,0.3);
}
.btn-ghost { color: var(--ink-700); }
.btn-ghost:hover { color: var(--blue-500); }
.btn-outline {
  border: 1px solid var(--line-strong);
  background: white;
  color: var(--ink-900);
}
.btn-outline:hover { border-color: var(--blue-500); color: var(--blue-500); }
.btn-lg { height: 52px; padding: 0 26px; font-size: 15px; border-radius: 12px; }

.arrow { display: inline-block; transition: transform 0.2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---- Hero ---- */
.hero {
  position: relative;
  padding: 80px 0 120px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 6px;
  border-radius: 100px;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 12px; font-weight: 500;
  border: 1px solid rgba(0, 127, 220, 0.15);
}
.eyebrow-tag {
  background: white; color: var(--blue-500);
  padding: 2px 8px; border-radius: 100px;
  font-size: 11px; font-weight: 600;
  border: 1px solid rgba(0,127,220,0.2);
}

.hero h1 {
  font-size: clamp(44px, 6vw, 84px);
  margin: 22px 0 20px;
  line-height: 0.98;
  font-weight: 600;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700) 60%, var(--blue-900));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  display: inline-block;
  line-height: 1.15;
  padding-bottom: 0.05em;
}
.hero h1 .swap-wrap {
  display: inline-block;
  position: relative;
  vertical-align: baseline;
}
.hero h1 .swap {
  display: inline-block;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-900));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  animation: swapIn 0.5s var(--ease);
}
@keyframes swapIn {
  0% { opacity: 0; transform: translateY(20px) rotateX(-40deg); filter: blur(8px); }
  100% { opacity: 1; transform: translateY(0) rotateX(0); filter: blur(0); }
}
.hero p.lede {
  font-size: 18px; color: var(--ink-700);
  max-width: 520px; margin-bottom: 32px;
  line-height: 1.55;
}
.hero-cta { display: flex; gap: 12px; margin-bottom: 36px; }
.hero-trust {
  display: flex; align-items: center; gap: 20px;
  font-size: 13px; color: var(--ink-500);
}
.trust-avatars { display: flex; }
.trust-avatars span {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-300), var(--blue-500));
  border: 2px solid white;
  margin-left: -8px;
  font-size: 11px; font-weight: 600; color: white;
  display: inline-flex; align-items: center; justify-content: center;
}
.trust-avatars span:first-child { margin-left: 0; }
.stars { color: var(--blue-500); letter-spacing: 1px; }

/* ---- 3D Stage ---- */
.stage {
  position: relative;
  perspective: 1800px;
  perspective-origin: 50% 50%;
  height: 620px;
  width: 100%;
}
.stage-inner {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transition: transform 0.2s linear;
}

/* Floating orb grid behind the stack */
.stage-grid {
  position: absolute; inset: -20%;
  background-image:
    linear-gradient(var(--blue-200) 1px, transparent 1px),
    linear-gradient(90deg, var(--blue-200) 1px, transparent 1px);
  background-size: 50px 50px;
  transform: rotateX(60deg) translateZ(-200px) scale(1.6);
  opacity: 0.35;
  mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 70%);
  animation: gridPulse 6s ease-in-out infinite;
}
@keyframes gridPulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.55; }
}

/* Dashboard cards stacked in 3D */
.card-3d {
  position: absolute;
  background: white;
  border-radius: 16px;
  box-shadow: 0 30px 60px -20px rgba(0, 50, 100, 0.25), 0 0 0 1px rgba(10,37,64,0.06);
  transform-style: preserve-3d;
}

.card-main {
  width: 560px; height: 380px;
  left: 50%; top: 50%;
  transform: translate3d(-50%, -50%, 0) rotateY(-18deg) rotateX(8deg);
  overflow: hidden;
}
.card-side {
  width: 240px; height: 150px;
  transform-style: preserve-3d;
  padding: 16px;
}
.card-side-1 {
  left: -30px; top: 40px;
  transform: translateZ(80px) rotateY(-28deg) rotateX(6deg);
  animation: float1 6s ease-in-out infinite;
}
.card-side-2 {
  right: -30px; top: 80px;
  transform: translateZ(100px) rotateY(-12deg) rotateX(4deg);
  animation: float2 7s ease-in-out infinite;
}
.card-side-3 {
  right: 30px; bottom: 30px;
  width: 210px; height: 130px;
  transform: translateZ(120px) rotateY(-20deg) rotateX(10deg);
  animation: float3 8s ease-in-out infinite;
}
.card-side-4 {
  left: 20px; bottom: 60px;
  width: 200px; height: 90px;
  transform: translateZ(140px) rotateY(-22deg) rotateX(4deg);
  animation: float4 9s ease-in-out infinite;
}

@keyframes float1 { 0%,100% { transform: translateZ(80px) rotateY(-28deg) rotateX(6deg) translateY(0); } 50% { transform: translateZ(80px) rotateY(-28deg) rotateX(6deg) translateY(-12px); } }
@keyframes float2 { 0%,100% { transform: translateZ(100px) rotateY(-12deg) rotateX(4deg) translateY(0); } 50% { transform: translateZ(100px) rotateY(-12deg) rotateX(4deg) translateY(10px); } }
@keyframes float3 { 0%,100% { transform: translateZ(120px) rotateY(-20deg) rotateX(10deg) translateY(0); } 50% { transform: translateZ(120px) rotateY(-20deg) rotateX(10deg) translateY(-8px); } }
@keyframes float4 { 0%,100% { transform: translateZ(140px) rotateY(-22deg) rotateX(4deg) translateY(0); } 50% { transform: translateZ(140px) rotateY(-22deg) rotateX(4deg) translateY(8px); } }

/* Mini card content */
.mini-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px;
}
.mini-title { font-size: 11px; color: var(--ink-500); text-transform: uppercase; letter-spacing: 0.06em; }
.mini-val { font-size: 22px; font-weight: 600; color: var(--ink-900); }
.mini-chg { font-size: 11px; color: #00a86b; font-weight: 600; }
.mini-bars { display: flex; gap: 4px; align-items: flex-end; height: 40px; margin-top: 10px; }
.mini-bars span {
  flex: 1; background: linear-gradient(180deg, var(--blue-400), var(--blue-500));
  border-radius: 3px; animation: bar 3s ease-in-out infinite;
}
@keyframes bar { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(0.7); } }

/* Main dashboard content */
.dash-top {
  height: 44px;
  background: linear-gradient(90deg, var(--blue-50), white);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; padding: 0 16px; gap: 10px;
}
.dash-logo {
  width: 24px; height: 24px; border-radius: 6px;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 11px; font-weight: 700;
  transition: all 0.6s var(--ease);
}
.dash-brand-name {
  font-size: 13px; font-weight: 600; color: var(--ink-900);
  transition: all 0.3s;
}
.dash-search {
  margin-left: auto;
  width: 180px; height: 26px;
  background: var(--paper-tint);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.dash-avatar {
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-300), var(--blue-500));
}

.dash-body {
  display: grid;
  grid-template-columns: 140px 1fr;
  height: calc(100% - 44px);
}
.dash-side {
  background: var(--paper-tint);
  border-right: 1px solid var(--line);
  padding: 14px 10px;
  display: flex; flex-direction: column; gap: 6px;
}
.side-item {
  height: 28px; border-radius: 6px;
  padding: 0 10px;
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; color: var(--ink-700);
}
.side-item.active { background: var(--blue-100); color: var(--blue-700); font-weight: 600; }
.side-dot {
  width: 14px; height: 14px; border-radius: 4px;
  background: var(--blue-200);
}
.side-item.active .side-dot { background: var(--blue-500); }

.dash-main {
  padding: 16px;
  display: flex; flex-direction: column; gap: 12px;
}
.dash-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.stat-box {
  background: var(--paper-tint);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
}
.stat-label { font-size: 9px; color: var(--ink-500); text-transform: uppercase; letter-spacing: 0.08em; }
.stat-val { font-size: 18px; font-weight: 600; color: var(--ink-900); margin-top: 4px; }
.stat-chg { font-size: 10px; color: #00a86b; margin-top: 2px; }

.dash-chart {
  flex: 1;
  background: linear-gradient(180deg, var(--blue-50), white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  position: relative;
  overflow: hidden;
}
.chart-svg {
  width: 100%; height: 100%;
}
.chart-line {
  stroke: var(--blue-500);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: drawLine 3s var(--ease) infinite;
}
.chart-fill {
  fill: url(#chartFill);
  opacity: 0;
  animation: fillIn 3s var(--ease) infinite;
}
@keyframes drawLine {
  0% { stroke-dashoffset: 600; }
  50%, 100% { stroke-dashoffset: 0; }
}
@keyframes fillIn {
  0%, 40% { opacity: 0; }
  70%, 100% { opacity: 1; }
}

/* Orb behind hero */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,127,220,0.5), transparent 70%);
  top: -10%; right: -10%;
  animation: orbDrift1 20s ease-in-out infinite;
}
.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(125,196,240,0.6), transparent 70%);
  bottom: -10%; left: 20%;
  animation: orbDrift2 24s ease-in-out infinite;
}
@keyframes orbDrift1 {
  0%, 100% { transform: translate(0,0); }
  50% { transform: translate(-40px, 40px); }
}
@keyframes orbDrift2 {
  0%, 100% { transform: translate(0,0); }
  50% { transform: translate(50px, -30px); }
}

/* ---- Marquee of brand logos ---- */
.marquee {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
  position: relative;
}
.marquee-label {
  text-align: center; font-size: 12px;
  color: var(--ink-500); text-transform: uppercase; letter-spacing: 0.15em;
  margin-bottom: 24px;
}
.marquee-track {
  display: flex; gap: 70px;
  animation: marquee 40s linear infinite;
  width: max-content;
}
.marquee-logo {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink-500);
  font-size: 20px; font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
  transition: color 0.3s;
}
.marquee-logo:hover { color: var(--blue-500); }
.marquee-logo .logo-mark {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: currentColor;
  opacity: 0.8;
  display: inline-block;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---- Section headers ---- */
.section { padding: 120px 0; position: relative; }
.section-head { 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  text-align: center; 
  max-width: 720px; 
  width: 100%; 
  margin: 0 auto 64px auto; 
}
.section-head .eyebrow { margin-bottom: 20px; padding: 6px 12px; }
.section-head h2 {
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.03;
  margin-bottom: 16px;
}
.section-head h2 em {
  font-style: italic; font-family: 'Instrument Serif', serif; font-weight: 400;
  color: var(--blue-500);
}
.section-head p {
  font-size: 17px; color: var(--ink-700); line-height: 1.55;
}

/* ---- Logo Swap Section ---- */
.swap-lab {
  background: linear-gradient(180deg, white, var(--blue-50));
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 48px;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(0, 50, 100, 0.2);
}

.swap-controls { display: flex; flex-direction: column; gap: 18px; }
.swap-controls h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-500); font-weight: 500; }

.brand-picker { display: flex; flex-wrap: wrap; gap: 8px; }
.brand-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 100px;
  background: white;
  border: 1px solid var(--line);
  font-size: 13px; font-weight: 500;
  transition: all 0.2s var(--ease);
}
.brand-chip:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,50,100,0.08); }
.brand-chip.active { border-color: currentColor; box-shadow: 0 0 0 3px color-mix(in oklab, currentColor 15%, transparent); }
.brand-chip .swatch {
  width: 16px; height: 16px; border-radius: 4px;
  background: currentColor;
}

.swap-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.input-group { display: flex; flex-direction: column; gap: 6px; }
.input-group label { font-size: 11px; color: var(--ink-500); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; }
.input-group input {
  height: 38px; padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit; font-size: 13px;
  background: white;
  transition: border 0.2s;
}
.input-group input:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(0,127,220,0.15); }

.color-picker { display: flex; gap: 8px; align-items: center; }
.color-picker input[type="color"] {
  width: 38px; height: 38px; padding: 0; border: 1px solid var(--line); border-radius: 8px; cursor: pointer;
}
.color-picker .hex {
  flex: 1; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--ink-700);
  height: 38px; padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex; align-items: center;
  background: white;
}

/* Preview phone / dashboard */
.swap-preview {
  position: relative;
  height: 480px;
  perspective: 1600px;
}
.preview-device {
  width: 100%; height: 100%;
  background: white;
  border-radius: 16px;
  box-shadow: 0 40px 80px -30px rgba(0, 50, 100, 0.3), 0 0 0 1px var(--line);
  transform-style: preserve-3d;
  transform: rotateY(-8deg) rotateX(4deg);
  overflow: hidden;
  transition: all 0.6s var(--ease);
}
.preview-topbar {
  height: 52px;
  background: linear-gradient(90deg, var(--tenant-tint, var(--blue-50)), white);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; padding: 0 20px; gap: 14px;
}
.preview-logo {
  width: 32px; height: 32px; border-radius: 9px;
  background: var(--tenant-color, var(--blue-500));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 14px;
  box-shadow: 0 4px 10px color-mix(in oklab, var(--tenant-color, var(--blue-500)) 40%, transparent);
  transition: all 0.4s var(--ease);
}
.preview-brand {
  font-size: 16px; font-weight: 600; color: var(--ink-900);
  transition: all 0.3s;
}
.preview-brand .dot { color: var(--tenant-color, var(--blue-500)); }
.preview-nav { display: flex; gap: 20px; margin-left: 20px; }
.preview-nav span { font-size: 12px; color: var(--ink-500); }
.preview-nav span.on { color: var(--tenant-color, var(--blue-500)); font-weight: 600; }
.preview-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.preview-actions .btn-mini {
  height: 28px; padding: 0 12px;
  background: var(--tenant-color, var(--blue-500));
  color: white;
  border-radius: 6px;
  font-size: 11px; font-weight: 600;
  transition: all 0.4s var(--ease);
}

.preview-body {
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  height: calc(100% - 52px);
  overflow: hidden;
}

.preview-body-2 {
  padding: 14px;
  height: calc(100% - 52px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

.stat-bar {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.sb-cell {
  padding: 10px 8px;
  border-right: 1px solid var(--line);
  text-align: center;
}
.sb-cell:last-child { border-right: none; }
.sb-label {
  font-size: 9px;
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}
.sb-val {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink-900);
  margin-top: 2px;
  letter-spacing: -0.01em;
}

.search-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.search-input {
  flex: 9;
  height: 32px;
  background: var(--paper-tint);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  font-size: 12px;
  color: var(--ink-300);
}
.search-input svg { color: var(--ink-500); flex-shrink: 0; }
.filter-btn {
  flex: 1;
  min-width: 70px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--blue-500);
  color: var(--blue-500);
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: white;
}

.leads-table {
  flex: 1;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.lt-head {
  display: grid;
  grid-template-columns: 1.4fr 1.2fr 1fr 0.8fr;
  padding: 8px 14px;
  background: var(--paper-tint);
  border-bottom: 1px solid var(--line);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-500);
  font-weight: 600;
}
.lt-row {
  display: grid;
  grid-template-columns: 1.4fr 1.2fr 1fr 0.8fr;
  padding: 9px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  color: var(--ink-700);
  align-items: center;
}
.lt-row:last-child { border-bottom: none; }
.lt-name {
  display: flex; align-items: center; gap: 8px;
  font-weight: 500;
  color: var(--ink-900);
}
.lt-avatar {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 10px;
  font-weight: 600;
}
.lt-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 600;
}
.lt-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ink-900);
  font-weight: 500;
}
.preview-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  display: flex; flex-direction: column; gap: 8px;
}
.preview-card .pc-label { font-size: 10px; color: var(--ink-500); text-transform: uppercase; letter-spacing: 0.08em; }
.preview-card .pc-val { font-size: 24px; font-weight: 600; color: var(--ink-900); }
.preview-card .pc-chg { font-size: 11px; font-weight: 600; }
.preview-card.primary { grid-column: span 3; background: linear-gradient(135deg, var(--tenant-tint, var(--blue-50)), white); border-color: color-mix(in oklab, var(--tenant-color, var(--blue-500)) 20%, var(--line)); transition: all 0.4s var(--ease); }
.preview-card.primary .pc-val { color: var(--tenant-color, var(--blue-500)); transition: color 0.4s var(--ease); }

.preview-card.wide { grid-column: span 3; min-height: 120px; }
.pc-chart {
  height: 80px; margin-top: auto;
  width: 100%;
}

/* ---- Features Grid ---- */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.feature-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease);
  min-height: 320px;
  display: flex;
  flex-direction: column;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,127,220,0.3);
  box-shadow: 0 30px 60px -20px rgba(0, 80, 160, 0.2);
}
.feature-card.span-2 { grid-column: span 2; }
.feature-card .f-num { font-size: 11px; color: var(--blue-500); font-weight: 600; letter-spacing: 0.08em; margin-bottom: auto; font-family: 'JetBrains Mono', monospace; }
.feature-card h3 { font-size: 24px; font-weight: 600; margin-top: 24px; margin-bottom: 10px; letter-spacing: -0.02em; }
.feature-card p { font-size: 14px; color: var(--ink-500); line-height: 1.5; }

.f-viz { height: 160px; margin-bottom: 20px; position: relative; overflow: hidden; flex-shrink: 0; }

/* Orbit viz */
.orbit-viz { display: flex; align-items: center; justify-content: center; }
.orbit-core {
  width: 50px; height: 50px; border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-400), var(--blue-700));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 16px;
  box-shadow: 0 8px 24px rgba(0,127,220,0.4);
  position: relative; z-index: 2;
}
.orbit-ring {
  position: absolute; inset: 0;
  border: 1px dashed var(--blue-200);
  border-radius: 50%;
  animation: spin 20s linear infinite;
}
.orbit-ring-2 { inset: 20px; animation-duration: 14s; animation-direction: reverse; }
.orbit-sat {
  position: absolute;
  width: 26px; height: 26px; border-radius: 8px;
  background: white; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600; color: var(--blue-700);
  box-shadow: 0 4px 10px rgba(0,50,100,0.1);
}
@keyframes spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }

/* Pipeline viz */
.pipeline-viz {
  display: flex; gap: 6px; height: 100%; padding: 10px 0;
}
.pipe-col {
  flex: 1; background: var(--blue-50);
  border: 1px dashed var(--blue-200);
  border-radius: 8px;
  padding: 6px;
  display: flex; flex-direction: column; gap: 4px;
}
.pipe-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 5px;
  height: 18px;
  box-shadow: 0 1px 2px rgba(0,50,100,0.04);
  animation: pipeSlide 8s ease-in-out infinite;
}
.pipe-card.hi { border-left: 2px solid var(--blue-500); }
@keyframes pipeSlide {
  0%, 80% { transform: translateX(0); }
  90% { transform: translateX(calc(100% + 10px)); opacity: 0; }
  91% { transform: translateX(calc(100% + 10px)); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

/* Automation viz */
.auto-viz { position: relative; }
.auto-node {
  position: absolute;
  padding: 6px 10px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 11px;
  display: flex; align-items: center; gap: 6px;
  box-shadow: 0 4px 10px rgba(0,50,100,0.06);
}
.auto-node .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-500); }
.auto-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-500), transparent);
  background-size: 40px 100%;
  animation: flow 2s linear infinite;
}
@keyframes flow {
  0% { background-position: 0 0; }
  100% { background-position: 40px 0; }
}

/* Security viz (replaces team grid) */
.security-viz {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.shield-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.shield-wrap svg {
  width: 80px;
  height: 88px;
  filter: drop-shadow(0 12px 24px rgba(0, 127, 220, 0.35));
  animation: shieldFloat 4s ease-in-out infinite;
}
@keyframes shieldFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.shield-pulse {
  position: absolute;
  width: 80px; height: 88px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,127,220,0.25), transparent 65%);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(0.9); opacity: 0.4; }
  50% { transform: scale(1.15); opacity: 0.8; }
}
.sec-tags {
  display: flex; gap: 6px;
}
.sec-tags span {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 100px;
  background: var(--blue-100);
  color: var(--blue-700);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.04em;
}

/* API viz */
.api-viz {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  background: var(--ink-900);
  border-radius: 10px;
  color: var(--blue-200);
  padding: 12px;
  height: 100%;
  overflow: hidden;
  line-height: 1.5;
}
.api-viz .k { color: var(--blue-300); }
.api-viz .s { color: #8ad97a; }
.api-viz .c { color: #5a7a9a; }

/* ---- Steps Section ---- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step {
  padding: 28px;
  border-radius: 18px;
  background: white;
  border: 1px solid var(--line);
  position: relative;
  transition: all 0.3s var(--ease);
}
.step:hover { border-color: var(--blue-500); transform: translateY(-3px); }
.step-num {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 60px;
  color: var(--blue-500);
  line-height: 0.9;
  font-weight: 400;
  margin-bottom: 16px;
}
.step h4 { font-size: 19px; margin-bottom: 8px; font-weight: 600; }
.step p { font-size: 13px; color: var(--ink-500); line-height: 1.5; }
.step-time {
  margin-top: 14px;
  font-size: 11px;
  color: var(--blue-500);
  font-family: 'JetBrains Mono', monospace;
  display: flex; align-items: center; gap: 6px;
}

/* ---- Pricing ---- */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.plan {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px 28px;
  display: flex; flex-direction: column;
  position: relative;
  transition: all 0.3s var(--ease);
}
.plan:hover { transform: translateY(-4px); border-color: var(--blue-300); }
.plan.featured {
  background: linear-gradient(180deg, var(--ink-900) 0%, #06182d 100%);
  color: white;
  border: none;
  transform: scale(1.03);
  box-shadow: 0 40px 80px -20px rgba(10, 37, 64, 0.5);
}
.plan.featured::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-300));
  z-index: -1;
}
.plan-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 16px; width: fit-content;
}
.plan.featured .plan-tag { background: var(--blue-500); color: white; }
.plan h3 { font-size: 22px; font-weight: 600; margin-bottom: 6px; }
.plan .plan-sub { font-size: 13px; opacity: 0.7; margin-bottom: 24px; }
.plan .price {
  display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px;
}
.plan .price .amt { font-size: 48px; font-weight: 600; letter-spacing: -0.03em; }
.plan .price .per { font-size: 14px; opacity: 0.6; }
.plan .price-note { font-size: 12px; opacity: 0.5; margin-bottom: 24px; }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: 13px; line-height: 1.4; }
.plan li::before {
  content: '';
  flex-shrink: 0;
  width: 16px; height: 16px;
  margin-top: 2px;
  background: var(--blue-100);
  border-radius: 50%;
  position: relative;
}
.plan.featured li::before { background: rgba(0,127,220,0.2); }
.plan li::after {
  content: '';
  position: absolute;
  margin-top: 6px; margin-left: 4px;
  width: 8px; height: 5px;
  border-left: 1.5px solid var(--blue-500);
  border-bottom: 1.5px solid var(--blue-500);
  transform: rotate(-45deg);
}

.plan .btn { width: 100%; justify-content: center; }
.plan.featured .btn-primary { background: var(--blue-500); }
.plan .btn-outline { background: transparent; }
.plan.featured .btn-outline { border-color: rgba(255,255,255,0.3); color: white; }

/* ---- CTA ---- */
.cta-block {
  background: linear-gradient(135deg, var(--ink-900), #061728);
  color: white;
  border-radius: 32px;
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 20% 0%, rgba(0,127,220,0.4), transparent 50%),
    radial-gradient(600px 300px at 80% 100%, rgba(125,196,240,0.3), transparent 50%);
  pointer-events: none;
}
.cta-block > * { position: relative; z-index: 1; }
.cta-block h2 { font-size: clamp(36px, 5vw, 60px); line-height: 1.05; margin-bottom: 16px; font-weight: 500; }
.cta-block h2 em { font-style: italic; font-family: 'Instrument Serif', serif; font-weight: 400; color: var(--blue-300); }
.cta-block p { font-size: 17px; opacity: 0.7; max-width: 560px; margin: 0 auto 32px; }
.cta-block .btn-row { display: flex; gap: 12px; justify-content: center; }

/* Constellation bg */
.constellation { position: absolute; inset: 0; opacity: 0.4; pointer-events: none; }

/* ---- Footer ---- */
footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--ink-500);
  font-size: 13px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
footer h5 { color: var(--ink-900); font-size: 13px; margin-bottom: 14px; font-weight: 600; }
footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
footer a:hover { color: var(--blue-500); }
footer .bottom {
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between;
  font-size: 12px;
}

/* ---- Comparison table ---- */
.compare {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}
.compare-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  padding: 18px 28px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  align-items: center;
}
.compare-row:last-child { border-bottom: none; }
.compare-head {
  background: var(--paper-tint);
  font-weight: 600;
  color: var(--ink-900);
  font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em;
}
.compare-col { text-align: center; }
.compare-col.bad { color: var(--ink-300); }
.compare-col.good { color: var(--blue-500); font-weight: 600; }
.check { display: inline-flex; align-items: center; gap: 6px; }
.x-mark { color: var(--ink-300); }

/* ---- FAQ ---- */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  cursor: pointer;
}
.faq-q {
  display: flex; justify-content: space-between;
  font-size: 17px; font-weight: 500;
  color: var(--ink-900);
  transition: color 0.2s;
}
.faq-q:hover { color: var(--blue-500); }
.faq-a {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.3s, opacity 0.3s, margin 0.3s;
  color: var(--ink-700);
  font-size: 14px;
  line-height: 1.6;
}
.faq-item.open .faq-a { max-height: 200px; opacity: 1; margin-top: 12px; }
.faq-toggle {
  width: 24px; height: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  transition: all 0.2s;
  flex-shrink: 0;
}
.faq-item.open .faq-toggle { background: var(--blue-500); border-color: var(--blue-500); color: white; transform: rotate(45deg); }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .stage { height: 440px; }
  .swap-lab { grid-template-columns: 1fr; padding: 32px; }
  .features { grid-template-columns: 1fr; }
  .feature-card.span-2 { grid-column: span 1; }
  .steps { grid-template-columns: 1fr 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .plan.featured { transform: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ───────────── Feature card vizzes (8-feature grid) ───────────── */
.fviz-crm, .fviz-sales, .fviz-marketing, .fviz-chat,
.fviz-clients, .fviz-board, .fviz-custom, .fviz-updates {
  height: 100%;
  box-sizing: border-box;
}

/* F.01 — CRM */
.fviz-crm {
  display: flex; flex-direction: column; gap: 12px;
  padding: 14px;
  background: linear-gradient(180deg, var(--blue-50), white);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.fc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.fc-stat { display: flex; flex-direction: column; gap: 2px; }
.fc-l { font-size: 9px; color: var(--ink-500); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.fc-v { font-size: 18px; font-weight: 600; color: var(--ink-900); letter-spacing: -0.01em; font-family: 'JetBrains Mono', monospace; }
.fc-spark { width: 100%; flex: 1; min-height: 50px; }
.fc-sparkline {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: fcDraw 4s var(--ease) infinite;
}
@keyframes fcDraw {
  0% { stroke-dashoffset: 400; }
  60%, 100% { stroke-dashoffset: 0; }
}

/* F.02 — Sales agent / chat */
.fviz-sales {
  display: flex; flex-direction: column; gap: 8px;
  padding: 14px;
  background: var(--blue-50);
  border: 1px solid var(--line);
  border-radius: 12px;
  justify-content: center;
}
.fs-bubble {
  display: flex; align-items: flex-end; gap: 6px;
  opacity: 0;
  animation: fsAppear 4.5s ease-in-out infinite;
}
.fs-bubble.fs-out { justify-content: flex-end; }
.fs-bubble:nth-child(1) { animation-delay: 0.1s; }
.fs-bubble:nth-child(2) { animation-delay: 1.3s; }
.fs-bubble:nth-child(3) { animation-delay: 2.5s; }
@keyframes fsAppear {
  0% { opacity: 0; transform: translateY(6px); }
  10%, 85% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(0); }
}
.fs-av {
  width: 22px; height: 22px; flex-shrink: 0;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 9px; font-weight: 700;
  background: linear-gradient(135deg, var(--blue-400), var(--blue-700));
}
.fs-av-lead { background: linear-gradient(135deg, #34D399, #047857); }
.fs-msg {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px 12px 12px 3px;
  padding: 6px 10px;
  font-size: 11px;
  color: var(--ink-700);
  max-width: 78%;
  line-height: 1.35;
}
.fs-msg-out {
  background: var(--blue-500);
  color: white;
  border-color: var(--blue-500);
  border-radius: 12px 12px 3px 12px;
}
.fs-typing {
  display: inline-flex; gap: 4px; align-items: center;
  padding: 9px 12px;
}
.fs-typing span {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--ink-300);
  animation: fsTyping 1.2s ease-in-out infinite;
}
.fs-typing span:nth-child(2) { animation-delay: 0.15s; }
.fs-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes fsTyping {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* F.03 — Marketing */
.fviz-marketing {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  background: linear-gradient(135deg, var(--blue-50), white);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.fm-mega {
  position: relative;
  width: 90px; height: 90px;
  display: flex; align-items: center; justify-content: center;
}
.fm-mega svg { position: relative; z-index: 2; filter: drop-shadow(0 4px 10px rgba(0,127,220,0.35)); }
.fm-rings {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.fm-rings span {
  position: absolute;
  width: 60px; height: 60px;
  border: 2px solid var(--blue-500);
  border-radius: 50%;
  opacity: 0;
  animation: fmPulse 2.4s ease-out infinite;
}
.fm-rings span:nth-child(2) { animation-delay: 0.8s; }
.fm-rings span:nth-child(3) { animation-delay: 1.6s; }
@keyframes fmPulse {
  0% { transform: scale(0.4); opacity: 0.7; }
  100% { transform: scale(1.7); opacity: 0; }
}
.fm-bars { display: flex; flex-direction: column; gap: 6px; }
.fm-bar {
  position: relative;
  height: 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.fm-bar > span {
  position: absolute; top: 0; left: 0; bottom: 0;
  background: linear-gradient(90deg, var(--blue-300), var(--blue-500));
  border-radius: 6px;
  animation: fmGrow 3s var(--ease) infinite alternate;
  transform-origin: left;
}
@keyframes fmGrow {
  0% { transform: scaleX(0.3); }
  100% { transform: scaleX(1); }
}
.fm-bar-l {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between; align-items: center;
  height: 100%; padding: 0 8px;
}
.fm-bar-l b { color: var(--ink-900); font-weight: 600; font-size: 10px; }
.fm-bar-l i { color: var(--ink-700); font-style: normal; font-family: 'JetBrains Mono', monospace; font-size: 9px; }

/* F.04 — Built-in chat */
.fviz-chat {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 8px;
  padding: 10px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.fch-side {
  display: flex; flex-direction: column; gap: 4px;
  background: var(--blue-50);
  border-radius: 8px;
  padding: 8px 6px;
}
.fch-channel {
  display: flex; align-items: center; gap: 6px;
  padding: 4px 6px;
  border-radius: 5px;
  font-size: 10px;
  color: var(--ink-700);
  font-weight: 500;
}
.fch-channel.active {
  background: white;
  color: var(--blue-700);
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0,50,100,0.06);
}
.fch-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--ink-300);
}
.fch-channel.active .fch-dot { background: var(--blue-500); }
.fch-thread {
  display: flex; flex-direction: column; gap: 6px;
  padding: 4px 0;
  justify-content: center;
}
.fch-msg {
  display: flex; gap: 6px; align-items: flex-start;
  opacity: 0;
  animation: fchSlide 4.5s ease-out infinite;
}
.fch-msg:nth-child(1) { animation-delay: 0.2s; }
.fch-msg:nth-child(2) { animation-delay: 1.4s; }
.fch-msg:nth-child(3) { animation-delay: 2.6s; }
@keyframes fchSlide {
  0% { opacity: 0; transform: translateX(-4px); }
  10%, 85% { opacity: 1; transform: translateX(0); }
  100% { opacity: 0; transform: translateX(0); }
}
.fch-av {
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 8px; font-weight: 700;
  flex-shrink: 0;
}
.fch-body {
  display: flex; flex-direction: column;
  font-size: 10px; line-height: 1.3;
  min-width: 0;
}
.fch-body b { color: var(--ink-900); font-weight: 700; font-size: 9px; }
.fch-body span { color: var(--ink-700); font-size: 10px; }

/* F.05 — Clients */
.fviz-clients {
  display: flex; flex-direction: column; gap: 0;
  padding: 8px 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  justify-content: center;
}
.fcl-row {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 8px; align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}
.fcl-row:last-child { border-bottom: none; }
.fcl-av {
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 9px; font-weight: 700;
}
.fcl-info { display: flex; flex-direction: column; gap: 0; line-height: 1.2; min-width: 0; }
.fcl-info b { color: var(--ink-900); font-weight: 600; font-size: 11px; }
.fcl-info i { color: var(--ink-500); font-style: normal; font-size: 9px; }
.fcl-tag {
  font-size: 8px; font-weight: 700;
  color: #00a86b;
  background: rgba(0, 168, 107, 0.12);
  padding: 2px 7px;
  border-radius: 100px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.fcl-tag-warn { color: #B45309; background: rgba(245, 158, 11, 0.16); }
.fcl-tag-soft { color: var(--blue-700); background: var(--blue-100); }

/* F.06 — Whiteboard / workflow */
.fviz-board {
  position: relative;
  background: linear-gradient(180deg, white, var(--blue-50));
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  overflow: hidden;
}
.fviz-board::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--blue-100) 1px, transparent 1px),
    linear-gradient(90deg, var(--blue-100) 1px, transparent 1px);
  background-size: 16px 16px;
  border-radius: inherit;
  opacity: 0.55;
  pointer-events: none;
}
.fb-node {
  position: absolute;
  background: white;
  border: 1px solid var(--blue-300);
  border-radius: 8px;
  padding: 5px 11px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-900);
  box-shadow: 0 4px 10px rgba(0, 50, 100, 0.08);
  z-index: 2;
}
.fb-n1 { top: 22px; left: 14px; }
.fb-n2 { bottom: 22px; left: 100px; }
.fb-n3 { top: 22px; right: 90px; }
.fb-n4 { bottom: 22px; right: 14px; background: var(--blue-500); color: white; border-color: var(--blue-500); }
.fb-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
}
.fb-flow {
  stroke-dasharray: 6 4;
  animation: fbFlow 1.5s linear infinite;
}
@keyframes fbFlow {
  to { stroke-dashoffset: -20; }
}

/* F.07 — Customisable */
.fviz-custom {
  display: flex; flex-direction: column; gap: 10px;
  padding: 12px;
  background: linear-gradient(135deg, var(--blue-50), white);
  border: 1px solid var(--line);
  border-radius: 12px;
  align-items: stretch;
}
.fcu-preview {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  flex: 1;
  display: flex; flex-direction: column;
}
.fcu-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 8px;
  border-bottom: 1px solid var(--line);
  animation: fcuBg 6s ease-in-out infinite;
}
@keyframes fcuBg {
  0%, 100% { background: rgba(0, 127, 220, 0.10); }
  20%      { background: rgba(16, 184, 122, 0.12); }
  40%      { background: rgba(139, 92, 246, 0.12); }
  60%      { background: rgba(245, 158, 11, 0.12); }
  80%      { background: rgba(239, 68, 68, 0.12); }
}
.fcu-mark {
  width: 14px; height: 14px;
  border-radius: 4px;
  background: #007fdc;
  animation: fcuColor 6s ease-in-out infinite;
}
.fcu-name {
  font-size: 11px; font-weight: 700; color: var(--ink-900);
}
.fcu-name span {
  color: var(--blue-500);
  animation: fcuColor 6s ease-in-out infinite;
}
@keyframes fcuColor {
  0%, 100% { color: #007fdc; background-color: #007fdc; }
  20%      { color: #10B87A; background-color: #10B87A; }
  40%      { color: #8B5CF6; background-color: #8B5CF6; }
  60%      { color: #F59E0B; background-color: #F59E0B; }
  80%      { color: #EF4444; background-color: #EF4444; }
}
.fcu-card {
  height: 8px; margin: 6px 8px 0;
  background: var(--blue-50);
  border-radius: 4px;
}
.fcu-card-2 { width: 60%; margin-bottom: 8px; }
.fcu-swatches {
  display: flex; gap: 8px; justify-content: center;
}
.fcu-swatches span {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 2px 6px rgba(0,50,100,0.15);
  cursor: pointer;
  transition: transform 0.2s var(--ease);
}
.fcu-swatches span:hover { transform: scale(1.18); }

/* F.08 — Updates */
.fviz-updates {
  position: relative;
  display: flex; flex-direction: column; gap: 10px;
  padding: 12px 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  justify-content: center;
}
.fu-line {
  position: absolute;
  left: 22px; top: 18px; bottom: 18px;
  width: 2px;
  background: linear-gradient(180deg, var(--blue-500), var(--blue-200));
  border-radius: 2px;
  z-index: 1;
}
.fu-item {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 14px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.fu-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--blue-300);
  position: relative;
  z-index: 2;
}
.fu-dot-now {
  background: var(--blue-500);
  border-color: var(--blue-500);
  animation: fuPulseNow 2s ease-in-out infinite;
}
@keyframes fuPulseNow {
  0%, 100% { box-shadow: 0 0 0 4px rgba(0, 127, 220, 0.20); }
  50% { box-shadow: 0 0 0 8px rgba(0, 127, 220, 0.04); }
}
.fu-content { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.fu-content b {
  font-size: 10px; color: var(--blue-700); font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.02em;
}
.fu-content span { font-size: 11px; color: var(--ink-700); }
