:root {
  color-scheme: light;
  --ink: #172026;
  --muted: #59666f;
  --line: #d8e0e5;
  --soft: #f4f7f8;
  --panel: #ffffff;
  --blue: #246bfe;
  --blue-dark: #1745aa;
  --green: #16a085;
  --yellow: #f4c542;
  --shadow: 0 18px 48px rgba(23, 32, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fbfcfd;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.hero {
  min-height: 92vh;
  background:
    radial-gradient(circle at 77% 25%, rgba(36, 107, 254, 0.22), transparent 30%),
    linear-gradient(135deg, #eff7fb 0%, #f9fbf8 45%, #e5f2f0 100%);
  overflow: hidden;
}

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

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: white;
  background: var(--blue);
  letter-spacing: 0;
}

.nav-links {
  gap: 22px;
  color: var(--muted);
  font-weight: 650;
}

.nav-links a {
  text-decoration: none;
}

.hero-grid {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: center;
  gap: 48px;
  min-height: calc(92vh - 72px);
  padding: 24px 0 72px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue-dark);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(3.2rem, 8vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: #34444f;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
}

.button.primary {
  color: white;
  background: var(--blue);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
  border-color: var(--line);
}

.robot-stage {
  position: relative;
  margin: 0;
  min-height: 520px;
}

.robot-stage img {
  display: block;
  width: 100%;
  height: min(68vh, 560px);
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.robot-stage figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.82rem;
}

.vision-overlay {
  position: absolute;
  right: 18px;
  bottom: 44px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 320px;
}

.vision-overlay span {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 8px;
  color: white;
  background: rgba(23, 32, 38, 0.72);
  font-size: 0.8rem;
  font-weight: 850;
  animation: pulse 2.8s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.42;
    transform: translateY(0);
  }
  50% {
    opacity: 0.88;
    transform: translateY(-3px);
  }
}

.band {
  padding: 82px 0;
}

.band > .section-heading,
.command-grid,
.feature-grid,
.split-band,
.install-grid {
  width: min(1160px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  margin-bottom: 30px;
}

h2 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.command-band {
  background: #ffffff;
}

.command-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.command-grid article,
.feature-grid article,
.transcript,
.terminal,
.install-copy {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 4px 18px rgba(23, 32, 38, 0.05);
}

.command-grid article,
.feature-grid article {
  padding: 20px;
}

.command {
  display: block;
  min-height: 52px;
  color: var(--blue-dark);
  font-weight: 850;
  line-height: 1.3;
}

.command-grid p,
.feature-grid p,
.split-band p,
.install-copy p,
.footer p {
  margin: 0;
  color: var(--muted);
}

.features-band {
  background: var(--soft);
}

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

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 32px;
  align-items: center;
}

.transcript {
  padding: 24px;
  display: grid;
  gap: 14px;
}

.transcript p {
  padding: 12px 14px;
  border-radius: 8px;
  background: #f6f8fa;
}

.transcript p:nth-child(even) {
  background: #ecf4ff;
}

.install-band {
  background: #102027;
  color: white;
}

.install-band .eyebrow,
.install-band h2 {
  color: white;
}

.install-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: 18px;
}

.terminal {
  overflow: hidden;
  background: #061116;
  border-color: rgba(255, 255, 255, 0.12);
}

pre {
  margin: 0;
  padding: 24px;
  overflow-x: auto;
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.94rem;
}

.install-copy {
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.install-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.footer {
  padding: 24px 16px;
  text-align: center;
  background: #071015;
}

.footer p {
  color: rgba(255, 255, 255, 0.68);
}

@media (max-width: 920px) {
  .hero-grid,
  .split-band,
  .install-grid {
    grid-template-columns: 1fr;
  }

  .robot-stage {
    min-height: 420px;
  }

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

@media (max-width: 620px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .hero-grid {
    gap: 20px;
    padding-bottom: 42px;
  }

  h1 {
    font-size: clamp(2.75rem, 16vw, 4.2rem);
  }

  .command-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .robot-stage {
    min-height: 360px;
  }

  .robot-stage img {
    height: 360px;
  }

  .band {
    padding: 58px 0;
  }
}
