/*
   Synoptic space concept
   A theatrical hero, followed by the existing restrained product system.
   Colour still means source. Stars represent source records, not decoration.
*/

:root {
  --space: #070A13;
  --space-2: #0C1222;
  --space-3: #111A31;
  --starlight: #FBFAF4;
  --space-muted: #A7ADBC;
  --space-rule: rgba(255, 255, 255, 0.14);
}

/* ---------- dark navigation ---------- */

.nav {
  background: rgba(7, 10, 19, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  color: var(--starlight);
}

.nav .wordmark { color: var(--starlight); }
.nav .mark polyline { stroke: rgba(255, 255, 255, 0.52); }
.nav-links a { color: rgba(255, 255, 255, 0.62); }
.nav-links a:hover { color: #fff; }
.nav .btn-primary {
  background: var(--starlight);
  color: var(--space);
  border-color: var(--starlight);
}
.nav .btn-primary:hover { background: #fff; }
.nav a:focus-visible { outline-color: var(--starlight); }

/* ---------- hero ---------- */

.space-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 0;
  padding: 78px 24px 84px;
  color: var(--starlight);
  background:
    radial-gradient(circle at 74% 38%, rgba(42, 109, 176, 0.12), transparent 29%),
    radial-gradient(circle at 18% 58%, rgba(140, 47, 105, 0.1), transparent 25%),
    linear-gradient(145deg, var(--space) 0%, #090E1C 58%, #08101D 100%);
}

.space-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 140px;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(250, 250, 248, 0) 0%, var(--paper) 100%);
}
.space-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, black, transparent 92%);
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: url("hero-signal-convergence.jpg") center center / cover no-repeat;
  opacity: .64;
  transform: scale(1.015);
  transform-origin: 70% 50%;
}

.space-hero-inner {
  max-width: 1260px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(380px, 0.9fr) minmax(560px, 1.1fr);
  align-items: center;
  gap: clamp(42px, 7vw, 100px);
}
.space-hero-inner-solo { grid-template-columns: minmax(0, 1fr); max-width: 720px; }

.space-copy {
  position: relative;
  z-index: 2;
  padding: 40px 0 72px;
}

.space-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--space-muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.space-kicker span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gong);
  box-shadow: 0 0 0 5px rgba(42, 109, 176, 0.15), 0 0 24px rgba(42, 109, 176, 0.7);
}

.space-copy h1 {
  max-width: 620px;
  margin: 0 0 26px;
  font-size: clamp(52px, 5.3vw, 72px);
  line-height: 0.96;
  letter-spacing: -0.048em;
  font-weight: 600;
}

.space-lede {
  max-width: 54ch;
  margin-bottom: 34px;
  color: var(--space-muted);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.55;
}

.space-primary {
  background: var(--starlight);
  color: var(--space);
  border-color: var(--starlight);
}
.space-primary:hover { background: #fff; }
.space-secondary {
  color: var(--starlight);
  border-color: rgba(255,255,255,.26);
  background: rgba(255,255,255,.03);
}
.space-secondary:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); }
.space-hero .btn:focus-visible { outline-color: var(--starlight); }

/* ---------- evidence observatory ---------- */

/* Standalone frame for the observatory when it sits inside a light section
   (e.g. Actions) instead of the hero: the observatory's own background is
   only a faint white tint meant to read as glass over dark space, so it
   needs its own dark backdrop rather than the section's. */
.observatory-frame {
  max-width: 1080px;
  margin: 0 auto;
  padding: 44px 28px 0;
  border-radius: 32px;
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 38%, rgba(42, 109, 176, 0.12), transparent 29%),
    radial-gradient(circle at 18% 58%, rgba(140, 47, 105, 0.1), transparent 25%),
    linear-gradient(145deg, var(--space) 0%, #090E1C 58%, #08101D 100%);
  box-shadow: 0 26px 70px rgba(16, 18, 24, 0.16);
}
.observatory-caption {
  padding: 22px 20px 28px;
  color: rgba(250, 250, 248, 0.54);
  font-size: 12px;
  text-align: center;
}

.observatory {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 0.45;
  min-height: 440px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 38px;
  background:
    radial-gradient(circle at 50% 48%, rgba(255,255,255,.06), transparent 40%),
    rgba(255,255,255,.025);
  box-shadow: inset 0 0 100px rgba(42,109,176,.05), 0 30px 100px rgba(0,0,0,.28);
}

.observatory::before,
.observatory::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.observatory::before {
  inset: 14px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 28px;
}
.observatory::after {
  width: 5px;
  height: 5px;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 70px 22px rgba(255,255,255,.18);
  opacity: .55;
}

.observatory-meta {
  position: absolute;
  z-index: 5;
  top: 24px;
  left: 28px;
  right: 28px;
  display: flex;
  justify-content: space-between;
  color: rgba(255,255,255,.45);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.orbit-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.orbit-ring,
.orbit-line,
.constellation-trace { fill: none; vector-effect: non-scaling-stroke; }
.orbit-ring { stroke: rgba(255,255,255,.065); stroke-width: 1; stroke-dasharray: 3 7; }
.ring-two { stroke-dasharray: 1 8; }
.orbit-line {
  stroke: rgba(255,255,255,.15);
  stroke-width: 1;
  transition: stroke .18s ease, stroke-width .18s ease, opacity .18s ease;
}
.constellation-trace { stroke: rgba(255,255,255,.035); stroke-width: 1; opacity: .42; }
.signal-packet { opacity: 0; pointer-events: none; filter: drop-shadow(0 0 7px currentColor); }
.packet-gmail { fill: var(--gmail); color: var(--gmail); }
.packet-salesforce { fill: var(--salesforce); color: var(--salesforce); }
.packet-slack { fill: var(--slack); color: var(--slack); }
.packet-jira { fill: var(--jira); color: var(--jira); }

.signal-node {
  --node: #fff;
  position: absolute;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px 8px 9px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(7,10,19,.76);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,.7);
  font-family: var(--font-body);
  font-size: 12px;
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease, background .18s ease,
    transform .18s ease, opacity .5s ease, scale .62s cubic-bezier(.16,1,.3,1);
}
.signal-node i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--node);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--node) 17%, transparent), 0 0 20px var(--node);
}
.signal-node:hover,
.signal-node:focus-visible,
.signal-node.is-active {
  color: #fff;
  border-color: color-mix(in srgb, var(--node) 58%, transparent);
  background: rgba(15,21,37,.95);
  transform: translateY(-2px);
  outline: none;
}
.signal-node:focus-visible { box-shadow: 0 0 0 3px rgba(255,255,255,.22); }

.node-gmail { --node: var(--gmail); left: 8%; top: 22%; }
.node-salesforce { --node: var(--salesforce); right: 5%; top: 20%; }
.node-slack { --node: var(--slack); left: 5%; bottom: 23%; }
.node-jira { --node: var(--jira); right: 4%; bottom: 18%; }

.observatory[data-active="gmail"] .line-gmail { stroke: var(--gmail); stroke-width: 2; }
.observatory[data-active="salesforce"] .line-salesforce { stroke: var(--salesforce); stroke-width: 2; }
.observatory[data-active="slack"] .line-slack { stroke: var(--slack); stroke-width: 2; }
.observatory[data-active="jira"] .line-jira { stroke: var(--jira); stroke-width: 2; }
.observatory:not([data-active="all"]) .orbit-line:not([data-lit]) { opacity: .38; }
.observatory.is-querying .line-gmail { stroke: var(--gmail); stroke-width: 1.7; }
.observatory.is-querying .line-salesforce { stroke: var(--salesforce); stroke-width: 1.7; }
.observatory.is-querying .line-slack { stroke: var(--slack); stroke-width: 1.7; }
.observatory.is-querying .line-jira { stroke: var(--jira); stroke-width: 1.7; }

.decision-core {
  position: absolute;
  z-index: 9;
  left: 50%;
  top: 48%;
  width: min(64%, 390px);
  min-width: 340px;
  padding: 0;
  overflow: visible;
  transform: translate(-50%, -50%);
  border-radius: 20px;
  color: var(--ink);
  background: var(--starlight);
  box-shadow: 0 24px 70px rgba(0,0,0,.38), 0 0 0 1px rgba(255,255,255,.28);
}
.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px 11px;
  border-bottom: 1px solid var(--rule);
}
.chat-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
}
.chat-brand i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gong);
  box-shadow: 0 0 0 4px rgba(42,109,176,.11);
}
.chat-state {
  color: var(--grey);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.chat-question {
  margin: 14px 16px 0;
  padding: 10px 12px 11px;
  border: 1px solid rgba(16,18,24,.07);
  border-radius: 12px;
  background: #F1F2F4;
}
.chat-question span {
  display: block;
  margin-bottom: 3px;
  color: var(--grey);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.chat-question p {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -.01em;
}
.chat-result {
  position: relative;
  min-height: 142px;
  padding: 16px 17px 17px;
}
.chat-scan,
.chat-answer {
  position: absolute;
  inset: 16px 17px 17px;
  transition: opacity .38s ease, transform .48s cubic-bezier(.16,1,.3,1);
}
.chat-scan p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 11.5px;
}
.scan-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gong);
  box-shadow: 0 0 0 4px rgba(42,109,176,.12);
  animation: scan-breathe 1.1s ease-in-out infinite;
}
@keyframes scan-breathe {
  50% { box-shadow: 0 0 0 7px rgba(42,109,176,0); transform: scale(.82); }
}
.scan-meter {
  height: 3px;
  margin-bottom: 13px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(16,18,24,.08);
}
.scan-meter i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gmail), var(--slack), var(--salesforce));
  transition: width .15s linear;
}
.scan-sources {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}
.scan-sources span {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 5px;
  border: 1px solid var(--rule);
  border-radius: 7px;
  color: #9A9DA5;
  font-family: var(--font-mono);
  font-size: 7.5px;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.scan-sources span i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.scan-sources span.is-reading,
.scan-sources span.is-read { color: var(--ink); border-color: rgba(16,18,24,.16); background: #fff; }
.scan-sources span.is-reading i { animation: source-reading .9s ease-in-out infinite; }
.scan-sources span[data-scan-source="gmail"] i { background: var(--gmail); }
.scan-sources span[data-scan-source="salesforce"] i { background: var(--salesforce); }
.scan-sources span[data-scan-source="slack"] i { background: var(--slack); }
.scan-sources span[data-scan-source="jira"] i { background: var(--jira); }
@keyframes source-reading {
  50% { transform: scale(.65); box-shadow: 0 0 0 4px rgba(16,18,24,0); }
}
.chat-answer {
  z-index: 2;
  opacity: 0;
  transform: translateY(9px);
  pointer-events: none;
}
.chat-answer p {
  margin-bottom: 13px;
  color: var(--grey);
  font-size: 12px;
  line-height: 1.45;
}
.chat-answer strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.2;
}
.evidence-claim {
  --quote-source: var(--salesforce);
  position: relative;
  padding: 0;
  border: 0;
  border-bottom: 1px dotted color-mix(in srgb, var(--quote-source) 72%, transparent);
  background: none;
  color: var(--ink);
  font: inherit;
  cursor: help;
}
.quote-gmail { --quote-source: var(--gmail); }
.quote-slack { --quote-source: var(--slack); }
.quote-jira { --quote-source: var(--jira); }
.quote-gong { --quote-source: #8039DF; }
.quote-salesforce { --quote-source: var(--salesforce); }
/* the fourth observatory slot shows Gong (calls), not Jira */
.observatory { --jira: #8039DF; }
.evidence-claim:focus-visible {
  border-radius: 2px;
  outline: 2px solid color-mix(in srgb, var(--quote-source) 42%, transparent);
  outline-offset: 2px;
}
.evidence-quote {
  position: absolute;
  z-index: 8;
  left: 0;
  bottom: calc(100% + 8px);
  width: 226px;
  padding: 10px 11px 11px;
  border: 1px solid rgba(255,255,255,.12);
  border-left: 3px solid var(--quote-source);
  border-radius: 9px;
  background: #11151F;
  box-shadow: 0 15px 30px rgba(0,0,0,.24);
  color: rgba(255,255,255,.82);
  text-align: left;
  opacity: 0;
  visibility: hidden;
  transform: translateY(5px);
  transition: opacity .18s ease, transform .22s cubic-bezier(.16,1,.3,1), visibility .18s;
  pointer-events: none;
}
.quote-gmail .evidence-quote { left: auto; right: 0; }
.evidence-quote span {
  display: block;
  margin-bottom: 5px;
  color: color-mix(in srgb, var(--quote-source) 76%, white);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.evidence-quote q {
  display: block;
  font-size: 10px;
  line-height: 1.4;
}
.evidence-claim:hover .evidence-quote,
.evidence-claim:focus .evidence-quote {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.answer-proof {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.answer-proof span {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 7px;
  border-radius: 999px;
  background: #F0F1F3;
  color: var(--grey);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: .03em;
}
.answer-proof i { width: 5px; height: 5px; border-radius: 50%; background: var(--gcal); }
.chat-core.is-answered .chat-scan { opacity: 0; transform: translateY(-7px); pointer-events: none; }
.chat-core.is-answered .chat-answer { opacity: 1; transform: none; pointer-events: auto; }
.chat-core.is-answered .chat-state { color: var(--gcal); }
.chat-core.is-answered .scan-pulse { animation: none; }

.receipt-preview {
  position: absolute;
  z-index: 7;
  left: 28px;
  right: 28px;
  bottom: 22px;
  min-height: 62px;
  display: grid;
  grid-template-columns: 130px 1fr;
  grid-template-rows: auto auto;
  column-gap: 16px;
  align-items: center;
  padding: 13px 16px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  background: rgba(5,8,16,.82);
  backdrop-filter: blur(10px);
}
.preview-label {
  grid-row: 1 / 3;
  color: rgba(255,255,255,.38);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.receipt-preview strong { font-size: 11.5px; font-weight: 500; color: #fff; }
.receipt-preview > span:last-child { color: rgba(255,255,255,.55); font-size: 11px; line-height: 1.3; }

/* ---------- motion system ---------- */

/* A finite product story: sources arrive, the review assembles, work becomes ready. */
.motion-ready .space-kicker,
.motion-ready .space-lede,
.motion-ready .space-copy .hero-ctas {
  opacity: 0;
  transform: translateY(10px);
}
.motion-ready .space-copy h1 {
  opacity: .12;
  filter: blur(13px);
  transform: translateY(9px);
}
.motion-ready .observatory {
  opacity: .5;
  filter: saturate(.65) brightness(.72);
}

.motion-in .space-kicker,
.motion-in .space-copy h1,
.motion-in .space-lede,
.motion-in .space-copy .hero-ctas,
.motion-in .observatory {
  opacity: 1;
  filter: none;
  transform: none;
}
.motion-in .space-kicker { transition: opacity .45s ease .06s, transform .45s ease .06s; }
.motion-in .space-copy h1 { transition: opacity .82s ease .12s, filter .82s ease .12s, transform .82s cubic-bezier(.16,1,.3,1) .12s; }
.motion-in .space-lede { transition: opacity .45s ease .4s, transform .45s ease .4s; }
.motion-in .space-copy .hero-ctas { transition: opacity .45s ease .6s, transform .45s ease .6s; }
.motion-in .observatory { transition: opacity .8s ease .12s, filter .9s ease .12s; }

.motion-ready .orbit-line {
  stroke-dasharray: 310;
  stroke-dashoffset: 310;
}
.motion-in .line-gmail { animation: line-arrive .6s cubic-bezier(.4,0,.2,1) .48s forwards; }
.motion-in .line-salesforce { animation: line-arrive .6s cubic-bezier(.4,0,.2,1) .67s forwards; }
.motion-in .line-slack { animation: line-arrive .6s cubic-bezier(.4,0,.2,1) .86s forwards; }
.motion-in .line-jira { animation: line-arrive .6s cubic-bezier(.4,0,.2,1) 1.05s forwards; }
@keyframes line-arrive { to { stroke-dashoffset: 0; } }

.source-ripple {
  fill: none;
  stroke: rgba(255,255,255,.45);
  stroke-width: 1.5;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}
.observatory[data-active="gmail"] .ripple-gmail { stroke: var(--gmail); animation: source-wave .72s ease-out 1; }
.observatory[data-active="salesforce"] .ripple-salesforce { stroke: var(--salesforce); animation: source-wave .72s ease-out 1; }
.observatory[data-active="slack"] .ripple-slack { stroke: var(--slack); animation: source-wave .72s ease-out 1; }
.observatory[data-active="jira"] .ripple-jira { stroke: var(--jira); animation: source-wave .72s ease-out 1; }
@keyframes source-wave {
  0% { opacity: .68; transform: scale(.62); }
  100% { opacity: 0; transform: scale(1.85); }
}

.motion-ready .signal-node,
.motion-ready .decision-core,
.motion-ready .receipt-preview { opacity: 0; }
.motion-ready .signal-node { scale: .92; }
.motion-ready .decision-core { transform: translate(-50%, calc(-50% + 12px)); }
.motion-ready .receipt-preview { transform: translateY(6px); }
.motion-in .signal-node { opacity: 1; scale: 1; }
.motion-in .node-gmail { transition-delay: .35s; }
.motion-in .node-salesforce { transition-delay: .54s; }
.motion-in .node-slack { transition-delay: .73s; }
.motion-in .node-jira { transition-delay: .92s; }
.motion-settled .signal-node { transition-delay: 0s; }
.motion-in .decision-core {
  opacity: 1;
  transform: translate(-50%, -50%);
  transition: opacity .5s ease 1.08s, transform .65s cubic-bezier(.16,1,.3,1) 1.08s;
}

.motion-ready .chat-head,
.motion-ready .chat-question,
.motion-ready .chat-result {
  opacity: 0;
  transform: translateY(7px);
}
.motion-in .chat-head,
.motion-in .chat-question,
.motion-in .chat-result {
  opacity: 1;
  transform: none;
  transition: opacity .36s ease, transform .42s cubic-bezier(.16,1,.3,1);
}
.motion-in .chat-head { transition-delay: 1.18s; }
.motion-in .chat-question { transition-delay: 1.31s; }
.motion-in .chat-result { transition-delay: 1.44s; }
.motion-in .receipt-preview {
  opacity: 1;
  transform: none;
  transition: opacity .42s ease 1.92s, transform .42s ease 1.92s;
}

.decision-core.is-receiving { animation: core-receive .52s ease; }
@keyframes core-receive {
  0%, 100% { box-shadow: 0 24px 70px rgba(0,0,0,.38), 0 0 0 1px rgba(255,255,255,.28); }
  48% { box-shadow: 0 24px 70px rgba(0,0,0,.38), 0 0 0 4px rgba(255,255,255,.12); }
}
.receipt-preview.is-updating { animation: receipt-swap .32s ease; }
@keyframes receipt-swap {
  0% { opacity: .5; transform: translateY(3px); }
  100% { opacity: 1; transform: none; }
}

/* Scroll choreography remains quiet, but no longer generic. */
.reveal {
  filter: blur(4px);
  transform: translateY(28px) scale(.992);
  transition: opacity .6s ease, transform .7s cubic-bezier(.16,1,.3,1), filter .5s ease;
}
.reveal.in { filter: none; }
.section-head.reveal { transform: translateX(-26px); }
.section-head.reveal.in { transform: none; }
.decision-loop.reveal.in .decision-stage,
.decision-loop.reveal.in .decision-act,
.split-visual.reveal.in .rec,
.split-visual.reveal.in .kcard {
  animation: section-item-in .62s cubic-bezier(.16,1,.3,1) both;
}
.decision-loop.reveal.in .decision-stage:nth-child(2),
.split-visual.reveal.in .rec:nth-child(2),
.split-visual.reveal.in .kcard:nth-child(2) { animation-delay: .08s; }
.decision-loop.reveal.in .decision-stage:nth-child(3),
.split-visual.reveal.in .rec:nth-child(3),
.split-visual.reveal.in .kcard:nth-child(3) { animation-delay: .16s; }
.decision-loop.reveal.in .decision-act,
.split-visual.reveal.in .rec:nth-child(4),
.split-visual.reveal.in .kcard:nth-child(4) { animation-delay: .24s; }
@keyframes section-item-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* ---------- carry the visual language through the page ---------- */

.strip {
  color: var(--ink);
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.strip-line { max-width: 27ch; margin-left: auto; margin-right: auto; }
.strip-sub { color: var(--grey); }

.section-head h2,
.split-copy h2 { letter-spacing: -0.04em; }

#evidence {
  position: relative;
  overflow: hidden;
  color: var(--starlight);
  background:
    radial-gradient(circle at 80% 25%, rgba(42,109,176,.13), transparent 31%),
    linear-gradient(150deg, var(--space), var(--space-2));
}
#evidence::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .28;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,.72) 0 1px, transparent 1.3px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, transparent, black 60%);
}
#evidence .section-inner { position: relative; z-index: 1; }
#evidence .split-copy p { color: rgba(255,255,255,.6); }
#evidence .eyebrow.rulewp { color: rgba(255,255,255,.48); }
#evidence .eyebrow.rulewp::before { border-top-color: rgba(255,255,255,.14); }
#evidence .eyebrow.rulewp::after { background: #fff; box-shadow: 0 0 14px rgba(255,255,255,.7); }
#evidence .ev-head { color: rgba(255,255,255,.65); border-color: rgba(255,255,255,.12); }

/* Evidence demo: a Synoptic answer with inline source citations, and the
   record behind the active citation shown as an evidence card. */
.ev-answer {
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 14px;
  background: rgba(255,255,255,.05);
}
.ev-q {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}
.ev-q span, .ev-by {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}
.ev-a { margin: 0; font-size: 15px; line-height: 1.65; color: rgba(255,255,255,.88); }
.ev-cite {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 20px;
  margin: 0 1px 0 4px;
  padding: 0;
  vertical-align: -3px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 6px;
  background: rgba(255,255,255,.08);
  cursor: pointer;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.ev-cite svg { width: 12px; height: 12px; fill: var(--fs); }
.ev-cite:hover { transform: translateY(-1px); }
.ev-cite.is-on {
  border-color: var(--fs);
  background: color-mix(in srgb, var(--fs) 32%, #fff);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--fs) 28%, transparent);
}
.ev-cite:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.ev-cards { display: grid; margin-top: 14px; }
.ev-card {
  grid-area: 1 / 1;
  padding: 18px 22px 16px;
  border-radius: 16px;
  background: #F4F3EF;
  color: var(--ink);
  box-shadow: 0 22px 50px -24px rgba(0,0,0,.6);
  opacity: 0;
  transform: translateY(10px);
  visibility: hidden;
  transition: opacity .45s ease, transform .55s cubic-bezier(.16,1,.3,1), visibility 0s linear .45s;
}
.ev-card.is-on {
  opacity: 1;
  transform: none;
  visibility: visible;
  transition: opacity .45s ease, transform .55s cubic-bezier(.16,1,.3,1), visibility 0s;
}
.ev-card-top { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 14px; }
.ev-card-icon { display: inline-flex; width: 16px; height: 16px; }
.ev-card-icon svg { width: 16px; height: 16px; fill: var(--fs); }
.ev-card-date { color: var(--grey); font-size: 13.5px; }
.ev-card-sum { margin: 0 0 12px; font-size: 14.5px; line-height: 1.55; color: var(--ink); }
.ev-card-quote {
  margin: 0 0 12px;
  padding: 2px 0 2px 14px;
  border-left: 3px solid #cfcfc9;
  font-size: 14.5px;
  font-style: italic;
  line-height: 1.6;
  color: #3a3d45;
}
.ev-card-by { margin: 0 0 12px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.ev-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ev-card-link { font-size: 13px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.ev-card-access {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .04em;
  color: var(--grey);
}
.ev-card-access::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gcal); }
@media (prefers-reduced-motion: reduce) {
  .ev-card, .ev-card.is-on, .ev-cite { transition: none; }
}

.deliverable-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 13px;
}
.deliverable-row span {
  padding: 6px 10px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--card);
  color: var(--grey);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .03em;
}

/* ---------- responsive ---------- */

@media (max-width: 1060px) {
  .space-hero { padding-top: 42px; }
  .space-hero-inner { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .space-copy { max-width: 720px; padding-bottom: 28px; }
  .observatory { max-width: 720px; min-height: 440px; margin: 0 auto; }
}

@media (max-width: 720px) {
  .space-hero { min-height: 0; padding: 34px 18px 0; }
  .space-copy { padding-top: 26px; }
  .space-copy h1 { font-size: clamp(43px, 12vw, 58px); }
  .space-lede { font-size: 18px; }
  .observatory { min-height: 500px; aspect-ratio: auto; border-radius: 26px; }
  .node-gmail { left: 4%; top: 19%; }
  .node-salesforce { right: 3%; top: 17%; }
  .node-slack { left: 3%; bottom: 24%; }
  .node-jira { right: 3%; bottom: 20%; }
  .decision-core { min-width: 300px; width: 68%; padding: 0; }
  .receipt-preview { left: 16px; right: 16px; bottom: 14px; grid-template-columns: 1fr; }
  .preview-label { display: none; }
}

@media (max-width: 480px) {
  .space-hero .hero-ctas { display: grid; grid-template-columns: 1fr; }
  .space-hero .btn { text-align: center; }
  .observatory { min-height: 460px; }
  .observatory-meta { left: 18px; right: 18px; }
  .observatory-meta span:last-child { display: none; }
  .signal-node { padding-right: 8px; }
  .signal-node span { display: none; }
  .decision-core { min-width: 270px; width: 78%; }
  .chat-question p { font-size: 12px; }
  .chat-result { min-height: 150px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-art,
  .observatory { transform: none; transition: none; }
  .orbit-sweep,
  .orbit-ring,
  .orbit-line,
  .source-ripple,
  .constellation-trace,
  .decision-core.is-receiving,
  .receipt-preview.is-updating,
  .decision-loop.reveal.in .decision-stage,
  .decision-loop.reveal.in .decision-act,
  .split-visual.reveal.in .rec,
  .split-visual.reveal.in .kcard { animation: none; }
  .constellation-trace { stroke-dashoffset: 0; }
  .motion-ready .space-kicker,
  .motion-ready .space-copy h1,
  .motion-ready .space-lede,
  .motion-ready .space-copy .hero-ctas,
  .motion-ready .observatory,
  .motion-ready .signal-node,
  .motion-ready .decision-core,
  .motion-ready .receipt-preview {
    opacity: 1;
    filter: none;
    transform: none;
    scale: 1;
    transition: none;
  }
  .motion-ready .orbit-line { stroke-dashoffset: 0; }
  .motion-ready .chat-head,
  .motion-ready .chat-question,
  .motion-ready .chat-result {
    opacity: 1;
    transform: none;
  }
  .motion-ready .decision-core { transform: translate(-50%, -50%); }
  .reveal { filter: none; }
  .signal-node,
  .orbit-line { transition: none; }
}

/* ---------- SYN-917: hero chips + live-surface cluster ---------- */

.space-hero-inner-solo { max-width: 1200px; }
.space-hero-inner-solo .space-copy { max-width: 720px; padding-bottom: 26px; }
/* Centre the hero copy block; the surface cluster below keeps its own composition. */
.space-hero-inner-solo .space-copy { margin-left: auto; margin-right: auto; text-align: center; }
.space-hero-inner-solo .space-kicker { justify-content: center; }
.space-hero-inner-solo .space-copy h1 { max-width: none; margin-left: auto; margin-right: auto; }
.space-hero-inner-solo .space-lede { margin-left: auto; margin-right: auto; }
.space-hero-inner-solo .hero-chips { justify-content: center; }
.space-hero-inner-solo .hero-ctas { justify-content: center; }

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}
.hero-chips li {
  padding: 7px 15px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: var(--starlight);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.04);
  animation: chipSpotlight 5.6s ease-in-out infinite;
}
.hero-chips li:nth-child(1) { animation-delay: 0s; }
.hero-chips li:nth-child(2) { animation-delay: 1.4s; }
.hero-chips li:nth-child(3) { animation-delay: 2.8s; }
.hero-chips li:nth-child(4) { animation-delay: 4.2s; }
@keyframes chipSpotlight {
  0%, 100% {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: none;
    color: var(--starlight);
    transform: translateY(0) scale(1);
  }
  8% {
    border-color: var(--gong);
    background: color-mix(in srgb, var(--gong) 28%, rgba(255, 255, 255, 0.05));
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--gong) 20%, transparent),
                0 0 20px 2px color-mix(in srgb, var(--gong) 48%, transparent);
    color: #fff;
    transform: translateY(-1px) scale(1.06);
  }
  17% {
    border-color: var(--gong);
    background: color-mix(in srgb, var(--gong) 20%, rgba(255, 255, 255, 0.04));
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--gong) 14%, transparent),
                0 0 14px 1px color-mix(in srgb, var(--gong) 34%, transparent);
    color: #fff;
    transform: translateY(-1px) scale(1.04);
  }
  27% {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: none;
    color: var(--starlight);
    transform: translateY(0) scale(1);
  }
}


@media (prefers-reduced-motion: reduce) {
  .hero-chips li { animation: none; }
}

.surface-cluster {
  position: relative;
  z-index: 2;
  height: 440px;
  margin-top: 6px;
  margin-bottom: 34px;
}
.sc-card {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 18px;
  background: rgba(13, 16, 24, 0.93);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  color: var(--starlight);
  font-size: 14px;
  line-height: 1.5;
  padding: 18px 20px;
  backdrop-filter: blur(6px);
}

/* composition: dashboard (back) -> Slack (middle) -> Claude (front), finout-style depth */
.sc-dashboard { width: 460px; left: 0; top: 0; padding-right: 90px; transform: rotate(-1deg); z-index: 2; }
.sc-slack { width: 320px; left: 380px; top: 60px; padding-right: 75px; transform: rotate(-1.8deg); z-index: 3; }
.sc-claude { width: 340px; left: 640px; top: 120px; transform: rotate(1.3deg); z-index: 4; }

/* slack card */
.sc-slack-head {
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 10px; margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--space-muted); font-size: 12.5px; font-weight: 600;
}
.sc-slack-mark { flex: none; width: 16px; height: 16px; }
.sc-slack-msg { display: flex; gap: 10px; margin-bottom: 12px; font-size: 13.5px; }
.sc-slack-msg:last-child { margin-bottom: 0; }
.sc-slack-msg b { margin-right: 4px; font-weight: 600; }
.sc-avatar {
  flex: none; width: 26px; height: 26px; border-radius: 7px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: #fff;
}
.sc-avatar-user { background: var(--slack); }
.sc-avatar-syn { background: linear-gradient(135deg, var(--gong), var(--salesforce)); }
.sc-tag {
  display: inline-block; padding: 1px 5px; margin-right: 4px;
  border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 4px;
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.06em;
  color: var(--space-muted); vertical-align: 1px;
}
.sc-slack-src { display: block; margin-top: 6px; color: var(--space-muted); font-size: 12px; }
.sc-mention {
  display: inline;
  padding: 1px 3px;
  border-radius: 4px;
  background: rgba(54, 197, 240, 0.18);
  color: #8fd8f5;
  font-weight: 600;
}

/* chat card */
.sc-chat-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 10px; margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.sc-brand { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
.sc-brand i { width: 11px; height: 11px; border-radius: 50%; background: var(--gong); box-shadow: 0 0 14px rgba(42, 109, 176, 0.8); }
.sc-state { color: #7fdcc8; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.sc-chat-q { margin: 0 0 10px; }
.sc-chat-q span { display: block; margin-bottom: 3px; color: var(--space-muted); font-size: 11.5px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.sc-chat-q em { font-style: normal; font-size: 15.5px; font-weight: 600; color: #fff; }
.sc-chat-a { margin: 0 0 14px; color: rgba(236, 240, 246, 0.85); font-size: 14.5px; }
.sc-claude-mark { flex: none; width: 15px; height: 15px; }
.sc-claude-tool {
  display: flex; align-items: center; gap: 6px; margin: 0 0 12px;
  padding: 6px 10px; border-radius: 7px; background: rgba(255, 255, 255, 0.05);
  color: var(--space-muted); font-family: var(--font-mono); font-size: 10.5px;
}
.sc-claude-tool i { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--gong); }
.sc-claude-tool b { color: #fff; font-weight: 600; }

/* dashboard card */
.sc-dash-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 10px; margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.sc-dash-label { color: var(--space-muted); font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.sc-dash-kpis { display: flex; gap: 28px; margin-bottom: 18px; }
.sc-kpi { display: flex; flex-direction: column; gap: 3px; }
.sc-kpi b { font-size: 21px; font-weight: 600; color: var(--starlight); letter-spacing: -0.01em; }
.sc-kpi span { color: var(--space-muted); font-size: 11.5px; }
.sc-dash-caption { margin: 0 0 10px; color: var(--space-muted); font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.sc-dash-bars { display: flex; flex-direction: column; gap: 9px; }
.sc-dash-bar-row { display: flex; align-items: center; gap: 9px; font-size: 12px; }
.sc-dash-bar-row i { flex: none; width: 7px; height: 7px; border-radius: 50%; }
.sc-dash-bar-track { position: relative; flex: 1; height: 6px; border-radius: 4px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.sc-dash-bar-fill { position: absolute; inset: 0 auto 0 0; border-radius: 4px; background: var(--dash-color, #7fdcc8); }
.sc-dash-bar-row span { flex: none; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: rgba(236, 240, 246, 0.8); }

/* claude card */
.sc-claude-table { width: 100%; margin-top: 4px; border-collapse: collapse; font-size: 12px; }
.sc-claude-table td { padding: 7px 0; border-top: 1px solid rgba(255, 255, 255, 0.08); color: rgba(236, 240, 246, 0.8); }
.sc-claude-table td:first-child { display: flex; align-items: center; gap: 6px; padding-right: 10px; color: var(--space-muted); white-space: nowrap; }
.sc-claude-table td:first-child i { width: 6px; height: 6px; border-radius: 50%; background: var(--dash-color, #7fdcc8); }

@media (max-width: 1060px) {
  .surface-cluster { height: auto; display: grid; grid-template-columns: 1fr; gap: 14px; padding-bottom: 8px; }
  .sc-card { position: static; width: auto; transform: none; }
  .sc-dashboard { order: 1; }
  .sc-slack { order: 2; }
  .sc-claude { order: 3; }
}

/* ---------- SYN-917: layer diagram ---------- */

.layer-diagram { max-width: 900px; margin: 0 auto; text-align: center; }
.ld-box {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 10px;
  border: 1.3px solid var(--rule);
  border-radius: 14px;
  background: #fff;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(16, 18, 24, 0.04);
}
.layer-diagram figcaption {
  margin-top: 22px;
  color: rgba(16, 18, 24, 0.62);
  font-size: 14.5px;
}
@media (max-width: 720px) {
  .ld-box { border-radius: 14px; }
}

/* Shared icon slot: a tinted rounded square holding either a real brand
   mark (filled) or a generic outline glyph (.stroke), so logo and non-logo
   entries sit in a visually uniform grid. --fs sets the tint per item. */
.fs-icon {
  display: flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  border-radius: 7px;
  background: color-mix(in srgb, var(--fs) 14%, #fff);
  flex-shrink: 0;
  overflow: hidden;
}
/* .raw: a self-contained brand mark (own background baked in, e.g. a
   fetched favicon) shown full-bleed instead of tinted-badge + glyph. */
.fs-icon.raw { background: var(--fs); }
.fs-icon.raw svg, .fs-icon.raw img { width: 100%; height: 100%; display: block; object-fit: cover; }
.fs-icon svg { display: block; flex-shrink: 0; width: 13px; height: 13px; min-width: 13px; fill: var(--fs); }
.fs-icon img { display: block; flex-shrink: 0; width: 13px; height: 13px; min-width: 13px; object-fit: contain; }
.fs-icon i { display: block; flex-shrink: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--fs); }
.fs-icon.stroke svg {
  width: 15px; height: 15px;
  min-width: 15px;
  fill: none;
  stroke: var(--fs);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* SYN-917: funnel diagram (sources -> engine -> surfaces) replacing the
   old source-system marquee, under the "One engine. Every surface." head */
.funnel-figure {
  max-width: 1100px;
  padding: 36px clamp(16px, 4vw, 44px);
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--rule);
}
/* Finout-style funnel: logos scattered at varied heights above and below
   one thin trunk line, joined by rounded elbows; the trunk carries them into
   a white gradient-bordered pill and fans back out to labelled surface pills. */
.funnel-scatter {
  position: relative;
  width: 100%;
  aspect-ratio: 1000 / 420;
}
.fn-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.fn-trunk { stroke: #c6c6c0; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.fn-stub  { stroke-width: 1.8; stroke-opacity: 0.45; vector-effect: non-scaling-stroke; stroke-linecap: round; }
/* A soft light that glides along each line: a short round-capped segment
   of the path, eased in and out, fading at both ends. */
.fn-flow {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 10 90;
  stroke-dashoffset: 10;
  opacity: 0;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 4px currentColor);
}
.fn-flow-out { animation: flowGlide 3.6s cubic-bezier(0.45, 0, 0.2, 1) infinite; }
.fn-flow-in  { animation: flowGlide 3.6s cubic-bezier(0.45, 0, 0.2, 1) infinite; }
@keyframes flowGlide {
  0%        { stroke-dashoffset: 10;  opacity: 0; }
  8%        { opacity: 1; }
  52%       { opacity: 1; }
  62%, 100% { stroke-dashoffset: -90; opacity: 0; }
}
.fn-stub-slot { transition: stroke 0.3s ease; }
.fn-stub-slot.is-hot { animation: stubHot 1.4s ease-out; }
@keyframes stubHot {
  0%   { stroke-opacity: 1;    stroke-width: 3.2; }
  100% { stroke-opacity: 0.45; stroke-width: 1.8; }
}

/* Left side: five slots cycle through the full source pool, one swap at a
   time, so the set reads as "more and more" rather than a fixed list. */
.fn-node {
  position: absolute;
  transform: translate(-50%, -50%);
}
.fn-node .fs-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 6px 18px rgba(16, 18, 24, 0.13), 0 1px 2px rgba(16, 18, 24, 0.06);
  transition: transform 0.22s ease-in, opacity 0.22s ease-in, filter 0.22s ease-in;
}
.fn-node .fs-icon svg, .fn-node .fs-icon img { width: 30px; height: 30px; min-width: 30px; }
.fn-slot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2.5px solid var(--fs);
  opacity: 0;
  pointer-events: none;
}
.fn-slot.is-out .fs-icon { transform: scale(0.35) rotate(-30deg); opacity: 0; filter: blur(3px); }
.fn-slot.is-in .fs-icon  { animation: slotIn 0.62s cubic-bezier(0.34, 1.56, 0.64, 1); }
.fn-slot.is-in::after    { animation: slotRing 0.85s ease-out; }
@keyframes slotIn {
  0%   { transform: scale(0.35) rotate(30deg); opacity: 0; }
  55%  { transform: scale(1.2) rotate(0);     opacity: 1; }
  100% { transform: scale(1); }
}
@keyframes slotRing {
  0%   { transform: scale(1);    opacity: 0.8; }
  100% { transform: scale(1.95); opacity: 0; }
}

.fn-engine {
  position: absolute;
  z-index: 2;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  border-radius: 999px;
  border: 2.5px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(90deg, var(--gong), var(--slack), var(--hub)) border-box;
  color: var(--ink);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  box-shadow: 0 16px 40px rgba(16, 18, 24, 0.14);
  animation: enginePulse 1.6s ease-in-out infinite;
}
.fn-mark { width: 30px; height: 30px; flex-shrink: 0; overflow: visible; animation: markTilt 3.2s ease-in-out infinite; }
/* The mark itself comes alive: the connecting line draws through, and the
   three source dots light up in turn, on the engine's 1.6s beat. */
.fn-mark polyline { stroke-dasharray: 33; animation: markLine 3.2s ease-in-out infinite; }
.fn-mark circle {
  transform-box: fill-box;
  transform-origin: center;
  animation: markDot 1.6s ease-in-out infinite;
}
.fn-mark circle:nth-of-type(2) { animation-delay: 0.2s; }
.fn-mark circle:nth-of-type(3) { animation-delay: 0.4s; }
@keyframes markDot {
  0%, 45%, 100% { transform: scale(1);    filter: none; }
  18%           { transform: scale(1.7);  filter: drop-shadow(0 0 2px currentColor) brightness(1.15); }
}
@keyframes markLine {
  0%        { stroke-dashoffset: 33; }
  40%, 70%  { stroke-dashoffset: 0; }
  100%      { stroke-dashoffset: -33; }
}
@keyframes markTilt {
  0%, 100% { transform: rotate(-6deg); }
  50%      { transform: rotate(6deg); }
}
@keyframes enginePulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1);    box-shadow: 0 16px 40px rgba(16, 18, 24, 0.14); }
  3%       { transform: translate(-50%, -50%) scale(1.06); box-shadow: 0 16px 40px rgba(16, 18, 24, 0.14), 0 0 0 8px color-mix(in srgb, var(--gong) 14%, transparent); }
  8%, 100% { transform: translate(-50%, -50%) scale(1);    box-shadow: 0 16px 40px rgba(16, 18, 24, 0.14); }
}

.fn-pill {
  position: absolute;
  z-index: 1;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px 7px 8px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(16, 18, 24, 0.12), 0 1px 2px rgba(16, 18, 24, 0.06);
  animation: surfacePop 1.6s ease-in-out infinite;
}
.fn-pill .fs-icon { width: 26px; height: 26px; border-radius: 50%; }
.fn-pill .fs-icon svg { width: 14px; height: 14px; min-width: 14px; }
@keyframes surfacePop {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  62%      { transform: translate(-50%, -50%) scale(1.08); }
  75%, 100% { transform: translate(-50%, -50%) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .fn-node, .fn-engine, .fn-pill, .fn-stub, .fn-slot .fs-icon, .fn-slot::after,
  .fn-mark, .fn-mark polyline, .fn-mark circle { animation: none; }
  .fn-mark polyline { stroke-dasharray: none; }
  .fspark, .fn-flow { display: none; }
}
@media (max-width: 780px) {
  .funnel-figure { padding: 28px 14px; overflow-x: auto; }
  .funnel-scatter { min-width: 720px; }
  .fn-node .fs-icon { width: 46px; height: 46px; }
  .fn-node .fs-icon svg, .fn-node .fs-icon img { width: 23px; height: 23px; min-width: 23px; }
  .fn-engine { padding: 11px 20px; font-size: 18px; gap: 8px; }
  .fn-mark { width: 22px; height: 22px; }
  .fn-pill { font-size: 12.5px; padding: 5px 12px 5px 6px; }
}

/* SYN-917: cluster ask-and-reply animation */
.sc-card { transition: opacity 0.4s ease; }
.sc-anim .sc-card.sc-swap { opacity: 0; }
.sc-anim .sc-a-claude,
.sc-anim .sc-claude-table,
.sc-anim .sc-m2,
.sc-anim .sc-dash-kpis,
.sc-anim .sc-dash-caption,
.sc-anim .sc-dash-bars {
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.sc-anim .sc-live .sc-a-claude,
.sc-anim .sc-live .sc-claude-table,
.sc-anim .sc-live .sc-m2,
.sc-anim .sc-live .sc-dash-kpis,
.sc-anim .sc-live .sc-dash-caption,
.sc-anim .sc-live .sc-dash-bars {
  opacity: 1;
  transform: translateY(0);
}
.sc-anim .sc-live .sc-dash-kpis { transition-delay: 0.15s; }
.sc-anim .sc-live .sc-dash-caption { transition-delay: 0.35s; }
.sc-anim .sc-live .sc-dash-bars { transition-delay: 0.4s; }
.sc-anim .sc-live .sc-m2 { transition-delay: 0.3s; }
.sc-anim .sc-live .sc-a-claude { transition-delay: 0.3s; }
.sc-anim .sc-live .sc-claude-table { transition-delay: 0.65s; }
.sc-q-dash { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #e6ebf2; }
.sc-typing::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  vertical-align: -2px;
  background: #fff;
  animation: scBlink 0.9s steps(1) infinite;
}
.sc-state.is-working { color: #e8b26a; animation: scWorkPulse 1.4s ease-in-out infinite; }
@keyframes scBlink { 50% { opacity: 0; } }
@keyframes scWorkPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }

/* Platform dropdown (nav) */
.nav-drop { position: relative; display: flex; align-items: center; }
.nav-drop-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 14.5px; color: rgba(255, 255, 255, 0.62);
}
.nav-drop-btn span { width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s ease; }
.nav-drop:hover .nav-drop-btn, .nav-drop:focus-within .nav-drop-btn { color: #fff; }
.nav-drop:hover .nav-drop-btn span, .nav-drop:focus-within .nav-drop-btn span { transform: translateY(1px) rotate(225deg); }
.nav-menu {
  position: absolute; top: calc(100% + 14px); left: -14px; min-width: 268px;
  padding: 8px; border-radius: 12px;
  background: rgba(12, 16, 28, 0.97); border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-drop:hover .nav-menu, .nav-drop:focus-within .nav-menu { opacity: 1; visibility: visible; transform: none; }
.nav-links .nav-menu a {
  display: flex; align-items: center; gap: 11px;
  padding: 9px 10px; border-radius: 8px;
  color: rgba(255, 255, 255, 0.78); font-size: 14.5px; white-space: nowrap;
}
.nav-links .nav-menu a:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.nav-menu svg { flex: none; width: 17px; height: 17px; color: rgba(255, 255, 255, 0.55); }
.nav-menu a:hover svg { color: #7fdcc8; }

/* hero Synoptic card: inline source chips instead of a source table */
.sc-cov { margin: 0; padding-top: 9px; border-top: 1px solid rgba(255, 255, 255, 0.08); color: var(--space-muted); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.02em; }
.sc-cite { position: relative; cursor: help; }
.sc-cite-pop {
  position: absolute; left: 50%; bottom: calc(100% + 8px); z-index: 5;
  width: 230px; padding: 9px 11px; border-radius: 9px;
  background: #0d1220; border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 3px solid var(--fs);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
  font-size: 12px; line-height: 1.4; text-align: left; white-space: normal;
  opacity: 0; visibility: hidden; transform: translate(-50%, 4px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  pointer-events: none;
}
.sc-cite-pop b { display: block; margin-bottom: 4px; color: var(--space-muted); font-size: 10.5px; font-weight: 600; letter-spacing: 0.04em; }
.sc-cite-pop q { color: #fff; }
.sc-cite:hover .sc-cite-pop, .sc-cite:focus .sc-cite-pop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

.space-for { margin: -14px 0 22px; color: rgba(236, 240, 246, 0.5); font-size: 14px; letter-spacing: 0.02em; }
.space-hero-inner-solo .space-for { text-align: center; }
