:root {
  --bg: #0a0b0d;
  --bg-1: #101216;
  --bg-2: #171a1f;
  --bg-3: #1f232a;
  --line: #22262e;
  --line-soft: #191c22;
  --text: #f4f5f7;
  --text-1: #b8bdc7;
  --text-2: #7b8290;
  --text-3: #525864;
  --accent: #ff8a2b;
  --accent-soft: rgba(255, 138, 43, 0.15);
  --ok: #5bd68c;
  --warn: #ffc857;
  --danger: #ff5c5c;
  --info: #7ab8ff;
  --font-sans: "Geist", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "Geist Mono", "SF Mono", Menlo, monospace;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.5;
  letter-spacing: 0;
  text-rendering: geometricPrecision;
}

body.nav-open {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

svg {
  display: block;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.shell {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 8px 12px;
  border-radius: 6px;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 11, 13, 0.84);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 700;
  font-size: 18px;
  white-space: nowrap;
}

.brand-mark {
  width: 30px;
  height: 30px;
  display: inline-flex;
  color: var(--text);
}

.brand-mark svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.brand-mark circle {
  fill: currentColor;
  stroke: none;
}

.brand-mark .brand-eye {
  fill: var(--accent);
}

.accent-dot,
.accent {
  color: var(--accent);
}

.nav-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links {
  justify-content: center;
}

.nav-links a {
  color: var(--text-1);
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 6px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  outline: none;
}

.repo-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text-1);
  font-family: var(--font-mono);
  font-size: 12px;
}

.button,
.command-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
}

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

.button:focus-visible,
.command-button:focus-visible,
.icon-button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.button.primary {
  background: var(--text);
  color: var(--bg);
}

.button.primary:hover {
  background: #ffffff;
}

.button.ghost,
.command-button {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.button.ghost:hover,
.command-button:hover {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
}

.button.large,
.command-button {
  min-height: 46px;
  padding: 12px 18px;
}

.command-button code {
  color: inherit;
  font-family: var(--font-mono);
  font-size: 13px;
}

.icon-button {
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
}

.menu-button {
  display: none;
}

.menu-close {
  display: none;
}

.hero {
  position: relative;
  min-height: 820px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 34%),
    linear-gradient(135deg, #0a0b0d 0%, #101216 42%, #0a0b0d 100%);
}

.hero-grid,
.world-map {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  opacity: 0.72;
  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: 32px 32px;
  mask-image: linear-gradient(180deg, #000 0%, #000 54%, transparent 100%);
}

.hero-scene {
  position: absolute;
  inset: 0;
}

.world-map {
  inset: 84px 0 0 auto;
  width: 58%;
  height: 620px;
}

.map-node {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(255, 138, 43, 0.12);
}

.node-a {
  top: 140px;
  left: 26%;
}

.node-b {
  top: 250px;
  left: 58%;
  background: var(--ok);
  box-shadow: 0 0 0 6px rgba(91, 214, 140, 0.12);
}

.node-c {
  top: 420px;
  left: 38%;
  background: var(--info);
  box-shadow: 0 0 0 6px rgba(122, 184, 255, 0.12);
}

.node-d {
  top: 96px;
  left: 78%;
  background: var(--warn);
  box-shadow: 0 0 0 6px rgba(255, 200, 87, 0.12);
}

.map-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transform-origin: left center;
}

.line-a {
  width: 280px;
  top: 158px;
  left: 27%;
  transform: rotate(21deg);
}

.line-b {
  width: 230px;
  top: 260px;
  left: 42%;
  transform: rotate(119deg);
}

.line-c {
  width: 240px;
  top: 126px;
  left: 59%;
  transform: rotate(-20deg);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 168px 0 128px;
  max-width: none;
}

.eyebrow,
.section-kicker {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 12px;
}

.eyebrow span {
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--accent);
  background: var(--accent-soft);
  font-weight: 600;
}

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

.hero h1 {
  margin: 28px 0 0;
  max-width: min(14ch, 600px);
  font-size: 76px;
  line-height: 0.96;
  font-weight: 600;
}

.hero-copy {
  max-width: 580px;
  margin: 24px 0 0;
  color: var(--text-1);
  font-size: 18px;
  line-height: 1.65;
}

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 12px;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-meta span:not(:last-child)::after {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-3);
}

.scene-console,
.scene-robot,
.scene-card {
  position: absolute;
  z-index: 1;
}

.scene-console {
  top: 168px;
  right: 0;
  width: 480px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(16, 18, 22, 0.86);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.46);
  overflow: hidden;
}

.window-bar {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-2);
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg-3);
}

.window-bar strong {
  margin-left: auto;
  font-weight: 500;
}

.window-bar em {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  color: var(--ok);
  font-style: normal;
}

.window-bar i,
.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
}

.terminal {
  height: 308px;
  padding: 18px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.8;
  color: var(--text-1);
}

.terminal p {
  margin: 0;
}

.terminal b {
  color: var(--text-3);
  font-weight: 500;
}

.muted {
  color: var(--text-2);
}

.ok {
  color: var(--ok);
}

.warn {
  color: var(--warn);
}

.terminal-progress {
  margin-top: 10px;
  height: 7px;
  border-radius: 999px;
  background: var(--bg-3);
  overflow: hidden;
}

.terminal-progress span {
  display: block;
  width: 46%;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  transition: width 900ms ease;
}

.scene-robot {
  right: 372px;
  top: 504px;
  width: 158px;
  height: 158px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(23, 26, 31, 0.88);
  display: grid;
  place-items: center;
}

.scene-robot svg {
  width: 112px;
  height: 112px;
  fill: none;
  stroke: var(--text-1);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scene-robot .screen,
.scene-robot .joint {
  fill: var(--accent);
  stroke: none;
}

.scene-card {
  width: 134px;
  min-height: 86px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(23, 26, 31, 0.92);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.36);
}

.scene-card span,
.scene-card em {
  display: block;
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 11px;
  font-style: normal;
}

.scene-card strong {
  display: block;
  margin-top: 4px;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 24px;
}

.scene-card b {
  font-weight: 600;
}

.latency-card {
  right: 380px;
  top: 384px;
}

.fleet-card {
  right: 24px;
  top: 520px;
}

.metrics {
  margin-top: -1px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-inline: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.metric {
  min-height: 136px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.metric:last-child {
  border-right: 0;
}

.metric span,
.metric em {
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 12px;
  font-style: normal;
}

.metric strong {
  display: block;
  margin-top: 8px;
  font-size: 30px;
  font-weight: 600;
}

.metric em {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.pulse {
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(91, 214, 140, 0.4);
  animation: pulse 1.6s ease-out infinite;
}

.section {
  padding: 88px 0;
  border-bottom: 1px solid var(--line);
}

.platform-section,
.architecture-section {
  background: var(--bg);
}

.robots-section,
.app-section,
.cta {
  background: var(--bg-1);
}

.skills-section,
.pricing-section {
  background: #0d0f12;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
}

.section-copy h2,
.section-heading h2,
.architecture-section h2,
.cta h2 {
  margin: 14px 0 0;
  font-size: 48px;
  line-height: 1.04;
  font-weight: 600;
}

.section-copy p:not(.section-kicker),
.section-heading p,
.price-card p,
.pillar p {
  color: var(--text-1);
  font-size: 16px;
}

.section-copy p:not(.section-kicker) {
  margin: 18px 0 0;
  max-width: 500px;
}

.section-copy .button {
  margin-top: 24px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 36px;
}

.section-heading > p {
  max-width: 440px;
  margin: 0 0 8px;
}

.protocols {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.protocols span {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text-1);
  font-family: var(--font-mono);
  font-size: 12px;
}

.protocol-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent),
    var(--bg-1);
  padding: 24px;
  overflow: hidden;
}

.bus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: var(--bg-2);
}

.bus span {
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
}

.bus i {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  border: 1px solid rgba(255, 138, 43, 0.45);
  background:
    linear-gradient(90deg, transparent 45%, rgba(255, 138, 43, 0.22) 45%, rgba(255, 138, 43, 0.22) 55%, transparent 55%),
    linear-gradient(0deg, transparent 45%, rgba(255, 138, 43, 0.22) 45%, rgba(255, 138, 43, 0.22) 55%, transparent 55%),
    var(--accent-soft);
}

.protocol-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 24px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.protocol-grid div {
  min-height: 150px;
  padding: 18px;
  background: var(--bg-1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.protocol-grid .icon {
  color: var(--accent);
  font-size: 22px;
}

.protocol-grid strong,
.protocol-grid span {
  display: block;
}

.protocol-grid strong {
  margin-top: auto;
  font-size: 17px;
}

.protocol-grid span {
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 11px;
}

.telemetry-strip {
  height: 84px;
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  display: flex;
  align-items: end;
  gap: 8px;
  background: var(--bg);
}

.telemetry-strip span {
  flex: 1;
  height: var(--h);
  border-radius: 3px 3px 0 0;
  background: var(--accent);
  opacity: 0.45;
}

.robot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.robot-tile {
  min-height: 232px;
  position: relative;
  padding: 24px;
  background: var(--bg);
}

.robot-tile .icon {
  color: var(--accent);
  font-size: 52px;
}

.robot-svg {
  width: 72px;
  height: 72px;
  fill: none;
  stroke: var(--text-1);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.robot-svg .fill-accent {
  fill: var(--accent);
  stroke: none;
}

.robot-svg .fill-current {
  fill: var(--text-1);
  stroke: none;
}

.robot-tile strong,
.robot-tile span,
.robot-tile em {
  display: block;
}

.robot-tile strong {
  margin-top: 22px;
  color: var(--text);
  font-size: 18px;
}

.robot-tile span,
.robot-tile em {
  font-family: var(--font-mono);
  font-size: 12px;
}

.robot-tile span {
  margin-top: 4px;
  color: var(--text-2);
}

.robot-tile em {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--text-2);
  font-style: normal;
}

.robot-tile.community {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.skill-grid,
.pillar-grid,
.pricing-grid {
  display: grid;
  gap: 16px;
}

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

.skill-card,
.pillar,
.price-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-1);
}

.skill-card {
  min-height: 232px;
  padding: 18px;
}

.skill-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: var(--bg-3);
  color: var(--accent);
}

.skill-card strong,
.skill-card em {
  display: block;
}

.skill-card strong {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 15px;
}

.skill-card em {
  margin-top: 3px;
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 11px;
  font-style: normal;
}

.skill-card p {
  min-height: 62px;
  margin: 12px 0 0;
  color: var(--text-1);
  font-size: 13px;
}

.skill-card div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 11px;
}

.skill-card button {
  border: 0;
  border-radius: 6px;
  background: var(--bg-3);
  color: var(--text);
  padding: 6px 10px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 11px;
}

.app-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
  align-items: stretch;
}

.dashboard-preview {
  min-height: 560px;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  overflow: hidden;
}

.dashboard-preview aside {
  padding: 22px;
  border-right: 1px solid var(--line);
  background: var(--bg-1);
}

.dashboard-preview aside strong {
  display: block;
  margin-bottom: 24px;
}

.dashboard-preview aside span {
  display: block;
  padding: 9px 10px;
  border-radius: 6px;
  color: var(--text-2);
  font-size: 13px;
}

.dashboard-preview aside .active {
  background: var(--accent-soft);
  color: var(--accent);
}

.dashboard-main {
  padding: 22px;
}

.dashboard-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.dashboard-top div {
  min-height: 86px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-1);
}

.dashboard-top span {
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 11px;
}

.dashboard-top strong {
  display: block;
  margin-top: 8px;
  font-size: 28px;
}

.camera-feed,
.phone-camera {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(122, 184, 255, 0.13) 1px, transparent 1px),
    linear-gradient(rgba(122, 184, 255, 0.1) 1px, transparent 1px),
    #111820;
  background-size: 34px 34px;
}

.camera-feed {
  height: 284px;
  margin-top: 16px;
  border-radius: 8px;
}

.camera-feed::before,
.phone-camera::before {
  content: "";
  position: absolute;
  inset: 16%;
  border: 1px solid rgba(122, 184, 255, 0.28);
  border-radius: 8px;
}

.scan-line {
  position: absolute;
  inset: 0;
  height: 2px;
  background: var(--accent);
  opacity: 0.72;
  animation: scan 3.2s ease-in-out infinite;
}

.camera-feed em,
.phone-camera em {
  position: absolute;
  left: 14px;
  bottom: 12px;
  color: var(--text-1);
  font-family: var(--font-mono);
  font-size: 11px;
  font-style: normal;
}

.box-a,
.box-b {
  position: absolute;
  border: 1px solid var(--accent);
  border-radius: 4px;
}

.box-a {
  width: 84px;
  height: 62px;
  top: 82px;
  left: 42%;
}

.box-b {
  width: 58px;
  height: 48px;
  right: 18%;
  bottom: 64px;
  border-color: var(--ok);
}

.log-stream {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-1);
  font-family: var(--font-mono);
  font-size: 12px;
}

.log-stream p {
  margin: 0 0 8px;
  color: var(--text-1);
}

.log-stream p:last-child {
  margin-bottom: 0;
}

.phone-preview {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: var(--bg);
}

.phone-screen {
  min-height: 528px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--bg-1);
}

.phone-camera {
  height: 312px;
  border-radius: 8px;
}

.phone-controls {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
}

.phone-controls span {
  height: 92px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg);
}

.phone-controls button {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 0;
  background: var(--danger);
  color: white;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

.phone-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 18px;
}

.phone-tabs i {
  height: 36px;
  border-radius: 7px;
  background: var(--bg-3);
}

.pillar-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 34px;
}

.pillar {
  min-height: 264px;
  padding: 24px;
  background: var(--bg-1);
}

.pillar .icon {
  color: var(--accent);
  font-size: 24px;
}

.pillar strong {
  display: block;
  margin-top: 18px;
  font-size: 24px;
}

.pillar p {
  margin: 10px 0 0;
}

.pillar span {
  display: block;
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
}

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

.price-card {
  min-height: 294px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: rgba(255, 138, 43, 0.52);
  background:
    linear-gradient(180deg, rgba(255, 138, 43, 0.08), transparent),
    var(--bg-1);
}

.price-card span {
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 12px;
}

.price-card strong {
  margin-top: 14px;
  font-size: 40px;
  line-height: 1;
}

.price-card strong span {
  color: var(--text-2);
  font-size: 14px;
  font-family: var(--font-sans);
}

.price-card p {
  margin: 18px 0 28px;
}

.price-card .button {
  margin-top: auto;
  align-self: flex-start;
}

.cta {
  padding: 96px 0;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 38%),
    var(--bg-1);
}

.cta-inner {
  text-align: center;
}

.cta .section-kicker {
  justify-content: center;
}

.cta h2 {
  max-width: 760px;
  margin-inline: auto;
  font-size: 56px;
}

.cta .hero-actions {
  justify-content: center;
}

.site-footer {
  background: var(--bg);
}

.footer-inner {
  min-height: 104px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  color: var(--text-2);
  font-size: 13px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-inner p {
  margin: 0;
  text-align: right;
  font-family: var(--font-mono);
  font-size: 11px;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(91, 214, 140, 0.38);
  }
  100% {
    box-shadow: 0 0 0 10px rgba(91, 214, 140, 0);
  }
}

@keyframes scan {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(284px);
  }
}

@media (max-width: 1020px) {
  .shell {
    width: min(100% - 36px, 920px);
  }

  .menu-button {
    display: inline-flex;
  }

  .nav-panel {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    align-items: stretch;
    justify-content: flex-start;
    flex-direction: column;
    gap: 22px;
    padding: 24px;
    background: rgba(10, 11, 13, 0.98);
    border-top: 1px solid var(--line);
  }

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

  .menu-button[aria-expanded="true"] .menu-open {
    display: none;
  }

  .menu-button[aria-expanded="true"] .menu-close {
    display: block;
  }

  .nav-links,
  .nav-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .nav-links a,
  .nav-actions .button,
  .repo-pill {
    justify-content: center;
    min-height: 44px;
  }

  .hero {
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .hero-content {
    order: 1;
    padding-top: 120px;
    padding-bottom: 48px;
    max-width: none;
  }

  .hero h1 {
    max-width: 11.5ch;
    font-size: 58px;
  }

  .hero-scene {
    order: 2;
    position: relative;
    inset: auto;
    height: 360px;
    margin-bottom: 72px;
  }

  .scene-console {
    top: 0;
    left: 0;
    right: auto;
    width: min(100%, 560px);
    opacity: 1;
  }

  .scene-robot,
  .scene-card,
  .world-map {
    display: none;
  }

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

  .metric:nth-child(2) {
    border-right: 0;
  }

  .metric:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .split,
  .app-showcase {
    grid-template-columns: 1fr;
  }

  .protocol-grid,
  .robot-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .phone-preview {
    max-width: 360px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    padding: 28px 0;
  }

  .footer-inner p {
    text-align: left;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 28px, 640px);
  }

  .hero {
    min-height: 0;
  }

  .hero-content {
    padding: 96px 0 88px;
  }

  .hero h1 {
    font-size: 44px;
    line-height: 1.02;
  }

  .hero-copy {
    font-size: 16px;
  }

  .command-button {
    width: 100%;
    justify-content: flex-start;
  }

  .command-button code {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-scene {
    height: 320px;
    margin-bottom: 56px;
  }

  .scene-console {
    width: 100%;
  }

  .terminal {
    height: 244px;
  }

  .metrics,
  .protocol-grid,
  .robot-grid,
  .skill-grid,
  .pillar-grid,
  .pricing-grid,
  .dashboard-preview,
  .dashboard-top {
    grid-template-columns: 1fr;
  }

  .metric,
  .metric:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 66px 0;
  }

  .section-copy h2,
  .section-heading h2,
  .architecture-section h2 {
    font-size: 36px;
  }

  .cta h2 {
    font-size: 40px;
  }

  .dashboard-preview {
    min-height: auto;
  }

  .dashboard-preview aside {
    display: none;
  }

  .app-showcase {
    gap: 18px;
  }

  .phone-preview {
    max-width: none;
  }
}

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