:root {
  color-scheme: dark;
  --ink: #f5f7fa;
  --muted: #aeb8c5;
  --subtle: #768397;
  --panel: #111821;
  --panel-strong: #182538;
  --line: rgba(174, 184, 197, 0.18);
  --blue: #69a7d8;
  --teal: #52c7bd;
  --cyan: #2ca6c8;
  --charcoal: #080d12;
  --slate: #0d141d;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--charcoal);
  color: var(--ink);
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(8, 13, 18, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

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

.brand {
  flex: 0 0 auto;
  text-decoration: none;
}

.brand img {
  display: block;
  width: clamp(160px, 18vw, 236px);
  height: auto;
}

nav {
  gap: clamp(14px, 3vw, 30px);
}

nav a {
  color: var(--muted);
  font-size: 0.94rem;
  white-space: nowrap;
  text-decoration: none;
}

nav a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 88vh;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

#telemetry-canvas,
.hero-overlay {
  position: absolute;
  inset: 0;
}

#telemetry-canvas {
  width: 100%;
  height: 100%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 13, 18, 0.96), rgba(8, 13, 18, 0.68) 48%, rgba(8, 13, 18, 0.32)),
    linear-gradient(0deg, rgba(8, 13, 18, 0.92), rgba(8, 13, 18, 0.08) 42%, rgba(8, 13, 18, 0.7));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 150px 0 72px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

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

h1 {
  max-width: 980px;
  margin-bottom: 24px;
  font-size: 4.55rem;
  line-height: 1.02;
  font-weight: 760;
}

h2 {
  margin-bottom: 18px;
  font-size: 2.8rem;
  line-height: 1.08;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.hero-copy,
.copy-block,
.status-copy,
.contact p,
.service-card p,
.audience-list {
  color: var(--muted);
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 34px;
  font-size: 1.18rem;
}

.hero-actions,
.contact {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  background: var(--teal);
  border-color: var(--teal);
  color: #04100f;
}

.button.secondary {
  background: rgba(245, 247, 250, 0.04);
}

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

.section,
.contact,
.site-footer {
  padding: 88px clamp(20px, 5vw, 72px);
}

.section {
  background: var(--slate);
}

.section.alt {
  background: #0a1118;
}

.section-grid,
.status-section,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.copy-block p:last-child,
.status-copy,
.service-card p:last-child,
.contact p:last-child {
  margin-bottom: 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

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

.service-card {
  min-height: 230px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.service-card:nth-child(2),
.service-card:nth-child(4) {
  background: var(--panel-strong);
}

.service-card h3 {
  color: var(--ink);
}

.audience-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.audience-list li {
  position: relative;
  padding: 18px 18px 18px 46px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.audience-list li::before {
  position: absolute;
  top: 23px;
  left: 18px;
  width: 10px;
  height: 10px;
  content: "";
  background: var(--teal);
}

.status-list {
  display: grid;
  gap: 1px;
  margin: 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.status-list div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  background: var(--panel);
}

dt {
  color: var(--subtle);
  font-weight: 700;
}

dd {
  margin: 0;
  color: var(--ink);
}

.contact {
  background: #101923;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact .button {
  justify-self: start;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--subtle);
  background: var(--charcoal);
  font-size: 0.94rem;
}

@media (max-width: 1120px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  nav {
    width: 100%;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
  }

  .hero {
    min-height: 92vh;
  }

  .hero-content {
    padding-top: 188px;
  }

  h1 {
    font-size: 3.05rem;
  }

  h2 {
    font-size: 2rem;
  }

  .section-grid,
  .status-section,
  .contact,
  .service-grid {
    grid-template-columns: 1fr;
  }

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

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .hero-content {
    width: min(100% - 32px, 900px);
  }

  h1 {
    font-size: 2.45rem;
  }

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

  .brand img {
    width: 180px;
  }

  .status-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
