:root {
  color-scheme: dark;
  --black: #090b0f;
  --graphite: #11151b;
  --graphite-light: #1a2029;
  --silver: #c2c5cc;
  --light-gray: #e6e7eb;
  --white: #ffffff;
  --blue: #007bff;
  --blue-bright: #18a0ff;
  --muted: #929aa6;
  --line: rgba(255, 255, 255, 0.11);
  --content: 1440px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  color: var(--white);
  background: var(--black);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

::selection {
  color: var(--white);
  background: rgba(0, 123, 255, 0.8);
}

.site-shell {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(
      circle at 78% 45%,
      rgba(0, 123, 255, 0.12),
      transparent 27%
    ),
    linear-gradient(128deg, #0e1218 0%, #090b0f 44%, #06070a 100%);
}

.site-shell::before {
  position: absolute;
  z-index: -3;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.72),
    transparent 48%,
    rgba(0, 0, 0, 0.8)
  );
}

.site-shell::after {
  position: absolute;
  z-index: -2;
  top: -34%;
  right: -22%;
  width: 76vw;
  aspect-ratio: 1;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(194, 197, 204, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 9vw rgba(255, 255, 255, 0.008),
    0 0 0 18vw rgba(255, 255, 255, 0.006);
}

.ambient {
  position: absolute;
  z-index: -1;
  width: 420px;
  height: 420px;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.28;
}

.ambient-one {
  top: 18%;
  right: 5%;
  background: var(--blue);
}

.ambient-two {
  bottom: -26%;
  left: -12%;
  background: #33404f;
}

.topbar,
.hero,
.site-footer {
  width: min(calc(100% - 80px), var(--content));
  margin-inline: auto;
}

.topbar {
  position: relative;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 124px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 7px 16px 7px 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(9, 11, 15, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  box-shadow:
    0 14px 38px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.brand:hover {
  transform: translateY(-1px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.055)),
    rgba(9, 11, 15, 0.68);
  border-color: rgba(24, 160, 255, 0.26);
}

.brand-symbol {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  height: 42px;
}

.brand-symbol::after {
  position: absolute;
  right: 4px;
  bottom: 8px;
  width: 28px;
  height: 8px;
  content: "";
  background: var(--blue-bright);
  border-radius: 999px;
  filter: blur(8px);
  opacity: 0.58;
}

.brand-symbol img {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 39px;
  object-fit: contain;
  filter:
    drop-shadow(0 8px 16px rgba(0, 0, 0, 0.5))
    drop-shadow(0 0 14px rgba(0, 123, 255, 0.26));
}

.brand-wordmark {
  display: grid;
  gap: 0;
  line-height: 1;
  text-transform: uppercase;
}

.brand-wordmark strong {
  color: var(--white);
  font-size: 0.96rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.brand-wordmark small {
  margin-top: 4px;
  color: #98a2af;
  font-size: 0.58rem;
  font-weight: 850;
  letter-spacing: 0.48em;
}

.top-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 42px;
}

.top-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #aeb8c4;
  border-radius: 999px;
  transition:
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.top-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.top-link svg {
  width: 16px;
  height: 16px;
}

.footer-led {
  width: 7px;
  height: 7px;
  background: #3ce58e;
  border-radius: 50%;
  box-shadow:
    0 0 0 5px rgba(60, 229, 142, 0.09),
    0 0 14px rgba(60, 229, 142, 0.7);
  animation: statusPulse 2.4s ease-in-out infinite;
}

.hero {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(430px, 0.96fr);
  align-items: center;
  gap: clamp(48px, 7vw, 112px);
  padding-block: clamp(54px, 7vh, 92px);
}

.hero-copy {
  max-width: 760px;
  animation: copyReveal 800ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: var(--blue-bright);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-block;
  width: 34px;
  height: 1px;
  background: var(--blue-bright);
  box-shadow: 0 0 12px rgba(24, 160, 255, 0.8);
}

h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(3.2rem, 5.5vw, 6.2rem);
  font-weight: 770;
  line-height: 0.96;
  letter-spacing: -0.065em;
}

h1 strong {
  display: block;
  color: transparent;
  background: linear-gradient(
    108deg,
    #ffffff 5%,
    #9da7b5 46%,
    var(--blue-bright) 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  font-weight: inherit;
}

.hero-text {
  max-width: 650px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0;
  transition:
    transform 160ms ease,
    color 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.button-primary {
  color: #0d1117;
  background: #ffffff;
  border-color: #ffffff;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary:hover {
  background: #eaf6ff;
  border-color: #eaf6ff;
}

.brand:focus-visible,
.top-link:focus-visible,
.button:focus-visible {
  outline: 3px solid rgba(24, 160, 255, 0.55);
  outline-offset: 4px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 42px 0 0;
  padding-top: 24px;
  padding-inline: 0;
  border-top: 1px solid var(--line);
  color: #737c88;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.trust-row li {
  position: relative;
  list-style: none;
}

.trust-row li:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -14px;
  width: 3px;
  height: 3px;
  content: "";
  background: var(--blue);
  border-radius: 50%;
  transform: translateY(-50%);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 610px;
  aspect-ratio: 1;
  margin-left: auto;
  perspective: 1200px;
  animation: visualReveal 1s 120ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.visual-grid {
  position: absolute;
  inset: 10% 1% 0 5%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.075) 1px, transparent 1px);
  background-size: 32px 32px;
  clip-path: polygon(0 54%, 100% 25%, 100% 100%, 0 100%);
  opacity: 0.45;
  transform: rotateX(58deg) rotateZ(-8deg);
  transform-origin: center bottom;
  mask-image: linear-gradient(0deg, #000, transparent 90%);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(194, 197, 204, 0.15);
  border-radius: 50%;
}

.orbit::before,
.orbit::after {
  position: absolute;
  content: "";
  background: var(--blue-bright);
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(24, 160, 255, 0.85);
}

.orbit-outer {
  inset: 0;
  animation: orbitSpin 22s linear infinite;
}

.orbit-outer::before {
  top: 15%;
  left: 9%;
  width: 5px;
  height: 5px;
}

.orbit-outer::after {
  right: 4%;
  bottom: 25%;
  width: 3px;
  height: 3px;
}

.orbit-inner {
  inset: 9%;
  border-style: dashed;
  opacity: 0.46;
  animation: orbitSpin 30s linear infinite reverse;
}

.orbit-inner::before {
  right: 17%;
  bottom: 4%;
  width: 4px;
  height: 4px;
}

.machine {
  position: relative;
  z-index: 2;
  width: 69%;
  aspect-ratio: 0.86;
  padding: 15px;
  background:
    linear-gradient(138deg, rgba(255, 255, 255, 0.13), transparent 22%),
    linear-gradient(145deg, rgba(27, 33, 42, 0.98), rgba(6, 8, 12, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  box-shadow:
    -26px 34px 90px rgba(0, 0, 0, 0.65),
    0 0 50px rgba(0, 123, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
  transform: rotateY(-8deg) rotateX(2deg) rotateZ(1deg);
  animation: machineFloat 6.4s ease-in-out infinite;
}

.machine-glow {
  position: absolute;
  z-index: -1;
  right: -7%;
  bottom: -8%;
  width: 65%;
  height: 28%;
  background: rgba(0, 123, 255, 0.4);
  border-radius: 50%;
  filter: blur(34px);
  animation: glowBreath 3.8s ease-in-out infinite;
}

.machine-top,
.machine-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #aeb6c0;
  font-size: 0.52rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.machine-top {
  height: 34px;
  padding: 0 5px 11px;
}

.machine-top i {
  width: 24px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--blue-bright));
  box-shadow: 0 0 10px rgba(24, 160, 255, 0.7);
}

.machine-chamber {
  position: relative;
  height: calc(100% - 72px);
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.045), transparent 30%),
    radial-gradient(
      circle at 50% 70%,
      rgba(0, 123, 255, 0.16),
      transparent 40%
    ),
    #080b0f;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  box-shadow:
    inset 0 0 45px rgba(0, 0, 0, 0.82),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.machine-chamber::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(
    105deg,
    rgba(255, 255, 255, 0.075),
    transparent 22% 66%,
    rgba(255, 255, 255, 0.025)
  );
}

.gantry {
  position: absolute;
  z-index: 2;
  top: 18%;
  left: 7%;
  width: 86%;
  height: 6px;
  background: linear-gradient(180deg, #3d4651, #10141a);
  border-radius: 3px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.65);
}

.extruder {
  position: absolute;
  z-index: 4;
  top: calc(18% - 13px);
  left: 50%;
  width: 46px;
  height: 40px;
  background: linear-gradient(145deg, #3a424d, #11151b 60%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 5px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.6);
  transform: translateX(-50%);
}

.extruder::before {
  position: absolute;
  bottom: -13px;
  left: 50%;
  width: 10px;
  height: 14px;
  content: "";
  background: linear-gradient(90deg, #a6adb5, #3c4249);
  clip-path: polygon(20% 0, 80% 0, 100% 70%, 56% 100%, 44% 100%, 0 70%);
  transform: translateX(-50%);
}

.extruder span {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 7px;
  height: 7px;
  background: var(--blue-bright);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(24, 160, 255, 0.9);
}

.filament-line {
  position: absolute;
  z-index: 3;
  top: 25%;
  left: 50%;
  width: 1px;
  height: 26%;
  background: linear-gradient(var(--blue-bright), rgba(24, 160, 255, 0.15));
  box-shadow: 0 0 7px rgba(24, 160, 255, 0.8);
  transform: translateX(-50%);
  animation: filamentPulse 1.8s ease-in-out infinite;
}

.printed-z {
  position: absolute;
  z-index: 3;
  bottom: 14%;
  left: 50%;
  width: 38%;
  aspect-ratio: 1;
  background:
    repeating-linear-gradient(
      180deg,
      rgba(163, 221, 255, 0.95) 0 1px,
      transparent 1px 5px
    ),
    linear-gradient(125deg, #007bff, #024a90);
  clip-path: polygon(
    0 0,
    100% 0,
    100% 19%,
    39% 65%,
    100% 65%,
    100% 86%,
    0 86%,
    0 67%,
    61% 19%,
    0 19%
  );
  filter: drop-shadow(0 0 13px rgba(0, 123, 255, 0.58));
  transform: translateX(-50%) perspective(220px) rotateX(-3deg);
}

.build-plate {
  position: absolute;
  z-index: 2;
  bottom: 7%;
  left: 11%;
  width: 78%;
  height: 11%;
  background: linear-gradient(180deg, #313a44, #090c10);
  border: 1px solid rgba(255, 255, 255, 0.15);
  clip-path: polygon(10% 0, 90% 0, 100% 100%, 0 100%);
  box-shadow: 0 -5px 22px rgba(0, 123, 255, 0.2);
}

.machine-footer {
  height: 38px;
  padding: 11px 5px 0;
  color: #69727e;
  font-size: 0.44rem;
}

.machine-footer > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-led {
  display: inline-block;
  width: 5px;
  height: 5px;
}

.data-card {
  position: absolute;
  z-index: 4;
  display: grid;
  grid-template-columns: auto auto;
  align-items: end;
  gap: 0 5px;
  min-width: 106px;
  padding: 14px 16px;
  background: rgba(15, 19, 25, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(16px);
}

.data-card small {
  grid-column: 1 / -1;
  margin-bottom: 7px;
  color: #737d89;
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.data-card strong {
  color: var(--white);
  font-size: 1.36rem;
  font-weight: 680;
  line-height: 1;
}

.data-card span {
  color: var(--blue-bright);
  font-size: 0.58rem;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.data-card-top {
  top: 15%;
  right: -1%;
  animation: cardFloat 5.2s ease-in-out infinite;
}

.data-card-bottom {
  bottom: 18%;
  left: -1%;
  animation: cardFloat 5.2s 1.2s ease-in-out infinite reverse;
}

.visual-caption {
  position: absolute;
  right: 7%;
  bottom: 4%;
  margin: 0;
  color: #5d6672;
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.site-footer {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 20px 0;
  color: #68717d;
  border-top: 1px solid var(--line);
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

.site-footer p:first-child span {
  margin-inline: 10px;
  color: var(--blue);
}

.footer-signature {
  color: #a8afb8;
}

.footer-signature span {
  margin-left: 7px;
  color: #59616d;
}

@keyframes copyReveal {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes visualReveal {
  from {
    opacity: 0;
    transform: translateX(32px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes orbitSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes statusPulse {
  0%,
  100% {
    opacity: 0.72;
  }
  50% {
    opacity: 1;
  }
}

@keyframes filamentPulse {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 1;
  }
}

@keyframes machineFloat {
  0%,
  100% {
    transform: rotateY(-8deg) rotateX(2deg) rotateZ(1deg) translateY(0);
  }
  50% {
    transform: rotateY(-8deg) rotateX(2deg) rotateZ(1deg) translateY(-8px);
  }
}

@keyframes glowBreath {
  0%,
  100% {
    opacity: 0.68;
    transform: scale(0.96);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes cardFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.82fr);
    gap: 32px;
  }

  h1 {
    font-size: clamp(3rem, 5.7vw, 5rem);
  }

  .hero-visual {
    max-width: 520px;
  }

  .data-card-top {
    right: 0;
  }

  .data-card-bottom {
    left: 0;
  }
}

@media (max-width: 900px) {
  .site-shell {
    overflow: clip;
  }

  .topbar,
  .hero,
  .site-footer {
    width: min(calc(100% - 44px), 720px);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 50px;
    padding-block: 58px 72px;
  }

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

  h1 {
    max-width: 700px;
    font-size: clamp(3.35rem, 10vw, 5.6rem);
  }

  .hero-visual {
    width: min(100%, 580px);
    margin-inline: auto;
  }

  .site-footer {
    flex-wrap: wrap;
    gap: 8px 24px;
  }
}

@media (max-width: 600px) {
  .topbar,
  .hero,
  .site-footer {
    width: min(calc(100% - 32px), 520px);
  }

  .topbar {
    min-height: 92px;
  }

  .brand {
    min-height: 52px;
    padding: 6px 12px 6px 7px;
  }

  .brand-symbol {
    width: 44px;
    height: 34px;
  }

  .brand-symbol img {
    width: 44px;
    height: 33px;
  }

  .brand-wordmark strong {
    font-size: 0.82rem;
  }

  .brand-wordmark small {
    font-size: 0.5rem;
    letter-spacing: 0.38em;
  }

  .top-actions {
    min-height: 36px;
  }

  .top-link {
    width: 34px;
    height: 34px;
  }

  .hero {
    gap: 38px;
    padding-block: 44px 58px;
  }

  .eyebrow {
    gap: 9px;
    margin-bottom: 20px;
    font-size: 0.6rem;
    letter-spacing: 0.14em;
  }

  .eyebrow span {
    width: 22px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.8rem);
    line-height: 0.98;
    letter-spacing: -0.07em;
  }

  .hero-text {
    margin-top: 24px;
    font-size: 0.96rem;
    line-height: 1.65;
  }

  .hero-actions {
    display: grid;
    margin-top: 30px;
  }

  .button {
    width: 100%;
  }

  .trust-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px 18px;
    margin-top: 32px;
  }

  .trust-row li::after {
    display: none;
  }

  .hero-visual {
    width: calc(100% + 10px);
    margin-left: -5px;
  }

  .machine {
    width: 70%;
    padding: 11px;
    border-radius: 14px;
    animation-duration: 5.4s;
  }

  .data-card {
    min-width: 88px;
    padding: 11px 12px;
  }

  .data-card strong {
    font-size: 1.08rem;
  }

  .visual-caption {
    right: 3%;
    bottom: 1%;
    font-size: 0.42rem;
  }

  .site-footer {
    display: grid;
    min-height: 104px;
    padding-block: 22px;
    line-height: 1.7;
  }

  .site-footer p:first-child span {
    display: none;
  }

  .site-footer p:first-child {
    display: grid;
  }
}

@media (max-width: 380px) {
  .top-link {
    width: 32px;
    height: 32px;
  }

  h1 {
    font-size: 2.7rem;
  }

  .data-card-bottom {
    left: -4px;
  }

  .data-card-top {
    right: -4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
