:root {
  --background: #111416;
  --surface: #1a1f22;
  --surface-light: #242b2f;
  --text-main: #f4f7f8;
  --text-muted: #aab4b8;
  --graphite: #5e6367;
  --teal: #14b8a6;
  --aqua: #99f6e4;
  --border: #2f383c;
  --shadow: 0 28px 80px rgba(0, 0, 0, .36);
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 75% 12%, rgba(20, 184, 166, .16), transparent 28rem),
    linear-gradient(180deg, #111416 0%, #131719 42%, #101315 100%);
  color: var(--text-main);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  background: var(--aqua);
  color: #07100f;
  padding: .75rem 1rem;
  border-radius: 6px;
}

.skip-link:focus {
  top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden-field {
  display: none;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 106px 0;
  position: relative;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  background: rgba(17, 20, 22, .78);
  border-bottom: 1px solid rgba(47, 56, 60, .7);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  box-shadow: 0 16px 50px rgba(0, 0, 0, .22);
}

.nav-shell {
  width: min(1160px, calc(100% - 40px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #061210;
  background: linear-gradient(135deg, var(--aqua), var(--teal));
  border-radius: 6px;
  font-weight: 800;
}

.brand-text {
  font-size: 1.08rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--text-muted);
  font-size: .94rem;
  font-weight: 600;
}

.nav-links a {
  transition: color .2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text-main);
}

.nav-cta {
  color: #061210 !important;
  background: var(--aqua);
  padding: .72rem 1rem;
  border-radius: 6px;
}

.nav-toggle {
  display: none;
}

.hero {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(153, 246, 228, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(153, 246, 228, .035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .9fr);
  gap: 54px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--aqua);
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 5vw, 5.2rem);
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.15rem, 4.4vw, 4.6rem);
}

h3 {
  margin-bottom: 12px;
  line-height: 1.15;
  font-size: 1.18rem;
}

.hero-subhead {
  max-width: 760px;
  color: var(--text-main);
  font-size: clamp(1.15rem, 1.9vw, 1.52rem);
  line-height: 1.48;
}

.hero-body,
.lead,
.section-heading p,
.text-stack p,
.growth-copy p,
.contact-copy p {
  color: var(--text-muted);
  font-size: 1.04rem;
}

.hero-body {
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .9rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  background: linear-gradient(135deg, var(--aqua), var(--teal));
  color: #061210;
  box-shadow: 0 16px 40px rgba(20, 184, 166, .22);
}

.button.secondary {
  color: var(--text-main);
  border-color: var(--border);
  background: rgba(255, 255, 255, .03);
}

.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.proof-row span,
.tag-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: .45rem .7rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: .86rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  background: linear-gradient(145deg, rgba(36, 43, 47, .96), rgba(16, 19, 21, .94));
  border: 1px solid rgba(153, 246, 228, .18);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, .08), transparent 28%, rgba(20, 184, 166, .08));
  pointer-events: none;
}

.visual-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 18px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.visual-topbar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--graphite);
}

.visual-topbar strong {
  margin-left: auto;
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.cad-stage {
  position: relative;
  min-height: 430px;
  padding: 18px;
}

.grid-lines path,
.part-wire path,
.part-wire circle,
.callout path,
.callout rect,
.axis path {
  fill: none;
  stroke: rgba(244, 247, 248, .38);
  stroke-width: 1.5;
}

.grid-lines path {
  stroke: rgba(153, 246, 228, .08);
}

.part-wire path,
.part-wire circle {
  stroke: rgba(244, 247, 248, .62);
  stroke-width: 2;
}

.toolpath {
  fill: none;
  stroke: url(#pathGradient);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 820;
  animation: draw-path 5s ease-in-out infinite;
}

.toolpath.ghost {
  opacity: .26;
  stroke-width: 2;
  animation-delay: .6s;
}

.callout rect {
  fill: rgba(17, 20, 22, .78);
  stroke: rgba(153, 246, 228, .5);
}

.callout text,
.axis text {
  fill: var(--aqua);
  font-size: 16px;
  font-weight: 800;
}

.metric-card {
  position: absolute;
  width: 148px;
  padding: 12px;
  background: rgba(17, 20, 22, .82);
  border: 1px solid rgba(153, 246, 228, .22);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, .26);
}

.metric-card span {
  display: block;
  color: var(--aqua);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.metric-card strong {
  display: block;
  margin-top: 4px;
  font-size: .92rem;
}

.card-a {
  left: 24px;
  bottom: 34px;
}

.card-b {
  right: 22px;
  top: 78px;
}

.card-c {
  right: 54px;
  bottom: 42px;
}

.visual-footer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
}

.visual-footer span {
  padding: 14px 8px;
  color: var(--text-muted);
  border-right: 1px solid var(--border);
  text-align: center;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.visual-footer span:last-child {
  border-right: 0;
}

.surface-band {
  background:
    linear-gradient(180deg, rgba(26, 31, 34, .72), rgba(26, 31, 34, .44)),
    linear-gradient(90deg, rgba(153, 246, 228, .04) 1px, transparent 1px);
  background-size: auto, 72px 72px;
  border-block: 1px solid rgba(47, 56, 60, .7);
}

.split-grid,
.about-grid,
.growth-grid,
.contact-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 76px;
  align-items: start;
}

.section-heading.narrow {
  max-width: 800px;
  margin-bottom: 44px;
}

.text-stack {
  max-width: 760px;
}

.lead {
  color: var(--text-main);
  font-size: 1.23rem;
  line-height: 1.58;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
}

.problem-grid span {
  padding: 16px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, .035);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-weight: 700;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.use-card,
.process-step,
.contact-form {
  background: linear-gradient(180deg, rgba(36, 43, 47, .86), rgba(26, 31, 34, .9));
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, .16);
}

.service-card {
  position: relative;
  min-height: 348px;
  padding: 28px;
  transition: transform .22s ease, border-color .22s ease;
}

.service-card:hover,
.use-card:hover,
.process-step:hover {
  transform: translateY(-4px);
  border-color: rgba(153, 246, 228, .42);
}

.card-index {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--aqua);
  font-weight: 800;
}

.service-card p,
.use-card li,
.service-card li,
.process-step p,
.footer-grid p,
.footer-grid li {
  color: var(--text-muted);
}

ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 9px;
}

li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.use-card {
  min-height: 336px;
  padding: 28px;
  transition: transform .22s ease, border-color .22s ease;
}

.about-grid {
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
}

.brand-panel {
  overflow: hidden;
  border: 1px solid rgba(153, 246, 228, .18);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.brand-panel img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
}

.highlight-line {
  padding: 20px;
  color: var(--text-main) !important;
  background: rgba(20, 184, 166, .08);
  border: 1px solid rgba(153, 246, 228, .22);
  border-radius: 8px;
}

.value-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.value-list div {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.value-list strong {
  color: var(--text-main);
}

.value-list span {
  color: var(--text-muted);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.process-step {
  min-height: 276px;
  padding: 24px;
  transition: transform .22s ease, border-color .22s ease;
}

.process-step span {
  display: inline-flex;
  margin-bottom: 48px;
  color: var(--aqua);
  font-weight: 800;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.growth-section {
  background:
    linear-gradient(135deg, rgba(20, 184, 166, .12), transparent 34rem),
    #111416;
  border-top: 1px solid var(--border);
}

.growth-grid {
  align-items: center;
}

.note,
.form-note {
  color: var(--aqua) !important;
  font-weight: 700;
}

.capability-roadmap {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: road;
}

.capability-roadmap li {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  align-items: center;
  margin: 0 0 12px;
  padding: 18px;
  color: var(--text-main);
  background: rgba(255, 255, 255, .035);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.capability-roadmap li::before {
  display: none;
}

.capability-roadmap span {
  width: fit-content;
  color: #061210;
  background: var(--aqua);
  padding: .25rem .46rem;
  border-radius: 5px;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-section {
  background:
    radial-gradient(circle at 18% 22%, rgba(153, 246, 228, .12), transparent 24rem),
    var(--surface);
}

.contact-grid {
  grid-template-columns: .82fr 1fr;
  align-items: start;
}

.email-card {
  display: grid;
  gap: 6px;
  margin-top: 34px;
  padding: 22px;
  background: rgba(17, 20, 22, .62);
  border: 1px solid rgba(153, 246, 228, .2);
  border-radius: 8px;
}

.email-card span {
  color: var(--text-muted);
  font-weight: 700;
}

.email-card a {
  color: var(--aqua);
  font-size: 1.08rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 28px;
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row.full,
.checkbox-row.full,
.button.full {
  grid-column: 1 / -1;
}

label {
  color: var(--text-main);
  font-size: .88rem;
  font-weight: 800;
}

label span {
  color: var(--text-muted);
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  color: var(--text-main);
  background: rgba(17, 20, 22, .82);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: .86rem .9rem;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--aqua);
  box-shadow: 0 0 0 3px rgba(153, 246, 228, .12);
}

textarea {
  resize: vertical;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-muted);
  font-weight: 600;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  accent-color: var(--teal);
}

.site-footer {
  padding: 52px 0;
  background: #0d1011;
  border-top: 1px solid var(--border);
}

.thanks-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 70% 20%, rgba(20, 184, 166, .18), transparent 26rem),
    linear-gradient(180deg, #111416 0%, #0d1011 100%);
}

.thanks-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
}

.thanks-panel {
  width: min(760px, 100%);
  padding: clamp(28px, 6vw, 56px);
  background: linear-gradient(180deg, rgba(36, 43, 47, .92), rgba(26, 31, 34, .94));
  border: 1px solid rgba(153, 246, 228, .22);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.thanks-panel .brand {
  margin-bottom: 42px;
}

.thanks-panel h1 {
  max-width: 680px;
  font-size: clamp(2.4rem, 7vw, 4.7rem);
}

.thanks-panel p:not(.eyebrow) {
  color: var(--text-muted);
  font-size: 1.08rem;
}

.thanks-panel a:not(.button):not(.brand) {
  color: var(--aqua);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr .7fr 1fr;
  gap: 38px;
}

.footer-grid h2 {
  margin-bottom: 12px;
  font-size: .94rem;
  line-height: 1.2;
}

.footer-grid ul {
  margin-top: 0;
}

.footer-grid li {
  padding-left: 0;
  margin-bottom: 5px;
}

.footer-grid li::before {
  display: none;
}

.footer-grid a {
  color: var(--aqua);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.footer-brand {
  margin-bottom: 16px;
}

.copyright {
  margin-top: 20px;
  font-size: .86rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes draw-path {
  0% {
    stroke-dashoffset: 820;
  }
  44%,
  100% {
    stroke-dashoffset: 0;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1100px) {
  .hero-grid,
  .split-grid,
  .about-grid,
  .growth-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 56px;
  }

  .service-grid,
  .use-case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  :root {
    --header-height: 68px;
  }

  .container,
  .nav-shell {
    width: min(100% - 30px, 1160px);
  }

  .section {
    padding: 76px 0;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
    display: grid;
    place-content: center;
    gap: 5px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--border);
    border-radius: 6px;
  }

  .nav-toggle span:not(.sr-only) {
    width: 20px;
    height: 2px;
    background: var(--text-main);
  }

  .nav-links {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 15px 26px;
    background: rgba(17, 20, 22, .98);
    border-bottom: 1px solid var(--border);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
  }

  .nav-links .nav-cta {
    margin-top: 16px;
    padding: .9rem 1rem;
    text-align: center;
    border-bottom: 0;
  }

  .hero-grid {
    gap: 40px;
  }

  h1 {
    font-size: clamp(2.25rem, 10.8vw, 3rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3.05rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .cad-stage {
    min-height: 330px;
    padding: 8px;
  }

  .metric-card {
    position: static;
    width: auto;
    margin: 10px 12px 0;
  }

  .visual-footer {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-grid,
  .use-case-grid,
  .process-list,
  .contact-form,
  .problem-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .form-row.full,
  .checkbox-row.full,
  .button.full {
    grid-column: auto;
  }

  .service-card,
  .use-card,
  .process-step {
    min-height: auto;
  }

  .brand-panel img {
    min-height: 260px;
  }

  .value-list div,
  .capability-roadmap li {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 430px) {
  .proof-row span,
  .tag-cloud span {
    width: 100%;
  }

  .contact-form {
    padding: 20px;
  }
}
