/* ==========================================================================
   Zigtal — Use Cases
   Hero decision window · problem bento · solve stack · light logo sheet ·
   customer voices carousel · governed-readiness CTA
   ========================================================================== */

.uc-head {
  display: grid;
  gap: 1rem;
  justify-items: start;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.uc-hero .aurora i:nth-child(1) { --c: #4f7cff; --o: 0.34; left: 48%; top: -22%; }
.uc-hero .aurora i:nth-child(2) { --c: #22d3ee; --o: 0.16; left: 76%; top: 24%; }
.uc-hero .aurora i:nth-child(3) { --c: #8b5cf6; --o: 0.18; left: -10%; top: 38%; }

.uc-hero {
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.uc-hero .grid-floor {
  height: 36%;
  opacity: 0.5;
}

.uc-hero .page-title {
  font-size: clamp(2.45rem, 1rem + 3.3vw, 3.85rem);
}

.uc-hero .page-hero-copy {
  gap: 1.6rem;
}

.uc-hero .page-hero-copy .lead {
  max-width: 50ch;
}

/* Signature visual: signal → evidence → decision */
.uc-visual {
  position: relative;
}

.uc-visual::before {
  inset: 2% 0 12%;
  opacity: 0.7;
}

.dw-body {
  position: relative;
  gap: 18px;
}

/* scanning light band */
.dw-body::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -90px;
  height: 90px;
  background: linear-gradient(180deg, transparent, rgba(91, 140, 255, 0.09), transparent);
  animation: dw-scan 7s linear infinite;
  pointer-events: none;
}

@keyframes dw-scan {
  to { top: 100%; }
}

.dw-step {
  --c: var(--accent);
  --c-next: var(--accent);
  position: relative;
  display: grid;
  gap: 10px;
  padding-left: 26px;
}

.dw-step--signal { --c: var(--warn); --c-next: var(--accent); }
.dw-step--evidence { --c: var(--accent); --c-next: var(--mint); }
.dw-step--decision { --c: var(--mint); }

/* node on the trace */
.dw-step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--c);
  background: #0f1226;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 14%, transparent), 0 0 12px color-mix(in srgb, var(--c) 60%, transparent);
}

.dw-step--decision::before {
  background: var(--mint);
  animation: dw-node 2.4s ease-out infinite;
}

@keyframes dw-node {
  0% { box-shadow: 0 0 0 0 rgba(62, 230, 176, 0.55), 0 0 12px rgba(62, 230, 176, 0.6); }
  70%, 100% { box-shadow: 0 0 0 10px rgba(62, 230, 176, 0), 0 0 12px rgba(62, 230, 176, 0.6); }
}

/* connector to the next node */
.dw-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 19px;
  bottom: -17px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(var(--c), var(--c-next));
  opacity: 0.5;
}

/* data packet travelling down the trace */
.dw-pk {
  position: absolute;
  left: 2px;
  top: 19px;
  z-index: 1;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 12px var(--c), 0 0 3px #fff;
  opacity: 0;
  animation: dw-flow 4.4s var(--ease) infinite;
}

.dw-step--evidence .dw-pk {
  animation-delay: 2.2s;
}

@keyframes dw-flow {
  0% { top: 19px; opacity: 0; }
  8% { opacity: 1; }
  40% { opacity: 1; }
  48% { top: calc(100% + 13px); opacity: 0; }
  100% { top: calc(100% + 13px); opacity: 0; }
}

.dw-head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 18px;
}

.dw-tag {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 6px;
  color: var(--c);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dw-tag b {
  color: var(--text-4);
  font-weight: 500;
}

.dw-title {
  min-width: 0;
  overflow: hidden;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.dw-chip {
  flex: none;
  margin-left: auto;
}

.dw-rows .row {
  padding: 7px 0;
}

.dw-rows .row.is-flag {
  margin-inline: -10px;
  padding-inline: 10px;
  border-radius: 10px;
  border-top-color: transparent;
  background: rgba(255, 181, 71, 0.07);
  box-shadow: inset 0 0 0 1px rgba(255, 181, 71, 0.32);
  animation: dw-flag 2.8s ease-in-out infinite;
}

.dw-rows .row.is-flag + .row {
  border-top-color: transparent;
}

.dw-rows .row.is-flag .row-name {
  color: #ffd9a6;
}

@keyframes dw-flag {
  50% { box-shadow: inset 0 0 0 1px rgba(255, 181, 71, 0.65), 0 0 24px -6px rgba(255, 181, 71, 0.55); }
}

.dw-th {
  gap: 11px;
}

.dw-th .th-row {
  grid-template-columns: minmax(0, 150px) minmax(0, 1fr) 28px;
}

.dw .plan li {
  padding: 8px 11px;
}

.dw-float {
  width: min(360px, 90%);
}

.dw-float .viz-title {
  font-size: 15px;
  line-height: 1.4;
}

.dw-float .ai-tag span[data-type] {
  min-width: 1ch;
}

/* At-a-glance strip */
.uc-glance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(3rem, 6vw, 4.5rem);
  list-style: none;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.uc-glance li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  transition: background 0.3s;
}

.uc-glance li + li {
  border-left: 1px solid var(--line);
}

.uc-glance li:hover {
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}

.uc-glance-label {
  display: block;
  color: var(--accent-text);
  font-family: var(--font-mono);
  font-size: 0.74rem;
}

.uc-glance-value {
  display: block;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.35;
}

@media (max-width: 860px) {
  .uc-glance {
    grid-template-columns: minmax(0, 1fr);
  }

  .uc-glance li + li {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 520px) {
  .dw-chip {
    display: none;
  }

  .dw-th .th-row {
    grid-template-columns: minmax(0, 112px) minmax(0, 1fr) 24px;
  }

  .dw-body {
    gap: 16px;
  }

  .dw-step {
    padding-left: 22px;
  }
}

/* --------------------------------------------------------------------------
   Problems — warning-tinted bento
   -------------------------------------------------------------------------- */
.uc-problems {
  isolation: isolate;
  overflow: hidden;
}

.uc-problems::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  height: 80%;
  background:
    radial-gradient(45% 55% at 12% 0%, rgba(255, 138, 76, 0.1), transparent 70%),
    radial-gradient(40% 45% at 92% 18%, rgba(255, 107, 129, 0.08), transparent 70%);
  pointer-events: none;
}

.uc-problems .hl {
  --hl-grad: linear-gradient(100deg, #ffb547, #ff8a4c 45%, #ff6b81 85%);
}

.uc-problems .kicker {
  color: var(--warn);
}

.prob {
  --accent: #ffb547;
  --accent-2: #ff6b81;
  --accent-text: #ffd08a;
  gap: 16px;
}

.prob-viz {
  position: relative;
  display: grid;
  align-content: center;
  gap: 12px;
  height: 160px;
  margin-bottom: 4px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 181, 71, 0.16);
  background:
    radial-gradient(110% 90% at 0% 0%, rgba(255, 181, 71, 0.13), transparent 60%),
    radial-gradient(90% 90% at 100% 100%, rgba(255, 107, 129, 0.11), transparent 60%),
    radial-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px) 0 0 / 16px 16px,
    rgba(5, 6, 11, 0.5);
  overflow: hidden;
  color: var(--text-3);
  font-size: 12px;
}

.bento--5 > .prob:nth-child(-n + 2) .prob-viz {
  height: 184px;
  padding-inline: 24px;
}

.prob-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.prob-num {
  flex: none;
  color: transparent;
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.05em;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--accent) 75%, transparent);
}

.prob h3 {
  padding-top: 3px;
}

.prob > p {
  padding-left: calc(2.35rem + 14px);
}

.pv-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pv-track {
  position: relative;
  display: block;
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

/* 01 — committed vs. ready */
.pv-line {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.pv-k {
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 11px;
}

.pv-gap .pv-track {
  height: 20px;
  border-radius: 7px;
}

.pv-fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  transform-origin: 0 50%;
  transition: transform 1.3s var(--ease-out) 0.3s;
}

.pv-fill--commit {
  width: 100%;
  background: linear-gradient(90deg, rgba(157, 184, 255, 0.25), rgba(157, 184, 255, 0.7));
}

.pv-fill--ready {
  width: 58%;
  background: linear-gradient(90deg, rgba(255, 181, 71, 0.3), var(--warn));
  box-shadow: 0 0 16px rgba(255, 181, 71, 0.5);
  transition-delay: 0.6s;
}

.pv-gapzone {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 58%;
  right: 0;
  display: grid;
  place-items: center;
  border-radius: 0 7px 7px 0;
  background: repeating-linear-gradient(-45deg, rgba(255, 107, 129, 0.45) 0 4px, rgba(255, 107, 129, 0.1) 4px 9px);
  box-shadow: inset 0 0 0 1px rgba(255, 107, 129, 0.6);
  transition: opacity 0.6s 1.5s;
}

.pv-gapzone em {
  padding: 0 6px;
  border-radius: 4px;
  background: rgba(5, 6, 11, 0.75);
  color: #ffc4cd;
  font-family: var(--font-mono);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.08em;
  line-height: 15px;
  text-transform: uppercase;
  animation: pv-blink 2.2s ease-in-out infinite;
}

@keyframes pv-blink {
  50% { opacity: 0.45; }
}

.reveal-ready .prob .pv-fill { transform: scaleX(0); }
.reveal-ready .prob .pv-gapzone { opacity: 0; }
.reveal-ready .prob.is-in .pv-fill { transform: none; }
.reveal-ready .prob.is-in .pv-gapzone { opacity: 1; }

/* 02 — variance between similar teams */
.pv-var {
  align-content: end;
  gap: 6px;
}

.pv-cols {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 9px;
  height: 92px;
  padding: 0 4px;
  border-bottom: 1px solid var(--line-2);
}

.bento--5 > .prob:nth-child(-n + 2) .pv-cols {
  height: 112px;
  gap: 14px;
}

.pv-cols i {
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, rgba(157, 184, 255, 0.5), rgba(157, 184, 255, 0.1));
  transform-origin: 50% 100%;
  transition: transform 1s var(--ease-out) 0.2s;
}

.pv-cols i:nth-child(2) { transition-delay: 0.26s; }
.pv-cols i:nth-child(3) { transition-delay: 0.32s; }
.pv-cols i:nth-child(4) { transition-delay: 0.38s; }
.pv-cols i:nth-child(5) { transition-delay: 0.44s; }
.pv-cols i:nth-child(6) { transition-delay: 0.5s; }

.pv-cols i.is-out {
  background: linear-gradient(180deg, var(--warn), rgba(255, 181, 71, 0.12));
  box-shadow: 0 0 18px -4px rgba(255, 181, 71, 0.6);
}

.pv-cols i.is-out:nth-child(2) {
  background: linear-gradient(180deg, var(--bad), rgba(255, 107, 129, 0.12));
  box-shadow: 0 0 18px -4px rgba(255, 107, 129, 0.6);
}

.reveal-ready .prob .pv-cols i { transform: scaleY(0.05); }
.reveal-ready .prob.is-in .pv-cols i { transform: none; }

.pv-expect {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 62%;
  border-top: 1px dashed rgba(255, 255, 255, 0.38);
  pointer-events: none;
}

.pv-expect em {
  position: absolute;
  left: 2px;
  bottom: 3px;
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 10px;
  font-style: normal;
}

.pv-axis {
  display: flex;
  justify-content: space-around;
  color: var(--text-4);
  font-family: var(--font-mono);
  font-size: 10px;
}

.pv-q {
  position: absolute;
  top: 12px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 10px 3px 3px;
  border-radius: 999px;
  border: 1px solid rgba(255, 107, 129, 0.4);
  background: rgba(30, 8, 14, 0.85);
  color: #ffc4cd;
  font-size: 11px;
  font-weight: 500;
}

.pv-q b {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bad);
  color: #1a0509;
  font-size: 11px;
  font-weight: 700;
  animation: pv-ping 2s ease-out infinite;
}

@keyframes pv-ping {
  0% { box-shadow: 0 0 0 0 rgba(255, 107, 129, 0.6); }
  70%, 100% { box-shadow: 0 0 0 8px rgba(255, 107, 129, 0); }
}

/* 03 — participation vs. outcome */
.pv-spend {
  gap: 10px;
}

.pv-meter {
  display: grid;
  gap: 7px;
}

.pv-meter-k {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 11px;
}

.pv-meter-k b {
  color: #9db8ff;
  font-weight: 500;
}

.pv-meter .pv-track i {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(157, 184, 255, 0.3), #9db8ff);
  transform-origin: 0 50%;
  transition: transform 1.2s var(--ease-out) 0.3s;
}

.pv-meter.is-weak .pv-meter-k b {
  color: var(--warn);
}

.pv-meter.is-weak .pv-track i {
  background: linear-gradient(90deg, rgba(255, 181, 71, 0.3), var(--warn));
  box-shadow: 0 0 12px rgba(255, 181, 71, 0.5);
  transition-delay: 0.8s;
}

.reveal-ready .prob .pv-meter .pv-track i { transform: scaleX(0); }
.reveal-ready .prob.is-in .pv-meter .pv-track i { transform: none; }

.pv-break {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ff9aaa;
  font-family: var(--font-mono);
  font-size: 10.5px;
}

.pv-break::before,
.pv-break::after {
  content: "";
  flex: 1;
  border-top: 1px dashed rgba(255, 107, 129, 0.4);
}

.pv-break svg {
  flex: none;
  width: 15px;
  height: 15px;
}

/* 04 — hiring starts after the issue */
.pv-hire {
  gap: 14px;
}

.pv-tl {
  position: relative;
  height: 74px;
  margin-inline: 6px;
}

.pv-tl-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 4px;
  margin-top: -2px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
}

.pv-tl-span {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 12%;
  right: 10%;
  border-radius: inherit;
  background: repeating-linear-gradient(90deg, var(--warn) 0 8px, rgba(255, 181, 71, 0.22) 8px 12px);
  box-shadow: 0 0 12px rgba(255, 181, 71, 0.35);
  transform-origin: 0 50%;
  transition: transform 1.5s var(--ease-out) 0.4s;
}

.reveal-ready .prob .pv-tl-span { transform: scaleX(0); }
.reveal-ready .prob.is-in .pv-tl-span { transform: none; }

.pv-mark {
  position: absolute;
  left: var(--x);
  top: 50%;
  display: grid;
  justify-items: center;
  transform: translate(-50%, -50%);
}

.pv-mark i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--text-3);
  box-shadow: 0 0 0 4px rgba(8, 9, 18, 0.95);
}

.pv-mark.is-bad i {
  background: var(--bad);
  box-shadow: 0 0 0 4px rgba(8, 9, 18, 0.95), 0 0 14px var(--bad);
}

.pv-mark.is-warn i {
  background: var(--warn);
  box-shadow: 0 0 0 4px rgba(8, 9, 18, 0.95), 0 0 14px var(--warn);
}

.pv-mark em {
  position: absolute;
  bottom: calc(100% + 9px);
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-style: normal;
  white-space: nowrap;
}

.pv-mark.is-down em {
  top: calc(100% + 9px);
  bottom: auto;
}

.pv-mark.is-bad em { color: #ffb3bf; }
.pv-mark.is-warn em { color: #ffd08a; }

/* 05 — ready people nobody can see (layout follows the card width) */
.pv-people {
  container-type: inline-size;
}

.pv-people-in {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.pv-bench {
  display: grid;
  gap: 9px;
  justify-items: start;
}

.pv-bench-k {
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 10.5px;
}

.pv-dots {
  display: grid;
  grid-template-columns: repeat(6, 20px);
  gap: 7px;
}

.pv-dots i {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 36%, rgba(255, 255, 255, 0.32) 0 20%, transparent 22%),
    radial-gradient(ellipse 60% 44% at 50% 100%, rgba(255, 255, 255, 0.26) 0 98%, transparent 100%),
    rgba(255, 255, 255, 0.06);
}

.pv-dots i.is-ready {
  background:
    radial-gradient(circle at 50% 36%, rgba(62, 230, 176, 0.75) 0 20%, transparent 22%),
    radial-gradient(ellipse 60% 44% at 50% 100%, rgba(62, 230, 176, 0.6) 0 98%, transparent 100%),
    rgba(62, 230, 176, 0.1);
  box-shadow: 0 0 0 1.5px rgba(62, 230, 176, 0.55);
  animation: pv-ghost 3s ease-in-out infinite;
}

.pv-dots i.is-ready:nth-child(6) { animation-delay: -1s; }
.pv-dots i.is-ready:nth-child(9) { animation-delay: -2s; }

@keyframes pv-ghost {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.pv-unseen {
  padding-bottom: 1px;
  border-bottom: 1px dashed rgba(62, 230, 176, 0.5);
  color: #86f2cf;
  font-family: var(--font-mono);
  font-size: 10.5px;
}

.pv-arrow svg {
  width: 18px;
  height: 18px;
  color: var(--warn);
}

.pv-ext {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px 6px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 181, 71, 0.45);
  background: rgba(255, 181, 71, 0.12);
  color: #ffd08a;
  font-size: 11.5px;
  font-weight: 500;
  white-space: nowrap;
}

.pv-ext svg {
  width: 14px;
  height: 14px;
}

@container (max-width: 314px) {
  .pv-arrow {
    display: none;
  }
}

@container (max-width: 299px) {
  .pv-people-in {
    gap: 12px;
  }

  .pv-dots {
    grid-template-columns: repeat(6, 17px);
    gap: 6px;
  }

  .pv-dots i {
    width: 17px;
    height: 17px;
  }

  .pv-ext {
    padding: 5px 9px 5px 7px;
    font-size: 11px;
  }
}

@container (max-width: 252px) {
  .pv-people-in {
    flex-direction: column;
    gap: 10px;
  }

  .pv-bench {
    justify-items: center;
  }

  .pv-bench-k {
    display: none;
  }
}

@media (max-width: 420px) {
  .prob > p {
    padding-left: 0;
  }
}

/* --------------------------------------------------------------------------
   Solve — sticky stacking walkthrough
   -------------------------------------------------------------------------- */
.sv {
  display: grid;
  gap: 28px;
  align-items: center;
  min-height: clamp(460px, 62vh, 560px);
  padding: clamp(22px, 3vw, 40px);
  border-radius: 30px;
  border: 1px solid var(--line-2);
  background:
    radial-gradient(80% 100% at 0% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%),
    radial-gradient(60% 80% at 100% 100%, color-mix(in srgb, var(--accent-2) 9%, transparent), transparent 60%),
    linear-gradient(180deg, #121630, #0a0c19);
  box-shadow: 0 -24px 60px -12px rgba(0, 0, 0, 0.65);
}

.sv::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 90%, white 10%), transparent);
}

.sv > * {
  min-width: 0;
}

@media (min-width: 960px) {
  .sv {
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
    gap: 40px;
  }
}

.sv-copy {
  display: grid;
  gap: 12px;
}

.sv-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.sv-label svg {
  width: 13px;
  height: 13px;
}

.sv-label--problem {
  color: #ff9aaa;
}

.sv-label--solution {
  color: var(--mint);
}

.sv-problem {
  position: relative;
  display: grid;
  gap: 7px;
  justify-items: start;
  padding: 16px 64px 18px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 107, 129, 0.22);
  background:
    radial-gradient(90% 120% at 0% 0%, rgba(255, 107, 129, 0.1), transparent 70%),
    rgba(5, 6, 11, 0.35);
}

.sv-problem h3 {
  color: #ffdce2;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.sv-problem p {
  color: var(--text-3);
  font-size: 0.95rem;
  line-height: 1.55;
}

.sv-num {
  position: absolute;
  top: 12px;
  right: 16px;
  color: transparent;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.05em;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--accent) 70%, transparent);
}

/* the turn from problem to solution */
.sv-turn {
  position: relative;
  display: block;
  width: 2px;
  height: 26px;
  margin-left: 26px;
  border-radius: 2px;
  background: linear-gradient(rgba(255, 107, 129, 0.6), var(--mint));
}

.sv-turn i {
  position: absolute;
  left: -3px;
  top: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px var(--mint);
  animation: sv-drop 1.8s ease-in infinite;
}

@keyframes sv-drop {
  0% { top: -4px; opacity: 0; }
  20% { opacity: 1; }
  100% { top: calc(100% - 4px); opacity: 0; }
}

.sv-solution {
  display: grid;
  gap: 10px;
  justify-items: start;
  padding-left: 4px;
}

.sv-solution h3 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 1.1rem + 1.35vw, 2.2rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.sv-solution > p:not(.ai-tag) {
  max-width: 46ch;
  color: var(--text-2);
  font-size: 1.04rem;
}

.sv .ai-tag span[data-type] {
  min-width: 1ch;
}

.sv-visual::before {
  opacity: 0.4;
}

/* 01 commit gate */
.sv-gate {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 32%, transparent);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}

.sv-gate strong {
  display: block;
  color: var(--text);
  font-size: 13.5px;
  font-weight: 600;
}

.sv-gate div > span {
  display: block;
  color: var(--text-3);
  font-size: 12px;
}

/* 02 pods */
.sv-pods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.sv-pod {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.sv-pod span {
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 11px;
}

.sv-pod strong {
  color: var(--good);
  font-size: 14px;
  font-weight: 600;
}

.sv-pod.is-off {
  border-color: rgba(255, 181, 71, 0.35);
  background: rgba(255, 181, 71, 0.06);
}

.sv-pod.is-off strong {
  color: var(--warn);
}

/* 03 forecast */
.sv-forecast {
  position: relative;
  height: 128px;
}

.sv-forecast .bars {
  height: 100%;
  gap: 0;
}

.sv-forecast .bars i {
  margin-inline: 5%;
}

.sv-demand {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.sv-demand-path {
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 0;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.6));
  transition: stroke-dashoffset 1.8s var(--ease-out) 0.6s;
}

.reveal-ready .sv-visual .sv-demand-path { stroke-dashoffset: 100; }
.reveal-ready .sv-visual.is-in .sv-demand-path { stroke-dashoffset: 0; }

.sv-dot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: #0f1226;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
  transform: translate(-50%, -50%);
}

.sv-axis {
  justify-content: space-around;
}

/* 05 hiring cohort */
.sv-bar-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.sv-bar-key {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 11px;
}

.sv-bar-key b {
  width: 2px;
  height: 14px;
  border-radius: 2px;
  background: var(--text);
  box-shadow: 0 0 0 3px rgba(12, 15, 29, 0.9);
}

.cand.is-below {
  border-color: rgba(255, 181, 71, 0.3);
  background: rgba(255, 181, 71, 0.05);
}

.cand.is-below .ring {
  background: conic-gradient(var(--warn) calc(var(--pv) * 1%), rgba(255, 255, 255, 0.08) 0);
}

.sv-quality {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-3);
  font-size: 12.5px;
}

.sv-quality .meter {
  flex: 1;
}

.sv-quality .mono {
  color: var(--text);
  font-size: 11.5px;
}

@media (max-width: 959px) {
  .sv {
    min-height: 0;
  }
}

@media (max-width: 520px) {
  .sv-problem {
    padding-right: 54px;
  }

  .sv-num {
    font-size: 2rem;
  }

  .sv .window-meta .live,
  .sv .window-meta .chip {
    display: none;
  }

  .sv .tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .sv .tile {
    padding: 10px 11px;
  }
}

/* --------------------------------------------------------------------------
   Logos — light sheet (pattern shared with the homepage)
   -------------------------------------------------------------------------- */
.trust {
  padding: clamp(2rem, 4vw, 3rem) clamp(8px, 1.5vw, 20px);
}

.trust-sheet {
  position: relative;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  border-radius: clamp(24px, 3vw, 40px);
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(91, 140, 255, 0.14), transparent 70%),
    linear-gradient(rgba(11, 16, 32, 0.045) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(11, 16, 32, 0.045) 1px, transparent 1px) 0 0 / 48px 48px,
    #f4f6fc;
  color: #0b1020;
  overflow: hidden;
  isolation: isolate;
}

.trust-head {
  display: grid;
  justify-items: center;
  gap: 1rem;
  text-align: center;
}

.trust .h2 {
  color: #0b1020;
}

.trust .hl {
  --hl-grad: linear-gradient(100deg, #2f5be0, #7c3aed 60%, #0891b2);
}

.trust-sub {
  max-width: 62ch;
  color: #4a5272;
  font-size: 1.02rem;
}

.logo-rows {
  display: grid;
  gap: clamp(1rem, 2.4vw, 1.8rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.logo-rows .marquee {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.logo-track {
  --gap: clamp(3rem, 6vw, 5.5rem);
}

.logo-track li {
  display: flex;
  align-items: center;
  height: 66px;
}

.logo-track img {
  width: auto;
  height: 36px;
  max-width: 200px;
  object-fit: contain;
  mix-blend-mode: multiply;
  opacity: 0.82;
  transition: opacity 0.3s, transform 0.3s var(--ease);
}

.logo-track img.logo--wide {
  height: 30px;
}

.logo-track img.logo--tall {
  height: 50px;
}

.logo-track li:hover img {
  opacity: 1;
  transform: scale(1.06);
}

/* --------------------------------------------------------------------------
   Customer voices
   -------------------------------------------------------------------------- */
.uc-voices {
  overflow: hidden;
}

/* Two large quotes per view (the shared minmax() collapses to its minimum
   inside a scroll container, so size the tracks explicitly). */
.uc-stories .carousel-viewport {
  grid-auto-columns: calc((100% - 18px) / 2);
  padding: 2px 2px 6px;
}

@media (max-width: 960px) {
  .uc-stories .carousel-viewport {
    grid-auto-columns: 80%;
  }
}

@media (max-width: 620px) {
  .uc-stories .carousel-viewport {
    grid-auto-columns: 88%;
  }
}

.story {
  justify-content: space-between;
  gap: 1.6rem;
  min-height: 390px;
  padding: clamp(24px, 3vw, 38px);
  border-radius: 28px;
  background:
    radial-gradient(90% 70% at 0% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 65%),
    radial-gradient(60% 60% at 100% 100%, color-mix(in srgb, var(--accent-2) 8%, transparent), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008)),
    var(--panel);
}

/* oversized ghost quote glyph */
.story > blockquote {
  position: relative;
  flex: 1;
}

.story-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.story .quote-mark {
  width: 46px;
  height: 46px;
  color: var(--accent);
  filter: drop-shadow(0 0 18px color-mix(in srgb, var(--accent) 55%, transparent));
}

.story-org {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--accent-text);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  white-space: nowrap;
}

@media (max-width: 620px) {
  .story .quote-mark {
    width: 36px;
    height: 36px;
  }

  .story-org {
    font-size: 0.68rem;
  }
}

.story blockquote p {
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1.14rem, 0.98rem + 0.55vw, 1.42rem);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.015em;
}

/* Full-length customer quotes read better a step smaller */
.story--long blockquote p {
  font-size: clamp(1rem, 0.94rem + 0.25vw, 1.12rem);
  line-height: 1.6;
  letter-spacing: -0.005em;
}

.story .cite {
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
}

.story .avatar {
  width: 48px;
  height: 48px;
  font-size: 14px;
  box-shadow: 0 0 0 3px rgba(5, 6, 11, 0.9), 0 0 0 4px color-mix(in srgb, var(--accent) 55%, transparent), 0 12px 30px -8px var(--accent);
}

.uc-stories .carousel-controls {
  margin-top: 1.8rem;
}

/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */
.uc-cta .aurora i:nth-child(1) { --c: #4f7cff; --o: 0.3; left: 30%; top: -40%; }
.uc-cta .aurora i:nth-child(2) { --c: #22d3ee; --o: 0.14; left: 70%; top: 30%; }
.uc-cta .aurora i:nth-child(3) { --c: #8b5cf6; --o: 0.2; left: -6%; top: 20%; }

.cta-merge {
  display: grid;
  justify-items: center;
  width: min(620px, 100%);
}

.cta-merge-chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-items: center;
  width: 100%;
}

.cta-merge-chips .chip {
  padding: 6px 12px;
  background: rgba(5, 6, 11, 0.6);
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 0.74rem;
}

.cta-merge-lines {
  width: 100%;
  height: 40px;
  overflow: visible;
}

.cta-merge-lines path {
  fill: none;
  stroke: color-mix(in srgb, var(--accent) 70%, white 10%);
  stroke-width: 1.5;
  stroke-dasharray: 3 6;
  vector-effect: non-scaling-stroke;
  animation: cta-flow 1.2s linear infinite;
}

@keyframes cta-flow {
  to { stroke-dashoffset: -18; }
}

.cta-merge-core {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent);
  background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--accent) 45%, transparent), transparent 70%), var(--panel-2);
  box-shadow: 0 0 50px -6px color-mix(in srgb, var(--accent) 80%, transparent);
}

.cta-merge-core img {
  width: 32px;
  height: 32px;
}

@media (max-width: 620px) {
  .cta-merge-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
  }

  .cta-merge-lines {
    display: none;
  }

  .cta-merge-core {
    margin-top: 14px;
  }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .reveal-ready .prob .pv-fill,
  .reveal-ready .prob .pv-cols i,
  .reveal-ready .prob .pv-meter .pv-track i,
  .reveal-ready .prob .pv-tl-span {
    transform: none !important;
  }

  .reveal-ready .prob .pv-gapzone {
    opacity: 1 !important;
  }

  .reveal-ready .sv-visual .sv-demand-path {
    stroke-dashoffset: 0 !important;
  }

  .dw-pk,
  .sv-turn i {
    display: none;
  }
}
