.proof-motion-intro,
.pilot-deliverable-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .7fr);
  align-items: center;
  gap: clamp(20px, 4vw, 48px);
}

.proof-motion-intro {
  margin-bottom: 32px;
}

.proof-motion-copy p {
  max-width: 52ch;
  margin: 16px 0 0;
}

.work-motion-panel {
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #79baaa55;
  border-radius: 16px;
  background:
    radial-gradient(ellipse at center, #2e655b80, transparent 76%),
    repeating-linear-gradient(90deg, #91ceb410 0 1px, transparent 1px 22px),
    repeating-linear-gradient(0deg, #91ceb410 0 1px, transparent 1px 22px),
    #0e2935;
  box-shadow: inset 0 1px #c5f7e316, 0 12px 28px #09242d26;
}

.work-motion-panel svg {
  display: block;
  width: min(100%, 380px);
  height: auto;
}

.work-motion-guide {
  stroke: #7bbfa7;
  stroke-width: 1.4;
  stroke-dasharray: 2 5;
  opacity: .55;
}

.work-motion-card {
  fill: #153a43;
  stroke: #6db69e;
  stroke-width: 1.5;
}

.work-motion-line {
  stroke: #79b6a3;
  stroke-width: 2;
  stroke-linecap: round;
}

.work-motion-check {
  stroke: #c7fce5;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.proof-check-disc {
  fill: #245b54;
}

.work-motion-trace {
  opacity: 0;
  stroke: #beffe3;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.pilot-connector-trace {
  stroke-dasharray: .2 .8;
}

.reconciliation-sample {
  margin: 0 0 28px;
  padding: clamp(14px, 3vw, 32px);
  border: 1px solid #b9cec3;
  border-radius: 16px;
}

.reconciliation-sample .section-heading h4 {
  margin: 8px 0 0;
  font-family: Manrope, Arial, sans-serif;
  font-size: clamp(23px, 3vw, 32px);
  font-weight: 500;
  line-height: 1.25;
}

.theme-dark .reconciliation-sample {
  border-color: #35575d;
}

@media (prefers-reduced-motion: no-preference) {
  :root:not(.motion-paused):not(.tab-inactive) .work-motion-panel.motion-visible .proof-row-trace {
    animation: work-motion-trace 1.4s ease-out .15s 1;
  }

  :root:not(.motion-paused):not(.tab-inactive) .work-motion-panel.motion-visible .proof-check-trace {
    animation: work-motion-trace 1s ease-out .9s 1;
  }

  :root:not(.motion-paused):not(.tab-inactive) .work-motion-panel.motion-visible .pilot-connector-trace {
    animation: work-motion-trace 1.9s ease-in-out .15s 1;
  }

  :root:not(.motion-paused):not(.tab-inactive) .work-motion-panel.motion-visible .pilot-motion-node {
    animation: pilot-node-highlight .8s ease-out var(--pilot-step-delay, 0s) 1;
  }

  .pilot-motion-panel .pilot-motion-node:nth-of-type(2) { --pilot-step-delay: .55s; }
  .pilot-motion-panel .pilot-motion-node:nth-of-type(3) { --pilot-step-delay: 1.1s; }

  @keyframes work-motion-trace {
    0% { opacity: 0; stroke-dashoffset: 1; }
    20%, 72% { opacity: 1; }
    100% { opacity: 0; stroke-dashoffset: 0; }
  }

  @keyframes pilot-node-highlight {
    50% { filter: drop-shadow(0 0 8px #8ef5c5bb); }
  }
}

@media (max-width: 700px) {
  .proof-motion-intro,
  .pilot-deliverable-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}
