@font-face {
  font-family: "Geist";
  src: url("./fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist Fallback";
  src: url("./fonts/Geist-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("./fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono Fallback";
  src: url("./fonts/GeistMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f5f5f5;
  --ink: #111111;
  --body: #6a6a6a;
  --mute: #8a8a8a;
  --line: #e0e0e0;
  --inset: #ececec;
  --panel: #fafafa;
  --orange: #f0641e;
  --led: #3ddc84;
  --dark: #161616;
  --dark-2: #1c1c1c;
  --dark-line: #2a2a2a;
  --term: #ececec;
  --term-dim: #8c8c8c;
  --radius: 14px;
  --max: 1080px;
  --gutter: 28px;
  --nav: 58px;
  --sans: "Geist", "Geist Fallback", Arial, sans-serif;
  --mono: "Geist Mono", "Geist Mono Fallback", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--mono);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  overflow-x: clip;
  min-height: 100vh;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

code {
  font-family: var(--mono);
  font-size: 0.95em;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: calc(var(--max) + 80px);
  margin: 0 auto;
  min-height: var(--nav);
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
}

.brand-name {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.03em;
}

.mark {
  width: 22px;
  height: 22px;
  display: block;
  flex: none;
  color: var(--ink);
}

.mark-sm {
  width: 16px;
  height: 16px;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.nav-links a {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--body);
}

.nav-links a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

.nav-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.hero {
  max-width: calc(var(--max) + 80px);
  margin: 0 auto;
  padding: 104px var(--gutter) 36px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--body);
}

h1 {
  margin: 0;
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(40px, 7.4vw, 76px);
  line-height: 0.94;
  letter-spacing: -0.048em;
}

.lead {
  margin: 28px 0 0;
  max-width: 34rem;
  font-size: 14px;
  line-height: 1.65;
  color: var(--body);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}

.install {
  margin-top: 80px;
  max-width: 820px;
}

.install .label {
  margin-bottom: 12px;
}

.install-panel {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--inset);
}

.label {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
}

.chips {
  display: flex;
  gap: 6px;
  margin: 2px 2px 10px;
}

.chip {
  min-height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.command {
  width: 100%;
  display: flex;
  align-items: stretch;
  gap: 12px;
  padding: 16px 12px 16px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f7f7f7;
  text-align: left;
}

.command:hover,
.command:focus-visible {
  border-color: #c8c8c8;
  outline: none;
}

.command[data-copied="true"] .copy {
  color: var(--ink);
}

.command-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.prompt {
  color: var(--orange);
  font-weight: 500;
  flex: none;
  line-height: 1.55;
}

.command code {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.55;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.copy {
  flex: none;
  display: flex;
  align-items: center;
  align-self: center;
  min-width: 5.6rem;
  justify-content: center;
  min-height: 28px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}

.install-note {
  margin: 12px 0 22px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--mute);
}

.stage {
  position: relative;
  margin-top: 48px;
  padding: 72px var(--gutter) 88px;
  overflow: clip;
}

.stage-grid {
  position: absolute;
  inset: 0;
  background-color: #efefef;
  background-image:
    linear-gradient(#e2e2e2 1px, transparent 1px),
    linear-gradient(90deg, #e2e2e2 1px, transparent 1px);
  background-size: 40px 40px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.window {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  background: var(--dark);
  border: 1px solid #2f2f2f;
  border-radius: 16px;
  overflow: hidden;
}

.window-chrome {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-bottom: 1px solid var(--dark-line);
  background: #1a1a1a;
}

.traffic {
  display: flex;
  gap: 6px;
}

.traffic i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}

.traffic .red {
  background: #ff5f57;
}

.traffic .amber {
  background: #febc2e;
}

.traffic .green {
  background: #28c840;
}

.window-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8d8d8d;
}

.window-body {
  padding: 36px 40px 40px;
  color: var(--term);
  font-size: 13px;
  line-height: 1.7;
}

.term-kicker {
  margin: 0 0 22px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9a9a9a;
}

.term-kicker span {
  color: #d4d4d4;
}

.term-line {
  margin: 0;
  display: flex;
  gap: 10px;
}

.term-line .prompt {
  width: 0.7em;
}

.term-blank {
  margin: 0;
  height: 14px;
}

.term-line.indent {
  padding-left: 1.55em;
  color: #cfcfcf;
}

.term-line.muted,
.term-line.indent.muted {
  color: var(--term-dim);
}

.term-table {
  display: grid;
  gap: 4px;
  padding-left: 1.55em;
  max-width: 28rem;
}

.term-row {
  display: grid;
  grid-template-columns: 88px 72px 1fr;
  gap: 16px;
  color: #d8d8d8;
}

.term-row.dim {
  color: #6f6f6f;
}

.term-row .ok {
  color: #d8d8d8;
}

.term-tip {
  margin: 8px 0 0;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8f8f8f;
}

.spec,
.faq {
  max-width: calc(var(--max) + 80px);
  margin: 0 auto;
  padding: 72px var(--gutter) 24px;
}

.spec {
  border-bottom: 1px solid var(--line);
  padding-bottom: 56px;
}

.spec-grid {
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 24px;
}

.spec-grid dt {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
}

.spec-grid dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
}

.faq h2 {
  margin: 18px 0 0;
  max-width: 14ch;
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.faq-list {
  margin-top: 48px;
  border-top: 1px solid var(--line);
}

.faq-list article {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) 1.2fr;
  gap: 32px;
}

.faq-list h3 {
  margin: 0;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.faq-list p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--body);
}

.faq-list a {
  border-bottom: 1px solid #c8c8c8;
}

.faq-list a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

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

.footer-inner {
  max-width: calc(var(--max) + 80px);
  margin: 0 auto;
  padding: 28px var(--gutter) 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  font-size: 12px;
  color: var(--body);
}

.footer a {
  letter-spacing: 0.04em;
}

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

@media (max-width: 860px) {
  .nav-inner {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 56px;
  }

  h1 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .spec-grid,
  .faq-list article {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .window-body {
    padding: 28px 20px 32px;
  }

  .window-title {
    display: none;
  }

  .term-row {
    grid-template-columns: 72px 56px 1fr;
    gap: 8px;
  }
}

@media (max-width: 520px) {
  :root {
    --gutter: 18px;
  }

  .nav-actions .btn-secondary {
    display: none;
  }

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

  .command {
    align-items: flex-start;
  }

  .copy {
    margin-top: 2px;
  }
}
