.stage-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.stage-readout {
  position: absolute;
  z-index: 2;
  top: 22px;
  left: 22px;
  display: grid;
  gap: 6px;
  color: #777e86;
  font-size: 8px;
  letter-spacing: .16em;
}

.stage-readout strong {
  color: #d9dde1;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 22px;
  font-weight: 450;
  letter-spacing: -.04em;
}

.stage-readout small {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #777e86;
  font-size: 8px;
  letter-spacing: .04em;
}

.stage-readout i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 10px var(--acid);
}

.stage-readout b {
  color: #b8c5cc;
  font: inherit;
}

.hero-stage {
  overflow: clip;
  border: 1px solid rgba(176, 205, 222, .15);
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 45%, rgba(80, 132, 174, .2), transparent 34%),
    radial-gradient(circle at 92% 8%, rgba(168, 145, 255, .11), transparent 34%),
    linear-gradient(145deg, rgba(16, 24, 31, .72), rgba(5, 8, 11, .92) 58%, rgba(8, 13, 17, .82));
  box-shadow:
    inset 0 1px rgba(255, 255, 255, .07),
    inset 0 -1px rgba(122, 231, 255, .06),
    0 34px 90px rgba(0, 0, 0, .42);
}

.hero-stage::before {
  content: "";
  position: absolute;
  z-index: 8;
  inset: 7px;
  border: 1px solid rgba(151, 187, 207, .08);
  border-radius: 20px;
  background:
    linear-gradient(90deg, rgba(122, 231, 255, .55), transparent 26%) top left / 92px 1px no-repeat,
    linear-gradient(180deg, rgba(122, 231, 255, .55), transparent 26%) top left / 1px 92px no-repeat,
    linear-gradient(270deg, rgba(168, 145, 255, .48), transparent 24%) bottom right / 92px 1px no-repeat,
    linear-gradient(0deg, rgba(168, 145, 255, .48), transparent 24%) bottom right / 1px 92px no-repeat;
  pointer-events: none;
}

.hero-stage::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: -24%;
  left: 52%;
  width: 1px;
  height: 148%;
  background: linear-gradient(transparent, rgba(122, 231, 255, .2) 42%, rgba(122, 231, 255, .05) 58%, transparent);
  box-shadow: 0 0 34px rgba(122, 231, 255, .16);
  opacity: .7;
  transform: rotate(17deg);
  pointer-events: none;
}

.hero-stage.has-three {
  border-color: rgba(151, 196, 219, .2);
}

.stage-chrome {
  position: absolute;
  z-index: 4;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font: 600 7px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .14em;
  pointer-events: none;
}

.stage-chrome span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #788892;
}

.stage-chrome i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(122, 231, 255, .8);
}

.stage-chrome b {
  padding: 6px 8px;
  border: 1px solid rgba(122, 231, 255, .12);
  border-radius: 999px;
  background: rgba(7, 13, 17, .52);
  color: #a5b4bd;
  font: inherit;
}

.surface-scope {
  position: absolute;
  z-index: 4;
  top: 22px;
  left: 22px;
  width: min(242px, 46%);
  padding: 12px 14px;
  display: grid;
  gap: 5px;
  border-left: 1px solid rgba(200, 255, 83, .42);
  background: linear-gradient(90deg, rgba(8, 13, 17, .76), transparent);
  pointer-events: none;
}

.surface-scope span,
.surface-scope small {
  color: #71808a;
  font: 600 7px/1.35 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .08em;
}

.surface-scope strong {
  color: #d9e2e6;
  font-size: 11px;
  font-weight: 590;
  line-height: 1.35;
}

.surface-scope small {
  color: #85939b;
  font-weight: 500;
  letter-spacing: 0;
}

.hero-stage .stage-grid-mesh {
  opacity: .16;
  background-size: 38px 38px;
  mask-image: radial-gradient(ellipse at 50% 44%, #000 0 28%, transparent 78%);
}

.hero-stage .orbit {
  border-color: rgba(142, 190, 215, .13);
  box-shadow: 0 0 32px rgba(122, 231, 255, .025);
}

.surface-title {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 4px;
  margin-top: 11px;
}

.surface-title small {
  overflow: hidden;
  color: #667984;
  font: 600 6px/1.2 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .12em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.surface-title strong {
  color: #e2e8ec;
  font-size: 10px;
  font-weight: 590;
  line-height: 1.35;
  letter-spacing: -.01em;
}

.mini-surface {
  --surface-accent: var(--violet);
  --surface-accent-rgb: 168, 145, 255;
  width: 204px;
  min-height: 154px;
  padding: 12px 13px 11px;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(181, 203, 215, .17);
  border-radius: 16px;
  background:
    linear-gradient(128deg, rgba(255, 255, 255, .065), transparent 25%),
    radial-gradient(circle at 92% -8%, rgba(var(--surface-accent-rgb), .16), transparent 38%),
    linear-gradient(180deg, rgba(14, 20, 26, .94), rgba(6, 10, 14, .88));
  box-shadow:
    inset 0 1px rgba(255, 255, 255, .08),
    inset 0 -1px rgba(var(--surface-accent-rgb), .08),
    0 22px 50px rgba(0, 0, 0, .5),
    0 0 0 1px rgba(0, 0, 0, .22);
  backdrop-filter: blur(24px) saturate(138%);
  transition: border-color .35s ease, box-shadow .35s ease, filter .35s ease;
}

.mini-surface::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0;
  right: 17px;
  left: 17px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--surface-accent), transparent);
  box-shadow: 0 0 12px rgba(var(--surface-accent-rgb), .42);
  opacity: .8;
}

.mini-surface::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .02) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: linear-gradient(115deg, #000, transparent 64%);
  pointer-events: none;
}

.mini-surface > * {
  position: relative;
  z-index: 2;
}

.surface-code {
  top: 84px;
  right: 14px;
}

.surface-research {
  --surface-accent: var(--acid);
  --surface-accent-rgb: 200, 255, 83;
  top: 306px;
  left: 14px;
}

.surface-data {
  --surface-accent: var(--cyan);
  --surface-accent-rgb: 122, 231, 255;
  top: 330px;
  right: 14px;
  bottom: auto;
}

.mini-surface header {
  min-height: 19px;
  padding-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid rgba(255, 255, 255, .075);
  color: #82909a;
  font: 550 7px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .08em;
}

.mini-surface .surface-window {
  width: auto;
  height: auto;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 3px;
  border-radius: 0;
  background: transparent;
}

.mini-surface .surface-window i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #46525a;
}

.mini-surface .surface-window i:first-child {
  background: rgba(var(--surface-accent-rgb), .95);
  box-shadow: 0 0 7px rgba(var(--surface-accent-rgb), .65);
}

.mini-surface header b {
  margin: 0;
  color: #9cabb4;
  font-weight: 590;
}

.mini-surface header small {
  margin-left: auto;
  padding: 3px 5px;
  border: 1px solid rgba(var(--surface-accent-rgb), .18);
  border-radius: 999px;
  background: rgba(var(--surface-accent-rgb), .055);
  color: var(--surface-accent);
  font: 650 6px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .12em;
}

.mini-surface footer {
  min-height: 0;
  margin: 9px 0 0;
  padding: 8px 0 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  color: #778892;
  font: 520 6px/1.25 "SFMono-Regular", Consolas, monospace;
}

.mini-surface footer em {
  width: 5px;
  height: 5px;
  background: var(--surface-accent);
  box-shadow: 0 0 9px rgba(var(--surface-accent-rgb), .8);
}

.mini-surface footer span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-surface footer b {
  color: #aab8c0;
  font: 600 6px/1 "SFMono-Regular", Consolas, monospace;
  white-space: nowrap;
}

.mini-surface .code-lines {
  gap: 5px;
  margin-top: 10px;
  counter-reset: code-line;
}

.mini-surface .code-lines i {
  width: 100%;
  height: 3px;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--surface-accent) 0 18%, #65727c 18% 72%, transparent 72%);
  box-shadow: none;
  opacity: .86;
}

.mini-surface .code-lines i:nth-child(2) {
  width: 81%;
  margin-left: 12px;
  background: linear-gradient(90deg, var(--cyan) 0 24%, #46525c 24%);
}

.mini-surface .code-lines i:nth-child(3) {
  width: 91%;
}

.mini-surface .code-lines i:nth-child(4) {
  width: 68%;
  margin-left: 12px;
  background: linear-gradient(90deg, var(--acid) 0 13%, #46525c 13%);
}

.mini-surface .code-lines i:nth-child(5) {
  width: 78%;
}

.mini-surface .research-map {
  height: 46px;
  margin-top: 7px;
}

.mini-surface .research-map i {
  width: 20px;
  height: 20px;
  border-color: rgba(200, 255, 83, .27);
  background: radial-gradient(circle, rgba(200, 255, 83, .2), rgba(7, 12, 15, .78) 58%);
  box-shadow: 0 0 14px rgba(200, 255, 83, .055);
}

.mini-surface .research-map i:nth-child(1) {
  left: 10px;
  top: 5px;
}

.mini-surface .research-map i:nth-child(2) {
  left: 78px;
  top: 20px;
  border-color: rgba(122, 231, 255, .34);
  background: radial-gradient(circle, rgba(122, 231, 255, .22), rgba(7, 12, 15, .78) 58%);
}

.mini-surface .research-map i:nth-child(3) {
  right: 8px;
  top: 2px;
  border-color: rgba(168, 145, 255, .34);
  background: radial-gradient(circle, rgba(168, 145, 255, .23), rgba(7, 12, 15, .78) 58%);
}

.mini-surface .research-map b {
  left: 27px;
  right: 25px;
  top: 22px;
  background: linear-gradient(90deg, var(--acid), var(--cyan) 52%, var(--violet));
  box-shadow: 0 0 8px rgba(122, 231, 255, .22);
}

.mini-surface .bars {
  position: relative;
  height: 47px;
  margin-top: 7px;
  gap: 6px;
}

.mini-surface .bars::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: rgba(147, 173, 188, .14);
}

.mini-surface .bars i {
  border-radius: 3px 3px 1px 1px;
  background: linear-gradient(180deg, rgba(122, 231, 255, .44), rgba(122, 231, 255, .08));
  box-shadow: inset 0 1px rgba(255, 255, 255, .13);
}

.mini-surface .bars i:nth-child(4) {
  background: linear-gradient(180deg, var(--violet), rgba(168, 145, 255, .15));
}

.mini-surface .bars i:nth-child(6) {
  background: linear-gradient(180deg, var(--cyan), rgba(122, 231, 255, .14));
}

.hero-stage.is-active .mini-surface {
  border-color: rgba(var(--surface-accent-rgb), .32);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, .1),
    0 26px 64px rgba(0, 0, 0, .58),
    0 0 34px rgba(var(--surface-accent-rgb), .08);
}
.robot {
  --head-rx: 0deg;
  --head-ry: 0deg;
  --eye-x: 0px;
  --eye-y: 0px;
  --robot-accent: var(--cyan);
  width: 286px;
  outline: 0;
  animation: none;
  cursor: pointer;
  perspective: 900px;
  touch-action: manipulation;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.robot::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: 34px;
  width: 230px;
  height: 42px;
  transform: translateX(-50%) rotateX(72deg);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(122, 231, 255, .3), rgba(122, 231, 255, .04) 48%, transparent 72%);
  filter: blur(5px);
  opacity: .7;
}

.robot:focus-visible .robot-head {
  outline: 2px solid var(--acid);
  outline-offset: 7px;
}

.robot-rig {
  position: relative;
  display: block;
  transform-style: preserve-3d;
  animation: robot-rig-float 5.2s ease-in-out infinite;
  transition: filter .35s ease;
}

.robot:hover .robot-rig,
.robot.is-curious .robot-rig {
  filter: brightness(1.08);
}

.robot .antenna {
  z-index: 2;
  transform: translateZ(24px);
  background:
    linear-gradient(90deg, #20252a, #eef4f9 43%, #69727b 58%, #171b1f);
  box-shadow: 1px 0 rgba(255, 255, 255, .18);
}

.robot .antenna i {
  background: radial-gradient(circle at 35% 25%, #fff 0 10%, #8cf2ff 25%, #2ba4de 62%, #073654);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 0 12px var(--cyan), 0 0 38px rgba(122, 231, 255, .58);
}

.robot-head {
  height: 216px;
  transform: rotateX(var(--head-rx)) rotateY(var(--head-ry)) translateZ(22px);
  transform-style: preserve-3d;
  border-color: #808a94;
  border-radius: 73px 73px 62px 62px;
  background:
    linear-gradient(112deg, transparent 0 32%, rgba(255, 255, 255, .16) 37%, transparent 42%),
    repeating-linear-gradient(98deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 4px),
    radial-gradient(circle at 28% 12%, #9099a3 0, #424a52 19%, transparent 42%),
    linear-gradient(145deg, #626c76 0, #1a1e23 26%, #3a424a 52%, #0d1013 77%, #515b64 100%);
  box-shadow:
    inset 0 2px 2px rgba(255, 255, 255, .48),
    inset 10px 0 24px rgba(255, 255, 255, .05),
    inset -12px -18px 28px rgba(0, 0, 0, .8),
    0 0 0 5px #0b0d10,
    0 0 0 7px rgba(139, 151, 162, .42),
    0 22px 44px rgba(0, 0, 0, .55);
  transition: transform .16s cubic-bezier(.2, .8, .2, 1), filter .3s ease;
  will-change: transform;
}

.robot-head::before,
.robot-head::after {
  top: 24px;
  width: 49px;
  border-color: rgba(255, 255, 255, .42);
}

.head-crown {
  position: absolute;
  z-index: 4;
  top: -4px;
  left: 50%;
  width: 94px;
  height: 23px;
  transform: translateX(-50%) translateZ(10px);
  border: 1px solid #77818a;
  border-radius: 10px 10px 18px 18px;
  background: linear-gradient(180deg, #747e87, #20252a 64%, #0c0f12);
  box-shadow: inset 0 2px rgba(255, 255, 255, .35), 0 5px 10px rgba(0, 0, 0, .5);
}

.head-crown::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 34px;
  height: 3px;
  transform: translateX(-50%);
  border-radius: 5px;
  background: var(--robot-accent);
  box-shadow: 0 0 11px var(--robot-accent);
}

.head-seam {
  position: absolute;
  z-index: 1;
  top: 50px;
  width: 44px;
  height: 72px;
  border-top: 1px solid rgba(255, 255, 255, .2);
  opacity: .7;
}

.seam-left {
  left: 8px;
  border-left: 1px solid rgba(255, 255, 255, .18);
  border-radius: 34px 0 0;
  transform: rotate(-7deg);
}

.seam-right {
  right: 8px;
  border-right: 1px solid rgba(255, 255, 255, .18);
  border-radius: 0 34px 0 0;
  transform: rotate(7deg);
}

.robot .face {
  inset: 29px 20px 23px;
  gap: 26px;
  transform: translateZ(12px);
  border: 2px solid #010203;
  background:
    radial-gradient(circle at 50% 18%, #222d39 0, #070a0d 46%, #010203 76%),
    #020304;
  box-shadow:
    inset 0 13px 30px #000,
    inset 0 -8px 20px rgba(28, 46, 61, .35),
    0 1px rgba(255, 255, 255, .26),
    0 0 0 2px #242b31;
}

.face-glint {
  position: absolute;
  z-index: 3;
  top: 13px;
  right: 25px;
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  background: #eaffff;
  box-shadow: 0 0 13px var(--cyan);
  opacity: .75;
}

.robot .eye {
  width: 70px;
  height: 82px;
  transform-origin: center;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .97) 0 7%, transparent 28%),
    linear-gradient(160deg, #e9ffff, #7ee8f8 56%, #246f87);
  border: 1px solid rgba(226, 254, 255, .85);
  border-radius: 26px;
  box-shadow:
    inset 1px 2px 3px rgba(255, 255, 255, .48),
    inset -3px -9px 14px rgba(2, 45, 61, .38),
    0 0 12px var(--robot-accent),
    0 0 34px rgba(122, 231, 255, .7);
  animation: fallback-eye-blink 6.4s infinite;
  transition:
    transform .28s cubic-bezier(.2, .8, .2, 1),
    border-radius .28s ease,
    filter .35s ease;
}

.robot .eye i {
  top: 9px;
  left: 11px;
  width: 48px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .86), transparent);
  transform: translate(var(--eye-x), var(--eye-y));
  transition: transform .12s ease-out, opacity .2s ease;
}

.robot[data-eye-mood="dreamy"] .eye {
  transform: translateY(4px) scaleX(1.04) scaleY(.58);
}

.robot[data-eye-mood="dreamy"] .eye-left {
  rotate: -3deg;
}

.robot[data-eye-mood="dreamy"] .eye-right {
  rotate: 3deg;
}

.robot[data-eye-mood="thinking"] .eye-left {
  transform: translateY(-3px) scaleX(.9) scaleY(.72) rotate(-6deg);
  filter: hue-rotate(38deg);
}

.robot[data-eye-mood="thinking"] .eye-right {
  transform: translateY(2px) scaleX(1.03) scaleY(.93) rotate(3deg);
  filter: hue-rotate(38deg);
}

.robot[data-eye-mood="focused"] .eye-left {
  transform: translateY(3px) scaleX(1.04) scaleY(.63) rotate(6deg);
  filter: hue-rotate(82deg) saturate(1.15);
}

.robot[data-eye-mood="focused"] .eye-right {
  transform: translateY(3px) scaleX(1.04) scaleY(.63) rotate(-6deg);
  filter: hue-rotate(82deg) saturate(1.15);
}

.robot[data-eye-mood="curious"] .eye-left {
  transform: scale(1.1, 1.18);
}

.robot[data-eye-mood="curious"] .eye-right {
  transform: translateY(3px) scale(.93, 1);
}

.robot[data-eye-mood="pleased"] .eye,
.robot[data-eye-mood="happy"] .eye {
  height: 28px;
  transform: translateY(2px) scaleX(1.08);
  border: 0;
  border-top: 7px solid #baffec;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  filter: hue-rotate(74deg) saturate(1.12);
}

.robot[data-eye-mood="pleased"] .eye-left,
.robot[data-eye-mood="happy"] .eye-left {
  rotate: -4deg;
}

.robot[data-eye-mood="pleased"] .eye-right,
.robot[data-eye-mood="happy"] .eye-right {
  rotate: 4deg;
}

.robot[data-eye-mood="pleased"] .eye i,
.robot[data-eye-mood="happy"] .eye i {
  opacity: 0;
}

@keyframes fallback-eye-blink {
  0%, 84%, 88%, 91%, 100% { scale: 1 1; }
  86%, 90% { scale: 1 .08; }
}

.mouth {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 21px;
  width: 24px;
  height: 9px;
  transform: translateX(-50%) scaleX(.78);
  border-bottom: 2px solid rgba(122, 231, 255, .55);
  border-radius: 0 0 18px 18px;
  opacity: .45;
  transition: width .28s ease, height .28s ease, opacity .28s ease, transform .28s ease;
}

.robot.is-curious .mouth,
.robot.is-delighted .mouth {
  width: 35px;
  height: 15px;
  transform: translateX(-50%) scaleX(1);
  opacity: 1;
  box-shadow: 0 5px 12px rgba(122, 231, 255, .14);
}

.robot .ear {
  top: 82px;
  width: 24px;
  height: 62px;
  transform: translateZ(4px);
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 4px),
    linear-gradient(90deg, #11151a, #707a84 52%, #20252a);
  box-shadow: inset 0 1px rgba(255, 255, 255, .35);
}

.robot .ear i {
  position: absolute;
  top: 17px;
  left: 7px;
  width: 7px;
  height: 25px;
  border-radius: 8px;
  background: var(--robot-accent);
  box-shadow: 0 0 12px var(--robot-accent);
  opacity: .72;
}

.robot .neck {
  position: relative;
  z-index: -1;
  width: 86px;
  height: 25px;
  transform: translateZ(4px);
  border: 1px solid #4e5860;
}

.robot-body {
  width: 192px;
  height: 146px;
  transform: translateZ(8px);
  border-color: #747e87;
  border-radius: 52px 52px 63px 63px;
  background:
    linear-gradient(105deg, transparent 0 27%, rgba(255, 255, 255, .13) 33%, transparent 40%),
    repeating-linear-gradient(100deg, rgba(255, 255, 255, .024) 0 1px, transparent 1px 4px),
    radial-gradient(circle at 32% 8%, #737d86, #343b42 28%, transparent 50%),
    linear-gradient(145deg, #4e5861, #13171b 45%, #303840);
  box-shadow:
    inset 0 2px rgba(255, 255, 255, .35),
    inset 0 -14px 24px #080a0c,
    0 10px 26px rgba(0, 0, 0, .45);
}

.robot .body-panel {
  inset: 18px 29px 24px;
  border-color: rgba(255, 255, 255, .22);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .12), transparent 36%),
    linear-gradient(160deg, rgba(7, 10, 13, .2), rgba(0, 0, 0, .5));
}

.body-seam {
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 62px;
  height: 8px;
  transform: translateX(-50%);
  border-top: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
}

.robot .core {
  top: 48px;
  width: 38px;
  height: 38px;
  border-color: #11161a;
  background: radial-gradient(circle at 36% 30%, #fff 0 5%, #ddff8e 9%, var(--acid) 45%, #577c08);
  box-shadow: 0 0 18px rgba(200, 255, 83, .65), inset 0 -6px 8px rgba(50, 77, 0, .65);
}

.robot .shoulder {
  background: radial-gradient(circle at 35% 30%, #9099a1, #3c444b 42%, #11151a 70%);
  border-color: #0b0e11;
}

.robot .arm {
  top: 47px;
  height: 88px;
  border: 1px solid #606a73;
  background:
    repeating-linear-gradient(100deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 4px),
    linear-gradient(90deg, #13171b, #737d86 48%, #1b2025);
  box-shadow: inset 1px 0 rgba(255, 255, 255, .16);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}

.robot .arm i {
  background: linear-gradient(145deg, #667079, #1a1f24 66%);
  box-shadow: inset 0 1px rgba(255, 255, 255, .28);
}

.robot .arm b {
  position: absolute;
  left: 50%;
  bottom: 15px;
  width: 12px;
  height: 5px;
  transform: translateX(-50%);
  border-radius: 4px;
  background: var(--robot-accent);
  box-shadow: 0 0 8px var(--robot-accent);
  opacity: .68;
}

.robot .arm-right {
  animation: robot-arm-idle 7s ease-in-out infinite;
}

.robot.is-delighted .arm-right {
  animation: robot-arm-wave .8s ease-in-out 2;
}

.robot-waist {
  position: relative;
  z-index: 1;
  width: 92px;
  height: 20px;
  margin: -4px auto 0;
  border: 1px solid #606972;
  border-radius: 8px 8px 14px 14px;
  background: linear-gradient(180deg, #68727b, #161a1e 68%);
  box-shadow: inset 0 1px rgba(255, 255, 255, .25);
}

.robot-waist i {
  position: absolute;
  inset: 5px 24px;
  border-radius: 6px;
  background: #090c0f;
  box-shadow: inset 0 0 0 1px #343c43;
}

.robot-legs {
  position: relative;
  width: 142px;
  height: 72px;
  margin: -2px auto 0;
}

.leg {
  position: absolute;
  top: 0;
  width: 51px;
  height: 57px;
  border: 1px solid #65707a;
  border-radius: 15px 15px 20px 20px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, .18), transparent 32%),
    repeating-linear-gradient(98deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 4px),
    linear-gradient(145deg, #59636c, #171c20 58%, #394149);
  box-shadow: inset 0 -8px 12px #0a0d10, 0 7px 14px rgba(0, 0, 0, .4);
}

.leg-left {
  left: 13px;
  transform: rotate(2deg);
}

.leg-right {
  right: 13px;
  transform: rotate(-2deg);
}

.leg i {
  position: absolute;
  left: 50%;
  top: 11px;
  width: 17px;
  height: 17px;
  transform: translateX(-50%);
  border: 4px solid #15191d;
  border-radius: 50%;
  background: #69747e;
}

.leg b {
  position: absolute;
  left: -4px;
  bottom: -11px;
  width: 58px;
  height: 22px;
  border: 1px solid #6d7780;
  border-radius: 13px 13px 18px 18px;
  background: linear-gradient(180deg, #525c64, #101418 75%);
  box-shadow: inset 0 2px rgba(255, 255, 255, .2);
}

.leg b::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 4px;
  width: 17px;
  height: 3px;
  border-radius: 4px;
  background: var(--robot-accent);
  box-shadow: 0 0 7px var(--robot-accent);
}

.robot-status {
  position: relative;
  z-index: 6;
  margin-top: 16px;
  border-color: rgba(122, 231, 255, .2);
  background: rgba(7, 10, 13, .88);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .32);
  transition: color .25s ease, border-color .25s ease, transform .25s ease;
}

.robot:hover .robot-status,
.robot:focus-visible .robot-status {
  color: #fff;
  border-color: rgba(200, 255, 83, .45);
  transform: translateY(-3px);
}

@keyframes robot-rig-float {
  0%, 100% { transform: translateY(0) rotateZ(-.25deg); }
  50% { transform: translateY(-10px) rotateZ(.25deg); }
}

@keyframes robot-arm-idle {
  0%, 58%, 100% { transform: rotate(-21deg); }
  66%, 75% { transform: rotate(-31deg); }
}

@keyframes robot-arm-wave {
  0%, 100% { transform: rotate(-21deg); }
  45% { transform: rotate(-72deg); }
  70% { transform: rotate(-53deg); }
}

@media (max-width: 1080px) {
  .stage-readout {
    top: 18px;
  }
}

@media (max-width: 720px) {
  .hero-stage {
    min-height: 720px;
    border-radius: 20px;
  }

  .hero-stage::before {
    inset: 5px;
    border-radius: 15px;
  }

  .stage-readout {
    left: 12px;
  }

  .stage-readout strong {
    font-size: 17px;
  }

  .stage-chrome {
    top: 12px;
    right: 12px;
  }

  .stage-chrome > span {
    display: none;
  }

  .surface-scope {
    top: 45px;
    right: 13px;
    left: 13px;
    width: auto;
    padding: 10px 12px;
    background: linear-gradient(90deg, rgba(8, 13, 17, .88), rgba(8, 13, 17, .28));
  }

  .surface-scope strong {
    font-size: 10px;
  }

  .surface-scope span,
  .surface-scope small {
    font-size: 6.5px;
  }

  .mini-surface {
    z-index: 5;
    width: min(174px, calc(50% - 7px));
    min-height: 137px;
    padding: 10px 11px 9px;
    border-radius: 13px;
  }

  .surface-code {
    top: 138px;
    right: 4px;
  }

  .surface-research {
    top: 336px;
    left: 4px;
  }

  .surface-data {
    top: 534px;
    right: 4px;
    bottom: auto;
    display: block;
  }

  .mini-surface header {
    padding-bottom: 6px;
  }

  .robot {
    width: 218px;
  }

  .robot-head {
    height: 171px;
    border-radius: 57px 57px 48px 48px;
  }

  .head-crown {
    width: 74px;
    height: 18px;
  }

  .robot .face {
    inset: 24px 16px 19px;
    gap: 19px;
    border-radius: 42px;
  }

  .robot .eye {
    width: 56px;
    height: 67px;
  }

  .robot .eye i {
    top: 7px;
    left: 10px;
    width: 36px;
    height: 3px;
  }

  .mouth {
    bottom: 14px;
  }

  .robot .ear {
    top: 64px;
    height: 52px;
  }

  .robot-body {
    width: 151px;
    height: 116px;
  }

  .robot .core {
    top: 38px;
    width: 31px;
    height: 31px;
  }

  .robot .body-panel {
    inset: 14px 24px 20px;
  }

  .robot .arm {
    top: 38px;
    height: 68px;
    width: 27px;
  }

  .robot .arm-left {
    left: -32px;
  }

  .robot .arm-right {
    right: -32px;
  }

  .robot-waist {
    width: 76px;
    height: 16px;
  }

  .robot-legs {
    width: 113px;
    height: 60px;
  }

  .leg {
    width: 42px;
    height: 47px;
  }

  .leg-left {
    left: 9px;
  }

  .leg-right {
    right: 9px;
  }

  .leg b {
    width: 48px;
    height: 19px;
  }

  .robot-status {
    max-width: 218px;
    margin-top: 10px;
    font-size: 8px;
  }

  .surface-title {
    display: grid;
    margin-top: 8px;
  }

  .surface-title small {
    font-size: 6px;
  }

  .surface-title strong {
    font-size: 9px;
    line-height: 1.4;
  }

  .mini-surface .code-lines {
    gap: 4px;
    margin-top: 8px;
  }

  .mini-surface .research-map,
  .mini-surface .bars {
    height: 38px;
  }

  .mini-surface footer {
    margin-top: 7px;
    padding-top: 6px;
    font-size: 6px;
  }

  .mini-surface footer b {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .robot-rig,
  .robot .arm-right {
    animation: none !important;
  }

  .robot-head,
  .robot .eye i {
    transition: none;
  }
}
