@font-face {
  font-family: Inter;
  src: url("/assets/inter.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #0c0c0c;
  --surface: #141414;
  --text: #f4f3f1;
  --muted: #adadaa;
  --line: #323230;
  --light: #eae9e5;
  --edge: clamp(22px, 5.1vw, 80px);
  --mono: "IBM Plex Mono", "Consolas", monospace;
  font: 400 16px/1.65 Inter, Arial, sans-serif;
  color: var(--text);
  background: var(--background);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body { margin: 0; }

img, video { display: block; width: 100%; }

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

button, input, textarea, select { font: inherit; }

button { cursor: pointer; }

h1, h2, h3, p, figure { margin: 0; }

h1, h2 { text-wrap: balance; }

h1, h2, h3, .hero-slogan {
  font-kerning: normal;
  font-variant-ligatures: no-common-ligatures;
  letter-spacing: .012em;
}

:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }

.shell {
  width: min(100%, 1600px);
  padding-inline: var(--edge);
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid #292929;
  background: var(--background);
}

.header-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
}

.brand-mark { width: 52px; height: auto; }

.brand-wordmark { width: 77px; height: auto; }

.brand-name { display: grid; gap: 4px; }

.brand-name span {
  font: 10px/1 var(--mono);
  letter-spacing: .29em;
  color: var(--muted);
}

.site-nav { display: flex; gap: clamp(20px, 3.2vw, 54px); }

.site-nav a {
  color: var(--muted);
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.4;
  transition: color 160ms ease;
}

.site-nav a:hover, .site-nav [aria-current="page"] { color: var(--text); }

.header-row > .button { justify-self: end; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 23px;
  border: 1px solid transparent;
  background: var(--text);
  color: #101010;
  font-size: .86rem;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button:hover { background: #d4d4d0; }

.button-outline {
  background: transparent;
  border-color: #4b4b48;
  color: var(--text);
}

.button-outline:hover { background: #242424; border-color: #969693; }

.button-small { min-height: 40px; padding-inline: 17px; }

.button-dark { background: #151515; color: #f4f3f1; }

.button-dark:hover { background: #363636; }

.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

.play-icon {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid currentColor;
}

.eyebrow, .caption, .spec-list, .footer-meta {
  font: 400 .75rem/1.5 var(--mono);
  letter-spacing: .085em;
  text-transform: uppercase;
}

.eyebrow { color: var(--muted); }

.eyebrow-line {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.eyebrow-line::before, .eyebrow-line::after {
  content: "";
  background: #656562;
  width: 24px;
  height: 1px;
}

.hero-intro {
  display: grid;
  justify-items: center;
  text-align: center;
  padding-top: clamp(48px, 5.2vw, 80px);
  padding-bottom: clamp(48px, 4.6vw, 72px);
}

.hero-title {
  font-size: clamp(3rem, 6.25vw, 6.25rem);
  line-height: 1.045;
  font-weight: 650;
  margin-top: 18px;
}

.hero-title span { display: block; }

.hero-slogan {
  margin-top: 22px;
  font-size: clamp(1.13rem, 1.68vw, 1.4rem);
  line-height: 1.35;
  font-weight: 600;
}

.hero-subtext {
  color: var(--muted);
  margin-top: 8px;
  max-width: 42rem;
  text-wrap: balance;
}

.hero-intro .button-row { justify-content: center; margin-top: 28px; }

.hero-showcase { background: #171719; }

.hero-screen {
  position: relative;
  height: clamp(370px, 45vw, 720px);
  isolation: isolate;
  overflow: hidden;
}

.hero-screen video, .hero-screen .video-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-screen video {
  background: url("/assets/hero-poster.webp") center 42% / cover;
  object-fit: cover;
  object-position: center 42%;
  filter: grayscale(1);
}

.video-shade {
  background: linear-gradient(180deg, #08080852 0%, #08080816 36%, #08080818 63%, #0808087a 100%);
  pointer-events: none;
}

.screen-guide { position: absolute; inset: 24px var(--edge); pointer-events: none; }

.screen-corner { position: absolute; width: 18px; height: 18px; border-color: #ffffff94; border-style: solid; border-width: 0; }
.screen-corner:nth-child(1) { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.screen-corner:nth-child(2) { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.screen-corner:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.screen-corner:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }

.hero-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 57px;
}

.motion-toggle {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid #ffffff5c;
  color: #fff;
  background: #10101066;
}

.motion-toggle:hover { background: #333; }
.hero-caption .caption { padding-top: 0; }

.motion-toggle[hidden] { display: none; }

.pause-icon { width: 10px; height: 11px; border-inline: 3px solid currentColor; }

.section { padding-block: clamp(60px, 7.5vw, 116px); border-top: 1px solid var(--line); }

.section h2, .service-intro h1 {
  font-size: clamp(2.125rem, 4.9vw, 4.9rem);
  line-height: 1.08;
  font-weight: 620;
}

.section p:not(.eyebrow, .caption), .service-intro p:not(.eyebrow) {
  color: var(--muted);
  max-width: 37rem;
}

.section .eyebrow, .service-intro .eyebrow { margin-bottom: 12px; }

.section h2 + p { margin-top: 16px; }

.section .button-row { margin-top: 26px; }

.section-head {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  align-items: end;
  gap: 36px;
  margin-bottom: 32px;
}

.section-head > p { justify-self: end; padding-bottom: 3px; }

.feature-image, .service-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: grayscale(1);
  background: #232323;
}

.precision-frame .feature-image { aspect-ratio: 2.45; object-position: center 69%; }

.caption {
  padding-top: 13px;
  color: #a2a2a0;
}

.split {
  display: grid;
  grid-template-columns: .87fr 1.13fr;
  align-items: center;
  gap: clamp(32px, 5.7vw, 88px);
}

.split-reverse { grid-template-columns: 1.13fr .87fr; }

.split-reverse .section-copy { grid-column: 2; grid-row: 1; }

.split-reverse figure { grid-column: 1; grid-row: 1; }

.spec-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 23px 0 0;
  padding: 0;
  list-style: none;
  color: #d0d0cc;
}

.spec-list li { border: 1px solid var(--line); padding: 7px 10px; }

.camera-compatibility {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.camera-brands {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 10px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.camera-brands li {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 8px;
  color: var(--text);
  text-align: center;
  font-size: .8125rem;
  line-height: 1.3;
}

.camera-brands img {
  width: 72px;
  max-width: 100%;
  height: 27px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.camera-compatibility p { font-size: .875rem; }

.docs-link {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: .2em;
}

.camera-guide-link { display: inline-block; margin-top: 6px; font-size: .875rem; }

.export-platforms {
  margin-top: clamp(30px, 4.4vw, 65px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.section .export-platforms .eyebrow { margin-bottom: 10px; }

.platform-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.platform-grid li {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 13px;
  min-height: 108px;
  padding: 12px 4px;
  text-align: center;
  color: #ddd;
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.3;
}

.platform-grid img {
  width: 62px;
  height: 38px;
  max-width: 100%;
  object-fit: contain;
}

.platform-credit {
  display: inline-block;
  margin-top: 4px;
  color: var(--muted);
  font-size: .75rem;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.robotics .section-head a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: .2em;
}

.robot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-block: 1px solid var(--line);
  list-style: none;
}

.robot-grid > li {
  display: grid;
  justify-items: start;
  align-content: center;
  gap: 22px;
  padding: clamp(20px, 3vw, 42px);
}

.robot-grid > li + li { border-inline-start: 1px solid var(--line); }

.robot-grid img {
  width: 144px;
  max-width: 100%;
  height: 32px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
}

.robot-models {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: .875rem;
}

.data-section { background: var(--surface); }

.data-diagram {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 180px;
  border: 1px solid var(--line);
  padding: 24px;
}

.data-diagram span {
  font: .75rem/1.4 var(--mono);
  text-transform: uppercase;
  letter-spacing: .065em;
  color: #ddd;
  padding: 9px 10px;
  border: 1px solid #555;
  text-align: center;
}

.data-diagram i { width: clamp(13px, 3vw, 50px); height: 1px; background: #777; }

.docs-quickstart { margin-bottom: clamp(42px, 5vw, 72px); }

.docs-intro { justify-self: end; }
.docs-intro .button { margin-top: 12px; }

.docs-quickstart h3, .docs-checklist h3 {
  margin-bottom: 16px;
  font-size: clamp(1.2rem, 2.2vw, 1.625rem);
  line-height: 1.25;
  font-weight: 600;
}

.docs-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style-position: inside;
  border-block: 1px solid var(--line);
}

.docs-steps > li { padding: clamp(20px, 2.5vw, 36px); }
.docs-steps > li + li { border-inline-start: 1px solid var(--line); }
.docs-steps > li::marker { color: var(--muted); font: .85rem var(--mono); }
.docs-steps h4 { display: inline; margin: 0; font-weight: 600; }
.docs-steps p { margin-top: 9px; }

.docs-checklist details { border-top: 1px solid var(--line); }
.docs-checklist details:last-of-type { border-bottom: 1px solid var(--line); }

.docs-checklist summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 4px;
  min-height: 56px;
  cursor: pointer;
  list-style: none;
  font-weight: 550;
}

.docs-checklist summary::-webkit-details-marker { display: none; }
.docs-checklist summary:hover { background: var(--surface); }

.docs-checklist summary::after {
  content: "";
  width: 9px;
  height: 9px;
  margin-inline: 6px;
  flex: 0 0 auto;
  border: solid var(--muted);
  border-width: 0 1px 1px 0;
  transform: rotate(45deg);
}

.docs-checklist details[open] > summary::after { transform: rotate(225deg); }

.docs-detail {
  padding: 0 4px 22px;
  max-width: 74ch;
  color: var(--muted);
}

.docs-anchor { scroll-margin-block-start: 80px; }

.docs-detail > * + * { margin-top: 12px; }
.docs-detail ul { padding-inline-start: 1.3em; margin-bottom: 0; }
.docs-detail li + li { margin-top: 5px; }
.docs-detail strong, .docs-detail dt { color: var(--text); font-weight: 600; }

.docs-specs { display: grid; gap: 8px; margin: 12px 0 0; }
.docs-specs > div { display: grid; grid-template-columns: minmax(92px, .38fr) 1fr; gap: 10px; }
.docs-specs dd { margin: 0; }

.camera-layouts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.camera-layouts figure {
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.camera-layouts figcaption { color: var(--text); font-weight: 600; }
.camera-layouts img { height: auto; margin-top: 8px; }
.camera-layouts .camera-layout-wide { grid-column: 1 / -1; }
.camera-layouts .camera-layout-wide img { max-width: 420px; margin-inline: auto; }

.purchase-section { background: var(--light); color: #111; color-scheme: light; }
.purchase-section .eyebrow, .purchase-section p:not(.eyebrow) { color: #494946; }

.pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(32px, 7vw, 106px);
}

.pricing-intro h2 { font-size: clamp(2.125rem, 4.45vw, 4.6rem); }
.pricing-intro h2 span { display: block; }

.pricing-card {
  padding: clamp(24px, 3.1vw, 48px);
  border: 1px solid #c8c8c3;
  background: #f6f5f2;
}

.pricing-card h3 {
  font-size: clamp(1.5rem, 2.45vw, 2.3rem);
  line-height: 1.12;
}

.pricing-card h3 + p { margin-top: 6px; }

.pricing-features {
  display: grid;
  gap: 10px;
  margin: 23px 0;
  padding: 20px 0 0;
  border-top: 1px solid #c8c8c3;
  list-style: none;
}

.pricing-features li {
  display: grid;
  grid-template-columns: 12px 1fr;
  align-items: baseline;
  gap: 10px;
}

.pricing-features li::before {
  content: "";
  width: 9px;
  height: 6px;
  border: solid currentColor;
  border-width: 0 0 1px 1px;
  transform: translateY(-2px) rotate(-45deg);
}

.pricing-card .button { width: 100%; }

.purchase-layout { display: flex; justify-content: space-between; align-items: end; gap: 26px; }
.purchase-layout h2 { max-width: 18ch; }

.services-preview { background: #101010; }

.site-footer { border-top: 1px solid var(--line); }
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 36px;
}
.footer-meta { color: var(--muted); }
.footer-row > a:last-child { font-size: .875rem; color: #ddd; }

.service-intro { padding-block: clamp(54px, 6.8vw, 108px); }

.service-intro h1 { font-size: clamp(2.65rem, 6.4vw, 6.5rem); }

.service-intro h1 + p { margin-top: 18px; }

.service-intro .button-row { margin-top: 26px; }

.service-image { aspect-ratio: 1.23; }

.service-list { display: grid; margin: 28px 0 0; padding: 0; list-style: none; }
.service-list li {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: baseline;
  gap: 20px;
  padding-block: 20px;
}
.service-list li:last-child { border-bottom: 1px solid var(--line); }
.service-list h3 {
  font-size: clamp(1.22rem, 2.15vw, 1.85rem);
  line-height: 1.25;
  font-weight: 600;
}

.service-contact { background: var(--surface); }

.project-form { display: grid; gap: 20px; width: 100%; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.project-form label { display: grid; gap: 8px; color: #e3e3e1; font-size: .9rem; }

.project-form input, .project-form select, .project-form textarea {
  width: 100%;
  min-width: 0;
  color: var(--text);
  background: #101010;
  border: 1px solid #50504c;
  border-radius: 0;
  padding: 10px 12px;
  min-height: 47px;
}

.project-form textarea { resize: vertical; }

.project-form .button { justify-self: start; }

.project-form .form-note { font-size: .87rem; }

.demo-dialog {
  width: min(1100px, calc(100vw - 36px));
  max-height: calc(100dvh - 36px);
  padding: 0;
  border: 1px solid #444;
  background: #0c0c0c;
  color: var(--text);
}

.demo-dialog::backdrop { background: #000d; }

.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 12px 16px;
}

.dialog-head h2 { font-size: .9rem; font-weight: 600; }
.demo-dialog video { max-height: 76dvh; background: #000; }

@media (max-width: 850px) {
  .split, .split-reverse, .section-head { grid-template-columns: 1fr; gap: 24px; }
  .section-head { gap: 14px; margin-bottom: 24px; }
  .split-reverse .section-copy, .split-reverse figure { grid-column: auto; grid-row: auto; }
  .section-head > p { justify-self: start; }
  .docs-intro { justify-self: start; }
  .pricing-layout { grid-template-columns: 1fr; }
  .service-image { aspect-ratio: 1.6; }
}

@media (max-width: 640px) {
  .header-row { grid-template-columns: 1fr auto; gap: 0 16px; min-height: 66px; }
  .site-nav { grid-column: 1 / -1; grid-row: 2; justify-content: center; flex-wrap: wrap; gap: 8px clamp(12px, 4.7vw, 26px); border-top: 1px solid #292929; padding: 11px 0; }
  .header-row .brand, .header-row > .button { margin-block: 12px; }
  .hero-title { font-size: clamp(2rem, calc(.8125rem + 5.2vw), 3rem); }
  .hero-intro .button-row { margin-top: 24px; }
  .hero-showcase .hero-screen { height: clamp(300px, 87vw, 430px); }
  .hero-screen video { object-position: 32% 46%; }
  .screen-guide { inset: 14px var(--edge); }
  .hero-caption .caption { font-size: .65rem; }
  .precision-frame .feature-image { aspect-ratio: 1.5; }
  .platform-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 8px; }
  .platform-grid li { flex: 0 0 calc((100% - 24px) / 4); min-height: 87px; gap: 8px; font-size: .8125rem; }
  .platform-grid img { width: 48px; height: 30px; }
  .robot-grid { grid-template-columns: 1fr; }
  .robot-grid > li { gap: 12px; }
  .robot-grid > li + li { border-inline-start: 0; border-block-start: 1px solid var(--line); }
  .docs-steps { grid-template-columns: 1fr; }
  .docs-steps > li + li { border-inline-start: 0; border-block-start: 1px solid var(--line); }
  .camera-layouts { grid-template-columns: 1fr; }
  .purchase-layout { flex-direction: column; align-items: start; }
  .service-list li { grid-template-columns: 1fr; gap: 6px; }
  .footer-row { flex-wrap: wrap; }
  .footer-meta { order: 2; width: 100%; }
}

@media (max-width: 400px) {
  .site-nav { justify-content: space-between; column-gap: 5px; }
  .site-nav a { font-size: .8125rem; }
  .eyebrow-line { gap: 8px; }
  .eyebrow-line::before, .eyebrow-line::after { width: clamp(0px, calc(15vw - 51px), 12px); }
  .hero-intro .button-row { gap: 10px; }
  .hero-intro .button { padding-inline: 14px; }
  .camera-brands { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: 1fr; }
  .data-diagram { flex-direction: column; flex-wrap: nowrap; }
  .data-diagram i { width: 1px; height: 13px; }
}

@media (max-width: 360px) {
  .eyebrow-line::before, .eyebrow-line::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
