/* ==========================================================================
   Zigtal — Skill Intelligence (accent: blue → cyan)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.si-hero .aurora i:nth-child(1) { --c: #4f7cff; --o: 0.34; left: 48%; top: -24%; }
.si-hero .aurora i:nth-child(2) { --c: #22d3ee; --o: 0.2; left: 78%; top: 24%; }
.si-hero .aurora i:nth-child(3) { --c: #8b5cf6; --o: 0.14; left: -10%; top: 44%; }

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

.si-hero .page-title {
  font-size: clamp(2.6rem, 1.15rem + 3.7vw, 4.3rem);
}

.si-hero .pill-tag svg {
  width: 12px;
  height: 12px;
}

.si-hero-points {
  gap: 0.6rem;
}

.si-hero-points li {
  color: var(--text);
  font-weight: 500;
}

/* Signature visual ------------------------------------------------------- */
.si-hero-visual::before {
  background: radial-gradient(closest-side, rgba(79, 124, 255, 0.5), rgba(34, 211, 238, 0.18) 60%, transparent);
}

.si-stage {
  position: relative;
}

.si-matrix-window .window-body {
  gap: 14px;
  padding-bottom: 86px;
}

/* readiness strip: ring · label · team rows */
.si-ready {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 14px 16px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background:
    radial-gradient(80% 140% at 0% 50%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%),
    rgba(255, 255, 255, 0.02);
}

.si-ready-ring {
  --size: 76px;
  --stroke: 7px;
  background: conic-gradient(var(--accent-2), var(--accent) calc(var(--pv) * 1%), rgba(255, 255, 255, 0.08) 0);
  box-shadow: 0 0 34px -6px color-mix(in srgb, var(--accent) 70%, transparent);
}

.si-ready-label {
  display: grid;
  gap: 2px;
  max-width: 9.5em;
}

.si-ready-label strong {
  color: var(--text);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.25;
}

.si-ready-label span {
  color: var(--text-3);
  font-size: 11.5px;
}

.si-team-rows .row {
  grid-template-columns: minmax(0, 84px) minmax(0, 1fr) 24px;
  gap: 10px;
  padding: 5px 0;
  font-size: 12px;
}

/* heatmap with a scanning band and pulsing gaps */
.si-matrix {
  position: relative;
}

.si-matrix::after {
  content: "";
  position: absolute;
  top: 14px;
  bottom: -4px;
  left: 0;
  width: 18%;
  border-radius: 8px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent-2) 26%, transparent), transparent);
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  animation: si-scan 6s var(--ease) infinite 1.4s;
}

@keyframes si-scan {
  0% { translate: 40% 0; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { translate: 450% 0; opacity: 0; }
}

.si-matrix .heatmap i.is-gap {
  animation: si-gap 2.4s ease-in-out infinite 1.8s;
}

@keyframes si-gap {
  50% { box-shadow: 0 0 0 3px rgba(255, 181, 71, 0.2), 0 0 24px rgba(255, 181, 71, 0.85); }
}

/* floating cards, layered over the bottom of the window */
.si-floats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
  align-items: start;
  gap: 14px;
  margin: -74px 18px 0 -28px;
}

.si-float {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  animation: si-bob 7s ease-in-out infinite;
}

.si-float > * + * {
  margin-top: 0;
}

.si-float--risk {
  border-color: rgba(255, 181, 71, 0.32);
  background:
    radial-gradient(90% 70% at 0% 0%, rgba(255, 181, 71, 0.1), transparent 70%),
    rgba(14, 17, 34, 0.94);
}

.si-float--signal {
  margin-top: 36px;
  animation-delay: -3.5s;
}

@keyframes si-bob {
  50% { translate: 0 -8px; }
}

.js .si-stage.animate .si-float {
  opacity: 0;
  scale: 0.94;
  transition: opacity 0.8s var(--ease-out) 0.7s, scale 0.9s var(--ease-spring) 0.7s;
}

.js .si-stage.animate .si-float--signal {
  transition-delay: 0.9s;
}

.js .si-stage.animate.is-in .si-float {
  opacity: 1;
  scale: 1;
}

.si-float-head .ai-tag span {
  min-width: 1ch;
}

.si-risk {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.si-risk-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(255, 181, 71, 0.14);
  color: var(--warn);
}

.si-risk-icon svg {
  width: 15px;
  height: 15px;
}

.si-risk-text strong {
  display: block;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.si-risk-text span {
  display: block;
  color: var(--text-3);
  font-size: 11.5px;
  line-height: 1.35;
}

.si-float .ai-note {
  padding: 10px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: none;
  color: var(--text-3);
  font-size: 12px;
}

.si-float--signal .viz-title {
  font-size: 14px;
}

.si-float--signal .bars {
  height: 58px;
  gap: 5px;
}

/* gentle "live" breathing on the signal bars (scale composes with the entrance transform) */
.si-float--signal .bars i {
  transform-origin: 50% 100%;
  animation: si-breathe 2.6s ease-in-out infinite alternate;
  animation-delay: calc(var(--i, 0) * -0.37s);
}

@keyframes si-breathe {
  to { scale: 1 0.74; }
}

.si-float--signal .viz-foot {
  font-size: 12px;
}

.si-float--signal .chips {
  gap: 6px;
}

/* two-column hero on narrow desktops: give the team meters the label's room */
@media (min-width: 1000px) and (max-width: 1199px) {
  .si-ready {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .si-ready-label,
  .si-risk .tag {
    display: none;
  }
}

@media (max-width: 999px) {
  .si-floats {
    margin: -64px 12px 0;
  }
}

@media (max-width: 560px) {
  .si-ready {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .si-team-rows {
    grid-column: 1 / -1;
  }

  .si-ready-label {
    max-width: none;
  }

  .si-matrix-window .window-body {
    padding-bottom: 64px;
  }

  .si-floats {
    grid-template-columns: minmax(0, 1fr);
    margin: -48px 8px 0;
  }

  .si-float--signal {
    margin-top: 0;
  }
}

/* --------------------------------------------------------------------------
   Capabilities bento
   -------------------------------------------------------------------------- */
.si-caps-head {
  max-width: 1000px;
}

.si-caps-head .lead {
  max-width: 52ch;
}

.si-cap {
  min-height: 0;
  gap: 12px;
}

.si-cap .ai-tag {
  margin-top: 4px;
}

.si-cap .ai-tag span {
  min-width: 1ch;
}

/* mini visual frame */
.si-viz {
  position: relative;
  height: 168px;
  margin-bottom: 6px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background:
    radial-gradient(110% 90% at 50% 0%, color-mix(in srgb, var(--accent) 13%, transparent), transparent 70%),
    radial-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px) 0 0 / 16px 16px,
    rgba(5, 6, 11, 0.5);
  color: var(--text-3);
  font-size: 12px;
  line-height: 1.4;
  overflow: hidden;
  transition: border-color 0.4s;
}

.si-cap:hover .si-viz {
  border-color: color-mix(in srgb, var(--accent) 35%, transparent);
}

.si-viz-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 11px;
}

/* 01 · wide card: copy + live org chart */
.si-cap--wide {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  align-items: stretch;
  gap: clamp(20px, 2.6vw, 34px);
}

.si-cap-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  padding-block: 8px;
}

.si-cap-copy .link-arrow {
  margin-top: 8px;
}

.si-cap--wide h3 {
  font-size: clamp(1.4rem, 1.1rem + 0.8vw, 1.75rem);
}

.si-viz--org {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: auto;
  min-height: 268px;
  margin: 0;
  padding: 16px;
}

.si-seg {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 3px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.03);
}

.si-seg span {
  position: relative;
  z-index: 1;
  padding: 4px 10px;
  color: var(--text-3);
  text-align: center;
  animation: si-seg-on 9s infinite;
}

.si-seg span:nth-of-type(1) { color: #fff; }
.si-seg span:nth-of-type(2) { animation-delay: -6s; }
.si-seg span:nth-of-type(3) { animation-delay: -3s; }

.si-seg-thumb {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc((100% - 6px) / 3);
  border-radius: 7px;
  background: color-mix(in srgb, var(--accent) 26%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 55%, transparent), 0 0 18px -4px var(--accent);
  animation: si-thumb 9s var(--ease) infinite;
}

@keyframes si-thumb {
  0%, 31% { translate: 0 0; }
  34%, 64% { translate: 100% 0; }
  67%, 97% { translate: 200% 0; }
  100% { translate: 0 0; }
}

@keyframes si-seg-on {
  0%, 31% { color: #fff; }
  34%, 97% { color: var(--text-3); }
  100% { color: #fff; }
}

.si-org {
  position: relative;
  flex: 1;
  min-height: 150px;
}

.si-org-set.bars {
  position: absolute;
  inset: 0;
  height: auto;
  gap: 6px;
  opacity: 0;
  animation: si-set 9s infinite;
}

.si-org-set:nth-of-type(1) { opacity: 1; }
.si-org-set:nth-of-type(2) { animation-delay: -6s; }
.si-org-set:nth-of-type(3) { animation-delay: -3s; }

@keyframes si-set {
  0%, 31% { opacity: 1; translate: 0 0; }
  34%, 97% { opacity: 0; translate: 0 6px; }
  100% { opacity: 1; translate: 0 0; }
}

.si-org-set i {
  background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent-2) 26%, transparent));
}

.si-org-set i.is-gap {
  background: linear-gradient(180deg, var(--warn), rgba(255, 181, 71, 0.18));
  box-shadow: 0 0 16px -2px rgba(255, 181, 71, 0.55);
}

.si-org-th {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 62%;
  z-index: 1;
  border-top: 1px dashed rgba(255, 255, 255, 0.45);
  pointer-events: none;
}

.si-org-th em {
  position: absolute;
  right: 0;
  bottom: 4px;
  padding: 1px 6px;
  border-radius: 5px;
  background: rgba(5, 6, 11, 0.8);
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 10px;
  font-style: normal;
}

/* 02 · skill → goal → priority chain */
.si-chain {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 4px;
}

.si-node {
  display: grid;
  flex: none;
  justify-items: center;
  gap: 8px;
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 11px;
}

.si-node i {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  background:
    radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--accent) 34%, transparent), transparent 70%),
    var(--panel-2);
  color: var(--accent-text);
  animation: si-node 3.6s ease-in-out infinite;
  animation-delay: calc(var(--n, 0) * 1.2s);
}

.si-node i svg {
  width: 21px;
  height: 21px;
}

.si-node--out i {
  border-color: rgba(62, 230, 176, 0.5);
  background:
    radial-gradient(circle at 30% 20%, rgba(62, 230, 176, 0.3), transparent 70%),
    var(--panel-2);
  color: var(--mint);
}

@keyframes si-node {
  0%, 45%, 100% { box-shadow: 0 0 0 0 transparent; }
  15% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 16%, transparent), 0 0 26px color-mix(in srgb, var(--accent) 60%, transparent); }
}

.si-wire {
  position: relative;
  flex: 1;
  height: 2px;
  margin: 0 8px;
  border-radius: 2px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 65%, transparent), color-mix(in srgb, var(--accent-2) 65%, transparent));
  translate: 0 -11px;
}

.si-wire b {
  position: absolute;
  top: -3px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px var(--accent-2);
  animation: si-travel 2.4s linear infinite;
}

.si-wire--late b {
  animation-delay: -1.2s;
}

@keyframes si-travel {
  0% { left: 0; opacity: 0; }
  15%, 85% { opacity: 1; }
  100% { left: calc(100% - 8px); opacity: 0; }
}

/* 03 · signals converge into one source */
.si-merge-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.si-merge-lines path {
  fill: none;
  stroke: color-mix(in srgb, var(--accent) 60%, transparent);
  stroke-width: 1.4;
  stroke-dasharray: 3 5;
  vector-effect: non-scaling-stroke;
  animation: si-flow 1.1s linear infinite;
}

@keyframes si-flow {
  to { stroke-dashoffset: -16; }
}

.si-src {
  position: absolute;
  left: 12px;
  top: var(--y);
  z-index: 1;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(12, 15, 29, 0.96);
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 10.5px;
  transform: translateY(-50%);
}

.si-core {
  position: absolute;
  right: 12%;
  top: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 40%, transparent), transparent 70%), var(--panel-2);
  box-shadow: 0 0 40px -4px color-mix(in srgb, var(--accent) 80%, transparent);
  transform: translate(50%, -50%);
}

.si-core img {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.si-core-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: conic-gradient(from var(--spin), transparent 0 55%, var(--accent-2) 80%, var(--accent) 92%, transparent);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px));
  animation: spin 3s linear infinite;
}

/* 04 · readiness line dipping under the bar */
.si-plot {
  position: relative;
  height: 104px;
  margin-top: 12px;
}

.si-plot .chart-line {
  position: absolute;
  inset: 0;
  height: 100%;
  overflow: visible;
}

.si-plot .draw-line {
  stroke-width: 2.4;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.si-plot-th {
  fill: none;
  stroke: rgba(255, 255, 255, 0.4);
  stroke-width: 1;
  stroke-dasharray: 4 4;
  vector-effect: non-scaling-stroke;
}

.si-plot-dot {
  position: absolute;
  width: 11px;
  height: 11px;
  margin: -5.5px 0 0 -5.5px;
  border-radius: 50%;
  border: 2px solid #0c0f1d;
  background: var(--warn);
  opacity: 0;
  transition: opacity 0.4s 1.1s;
}

.is-in .si-plot-dot {
  opacity: 1;
  animation: si-ping 1.8s ease-out infinite 1.5s;
}

@keyframes si-ping {
  0% { box-shadow: 0 0 0 0 rgba(255, 181, 71, 0.7); }
  80%, 100% { box-shadow: 0 0 0 12px rgba(255, 181, 71, 0); }
}

.si-plot-label {
  position: absolute;
  right: 0;
  top: calc(34 / 80 * 100% - 17px);
  color: var(--text-4);
  font-family: var(--font-mono);
  font-size: 10px;
}

/* 05 · spend reallocated to real gaps */
.si-alloc-wrap {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  margin-top: 14px;
}

.si-alloc-ring {
  --size: 92px;
  --stroke: 8px;
  background: conic-gradient(var(--accent-2), var(--accent) calc(var(--pv) * 1%), rgba(255, 255, 255, 0.08) 0);
  box-shadow: 0 0 30px -8px color-mix(in srgb, var(--accent) 80%, transparent);
}

.si-alloc {
  display: grid;
  gap: 11px;
}

.si-alloc-row {
  display: grid;
  gap: 6px;
}

.si-alloc-row > span {
  color: var(--text-2);
  font-size: 12px;
}

.si-alloc-row .meter {
  height: 8px;
}

.si-alloc-row .meter i {
  position: relative;
  overflow: hidden;
}

.si-alloc-row .meter i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  translate: -100% 0;
  animation: si-shine 3.2s var(--ease) infinite 1.6s;
}

.si-alloc-row:nth-child(2) .meter i::after {
  animation-delay: 2s;
}

@keyframes si-shine {
  60%, 100% { translate: 100% 0; }
}

.si-alloc-row.is-off > span {
  color: var(--text-4);
  text-decoration: line-through;
  text-decoration-color: rgba(255, 107, 129, 0.7);
}

.si-alloc-row.is-off .meter i {
  background: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.si-alloc-row.is-off .meter i::after {
  display: none;
}

@media (max-width: 960px) {
  .si-bento .si-cap--wide {
    grid-column: span 2;
  }
}

@media (max-width: 720px) {
  .si-cap--wide {
    grid-template-columns: minmax(0, 1fr);
  }

  .si-viz--org {
    min-height: 240px;
  }
}

@media (max-width: 620px) {
  .si-bento .si-cap--wide {
    grid-column: auto;
  }
}

.si-viz--org .si-viz-head {
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .si-seg span {
    padding: 4px 8px;
  }
}

/* --------------------------------------------------------------------------
   Proof points — light sheet
   -------------------------------------------------------------------------- */
.si-proof {
  padding: 0 clamp(8px, 1.5vw, 20px);
}

.si-sheet {
  position: relative;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  border-radius: clamp(24px, 3vw, 40px);
  background:
    radial-gradient(60% 55% at 50% 0%, rgba(91, 140, 255, 0.2), transparent 70%),
    radial-gradient(40% 60% at 100% 100%, rgba(34, 211, 238, 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;
}

.si-proof-head {
  display: grid;
  justify-items: center;
  gap: 0.9rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}

.si-sheet .kicker {
  color: #2f5be0;
}

.si-sheet .h2 {
  color: #0b1020;
}

.si-sheet .hl,
.si-sheet .hl-w {
  --hl-grad: linear-gradient(100deg, #2f5be0, #6d3fe0 55%, #0891b2);
}

.si-stats {
  border-color: rgba(11, 16, 32, 0.1);
  background: rgba(11, 16, 32, 0.1);
  box-shadow: 0 50px 90px -50px rgba(11, 16, 32, 0.45);
}

.si-stats .stat {
  gap: 0.9rem;
  min-height: 260px;
  padding: clamp(28px, 3.4vw, 44px);
  background: linear-gradient(180deg, #ffffff, #f7f9ff);
  overflow: hidden;
  isolation: isolate;
  transition: background 0.4s;
}

@media (max-width: 640px) {
  .si-stats .stat {
    min-height: 0;
    gap: 0.6rem;
  }

  .si-stats .stat p {
    margin-top: 0;
  }

  .si-ghost {
    font-size: 7.5rem;
  }
}

.si-stats .stat:hover {
  background: linear-gradient(180deg, #ffffff, #eef3ff);
}

.si-stats .stat strong {
  font-size: clamp(3.6rem, 2rem + 4.6vw, 6.2rem);
  background: linear-gradient(110deg, #1d3fae 5%, #4f7cff 45%, #0891b2 95%);
  -webkit-background-clip: text;
  background-clip: text;
}

.si-stats .stat p {
  max-width: 24ch;
  margin-top: auto;
  color: #3d4566;
  font-size: 1.05rem;
  line-height: 1.5;
}

.si-ghost {
  position: absolute;
  right: -0.05em;
  bottom: -0.2em;
  z-index: -1;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(8rem, 5rem + 7vw, 13rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.07em;
  -webkit-text-stroke: 1.5px rgba(79, 124, 255, 0.16);
  pointer-events: none;
  transition: -webkit-text-stroke-color 0.4s, transform 0.8s var(--ease-out);
}

.si-stats .stat:hover .si-ghost {
  -webkit-text-stroke-color: rgba(79, 124, 255, 0.32);
  transform: translate(-8px, -6px);
}

/* --------------------------------------------------------------------------
   Maturity ladder
   -------------------------------------------------------------------------- */
.si-maturity {
  overflow: hidden;
  isolation: isolate;
}

.si-maturity .aurora i:nth-child(1) { --c: #4f7cff; --o: 0.14; left: 62%; top: 30%; }
.si-maturity .aurora i:nth-child(2) { --c: #22d3ee; --o: 0.1; left: 80%; top: 55%; }
.si-maturity .aurora i:nth-child(3) { --c: #8b5cf6; --o: 0.08; left: -10%; top: 10%; }

.si-ladder .step {
  gap: 0.9rem;
  padding: 22px 22px 22px;
  isolation: isolate;
  transition: border-color 0.4s, translate 0.5s var(--ease);
}

.si-ladder .step:hover {
  translate: 0 -6px;
  border-color: var(--line-2);
}

.si-ladder .step h3 {
  font-size: 1.24rem;
}

.si-ladder .step:not(.is-zigtal) .icon-box {
  --accent: #7d88b8;
  color: var(--text-2);
}

.si-ladder .step:nth-child(2) .icon-box { --accent: #6f86d6; }
.si-ladder .step:nth-child(3) .icon-box { --accent: #5b8cff; }

.si-step-num {
  position: absolute;
  right: 14px;
  bottom: 30px;
  z-index: -1;
  color: transparent;
  font-family: var(--font-display);
  font-size: 5.6rem;
  font-weight: 600;
  line-height: 0.8;
  letter-spacing: -0.06em;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.07);
  pointer-events: none;
}

.si-ladder .step:not(.is-zigtal) .step-bar i {
  background: linear-gradient(90deg, rgba(125, 136, 184, 0.6), var(--accent));
}

.si-ladder .is-zigtal {
  overflow: visible;
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
  box-shadow: 0 30px 90px -30px color-mix(in srgb, var(--accent) 80%, transparent), 0 0 0 1px color-mix(in srgb, var(--accent) 12%, transparent);
}

.si-ladder .is-zigtal::before {
  inset: -1.5px;
  padding: 1.5px;
}

.si-ladder .is-zigtal::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  top: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #fff, transparent);
  opacity: 0.7;
}

.si-ladder .is-zigtal .step-level {
  color: var(--accent-text);
}

.si-ladder .is-zigtal .si-step-num {
  -webkit-text-stroke-color: color-mix(in srgb, var(--accent) 38%, transparent);
}

.si-ladder .step-flag img {
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

.si-step-chips {
  gap: 6px;
}

.si-step-chips .chip {
  padding: 3px 9px;
}

.si-ladder-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem 2rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(22px, 3vw, 34px);
  border-radius: 26px;
  background:
    radial-gradient(60% 140% at 0% 50%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%),
    var(--panel);
}

.si-closing {
  max-width: 36ch;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1rem + 0.9vw, 1.7rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

@media (max-width: 640px) {
  .si-ladder-foot .btn {
    width: 100%;
    white-space: normal;
  }
}

/* --------------------------------------------------------------------------
   Use cases — stacking cards
   -------------------------------------------------------------------------- */
.si-uc {
  display: grid;
  align-items: center;
  gap: 26px;
  min-height: clamp(400px, 56vh, 500px);
  padding: clamp(22px, 3.2vw, 42px);
  border-radius: 30px;
  border: 1px solid var(--line-2);
  background:
    radial-gradient(80% 100% at 0% 0%, color-mix(in srgb, var(--accent) 17%, 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);
}

.si-uc::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);
}

.si-uc > * {
  min-width: 0;
}

@media (min-width: 960px) {
  .si-uc {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 40px;
  }
}

.si-uc-copy {
  display: grid;
  justify-items: start;
  gap: 14px;
}

.si-uc .uc-num {
  font-size: clamp(3.2rem, 5vw, 4.8rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  -webkit-text-stroke: 1.2px color-mix(in srgb, var(--accent) 75%, transparent);
}

.si-uc-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-text);
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.si-uc-tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.si-uc h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.15rem + 1.5vw, 2.35rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.si-uc-copy > p:last-child {
  max-width: 40ch;
  color: var(--text-3);
  font-size: 1.05rem;
}

.si-uc .window-body .ai-note {
  font-size: 12.5px;
}

.si-uc .avatar.c-cyan,
.si-uc .avatar.c-violet {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.si-inits {
  display: grid;
  gap: 10px;
}

.si-init {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.si-init .meter {
  grid-column: 1 / -1;
}

.si-init-name {
  color: var(--text);
  font-size: 13.5px;
  font-weight: 500;
}

.si-uc .tiles {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 520px) {
  .si-uc .tile {
    padding: 10px;
  }

  .si-uc .tile strong {
    font-size: 19px;
  }

  .si-uc .tile span {
    font-size: 11px;
  }
}

.si-trend {
  height: 84px;
  color: var(--accent);
}

.si-trend .draw-line {
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 6px color-mix(in srgb, var(--accent) 70%, transparent));
}

.si-uc .rows .row {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 30px auto;
}

@media (max-width: 520px) {
  .si-uc .rows .row {
    grid-template-columns: minmax(0, 110px) minmax(0, 1fr) 26px;
  }
}

/* --------------------------------------------------------------------------
   Integrations hub
   -------------------------------------------------------------------------- */
.si-band {
  background:
    radial-gradient(60% 120% at 100% 50%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 70%),
    radial-gradient(40% 60% at 0% 100%, color-mix(in srgb, var(--accent-2) 10%, transparent), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.005)),
    var(--panel);
}

.si-hub {
  width: min(100%, 400px);
}

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

.si-spokes path {
  fill: none;
  stroke: color-mix(in srgb, var(--accent) 55%, transparent);
  stroke-width: 1.2;
  stroke-dasharray: 3 6;
  vector-effect: non-scaling-stroke;
  animation: si-flow-in 1.3s linear infinite;
}

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

/* Centre labels with `translate` (applied after the counter-rotation) so they stay on the ring;
   the shared rule centres with `transform`, which the rotation then swings off the orbit. */
.si-hub .hub-orbit > span {
  transform: none;
  translate: -50% -50%;
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line-2));
  box-shadow: 0 8px 24px -10px color-mix(in srgb, var(--accent) 60%, transparent);
}

.si-hub .hub-core::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid color-mix(in srgb, var(--accent) 70%, transparent);
  animation: ripple 2.8s var(--ease-out) infinite;
}

.si-hub .hub-core img {
  border-radius: 50%;
}

@media (max-width: 480px) {
  .si-hub .hub-orbit > span {
    padding: 5px 9px;
    font-size: 0.68rem;
  }

  .si-hub .hub-core {
    width: 76px;
    height: 76px;
    border-radius: 22px;
  }

  .si-hub .hub-core img {
    width: 42px;
    height: 42px;
  }
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.si-faq-head {
  justify-items: start;
  gap: 1.2rem;
  margin-bottom: 0;
}

.si-faq-head .h2 {
  font-size: clamp(2.8rem, 1.6rem + 4vw, 5rem);
}

/* --------------------------------------------------------------------------
   Final CTA
   -------------------------------------------------------------------------- */
.si-cta .cta-panel .aurora i:nth-child(1) { --c: #4f7cff; --o: 0.3; left: 22%; top: -40%; }
.si-cta .cta-panel .aurora i:nth-child(2) { --c: #22d3ee; --o: 0.18; left: 66%; top: 30%; }
.si-cta .cta-panel .aurora i:nth-child(3) { --c: #8b5cf6; --o: 0.16; left: -12%; top: 40%; }

.si-cta {
  padding-top: clamp(0.5rem, 2vw, 1.5rem);
}

.si-cta .cta-panel .h2 {
  max-width: 24ch;
  font-size: clamp(2rem, 1.15rem + 2.7vw, 3.3rem);
}

/* --------------------------------------------------------------------------
   Reduced motion: no movement, everything visible
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .si-matrix::after {
    display: none;
  }

  .js .si-stage.animate .si-float {
    opacity: 1;
    scale: none;
  }

  .si-plot-dot {
    opacity: 1;
  }

  .si-wire b {
    left: calc(50% - 4px);
  }

  .si-alloc-row .meter i::after {
    display: none;
  }
}
