:root {
  --primary: #006da2;
  --primary-hover: #005a86;
  --primary-tint: #e6f3f9;
  --cyan: #73d3ef;
  --grad-from: #004b70;
  --grad-to: #006da2;
  --ink: #24282d;
  --text: #4a5560;
  --muted: #68747f;
  --line: #dce2e7;
  --soft: #f3f6f8;
  --ok-bg: #e4f3e7;
  --ok: #27823b;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(36, 40, 45, .04), 0 12px 32px -16px rgba(36, 40, 45, .18);
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font: 400 17px/1.6 "Inter", system-ui, sans-serif;
  color: var(--text);
  background: radial-gradient(900px 520px at 78% 0, rgba(115, 211, 239, .18), transparent 70%) no-repeat #fff;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.15;
}

h1 {
  font-size: 3.25rem;
}

h2 {
  font-size: 2.25rem;
}

h3 {
  font-size: 1.25rem;
  letter-spacing: -.01em;
}

p,
dl,
dd {
  margin: 0;
}

a {
  color: inherit;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 20;
  padding: .5rem 1rem;
  background: var(--ink);
  color: #fff;
}

.eyebrow {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
}

.eyebrow + h1,
.eyebrow + h2 {
  margin-top: .75rem;
}

.lead {
  font-size: 1.2rem;
}

.section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 6rem 1.5rem;
}

.section-head {
  max-width: 640px;
  margin-bottom: 3rem;
}

.section-head h2 + p,
.section-text {
  margin-top: 1rem;
  font-size: 1.125rem;
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: .75rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}

.button.primary {
  background: var(--primary);
  color: #fff;
}

.button.primary:hover {
  background: var(--primary-hover);
}

.button.ghost {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.button.ghost:hover {
  background: var(--soft);
}

/* Topbar */

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 72px;
  padding: 0 max(1.5rem, calc((100% - var(--container)) / 2));
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.topbar .button {
  padding: .6rem 1.1rem;
  font-size: .95rem;
}

.brand {
  display: flex;
  align-items: center;
}

.brand img {
  display: block;
  height: 44px;
  width: auto;
}

.menu {
  display: flex;
  gap: 2rem;
}

.menu a {
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s;
}

.menu a:hover {
  color: var(--ink);
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  color: rgba(255, 255, 255, .82);
  background: linear-gradient(135deg, var(--grad-from), var(--grad-to));
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(0, 32, 50, .85) 0%, rgba(0, 32, 50, .55) 45%, rgba(0, 32, 50, .15) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
}

.hero .eyebrow {
  color: var(--cyan);
}

.hero h1 {
  color: #fff;
}

.hero .button.ghost {
  border-color: rgba(255, 255, 255, .4);
  background: transparent;
  color: #fff;
}

.hero .button.ghost:hover {
  background: rgba(255, 255, 255, .1);
}

.hero .lead {
  max-width: 560px;
  margin-top: 1.5rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  margin-top: 2.5rem;
  font-size: .9rem;
  color: rgba(255, 255, 255, .7);
}

.facts li {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.facts li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

.hero-flow {
  margin: 0;
  padding: 1rem 1.25rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, .07));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 30px 60px -30px rgba(0, 0, 0, .6);
  backdrop-filter: blur(14px);
}

.hero-flow figcaption {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .5rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
}

.hero-flow figcaption::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  animation: live 2.4s ease-out infinite;
}

@keyframes live {
  0% { box-shadow: 0 0 0 0 rgba(115, 211, 239, .5); }
  100% { box-shadow: 0 0 0 8px rgba(115, 211, 239, 0); }
}

.flow {
  display: block;
  width: 100%;
  height: auto;
}

.flow .edges path {
  fill: none;
  stroke: rgba(115, 211, 239, .22);
  stroke-width: 1.5;
}

.flow .nodes rect {
  fill: rgba(255, 255, 255, .1);
  stroke: rgba(255, 255, 255, .26);
  animation: node-pulse 4s ease-out infinite;
}

/* inputs flash as their streak departs, outputs as it arrives */
.flow .nodes rect:nth-of-type(2) { animation-delay: .3s; }
.flow .nodes rect:nth-of-type(3) { animation-delay: .6s; }
.flow .nodes rect:nth-of-type(4) { animation-delay: .9s; }
.flow .nodes rect:nth-of-type(5) { animation-delay: 3.2s; }
.flow .nodes rect:nth-of-type(6) { animation-delay: 3.4s; }
.flow .nodes rect:nth-of-type(7) { animation-delay: 3.6s; }

@keyframes node-pulse {
  0%, 100% { stroke: rgba(255, 255, 255, .26); fill: rgba(255, 255, 255, .1); }
  5% { stroke: rgba(115, 211, 239, .95); fill: rgba(115, 211, 239, .2); }
  30% { stroke: rgba(255, 255, 255, .26); fill: rgba(255, 255, 255, .1); }
}

.flow text {
  font-size: 13px;
  font-weight: 500;
  fill: rgba(255, 255, 255, .9);
  text-anchor: middle;
  dominant-baseline: central;
}

.flow .hub rect {
  fill: url(#hub-grad);
  stroke: rgba(255, 255, 255, .25);
}

.flow .hub .glow {
  fill: var(--cyan);
  stroke: none;
  opacity: .14;
  animation: hub-glow 4s ease-in-out infinite;
}

@keyframes hub-glow {
  0%, 28%, 70%, 100% { opacity: .14; }
  45% { opacity: .42; }
}

.flow .hub text {
  font-weight: 600;
  fill: #fff;
}

.flow .hub .sub {
  font-size: 11px;
  font-weight: 400;
  fill: rgba(255, 255, 255, .8);
}

/* 4s cycle: inputs stream in (0–2.1s), hub swells (~1.7s), outputs stream out (2.0–3.6s) */
.flow .streaks path {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 26 100;
  stroke-dashoffset: 26;
  filter: drop-shadow(0 0 4px rgba(115, 211, 239, .9));
  animation: streak 4s cubic-bezier(.4, 0, .4, 1) infinite;
}

.flow .streaks path:nth-child(2) { animation-delay: .3s; }
.flow .streaks path:nth-child(3) { animation-delay: .6s; }
.flow .streaks path:nth-child(4) { animation-delay: .9s; }
.flow .streaks path:nth-child(5) { animation-delay: 2s; }
.flow .streaks path:nth-child(6) { animation-delay: 2.2s; }
.flow .streaks path:nth-child(7) { animation-delay: 2.4s; }

@keyframes streak {
  0% { stroke-dashoffset: 26; }
  30%, 100% { stroke-dashoffset: -100; }
}

/* Services */

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 2px rgba(36, 40, 45, .04), 0 20px 40px -20px rgba(36, 40, 45, .25);
}

.card h3 {
  margin-top: 1.25rem;
}

.card h3 + p {
  margin-top: .5rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
}

.tags li {
  padding: .25rem .65rem;
  border-radius: 999px;
  background: var(--soft);
  font-size: .8rem;
  font-weight: 500;
}

.demo {
  position: relative;
  height: 210px;
  padding: 1rem;
  overflow: hidden;
  border-radius: 12px;
  background: var(--soft);
  font-size: .85rem;
  color: var(--ink);
}

/* Demo: cloud */

.demo-cloud {
  display: grid;
  align-content: center;
  gap: .5rem;
}

.demo-cloud .row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem .85rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 500;
}

.demo-cloud em {
  padding: .15rem .55rem;
  border-radius: 999px;
  background: var(--ok-bg);
  font-size: .75rem;
  font-style: normal;
  color: var(--ok);
}

.demo-cloud .deploying em {
  background: var(--primary-tint);
  color: var(--primary);
}

.demo-cloud .deploying i {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--primary);
  animation: deploy 7s ease-in-out infinite;
}

@keyframes deploy {
  0% { width: 0; opacity: 1; }
  70% { width: 100%; opacity: 1; }
  85%, 100% { width: 100%; opacity: 0; }
}

/* Demo: AI */

.demo-ai .q {
  display: inline-block;
  max-width: 88%;
  padding: .5rem .75rem;
  border-radius: 12px 12px 12px 4px;
  background: var(--primary);
  color: #fff;
  line-height: 1.4;
}

.demo-ai .a {
  margin-top: .65rem;
  padding: .65rem .75rem;
  border: 1px solid var(--line);
  border-radius: 4px 12px 12px 12px;
  background: #fff;
  line-height: 1.5;
}

.demo-ai .a p {
  font-weight: 600;
}

.demo-ai .a li {
  position: relative;
  padding-left: .9rem;
}

.demo-ai .a li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
}

.demo-ai .a p,
.demo-ai .a li {
  opacity: 0;
  animation: fade-cycle 9s ease infinite;
}

.demo-ai .a li:nth-child(1) { animation-delay: .6s; }
.demo-ai .a li:nth-child(2) { animation-delay: 1.2s; }
.demo-ai .a li:nth-child(3) { animation-delay: 1.8s; }

@keyframes fade-cycle {
  0% { opacity: 0; transform: translateY(4px); }
  8% { opacity: 1; transform: none; }
  82% { opacity: 1; }
  92%, 100% { opacity: 0; }
}

/* Demo: automation flow */

.demo-flow {
  display: grid;
  align-content: center;
  padding-left: 3.25rem;
}

.demo-flow::before {
  content: "";
  position: absolute;
  left: calc(1.75rem + 6px);
  top: 1.5rem;
  bottom: 1.5rem;
  width: 2px;
  background: var(--line);
}

.demo-flow li {
  position: relative;
  padding: .3rem 0;
  font-weight: 500;
  color: var(--muted);
  animation: flow-text 8s ease infinite;
}

.demo-flow li::before {
  content: "";
  position: absolute;
  left: -1.5rem;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: #fff url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4.5 8.5l2.5 2.5 4.5-5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 10px no-repeat;
  animation: flow-dot 8s ease infinite;
}

.demo-flow li:nth-child(2),
.demo-flow li:nth-child(2)::before { animation-delay: .8s; }
.demo-flow li:nth-child(3),
.demo-flow li:nth-child(3)::before { animation-delay: 1.6s; }
.demo-flow li:nth-child(4),
.demo-flow li:nth-child(4)::before { animation-delay: 2.4s; }
.demo-flow li:nth-child(5),
.demo-flow li:nth-child(5)::before { animation-delay: 3.2s; }

@keyframes flow-dot {
  0% { border-color: var(--line); background-color: #fff; }
  8%, 85% { border-color: var(--primary); background-color: var(--primary); }
  100% { border-color: var(--line); background-color: #fff; }
}

@keyframes flow-text {
  0% { color: var(--muted); }
  8%, 85% { color: var(--ink); }
  100% { color: var(--muted); }
}

/* Demo: roadmap */

.demo-roadmap {
  display: grid;
  align-content: center;
  gap: 1rem;
}

.phase {
  display: grid;
  grid-template-columns: 76px 1fr;
  align-items: center;
  gap: .75rem;
  font-weight: 500;
}

.phase i {
  position: relative;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--line);
}

.phase i::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 0;
  border-radius: inherit;
  background: var(--primary);
  animation: grow 10s ease-in-out infinite;
}

.phase:nth-child(1) i { width: 32%; }
.phase:nth-child(2) i { margin-left: 28%; width: 44%; }
.phase:nth-child(2) i::after { animation-delay: 2.5s; }
.phase:nth-child(3) i { margin-left: 70%; width: 30%; }
.phase:nth-child(3) i::after { animation-delay: 5s; }

@keyframes grow {
  0% { width: 0; }
  25%, 85% { width: 100%; }
  95%, 100% { width: 0; }
}

/* Industries */

.industries {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--grad-from), var(--grad-to));
}

.photo-warehouse {
  margin-top: 2rem;
}

.capabilities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.capability {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.capability svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--primary);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.capability h3 {
  margin-top: .75rem;
  font-size: 1rem;
}

.capability p {
  margin-top: .25rem;
  font-size: .9rem;
}

/* Approach */

.band {
  background: var(--soft);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.step {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.step b {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--primary);
}

.step h3 {
  margin-top: .75rem;
}

.step p {
  margin-top: .5rem;
}

.team {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 4rem;
}

.checks {
  margin-top: 1rem;
}

.checks li {
  position: relative;
  padding-left: 1.75rem;
  margin-top: .75rem;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .35em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary-tint) url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4.5 8.5l2.5 2.5 4.5-5' fill='none' stroke='%23006da2' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 16px no-repeat;
}

/* Contact */

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.contact-details dt {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-details dd {
  margin-top: .15rem;
  color: var(--ink);
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: .35rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink);
}

.contact-form small {
  font-weight: 400;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  padding: .7rem .85rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--soft);
  font: inherit;
  color: var(--ink);
  resize: vertical;
  transition: border-color .2s, background .2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
}

.contact-form button {
  justify-self: start;
  margin-top: .25rem;
}

/* Footer */

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--container);
  margin: 0 auto;
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--line);
  font-size: .875rem;
  color: var(--muted);
}

/* Reveal */

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s ease, transform .7s ease;
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 975px) {
  h1 {
    font-size: 2.75rem;
  }

  h2 {
    font-size: 2rem;
  }

  .topbar {
    gap: 1.25rem;
  }

  .menu {
    gap: 1.25rem;
  }

  .hero-inner,
  .industries,
  .team,
  .contact {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-flow {
    max-width: 640px;
  }

  .steps {
    gap: 1rem;
  }
}

@media (max-width: 767px) {
  .hero::before {
    background: linear-gradient(180deg, rgba(0, 32, 50, .85), rgba(0, 32, 50, .6));
  }

  .topbar {
    position: static;
    flex-wrap: wrap;
    gap: .75rem 1rem;
    height: auto;
    padding-top: .75rem;
    padding-bottom: .75rem;
  }

  .topbar .button {
    display: none;
  }

  .menu {
    flex-basis: 100%;
    gap: 1.25rem;
  }

  .section {
    padding: 4rem 1.25rem;
  }

  .cards,
  .steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .lead {
    font-size: 1.05rem;
  }

  .hero-inner {
    padding: 3rem 1.25rem;
  }

  .hero-flow {
    display: none;
  }

  .facts {
    flex-direction: column;
    gap: .5rem;
  }

  .capabilities {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 1.5rem;
  }
}
