:root {
  color-scheme: dark;
  --bg: #050713;
  --ink: #f8fbff;
  --muted: #b9c3d7;
  --soft: rgba(248, 251, 255, 0.72);
  --cyan: #5eead4;
  --cyan-strong: #22d3ee;
  --violet: #a78bfa;
  --amber: #ffd166;
  --rose: #fb7185;
  --green: #a3e635;
  --line: rgba(255, 255, 255, 0.16);
  --line-soft: rgba(255, 255, 255, 0.08);
  --scene-tilt-x: 0deg;
  --scene-tilt-y: 0deg;
  --glow-x: 50%;
  --glow-y: 45%;
  --btn-x: 0px;
  --btn-y: 0px;
  --press-y: 0px;
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  background: var(--bg);
}

body {
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background:
    linear-gradient(122deg, rgba(4, 8, 20, 0.94) 0%, rgba(6, 9, 22, 0.72) 54%, rgba(3, 5, 13, 0.98) 100%),
    conic-gradient(from 230deg at 72% 38%, rgba(94, 234, 212, 0.22), rgba(167, 139, 250, 0.17), rgba(255, 209, 102, 0.12), rgba(34, 211, 238, 0.18), rgba(5, 7, 19, 0.2));
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
}

body::before {
  z-index: -4;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.038) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(120deg, transparent 0%, black 18%, black 76%, transparent 100%);
}

body::after {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(5, 7, 19, 0.08), rgba(5, 7, 19, 0.72)),
    radial-gradient(ellipse at var(--glow-x) var(--glow-y), rgba(94, 234, 212, 0.12), transparent 36rem);
  mix-blend-mode: screen;
  opacity: 0.82;
}

a {
  color: inherit;
}

.site-shell {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 0;
  overflow: hidden;
  padding: clamp(18px, 3vh, 28px) clamp(24px, 6vw, 84px) clamp(18px, 3.4vh, 38px);
}

.background-system {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  pointer-events: none;
}

.beam {
  position: absolute;
  width: min(76vw, 880px);
  height: 140px;
  border-radius: 8px;
  opacity: 0.58;
  filter: blur(22px);
  transform-origin: center;
}

.beam-one {
  top: 10%;
  left: -18%;
  background: linear-gradient(90deg, transparent, rgba(94, 234, 212, 0.42), transparent);
  animation: beam-drift-one 16s ease-in-out infinite;
}

.beam-two {
  right: -24%;
  bottom: 12%;
  background: linear-gradient(90deg, transparent, rgba(255, 209, 102, 0.3), rgba(251, 113, 133, 0.2), transparent);
  animation: beam-drift-two 18s ease-in-out infinite;
}

.beam-three {
  top: 42%;
  right: 10%;
  width: min(52vw, 620px);
  height: 86px;
  background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.32), transparent);
  animation: beam-drift-three 20s ease-in-out infinite;
}

.grid-plane {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 8px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.52;
  mask-image: linear-gradient(90deg, transparent, black 14%, black 82%, transparent);
}

.grid-plane-one {
  width: 760px;
  height: 420px;
  top: 12%;
  right: -120px;
  transform: rotate(-10deg) skewY(-6deg);
}

.grid-plane-two {
  width: 620px;
  height: 360px;
  left: -150px;
  bottom: 2%;
  transform: rotate(12deg) skewY(8deg);
}

.topbar {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(94, 234, 212, 0.98), rgba(255, 209, 102, 0.92)),
    #5eead4;
  box-shadow:
    0 0 28px rgba(94, 234, 212, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
  color: #071018;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark::after {
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(94, 234, 212, 0.2);
  border-radius: 10px;
  content: "";
  animation: brand-ping 2.8s ease-in-out infinite;
}

.brand-name {
  color: rgba(248, 251, 255, 0.94);
  font-size: 0.98rem;
  font-weight: 850;
  letter-spacing: 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(270px, 0.82fr) minmax(520px, 1.18fr);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  min-height: 0;
  height: 100%;
  overflow: hidden;
  padding: 0;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 520px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--cyan);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0;
}

.eyebrow-pulse {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 7px rgba(163, 230, 53, 0.12), 0 0 24px rgba(163, 230, 53, 0.45);
}

.eyebrow-pulse::after {
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(163, 230, 53, 0.32);
  border-radius: inherit;
  content: "";
  animation: pulse-ring 1.9s ease-out infinite;
}

h1 {
  max-width: 11ch;
  margin: 0;
  font-size: 5.55rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.9;
}

.lead {
  margin: 26px 0 0;
  color: var(--soft);
  font-size: 1.28rem;
  font-weight: 560;
  letter-spacing: 0;
  line-height: 1.55;
}

.contact-button {
  --button-bg: linear-gradient(135deg, rgba(94, 234, 212, 1), rgba(255, 209, 102, 0.96));
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 162px;
  min-height: 56px;
  margin-top: 42px;
  padding: 16px 18px 16px 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: var(--button-bg);
  box-shadow:
    0 18px 48px rgba(94, 234, 212, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
  color: #061019;
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: 0;
  text-decoration: none;
  transform: translate3d(var(--btn-x), calc(var(--btn-y) + var(--press-y)), 0);
  transition:
    box-shadow 180ms ease,
    filter 180ms ease,
    transform 180ms ease;
}

.contact-button::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.55) 48%, transparent 64%);
  content: "";
  transform: translateX(-120%);
  transition: transform 520ms ease;
}

.contact-button span {
  position: relative;
  z-index: 1;
}

.button-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: rgba(6, 16, 25, 0.16);
}

.button-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.3;
  transition: transform 180ms ease;
}

.contact-button:hover {
  --press-y: -3px;
  filter: saturate(1.12) brightness(1.05);
  box-shadow:
    0 24px 62px rgba(94, 234, 212, 0.34),
    0 0 0 7px rgba(94, 234, 212, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.contact-button:hover::before {
  transform: translateX(120%);
}

.contact-button:hover .button-icon svg {
  transform: translateX(2px);
}

.contact-button:active {
  --press-y: 0px;
}

.contact-button:focus-visible {
  outline: 3px solid rgba(248, 251, 255, 0.9);
  outline-offset: 5px;
}

.build-stage {
  position: relative;
  align-self: center;
  min-width: 0;
  max-height: 100%;
  opacity: 0;
  transform: translateY(18px) scale(0.98);
}

.build-stage::before,
.build-stage::after {
  position: absolute;
  inset: 5% 2% 6%;
  pointer-events: none;
  content: "";
}

.build-stage::before {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    linear-gradient(90deg, rgba(94, 234, 212, 0.08), transparent 32%, rgba(255, 209, 102, 0.08));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 28px 110px rgba(0, 0, 0, 0.42);
  clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%);
  opacity: 0.62;
}

.build-stage::after {
  background:
    radial-gradient(ellipse at var(--glow-x) var(--glow-y), rgba(94, 234, 212, 0.22), transparent 38%),
    linear-gradient(180deg, transparent 0%, rgba(5, 7, 19, 0.38) 100%);
  mix-blend-mode: screen;
}

.stage-perspective {
  position: relative;
  z-index: 2;
  width: min(100%, 800px);
  margin-inline: auto;
  transform: perspective(1200px) rotateX(var(--scene-tilt-x)) rotateY(var(--scene-tilt-y));
  transform-style: preserve-3d;
  transition: transform 220ms ease;
}

.builder-illustration {
  display: block;
  width: 100%;
  max-height: min(78vh, 690px);
  max-height: min(78svh, 690px);
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 34px 60px rgba(0, 0, 0, 0.36));
}

.particle-field {
  position: absolute;
  inset: 2% 0 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.particle-field span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  height: var(--size);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 3px;
  background: var(--particle-color);
  box-shadow: 0 0 18px var(--particle-glow);
  opacity: 0.66;
  transform: translate3d(0, 0, 0) rotate(var(--rotate));
  animation: particle-float var(--duration) ease-in-out var(--delay) infinite;
}

.is-ready .hero-copy > * {
  animation: copy-enter 820ms cubic-bezier(0.17, 0.84, 0.26, 1) both;
}

.is-ready .hero-copy > :nth-child(2) {
  animation-delay: 90ms;
}

.is-ready .hero-copy > :nth-child(3) {
  animation-delay: 170ms;
}

.is-ready .hero-copy > :nth-child(4) {
  animation-delay: 250ms;
}

.is-ready .build-stage {
  animation: stage-enter 900ms cubic-bezier(0.17, 0.84, 0.26, 1) 120ms forwards;
}

.stage-depth {
  fill: none;
  stroke-linecap: round;
}

.depth-line {
  stroke: rgba(255, 255, 255, 0.12);
  stroke-dasharray: 12 18;
  animation: dash-flow 16s linear infinite;
}

.depth-line-two {
  stroke: rgba(94, 234, 212, 0.17);
  animation-duration: 18s;
}

.depth-line-three {
  stroke: rgba(255, 209, 102, 0.14);
  animation-duration: 20s;
  animation-direction: reverse;
}

.signal-path {
  fill: none;
  stroke: rgba(94, 234, 212, 0.72);
  stroke-linecap: round;
  stroke-width: 2.4;
  stroke-dasharray: 10 14;
  filter: drop-shadow(0 0 9px rgba(94, 234, 212, 0.45));
  animation: dash-flow 5.8s linear infinite;
}

.signal-path-two {
  stroke: rgba(255, 209, 102, 0.7);
  animation-duration: 6.8s;
}

.signal-path-three {
  stroke: rgba(167, 139, 250, 0.72);
  animation-duration: 7.6s;
}

.signal-node {
  fill: var(--cyan);
  filter: drop-shadow(0 0 10px rgba(94, 234, 212, 0.55));
  animation: node-pulse 2.2s ease-in-out infinite;
}

.node-two {
  fill: var(--amber);
  animation-delay: 0.35s;
}

.node-three {
  fill: var(--violet);
  animation-delay: 0.7s;
}

.gear {
  filter: drop-shadow(0 0 14px rgba(94, 234, 212, 0.28));
}

.gear-wheel {
  transform-box: fill-box;
  transform-origin: center;
  animation: gear-spin 14s linear infinite;
}

.gear-wheel.reverse {
  animation-direction: reverse;
  animation-duration: 11s;
}

.gear-small .gear-wheel {
  animation-duration: 8s;
}

.gear-teeth rect,
.gear-outer {
  fill: rgba(94, 234, 212, 0.12);
  stroke: rgba(94, 234, 212, 0.7);
  stroke-width: 2;
}

.gear-medium .gear-teeth rect,
.gear-medium .gear-outer {
  fill: rgba(255, 209, 102, 0.1);
  stroke: rgba(255, 209, 102, 0.72);
}

.gear-small .gear-teeth rect,
.gear-small .gear-outer {
  fill: rgba(167, 139, 250, 0.12);
  stroke: rgba(167, 139, 250, 0.76);
}

.gear-inner {
  fill: rgba(5, 7, 19, 0.78);
  stroke: rgba(255, 255, 255, 0.2);
  stroke-width: 2;
}

.gear-pin {
  fill: currentColor;
  color: rgba(255, 255, 255, 0.78);
}

.screen-cable {
  fill: none;
  stroke: rgba(255, 255, 255, 0.16);
  stroke-linecap: round;
  stroke-width: 8;
}

.screen-frame {
  fill: rgba(255, 255, 255, 0.075);
  stroke: rgba(94, 234, 212, 0.68);
  stroke-width: 2.3;
}

.screen-panel {
  fill: #0b1024;
  stroke: rgba(255, 255, 255, 0.12);
}

.screen-sheen {
  fill: rgba(255, 255, 255, 0.08);
}

.screen-grid {
  fill: none;
  stroke: rgba(255, 255, 255, 0.075);
  stroke-width: 1;
}

.screen-logo {
  fill: rgba(248, 251, 255, 0.92);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 29px;
  font-weight: 900;
  letter-spacing: 0;
}

.code-line {
  fill: rgba(94, 234, 212, 0.58);
  filter: drop-shadow(0 0 8px rgba(94, 234, 212, 0.38));
  transform-box: fill-box;
  transform-origin: left center;
  animation: code-build 3.8s ease-in-out infinite;
}

.code-line-two {
  fill: rgba(255, 209, 102, 0.6);
  animation-delay: 0.22s;
}

.code-line-three {
  fill: rgba(167, 139, 250, 0.62);
  animation-delay: 0.44s;
}

.code-line-four {
  fill: rgba(94, 234, 212, 0.45);
  animation-delay: 0.66s;
}

.module rect {
  fill: rgba(255, 255, 255, 0.07);
  stroke: rgba(255, 255, 255, 0.14);
}

.module circle {
  fill: var(--green);
  filter: drop-shadow(0 0 8px rgba(163, 230, 53, 0.46));
}

.module path {
  fill: none;
  stroke: rgba(248, 251, 255, 0.52);
  stroke-linecap: round;
  stroke-width: 3;
}

.progress-track {
  fill: rgba(255, 255, 255, 0.09);
}

.progress-fill {
  fill: var(--cyan);
  filter: drop-shadow(0 0 8px rgba(94, 234, 212, 0.38));
  transform-box: fill-box;
  transform-origin: left center;
  animation: progress-build 3.8s ease-in-out infinite;
}

.press-target {
  fill: rgba(94, 234, 212, 0.2);
  stroke: rgba(94, 234, 212, 0.9);
  stroke-width: 2.4;
  filter: drop-shadow(0 0 10px rgba(94, 234, 212, 0.5));
  animation: target-press 1.8s ease-in-out infinite;
}

.screen-base,
.screen-foot {
  fill: rgba(255, 255, 255, 0.08);
  stroke: rgba(255, 255, 255, 0.14);
  stroke-width: 2;
}

.mascot-shadow {
  fill: rgba(0, 0, 0, 0.36);
}

.mascot-bob {
  transform-box: fill-box;
  transform-origin: center;
  animation: mascot-bob 3.3s ease-in-out infinite;
}

.head {
  fill: #f8fbff;
  stroke: rgba(255, 255, 255, 0.6);
  stroke-width: 2;
}

.visor {
  fill: #07101f;
  stroke: rgba(94, 234, 212, 0.42);
  stroke-width: 2;
}

.eye {
  fill: var(--cyan);
  filter: drop-shadow(0 0 8px rgba(94, 234, 212, 0.5));
  transform-box: fill-box;
  transform-origin: center;
  animation: robot-blink 4.8s ease-in-out infinite;
}

.eye-right {
  animation-delay: 0.03s;
}

.robot-smile {
  fill: none;
  stroke: rgba(7, 16, 31, 0.58);
  stroke-linecap: round;
  stroke-width: 3;
}

.ear {
  fill: rgba(248, 251, 255, 0.78);
  stroke: rgba(255, 255, 255, 0.42);
  stroke-width: 2;
}

.torso {
  fill: var(--cyan-strong);
  stroke: rgba(255, 255, 255, 0.32);
  stroke-width: 2;
}

.chest-panel {
  fill: rgba(5, 7, 19, 0.42);
  stroke: rgba(255, 255, 255, 0.24);
  stroke-width: 2;
}

.chest-light {
  fill: var(--amber);
  filter: drop-shadow(0 0 9px rgba(255, 209, 102, 0.52));
  animation: node-pulse 2s ease-in-out infinite;
}

.body-line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.38);
  stroke-linecap: round;
  stroke-width: 4;
}

.arm {
  transform-box: fill-box;
  transform-origin: center;
}

.arm-left {
  animation: left-hand-work 2.4s ease-in-out infinite;
}

.arm-right {
  animation: right-hand-press 1.8s ease-in-out infinite;
}

.arm-stroke,
.leg path:first-child {
  fill: none;
  stroke: #d8e1f1;
  stroke-linecap: round;
  stroke-width: 18;
}

.joint {
  fill: #f8fbff;
  stroke: rgba(5, 7, 19, 0.18);
  stroke-width: 3;
}

.hand,
.foot {
  fill: #f8fbff;
  stroke: rgba(5, 7, 19, 0.18);
  stroke-width: 2;
}

.pressing-hand {
  filter: drop-shadow(0 0 9px rgba(94, 234, 212, 0.45));
}

.laptop {
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.34));
}

.laptop-screen,
.laptop-base {
  fill: rgba(255, 255, 255, 0.1);
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 2;
}

.laptop-display {
  fill: rgba(5, 7, 19, 0.78);
  stroke: rgba(94, 234, 212, 0.36);
}

.laptop-shine {
  fill: none;
  stroke: rgba(248, 251, 255, 0.38);
  stroke-linecap: round;
  stroke-width: 4;
}

.laptop-dot {
  fill: var(--cyan);
  filter: drop-shadow(0 0 8px rgba(94, 234, 212, 0.5));
  animation: node-pulse 1.8s ease-in-out infinite;
}

.laptop-dot.second {
  fill: var(--amber);
  animation-delay: 0.4s;
}

.spark {
  fill: none;
  stroke: rgba(255, 255, 255, 0.72);
  stroke-linecap: round;
  stroke-width: 4;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.38));
  animation: sparkle 2.4s ease-in-out infinite;
}

.spark-two {
  stroke: rgba(255, 209, 102, 0.82);
  animation-delay: 0.55s;
}

.spark-three {
  stroke: rgba(94, 234, 212, 0.82);
  animation-delay: 1s;
}

.dot {
  fill: rgba(248, 251, 255, 0.7);
  filter: drop-shadow(0 0 8px rgba(248, 251, 255, 0.34));
  animation: dot-drift 5s ease-in-out infinite;
}

.dot-two {
  fill: var(--amber);
  animation-delay: -1.2s;
}

.dot-three {
  fill: var(--violet);
  animation-delay: -2.1s;
}

.platform {
  fill: none;
}

.platform-line {
  stroke: rgba(255, 255, 255, 0.18);
  stroke-linecap: round;
  stroke-width: 3;
}

.platform-glow {
  stroke-linecap: round;
  stroke-width: 8;
  filter: drop-shadow(0 0 11px rgba(94, 234, 212, 0.42));
  animation: platform-glow 3.6s ease-in-out infinite;
}

.platform-grid {
  stroke: rgba(255, 255, 255, 0.08);
  stroke-linecap: round;
  stroke-width: 2;
}

@keyframes copy-enter {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes stage-enter {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes beam-drift-one {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-11deg);
  }

  50% {
    transform: translate3d(44px, 28px, 0) rotate(-8deg);
  }
}

@keyframes beam-drift-two {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(13deg);
  }

  50% {
    transform: translate3d(-38px, -26px, 0) rotate(10deg);
  }
}

@keyframes beam-drift-three {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(3deg);
  }

  50% {
    transform: translate3d(-18px, 22px, 0) rotate(7deg);
  }
}

@keyframes brand-ping {
  0%,
  100% {
    opacity: 0.52;
    transform: scale(1);
  }

  50% {
    opacity: 0.16;
    transform: scale(1.22);
  }
}

@keyframes pulse-ring {
  from {
    opacity: 0.74;
    transform: scale(0.72);
  }

  to {
    opacity: 0;
    transform: scale(1.65);
  }
}

@keyframes particle-float {
  0%,
  100% {
    opacity: 0.28;
    transform: translate3d(0, 0, 0) rotate(var(--rotate));
  }

  50% {
    opacity: 0.78;
    transform: translate3d(var(--drift-x), var(--drift-y), 0) rotate(calc(var(--rotate) + 70deg));
  }
}

@keyframes dash-flow {
  to {
    stroke-dashoffset: -120;
  }
}

@keyframes node-pulse {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.18);
  }
}

@keyframes gear-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes code-build {
  0%,
  100% {
    opacity: 0.5;
    transform: scaleX(0.72);
  }

  45%,
  70% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes progress-build {
  0%,
  100% {
    transform: scaleX(0.42);
  }

  58% {
    transform: scaleX(1.24);
  }
}

@keyframes target-press {
  0%,
  100% {
    opacity: 0.66;
    transform: scale(1);
  }

  42% {
    opacity: 1;
    transform: scale(0.82);
  }
}

@keyframes mascot-bob {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes robot-blink {
  0%,
  91%,
  100% {
    transform: scaleY(1);
  }

  94% {
    transform: scaleY(0.12);
  }
}

@keyframes left-hand-work {
  0%,
  100% {
    transform: rotate(0deg) translateY(0);
  }

  50% {
    transform: rotate(-4deg) translateY(4px);
  }
}

@keyframes right-hand-press {
  0%,
  100% {
    transform: rotate(0deg);
  }

  45% {
    transform: rotate(-3deg) translateY(2px);
  }
}

@keyframes sparkle {
  0%,
  100% {
    opacity: 0.18;
    transform: scale(0.82) rotate(0deg);
  }

  50% {
    opacity: 1;
    transform: scale(1.08) rotate(8deg);
  }
}

@keyframes dot-drift {
  0%,
  100% {
    opacity: 0.46;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateY(-16px);
  }
}

@keyframes platform-glow {
  0%,
  100% {
    opacity: 0.44;
  }

  50% {
    opacity: 1;
  }
}

@media (max-width: 1180px) {
  h1 {
    font-size: 4.7rem;
  }

  .hero {
    grid-template-columns: minmax(260px, 0.78fr) minmax(480px, 1.22fr);
  }
}

@media (max-width: 960px) {
  .site-shell {
    padding: 22px 22px 24px;
  }

  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    align-items: stretch;
    gap: 18px;
    min-height: 0;
    padding-top: 18px;
  }

  .hero-copy {
    max-width: 620px;
  }

  h1 {
    max-width: 12ch;
    font-size: 4.25rem;
  }

  .lead {
    font-size: 1.18rem;
  }

  .build-stage {
    display: flex;
    align-items: center;
    width: min(100%, 720px);
    min-height: 0;
    margin-inline: auto;
  }

  .stage-perspective {
    width: min(100%, 690px);
  }

  .builder-illustration {
    max-height: min(48vh, 440px);
    max-height: min(48svh, 440px);
  }
}

@media (max-width: 640px) {
  body::before {
    background-size: 54px 54px;
  }

  .site-shell {
    padding: 16px 16px 18px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-name {
    font-size: 0.92rem;
  }

  .hero {
    gap: 14px;
    padding-top: 18px;
  }

  .hero-copy {
    text-align: left;
  }

  .eyebrow {
    margin-bottom: 14px;
    font-size: 0.9rem;
  }

  h1 {
    font-size: 2.95rem;
    line-height: 0.94;
  }

  .lead {
    margin-top: 14px;
    font-size: 1.02rem;
  }

  .contact-button {
    width: 100%;
    min-height: 52px;
    margin-top: 20px;
  }

  .build-stage::before,
  .build-stage::after {
    inset: 2% -4% 4%;
  }

  .builder-illustration {
    width: min(118%, 560px);
    max-height: min(42vh, 330px);
    max-height: min(42svh, 330px);
    min-width: 0;
    transform: translateX(-6%);
  }

  .build-stage {
    overflow: hidden;
  }

  .particle-field {
    inset: 0 -10%;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 2.52rem;
  }

  .builder-illustration {
    width: min(124%, 520px);
    max-height: min(40vh, 300px);
    max-height: min(40svh, 300px);
    min-width: 0;
    transform: translateX(-12%);
  }

  .beam {
    height: 94px;
  }
}

@media (max-height: 760px) and (min-width: 961px) {
  .site-shell {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  h1 {
    font-size: 4.55rem;
  }

  .lead {
    margin-top: 18px;
    font-size: 1.12rem;
  }

  .contact-button {
    min-height: 52px;
    margin-top: 28px;
  }

  .builder-illustration {
    max-height: min(82vh, 610px);
    max-height: min(82svh, 610px);
  }
}

@media (max-height: 640px) {
  .site-shell {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .hero {
    gap: 12px;
    padding-top: 10px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  h1 {
    font-size: 2.34rem;
  }

  .eyebrow {
    margin-bottom: 10px;
  }

  .lead {
    margin-top: 10px;
    font-size: 0.98rem;
  }

  .contact-button {
    min-height: 48px;
    margin-top: 14px;
  }

  .builder-illustration {
    max-height: min(38vh, 260px);
    max-height: min(38svh, 260px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  body::after {
    background: linear-gradient(180deg, rgba(5, 7, 19, 0.08), rgba(5, 7, 19, 0.72));
  }

  .build-stage,
  .hero-copy > * {
    opacity: 1;
    transform: none;
  }

  .particle-field {
    display: none;
  }
}
