/* "Products you Use / Sell" animated flow: connectors -> Cast Universal Query -> Inbox / In-app / Chat.
   Used on index and cast-data-sources (markup lives in each page). Ported from feat/redesign #how. */
.cflow-section {
  --text: #393531;
  --soft: #595551;
  --muted: #797571;
  --card: #ffffff;
  --card-2: #f9f5f1;
  --bg-2: #f9f5f1;
  --line: rgba(57, 53, 49, .12);
  --line-2: rgba(57, 53, 49, .22);
  --tint: rgba(57, 53, 49, .04);
  --accent: #116f6d;
  --accent-2: #358583;
  --accent-soft: rgba(17, 111, 109, .08);
  --accent-line: rgba(17, 111, 109, .30);
  --up: #047857;
  --r: 20px;
  margin-top: 20px;
  text-align: left;
  container-type: inline-size;
  color: var(--text);
  font: 17px/1.6 Muli, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.cflow-section *, .cflow-section *::before, .cflow-section *::after { box-sizing: border-box; }
/* reset site-wide li / p styles (cast-app.webflow.css) inside this section */
.cflow-section li { margin: 0; }
.cflow-section p { margin: 0; font-size: inherit; line-height: inherit; text-align: inherit; }

.cflow-section .flow { position: relative; display: grid; gap: 40px; align-items: center; padding: 24px 0; }
@container (min-width: 820px) { .cflow-section .flow { grid-template-columns: 340px 1fr 340px; gap: 0; } }
@container (min-width: 1100px) { .cflow-section .flow { grid-template-columns: 400px 1fr 380px; } }
.cflow-section .wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.cflow-section .wires path { fill: none; stroke: var(--line-2); stroke-width: 1.2; }
.cflow-section .wires path.out { stroke: var(--accent-line); stroke-width: 1.6; }

.cflow-section .sources { position: relative; }
.cflow-section .src-eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; }
.cflow-section .src-eyebrow.sell { margin-top: 28px; }
.cflow-section .src-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
@container (min-width: 820px) { .cflow-section .src-list { flex-direction: column; } }
.cflow-section .src-list li { position: relative; display: block; padding: 7px 14px 7px 34px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); font-weight: 700; font-size: 14px; line-height: 1.4; }
.cflow-section .src-list li .dim { color: var(--muted); font-weight: 400; }
.cflow-section .src-list li::before { content: ""; position: absolute; left: 14px; top: 50%; translate: 0 -50%; width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 12px var(--c); }
.cflow-section .src-list li.more { display: block; background: none; border: 0; padding: 2px 14px; font-weight: 400; font-size: 13px; color: var(--muted); }
.cflow-section .src-list li.more::before { content: none; }

.cflow-section .hub { position: relative; display: grid; justify-items: center; gap: 16px; text-align: center; }
.cflow-section .core { position: relative; width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center; background: #fff; }
.cflow-section .core svg { position: relative; width: 100%; height: 100%; }
.cflow-section .ring { position: absolute; inset: -1px; border-radius: 50%; border: 1.5px solid var(--accent-line); animation: cflow-pulse 2.4s ease-out infinite; }
.cflow-section .ring.r2 { animation-delay: 1.2s; }
@keyframes cflow-pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(1.8); opacity: 0; } }

/* 03: three channel views of the same review */
.cflow-section .deliver { position: relative; }
.cflow-section .views { display: grid; gap: 16px; }
.cflow-section .views.live { grid-template-areas: "v"; }
.cflow-section .views.live .view { grid-area: v; opacity: 0; visibility: hidden; transform: translateY(30px) scale(.96); transition: opacity .4s ease, transform .4s ease, visibility 0s linear .4s; }
.cflow-section .views.live .view.on { opacity: 1; visibility: visible; transform: none; transition: opacity .4s ease .15s, transform .4s ease .15s, visibility 0s; }
.cflow-section .views.live .view.gone { transform: translateY(-30px) scale(.96); }
.cflow-section .view { position: relative; padding: 22px; border-radius: var(--r); background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--accent-line); box-shadow: 0 30px 80px -30px rgba(17, 111, 109, .18); font-size: 14px; }
.cflow-section .v-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cflow-section .v-ch { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: rgba(17, 111, 109, .12); color: var(--accent); }
.cflow-section .lang { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); }
.cflow-section .v-from { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: center; }
.cflow-section .v-from b { display: block; font-size: 13px; }
.cflow-section .v-from span { font-size: 12px; color: var(--muted); }
.cflow-section .v-from .avatar { color: #fff; font-size: 14px; }
.cflow-section .avatar { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--accent); color: #fff; font-weight: 700; }
.cflow-section .v-title { font-weight: 700; font-size: 19px; line-height: 1.3; margin: 16px 0; }
.cflow-section .kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cflow-section .kpis div { padding: 10px; border-radius: 12px; background: var(--tint); border: 1px solid var(--line); }
.cflow-section .kpis b { display: block; font-size: 18px; font-variant-numeric: tabular-nums; }
.cflow-section .kpis span { font-size: 11px; color: var(--muted); }
.cflow-section .kpis em, .cflow-section .v-big em { font-style: normal; color: var(--up); white-space: nowrap; }
.cflow-section .v-cta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; }
.cflow-section .v-btn { white-space: nowrap; padding: 9px 14px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 700; font-size: 13px; }
.cflow-section .v-cta small { font-size: 12px; color: var(--muted); }
.cflow-section .v-url { display: flex; align-items: center; gap: 5px; padding: 8px 10px; border-radius: 10px 10px 0 0; background: var(--tint); border: 1px solid var(--line); border-bottom: 0; }
.cflow-section .v-url i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); }
.cflow-section .v-url span { margin-left: 8px; font-size: 12px; color: var(--muted); }
.cflow-section .v-player { padding: 16px; border-radius: 0 0 12px 12px; border: 1px solid var(--line); background: var(--bg-2); }
.cflow-section .v-ptitle { margin: 0 0 12px; font-weight: 700; font-size: 13px; color: var(--soft); }
.cflow-section .v-big b { display: block; font-size: 40px; line-height: 1; }
.cflow-section .v-big span { color: var(--muted); font-size: 13px; }
.cflow-section .v-prog { height: 4px; margin: 16px 0 12px; border-radius: 2px; background: var(--tint); overflow: hidden; }
.cflow-section .v-prog i { display: block; width: 38%; height: 100%; background: var(--accent); }
.cflow-section .v-ask { display: flex; justify-content: space-between; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.cflow-section .v-note { margin: 14px 0 0; font-size: 12px; color: var(--muted); }
.cflow-section .v-q { margin: 0 0 10px auto; width: fit-content; max-width: 85%; padding: 9px 13px; border-radius: 14px 14px 3px 14px; background: var(--accent); color: #fff; }
.cflow-section .v-a { max-width: 92%; padding: 11px 13px; border-radius: 14px 14px 14px 3px; background: var(--tint); border: 1px solid var(--line); line-height: 1.5; }
.cflow-section .v-seats { height: 8px; margin: 10px 0; border-radius: 4px; background: var(--tint); overflow: hidden; }
.cflow-section .v-seats i { display: block; width: var(--w); height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.cflow-section .v-chip { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--accent-line); color: var(--accent); }
.cflow-section .v-steps { display: none; }
.cflow-section .views.live + .v-steps { display: flex; justify-content: center; gap: 6px; list-style: none; margin: 18px 0 0; padding: 0; }
.cflow-section .v-steps li { padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--muted); transition: color .3s, border-color .3s, background .3s; }
.cflow-section .v-steps li.on { color: var(--text); border-color: var(--accent-line); background: var(--accent-soft); }

@media (prefers-reduced-motion: reduce) { .cflow-section .ring { animation: none; opacity: 0; } }
