/* Scene styling; common frame and typography are owned by hero-layout.css. */
.software-kicker {
  color: #695873;
}
.software-copy h1 em {
  font-style: normal;
  color: rgb(130, 65, 234);
}
.software-copy p {
  color: #695873;
}
.software-copy > a {
  font-weight: 600;
}
.build-lab {
  position: relative;
  perspective: 1000px;
  --drift-y: 0px;
  --drift-r: 0deg;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 20px 0px 20px;
}
.lab-orbit {
  position: absolute;
  top: 5%;
  right: 8%;
  bottom: 15%;
  left: 8%;
  transform: rotate(-20deg);
  animation: orbit-breathe 13s ease-in-out 0s infinite alternate none;
  animation-play-state: var(--scene-motion, running);
  border-radius: 50%;
  background: radial-gradient(rgba(223, 201, 255, 0.333), transparent 70%) transparent;
  border: 1px solid rgb(226, 214, 241);
}
.lab-window {
  position: relative;
  transform: translateY(var(--drift-y)) rotateY(-8deg) rotateX(5deg) rotateZ(var(--drift-r));
  box-shadow: rgb(237, 230, 244) 6px 9px 0px, rgba(117, 74, 146, 0.125) 0px 25px 50px;
  overflow-x: hidden;
  overflow-y: hidden;
  transition-behavior: normal;
  transition-duration: 0s;
  transition-timing-function: ease;
  transition-delay: 0s;
  transition-property: none;
  border-radius: 16px;
  background: none rgb(255, 255, 255);
  border: 1px solid rgb(221, 208, 239);
}
.lab-bar {
  display: flex;
  align-items: center;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: rgb(238, 231, 246);
  font-style: normal;
  font-variant-ligatures: normal;
  font-feature-settings: normal;
  font-weight: normal;
  font-size: 11px;
  line-height: normal;
  font-family: monospace;
  color: #695873;
  padding: 15px 18px;
  gap: 20px;
}
.window-dots {
  letter-spacing: 3px;
  color: rgb(201, 184, 220);
}
.lab-badge {
  margin-left: auto;
  font-size: 8px;
  letter-spacing: 0.1em;
}
.lab-workspace {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr;
  min-height: 250px;
  align-items: center;
  height: clamp(250px, 20.5vw, 310px);
  padding: 20px 18px;
  gap: 12px;
}
.lab-code {
  font-style: normal;
  font-variant-ligatures: normal;
  font-feature-settings: normal;
  font-weight: normal;
  font-size: clamp(11px, 1vw, 14px);
  line-height: 26px;
  font-family: monospace;
  color: rgb(87, 69, 99);
  white-space-collapse: collapse;
  text-wrap-mode: nowrap;
  height: clamp(218px, 18.35vw, 278px);
  overflow-x: hidden;
  overflow-y: hidden;
  scrollbar-width: none;
  mask-image: linear-gradient(transparent, rgb(0, 0, 0) 15px, rgb(0, 0, 0) calc(100% - 2px), transparent);
  padding-top: 8px;
}
.lab-code i {
  font-style: normal;
  color: #695873;
  margin-right: 12px;
  font-size: 9px;
  flex-shrink: 0;
  width: 18px;
}
.syntax {
  color: rgb(139, 64, 221);
}
.value {
  color: rgb(185, 127, 49);
}
.lab-result {
  transform: none;
  opacity: 1;
  transition-behavior: normal, normal;
  transition-duration: 0.5s, 0.5s;
  transition-timing-function: ease, ease;
  transition-delay: 0s, 0s;
  transition-property: opacity, transform;
  display: block;
  min-width: 0px;
  box-shadow: rgba(117, 81, 143, 0.03) 0px 8px 22px;
  padding: 14px 12px;
  border-radius: 10px;
  background: linear-gradient(140deg, rgb(251, 248, 255), rgb(255, 255, 255)) transparent;
  border: 1px solid rgb(226, 213, 241);
}
.mini-top {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: rgb(99, 68, 133);
  min-height: 28px;
  align-items: center;
  gap: 8px;
}
.mini-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  color: rgb(154, 120, 183);
  border-top-width: 1px;
  border-top-style: solid;
  border-top-color: rgb(234, 223, 244);
  padding-top: 9px;
  margin-top: 9px;
  white-space-collapse: collapse;
  text-wrap-mode: nowrap;
  gap: 5px;
}
.lab-console {
  display: flex;
  border-top-width: 1px;
  border-top-style: solid;
  border-top-color: rgb(238, 231, 244);
  font-style: normal;
  font-variant-ligatures: normal;
  font-feature-settings: normal;
  font-weight: normal;
  font-size: 10px;
  line-height: 1.5;
  font-family: inherit;
  color: #695873;
  min-height: 48px;
  padding: 15px 20px;
  gap: 12px;
  background: none rgb(249, 246, 252);
}
.console-arrow {
  color: rgb(155, 87, 230);
}
.floating-token {
  position: absolute;
  display: grid;
  align-items: center;
  justify-items: center;
  color: #695873;
  font-style: normal;
  font-variant-ligatures: normal;
  font-feature-settings: normal;
  font-weight: normal;
  font-size: 24px;
  line-height: normal;
  font-family: monospace;
  box-shadow: rgba(105, 72, 138, 0.082) 0px 9px 22px;
  pointer-events: none;
  border-radius: 12px;
  background: none rgb(252, 249, 255);
  border: 1px solid rgb(224, 207, 238);
}
.token-one {
  width: 52px;
  height: 52px;
  left: 0px;
  top: 10px;
  transform: rotate(-12deg);
  animation: token-drift 8s ease-in-out 0s infinite alternate none;
  animation-play-state: var(--scene-motion, running);
}
.token-two {
  width: 58px;
  height: 58px;
  right: 0px;
  top: 260px;
  transform: rotate(10deg);
  animation: token-drift 11s ease-in-out 0s infinite alternate-reverse none;
  animation-play-state: var(--scene-motion, running);
}
.build-controls {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 12px;
  height: 30px;
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: auto;
  gap: 14px;
}
.build-controls button {
  color: rgb(124, 111, 144);
  cursor: pointer;
  min-width: 0px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 400;
  box-shadow: none;
  display: grid;
  align-items: center;
  justify-items: center;
  width: 30px;
  height: 30px;
  opacity: 0.7;
  padding: 5px;
  border-radius: 0px;
  background: none transparent;
  border: 0;
}
.build-controls button:disabled {
  opacity: 0.65;
  cursor: wait;
}
.build-controls button span {
  margin-left: 16px;
}
.lab-note {
  text-align: right;
  font-size: 9px;
  color: #695873;
  margin-top: 0px;
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: auto;
}
.mini-top > span {
  animation: status-glow 3.7s ease-in-out 0s infinite normal none;
  animation-play-state: var(--scene-motion, running);
}
.build-lab.motion-paused .lab-code > div {
  transition-behavior: normal;
  transition-duration: 0s;
  transition-timing-function: ease;
  transition-delay: 0s;
  transition-property: none;
}
.lab-code .stream-row {
  height: 26px;
  white-space-collapse: preserve;
  text-wrap-mode: nowrap;
  display: flex;
  align-items: center;
  transition-behavior: normal;
  transition-duration: 0s;
  transition-timing-function: ease;
  transition-delay: 0s;
  transition-property: none;
  color: rgb(121, 104, 134);
  background: none transparent;
}
.lab-code .stream-row span {
  overflow-x: visible;
  overflow-y: visible;
  text-overflow: clip;
  position: relative;
  font-variant-ligatures: none;
}
.mini-top b {
  transition-behavior: normal;
  transition-duration: 0.5s;
  transition-timing-function: ease;
  transition-delay: 0s;
  transition-property: color;
}
.lab-code .stream-row.line-active {
  color: rgb(120, 59, 185);
  background: linear-gradient(90deg, rgba(237, 226, 252, 0.6), transparent) transparent;
}
.line-active span::after {
  content: "";
  display: inline-block;
  height: 12px;
  width: 1px;
  margin-left: 2px;
  vertical-align: middle;
  animation: cursor-glow 1.8s ease-in-out 0s infinite normal none;
  animation-play-state: var(--scene-motion, running);
  background: none rgb(153, 101, 204);
}
.live-preview {
  display: block;
  width: 100%;
  height: auto;
  overflow-x: visible;
  overflow-y: visible;
  margin: 10px 0px 0px 0px;
}
.preview-links path {
  fill: none;
  stroke-width: 1.6;
}
.build-lab.motion-paused, .build-lab.offscreen {
  --scene-motion: paused;
}
.build-controls button:hover {
  color: rgb(116, 59, 192);
  opacity: 1;
}
.build-controls button:focus-visible {
  outline-color: rgb(167, 130, 210);
  outline-style: solid;
  outline-width: 2px;
  outline-offset: 6px;
}
.build-controls button svg {
  width: 16px;
  height: 16px;
}

@media (min-width: 901px) {
  .floating-token.token-one {
    left: 0px;
    top: 36px;
  }
  .floating-token.token-two {
    right: 0px;
    top: 350px;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .lab-workspace {
    padding: 18px 10px;
    gap: 8px;
  }
}

@media (max-width: 900px) {
  .build-lab {
    padding: 18px 8px 0px 8px;
  }
  .lab-window {
    border-radius: 12px;
  }
  .lab-bar {
    font-size: 10px;
    padding: 12px;
    gap: 12px;
  }
  .lab-workspace {
    display: grid;
    grid-template-columns: minmax(0px, 1.2fr) minmax(0px, 0.85fr);
    height: 205px;
    min-height: 205px;
    padding: 12px 10px;
    gap: 8px;
  }
  .lab-code {
    height: 180px;
    font-size: 10px;
    min-width: 0px;
  }
  .lab-code i {
    margin-right: 6px;
    width: 15px;
    font-size: 8px;
  }
  .lab-result {
    display: block;
    max-width: none;
    width: auto;
    margin: 0px;
    padding: 10px 8px;
  }
  .live-preview {
    height: 108px;
    max-height: 108px;
    object-fit: contain;
  }
  .mini-top {
    font-size: 8px;
  }
  .mini-bottom {
    font-size: 7px;
  }
  .lab-console {
    min-height: 38px;
    font-size: 9px;
    line-height: 1.5;
    padding: 10px 12px;
  }
  .build-controls {
    height: 40px;
    margin-top: 6px;
  }
  .lab-note {
    font-size: 8px;
  }
  .floating-token {
    font-size: 17px;
    width: 35px;
    height: 35px;
  }
  .token-one {
    top: 0px;
    left: 0px;
  }
  .token-two {
    top: 230px;
    right: 0px;
  }
  .build-controls button {
    width: 40px;
    height: 40px;
    padding: 5px;
  }
}

@media (max-width: 380px) {
  .lab-code {
    font-size: 8px;
  }
  .lab-code i {
    font-size: 7px;
    margin-right: 4px;
    width: 12px;
  }
  .lab-badge {
    font-size: 6px;
  }
  .mini-bottom {
    font-size: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lab-result {
    transition-behavior: normal;
    transition-duration: 0s;
    transition-timing-function: ease;
    transition-delay: 0s;
    transition-property: none;
  }
  .build-lab * {
    transition-behavior: normal;
    transition-duration: 0s;
    transition-timing-function: ease;
    transition-delay: 0s;
    transition-property: none;
    animation: none;
    animation-play-state: running;
  }
  .lab-window {
    transform: rotateY(-8deg) rotateX(5deg);
  }
  .line-active span::after {
    animation: none;
    animation-play-state: running;
  }
}
@keyframes orbit-breathe { 
  0% { transform: rotate(-20deg) scale(0.96); opacity: 0.5; }
  100% { transform: rotate(-9deg) scale(1.04); opacity: 1; }
}
@keyframes token-drift { 
  0% { translate: 0px -4px; rotate: -3deg; }
  100% { translate: 3px 6px; rotate: 3deg; }
}
@keyframes cursor-glow { 
  0%, 100% { opacity: 0.25; }
  50% { opacity: 1; }
}
@keyframes status-glow { 
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}
