:root {
  --ink: #101411;
  --muted: #5b655e;
  --paper: #f7f4ec;
  --panel: #ffffff;
  --line: rgba(16, 20, 17, 0.12);
  --green: #0b8f5a;
  --lime: #7fd14a;
  --amber: #d89614;
  --cyan: #0b7897;
  --danger: #b33a3a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #fff;
  background: rgba(9, 12, 10, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-meta,
.command-row {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 760;
}

.nav-links {
  gap: clamp(14px, 3vw, 32px);
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.nav-links a:hover {
  color: #fff;
}

.hero {
  position: relative;
  min-height: min(760px, 92vh);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #090c0a;
}

#signal-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(to bottom, rgba(9, 12, 10, 0), rgba(9, 12, 10, 0.9));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1060px, calc(100% - 36px));
  margin: 84px auto 64px;
  padding-top: 34px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--lime);
  font-size: 13px;
  font-weight: 780;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

h1 {
  width: min(900px, 100%);
  margin-bottom: 22px;
  font-size: clamp(48px, 9vw, 116px);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.5;
}

.command-row {
  width: min(720px, 100%);
  min-height: 58px;
  margin: 34px 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.26);
}

.command-row code {
  flex: 1;
  padding: 0 20px;
  overflow-wrap: anywhere;
  font-size: clamp(15px, 2vw, 18px);
}

.copy-btn {
  align-self: stretch;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0 22px;
  color: #07100b;
  background: var(--lime);
  font-weight: 800;
  cursor: pointer;
}

.copy-btn:hover {
  background: #9cea67;
}

.hero-meta {
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(255, 255, 255, 0.74);
}

.hero-meta span {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.18);
  font-size: 13px;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 76px 0;
}

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

.section-heading p:not(.eyebrow) {
  max-width: 700px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

h2 {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

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

.install-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.install-options div {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  background: #0f1511;
  color: #fff;
  min-height: 142px;
}

.install-options span {
  color: var(--lime);
  font-size: 12px;
  font-weight: 780;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.install-options code {
  overflow-wrap: anywhere;
  font-size: 15px;
}

.mini-copy {
  width: max-content;
  border: 1px solid rgba(127, 209, 74, 0.45);
  padding: 8px 12px;
  color: #07100b;
  background: var(--lime);
  font-weight: 800;
  cursor: pointer;
}

.mini-copy:hover {
  background: #9cea67;
}

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

.target-kicker {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 780;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.target h3 {
  font-size: 22px;
  line-height: 1.15;
}

.target p,
.source-copy p,
.checks span {
  color: var(--muted);
  line-height: 1.55;
}

.source-band {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 44px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.checks {
  display: grid;
  gap: 12px;
}

.checks div {
  display: grid;
  gap: 6px;
  padding: 18px;
  background: #fff;
  border-left: 5px solid var(--green);
}

.checks div:nth-child(2) {
  border-left-color: var(--amber);
}

.checks div:nth-child(3) {
  border-left-color: var(--danger);
}

.footer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  padding: 34px 18px 46px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer a {
  color: var(--ink);
}

.legal {
  width: min(820px, calc(100% - 36px));
  margin: 0 auto;
  padding: 120px 0 80px;
}

.legal h1 {
  color: var(--ink);
  font-size: clamp(42px, 8vw, 82px);
}

.legal p,
.legal li {
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 860px) {
  .site-header {
    position: absolute;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-inner {
    margin-top: 76px;
  }

  .target-grid,
  .source-band {
    grid-template-columns: 1fr;
  }

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

  .target {
    min-height: auto;
  }
}

@media (max-width: 520px) {
  .install-options {
    grid-template-columns: 1fr;
  }

  .command-row {
    display: grid;
  }

  .command-row code {
    padding: 18px;
  }

  .copy-btn {
    min-height: 48px;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }
}
