

@property --ambient {
  syntax: "<color>";
  inherits: true;
  initial-value: #46e4ff;
}

.innovation-presentation {
  --ambient: var(--pst-cyan);
  transition: --ambient 600ms ease;
}

.lab-rail {
  position: sticky;
  top: var(--header-h);
  z-index: 20;
  border-block: 1px solid var(--pst-line);
  background: #0a1022e0;
  backdrop-filter: blur(12px);
}

.lab-rail-track {
  display: flex;
  gap: 4px;
  width: var(--frame);
  margin-inline: auto;
  overflow-x: auto;
  scrollbar-width: none;
}

.lab-rail a {
  position: relative;
  flex: none;
  padding: 14px 16px 15px;
  color: var(--pst-muted);
  font-size: var(--type-small);
  font-weight: 600;
  white-space: nowrap;
  transition: color var(--time-state);
}

.lab-rail a::after {
  content: "";
  position: absolute;
  inset: auto 12px -1px;
  height: 2px;
  background: var(--ambient);
  box-shadow: 0 0 10px var(--ambient);
  transform: scaleX(0);
  transition: transform var(--time-state) var(--ease-arrive);
}

.lab-rail a:hover,
.lab-rail a:focus-visible,
.lab-rail a[aria-current] {
  color: #fff;
}

.lab-rail a[aria-current]::after {
  transform: scaleX(1);
}

.chapter {
  position: relative;
  scroll-margin-top: calc(var(--header-h) + 50px);
  background: radial-gradient(ellipse 50% 44% at 82% 18%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 72%);
}

.chapter--mirror {
  background: radial-gradient(ellipse 50% 44% at 18% 18%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 72%);
}

.chapter-head {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  align-items: center;
  gap: clamp(20px, 4vw, 64px);
  margin-bottom: clamp(28px, 4vw, 52px);
}

.chapter--mirror .chapter-head {
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
}

.chapter--mirror .chapter-figure {
  grid-column: 1;
  grid-row: 1;
}

.chapter--product .chapter-head h2 {
  margin-bottom: 0.25em;
  font-size: clamp(2.6rem, 6vw, 5.25rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
  background: linear-gradient(120deg, #fff 30%, color-mix(in srgb, var(--accent) 70%, #fff));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.chapter-head p {
  margin: 0;
  color: #d3dcf5;
  font-size: var(--type-lead);
}

.chapter-head p + p {
  margin-top: 0.9em;
}

.chapter-figure {
  position: relative;
  display: grid;
  place-items: center;
}

.chapter-figure::before {
  content: "";
  position: absolute;
  bottom: 8%;
  width: 74%;
  aspect-ratio: 4.2;
  border: 1px solid color-mix(in srgb, var(--accent) 70%, transparent);
  border-radius: 50%;
  background: radial-gradient(ellipse, color-mix(in srgb, var(--accent) 50%, transparent), transparent 70%);
  box-shadow: 0 0 36px color-mix(in srgb, var(--accent) 70%, transparent);
}

.chapter-art {
  position: relative;
  width: min(100%, 320px);
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 0 26px color-mix(in srgb, var(--accent) 55%, transparent));
  transition: filter 900ms var(--ease-arrive);
}

#platinumzero .chapter-art {
  scale: 0.66;
  translate: 0 2%;
}

.stage-lineup a[href$="#platinumzero"] img {
  scale: 0.7;
  translate: 0 16%;
}

#swarm .chapter-art {
  scale: 0.78;
  translate: 0 4%;
}

.stage-lineup a[href$="#swarm"] img {
  scale: 0.84;
  translate: 0 15%;
}

#codesweep .chapter-art {
  scale: 0.66;
  translate: 0 2%;
}

.stage-lineup a[href$="#codesweep"] img {
  scale: 0.7;
  translate: 0 16%;
}

.stage-lineup a[href$="#ai-agents-tooling"] img {
  translate: 0 8%;
}

.js .chapter-figure:not(.is-inview) .chapter-art {
  filter: brightness(0.28) saturate(0.2);
}

.chapter-head p + .text-link {
  margin-top: 22px;
}

.chapter-head:last-child {
  margin-bottom: 0;
}

.chapter .cc + p {
  margin-top: 22px;
}

.chapter .cc ~ p {
  max-width: none;
  color: var(--pst-dim);
}

.innovation-presentation .an {
  margin-bottom: clamp(36px, 5vw, 64px);
  --an-cyan: var(--pst-cyan);
  --an-teal: var(--pst-teal);
  --an-confirm: var(--pst-green);
  --an-text: var(--pst-text);
  --an-muted: var(--pst-muted);
}

.innovation-presentation .an-hub img {
  width: 68%;
  height: 68%;
}

.innovation-presentation [data-an-profile="human"] .an-portrait img {
  padding: 6%;
  object-fit: contain;
}

.innovation-presentation .cc {
  --cc-text: var(--pst-text);
  --cc-accent: var(--pst-cyan);
  --cc-confirm: var(--pst-green);
  --cc-font: var(--font-code);
  --cc-font-ui: var(--font);
}

.assurance-deck {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 4vw, 56px);
}

.assurance-deck article {
  padding-left: 22px;
  border-left: 2px solid var(--accent);
}

.assurance-deck p {
  margin-bottom: 0;
}
.review-path {
  --steps: 7;
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--steps), minmax(0, 1fr));
  gap: 18px;
  margin: clamp(36px, 5vw, 64px) 0 28px;
  padding: 0;
  list-style: none;
  counter-reset: review-step;
}

.review-path::before {
  content: "";
  position: absolute;
  top: 13px;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--pst-line);
}

.review-path::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pst-cyan), var(--pst-purple) 70%, var(--pst-green));
  box-shadow: 0 0 10px #46e4ff80;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.8s linear;
}

.review-path.is-inview::after {
  transform: scaleX(1);
}

.review-path li {
  position: relative;
  padding-top: 42px;
  counter-increment: review-step;
  font-size: var(--type-small);
  line-height: 1.5;
}

.review-path li::before {
  content: counter(review-step);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid var(--pst-line-strong);
  border-radius: 50%;
  background: var(--pst-deep);
  color: var(--pst-muted);
  font-size: var(--type-min);
  font-weight: 700;
  transition: border-color 300ms, color 300ms, box-shadow 300ms, background 300ms;
}

.review-path.is-inview li::before {
  border-color: var(--pst-cyan);
  color: #fff;
  box-shadow: 0 0 12px #46e4ff80;
}

.review-path.is-inview li:last-child::before {
  border-color: var(--pst-green);
  background: var(--pst-green);
  color: #06170a;
  box-shadow: 0 0 16px #2fc646b3;
}

.review-path li:nth-child(2)::before {
  transition-delay: calc(1.8s / var(--steps) * 1);
}

.review-path li:nth-child(3)::before {
  transition-delay: calc(1.8s / var(--steps) * 2);
}

.review-path li:nth-child(4)::before {
  transition-delay: calc(1.8s / var(--steps) * 3);
}

.review-path li:nth-child(5)::before {
  transition-delay: calc(1.8s / var(--steps) * 4);
}

.review-path li:nth-child(6)::before {
  transition-delay: calc(1.8s / var(--steps) * 5);
}

.review-path li:nth-child(7)::before {
  transition-delay: calc(1.8s / var(--steps) * 6);
}

.review-path strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
}

.review-stage-open {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-align: left;
  text-transform: inherit;
  cursor: pointer;
}

.review-stage-open:focus-visible {
  outline: none;
}

.review-stage-open::after {
  content: "";
  position: absolute;
  inset: -8px -6px;
  z-index: 2;
  border-radius: 8px;
}

.review-stage-open:focus-visible::after {
  outline: 2px solid var(--pst-cyan);
}

.review-stage-open::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  box-sizing: border-box;
  width: 27px;
  height: 27px;
  border: 2px solid var(--pst-cyan);
  border-radius: 50%;
  box-shadow: 0 0 18px #46e4ffb3, inset 0 0 6px #46e4ff66;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms;
}

.review-path li:last-child .review-stage-open::before {
  border-color: var(--pst-green);
  box-shadow: 0 0 20px #2fc646d9, inset 0 0 6px #2fc64666;
}

.review-path li.is-hovered .review-stage-open::before,
.review-stage-open:focus-visible::before {
  opacity: 1;
}

.review-stage-open strong {
  transition: color 200ms, text-shadow 200ms;
}

.review-path li.is-hovered .review-stage-open strong,
.review-stage-open:focus-visible strong {
  color: #fff;
  text-shadow: 0 0 10px #46e4ff80;
}

.review-dialog {
  --review-origin-x: 50%;
  --review-origin-y: 50%;
  width: min(640px, calc(100vw - 32px));
  max-height: min(86dvh, 780px);
  padding: 0;
  border: 0;
  overflow: hidden;
  background:
    linear-gradient(118deg, transparent 30%, #9fd4ff12 47%, transparent 64%),
    radial-gradient(ellipse 80% 60% at 0% 0%, #2c57c466, transparent 70%),
    radial-gradient(ellipse 70% 60% at 100% 100%, #7a3fd94d, transparent 70%),
    linear-gradient(155deg, #111d44, #0b1128 60%, #0a0d20);
  color: var(--pst-text);
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
  box-shadow: inset 0 0 0 1px #9fb8ff80, inset 0 1px 0 #ffffff40;
  transform-origin: var(--review-origin-x) var(--review-origin-y);
}

.review-dialog[open] {
  display: flex;
  flex-direction: column;
  animation: review-dialog-in 300ms cubic-bezier(0.2, 0.75, 0.3, 1);
}

.review-dialog.is-closing {
  animation: review-dialog-out 200ms ease-in forwards;
}

.review-dialog::backdrop {
  background: #050814d1;
  backdrop-filter: blur(6px);
}

.review-dialog-close {
  position: absolute;
  top: 14px;
  right: 34px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #7589cf66;
  background: #101a3ae6;
  color: var(--pst-text);
  cursor: pointer;
  transition: border-color 200ms, background 200ms;
}

.review-dialog-close:hover,
.review-dialog-close:focus-visible {
  border-color: var(--pst-cyan);
  background: #1a2a5c;
}

.review-dialog-body {
  flex: 1;
  min-height: 0;
  padding: clamp(22px, 4vw, 40px) clamp(20px, 4vw, 40px) 8px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.review-stage-title {
  margin: 0 0 8px;
  padding-right: 58px;
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.review-stage-title:focus {
  outline: none;
}

.review-stage-label {
  margin: 22px 0 8px;
  color: var(--pst-cyan);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.review-stage p {
  margin: 0 0 10px;
  color: var(--pst-muted);
}

.review-stage-list {
  margin: 0 0 10px;
  padding-left: 1.25em;
  color: var(--pst-muted);
}

.review-stage-list li {
  margin-bottom: 6px;
}

.review-dialog-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px clamp(20px, 4vw, 40px) 18px;
  border-top: 1px solid #7589cf66;
  background: #0a102299;
}

.review-dialog-step {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid #7589cf66;
  background: transparent;
  color: var(--pst-text);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color 200ms, background 200ms;
}

.review-dialog-step--next {
  margin-left: auto;
}

.review-dialog-step[hidden] {
  display: none;
}

.review-dialog-step:hover,
.review-dialog-step:focus-visible {
  border-color: var(--pst-cyan);
  background: #1a2a5c;
}

.agents-intro {
  max-width: 900px;
  margin-bottom: clamp(26px, 4vw, 48px);
}

.agents-intro p {
  max-width: 72ch;
  color: #d3dcf5;
  font-size: var(--type-lead);
}

.agents-service-nav {
  margin-top: 24px;
  text-align: center;
}

.agents-service-nav p {
  max-width: none;
  margin: 0 0 8px;
}

@keyframes review-dialog-in {
  from {
    opacity: 0;
    filter: brightness(1.8);
    transform: scale(0.86);
  }
}

@keyframes review-dialog-out {
  to {
    opacity: 0;
    transform: scale(0.92);
  }
}

@keyframes review-sheet-in {
  from {
    opacity: 0.6;
    transform: translateY(40px);
  }
}

@media (min-width: 721px) and (max-width: 1282px) {
  
  #platinumzero .chapter-art,
  #swarm .chapter-art,
  #codesweep .chapter-art {
    translate: 0 3%;
  }
}

@media (min-width: 721px) and (max-width: 1000px) {
  
  #swarm .chapter-art,
  #codesweep .chapter-art {
    translate: 0 7%;
  }
}

@media (min-width: 721px) and (max-width: 860px) {
  
  .review-path strong {
    font-size: 0.8125rem;
  }
}

@media (max-width: 720px) {
  
  .chapter-head,
  .chapter--mirror .chapter-head,
  .assurance-deck {
    grid-template-columns: minmax(0, 1fr);
  }

  .chapter-figure,
  .chapter--mirror .chapter-figure {
    grid-column: 1;
    grid-row: 1;
  }

  .chapter-art {
    width: min(64%, 240px);
  }

  .review-path {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .review-path::before {
    top: 0;
    bottom: 0;
    left: 13px;
    width: 1px;
    height: auto;
  }

  .review-path::after {
    top: 0;
    bottom: 0;
    left: 12px;
    width: 3px;
    height: auto;
    transform: scaleY(0);
    transform-origin: top;
  }

  .review-path.is-inview::after {
    transform: scaleY(1);
  }

  .review-path li {
    padding: 2px 0 0 44px;
  }

  .review-stage-open::after {
    inset: -9px -6px;
  }

  .review-dialog {
    width: 100%;
    max-width: none;
    max-height: 88dvh;
    margin: auto 0 0;
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
  }

  .review-dialog[open] {
    animation: review-sheet-in 280ms cubic-bezier(0.2, 0.75, 0.3, 1);
  }

  .review-dialog-close {
    top: 10px;
    right: 24px;
  }

  .review-dialog-step {
    flex: 1;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  
  .innovation-presentation,
  .lab-rail a::after,
  .chapter-art,
  .review-path::after,
  .review-path li::before,
  .review-stage-open::before,
  .review-stage-open strong,
  .review-dialog-close,
  .review-dialog-step {
    transition: none;
  }

  .review-dialog[open],
  .review-dialog.is-closing {
    animation: none;
  }
}
