:root {
  --bg: #fbfbfa;
  --surface: #ffffff;
  --ink: #0d0e10;
  --text: #35363c;
  --muted: #6e6e74;
  --line: #ebeae6;
  --line-strong: #d8d7d0;
  --violet: #5b5bd6;
  --violet-soft: #eeeefc;
  --green: #22c55e;
  --orange: #f97316;
  --orange-soft: #fff7ed;
  --shadow: 0 40px 100px -40px rgba(13, 14, 16, 0.22), 0 2px 4px rgba(13, 14, 16, 0.04);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

svg {
  display: block;
}

.container {
  width: min(100% - 80px, 1400px);
  margin: 0 auto;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 251, 250, 0.88);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 65px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 13px;
}

.nav-links a {
  transition: color 160ms ease;
}

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

.login-link {
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: background-color 160ms ease, transform 160ms ease;
}

.login-link::after {
  content: "";
  width: 12px;
  height: 12px;
  margin-left: 6px;
  background: currentColor;
  clip-path: polygon(42% 16%, 100% 50%, 42% 84%, 42% 58%, 0 58%, 0 42%, 42% 42%);
}

.login-link:hover,
.login-link:focus-visible {
  background: #1a1b1f;
}

.login-link:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(91, 91, 214, 0.16);
}

.hero {
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(520px, 1.4fr);
  gap: 56px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 40px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  padding: 5px 10px;
  border: 1px solid rgba(91, 91, 214, 0.13);
  border-radius: 999px;
  background: var(--violet-soft);
  color: var(--violet);
  font-size: 12px;
  font-weight: 600;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

h1 {
  margin: 0 0 20px;
  color: var(--ink);
  font-size: 62px;
  font-weight: 700;
  line-height: 1.03;
}

h1 em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

.hero-lead {
  max-width: 460px;
  margin: 0 0 36px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.55;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 0;
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.hero-stats div {
  padding: 0 24px;
  border-right: 1px solid var(--line);
}

.hero-stats div:first-child {
  padding-left: 0;
}

.hero-stats div:last-child {
  padding-right: 0;
  border-right: 0;
}

.hero-stats dt {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.hero-stats dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.hero-visual {
  position: relative;
  min-width: 0;
  aspect-ratio: 720 / 500;
}

.fleet-window {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.window-bar {
  display: flex;
  align-items: center;
  height: 36px;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  padding: 0 14px;
  color: var(--muted);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
}

.window-bar > span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #e5e4df;
}

.window-bar strong {
  margin-left: 12px;
  color: var(--muted);
  font-weight: 400;
}

.clock-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.clock-status i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--green);
}

#radar-hero {
  position: absolute;
  inset: 36px 0 0;
  overflow: hidden;
  background: var(--bg);
}

.mission-card,
.alert-card {
  position: absolute;
  z-index: 2;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 20px 40px -20px rgba(13, 14, 16, 0.18);
}

.mission-card {
  right: -20px;
  bottom: 56px;
  width: 224px;
  padding: 14px;
}

.card-row,
.progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-row {
  margin-bottom: 6px;
  color: var(--muted);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
}

.card-row strong {
  color: var(--green);
  font-family: Inter, system-ui, sans-serif;
  font-weight: 600;
}

.card-row strong::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
  border-radius: 999px;
  background: currentColor;
  vertical-align: 1px;
}

.mission-card h2,
.alert-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.mission-card p,
.alert-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.35;
}

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

.progress-bar span {
  display: block;
  width: 34%;
  height: 100%;
  background: var(--violet);
}

.progress-meta {
  margin-top: 8px;
  color: var(--muted);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
}

.progress-meta strong {
  color: var(--ink);
  font-weight: 500;
}

.alert-card {
  top: 64px;
  left: -20px;
  display: flex;
  align-items: flex-start;
  width: 208px;
  gap: 10px;
  padding: 12px;
}

.alert-icon {
  display: grid;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid rgba(249, 115, 22, 0.2);
  border-radius: 6px;
  background: var(--orange-soft);
  color: var(--orange);
}

.devices {
  border-top: 1px solid var(--line);
}

.devices-section {
  padding-top: 56px;
  padding-bottom: 72px;
}

.devices-heading {
  max-width: 660px;
  margin-bottom: 38px;
}

.devices-heading p {
  margin: 0 0 12px;
  color: var(--violet);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.devices-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.12;
}

.devices-heading span {
  display: block;
  max-width: 540px;
  margin-top: 14px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
}

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

.device-card {
  min-height: 266px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 24px;
}

.device-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink);
}

.device-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
}

.device-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.device-meta {
  margin: 4px 0 0;
  color: var(--muted);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10.5px;
}

.device-card > p:not(.device-meta) {
  margin: 18px 0 0;
  color: var(--text);
  font-size: 13px;
  line-height: 1.55;
}

.device-card ul {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.device-card li {
  position: relative;
  padding-left: 14px;
  color: var(--text);
  font-size: 12px;
  line-height: 1.25;
}

.device-card li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--violet);
}

.control {
  border-top: 1px solid var(--line);
}

.control-section {
  padding-top: 56px;
  padding-bottom: 72px;
}

.control-heading {
  max-width: 560px;
  margin-bottom: 42px;
}

.control-heading p {
  margin: 0 0 12px;
  color: var(--violet);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.control-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.12;
}

.control-heading span {
  display: block;
  margin-top: 14px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
}

.control-abstract {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 16px;
}

.control-canvas {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.control-screen {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.control-layers {
  display: grid;
  gap: 12px;
}

.control-layers article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 18px;
}

.control-layers article > span {
  color: var(--violet);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
}

.control-layers h3 {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.25;
}

.control-layers p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
}

.use-cases {
  border-top: 1px solid var(--line);
}

.use-cases-section {
  padding-top: 56px;
  padding-bottom: 72px;
}

.use-cases-heading {
  max-width: 600px;
  margin-bottom: 38px;
}

.use-cases-heading p {
  margin: 0 0 12px;
  color: var(--violet);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.use-cases-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.12;
}

.use-cases-heading span {
  display: block;
  max-width: 560px;
  margin-top: 14px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
}

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

.case-card {
  min-height: 178px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 24px;
}

.case-signal {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
}

.signal-violet {
  color: var(--violet);
}

.signal-green {
  color: #13a84b;
}

.signal-orange {
  color: #e99a21;
}

.case-card > span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10.5px;
}

.case-card h3 {
  margin: 28px 0 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

.case-card h3 + p {
  margin: 8px 0 0;
  color: var(--text);
  font-size: 12.5px;
  line-height: 1.5;
}

.api-first {
  border-top: 1px solid var(--line);
}

.api-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.74fr) minmax(560px, 1.26fr);
  gap: clamp(48px, 7vw, 112px);
  align-items: center;
  padding-top: 72px;
  padding-bottom: 78px;
}

.api-copy > p {
  margin: 0 0 14px;
  color: var(--violet);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.api-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.12;
}

.api-copy h2 em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

.api-copy > span {
  display: block;
  max-width: 520px;
  margin-top: 16px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
}

.api-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}

.api-tags li {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  padding: 0 12px;
  color: var(--text);
  font-size: 11px;
  line-height: 1;
}

.api-console {
  overflow: hidden;
  min-height: 328px;
  border-radius: 9px;
  background: #0d0e10;
  color: #f7f7f2;
  box-shadow: 0 34px 88px -52px rgba(13, 14, 16, 0.46);
}

.api-console-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 32px 0;
  color: #7c7f88;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
  text-transform: uppercase;
}

.api-console pre {
  overflow-x: auto;
  margin: 0;
  padding: 22px 32px 32px;
  color: #f7f7f2;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.72;
}

.demo-cta {
  scroll-margin-top: 80px;
  border-top: 1px solid var(--line);
}

.demo-section {
  display: grid;
  justify-items: center;
  padding-top: 76px;
  padding-bottom: 88px;
  text-align: center;
}

.demo-section h2 {
  max-width: 900px;
  margin: 0;
  color: var(--ink);
  font-size: 62px;
  font-weight: 700;
  line-height: 1.04;
}

.demo-section h2 em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

.demo-section p {
  max-width: 580px;
  margin: 24px 0 0;
  color: var(--text);
  font-size: 18px;
  line-height: 1.45;
}

.demo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 34px;
  border-radius: 8px;
  background: var(--ink);
  padding: 0 20px;
  color: white;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: background-color 160ms ease;
}

.demo-button:hover,
.demo-button:focus-visible {
  background: #1a1b1f;
}

.demo-button:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(91, 91, 214, 0.16);
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  justify-content: center;
  padding-top: 18px;
  padding-bottom: 18px;
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  text-transform: uppercase;
}

.footer-status i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.36);
  animation: core-online 1.8s ease-out infinite;
}

@keyframes core-online {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.36);
  }

  70% {
    box-shadow: 0 0 0 7px rgba(34, 197, 94, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

@media (min-width: 1536px) {
  .hero-grid {
    grid-template-columns: minmax(360px, 1fr) minmax(640px, 1.7fr);
  }
}

@media (max-width: 1120px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-visual {
    max-width: 860px;
  }

  .api-section {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .api-copy {
    max-width: 720px;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(100% - 40px, 1400px);
  }

  .header-inner {
    min-height: 58px;
  }

  .nav-links {
    display: none;
  }

  .hero-grid {
    padding-top: 40px;
  }

  h1 {
    font-size: 46px;
  }

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

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero-stats div,
  .hero-stats div:first-child,
  .hero-stats div:last-child {
    border-right: 0;
    padding: 0;
  }

  .hero-stats dd br {
    display: none;
  }

  .device-grid {
    grid-template-columns: 1fr;
  }

  .devices-heading h2 {
    font-size: 30px;
  }

  .device-card {
    min-height: auto;
  }

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

  .control-section {
    padding-top: 44px;
    padding-bottom: 56px;
  }

  .control-heading h2 {
    font-size: 30px;
  }

  .control-abstract {
    grid-template-columns: 1fr;
  }

  .api-copy h2 {
    font-size: 30px;
  }

  .demo-section h2 {
    font-size: 46px;
  }

  .demo-section p {
    font-size: 16px;
  }

  .mission-card,
  .alert-card {
    position: static;
    width: auto;
    margin-top: 12px;
  }

  .hero-visual {
    aspect-ratio: auto;
  }

  .fleet-window {
    position: relative;
    height: 420px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 1400px);
  }

  .login-link {
    min-height: 34px;
    padding: 0 12px;
    font-size: 13px;
  }

  h1 {
    font-size: 38px;
  }

  .devices-section {
    padding-top: 36px;
    padding-bottom: 42px;
  }

  .devices-heading {
    margin-bottom: 28px;
  }

  .devices-heading h2 {
    font-size: 29px;
  }

  .devices-heading span {
    font-size: 15px;
  }

  .use-cases-section {
    padding-top: 36px;
    padding-bottom: 42px;
  }

  .use-cases-heading {
    margin-bottom: 28px;
  }

  .use-cases-heading h2 {
    font-size: 29px;
  }

  .use-cases-heading span {
    font-size: 15px;
  }

  .api-section {
    padding-top: 36px;
    padding-bottom: 42px;
  }

  .api-copy h2 {
    font-size: 29px;
  }

  .api-copy > span {
    font-size: 15px;
  }

  .api-console pre {
    padding: 18px 20px 22px;
    font-size: 11.5px;
  }

  .api-console-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding: 18px 20px 0;
  }

  .demo-section {
    padding-top: 46px;
    padding-bottom: 58px;
  }

  .demo-section h2 {
    font-size: 38px;
  }

  .demo-section p {
    margin-top: 18px;
    font-size: 15px;
  }

  .demo-button {
    margin-top: 26px;
  }

  .case-grid {
    grid-template-columns: 1fr;
  }

  .case-card {
    min-height: auto;
  }

  .case-signal {
    font-size: 25px;
  }

  .control-section {
    padding-top: 36px;
    padding-bottom: 42px;
  }

  .control-heading {
    margin-bottom: 28px;
  }

  .control-heading h2 {
    font-size: 29px;
  }

  .control-heading span {
    font-size: 15px;
  }

  .radar-coordinates {
    display: none !important;
  }

  .radar-legend {
    right: 16px;
  }

  .fleet-window {
    height: 360px;
  }

  .window-bar {
    padding: 0 10px;
  }

  .window-bar strong {
    max-width: 128px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@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;
  }
}
